@univerjs-pro/collaboration-client-ui 0.12.2-nightly.202511290905 → 0.12.3
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 _0x4944(_0x461be3,_0x76a425){const _0x5124cb=_0x5124();return _0x4944=function(_0x494489,_0x30de93){_0x494489=_0x494489-0xf9;let _0xd9c09c=_0x5124cb[_0x494489];return _0xd9c09c;},_0x4944(_0x461be3,_0x76a425);}(function(_0x22912d,_0x5bf3fa){const _0x53c927=_0x4944,_0x2c3be4=_0x22912d();while(!![]){try{const _0xfdf807=-parseInt(_0x53c927(0x2e5))/0x1*(parseInt(_0x53c927(0x20a))/0x2)+parseInt(_0x53c927(0x32a))/0x3+parseInt(_0x53c927(0x147))/0x4*(parseInt(_0x53c927(0x2b3))/0x5)+parseInt(_0x53c927(0x200))/0x6+-parseInt(_0x53c927(0x384))/0x7*(parseInt(_0x53c927(0x2ee))/0x8)+parseInt(_0x53c927(0x1fe))/0x9+-parseInt(_0x53c927(0x312))/0xa*(parseInt(_0x53c927(0x37b))/0xb);if(_0xfdf807===_0x5bf3fa)break;else _0x2c3be4['push'](_0x2c3be4['shift']());}catch(_0x2ccc7b){_0x2c3be4['push'](_0x2c3be4['shift']());}}}(_0x5124,0xdce69),function(_0x2d0617,_0x2b844b){const _0x43b584=_0x4944;typeof exports==_0x43b584(0x310)&&typeof module<'u'?_0x2b844b(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==_0x43b584(0x13d)&&define[_0x43b584(0x2cb)]?define([_0x43b584(0x39e),'react/jsx-runtime',_0x43b584(0x3af),_0x43b584(0x14b),_0x43b584(0x22a),'rxjs','@univerjs/design',_0x43b584(0x20d),_0x43b584(0x19a),_0x43b584(0x26d),_0x43b584(0x2c1),_0x43b584(0x266),'@univerjs/docs-ui',_0x43b584(0x199),_0x43b584(0x353),'@univerjs/docs',_0x43b584(0x23b),_0x43b584(0x374),_0x43b584(0x1b4)],_0x2b844b):(_0x2d0617=typeof globalThis<'u'?globalThis:_0x2d0617||self,_0x2b844b(_0x2d0617[_0x43b584(0x24d)]={},_0x2d0617[_0x43b584(0x2d0)],_0x2d0617[_0x43b584(0x10e)],_0x2d0617[_0x43b584(0x2fb)],_0x2d0617[_0x43b584(0x19f)],_0x2d0617['rxjs'],_0x2d0617[_0x43b584(0x287)],_0x2d0617['React'],_0x2d0617[_0x43b584(0x3de)],_0x2d0617['UniverSheets'],_0x2d0617[_0x43b584(0x381)],_0x2d0617[_0x43b584(0x28a)],_0x2d0617[_0x43b584(0x2e0)],_0x2d0617[_0x43b584(0x2da)],_0x2d0617[_0x43b584(0x296)],_0x2d0617[_0x43b584(0x3a3)],_0x2d0617['UniverEngineFormula'],_0x2d0617['rxjs'][_0x43b584(0x28d)],_0x2d0617[_0x43b584(0x248)]));}(this,function(_0x1dc582,_0x510a6e,_0x5a33af,_0xdb2415,_0x339e42,_0x5bb37b,_0xffb326,_0x856dba,_0x2aadee,_0x5d16b0,_0x7c9b89,_0x553b7e,_0x4abee5,_0x48ad96,_0x1b3789,_0x5e9ade,_0x7b5b07,_0xf7042a,_0x427b04){'use strict';const _0x41fa7f=_0x4944;var _0x6fdb19=Object[_0x41fa7f(0x148)],_0x43a4a4=(_0x13aacb,_0x2d9c08,_0x2899e2)=>_0x2d9c08 in _0x13aacb?_0x6fdb19(_0x13aacb,_0x2d9c08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2899e2}):_0x13aacb[_0x2d9c08]=_0x2899e2,_0x356879=(_0x4d7343,_0x58b386,_0x3f2f56)=>_0x43a4a4(_0x4d7343,typeof _0x58b386!=_0x41fa7f(0x236)?_0x58b386+'':_0x58b386,_0x3f2f56);function _0x5ef291({ref:_0x1269eb,..._0x21a81e}){const _0xda9261=_0x41fa7f,{icon:_0x5903b6,id:_0x130024,className:_0x21431c,extend:_0x27db26,..._0xf883fe}=_0x21a81e,_0x562763=(_0xda9261(0x150)+_0x130024+'\x20'+(_0x21431c||''))[_0xda9261(0x167)](),_0x127f94=_0x856dba[_0xda9261(0x10d)]('_'+_0x3f2043());return _0x1dad2d(_0x5903b6,''+_0x130024,{'defIds':_0x5903b6[_0xda9261(0x19d)],'idSuffix':_0x127f94[_0xda9261(0x34d)]},{'ref':_0x1269eb,'className':_0x562763,..._0xf883fe},_0x27db26);}function _0x1dad2d(_0x411fd5,_0x808e60,_0x2a6de1,_0x29a665,_0x5de42c){const _0x1cf533=_0x41fa7f;return _0x856dba[_0x1cf533(0x16e)](_0x411fd5['tag'],{'key':_0x808e60,..._0x2e3bb4(_0x411fd5,_0x2a6de1,_0x5de42c),..._0x29a665},(_0x3879c2(_0x411fd5,_0x2a6de1)[_0x1cf533(0x334)]||[])['map']((_0x1e7745,_0x32ead5)=>_0x1dad2d(_0x1e7745,_0x808e60+'-'+_0x411fd5[_0x1cf533(0x3e0)]+'-'+_0x32ead5,_0x2a6de1,void 0x0,_0x5de42c)));}function _0x2e3bb4(_0x5c6e4f,_0x455aff,_0x3fae19){const _0x125820=_0x41fa7f,_0x5d499a={..._0x5c6e4f[_0x125820(0x198)]};_0x3fae19!=null&&_0x3fae19[_0x125820(0x267)]&&_0x5d499a[_0x125820(0x18b)]==='colorChannel1'&&(_0x5d499a[_0x125820(0x18b)]=_0x3fae19[_0x125820(0x267)]),_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x308)&&_0x5d499a['id']&&(_0x5d499a['id']=_0x5d499a['id']+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x3f0376,_0x4b053e])=>{const _0x16f1a3=_0x125820;_0x3f0376===_0x16f1a3(0x308)&&typeof _0x4b053e=='string'&&(_0x5d499a[_0x3f0376]=_0x4b053e[_0x16f1a3(0x2c6)](/url\(#(.*)\)/,_0x16f1a3(0x11d)+_0x455aff[_0x16f1a3(0x2a6)]+')'));});const {defIds:_0x232016}=_0x455aff;return!_0x232016||_0x232016[_0x125820(0x26c)]===0x0||(_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x32f)&&_0x5d499a[_0x125820(0x1f7)]&&(_0x5d499a[_0x125820(0x1f7)]=_0x5d499a[_0x125820(0x1f7)]+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x5affde,_0x25ea22])=>{const _0x38e0ad=_0x125820;typeof _0x25ea22=='string'&&(_0x5d499a[_0x5affde]=_0x25ea22[_0x38e0ad(0x2c6)](/url\(#(.*)\)/,_0x38e0ad(0x11d)+_0x455aff[_0x38e0ad(0x2a6)]+')'));})),_0x5d499a;}function _0x3879c2(_0x319200,_0x20f8c7){const _0x102732=_0x41fa7f;var _0x6de88;const {defIds:_0x593ed4}=_0x20f8c7;return!_0x593ed4||_0x593ed4[_0x102732(0x26c)]===0x0?_0x319200:_0x319200['tag']===_0x102732(0x2ef)&&((_0x6de88=_0x319200['children'])!=null&&_0x6de88[_0x102732(0x26c)])?{..._0x319200,'children':_0x319200[_0x102732(0x334)][_0x102732(0x311)](_0x4d7755=>typeof _0x4d7755['attrs']['id']==_0x102732(0x329)&&_0x593ed4&&_0x593ed4[_0x102732(0x21d)](_0x4d7755[_0x102732(0x198)]['id'])?{..._0x4d7755,'attrs':{..._0x4d7755[_0x102732(0x198)],'id':_0x4d7755[_0x102732(0x198)]['id']+_0x20f8c7[_0x102732(0x2a6)]}}:_0x4d7755)}:_0x319200;}function _0x3f2043(){const _0xac0ac6=_0x41fa7f;return Math[_0xac0ac6(0x360)]()[_0xac0ac6(0x22c)](0x24)[_0xac0ac6(0x3b1)](0x2,0x8);}_0x5ef291[_0x41fa7f(0x160)]=_0x41fa7f(0x216);const _0x1c0d12={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':_0x41fa7f(0x16c),'width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41fa7f(0x3cc)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'stroke':_0x41fa7f(0x3df),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x41fa7f(0x196),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':_0x41fa7f(0x364)}}]}]}],'defIds':[_0x41fa7f(0x1f2)]},_0x543b0c=_0x856dba['forwardRef'](function(_0x3c88d6,_0x571ebb){const _0x43ae1b=_0x41fa7f;return _0x856dba[_0x43ae1b(0x16e)](_0x5ef291,Object[_0x43ae1b(0x3b4)]({},_0x3c88d6,{'id':'off-line-icon','ref':_0x571ebb,'icon':_0x1c0d12}));});_0x543b0c[_0x41fa7f(0x160)]='OffLineIcon';const _0xd81b27={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':'0\x200\x2017\x2016','width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x41fa7f(0x3df),'d':_0x41fa7f(0x299),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':_0x41fa7f(0x2a8)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x41fa7f(0x2a8)]},_0x223269=_0x856dba[_0x41fa7f(0x174)](function(_0x492e3c,_0x5d9780){const _0x2e4a7b=_0x41fa7f;return _0x856dba['createElement'](_0x5ef291,Object[_0x2e4a7b(0x3b4)]({},_0x492e3c,{'id':_0x2e4a7b(0x181),'ref':_0x5d9780,'icon':_0xd81b27}));});_0x223269[_0x41fa7f(0x160)]=_0x41fa7f(0x339);function _0x59d28e(_0x45e6ca){const _0xec31a1=_0x41fa7f;switch(_0x45e6ca){case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x142)]:return _0xec31a1(0x31a);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x1af)]:return'collabStatus.conflict';case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x36d)]:return _0xec31a1(0x2d9);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x163)]:return _0xec31a1(0x14f);case _0x5a33af[_0xec31a1(0x1ef)]['AWAITING']:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x2a5)]:return _0xec31a1(0x28f);case _0x5a33af['CollaborationStatus'][_0xec31a1(0x11e)]:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x3bf)]:return _0xec31a1(0x101);}}function _0x5661ec(_0x59b5f7){const _0x254069=_0x41fa7f,{status$:_0x5d509c}=_0x59b5f7,_0x24b2e7=_0x339e42[_0x254069(0x224)](_0x5d509c,_0x5a33af['CollaborationStatus']['NOT_COLLAB']),_0x831df1=_0x339e42['useDependency'](_0xdb2415[_0x254069(0x17f)]),_0x514650=_0x339e42[_0x254069(0x1a5)](_0x5a33af['CollaborationSessionService']),_0x5bdd19=_0x24b2e7!==_0x5a33af[_0x254069(0x1ef)][_0x254069(0x142)],_0xa5e466=_0x831df1['t'](_0x59d28e(_0x24b2e7)),_0x313e9b=_0x5bdd19?_0x510a6e[_0x254069(0x2d2)](_0x223269,{}):_0x510a6e[_0x254069(0x2d2)](_0x543b0c,{}),_0x478ece=_0x856dba['useCallback'](()=>{const _0x3e2f93=_0x254069;_0x5bdd19||_0x514650[_0x3e2f93(0x3d9)]();},[_0x5bdd19,_0x514650]);function _0x49659e(){const _0x4997d7=_0x254069;return _0x510a6e['jsxs'](_0x4997d7(0x215),{'className':'univer-flex\x20univer-items-center','onClick':_0x478ece,'children':[_0x510a6e[_0x4997d7(0x2d2)]('div',{'className':_0xffb326[_0x4997d7(0x15d)](_0x4997d7(0x309),{'univer-text-green-500':_0x5bdd19,'univer-text-red-500':!_0x5bdd19}),'children':_0x313e9b}),_0x510a6e['jsx'](_0x4997d7(0x215),{'className':_0x4997d7(0x3b7),'children':_0xa5e466})]});}return _0x5bdd19?_0x49659e():_0x510a6e[_0x254069(0x2d2)](_0xffb326[_0x254069(0x324)],{'title':_0x831df1['t'](_0x254069(0x1ff)),'children':_0x49659e()});}var _0x377343=Object['getOwnPropertyDescriptor'],_0x579604=(_0x51f115,_0xc42e90,_0x5de10d,_0x5bc9fe)=>{const _0x304257=_0x41fa7f;for(var _0x4eabb0=_0x5bc9fe>0x1?void 0x0:_0x5bc9fe?_0x377343(_0xc42e90,_0x5de10d):_0xc42e90,_0x16d0b3=_0x51f115[_0x304257(0x26c)]-0x1,_0x631fb8;_0x16d0b3>=0x0;_0x16d0b3--)(_0x631fb8=_0x51f115[_0x16d0b3])&&(_0x4eabb0=_0x631fb8(_0x4eabb0)||_0x4eabb0);return _0x4eabb0;},_0x236a60=(_0x22be0e,_0x46be52)=>(_0x20dc9f,_0x4dabde)=>_0x46be52(_0x20dc9f,_0x4dabde,_0x22be0e);_0x1dc582[_0x41fa7f(0x33e)]=class extends _0xdb2415['Disposable']{constructor(_0x3b68bd,_0x22a85e,_0x5f136e,_0x4045ca){const _0x1c38d3=_0x41fa7f;super(),_0x356879(this,_0x1c38d3(0x134),new _0x5bb37b[(_0x1c38d3(0x204))](_0x5a33af[_0x1c38d3(0x1ef)][_0x1c38d3(0x163)])),(this['_univerInstanceService']=_0x3b68bd,this[_0x1c38d3(0x2e4)]=_0x22a85e,this[_0x1c38d3(0x144)]=_0x5f136e,this[_0x1c38d3(0x14e)]=_0x4045ca,this[_0x1c38d3(0x197)](),this[_0x1c38d3(0x3ba)]());}['_initStatusListener'](){const _0x2a9519=_0x41fa7f;this['disposeWithMe'](this[_0x2a9519(0x27e)][_0x2a9519(0x1d3)][_0x2a9519(0x25c)](_0x5bb37b[_0x2a9519(0x19e)](()=>{const _0x391446=_0x2a9519,_0x3defc2=this['_univerInstanceService']['getFocusedUnit']();return _0x3defc2?this['_collaborationController']['getCollabEntity$'](_0x3defc2[_0x391446(0x225)]()):_0x5bb37b['of'](null);}),_0x5bb37b[_0x2a9519(0x19e)](_0x45a0ed=>_0x45a0ed?_0x45a0ed[_0x2a9519(0x11f)]:_0x5bb37b['of'](_0x5a33af[_0x2a9519(0x1ef)][_0x2a9519(0x163)])))['subscribe'](_0x3696df=>{const _0xcb762c=_0x2a9519;this['_status$'][_0xcb762c(0x3b5)](_0x3696df);}));}[_0x41fa7f(0x197)](){const _0x199df5=_0x41fa7f;this[_0x199df5(0x31e)](this[_0x199df5(0x14e)][_0x199df5(0x2d6)](_0x339e42[_0x199df5(0x321)][_0x199df5(0x3e3)],()=>_0x339e42['connectInjector'](_0x2f68cb({'status$':this[_0x199df5(0x134)][_0x199df5(0x1c0)]()}),this[_0x199df5(0x2e4)])));}},_0x1dc582[_0x41fa7f(0x33e)]=_0x579604([_0x236a60(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x236a60(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x236a60(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x18f)])),_0x236a60(0x3,_0x339e42['IUIPartsService'])],_0x1dc582['DesktopCollaborationStatusDisplayController']);function _0x2f68cb(_0x37ddc4){const {status$:_0x3ab2cb}=_0x37ddc4;return function(){const _0x1bdeaf=_0x4944;return _0x510a6e[_0x1bdeaf(0x2d2)](_0x5661ec,{'status$':_0x3ab2cb});};}const _0x2976d6=_0xdb2415[_0x41fa7f(0x3a2)](_0x41fa7f(0x269));var _0xde86ef=Object[_0x41fa7f(0x194)],_0x550eac=(_0xdde7e3,_0x225839,_0x20c0aa,_0x43da22)=>{for(var _0x284aa2=_0x43da22>0x1?void 0x0:_0x43da22?_0xde86ef(_0x225839,_0x20c0aa):_0x225839,_0x101765=_0xdde7e3['length']-0x1,_0x490d66;_0x101765>=0x0;_0x101765--)(_0x490d66=_0xdde7e3[_0x101765])&&(_0x284aa2=_0x490d66(_0x284aa2)||_0x284aa2);return _0x284aa2;},_0x5c1733=(_0x2cb40d,_0x14a286)=>(_0x162932,_0x4a9c71)=>_0x14a286(_0x162932,_0x4a9c71,_0x2cb40d);_0x1dc582['CollaborationDataLoaderController']=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0xa0ccd4,_0x1157ac,_0x647edd,_0x3a572b,_0x11e64c){const _0x55ce6a=_0x41fa7f;super(),this[_0x55ce6a(0x29d)]=_0xa0ccd4,this['_logService']=_0x1157ac,this[_0x55ce6a(0x2c7)]=_0x647edd,this[_0x55ce6a(0x3c7)]=_0x3a572b,_0x11e64c?_0x11e64c==null||_0x11e64c['whenReady']()['then'](()=>this[_0x55ce6a(0x33f)]()):(this[_0x55ce6a(0x2ec)][_0x55ce6a(0x394)](_0x55ce6a(0x155),_0x55ce6a(0x207)),this[_0x55ce6a(0x33f)]());}async['_init'](){const _0x3bbb94=_0x41fa7f,_0x400067=this[_0x3bbb94(0x29d)]['getParam']('unit'),_0x56105c=this['_urlService'][_0x3bbb94(0x2ff)](_0x3bbb94(0x17a)),_0x1d9a73=this[_0x3bbb94(0x29d)]['getParam'](_0x3bbb94(0x24f));if(!_0x400067||!_0x56105c){this[_0x3bbb94(0x2ec)][_0x3bbb94(0x394)](_0x3bbb94(0x155),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xa5ef41=await this['_dataLoaderService'][_0x3bbb94(0x2c5)](_0x400067,Number(_0x56105c),_0x1d9a73);_0xa5ef41&&_0xa5ef41 instanceof _0xdb2415[_0x3bbb94(0x38c)]&&this[_0x3bbb94(0x303)](_0xa5ef41);}async[_0x41fa7f(0x303)](_0x4ae59c){const _0x2dc213=_0x41fa7f;await this[_0x2dc213(0x135)](_0x4ae59c),_0x4ae59c[_0x2dc213(0x1ee)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this['dispose$']))[_0x2dc213(0x31f)](_0x5b31d7=>{_0x5b31d7&&this['_updateURLWithCurrentState'](_0x5b31d7);}),this[_0x2dc213(0x29d)][_0x2dc213(0x256)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this[_0x2dc213(0x119)]))[_0x2dc213(0x31f)](()=>this['_updateSubUnitFromURLParams'](_0x4ae59c));}[_0x41fa7f(0x247)](_0x11cbd2,_0x370038=!0x1){const _0x1e1aeb=_0x41fa7f,_0x5685b4=this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2ff)](_0x1e1aeb(0x24f));_0x11cbd2[_0x1e1aeb(0x1c8)]()!==_0x5685b4&&this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2f1)](_0x1e1aeb(0x24f),_0x11cbd2[_0x1e1aeb(0x1c8)](),_0x370038);}async[_0x41fa7f(0x135)](_0xb39061){const _0x349e8e=_0x41fa7f;var _0x223361;const _0x16711b=this[_0x349e8e(0x29d)]['getParam'](_0x349e8e(0x24f));if(!_0x16711b||!_0xb39061[_0x349e8e(0x28b)](_0x16711b)){const _0x1a08c0=_0xb39061[_0x349e8e(0x2f9)]()[0x0],_0x2bda33=_0xb39061[_0x349e8e(0x28b)](_0x1a08c0);if(!_0x2bda33)return;this['_updateURLWithCurrentState'](_0x2bda33,!0x0),await this[_0x349e8e(0x2c7)]['executeCommand'](_0x5d16b0[_0x349e8e(0x2ad)]['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x1a08c0});return;}((_0x223361=_0xb39061[_0x349e8e(0x34c)]())==null?void 0x0:_0x223361['getSheetId']())!==_0x16711b&&await this['_commandService'][_0x349e8e(0x172)](_0x5d16b0['SetWorksheetActivateCommand']['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x16711b});}},_0x1dc582[_0x41fa7f(0x10b)]=_0x550eac([_0x5c1733(0x0,_0x2976d6),_0x5c1733(0x1,_0xdb2415[_0x41fa7f(0x230)]),_0x5c1733(0x2,_0xdb2415['ICommandService']),_0x5c1733(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x1ed)])),_0x5c1733(0x4,_0xdb2415[_0x41fa7f(0x223)](_0x2aadee[_0x41fa7f(0x3bc)]))],_0x1dc582[_0x41fa7f(0x10b)]);var _0x36689e=Object[_0x41fa7f(0x194)],_0x57c6e9=(_0x279ac5,_0x3f16d5,_0x19540e,_0x16076f)=>{const _0x21ff63=_0x41fa7f;for(var _0x1455ca=_0x16076f>0x1?void 0x0:_0x16076f?_0x36689e(_0x3f16d5,_0x19540e):_0x3f16d5,_0x56a81a=_0x279ac5[_0x21ff63(0x26c)]-0x1,_0x7b8586;_0x56a81a>=0x0;_0x56a81a--)(_0x7b8586=_0x279ac5[_0x56a81a])&&(_0x1455ca=_0x7b8586(_0x1455ca)||_0x1455ca);return _0x1455ca;},_0xf72621=(_0x3e1c7c,_0x1e2c67)=>(_0x2ba6cb,_0xb1bd6e)=>_0x1e2c67(_0x2ba6cb,_0xb1bd6e,_0x3e1c7c);let _0xb90e08=class extends _0xdb2415['RxDisposable']{constructor(_0x1770f6,_0x22106a){const _0x3eb4c0=_0x41fa7f;super(),this[_0x3eb4c0(0xff)]=_0x1770f6,this[_0x3eb4c0(0x39c)]=_0x22106a,this[_0x3eb4c0(0x33f)]();}['_init'](){const _0x2d985c=_0x41fa7f,_0x3d9b52=this;this[_0x2d985c(0x31e)](this['_docClipboardService'][_0x2d985c(0x178)]({'onBeforePasteImage':async _0x1d4c0a=>{const _0x471ad4=_0x2d985c,_0x4d1b2f=await _0x3d9b52[_0x471ad4(0x39c)][_0x471ad4(0x271)](_0x1d4c0a);return _0x4d1b2f?{'source':_0x4d1b2f[_0x471ad4(0x1f5)],'imageSourceType':_0x4d1b2f[_0x471ad4(0x30a)]}:null;}}));}};_0xb90e08=_0x57c6e9([_0xf72621(0x0,_0x4abee5[_0x41fa7f(0x338)]),_0xf72621(0x1,_0x48ad96[_0x41fa7f(0x16a)])],_0xb90e08);const _0xa49ba=[_0x41fa7f(0x23a),'jiqing.500',_0x41fa7f(0x195),_0x41fa7f(0x313),'blue.400','yellow.400'];class _0x54f54d extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0xc1edde=_0x41fa7f;super(...arguments),_0x356879(this,'_assignedColors',new Map()),_0x356879(this,_0xc1edde(0x369),0x0);}[_0x41fa7f(0x29f)](_0x4d4d4a){const _0x4509b2=_0x41fa7f;if(this['_assignedColors'][_0x4509b2(0x246)](_0x4d4d4a))return this[_0x4509b2(0x20c)]['get'](_0x4d4d4a);const _0x23c287=_0xa49ba[this[_0x4509b2(0x369)]];return this[_0x4509b2(0x369)]=(this[_0x4509b2(0x369)]+0x1)%_0xa49ba[_0x4509b2(0x26c)],this[_0x4509b2(0x20c)][_0x4509b2(0x238)](_0x4d4d4a,_0x23c287),_0x23c287;}}function _0x49d4ce(_0x4567b8){let _0x42e0c8='';for(const _0x686b46 of _0x4567b8){const {startOffset:_0x26e145,endOffset:_0x163892,isActive:_0x502502,rangeType:_0xc3990c,segmentId:_0x2b3755,segmentPage:_0x149102}=_0x686b46;_0x42e0c8['length']&&(_0x42e0c8+=','),_0x42e0c8+=_0x26e145+':'+_0x163892+':'+(_0x502502?'1':'0')+':'+_0xc3990c+':'+_0x2b3755+':'+_0x149102;}return _0x42e0c8;}function _0x553eef(_0x56c943){const _0x333c9a=_0x41fa7f,_0x264a4c=_0x56c943['split'](','),_0x3d8b29=[];for(const _0x10f2de of _0x264a4c){const [_0x33a3fa,_0x4205a4,_0x3bdece,_0x5c1bc4,_0xce82df,_0x5c8b33]=_0x10f2de['split'](':');_0x3d8b29[_0x333c9a(0x3dd)]({'startOffset':Number(_0x33a3fa),'endOffset':Number(_0x4205a4),'collapsed':_0x33a3fa===_0x4205a4,'isActive':_0x3bdece==='1','rangeType':_0x5c1bc4===_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x1aa)]?_0xdb2415['DOC_RANGE_TYPE'][_0x333c9a(0x1aa)]:_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x15f)],'segmentId':typeof _0xce82df==_0x333c9a(0x329)?String(_0xce82df):'','segmentPage':Number(_0x5c8b33!=null?_0x5c8b33:-0x1)});}return _0x3d8b29[_0x333c9a(0x31c)](_0x4b2a0c=>_0x4b2a0c[_0x333c9a(0x1b8)])||(_0x3d8b29[0x0]['isActive']=!0x0),_0x3d8b29;}class _0x3dcaca extends _0xdb2415['RxDisposable']{constructor(){const _0x2483f=_0x41fa7f;super(...arguments),_0x356879(this,_0x2483f(0x149),new _0x5bb37b['BehaviorSubject'](null)),_0x356879(this,_0x2483f(0x14c),this[_0x2483f(0x149)]['asObservable']());}['syncEditingCollabCursor'](_0x3dcc19){const _0xc85e25=_0x41fa7f,{unitID:_0x46faf9,memberID:_0x2c5cba,textRanges:_0x404d39}=_0x3dcc19,_0x10de63=_0x49d4ce(_0x404d39);if(_0x10de63==='')return;const _0x3b354f={'unitID':_0x46faf9,'memberID':_0x2c5cba,'selection':_0x10de63};this[_0xc85e25(0x149)]['next'](_0x3b354f);}}var _0x102601=Object['getOwnPropertyDescriptor'],_0x348bd0=(_0x53d4b5,_0x27875d,_0x2fdac6,_0xad7912)=>{const _0x50256c=_0x41fa7f;for(var _0x2e29f9=_0xad7912>0x1?void 0x0:_0xad7912?_0x102601(_0x27875d,_0x2fdac6):_0x27875d,_0x5aeeac=_0x53d4b5[_0x50256c(0x26c)]-0x1,_0x56151f;_0x5aeeac>=0x0;_0x5aeeac--)(_0x56151f=_0x53d4b5[_0x5aeeac])&&(_0x2e29f9=_0x56151f(_0x2e29f9)||_0x2e29f9);return _0x2e29f9;},_0x1f10b4=(_0x327841,_0x3cfba0)=>(_0xf7d396,_0x4c2c78)=>_0x3cfba0(_0xf7d396,_0x4c2c78,_0x327841);const _0x7bd743=0x12c,_0x55f324=0x64;let _0x284db1=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1741f7,_0x1e35cf,_0x100479,_0x41ebac,_0x3f9fbc,_0x5086e5,_0x4f1d8f,_0x30493f,_0x3318dc){const _0x382ba9=_0x41fa7f;super(),_0x356879(this,_0x382ba9(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0x382ba9(0x36f),new _0x5bb37b['BehaviorSubject'](new Map())),_0x356879(this,_0x382ba9(0x33d),this[_0x382ba9(0x36f)][_0x382ba9(0x1c0)]()),_0x356879(this,_0x382ba9(0x3da),new _0x5bb37b[(_0x382ba9(0x204))]([])),_0x356879(this,_0x382ba9(0x3e2),this['_roomMembers$'][_0x382ba9(0x25c)](_0x5bb37b[_0x382ba9(0x345)](_0x7bd743))),_0x356879(this,_0x382ba9(0x15c),_0xdb2415['debounce'](_0x59e077=>{const _0x40e5e7=_0x382ba9,_0x3d3497={'eventID':_0x1b3789['CollaborationEvent'][_0x40e5e7(0x297)],'data':{'unitID':this[_0x40e5e7(0x281)],'memberID':this['_session'][_0x40e5e7(0x38f)](),'selection':_0x49d4ce(_0x59e077)}};this[_0x40e5e7(0x24a)]['send'](_0x3d3497,this['unitID']);},_0x55f324)),(this[_0x382ba9(0x281)]=_0x1741f7,this[_0x382ba9(0x24a)]=_0x1e35cf,this[_0x382ba9(0x2e4)]=_0x100479,this[_0x382ba9(0x2a1)]=_0x41ebac,this['_memberService']=_0x3f9fbc,this[_0x382ba9(0x19b)]=_0x5086e5,this[_0x382ba9(0x3cb)]=_0x4f1d8f,this[_0x382ba9(0x27e)]=_0x30493f,this[_0x382ba9(0x2c7)]=_0x3318dc);}get[_0x41fa7f(0x1f6)](){const _0x52cd3f=_0x41fa7f;return this[_0x52cd3f(0x36f)][_0x52cd3f(0x2e2)]();}get[_0x41fa7f(0x1f4)](){const _0x2e6a8f=_0x41fa7f;return this['_roomMembers$'][_0x2e6a8f(0x2e2)]();}[_0x41fa7f(0x1b9)](){const _0x2a1401=_0x41fa7f;super[_0x2a1401(0x1b9)](),this[_0x2a1401(0x36f)][_0x2a1401(0x3b5)](new Map()),this[_0x2a1401(0x36f)][_0x2a1401(0x3d5)](),this[_0x2a1401(0x3da)][_0x2a1401(0x3b5)]([]),this[_0x2a1401(0x3da)][_0x2a1401(0x3d5)]();}[_0x41fa7f(0x22f)](){const _0x3ba160=_0x41fa7f;this[_0x3ba160(0x33f)]||(this[_0x3ba160(0x33f)]=!0x0,this[_0x3ba160(0x24a)][_0x3ba160(0x27b)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5eaaba=>{const _0x2aad35=_0x3ba160;_0x5eaaba===_0x5a33af[_0x2aad35(0x11b)][_0x2aad35(0x1d9)]?this[_0x2aad35(0x110)]():this[_0x2aad35(0x1d4)]();}),this[_0x3ba160(0x24a)][_0x3ba160(0x173)]['pipe'](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5d5dd8=>{const _0x377d08=_0x3ba160,_0xe1a19f=_0x5d5dd8[_0x377d08(0x1d0)];_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x297)]&&this[_0x377d08(0x2a7)](_0x5d5dd8),_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x127)]&&this[_0x377d08(0x292)](_0x5d5dd8);}),this[_0x3ba160(0x31e)](this[_0x3ba160(0x2c7)]['onCommandExecuted'](_0x14b573=>{const _0x3747c7=_0x3ba160,_0x479203=_0x14b573[_0x3747c7(0x34a)];_0x479203!=null&&this[_0x3747c7(0x1a2)]&&_0x14b573['id']===_0x5e9ade['SetTextSelectionsOperation']['id']&&_0x479203[_0x3747c7(0x392)]===this['unitID']&&_0x479203[_0x3747c7(0x27f)]===!0x1&&_0x479203[_0x3747c7(0x1c1)][_0x3747c7(0x26c)]>0x0&&this[_0x3747c7(0x15c)](_0x479203[_0x3747c7(0x1c1)]);})),this[_0x3ba160(0x19b)][_0x3ba160(0x14c)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this['dispose$']))['subscribe'](_0x34acb6=>{const _0x3fd4e0=_0x3ba160;if((_0x34acb6==null?void 0x0:_0x34acb6['unitID'])!==this[_0x3fd4e0(0x281)])return;const _0x5b924a={'eventID':_0x1b3789[_0x3fd4e0(0x276)]['UPDATE_CURSOR'],'data':_0x34acb6};this['_onCursorUpdate'](_0x5b924a);}),this['disposeWithMe'](this['_commandService'][_0x3ba160(0x191)](_0x5be230=>{const _0x4b3941=_0x3ba160;if(_0x5be230[_0x4b3941(0x34a)]==null)return;const _0x35e474=_0x5be230[_0x4b3941(0x34a)];if(_0x5be230['id']!==_0x5e9ade['RichTextEditingMutation']['id']||_0x35e474[_0x4b3941(0x392)]!==this['unitID'])return;const _0x5794d0={'id':'doc.mutation.rich-text-editing','params':_0x35e474},_0x8b186f=this[_0x4b3941(0x1f6)];for(const [_0x2c02b4,_0x303617]of _0x8b186f){const _0x562e73={'id':_0x4b3941(0x1e5),'params':{'unitId':this[_0x4b3941(0x281)],'actions':null,'textRanges':_0x303617[_0x4b3941(0x1c1)]}},_0x337afd=this[_0x4b3941(0x3cb)][_0x4b3941(0x393)](_0x5794d0,_0x562e73,!0x1);if(_0x1b3789[_0x4b3941(0x1e4)](_0x337afd))throw _0x337afd[_0x4b3941(0x399)];_0x8b186f[_0x4b3941(0x238)](_0x2c02b4,{..._0x303617,'ranges':_0x337afd['m2Prime']['params'][_0x4b3941(0x2f5)]});}queueMicrotask(()=>{const _0x3eada3=_0x4b3941;this[_0x3eada3(0x36f)]['next'](_0x8b186f);});})));}[_0x41fa7f(0x2a7)](_0x212eee){const _0x1cf4af=_0x41fa7f;var _0x2d9483,_0x39d619;const {memberID:_0x11037b,selection:_0x1b3daf}=_0x212eee[_0x1cf4af(0x36c)],_0x5a2e94=_0x553eef(_0x1b3daf),_0x428439=(_0x39d619=(_0x2d9483=this['_memberService']['getMember'](this['unitID'],_0x11037b))==null?void 0x0:_0x2d9483['name'])!=null?_0x39d619:_0x1cf4af(0x337),_0x50da53={'color':this[_0x1cf4af(0x2a1)]['assignAColorForMemberID'](_0x11037b),'name':_0x428439,'ranges':_0x5a2e94},_0x383a37=this[_0x1cf4af(0x1f6)];_0x383a37[_0x1cf4af(0x238)](_0x11037b,_0x50da53),this[_0x1cf4af(0x36f)][_0x1cf4af(0x3b5)](_0x383a37);}[_0x41fa7f(0x292)](_0x36543a){const _0x9c9f68=_0x41fa7f,{memberID:_0x1435f9}=_0x36543a[_0x9c9f68(0x36c)],_0x5f0317=this[_0x9c9f68(0x1f6)];_0x5f0317[_0x9c9f68(0x349)](_0x1435f9),this[_0x9c9f68(0x36f)][_0x9c9f68(0x3b5)](_0x5f0317);}[_0x41fa7f(0x110)](){const _0x26f0a0=_0x41fa7f;var _0xdaaa9a;if(this[_0x26f0a0(0x1a2)]=!0x0,((_0xdaaa9a=this['_univerInstanceService'][_0x26f0a0(0x2be)]())==null?void 0x0:_0xdaaa9a[_0x26f0a0(0x225)]())!==this[_0x26f0a0(0x281)])return;const _0x57149a=this[_0x26f0a0(0x2e4)]['get'](_0x5e9ade[_0x26f0a0(0x29a)])['getDocRanges']();Array[_0x26f0a0(0x219)](_0x57149a)&&_0x57149a[_0x26f0a0(0x26c)]>0x0&&this[_0x26f0a0(0x15c)](_0x57149a);}[_0x41fa7f(0x1d4)](){const _0x13485f=_0x41fa7f;this[_0x13485f(0x1a2)]=!0x1;}};_0x284db1=_0x348bd0([_0x1f10b4(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x1f10b4(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x1f10b4(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x1f10b4(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x1f10b4(0x6,_0x1b3789[_0x41fa7f(0x389)]),_0x1f10b4(0x7,_0xdb2415[_0x41fa7f(0x1b6)]),_0x1f10b4(0x8,_0xdb2415[_0x41fa7f(0x104)])],_0x284db1);var _0x2135c5=Object[_0x41fa7f(0x194)],_0x395ce6=(_0x2079df,_0x72688a,_0x2055bc,_0x310f30)=>{for(var _0x43a0ed=_0x310f30>0x1?void 0x0:_0x310f30?_0x2135c5(_0x72688a,_0x2055bc):_0x72688a,_0x4a0c2f=_0x2079df['length']-0x1,_0x2733b9;_0x4a0c2f>=0x0;_0x4a0c2f--)(_0x2733b9=_0x2079df[_0x4a0c2f])&&(_0x43a0ed=_0x2733b9(_0x43a0ed)||_0x43a0ed);return _0x43a0ed;},_0x4ba7e7=(_0x17131f,_0x27fc42)=>(_0x532871,_0x4c3515)=>_0x27fc42(_0x532871,_0x4c3515,_0x17131f);const _0x3a137c=0x12c,_0x354484=0x64,_0x244efb=()=>{let _0x501068=[],_0x86a9ab=!0x1;return _0x54a3c7=>{const _0x53857d=_0x4944;_0x501068[_0x53857d(0x3dd)](_0x54a3c7),_0x86a9ab||(_0x86a9ab=!0x0,setTimeout(()=>{const _0x3a8e08=_0x53857d;_0x501068[_0x3a8e08(0x270)](_0x306894=>_0x306894()),_0x501068=[],_0x86a9ab=!0x1;}));};};let _0x237592=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1be30d,_0x1d55d0,_0x5d7b0f,_0x1eddb1,_0x591aef,_0x42e283,_0xb482a4,_0x47e012){const _0xd5e409=_0x41fa7f;super(),_0x356879(this,_0xd5e409(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0xd5e409(0x36f),new _0x5bb37b[(_0xd5e409(0x204))](new Map())),_0x356879(this,_0xd5e409(0x33d),this['_cursorInfo$'][_0xd5e409(0x1c0)]()),_0x356879(this,_0xd5e409(0x3da),new _0x5bb37b['BehaviorSubject']([])),_0x356879(this,_0xd5e409(0x3e2),this[_0xd5e409(0x3da)][_0xd5e409(0x25c)](_0x5bb37b['debounceTime'](_0x3a137c))),_0x356879(this,_0xd5e409(0x15c),_0xdb2415[_0xd5e409(0x2dc)]((_0x544889,_0x59a11a)=>{const _0x7c853b=_0xd5e409,_0x463918={'eventID':_0x1b3789[_0x7c853b(0x276)][_0x7c853b(0x297)],'data':{'unitID':this[_0x7c853b(0x281)],'memberID':this[_0x7c853b(0x24a)][_0x7c853b(0x38f)](),'selection':_0x7b5b07[_0x7c853b(0x300)](_0x544889,_0x59a11a[_0x7c853b(0x154)])}};this[_0x7c853b(0x24a)][_0x7c853b(0x1cc)](_0x463918,this[_0x7c853b(0x281)]);},_0x354484)),(this[_0xd5e409(0x281)]=_0x1be30d,this[_0xd5e409(0x24a)]=_0x1d55d0,this['_injector']=_0x5d7b0f,this[_0xd5e409(0x2a1)]=_0x1eddb1,this[_0xd5e409(0x1be)]=_0x591aef,this[_0xd5e409(0x27e)]=_0x42e283,this[_0xd5e409(0x2c7)]=_0xb482a4,this[_0xd5e409(0x2bd)]=_0x47e012);}get[_0x41fa7f(0x1f6)](){const _0x5700fb=_0x41fa7f;return this[_0x5700fb(0x36f)]['getValue']();}get['roomMembers'](){const _0x38d6e6=_0x41fa7f;return this[_0x38d6e6(0x3da)]['getValue']();}[_0x41fa7f(0x1b9)](){const _0x284276=_0x41fa7f;super['dispose'](),this[_0x284276(0x36f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x284276(0x3da)][_0x284276(0x3b5)]([]),this[_0x284276(0x3da)]['complete']();}[_0x41fa7f(0x22f)](){const _0x74c453=_0x41fa7f;this[_0x74c453(0x33f)]||(this[_0x74c453(0x33f)]=!0x0,this['_session'][_0x74c453(0x27b)][_0x74c453(0x25c)](_0x5bb37b[_0x74c453(0x285)](this['dispose$']))[_0x74c453(0x31f)](_0x1778c4=>{const _0x53b974=_0x74c453;_0x1778c4===_0x5a33af['SessionStatus'][_0x53b974(0x1d9)]?this[_0x53b974(0x110)]():this[_0x53b974(0x1d4)]();}),this[_0x74c453(0x24a)][_0x74c453(0x173)][_0x74c453(0x25c)](_0x5bb37b['takeUntil'](this[_0x74c453(0x119)]))[_0x74c453(0x31f)](_0x281f16=>{const _0x3284b0=_0x74c453,_0x9e2d00=_0x281f16[_0x3284b0(0x1d0)];_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x297)]&&this['_onCursorUpdate'](_0x281f16),_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x127)]&&this[_0x3284b0(0x292)](_0x281f16);}),this[_0x74c453(0x387)](),this[_0x74c453(0x31e)](this[_0x74c453(0x2c7)][_0x74c453(0x191)](_0x31bdbf=>{const _0x4cea5e=_0x74c453;if(this[_0x4cea5e(0x1a2)]&&_0x31bdbf['id']===_0x5d16b0[_0x4cea5e(0x2df)]['id']&&_0x31bdbf[_0x4cea5e(0x34a)][_0x4cea5e(0x392)]===this[_0x4cea5e(0x281)]){const _0x143a4f=_0x31bdbf[_0x4cea5e(0x34a)];this[_0x4cea5e(0x15c)](_0x143a4f['subUnitId'],_0x143a4f[_0x4cea5e(0x344)][0x0]);}})));}[_0x41fa7f(0x2a7)](_0x3ab142){const _0x234144=_0x41fa7f;var _0x32c9e8,_0x1d9bf9;const {memberID:_0x4c410b,selection:_0x1577ce}=_0x3ab142['data'],{sheetName:_0x1b8b10,range:_0x5c37e9}=_0x7b5b07[_0x234144(0x1a8)](_0x1577ce),_0x18331d={'name':(_0x1d9bf9=(_0x32c9e8=this[_0x234144(0x1be)][_0x234144(0x3c3)](this['unitID'],_0x4c410b))==null?void 0x0:_0x32c9e8[_0x234144(0x2b1)])!=null?_0x1d9bf9:_0x234144(0x337),'range':this[_0x234144(0x295)](_0x1b8b10,_0x5c37e9),'sheetID':_0x1b8b10,'color':this[_0x234144(0x2a1)]['assignAColorForMemberID'](_0x4c410b),'selection':_0x1577ce},_0x43d8c8=this['cursorInfo'];_0x43d8c8['set'](_0x4c410b,_0x18331d),this[_0x234144(0x36f)][_0x234144(0x3b5)](_0x43d8c8);}['_onCursorDelete'](_0x29f5eb){const _0x28a893=_0x41fa7f,{memberID:_0x4ea43a}=_0x29f5eb[_0x28a893(0x36c)],_0x132aed=this[_0x28a893(0x1f6)];_0x132aed[_0x28a893(0x349)](_0x4ea43a),this[_0x28a893(0x36f)][_0x28a893(0x3b5)](_0x132aed);}[_0x41fa7f(0x295)](_0x180c8f,_0x2b42c0){const _0x5885e4=_0x41fa7f;var _0x25af43,_0x2097d4;const _0x3eb2ee=(_0x2097d4=(_0x25af43=this[_0x5885e4(0x27e)][_0x5885e4(0x123)](this[_0x5885e4(0x281)]))==null?void 0x0:_0x25af43[_0x5885e4(0x28b)](_0x180c8f))==null?void 0x0:_0x2097d4[_0x5885e4(0x1e0)]();return(_0x3eb2ee==null?void 0x0:_0x3eb2ee[_0x5885e4(0x397)](_0x438c13=>_0xdb2415['Rectangle'][_0x5885e4(0x385)](_0x438c13,_0x2b42c0)))||_0x2b42c0;}['_onRefRangeChange'](){const _0x163ff8=_0x41fa7f,_0x1567ec=new _0xdb2415[(_0x163ff8(0x39f))](),_0x126278=_0x244efb(),_0x476e95=()=>{const _0x21fafb=_0x163ff8;_0x1567ec['dispose']();const _0x2fa558=(_0x578a9c,_0x1a3d3f,_0x4dec43,_0x5d06be)=>{const _0x129f11=_0x4944;let _0x2d0689=[];switch(_0x578a9c['id']){case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x1fa)]:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveLeft'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveUp'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)]['InsertColCommandId']:{_0x2d0689=_0x5d16b0['handleInsertCol'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x179)]:{_0x2d0689=_0x5d16b0['handleInsertRangeMoveDown'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x139)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x388)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x348)]:{_0x2d0689=_0x5d16b0['handleInsertRow'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x278)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x368)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x284)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x357)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x131)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x22e)](_0x578a9c,_0x5d06be);break;}}const _0x10ec19=_0x5d16b0['runRefRangeMutations'](_0x2d0689,_0x5d06be),_0x46410d=this[_0x129f11(0x1f6)]['get'](_0x1a3d3f);if(_0x46410d&&_0x10ec19){const _0x1a5d1e={..._0x46410d,'range':_0x10ec19};this[_0x129f11(0x1f6)][_0x129f11(0x238)](_0x1a3d3f,_0x1a5d1e),_0x126278(()=>{const _0xfe646=_0x129f11,_0x52422c=this[_0xfe646(0x2bd)]['registerRefRange'](_0x10ec19,_0x181f4d=>(_0x52422c[_0xfe646(0x1b9)](),_0x2fa558(_0x181f4d,_0x1a3d3f,_0x4dec43,_0x10ec19)));_0x1567ec[_0xfe646(0x12e)](_0x52422c);});}return{'redos':[],'undos':[]};};this[_0x21fafb(0x1f6)][_0x21fafb(0x270)]((_0x21ed73,_0x458394)=>{const _0x976ce7=_0x21fafb,{range:_0x5039a7,sheetID:_0x230c68}=_0x21ed73,_0x586ded=this[_0x976ce7(0x2bd)][_0x976ce7(0x3ad)](_0x5039a7,_0x1f50b2=>(_0x586ded[_0x976ce7(0x1b9)](),_0x2fa558(_0x1f50b2,_0x458394,_0x230c68,_0x5039a7)));_0x1567ec['add'](_0x586ded);});};this[_0x163ff8(0x31e)](_0xdb2415['toDisposable'](this[_0x163ff8(0x36f)][_0x163ff8(0x31f)](()=>{_0x476e95();})));}['_toggleOnline'](){const _0x2d3bbf=_0x41fa7f;var _0x18a26a,_0x3dee85;if(this[_0x2d3bbf(0x1a2)]=!0x0,((_0x18a26a=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x2be)]())==null?void 0x0:_0x18a26a[_0x2d3bbf(0x225)]())!==this[_0x2d3bbf(0x281)])return;const _0x398757=(_0x3dee85=this[_0x2d3bbf(0x2e4)][_0x2d3bbf(0x3a4)](_0x5d16b0[_0x2d3bbf(0x32e)])['getCurrentSelections']())==null?void 0x0:_0x3dee85[0x0],_0x1c82cb=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x335)](_0xdb2415[_0x2d3bbf(0x2f0)][_0x2d3bbf(0x2f4)])['getActiveSheet']();_0x398757&&_0x1c82cb&&this[_0x2d3bbf(0x15c)](_0x1c82cb['getSheetId'](),_0x398757);}[_0x41fa7f(0x1d4)](){this['_online']=!0x1;}};_0x237592=_0x395ce6([_0x4ba7e7(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4ba7e7(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x4ba7e7(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x4ba7e7(0x5,_0xdb2415['IUniverInstanceService']),_0x4ba7e7(0x6,_0xdb2415['ICommandService']),_0x4ba7e7(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0x5d16b0[_0x41fa7f(0x3cf)]))],_0x237592);var _0xcce55f=Object[_0x41fa7f(0x194)],_0x4fc4cc=(_0x41ac38,_0x190655,_0x342fda,_0xd58dab)=>{const _0x108bb3=_0x41fa7f;for(var _0x1bae7c=_0xd58dab>0x1?void 0x0:_0xd58dab?_0xcce55f(_0x190655,_0x342fda):_0x190655,_0x4fc7d5=_0x41ac38[_0x108bb3(0x26c)]-0x1,_0x4b779c;_0x4fc7d5>=0x0;_0x4fc7d5--)(_0x4b779c=_0x41ac38[_0x4fc7d5])&&(_0x1bae7c=_0x4b779c(_0x1bae7c)||_0x1bae7c);return _0x1bae7c;},_0x4f2e54=(_0x1ecd94,_0x3c8397)=>(_0x21834e,_0x31567b)=>_0x3c8397(_0x21834e,_0x31567b,_0x1ecd94);let _0xa0f1ba=class extends _0xdb2415['RxDisposable']{constructor(_0xf0e3f0,_0x5ca2c9,_0x42c9b1){const _0x30651a=_0x41fa7f;super(),_0x356879(this,_0x30651a(0x316),new Map()),_0x356879(this,_0x30651a(0x2b5),new _0x5bb37b['Subject']()),(this[_0x30651a(0x27e)]=_0xf0e3f0,this[_0x30651a(0x2e4)]=_0x5ca2c9,this[_0x30651a(0x38a)]=_0x42c9b1,this[_0x30651a(0x33f)]());}[_0x41fa7f(0x1b9)](){const _0x411e79=_0x41fa7f;super[_0x411e79(0x1b9)](),this['_entityInit$'][_0x411e79(0x3d5)](),this[_0x411e79(0x316)]['forEach'](_0x3c8a0a=>_0x3c8a0a[_0x411e79(0x1b9)]());}[_0x41fa7f(0x2a4)](_0x1433ae){const _0x41bc7a=_0x41fa7f;return this[_0x41bc7a(0x316)][_0x41bc7a(0x246)](_0x1433ae)?this[_0x41bc7a(0x316)][_0x41bc7a(0x3a4)](_0x1433ae)['cursorInfo$']:this[_0x41bc7a(0x2b5)][_0x41bc7a(0x25c)](_0x5bb37b['filter'](_0x5ebf62=>_0x5ebf62[_0x41bc7a(0x281)]===_0x1433ae),_0x5bb37b[_0x41bc7a(0x19e)](_0x545339=>_0x545339[_0x41bc7a(0x33d)]));}[_0x41fa7f(0x33f)](){const _0xabd3e8=_0x41fa7f;this['_univerInstanceService'][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x2f4)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this[_0xabd3e8(0x119)]))[_0xabd3e8(0x31f)](async _0x348363=>{const _0xda1b98=_0xabd3e8,_0x1c20c5=_0x348363[_0xda1b98(0x225)](),_0x491a0b=await this[_0xda1b98(0x3d6)](_0x1c20c5);this[_0xda1b98(0x2b5)][_0xda1b98(0x3b5)](_0x491a0b),this[_0xda1b98(0x316)]['set'](_0x1c20c5,_0x491a0b);}),this[_0xabd3e8(0x27e)][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x315)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x25c)](_0x5bb37b[_0xabd3e8(0x232)](_0x36e8ba=>!_0x36e8ba[_0xabd3e8(0x225)]()['startsWith']('__')))['subscribe'](async _0xa44a98=>{const _0x3762fc=_0xabd3e8,_0x4d608e=_0xa44a98['getUnitId'](),_0x1b31a6=await this[_0x3762fc(0x32c)](_0x4d608e);this[_0x3762fc(0x2b5)][_0x3762fc(0x3b5)](_0x1b31a6),this[_0x3762fc(0x316)][_0x3762fc(0x238)](_0x4d608e,_0x1b31a6);}),_0x5bb37b[_0xabd3e8(0x25f)](this[_0xabd3e8(0x27e)][_0xabd3e8(0x240)](_0xdb2415[_0xabd3e8(0x2f0)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xdb2415['UniverInstanceType'][_0xabd3e8(0x2f4)]))[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x31f)](_0x3b63a1=>{const _0x23c3f4=_0xabd3e8,_0x5a1df5=_0x3b63a1[_0x23c3f4(0x225)](),_0x4421ae=this[_0x23c3f4(0x316)][_0x23c3f4(0x3a4)](_0x5a1df5);_0x4421ae&&(_0x4421ae[_0x23c3f4(0x1b9)](),this[_0x23c3f4(0x316)][_0x23c3f4(0x349)](_0x5a1df5));});}async['_startSheetCollabCursor'](_0x12d300){const _0x4ece69=_0x41fa7f,_0x5eb495=await this[_0x4ece69(0x38a)]['requireSession'](_0x12d300),_0x40e1dd=this[_0x4ece69(0x2e4)][_0x4ece69(0x2ca)](_0x237592,_0x12d300,_0x5eb495);return _0x40e1dd[_0x4ece69(0x22f)](),_0x40e1dd;}async[_0x41fa7f(0x32c)](_0x320074){const _0x104032=_0x41fa7f,_0x3d1b1b=await this[_0x104032(0x38a)][_0x104032(0x351)](_0x320074),_0x4a6229=this[_0x104032(0x2e4)]['createInstance'](_0x284db1,_0x320074,_0x3d1b1b);return _0x4a6229['init'](),_0x4a6229;}};_0xa0f1ba=_0x4fc4cc([_0x4f2e54(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x4f2e54(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4f2e54(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0xa0f1ba);const _0x39a30f=0x14,_0x221c7b=0xc8,_0xab4be3=0x4,_0x4148cb=0x5;function _0x6ccbfd(_0x1acef2,_0x552059){const _0x38b4bb=_0x41fa7f;let {radius:_0x827c08,width:_0x38f8d1,height:_0x3dc8d7}=_0x552059;_0x827c08=_0x827c08!=null?_0x827c08:0x0,_0x38f8d1=_0x38f8d1!=null?_0x38f8d1:0x1e,_0x3dc8d7=_0x3dc8d7!=null?_0x3dc8d7:0x1e;let _0x1951a2=0x0,_0x4441e1=0x0,_0x1e5e45=0x0;_0x1951a2=_0x4441e1=_0x1e5e45=Math[_0x38b4bb(0x302)](_0x827c08,_0x38f8d1/0x2,_0x3dc8d7/0x2),_0x1acef2[_0x38b4bb(0x183)](),_0x1acef2[_0x38b4bb(0x38e)](_0x1951a2,0x0),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1-_0x4441e1,0x0),_0x1acef2[_0x38b4bb(0x380)](_0x38f8d1-_0x4441e1,_0x4441e1,_0x4441e1,Math['PI']*0x3/0x2,0x0,!0x1),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1,_0x3dc8d7-_0x1e5e45),_0x1acef2['arc'](_0x38f8d1-_0x1e5e45,_0x3dc8d7-_0x1e5e45,_0x1e5e45,0x0,Math['PI']/0x2,!0x1),_0x1acef2['lineTo'](0x0,_0x3dc8d7),_0x1acef2['lineTo'](0x0,_0x1951a2),_0x1acef2[_0x38b4bb(0x380)](_0x1951a2,_0x1951a2,_0x1951a2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1acef2['closePath'](),_0x552059[_0x38b4bb(0x18b)]&&(_0x1acef2['save'](),_0x1acef2[_0x38b4bb(0x323)]=_0x552059[_0x38b4bb(0x18b)],_0x552059['fillRule']===_0x38b4bb(0x2e3)?_0x1acef2[_0x38b4bb(0x18b)](_0x38b4bb(0x2e3)):_0x1acef2[_0x38b4bb(0x18b)](),_0x1acef2[_0x38b4bb(0x1ac)]());}class _0x1c80eb extends _0x7c9b89[_0x41fa7f(0x128)]{constructor(_0x5bc7af,_0x70f18d){const _0x5bf24d=_0x41fa7f;super(_0x5bc7af,_0x70f18d),_0x356879(this,_0x5bf24d(0x2fa)),_0x356879(this,_0x5bf24d(0x129)),(this[_0x5bf24d(0x2fa)]=_0x70f18d==null?void 0x0:_0x70f18d[_0x5bf24d(0x2fa)],this[_0x5bf24d(0x129)]=_0x70f18d==null?void 0x0:_0x70f18d['text']);}static[_0x41fa7f(0x28c)](_0x118849,_0x5e003a){const _0x5a0cc2=_0x41fa7f,{text:_0x389206,color:_0x36b9e4}=_0x5e003a;_0x118849[_0x5a0cc2(0x23f)](),_0x118849[_0x5a0cc2(0x30f)]=_0x5a0cc2(0x120);const _0x184171=_0x118849[_0x5a0cc2(0x185)](_0x389206)[_0x5a0cc2(0x1d5)],_0x2820c6=Math[_0x5a0cc2(0x302)](_0x184171+0x2*_0xab4be3,_0x221c7b);_0x6ccbfd(_0x118849,{'height':_0x39a30f,'radius':0x4,'width':_0x2820c6,'fill':_0x36b9e4}),_0x118849[_0x5a0cc2(0x323)]=_0x5a0cc2(0x243);const _0x31654f=_0xab4be3,_0x10e10c=_0x39a30f-_0x4148cb,_0x1229af=_0x221c7b-0x2*_0xab4be3;if(_0x184171>_0x1229af){let _0x5c0330='',_0x36b3ea=0x0;for(const _0x2e71ca of _0x389206){const _0x24aaa3=_0x118849[_0x5a0cc2(0x185)](_0x2e71ca)[_0x5a0cc2(0x1d5)];if(_0x36b3ea+_0x24aaa3<=_0x1229af-_0x118849[_0x5a0cc2(0x185)](_0x5a0cc2(0x362))[_0x5a0cc2(0x1d5)])_0x5c0330+=_0x2e71ca,_0x36b3ea+=_0x24aaa3;else{_0x5c0330+=_0x5a0cc2(0x362);break;}}_0x118849[_0x5a0cc2(0x166)](_0x5c0330,_0x31654f,_0x10e10c);}else _0x118849[_0x5a0cc2(0x166)](_0x389206,_0x31654f,_0x10e10c);_0x118849[_0x5a0cc2(0x1ac)]();}[_0x41fa7f(0x2c4)](_0x2a3557){const _0x4da168=_0x41fa7f;_0x1c80eb[_0x4da168(0x28c)](_0x2a3557,this);}}const _0x55882b=_0x41fa7f(0x33a),_0x277d53=_0x41fa7f(0x1c2),_0x1551dc='collab-rect-range-',_0x5ea91d=0x6,_0xb56194=1.5,_0xfec3a6=0x4,_0x3738ca=1.5,_0x24d547=_0x41fa7f(0x365);class _0x277fdb{constructor(_0x1b5cc0,_0x2ebbd7,_0x3b7ba1,_0xe35db3){const _0xfeb88=_0x41fa7f;_0x356879(this,'_shapes',[]),_0x356879(this,_0xfeb88(0x347),null),_0x356879(this,_0xfeb88(0x331),null),_0x356879(this,_0xfeb88(0x12b),null),_0x356879(this,_0xfeb88(0x239),null),_0x356879(this,_0xfeb88(0x280),null),(this[_0xfeb88(0x213)]=_0x1b5cc0,this['_scene']=_0x2ebbd7,this['_docSkeleton']=_0x3b7ba1,this[_0xfeb88(0x146)]=_0xe35db3,this[_0xfeb88(0x226)]());}set[_0x41fa7f(0x1f9)](_0x3d469c){const _0x104cc3=_0x41fa7f;_0x3d469c?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x104cc3(0x331)][_0x104cc3(0x186)]()):(this[_0x104cc3(0x12b)]&&this['_anchorDot'][_0x104cc3(0x186)](),this[_0x104cc3(0x331)]&&this[_0x104cc3(0x331)]['hide']());}['dispose'](){const _0x14f665=_0x41fa7f;for(const _0x55e5cf of this[_0x14f665(0x391)])_0x55e5cf[_0x14f665(0x1b9)]();this[_0x14f665(0x331)]&&this[_0x14f665(0x331)]['dispose'](),this[_0x14f665(0x12b)]&&this[_0x14f665(0x12b)]['dispose'](),this['_anchor']&&this[_0x14f665(0x347)][_0x14f665(0x1b9)](),this[_0x14f665(0x280)]&&this['_eventUnsubscribe']();}[_0x41fa7f(0x226)](){const _0x3ed7e7=_0x41fa7f;var _0x2b9a72;const {_docSkeleton:_0x2fc670,_document:_0x771ec2}=this,{color:_0x5f2059,name:_0x15c276,ranges:_0xb312e8}=this[_0x3ed7e7(0x213)],_0x3d5099=_0x771ec2[_0x3ed7e7(0x13e)](),{docsLeft:_0xf74a8f,docsTop:_0x4fb2f1}=_0x3d5099,_0x246aab=new _0x4abee5['NodePositionConvertToCursor'](_0x3d5099,_0x2fc670);for(const {startOffset:_0x794fa0,endOffset:_0xac7e2c,rangeType:_0x4d31c0,segmentId:_0xa778f0,segmentPage:_0x16eb4f,collapsed:_0x3647ad,isActive:_0x2101bd}of _0xb312e8){const _0x36d78e=_0x2fc670['findNodePositionByCharIndex'](_0x794fa0,!0x0,_0xa778f0,_0x16eb4f);let _0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c,!0x0,_0xa778f0,_0x16eb4f);if(_0x4ea6b8==null&&(_0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c-0x1,!0x1,_0xa778f0,_0x16eb4f)),_0x2101bd){const {contentBoxPointGroup:_0x4d1680}=_0x246aab[_0x3ed7e7(0x2de)](_0x4ea6b8,_0x4ea6b8);if(_0x4d1680[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x22d)](_0x5f2059,_0x4d1680,_0xf74a8f,_0x4fb2f1,_0x15c276),this[_0x3ed7e7(0x280)]=this['_handleHover']();}if(_0x36d78e&&_0x4ea6b8){if(_0x4d31c0===_0xdb2415['DOC_RANGE_TYPE'][_0x3ed7e7(0x15f)]){const _0x4c058b=new _0x4abee5['NodePositionConvertToRectRange'](_0x3d5099,_0x2fc670),{pointGroup:_0x46c30b}=(_0x2b9a72=_0x4c058b['getRangePointData'](_0x36d78e,_0x4ea6b8))!=null?_0x2b9a72:{};if(_0x46c30b==null||_0x46c30b['length']===0x0)continue;this[_0x3ed7e7(0x24e)](_0x5f2059,_0x46c30b,_0xf74a8f,_0x4fb2f1);}else{if(!_0x3647ad){const {borderBoxPointGroup:_0x2a3df5}=_0x246aab[_0x3ed7e7(0x2de)](_0x36d78e,_0x4ea6b8);if(_0x2a3df5[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x156)](_0x5f2059,_0x2a3df5,_0xf74a8f,_0x4fb2f1);}}}}}[_0x41fa7f(0x22d)](_0x4d2d02,_0x2ca276,_0xbd46e1,_0x4e30f6,_0x5e36a8){const _0x4fc918=_0x41fa7f,_0x237c54=this[_0x4fc918(0x18c)](_0x2ca276),{left:_0x4cc8d7,top:_0x325868,height:_0x494a01}=_0x237c54,_0x184529=this[_0x4fc918(0x377)](),_0x3fe94f=_0x3738ca/_0x184529,_0x35c8c1=new _0x7c9b89['Rect'](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6,'height':_0x494a01,'width':_0xb56194,'fill':_0x4d2d02||_0x7c9b89['getColor'](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'strokeWidth':_0x3fe94f,'stroke':_0x24d547,'evented':!0x0});this[_0x4fc918(0x347)]=_0x35c8c1,this['_scene'][_0x4fc918(0x130)](_0x35c8c1,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);const _0x7c7f54=new _0x7c9b89[(_0x4fc918(0x3c9))](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0xfec3a6/0x2,'height':_0xfec3a6,'width':_0xfec3a6,'fill':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'evented':!0x1});this['_anchorDot']=_0x7c7f54,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x7c7f54,_0x4abee5[_0x4fc918(0x20f)]);const _0x95d087=new _0x1c80eb(_0x55882b+_0xdb2415[_0x4fc918(0x1c5)](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0x39a30f,'text':_0x5e36a8,'color':_0x4d2d02});this['_textBubble']=_0x95d087,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x95d087,_0x4abee5[_0x4fc918(0x20f)]),this[_0x4fc918(0x1f9)]=!0x1;}[_0x41fa7f(0x180)](){const _0x2b7f19=_0x41fa7f,_0xad7311=this[_0x2b7f19(0x347)][_0x2b7f19(0x2e6)][_0x2b7f19(0x38b)](()=>{const _0x3fe2f0=_0x2b7f19;this[_0x3fe2f0(0x1f9)]=!0x0;}),_0x5134ce=this['_anchor'][_0x2b7f19(0x1fd)][_0x2b7f19(0x38b)](()=>{const _0x51cead=_0x2b7f19;this[_0x51cead(0x239)]&&clearTimeout(this[_0x51cead(0x239)]),this[_0x51cead(0x239)]=setTimeout(()=>{const _0xd33d5=_0x51cead;this[_0xd33d5(0x1f9)]=!0x1;},0x7d0);});return()=>{_0xad7311['unsubscribe'](),_0x5134ce['unsubscribe']();};}['_drawTextRange'](_0x4842c1,_0x3fd8ba,_0x3583df,_0x3b2c57){const _0x221040=_0x41fa7f,_0x4afc76=new _0xdb2415[(_0x221040(0x2c2))](_0x4842c1)[_0x221040(0x359)](0.2)[_0x221040(0x1c7)](),_0x55a7c8=new _0x7c9b89[(_0x221040(0x2b2))](_0x277d53+_0xdb2415[_0x221040(0x1c5)](_0x5ea91d),{'pointsGroup':_0x3fd8ba,'fill':_0x4afc76||_0x7c9b89[_0x221040(0x3a7)](_0xdb2415['COLORS'][_0x221040(0x375)],0.2),'left':_0x3583df,'top':_0x3b2c57,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221040(0x391)]['push'](_0x55a7c8),this['_scene'][_0x221040(0x130)](_0x55a7c8,_0x4abee5[_0x221040(0x20f)]);}[_0x41fa7f(0x24e)](_0x3742b9,_0x286680,_0x5028f1,_0xd1e2){const _0x52ee35=_0x41fa7f,_0x371144=new _0xdb2415[(_0x52ee35(0x2c2))](_0x3742b9)[_0x52ee35(0x359)](0.2)[_0x52ee35(0x1c7)](),_0x5278dd=new _0x7c9b89['RegularPolygon'](_0x1551dc+_0xdb2415['generateRandomId'](_0x5ea91d),{'pointsGroup':_0x286680,'fill':_0x371144||_0x7c9b89[_0x52ee35(0x3a7)](_0xdb2415[_0x52ee35(0x159)][_0x52ee35(0x375)],0.2),'left':_0x5028f1,'top':_0xd1e2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x52ee35(0x3dd)](_0x5278dd),this[_0x52ee35(0x1ce)][_0x52ee35(0x130)](_0x5278dd,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0xd50640){const _0x2ff103=_0xd50640[0x0],_0x67d6fa=_0x2ff103[0x0],_0x26fbd9=_0x2ff103[0x2],{x:_0x2f42a4,y:_0x45274a}=_0x67d6fa,{x:_0x2ca981,y:_0x274c8b}=_0x26fbd9;return{'left':_0x2f42a4,'top':_0x45274a,'width':_0x2ca981-_0x2f42a4,'height':_0x274c8b-_0x45274a};}['_getScale'](){const _0x15e8cc=_0x41fa7f,{scaleX:_0x4fd8f8,scaleY:_0x3472dc}=this[_0x15e8cc(0x1ce)][_0x15e8cc(0x37c)]();return Math[_0x15e8cc(0x3d7)](_0x4fd8f8,_0x3472dc);}}var _0xe41ea0=Object['getOwnPropertyDescriptor'],_0xc90376=(_0x2ab268,_0x483956,_0x58d83c,_0x32bf5f)=>{const _0x245d2b=_0x41fa7f;for(var _0x32dd92=_0x32bf5f>0x1?void 0x0:_0x32bf5f?_0xe41ea0(_0x483956,_0x58d83c):_0x483956,_0x40efdc=_0x2ab268[_0x245d2b(0x26c)]-0x1,_0x54a574;_0x40efdc>=0x0;_0x40efdc--)(_0x54a574=_0x2ab268[_0x40efdc])&&(_0x32dd92=_0x54a574(_0x32dd92)||_0x32dd92);return _0x32dd92;},_0x25fc38=(_0x4098f4,_0x5e8e35)=>(_0x185f65,_0x5ac74c)=>_0x5e8e35(_0x185f65,_0x5ac74c,_0x4098f4);let _0x1ba6f3=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x31448e,_0x2f14d8,_0xa9ae61,_0xd27ba0,_0x1cd26d){const _0x6cc955=_0x41fa7f;super(),_0x356879(this,'_cursorShapes',[]),_0x356879(this,_0x6cc955(0x1a9),[]),(this[_0x6cc955(0x2a0)]=_0x31448e,this[_0x6cc955(0x314)]=_0x2f14d8,this[_0x6cc955(0x1bc)]=_0xa9ae61,this[_0x6cc955(0x2c7)]=_0xd27ba0,this[_0x6cc955(0x326)]=_0x1cd26d,this[_0x6cc955(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x1e43da=_0x41fa7f,_0x591923=this[_0x1e43da(0x2a0)][_0x1e43da(0x392)],_0x1102e3=this[_0x1e43da(0x314)];this[_0x1e43da(0x31e)](_0x5bb37b[_0x1e43da(0x2b9)]([this[_0x1e43da(0x1bc)][_0x1e43da(0x2a4)](_0x591923),this[_0x1e43da(0x326)][_0x1e43da(0x2f7)]])['pipe'](_0xf7042a[_0x1e43da(0x311)](([_0x1df03d,_0x13259e])=>({'skeleton':_0x1102e3[_0x1e43da(0x169)](),'cursors':[..._0x1df03d[_0x1e43da(0x39b)]()][_0x1e43da(0x371)](_0x4cba5d=>({..._0x4cba5d,'color':this[_0x1e43da(0x326)][_0x1e43da(0x2d3)](_0x4cba5d[_0x1e43da(0x2fa)])}))})))['subscribe'](_0x5b6c98=>{const _0x447a1e=_0x1e43da;if(this[_0x447a1e(0x17e)](),_0x5b6c98){const {skeleton:_0x19ff5d,cursors:_0x48d3cb}=_0x5b6c98;this['_updateCollabCursors'](_0x19ff5d,_0x48d3cb);}})),this['_initResize'](),this[_0x1e43da(0x306)]();}[_0x41fa7f(0x112)](_0x3ef664,_0x53a234){const _0x3e0166=_0x41fa7f,{scene:_0x2eb3aa,mainComponent:_0x5a1c30}=this[_0x3e0166(0x2a0)],_0x4434e5=_0x53a234[_0x3e0166(0x311)](_0x2b3c8d=>new _0x277fdb(_0x2b3c8d,_0x2eb3aa,_0x3ef664,_0x5a1c30));this['_cursorShapes']=_0x4434e5,this[_0x3e0166(0x1a9)]=_0x53a234;}[_0x41fa7f(0x16b)](){const _0x33497d=_0x41fa7f;this[_0x33497d(0x17e)]();const {scene:_0x1a418b,mainComponent:_0x54bfff}=this[_0x33497d(0x2a0)],_0xa9834d=this[_0x33497d(0x314)][_0x33497d(0x169)](),_0x2aa166=this[_0x33497d(0x1a9)][_0x33497d(0x311)](_0x35260b=>new _0x277fdb(_0x35260b,_0x1a418b,_0xa9834d,_0x54bfff));this[_0x33497d(0x21e)]=_0x2aa166;}[_0x41fa7f(0x17e)](){const _0x38f1ba=_0x41fa7f;this[_0x38f1ba(0x21e)]['forEach'](_0x186d7c=>_0x186d7c['dispose']()),this[_0x38f1ba(0x21e)]=[];}[_0x41fa7f(0x306)](){const _0x2b7ae2=_0x41fa7f,_0x3955ba=[_0x4abee5['SetDocZoomRatioOperation']['id']];this[_0x2b7ae2(0x31e)](this[_0x2b7ae2(0x2c7)][_0x2b7ae2(0x191)](_0x424669=>{const _0xe03613=_0x2b7ae2;_0x3955ba[_0xe03613(0x21d)](_0x424669['id'])&&_0x424669[_0xe03613(0x34a)][_0xe03613(0x392)]===this[_0xe03613(0x2a0)][_0xe03613(0x392)]&&this[_0xe03613(0x16b)]();}));}[_0x41fa7f(0x25a)](){const _0x24ecf6=_0x41fa7f;this['disposeWithMe'](_0xdb2415[_0x24ecf6(0x1b7)](this[_0x24ecf6(0x2a0)][_0x24ecf6(0x176)]['onTransformChange$'])[_0x24ecf6(0x25c)](_0xf7042a[_0x24ecf6(0x232)](_0x12450c=>_0x12450c[_0x24ecf6(0x17a)]===_0x7c9b89[_0x24ecf6(0x11c)]['resize']),_0xf7042a[_0x24ecf6(0x3ce)](0x10))['subscribe'](()=>{const _0x4f970e=_0x24ecf6;this[_0x4f970e(0x16b)]();}));}};_0x1ba6f3=_0xc90376([_0x25fc38(0x1,_0xdb2415['Inject'](_0x5e9ade[_0x41fa7f(0x170)])),_0x25fc38(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x25fc38(0x3,_0xdb2415['ICommandService']),_0x25fc38(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x1ba6f3);const _0x513646=0x1,_0x5b0b79=1.5;class _0x2d04ac extends _0x7c9b89['Shape']{constructor(_0x1bf760,_0x2adfa7){const _0x1a048f=_0x41fa7f;super(_0x1bf760,_0x2adfa7),_0x356879(this,_0x1a048f(0x1d6)),_0x356879(this,_0x1a048f(0x2e1),!0x1),_0x356879(this,_0x1a048f(0x27a)),_0x356879(this,_0x1a048f(0x234),''),_0x356879(this,_0x1a048f(0x3b6),_0x1a048f(0x209)),_0x356879(this,'_backgroundColor'),(_0x2adfa7&&this[_0x1a048f(0x3d0)](_0x2adfa7),this[_0x1a048f(0x2e6)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1a048f(0x1fd)][_0x1a048f(0x38b)](()=>this[_0x1a048f(0x3d0)]({'hovered':!0x1})));}['setShapeProps'](_0x5b19cc){const _0x295757=_0x41fa7f;var _0x50b3e9,_0x4fb9d7,_0x5dfb60,_0x48679b,_0x262e8c,_0x1c82ec;this[_0x295757(0x1d6)]=(_0x50b3e9=_0x5b19cc[_0x295757(0x2fa)])!=null?_0x50b3e9:this[_0x295757(0x1d6)],this[_0x295757(0x2e1)]=(_0x4fb9d7=_0x5b19cc[_0x295757(0x2b8)])!=null?_0x4fb9d7:this['_hovered'],this[_0x295757(0x27a)]=(_0x5dfb60=_0x5b19cc['range'])!=null?_0x5dfb60:this[_0x295757(0x27a)],this[_0x295757(0x234)]=(_0x48679b=_0x5b19cc[_0x295757(0x2b1)])!=null?_0x48679b:this['_name'],this[_0x295757(0x3b6)]=(_0x262e8c=_0x5b19cc[_0x295757(0x133)])!=null?_0x262e8c:this[_0x295757(0x3b6)],this[_0x295757(0x1a6)]=(_0x1c82ec=_0x5b19cc[_0x295757(0x1bd)])!=null?_0x1c82ec:this[_0x295757(0x1a6)],this['transformByState']({'width':_0x5b19cc['width'],'height':_0x5b19cc[_0x295757(0x106)]});}[_0x41fa7f(0x259)](_0x3f1315){const _0x15f4d0=_0x41fa7f,{row:_0x459a43,column:_0x3476d9}=_0x3f1315;if(_0x459a43>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x137)]&&_0x459a43<=this[_0x15f4d0(0x27a)][_0x15f4d0(0x14a)]&&_0x3476d9>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x12a)]&&_0x3476d9<=this['_range'][_0x15f4d0(0x350)]){this[_0x15f4d0(0x3d0)]({'hovered':!0x0});return;}this[_0x15f4d0(0x3d0)]({'hovered':!0x1});}['triggerDblclick'](_0x196695){return!0x1;}[_0x41fa7f(0x2c4)](_0x25f802){const _0xf0a65b=_0x41fa7f;_0x7c9b89[_0xf0a65b(0x3c9)]['drawWith'](_0x25f802,{'width':this[_0xf0a65b(0x1d5)],'height':this[_0xf0a65b(0x106)],'strokeWidth':_0x5b0b79,'stroke':this[_0xf0a65b(0x1d6)],'evented':!0x1,'fill':this[_0xf0a65b(0x1a6)]}),this[_0xf0a65b(0x2e1)]&&(_0x25f802[_0xf0a65b(0x23f)](),_0x25f802[_0xf0a65b(0x2af)](0x1,0x0,0x0,0x1,this['width'],this[_0xf0a65b(0x3b6)]===_0xf0a65b(0x35b)?0x0:-_0x39a30f),_0x1c80eb[_0xf0a65b(0x28c)](_0x25f802,{'text':this['_name'],'color':this['_color']}),_0x25f802[_0xf0a65b(0x1ac)]());}}var _0x2380d6=Object[_0x41fa7f(0x194)],_0x214103=(_0x275ed4,_0x19de4e,_0x13496b,_0x42a822)=>{const _0x1bbcc4=_0x41fa7f;for(var _0x9fc54=_0x42a822>0x1?void 0x0:_0x42a822?_0x2380d6(_0x19de4e,_0x13496b):_0x19de4e,_0x5664ff=_0x275ed4[_0x1bbcc4(0x26c)]-0x1,_0x14bf73;_0x5664ff>=0x0;_0x5664ff--)(_0x14bf73=_0x275ed4[_0x5664ff])&&(_0x9fc54=_0x14bf73(_0x9fc54)||_0x9fc54);return _0x9fc54;},_0x234a2b=(_0x550da8,_0x27d0bf)=>(_0x28c843,_0x239cc0)=>_0x27d0bf(_0x28c843,_0x239cc0,_0x550da8);const _0x4b416c=0x1389;let _0x267f0b=class extends _0xdb2415['RxDisposable']{constructor(_0x1ad383,_0x1dc497,_0x47e1a9,_0x1c3226){const _0x434b65=_0x41fa7f;super(),_0x356879(this,_0x434b65(0x1a9),new Set()),_0x356879(this,_0x434b65(0x2b7),null),(this[_0x434b65(0x2a0)]=_0x1ad383,this[_0x434b65(0x2ba)]=_0x1dc497,this[_0x434b65(0x1bc)]=_0x47e1a9,this[_0x434b65(0x326)]=_0x1c3226,this['_init']());}[_0x41fa7f(0x33f)](){const _0x3736b7=_0x41fa7f;this[_0x3736b7(0x2ba)][_0x3736b7(0x298)][_0x3736b7(0x25c)](_0xf7042a[_0x3736b7(0x285)](this[_0x3736b7(0x119)]),_0xf7042a['switchMap'](_0x26ab5f=>{const _0x26db39=_0x3736b7;if(_0x26ab5f){const _0x142052=_0x26ab5f[_0x26db39(0x1c3)];return _0x5bb37b[_0x26db39(0x2b9)](this[_0x26db39(0x1bc)][_0x26db39(0x2a4)](this[_0x26db39(0x2a0)][_0x26db39(0x392)]),this[_0x26db39(0x326)][_0x26db39(0x2f7)])[_0x26db39(0x25c)](_0xf7042a[_0x26db39(0x311)](([_0x5e9f53,_0x1835e6])=>{const _0xcf3345=new Map();return _0x5e9f53['forEach']((_0x2a864f,_0x1f281b)=>{const _0xf17993=_0x4944;if(_0x2a864f[_0xf17993(0x2b4)]===_0x142052){const _0x510330={..._0x2a864f};_0x510330[_0xf17993(0x2fa)]=this[_0xf17993(0x326)][_0xf17993(0x2d3)](_0x2a864f['color']),_0xcf3345[_0xf17993(0x238)](_0x1f281b,_0x510330);}}),{'skeleton':_0x26ab5f,'cursors':_0xcf3345};}));}return _0x5bb37b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3736b7(0x31f)](({skeleton:_0x1860b2,cursors:_0x49ba94})=>{const _0x1caaca=_0x3736b7;this[_0x1caaca(0x17e)](),_0x1860b2&&this[_0x1caaca(0x112)](_0x1860b2,_0x49ba94);}),this['_sheetSkeletonManagerService'][_0x3736b7(0x298)][_0x3736b7(0x31f)](_0x43843e=>{const _0x28053e=_0x3736b7;if(_0x43843e==null)return;const {skeleton:_0xc1d4bc}=_0x43843e,{scene:_0x15cbc4}=this[_0x28053e(0x2a0)];_0x15cbc4['onPointerMove$'][_0x28053e(0x38b)](_0xdb2415[_0x28053e(0x2dc)](_0x28f2be=>{const _0x293803=_0x28053e;var _0xfa81d0,_0x447715;const {offsetX:_0x1481ca,offsetY:_0x226a0a}=_0x28f2be,{x:_0x2d9ed7,y:_0x468ac5}=_0x15cbc4[_0x293803(0x114)](_0x7c9b89[_0x293803(0x356)][_0x293803(0x2cd)]([_0x1481ca,_0x226a0a])),{scaleX:_0x391a3f,scaleY:_0x54fe07}=_0x15cbc4[_0x293803(0x37c)](),_0x521022=_0x15cbc4[_0x293803(0x249)](_0x7c9b89['SHEET_VIEWPORT_KEY'][_0x293803(0x182)]),_0x137e86=_0x15cbc4[_0x293803(0x32d)](_0x7c9b89['Vector2'][_0x293803(0x2cd)]([_0x2d9ed7,_0x468ac5]),_0x521022),_0x127acf=_0xc1d4bc[_0x293803(0xf9)](_0x1481ca,_0x226a0a,_0x391a3f,_0x54fe07,_0x137e86);((_0xfa81d0=this[_0x293803(0x2b7)])==null?void 0x0:_0xfa81d0[_0x293803(0x35a)])===_0x127acf[_0x293803(0x35a)]&&((_0x447715=this[_0x293803(0x2b7)])==null?void 0x0:_0x447715[_0x293803(0x379)])===_0x127acf[_0x293803(0x379)]||this[_0x293803(0x1a9)][_0x293803(0x270)](_0x43fc43=>{const _0x74333=_0x293803;_0x43fc43[_0x74333(0x259)](_0x127acf);});},0x64));});}[_0x41fa7f(0x112)](_0x319582,_0x45c573){const _0x5a99dc=_0x41fa7f;var _0x3bca55;const _0x54cce2=(_0x3bca55=this[_0x5a99dc(0x2ba)][_0x5a99dc(0x32b)]())==null?void 0x0:_0x3bca55[_0x5a99dc(0x218)];if(!_0x54cce2)return;const _0x5c3081=this[_0x5a99dc(0x1ca)]();if(!_0x5c3081)return;this[_0x5a99dc(0x1a9)]['forEach'](_0x5e5fb7=>{const _0x29e095=_0x5a99dc;_0x5e5fb7[_0x29e095(0x193)]();});const {scene:_0x2e2519}=_0x5c3081,_0x28f1e6=_0x25b5ba(Array[_0x5a99dc(0x2a2)](_0x45c573[_0x5a99dc(0x39b)]()))[_0x5a99dc(0x311)](_0x45a275=>{const _0x1021ce=_0x5a99dc,{color:_0x495800,range:_0x3fb9d3,name:_0x3e5eb2,selection:_0x5336f5,sheetID:_0x42b2c3}=_0x45a275,{startColumn:_0x1fb6ed,startRow:_0x5b4259,endColumn:_0x25e95a,endRow:_0x124bc9}=_0x3fb9d3,_0x3d0b6e=_0x427b04[_0x1021ce(0x1cf)](_0x5b4259,_0x1fb6ed,_0x2e2519,_0x54cce2),_0x51d7fe=_0x427b04[_0x1021ce(0x1cf)](_0x124bc9,_0x25e95a,_0x2e2519,_0x54cce2),{columnHeaderHeightAndMarginTop:_0xa112aa}=_0x54cce2,{startX:_0x4cb7fc,startY:_0xaa2b5c}=_0x3d0b6e,{endX:_0x5cc1e9,endY:_0x3b7c79}=_0x51d7fe,_0x4729c0=_0x5cc1e9-_0x4cb7fc,_0x14354c=_0x3b7c79-_0xaa2b5c,_0x426724={'labelPosition':_0xaa2b5c-_0xa112aa>=_0x39a30f?_0x1021ce(0x209):'bottom','sheetID':_0x42b2c3,'range':_0x3fb9d3,'color':_0x495800,'name':_0x3e5eb2,'selection':_0x5336f5,'left':_0x4cb7fc,'top':_0xaa2b5c,'width':_0x4729c0,'height':_0x14354c,'evented':!0x1,'zIndex':_0x4b416c};return new _0x2d04ac(_0x3e5eb2,_0x426724);});_0x2e2519[_0x5a99dc(0x17b)](_0x28f1e6,_0x513646),this[_0x5a99dc(0x1a9)]=new Set(_0x28f1e6);}[_0x41fa7f(0x17e)](){const _0x567509=_0x41fa7f;var _0x5edf63;(_0x5edf63=this['_cursors'])==null||_0x5edf63[_0x567509(0x270)](_0x40947a=>_0x40947a[_0x567509(0x1b9)]());}[_0x41fa7f(0x1ca)](){const _0x42892b=_0x41fa7f;return _0x427b04[_0x42892b(0x190)](this[_0x42892b(0x2a0)][_0x42892b(0x3a1)],this['_context']);}};_0x267f0b=_0x214103([_0x234a2b(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x427b04[_0x41fa7f(0x235)])),_0x234a2b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x234a2b(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x267f0b);function _0x25b5ba(_0x26b270){const _0x5e328c=_0x41fa7f,_0x37f4ef=new Map();return _0x26b270[_0x5e328c(0x270)](_0x5e0f2e=>{const _0x12cf83=_0x5e328c;if(_0x37f4ef[_0x12cf83(0x246)](_0x5e0f2e[_0x12cf83(0x1ba)])){const _0x22d852=_0x37f4ef[_0x12cf83(0x3a4)](_0x5e0f2e['selection']);_0x22d852['name']+=',\x20'+_0x5e0f2e[_0x12cf83(0x2b1)];}else _0x37f4ef[_0x12cf83(0x238)](_0x5e0f2e['selection'],_0x5e0f2e);}),Array[_0x5e328c(0x2a2)](_0x37f4ef[_0x5e328c(0x39b)]());}var _0x43bd34=Object[_0x41fa7f(0x194)],_0x4c6cdb=(_0x2a76e7,_0x4ee4d0,_0x1469df,_0x52faa2)=>{const _0x3d57d8=_0x41fa7f;for(var _0x410330=_0x52faa2>0x1?void 0x0:_0x52faa2?_0x43bd34(_0x4ee4d0,_0x1469df):_0x4ee4d0,_0x850d1d=_0x2a76e7[_0x3d57d8(0x26c)]-0x1,_0x555be3;_0x850d1d>=0x0;_0x850d1d--)(_0x555be3=_0x2a76e7[_0x850d1d])&&(_0x410330=_0x555be3(_0x410330)||_0x410330);return _0x410330;},_0x3b7ca7=(_0x115bdf,_0x51869e)=>(_0x4e1981,_0x90b3ca)=>_0x51869e(_0x4e1981,_0x90b3ca,_0x115bdf);let _0x375bf7=class extends _0xdb2415['Disposable']{constructor(_0x223b02,_0x235279,_0x97cb77,_0x559611,_0x57efe7,_0x404809){const _0x38542d=_0x41fa7f;super(),this[_0x38542d(0x3a5)]=_0x223b02,this['_localCacheService']=_0x235279,this[_0x38542d(0x290)]=_0x97cb77,this[_0x38542d(0x1db)]=_0x559611,this[_0x38542d(0x320)]=_0x57efe7,this[_0x38542d(0x1d8)]=_0x404809,this['_setupBeforeClosingHandler'](),this[_0x38542d(0x245)]();}[_0x41fa7f(0x1e1)](){const _0x1fe78a=_0x41fa7f;this[_0x1fe78a(0x31e)](this[_0x1fe78a(0x3a5)][_0x1fe78a(0x217)](()=>{const _0x4972e=_0x1fe78a;if(this[_0x4972e(0x31b)][_0x4972e(0x255)]['size'])return this[_0x4972e(0x1d8)]['t'](_0x4972e(0x1bf));}));}[_0x41fa7f(0x245)](){const _0x502aaa=_0x41fa7f;this[_0x502aaa(0x31e)](this[_0x502aaa(0x290)][_0x502aaa(0x173)][_0x502aaa(0x31f)](_0x209151=>{const _0x5a023b=_0x502aaa;_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x3ca)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Warning'],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.single-unit.warning')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1f8)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)]['Warning'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x31d))}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x21f)]&&this[_0x5a023b(0x320)][_0x5a023b(0x186)]({'title':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x132)),'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x36a)),'type':_0x5a023b(0x399),'duration':0x0}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1af)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.closeRoom')+'('+_0x209151[_0x5a023b(0x36c)]+')'}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1cb)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this[_0x5a023b(0x1d8)]['t'](_0x209151[_0x5a023b(0x36c)]||'')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x26b)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this['_localeService']['t'](_0x5a023b(0x228))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x2c9)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Error'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x2aa))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x157)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this['_localeService']['t'](_0x5a023b(0x113))});}));}};_0x375bf7=_0x4c6cdb([_0x3b7ca7(0x0,_0x339e42[_0x41fa7f(0x376)]),_0x3b7ca7(0x1,_0x5a33af[_0x41fa7f(0x383)]),_0x3b7ca7(0x2,_0xdb2415['Inject'](_0x5a33af['CollaborationUIEventService'])),_0x3b7ca7(0x3,_0x339e42[_0x41fa7f(0x25d)]),_0x3b7ca7(0x4,_0x339e42[_0x41fa7f(0x35e)]),_0x3b7ca7(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x375bf7);var _0x56d265=Object[_0x41fa7f(0x194)],_0x3f2749=(_0x488a1e,_0x2c77e6,_0x3fd907,_0xf29ac3)=>{const _0x2a9b77=_0x41fa7f;for(var _0x42b446=_0xf29ac3>0x1?void 0x0:_0xf29ac3?_0x56d265(_0x2c77e6,_0x3fd907):_0x2c77e6,_0x522dbb=_0x488a1e[_0x2a9b77(0x26c)]-0x1,_0x3757fb;_0x522dbb>=0x0;_0x522dbb--)(_0x3757fb=_0x488a1e[_0x522dbb])&&(_0x42b446=_0x3757fb(_0x42b446)||_0x42b446);return _0x42b446;},_0x4dc717=(_0x5a5b72,_0x37d412)=>(_0x1f6d23,_0x2791ad)=>_0x37d412(_0x1f6d23,_0x2791ad,_0x5a5b72);let _0x34fedc=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x97badb,_0x3336f4,_0x37c44f,_0x16ac43){const _0x5b4ab4=_0x41fa7f;super(),_0x356879(this,_0x5b4ab4(0x18a)),(this[_0x5b4ab4(0x2e4)]=_0x97badb,this[_0x5b4ab4(0x23e)]=_0x3336f4,this[_0x5b4ab4(0x2ec)]=_0x37c44f,this['_collaborationSessionService']=_0x16ac43,this[_0x5b4ab4(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x5ea78f=_0x41fa7f;this[_0x5ea78f(0x3c4)](),this[_0x5ea78f(0x231)](),this[_0x5ea78f(0x117)](),this[_0x5ea78f(0x21c)]();}[_0x41fa7f(0x21c)](){const _0x7693d3=_0x41fa7f;this[_0x7693d3(0x31e)](this[_0x7693d3(0x221)][_0x7693d3(0x14d)]['subscribe'](_0x14c7f9=>{const _0x4483c7=_0x7693d3;this[_0x4483c7(0x18a)]=_0x14c7f9==null?void 0x0:_0x14c7f9['memberID'];}));}[_0x41fa7f(0x3c4)](){const _0x3f1452=_0x41fa7f,_0x4c0bbc=_0x14e5af=>{const _0x5aa03d=_0x4944;var _0x5b9d25;this[_0x5aa03d(0x136)](_0x5aa03d(0x399),_0x5aa03d(0x3c5)+_0x14e5af[_0x5aa03d(0x333)]+_0x5aa03d(0x2b0)+_0x14e5af[_0x5aa03d(0x328)]+':'+_0x14e5af[_0x5aa03d(0x2fe)]+':'+_0x14e5af[_0x5aa03d(0xfe)]+'\x0a'+(((_0x5b9d25=_0x14e5af[_0x5aa03d(0x399)])==null?void 0x0:_0x5b9d25[_0x5aa03d(0x2d1)])||''));};window[_0x3f1452(0x13a)](_0x3f1452(0x399),_0x4c0bbc),this[_0x3f1452(0x31e)](()=>{const _0x33b77d=_0x3f1452;window[_0x33b77d(0x10c)](_0x33b77d(0x399),_0x4c0bbc);});}[_0x41fa7f(0x231)](){const _0x536914=_0x41fa7f,_0x213dc9=_0x375ff3=>{const _0x3ec552=_0x4944;this['_uploadLog']('error',_0x3ec552(0x1c6)+_0x375ff3[_0x3ec552(0x3ab)]);};window[_0x536914(0x13a)](_0x536914(0x244),_0x213dc9),this[_0x536914(0x31e)](()=>{const _0x37554e=_0x536914;window[_0x37554e(0x10c)]('unhandledrejection',_0x213dc9);});}[_0x41fa7f(0x117)](){const _0x16ffb4=_0x41fa7f,_0x303199=this[_0x16ffb4(0x2ec)][_0x16ffb4(0x399)][_0x16ffb4(0x265)](this['_logService']);this['_logService']['error']=(..._0x2f02d6)=>{const _0x44218d=_0x16ffb4,_0x202e34=_0x2f02d6[_0x44218d(0x311)](_0x42f91b=>_0x42f91b instanceof Error?_0x42f91b[_0x44218d(0x333)]+'\x0a'+_0x42f91b[_0x44218d(0x2d1)]:String(_0x42f91b))[_0x44218d(0x307)]('\x20');this[_0x44218d(0x136)](_0x44218d(0x399),_0x44218d(0x1e6)+_0x202e34),_0x303199(..._0x2f02d6);},this['disposeWithMe'](()=>{const _0x2fe703=_0x16ffb4;this[_0x2fe703(0x2ec)][_0x2fe703(0x399)]=_0x303199;});}[_0x41fa7f(0x136)](_0x2c8ba2,_0x1e5c26){const _0x3d659c=_0x41fa7f;try{const _0x98f983={'userId':this[_0x3d659c(0x18a)],'logLabel':_0x2c8ba2,'content':_0x1e5c26};this[_0x3d659c(0x23e)][_0x3d659c(0x11a)]('/universer-api/frontend/logs',{'body':_0x98f983})['catch'](()=>{});}catch{}}};_0x34fedc=_0x3f2749([_0x4dc717(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x4dc717(0x1,_0xdb2415['Inject'](_0x553b7e[_0x41fa7f(0x258)])),_0x4dc717(0x2,_0xdb2415[_0x41fa7f(0x230)]),_0x4dc717(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0x34fedc);const _0x58498a=_0x41fa7f(0x289),_0x232bc8={};var _0xf4cd70=Object[_0x41fa7f(0x194)],_0x1e1c51=(_0x5ae5b0,_0x35fbd4,_0x3189f5,_0x2aa6e7)=>{for(var _0x3a0b13=_0x2aa6e7>0x1?void 0x0:_0x2aa6e7?_0xf4cd70(_0x35fbd4,_0x3189f5):_0x35fbd4,_0x4c337c=_0x5ae5b0['length']-0x1,_0x121537;_0x4c337c>=0x0;_0x4c337c--)(_0x121537=_0x5ae5b0[_0x4c337c])&&(_0x3a0b13=_0x121537(_0x3a0b13)||_0x3a0b13);return _0x3a0b13;},_0x29cdf6=(_0x2209af,_0x4e96e0)=>(_0x4c3cc7,_0x32441d)=>_0x4e96e0(_0x4c3cc7,_0x32441d,_0x2209af);let _0x3b67da=class{constructor(_0x3ee090,_0x25a40c){const _0x38526f=_0x41fa7f;this[_0x38526f(0x3cb)]=_0x3ee090,this[_0x38526f(0x10f)]=_0x25a40c;}['transformIMECache'](_0x3afce8){const _0x159bab=_0x41fa7f;this[_0x159bab(0x202)](_0x3afce8),this[_0x159bab(0x27c)](_0x3afce8);}[_0x41fa7f(0x3e4)](_0xeb081f){const _0xe86b98=_0x41fa7f,{unitID:_0x459323}=_0xeb081f,_0x5ea9b2=this['_renderManagerService'][_0xe86b98(0x3aa)](_0x459323)[_0xe86b98(0x34f)](_0x4abee5[_0xe86b98(0x241)]),{redoCache:_0x42766b}=_0x5ea9b2[_0xe86b98(0x2bc)]();if(_0x42766b[_0xe86b98(0x26c)]===0x0)return _0xeb081f;let _0x3ab861=_0xdb2415['Tools'][_0xe86b98(0x305)](_0xeb081f['mutations'][0x0]);for(let _0x6c75ec=0x0;_0x6c75ec<_0x42766b[_0xe86b98(0x26c)];_0x6c75ec++){const _0x20f1c0={'id':'doc.mutation.rich-text-editing','params':{..._0x42766b[_0x6c75ec]}},_0x4a63f3=this[_0xe86b98(0x3cb)][_0xe86b98(0x393)](_0x3ab861,_0x20f1c0,!0x1);if(_0x1b3789[_0xe86b98(0x1e4)](_0x4a63f3))throw _0x4a63f3[_0xe86b98(0x399)];_0x3ab861=_0x4a63f3['m1Prime'];}return{..._0xdb2415[_0xe86b98(0x1da)][_0xe86b98(0x305)](_0xeb081f),'mutations':[_0x3ab861]};}[_0x41fa7f(0x202)](_0xb84bdb){const _0xed9e35=_0x41fa7f,{unitID:_0x50a4f1}=_0xb84bdb,_0x429fe6=this[_0xed9e35(0x10f)][_0xed9e35(0x3aa)](_0x50a4f1)[_0xed9e35(0x34f)](_0x4abee5['DocIMEInputManagerService']),{undoCache:_0x3749ee,redoCache:_0x48ef4d}=_0x429fe6[_0xed9e35(0x2bc)]();if(_0x3749ee['length']===0x0||_0x48ef4d[_0xed9e35(0x26c)]===0x0)return;const _0x2ac551=[],_0x45fa11=[];let _0x6effe2=_0xdb2415[_0xed9e35(0x1da)]['deepClone'](_0xb84bdb[_0xed9e35(0x1b5)][0x0]),_0x53bbe2=_0xdb2415[_0xed9e35(0x1da)][_0xed9e35(0x305)](_0xb84bdb[_0xed9e35(0x1b5)][0x0]);for(let _0x164743=_0x3749ee[_0xed9e35(0x26c)]-0x1;_0x164743>=0x0;_0x164743--){const _0x1f3a5c={'id':_0xed9e35(0x1e5),'params':{..._0x3749ee[_0x164743]}},_0x5d72f3={'id':'doc.mutation.rich-text-editing','params':{..._0x48ef4d[_0x164743]}},_0x403519=this['_transformService'][_0xed9e35(0x393)](_0x6effe2,_0x1f3a5c,!0x1),_0x41ff05=this['_transformService'][_0xed9e35(0x393)](_0x53bbe2,_0x5d72f3,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x403519))throw _0x403519[_0xed9e35(0x399)];if(_0x1b3789[_0xed9e35(0x1e4)](_0x41ff05))throw _0x41ff05[_0xed9e35(0x399)];_0x2ac551[_0xed9e35(0x2e7)](_0x403519['m2Prime'][_0xed9e35(0x34a)]),_0x45fa11[_0xed9e35(0x2e7)](_0x41ff05[_0xed9e35(0x28e)][_0xed9e35(0x34a)]),_0x6effe2=_0x403519[_0xed9e35(0x37e)],_0x53bbe2=_0x41ff05[_0xed9e35(0x37e)];}_0x429fe6[_0xed9e35(0x273)]({'undoCache':_0x2ac551,'redoCache':_0x45fa11});}[_0x41fa7f(0x27c)](_0x1a95e2){const _0x3e8d63=_0x41fa7f,{unitID:_0x14d0db}=_0x1a95e2,_0xcb942e=this[_0x3e8d63(0x10f)][_0x3e8d63(0x3aa)](_0x14d0db)[_0x3e8d63(0x34f)](_0x4abee5[_0x3e8d63(0x241)]),_0x576541=_0xcb942e['getActiveRange']();if(_0x576541==null)return;const _0x1f2b4e=[{'id':_0x3e8d63(0x1e5),'params':{'unitId':_0x1a95e2[_0x3e8d63(0x281)],'actions':null,'textRanges':[_0x576541]}}],_0x472158=this['_transformService'][_0x3e8d63(0x229)](_0x1a95e2,_0x1f2b4e);if(!_0x1b3789[_0x3e8d63(0x15e)](_0x472158))throw _0x472158[_0x3e8d63(0x399)];const _0xf2bf82=_0x472158[_0x3e8d63(0x28e)][0x0][_0x3e8d63(0x34a)][_0x3e8d63(0x2f5)];Array['isArray'](_0xf2bf82)&&_0xf2bf82[_0x3e8d63(0x26c)]&&_0xcb942e['setActiveRange'](_0xf2bf82[0x0]);}};_0x3b67da=_0x1e1c51([_0x29cdf6(0x0,_0x1b3789[_0x41fa7f(0x389)]),_0x29cdf6(0x1,_0x7c9b89[_0x41fa7f(0x2e8)])],_0x3b67da);var _0x29c902=Object['getOwnPropertyDescriptor'],_0x447bcb=(_0x406449,_0x2e04d8,_0x120737,_0x4d9a01)=>{const _0x6e3593=_0x41fa7f;for(var _0x13f7af=_0x4d9a01>0x1?void 0x0:_0x4d9a01?_0x29c902(_0x2e04d8,_0x120737):_0x2e04d8,_0x17e256=_0x406449[_0x6e3593(0x26c)]-0x1,_0x49f32c;_0x17e256>=0x0;_0x17e256--)(_0x49f32c=_0x406449[_0x17e256])&&(_0x13f7af=_0x49f32c(_0x13f7af)||_0x13f7af);return _0x13f7af;},_0x535a4b=(_0x5edeb3,_0x1b5833)=>(_0x60f695,_0x1572e3)=>_0x1b5833(_0x60f695,_0x1572e3,_0x5edeb3);let _0x354c67=class{constructor(_0x50a100,_0x40b682,_0x10f5e8){const _0x325278=_0x41fa7f;this['_injector']=_0x50a100,this[_0x325278(0x3cb)]=_0x40b682,this['_docStateChangeManagerService']=_0x10f5e8;}[_0x41fa7f(0x153)](_0x2f9df9){const _0x3ea1ce=_0x41fa7f;this[_0x3ea1ce(0x121)](_0x2f9df9);}['transformRemoteChangeset'](_0x3631b7){const _0x559b32=_0x41fa7f,{unitID:_0x1d2a81}=_0x3631b7,{collaboration:_0x12dcee}=this[_0x559b32(0x1bb)][_0x559b32(0x3dc)](_0x1d2a81);if(_0x12dcee[_0x559b32(0x26c)]===0x0)return _0x3631b7;let _0x1383ee=_0xdb2415['Tools']['deepClone'](_0x3631b7[_0x559b32(0x1b5)][0x0]);for(let _0x412f3e=0x0;_0x412f3e<_0x12dcee[_0x559b32(0x26c)];_0x412f3e++){const _0x1d0bcc={'id':_0x559b32(0x1e5),'params':{'unitId':_0x12dcee[_0x412f3e][_0x559b32(0x392)],..._0x12dcee[_0x412f3e][_0x559b32(0x1d7)]}},_0x4f414b=this[_0x559b32(0x3cb)]['transformMutation'](_0x1383ee,_0x1d0bcc,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x4f414b))throw _0x4f414b[_0x559b32(0x399)];_0x1383ee=_0x4f414b['m1Prime'];}return{..._0xdb2415[_0x559b32(0x1da)][_0x559b32(0x305)](_0x3631b7),'mutations':[_0x1383ee]};}[_0x41fa7f(0x121)](_0x108e9b){const _0x31461f=_0x41fa7f,{unitID:_0x50118f}=_0x108e9b,{history:_0xe4bfd2,collaboration:_0x4c95d4}=this['_docStateChangeManagerService']['getStateCache'](_0x50118f);if(_0xe4bfd2['length']===0x0&&_0x4c95d4[_0x31461f(0x26c)]===0x0)return;const _0x22c397=[],_0x114553=[];let _0x302802=_0xdb2415[_0x31461f(0x1da)]['deepClone'](_0x108e9b['mutations'][0x0]),_0x3a84df=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x4f0bfe=_0xe4bfd2[_0x31461f(0x26c)]-0x1;_0x4f0bfe>=0x0;_0x4f0bfe--){const _0x5f3167={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe][_0x31461f(0x392)],..._0xe4bfd2[_0x4f0bfe]['undoState']}},_0x444e67={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe]['unitId'],..._0xe4bfd2[_0x4f0bfe]['redoState']}},_0x5176f9=this['_transformService'][_0x31461f(0x393)](_0x302802,_0x5f3167,!0x1),_0xe1605d=this['_transformService']['transformMutation'](_0x3a84df,_0x444e67,!0x1);if(_0x1b3789[_0x31461f(0x1e4)](_0x5176f9))throw _0x5176f9['error'];if(_0x1b3789['isTransformMutationFailure'](_0xe1605d))throw _0xe1605d[_0x31461f(0x399)];_0x22c397['unshift']({..._0xe4bfd2[_0x4f0bfe],'undoState':_0x5176f9[_0x31461f(0x28e)][_0x31461f(0x34a)],'redoState':_0xe1605d[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x5176f9['m1Prime'],_0x3a84df=_0xe1605d['m1Prime'];}_0x302802=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]),_0x3a84df=_0xdb2415['Tools'][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x24d7ab=_0x4c95d4[_0x31461f(0x26c)]-0x1;_0x24d7ab>=0x0;_0x24d7ab--){const _0x52dc2c={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab][_0x31461f(0x392)],..._0x4c95d4[_0x24d7ab]['undoState']}},_0x4cb3c4={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab]['unitId'],..._0x4c95d4[_0x24d7ab][_0x31461f(0x1d7)]}},_0x587562=this[_0x31461f(0x3cb)][_0x31461f(0x393)](_0x302802,_0x52dc2c,!0x1),_0x3632f9=this[_0x31461f(0x3cb)]['transformMutation'](_0x3a84df,_0x4cb3c4,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x587562))throw _0x587562['error'];if(_0x1b3789[_0x31461f(0x1e4)](_0x3632f9))throw _0x3632f9['error'];_0x114553[_0x31461f(0x2e7)]({..._0x4c95d4[_0x24d7ab],'undoState':_0x587562['m2Prime'][_0x31461f(0x34a)],'redoState':_0x3632f9[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x587562[_0x31461f(0x37e)],_0x3a84df=_0x3632f9[_0x31461f(0x37e)];}this[_0x31461f(0x1bb)][_0x31461f(0xfd)](_0x50118f,{'history':_0x22c397,'collaboration':_0x114553});}};_0x354c67=_0x447bcb([_0x535a4b(0x0,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x535a4b(0x1,_0x1b3789[_0x41fa7f(0x389)]),_0x535a4b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)]))],_0x354c67);var _0x3f1645=Object['getOwnPropertyDescriptor'],_0x5742a7=(_0x406371,_0xc5fcdd,_0x53576e,_0x489f4a)=>{const _0x306554=_0x41fa7f;for(var _0x28ba8c=_0x489f4a>0x1?void 0x0:_0x489f4a?_0x3f1645(_0xc5fcdd,_0x53576e):_0xc5fcdd,_0x34fded=_0x406371[_0x306554(0x26c)]-0x1,_0x297bdc;_0x34fded>=0x0;_0x34fded--)(_0x297bdc=_0x406371[_0x34fded])&&(_0x28ba8c=_0x297bdc(_0x28ba8c)||_0x28ba8c);return _0x28ba8c;},_0x23ce97=(_0x2b104d,_0x87345b)=>(_0x2ae659,_0x4d845f)=>_0x87345b(_0x2ae659,_0x4d845f,_0x2b104d);let _0x508056=class{constructor(_0x41bd32,_0x1d4dc0){this['_injector']=_0x41bd32,this['_transformService']=_0x1d4dc0;}['transformSelections'](_0x379d5e){const _0x5da7a1=_0x41fa7f;var _0x4bf1a5;const _0x1f9d11=this[_0x5da7a1(0x2e4)][_0x5da7a1(0x3a4)](_0x5e9ade['DocSelectionManagerService']),_0x21e1e9=(_0x4bf1a5=_0x1f9d11['getDocRanges']())!=null?_0x4bf1a5:[];if(_0x21e1e9[_0x5da7a1(0x26c)]===0x0)return;const _0x500cd1=_0x379d5e[_0x5da7a1(0x281)],_0x106d0f=[{'id':_0x5da7a1(0x1e5),'params':{'unitId':_0x500cd1,'actions':null,'textRanges':_0x21e1e9}}],_0x18b3d7=this['_transformService'][_0x5da7a1(0x229)](_0x379d5e,_0x106d0f);if(!_0x1b3789['isTransformMutationsWithChangesetSuccess'](_0x18b3d7))throw _0x18b3d7[_0x5da7a1(0x399)];const _0x4a1820=_0x18b3d7[_0x5da7a1(0x28e)][0x0][_0x5da7a1(0x34a)][_0x5da7a1(0x2f5)];Array[_0x5da7a1(0x219)](_0x4a1820)&&_0x4a1820[_0x5da7a1(0x26c)]&&_0x1f9d11['replaceDocRanges'](_0x4a1820,{'unitId':_0x500cd1,'subUnitId':_0x500cd1},!0x1);}};_0x508056=_0x5742a7([_0x23ce97(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x23ce97(0x1,_0x1b3789[_0x41fa7f(0x389)])],_0x508056);var _0x162dc2=Object[_0x41fa7f(0x194)],_0x35c0a3=(_0x3f380b,_0x1371f0,_0x545547,_0x50fb85)=>{const _0x5b77c2=_0x41fa7f;for(var _0x483939=_0x50fb85>0x1?void 0x0:_0x50fb85?_0x162dc2(_0x1371f0,_0x545547):_0x1371f0,_0x2fddfa=_0x3f380b[_0x5b77c2(0x26c)]-0x1,_0xb1636b;_0x2fddfa>=0x0;_0x2fddfa--)(_0xb1636b=_0x3f380b[_0x2fddfa])&&(_0x483939=_0xb1636b(_0x483939)||_0x483939);return _0x483939;},_0x4478bf=(_0x57c014,_0x5ad244)=>(_0x32bd4f,_0x1226ab)=>_0x5ad244(_0x32bd4f,_0x1226ab,_0x57c014);let _0x294d98=class extends _0xdb2415['Disposable']{constructor(_0x58a68f,_0x59d18c,_0x2b5db5,_0x4279f5,_0x5a7842,_0x4a1111,_0x4bf304,_0x49a078){const _0x4acf4c=_0x41fa7f;super(),_0x356879(this,'_status$',new _0x5bb37b[(_0x4acf4c(0x204))](_0x5a33af[_0x4acf4c(0x1ef)][_0x4acf4c(0x163)])),(this[_0x4acf4c(0x1bb)]=_0x58a68f,this[_0x4acf4c(0x144)]=_0x59d18c,this[_0x4acf4c(0x29e)]=_0x2b5db5,this['_docTransformStateCacheService']=_0x4279f5,this[_0x4acf4c(0x152)]=_0x5a7842,this[_0x4acf4c(0x111)]=_0x4a1111,this['_messageService']=_0x4bf304,this[_0x4acf4c(0x1d8)]=_0x49a078,this[_0x4acf4c(0x188)]());}[_0x41fa7f(0x188)](){const _0x1d6a35=_0x41fa7f;this['disposeWithMe'](this[_0x1d6a35(0x144)][_0x1d6a35(0x208)][_0x1d6a35(0x31f)](_0x2fae72=>{const _0x3c6242=_0x1d6a35,_0x26a5d5=this[_0x3c6242(0x1bb)][_0x3c6242(0x145)][_0x3c6242(0x31f)](_0x229c90=>{const _0x2b040d=_0x3c6242;if(_0x229c90==null)return;const {unitId:_0x34cd2d,redoState:_0x343fba,commandId:_0x5bc9ad}=_0x229c90;if(_0x34cd2d!==_0x2fae72[_0x2b040d(0x281)])return;const _0x278aa5={'id':_0x5bc9ad,'type':_0xdb2415[_0x2b040d(0x1f0)][_0x2b040d(0x363)],'params':{'unitId':_0x34cd2d,'actions':_0x343fba[_0x2b040d(0x1ab)],'textRanges':null}};_0x2fae72[_0x2b040d(0x330)](_0x278aa5);});if(_0x2fae72[_0x3c6242(0x31e)](_0x26a5d5),_0x2fae72 instanceof _0x5a33af[_0x3c6242(0x222)]){const _0x3d7cfc={'onTransformIME':_0x4bb483=>this[_0x3c6242(0x29e)][_0x3c6242(0x1e8)](_0x4bb483),'onTransformState':_0x959dcc=>this[_0x3c6242(0xfc)][_0x3c6242(0x153)](_0x959dcc),'onTransformSelections':_0x18a61b=>this[_0x3c6242(0x152)][_0x3c6242(0x2cc)](_0x18a61b),'onSyncEditingCollabCursor':_0x5d08a8=>this[_0x3c6242(0x111)][_0x3c6242(0x140)](_0x5d08a8),'onTransformRemoteChangesetByIMECache':_0x4b2d39=>this[_0x3c6242(0x29e)][_0x3c6242(0x3e4)](_0x4b2d39),'onTransformRemoteChangesetByStateCache':_0x56fa56=>this[_0x3c6242(0xfc)][_0x3c6242(0x3e4)](_0x56fa56)};_0x2fae72[_0x3c6242(0x294)](_0x3d7cfc);}}));}};_0x294d98=_0x35c0a3([_0x4478bf(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)])),_0x4478bf(0x1,_0xdb2415['Inject'](_0x5a33af[_0x41fa7f(0x18f)])),_0x4478bf(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x3b67da)),_0x4478bf(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x354c67)),_0x4478bf(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x508056)),_0x4478bf(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x4478bf(0x6,_0x339e42[_0x41fa7f(0x25d)]),_0x4478bf(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x294d98);var _0x4edfd6=(_0x46f527=>(_0x46f527[_0x46f527[_0x41fa7f(0x16f)]=0x0]='UNDEFINED',_0x46f527[_0x46f527['OK']=0x1]='OK',_0x46f527[_0x46f527[_0x41fa7f(0x30c)]=0x2]=_0x41fa7f(0x30c),_0x46f527[_0x46f527[_0x41fa7f(0x21f)]=0x3]='PERMISSION_DENIED',_0x46f527[_0x46f527['NOT_FOUND']=0x4]=_0x41fa7f(0x33c),_0x46f527[_0x46f527[_0x41fa7f(0x301)]=0x5]='UNAUTHENTICATED',_0x46f527[_0x46f527['ALREADY_EXISTS']=0x6]=_0x41fa7f(0x151),_0x46f527[_0x46f527[_0x41fa7f(0x343)]=0x7]=_0x41fa7f(0x343),_0x46f527[_0x46f527[_0x41fa7f(0x291)]=0x8]=_0x41fa7f(0x291),_0x46f527[_0x46f527[_0x41fa7f(0x205)]=0x9]=_0x41fa7f(0x205),_0x46f527[_0x46f527['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x41fa7f(0x3ae),_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x41fa7f(0x203),_0x46f527[_0x46f527['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x41fa7f(0x263),_0x46f527[_0x46f527[_0x41fa7f(0x2d7)]=0xe]=_0x41fa7f(0x2d7),_0x46f527[_0x46f527[_0x41fa7f(0x30e)]=0xf]=_0x41fa7f(0x30e),_0x46f527[_0x46f527[_0x41fa7f(0x3e1)]=0x10]=_0x41fa7f(0x3e1),_0x46f527[_0x46f527[_0x41fa7f(0x2fd)]=0x64]=_0x41fa7f(0x2fd),_0x46f527[_0x46f527[_0x41fa7f(0x189)]=0x65]=_0x41fa7f(0x189),_0x46f527[_0x46f527[_0x41fa7f(0x319)]=0xc9]=_0x41fa7f(0x319),_0x46f527[_0x46f527[_0x41fa7f(0x352)]=0xca]=_0x41fa7f(0x352),_0x46f527[_0x46f527[_0x41fa7f(0x125)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x13c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x46f527[_0x46f527['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x41fa7f(0x22b),_0x46f527[_0x46f527[_0x41fa7f(0x168)]=0x1773]=_0x41fa7f(0x168),_0x46f527[_0x46f527[_0x41fa7f(0x396)]=0x1b59]=_0x41fa7f(0x396),_0x46f527[_0x46f527['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x41fa7f(0x3ac),_0x46f527[_0x46f527[_0x41fa7f(0x250)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x2ac)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46f527[_0x46f527[_0x41fa7f(0x13b)]=0x1b5d]=_0x41fa7f(0x13b),_0x46f527[_0x46f527['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x41fa7f(0x3a9),_0x46f527[_0x46f527[_0x41fa7f(0x115)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x1d2)]=0x232a]=_0x41fa7f(0x1d2),_0x46f527[_0x46f527[_0x41fa7f(0x304)]=0x232b]=_0x41fa7f(0x304),_0x46f527[_0x46f527['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x27d)]=0x232d]=_0x41fa7f(0x27d),_0x46f527[_0x46f527[_0x41fa7f(0x3db)]=0x2711]=_0x41fa7f(0x3db),_0x46f527[_0x46f527[_0x41fa7f(0x1eb)]=0x2712]=_0x41fa7f(0x1eb),_0x46f527[_0x46f527['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x41fa7f(0x2a9),_0x46f527[_0x46f527[_0x41fa7f(0x318)]=0x2714]=_0x41fa7f(0x318),_0x46f527[_0x46f527[_0x41fa7f(0x1a0)]=0x271a]=_0x41fa7f(0x1a0),_0x46f527[_0x46f527['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46f527[_0x46f527[_0x41fa7f(0xfb)]=0x271c]=_0x41fa7f(0xfb),_0x46f527[_0x46f527['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x41fa7f(0x253),_0x46f527[_0x46f527['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x3e5)]=0x271f]=_0x41fa7f(0x3e5),_0x46f527[_0x46f527[_0x41fa7f(0x26f)]=0x2720]=_0x41fa7f(0x26f),_0x46f527[_0x46f527[_0x41fa7f(0x2ea)]=0x2af9]=_0x41fa7f(0x2ea),_0x46f527[_0x46f527[_0x41fa7f(0x372)]=0x2ee1]=_0x41fa7f(0x372),_0x46f527[_0x46f527[_0x41fa7f(0x3d8)]=0x2ee2]=_0x41fa7f(0x3d8),_0x46f527[_0x46f527['INVITE_CODE_REQUIRED']=0x2ee3]=_0x41fa7f(0x105),_0x46f527[_0x46f527[_0x41fa7f(0x2d5)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x17d)]=0x2ee5]=_0x41fa7f(0x17d),_0x46f527[_0x46f527[_0x41fa7f(0x25b)]=0x32c9]=_0x41fa7f(0x25b),_0x46f527[_0x46f527[_0x41fa7f(0x358)]=0x32ca]=_0x41fa7f(0x358),_0x46f527[_0x46f527['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x46f527[_0x46f527[_0x41fa7f(0x317)]=0x36b1]=_0x41fa7f(0x317),_0x46f527[_0x46f527[_0x41fa7f(0x12d)]=0x36b2]=_0x41fa7f(0x12d),_0x46f527[_0x46f527[_0x41fa7f(0x37f)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x46f527[_0x46f527[_0x41fa7f(0x3a0)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x46f527[_0x46f527[_0x41fa7f(0x341)]=0x3715]=_0x41fa7f(0x341),_0x46f527[_0x46f527[_0x41fa7f(0x165)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x46f527[_0x46f527[_0x41fa7f(0x1ae)]=0x3717]=_0x41fa7f(0x1ae),_0x46f527[_0x46f527[_0x41fa7f(0x322)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x46f527[_0x46f527[_0x41fa7f(0x361)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x2d4)]=0x3a9a]=_0x41fa7f(0x2d4),_0x46f527[_0x46f527['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x41fa7f(0x1a7),_0x46f527[_0x46f527[_0x41fa7f(0x23d)]=0x3a9c]=_0x41fa7f(0x23d),_0x46f527[_0x46f527['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x41fa7f(0x122),_0x46f527[_0x46f527[_0x41fa7f(0x2f6)]=0x3a9e]=_0x41fa7f(0x2f6),_0x46f527[_0x46f527[_0x41fa7f(0x26e)]=0x3a9f]=_0x41fa7f(0x26e),_0x46f527[_0x46f527[_0x41fa7f(0x175)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46f527[_0x46f527[_0x41fa7f(0x171)]=-0x1]=_0x41fa7f(0x171),_0x46f527))(_0x4edfd6||{});function _0x7ecb32(_0x3c6675){const _0x5d459d=_0x41fa7f;var _0x130459,_0x5b2e47;const _0x2d700e=(_0x130459=_0x3c6675['stageInfo'])==null?void 0x0:_0x130459['stage'],_0x5815cf=((_0x5b2e47=_0x3c6675[_0x5d459d(0x12c)])==null?void 0x0:_0x5b2e47[_0x5d459d(0x3d2)])||0x0;return _0x2d700e===_0x7b5b07[_0x5d459d(0x21a)]['START_CALCULATION']&&_0x5815cf>0x0;}function _0x47cd57(_0x3eb5ff){const _0x4d47d4=_0x41fa7f;return _0x3eb5ff[_0x4d47d4(0x2db)]===_0x7b5b07[_0x4d47d4(0x1a4)][_0x4d47d4(0x382)];}var _0x455b56=Object[_0x41fa7f(0x194)],_0x563e0b=(_0x1a7c67,_0x1b67e4,_0x48ebbb,_0x4f7234)=>{for(var _0x234b54=_0x4f7234>0x1?void 0x0:_0x4f7234?_0x455b56(_0x1b67e4,_0x48ebbb):_0x1b67e4,_0x196a26=_0x1a7c67['length']-0x1,_0x3789ab;_0x196a26>=0x0;_0x196a26--)(_0x3789ab=_0x1a7c67[_0x196a26])&&(_0x234b54=_0x3789ab(_0x234b54)||_0x234b54);return _0x234b54;},_0x482799=(_0xdd4e6b,_0x4d9b4f)=>(_0x2e59c4,_0x382bcb)=>_0x4d9b4f(_0x2e59c4,_0x382bcb,_0xdd4e6b);const _0x43a1ae=_0x41fa7f(0x39a),_0x4765e6='/universer-api/license/formula/limit/start',_0x28909e=_0x41fa7f(0x3c6);let _0x324e6d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x278608,_0xadfd67,_0x4307f2,_0x4ed7d9,_0x16b200,_0x401cba,_0xdbe38d){const _0x3ab7a4=_0x41fa7f;super(),_0x356879(this,_0x3ab7a4(0x3a6),null),_0x356879(this,'_maxFormulaLimit',0x0),_0x356879(this,_0x3ab7a4(0x366),0x0),_0x356879(this,_0x3ab7a4(0x268),[]),_0x356879(this,_0x3ab7a4(0x1ec),0x0),(this[_0x3ab7a4(0x1db)]=_0x278608,this[_0x3ab7a4(0x2c7)]=_0xadfd67,this['_configService']=_0x4307f2,this[_0x3ab7a4(0x23e)]=_0x4ed7d9,this['_univerInstanceService']=_0x16b200,this['_logService']=_0x401cba,this[_0x3ab7a4(0x1d8)]=_0xdbe38d,this[_0x3ab7a4(0x336)]());}[_0x41fa7f(0x336)](){const _0x3d7cb1=_0x41fa7f;this[_0x3d7cb1(0x31e)](this['_commandService'][_0x3d7cb1(0x29b)]((_0x8405ff,_0x5098b5)=>{const _0x408ccd=_0x3d7cb1;var _0x4b4f0e;if(_0x8405ff['id']!==_0x7b5b07[_0x408ccd(0x20e)]['id'])return;const _0x1ed9f4=_0x8405ff[_0x408ccd(0x34a)];if(!this[_0x408ccd(0x260)]((_0x4b4f0e=_0x1ed9f4[_0x408ccd(0x367)])!=null?_0x4b4f0e:[]))return;if(!this[_0x408ccd(0x21b)]())throw this['_checkAndWaitForCalculationPermission'](_0x8405ff,_0x5098b5),this[_0x408ccd(0x34b)](),new _0xdb2415['CanceledError']();})),this[_0x3d7cb1(0x31e)](this[_0x3d7cb1(0x2c7)][_0x3d7cb1(0x191)]((_0x2bcb90,_0x23f80a)=>{const _0x2e07f5=_0x3d7cb1;if(_0x2bcb90['id']!==_0x7b5b07[_0x2e07f5(0x395)]['id'])return;const _0x44fbc5=_0x2bcb90['params'];if(_0x7ecb32(_0x44fbc5)){const _0x2e3834=_0xdb2415[_0x2e07f5(0x1c5)]();this[_0x2e07f5(0x268)][_0x2e07f5(0x3dd)](_0x2e3834),this['_startCalculationLimit'](_0x2e3834);}else{if(_0x47cd57(_0x44fbc5)&&this[_0x2e07f5(0x268)]['length']>0x0){const _0x55c1fb=this[_0x2e07f5(0x268)]['shift']();this[_0x2e07f5(0x141)](_0x55c1fb);}}}));}['dispose'](){const _0xbf4061=_0x41fa7f;super[_0xbf4061(0x1b9)](),this[_0xbf4061(0x1fc)](),this['_taskIds']=[],this[_0xbf4061(0x366)]=0x0,this[_0xbf4061(0x3d4)]=0x0,this[_0xbf4061(0x1ec)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x220fe8,_0x3f6a34){const _0x186a44=_0x41fa7f;for(let _0x319a4c=0x0;_0x319a4c<0x1e;_0x319a4c++)try{if(await this[_0x186a44(0x274)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x220fe8,_0x3f6a34),this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x116)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x1e3)]});return;}await new Promise(_0x1e2cea=>{const _0x4793b4=_0x186a44;this[_0x4793b4(0x3a6)]=window[_0x4793b4(0x1b2)](_0x1e2cea,0x3e8);});}catch(_0x559d07){this[_0x186a44(0x2ec)][_0x186a44(0x399)](_0x559d07);}this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x3a8)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x373)]});}[_0x41fa7f(0x3b0)](_0x2d8f1e,_0x258d91){const _0x3226e1=_0x41fa7f;try{this['_commandService'][_0x3226e1(0x172)](_0x2d8f1e['id'],_0x2d8f1e[_0x3226e1(0x34a)],_0x258d91);}catch(_0x4afb31){this['_logService'][_0x3226e1(0x399)](_0x4afb31);}}[_0x41fa7f(0x2fc)](_0x38a7d0,_0x39714b){const _0x388a8b=_0x41fa7f;_0x39714b<this[_0x388a8b(0x1ec)]||(this[_0x388a8b(0x1ec)]=_0x39714b,this[_0x388a8b(0x3d4)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x35c)]),this[_0x388a8b(0x366)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x1b3)]));}async[_0x41fa7f(0x3c1)](_0x4820df){const _0x3d7a0d=_0x41fa7f;var _0x419d6a,_0x42b90b;const _0x42c4be=Date[_0x3d7a0d(0x164)]();try{const _0x133024=((_0x419d6a=this['_configService'][_0x3d7a0d(0x102)](_0x5a33af[_0x3d7a0d(0x2cf)]))==null?void 0x0:_0x419d6a[_0x3d7a0d(0x1cd)])||_0x4765e6,_0x194e01=(await this[_0x3d7a0d(0x23e)][_0x3d7a0d(0x11a)](_0x133024,{'body':JSON[_0x3d7a0d(0x109)]({'taskId':_0x4820df})}))[_0x3d7a0d(0x332)];if(((_0x42b90b=_0x194e01['error'])==null?void 0x0:_0x42b90b['code'])!==_0x4edfd6['OK'])return;this[_0x3d7a0d(0x2fc)](_0x194e01[_0x3d7a0d(0x257)],_0x42c4be);}catch(_0x3ed16f){this[_0x3d7a0d(0x2ec)][_0x3d7a0d(0x399)](_0x3ed16f);}}async[_0x41fa7f(0x274)](_0x2f7d89){const _0x46d2b5=_0x41fa7f;var _0x1c17d5,_0x4dda42;const _0x1602e2=Date[_0x46d2b5(0x164)]();try{const _0x32c000=((_0x1c17d5=this[_0x46d2b5(0x1ea)]['getConfig'](_0x5a33af[_0x46d2b5(0x2cf)]))==null?void 0x0:_0x1c17d5[_0x46d2b5(0xfa)])||_0x43a1ae,_0xe7eceb=_0x2f7d89?_0x32c000+_0x46d2b5(0x3b3)+encodeURIComponent(_0x2f7d89):_0x32c000,_0x5f1f9f=(await this['_httpService'][_0x46d2b5(0x3a4)](_0xe7eceb))[_0x46d2b5(0x332)];if(((_0x4dda42=_0x5f1f9f['error'])==null?void 0x0:_0x4dda42[_0x46d2b5(0x2f8)])!==_0x4edfd6['OK'])return;this['_setFormulaLimitStatus'](_0x5f1f9f['limitInfo'],_0x1602e2);}catch(_0x3a028a){this[_0x46d2b5(0x2ec)][_0x46d2b5(0x399)](_0x3a028a);}}async[_0x41fa7f(0x141)](_0x2c6bbb){const _0x5b8a9a=_0x41fa7f;var _0x32177b,_0x530d7f;const _0x40eda4=Date[_0x5b8a9a(0x164)]();try{const _0x596864=((_0x32177b=this[_0x5b8a9a(0x1ea)][_0x5b8a9a(0x102)](_0x5a33af[_0x5b8a9a(0x2cf)]))==null?void 0x0:_0x32177b[_0x5b8a9a(0x2c3)])||_0x28909e,_0xad994c=(await this[_0x5b8a9a(0x23e)][_0x5b8a9a(0x11a)](_0x596864,{'body':JSON[_0x5b8a9a(0x109)]({'taskId':_0x2c6bbb})}))['body'];if(((_0x530d7f=_0xad994c[_0x5b8a9a(0x399)])==null?void 0x0:_0x530d7f[_0x5b8a9a(0x2f8)])!==_0x4edfd6['OK'])return;this[_0x5b8a9a(0x2fc)](_0xad994c[_0x5b8a9a(0x257)],_0x40eda4);}catch(_0x3f44d2){this[_0x5b8a9a(0x2ec)][_0x5b8a9a(0x399)](_0x3f44d2);}}[_0x41fa7f(0x21b)](){const _0x5c1617=_0x41fa7f;return this[_0x5c1617(0x3d4)]===0x0?!0x0:this[_0x5c1617(0x3d4)]-this[_0x5c1617(0x366)]>0x0;}[_0x41fa7f(0x1fc)](){const _0x5a338c=_0x41fa7f;this[_0x5a338c(0x3a6)]&&(clearTimeout(this['_pollingInterval']),this[_0x5a338c(0x3a6)]=null);}[_0x41fa7f(0x34b)](){const _0xe7ab7c=_0x41fa7f;this[_0xe7ab7c(0x1db)][_0xe7ab7c(0x186)]({'content':this[_0xe7ab7c(0x1d8)]['t'](_0xe7ab7c(0x35d)),'type':_0xffb326[_0xe7ab7c(0x13f)]['Loading']});}[_0x41fa7f(0x260)](_0x2d44b0){const _0xb4dacc=_0x41fa7f;for(const _0x28f65c of _0x2d44b0){const {unitId:_0x388ba4,sheetId:_0x3bcaba,range:_0xc16811}=_0x28f65c,_0x28d27e=this[_0xb4dacc(0x27e)][_0xb4dacc(0x242)](_0x388ba4);if(!_0x28d27e)continue;const _0x33f273=_0x28d27e['getSheetBySheetId'](_0x3bcaba);if(!_0x33f273)continue;const _0xa7e394=_0x33f273[_0xb4dacc(0x1dd)]();for(let _0x327b44=_0xc16811['startRow'];_0x327b44<=_0xc16811[_0xb4dacc(0x14a)];_0x327b44++)for(let _0xf0034=_0xc16811['startColumn'];_0xf0034<=_0xc16811[_0xb4dacc(0x350)];_0xf0034++){const _0x4628ec=_0xa7e394[_0xb4dacc(0x2e2)](_0x327b44,_0xf0034);if(_0x4628ec&&(_0xdb2415[_0xb4dacc(0x3c2)](_0x4628ec['f'])||_0xdb2415[_0xb4dacc(0x288)](_0x4628ec['si'])))return!0x0;}}return!0x1;}};_0x324e6d=_0x563e0b([_0x482799(0x0,_0xdb2415['Inject'](_0x339e42[_0x41fa7f(0x25d)])),_0x482799(0x1,_0xdb2415['ICommandService']),_0x482799(0x2,_0xdb2415['IConfigService']),_0x482799(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x482799(0x4,_0xdb2415[_0x41fa7f(0x1b6)]),_0x482799(0x5,_0xdb2415['ILogService']),_0x482799(0x6,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x324e6d);var _0x8febbd=Object['getOwnPropertyDescriptor'],_0x337377=(_0x716d63,_0x46e92e,_0x1a3834,_0x496f7e)=>{const _0x104eab=_0x41fa7f;for(var _0x5c1a97=_0x496f7e>0x1?void 0x0:_0x496f7e?_0x8febbd(_0x46e92e,_0x1a3834):_0x46e92e,_0x5f2ab7=_0x716d63[_0x104eab(0x26c)]-0x1,_0x5eedde;_0x5f2ab7>=0x0;_0x5f2ab7--)(_0x5eedde=_0x716d63[_0x5f2ab7])&&(_0x5c1a97=_0x5eedde(_0x5c1a97)||_0x5c1a97);return _0x5c1a97;},_0x300240=(_0x3910e4,_0x2044f3)=>(_0xf7f20a,_0x3d6270)=>_0x2044f3(_0xf7f20a,_0x3d6270,_0x3910e4);let _0x217e1d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x1314e6,_0x2129ba,_0x71b46f){const _0x54242d=_0x41fa7f;super(),_0x356879(this,_0x54242d(0x1fb),new Map()),_0x356879(this,_0x54242d(0x220),new Map()),_0x356879(this,'_disabled',!0x1),(this[_0x54242d(0x1ea)]=_0x1314e6,this['_localStorageService']=_0x2129ba,this[_0x54242d(0x252)]=_0x71b46f);}[_0x41fa7f(0x201)](){const _0x1cd9e2=_0x41fa7f;this[_0x1cd9e2(0x35f)]=!0x0;}[_0x41fa7f(0x233)](){this['_disabled']=!0x1;}get[_0x41fa7f(0x255)](){const _0x43df91=_0x41fa7f;return this[_0x43df91(0x220)];}[_0x41fa7f(0x1b9)](){const _0x2cbe22=_0x41fa7f;this[_0x2cbe22(0x23c)]()[_0x2cbe22(0x36e)](()=>super[_0x2cbe22(0x1b9)]());}async[_0x41fa7f(0x138)](_0x1f79fc){const _0x3a9feb=_0x41fa7f;return this[_0x3a9feb(0x35f)]?null:this[_0x3a9feb(0x2ae)]['getItem'](_0x5a33af[_0x3a9feb(0x3b8)](_0x1f79fc));}async[_0x41fa7f(0x143)](_0x240c20,_0x38cf47){const _0x55c2ef=_0x41fa7f;return!!this[_0x55c2ef(0x2ae)][_0x55c2ef(0x126)](_0x240c20,_0x38cf47);}[_0x41fa7f(0x2b6)](_0x147179,_0x271987,_0x411051,_0x22f7b4){const _0x52bfc7=_0x41fa7f,_0x6f0555=this[_0x52bfc7(0x252)][_0x52bfc7(0x2bb)](_0x147179);this[_0x52bfc7(0x1fb)][_0x52bfc7(0x238)](_0x147179,{'unitID':_0x147179,'type':_0x271987,'awaitingChangeset':_0x411051,'mutations':_0x22f7b4,'rev':_0x6f0555}),this['_saveTaskMap'][_0x52bfc7(0x246)](_0x147179)||this['_scheduleSaving'](_0x147179);}[_0x41fa7f(0x34e)](_0x18d10a){const _0x2d7bb5=_0x41fa7f,_0x1efa46=this[_0x2d7bb5(0x390)]();_0x1efa46===0x0?this[_0x2d7bb5(0x108)](_0x18d10a):this[_0x2d7bb5(0x220)][_0x2d7bb5(0x238)](_0x18d10a,setTimeout(()=>this['_saveCache'](_0x18d10a),_0x1efa46));}[_0x41fa7f(0x390)](){const _0x230c20=_0x41fa7f;var _0x4ef316;return(_0x4ef316=this[_0x230c20(0x1ea)][_0x230c20(0x102)](_0x5a33af['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4ef316:_0x5a33af['LOCAL_CACHE_INTERVAL'];}[_0x41fa7f(0x108)](_0x51c8a5){const _0x5ca265=_0x41fa7f,_0x1c7a6f=this[_0x5ca265(0x220)][_0x5ca265(0x3a4)](_0x51c8a5);return _0x1c7a6f!==void 0x0&&window['clearTimeout'](_0x1c7a6f),this[_0x5ca265(0x2ae)][_0x5ca265(0x126)](_0x5a33af['getLocalCacheKey'](_0x51c8a5),this[_0x5ca265(0x1fb)][_0x5ca265(0x3a4)](_0x51c8a5))[_0x5ca265(0x36e)](()=>this[_0x5ca265(0x220)][_0x5ca265(0x349)](_0x51c8a5));}async['exhaustSavingTask'](){const _0x283912=_0x41fa7f,_0x5bae99=[];this[_0x283912(0x220)][_0x283912(0x270)]((_0x4cbd3f,_0x236c73)=>{const _0x37de91=_0x283912;window['clearTimeout'](_0x4cbd3f),_0x5bae99[_0x37de91(0x3dd)](this['_saveCache'](_0x236c73)[_0x37de91(0x36e)](()=>{const _0x1c4c5e=_0x37de91;this[_0x1c4c5e(0x220)][_0x1c4c5e(0x349)](_0x236c73);}));}),await Promise[_0x283912(0x2c0)](_0x5bae99);}};_0x217e1d=_0x337377([_0x300240(0x0,_0xdb2415['IConfigService']),_0x300240(0x1,_0xdb2415['ILocalStorageService']),_0x300240(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x1b3789['RevisionService']))],_0x217e1d);class _0x46c748 extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(){const _0x238cb4=_0x41fa7f;super(),_0x356879(this,_0x238cb4(0x256)),this['urlChange$']=_0x5bb37b['fromEvent'](window,'popstate')['pipe'](_0x5bb37b[_0x238cb4(0x285)](this['dispose$']),_0x5bb37b['shareReplay'](0x1),_0x5bb37b[_0x238cb4(0x3c8)](void 0x0));}[_0x41fa7f(0x2f1)](_0x8a61be,_0xd729a,_0x1553c9=!0x1){const _0x5a9bf9=_0x41fa7f,_0x2f93c1=new URL(window[_0x5a9bf9(0x1a3)]['href']);_0x2f93c1['searchParams'][_0x5a9bf9(0x238)](_0x8a61be,_0xd729a),_0x1553c9?window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2f2)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]()):window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2dd)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]());}['removeParam'](_0x5d60b3,_0x5e9a47=!0x1){const _0x1b8ca0=_0x41fa7f,_0x3eb64f=new URL(window['location'][_0x1b8ca0(0x2bf)]);_0x3eb64f['searchParams'][_0x1b8ca0(0x349)](_0x5d60b3),_0x5e9a47?window[_0x1b8ca0(0x378)][_0x1b8ca0(0x2f2)]('','',_0x3eb64f[_0x1b8ca0(0x22c)]()):window['history']['pushState']('','',_0x3eb64f[_0x1b8ca0(0x22c)]());}['getParam'](_0x770714){const _0x3bdd40=_0x41fa7f;var _0x38218a;return(_0x38218a=new URL(window[_0x3bdd40(0x1a3)][_0x3bdd40(0x2bf)])['searchParams']['get'](_0x770714))!=null?_0x38218a:void 0x0;}}var _0x603108=Object[_0x41fa7f(0x148)],_0x1da270=Object[_0x41fa7f(0x194)],_0x2bceab=(_0x58f5ed,_0x377637,_0x5e4cf7)=>_0x377637 in _0x58f5ed?_0x603108(_0x58f5ed,_0x377637,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e4cf7}):_0x58f5ed[_0x377637]=_0x5e4cf7,_0x5528e4=(_0x2f4096,_0x5e517b,_0x5525d2,_0xb68a29)=>{const _0x277d36=_0x41fa7f;for(var _0x5d1e97=_0xb68a29>0x1?void 0x0:_0xb68a29?_0x1da270(_0x5e517b,_0x5525d2):_0x5e517b,_0x371ef6=_0x2f4096[_0x277d36(0x26c)]-0x1,_0x40cb8;_0x371ef6>=0x0;_0x371ef6--)(_0x40cb8=_0x2f4096[_0x371ef6])&&(_0x5d1e97=_0x40cb8(_0x5d1e97)||_0x5d1e97);return _0x5d1e97;},_0x13a67b=(_0x4efb3e,_0x10e302)=>(_0x12d219,_0x36fad9)=>_0x10e302(_0x12d219,_0x36fad9,_0x4efb3e),_0x1a1852=(_0x372637,_0xfa022d,_0x3697f2)=>_0x2bceab(_0x372637,_0xfa022d+'',_0x3697f2);const _0x47be37=_0x41fa7f(0x1e7);_0x1dc582[_0x41fa7f(0x206)]=class extends _0xdb2415['Plugin']{constructor(_0x1af9e2=_0x232bc8,_0x51aade,_0x2b4590,_0x489066){const _0x30bc12=_0x41fa7f;super(),this[_0x30bc12(0x286)]=_0x1af9e2,this[_0x30bc12(0x10f)]=_0x51aade,this[_0x30bc12(0x2e4)]=_0x2b4590,this[_0x30bc12(0x1ea)]=_0x489066;const {..._0x4dd6f7}=_0xdb2415[_0x30bc12(0x25f)]({},_0x232bc8,this[_0x30bc12(0x286)]);this[_0x30bc12(0x1ea)][_0x30bc12(0x18e)](_0x58498a,_0x4dd6f7);}['onStarting'](){const _0x5665ba=_0x41fa7f;this[_0x5665ba(0x210)](),this[_0x5665ba(0x279)]();}[_0x41fa7f(0x214)](){const _0x15ecdb=_0x41fa7f;this[_0x15ecdb(0x3bb)]();}[_0x41fa7f(0x210)](){const _0x534d6e=_0x41fa7f;var _0x43bf4e;const _0x122405=[[_0x54f54d],[_0x324e6d],[_0x508056],[_0x3b67da],[_0x354c67],[_0x3dcaca],[_0x2976d6,{'useClass':_0x46c748}],[_0x553b7e['ISocketService'],{'useClass':_0x553b7e[_0x534d6e(0x10a)]}],[_0x5a33af['ILocalCacheService'],{'useClass':_0x217e1d}],[_0x1dc582[_0x534d6e(0x33e)]],[_0x294d98],[_0x375bf7],[_0xa0f1ba],[_0xb90e08],[_0x1dc582[_0x534d6e(0x10b)]]];this[_0x534d6e(0x286)]['enableFrontendLog']&&_0x122405[_0x534d6e(0x3dd)]([_0x34fedc]),_0xdb2415['registerDependencies'](this[_0x534d6e(0x2e4)],_0xdb2415[_0x534d6e(0x251)](_0x122405,(_0x43bf4e=this['_config'])==null?void 0x0:_0x43bf4e[_0x534d6e(0x33b)]));}['_registerRenderDependencies'](){const _0x3ad064=_0x41fa7f;this[_0x3ad064(0x31e)](this[_0x3ad064(0x10f)]['registerRenderModule'](_0xdb2415['UniverInstanceType'][_0x3ad064(0x315)],[_0x1ba6f3])),this[_0x3ad064(0x31e)](this['_renderManagerService'][_0x3ad064(0x161)](_0xdb2415[_0x3ad064(0x2f0)]['UNIVER_SHEET'],[_0x267f0b]));}[_0x41fa7f(0x279)](){const _0x28d320=_0x41fa7f;_0xdb2415[_0x28d320(0x283)](this[_0x28d320(0x2e4)],[[_0xa0f1ba],[_0x1dc582[_0x28d320(0x33e)]],[_0x294d98],[_0x375bf7],[_0x1dc582[_0x28d320(0x10b)]],[_0x324e6d]]),this['_config'][_0x28d320(0x24b)]&&_0xdb2415['touchDependencies'](this[_0x28d320(0x2e4)],[[_0x34fedc]]);}},_0x1a1852(_0x1dc582['UniverCollaborationClientUIPlugin'],_0x41fa7f(0x162),_0x47be37),_0x1dc582[_0x41fa7f(0x206)]=_0x5528e4([_0xdb2415[_0x41fa7f(0x2f3)](_0x5a33af[_0x41fa7f(0x20b)]),_0x13a67b(0x1,_0x7c9b89['IRenderManagerService']),_0x13a67b(0x2,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x13a67b(0x3,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x206)]);var _0x364f0d=Object[_0x41fa7f(0x194)],_0x4339a1=(_0x509204,_0x567b01,_0x52dd47,_0x21fa42)=>{const _0xf6279d=_0x41fa7f;for(var _0x4f1b5f=_0x21fa42>0x1?void 0x0:_0x21fa42?_0x364f0d(_0x567b01,_0x52dd47):_0x567b01,_0x4aa96c=_0x509204[_0xf6279d(0x26c)]-0x1,_0x47cf2d;_0x4aa96c>=0x0;_0x4aa96c--)(_0x47cf2d=_0x509204[_0x4aa96c])&&(_0x4f1b5f=_0x47cf2d(_0x4f1b5f)||_0x4f1b5f);return _0x4f1b5f;},_0x45667d=(_0x597f9c,_0x7a3f0f)=>(_0x382d27,_0x5edd2f)=>_0x7a3f0f(_0x382d27,_0x5edd2f,_0x597f9c);_0x1dc582[_0x41fa7f(0x342)]=class extends _0x5a33af['CollaborationSocketService']{constructor(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d){super(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d);}async[_0x41fa7f(0x30b)](_0x1806f7){const _0x2764ef=_0x41fa7f,_0x32fb4a=await this[_0x2764ef(0x227)](),_0x25f8bb=this[_0x2764ef(0x184)](_0x1806f7,_0x32fb4a);return this['_doCreateSocket'](_0x25f8bb);}[_0x41fa7f(0x184)](_0x3db489,_0x164be2){const _0x484359=_0x41fa7f,_0x1cc203=typeof window>'u'?new URL(_0x3db489):new URL(_0x3db489,window[_0x484359(0x1a3)][_0x484359(0x340)]);_0x1cc203[_0x484359(0x254)]['set'](_0x484359(0x19c),_0x164be2);const _0x5da1e4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x484359(0x1a3)][_0x484359(0x1a1)]);return _0x5da1e4[_0x484359(0x3a4)]('runId')&&_0x1cc203[_0x484359(0x254)][_0x484359(0x238)](_0x484359(0x398),_0x5da1e4[_0x484359(0x3a4)](_0x484359(0x398))),_0x1cc203['toString']();}async[_0x41fa7f(0x227)](){const _0x24b064=_0x41fa7f;var _0x2eae72,_0x415cb6,_0x3bd7d4;const _0x4dd46f=this[_0x24b064(0x1ea)][_0x24b064(0x102)](_0x5a33af[_0x24b064(0x2cf)]),_0x5250c6=(_0x2eae72=_0x4dd46f==null?void 0x0:_0x4dd46f['wsSessionTicketUrl'])!=null?_0x2eae72:_0x5a33af[_0x24b064(0x293)];return(_0x3bd7d4=(_0x415cb6=(await this[_0x24b064(0x23e)][_0x24b064(0x3a4)](_0x5250c6,{'headers':{'Content-Type':_0x24b064(0x2d8)}}))['body'])==null?void 0x0:_0x415cb6[_0x24b064(0x237)])!=null?_0x3bd7d4:'';}},_0x1dc582[_0x41fa7f(0x342)]=_0x4339a1([_0x45667d(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x45667d(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x45667d(0x2,_0xdb2415['IConfigService']),_0x45667d(0x3,_0xdb2415['ILogService']),_0x45667d(0x4,_0x1b3789[_0x41fa7f(0x124)])],_0x1dc582[_0x41fa7f(0x342)]);var _0x59ee28=Object[_0x41fa7f(0x194)],_0x281e28=(_0x3a55d5,_0x5cd513,_0x3c0e7d,_0x23c344)=>{const _0x4631ad=_0x41fa7f;for(var _0x12af6e=_0x23c344>0x1?void 0x0:_0x23c344?_0x59ee28(_0x5cd513,_0x3c0e7d):_0x5cd513,_0x429573=_0x3a55d5[_0x4631ad(0x26c)]-0x1,_0x422264;_0x429573>=0x0;_0x429573--)(_0x422264=_0x3a55d5[_0x429573])&&(_0x12af6e=_0x422264(_0x12af6e)||_0x12af6e);return _0x12af6e;},_0x44b694=(_0x4024e7,_0x47428c)=>(_0xd7915c,_0x4c6b54)=>_0x47428c(_0xd7915c,_0x4c6b54,_0x4024e7);_0x1dc582[_0x41fa7f(0x17c)]=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x4aff2c,_0xa93a3,_0x56a8fa){const _0x3486aa=_0x41fa7f;super(),this[_0x3486aa(0x327)]=_0x4aff2c,this[_0x3486aa(0x23e)]=_0xa93a3,this['_configService']=_0x56a8fa;}async[_0x41fa7f(0x2ed)](_0x519ca9,_0x4f0267,_0x24764c,..._0x1d5cb9){const _0xf20930=_0x41fa7f;var _0x35dfa3,_0x5c69ae,_0x3ed102,_0x3252da;const _0x5f3ea8=this['_instanceService'][_0xf20930(0x2be)]();if(!_0x5f3ea8)throw new Error(_0xf20930(0x1c9));const _0x45f61e=((_0x35dfa3=this[_0xf20930(0x1ea)][_0xf20930(0x102)](_0x5a33af['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x35dfa3:_0x5a33af[_0xf20930(0x1b0)])+'/'+_0x519ca9+_0xf20930(0x3d1)+_0x4f0267,_0x1a7487=new URL(window[_0xf20930(0x1a3)][_0xf20930(0x2bf)]),_0x2c44bf={'scriptId':_0x519ca9,'runId':(_0x5c69ae=_0x1a7487[_0xf20930(0x254)][_0xf20930(0x3a4)](_0xf20930(0x398)))!=null?_0x5c69ae:'','function':_0x4f0267,'unitId':_0x5f3ea8[_0xf20930(0x225)](),'argsOfFunction':JSON[_0xf20930(0x109)](_0x1d5cb9),'invokeId':(_0x3ed102=_0x24764c[_0xf20930(0x3cd)])!=null?_0x3ed102:'','executionId':(_0x3252da=_0x24764c[_0xf20930(0x158)])!=null?_0x3252da:''};try{const _0x4c69a9=await this['_httpService'][_0xf20930(0x11a)](_0x45f61e,{'body':_0x2c44bf});return _0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]&&_0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]['code']!==_0x4edfd6['OK']?_0xf20930(0x1dc):_0x4c69a9[_0xf20930(0x332)]['result'];}catch{return'Failed';}}},_0x1dc582[_0x41fa7f(0x17c)]=_0x281e28([_0x44b694(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x44b694(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x44b694(0x2,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x17c)]);const _0x42de53=0x7530,_0x218b7d=_0x41fa7f(0x18d);class _0x261f1a extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0x21cce8=_0x41fa7f;super(),_0x356879(this,_0x21cce8(0x282),_0xdb2415['generateRandomId']()),_0x356879(this,_0x21cce8(0x16d),new Set()),_0x356879(this,_0x21cce8(0x12f),new Map()),_0x356879(this,_0x21cce8(0x36b),null),_0x356879(this,_0x21cce8(0x1f1),new Map()),_0x356879(this,_0x21cce8(0x29c),new Map()),this[_0x21cce8(0x33f)]();}[_0x41fa7f(0x1b9)](){const _0x29a2b1=_0x41fa7f;super['dispose'](),this[_0x29a2b1(0x1f1)][_0x29a2b1(0x270)]((_0xe3ecc0,_0x59a6ff)=>this[_0x29a2b1(0x355)](_0x59a6ff)),this[_0x29a2b1(0x36b)]&&window[_0x29a2b1(0x24c)](this[_0x29a2b1(0x36b)]);}['getUnitStatus$'](_0x26f305){const _0x1774ee=_0x41fa7f;return this[_0x1774ee(0x2ce)](_0x26f305)['pipe'](_0x5bb37b[_0x1774ee(0x30d)]());}[_0x41fa7f(0x1f3)](_0x414195){const _0x488543=_0x41fa7f;this['_selfUnitIDs'][_0x488543(0x26a)]===0x0&&this[_0x488543(0x15a)](),this[_0x488543(0x16d)][_0x488543(0x12e)](_0x414195),this[_0x488543(0x3bd)]({'type':0x0,'memberID':this[_0x488543(0x282)],'unitIDs':[_0x414195],'isForwarded':!0x1});}[_0x41fa7f(0x354)](_0x373628){const _0x4e3130=_0x41fa7f;this['_selfUnitIDs'][_0x4e3130(0x349)](_0x373628),this[_0x4e3130(0x16d)]['size']===0x0&&this[_0x4e3130(0x36b)]&&window[_0x4e3130(0x24c)](this[_0x4e3130(0x36b)]);}['_init'](){const _0x437664=_0x41fa7f;this[_0x437664(0x31e)](_0xdb2415[_0x437664(0x2eb)](_0x5bb37b['fromEvent'](window,_0x437664(0x386))[_0x437664(0x31f)](_0x38e7e9=>{const _0x811599=_0x437664;if(_0x38e7e9[_0x811599(0x370)]!==_0x218b7d||!_0x38e7e9['newValue'])return;const _0x5b0798=JSON[_0x811599(0x3be)](_0x38e7e9[_0x811599(0x272)]);this[_0x811599(0x38d)](_0x5b0798);}))),window[_0x437664(0x13a)]('unload',()=>this[_0x437664(0x3bd)]({'type':0x1,'memberID':this[_0x437664(0x282)],'unitIDs':Array[_0x437664(0x2a2)](this['_selfUnitIDs'])}));}[_0x41fa7f(0x38d)](_0x3751e3){const _0x54c512=_0x41fa7f;switch(_0x3751e3[_0x54c512(0x17a)]){case 0x0:this[_0x54c512(0x275)](_0x3751e3);break;case 0x1:this[_0x54c512(0x1de)](_0x3751e3);break;case 0x2:this['_handleHeartbeatEvent'](_0x3751e3);break;}}[_0x41fa7f(0x275)](_0x462b67){const _0x1a350a=_0x41fa7f,{unitIDs:_0xd458b5,memberID:_0x252617,isForwarded:_0x346dde}=_0x462b67;_0xd458b5[_0x1a350a(0x270)](_0x512f12=>{const _0x2b0d6c=_0x1a350a;if(!_0x346dde&&this['_unitOnClients'][_0x2b0d6c(0x246)](_0x512f12)&&this[_0x2b0d6c(0x2ce)](_0x512f12)[_0x2b0d6c(0x3b5)](_0x5a33af[_0x2b0d6c(0x2a3)]['OTHER_CLIENTS_EDITING']),!this[_0x2b0d6c(0x12f)]['has'](_0x512f12)||!this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)[_0x2b0d6c(0x246)](_0x252617)){const _0x224a75=this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)||new Set();_0x224a75[_0x2b0d6c(0x12e)](_0x252617),this[_0x2b0d6c(0x12f)]['set'](_0x512f12,_0x224a75),this['_scheduleClearOtherTimer'](_0x252617);}}),_0x346dde||this[_0x1a350a(0x3bd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x41fa7f(0x3d3)](_0x1a5023){const _0xfca101=_0x41fa7f;this[_0xfca101(0x355)](_0x1a5023);const _0x25f389=window['setTimeout'](()=>{const _0x35e075=_0xfca101;this['_unitOnClients'][_0x35e075(0x270)](_0x4f793e=>{_0x4f793e['delete'](_0x1a5023);});},_0x42de53*0x2);this[_0xfca101(0x1f1)]['set'](_0x1a5023,_0x25f389);}[_0x41fa7f(0x355)](_0x321023){const _0x155fcc=_0x41fa7f;if(this[_0x155fcc(0x1f1)][_0x155fcc(0x246)](_0x321023)){const _0x3a3708=this[_0x155fcc(0x1f1)]['get'](_0x321023);_0x3a3708&&window['clearTimeout'](_0x3a3708),this['_clearOtherTimers'][_0x155fcc(0x238)](_0x321023,null);}}[_0x41fa7f(0x1de)](_0x15fe5d){const _0x413202=_0x41fa7f,{memberID:_0x215f72,unitIDs:_0xcc1c62}=_0x15fe5d;_0xcc1c62[_0x413202(0x270)](_0x12d464=>{const _0x586846=_0x413202;var _0x55af35;const _0x31de19=this['_unitOnClients']['get'](_0x12d464);_0x31de19&&(_0x31de19[_0x586846(0x349)](_0x215f72),(_0x55af35=this[_0x586846(0x2ce)](_0x12d464))==null||_0x55af35[_0x586846(0x3b5)](_0x31de19[_0x586846(0x26a)]===0x0?_0x5a33af[_0x586846(0x2a3)]['NO_OTHER_CLIENTS_EDITING']:_0x5a33af[_0x586846(0x2a3)]['OTHER_CLIENTS_EDITING']));}),this[_0x413202(0x355)](_0x215f72);}[_0x41fa7f(0x192)](_0x177751){const _0xb7f3bf=_0x41fa7f;this[_0xb7f3bf(0x3d3)](_0x177751['memberID']);}[_0x41fa7f(0x3bd)](_0x54180f){const _0x2c5bf2=_0x41fa7f;localStorage[_0x2c5bf2(0x126)](_0x218b7d,JSON[_0x2c5bf2(0x109)](_0x54180f));}[_0x41fa7f(0x15a)](){const _0x20ab4f=_0x41fa7f;this['_heartbeatTimer']=window[_0x20ab4f(0x1b1)](()=>{const _0xdb9a40=_0x20ab4f;this[_0xdb9a40(0x3bd)]({'type':0x2,'memberID':this['_id']});},_0x42de53);}[_0x41fa7f(0x2ce)](_0x3a211b){const _0x1960d6=_0x41fa7f;return this['_unitStatus']['has'](_0x3a211b)||this[_0x1960d6(0x29c)][_0x1960d6(0x238)](_0x3a211b,new _0x5bb37b['BehaviorSubject'](_0x5a33af['UnitStatus'][_0x1960d6(0x262)])),this[_0x1960d6(0x29c)][_0x1960d6(0x3a4)](_0x3a211b);}}_0x1dc582[_0x41fa7f(0x211)]=_0x2976d6,_0x1dc582[_0x41fa7f(0x15b)]=_0x2d04ac,_0x1dc582[_0x41fa7f(0x2c8)]=_0x261f1a,_0x1dc582[_0x41fa7f(0x100)]=_0x46c748,Object[_0x41fa7f(0x148)](_0x1dc582,Symbol[_0x41fa7f(0x261)],{'value':_0x41fa7f(0x25e)});}));function _0x5124(){const _0x1bb8d1=['CollaborationEvent','Injector','MoveRangeCommandId','_initDependencies','_range','sessionStatus$','_transformPreviousActiveRange','LICENSE_DISTRO_REJECTED','_univerInstanceService','isEditing','_eventUnsubscribe','unitID','_id','touchDependencies','RemoveColCommandId','takeUntil','_config','UniverDesign','isFormulaId','collaboration-client-ui.config','UniverNetwork','getSheetBySheetId','drawWith','operators','m2Prime','collabStatus.syncing','_collaborationUIEventService','TOO_MANY_REQUESTS','_onCursorDelete','DEFAULT_WS_SESSION_TICKET_URL','addHandlerCallback','_getMergeRange','UniverProCollaboration','UPDATE_CURSOR','currentSkeleton$','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','DocSelectionManagerService','beforeCommandExecuted','_unitStatus','_urlService','_docTransformIMECacheService','assignAColorForMemberID','_context','_colorAssignService','from','UnitStatus','getCollabCursors$','AWAITING_WITH_PENDING','idSuffix','_onCursorUpdate','on-line-icon_clip0_910_349','YUUMI_RATE_OVER_LIMIT','session.connection-failed','CollaborationUIEventId','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','_localStorageService','transform','\x20at\x20','name','RegularPolygon','545FjkhmQ','sheetID','_entityInit$','updateOfflineData','_lastPointer','hovered','combineLatest','_sheetSkeletonManagerService','getCurrentRevOfUnit','getUndoRedoMutationParamsCache','_refRangeService','getFocusedUnit','href','all','@univerjs/engine-render','ColorKit','releaseFormulaLimitUrl','_draw','loadUnit','replace','_commandService','WebBrowserSingleActiveUnitService','SOCKET_FAILED','createInstance','amd','transformSelections','FromArray','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','React','stack','jsx','getColorFromTheme','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','registerComponent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','application/json','collabStatus.fetchMiss','UniverDrawing','functionsExecutedState','debounce','pushState','getRangePointData','SetSelectionsOperation','UniverDocsUi','_hovered','getValue','evenodd','_injector','77bvOmoT','onPointerEnter$','unshift','IRenderManagerService','IConfigService','PY_RUNTIME_SCRIPT_ERROR','toDisposable','_logService','runOnServer','72PBtcYb','defs','UniverInstanceType','setParam','replaceState','DependentOn','UNIVER_SHEET','textRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','currentTheme$','code','getUnhiddenWorksheets','color','UniverCore','_setFormulaLimitStatus','CURRENT_STATUS_CANNOT_OPERATE','lineno','getParam','serializeRangeWithSheet','UNAUTHENTICATED','min','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','deepClone','_initCommandExecutedListener','join','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','imageSourceType','createSocket','INTERNAL_ERROR','distinctUntilChanged','AUTHORIZE_CODE_ILLEGAL','font','object','map','2450kmDGwB','red.300','_docSkeletonManagerService','UNIVER_DOC','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_SUBSCRIPTION_NOT_FOUND','USER_NOT_FOUND','collabStatus.offline','_localCacheService','some','collaboration.closeRoom','disposeWithMe','subscribe','_notificationService','BuiltInUIPart','ENTITLE_NEED_BILLING_ADDRESS','fillStyle','Tooltip','getTypeOfUnitAdded$','_themeService','_instanceService','filename','string','4948074kPocyY','getCurrent','_startDocCollabCursor','getVpScrollXYInfoByPosToVp','SheetsSelectionsService','use','onLocalMutation','_textBubble','body','message','children','getCurrentUnitForType','_initCommandInterceptor','Unknown\x20user','IDocClipboardService','OnLineIcon','collab-text-anchor-','override','NOT_FOUND','cursorInfo$','DesktopCollaborationStatusDisplayController','_init','origin','ENTITLE_CHAT_LIMIT_EXCEED','BrowserCollaborationSocketService','INVALID_ARGUMENT','selections','debounceTime','1em','_anchor','InsertRowCommandId','delete','params','_showGuardMessage','getActiveSheet','current','_scheduleSaving','with','endColumn','requireSession','USER_IS_ANONYMOUS','@univerjs-pro/collaboration','disposeUnit','_removeClearOtherTimer','Vector2','handleIRemoveCol','MOBILE_HAS_BEEN_BOUND','setAlpha','column','bottom','maxFormulaLimit','formula.calculation.waiting','INotificationService','_disabled','random','REDEMPTION_INVALID_CODE','...','MUTATION','M0\x200H16V16H0z','rgba(255,\x20255,\x20255,\x200.01)','_currentUsage','dirtyRanges','handleMoveRange','_colorIndex','permission.content','_heartbeatTimer','data','FETCH_MISS','then','_cursorInfo$','key','flatMap','INVITE_CODE_HAS_BEEN_UES','Error','rxjs/operators','black','IBeforeCloseService','_getScale','history','row','Inject','43923vvNNxq','getAncestorScale','Disposable','m1Prime','ENTITLE_DUP_SUBSCRIPTION','arc','UniverEngineRender','SUCCESS','ILocalCacheService','1299949IITacC','contains','storage','_onRefRangeChange','handleInsertRangeMoveRight','ITransformService','_collabSessionService','subscribeEvent','Workbook','_handleEvent','moveTo','getMemberID','_getSaveTimeout','_shapes','unitId','transformMutation','debug','SetFormulaCalculationNotificationMutation','APPLY_REJECT','find','runId','error','/universer-api/license/formula/limit/status','values','_imageIoService','DocStateChangeManagerService','exports','DisposableCollection','PAYMENT_CHANNEL_NOT_SUPPORT','unit','createIdentifier','UniverDocs','get','_beforeCloseService','_pollingInterval','getColor','formula.calculation.unable','CONNECTOR_DATA_TOO_LARGE','getRenderById','reason','APPLY_NON_SEQUENTIAL_REVISION','registerRefRange','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration-client','_applyCommand','substring','findNodePositionByCharIndex','?taskId=','assign','next','_labelPosition','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getLocalCacheKey','MemberService','_initStatusListener','_registerRenderDependencies','IRemoteInstanceService','_send','parse','PENDING','clipPath','_startCalculationLimit','isFormulaString','getMember','_initWindowErrorListener','[Window\x20Error]:\x20','/universer-api/license/formula/limit/done','_dataLoaderService','mapTo','Rect','OTHER_CLIENT_EDITING','_transformService','url(#off-line-icon_clip0_910_343)','invokeId','throttleTime','RefRangeService','setShapeProps','/run/','totalFormulasToCalculate','_scheduleClearOtherTimer','_maxFormulaLimit','complete','_startSheetCollabCursor','max','INVALID_INVITE_CODE','reconnect','_roomMembers$','YUUMI_UNABLE_LOAD_URL','getStateCache','push','UniverRpc','currentColor','tag','LOGIN_TOKEN_PROCESSING_FAILED','roomMembers$','HEADER_MENU','transformRemoteChangeset','YUUMI_AI_RUN_FAILED','getCellPositionByOffset','getformulaLimitStatusUrl','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docTransformStateCacheService','setStateCache','colno','_docClipboardService','WebURLService','collabStatus.synced','getConfig','lineTo','ICommandService','INVITE_CODE_REQUIRED','height','CollaborationSessionService','_saveCache','stringify','WebSocketService','CollaborationDataLoaderController','removeEventListener','useRef','UniverProCollaborationClient','_renderManagerService','_toggleOnline','_docSyncEditingCollabCursorService','_updateCollabCursors','session.collaboration-timeout','getRelativeToViewportCoord','LICENSE_MAX_UNITS_EXCEEDED','formula.calculation.started','_monkeyPatchLogService','entries','dispose$','post','SessionStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','url(#$1','SYNCED','status$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformHistoryAndStateStack','REDEMPTION_USER_NOT_ELIGIBLE','getUniverSheetInstance','ISnapshotServerService','CHANGESET_REVISION_CONFILICT','setItem','USERS_LEAVE','Shape','text','startColumn','_anchorDot','stageInfo','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','add','_unitOnClients','addObject','RemoveRowCommandId','permission.title','labelPosition','_status$','_updateSubUnitFromURLParams','_uploadLog','startRow','loadOfflineData','InsertRangeMoveRightCommandId','addEventListener','APPLY_DUPLICATED','SNAPSHOT_INVALID_SNAPSHOT','function','getOffsetConfig','MessageType','syncEditingCollabCursor','_releaseCalculationLimit','OFFLINE','saveOfflineData','_collaborationController','docStateChange$','_document','50056eTZovF','defineProperty','_collabCursorState$','endRow','@univerjs/core','collabCursorState$','socket$','_uiPartsService','collabStatus.notCollab','univerjs-icon\x20univerjs-icon-','ALREADY_EXISTS','_docTransformSelectionsService','transformStateCache','range','[CollaborationDataLoaderController]','_drawTextRange','SUBMIT_CHANGESET_TIMEOUT','executionId','COLORS','_scheduleHeartbeat','SheetCollabCursorShape','_updateLocalCursor','clsx','isTransformMutationsWithChangesetSuccess','RECT','displayName','registerRenderModule','pluginName','NOT_COLLAB','now','ENTITLE_REPORT_LIMIT_EXCEED','fillText','trim','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','IImageIoService','_refreshCollabCursors','0\x200\x2016\x2016','_selfUnitIDs','createElement','UNDEFINED','DocSkeletonManagerService','UNRECOGNIZED','executeCommand','event$','forwardRef','DATA_SOURCE_TOO_LARGE','engine','Warning','addClipboardHook','InsertRangeMoveDownCommandId','type','addObjects','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','_removeCollabCursors','LocaleService','_handleHover','on-line-icon','VIEW_MAIN','beginPath','_createSocketURL','measureText','show','svg','_initEntityListener','ERROR_AGAIN','_memberID','fill','_getAnchorBounding','ACTIVE_UNIT_EVENT_CHANNEL','setConfig','CollaborationController','getSheetObject','onCommandExecuted','_handleHeartbeatEvent','makeDirty','getOwnPropertyDescriptor','green.600','round','_initStatusComponent','attrs','@univerjs/drawing','@univerjs/rpc','_syncEditingCollabCursorService','sessionTicket','defIds','switchMap','UniverUi','YUUMI_NO_CUBOID_FOR_QUESTION','search','_online','location','FormulaExecutedStateType','useDependency','_backgroundColor','REDEMPTION_CODE_FULLY_REDEEMED','deserializeRangeWithSheet','_cursors','TEXT','actions','restore','path','ENTITLE_INSUFFICIENT_QUOTA','CONFLICT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setInterval','setTimeout','currentUsage','@univerjs/sheets-ui','mutations','IUniverInstanceService','fromEventSubject','isActive','dispose','selection','_docStateChangeManagerService','_collabCursorController','backgroundColor','_memberService','collaboration-client.offline-data-not-saved','asObservable','ranges','collab-text-range-','sheetId','white','generateRandomId','[Unhandled\x20Rejection]:\x20','toRgbString','getSheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','JOIN_ROOM_FAILED','send','startFormulaLimitUrl','_scene','getCoordByCell','eventID','RxDisposable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','_toggleOffline','width','_color','redoState','_localeService','ONLINE','Tools','_messageService','Failed','getCellMatrix','_handleLeaveEvent','EffectRefRangId','getMergeData','_setupBeforeClosingHandler','parseInt','Success','isTransformMutationFailure','doc.mutation.rich-text-editing','[LogService\x20Error]:\x20','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformIMECache','DOC_RANGE_TYPE','_configService','YUUMI_URL_COL_OUT_OF_RANGE','_lastResponseTimestamp','DataLoaderService','activeSheet$','CollaborationStatus','CommandType','_clearOtherTimers','off-line-icon_clip0_910_343','editingUnit','roomMembers','source','cursorInfo','xlink:href','CLOSE_ROOM','_hover','DeleteRangeMoveLeftCommandId','_cachedData','_clearPolling','onPointerLeave$','4837437hZMydU','collab-client.tooltip.reconnect','4391076tdCpfc','disableLocalCache','_transformUndoRedoStack','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BehaviorSubject','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','top','18916aZhJhr','UniverCollaborationClientPlugin','_assignedColors','react','SetFormulaCalculationStartMutation','TEXT_RANGE_LAYER_INDEX','_registerDependencies','IURLService','none','_cursor','onRendered','div','UniverIcon','registerBeforeClose','skeleton','isArray','FormulaExecuteStageType','_checkCalculationAvailable','_initUserListener','includes','_cursorShapes','PERMISSION_DENIED','_saveTaskMap','_collaborationSessionService','DocCollaborationEntity','Optional','useObservable','getUnitId','_render','_getSessionTicket','session.will-retry','transformMutationsWithChangeset','@univerjs/ui','SNAPSHOT_HAS_BEEN_REMOVED','toString','_drawAnchor','handleIRemoveRow','init','ILogService','_initUnhandledRejectionListener','filter','enableLocalCache','_name','SheetSkeletonManagerService','symbol','ticket','set','_hideTimer','purple.300','@univerjs/engine-formula','exhaustSavingTask','REDEMPTION_CODE_NOT_STARTED','_httpService','save','getTypeOfUnitDisposed$','DocIMEInputManagerService','getUnit','#FFF','unhandledrejection','_initEvent','has','_updateURLWithCurrentState','UniverSheetsUi','getViewport','_session','enableFrontendLog','clearInterval','UniverProCollaborationClientUi','_drawRectRange','subunit','APPLY_REVISION_CONFILICT','mergeOverrideWithDependencies','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','searchParams','saveTaskMap','urlChange$','limitInfo','HTTPService','onMouseMove','_initResize','WECHAT_HAS_BEEN_BOUND','pipe','IMessageService','Module','merge','_hasFormulaInDirtyRanges','toStringTag','NO_OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','http://www.w3.org/2000/svg','bind','@univerjs/network','colorChannel1','_taskIds','uni.network.url-service','size','SOCKET_FAILED_RETRY','length','@univerjs/sheets','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','saveImage','newValue','setUndoRedoMutationParamsCache','_getFormulaLimitStatus','_handleJoinEvent'];_0x5124=function(){return _0x1bb8d1;};return _0x5124();}
|
|
1
|
+
function _0x4915(){const _0x2515b2=['session.connection-failed','getCurrentSelections','includes','functionsExecutedState','triggerDblclick','_memberService','_commandService','APPLY_PERMISSION_DENIED','formula.calculation.unable','_onCursorUpdate','evenodd','touchDependencies','getSheetId','ACTIVE_UNIT_EVENT_CHANNEL','UniverInstanceType','_cursor','unitID','INotificationService','_memberID','reason','handleIRemoveCol','_updateSubUnitFromURLParams','url(#off-line-icon_clip0_910_343)','bind','CollaborationSocketService','ONLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','_hasFormulaInDirtyRanges','ISocketService','collabStatus.synced','Rectangle','code','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_syncEditingCollabCursorService','UniverSheetsUi','_roomMembers$','_scheduleSaving','Error','YUUMI_CONNECTOR_URL_NOT_FOUND','ranges','USER_NOT_FOUND','handleInsertRangeMoveRight','M0\x200H16V16H0z','_disabled','collaboration.single-unit.warning','runOnServer','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetsSelectionsService','_uiPartsService','_univerInstanceService','storage','_colorAssignService','removeEventListener','Rect','fillText','_themeService','TEXT_RANGE_LAYER_INDEX','rxjs','setAlpha','REDEMPTION_USER_NOT_ELIGIBLE','useObservable','_entities','ILogService','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','override','range','top','Injector','startRow','_configService','UniverCore','none','ColorKit','getCellMatrix','@univerjs/network','getCurrent','_config','_backgroundColor','LOCAL_CACHE_INTERVAL_KEY','deepClone','_online','unit','defs','_beforeCloseService','IUniverInstanceService','RichTextEditingMutation','getRenderById','217255BjcNwj','saveTaskMap','href','imageSourceType','disableLocalCache','object','_setFormulaLimitStatus','function','getUnitStatus$','textRanges','trim','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_HAS_BEEN_BOUND','REDEMPTION_CODE_INACTIVE','7532343bKFSqi','1em','forEach','_imageIoService','univerjs-icon\x20univerjs-icon-','from','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/license/formula/limit/start','getVpScrollXYInfoByPosToVp','restore','RxDisposable','_createSocketURL','...','_initDependencies','CONNECTOR_DATA_TOO_LARGE','COLORS','roomMembers','permission.content','registerRenderModule','collaboration-client-ui.config','YUUMI_ALL_TABLES_IS_INVALID','getSkeleton','off-line-icon_clip0_910_343','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_MISMATCH','UniverRpc','UPDATE_CURSOR','limitInfo','OTHER_CLIENT_EDITING','_dataLoaderService','CONFLICT','_color','UniverIcon','FormulaExecutedStateType','source','SUCCESS','IMessageService','post','transform','_httpService','replace','_messageService','_lastResponseTimestamp','Failed','_getMergeRange','resize','collaboration-client.offline-data-not-saved','formula.calculation.waiting','init','VIEW_MAIN','_collaborationUIEventService','bottom','translate(.97)','getMemberID','HTTPService','createSocket','_clearOtherTimers','_getScale','assignAColorForMemberID','InsertRowCommandId','ENSURE_SNAPSHOT_EXECUTION','connectInjector','operators','mutations','getUndoRedoMutationParamsCache','_lastPointer','getAncestorScale','serializeRangeWithSheet','[LogService\x20Error]:\x20','Optional','onMouseMove','_heartbeatTimer','Inject','subscribe','jsx','DocStateChangeManagerService','setParam','_removeCollabCursors','INVITE_CODE_HAS_BEEN_UES','displayName','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','children','CollaborationUIEventService','replaceState','unitId','Shape','currentColor','getFocusedUnit','totalFormulasToCalculate','_injector','BehaviorSubject','hovered','ILocalCacheService','DisposableCollection','size','collabStatus.conflict','_collabCursorController','UniverNetwork','REDEMPTION_CODE_NOT_STARTED','UniverUi','_shapes','CollaborationController','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','HEADER_MENU','takeUntil','transformMutation','START_CALCULATION','addObjects','[Window\x20Error]:\x20','event$','_handleEvent','_assignedColors','ENTITLE_REPORT_LIMIT_EXCEED','react/jsx-runtime','MUTATION','now','http://www.w3.org/2000/svg','getMember','_saveCache','4OwGOzr','_initUserListener','_checkAndWaitForCalculationPermission','getUnitId','redoState','DocSkeletonManagerService','findNodePositionByCharIndex','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','AUTHORIZE_CODE_ILLEGAL','OnLineIcon','getCollabCursors$','IConfigService','@univerjs/design','isTransformMutationFailure','_docTransformStateCacheService','defineProperty','currentUsage','REDEMPTION_CODE_HAS_BEEN_CREATED','SetWorksheetActivateCommand','_initWindowErrorListener','_scheduleClearOtherTimer','_entityInit$','getActiveSheet','DependentOn','Tools','onStarting','substring','origin','isArray','updateOfflineData','BuiltInUIPart','width','_registerDependencies','IRenderManagerService','DesktopCollaborationStatusDisplayController','4540316FEvePy','shareReplay','UniverSheets','off-line-icon','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_INVALID_CODE','history','svg','_initCommandInterceptor','sessionStatus$','executionId','searchParams','max','_getSessionTicket','m1Prime','_textBubble','getCollabEntity$','drawWith','row','collaboration.closeRoom','disposeWithMe','getColor','parseInt','currentSkeleton$','_updateURLWithCurrentState','onPointerLeave$','text','OFFLINE','useDependency','_cursors','WebSocketService','INVALID_ARGUMENT','getRelativeToViewportCoord','formula.calculation.started','SNAPSHOT_HAS_BEEN_REMOVED','beginPath','stage','beforeCommandExecuted','toRgbString','_transformUndoRedoStack','YUUMI_RATE_OVER_LIMIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/universer-api/frontend/logs','unshift','_collabCursorState$','isFormulaString','CommandType','createInstance','FETCH_MISS','SHEET_VIEWPORT_KEY','roomMembers$','_eventUnsubscribe','_init','registerRefRange','colno','TEXT','contains','SetSelectionsOperation','use','RemoveColCommandId','CHANGESET_REVISION_CONFILICT','send','getTypeOfUnitDisposed$','focused$','_collaborationSessionService','map','5456320dylzjd','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subunit','handleDeleteRangeMoveUp','747936XgwjBh','_refreshCollabCursors','_uploadLog','subscribeEvent','DocSelectionManagerService','_getAnchorBounding','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_anchorDot','_urlService','fillStyle','saveOfflineData','registerBeforeClose','IRemoteInstanceService','on-line-icon_clip0_910_349','onPointerEnter$','_initStatusListener','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_hovered','unhandledrejection','with','_labelPosition','collab-client.tooltip.reconnect','path','_saveTaskMap','_getFormulaLimitStatus','entries','YUUMI_ASYNCIO_CANCELLED','filter','data','YUUMI_NO_CUBOID_FOR_QUESTION','_name','_collaborationController','sessionTicket','PERMISSION_DENIED','FromArray','onLocalMutation','INVALID_INVITE_CODE','_localStorageService','UniverProCollaborationClientUi','SUBMIT_CHANGESET_TIMEOUT','actions','split','combineLatest','EMAIL_VERIFY_CODE_MISMATCH','UNDEFINED','_initEvent','dispose$','clearTimeout','_registerRenderDependencies','DATA_SOURCE_TOO_LARGE','some','ENTITLE_NEED_BILLING_ADDRESS','toString','stageInfo','UnitStatus','generateRandomId','startColumn','socket$','useRef','_id','_toggleOnline','deserializeRangeWithSheet','ITransformService','UNAUTHENTICATED','_updateLocalCursor','_notificationService','enableFrontendLog','ticket','handleMoveRange','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRangePointData','APPLY_DUPLICATED','_revisionService','_docTransformSelectionsService','onPointerMove$','LOGIN_FAILED','session.will-retry','_maxFormulaLimit','type','LocaleService','1160667Bhszou','colorChannel1','url(#$1','_setupBeforeClosingHandler','transformRemoteChangeset','defIds','_hover','clsx','_initEntityListener','color','EffectRefRangId','UniverDrawing','_cursorShapes','fromEventSubject','LICENSE_EXPORT_SIZE_EXCEEDED','[Unhandled\x20Rejection]:\x20','getParam','isFormulaId','SOCKET_FAILED','releaseFormulaLimitUrl','InsertRangeMoveRightCommandId','_refRangeService','Subject','NOT_FOUND','_sheetSkeletonManagerService','@univerjs-pro/collaboration-client','ALREADY_EXISTS','getCurrentRevOfUnit','RECT','Module','DocIMEInputManagerService','values','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','get','getUnit','setStateCache','measureText','black','runId','Warning','_unitOnClients','m2Prime','getformulaLimitStatusUrl','reconnect','FormulaExecuteStageType','IURLService','@univerjs/docs-ui','whenReady','setShapeProps','_removeClearOtherTimer','syncEditingCollabCursor','cursorInfo','_startCalculationLimit','rxjs/operators','YUUMI_AI_RUN_FAILED','@univerjs/sheets-ui','getConfig','_checkCalculationAvailable','DOC_RANGE_TYPE','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','_docClipboardService','COMPLETION_FINISHED','key','_localCacheService','entityInit$','_context','parse','_docSkeletonManagerService','CollaborationEvent','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_drawRectRange','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','backgroundColor','CURRENT_STATUS_CANNOT_OPERATE','show','setUndoRedoMutationParamsCache','undoState','54skcZHl','_initCommandExecutedListener','complete','endRow','onTransformChange$','_initStatusComponent','INTERNAL_ERROR','PENDING','USER_IS_ANONYMOUS','SetFormulaCalculationStartMutation','_docSyncEditingCollabCursorService','attrs','getStateCache','isTransformMutationsWithChangesetSuccess','exhaustSavingTask','_setupSubUnitSync','delete','eventID','UNIVER_SHEET','NOT_COLLAB','@univerjs/ui','requireSession','handleInsertRow','_collabSessionService','switchMap','[CollaborationDataLoaderController]','_logService','red.300','application/json','_cachedData','getValue','_doCreateSocket','fillRule','Success','subUnitId','MemberService','selection','getOwnPropertyDescriptor','getViewport','mergeOverrideWithDependencies','_unitStatus','body','removeParam','jsxs','LOCAL_CACHE_INTERVAL','JOIN_ROOM_FAILED','CollaborationStatus','_drawAnchor','xlink:href','SYNCED','RemoteUniscriptService','endColumn','getItem','@univerjs/engine-render','CollaborationUIEventId','message','_handleLeaveEvent','result','_currentUsage','docStateChange$','onCommandExecuted','selections','_onCursorDelete','CLOSE_ROOM','error','APPLY_REVISION_CONFILICT','_transformService','Vector2','handleInsertCol','ENTITLE_CHAT_LIMIT_EXCEED','INVITE_CODE_REQUIRED','white','/universer-api/license/formula/limit/status','BrowserCollaborationSocketService','stack','WebURLService','getTypeOfUnitAdded$','getUniverSheetInstance','newValue','collabStatus.offline','SetDocZoomRatioOperation','_releaseCalculationLimit','USER_NOT_INVITED_CODE','dispose','_startDocCollabCursor','flatMap','_pollingInterval','UNIVER_DOC','MessageType','NO_OTHER_CLIENTS_EDITING','idSuffix','next','getActiveRange','getColorFromTheme','collabCursorState$','startFormulaLimitUrl','LICENSE_MAX_UNITS_EXCEEDED','hide','1775736DzsqWW','setActiveRange','editingUnit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_status$','RegularPolygon','_scene','isActive','arc','setConfig','react','addObject','stringify','transformSelections','params','createIdentifier','useCallback','CollaborationDataLoaderController','APPLY_REJECT','OTHER_CLIENTS_EDITING','lineno','setInterval','createElement','then','distinctUntilChanged','purple.300','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_onRefRangeChange','EMAIL_HAS_BEEN_BOUND','_taskIds','IImageIoService','symbol','_initResize','has','tag','_range','ENTITLE_CAN_NOT_BUY_LOWER_OTP','unload','MoveRangeCommandId','ENTITLE_DUP_SUBSCRIPTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','React','UniverEngineFormula','_monkeyPatchLogService','SheetCollabCursorShape','_docStateChangeManagerService','addEventListener','_document','_toggleOffline','UniverDocsUi','fromEvent','setTimeout','string','getCoordByCell','push','moveTo','getMergeData','LICENSE_IMPORT_SIZE_EXCEEDED','UniverDocs','set','_session','debounce','debounceTime','catch','REDEMPTION_CODE_FULLY_REDEEMED','UniverCollaborationClientUIPlugin','round','ICommandService','executeCommand','makeDirty','getUnhiddenWorksheets','assign','blue.400','SessionStatus','TOO_MANY_REQUESTS','min','mapTo','green.600','UNRECOGNIZED','addHandlerCallback','div','_handleJoinEvent','forwardRef','_cursorInfo$','merge','unsubscribe','getDocRanges','session.collaboration-timeout','NodePositionConvertToRectRange','clipPath','_hideTimer','@univerjs/drawing','memberID','clearInterval','Tooltip','maxFormulaLimit','_updateCollabCursors','getSheetBySheetId','_renderManagerService','_scheduleHeartbeat','_anchor','_render','mask','urlChange$','IUIPartsService','_getSaveTimeout','toDisposable','_selfUnitIDs','UniverEngineRender','INVITE_CODE_ALREADY_BOUND','replaceDocRanges','RefRangeService','height','currentTheme$','setItem','@univerjs/sheets','InsertColCommandId','_localeService','pipe','save','_draw','\x20at\x20','_colorIndex','column','length','_initUnhandledRejectionListener','SOCKET_FAILED_RETRY','_drawTextRange','popstate','DeleteRangeMoveLeftCommandId','lineTo','location','pushState','doc.mutation.rich-text-editing','name','Disposable','fill','getLocalCacheKey','_send'];_0x4915=function(){return _0x2515b2;};return _0x4915();}function _0x1ae4(_0x1036b1,_0xdb132a){const _0x4915b4=_0x4915();return _0x1ae4=function(_0x1ae484,_0x48d759){_0x1ae484=_0x1ae484-0x90;let _0x3d303e=_0x4915b4[_0x1ae484];return _0x3d303e;},_0x1ae4(_0x1036b1,_0xdb132a);}(function(_0x4b9f7a,_0x4e7b1f){const _0x5c03cf=_0x1ae4,_0xc4520d=_0x4b9f7a();while(!![]){try{const _0x3956d0=parseInt(_0x5c03cf(0x118))/0x1+-parseInt(_0x5c03cf(0xad))/0x2*(-parseInt(_0x5c03cf(0x16b))/0x3)+-parseInt(_0x5c03cf(0xd1))/0x4+-parseInt(_0x5c03cf(0x306))/0x5*(-parseInt(_0x5c03cf(0x1bd))/0x6)+-parseInt(_0x5c03cf(0x314))/0x7+parseInt(_0x5c03cf(0x113))/0x8+parseInt(_0x5c03cf(0x21f))/0x9;if(_0x3956d0===_0x4e7b1f)break;else _0xc4520d['push'](_0xc4520d['shift']());}catch(_0x2a3fdd){_0xc4520d['push'](_0xc4520d['shift']());}}}(_0x4915,0x8dd7d),function(_0x3b2618,_0x2efe3d){const _0x1f3a5b=_0x1ae4;typeof exports==_0x1f3a5b(0x30b)&&typeof module<'u'?_0x2efe3d(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==_0x1f3a5b(0x30d)&&define['amd']?define(['exports',_0x1f3a5b(0xa7),_0x1f3a5b(0x184),'@univerjs/core',_0x1f3a5b(0x1d1),_0x1f3a5b(0x2e6),_0x1f3a5b(0xba),_0x1f3a5b(0x229),'@univerjs/rpc',_0x1f3a5b(0x293),_0x1f3a5b(0x1f2),_0x1f3a5b(0x2f9),_0x1f3a5b(0x19b),_0x1f3a5b(0x27b),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x1f3a5b(0x1a2),_0x1f3a5b(0x1a4)],_0x2efe3d):(_0x3b2618=typeof globalThis<'u'?globalThis:_0x3b2618||self,_0x2efe3d(_0x3b2618[_0x1f3a5b(0x140)]={},_0x3b2618['React'],_0x3b2618['UniverProCollaborationClient'],_0x3b2618[_0x1f3a5b(0x2f5)],_0x3b2618[_0x1f3a5b(0x99)],_0x3b2618[_0x1f3a5b(0x2e6)],_0x3b2618['UniverDesign'],_0x3b2618[_0x1f3a5b(0x249)],_0x3b2618[_0x1f3a5b(0x32e)],_0x3b2618[_0x1f3a5b(0xd3)],_0x3b2618[_0x1f3a5b(0x28c)],_0x3b2618[_0x1f3a5b(0x97)],_0x3b2618[_0x1f3a5b(0x251)],_0x3b2618[_0x1f3a5b(0x176)],_0x3b2618['UniverProCollaboration'],_0x3b2618[_0x1f3a5b(0x25a)],_0x3b2618[_0x1f3a5b(0x24a)],_0x3b2618[_0x1f3a5b(0x2e6)][_0x1f3a5b(0x353)],_0x3b2618[_0x1f3a5b(0x2ce)]));}(this,function(_0x440074,_0x54094d,_0x29cbea,_0x4a5a1c,_0x270495,_0x8d94e0,_0x67c92c,_0x3728a4,_0xa7700f,_0x48c182,_0x5d2f68,_0xbeb642,_0x22126e,_0x1954a8,_0x4a6bb0,_0x5afd4e,_0x419491,_0x5d0515,_0x14ceff){'use strict';const _0x22d19e=_0x1ae4;var _0x23d957=Object[_0x22d19e(0xbd)],_0x1330f8=(_0x11b2ec,_0x320e19,_0x5b03dc)=>_0x320e19 in _0x11b2ec?_0x23d957(_0x11b2ec,_0x320e19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b03dc}):_0x11b2ec[_0x320e19]=_0x5b03dc,_0xa63e61=(_0x3a2d11,_0x3be269,_0x20baab)=>_0x1330f8(_0x3a2d11,typeof _0x3be269!=_0x22d19e(0x23f)?_0x3be269+'':_0x3be269,_0x20baab);function _0x318455({ref:_0x573b24,..._0x5edf2d}){const _0x5a6d2a=_0x22d19e,{icon:_0x21b538,id:_0x20721a,className:_0x9f022a,extend:_0x255331,..._0x5d9e3f}=_0x5edf2d,_0x2203d9=(_0x5a6d2a(0x318)+_0x20721a+'\x20'+(_0x9f022a||''))[_0x5a6d2a(0x310)](),_0x289d=_0x3728a4[_0x5a6d2a(0x154)]('_'+_0x27e521());return _0x1e0ea2(_0x21b538,''+_0x20721a,{'defIds':_0x21b538[_0x5a6d2a(0x170)],'idSuffix':_0x289d['current']},{'ref':_0x573b24,'className':_0x2203d9,..._0x5d9e3f},_0x255331);}function _0x1e0ea2(_0x4bd170,_0x3f8811,_0x14644f,_0x563df1,_0x34bd43){const _0x3b38e3=_0x22d19e;return _0x3728a4[_0x3b38e3(0x235)](_0x4bd170['tag'],{'key':_0x3f8811,..._0x50e694(_0x4bd170,_0x14644f,_0x34bd43),..._0x563df1},(_0x30bd2f(_0x4bd170,_0x14644f)[_0x3b38e3(0x366)]||[])[_0x3b38e3(0x112)]((_0x4e6657,_0x36a2ba)=>_0x1e0ea2(_0x4e6657,_0x3f8811+'-'+_0x4bd170['tag']+'-'+_0x36a2ba,_0x14644f,void 0x0,_0x34bd43)));}function _0x50e694(_0x2f22d9,_0x41e017,_0x4c37b4){const _0x444033=_0x22d19e,_0x5e56d0={..._0x2f22d9[_0x444033(0x1c8)]};_0x4c37b4!=null&&_0x4c37b4[_0x444033(0x16c)]&&_0x5e56d0['fill']==='colorChannel1'&&(_0x5e56d0[_0x444033(0x2a8)]=_0x4c37b4['colorChannel1']),_0x2f22d9['tag']===_0x444033(0x286)&&_0x5e56d0['id']&&(_0x5e56d0['id']=_0x5e56d0['id']+_0x41e017[_0x444033(0x217)]),Object['entries'](_0x5e56d0)[_0x444033(0x316)](([_0x5d0914,_0x262066])=>{const _0x4d48b5=_0x444033;_0x5d0914===_0x4d48b5(0x286)&&typeof _0x262066==_0x4d48b5(0x254)&&(_0x5e56d0[_0x5d0914]=_0x262066[_0x4d48b5(0x33d)](/url\(#(.*)\)/,_0x4d48b5(0x16d)+_0x41e017['idSuffix']+')'));});const {defIds:_0x243c85}=_0x41e017;return!_0x243c85||_0x243c85['length']===0x0||(_0x2f22d9[_0x444033(0x242)]===_0x444033(0x10b)&&_0x5e56d0['xlink:href']&&(_0x5e56d0[_0x444033(0x1ed)]=_0x5e56d0['xlink:href']+_0x41e017[_0x444033(0x217)]),Object[_0x444033(0x133)](_0x5e56d0)[_0x444033(0x316)](([_0x29b0db,_0x1cdaa5])=>{const _0x16eb09=_0x444033;typeof _0x1cdaa5==_0x16eb09(0x254)&&(_0x5e56d0[_0x29b0db]=_0x1cdaa5['replace'](/url\(#(.*)\)/,_0x16eb09(0x16d)+_0x41e017['idSuffix']+')'));})),_0x5e56d0;}function _0x30bd2f(_0x16114f,_0x1862ec){const _0x4c2278=_0x22d19e;var _0xa1ad79;const {defIds:_0x1a890a}=_0x1862ec;return!_0x1a890a||_0x1a890a[_0x4c2278(0x29c)]===0x0?_0x16114f:_0x16114f[_0x4c2278(0x242)]===_0x4c2278(0x301)&&((_0xa1ad79=_0x16114f[_0x4c2278(0x366)])!=null&&_0xa1ad79[_0x4c2278(0x29c)])?{..._0x16114f,'children':_0x16114f[_0x4c2278(0x366)]['map'](_0x2ca2da=>typeof _0x2ca2da[_0x4c2278(0x1c8)]['id']==_0x4c2278(0x254)&&_0x1a890a&&_0x1a890a[_0x4c2278(0x2ad)](_0x2ca2da[_0x4c2278(0x1c8)]['id'])?{..._0x2ca2da,'attrs':{..._0x2ca2da['attrs'],'id':_0x2ca2da[_0x4c2278(0x1c8)]['id']+_0x1862ec['idSuffix']}}:_0x2ca2da)}:_0x16114f;}function _0x27e521(){const _0x2688af=_0x22d19e;return Math['random']()[_0x2688af(0x14e)](0x24)[_0x2688af(0xc8)](0x2,0x8);}_0x318455[_0x22d19e(0x364)]=_0x22d19e(0x335);const _0x2184c1={'tag':'svg','attrs':{'xmlns':_0x22d19e(0xaa),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':_0x22d19e(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x22d19e(0x9c),'strokeLinecap':'round','strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x32a)},'children':[{'tag':_0x22d19e(0x130),'attrs':{'fill':_0x22d19e(0x204),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x22d19e(0x32a)]},_0x81dcf2=_0x3728a4[_0x22d19e(0x272)](function(_0x3143c2,_0x56887c){const _0x599dcf=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object['assign']({},_0x3143c2,{'id':_0x599dcf(0xd4),'ref':_0x56887c,'icon':_0x2184c1}));});_0x81dcf2['displayName']='OffLineIcon';const _0x1b6a09={'tag':_0x22d19e(0xd8),'attrs':{'xmlns':_0x22d19e(0xaa),'fill':_0x22d19e(0x2f6),'viewBox':_0x22d19e(0x12a),'width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x22d19e(0x130),'attrs':{'stroke':_0x22d19e(0x36b),'d':_0x22d19e(0x1b7),'strokeLinecap':_0x22d19e(0x262),'strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':_0x22d19e(0x301),'attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x125)},'children':[{'tag':'path','attrs':{'fill':_0x22d19e(0x204),'d':_0x22d19e(0x2d6),'transform':_0x22d19e(0x349)}}]}]}],'defIds':[_0x22d19e(0x125)]},_0x34b6b5=_0x3728a4['forwardRef'](function(_0x1b8960,_0x26ab7d){const _0x383d42=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object[_0x383d42(0x267)]({},_0x1b8960,{'id':'on-line-icon','ref':_0x26ab7d,'icon':_0x1b6a09}));});_0x34b6b5[_0x22d19e(0x364)]=_0x22d19e(0xb7);function _0x2ec0b1(_0x3b13b5){const _0x423fee=_0x22d19e;switch(_0x3b13b5){case _0x29cbea['CollaborationStatus'][_0x423fee(0xec)]:return _0x423fee(0x20c);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x333)]:return _0x423fee(0x95);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x101)]:return _0x423fee(0x2c6);case _0x29cbea['CollaborationStatus'][_0x423fee(0x1d0)]:return'collabStatus.notCollab';case _0x29cbea[_0x423fee(0x1eb)]['AWAITING']:case _0x29cbea['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x423fee(0x2ec);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1ee)]:case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1c4)]:return _0x423fee(0x2c9);}}function _0x1117e8(_0x4adb36){const _0x1bd57b=_0x22d19e,{status$:_0x30c60f}=_0x4adb36,_0x2954c3=_0x270495[_0x1bd57b(0x2e9)](_0x30c60f,_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0x1d0)]),_0x220e44=_0x270495[_0x1bd57b(0xed)](_0x4a5a1c['LocaleService']),_0x2de525=_0x270495[_0x1bd57b(0xed)](_0x29cbea[_0x1bd57b(0x32b)]),_0x52723e=_0x2954c3!==_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0xec)],_0x298913=_0x220e44['t'](_0x2ec0b1(_0x2954c3)),_0xc417c4=_0x52723e?_0x54094d[_0x1bd57b(0x35f)](_0x34b6b5,{}):_0x54094d['jsx'](_0x81dcf2,{}),_0x2d274f=_0x3728a4[_0x1bd57b(0x22f)](()=>{const _0x5aa915=_0x1bd57b;_0x52723e||_0x2de525[_0x5aa915(0x198)]();},[_0x52723e,_0x2de525]);function _0x1097cb(){const _0x35bc59=_0x1bd57b;return _0x54094d[_0x35bc59(0x1e8)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2d274f,'children':[_0x54094d['jsx'](_0x35bc59(0x270),{'className':_0x67c92c[_0x35bc59(0x172)](_0x35bc59(0x18d),{'univer-text-green-500':_0x52723e,'univer-text-red-500':!_0x52723e}),'children':_0xc417c4}),_0x54094d[_0x35bc59(0x35f)](_0x35bc59(0x270),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x298913})]});}return _0x52723e?_0x1097cb():_0x54094d[_0x1bd57b(0x35f)](_0x67c92c[_0x1bd57b(0x27e)],{'title':_0x220e44['t'](_0x1bd57b(0x12f)),'children':_0x1097cb()});}var _0x1f95d9=Object[_0x22d19e(0x1e2)],_0x3de216=(_0x6eadce,_0x2738a2,_0x1d4c75,_0x5c5b2)=>{const _0x37168f=_0x22d19e;for(var _0xc73206=_0x5c5b2>0x1?void 0x0:_0x5c5b2?_0x1f95d9(_0x2738a2,_0x1d4c75):_0x2738a2,_0x5c0bd9=_0x6eadce[_0x37168f(0x29c)]-0x1,_0xfaff54;_0x5c0bd9>=0x0;_0x5c0bd9--)(_0xfaff54=_0x6eadce[_0x5c0bd9])&&(_0xc73206=_0xfaff54(_0xc73206)||_0xc73206);return _0xc73206;},_0x424a95=(_0xa05b8d,_0x4d579e)=>(_0x48e415,_0xcaf905)=>_0x4d579e(_0x48e415,_0xcaf905,_0xa05b8d);_0x440074[_0x22d19e(0xd0)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3404a7,_0x3b1535,_0x33605e,_0x32930b){const _0x5c1c2f=_0x22d19e;super(),_0xa63e61(this,'_status$',new _0x8d94e0[(_0x5c1c2f(0x90))](_0x29cbea['CollaborationStatus'][_0x5c1c2f(0x1d0)])),(this[_0x5c1c2f(0x2de)]=_0x3404a7,this[_0x5c1c2f(0x36e)]=_0x3b1535,this[_0x5c1c2f(0x139)]=_0x33605e,this[_0x5c1c2f(0x2dd)]=_0x32930b,this[_0x5c1c2f(0x1c2)](),this[_0x5c1c2f(0x127)]());}['_initStatusListener'](){const _0x5a9163=_0x22d19e;this[_0x5a9163(0xe5)](this['_univerInstanceService'][_0x5a9163(0x110)][_0x5a9163(0x296)](_0x8d94e0['switchMap'](()=>{const _0x3dccd8=_0x5a9163,_0x24be5a=this[_0x3dccd8(0x2de)][_0x3dccd8(0x36c)]();return _0x24be5a?this[_0x3dccd8(0x139)][_0x3dccd8(0xe1)](_0x24be5a['getUnitId']()):_0x8d94e0['of'](null);}),_0x8d94e0[_0x5a9163(0x1d5)](_0x543ee5=>_0x543ee5?_0x543ee5['status$']:_0x8d94e0['of'](_0x29cbea[_0x5a9163(0x1eb)][_0x5a9163(0x1d0)])))[_0x5a9163(0x35e)](_0x2bcc0f=>{this['_status$']['next'](_0x2bcc0f);}));}[_0x22d19e(0x1c2)](){const _0x5b6566=_0x22d19e;this[_0x5b6566(0xe5)](this[_0x5b6566(0x2dd)]['registerComponent'](_0x270495[_0x5b6566(0xcc)][_0x5b6566(0x9d)],()=>_0x270495[_0x5b6566(0x352)](_0x55feb5({'status$':this[_0x5b6566(0x223)][_0x5b6566(0xb4)]()}),this[_0x5b6566(0x36e)])));}},_0x440074[_0x22d19e(0xd0)]=_0x3de216([_0x424a95(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x424a95(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['Injector'])),_0x424a95(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x9b)])),_0x424a95(0x3,_0x270495[_0x22d19e(0x288)])],_0x440074['DesktopCollaborationStatusDisplayController']);function _0x55feb5(_0x4b30eb){const {status$:_0x40a8d5}=_0x4b30eb;return function(){return _0x54094d['jsx'](_0x1117e8,{'status$':_0x40a8d5});};}const _0x1a7106=_0x4a5a1c[_0x22d19e(0x22e)]('uni.network.url-service');var _0x2d8cb6=Object['getOwnPropertyDescriptor'],_0xbe8d43=(_0x2d6fc6,_0x29c0da,_0x532493,_0x234ce1)=>{const _0x241568=_0x22d19e;for(var _0x6c2526=_0x234ce1>0x1?void 0x0:_0x234ce1?_0x2d8cb6(_0x29c0da,_0x532493):_0x29c0da,_0x2f79a3=_0x2d6fc6[_0x241568(0x29c)]-0x1,_0x4c4eb0;_0x2f79a3>=0x0;_0x2f79a3--)(_0x4c4eb0=_0x2d6fc6[_0x2f79a3])&&(_0x6c2526=_0x4c4eb0(_0x6c2526)||_0x6c2526);return _0x6c2526;},_0x5dbae3=(_0x119d9e,_0x1fe68c)=>(_0x178431,_0x40df59)=>_0x1fe68c(_0x178431,_0x40df59,_0x119d9e);_0x440074[_0x22d19e(0x230)]=class extends _0x4a5a1c['RxDisposable']{constructor(_0x27a6c0,_0x14c1db,_0x393447,_0x1df618,_0x1358d9){const _0x5bf668=_0x22d19e;super(),this['_urlService']=_0x27a6c0,this[_0x5bf668(0x1d7)]=_0x14c1db,this[_0x5bf668(0x2b1)]=_0x393447,this[_0x5bf668(0x332)]=_0x1df618,_0x1358d9?_0x1358d9==null||_0x1358d9[_0x5bf668(0x19c)]()[_0x5bf668(0x236)](()=>this[_0x5bf668(0x105)]()):(this[_0x5bf668(0x1d7)]['debug'](_0x5bf668(0x1d6),_0x5bf668(0x2cc)),this['_init']());}async[_0x22d19e(0x105)](){const _0x3c86d5=_0x22d19e,_0x293a75=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)](_0x3c86d5(0x300)),_0x32416b=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)]('type'),_0x3bf553=this['_urlService'][_0x3c86d5(0x17b)](_0x3c86d5(0x116));if(!_0x293a75||!_0x32416b){this['_logService']['debug'](_0x3c86d5(0x1d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x34975e=await this[_0x3c86d5(0x332)]['loadUnit'](_0x293a75,Number(_0x32416b),_0x3bf553);_0x34975e&&_0x34975e instanceof _0x4a5a1c['Workbook']&&this['_setupSubUnitSync'](_0x34975e);}async[_0x22d19e(0x1cc)](_0x2db9eb){const _0x22f3ce=_0x22d19e;await this[_0x22f3ce(0x2c0)](_0x2db9eb),_0x2db9eb['activeSheet$']['pipe'](_0x8d94e0['takeUntil'](this['dispose$']))['subscribe'](_0x2dfc38=>{_0x2dfc38&&this['_updateURLWithCurrentState'](_0x2dfc38);}),this[_0x22f3ce(0x120)][_0x22f3ce(0x287)][_0x22f3ce(0x296)](_0x8d94e0[_0x22f3ce(0x9e)](this[_0x22f3ce(0x148)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2db9eb));}[_0x22d19e(0xe9)](_0x3d7f83,_0x14d469=!0x1){const _0x5dc393=_0x22d19e,_0x122890=this[_0x5dc393(0x120)]['getParam'](_0x5dc393(0x116));_0x3d7f83[_0x5dc393(0x2b7)]()!==_0x122890&&this[_0x5dc393(0x120)][_0x5dc393(0x361)](_0x5dc393(0x116),_0x3d7f83['getSheetId'](),_0x14d469);}async['_updateSubUnitFromURLParams'](_0x413b49){const _0x56fc63=_0x22d19e;var _0x50e521;const _0xf63ecf=this[_0x56fc63(0x120)][_0x56fc63(0x17b)](_0x56fc63(0x116));if(!_0xf63ecf||!_0x413b49[_0x56fc63(0x281)](_0xf63ecf)){const _0x477fa9=_0x413b49[_0x56fc63(0x266)]()[0x0],_0x454fbb=_0x413b49[_0x56fc63(0x281)](_0x477fa9);if(!_0x454fbb)return;this[_0x56fc63(0xe9)](_0x454fbb,!0x0),await this['_commandService'][_0x56fc63(0x264)](_0x48c182[_0x56fc63(0xc0)]['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0x477fa9});return;}((_0x50e521=_0x413b49[_0x56fc63(0xc4)]())==null?void 0x0:_0x50e521[_0x56fc63(0x2b7)]())!==_0xf63ecf&&await this[_0x56fc63(0x2b1)][_0x56fc63(0x264)](_0x48c182['SetWorksheetActivateCommand']['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0xf63ecf});}},_0x440074[_0x22d19e(0x230)]=_0xbe8d43([_0x5dbae3(0x0,_0x1a7106),_0x5dbae3(0x1,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5dbae3(0x2,_0x4a5a1c['ICommandService']),_0x5dbae3(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['DataLoaderService'])),_0x5dbae3(0x4,_0x4a5a1c[_0x22d19e(0x35a)](_0xa7700f[_0x22d19e(0x124)]))],_0x440074[_0x22d19e(0x230)]);var _0x2c66f9=Object[_0x22d19e(0x1e2)],_0x1bb1bc=(_0x4d337c,_0x34adb4,_0x248d98,_0x2432f0)=>{const _0x15c306=_0x22d19e;for(var _0x32cfda=_0x2432f0>0x1?void 0x0:_0x2432f0?_0x2c66f9(_0x34adb4,_0x248d98):_0x34adb4,_0x5ac6c2=_0x4d337c[_0x15c306(0x29c)]-0x1,_0x4937cc;_0x5ac6c2>=0x0;_0x5ac6c2--)(_0x4937cc=_0x4d337c[_0x5ac6c2])&&(_0x32cfda=_0x4937cc(_0x32cfda)||_0x32cfda);return _0x32cfda;},_0x3160a6=(_0x175297,_0x546bff)=>(_0x12f702,_0x192ba8)=>_0x546bff(_0x12f702,_0x192ba8,_0x175297);let _0x3b2848=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1cd3a0,_0x2d1bbc){const _0x3e696c=_0x22d19e;super(),this[_0x3e696c(0x1aa)]=_0x1cd3a0,this['_imageIoService']=_0x2d1bbc,this[_0x3e696c(0x105)]();}[_0x22d19e(0x105)](){const _0x32d9c5=_0x22d19e,_0x1dd156=this;this[_0x32d9c5(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x20676c=>{const _0x3635a1=_0x32d9c5,_0x93f367=await _0x1dd156[_0x3635a1(0x317)]['saveImage'](_0x20676c);return _0x93f367?{'source':_0x93f367[_0x3635a1(0x337)],'imageSourceType':_0x93f367[_0x3635a1(0x309)]}:null;}}));}};_0x3b2848=_0x1bb1bc([_0x3160a6(0x0,_0x22126e['IDocClipboardService']),_0x3160a6(0x1,_0x1954a8[_0x22d19e(0x23e)])],_0x3b2848);const _0x158c52=[_0x22d19e(0x238),'jiqing.500',_0x22d19e(0x26d),_0x22d19e(0x1d8),_0x22d19e(0x268),'yellow.400'];class _0x54052c extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x1c78c4=_0x22d19e;super(...arguments),_0xa63e61(this,_0x1c78c4(0xa5),new Map()),_0xa63e61(this,_0x1c78c4(0x29a),0x0);}[_0x22d19e(0x34f)](_0x5690c3){const _0x34df30=_0x22d19e;if(this[_0x34df30(0xa5)]['has'](_0x5690c3))return this[_0x34df30(0xa5)][_0x34df30(0x18e)](_0x5690c3);const _0x816f2c=_0x158c52[this[_0x34df30(0x29a)]];return this[_0x34df30(0x29a)]=(this[_0x34df30(0x29a)]+0x1)%_0x158c52[_0x34df30(0x29c)],this[_0x34df30(0xa5)][_0x34df30(0x25b)](_0x5690c3,_0x816f2c),_0x816f2c;}}function _0x4fb987(_0xe93690){const _0xf8420d=_0x22d19e;let _0x1030cd='';for(const _0x11477e of _0xe93690){const {startOffset:_0x5922b9,endOffset:_0x33e75c,isActive:_0x239d45,rangeType:_0x4b0ba4,segmentId:_0x1581a0,segmentPage:_0x257805}=_0x11477e;_0x1030cd[_0xf8420d(0x29c)]&&(_0x1030cd+=','),_0x1030cd+=_0x5922b9+':'+_0x33e75c+':'+(_0x239d45?'1':'0')+':'+_0x4b0ba4+':'+_0x1581a0+':'+_0x257805;}return _0x1030cd;}function _0x1d4227(_0x3cd51b){const _0x1bb39a=_0x22d19e,_0x1d4422=_0x3cd51b[_0x1bb39a(0x143)](','),_0x4d2a21=[];for(const _0x190de4 of _0x1d4422){const [_0x7b613b,_0x205174,_0x2ea7d0,_0x50f178,_0x18a1c1,_0x8e7aa1]=_0x190de4[_0x1bb39a(0x143)](':');_0x4d2a21[_0x1bb39a(0x256)]({'startOffset':Number(_0x7b613b),'endOffset':Number(_0x205174),'collapsed':_0x7b613b===_0x205174,'isActive':_0x2ea7d0==='1','rangeType':_0x50f178===_0x4a5a1c[_0x1bb39a(0x1a7)][_0x1bb39a(0x108)]?_0x4a5a1c['DOC_RANGE_TYPE'][_0x1bb39a(0x108)]:_0x4a5a1c['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x18a1c1==_0x1bb39a(0x254)?String(_0x18a1c1):'','segmentPage':Number(_0x8e7aa1!=null?_0x8e7aa1:-0x1)});}return _0x4d2a21[_0x1bb39a(0x14c)](_0x4247e2=>_0x4247e2[_0x1bb39a(0x226)])||(_0x4d2a21[0x0]['isActive']=!0x0),_0x4d2a21;}class _0x5e2c98 extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x58af81=_0x22d19e;super(...arguments),_0xa63e61(this,_0x58af81(0xfd),new _0x8d94e0[(_0x58af81(0x90))](null)),_0xa63e61(this,_0x58af81(0x21b),this[_0x58af81(0xfd)][_0x58af81(0xb4)]());}[_0x22d19e(0x19f)](_0x479c55){const _0x21340f=_0x22d19e,{unitID:_0x4d5051,memberID:_0x55b16c,textRanges:_0x1ac17e}=_0x479c55,_0x46fef3=_0x4fb987(_0x1ac17e);if(_0x46fef3==='')return;const _0x2c61fc={'unitID':_0x4d5051,'memberID':_0x55b16c,'selection':_0x46fef3};this[_0x21340f(0xfd)][_0x21340f(0x218)](_0x2c61fc);}}var _0xc6f851=Object['getOwnPropertyDescriptor'],_0x4c204a=(_0x55c449,_0xde6fec,_0x1228e2,_0x3a16f6)=>{const _0x4bcd02=_0x22d19e;for(var _0x241933=_0x3a16f6>0x1?void 0x0:_0x3a16f6?_0xc6f851(_0xde6fec,_0x1228e2):_0xde6fec,_0x41cbb9=_0x55c449[_0x4bcd02(0x29c)]-0x1,_0x8dd86c;_0x41cbb9>=0x0;_0x41cbb9--)(_0x8dd86c=_0x55c449[_0x41cbb9])&&(_0x241933=_0x8dd86c(_0x241933)||_0x241933);return _0x241933;},_0x758b0d=(_0xc2ac20,_0x4cf66e)=>(_0x3c8a59,_0x1b8e9c)=>_0x4cf66e(_0x3c8a59,_0x1b8e9c,_0xc2ac20);const _0x2b9030=0x12c,_0x5ccb76=0x64;let _0x5d83b2=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x553855,_0x138b41,_0x1cbaee,_0x1aa6fc,_0xcf3f78,_0x682c1a,_0x5b98a7,_0x4981c3,_0x5a3f81){const _0x3d33e6=_0x22d19e;super(),_0xa63e61(this,_0x3d33e6(0x2ff),!0x1),_0xa63e61(this,'_init',!0x1),_0xa63e61(this,_0x3d33e6(0x273),new _0x8d94e0[(_0x3d33e6(0x90))](new Map())),_0xa63e61(this,_0x3d33e6(0x1b4),this[_0x3d33e6(0x273)][_0x3d33e6(0xb4)]()),_0xa63e61(this,'_roomMembers$',new _0x8d94e0['BehaviorSubject']([])),_0xa63e61(this,_0x3d33e6(0x103),this['_roomMembers$']['pipe'](_0x8d94e0[_0x3d33e6(0x25e)](_0x2b9030))),_0xa63e61(this,_0x3d33e6(0x15a),_0x4a5a1c[_0x3d33e6(0x25d)](_0x106917=>{const _0xf1c192=_0x3d33e6,_0x4e4976={'eventID':_0x4a6bb0[_0xf1c192(0x1b2)][_0xf1c192(0x32f)],'data':{'unitID':this[_0xf1c192(0x2bb)],'memberID':this[_0xf1c192(0x25c)][_0xf1c192(0x34a)](),'selection':_0x4fb987(_0x106917)}};this[_0xf1c192(0x25c)]['send'](_0x4e4976,this[_0xf1c192(0x2bb)]);},_0x5ccb76)),(this[_0x3d33e6(0x2bb)]=_0x553855,this[_0x3d33e6(0x25c)]=_0x138b41,this[_0x3d33e6(0x36e)]=_0x1cbaee,this['_colorAssignService']=_0x1aa6fc,this[_0x3d33e6(0x2b0)]=_0xcf3f78,this[_0x3d33e6(0x2cd)]=_0x682c1a,this['_transformService']=_0x5b98a7,this[_0x3d33e6(0x2de)]=_0x4981c3,this['_commandService']=_0x5a3f81);}get[_0x22d19e(0x1a0)](){const _0x529f77=_0x22d19e;return this[_0x529f77(0x273)]['getValue']();}get[_0x22d19e(0x324)](){const _0x22960d=_0x22d19e;return this[_0x22960d(0x2cf)][_0x22960d(0x1db)]();}['dispose'](){const _0x21b3c5=_0x22d19e;super['dispose'](),this[_0x21b3c5(0x273)][_0x21b3c5(0x218)](new Map()),this['_cursorInfo$'][_0x21b3c5(0x1bf)](),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x218)]([]),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x1bf)]();}['init'](){const _0x3bb919=_0x22d19e;this[_0x3bb919(0x105)]||(this[_0x3bb919(0x105)]=!0x0,this['_session'][_0x3bb919(0xda)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this[_0x3bb919(0x148)]))[_0x3bb919(0x35e)](_0x356a06=>{const _0x449cd3=_0x3bb919;_0x356a06===_0x29cbea[_0x449cd3(0x269)][_0x449cd3(0x2c4)]?this['_toggleOnline']():this[_0x449cd3(0x250)]();}),this['_session'][_0x3bb919(0xa3)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this['dispose$']))[_0x3bb919(0x35e)](_0x3eb262=>{const _0x17aa51=_0x3bb919,_0x35b360=_0x3eb262[_0x17aa51(0x1ce)];_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)][_0x17aa51(0x32f)]&&this[_0x17aa51(0x2b4)](_0x3eb262),_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)]['USERS_LEAVE']&&this[_0x17aa51(0x1fb)](_0x3eb262);}),this['disposeWithMe'](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x4ca2fc=>{const _0x59584c=_0x3bb919,_0x3e779d=_0x4ca2fc[_0x59584c(0x22d)];_0x3e779d!=null&&this[_0x59584c(0x2ff)]&&_0x4ca2fc['id']===_0x5afd4e['SetTextSelectionsOperation']['id']&&_0x3e779d[_0x59584c(0x369)]===this['unitID']&&_0x3e779d['isEditing']===!0x1&&_0x3e779d[_0x59584c(0x2d3)]['length']>0x0&&this['_updateLocalCursor'](_0x3e779d[_0x59584c(0x2d3)]);})),this['_syncEditingCollabCursorService'][_0x3bb919(0x21b)][_0x3bb919(0x296)](_0x8d94e0[_0x3bb919(0x9e)](this['dispose$']))[_0x3bb919(0x35e)](_0x5d9413=>{const _0x4521eb=_0x3bb919;if((_0x5d9413==null?void 0x0:_0x5d9413[_0x4521eb(0x2bb)])!==this[_0x4521eb(0x2bb)])return;const _0x4af0b4={'eventID':_0x4a6bb0[_0x4521eb(0x1b2)][_0x4521eb(0x32f)],'data':_0x5d9413};this[_0x4521eb(0x2b4)](_0x4af0b4);}),this[_0x3bb919(0xe5)](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x362ac4=>{const _0x29d2ac=_0x3bb919;if(_0x362ac4[_0x29d2ac(0x22d)]==null)return;const _0x1912bc=_0x362ac4['params'];if(_0x362ac4['id']!==_0x5afd4e[_0x29d2ac(0x304)]['id']||_0x1912bc[_0x29d2ac(0x369)]!==this['unitID'])return;const _0x1044a9={'id':_0x29d2ac(0x2a5),'params':_0x1912bc},_0x1c2ea5=this['cursorInfo'];for(const [_0xf2cfa2,_0x315412]of _0x1c2ea5){const _0x46053b={'id':_0x29d2ac(0x2a5),'params':{'unitId':this[_0x29d2ac(0x2bb)],'actions':null,'textRanges':_0x315412[_0x29d2ac(0x2d3)]}},_0x2cac1d=this['_transformService'][_0x29d2ac(0x9f)](_0x1044a9,_0x46053b,!0x1);if(_0x4a6bb0['isTransformMutationFailure'](_0x2cac1d))throw _0x2cac1d['error'];_0x1c2ea5[_0x29d2ac(0x25b)](_0xf2cfa2,{..._0x315412,'ranges':_0x2cac1d['m2Prime']['params'][_0x29d2ac(0x30f)]});}queueMicrotask(()=>{const _0x1b850a=_0x29d2ac;this[_0x1b850a(0x273)][_0x1b850a(0x218)](_0x1c2ea5);});})));}['_onCursorUpdate'](_0x5895a1){const _0x5b36e4=_0x22d19e;var _0x38aa6b,_0x2f2eaa;const {memberID:_0x5200f1,selection:_0x26f9c5}=_0x5895a1[_0x5b36e4(0x136)],_0x2affd8=_0x1d4227(_0x26f9c5),_0x29f551=(_0x2f2eaa=(_0x38aa6b=this[_0x5b36e4(0x2b0)][_0x5b36e4(0xab)](this['unitID'],_0x5200f1))==null?void 0x0:_0x38aa6b['name'])!=null?_0x2f2eaa:'Unknown\x20user',_0x1bb3b1={'color':this[_0x5b36e4(0x2e0)]['assignAColorForMemberID'](_0x5200f1),'name':_0x29f551,'ranges':_0x2affd8},_0x54e1e6=this[_0x5b36e4(0x1a0)];_0x54e1e6['set'](_0x5200f1,_0x1bb3b1),this['_cursorInfo$'][_0x5b36e4(0x218)](_0x54e1e6);}[_0x22d19e(0x1fb)](_0x51a360){const _0x1feb13=_0x22d19e,{memberID:_0x1ab4b2}=_0x51a360[_0x1feb13(0x136)],_0x46635e=this[_0x1feb13(0x1a0)];_0x46635e['delete'](_0x1ab4b2),this['_cursorInfo$'][_0x1feb13(0x218)](_0x46635e);}[_0x22d19e(0x156)](){const _0x10d4c2=_0x22d19e;var _0x2bad50;if(this['_online']=!0x0,((_0x2bad50=this[_0x10d4c2(0x2de)]['getFocusedUnit']())==null?void 0x0:_0x2bad50[_0x10d4c2(0xb0)]())!==this[_0x10d4c2(0x2bb)])return;const _0x2e3d14=this[_0x10d4c2(0x36e)][_0x10d4c2(0x18e)](_0x5afd4e['DocSelectionManagerService'])[_0x10d4c2(0x276)]();Array[_0x10d4c2(0xca)](_0x2e3d14)&&_0x2e3d14[_0x10d4c2(0x29c)]>0x0&&this[_0x10d4c2(0x15a)](_0x2e3d14);}[_0x22d19e(0x250)](){const _0x330e1b=_0x22d19e;this[_0x330e1b(0x2ff)]=!0x1;}};_0x5d83b2=_0x4c204a([_0x758b0d(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x758b0d(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x758b0d(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x758b0d(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x5e2c98)),_0x758b0d(0x6,_0x4a6bb0['ITransformService']),_0x758b0d(0x7,_0x4a5a1c[_0x22d19e(0x303)]),_0x758b0d(0x8,_0x4a5a1c['ICommandService'])],_0x5d83b2);var _0x3fd83d=Object[_0x22d19e(0x1e2)],_0x117c72=(_0x3e7396,_0x4f889d,_0x52d4dd,_0x3aa87a)=>{const _0x263dd2=_0x22d19e;for(var _0x4dc25a=_0x3aa87a>0x1?void 0x0:_0x3aa87a?_0x3fd83d(_0x4f889d,_0x52d4dd):_0x4f889d,_0x312453=_0x3e7396[_0x263dd2(0x29c)]-0x1,_0x267aa3;_0x312453>=0x0;_0x312453--)(_0x267aa3=_0x3e7396[_0x312453])&&(_0x4dc25a=_0x267aa3(_0x4dc25a)||_0x4dc25a);return _0x4dc25a;},_0x3dc9f7=(_0x5879e1,_0x4082e9)=>(_0x56860d,_0x34dd26)=>_0x4082e9(_0x56860d,_0x34dd26,_0x5879e1);const _0x57f142=0x12c,_0x6b3f66=0x64,_0x6ec09=()=>{let _0x51a0d6=[],_0x5f083f=!0x1;return _0x2772c1=>{_0x51a0d6['push'](_0x2772c1),_0x5f083f||(_0x5f083f=!0x0,setTimeout(()=>{_0x51a0d6['forEach'](_0x53bd59=>_0x53bd59()),_0x51a0d6=[],_0x5f083f=!0x1;}));};};let _0xd019b3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1ef9a3,_0x237b5f,_0x47e80e,_0xfb1ad4,_0x220aaf,_0x53d56c,_0x449064,_0x2b9d95){const _0x52ddfb=_0x22d19e;super(),_0xa63e61(this,'_online',!0x1),_0xa63e61(this,_0x52ddfb(0x105),!0x1),_0xa63e61(this,'_cursorInfo$',new _0x8d94e0[(_0x52ddfb(0x90))](new Map())),_0xa63e61(this,_0x52ddfb(0x1b4),this[_0x52ddfb(0x273)][_0x52ddfb(0xb4)]()),_0xa63e61(this,_0x52ddfb(0x2cf),new _0x8d94e0[(_0x52ddfb(0x90))]([])),_0xa63e61(this,_0x52ddfb(0x103),this[_0x52ddfb(0x2cf)][_0x52ddfb(0x296)](_0x8d94e0[_0x52ddfb(0x25e)](_0x57f142))),_0xa63e61(this,_0x52ddfb(0x15a),_0x4a5a1c['debounce']((_0xf43d5,_0x4df24c)=>{const _0x3413d4=_0x52ddfb,_0x55923d={'eventID':_0x4a6bb0[_0x3413d4(0x1b2)][_0x3413d4(0x32f)],'data':{'unitID':this[_0x3413d4(0x2bb)],'memberID':this[_0x3413d4(0x25c)]['getMemberID'](),'selection':_0x419491[_0x3413d4(0x358)](_0xf43d5,_0x4df24c[_0x3413d4(0x2f0)])}};this[_0x3413d4(0x25c)][_0x3413d4(0x10e)](_0x55923d,this[_0x3413d4(0x2bb)]);},_0x6b3f66)),(this[_0x52ddfb(0x2bb)]=_0x1ef9a3,this[_0x52ddfb(0x25c)]=_0x237b5f,this[_0x52ddfb(0x36e)]=_0x47e80e,this[_0x52ddfb(0x2e0)]=_0xfb1ad4,this[_0x52ddfb(0x2b0)]=_0x220aaf,this[_0x52ddfb(0x2de)]=_0x53d56c,this[_0x52ddfb(0x2b1)]=_0x449064,this[_0x52ddfb(0x180)]=_0x2b9d95);}get['cursorInfo'](){const _0x2a9977=_0x22d19e;return this['_cursorInfo$'][_0x2a9977(0x1db)]();}get['roomMembers'](){const _0x355003=_0x22d19e;return this['_roomMembers$'][_0x355003(0x1db)]();}[_0x22d19e(0x210)](){const _0x714c78=_0x22d19e;super['dispose'](),this[_0x714c78(0x273)][_0x714c78(0x218)](new Map()),this[_0x714c78(0x273)][_0x714c78(0x1bf)](),this[_0x714c78(0x2cf)]['next']([]),this[_0x714c78(0x2cf)][_0x714c78(0x1bf)]();}['init'](){const _0x489218=_0x22d19e;this[_0x489218(0x105)]||(this[_0x489218(0x105)]=!0x0,this[_0x489218(0x25c)][_0x489218(0xda)]['pipe'](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x363af4=>{const _0x27c6eb=_0x489218;_0x363af4===_0x29cbea['SessionStatus']['ONLINE']?this[_0x27c6eb(0x156)]():this['_toggleOffline']();}),this['_session'][_0x489218(0xa3)][_0x489218(0x296)](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x103229=>{const _0x1b1504=_0x489218,_0x477f3e=_0x103229[_0x1b1504(0x1ce)];_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)][_0x1b1504(0x32f)]&&this[_0x1b1504(0x2b4)](_0x103229),_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)]['USERS_LEAVE']&&this[_0x1b1504(0x1fb)](_0x103229);}),this[_0x489218(0x23b)](),this[_0x489218(0xe5)](this[_0x489218(0x2b1)]['onCommandExecuted'](_0x133883=>{const _0x28f40c=_0x489218;if(this[_0x28f40c(0x2ff)]&&_0x133883['id']===_0x48c182[_0x28f40c(0x10a)]['id']&&_0x133883[_0x28f40c(0x22d)][_0x28f40c(0x369)]===this[_0x28f40c(0x2bb)]){const _0x48a9da=_0x133883['params'];this['_updateLocalCursor'](_0x48a9da[_0x28f40c(0x1df)],_0x48a9da[_0x28f40c(0x1fa)][0x0]);}})));}[_0x22d19e(0x2b4)](_0x3f8585){const _0x36108e=_0x22d19e;var _0x431eef,_0x411d9f;const {memberID:_0x4402e9,selection:_0x2c9f77}=_0x3f8585[_0x36108e(0x136)],{sheetName:_0x37a1a1,range:_0x341c04}=_0x419491[_0x36108e(0x157)](_0x2c9f77),_0x2c6f4b={'name':(_0x411d9f=(_0x431eef=this[_0x36108e(0x2b0)][_0x36108e(0xab)](this['unitID'],_0x4402e9))==null?void 0x0:_0x431eef[_0x36108e(0x2a6)])!=null?_0x411d9f:'Unknown\x20user','range':this[_0x36108e(0x341)](_0x37a1a1,_0x341c04),'sheetID':_0x37a1a1,'color':this[_0x36108e(0x2e0)]['assignAColorForMemberID'](_0x4402e9),'selection':_0x2c9f77},_0x10133a=this[_0x36108e(0x1a0)];_0x10133a[_0x36108e(0x25b)](_0x4402e9,_0x2c6f4b),this[_0x36108e(0x273)][_0x36108e(0x218)](_0x10133a);}[_0x22d19e(0x1fb)](_0x368942){const _0x18d6af=_0x22d19e,{memberID:_0x75a975}=_0x368942['data'],_0x345796=this['cursorInfo'];_0x345796['delete'](_0x75a975),this[_0x18d6af(0x273)][_0x18d6af(0x218)](_0x345796);}['_getMergeRange'](_0x34611d,_0xe6b6b9){const _0x43cec7=_0x22d19e;var _0x43079a,_0x369962;const _0x5d7f48=(_0x369962=(_0x43079a=this['_univerInstanceService'][_0x43cec7(0x20a)](this[_0x43cec7(0x2bb)]))==null?void 0x0:_0x43079a[_0x43cec7(0x281)](_0x34611d))==null?void 0x0:_0x369962[_0x43cec7(0x258)]();return(_0x5d7f48==null?void 0x0:_0x5d7f48['find'](_0x3a70f8=>_0x4a5a1c[_0x43cec7(0x2ca)][_0x43cec7(0x109)](_0x3a70f8,_0xe6b6b9)))||_0xe6b6b9;}[_0x22d19e(0x23b)](){const _0x5e2102=_0x22d19e,_0x2b4899=new _0x4a5a1c[(_0x5e2102(0x93))](),_0x14a752=_0x6ec09(),_0x1c3141=()=>{const _0x44fd84=_0x5e2102;_0x2b4899[_0x44fd84(0x210)]();const _0x228112=(_0x4ce6de,_0x224e37,_0x1029a4,_0x127bf0)=>{const _0x55d8c1=_0x44fd84;let _0x4a5942=[];switch(_0x4ce6de['id']){case _0x48c182['EffectRefRangId'][_0x55d8c1(0x2a1)]:{_0x4a5942=_0x48c182['handleDeleteRangeMoveLeft'](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['DeleteRangeMoveUpCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x117)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x294)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x201)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['InsertRangeMoveDownCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x128)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x17f)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2d5)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x350)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x1d3)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x246)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x15e)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x10c)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2bf)](_0x4ce6de,_0x127bf0);break;}case _0x48c182['EffectRefRangId']['RemoveRowCommandId']:{_0x4a5942=_0x48c182['handleIRemoveRow'](_0x4ce6de,_0x127bf0);break;}}const _0x496dfd=_0x48c182['runRefRangeMutations'](_0x4a5942,_0x127bf0),_0x260f33=this['cursorInfo']['get'](_0x224e37);if(_0x260f33&&_0x496dfd){const _0x128656={..._0x260f33,'range':_0x496dfd};this['cursorInfo'][_0x55d8c1(0x25b)](_0x224e37,_0x128656),_0x14a752(()=>{const _0x4a48dc=_0x55d8c1,_0x34768e=this[_0x4a48dc(0x180)][_0x4a48dc(0x106)](_0x496dfd,_0x17deac=>(_0x34768e[_0x4a48dc(0x210)](),_0x228112(_0x17deac,_0x224e37,_0x1029a4,_0x496dfd)));_0x2b4899['add'](_0x34768e);});}return{'redos':[],'undos':[]};};this[_0x44fd84(0x1a0)][_0x44fd84(0x316)]((_0x1c5a1c,_0x198a3f)=>{const _0x531827=_0x44fd84,{range:_0x13e629,sheetID:_0x55e11b}=_0x1c5a1c,_0x197fbd=this[_0x531827(0x180)][_0x531827(0x106)](_0x13e629,_0x56ba51=>(_0x197fbd[_0x531827(0x210)](),_0x228112(_0x56ba51,_0x198a3f,_0x55e11b,_0x13e629)));_0x2b4899[_0x531827(0x23a)](_0x197fbd);});};this['disposeWithMe'](_0x4a5a1c[_0x5e2102(0x28a)](this[_0x5e2102(0x273)][_0x5e2102(0x35e)](()=>{_0x1c3141();})));}[_0x22d19e(0x156)](){const _0x5e192e=_0x22d19e;var _0x3a4b46,_0x11ec8e;if(this[_0x5e192e(0x2ff)]=!0x0,((_0x3a4b46=this[_0x5e192e(0x2de)][_0x5e192e(0x36c)]())==null?void 0x0:_0x3a4b46[_0x5e192e(0xb0)]())!==this['unitID'])return;const _0x4e8271=(_0x11ec8e=this[_0x5e192e(0x36e)][_0x5e192e(0x18e)](_0x48c182[_0x5e192e(0x2dc)])[_0x5e192e(0x2ac)]())==null?void 0x0:_0x11ec8e[0x0],_0x3cf02e=this['_univerInstanceService']['getCurrentUnitForType'](_0x4a5a1c[_0x5e192e(0x2b9)][_0x5e192e(0x1cf)])['getActiveSheet']();_0x4e8271&&_0x3cf02e&&this['_updateLocalCursor'](_0x3cf02e[_0x5e192e(0x2b7)](),_0x4e8271);}['_toggleOffline'](){this['_online']=!0x1;}};_0xd019b3=_0x117c72([_0x3dc9f7(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x3dc9f7(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x3dc9f7(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x3dc9f7(0x5,_0x4a5a1c[_0x22d19e(0x303)]),_0x3dc9f7(0x6,_0x4a5a1c[_0x22d19e(0x263)]),_0x3dc9f7(0x7,_0x4a5a1c[_0x22d19e(0x35d)](_0x48c182[_0x22d19e(0x28f)]))],_0xd019b3);var _0x5b765c=Object[_0x22d19e(0x1e2)],_0x1ec8f3=(_0x59d57e,_0x3c478e,_0x1a96e5,_0x457e59)=>{const _0x191fe8=_0x22d19e;for(var _0x1b37dd=_0x457e59>0x1?void 0x0:_0x457e59?_0x5b765c(_0x3c478e,_0x1a96e5):_0x3c478e,_0x586945=_0x59d57e[_0x191fe8(0x29c)]-0x1,_0x421264;_0x586945>=0x0;_0x586945--)(_0x421264=_0x59d57e[_0x586945])&&(_0x1b37dd=_0x421264(_0x1b37dd)||_0x1b37dd);return _0x1b37dd;},_0x18a1f3=(_0x1a705e,_0x567169)=>(_0x2f3a03,_0x213894)=>_0x567169(_0x2f3a03,_0x213894,_0x1a705e);let _0x8689c=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x31edf2,_0x49d082,_0x582c51){const _0xab9d06=_0x22d19e;super(),_0xa63e61(this,_0xab9d06(0x2ea),new Map()),_0xa63e61(this,'_entityInit$',new _0x8d94e0[(_0xab9d06(0x181))]()),(this[_0xab9d06(0x2de)]=_0x31edf2,this[_0xab9d06(0x36e)]=_0x49d082,this[_0xab9d06(0x1d4)]=_0x582c51,this[_0xab9d06(0x105)]());}[_0x22d19e(0x210)](){const _0x42d4cc=_0x22d19e;super[_0x42d4cc(0x210)](),this['_entityInit$'][_0x42d4cc(0x1bf)](),this[_0x42d4cc(0x2ea)][_0x42d4cc(0x316)](_0x2fa1b6=>_0x2fa1b6[_0x42d4cc(0x210)]());}[_0x22d19e(0xb8)](_0x5111af){const _0x2a74d2=_0x22d19e;return this['_entities'][_0x2a74d2(0x241)](_0x5111af)?this['_entities']['get'](_0x5111af)['cursorInfo$']:this['_entityInit$']['pipe'](_0x8d94e0['filter'](_0x18c20b=>_0x18c20b['unitID']===_0x5111af),_0x8d94e0[_0x2a74d2(0x1d5)](_0x288c16=>_0x288c16[_0x2a74d2(0x1b4)]));}[_0x22d19e(0x105)](){const _0x550f57=_0x22d19e;this['_univerInstanceService'][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x1cf)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](async _0x1c31d8=>{const _0x22cdfd=_0x550f57,_0x138e08=_0x1c31d8[_0x22cdfd(0xb0)](),_0x2fb11f=await this['_startSheetCollabCursor'](_0x138e08);this[_0x22cdfd(0xc3)][_0x22cdfd(0x218)](_0x2fb11f),this['_entities']['set'](_0x138e08,_0x2fb11f);}),this[_0x550f57(0x2de)][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this['dispose$']))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x135)](_0x37060d=>!_0x37060d[_0x550f57(0xb0)]()['startsWith']('__')))[_0x550f57(0x35e)](async _0x44f11b=>{const _0x5cd1b5=_0x550f57,_0xe90904=_0x44f11b[_0x5cd1b5(0xb0)](),_0x4da763=await this[_0x5cd1b5(0x211)](_0xe90904);this['_entityInit$']['next'](_0x4da763),this[_0x5cd1b5(0x2ea)][_0x5cd1b5(0x25b)](_0xe90904,_0x4da763);}),_0x8d94e0['merge'](this['_univerInstanceService'][_0x550f57(0x10f)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)]),this[_0x550f57(0x2de)][_0x550f57(0x10f)](_0x4a5a1c[_0x550f57(0x2b9)][_0x550f57(0x1cf)]))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](_0x3a3f77=>{const _0x2ea3df=_0x550f57,_0x433317=_0x3a3f77['getUnitId'](),_0x162fe9=this['_entities'][_0x2ea3df(0x18e)](_0x433317);_0x162fe9&&(_0x162fe9[_0x2ea3df(0x210)](),this['_entities']['delete'](_0x433317));});}async['_startSheetCollabCursor'](_0x3353d5){const _0x555608=_0x22d19e,_0x2e7ac3=await this[_0x555608(0x1d4)][_0x555608(0x1d2)](_0x3353d5),_0x325149=this[_0x555608(0x36e)][_0x555608(0x100)](_0xd019b3,_0x3353d5,_0x2e7ac3);return _0x325149[_0x555608(0x345)](),_0x325149;}async['_startDocCollabCursor'](_0xf2f7b){const _0x1303a9=_0x22d19e,_0x2ed682=await this[_0x1303a9(0x1d4)][_0x1303a9(0x1d2)](_0xf2f7b),_0xac6878=this['_injector'][_0x1303a9(0x100)](_0x5d83b2,_0xf2f7b,_0x2ed682);return _0xac6878['init'](),_0xac6878;}};_0x8689c=_0x1ec8f3([_0x18a1f3(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x18a1f3(0x1,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x18a1f3(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x32b)]))],_0x8689c);const _0x3f556f=0x14,_0x4f017f=0xc8,_0x51b87a=0x4,_0x2d721b=0x5;function _0x1ed5be(_0x335bda,_0x2777a5){const _0x6f0338=_0x22d19e;let {radius:_0x151c66,width:_0x4f50eb,height:_0x127916}=_0x2777a5;_0x151c66=_0x151c66!=null?_0x151c66:0x0,_0x4f50eb=_0x4f50eb!=null?_0x4f50eb:0x1e,_0x127916=_0x127916!=null?_0x127916:0x1e;let _0x34ebdf=0x0,_0x21c8e8=0x0,_0x304ab6=0x0;_0x34ebdf=_0x21c8e8=_0x304ab6=Math[_0x6f0338(0x26b)](_0x151c66,_0x4f50eb/0x2,_0x127916/0x2),_0x335bda[_0x6f0338(0xf4)](),_0x335bda[_0x6f0338(0x257)](_0x34ebdf,0x0),_0x335bda['lineTo'](_0x4f50eb-_0x21c8e8,0x0),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x21c8e8,_0x21c8e8,_0x21c8e8,Math['PI']*0x3/0x2,0x0,!0x1),_0x335bda[_0x6f0338(0x2a2)](_0x4f50eb,_0x127916-_0x304ab6),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x304ab6,_0x127916-_0x304ab6,_0x304ab6,0x0,Math['PI']/0x2,!0x1),_0x335bda['lineTo'](0x0,_0x127916),_0x335bda['lineTo'](0x0,_0x34ebdf),_0x335bda[_0x6f0338(0x227)](_0x34ebdf,_0x34ebdf,_0x34ebdf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x335bda['closePath'](),_0x2777a5[_0x6f0338(0x2a8)]&&(_0x335bda['save'](),_0x335bda[_0x6f0338(0x121)]=_0x2777a5[_0x6f0338(0x2a8)],_0x2777a5[_0x6f0338(0x1dd)]==='evenodd'?_0x335bda[_0x6f0338(0x2a8)](_0x6f0338(0x2b5)):_0x335bda[_0x6f0338(0x2a8)](),_0x335bda['restore']());}class _0x132457 extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0xc46710,_0x574458){const _0xf2eb44=_0x22d19e;super(_0xc46710,_0x574458),_0xa63e61(this,_0xf2eb44(0x174)),_0xa63e61(this,_0xf2eb44(0xeb)),(this['color']=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0x174)],this[_0xf2eb44(0xeb)]=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0xeb)]);}static[_0x22d19e(0xe2)](_0x1092cd,_0x27d2bc){const _0x12c3c2=_0x22d19e,{text:_0x43b5af,color:_0x4accbb}=_0x27d2bc;_0x1092cd['save'](),_0x1092cd['font']=_0x12c3c2(0x248);const _0x23139b=_0x1092cd[_0x12c3c2(0x191)](_0x43b5af)[_0x12c3c2(0xcd)],_0x46e3dd=Math[_0x12c3c2(0x26b)](_0x23139b+0x2*_0x51b87a,_0x4f017f);_0x1ed5be(_0x1092cd,{'height':_0x3f556f,'radius':0x4,'width':_0x46e3dd,'fill':_0x4accbb}),_0x1092cd['fillStyle']='#FFF';const _0x4f4e0d=_0x51b87a,_0x5464da=_0x3f556f-_0x2d721b,_0x371015=_0x4f017f-0x2*_0x51b87a;if(_0x23139b>_0x371015){let _0x4d7a8b='',_0x14a22a=0x0;for(const _0x521d69 of _0x43b5af){const _0x2a96e6=_0x1092cd[_0x12c3c2(0x191)](_0x521d69)[_0x12c3c2(0xcd)];if(_0x14a22a+_0x2a96e6<=_0x371015-_0x1092cd['measureText']('...')[_0x12c3c2(0xcd)])_0x4d7a8b+=_0x521d69,_0x14a22a+=_0x2a96e6;else{_0x4d7a8b+=_0x12c3c2(0x320);break;}}_0x1092cd[_0x12c3c2(0x2e3)](_0x4d7a8b,_0x4f4e0d,_0x5464da);}else _0x1092cd[_0x12c3c2(0x2e3)](_0x43b5af,_0x4f4e0d,_0x5464da);_0x1092cd[_0x12c3c2(0x31d)]();}[_0x22d19e(0x298)](_0x2b824a){const _0x1db956=_0x22d19e;_0x132457[_0x1db956(0xe2)](_0x2b824a,this);}}const _0x21ac9c='collab-text-anchor-',_0x449f34='collab-text-range-',_0x5726e9='collab-rect-range-',_0x35fbcb=0x6,_0x299333=1.5,_0x4c03e8=0x4,_0x741edc=1.5,_0x41b58e='rgba(255,\x20255,\x20255,\x200.01)';class _0x36a29c{constructor(_0x265d4f,_0x25aa93,_0x2652da,_0x5979db){const _0x2a3dba=_0x22d19e;_0xa63e61(this,_0x2a3dba(0x9a),[]),_0xa63e61(this,_0x2a3dba(0x284),null),_0xa63e61(this,_0x2a3dba(0xe0),null),_0xa63e61(this,_0x2a3dba(0x11f),null),_0xa63e61(this,'_hideTimer',null),_0xa63e61(this,_0x2a3dba(0x104),null),(this[_0x2a3dba(0x2ba)]=_0x265d4f,this[_0x2a3dba(0x225)]=_0x25aa93,this['_docSkeleton']=_0x2652da,this[_0x2a3dba(0x24f)]=_0x5979db,this['_render']());}set[_0x22d19e(0x171)](_0x403153){const _0x5a59ad=_0x22d19e;_0x403153?(this[_0x5a59ad(0x11f)]&&this[_0x5a59ad(0x11f)][_0x5a59ad(0x21e)](),this[_0x5a59ad(0xe0)]&&this['_textBubble'][_0x5a59ad(0x1ba)]()):(this[_0x5a59ad(0x11f)]&&this['_anchorDot'][_0x5a59ad(0x1ba)](),this['_textBubble']&&this[_0x5a59ad(0xe0)][_0x5a59ad(0x21e)]());}[_0x22d19e(0x210)](){const _0x6a6379=_0x22d19e;for(const _0x951cb9 of this['_shapes'])_0x951cb9[_0x6a6379(0x210)]();this[_0x6a6379(0xe0)]&&this[_0x6a6379(0xe0)][_0x6a6379(0x210)](),this[_0x6a6379(0x11f)]&&this['_anchorDot'][_0x6a6379(0x210)](),this[_0x6a6379(0x284)]&&this[_0x6a6379(0x284)][_0x6a6379(0x210)](),this[_0x6a6379(0x104)]&&this[_0x6a6379(0x104)]();}[_0x22d19e(0x285)](){const _0x22cdd8=_0x22d19e;var _0x41f901;const {_docSkeleton:_0x19013c,_document:_0x2cd9a1}=this,{color:_0x345a9a,name:_0x590c5c,ranges:_0x7a3c26}=this['_cursor'],_0x5e1351=_0x2cd9a1['getOffsetConfig'](),{docsLeft:_0x1c2933,docsTop:_0x54a833}=_0x5e1351,_0xd6ba62=new _0x22126e['NodePositionConvertToCursor'](_0x5e1351,_0x19013c);for(const {startOffset:_0x185d8e,endOffset:_0x32b07f,rangeType:_0x56f956,segmentId:_0x1135db,segmentPage:_0xa2ab01,collapsed:_0x4972d0,isActive:_0x5890be}of _0x7a3c26){const _0x33ad06=_0x19013c[_0x22cdd8(0xb3)](_0x185d8e,!0x0,_0x1135db,_0xa2ab01);let _0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f,!0x0,_0x1135db,_0xa2ab01);if(_0x46f309==null&&(_0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f-0x1,!0x1,_0x1135db,_0xa2ab01)),_0x5890be){const {contentBoxPointGroup:_0xcbe456}=_0xd6ba62['getRangePointData'](_0x46f309,_0x46f309);if(_0xcbe456[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1ec)](_0x345a9a,_0xcbe456,_0x1c2933,_0x54a833,_0x590c5c),this['_eventUnsubscribe']=this[_0x22cdd8(0x1a8)]();}if(_0x33ad06&&_0x46f309){if(_0x56f956===_0x4a5a1c['DOC_RANGE_TYPE'][_0x22cdd8(0x187)]){const _0x5addac=new _0x22126e[(_0x22cdd8(0x278))](_0x5e1351,_0x19013c),{pointGroup:_0x2dcb9d}=(_0x41f901=_0x5addac[_0x22cdd8(0x161)](_0x33ad06,_0x46f309))!=null?_0x41f901:{};if(_0x2dcb9d==null||_0x2dcb9d[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1b6)](_0x345a9a,_0x2dcb9d,_0x1c2933,_0x54a833);}else{if(!_0x4972d0){const {borderBoxPointGroup:_0x8f8e54}=_0xd6ba62[_0x22cdd8(0x161)](_0x33ad06,_0x46f309);if(_0x8f8e54[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x29f)](_0x345a9a,_0x8f8e54,_0x1c2933,_0x54a833);}}}}}[_0x22d19e(0x1ec)](_0x16bd38,_0x438e3a,_0x3f3060,_0x1d6237,_0x9dc24f){const _0x3ae99a=_0x22d19e,_0x13becf=this[_0x3ae99a(0x11d)](_0x438e3a),{left:_0xb68051,top:_0x170345,height:_0x5d7ec0}=_0x13becf,_0x5bb358=this['_getScale'](),_0xf659ce=_0x741edc/_0x5bb358,_0x57525b=new _0x5d2f68['Rect'](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237,'height':_0x5d7ec0,'width':_0x299333,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)][_0x3ae99a(0x192)],0x0),'strokeWidth':_0xf659ce,'stroke':_0x41b58e,'evented':!0x0});this[_0x3ae99a(0x284)]=_0x57525b,this[_0x3ae99a(0x225)]['addObject'](_0x57525b,_0x22126e[_0x3ae99a(0x2e5)]);const _0x5d9f82=new _0x5d2f68[(_0x3ae99a(0x2e2))](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x4c03e8/0x2,'height':_0x4c03e8,'width':_0x4c03e8,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5d9f82,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0x5d9f82,_0x22126e[_0x3ae99a(0x2e5)]);const _0xee7aae=new _0x132457(_0x21ac9c+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x3f556f,'text':_0x9dc24f,'color':_0x16bd38});this[_0x3ae99a(0xe0)]=_0xee7aae,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0xee7aae,_0x22126e[_0x3ae99a(0x2e5)]),this[_0x3ae99a(0x171)]=!0x1;}[_0x22d19e(0x1a8)](){const _0x49ae3f=_0x22d19e,_0x2c2749=this[_0x49ae3f(0x284)][_0x49ae3f(0x126)][_0x49ae3f(0x11b)](()=>{this['_hover']=!0x0;}),_0x197b0d=this[_0x49ae3f(0x284)]['onPointerLeave$'][_0x49ae3f(0x11b)](()=>{const _0x17c82f=_0x49ae3f;this[_0x17c82f(0x27a)]&&clearTimeout(this[_0x17c82f(0x27a)]),this[_0x17c82f(0x27a)]=setTimeout(()=>{const _0x3f534a=_0x17c82f;this[_0x3f534a(0x171)]=!0x1;},0x7d0);});return()=>{const _0x8a982f=_0x49ae3f;_0x2c2749[_0x8a982f(0x275)](),_0x197b0d[_0x8a982f(0x275)]();};}[_0x22d19e(0x29f)](_0x197773,_0x2dcf01,_0x32629a,_0x2a657e){const _0x5779a2=_0x22d19e,_0x26bc99=new _0x4a5a1c[(_0x5779a2(0x2f7))](_0x197773)[_0x5779a2(0x2e7)](0.2)[_0x5779a2(0xf7)](),_0x42fe1d=new _0x5d2f68[(_0x5779a2(0x224))](_0x449f34+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'pointsGroup':_0x2dcf01,'fill':_0x26bc99||_0x5d2f68[_0x5779a2(0xe6)](_0x4a5a1c['COLORS'][_0x5779a2(0x192)],0.2),'left':_0x32629a,'top':_0x2a657e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5779a2(0x9a)][_0x5779a2(0x256)](_0x42fe1d),this[_0x5779a2(0x225)][_0x5779a2(0x22a)](_0x42fe1d,_0x22126e[_0x5779a2(0x2e5)]);}[_0x22d19e(0x1b6)](_0x3aee8a,_0x5d7e61,_0x15f457,_0x153f1f){const _0x3e3bce=_0x22d19e,_0x4cf923=new _0x4a5a1c[(_0x3e3bce(0x2f7))](_0x3aee8a)['setAlpha'](0.2)[_0x3e3bce(0xf7)](),_0x44d672=new _0x5d2f68[(_0x3e3bce(0x224))](_0x5726e9+_0x4a5a1c[_0x3e3bce(0x151)](_0x35fbcb),{'pointsGroup':_0x5d7e61,'fill':_0x4cf923||_0x5d2f68[_0x3e3bce(0xe6)](_0x4a5a1c[_0x3e3bce(0x323)][_0x3e3bce(0x192)],0.2),'left':_0x15f457,'top':_0x153f1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e3bce(0x9a)][_0x3e3bce(0x256)](_0x44d672),this[_0x3e3bce(0x225)][_0x3e3bce(0x22a)](_0x44d672,_0x22126e[_0x3e3bce(0x2e5)]);}[_0x22d19e(0x11d)](_0x3982bb){const _0x4a9cb5=_0x3982bb[0x0],_0x442b86=_0x4a9cb5[0x0],_0x16082f=_0x4a9cb5[0x2],{x:_0x52f330,y:_0x19c558}=_0x442b86,{x:_0x519d10,y:_0x584da6}=_0x16082f;return{'left':_0x52f330,'top':_0x19c558,'width':_0x519d10-_0x52f330,'height':_0x584da6-_0x19c558};}[_0x22d19e(0x34e)](){const _0x43308c=_0x22d19e,{scaleX:_0x2f726a,scaleY:_0x3e9acf}=this[_0x43308c(0x225)][_0x43308c(0x357)]();return Math[_0x43308c(0xdd)](_0x2f726a,_0x3e9acf);}}var _0x45ab62=Object[_0x22d19e(0x1e2)],_0x551c44=(_0x5db718,_0x1b0572,_0x1cb2a8,_0x3beea3)=>{const _0x1e6927=_0x22d19e;for(var _0x50bfac=_0x3beea3>0x1?void 0x0:_0x3beea3?_0x45ab62(_0x1b0572,_0x1cb2a8):_0x1b0572,_0x47a980=_0x5db718[_0x1e6927(0x29c)]-0x1,_0x15cff2;_0x47a980>=0x0;_0x47a980--)(_0x15cff2=_0x5db718[_0x47a980])&&(_0x50bfac=_0x15cff2(_0x50bfac)||_0x50bfac);return _0x50bfac;},_0x306641=(_0x468980,_0x5e870d)=>(_0x242460,_0xb5c329)=>_0x5e870d(_0x242460,_0xb5c329,_0x468980);let _0x238ac3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x350d86,_0x2dd051,_0x2787f7,_0x17752e,_0x58a871){const _0x2e66f4=_0x22d19e;super(),_0xa63e61(this,_0x2e66f4(0x177),[]),_0xa63e61(this,'_cursors',[]),(this[_0x2e66f4(0x1af)]=_0x350d86,this[_0x2e66f4(0x1b1)]=_0x2dd051,this[_0x2e66f4(0x96)]=_0x2787f7,this[_0x2e66f4(0x2b1)]=_0x17752e,this['_themeService']=_0x58a871,this[_0x2e66f4(0x105)]());}['_init'](){const _0x5b7bc8=_0x22d19e,_0xdf54a2=this[_0x5b7bc8(0x1af)][_0x5b7bc8(0x369)],_0x3b8413=this[_0x5b7bc8(0x1b1)];this[_0x5b7bc8(0xe5)](_0x8d94e0[_0x5b7bc8(0x144)]([this[_0x5b7bc8(0x96)][_0x5b7bc8(0xb8)](_0xdf54a2),this[_0x5b7bc8(0x2e4)]['currentTheme$']])[_0x5b7bc8(0x296)](_0x5d0515[_0x5b7bc8(0x112)](([_0x86bcb8,_0x1b55d0])=>({'skeleton':_0x3b8413[_0x5b7bc8(0x329)](),'cursors':[..._0x86bcb8['values']()][_0x5b7bc8(0x212)](_0x33bdfe=>({..._0x33bdfe,'color':this[_0x5b7bc8(0x2e4)][_0x5b7bc8(0x21a)](_0x33bdfe[_0x5b7bc8(0x174)])}))})))[_0x5b7bc8(0x35e)](_0x2de330=>{const _0x401c18=_0x5b7bc8;if(this[_0x401c18(0x362)](),_0x2de330){const {skeleton:_0x1cfc7d,cursors:_0x3dd789}=_0x2de330;this['_updateCollabCursors'](_0x1cfc7d,_0x3dd789);}})),this['_initResize'](),this[_0x5b7bc8(0x1be)]();}[_0x22d19e(0x280)](_0x250719,_0x1dd58f){const _0x1a2829=_0x22d19e,{scene:_0x2728ef,mainComponent:_0x4e2da9}=this[_0x1a2829(0x1af)],_0x1fa1cf=_0x1dd58f['map'](_0x5ab4cd=>new _0x36a29c(_0x5ab4cd,_0x2728ef,_0x250719,_0x4e2da9));this[_0x1a2829(0x177)]=_0x1fa1cf,this['_cursors']=_0x1dd58f;}['_refreshCollabCursors'](){const _0x56426a=_0x22d19e;this[_0x56426a(0x362)]();const {scene:_0x214c20,mainComponent:_0x2d7fbe}=this[_0x56426a(0x1af)],_0x1b7442=this['_docSkeletonManagerService']['getSkeleton'](),_0x34e562=this[_0x56426a(0xee)]['map'](_0x84d40=>new _0x36a29c(_0x84d40,_0x214c20,_0x1b7442,_0x2d7fbe));this[_0x56426a(0x177)]=_0x34e562;}['_removeCollabCursors'](){const _0x4ca857=_0x22d19e;this[_0x4ca857(0x177)][_0x4ca857(0x316)](_0x52a65f=>_0x52a65f[_0x4ca857(0x210)]()),this[_0x4ca857(0x177)]=[];}[_0x22d19e(0x1be)](){const _0x4a353c=_0x22d19e,_0x2e8ef1=[_0x22126e[_0x4a353c(0x20d)]['id']];this['disposeWithMe'](this[_0x4a353c(0x2b1)][_0x4a353c(0x1f9)](_0x3cd6f0=>{const _0x2e5e25=_0x4a353c;_0x2e8ef1['includes'](_0x3cd6f0['id'])&&_0x3cd6f0[_0x2e5e25(0x22d)]['unitId']===this[_0x2e5e25(0x1af)]['unitId']&&this[_0x2e5e25(0x119)]();}));}[_0x22d19e(0x240)](){const _0x3b074b=_0x22d19e;this[_0x3b074b(0xe5)](_0x4a5a1c[_0x3b074b(0x178)](this[_0x3b074b(0x1af)]['engine'][_0x3b074b(0x1c1)])[_0x3b074b(0x296)](_0x5d0515['filter'](_0x51321a=>_0x51321a[_0x3b074b(0x169)]===_0x5d2f68[_0x3b074b(0x11e)][_0x3b074b(0x342)]),_0x5d0515['throttleTime'](0x10))[_0x3b074b(0x35e)](()=>{const _0x20d804=_0x3b074b;this[_0x20d804(0x119)]();}));}};_0x238ac3=_0x551c44([_0x306641(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x5afd4e[_0x22d19e(0xb2)])),_0x306641(0x2,_0x4a5a1c['Inject'](_0x8689c)),_0x306641(0x3,_0x4a5a1c[_0x22d19e(0x263)]),_0x306641(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x238ac3);const _0x37ebd9=0x1,_0x4b9220=1.5;class _0x3fc4ac extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0x16f6f4,_0x20c375){const _0x1e16d0=_0x22d19e;super(_0x16f6f4,_0x20c375),_0xa63e61(this,_0x1e16d0(0x334)),_0xa63e61(this,'_hovered',!0x1),_0xa63e61(this,_0x1e16d0(0x243)),_0xa63e61(this,_0x1e16d0(0x138),''),_0xa63e61(this,_0x1e16d0(0x12e),_0x1e16d0(0x2f1)),_0xa63e61(this,_0x1e16d0(0x2fc)),(_0x20c375&&this[_0x1e16d0(0x19d)](_0x20c375),this[_0x1e16d0(0x126)][_0x1e16d0(0x11b)](()=>this[_0x1e16d0(0x19d)]({'hovered':!0x0})),this[_0x1e16d0(0xea)][_0x1e16d0(0x11b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22d19e(0x19d)](_0x40f190){const _0x3a3894=_0x22d19e;var _0x7c8d7e,_0x42f7ee,_0x5ab7aa,_0x1ba17a,_0x4fa998,_0x2c8534;this[_0x3a3894(0x334)]=(_0x7c8d7e=_0x40f190[_0x3a3894(0x174)])!=null?_0x7c8d7e:this[_0x3a3894(0x334)],this['_hovered']=(_0x42f7ee=_0x40f190[_0x3a3894(0x91)])!=null?_0x42f7ee:this[_0x3a3894(0x12b)],this['_range']=(_0x5ab7aa=_0x40f190[_0x3a3894(0x2f0)])!=null?_0x5ab7aa:this[_0x3a3894(0x243)],this[_0x3a3894(0x138)]=(_0x1ba17a=_0x40f190[_0x3a3894(0x2a6)])!=null?_0x1ba17a:this[_0x3a3894(0x138)],this[_0x3a3894(0x12e)]=(_0x4fa998=_0x40f190['labelPosition'])!=null?_0x4fa998:this[_0x3a3894(0x12e)],this[_0x3a3894(0x2fc)]=(_0x2c8534=_0x40f190[_0x3a3894(0x1b8)])!=null?_0x2c8534:this['_backgroundColor'],this['transformByState']({'width':_0x40f190[_0x3a3894(0xcd)],'height':_0x40f190[_0x3a3894(0x290)]});}[_0x22d19e(0x35b)](_0x481e27){const _0x1218da=_0x22d19e,{row:_0x5d8d41,column:_0x3d5f10}=_0x481e27;if(_0x5d8d41>=this['_range'][_0x1218da(0x2f3)]&&_0x5d8d41<=this[_0x1218da(0x243)]['endRow']&&_0x3d5f10>=this[_0x1218da(0x243)][_0x1218da(0x152)]&&_0x3d5f10<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1218da(0x19d)]({'hovered':!0x1});}[_0x22d19e(0x2af)](_0x1ecbad){return!0x1;}[_0x22d19e(0x298)](_0x3e7d5e){const _0x1398af=_0x22d19e;_0x5d2f68['Rect']['drawWith'](_0x3e7d5e,{'width':this[_0x1398af(0xcd)],'height':this[_0x1398af(0x290)],'strokeWidth':_0x4b9220,'stroke':this[_0x1398af(0x334)],'evented':!0x1,'fill':this[_0x1398af(0x2fc)]}),this['_hovered']&&(_0x3e7d5e[_0x1398af(0x297)](),_0x3e7d5e[_0x1398af(0x33b)](0x1,0x0,0x0,0x1,this[_0x1398af(0xcd)],this[_0x1398af(0x12e)]==='bottom'?0x0:-_0x3f556f),_0x132457[_0x1398af(0xe2)](_0x3e7d5e,{'text':this[_0x1398af(0x138)],'color':this[_0x1398af(0x334)]}),_0x3e7d5e[_0x1398af(0x31d)]());}}var _0x5b6e3a=Object[_0x22d19e(0x1e2)],_0x123afb=(_0x451458,_0x21391c,_0xb9a55c,_0x3069ae)=>{const _0x23fd42=_0x22d19e;for(var _0x3b1771=_0x3069ae>0x1?void 0x0:_0x3069ae?_0x5b6e3a(_0x21391c,_0xb9a55c):_0x21391c,_0x1d21e5=_0x451458[_0x23fd42(0x29c)]-0x1,_0x20fa1a;_0x1d21e5>=0x0;_0x1d21e5--)(_0x20fa1a=_0x451458[_0x1d21e5])&&(_0x3b1771=_0x20fa1a(_0x3b1771)||_0x3b1771);return _0x3b1771;},_0x2c8fdb=(_0x200e01,_0xb1552a)=>(_0x6221b2,_0x488829)=>_0xb1552a(_0x6221b2,_0x488829,_0x200e01);const _0x4981c6=0x1389;let _0x5e3b2e=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0xc0a7c0,_0x918cb4,_0x884162,_0x3c7e4a){const _0x7520f4=_0x22d19e;super(),_0xa63e61(this,_0x7520f4(0xee),new Set()),_0xa63e61(this,'_lastPointer',null),(this[_0x7520f4(0x1af)]=_0xc0a7c0,this['_sheetSkeletonManagerService']=_0x918cb4,this[_0x7520f4(0x96)]=_0x884162,this[_0x7520f4(0x2e4)]=_0x3c7e4a,this[_0x7520f4(0x105)]());}[_0x22d19e(0x105)](){const _0x37ae13=_0x22d19e;this['_sheetSkeletonManagerService'][_0x37ae13(0xe8)][_0x37ae13(0x296)](_0x5d0515[_0x37ae13(0x9e)](this[_0x37ae13(0x148)]),_0x5d0515[_0x37ae13(0x1d5)](_0x564d5d=>{const _0x17c9bc=_0x37ae13;if(_0x564d5d){const _0x21ac16=_0x564d5d['sheetId'];return _0x8d94e0['combineLatest'](this[_0x17c9bc(0x96)]['getCollabCursors$'](this[_0x17c9bc(0x1af)][_0x17c9bc(0x369)]),this[_0x17c9bc(0x2e4)][_0x17c9bc(0x291)])['pipe'](_0x5d0515['map'](([_0x38234a,_0x2b62b3])=>{const _0x403afc=_0x17c9bc,_0x8b1b0b=new Map();return _0x38234a[_0x403afc(0x316)]((_0x42ba82,_0x51e071)=>{const _0x3fe458=_0x403afc;if(_0x42ba82['sheetID']===_0x21ac16){const _0x2caeb5={..._0x42ba82};_0x2caeb5[_0x3fe458(0x174)]=this['_themeService']['getColorFromTheme'](_0x42ba82['color']),_0x8b1b0b[_0x3fe458(0x25b)](_0x51e071,_0x2caeb5);}}),{'skeleton':_0x564d5d,'cursors':_0x8b1b0b};}));}return _0x8d94e0['of']({'skeleton':null,'cursors':new Map()});}))[_0x37ae13(0x35e)](({skeleton:_0x387e9a,cursors:_0x4998d9})=>{const _0x33fdc9=_0x37ae13;this[_0x33fdc9(0x362)](),_0x387e9a&&this['_updateCollabCursors'](_0x387e9a,_0x4998d9);}),this[_0x37ae13(0x183)][_0x37ae13(0xe8)][_0x37ae13(0x35e)](_0xe98b6f=>{const _0x23f798=_0x37ae13;if(_0xe98b6f==null)return;const {skeleton:_0x395500}=_0xe98b6f,{scene:_0x176f8e}=this[_0x23f798(0x1af)];_0x176f8e[_0x23f798(0x165)][_0x23f798(0x11b)](_0x4a5a1c[_0x23f798(0x25d)](_0x1ceb7b=>{const _0x17cc75=_0x23f798;var _0x4d4985,_0x24fbb2;const {offsetX:_0x5210f5,offsetY:_0x3fe87a}=_0x1ceb7b,{x:_0x36451b,y:_0x1a8b29}=_0x176f8e[_0x17cc75(0xf1)](_0x5d2f68[_0x17cc75(0x200)]['FromArray']([_0x5210f5,_0x3fe87a])),{scaleX:_0x27b867,scaleY:_0x437aaa}=_0x176f8e[_0x17cc75(0x357)](),_0xdea498=_0x176f8e[_0x17cc75(0x1e3)](_0x5d2f68[_0x17cc75(0x102)][_0x17cc75(0x346)]),_0x41b152=_0x176f8e[_0x17cc75(0x31c)](_0x5d2f68[_0x17cc75(0x200)][_0x17cc75(0x13c)]([_0x36451b,_0x1a8b29]),_0xdea498),_0x70712f=_0x395500['getCellPositionByOffset'](_0x5210f5,_0x3fe87a,_0x27b867,_0x437aaa,_0x41b152);((_0x4d4985=this[_0x17cc75(0x356)])==null?void 0x0:_0x4d4985[_0x17cc75(0x29b)])===_0x70712f[_0x17cc75(0x29b)]&&((_0x24fbb2=this[_0x17cc75(0x356)])==null?void 0x0:_0x24fbb2[_0x17cc75(0xe3)])===_0x70712f[_0x17cc75(0xe3)]||this[_0x17cc75(0xee)][_0x17cc75(0x316)](_0x230724=>{const _0x284a41=_0x17cc75;_0x230724[_0x284a41(0x35b)](_0x70712f);});},0x64));});}[_0x22d19e(0x280)](_0x3b77cb,_0x3de7b2){const _0x45edd0=_0x22d19e;var _0x39c4bb;const _0x340c58=(_0x39c4bb=this[_0x45edd0(0x183)][_0x45edd0(0x2fa)]())==null?void 0x0:_0x39c4bb['skeleton'];if(!_0x340c58)return;const _0x3e4ee8=this['_getSheetObject']();if(!_0x3e4ee8)return;this[_0x45edd0(0xee)][_0x45edd0(0x316)](_0x59376d=>{const _0x1ccd5f=_0x45edd0;_0x59376d[_0x1ccd5f(0x265)]();});const {scene:_0xa5979b}=_0x3e4ee8,_0xaae2da=_0xe9c136(Array[_0x45edd0(0x319)](_0x3de7b2[_0x45edd0(0x18a)]()))[_0x45edd0(0x112)](_0x5b34d9=>{const _0x51903b=_0x45edd0,{color:_0x35dbe3,range:_0x2c9e92,name:_0x404b15,selection:_0x59b99c,sheetID:_0x1e21b7}=_0x5b34d9,{startColumn:_0x32e5d7,startRow:_0x133733,endColumn:_0x199882,endRow:_0x3766cf}=_0x2c9e92,_0x15d6dc=_0x14ceff[_0x51903b(0x255)](_0x133733,_0x32e5d7,_0xa5979b,_0x340c58),_0x1b4255=_0x14ceff[_0x51903b(0x255)](_0x3766cf,_0x199882,_0xa5979b,_0x340c58),{columnHeaderHeightAndMarginTop:_0x2aebd0}=_0x340c58,{startX:_0x48e206,startY:_0x2228b1}=_0x15d6dc,{endX:_0x3a76c6,endY:_0x2764b6}=_0x1b4255,_0x70de4=_0x3a76c6-_0x48e206,_0x25e41f=_0x2764b6-_0x2228b1,_0x200ef6={'labelPosition':_0x2228b1-_0x2aebd0>=_0x3f556f?'top':_0x51903b(0x348),'sheetID':_0x1e21b7,'range':_0x2c9e92,'color':_0x35dbe3,'name':_0x404b15,'selection':_0x59b99c,'left':_0x48e206,'top':_0x2228b1,'width':_0x70de4,'height':_0x25e41f,'evented':!0x1,'zIndex':_0x4981c6};return new _0x3fc4ac(_0x404b15,_0x200ef6);});_0xa5979b[_0x45edd0(0xa1)](_0xaae2da,_0x37ebd9),this[_0x45edd0(0xee)]=new Set(_0xaae2da);}[_0x22d19e(0x362)](){const _0x586d60=_0x22d19e;var _0x5ad3e0;(_0x5ad3e0=this[_0x586d60(0xee)])==null||_0x5ad3e0[_0x586d60(0x316)](_0x55f007=>_0x55f007[_0x586d60(0x210)]());}['_getSheetObject'](){const _0x1b1195=_0x22d19e;return _0x14ceff['getSheetObject'](this[_0x1b1195(0x1af)][_0x1b1195(0x300)],this[_0x1b1195(0x1af)]);}};_0x5e3b2e=_0x123afb([_0x2c8fdb(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x14ceff['SheetSkeletonManagerService'])),_0x2c8fdb(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x8689c)),_0x2c8fdb(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x5e3b2e);function _0xe9c136(_0x412fd6){const _0x421b7d=_0x22d19e,_0x13e2f0=new Map();return _0x412fd6[_0x421b7d(0x316)](_0xc09a41=>{const _0x377a17=_0x421b7d;if(_0x13e2f0[_0x377a17(0x241)](_0xc09a41[_0x377a17(0x1e1)])){const _0x586cbc=_0x13e2f0[_0x377a17(0x18e)](_0xc09a41[_0x377a17(0x1e1)]);_0x586cbc['name']+=',\x20'+_0xc09a41[_0x377a17(0x2a6)];}else _0x13e2f0[_0x377a17(0x25b)](_0xc09a41[_0x377a17(0x1e1)],_0xc09a41);}),Array['from'](_0x13e2f0[_0x421b7d(0x18a)]());}var _0x56b286=Object[_0x22d19e(0x1e2)],_0x32f795=(_0x4b7e86,_0x14988d,_0x52405a,_0x43eec5)=>{const _0x19349c=_0x22d19e;for(var _0x4fcd80=_0x43eec5>0x1?void 0x0:_0x43eec5?_0x56b286(_0x14988d,_0x52405a):_0x14988d,_0x34d161=_0x4b7e86[_0x19349c(0x29c)]-0x1,_0x579168;_0x34d161>=0x0;_0x34d161--)(_0x579168=_0x4b7e86[_0x34d161])&&(_0x4fcd80=_0x579168(_0x4fcd80)||_0x4fcd80);return _0x4fcd80;},_0x34c263=(_0x58d813,_0x30919d)=>(_0xf6d27,_0x90ff8c)=>_0x30919d(_0xf6d27,_0x90ff8c,_0x58d813);let _0x6027b0=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x1ff4ae,_0x2119a5,_0x2b4120,_0x5c61e7,_0x490c37,_0x17c927){const _0x4da78c=_0x22d19e;super(),this['_beforeCloseService']=_0x1ff4ae,this[_0x4da78c(0x1ad)]=_0x2119a5,this[_0x4da78c(0x347)]=_0x2b4120,this['_messageService']=_0x5c61e7,this[_0x4da78c(0x15b)]=_0x490c37,this[_0x4da78c(0x295)]=_0x17c927,this[_0x4da78c(0x16e)](),this['_initEvent']();}[_0x22d19e(0x16e)](){const _0x1c672f=_0x22d19e;this[_0x1c672f(0xe5)](this[_0x1c672f(0x302)][_0x1c672f(0x123)](()=>{const _0x534f57=_0x1c672f;if(this[_0x534f57(0x1ad)]['saveTaskMap']['size'])return this[_0x534f57(0x295)]['t'](_0x534f57(0x343));}));}[_0x22d19e(0x147)](){const _0x1b87bd=_0x22d19e;this[_0x1b87bd(0xe5)](this['_collaborationUIEventService'][_0x1b87bd(0xa3)][_0x1b87bd(0x35e)](_0x51de90=>{const _0x14ef05=_0x1b87bd;_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x331)]&&this['_messageService'][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2d8))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1fc)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x13b)]&&this[_0x14ef05(0x15b)][_0x14ef05(0x1ba)]({'title':this[_0x14ef05(0x295)]['t']('permission.title'),'content':this['_localeService']['t'](_0x14ef05(0x325)),'type':_0x14ef05(0x1fd),'duration':0x0}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))+'('+_0x51de90[_0x14ef05(0x136)]+')'}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1ea)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Warning'],'content':this['_localeService']['t'](_0x51de90[_0x14ef05(0x136)]||'')}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId'][_0x14ef05(0x29e)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x167))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x17d)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2ab))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x141)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x2d1)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x277))});}));}};_0x6027b0=_0x32f795([_0x34c263(0x0,_0x270495['IBeforeCloseService']),_0x34c263(0x1,_0x29cbea[_0x22d19e(0x92)]),_0x34c263(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x367)])),_0x34c263(0x3,_0x270495[_0x22d19e(0x339)]),_0x34c263(0x4,_0x270495[_0x22d19e(0x2bc)]),_0x34c263(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x6027b0);var _0x2534f6=Object[_0x22d19e(0x1e2)],_0x4779a7=(_0x436021,_0x5cfb48,_0x3ac2b3,_0x19d4c0)=>{const _0x5963c1=_0x22d19e;for(var _0x38fae8=_0x19d4c0>0x1?void 0x0:_0x19d4c0?_0x2534f6(_0x5cfb48,_0x3ac2b3):_0x5cfb48,_0xff783e=_0x436021[_0x5963c1(0x29c)]-0x1,_0x2b9992;_0xff783e>=0x0;_0xff783e--)(_0x2b9992=_0x436021[_0xff783e])&&(_0x38fae8=_0x2b9992(_0x38fae8)||_0x38fae8);return _0x38fae8;},_0x5d525a=(_0x337f15,_0x3e3ee1)=>(_0x3e44bc,_0x184ab9)=>_0x3e3ee1(_0x3e44bc,_0x184ab9,_0x337f15);let _0x44bd4f=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3e0612,_0x4069f1,_0x42c12b,_0x4552d3){const _0x58f53c=_0x22d19e;super(),_0xa63e61(this,'_memberID'),(this[_0x58f53c(0x36e)]=_0x3e0612,this[_0x58f53c(0x33c)]=_0x4069f1,this[_0x58f53c(0x1d7)]=_0x42c12b,this['_collaborationSessionService']=_0x4552d3,this[_0x58f53c(0x105)]());}[_0x22d19e(0x105)](){const _0x3f609c=_0x22d19e;this[_0x3f609c(0xc1)](),this[_0x3f609c(0x29d)](),this[_0x3f609c(0x24b)](),this[_0x3f609c(0xae)]();}[_0x22d19e(0xae)](){const _0xc79f7=_0x22d19e;this[_0xc79f7(0xe5)](this[_0xc79f7(0x111)][_0xc79f7(0x153)][_0xc79f7(0x35e)](_0x8c48cd=>{const _0x19e9df=_0xc79f7;this[_0x19e9df(0x2bd)]=_0x8c48cd==null?void 0x0:_0x8c48cd[_0x19e9df(0x27c)];}));}[_0x22d19e(0xc1)](){const _0x54a556=_0x22d19e,_0x2d64e5=_0x1344c1=>{const _0x33e348=_0x1ae4;var _0x5e0c46;this['_uploadLog'](_0x33e348(0x1fd),_0x33e348(0xa2)+_0x1344c1[_0x33e348(0x1f4)]+_0x33e348(0x299)+_0x1344c1['filename']+':'+_0x1344c1[_0x33e348(0x233)]+':'+_0x1344c1[_0x33e348(0x107)]+'\x0a'+(((_0x5e0c46=_0x1344c1[_0x33e348(0x1fd)])==null?void 0x0:_0x5e0c46[_0x33e348(0x207)])||''));};window[_0x54a556(0x24e)](_0x54a556(0x1fd),_0x2d64e5),this['disposeWithMe'](()=>{const _0x2a81b9=_0x54a556;window['removeEventListener'](_0x2a81b9(0x1fd),_0x2d64e5);});}[_0x22d19e(0x29d)](){const _0x289a88=_0x22d19e,_0x13f475=_0x143ac2=>{const _0x964fd0=_0x1ae4;this[_0x964fd0(0x11a)](_0x964fd0(0x1fd),_0x964fd0(0x17a)+_0x143ac2[_0x964fd0(0x2be)]);};window['addEventListener'](_0x289a88(0x12c),_0x13f475),this['disposeWithMe'](()=>{const _0x1cdda1=_0x289a88;window[_0x1cdda1(0x2e1)](_0x1cdda1(0x12c),_0x13f475);});}[_0x22d19e(0x24b)](){const _0x282ed6=_0x22d19e,_0x148744=this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)][_0x282ed6(0x2c2)](this[_0x282ed6(0x1d7)]);this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)]=(..._0x1d281f)=>{const _0x2de588=_0x282ed6,_0x2a47da=_0x1d281f[_0x2de588(0x112)](_0x296722=>_0x296722 instanceof Error?_0x296722[_0x2de588(0x1f4)]+'\x0a'+_0x296722[_0x2de588(0x207)]:String(_0x296722))['join']('\x20');this[_0x2de588(0x11a)]('error',_0x2de588(0x359)+_0x2a47da),_0x148744(..._0x1d281f);},this[_0x282ed6(0xe5)](()=>{const _0x400769=_0x282ed6;this[_0x400769(0x1d7)]['error']=_0x148744;});}['_uploadLog'](_0x479b43,_0xb7f84a){const _0x3d215d=_0x22d19e;try{const _0x39efb4={'userId':this[_0x3d215d(0x2bd)],'logLabel':_0x479b43,'content':_0xb7f84a};this[_0x3d215d(0x33c)][_0x3d215d(0x33a)](_0x3d215d(0xfb),{'body':_0x39efb4})[_0x3d215d(0x25f)](()=>{});}catch{}}};_0x44bd4f=_0x4779a7([_0x5d525a(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x5d525a(0x1,_0x4a5a1c['Inject'](_0xbeb642[_0x22d19e(0x34b)])),_0x5d525a(0x2,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5d525a(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['CollaborationSessionService']))],_0x44bd4f);const _0x48039f=_0x22d19e(0x327),_0x1eb4f8={};var _0x4021d8=Object[_0x22d19e(0x1e2)],_0xe85d6c=(_0x9502,_0xf0b3cc,_0x29f692,_0x257622)=>{const _0x1781cd=_0x22d19e;for(var _0x20c4d8=_0x257622>0x1?void 0x0:_0x257622?_0x4021d8(_0xf0b3cc,_0x29f692):_0xf0b3cc,_0x17b3e8=_0x9502[_0x1781cd(0x29c)]-0x1,_0x345359;_0x17b3e8>=0x0;_0x17b3e8--)(_0x345359=_0x9502[_0x17b3e8])&&(_0x20c4d8=_0x345359(_0x20c4d8)||_0x20c4d8);return _0x20c4d8;},_0x514d51=(_0x4c32b8,_0x5e59b8)=>(_0x4a4cd9,_0x12bb30)=>_0x5e59b8(_0x4a4cd9,_0x12bb30,_0x4c32b8);let _0xc53968=class{constructor(_0x1e9968,_0x30ee50){const _0x37bc0e=_0x22d19e;this['_transformService']=_0x1e9968,this[_0x37bc0e(0x282)]=_0x30ee50;}[_0x22d19e(0x2da)](_0x373217){const _0xc74015=_0x22d19e;this[_0xc74015(0xf8)](_0x373217),this[_0xc74015(0x18c)](_0x373217);}[_0x22d19e(0x16f)](_0x275c93){const _0x5f4cb2=_0x22d19e,{unitID:_0x4e18d7}=_0x275c93,_0x428d93=this[_0x5f4cb2(0x282)][_0x5f4cb2(0x305)](_0x4e18d7)['with'](_0x22126e['DocIMEInputManagerService']),{redoCache:_0x3f6c08}=_0x428d93[_0x5f4cb2(0x355)]();if(_0x3f6c08['length']===0x0)return _0x275c93;let _0x1d5905=_0x4a5a1c[_0x5f4cb2(0xc6)]['deepClone'](_0x275c93['mutations'][0x0]);for(let _0x6aa73=0x0;_0x6aa73<_0x3f6c08[_0x5f4cb2(0x29c)];_0x6aa73++){const _0x220387={'id':'doc.mutation.rich-text-editing','params':{..._0x3f6c08[_0x6aa73]}},_0x495384=this['_transformService'][_0x5f4cb2(0x9f)](_0x1d5905,_0x220387,!0x1);if(_0x4a6bb0[_0x5f4cb2(0xbb)](_0x495384))throw _0x495384['error'];_0x1d5905=_0x495384[_0x5f4cb2(0xdf)];}return{..._0x4a5a1c[_0x5f4cb2(0xc6)][_0x5f4cb2(0x2fe)](_0x275c93),'mutations':[_0x1d5905]};}[_0x22d19e(0xf8)](_0xc33245){const _0x467ff9=_0x22d19e,{unitID:_0xe9151a}=_0xc33245,_0x3f509c=this[_0x467ff9(0x282)]['getRenderById'](_0xe9151a)[_0x467ff9(0x12d)](_0x22126e[_0x467ff9(0x189)]),{undoCache:_0x5d84aa,redoCache:_0x11f967}=_0x3f509c[_0x467ff9(0x355)]();if(_0x5d84aa[_0x467ff9(0x29c)]===0x0||_0x11f967['length']===0x0)return;const _0x3c7979=[],_0x37d831=[];let _0x4b0dec=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]),_0x2c8b50=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]);for(let _0x2069b5=_0x5d84aa['length']-0x1;_0x2069b5>=0x0;_0x2069b5--){const _0x31b6de={'id':_0x467ff9(0x2a5),'params':{..._0x5d84aa[_0x2069b5]}},_0x64530b={'id':_0x467ff9(0x2a5),'params':{..._0x11f967[_0x2069b5]}},_0x26495b=this[_0x467ff9(0x1ff)][_0x467ff9(0x9f)](_0x4b0dec,_0x31b6de,!0x1),_0x34bd74=this['_transformService']['transformMutation'](_0x2c8b50,_0x64530b,!0x1);if(_0x4a6bb0[_0x467ff9(0xbb)](_0x26495b))throw _0x26495b[_0x467ff9(0x1fd)];if(_0x4a6bb0[_0x467ff9(0xbb)](_0x34bd74))throw _0x34bd74[_0x467ff9(0x1fd)];_0x3c7979[_0x467ff9(0xfc)](_0x26495b[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x37d831[_0x467ff9(0xfc)](_0x34bd74[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x4b0dec=_0x26495b['m1Prime'],_0x2c8b50=_0x34bd74[_0x467ff9(0xdf)];}_0x3f509c[_0x467ff9(0x1bb)]({'undoCache':_0x3c7979,'redoCache':_0x37d831});}[_0x22d19e(0x18c)](_0x1b58a7){const _0x27a007=_0x22d19e,{unitID:_0x146fda}=_0x1b58a7,_0x59c6c9=this[_0x27a007(0x282)][_0x27a007(0x305)](_0x146fda)[_0x27a007(0x12d)](_0x22126e[_0x27a007(0x189)]),_0x58a562=_0x59c6c9[_0x27a007(0x219)]();if(_0x58a562==null)return;const _0x22a906=[{'id':_0x27a007(0x2a5),'params':{'unitId':_0x1b58a7[_0x27a007(0x2bb)],'actions':null,'textRanges':[_0x58a562]}}],_0x1e49e0=this[_0x27a007(0x1ff)]['transformMutationsWithChangeset'](_0x1b58a7,_0x22a906);if(!_0x4a6bb0[_0x27a007(0x1ca)](_0x1e49e0))throw _0x1e49e0[_0x27a007(0x1fd)];const _0x54b2ec=_0x1e49e0[_0x27a007(0x196)][0x0][_0x27a007(0x22d)][_0x27a007(0x30f)];Array['isArray'](_0x54b2ec)&&_0x54b2ec[_0x27a007(0x29c)]&&_0x59c6c9[_0x27a007(0x220)](_0x54b2ec[0x0]);}};_0xc53968=_0xe85d6c([_0x514d51(0x0,_0x4a6bb0[_0x22d19e(0x158)]),_0x514d51(0x1,_0x5d2f68[_0x22d19e(0xcf)])],_0xc53968);var _0x509b22=Object[_0x22d19e(0x1e2)],_0x24bf3f=(_0x5db15b,_0x240ae3,_0x23a03f,_0x383737)=>{for(var _0x37cd0f=_0x383737>0x1?void 0x0:_0x383737?_0x509b22(_0x240ae3,_0x23a03f):_0x240ae3,_0x3903ab=_0x5db15b['length']-0x1,_0x21d0ad;_0x3903ab>=0x0;_0x3903ab--)(_0x21d0ad=_0x5db15b[_0x3903ab])&&(_0x37cd0f=_0x21d0ad(_0x37cd0f)||_0x37cd0f);return _0x37cd0f;},_0x1023f1=(_0x5f74e0,_0x1a47bf)=>(_0x2d55f9,_0x5bfbfd)=>_0x1a47bf(_0x2d55f9,_0x5bfbfd,_0x5f74e0);let _0x5cd1e2=class{constructor(_0xe7575,_0xb84641,_0x1e8e26){const _0x5659e8=_0x22d19e;this[_0x5659e8(0x36e)]=_0xe7575,this[_0x5659e8(0x1ff)]=_0xb84641,this[_0x5659e8(0x24d)]=_0x1e8e26;}['transformStateCache'](_0x698087){const _0x18dd99=_0x22d19e;this[_0x18dd99(0x1b3)](_0x698087);}['transformRemoteChangeset'](_0x3231a0){const _0x318d19=_0x22d19e,{unitID:_0x24be4d}=_0x3231a0,{collaboration:_0x530815}=this[_0x318d19(0x24d)][_0x318d19(0x1c9)](_0x24be4d);if(_0x530815[_0x318d19(0x29c)]===0x0)return _0x3231a0;let _0x132f93=_0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0['mutations'][0x0]);for(let _0x1b47c3=0x0;_0x1b47c3<_0x530815['length'];_0x1b47c3++){const _0x588c9a={'id':_0x318d19(0x2a5),'params':{'unitId':_0x530815[_0x1b47c3]['unitId'],..._0x530815[_0x1b47c3]['redoState']}},_0x1684f1=this[_0x318d19(0x1ff)][_0x318d19(0x9f)](_0x132f93,_0x588c9a,!0x1);if(_0x4a6bb0[_0x318d19(0xbb)](_0x1684f1))throw _0x1684f1[_0x318d19(0x1fd)];_0x132f93=_0x1684f1[_0x318d19(0xdf)];}return{..._0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0),'mutations':[_0x132f93]};}[_0x22d19e(0x1b3)](_0x547b56){const _0x4644d8=_0x22d19e,{unitID:_0x105ad4}=_0x547b56,{history:_0x46c4b9,collaboration:_0x345f88}=this[_0x4644d8(0x24d)]['getStateCache'](_0x105ad4);if(_0x46c4b9[_0x4644d8(0x29c)]===0x0&&_0x345f88[_0x4644d8(0x29c)]===0x0)return;const _0x23df02=[],_0x2cdae2=[];let _0x3eb7c7=_0x4a5a1c['Tools'][_0x4644d8(0x2fe)](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0xff0a95=_0x46c4b9[_0x4644d8(0x29c)]-0x1;_0xff0a95>=0x0;_0xff0a95--){const _0x23272f={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0x1bc)]}},_0x4d48f5={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0xb1)]}},_0x150d91=this[_0x4644d8(0x1ff)]['transformMutation'](_0x3eb7c7,_0x23272f,!0x1),_0x5d5ff1=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0x4d48f5,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x150d91))throw _0x150d91[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x5d5ff1))throw _0x5d5ff1[_0x4644d8(0x1fd)];_0x23df02[_0x4644d8(0xfc)]({..._0x46c4b9[_0xff0a95],'undoState':_0x150d91[_0x4644d8(0x196)][_0x4644d8(0x22d)],'redoState':_0x5d5ff1[_0x4644d8(0x196)]['params']}),_0x3eb7c7=_0x150d91[_0x4644d8(0xdf)],_0x391fd5=_0x5d5ff1[_0x4644d8(0xdf)];}_0x3eb7c7=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0x4d469b=_0x345f88[_0x4644d8(0x29c)]-0x1;_0x4d469b>=0x0;_0x4d469b--){const _0x382420={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x345f88[_0x4d469b]['unitId'],..._0x345f88[_0x4d469b]['undoState']}},_0xa4d5d9={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x345f88[_0x4d469b][_0x4644d8(0x369)],..._0x345f88[_0x4d469b][_0x4644d8(0xb1)]}},_0x379087=this['_transformService'][_0x4644d8(0x9f)](_0x3eb7c7,_0x382420,!0x1),_0x16d48d=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0xa4d5d9,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x379087))throw _0x379087[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x16d48d))throw _0x16d48d[_0x4644d8(0x1fd)];_0x2cdae2[_0x4644d8(0xfc)]({..._0x345f88[_0x4d469b],'undoState':_0x379087['m2Prime'][_0x4644d8(0x22d)],'redoState':_0x16d48d['m2Prime'][_0x4644d8(0x22d)]}),_0x3eb7c7=_0x379087['m1Prime'],_0x391fd5=_0x16d48d[_0x4644d8(0xdf)];}this[_0x4644d8(0x24d)][_0x4644d8(0x190)](_0x105ad4,{'history':_0x23df02,'collaboration':_0x2cdae2});}};_0x5cd1e2=_0x24bf3f([_0x1023f1(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x1023f1(0x1,_0x4a6bb0[_0x22d19e(0x158)]),_0x1023f1(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)]))],_0x5cd1e2);var _0x4c3448=Object[_0x22d19e(0x1e2)],_0x162572=(_0x3e0d2f,_0x56d2f6,_0x572248,_0x33ec11)=>{const _0x470657=_0x22d19e;for(var _0xfc2be5=_0x33ec11>0x1?void 0x0:_0x33ec11?_0x4c3448(_0x56d2f6,_0x572248):_0x56d2f6,_0x33087f=_0x3e0d2f[_0x470657(0x29c)]-0x1,_0x37002d;_0x33087f>=0x0;_0x33087f--)(_0x37002d=_0x3e0d2f[_0x33087f])&&(_0xfc2be5=_0x37002d(_0xfc2be5)||_0xfc2be5);return _0xfc2be5;},_0x222dbd=(_0x2a7f39,_0x14dace)=>(_0x34fd5a,_0x706f91)=>_0x14dace(_0x34fd5a,_0x706f91,_0x2a7f39);let _0x247291=class{constructor(_0x516aac,_0x1ef0e7){const _0x2ef52d=_0x22d19e;this[_0x2ef52d(0x36e)]=_0x516aac,this[_0x2ef52d(0x1ff)]=_0x1ef0e7;}[_0x22d19e(0x22c)](_0x86cb90){const _0x24b78e=_0x22d19e;var _0x32a1a0;const _0x1aa468=this[_0x24b78e(0x36e)][_0x24b78e(0x18e)](_0x5afd4e[_0x24b78e(0x11c)]),_0x2e2ea8=(_0x32a1a0=_0x1aa468['getDocRanges']())!=null?_0x32a1a0:[];if(_0x2e2ea8[_0x24b78e(0x29c)]===0x0)return;const _0x25c104=_0x86cb90['unitID'],_0x5681e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25c104,'actions':null,'textRanges':_0x2e2ea8}}],_0x347f6a=this[_0x24b78e(0x1ff)]['transformMutationsWithChangeset'](_0x86cb90,_0x5681e9);if(!_0x4a6bb0[_0x24b78e(0x1ca)](_0x347f6a))throw _0x347f6a[_0x24b78e(0x1fd)];const _0x3ef64f=_0x347f6a[_0x24b78e(0x196)][0x0][_0x24b78e(0x22d)][_0x24b78e(0x30f)];Array[_0x24b78e(0xca)](_0x3ef64f)&&_0x3ef64f[_0x24b78e(0x29c)]&&_0x1aa468[_0x24b78e(0x28e)](_0x3ef64f,{'unitId':_0x25c104,'subUnitId':_0x25c104},!0x1);}};_0x247291=_0x162572([_0x222dbd(0x0,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x222dbd(0x1,_0x4a6bb0['ITransformService'])],_0x247291);var _0x125068=Object['getOwnPropertyDescriptor'],_0x4eb520=(_0x5e0214,_0x3914b2,_0xef1cc1,_0x181d3e)=>{for(var _0x4d5d95=_0x181d3e>0x1?void 0x0:_0x181d3e?_0x125068(_0x3914b2,_0xef1cc1):_0x3914b2,_0x1154ab=_0x5e0214['length']-0x1,_0x3e4bd1;_0x1154ab>=0x0;_0x1154ab--)(_0x3e4bd1=_0x5e0214[_0x1154ab])&&(_0x4d5d95=_0x3e4bd1(_0x4d5d95)||_0x4d5d95);return _0x4d5d95;},_0x503f53=(_0x12cc88,_0x294e1d)=>(_0x273e32,_0x4ff8c1)=>_0x294e1d(_0x273e32,_0x4ff8c1,_0x12cc88);let _0x29e630=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x558c08,_0x3cb307,_0x177f3d,_0x58ce66,_0x3b3621,_0x532204,_0x499879,_0x5880d8){const _0x220db8=_0x22d19e;super(),_0xa63e61(this,_0x220db8(0x223),new _0x8d94e0[(_0x220db8(0x90))](_0x29cbea[_0x220db8(0x1eb)][_0x220db8(0x1d0)])),(this[_0x220db8(0x24d)]=_0x558c08,this['_collaborationController']=_0x3cb307,this['_docTransformIMECacheService']=_0x177f3d,this[_0x220db8(0xbc)]=_0x58ce66,this[_0x220db8(0x164)]=_0x3b3621,this['_docSyncEditingCollabCursorService']=_0x532204,this['_messageService']=_0x499879,this[_0x220db8(0x295)]=_0x5880d8,this[_0x220db8(0x173)]());}[_0x22d19e(0x173)](){const _0x145901=_0x22d19e;this[_0x145901(0xe5)](this[_0x145901(0x139)][_0x145901(0x1ae)][_0x145901(0x35e)](_0x99f7b1=>{const _0x1d80b8=_0x145901,_0x3be00d=this['_docStateChangeManagerService'][_0x1d80b8(0x1f8)]['subscribe'](_0x10566a=>{const _0x1fda26=_0x1d80b8;if(_0x10566a==null)return;const {unitId:_0x308f06,redoState:_0x2b7b6a,commandId:_0x35a08c}=_0x10566a;if(_0x308f06!==_0x99f7b1['unitID'])return;const _0x46b6d3={'id':_0x35a08c,'type':_0x4a5a1c[_0x1fda26(0xff)][_0x1fda26(0xa8)],'params':{'unitId':_0x308f06,'actions':_0x2b7b6a[_0x1fda26(0x142)],'textRanges':null}};_0x99f7b1[_0x1fda26(0x13d)](_0x46b6d3);});if(_0x99f7b1['disposeWithMe'](_0x3be00d),_0x99f7b1 instanceof _0x29cbea['DocCollaborationEntity']){const _0x351b65={'onTransformIME':_0xea2754=>this[_0x1d80b8(0x2ee)][_0x1d80b8(0x2da)](_0xea2754),'onTransformState':_0x5b5301=>this[_0x1d80b8(0xbc)]['transformStateCache'](_0x5b5301),'onTransformSelections':_0x26cfa7=>this[_0x1d80b8(0x164)]['transformSelections'](_0x26cfa7),'onSyncEditingCollabCursor':_0x1ce5ee=>this[_0x1d80b8(0x1c7)]['syncEditingCollabCursor'](_0x1ce5ee),'onTransformRemoteChangesetByIMECache':_0xbed2cc=>this[_0x1d80b8(0x2ee)]['transformRemoteChangeset'](_0xbed2cc),'onTransformRemoteChangesetByStateCache':_0x2b75c3=>this[_0x1d80b8(0xbc)][_0x1d80b8(0x16f)](_0x2b75c3)};_0x99f7b1[_0x1d80b8(0x26f)](_0x351b65);}}));}};_0x29e630=_0x4eb520([_0x503f53(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)])),_0x503f53(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x9b)])),_0x503f53(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0xc53968)),_0x503f53(0x3,_0x4a5a1c['Inject'](_0x5cd1e2)),_0x503f53(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x247291)),_0x503f53(0x5,_0x4a5a1c['Inject'](_0x5e2c98)),_0x503f53(0x6,_0x270495[_0x22d19e(0x339)]),_0x503f53(0x7,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x29e630);var _0x4dfe1b=(_0x5a445a=>(_0x5a445a[_0x5a445a['UNDEFINED']=0x0]=_0x22d19e(0x146),_0x5a445a[_0x5a445a['OK']=0x1]='OK',_0x5a445a[_0x5a445a[_0x22d19e(0x1c3)]=0x2]=_0x22d19e(0x1c3),_0x5a445a[_0x5a445a[_0x22d19e(0x13b)]=0x3]=_0x22d19e(0x13b),_0x5a445a[_0x5a445a[_0x22d19e(0x182)]=0x4]=_0x22d19e(0x182),_0x5a445a[_0x5a445a[_0x22d19e(0x159)]=0x5]=_0x22d19e(0x159),_0x5a445a[_0x5a445a[_0x22d19e(0x185)]=0x6]=_0x22d19e(0x185),_0x5a445a[_0x5a445a[_0x22d19e(0xf0)]=0x7]=_0x22d19e(0xf0),_0x5a445a[_0x5a445a[_0x22d19e(0x26a)]=0x8]=_0x22d19e(0x26a),_0x5a445a[_0x5a445a[_0x22d19e(0x1ab)]=0x9]=_0x22d19e(0x1ab),_0x5a445a[_0x5a445a['LOGIN_FAILED']=0xa]=_0x22d19e(0x166),_0x5a445a[_0x5a445a[_0x22d19e(0x32d)]=0xb]=_0x22d19e(0x32d),_0x5a445a[_0x5a445a[_0x22d19e(0x2db)]=0xc]=_0x22d19e(0x2db),_0x5a445a[_0x5a445a[_0x22d19e(0x145)]=0xd]=_0x22d19e(0x145),_0x5a445a[_0x5a445a[_0x22d19e(0x31a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5a445a[_0x5a445a[_0x22d19e(0xb6)]=0xf]=_0x22d19e(0xb6),_0x5a445a[_0x5a445a[_0x22d19e(0x311)]=0x10]=_0x22d19e(0x311),_0x5a445a[_0x5a445a[_0x22d19e(0x1b9)]=0x64]=_0x22d19e(0x1b9),_0x5a445a[_0x5a445a['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x5a445a[_0x5a445a[_0x22d19e(0x2d4)]=0xc9]=_0x22d19e(0x2d4),_0x5a445a[_0x5a445a[_0x22d19e(0x1c5)]=0xca]='USER_IS_ANONYMOUS',_0x5a445a[_0x5a445a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22d19e(0x10d),_0x5a445a[_0x5a445a[_0x22d19e(0x129)]=0x1771]=_0x22d19e(0x129),_0x5a445a[_0x5a445a[_0x22d19e(0xf3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5a445a[_0x5a445a[_0x22d19e(0x351)]=0x1773]=_0x22d19e(0x351),_0x5a445a[_0x5a445a[_0x22d19e(0x231)]=0x1b59]='APPLY_REJECT',_0x5a445a[_0x5a445a[_0x22d19e(0x1a9)]=0x1b5a]=_0x22d19e(0x1a9),_0x5a445a[_0x5a445a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x22d19e(0x1fe),_0x5a445a[_0x5a445a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22d19e(0x2b2),_0x5a445a[_0x5a445a[_0x22d19e(0x162)]=0x1b5d]=_0x22d19e(0x162),_0x5a445a[_0x5a445a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22d19e(0x322),_0x5a445a[_0x5a445a[_0x22d19e(0x21d)]=0x2329]=_0x22d19e(0x21d),_0x5a445a[_0x5a445a[_0x22d19e(0xd5)]=0x232a]=_0x22d19e(0xd5),_0x5a445a[_0x5a445a[_0x22d19e(0x259)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5a445a[_0x5a445a[_0x22d19e(0x179)]=0x232c]=_0x22d19e(0x179),_0x5a445a[_0x5a445a[_0x22d19e(0x1b5)]=0x232d]=_0x22d19e(0x1b5),_0x5a445a[_0x5a445a[_0x22d19e(0x18b)]=0x2711]=_0x22d19e(0x18b),_0x5a445a[_0x5a445a[_0x22d19e(0x2ed)]=0x2712]=_0x22d19e(0x2ed),_0x5a445a[_0x5a445a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x22d19e(0xf9),_0x5a445a[_0x5a445a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22d19e(0xb5),_0x5a445a[_0x5a445a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x22d19e(0x137),_0x5a445a[_0x5a445a[_0x22d19e(0x134)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5a445a[_0x5a445a[_0x22d19e(0x160)]=0x271c]=_0x22d19e(0x160),_0x5a445a[_0x5a445a[_0x22d19e(0x328)]=0x271d]=_0x22d19e(0x328),_0x5a445a[_0x5a445a[_0x22d19e(0x239)]=0x271e]=_0x22d19e(0x239),_0x5a445a[_0x5a445a[_0x22d19e(0x1a3)]=0x271f]=_0x22d19e(0x1a3),_0x5a445a[_0x5a445a[_0x22d19e(0x2d2)]=0x2720]=_0x22d19e(0x2d2),_0x5a445a[_0x5a445a[_0x22d19e(0x15f)]=0x2af9]=_0x22d19e(0x15f),_0x5a445a[_0x5a445a[_0x22d19e(0x363)]=0x2ee1]=_0x22d19e(0x363),_0x5a445a[_0x5a445a['INVALID_INVITE_CODE']=0x2ee2]=_0x22d19e(0x13e),_0x5a445a[_0x5a445a[_0x22d19e(0x203)]=0x2ee3]=_0x22d19e(0x203),_0x5a445a[_0x5a445a[_0x22d19e(0x20f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a445a[_0x5a445a[_0x22d19e(0x28d)]=0x2ee5]=_0x22d19e(0x28d),_0x5a445a[_0x5a445a[_0x22d19e(0x32c)]=0x32c9]=_0x22d19e(0x32c),_0x5a445a[_0x5a445a[_0x22d19e(0x312)]=0x32ca]=_0x22d19e(0x312),_0x5a445a[_0x5a445a[_0x22d19e(0x23c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a445a[_0x5a445a[_0x22d19e(0x244)]=0x36b1]=_0x22d19e(0x244),_0x5a445a[_0x5a445a[_0x22d19e(0x365)]=0x36b2]=_0x22d19e(0x365),_0x5a445a[_0x5a445a[_0x22d19e(0x247)]=0x36b3]=_0x22d19e(0x247),_0x5a445a[_0x5a445a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5a445a[_0x5a445a[_0x22d19e(0x202)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5a445a[_0x5a445a[_0x22d19e(0xa6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5a445a[_0x5a445a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a445a[_0x5a445a['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x22d19e(0x14d),_0x5a445a[_0x5a445a[_0x22d19e(0xd6)]=0x3a99]=_0x22d19e(0xd6),_0x5a445a[_0x5a445a['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x22d19e(0x313),_0x5a445a[_0x5a445a[_0x22d19e(0x260)]=0x3a9b]=_0x22d19e(0x260),_0x5a445a[_0x5a445a[_0x22d19e(0x98)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5a445a[_0x5a445a['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x22d19e(0x2e8),_0x5a445a[_0x5a445a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x22d19e(0x222),_0x5a445a[_0x5a445a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x22d19e(0xbf),_0x5a445a[_0x5a445a[_0x22d19e(0x14b)]=0x3e81]=_0x22d19e(0x14b),_0x5a445a[_0x5a445a[_0x22d19e(0x26e)]=-0x1]=_0x22d19e(0x26e),_0x5a445a))(_0x4dfe1b||{});function _0xb09571(_0x4b5af4){const _0x3fdd45=_0x22d19e;var _0xefe075,_0x122910;const _0x15dde3=(_0xefe075=_0x4b5af4['stageInfo'])==null?void 0x0:_0xefe075[_0x3fdd45(0xf5)],_0xcfd63=((_0x122910=_0x4b5af4[_0x3fdd45(0x14f)])==null?void 0x0:_0x122910[_0x3fdd45(0x36d)])||0x0;return _0x15dde3===_0x419491[_0x3fdd45(0x199)][_0x3fdd45(0xa0)]&&_0xcfd63>0x0;}function _0x1b97a4(_0x4cd6a6){const _0x5aa8b7=_0x22d19e;return _0x4cd6a6[_0x5aa8b7(0x2ae)]===_0x419491[_0x5aa8b7(0x336)][_0x5aa8b7(0x338)];}var _0x4a0f6f=Object[_0x22d19e(0x1e2)],_0x4bd536=(_0x2c7896,_0x2ba44c,_0x239d15,_0x3aa56c)=>{const _0x549fbc=_0x22d19e;for(var _0x3d24a4=_0x3aa56c>0x1?void 0x0:_0x3aa56c?_0x4a0f6f(_0x2ba44c,_0x239d15):_0x2ba44c,_0x305cb5=_0x2c7896[_0x549fbc(0x29c)]-0x1,_0x3beea4;_0x305cb5>=0x0;_0x305cb5--)(_0x3beea4=_0x2c7896[_0x305cb5])&&(_0x3d24a4=_0x3beea4(_0x3d24a4)||_0x3d24a4);return _0x3d24a4;},_0x595222=(_0x1dce99,_0x27e394)=>(_0x3200a2,_0x516c58)=>_0x27e394(_0x3200a2,_0x516c58,_0x1dce99);const _0x101a56=_0x22d19e(0x205),_0x2a05fd=_0x22d19e(0x31b),_0x290ec6='/universer-api/license/formula/limit/done';let _0x2c1a4e=class extends _0x4a5a1c['Disposable']{constructor(_0x5325d6,_0x53cf47,_0x7003a9,_0x2b1586,_0x3171c3,_0x52073f,_0x2dd6b9){const _0x4403a5=_0x22d19e;super(),_0xa63e61(this,_0x4403a5(0x213),null),_0xa63e61(this,_0x4403a5(0x168),0x0),_0xa63e61(this,'_currentUsage',0x0),_0xa63e61(this,_0x4403a5(0x23d),[]),_0xa63e61(this,_0x4403a5(0x33f),0x0),(this[_0x4403a5(0x33e)]=_0x5325d6,this[_0x4403a5(0x2b1)]=_0x53cf47,this[_0x4403a5(0x2f4)]=_0x7003a9,this['_httpService']=_0x2b1586,this[_0x4403a5(0x2de)]=_0x3171c3,this[_0x4403a5(0x1d7)]=_0x52073f,this[_0x4403a5(0x295)]=_0x2dd6b9,this[_0x4403a5(0xd9)]());}[_0x22d19e(0xd9)](){const _0x3811da=_0x22d19e;this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0xf6)]((_0x3cdbd9,_0x5bbbf5)=>{const _0x1e4978=_0x3811da;var _0x3dc4e5;if(_0x3cdbd9['id']!==_0x419491[_0x1e4978(0x1c6)]['id'])return;const _0x5217d3=_0x3cdbd9[_0x1e4978(0x22d)];if(!this[_0x1e4978(0x2c7)]((_0x3dc4e5=_0x5217d3['dirtyRanges'])!=null?_0x3dc4e5:[]))return;if(!this[_0x1e4978(0x1a6)]())throw this['_checkAndWaitForCalculationPermission'](_0x3cdbd9,_0x5bbbf5),this['_showGuardMessage'](),new _0x4a5a1c['CanceledError']();})),this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0x1f9)]((_0x2cf0d1,_0x2f4c9e)=>{const _0x377b7d=_0x3811da;if(_0x2cf0d1['id']!==_0x419491['SetFormulaCalculationNotificationMutation']['id'])return;const _0x55c898=_0x2cf0d1[_0x377b7d(0x22d)];if(_0xb09571(_0x55c898)){const _0x242882=_0x4a5a1c[_0x377b7d(0x151)]();this[_0x377b7d(0x23d)][_0x377b7d(0x256)](_0x242882),this[_0x377b7d(0x1a1)](_0x242882);}else{if(_0x1b97a4(_0x55c898)&&this[_0x377b7d(0x23d)][_0x377b7d(0x29c)]>0x0){const _0x46c3ee=this[_0x377b7d(0x23d)]['shift']();this[_0x377b7d(0x20e)](_0x46c3ee);}}}));}[_0x22d19e(0x210)](){const _0x4d8d23=_0x22d19e;super[_0x4d8d23(0x210)](),this['_clearPolling'](),this[_0x4d8d23(0x23d)]=[],this['_currentUsage']=0x0,this[_0x4d8d23(0x168)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x22d19e(0xaf)](_0x282746,_0x4a7ff1){const _0xffbd39=_0x22d19e;for(let _0x3bad9c=0x0;_0x3bad9c<0x1e;_0x3bad9c++)try{if(await this[_0xffbd39(0x132)](),this[_0xffbd39(0x1a6)]()){this['_applyCommand'](_0x282746,_0x4a7ff1),this[_0xffbd39(0x33e)]['show']({'content':this[_0xffbd39(0x295)]['t'](_0xffbd39(0xf2)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x1de)]});return;}await new Promise(_0x562603=>{const _0x54fafd=_0xffbd39;this[_0x54fafd(0x213)]=window[_0x54fafd(0x253)](_0x562603,0x3e8);});}catch(_0x4bd4c3){this[_0xffbd39(0x1d7)]['error'](_0x4bd4c3);}this[_0xffbd39(0x33e)][_0xffbd39(0x1ba)]({'content':this['_localeService']['t'](_0xffbd39(0x2b3)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x2d1)]});}['_applyCommand'](_0x5d27c9,_0x52d8e0){const _0x10792a=_0x22d19e;try{this[_0x10792a(0x2b1)][_0x10792a(0x264)](_0x5d27c9['id'],_0x5d27c9['params'],_0x52d8e0);}catch(_0x572cb0){this['_logService'][_0x10792a(0x1fd)](_0x572cb0);}}[_0x22d19e(0x30c)](_0x438d3b,_0x621548){const _0x367eff=_0x22d19e;_0x621548<this[_0x367eff(0x33f)]||(this[_0x367eff(0x33f)]=_0x621548,this['_maxFormulaLimit']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0x27f)]),this['_currentUsage']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0xbe)]));}async[_0x22d19e(0x1a1)](_0x52a0cd){const _0x4fcbd0=_0x22d19e;var _0x54b6e,_0x5bbcb3;const _0x44675c=Date['now']();try{const _0x24bbd5=((_0x54b6e=this[_0x4fcbd0(0x2f4)][_0x4fcbd0(0x1a5)](_0x29cbea[_0x4fcbd0(0x115)]))==null?void 0x0:_0x54b6e[_0x4fcbd0(0x21c)])||_0x2a05fd,_0x5ef78f=(await this[_0x4fcbd0(0x33c)][_0x4fcbd0(0x33a)](_0x24bbd5,{'body':JSON['stringify']({'taskId':_0x52a0cd})}))[_0x4fcbd0(0x1e6)];if(((_0x5bbcb3=_0x5ef78f[_0x4fcbd0(0x1fd)])==null?void 0x0:_0x5bbcb3['code'])!==_0x4dfe1b['OK'])return;this['_setFormulaLimitStatus'](_0x5ef78f[_0x4fcbd0(0x330)],_0x44675c);}catch(_0x3b9f6e){this[_0x4fcbd0(0x1d7)][_0x4fcbd0(0x1fd)](_0x3b9f6e);}}async['_getFormulaLimitStatus'](_0x357912){const _0x16ac17=_0x22d19e;var _0x20b4f5,_0x2a7aad;const _0x40d687=Date[_0x16ac17(0xa9)]();try{const _0x4f8a90=((_0x20b4f5=this['_configService'][_0x16ac17(0x1a5)](_0x29cbea[_0x16ac17(0x115)]))==null?void 0x0:_0x20b4f5[_0x16ac17(0x197)])||_0x101a56,_0x514985=_0x357912?_0x4f8a90+'?taskId='+encodeURIComponent(_0x357912):_0x4f8a90,_0x53fb94=(await this[_0x16ac17(0x33c)]['get'](_0x514985))[_0x16ac17(0x1e6)];if(((_0x2a7aad=_0x53fb94[_0x16ac17(0x1fd)])==null?void 0x0:_0x2a7aad[_0x16ac17(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x16ac17(0x30c)](_0x53fb94[_0x16ac17(0x330)],_0x40d687);}catch(_0x267521){this['_logService'][_0x16ac17(0x1fd)](_0x267521);}}async['_releaseCalculationLimit'](_0x20f6b1){const _0x504fd7=_0x22d19e;var _0x357435,_0x175a88;const _0x43beac=Date['now']();try{const _0x353859=((_0x357435=this[_0x504fd7(0x2f4)]['getConfig'](_0x29cbea[_0x504fd7(0x115)]))==null?void 0x0:_0x357435[_0x504fd7(0x17e)])||_0x290ec6,_0x29939d=(await this['_httpService']['post'](_0x353859,{'body':JSON[_0x504fd7(0x22b)]({'taskId':_0x20f6b1})}))['body'];if(((_0x175a88=_0x29939d[_0x504fd7(0x1fd)])==null?void 0x0:_0x175a88[_0x504fd7(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x504fd7(0x30c)](_0x29939d[_0x504fd7(0x330)],_0x43beac);}catch(_0x5da227){this['_logService'][_0x504fd7(0x1fd)](_0x5da227);}}[_0x22d19e(0x1a6)](){const _0x2f8b34=_0x22d19e;return this[_0x2f8b34(0x168)]===0x0?!0x0:this[_0x2f8b34(0x168)]-this[_0x2f8b34(0x1f7)]>0x0;}['_clearPolling'](){const _0x20b234=_0x22d19e;this[_0x20b234(0x213)]&&(clearTimeout(this[_0x20b234(0x213)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0xcb3a78=_0x22d19e;this['_messageService'][_0xcb3a78(0x1ba)]({'content':this[_0xcb3a78(0x295)]['t'](_0xcb3a78(0x344)),'type':_0x67c92c[_0xcb3a78(0x215)]['Loading']});}[_0x22d19e(0x2c7)](_0x3bc72b){const _0x25f605=_0x22d19e;for(const _0x9fa63d of _0x3bc72b){const {unitId:_0x32033c,sheetId:_0x38db36,range:_0x5d9e39}=_0x9fa63d,_0x5a9de3=this[_0x25f605(0x2de)][_0x25f605(0x18f)](_0x32033c);if(!_0x5a9de3)continue;const _0x9aea85=_0x5a9de3[_0x25f605(0x281)](_0x38db36);if(!_0x9aea85)continue;const _0x2f5a77=_0x9aea85[_0x25f605(0x2f8)]();for(let _0x408eea=_0x5d9e39['startRow'];_0x408eea<=_0x5d9e39[_0x25f605(0x1c0)];_0x408eea++)for(let _0x28441c=_0x5d9e39[_0x25f605(0x152)];_0x28441c<=_0x5d9e39[_0x25f605(0x1f0)];_0x28441c++){const _0x570892=_0x2f5a77[_0x25f605(0x1db)](_0x408eea,_0x28441c);if(_0x570892&&(_0x4a5a1c[_0x25f605(0xfe)](_0x570892['f'])||_0x4a5a1c[_0x25f605(0x17c)](_0x570892['si'])))return!0x0;}}return!0x1;}};_0x2c1a4e=_0x4bd536([_0x595222(0x0,_0x4a5a1c['Inject'](_0x270495['IMessageService'])),_0x595222(0x1,_0x4a5a1c[_0x22d19e(0x263)]),_0x595222(0x2,_0x4a5a1c['IConfigService']),_0x595222(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x595222(0x4,_0x4a5a1c['IUniverInstanceService']),_0x595222(0x5,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x595222(0x6,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x2c1a4e);var _0x14efc7=Object[_0x22d19e(0x1e2)],_0x469dc1=(_0x2d1aa4,_0x22c57a,_0x1d628,_0xd8babd)=>{const _0x279309=_0x22d19e;for(var _0x1883f6=_0xd8babd>0x1?void 0x0:_0xd8babd?_0x14efc7(_0x22c57a,_0x1d628):_0x22c57a,_0x5696bb=_0x2d1aa4[_0x279309(0x29c)]-0x1,_0x4e9040;_0x5696bb>=0x0;_0x5696bb--)(_0x4e9040=_0x2d1aa4[_0x5696bb])&&(_0x1883f6=_0x4e9040(_0x1883f6)||_0x1883f6);return _0x1883f6;},_0x14c1b8=(_0x4dd982,_0x1caced)=>(_0x41e088,_0x782287)=>_0x1caced(_0x41e088,_0x782287,_0x4dd982);let _0xc26255=class extends _0x4a5a1c['Disposable']{constructor(_0x57f0c0,_0x22941a,_0x428671){const _0x2795f0=_0x22d19e;super(),_0xa63e61(this,_0x2795f0(0x1da),new Map()),_0xa63e61(this,_0x2795f0(0x131),new Map()),_0xa63e61(this,'_disabled',!0x1),(this[_0x2795f0(0x2f4)]=_0x57f0c0,this['_localStorageService']=_0x22941a,this[_0x2795f0(0x163)]=_0x428671);}[_0x22d19e(0x30a)](){const _0x269231=_0x22d19e;this[_0x269231(0x2d7)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x22d19e(0x307)](){const _0x19590b=_0x22d19e;return this[_0x19590b(0x131)];}['dispose'](){const _0x38f0f9=_0x22d19e;this[_0x38f0f9(0x1cb)]()['then'](()=>super[_0x38f0f9(0x210)]());}async['loadOfflineData'](_0xf57006){const _0x3c8b9d=_0x22d19e;return this[_0x3c8b9d(0x2d7)]?null:this[_0x3c8b9d(0x13f)][_0x3c8b9d(0x1f1)](_0x29cbea[_0x3c8b9d(0x2a9)](_0xf57006));}async[_0x22d19e(0x122)](_0x101798,_0x4ff7bb){return!!this['_localStorageService']['setItem'](_0x101798,_0x4ff7bb);}[_0x22d19e(0xcb)](_0x3c0f1b,_0x15cb49,_0x44104a,_0x42872e){const _0x30203c=_0x22d19e,_0x529dee=this[_0x30203c(0x163)][_0x30203c(0x186)](_0x3c0f1b);this['_cachedData'][_0x30203c(0x25b)](_0x3c0f1b,{'unitID':_0x3c0f1b,'type':_0x15cb49,'awaitingChangeset':_0x44104a,'mutations':_0x42872e,'rev':_0x529dee}),this['_saveTaskMap'][_0x30203c(0x241)](_0x3c0f1b)||this[_0x30203c(0x2d0)](_0x3c0f1b);}[_0x22d19e(0x2d0)](_0x29d074){const _0x47260b=_0x22d19e,_0x5075c0=this['_getSaveTimeout']();_0x5075c0===0x0?this[_0x47260b(0xac)](_0x29d074):this[_0x47260b(0x131)]['set'](_0x29d074,setTimeout(()=>this[_0x47260b(0xac)](_0x29d074),_0x5075c0));}[_0x22d19e(0x289)](){const _0x26f7c9=_0x22d19e;var _0xf4f726;return(_0xf4f726=this[_0x26f7c9(0x2f4)]['getConfig'](_0x29cbea[_0x26f7c9(0x2fd)]))!=null?_0xf4f726:_0x29cbea[_0x26f7c9(0x1e9)];}[_0x22d19e(0xac)](_0x4f3ac4){const _0x12c131=_0x22d19e,_0x32ff45=this['_saveTaskMap'][_0x12c131(0x18e)](_0x4f3ac4);return _0x32ff45!==void 0x0&&window[_0x12c131(0x149)](_0x32ff45),this[_0x12c131(0x13f)][_0x12c131(0x292)](_0x29cbea[_0x12c131(0x2a9)](_0x4f3ac4),this[_0x12c131(0x1da)][_0x12c131(0x18e)](_0x4f3ac4))[_0x12c131(0x236)](()=>this[_0x12c131(0x131)][_0x12c131(0x1cd)](_0x4f3ac4));}async[_0x22d19e(0x1cb)](){const _0x434142=_0x22d19e,_0x2aa64c=[];this[_0x434142(0x131)][_0x434142(0x316)]((_0x2480cd,_0x5c702f)=>{const _0x13d2ca=_0x434142;window[_0x13d2ca(0x149)](_0x2480cd),_0x2aa64c[_0x13d2ca(0x256)](this[_0x13d2ca(0xac)](_0x5c702f)['then'](()=>{const _0x57ad79=_0x13d2ca;this[_0x57ad79(0x131)][_0x57ad79(0x1cd)](_0x5c702f);}));}),await Promise['all'](_0x2aa64c);}};_0xc26255=_0x469dc1([_0x14c1b8(0x0,_0x4a5a1c[_0x22d19e(0xb9)]),_0x14c1b8(0x1,_0x4a5a1c['ILocalStorageService']),_0x14c1b8(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a6bb0['RevisionService']))],_0xc26255);class _0x1410ea extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x2f76ac=_0x22d19e;super(),_0xa63e61(this,_0x2f76ac(0x287)),this[_0x2f76ac(0x287)]=_0x8d94e0[_0x2f76ac(0x252)](window,_0x2f76ac(0x2a0))[_0x2f76ac(0x296)](_0x8d94e0[_0x2f76ac(0x9e)](this['dispose$']),_0x8d94e0[_0x2f76ac(0xd2)](0x1),_0x8d94e0[_0x2f76ac(0x26c)](void 0x0));}[_0x22d19e(0x361)](_0x1be3bb,_0x18b920,_0x1337b3=!0x1){const _0x451d57=_0x22d19e,_0x1187bc=new URL(window['location']['href']);_0x1187bc[_0x451d57(0xdc)][_0x451d57(0x25b)](_0x1be3bb,_0x18b920),_0x1337b3?window[_0x451d57(0xd7)][_0x451d57(0x368)]('','',_0x1187bc[_0x451d57(0x14e)]()):window[_0x451d57(0xd7)][_0x451d57(0x2a4)]('','',_0x1187bc[_0x451d57(0x14e)]());}[_0x22d19e(0x1e7)](_0x45a872,_0x18c1b2=!0x1){const _0x565a63=_0x22d19e,_0x48986f=new URL(window[_0x565a63(0x2a3)][_0x565a63(0x308)]);_0x48986f[_0x565a63(0xdc)][_0x565a63(0x1cd)](_0x45a872),_0x18c1b2?window['history']['replaceState']('','',_0x48986f[_0x565a63(0x14e)]()):window['history']['pushState']('','',_0x48986f[_0x565a63(0x14e)]());}[_0x22d19e(0x17b)](_0x16a21c){const _0x560ad5=_0x22d19e;var _0x24356a;return(_0x24356a=new URL(window['location']['href'])[_0x560ad5(0xdc)][_0x560ad5(0x18e)](_0x16a21c))!=null?_0x24356a:void 0x0;}}var _0x539921=Object[_0x22d19e(0xbd)],_0x902516=Object[_0x22d19e(0x1e2)],_0x2abd71=(_0x3fc476,_0x2037cc,_0x41095e)=>_0x2037cc in _0x3fc476?_0x539921(_0x3fc476,_0x2037cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41095e}):_0x3fc476[_0x2037cc]=_0x41095e,_0x22f639=(_0x569df8,_0x27de03,_0x325609,_0x351c5f)=>{const _0x2d5ef7=_0x22d19e;for(var _0x45eb43=_0x351c5f>0x1?void 0x0:_0x351c5f?_0x902516(_0x27de03,_0x325609):_0x27de03,_0x1b7282=_0x569df8[_0x2d5ef7(0x29c)]-0x1,_0x25ee8b;_0x1b7282>=0x0;_0x1b7282--)(_0x25ee8b=_0x569df8[_0x1b7282])&&(_0x45eb43=_0x25ee8b(_0x45eb43)||_0x45eb43);return _0x45eb43;},_0x315a14=(_0x4fa3e1,_0x5ab00f)=>(_0x40a023,_0x57e82f)=>_0x5ab00f(_0x40a023,_0x57e82f,_0x4fa3e1),_0x2a3c91=(_0x50cf56,_0xf29d36,_0x6d7322)=>_0x2abd71(_0x50cf56,_0xf29d36+'',_0x6d7322);const _0x5de403='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x440074[_0x22d19e(0x261)]=class extends _0x4a5a1c['Plugin']{constructor(_0x2f6994=_0x1eb4f8,_0x4b6e65,_0x58ae61,_0x143b59){const _0xf84547=_0x22d19e;super(),this['_config']=_0x2f6994,this[_0xf84547(0x282)]=_0x4b6e65,this[_0xf84547(0x36e)]=_0x58ae61,this[_0xf84547(0x2f4)]=_0x143b59;const {..._0x281f22}=_0x4a5a1c[_0xf84547(0x274)]({},_0x1eb4f8,this[_0xf84547(0x2fb)]);this[_0xf84547(0x2f4)][_0xf84547(0x228)](_0x48039f,_0x281f22);}[_0x22d19e(0xc7)](){const _0xbeb719=_0x22d19e;this[_0xbeb719(0xce)](),this[_0xbeb719(0x321)]();}['onRendered'](){const _0x2df3c7=_0x22d19e;this[_0x2df3c7(0x14a)]();}[_0x22d19e(0xce)](){const _0x385e16=_0x22d19e;var _0x37ca00;const _0x427cfa=[[_0x54052c],[_0x2c1a4e],[_0x247291],[_0xc53968],[_0x5cd1e2],[_0x5e2c98],[_0x1a7106,{'useClass':_0x1410ea}],[_0xbeb642[_0x385e16(0x2c8)],{'useClass':_0xbeb642[_0x385e16(0xef)]}],[_0x29cbea[_0x385e16(0x92)],{'useClass':_0xc26255}],[_0x440074[_0x385e16(0xd0)]],[_0x29e630],[_0x6027b0],[_0x8689c],[_0x3b2848],[_0x440074['CollaborationDataLoaderController']]];this['_config'][_0x385e16(0x15c)]&&_0x427cfa[_0x385e16(0x256)]([_0x44bd4f]),_0x4a5a1c['registerDependencies'](this[_0x385e16(0x36e)],_0x4a5a1c[_0x385e16(0x1e4)](_0x427cfa,(_0x37ca00=this[_0x385e16(0x2fb)])==null?void 0x0:_0x37ca00[_0x385e16(0x2ef)]));}['_registerRenderDependencies'](){const _0x348140=_0x22d19e;this['disposeWithMe'](this[_0x348140(0x282)][_0x348140(0x326)](_0x4a5a1c[_0x348140(0x2b9)]['UNIVER_DOC'],[_0x238ac3])),this[_0x348140(0xe5)](this[_0x348140(0x282)]['registerRenderModule'](_0x4a5a1c[_0x348140(0x2b9)][_0x348140(0x1cf)],[_0x5e3b2e]));}[_0x22d19e(0x321)](){const _0x554682=_0x22d19e;_0x4a5a1c[_0x554682(0x2b6)](this['_injector'],[[_0x8689c],[_0x440074['DesktopCollaborationStatusDisplayController']],[_0x29e630],[_0x6027b0],[_0x440074[_0x554682(0x230)]],[_0x2c1a4e]]),this['_config'][_0x554682(0x15c)]&&_0x4a5a1c['touchDependencies'](this[_0x554682(0x36e)],[[_0x44bd4f]]);}},_0x2a3c91(_0x440074[_0x22d19e(0x261)],'pluginName',_0x5de403),_0x440074[_0x22d19e(0x261)]=_0x22f639([_0x4a5a1c[_0x22d19e(0xc5)](_0x29cbea['UniverCollaborationClientPlugin']),_0x315a14(0x1,_0x5d2f68[_0x22d19e(0xcf)]),_0x315a14(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x315a14(0x3,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x261)]);var _0x37bd06=Object['getOwnPropertyDescriptor'],_0x1f5987=(_0x1e9b91,_0x22b710,_0x293ae9,_0x5a131a)=>{const _0x5e0c94=_0x22d19e;for(var _0x3d268d=_0x5a131a>0x1?void 0x0:_0x5a131a?_0x37bd06(_0x22b710,_0x293ae9):_0x22b710,_0x3722b2=_0x1e9b91[_0x5e0c94(0x29c)]-0x1,_0x511877;_0x3722b2>=0x0;_0x3722b2--)(_0x511877=_0x1e9b91[_0x3722b2])&&(_0x3d268d=_0x511877(_0x3d268d)||_0x3d268d);return _0x3d268d;},_0x252204=(_0x35d3d0,_0x5dd376)=>(_0x2266c9,_0x1b49e5)=>_0x5dd376(_0x2266c9,_0x1b49e5,_0x35d3d0);_0x440074[_0x22d19e(0x206)]=class extends _0x29cbea[_0x22d19e(0x2c3)]{constructor(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4){super(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4);}async[_0x22d19e(0x34c)](_0x2ac4e1){const _0x5b552d=_0x22d19e,_0x54140a=await this[_0x5b552d(0xde)](),_0xcb64cf=this['_createSocketURL'](_0x2ac4e1,_0x54140a);return this[_0x5b552d(0x1dc)](_0xcb64cf);}[_0x22d19e(0x31f)](_0x18e95d,_0x293332){const _0x2d2a62=_0x22d19e,_0x16a08a=typeof window>'u'?new URL(_0x18e95d):new URL(_0x18e95d,window[_0x2d2a62(0x2a3)][_0x2d2a62(0xc9)]);_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x13a),_0x293332);const _0x7e3f7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d2a62(0x2a3)]['search']);return _0x7e3f7e[_0x2d2a62(0x18e)](_0x2d2a62(0x193))&&_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x193),_0x7e3f7e['get'](_0x2d2a62(0x193))),_0x16a08a['toString']();}async[_0x22d19e(0xde)](){const _0x2abd49=_0x22d19e;var _0x3e7113,_0x39883f,_0x5b800c;const _0x453054=this[_0x2abd49(0x2f4)][_0x2abd49(0x1a5)](_0x29cbea[_0x2abd49(0x115)]),_0x184180=(_0x3e7113=_0x453054==null?void 0x0:_0x453054['wsSessionTicketUrl'])!=null?_0x3e7113:_0x29cbea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5b800c=(_0x39883f=(await this[_0x2abd49(0x33c)][_0x2abd49(0x18e)](_0x184180,{'headers':{'Content-Type':_0x2abd49(0x1d9)}}))['body'])==null?void 0x0:_0x39883f[_0x2abd49(0x15d)])!=null?_0x5b800c:'';}},_0x440074['BrowserCollaborationSocketService']=_0x1f5987([_0x252204(0x0,_0x4a5a1c['Inject'](_0x4a5a1c['Injector'])),_0x252204(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x252204(0x2,_0x4a5a1c[_0x22d19e(0xb9)]),_0x252204(0x3,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x252204(0x4,_0x4a6bb0['ISnapshotServerService'])],_0x440074[_0x22d19e(0x206)]);var _0x114027=Object[_0x22d19e(0x1e2)],_0xd87241=(_0x1656cc,_0x47eb8c,_0x416903,_0xc1f240)=>{const _0x13e513=_0x22d19e;for(var _0x3140e2=_0xc1f240>0x1?void 0x0:_0xc1f240?_0x114027(_0x47eb8c,_0x416903):_0x47eb8c,_0x2e13d5=_0x1656cc[_0x13e513(0x29c)]-0x1,_0x2654cb;_0x2e13d5>=0x0;_0x2e13d5--)(_0x2654cb=_0x1656cc[_0x2e13d5])&&(_0x3140e2=_0x2654cb(_0x3140e2)||_0x3140e2);return _0x3140e2;},_0x547ad9=(_0x39c96b,_0x4091ea)=>(_0xa02543,_0x56ff2e)=>_0x4091ea(_0xa02543,_0x56ff2e,_0x39c96b);_0x440074[_0x22d19e(0x1ef)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x5afd1e,_0x1f341b,_0x1c8206){const _0x154661=_0x22d19e;super(),this['_instanceService']=_0x5afd1e,this[_0x154661(0x33c)]=_0x1f341b,this[_0x154661(0x2f4)]=_0x1c8206;}async[_0x22d19e(0x2d9)](_0x1e68f9,_0x93e61e,_0x5e55d0,..._0x4d902c){const _0xa35e48=_0x22d19e;var _0x54c71c,_0x2fa3cf,_0x13745a,_0x25276b;const _0x76d44c=this['_instanceService'][_0xa35e48(0x36c)]();if(!_0x76d44c)throw new Error(_0xa35e48(0x2c5));const _0x2857cf=((_0x54c71c=this[_0xa35e48(0x2f4)][_0xa35e48(0x1a5)](_0x29cbea[_0xa35e48(0xfa)]))!=null?_0x54c71c:_0x29cbea['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e68f9+'/run/'+_0x93e61e,_0x86e036=new URL(window[_0xa35e48(0x2a3)][_0xa35e48(0x308)]),_0x410488={'scriptId':_0x1e68f9,'runId':(_0x2fa3cf=_0x86e036[_0xa35e48(0xdc)][_0xa35e48(0x18e)](_0xa35e48(0x193)))!=null?_0x2fa3cf:'','function':_0x93e61e,'unitId':_0x76d44c[_0xa35e48(0xb0)](),'argsOfFunction':JSON[_0xa35e48(0x22b)](_0x4d902c),'invokeId':(_0x13745a=_0x5e55d0['invokeId'])!=null?_0x13745a:'','executionId':(_0x25276b=_0x5e55d0[_0xa35e48(0xdb)])!=null?_0x25276b:''};try{const _0x1049a4=await this[_0xa35e48(0x33c)]['post'](_0x2857cf,{'body':_0x410488});return _0x1049a4['body'][_0xa35e48(0x1fd)]&&_0x1049a4['body'][_0xa35e48(0x1fd)][_0xa35e48(0x2cb)]!==_0x4dfe1b['OK']?_0xa35e48(0x340):_0x1049a4['body'][_0xa35e48(0x1f6)];}catch{return _0xa35e48(0x340);}}},_0x440074['RemoteUniscriptService']=_0xd87241([_0x547ad9(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x547ad9(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642[_0x22d19e(0x34b)])),_0x547ad9(0x2,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x1ef)]);const _0x19436c=0x7530,_0x6a45f=_0x22d19e(0x2b8);class _0x16b802 extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x4f791c=_0x22d19e;super(),_0xa63e61(this,_0x4f791c(0x155),_0x4a5a1c[_0x4f791c(0x151)]()),_0xa63e61(this,_0x4f791c(0x28b),new Set()),_0xa63e61(this,_0x4f791c(0x195),new Map()),_0xa63e61(this,_0x4f791c(0x35c),null),_0xa63e61(this,_0x4f791c(0x34d),new Map()),_0xa63e61(this,_0x4f791c(0x1e5),new Map()),this['_init']();}[_0x22d19e(0x210)](){const _0x3a33b7=_0x22d19e;super['dispose'](),this[_0x3a33b7(0x34d)][_0x3a33b7(0x316)]((_0x957d8c,_0x602d83)=>this[_0x3a33b7(0x19e)](_0x602d83)),this[_0x3a33b7(0x35c)]&&window[_0x3a33b7(0x27d)](this['_heartbeatTimer']);}[_0x22d19e(0x30e)](_0x202ca5){const _0x37d96d=_0x22d19e;return this[_0x37d96d(0x114)](_0x202ca5)[_0x37d96d(0x296)](_0x8d94e0[_0x37d96d(0x237)]());}[_0x22d19e(0x221)](_0x378ff1){const _0x36c268=_0x22d19e;this[_0x36c268(0x28b)]['size']===0x0&&this[_0x36c268(0x283)](),this[_0x36c268(0x28b)][_0x36c268(0x23a)](_0x378ff1),this[_0x36c268(0x2aa)]({'type':0x0,'memberID':this[_0x36c268(0x155)],'unitIDs':[_0x378ff1],'isForwarded':!0x1});}['disposeUnit'](_0x48d90c){const _0x4c0920=_0x22d19e;this[_0x4c0920(0x28b)]['delete'](_0x48d90c),this[_0x4c0920(0x28b)][_0x4c0920(0x94)]===0x0&&this[_0x4c0920(0x35c)]&&window[_0x4c0920(0x27d)](this[_0x4c0920(0x35c)]);}['_init'](){const _0x3337f6=_0x22d19e;this[_0x3337f6(0xe5)](_0x4a5a1c['toDisposable'](_0x8d94e0['fromEvent'](window,_0x3337f6(0x2df))[_0x3337f6(0x35e)](_0x2713d6=>{const _0x4ad767=_0x3337f6;if(_0x2713d6[_0x4ad767(0x1ac)]!==_0x6a45f||!_0x2713d6[_0x4ad767(0x20b)])return;const _0x5cf9d9=JSON[_0x4ad767(0x1b0)](_0x2713d6[_0x4ad767(0x20b)]);this[_0x4ad767(0xa4)](_0x5cf9d9);}))),window[_0x3337f6(0x24e)](_0x3337f6(0x245),()=>this[_0x3337f6(0x2aa)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3337f6(0x28b)])}));}[_0x22d19e(0xa4)](_0x5dd314){const _0x22506f=_0x22d19e;switch(_0x5dd314[_0x22506f(0x169)]){case 0x0:this[_0x22506f(0x271)](_0x5dd314);break;case 0x1:this['_handleLeaveEvent'](_0x5dd314);break;case 0x2:this['_handleHeartbeatEvent'](_0x5dd314);break;}}['_handleJoinEvent'](_0x38fbd2){const _0x467825=_0x22d19e,{unitIDs:_0x1ca779,memberID:_0x2c692f,isForwarded:_0x5c0861}=_0x38fbd2;_0x1ca779[_0x467825(0x316)](_0x52fac3=>{const _0x46cfb0=_0x467825;if(!_0x5c0861&&this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)&&this['_ensureSubject'](_0x52fac3)[_0x46cfb0(0x218)](_0x29cbea[_0x46cfb0(0x150)][_0x46cfb0(0x232)]),!this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)||!this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)[_0x46cfb0(0x241)](_0x2c692f)){const _0x925df5=this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)||new Set();_0x925df5[_0x46cfb0(0x23a)](_0x2c692f),this['_unitOnClients']['set'](_0x52fac3,_0x925df5),this[_0x46cfb0(0xc2)](_0x2c692f);}}),_0x5c0861||this[_0x467825(0x2aa)]({'type':0x0,'memberID':this[_0x467825(0x155)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22d19e(0xc2)](_0x340477){const _0x5878bc=_0x22d19e;this[_0x5878bc(0x19e)](_0x340477);const _0x5a1feb=window[_0x5878bc(0x253)](()=>{const _0x37ecb7=_0x5878bc;this[_0x37ecb7(0x195)]['forEach'](_0x3915f1=>{_0x3915f1['delete'](_0x340477);});},_0x19436c*0x2);this[_0x5878bc(0x34d)][_0x5878bc(0x25b)](_0x340477,_0x5a1feb);}['_removeClearOtherTimer'](_0x282e48){const _0x4e68a0=_0x22d19e;if(this[_0x4e68a0(0x34d)][_0x4e68a0(0x241)](_0x282e48)){const _0x3c155b=this[_0x4e68a0(0x34d)][_0x4e68a0(0x18e)](_0x282e48);_0x3c155b&&window['clearTimeout'](_0x3c155b),this[_0x4e68a0(0x34d)][_0x4e68a0(0x25b)](_0x282e48,null);}}[_0x22d19e(0x1f5)](_0x1178c2){const {memberID:_0x1e811f,unitIDs:_0x2d1af2}=_0x1178c2;_0x2d1af2['forEach'](_0xd593a3=>{const _0x27013f=_0x1ae4;var _0x2c113a;const _0x38ca65=this[_0x27013f(0x195)][_0x27013f(0x18e)](_0xd593a3);_0x38ca65&&(_0x38ca65[_0x27013f(0x1cd)](_0x1e811f),(_0x2c113a=this[_0x27013f(0x114)](_0xd593a3))==null||_0x2c113a[_0x27013f(0x218)](_0x38ca65['size']===0x0?_0x29cbea[_0x27013f(0x150)][_0x27013f(0x216)]:_0x29cbea[_0x27013f(0x150)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e811f);}['_handleHeartbeatEvent'](_0xe4a1ea){const _0x5b3ccc=_0x22d19e;this[_0x5b3ccc(0xc2)](_0xe4a1ea[_0x5b3ccc(0x27c)]);}['_send'](_0x343eee){const _0x40b4c9=_0x22d19e;localStorage[_0x40b4c9(0x292)](_0x6a45f,JSON[_0x40b4c9(0x22b)](_0x343eee));}['_scheduleHeartbeat'](){const _0x328506=_0x22d19e;this['_heartbeatTimer']=window[_0x328506(0x234)](()=>{const _0x39b939=_0x328506;this[_0x39b939(0x2aa)]({'type':0x2,'memberID':this['_id']});},_0x19436c);}['_ensureSubject'](_0x23a024){const _0x3e8e54=_0x22d19e;return this[_0x3e8e54(0x1e5)][_0x3e8e54(0x241)](_0x23a024)||this[_0x3e8e54(0x1e5)][_0x3e8e54(0x25b)](_0x23a024,new _0x8d94e0[(_0x3e8e54(0x90))](_0x29cbea['UnitStatus'][_0x3e8e54(0x216)])),this[_0x3e8e54(0x1e5)][_0x3e8e54(0x18e)](_0x23a024);}}_0x440074[_0x22d19e(0x19a)]=_0x1a7106,_0x440074[_0x22d19e(0x24c)]=_0x3fc4ac,_0x440074['WebBrowserSingleActiveUnitService']=_0x16b802,_0x440074[_0x22d19e(0x208)]=_0x1410ea,Object['defineProperty'](_0x440074,Symbol['toStringTag'],{'value':_0x22d19e(0x188)});}));
|