@univerjs-pro/collaboration-client-ui 0.10.13-nightly.202510290902 → 0.10.14-nightly.202511031023
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 _0x153f(_0x29d622,_0x5ae453){const _0x2c9c9e=_0x2c9c();return _0x153f=function(_0x153f1b,_0x6f9d8a){_0x153f1b=_0x153f1b-0xfc;let _0x1fc7ab=_0x2c9c9e[_0x153f1b];return _0x1fc7ab;},_0x153f(_0x29d622,_0x5ae453);}(function(_0x20a505,_0x142e0a){const _0x1a9ce0=_0x153f,_0x9cb48d=_0x20a505();while(!![]){try{const _0x2fb6a4=parseInt(_0x1a9ce0(0x391))/0x1+parseInt(_0x1a9ce0(0x29d))/0x2+-parseInt(_0x1a9ce0(0x278))/0x3*(parseInt(_0x1a9ce0(0x38d))/0x4)+-parseInt(_0x1a9ce0(0x191))/0x5*(-parseInt(_0x1a9ce0(0x120))/0x6)+parseInt(_0x1a9ce0(0x1a7))/0x7*(parseInt(_0x1a9ce0(0x256))/0x8)+-parseInt(_0x1a9ce0(0x1ba))/0x9+-parseInt(_0x1a9ce0(0x20d))/0xa;if(_0x2fb6a4===_0x142e0a)break;else _0x9cb48d['push'](_0x9cb48d['shift']());}catch(_0x504ce6){_0x9cb48d['push'](_0x9cb48d['shift']());}}}(_0x2c9c,0x261cb),function(_0x3af378,_0x8c7a7d){const _0x387245=_0x153f;typeof exports=='object'&&typeof module<'u'?_0x8c7a7d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x387245(0x270)]?define([_0x387245(0x230),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x387245(0x15f),'@univerjs/ui',_0x387245(0x209),_0x387245(0x1b8),_0x387245(0x36a),'@univerjs/rpc','@univerjs/sheets',_0x387245(0x361),_0x387245(0x2bc),_0x387245(0x102),_0x387245(0x1a8),_0x387245(0x106),'@univerjs/docs',_0x387245(0x2a7),_0x387245(0x28f),_0x387245(0x1b3)],_0x8c7a7d):(_0x3af378=typeof globalThis<'u'?globalThis:_0x3af378||self,_0x8c7a7d(_0x3af378[_0x387245(0x195)]={},_0x3af378[_0x387245(0x212)],_0x3af378['UniverProCollaborationClient'],_0x3af378[_0x387245(0x328)],_0x3af378[_0x387245(0x12f)],_0x3af378[_0x387245(0x209)],_0x3af378[_0x387245(0x38b)],_0x3af378['React'],_0x3af378['UniverRpc'],_0x3af378[_0x387245(0x1f3)],_0x3af378['UniverEngineRender'],_0x3af378[_0x387245(0x3b1)],_0x3af378['UniverDocsUi'],_0x3af378['UniverDrawing'],_0x3af378[_0x387245(0x1e8)],_0x3af378[_0x387245(0x368)],_0x3af378['UniverEngineFormula'],_0x3af378[_0x387245(0x209)][_0x387245(0x37f)],_0x3af378[_0x387245(0x390)]));}(this,function(_0x3b6773,_0x5016f0,_0x191332,_0x4680af,_0x38a45b,_0x172b9a,_0x42eb8c,_0x53129e,_0x5b2373,_0x200ea9,_0x3d68e7,_0xb226e0,_0x55f3bb,_0x4cd6cc,_0x680f14,_0x4f8be8,_0x244a11,_0x353212,_0x3489ca){'use strict';const _0x40fc9b=_0x153f;var _0x2ea27f=Object[_0x40fc9b(0x37e)],_0x431ed5=(_0x2f96c8,_0x4f506f,_0x5dadf0)=>_0x4f506f in _0x2f96c8?_0x2ea27f(_0x2f96c8,_0x4f506f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dadf0}):_0x2f96c8[_0x4f506f]=_0x5dadf0,_0x166045=(_0x38a44b,_0x5e7f7e,_0x5c44be)=>_0x431ed5(_0x38a44b,typeof _0x5e7f7e!=_0x40fc9b(0x19f)?_0x5e7f7e+'':_0x5e7f7e,_0x5c44be);function _0x1416b4({ref:_0x3ea4d1,..._0x261d09}){const _0x4c48b9=_0x40fc9b,{icon:_0x408f86,id:_0x2e654b,className:_0x261302,extend:_0xc95841,..._0x19dc29}=_0x261d09,_0x1d62ef=(_0x4c48b9(0x384)+_0x2e654b+'\x20'+(_0x261302||''))['trim'](),_0x25a1d9=_0x53129e[_0x4c48b9(0x360)]('_'+_0x4b769f());return _0x366038(_0x408f86,''+_0x2e654b,{'defIds':_0x408f86['defIds'],'idSuffix':_0x25a1d9['current']},{'ref':_0x3ea4d1,'className':_0x1d62ef,..._0x19dc29},_0xc95841);}function _0x366038(_0x10dfb5,_0x249d18,_0x155376,_0x5e58e1,_0x451776){const _0x14c36e=_0x40fc9b;return _0x53129e['createElement'](_0x10dfb5[_0x14c36e(0x365)],{'key':_0x249d18,..._0x43771a(_0x10dfb5,_0x155376,_0x451776),..._0x5e58e1},(_0x32443a(_0x10dfb5,_0x155376)[_0x14c36e(0x2b7)]||[])[_0x14c36e(0x1bc)]((_0x290ec1,_0x2a371e)=>_0x366038(_0x290ec1,_0x249d18+'-'+_0x10dfb5[_0x14c36e(0x365)]+'-'+_0x2a371e,_0x155376,void 0x0,_0x451776)));}function _0x43771a(_0x3f8dc1,_0x35d772,_0x308f3e){const _0x28c5a1=_0x40fc9b,_0x329d29={..._0x3f8dc1['attrs']};_0x308f3e!=null&&_0x308f3e[_0x28c5a1(0x353)]&&_0x329d29[_0x28c5a1(0x3ad)]==='colorChannel1'&&(_0x329d29[_0x28c5a1(0x3ad)]=_0x308f3e['colorChannel1']),_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x159)&&_0x329d29['id']&&(_0x329d29['id']=_0x329d29['id']+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x3d3caa,_0x3aea1d])=>{const _0x4a5c1a=_0x28c5a1;_0x3d3caa==='mask'&&typeof _0x3aea1d==_0x4a5c1a(0x13b)&&(_0x329d29[_0x3d3caa]=_0x3aea1d['replace'](/url\(#(.*)\)/,_0x4a5c1a(0x163)+_0x35d772['idSuffix']+')'));});const {defIds:_0x2b3938}=_0x35d772;return!_0x2b3938||_0x2b3938['length']===0x0||(_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x236)&&_0x329d29[_0x28c5a1(0x396)]&&(_0x329d29['xlink:href']=_0x329d29[_0x28c5a1(0x396)]+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x5b3543,_0x4835e3])=>{const _0x4c951d=_0x28c5a1;typeof _0x4835e3==_0x4c951d(0x13b)&&(_0x329d29[_0x5b3543]=_0x4835e3[_0x4c951d(0x389)](/url\(#(.*)\)/,'url(#$1'+_0x35d772[_0x4c951d(0x240)]+')'));})),_0x329d29;}function _0x32443a(_0x4d13b1,_0x448118){const _0x126c62=_0x40fc9b;var _0x3d630a;const {defIds:_0x55a05e}=_0x448118;return!_0x55a05e||_0x55a05e[_0x126c62(0x35c)]===0x0?_0x4d13b1:_0x4d13b1[_0x126c62(0x365)]===_0x126c62(0x188)&&((_0x3d630a=_0x4d13b1[_0x126c62(0x2b7)])!=null&&_0x3d630a[_0x126c62(0x35c)])?{..._0x4d13b1,'children':_0x4d13b1[_0x126c62(0x2b7)][_0x126c62(0x1bc)](_0x16247d=>typeof _0x16247d['attrs']['id']==_0x126c62(0x13b)&&_0x55a05e&&_0x55a05e[_0x126c62(0x34c)](_0x16247d[_0x126c62(0x343)]['id'])?{..._0x16247d,'attrs':{..._0x16247d[_0x126c62(0x343)],'id':_0x16247d['attrs']['id']+_0x448118[_0x126c62(0x240)]}}:_0x16247d)}:_0x4d13b1;}function _0x4b769f(){const _0x25f1de=_0x40fc9b;return Math[_0x25f1de(0x2b9)]()['toString'](0x24)['substring'](0x2,0x8);}_0x1416b4[_0x40fc9b(0x194)]='UniverIcon';const _0xb148d0={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x23e)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x344),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x2ae)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':_0x40fc9b(0x2a6),'d':_0x40fc9b(0x34a)}}]}]}],'defIds':[_0x40fc9b(0x2ae)]},_0xf4419=_0x53129e[_0x40fc9b(0x147)](function(_0x16a832,_0xb96991){const _0x121cfc=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x121cfc(0xfe)]({},_0x16a832,{'id':_0x121cfc(0x249),'ref':_0xb96991,'icon':_0xb148d0}));});_0xf4419[_0x40fc9b(0x194)]=_0x40fc9b(0x3a2);const _0x3fde85={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':_0x40fc9b(0x1ac),'fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2017\x2016','width':_0x40fc9b(0x2cc),'height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x320)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x132),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x301)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':'white','d':_0x40fc9b(0x34a),'transform':_0x40fc9b(0x394)}}]}]}],'defIds':[_0x40fc9b(0x301)]},_0x318d94=_0x53129e['forwardRef'](function(_0x1ab3a4,_0x5ede7f){const _0x3df843=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x3df843(0xfe)]({},_0x1ab3a4,{'id':_0x3df843(0x380),'ref':_0x5ede7f,'icon':_0x3fde85}));});_0x318d94[_0x40fc9b(0x194)]='OnLineIcon';function _0x551b81(_0x3166a5){const _0x33283f=_0x40fc9b;switch(_0x3166a5){case _0x191332[_0x33283f(0x303)]['OFFLINE']:return'collabStatus.offline';case _0x191332['CollaborationStatus'][_0x33283f(0x2e7)]:return _0x33283f(0x21a);case _0x191332[_0x33283f(0x303)]['FETCH_MISS']:return _0x33283f(0x1c8);case _0x191332[_0x33283f(0x303)][_0x33283f(0x1fc)]:return'collabStatus.notCollab';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2a3)]:case _0x191332[_0x33283f(0x303)][_0x33283f(0x285)]:return'collabStatus.syncing';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2fe)]:case _0x191332['CollaborationStatus'][_0x33283f(0x2f7)]:return _0x33283f(0x1f5);}}function _0x40d264(_0x2f6595){const _0x515bb7=_0x40fc9b,{status$:_0xa16f39}=_0x2f6595,_0x2e312c=_0x38a45b[_0x515bb7(0x12a)](_0xa16f39,_0x191332[_0x515bb7(0x303)][_0x515bb7(0x1fc)]),_0x4001bc=_0x38a45b[_0x515bb7(0x37c)](_0x4680af[_0x515bb7(0x2ec)]),_0x39f1f5=_0x38a45b[_0x515bb7(0x37c)](_0x191332[_0x515bb7(0x3b2)]),_0xdd9b57=_0x2e312c!==_0x191332[_0x515bb7(0x303)][_0x515bb7(0x383)],_0x4101f6=_0x4001bc['t'](_0x551b81(_0x2e312c)),_0x3fee21=_0xdd9b57?_0x5016f0['jsx'](_0x318d94,{}):_0x5016f0[_0x515bb7(0x215)](_0xf4419,{}),_0x229f78=_0x53129e[_0x515bb7(0x192)](()=>{const _0x1ce378=_0x515bb7;_0xdd9b57||_0x39f1f5[_0x1ce378(0x1b0)]();},[_0xdd9b57,_0x39f1f5]);function _0x7bf6c(){const _0x53c44b=_0x515bb7;return _0x5016f0['jsxs'](_0x53c44b(0x17c),{'className':'univer-flex\x20univer-items-center','onClick':_0x229f78,'children':[_0x5016f0[_0x53c44b(0x215)]('div',{'className':_0x42eb8c[_0x53c44b(0x18e)](_0x53c44b(0x114),{'univer-text-green-500':_0xdd9b57,'univer-text-red-500':!_0xdd9b57}),'children':_0x3fee21}),_0x5016f0[_0x53c44b(0x215)](_0x53c44b(0x17c),{'className':_0x53c44b(0x33a),'children':_0x4101f6})]});}return _0xdd9b57?_0x7bf6c():_0x5016f0[_0x515bb7(0x215)](_0x42eb8c[_0x515bb7(0x1ce)],{'title':_0x4001bc['t'](_0x515bb7(0x294)),'children':_0x7bf6c()});}var _0x2986b7=Object[_0x40fc9b(0x251)],_0x28973c=(_0x55c4a6,_0x4a72d3,_0xeff865,_0x1e0f8f)=>{const _0x468132=_0x40fc9b;for(var _0x44f786=_0x1e0f8f>0x1?void 0x0:_0x1e0f8f?_0x2986b7(_0x4a72d3,_0xeff865):_0x4a72d3,_0x4f0e73=_0x55c4a6[_0x468132(0x35c)]-0x1,_0x575617;_0x4f0e73>=0x0;_0x4f0e73--)(_0x575617=_0x55c4a6[_0x4f0e73])&&(_0x44f786=_0x575617(_0x44f786)||_0x44f786);return _0x44f786;},_0x159a1d=(_0x373b80,_0x361a63)=>(_0x4eddf5,_0x37ac14)=>_0x361a63(_0x4eddf5,_0x37ac14,_0x373b80);_0x3b6773[_0x40fc9b(0x24b)]=class extends _0x4680af['Disposable']{constructor(_0x3a8341,_0x4a5734,_0x3295e6,_0x149173){const _0x5e5e52=_0x40fc9b;super(),_0x166045(this,_0x5e5e52(0x2b8),new _0x172b9a[(_0x5e5e52(0x119))](_0x191332[_0x5e5e52(0x303)][_0x5e5e52(0x1fc)])),(this[_0x5e5e52(0x20b)]=_0x3a8341,this['_injector']=_0x4a5734,this['_collaborationController']=_0x3295e6,this[_0x5e5e52(0x16e)]=_0x149173,this['_initStatusComponent'](),this[_0x5e5e52(0x1b1)]());}['_initStatusListener'](){const _0x5214b5=_0x40fc9b;this[_0x5214b5(0x219)](this[_0x5214b5(0x20b)][_0x5214b5(0x18f)]['pipe'](_0x172b9a[_0x5214b5(0x13a)](()=>{const _0x3728ac=_0x5214b5,_0x4ceab1=this[_0x3728ac(0x20b)][_0x3728ac(0x3b4)]();return _0x4ceab1?this[_0x3728ac(0x2ba)]['getCollabEntity$'](_0x4ceab1[_0x3728ac(0x386)]()):_0x172b9a['of'](null);}),_0x172b9a[_0x5214b5(0x13a)](_0x2f4956=>_0x2f4956?_0x2f4956['status$']:_0x172b9a['of'](_0x191332['CollaborationStatus'][_0x5214b5(0x1fc)])))[_0x5214b5(0x2a1)](_0x238d3c=>{const _0x340217=_0x5214b5;this[_0x340217(0x2b8)][_0x340217(0x1ae)](_0x238d3c);}));}[_0x40fc9b(0x300)](){const _0x2a26f9=_0x40fc9b;this['disposeWithMe'](this['_uiPartsService'][_0x2a26f9(0x190)](_0x38a45b[_0x2a26f9(0x1cf)][_0x2a26f9(0x324)],()=>_0x38a45b[_0x2a26f9(0x118)](_0x1159ca({'status$':this[_0x2a26f9(0x2b8)][_0x2a26f9(0x1e9)]()}),this[_0x2a26f9(0x101)])));}},_0x3b6773[_0x40fc9b(0x24b)]=_0x28973c([_0x159a1d(0x0,_0x4680af[_0x40fc9b(0x326)]),_0x159a1d(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x159a1d(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x159a1d(0x3,_0x38a45b[_0x40fc9b(0x2cd)])],_0x3b6773[_0x40fc9b(0x24b)]);function _0x1159ca(_0x32153a){const {status$:_0x3199ce}=_0x32153a;return function(){const _0x214eb5=_0x153f;return _0x5016f0[_0x214eb5(0x215)](_0x40d264,{'status$':_0x3199ce});};}const _0x952001=_0x4680af['createIdentifier'](_0x40fc9b(0x2df));var _0x1b2f21=Object['getOwnPropertyDescriptor'],_0x1b7256=(_0x991b3a,_0x453878,_0x51d727,_0x4ec89b)=>{const _0x361f56=_0x40fc9b;for(var _0x552119=_0x4ec89b>0x1?void 0x0:_0x4ec89b?_0x1b2f21(_0x453878,_0x51d727):_0x453878,_0x531e73=_0x991b3a[_0x361f56(0x35c)]-0x1,_0x53ed18;_0x531e73>=0x0;_0x531e73--)(_0x53ed18=_0x991b3a[_0x531e73])&&(_0x552119=_0x53ed18(_0x552119)||_0x552119);return _0x552119;},_0x2740ec=(_0x160d38,_0x4c9118)=>(_0x9260f8,_0x50c700)=>_0x4c9118(_0x9260f8,_0x50c700,_0x160d38);_0x3b6773[_0x40fc9b(0x2fb)]=class extends _0x4680af['RxDisposable']{constructor(_0x412080,_0x408082,_0x46f41f,_0x555069,_0x2c17f3){const _0x319fa4=_0x40fc9b;super(),this[_0x319fa4(0x2c9)]=_0x412080,this[_0x319fa4(0x105)]=_0x408082,this[_0x319fa4(0x35e)]=_0x46f41f,this[_0x319fa4(0x1ee)]=_0x555069,_0x2c17f3?_0x2c17f3==null||_0x2c17f3[_0x319fa4(0x20c)]()[_0x319fa4(0x34f)](()=>this[_0x319fa4(0x263)]()):(this['_logService']['debug'](_0x319fa4(0x2e3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x40fc9b(0x263)](){const _0x50ca95=_0x40fc9b,_0x45224c=this[_0x50ca95(0x2c9)][_0x50ca95(0x3a7)]('unit'),_0x3e79b5=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x131)),_0x2a8ed2=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x388));if(!_0x45224c||!_0x3e79b5){this[_0x50ca95(0x105)]['debug'](_0x50ca95(0x2e3),_0x50ca95(0x171));return;}const _0xae983b=await this[_0x50ca95(0x1ee)][_0x50ca95(0x133)](_0x45224c,Number(_0x3e79b5),_0x2a8ed2);_0xae983b&&_0xae983b instanceof _0x4680af[_0x50ca95(0x2b5)]&&this[_0x50ca95(0x32b)](_0xae983b);}async[_0x40fc9b(0x32b)](_0x2e07e5){const _0x205d49=_0x40fc9b;await this[_0x205d49(0x1f9)](_0x2e07e5),_0x2e07e5[_0x205d49(0x1c4)][_0x205d49(0x1d3)](_0x172b9a[_0x205d49(0x385)](this[_0x205d49(0x2cb)]))[_0x205d49(0x2a1)](_0x366ab5=>{const _0x1ce0f8=_0x205d49;_0x366ab5&&this[_0x1ce0f8(0x204)](_0x366ab5);}),this[_0x205d49(0x2c9)][_0x205d49(0x35f)]['pipe'](_0x172b9a[_0x205d49(0x385)](this['dispose$']))[_0x205d49(0x2a1)](()=>this['_updateSubUnitFromURLParams'](_0x2e07e5));}[_0x40fc9b(0x204)](_0x14cd5a,_0x26ca4a=!0x1){const _0x4e93c5=_0x40fc9b,_0x363e8e=this['_urlService'][_0x4e93c5(0x3a7)]('subunit');_0x14cd5a[_0x4e93c5(0x17f)]()!==_0x363e8e&&this[_0x4e93c5(0x2c9)]['setParam'](_0x4e93c5(0x388),_0x14cd5a['getSheetId'](),_0x26ca4a);}async['_updateSubUnitFromURLParams'](_0x2f5ce1){const _0x489f1d=_0x40fc9b;var _0x349c81;const _0x409798=this['_urlService'][_0x489f1d(0x3a7)]('subunit');if(!_0x409798||!_0x2f5ce1['getSheetBySheetId'](_0x409798)){const _0x531b6e=_0x2f5ce1[_0x489f1d(0x280)]()[0x0],_0x11a606=_0x2f5ce1[_0x489f1d(0x1cd)](_0x531b6e);if(!_0x11a606)return;this['_updateURLWithCurrentState'](_0x11a606,!0x0),await this['_commandService'][_0x489f1d(0x1c0)](_0x200ea9[_0x489f1d(0x252)]['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x531b6e});return;}((_0x349c81=_0x2f5ce1[_0x489f1d(0x354)]())==null?void 0x0:_0x349c81[_0x489f1d(0x17f)]())!==_0x409798&&await this['_commandService']['executeCommand'](_0x200ea9['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x409798});}},_0x3b6773[_0x40fc9b(0x2fb)]=_0x1b7256([_0x2740ec(0x0,_0x952001),_0x2740ec(0x1,_0x4680af[_0x40fc9b(0x3a9)]),_0x2740ec(0x2,_0x4680af['ICommandService']),_0x2740ec(0x3,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x255)])),_0x2740ec(0x4,_0x4680af[_0x40fc9b(0x228)](_0x5b2373['IRemoteInstanceService']))],_0x3b6773[_0x40fc9b(0x2fb)]);var _0x4eaf2a=Object[_0x40fc9b(0x251)],_0x179974=(_0x5509a7,_0x5a2093,_0x4f000a,_0x40e477)=>{const _0x3e6f0a=_0x40fc9b;for(var _0x1c0b0e=_0x40e477>0x1?void 0x0:_0x40e477?_0x4eaf2a(_0x5a2093,_0x4f000a):_0x5a2093,_0x3be700=_0x5509a7[_0x3e6f0a(0x35c)]-0x1,_0x196233;_0x3be700>=0x0;_0x3be700--)(_0x196233=_0x5509a7[_0x3be700])&&(_0x1c0b0e=_0x196233(_0x1c0b0e)||_0x1c0b0e);return _0x1c0b0e;},_0x3b9bea=(_0x491814,_0x9deb32)=>(_0x4af1fe,_0xca1fba)=>_0x9deb32(_0x4af1fe,_0xca1fba,_0x491814);let _0x444da9=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x32a119,_0x5ce974){const _0x4ce636=_0x40fc9b;super(),this['_docClipboardService']=_0x32a119,this['_imageIoService']=_0x5ce974,this[_0x4ce636(0x263)]();}[_0x40fc9b(0x263)](){const _0x5d6969=_0x40fc9b,_0x8923dd=this;this[_0x5d6969(0x219)](this[_0x5d6969(0xff)][_0x5d6969(0x335)]({'onBeforePasteImage':async _0x26bda1=>{const _0x4af71c=_0x5d6969,_0x34edf6=await _0x8923dd[_0x4af71c(0x268)]['saveImage'](_0x26bda1);return _0x34edf6?{'source':_0x34edf6[_0x4af71c(0x232)],'imageSourceType':_0x34edf6[_0x4af71c(0x113)]}:null;}}));}};_0x444da9=_0x179974([_0x3b9bea(0x0,_0x55f3bb[_0x40fc9b(0x121)]),_0x3b9bea(0x1,_0x4cd6cc['IImageIoService'])],_0x444da9);const _0x33aa07=[_0x40fc9b(0x366),'jiqing.500',_0x40fc9b(0x26e),'red.300',_0x40fc9b(0xfd),'yellow.400'];class _0x38773a extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x26fde9=_0x40fc9b;super(...arguments),_0x166045(this,_0x26fde9(0x1e2),new Map()),_0x166045(this,_0x26fde9(0x342),0x0);}[_0x40fc9b(0x20e)](_0x49ae0b){const _0x3fb750=_0x40fc9b;if(this[_0x3fb750(0x1e2)][_0x3fb750(0x393)](_0x49ae0b))return this[_0x3fb750(0x1e2)]['get'](_0x49ae0b);const _0x1c61ec=_0x33aa07[this[_0x3fb750(0x342)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x33aa07[_0x3fb750(0x35c)],this[_0x3fb750(0x1e2)][_0x3fb750(0x210)](_0x49ae0b,_0x1c61ec),_0x1c61ec;}}function _0x191fc2(_0x46c9c1){const _0x253726=_0x40fc9b;let _0xb2a76='';for(const _0x37b13c of _0x46c9c1){const {startOffset:_0xb0d9ac,endOffset:_0x21de0e,isActive:_0x18a5c9,rangeType:_0x1481f5,segmentId:_0x58c5de,segmentPage:_0x767b03}=_0x37b13c;_0xb2a76[_0x253726(0x35c)]&&(_0xb2a76+=','),_0xb2a76+=_0xb0d9ac+':'+_0x21de0e+':'+(_0x18a5c9?'1':'0')+':'+_0x1481f5+':'+_0x58c5de+':'+_0x767b03;}return _0xb2a76;}function _0x35f471(_0x3213c2){const _0x3b9e79=_0x40fc9b,_0x69469b=_0x3213c2[_0x3b9e79(0x2f6)](','),_0x41eb8b=[];for(const _0x35c261 of _0x69469b){const [_0x46025d,_0x27dacb,_0x425cfc,_0x365b97,_0x2298f1,_0x5957e2]=_0x35c261['split'](':');_0x41eb8b[_0x3b9e79(0x2c3)]({'startOffset':Number(_0x46025d),'endOffset':Number(_0x27dacb),'collapsed':_0x46025d===_0x27dacb,'isActive':_0x425cfc==='1','rangeType':_0x365b97===_0x4680af[_0x3b9e79(0x197)][_0x3b9e79(0x298)]?_0x4680af['DOC_RANGE_TYPE'][_0x3b9e79(0x298)]:_0x4680af['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2298f1==_0x3b9e79(0x13b)?String(_0x2298f1):'','segmentPage':Number(_0x5957e2!=null?_0x5957e2:-0x1)});}return _0x41eb8b[_0x3b9e79(0x1bd)](_0x2ed210=>_0x2ed210['isActive'])||(_0x41eb8b[0x0][_0x3b9e79(0x2e6)]=!0x0),_0x41eb8b;}class _0x5ac381 extends _0x4680af['RxDisposable']{constructor(){const _0x54abb3=_0x40fc9b;super(...arguments),_0x166045(this,_0x54abb3(0x291),new _0x172b9a[(_0x54abb3(0x119))](null)),_0x166045(this,_0x54abb3(0x116),this[_0x54abb3(0x291)][_0x54abb3(0x1e9)]());}['syncEditingCollabCursor'](_0x34ad20){const _0x147b43=_0x40fc9b,{unitID:_0x31adae,memberID:_0x229c1d,textRanges:_0x46f33f}=_0x34ad20,_0x25b725=_0x191fc2(_0x46f33f);if(_0x25b725==='')return;const _0x4d9f75={'unitID':_0x31adae,'memberID':_0x229c1d,'selection':_0x25b725};this[_0x147b43(0x291)][_0x147b43(0x1ae)](_0x4d9f75);}}var _0x331288=Object[_0x40fc9b(0x251)],_0x417feb=(_0x3019eb,_0x236a8b,_0x263e60,_0x1af8a4)=>{const _0x1738bf=_0x40fc9b;for(var _0x31f2df=_0x1af8a4>0x1?void 0x0:_0x1af8a4?_0x331288(_0x236a8b,_0x263e60):_0x236a8b,_0x38153b=_0x3019eb[_0x1738bf(0x35c)]-0x1,_0x7ac67c;_0x38153b>=0x0;_0x38153b--)(_0x7ac67c=_0x3019eb[_0x38153b])&&(_0x31f2df=_0x7ac67c(_0x31f2df)||_0x31f2df);return _0x31f2df;},_0x36652e=(_0x3730e9,_0x1ee590)=>(_0x3d01e1,_0x2646cc)=>_0x1ee590(_0x3d01e1,_0x2646cc,_0x3730e9);const _0x246efd=0x12c,_0x254c4e=0x64;let _0x4877be=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x33e30e,_0x59519d,_0x1a6b8d,_0x2f5eec,_0x12f59b,_0x52ca8a,_0x40bd7b,_0x2c16c5,_0x1f6967){const _0x41e3d6=_0x40fc9b;super(),_0x166045(this,_0x41e3d6(0x1a9),!0x1),_0x166045(this,_0x41e3d6(0x263),!0x1),_0x166045(this,_0x41e3d6(0x295),new _0x172b9a[(_0x41e3d6(0x119))](new Map())),_0x166045(this,_0x41e3d6(0x2e9),this[_0x41e3d6(0x295)][_0x41e3d6(0x1e9)]()),_0x166045(this,_0x41e3d6(0x392),new _0x172b9a[(_0x41e3d6(0x119))]([])),_0x166045(this,_0x41e3d6(0x23c),this[_0x41e3d6(0x392)][_0x41e3d6(0x1d3)](_0x172b9a[_0x41e3d6(0x196)](_0x246efd))),_0x166045(this,_0x41e3d6(0x142),_0x4680af['debounce'](_0x5058c1=>{const _0x372640=_0x41e3d6,_0x1723f6={'eventID':_0x680f14['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x372640(0x36f)][_0x372640(0x2dd)](),'selection':_0x191fc2(_0x5058c1)}};this[_0x372640(0x36f)][_0x372640(0x292)](_0x1723f6,this[_0x372640(0x1d7)]);},_0x254c4e)),(this[_0x41e3d6(0x1d7)]=_0x33e30e,this[_0x41e3d6(0x36f)]=_0x59519d,this[_0x41e3d6(0x101)]=_0x1a6b8d,this['_colorAssignService']=_0x2f5eec,this[_0x41e3d6(0x334)]=_0x12f59b,this[_0x41e3d6(0x198)]=_0x52ca8a,this[_0x41e3d6(0x3b8)]=_0x40bd7b,this[_0x41e3d6(0x20b)]=_0x2c16c5,this[_0x41e3d6(0x35e)]=_0x1f6967);}get[_0x40fc9b(0x19b)](){const _0x5b3438=_0x40fc9b;return this[_0x5b3438(0x295)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x40fc9b(0x250)](){const _0x13cc1f=_0x40fc9b;super[_0x13cc1f(0x250)](),this['_cursorInfo$'][_0x13cc1f(0x1ae)](new Map()),this[_0x13cc1f(0x295)][_0x13cc1f(0x358)](),this[_0x13cc1f(0x392)]['next']([]),this['_roomMembers$'][_0x13cc1f(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x437b3b=_0x40fc9b;this[_0x437b3b(0x263)]||(this[_0x437b3b(0x263)]=!0x0,this[_0x437b3b(0x36f)][_0x437b3b(0x381)][_0x437b3b(0x1d3)](_0x172b9a[_0x437b3b(0x385)](this['dispose$']))['subscribe'](_0x8e77c1=>{const _0x361980=_0x437b3b;_0x8e77c1===_0x191332['SessionStatus'][_0x361980(0x2ed)]?this[_0x361980(0x1bb)]():this[_0x361980(0x30b)]();}),this[_0x437b3b(0x36f)][_0x437b3b(0x2d9)][_0x437b3b(0x1d3)](_0x172b9a['takeUntil'](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x3dcdc9=>{const _0x98db33=_0x437b3b,_0x46f975=_0x3dcdc9[_0x98db33(0x214)];_0x46f975===_0x680f14[_0x98db33(0x261)]['UPDATE_CURSOR']&&this[_0x98db33(0x10d)](_0x3dcdc9),_0x46f975===_0x680f14[_0x98db33(0x261)][_0x98db33(0xfc)]&&this[_0x98db33(0x23b)](_0x3dcdc9);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x4fc310=>{const _0x3303be=_0x437b3b,_0x30cb37=_0x4fc310['params'];_0x30cb37!=null&&this[_0x3303be(0x1a9)]&&_0x4fc310['id']===_0x4f8be8['SetTextSelectionsOperation']['id']&&_0x30cb37[_0x3303be(0x1c6)]===this['unitID']&&_0x30cb37[_0x3303be(0x3a3)]===!0x1&&_0x30cb37[_0x3303be(0x2fd)][_0x3303be(0x35c)]>0x0&&this[_0x3303be(0x142)](_0x30cb37[_0x3303be(0x2fd)]);})),this['_syncEditingCollabCursorService'][_0x437b3b(0x116)]['pipe'](_0x172b9a[_0x437b3b(0x385)](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x1adf2c=>{const _0x360c8f=_0x437b3b;if((_0x1adf2c==null?void 0x0:_0x1adf2c[_0x360c8f(0x1d7)])!==this['unitID'])return;const _0x4b54a8={'eventID':_0x680f14[_0x360c8f(0x261)][_0x360c8f(0x117)],'data':_0x1adf2c};this[_0x360c8f(0x10d)](_0x4b54a8);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x28333f=>{const _0x2e1c16=_0x437b3b;if(_0x28333f[_0x2e1c16(0x1be)]==null)return;const _0x37acb0=_0x28333f[_0x2e1c16(0x1be)];if(_0x28333f['id']!==_0x4f8be8['RichTextEditingMutation']['id']||_0x37acb0[_0x2e1c16(0x1c6)]!==this[_0x2e1c16(0x1d7)])return;const _0x2b483a={'id':_0x2e1c16(0x2fa),'params':_0x37acb0},_0x134989=this['cursorInfo'];for(const [_0x196a5a,_0x574903]of _0x134989){const _0x41432c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2e1c16(0x1d7)],'actions':null,'textRanges':_0x574903[_0x2e1c16(0x2fd)]}},_0x44e977=this['_transformService']['transformMutation'](_0x2b483a,_0x41432c,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x44e977))throw _0x44e977['error'];_0x134989[_0x2e1c16(0x210)](_0x196a5a,{..._0x574903,'ranges':_0x44e977[_0x2e1c16(0x336)][_0x2e1c16(0x1be)][_0x2e1c16(0x21e)]});}queueMicrotask(()=>{const _0x32e4d1=_0x2e1c16;this['_cursorInfo$'][_0x32e4d1(0x1ae)](_0x134989);});})));}[_0x40fc9b(0x10d)](_0x26003a){const _0x1f301c=_0x40fc9b;var _0x22985f,_0x310ec9;const {memberID:_0x1fec33,selection:_0x33cee7}=_0x26003a[_0x1f301c(0x1e3)],_0x12ba0a=_0x35f471(_0x33cee7),_0x291865=(_0x310ec9=(_0x22985f=this[_0x1f301c(0x334)][_0x1f301c(0x16b)](this[_0x1f301c(0x1d7)],_0x1fec33))==null?void 0x0:_0x22985f['name'])!=null?_0x310ec9:_0x1f301c(0x345),_0x428a97={'color':this[_0x1f301c(0x32f)]['assignAColorForMemberID'](_0x1fec33),'name':_0x291865,'ranges':_0x12ba0a},_0x39826f=this[_0x1f301c(0x19b)];_0x39826f[_0x1f301c(0x210)](_0x1fec33,_0x428a97),this['_cursorInfo$']['next'](_0x39826f);}[_0x40fc9b(0x23b)](_0x17249e){const _0x42d1d5=_0x40fc9b,{memberID:_0x4aa3c5}=_0x17249e[_0x42d1d5(0x1e3)],_0x560416=this[_0x42d1d5(0x19b)];_0x560416['delete'](_0x4aa3c5),this[_0x42d1d5(0x295)]['next'](_0x560416);}[_0x40fc9b(0x1bb)](){const _0xaf68f=_0x40fc9b;var _0x30f707;if(this['_online']=!0x0,((_0x30f707=this[_0xaf68f(0x20b)][_0xaf68f(0x3b4)]())==null?void 0x0:_0x30f707[_0xaf68f(0x386)]())!==this['unitID'])return;const _0x2b670e=this[_0xaf68f(0x101)][_0xaf68f(0x2f2)](_0x4f8be8['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x2b670e)&&_0x2b670e[_0xaf68f(0x35c)]>0x0&&this['_updateLocalCursor'](_0x2b670e);}[_0x40fc9b(0x30b)](){const _0x3adf2d=_0x40fc9b;this[_0x3adf2d(0x1a9)]=!0x1;}};_0x4877be=_0x417feb([_0x36652e(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x36652e(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x36652e(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x248)])),_0x36652e(0x5,_0x4680af[_0x40fc9b(0x203)](_0x5ac381)),_0x36652e(0x6,_0x680f14[_0x40fc9b(0x2f1)]),_0x36652e(0x7,_0x4680af[_0x40fc9b(0x326)]),_0x36652e(0x8,_0x4680af['ICommandService'])],_0x4877be);var _0xc7bca5=Object[_0x40fc9b(0x251)],_0x37f851=(_0xef24d2,_0x13384d,_0x138689,_0x421126)=>{const _0x3db71b=_0x40fc9b;for(var _0x1c5e0e=_0x421126>0x1?void 0x0:_0x421126?_0xc7bca5(_0x13384d,_0x138689):_0x13384d,_0x52bb42=_0xef24d2[_0x3db71b(0x35c)]-0x1,_0x182d45;_0x52bb42>=0x0;_0x52bb42--)(_0x182d45=_0xef24d2[_0x52bb42])&&(_0x1c5e0e=_0x182d45(_0x1c5e0e)||_0x1c5e0e);return _0x1c5e0e;},_0x1f644f=(_0x3f426c,_0x206688)=>(_0x26cfbe,_0x149c83)=>_0x206688(_0x26cfbe,_0x149c83,_0x3f426c);const _0x2e0553=0x12c,_0x2487b3=0x64,_0x51fb50=()=>{let _0xb369bf=[],_0x535621=!0x1;return _0x10f500=>{const _0x5172e6=_0x153f;_0xb369bf[_0x5172e6(0x2c3)](_0x10f500),_0x535621||(_0x535621=!0x0,setTimeout(()=>{_0xb369bf['forEach'](_0x4e5f99=>_0x4e5f99()),_0xb369bf=[],_0x535621=!0x1;}));};};let _0x4c0640=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x1a3229,_0x393271,_0x2bbc9e,_0x29792,_0x1259a8,_0x4b871d,_0x13ad19,_0x5646dd){const _0x152701=_0x40fc9b;super(),_0x166045(this,'_online',!0x1),_0x166045(this,'_init',!0x1),_0x166045(this,_0x152701(0x295),new _0x172b9a[(_0x152701(0x119))](new Map())),_0x166045(this,_0x152701(0x2e9),this[_0x152701(0x295)]['asObservable']()),_0x166045(this,_0x152701(0x392),new _0x172b9a['BehaviorSubject']([])),_0x166045(this,_0x152701(0x23c),this[_0x152701(0x392)][_0x152701(0x1d3)](_0x172b9a[_0x152701(0x196)](_0x2e0553))),_0x166045(this,'_updateLocalCursor',_0x4680af['debounce']((_0x29053c,_0x2fdc08)=>{const _0x5d4526=_0x152701,_0x10b905={'eventID':_0x680f14[_0x5d4526(0x261)][_0x5d4526(0x117)],'data':{'unitID':this[_0x5d4526(0x1d7)],'memberID':this['_session'][_0x5d4526(0x2dd)](),'selection':_0x244a11[_0x5d4526(0x316)](_0x29053c,_0x2fdc08[_0x5d4526(0x2c7)])}};this['_session'][_0x5d4526(0x292)](_0x10b905,this[_0x5d4526(0x1d7)]);},_0x2487b3)),(this['unitID']=_0x1a3229,this[_0x152701(0x36f)]=_0x393271,this['_injector']=_0x2bbc9e,this['_colorAssignService']=_0x29792,this[_0x152701(0x334)]=_0x1259a8,this[_0x152701(0x20b)]=_0x4b871d,this[_0x152701(0x35e)]=_0x13ad19,this[_0x152701(0x1b7)]=_0x5646dd);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x40fc9b(0x2da)](){const _0x2d4adc=_0x40fc9b;return this[_0x2d4adc(0x392)][_0x2d4adc(0x38e)]();}[_0x40fc9b(0x250)](){const _0x121cf3=_0x40fc9b;super[_0x121cf3(0x250)](),this['_cursorInfo$']['next'](new Map()),this[_0x121cf3(0x295)][_0x121cf3(0x358)](),this[_0x121cf3(0x392)][_0x121cf3(0x1ae)]([]),this[_0x121cf3(0x392)][_0x121cf3(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x64c794=_0x40fc9b;this[_0x64c794(0x263)]||(this[_0x64c794(0x263)]=!0x0,this[_0x64c794(0x36f)][_0x64c794(0x381)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0x24a7d2=>{const _0x6a39e5=_0x64c794;_0x24a7d2===_0x191332[_0x6a39e5(0x2dc)][_0x6a39e5(0x2ed)]?this[_0x6a39e5(0x1bb)]():this[_0x6a39e5(0x30b)]();}),this[_0x64c794(0x36f)][_0x64c794(0x2d9)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0xfc909a=>{const _0x5089cc=_0x64c794,_0x208d47=_0xfc909a[_0x5089cc(0x214)];_0x208d47===_0x680f14[_0x5089cc(0x261)]['UPDATE_CURSOR']&&this[_0x5089cc(0x10d)](_0xfc909a),_0x208d47===_0x680f14['CollaborationEvent'][_0x5089cc(0xfc)]&&this[_0x5089cc(0x23b)](_0xfc909a);}),this[_0x64c794(0x29b)](),this[_0x64c794(0x219)](this[_0x64c794(0x35e)][_0x64c794(0x2e4)](_0x36f803=>{const _0x30cd62=_0x64c794;if(this[_0x30cd62(0x1a9)]&&_0x36f803['id']===_0x200ea9[_0x30cd62(0x302)]['id']&&_0x36f803[_0x30cd62(0x1be)][_0x30cd62(0x1c6)]===this['unitID']){const _0x3fadd4=_0x36f803[_0x30cd62(0x1be)];this[_0x30cd62(0x142)](_0x3fadd4['subUnitId'],_0x3fadd4[_0x30cd62(0x2d0)][0x0]);}})));}[_0x40fc9b(0x10d)](_0x23f916){const _0x240036=_0x40fc9b;var _0x1e65db,_0x4dd1cd;const {memberID:_0x135115,selection:_0x15a81a}=_0x23f916[_0x240036(0x1e3)],{sheetName:_0x2c4388,range:_0x116796}=_0x244a11[_0x240036(0x31d)](_0x15a81a),_0x1b9a6b={'name':(_0x4dd1cd=(_0x1e65db=this[_0x240036(0x334)]['getMember'](this[_0x240036(0x1d7)],_0x135115))==null?void 0x0:_0x1e65db[_0x240036(0x211)])!=null?_0x4dd1cd:_0x240036(0x345),'range':this[_0x240036(0x170)](_0x2c4388,_0x116796),'sheetID':_0x2c4388,'color':this[_0x240036(0x32f)][_0x240036(0x20e)](_0x135115),'selection':_0x15a81a},_0x9c0f4d=this['cursorInfo'];_0x9c0f4d['set'](_0x135115,_0x1b9a6b),this['_cursorInfo$'][_0x240036(0x1ae)](_0x9c0f4d);}[_0x40fc9b(0x23b)](_0x3247ce){const _0xcf7634=_0x40fc9b,{memberID:_0x2d134c}=_0x3247ce[_0xcf7634(0x1e3)],_0x12b31d=this[_0xcf7634(0x19b)];_0x12b31d['delete'](_0x2d134c),this[_0xcf7634(0x295)][_0xcf7634(0x1ae)](_0x12b31d);}[_0x40fc9b(0x170)](_0x4b3d9d,_0x89c21){const _0x5c94ca=_0x40fc9b;var _0x4c572f,_0x1300f1;const _0x71df24=(_0x1300f1=(_0x4c572f=this['_univerInstanceService'][_0x5c94ca(0x260)](this[_0x5c94ca(0x1d7)]))==null?void 0x0:_0x4c572f[_0x5c94ca(0x1cd)](_0x4b3d9d))==null?void 0x0:_0x1300f1[_0x5c94ca(0x158)]();return(_0x71df24==null?void 0x0:_0x71df24[_0x5c94ca(0x1e6)](_0x13333a=>_0x4680af[_0x5c94ca(0x182)][_0x5c94ca(0x225)](_0x13333a,_0x89c21)))||_0x89c21;}['_onRefRangeChange'](){const _0x259178=_0x40fc9b,_0x4cde4e=new _0x4680af[(_0x259178(0x16a))](),_0x2b5a48=_0x51fb50(),_0x8c3fcd=()=>{const _0x1d3cf3=_0x259178;_0x4cde4e[_0x1d3cf3(0x250)]();const _0x5d99ce=(_0x296d90,_0xceb2c1,_0x55ff93,_0x2a355f)=>{const _0x5d374d=_0x1d3cf3;let _0x277be2=[];switch(_0x296d90['id']){case _0x200ea9[_0x5d374d(0x364)]['DeleteRangeMoveLeftCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x359)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x1cb)]:{_0x277be2=_0x200ea9['handleDeleteRangeMoveUp'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x2a5)]:{_0x277be2=_0x200ea9[_0x5d374d(0x3a8)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x309)]:{_0x277be2=_0x200ea9[_0x5d374d(0x371)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId'][_0x5d374d(0x234)]:{_0x277be2=_0x200ea9['handleInsertRangeMoveRight'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['InsertRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x323)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['MoveRangeCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x373)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId']['RemoveColCommandId']:{_0x277be2=_0x200ea9['handleIRemoveCol'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['RemoveRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x23d)](_0x296d90,_0x2a355f);break;}}const _0x47147b=_0x200ea9['runRefRangeMutations'](_0x277be2,_0x2a355f),_0x4df949=this[_0x5d374d(0x19b)]['get'](_0xceb2c1);if(_0x4df949&&_0x47147b){const _0x1196d0={..._0x4df949,'range':_0x47147b};this[_0x5d374d(0x19b)][_0x5d374d(0x210)](_0xceb2c1,_0x1196d0),_0x2b5a48(()=>{const _0x53f881=_0x5d374d,_0x581338=this[_0x53f881(0x1b7)][_0x53f881(0x27b)](_0x47147b,_0x2aed5c=>(_0x581338[_0x53f881(0x250)](),_0x5d99ce(_0x2aed5c,_0xceb2c1,_0x55ff93,_0x47147b)));_0x4cde4e[_0x53f881(0x2b4)](_0x581338);});}return{'redos':[],'undos':[]};};this[_0x1d3cf3(0x19b)][_0x1d3cf3(0x1a5)]((_0x44968b,_0x2c9f18)=>{const _0x268528=_0x1d3cf3,{range:_0x48bb29,sheetID:_0x445f06}=_0x44968b,_0x4174d5=this[_0x268528(0x1b7)][_0x268528(0x27b)](_0x48bb29,_0x4b6b63=>(_0x4174d5[_0x268528(0x250)](),_0x5d99ce(_0x4b6b63,_0x2c9f18,_0x445f06,_0x48bb29)));_0x4cde4e['add'](_0x4174d5);});};this[_0x259178(0x219)](_0x4680af['toDisposable'](this[_0x259178(0x295)][_0x259178(0x2a1)](()=>{_0x8c3fcd();})));}[_0x40fc9b(0x1bb)](){const _0x590732=_0x40fc9b;var _0xceea8e,_0x71c967;if(this[_0x590732(0x1a9)]=!0x0,((_0xceea8e=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xceea8e[_0x590732(0x386)]())!==this[_0x590732(0x1d7)])return;const _0x3a1455=(_0x71c967=this[_0x590732(0x101)][_0x590732(0x2f2)](_0x200ea9[_0x590732(0x141)])[_0x590732(0x17b)]())==null?void 0x0:_0x71c967[0x0],_0x584c90=this[_0x590732(0x20b)]['getCurrentUnitForType'](_0x4680af[_0x590732(0x376)][_0x590732(0x2f3)])[_0x590732(0x354)]();_0x3a1455&&_0x584c90&&this[_0x590732(0x142)](_0x584c90['getSheetId'](),_0x3a1455);}[_0x40fc9b(0x30b)](){this['_online']=!0x1;}};_0x4c0640=_0x37f851([_0x1f644f(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af['Injector'])),_0x1f644f(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x1f644f(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332['MemberService'])),_0x1f644f(0x5,_0x4680af[_0x40fc9b(0x326)]),_0x1f644f(0x6,_0x4680af[_0x40fc9b(0x107)]),_0x1f644f(0x7,_0x4680af[_0x40fc9b(0x203)](_0x200ea9[_0x40fc9b(0x1a4)]))],_0x4c0640);var _0x4c34de=Object[_0x40fc9b(0x251)],_0xd4115=(_0x5a5fa2,_0x3fdf82,_0x21ee5a,_0xe66b8c)=>{const _0x3b577e=_0x40fc9b;for(var _0x3cbcea=_0xe66b8c>0x1?void 0x0:_0xe66b8c?_0x4c34de(_0x3fdf82,_0x21ee5a):_0x3fdf82,_0x4442fa=_0x5a5fa2[_0x3b577e(0x35c)]-0x1,_0x106268;_0x4442fa>=0x0;_0x4442fa--)(_0x106268=_0x5a5fa2[_0x4442fa])&&(_0x3cbcea=_0x106268(_0x3cbcea)||_0x3cbcea);return _0x3cbcea;},_0x4ffc80=(_0x59ae20,_0x4b3a5f)=>(_0x51e690,_0xa95c6d)=>_0x4b3a5f(_0x51e690,_0xa95c6d,_0x59ae20);let _0x3b8110=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x3d97c0,_0x42df8a,_0x33d6da){const _0x546e8c=_0x40fc9b;super(),_0x166045(this,_0x546e8c(0x115),new Map()),_0x166045(this,_0x546e8c(0x1ec),new _0x172b9a[(_0x546e8c(0x35b))]()),(this[_0x546e8c(0x20b)]=_0x3d97c0,this[_0x546e8c(0x101)]=_0x42df8a,this[_0x546e8c(0x2ea)]=_0x33d6da,this[_0x546e8c(0x263)]());}['dispose'](){const _0x520cc0=_0x40fc9b;super[_0x520cc0(0x250)](),this['_entityInit$'][_0x520cc0(0x358)](),this[_0x520cc0(0x115)]['forEach'](_0x543360=>_0x543360[_0x520cc0(0x250)]());}[_0x40fc9b(0x14c)](_0x3da8e2){const _0xb46274=_0x40fc9b;return this[_0xb46274(0x115)][_0xb46274(0x393)](_0x3da8e2)?this['_entities'][_0xb46274(0x2f2)](_0x3da8e2)[_0xb46274(0x2e9)]:this[_0xb46274(0x1ec)]['pipe'](_0x172b9a[_0xb46274(0x160)](_0x84040c=>_0x84040c['unitID']===_0x3da8e2),_0x172b9a['switchMap'](_0x8f0758=>_0x8f0758['cursorInfo$']));}['_init'](){const _0x50b200=_0x40fc9b;this[_0x50b200(0x20b)]['getTypeOfUnitAdded$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x2f3)])[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))[_0x50b200(0x2a1)](async _0x32d167=>{const _0x555a98=_0x50b200,_0x5d926b=_0x32d167['getUnitId'](),_0x1b25f2=await this['_startSheetCollabCursor'](_0x5d926b);this[_0x555a98(0x1ec)][_0x555a98(0x1ae)](_0x1b25f2),this[_0x555a98(0x115)]['set'](_0x5d926b,_0x1b25f2);}),this[_0x50b200(0x20b)][_0x50b200(0x179)](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)])['pipe'](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))['pipe'](_0x172b9a['filter'](_0x520476=>!_0x520476[_0x50b200(0x386)]()[_0x50b200(0x1a1)]('__')))[_0x50b200(0x2a1)](async _0x3c1512=>{const _0x4734a5=_0x50b200,_0x3ebcd8=_0x3c1512[_0x4734a5(0x386)](),_0x4c4e9e=await this[_0x4734a5(0x128)](_0x3ebcd8);this[_0x4734a5(0x1ec)]['next'](_0x4c4e9e),this[_0x4734a5(0x115)][_0x4734a5(0x210)](_0x3ebcd8,_0x4c4e9e);}),_0x172b9a[_0x50b200(0x29f)](this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)]),this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af['UniverInstanceType'][_0x50b200(0x2f3)]))[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this['dispose$']))[_0x50b200(0x2a1)](_0x432439=>{const _0x4abecc=_0x50b200,_0x29d223=_0x432439[_0x4abecc(0x386)](),_0x3239ee=this[_0x4abecc(0x115)][_0x4abecc(0x2f2)](_0x29d223);_0x3239ee&&(_0x3239ee['dispose'](),this[_0x4abecc(0x115)][_0x4abecc(0x329)](_0x29d223));});}async[_0x40fc9b(0x297)](_0x339ca3){const _0x92dcc8=_0x40fc9b,_0x55fe21=await this[_0x92dcc8(0x2ea)]['requireSession'](_0x339ca3),_0x4f475f=this[_0x92dcc8(0x101)][_0x92dcc8(0x357)](_0x4c0640,_0x339ca3,_0x55fe21);return _0x4f475f[_0x92dcc8(0x1e5)](),_0x4f475f;}async[_0x40fc9b(0x128)](_0x266b2e){const _0x2560ed=_0x40fc9b,_0x1c23f5=await this[_0x2560ed(0x2ea)][_0x2560ed(0x351)](_0x266b2e),_0x516e3f=this[_0x2560ed(0x101)][_0x2560ed(0x357)](_0x4877be,_0x266b2e,_0x1c23f5);return _0x516e3f['init'](),_0x516e3f;}};_0x3b8110=_0xd4115([_0x4ffc80(0x0,_0x4680af['IUniverInstanceService']),_0x4ffc80(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x4ffc80(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x3b2)]))],_0x3b8110);const _0x1daaf4=0x14,_0x24893f=0xc8,_0x4abd95=0x4,_0x41b8f0=0x5;function _0x498ba3(_0x2a4d6c,_0x5e8070){const _0x231521=_0x40fc9b;let {radius:_0x14c54f,width:_0x6288f4,height:_0x433f72}=_0x5e8070;_0x14c54f=_0x14c54f!=null?_0x14c54f:0x0,_0x6288f4=_0x6288f4!=null?_0x6288f4:0x1e,_0x433f72=_0x433f72!=null?_0x433f72:0x1e;let _0x169000=0x0,_0x695865=0x0,_0x2cc75d=0x0;_0x169000=_0x695865=_0x2cc75d=Math[_0x231521(0x322)](_0x14c54f,_0x6288f4/0x2,_0x433f72/0x2),_0x2a4d6c[_0x231521(0x272)](),_0x2a4d6c[_0x231521(0x15b)](_0x169000,0x0),_0x2a4d6c[_0x231521(0x274)](_0x6288f4-_0x695865,0x0),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x695865,_0x695865,_0x695865,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a4d6c[_0x231521(0x274)](_0x6288f4,_0x433f72-_0x2cc75d),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x2cc75d,_0x433f72-_0x2cc75d,_0x2cc75d,0x0,Math['PI']/0x2,!0x1),_0x2a4d6c[_0x231521(0x274)](0x0,_0x433f72),_0x2a4d6c[_0x231521(0x274)](0x0,_0x169000),_0x2a4d6c[_0x231521(0x150)](_0x169000,_0x169000,_0x169000,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a4d6c[_0x231521(0x2a9)](),_0x5e8070[_0x231521(0x3ad)]&&(_0x2a4d6c[_0x231521(0x31e)](),_0x2a4d6c[_0x231521(0x19d)]=_0x5e8070[_0x231521(0x3ad)],_0x5e8070[_0x231521(0x31c)]===_0x231521(0x2d8)?_0x2a4d6c['fill'](_0x231521(0x2d8)):_0x2a4d6c['fill'](),_0x2a4d6c['restore']());}class _0x218e2e extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0xc2b593,_0x3a2b5b){const _0x455bae=_0x40fc9b;super(_0xc2b593,_0x3a2b5b),_0x166045(this,'color'),_0x166045(this,'text'),(this[_0x455bae(0x112)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x112)],this[_0x455bae(0x243)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x243)]);}static['drawWith'](_0x209f83,_0x1f97e1){const _0x573c3f=_0x40fc9b,{text:_0x251b3b,color:_0x3a3d19}=_0x1f97e1;_0x209f83['save'](),_0x209f83[_0x573c3f(0x22b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a8526=_0x209f83[_0x573c3f(0x2af)](_0x251b3b)[_0x573c3f(0x16d)],_0x3340a3=Math[_0x573c3f(0x322)](_0x3a8526+0x2*_0x4abd95,_0x24893f);_0x498ba3(_0x209f83,{'height':_0x1daaf4,'radius':0x4,'width':_0x3340a3,'fill':_0x3a3d19}),_0x209f83[_0x573c3f(0x19d)]=_0x573c3f(0x139);const _0x3ae895=_0x4abd95,_0x920570=_0x1daaf4-_0x41b8f0,_0x27e22d=_0x24893f-0x2*_0x4abd95;if(_0x3a8526>_0x27e22d){let _0x4ccef3='',_0x465b19=0x0;for(const _0xd232ce of _0x251b3b){const _0xca9c6=_0x209f83[_0x573c3f(0x2af)](_0xd232ce)[_0x573c3f(0x16d)];if(_0x465b19+_0xca9c6<=_0x27e22d-_0x209f83[_0x573c3f(0x2af)](_0x573c3f(0x1f4))[_0x573c3f(0x16d)])_0x4ccef3+=_0xd232ce,_0x465b19+=_0xca9c6;else{_0x4ccef3+=_0x573c3f(0x1f4);break;}}_0x209f83[_0x573c3f(0x31a)](_0x4ccef3,_0x3ae895,_0x920570);}else _0x209f83[_0x573c3f(0x31a)](_0x251b3b,_0x3ae895,_0x920570);_0x209f83[_0x573c3f(0x1f0)]();}['_draw'](_0x3cbf21){const _0xd04ef6=_0x40fc9b;_0x218e2e[_0xd04ef6(0x168)](_0x3cbf21,this);}}const _0x20fbd2=_0x40fc9b(0x3a6),_0x4d8294=_0x40fc9b(0x223),_0x499a78=_0x40fc9b(0x2e1),_0x4676d2=0x6,_0x293f2f=1.5,_0x39c1da=0x4,_0x124f51=1.5,_0x17e6b1=_0x40fc9b(0x319);class _0x382299{constructor(_0x3ea785,_0x13acc7,_0x3615db,_0x306987){const _0x3b0c02=_0x40fc9b;_0x166045(this,_0x3b0c02(0x2ad),[]),_0x166045(this,_0x3b0c02(0x1a3),null),_0x166045(this,_0x3b0c02(0x36b),null),_0x166045(this,_0x3b0c02(0x19a),null),_0x166045(this,'_hideTimer',null),_0x166045(this,'_eventUnsubscribe',null),(this[_0x3b0c02(0x266)]=_0x3ea785,this[_0x3b0c02(0x193)]=_0x13acc7,this[_0x3b0c02(0x1e0)]=_0x3615db,this['_document']=_0x306987,this[_0x3b0c02(0x287)]());}set[_0x40fc9b(0x1c9)](_0x15633f){const _0x247f1d=_0x40fc9b;_0x15633f?(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x17e)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)][_0x247f1d(0x1b4)]()):(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x1b4)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)]['hide']());}[_0x40fc9b(0x250)](){const _0x2c66eb=_0x40fc9b;for(const _0x2528dc of this[_0x2c66eb(0x2ad)])_0x2528dc[_0x2c66eb(0x250)]();this[_0x2c66eb(0x36b)]&&this[_0x2c66eb(0x36b)][_0x2c66eb(0x250)](),this[_0x2c66eb(0x19a)]&&this[_0x2c66eb(0x19a)]['dispose'](),this[_0x2c66eb(0x1a3)]&&this[_0x2c66eb(0x1a3)]['dispose'](),this[_0x2c66eb(0x269)]&&this[_0x2c66eb(0x269)]();}[_0x40fc9b(0x287)](){const _0x1c6e00=_0x40fc9b;var _0x839885;const {_docSkeleton:_0x62f2ac,_document:_0x5b613d}=this,{color:_0x5e2e18,name:_0x184df4,ranges:_0x55f76a}=this[_0x1c6e00(0x266)],_0x233c13=_0x5b613d[_0x1c6e00(0x369)](),{docsLeft:_0x1942f7,docsTop:_0x2d1a74}=_0x233c13,_0x2b2f60=new _0x55f3bb[(_0x1c6e00(0x2ca))](_0x233c13,_0x62f2ac);for(const {startOffset:_0x3bd046,endOffset:_0x3d986c,rangeType:_0x546100,segmentId:_0x24d59c,segmentPage:_0x14927d,collapsed:_0x5acffc,isActive:_0x362dd2}of _0x55f76a){const _0x294653=_0x62f2ac[_0x1c6e00(0x37b)](_0x3bd046,!0x0,_0x24d59c,_0x14927d);let _0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c,!0x0,_0x24d59c,_0x14927d);if(_0x164e49==null&&(_0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c-0x1,!0x1,_0x24d59c,_0x14927d)),_0x362dd2){const {contentBoxPointGroup:_0x3fc91a}=_0x2b2f60['getRangePointData'](_0x164e49,_0x164e49);if(_0x3fc91a['length']===0x0)continue;this[_0x1c6e00(0x166)](_0x5e2e18,_0x3fc91a,_0x1942f7,_0x2d1a74,_0x184df4),this['_eventUnsubscribe']=this[_0x1c6e00(0x325)]();}if(_0x294653&&_0x164e49){if(_0x546100===_0x4680af[_0x1c6e00(0x197)][_0x1c6e00(0x155)]){const _0xd6b8e7=new _0x55f3bb[(_0x1c6e00(0x2c6))](_0x233c13,_0x62f2ac),{pointGroup:_0x15146f}=(_0x839885=_0xd6b8e7['getRangePointData'](_0x294653,_0x164e49))!=null?_0x839885:{};if(_0x15146f==null||_0x15146f[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x26c)](_0x5e2e18,_0x15146f,_0x1942f7,_0x2d1a74);}else{if(!_0x5acffc){const {borderBoxPointGroup:_0x2f947c}=_0x2b2f60['getRangePointData'](_0x294653,_0x164e49);if(_0x2f947c[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x32d)](_0x5e2e18,_0x2f947c,_0x1942f7,_0x2d1a74);}}}}}[_0x40fc9b(0x166)](_0x467ce6,_0x1ee8ec,_0x4848e4,_0x41c57c,_0x20bb1a){const _0x3a2675=_0x40fc9b,_0x43a807=this[_0x3a2675(0x224)](_0x1ee8ec),{left:_0x5b3ea1,top:_0x42946c,height:_0x6715d2}=_0x43a807,_0x11c441=this['_getScale'](),_0x5ccd5d=_0x124f51/_0x11c441,_0x583467=new _0x3d68e7['Rect'](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c,'height':_0x6715d2,'width':_0x293f2f,'fill':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':_0x5ccd5d,'stroke':_0x17e6b1,'evented':!0x0});this[_0x3a2675(0x1a3)]=_0x583467,this['_scene'][_0x3a2675(0x1d4)](_0x583467,_0x55f3bb[_0x3a2675(0x25f)]);const _0x3a04d5=new _0x3d68e7[(_0x3a2675(0x21c))](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x39c1da/0x2,'height':_0x39c1da,'width':_0x39c1da,'fill':_0x467ce6||_0x3d68e7['getColor'](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)][_0x3a2675(0x286)],0x0),'evented':!0x1});this[_0x3a2675(0x19a)]=_0x3a04d5,this[_0x3a2675(0x193)]['addObject'](_0x3a04d5,_0x55f3bb[_0x3a2675(0x25f)]);const _0x497426=new _0x218e2e(_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x1daaf4,'text':_0x20bb1a,'color':_0x467ce6});this[_0x3a2675(0x36b)]=_0x497426,this[_0x3a2675(0x193)][_0x3a2675(0x1d4)](_0x497426,_0x55f3bb[_0x3a2675(0x25f)]),this[_0x3a2675(0x1c9)]=!0x1;}['_handleHover'](){const _0x1e7088=_0x40fc9b,_0x311d2b=this['_anchor'][_0x1e7088(0x30c)]['subscribeEvent'](()=>{const _0x373c64=_0x1e7088;this[_0x373c64(0x1c9)]=!0x0;}),_0x34d94c=this[_0x1e7088(0x1a3)][_0x1e7088(0x28c)][_0x1e7088(0x10c)](()=>{const _0x3c190b=_0x1e7088;this[_0x3c190b(0x149)]&&clearTimeout(this[_0x3c190b(0x149)]),this['_hideTimer']=setTimeout(()=>{const _0x286652=_0x3c190b;this[_0x286652(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x147cae=_0x1e7088;_0x311d2b[_0x147cae(0x2bf)](),_0x34d94c['unsubscribe']();};}[_0x40fc9b(0x32d)](_0x50bd95,_0x38ba01,_0xe1a465,_0x1ac053){const _0x2cccbc=_0x40fc9b,_0x495dcf=new _0x4680af[(_0x2cccbc(0x136))](_0x50bd95)[_0x2cccbc(0x2e2)](0.2)[_0x2cccbc(0x3a5)](),_0x1d1ae4=new _0x3d68e7[(_0x2cccbc(0x26d))](_0x4d8294+_0x4680af[_0x2cccbc(0x157)](_0x4676d2),{'pointsGroup':_0x38ba01,'fill':_0x495dcf||_0x3d68e7[_0x2cccbc(0x313)](_0x4680af[_0x2cccbc(0x2d4)]['black'],0.2),'left':_0xe1a465,'top':_0x1ac053,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccbc(0x2ad)][_0x2cccbc(0x2c3)](_0x1d1ae4),this['_scene'][_0x2cccbc(0x1d4)](_0x1d1ae4,_0x55f3bb['TEXT_RANGE_LAYER_INDEX']);}[_0x40fc9b(0x26c)](_0x2bbf2d,_0x284627,_0x511006,_0x468c41){const _0x2b22e5=_0x40fc9b,_0x2d1689=new _0x4680af[(_0x2b22e5(0x136))](_0x2bbf2d)[_0x2b22e5(0x2e2)](0.2)[_0x2b22e5(0x3a5)](),_0x1f2115=new _0x3d68e7['RegularPolygon'](_0x499a78+_0x4680af[_0x2b22e5(0x157)](_0x4676d2),{'pointsGroup':_0x284627,'fill':_0x2d1689||_0x3d68e7[_0x2b22e5(0x313)](_0x4680af[_0x2b22e5(0x2d4)][_0x2b22e5(0x286)],0.2),'left':_0x511006,'top':_0x468c41,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b22e5(0x2ad)][_0x2b22e5(0x2c3)](_0x1f2115),this[_0x2b22e5(0x193)][_0x2b22e5(0x1d4)](_0x1f2115,_0x55f3bb[_0x2b22e5(0x25f)]);}['_getAnchorBounding'](_0x2c9ee8){const _0x57fa1d=_0x2c9ee8[0x0],_0x145955=_0x57fa1d[0x0],_0x20130e=_0x57fa1d[0x2],{x:_0x411ff1,y:_0x5e4836}=_0x145955,{x:_0x2bae39,y:_0x22b7f2}=_0x20130e;return{'left':_0x411ff1,'top':_0x5e4836,'width':_0x2bae39-_0x411ff1,'height':_0x22b7f2-_0x5e4836};}[_0x40fc9b(0x265)](){const _0x4a9e40=_0x40fc9b,{scaleX:_0xaa3124,scaleY:_0x42edce}=this[_0x4a9e40(0x193)][_0x4a9e40(0x330)]();return Math['max'](_0xaa3124,_0x42edce);}}var _0x17c846=Object[_0x40fc9b(0x251)],_0x149ee2=(_0x392005,_0x24f6ad,_0x298259,_0x4e79ae)=>{const _0x5295ce=_0x40fc9b;for(var _0x483311=_0x4e79ae>0x1?void 0x0:_0x4e79ae?_0x17c846(_0x24f6ad,_0x298259):_0x24f6ad,_0x1633d9=_0x392005[_0x5295ce(0x35c)]-0x1,_0x1299c7;_0x1633d9>=0x0;_0x1633d9--)(_0x1299c7=_0x392005[_0x1633d9])&&(_0x483311=_0x1299c7(_0x483311)||_0x483311);return _0x483311;},_0x110a1b=(_0x232eae,_0x3c0882)=>(_0x2fbd28,_0x191c1a)=>_0x3c0882(_0x2fbd28,_0x191c1a,_0x232eae);let _0x5ec101=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x416ae8,_0x1a5bda,_0x1c027b,_0x3ce7ed,_0x4c971e){const _0x5202c4=_0x40fc9b;super(),_0x166045(this,_0x5202c4(0x153),[]),_0x166045(this,_0x5202c4(0x169),[]),(this['_context']=_0x416ae8,this[_0x5202c4(0x213)]=_0x1a5bda,this['_collabCursorController']=_0x1c027b,this[_0x5202c4(0x35e)]=_0x3ce7ed,this['_themeService']=_0x4c971e,this[_0x5202c4(0x263)]());}[_0x40fc9b(0x263)](){const _0x23d3b7=_0x40fc9b,_0x41d7d3=this[_0x23d3b7(0x1ed)][_0x23d3b7(0x1c6)],_0x56ef0c=this[_0x23d3b7(0x213)];this[_0x23d3b7(0x219)](_0x172b9a[_0x23d3b7(0x18c)]([this[_0x23d3b7(0x206)][_0x23d3b7(0x14c)](_0x41d7d3),this[_0x23d3b7(0x27d)][_0x23d3b7(0x1fd)]])[_0x23d3b7(0x1d3)](_0x353212[_0x23d3b7(0x1bc)](([_0x3bd799,_0x336226])=>({'skeleton':_0x56ef0c[_0x23d3b7(0x28b)](),'cursors':[..._0x3bd799[_0x23d3b7(0x1c3)]()]['flatMap'](_0x3d92c1=>({..._0x3d92c1,'color':this['_themeService']['getColorFromTheme'](_0x3d92c1[_0x23d3b7(0x112)])}))})))[_0x23d3b7(0x2a1)](_0x160eb1=>{const _0x56ff94=_0x23d3b7;if(this[_0x56ff94(0x39f)](),_0x160eb1){const {skeleton:_0xef2bfd,cursors:_0x2e1141}=_0x160eb1;this[_0x56ff94(0x1ff)](_0xef2bfd,_0x2e1141);}})),this[_0x23d3b7(0x199)](),this['_initCommandExecutedListener']();}[_0x40fc9b(0x1ff)](_0x5b5891,_0x5e4579){const _0x5d6bad=_0x40fc9b,{scene:_0xb5cad2,mainComponent:_0x54a029}=this['_context'],_0x23b5a9=_0x5e4579[_0x5d6bad(0x1bc)](_0x5aa05e=>new _0x382299(_0x5aa05e,_0xb5cad2,_0x5b5891,_0x54a029));this['_cursorShapes']=_0x23b5a9,this[_0x5d6bad(0x169)]=_0x5e4579;}[_0x40fc9b(0x33f)](){const _0x457c42=_0x40fc9b;this[_0x457c42(0x39f)]();const {scene:_0x514a76,mainComponent:_0x34af06}=this[_0x457c42(0x1ed)],_0x1fe2e0=this[_0x457c42(0x213)][_0x457c42(0x28b)](),_0xf229e5=this[_0x457c42(0x169)][_0x457c42(0x1bc)](_0x45e4ef=>new _0x382299(_0x45e4ef,_0x514a76,_0x1fe2e0,_0x34af06));this[_0x457c42(0x153)]=_0xf229e5;}[_0x40fc9b(0x39f)](){const _0x30c872=_0x40fc9b;this['_cursorShapes'][_0x30c872(0x1a5)](_0xa1f533=>_0xa1f533['dispose']()),this[_0x30c872(0x153)]=[];}[_0x40fc9b(0x2aa)](){const _0x25145c=_0x40fc9b,_0x7d2e5=[_0x55f3bb[_0x25145c(0x167)]['id']];this[_0x25145c(0x219)](this[_0x25145c(0x35e)][_0x25145c(0x2e4)](_0x54c253=>{const _0x23d3ac=_0x25145c;_0x7d2e5[_0x23d3ac(0x34c)](_0x54c253['id'])&&_0x54c253[_0x23d3ac(0x1be)][_0x23d3ac(0x1c6)]===this['_context']['unitId']&&this[_0x23d3ac(0x33f)]();}));}[_0x40fc9b(0x199)](){const _0x3a2955=_0x40fc9b;this[_0x3a2955(0x219)](_0x4680af['fromEventSubject'](this['_context']['engine'][_0x3a2955(0x222)])[_0x3a2955(0x1d3)](_0x353212['filter'](_0x58bec3=>_0x58bec3[_0x3a2955(0x131)]===_0x3d68e7[_0x3a2955(0x227)][_0x3a2955(0x152)]),_0x353212[_0x3a2955(0x387)](0x10))[_0x3a2955(0x2a1)](()=>{const _0x258dc2=_0x3a2955;this[_0x258dc2(0x33f)]();}));}};_0x5ec101=_0x149ee2([_0x110a1b(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4f8be8[_0x40fc9b(0x127)])),_0x110a1b(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x110a1b(0x3,_0x4680af['ICommandService']),_0x110a1b(0x4,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x5ec101);const _0x42505a=0x1,_0x3abb80=1.5;class _0x1576e2 extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0x227b85,_0x55efa7){const _0x1fd42c=_0x40fc9b;super(_0x227b85,_0x55efa7),_0x166045(this,_0x1fd42c(0x3ae)),_0x166045(this,_0x1fd42c(0x2d1),!0x1),_0x166045(this,_0x1fd42c(0x296)),_0x166045(this,_0x1fd42c(0x144),''),_0x166045(this,'_labelPosition',_0x1fd42c(0x311)),_0x166045(this,_0x1fd42c(0x242)),(_0x55efa7&&this[_0x1fd42c(0x12b)](_0x55efa7),this[_0x1fd42c(0x30c)]['subscribeEvent'](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1fd42c(0x10c)](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x1})));}[_0x40fc9b(0x12b)](_0x1202af){const _0x19d5eb=_0x40fc9b;var _0x411e31,_0x3cb629,_0x232bef,_0x2ac8c,_0x19e8eb,_0xe2d7c0;this[_0x19d5eb(0x3ae)]=(_0x411e31=_0x1202af['color'])!=null?_0x411e31:this[_0x19d5eb(0x3ae)],this['_hovered']=(_0x3cb629=_0x1202af[_0x19d5eb(0x350)])!=null?_0x3cb629:this[_0x19d5eb(0x2d1)],this[_0x19d5eb(0x296)]=(_0x232bef=_0x1202af[_0x19d5eb(0x2c7)])!=null?_0x232bef:this['_range'],this[_0x19d5eb(0x144)]=(_0x2ac8c=_0x1202af[_0x19d5eb(0x211)])!=null?_0x2ac8c:this[_0x19d5eb(0x144)],this['_labelPosition']=(_0x19e8eb=_0x1202af['labelPosition'])!=null?_0x19e8eb:this[_0x19d5eb(0x356)],this[_0x19d5eb(0x242)]=(_0xe2d7c0=_0x1202af['backgroundColor'])!=null?_0xe2d7c0:this['_backgroundColor'],this[_0x19d5eb(0x2b3)]({'width':_0x1202af['width'],'height':_0x1202af[_0x19d5eb(0x137)]});}['onMouseMove'](_0x2f8e1b){const _0xac806d=_0x40fc9b,{row:_0x3fe9eb,column:_0x3d06ac}=_0x2f8e1b;if(_0x3fe9eb>=this['_range'][_0xac806d(0x148)]&&_0x3fe9eb<=this[_0xac806d(0x296)][_0xac806d(0x3b5)]&&_0x3d06ac>=this[_0xac806d(0x296)][_0xac806d(0x333)]&&_0x3d06ac<=this[_0xac806d(0x296)]['endColumn']){this[_0xac806d(0x12b)]({'hovered':!0x0});return;}this[_0xac806d(0x12b)]({'hovered':!0x1});}[_0x40fc9b(0x14a)](_0x4b3c9e){return!0x1;}[_0x40fc9b(0x1c7)](_0x5e57eb){const _0x5b034f=_0x40fc9b;_0x3d68e7[_0x5b034f(0x21c)]['drawWith'](_0x5e57eb,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3abb80,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5b034f(0x242)]}),this[_0x5b034f(0x2d1)]&&(_0x5e57eb[_0x5b034f(0x31e)](),_0x5e57eb[_0x5b034f(0x1b2)](0x1,0x0,0x0,0x1,this[_0x5b034f(0x16d)],this[_0x5b034f(0x356)]===_0x5b034f(0x18a)?0x0:-_0x1daaf4),_0x218e2e['drawWith'](_0x5e57eb,{'text':this[_0x5b034f(0x144)],'color':this['_color']}),_0x5e57eb['restore']());}}var _0x186a87=Object[_0x40fc9b(0x251)],_0x4151d5=(_0x2c31b3,_0x2fc06e,_0x40e3ae,_0x97fb52)=>{const _0x51ccbe=_0x40fc9b;for(var _0x1a38b5=_0x97fb52>0x1?void 0x0:_0x97fb52?_0x186a87(_0x2fc06e,_0x40e3ae):_0x2fc06e,_0x2f50c6=_0x2c31b3[_0x51ccbe(0x35c)]-0x1,_0x537d27;_0x2f50c6>=0x0;_0x2f50c6--)(_0x537d27=_0x2c31b3[_0x2f50c6])&&(_0x1a38b5=_0x537d27(_0x1a38b5)||_0x1a38b5);return _0x1a38b5;},_0x106f2c=(_0x1c4694,_0x550c4e)=>(_0x1714a7,_0x1d3572)=>_0x550c4e(_0x1714a7,_0x1d3572,_0x1c4694);const _0x48e5c5=0x1389;let _0x433c42=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x5a2a0b,_0x3478e2,_0x349af5,_0x398254){const _0x245652=_0x40fc9b;super(),_0x166045(this,_0x245652(0x169),new Set()),_0x166045(this,'_lastPointer',null),(this['_context']=_0x5a2a0b,this[_0x245652(0x109)]=_0x3478e2,this[_0x245652(0x206)]=_0x349af5,this[_0x245652(0x27d)]=_0x398254,this['_init']());}[_0x40fc9b(0x263)](){const _0x389b82=_0x40fc9b;this[_0x389b82(0x109)]['currentSkeleton$']['pipe'](_0x353212[_0x389b82(0x385)](this[_0x389b82(0x2cb)]),_0x353212['switchMap'](_0x28aa2f=>{const _0xa33d08=_0x389b82;if(_0x28aa2f){const _0x32ae7a=_0x28aa2f['sheetId'];return _0x172b9a['combineLatest'](this[_0xa33d08(0x206)][_0xa33d08(0x14c)](this[_0xa33d08(0x1ed)]['unitId']),this[_0xa33d08(0x27d)][_0xa33d08(0x1fd)])[_0xa33d08(0x1d3)](_0x353212[_0xa33d08(0x1bc)](([_0x5d6363,_0x15baa1])=>{const _0x2f988a=_0xa33d08,_0x5904fd=new Map();return _0x5d6363[_0x2f988a(0x1a5)]((_0x5842c2,_0x6f9698)=>{const _0x20e7ed=_0x2f988a;if(_0x5842c2[_0x20e7ed(0x35d)]===_0x32ae7a){const _0x4f3a40={..._0x5842c2};_0x4f3a40['color']=this[_0x20e7ed(0x27d)][_0x20e7ed(0x19c)](_0x5842c2[_0x20e7ed(0x112)]),_0x5904fd[_0x20e7ed(0x210)](_0x6f9698,_0x4f3a40);}}),{'skeleton':_0x28aa2f,'cursors':_0x5904fd};}));}return _0x172b9a['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2c837d,cursors:_0x16da78})=>{const _0x3e48ee=_0x389b82;this[_0x3e48ee(0x39f)](),_0x2c837d&&this[_0x3e48ee(0x1ff)](_0x2c837d,_0x16da78);}),this[_0x389b82(0x109)][_0x389b82(0x2a8)][_0x389b82(0x2a1)](_0xdc574a=>{const _0x3ff87e=_0x389b82;if(_0xdc574a==null)return;const {skeleton:_0x3ff1a2}=_0xdc574a,{scene:_0x364b23}=this[_0x3ff87e(0x1ed)];_0x364b23[_0x3ff87e(0x258)][_0x3ff87e(0x10c)](_0x4680af[_0x3ff87e(0x332)](_0x1dfb3b=>{const _0x268dbf=_0x3ff87e;var _0x18ca46,_0x4a75f9;const {offsetX:_0x46aed7,offsetY:_0x14f387}=_0x1dfb3b,{x:_0x27e068,y:_0x1e7675}=_0x364b23['getRelativeToViewportCoord'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x46aed7,_0x14f387])),{scaleX:_0x57bb8b,scaleY:_0x3c0841}=_0x364b23['getAncestorScale'](),_0x1fa8ea=_0x364b23[_0x268dbf(0x30d)](_0x3d68e7['SHEET_VIEWPORT_KEY'][_0x268dbf(0x306)]),_0x11c6d5=_0x364b23['getVpScrollXYInfoByPosToVp'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x27e068,_0x1e7675]),_0x1fa8ea),_0x4f49b3=_0x3ff1a2[_0x268dbf(0x3b9)](_0x46aed7,_0x14f387,_0x57bb8b,_0x3c0841,_0x11c6d5);((_0x18ca46=this[_0x268dbf(0x30f)])==null?void 0x0:_0x18ca46[_0x268dbf(0x1db)])===_0x4f49b3['column']&&((_0x4a75f9=this['_lastPointer'])==null?void 0x0:_0x4a75f9['row'])===_0x4f49b3[_0x268dbf(0x2c1)]||this['_cursors'][_0x268dbf(0x1a5)](_0x55c481=>{const _0x19e2eb=_0x268dbf;_0x55c481[_0x19e2eb(0x27f)](_0x4f49b3);});},0x64));});}[_0x40fc9b(0x1ff)](_0x57297e,_0xd47e73){const _0x52bbc8=_0x40fc9b;var _0x5cb54;const _0x3d2a46=(_0x5cb54=this[_0x52bbc8(0x109)][_0x52bbc8(0x293)]())==null?void 0x0:_0x5cb54[_0x52bbc8(0x22d)];if(!_0x3d2a46)return;const _0x429db6=this['_getSheetObject']();if(!_0x429db6)return;this[_0x52bbc8(0x169)]['forEach'](_0x3bd9a8=>{const _0x4d8d5f=_0x52bbc8;_0x3bd9a8[_0x4d8d5f(0x172)]();});const {scene:_0x50e900}=_0x429db6,_0x31a91d=_0x4ab1b3(Array[_0x52bbc8(0x3b0)](_0xd47e73[_0x52bbc8(0x1c3)]()))[_0x52bbc8(0x1bc)](_0xe3adce=>{const _0x5db930=_0x52bbc8,{color:_0x5349dd,range:_0x238637,name:_0x46d254,selection:_0x4f82a9,sheetID:_0x26757a}=_0xe3adce,{startColumn:_0x1cc987,startRow:_0x519b68,endColumn:_0x16a43c,endRow:_0x925b04}=_0x238637,_0x73b24c=_0x3489ca[_0x5db930(0x2ce)](_0x519b68,_0x1cc987,_0x50e900,_0x3d2a46),_0x3ebb9c=_0x3489ca['getCoordByCell'](_0x925b04,_0x16a43c,_0x50e900,_0x3d2a46),{columnHeaderHeightAndMarginTop:_0x2acb55}=_0x3d2a46,{startX:_0x5f4f1b,startY:_0xdac1ba}=_0x73b24c,{endX:_0x594e48,endY:_0x4b6f9a}=_0x3ebb9c,_0x327638=_0x594e48-_0x5f4f1b,_0x5c302a=_0x4b6f9a-_0xdac1ba,_0xac9254={'labelPosition':_0xdac1ba-_0x2acb55>=_0x1daaf4?'top':_0x5db930(0x18a),'sheetID':_0x26757a,'range':_0x238637,'color':_0x5349dd,'name':_0x46d254,'selection':_0x4f82a9,'left':_0x5f4f1b,'top':_0xdac1ba,'width':_0x327638,'height':_0x5c302a,'evented':!0x1,'zIndex':_0x48e5c5};return new _0x1576e2(_0x46d254,_0xac9254);});_0x50e900[_0x52bbc8(0x1e1)](_0x31a91d,_0x42505a),this['_cursors']=new Set(_0x31a91d);}[_0x40fc9b(0x39f)](){const _0x38b811=_0x40fc9b;var _0x29f03f;(_0x29f03f=this[_0x38b811(0x169)])==null||_0x29f03f['forEach'](_0x2c1eb3=>_0x2c1eb3[_0x38b811(0x250)]());}[_0x40fc9b(0x238)](){const _0x1ab068=_0x40fc9b;return _0x3489ca[_0x1ab068(0x20a)](this[_0x1ab068(0x1ed)][_0x1ab068(0x25c)],this[_0x1ab068(0x1ed)]);}};_0x433c42=_0x4151d5([_0x106f2c(0x1,_0x4680af['Inject'](_0x3489ca[_0x40fc9b(0x352)])),_0x106f2c(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x106f2c(0x3,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x433c42);function _0x4ab1b3(_0x6a52d5){const _0xa0e994=_0x40fc9b,_0x13938b=new Map();return _0x6a52d5['forEach'](_0x2fb5e6=>{const _0x5c9f1c=_0x153f;if(_0x13938b[_0x5c9f1c(0x393)](_0x2fb5e6[_0x5c9f1c(0x33e)])){const _0x1f0238=_0x13938b[_0x5c9f1c(0x2f2)](_0x2fb5e6['selection']);_0x1f0238['name']+=',\x20'+_0x2fb5e6['name'];}else _0x13938b[_0x5c9f1c(0x210)](_0x2fb5e6[_0x5c9f1c(0x33e)],_0x2fb5e6);}),Array[_0xa0e994(0x3b0)](_0x13938b[_0xa0e994(0x1c3)]());}var _0x186db4=Object[_0x40fc9b(0x251)],_0x298306=(_0x3b66bb,_0x3bd5c4,_0x5833df,_0x1c4144)=>{for(var _0x24d8ee=_0x1c4144>0x1?void 0x0:_0x1c4144?_0x186db4(_0x3bd5c4,_0x5833df):_0x3bd5c4,_0x6368b7=_0x3b66bb['length']-0x1,_0xfd4fae;_0x6368b7>=0x0;_0x6368b7--)(_0xfd4fae=_0x3b66bb[_0x6368b7])&&(_0x24d8ee=_0xfd4fae(_0x24d8ee)||_0x24d8ee);return _0x24d8ee;},_0x25d7a6=(_0x59285c,_0xfecbbf)=>(_0x3839dd,_0x49d3fd)=>_0xfecbbf(_0x3839dd,_0x49d3fd,_0x59285c);let _0x55dfa9=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x27f130,_0x3e7d08,_0x116a96,_0x1b4fb2,_0x5aea06,_0x39391b){const _0x2a39df=_0x40fc9b;super(),this[_0x2a39df(0x29c)]=_0x27f130,this[_0x2a39df(0x1a6)]=_0x3e7d08,this['_collaborationUIEventService']=_0x116a96,this[_0x2a39df(0x375)]=_0x1b4fb2,this['_notificationService']=_0x5aea06,this[_0x2a39df(0x2cf)]=_0x39391b,this['_setupBeforeClosingHandler'](),this[_0x2a39df(0x282)]();}['_setupBeforeClosingHandler'](){const _0x19d6af=_0x40fc9b;this[_0x19d6af(0x219)](this[_0x19d6af(0x29c)][_0x19d6af(0x21d)](()=>{const _0x4f60a2=_0x19d6af;if(this[_0x4f60a2(0x1a6)][_0x4f60a2(0x2d3)][_0x4f60a2(0x174)])return this[_0x4f60a2(0x2cf)]['t'](_0x4f60a2(0x165));}));}[_0x40fc9b(0x282)](){const _0x36940c=_0x40fc9b;this[_0x36940c(0x219)](this[_0x36940c(0x184)][_0x36940c(0x2d9)][_0x36940c(0x2a1)](_0x1d5d34=>{const _0x404ce1=_0x36940c;_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)]['OTHER_CLIENT_EDITING']&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x284))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x35a)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x12e))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1df)]&&this[_0x404ce1(0x1af)][_0x404ce1(0x1b4)]({'title':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x1f8)),'content':this[_0x404ce1(0x2cf)]['t']('permission.content'),'type':_0x404ce1(0x111),'duration':0x0}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x2e7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this['_localeService']['t'](_0x404ce1(0x12e))+'('+_0x1d5d34['data']+')'}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x2bb)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x1d5d34[_0x404ce1(0x1e3)]||'')}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x3b7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x33d))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x104)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)]['Error'],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x241))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1ad)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this[_0x404ce1(0x2cf)]['t']('session.collaboration-timeout')});}));}};_0x55dfa9=_0x298306([_0x25d7a6(0x0,_0x38a45b['IBeforeCloseService']),_0x25d7a6(0x1,_0x191332[_0x40fc9b(0x281)]),_0x25d7a6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332['CollaborationUIEventService'])),_0x25d7a6(0x3,_0x38a45b['IMessageService']),_0x25d7a6(0x4,_0x38a45b[_0x40fc9b(0x331)]),_0x25d7a6(0x5,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x55dfa9);const _0x668921='collaboration-client-ui.config',_0x11ea6e={};var _0xafdd0a=Object[_0x40fc9b(0x251)],_0x88c3a8=(_0x258873,_0x5ab387,_0x301f0e,_0x477978)=>{const _0x4d1576=_0x40fc9b;for(var _0x185509=_0x477978>0x1?void 0x0:_0x477978?_0xafdd0a(_0x5ab387,_0x301f0e):_0x5ab387,_0x4639e9=_0x258873[_0x4d1576(0x35c)]-0x1,_0x4b981d;_0x4639e9>=0x0;_0x4639e9--)(_0x4b981d=_0x258873[_0x4639e9])&&(_0x185509=_0x4b981d(_0x185509)||_0x185509);return _0x185509;},_0x5d6ac2=(_0xd36e87,_0x962788)=>(_0xb1d0e2,_0x3ee059)=>_0x962788(_0xb1d0e2,_0x3ee059,_0xd36e87);let _0x22ee97=class{constructor(_0x3cea4b,_0x3a9b72){const _0x3f8e7d=_0x40fc9b;this[_0x3f8e7d(0x3b8)]=_0x3cea4b,this[_0x3f8e7d(0x14e)]=_0x3a9b72;}[_0x40fc9b(0x3b3)](_0x27c597){const _0x2657f6=_0x40fc9b;this[_0x2657f6(0x2db)](_0x27c597),this['_transformPreviousActiveRange'](_0x27c597);}[_0x40fc9b(0x276)](_0x5aa717){const _0x502604=_0x40fc9b,{unitID:_0x287fa3}=_0x5aa717,_0x120fd3=this[_0x502604(0x14e)][_0x502604(0x28a)](_0x287fa3)[_0x502604(0x1c2)](_0x55f3bb[_0x502604(0x28e)]),{redoCache:_0x350f74}=_0x120fd3[_0x502604(0x21b)]();if(_0x350f74[_0x502604(0x35c)]===0x0)return _0x5aa717;let _0x4d56c4=_0x4680af['Tools'][_0x502604(0x317)](_0x5aa717[_0x502604(0x24e)][0x0]);for(let _0x12f591=0x0;_0x12f591<_0x350f74[_0x502604(0x35c)];_0x12f591++){const _0x3868e7={'id':_0x502604(0x2fa),'params':{..._0x350f74[_0x12f591]}},_0x313729=this[_0x502604(0x3b8)][_0x502604(0x37d)](_0x4d56c4,_0x3868e7,!0x1);if(_0x680f14[_0x502604(0x2ab)](_0x313729))throw _0x313729[_0x502604(0x111)];_0x4d56c4=_0x313729['m1Prime'];}return{..._0x4680af[_0x502604(0x151)][_0x502604(0x317)](_0x5aa717),'mutations':[_0x4d56c4]};}[_0x40fc9b(0x2db)](_0x5e38e7){const _0x2df550=_0x40fc9b,{unitID:_0x50b1b7}=_0x5e38e7,_0x2d985e=this[_0x2df550(0x14e)]['getRenderById'](_0x50b1b7)[_0x2df550(0x1c2)](_0x55f3bb[_0x2df550(0x28e)]),{undoCache:_0x56d840,redoCache:_0x5a6bc9}=_0x2d985e[_0x2df550(0x21b)]();if(_0x56d840[_0x2df550(0x35c)]===0x0||_0x5a6bc9[_0x2df550(0x35c)]===0x0)return;const _0x1cef73=[],_0x32a83b=[];let _0x51528e=_0x4680af['Tools']['deepClone'](_0x5e38e7['mutations'][0x0]),_0x189a8e=_0x4680af['Tools'][_0x2df550(0x317)](_0x5e38e7[_0x2df550(0x24e)][0x0]);for(let _0x25759b=_0x56d840['length']-0x1;_0x25759b>=0x0;_0x25759b--){const _0x2edb71={'id':_0x2df550(0x2fa),'params':{..._0x56d840[_0x25759b]}},_0x866c4a={'id':_0x2df550(0x2fa),'params':{..._0x5a6bc9[_0x25759b]}},_0xff7f90=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x51528e,_0x2edb71,!0x1),_0x351dc5=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x189a8e,_0x866c4a,!0x1);if(_0x680f14['isTransformMutationFailure'](_0xff7f90))throw _0xff7f90['error'];if(_0x680f14[_0x2df550(0x2ab)](_0x351dc5))throw _0x351dc5[_0x2df550(0x111)];_0x1cef73['unshift'](_0xff7f90[_0x2df550(0x336)][_0x2df550(0x1be)]),_0x32a83b[_0x2df550(0x22c)](_0x351dc5['m2Prime'][_0x2df550(0x1be)]),_0x51528e=_0xff7f90[_0x2df550(0x283)],_0x189a8e=_0x351dc5[_0x2df550(0x283)];}_0x2d985e[_0x2df550(0x347)]({'undoCache':_0x1cef73,'redoCache':_0x32a83b});}[_0x40fc9b(0x38f)](_0x1c9c53){const _0x53d78b=_0x40fc9b,{unitID:_0x17fee5}=_0x1c9c53,_0x46014a=this[_0x53d78b(0x14e)]['getRenderById'](_0x17fee5)[_0x53d78b(0x1c2)](_0x55f3bb[_0x53d78b(0x28e)]),_0x3f102d=_0x46014a[_0x53d78b(0x1ea)]();if(_0x3f102d==null)return;const _0x106bb5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c9c53[_0x53d78b(0x1d7)],'actions':null,'textRanges':[_0x3f102d]}}],_0x390faa=this[_0x53d78b(0x3b8)]['transformMutationsWithChangeset'](_0x1c9c53,_0x106bb5);if(!_0x680f14[_0x53d78b(0x277)](_0x390faa))throw _0x390faa['error'];const _0x265a7a=_0x390faa[_0x53d78b(0x336)][0x0][_0x53d78b(0x1be)][_0x53d78b(0x21e)];Array['isArray'](_0x265a7a)&&_0x265a7a[_0x53d78b(0x35c)]&&_0x46014a['setActiveRange'](_0x265a7a[0x0]);}};_0x22ee97=_0x88c3a8([_0x5d6ac2(0x0,_0x680f14['ITransformService']),_0x5d6ac2(0x1,_0x3d68e7['IRenderManagerService'])],_0x22ee97);var _0x39d5e8=Object['getOwnPropertyDescriptor'],_0x5ccbab=(_0x29cd7a,_0x1286ae,_0x1b01ff,_0x529ecf)=>{const _0xeb141a=_0x40fc9b;for(var _0x50e8c2=_0x529ecf>0x1?void 0x0:_0x529ecf?_0x39d5e8(_0x1286ae,_0x1b01ff):_0x1286ae,_0x478b91=_0x29cd7a[_0xeb141a(0x35c)]-0x1,_0x2ba2b0;_0x478b91>=0x0;_0x478b91--)(_0x2ba2b0=_0x29cd7a[_0x478b91])&&(_0x50e8c2=_0x2ba2b0(_0x50e8c2)||_0x50e8c2);return _0x50e8c2;},_0x2d7fe6=(_0x358035,_0x4d9572)=>(_0x33a57f,_0x4ff873)=>_0x4d9572(_0x33a57f,_0x4ff873,_0x358035);let _0xb3d4fd=class{constructor(_0x356077,_0xe54c86,_0x275059){const _0x5c3e77=_0x40fc9b;this[_0x5c3e77(0x101)]=_0x356077,this[_0x5c3e77(0x3b8)]=_0xe54c86,this[_0x5c3e77(0x18b)]=_0x275059;}[_0x40fc9b(0x2c5)](_0x1f09d4){const _0x2f22b2=_0x40fc9b;this[_0x2f22b2(0x39e)](_0x1f09d4);}[_0x40fc9b(0x276)](_0x7e0c01){const _0x444266=_0x40fc9b,{unitID:_0x1f4f1e}=_0x7e0c01,{collaboration:_0x50b13c}=this[_0x444266(0x18b)]['getStateCache'](_0x1f4f1e);if(_0x50b13c[_0x444266(0x35c)]===0x0)return _0x7e0c01;let _0x4b1a9e=_0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01[_0x444266(0x24e)][0x0]);for(let _0x2923af=0x0;_0x2923af<_0x50b13c[_0x444266(0x35c)];_0x2923af++){const _0x5815c3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b13c[_0x2923af][_0x444266(0x1c6)],..._0x50b13c[_0x2923af][_0x444266(0x337)]}},_0x2f9a19=this[_0x444266(0x3b8)]['transformMutation'](_0x4b1a9e,_0x5815c3,!0x1);if(_0x680f14[_0x444266(0x2ab)](_0x2f9a19))throw _0x2f9a19['error'];_0x4b1a9e=_0x2f9a19[_0x444266(0x283)];}return{..._0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01),'mutations':[_0x4b1a9e]};}[_0x40fc9b(0x39e)](_0x3681cd){const _0x7f2218=_0x40fc9b,{unitID:_0x15eb23}=_0x3681cd,{history:_0x10906a,collaboration:_0x121f0f}=this[_0x7f2218(0x18b)]['getStateCache'](_0x15eb23);if(_0x10906a[_0x7f2218(0x35c)]===0x0&&_0x121f0f[_0x7f2218(0x35c)]===0x0)return;const _0x318f6a=[],_0x308564=[];let _0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)]['deepClone'](_0x3681cd[_0x7f2218(0x24e)][0x0]);for(let _0x440b98=_0x10906a['length']-0x1;_0x440b98>=0x0;_0x440b98--){const _0x1582d6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x19e)]}},_0x511262={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x337)]}},_0x25eea0=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x1582d6,!0x1),_0x380dad=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x3cdaf9,_0x511262,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x25eea0))throw _0x25eea0[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x380dad))throw _0x380dad[_0x7f2218(0x111)];_0x318f6a[_0x7f2218(0x22c)]({..._0x10906a[_0x440b98],'undoState':_0x25eea0['m2Prime']['params'],'redoState':_0x380dad[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0x25eea0[_0x7f2218(0x283)],_0x3cdaf9=_0x380dad['m1Prime'];}_0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd['mutations'][0x0]);for(let _0x2daa0e=_0x121f0f['length']-0x1;_0x2daa0e>=0x0;_0x2daa0e--){const _0x15198b={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x19e)]}},_0x409042={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x337)]}},_0xc5d437=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x15198b,!0x1),_0x2a6097=this['_transformService']['transformMutation'](_0x3cdaf9,_0x409042,!0x1);if(_0x680f14[_0x7f2218(0x2ab)](_0xc5d437))throw _0xc5d437[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x2a6097))throw _0x2a6097[_0x7f2218(0x111)];_0x308564[_0x7f2218(0x22c)]({..._0x121f0f[_0x2daa0e],'undoState':_0xc5d437['m2Prime'][_0x7f2218(0x1be)],'redoState':_0x2a6097[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0xc5d437[_0x7f2218(0x283)],_0x3cdaf9=_0x2a6097[_0x7f2218(0x283)];}this[_0x7f2218(0x18b)][_0x7f2218(0x100)](_0x15eb23,{'history':_0x318f6a,'collaboration':_0x308564});}};_0xb3d4fd=_0x5ccbab([_0x2d7fe6(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x2d7fe6(0x1,_0x680f14[_0x40fc9b(0x2f1)]),_0x2d7fe6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x55f3bb['DocStateChangeManagerService']))],_0xb3d4fd);var _0x4f5880=Object[_0x40fc9b(0x251)],_0x25be11=(_0x282bfa,_0x2767eb,_0x11fd66,_0x121f86)=>{const _0x2d3ae3=_0x40fc9b;for(var _0x41e7fb=_0x121f86>0x1?void 0x0:_0x121f86?_0x4f5880(_0x2767eb,_0x11fd66):_0x2767eb,_0x1981df=_0x282bfa[_0x2d3ae3(0x35c)]-0x1,_0x45d811;_0x1981df>=0x0;_0x1981df--)(_0x45d811=_0x282bfa[_0x1981df])&&(_0x41e7fb=_0x45d811(_0x41e7fb)||_0x41e7fb);return _0x41e7fb;},_0x242b9e=(_0x4d3a81,_0x3f2bae)=>(_0x2cdda8,_0x4d62b3)=>_0x3f2bae(_0x2cdda8,_0x4d62b3,_0x4d3a81);let _0x37e093=class{constructor(_0x1453c3,_0x2348dc){const _0xa4a446=_0x40fc9b;this[_0xa4a446(0x101)]=_0x1453c3,this[_0xa4a446(0x3b8)]=_0x2348dc;}[_0x40fc9b(0x34e)](_0x1831e4){const _0x5af261=_0x40fc9b;var _0xcb0b03;const _0x246cf0=this['_injector'][_0x5af261(0x2f2)](_0x4f8be8[_0x5af261(0x2b2)]),_0x1b3366=(_0xcb0b03=_0x246cf0[_0x5af261(0x1e7)]())!=null?_0xcb0b03:[];if(_0x1b3366[_0x5af261(0x35c)]===0x0)return;const _0x5b4474=_0x1831e4[_0x5af261(0x1d7)],_0x4d1178=[{'id':_0x5af261(0x2fa),'params':{'unitId':_0x5b4474,'actions':null,'textRanges':_0x1b3366}}],_0x56432b=this[_0x5af261(0x3b8)][_0x5af261(0x229)](_0x1831e4,_0x4d1178);if(!_0x680f14[_0x5af261(0x277)](_0x56432b))throw _0x56432b[_0x5af261(0x111)];const _0x9a55a2=_0x56432b['m2Prime'][0x0][_0x5af261(0x1be)][_0x5af261(0x21e)];Array[_0x5af261(0x32e)](_0x9a55a2)&&_0x9a55a2[_0x5af261(0x35c)]&&_0x246cf0[_0x5af261(0x1d9)](_0x9a55a2,{'unitId':_0x5b4474,'subUnitId':_0x5b4474},!0x1);}};_0x37e093=_0x25be11([_0x242b9e(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x242b9e(0x1,_0x680f14[_0x40fc9b(0x2f1)])],_0x37e093);var _0x135a73=Object[_0x40fc9b(0x251)],_0x20aa9e=(_0x409788,_0x49b44f,_0x59a58f,_0x596156)=>{for(var _0xe6a9cf=_0x596156>0x1?void 0x0:_0x596156?_0x135a73(_0x49b44f,_0x59a58f):_0x49b44f,_0xd3779a=_0x409788['length']-0x1,_0x1fe32a;_0xd3779a>=0x0;_0xd3779a--)(_0x1fe32a=_0x409788[_0xd3779a])&&(_0xe6a9cf=_0x1fe32a(_0xe6a9cf)||_0xe6a9cf);return _0xe6a9cf;},_0x4b6230=(_0x43ccf2,_0x4f96ef)=>(_0x5aeab0,_0x4fee8f)=>_0x4f96ef(_0x5aeab0,_0x4fee8f,_0x43ccf2);let _0x5d3063=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x9c49d9,_0x52c0d0,_0x466a69,_0x131588,_0x1d323d,_0x4cfe5c,_0x4daae1,_0x2805f3){const _0x20f597=_0x40fc9b;super(),_0x166045(this,'_status$',new _0x172b9a[(_0x20f597(0x119))](_0x191332[_0x20f597(0x303)][_0x20f597(0x1fc)])),(this[_0x20f597(0x18b)]=_0x9c49d9,this[_0x20f597(0x2ba)]=_0x52c0d0,this[_0x20f597(0x27c)]=_0x466a69,this[_0x20f597(0x1eb)]=_0x131588,this['_docTransformSelectionsService']=_0x1d323d,this['_docSyncEditingCollabCursorService']=_0x4cfe5c,this[_0x20f597(0x375)]=_0x4daae1,this[_0x20f597(0x2cf)]=_0x2805f3,this[_0x20f597(0x1da)]());}[_0x40fc9b(0x1da)](){const _0x52996e=_0x40fc9b;this[_0x52996e(0x219)](this[_0x52996e(0x2ba)][_0x52996e(0x2f8)][_0x52996e(0x2a1)](_0x5f0469=>{const _0xebef28=_0x52996e,_0x1e9a75=this[_0xebef28(0x18b)]['docStateChange$'][_0xebef28(0x2a1)](_0x2c3465=>{const _0x579bee=_0xebef28;if(_0x2c3465==null)return;const {unitId:_0x540a9a,redoState:_0x34f198,commandId:_0x321b78}=_0x2c3465;if(_0x540a9a!==_0x5f0469['unitID'])return;const _0x52dfec={'id':_0x321b78,'type':_0x4680af[_0x579bee(0x205)][_0x579bee(0x218)],'params':{'unitId':_0x540a9a,'actions':_0x34f198[_0x579bee(0x156)],'textRanges':null}};_0x5f0469[_0x579bee(0x395)](_0x52dfec);});if(_0x5f0469[_0xebef28(0x219)](_0x1e9a75),_0x5f0469 instanceof _0x191332['DocCollaborationEntity']){const _0x58261c={'onTransformIME':_0x544145=>this[_0xebef28(0x27c)]['transformIMECache'](_0x544145),'onTransformState':_0x489764=>this[_0xebef28(0x1eb)][_0xebef28(0x2c5)](_0x489764),'onTransformSelections':_0x4ff60a=>this[_0xebef28(0x24f)][_0xebef28(0x34e)](_0x4ff60a),'onSyncEditingCollabCursor':_0x476588=>this['_docSyncEditingCollabCursorService'][_0xebef28(0x1e4)](_0x476588),'onTransformRemoteChangesetByIMECache':_0x2c5dd9=>this[_0xebef28(0x27c)][_0xebef28(0x276)](_0x2c5dd9),'onTransformRemoteChangesetByStateCache':_0x2080b5=>this[_0xebef28(0x1eb)]['transformRemoteChangeset'](_0x2080b5)};_0x5f0469[_0xebef28(0x2d5)](_0x58261c);}}));}};_0x5d3063=_0x20aa9e([_0x4b6230(0x0,_0x4680af['Inject'](_0x55f3bb[_0x40fc9b(0x2b0)])),_0x4b6230(0x1,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x4b6230(0x2,_0x4680af[_0x40fc9b(0x203)](_0x22ee97)),_0x4b6230(0x3,_0x4680af['Inject'](_0xb3d4fd)),_0x4b6230(0x4,_0x4680af[_0x40fc9b(0x203)](_0x37e093)),_0x4b6230(0x5,_0x4680af['Inject'](_0x5ac381)),_0x4b6230(0x6,_0x38a45b['IMessageService']),_0x4b6230(0x7,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2ec)]))],_0x5d3063);var _0x40f27c=(_0x53b353=>(_0x53b353[_0x53b353[_0x40fc9b(0x21f)]=0x0]='UNDEFINED',_0x53b353[_0x53b353['OK']=0x1]='OK',_0x53b353[_0x53b353[_0x40fc9b(0x37a)]=0x2]=_0x40fc9b(0x37a),_0x53b353[_0x53b353[_0x40fc9b(0x1df)]=0x3]=_0x40fc9b(0x1df),_0x53b353[_0x53b353[_0x40fc9b(0x2f5)]=0x4]=_0x40fc9b(0x2f5),_0x53b353[_0x53b353[_0x40fc9b(0x1ab)]=0x5]=_0x40fc9b(0x1ab),_0x53b353[_0x53b353[_0x40fc9b(0x24c)]=0x6]=_0x40fc9b(0x24c),_0x53b353[_0x53b353[_0x40fc9b(0x221)]=0x7]=_0x40fc9b(0x221),_0x53b353[_0x53b353[_0x40fc9b(0x235)]=0x8]=_0x40fc9b(0x235),_0x53b353[_0x53b353['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x53b353[_0x53b353[_0x40fc9b(0x1c1)]=0xa]=_0x40fc9b(0x1c1),_0x53b353[_0x53b353[_0x40fc9b(0x399)]=0xb]=_0x40fc9b(0x399),_0x53b353[_0x53b353[_0x40fc9b(0x308)]=0xc]=_0x40fc9b(0x308),_0x53b353[_0x53b353[_0x40fc9b(0x14b)]=0xd]=_0x40fc9b(0x14b),_0x53b353[_0x53b353[_0x40fc9b(0x103)]=0xe]=_0x40fc9b(0x103),_0x53b353[_0x53b353[_0x40fc9b(0x1f7)]=0xf]=_0x40fc9b(0x1f7),_0x53b353[_0x53b353['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x53b353[_0x53b353[_0x40fc9b(0x2d6)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x53b353[_0x53b353[_0x40fc9b(0x1d0)]=0x65]=_0x40fc9b(0x1d0),_0x53b353[_0x53b353[_0x40fc9b(0x1fa)]=0xc9]=_0x40fc9b(0x1fa),_0x53b353[_0x53b353['USER_IS_ANONYMOUS']=0xca]=_0x40fc9b(0x135),_0x53b353[_0x53b353[_0x40fc9b(0x11f)]=0x1389]=_0x40fc9b(0x11f),_0x53b353[_0x53b353['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x53b353[_0x53b353[_0x40fc9b(0x31f)]=0x1772]=_0x40fc9b(0x31f),_0x53b353[_0x53b353[_0x40fc9b(0x2d7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53b353[_0x53b353['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x53b353[_0x53b353['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x40fc9b(0x39d),_0x53b353[_0x53b353[_0x40fc9b(0x14d)]=0x1b5b]=_0x40fc9b(0x14d),_0x53b353[_0x53b353[_0x40fc9b(0x374)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x53b353[_0x53b353[_0x40fc9b(0x154)]=0x1b5d]='APPLY_DUPLICATED',_0x53b353[_0x53b353[_0x40fc9b(0x2b6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53b353[_0x53b353[_0x40fc9b(0x290)]=0x2329]=_0x40fc9b(0x290),_0x53b353[_0x53b353['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53b353[_0x53b353[_0x40fc9b(0x24a)]=0x232b]=_0x40fc9b(0x24a),_0x53b353[_0x53b353['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40fc9b(0x13e),_0x53b353[_0x53b353['LICENSE_DISTRO_REJECTED']=0x232d]=_0x40fc9b(0x355),_0x53b353[_0x53b353[_0x40fc9b(0x3af)]=0x2711]=_0x40fc9b(0x3af),_0x53b353[_0x53b353['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40fc9b(0x1b6),_0x53b353[_0x53b353[_0x40fc9b(0x233)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53b353[_0x53b353[_0x40fc9b(0x312)]=0x2714]=_0x40fc9b(0x312),_0x53b353[_0x53b353['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x40fc9b(0x125),_0x53b353[_0x53b353['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x40fc9b(0x348),_0x53b353[_0x53b353[_0x40fc9b(0x217)]=0x271c]=_0x40fc9b(0x217),_0x53b353[_0x53b353['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x53b353[_0x53b353[_0x40fc9b(0x318)]=0x271e]=_0x40fc9b(0x318),_0x53b353[_0x53b353['YUUMI_AI_RUN_FAILED']=0x271f]=_0x40fc9b(0x108),_0x53b353[_0x53b353['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x40fc9b(0x12c),_0x53b353[_0x53b353[_0x40fc9b(0x338)]=0x2af9]=_0x40fc9b(0x338),_0x53b353[_0x53b353[_0x40fc9b(0x2e5)]=0x2ee1]=_0x40fc9b(0x2e5),_0x53b353[_0x53b353[_0x40fc9b(0x377)]=0x2ee2]=_0x40fc9b(0x377),_0x53b353[_0x53b353['INVITE_CODE_REQUIRED']=0x2ee3]=_0x40fc9b(0x2d2),_0x53b353[_0x53b353[_0x40fc9b(0x2b1)]=0x2ee4]=_0x40fc9b(0x2b1),_0x53b353[_0x53b353[_0x40fc9b(0x29a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53b353[_0x53b353[_0x40fc9b(0x14f)]=0x32c9]=_0x40fc9b(0x14f),_0x53b353[_0x53b353[_0x40fc9b(0x134)]=0x32ca]=_0x40fc9b(0x134),_0x53b353[_0x53b353[_0x40fc9b(0x1d6)]=0x32cb]=_0x40fc9b(0x1d6),_0x53b353[_0x53b353[_0x40fc9b(0x220)]=0x36b1]=_0x40fc9b(0x220),_0x53b353[_0x53b353[_0x40fc9b(0x162)]=0x36b2]=_0x40fc9b(0x162),_0x53b353[_0x53b353['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x53b353[_0x53b353['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x40fc9b(0x36c),_0x53b353[_0x53b353[_0x40fc9b(0x12d)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x53b353[_0x53b353[_0x40fc9b(0x1d2)]=0x3716]=_0x40fc9b(0x1d2),_0x53b353[_0x53b353[_0x40fc9b(0x1fe)]=0x37dd]=_0x40fc9b(0x1fe),_0x53b353[_0x53b353[_0x40fc9b(0x341)]=0x3a99]=_0x40fc9b(0x341),_0x53b353[_0x53b353[_0x40fc9b(0x1cc)]=0x3a9a]=_0x40fc9b(0x1cc),_0x53b353[_0x53b353['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x40fc9b(0x33b),_0x53b353[_0x53b353[_0x40fc9b(0x140)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x53b353[_0x53b353[_0x40fc9b(0x164)]=0x3a9d]=_0x40fc9b(0x164),_0x53b353[_0x53b353['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x40fc9b(0x38c),_0x53b353[_0x53b353['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x53b353[_0x53b353['UNRECOGNIZED']=-0x1]=_0x40fc9b(0x1c5),_0x53b353))(_0x40f27c||{});function _0x22bd49(_0x857d01){const _0x1cca0f=_0x40fc9b;var _0x1568f7,_0x1106f0;const _0xcdf665=(_0x1568f7=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1568f7[_0x1cca0f(0x275)],_0x227f87=((_0x1106f0=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1106f0[_0x1cca0f(0x180)])||0x0;return _0xcdf665===_0x244a11[_0x1cca0f(0x177)][_0x1cca0f(0x346)]&&_0x227f87>0x0;}function _0x4a9bd7(_0x5e02e5){const _0x3fe796=_0x40fc9b;return _0x5e02e5[_0x3fe796(0x363)]===_0x244a11[_0x3fe796(0x1ca)]['SUCCESS'];}var _0x21a3e7=Object[_0x40fc9b(0x251)],_0x5468f4=(_0x3d8a32,_0x4e6064,_0x57f089,_0xab38f4)=>{const _0x26e17a=_0x40fc9b;for(var _0x4f619b=_0xab38f4>0x1?void 0x0:_0xab38f4?_0x21a3e7(_0x4e6064,_0x57f089):_0x4e6064,_0x58b643=_0x3d8a32[_0x26e17a(0x35c)]-0x1,_0x4ab89c;_0x58b643>=0x0;_0x58b643--)(_0x4ab89c=_0x3d8a32[_0x58b643])&&(_0x4f619b=_0x4ab89c(_0x4f619b)||_0x4f619b);return _0x4f619b;},_0x776d12=(_0xad9246,_0x5854af)=>(_0x15993c,_0x3ce381)=>_0x5854af(_0x15993c,_0x3ce381,_0xad9246);const _0x59dfe1=_0x40fc9b(0x2fc),_0x353414=_0x40fc9b(0x2c0),_0xde68e7='/universer-api/license/formula/limit/done';let _0x3405d6=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x4d3aa2,_0x5d0e8d,_0x177edc,_0x1854d4,_0x31e776,_0x189474,_0x3bdb59){const _0x5e91f0=_0x40fc9b;super(),_0x166045(this,'_pollingInterval',null),_0x166045(this,_0x5e91f0(0x257),0x0),_0x166045(this,_0x5e91f0(0x38a),0x0),_0x166045(this,_0x5e91f0(0x173),[]),_0x166045(this,_0x5e91f0(0x1f1),0x0),(this[_0x5e91f0(0x375)]=_0x4d3aa2,this[_0x5e91f0(0x35e)]=_0x5d0e8d,this[_0x5e91f0(0x2e8)]=_0x177edc,this[_0x5e91f0(0x15a)]=_0x1854d4,this['_univerInstanceService']=_0x31e776,this[_0x5e91f0(0x105)]=_0x189474,this[_0x5e91f0(0x2cf)]=_0x3bdb59,this[_0x5e91f0(0x1b5)]());}[_0x40fc9b(0x1b5)](){const _0x3fb61a=_0x40fc9b;this[_0x3fb61a(0x219)](this[_0x3fb61a(0x35e)]['beforeCommandExecuted']((_0x447905,_0x125bb5)=>{const _0x55e643=_0x3fb61a;if(_0x447905['id']!==_0x244a11['SetFormulaCalculationStartMutation']['id'])return;const _0x1c2147=_0x447905[_0x55e643(0x1be)];if(!this[_0x55e643(0x253)](_0x1c2147[_0x55e643(0x3b6)]))return;if(!this[_0x55e643(0x1b9)]())throw this[_0x55e643(0x247)](_0x447905,_0x125bb5),this[_0x55e643(0x25b)](),new _0x4680af[(_0x55e643(0x226))]();})),this[_0x3fb61a(0x219)](this['_commandService']['onCommandExecuted']((_0x1f393d,_0x1a10bc)=>{const _0xd10fc3=_0x3fb61a;if(_0x1f393d['id']!==_0x244a11[_0xd10fc3(0x288)]['id'])return;const _0x3d7174=_0x1f393d[_0xd10fc3(0x1be)];if(_0x22bd49(_0x3d7174)){const _0x5e60c7=_0x4680af['generateRandomId']();this[_0xd10fc3(0x173)][_0xd10fc3(0x2c3)](_0x5e60c7),this[_0xd10fc3(0x271)](_0x5e60c7);}else{if(_0x4a9bd7(_0x3d7174)&&this[_0xd10fc3(0x173)]['length']>0x0){const _0x444b4d=this[_0xd10fc3(0x173)][_0xd10fc3(0x398)]();this[_0xd10fc3(0x2ee)](_0x444b4d);}}}));}['dispose'](){const _0x4ef3a9=_0x40fc9b;super['dispose'](),this[_0x4ef3a9(0x254)](),this['_taskIds']=[],this[_0x4ef3a9(0x38a)]=0x0,this[_0x4ef3a9(0x257)]=0x0,this[_0x4ef3a9(0x1f1)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x161ee3,_0x1acde9){const _0x334c9b=_0x40fc9b;for(let _0x387194=0x0;_0x387194<0x1e;_0x387194++)try{if(await this[_0x334c9b(0x246)](),this[_0x334c9b(0x1b9)]()){this['_applyCommand'](_0x161ee3,_0x1acde9),this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t'](_0x334c9b(0x26f)),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x22e)]});return;}await new Promise(_0x58593c=>{const _0x473b60=_0x334c9b;this[_0x473b60(0x178)]=window[_0x473b60(0x11a)](_0x58593c,0x3e8);});}catch(_0x46d330){this[_0x334c9b(0x105)][_0x334c9b(0x111)](_0x46d330);}this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t']('formula.calculation.unable'),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x1d8)]});}[_0x40fc9b(0x216)](_0x143927,_0x42c95e){const _0x28981c=_0x40fc9b;try{this[_0x28981c(0x35e)][_0x28981c(0x1c0)](_0x143927['id'],_0x143927[_0x28981c(0x1be)],_0x42c95e);}catch(_0x163234){this['_logService'][_0x28981c(0x111)](_0x163234);}}[_0x40fc9b(0x2c2)](_0xc189d,_0x332ccd){const _0x17fd0f=_0x40fc9b;_0x332ccd<this[_0x17fd0f(0x1f1)]||(this['_lastResponseTimestamp']=_0x332ccd,this[_0x17fd0f(0x257)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x2ac)]),this[_0x17fd0f(0x38a)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x36e)]));}async['_startCalculationLimit'](_0x50f3fc){const _0x485ea6=_0x40fc9b;var _0x95cee0,_0x3dea73;const _0x42b1a6=Date[_0x485ea6(0x231)]();try{const _0x3dfbbf=((_0x95cee0=this[_0x485ea6(0x2e8)][_0x485ea6(0x339)](_0x191332['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x95cee0[_0x485ea6(0x1f6)])||_0x353414,_0xc182c2=(await this['_httpService']['post'](_0x3dfbbf,{'body':JSON['stringify']({'taskId':_0x50f3fc})}))[_0x485ea6(0x259)];if(((_0x3dea73=_0xc182c2['error'])==null?void 0x0:_0x3dea73['code'])!==_0x40f27c['OK'])return;this[_0x485ea6(0x2c2)](_0xc182c2[_0x485ea6(0x122)],_0x42b1a6);}catch(_0x50bd08){this[_0x485ea6(0x105)]['error'](_0x50bd08);}}async[_0x40fc9b(0x246)](_0x4dd2e2){const _0x4fef59=_0x40fc9b;var _0x21d734,_0x25bafc;const _0x3a657d=Date[_0x4fef59(0x231)]();try{const _0x30f784=((_0x21d734=this['_configService'][_0x4fef59(0x339)](_0x191332[_0x4fef59(0x310)]))==null?void 0x0:_0x21d734['getformulaLimitStatusUrl'])||_0x59dfe1,_0x2a3a04=_0x4dd2e2?_0x30f784+_0x4fef59(0x185)+encodeURIComponent(_0x4dd2e2):_0x30f784,_0x24e504=(await this[_0x4fef59(0x15a)]['get'](_0x2a3a04))[_0x4fef59(0x259)];if(((_0x25bafc=_0x24e504[_0x4fef59(0x111)])==null?void 0x0:_0x25bafc[_0x4fef59(0x397)])!==_0x40f27c['OK'])return;this[_0x4fef59(0x2c2)](_0x24e504[_0x4fef59(0x122)],_0x3a657d);}catch(_0x50752b){this[_0x4fef59(0x105)]['error'](_0x50752b);}}async[_0x40fc9b(0x2ee)](_0x70ff15){const _0x58f569=_0x40fc9b;var _0x185f10,_0x5c1996;const _0x247ddd=Date[_0x58f569(0x231)]();try{const _0x23dccb=((_0x185f10=this[_0x58f569(0x2e8)][_0x58f569(0x339)](_0x191332[_0x58f569(0x310)]))==null?void 0x0:_0x185f10[_0x58f569(0x129)])||_0xde68e7,_0x263123=(await this[_0x58f569(0x15a)][_0x58f569(0x143)](_0x23dccb,{'body':JSON[_0x58f569(0x27a)]({'taskId':_0x70ff15})}))[_0x58f569(0x259)];if(((_0x5c1996=_0x263123[_0x58f569(0x111)])==null?void 0x0:_0x5c1996['code'])!==_0x40f27c['OK'])return;this[_0x58f569(0x2c2)](_0x263123['limitInfo'],_0x247ddd);}catch(_0x22fef1){this[_0x58f569(0x105)][_0x58f569(0x111)](_0x22fef1);}}[_0x40fc9b(0x1b9)](){const _0x2ac0f9=_0x40fc9b;return this[_0x2ac0f9(0x257)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2ac0f9(0x38a)]>0x0;}[_0x40fc9b(0x254)](){const _0x4917b4=_0x40fc9b;this[_0x4917b4(0x178)]&&(clearTimeout(this['_pollingInterval']),this[_0x4917b4(0x178)]=null);}['_showGuardMessage'](){const _0x3e4777=_0x40fc9b;this[_0x3e4777(0x375)][_0x3e4777(0x1b4)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x42eb8c['MessageType'][_0x3e4777(0x349)]});}[_0x40fc9b(0x253)](_0x399a8d){const _0x4deee6=_0x40fc9b;for(const _0x268447 of _0x399a8d){const {unitId:_0x4fc03e,sheetId:_0x3c0923,range:_0x2b5074}=_0x268447,_0x4b4a7a=this[_0x4deee6(0x20b)]['getUnit'](_0x4fc03e);if(!_0x4b4a7a)continue;const _0x3c4033=_0x4b4a7a['getSheetBySheetId'](_0x3c0923);if(!_0x3c4033)continue;const _0x3433c5=_0x3c4033[_0x4deee6(0x378)]();for(let _0x16ca8c=_0x2b5074['startRow'];_0x16ca8c<=_0x2b5074[_0x4deee6(0x3b5)];_0x16ca8c++)for(let _0x1378c0=_0x2b5074[_0x4deee6(0x333)];_0x1378c0<=_0x2b5074[_0x4deee6(0x2a4)];_0x1378c0++){const _0x52248e=_0x3433c5[_0x4deee6(0x38e)](_0x16ca8c,_0x1378c0);if(_0x52248e&&(_0x4680af[_0x4deee6(0x22a)](_0x52248e['f'])||_0x4680af[_0x4deee6(0x200)](_0x52248e['si'])))return!0x0;}}return!0x1;}};_0x3405d6=_0x5468f4([_0x776d12(0x0,_0x4680af[_0x40fc9b(0x203)](_0x38a45b['IMessageService'])),_0x776d12(0x1,_0x4680af['ICommandService']),_0x776d12(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x776d12(0x3,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x776d12(0x4,_0x4680af[_0x40fc9b(0x326)]),_0x776d12(0x5,_0x4680af['ILogService']),_0x776d12(0x6,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x3405d6);var _0x4ca121=Object['getOwnPropertyDescriptor'],_0x26e4b7=(_0x48736a,_0x99e8a5,_0x311d72,_0x2a60ed)=>{for(var _0xab4b0a=_0x2a60ed>0x1?void 0x0:_0x2a60ed?_0x4ca121(_0x99e8a5,_0x311d72):_0x99e8a5,_0x289a4c=_0x48736a['length']-0x1,_0x22d0f5;_0x289a4c>=0x0;_0x289a4c--)(_0x22d0f5=_0x48736a[_0x289a4c])&&(_0xab4b0a=_0x22d0f5(_0xab4b0a)||_0xab4b0a);return _0xab4b0a;},_0x48dd70=(_0x35b7d7,_0x5c2ff5)=>(_0x469710,_0x2cf5b4)=>_0x5c2ff5(_0x469710,_0x2cf5b4,_0x35b7d7);let _0x7ca7a4=class extends _0x4680af['Disposable']{constructor(_0x48caf2,_0x422457,_0x2bf18d){const _0x5d98e3=_0x40fc9b;super(),_0x166045(this,'_cachedData',new Map()),_0x166045(this,_0x5d98e3(0x237),new Map()),_0x166045(this,_0x5d98e3(0x202),!0x1),(this[_0x5d98e3(0x2e8)]=_0x48caf2,this[_0x5d98e3(0x1d1)]=_0x422457,this[_0x5d98e3(0x189)]=_0x2bf18d);}[_0x40fc9b(0x2bd)](){const _0x5eaf9e=_0x40fc9b;this[_0x5eaf9e(0x202)]=!0x0;}[_0x40fc9b(0x15e)](){const _0x1cf43d=_0x40fc9b;this[_0x1cf43d(0x202)]=!0x1;}get[_0x40fc9b(0x2d3)](){return this['_saveTaskMap'];}[_0x40fc9b(0x250)](){const _0x1f2747=_0x40fc9b;this[_0x1f2747(0x18d)]()[_0x1f2747(0x34f)](()=>super[_0x1f2747(0x250)]());}async['loadOfflineData'](_0x317050){const _0x3bbe3b=_0x40fc9b;return this['_disabled']?null:this[_0x3bbe3b(0x1d1)]['getItem'](_0x191332[_0x3bbe3b(0x244)](_0x317050));}async[_0x40fc9b(0x10e)](_0x3fc197,_0x583543){const _0x19425d=_0x40fc9b;return!!this[_0x19425d(0x1d1)][_0x19425d(0x370)](_0x3fc197,_0x583543);}['updateOfflineData'](_0x556250,_0x29395f,_0x1f60fb,_0xe6b01e){const _0xdb6669=_0x40fc9b,_0x433d8f=this[_0xdb6669(0x189)][_0xdb6669(0x25a)](_0x556250);this[_0xdb6669(0x26a)][_0xdb6669(0x210)](_0x556250,{'unitID':_0x556250,'type':_0x29395f,'awaitingChangeset':_0x1f60fb,'mutations':_0xe6b01e,'rev':_0x433d8f}),this[_0xdb6669(0x237)]['has'](_0x556250)||this[_0xdb6669(0x34d)](_0x556250);}[_0x40fc9b(0x34d)](_0x39f04c){const _0x4330df=_0x40fc9b,_0xa87973=this[_0x4330df(0x315)]();_0xa87973===0x0?this['_saveCache'](_0x39f04c):this['_saveTaskMap']['set'](_0x39f04c,setTimeout(()=>this[_0x4330df(0x30e)](_0x39f04c),_0xa87973));}[_0x40fc9b(0x315)](){const _0x2c71d2=_0x40fc9b;var _0x21e909;return(_0x21e909=this[_0x2c71d2(0x2e8)]['getConfig'](_0x191332['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x21e909:_0x191332[_0x2c71d2(0x11d)];}[_0x40fc9b(0x30e)](_0x459352){const _0x498f36=_0x40fc9b,_0x30dd62=this[_0x498f36(0x237)][_0x498f36(0x2f2)](_0x459352);return _0x30dd62!==void 0x0&&window[_0x498f36(0x3a4)](_0x30dd62),this[_0x498f36(0x1d1)][_0x498f36(0x370)](_0x191332['getLocalCacheKey'](_0x459352),this[_0x498f36(0x26a)]['get'](_0x459352))['then'](()=>this[_0x498f36(0x237)][_0x498f36(0x329)](_0x459352));}async[_0x40fc9b(0x18d)](){const _0x370b0f=_0x40fc9b,_0xa7a2f8=[];this['_saveTaskMap'][_0x370b0f(0x1a5)]((_0x43fe28,_0x28a852)=>{const _0x458be6=_0x370b0f;window[_0x458be6(0x3a4)](_0x43fe28),_0xa7a2f8[_0x458be6(0x2c3)](this[_0x458be6(0x30e)](_0x28a852)[_0x458be6(0x34f)](()=>{const _0x5300ce=_0x458be6;this[_0x5300ce(0x237)][_0x5300ce(0x329)](_0x28a852);}));}),await Promise['all'](_0xa7a2f8);}};_0x7ca7a4=_0x26e4b7([_0x48dd70(0x0,_0x4680af['IConfigService']),_0x48dd70(0x1,_0x4680af[_0x40fc9b(0x239)]),_0x48dd70(0x2,_0x4680af[_0x40fc9b(0x203)](_0x680f14[_0x40fc9b(0x13f)]))],_0x7ca7a4);class _0x35e70f extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(){const _0x2910da=_0x40fc9b;super(),_0x166045(this,'urlChange$'),this['urlChange$']=_0x172b9a[_0x2910da(0x273)](window,_0x2910da(0x2c8))['pipe'](_0x172b9a[_0x2910da(0x385)](this[_0x2910da(0x2cb)]),_0x172b9a['shareReplay'](0x1),_0x172b9a[_0x2910da(0x17d)](void 0x0));}['setParam'](_0x776fe4,_0x69c353,_0x59f2f1=!0x1){const _0x2b7484=_0x40fc9b,_0x918c89=new URL(window[_0x2b7484(0x11b)][_0x2b7484(0x32a)]);_0x918c89[_0x2b7484(0x34b)][_0x2b7484(0x210)](_0x776fe4,_0x69c353),_0x59f2f1?window[_0x2b7484(0x1aa)]['replaceState']('','',_0x918c89[_0x2b7484(0x327)]()):window[_0x2b7484(0x1aa)][_0x2b7484(0x2eb)]('','',_0x918c89[_0x2b7484(0x327)]());}[_0x40fc9b(0x10f)](_0x4b8ee0,_0x2cf9a7=!0x1){const _0x23fe0b=_0x40fc9b,_0xe07ddf=new URL(window[_0x23fe0b(0x11b)]['href']);_0xe07ddf[_0x23fe0b(0x34b)][_0x23fe0b(0x329)](_0x4b8ee0),_0x2cf9a7?window[_0x23fe0b(0x1aa)]['replaceState']('','',_0xe07ddf[_0x23fe0b(0x327)]()):window['history'][_0x23fe0b(0x2eb)]('','',_0xe07ddf['toString']());}['getParam'](_0xcc0e33){const _0x4e2728=_0x40fc9b;var _0x3d5ffb;return(_0x3d5ffb=new URL(window[_0x4e2728(0x11b)][_0x4e2728(0x32a)])[_0x4e2728(0x34b)][_0x4e2728(0x2f2)](_0xcc0e33))!=null?_0x3d5ffb:void 0x0;}}var _0x58e980=Object[_0x40fc9b(0x37e)],_0x254e38=Object['getOwnPropertyDescriptor'],_0x536de7=(_0x545687,_0x248a7d,_0x522764)=>_0x248a7d in _0x545687?_0x58e980(_0x545687,_0x248a7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x522764}):_0x545687[_0x248a7d]=_0x522764,_0x183eb3=(_0x4470a3,_0xdf31da,_0x69bc0a,_0x410f1d)=>{for(var _0x5742f4=_0x410f1d>0x1?void 0x0:_0x410f1d?_0x254e38(_0xdf31da,_0x69bc0a):_0xdf31da,_0x2fedf7=_0x4470a3['length']-0x1,_0x24dd5b;_0x2fedf7>=0x0;_0x2fedf7--)(_0x24dd5b=_0x4470a3[_0x2fedf7])&&(_0x5742f4=_0x24dd5b(_0x5742f4)||_0x5742f4);return _0x5742f4;},_0xc4f0d1=(_0x4ae94,_0x169818)=>(_0x24bef9,_0x163540)=>_0x169818(_0x24bef9,_0x163540,_0x4ae94),_0x54635e=(_0xc6263c,_0x24db26,_0x5eda75)=>_0x536de7(_0xc6263c,_0x24db26+'',_0x5eda75);const _0x2bce8d=_0x40fc9b(0x130);_0x3b6773[_0x40fc9b(0x126)]=class extends _0x4680af[_0x40fc9b(0x382)]{constructor(_0x12bbc4=_0x11ea6e,_0x262dec,_0x319906,_0x433d35){const _0x48a00f=_0x40fc9b;super(),this[_0x48a00f(0x13d)]=_0x12bbc4,this[_0x48a00f(0x14e)]=_0x262dec,this[_0x48a00f(0x101)]=_0x319906,this[_0x48a00f(0x2e8)]=_0x433d35;const {..._0x4ab840}=_0x4680af['merge']({},_0x11ea6e,this[_0x48a00f(0x13d)]);this['_configService']['setConfig'](_0x668921,_0x4ab840);}[_0x40fc9b(0x29e)](){const _0x4e3be4=_0x40fc9b;this[_0x4e3be4(0x2ef)](),this[_0x4e3be4(0x183)]();}[_0x40fc9b(0x3a0)](){const _0x6ccd7e=_0x40fc9b;this[_0x6ccd7e(0x207)]();}[_0x40fc9b(0x2ef)](){const _0x503fd3=_0x40fc9b;var _0x5d0f17;const _0x2b0198=[[_0x38773a],[_0x3405d6],[_0x37e093],[_0x22ee97],[_0xb3d4fd],[_0x5ac381],[_0x952001,{'useClass':_0x35e70f}],[_0xb226e0[_0x503fd3(0x110)],{'useClass':_0xb226e0[_0x503fd3(0x2f9)]}],[_0x191332[_0x503fd3(0x281)],{'useClass':_0x7ca7a4}],[_0x3b6773[_0x503fd3(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b8110],[_0x444da9],[_0x3b6773[_0x503fd3(0x2fb)]]];_0x4680af['registerDependencies'](this[_0x503fd3(0x101)],_0x4680af[_0x503fd3(0x176)](_0x2b0198,(_0x5d0f17=this['_config'])==null?void 0x0:_0x5d0f17['override']));}[_0x40fc9b(0x207)](){const _0x113ebc=_0x40fc9b;this[_0x113ebc(0x219)](this['_renderManagerService'][_0x113ebc(0x2a2)](_0x4680af['UniverInstanceType']['UNIVER_DOC'],[_0x5ec101])),this[_0x113ebc(0x219)](this[_0x113ebc(0x14e)]['registerRenderModule'](_0x4680af[_0x113ebc(0x376)][_0x113ebc(0x2f3)],[_0x433c42]));}[_0x40fc9b(0x183)](){const _0x4a829f=_0x40fc9b;_0x4680af[_0x4a829f(0x33c)](this[_0x4a829f(0x101)],[[_0x3b8110],[_0x3b6773[_0x4a829f(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b6773[_0x4a829f(0x2fb)]],[_0x3405d6]]);}},_0x54635e(_0x3b6773[_0x40fc9b(0x126)],_0x40fc9b(0x124),_0x2bce8d),_0x3b6773[_0x40fc9b(0x126)]=_0x183eb3([_0x4680af[_0x40fc9b(0x28d)](_0x191332[_0x40fc9b(0x372)]),_0xc4f0d1(0x1,_0x3d68e7[_0x40fc9b(0x379)]),_0xc4f0d1(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0xc4f0d1(0x3,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773[_0x40fc9b(0x126)]);var _0x500ed5=Object['getOwnPropertyDescriptor'],_0x3f2497=(_0x20d9fb,_0x112227,_0x4ee2aa,_0x360872)=>{const _0x3ee2d5=_0x40fc9b;for(var _0x361d6b=_0x360872>0x1?void 0x0:_0x360872?_0x500ed5(_0x112227,_0x4ee2aa):_0x112227,_0x3af070=_0x20d9fb[_0x3ee2d5(0x35c)]-0x1,_0x39d2ee;_0x3af070>=0x0;_0x3af070--)(_0x39d2ee=_0x20d9fb[_0x3af070])&&(_0x361d6b=_0x39d2ee(_0x361d6b)||_0x361d6b);return _0x361d6b;},_0x364d69=(_0x24bfb2,_0x464e0d)=>(_0x2e2668,_0x56dd11)=>_0x464e0d(_0x2e2668,_0x56dd11,_0x24bfb2);_0x3b6773[_0x40fc9b(0x1bf)]=class extends _0x191332[_0x40fc9b(0x362)]{constructor(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639){super(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639);}async[_0x40fc9b(0x367)](_0x3fde42){const _0x5e98b3=_0x40fc9b,_0x129c69=await this['_getSessionTicket'](),_0x329a9f=this[_0x5e98b3(0x20f)](_0x3fde42,_0x129c69);return this[_0x5e98b3(0x3ac)](_0x329a9f);}['_createSocketURL'](_0x3dd91b,_0x5a529e){const _0x3955e6=_0x40fc9b,_0x39a46f=typeof window>'u'?new URL(_0x3dd91b):new URL(_0x3dd91b,window[_0x3955e6(0x11b)]['origin']);_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)](_0x3955e6(0x181),_0x5a529e);const _0x1d9215=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3955e6(0x32c)]);return _0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))&&_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)]('runId',_0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))),_0x39a46f['toString']();}async[_0x40fc9b(0x1fb)](){const _0x42c2a1=_0x40fc9b;var _0x542d0f,_0x22b4c0,_0x3e8f09;const _0x3aec72=this[_0x42c2a1(0x2e8)][_0x42c2a1(0x339)](_0x191332[_0x42c2a1(0x310)]),_0x18ff3a=(_0x542d0f=_0x3aec72==null?void 0x0:_0x3aec72[_0x42c2a1(0x161)])!=null?_0x542d0f:_0x191332['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3e8f09=(_0x22b4c0=(await this['_httpService']['get'](_0x18ff3a,{'headers':{'Content-Type':'application/json'}}))[_0x42c2a1(0x259)])==null?void 0x0:_0x22b4c0['ticket'])!=null?_0x3e8f09:'';}},_0x3b6773[_0x40fc9b(0x1bf)]=_0x3f2497([_0x364d69(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x364d69(0x1,_0x4680af['Inject'](_0xb226e0['HTTPService'])),_0x364d69(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x364d69(0x3,_0x4680af[_0x40fc9b(0x3a9)]),_0x364d69(0x4,_0x680f14[_0x40fc9b(0x299)])],_0x3b6773[_0x40fc9b(0x1bf)]);var _0x2f8190=Object['getOwnPropertyDescriptor'],_0x279088=(_0x2a70f4,_0xb63cb8,_0x29972c,_0x42cf1a)=>{const _0x449cc0=_0x40fc9b;for(var _0x24d861=_0x42cf1a>0x1?void 0x0:_0x42cf1a?_0x2f8190(_0xb63cb8,_0x29972c):_0xb63cb8,_0x569529=_0x2a70f4[_0x449cc0(0x35c)]-0x1,_0xfcfa5b;_0x569529>=0x0;_0x569529--)(_0xfcfa5b=_0x2a70f4[_0x569529])&&(_0x24d861=_0xfcfa5b(_0x24d861)||_0x24d861);return _0x24d861;},_0x17ce48=(_0x3cb715,_0x58e498)=>(_0x3ea783,_0x506f67)=>_0x58e498(_0x3ea783,_0x506f67,_0x3cb715);_0x3b6773[_0x40fc9b(0x201)]=class extends _0x4680af['Disposable']{constructor(_0x393157,_0x54f9fb,_0x1b5607){const _0x2fdbd7=_0x40fc9b;super(),this['_instanceService']=_0x393157,this[_0x2fdbd7(0x15a)]=_0x54f9fb,this['_configService']=_0x1b5607;}async[_0x40fc9b(0x31b)](_0x47c1c8,_0x468b3b,_0x30009f,..._0x16fcdd){const _0x373de0=_0x40fc9b;var _0x475bd8,_0x1ac269,_0x2dace7,_0x3b3326;const _0x5f2847=this[_0x373de0(0x314)]['getFocusedUnit']();if(!_0x5f2847)throw new Error(_0x373de0(0x23a));const _0x54552f=((_0x475bd8=this[_0x373de0(0x2e8)]['getConfig'](_0x191332[_0x373de0(0x39b)]))!=null?_0x475bd8:_0x191332[_0x373de0(0x2e0)])+'/'+_0x47c1c8+'/run/'+_0x468b3b,_0x58bd98=new URL(window[_0x373de0(0x11b)]['href']),_0x43a458={'scriptId':_0x47c1c8,'runId':(_0x1ac269=_0x58bd98[_0x373de0(0x34b)][_0x373de0(0x2f2)]('runId'))!=null?_0x1ac269:'','function':_0x468b3b,'unitId':_0x5f2847[_0x373de0(0x386)](),'argsOfFunction':JSON[_0x373de0(0x27a)](_0x16fcdd),'invokeId':(_0x2dace7=_0x30009f['invokeId'])!=null?_0x2dace7:'','executionId':(_0x3b3326=_0x30009f['executionId'])!=null?_0x3b3326:''};try{const _0x2e6c07=await this[_0x373de0(0x15a)][_0x373de0(0x143)](_0x54552f,{'body':_0x43a458});return _0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)]&&_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)][_0x373de0(0x397)]!==_0x40f27c['OK']?_0x373de0(0x307):_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x11c)];}catch{return _0x373de0(0x307);}}},_0x3b6773['RemoteUniscriptService']=_0x279088([_0x17ce48(0x0,_0x4680af['IUniverInstanceService']),_0x17ce48(0x1,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x17ce48(0x2,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773['RemoteUniscriptService']);const _0x40ab1b=0x7530,_0x4826b7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x126ee4 extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x5adad2=_0x40fc9b;super(),_0x166045(this,_0x5adad2(0x138),_0x4680af[_0x5adad2(0x157)]()),_0x166045(this,_0x5adad2(0x25e),new Set()),_0x166045(this,'_unitOnClients',new Map()),_0x166045(this,_0x5adad2(0x1de),null),_0x166045(this,_0x5adad2(0x186),new Map()),_0x166045(this,'_unitStatus',new Map()),this[_0x5adad2(0x263)]();}[_0x40fc9b(0x250)](){const _0x486a5a=_0x40fc9b;super[_0x486a5a(0x250)](),this['_clearOtherTimers'][_0x486a5a(0x1a5)]((_0x1639db,_0x361464)=>this['_removeClearOtherTimer'](_0x361464)),this['_heartbeatTimer']&&window[_0x486a5a(0x208)](this[_0x486a5a(0x1de)]);}['getUnitStatus$'](_0x4553b4){return this['_ensureSubject'](_0x4553b4)['pipe'](_0x172b9a['distinctUntilChanged']());}[_0x40fc9b(0x1a0)](_0x4cea1b){const _0x887b8d=_0x40fc9b;this[_0x887b8d(0x25e)]['size']===0x0&&this[_0x887b8d(0x10a)](),this['_selfUnitIDs']['add'](_0x4cea1b),this[_0x887b8d(0x289)]({'type':0x0,'memberID':this[_0x887b8d(0x138)],'unitIDs':[_0x4cea1b],'isForwarded':!0x1});}['disposeUnit'](_0x113e8e){const _0xb40c94=_0x40fc9b;this[_0xb40c94(0x25e)]['delete'](_0x113e8e),this[_0xb40c94(0x25e)][_0xb40c94(0x174)]===0x0&&this['_heartbeatTimer']&&window[_0xb40c94(0x208)](this['_heartbeatTimer']);}[_0x40fc9b(0x263)](){const _0x47cdd5=_0x40fc9b;this[_0x47cdd5(0x219)](_0x4680af[_0x47cdd5(0x27e)](_0x172b9a['fromEvent'](window,_0x47cdd5(0x267))[_0x47cdd5(0x2a1)](_0x2c879e=>{const _0x5b4040=_0x47cdd5;if(_0x2c879e[_0x5b4040(0x15d)]!==_0x4826b7||!_0x2c879e[_0x5b4040(0x3a1)])return;const _0x410cd5=JSON['parse'](_0x2c879e[_0x5b4040(0x3a1)]);this[_0x5b4040(0x279)](_0x410cd5);}))),window[_0x47cdd5(0x304)](_0x47cdd5(0x1f2),()=>this[_0x47cdd5(0x289)]({'type':0x1,'memberID':this[_0x47cdd5(0x138)],'unitIDs':Array['from'](this[_0x47cdd5(0x25e)])}));}[_0x40fc9b(0x279)](_0x880653){const _0x2d446a=_0x40fc9b;switch(_0x880653['type']){case 0x0:this[_0x2d446a(0x2c4)](_0x880653);break;case 0x1:this[_0x2d446a(0x1d5)](_0x880653);break;case 0x2:this[_0x2d446a(0x2a0)](_0x880653);break;}}[_0x40fc9b(0x2c4)](_0x37fba5){const _0x432869=_0x40fc9b,{unitIDs:_0x57699d,memberID:_0x219bec,isForwarded:_0x2746be}=_0x37fba5;_0x57699d[_0x432869(0x1a5)](_0x504b07=>{const _0x14261b=_0x432869;if(!_0x2746be&&this[_0x14261b(0x1ef)]['has'](_0x504b07)&&this[_0x14261b(0x15c)](_0x504b07)[_0x14261b(0x1ae)](_0x191332[_0x14261b(0x3ab)][_0x14261b(0x305)]),!this[_0x14261b(0x1ef)][_0x14261b(0x393)](_0x504b07)||!this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)[_0x14261b(0x393)](_0x219bec)){const _0x93576a=this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)||new Set();_0x93576a['add'](_0x219bec),this['_unitOnClients']['set'](_0x504b07,_0x93576a),this[_0x14261b(0x13c)](_0x219bec);}}),_0x2746be||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x432869(0x25e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xbd81b3){const _0x29c277=_0x40fc9b;this['_removeClearOtherTimer'](_0xbd81b3);const _0x1ae465=window[_0x29c277(0x11a)](()=>{const _0x542f80=_0x29c277;this[_0x542f80(0x1ef)][_0x542f80(0x1a5)](_0x5974b1=>{const _0x7cb647=_0x542f80;_0x5974b1[_0x7cb647(0x329)](_0xbd81b3);});},_0x40ab1b*0x2);this[_0x29c277(0x186)][_0x29c277(0x210)](_0xbd81b3,_0x1ae465);}[_0x40fc9b(0x16f)](_0x5b6da1){const _0x26beab=_0x40fc9b;if(this['_clearOtherTimers'][_0x26beab(0x393)](_0x5b6da1)){const _0x5afa30=this[_0x26beab(0x186)]['get'](_0x5b6da1);_0x5afa30&&window['clearTimeout'](_0x5afa30),this['_clearOtherTimers'][_0x26beab(0x210)](_0x5b6da1,null);}}[_0x40fc9b(0x1d5)](_0x4d4ce5){const _0x352eb1=_0x40fc9b,{memberID:_0xe52ae1,unitIDs:_0x454b65}=_0x4d4ce5;_0x454b65[_0x352eb1(0x1a5)](_0x309a4b=>{const _0x4b6038=_0x352eb1;var _0x5935e4;const _0x888359=this[_0x4b6038(0x1ef)]['get'](_0x309a4b);_0x888359&&(_0x888359[_0x4b6038(0x329)](_0xe52ae1),(_0x5935e4=this['_ensureSubject'](_0x309a4b))==null||_0x5935e4['next'](_0x888359['size']===0x0?_0x191332[_0x4b6038(0x3ab)][_0x4b6038(0x187)]:_0x191332['UnitStatus'][_0x4b6038(0x305)]));}),this[_0x352eb1(0x16f)](_0xe52ae1);}['_handleHeartbeatEvent'](_0x578b4f){const _0x20dede=_0x40fc9b;this[_0x20dede(0x13c)](_0x578b4f[_0x20dede(0x3aa)]);}[_0x40fc9b(0x289)](_0x2f5d29){const _0x13bfe7=_0x40fc9b;localStorage[_0x13bfe7(0x370)](_0x4826b7,JSON[_0x13bfe7(0x27a)](_0x2f5d29));}[_0x40fc9b(0x10a)](){const _0x334be8=_0x40fc9b;this[_0x334be8(0x1de)]=window[_0x334be8(0x23f)](()=>{const _0x4f51ee=_0x334be8;this[_0x4f51ee(0x289)]({'type':0x2,'memberID':this[_0x4f51ee(0x138)]});},_0x40ab1b);}[_0x40fc9b(0x15c)](_0x2a8324){const _0x348cb3=_0x40fc9b;return this[_0x348cb3(0x2f4)]['has'](_0x2a8324)||this[_0x348cb3(0x2f4)]['set'](_0x2a8324,new _0x172b9a[(_0x348cb3(0x119))](_0x191332[_0x348cb3(0x3ab)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x348cb3(0x2f2)](_0x2a8324);}}_0x3b6773[_0x40fc9b(0x30a)]=_0x952001,_0x3b6773[_0x40fc9b(0x39c)]=_0x1576e2,_0x3b6773['WebBrowserSingleActiveUnitService']=_0x126ee4,_0x3b6773[_0x40fc9b(0x22f)]=_0x35e70f,Object[_0x40fc9b(0x37e)](_0x3b6773,Symbol['toStringTag'],{'value':_0x40fc9b(0x1dc)});}));function _0x2c9c(){const _0x124ba8=['_handleEvent','stringify','registerRefRange','_docTransformIMECacheService','_themeService','toDisposable','onMouseMove','getUnhiddenWorksheets','ILocalCacheService','_initEvent','m1Prime','collaboration.single-unit.warning','AWAITING_WITH_PENDING','black','_render','SetFormulaCalculationNotificationMutation','_send','getRenderById','getSkeleton','onPointerLeave$','DependentOn','DocIMEInputManagerService','rxjs/operators','LICENSE_MAX_UNITS_EXCEEDED','_collabCursorState$','send','getCurrent','collab-client.tooltip.reconnect','_cursorInfo$','_range','_startSheetCollabCursor','TEXT','ISnapshotServerService','INVITE_CODE_ALREADY_BOUND','_onRefRangeChange','_beforeCloseService','294562AcxauC','onStarting','merge','_handleHeartbeatEvent','subscribe','registerRenderModule','AWAITING','endColumn','InsertColCommandId','white','@univerjs/engine-formula','currentSkeleton$','closePath','_initCommandExecutedListener','isTransformMutationFailure','maxFormulaLimit','_shapes','off-line-icon_clip0_910_343','measureText','DocStateChangeManagerService','USER_NOT_INVITED_CODE','DocSelectionManagerService','transformByState','add','Workbook','CONNECTOR_DATA_TOO_LARGE','children','_status$','random','_collaborationController','JOIN_ROOM_FAILED','@univerjs/network','disableLocalCache','Injector','unsubscribe','/universer-api/license/formula/limit/start','row','_setFormulaLimitStatus','push','_handleJoinEvent','transformStateCache','NodePositionConvertToRectRange','range','popstate','_urlService','NodePositionConvertToCursor','dispose$','1em','IUIPartsService','getCoordByCell','_localeService','selections','_hovered','INVITE_CODE_REQUIRED','saveTaskMap','COLORS','addHandlerCallback','CURRENT_STATUS_CANNOT_OPERATE','ENSURE_SNAPSHOT_EXECUTION','evenodd','event$','roomMembers','_transformUndoRedoStack','SessionStatus','getMemberID','Shape','uni.network.url-service','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-rect-range-','setAlpha','[CollaborationDataLoaderController]','onCommandExecuted','INVITE_CODE_HAS_BEEN_UES','isActive','CONFLICT','_configService','cursorInfo$','_collabSessionService','pushState','LocaleService','ONLINE','_releaseCalculationLimit','_registerDependencies','RxDisposable','ITransformService','get','UNIVER_SHEET','_unitStatus','NOT_FOUND','split','PENDING','entityInit$','WebSocketService','doc.mutation.rich-text-editing','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','ranges','SYNCED','HTTPService','_initStatusComponent','on-line-icon_clip0_910_349','SetSelectionsOperation','CollaborationStatus','addEventListener','OTHER_CLIENTS_EDITING','VIEW_MAIN','Failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveDownCommandId','IURLService','_toggleOffline','onPointerEnter$','getViewport','_saveCache','_lastPointer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','top','YUUMI_SUBSCRIPTION_NOT_FOUND','getColor','_instanceService','_getSaveTimeout','serializeRangeWithSheet','deepClone','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','fillText','runOnServer','fillRule','deserializeRangeWithSheet','save','SNAPSHOT_HAS_BEEN_REMOVED','url(#on-line-icon_clip0_910_349)','stageInfo','min','handleInsertRow','HEADER_MENU','_handleHover','IUniverInstanceService','toString','UniverCore','delete','href','_setupSubUnitSync','search','_drawTextRange','isArray','_colorAssignService','getAncestorScale','INotificationService','debounce','startColumn','_memberService','addClipboardHook','m2Prime','redoState','PY_RUNTIME_SCRIPT_ERROR','getConfig','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_FULLY_REDEEMED','touchDependencies','session.will-retry','selection','_refreshCollabCursors','IConfigService','REDEMPTION_INVALID_CODE','_colorIndex','attrs','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','Unknown\x20user','START_CALCULATION','setUndoRedoMutationParamsCache','YUUMI_ASYNCIO_CANCELLED','Loading','M0\x200H16V16H0z','searchParams','includes','_scheduleSaving','transformSelections','then','hovered','requireSession','SheetSkeletonManagerService','colorChannel1','getActiveSheet','LICENSE_DISTRO_REJECTED','_labelPosition','createInstance','complete','handleDeleteRangeMoveLeft','CLOSE_ROOM','Subject','length','sheetID','_commandService','urlChange$','useRef','@univerjs/engine-render','CollaborationSocketService','functionsExecutedState','EffectRefRangId','tag','purple.300','createSocket','UniverDocs','getOffsetConfig','react','_textBubble','PAYMENT_CHANNEL_NOT_SUPPORT','Warning','currentUsage','_session','setItem','handleInsertRangeMoveDown','UniverCollaborationClientPlugin','handleMoveRange','APPLY_PERMISSION_DENIED','_messageService','UniverInstanceType','INVALID_INVITE_CODE','getCellMatrix','IRenderManagerService','INTERNAL_ERROR','findNodePositionByCharIndex','useDependency','transformMutation','defineProperty','operators','on-line-icon','sessionStatus$','Plugin','OFFLINE','univerjs-icon\x20univerjs-icon-','takeUntil','getUnitId','throttleTime','subunit','replace','_currentUsage','UniverDesign','REDEMPTION_USER_REDEEM_TIMES_EXCEED','2628zwjrSP','getValue','_transformPreviousActiveRange','UniverSheetsUi','110786RvhKSx','_roomMembers$','has','translate(.97)','onLocalMutation','xlink:href','code','shift','MOBILE_VERIFY_CODE_MISMATCH','Disposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetCollabCursorShape','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','_removeCollabCursors','onRendered','newValue','OffLineIcon','isEditing','clearTimeout','toRgbString','collab-text-anchor-','getParam','handleInsertCol','ILogService','memberID','UnitStatus','_doCreateSocket','fill','_color','YUUMI_UNABLE_LOAD_URL','from','UniverNetwork','CollaborationSessionService','transformIMECache','getFocusedUnit','endRow','dirtyRanges','SOCKET_FAILED_RETRY','_transformService','getCellPositionByOffset','USERS_LEAVE','blue.400','assign','_docClipboardService','setStateCache','_injector','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED','_logService','@univerjs-pro/collaboration','ICommandService','YUUMI_AI_RUN_FAILED','_sheetSkeletonManagerService','_scheduleHeartbeat','currentColor','subscribeEvent','_onCursorUpdate','saveOfflineData','removeParam','ISocketService','error','color','imageSourceType','univer-mr-2\x20univer-flex\x20univer-text-xl','_entities','collabCursorState$','UPDATE_CURSOR','connectInjector','BehaviorSubject','setTimeout','location','result','LOCAL_CACHE_INTERVAL','FromArray','CHANGESET_REVISION_CONFILICT','222354lNXCIc','IDocClipboardService','limitInfo','Vector2','pluginName','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientUIPlugin','DocSkeletonManagerService','_startDocCollabCursor','releaseFormulaLimitUrl','useObservable','setShapeProps','YUUMI_CONNECTOR_URL_NOT_FOUND','ENTITLE_CHAT_LIMIT_EXCEED','collaboration.closeRoom','UniverUi','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','type','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','loadUnit','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','ColorKit','height','_id','#FFF','switchMap','string','_scheduleClearOtherTimer','_config','LICENSE_EXPORT_SIZE_EXCEEDED','RevisionService','REDEMPTION_CODE_NOT_STARTED','SheetsSelectionsService','_updateLocalCursor','post','_name','round','runId','forwardRef','startRow','_hideTimer','triggerDblclick','EMAIL_VERIFY_CODE_MISMATCH','getCollabCursors$','APPLY_REVISION_CONFILICT','_renderManagerService','WECHAT_HAS_BEEN_BOUND','arc','Tools','resize','_cursorShapes','APPLY_DUPLICATED','RECT','actions','generateRandomId','getMergeData','mask','_httpService','moveTo','_ensureSubject','key','enableLocalCache','@univerjs/core','filter','wsSessionTicketUrl','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','url(#$1','REDEMPTION_USER_NOT_ELIGIBLE','collaboration-client.offline-data-not-saved','_drawAnchor','SetDocZoomRatioOperation','drawWith','_cursors','DisposableCollection','getMember','path','width','_uiPartsService','_removeClearOtherTimer','_getMergeRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','makeDirty','_taskIds','size','none','mergeOverrideWithDependencies','FormulaExecuteStageType','_pollingInterval','getTypeOfUnitAdded$','MessageType','getCurrentSelections','div','mapTo','hide','getSheetId','totalFormulasToCalculate','sessionTicket','Rectangle','_initDependencies','_collaborationUIEventService','?taskId=','_clearOtherTimers','NO_OTHER_CLIENTS_EDITING','defs','_revisionService','bottom','_docStateChangeManagerService','combineLatest','exhaustSavingTask','clsx','focused$','registerComponent','15JNaXwA','useCallback','_scene','displayName','UniverProCollaborationClientUi','debounceTime','DOC_RANGE_TYPE','_syncEditingCollabCursorService','_initResize','_anchorDot','cursorInfo','getColorFromTheme','fillStyle','undoState','symbol','editingUnit','startsWith','UNIVER_DOC','_anchor','RefRangeService','forEach','_localCacheService','51611jFFaTO','@univerjs/drawing','_online','history','UNAUTHENTICATED','http://www.w3.org/2000/svg','SUBMIT_CHANGESET_TIMEOUT','next','_notificationService','reconnect','_initStatusListener','transform','@univerjs/sheets-ui','show','_initCommandInterceptor','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','@univerjs/design','_checkCalculationAvailable','1225098IXPJkb','_toggleOnline','map','some','params','BrowserCollaborationSocketService','executeCommand','LOGIN_FAILED','with','values','activeSheet$','UNRECOGNIZED','unitId','_draw','collabStatus.fetchMiss','_hover','FormulaExecutedStateType','DeleteRangeMoveUpCommandId','REDEMPTION_CODE_INACTIVE','getSheetBySheetId','Tooltip','BuiltInUIPart','ERROR_AGAIN','_localStorageService','ENTITLE_REPORT_LIMIT_EXCEED','pipe','addObject','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','unitID','Error','replaceDocRanges','_initEntityListener','column','Module','CollaborationController','_heartbeatTimer','PERMISSION_DENIED','_docSkeleton','addObjects','_assignedColors','data','syncEditingCollabCursor','init','find','getDocRanges','UniverProCollaboration','asObservable','getActiveRange','_docTransformStateCacheService','_entityInit$','_context','_dataLoaderService','_unitOnClients','restore','_lastResponseTimestamp','unload','UniverSheets','...','collabStatus.synced','startFormulaLimitUrl','AUTHORIZE_CODE_ILLEGAL','permission.title','_updateSubUnitFromURLParams','USER_NOT_FOUND','_getSessionTicket','NOT_COLLAB','currentTheme$','ENTITLE_NEED_BILLING_ADDRESS','_updateCollabCursors','isFormulaId','RemoteUniscriptService','_disabled','Inject','_updateURLWithCurrentState','CommandType','_collabCursorController','_registerRenderDependencies','clearInterval','rxjs','getSheetObject','_univerInstanceService','whenReady','926370WUMaUL','assignAColorForMemberID','_createSocketURL','set','name','React','_docSkeletonManagerService','eventID','jsx','_applyCommand','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MUTATION','disposeWithMe','collabStatus.conflict','getUndoRedoMutationParamsCache','Rect','registerBeforeClose','textRanges','UNDEFINED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','INVALID_ARGUMENT','onTransformChange$','collab-text-range-','_getAnchorBounding','contains','CanceledError','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Optional','transformMutationsWithChangeset','isFormulaString','font','unshift','skeleton','Success','WebURLService','exports','now','source','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','TOO_MANY_REQUESTS','use','_saveTaskMap','_getSheetObject','ILocalStorageService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','roomMembers$','handleIRemoveRow','url(#off-line-icon_clip0_910_343)','setInterval','idSuffix','session.connection-failed','_backgroundColor','text','getLocalCacheKey','clipPath','_getFormulaLimitStatus','_checkAndWaitForCalculationPermission','MemberService','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','DesktopCollaborationStatusDisplayController','ALREADY_EXISTS','parseInt','mutations','_docTransformSelectionsService','dispose','getOwnPropertyDescriptor','SetWorksheetActivateCommand','_hasFormulaInDirtyRanges','_clearPolling','DataLoaderService','136XfKnNS','_maxFormulaLimit','onPointerMove$','body','getCurrentRevOfUnit','_showGuardMessage','unit','CollaborationUIEventId','_selfUnitIDs','TEXT_RANGE_LAYER_INDEX','getUniverSheetInstance','CollaborationEvent','svg','_init','ThemeService','_getScale','_cursor','storage','_imageIoService','_eventUnsubscribe','_cachedData','entries','_drawRectRange','RegularPolygon','green.600','formula.calculation.started','amd','_startCalculationLimit','beginPath','fromEvent','lineTo','stage','transformRemoteChangeset','isTransformMutationsWithChangesetSuccess','501PtBmBH'];_0x2c9c=function(){return _0x124ba8;};return _0x2c9c();}
|
|
1
|
+
function _0x28d7(){const _0x3e8daf=['ISocketService','_shapes','getUndoRedoMutationParamsCache','Workbook','UniverCollaborationClientPlugin','post','toRgbString','_colorIndex','_updateURLWithCurrentState','EffectRefRangId','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','min','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','BehaviorSubject','ticket','IMessageService','IRemoteInstanceService','collabStatus.syncing','OFFLINE','_beforeCloseService','_drawTextRange','collabCursorState$','IBeforeCloseService','arc','/run/','1101993CoydmQ','session.connection-failed','addObject','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','jsx','ranges','LocaleService','WebSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','createSocket','displayName','currentTheme$','_checkCalculationAvailable','currentUsage','_showGuardMessage','mergeOverrideWithDependencies','_getSessionTicket','startsWith','unsubscribe','SetTextSelectionsOperation','START_CALCULATION','ALREADY_EXISTS','_getFormulaLimitStatus','FETCH_MISS','registerRefRange','OTHER_CLIENT_EDITING','DependentOn','_collabSessionService','onPointerLeave$','isFormulaString','ITransformService','_logService','InsertColCommandId','_currentUsage','urlChange$','whenReady','mutations','React','_transformHistoryAndStateStack','_getSheetObject','_updateLocalCursor','310268jpMoPl','replace','_disabled','UniverProCollaborationClient','_cachedData','cursorInfo$','_assignedColors','collabStatus.notCollab','BuiltInUIPart','_scheduleClearOtherTimer','getColor','Tooltip','LOGIN_FAILED','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','totalFormulasToCalculate','width','fromEvent','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','saveOfflineData','_selfUnitIDs','object','_pollingInterval','@univerjs/ui','CollaborationController','HTTPService','setStateCache','InsertRangeMoveRightCommandId','_transformPreviousActiveRange','attrs','jiqing.500','_send','split','push','ThemeService','_createSocketURL','transform','rxjs/operators','LICENSE_IMPORT_SIZE_EXCEEDED','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/license/formula/limit/status','CURRENT_STATUS_CANNOT_OPERATE','getSheetBySheetId','150VtXhfQ','M0\x200H16V16H0z','_session','_getAnchorBounding','_lastPointer','InsertRowCommandId','subunit','contains','handleDeleteRangeMoveLeft','saveImage','off-line-icon','toString','_removeClearOtherTimer','_hovered','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','WECHAT_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','@univerjs-pro/collaboration-client','JOIN_ROOM_FAILED','MemberService','UNDEFINED','2uvbkeu','exhaustSavingTask','requireSession','_updateSubUnitFromURLParams','DATA_SOURCE_TOO_LARGE','fromEventSubject','height','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','runRefRangeMutations','onPointerMove$','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon','UNRECOGNIZED','@univerjs-pro/collaboration','_themeService','UniverProCollaborationClientUi','_initResize','_scheduleSaving','APPLY_REVISION_CONFILICT','range','PERMISSION_DENIED','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','then','m2Prime','startColumn','HEADER_MENU','_drawAnchor','MUTATION','YUUMI_URL_COL_OUT_OF_RANGE','size','getCurrent','_handleHeartbeatEvent','getCoordByCell','rxjs','onStarting','RichTextEditingMutation','getSkeleton','BrowserCollaborationSocketService','evenodd','lineTo','MOBILE_VERIFY_CODE_MISMATCH','_httpService','NOT_COLLAB','subscribeEvent','transformRemoteChangeset','ILogService','sheetID','CHANGESET_REVISION_CONFILICT','getValue','Optional','_urlService','assignAColorForMemberID','subscribe','green.600','shift','3069300NdYrJe','resize','UniverDesign','_cursor','USER_IS_ANONYMOUS','restore','clipPath','Subject','getItem','CollaborationSessionService','runId','LOGIN_TOKEN_PROCESSING_FAILED','transformByState','hovered','_entities','assign','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','path','_docTransformIMECacheService','debug','UniverEngineRender','triggerDblclick','_initStatusListener','getTypeOfUnitDisposed$','_handleEvent','IConfigService','invokeId','trim','from','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformSelectionsService','_unitStatus','body','INVITE_CODE_REQUIRED','PY_RUNTIME_SCRIPT_ERROR','getActiveSheet','fillRule','stageInfo','addClipboardHook','SOCKET_FAILED_RETRY','sessionStatus$','onLocalMutation','isTransformMutationFailure','_notificationService','CONNECTOR_DATA_TOO_LARGE','beginPath','getMember','show','UniverCollaborationClientUIPlugin','_handleJoinEvent','Inject','_online','_releaseCalculationLimit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','transformStateCache','IURLService','_transformService','set','_localStorageService','serializeRangeWithSheet','name','onMouseMove','add','fillStyle','_saveCache','getCollabEntity$','collab-text-range-','findNodePositionByCharIndex','hide','@univerjs/docs-ui','ISnapshotServerService','SetFormulaCalculationNotificationMutation','289377pnKqta','executionId','rgba(255,\x20255,\x20255,\x200.01)','saveTaskMap','_color','getMemberID','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','type','SheetCollabCursorShape','clearInterval','useObservable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationUIEventId','@univerjs/engine-formula','deserializeRangeWithSheet','engine','length','_id','_anchorDot','_onCursorDelete','DeleteRangeMoveUpCommandId','selection','setAlpha','_getScale','_hideTimer','stage','UniverDrawing','SOCKET_FAILED','_lastResponseTimestamp','_maxFormulaLimit','replaceState','_clearPolling','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','1em','setItem','_initCommandInterceptor','session.collaboration-timeout','INVALID_INVITE_CODE','Failed','get','Warning','cursorInfo','_collaborationController','getAncestorScale','0\x200\x2017\x2016','REDEMPTION_INVALID_CODE','getUnit','ENTITLE_REPORT_LIMIT_EXCEED','_setupSubUnitSync','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','createInstance','pushState','purple.300','getLocalCacheKey','USERS_LEAVE','INTERNAL_ERROR','_uiPartsService','unitId','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitStatus$','fillText','transformMutationsWithChangeset','skeleton','_textBubble','_startDocCollabCursor','merge','focused$','NOT_FOUND','url(#$1','beforeCommandExecuted','defIds','location','_instanceService','collaboration.closeRoom','reconnect','ENTITLE_INSUFFICIENT_QUOTA','registerComponent','getRangePointData','search','_hover','AWAITING','endRow','operators','data','UPDATE_CURSOR','RxDisposable','isTransformMutationsWithChangesetSuccess','_context','formula.calculation.unable','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_initStatusComponent','values','DocCollaborationEntity','addHandlerCallback','ERROR_AGAIN','source','bottom','_collabCursorState$','url(#on-line-icon_clip0_910_349)','_initEntityListener','_univerInstanceService','wsSessionTicketUrl','uni.network.url-service','@univerjs/docs','pipe','IUIPartsService','_init','textRanges','backgroundColor','key','onTransformChange$','REDEMPTION_CODE_FULLY_REDEEMED','_clearOtherTimers','setTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','setShapeProps','closePath','none','_cursorShapes','event$','useRef','formula.calculation.waiting','DocIMEInputManagerService','ONLINE','getRenderById','releaseFormulaLimitUrl','unload','_docSyncEditingCollabCursorService','_ensureSubject','getSheetObject','dispose','toStringTag','setConfig','ColorKit','unshift','syncEditingCollabCursor','IDocClipboardService','updateOfflineData','SYNCED','popstate','transformIMECache','10NQgIez','_labelPosition','RemoteUniscriptService','CollaborationDataLoaderController','maxFormulaLimit','IRenderManagerService','200qErjVZ','shareReplay','_draw','?taskId=','_handleHover','with','_onCursorUpdate','_render','Rectangle','setInterval','_name','generateRandomId','_scene','entries','_document','getCellPositionByOffset','string','_saveTaskMap','setActiveRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEvent','CollaborationEvent','round','complete','getActiveRange','_memberService','getMergeData','executeCommand','_config','MessageType','getViewport','takeUntil','FormulaExecuteStageType','YUUMI_AI_RUN_FAILED','Rect','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','pluginName','undoState','children','disposeUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localCacheService','YUUMI_ASYNCIO_CANCELLED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawRectRange','747315ESkJlq','SetWorksheetActivateCommand','_revisionService','isActive','Success','_docStateChangeManagerService','docStateChange$','code','measureText','registerDependencies','CommandType','blue.400','INVALID_ARGUMENT','includes','DeleteRangeMoveLeftCommandId','save','application/json','CollaborationSocketService','getUnitId','_startSheetCollabCursor','sessionTicket','getColorFromTheme','history','_range','drawWith','EMAIL_VERIFY_CODE_MISMATCH','_backgroundColor','_getMergeRange','Vector2','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','throttleTime','text','debounceTime','RegularPolygon','tag','SetFormulaCalculationStartMutation','translate(.97)','Disposable','_scheduleHeartbeat','ICommandService','selections','_refRangeService','getCollabCursors$','onRendered','onCommandExecuted','now','CanceledError','[CollaborationDataLoaderController]','_collaborationUIEventService','UniverSheets','stringify','current','div','some','APPLY_REJECT','black','Injector','NodePositionConvertToRectRange','map','UNIVER_DOC','Error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','parse','CLOSE_ROOM','colorChannel1','@univerjs/sheets-ui','@univerjs/design','DisposableCollection','RefRangeService','UniverSheetsUi','_registerDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','parseInt','_messageService','@univerjs/sheets','fill','deepClone','ENTITLE_CAN_NOT_BUY_LOWER_OTP','xlink:href','UniverRpc','idSuffix','runOnServer','function','Loading','permission.content','getRelativeToViewportCoord','override','limitInfo','OTHER_CLIENTS_EDITING','RevisionService','color','DocSelectionManagerService','symbol','_toggleOffline','clearTimeout','result','_docTransformStateCacheService','white','m1Prime','permission.title','DOC_RANGE_TYPE','DataLoaderService','FormulaExecutedStateType','_refreshCollabCursors','_registerRenderDependencies','UniverInstanceType','4471072gJiwyf','searchParams','onPointerEnter$','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','send','ENTITLE_DUP_SUBSCRIPTION','CollaborationStatus','_status$','_onRefRangeChange','dispose$','isFormulaId','next','mask','APPLY_DUPLICATED','newValue','TEXT','handleDeleteRangeMoveUp','_toggleOnline','getParam','moveTo','row','addEventListener','top','_getSaveTimeout','flatMap','registerBeforeClose','441839HFAKrY','init','startRow','debounce','disposeWithMe','_roomMembers$','disableLocalCache','error','useDependency','_commandService','ILocalStorageService','collabStatus.synced','forEach','makeDirty','getStateCache','UniverUi','combineLatest','activeSheet$','Module','getConfig','_colorAssignService','transformSelections','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','SHEET_VIEWPORT_KEY','getDocRanges','currentColor','UniverNetwork','roomMembers','_anchor','_hasFormulaInDirtyRanges','USER_NOT_INVITED_CODE','_collabCursorController','_removeCollabCursors','DesktopCollaborationStatusDisplayController','collab-rect-range-','redoState','collab-client.tooltip.reconnect','collabStatus.conflict','SheetsSelectionsService','loadUnit','_cursorInfo$','unitID','_syncEditingCollabCursorService','SessionStatus','_unitOnClients','_cursors','forwardRef','collaboration.single-unit.warning','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','DEFAULT_WS_SESSION_TICKET_URL','Unknown\x20user','getSheetId','red.300','delete','ENTITLE_CHAT_LIMIT_EXCEED','createIdentifier','amd','imageSourceType','@univerjs/core','_dataLoaderService','YUUMI_NO_CUBOID_FOR_QUESTION','ILocalCacheService','DocStateChangeManagerService','roomMembers$','COLORS','_transformUndoRedoStack','SheetSkeletonManagerService','_heartbeatTimer','actions','href','_localeService','setUndoRedoMutationParamsCache','mapTo','origin','switchMap','currentSkeleton$','column','AWAITING_WITH_PENDING','handleInsertCol','TEXT_RANGE_LAYER_INDEX','UnitStatus','_sheetSkeletonManagerService','_configService','_applyCommand','UniverIcon','CollaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','_taskIds','#FFF','Shape','ENSURE_SNAPSHOT_EXECUTION','defineProperty','filter','SUCCESS','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','COMPLETION_FINISHED','use','INVITE_CODE_HAS_BEEN_UES','UniverDocsUi','params','removeParam','_docSkeletonManagerService','svg','_eventUnsubscribe','getTypeOfUnitAdded$','transformMutation','getUniverSheetInstance','Tools','_setFormulaLimitStatus','NodePositionConvertToCursor','_docClipboardService','getFocusedUnit','isArray'];_0x28d7=function(){return _0x3e8daf;};return _0x28d7();}function _0x2ce3(_0x25f65b,_0x5de281){const _0x28d7e0=_0x28d7();return _0x2ce3=function(_0x2ce347,_0x10f8c5){_0x2ce347=_0x2ce347-0x1e6;let _0x57b8fe=_0x28d7e0[_0x2ce347];return _0x57b8fe;},_0x2ce3(_0x25f65b,_0x5de281);}(function(_0x4aeeeb,_0xd0b9f9){const _0x4d6098=_0x2ce3,_0x1f9043=_0x4aeeeb();while(!![]){try{const _0x48ccf9=-parseInt(_0x4d6098(0x309))/0x1*(-parseInt(_0x4d6098(0x409))/0x2)+parseInt(_0x4d6098(0x39c))/0x3+-parseInt(_0x4d6098(0x2ee))/0x4+-parseInt(_0x4d6098(0x24f))/0x5*(-parseInt(_0x4d6098(0x441))/0x6)+parseInt(_0x4d6098(0x3c6))/0x7*(-parseInt(_0x4d6098(0x255))/0x8)+parseInt(_0x4d6098(0x284))/0x9*(parseInt(_0x4d6098(0x3f3))/0xa)+parseInt(_0x4d6098(0x48b))/0xb;if(_0x48ccf9===_0xd0b9f9)break;else _0x1f9043['push'](_0x1f9043['shift']());}catch(_0x559b5a){_0x1f9043['push'](_0x1f9043['shift']());}}}(_0x28d7,0xd669a),function(_0x1f0e85,_0x4ee07b){const _0x3b57cc=_0x2ce3;typeof exports==_0x3b57cc(0x3dc)&&typeof module<'u'?_0x4ee07b(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==_0x3b57cc(0x2d6)&&define[_0x3b57cc(0x343)]?define(['exports','react/jsx-runtime',_0x3b57cc(0x405),_0x3b57cc(0x345),_0x3b57cc(0x3de),_0x3b57cc(0x42b),_0x3b57cc(0x2c6),'react','@univerjs/rpc',_0x3b57cc(0x2ce),'@univerjs/engine-render','@univerjs/network',_0x3b57cc(0x488),'@univerjs/drawing',_0x3b57cc(0x416),_0x3b57cc(0x228),_0x3b57cc(0x499),_0x3b57cc(0x3ec),_0x3b57cc(0x2c5)],_0x4ee07b):(_0x1f0e85=typeof globalThis<'u'?globalThis:_0x1f0e85||self,_0x4ee07b(_0x1f0e85[_0x3b57cc(0x418)]={},_0x1f0e85[_0x3b57cc(0x3c2)],_0x1f0e85[_0x3b57cc(0x3c9)],_0x1f0e85['UniverCore'],_0x1f0e85[_0x3b57cc(0x318)],_0x1f0e85[_0x3b57cc(0x42b)],_0x1f0e85[_0x3b57cc(0x443)],_0x1f0e85['React'],_0x1f0e85[_0x3b57cc(0x2d3)],_0x1f0e85[_0x3b57cc(0x2b5)],_0x1f0e85[_0x3b57cc(0x456)],_0x1f0e85[_0x3b57cc(0x323)],_0x1f0e85[_0x3b57cc(0x36e)],_0x1f0e85[_0x3b57cc(0x4a6)],_0x1f0e85['UniverProCollaboration'],_0x1f0e85['UniverDocs'],_0x1f0e85['UniverEngineFormula'],_0x1f0e85[_0x3b57cc(0x42b)][_0x3b57cc(0x212)],_0x1f0e85[_0x3b57cc(0x2c9)]));}(this,function(_0x116b26,_0x45952e,_0x2de05c,_0x1187a4,_0x20024a,_0x1068bb,_0x64dbc4,_0x3e72b6,_0x585870,_0x2fe98e,_0x52d8dc,_0x391b32,_0x1b81cc,_0x56cf3b,_0xa5f490,_0x17f20c,_0xbede2,_0x4ba09f,_0x44ccda){'use strict';const _0x45f550=_0x2ce3;var _0xc015df=Object[_0x45f550(0x366)],_0x25a0c6=(_0x1aa1a5,_0x23d84e,_0x497013)=>_0x23d84e in _0x1aa1a5?_0xc015df(_0x1aa1a5,_0x23d84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497013}):_0x1aa1a5[_0x23d84e]=_0x497013,_0x4775d1=(_0x5166a5,_0x47bfc5,_0x3a2fbf)=>_0x25a0c6(_0x5166a5,typeof _0x47bfc5!=_0x45f550(0x2e0)?_0x47bfc5+'':_0x47bfc5,_0x3a2fbf);function _0x494ef5({ref:_0x56a600,..._0xf6be5}){const _0x4e3047=_0x45f550,{icon:_0x343321,id:_0x347360,className:_0x248354,extend:_0x3b8242,..._0x3d7f88}=_0xf6be5,_0x139c55=('univerjs-icon\x20univerjs-icon-'+_0x347360+'\x20'+(_0x248354||''))[_0x4e3047(0x45d)](),_0x227ff2=_0x3e72b6[_0x4e3047(0x23a)]('_'+_0x2a69a1());return _0x2e23e2(_0x343321,''+_0x347360,{'defIds':_0x343321[_0x4e3047(0x206)],'idSuffix':_0x227ff2[_0x4e3047(0x2b7)]},{'ref':_0x56a600,'className':_0x139c55,..._0x3d7f88},_0x3b8242);}function _0x2e23e2(_0x1e845c,_0x7b0184,_0x4b650f,_0x28f7d3,_0x3492c7){const _0x255e0d=_0x45f550;return _0x3e72b6['createElement'](_0x1e845c[_0x255e0d(0x2a6)],{'key':_0x7b0184,..._0x43038e(_0x1e845c,_0x4b650f,_0x3492c7),..._0x28f7d3},(_0x2975fc(_0x1e845c,_0x4b650f)[_0x255e0d(0x27c)]||[])['map']((_0x224257,_0x4250bb)=>_0x2e23e2(_0x224257,_0x7b0184+'-'+_0x1e845c['tag']+'-'+_0x4250bb,_0x4b650f,void 0x0,_0x3492c7)));}function _0x43038e(_0xfc4929,_0x1a91cf,_0x434d30){const _0x423621=_0x45f550,_0x3a74fb={..._0xfc4929[_0x423621(0x3e4)]};_0x434d30!=null&&_0x434d30['colorChannel1']&&_0x3a74fb['fill']===_0x423621(0x2c4)&&(_0x3a74fb[_0x423621(0x2cf)]=_0x434d30[_0x423621(0x2c4)]),_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x2fb)&&_0x3a74fb['id']&&(_0x3a74fb['id']=_0x3a74fb['id']+_0x1a91cf[_0x423621(0x2d4)]),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x3b323d,_0x4894b9])=>{const _0x187511=_0x423621;_0x3b323d===_0x187511(0x2fb)&&typeof _0x4894b9==_0x187511(0x265)&&(_0x3a74fb[_0x3b323d]=_0x4894b9[_0x187511(0x3c7)](/url\(#(.*)\)/,_0x187511(0x204)+_0x1a91cf[_0x187511(0x2d4)]+')'));});const {defIds:_0x34d31f}=_0x1a91cf;return!_0x34d31f||_0x34d31f[_0x423621(0x49c)]===0x0||(_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x36c)&&_0x3a74fb[_0x423621(0x2d2)]&&(_0x3a74fb[_0x423621(0x2d2)]=_0x3a74fb['xlink:href']+_0x1a91cf['idSuffix']),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x4322e5,_0x444d4d])=>{const _0x20603c=_0x423621;typeof _0x444d4d=='string'&&(_0x3a74fb[_0x4322e5]=_0x444d4d[_0x20603c(0x3c7)](/url\(#(.*)\)/,'url(#$1'+_0x1a91cf['idSuffix']+')'));})),_0x3a74fb;}function _0x2975fc(_0x5edba8,_0x1efc7b){const _0x891a2b=_0x45f550;var _0x56eb80;const {defIds:_0x51c2dd}=_0x1efc7b;return!_0x51c2dd||_0x51c2dd[_0x891a2b(0x49c)]===0x0?_0x5edba8:_0x5edba8['tag']===_0x891a2b(0x3ee)&&((_0x56eb80=_0x5edba8[_0x891a2b(0x27c)])!=null&&_0x56eb80[_0x891a2b(0x49c)])?{..._0x5edba8,'children':_0x5edba8[_0x891a2b(0x27c)][_0x891a2b(0x2be)](_0x402ef3=>typeof _0x402ef3['attrs']['id']==_0x891a2b(0x265)&&_0x51c2dd&&_0x51c2dd[_0x891a2b(0x291)](_0x402ef3[_0x891a2b(0x3e4)]['id'])?{..._0x402ef3,'attrs':{..._0x402ef3[_0x891a2b(0x3e4)],'id':_0x402ef3[_0x891a2b(0x3e4)]['id']+_0x1efc7b[_0x891a2b(0x2d4)]}}:_0x402ef3)}:_0x5edba8;}function _0x2a69a1(){const _0x498309=_0x45f550;return Math['random']()[_0x498309(0x3fe)](0x24)['substring'](0x2,0x8);}_0x494ef5['displayName']=_0x45f550(0x35f);const _0x4333a8={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':_0x45f550(0x237),'viewBox':'0\x200\x2016\x2016','width':_0x45f550(0x4ae),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':'currentColor','d':_0x45f550(0x31f),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45f550(0x3ee),'attrs':{},'children':[{'tag':_0x45f550(0x447),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':'white','d':_0x45f550(0x3f4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x32bf8d=_0x3e72b6[_0x45f550(0x337)](function(_0x410296,_0xfc3306){const _0x2b8452=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x2b8452(0x450)]({},_0x410296,{'id':_0x2b8452(0x3fd),'ref':_0xfc3306,'icon':_0x4333a8}));});_0x32bf8d[_0x45f550(0x3a7)]='OffLineIcon';const _0x1c6932={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':'none','viewBox':_0x45f550(0x1e9),'width':_0x45f550(0x4ae),'height':_0x45f550(0x4ae)},'children':[{'tag':'g','attrs':{'clipPath':_0x45f550(0x223)},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':_0x45f550(0x322),'d':_0x45f550(0x2a1),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':_0x45f550(0x2e5),'d':_0x45f550(0x3f4),'transform':_0x45f550(0x2a8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51164a=_0x3e72b6[_0x45f550(0x337)](function(_0x3756c7,_0x213ed4){const _0x23f94a=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x23f94a(0x450)]({},_0x3756c7,{'id':_0x23f94a(0x414),'ref':_0x213ed4,'icon':_0x1c6932}));});_0x51164a[_0x45f550(0x3a7)]='OnLineIcon';function _0x640631(_0x2e39f5){const _0x5be986=_0x45f550;switch(_0x2e39f5){case _0x2de05c['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x38a)]:return _0x5be986(0x32e);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x3b4)]:return'collabStatus.fetchMiss';case _0x2de05c['CollaborationStatus']['NOT_COLLAB']:return _0x5be986(0x3cd);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x210)]:case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x358)]:return _0x5be986(0x394);case _0x2de05c['CollaborationStatus'][_0x5be986(0x24c)]:case _0x2de05c[_0x5be986(0x2f5)]['PENDING']:return _0x5be986(0x314);}}function _0x71f5cb(_0xb5615){const _0x4dd830=_0x45f550,{status$:_0x496ab0}=_0xb5615,_0x32d255=_0x20024a[_0x4dd830(0x496)](_0x496ab0,_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x434)]),_0x4d0a3f=_0x20024a[_0x4dd830(0x311)](_0x1187a4[_0x4dd830(0x3a3)]),_0x1b310b=_0x20024a[_0x4dd830(0x311)](_0x2de05c[_0x4dd830(0x44a)]),_0x4281c5=_0x32d255!==_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x395)],_0x294412=_0x4d0a3f['t'](_0x640631(_0x32d255)),_0x288bc6=_0x4281c5?_0x45952e[_0x4dd830(0x3a1)](_0x51164a,{}):_0x45952e[_0x4dd830(0x3a1)](_0x32bf8d,{}),_0x15156f=_0x3e72b6['useCallback'](()=>{const _0x276938=_0x4dd830;_0x4281c5||_0x1b310b[_0x276938(0x20a)]();},[_0x4281c5,_0x1b310b]);function _0x5ca125(){const _0x59916a=_0x4dd830;return _0x45952e['jsxs'](_0x59916a(0x2b8),{'className':'univer-flex\x20univer-items-center','onClick':_0x15156f,'children':[_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x64dbc4['clsx'](_0x59916a(0x413),{'univer-text-green-500':_0x4281c5,'univer-text-red-500':!_0x4281c5}),'children':_0x288bc6}),_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x59916a(0x268),'children':_0x294412})]});}return _0x4281c5?_0x5ca125():_0x45952e['jsx'](_0x64dbc4[_0x4dd830(0x3d1)],{'title':_0x4d0a3f['t'](_0x4dd830(0x32d)),'children':_0x5ca125()});}var _0x491a22=Object[_0x45f550(0x38f)],_0x2fb467=(_0x3c6f38,_0x18c9bc,_0x36e0e8,_0x3c1290)=>{const _0x38f7de=_0x45f550;for(var _0x55ab2f=_0x3c1290>0x1?void 0x0:_0x3c1290?_0x491a22(_0x18c9bc,_0x36e0e8):_0x18c9bc,_0x4aa217=_0x3c6f38[_0x38f7de(0x49c)]-0x1,_0x53a63f;_0x4aa217>=0x0;_0x4aa217--)(_0x53a63f=_0x3c6f38[_0x4aa217])&&(_0x55ab2f=_0x53a63f(_0x55ab2f)||_0x55ab2f);return _0x55ab2f;},_0x4ecece=(_0x3bd181,_0x1f0135)=>(_0x19f789,_0x325306)=>_0x1f0135(_0x19f789,_0x325306,_0x3bd181);_0x116b26[_0x45f550(0x32a)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3bc150,_0x472b98,_0x469d48,_0x532715){const _0x5cfd4f=_0x45f550;super(),_0x4775d1(this,_0x5cfd4f(0x2f6),new _0x1068bb['BehaviorSubject'](_0x2de05c['CollaborationStatus'][_0x5cfd4f(0x434)])),(this['_univerInstanceService']=_0x3bc150,this[_0x5cfd4f(0x234)]=_0x472b98,this[_0x5cfd4f(0x1e7)]=_0x469d48,this[_0x5cfd4f(0x1f7)]=_0x532715,this[_0x5cfd4f(0x21b)](),this['_initStatusListener']());}[_0x45f550(0x458)](){const _0x4f1304=_0x45f550;this[_0x4f1304(0x30d)](this[_0x4f1304(0x225)][_0x4f1304(0x202)][_0x4f1304(0x229)](_0x1068bb[_0x4f1304(0x355)](()=>{const _0x36db8c=_0x4f1304,_0x177eba=this['_univerInstanceService'][_0x36db8c(0x37b)]();return _0x177eba?this[_0x36db8c(0x1e7)][_0x36db8c(0x484)](_0x177eba['getUnitId']()):_0x1068bb['of'](null);}),_0x1068bb[_0x4f1304(0x355)](_0x492846=>_0x492846?_0x492846['status$']:_0x1068bb['of'](_0x2de05c[_0x4f1304(0x2f5)][_0x4f1304(0x434)])))[_0x4f1304(0x43e)](_0x287706=>{const _0x76d033=_0x4f1304;this[_0x76d033(0x2f6)][_0x76d033(0x2fa)](_0x287706);}));}[_0x45f550(0x21b)](){const _0x26769b=_0x45f550;this['disposeWithMe'](this[_0x26769b(0x1f7)][_0x26769b(0x20c)](_0x20024a[_0x26769b(0x3ce)][_0x26769b(0x423)],()=>_0x20024a['connectInjector'](_0x228bd2({'status$':this[_0x26769b(0x2f6)]['asObservable']()}),this['_injector'])));}},_0x116b26[_0x45f550(0x32a)]=_0x2fb467([_0x4ecece(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x4ecece(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ecece(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x4ecece(0x3,_0x20024a[_0x45f550(0x22a)])],_0x116b26['DesktopCollaborationStatusDisplayController']);function _0x228bd2(_0x314a53){const {status$:_0x26cdf9}=_0x314a53;return function(){const _0x4b0a2d=_0x2ce3;return _0x45952e[_0x4b0a2d(0x3a1)](_0x71f5cb,{'status$':_0x26cdf9});};}const _0x48aae0=_0x1187a4[_0x45f550(0x342)](_0x45f550(0x227));var _0x6faaa7=Object[_0x45f550(0x38f)],_0x2329d7=(_0x10c09d,_0x4c82cf,_0x532383,_0x415d85)=>{const _0x30b195=_0x45f550;for(var _0x405fdb=_0x415d85>0x1?void 0x0:_0x415d85?_0x6faaa7(_0x4c82cf,_0x532383):_0x4c82cf,_0x3df413=_0x10c09d[_0x30b195(0x49c)]-0x1,_0x2a1839;_0x3df413>=0x0;_0x3df413--)(_0x2a1839=_0x10c09d[_0x3df413])&&(_0x405fdb=_0x2a1839(_0x405fdb)||_0x405fdb);return _0x405fdb;},_0x2700a7=(_0x50f701,_0x45118d)=>(_0x40cb80,_0x22973b)=>_0x45118d(_0x40cb80,_0x22973b,_0x50f701);_0x116b26[_0x45f550(0x252)]=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x1432ef,_0x239eb0,_0x260368,_0x3cfe54,_0x420fee){const _0x3cb7f2=_0x45f550;super(),this[_0x3cb7f2(0x43c)]=_0x1432ef,this[_0x3cb7f2(0x3bc)]=_0x239eb0,this[_0x3cb7f2(0x312)]=_0x260368,this[_0x3cb7f2(0x346)]=_0x3cfe54,_0x420fee?_0x420fee==null||_0x420fee[_0x3cb7f2(0x3c0)]()[_0x3cb7f2(0x420)](()=>this[_0x3cb7f2(0x22b)]()):(this['_logService'][_0x3cb7f2(0x455)]('[CollaborationDataLoaderController]',_0x3cb7f2(0x3ef)),this[_0x3cb7f2(0x22b)]());}async['_init'](){const _0x4d69da=_0x45f550,_0x49170b=this[_0x4d69da(0x43c)][_0x4d69da(0x301)]('unit'),_0x3a5f7a=this[_0x4d69da(0x43c)]['getParam'](_0x4d69da(0x493)),_0x413030=this[_0x4d69da(0x43c)][_0x4d69da(0x301)](_0x4d69da(0x3f9));if(!_0x49170b||!_0x3a5f7a){this[_0x4d69da(0x3bc)][_0x4d69da(0x455)](_0x4d69da(0x2b3),_0x4d69da(0x282));return;}const _0x4acdac=await this[_0x4d69da(0x346)][_0x4d69da(0x330)](_0x49170b,Number(_0x3a5f7a),_0x413030);_0x4acdac&&_0x4acdac instanceof _0x1187a4[_0x4d69da(0x380)]&&this[_0x4d69da(0x1ed)](_0x4acdac);}async[_0x45f550(0x1ed)](_0x17f53d){const _0x5493a1=_0x45f550;await this[_0x5493a1(0x40c)](_0x17f53d),_0x17f53d[_0x5493a1(0x31a)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))['subscribe'](_0xf788cb=>{const _0x45e4ba=_0x5493a1;_0xf788cb&&this[_0x45e4ba(0x385)](_0xf788cb);}),this['_urlService'][_0x5493a1(0x3bf)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))[_0x5493a1(0x43e)](()=>this[_0x5493a1(0x40c)](_0x17f53d));}[_0x45f550(0x385)](_0x1b9c39,_0x3df1fe=!0x1){const _0x2a96c1=_0x45f550,_0x43f8d0=this[_0x2a96c1(0x43c)]['getParam'](_0x2a96c1(0x3f9));_0x1b9c39[_0x2a96c1(0x33e)]()!==_0x43f8d0&&this['_urlService']['setParam'](_0x2a96c1(0x3f9),_0x1b9c39[_0x2a96c1(0x33e)](),_0x3df1fe);}async[_0x45f550(0x40c)](_0x459fd2){const _0x1f42f9=_0x45f550;var _0x159bec;const _0x557b19=this[_0x1f42f9(0x43c)][_0x1f42f9(0x301)](_0x1f42f9(0x3f9));if(!_0x557b19||!_0x459fd2[_0x1f42f9(0x3f2)](_0x557b19)){const _0x4043ac=_0x459fd2[_0x1f42f9(0x3d8)]()[0x0],_0x41b150=_0x459fd2['getSheetBySheetId'](_0x4043ac);if(!_0x41b150)return;this['_updateURLWithCurrentState'](_0x41b150,!0x0),await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e[_0x1f42f9(0x285)]['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x4043ac});return;}((_0x159bec=_0x459fd2[_0x1f42f9(0x465)]())==null?void 0x0:_0x159bec[_0x1f42f9(0x33e)]())!==_0x557b19&&await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e['SetWorksheetActivateCommand']['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x557b19});}},_0x116b26[_0x45f550(0x252)]=_0x2329d7([_0x2700a7(0x0,_0x48aae0),_0x2700a7(0x1,_0x1187a4[_0x45f550(0x437)]),_0x2700a7(0x2,_0x1187a4[_0x45f550(0x2ab)]),_0x2700a7(0x3,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x2e9)])),_0x2700a7(0x4,_0x1187a4[_0x45f550(0x43b)](_0x585870[_0x45f550(0x393)]))],_0x116b26[_0x45f550(0x252)]);var _0x5e1ce0=Object[_0x45f550(0x38f)],_0x19d9a1=(_0x1ea789,_0x5a3019,_0xc93bcb,_0x449ab8)=>{const _0x39651=_0x45f550;for(var _0xcc3127=_0x449ab8>0x1?void 0x0:_0x449ab8?_0x5e1ce0(_0x5a3019,_0xc93bcb):_0x5a3019,_0x435271=_0x1ea789[_0x39651(0x49c)]-0x1,_0x3517b8;_0x435271>=0x0;_0x435271--)(_0x3517b8=_0x1ea789[_0x435271])&&(_0xcc3127=_0x3517b8(_0xcc3127)||_0xcc3127);return _0xcc3127;},_0x4a84ef=(_0xbcca62,_0x32e995)=>(_0xaa9e79,_0x365394)=>_0x32e995(_0xaa9e79,_0x365394,_0xbcca62);let _0x5bb55b=class extends _0x1187a4['RxDisposable']{constructor(_0x162992,_0x1b5b56){const _0x32c959=_0x45f550;super(),this[_0x32c959(0x37a)]=_0x162992,this['_imageIoService']=_0x1b5b56,this[_0x32c959(0x22b)]();}[_0x45f550(0x22b)](){const _0x215bf2=_0x45f550,_0x187839=this;this[_0x215bf2(0x30d)](this['_docClipboardService'][_0x215bf2(0x468)]({'onBeforePasteImage':async _0x2b9d9a=>{const _0x215b06=_0x215bf2,_0x5aa031=await _0x187839['_imageIoService'][_0x215b06(0x3fc)](_0x2b9d9a);return _0x5aa031?{'source':_0x5aa031[_0x215b06(0x220)],'imageSourceType':_0x5aa031[_0x215b06(0x344)]}:null;}}));}};_0x5bb55b=_0x19d9a1([_0x4a84ef(0x0,_0x1b81cc[_0x45f550(0x24a)]),_0x4a84ef(0x1,_0x56cf3b['IImageIoService'])],_0x5bb55b);const _0x5ec0ef=[_0x45f550(0x1f3),_0x45f550(0x3e5),_0x45f550(0x43f),_0x45f550(0x33f),_0x45f550(0x28f),'yellow.400'];class _0x5cc5ff extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x21494e=_0x45f550;super(...arguments),_0x4775d1(this,'_assignedColors',new Map()),_0x4775d1(this,_0x21494e(0x384),0x0);}[_0x45f550(0x43d)](_0x459d30){const _0x2b0d72=_0x45f550;if(this[_0x2b0d72(0x3cc)]['has'](_0x459d30))return this[_0x2b0d72(0x3cc)]['get'](_0x459d30);const _0x3ed968=_0x5ec0ef[this[_0x2b0d72(0x384)]];return this[_0x2b0d72(0x384)]=(this['_colorIndex']+0x1)%_0x5ec0ef[_0x2b0d72(0x49c)],this[_0x2b0d72(0x3cc)][_0x2b0d72(0x47c)](_0x459d30,_0x3ed968),_0x3ed968;}}function _0x46e9a9(_0x35ee9e){const _0x2053f1=_0x45f550;let _0x220594='';for(const _0x5ceda0 of _0x35ee9e){const {startOffset:_0x92c5c5,endOffset:_0x1b477b,isActive:_0x1256b9,rangeType:_0x615d1a,segmentId:_0x3e4285,segmentPage:_0x3bb1a9}=_0x5ceda0;_0x220594[_0x2053f1(0x49c)]&&(_0x220594+=','),_0x220594+=_0x92c5c5+':'+_0x1b477b+':'+(_0x1256b9?'1':'0')+':'+_0x615d1a+':'+_0x3e4285+':'+_0x3bb1a9;}return _0x220594;}function _0xcdb123(_0x304961){const _0x51731b=_0x45f550,_0x2a9773=_0x304961['split'](','),_0x2477d7=[];for(const _0x307bf9 of _0x2a9773){const [_0x121e09,_0x9fbf9e,_0x33a6f4,_0xc89b70,_0x2577cb,_0x4a96ea]=_0x307bf9[_0x51731b(0x3e7)](':');_0x2477d7[_0x51731b(0x3e8)]({'startOffset':Number(_0x121e09),'endOffset':Number(_0x9fbf9e),'collapsed':_0x121e09===_0x9fbf9e,'isActive':_0x33a6f4==='1','rangeType':_0xc89b70===_0x1187a4['DOC_RANGE_TYPE'][_0x51731b(0x2fe)]?_0x1187a4[_0x51731b(0x2e8)][_0x51731b(0x2fe)]:_0x1187a4[_0x51731b(0x2e8)]['RECT'],'segmentId':typeof _0x2577cb=='string'?String(_0x2577cb):'','segmentPage':Number(_0x4a96ea!=null?_0x4a96ea:-0x1)});}return _0x2477d7[_0x51731b(0x2b9)](_0x2863b0=>_0x2863b0[_0x51731b(0x287)])||(_0x2477d7[0x0][_0x51731b(0x287)]=!0x0),_0x2477d7;}class _0x3cbd00 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x43ffe4=_0x45f550;super(...arguments),_0x4775d1(this,'_collabCursorState$',new _0x1068bb['BehaviorSubject'](null)),_0x4775d1(this,'collabCursorState$',this['_collabCursorState$'][_0x43ffe4(0x41f)]());}[_0x45f550(0x249)](_0x3b308a){const _0x24050f=_0x45f550,{unitID:_0x4c8b40,memberID:_0x520a3f,textRanges:_0x433003}=_0x3b308a,_0x1caa9a=_0x46e9a9(_0x433003);if(_0x1caa9a==='')return;const _0x57ea92={'unitID':_0x4c8b40,'memberID':_0x520a3f,'selection':_0x1caa9a};this[_0x24050f(0x222)][_0x24050f(0x2fa)](_0x57ea92);}}var _0xad61c2=Object[_0x45f550(0x38f)],_0x583d97=(_0x5c2ab7,_0x5dcd45,_0x5288e1,_0x5bb57b)=>{const _0x4cdcfa=_0x45f550;for(var _0xc2cda=_0x5bb57b>0x1?void 0x0:_0x5bb57b?_0xad61c2(_0x5dcd45,_0x5288e1):_0x5dcd45,_0x3c8e95=_0x5c2ab7[_0x4cdcfa(0x49c)]-0x1,_0x476a3c;_0x3c8e95>=0x0;_0x3c8e95--)(_0x476a3c=_0x5c2ab7[_0x3c8e95])&&(_0xc2cda=_0x476a3c(_0xc2cda)||_0xc2cda);return _0xc2cda;},_0x38bf1e=(_0xac5fb5,_0x579f30)=>(_0xa45741,_0x4327c9)=>_0x579f30(_0xa45741,_0x4327c9,_0xac5fb5);const _0x31f225=0x12c,_0x5b3860=0x64;let _0x5e29f4=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0xb98685,_0x4da786,_0x1ce1e9,_0x1a4afe,_0x492bfb,_0x50ddfb,_0x31db54,_0x299843,_0x202ea1){const _0x3a8ec1=_0x45f550;super(),_0x4775d1(this,'_online',!0x1),_0x4775d1(this,_0x3a8ec1(0x22b),!0x1),_0x4775d1(this,_0x3a8ec1(0x331),new _0x1068bb[(_0x3a8ec1(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this[_0x3a8ec1(0x331)]['asObservable']()),_0x4775d1(this,_0x3a8ec1(0x30e),new _0x1068bb[(_0x3a8ec1(0x390))]([])),_0x4775d1(this,_0x3a8ec1(0x34a),this['_roomMembers$'][_0x3a8ec1(0x229)](_0x1068bb[_0x3a8ec1(0x2a4)](_0x31f225))),_0x4775d1(this,_0x3a8ec1(0x3c5),_0x1187a4[_0x3a8ec1(0x30c)](_0x11b4f0=>{const _0x4e2b6d=_0x3a8ec1,_0x34312d={'eventID':_0xa5f490[_0x4e2b6d(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4e2b6d(0x332)],'memberID':this[_0x4e2b6d(0x3f5)][_0x4e2b6d(0x490)](),'selection':_0x46e9a9(_0x11b4f0)}};this[_0x4e2b6d(0x3f5)]['send'](_0x34312d,this[_0x4e2b6d(0x332)]);},_0x5b3860)),(this[_0x3a8ec1(0x332)]=_0xb98685,this['_session']=_0x4da786,this[_0x3a8ec1(0x234)]=_0x1ce1e9,this[_0x3a8ec1(0x31d)]=_0x1a4afe,this['_memberService']=_0x492bfb,this[_0x3a8ec1(0x333)]=_0x50ddfb,this[_0x3a8ec1(0x47b)]=_0x31db54,this[_0x3a8ec1(0x225)]=_0x299843,this[_0x3a8ec1(0x312)]=_0x202ea1);}get[_0x45f550(0x1e6)](){const _0x5f5766=_0x45f550;return this['_cursorInfo$'][_0x5f5766(0x43a)]();}get['roomMembers'](){const _0x47d1fc=_0x45f550;return this[_0x47d1fc(0x30e)][_0x47d1fc(0x43a)]();}[_0x45f550(0x244)](){const _0x376c94=_0x45f550;super[_0x376c94(0x244)](),this[_0x376c94(0x331)][_0x376c94(0x2fa)](new Map()),this['_cursorInfo$']['complete'](),this[_0x376c94(0x30e)][_0x376c94(0x2fa)]([]),this['_roomMembers$'][_0x376c94(0x26c)]();}[_0x45f550(0x30a)](){const _0x1fb263=_0x45f550;this[_0x1fb263(0x22b)]||(this[_0x1fb263(0x22b)]=!0x0,this['_session'][_0x1fb263(0x46a)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0xbafa9f=>{const _0xa3e605=_0x1fb263;_0xbafa9f===_0x2de05c[_0xa3e605(0x334)][_0xa3e605(0x23d)]?this[_0xa3e605(0x300)]():this['_toggleOffline']();}),this[_0x1fb263(0x3f5)][_0x1fb263(0x239)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this['dispose$']))[_0x1fb263(0x43e)](_0x45180a=>{const _0xdd6e23=_0x1fb263,_0x24e207=_0x45180a['eventID'];_0x24e207===_0xa5f490[_0xdd6e23(0x26a)]['UPDATE_CURSOR']&&this[_0xdd6e23(0x25b)](_0x45180a),_0x24e207===_0xa5f490[_0xdd6e23(0x26a)][_0xdd6e23(0x1f5)]&&this['_onCursorDelete'](_0x45180a);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)][_0x1fb263(0x2b0)](_0x31486d=>{const _0x33c120=_0x1fb263,_0x305bf6=_0x31486d[_0x33c120(0x36f)];_0x305bf6!=null&&this[_0x33c120(0x475)]&&_0x31486d['id']===_0x17f20c[_0x33c120(0x3b0)]['id']&&_0x305bf6[_0x33c120(0x1f8)]===this[_0x33c120(0x332)]&&_0x305bf6['isEditing']===!0x1&&_0x305bf6['ranges']['length']>0x0&&this[_0x33c120(0x3c5)](_0x305bf6['ranges']);})),this[_0x1fb263(0x333)][_0x1fb263(0x398)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0x47bf57=>{const _0x2890d0=_0x1fb263;if((_0x47bf57==null?void 0x0:_0x47bf57[_0x2890d0(0x332)])!==this[_0x2890d0(0x332)])return;const _0x156b48={'eventID':_0xa5f490[_0x2890d0(0x26a)]['UPDATE_CURSOR'],'data':_0x47bf57};this[_0x2890d0(0x25b)](_0x156b48);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)]['onCommandExecuted'](_0x3dd847=>{const _0x1af1c4=_0x1fb263;if(_0x3dd847['params']==null)return;const _0x75d3f5=_0x3dd847[_0x1af1c4(0x36f)];if(_0x3dd847['id']!==_0x17f20c[_0x1af1c4(0x42d)]['id']||_0x75d3f5[_0x1af1c4(0x1f8)]!==this[_0x1af1c4(0x332)])return;const _0x12d456={'id':_0x1af1c4(0x492),'params':_0x75d3f5},_0x21ceba=this[_0x1af1c4(0x1e6)];for(const [_0x329940,_0x3b5652]of _0x21ceba){const _0xb87f17={'id':_0x1af1c4(0x492),'params':{'unitId':this[_0x1af1c4(0x332)],'actions':null,'textRanges':_0x3b5652[_0x1af1c4(0x3a2)]}},_0x2ace6c=this[_0x1af1c4(0x47b)][_0x1af1c4(0x375)](_0x12d456,_0xb87f17,!0x1);if(_0xa5f490[_0x1af1c4(0x46c)](_0x2ace6c))throw _0x2ace6c[_0x1af1c4(0x310)];_0x21ceba[_0x1af1c4(0x47c)](_0x329940,{..._0x3b5652,'ranges':_0x2ace6c['m2Prime']['params'][_0x1af1c4(0x22c)]});}queueMicrotask(()=>{const _0x22f394=_0x1af1c4;this[_0x22f394(0x331)][_0x22f394(0x2fa)](_0x21ceba);});})));}['_onCursorUpdate'](_0xffaa2e){const _0x506cce=_0x45f550;var _0x359553,_0x691c44;const {memberID:_0x138882,selection:_0x50096a}=_0xffaa2e[_0x506cce(0x213)],_0x30263f=_0xcdb123(_0x50096a),_0x152471=(_0x691c44=(_0x359553=this[_0x506cce(0x26e)][_0x506cce(0x470)](this[_0x506cce(0x332)],_0x138882))==null?void 0x0:_0x359553[_0x506cce(0x47f)])!=null?_0x691c44:_0x506cce(0x33d),_0x5b8232={'color':this['_colorAssignService'][_0x506cce(0x43d)](_0x138882),'name':_0x152471,'ranges':_0x30263f},_0x2cec7f=this[_0x506cce(0x1e6)];_0x2cec7f[_0x506cce(0x47c)](_0x138882,_0x5b8232),this[_0x506cce(0x331)][_0x506cce(0x2fa)](_0x2cec7f);}[_0x45f550(0x49f)](_0x351f8d){const _0x228ca3=_0x45f550,{memberID:_0x58e18a}=_0x351f8d['data'],_0x4df7b9=this[_0x228ca3(0x1e6)];_0x4df7b9[_0x228ca3(0x340)](_0x58e18a),this[_0x228ca3(0x331)][_0x228ca3(0x2fa)](_0x4df7b9);}[_0x45f550(0x300)](){const _0x19761c=_0x45f550;var _0x1ee8ca;if(this[_0x19761c(0x475)]=!0x0,((_0x1ee8ca=this[_0x19761c(0x225)][_0x19761c(0x37b)]())==null?void 0x0:_0x1ee8ca[_0x19761c(0x296)]())!==this[_0x19761c(0x332)])return;const _0x2d7283=this[_0x19761c(0x234)][_0x19761c(0x4b4)](_0x17f20c[_0x19761c(0x2df)])[_0x19761c(0x321)]();Array[_0x19761c(0x37c)](_0x2d7283)&&_0x2d7283['length']>0x0&&this[_0x19761c(0x3c5)](_0x2d7283);}[_0x45f550(0x2e1)](){const _0x59b562=_0x45f550;this[_0x59b562(0x475)]=!0x1;}};_0x5e29f4=_0x583d97([_0x38bf1e(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4['Injector'])),_0x38bf1e(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x38bf1e(0x4,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x407)])),_0x38bf1e(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x38bf1e(0x6,_0xa5f490[_0x45f550(0x3bb)]),_0x38bf1e(0x7,_0x1187a4[_0x45f550(0x3a0)]),_0x38bf1e(0x8,_0x1187a4['ICommandService'])],_0x5e29f4);var _0x40f37e=Object[_0x45f550(0x38f)],_0x2e3808=(_0x84650b,_0x44180b,_0x12c8c3,_0x109db4)=>{const _0x4073dd=_0x45f550;for(var _0x30ba83=_0x109db4>0x1?void 0x0:_0x109db4?_0x40f37e(_0x44180b,_0x12c8c3):_0x44180b,_0x4bc3a5=_0x84650b[_0x4073dd(0x49c)]-0x1,_0x2f3e44;_0x4bc3a5>=0x0;_0x4bc3a5--)(_0x2f3e44=_0x84650b[_0x4bc3a5])&&(_0x30ba83=_0x2f3e44(_0x30ba83)||_0x30ba83);return _0x30ba83;},_0x4ea09b=(_0x55a7ed,_0x14401f)=>(_0x4e5c20,_0x2934d9)=>_0x14401f(_0x4e5c20,_0x2934d9,_0x55a7ed);const _0x13a196=0x12c,_0x56c654=0x64,_0x820a61=()=>{let _0x10ca9f=[],_0x378ea2=!0x1;return _0x3132c0=>{const _0x414ba5=_0x2ce3;_0x10ca9f[_0x414ba5(0x3e8)](_0x3132c0),_0x378ea2||(_0x378ea2=!0x0,setTimeout(()=>{const _0x485670=_0x414ba5;_0x10ca9f[_0x485670(0x315)](_0x4436fa=>_0x4436fa()),_0x10ca9f=[],_0x378ea2=!0x1;}));};};let _0x1b6df5=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x3d918b,_0xcb40bf,_0x446f2f,_0x2073b4,_0x4a2f46,_0x4a5d52,_0xb46402,_0x2e0596){const _0x41fdcf=_0x45f550;super(),_0x4775d1(this,_0x41fdcf(0x475),!0x1),_0x4775d1(this,_0x41fdcf(0x22b),!0x1),_0x4775d1(this,_0x41fdcf(0x331),new _0x1068bb[(_0x41fdcf(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x4775d1(this,_0x41fdcf(0x30e),new _0x1068bb[(_0x41fdcf(0x390))]([])),_0x4775d1(this,'roomMembers$',this[_0x41fdcf(0x30e)][_0x41fdcf(0x229)](_0x1068bb[_0x41fdcf(0x2a4)](_0x13a196))),_0x4775d1(this,'_updateLocalCursor',_0x1187a4['debounce']((_0x125811,_0x26225b)=>{const _0x3602d1=_0x41fdcf,_0x4f2eef={'eventID':_0xa5f490[_0x3602d1(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3602d1(0x332)],'memberID':this[_0x3602d1(0x3f5)][_0x3602d1(0x490)](),'selection':_0xbede2[_0x3602d1(0x47e)](_0x125811,_0x26225b[_0x3602d1(0x41c)])}};this[_0x3602d1(0x3f5)][_0x3602d1(0x2f3)](_0x4f2eef,this[_0x3602d1(0x332)]);},_0x56c654)),(this[_0x41fdcf(0x332)]=_0x3d918b,this[_0x41fdcf(0x3f5)]=_0xcb40bf,this['_injector']=_0x446f2f,this[_0x41fdcf(0x31d)]=_0x2073b4,this['_memberService']=_0x4a2f46,this['_univerInstanceService']=_0x4a5d52,this[_0x41fdcf(0x312)]=_0xb46402,this[_0x41fdcf(0x2ad)]=_0x2e0596);}get[_0x45f550(0x1e6)](){const _0x34d085=_0x45f550;return this[_0x34d085(0x331)][_0x34d085(0x43a)]();}get[_0x45f550(0x324)](){const _0x2bbcae=_0x45f550;return this[_0x2bbcae(0x30e)][_0x2bbcae(0x43a)]();}[_0x45f550(0x244)](){const _0x45f01a=_0x45f550;super[_0x45f01a(0x244)](),this[_0x45f01a(0x331)][_0x45f01a(0x2fa)](new Map()),this[_0x45f01a(0x331)][_0x45f01a(0x26c)](),this['_roomMembers$'][_0x45f01a(0x2fa)]([]),this['_roomMembers$']['complete']();}[_0x45f550(0x30a)](){const _0x3926fb=_0x45f550;this[_0x3926fb(0x22b)]||(this[_0x3926fb(0x22b)]=!0x0,this[_0x3926fb(0x3f5)][_0x3926fb(0x46a)][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x4c144b=>{const _0x557f3c=_0x3926fb;_0x4c144b===_0x2de05c[_0x557f3c(0x334)]['ONLINE']?this[_0x557f3c(0x300)]():this[_0x557f3c(0x2e1)]();}),this['_session']['event$'][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x3b29b1=>{const _0x58a669=_0x3926fb,_0x34ce2b=_0x3b29b1['eventID'];_0x34ce2b===_0xa5f490[_0x58a669(0x26a)][_0x58a669(0x214)]&&this['_onCursorUpdate'](_0x3b29b1),_0x34ce2b===_0xa5f490[_0x58a669(0x26a)]['USERS_LEAVE']&&this[_0x58a669(0x49f)](_0x3b29b1);}),this[_0x3926fb(0x2f7)](),this[_0x3926fb(0x30d)](this[_0x3926fb(0x312)][_0x3926fb(0x2b0)](_0xe8441c=>{const _0x30ff1b=_0x3926fb;if(this[_0x30ff1b(0x475)]&&_0xe8441c['id']===_0x2fe98e['SetSelectionsOperation']['id']&&_0xe8441c[_0x30ff1b(0x36f)]['unitId']===this['unitID']){const _0x1d64e7=_0xe8441c['params'];this['_updateLocalCursor'](_0x1d64e7['subUnitId'],_0x1d64e7[_0x30ff1b(0x2ac)][0x0]);}})));}[_0x45f550(0x25b)](_0x1a4b1e){const _0x45b3eb=_0x45f550;var _0x41cae7,_0x1dbf9f;const {memberID:_0x1a8716,selection:_0x17c87e}=_0x1a4b1e['data'],{sheetName:_0x2d00e7,range:_0x364488}=_0xbede2[_0x45b3eb(0x49a)](_0x17c87e),_0x527eb1={'name':(_0x1dbf9f=(_0x41cae7=this[_0x45b3eb(0x26e)]['getMember'](this[_0x45b3eb(0x332)],_0x1a8716))==null?void 0x0:_0x41cae7[_0x45b3eb(0x47f)])!=null?_0x1dbf9f:_0x45b3eb(0x33d),'range':this['_getMergeRange'](_0x2d00e7,_0x364488),'sheetID':_0x2d00e7,'color':this[_0x45b3eb(0x31d)]['assignAColorForMemberID'](_0x1a8716),'selection':_0x17c87e},_0x3d4fc8=this[_0x45b3eb(0x1e6)];_0x3d4fc8[_0x45b3eb(0x47c)](_0x1a8716,_0x527eb1),this[_0x45b3eb(0x331)][_0x45b3eb(0x2fa)](_0x3d4fc8);}['_onCursorDelete'](_0x4b14f8){const _0x2758ea=_0x45f550,{memberID:_0x578be7}=_0x4b14f8[_0x2758ea(0x213)],_0x340932=this[_0x2758ea(0x1e6)];_0x340932[_0x2758ea(0x340)](_0x578be7),this['_cursorInfo$'][_0x2758ea(0x2fa)](_0x340932);}[_0x45f550(0x29f)](_0x4d33c9,_0x3b5b17){const _0x43782a=_0x45f550;var _0x3441f9,_0x24f938;const _0x2c7f39=(_0x24f938=(_0x3441f9=this[_0x43782a(0x225)][_0x43782a(0x376)](this[_0x43782a(0x332)]))==null?void 0x0:_0x3441f9[_0x43782a(0x3f2)](_0x4d33c9))==null?void 0x0:_0x24f938[_0x43782a(0x26f)]();return(_0x2c7f39==null?void 0x0:_0x2c7f39['find'](_0x5cedef=>_0x1187a4[_0x43782a(0x25d)][_0x43782a(0x3fa)](_0x5cedef,_0x3b5b17)))||_0x3b5b17;}[_0x45f550(0x2f7)](){const _0x55fcda=_0x45f550,_0x47520f=new _0x1187a4[(_0x55fcda(0x2c7))](),_0x490e84=_0x820a61(),_0x2900ff=()=>{const _0x31d36c=_0x55fcda;_0x47520f['dispose']();const _0x100371=(_0x17959f,_0x225b54,_0x3ba45b,_0x29d909)=>{const _0x151196=_0x2ce3;let _0x2ccc70=[];switch(_0x17959f['id']){case _0x2fe98e[_0x151196(0x386)][_0x151196(0x292)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x3fb)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x4a0)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x2ff)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3bd)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x359)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x491)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveDown'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3e2)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveRight'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3f8)]:{_0x2ccc70=_0x2fe98e['handleInsertRow'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['MoveRangeCommandId']:{_0x2ccc70=_0x2fe98e['handleMoveRange'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveColCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveCol'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveRowCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveRow'](_0x17959f,_0x29d909);break;}}const _0x3ea530=_0x2fe98e[_0x151196(0x411)](_0x2ccc70,_0x29d909),_0x27f41e=this[_0x151196(0x1e6)][_0x151196(0x4b4)](_0x225b54);if(_0x27f41e&&_0x3ea530){const _0x276778={..._0x27f41e,'range':_0x3ea530};this[_0x151196(0x1e6)][_0x151196(0x47c)](_0x225b54,_0x276778),_0x490e84(()=>{const _0x337db1=_0x151196,_0xc13432=this['_refRangeService'][_0x337db1(0x3b5)](_0x3ea530,_0x6085eb=>(_0xc13432[_0x337db1(0x244)](),_0x100371(_0x6085eb,_0x225b54,_0x3ba45b,_0x3ea530)));_0x47520f[_0x337db1(0x481)](_0xc13432);});}return{'redos':[],'undos':[]};};this[_0x31d36c(0x1e6)][_0x31d36c(0x315)]((_0x6f25e8,_0x3713e3)=>{const _0x36f63d=_0x31d36c,{range:_0x59a6d6,sheetID:_0x24017b}=_0x6f25e8,_0x1acb16=this[_0x36f63d(0x2ad)][_0x36f63d(0x3b5)](_0x59a6d6,_0x4ee253=>(_0x1acb16[_0x36f63d(0x244)](),_0x100371(_0x4ee253,_0x3713e3,_0x24017b,_0x59a6d6)));_0x47520f[_0x36f63d(0x481)](_0x1acb16);});};this[_0x55fcda(0x30d)](_0x1187a4['toDisposable'](this[_0x55fcda(0x331)][_0x55fcda(0x43e)](()=>{_0x2900ff();})));}[_0x45f550(0x300)](){const _0x426be7=_0x45f550;var _0xf04161,_0x1c8864;if(this[_0x426be7(0x475)]=!0x0,((_0xf04161=this[_0x426be7(0x225)][_0x426be7(0x37b)]())==null?void 0x0:_0xf04161[_0x426be7(0x296)]())!==this['unitID'])return;const _0x45e37d=(_0x1c8864=this['_injector']['get'](_0x2fe98e[_0x426be7(0x32f)])['getCurrentSelections']())==null?void 0x0:_0x1c8864[0x0],_0x28864a=this[_0x426be7(0x225)]['getCurrentUnitForType'](_0x1187a4[_0x426be7(0x2ed)]['UNIVER_SHEET'])['getActiveSheet']();_0x45e37d&&_0x28864a&&this['_updateLocalCursor'](_0x28864a['getSheetId'](),_0x45e37d);}[_0x45f550(0x2e1)](){const _0x3499e1=_0x45f550;this[_0x3499e1(0x475)]=!0x1;}};_0x1b6df5=_0x2e3808([_0x4ea09b(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ea09b(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x4ea09b(0x4,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x407)])),_0x4ea09b(0x5,_0x1187a4[_0x45f550(0x3a0)]),_0x4ea09b(0x6,_0x1187a4['ICommandService']),_0x4ea09b(0x7,_0x1187a4['Inject'](_0x2fe98e[_0x45f550(0x2c8)]))],_0x1b6df5);var _0x30c638=Object[_0x45f550(0x38f)],_0x563405=(_0x3495c2,_0x329521,_0x14efeb,_0x3bef5c)=>{const _0x48dfa4=_0x45f550;for(var _0x52c63f=_0x3bef5c>0x1?void 0x0:_0x3bef5c?_0x30c638(_0x329521,_0x14efeb):_0x329521,_0x115e99=_0x3495c2[_0x48dfa4(0x49c)]-0x1,_0x44f879;_0x115e99>=0x0;_0x115e99--)(_0x44f879=_0x3495c2[_0x115e99])&&(_0x52c63f=_0x44f879(_0x52c63f)||_0x52c63f);return _0x52c63f;},_0x1b1bdb=(_0x58dd63,_0x26aeee)=>(_0x22daa1,_0x46e7c5)=>_0x26aeee(_0x22daa1,_0x46e7c5,_0x58dd63);let _0x12a146=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x7b9b9,_0x4e7066,_0x130099){const _0x47ce1a=_0x45f550;super(),_0x4775d1(this,'_entities',new Map()),_0x4775d1(this,_0x47ce1a(0x1f9),new _0x1068bb[(_0x47ce1a(0x448))]()),(this[_0x47ce1a(0x225)]=_0x7b9b9,this[_0x47ce1a(0x234)]=_0x4e7066,this[_0x47ce1a(0x3b8)]=_0x130099,this[_0x47ce1a(0x22b)]());}[_0x45f550(0x244)](){const _0x388cf2=_0x45f550;super['dispose'](),this[_0x388cf2(0x1f9)][_0x388cf2(0x26c)](),this['_entities'][_0x388cf2(0x315)](_0x19be0a=>_0x19be0a[_0x388cf2(0x244)]());}['getCollabCursors$'](_0x51a05b){const _0x175b41=_0x45f550;return this[_0x175b41(0x44f)][_0x175b41(0x478)](_0x51a05b)?this['_entities'][_0x175b41(0x4b4)](_0x51a05b)['cursorInfo$']:this[_0x175b41(0x1f9)][_0x175b41(0x229)](_0x1068bb[_0x175b41(0x367)](_0x4425ce=>_0x4425ce[_0x175b41(0x332)]===_0x51a05b),_0x1068bb[_0x175b41(0x355)](_0x5bbf18=>_0x5bbf18[_0x175b41(0x3cb)]));}[_0x45f550(0x22b)](){const _0x48b013=_0x45f550;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET'])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](async _0x22bee7=>{const _0x4c8d94=_0x48b013,_0xf7b1c4=_0x22bee7[_0x4c8d94(0x296)](),_0x28be3d=await this[_0x4c8d94(0x297)](_0xf7b1c4);this[_0x4c8d94(0x1f9)]['next'](_0x28be3d),this[_0x4c8d94(0x44f)][_0x4c8d94(0x47c)](_0xf7b1c4,_0x28be3d);}),this[_0x48b013(0x225)][_0x48b013(0x374)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this['dispose$']))[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x367)](_0x120d66=>!_0x120d66['getUnitId']()[_0x48b013(0x3ae)]('__')))[_0x48b013(0x43e)](async _0x27db8c=>{const _0x58889c=_0x48b013,_0x3efc8d=_0x27db8c[_0x58889c(0x296)](),_0x42bfd9=await this[_0x58889c(0x200)](_0x3efc8d);this[_0x58889c(0x1f9)][_0x58889c(0x2fa)](_0x42bfd9),this[_0x58889c(0x44f)]['set'](_0x3efc8d,_0x42bfd9);}),_0x1068bb[_0x48b013(0x201)](this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)]),this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET']))[_0x48b013(0x229)](_0x1068bb['takeUntil'](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](_0x3612d9=>{const _0x3252ea=_0x48b013,_0x781d7c=_0x3612d9[_0x3252ea(0x296)](),_0x5d76ca=this[_0x3252ea(0x44f)][_0x3252ea(0x4b4)](_0x781d7c);_0x5d76ca&&(_0x5d76ca[_0x3252ea(0x244)](),this[_0x3252ea(0x44f)][_0x3252ea(0x340)](_0x781d7c));});}async[_0x45f550(0x297)](_0x17b677){const _0x364ee0=_0x45f550,_0x523f2b=await this[_0x364ee0(0x3b8)][_0x364ee0(0x40b)](_0x17b677),_0x40e86c=this['_injector'][_0x364ee0(0x1f1)](_0x1b6df5,_0x17b677,_0x523f2b);return _0x40e86c[_0x364ee0(0x30a)](),_0x40e86c;}async[_0x45f550(0x200)](_0x2e2897){const _0xecc31e=_0x45f550,_0x10683e=await this['_collabSessionService'][_0xecc31e(0x40b)](_0x2e2897),_0xefd470=this['_injector'][_0xecc31e(0x1f1)](_0x5e29f4,_0x2e2897,_0x10683e);return _0xefd470[_0xecc31e(0x30a)](),_0xefd470;}};_0x12a146=_0x563405([_0x1b1bdb(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x1b1bdb(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x1b1bdb(0x2,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x44a)]))],_0x12a146);const _0x17be04=0x14,_0x2c4bda=0xc8,_0x217bb7=0x4,_0x125b2b=0x5;function _0xd69afb(_0x4e75f2,_0x30785e){const _0x3d7966=_0x45f550;let {radius:_0x247030,width:_0x1d45c1,height:_0xb34e27}=_0x30785e;_0x247030=_0x247030!=null?_0x247030:0x0,_0x1d45c1=_0x1d45c1!=null?_0x1d45c1:0x1e,_0xb34e27=_0xb34e27!=null?_0xb34e27:0x1e;let _0x4ea55b=0x0,_0x27078d=0x0,_0x15a492=0x0;_0x4ea55b=_0x27078d=_0x15a492=Math['min'](_0x247030,_0x1d45c1/0x2,_0xb34e27/0x2),_0x4e75f2[_0x3d7966(0x46f)](),_0x4e75f2[_0x3d7966(0x302)](_0x4ea55b,0x0),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1-_0x27078d,0x0),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x27078d,_0x27078d,_0x27078d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1,_0xb34e27-_0x15a492),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x15a492,_0xb34e27-_0x15a492,_0x15a492,0x0,Math['PI']/0x2,!0x1),_0x4e75f2[_0x3d7966(0x431)](0x0,_0xb34e27),_0x4e75f2[_0x3d7966(0x431)](0x0,_0x4ea55b),_0x4e75f2[_0x3d7966(0x39a)](_0x4ea55b,_0x4ea55b,_0x4ea55b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e75f2[_0x3d7966(0x236)](),_0x30785e['fill']&&(_0x4e75f2[_0x3d7966(0x293)](),_0x4e75f2[_0x3d7966(0x482)]=_0x30785e[_0x3d7966(0x2cf)],_0x30785e[_0x3d7966(0x466)]===_0x3d7966(0x430)?_0x4e75f2[_0x3d7966(0x2cf)]('evenodd'):_0x4e75f2[_0x3d7966(0x2cf)](),_0x4e75f2[_0x3d7966(0x446)]());}class _0x2978f3 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5c6a77,_0x162d4c){const _0x107d68=_0x45f550;super(_0x5c6a77,_0x162d4c),_0x4775d1(this,_0x107d68(0x2de)),_0x4775d1(this,'text'),(this[_0x107d68(0x2de)]=_0x162d4c==null?void 0x0:_0x162d4c[_0x107d68(0x2de)],this[_0x107d68(0x2a3)]=_0x162d4c==null?void 0x0:_0x162d4c['text']);}static[_0x45f550(0x29c)](_0xe463ff,_0x4bea87){const _0x31c4e1=_0x45f550,{text:_0x14e732,color:_0x2ef6e8}=_0x4bea87;_0xe463ff[_0x31c4e1(0x293)](),_0xe463ff['font']=_0x31c4e1(0x2cb);const _0x4be780=_0xe463ff[_0x31c4e1(0x28c)](_0x14e732)[_0x31c4e1(0x3d6)],_0x1e7b02=Math[_0x31c4e1(0x38c)](_0x4be780+0x2*_0x217bb7,_0x2c4bda);_0xd69afb(_0xe463ff,{'height':_0x17be04,'radius':0x4,'width':_0x1e7b02,'fill':_0x2ef6e8}),_0xe463ff[_0x31c4e1(0x482)]=_0x31c4e1(0x363);const _0x36ad7b=_0x217bb7,_0x107db3=_0x17be04-_0x125b2b,_0x1acd58=_0x2c4bda-0x2*_0x217bb7;if(_0x4be780>_0x1acd58){let _0x392444='',_0x93a718=0x0;for(const _0x3fede8 of _0x14e732){const _0xaeb751=_0xe463ff[_0x31c4e1(0x28c)](_0x3fede8)[_0x31c4e1(0x3d6)];if(_0x93a718+_0xaeb751<=_0x1acd58-_0xe463ff[_0x31c4e1(0x28c)](_0x31c4e1(0x38d))[_0x31c4e1(0x3d6)])_0x392444+=_0x3fede8,_0x93a718+=_0xaeb751;else{_0x392444+='...';break;}}_0xe463ff[_0x31c4e1(0x1fc)](_0x392444,_0x36ad7b,_0x107db3);}else _0xe463ff['fillText'](_0x14e732,_0x36ad7b,_0x107db3);_0xe463ff[_0x31c4e1(0x446)]();}[_0x45f550(0x257)](_0x2a2418){_0x2978f3['drawWith'](_0x2a2418,this);}}const _0x3106a7='collab-text-anchor-',_0x280658=_0x45f550(0x485),_0x447db4=_0x45f550(0x32b),_0x34867a=0x6,_0x3e13d1=1.5,_0x4510f7=0x4,_0x2f7386=1.5,_0x591f9f=_0x45f550(0x48d);class _0x20f467{constructor(_0x2aca9b,_0x533405,_0x434fe0,_0x2ac8ad){const _0x55c983=_0x45f550;_0x4775d1(this,_0x55c983(0x37e),[]),_0x4775d1(this,_0x55c983(0x325),null),_0x4775d1(this,'_textBubble',null),_0x4775d1(this,_0x55c983(0x49e),null),_0x4775d1(this,_0x55c983(0x4a4),null),_0x4775d1(this,'_eventUnsubscribe',null),(this[_0x55c983(0x444)]=_0x2aca9b,this['_scene']=_0x533405,this['_docSkeleton']=_0x434fe0,this[_0x55c983(0x263)]=_0x2ac8ad,this[_0x55c983(0x25c)]());}set[_0x45f550(0x20f)](_0x3655c3){const _0x4a9db9=_0x45f550;_0x3655c3?(this['_anchorDot']&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x487)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x471)]()):(this[_0x4a9db9(0x49e)]&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x471)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x487)]());}['dispose'](){const _0x39e879=_0x45f550;for(const _0x34bd5f of this[_0x39e879(0x37e)])_0x34bd5f[_0x39e879(0x244)]();this[_0x39e879(0x1ff)]&&this[_0x39e879(0x1ff)][_0x39e879(0x244)](),this[_0x39e879(0x49e)]&&this['_anchorDot']['dispose'](),this[_0x39e879(0x325)]&&this[_0x39e879(0x325)][_0x39e879(0x244)](),this['_eventUnsubscribe']&&this[_0x39e879(0x373)]();}[_0x45f550(0x25c)](){const _0x37fd36=_0x45f550;var _0x5f2eea;const {_docSkeleton:_0x48f239,_document:_0x430278}=this,{color:_0x578925,name:_0x33ce8e,ranges:_0x4db81a}=this['_cursor'],_0x558f6b=_0x430278['getOffsetConfig'](),{docsLeft:_0x1f3ab4,docsTop:_0x56ebb0}=_0x558f6b,_0x5456ab=new _0x1b81cc[(_0x37fd36(0x379))](_0x558f6b,_0x48f239);for(const {startOffset:_0x3f9ba3,endOffset:_0x484240,rangeType:_0x92e69,segmentId:_0x235fbf,segmentPage:_0x5ec2d9,collapsed:_0x39ec20,isActive:_0x5b06d0}of _0x4db81a){const _0x10f6db=_0x48f239[_0x37fd36(0x486)](_0x3f9ba3,!0x0,_0x235fbf,_0x5ec2d9);let _0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240,!0x0,_0x235fbf,_0x5ec2d9);if(_0x355134==null&&(_0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240-0x1,!0x1,_0x235fbf,_0x5ec2d9)),_0x5b06d0){const {contentBoxPointGroup:_0x40b591}=_0x5456ab['getRangePointData'](_0x355134,_0x355134);if(_0x40b591['length']===0x0)continue;this[_0x37fd36(0x424)](_0x578925,_0x40b591,_0x1f3ab4,_0x56ebb0,_0x33ce8e),this[_0x37fd36(0x373)]=this['_handleHover']();}if(_0x10f6db&&_0x355134){if(_0x92e69===_0x1187a4[_0x37fd36(0x2e8)]['RECT']){const _0x31a31f=new _0x1b81cc[(_0x37fd36(0x2bd))](_0x558f6b,_0x48f239),{pointGroup:_0x5ea144}=(_0x5f2eea=_0x31a31f['getRangePointData'](_0x10f6db,_0x355134))!=null?_0x5f2eea:{};if(_0x5ea144==null||_0x5ea144[_0x37fd36(0x49c)]===0x0)continue;this['_drawRectRange'](_0x578925,_0x5ea144,_0x1f3ab4,_0x56ebb0);}else{if(!_0x39ec20){const {borderBoxPointGroup:_0x1772a2}=_0x5456ab[_0x37fd36(0x20d)](_0x10f6db,_0x355134);if(_0x1772a2[_0x37fd36(0x49c)]===0x0)continue;this[_0x37fd36(0x397)](_0x578925,_0x1772a2,_0x1f3ab4,_0x56ebb0);}}}}}[_0x45f550(0x424)](_0x3fdcac,_0x1d8bbb,_0x18bdf2,_0x112e63,_0x22f6d2){const _0x2dad74=_0x45f550,_0x20044b=this[_0x2dad74(0x3f6)](_0x1d8bbb),{left:_0x105739,top:_0x48ae46,height:_0x1a5d00}=_0x20044b,_0x32de65=this[_0x2dad74(0x4a3)](),_0x1995b8=_0x2f7386/_0x32de65,_0x519a5c=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63,'height':_0x1a5d00,'width':_0x3e13d1,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4[_0x2dad74(0x34b)]['black'],0x0),'strokeWidth':_0x1995b8,'stroke':_0x591f9f,'evented':!0x0});this[_0x2dad74(0x325)]=_0x519a5c,this[_0x2dad74(0x261)][_0x2dad74(0x39e)](_0x519a5c,_0x1b81cc[_0x2dad74(0x35a)]);const _0x3c48f1=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x4510f7/0x2,'height':_0x4510f7,'width':_0x4510f7,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4['COLORS'][_0x2dad74(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3fdcac||_0x52d8dc['getColor'](_0x1187a4['COLORS']['black'],0x0),'evented':!0x1});this[_0x2dad74(0x49e)]=_0x3c48f1,this['_scene'][_0x2dad74(0x39e)](_0x3c48f1,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);const _0x28dfe9=new _0x2978f3(_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x17be04,'text':_0x22f6d2,'color':_0x3fdcac});this[_0x2dad74(0x1ff)]=_0x28dfe9,this[_0x2dad74(0x261)]['addObject'](_0x28dfe9,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']),this[_0x2dad74(0x20f)]=!0x1;}[_0x45f550(0x259)](){const _0x55c1eb=_0x45f550,_0x3dc1ef=this[_0x55c1eb(0x325)][_0x55c1eb(0x2f0)]['subscribeEvent'](()=>{const _0x5afcb3=_0x55c1eb;this[_0x5afcb3(0x20f)]=!0x0;}),_0x5a131f=this['_anchor'][_0x55c1eb(0x3b9)][_0x55c1eb(0x435)](()=>{const _0x137202=_0x55c1eb;this[_0x137202(0x4a4)]&&clearTimeout(this['_hideTimer']),this[_0x137202(0x4a4)]=setTimeout(()=>{const _0x4ffaa4=_0x137202;this[_0x4ffaa4(0x20f)]=!0x1;},0x7d0);});return()=>{const _0x581c53=_0x55c1eb;_0x3dc1ef[_0x581c53(0x3af)](),_0x5a131f['unsubscribe']();};}[_0x45f550(0x397)](_0x5cb18c,_0x458773,_0x5260af,_0x35cf8f){const _0x3994d1=_0x45f550,_0x4286ef=new _0x1187a4[(_0x3994d1(0x247))](_0x5cb18c)[_0x3994d1(0x4a2)](0.2)[_0x3994d1(0x383)](),_0x2e7d51=new _0x52d8dc[(_0x3994d1(0x2a5))](_0x280658+_0x1187a4[_0x3994d1(0x260)](_0x34867a),{'pointsGroup':_0x458773,'fill':_0x4286ef||_0x52d8dc[_0x3994d1(0x3d0)](_0x1187a4['COLORS'][_0x3994d1(0x2bb)],0.2),'left':_0x5260af,'top':_0x35cf8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3994d1(0x37e)][_0x3994d1(0x3e8)](_0x2e7d51),this[_0x3994d1(0x261)][_0x3994d1(0x39e)](_0x2e7d51,_0x1b81cc[_0x3994d1(0x35a)]);}[_0x45f550(0x283)](_0x5a1ece,_0x14f3be,_0x3c63d4,_0x4262d3){const _0x362ea9=_0x45f550,_0x35fb4d=new _0x1187a4[(_0x362ea9(0x247))](_0x5a1ece)[_0x362ea9(0x4a2)](0.2)['toRgbString'](),_0x4164f3=new _0x52d8dc[(_0x362ea9(0x2a5))](_0x447db4+_0x1187a4[_0x362ea9(0x260)](_0x34867a),{'pointsGroup':_0x14f3be,'fill':_0x35fb4d||_0x52d8dc['getColor'](_0x1187a4['COLORS'][_0x362ea9(0x2bb)],0.2),'left':_0x3c63d4,'top':_0x4262d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x362ea9(0x37e)][_0x362ea9(0x3e8)](_0x4164f3),this[_0x362ea9(0x261)][_0x362ea9(0x39e)](_0x4164f3,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);}[_0x45f550(0x3f6)](_0x4048ef){const _0x54a0be=_0x4048ef[0x0],_0x4b5821=_0x54a0be[0x0],_0x1e1afa=_0x54a0be[0x2],{x:_0x455b99,y:_0x224a2f}=_0x4b5821,{x:_0x54bd9a,y:_0x4ecb02}=_0x1e1afa;return{'left':_0x455b99,'top':_0x224a2f,'width':_0x54bd9a-_0x455b99,'height':_0x4ecb02-_0x224a2f};}[_0x45f550(0x4a3)](){const {scaleX:_0x877ab8,scaleY:_0x275fc5}=this['_scene']['getAncestorScale']();return Math['max'](_0x877ab8,_0x275fc5);}}var _0x5545c1=Object[_0x45f550(0x38f)],_0x45f7d8=(_0x2c0fd9,_0x19f843,_0x281a54,_0x2b2b8f)=>{const _0x2bbe62=_0x45f550;for(var _0x5a1919=_0x2b2b8f>0x1?void 0x0:_0x2b2b8f?_0x5545c1(_0x19f843,_0x281a54):_0x19f843,_0x107de8=_0x2c0fd9[_0x2bbe62(0x49c)]-0x1,_0x3585b4;_0x107de8>=0x0;_0x107de8--)(_0x3585b4=_0x2c0fd9[_0x107de8])&&(_0x5a1919=_0x3585b4(_0x5a1919)||_0x5a1919);return _0x5a1919;},_0x42c3f8=(_0x32cc32,_0x987b7a)=>(_0x11e297,_0x578558)=>_0x987b7a(_0x11e297,_0x578558,_0x32cc32);let _0x17ca61=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x17eb69,_0x361513,_0x26a05f,_0x3d317a,_0x273e3f){const _0x5e0693=_0x45f550;super(),_0x4775d1(this,_0x5e0693(0x238),[]),_0x4775d1(this,_0x5e0693(0x336),[]),(this[_0x5e0693(0x217)]=_0x17eb69,this[_0x5e0693(0x371)]=_0x361513,this[_0x5e0693(0x328)]=_0x26a05f,this[_0x5e0693(0x312)]=_0x3d317a,this[_0x5e0693(0x417)]=_0x273e3f,this[_0x5e0693(0x22b)]());}[_0x45f550(0x22b)](){const _0x16467b=_0x45f550,_0x4b103f=this[_0x16467b(0x217)][_0x16467b(0x1f8)],_0x10be9a=this[_0x16467b(0x371)];this[_0x16467b(0x30d)](_0x1068bb[_0x16467b(0x319)]([this['_collabCursorController']['getCollabCursors$'](_0x4b103f),this[_0x16467b(0x417)][_0x16467b(0x3a8)]])[_0x16467b(0x229)](_0x4ba09f['map'](([_0x59082c,_0x527603])=>({'skeleton':_0x10be9a['getSkeleton'](),'cursors':[..._0x59082c[_0x16467b(0x21c)]()][_0x16467b(0x307)](_0x1fd50b=>({..._0x1fd50b,'color':this[_0x16467b(0x417)]['getColorFromTheme'](_0x1fd50b[_0x16467b(0x2de)])}))})))[_0x16467b(0x43e)](_0x1dbb5c=>{const _0x553a01=_0x16467b;if(this[_0x553a01(0x329)](),_0x1dbb5c){const {skeleton:_0x3bf214,cursors:_0x5c174f}=_0x1dbb5c;this[_0x553a01(0x21a)](_0x3bf214,_0x5c174f);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x45f550(0x21a)](_0x5a3098,_0x48872f){const _0x21c5b7=_0x45f550,{scene:_0x42fbd0,mainComponent:_0x1e55d7}=this['_context'],_0x39a2c0=_0x48872f['map'](_0x5a3df4=>new _0x20f467(_0x5a3df4,_0x42fbd0,_0x5a3098,_0x1e55d7));this[_0x21c5b7(0x238)]=_0x39a2c0,this[_0x21c5b7(0x336)]=_0x48872f;}[_0x45f550(0x2eb)](){const _0x5271d9=_0x45f550;this[_0x5271d9(0x329)]();const {scene:_0x259d26,mainComponent:_0x29023a}=this[_0x5271d9(0x217)],_0x25335a=this['_docSkeletonManagerService'][_0x5271d9(0x42e)](),_0x5b29df=this[_0x5271d9(0x336)][_0x5271d9(0x2be)](_0x2cfe42=>new _0x20f467(_0x2cfe42,_0x259d26,_0x25335a,_0x29023a));this[_0x5271d9(0x238)]=_0x5b29df;}[_0x45f550(0x329)](){const _0x38b76a=_0x45f550;this[_0x38b76a(0x238)][_0x38b76a(0x315)](_0x2fe396=>_0x2fe396['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b9384=_0x45f550,_0xf7ae8c=[_0x1b81cc[_0x2b9384(0x3d3)]['id']];this['disposeWithMe'](this[_0x2b9384(0x312)]['onCommandExecuted'](_0x332e83=>{const _0x1d2c4d=_0x2b9384;_0xf7ae8c[_0x1d2c4d(0x291)](_0x332e83['id'])&&_0x332e83['params'][_0x1d2c4d(0x1f8)]===this[_0x1d2c4d(0x217)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x45f550(0x419)](){const _0x4a6ca4=_0x45f550;this[_0x4a6ca4(0x30d)](_0x1187a4[_0x4a6ca4(0x40e)](this[_0x4a6ca4(0x217)][_0x4a6ca4(0x49b)][_0x4a6ca4(0x22f)])[_0x4a6ca4(0x229)](_0x4ba09f[_0x4a6ca4(0x367)](_0x1fe248=>_0x1fe248[_0x4a6ca4(0x493)]===_0x52d8dc[_0x4a6ca4(0x1fa)][_0x4a6ca4(0x442)]),_0x4ba09f[_0x4a6ca4(0x2a2)](0x10))[_0x4a6ca4(0x43e)](()=>{this['_refreshCollabCursors']();}));}};_0x17ca61=_0x45f7d8([_0x42c3f8(0x1,_0x1187a4[_0x45f550(0x474)](_0x17f20c['DocSkeletonManagerService'])),_0x42c3f8(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x42c3f8(0x3,_0x1187a4[_0x45f550(0x2ab)]),_0x42c3f8(0x4,_0x1187a4['Inject'](_0x1187a4['ThemeService']))],_0x17ca61);const _0xae4647=0x1,_0x358b9a=1.5;class _0x377138 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5742d8,_0x1825ac){const _0x3463f0=_0x45f550;super(_0x5742d8,_0x1825ac),_0x4775d1(this,_0x3463f0(0x48f)),_0x4775d1(this,'_hovered',!0x1),_0x4775d1(this,_0x3463f0(0x29b)),_0x4775d1(this,'_name',''),_0x4775d1(this,_0x3463f0(0x250),_0x3463f0(0x305)),_0x4775d1(this,_0x3463f0(0x29e)),(_0x1825ac&&this[_0x3463f0(0x235)](_0x1825ac),this[_0x3463f0(0x2f0)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x0})),this[_0x3463f0(0x3b9)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x1})));}['setShapeProps'](_0x3515c5){const _0x220272=_0x45f550;var _0x807137,_0x4440dc,_0x1e7747,_0x1975db,_0x3feb38,_0x59dac1;this[_0x220272(0x48f)]=(_0x807137=_0x3515c5[_0x220272(0x2de)])!=null?_0x807137:this[_0x220272(0x48f)],this['_hovered']=(_0x4440dc=_0x3515c5[_0x220272(0x44e)])!=null?_0x4440dc:this[_0x220272(0x400)],this[_0x220272(0x29b)]=(_0x1e7747=_0x3515c5[_0x220272(0x41c)])!=null?_0x1e7747:this[_0x220272(0x29b)],this[_0x220272(0x25f)]=(_0x1975db=_0x3515c5[_0x220272(0x47f)])!=null?_0x1975db:this[_0x220272(0x25f)],this['_labelPosition']=(_0x3feb38=_0x3515c5['labelPosition'])!=null?_0x3feb38:this[_0x220272(0x250)],this['_backgroundColor']=(_0x59dac1=_0x3515c5[_0x220272(0x22d)])!=null?_0x59dac1:this[_0x220272(0x29e)],this[_0x220272(0x44d)]({'width':_0x3515c5[_0x220272(0x3d6)],'height':_0x3515c5[_0x220272(0x40f)]});}[_0x45f550(0x480)](_0x4770b8){const _0x463260=_0x45f550,{row:_0x26c45b,column:_0x1853f7}=_0x4770b8;if(_0x26c45b>=this[_0x463260(0x29b)][_0x463260(0x30b)]&&_0x26c45b<=this[_0x463260(0x29b)][_0x463260(0x211)]&&_0x1853f7>=this[_0x463260(0x29b)]['startColumn']&&_0x1853f7<=this[_0x463260(0x29b)][_0x463260(0x389)]){this[_0x463260(0x235)]({'hovered':!0x0});return;}this[_0x463260(0x235)]({'hovered':!0x1});}[_0x45f550(0x457)](_0x1bb43b){return!0x1;}[_0x45f550(0x257)](_0x4e80ba){const _0x4d2c58=_0x45f550;_0x52d8dc['Rect']['drawWith'](_0x4e80ba,{'width':this[_0x4d2c58(0x3d6)],'height':this[_0x4d2c58(0x40f)],'strokeWidth':_0x358b9a,'stroke':this[_0x4d2c58(0x48f)],'evented':!0x1,'fill':this[_0x4d2c58(0x29e)]}),this[_0x4d2c58(0x400)]&&(_0x4e80ba['save'](),_0x4e80ba[_0x4d2c58(0x3eb)](0x1,0x0,0x0,0x1,this[_0x4d2c58(0x3d6)],this[_0x4d2c58(0x250)]===_0x4d2c58(0x221)?0x0:-_0x17be04),_0x2978f3[_0x4d2c58(0x29c)](_0x4e80ba,{'text':this[_0x4d2c58(0x25f)],'color':this[_0x4d2c58(0x48f)]}),_0x4e80ba[_0x4d2c58(0x446)]());}}var _0x3c42d2=Object['getOwnPropertyDescriptor'],_0x15a7c3=(_0x392e63,_0x45602d,_0x1ce4d0,_0x1ef97e)=>{const _0x14d155=_0x45f550;for(var _0x215abd=_0x1ef97e>0x1?void 0x0:_0x1ef97e?_0x3c42d2(_0x45602d,_0x1ce4d0):_0x45602d,_0x310e3a=_0x392e63[_0x14d155(0x49c)]-0x1,_0x379e03;_0x310e3a>=0x0;_0x310e3a--)(_0x379e03=_0x392e63[_0x310e3a])&&(_0x215abd=_0x379e03(_0x215abd)||_0x215abd);return _0x215abd;},_0x2f7d3d=(_0xd8645a,_0x292ad3)=>(_0x10953d,_0x5bba3f)=>_0x292ad3(_0x10953d,_0x5bba3f,_0xd8645a);const _0x5148df=0x1389;let _0x43f6b3=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x77a16b,_0x15bbe8,_0x5e9ba5,_0x246d82){const _0x528988=_0x45f550;super(),_0x4775d1(this,_0x528988(0x336),new Set()),_0x4775d1(this,_0x528988(0x3f7),null),(this[_0x528988(0x217)]=_0x77a16b,this[_0x528988(0x35c)]=_0x15bbe8,this[_0x528988(0x328)]=_0x5e9ba5,this['_themeService']=_0x246d82,this[_0x528988(0x22b)]());}[_0x45f550(0x22b)](){const _0x3f0057=_0x45f550;this[_0x3f0057(0x35c)]['currentSkeleton$'][_0x3f0057(0x229)](_0x4ba09f[_0x3f0057(0x274)](this[_0x3f0057(0x2f8)]),_0x4ba09f[_0x3f0057(0x355)](_0x975fec=>{const _0xcfdcbf=_0x3f0057;if(_0x975fec){const _0x4d459a=_0x975fec['sheetId'];return _0x1068bb[_0xcfdcbf(0x319)](this['_collabCursorController'][_0xcfdcbf(0x2ae)](this[_0xcfdcbf(0x217)][_0xcfdcbf(0x1f8)]),this[_0xcfdcbf(0x417)][_0xcfdcbf(0x3a8)])[_0xcfdcbf(0x229)](_0x4ba09f[_0xcfdcbf(0x2be)](([_0x51d395,_0xc45db1])=>{const _0x3f02f0=_0xcfdcbf,_0x261142=new Map();return _0x51d395[_0x3f02f0(0x315)]((_0x10c688,_0x737d88)=>{const _0x171431=_0x3f02f0;if(_0x10c688[_0x171431(0x438)]===_0x4d459a){const _0x3285bd={..._0x10c688};_0x3285bd['color']=this[_0x171431(0x417)][_0x171431(0x299)](_0x10c688[_0x171431(0x2de)]),_0x261142[_0x171431(0x47c)](_0x737d88,_0x3285bd);}}),{'skeleton':_0x975fec,'cursors':_0x261142};}));}return _0x1068bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f0057(0x43e)](({skeleton:_0xaba89a,cursors:_0x1c7e60})=>{const _0x128fec=_0x3f0057;this[_0x128fec(0x329)](),_0xaba89a&&this[_0x128fec(0x21a)](_0xaba89a,_0x1c7e60);}),this['_sheetSkeletonManagerService'][_0x3f0057(0x356)]['subscribe'](_0x55c290=>{const _0x2bbf0d=_0x3f0057;if(_0x55c290==null)return;const {skeleton:_0x37b879}=_0x55c290,{scene:_0xce7979}=this[_0x2bbf0d(0x217)];_0xce7979[_0x2bbf0d(0x412)][_0x2bbf0d(0x435)](_0x1187a4['debounce'](_0x1a120d=>{const _0x4ff552=_0x2bbf0d;var _0x401c94,_0x356860;const {offsetX:_0x68c6b0,offsetY:_0x3ba564}=_0x1a120d,{x:_0x5852e4,y:_0x1b355a}=_0xce7979[_0x4ff552(0x2d9)](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x68c6b0,_0x3ba564])),{scaleX:_0x3b3841,scaleY:_0x1b3393}=_0xce7979[_0x4ff552(0x1e8)](),_0x31db6e=_0xce7979[_0x4ff552(0x273)](_0x52d8dc[_0x4ff552(0x320)]['VIEW_MAIN']),_0x31a313=_0xce7979['getVpScrollXYInfoByPosToVp'](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x5852e4,_0x1b355a]),_0x31db6e),_0x3c72f5=_0x37b879[_0x4ff552(0x264)](_0x68c6b0,_0x3ba564,_0x3b3841,_0x1b3393,_0x31a313);((_0x401c94=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x401c94[_0x4ff552(0x357)])===_0x3c72f5[_0x4ff552(0x357)]&&((_0x356860=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x356860[_0x4ff552(0x303)])===_0x3c72f5[_0x4ff552(0x303)]||this['_cursors'][_0x4ff552(0x315)](_0xea612c=>{_0xea612c['onMouseMove'](_0x3c72f5);});},0x64));});}['_updateCollabCursors'](_0x30bae5,_0x114afc){const _0x34d385=_0x45f550;var _0x21fbbb;const _0x2c9124=(_0x21fbbb=this[_0x34d385(0x35c)][_0x34d385(0x428)]())==null?void 0x0:_0x21fbbb[_0x34d385(0x1fe)];if(!_0x2c9124)return;const _0x27cb53=this['_getSheetObject']();if(!_0x27cb53)return;this[_0x34d385(0x336)]['forEach'](_0x2edcb9=>{const _0x4061cd=_0x34d385;_0x2edcb9[_0x4061cd(0x316)]();});const {scene:_0x8ecdad}=_0x27cb53,_0x926270=_0x4c0745(Array[_0x34d385(0x45e)](_0x114afc[_0x34d385(0x21c)]()))[_0x34d385(0x2be)](_0x51e23c=>{const _0x3c645c=_0x34d385,{color:_0x351c71,range:_0xe7e86,name:_0x4e9a1c,selection:_0x425be4,sheetID:_0x2e492d}=_0x51e23c,{startColumn:_0x2f2c64,startRow:_0x31516c,endColumn:_0x169628,endRow:_0x427e37}=_0xe7e86,_0x452ff7=_0x44ccda[_0x3c645c(0x42a)](_0x31516c,_0x2f2c64,_0x8ecdad,_0x2c9124),_0x4a7760=_0x44ccda[_0x3c645c(0x42a)](_0x427e37,_0x169628,_0x8ecdad,_0x2c9124),{columnHeaderHeightAndMarginTop:_0x3b5e94}=_0x2c9124,{startX:_0x336b8b,startY:_0xabf2ae}=_0x452ff7,{endX:_0x29ee4b,endY:_0x4e45f2}=_0x4a7760,_0x28dbbe=_0x29ee4b-_0x336b8b,_0x28e2e0=_0x4e45f2-_0xabf2ae,_0x18d54f={'labelPosition':_0xabf2ae-_0x3b5e94>=_0x17be04?_0x3c645c(0x305):'bottom','sheetID':_0x2e492d,'range':_0xe7e86,'color':_0x351c71,'name':_0x4e9a1c,'selection':_0x425be4,'left':_0x336b8b,'top':_0xabf2ae,'width':_0x28dbbe,'height':_0x28e2e0,'evented':!0x1,'zIndex':_0x5148df};return new _0x377138(_0x4e9a1c,_0x18d54f);});_0x8ecdad['addObjects'](_0x926270,_0xae4647),this['_cursors']=new Set(_0x926270);}[_0x45f550(0x329)](){const _0x5c60aa=_0x45f550;var _0x3a463e;(_0x3a463e=this[_0x5c60aa(0x336)])==null||_0x3a463e[_0x5c60aa(0x315)](_0x258ee8=>_0x258ee8[_0x5c60aa(0x244)]());}[_0x45f550(0x3c4)](){const _0x4f9d1e=_0x45f550;return _0x44ccda[_0x4f9d1e(0x243)](this['_context'][_0x4f9d1e(0x387)],this[_0x4f9d1e(0x217)]);}};_0x43f6b3=_0x15a7c3([_0x2f7d3d(0x1,_0x1187a4[_0x45f550(0x474)](_0x44ccda[_0x45f550(0x34d)])),_0x2f7d3d(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x2f7d3d(0x3,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3e9)]))],_0x43f6b3);function _0x4c0745(_0x32f508){const _0x204cd0=_0x45f550,_0x52e9d1=new Map();return _0x32f508[_0x204cd0(0x315)](_0x242d19=>{const _0x5c37f6=_0x204cd0;if(_0x52e9d1['has'](_0x242d19[_0x5c37f6(0x4a1)])){const _0x2d3cbc=_0x52e9d1[_0x5c37f6(0x4b4)](_0x242d19[_0x5c37f6(0x4a1)]);_0x2d3cbc[_0x5c37f6(0x47f)]+=',\x20'+_0x242d19[_0x5c37f6(0x47f)];}else _0x52e9d1[_0x5c37f6(0x47c)](_0x242d19[_0x5c37f6(0x4a1)],_0x242d19);}),Array[_0x204cd0(0x45e)](_0x52e9d1[_0x204cd0(0x21c)]());}var _0xba5bdf=Object[_0x45f550(0x38f)],_0x4e4eb7=(_0x18abf8,_0x211148,_0x3c2cd7,_0x136982)=>{const _0x1b2e2c=_0x45f550;for(var _0x1a1d10=_0x136982>0x1?void 0x0:_0x136982?_0xba5bdf(_0x211148,_0x3c2cd7):_0x211148,_0x1beaf5=_0x18abf8[_0x1b2e2c(0x49c)]-0x1,_0x46ed25;_0x1beaf5>=0x0;_0x1beaf5--)(_0x46ed25=_0x18abf8[_0x1beaf5])&&(_0x1a1d10=_0x46ed25(_0x1a1d10)||_0x1a1d10);return _0x1a1d10;},_0x24809d=(_0x1a8fa4,_0x3393f3)=>(_0x444ba8,_0x3c6253)=>_0x3393f3(_0x444ba8,_0x3c6253,_0x1a8fa4);let _0x3e8554=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x366c33,_0x40c9f2,_0x44feb6,_0x5759b5,_0x564fd3,_0x5bee14){const _0x193e9c=_0x45f550;super(),this[_0x193e9c(0x396)]=_0x366c33,this[_0x193e9c(0x27f)]=_0x40c9f2,this[_0x193e9c(0x2b4)]=_0x44feb6,this[_0x193e9c(0x2cd)]=_0x5759b5,this[_0x193e9c(0x46d)]=_0x564fd3,this['_localeService']=_0x5bee14,this['_setupBeforeClosingHandler'](),this[_0x193e9c(0x269)]();}['_setupBeforeClosingHandler'](){const _0x16fb21=_0x45f550;this[_0x16fb21(0x30d)](this[_0x16fb21(0x396)][_0x16fb21(0x308)](()=>{const _0x25a098=_0x16fb21;if(this[_0x25a098(0x27f)][_0x25a098(0x48e)][_0x25a098(0x427)])return this[_0x25a098(0x351)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x45f550(0x269)](){const _0x34950b=_0x45f550;this[_0x34950b(0x30d)](this[_0x34950b(0x2b4)][_0x34950b(0x239)][_0x34950b(0x43e)](_0x35ef9a=>{const _0x25535e=_0x34950b;_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x3b6)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x338))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x2c3)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x209))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x41d)]&&this[_0x25535e(0x46d)][_0x25535e(0x471)]({'title':this[_0x25535e(0x351)]['t'](_0x25535e(0x2e7)),'content':this['_localeService']['t'](_0x25535e(0x2d8)),'type':_0x25535e(0x310),'duration':0x0}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x38a)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4['MessageType'][_0x25535e(0x2c0)],'content':this['_localeService']['t'](_0x25535e(0x209))+'('+_0x35ef9a[_0x25535e(0x213)]+')'}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x406)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x4b5)],'content':this[_0x25535e(0x351)]['t'](_0x35ef9a[_0x25535e(0x213)]||'')}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x469)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this[_0x25535e(0x351)]['t']('session.will-retry')}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId'][_0x25535e(0x4a7)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Error'],'content':this['_localeService']['t'](_0x25535e(0x39d))}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x2c0)],'content':this[_0x25535e(0x351)]['t'](_0x25535e(0x4b1))});}));}};_0x3e8554=_0x4e4eb7([_0x24809d(0x0,_0x20024a[_0x45f550(0x399)]),_0x24809d(0x1,_0x2de05c[_0x45f550(0x348)]),_0x24809d(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x360)])),_0x24809d(0x3,_0x20024a[_0x45f550(0x392)]),_0x24809d(0x4,_0x20024a['INotificationService']),_0x24809d(0x5,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0x3e8554);const _0x3a1054=_0x45f550(0x402),_0x4af272={};var _0x3c1724=Object[_0x45f550(0x38f)],_0x41fe03=(_0x32f60c,_0x14c260,_0x503a15,_0xa510b1)=>{const _0x1762c4=_0x45f550;for(var _0x1bb24f=_0xa510b1>0x1?void 0x0:_0xa510b1?_0x3c1724(_0x14c260,_0x503a15):_0x14c260,_0x72c347=_0x32f60c[_0x1762c4(0x49c)]-0x1,_0x9d7650;_0x72c347>=0x0;_0x72c347--)(_0x9d7650=_0x32f60c[_0x72c347])&&(_0x1bb24f=_0x9d7650(_0x1bb24f)||_0x1bb24f);return _0x1bb24f;},_0x2dcfc8=(_0x263fec,_0x550f52)=>(_0x373ac0,_0x5e436a)=>_0x550f52(_0x373ac0,_0x5e436a,_0x263fec);let _0x444986=class{constructor(_0x4c553b,_0x2403a4){const _0x17da01=_0x45f550;this['_transformService']=_0x4c553b,this[_0x17da01(0x1f0)]=_0x2403a4;}[_0x45f550(0x24e)](_0xf16f0d){const _0x4105dc=_0x45f550;this[_0x4105dc(0x34c)](_0xf16f0d),this[_0x4105dc(0x3e3)](_0xf16f0d);}[_0x45f550(0x436)](_0x1408a6){const _0x3da2d9=_0x45f550,{unitID:_0x5a9206}=_0x1408a6,_0x95f431=this[_0x3da2d9(0x1f0)][_0x3da2d9(0x23e)](_0x5a9206)['with'](_0x1b81cc[_0x3da2d9(0x23c)]),{redoCache:_0x42e9e1}=_0x95f431[_0x3da2d9(0x37f)]();if(_0x42e9e1[_0x3da2d9(0x49c)]===0x0)return _0x1408a6;let _0x2651e1=_0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6[_0x3da2d9(0x3c1)][0x0]);for(let _0x144df8=0x0;_0x144df8<_0x42e9e1[_0x3da2d9(0x49c)];_0x144df8++){const _0x1c050b={'id':_0x3da2d9(0x492),'params':{..._0x42e9e1[_0x144df8]}},_0x540757=this[_0x3da2d9(0x47b)][_0x3da2d9(0x375)](_0x2651e1,_0x1c050b,!0x1);if(_0xa5f490[_0x3da2d9(0x46c)](_0x540757))throw _0x540757['error'];_0x2651e1=_0x540757[_0x3da2d9(0x2e6)];}return{..._0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6),'mutations':[_0x2651e1]};}[_0x45f550(0x34c)](_0x41abf5){const _0x2ede31=_0x45f550,{unitID:_0x15edfb}=_0x41abf5,_0x2e4ebe=this[_0x2ede31(0x1f0)]['getRenderById'](_0x15edfb)[_0x2ede31(0x25a)](_0x1b81cc['DocIMEInputManagerService']),{undoCache:_0xe42a89,redoCache:_0x1c6380}=_0x2e4ebe[_0x2ede31(0x37f)]();if(_0xe42a89[_0x2ede31(0x49c)]===0x0||_0x1c6380[_0x2ede31(0x49c)]===0x0)return;const _0x3e4bb8=[],_0x1f5589=[];let _0x556042=_0x1187a4[_0x2ede31(0x377)][_0x2ede31(0x2d0)](_0x41abf5['mutations'][0x0]),_0x25b2e4=_0x1187a4['Tools'][_0x2ede31(0x2d0)](_0x41abf5[_0x2ede31(0x3c1)][0x0]);for(let _0x29867f=_0xe42a89[_0x2ede31(0x49c)]-0x1;_0x29867f>=0x0;_0x29867f--){const _0x47b5f8={'id':_0x2ede31(0x492),'params':{..._0xe42a89[_0x29867f]}},_0x126a21={'id':_0x2ede31(0x492),'params':{..._0x1c6380[_0x29867f]}},_0x5b6d0d=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x556042,_0x47b5f8,!0x1),_0x8b4f2e=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x25b2e4,_0x126a21,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x5b6d0d))throw _0x5b6d0d[_0x2ede31(0x310)];if(_0xa5f490[_0x2ede31(0x46c)](_0x8b4f2e))throw _0x8b4f2e['error'];_0x3e4bb8['unshift'](_0x5b6d0d[_0x2ede31(0x421)][_0x2ede31(0x36f)]),_0x1f5589[_0x2ede31(0x248)](_0x8b4f2e[_0x2ede31(0x421)]['params']),_0x556042=_0x5b6d0d[_0x2ede31(0x2e6)],_0x25b2e4=_0x8b4f2e[_0x2ede31(0x2e6)];}_0x2e4ebe[_0x2ede31(0x352)]({'undoCache':_0x3e4bb8,'redoCache':_0x1f5589});}[_0x45f550(0x3e3)](_0x4bae5c){const _0x29210f=_0x45f550,{unitID:_0x45ad61}=_0x4bae5c,_0x1cb25d=this[_0x29210f(0x1f0)][_0x29210f(0x23e)](_0x45ad61)[_0x29210f(0x25a)](_0x1b81cc[_0x29210f(0x23c)]),_0x1aef4e=_0x1cb25d[_0x29210f(0x26d)]();if(_0x1aef4e==null)return;const _0x8825ef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bae5c[_0x29210f(0x332)],'actions':null,'textRanges':[_0x1aef4e]}}],_0x5f249b=this[_0x29210f(0x47b)][_0x29210f(0x1fd)](_0x4bae5c,_0x8825ef);if(!_0xa5f490[_0x29210f(0x216)](_0x5f249b))throw _0x5f249b['error'];const _0x2bc97a=_0x5f249b[_0x29210f(0x421)][0x0][_0x29210f(0x36f)][_0x29210f(0x22c)];Array[_0x29210f(0x37c)](_0x2bc97a)&&_0x2bc97a[_0x29210f(0x49c)]&&_0x1cb25d[_0x29210f(0x267)](_0x2bc97a[0x0]);}};_0x444986=_0x41fe03([_0x2dcfc8(0x0,_0xa5f490[_0x45f550(0x3bb)]),_0x2dcfc8(0x1,_0x52d8dc[_0x45f550(0x254)])],_0x444986);var _0x326908=Object['getOwnPropertyDescriptor'],_0x3c30c5=(_0xfba0ef,_0x2dbef2,_0x226565,_0x2dade6)=>{const _0x4ed5f9=_0x45f550;for(var _0x185f0f=_0x2dade6>0x1?void 0x0:_0x2dade6?_0x326908(_0x2dbef2,_0x226565):_0x2dbef2,_0x3c241d=_0xfba0ef[_0x4ed5f9(0x49c)]-0x1,_0x10ced2;_0x3c241d>=0x0;_0x3c241d--)(_0x10ced2=_0xfba0ef[_0x3c241d])&&(_0x185f0f=_0x10ced2(_0x185f0f)||_0x185f0f);return _0x185f0f;},_0x20e3c6=(_0x446d13,_0x469ffb)=>(_0x26505b,_0x5ece45)=>_0x469ffb(_0x26505b,_0x5ece45,_0x446d13);let _0x2f87dd=class{constructor(_0x5c46c7,_0x276c78,_0x2ce612){const _0x15ec9b=_0x45f550;this['_injector']=_0x5c46c7,this[_0x15ec9b(0x47b)]=_0x276c78,this[_0x15ec9b(0x289)]=_0x2ce612;}[_0x45f550(0x479)](_0x82260){const _0x21510b=_0x45f550;this[_0x21510b(0x3c3)](_0x82260);}[_0x45f550(0x436)](_0x9c707){const _0x50f6f9=_0x45f550,{unitID:_0x4ba1d8}=_0x9c707,{collaboration:_0x447a64}=this[_0x50f6f9(0x289)][_0x50f6f9(0x317)](_0x4ba1d8);if(_0x447a64['length']===0x0)return _0x9c707;let _0x17e137=_0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707[_0x50f6f9(0x3c1)][0x0]);for(let _0x6c104e=0x0;_0x6c104e<_0x447a64[_0x50f6f9(0x49c)];_0x6c104e++){const _0x20eebf={'id':_0x50f6f9(0x492),'params':{'unitId':_0x447a64[_0x6c104e][_0x50f6f9(0x1f8)],..._0x447a64[_0x6c104e][_0x50f6f9(0x32c)]}},_0x547c3c=this[_0x50f6f9(0x47b)]['transformMutation'](_0x17e137,_0x20eebf,!0x1);if(_0xa5f490[_0x50f6f9(0x46c)](_0x547c3c))throw _0x547c3c[_0x50f6f9(0x310)];_0x17e137=_0x547c3c['m1Prime'];}return{..._0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707),'mutations':[_0x17e137]};}[_0x45f550(0x3c3)](_0x173f20){const _0x36fefa=_0x45f550,{unitID:_0x4e58d3}=_0x173f20,{history:_0x37ce84,collaboration:_0x4f38cd}=this[_0x36fefa(0x289)][_0x36fefa(0x317)](_0x4e58d3);if(_0x37ce84[_0x36fefa(0x49c)]===0x0&&_0x4f38cd[_0x36fefa(0x49c)]===0x0)return;const _0x18bea3=[],_0x3c2ffd=[];let _0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)]['deepClone'](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x3d8754=_0x37ce84[_0x36fefa(0x49c)]-0x1;_0x3d8754>=0x0;_0x3d8754--){const _0x4921c6={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754][_0x36fefa(0x1f8)],..._0x37ce84[_0x3d8754][_0x36fefa(0x27b)]}},_0xb7e8bc={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754]['unitId'],..._0x37ce84[_0x3d8754][_0x36fefa(0x32c)]}},_0x231e9f=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x4921c6,!0x1),_0x1fece1=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0xb7e8bc,!0x1);if(_0xa5f490[_0x36fefa(0x46c)](_0x231e9f))throw _0x231e9f[_0x36fefa(0x310)];if(_0xa5f490['isTransformMutationFailure'](_0x1fece1))throw _0x1fece1[_0x36fefa(0x310)];_0x18bea3[_0x36fefa(0x248)]({..._0x37ce84[_0x3d8754],'undoState':_0x231e9f[_0x36fefa(0x421)]['params'],'redoState':_0x1fece1[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x231e9f[_0x36fefa(0x2e6)],_0x54f314=_0x1fece1[_0x36fefa(0x2e6)];}_0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x53d14a=_0x4f38cd['length']-0x1;_0x53d14a>=0x0;_0x53d14a--){const _0x1222f6={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a]['unitId'],..._0x4f38cd[_0x53d14a][_0x36fefa(0x27b)]}},_0x29f0c1={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a][_0x36fefa(0x1f8)],..._0x4f38cd[_0x53d14a][_0x36fefa(0x32c)]}},_0x4e5749=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x1222f6,!0x1),_0x445e96=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0x29f0c1,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x4e5749))throw _0x4e5749[_0x36fefa(0x310)];if(_0xa5f490[_0x36fefa(0x46c)](_0x445e96))throw _0x445e96['error'];_0x3c2ffd[_0x36fefa(0x248)]({..._0x4f38cd[_0x53d14a],'undoState':_0x4e5749[_0x36fefa(0x421)][_0x36fefa(0x36f)],'redoState':_0x445e96[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x4e5749[_0x36fefa(0x2e6)],_0x54f314=_0x445e96[_0x36fefa(0x2e6)];}this[_0x36fefa(0x289)][_0x36fefa(0x3e1)](_0x4e58d3,{'history':_0x18bea3,'collaboration':_0x3c2ffd});}};_0x2f87dd=_0x3c30c5([_0x20e3c6(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x20e3c6(0x1,_0xa5f490['ITransformService']),_0x20e3c6(0x2,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)]))],_0x2f87dd);var _0x3d1a45=Object[_0x45f550(0x38f)],_0x467ce9=(_0x3de351,_0xa8635,_0xc29e50,_0x469614)=>{const _0x403752=_0x45f550;for(var _0x2c6835=_0x469614>0x1?void 0x0:_0x469614?_0x3d1a45(_0xa8635,_0xc29e50):_0xa8635,_0x828a1f=_0x3de351[_0x403752(0x49c)]-0x1,_0x24798d;_0x828a1f>=0x0;_0x828a1f--)(_0x24798d=_0x3de351[_0x828a1f])&&(_0x2c6835=_0x24798d(_0x2c6835)||_0x2c6835);return _0x2c6835;},_0x299e07=(_0x4ebdd0,_0x38bc48)=>(_0x31a247,_0x2e5de7)=>_0x38bc48(_0x31a247,_0x2e5de7,_0x4ebdd0);let _0xab804=class{constructor(_0x6fe31c,_0x38dcc7){const _0x465fb8=_0x45f550;this[_0x465fb8(0x234)]=_0x6fe31c,this[_0x465fb8(0x47b)]=_0x38dcc7;}[_0x45f550(0x31e)](_0xa41fc1){const _0x1ab290=_0x45f550;var _0x4bf8cb;const _0x563f04=this[_0x1ab290(0x234)][_0x1ab290(0x4b4)](_0x17f20c[_0x1ab290(0x2df)]),_0x2f3987=(_0x4bf8cb=_0x563f04[_0x1ab290(0x321)]())!=null?_0x4bf8cb:[];if(_0x2f3987['length']===0x0)return;const _0x13f8da=_0xa41fc1[_0x1ab290(0x332)],_0x1a2d5f=[{'id':_0x1ab290(0x492),'params':{'unitId':_0x13f8da,'actions':null,'textRanges':_0x2f3987}}],_0x1c3091=this['_transformService']['transformMutationsWithChangeset'](_0xa41fc1,_0x1a2d5f);if(!_0xa5f490['isTransformMutationsWithChangesetSuccess'](_0x1c3091))throw _0x1c3091[_0x1ab290(0x310)];const _0x5a43e4=_0x1c3091[_0x1ab290(0x421)][0x0][_0x1ab290(0x36f)][_0x1ab290(0x22c)];Array[_0x1ab290(0x37c)](_0x5a43e4)&&_0x5a43e4[_0x1ab290(0x49c)]&&_0x563f04['replaceDocRanges'](_0x5a43e4,{'unitId':_0x13f8da,'subUnitId':_0x13f8da},!0x1);}};_0xab804=_0x467ce9([_0x299e07(0x0,_0x1187a4['Inject'](_0x1187a4[_0x45f550(0x2bc)])),_0x299e07(0x1,_0xa5f490[_0x45f550(0x3bb)])],_0xab804);var _0xdb65a5=Object['getOwnPropertyDescriptor'],_0x2ce73c=(_0x3aa6f4,_0x450567,_0x5d92f8,_0x1f55e8)=>{const _0x1adf8d=_0x45f550;for(var _0x5b341e=_0x1f55e8>0x1?void 0x0:_0x1f55e8?_0xdb65a5(_0x450567,_0x5d92f8):_0x450567,_0xbb346d=_0x3aa6f4[_0x1adf8d(0x49c)]-0x1,_0x102985;_0xbb346d>=0x0;_0xbb346d--)(_0x102985=_0x3aa6f4[_0xbb346d])&&(_0x5b341e=_0x102985(_0x5b341e)||_0x5b341e);return _0x5b341e;},_0x1c4ea2=(_0x348cb2,_0x3513da)=>(_0x4e23cb,_0x436baa)=>_0x3513da(_0x4e23cb,_0x436baa,_0x348cb2);let _0x1643ec=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x95267d,_0x1831e8,_0x480395,_0x422dba,_0x5887ba,_0x4def4d,_0xc71ac5,_0x5ef1bd){const _0x2c9748=_0x45f550;super(),_0x4775d1(this,_0x2c9748(0x2f6),new _0x1068bb[(_0x2c9748(0x390))](_0x2de05c[_0x2c9748(0x2f5)]['NOT_COLLAB'])),(this[_0x2c9748(0x289)]=_0x95267d,this[_0x2c9748(0x1e7)]=_0x1831e8,this[_0x2c9748(0x454)]=_0x480395,this[_0x2c9748(0x2e4)]=_0x422dba,this[_0x2c9748(0x460)]=_0x5887ba,this[_0x2c9748(0x241)]=_0x4def4d,this[_0x2c9748(0x2cd)]=_0xc71ac5,this[_0x2c9748(0x351)]=_0x5ef1bd,this[_0x2c9748(0x224)]());}[_0x45f550(0x224)](){const _0xce81ba=_0x45f550;this['disposeWithMe'](this[_0xce81ba(0x1e7)]['entityInit$'][_0xce81ba(0x43e)](_0x561113=>{const _0x5783cd=_0xce81ba,_0x4ae436=this[_0x5783cd(0x289)][_0x5783cd(0x28a)][_0x5783cd(0x43e)](_0x4bd07f=>{const _0x32b0db=_0x5783cd;if(_0x4bd07f==null)return;const {unitId:_0x30a875,redoState:_0x1dc18e,commandId:_0x33e61a}=_0x4bd07f;if(_0x30a875!==_0x561113[_0x32b0db(0x332)])return;const _0x29846f={'id':_0x33e61a,'type':_0x1187a4[_0x32b0db(0x28e)][_0x32b0db(0x425)],'params':{'unitId':_0x30a875,'actions':_0x1dc18e[_0x32b0db(0x34f)],'textRanges':null}};_0x561113[_0x32b0db(0x46b)](_0x29846f);});if(_0x561113[_0x5783cd(0x30d)](_0x4ae436),_0x561113 instanceof _0x2de05c[_0x5783cd(0x21d)]){const _0xe50d06={'onTransformIME':_0x9ac2=>this[_0x5783cd(0x454)][_0x5783cd(0x24e)](_0x9ac2),'onTransformState':_0x3a7433=>this['_docTransformStateCacheService'][_0x5783cd(0x479)](_0x3a7433),'onTransformSelections':_0x5369fd=>this[_0x5783cd(0x460)]['transformSelections'](_0x5369fd),'onSyncEditingCollabCursor':_0x2c0d12=>this[_0x5783cd(0x241)][_0x5783cd(0x249)](_0x2c0d12),'onTransformRemoteChangesetByIMECache':_0x2fae36=>this[_0x5783cd(0x454)][_0x5783cd(0x436)](_0x2fae36),'onTransformRemoteChangesetByStateCache':_0x190f2a=>this[_0x5783cd(0x2e4)]['transformRemoteChangeset'](_0x190f2a)};_0x561113[_0x5783cd(0x21e)](_0xe50d06);}}));}};_0x1643ec=_0x2ce73c([_0x1c4ea2(0x0,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)])),_0x1c4ea2(0x1,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x1c4ea2(0x2,_0x1187a4['Inject'](_0x444986)),_0x1c4ea2(0x3,_0x1187a4[_0x45f550(0x474)](_0x2f87dd)),_0x1c4ea2(0x4,_0x1187a4['Inject'](_0xab804)),_0x1c4ea2(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x1c4ea2(0x6,_0x20024a[_0x45f550(0x392)]),_0x1c4ea2(0x7,_0x1187a4['Inject'](_0x1187a4['LocaleService']))],_0x1643ec);var _0x44e248=(_0x1701ca=>(_0x1701ca[_0x1701ca[_0x45f550(0x408)]=0x0]='UNDEFINED',_0x1701ca[_0x1701ca['OK']=0x1]='OK',_0x1701ca[_0x1701ca[_0x45f550(0x1f6)]=0x2]='INTERNAL_ERROR',_0x1701ca[_0x1701ca[_0x45f550(0x41d)]=0x3]=_0x45f550(0x41d),_0x1701ca[_0x1701ca[_0x45f550(0x203)]=0x4]=_0x45f550(0x203),_0x1701ca[_0x1701ca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1701ca[_0x1701ca['ALREADY_EXISTS']=0x6]=_0x45f550(0x3b2),_0x1701ca[_0x1701ca[_0x45f550(0x290)]=0x7]=_0x45f550(0x290),_0x1701ca[_0x1701ca[_0x45f550(0x33b)]=0x8]=_0x45f550(0x33b),_0x1701ca[_0x1701ca['COMPLETION_FINISHED']=0x9]=_0x45f550(0x36b),_0x1701ca[_0x1701ca[_0x45f550(0x3d2)]=0xa]=_0x45f550(0x3d2),_0x1701ca[_0x1701ca[_0x45f550(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1701ca[_0x1701ca[_0x45f550(0x27e)]=0xc]=_0x45f550(0x27e),_0x1701ca[_0x1701ca[_0x45f550(0x29d)]=0xd]=_0x45f550(0x29d),_0x1701ca[_0x1701ca[_0x45f550(0x477)]=0xe]=_0x45f550(0x477),_0x1701ca[_0x1701ca['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1701ca[_0x1701ca[_0x45f550(0x44c)]=0x10]=_0x45f550(0x44c),_0x1701ca[_0x1701ca[_0x45f550(0x3f1)]=0x64]=_0x45f550(0x3f1),_0x1701ca[_0x1701ca[_0x45f550(0x21f)]=0x65]='ERROR_AGAIN',_0x1701ca[_0x1701ca['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1701ca[_0x1701ca[_0x45f550(0x445)]=0xca]='USER_IS_ANONYMOUS',_0x1701ca[_0x1701ca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45f550(0x439),_0x1701ca[_0x1701ca[_0x45f550(0x401)]=0x1771]=_0x45f550(0x401),_0x1701ca[_0x1701ca[_0x45f550(0x278)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1701ca[_0x1701ca[_0x45f550(0x365)]=0x1773]=_0x45f550(0x365),_0x1701ca[_0x1701ca[_0x45f550(0x2ba)]=0x1b59]=_0x45f550(0x2ba),_0x1701ca[_0x1701ca[_0x45f550(0x339)]=0x1b5a]=_0x45f550(0x339),_0x1701ca[_0x1701ca[_0x45f550(0x41b)]=0x1b5b]=_0x45f550(0x41b),_0x1701ca[_0x1701ca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45f550(0x33a),_0x1701ca[_0x1701ca[_0x45f550(0x2fc)]=0x1b5d]=_0x45f550(0x2fc),_0x1701ca[_0x1701ca[_0x45f550(0x46e)]=0x1f41]=_0x45f550(0x46e),_0x1701ca[_0x1701ca['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1701ca[_0x1701ca[_0x45f550(0x233)]=0x232a]=_0x45f550(0x233),_0x1701ca[_0x1701ca[_0x45f550(0x3ed)]=0x232b]=_0x45f550(0x3ed),_0x1701ca[_0x1701ca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45f550(0x4ad),_0x1701ca[_0x1701ca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x45f550(0x2f1),_0x1701ca[_0x1701ca['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1701ca[_0x1701ca[_0x45f550(0x426)]=0x2712]=_0x45f550(0x426),_0x1701ca[_0x1701ca[_0x45f550(0x369)]=0x2713]=_0x45f550(0x369),_0x1701ca[_0x1701ca[_0x45f550(0x41e)]=0x2714]=_0x45f550(0x41e),_0x1701ca[_0x1701ca[_0x45f550(0x347)]=0x271a]=_0x45f550(0x347),_0x1701ca[_0x1701ca[_0x45f550(0x280)]=0x271b]=_0x45f550(0x280),_0x1701ca[_0x1701ca[_0x45f550(0x497)]=0x271c]=_0x45f550(0x497),_0x1701ca[_0x1701ca[_0x45f550(0x1ee)]=0x271d]=_0x45f550(0x1ee),_0x1701ca[_0x1701ca['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1701ca[_0x1701ca['YUUMI_AI_RUN_FAILED']=0x271f]=_0x45f550(0x276),_0x1701ca[_0x1701ca[_0x45f550(0x3d9)]=0x2720]=_0x45f550(0x3d9),_0x1701ca[_0x1701ca[_0x45f550(0x464)]=0x2af9]=_0x45f550(0x464),_0x1701ca[_0x1701ca[_0x45f550(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1701ca[_0x1701ca[_0x45f550(0x4b2)]=0x2ee2]=_0x45f550(0x4b2),_0x1701ca[_0x1701ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x45f550(0x463),_0x1701ca[_0x1701ca[_0x45f550(0x327)]=0x2ee4]=_0x45f550(0x327),_0x1701ca[_0x1701ca[_0x45f550(0x219)]=0x2ee5]=_0x45f550(0x219),_0x1701ca[_0x1701ca[_0x45f550(0x403)]=0x32c9]=_0x45f550(0x403),_0x1701ca[_0x1701ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1701ca[_0x1701ca[_0x45f550(0x451)]=0x32cb]=_0x45f550(0x451),_0x1701ca[_0x1701ca[_0x45f550(0x2d1)]=0x36b1]=_0x45f550(0x2d1),_0x1701ca[_0x1701ca[_0x45f550(0x410)]=0x36b2]=_0x45f550(0x410),_0x1701ca[_0x1701ca[_0x45f550(0x2f4)]=0x36b3]=_0x45f550(0x2f4),_0x1701ca[_0x1701ca['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x45f550(0x3a5),_0x1701ca[_0x1701ca[_0x45f550(0x341)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1701ca[_0x1701ca[_0x45f550(0x1ec)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1701ca[_0x1701ca['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x45f550(0x20b),_0x1701ca[_0x1701ca['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1701ca[_0x1701ca[_0x45f550(0x1ea)]=0x3a99]=_0x45f550(0x1ea),_0x1701ca[_0x1701ca['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1701ca[_0x1701ca[_0x45f550(0x230)]=0x3a9b]=_0x45f550(0x230),_0x1701ca[_0x1701ca[_0x45f550(0x39f)]=0x3a9c]=_0x45f550(0x39f),_0x1701ca[_0x1701ca['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x45f550(0x38b),_0x1701ca[_0x1701ca[_0x45f550(0x2c1)]=0x3a9e]=_0x45f550(0x2c1),_0x1701ca[_0x1701ca[_0x45f550(0x1ef)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1701ca[_0x1701ca[_0x45f550(0x40d)]=0x3e81]=_0x45f550(0x40d),_0x1701ca[_0x1701ca[_0x45f550(0x415)]=-0x1]=_0x45f550(0x415),_0x1701ca))(_0x44e248||{});function _0x208711(_0x21da35){const _0x70309d=_0x45f550;var _0x1bc432,_0x1dcb67;const _0x5b7ed0=(_0x1bc432=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1bc432[_0x70309d(0x4a5)],_0x578566=((_0x1dcb67=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1dcb67[_0x70309d(0x3d5)])||0x0;return _0x5b7ed0===_0xbede2[_0x70309d(0x275)][_0x70309d(0x3b1)]&&_0x578566>0x0;}function _0x4d2fe3(_0x197053){const _0x10ace1=_0x45f550;return _0x197053['functionsExecutedState']===_0xbede2[_0x10ace1(0x2ea)][_0x10ace1(0x368)];}var _0x60090e=Object['getOwnPropertyDescriptor'],_0x939a4b=(_0x3e0f66,_0xb9b02c,_0x5617e8,_0x5330d5)=>{const _0x5035c9=_0x45f550;for(var _0x122af9=_0x5330d5>0x1?void 0x0:_0x5330d5?_0x60090e(_0xb9b02c,_0x5617e8):_0xb9b02c,_0x47c90c=_0x3e0f66[_0x5035c9(0x49c)]-0x1,_0x283860;_0x47c90c>=0x0;_0x47c90c--)(_0x283860=_0x3e0f66[_0x47c90c])&&(_0x122af9=_0x283860(_0x122af9)||_0x122af9);return _0x122af9;},_0xb1cbc9=(_0x2b2b32,_0x25a3c5)=>(_0xb1aaaa,_0x346642)=>_0x25a3c5(_0xb1aaaa,_0x346642,_0x2b2b32);const _0x2be216=_0x45f550(0x3f0),_0x492bae='/universer-api/license/formula/limit/start',_0x129797='/universer-api/license/formula/limit/done';let _0xb47647=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x2fda2e,_0x4c56b5,_0x10319d,_0x240c24,_0x3e00a0,_0x853e11,_0x5811f1){const _0x58092d=_0x45f550;super(),_0x4775d1(this,_0x58092d(0x3dd),null),_0x4775d1(this,_0x58092d(0x4a9),0x0),_0x4775d1(this,_0x58092d(0x3be),0x0),_0x4775d1(this,'_taskIds',[]),_0x4775d1(this,_0x58092d(0x4a8),0x0),(this[_0x58092d(0x2cd)]=_0x2fda2e,this['_commandService']=_0x4c56b5,this['_configService']=_0x10319d,this[_0x58092d(0x433)]=_0x240c24,this[_0x58092d(0x225)]=_0x3e00a0,this[_0x58092d(0x3bc)]=_0x853e11,this[_0x58092d(0x351)]=_0x5811f1,this[_0x58092d(0x4b0)]());}[_0x45f550(0x4b0)](){const _0x2a9760=_0x45f550;this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)][_0x2a9760(0x205)]((_0x51579e,_0x1f4cb2)=>{const _0x2ad99e=_0x2a9760;var _0x35e065;if(_0x51579e['id']!==_0xbede2[_0x2ad99e(0x2a7)]['id'])return;const _0x2df50d=_0x51579e['params'];if(!this[_0x2ad99e(0x326)]((_0x35e065=_0x2df50d['dirtyRanges'])!=null?_0x35e065:[]))return;if(!this[_0x2ad99e(0x3a9)]())throw this['_checkAndWaitForCalculationPermission'](_0x51579e,_0x1f4cb2),this[_0x2ad99e(0x3ab)](),new _0x1187a4[(_0x2ad99e(0x2b2))]();})),this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)]['onCommandExecuted']((_0x1a55d9,_0x542101)=>{const _0x520ae5=_0x2a9760;if(_0x1a55d9['id']!==_0xbede2[_0x520ae5(0x48a)]['id'])return;const _0x4322fa=_0x1a55d9[_0x520ae5(0x36f)];if(_0x208711(_0x4322fa)){const _0x2c9236=_0x1187a4['generateRandomId']();this[_0x520ae5(0x362)]['push'](_0x2c9236),this['_startCalculationLimit'](_0x2c9236);}else{if(_0x4d2fe3(_0x4322fa)&&this[_0x520ae5(0x362)]['length']>0x0){const _0xeb3142=this[_0x520ae5(0x362)][_0x520ae5(0x440)]();this[_0x520ae5(0x476)](_0xeb3142);}}}));}[_0x45f550(0x244)](){const _0xa6ec0b=_0x45f550;super['dispose'](),this[_0xa6ec0b(0x4ab)](),this['_taskIds']=[],this[_0xa6ec0b(0x3be)]=0x0,this[_0xa6ec0b(0x4a9)]=0x0,this[_0xa6ec0b(0x4a8)]=0x0;}async[_0x45f550(0x404)](_0x3c7c25,_0x2fde0b){const _0x357a08=_0x45f550;for(let _0x1da33a=0x0;_0x1da33a<0x1e;_0x1da33a++)try{if(await this[_0x357a08(0x3b3)](),this[_0x357a08(0x3a9)]()){this[_0x357a08(0x35e)](_0x3c7c25,_0x2fde0b),this['_messageService']['show']({'content':this[_0x357a08(0x351)]['t']('formula.calculation.started'),'type':_0x64dbc4[_0x357a08(0x272)][_0x357a08(0x288)]});return;}await new Promise(_0xdb6305=>{const _0x3ef824=_0x357a08;this[_0x3ef824(0x3dd)]=window[_0x3ef824(0x232)](_0xdb6305,0x3e8);});}catch(_0x5bf3af){this[_0x357a08(0x3bc)][_0x357a08(0x310)](_0x5bf3af);}this[_0x357a08(0x2cd)][_0x357a08(0x471)]({'content':this['_localeService']['t'](_0x357a08(0x218)),'type':_0x64dbc4[_0x357a08(0x272)]['Error']});}[_0x45f550(0x35e)](_0x4318fa,_0x53eeaa){const _0x2dd209=_0x45f550;try{this[_0x2dd209(0x312)][_0x2dd209(0x270)](_0x4318fa['id'],_0x4318fa['params'],_0x53eeaa);}catch(_0x5b3c02){this[_0x2dd209(0x3bc)][_0x2dd209(0x310)](_0x5b3c02);}}['_setFormulaLimitStatus'](_0x48f581,_0x5616c8){const _0xd08e3e=_0x45f550;_0x5616c8<this[_0xd08e3e(0x4a8)]||(this[_0xd08e3e(0x4a8)]=_0x5616c8,this[_0xd08e3e(0x4a9)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x253)]),this[_0xd08e3e(0x3be)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x3aa)]));}async['_startCalculationLimit'](_0x18c90a){const _0x5d7a7a=_0x45f550;var _0x4d60a1,_0x680cd;const _0x2e8a22=Date[_0x5d7a7a(0x2b1)]();try{const _0x403e18=((_0x4d60a1=this['_configService'][_0x5d7a7a(0x31c)](_0x2de05c[_0x5d7a7a(0x388)]))==null?void 0x0:_0x4d60a1['startFormulaLimitUrl'])||_0x492bae,_0xf1141=(await this[_0x5d7a7a(0x433)][_0x5d7a7a(0x382)](_0x403e18,{'body':JSON[_0x5d7a7a(0x2b6)]({'taskId':_0x18c90a})}))['body'];if(((_0x680cd=_0xf1141[_0x5d7a7a(0x310)])==null?void 0x0:_0x680cd['code'])!==_0x44e248['OK'])return;this[_0x5d7a7a(0x378)](_0xf1141['limitInfo'],_0x2e8a22);}catch(_0x47ff26){this['_logService'][_0x5d7a7a(0x310)](_0x47ff26);}}async['_getFormulaLimitStatus'](_0x3b4f7a){const _0x40c01d=_0x45f550;var _0x33d06c,_0x79511f;const _0x2ed8a6=Date[_0x40c01d(0x2b1)]();try{const _0x4a62d2=((_0x33d06c=this[_0x40c01d(0x35d)][_0x40c01d(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x33d06c['getformulaLimitStatusUrl'])||_0x2be216,_0x516cab=_0x3b4f7a?_0x4a62d2+_0x40c01d(0x258)+encodeURIComponent(_0x3b4f7a):_0x4a62d2,_0x19f4d4=(await this[_0x40c01d(0x433)][_0x40c01d(0x4b4)](_0x516cab))[_0x40c01d(0x462)];if(((_0x79511f=_0x19f4d4['error'])==null?void 0x0:_0x79511f[_0x40c01d(0x28b)])!==_0x44e248['OK'])return;this['_setFormulaLimitStatus'](_0x19f4d4[_0x40c01d(0x2db)],_0x2ed8a6);}catch(_0x4e193b){this['_logService'][_0x40c01d(0x310)](_0x4e193b);}}async[_0x45f550(0x476)](_0x1a7f8f){const _0x5f26fb=_0x45f550;var _0x29097b,_0x5375df;const _0x5ea3b9=Date[_0x5f26fb(0x2b1)]();try{const _0x39b959=((_0x29097b=this[_0x5f26fb(0x35d)][_0x5f26fb(0x31c)](_0x2de05c[_0x5f26fb(0x388)]))==null?void 0x0:_0x29097b[_0x5f26fb(0x23f)])||_0x129797,_0x5575a3=(await this['_httpService'][_0x5f26fb(0x382)](_0x39b959,{'body':JSON['stringify']({'taskId':_0x1a7f8f})}))['body'];if(((_0x5375df=_0x5575a3[_0x5f26fb(0x310)])==null?void 0x0:_0x5375df[_0x5f26fb(0x28b)])!==_0x44e248['OK'])return;this[_0x5f26fb(0x378)](_0x5575a3[_0x5f26fb(0x2db)],_0x5ea3b9);}catch(_0x41770d){this['_logService'][_0x5f26fb(0x310)](_0x41770d);}}[_0x45f550(0x3a9)](){const _0x253a55=_0x45f550;return this[_0x253a55(0x4a9)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x253a55(0x3be)]>0x0;}[_0x45f550(0x4ab)](){const _0x5e7be9=_0x45f550;this[_0x5e7be9(0x3dd)]&&(clearTimeout(this[_0x5e7be9(0x3dd)]),this[_0x5e7be9(0x3dd)]=null);}[_0x45f550(0x3ab)](){const _0x28947a=_0x45f550;this[_0x28947a(0x2cd)][_0x28947a(0x471)]({'content':this['_localeService']['t'](_0x28947a(0x23b)),'type':_0x64dbc4[_0x28947a(0x272)][_0x28947a(0x2d7)]});}[_0x45f550(0x326)](_0x4fbc96){const _0x5df14e=_0x45f550;for(const _0x955315 of _0x4fbc96){const {unitId:_0x4430c4,sheetId:_0x284860,range:_0x5ab56c}=_0x955315,_0xb9c1d7=this[_0x5df14e(0x225)][_0x5df14e(0x1eb)](_0x4430c4);if(!_0xb9c1d7)continue;const _0x353fb0=_0xb9c1d7[_0x5df14e(0x3f2)](_0x284860);if(!_0x353fb0)continue;const _0x175fb1=_0x353fb0['getCellMatrix']();for(let _0x1ef36c=_0x5ab56c[_0x5df14e(0x30b)];_0x1ef36c<=_0x5ab56c['endRow'];_0x1ef36c++)for(let _0x5f2f09=_0x5ab56c[_0x5df14e(0x422)];_0x5f2f09<=_0x5ab56c[_0x5df14e(0x389)];_0x5f2f09++){const _0x2b7999=_0x175fb1['getValue'](_0x1ef36c,_0x5f2f09);if(_0x2b7999&&(_0x1187a4[_0x5df14e(0x3ba)](_0x2b7999['f'])||_0x1187a4[_0x5df14e(0x2f9)](_0x2b7999['si'])))return!0x0;}}return!0x1;}};_0xb47647=_0x939a4b([_0xb1cbc9(0x0,_0x1187a4[_0x45f550(0x474)](_0x20024a[_0x45f550(0x392)])),_0xb1cbc9(0x1,_0x1187a4[_0x45f550(0x2ab)]),_0xb1cbc9(0x2,_0x1187a4[_0x45f550(0x45b)]),_0xb1cbc9(0x3,_0x1187a4['Inject'](_0x391b32[_0x45f550(0x3e0)])),_0xb1cbc9(0x4,_0x1187a4[_0x45f550(0x3a0)]),_0xb1cbc9(0x5,_0x1187a4['ILogService']),_0xb1cbc9(0x6,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0xb47647);var _0x5ab35f=Object[_0x45f550(0x38f)],_0x27e759=(_0x2b3f77,_0x270252,_0x17dd62,_0x1a2947)=>{const _0x46694b=_0x45f550;for(var _0x18a8d8=_0x1a2947>0x1?void 0x0:_0x1a2947?_0x5ab35f(_0x270252,_0x17dd62):_0x270252,_0x50212a=_0x2b3f77[_0x46694b(0x49c)]-0x1,_0x393a02;_0x50212a>=0x0;_0x50212a--)(_0x393a02=_0x2b3f77[_0x50212a])&&(_0x18a8d8=_0x393a02(_0x18a8d8)||_0x18a8d8);return _0x18a8d8;},_0x1e0cfd=(_0x1bb523,_0x403dbe)=>(_0x54f1df,_0x138eaf)=>_0x403dbe(_0x54f1df,_0x138eaf,_0x1bb523);let _0x59bd78=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3f2645,_0x10dcf5,_0x101355){const _0x1fd771=_0x45f550;super(),_0x4775d1(this,_0x1fd771(0x3ca),new Map()),_0x4775d1(this,_0x1fd771(0x266),new Map()),_0x4775d1(this,'_disabled',!0x1),(this[_0x1fd771(0x35d)]=_0x3f2645,this[_0x1fd771(0x47d)]=_0x10dcf5,this[_0x1fd771(0x286)]=_0x101355);}[_0x45f550(0x30f)](){const _0x1720ee=_0x45f550;this[_0x1720ee(0x3c8)]=!0x0;}['enableLocalCache'](){const _0x1e5017=_0x45f550;this[_0x1e5017(0x3c8)]=!0x1;}get[_0x45f550(0x48e)](){return this['_saveTaskMap'];}[_0x45f550(0x244)](){const _0x4b7c16=_0x45f550;this[_0x4b7c16(0x40a)]()['then'](()=>super[_0x4b7c16(0x244)]());}async['loadOfflineData'](_0xa30f8){const _0x1d4241=_0x45f550;return this[_0x1d4241(0x3c8)]?null:this[_0x1d4241(0x47d)][_0x1d4241(0x449)](_0x2de05c[_0x1d4241(0x1f4)](_0xa30f8));}async[_0x45f550(0x3da)](_0x4f64a9,_0x52f347){const _0x30030a=_0x45f550;return!!this[_0x30030a(0x47d)][_0x30030a(0x4af)](_0x4f64a9,_0x52f347);}[_0x45f550(0x24b)](_0x239820,_0x2b5b99,_0x1f89dd,_0x150e37){const _0x190f1f=_0x45f550,_0x28782d=this[_0x190f1f(0x286)]['getCurrentRevOfUnit'](_0x239820);this[_0x190f1f(0x3ca)][_0x190f1f(0x47c)](_0x239820,{'unitID':_0x239820,'type':_0x2b5b99,'awaitingChangeset':_0x1f89dd,'mutations':_0x150e37,'rev':_0x28782d}),this[_0x190f1f(0x266)][_0x190f1f(0x478)](_0x239820)||this[_0x190f1f(0x41a)](_0x239820);}[_0x45f550(0x41a)](_0x1e0dde){const _0xec77dc=_0x45f550,_0x3f81c9=this[_0xec77dc(0x306)]();_0x3f81c9===0x0?this[_0xec77dc(0x483)](_0x1e0dde):this[_0xec77dc(0x266)]['set'](_0x1e0dde,setTimeout(()=>this[_0xec77dc(0x483)](_0x1e0dde),_0x3f81c9));}[_0x45f550(0x306)](){const _0x9502a2=_0x45f550;var _0x2b0b8d;return(_0x2b0b8d=this[_0x9502a2(0x35d)][_0x9502a2(0x31c)](_0x2de05c[_0x9502a2(0x361)]))!=null?_0x2b0b8d:_0x2de05c[_0x9502a2(0x2f2)];}['_saveCache'](_0x4fb0a8){const _0x1aeed2=_0x45f550,_0x3e6394=this[_0x1aeed2(0x266)][_0x1aeed2(0x4b4)](_0x4fb0a8);return _0x3e6394!==void 0x0&&window['clearTimeout'](_0x3e6394),this[_0x1aeed2(0x47d)][_0x1aeed2(0x4af)](_0x2de05c[_0x1aeed2(0x1f4)](_0x4fb0a8),this[_0x1aeed2(0x3ca)][_0x1aeed2(0x4b4)](_0x4fb0a8))[_0x1aeed2(0x420)](()=>this[_0x1aeed2(0x266)]['delete'](_0x4fb0a8));}async['exhaustSavingTask'](){const _0x12ecab=_0x45f550,_0x38d3a6=[];this[_0x12ecab(0x266)][_0x12ecab(0x315)]((_0x216a76,_0x5bdac6)=>{const _0xb8af4c=_0x12ecab;window['clearTimeout'](_0x216a76),_0x38d3a6['push'](this['_saveCache'](_0x5bdac6)[_0xb8af4c(0x420)](()=>{const _0x4053b4=_0xb8af4c;this[_0x4053b4(0x266)][_0x4053b4(0x340)](_0x5bdac6);}));}),await Promise['all'](_0x38d3a6);}};_0x59bd78=_0x27e759([_0x1e0cfd(0x0,_0x1187a4['IConfigService']),_0x1e0cfd(0x1,_0x1187a4[_0x45f550(0x313)]),_0x1e0cfd(0x2,_0x1187a4['Inject'](_0xa5f490[_0x45f550(0x2dd)]))],_0x59bd78);class _0x56ec38 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x1486ae=_0x45f550;super(),_0x4775d1(this,_0x1486ae(0x3bf)),this[_0x1486ae(0x3bf)]=_0x1068bb['fromEvent'](window,_0x1486ae(0x24d))['pipe'](_0x1068bb[_0x1486ae(0x274)](this[_0x1486ae(0x2f8)]),_0x1068bb[_0x1486ae(0x256)](0x1),_0x1068bb[_0x1486ae(0x353)](void 0x0));}['setParam'](_0x4f5d79,_0x4f19cb,_0x2457c8=!0x1){const _0x2fd5fb=_0x45f550,_0x544bf1=new URL(window[_0x2fd5fb(0x207)]['href']);_0x544bf1[_0x2fd5fb(0x2ef)][_0x2fd5fb(0x47c)](_0x4f5d79,_0x4f19cb),_0x2457c8?window[_0x2fd5fb(0x29a)]['replaceState']('','',_0x544bf1[_0x2fd5fb(0x3fe)]()):window[_0x2fd5fb(0x29a)][_0x2fd5fb(0x1f2)]('','',_0x544bf1[_0x2fd5fb(0x3fe)]());}[_0x45f550(0x370)](_0x2cb59d,_0x123693=!0x1){const _0x613d20=_0x45f550,_0x347033=new URL(window[_0x613d20(0x207)][_0x613d20(0x350)]);_0x347033['searchParams'][_0x613d20(0x340)](_0x2cb59d),_0x123693?window['history'][_0x613d20(0x4aa)]('','',_0x347033['toString']()):window[_0x613d20(0x29a)]['pushState']('','',_0x347033['toString']());}[_0x45f550(0x301)](_0x2c2ad2){const _0x3c9841=_0x45f550;var _0x47dcfd;return(_0x47dcfd=new URL(window['location'][_0x3c9841(0x350)])[_0x3c9841(0x2ef)]['get'](_0x2c2ad2))!=null?_0x47dcfd:void 0x0;}}var _0x313ff3=Object[_0x45f550(0x366)],_0x20382b=Object[_0x45f550(0x38f)],_0x470b2c=(_0x60ec8f,_0x4288e5,_0x3b634e)=>_0x4288e5 in _0x60ec8f?_0x313ff3(_0x60ec8f,_0x4288e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b634e}):_0x60ec8f[_0x4288e5]=_0x3b634e,_0x162956=(_0x3660e4,_0x10a8a8,_0x3f8e56,_0x1f5a52)=>{for(var _0x42890c=_0x1f5a52>0x1?void 0x0:_0x1f5a52?_0x20382b(_0x10a8a8,_0x3f8e56):_0x10a8a8,_0x163d01=_0x3660e4['length']-0x1,_0x24964f;_0x163d01>=0x0;_0x163d01--)(_0x24964f=_0x3660e4[_0x163d01])&&(_0x42890c=_0x24964f(_0x42890c)||_0x42890c);return _0x42890c;},_0x543a99=(_0x37fda4,_0x2e3697)=>(_0x110089,_0x3d8baa)=>_0x2e3697(_0x110089,_0x3d8baa,_0x37fda4),_0x2112e6=(_0x237c00,_0xa56ade,_0x6518e5)=>_0x470b2c(_0x237c00,_0xa56ade+'',_0x6518e5);const _0x5b0642=_0x45f550(0x38e);_0x116b26[_0x45f550(0x472)]=class extends _0x1187a4['Plugin']{constructor(_0x5a9a2a=_0x4af272,_0x3322d7,_0x18d3f0,_0x125819){const _0x5ca822=_0x45f550;super(),this[_0x5ca822(0x271)]=_0x5a9a2a,this[_0x5ca822(0x1f0)]=_0x3322d7,this['_injector']=_0x18d3f0,this[_0x5ca822(0x35d)]=_0x125819;const {..._0x4d90ee}=_0x1187a4['merge']({},_0x4af272,this['_config']);this[_0x5ca822(0x35d)][_0x5ca822(0x246)](_0x3a1054,_0x4d90ee);}[_0x45f550(0x42c)](){const _0x24fd7c=_0x45f550;this['_registerDependencies'](),this[_0x24fd7c(0x4ac)]();}[_0x45f550(0x2af)](){const _0x349248=_0x45f550;this[_0x349248(0x2ec)]();}[_0x45f550(0x2ca)](){const _0x3b20f5=_0x45f550;var _0x3c944b;const _0x2921c2=[[_0x5cc5ff],[_0xb47647],[_0xab804],[_0x444986],[_0x2f87dd],[_0x3cbd00],[_0x48aae0,{'useClass':_0x56ec38}],[_0x391b32[_0x3b20f5(0x37d)],{'useClass':_0x391b32[_0x3b20f5(0x3a4)]}],[_0x2de05c[_0x3b20f5(0x348)],{'useClass':_0x59bd78}],[_0x116b26[_0x3b20f5(0x32a)]],[_0x1643ec],[_0x3e8554],[_0x12a146],[_0x5bb55b],[_0x116b26[_0x3b20f5(0x252)]]];_0x1187a4[_0x3b20f5(0x28d)](this[_0x3b20f5(0x234)],_0x1187a4[_0x3b20f5(0x3ac)](_0x2921c2,(_0x3c944b=this[_0x3b20f5(0x271)])==null?void 0x0:_0x3c944b[_0x3b20f5(0x2da)]));}[_0x45f550(0x2ec)](){const _0x23c5b9=_0x45f550;this['disposeWithMe'](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)][_0x23c5b9(0x2bf)],[_0x17ca61])),this[_0x23c5b9(0x30d)](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)]['UNIVER_SHEET'],[_0x43f6b3]));}[_0x45f550(0x4ac)](){const _0x4a065d=_0x45f550;_0x1187a4['touchDependencies'](this[_0x4a065d(0x234)],[[_0x12a146],[_0x116b26['DesktopCollaborationStatusDisplayController']],[_0x1643ec],[_0x3e8554],[_0x116b26[_0x4a065d(0x252)]],[_0xb47647]]);}},_0x2112e6(_0x116b26['UniverCollaborationClientUIPlugin'],_0x45f550(0x27a),_0x5b0642),_0x116b26[_0x45f550(0x472)]=_0x162956([_0x1187a4[_0x45f550(0x3b7)](_0x2de05c[_0x45f550(0x381)]),_0x543a99(0x1,_0x52d8dc[_0x45f550(0x254)]),_0x543a99(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x543a99(0x3,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x472)]);var _0x363a4f=Object[_0x45f550(0x38f)],_0x45e873=(_0x380a37,_0x542c6b,_0x1ffb51,_0x4b2730)=>{const _0x47b58e=_0x45f550;for(var _0x1c7b86=_0x4b2730>0x1?void 0x0:_0x4b2730?_0x363a4f(_0x542c6b,_0x1ffb51):_0x542c6b,_0x509c7d=_0x380a37[_0x47b58e(0x49c)]-0x1,_0x5b0023;_0x509c7d>=0x0;_0x509c7d--)(_0x5b0023=_0x380a37[_0x509c7d])&&(_0x1c7b86=_0x5b0023(_0x1c7b86)||_0x1c7b86);return _0x1c7b86;},_0x322557=(_0x5135f1,_0x23cac3)=>(_0x39c3a1,_0x348cb3)=>_0x23cac3(_0x39c3a1,_0x348cb3,_0x5135f1);_0x116b26[_0x45f550(0x42f)]=class extends _0x2de05c[_0x45f550(0x295)]{constructor(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e){super(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e);}async[_0x45f550(0x3a6)](_0x2da95b){const _0xbd6790=_0x45f550,_0x304c90=await this[_0xbd6790(0x3ad)](),_0x57fbcc=this[_0xbd6790(0x3ea)](_0x2da95b,_0x304c90);return this['_doCreateSocket'](_0x57fbcc);}['_createSocketURL'](_0x3fffe9,_0xf35d03){const _0x50dcc8=_0x45f550,_0x29d6c8=typeof window>'u'?new URL(_0x3fffe9):new URL(_0x3fffe9,window[_0x50dcc8(0x207)][_0x50dcc8(0x354)]);_0x29d6c8[_0x50dcc8(0x2ef)]['set'](_0x50dcc8(0x298),_0xf35d03);const _0x46b44b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcc8(0x207)][_0x50dcc8(0x20e)]);return _0x46b44b[_0x50dcc8(0x4b4)]('runId')&&_0x29d6c8['searchParams'][_0x50dcc8(0x47c)](_0x50dcc8(0x44b),_0x46b44b[_0x50dcc8(0x4b4)](_0x50dcc8(0x44b))),_0x29d6c8[_0x50dcc8(0x3fe)]();}async[_0x45f550(0x3ad)](){const _0x4ec7c3=_0x45f550;var _0x8f4a4e,_0x247fa8,_0x57d702;const _0x5406b1=this['_configService'][_0x4ec7c3(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x9dc838=(_0x8f4a4e=_0x5406b1==null?void 0x0:_0x5406b1[_0x4ec7c3(0x226)])!=null?_0x8f4a4e:_0x2de05c[_0x4ec7c3(0x33c)];return(_0x57d702=(_0x247fa8=(await this[_0x4ec7c3(0x433)][_0x4ec7c3(0x4b4)](_0x9dc838,{'headers':{'Content-Type':_0x4ec7c3(0x294)}}))[_0x4ec7c3(0x462)])==null?void 0x0:_0x247fa8[_0x4ec7c3(0x391)])!=null?_0x57d702:'';}},_0x116b26[_0x45f550(0x42f)]=_0x45e873([_0x322557(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x322557(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0x322557(0x2,_0x1187a4[_0x45f550(0x45b)]),_0x322557(0x3,_0x1187a4[_0x45f550(0x437)]),_0x322557(0x4,_0xa5f490[_0x45f550(0x489)])],_0x116b26[_0x45f550(0x42f)]);var _0x2e1f7d=Object[_0x45f550(0x38f)],_0x483d79=(_0x1e9418,_0x1dd9e0,_0x1b7411,_0x639e00)=>{for(var _0x31b497=_0x639e00>0x1?void 0x0:_0x639e00?_0x2e1f7d(_0x1dd9e0,_0x1b7411):_0x1dd9e0,_0x59a41b=_0x1e9418['length']-0x1,_0x58f38b;_0x59a41b>=0x0;_0x59a41b--)(_0x58f38b=_0x1e9418[_0x59a41b])&&(_0x31b497=_0x58f38b(_0x31b497)||_0x31b497);return _0x31b497;},_0xa0e948=(_0x5d2133,_0x282be7)=>(_0x433a0c,_0x19b452)=>_0x282be7(_0x433a0c,_0x19b452,_0x5d2133);_0x116b26[_0x45f550(0x251)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x308cad,_0x5b7a6a,_0x5559e2){const _0x76d979=_0x45f550;super(),this[_0x76d979(0x208)]=_0x308cad,this[_0x76d979(0x433)]=_0x5b7a6a,this[_0x76d979(0x35d)]=_0x5559e2;}async[_0x45f550(0x2d5)](_0x44ab79,_0x19c1d2,_0x349e44,..._0x404887){const _0x4fa30c=_0x45f550;var _0x3e0a8b,_0x1eee26,_0xd9137,_0x4ef757;const _0x2b41fc=this[_0x4fa30c(0x208)][_0x4fa30c(0x37b)]();if(!_0x2b41fc)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f2d14=((_0x3e0a8b=this['_configService']['getConfig'](_0x2de05c[_0x4fa30c(0x281)]))!=null?_0x3e0a8b:_0x2de05c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x44ab79+_0x4fa30c(0x39b)+_0x19c1d2,_0x2be7be=new URL(window[_0x4fa30c(0x207)][_0x4fa30c(0x350)]),_0x433e7d={'scriptId':_0x44ab79,'runId':(_0x1eee26=_0x2be7be[_0x4fa30c(0x2ef)][_0x4fa30c(0x4b4)](_0x4fa30c(0x44b)))!=null?_0x1eee26:'','function':_0x19c1d2,'unitId':_0x2b41fc['getUnitId'](),'argsOfFunction':JSON[_0x4fa30c(0x2b6)](_0x404887),'invokeId':(_0xd9137=_0x349e44[_0x4fa30c(0x45c)])!=null?_0xd9137:'','executionId':(_0x4ef757=_0x349e44[_0x4fa30c(0x48c)])!=null?_0x4ef757:''};try{const _0x23583b=await this[_0x4fa30c(0x433)][_0x4fa30c(0x382)](_0x1f2d14,{'body':_0x433e7d});return _0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)]&&_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)][_0x4fa30c(0x28b)]!==_0x44e248['OK']?_0x4fa30c(0x4b3):_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x2e3)];}catch{return _0x4fa30c(0x4b3);}}},_0x116b26[_0x45f550(0x251)]=_0x483d79([_0xa0e948(0x0,_0x1187a4['IUniverInstanceService']),_0xa0e948(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0xa0e948(0x2,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x251)]);const _0x14ab56=0x7530,_0x4943df=_0x45f550(0x45f);class _0x2173c8 extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x4e19f7=_0x45f550;super(),_0x4775d1(this,_0x4e19f7(0x49d),_0x1187a4[_0x4e19f7(0x260)]()),_0x4775d1(this,_0x4e19f7(0x3db),new Set()),_0x4775d1(this,'_unitOnClients',new Map()),_0x4775d1(this,_0x4e19f7(0x34e),null),_0x4775d1(this,_0x4e19f7(0x231),new Map()),_0x4775d1(this,_0x4e19f7(0x461),new Map()),this['_init']();}[_0x45f550(0x244)](){const _0x58112f=_0x45f550;super[_0x58112f(0x244)](),this[_0x58112f(0x231)][_0x58112f(0x315)]((_0x2ebf4c,_0x2a1f7a)=>this[_0x58112f(0x3ff)](_0x2a1f7a)),this[_0x58112f(0x34e)]&&window[_0x58112f(0x495)](this[_0x58112f(0x34e)]);}[_0x45f550(0x1fb)](_0x4a96f1){const _0x13229a=_0x45f550;return this[_0x13229a(0x242)](_0x4a96f1)[_0x13229a(0x229)](_0x1068bb['distinctUntilChanged']());}['editingUnit'](_0x124a8e){const _0x57a723=_0x45f550;this['_selfUnitIDs'][_0x57a723(0x427)]===0x0&&this[_0x57a723(0x2aa)](),this[_0x57a723(0x3db)]['add'](_0x124a8e),this[_0x57a723(0x3e6)]({'type':0x0,'memberID':this[_0x57a723(0x49d)],'unitIDs':[_0x124a8e],'isForwarded':!0x1});}[_0x45f550(0x27d)](_0x3262de){const _0xab799f=_0x45f550;this[_0xab799f(0x3db)][_0xab799f(0x340)](_0x3262de),this['_selfUnitIDs'][_0xab799f(0x427)]===0x0&&this[_0xab799f(0x34e)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x45f550(0x22b)](){const _0x55a0f1=_0x45f550;this[_0x55a0f1(0x30d)](_0x1187a4[_0x55a0f1(0x279)](_0x1068bb[_0x55a0f1(0x3d7)](window,'storage')[_0x55a0f1(0x43e)](_0x25e9b7=>{const _0x2f3cc5=_0x55a0f1;if(_0x25e9b7[_0x2f3cc5(0x22e)]!==_0x4943df||!_0x25e9b7[_0x2f3cc5(0x2fd)])return;const _0x1119ac=JSON[_0x2f3cc5(0x2c2)](_0x25e9b7[_0x2f3cc5(0x2fd)]);this[_0x2f3cc5(0x45a)](_0x1119ac);}))),window[_0x55a0f1(0x304)](_0x55a0f1(0x240),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x55a0f1(0x45e)](this[_0x55a0f1(0x3db)])}));}[_0x45f550(0x45a)](_0x449479){const _0x3da4e7=_0x45f550;switch(_0x449479[_0x3da4e7(0x493)]){case 0x0:this['_handleJoinEvent'](_0x449479);break;case 0x1:this['_handleLeaveEvent'](_0x449479);break;case 0x2:this[_0x3da4e7(0x429)](_0x449479);break;}}[_0x45f550(0x473)](_0x2e0818){const _0x3d5a31=_0x45f550,{unitIDs:_0x2d5367,memberID:_0x4564bc,isForwarded:_0x547eb0}=_0x2e0818;_0x2d5367[_0x3d5a31(0x315)](_0x59efae=>{const _0x33b610=_0x3d5a31;if(!_0x547eb0&&this[_0x33b610(0x335)][_0x33b610(0x478)](_0x59efae)&&this[_0x33b610(0x242)](_0x59efae)[_0x33b610(0x2fa)](_0x2de05c[_0x33b610(0x35b)][_0x33b610(0x2dc)]),!this['_unitOnClients'][_0x33b610(0x478)](_0x59efae)||!this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)[_0x33b610(0x478)](_0x4564bc)){const _0x41d06b=this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)||new Set();_0x41d06b[_0x33b610(0x481)](_0x4564bc),this['_unitOnClients'][_0x33b610(0x47c)](_0x59efae,_0x41d06b),this[_0x33b610(0x3cf)](_0x4564bc);}}),_0x547eb0||this[_0x3d5a31(0x3e6)]({'type':0x0,'memberID':this[_0x3d5a31(0x49d)],'unitIDs':[...this[_0x3d5a31(0x3db)]],'isForwarded':!0x0});}[_0x45f550(0x3cf)](_0x1b80f5){const _0x1c16e0=_0x45f550;this[_0x1c16e0(0x3ff)](_0x1b80f5);const _0x15a5be=window[_0x1c16e0(0x232)](()=>{const _0x2845f7=_0x1c16e0;this[_0x2845f7(0x335)][_0x2845f7(0x315)](_0x2e346b=>{const _0x4802f1=_0x2845f7;_0x2e346b[_0x4802f1(0x340)](_0x1b80f5);});},_0x14ab56*0x2);this[_0x1c16e0(0x231)][_0x1c16e0(0x47c)](_0x1b80f5,_0x15a5be);}[_0x45f550(0x3ff)](_0xc26ca1){const _0x183ff2=_0x45f550;if(this['_clearOtherTimers'][_0x183ff2(0x478)](_0xc26ca1)){const _0xa6fc7b=this[_0x183ff2(0x231)][_0x183ff2(0x4b4)](_0xc26ca1);_0xa6fc7b&&window[_0x183ff2(0x2e2)](_0xa6fc7b),this['_clearOtherTimers']['set'](_0xc26ca1,null);}}['_handleLeaveEvent'](_0x1ac9cc){const _0x48118a=_0x45f550,{memberID:_0x4684b1,unitIDs:_0xe42bf1}=_0x1ac9cc;_0xe42bf1[_0x48118a(0x315)](_0xc77883=>{const _0x741488=_0x48118a;var _0x235892;const _0x5c2b57=this[_0x741488(0x335)][_0x741488(0x4b4)](_0xc77883);_0x5c2b57&&(_0x5c2b57['delete'](_0x4684b1),(_0x235892=this[_0x741488(0x242)](_0xc77883))==null||_0x235892[_0x741488(0x2fa)](_0x5c2b57[_0x741488(0x427)]===0x0?_0x2de05c[_0x741488(0x35b)][_0x741488(0x452)]:_0x2de05c[_0x741488(0x35b)][_0x741488(0x2dc)]));}),this[_0x48118a(0x3ff)](_0x4684b1);}[_0x45f550(0x429)](_0x4c8f52){this['_scheduleClearOtherTimer'](_0x4c8f52['memberID']);}['_send'](_0xba49d9){const _0x2f12bc=_0x45f550;localStorage[_0x2f12bc(0x4af)](_0x4943df,JSON['stringify'](_0xba49d9));}['_scheduleHeartbeat'](){const _0x4a7fb6=_0x45f550;this['_heartbeatTimer']=window[_0x4a7fb6(0x25e)](()=>{const _0x537e58=_0x4a7fb6;this[_0x537e58(0x3e6)]({'type':0x2,'memberID':this[_0x537e58(0x49d)]});},_0x14ab56);}['_ensureSubject'](_0x25b60c){const _0x31a856=_0x45f550;return this[_0x31a856(0x461)]['has'](_0x25b60c)||this['_unitStatus'][_0x31a856(0x47c)](_0x25b60c,new _0x1068bb[(_0x31a856(0x390))](_0x2de05c[_0x31a856(0x35b)][_0x31a856(0x452)])),this[_0x31a856(0x461)][_0x31a856(0x4b4)](_0x25b60c);}}_0x116b26[_0x45f550(0x47a)]=_0x48aae0,_0x116b26[_0x45f550(0x494)]=_0x377138,_0x116b26[_0x45f550(0x3d4)]=_0x2173c8,_0x116b26['WebURLService']=_0x56ec38,Object['defineProperty'](_0x116b26,Symbol[_0x45f550(0x245)],{'value':_0x45f550(0x31b)});}));
|