@univerjs-pro/collaboration-client-ui 0.10.11 → 0.10.12
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x53f7(_0x40f2b5,_0xc37878){const _0x2e8b5c=_0x2e8b();return _0x53f7=function(_0x53f799,_0x469118){_0x53f799=_0x53f799-0x171;let _0x2716ac=_0x2e8b5c[_0x53f799];return _0x2716ac;},_0x53f7(_0x40f2b5,_0xc37878);}(function(_0x2219f8,_0x2842d1){const _0x296aaa=_0x53f7,_0x5dbf1e=_0x2219f8();while(!![]){try{const _0x48566d=parseInt(_0x296aaa(0x330))/0x1*(-parseInt(_0x296aaa(0x264))/0x2)+-parseInt(_0x296aaa(0x3b5))/0x3+parseInt(_0x296aaa(0x372))/0x4+parseInt(_0x296aaa(0x3df))/0x5+-parseInt(_0x296aaa(0x1e7))/0x6+-parseInt(_0x296aaa(0x389))/0x7+-parseInt(_0x296aaa(0x230))/0x8*(-parseInt(_0x296aaa(0x244))/0x9);if(_0x48566d===_0x2842d1)break;else _0x5dbf1e['push'](_0x5dbf1e['shift']());}catch(_0x152eea){_0x5dbf1e['push'](_0x5dbf1e['shift']());}}}(_0x2e8b,0x949d3),function(_0x24445d,_0x5026cd){const _0x34fd63=_0x53f7;typeof exports==_0x34fd63(0x1a6)&&typeof module<'u'?_0x5026cd(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==_0x34fd63(0x32d)&&define[_0x34fd63(0x37c)]?define([_0x34fd63(0x28b),_0x34fd63(0x34d),'@univerjs-pro/collaboration-client',_0x34fd63(0x30e),_0x34fd63(0x21d),_0x34fd63(0x21f),_0x34fd63(0x387),_0x34fd63(0x397),_0x34fd63(0x3b6),_0x34fd63(0x17e),'@univerjs/engine-render',_0x34fd63(0x212),_0x34fd63(0x435),'@univerjs/drawing',_0x34fd63(0x1ab),_0x34fd63(0x1b9),_0x34fd63(0x357),'rxjs/operators',_0x34fd63(0x194)],_0x5026cd):(_0x24445d=typeof globalThis<'u'?globalThis:_0x24445d||self,_0x5026cd(_0x24445d['UniverProCollaborationClientUi']={},_0x24445d['React'],_0x24445d[_0x34fd63(0x239)],_0x24445d[_0x34fd63(0x36d)],_0x24445d[_0x34fd63(0x423)],_0x24445d[_0x34fd63(0x21f)],_0x24445d[_0x34fd63(0x1fa)],_0x24445d[_0x34fd63(0x20a)],_0x24445d['UniverRpc'],_0x24445d[_0x34fd63(0x1db)],_0x24445d[_0x34fd63(0x25d)],_0x24445d[_0x34fd63(0x424)],_0x24445d['UniverDocsUi'],_0x24445d[_0x34fd63(0x2ca)],_0x24445d[_0x34fd63(0x320)],_0x24445d[_0x34fd63(0x22b)],_0x24445d[_0x34fd63(0x200)],_0x24445d['rxjs'][_0x34fd63(0x299)],_0x24445d['UniverSheetsUi']));}(this,function(_0x4f0727,_0x24e7e1,_0x5c1af6,_0x4bf0bf,_0x19759c,_0x28bd90,_0x22cb21,_0x492edf,_0x461d35,_0x3edab0,_0x1a5c20,_0x133421,_0x80b7f3,_0x3f8334,_0x346166,_0xfb3c5a,_0x1738fe,_0x3f3616,_0x262b71){'use strict';const _0x37f8b3=_0x53f7;var _0x58d5c9=Object['defineProperty'],_0x1519fa=(_0x53109a,_0x4ba681,_0x53bde4)=>_0x4ba681 in _0x53109a?_0x58d5c9(_0x53109a,_0x4ba681,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53bde4}):_0x53109a[_0x4ba681]=_0x53bde4,_0xd7033e=(_0x3c525e,_0x46a223,_0x3ff7cd)=>_0x1519fa(_0x3c525e,typeof _0x46a223!=_0x37f8b3(0x174)?_0x46a223+'':_0x46a223,_0x3ff7cd),_0x333fde=function(){const _0xc0d95b=_0x37f8b3;return _0x333fde=Object[_0xc0d95b(0x1d0)]||function(_0x51e58c){const _0xc1f35b=_0xc0d95b;for(var _0x2cb84c,_0x127046=0x1,_0x39148e=arguments[_0xc1f35b(0x185)];_0x127046<_0x39148e;_0x127046++){_0x2cb84c=arguments[_0x127046];for(var _0x3f3928 in _0x2cb84c)Object[_0xc1f35b(0x17b)]['hasOwnProperty'][_0xc1f35b(0x275)](_0x2cb84c,_0x3f3928)&&(_0x51e58c[_0x3f3928]=_0x2cb84c[_0x3f3928]);}return _0x51e58c;},_0x333fde[_0xc0d95b(0x335)](this,arguments);},_0x5c128e=function(_0x3105ed,_0x245161){const _0x3af71d=_0x37f8b3;var _0x2844b9={};for(var _0x204b60 in _0x3105ed)Object[_0x3af71d(0x17b)][_0x3af71d(0x376)][_0x3af71d(0x275)](_0x3105ed,_0x204b60)&&_0x245161[_0x3af71d(0x1b1)](_0x204b60)<0x0&&(_0x2844b9[_0x204b60]=_0x3105ed[_0x204b60]);if(_0x3105ed!=null&&typeof Object[_0x3af71d(0x2ba)]==_0x3af71d(0x32d)){for(var _0x10252b=0x0,_0x204b60=Object[_0x3af71d(0x2ba)](_0x3105ed);_0x10252b<_0x204b60['length'];_0x10252b++)_0x245161[_0x3af71d(0x1b1)](_0x204b60[_0x10252b])<0x0&&Object['prototype'][_0x3af71d(0x3f7)][_0x3af71d(0x275)](_0x3105ed,_0x204b60[_0x10252b])&&(_0x2844b9[_0x204b60[_0x10252b]]=_0x3105ed[_0x204b60[_0x10252b]]);}return _0x2844b9;},_0x2d9c63=_0x492edf[_0x37f8b3(0x1b7)](function(_0x6e2126,_0x619c29){const _0x2882f2=_0x37f8b3;var _0x575934=_0x6e2126[_0x2882f2(0x404)],_0x38c4f4=_0x6e2126['id'],_0x4c2f32=_0x6e2126[_0x2882f2(0x3d4)],_0x4d7652=_0x6e2126[_0x2882f2(0x36e)],_0x3dbd88=_0x5c128e(_0x6e2126,[_0x2882f2(0x404),'id',_0x2882f2(0x3d4),'extend']),_0x36d325='univerjs-icon\x20univerjs-icon-'[_0x2882f2(0x1ad)](_0x38c4f4,'\x20')[_0x2882f2(0x1ad)](_0x4c2f32||'')[_0x2882f2(0x2c1)](),_0x28359c=_0x492edf[_0x2882f2(0x24b)]('_'['concat'](_0xce2fb8()));return _0x15c234(_0x575934,''['concat'](_0x38c4f4),{'defIds':_0x575934[_0x2882f2(0x274)],'idSuffix':_0x28359c[_0x2882f2(0x37e)]},_0x333fde({'ref':_0x619c29,'className':_0x36d325},_0x3dbd88),_0x4d7652);});function _0x15c234(_0x4a6bec,_0x371aea,_0x590722,_0x214203,_0x4b9fda){const _0x458ef3=_0x37f8b3;return _0x492edf[_0x458ef3(0x1a0)](_0x4a6bec[_0x458ef3(0x396)],_0x333fde(_0x333fde({'key':_0x371aea},_0x3d81e7(_0x4a6bec,_0x590722,_0x4b9fda)),_0x214203),(_0x4f4b0b(_0x4a6bec,_0x590722)[_0x458ef3(0x451)]||[])[_0x458ef3(0x2c4)](function(_0x2c1550,_0x500bc8){const _0x49f265=_0x458ef3;return _0x15c234(_0x2c1550,''[_0x49f265(0x1ad)](_0x371aea,'-')['concat'](_0x4a6bec[_0x49f265(0x396)],'-')['concat'](_0x500bc8),_0x590722,void 0x0,_0x4b9fda);}));}function _0x3d81e7(_0x14eafd,_0x11a94d,_0x3a8528){const _0x1ed9c6=_0x37f8b3;var _0x491ecf=_0x333fde({},_0x14eafd['attrs']);_0x3a8528!=null&&_0x3a8528['colorChannel1']&&_0x491ecf[_0x1ed9c6(0x2d8)]===_0x1ed9c6(0x2c5)&&(_0x491ecf[_0x1ed9c6(0x2d8)]=_0x3a8528[_0x1ed9c6(0x2c5)]),_0x14eafd[_0x1ed9c6(0x396)]===_0x1ed9c6(0x29a)&&_0x491ecf['id']&&(_0x491ecf['id']=_0x491ecf['id']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x27ba93){const _0x1dfe6f=_0x1ed9c6;var _0x1abcb4=_0x27ba93[0x0],_0x3727eb=_0x27ba93[0x1];_0x1abcb4===_0x1dfe6f(0x29a)&&typeof _0x3727eb==_0x1dfe6f(0x1ed)&&(_0x491ecf[_0x1abcb4]=_0x3727eb[_0x1dfe6f(0x3af)](/url\(#(.*)\)/,_0x1dfe6f(0x3a3)['concat'](_0x11a94d[_0x1dfe6f(0x1e2)],')')));});var _0x50d197=_0x11a94d['defIds'];return!_0x50d197||_0x50d197[_0x1ed9c6(0x185)]===0x0||(_0x14eafd['tag']==='use'&&_0x491ecf[_0x1ed9c6(0x3b8)]&&(_0x491ecf[_0x1ed9c6(0x3b8)]=_0x491ecf['xlink:href']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x51661c){const _0x145ee0=_0x1ed9c6;var _0x2382f0=_0x51661c[0x0],_0x24e2a3=_0x51661c[0x1];typeof _0x24e2a3==_0x145ee0(0x1ed)&&(_0x491ecf[_0x2382f0]=_0x24e2a3[_0x145ee0(0x3af)](/url\(#(.*)\)/,_0x145ee0(0x3a3)[_0x145ee0(0x1ad)](_0x11a94d[_0x145ee0(0x1e2)],')')));})),_0x491ecf;}function _0x4f4b0b(_0x57f317,_0x450cac){const _0x478eb1=_0x37f8b3;var _0x265c44,_0x228b42=_0x450cac[_0x478eb1(0x274)];return!_0x228b42||_0x228b42[_0x478eb1(0x185)]===0x0?_0x57f317:_0x57f317['tag']==='defs'&&(!((_0x265c44=_0x57f317['children'])===null||_0x265c44===void 0x0)&&_0x265c44[_0x478eb1(0x185)])?_0x333fde(_0x333fde({},_0x57f317),{'children':_0x57f317[_0x478eb1(0x451)]['map'](function(_0x486352){const _0x1d6dce=_0x478eb1;return typeof _0x486352[_0x1d6dce(0x43f)]['id']==_0x1d6dce(0x1ed)&&_0x228b42&&_0x228b42[_0x1d6dce(0x2f7)](_0x486352[_0x1d6dce(0x43f)]['id'])?_0x333fde(_0x333fde({},_0x486352),{'attrs':_0x333fde(_0x333fde({},_0x486352[_0x1d6dce(0x43f)]),{'id':_0x486352[_0x1d6dce(0x43f)]['id']+_0x450cac[_0x1d6dce(0x1e2)]})}):_0x486352;})}):_0x57f317;}function _0xce2fb8(){const _0x1313aa=_0x37f8b3;return Math['random']()[_0x1313aa(0x31d)](0x24)['substring'](0x2,0x8);}_0x2d9c63[_0x37f8b3(0x17c)]=_0x37f8b3(0x373);var _0xaf8a6d={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':_0x37f8b3(0x3de),'fill':_0x37f8b3(0x1be),'viewBox':_0x37f8b3(0x2c3),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x31f)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'stroke':_0x37f8b3(0x364),'d':_0x37f8b3(0x3d8),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x2e5)},'children':[{'tag':'path','attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427)}}]}]}],'defIds':[_0x37f8b3(0x2e5)]},_0x3585d5=_0x492edf[_0x37f8b3(0x1b7)](function(_0x4c6b20,_0x339321){const _0x5be40c=_0x37f8b3;return _0x492edf[_0x5be40c(0x1a0)](_0x2d9c63,Object[_0x5be40c(0x1d0)]({},_0x4c6b20,{'id':_0x5be40c(0x40c),'ref':_0x339321,'icon':_0xaf8a6d}));});_0x3585d5[_0x37f8b3(0x17c)]=_0x37f8b3(0x2a8);var _0x2f5e9f={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x37f8b3(0x2e6),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x1f2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x37f8b3(0x307),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x342)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427),'transform':_0x37f8b3(0x3b2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4df8ab=_0x492edf[_0x37f8b3(0x1b7)](function(_0x559cc4,_0x247cf1){const _0x192c89=_0x37f8b3;return _0x492edf['createElement'](_0x2d9c63,Object[_0x192c89(0x1d0)]({},_0x559cc4,{'id':_0x192c89(0x443),'ref':_0x247cf1,'icon':_0x2f5e9f}));});_0x4df8ab['displayName']=_0x37f8b3(0x26b);function _0x234625(_0xafc3cd){const _0x2cced4=_0x37f8b3;switch(_0xafc3cd){case _0x5c1af6[_0x2cced4(0x252)]['OFFLINE']:return _0x2cced4(0x371);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x2f3)]:return'collabStatus.conflict';case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x242)]:return _0x2cced4(0x32c);case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x247)]:return _0x2cced4(0x177);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x431)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x43e)]:return _0x2cced4(0x41d);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x28e)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x243)]:return'collabStatus.synced';}}function _0xbbffd1(_0x1225ec){const _0x5c6ce0=_0x37f8b3,{status$:_0x29d921}=_0x1225ec,_0x5d0ca4=_0x19759c[_0x5c6ce0(0x1f8)](_0x29d921,_0x5c1af6[_0x5c6ce0(0x252)][_0x5c6ce0(0x247)]),_0xb81c27=_0x19759c[_0x5c6ce0(0x41b)](_0x4bf0bf[_0x5c6ce0(0x351)]),_0x43b2d9=_0x19759c[_0x5c6ce0(0x41b)](_0x5c1af6[_0x5c6ce0(0x21e)]),_0x1b816b=_0x5d0ca4!==_0x5c1af6['CollaborationStatus'][_0x5c6ce0(0x2e4)],_0x2054f7=_0xb81c27['t'](_0x234625(_0x5d0ca4)),_0x32ba56=_0x1b816b?_0x24e7e1[_0x5c6ce0(0x331)](_0x4df8ab,{}):_0x24e7e1[_0x5c6ce0(0x331)](_0x3585d5,{}),_0x2fed5d=_0x492edf[_0x5c6ce0(0x432)](()=>{const _0x3e8120=_0x5c6ce0;_0x1b816b||_0x43b2d9[_0x3e8120(0x29f)]();},[_0x1b816b,_0x43b2d9]);function _0xcfe0cc(){const _0x5c799c=_0x5c6ce0;return _0x24e7e1['jsxs'](_0x5c799c(0x41e),{'className':_0x5c799c(0x190),'onClick':_0x2fed5d,'children':[_0x24e7e1[_0x5c799c(0x331)](_0x5c799c(0x41e),{'className':_0x22cb21[_0x5c799c(0x41f)](_0x5c799c(0x260),{'univer-text-green-500':_0x1b816b,'univer-text-red-500':!_0x1b816b}),'children':_0x32ba56}),_0x24e7e1['jsx']('div',{'className':_0x5c799c(0x277),'children':_0x2054f7})]});}return _0x1b816b?_0xcfe0cc():_0x24e7e1[_0x5c6ce0(0x331)](_0x22cb21[_0x5c6ce0(0x2ea)],{'title':_0xb81c27['t'](_0x5c6ce0(0x1cd)),'children':_0xcfe0cc()});}var _0x3caa44=Object[_0x37f8b3(0x272)],_0x23c9ee=(_0x4d5003,_0x38aaf4,_0xad69aa,_0x1b212a)=>{const _0x4768ef=_0x37f8b3;for(var _0x1b034e=_0x1b212a>0x1?void 0x0:_0x1b212a?_0x3caa44(_0x38aaf4,_0xad69aa):_0x38aaf4,_0x40992f=_0x4d5003[_0x4768ef(0x185)]-0x1,_0x3ecbb4;_0x40992f>=0x0;_0x40992f--)(_0x3ecbb4=_0x4d5003[_0x40992f])&&(_0x1b034e=_0x3ecbb4(_0x1b034e)||_0x1b034e);return _0x1b034e;},_0x14cabc=(_0x35cb58,_0x563744)=>(_0xffef1b,_0x15b1d6)=>_0x563744(_0xffef1b,_0x15b1d6,_0x35cb58);_0x4f0727[_0x37f8b3(0x30b)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x5de2e0,_0x54911f,_0x5c4e7a,_0x50f6e6){const _0x18992d=_0x37f8b3;super(),_0xd7033e(this,_0x18992d(0x2ef),new _0x28bd90[(_0x18992d(0x246))](_0x5c1af6[_0x18992d(0x252)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5de2e0,this[_0x18992d(0x1af)]=_0x54911f,this[_0x18992d(0x220)]=_0x5c4e7a,this['_uiPartsService']=_0x50f6e6,this['_initStatusComponent'](),this[_0x18992d(0x193)]());}[_0x37f8b3(0x193)](){const _0xc28d8d=_0x37f8b3;this[_0xc28d8d(0x215)](this[_0xc28d8d(0x19b)][_0xc28d8d(0x287)][_0xc28d8d(0x1d7)](_0x28bd90[_0xc28d8d(0x2e2)](()=>{const _0x325547=_0xc28d8d,_0x37ef2f=this[_0x325547(0x19b)][_0x325547(0x2bc)]();return _0x37ef2f?this['_collaborationController'][_0x325547(0x334)](_0x37ef2f[_0x325547(0x3dd)]()):_0x28bd90['of'](null);}),_0x28bd90[_0xc28d8d(0x2e2)](_0x453348=>_0x453348?_0x453348[_0xc28d8d(0x241)]:_0x28bd90['of'](_0x5c1af6[_0xc28d8d(0x252)]['NOT_COLLAB'])))[_0xc28d8d(0x1c1)](_0x549891=>{const _0x16d9ad=_0xc28d8d;this[_0x16d9ad(0x2ef)]['next'](_0x549891);}));}[_0x37f8b3(0x2d0)](){const _0x1ce1ea=_0x37f8b3;this[_0x1ce1ea(0x215)](this['_uiPartsService'][_0x1ce1ea(0x422)](_0x19759c[_0x1ce1ea(0x348)]['HEADER_MENU'],()=>_0x19759c[_0x1ce1ea(0x236)](_0x5a1928({'status$':this[_0x1ce1ea(0x2ef)][_0x1ce1ea(0x276)]()}),this[_0x1ce1ea(0x1af)])));}},_0x4f0727[_0x37f8b3(0x30b)]=_0x23c9ee([_0x14cabc(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x14cabc(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x14cabc(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6['CollaborationController'])),_0x14cabc(0x3,_0x19759c[_0x37f8b3(0x39b)])],_0x4f0727['DesktopCollaborationStatusDisplayController']);function _0x5a1928(_0x546b19){const {status$:_0x40d1e8}=_0x546b19;return function(){const _0x20b5f9=_0x53f7;return _0x24e7e1[_0x20b5f9(0x331)](_0xbbffd1,{'status$':_0x40d1e8});};}const _0x30f389=_0x4bf0bf[_0x37f8b3(0x35d)](_0x37f8b3(0x410));var _0x489ba1=Object[_0x37f8b3(0x272)],_0x5753f8=(_0x69e481,_0x2d061c,_0x454bda,_0x3cceb4)=>{const _0x8cb45a=_0x37f8b3;for(var _0x3ecd27=_0x3cceb4>0x1?void 0x0:_0x3cceb4?_0x489ba1(_0x2d061c,_0x454bda):_0x2d061c,_0x543de8=_0x69e481[_0x8cb45a(0x185)]-0x1,_0x580bcc;_0x543de8>=0x0;_0x543de8--)(_0x580bcc=_0x69e481[_0x543de8])&&(_0x3ecd27=_0x580bcc(_0x3ecd27)||_0x3ecd27);return _0x3ecd27;},_0x537e12=(_0x5772f5,_0x3a2004)=>(_0x4bceb0,_0x432343)=>_0x3a2004(_0x4bceb0,_0x432343,_0x5772f5);_0x4f0727[_0x37f8b3(0x286)]=class extends _0x4bf0bf['RxDisposable']{constructor(_0x1e1288,_0x7ed1e6,_0x22e200,_0x4a22ce,_0x1bfbc2){const _0x29249a=_0x37f8b3;super(),this[_0x29249a(0x198)]=_0x1e1288,this[_0x29249a(0x3f0)]=_0x7ed1e6,this['_commandService']=_0x22e200,this[_0x29249a(0x430)]=_0x4a22ce,_0x1bfbc2?_0x1bfbc2==null||_0x1bfbc2['whenReady']()[_0x29249a(0x285)](()=>this[_0x29249a(0x3fd)]()):(this[_0x29249a(0x3f0)][_0x29249a(0x441)](_0x29249a(0x209),_0x29249a(0x181)),this[_0x29249a(0x3fd)]());}async[_0x37f8b3(0x3fd)](){const _0x569385=_0x37f8b3,_0xd18842=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x258)),_0x3dbfd8=this[_0x569385(0x198)]['getParam'](_0x569385(0x1c7)),_0x13f75a=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x2e7));if(!_0xd18842||!_0x3dbfd8){this[_0x569385(0x3f0)][_0x569385(0x441)]('[CollaborationDataLoaderController]',_0x569385(0x1ba));return;}const _0x285f73=await this[_0x569385(0x430)][_0x569385(0x412)](_0xd18842,Number(_0x3dbfd8),_0x13f75a);_0x285f73&&_0x285f73 instanceof _0x4bf0bf[_0x569385(0x2d1)]&&this['_setupSubUnitSync'](_0x285f73);}async[_0x37f8b3(0x30c)](_0x3049e5){const _0x43632f=_0x37f8b3;await this['_updateSubUnitFromURLParams'](_0x3049e5),_0x3049e5[_0x43632f(0x3d5)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](_0x222d65=>{const _0x5c15f0=_0x43632f;_0x222d65&&this[_0x5c15f0(0x44f)](_0x222d65);}),this[_0x43632f(0x198)][_0x43632f(0x1c8)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](()=>this[_0x43632f(0x2da)](_0x3049e5));}[_0x37f8b3(0x44f)](_0x1a2bb0,_0x224fe2=!0x1){const _0x2973b5=_0x37f8b3,_0x1aa8a7=this[_0x2973b5(0x198)][_0x2973b5(0x1eb)](_0x2973b5(0x2e7));_0x1a2bb0[_0x2973b5(0x1d3)]()!==_0x1aa8a7&&this['_urlService'][_0x2973b5(0x25a)](_0x2973b5(0x2e7),_0x1a2bb0[_0x2973b5(0x1d3)](),_0x224fe2);}async[_0x37f8b3(0x2da)](_0x665549){const _0x127d4f=_0x37f8b3;var _0x1ace06;const _0x41b089=this['_urlService'][_0x127d4f(0x1eb)](_0x127d4f(0x2e7));if(!_0x41b089||!_0x665549['getSheetBySheetId'](_0x41b089)){const _0x3c551f=_0x665549[_0x127d4f(0x44c)]()[0x0],_0x4fbcff=_0x665549[_0x127d4f(0x445)](_0x3c551f);if(!_0x4fbcff)return;this[_0x127d4f(0x44f)](_0x4fbcff,!0x0),await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x3c551f});return;}((_0x1ace06=_0x665549[_0x127d4f(0x450)]())==null?void 0x0:_0x1ace06[_0x127d4f(0x1d3)]())!==_0x41b089&&await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x41b089});}},_0x4f0727[_0x37f8b3(0x286)]=_0x5753f8([_0x537e12(0x0,_0x30f389),_0x537e12(0x1,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x537e12(0x2,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x537e12(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x361)])),_0x537e12(0x4,_0x4bf0bf[_0x37f8b3(0x411)](_0x461d35[_0x37f8b3(0x2d7)]))],_0x4f0727[_0x37f8b3(0x286)]);var _0x3de95f=Object['getOwnPropertyDescriptor'],_0x4e9186=(_0x2f86fb,_0x2263f2,_0x564bfb,_0x337823)=>{const _0x53ca62=_0x37f8b3;for(var _0x2c9ca8=_0x337823>0x1?void 0x0:_0x337823?_0x3de95f(_0x2263f2,_0x564bfb):_0x2263f2,_0x4b106d=_0x2f86fb[_0x53ca62(0x185)]-0x1,_0x161355;_0x4b106d>=0x0;_0x4b106d--)(_0x161355=_0x2f86fb[_0x4b106d])&&(_0x2c9ca8=_0x161355(_0x2c9ca8)||_0x2c9ca8);return _0x2c9ca8;},_0x114ad0=(_0x2565ed,_0x177a46)=>(_0xc4589d,_0xf98d58)=>_0x177a46(_0xc4589d,_0xf98d58,_0x2565ed);let _0x3fb39a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x17d43a,_0x4d6e0e){const _0x41094d=_0x37f8b3;super(),this[_0x41094d(0x1a4)]=_0x17d43a,this[_0x41094d(0x39e)]=_0x4d6e0e,this[_0x41094d(0x3fd)]();}[_0x37f8b3(0x3fd)](){const _0x74fcd6=_0x37f8b3,_0x445b15=this;this[_0x74fcd6(0x215)](this[_0x74fcd6(0x1a4)][_0x74fcd6(0x39c)]({'onBeforePasteImage':async _0x519c71=>{const _0x2a8443=_0x74fcd6,_0xd19383=await _0x445b15[_0x2a8443(0x39e)]['saveImage'](_0x519c71);return _0xd19383?{'source':_0xd19383['source'],'imageSourceType':_0xd19383[_0x2a8443(0x38a)]}:null;}}));}};_0x3fb39a=_0x4e9186([_0x114ad0(0x0,_0x80b7f3[_0x37f8b3(0x3ed)]),_0x114ad0(0x1,_0x3f8334[_0x37f8b3(0x2cc)])],_0x3fb39a);const _0x45dd36=['purple.300','jiqing.500',_0x37f8b3(0x3fa),_0x37f8b3(0x172),_0x37f8b3(0x20f),_0x37f8b3(0x282)];class _0x21c84d extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x5ba2ec=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x5ba2ec(0x442),new Map()),_0xd7033e(this,_0x5ba2ec(0x3f9),0x0);}[_0x37f8b3(0x3cd)](_0x3439db){const _0x15d943=_0x37f8b3;if(this['_assignedColors']['has'](_0x3439db))return this['_assignedColors'][_0x15d943(0x42f)](_0x3439db);const _0x18b448=_0x45dd36[this[_0x15d943(0x3f9)]];return this[_0x15d943(0x3f9)]=(this[_0x15d943(0x3f9)]+0x1)%_0x45dd36[_0x15d943(0x185)],this['_assignedColors']['set'](_0x3439db,_0x18b448),_0x18b448;}}function _0x18f37e(_0x40d3ac){const _0x520f8c=_0x37f8b3;let _0x12d513='';for(const _0x505702 of _0x40d3ac){const {startOffset:_0x15ad0f,endOffset:_0x4c0d2c,isActive:_0xc6978b,rangeType:_0x202f67,segmentId:_0x5de204,segmentPage:_0x25a114}=_0x505702;_0x12d513[_0x520f8c(0x185)]&&(_0x12d513+=','),_0x12d513+=_0x15ad0f+':'+_0x4c0d2c+':'+(_0xc6978b?'1':'0')+':'+_0x202f67+':'+_0x5de204+':'+_0x25a114;}return _0x12d513;}function _0x56eabf(_0x40bc15){const _0x5f400c=_0x37f8b3,_0x27afef=_0x40bc15[_0x5f400c(0x3a4)](','),_0x426813=[];for(const _0x4579f1 of _0x27afef){const [_0x8f088a,_0x1d4d2d,_0x3539c3,_0x365378,_0x5e6db5,_0x41358a]=_0x4579f1[_0x5f400c(0x3a4)](':');_0x426813[_0x5f400c(0x20c)]({'startOffset':Number(_0x8f088a),'endOffset':Number(_0x1d4d2d),'collapsed':_0x8f088a===_0x1d4d2d,'isActive':_0x3539c3==='1','rangeType':_0x365378===_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]?_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]:_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x33c)],'segmentId':typeof _0x5e6db5=='string'?String(_0x5e6db5):'','segmentPage':Number(_0x41358a!=null?_0x41358a:-0x1)});}return _0x426813[_0x5f400c(0x454)](_0x1cbb44=>_0x1cbb44[_0x5f400c(0x2ab)])||(_0x426813[0x0][_0x5f400c(0x2ab)]=!0x0),_0x426813;}class _0x39b00c extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x192aa8=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x192aa8(0x22f),new _0x28bd90[(_0x192aa8(0x246))](null)),_0xd7033e(this,'collabCursorState$',this[_0x192aa8(0x22f)][_0x192aa8(0x276)]());}['syncEditingCollabCursor'](_0x3f6440){const _0x563b14=_0x37f8b3,{unitID:_0x5694bc,memberID:_0x2be989,textRanges:_0x2cf578}=_0x3f6440,_0x4f97af=_0x18f37e(_0x2cf578);if(_0x4f97af==='')return;const _0x567b5e={'unitID':_0x5694bc,'memberID':_0x2be989,'selection':_0x4f97af};this[_0x563b14(0x22f)]['next'](_0x567b5e);}}var _0x5255d4=Object[_0x37f8b3(0x272)],_0x5ece84=(_0xb8739b,_0x305d12,_0x149bed,_0x5aea1e)=>{const _0x25bdf5=_0x37f8b3;for(var _0x5ba9eb=_0x5aea1e>0x1?void 0x0:_0x5aea1e?_0x5255d4(_0x305d12,_0x149bed):_0x305d12,_0x391cb4=_0xb8739b[_0x25bdf5(0x185)]-0x1,_0x2fbcea;_0x391cb4>=0x0;_0x391cb4--)(_0x2fbcea=_0xb8739b[_0x391cb4])&&(_0x5ba9eb=_0x2fbcea(_0x5ba9eb)||_0x5ba9eb);return _0x5ba9eb;},_0x229d5d=(_0x45a18c,_0x1d80ba)=>(_0x5c747a,_0x15dbd4)=>_0x1d80ba(_0x5c747a,_0x15dbd4,_0x45a18c);const _0x5ef41d=0x12c,_0x2ec9fd=0x64;let _0x34c1be=class extends _0x4bf0bf['RxDisposable']{constructor(_0x598e2e,_0x2658c1,_0x2d4675,_0x3c1c31,_0x375f6a,_0x37936c,_0x1c19e2,_0x4e1d02,_0x2f04d6){const _0x12430a=_0x37f8b3;super(),_0xd7033e(this,_0x12430a(0x3c9),!0x1),_0xd7033e(this,_0x12430a(0x3fd),!0x1),_0xd7033e(this,_0x12430a(0x3b9),new _0x28bd90[(_0x12430a(0x246))](new Map())),_0xd7033e(this,'cursorInfo$',this[_0x12430a(0x3b9)][_0x12430a(0x276)]()),_0xd7033e(this,_0x12430a(0x2cd),new _0x28bd90[(_0x12430a(0x246))]([])),_0xd7033e(this,_0x12430a(0x40d),this[_0x12430a(0x2cd)][_0x12430a(0x1d7)](_0x28bd90[_0x12430a(0x35a)](_0x5ef41d))),_0xd7033e(this,_0x12430a(0x2dc),_0x4bf0bf['debounce'](_0x3f3290=>{const _0x567c52=_0x12430a,_0x5ce0a3={'eventID':_0x346166['CollaborationEvent'][_0x567c52(0x3ae)],'data':{'unitID':this[_0x567c52(0x231)],'memberID':this['_session']['getMemberID'](),'selection':_0x18f37e(_0x3f3290)}};this[_0x567c52(0x449)][_0x567c52(0x1d2)](_0x5ce0a3,this[_0x567c52(0x231)]);},_0x2ec9fd)),(this['unitID']=_0x598e2e,this[_0x12430a(0x449)]=_0x2658c1,this[_0x12430a(0x1af)]=_0x2d4675,this[_0x12430a(0x249)]=_0x3c1c31,this[_0x12430a(0x2e3)]=_0x375f6a,this[_0x12430a(0x419)]=_0x37936c,this[_0x12430a(0x3f8)]=_0x1c19e2,this['_univerInstanceService']=_0x4e1d02,this[_0x12430a(0x301)]=_0x2f04d6);}get['cursorInfo'](){const _0x47e139=_0x37f8b3;return this[_0x47e139(0x3b9)][_0x47e139(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0xe49142=_0x37f8b3;return this['_roomMembers$'][_0xe49142(0x36c)]();}['dispose'](){const _0x25ef52=_0x37f8b3;super['dispose'](),this[_0x25ef52(0x3b9)][_0x25ef52(0x322)](new Map()),this[_0x25ef52(0x3b9)][_0x25ef52(0x38f)](),this['_roomMembers$'][_0x25ef52(0x322)]([]),this[_0x25ef52(0x2cd)][_0x25ef52(0x38f)]();}['init'](){const _0x3cd2f6=_0x37f8b3;this[_0x3cd2f6(0x3fd)]||(this['_init']=!0x0,this[_0x3cd2f6(0x449)][_0x3cd2f6(0x3a7)][_0x3cd2f6(0x1d7)](_0x28bd90['takeUntil'](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x59e0c8=>{const _0xd2882b=_0x3cd2f6;_0x59e0c8===_0x5c1af6['SessionStatus'][_0xd2882b(0x3e4)]?this[_0xd2882b(0x338)]():this[_0xd2882b(0x271)]();}),this['_session'][_0x3cd2f6(0x2a5)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x11023c=>{const _0x5e4550=_0x3cd2f6,_0x52f805=_0x11023c['eventID'];_0x52f805===_0x346166['CollaborationEvent'][_0x5e4550(0x3ae)]&&this['_onCursorUpdate'](_0x11023c),_0x52f805===_0x346166[_0x5e4550(0x2d2)][_0x5e4550(0x394)]&&this[_0x5e4550(0x1ea)](_0x11023c);}),this[_0x3cd2f6(0x215)](this['_commandService']['onCommandExecuted'](_0x30af4e=>{const _0x5205e5=_0x3cd2f6,_0x4fd92e=_0x30af4e[_0x5205e5(0x448)];_0x4fd92e!=null&&this[_0x5205e5(0x3c9)]&&_0x30af4e['id']===_0xfb3c5a['SetTextSelectionsOperation']['id']&&_0x4fd92e[_0x5205e5(0x205)]===this[_0x5205e5(0x231)]&&_0x4fd92e[_0x5205e5(0x2d9)]===!0x1&&_0x4fd92e[_0x5205e5(0x1d6)]['length']>0x0&&this[_0x5205e5(0x2dc)](_0x4fd92e[_0x5205e5(0x1d6)]);})),this[_0x3cd2f6(0x419)][_0x3cd2f6(0x3fe)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this['dispose$']))[_0x3cd2f6(0x1c1)](_0x1244cc=>{const _0x57cfa0=_0x3cd2f6;if((_0x1244cc==null?void 0x0:_0x1244cc[_0x57cfa0(0x231)])!==this[_0x57cfa0(0x231)])return;const _0x395ee0={'eventID':_0x346166['CollaborationEvent'][_0x57cfa0(0x3ae)],'data':_0x1244cc};this['_onCursorUpdate'](_0x395ee0);}),this[_0x3cd2f6(0x215)](this[_0x3cd2f6(0x301)]['onCommandExecuted'](_0x5cbe92=>{const _0x188f31=_0x3cd2f6;if(_0x5cbe92[_0x188f31(0x448)]==null)return;const _0x5446a7=_0x5cbe92['params'];if(_0x5cbe92['id']!==_0xfb3c5a[_0x188f31(0x2b2)]['id']||_0x5446a7[_0x188f31(0x205)]!==this[_0x188f31(0x231)])return;const _0x1ac7ab={'id':_0x188f31(0x17f),'params':_0x5446a7},_0x5cc0e0=this[_0x188f31(0x296)];for(const [_0x3d7433,_0x282ce3]of _0x5cc0e0){const _0x2a27d8={'id':_0x188f31(0x17f),'params':{'unitId':this[_0x188f31(0x231)],'actions':null,'textRanges':_0x282ce3[_0x188f31(0x1d6)]}},_0x50e657=this[_0x188f31(0x3f8)]['transformMutation'](_0x1ac7ab,_0x2a27d8,!0x1);if(_0x346166['isTransformMutationFailure'](_0x50e657))throw _0x50e657[_0x188f31(0x3c2)];_0x5cc0e0[_0x188f31(0x3a5)](_0x3d7433,{..._0x282ce3,'ranges':_0x50e657['m2Prime'][_0x188f31(0x448)][_0x188f31(0x1da)]});}queueMicrotask(()=>{const _0x35295d=_0x188f31;this[_0x35295d(0x3b9)][_0x35295d(0x322)](_0x5cc0e0);});})));}[_0x37f8b3(0x24d)](_0x4bfe6b){const _0x9baad6=_0x37f8b3;var _0x4bbe77,_0x3b1f7b;const {memberID:_0x34a966,selection:_0x37d668}=_0x4bfe6b[_0x9baad6(0x3da)],_0x24ab56=_0x56eabf(_0x37d668),_0x3d609e=(_0x3b1f7b=(_0x4bbe77=this[_0x9baad6(0x2e3)][_0x9baad6(0x178)](this[_0x9baad6(0x231)],_0x34a966))==null?void 0x0:_0x4bbe77['name'])!=null?_0x3b1f7b:_0x9baad6(0x2f5),_0x389dda={'color':this[_0x9baad6(0x249)][_0x9baad6(0x3cd)](_0x34a966),'name':_0x3d609e,'ranges':_0x24ab56},_0x53d01b=this[_0x9baad6(0x296)];_0x53d01b[_0x9baad6(0x3a5)](_0x34a966,_0x389dda),this[_0x9baad6(0x3b9)]['next'](_0x53d01b);}[_0x37f8b3(0x1ea)](_0x363edb){const _0x5550d6=_0x37f8b3,{memberID:_0x8244cd}=_0x363edb[_0x5550d6(0x3da)],_0x161ca9=this[_0x5550d6(0x296)];_0x161ca9['delete'](_0x8244cd),this['_cursorInfo$']['next'](_0x161ca9);}[_0x37f8b3(0x338)](){const _0x3c9f04=_0x37f8b3;var _0x5dc1c9;if(this[_0x3c9f04(0x3c9)]=!0x0,((_0x5dc1c9=this[_0x3c9f04(0x19b)][_0x3c9f04(0x2bc)]())==null?void 0x0:_0x5dc1c9['getUnitId']())!==this['unitID'])return;const _0x4e1a8a=this[_0x3c9f04(0x1af)]['get'](_0xfb3c5a[_0x3c9f04(0x27b)])[_0x3c9f04(0x3e9)]();Array[_0x3c9f04(0x1fc)](_0x4e1a8a)&&_0x4e1a8a[_0x3c9f04(0x185)]>0x0&&this[_0x3c9f04(0x2dc)](_0x4e1a8a);}['_toggleOffline'](){const _0x4b637a=_0x37f8b3;this[_0x4b637a(0x3c9)]=!0x1;}};_0x34c1be=_0x5ece84([_0x229d5d(0x2,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x229d5d(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x229d5d(0x4,_0x4bf0bf['Inject'](_0x5c1af6['MemberService'])),_0x229d5d(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x229d5d(0x6,_0x346166['ITransformService']),_0x229d5d(0x7,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x229d5d(0x8,_0x4bf0bf[_0x37f8b3(0x1c5)])],_0x34c1be);var _0x4ef30e=Object[_0x37f8b3(0x272)],_0x70bf85=(_0x402959,_0xf2be11,_0x49a348,_0x25cfde)=>{const _0x5dfbb4=_0x37f8b3;for(var _0x478330=_0x25cfde>0x1?void 0x0:_0x25cfde?_0x4ef30e(_0xf2be11,_0x49a348):_0xf2be11,_0x1f5232=_0x402959[_0x5dfbb4(0x185)]-0x1,_0x3489f6;_0x1f5232>=0x0;_0x1f5232--)(_0x3489f6=_0x402959[_0x1f5232])&&(_0x478330=_0x3489f6(_0x478330)||_0x478330);return _0x478330;},_0x38bc95=(_0xe8510a,_0x3d1cf8)=>(_0x127fa1,_0x4c41da)=>_0x3d1cf8(_0x127fa1,_0x4c41da,_0xe8510a);const _0x19e6e8=0x12c,_0x12ce93=0x64,_0x34340b=()=>{let _0x1c6bde=[],_0x35da7e=!0x1;return _0x5d2530=>{const _0x1e372c=_0x53f7;_0x1c6bde[_0x1e372c(0x20c)](_0x5d2530),_0x35da7e||(_0x35da7e=!0x0,setTimeout(()=>{const _0x1c3215=_0x1e372c;_0x1c6bde[_0x1c3215(0x3a0)](_0x3ca607=>_0x3ca607()),_0x1c6bde=[],_0x35da7e=!0x1;}));};};let _0x23585c=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x5a0c3a,_0x4bd6b0,_0x34a107,_0x22177c,_0x2a9f21,_0x924544,_0x20ad8d,_0x26b616){const _0x33ee84=_0x37f8b3;super(),_0xd7033e(this,'_online',!0x1),_0xd7033e(this,_0x33ee84(0x3fd),!0x1),_0xd7033e(this,'_cursorInfo$',new _0x28bd90[(_0x33ee84(0x246))](new Map())),_0xd7033e(this,_0x33ee84(0x3db),this['_cursorInfo$']['asObservable']()),_0xd7033e(this,'_roomMembers$',new _0x28bd90[(_0x33ee84(0x246))]([])),_0xd7033e(this,'roomMembers$',this[_0x33ee84(0x2cd)][_0x33ee84(0x1d7)](_0x28bd90[_0x33ee84(0x35a)](_0x19e6e8))),_0xd7033e(this,_0x33ee84(0x2dc),_0x4bf0bf['debounce']((_0x5ef764,_0x27355f)=>{const _0x3e6fa0=_0x33ee84,_0x3262b3={'eventID':_0x346166[_0x3e6fa0(0x2d2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3e6fa0(0x231)],'memberID':this[_0x3e6fa0(0x449)][_0x3e6fa0(0x370)](),'selection':_0x1738fe[_0x3e6fa0(0x349)](_0x5ef764,_0x27355f[_0x3e6fa0(0x2db)])}};this['_session']['send'](_0x3262b3,this[_0x3e6fa0(0x231)]);},_0x12ce93)),(this[_0x33ee84(0x231)]=_0x5a0c3a,this['_session']=_0x4bd6b0,this[_0x33ee84(0x1af)]=_0x34a107,this['_colorAssignService']=_0x22177c,this[_0x33ee84(0x2e3)]=_0x2a9f21,this['_univerInstanceService']=_0x924544,this[_0x33ee84(0x301)]=_0x20ad8d,this[_0x33ee84(0x44a)]=_0x26b616);}get['cursorInfo'](){const _0x15906a=_0x37f8b3;return this[_0x15906a(0x3b9)][_0x15906a(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0x3cbcaa=_0x37f8b3;return this[_0x3cbcaa(0x2cd)]['getValue']();}['dispose'](){const _0x5d1b96=_0x37f8b3;super[_0x5d1b96(0x248)](),this[_0x5d1b96(0x3b9)][_0x5d1b96(0x322)](new Map()),this[_0x5d1b96(0x3b9)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5d1b96(0x2cd)][_0x5d1b96(0x38f)]();}['init'](){const _0x61b0c8=_0x37f8b3;this['_init']||(this['_init']=!0x0,this['_session'][_0x61b0c8(0x3a7)][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this[_0x61b0c8(0x30f)]))[_0x61b0c8(0x1c1)](_0x23bb72=>{const _0x24c1a6=_0x61b0c8;_0x23bb72===_0x5c1af6[_0x24c1a6(0x32e)][_0x24c1a6(0x3e4)]?this['_toggleOnline']():this[_0x24c1a6(0x271)]();}),this[_0x61b0c8(0x449)]['event$'][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this['dispose$']))[_0x61b0c8(0x1c1)](_0xd457ff=>{const _0x58fe04=_0x61b0c8,_0x1a1f77=_0xd457ff['eventID'];_0x1a1f77===_0x346166[_0x58fe04(0x2d2)][_0x58fe04(0x3ae)]&&this[_0x58fe04(0x24d)](_0xd457ff),_0x1a1f77===_0x346166[_0x58fe04(0x2d2)]['USERS_LEAVE']&&this[_0x58fe04(0x1ea)](_0xd457ff);}),this[_0x61b0c8(0x3c1)](),this['disposeWithMe'](this[_0x61b0c8(0x301)][_0x61b0c8(0x294)](_0x623172=>{const _0x510650=_0x61b0c8;if(this[_0x510650(0x3c9)]&&_0x623172['id']===_0x3edab0[_0x510650(0x224)]['id']&&_0x623172[_0x510650(0x448)][_0x510650(0x205)]===this['unitID']){const _0x5ac057=_0x623172[_0x510650(0x448)];this['_updateLocalCursor'](_0x5ac057[_0x510650(0x237)],_0x5ac057[_0x510650(0x28f)][0x0]);}})));}[_0x37f8b3(0x24d)](_0x131145){const _0x13d14f=_0x37f8b3;var _0x12ea73,_0x6d3c68;const {memberID:_0x5cf550,selection:_0x5ea7a2}=_0x131145['data'],{sheetName:_0x6ed12d,range:_0x34a2f1}=_0x1738fe[_0x13d14f(0x42b)](_0x5ea7a2),_0x45c5dd={'name':(_0x6d3c68=(_0x12ea73=this[_0x13d14f(0x2e3)][_0x13d14f(0x178)](this[_0x13d14f(0x231)],_0x5cf550))==null?void 0x0:_0x12ea73[_0x13d14f(0x1b5)])!=null?_0x6d3c68:_0x13d14f(0x2f5),'range':this[_0x13d14f(0x24a)](_0x6ed12d,_0x34a2f1),'sheetID':_0x6ed12d,'color':this['_colorAssignService'][_0x13d14f(0x3cd)](_0x5cf550),'selection':_0x5ea7a2},_0x353482=this['cursorInfo'];_0x353482[_0x13d14f(0x3a5)](_0x5cf550,_0x45c5dd),this[_0x13d14f(0x3b9)]['next'](_0x353482);}[_0x37f8b3(0x1ea)](_0x4242a7){const _0x55d75d=_0x37f8b3,{memberID:_0x51e0e8}=_0x4242a7['data'],_0x242104=this[_0x55d75d(0x296)];_0x242104[_0x55d75d(0x26c)](_0x51e0e8),this['_cursorInfo$']['next'](_0x242104);}[_0x37f8b3(0x24a)](_0x1ff128,_0x6b1f31){const _0x40dd81=_0x37f8b3;var _0xa78afb,_0x4db5a7;const _0x537b7d=(_0x4db5a7=(_0xa78afb=this[_0x40dd81(0x19b)][_0x40dd81(0x37d)](this['unitID']))==null?void 0x0:_0xa78afb[_0x40dd81(0x445)](_0x1ff128))==null?void 0x0:_0x4db5a7[_0x40dd81(0x279)]();return(_0x537b7d==null?void 0x0:_0x537b7d[_0x40dd81(0x417)](_0x5373a1=>_0x4bf0bf[_0x40dd81(0x30d)]['contains'](_0x5373a1,_0x6b1f31)))||_0x6b1f31;}[_0x37f8b3(0x3c1)](){const _0x46d15d=_0x37f8b3,_0x42c4db=new _0x4bf0bf['DisposableCollection'](),_0x4bc656=_0x34340b(),_0x27fb7c=()=>{const _0x13b97f=_0x53f7;_0x42c4db['dispose']();const _0x3e814b=(_0x3e994e,_0xe08ec3,_0x5efe9c,_0x3af6f0)=>{const _0x51dfa6=_0x53f7;let _0x19bee5=[];switch(_0x3e994e['id']){case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveLeftCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1e8)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveUpCommandId']:{_0x19bee5=_0x3edab0['handleDeleteRangeMoveUp'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['InsertColCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x240)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1c6)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x186)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x414)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x3d7)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2f1)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x182)]:{_0x19bee5=_0x3edab0['handleMoveRange'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x298)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2b0)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId'][_0x51dfa6(0x3d2)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2be)](_0x3e994e,_0x3af6f0);break;}}const _0x322477=_0x3edab0[_0x51dfa6(0x304)](_0x19bee5,_0x3af6f0),_0x322922=this[_0x51dfa6(0x296)]['get'](_0xe08ec3);if(_0x322922&&_0x322477){const _0xe046de={..._0x322922,'range':_0x322477};this[_0x51dfa6(0x296)][_0x51dfa6(0x3a5)](_0xe08ec3,_0xe046de),_0x4bc656(()=>{const _0x514163=_0x51dfa6,_0x3ef8bd=this[_0x514163(0x44a)][_0x514163(0x44d)](_0x322477,_0x1217f3=>(_0x3ef8bd[_0x514163(0x248)](),_0x3e814b(_0x1217f3,_0xe08ec3,_0x5efe9c,_0x322477)));_0x42c4db[_0x514163(0x24c)](_0x3ef8bd);});}return{'redos':[],'undos':[]};};this[_0x13b97f(0x296)][_0x13b97f(0x3a0)]((_0x5eb384,_0x2c8863)=>{const _0xf4003b=_0x13b97f,{range:_0x42fa18,sheetID:_0xbe1a2f}=_0x5eb384,_0x1214ab=this[_0xf4003b(0x44a)]['registerRefRange'](_0x42fa18,_0x13bf19=>(_0x1214ab[_0xf4003b(0x248)](),_0x3e814b(_0x13bf19,_0x2c8863,_0xbe1a2f,_0x42fa18)));_0x42c4db[_0xf4003b(0x24c)](_0x1214ab);});};this[_0x46d15d(0x215)](_0x4bf0bf['toDisposable'](this[_0x46d15d(0x3b9)][_0x46d15d(0x1c1)](()=>{_0x27fb7c();})));}[_0x37f8b3(0x338)](){const _0x1887ab=_0x37f8b3;var _0x4142ea,_0x44c95b;if(this[_0x1887ab(0x3c9)]=!0x0,((_0x4142ea=this[_0x1887ab(0x19b)][_0x1887ab(0x2bc)]())==null?void 0x0:_0x4142ea[_0x1887ab(0x3dd)]())!==this['unitID'])return;const _0x25cc8e=(_0x44c95b=this[_0x1887ab(0x1af)]['get'](_0x3edab0['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x44c95b[0x0],_0x493437=this[_0x1887ab(0x19b)][_0x1887ab(0x392)](_0x4bf0bf[_0x1887ab(0x310)]['UNIVER_SHEET'])[_0x1887ab(0x450)]();_0x25cc8e&&_0x493437&&this[_0x1887ab(0x2dc)](_0x493437['getSheetId'](),_0x25cc8e);}[_0x37f8b3(0x271)](){this['_online']=!0x1;}};_0x23585c=_0x70bf85([_0x38bc95(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x38bc95(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x38bc95(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x2c9)])),_0x38bc95(0x5,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x38bc95(0x6,_0x4bf0bf['ICommandService']),_0x38bc95(0x7,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x3edab0['RefRangeService']))],_0x23585c);var _0x4efb93=Object[_0x37f8b3(0x272)],_0x590e78=(_0x283521,_0xc78543,_0x229c9e,_0x335c97)=>{const _0x241e17=_0x37f8b3;for(var _0x267ed7=_0x335c97>0x1?void 0x0:_0x335c97?_0x4efb93(_0xc78543,_0x229c9e):_0xc78543,_0x42d24f=_0x283521[_0x241e17(0x185)]-0x1,_0x3a3617;_0x42d24f>=0x0;_0x42d24f--)(_0x3a3617=_0x283521[_0x42d24f])&&(_0x267ed7=_0x3a3617(_0x267ed7)||_0x267ed7);return _0x267ed7;},_0x430bec=(_0x1443a2,_0x3ce76b)=>(_0x18dd1b,_0xdd37ad)=>_0x3ce76b(_0x18dd1b,_0xdd37ad,_0x1443a2);let _0x576e16=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x577d75,_0x96118d,_0x16156b){const _0x202366=_0x37f8b3;super(),_0xd7033e(this,_0x202366(0x2de),new Map()),_0xd7033e(this,_0x202366(0x365),new _0x28bd90[(_0x202366(0x189))]()),(this[_0x202366(0x19b)]=_0x577d75,this[_0x202366(0x1af)]=_0x96118d,this[_0x202366(0x309)]=_0x16156b,this[_0x202366(0x3fd)]());}[_0x37f8b3(0x248)](){const _0x538765=_0x37f8b3;super[_0x538765(0x248)](),this[_0x538765(0x365)][_0x538765(0x38f)](),this[_0x538765(0x2de)][_0x538765(0x3a0)](_0x3b97a9=>_0x3b97a9['dispose']());}['getCollabCursors$'](_0x3905fd){const _0x1a1f99=_0x37f8b3;return this[_0x1a1f99(0x2de)][_0x1a1f99(0x33b)](_0x3905fd)?this['_entities'][_0x1a1f99(0x42f)](_0x3905fd)[_0x1a1f99(0x3db)]:this['_entityInit$'][_0x1a1f99(0x1d7)](_0x28bd90[_0x1a1f99(0x42c)](_0x3c746d=>_0x3c746d['unitID']===_0x3905fd),_0x28bd90[_0x1a1f99(0x2e2)](_0x13a095=>_0x13a095[_0x1a1f99(0x3db)]));}['_init'](){const _0x3bf81b=_0x37f8b3;this[_0x3bf81b(0x19b)][_0x3bf81b(0x19d)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)])['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](async _0x2468b6=>{const _0x1b42cd=_0x3bf81b,_0x2e755a=_0x2468b6['getUnitId'](),_0x12e202=await this[_0x1b42cd(0x225)](_0x2e755a);this[_0x1b42cd(0x365)]['next'](_0x12e202),this[_0x1b42cd(0x2de)][_0x1b42cd(0x3a5)](_0x2e755a,_0x12e202);}),this['_univerInstanceService'][_0x3bf81b(0x19d)](_0x4bf0bf['UniverInstanceType']['UNIVER_DOC'])[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x1dc)](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x42c)](_0x3abd26=>!_0x3abd26[_0x3bf81b(0x3dd)]()['startsWith']('__')))[_0x3bf81b(0x1c1)](async _0x2fc3a7=>{const _0x3e9bab=_0x3bf81b,_0x2c4975=_0x2fc3a7[_0x3e9bab(0x3dd)](),_0x198316=await this[_0x3e9bab(0x2a1)](_0x2c4975);this['_entityInit$'][_0x3e9bab(0x322)](_0x198316),this[_0x3e9bab(0x2de)][_0x3e9bab(0x3a5)](_0x2c4975,_0x198316);}),_0x28bd90[_0x3bf81b(0x315)](this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)]['UNIVER_DOC']),this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)]))['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](_0x118688=>{const _0x1168c7=_0x3bf81b,_0x365c92=_0x118688[_0x1168c7(0x3dd)](),_0xaf6142=this[_0x1168c7(0x2de)][_0x1168c7(0x42f)](_0x365c92);_0xaf6142&&(_0xaf6142[_0x1168c7(0x248)](),this['_entities'][_0x1168c7(0x26c)](_0x365c92));});}async[_0x37f8b3(0x225)](_0x3c1219){const _0x31a3ae=_0x37f8b3,_0x5dbe1a=await this[_0x31a3ae(0x309)]['requireSession'](_0x3c1219),_0x208589=this[_0x31a3ae(0x1af)][_0x31a3ae(0x18c)](_0x23585c,_0x3c1219,_0x5dbe1a);return _0x208589['init'](),_0x208589;}async['_startDocCollabCursor'](_0x23784f){const _0x5656b6=_0x37f8b3,_0x3c5de5=await this[_0x5656b6(0x309)][_0x5656b6(0x21c)](_0x23784f),_0x19d26b=this[_0x5656b6(0x1af)]['createInstance'](_0x34c1be,_0x23784f,_0x3c5de5);return _0x19d26b[_0x5656b6(0x187)](),_0x19d26b;}};_0x576e16=_0x590e78([_0x430bec(0x0,_0x4bf0bf['IUniverInstanceService']),_0x430bec(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x430bec(0x2,_0x4bf0bf['Inject'](_0x5c1af6[_0x37f8b3(0x21e)]))],_0x576e16);const _0x3e6010=0x14,_0x35b14f=0xc8,_0x1728c6=0x4,_0x3bb1aa=0x5;function _0x1eb15b(_0x9bf5b9,_0x2c53d0){const _0x47d4f2=_0x37f8b3;let {radius:_0x327409,width:_0x4e5f43,height:_0x1a72d4}=_0x2c53d0;_0x327409=_0x327409!=null?_0x327409:0x0,_0x4e5f43=_0x4e5f43!=null?_0x4e5f43:0x1e,_0x1a72d4=_0x1a72d4!=null?_0x1a72d4:0x1e;let _0x3279fc=0x0,_0x2f5ae2=0x0,_0x1ba866=0x0;_0x3279fc=_0x2f5ae2=_0x1ba866=Math[_0x47d4f2(0x2bf)](_0x327409,_0x4e5f43/0x2,_0x1a72d4/0x2),_0x9bf5b9[_0x47d4f2(0x1d1)](),_0x9bf5b9[_0x47d4f2(0x17d)](_0x3279fc,0x0),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43-_0x2f5ae2,0x0),_0x9bf5b9['arc'](_0x4e5f43-_0x2f5ae2,_0x2f5ae2,_0x2f5ae2,Math['PI']*0x3/0x2,0x0,!0x1),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43,_0x1a72d4-_0x1ba866),_0x9bf5b9[_0x47d4f2(0x184)](_0x4e5f43-_0x1ba866,_0x1a72d4-_0x1ba866,_0x1ba866,0x0,Math['PI']/0x2,!0x1),_0x9bf5b9['lineTo'](0x0,_0x1a72d4),_0x9bf5b9[_0x47d4f2(0x39d)](0x0,_0x3279fc),_0x9bf5b9[_0x47d4f2(0x184)](_0x3279fc,_0x3279fc,_0x3279fc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9bf5b9[_0x47d4f2(0x188)](),_0x2c53d0[_0x47d4f2(0x2d8)]&&(_0x9bf5b9[_0x47d4f2(0x328)](),_0x9bf5b9[_0x47d4f2(0x3a6)]=_0x2c53d0[_0x47d4f2(0x2d8)],_0x2c53d0[_0x47d4f2(0x203)]==='evenodd'?_0x9bf5b9[_0x47d4f2(0x2d8)](_0x47d4f2(0x3ad)):_0x9bf5b9[_0x47d4f2(0x2d8)](),_0x9bf5b9[_0x47d4f2(0x36f)]());}class _0x54e4f3 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x3c3502,_0x37744e){const _0x38bdfd=_0x37f8b3;super(_0x3c3502,_0x37744e),_0xd7033e(this,'color'),_0xd7033e(this,'text'),(this[_0x38bdfd(0x402)]=_0x37744e==null?void 0x0:_0x37744e['color'],this['text']=_0x37744e==null?void 0x0:_0x37744e[_0x38bdfd(0x1d5)]);}static[_0x37f8b3(0x21a)](_0x332a8c,_0x37ae05){const _0x191874=_0x37f8b3,{text:_0x23da23,color:_0x450dfe}=_0x37ae05;_0x332a8c[_0x191874(0x328)](),_0x332a8c[_0x191874(0x37b)]=_0x191874(0x3fb);const _0x20677a=_0x332a8c[_0x191874(0x20b)](_0x23da23)[_0x191874(0x24e)],_0xed35f=Math[_0x191874(0x2bf)](_0x20677a+0x2*_0x1728c6,_0x35b14f);_0x1eb15b(_0x332a8c,{'height':_0x3e6010,'radius':0x4,'width':_0xed35f,'fill':_0x450dfe}),_0x332a8c['fillStyle']='#FFF';const _0x28cf52=_0x1728c6,_0x16441d=_0x3e6010-_0x3bb1aa,_0x12fe8c=_0x35b14f-0x2*_0x1728c6;if(_0x20677a>_0x12fe8c){let _0x325804='',_0x5eadf5=0x0;for(const _0x8641ab of _0x23da23){const _0x205c36=_0x332a8c[_0x191874(0x20b)](_0x8641ab)['width'];if(_0x5eadf5+_0x205c36<=_0x12fe8c-_0x332a8c[_0x191874(0x20b)](_0x191874(0x455))[_0x191874(0x24e)])_0x325804+=_0x8641ab,_0x5eadf5+=_0x205c36;else{_0x325804+=_0x191874(0x455);break;}}_0x332a8c[_0x191874(0x33f)](_0x325804,_0x28cf52,_0x16441d);}else _0x332a8c['fillText'](_0x23da23,_0x28cf52,_0x16441d);_0x332a8c[_0x191874(0x36f)]();}[_0x37f8b3(0x344)](_0x24f304){const _0x145827=_0x37f8b3;_0x54e4f3[_0x145827(0x21a)](_0x24f304,this);}}const _0x2cd96b=_0x37f8b3(0x43b),_0x5c940f=_0x37f8b3(0x420),_0x495bc4='collab-rect-range-',_0x4a57b7=0x6,_0x5bc1c7=1.5,_0x2e8606=0x4,_0x2cd3b8=1.5,_0xebdd02=_0x37f8b3(0x339);class _0x21a224{constructor(_0x9e3f25,_0x2a033b,_0x3c412a,_0x5be05d){const _0x41f1ac=_0x37f8b3;_0xd7033e(this,'_shapes',[]),_0xd7033e(this,_0x41f1ac(0x447),null),_0xd7033e(this,'_textBubble',null),_0xd7033e(this,'_anchorDot',null),_0xd7033e(this,_0x41f1ac(0x31c),null),_0xd7033e(this,_0x41f1ac(0x180),null),(this[_0x41f1ac(0x1a5)]=_0x9e3f25,this[_0x41f1ac(0x300)]=_0x2a033b,this[_0x41f1ac(0x293)]=_0x3c412a,this['_document']=_0x5be05d,this[_0x41f1ac(0x385)]());}set[_0x37f8b3(0x207)](_0x482b5e){const _0x51fc31=_0x37f8b3;_0x482b5e?(this[_0x51fc31(0x1e9)]&&this['_anchorDot'][_0x51fc31(0x2d6)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)][_0x51fc31(0x358)]()):(this[_0x51fc31(0x1e9)]&&this[_0x51fc31(0x1e9)][_0x51fc31(0x358)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)]['hide']());}[_0x37f8b3(0x248)](){const _0x505deb=_0x37f8b3;for(const _0x11d679 of this[_0x505deb(0x377)])_0x11d679[_0x505deb(0x248)]();this['_textBubble']&&this[_0x505deb(0x22d)]['dispose'](),this[_0x505deb(0x1e9)]&&this['_anchorDot'][_0x505deb(0x248)](),this[_0x505deb(0x447)]&&this[_0x505deb(0x447)][_0x505deb(0x248)](),this['_eventUnsubscribe']&&this[_0x505deb(0x180)]();}[_0x37f8b3(0x385)](){const _0x5b31b9=_0x37f8b3;var _0x4a9d59;const {_docSkeleton:_0x2f48ec,_document:_0x1f8051}=this,{color:_0x5e69b3,name:_0x4cdb38,ranges:_0x25de43}=this[_0x5b31b9(0x1a5)],_0x94aa22=_0x1f8051['getOffsetConfig'](),{docsLeft:_0x32d092,docsTop:_0x5cc09c}=_0x94aa22,_0x2fc108=new _0x80b7f3['NodePositionConvertToCursor'](_0x94aa22,_0x2f48ec);for(const {startOffset:_0x4e51e1,endOffset:_0x43ede5,rangeType:_0x1698d6,segmentId:_0x435cb6,segmentPage:_0x216bd3,collapsed:_0x420370,isActive:_0x3bf8f1}of _0x25de43){const _0x1b9a2e=_0x2f48ec[_0x5b31b9(0x3ef)](_0x4e51e1,!0x0,_0x435cb6,_0x216bd3);let _0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5,!0x0,_0x435cb6,_0x216bd3);if(_0x5abba1==null&&(_0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5-0x1,!0x1,_0x435cb6,_0x216bd3)),_0x3bf8f1){const {contentBoxPointGroup:_0x47d991}=_0x2fc108[_0x5b31b9(0x1f3)](_0x5abba1,_0x5abba1);if(_0x47d991[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x191)](_0x5e69b3,_0x47d991,_0x32d092,_0x5cc09c,_0x4cdb38),this['_eventUnsubscribe']=this[_0x5b31b9(0x1ff)]();}if(_0x1b9a2e&&_0x5abba1){if(_0x1698d6===_0x4bf0bf[_0x5b31b9(0x32f)]['RECT']){const _0x570f16=new _0x80b7f3[(_0x5b31b9(0x452))](_0x94aa22,_0x2f48ec),{pointGroup:_0x56ff25}=(_0x4a9d59=_0x570f16[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1))!=null?_0x4a9d59:{};if(_0x56ff25==null||_0x56ff25[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x306)](_0x5e69b3,_0x56ff25,_0x32d092,_0x5cc09c);}else{if(!_0x420370){const {borderBoxPointGroup:_0xa9adcf}=_0x2fc108[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1);if(_0xa9adcf[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x415)](_0x5e69b3,_0xa9adcf,_0x32d092,_0x5cc09c);}}}}}['_drawAnchor'](_0x27220e,_0x3afd89,_0x1fb6be,_0x270ca2,_0xfd0459){const _0x2767c5=_0x37f8b3,_0x2435b1=this['_getAnchorBounding'](_0x3afd89),{left:_0x55a148,top:_0x23d022,height:_0x277108}=_0x2435b1,_0x138039=this['_getScale'](),_0x5483fb=_0x2cd3b8/_0x138039,_0x412f0f=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2,'height':_0x277108,'width':_0x5bc1c7,'fill':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf['COLORS']['black'],0x0),'strokeWidth':_0x5483fb,'stroke':_0xebdd02,'evented':!0x0});this[_0x2767c5(0x447)]=_0x412f0f,this[_0x2767c5(0x300)]['addObject'](_0x412f0f,_0x80b7f3[_0x2767c5(0x17a)]);const _0x2a583b=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x2e8606/0x2,'height':_0x2e8606,'width':_0x2e8606,'fill':_0x27220e||_0x1a5c20['getColor'](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'strokeWidth':0x0,'stroke':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'evented':!0x1});this[_0x2767c5(0x1e9)]=_0x2a583b,this['_scene']['addObject'](_0x2a583b,_0x80b7f3[_0x2767c5(0x17a)]);const _0x3da1bb=new _0x54e4f3(_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x3e6010,'text':_0xfd0459,'color':_0x27220e});this[_0x2767c5(0x22d)]=_0x3da1bb,this[_0x2767c5(0x300)][_0x2767c5(0x1a9)](_0x3da1bb,_0x80b7f3[_0x2767c5(0x17a)]),this[_0x2767c5(0x207)]=!0x1;}['_handleHover'](){const _0x3943bb=_0x37f8b3,_0x50e0d3=this[_0x3943bb(0x447)]['onPointerEnter$'][_0x3943bb(0x3ff)](()=>{this['_hover']=!0x0;}),_0x3b0eef=this[_0x3943bb(0x447)][_0x3943bb(0x267)]['subscribeEvent'](()=>{const _0x4b892c=_0x3943bb;this[_0x4b892c(0x31c)]&&clearTimeout(this['_hideTimer']),this[_0x4b892c(0x31c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4eb846=_0x3943bb;_0x50e0d3[_0x4eb846(0x3c7)](),_0x3b0eef[_0x4eb846(0x3c7)]();};}['_drawTextRange'](_0x3667f1,_0x5e5669,_0x10164c,_0x192e52){const _0x20f511=_0x37f8b3,_0x3494eb=new _0x4bf0bf[(_0x20f511(0x291))](_0x3667f1)[_0x20f511(0x3dc)](0.2)[_0x20f511(0x35b)](),_0x2df76b=new _0x1a5c20[(_0x20f511(0x2c8))](_0x5c940f+_0x4bf0bf[_0x20f511(0x3b3)](_0x4a57b7),{'pointsGroup':_0x5e5669,'fill':_0x3494eb||_0x1a5c20['getColor'](_0x4bf0bf[_0x20f511(0x208)]['black'],0.2),'left':_0x10164c,'top':_0x192e52,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20f511(0x377)][_0x20f511(0x20c)](_0x2df76b),this[_0x20f511(0x300)][_0x20f511(0x1a9)](_0x2df76b,_0x80b7f3[_0x20f511(0x17a)]);}[_0x37f8b3(0x306)](_0x50348c,_0x2fdb92,_0x5d598d,_0x3858c){const _0xba4be7=_0x37f8b3,_0x4bf318=new _0x4bf0bf[(_0xba4be7(0x291))](_0x50348c)[_0xba4be7(0x3dc)](0.2)[_0xba4be7(0x35b)](),_0xd2a444=new _0x1a5c20[(_0xba4be7(0x2c8))](_0x495bc4+_0x4bf0bf[_0xba4be7(0x3b3)](_0x4a57b7),{'pointsGroup':_0x2fdb92,'fill':_0x4bf318||_0x1a5c20[_0xba4be7(0x406)](_0x4bf0bf[_0xba4be7(0x208)][_0xba4be7(0x3b0)],0.2),'left':_0x5d598d,'top':_0x3858c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xba4be7(0x377)][_0xba4be7(0x20c)](_0xd2a444),this[_0xba4be7(0x300)][_0xba4be7(0x1a9)](_0xd2a444,_0x80b7f3['TEXT_RANGE_LAYER_INDEX']);}[_0x37f8b3(0x2df)](_0x3b115e){const _0x1274fd=_0x3b115e[0x0],_0x2876a9=_0x1274fd[0x0],_0x2507fc=_0x1274fd[0x2],{x:_0x47056f,y:_0x351044}=_0x2876a9,{x:_0x15e7cf,y:_0x38f5a1}=_0x2507fc;return{'left':_0x47056f,'top':_0x351044,'width':_0x15e7cf-_0x47056f,'height':_0x38f5a1-_0x351044};}[_0x37f8b3(0x257)](){const _0x4f106e=_0x37f8b3,{scaleX:_0x2821f7,scaleY:_0x5a514b}=this[_0x4f106e(0x300)][_0x4f106e(0x22a)]();return Math[_0x4f106e(0x37f)](_0x2821f7,_0x5a514b);}}var _0x368f83=Object[_0x37f8b3(0x272)],_0x513a0d=(_0x38871e,_0x3667d2,_0x4d4e1f,_0x52645e)=>{const _0x55264c=_0x37f8b3;for(var _0x3664ae=_0x52645e>0x1?void 0x0:_0x52645e?_0x368f83(_0x3667d2,_0x4d4e1f):_0x3667d2,_0x24b90d=_0x38871e[_0x55264c(0x185)]-0x1,_0x56232d;_0x24b90d>=0x0;_0x24b90d--)(_0x56232d=_0x38871e[_0x24b90d])&&(_0x3664ae=_0x56232d(_0x3664ae)||_0x3664ae);return _0x3664ae;},_0x22513b=(_0x14fa48,_0x255a81)=>(_0x3a1eb3,_0x3ffee2)=>_0x255a81(_0x3a1eb3,_0x3ffee2,_0x14fa48);let _0x1a0a7a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x1a7a0e,_0x1027cf,_0x11f869,_0x3722bf,_0x6527e3){const _0x2a5c2c=_0x37f8b3;super(),_0xd7033e(this,'_cursorShapes',[]),_0xd7033e(this,_0x2a5c2c(0x278),[]),(this[_0x2a5c2c(0x42e)]=_0x1a7a0e,this[_0x2a5c2c(0x434)]=_0x1027cf,this[_0x2a5c2c(0x41a)]=_0x11f869,this[_0x2a5c2c(0x301)]=_0x3722bf,this[_0x2a5c2c(0x24f)]=_0x6527e3,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x2ff64c=_0x37f8b3,_0x59ee58=this[_0x2ff64c(0x42e)][_0x2ff64c(0x205)],_0xf0d251=this[_0x2ff64c(0x434)];this[_0x2ff64c(0x215)](_0x28bd90['combineLatest']([this[_0x2ff64c(0x41a)][_0x2ff64c(0x289)](_0x59ee58),this['_themeService'][_0x2ff64c(0x1e3)]])['pipe'](_0x3f3616[_0x2ff64c(0x2c4)](([_0x5d44be,_0x510678])=>({'skeleton':_0xf0d251[_0x2ff64c(0x216)](),'cursors':[..._0x5d44be[_0x2ff64c(0x23e)]()][_0x2ff64c(0x30a)](_0x5d6017=>({..._0x5d6017,'color':this['_themeService'][_0x2ff64c(0x395)](_0x5d6017[_0x2ff64c(0x402)])}))})))['subscribe'](_0x102754=>{const _0x52f95c=_0x2ff64c;if(this[_0x52f95c(0x323)](),_0x102754){const {skeleton:_0x3282ef,cursors:_0x213bae}=_0x102754;this[_0x52f95c(0x337)](_0x3282ef,_0x213bae);}})),this[_0x2ff64c(0x1b8)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3ef580,_0x1c8a07){const _0x4a3f54=_0x37f8b3,{scene:_0x245423,mainComponent:_0x353777}=this[_0x4a3f54(0x42e)],_0x1c5086=_0x1c8a07[_0x4a3f54(0x2c4)](_0x40aecf=>new _0x21a224(_0x40aecf,_0x245423,_0x3ef580,_0x353777));this[_0x4a3f54(0x19c)]=_0x1c5086,this[_0x4a3f54(0x278)]=_0x1c8a07;}[_0x37f8b3(0x393)](){const _0x1ec63b=_0x37f8b3;this[_0x1ec63b(0x323)]();const {scene:_0x115114,mainComponent:_0x39bd34}=this[_0x1ec63b(0x42e)],_0x5be394=this[_0x1ec63b(0x434)][_0x1ec63b(0x216)](),_0x2d3416=this[_0x1ec63b(0x278)][_0x1ec63b(0x2c4)](_0x477841=>new _0x21a224(_0x477841,_0x115114,_0x5be394,_0x39bd34));this[_0x1ec63b(0x19c)]=_0x2d3416;}[_0x37f8b3(0x323)](){const _0x2d8ad1=_0x37f8b3;this[_0x2d8ad1(0x19c)]['forEach'](_0x40c6d7=>_0x40c6d7[_0x2d8ad1(0x248)]()),this[_0x2d8ad1(0x19c)]=[];}['_initCommandExecutedListener'](){const _0x2931bd=_0x37f8b3,_0x58969c=[_0x80b7f3[_0x2931bd(0x3c8)]['id']];this[_0x2931bd(0x215)](this[_0x2931bd(0x301)][_0x2931bd(0x294)](_0x1d0a15=>{const _0x1d1613=_0x2931bd;_0x58969c['includes'](_0x1d0a15['id'])&&_0x1d0a15[_0x1d1613(0x448)]['unitId']===this[_0x1d1613(0x42e)][_0x1d1613(0x205)]&&this[_0x1d1613(0x393)]();}));}['_initResize'](){const _0x5d316e=_0x37f8b3;this[_0x5d316e(0x215)](_0x4bf0bf[_0x5d316e(0x173)](this[_0x5d316e(0x42e)][_0x5d316e(0x233)]['onTransformChange$'])[_0x5d316e(0x1d7)](_0x3f3616[_0x5d316e(0x42c)](_0x394f7e=>_0x394f7e[_0x5d316e(0x1c7)]===_0x1a5c20[_0x5d316e(0x2ae)][_0x5d316e(0x32b)]),_0x3f3616['throttleTime'](0x10))['subscribe'](()=>{const _0x42b9d0=_0x5d316e;this[_0x42b9d0(0x393)]();}));}};_0x1a0a7a=_0x513a0d([_0x22513b(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0xfb3c5a['DocSkeletonManagerService'])),_0x22513b(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x22513b(0x3,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x22513b(0x4,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x1a0a7a);const _0x4b985b=0x1,_0x1cfba3=1.5;class _0x327b63 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x294187,_0x489bf5){const _0x2631d6=_0x37f8b3;super(_0x294187,_0x489bf5),_0xd7033e(this,'_color'),_0xd7033e(this,'_hovered',!0x1),_0xd7033e(this,'_range'),_0xd7033e(this,'_name',''),_0xd7033e(this,_0x2631d6(0x3ca),_0x2631d6(0x3a8)),_0xd7033e(this,'_backgroundColor'),(_0x489bf5&&this[_0x2631d6(0x3ba)](_0x489bf5),this[_0x2631d6(0x226)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x0})),this[_0x2631d6(0x267)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x1})));}['setShapeProps'](_0x222de9){const _0x3ef9ec=_0x37f8b3;var _0x433b19,_0x24b42e,_0x316a39,_0x57f4ac,_0x47bbc4,_0x11f9f7;this[_0x3ef9ec(0x3e5)]=(_0x433b19=_0x222de9[_0x3ef9ec(0x402)])!=null?_0x433b19:this[_0x3ef9ec(0x3e5)],this[_0x3ef9ec(0x227)]=(_0x24b42e=_0x222de9[_0x3ef9ec(0x3ee)])!=null?_0x24b42e:this['_hovered'],this[_0x3ef9ec(0x3e8)]=(_0x316a39=_0x222de9['range'])!=null?_0x316a39:this[_0x3ef9ec(0x3e8)],this[_0x3ef9ec(0x428)]=(_0x57f4ac=_0x222de9[_0x3ef9ec(0x1b5)])!=null?_0x57f4ac:this[_0x3ef9ec(0x428)],this[_0x3ef9ec(0x3ca)]=(_0x47bbc4=_0x222de9[_0x3ef9ec(0x2cf)])!=null?_0x47bbc4:this[_0x3ef9ec(0x3ca)],this[_0x3ef9ec(0x388)]=(_0x11f9f7=_0x222de9['backgroundColor'])!=null?_0x11f9f7:this['_backgroundColor'],this['transformByState']({'width':_0x222de9[_0x3ef9ec(0x24e)],'height':_0x222de9[_0x3ef9ec(0x319)]});}[_0x37f8b3(0x20d)](_0x5e30c0){const _0x598e92=_0x37f8b3,{row:_0x5744c6,column:_0x399d02}=_0x5e30c0;if(_0x5744c6>=this[_0x598e92(0x3e8)][_0x598e92(0x39f)]&&_0x5744c6<=this[_0x598e92(0x3e8)][_0x598e92(0x1a7)]&&_0x399d02>=this['_range'][_0x598e92(0x270)]&&_0x399d02<=this[_0x598e92(0x3e8)][_0x598e92(0x440)]){this[_0x598e92(0x3ba)]({'hovered':!0x0});return;}this[_0x598e92(0x3ba)]({'hovered':!0x1});}[_0x37f8b3(0x399)](_0x36c1d5){return!0x1;}[_0x37f8b3(0x344)](_0x32531e){const _0xe1bc0a=_0x37f8b3;_0x1a5c20[_0xe1bc0a(0x439)]['drawWith'](_0x32531e,{'width':this[_0xe1bc0a(0x24e)],'height':this['height'],'strokeWidth':_0x1cfba3,'stroke':this[_0xe1bc0a(0x3e5)],'evented':!0x1,'fill':this[_0xe1bc0a(0x388)]}),this[_0xe1bc0a(0x227)]&&(_0x32531e['save'](),_0x32531e[_0xe1bc0a(0x3d0)](0x1,0x0,0x0,0x1,this[_0xe1bc0a(0x24e)],this['_labelPosition']==='bottom'?0x0:-_0x3e6010),_0x54e4f3[_0xe1bc0a(0x21a)](_0x32531e,{'text':this[_0xe1bc0a(0x428)],'color':this['_color']}),_0x32531e[_0xe1bc0a(0x36f)]());}}var _0x2025fe=Object[_0x37f8b3(0x272)],_0x23a145=(_0x53d389,_0x13da22,_0x3465ff,_0x12de86)=>{const _0x43ef83=_0x37f8b3;for(var _0x17c346=_0x12de86>0x1?void 0x0:_0x12de86?_0x2025fe(_0x13da22,_0x3465ff):_0x13da22,_0x53d55e=_0x53d389[_0x43ef83(0x185)]-0x1,_0x449bd3;_0x53d55e>=0x0;_0x53d55e--)(_0x449bd3=_0x53d389[_0x53d55e])&&(_0x17c346=_0x449bd3(_0x17c346)||_0x17c346);return _0x17c346;},_0x466f0f=(_0x1b1a82,_0x52e380)=>(_0x3f5fb9,_0x5b9b70)=>_0x52e380(_0x3f5fb9,_0x5b9b70,_0x1b1a82);const _0x13854a=0x1389;let _0x24c84f=class extends _0x4bf0bf['RxDisposable']{constructor(_0x50b1e6,_0xa0674,_0x190aa8,_0x4c25f0){const _0x206c5f=_0x37f8b3;super(),_0xd7033e(this,_0x206c5f(0x278),new Set()),_0xd7033e(this,_0x206c5f(0x369),null),(this[_0x206c5f(0x42e)]=_0x50b1e6,this[_0x206c5f(0x3ce)]=_0xa0674,this[_0x206c5f(0x41a)]=_0x190aa8,this[_0x206c5f(0x24f)]=_0x4c25f0,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x177544=_0x37f8b3;this[_0x177544(0x3ce)][_0x177544(0x1e4)]['pipe'](_0x3f3616[_0x177544(0x1dc)](this[_0x177544(0x30f)]),_0x3f3616[_0x177544(0x2e2)](_0x3fcd8f=>{const _0x33bbf9=_0x177544;if(_0x3fcd8f){const _0x10d77d=_0x3fcd8f[_0x33bbf9(0x416)];return _0x28bd90[_0x33bbf9(0x253)](this[_0x33bbf9(0x41a)]['getCollabCursors$'](this[_0x33bbf9(0x42e)][_0x33bbf9(0x205)]),this['_themeService'][_0x33bbf9(0x1e3)])['pipe'](_0x3f3616[_0x33bbf9(0x2c4)](([_0x1a7f7a,_0x2852e4])=>{const _0x58d918=_0x33bbf9,_0x3333a6=new Map();return _0x1a7f7a[_0x58d918(0x3a0)]((_0x2ab74f,_0x2f8d78)=>{const _0x1f866d=_0x58d918;if(_0x2ab74f[_0x1f866d(0x261)]===_0x10d77d){const _0xbf8e79={..._0x2ab74f};_0xbf8e79[_0x1f866d(0x402)]=this[_0x1f866d(0x24f)]['getColorFromTheme'](_0x2ab74f[_0x1f866d(0x402)]),_0x3333a6['set'](_0x2f8d78,_0xbf8e79);}}),{'skeleton':_0x3fcd8f,'cursors':_0x3333a6};}));}return _0x28bd90['of']({'skeleton':null,'cursors':new Map()});}))[_0x177544(0x1c1)](({skeleton:_0x318f0e,cursors:_0x153403})=>{const _0x4cf987=_0x177544;this[_0x4cf987(0x323)](),_0x318f0e&&this[_0x4cf987(0x337)](_0x318f0e,_0x153403);}),this[_0x177544(0x3ce)][_0x177544(0x1e4)]['subscribe'](_0x33343f=>{const _0xd5c3a4=_0x177544;if(_0x33343f==null)return;const {skeleton:_0x389bc6}=_0x33343f,{scene:_0x498d2c}=this[_0xd5c3a4(0x42e)];_0x498d2c[_0xd5c3a4(0x352)][_0xd5c3a4(0x3ff)](_0x4bf0bf[_0xd5c3a4(0x28a)](_0xe325fa=>{const _0x162937=_0xd5c3a4;var _0x4b7188,_0x237287;const {offsetX:_0x2d21a2,offsetY:_0x165b5f}=_0xe325fa,{x:_0x2ee9a9,y:_0x50ac36}=_0x498d2c[_0x162937(0x3f3)](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2d21a2,_0x165b5f])),{scaleX:_0x4cf945,scaleY:_0x2dff19}=_0x498d2c['getAncestorScale'](),_0x40778c=_0x498d2c[_0x162937(0x327)](_0x1a5c20[_0x162937(0x1c2)][_0x162937(0x3a9)]),_0x328775=_0x498d2c['getVpScrollXYInfoByPosToVp'](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2ee9a9,_0x50ac36]),_0x40778c),_0x1a03f4=_0x389bc6['getCellPositionByOffset'](_0x2d21a2,_0x165b5f,_0x4cf945,_0x2dff19,_0x328775);((_0x4b7188=this[_0x162937(0x369)])==null?void 0x0:_0x4b7188[_0x162937(0x3bc)])===_0x1a03f4[_0x162937(0x3bc)]&&((_0x237287=this[_0x162937(0x369)])==null?void 0x0:_0x237287[_0x162937(0x2d4)])===_0x1a03f4[_0x162937(0x2d4)]||this[_0x162937(0x278)][_0x162937(0x3a0)](_0x9a8914=>{_0x9a8914['onMouseMove'](_0x1a03f4);});},0x64));});}[_0x37f8b3(0x337)](_0x2ef19d,_0x3475f8){const _0x33e1f7=_0x37f8b3;var _0x19fb3f;const _0x2fe3d4=(_0x19fb3f=this[_0x33e1f7(0x3ce)][_0x33e1f7(0x27e)]())==null?void 0x0:_0x19fb3f[_0x33e1f7(0x19e)];if(!_0x2fe3d4)return;const _0x4e40c5=this[_0x33e1f7(0x3c5)]();if(!_0x4e40c5)return;this['_cursors'][_0x33e1f7(0x3a0)](_0x2e1fc1=>{const _0x4fc35a=_0x33e1f7;_0x2e1fc1[_0x4fc35a(0x2bd)]();});const {scene:_0xe98de4}=_0x4e40c5,_0x4208d1=_0x2a7fb6(Array[_0x33e1f7(0x367)](_0x3475f8['values']()))[_0x33e1f7(0x2c4)](_0x321d52=>{const _0xd380d7=_0x33e1f7,{color:_0x5d717e,range:_0x5767d2,name:_0x61b28e,selection:_0x130f86,sheetID:_0x9fe389}=_0x321d52,{startColumn:_0x46f982,startRow:_0x2b6029,endColumn:_0x58578d,endRow:_0xea43e7}=_0x5767d2,_0x294cf3=_0x262b71[_0xd380d7(0x332)](_0x2b6029,_0x46f982,_0xe98de4,_0x2fe3d4),_0x5028ea=_0x262b71[_0xd380d7(0x332)](_0xea43e7,_0x58578d,_0xe98de4,_0x2fe3d4),{columnHeaderHeightAndMarginTop:_0x17ea9c}=_0x2fe3d4,{startX:_0x4c7728,startY:_0x584da8}=_0x294cf3,{endX:_0x20dcbb,endY:_0x213bbf}=_0x5028ea,_0xb1ab51=_0x20dcbb-_0x4c7728,_0x48781a=_0x213bbf-_0x584da8,_0x12b9ac={'labelPosition':_0x584da8-_0x17ea9c>=_0x3e6010?_0xd380d7(0x3a8):_0xd380d7(0x329),'sheetID':_0x9fe389,'range':_0x5767d2,'color':_0x5d717e,'name':_0x61b28e,'selection':_0x130f86,'left':_0x4c7728,'top':_0x584da8,'width':_0xb1ab51,'height':_0x48781a,'evented':!0x1,'zIndex':_0x13854a};return new _0x327b63(_0x61b28e,_0x12b9ac);});_0xe98de4[_0x33e1f7(0x2ff)](_0x4208d1,_0x4b985b),this['_cursors']=new Set(_0x4208d1);}[_0x37f8b3(0x323)](){const _0x172d9a=_0x37f8b3;var _0x23c925;(_0x23c925=this[_0x172d9a(0x278)])==null||_0x23c925[_0x172d9a(0x3a0)](_0x14e2bf=>_0x14e2bf[_0x172d9a(0x248)]());}[_0x37f8b3(0x3c5)](){const _0x446b1b=_0x37f8b3;return _0x262b71['getSheetObject'](this['_context'][_0x446b1b(0x258)],this[_0x446b1b(0x42e)]);}};_0x24c84f=_0x23a145([_0x466f0f(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x262b71[_0x37f8b3(0x3bd)])),_0x466f0f(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x466f0f(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x24c84f);function _0x2a7fb6(_0x192a55){const _0x26f347=_0x37f8b3,_0x10a8bd=new Map();return _0x192a55[_0x26f347(0x3a0)](_0x43bd3b=>{const _0x2d72bc=_0x26f347;if(_0x10a8bd[_0x2d72bc(0x33b)](_0x43bd3b[_0x2d72bc(0x206)])){const _0x489f62=_0x10a8bd[_0x2d72bc(0x42f)](_0x43bd3b[_0x2d72bc(0x206)]);_0x489f62[_0x2d72bc(0x1b5)]+=',\x20'+_0x43bd3b[_0x2d72bc(0x1b5)];}else _0x10a8bd[_0x2d72bc(0x3a5)](_0x43bd3b['selection'],_0x43bd3b);}),Array[_0x26f347(0x367)](_0x10a8bd[_0x26f347(0x23e)]());}var _0x4f7fef=Object[_0x37f8b3(0x272)],_0x5bf84d=(_0x2d54f2,_0x45985a,_0x4fd046,_0x4140f0)=>{const _0x1c09d8=_0x37f8b3;for(var _0x5d209b=_0x4140f0>0x1?void 0x0:_0x4140f0?_0x4f7fef(_0x45985a,_0x4fd046):_0x45985a,_0x47922c=_0x2d54f2[_0x1c09d8(0x185)]-0x1,_0x14effa;_0x47922c>=0x0;_0x47922c--)(_0x14effa=_0x2d54f2[_0x47922c])&&(_0x5d209b=_0x14effa(_0x5d209b)||_0x5d209b);return _0x5d209b;},_0x125ee6=(_0x125ec1,_0x5dda56)=>(_0x315b48,_0x2c086b)=>_0x5dda56(_0x315b48,_0x2c086b,_0x125ec1);let _0x166680=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x37db02,_0x19ac5e,_0x3c3f75,_0x50f758,_0x1e9462,_0x3d5607){const _0xd2fa09=_0x37f8b3;super(),this[_0xd2fa09(0x391)]=_0x37db02,this['_localCacheService']=_0x19ac5e,this[_0xd2fa09(0x378)]=_0x3c3f75,this[_0xd2fa09(0x218)]=_0x50f758,this[_0xd2fa09(0x336)]=_0x1e9462,this[_0xd2fa09(0x1bd)]=_0x3d5607,this[_0xd2fa09(0x199)](),this['_initEvent']();}[_0x37f8b3(0x199)](){const _0x1fbf90=_0x37f8b3;this[_0x1fbf90(0x215)](this[_0x1fbf90(0x391)][_0x1fbf90(0x2a3)](()=>{const _0x417d27=_0x1fbf90;if(this[_0x417d27(0x2b8)]['saveTaskMap'][_0x417d27(0x2ec)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x37f8b3(0x23a)](){const _0x1052be=_0x37f8b3;this[_0x1052be(0x215)](this[_0x1052be(0x378)][_0x1052be(0x2a5)]['subscribe'](_0x1264c0=>{const _0x269736=_0x1052be;_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x353)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21['MessageType']['Warning'],'content':this['_localeService']['t'](_0x269736(0x273))}),_0x1264c0['id']===_0x5c1af6['CollaborationUIEventId'][_0x269736(0x321)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x269736(0x1bd)]['t'](_0x269736(0x421)),'content':this[_0x269736(0x1bd)]['t']('permission.content'),'type':_0x269736(0x3c2),'duration':0x0}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2f3)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x26f)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))+'('+_0x1264c0[_0x269736(0x3da)]+')'}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x3fc)]&&this['_messageService'][_0x269736(0x358)]({'type':_0x22cb21['MessageType'][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x1264c0[_0x269736(0x3da)]||'')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2e0)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)]['Warning'],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3a2))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['SOCKET_FAILED']&&this[_0x269736(0x218)]['show']({'type':_0x22cb21['MessageType'][_0x269736(0x26f)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2af)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)]['Error'],'content':this['_localeService']['t'](_0x269736(0x295))});}));}};_0x166680=_0x5bf84d([_0x125ee6(0x0,_0x19759c['IBeforeCloseService']),_0x125ee6(0x1,_0x5c1af6[_0x37f8b3(0x1a8)]),_0x125ee6(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x34a)])),_0x125ee6(0x3,_0x19759c[_0x37f8b3(0x3e6)]),_0x125ee6(0x4,_0x19759c[_0x37f8b3(0x175)]),_0x125ee6(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x166680);const _0x3f984c='collaboration-client-ui.config',_0x73c99c={};var _0x5d49ce=Object['getOwnPropertyDescriptor'],_0x4d2656=(_0x30fa2f,_0x2a1ab3,_0x575aa1,_0x2337af)=>{for(var _0x4968e9=_0x2337af>0x1?void 0x0:_0x2337af?_0x5d49ce(_0x2a1ab3,_0x575aa1):_0x2a1ab3,_0x2a191a=_0x30fa2f['length']-0x1,_0x2da548;_0x2a191a>=0x0;_0x2a191a--)(_0x2da548=_0x30fa2f[_0x2a191a])&&(_0x4968e9=_0x2da548(_0x4968e9)||_0x4968e9);return _0x4968e9;},_0x36613f=(_0xa81fc7,_0x8c29ef)=>(_0x1fd757,_0x4593cc)=>_0x8c29ef(_0x1fd757,_0x4593cc,_0xa81fc7);let _0x1f3baa=class{constructor(_0x16e462,_0x2ae16c){const _0x12bdbe=_0x37f8b3;this[_0x12bdbe(0x3f8)]=_0x16e462,this[_0x12bdbe(0x269)]=_0x2ae16c;}[_0x37f8b3(0x3f4)](_0x39b65a){const _0x4412cc=_0x37f8b3;this[_0x4412cc(0x2f2)](_0x39b65a),this[_0x4412cc(0x1f6)](_0x39b65a);}[_0x37f8b3(0x311)](_0x4c62e2){const _0x172976=_0x37f8b3,{unitID:_0x5794ef}=_0x4c62e2,_0x348a6e=this[_0x172976(0x269)][_0x172976(0x290)](_0x5794ef)[_0x172976(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{redoCache:_0x124003}=_0x348a6e['getUndoRedoMutationParamsCache']();if(_0x124003[_0x172976(0x185)]===0x0)return _0x4c62e2;let _0x3290c3=_0x4bf0bf[_0x172976(0x268)][_0x172976(0x3c0)](_0x4c62e2['mutations'][0x0]);for(let _0x117b1a=0x0;_0x117b1a<_0x124003[_0x172976(0x185)];_0x117b1a++){const _0x1b0e8d={'id':_0x172976(0x17f),'params':{..._0x124003[_0x117b1a]}},_0x57ddb3=this['_transformService'][_0x172976(0x381)](_0x3290c3,_0x1b0e8d,!0x1);if(_0x346166[_0x172976(0x23f)](_0x57ddb3))throw _0x57ddb3[_0x172976(0x3c2)];_0x3290c3=_0x57ddb3['m1Prime'];}return{..._0x4bf0bf['Tools'][_0x172976(0x3c0)](_0x4c62e2),'mutations':[_0x3290c3]};}[_0x37f8b3(0x2f2)](_0x20fcb4){const _0x4e242a=_0x37f8b3,{unitID:_0x474fe2}=_0x20fcb4,_0x387c65=this[_0x4e242a(0x269)][_0x4e242a(0x290)](_0x474fe2)[_0x4e242a(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{undoCache:_0x251e35,redoCache:_0x18ea31}=_0x387c65[_0x4e242a(0x28d)]();if(_0x251e35[_0x4e242a(0x185)]===0x0||_0x18ea31[_0x4e242a(0x185)]===0x0)return;const _0x34d865=[],_0x624b2b=[];let _0x5523bc=_0x4bf0bf[_0x4e242a(0x268)][_0x4e242a(0x3c0)](_0x20fcb4[_0x4e242a(0x318)][0x0]),_0x1ef6aa=_0x4bf0bf['Tools'][_0x4e242a(0x3c0)](_0x20fcb4['mutations'][0x0]);for(let _0x490295=_0x251e35[_0x4e242a(0x185)]-0x1;_0x490295>=0x0;_0x490295--){const _0x4aaa95={'id':_0x4e242a(0x17f),'params':{..._0x251e35[_0x490295]}},_0x40b26c={'id':'doc.mutation.rich-text-editing','params':{..._0x18ea31[_0x490295]}},_0x13da8d=this[_0x4e242a(0x3f8)]['transformMutation'](_0x5523bc,_0x4aaa95,!0x1),_0x2535b3=this[_0x4e242a(0x3f8)][_0x4e242a(0x381)](_0x1ef6aa,_0x40b26c,!0x1);if(_0x346166[_0x4e242a(0x23f)](_0x13da8d))throw _0x13da8d[_0x4e242a(0x3c2)];if(_0x346166['isTransformMutationFailure'](_0x2535b3))throw _0x2535b3[_0x4e242a(0x3c2)];_0x34d865['unshift'](_0x13da8d['m2Prime'][_0x4e242a(0x448)]),_0x624b2b[_0x4e242a(0x308)](_0x2535b3[_0x4e242a(0x37a)]['params']),_0x5523bc=_0x13da8d['m1Prime'],_0x1ef6aa=_0x2535b3['m1Prime'];}_0x387c65[_0x4e242a(0x38b)]({'undoCache':_0x34d865,'redoCache':_0x624b2b});}[_0x37f8b3(0x1f6)](_0x471774){const _0x27d138=_0x37f8b3,{unitID:_0x59d4b1}=_0x471774,_0x59bd27=this['_renderManagerService'][_0x27d138(0x290)](_0x59d4b1)[_0x27d138(0x2f0)](_0x80b7f3[_0x27d138(0x2c6)]),_0x3cc06c=_0x59bd27[_0x27d138(0x228)]();if(_0x3cc06c==null)return;const _0x1fd1ec=[{'id':_0x27d138(0x17f),'params':{'unitId':_0x471774[_0x27d138(0x231)],'actions':null,'textRanges':[_0x3cc06c]}}],_0x188875=this[_0x27d138(0x3f8)][_0x27d138(0x3d9)](_0x471774,_0x1fd1ec);if(!_0x346166[_0x27d138(0x1cf)](_0x188875))throw _0x188875[_0x27d138(0x3c2)];const _0x3394df=_0x188875['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x3394df)&&_0x3394df['length']&&_0x59bd27[_0x27d138(0x314)](_0x3394df[0x0]);}};_0x1f3baa=_0x4d2656([_0x36613f(0x0,_0x346166['ITransformService']),_0x36613f(0x1,_0x1a5c20['IRenderManagerService'])],_0x1f3baa);var _0x4a83a4=Object[_0x37f8b3(0x272)],_0x2b8e98=(_0x416562,_0x4ce11e,_0x246261,_0x4e3d1d)=>{const _0x45be1b=_0x37f8b3;for(var _0x284afa=_0x4e3d1d>0x1?void 0x0:_0x4e3d1d?_0x4a83a4(_0x4ce11e,_0x246261):_0x4ce11e,_0x4028c1=_0x416562[_0x45be1b(0x185)]-0x1,_0x4b63fa;_0x4028c1>=0x0;_0x4028c1--)(_0x4b63fa=_0x416562[_0x4028c1])&&(_0x284afa=_0x4b63fa(_0x284afa)||_0x284afa);return _0x284afa;},_0x2bcee9=(_0x36e17b,_0xd2c492)=>(_0x2a72af,_0x33e810)=>_0xd2c492(_0x2a72af,_0x33e810,_0x36e17b);let _0x31cb58=class{constructor(_0x373a2c,_0x422a01,_0x4fce99){const _0x30b823=_0x37f8b3;this[_0x30b823(0x1af)]=_0x373a2c,this[_0x30b823(0x3f8)]=_0x422a01,this[_0x30b823(0x386)]=_0x4fce99;}['transformStateCache'](_0x664f82){const _0x56195e=_0x37f8b3;this[_0x56195e(0x407)](_0x664f82);}['transformRemoteChangeset'](_0x8b8fe2){const _0x230700=_0x37f8b3,{unitID:_0x25dbc8}=_0x8b8fe2,{collaboration:_0x4b2855}=this[_0x230700(0x386)][_0x230700(0x2b9)](_0x25dbc8);if(_0x4b2855[_0x230700(0x185)]===0x0)return _0x8b8fe2;let _0x59a318=_0x4bf0bf['Tools'][_0x230700(0x3c0)](_0x8b8fe2[_0x230700(0x318)][0x0]);for(let _0x845146=0x0;_0x845146<_0x4b2855[_0x230700(0x185)];_0x845146++){const _0x28ce70={'id':_0x230700(0x17f),'params':{'unitId':_0x4b2855[_0x845146][_0x230700(0x205)],..._0x4b2855[_0x845146][_0x230700(0x27d)]}},_0x58b5f7=this['_transformService'][_0x230700(0x381)](_0x59a318,_0x28ce70,!0x1);if(_0x346166[_0x230700(0x23f)](_0x58b5f7))throw _0x58b5f7['error'];_0x59a318=_0x58b5f7['m1Prime'];}return{..._0x4bf0bf[_0x230700(0x268)][_0x230700(0x3c0)](_0x8b8fe2),'mutations':[_0x59a318]};}[_0x37f8b3(0x407)](_0x15dfdb){const _0x6e5263=_0x37f8b3,{unitID:_0x55f200}=_0x15dfdb,{history:_0x336a78,collaboration:_0x45c67d}=this[_0x6e5263(0x386)][_0x6e5263(0x2b9)](_0x55f200);if(_0x336a78[_0x6e5263(0x185)]===0x0&&_0x45c67d[_0x6e5263(0x185)]===0x0)return;const _0x24394e=[],_0x21f3e5=[];let _0x275b57=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]);for(let _0x23d350=_0x336a78['length']-0x1;_0x23d350>=0x0;_0x23d350--){const _0xa674ae={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350]['undoState']}},_0x1e8f03={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350][_0x6e5263(0x27d)]}},_0x5a125f=this['_transformService'][_0x6e5263(0x381)](_0x275b57,_0xa674ae,!0x1),_0x2c9d96=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x1e8f03,!0x1);if(_0x346166['isTransformMutationFailure'](_0x5a125f))throw _0x5a125f['error'];if(_0x346166[_0x6e5263(0x23f)](_0x2c9d96))throw _0x2c9d96[_0x6e5263(0x3c2)];_0x24394e[_0x6e5263(0x308)]({..._0x336a78[_0x23d350],'undoState':_0x5a125f[_0x6e5263(0x37a)]['params'],'redoState':_0x2c9d96[_0x6e5263(0x37a)]['params']}),_0x275b57=_0x5a125f['m1Prime'],_0x4816af=_0x2c9d96[_0x6e5263(0x2a0)];}_0x275b57=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]);for(let _0x4de716=_0x45c67d[_0x6e5263(0x185)]-0x1;_0x4de716>=0x0;_0x4de716--){const _0x3359d4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x3bb)]}},_0x4b65c3={'id':_0x6e5263(0x17f),'params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x27d)]}},_0x38f113=this[_0x6e5263(0x3f8)]['transformMutation'](_0x275b57,_0x3359d4,!0x1),_0x3f48d9=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x4b65c3,!0x1);if(_0x346166[_0x6e5263(0x23f)](_0x38f113))throw _0x38f113[_0x6e5263(0x3c2)];if(_0x346166[_0x6e5263(0x23f)](_0x3f48d9))throw _0x3f48d9[_0x6e5263(0x3c2)];_0x21f3e5[_0x6e5263(0x308)]({..._0x45c67d[_0x4de716],'undoState':_0x38f113[_0x6e5263(0x37a)][_0x6e5263(0x448)],'redoState':_0x3f48d9[_0x6e5263(0x37a)][_0x6e5263(0x448)]}),_0x275b57=_0x38f113[_0x6e5263(0x2a0)],_0x4816af=_0x3f48d9[_0x6e5263(0x2a0)];}this['_docStateChangeManagerService']['setStateCache'](_0x55f200,{'history':_0x24394e,'collaboration':_0x21f3e5});}};_0x31cb58=_0x2b8e98([_0x2bcee9(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf['Injector'])),_0x2bcee9(0x1,_0x346166[_0x37f8b3(0x3f5)]),_0x2bcee9(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)]))],_0x31cb58);var _0x37a7b9=Object[_0x37f8b3(0x272)],_0x779f27=(_0x44d512,_0x4bfed0,_0xb370a3,_0x36b691)=>{const _0x105c3b=_0x37f8b3;for(var _0x4c9d67=_0x36b691>0x1?void 0x0:_0x36b691?_0x37a7b9(_0x4bfed0,_0xb370a3):_0x4bfed0,_0x5b8d3a=_0x44d512[_0x105c3b(0x185)]-0x1,_0x56fb6a;_0x5b8d3a>=0x0;_0x5b8d3a--)(_0x56fb6a=_0x44d512[_0x5b8d3a])&&(_0x4c9d67=_0x56fb6a(_0x4c9d67)||_0x4c9d67);return _0x4c9d67;},_0x51a319=(_0x4c8d28,_0x39a5c0)=>(_0x4cafb0,_0x1bb76c)=>_0x39a5c0(_0x4cafb0,_0x1bb76c,_0x4c8d28);let _0x2f17a2=class{constructor(_0x4afb30,_0x105cc9){const _0x5c5ea7=_0x37f8b3;this[_0x5c5ea7(0x1af)]=_0x4afb30,this[_0x5c5ea7(0x3f8)]=_0x105cc9;}[_0x37f8b3(0x3f2)](_0x4663bd){const _0x590330=_0x37f8b3;var _0x53a80c;const _0x38a649=this[_0x590330(0x1af)][_0x590330(0x42f)](_0xfb3c5a[_0x590330(0x27b)]),_0xd27db8=(_0x53a80c=_0x38a649[_0x590330(0x3e9)]())!=null?_0x53a80c:[];if(_0xd27db8[_0x590330(0x185)]===0x0)return;const _0xae52d7=_0x4663bd['unitID'],_0x559341=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xae52d7,'actions':null,'textRanges':_0xd27db8}}],_0x2efca4=this[_0x590330(0x3f8)][_0x590330(0x3d9)](_0x4663bd,_0x559341);if(!_0x346166['isTransformMutationsWithChangesetSuccess'](_0x2efca4))throw _0x2efca4[_0x590330(0x3c2)];const _0x194a72=_0x2efca4['m2Prime'][0x0][_0x590330(0x448)][_0x590330(0x1da)];Array[_0x590330(0x1fc)](_0x194a72)&&_0x194a72['length']&&_0x38a649[_0x590330(0x201)](_0x194a72,{'unitId':_0xae52d7,'subUnitId':_0xae52d7},!0x1);}};_0x2f17a2=_0x779f27([_0x51a319(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x51a319(0x1,_0x346166['ITransformService'])],_0x2f17a2);var _0x571734=Object['getOwnPropertyDescriptor'],_0x3278b5=(_0x21021d,_0x16c36c,_0x336e38,_0x55986d)=>{const _0x568ef8=_0x37f8b3;for(var _0x373565=_0x55986d>0x1?void 0x0:_0x55986d?_0x571734(_0x16c36c,_0x336e38):_0x16c36c,_0x50823b=_0x21021d[_0x568ef8(0x185)]-0x1,_0x4b8b36;_0x50823b>=0x0;_0x50823b--)(_0x4b8b36=_0x21021d[_0x50823b])&&(_0x373565=_0x4b8b36(_0x373565)||_0x373565);return _0x373565;},_0x23c927=(_0x599428,_0x1131b1)=>(_0x40f659,_0x3e8c84)=>_0x1131b1(_0x40f659,_0x3e8c84,_0x599428);let _0x395fbb=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x22a4a8,_0x3033c3,_0xb6fc0c,_0x273119,_0x5837f2,_0x20f07f,_0x5cc872,_0x1c25a7){const _0x502234=_0x37f8b3;super(),_0xd7033e(this,_0x502234(0x2ef),new _0x28bd90[(_0x502234(0x246))](_0x5c1af6['CollaborationStatus']['NOT_COLLAB'])),(this[_0x502234(0x386)]=_0x22a4a8,this[_0x502234(0x220)]=_0x3033c3,this['_docTransformIMECacheService']=_0xb6fc0c,this[_0x502234(0x1f5)]=_0x273119,this[_0x502234(0x2ad)]=_0x5837f2,this['_docSyncEditingCollabCursorService']=_0x20f07f,this[_0x502234(0x218)]=_0x5cc872,this[_0x502234(0x1bd)]=_0x1c25a7,this[_0x502234(0x2c2)]());}[_0x37f8b3(0x2c2)](){const _0x49d4e3=_0x37f8b3;this['disposeWithMe'](this[_0x49d4e3(0x220)][_0x49d4e3(0x3be)][_0x49d4e3(0x1c1)](_0x47e8c1=>{const _0x1d4dc3=_0x49d4e3,_0x16466e=this['_docStateChangeManagerService'][_0x1d4dc3(0x281)]['subscribe'](_0x392fd5=>{const _0xe37a97=_0x1d4dc3;if(_0x392fd5==null)return;const {unitId:_0x1a0271,redoState:_0x3455c8,commandId:_0xede4ce}=_0x392fd5;if(_0x1a0271!==_0x47e8c1[_0xe37a97(0x231)])return;const _0x454c78={'id':_0xede4ce,'type':_0x4bf0bf[_0xe37a97(0x251)][_0xe37a97(0x40f)],'params':{'unitId':_0x1a0271,'actions':_0x3455c8[_0xe37a97(0x1c4)],'textRanges':null}};_0x47e8c1[_0xe37a97(0x354)](_0x454c78);});if(_0x47e8c1[_0x1d4dc3(0x215)](_0x16466e),_0x47e8c1 instanceof _0x5c1af6[_0x1d4dc3(0x305)]){const _0x9e9692={'onTransformIME':_0x5400aa=>this[_0x1d4dc3(0x2cb)][_0x1d4dc3(0x3f4)](_0x5400aa),'onTransformState':_0x2086bd=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x317)](_0x2086bd),'onTransformSelections':_0x46d0cd=>this[_0x1d4dc3(0x2ad)][_0x1d4dc3(0x3f2)](_0x46d0cd),'onSyncEditingCollabCursor':_0x19217f=>this[_0x1d4dc3(0x3e3)]['syncEditingCollabCursor'](_0x19217f),'onTransformRemoteChangesetByIMECache':_0x119ecb=>this['_docTransformIMECacheService'][_0x1d4dc3(0x311)](_0x119ecb),'onTransformRemoteChangesetByStateCache':_0x24634d=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x311)](_0x24634d)};_0x47e8c1[_0x1d4dc3(0x1fd)](_0x9e9692);}}));}};_0x395fbb=_0x3278b5([_0x23c927(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)])),_0x23c927(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x26a)])),_0x23c927(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x1f3baa)),_0x23c927(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x31cb58)),_0x23c927(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x2f17a2)),_0x23c927(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x23c927(0x6,_0x19759c[_0x37f8b3(0x3e6)]),_0x23c927(0x7,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x395fbb);var _0x2b80f3=(_0x5adf13=>(_0x5adf13[_0x5adf13['UNDEFINED']=0x0]='UNDEFINED',_0x5adf13[_0x5adf13['OK']=0x1]='OK',_0x5adf13[_0x5adf13[_0x37f8b3(0x38d)]=0x2]=_0x37f8b3(0x38d),_0x5adf13[_0x5adf13[_0x37f8b3(0x234)]=0x3]=_0x37f8b3(0x234),_0x5adf13[_0x5adf13['NOT_FOUND']=0x4]=_0x37f8b3(0x1de),_0x5adf13[_0x5adf13[_0x37f8b3(0x313)]=0x5]=_0x37f8b3(0x313),_0x5adf13[_0x5adf13[_0x37f8b3(0x34b)]=0x6]='ALREADY_EXISTS',_0x5adf13[_0x5adf13['INVALID_ARGUMENT']=0x7]=_0x37f8b3(0x2d5),_0x5adf13[_0x5adf13[_0x37f8b3(0x3b1)]=0x8]=_0x37f8b3(0x3b1),_0x5adf13[_0x5adf13['COMPLETION_FINISHED']=0x9]=_0x37f8b3(0x1c9),_0x5adf13[_0x5adf13[_0x37f8b3(0x303)]=0xa]=_0x37f8b3(0x303),_0x5adf13[_0x5adf13[_0x37f8b3(0x202)]=0xb]=_0x37f8b3(0x202),_0x5adf13[_0x5adf13[_0x37f8b3(0x297)]=0xc]=_0x37f8b3(0x297),_0x5adf13[_0x5adf13[_0x37f8b3(0x183)]=0xd]=_0x37f8b3(0x183),_0x5adf13[_0x5adf13[_0x37f8b3(0x22e)]=0xe]=_0x37f8b3(0x22e),_0x5adf13[_0x5adf13[_0x37f8b3(0x380)]=0xf]=_0x37f8b3(0x380),_0x5adf13[_0x5adf13[_0x37f8b3(0x1dd)]=0x10]=_0x37f8b3(0x1dd),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f9)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5adf13[_0x5adf13[_0x37f8b3(0x405)]=0x65]='ERROR_AGAIN',_0x5adf13[_0x5adf13[_0x37f8b3(0x2f9)]=0xc9]='USER_NOT_FOUND',_0x5adf13[_0x5adf13[_0x37f8b3(0x35e)]=0xca]=_0x37f8b3(0x35e),_0x5adf13[_0x5adf13[_0x37f8b3(0x1bb)]=0x1389]=_0x37f8b3(0x1bb),_0x5adf13[_0x5adf13[_0x37f8b3(0x379)]=0x1771]=_0x37f8b3(0x379),_0x5adf13[_0x5adf13['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x37f8b3(0x341),_0x5adf13[_0x5adf13[_0x37f8b3(0x368)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5adf13[_0x5adf13['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5adf13[_0x5adf13['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x37f8b3(0x2e8),_0x5adf13[_0x5adf13[_0x37f8b3(0x229)]=0x1b5b]=_0x37f8b3(0x229),_0x5adf13[_0x5adf13[_0x37f8b3(0x26d)]=0x1b5c]=_0x37f8b3(0x26d),_0x5adf13[_0x5adf13[_0x37f8b3(0x255)]=0x1b5d]=_0x37f8b3(0x255),_0x5adf13[_0x5adf13[_0x37f8b3(0x217)]=0x1f41]=_0x37f8b3(0x217),_0x5adf13[_0x5adf13[_0x37f8b3(0x35c)]=0x2329]=_0x37f8b3(0x35c),_0x5adf13[_0x5adf13[_0x37f8b3(0x390)]=0x232a]=_0x37f8b3(0x390),_0x5adf13[_0x5adf13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x37f8b3(0x40b),_0x5adf13[_0x5adf13[_0x37f8b3(0x40a)]=0x232c]=_0x37f8b3(0x40a),_0x5adf13[_0x5adf13[_0x37f8b3(0x2c7)]=0x232d]=_0x37f8b3(0x2c7),_0x5adf13[_0x5adf13[_0x37f8b3(0x433)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5adf13[_0x5adf13[_0x37f8b3(0x223)]=0x2712]=_0x37f8b3(0x223),_0x5adf13[_0x5adf13[_0x37f8b3(0x355)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x437)]=0x2714]=_0x37f8b3(0x437),_0x5adf13[_0x5adf13[_0x37f8b3(0x356)]=0x271a]=_0x37f8b3(0x356),_0x5adf13[_0x5adf13[_0x37f8b3(0x438)]=0x271b]=_0x37f8b3(0x438),_0x5adf13[_0x5adf13['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x1ef)]=0x271d]=_0x37f8b3(0x1ef),_0x5adf13[_0x5adf13[_0x37f8b3(0x3ec)]=0x271e]=_0x37f8b3(0x3ec),_0x5adf13[_0x5adf13[_0x37f8b3(0x408)]=0x271f]=_0x37f8b3(0x408),_0x5adf13[_0x5adf13[_0x37f8b3(0x2b6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5adf13[_0x5adf13['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x37f8b3(0x326),_0x5adf13[_0x5adf13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5adf13[_0x5adf13[_0x37f8b3(0x19a)]=0x2ee2]=_0x37f8b3(0x19a),_0x5adf13[_0x5adf13[_0x37f8b3(0x288)]=0x2ee3]=_0x37f8b3(0x288),_0x5adf13[_0x5adf13[_0x37f8b3(0x195)]=0x2ee4]=_0x37f8b3(0x195),_0x5adf13[_0x5adf13['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37f8b3(0x33e),_0x5adf13[_0x5adf13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x37f8b3(0x3cf),_0x5adf13[_0x5adf13[_0x37f8b3(0x1a1)]=0x32ca]=_0x37f8b3(0x1a1),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f7)]=0x32cb]=_0x37f8b3(0x1f7),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b4)]=0x36b1]=_0x37f8b3(0x1b4),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b0)]=0x36b2]=_0x37f8b3(0x1b0),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f4)]=0x36b3]=_0x37f8b3(0x1f4),_0x5adf13[_0x5adf13[_0x37f8b3(0x2fa)]=0x36b4]=_0x37f8b3(0x2fa),_0x5adf13[_0x5adf13['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x37f8b3(0x3c6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f0)]=0x3716]=_0x37f8b3(0x1f0),_0x5adf13[_0x5adf13[_0x37f8b3(0x266)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5adf13[_0x5adf13[_0x37f8b3(0x29d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5adf13[_0x5adf13[_0x37f8b3(0x3c4)]=0x3a9a]=_0x37f8b3(0x3c4),_0x5adf13[_0x5adf13[_0x37f8b3(0x43d)]=0x3a9b]=_0x37f8b3(0x43d),_0x5adf13[_0x5adf13[_0x37f8b3(0x26e)]=0x3a9c]=_0x37f8b3(0x26e),_0x5adf13[_0x5adf13['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x37f8b3(0x409),_0x5adf13[_0x5adf13[_0x37f8b3(0x3f6)]=0x3a9e]=_0x37f8b3(0x3f6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1fb)]=0x3a9f]=_0x37f8b3(0x1fb),_0x5adf13[_0x5adf13[_0x37f8b3(0x453)]=-0x1]=_0x37f8b3(0x453),_0x5adf13))(_0x2b80f3||{});function _0x454441(_0x5c2aef){const _0x4419c9=_0x37f8b3;var _0xb0fc1e,_0x2db95b;const _0x3234de=(_0xb0fc1e=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0xb0fc1e[_0x4419c9(0x3e2)],_0x300eaa=((_0x2db95b=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0x2db95b[_0x4419c9(0x401)])||0x0;return _0x3234de===_0x1738fe['FormulaExecuteStageType'][_0x4419c9(0x34c)]&&_0x300eaa>0x0;}function _0x54ac59(_0x112fac){const _0xe8e9a6=_0x37f8b3;return _0x112fac[_0xe8e9a6(0x429)]===_0x1738fe[_0xe8e9a6(0x1bf)]['SUCCESS'];}var _0x2fc9bf=Object[_0x37f8b3(0x272)],_0xc4f68=(_0x479100,_0x3cfbf6,_0x255d40,_0x13eb9e)=>{const _0x4ef1f1=_0x37f8b3;for(var _0x179ccb=_0x13eb9e>0x1?void 0x0:_0x13eb9e?_0x2fc9bf(_0x3cfbf6,_0x255d40):_0x3cfbf6,_0x1b6a57=_0x479100[_0x4ef1f1(0x185)]-0x1,_0x50af5b;_0x1b6a57>=0x0;_0x1b6a57--)(_0x50af5b=_0x479100[_0x1b6a57])&&(_0x179ccb=_0x50af5b(_0x179ccb)||_0x179ccb);return _0x179ccb;},_0x42541b=(_0x209681,_0x328231)=>(_0x3f29c1,_0x68831d)=>_0x328231(_0x3f29c1,_0x68831d,_0x209681);const _0xf91d21=_0x37f8b3(0x283),_0x2f7634=_0x37f8b3(0x374),_0x4c26da='/universer-api/license/formula/limit/done';let _0x35ec8b=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x9c3e1b,_0xa93415,_0x1064be,_0x30888a,_0x2a4868,_0x4a3999,_0x1393a6){const _0x1f0e44=_0x37f8b3;super(),_0xd7033e(this,_0x1f0e44(0x3f1),null),_0xd7033e(this,_0x1f0e44(0x1cb),0x0),_0xd7033e(this,_0x1f0e44(0x18f),0x0),_0xd7033e(this,_0x1f0e44(0x1ac),[]),_0xd7033e(this,_0x1f0e44(0x2fd),0x0),(this[_0x1f0e44(0x218)]=_0x9c3e1b,this[_0x1f0e44(0x301)]=_0xa93415,this[_0x1f0e44(0x23b)]=_0x1064be,this[_0x1f0e44(0x221)]=_0x30888a,this[_0x1f0e44(0x19b)]=_0x2a4868,this[_0x1f0e44(0x3f0)]=_0x4a3999,this['_localeService']=_0x1393a6,this['_initCommandInterceptor']());}[_0x37f8b3(0x362)](){const _0xfb12b4=_0x37f8b3;this[_0xfb12b4(0x215)](this[_0xfb12b4(0x301)][_0xfb12b4(0x3d1)]((_0x5d86dd,_0x463762)=>{const _0x56dc68=_0xfb12b4;if(_0x5d86dd['id']!==_0x1738fe['SetFormulaCalculationStartMutation']['id'])return;const _0x43bc7c=_0x5d86dd[_0x56dc68(0x448)];if(!this[_0x56dc68(0x446)](_0x43bc7c[_0x56dc68(0x324)]))return;if(!this['_checkCalculationAvailable']())throw this[_0x56dc68(0x2a9)](_0x5d86dd,_0x463762),this[_0x56dc68(0x2e1)](),new _0x4bf0bf[(_0x56dc68(0x1e0))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x43b910,_0x34802c)=>{const _0x4148d4=_0xfb12b4;if(_0x43b910['id']!==_0x1738fe[_0x4148d4(0x1bc)]['id'])return;const _0x2b33e9=_0x43b910['params'];if(_0x454441(_0x2b33e9)){const _0x10cd4c=_0x4bf0bf['generateRandomId']();this[_0x4148d4(0x1ac)]['push'](_0x10cd4c),this['_startCalculationLimit'](_0x10cd4c);}else{if(_0x54ac59(_0x2b33e9)&&this[_0x4148d4(0x1ac)][_0x4148d4(0x185)]>0x0){const _0x36859e=this['_taskIds'][_0x4148d4(0x280)]();this['_releaseCalculationLimit'](_0x36859e);}}}));}['dispose'](){const _0x569d9e=_0x37f8b3;super[_0x569d9e(0x248)](),this[_0x569d9e(0x210)](),this[_0x569d9e(0x1ac)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x569d9e(0x2fd)]=0x0;}async[_0x37f8b3(0x2a9)](_0x45f064,_0x2a2df1){const _0x158c29=_0x37f8b3;for(let _0x46e53a=0x0;_0x46e53a<0x1e;_0x46e53a++)try{if(await this[_0x158c29(0x214)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x45f064,_0x2a2df1),this[_0x158c29(0x218)][_0x158c29(0x358)]({'content':this[_0x158c29(0x1bd)]['t'](_0x158c29(0x292)),'type':_0x22cb21[_0x158c29(0x3aa)][_0x158c29(0x179)]});return;}await new Promise(_0xee13fc=>{const _0x5992d0=_0x158c29;this['_pollingInterval']=window[_0x5992d0(0x426)](_0xee13fc,0x3e8);});}catch(_0x2c46a3){this[_0x158c29(0x3f0)][_0x158c29(0x3c2)](_0x2c46a3);}this['_messageService'][_0x158c29(0x358)]({'content':this['_localeService']['t'](_0x158c29(0x23d)),'type':_0x22cb21['MessageType'][_0x158c29(0x26f)]});}[_0x37f8b3(0x245)](_0x42d7e4,_0x1b21fa){const _0x48987e=_0x37f8b3;try{this[_0x48987e(0x301)][_0x48987e(0x3ac)](_0x42d7e4['id'],_0x42d7e4[_0x48987e(0x448)],_0x1b21fa);}catch(_0x2c515b){this['_logService'][_0x48987e(0x3c2)](_0x2c515b);}}[_0x37f8b3(0x35f)](_0xdb5679,_0x19712b){const _0x2d8f38=_0x37f8b3;_0x19712b<this[_0x2d8f38(0x2fd)]||(this[_0x2d8f38(0x2fd)]=_0x19712b,this[_0x2d8f38(0x1cb)]=Number['parseInt'](_0xdb5679['maxFormulaLimit']),this[_0x2d8f38(0x18f)]=Number[_0x2d8f38(0x359)](_0xdb5679[_0x2d8f38(0x20e)]));}async[_0x37f8b3(0x18d)](_0x2fa090){const _0xc3e0af=_0x37f8b3;var _0x1df604,_0x4a659f;const _0x54a05b=Date[_0xc3e0af(0x2eb)]();try{const _0x3e976b=((_0x1df604=this[_0xc3e0af(0x23b)][_0xc3e0af(0x18a)](_0x5c1af6[_0xc3e0af(0x27a)]))==null?void 0x0:_0x1df604[_0xc3e0af(0x1ec)])||_0x2f7634,_0x30e02c=(await this[_0xc3e0af(0x221)][_0xc3e0af(0x2f8)](_0x3e976b,{'body':JSON[_0xc3e0af(0x444)]({'taskId':_0x2fa090})}))['body'];if(((_0x4a659f=_0x30e02c['error'])==null?void 0x0:_0x4a659f[_0xc3e0af(0x254)])!==_0x2b80f3['OK'])return;this[_0xc3e0af(0x35f)](_0x30e02c[_0xc3e0af(0x204)],_0x54a05b);}catch(_0x51e88b){this[_0xc3e0af(0x3f0)][_0xc3e0af(0x3c2)](_0x51e88b);}}async[_0x37f8b3(0x214)](_0x686bec){const _0xf7d1eb=_0x37f8b3;var _0x5e6d61,_0x8d0a07;const _0x128e57=Date[_0xf7d1eb(0x2eb)]();try{const _0x3722c7=((_0x5e6d61=this[_0xf7d1eb(0x23b)][_0xf7d1eb(0x18a)](_0x5c1af6[_0xf7d1eb(0x27a)]))==null?void 0x0:_0x5e6d61['getformulaLimitStatusUrl'])||_0xf91d21,_0x111a3a=_0x686bec?_0x3722c7+'?taskId='+encodeURIComponent(_0x686bec):_0x3722c7,_0x53ecf1=(await this[_0xf7d1eb(0x221)][_0xf7d1eb(0x42f)](_0x111a3a))[_0xf7d1eb(0x340)];if(((_0x8d0a07=_0x53ecf1[_0xf7d1eb(0x3c2)])==null?void 0x0:_0x8d0a07[_0xf7d1eb(0x254)])!==_0x2b80f3['OK'])return;this[_0xf7d1eb(0x35f)](_0x53ecf1[_0xf7d1eb(0x204)],_0x128e57);}catch(_0x4910c9){this[_0xf7d1eb(0x3f0)][_0xf7d1eb(0x3c2)](_0x4910c9);}}async[_0x37f8b3(0x1cc)](_0x4e53e9){const _0x1aeabf=_0x37f8b3;var _0x23abde,_0x5dd9a7;const _0x13d8b0=Date['now']();try{const _0x5ecbae=((_0x23abde=this[_0x1aeabf(0x23b)][_0x1aeabf(0x18a)](_0x5c1af6[_0x1aeabf(0x27a)]))==null?void 0x0:_0x23abde[_0x1aeabf(0x31e)])||_0x4c26da,_0x3f3888=(await this[_0x1aeabf(0x221)][_0x1aeabf(0x2f8)](_0x5ecbae,{'body':JSON['stringify']({'taskId':_0x4e53e9})}))[_0x1aeabf(0x340)];if(((_0x5dd9a7=_0x3f3888[_0x1aeabf(0x3c2)])==null?void 0x0:_0x5dd9a7['code'])!==_0x2b80f3['OK'])return;this[_0x1aeabf(0x35f)](_0x3f3888[_0x1aeabf(0x204)],_0x13d8b0);}catch(_0x1fded7){this['_logService'][_0x1aeabf(0x3c2)](_0x1fded7);}}[_0x37f8b3(0x3d6)](){const _0x14aeec=_0x37f8b3;return this[_0x14aeec(0x1cb)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x14aeec(0x18f)]>0x0;}[_0x37f8b3(0x210)](){const _0x2a3999=_0x37f8b3;this[_0x2a3999(0x3f1)]&&(clearTimeout(this[_0x2a3999(0x3f1)]),this[_0x2a3999(0x3f1)]=null);}[_0x37f8b3(0x2e1)](){const _0x2c342d=_0x37f8b3;this['_messageService']['show']({'content':this[_0x2c342d(0x1bd)]['t']('formula.calculation.waiting'),'type':_0x22cb21[_0x2c342d(0x3aa)][_0x2c342d(0x19f)]});}[_0x37f8b3(0x446)](_0xb4cad2){const _0x161bfe=_0x37f8b3;for(const _0x53fb6b of _0xb4cad2){const {unitId:_0xa080c,sheetId:_0x13106d,range:_0x2c67fa}=_0x53fb6b,_0x391989=this['_univerInstanceService'][_0x161bfe(0x42a)](_0xa080c);if(!_0x391989)continue;const _0x556e12=_0x391989[_0x161bfe(0x445)](_0x13106d);if(!_0x556e12)continue;const _0x2fee1a=_0x556e12[_0x161bfe(0x2c0)]();for(let _0x31a4e0=_0x2c67fa[_0x161bfe(0x39f)];_0x31a4e0<=_0x2c67fa[_0x161bfe(0x1a7)];_0x31a4e0++)for(let _0x5a7de7=_0x2c67fa[_0x161bfe(0x270)];_0x5a7de7<=_0x2c67fa['endColumn'];_0x5a7de7++){const _0x12d4e6=_0x2fee1a['getValue'](_0x31a4e0,_0x5a7de7);if(_0x12d4e6&&(_0x4bf0bf['isFormulaString'](_0x12d4e6['f'])||_0x4bf0bf[_0x161bfe(0x259)](_0x12d4e6['si'])))return!0x0;}}return!0x1;}};_0x35ec8b=_0xc4f68([_0x42541b(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x19759c[_0x37f8b3(0x3e6)])),_0x42541b(0x1,_0x4bf0bf['ICommandService']),_0x42541b(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x42541b(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x133421[_0x37f8b3(0x2e9)])),_0x42541b(0x4,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x42541b(0x5,_0x4bf0bf['ILogService']),_0x42541b(0x6,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x35ec8b);var _0x203ddc=Object['getOwnPropertyDescriptor'],_0x47f8d4=(_0x1b93b8,_0x249db1,_0x2c8a48,_0x1cdc18)=>{const _0x4508ac=_0x37f8b3;for(var _0x3edc77=_0x1cdc18>0x1?void 0x0:_0x1cdc18?_0x203ddc(_0x249db1,_0x2c8a48):_0x249db1,_0x5af81e=_0x1b93b8[_0x4508ac(0x185)]-0x1,_0x93b186;_0x5af81e>=0x0;_0x5af81e--)(_0x93b186=_0x1b93b8[_0x5af81e])&&(_0x3edc77=_0x93b186(_0x3edc77)||_0x3edc77);return _0x3edc77;},_0x5d968c=(_0x1fd79f,_0x155288)=>(_0xd3e245,_0x1e0fd5)=>_0x155288(_0xd3e245,_0x1e0fd5,_0x1fd79f);let _0x4aee84=class extends _0x4bf0bf['Disposable']{constructor(_0x701398,_0x408930,_0x59e9ab){const _0x4fe6bd=_0x37f8b3;super(),_0xd7033e(this,_0x4fe6bd(0x363),new Map()),_0xd7033e(this,'_saveTaskMap',new Map()),_0xd7033e(this,_0x4fe6bd(0x1d9),!0x1),(this[_0x4fe6bd(0x23b)]=_0x701398,this[_0x4fe6bd(0x3a1)]=_0x408930,this['_revisionService']=_0x59e9ab);}[_0x37f8b3(0x38e)](){const _0xb34adb=_0x37f8b3;this[_0xb34adb(0x1d9)]=!0x0;}[_0x37f8b3(0x1b2)](){const _0x17832c=_0x37f8b3;this[_0x17832c(0x1d9)]=!0x1;}get[_0x37f8b3(0x25c)](){const _0x228311=_0x37f8b3;return this[_0x228311(0x3bf)];}[_0x37f8b3(0x248)](){const _0x43b2d4=_0x37f8b3;this[_0x43b2d4(0x1e1)]()[_0x43b2d4(0x285)](()=>super[_0x43b2d4(0x248)]());}async['loadOfflineData'](_0x4fb4e3){const _0x54ede8=_0x37f8b3;return this[_0x54ede8(0x1d9)]?null:this[_0x54ede8(0x3a1)][_0x54ede8(0x235)](_0x5c1af6[_0x54ede8(0x29b)](_0x4fb4e3));}async['saveOfflineData'](_0x2e445c,_0x87919f){const _0x4fdddb=_0x37f8b3;return!!this[_0x4fdddb(0x3a1)][_0x4fdddb(0x176)](_0x2e445c,_0x87919f);}[_0x37f8b3(0x2b4)](_0x93a3c4,_0x1ea975,_0x29200d,_0x202260){const _0x506a6b=_0x37f8b3,_0x520949=this[_0x506a6b(0x39a)][_0x506a6b(0x2bb)](_0x93a3c4);this[_0x506a6b(0x363)]['set'](_0x93a3c4,{'unitID':_0x93a3c4,'type':_0x1ea975,'awaitingChangeset':_0x29200d,'mutations':_0x202260,'rev':_0x520949}),this[_0x506a6b(0x3bf)][_0x506a6b(0x33b)](_0x93a3c4)||this[_0x506a6b(0x238)](_0x93a3c4);}[_0x37f8b3(0x238)](_0x4017d9){const _0x568c70=_0x37f8b3,_0x416f3f=this['_getSaveTimeout']();_0x416f3f===0x0?this['_saveCache'](_0x4017d9):this[_0x568c70(0x3bf)][_0x568c70(0x3a5)](_0x4017d9,setTimeout(()=>this[_0x568c70(0x403)](_0x4017d9),_0x416f3f));}['_getSaveTimeout'](){const _0x131c93=_0x37f8b3;var _0x452dcb;return(_0x452dcb=this['_configService'][_0x131c93(0x18a)](_0x5c1af6['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x452dcb:_0x5c1af6['LOCAL_CACHE_INTERVAL'];}[_0x37f8b3(0x403)](_0x4d7ec1){const _0x3e8b0a=_0x37f8b3,_0x1ae7b4=this['_saveTaskMap']['get'](_0x4d7ec1);return _0x1ae7b4!==void 0x0&&window[_0x3e8b0a(0x34f)](_0x1ae7b4),this[_0x3e8b0a(0x3a1)][_0x3e8b0a(0x176)](_0x5c1af6[_0x3e8b0a(0x29b)](_0x4d7ec1),this[_0x3e8b0a(0x363)][_0x3e8b0a(0x42f)](_0x4d7ec1))[_0x3e8b0a(0x285)](()=>this[_0x3e8b0a(0x3bf)][_0x3e8b0a(0x26c)](_0x4d7ec1));}async[_0x37f8b3(0x1e1)](){const _0x434d20=_0x37f8b3,_0x352518=[];this[_0x434d20(0x3bf)][_0x434d20(0x3a0)]((_0x284e3a,_0x3d0ff4)=>{const _0x1f2123=_0x434d20;window['clearTimeout'](_0x284e3a),_0x352518[_0x1f2123(0x20c)](this[_0x1f2123(0x403)](_0x3d0ff4)['then'](()=>{const _0x1bdeec=_0x1f2123;this[_0x1bdeec(0x3bf)]['delete'](_0x3d0ff4);}));}),await Promise['all'](_0x352518);}};_0x4aee84=_0x47f8d4([_0x5d968c(0x0,_0x4bf0bf['IConfigService']),_0x5d968c(0x1,_0x4bf0bf[_0x37f8b3(0x25e)]),_0x5d968c(0x2,_0x4bf0bf['Inject'](_0x346166[_0x37f8b3(0x256)]))],_0x4aee84);class _0x1b2a83 extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x41ec99=_0x37f8b3;super(),_0xd7033e(this,_0x41ec99(0x1c8)),this[_0x41ec99(0x1c8)]=_0x28bd90['fromEvent'](window,_0x41ec99(0x197))[_0x41ec99(0x1d7)](_0x28bd90[_0x41ec99(0x1dc)](this[_0x41ec99(0x30f)]),_0x28bd90[_0x41ec99(0x3e7)](0x1),_0x28bd90[_0x41ec99(0x2fc)](void 0x0));}['setParam'](_0x2ac4c2,_0x507a6d,_0x30e80d=!0x1){const _0x1a8247=_0x37f8b3,_0x8d3103=new URL(window[_0x1a8247(0x2ac)][_0x1a8247(0x171)]);_0x8d3103[_0x1a8247(0x375)][_0x1a8247(0x3a5)](_0x2ac4c2,_0x507a6d),_0x30e80d?window['history']['replaceState']('','',_0x8d3103['toString']()):window[_0x1a8247(0x265)][_0x1a8247(0x2ee)]('','',_0x8d3103[_0x1a8247(0x31d)]());}[_0x37f8b3(0x2f6)](_0x5c7dc4,_0x59da74=!0x1){const _0x76022c=_0x37f8b3,_0x1270df=new URL(window[_0x76022c(0x2ac)][_0x76022c(0x171)]);_0x1270df['searchParams'][_0x76022c(0x26c)](_0x5c7dc4),_0x59da74?window[_0x76022c(0x265)][_0x76022c(0x347)]('','',_0x1270df['toString']()):window['history'][_0x76022c(0x2ee)]('','',_0x1270df['toString']());}[_0x37f8b3(0x1eb)](_0x5bef54){const _0x5ebeb8=_0x37f8b3;var _0x134887;return(_0x134887=new URL(window[_0x5ebeb8(0x2ac)][_0x5ebeb8(0x171)])['searchParams'][_0x5ebeb8(0x42f)](_0x5bef54))!=null?_0x134887:void 0x0;}}var _0x2c9336=Object[_0x37f8b3(0x41c)],_0x18eeee=Object[_0x37f8b3(0x272)],_0x1ec278=(_0x38cdf5,_0x1089f2,_0x167c16)=>_0x1089f2 in _0x38cdf5?_0x2c9336(_0x38cdf5,_0x1089f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167c16}):_0x38cdf5[_0x1089f2]=_0x167c16,_0x2c2766=(_0x4bfc74,_0x2e8f2b,_0x67095f,_0xbf34c0)=>{const _0x1cf452=_0x37f8b3;for(var _0x5d6e04=_0xbf34c0>0x1?void 0x0:_0xbf34c0?_0x18eeee(_0x2e8f2b,_0x67095f):_0x2e8f2b,_0x4565bc=_0x4bfc74[_0x1cf452(0x185)]-0x1,_0x573426;_0x4565bc>=0x0;_0x4565bc--)(_0x573426=_0x4bfc74[_0x4565bc])&&(_0x5d6e04=_0x573426(_0x5d6e04)||_0x5d6e04);return _0x5d6e04;},_0x208765=(_0x25e42a,_0x4ebcba)=>(_0xe56246,_0x3a4bcf)=>_0x4ebcba(_0xe56246,_0x3a4bcf,_0x25e42a),_0xd26d74=(_0xc10d98,_0x51f8fa,_0x5b1616)=>_0x1ec278(_0xc10d98,_0x51f8fa+'',_0x5b1616);const _0x22bd70='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4f0727[_0x37f8b3(0x18b)]=class extends _0x4bf0bf[_0x37f8b3(0x1e6)]{constructor(_0x15127d=_0x73c99c,_0x1f32f9,_0x265b32,_0x1d074c){const _0x2874d5=_0x37f8b3;super(),this['_config']=_0x15127d,this[_0x2874d5(0x269)]=_0x1f32f9,this[_0x2874d5(0x1af)]=_0x265b32,this[_0x2874d5(0x23b)]=_0x1d074c;const {..._0x2b57a4}=_0x4bf0bf[_0x2874d5(0x315)]({},_0x73c99c,this[_0x2874d5(0x1f1)]);this[_0x2874d5(0x23b)][_0x2874d5(0x31b)](_0x3f984c,_0x2b57a4);}['onStarting'](){const _0x514bd9=_0x37f8b3;this[_0x514bd9(0x1a2)](),this[_0x514bd9(0x44e)]();}['onRendered'](){const _0xbe489d=_0x37f8b3;this[_0xbe489d(0x33a)]();}['_registerDependencies'](){const _0x2cfa12=_0x37f8b3;var _0x5687b7;const _0x4da338=[[_0x21c84d],[_0x35ec8b],[_0x2f17a2],[_0x1f3baa],[_0x31cb58],[_0x39b00c],[_0x30f389,{'useClass':_0x1b2a83}],[_0x133421[_0x2cfa12(0x1ca)],{'useClass':_0x133421[_0x2cfa12(0x27c)]}],[_0x5c1af6[_0x2cfa12(0x1a8)],{'useClass':_0x4aee84}],[_0x4f0727[_0x2cfa12(0x30b)]],[_0x395fbb],[_0x166680],[_0x576e16],[_0x3fb39a],[_0x4f0727[_0x2cfa12(0x286)]]];_0x4bf0bf['registerDependencies'](this[_0x2cfa12(0x1af)],_0x4bf0bf[_0x2cfa12(0x43a)](_0x4da338,(_0x5687b7=this[_0x2cfa12(0x1f1)])==null?void 0x0:_0x5687b7[_0x2cfa12(0x23c)]));}[_0x37f8b3(0x33a)](){const _0x42c840=_0x37f8b3;this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x196)],[_0x1a0a7a])),this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x3cb)],[_0x24c84f]));}['_initDependencies'](){const _0x485e95=_0x37f8b3;_0x4bf0bf[_0x485e95(0x418)](this['_injector'],[[_0x576e16],[_0x4f0727[_0x485e95(0x30b)]],[_0x395fbb],[_0x166680],[_0x4f0727[_0x485e95(0x286)]],[_0x35ec8b]]);}},_0xd26d74(_0x4f0727[_0x37f8b3(0x18b)],_0x37f8b3(0x1a3),_0x22bd70),_0x4f0727['UniverCollaborationClientUIPlugin']=_0x2c2766([_0x4bf0bf[_0x37f8b3(0x3ab)](_0x5c1af6[_0x37f8b3(0x345)]),_0x208765(0x1,_0x1a5c20['IRenderManagerService']),_0x208765(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x208765(0x3,_0x4bf0bf['IConfigService'])],_0x4f0727[_0x37f8b3(0x18b)]);var _0xb7158a=Object[_0x37f8b3(0x272)],_0x5acbb0=(_0x485d30,_0x2b8f53,_0x3662d2,_0x2b4044)=>{const _0x2e6226=_0x37f8b3;for(var _0x165953=_0x2b4044>0x1?void 0x0:_0x2b4044?_0xb7158a(_0x2b8f53,_0x3662d2):_0x2b8f53,_0x72bf66=_0x485d30[_0x2e6226(0x185)]-0x1,_0x2bce8f;_0x72bf66>=0x0;_0x72bf66--)(_0x2bce8f=_0x485d30[_0x72bf66])&&(_0x165953=_0x2bce8f(_0x165953)||_0x165953);return _0x165953;},_0x586978=(_0x171c64,_0x4ecf76)=>(_0x59d52a,_0x263172)=>_0x4ecf76(_0x59d52a,_0x263172,_0x171c64);_0x4f0727['BrowserCollaborationSocketService']=class extends _0x5c1af6['CollaborationSocketService']{constructor(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136){super(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136);}async['createSocket'](_0x1ca903){const _0x275d0b=_0x37f8b3,_0x12b78f=await this[_0x275d0b(0x32a)](),_0x56f64c=this['_createSocketURL'](_0x1ca903,_0x12b78f);return this[_0x275d0b(0x343)](_0x56f64c);}[_0x37f8b3(0x1d4)](_0xaf9320,_0x1627e1){const _0x5e8991=_0x37f8b3,_0x3fa9d0=typeof window>'u'?new URL(_0xaf9320):new URL(_0xaf9320,window['location'][_0x5e8991(0x2b3)]);_0x3fa9d0['searchParams']['set'](_0x5e8991(0x2a7),_0x1627e1);const _0x51c268=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e8991(0x2ac)][_0x5e8991(0x2a4)]);return _0x51c268[_0x5e8991(0x42f)](_0x5e8991(0x3e1))&&_0x3fa9d0[_0x5e8991(0x375)]['set']('runId',_0x51c268['get'](_0x5e8991(0x3e1))),_0x3fa9d0['toString']();}async['_getSessionTicket'](){const _0x448b7e=_0x37f8b3;var _0x30adaf,_0x46d2f9,_0x109ef3;const _0x48f887=this[_0x448b7e(0x23b)][_0x448b7e(0x18a)](_0x5c1af6[_0x448b7e(0x27a)]),_0x368a09=(_0x30adaf=_0x48f887==null?void 0x0:_0x48f887[_0x448b7e(0x25b)])!=null?_0x30adaf:_0x5c1af6[_0x448b7e(0x2ed)];return(_0x109ef3=(_0x46d2f9=(await this[_0x448b7e(0x221)][_0x448b7e(0x42f)](_0x368a09,{'headers':{'Content-Type':_0x448b7e(0x27f)}}))['body'])==null?void 0x0:_0x46d2f9[_0x448b7e(0x316)])!=null?_0x109ef3:'';}},_0x4f0727[_0x37f8b3(0x22c)]=_0x5acbb0([_0x586978(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x586978(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x586978(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x586978(0x3,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x586978(0x4,_0x346166['ISnapshotServerService'])],_0x4f0727[_0x37f8b3(0x22c)]);var _0x3ea93b=Object[_0x37f8b3(0x272)],_0x13ef68=(_0x1d8ca1,_0x38de2b,_0x4f5fde,_0x49d503)=>{const _0x31a15d=_0x37f8b3;for(var _0x28aa70=_0x49d503>0x1?void 0x0:_0x49d503?_0x3ea93b(_0x38de2b,_0x4f5fde):_0x38de2b,_0x5f947b=_0x1d8ca1[_0x31a15d(0x185)]-0x1,_0x187b30;_0x5f947b>=0x0;_0x5f947b--)(_0x187b30=_0x1d8ca1[_0x5f947b])&&(_0x28aa70=_0x187b30(_0x28aa70)||_0x28aa70);return _0x28aa70;},_0x2d3f6d=(_0x1996ae,_0x3aa568)=>(_0x57643f,_0x2347ad)=>_0x3aa568(_0x57643f,_0x2347ad,_0x1996ae);_0x4f0727[_0x37f8b3(0x2aa)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x410386,_0x559890,_0x465be6){const _0xf2d095=_0x37f8b3;super(),this[_0xf2d095(0x425)]=_0x410386,this[_0xf2d095(0x221)]=_0x559890,this[_0xf2d095(0x23b)]=_0x465be6;}async[_0x37f8b3(0x40e)](_0x876036,_0xea2c5b,_0x243b82,..._0x31061d){const _0x3c7b1b=_0x37f8b3;var _0x4439a6,_0x53f814,_0x1dc609,_0x1576e6;const _0x59b0bf=this['_instanceService'][_0x3c7b1b(0x2bc)]();if(!_0x59b0bf)throw new Error(_0x3c7b1b(0x2d3));const _0x57daf4=((_0x4439a6=this[_0x3c7b1b(0x23b)][_0x3c7b1b(0x18a)](_0x5c1af6[_0x3c7b1b(0x3cc)]))!=null?_0x4439a6:_0x5c1af6[_0x3c7b1b(0x1ce)])+'/'+_0x876036+'/run/'+_0xea2c5b,_0x96de62=new URL(window[_0x3c7b1b(0x2ac)][_0x3c7b1b(0x171)]),_0x1a11c9={'scriptId':_0x876036,'runId':(_0x53f814=_0x96de62[_0x3c7b1b(0x375)][_0x3c7b1b(0x42f)](_0x3c7b1b(0x3e1)))!=null?_0x53f814:'','function':_0xea2c5b,'unitId':_0x59b0bf[_0x3c7b1b(0x3dd)](),'argsOfFunction':JSON[_0x3c7b1b(0x444)](_0x31061d),'invokeId':(_0x1dc609=_0x243b82[_0x3c7b1b(0x1ee)])!=null?_0x1dc609:'','executionId':(_0x1576e6=_0x243b82[_0x3c7b1b(0x213)])!=null?_0x1576e6:''};try{const _0xcca30=await this[_0x3c7b1b(0x221)][_0x3c7b1b(0x2f8)](_0x57daf4,{'body':_0x1a11c9});return _0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x3c2)]&&_0xcca30['body']['error'][_0x3c7b1b(0x254)]!==_0x2b80f3['OK']?_0x3c7b1b(0x1b3):_0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x1c3)];}catch{return _0x3c7b1b(0x1b3);}}},_0x4f0727['RemoteUniscriptService']=_0x13ef68([_0x2d3f6d(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x2d3f6d(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x2d3f6d(0x2,_0x4bf0bf[_0x37f8b3(0x43c)])],_0x4f0727['RemoteUniscriptService']);const _0x4410b9=0x7530,_0xea01d1=_0x37f8b3(0x1aa);class _0x139aab extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x3742c9=_0x37f8b3;super(),_0xd7033e(this,_0x3742c9(0x302),_0x4bf0bf[_0x3742c9(0x3b3)]()),_0xd7033e(this,_0x3742c9(0x2dd),new Set()),_0xd7033e(this,'_unitOnClients',new Map()),_0xd7033e(this,'_heartbeatTimer',null),_0xd7033e(this,_0x3742c9(0x413),new Map()),_0xd7033e(this,'_unitStatus',new Map()),this[_0x3742c9(0x3fd)]();}['dispose'](){const _0x18a121=_0x37f8b3;super[_0x18a121(0x248)](),this[_0x18a121(0x413)][_0x18a121(0x3a0)]((_0x108558,_0x56c350)=>this[_0x18a121(0x400)](_0x56c350)),this[_0x18a121(0x333)]&&window[_0x18a121(0x360)](this[_0x18a121(0x333)]);}['getUnitStatus$'](_0x3cb923){const _0x4206bd=_0x37f8b3;return this[_0x4206bd(0x1b6)](_0x3cb923)['pipe'](_0x28bd90['distinctUntilChanged']());}[_0x37f8b3(0x222)](_0x1957d6){const _0x554691=_0x37f8b3;this[_0x554691(0x2dd)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x554691(0x2dd)][_0x554691(0x24c)](_0x1957d6),this[_0x554691(0x211)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1957d6],'isForwarded':!0x1});}[_0x37f8b3(0x3eb)](_0x5e46a5){const _0x1111ac=_0x37f8b3;this[_0x1111ac(0x2dd)][_0x1111ac(0x26c)](_0x5e46a5),this[_0x1111ac(0x2dd)][_0x1111ac(0x2ec)]===0x0&&this[_0x1111ac(0x333)]&&window['clearInterval'](this[_0x1111ac(0x333)]);}[_0x37f8b3(0x3fd)](){const _0x28f032=_0x37f8b3;this[_0x28f032(0x215)](_0x4bf0bf[_0x28f032(0x192)](_0x28bd90[_0x28f032(0x436)](window,_0x28f032(0x382))[_0x28f032(0x1c1)](_0x3c65ef=>{const _0x3b0691=_0x28f032;if(_0x3c65ef[_0x3b0691(0x384)]!==_0xea01d1||!_0x3c65ef[_0x3b0691(0x28c)])return;const _0x1abd2c=JSON[_0x3b0691(0x1df)](_0x3c65ef[_0x3b0691(0x28c)]);this[_0x3b0691(0x18e)](_0x1abd2c);}))),window[_0x28f032(0x2f4)](_0x28f032(0x232),()=>this[_0x28f032(0x211)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x28f032(0x367)](this[_0x28f032(0x2dd)])}));}[_0x37f8b3(0x18e)](_0x3e6192){const _0x1caa38=_0x37f8b3;switch(_0x3e6192['type']){case 0x0:this[_0x1caa38(0x42d)](_0x3e6192);break;case 0x1:this['_handleLeaveEvent'](_0x3e6192);break;case 0x2:this[_0x1caa38(0x1fe)](_0x3e6192);break;}}[_0x37f8b3(0x42d)](_0x48c4be){const _0x298d2f=_0x37f8b3,{unitIDs:_0x29b789,memberID:_0x1d55c4,isForwarded:_0x5c608a}=_0x48c4be;_0x29b789[_0x298d2f(0x3a0)](_0x2bc2b6=>{const _0x4db74a=_0x298d2f;if(!_0x5c608a&&this[_0x4db74a(0x1e5)][_0x4db74a(0x33b)](_0x2bc2b6)&&this[_0x4db74a(0x1b6)](_0x2bc2b6)[_0x4db74a(0x322)](_0x5c1af6[_0x4db74a(0x2ce)][_0x4db74a(0x34e)]),!this['_unitOnClients'][_0x4db74a(0x33b)](_0x2bc2b6)||!this['_unitOnClients'][_0x4db74a(0x42f)](_0x2bc2b6)[_0x4db74a(0x33b)](_0x1d55c4)){const _0xa56abf=this[_0x4db74a(0x1e5)][_0x4db74a(0x42f)](_0x2bc2b6)||new Set();_0xa56abf[_0x4db74a(0x24c)](_0x1d55c4),this[_0x4db74a(0x1e5)][_0x4db74a(0x3a5)](_0x2bc2b6,_0xa56abf),this[_0x4db74a(0x383)](_0x1d55c4);}}),_0x5c608a||this[_0x298d2f(0x211)]({'type':0x0,'memberID':this[_0x298d2f(0x302)],'unitIDs':[...this[_0x298d2f(0x2dd)]],'isForwarded':!0x0});}[_0x37f8b3(0x383)](_0x341584){const _0x22f0ae=_0x37f8b3;this[_0x22f0ae(0x400)](_0x341584);const _0x51adb7=window[_0x22f0ae(0x426)](()=>{const _0xc8a001=_0x22f0ae;this['_unitOnClients'][_0xc8a001(0x3a0)](_0x5bd1e4=>{const _0x5e57b2=_0xc8a001;_0x5bd1e4[_0x5e57b2(0x26c)](_0x341584);});},_0x4410b9*0x2);this[_0x22f0ae(0x413)][_0x22f0ae(0x3a5)](_0x341584,_0x51adb7);}[_0x37f8b3(0x400)](_0x73150){const _0x2ce174=_0x37f8b3;if(this[_0x2ce174(0x413)][_0x2ce174(0x33b)](_0x73150)){const _0x4bb08f=this['_clearOtherTimers'][_0x2ce174(0x42f)](_0x73150);_0x4bb08f&&window[_0x2ce174(0x34f)](_0x4bb08f),this[_0x2ce174(0x413)]['set'](_0x73150,null);}}[_0x37f8b3(0x366)](_0x2e4782){const _0x20f3e0=_0x37f8b3,{memberID:_0x252ddd,unitIDs:_0x144d7a}=_0x2e4782;_0x144d7a[_0x20f3e0(0x3a0)](_0x501e93=>{const _0x1ff4ab=_0x20f3e0;var _0x54ecc4;const _0x56cefd=this['_unitOnClients'][_0x1ff4ab(0x42f)](_0x501e93);_0x56cefd&&(_0x56cefd[_0x1ff4ab(0x26c)](_0x252ddd),(_0x54ecc4=this[_0x1ff4ab(0x1b6)](_0x501e93))==null||_0x54ecc4[_0x1ff4ab(0x322)](_0x56cefd[_0x1ff4ab(0x2ec)]===0x0?_0x5c1af6['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x5c1af6[_0x1ff4ab(0x2ce)][_0x1ff4ab(0x34e)]));}),this['_removeClearOtherTimer'](_0x252ddd);}[_0x37f8b3(0x1fe)](_0x391b36){const _0x59d05c=_0x37f8b3;this[_0x59d05c(0x383)](_0x391b36['memberID']);}[_0x37f8b3(0x211)](_0x2e103d){const _0xcf75d1=_0x37f8b3;localStorage[_0xcf75d1(0x176)](_0xea01d1,JSON[_0xcf75d1(0x444)](_0x2e103d));}['_scheduleHeartbeat'](){const _0x550286=_0x37f8b3;this[_0x550286(0x333)]=window['setInterval'](()=>{const _0x137114=_0x550286;this[_0x137114(0x211)]({'type':0x2,'memberID':this[_0x137114(0x302)]});},_0x4410b9);}[_0x37f8b3(0x1b6)](_0x2f7c91){const _0x2da16b=_0x37f8b3;return this[_0x2da16b(0x1ae)][_0x2da16b(0x33b)](_0x2f7c91)||this['_unitStatus'][_0x2da16b(0x3a5)](_0x2f7c91,new _0x28bd90[(_0x2da16b(0x246))](_0x5c1af6[_0x2da16b(0x2ce)][_0x2da16b(0x2b5)])),this[_0x2da16b(0x1ae)][_0x2da16b(0x42f)](_0x2f7c91);}}_0x4f0727[_0x37f8b3(0x262)]=_0x30f389,_0x4f0727[_0x37f8b3(0x29e)]=_0x327b63,_0x4f0727[_0x37f8b3(0x21b)]=_0x139aab,_0x4f0727[_0x37f8b3(0x3c3)]=_0x1b2a83,Object[_0x37f8b3(0x41c)](_0x4f0727,Symbol[_0x37f8b3(0x33d)],{'value':_0x37f8b3(0x2a6)});}));function _0x2e8b(){const _0x42e953=['addEventListener','Unknown\x20user','removeParam','includes','post','USER_NOT_FOUND','PAYMENT_CHANNEL_NOT_SUPPORT','getTypeOfUnitDisposed$','mapTo','_lastResponseTimestamp','clipPath','addObjects','_scene','_commandService','_id','LOGIN_FAILED','runRefRangeMutations','DocCollaborationEntity','_drawRectRange','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','unshift','_collabSessionService','flatMap','DesktopCollaborationStatusDisplayController','_setupSubUnitSync','Rectangle','@univerjs/core','dispose$','UniverInstanceType','transformRemoteChangeset','defs','UNAUTHENTICATED','setActiveRange','merge','ticket','transformStateCache','mutations','height','FromArray','setConfig','_hideTimer','toString','releaseFormulaLimitUrl','url(#off-line-icon_clip0_910_343)','UniverProCollaboration','CLOSE_ROOM','next','_removeCollabCursors','dirtyRanges','white','PY_RUNTIME_SCRIPT_ERROR','getViewport','save','bottom','_getSessionTicket','resize','collabStatus.fetchMiss','function','SessionStatus','DOC_RANGE_TYPE','1pepGLb','jsx','getCoordByCell','_heartbeatTimer','getCollabEntity$','apply','_notificationService','_updateCollabCursors','_toggleOnline','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','has','RECT','toStringTag','INVITE_CODE_ALREADY_BOUND','fillText','body','SNAPSHOT_HAS_BEEN_REMOVED','on-line-icon_clip0_910_349','_doCreateSocket','_draw','UniverCollaborationClientPlugin','round','replaceState','BuiltInUIPart','serializeRangeWithSheet','CollaborationUIEventService','ALREADY_EXISTS','START_CALCULATION','react/jsx-runtime','OTHER_CLIENTS_EDITING','clearTimeout','stageInfo','LocaleService','onPointerMove$','OTHER_CLIENT_EDITING','onLocalMutation','YUUMI_RATE_OVER_LIMIT','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/engine-formula','show','parseInt','debounceTime','toRgbString','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','USER_IS_ANONYMOUS','_setFormulaLimitStatus','clearInterval','DataLoaderService','_initCommandInterceptor','_cachedData','currentColor','_entityInit$','_handleLeaveEvent','from','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','ThemeService','Shape','getValue','UniverCore','extend','restore','getMemberID','collabStatus.offline','300672hWevOd','UniverIcon','/universer-api/license/formula/limit/start','searchParams','hasOwnProperty','_shapes','_collaborationUIEventService','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','font','amd','getUniverSheetInstance','current','max','AUTHORIZE_CODE_ILLEGAL','transformMutation','storage','_scheduleClearOtherTimer','key','_render','_docStateChangeManagerService','@univerjs/design','_backgroundColor','4804590fNJODC','imageSourceType','setUndoRedoMutationParamsCache','roomMembers','INTERNAL_ERROR','disableLocalCache','complete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_beforeCloseService','getCurrentUnitForType','_refreshCollabCursors','USERS_LEAVE','getColorFromTheme','tag','react','DocStateChangeManagerService','triggerDblclick','_revisionService','IUIPartsService','addClipboardHook','lineTo','_imageIoService','startRow','forEach','_localStorageService','session.will-retry','url(#$1','split','set','fillStyle','sessionStatus$','top','VIEW_MAIN','MessageType','DependentOn','executeCommand','evenodd','UPDATE_CURSOR','replace','black','TOO_MANY_REQUESTS','translate(.97)','generateRandomId','TEXT','2011098qbFzvm','@univerjs/rpc','Injector','xlink:href','_cursorInfo$','setShapeProps','undoState','column','SheetSkeletonManagerService','entityInit$','_saveTaskMap','deepClone','_onRefRangeChange','error','WebURLService','REDEMPTION_CODE_INACTIVE','_getSheetObject','ENTITLE_CHAT_LIMIT_EXCEED','unsubscribe','SetDocZoomRatioOperation','_online','_labelPosition','UNIVER_SHEET','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assignAColorForMemberID','_sheetSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','transform','beforeCommandExecuted','RemoveRowCommandId','Warning','className','activeSheet$','_checkCalculationAvailable','InsertRowCommandId','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','transformMutationsWithChangeset','data','cursorInfo$','setAlpha','getUnitId','http://www.w3.org/2000/svg','3611730DsGwqy','path','runId','stage','_docSyncEditingCollabCursorService','ONLINE','_color','IMessageService','shareReplay','_range','getDocRanges','collaboration.closeRoom','disposeUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IDocClipboardService','hovered','findNodePositionByCharIndex','_logService','_pollingInterval','transformSelections','getRelativeToViewportCoord','transformIMECache','ITransformService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','propertyIsEnumerable','_transformService','_colorIndex','green.600','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','JOIN_ROOM_FAILED','_init','collabCursorState$','subscribeEvent','_removeClearOtherTimer','totalFormulasToCalculate','color','_saveCache','icon','ERROR_AGAIN','getColor','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon','roomMembers$','runOnServer','MUTATION','uni.network.url-service','Optional','loadUnit','_clearOtherTimers','handleInsertRangeMoveRight','_drawTextRange','sheetId','find','touchDependencies','_syncEditingCollabCursorService','_collabCursorController','useDependency','defineProperty','collabStatus.syncing','div','clsx','collab-text-range-','permission.title','registerComponent','UniverUi','UniverNetwork','_instanceService','setTimeout','M0\x200H16V16H0z','_name','functionsExecutedState','getUnit','deserializeRangeWithSheet','filter','_handleJoinEvent','_context','get','_dataLoaderService','AWAITING','useCallback','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','@univerjs/docs-ui','fromEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','Rect','mergeOverrideWithDependencies','collab-text-anchor-','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','AWAITING_WITH_PENDING','attrs','endColumn','debug','_assignedColors','on-line-icon','stringify','getSheetBySheetId','_hasFormulaInDirtyRanges','_anchor','params','_session','_refRangeService','ILogService','getUnhiddenWorksheets','registerRefRange','_initDependencies','_updateURLWithCurrentState','getActiveSheet','children','NodePositionConvertToRectRange','UNRECOGNIZED','some','...','href','red.300','fromEventSubject','symbol','INotificationService','setItem','collabStatus.notCollab','getMember','Success','TEXT_RANGE_LAYER_INDEX','prototype','displayName','moveTo','@univerjs/sheets','doc.mutation.rich-text-editing','_eventUnsubscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','EMAIL_VERIFY_CODE_MISMATCH','arc','length','InsertRangeMoveRightCommandId','init','closePath','Subject','getConfig','UniverCollaborationClientUIPlugin','createInstance','_startCalculationLimit','_handleEvent','_currentUsage','univer-flex\x20univer-items-center','_drawAnchor','toDisposable','_initStatusListener','@univerjs/sheets-ui','USER_NOT_INVITED_CODE','UNIVER_DOC','popstate','_urlService','_setupBeforeClosingHandler','INVALID_INVITE_CODE','_univerInstanceService','_cursorShapes','getTypeOfUnitAdded$','skeleton','Loading','createElement','MOBILE_HAS_BEEN_BOUND','_registerDependencies','pluginName','_docClipboardService','_cursor','object','endRow','ILocalCacheService','addObject','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs-pro/collaboration','_taskIds','concat','_unitStatus','_injector','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','indexOf','enableLocalCache','Failed','ENTITLE_CAN_NOT_BUY_LOWER_OTP','name','_ensureSubject','forwardRef','_initResize','@univerjs/docs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CHANGESET_REVISION_CONFILICT','SetFormulaCalculationNotificationMutation','_localeService','none','FormulaExecutedStateType','RxDisposable','subscribe','SHEET_VIEWPORT_KEY','result','actions','ICommandService','handleInsertRangeMoveDown','type','urlChange$','COMPLETION_FINISHED','ISocketService','_maxFormulaLimit','_releaseCalculationLimit','collab-client.tooltip.reconnect','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformMutationsWithChangesetSuccess','assign','beginPath','send','getSheetId','_createSocketURL','text','ranges','pipe','CollaborationUIEventId','_disabled','textRanges','UniverSheets','takeUntil','LOGIN_TOKEN_PROCESSING_FAILED','NOT_FOUND','parse','CanceledError','exhaustSavingTask','idSuffix','currentTheme$','currentSkeleton$','_unitOnClients','Plugin','1426758efegfO','handleDeleteRangeMoveLeft','_anchorDot','_onCursorDelete','getParam','startFormulaLimitUrl','string','invokeId','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_REPORT_LIMIT_EXCEED','_config','url(#on-line-icon_clip0_910_349)','getRangePointData','ENTITLE_DUP_SUBSCRIPTION','_docTransformStateCacheService','_transformPreviousActiveRange','EMAIL_HAS_BEEN_BOUND','useObservable','CURRENT_STATUS_CANNOT_OPERATE','UniverDesign','REDEMPTION_CODE_HAS_BEEN_CREATED','isArray','addHandlerCallback','_handleHeartbeatEvent','_handleHover','UniverEngineFormula','replaceDocRanges','MOBILE_VERIFY_CODE_MISMATCH','fillRule','limitInfo','unitId','selection','_hover','COLORS','[CollaborationDataLoaderController]','React','measureText','push','onMouseMove','currentUsage','blue.400','_clearPolling','_send','@univerjs/network','executionId','_getFormulaLimitStatus','disposeWithMe','getSkeleton','CONNECTOR_DATA_TOO_LARGE','_messageService','svg','drawWith','WebBrowserSingleActiveUnitService','requireSession','@univerjs/ui','CollaborationSessionService','rxjs','_collaborationController','_httpService','editingUnit','YUUMI_URL_COL_OUT_OF_RANGE','SetSelectionsOperation','_startSheetCollabCursor','onPointerEnter$','_hovered','getActiveRange','APPLY_REVISION_CONFILICT','getAncestorScale','UniverDocs','BrowserCollaborationSocketService','_textBubble','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabCursorState$','80CFJVNO','unitID','unload','engine','PERMISSION_DENIED','getItem','connectInjector','subUnitId','_scheduleSaving','UniverProCollaborationClient','_initEvent','_configService','override','formula.calculation.unable','values','isTransformMutationFailure','handleInsertCol','status$','FETCH_MISS','PENDING','2261727YcZoNu','_applyCommand','BehaviorSubject','NOT_COLLAB','dispose','_colorAssignService','_getMergeRange','useRef','add','_onCursorUpdate','width','_themeService','SetWorksheetActivateCommand','CommandType','CollaborationStatus','combineLatest','code','APPLY_DUPLICATED','RevisionService','_getScale','unit','isFormulaId','setParam','wsSessionTicketUrl','saveTaskMap','UniverEngineRender','ILocalStorageService','entries','univer-mr-2\x20univer-flex\x20univer-text-xl','sheetID','IURLService','Vector2','2214584kXTovh','history','ENTITLE_NEED_BILLING_ADDRESS','onPointerLeave$','Tools','_renderManagerService','CollaborationController','OnLineIcon','delete','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_NOT_STARTED','Error','startColumn','_toggleOffline','getOwnPropertyDescriptor','collaboration.single-unit.warning','defIds','call','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_cursors','getMergeData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocSelectionManagerService','WebSocketService','redoState','getCurrent','application/json','shift','docStateChange$','yellow.400','/universer-api/license/formula/limit/status','Disposable','then','CollaborationDataLoaderController','focused$','INVITE_CODE_REQUIRED','getCollabCursors$','debounce','exports','newValue','getUndoRedoMutationParamsCache','SYNCED','selections','getRenderById','ColorKit','formula.calculation.started','_docSkeleton','onCommandExecuted','session.collaboration-timeout','cursorInfo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoveColCommandId','operators','mask','getLocalCacheKey','EffectRefRangId','REDEMPTION_INVALID_CODE','SheetCollabCursorShape','reconnect','m1Prime','_startDocCollabCursor','1em','registerBeforeClose','search','event$','Module','sessionTicket','OffLineIcon','_checkAndWaitForCalculationPermission','RemoteUniscriptService','isActive','location','_docTransformSelectionsService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SUBMIT_CHANGESET_TIMEOUT','handleIRemoveCol','Inject','RichTextEditingMutation','origin','updateOfflineData','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_localCacheService','getStateCache','getOwnPropertySymbols','getCurrentRevOfUnit','getFocusedUnit','makeDirty','handleIRemoveRow','min','getCellMatrix','trim','_initEntityListener','0\x200\x2016\x2016','map','colorChannel1','DocIMEInputManagerService','LICENSE_DISTRO_REJECTED','RegularPolygon','MemberService','UniverDrawing','_docTransformIMECacheService','IImageIoService','_roomMembers$','UnitStatus','labelPosition','_initStatusComponent','Workbook','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','INVALID_ARGUMENT','hide','IRemoteInstanceService','fill','isEditing','_updateSubUnitFromURLParams','range','_updateLocalCursor','_selfUnitIDs','_entities','_getAnchorBounding','SOCKET_FAILED_RETRY','_showGuardMessage','switchMap','_memberService','OFFLINE','off-line-icon_clip0_910_343','0\x200\x2017\x2016','subunit','APPLY_NON_SEQUENTIAL_REVISION','HTTPService','Tooltip','now','size','DEFAULT_WS_SESSION_TICKET_URL','pushState','_status$','with','handleInsertRow','_transformUndoRedoStack','CONFLICT'];_0x2e8b=function(){return _0x42e953;};return _0x2e8b();}
|
|
1
|
+
function _0x513e(_0x1842c5,_0x2be88b){const _0x56dbb1=_0x56db();return _0x513e=function(_0x513ee6,_0x2d6fd6){_0x513ee6=_0x513ee6-0xed;let _0x2b4a16=_0x56dbb1[_0x513ee6];return _0x2b4a16;},_0x513e(_0x1842c5,_0x2be88b);}function _0x56db(){const _0x3e7259=['useObservable','_hideTimer','setActiveRange','_httpService','_config','override','TEXT','debounceTime','_document','_drawTextRange','isActive','clsx','lineTo','DocIMEInputManagerService','exports','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','forEach','_logService','_syncEditingCollabCursorService','getTypeOfUnitAdded$','setParam','round','WebSocketService','_showGuardMessage','params','dispose$','_injector','@univerjs/sheets-ui','entries','_dataLoaderService','unitId','length','_unitStatus','CanceledError','_removeCollabCursors','getViewport','RemoveColCommandId','activeSheet$','switchMap','#FFF','_handleLeaveEvent','closePath','UniverDocsUi','unit','currentColor','AUTHORIZE_CODE_ILLEGAL','stringify','onPointerEnter$','concat','_color','_revisionService','uni.network.url-service','none','some','OnLineIcon','2545450wqyeZW','mergeOverrideWithDependencies','ONLINE','getFocusedUnit','unload','touchDependencies','UNIVER_SHEET','cursorInfo$','newValue','collabStatus.fetchMiss','addClipboardHook','_onCursorUpdate','_toggleOnline','Module','IConfigService','RichTextEditingMutation','APPLY_PERMISSION_DENIED','redoState','object','deepClone','DisposableCollection','_getMergeRange','_initStatusComponent','Error','_scheduleHeartbeat','_collaborationController','executeCommand','_getScale','_startCalculationLimit','_updateCollabCursors','MOBILE_HAS_BEEN_BOUND','drawWith','YUUMI_AI_RUN_FAILED','_init','_cursors','getSheetObject','NOT_FOUND','moveTo','restore','searchParams','_setupBeforeClosingHandler','_transformPreviousActiveRange','RemoteUniscriptService','_range','_docTransformIMECacheService','INTERNAL_ERROR','USERS_LEAVE','onRendered','getStateCache','RxDisposable','collabStatus.synced','_registerRenderDependencies','@univerjs/docs','_hasFormulaInDirtyRanges','SessionStatus','REDEMPTION_USER_REDEEM_TIMES_EXCEED','translate(.97)','_labelPosition','_name','_selfUnitIDs','IURLService','history','top','_docStateChangeManagerService','React','_applyCommand','5278097VxXTrR','isFormulaId','height','parse','_cachedData','disposeWithMe','generateRandomId','defIds','_initResize','LICENSE_IMPORT_SIZE_EXCEEDED','RemoveRowCommandId','then','selection','useDependency','InsertRangeMoveRightCommandId','Failed','SetFormulaCalculationNotificationMutation','_context','getTypeOfUnitDisposed$','defineProperty','_initStatusListener','storage','DeleteRangeMoveUpCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getAncestorScale','_hovered','from','formula.calculation.waiting','prototype','0\x200\x2017\x2016','imageSourceType','JOIN_ROOM_FAILED','location','onPointerMove$','syncEditingCollabCursor','width','hide','@univerjs/design','ITransformService','getVpScrollXYInfoByPosToVp','setShapeProps','roomMembers','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','getColorFromTheme','loadUnit','getCoordByCell','setTimeout','_memberService','string','REDEMPTION_CODE_HAS_BEEN_CREATED','COLORS','CollaborationController','handleInsertRangeMoveDown','div','getOwnPropertyDescriptor','includes','fill','_toggleOffline','isTransformMutationFailure','_cursor','UniverInstanceType','getParam','_online','white','INVALID_ARGUMENT','MoveRangeCommandId','CLOSE_ROOM','runId','IMessageService','PAYMENT_CHANNEL_NOT_SUPPORT','substring','jsx','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','_getFormulaLimitStatus','NOT_COLLAB','getCurrentUnitForType','permission.content','WebURLService','pipe','IUniverInstanceService','OFFLINE','UniverIcon','collabStatus.offline','clearTimeout','LICENSE_DISTRO_REJECTED','_refreshCollabCursors','onPointerLeave$','send','combineLatest','getOwnPropertySymbols','startsWith','OTHER_CLIENT_EDITING','UniverDocs','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','actions','transformSelections','children','addHandlerCallback','skeleton','CollaborationDataLoaderController','resize','AWAITING_WITH_PENDING','exhaustSavingTask','[CollaborationDataLoaderController]','yellow.400','column','href','docStateChange$','_initEvent','CollaborationEvent','ERROR_AGAIN','mutations','assignAColorForMemberID','labelPosition','YUUMI_RATE_OVER_LIMIT','replaceState','LocaleService','formula.calculation.unable','_lastResponseTimestamp','_lastPointer','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','whenReady','231HUmPmS','REDEMPTION_INVALID_CODE','_scheduleClearOtherTimer','sheetID','EMAIL_VERIFY_CODE_MISMATCH','xlink:href','textRanges','collaboration-client-ui.config','_maxFormulaLimit','size','1em','selections','cursorInfo','className','createIdentifier','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','text','INotificationService','_collaborationUIEventService','addObject','values','_uiPartsService','_initCommandExecutedListener','font','_handleHeartbeatEvent','_initDependencies','getCurrentRevOfUnit','flatMap','SNAPSHOT_INVALID_SNAPSHOT','distinctUntilChanged','startRow','Success','1838aMoiBM','IImageIoService','getSkeleton','addEventListener','isArray','addObjects','disableLocalCache','getValue','_unitOnClients','_renderManagerService','ILocalCacheService','color','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','status$','_removeClearOtherTimer','_anchor','CONFLICT','ILogService','_transformUndoRedoStack','sheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_backgroundColor','transformMutation','getMergeData','_univerInstanceService','init','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','SetDocZoomRatioOperation','UNIVER_DOC','@univerjs/docs-ui','UniverSheets','find','setConfig','post','InsertRangeMoveDownCommandId','data','collabStatus.conflict','ENTITLE_NEED_BILLING_ADDRESS','event$','UniverDesign','set','replace','_assignedColors','onMouseMove','_docTransformSelectionsService','contains','_drawRectRange','11487XcLYrB','key','_send','engine','_disabled','YUUMI_CONNECTOR_URL_NOT_FOUND','AWAITING','code','APPLY_DUPLICATED','REDEMPTION_CODE_NOT_STARTED','UniverCollaborationClientUIPlugin','collabCursorState$','@univerjs/core','UPDATE_CURSOR','getCellPositionByOffset','saveImage','registerRenderModule','serializeRangeWithSheet','PENDING','name','@univerjs/rpc','delete','_registerDependencies','apply','attrs','symbol','on-line-icon_clip0_910_349','isTransformMutationsWithChangesetSuccess','createElement','_messageService','getLocalCacheKey','/universer-api/license/formula/limit/status','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','fillRule','UniverSheetsUi','CollaborationStatus','displayName','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','_getSheetObject','throttleTime','memberID','collab-client.tooltip.reconnect','UniverProCollaborationClientUi','_handleJoinEvent','_setupSubUnitSync','SheetsSelectionsService','call','subUnitId','CHANGESET_REVISION_CONFILICT','runOnServer','reconnect','function','with','InsertColCommandId','collab-text-range-','COMPLETION_FINISHED','_drawAnchor','now','requireSession','_clearOtherTimers','assign','Disposable','error','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/license/formula/limit/done','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ALREADY_EXISTS','FormulaExecuteStageType','ColorKit','currentSkeleton$','green.600','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','connectInjector','DocSelectionManagerService','RECT','startFormulaLimitUrl','SYNCED','getSheetBySheetId','getRenderById','CollaborationSocketService','getUnhiddenWorksheets','getCurrentSelections','stage','unitID','UniverCore','tag','transform','jsxs','@univerjs/network','BehaviorSubject','permission.title','EffectRefRangId','HTTPService','BrowserCollaborationSocketService','asObservable','_draw','shift','TRANSFORM_CHANGE_OBSERVABLE_TYPE','hovered','runRefRangeMutations','icon','mask','_status$','SNAPSHOT_HAS_BEEN_REMOVED','defs','_beforeCloseService','@univerjs/engine-formula','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','add','_roomMembers$','_saveTaskMap','_onRefRangeChange','getUndoRedoMutationParamsCache','_ensureSubject','MemberService','session.collaboration-timeout','UniverUi','rxjs','url(#off-line-icon_clip0_910_343)','Rectangle','CollaborationUIEventId','blue.400','collab-text-anchor-','setUndoRedoMutationParamsCache','NodePositionConvertToCursor','fromEvent','setAlpha','PERMISSION_DENIED','_docClipboardService','colorChannel1','getActiveSheet','svg','_onCursorDelete','M0\x200H16V16H0z','arc','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','toRgbString','random','_collabCursorController','currentTheme$','jiqing.500','_saveCache','takeUntil','dispose','getformulaLimitStatusUrl','popstate','CommandType','saveTaskMap','UniverDrawing','...','findNodePositionByCharIndex','m1Prime','undoState','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','SetWorksheetActivateCommand','_sheetSkeletonManagerService','on-line-icon','EMAIL_HAS_BEEN_BOUND','push','pushState','_transformService','handleMoveRange','INVITE_CODE_HAS_BEEN_UES','ILocalStorageService','totalFormulasToCalculate','Unknown\x20user','univer-flex\x20univer-items-center','getItem','entityInit$','REDEMPTION_USER_NOT_ELIGIBLE','mapTo','UniverProCollaborationClient','_id','transformByState','forwardRef','ENTITLE_CAN_NOT_BUY_LOWER_OTP','m2Prime','url(#$1','fillText','_localStorageService','FormulaExecutedStateType','black','_updateLocalCursor','_commandService','save','?taskId=','handleDeleteRangeMoveLeft','roomMembers$','SOCKET_FAILED','APPLY_REVISION_CONFILICT','CURRENT_STATUS_CANNOT_OPERATE','fillStyle','off-line-icon_clip0_910_343','clearInterval','enableLocalCache','START_CALCULATION','DOC_RANGE_TYPE','subscribeEvent','trim','ThemeService','_clearPolling','UniverEngineFormula','_pollingInterval','formula.calculation.started','USER_NOT_FOUND','getUnit','application/json','handleInsertCol','LICENSE_EXPORT_SIZE_EXCEEDED','_transformHistoryAndStateStack','handleIRemoveCol','eventID','_startSheetCollabCursor','onCommandExecuted','idSuffix','RevisionService','_collabSessionService','Injector','WECHAT_HAS_BEEN_BOUND','_updateURLWithCurrentState','parseInt','Subject','DeleteRangeMoveLeftCommandId','indexOf','@univerjs/ui','UniverRpc','evenodd','removeParam','getColor','rxjs/operators','off-line-icon','setStateCache','UNAUTHENTICATED','source','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','show','1188zRnZcZ','709bpWZmx','disposeUnit','_heartbeatTimer','NO_OTHER_CLIENTS_EDITING','next','_instanceService','_urlService','collaboration-client.offline-data-not-saved','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','shareReplay','MUTATION','beforeCommandExecuted','_currentUsage','_entities','DataLoaderService','subscribe','9umoBib','toStringTag','Inject','extend','operators','beginPath','351296uKNKpl','endRow','DesktopCollaborationStatusDisplayController','_handleEvent','path','createSocket','currentUsage','_scene','APPLY_REJECT','use','red.300','toDisposable','isFormulaString','clipPath','FETCH_MISS','OTHER_CLIENTS_EDITING','Vector2','focused$','_configService','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','limitInfo','_setFormulaLimitStatus','_releaseCalculationLimit','transformStateCache','sessionTicket','PY_RUNTIME_SCRIPT_ERROR','transformIMECache','univerjs-icon\x20univerjs-icon-','doc.mutation.rich-text-editing','has','WebBrowserSingleActiveUnitService','USER_IS_ANONYMOUS','_docTransformStateCacheService','DocStateChangeManagerService','type','getActiveRange','measureText','setItem','REDEMPTION_CODE_FULLY_REDEEMED','UnitStatus','complete','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Loading','subunit','react/jsx-runtime','getDocRanges','RefRangeService','_initEntityListener','Rect','_updateSubUnitFromURLParams','_docSyncEditingCollabCursorService','_taskIds','unshift','_notificationService','_initCommandInterceptor','onStarting','handleIRemoveRow','bottom','getMember','min','DependentOn','_handleHover','map','_localeService','ENTITLE_DUP_SUBSCRIPTION','Warning','TEXT_RANGE_LAYER_INDEX','debounce','UNRECOGNIZED','_colorIndex','_imageIoService','collaboration.closeRoom','origin','_session','13932ZLxsyc','getSheetId','FromArray','MessageType','getCollabCursors$','getUniverSheetInstance','_checkAndWaitForCalculationPermission','purple.300','hasOwnProperty','body','SetSelectionsOperation','INVALID_INVITE_CODE','Tools','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onLocalMutation','_entityInit$','SheetSkeletonManagerService','1942435BincxM','_hover','getUnitId','getCollabEntity$','_createSocketURL','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_cursorShapes','current','getConfig','max','_render','_getSaveTimeout','filter','ICommandService','toString','get','ISnapshotServerService','YUUMI_ALL_TABLES_IS_INVALID','ISocketService','SHEET_VIEWPORT_KEY','_refRangeService','_textBubble','_eventUnsubscribe','ENTITLE_CHAT_LIMIT_EXCEED','range','split','LOGIN_FAILED','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','LOGIN_TOKEN_PROCESSING_FAILED','endColumn','UniverProCollaboration','_docSkeletonManagerService','_docSkeleton','_getSessionTicket','CollaborationSessionService','unsubscribe','useCallback','_scheduleSaving','registerRefRange','_themeService','loadOfflineData','getMemberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x56db=function(){return _0x3e7259;};return _0x56db();}(function(_0x2b6456,_0x599088){const _0x372eaa=_0x513e,_0x56f19d=_0x2b6456();while(!![]){try{const _0x5c54cc=parseInt(_0x372eaa(0x260))/0x1*(parseInt(_0x372eaa(0x13c))/0x2)+parseInt(_0x372eaa(0x11c))/0x3*(-parseInt(_0x372eaa(0x2c0))/0x4)+-parseInt(_0x372eaa(0x2d2))/0x5+-parseInt(_0x372eaa(0x25f))/0x6*(-parseInt(_0x372eaa(0x16c))/0x7)+-parseInt(_0x372eaa(0x276))/0x8+parseInt(_0x372eaa(0x270))/0x9*(-parseInt(_0x372eaa(0x336))/0xa)+parseInt(_0x372eaa(0x378))/0xb;if(_0x5c54cc===_0x599088)break;else _0x56f19d['push'](_0x56f19d['shift']());}catch(_0xb684ab){_0x56f19d['push'](_0x56f19d['shift']());}}}(_0x56db,0x7a5bd),function(_0x35f860,_0x326eb1){const _0x45cdcf=_0x513e;typeof exports==_0x45cdcf(0x348)&&typeof module<'u'?_0x326eb1(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==_0x45cdcf(0x1a1)&&define['amd']?define([_0x45cdcf(0x30c),_0x45cdcf(0x2a2),'@univerjs-pro/collaboration-client',_0x45cdcf(0x178),_0x45cdcf(0x253),_0x45cdcf(0x1e6),_0x45cdcf(0x39d),'react',_0x45cdcf(0x180),'@univerjs/sheets','@univerjs/engine-render',_0x45cdcf(0x1c9),_0x45cdcf(0x15a),'@univerjs/drawing','@univerjs-pro/collaboration',_0x45cdcf(0x36a),_0x45cdcf(0x1db),_0x45cdcf(0x258),_0x45cdcf(0x31a)],_0x326eb1):(_0x35f860=typeof globalThis<'u'?globalThis:_0x35f860||self,_0x326eb1(_0x35f860[_0x45cdcf(0x198)]={},_0x35f860[_0x45cdcf(0x376)],_0x35f860[_0x45cdcf(0x21e)],_0x35f860[_0x45cdcf(0x1c5)],_0x35f860[_0x45cdcf(0x1e5)],_0x35f860[_0x45cdcf(0x1e6)],_0x35f860[_0x45cdcf(0x164)],_0x35f860['React'],_0x35f860[_0x45cdcf(0x254)],_0x35f860[_0x45cdcf(0x15b)],_0x35f860['UniverEngineRender'],_0x35f860['UniverNetwork'],_0x35f860[_0x45cdcf(0x329)],_0x35f860[_0x45cdcf(0x206)],_0x35f860[_0x45cdcf(0x2f1)],_0x35f860[_0x45cdcf(0xfc)],_0x35f860[_0x45cdcf(0x23c)],_0x35f860[_0x45cdcf(0x1e6)][_0x45cdcf(0x274)],_0x35f860[_0x45cdcf(0x18f)]));}(this,function(_0x1e0a34,_0x27d4ff,_0x24c19b,_0x20afdc,_0x351287,_0x388e9f,_0x1e0555,_0x333f4a,_0x44fd1d,_0xecf1fb,_0x314741,_0x12e6c2,_0x4c9f55,_0x515276,_0x5d9b62,_0x52be1c,_0x5892b7,_0x309597,_0x28415e){'use strict';const _0x1bfb44=_0x513e;var _0x585670=Object[_0x1bfb44(0x38b)],_0x2af35e=(_0x4af6ce,_0x4ffddf,_0x2db5c8)=>_0x4ffddf in _0x4af6ce?_0x585670(_0x4af6ce,_0x4ffddf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2db5c8}):_0x4af6ce[_0x4ffddf]=_0x2db5c8,_0x46e3b1=(_0x4264fc,_0x597ed3,_0x10f47a)=>_0x2af35e(_0x4264fc,typeof _0x597ed3!=_0x1bfb44(0x185)?_0x597ed3+'':_0x597ed3,_0x10f47a),_0x1245a4=function(){const _0x3460f3=_0x1bfb44;return _0x1245a4=Object['assign']||function(_0x300e71){const _0x2f0d55=_0x513e;for(var _0x3c8db5,_0x1b0786=0x1,_0x58f89f=arguments[_0x2f0d55(0x31e)];_0x1b0786<_0x58f89f;_0x1b0786++){_0x3c8db5=arguments[_0x1b0786];for(var _0x41175b in _0x3c8db5)Object[_0x2f0d55(0x394)][_0x2f0d55(0x2c8)][_0x2f0d55(0x19c)](_0x3c8db5,_0x41175b)&&(_0x300e71[_0x41175b]=_0x3c8db5[_0x41175b]);}return _0x300e71;},_0x1245a4[_0x3460f3(0x183)](this,arguments);},_0x568d81=function(_0x26ee96,_0x35096e){const _0x518cfa=_0x1bfb44;var _0x19cd26={};for(var _0xc2ae61 in _0x26ee96)Object[_0x518cfa(0x394)]['hasOwnProperty'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61)&&_0x35096e[_0x518cfa(0x252)](_0xc2ae61)<0x0&&(_0x19cd26[_0xc2ae61]=_0x26ee96[_0xc2ae61]);if(_0x26ee96!=null&&typeof Object[_0x518cfa(0xf9)]=='function'){for(var _0x4405e5=0x0,_0xc2ae61=Object[_0x518cfa(0xf9)](_0x26ee96);_0x4405e5<_0xc2ae61[_0x518cfa(0x31e)];_0x4405e5++)_0x35096e['indexOf'](_0xc2ae61[_0x4405e5])<0x0&&Object[_0x518cfa(0x394)]['propertyIsEnumerable'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61[_0x4405e5])&&(_0x19cd26[_0xc2ae61[_0x4405e5]]=_0x26ee96[_0xc2ae61[_0x4405e5]]);}return _0x19cd26;},_0x779480=_0x333f4a[_0x1bfb44(0x221)](function(_0x3cfcb2,_0x324e8d){const _0xdc6fc1=_0x1bfb44;var _0x14a97f=_0x3cfcb2[_0xdc6fc1(0x1d5)],_0x588588=_0x3cfcb2['id'],_0x1c9d6d=_0x3cfcb2[_0xdc6fc1(0x129)],_0x57b948=_0x3cfcb2[_0xdc6fc1(0x273)],_0x26c4c9=_0x568d81(_0x3cfcb2,[_0xdc6fc1(0x1d5),'id',_0xdc6fc1(0x129),_0xdc6fc1(0x273)]),_0xed4cd6=_0xdc6fc1(0x291)['concat'](_0x588588,'\x20')[_0xdc6fc1(0x32f)](_0x1c9d6d||'')[_0xdc6fc1(0x239)](),_0x46f398=_0x333f4a['useRef']('_'[_0xdc6fc1(0x32f)](_0x1783ae()));return _0x2b957b(_0x14a97f,''['concat'](_0x588588),{'defIds':_0x14a97f[_0xdc6fc1(0x37f)],'idSuffix':_0x46f398[_0xdc6fc1(0x2d9)]},_0x1245a4({'ref':_0x324e8d,'className':_0xed4cd6},_0x26c4c9),_0x57b948);});function _0x2b957b(_0x28d26b,_0x480a1c,_0x16ee47,_0x5203f9,_0x2fa80e){const _0x2893d3=_0x1bfb44;return _0x333f4a[_0x2893d3(0x188)](_0x28d26b[_0x2893d3(0x1c6)],_0x1245a4(_0x1245a4({'key':_0x480a1c},_0x174e4b(_0x28d26b,_0x16ee47,_0x2fa80e)),_0x5203f9),(_0x4be73d(_0x28d26b,_0x16ee47)[_0x2893d3(0x101)]||[])[_0x2893d3(0x2b4)](function(_0x369d28,_0x54c367){const _0x4602ed=_0x2893d3;return _0x2b957b(_0x369d28,''['concat'](_0x480a1c,'-')[_0x4602ed(0x32f)](_0x28d26b[_0x4602ed(0x1c6)],'-')[_0x4602ed(0x32f)](_0x54c367),_0x16ee47,void 0x0,_0x2fa80e);}));}function _0x174e4b(_0x3a2bcd,_0xb7d4b1,_0x4063af){const _0x1b73f5=_0x1bfb44;var _0x54cc4a=_0x1245a4({},_0x3a2bcd[_0x1b73f5(0x184)]);_0x4063af!=null&&_0x4063af[_0x1b73f5(0x1f2)]&&_0x54cc4a[_0x1b73f5(0x3b1)]==='colorChannel1'&&(_0x54cc4a[_0x1b73f5(0x3b1)]=_0x4063af[_0x1b73f5(0x1f2)]),_0x3a2bcd[_0x1b73f5(0x1c6)]===_0x1b73f5(0x1d6)&&_0x54cc4a['id']&&(_0x54cc4a['id']=_0x54cc4a['id']+_0xb7d4b1['idSuffix']),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x192256){const _0xcf27b5=_0x1b73f5;var _0xbcae7=_0x192256[0x0],_0x50306d=_0x192256[0x1];_0xbcae7===_0xcf27b5(0x1d6)&&typeof _0x50306d==_0xcf27b5(0x3a9)&&(_0x54cc4a[_0xbcae7]=_0x50306d['replace'](/url\(#(.*)\)/,_0xcf27b5(0x224)[_0xcf27b5(0x32f)](_0xb7d4b1[_0xcf27b5(0x249)],')')));});var _0x16a70f=_0xb7d4b1[_0x1b73f5(0x37f)];return!_0x16a70f||_0x16a70f[_0x1b73f5(0x31e)]===0x0||(_0x3a2bcd['tag']===_0x1b73f5(0x27f)&&_0x54cc4a[_0x1b73f5(0x121)]&&(_0x54cc4a[_0x1b73f5(0x121)]=_0x54cc4a[_0x1b73f5(0x121)]+_0xb7d4b1[_0x1b73f5(0x249)]),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x20d9ee){const _0x23a816=_0x1b73f5;var _0x85460c=_0x20d9ee[0x0],_0x25615e=_0x20d9ee[0x1];typeof _0x25615e==_0x23a816(0x3a9)&&(_0x54cc4a[_0x85460c]=_0x25615e[_0x23a816(0x166)](/url\(#(.*)\)/,'url(#$1'[_0x23a816(0x32f)](_0xb7d4b1[_0x23a816(0x249)],')')));})),_0x54cc4a;}function _0x4be73d(_0x2b0cfb,_0x32b618){const _0x740d7b=_0x1bfb44;var _0x3867ec,_0x54f9d6=_0x32b618[_0x740d7b(0x37f)];return!_0x54f9d6||_0x54f9d6[_0x740d7b(0x31e)]===0x0?_0x2b0cfb:_0x2b0cfb['tag']===_0x740d7b(0x1d9)&&(!((_0x3867ec=_0x2b0cfb[_0x740d7b(0x101)])===null||_0x3867ec===void 0x0)&&_0x3867ec['length'])?_0x1245a4(_0x1245a4({},_0x2b0cfb),{'children':_0x2b0cfb[_0x740d7b(0x101)][_0x740d7b(0x2b4)](function(_0x6125c9){const _0x49d529=_0x740d7b;return typeof _0x6125c9[_0x49d529(0x184)]['id']==_0x49d529(0x3a9)&&_0x54f9d6&&_0x54f9d6[_0x49d529(0x3b0)](_0x6125c9[_0x49d529(0x184)]['id'])?_0x1245a4(_0x1245a4({},_0x6125c9),{'attrs':_0x1245a4(_0x1245a4({},_0x6125c9['attrs']),{'id':_0x6125c9[_0x49d529(0x184)]['id']+_0x32b618['idSuffix']})}):_0x6125c9;})}):_0x2b0cfb;}function _0x1783ae(){const _0x26f8f5=_0x1bfb44;return Math[_0x26f8f5(0x1fb)]()[_0x26f8f5(0x2e0)](0x24)[_0x26f8f5(0x3bf)](0x2,0x8);}_0x779480['displayName']=_0x1bfb44(0xf1);var _0x34ed98={'tag':_0x1bfb44(0x1f4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':'0\x200\x2016\x2016','width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bfb44(0x1e7)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x289),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6)}}]}]}],'defIds':[_0x1bfb44(0x233)]},_0x558722=_0x333f4a['forwardRef'](function(_0x9c77a8,_0x513e15){const _0x10c70d=_0x1bfb44;return _0x333f4a['createElement'](_0x779480,Object[_0x10c70d(0x1aa)]({},_0x9c77a8,{'id':_0x10c70d(0x259),'ref':_0x513e15,'icon':_0x34ed98}));});_0x558722[_0x1bfb44(0x191)]='OffLineIcon';var _0x125f43={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':_0x1bfb44(0x395),'width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x25d),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':_0x1bfb44(0x1d9),'attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':_0x1bfb44(0x186)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6),'transform':_0x1bfb44(0x36e)}}]}]}],'defIds':[_0x1bfb44(0x186)]},_0x392f5f=_0x333f4a[_0x1bfb44(0x221)](function(_0x138b57,_0x1da675){const _0x576612=_0x1bfb44;return _0x333f4a[_0x576612(0x188)](_0x779480,Object['assign']({},_0x138b57,{'id':_0x576612(0x20f),'ref':_0x1da675,'icon':_0x125f43}));});_0x392f5f[_0x1bfb44(0x191)]=_0x1bfb44(0x335);function _0x1055ce(_0x5698fb){const _0x162ff3=_0x1bfb44;switch(_0x5698fb){case _0x24c19b['CollaborationStatus'][_0x162ff3(0xf0)]:return _0x162ff3(0xf2);case _0x24c19b[_0x162ff3(0x190)]['CONFLICT']:return _0x162ff3(0x161);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x284)]:return _0x162ff3(0x33f);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x3c4)]:return'collabStatus.notCollab';case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x172)]:case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x106)]:return'collabStatus.syncing';case _0x24c19b['CollaborationStatus'][_0x162ff3(0x1bd)]:case _0x24c19b['CollaborationStatus'][_0x162ff3(0x17e)]:return _0x162ff3(0x368);}}function _0x355a77(_0x1a5e6d){const _0x70f199=_0x1bfb44,{status$:_0x78194a}=_0x1a5e6d,_0x1a131b=_0x351287[_0x70f199(0x2fe)](_0x78194a,_0x24c19b[_0x70f199(0x190)][_0x70f199(0x3c4)]),_0x2547d1=_0x351287['useDependency'](_0x20afdc[_0x70f199(0x115)]),_0x32ecb7=_0x351287[_0x70f199(0x385)](_0x24c19b[_0x70f199(0x2f5)]),_0x3ba3dd=_0x1a131b!==_0x24c19b['CollaborationStatus']['OFFLINE'],_0x45eda7=_0x2547d1['t'](_0x1055ce(_0x1a131b)),_0x5ce372=_0x3ba3dd?_0x27d4ff['jsx'](_0x392f5f,{}):_0x27d4ff[_0x70f199(0x3c0)](_0x558722,{}),_0x2b5dc0=_0x333f4a[_0x70f199(0x2f7)](()=>{const _0x2d2bc6=_0x70f199;_0x3ba3dd||_0x32ecb7[_0x2d2bc6(0x1a0)]();},[_0x3ba3dd,_0x32ecb7]);function _0x5e551e(){const _0x1baf98=_0x70f199;return _0x27d4ff[_0x1baf98(0x1c8)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x219),'onClick':_0x2b5dc0,'children':[_0x27d4ff[_0x1baf98(0x3c0)]('div',{'className':_0x1e0555[_0x1baf98(0x309)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3ba3dd,'univer-text-red-500':!_0x3ba3dd}),'children':_0x5ce372}),_0x27d4ff[_0x1baf98(0x3c0)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x1dc),'children':_0x45eda7})]});}return _0x3ba3dd?_0x5e551e():_0x27d4ff['jsx'](_0x1e0555['Tooltip'],{'title':_0x2547d1['t'](_0x70f199(0x197)),'children':_0x5e551e()});}var _0x474dfe=Object['getOwnPropertyDescriptor'],_0x2a5508=(_0x3ebe2d,_0x54ae2b,_0x37da11,_0x26da89)=>{for(var _0x190f2b=_0x26da89>0x1?void 0x0:_0x26da89?_0x474dfe(_0x54ae2b,_0x37da11):_0x54ae2b,_0x5cf1bf=_0x3ebe2d['length']-0x1,_0x1f2970;_0x5cf1bf>=0x0;_0x5cf1bf--)(_0x1f2970=_0x3ebe2d[_0x5cf1bf])&&(_0x190f2b=_0x1f2970(_0x190f2b)||_0x190f2b);return _0x190f2b;},_0x3a8d27=(_0x43ad9e,_0x40cfe3)=>(_0x3525a3,_0x480187)=>_0x40cfe3(_0x3525a3,_0x480187,_0x43ad9e);_0x1e0a34[_0x1bfb44(0x278)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5aae33,_0xeafd68,_0x28df07,_0x35b576){const _0x229884=_0x1bfb44;super(),_0x46e3b1(this,_0x229884(0x1d7),new _0x388e9f[(_0x229884(0x1ca))](_0x24c19b[_0x229884(0x190)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5aae33,this[_0x229884(0x319)]=_0xeafd68,this['_collaborationController']=_0x28df07,this[_0x229884(0x131)]=_0x35b576,this[_0x229884(0x34c)](),this['_initStatusListener']());}[_0x1bfb44(0x38c)](){const _0xf1dfd6=_0x1bfb44;this[_0xf1dfd6(0x37d)](this[_0xf1dfd6(0x154)][_0xf1dfd6(0x287)][_0xf1dfd6(0xee)](_0x388e9f[_0xf1dfd6(0x325)](()=>{const _0x356f25=_0xf1dfd6,_0x3db1df=this[_0x356f25(0x154)][_0x356f25(0x339)]();return _0x3db1df?this['_collaborationController'][_0x356f25(0x2d5)](_0x3db1df[_0x356f25(0x2d4)]()):_0x388e9f['of'](null);}),_0x388e9f[_0xf1dfd6(0x325)](_0x534690=>_0x534690?_0x534690[_0xf1dfd6(0x149)]:_0x388e9f['of'](_0x24c19b[_0xf1dfd6(0x190)][_0xf1dfd6(0x3c4)])))[_0xf1dfd6(0x26f)](_0x18239b=>{const _0x19ee2e=_0xf1dfd6;this[_0x19ee2e(0x1d7)][_0x19ee2e(0x264)](_0x18239b);}));}[_0x1bfb44(0x34c)](){const _0x231947=_0x1bfb44;this[_0x231947(0x37d)](this[_0x231947(0x131)]['registerComponent'](_0x351287['BuiltInUIPart']['HEADER_MENU'],()=>_0x351287[_0x231947(0x1b9)](_0x2f844f({'status$':this['_status$'][_0x231947(0x1cf)]()}),this[_0x231947(0x319)])));}},_0x1e0a34[_0x1bfb44(0x278)]=_0x2a5508([_0x3a8d27(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x3a8d27(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x3a8d27(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x3ac)])),_0x3a8d27(0x3,_0x351287['IUIPartsService'])],_0x1e0a34['DesktopCollaborationStatusDisplayController']);function _0x2f844f(_0x77555a){const {status$:_0x5a6c35}=_0x77555a;return function(){const _0x18ffa5=_0x513e;return _0x27d4ff[_0x18ffa5(0x3c0)](_0x355a77,{'status$':_0x5a6c35});};}const _0x562000=_0x20afdc[_0x1bfb44(0x12a)](_0x1bfb44(0x332));var _0x4e6585=Object[_0x1bfb44(0x3af)],_0x5acf67=(_0x15814e,_0x560e8f,_0x6ca113,_0x404d23)=>{for(var _0x352f1a=_0x404d23>0x1?void 0x0:_0x404d23?_0x4e6585(_0x560e8f,_0x6ca113):_0x560e8f,_0x4bbd55=_0x15814e['length']-0x1,_0x431e0c;_0x4bbd55>=0x0;_0x4bbd55--)(_0x431e0c=_0x15814e[_0x4bbd55])&&(_0x352f1a=_0x431e0c(_0x352f1a)||_0x352f1a);return _0x352f1a;},_0x5380bc=(_0x3cfcd2,_0x10f03f)=>(_0x1190bf,_0x42fb55)=>_0x10f03f(_0x1190bf,_0x42fb55,_0x3cfcd2);_0x1e0a34[_0x1bfb44(0x104)]=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x30fbda,_0x62729,_0x93b189,_0x20336f,_0x269c34){const _0xbd2442=_0x1bfb44;super(),this[_0xbd2442(0x266)]=_0x30fbda,this[_0xbd2442(0x310)]=_0x62729,this[_0xbd2442(0x22a)]=_0x93b189,this['_dataLoaderService']=_0x20336f,_0x269c34?_0x269c34==null||_0x269c34[_0xbd2442(0x11b)]()['then'](()=>this['_init']()):(this[_0xbd2442(0x310)]['debug'](_0xbd2442(0x108),_0xbd2442(0x2ce)),this[_0xbd2442(0x357)]());}async['_init'](){const _0x33756f=_0x1bfb44,_0x224b89=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x32a)),_0x1895ea=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x298)),_0x144801=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x2a1));if(!_0x224b89||!_0x1895ea){this[_0x33756f(0x310)][_0x33756f(0x2cd)](_0x33756f(0x108),_0x33756f(0x2fd));return;}const _0x38d0eb=await this[_0x33756f(0x31c)][_0x33756f(0x3a5)](_0x224b89,Number(_0x1895ea),_0x144801);_0x38d0eb&&_0x38d0eb instanceof _0x20afdc['Workbook']&&this[_0x33756f(0x19a)](_0x38d0eb);}async[_0x1bfb44(0x19a)](_0x3d7072){const _0x12edfd=_0x1bfb44;await this[_0x12edfd(0x2a7)](_0x3d7072),_0x3d7072[_0x12edfd(0x324)][_0x12edfd(0xee)](_0x388e9f['takeUntil'](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](_0xfe2339=>{const _0x1b17c6=_0x12edfd;_0xfe2339&&this[_0x1b17c6(0x24e)](_0xfe2339);}),this[_0x12edfd(0x266)]['urlChange$'][_0x12edfd(0xee)](_0x388e9f[_0x12edfd(0x200)](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](()=>this[_0x12edfd(0x2a7)](_0x3d7072));}[_0x1bfb44(0x24e)](_0x13c54d,_0x3087d4=!0x1){const _0x5f2244=_0x1bfb44,_0x5c1385=this[_0x5f2244(0x266)][_0x5f2244(0x3b6)]('subunit');_0x13c54d[_0x5f2244(0x2c1)]()!==_0x5c1385&&this['_urlService'][_0x5f2244(0x313)](_0x5f2244(0x2a1),_0x13c54d['getSheetId'](),_0x3087d4);}async[_0x1bfb44(0x2a7)](_0x11a09d){const _0x2055e3=_0x1bfb44;var _0x16c45f;const _0xabead4=this[_0x2055e3(0x266)][_0x2055e3(0x3b6)](_0x2055e3(0x2a1));if(!_0xabead4||!_0x11a09d[_0x2055e3(0x1be)](_0xabead4)){const _0x371af4=_0x11a09d[_0x2055e3(0x1c1)]()[0x0],_0x3b6f56=_0x11a09d['getSheetBySheetId'](_0x371af4);if(!_0x3b6f56)return;this[_0x2055e3(0x24e)](_0x3b6f56,!0x0),await this[_0x2055e3(0x22a)][_0x2055e3(0x350)](_0xecf1fb[_0x2055e3(0x20d)]['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0x371af4});return;}((_0x16c45f=_0x11a09d[_0x2055e3(0x1f3)]())==null?void 0x0:_0x16c45f[_0x2055e3(0x2c1)]())!==_0xabead4&&await this['_commandService']['executeCommand'](_0xecf1fb['SetWorksheetActivateCommand']['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0xabead4});}},_0x1e0a34['CollaborationDataLoaderController']=_0x5acf67([_0x5380bc(0x0,_0x562000),_0x5380bc(0x1,_0x20afdc[_0x1bfb44(0x14d)]),_0x5380bc(0x2,_0x20afdc[_0x1bfb44(0x2df)]),_0x5380bc(0x3,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x26e)])),_0x5380bc(0x4,_0x20afdc['Optional'](_0x44fd1d['IRemoteInstanceService']))],_0x1e0a34[_0x1bfb44(0x104)]);var _0x20043c=Object['getOwnPropertyDescriptor'],_0xa17e77=(_0x271ecf,_0x4bed31,_0x4e5c7f,_0x34ad3a)=>{const _0x14e8f9=_0x1bfb44;for(var _0x459ab1=_0x34ad3a>0x1?void 0x0:_0x34ad3a?_0x20043c(_0x4bed31,_0x4e5c7f):_0x4bed31,_0x4f94ba=_0x271ecf[_0x14e8f9(0x31e)]-0x1,_0x194823;_0x4f94ba>=0x0;_0x4f94ba--)(_0x194823=_0x271ecf[_0x4f94ba])&&(_0x459ab1=_0x194823(_0x459ab1)||_0x459ab1);return _0x459ab1;},_0x8ca4fc=(_0x3f0068,_0x5e0b94)=>(_0x4c135e,_0x5efd8a)=>_0x5e0b94(_0x4c135e,_0x5efd8a,_0x3f0068);let _0xdd87ee=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x1fb7e4,_0x4b6c21){const _0x4b1136=_0x1bfb44;super(),this[_0x4b1136(0x1f1)]=_0x1fb7e4,this[_0x4b1136(0x2bc)]=_0x4b6c21,this[_0x4b1136(0x357)]();}[_0x1bfb44(0x357)](){const _0x516a82=_0x1bfb44,_0xea1424=this;this[_0x516a82(0x37d)](this['_docClipboardService'][_0x516a82(0x340)]({'onBeforePasteImage':async _0x1dc675=>{const _0x41c63d=_0x516a82,_0x5c76a7=await _0xea1424[_0x41c63d(0x2bc)][_0x41c63d(0x17b)](_0x1dc675);return _0x5c76a7?{'source':_0x5c76a7[_0x41c63d(0x25c)],'imageSourceType':_0x5c76a7[_0x41c63d(0x396)]}:null;}}));}};_0xdd87ee=_0xa17e77([_0x8ca4fc(0x0,_0x4c9f55['IDocClipboardService']),_0x8ca4fc(0x1,_0x515276[_0x1bfb44(0x13d)])],_0xdd87ee);const _0x5351e1=[_0x1bfb44(0x2c7),_0x1bfb44(0x1fe),_0x1bfb44(0x1b6),_0x1bfb44(0x280),_0x1bfb44(0x1ea),_0x1bfb44(0x109)];class _0x16366d extends _0x20afdc['Disposable']{constructor(){const _0xee93e=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0xee93e(0x167),new Map()),_0x46e3b1(this,_0xee93e(0x2bb),0x0);}[_0x1bfb44(0x111)](_0x1b8455){const _0x3c123d=_0x1bfb44;if(this['_assignedColors']['has'](_0x1b8455))return this[_0x3c123d(0x167)][_0x3c123d(0x2e1)](_0x1b8455);const _0x90ea94=_0x5351e1[this[_0x3c123d(0x2bb)]];return this[_0x3c123d(0x2bb)]=(this[_0x3c123d(0x2bb)]+0x1)%_0x5351e1['length'],this[_0x3c123d(0x167)]['set'](_0x1b8455,_0x90ea94),_0x90ea94;}}function _0x5290fc(_0x4930c4){let _0x192f66='';for(const _0x5dbeae of _0x4930c4){const {startOffset:_0x39ec3d,endOffset:_0x3005ba,isActive:_0x2154db,rangeType:_0x565cd8,segmentId:_0x260b4e,segmentPage:_0x5844d0}=_0x5dbeae;_0x192f66['length']&&(_0x192f66+=','),_0x192f66+=_0x39ec3d+':'+_0x3005ba+':'+(_0x2154db?'1':'0')+':'+_0x565cd8+':'+_0x260b4e+':'+_0x5844d0;}return _0x192f66;}function _0x240331(_0x1188b9){const _0x123698=_0x1bfb44,_0x19cd97=_0x1188b9[_0x123698(0x2eb)](','),_0xeb1d3b=[];for(const _0x2fb3c5 of _0x19cd97){const [_0x12e152,_0x304687,_0x568f45,_0x6dcd92,_0x7ba2fe,_0x357ed9]=_0x2fb3c5[_0x123698(0x2eb)](':');_0xeb1d3b['push']({'startOffset':Number(_0x12e152),'endOffset':Number(_0x304687),'collapsed':_0x12e152===_0x304687,'isActive':_0x568f45==='1','rangeType':_0x6dcd92===_0x20afdc['DOC_RANGE_TYPE']['TEXT']?_0x20afdc[_0x123698(0x237)][_0x123698(0x304)]:_0x20afdc['DOC_RANGE_TYPE'][_0x123698(0x1bb)],'segmentId':typeof _0x7ba2fe==_0x123698(0x3a9)?String(_0x7ba2fe):'','segmentPage':Number(_0x357ed9!=null?_0x357ed9:-0x1)});}return _0xeb1d3b[_0x123698(0x334)](_0x27920a=>_0x27920a[_0x123698(0x308)])||(_0xeb1d3b[0x0][_0x123698(0x308)]=!0x0),_0xeb1d3b;}class _0x2a0bd extends _0x20afdc[_0x1bfb44(0x367)]{constructor(){const _0x1ccc4c=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0x1ccc4c(0x3c2),new _0x388e9f[(_0x1ccc4c(0x1ca))](null)),_0x46e3b1(this,_0x1ccc4c(0x177),this[_0x1ccc4c(0x3c2)][_0x1ccc4c(0x1cf)]());}[_0x1bfb44(0x39a)](_0x239be9){const _0x396f72=_0x1bfb44,{unitID:_0x2c2e8b,memberID:_0x2580e8,textRanges:_0x1952aa}=_0x239be9,_0x336940=_0x5290fc(_0x1952aa);if(_0x336940==='')return;const _0x45b14c={'unitID':_0x2c2e8b,'memberID':_0x2580e8,'selection':_0x336940};this[_0x396f72(0x3c2)]['next'](_0x45b14c);}}var _0x33a76d=Object[_0x1bfb44(0x3af)],_0x3ee934=(_0x33addf,_0x44dea7,_0x206849,_0x9c6b9a)=>{const _0x2846a4=_0x1bfb44;for(var _0x19ef10=_0x9c6b9a>0x1?void 0x0:_0x9c6b9a?_0x33a76d(_0x44dea7,_0x206849):_0x44dea7,_0x1fe200=_0x33addf[_0x2846a4(0x31e)]-0x1,_0x5331cd;_0x1fe200>=0x0;_0x1fe200--)(_0x5331cd=_0x33addf[_0x1fe200])&&(_0x19ef10=_0x5331cd(_0x19ef10)||_0x19ef10);return _0x19ef10;},_0x585ae8=(_0x1cbe15,_0x5b4d7f)=>(_0x4d42d6,_0x12f76a)=>_0x5b4d7f(_0x4d42d6,_0x12f76a,_0x1cbe15);const _0x2519f8=0x12c,_0x489da2=0x64;let _0x12fca2=class extends _0x20afdc['RxDisposable']{constructor(_0x422092,_0xdf977,_0x22a791,_0x2e9a4f,_0x1087c1,_0x3a4b84,_0x32f478,_0x5ef077,_0x255972){const _0x679ec7=_0x1bfb44;super(),_0x46e3b1(this,_0x679ec7(0x3b7),!0x1),_0x46e3b1(this,_0x679ec7(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f[(_0x679ec7(0x1ca))](new Map())),_0x46e3b1(this,_0x679ec7(0x33d),this[_0x679ec7(0x1b8)][_0x679ec7(0x1cf)]()),_0x46e3b1(this,_0x679ec7(0x1de),new _0x388e9f[(_0x679ec7(0x1ca))]([])),_0x46e3b1(this,_0x679ec7(0x22e),this[_0x679ec7(0x1de)]['pipe'](_0x388e9f[_0x679ec7(0x305)](_0x2519f8))),_0x46e3b1(this,_0x679ec7(0x229),_0x20afdc['debounce'](_0x4bffe4=>{const _0x1943b3=_0x679ec7,_0x516138={'eventID':_0x5d9b62[_0x1943b3(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1943b3(0x1c4)],'memberID':this[_0x1943b3(0x2bf)]['getMemberID'](),'selection':_0x5290fc(_0x4bffe4)}};this[_0x1943b3(0x2bf)]['send'](_0x516138,this[_0x1943b3(0x1c4)]);},_0x489da2)),(this['unitID']=_0x422092,this[_0x679ec7(0x2bf)]=_0xdf977,this['_injector']=_0x22a791,this['_colorAssignService']=_0x2e9a4f,this[_0x679ec7(0x3a8)]=_0x1087c1,this[_0x679ec7(0x311)]=_0x3a4b84,this['_transformService']=_0x32f478,this[_0x679ec7(0x154)]=_0x5ef077,this['_commandService']=_0x255972);}get[_0x1bfb44(0x128)](){const _0x978d63=_0x1bfb44;return this[_0x978d63(0x1b8)][_0x978d63(0x143)]();}get[_0x1bfb44(0x3a1)](){const _0x53f3df=_0x1bfb44;return this[_0x53f3df(0x1de)]['getValue']();}[_0x1bfb44(0x201)](){const _0x2868c2=_0x1bfb44;super[_0x2868c2(0x201)](),this[_0x2868c2(0x1b8)][_0x2868c2(0x264)](new Map()),this[_0x2868c2(0x1b8)]['complete'](),this[_0x2868c2(0x1de)]['next']([]),this[_0x2868c2(0x1de)][_0x2868c2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x292ae6=_0x1bfb44;this[_0x292ae6(0x357)]||(this[_0x292ae6(0x357)]=!0x0,this['_session']['sessionStatus$'][_0x292ae6(0xee)](_0x388e9f['takeUntil'](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x204e78=>{const _0x2b2832=_0x292ae6;_0x204e78===_0x24c19b['SessionStatus'][_0x2b2832(0x338)]?this['_toggleOnline']():this[_0x2b2832(0x3b2)]();}),this['_session'][_0x292ae6(0x163)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x1675e2=>{const _0x2f006b=_0x292ae6,_0x22fdf8=_0x1675e2[_0x2f006b(0x246)];_0x22fdf8===_0x5d9b62['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2f006b(0x341)](_0x1675e2),_0x22fdf8===_0x5d9b62[_0x2f006b(0x10e)][_0x2f006b(0x364)]&&this[_0x2f006b(0x1f5)](_0x1675e2);}),this['disposeWithMe'](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x4ee0fd=>{const _0x4bc8f2=_0x292ae6,_0x581f92=_0x4ee0fd['params'];_0x581f92!=null&&this[_0x4bc8f2(0x3b7)]&&_0x4ee0fd['id']===_0x52be1c['SetTextSelectionsOperation']['id']&&_0x581f92[_0x4bc8f2(0x31d)]===this['unitID']&&_0x581f92['isEditing']===!0x1&&_0x581f92[_0x4bc8f2(0x1ad)]['length']>0x0&&this[_0x4bc8f2(0x229)](_0x581f92['ranges']);})),this[_0x292ae6(0x311)][_0x292ae6(0x177)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))['subscribe'](_0x268671=>{const _0x3c550c=_0x292ae6;if((_0x268671==null?void 0x0:_0x268671['unitID'])!==this[_0x3c550c(0x1c4)])return;const _0x31169a={'eventID':_0x5d9b62[_0x3c550c(0x10e)][_0x3c550c(0x179)],'data':_0x268671};this['_onCursorUpdate'](_0x31169a);}),this[_0x292ae6(0x37d)](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x245323=>{const _0x395377=_0x292ae6;if(_0x245323[_0x395377(0x317)]==null)return;const _0xdcf8a0=_0x245323[_0x395377(0x317)];if(_0x245323['id']!==_0x52be1c[_0x395377(0x345)]['id']||_0xdcf8a0['unitId']!==this[_0x395377(0x1c4)])return;const _0x3577d0={'id':'doc.mutation.rich-text-editing','params':_0xdcf8a0},_0xf1629b=this[_0x395377(0x128)];for(const [_0x462b4f,_0x338ee6]of _0xf1629b){const _0x567710={'id':_0x395377(0x292),'params':{'unitId':this[_0x395377(0x1c4)],'actions':null,'textRanges':_0x338ee6[_0x395377(0x1ad)]}},_0x476ddf=this[_0x395377(0x213)]['transformMutation'](_0x3577d0,_0x567710,!0x1);if(_0x5d9b62[_0x395377(0x3b3)](_0x476ddf))throw _0x476ddf['error'];_0xf1629b['set'](_0x462b4f,{..._0x338ee6,'ranges':_0x476ddf[_0x395377(0x223)][_0x395377(0x317)]['textRanges']});}queueMicrotask(()=>{const _0x276f8e=_0x395377;this[_0x276f8e(0x1b8)][_0x276f8e(0x264)](_0xf1629b);});})));}['_onCursorUpdate'](_0x3de0f4){const _0x452cd6=_0x1bfb44;var _0x3a1598,_0x12c96a;const {memberID:_0x5093d1,selection:_0x3e65db}=_0x3de0f4[_0x452cd6(0x160)],_0x3e7a58=_0x240331(_0x3e65db),_0x243fa1=(_0x12c96a=(_0x3a1598=this[_0x452cd6(0x3a8)][_0x452cd6(0x2b0)](this[_0x452cd6(0x1c4)],_0x5093d1))==null?void 0x0:_0x3a1598[_0x452cd6(0x17f)])!=null?_0x12c96a:_0x452cd6(0x218),_0x5ec1ac={'color':this[_0x452cd6(0x30d)][_0x452cd6(0x111)](_0x5093d1),'name':_0x243fa1,'ranges':_0x3e7a58},_0x5cfef0=this[_0x452cd6(0x128)];_0x5cfef0[_0x452cd6(0x165)](_0x5093d1,_0x5ec1ac),this[_0x452cd6(0x1b8)][_0x452cd6(0x264)](_0x5cfef0);}[_0x1bfb44(0x1f5)](_0x599d3d){const _0x2e3ca4=_0x1bfb44,{memberID:_0xaf1487}=_0x599d3d[_0x2e3ca4(0x160)],_0x119edf=this[_0x2e3ca4(0x128)];_0x119edf[_0x2e3ca4(0x181)](_0xaf1487),this[_0x2e3ca4(0x1b8)][_0x2e3ca4(0x264)](_0x119edf);}['_toggleOnline'](){const _0x3e8a0d=_0x1bfb44;var _0x37ce4b;if(this['_online']=!0x0,((_0x37ce4b=this[_0x3e8a0d(0x154)]['getFocusedUnit']())==null?void 0x0:_0x37ce4b[_0x3e8a0d(0x2d4)]())!==this[_0x3e8a0d(0x1c4)])return;const _0x4c853b=this['_injector']['get'](_0x52be1c['DocSelectionManagerService'])[_0x3e8a0d(0x2a3)]();Array[_0x3e8a0d(0x140)](_0x4c853b)&&_0x4c853b[_0x3e8a0d(0x31e)]>0x0&&this[_0x3e8a0d(0x229)](_0x4c853b);}[_0x1bfb44(0x3b2)](){const _0x11dbc7=_0x1bfb44;this[_0x11dbc7(0x3b7)]=!0x1;}};_0x12fca2=_0x3ee934([_0x585ae8(0x2,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x585ae8(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x16366d)),_0x585ae8(0x4,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x1e3)])),_0x585ae8(0x5,_0x20afdc[_0x1bfb44(0x272)](_0x2a0bd)),_0x585ae8(0x6,_0x5d9b62['ITransformService']),_0x585ae8(0x7,_0x20afdc[_0x1bfb44(0xef)]),_0x585ae8(0x8,_0x20afdc[_0x1bfb44(0x2df)])],_0x12fca2);var _0x352533=Object['getOwnPropertyDescriptor'],_0xbe3023=(_0x15ec3b,_0x59a2f1,_0x2cc58a,_0x3e807a)=>{const _0x2dd0cb=_0x1bfb44;for(var _0x6a4a3=_0x3e807a>0x1?void 0x0:_0x3e807a?_0x352533(_0x59a2f1,_0x2cc58a):_0x59a2f1,_0x113f75=_0x15ec3b[_0x2dd0cb(0x31e)]-0x1,_0x4280c8;_0x113f75>=0x0;_0x113f75--)(_0x4280c8=_0x15ec3b[_0x113f75])&&(_0x6a4a3=_0x4280c8(_0x6a4a3)||_0x6a4a3);return _0x6a4a3;},_0x485139=(_0xd6e9a5,_0x7d6e24)=>(_0x1e3bb7,_0x4442d9)=>_0x7d6e24(_0x1e3bb7,_0x4442d9,_0xd6e9a5);const _0x5f3c91=0x12c,_0x29d943=0x64,_0x4466a5=()=>{let _0x473bc8=[],_0x1d8f7b=!0x1;return _0x2b70da=>{const _0x550e2a=_0x513e;_0x473bc8[_0x550e2a(0x211)](_0x2b70da),_0x1d8f7b||(_0x1d8f7b=!0x0,setTimeout(()=>{_0x473bc8['forEach'](_0x4ae655=>_0x4ae655()),_0x473bc8=[],_0x1d8f7b=!0x1;}));};};let _0x547fbf=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x17a0bd,_0x4e9ad1,_0x98484,_0x590cba,_0x407d5d,_0x24f467,_0x5a30d1,_0x27d1a5){const _0x21b628=_0x1bfb44;super(),_0x46e3b1(this,_0x21b628(0x3b7),!0x1),_0x46e3b1(this,_0x21b628(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f['BehaviorSubject'](new Map())),_0x46e3b1(this,'cursorInfo$',this[_0x21b628(0x1b8)][_0x21b628(0x1cf)]()),_0x46e3b1(this,_0x21b628(0x1de),new _0x388e9f[(_0x21b628(0x1ca))]([])),_0x46e3b1(this,_0x21b628(0x22e),this[_0x21b628(0x1de)]['pipe'](_0x388e9f['debounceTime'](_0x5f3c91))),_0x46e3b1(this,_0x21b628(0x229),_0x20afdc[_0x21b628(0x2b9)]((_0x16b1ed,_0x46ac0e)=>{const _0xf8a319=_0x21b628,_0x1dbdd6={'eventID':_0x5d9b62[_0xf8a319(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xf8a319(0x1c4)],'memberID':this['_session'][_0xf8a319(0x2fc)](),'selection':_0x5892b7[_0xf8a319(0x17d)](_0x16b1ed,_0x46ac0e[_0xf8a319(0x2ea)])}};this[_0xf8a319(0x2bf)][_0xf8a319(0xf7)](_0x1dbdd6,this[_0xf8a319(0x1c4)]);},_0x29d943)),(this[_0x21b628(0x1c4)]=_0x17a0bd,this[_0x21b628(0x2bf)]=_0x4e9ad1,this[_0x21b628(0x319)]=_0x98484,this['_colorAssignService']=_0x590cba,this[_0x21b628(0x3a8)]=_0x407d5d,this['_univerInstanceService']=_0x24f467,this['_commandService']=_0x5a30d1,this[_0x21b628(0x2e6)]=_0x27d1a5);}get[_0x1bfb44(0x128)](){const _0x51fa36=_0x1bfb44;return this[_0x51fa36(0x1b8)]['getValue']();}get[_0x1bfb44(0x3a1)](){const _0x72155d=_0x1bfb44;return this[_0x72155d(0x1de)][_0x72155d(0x143)]();}[_0x1bfb44(0x201)](){const _0x40bbe2=_0x1bfb44;super[_0x40bbe2(0x201)](),this['_cursorInfo$'][_0x40bbe2(0x264)](new Map()),this[_0x40bbe2(0x1b8)][_0x40bbe2(0x29e)](),this['_roomMembers$'][_0x40bbe2(0x264)]([]),this[_0x40bbe2(0x1de)][_0x40bbe2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x22a327=_0x1bfb44;this[_0x22a327(0x357)]||(this[_0x22a327(0x357)]=!0x0,this[_0x22a327(0x2bf)]['sessionStatus$']['pipe'](_0x388e9f[_0x22a327(0x200)](this[_0x22a327(0x318)]))[_0x22a327(0x26f)](_0x2f6e66=>{const _0x513645=_0x22a327;_0x2f6e66===_0x24c19b[_0x513645(0x36c)][_0x513645(0x338)]?this[_0x513645(0x342)]():this[_0x513645(0x3b2)]();}),this['_session'][_0x22a327(0x163)][_0x22a327(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x22a327(0x26f)](_0x5d5931=>{const _0x4bda26=_0x22a327,_0x337f8c=_0x5d5931['eventID'];_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['UPDATE_CURSOR']&&this[_0x4bda26(0x341)](_0x5d5931),_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['USERS_LEAVE']&&this[_0x4bda26(0x1f5)](_0x5d5931);}),this[_0x22a327(0x1e0)](),this['disposeWithMe'](this[_0x22a327(0x22a)]['onCommandExecuted'](_0x298b02=>{const _0x160382=_0x22a327;if(this[_0x160382(0x3b7)]&&_0x298b02['id']===_0xecf1fb[_0x160382(0x2ca)]['id']&&_0x298b02[_0x160382(0x317)][_0x160382(0x31d)]===this['unitID']){const _0x26dcd7=_0x298b02[_0x160382(0x317)];this['_updateLocalCursor'](_0x26dcd7[_0x160382(0x19d)],_0x26dcd7[_0x160382(0x127)][0x0]);}})));}[_0x1bfb44(0x341)](_0x73dbcd){const _0x498b36=_0x1bfb44;var _0x5330e3,_0x30e40a;const {memberID:_0x1fc973,selection:_0x3f2f29}=_0x73dbcd[_0x498b36(0x160)],{sheetName:_0x5bd0c8,range:_0x1ca72e}=_0x5892b7['deserializeRangeWithSheet'](_0x3f2f29),_0x5cfef3={'name':(_0x30e40a=(_0x5330e3=this[_0x498b36(0x3a8)][_0x498b36(0x2b0)](this[_0x498b36(0x1c4)],_0x1fc973))==null?void 0x0:_0x5330e3[_0x498b36(0x17f)])!=null?_0x30e40a:_0x498b36(0x218),'range':this[_0x498b36(0x34b)](_0x5bd0c8,_0x1ca72e),'sheetID':_0x5bd0c8,'color':this[_0x498b36(0x30d)][_0x498b36(0x111)](_0x1fc973),'selection':_0x3f2f29},_0x2e636a=this[_0x498b36(0x128)];_0x2e636a[_0x498b36(0x165)](_0x1fc973,_0x5cfef3),this[_0x498b36(0x1b8)][_0x498b36(0x264)](_0x2e636a);}[_0x1bfb44(0x1f5)](_0x25afb9){const _0x36b2ba=_0x1bfb44,{memberID:_0x36392d}=_0x25afb9['data'],_0x4e7080=this[_0x36b2ba(0x128)];_0x4e7080[_0x36b2ba(0x181)](_0x36392d),this[_0x36b2ba(0x1b8)]['next'](_0x4e7080);}[_0x1bfb44(0x34b)](_0x390d23,_0x22be25){const _0x42ab3f=_0x1bfb44;var _0x4af6fd,_0x402c3e;const _0x1c3214=(_0x402c3e=(_0x4af6fd=this[_0x42ab3f(0x154)][_0x42ab3f(0x2c5)](this[_0x42ab3f(0x1c4)]))==null?void 0x0:_0x4af6fd[_0x42ab3f(0x1be)](_0x390d23))==null?void 0x0:_0x402c3e[_0x42ab3f(0x153)]();return(_0x1c3214==null?void 0x0:_0x1c3214[_0x42ab3f(0x15c)](_0x1ef7e3=>_0x20afdc[_0x42ab3f(0x1e8)][_0x42ab3f(0x16a)](_0x1ef7e3,_0x22be25)))||_0x22be25;}['_onRefRangeChange'](){const _0x5a519d=_0x1bfb44,_0x362ea9=new _0x20afdc[(_0x5a519d(0x34a))](),_0x16a691=_0x4466a5(),_0x1fd9f8=()=>{const _0x35a9dc=_0x5a519d;_0x362ea9['dispose']();const _0x442038=(_0x12df0a,_0x4dba01,_0x1a29ca,_0x3db296)=>{const _0x5eeba7=_0x513e;let _0x33c7de=[];switch(_0x12df0a['id']){case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x251)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x22d)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x38e)]:{_0x33c7de=_0xecf1fb['handleDeleteRangeMoveUp'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x1a3)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x242)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x15f)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x3ad)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x386)]:{_0x33c7de=_0xecf1fb['handleInsertRangeMoveRight'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)]['InsertRowCommandId']:{_0x33c7de=_0xecf1fb['handleInsertRow'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x3ba)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x214)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x323)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x245)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x382)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x2ae)](_0x12df0a,_0x3db296);break;}}const _0x43de92=_0xecf1fb[_0x5eeba7(0x1d4)](_0x33c7de,_0x3db296),_0xaad7ee=this[_0x5eeba7(0x128)][_0x5eeba7(0x2e1)](_0x4dba01);if(_0xaad7ee&&_0x43de92){const _0x55461f={..._0xaad7ee,'range':_0x43de92};this[_0x5eeba7(0x128)][_0x5eeba7(0x165)](_0x4dba01,_0x55461f),_0x16a691(()=>{const _0x11aa59=_0x5eeba7,_0x2dca33=this[_0x11aa59(0x2e6)]['registerRefRange'](_0x43de92,_0x3cb1cf=>(_0x2dca33[_0x11aa59(0x201)](),_0x442038(_0x3cb1cf,_0x4dba01,_0x1a29ca,_0x43de92)));_0x362ea9['add'](_0x2dca33);});}return{'redos':[],'undos':[]};};this[_0x35a9dc(0x128)][_0x35a9dc(0x30f)]((_0xa7f3dc,_0x450dc7)=>{const _0x136011=_0x35a9dc,{range:_0x1c9976,sheetID:_0x13ed3d}=_0xa7f3dc,_0x537f5b=this['_refRangeService'][_0x136011(0x2f9)](_0x1c9976,_0x2823c8=>(_0x537f5b['dispose'](),_0x442038(_0x2823c8,_0x450dc7,_0x13ed3d,_0x1c9976)));_0x362ea9['add'](_0x537f5b);});};this['disposeWithMe'](_0x20afdc[_0x5a519d(0x281)](this[_0x5a519d(0x1b8)][_0x5a519d(0x26f)](()=>{_0x1fd9f8();})));}[_0x1bfb44(0x342)](){const _0xbfd8f9=_0x1bfb44;var _0x25c2d2,_0x513571;if(this[_0xbfd8f9(0x3b7)]=!0x0,((_0x25c2d2=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x339)]())==null?void 0x0:_0x25c2d2[_0xbfd8f9(0x2d4)]())!==this['unitID'])return;const _0x1e71d7=(_0x513571=this[_0xbfd8f9(0x319)][_0xbfd8f9(0x2e1)](_0xecf1fb[_0xbfd8f9(0x19b)])[_0xbfd8f9(0x1c2)]())==null?void 0x0:_0x513571[0x0],_0x15f9c4=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x3c5)](_0x20afdc['UniverInstanceType'][_0xbfd8f9(0x33c)])[_0xbfd8f9(0x1f3)]();_0x1e71d7&&_0x15f9c4&&this[_0xbfd8f9(0x229)](_0x15f9c4[_0xbfd8f9(0x2c1)](),_0x1e71d7);}[_0x1bfb44(0x3b2)](){const _0x2c2bad=_0x1bfb44;this[_0x2c2bad(0x3b7)]=!0x1;}};_0x547fbf=_0xbe3023([_0x485139(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x485139(0x3,_0x20afdc['Inject'](_0x16366d)),_0x485139(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x1e3)])),_0x485139(0x5,_0x20afdc['IUniverInstanceService']),_0x485139(0x6,_0x20afdc[_0x1bfb44(0x2df)]),_0x485139(0x7,_0x20afdc['Inject'](_0xecf1fb[_0x1bfb44(0x2a4)]))],_0x547fbf);var _0x5eb0c0=Object[_0x1bfb44(0x3af)],_0x52f01e=(_0x427ae1,_0x5f3f21,_0x271523,_0x6c489f)=>{const _0x7e2710=_0x1bfb44;for(var _0x35ae5d=_0x6c489f>0x1?void 0x0:_0x6c489f?_0x5eb0c0(_0x5f3f21,_0x271523):_0x5f3f21,_0x4b5632=_0x427ae1[_0x7e2710(0x31e)]-0x1,_0x472d54;_0x4b5632>=0x0;_0x4b5632--)(_0x472d54=_0x427ae1[_0x4b5632])&&(_0x35ae5d=_0x472d54(_0x35ae5d)||_0x35ae5d);return _0x35ae5d;},_0x120587=(_0x1334ea,_0xb8480d)=>(_0x4d220a,_0x1e8d11)=>_0xb8480d(_0x4d220a,_0x1e8d11,_0x1334ea);let _0x43654b=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x187b00,_0x4b6c99,_0x3e614a){const _0x4229c5=_0x1bfb44;super(),_0x46e3b1(this,_0x4229c5(0x26d),new Map()),_0x46e3b1(this,_0x4229c5(0x2d0),new _0x388e9f[(_0x4229c5(0x250))]()),(this[_0x4229c5(0x154)]=_0x187b00,this['_injector']=_0x4b6c99,this[_0x4229c5(0x24b)]=_0x3e614a,this[_0x4229c5(0x357)]());}[_0x1bfb44(0x201)](){const _0x474617=_0x1bfb44;super['dispose'](),this['_entityInit$'][_0x474617(0x29e)](),this[_0x474617(0x26d)]['forEach'](_0x3b0faa=>_0x3b0faa[_0x474617(0x201)]());}[_0x1bfb44(0x2c4)](_0x31e0a7){const _0x1d072b=_0x1bfb44;return this['_entities'][_0x1d072b(0x293)](_0x31e0a7)?this['_entities']['get'](_0x31e0a7)[_0x1d072b(0x33d)]:this[_0x1d072b(0x2d0)]['pipe'](_0x388e9f[_0x1d072b(0x2de)](_0x3bb3ae=>_0x3bb3ae['unitID']===_0x31e0a7),_0x388e9f[_0x1d072b(0x325)](_0xb2cf68=>_0xb2cf68[_0x1d072b(0x33d)]));}['_init'](){const _0x405d2b=_0x1bfb44;this[_0x405d2b(0x154)][_0x405d2b(0x312)](_0x20afdc['UniverInstanceType'][_0x405d2b(0x33c)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))['subscribe'](async _0x3b1b13=>{const _0x17ed08=_0x405d2b,_0x1fd13a=_0x3b1b13['getUnitId'](),_0x4fb49b=await this[_0x17ed08(0x247)](_0x1fd13a);this[_0x17ed08(0x2d0)]['next'](_0x4fb49b),this['_entities'][_0x17ed08(0x165)](_0x1fd13a,_0x4fb49b);}),this[_0x405d2b(0x154)]['getTypeOfUnitAdded$'](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x405d2b(0xee)](_0x388e9f['filter'](_0x228b5f=>!_0x228b5f['getUnitId']()[_0x405d2b(0xfa)]('__')))[_0x405d2b(0x26f)](async _0x3a347e=>{const _0x2ca2f2=_0x405d2b,_0x5b18d3=_0x3a347e[_0x2ca2f2(0x2d4)](),_0x1ce250=await this['_startDocCollabCursor'](_0x5b18d3);this[_0x2ca2f2(0x2d0)][_0x2ca2f2(0x264)](_0x1ce250),this[_0x2ca2f2(0x26d)]['set'](_0x5b18d3,_0x1ce250);}),_0x388e9f['merge'](this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)]),this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x33c)]))[_0x405d2b(0xee)](_0x388e9f[_0x405d2b(0x200)](this[_0x405d2b(0x318)]))[_0x405d2b(0x26f)](_0x84d3d9=>{const _0x223e8d=_0x405d2b,_0x425097=_0x84d3d9[_0x223e8d(0x2d4)](),_0x45a002=this[_0x223e8d(0x26d)][_0x223e8d(0x2e1)](_0x425097);_0x45a002&&(_0x45a002[_0x223e8d(0x201)](),this[_0x223e8d(0x26d)][_0x223e8d(0x181)](_0x425097));});}async[_0x1bfb44(0x247)](_0x2c250b){const _0x237b10=_0x1bfb44,_0x2b84c5=await this[_0x237b10(0x24b)][_0x237b10(0x1a8)](_0x2c250b),_0x31a452=this[_0x237b10(0x319)]['createInstance'](_0x547fbf,_0x2c250b,_0x2b84c5);return _0x31a452['init'](),_0x31a452;}async['_startDocCollabCursor'](_0x549c64){const _0x38f01e=_0x1bfb44,_0x27f7ec=await this[_0x38f01e(0x24b)][_0x38f01e(0x1a8)](_0x549c64),_0x34dbc2=this[_0x38f01e(0x319)]['createInstance'](_0x12fca2,_0x549c64,_0x27f7ec);return _0x34dbc2[_0x38f01e(0x155)](),_0x34dbc2;}};_0x43654b=_0x52f01e([_0x120587(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x120587(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x120587(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x2f5)]))],_0x43654b);const _0x332cee=0x14,_0x469bcd=0xc8,_0x4c8ccb=0x4,_0x28c5fe=0x5;function _0x3d70a5(_0x359866,_0x5d8383){const _0x48532e=_0x1bfb44;let {radius:_0x5d8002,width:_0x1971be,height:_0x5cd273}=_0x5d8383;_0x5d8002=_0x5d8002!=null?_0x5d8002:0x0,_0x1971be=_0x1971be!=null?_0x1971be:0x1e,_0x5cd273=_0x5cd273!=null?_0x5cd273:0x1e;let _0x1fa036=0x0,_0x143f9e=0x0,_0x4a357a=0x0;_0x1fa036=_0x143f9e=_0x4a357a=Math[_0x48532e(0x2b1)](_0x5d8002,_0x1971be/0x2,_0x5cd273/0x2),_0x359866[_0x48532e(0x275)](),_0x359866[_0x48532e(0x35b)](_0x1fa036,0x0),_0x359866[_0x48532e(0x30a)](_0x1971be-_0x143f9e,0x0),_0x359866['arc'](_0x1971be-_0x143f9e,_0x143f9e,_0x143f9e,Math['PI']*0x3/0x2,0x0,!0x1),_0x359866[_0x48532e(0x30a)](_0x1971be,_0x5cd273-_0x4a357a),_0x359866[_0x48532e(0x1f7)](_0x1971be-_0x4a357a,_0x5cd273-_0x4a357a,_0x4a357a,0x0,Math['PI']/0x2,!0x1),_0x359866[_0x48532e(0x30a)](0x0,_0x5cd273),_0x359866['lineTo'](0x0,_0x1fa036),_0x359866['arc'](_0x1fa036,_0x1fa036,_0x1fa036,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x359866[_0x48532e(0x328)](),_0x5d8383[_0x48532e(0x3b1)]&&(_0x359866['save'](),_0x359866['fillStyle']=_0x5d8383[_0x48532e(0x3b1)],_0x5d8383[_0x48532e(0x18e)]===_0x48532e(0x255)?_0x359866[_0x48532e(0x3b1)]('evenodd'):_0x359866[_0x48532e(0x3b1)](),_0x359866[_0x48532e(0x35c)]());}class _0x47a55f extends _0x314741['Shape']{constructor(_0x14da08,_0x1ad252){const _0x1a87a6=_0x1bfb44;super(_0x14da08,_0x1ad252),_0x46e3b1(this,_0x1a87a6(0x147)),_0x46e3b1(this,'text'),(this[_0x1a87a6(0x147)]=_0x1ad252==null?void 0x0:_0x1ad252['color'],this['text']=_0x1ad252==null?void 0x0:_0x1ad252[_0x1a87a6(0x12c)]);}static[_0x1bfb44(0x355)](_0xa96a05,_0x3d4841){const _0x24c983=_0x1bfb44,{text:_0x3d9009,color:_0x4d660e}=_0x3d4841;_0xa96a05[_0x24c983(0x22b)](),_0xa96a05[_0x24c983(0x133)]=_0x24c983(0x148);const _0x299622=_0xa96a05[_0x24c983(0x29a)](_0x3d9009)['width'],_0x15c24f=Math[_0x24c983(0x2b1)](_0x299622+0x2*_0x4c8ccb,_0x469bcd);_0x3d70a5(_0xa96a05,{'height':_0x332cee,'radius':0x4,'width':_0x15c24f,'fill':_0x4d660e}),_0xa96a05[_0x24c983(0x232)]=_0x24c983(0x326);const _0x44fb63=_0x4c8ccb,_0x137659=_0x332cee-_0x28c5fe,_0x3022cf=_0x469bcd-0x2*_0x4c8ccb;if(_0x299622>_0x3022cf){let _0xaba69d='',_0x2fa8d1=0x0;for(const _0x13c074 of _0x3d9009){const _0xcb1dbc=_0xa96a05[_0x24c983(0x29a)](_0x13c074)[_0x24c983(0x39b)];if(_0x2fa8d1+_0xcb1dbc<=_0x3022cf-_0xa96a05['measureText'](_0x24c983(0x207))[_0x24c983(0x39b)])_0xaba69d+=_0x13c074,_0x2fa8d1+=_0xcb1dbc;else{_0xaba69d+=_0x24c983(0x207);break;}}_0xa96a05[_0x24c983(0x225)](_0xaba69d,_0x44fb63,_0x137659);}else _0xa96a05['fillText'](_0x3d9009,_0x44fb63,_0x137659);_0xa96a05[_0x24c983(0x35c)]();}['_draw'](_0x3a0b6b){const _0x42b75b=_0x1bfb44;_0x47a55f[_0x42b75b(0x355)](_0x3a0b6b,this);}}const _0x253773=_0x1bfb44(0x1eb),_0x2b2eaf=_0x1bfb44(0x1a4),_0x2cbf99='collab-rect-range-',_0x2181ba=0x6,_0xef2a66=1.5,_0x36ff2b=0x4,_0x4097b0=1.5,_0xa02184=_0x1bfb44(0x2ee);class _0xea52fe{constructor(_0x278743,_0x81d4d3,_0x2e03ca,_0x85f483){const _0x1ce0b4=_0x1bfb44;_0x46e3b1(this,_0x1ce0b4(0x192),[]),_0x46e3b1(this,'_anchor',null),_0x46e3b1(this,'_textBubble',null),_0x46e3b1(this,_0x1ce0b4(0x2ed),null),_0x46e3b1(this,_0x1ce0b4(0x2ff),null),_0x46e3b1(this,_0x1ce0b4(0x2e8),null),(this[_0x1ce0b4(0x3b4)]=_0x278743,this[_0x1ce0b4(0x27d)]=_0x81d4d3,this[_0x1ce0b4(0x2f3)]=_0x2e03ca,this[_0x1ce0b4(0x306)]=_0x85f483,this[_0x1ce0b4(0x2dc)]());}set['_hover'](_0x5b89b0){const _0x4d7924=_0x1bfb44;_0x5b89b0?(this[_0x4d7924(0x2ed)]&&this[_0x4d7924(0x2ed)][_0x4d7924(0x39c)](),this['_textBubble']&&this[_0x4d7924(0x2e7)]['show']()):(this[_0x4d7924(0x2ed)]&&this['_anchorDot']['show'](),this[_0x4d7924(0x2e7)]&&this[_0x4d7924(0x2e7)][_0x4d7924(0x39c)]());}[_0x1bfb44(0x201)](){const _0x57dd9c=_0x1bfb44;for(const _0x57929c of this[_0x57dd9c(0x192)])_0x57929c[_0x57dd9c(0x201)]();this[_0x57dd9c(0x2e7)]&&this['_textBubble'][_0x57dd9c(0x201)](),this[_0x57dd9c(0x2ed)]&&this[_0x57dd9c(0x2ed)][_0x57dd9c(0x201)](),this[_0x57dd9c(0x14b)]&&this[_0x57dd9c(0x14b)]['dispose'](),this[_0x57dd9c(0x2e8)]&&this[_0x57dd9c(0x2e8)]();}[_0x1bfb44(0x2dc)](){const _0x14ac46=_0x1bfb44;var _0x2b1eb8;const {_docSkeleton:_0x5ea63a,_document:_0xa2a48}=this,{color:_0x5cae2e,name:_0x14eba9,ranges:_0x459718}=this[_0x14ac46(0x3b4)],_0x1849dc=_0xa2a48['getOffsetConfig'](),{docsLeft:_0x80457c,docsTop:_0x1fe911}=_0x1849dc,_0x36f7c5=new _0x4c9f55[(_0x14ac46(0x1ed))](_0x1849dc,_0x5ea63a);for(const {startOffset:_0xb2bdcc,endOffset:_0x212943,rangeType:_0x2d885b,segmentId:_0x76af3e,segmentPage:_0x5b3922,collapsed:_0x214087,isActive:_0x98f8ce}of _0x459718){const _0x9eacc1=_0x5ea63a['findNodePositionByCharIndex'](_0xb2bdcc,!0x0,_0x76af3e,_0x5b3922);let _0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943,!0x0,_0x76af3e,_0x5b3922);if(_0x3760eb==null&&(_0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943-0x1,!0x1,_0x76af3e,_0x5b3922)),_0x98f8ce){const {contentBoxPointGroup:_0x3022dd}=_0x36f7c5['getRangePointData'](_0x3760eb,_0x3760eb);if(_0x3022dd[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x1a6)](_0x5cae2e,_0x3022dd,_0x80457c,_0x1fe911,_0x14eba9),this[_0x14ac46(0x2e8)]=this[_0x14ac46(0x2b3)]();}if(_0x9eacc1&&_0x3760eb){if(_0x2d885b===_0x20afdc[_0x14ac46(0x237)]['RECT']){const _0x222836=new _0x4c9f55['NodePositionConvertToRectRange'](_0x1849dc,_0x5ea63a),{pointGroup:_0x5b8acb}=(_0x2b1eb8=_0x222836['getRangePointData'](_0x9eacc1,_0x3760eb))!=null?_0x2b1eb8:{};if(_0x5b8acb==null||_0x5b8acb[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x16b)](_0x5cae2e,_0x5b8acb,_0x80457c,_0x1fe911);}else{if(!_0x214087){const {borderBoxPointGroup:_0x358f75}=_0x36f7c5['getRangePointData'](_0x9eacc1,_0x3760eb);if(_0x358f75['length']===0x0)continue;this[_0x14ac46(0x307)](_0x5cae2e,_0x358f75,_0x80457c,_0x1fe911);}}}}}[_0x1bfb44(0x1a6)](_0x11ac2a,_0x9c8b6,_0x373ee8,_0x559206,_0x459ead){const _0x4fbf67=_0x1bfb44,_0x3c6fec=this[_0x4fbf67(0x1f8)](_0x9c8b6),{left:_0x11858b,top:_0x1cc9ea,height:_0x448582}=_0x3c6fec,_0x4677b0=this[_0x4fbf67(0x351)](),_0x15a0ad=_0x4097b0/_0x4677b0,_0x333a27=new _0x314741['Rect'](_0x253773+_0x20afdc[_0x4fbf67(0x37e)](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206,'height':_0x448582,'width':_0xef2a66,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)]['black'],0x0),'strokeWidth':_0x15a0ad,'stroke':_0xa02184,'evented':!0x0});this[_0x4fbf67(0x14b)]=_0x333a27,this[_0x4fbf67(0x27d)][_0x4fbf67(0x12f)](_0x333a27,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x79fa9d=new _0x314741[(_0x4fbf67(0x2a6))](_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x36ff2b/0x2,'height':_0x36ff2b,'width':_0x36ff2b,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc['COLORS'][_0x4fbf67(0x228)],0x0),'strokeWidth':0x0,'stroke':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)][_0x4fbf67(0x228)],0x0),'evented':!0x1});this[_0x4fbf67(0x2ed)]=_0x79fa9d,this['_scene'][_0x4fbf67(0x12f)](_0x79fa9d,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x174ce8=new _0x47a55f(_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x332cee,'text':_0x459ead,'color':_0x11ac2a});this[_0x4fbf67(0x2e7)]=_0x174ce8,this['_scene'][_0x4fbf67(0x12f)](_0x174ce8,_0x4c9f55[_0x4fbf67(0x2b8)]),this[_0x4fbf67(0x2d3)]=!0x1;}['_handleHover'](){const _0x5b8db1=_0x1bfb44,_0x11131e=this[_0x5b8db1(0x14b)][_0x5b8db1(0x32e)]['subscribeEvent'](()=>{const _0x3a3fab=_0x5b8db1;this[_0x3a3fab(0x2d3)]=!0x0;}),_0x3a116b=this['_anchor']['onPointerLeave$'][_0x5b8db1(0x238)](()=>{const _0x533025=_0x5b8db1;this[_0x533025(0x2ff)]&&clearTimeout(this['_hideTimer']),this[_0x533025(0x2ff)]=setTimeout(()=>{const _0x1c99fb=_0x533025;this[_0x1c99fb(0x2d3)]=!0x1;},0x7d0);});return()=>{const _0x3436d7=_0x5b8db1;_0x11131e['unsubscribe'](),_0x3a116b[_0x3436d7(0x2f6)]();};}[_0x1bfb44(0x307)](_0x4ca095,_0x25d1b5,_0x1ebe4f,_0x43dc92){const _0xfeaa0=_0x1bfb44,_0x26a651=new _0x20afdc[(_0xfeaa0(0x1b4))](_0x4ca095)[_0xfeaa0(0x1ef)](0.2)[_0xfeaa0(0x1fa)](),_0x9aeaa8=new _0x314741['RegularPolygon'](_0x2b2eaf+_0x20afdc['generateRandomId'](_0x2181ba),{'pointsGroup':_0x25d1b5,'fill':_0x26a651||_0x314741[_0xfeaa0(0x257)](_0x20afdc['COLORS'][_0xfeaa0(0x228)],0.2),'left':_0x1ebe4f,'top':_0x43dc92,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfeaa0(0x192)][_0xfeaa0(0x211)](_0x9aeaa8),this[_0xfeaa0(0x27d)][_0xfeaa0(0x12f)](_0x9aeaa8,_0x4c9f55[_0xfeaa0(0x2b8)]);}[_0x1bfb44(0x16b)](_0x20ae41,_0x5ddc51,_0xc7041d,_0x1b2d1e){const _0x4e6f35=_0x1bfb44,_0x4d3d0b=new _0x20afdc['ColorKit'](_0x20ae41)['setAlpha'](0.2)[_0x4e6f35(0x1fa)](),_0xd5c53d=new _0x314741['RegularPolygon'](_0x2cbf99+_0x20afdc[_0x4e6f35(0x37e)](_0x2181ba),{'pointsGroup':_0x5ddc51,'fill':_0x4d3d0b||_0x314741[_0x4e6f35(0x257)](_0x20afdc[_0x4e6f35(0x3ab)][_0x4e6f35(0x228)],0.2),'left':_0xc7041d,'top':_0x1b2d1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e6f35(0x192)]['push'](_0xd5c53d),this['_scene'][_0x4e6f35(0x12f)](_0xd5c53d,_0x4c9f55[_0x4e6f35(0x2b8)]);}[_0x1bfb44(0x1f8)](_0x25785e){const _0x4924ea=_0x25785e[0x0],_0x57c11c=_0x4924ea[0x0],_0x1863e1=_0x4924ea[0x2],{x:_0x401619,y:_0x4da6ea}=_0x57c11c,{x:_0x2cabbc,y:_0x1f0626}=_0x1863e1;return{'left':_0x401619,'top':_0x4da6ea,'width':_0x2cabbc-_0x401619,'height':_0x1f0626-_0x4da6ea};}[_0x1bfb44(0x351)](){const _0x5b6803=_0x1bfb44,{scaleX:_0x5e1565,scaleY:_0x35a97f}=this['_scene']['getAncestorScale']();return Math[_0x5b6803(0x2db)](_0x5e1565,_0x35a97f);}}var _0x4c6ddf=Object[_0x1bfb44(0x3af)],_0x446495=(_0x4fecff,_0x32c363,_0x1d5b67,_0x282b49)=>{for(var _0x172664=_0x282b49>0x1?void 0x0:_0x282b49?_0x4c6ddf(_0x32c363,_0x1d5b67):_0x32c363,_0x32b8b3=_0x4fecff['length']-0x1,_0x55fa71;_0x32b8b3>=0x0;_0x32b8b3--)(_0x55fa71=_0x4fecff[_0x32b8b3])&&(_0x172664=_0x55fa71(_0x172664)||_0x172664);return _0x172664;},_0xfe6331=(_0x43da94,_0x771088)=>(_0x278b02,_0x267f04)=>_0x771088(_0x278b02,_0x267f04,_0x43da94);let _0x568f40=class extends _0x20afdc['RxDisposable']{constructor(_0x1d1402,_0x77ffba,_0x23a87c,_0x2cde07,_0x4215e5){const _0x2cf014=_0x1bfb44;super(),_0x46e3b1(this,_0x2cf014(0x2d8),[]),_0x46e3b1(this,_0x2cf014(0x358),[]),(this['_context']=_0x1d1402,this[_0x2cf014(0x2f2)]=_0x77ffba,this[_0x2cf014(0x1fc)]=_0x23a87c,this[_0x2cf014(0x22a)]=_0x2cde07,this[_0x2cf014(0x2fa)]=_0x4215e5,this['_init']());}[_0x1bfb44(0x357)](){const _0x912e6b=_0x1bfb44,_0x55d277=this[_0x912e6b(0x389)]['unitId'],_0x247905=this[_0x912e6b(0x2f2)];this[_0x912e6b(0x37d)](_0x388e9f[_0x912e6b(0xf8)]([this[_0x912e6b(0x1fc)][_0x912e6b(0x2c4)](_0x55d277),this['_themeService'][_0x912e6b(0x1fd)]])[_0x912e6b(0xee)](_0x309597['map'](([_0x21f558,_0x4b18d5])=>({'skeleton':_0x247905[_0x912e6b(0x13e)](),'cursors':[..._0x21f558['values']()][_0x912e6b(0x137)](_0x682853=>({..._0x682853,'color':this[_0x912e6b(0x2fa)][_0x912e6b(0x3a4)](_0x682853[_0x912e6b(0x147)])}))})))[_0x912e6b(0x26f)](_0x5a57c0=>{const _0x370342=_0x912e6b;if(this['_removeCollabCursors'](),_0x5a57c0){const {skeleton:_0x10d689,cursors:_0x2def86}=_0x5a57c0;this[_0x370342(0x353)](_0x10d689,_0x2def86);}})),this[_0x912e6b(0x380)](),this[_0x912e6b(0x132)]();}['_updateCollabCursors'](_0x4a39fa,_0x31a275){const _0x2fa2d6=_0x1bfb44,{scene:_0x40c358,mainComponent:_0x39d5f6}=this[_0x2fa2d6(0x389)],_0x3191f1=_0x31a275['map'](_0x32bda4=>new _0xea52fe(_0x32bda4,_0x40c358,_0x4a39fa,_0x39d5f6));this[_0x2fa2d6(0x2d8)]=_0x3191f1,this[_0x2fa2d6(0x358)]=_0x31a275;}[_0x1bfb44(0xf5)](){const _0x3806af=_0x1bfb44;this[_0x3806af(0x321)]();const {scene:_0x21a6ba,mainComponent:_0x39b593}=this[_0x3806af(0x389)],_0x5db4c3=this[_0x3806af(0x2f2)]['getSkeleton'](),_0x5a3477=this[_0x3806af(0x358)]['map'](_0x48da59=>new _0xea52fe(_0x48da59,_0x21a6ba,_0x5db4c3,_0x39b593));this['_cursorShapes']=_0x5a3477;}[_0x1bfb44(0x321)](){const _0x38c8c3=_0x1bfb44;this['_cursorShapes'][_0x38c8c3(0x30f)](_0x2d6c4c=>_0x2d6c4c['dispose']()),this[_0x38c8c3(0x2d8)]=[];}[_0x1bfb44(0x132)](){const _0x550ccd=_0x1bfb44,_0x25b6ea=[_0x4c9f55[_0x550ccd(0x158)]['id']];this[_0x550ccd(0x37d)](this['_commandService'][_0x550ccd(0x248)](_0x491ba=>{const _0x571e7d=_0x550ccd;_0x25b6ea[_0x571e7d(0x3b0)](_0x491ba['id'])&&_0x491ba[_0x571e7d(0x317)][_0x571e7d(0x31d)]===this[_0x571e7d(0x389)]['unitId']&&this[_0x571e7d(0xf5)]();}));}[_0x1bfb44(0x380)](){const _0x37659d=_0x1bfb44;this['disposeWithMe'](_0x20afdc['fromEventSubject'](this[_0x37659d(0x389)][_0x37659d(0x16f)]['onTransformChange$'])['pipe'](_0x309597['filter'](_0x1426b8=>_0x1426b8[_0x37659d(0x298)]===_0x314741[_0x37659d(0x1d2)][_0x37659d(0x105)]),_0x309597[_0x37659d(0x195)](0x10))[_0x37659d(0x26f)](()=>{const _0x25f3a2=_0x37659d;this[_0x25f3a2(0xf5)]();}));}};_0x568f40=_0x446495([_0xfe6331(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x52be1c['DocSkeletonManagerService'])),_0xfe6331(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x43654b)),_0xfe6331(0x3,_0x20afdc[_0x1bfb44(0x2df)]),_0xfe6331(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x568f40);const _0x1cdc0c=0x1,_0x1284ec=1.5;class _0x240cae extends _0x314741['Shape']{constructor(_0x7d79,_0x46479f){const _0x311eb7=_0x1bfb44;super(_0x7d79,_0x46479f),_0x46e3b1(this,_0x311eb7(0x330)),_0x46e3b1(this,_0x311eb7(0x391),!0x1),_0x46e3b1(this,_0x311eb7(0x361)),_0x46e3b1(this,_0x311eb7(0x370),''),_0x46e3b1(this,_0x311eb7(0x36f),_0x311eb7(0x374)),_0x46e3b1(this,'_backgroundColor'),(_0x46479f&&this[_0x311eb7(0x3a0)](_0x46479f),this[_0x311eb7(0x32e)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x0})),this[_0x311eb7(0xf6)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x1})));}['setShapeProps'](_0x387062){const _0xefdc7a=_0x1bfb44;var _0x502980,_0x54d9a9,_0x4af305,_0x53bdef,_0x576a16,_0x2187d4;this[_0xefdc7a(0x330)]=(_0x502980=_0x387062[_0xefdc7a(0x147)])!=null?_0x502980:this[_0xefdc7a(0x330)],this['_hovered']=(_0x54d9a9=_0x387062[_0xefdc7a(0x1d3)])!=null?_0x54d9a9:this[_0xefdc7a(0x391)],this[_0xefdc7a(0x361)]=(_0x4af305=_0x387062['range'])!=null?_0x4af305:this[_0xefdc7a(0x361)],this[_0xefdc7a(0x370)]=(_0x53bdef=_0x387062[_0xefdc7a(0x17f)])!=null?_0x53bdef:this[_0xefdc7a(0x370)],this[_0xefdc7a(0x36f)]=(_0x576a16=_0x387062[_0xefdc7a(0x112)])!=null?_0x576a16:this['_labelPosition'],this[_0xefdc7a(0x151)]=(_0x2187d4=_0x387062['backgroundColor'])!=null?_0x2187d4:this[_0xefdc7a(0x151)],this[_0xefdc7a(0x220)]({'width':_0x387062[_0xefdc7a(0x39b)],'height':_0x387062[_0xefdc7a(0x37a)]});}[_0x1bfb44(0x168)](_0x402285){const _0x3d7bc9=_0x1bfb44,{row:_0x5ee38f,column:_0x36afc4}=_0x402285;if(_0x5ee38f>=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x13a)]&&_0x5ee38f<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x277)]&&_0x36afc4>=this['_range'][_0x3d7bc9(0x1b1)]&&_0x36afc4<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x2f0)]){this[_0x3d7bc9(0x3a0)]({'hovered':!0x0});return;}this[_0x3d7bc9(0x3a0)]({'hovered':!0x1});}['triggerDblclick'](_0xa59dfd){return!0x1;}[_0x1bfb44(0x1d0)](_0x3977e5){const _0x2584e8=_0x1bfb44;_0x314741[_0x2584e8(0x2a6)][_0x2584e8(0x355)](_0x3977e5,{'width':this['width'],'height':this[_0x2584e8(0x37a)],'strokeWidth':_0x1284ec,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2584e8(0x151)]}),this['_hovered']&&(_0x3977e5[_0x2584e8(0x22b)](),_0x3977e5[_0x2584e8(0x1c7)](0x1,0x0,0x0,0x1,this[_0x2584e8(0x39b)],this[_0x2584e8(0x36f)]===_0x2584e8(0x2af)?0x0:-_0x332cee),_0x47a55f[_0x2584e8(0x355)](_0x3977e5,{'text':this[_0x2584e8(0x370)],'color':this[_0x2584e8(0x330)]}),_0x3977e5[_0x2584e8(0x35c)]());}}var _0x336c67=Object['getOwnPropertyDescriptor'],_0xd555f6=(_0x1e6169,_0x12afb5,_0x43aed7,_0x7db443)=>{const _0x3c7b0b=_0x1bfb44;for(var _0x6dd3a7=_0x7db443>0x1?void 0x0:_0x7db443?_0x336c67(_0x12afb5,_0x43aed7):_0x12afb5,_0x1f6a04=_0x1e6169[_0x3c7b0b(0x31e)]-0x1,_0x3c0870;_0x1f6a04>=0x0;_0x1f6a04--)(_0x3c0870=_0x1e6169[_0x1f6a04])&&(_0x6dd3a7=_0x3c0870(_0x6dd3a7)||_0x6dd3a7);return _0x6dd3a7;},_0x4f9af6=(_0x24082f,_0x2cf775)=>(_0x25e3e7,_0x510c81)=>_0x2cf775(_0x25e3e7,_0x510c81,_0x24082f);const _0x30b14f=0x1389;let _0x35edad=class extends _0x20afdc['RxDisposable']{constructor(_0x4212da,_0x503da9,_0x1d4714,_0x1c664b){const _0x40d23f=_0x1bfb44;super(),_0x46e3b1(this,_0x40d23f(0x358),new Set()),_0x46e3b1(this,'_lastPointer',null),(this['_context']=_0x4212da,this['_sheetSkeletonManagerService']=_0x503da9,this[_0x40d23f(0x1fc)]=_0x1d4714,this[_0x40d23f(0x2fa)]=_0x1c664b,this['_init']());}['_init'](){const _0x480505=_0x1bfb44;this[_0x480505(0x20e)][_0x480505(0x1b5)][_0x480505(0xee)](_0x309597[_0x480505(0x200)](this[_0x480505(0x318)]),_0x309597[_0x480505(0x325)](_0x18786b=>{const _0x153f77=_0x480505;if(_0x18786b){const _0x5af46a=_0x18786b[_0x153f77(0x14f)];return _0x388e9f['combineLatest'](this[_0x153f77(0x1fc)][_0x153f77(0x2c4)](this['_context'][_0x153f77(0x31d)]),this[_0x153f77(0x2fa)][_0x153f77(0x1fd)])[_0x153f77(0xee)](_0x309597['map'](([_0x5c2673,_0x5487e6])=>{const _0x3496dc=_0x153f77,_0x3d0da7=new Map();return _0x5c2673[_0x3496dc(0x30f)]((_0x306e64,_0x22152f)=>{const _0x464a0d=_0x3496dc;if(_0x306e64[_0x464a0d(0x11f)]===_0x5af46a){const _0x3a05f0={..._0x306e64};_0x3a05f0[_0x464a0d(0x147)]=this['_themeService'][_0x464a0d(0x3a4)](_0x306e64['color']),_0x3d0da7['set'](_0x22152f,_0x3a05f0);}}),{'skeleton':_0x18786b,'cursors':_0x3d0da7};}));}return _0x388e9f['of']({'skeleton':null,'cursors':new Map()});}))[_0x480505(0x26f)](({skeleton:_0x59e589,cursors:_0x91ca45})=>{const _0x261a2d=_0x480505;this[_0x261a2d(0x321)](),_0x59e589&&this[_0x261a2d(0x353)](_0x59e589,_0x91ca45);}),this['_sheetSkeletonManagerService'][_0x480505(0x1b5)][_0x480505(0x26f)](_0x1e915b=>{const _0x4a9f7e=_0x480505;if(_0x1e915b==null)return;const {skeleton:_0x4d05ce}=_0x1e915b,{scene:_0x29287b}=this['_context'];_0x29287b[_0x4a9f7e(0x399)][_0x4a9f7e(0x238)](_0x20afdc[_0x4a9f7e(0x2b9)](_0x5edc4b=>{const _0x10116d=_0x4a9f7e;var _0x5917e8,_0x3e693d;const {offsetX:_0x49d8ef,offsetY:_0x36e846}=_0x5edc4b,{x:_0x2f4b82,y:_0x56ffb3}=_0x29287b['getRelativeToViewportCoord'](_0x314741[_0x10116d(0x286)][_0x10116d(0x2c2)]([_0x49d8ef,_0x36e846])),{scaleX:_0x562c26,scaleY:_0x5f1ae3}=_0x29287b[_0x10116d(0x390)](),_0xbd6690=_0x29287b[_0x10116d(0x322)](_0x314741[_0x10116d(0x2e5)]['VIEW_MAIN']),_0x1eed14=_0x29287b[_0x10116d(0x39f)](_0x314741['Vector2'][_0x10116d(0x2c2)]([_0x2f4b82,_0x56ffb3]),_0xbd6690),_0x1435f2=_0x4d05ce[_0x10116d(0x17a)](_0x49d8ef,_0x36e846,_0x562c26,_0x5f1ae3,_0x1eed14);((_0x5917e8=this[_0x10116d(0x118)])==null?void 0x0:_0x5917e8[_0x10116d(0x10a)])===_0x1435f2[_0x10116d(0x10a)]&&((_0x3e693d=this[_0x10116d(0x118)])==null?void 0x0:_0x3e693d['row'])===_0x1435f2['row']||this[_0x10116d(0x358)]['forEach'](_0x347c9b=>{const _0x46adb0=_0x10116d;_0x347c9b[_0x46adb0(0x168)](_0x1435f2);});},0x64));});}[_0x1bfb44(0x353)](_0x2f95a1,_0x58d9a5){const _0x161b17=_0x1bfb44;var _0x43ceee;const _0x23a362=(_0x43ceee=this[_0x161b17(0x20e)]['getCurrent']())==null?void 0x0:_0x43ceee[_0x161b17(0x103)];if(!_0x23a362)return;const _0x48d93a=this[_0x161b17(0x194)]();if(!_0x48d93a)return;this['_cursors'][_0x161b17(0x30f)](_0x1d5862=>{_0x1d5862['makeDirty']();});const {scene:_0x2bae02}=_0x48d93a,_0x1f273e=_0x53df95(Array[_0x161b17(0x392)](_0x58d9a5[_0x161b17(0x130)]()))[_0x161b17(0x2b4)](_0x4d7ab7=>{const _0x119dcb=_0x161b17,{color:_0x265b73,range:_0x589f31,name:_0x7169b2,selection:_0xe7b0fb,sheetID:_0x277291}=_0x4d7ab7,{startColumn:_0x57ab63,startRow:_0x1d1c94,endColumn:_0x460722,endRow:_0x1eecf7}=_0x589f31,_0x437ca4=_0x28415e['getCoordByCell'](_0x1d1c94,_0x57ab63,_0x2bae02,_0x23a362),_0x27fd0a=_0x28415e[_0x119dcb(0x3a6)](_0x1eecf7,_0x460722,_0x2bae02,_0x23a362),{columnHeaderHeightAndMarginTop:_0xf27a9b}=_0x23a362,{startX:_0x11d1ac,startY:_0x3a198d}=_0x437ca4,{endX:_0x5ec242,endY:_0x16d00a}=_0x27fd0a,_0xffc53b=_0x5ec242-_0x11d1ac,_0x54aaf4=_0x16d00a-_0x3a198d,_0xcfb3e0={'labelPosition':_0x3a198d-_0xf27a9b>=_0x332cee?_0x119dcb(0x374):_0x119dcb(0x2af),'sheetID':_0x277291,'range':_0x589f31,'color':_0x265b73,'name':_0x7169b2,'selection':_0xe7b0fb,'left':_0x11d1ac,'top':_0x3a198d,'width':_0xffc53b,'height':_0x54aaf4,'evented':!0x1,'zIndex':_0x30b14f};return new _0x240cae(_0x7169b2,_0xcfb3e0);});_0x2bae02[_0x161b17(0x141)](_0x1f273e,_0x1cdc0c),this[_0x161b17(0x358)]=new Set(_0x1f273e);}[_0x1bfb44(0x321)](){const _0x5acd82=_0x1bfb44;var _0x2d5e0a;(_0x2d5e0a=this[_0x5acd82(0x358)])==null||_0x2d5e0a[_0x5acd82(0x30f)](_0x5518cd=>_0x5518cd[_0x5acd82(0x201)]());}[_0x1bfb44(0x194)](){const _0x10345e=_0x1bfb44;return _0x28415e[_0x10345e(0x359)](this[_0x10345e(0x389)][_0x10345e(0x32a)],this['_context']);}};_0x35edad=_0xd555f6([_0x4f9af6(0x1,_0x20afdc['Inject'](_0x28415e[_0x1bfb44(0x2d1)])),_0x4f9af6(0x2,_0x20afdc['Inject'](_0x43654b)),_0x4f9af6(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x35edad);function _0x53df95(_0x1a4622){const _0x22d543=_0x1bfb44,_0x765028=new Map();return _0x1a4622[_0x22d543(0x30f)](_0x52d5b1=>{const _0x36d69f=_0x22d543;if(_0x765028[_0x36d69f(0x293)](_0x52d5b1[_0x36d69f(0x384)])){const _0x16399f=_0x765028[_0x36d69f(0x2e1)](_0x52d5b1[_0x36d69f(0x384)]);_0x16399f[_0x36d69f(0x17f)]+=',\x20'+_0x52d5b1[_0x36d69f(0x17f)];}else _0x765028[_0x36d69f(0x165)](_0x52d5b1['selection'],_0x52d5b1);}),Array[_0x22d543(0x392)](_0x765028[_0x22d543(0x130)]());}var _0x39d27=Object[_0x1bfb44(0x3af)],_0x3b1d3b=(_0x1043dd,_0x3f70ea,_0x339f05,_0x137a72)=>{const _0x236235=_0x1bfb44;for(var _0x266184=_0x137a72>0x1?void 0x0:_0x137a72?_0x39d27(_0x3f70ea,_0x339f05):_0x3f70ea,_0x305f69=_0x1043dd[_0x236235(0x31e)]-0x1,_0x580bdd;_0x305f69>=0x0;_0x305f69--)(_0x580bdd=_0x1043dd[_0x305f69])&&(_0x266184=_0x580bdd(_0x266184)||_0x266184);return _0x266184;},_0x3ca687=(_0x2b3ae4,_0x44cc01)=>(_0x452cd7,_0x304fb6)=>_0x44cc01(_0x452cd7,_0x304fb6,_0x2b3ae4);let _0x2037e7=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x52075f,_0x223968,_0x3ec9ff,_0x566a1b,_0x4bd694,_0x265a15){const _0x4a2c3f=_0x1bfb44;super(),this[_0x4a2c3f(0x1da)]=_0x52075f,this[_0x4a2c3f(0x18d)]=_0x223968,this['_collaborationUIEventService']=_0x3ec9ff,this[_0x4a2c3f(0x189)]=_0x566a1b,this[_0x4a2c3f(0x2ab)]=_0x4bd694,this[_0x4a2c3f(0x2b5)]=_0x265a15,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1bfb44(0x35e)](){const _0x379920=_0x1bfb44;this['disposeWithMe'](this[_0x379920(0x1da)]['registerBeforeClose'](()=>{const _0x3047fb=_0x379920;if(this['_localCacheService'][_0x3047fb(0x205)][_0x3047fb(0x125)])return this[_0x3047fb(0x2b5)]['t'](_0x3047fb(0x267));}));}[_0x1bfb44(0x10d)](){const _0xb82c6b=_0x1bfb44;this[_0xb82c6b(0x37d)](this[_0xb82c6b(0x12e)][_0xb82c6b(0x163)][_0xb82c6b(0x26f)](_0x5d57d6=>{const _0x33a3ee=_0xb82c6b;_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0xfb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('collaboration.single-unit.warning')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x3bb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)]['Warning'],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x1f0)]&&this['_notificationService'][_0x33a3ee(0x25e)]({'title':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1cb)),'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x3c6)),'type':_0x33a3ee(0x1ac),'duration':0x0}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x14c)]&&this['_messageService']['show']({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))+'('+_0x5d57d6[_0x33a3ee(0x160)]+')'}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x397)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x5d57d6[_0x33a3ee(0x160)]||'')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x20b)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('session.will-retry')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x22f)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x11a)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1e4))});}));}};_0x2037e7=_0x3b1d3b([_0x3ca687(0x0,_0x351287['IBeforeCloseService']),_0x3ca687(0x1,_0x24c19b[_0x1bfb44(0x146)]),_0x3ca687(0x2,_0x20afdc['Inject'](_0x24c19b['CollaborationUIEventService'])),_0x3ca687(0x3,_0x351287[_0x1bfb44(0x3bd)]),_0x3ca687(0x4,_0x351287[_0x1bfb44(0x12d)]),_0x3ca687(0x5,_0x20afdc['Inject'](_0x20afdc['LocaleService']))],_0x2037e7);const _0x5db899=_0x1bfb44(0x123),_0x276987={};var _0x1a2635=Object[_0x1bfb44(0x3af)],_0x3037d7=(_0x11b53c,_0x1c3fef,_0x11dec0,_0x15f791)=>{const _0x5b36ed=_0x1bfb44;for(var _0x23218e=_0x15f791>0x1?void 0x0:_0x15f791?_0x1a2635(_0x1c3fef,_0x11dec0):_0x1c3fef,_0x48e64c=_0x11b53c[_0x5b36ed(0x31e)]-0x1,_0x4e788c;_0x48e64c>=0x0;_0x48e64c--)(_0x4e788c=_0x11b53c[_0x48e64c])&&(_0x23218e=_0x4e788c(_0x23218e)||_0x23218e);return _0x23218e;},_0x32b3a8=(_0x595fa1,_0x3cd4b4)=>(_0x2509e6,_0x202b2a)=>_0x3cd4b4(_0x2509e6,_0x202b2a,_0x595fa1);let _0x2cf8cc=class{constructor(_0x3b1110,_0x58da39){const _0x38f744=_0x1bfb44;this[_0x38f744(0x213)]=_0x3b1110,this[_0x38f744(0x145)]=_0x58da39;}['transformIMECache'](_0x1632e3){const _0x42b91b=_0x1bfb44;this[_0x42b91b(0x14e)](_0x1632e3),this[_0x42b91b(0x35f)](_0x1632e3);}['transformRemoteChangeset'](_0x1b043b){const _0x2f6b93=_0x1bfb44,{unitID:_0x5e597d}=_0x1b043b,_0x525a9a=this[_0x2f6b93(0x145)][_0x2f6b93(0x1bf)](_0x5e597d)[_0x2f6b93(0x1a2)](_0x4c9f55[_0x2f6b93(0x30b)]),{redoCache:_0x3f1dfc}=_0x525a9a[_0x2f6b93(0x1e1)]();if(_0x3f1dfc[_0x2f6b93(0x31e)]===0x0)return _0x1b043b;let _0xa5a271=_0x20afdc[_0x2f6b93(0x2cc)][_0x2f6b93(0x349)](_0x1b043b[_0x2f6b93(0x110)][0x0]);for(let _0x1533f7=0x0;_0x1533f7<_0x3f1dfc[_0x2f6b93(0x31e)];_0x1533f7++){const _0x17207e={'id':'doc.mutation.rich-text-editing','params':{..._0x3f1dfc[_0x1533f7]}},_0xd6f362=this[_0x2f6b93(0x213)][_0x2f6b93(0x152)](_0xa5a271,_0x17207e,!0x1);if(_0x5d9b62[_0x2f6b93(0x3b3)](_0xd6f362))throw _0xd6f362[_0x2f6b93(0x1ac)];_0xa5a271=_0xd6f362['m1Prime'];}return{..._0x20afdc[_0x2f6b93(0x2cc)]['deepClone'](_0x1b043b),'mutations':[_0xa5a271]};}[_0x1bfb44(0x14e)](_0x44a926){const _0x484ec0=_0x1bfb44,{unitID:_0x1d131a}=_0x44a926,_0x4607e9=this[_0x484ec0(0x145)][_0x484ec0(0x1bf)](_0x1d131a)[_0x484ec0(0x1a2)](_0x4c9f55[_0x484ec0(0x30b)]),{undoCache:_0x58dc9a,redoCache:_0x28fdf1}=_0x4607e9['getUndoRedoMutationParamsCache']();if(_0x58dc9a[_0x484ec0(0x31e)]===0x0||_0x28fdf1[_0x484ec0(0x31e)]===0x0)return;const _0x34775f=[],_0x462c43=[];let _0x3960bd=_0x20afdc[_0x484ec0(0x2cc)][_0x484ec0(0x349)](_0x44a926['mutations'][0x0]),_0xfe859f=_0x20afdc[_0x484ec0(0x2cc)]['deepClone'](_0x44a926['mutations'][0x0]);for(let _0x1c56c3=_0x58dc9a[_0x484ec0(0x31e)]-0x1;_0x1c56c3>=0x0;_0x1c56c3--){const _0x5b20cc={'id':'doc.mutation.rich-text-editing','params':{..._0x58dc9a[_0x1c56c3]}},_0x5a5cc2={'id':_0x484ec0(0x292),'params':{..._0x28fdf1[_0x1c56c3]}},_0x52881a=this[_0x484ec0(0x213)]['transformMutation'](_0x3960bd,_0x5b20cc,!0x1),_0x5a31ad=this['_transformService']['transformMutation'](_0xfe859f,_0x5a5cc2,!0x1);if(_0x5d9b62[_0x484ec0(0x3b3)](_0x52881a))throw _0x52881a[_0x484ec0(0x1ac)];if(_0x5d9b62[_0x484ec0(0x3b3)](_0x5a31ad))throw _0x5a31ad[_0x484ec0(0x1ac)];_0x34775f[_0x484ec0(0x2aa)](_0x52881a['m2Prime'][_0x484ec0(0x317)]),_0x462c43[_0x484ec0(0x2aa)](_0x5a31ad[_0x484ec0(0x223)]['params']),_0x3960bd=_0x52881a[_0x484ec0(0x209)],_0xfe859f=_0x5a31ad['m1Prime'];}_0x4607e9[_0x484ec0(0x1ec)]({'undoCache':_0x34775f,'redoCache':_0x462c43});}[_0x1bfb44(0x35f)](_0x540d9e){const _0x593ea6=_0x1bfb44,{unitID:_0x33dabb}=_0x540d9e,_0x3e0246=this[_0x593ea6(0x145)][_0x593ea6(0x1bf)](_0x33dabb)[_0x593ea6(0x1a2)](_0x4c9f55['DocIMEInputManagerService']),_0x4708d9=_0x3e0246[_0x593ea6(0x299)]();if(_0x4708d9==null)return;const _0x588abe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x540d9e[_0x593ea6(0x1c4)],'actions':null,'textRanges':[_0x4708d9]}}],_0x559ac9=this[_0x593ea6(0x213)]['transformMutationsWithChangeset'](_0x540d9e,_0x588abe);if(!_0x5d9b62['isTransformMutationsWithChangesetSuccess'](_0x559ac9))throw _0x559ac9[_0x593ea6(0x1ac)];const _0x432ded=_0x559ac9[_0x593ea6(0x223)][0x0][_0x593ea6(0x317)][_0x593ea6(0x122)];Array[_0x593ea6(0x140)](_0x432ded)&&_0x432ded[_0x593ea6(0x31e)]&&_0x3e0246[_0x593ea6(0x300)](_0x432ded[0x0]);}};_0x2cf8cc=_0x3037d7([_0x32b3a8(0x0,_0x5d9b62[_0x1bfb44(0x39e)]),_0x32b3a8(0x1,_0x314741['IRenderManagerService'])],_0x2cf8cc);var _0xbef7ed=Object[_0x1bfb44(0x3af)],_0x2812a4=(_0x4bc063,_0xbdb857,_0x114a5e,_0x449005)=>{const _0x322bd3=_0x1bfb44;for(var _0x409e60=_0x449005>0x1?void 0x0:_0x449005?_0xbef7ed(_0xbdb857,_0x114a5e):_0xbdb857,_0x21779b=_0x4bc063[_0x322bd3(0x31e)]-0x1,_0x29f54c;_0x21779b>=0x0;_0x21779b--)(_0x29f54c=_0x4bc063[_0x21779b])&&(_0x409e60=_0x29f54c(_0x409e60)||_0x409e60);return _0x409e60;},_0x5a5389=(_0x118a0c,_0x312d20)=>(_0x3d333a,_0xa0c366)=>_0x312d20(_0x3d333a,_0xa0c366,_0x118a0c);let _0x4c9bc9=class{constructor(_0x7fb203,_0x40bf05,_0x5cf54e){this['_injector']=_0x7fb203,this['_transformService']=_0x40bf05,this['_docStateChangeManagerService']=_0x5cf54e;}[_0x1bfb44(0x28d)](_0x4ea123){const _0x4f0337=_0x1bfb44;this[_0x4f0337(0x244)](_0x4ea123);}['transformRemoteChangeset'](_0x107547){const _0x5ba09d=_0x1bfb44,{unitID:_0x5bf846}=_0x107547,{collaboration:_0x2c897a}=this[_0x5ba09d(0x375)][_0x5ba09d(0x366)](_0x5bf846);if(_0x2c897a[_0x5ba09d(0x31e)]===0x0)return _0x107547;let _0x48dcb9=_0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547['mutations'][0x0]);for(let _0x4273e9=0x0;_0x4273e9<_0x2c897a[_0x5ba09d(0x31e)];_0x4273e9++){const _0x56f398={'id':_0x5ba09d(0x292),'params':{'unitId':_0x2c897a[_0x4273e9]['unitId'],..._0x2c897a[_0x4273e9]['redoState']}},_0x3e3a73=this['_transformService'][_0x5ba09d(0x152)](_0x48dcb9,_0x56f398,!0x1);if(_0x5d9b62[_0x5ba09d(0x3b3)](_0x3e3a73))throw _0x3e3a73[_0x5ba09d(0x1ac)];_0x48dcb9=_0x3e3a73[_0x5ba09d(0x209)];}return{..._0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547),'mutations':[_0x48dcb9]};}[_0x1bfb44(0x244)](_0x44946d){const _0x3947bc=_0x1bfb44,{unitID:_0x3aaab8}=_0x44946d,{history:_0x2df991,collaboration:_0x14f1e2}=this['_docStateChangeManagerService']['getStateCache'](_0x3aaab8);if(_0x2df991[_0x3947bc(0x31e)]===0x0&&_0x14f1e2[_0x3947bc(0x31e)]===0x0)return;const _0x3c6e87=[],_0x4fd18c=[];let _0x31fbe8=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x1a9f6d=_0x2df991[_0x3947bc(0x31e)]-0x1;_0x1a9f6d>=0x0;_0x1a9f6d--){const _0x31b10d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d]['undoState']}},_0x578bd3={'id':_0x3947bc(0x292),'params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d][_0x3947bc(0x347)]}},_0x5c2ccc=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x31fbe8,_0x31b10d,!0x1),_0x3e8409=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x1be736,_0x578bd3,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x5c2ccc))throw _0x5c2ccc[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x3e8409))throw _0x3e8409[_0x3947bc(0x1ac)];_0x3c6e87[_0x3947bc(0x2aa)]({..._0x2df991[_0x1a9f6d],'undoState':_0x5c2ccc[_0x3947bc(0x223)][_0x3947bc(0x317)],'redoState':_0x3e8409[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x5c2ccc[_0x3947bc(0x209)],_0x1be736=_0x3e8409[_0x3947bc(0x209)];}_0x31fbe8=_0x20afdc['Tools'][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x124da4=_0x14f1e2[_0x3947bc(0x31e)]-0x1;_0x124da4>=0x0;_0x124da4--){const _0x4a7f2a={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x20a)]}},_0x5045d7={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x347)]}},_0x1eb4f5=this[_0x3947bc(0x213)]['transformMutation'](_0x31fbe8,_0x4a7f2a,!0x1),_0x588361=this['_transformService'][_0x3947bc(0x152)](_0x1be736,_0x5045d7,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x1eb4f5))throw _0x1eb4f5[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x588361))throw _0x588361['error'];_0x4fd18c[_0x3947bc(0x2aa)]({..._0x14f1e2[_0x124da4],'undoState':_0x1eb4f5[_0x3947bc(0x223)]['params'],'redoState':_0x588361[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x1eb4f5[_0x3947bc(0x209)],_0x1be736=_0x588361[_0x3947bc(0x209)];}this[_0x3947bc(0x375)][_0x3947bc(0x25a)](_0x3aaab8,{'history':_0x3c6e87,'collaboration':_0x4fd18c});}};_0x4c9bc9=_0x2812a4([_0x5a5389(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x5a5389(0x1,_0x5d9b62[_0x1bfb44(0x39e)]),_0x5a5389(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)]))],_0x4c9bc9);var _0xaf92b8=Object['getOwnPropertyDescriptor'],_0x2496c3=(_0x3d129c,_0x1f94e1,_0x2c9431,_0x338116)=>{for(var _0x18a4c5=_0x338116>0x1?void 0x0:_0x338116?_0xaf92b8(_0x1f94e1,_0x2c9431):_0x1f94e1,_0x4df4a3=_0x3d129c['length']-0x1,_0x58f037;_0x4df4a3>=0x0;_0x4df4a3--)(_0x58f037=_0x3d129c[_0x4df4a3])&&(_0x18a4c5=_0x58f037(_0x18a4c5)||_0x18a4c5);return _0x18a4c5;},_0x1e06a2=(_0x4ff08d,_0x85e80a)=>(_0x1f0fb8,_0x2570fa)=>_0x85e80a(_0x1f0fb8,_0x2570fa,_0x4ff08d);let _0x34b5db=class{constructor(_0x173bcc,_0x24f4d1){const _0x292136=_0x1bfb44;this[_0x292136(0x319)]=_0x173bcc,this[_0x292136(0x213)]=_0x24f4d1;}[_0x1bfb44(0x100)](_0xa411c5){const _0x27a357=_0x1bfb44;var _0x4f3f1d;const _0x2e4a8c=this[_0x27a357(0x319)][_0x27a357(0x2e1)](_0x52be1c[_0x27a357(0x1ba)]),_0x53ea6c=(_0x4f3f1d=_0x2e4a8c[_0x27a357(0x2a3)]())!=null?_0x4f3f1d:[];if(_0x53ea6c[_0x27a357(0x31e)]===0x0)return;const _0x1b0668=_0xa411c5[_0x27a357(0x1c4)],_0x3d5b5f=[{'id':_0x27a357(0x292),'params':{'unitId':_0x1b0668,'actions':null,'textRanges':_0x53ea6c}}],_0x4cfd20=this[_0x27a357(0x213)]['transformMutationsWithChangeset'](_0xa411c5,_0x3d5b5f);if(!_0x5d9b62[_0x27a357(0x187)](_0x4cfd20))throw _0x4cfd20[_0x27a357(0x1ac)];const _0x40d85=_0x4cfd20[_0x27a357(0x223)][0x0]['params'][_0x27a357(0x122)];Array[_0x27a357(0x140)](_0x40d85)&&_0x40d85[_0x27a357(0x31e)]&&_0x2e4a8c['replaceDocRanges'](_0x40d85,{'unitId':_0x1b0668,'subUnitId':_0x1b0668},!0x1);}};_0x34b5db=_0x2496c3([_0x1e06a2(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x1e06a2(0x1,_0x5d9b62['ITransformService'])],_0x34b5db);var _0x315323=Object[_0x1bfb44(0x3af)],_0x385f06=(_0x205d4c,_0x356666,_0x5b681b,_0x1537a8)=>{const _0x2cf516=_0x1bfb44;for(var _0x2175ee=_0x1537a8>0x1?void 0x0:_0x1537a8?_0x315323(_0x356666,_0x5b681b):_0x356666,_0x5cf3c5=_0x205d4c[_0x2cf516(0x31e)]-0x1,_0x5757e7;_0x5cf3c5>=0x0;_0x5cf3c5--)(_0x5757e7=_0x205d4c[_0x5cf3c5])&&(_0x2175ee=_0x5757e7(_0x2175ee)||_0x2175ee);return _0x2175ee;},_0x4c2900=(_0x44dd1e,_0x46b8e0)=>(_0x5b99b1,_0x46474c)=>_0x46b8e0(_0x5b99b1,_0x46474c,_0x44dd1e);let _0x403fb4=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0xd4bd30,_0x37e784,_0x27e32d,_0x435e5b,_0x4b1c9e,_0x9aea9a,_0x1641c6,_0x4593b8){const _0x154550=_0x1bfb44;super(),_0x46e3b1(this,'_status$',new _0x388e9f[(_0x154550(0x1ca))](_0x24c19b[_0x154550(0x190)][_0x154550(0x3c4)])),(this[_0x154550(0x375)]=_0xd4bd30,this[_0x154550(0x34f)]=_0x37e784,this[_0x154550(0x362)]=_0x27e32d,this['_docTransformStateCacheService']=_0x435e5b,this[_0x154550(0x169)]=_0x4b1c9e,this['_docSyncEditingCollabCursorService']=_0x9aea9a,this[_0x154550(0x189)]=_0x1641c6,this[_0x154550(0x2b5)]=_0x4593b8,this[_0x154550(0x2a5)]());}[_0x1bfb44(0x2a5)](){const _0x3681e7=_0x1bfb44;this[_0x3681e7(0x37d)](this[_0x3681e7(0x34f)][_0x3681e7(0x21b)][_0x3681e7(0x26f)](_0x435070=>{const _0x724684=_0x3681e7,_0xa450f=this[_0x724684(0x375)][_0x724684(0x10c)][_0x724684(0x26f)](_0xcba65a=>{const _0x38fa48=_0x724684;if(_0xcba65a==null)return;const {unitId:_0x5c8438,redoState:_0x3c9d58,commandId:_0x48d3f5}=_0xcba65a;if(_0x5c8438!==_0x435070[_0x38fa48(0x1c4)])return;const _0x301729={'id':_0x48d3f5,'type':_0x20afdc[_0x38fa48(0x204)][_0x38fa48(0x26a)],'params':{'unitId':_0x5c8438,'actions':_0x3c9d58[_0x38fa48(0xff)],'textRanges':null}};_0x435070[_0x38fa48(0x2cf)](_0x301729);});if(_0x435070[_0x724684(0x37d)](_0xa450f),_0x435070 instanceof _0x24c19b['DocCollaborationEntity']){const _0x53f3f6={'onTransformIME':_0xc1663f=>this[_0x724684(0x362)][_0x724684(0x290)](_0xc1663f),'onTransformState':_0x439521=>this[_0x724684(0x296)][_0x724684(0x28d)](_0x439521),'onTransformSelections':_0x56180a=>this['_docTransformSelectionsService']['transformSelections'](_0x56180a),'onSyncEditingCollabCursor':_0x1281f0=>this[_0x724684(0x2a8)][_0x724684(0x39a)](_0x1281f0),'onTransformRemoteChangesetByIMECache':_0x155b57=>this[_0x724684(0x362)][_0x724684(0x3a2)](_0x155b57),'onTransformRemoteChangesetByStateCache':_0x5ded44=>this[_0x724684(0x296)][_0x724684(0x3a2)](_0x5ded44)};_0x435070[_0x724684(0x102)](_0x53f3f6);}}));}};_0x403fb4=_0x385f06([_0x4c2900(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)])),_0x4c2900(0x1,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x3ac)])),_0x4c2900(0x2,_0x20afdc['Inject'](_0x2cf8cc)),_0x4c2900(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x4c9bc9)),_0x4c2900(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x34b5db)),_0x4c2900(0x5,_0x20afdc['Inject'](_0x2a0bd)),_0x4c2900(0x6,_0x351287[_0x1bfb44(0x3bd)]),_0x4c2900(0x7,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x115)]))],_0x403fb4);var _0x18e87c=(_0x2a517d=>(_0x2a517d[_0x2a517d['UNDEFINED']=0x0]='UNDEFINED',_0x2a517d[_0x2a517d['OK']=0x1]='OK',_0x2a517d[_0x2a517d[_0x1bfb44(0x363)]=0x2]='INTERNAL_ERROR',_0x2a517d[_0x2a517d['PERMISSION_DENIED']=0x3]=_0x1bfb44(0x1f0),_0x2a517d[_0x2a517d[_0x1bfb44(0x35a)]=0x4]=_0x1bfb44(0x35a),_0x2a517d[_0x2a517d[_0x1bfb44(0x25b)]=0x5]=_0x1bfb44(0x25b),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b2)]=0x6]=_0x1bfb44(0x1b2),_0x2a517d[_0x2a517d[_0x1bfb44(0x3b9)]=0x7]='INVALID_ARGUMENT',_0x2a517d[_0x2a517d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2a517d[_0x2a517d['COMPLETION_FINISHED']=0x9]=_0x1bfb44(0x1a5),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ec)]=0xa]=_0x1bfb44(0x2ec),_0x2a517d[_0x2a517d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2a517d[_0x2a517d[_0x1bfb44(0x38f)]=0xc]=_0x1bfb44(0x38f),_0x2a517d[_0x2a517d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1bfb44(0x120),_0x2a517d[_0x2a517d[_0x1bfb44(0x29f)]=0xe]=_0x1bfb44(0x29f),_0x2a517d[_0x2a517d[_0x1bfb44(0x32c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2a517d[_0x2a517d['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1bfb44(0x2ef),_0x2a517d[_0x2a517d[_0x1bfb44(0x231)]=0x64]=_0x1bfb44(0x231),_0x2a517d[_0x2a517d['ERROR_AGAIN']=0x65]=_0x1bfb44(0x10f),_0x2a517d[_0x2a517d[_0x1bfb44(0x23f)]=0xc9]='USER_NOT_FOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x295)]=0xca]=_0x1bfb44(0x295),_0x2a517d[_0x2a517d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1bfb44(0x19e),_0x2a517d[_0x2a517d[_0x1bfb44(0x138)]=0x1771]=_0x1bfb44(0x138),_0x2a517d[_0x2a517d[_0x1bfb44(0x1d8)]=0x1772]=_0x1bfb44(0x1d8),_0x2a517d[_0x2a517d[_0x1bfb44(0xfe)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a517d[_0x2a517d[_0x1bfb44(0x27e)]=0x1b59]=_0x1bfb44(0x27e),_0x2a517d[_0x2a517d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bfb44(0x1f9),_0x2a517d[_0x2a517d[_0x1bfb44(0x230)]=0x1b5b]=_0x1bfb44(0x230),_0x2a517d[_0x2a517d[_0x1bfb44(0x346)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a517d[_0x2a517d[_0x1bfb44(0x174)]=0x1b5d]='APPLY_DUPLICATED',_0x2a517d[_0x2a517d[_0x1bfb44(0x3a3)]=0x1f41]=_0x1bfb44(0x3a3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b7)]=0x2329]=_0x1bfb44(0x1b7),_0x2a517d[_0x2a517d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x381)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x243)]=0x232c]=_0x1bfb44(0x243),_0x2a517d[_0x2a517d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1bfb44(0xf4),_0x2a517d[_0x2a517d[_0x1bfb44(0x119)]=0x2711]=_0x1bfb44(0x119),_0x2a517d[_0x2a517d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bfb44(0x1b0),_0x2a517d[_0x2a517d[_0x1bfb44(0x113)]=0x2713]=_0x1bfb44(0x113),_0x2a517d[_0x2a517d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2a517d[_0x2a517d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1bfb44(0x30e),_0x2a517d[_0x2a517d['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1bfb44(0x3c1),_0x2a517d[_0x2a517d[_0x1bfb44(0x150)]=0x271c]=_0x1bfb44(0x150),_0x2a517d[_0x2a517d[_0x1bfb44(0x2e3)]=0x271d]=_0x1bfb44(0x2e3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1ae)]=0x271e]=_0x1bfb44(0x1ae),_0x2a517d[_0x2a517d[_0x1bfb44(0x356)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2a517d[_0x2a517d[_0x1bfb44(0x171)]=0x2720]=_0x1bfb44(0x171),_0x2a517d[_0x2a517d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1bfb44(0x28f),_0x2a517d[_0x2a517d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1bfb44(0x215),_0x2a517d[_0x2a517d[_0x1bfb44(0x2cb)]=0x2ee2]=_0x1bfb44(0x2cb),_0x2a517d[_0x2a517d[_0x1bfb44(0x20c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a517d[_0x2a517d[_0x1bfb44(0x157)]=0x2ee4]=_0x1bfb44(0x157),_0x2a517d[_0x2a517d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x24d)]=0x32c9]=_0x1bfb44(0x24d),_0x2a517d[_0x2a517d[_0x1bfb44(0x354)]=0x32ca]=_0x1bfb44(0x354),_0x2a517d[_0x2a517d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1bfb44(0x210),_0x2a517d[_0x2a517d[_0x1bfb44(0x222)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2a517d[_0x2a517d['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1bfb44(0x2d7),_0x2a517d[_0x2a517d['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1bfb44(0x2b6),_0x2a517d[_0x2a517d['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1bfb44(0x3be),_0x2a517d[_0x2a517d['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1bfb44(0x2e9),_0x2a517d[_0x2a517d['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2a517d[_0x2a517d[_0x1bfb44(0x162)]=0x37dd]=_0x1bfb44(0x162),_0x2a517d[_0x2a517d[_0x1bfb44(0x11d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2a517d[_0x2a517d[_0x1bfb44(0x156)]=0x3a9a]=_0x1bfb44(0x156),_0x2a517d[_0x2a517d[_0x1bfb44(0x29c)]=0x3a9b]=_0x1bfb44(0x29c),_0x2a517d[_0x2a517d['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1bfb44(0x175),_0x2a517d[_0x2a517d[_0x1bfb44(0x21c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2a517d[_0x2a517d[_0x1bfb44(0x36d)]=0x3a9e]=_0x1bfb44(0x36d),_0x2a517d[_0x2a517d[_0x1bfb44(0x3aa)]=0x3a9f]=_0x1bfb44(0x3aa),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ba)]=-0x1]=_0x1bfb44(0x2ba),_0x2a517d))(_0x18e87c||{});function _0x256729(_0xfa959d){const _0x5075ae=_0x1bfb44;var _0x4482ee,_0x4ca36d;const _0x1fcb9d=(_0x4482ee=_0xfa959d['stageInfo'])==null?void 0x0:_0x4482ee[_0x5075ae(0x1c3)],_0x3be16e=((_0x4ca36d=_0xfa959d['stageInfo'])==null?void 0x0:_0x4ca36d[_0x5075ae(0x217)])||0x0;return _0x1fcb9d===_0x5892b7[_0x5075ae(0x1b3)][_0x5075ae(0x236)]&&_0x3be16e>0x0;}function _0x37d9f4(_0x306b6c){const _0x2fd559=_0x1bfb44;return _0x306b6c['functionsExecutedState']===_0x5892b7[_0x2fd559(0x227)]['SUCCESS'];}var _0x4be633=Object[_0x1bfb44(0x3af)],_0x3943b7=(_0x131637,_0x57d78d,_0x42f255,_0x5f5318)=>{for(var _0x57e3fa=_0x5f5318>0x1?void 0x0:_0x5f5318?_0x4be633(_0x57d78d,_0x42f255):_0x57d78d,_0xfb894f=_0x131637['length']-0x1,_0x458f83;_0xfb894f>=0x0;_0xfb894f--)(_0x458f83=_0x131637[_0xfb894f])&&(_0x57e3fa=_0x458f83(_0x57e3fa)||_0x57e3fa);return _0x57e3fa;},_0x5b4266=(_0x51d367,_0x1d21e0)=>(_0x5ced6c,_0x4684e4)=>_0x1d21e0(_0x5ced6c,_0x4684e4,_0x51d367);const _0x1fa58c=_0x1bfb44(0x18b),_0x199220='/universer-api/license/formula/limit/start',_0x6fef7=_0x1bfb44(0x1af);let _0x475265=class extends _0x20afdc['Disposable']{constructor(_0xd4d1e1,_0x134260,_0x2b4367,_0x19d797,_0x262157,_0x3d9b79,_0x38b69d){const _0x50068e=_0x1bfb44;super(),_0x46e3b1(this,_0x50068e(0x23d),null),_0x46e3b1(this,_0x50068e(0x124),0x0),_0x46e3b1(this,'_currentUsage',0x0),_0x46e3b1(this,_0x50068e(0x2a9),[]),_0x46e3b1(this,_0x50068e(0x117),0x0),(this['_messageService']=_0xd4d1e1,this[_0x50068e(0x22a)]=_0x134260,this[_0x50068e(0x288)]=_0x2b4367,this[_0x50068e(0x301)]=_0x19d797,this['_univerInstanceService']=_0x262157,this[_0x50068e(0x310)]=_0x3d9b79,this[_0x50068e(0x2b5)]=_0x38b69d,this[_0x50068e(0x2ac)]());}[_0x1bfb44(0x2ac)](){const _0x2b0297=_0x1bfb44;this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x26b)]((_0x34536b,_0x39a810)=>{const _0x2d585b=_0x2b0297;if(_0x34536b['id']!==_0x5892b7['SetFormulaCalculationStartMutation']['id'])return;const _0x1eefd9=_0x34536b[_0x2d585b(0x317)];if(!this[_0x2d585b(0x36b)](_0x1eefd9['dirtyRanges']))return;if(!this['_checkCalculationAvailable']())throw this[_0x2d585b(0x2c6)](_0x34536b,_0x39a810),this[_0x2d585b(0x316)](),new _0x20afdc[(_0x2d585b(0x320))]();})),this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x248)]((_0x147440,_0x9055f0)=>{const _0x59b8eb=_0x2b0297;if(_0x147440['id']!==_0x5892b7[_0x59b8eb(0x388)]['id'])return;const _0x44a398=_0x147440[_0x59b8eb(0x317)];if(_0x256729(_0x44a398)){const _0x50eaf6=_0x20afdc[_0x59b8eb(0x37e)]();this['_taskIds']['push'](_0x50eaf6),this[_0x59b8eb(0x352)](_0x50eaf6);}else{if(_0x37d9f4(_0x44a398)&&this['_taskIds']['length']>0x0){const _0x1587cd=this['_taskIds'][_0x59b8eb(0x1d1)]();this[_0x59b8eb(0x28c)](_0x1587cd);}}}));}['dispose'](){const _0x4bacd0=_0x1bfb44;super[_0x4bacd0(0x201)](),this[_0x4bacd0(0x23b)](),this[_0x4bacd0(0x2a9)]=[],this[_0x4bacd0(0x26c)]=0x0,this[_0x4bacd0(0x124)]=0x0,this[_0x4bacd0(0x117)]=0x0;}async[_0x1bfb44(0x2c6)](_0x4e248f,_0x193d55){const _0x2b00bd=_0x1bfb44;for(let _0x3dd9be=0x0;_0x3dd9be<0x1e;_0x3dd9be++)try{if(await this[_0x2b00bd(0x3c3)](),this['_checkCalculationAvailable']()){this[_0x2b00bd(0x377)](_0x4e248f,_0x193d55),this['_messageService'][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x23e)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x13b)]});return;}await new Promise(_0x5d7474=>{const _0x39f520=_0x2b00bd;this['_pollingInterval']=window[_0x39f520(0x3a7)](_0x5d7474,0x3e8);});}catch(_0x114e98){this['_logService'][_0x2b00bd(0x1ac)](_0x114e98);}this[_0x2b00bd(0x189)][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x116)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x34d)]});}['_applyCommand'](_0x37229b,_0x3b8240){const _0x3afcea=_0x1bfb44;try{this[_0x3afcea(0x22a)][_0x3afcea(0x350)](_0x37229b['id'],_0x37229b[_0x3afcea(0x317)],_0x3b8240);}catch(_0x5886f3){this['_logService'][_0x3afcea(0x1ac)](_0x5886f3);}}[_0x1bfb44(0x28b)](_0x330ff1,_0x4cd3a3){const _0x47a67c=_0x1bfb44;_0x4cd3a3<this[_0x47a67c(0x117)]||(this[_0x47a67c(0x117)]=_0x4cd3a3,this[_0x47a67c(0x124)]=Number['parseInt'](_0x330ff1['maxFormulaLimit']),this['_currentUsage']=Number[_0x47a67c(0x24f)](_0x330ff1[_0x47a67c(0x27c)]));}async['_startCalculationLimit'](_0x3333da){const _0x2ca902=_0x1bfb44;var _0x3523d2,_0x2308a6;const _0x515404=Date[_0x2ca902(0x1a7)]();try{const _0x5dbddc=((_0x3523d2=this[_0x2ca902(0x288)][_0x2ca902(0x2da)](_0x24c19b[_0x2ca902(0x268)]))==null?void 0x0:_0x3523d2[_0x2ca902(0x1bc)])||_0x199220,_0x1376e8=(await this[_0x2ca902(0x301)]['post'](_0x5dbddc,{'body':JSON[_0x2ca902(0x32d)]({'taskId':_0x3333da})}))[_0x2ca902(0x2c9)];if(((_0x2308a6=_0x1376e8['error'])==null?void 0x0:_0x2308a6[_0x2ca902(0x173)])!==_0x18e87c['OK'])return;this[_0x2ca902(0x28b)](_0x1376e8[_0x2ca902(0x28a)],_0x515404);}catch(_0x475d3e){this[_0x2ca902(0x310)]['error'](_0x475d3e);}}async[_0x1bfb44(0x3c3)](_0x4f93f3){const _0x17c4f6=_0x1bfb44;var _0x5270fa,_0x563203;const _0xe57dbf=Date[_0x17c4f6(0x1a7)]();try{const _0x26e3d2=((_0x5270fa=this[_0x17c4f6(0x288)]['getConfig'](_0x24c19b[_0x17c4f6(0x268)]))==null?void 0x0:_0x5270fa[_0x17c4f6(0x202)])||_0x1fa58c,_0x4e49ef=_0x4f93f3?_0x26e3d2+_0x17c4f6(0x22c)+encodeURIComponent(_0x4f93f3):_0x26e3d2,_0x4c0bc9=(await this[_0x17c4f6(0x301)]['get'](_0x4e49ef))[_0x17c4f6(0x2c9)];if(((_0x563203=_0x4c0bc9['error'])==null?void 0x0:_0x563203[_0x17c4f6(0x173)])!==_0x18e87c['OK'])return;this[_0x17c4f6(0x28b)](_0x4c0bc9[_0x17c4f6(0x28a)],_0xe57dbf);}catch(_0x15a4b3){this[_0x17c4f6(0x310)][_0x17c4f6(0x1ac)](_0x15a4b3);}}async[_0x1bfb44(0x28c)](_0xd72491){const _0x4b354b=_0x1bfb44;var _0x48fcb2,_0x96b177;const _0xcb29ba=Date[_0x4b354b(0x1a7)]();try{const _0x3ee0ba=((_0x48fcb2=this[_0x4b354b(0x288)][_0x4b354b(0x2da)](_0x24c19b[_0x4b354b(0x268)]))==null?void 0x0:_0x48fcb2['releaseFormulaLimitUrl'])||_0x6fef7,_0x26ac70=(await this[_0x4b354b(0x301)][_0x4b354b(0x15e)](_0x3ee0ba,{'body':JSON[_0x4b354b(0x32d)]({'taskId':_0xd72491})}))[_0x4b354b(0x2c9)];if(((_0x96b177=_0x26ac70[_0x4b354b(0x1ac)])==null?void 0x0:_0x96b177[_0x4b354b(0x173)])!==_0x18e87c['OK'])return;this[_0x4b354b(0x28b)](_0x26ac70[_0x4b354b(0x28a)],_0xcb29ba);}catch(_0x5173d7){this['_logService']['error'](_0x5173d7);}}['_checkCalculationAvailable'](){const _0x249912=_0x1bfb44;return this[_0x249912(0x124)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x249912(0x26c)]>0x0;}[_0x1bfb44(0x23b)](){const _0x49a9bc=_0x1bfb44;this[_0x49a9bc(0x23d)]&&(clearTimeout(this[_0x49a9bc(0x23d)]),this[_0x49a9bc(0x23d)]=null);}[_0x1bfb44(0x316)](){const _0x23a39f=_0x1bfb44;this[_0x23a39f(0x189)]['show']({'content':this['_localeService']['t'](_0x23a39f(0x393)),'type':_0x1e0555['MessageType'][_0x23a39f(0x2a0)]});}[_0x1bfb44(0x36b)](_0x87221b){const _0x3d6096=_0x1bfb44;for(const _0x1dd4d6 of _0x87221b){const {unitId:_0x1f678e,sheetId:_0x51348b,range:_0x2c0a9c}=_0x1dd4d6,_0x3871c9=this[_0x3d6096(0x154)][_0x3d6096(0x240)](_0x1f678e);if(!_0x3871c9)continue;const _0x28e81f=_0x3871c9[_0x3d6096(0x1be)](_0x51348b);if(!_0x28e81f)continue;const _0x4d78be=_0x28e81f['getCellMatrix']();for(let _0x4b008f=_0x2c0a9c[_0x3d6096(0x13a)];_0x4b008f<=_0x2c0a9c[_0x3d6096(0x277)];_0x4b008f++)for(let _0x5c32b4=_0x2c0a9c[_0x3d6096(0x1b1)];_0x5c32b4<=_0x2c0a9c[_0x3d6096(0x2f0)];_0x5c32b4++){const _0x48d834=_0x4d78be['getValue'](_0x4b008f,_0x5c32b4);if(_0x48d834&&(_0x20afdc[_0x3d6096(0x282)](_0x48d834['f'])||_0x20afdc[_0x3d6096(0x379)](_0x48d834['si'])))return!0x0;}}return!0x1;}};_0x475265=_0x3943b7([_0x5b4266(0x0,_0x20afdc['Inject'](_0x351287['IMessageService'])),_0x5b4266(0x1,_0x20afdc['ICommandService']),_0x5b4266(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x5b4266(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x5b4266(0x4,_0x20afdc[_0x1bfb44(0xef)]),_0x5b4266(0x5,_0x20afdc['ILogService']),_0x5b4266(0x6,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['LocaleService']))],_0x475265);var _0x5975fa=Object[_0x1bfb44(0x3af)],_0x16b62e=(_0x3458b5,_0x418b05,_0x4a15b2,_0x142d5c)=>{const _0x7a1da1=_0x1bfb44;for(var _0x42a0d3=_0x142d5c>0x1?void 0x0:_0x142d5c?_0x5975fa(_0x418b05,_0x4a15b2):_0x418b05,_0x4e7896=_0x3458b5[_0x7a1da1(0x31e)]-0x1,_0x943907;_0x4e7896>=0x0;_0x4e7896--)(_0x943907=_0x3458b5[_0x4e7896])&&(_0x42a0d3=_0x943907(_0x42a0d3)||_0x42a0d3);return _0x42a0d3;},_0x49ebd9=(_0x3e2fe3,_0x519487)=>(_0x258fd2,_0x3ee307)=>_0x519487(_0x258fd2,_0x3ee307,_0x3e2fe3);let _0x4b4544=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x4b2026,_0x296d89,_0x3ca479){const _0x3d9bf6=_0x1bfb44;super(),_0x46e3b1(this,'_cachedData',new Map()),_0x46e3b1(this,_0x3d9bf6(0x1df),new Map()),_0x46e3b1(this,_0x3d9bf6(0x170),!0x1),(this[_0x3d9bf6(0x288)]=_0x4b2026,this[_0x3d9bf6(0x226)]=_0x296d89,this[_0x3d9bf6(0x331)]=_0x3ca479);}[_0x1bfb44(0x142)](){const _0x377649=_0x1bfb44;this[_0x377649(0x170)]=!0x0;}[_0x1bfb44(0x235)](){const _0x356917=_0x1bfb44;this[_0x356917(0x170)]=!0x1;}get['saveTaskMap'](){const _0x6fa2d1=_0x1bfb44;return this[_0x6fa2d1(0x1df)];}['dispose'](){const _0x1afc50=_0x1bfb44;this[_0x1afc50(0x107)]()[_0x1afc50(0x383)](()=>super[_0x1afc50(0x201)]());}async[_0x1bfb44(0x2fb)](_0x110f5e){const _0x531662=_0x1bfb44;return this[_0x531662(0x170)]?null:this[_0x531662(0x226)][_0x531662(0x21a)](_0x24c19b[_0x531662(0x18a)](_0x110f5e));}async['saveOfflineData'](_0xa274c8,_0x42ccd6){const _0x1b123a=_0x1bfb44;return!!this['_localStorageService'][_0x1b123a(0x29b)](_0xa274c8,_0x42ccd6);}['updateOfflineData'](_0x202e86,_0x4f8a42,_0x46ea9f,_0x270884){const _0x435fd3=_0x1bfb44,_0x707fa8=this[_0x435fd3(0x331)][_0x435fd3(0x136)](_0x202e86);this[_0x435fd3(0x37c)]['set'](_0x202e86,{'unitID':_0x202e86,'type':_0x4f8a42,'awaitingChangeset':_0x46ea9f,'mutations':_0x270884,'rev':_0x707fa8}),this['_saveTaskMap']['has'](_0x202e86)||this[_0x435fd3(0x2f8)](_0x202e86);}['_scheduleSaving'](_0x7e368c){const _0x5ab97b=_0x1bfb44,_0x42f596=this['_getSaveTimeout']();_0x42f596===0x0?this[_0x5ab97b(0x1ff)](_0x7e368c):this['_saveTaskMap']['set'](_0x7e368c,setTimeout(()=>this['_saveCache'](_0x7e368c),_0x42f596));}[_0x1bfb44(0x2dd)](){const _0x5eb3e9=_0x1bfb44;var _0x84eb60;return(_0x84eb60=this[_0x5eb3e9(0x288)][_0x5eb3e9(0x2da)](_0x24c19b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x84eb60:_0x24c19b['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0xd0457d){const _0x426ed2=_0x1bfb44,_0x1d5696=this[_0x426ed2(0x1df)][_0x426ed2(0x2e1)](_0xd0457d);return _0x1d5696!==void 0x0&&window['clearTimeout'](_0x1d5696),this[_0x426ed2(0x226)][_0x426ed2(0x29b)](_0x24c19b['getLocalCacheKey'](_0xd0457d),this['_cachedData'][_0x426ed2(0x2e1)](_0xd0457d))['then'](()=>this[_0x426ed2(0x1df)][_0x426ed2(0x181)](_0xd0457d));}async['exhaustSavingTask'](){const _0x1bc425=_0x1bfb44,_0x212db1=[];this[_0x1bc425(0x1df)][_0x1bc425(0x30f)]((_0x11309b,_0x4de096)=>{const _0x41b0a1=_0x1bc425;window['clearTimeout'](_0x11309b),_0x212db1[_0x41b0a1(0x211)](this[_0x41b0a1(0x1ff)](_0x4de096)[_0x41b0a1(0x383)](()=>{const _0x1465c6=_0x41b0a1;this[_0x1465c6(0x1df)][_0x1465c6(0x181)](_0x4de096);}));}),await Promise['all'](_0x212db1);}};_0x4b4544=_0x16b62e([_0x49ebd9(0x0,_0x20afdc[_0x1bfb44(0x344)]),_0x49ebd9(0x1,_0x20afdc[_0x1bfb44(0x216)]),_0x49ebd9(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x5d9b62[_0x1bfb44(0x24a)]))],_0x4b4544);class _0x2cbf92 extends _0x20afdc['RxDisposable']{constructor(){const _0x5acc0c=_0x1bfb44;super(),_0x46e3b1(this,'urlChange$'),this['urlChange$']=_0x388e9f[_0x5acc0c(0x1ee)](window,_0x5acc0c(0x203))[_0x5acc0c(0xee)](_0x388e9f[_0x5acc0c(0x200)](this['dispose$']),_0x388e9f[_0x5acc0c(0x269)](0x1),_0x388e9f[_0x5acc0c(0x21d)](void 0x0));}[_0x1bfb44(0x313)](_0x339a0f,_0xc477bb,_0x532634=!0x1){const _0x2f9f20=_0x1bfb44,_0x373a2d=new URL(window[_0x2f9f20(0x398)][_0x2f9f20(0x10b)]);_0x373a2d[_0x2f9f20(0x35d)]['set'](_0x339a0f,_0xc477bb),_0x532634?window[_0x2f9f20(0x373)][_0x2f9f20(0x114)]('','',_0x373a2d[_0x2f9f20(0x2e0)]()):window[_0x2f9f20(0x373)][_0x2f9f20(0x212)]('','',_0x373a2d[_0x2f9f20(0x2e0)]());}[_0x1bfb44(0x256)](_0xad2d79,_0xe8914e=!0x1){const _0x3e9b9f=_0x1bfb44,_0x1bf492=new URL(window[_0x3e9b9f(0x398)][_0x3e9b9f(0x10b)]);_0x1bf492[_0x3e9b9f(0x35d)]['delete'](_0xad2d79),_0xe8914e?window[_0x3e9b9f(0x373)]['replaceState']('','',_0x1bf492[_0x3e9b9f(0x2e0)]()):window[_0x3e9b9f(0x373)][_0x3e9b9f(0x212)]('','',_0x1bf492[_0x3e9b9f(0x2e0)]());}['getParam'](_0x3f9d5f){const _0x4f3656=_0x1bfb44;var _0x3db832;return(_0x3db832=new URL(window[_0x4f3656(0x398)][_0x4f3656(0x10b)])[_0x4f3656(0x35d)][_0x4f3656(0x2e1)](_0x3f9d5f))!=null?_0x3db832:void 0x0;}}var _0x5152c2=Object[_0x1bfb44(0x38b)],_0x2b16f7=Object[_0x1bfb44(0x3af)],_0x3a65ce=(_0x50bf30,_0x364cae,_0x4c4f45)=>_0x364cae in _0x50bf30?_0x5152c2(_0x50bf30,_0x364cae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4f45}):_0x50bf30[_0x364cae]=_0x4c4f45,_0x9a3c67=(_0x5001ce,_0x36c71d,_0x4125e4,_0x28558d)=>{const _0x317ba5=_0x1bfb44;for(var _0x23a500=_0x28558d>0x1?void 0x0:_0x28558d?_0x2b16f7(_0x36c71d,_0x4125e4):_0x36c71d,_0x55027a=_0x5001ce[_0x317ba5(0x31e)]-0x1,_0x2096b5;_0x55027a>=0x0;_0x55027a--)(_0x2096b5=_0x5001ce[_0x55027a])&&(_0x23a500=_0x2096b5(_0x23a500)||_0x23a500);return _0x23a500;},_0x4f20c7=(_0x359722,_0x2e808d)=>(_0x4c16d2,_0x1c2b52)=>_0x2e808d(_0x4c16d2,_0x1c2b52,_0x359722),_0x3b367f=(_0x3dff46,_0x28eb93,_0x970eda)=>_0x3a65ce(_0x3dff46,_0x28eb93+'',_0x970eda);const _0x1524eb='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1e0a34[_0x1bfb44(0x176)]=class extends _0x20afdc['Plugin']{constructor(_0x3337ff=_0x276987,_0x46ed0d,_0x2a0d90,_0x53f429){const _0x3cceae=_0x1bfb44;super(),this[_0x3cceae(0x302)]=_0x3337ff,this[_0x3cceae(0x145)]=_0x46ed0d,this[_0x3cceae(0x319)]=_0x2a0d90,this[_0x3cceae(0x288)]=_0x53f429;const {..._0x3051cb}=_0x20afdc['merge']({},_0x276987,this[_0x3cceae(0x302)]);this['_configService'][_0x3cceae(0x15d)](_0x5db899,_0x3051cb);}[_0x1bfb44(0x2ad)](){const _0x2981bf=_0x1bfb44;this[_0x2981bf(0x182)](),this['_initDependencies']();}[_0x1bfb44(0x365)](){const _0x40b7d0=_0x1bfb44;this[_0x40b7d0(0x369)]();}[_0x1bfb44(0x182)](){const _0x52e6de=_0x1bfb44;var _0x2240d5;const _0x4811a9=[[_0x16366d],[_0x475265],[_0x34b5db],[_0x2cf8cc],[_0x4c9bc9],[_0x2a0bd],[_0x562000,{'useClass':_0x2cbf92}],[_0x12e6c2[_0x52e6de(0x2e4)],{'useClass':_0x12e6c2[_0x52e6de(0x315)]}],[_0x24c19b[_0x52e6de(0x146)],{'useClass':_0x4b4544}],[_0x1e0a34[_0x52e6de(0x278)]],[_0x403fb4],[_0x2037e7],[_0x43654b],[_0xdd87ee],[_0x1e0a34[_0x52e6de(0x104)]]];_0x20afdc['registerDependencies'](this[_0x52e6de(0x319)],_0x20afdc[_0x52e6de(0x337)](_0x4811a9,(_0x2240d5=this['_config'])==null?void 0x0:_0x2240d5[_0x52e6de(0x303)]));}[_0x1bfb44(0x369)](){const _0x1b0f54=_0x1bfb44;this[_0x1b0f54(0x37d)](this['_renderManagerService']['registerRenderModule'](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_DOC'],[_0x568f40])),this[_0x1b0f54(0x37d)](this['_renderManagerService'][_0x1b0f54(0x17c)](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_SHEET'],[_0x35edad]));}[_0x1bfb44(0x135)](){const _0xa7e220=_0x1bfb44;_0x20afdc[_0xa7e220(0x33b)](this['_injector'],[[_0x43654b],[_0x1e0a34['DesktopCollaborationStatusDisplayController']],[_0x403fb4],[_0x2037e7],[_0x1e0a34[_0xa7e220(0x104)]],[_0x475265]]);}},_0x3b367f(_0x1e0a34[_0x1bfb44(0x176)],'pluginName',_0x1524eb),_0x1e0a34[_0x1bfb44(0x176)]=_0x9a3c67([_0x20afdc[_0x1bfb44(0x2b2)](_0x24c19b['UniverCollaborationClientPlugin']),_0x4f20c7(0x1,_0x314741[_0x1bfb44(0xfd)]),_0x4f20c7(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x4f20c7(0x3,_0x20afdc['IConfigService'])],_0x1e0a34[_0x1bfb44(0x176)]);var _0x26e098=Object[_0x1bfb44(0x3af)],_0x43f8a7=(_0x3ac881,_0x4fde2b,_0x3baa5e,_0x3bd24e)=>{for(var _0x1b02ac=_0x3bd24e>0x1?void 0x0:_0x3bd24e?_0x26e098(_0x4fde2b,_0x3baa5e):_0x4fde2b,_0x3b5496=_0x3ac881['length']-0x1,_0x4d134e;_0x3b5496>=0x0;_0x3b5496--)(_0x4d134e=_0x3ac881[_0x3b5496])&&(_0x1b02ac=_0x4d134e(_0x1b02ac)||_0x1b02ac);return _0x1b02ac;},_0x2d9cbc=(_0x2b024b,_0x5952b8)=>(_0x440915,_0x92c035)=>_0x5952b8(_0x440915,_0x92c035,_0x2b024b);_0x1e0a34[_0x1bfb44(0x1ce)]=class extends _0x24c19b[_0x1bfb44(0x1c0)]{constructor(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a){super(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a);}async[_0x1bfb44(0x27b)](_0x288fed){const _0x608f2f=_0x1bfb44,_0x28bce7=await this['_getSessionTicket'](),_0x21ea2d=this[_0x608f2f(0x2d6)](_0x288fed,_0x28bce7);return this['_doCreateSocket'](_0x21ea2d);}[_0x1bfb44(0x2d6)](_0x5b915b,_0x3184eb){const _0x49e7fc=_0x1bfb44,_0x57ceb3=typeof window>'u'?new URL(_0x5b915b):new URL(_0x5b915b,window[_0x49e7fc(0x398)][_0x49e7fc(0x2be)]);_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)](_0x49e7fc(0x28e),_0x3184eb);const _0x5069c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x49e7fc(0x398)]['search']);return _0x5069c5[_0x49e7fc(0x2e1)]('runId')&&_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)]('runId',_0x5069c5[_0x49e7fc(0x2e1)](_0x49e7fc(0x3bc))),_0x57ceb3['toString']();}async[_0x1bfb44(0x2f4)](){const _0x1a2c9f=_0x1bfb44;var _0x129ad7,_0x399b31,_0x27021b;const _0x53d9e9=this[_0x1a2c9f(0x288)]['getConfig'](_0x24c19b[_0x1a2c9f(0x268)]),_0x192cf8=(_0x129ad7=_0x53d9e9==null?void 0x0:_0x53d9e9['wsSessionTicketUrl'])!=null?_0x129ad7:_0x24c19b[_0x1a2c9f(0x18c)];return(_0x27021b=(_0x399b31=(await this[_0x1a2c9f(0x301)]['get'](_0x192cf8,{'headers':{'Content-Type':_0x1a2c9f(0x241)}}))[_0x1a2c9f(0x2c9)])==null?void 0x0:_0x399b31['ticket'])!=null?_0x27021b:'';}},_0x1e0a34[_0x1bfb44(0x1ce)]=_0x43f8a7([_0x2d9cbc(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x2d9cbc(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2['HTTPService'])),_0x2d9cbc(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x2d9cbc(0x3,_0x20afdc['ILogService']),_0x2d9cbc(0x4,_0x5d9b62[_0x1bfb44(0x2e2)])],_0x1e0a34[_0x1bfb44(0x1ce)]);var _0x46911a=Object[_0x1bfb44(0x3af)],_0x533ec8=(_0x5b5f21,_0x3b5136,_0x14f461,_0x139441)=>{const _0x1ec924=_0x1bfb44;for(var _0x24f1f8=_0x139441>0x1?void 0x0:_0x139441?_0x46911a(_0x3b5136,_0x14f461):_0x3b5136,_0x16a64a=_0x5b5f21[_0x1ec924(0x31e)]-0x1,_0x6e4f23;_0x16a64a>=0x0;_0x16a64a--)(_0x6e4f23=_0x5b5f21[_0x16a64a])&&(_0x24f1f8=_0x6e4f23(_0x24f1f8)||_0x24f1f8);return _0x24f1f8;},_0x13b1fa=(_0x12ad88,_0x2e31e7)=>(_0x53adbe,_0x5d3132)=>_0x2e31e7(_0x53adbe,_0x5d3132,_0x12ad88);_0x1e0a34[_0x1bfb44(0x360)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5358b7,_0x1115a9,_0x1196c9){const _0xe521ad=_0x1bfb44;super(),this[_0xe521ad(0x265)]=_0x5358b7,this[_0xe521ad(0x301)]=_0x1115a9,this[_0xe521ad(0x288)]=_0x1196c9;}async[_0x1bfb44(0x19f)](_0x2d1b73,_0x107619,_0x206390,..._0x5c920e){const _0x533146=_0x1bfb44;var _0x13d323,_0x6bfdc8,_0x180956,_0x416913;const _0x18bed9=this[_0x533146(0x265)][_0x533146(0x339)]();if(!_0x18bed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3ef3bd=((_0x13d323=this['_configService']['getConfig'](_0x24c19b[_0x533146(0x12b)]))!=null?_0x13d323:_0x24c19b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d1b73+'/run/'+_0x107619,_0x2841f2=new URL(window[_0x533146(0x398)]['href']),_0x52f769={'scriptId':_0x2d1b73,'runId':(_0x6bfdc8=_0x2841f2[_0x533146(0x35d)][_0x533146(0x2e1)]('runId'))!=null?_0x6bfdc8:'','function':_0x107619,'unitId':_0x18bed9[_0x533146(0x2d4)](),'argsOfFunction':JSON[_0x533146(0x32d)](_0x5c920e),'invokeId':(_0x180956=_0x206390['invokeId'])!=null?_0x180956:'','executionId':(_0x416913=_0x206390['executionId'])!=null?_0x416913:''};try{const _0x17f941=await this[_0x533146(0x301)]['post'](_0x3ef3bd,{'body':_0x52f769});return _0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)]&&_0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)][_0x533146(0x173)]!==_0x18e87c['OK']?'Failed':_0x17f941[_0x533146(0x2c9)]['result'];}catch{return _0x533146(0x387);}}},_0x1e0a34['RemoteUniscriptService']=_0x533ec8([_0x13b1fa(0x0,_0x20afdc['IUniverInstanceService']),_0x13b1fa(0x1,_0x20afdc['Inject'](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x13b1fa(0x2,_0x20afdc[_0x1bfb44(0x344)])],_0x1e0a34[_0x1bfb44(0x360)]);const _0x2ba88d=0x7530,_0x3538da=_0x1bfb44(0x193);class _0x140673 extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(){const _0x59a55a=_0x1bfb44;super(),_0x46e3b1(this,_0x59a55a(0x21f),_0x20afdc[_0x59a55a(0x37e)]()),_0x46e3b1(this,_0x59a55a(0x371),new Set()),_0x46e3b1(this,_0x59a55a(0x144),new Map()),_0x46e3b1(this,'_heartbeatTimer',null),_0x46e3b1(this,'_clearOtherTimers',new Map()),_0x46e3b1(this,_0x59a55a(0x31f),new Map()),this[_0x59a55a(0x357)]();}[_0x1bfb44(0x201)](){const _0x636ccd=_0x1bfb44;super[_0x636ccd(0x201)](),this[_0x636ccd(0x1a9)][_0x636ccd(0x30f)]((_0x44eb3d,_0x5563bc)=>this['_removeClearOtherTimer'](_0x5563bc)),this['_heartbeatTimer']&&window[_0x636ccd(0x234)](this[_0x636ccd(0x262)]);}['getUnitStatus$'](_0x56da1b){const _0x5491ba=_0x1bfb44;return this[_0x5491ba(0x1e2)](_0x56da1b)[_0x5491ba(0xee)](_0x388e9f[_0x5491ba(0x139)]());}['editingUnit'](_0x3ccc70){const _0x453cf8=_0x1bfb44;this[_0x453cf8(0x371)][_0x453cf8(0x125)]===0x0&&this[_0x453cf8(0x34e)](),this[_0x453cf8(0x371)][_0x453cf8(0x1dd)](_0x3ccc70),this[_0x453cf8(0x16e)]({'type':0x0,'memberID':this[_0x453cf8(0x21f)],'unitIDs':[_0x3ccc70],'isForwarded':!0x1});}[_0x1bfb44(0x261)](_0x1eb6e8){const _0x2d9937=_0x1bfb44;this[_0x2d9937(0x371)][_0x2d9937(0x181)](_0x1eb6e8),this[_0x2d9937(0x371)][_0x2d9937(0x125)]===0x0&&this[_0x2d9937(0x262)]&&window[_0x2d9937(0x234)](this['_heartbeatTimer']);}[_0x1bfb44(0x357)](){const _0x1e6ca3=_0x1bfb44;this['disposeWithMe'](_0x20afdc['toDisposable'](_0x388e9f['fromEvent'](window,_0x1e6ca3(0x38d))[_0x1e6ca3(0x26f)](_0x6bd8e3=>{const _0x51efe2=_0x1e6ca3;if(_0x6bd8e3[_0x51efe2(0x16d)]!==_0x3538da||!_0x6bd8e3['newValue'])return;const _0x4665c5=JSON[_0x51efe2(0x37b)](_0x6bd8e3[_0x51efe2(0x33e)]);this[_0x51efe2(0x279)](_0x4665c5);}))),window[_0x1e6ca3(0x13f)](_0x1e6ca3(0x33a),()=>this['_send']({'type':0x1,'memberID':this[_0x1e6ca3(0x21f)],'unitIDs':Array[_0x1e6ca3(0x392)](this[_0x1e6ca3(0x371)])}));}[_0x1bfb44(0x279)](_0x466d3c){const _0x2a4423=_0x1bfb44;switch(_0x466d3c[_0x2a4423(0x298)]){case 0x0:this[_0x2a4423(0x199)](_0x466d3c);break;case 0x1:this[_0x2a4423(0x327)](_0x466d3c);break;case 0x2:this[_0x2a4423(0x134)](_0x466d3c);break;}}['_handleJoinEvent'](_0x1951f7){const _0x53cd82=_0x1bfb44,{unitIDs:_0x360c9c,memberID:_0x2ca68d,isForwarded:_0xca59cb}=_0x1951f7;_0x360c9c[_0x53cd82(0x30f)](_0x1c284e=>{const _0x5bbff8=_0x53cd82;if(!_0xca59cb&&this[_0x5bbff8(0x144)][_0x5bbff8(0x293)](_0x1c284e)&&this[_0x5bbff8(0x1e2)](_0x1c284e)[_0x5bbff8(0x264)](_0x24c19b[_0x5bbff8(0x29d)][_0x5bbff8(0x285)]),!this['_unitOnClients'][_0x5bbff8(0x293)](_0x1c284e)||!this['_unitOnClients'][_0x5bbff8(0x2e1)](_0x1c284e)[_0x5bbff8(0x293)](_0x2ca68d)){const _0x1b3a43=this[_0x5bbff8(0x144)][_0x5bbff8(0x2e1)](_0x1c284e)||new Set();_0x1b3a43['add'](_0x2ca68d),this[_0x5bbff8(0x144)][_0x5bbff8(0x165)](_0x1c284e,_0x1b3a43),this['_scheduleClearOtherTimer'](_0x2ca68d);}}),_0xca59cb||this[_0x53cd82(0x16e)]({'type':0x0,'memberID':this[_0x53cd82(0x21f)],'unitIDs':[...this[_0x53cd82(0x371)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1d3600){const _0x5d47fe=_0x1bfb44;this[_0x5d47fe(0x14a)](_0x1d3600);const _0x5caa86=window[_0x5d47fe(0x3a7)](()=>{const _0x5ba827=_0x5d47fe;this[_0x5ba827(0x144)][_0x5ba827(0x30f)](_0x1b53e8=>{_0x1b53e8['delete'](_0x1d3600);});},_0x2ba88d*0x2);this[_0x5d47fe(0x1a9)][_0x5d47fe(0x165)](_0x1d3600,_0x5caa86);}[_0x1bfb44(0x14a)](_0x56fd7d){const _0x1d7442=_0x1bfb44;if(this[_0x1d7442(0x1a9)][_0x1d7442(0x293)](_0x56fd7d)){const _0x100341=this[_0x1d7442(0x1a9)]['get'](_0x56fd7d);_0x100341&&window[_0x1d7442(0xf3)](_0x100341),this[_0x1d7442(0x1a9)][_0x1d7442(0x165)](_0x56fd7d,null);}}[_0x1bfb44(0x327)](_0x4f8dc7){const _0x3467d3=_0x1bfb44,{memberID:_0x2a61a1,unitIDs:_0x515b3a}=_0x4f8dc7;_0x515b3a[_0x3467d3(0x30f)](_0x163cd4=>{const _0x4a5fac=_0x3467d3;var _0x44d5da;const _0x4c7e83=this[_0x4a5fac(0x144)][_0x4a5fac(0x2e1)](_0x163cd4);_0x4c7e83&&(_0x4c7e83[_0x4a5fac(0x181)](_0x2a61a1),(_0x44d5da=this[_0x4a5fac(0x1e2)](_0x163cd4))==null||_0x44d5da[_0x4a5fac(0x264)](_0x4c7e83[_0x4a5fac(0x125)]===0x0?_0x24c19b['UnitStatus'][_0x4a5fac(0x263)]:_0x24c19b['UnitStatus'][_0x4a5fac(0x285)]));}),this[_0x3467d3(0x14a)](_0x2a61a1);}[_0x1bfb44(0x134)](_0x2a30e6){const _0x49d56b=_0x1bfb44;this[_0x49d56b(0x11e)](_0x2a30e6[_0x49d56b(0x196)]);}[_0x1bfb44(0x16e)](_0xedac9c){const _0xfff886=_0x1bfb44;localStorage['setItem'](_0x3538da,JSON[_0xfff886(0x32d)](_0xedac9c));}[_0x1bfb44(0x34e)](){const _0x8abf17=_0x1bfb44;this[_0x8abf17(0x262)]=window['setInterval'](()=>{const _0x114706=_0x8abf17;this[_0x114706(0x16e)]({'type':0x2,'memberID':this['_id']});},_0x2ba88d);}[_0x1bfb44(0x1e2)](_0x51aa8f){const _0x203cb6=_0x1bfb44;return this[_0x203cb6(0x31f)][_0x203cb6(0x293)](_0x51aa8f)||this[_0x203cb6(0x31f)][_0x203cb6(0x165)](_0x51aa8f,new _0x388e9f[(_0x203cb6(0x1ca))](_0x24c19b[_0x203cb6(0x29d)][_0x203cb6(0x263)])),this[_0x203cb6(0x31f)][_0x203cb6(0x2e1)](_0x51aa8f);}}_0x1e0a34[_0x1bfb44(0x372)]=_0x562000,_0x1e0a34['SheetCollabCursorShape']=_0x240cae,_0x1e0a34[_0x1bfb44(0x294)]=_0x140673,_0x1e0a34[_0x1bfb44(0xed)]=_0x2cbf92,Object[_0x1bfb44(0x38b)](_0x1e0a34,Symbol[_0x1bfb44(0x271)],{'value':_0x1bfb44(0x343)});}));
|