@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510180327 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x34bd42,_0xf12f03){const _0x36af80=_0x4227,_0x52cb0e=_0x34bd42();while(!![]){try{const _0x2ea451=parseInt(_0x36af80(0x217))/0x1+-parseInt(_0x36af80(0x3b5))/0x2+parseInt(_0x36af80(0x191))/0x3+parseInt(_0x36af80(0x30d))/0x4*(parseInt(_0x36af80(0x381))/0x5)+-parseInt(_0x36af80(0x328))/0x6+parseInt(_0x36af80(0x29c))/0x7*(-parseInt(_0x36af80(0x131))/0x8)+-parseInt(_0x36af80(0x394))/0x9;if(_0x2ea451===_0xf12f03)break;else _0x52cb0e['push'](_0x52cb0e['shift']());}catch(_0x472dfe){_0x52cb0e['push'](_0x52cb0e['shift']());}}}(_0x32c6,0x90763),function(_0x375097,_0x4a27fd){const _0x1a796e=_0x4227;typeof exports==_0x1a796e(0x3c6)&&typeof module<'u'?_0x4a27fd(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==_0x1a796e(0x1f5)&&define['amd']?define([_0x1a796e(0x122),_0x1a796e(0x279),_0x1a796e(0x27c),_0x1a796e(0x2cd),'@univerjs/ui',_0x1a796e(0x170),_0x1a796e(0x2a6),_0x1a796e(0x2c9),_0x1a796e(0x337),_0x1a796e(0x2a7),_0x1a796e(0x1cb),_0x1a796e(0x356),_0x1a796e(0x201),_0x1a796e(0x1e5),'@univerjs-pro/collaboration',_0x1a796e(0x1df),_0x1a796e(0x115),'rxjs/operators',_0x1a796e(0x1e3)],_0x4a27fd):(_0x375097=typeof globalThis<'u'?globalThis:_0x375097||self,_0x4a27fd(_0x375097[_0x1a796e(0x3b3)]={},_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x350)],_0x375097[_0x1a796e(0x347)],_0x375097[_0x1a796e(0x2e6)],_0x375097['rxjs'],_0x375097[_0x1a796e(0x20d)],_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x11d)],_0x375097['UniverSheets'],_0x375097[_0x1a796e(0x39c)],_0x375097['UniverNetwork'],_0x375097[_0x1a796e(0x2ba)],_0x375097[_0x1a796e(0x15d)],_0x375097[_0x1a796e(0x29d)],_0x375097[_0x1a796e(0x22d)],_0x375097['UniverEngineFormula'],_0x375097[_0x1a796e(0x170)]['operators'],_0x375097[_0x1a796e(0x2ca)]));}(this,function(_0x4205ba,_0x53f1cd,_0x184317,_0x3f9956,_0x26d040,_0x6aec0,_0x3fc7ae,_0x116b9f,_0x2abcd4,_0x13a368,_0x2dd116,_0x2b426c,_0xa8c85b,_0x386c76,_0x2de7d2,_0x333572,_0x2c79d7,_0x5f224d,_0x52f894){'use strict';const _0x3db0e4=_0x4227;var _0xe93974=Object[_0x3db0e4(0x197)],_0x376bcf=(_0x455d85,_0x581e6c,_0x383223)=>_0x581e6c in _0x455d85?_0xe93974(_0x455d85,_0x581e6c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383223}):_0x455d85[_0x581e6c]=_0x383223,_0x442022=(_0x374301,_0x2b8340,_0x42e02b)=>_0x376bcf(_0x374301,typeof _0x2b8340!=_0x3db0e4(0x3af)?_0x2b8340+'':_0x2b8340,_0x42e02b),_0xf22670=function(){const _0x105c81=_0x3db0e4;return _0xf22670=Object[_0x105c81(0x15c)]||function(_0x24166e){const _0x18d755=_0x105c81;for(var _0xe17cf8,_0x441ba2=0x1,_0xea10c4=arguments[_0x18d755(0xf8)];_0x441ba2<_0xea10c4;_0x441ba2++){_0xe17cf8=arguments[_0x441ba2];for(var _0x22cafc in _0xe17cf8)Object[_0x18d755(0x187)][_0x18d755(0x26d)][_0x18d755(0x180)](_0xe17cf8,_0x22cafc)&&(_0x24166e[_0x22cafc]=_0xe17cf8[_0x22cafc]);}return _0x24166e;},_0xf22670['apply'](this,arguments);},_0x4d4032=function(_0x2d09ab,_0x11215e){const _0x396c14=_0x3db0e4;var _0xf521c3={};for(var _0x25b9ab in _0x2d09ab)Object['prototype'][_0x396c14(0x26d)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab)&&_0x11215e[_0x396c14(0x329)](_0x25b9ab)<0x0&&(_0xf521c3[_0x25b9ab]=_0x2d09ab[_0x25b9ab]);if(_0x2d09ab!=null&&typeof Object[_0x396c14(0x331)]==_0x396c14(0x1f5)){for(var _0x44bcd3=0x0,_0x25b9ab=Object[_0x396c14(0x331)](_0x2d09ab);_0x44bcd3<_0x25b9ab[_0x396c14(0xf8)];_0x44bcd3++)_0x11215e[_0x396c14(0x329)](_0x25b9ab[_0x44bcd3])<0x0&&Object[_0x396c14(0x187)][_0x396c14(0x265)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab[_0x44bcd3])&&(_0xf521c3[_0x25b9ab[_0x44bcd3]]=_0x2d09ab[_0x25b9ab[_0x44bcd3]]);}return _0xf521c3;},_0x466f9f=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x23f60c,_0x1f4882){const _0x53e675=_0x3db0e4;var _0x8018a=_0x23f60c[_0x53e675(0x202)],_0x2c5df1=_0x23f60c['id'],_0x166e99=_0x23f60c['className'],_0x2331df=_0x23f60c[_0x53e675(0x15e)],_0xefa2f0=_0x4d4032(_0x23f60c,[_0x53e675(0x202),'id',_0x53e675(0x1f6),_0x53e675(0x15e)]),_0x1bee0f='univerjs-icon\x20univerjs-icon-'[_0x53e675(0x247)](_0x2c5df1,'\x20')[_0x53e675(0x247)](_0x166e99||'')['trim'](),_0x58bbc3=_0x116b9f[_0x53e675(0x27f)]('_'[_0x53e675(0x247)](_0x5260be()));return _0x539839(_0x8018a,''[_0x53e675(0x247)](_0x2c5df1),{'defIds':_0x8018a[_0x53e675(0x33d)],'idSuffix':_0x58bbc3[_0x53e675(0x3b2)]},_0xf22670({'ref':_0x1f4882,'className':_0x1bee0f},_0xefa2f0),_0x2331df);});function _0x539839(_0x371c19,_0x57a6be,_0x59c329,_0x4c07cf,_0x2d5534){const _0x27bbf9=_0x3db0e4;return _0x116b9f[_0x27bbf9(0x256)](_0x371c19[_0x27bbf9(0x227)],_0xf22670(_0xf22670({'key':_0x57a6be},_0xc7783(_0x371c19,_0x59c329,_0x2d5534)),_0x4c07cf),(_0x3bc023(_0x371c19,_0x59c329)[_0x27bbf9(0x2b2)]||[])[_0x27bbf9(0x3be)](function(_0x297be,_0x2c3be3){const _0x496fc7=_0x27bbf9;return _0x539839(_0x297be,''[_0x496fc7(0x247)](_0x57a6be,'-')[_0x496fc7(0x247)](_0x371c19['tag'],'-')[_0x496fc7(0x247)](_0x2c3be3),_0x59c329,void 0x0,_0x2d5534);}));}function _0xc7783(_0x445faf,_0xbe4f30,_0x5978e1){const _0x37fb95=_0x3db0e4;var _0x294504=_0xf22670({},_0x445faf[_0x37fb95(0x3bd)]);_0x5978e1!=null&&_0x5978e1[_0x37fb95(0x336)]&&_0x294504[_0x37fb95(0x126)]===_0x37fb95(0x336)&&(_0x294504[_0x37fb95(0x126)]=_0x5978e1[_0x37fb95(0x336)]),_0x445faf[_0x37fb95(0x227)]===_0x37fb95(0x28c)&&_0x294504['id']&&(_0x294504['id']=_0x294504['id']+_0xbe4f30[_0x37fb95(0x1c2)]),Object['entries'](_0x294504)[_0x37fb95(0x29f)](function(_0x110671){const _0x4d5a6a=_0x37fb95;var _0x2b1b02=_0x110671[0x0],_0x58f3f3=_0x110671[0x1];_0x2b1b02===_0x4d5a6a(0x28c)&&typeof _0x58f3f3==_0x4d5a6a(0x283)&&(_0x294504[_0x2b1b02]=_0x58f3f3[_0x4d5a6a(0x23b)](/url\(#(.*)\)/,_0x4d5a6a(0x2b4)[_0x4d5a6a(0x247)](_0xbe4f30['idSuffix'],')')));});var _0x3da2a4=_0xbe4f30[_0x37fb95(0x33d)];return!_0x3da2a4||_0x3da2a4[_0x37fb95(0xf8)]===0x0||(_0x445faf['tag']===_0x37fb95(0x332)&&_0x294504[_0x37fb95(0x27e)]&&(_0x294504[_0x37fb95(0x27e)]=_0x294504[_0x37fb95(0x27e)]+_0xbe4f30['idSuffix']),Object[_0x37fb95(0x322)](_0x294504)[_0x37fb95(0x29f)](function(_0x3c55b9){const _0x202528=_0x37fb95;var _0x49eabc=_0x3c55b9[0x0],_0x569a53=_0x3c55b9[0x1];typeof _0x569a53=='string'&&(_0x294504[_0x49eabc]=_0x569a53[_0x202528(0x23b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xbe4f30[_0x202528(0x1c2)],')')));})),_0x294504;}function _0x3bc023(_0x2c92c1,_0x44c14b){const _0x3c208a=_0x3db0e4;var _0x340d0a,_0x3dc3b3=_0x44c14b[_0x3c208a(0x33d)];return!_0x3dc3b3||_0x3dc3b3[_0x3c208a(0xf8)]===0x0?_0x2c92c1:_0x2c92c1[_0x3c208a(0x227)]==='defs'&&(!((_0x340d0a=_0x2c92c1[_0x3c208a(0x2b2)])===null||_0x340d0a===void 0x0)&&_0x340d0a['length'])?_0xf22670(_0xf22670({},_0x2c92c1),{'children':_0x2c92c1[_0x3c208a(0x2b2)][_0x3c208a(0x3be)](function(_0x4245ad){const _0x5495ef=_0x3c208a;return typeof _0x4245ad[_0x5495ef(0x3bd)]['id']=='string'&&_0x3dc3b3&&_0x3dc3b3[_0x5495ef(0x357)](_0x4245ad['attrs']['id'])?_0xf22670(_0xf22670({},_0x4245ad),{'attrs':_0xf22670(_0xf22670({},_0x4245ad['attrs']),{'id':_0x4245ad[_0x5495ef(0x3bd)]['id']+_0x44c14b[_0x5495ef(0x1c2)]})}):_0x4245ad;})}):_0x2c92c1;}function _0x5260be(){const _0xe47782=_0x3db0e4;return Math[_0xe47782(0x2a1)]()[_0xe47782(0x14a)](0x24)['substring'](0x2,0x8);}_0x466f9f['displayName']='UniverIcon';var _0x5c938e={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3db0e4(0x188),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db0e4(0x2c6)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':_0x3db0e4(0x37d),'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':_0x3db0e4(0x372),'strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x13a)},'children':[{'tag':'path','attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f)}}]}]}],'defIds':[_0x3db0e4(0x13a)]},_0x2382d7=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x483f2d,_0x199242){const _0x4d6ff1=_0x3db0e4;return _0x116b9f[_0x4d6ff1(0x256)](_0x466f9f,Object[_0x4d6ff1(0x15c)]({},_0x483f2d,{'id':'off-line-icon','ref':_0x199242,'icon':_0x5c938e}));});_0x2382d7[_0x3db0e4(0x330)]='OffLineIcon';var _0x242c52={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3db0e4(0x10f),'height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':'round','strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x1c8)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f),'transform':_0x3db0e4(0x319)}}]}]}],'defIds':[_0x3db0e4(0x1c8)]},_0x137c00=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x3c8641,_0x3931a2){const _0x173e43=_0x3db0e4;return _0x116b9f['createElement'](_0x466f9f,Object[_0x173e43(0x15c)]({},_0x3c8641,{'id':_0x173e43(0x10e),'ref':_0x3931a2,'icon':_0x242c52}));});_0x137c00[_0x3db0e4(0x330)]=_0x3db0e4(0x3bc);function _0x3547fe(_0x4dc4e2){const _0x347b84=_0x3db0e4;switch(_0x4dc4e2){case _0x184317[_0x347b84(0x371)][_0x347b84(0x342)]:return'collabStatus.offline';case _0x184317['CollaborationStatus']['CONFLICT']:return _0x347b84(0x272);case _0x184317[_0x347b84(0x371)][_0x347b84(0x2a8)]:return _0x347b84(0x2d0);case _0x184317[_0x347b84(0x371)]['NOT_COLLAB']:return _0x347b84(0x2f4);case _0x184317['CollaborationStatus'][_0x347b84(0x2d6)]:case _0x184317[_0x347b84(0x371)][_0x347b84(0x167)]:return _0x347b84(0x304);case _0x184317[_0x347b84(0x371)][_0x347b84(0x21f)]:case _0x184317[_0x347b84(0x371)]['PENDING']:return _0x347b84(0x160);}}function _0x582d7e(_0x142c26){const _0x434ba3=_0x3db0e4,{status$:_0x53c491}=_0x142c26,_0x5887a3=_0x26d040['useObservable'](_0x53c491,_0x184317[_0x434ba3(0x371)][_0x434ba3(0x11b)]),_0x2ff1ec=_0x26d040[_0x434ba3(0x192)](_0x3f9956[_0x434ba3(0x39e)]),_0x17cec2=_0x26d040['useDependency'](_0x184317['CollaborationSessionService']),_0x16f2a5=_0x5887a3!==_0x184317['CollaborationStatus'][_0x434ba3(0x342)],_0x15f98d=_0x2ff1ec['t'](_0x3547fe(_0x5887a3)),_0x35b015=_0x16f2a5?_0x53f1cd['jsx'](_0x137c00,{}):_0x53f1cd[_0x434ba3(0x2fc)](_0x2382d7,{}),_0x2937a7=_0x116b9f[_0x434ba3(0x1fc)](()=>{const _0x119dab=_0x434ba3;_0x16f2a5||_0x17cec2[_0x119dab(0x2e8)]();},[_0x16f2a5,_0x17cec2]);function _0x4a71b7(){const _0x43bdf3=_0x434ba3;return _0x53f1cd[_0x43bdf3(0x1f4)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2937a7,'children':[_0x53f1cd['jsx'](_0x43bdf3(0x162),{'className':_0x3fc7ae['clsx'](_0x43bdf3(0x2c0),{'univer-text-green-500':_0x16f2a5,'univer-text-red-500':!_0x16f2a5}),'children':_0x35b015}),_0x53f1cd[_0x43bdf3(0x2fc)](_0x43bdf3(0x162),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x15f98d})]});}return _0x16f2a5?_0x4a71b7():_0x53f1cd['jsx'](_0x3fc7ae[_0x434ba3(0x10c)],{'title':_0x2ff1ec['t']('collab-client.tooltip.reconnect'),'children':_0x4a71b7()});}var _0x3bf36f=Object['getOwnPropertyDescriptor'],_0x6324a6=(_0x2dc49d,_0x23a36f,_0x484443,_0x443d87)=>{const _0x5a1cde=_0x3db0e4;for(var _0x31c24=_0x443d87>0x1?void 0x0:_0x443d87?_0x3bf36f(_0x23a36f,_0x484443):_0x23a36f,_0x399399=_0x2dc49d[_0x5a1cde(0xf8)]-0x1,_0x509525;_0x399399>=0x0;_0x399399--)(_0x509525=_0x2dc49d[_0x399399])&&(_0x31c24=_0x509525(_0x31c24)||_0x31c24);return _0x31c24;},_0x2542c5=(_0x586221,_0x2f1e8e)=>(_0x100e77,_0x575832)=>_0x2f1e8e(_0x100e77,_0x575832,_0x586221);_0x4205ba['DesktopCollaborationStatusDisplayController']=class extends _0x3f9956['Disposable']{constructor(_0x30a5d5,_0x29b97c,_0x341bea,_0x43fa3f){const _0x30285d=_0x3db0e4;super(),_0x442022(this,_0x30285d(0x1f3),new _0x6aec0[(_0x30285d(0x154))](_0x184317['CollaborationStatus'][_0x30285d(0x11b)])),(this[_0x30285d(0x205)]=_0x30a5d5,this['_injector']=_0x29b97c,this['_collaborationController']=_0x341bea,this[_0x30285d(0x3bf)]=_0x43fa3f,this[_0x30285d(0x1e2)](),this[_0x30285d(0x218)]());}[_0x3db0e4(0x218)](){const _0x3db3c0=_0x3db0e4;this[_0x3db3c0(0x20e)](this[_0x3db3c0(0x205)][_0x3db3c0(0x20f)][_0x3db3c0(0xf7)](_0x6aec0['switchMap'](()=>{const _0x1bd2df=_0x3db3c0,_0x2ffa3c=this[_0x1bd2df(0x205)][_0x1bd2df(0x230)]();return _0x2ffa3c?this['_collaborationController'][_0x1bd2df(0x1c3)](_0x2ffa3c[_0x1bd2df(0x3aa)]()):_0x6aec0['of'](null);}),_0x6aec0[_0x3db3c0(0x2dc)](_0x1913f1=>_0x1913f1?_0x1913f1[_0x3db3c0(0x36a)]:_0x6aec0['of'](_0x184317['CollaborationStatus']['NOT_COLLAB'])))[_0x3db3c0(0x29b)](_0x44c753=>{this['_status$']['next'](_0x44c753);}));}['_initStatusComponent'](){const _0x3534b4=_0x3db0e4;this[_0x3534b4(0x20e)](this[_0x3534b4(0x3bf)][_0x3534b4(0x194)](_0x26d040[_0x3534b4(0x362)][_0x3534b4(0x1ff)],()=>_0x26d040[_0x3534b4(0x2ab)](_0xb15acc({'status$':this[_0x3534b4(0x1f3)][_0x3534b4(0x244)]()}),this[_0x3534b4(0x15f)])));}},_0x4205ba[_0x3db0e4(0x171)]=_0x6324a6([_0x2542c5(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x2542c5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2542c5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x206)])),_0x2542c5(0x3,_0x26d040[_0x3db0e4(0x209)])],_0x4205ba['DesktopCollaborationStatusDisplayController']);function _0xb15acc(_0x32f160){const {status$:_0x263112}=_0x32f160;return function(){return _0x53f1cd['jsx'](_0x582d7e,{'status$':_0x263112});};}const _0x3958fd=_0x3f9956[_0x3db0e4(0x172)]('uni.network.url-service');var _0x24d530=Object['getOwnPropertyDescriptor'],_0xc0039e=(_0x3ae61c,_0x3ef0be,_0x27308a,_0x21e323)=>{const _0x2402d6=_0x3db0e4;for(var _0x28c703=_0x21e323>0x1?void 0x0:_0x21e323?_0x24d530(_0x3ef0be,_0x27308a):_0x3ef0be,_0x3e1882=_0x3ae61c[_0x2402d6(0xf8)]-0x1,_0x370656;_0x3e1882>=0x0;_0x3e1882--)(_0x370656=_0x3ae61c[_0x3e1882])&&(_0x28c703=_0x370656(_0x28c703)||_0x28c703);return _0x28c703;},_0x52771d=(_0x125404,_0x1fe3c6)=>(_0x43d508,_0x1fdccc)=>_0x1fe3c6(_0x43d508,_0x1fdccc,_0x125404);_0x4205ba['CollaborationDataLoaderController']=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x12d508,_0x1ca77a,_0x456d2e,_0x5d639e,_0x432bb0){const _0x25b87b=_0x3db0e4;super(),this[_0x25b87b(0x1aa)]=_0x12d508,this[_0x25b87b(0x237)]=_0x1ca77a,this['_commandService']=_0x456d2e,this[_0x25b87b(0x2f3)]=_0x5d639e,_0x432bb0?_0x432bb0==null||_0x432bb0[_0x25b87b(0x20c)]()[_0x25b87b(0x354)](()=>this[_0x25b87b(0x18a)]()):(this['_logService'][_0x25b87b(0x1cc)](_0x25b87b(0x1ee),_0x25b87b(0x2d3)),this[_0x25b87b(0x18a)]());}async['_init'](){const _0x693ec=_0x3db0e4,_0x3c8d30=this['_urlService']['getParam'](_0x693ec(0x10d)),_0x54ad5d=this[_0x693ec(0x1aa)][_0x693ec(0x3a4)](_0x693ec(0x3a0)),_0x3968f7=this[_0x693ec(0x1aa)]['getParam'](_0x693ec(0x16b));if(!_0x3c8d30||!_0x54ad5d){this[_0x693ec(0x237)][_0x693ec(0x1cc)](_0x693ec(0x1ee),_0x693ec(0x1a1));return;}const _0x549cd9=await this[_0x693ec(0x2f3)][_0x693ec(0x3a7)](_0x3c8d30,Number(_0x54ad5d),_0x3968f7);_0x549cd9&&_0x549cd9 instanceof _0x3f9956[_0x693ec(0x334)]&&this[_0x693ec(0x39f)](_0x549cd9);}async[_0x3db0e4(0x39f)](_0x15c9ae){const _0x250253=_0x3db0e4;await this[_0x250253(0x149)](_0x15c9ae),_0x15c9ae[_0x250253(0x1ef)][_0x250253(0xf7)](_0x6aec0[_0x250253(0x277)](this['dispose$']))[_0x250253(0x29b)](_0x15e911=>{const _0x509f69=_0x250253;_0x15e911&&this[_0x509f69(0x2ac)](_0x15e911);}),this[_0x250253(0x1aa)][_0x250253(0x25f)]['pipe'](_0x6aec0[_0x250253(0x277)](this[_0x250253(0x107)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x15c9ae));}[_0x3db0e4(0x2ac)](_0x8b76c8,_0x266645=!0x1){const _0x19bee8=_0x3db0e4,_0x527b43=this['_urlService'][_0x19bee8(0x3a4)](_0x19bee8(0x16b));_0x8b76c8[_0x19bee8(0x1db)]()!==_0x527b43&&this['_urlService']['setParam'](_0x19bee8(0x16b),_0x8b76c8[_0x19bee8(0x1db)](),_0x266645);}async[_0x3db0e4(0x149)](_0x890766){const _0xb5a9e0=_0x3db0e4;var _0x7ed54e;const _0x2e8738=this[_0xb5a9e0(0x1aa)][_0xb5a9e0(0x3a4)]('subunit');if(!_0x2e8738||!_0x890766[_0xb5a9e0(0x36f)](_0x2e8738)){const _0xe8a332=_0x890766[_0xb5a9e0(0x146)]()[0x0],_0x430a70=_0x890766[_0xb5a9e0(0x36f)](_0xe8a332);if(!_0x430a70)return;this['_updateURLWithCurrentState'](_0x430a70,!0x0),await this['_commandService']['executeCommand'](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766[_0xb5a9e0(0x3aa)](),'subUnitId':_0xe8a332});return;}((_0x7ed54e=_0x890766[_0xb5a9e0(0x1bd)]())==null?void 0x0:_0x7ed54e[_0xb5a9e0(0x1db)]())!==_0x2e8738&&await this[_0xb5a9e0(0x278)][_0xb5a9e0(0x3ad)](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766['getUnitId'](),'subUnitId':_0x2e8738});}},_0x4205ba[_0x3db0e4(0x309)]=_0xc0039e([_0x52771d(0x0,_0x3958fd),_0x52771d(0x1,_0x3f9956['ILogService']),_0x52771d(0x2,_0x3f9956[_0x3db0e4(0x30c)]),_0x52771d(0x3,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x35f)])),_0x52771d(0x4,_0x3f9956['Optional'](_0x2abcd4[_0x3db0e4(0x3c4)]))],_0x4205ba[_0x3db0e4(0x309)]);var _0xa65399=Object[_0x3db0e4(0x2d1)],_0x1109ce=(_0x11d232,_0x236cda,_0x36d611,_0x3de889)=>{for(var _0x441714=_0x3de889>0x1?void 0x0:_0x3de889?_0xa65399(_0x236cda,_0x36d611):_0x236cda,_0x4ba979=_0x11d232['length']-0x1,_0xacff6a;_0x4ba979>=0x0;_0x4ba979--)(_0xacff6a=_0x11d232[_0x4ba979])&&(_0x441714=_0xacff6a(_0x441714)||_0x441714);return _0x441714;},_0x27aa5e=(_0x3a3224,_0x581c76)=>(_0x270c5a,_0x55c33c)=>_0x581c76(_0x270c5a,_0x55c33c,_0x3a3224);let _0x5c2573=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x3a9a16,_0x2504cb){const _0x17d5b0=_0x3db0e4;super(),this[_0x17d5b0(0x1fe)]=_0x3a9a16,this[_0x17d5b0(0x1fa)]=_0x2504cb,this[_0x17d5b0(0x18a)]();}['_init'](){const _0x255aeb=_0x3db0e4,_0x5c1740=this;this[_0x255aeb(0x20e)](this['_docClipboardService'][_0x255aeb(0x16f)]({'onBeforePasteImage':async _0x41ae50=>{const _0x2d2933=_0x255aeb,_0x261486=await _0x5c1740[_0x2d2933(0x1fa)][_0x2d2933(0x27d)](_0x41ae50);return _0x261486?{'source':_0x261486[_0x2d2933(0x2b5)],'imageSourceType':_0x261486[_0x2d2933(0x3c7)]}:null;}}));}};_0x5c2573=_0x1109ce([_0x27aa5e(0x0,_0xa8c85b['IDocClipboardService']),_0x27aa5e(0x1,_0x386c76[_0x3db0e4(0x15a)])],_0x5c2573);const _0xe9e8c5=[_0x3db0e4(0x375),'jiqing.500','green.600',_0x3db0e4(0x2f8),_0x3db0e4(0x19c),_0x3db0e4(0x340)];class _0x5cb38a extends _0x3f9956['Disposable']{constructor(){const _0x1df49c=_0x3db0e4;super(...arguments),_0x442022(this,'_assignedColors',new Map()),_0x442022(this,_0x1df49c(0x164),0x0);}[_0x3db0e4(0x363)](_0x445c75){const _0x2ac207=_0x3db0e4;if(this[_0x2ac207(0x3a3)][_0x2ac207(0x3a8)](_0x445c75))return this['_assignedColors'][_0x2ac207(0x392)](_0x445c75);const _0x516fcd=_0xe9e8c5[this[_0x2ac207(0x164)]];return this[_0x2ac207(0x164)]=(this[_0x2ac207(0x164)]+0x1)%_0xe9e8c5[_0x2ac207(0xf8)],this[_0x2ac207(0x3a3)][_0x2ac207(0x26f)](_0x445c75,_0x516fcd),_0x516fcd;}}function _0x4035a4(_0x201123){let _0x5ea915='';for(const _0x25ee08 of _0x201123){const {startOffset:_0x20b3d6,endOffset:_0x36edc8,isActive:_0x59a922,rangeType:_0x540c02,segmentId:_0x5de7b1,segmentPage:_0x4f8987}=_0x25ee08;_0x5ea915['length']&&(_0x5ea915+=','),_0x5ea915+=_0x20b3d6+':'+_0x36edc8+':'+(_0x59a922?'1':'0')+':'+_0x540c02+':'+_0x5de7b1+':'+_0x4f8987;}return _0x5ea915;}function _0xe72dbf(_0x70e774){const _0x131a96=_0x3db0e4,_0x51b934=_0x70e774[_0x131a96(0x243)](','),_0x3b0aab=[];for(const _0x2f255f of _0x51b934){const [_0x4a2a9c,_0x5cf604,_0x447f79,_0x2d06a7,_0x3b756d,_0x1fa0ad]=_0x2f255f[_0x131a96(0x243)](':');_0x3b0aab[_0x131a96(0x1ae)]({'startOffset':Number(_0x4a2a9c),'endOffset':Number(_0x5cf604),'collapsed':_0x4a2a9c===_0x5cf604,'isActive':_0x447f79==='1','rangeType':_0x2d06a7===_0x3f9956['DOC_RANGE_TYPE'][_0x131a96(0x355)]?_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x355)]:_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x1b6)],'segmentId':typeof _0x3b756d=='string'?String(_0x3b756d):'','segmentPage':Number(_0x1fa0ad!=null?_0x1fa0ad:-0x1)});}return _0x3b0aab[_0x131a96(0x12e)](_0x9ce161=>_0x9ce161[_0x131a96(0x22b)])||(_0x3b0aab[0x0]['isActive']=!0x0),_0x3b0aab;}class _0x5e3cb6 extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(){const _0x383f14=_0x3db0e4;super(...arguments),_0x442022(this,_0x383f14(0x10b),new _0x6aec0[(_0x383f14(0x154))](null)),_0x442022(this,'collabCursorState$',this[_0x383f14(0x10b)][_0x383f14(0x244)]());}[_0x3db0e4(0x1a4)](_0x13d5e1){const _0x2b53f6=_0x3db0e4,{unitID:_0x150162,memberID:_0x2279e6,textRanges:_0x462372}=_0x13d5e1,_0x43c7c7=_0x4035a4(_0x462372);if(_0x43c7c7==='')return;const _0x5f358d={'unitID':_0x150162,'memberID':_0x2279e6,'selection':_0x43c7c7};this['_collabCursorState$'][_0x2b53f6(0x360)](_0x5f358d);}}var _0x4d6fca=Object[_0x3db0e4(0x2d1)],_0x3ed3f5=(_0x29ad26,_0x3a0bd2,_0x455a0d,_0x7dfe70)=>{for(var _0x4b40a4=_0x7dfe70>0x1?void 0x0:_0x7dfe70?_0x4d6fca(_0x3a0bd2,_0x455a0d):_0x3a0bd2,_0x560724=_0x29ad26['length']-0x1,_0x182ec9;_0x560724>=0x0;_0x560724--)(_0x182ec9=_0x29ad26[_0x560724])&&(_0x4b40a4=_0x182ec9(_0x4b40a4)||_0x4b40a4);return _0x4b40a4;},_0xfcec48=(_0x5bc2cd,_0x24d2e8)=>(_0x5e45c1,_0x981494)=>_0x24d2e8(_0x5e45c1,_0x981494,_0x5bc2cd);const _0xaeb3f8=0x12c,_0x33a3bc=0x64;let _0x654d15=class extends _0x3f9956['RxDisposable']{constructor(_0x395097,_0x937b67,_0x434cca,_0x2c3491,_0x3919c7,_0x56894c,_0x6413c7,_0x1e1f31,_0x2e9e6){const _0x8d889a=_0x3db0e4;super(),_0x442022(this,_0x8d889a(0x2fb),!0x1),_0x442022(this,_0x8d889a(0x18a),!0x1),_0x442022(this,'_cursorInfo$',new _0x6aec0[(_0x8d889a(0x154))](new Map())),_0x442022(this,_0x8d889a(0x19b),this[_0x8d889a(0xf4)]['asObservable']()),_0x442022(this,_0x8d889a(0xf0),new _0x6aec0[(_0x8d889a(0x154))]([])),_0x442022(this,_0x8d889a(0x2f7),this['_roomMembers$'][_0x8d889a(0xf7)](_0x6aec0[_0x8d889a(0x2e3)](_0xaeb3f8))),_0x442022(this,_0x8d889a(0x1b2),_0x3f9956[_0x8d889a(0x145)](_0x17ca1e=>{const _0x1bdb57=_0x8d889a,_0x35810c={'eventID':_0x2de7d2[_0x1bdb57(0x389)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bdb57(0x297)],'memberID':this[_0x1bdb57(0x31f)][_0x1bdb57(0x1d6)](),'selection':_0x4035a4(_0x17ca1e)}};this[_0x1bdb57(0x31f)][_0x1bdb57(0x112)](_0x35810c,this['unitID']);},_0x33a3bc)),(this[_0x8d889a(0x297)]=_0x395097,this[_0x8d889a(0x31f)]=_0x937b67,this['_injector']=_0x434cca,this[_0x8d889a(0x1c5)]=_0x2c3491,this['_memberService']=_0x3919c7,this[_0x8d889a(0x390)]=_0x56894c,this[_0x8d889a(0x2da)]=_0x6413c7,this['_univerInstanceService']=_0x1e1f31,this[_0x8d889a(0x278)]=_0x2e9e6);}get['cursorInfo'](){const _0x208db0=_0x3db0e4;return this[_0x208db0(0xf4)][_0x208db0(0x1d4)]();}get[_0x3db0e4(0x324)](){const _0x484ffd=_0x3db0e4;return this[_0x484ffd(0xf0)][_0x484ffd(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0x59e43a=_0x3db0e4;super[_0x59e43a(0x14f)](),this['_cursorInfo$'][_0x59e43a(0x360)](new Map()),this[_0x59e43a(0xf4)]['complete'](),this[_0x59e43a(0xf0)][_0x59e43a(0x360)]([]),this[_0x59e43a(0xf0)]['complete']();}[_0x3db0e4(0x106)](){const _0x3f478a=_0x3db0e4;this[_0x3f478a(0x18a)]||(this['_init']=!0x0,this[_0x3f478a(0x31f)][_0x3f478a(0x306)][_0x3f478a(0xf7)](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x5e2214=>{const _0x4edd40=_0x3f478a;_0x5e2214===_0x184317[_0x4edd40(0x2bf)][_0x4edd40(0x143)]?this['_toggleOnline']():this[_0x4edd40(0x2c4)]();}),this[_0x3f478a(0x31f)][_0x3f478a(0x248)]['pipe'](_0x6aec0['takeUntil'](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x4e1474=>{const _0x50cce7=_0x3f478a,_0x491ee4=_0x4e1474[_0x50cce7(0x157)];_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x140)]&&this['_onCursorUpdate'](_0x4e1474),_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x120)]&&this[_0x50cce7(0x33b)](_0x4e1474);}),this[_0x3f478a(0x20e)](this['_commandService'][_0x3f478a(0x14d)](_0x4af4dd=>{const _0x9dfc63=_0x3f478a,_0x3e3a42=_0x4af4dd['params'];_0x3e3a42!=null&&this[_0x9dfc63(0x2fb)]&&_0x4af4dd['id']===_0x333572['SetTextSelectionsOperation']['id']&&_0x3e3a42[_0x9dfc63(0x2bc)]===this[_0x9dfc63(0x297)]&&_0x3e3a42[_0x9dfc63(0x11e)]===!0x1&&_0x3e3a42[_0x9dfc63(0x2c8)][_0x9dfc63(0xf8)]>0x0&&this[_0x9dfc63(0x1b2)](_0x3e3a42[_0x9dfc63(0x2c8)]);})),this[_0x3f478a(0x390)]['collabCursorState$']['pipe'](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))['subscribe'](_0x861ad8=>{const _0x7ff392=_0x3f478a;if((_0x861ad8==null?void 0x0:_0x861ad8[_0x7ff392(0x297)])!==this[_0x7ff392(0x297)])return;const _0x11ef15={'eventID':_0x2de7d2[_0x7ff392(0x389)][_0x7ff392(0x140)],'data':_0x861ad8};this['_onCursorUpdate'](_0x11ef15);}),this[_0x3f478a(0x20e)](this[_0x3f478a(0x278)]['onCommandExecuted'](_0x2f34d0=>{const _0x18b43d=_0x3f478a;if(_0x2f34d0[_0x18b43d(0x176)]==null)return;const _0x137ed7=_0x2f34d0[_0x18b43d(0x176)];if(_0x2f34d0['id']!==_0x333572['RichTextEditingMutation']['id']||_0x137ed7[_0x18b43d(0x2bc)]!==this['unitID'])return;const _0x20cbb2={'id':'doc.mutation.rich-text-editing','params':_0x137ed7},_0x179789=this[_0x18b43d(0x2d7)];for(const [_0x29eebe,_0xc335de]of _0x179789){const _0x44ec33={'id':_0x18b43d(0x260),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc335de['ranges']}},_0x4788a1=this['_transformService']['transformMutation'](_0x20cbb2,_0x44ec33,!0x1);if(_0x2de7d2[_0x18b43d(0x18d)](_0x4788a1))throw _0x4788a1[_0x18b43d(0x235)];_0x179789[_0x18b43d(0x26f)](_0x29eebe,{..._0xc335de,'ranges':_0x4788a1[_0x18b43d(0x333)][_0x18b43d(0x176)][_0x18b43d(0x2c2)]});}queueMicrotask(()=>{const _0x5998f5=_0x18b43d;this[_0x5998f5(0xf4)][_0x5998f5(0x360)](_0x179789);});})));}[_0x3db0e4(0x129)](_0x5b83ae){const _0x4748ef=_0x3db0e4;var _0x5a84e8,_0x22a8c5;const {memberID:_0x2b4dd9,selection:_0x2d74a5}=_0x5b83ae[_0x4748ef(0xf3)],_0x4fb838=_0xe72dbf(_0x2d74a5),_0x39dd8e=(_0x22a8c5=(_0x5a84e8=this[_0x4748ef(0x195)]['getMember'](this[_0x4748ef(0x297)],_0x2b4dd9))==null?void 0x0:_0x5a84e8['name'])!=null?_0x22a8c5:_0x4748ef(0x148),_0x182300={'color':this[_0x4748ef(0x1c5)][_0x4748ef(0x363)](_0x2b4dd9),'name':_0x39dd8e,'ranges':_0x4fb838},_0xa26863=this['cursorInfo'];_0xa26863[_0x4748ef(0x26f)](_0x2b4dd9,_0x182300),this[_0x4748ef(0xf4)]['next'](_0xa26863);}[_0x3db0e4(0x33b)](_0x49f730){const _0x499c9b=_0x3db0e4,{memberID:_0x3823a7}=_0x49f730[_0x499c9b(0xf3)],_0x584536=this['cursorInfo'];_0x584536[_0x499c9b(0x1ce)](_0x3823a7),this[_0x499c9b(0xf4)]['next'](_0x584536);}[_0x3db0e4(0x34b)](){const _0x20e51b=_0x3db0e4;var _0x3f803e;if(this['_online']=!0x0,((_0x3f803e=this[_0x20e51b(0x205)][_0x20e51b(0x230)]())==null?void 0x0:_0x3f803e['getUnitId']())!==this[_0x20e51b(0x297)])return;const _0x2751f7=this[_0x20e51b(0x15f)][_0x20e51b(0x392)](_0x333572[_0x20e51b(0x29a)])[_0x20e51b(0x1ac)]();Array['isArray'](_0x2751f7)&&_0x2751f7[_0x20e51b(0xf8)]>0x0&&this[_0x20e51b(0x1b2)](_0x2751f7);}[_0x3db0e4(0x2c4)](){const _0x276e72=_0x3db0e4;this[_0x276e72(0x2fb)]=!0x1;}};_0x654d15=_0x3ed3f5([_0xfcec48(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0xfcec48(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0xfcec48(0x4,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x323)])),_0xfcec48(0x5,_0x3f9956['Inject'](_0x5e3cb6)),_0xfcec48(0x6,_0x2de7d2['ITransformService']),_0xfcec48(0x7,_0x3f9956[_0x3db0e4(0x264)]),_0xfcec48(0x8,_0x3f9956[_0x3db0e4(0x30c)])],_0x654d15);var _0x757cd8=Object[_0x3db0e4(0x2d1)],_0x12a958=(_0x33f82f,_0xee74cf,_0xc8a720,_0x4701b4)=>{const _0x241dea=_0x3db0e4;for(var _0x2e9fd2=_0x4701b4>0x1?void 0x0:_0x4701b4?_0x757cd8(_0xee74cf,_0xc8a720):_0xee74cf,_0x2cf10c=_0x33f82f[_0x241dea(0xf8)]-0x1,_0x19954a;_0x2cf10c>=0x0;_0x2cf10c--)(_0x19954a=_0x33f82f[_0x2cf10c])&&(_0x2e9fd2=_0x19954a(_0x2e9fd2)||_0x2e9fd2);return _0x2e9fd2;},_0x865286=(_0x43a21d,_0x2d9f66)=>(_0x5ee647,_0x3208dc)=>_0x2d9f66(_0x5ee647,_0x3208dc,_0x43a21d);const _0x29f938=0x12c,_0x8f6363=0x64,_0x54f247=()=>{let _0x226603=[],_0x46e341=!0x1;return _0x13050c=>{const _0x263b8a=_0x4227;_0x226603[_0x263b8a(0x1ae)](_0x13050c),_0x46e341||(_0x46e341=!0x0,setTimeout(()=>{const _0x391235=_0x263b8a;_0x226603[_0x391235(0x29f)](_0x3be6f4=>_0x3be6f4()),_0x226603=[],_0x46e341=!0x1;}));};};let _0x2209c0=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x16fde9,_0x1d292e,_0x1c556c,_0x46752b,_0x366c68,_0x25701f,_0x2f03d3,_0x346e20){const _0x5ba21b=_0x3db0e4;super(),_0x442022(this,_0x5ba21b(0x2fb),!0x1),_0x442022(this,_0x5ba21b(0x18a),!0x1),_0x442022(this,_0x5ba21b(0xf4),new _0x6aec0['BehaviorSubject'](new Map())),_0x442022(this,'cursorInfo$',this[_0x5ba21b(0xf4)]['asObservable']()),_0x442022(this,_0x5ba21b(0xf0),new _0x6aec0['BehaviorSubject']([])),_0x442022(this,_0x5ba21b(0x2f7),this[_0x5ba21b(0xf0)]['pipe'](_0x6aec0[_0x5ba21b(0x2e3)](_0x29f938))),_0x442022(this,_0x5ba21b(0x1b2),_0x3f9956[_0x5ba21b(0x145)]((_0x1a462b,_0x28718a)=>{const _0x55afda=_0x5ba21b,_0x4584df={'eventID':_0x2de7d2[_0x55afda(0x389)][_0x55afda(0x140)],'data':{'unitID':this[_0x55afda(0x297)],'memberID':this[_0x55afda(0x31f)]['getMemberID'](),'selection':_0x2c79d7['serializeRangeWithSheet'](_0x1a462b,_0x28718a[_0x55afda(0x268)])}};this[_0x55afda(0x31f)][_0x55afda(0x112)](_0x4584df,this[_0x55afda(0x297)]);},_0x8f6363)),(this[_0x5ba21b(0x297)]=_0x16fde9,this[_0x5ba21b(0x31f)]=_0x1d292e,this[_0x5ba21b(0x15f)]=_0x1c556c,this[_0x5ba21b(0x1c5)]=_0x46752b,this[_0x5ba21b(0x195)]=_0x366c68,this[_0x5ba21b(0x205)]=_0x25701f,this[_0x5ba21b(0x278)]=_0x2f03d3,this['_refRangeService']=_0x346e20);}get[_0x3db0e4(0x2d7)](){const _0x4d1082=_0x3db0e4;return this[_0x4d1082(0xf4)]['getValue']();}get[_0x3db0e4(0x324)](){const _0x4cd236=_0x3db0e4;return this['_roomMembers$'][_0x4cd236(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0xf12b91=_0x3db0e4;super[_0xf12b91(0x14f)](),this[_0xf12b91(0xf4)][_0xf12b91(0x360)](new Map()),this['_cursorInfo$'][_0xf12b91(0x2ef)](),this[_0xf12b91(0xf0)][_0xf12b91(0x360)]([]),this[_0xf12b91(0xf0)][_0xf12b91(0x2ef)]();}['init'](){const _0x32b27c=_0x3db0e4;this['_init']||(this[_0x32b27c(0x18a)]=!0x0,this['_session'][_0x32b27c(0x306)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))[_0x32b27c(0x29b)](_0x512bb4=>{const _0x5918a9=_0x32b27c;_0x512bb4===_0x184317[_0x5918a9(0x2bf)]['ONLINE']?this['_toggleOnline']():this[_0x5918a9(0x2c4)]();}),this[_0x32b27c(0x31f)][_0x32b27c(0x248)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))['subscribe'](_0x29b807=>{const _0x599809=_0x32b27c,_0x51a262=_0x29b807[_0x599809(0x157)];_0x51a262===_0x2de7d2['CollaborationEvent'][_0x599809(0x140)]&&this[_0x599809(0x129)](_0x29b807),_0x51a262===_0x2de7d2[_0x599809(0x389)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x29b807);}),this[_0x32b27c(0x1ed)](),this['disposeWithMe'](this[_0x32b27c(0x278)][_0x32b27c(0x14d)](_0x470cd5=>{const _0x76fadb=_0x32b27c;if(this[_0x76fadb(0x2fb)]&&_0x470cd5['id']===_0x13a368[_0x76fadb(0x117)]['id']&&_0x470cd5[_0x76fadb(0x176)]['unitId']===this[_0x76fadb(0x297)]){const _0x1b128e=_0x470cd5[_0x76fadb(0x176)];this['_updateLocalCursor'](_0x1b128e[_0x76fadb(0x151)],_0x1b128e[_0x76fadb(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x431ec9){const _0x5ae103=_0x3db0e4;var _0x1ec14d,_0x158a51;const {memberID:_0x41ac3c,selection:_0x4ca68a}=_0x431ec9[_0x5ae103(0xf3)],{sheetName:_0x61097a,range:_0x32232c}=_0x2c79d7[_0x5ae103(0x39a)](_0x4ca68a),_0x1c847d={'name':(_0x158a51=(_0x1ec14d=this[_0x5ae103(0x195)][_0x5ae103(0x253)](this['unitID'],_0x41ac3c))==null?void 0x0:_0x1ec14d[_0x5ae103(0x17d)])!=null?_0x158a51:_0x5ae103(0x148),'range':this['_getMergeRange'](_0x61097a,_0x32232c),'sheetID':_0x61097a,'color':this[_0x5ae103(0x1c5)]['assignAColorForMemberID'](_0x41ac3c),'selection':_0x4ca68a},_0x59ab22=this['cursorInfo'];_0x59ab22[_0x5ae103(0x26f)](_0x41ac3c,_0x1c847d),this[_0x5ae103(0xf4)][_0x5ae103(0x360)](_0x59ab22);}[_0x3db0e4(0x33b)](_0x59d0bc){const _0x5af454=_0x3db0e4,{memberID:_0x5c8c49}=_0x59d0bc['data'],_0x16ca27=this['cursorInfo'];_0x16ca27[_0x5af454(0x1ce)](_0x5c8c49),this[_0x5af454(0xf4)][_0x5af454(0x360)](_0x16ca27);}[_0x3db0e4(0x292)](_0x33bf00,_0x398ddd){const _0x5df7c1=_0x3db0e4;var _0x5e5665,_0x1ba92e;const _0x4c7b5c=(_0x1ba92e=(_0x5e5665=this[_0x5df7c1(0x205)][_0x5df7c1(0x3b4)](this[_0x5df7c1(0x297)]))==null?void 0x0:_0x5e5665['getSheetBySheetId'](_0x33bf00))==null?void 0x0:_0x1ba92e[_0x5df7c1(0x289)]();return(_0x4c7b5c==null?void 0x0:_0x4c7b5c[_0x5df7c1(0x295)](_0x5393fb=>_0x3f9956[_0x5df7c1(0x251)]['contains'](_0x5393fb,_0x398ddd)))||_0x398ddd;}[_0x3db0e4(0x1ed)](){const _0x50fd80=_0x3db0e4,_0x57e25e=new _0x3f9956[(_0x50fd80(0x30f))](),_0x575cce=_0x54f247(),_0x3d07cb=()=>{const _0x1bac7e=_0x50fd80;_0x57e25e['dispose']();const _0x58b39a=(_0x47eec1,_0x3a2686,_0x521fdd,_0x58ca94)=>{const _0x22415a=_0x4227;let _0x53de5f=[];switch(_0x47eec1['id']){case _0x13a368['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x173)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['DeleteRangeMoveUpCommandId']:{_0x53de5f=_0x13a368['handleDeleteRangeMoveUp'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x37f)]:{_0x53de5f=_0x13a368[_0x22415a(0x135)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['InsertRangeMoveDownCommandId']:{_0x53de5f=_0x13a368['handleInsertRangeMoveDown'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x34d)]:{_0x53de5f=_0x13a368[_0x22415a(0x161)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x17c)]:{_0x53de5f=_0x13a368['handleInsertRow'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['MoveRangeCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x396)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['RemoveColCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x2e5)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x346)]:{_0x53de5f=_0x13a368[_0x22415a(0x32e)](_0x47eec1,_0x58ca94);break;}}const _0x73e273=_0x13a368[_0x22415a(0x1f2)](_0x53de5f,_0x58ca94),_0x5c0c70=this[_0x22415a(0x2d7)][_0x22415a(0x392)](_0x3a2686);if(_0x5c0c70&&_0x73e273){const _0x31d778={..._0x5c0c70,'range':_0x73e273};this['cursorInfo'][_0x22415a(0x26f)](_0x3a2686,_0x31d778),_0x575cce(()=>{const _0x5c199b=_0x22415a,_0x4316ec=this[_0x5c199b(0x386)][_0x5c199b(0x141)](_0x73e273,_0x4b99a7=>(_0x4316ec[_0x5c199b(0x14f)](),_0x58b39a(_0x4b99a7,_0x3a2686,_0x521fdd,_0x73e273)));_0x57e25e[_0x5c199b(0x2d8)](_0x4316ec);});}return{'redos':[],'undos':[]};};this[_0x1bac7e(0x2d7)][_0x1bac7e(0x29f)]((_0x5ffd1e,_0x2fa575)=>{const _0x27b6f0=_0x1bac7e,{range:_0x118537,sheetID:_0x59ae2a}=_0x5ffd1e,_0xafcf88=this[_0x27b6f0(0x386)]['registerRefRange'](_0x118537,_0x28d5c7=>(_0xafcf88[_0x27b6f0(0x14f)](),_0x58b39a(_0x28d5c7,_0x2fa575,_0x59ae2a,_0x118537)));_0x57e25e[_0x27b6f0(0x2d8)](_0xafcf88);});};this[_0x50fd80(0x20e)](_0x3f9956[_0x50fd80(0x30e)](this[_0x50fd80(0xf4)][_0x50fd80(0x29b)](()=>{_0x3d07cb();})));}[_0x3db0e4(0x34b)](){const _0x3725b7=_0x3db0e4;var _0x27a537,_0x45d9d5;if(this[_0x3725b7(0x2fb)]=!0x0,((_0x27a537=this['_univerInstanceService'][_0x3725b7(0x230)]())==null?void 0x0:_0x27a537[_0x3725b7(0x3aa)]())!==this[_0x3725b7(0x297)])return;const _0x335bc3=(_0x45d9d5=this[_0x3725b7(0x15f)][_0x3725b7(0x392)](_0x13a368['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x45d9d5[0x0],_0x2ab3f2=this[_0x3725b7(0x205)][_0x3725b7(0x28d)](_0x3f9956[_0x3725b7(0x100)][_0x3725b7(0xff)])[_0x3725b7(0x1bd)]();_0x335bc3&&_0x2ab3f2&&this[_0x3725b7(0x1b2)](_0x2ab3f2[_0x3725b7(0x1db)](),_0x335bc3);}[_0x3db0e4(0x2c4)](){this['_online']=!0x1;}};_0x2209c0=_0x12a958([_0x865286(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x865286(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0x865286(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x323)])),_0x865286(0x5,_0x3f9956[_0x3db0e4(0x264)]),_0x865286(0x6,_0x3f9956[_0x3db0e4(0x30c)]),_0x865286(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x13a368[_0x3db0e4(0x35e)]))],_0x2209c0);var _0x26d098=Object[_0x3db0e4(0x2d1)],_0x5bd336=(_0xb464d0,_0x4b8a1d,_0x38b89e,_0x23d180)=>{const _0x158a2e=_0x3db0e4;for(var _0x515d06=_0x23d180>0x1?void 0x0:_0x23d180?_0x26d098(_0x4b8a1d,_0x38b89e):_0x4b8a1d,_0x43de7a=_0xb464d0[_0x158a2e(0xf8)]-0x1,_0x231422;_0x43de7a>=0x0;_0x43de7a--)(_0x231422=_0xb464d0[_0x43de7a])&&(_0x515d06=_0x231422(_0x515d06)||_0x515d06);return _0x515d06;},_0x110cb9=(_0x405cec,_0x9053c7)=>(_0x2770bf,_0x37f82b)=>_0x9053c7(_0x2770bf,_0x37f82b,_0x405cec);let _0x135bf3=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x4bf893,_0x4f64a6,_0x50d0fe){const _0x1de7d2=_0x3db0e4;super(),_0x442022(this,_0x1de7d2(0x224),new Map()),_0x442022(this,_0x1de7d2(0x213),new _0x6aec0['Subject']()),(this[_0x1de7d2(0x205)]=_0x4bf893,this[_0x1de7d2(0x15f)]=_0x4f64a6,this['_collabSessionService']=_0x50d0fe,this[_0x1de7d2(0x18a)]());}['dispose'](){const _0x5475fa=_0x3db0e4;super[_0x5475fa(0x14f)](),this[_0x5475fa(0x213)][_0x5475fa(0x2ef)](),this[_0x5475fa(0x224)][_0x5475fa(0x29f)](_0x20ab70=>_0x20ab70[_0x5475fa(0x14f)]());}[_0x3db0e4(0x2e1)](_0xd659a9){const _0x32bf72=_0x3db0e4;return this[_0x32bf72(0x224)][_0x32bf72(0x3a8)](_0xd659a9)?this[_0x32bf72(0x224)][_0x32bf72(0x392)](_0xd659a9)[_0x32bf72(0x19b)]:this['_entityInit$'][_0x32bf72(0xf7)](_0x6aec0[_0x32bf72(0x1ba)](_0x269b1c=>_0x269b1c['unitID']===_0xd659a9),_0x6aec0[_0x32bf72(0x2dc)](_0x355dcf=>_0x355dcf[_0x32bf72(0x19b)]));}['_init'](){const _0x2a1b24=_0x3db0e4;this[_0x2a1b24(0x205)]['getTypeOfUnitAdded$'](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET'])[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))['subscribe'](async _0x46acd5=>{const _0x16acda=_0x2a1b24,_0x41ad88=_0x46acd5[_0x16acda(0x3aa)](),_0x5101b1=await this[_0x16acda(0x320)](_0x41ad88);this[_0x16acda(0x213)][_0x16acda(0x360)](_0x5101b1),this[_0x16acda(0x224)][_0x16acda(0x26f)](_0x41ad88,_0x5101b1);}),this[_0x2a1b24(0x205)][_0x2a1b24(0x273)](_0x3f9956['UniverInstanceType'][_0x2a1b24(0x257)])[_0x2a1b24(0xf7)](_0x6aec0['takeUntil'](this['dispose$']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x1ba)](_0x1c63fc=>!_0x1c63fc['getUnitId']()['startsWith']('__')))[_0x2a1b24(0x29b)](async _0x4e245f=>{const _0x234a64=_0x2a1b24,_0x527362=_0x4e245f['getUnitId'](),_0xe4dba2=await this[_0x234a64(0x165)](_0x527362);this['_entityInit$'][_0x234a64(0x360)](_0xe4dba2),this[_0x234a64(0x224)][_0x234a64(0x26f)](_0x527362,_0xe4dba2);}),_0x6aec0['merge'](this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956['UniverInstanceType']['UNIVER_DOC']),this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))[_0x2a1b24(0x29b)](_0x15ca92=>{const _0x3ea536=_0x2a1b24,_0x5d2756=_0x15ca92[_0x3ea536(0x3aa)](),_0x2bb1e8=this['_entities'][_0x3ea536(0x392)](_0x5d2756);_0x2bb1e8&&(_0x2bb1e8[_0x3ea536(0x14f)](),this[_0x3ea536(0x224)][_0x3ea536(0x1ce)](_0x5d2756));});}async[_0x3db0e4(0x320)](_0x31b85a){const _0x1e5caf=_0x3db0e4,_0x2eed18=await this['_collabSessionService'][_0x1e5caf(0x370)](_0x31b85a),_0x2368ac=this['_injector'][_0x1e5caf(0x212)](_0x2209c0,_0x31b85a,_0x2eed18);return _0x2368ac[_0x1e5caf(0x106)](),_0x2368ac;}async['_startDocCollabCursor'](_0x4d704e){const _0x22496a=_0x3db0e4,_0x2db301=await this['_collabSessionService']['requireSession'](_0x4d704e),_0x28e708=this['_injector']['createInstance'](_0x654d15,_0x4d704e,_0x2db301);return _0x28e708[_0x22496a(0x106)](),_0x28e708;}};_0x135bf3=_0x5bd336([_0x110cb9(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x110cb9(0x1,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x110cb9(0x2,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x240)]))],_0x135bf3);const _0x2520ce=0x14,_0x198362=0xc8,_0x27d5e3=0x4,_0x5d2659=0x5;function _0x2b9394(_0x224ca5,_0x1ccc81){const _0x2363af=_0x3db0e4;let {radius:_0x24c054,width:_0x1b245d,height:_0x5483ef}=_0x1ccc81;_0x24c054=_0x24c054!=null?_0x24c054:0x0,_0x1b245d=_0x1b245d!=null?_0x1b245d:0x1e,_0x5483ef=_0x5483ef!=null?_0x5483ef:0x1e;let _0x19221a=0x0,_0x1f3384=0x0,_0x580b56=0x0;_0x19221a=_0x1f3384=_0x580b56=Math[_0x2363af(0x37a)](_0x24c054,_0x1b245d/0x2,_0x5483ef/0x2),_0x224ca5[_0x2363af(0x232)](),_0x224ca5[_0x2363af(0x35c)](_0x19221a,0x0),_0x224ca5['lineTo'](_0x1b245d-_0x1f3384,0x0),_0x224ca5[_0x2363af(0x102)](_0x1b245d-_0x1f3384,_0x1f3384,_0x1f3384,Math['PI']*0x3/0x2,0x0,!0x1),_0x224ca5[_0x2363af(0x38a)](_0x1b245d,_0x5483ef-_0x580b56),_0x224ca5['arc'](_0x1b245d-_0x580b56,_0x5483ef-_0x580b56,_0x580b56,0x0,Math['PI']/0x2,!0x1),_0x224ca5[_0x2363af(0x38a)](0x0,_0x5483ef),_0x224ca5[_0x2363af(0x38a)](0x0,_0x19221a),_0x224ca5[_0x2363af(0x102)](_0x19221a,_0x19221a,_0x19221a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x224ca5['closePath'](),_0x1ccc81[_0x2363af(0x126)]&&(_0x224ca5['save'](),_0x224ca5[_0x2363af(0x31c)]=_0x1ccc81[_0x2363af(0x126)],_0x1ccc81[_0x2363af(0x2b9)]==='evenodd'?_0x224ca5[_0x2363af(0x126)]('evenodd'):_0x224ca5[_0x2363af(0x126)](),_0x224ca5[_0x2363af(0xfb)]());}class _0x3cfc67 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x257d21,_0x50617e){const _0x5b1a36=_0x3db0e4;super(_0x257d21,_0x50617e),_0x442022(this,'color'),_0x442022(this,_0x5b1a36(0x36e)),(this[_0x5b1a36(0x228)]=_0x50617e==null?void 0x0:_0x50617e['color'],this[_0x5b1a36(0x36e)]=_0x50617e==null?void 0x0:_0x50617e[_0x5b1a36(0x36e)]);}static['drawWith'](_0x50a91e,_0x2ea3aa){const _0xc4e0d=_0x3db0e4,{text:_0x1e7df8,color:_0x9776dd}=_0x2ea3aa;_0x50a91e[_0xc4e0d(0x12c)](),_0x50a91e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28220f=_0x50a91e[_0xc4e0d(0x2ec)](_0x1e7df8)[_0xc4e0d(0x2a9)],_0x6e8185=Math[_0xc4e0d(0x37a)](_0x28220f+0x2*_0x27d5e3,_0x198362);_0x2b9394(_0x50a91e,{'height':_0x2520ce,'radius':0x4,'width':_0x6e8185,'fill':_0x9776dd}),_0x50a91e[_0xc4e0d(0x31c)]=_0xc4e0d(0x1b5);const _0x5ef981=_0x27d5e3,_0x45df94=_0x2520ce-_0x5d2659,_0x4181db=_0x198362-0x2*_0x27d5e3;if(_0x28220f>_0x4181db){let _0xa1c0ff='',_0x173a23=0x0;for(const _0x299bcd of _0x1e7df8){const _0x16304f=_0x50a91e[_0xc4e0d(0x2ec)](_0x299bcd)[_0xc4e0d(0x2a9)];if(_0x173a23+_0x16304f<=_0x4181db-_0x50a91e[_0xc4e0d(0x2ec)](_0xc4e0d(0x229))[_0xc4e0d(0x2a9)])_0xa1c0ff+=_0x299bcd,_0x173a23+=_0x16304f;else{_0xa1c0ff+=_0xc4e0d(0x229);break;}}_0x50a91e['fillText'](_0xa1c0ff,_0x5ef981,_0x45df94);}else _0x50a91e[_0xc4e0d(0x18e)](_0x1e7df8,_0x5ef981,_0x45df94);_0x50a91e[_0xc4e0d(0xfb)]();}[_0x3db0e4(0x352)](_0x2a11df){_0x3cfc67['drawWith'](_0x2a11df,this);}}const _0x47c6cd=_0x3db0e4(0x1da),_0x83fd96=_0x3db0e4(0x1ad),_0x3d6617='collab-rect-range-',_0x6ff9c1=0x6,_0x25dee4=1.5,_0x23e213=0x4,_0x2303df=1.5,_0x3e49e7=_0x3db0e4(0x238);class _0x277afe{constructor(_0x4ceefd,_0x24562c,_0xb617a6,_0x107e11){const _0x3c3118=_0x3db0e4;_0x442022(this,'_shapes',[]),_0x442022(this,_0x3c3118(0x384),null),_0x442022(this,_0x3c3118(0x377),null),_0x442022(this,_0x3c3118(0x159),null),_0x442022(this,_0x3c3118(0x32a),null),_0x442022(this,'_eventUnsubscribe',null),(this[_0x3c3118(0x156)]=_0x4ceefd,this[_0x3c3118(0x11a)]=_0x24562c,this[_0x3c3118(0x348)]=_0xb617a6,this[_0x3c3118(0x199)]=_0x107e11,this[_0x3c3118(0x1cd)]());}set['_hover'](_0x1408cc){const _0x59ce66=_0x3db0e4;_0x1408cc?(this[_0x59ce66(0x159)]&&this['_anchorDot'][_0x59ce66(0x21b)](),this['_textBubble']&&this['_textBubble'][_0x59ce66(0x2c7)]()):(this[_0x59ce66(0x159)]&&this[_0x59ce66(0x159)][_0x59ce66(0x2c7)](),this[_0x59ce66(0x377)]&&this['_textBubble'][_0x59ce66(0x21b)]());}[_0x3db0e4(0x14f)](){const _0x3fa651=_0x3db0e4;for(const _0x194355 of this[_0x3fa651(0x1f9)])_0x194355['dispose']();this[_0x3fa651(0x377)]&&this['_textBubble'][_0x3fa651(0x14f)](),this[_0x3fa651(0x159)]&&this[_0x3fa651(0x159)]['dispose'](),this[_0x3fa651(0x384)]&&this[_0x3fa651(0x384)][_0x3fa651(0x14f)](),this[_0x3fa651(0x105)]&&this[_0x3fa651(0x105)]();}['_render'](){const _0xf9aa24=_0x3db0e4;var _0x1208c3;const {_docSkeleton:_0x1d09c2,_document:_0x24a222}=this,{color:_0x611a08,name:_0x484f16,ranges:_0xd7717c}=this[_0xf9aa24(0x156)],_0x3f6af4=_0x24a222[_0xf9aa24(0x1d3)](),{docsLeft:_0x2f3669,docsTop:_0x40f6ca}=_0x3f6af4,_0x3f3136=new _0xa8c85b[(_0xf9aa24(0x222))](_0x3f6af4,_0x1d09c2);for(const {startOffset:_0x15aec2,endOffset:_0x437a3,rangeType:_0x2745fd,segmentId:_0x436db7,segmentPage:_0x4e9910,collapsed:_0x23a1ee,isActive:_0x172e79}of _0xd7717c){const _0x10e658=_0x1d09c2[_0xf9aa24(0x365)](_0x15aec2,!0x0,_0x436db7,_0x4e9910);let _0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3,!0x0,_0x436db7,_0x4e9910);if(_0x3b2f39==null&&(_0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3-0x1,!0x1,_0x436db7,_0x4e9910)),_0x172e79){const {contentBoxPointGroup:_0x41ee81}=_0x3f3136[_0xf9aa24(0x23a)](_0x3b2f39,_0x3b2f39);if(_0x41ee81[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x104)](_0x611a08,_0x41ee81,_0x2f3669,_0x40f6ca,_0x484f16),this[_0xf9aa24(0x105)]=this[_0xf9aa24(0x326)]();}if(_0x10e658&&_0x3b2f39){if(_0x2745fd===_0x3f9956[_0xf9aa24(0x37c)]['RECT']){const _0x194761=new _0xa8c85b[(_0xf9aa24(0x315))](_0x3f6af4,_0x1d09c2),{pointGroup:_0x7784f8}=(_0x1208c3=_0x194761[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39))!=null?_0x1208c3:{};if(_0x7784f8==null||_0x7784f8[_0xf9aa24(0xf8)]===0x0)continue;this['_drawRectRange'](_0x611a08,_0x7784f8,_0x2f3669,_0x40f6ca);}else{if(!_0x23a1ee){const {borderBoxPointGroup:_0x3edf17}=_0x3f3136[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39);if(_0x3edf17[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x2ea)](_0x611a08,_0x3edf17,_0x2f3669,_0x40f6ca);}}}}}[_0x3db0e4(0x104)](_0x1ddcf4,_0x358d38,_0x2e361,_0x1bb62a,_0x48c66a){const _0x4961c3=_0x3db0e4,_0x475ef9=this[_0x4961c3(0x2e4)](_0x358d38),{left:_0x4538da,top:_0x196765,height:_0x49ec0f}=_0x475ef9,_0x42194a=this[_0x4961c3(0x116)](),_0x120fc8=_0x2303df/_0x42194a,_0x2bcd35=new _0x2dd116['Rect'](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a,'height':_0x49ec0f,'width':_0x25dee4,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'strokeWidth':_0x120fc8,'stroke':_0x3e49e7,'evented':!0x0});this[_0x4961c3(0x384)]=_0x2bcd35,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x2bcd35,_0xa8c85b[_0x4961c3(0x113)]);const _0x802174=new _0x2dd116[(_0x4961c3(0x207))](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x23e213/0x2,'height':_0x23e213,'width':_0x23e213,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956['COLORS'][_0x4961c3(0x30b)],0x0),'strokeWidth':0x0,'stroke':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'evented':!0x1});this[_0x4961c3(0x159)]=_0x802174,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x802174,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']);const _0x479463=new _0x3cfc67(_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x2520ce,'text':_0x48c66a,'color':_0x1ddcf4});this[_0x4961c3(0x377)]=_0x479463,this['_scene']['addObject'](_0x479463,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']),this[_0x4961c3(0x12b)]=!0x1;}[_0x3db0e4(0x326)](){const _0x1b9f0c=_0x3db0e4,_0x140dc3=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x282)][_0x1b9f0c(0x1cf)](()=>{const _0x59951e=_0x1b9f0c;this[_0x59951e(0x12b)]=!0x0;}),_0x1981be=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x21a)][_0x1b9f0c(0x1cf)](()=>{const _0x72e08f=_0x1b9f0c;this[_0x72e08f(0x32a)]&&clearTimeout(this['_hideTimer']),this[_0x72e08f(0x32a)]=setTimeout(()=>{const _0x2c40e0=_0x72e08f;this[_0x2c40e0(0x12b)]=!0x1;},0x7d0);});return()=>{const _0x56b0f5=_0x1b9f0c;_0x140dc3[_0x56b0f5(0x271)](),_0x1981be[_0x56b0f5(0x271)]();};}[_0x3db0e4(0x2ea)](_0x111d3c,_0x2cfe14,_0x4b01c3,_0x38fe0b){const _0x5268df=_0x3db0e4,_0xd419af=new _0x3f9956['ColorKit'](_0x111d3c)[_0x5268df(0x2c5)](0.2)[_0x5268df(0x376)](),_0xa86a32=new _0x2dd116['RegularPolygon'](_0x83fd96+_0x3f9956[_0x5268df(0x17e)](_0x6ff9c1),{'pointsGroup':_0x2cfe14,'fill':_0xd419af||_0x2dd116[_0x5268df(0x3ac)](_0x3f9956[_0x5268df(0x298)][_0x5268df(0x30b)],0.2),'left':_0x4b01c3,'top':_0x38fe0b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5268df(0x1ae)](_0xa86a32),this[_0x5268df(0x11a)][_0x5268df(0x22f)](_0xa86a32,_0xa8c85b[_0x5268df(0x113)]);}[_0x3db0e4(0x18c)](_0x53617b,_0x4bbe59,_0x444ab3,_0x331efa){const _0x597b76=_0x3db0e4,_0x3313c3=new _0x3f9956[(_0x597b76(0x1f1))](_0x53617b)['setAlpha'](0.2)[_0x597b76(0x376)](),_0xac58a3=new _0x2dd116[(_0x597b76(0x393))](_0x3d6617+_0x3f9956[_0x597b76(0x17e)](_0x6ff9c1),{'pointsGroup':_0x4bbe59,'fill':_0x3313c3||_0x2dd116[_0x597b76(0x3ac)](_0x3f9956[_0x597b76(0x298)]['black'],0.2),'left':_0x444ab3,'top':_0x331efa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x597b76(0x1f9)][_0x597b76(0x1ae)](_0xac58a3),this['_scene']['addObject'](_0xac58a3,_0xa8c85b[_0x597b76(0x113)]);}[_0x3db0e4(0x2e4)](_0x33224e){const _0x1a2e9d=_0x33224e[0x0],_0x53ce43=_0x1a2e9d[0x0],_0x497f1c=_0x1a2e9d[0x2],{x:_0x190c49,y:_0x4a2e9a}=_0x53ce43,{x:_0x391e58,y:_0x1030c1}=_0x497f1c;return{'left':_0x190c49,'top':_0x4a2e9a,'width':_0x391e58-_0x190c49,'height':_0x1030c1-_0x4a2e9a};}[_0x3db0e4(0x116)](){const _0x54fcb0=_0x3db0e4,{scaleX:_0x5ecedf,scaleY:_0x74854f}=this[_0x54fcb0(0x11a)]['getAncestorScale']();return Math[_0x54fcb0(0x12f)](_0x5ecedf,_0x74854f);}}var _0x53647e=Object['getOwnPropertyDescriptor'],_0x502c92=(_0x35707e,_0x5a42b7,_0x4d6245,_0x58b4fa)=>{const _0x5df212=_0x3db0e4;for(var _0x5702c7=_0x58b4fa>0x1?void 0x0:_0x58b4fa?_0x53647e(_0x5a42b7,_0x4d6245):_0x5a42b7,_0x202d23=_0x35707e[_0x5df212(0xf8)]-0x1,_0x4c3470;_0x202d23>=0x0;_0x202d23--)(_0x4c3470=_0x35707e[_0x202d23])&&(_0x5702c7=_0x4c3470(_0x5702c7)||_0x5702c7);return _0x5702c7;},_0x22aa03=(_0x85c973,_0x1ba9f4)=>(_0x1f50f1,_0x496768)=>_0x1ba9f4(_0x1f50f1,_0x496768,_0x85c973);let _0x5ddb20=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x14dd8f,_0xde9b9d,_0x2b8775,_0x4f049a,_0x49c9b7){const _0x121c3a=_0x3db0e4;super(),_0x442022(this,_0x121c3a(0x1ab),[]),_0x442022(this,'_cursors',[]),(this[_0x121c3a(0x3a5)]=_0x14dd8f,this['_docSkeletonManagerService']=_0xde9b9d,this[_0x121c3a(0x189)]=_0x2b8775,this[_0x121c3a(0x278)]=_0x4f049a,this['_themeService']=_0x49c9b7,this[_0x121c3a(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x21b773=_0x3db0e4,_0x1f3dc1=this['_context']['unitId'],_0x198006=this[_0x21b773(0x353)];this[_0x21b773(0x20e)](_0x6aec0[_0x21b773(0x245)]([this[_0x21b773(0x189)]['getCollabCursors$'](_0x1f3dc1),this['_themeService'][_0x21b773(0x178)]])[_0x21b773(0xf7)](_0x5f224d[_0x21b773(0x3be)](([_0x5b8cff,_0x3ba72a])=>({'skeleton':_0x198006[_0x21b773(0x29e)](),'cursors':[..._0x5b8cff[_0x21b773(0x2fd)]()][_0x21b773(0x142)](_0x2a47b5=>({..._0x2a47b5,'color':this[_0x21b773(0xf6)]['getColorFromTheme'](_0x2a47b5[_0x21b773(0x228)])}))})))[_0x21b773(0x29b)](_0x19657f=>{const _0x4d962d=_0x21b773;if(this['_removeCollabCursors'](),_0x19657f){const {skeleton:_0x5a8dc5,cursors:_0x462d64}=_0x19657f;this[_0x4d962d(0x1bb)](_0x5a8dc5,_0x462d64);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x45c6b6,_0x5c73dc){const _0x3bc559=_0x3db0e4,{scene:_0x234fd1,mainComponent:_0xe559fd}=this[_0x3bc559(0x3a5)],_0x2e6a5b=_0x5c73dc[_0x3bc559(0x3be)](_0x2e2b67=>new _0x277afe(_0x2e2b67,_0x234fd1,_0x45c6b6,_0xe559fd));this[_0x3bc559(0x1ab)]=_0x2e6a5b,this[_0x3bc559(0x387)]=_0x5c73dc;}[_0x3db0e4(0x307)](){const _0x29bc3e=_0x3db0e4;this['_removeCollabCursors']();const {scene:_0x3151f4,mainComponent:_0x191575}=this[_0x29bc3e(0x3a5)],_0xb82f01=this[_0x29bc3e(0x353)][_0x29bc3e(0x29e)](),_0x29af73=this[_0x29bc3e(0x387)][_0x29bc3e(0x3be)](_0x4f91b3=>new _0x277afe(_0x4f91b3,_0x3151f4,_0xb82f01,_0x191575));this[_0x29bc3e(0x1ab)]=_0x29af73;}[_0x3db0e4(0x31e)](){const _0x7c2e43=_0x3db0e4;this[_0x7c2e43(0x1ab)][_0x7c2e43(0x29f)](_0x25368e=>_0x25368e[_0x7c2e43(0x14f)]()),this[_0x7c2e43(0x1ab)]=[];}['_initCommandExecutedListener'](){const _0x10eabc=_0x3db0e4,_0x5dd624=[_0xa8c85b['SetDocZoomRatioOperation']['id']];this[_0x10eabc(0x20e)](this[_0x10eabc(0x278)][_0x10eabc(0x14d)](_0x4ab165=>{const _0x46e042=_0x10eabc;_0x5dd624[_0x46e042(0x357)](_0x4ab165['id'])&&_0x4ab165[_0x46e042(0x176)]['unitId']===this['_context']['unitId']&&this[_0x46e042(0x307)]();}));}[_0x3db0e4(0x185)](){const _0x46fc99=_0x3db0e4;this[_0x46fc99(0x20e)](_0x3f9956[_0x46fc99(0x327)](this['_context'][_0x46fc99(0xf9)][_0x46fc99(0x286)])[_0x46fc99(0xf7)](_0x5f224d[_0x46fc99(0x1ba)](_0x6073fb=>_0x6073fb[_0x46fc99(0x3a0)]===_0x2dd116[_0x46fc99(0x291)][_0x46fc99(0x311)]),_0x5f224d[_0x46fc99(0x2df)](0x10))[_0x46fc99(0x29b)](()=>{const _0x35542f=_0x46fc99;this[_0x35542f(0x307)]();}));}};_0x5ddb20=_0x502c92([_0x22aa03(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x333572[_0x3db0e4(0x108)])),_0x22aa03(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x22aa03(0x3,_0x3f9956[_0x3db0e4(0x30c)]),_0x22aa03(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956['ThemeService']))],_0x5ddb20);const _0x23fe97=0x1,_0x5baae7=1.5;class _0x187ac5 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x524c01,_0x188b80){const _0x171afc=_0x3db0e4;super(_0x524c01,_0x188b80),_0x442022(this,'_color'),_0x442022(this,_0x171afc(0x2cf),!0x1),_0x442022(this,_0x171afc(0x139)),_0x442022(this,_0x171afc(0x2e7),''),_0x442022(this,'_labelPosition',_0x171afc(0x2a3)),_0x442022(this,_0x171afc(0x2b0)),(_0x188b80&&this[_0x171afc(0x399)](_0x188b80),this[_0x171afc(0x282)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x171afc(0x21a)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x33ec40){const _0xf86177=_0x3db0e4;var _0x11630a,_0x429385,_0x5b4f69,_0x48e7df,_0x1b9527,_0xad16f3;this[_0xf86177(0x190)]=(_0x11630a=_0x33ec40[_0xf86177(0x228)])!=null?_0x11630a:this[_0xf86177(0x190)],this[_0xf86177(0x2cf)]=(_0x429385=_0x33ec40[_0xf86177(0x132)])!=null?_0x429385:this[_0xf86177(0x2cf)],this['_range']=(_0x5b4f69=_0x33ec40['range'])!=null?_0x5b4f69:this[_0xf86177(0x139)],this[_0xf86177(0x2e7)]=(_0x48e7df=_0x33ec40[_0xf86177(0x17d)])!=null?_0x48e7df:this[_0xf86177(0x2e7)],this[_0xf86177(0x128)]=(_0x1b9527=_0x33ec40[_0xf86177(0x35d)])!=null?_0x1b9527:this[_0xf86177(0x128)],this['_backgroundColor']=(_0xad16f3=_0x33ec40[_0xf86177(0x1dd)])!=null?_0xad16f3:this[_0xf86177(0x2b0)],this['transformByState']({'width':_0x33ec40['width'],'height':_0x33ec40[_0xf86177(0x3ae)]});}[_0x3db0e4(0x325)](_0x40038f){const _0x5251c1=_0x3db0e4,{row:_0x369a6f,column:_0x40a04f}=_0x40038f;if(_0x369a6f>=this[_0x5251c1(0x139)][_0x5251c1(0x16c)]&&_0x369a6f<=this['_range']['endRow']&&_0x40a04f>=this['_range'][_0x5251c1(0x14c)]&&_0x40a04f<=this[_0x5251c1(0x139)]['endColumn']){this[_0x5251c1(0x399)]({'hovered':!0x0});return;}this[_0x5251c1(0x399)]({'hovered':!0x1});}[_0x3db0e4(0x1c1)](_0x5563f2){return!0x1;}[_0x3db0e4(0x352)](_0x197081){const _0x50d399=_0x3db0e4;_0x2dd116[_0x50d399(0x207)]['drawWith'](_0x197081,{'width':this['width'],'height':this[_0x50d399(0x3ae)],'strokeWidth':_0x5baae7,'stroke':this[_0x50d399(0x190)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x197081[_0x50d399(0x12c)](),_0x197081[_0x50d399(0x2cb)](0x1,0x0,0x0,0x1,this[_0x50d399(0x2a9)],this[_0x50d399(0x128)]===_0x50d399(0x12a)?0x0:-_0x2520ce),_0x3cfc67[_0x50d399(0x38c)](_0x197081,{'text':this[_0x50d399(0x2e7)],'color':this[_0x50d399(0x190)]}),_0x197081[_0x50d399(0xfb)]());}}var _0x460587=Object['getOwnPropertyDescriptor'],_0x4d587a=(_0xe39d36,_0x38bcb9,_0x344ec8,_0x2f17c9)=>{const _0x847cdd=_0x3db0e4;for(var _0x51a460=_0x2f17c9>0x1?void 0x0:_0x2f17c9?_0x460587(_0x38bcb9,_0x344ec8):_0x38bcb9,_0x3c8ac6=_0xe39d36[_0x847cdd(0xf8)]-0x1,_0x3bea8e;_0x3c8ac6>=0x0;_0x3c8ac6--)(_0x3bea8e=_0xe39d36[_0x3c8ac6])&&(_0x51a460=_0x3bea8e(_0x51a460)||_0x51a460);return _0x51a460;},_0x33e2f5=(_0x4ad611,_0x3be8ab)=>(_0x173d62,_0x36241a)=>_0x3be8ab(_0x173d62,_0x36241a,_0x4ad611);const _0x35efc7=0x1389;let _0x345a73=class extends _0x3f9956['RxDisposable']{constructor(_0x4939e1,_0x1083ca,_0x2e1063,_0x50b54b){const _0x60800d=_0x3db0e4;super(),_0x442022(this,_0x60800d(0x387),new Set()),_0x442022(this,_0x60800d(0x221),null),(this[_0x60800d(0x3a5)]=_0x4939e1,this[_0x60800d(0x18b)]=_0x1083ca,this['_collabCursorController']=_0x2e1063,this[_0x60800d(0xf6)]=_0x50b54b,this[_0x60800d(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x5bf2fb=_0x3db0e4;this['_sheetSkeletonManagerService'][_0x5bf2fb(0x27b)][_0x5bf2fb(0xf7)](_0x5f224d['takeUntil'](this[_0x5bf2fb(0x107)]),_0x5f224d[_0x5bf2fb(0x2dc)](_0x3f318d=>{const _0x2921c8=_0x5bf2fb;if(_0x3f318d){const _0x549a94=_0x3f318d[_0x2921c8(0x1ea)];return _0x6aec0[_0x2921c8(0x245)](this[_0x2921c8(0x189)]['getCollabCursors$'](this[_0x2921c8(0x3a5)][_0x2921c8(0x2bc)]),this[_0x2921c8(0xf6)]['currentTheme$'])[_0x2921c8(0xf7)](_0x5f224d[_0x2921c8(0x3be)](([_0x149737,_0x3e9cda])=>{const _0x48460c=_0x2921c8,_0x22d7f9=new Map();return _0x149737[_0x48460c(0x29f)]((_0x31bf1e,_0x1778a2)=>{const _0x2ed6bb=_0x48460c;if(_0x31bf1e['sheetID']===_0x549a94){const _0x3d86a8={..._0x31bf1e};_0x3d86a8['color']=this[_0x2ed6bb(0xf6)][_0x2ed6bb(0x249)](_0x31bf1e[_0x2ed6bb(0x228)]),_0x22d7f9[_0x2ed6bb(0x26f)](_0x1778a2,_0x3d86a8);}}),{'skeleton':_0x3f318d,'cursors':_0x22d7f9};}));}return _0x6aec0['of']({'skeleton':null,'cursors':new Map()});}))[_0x5bf2fb(0x29b)](({skeleton:_0x39f165,cursors:_0x5b2f62})=>{this['_removeCollabCursors'](),_0x39f165&&this['_updateCollabCursors'](_0x39f165,_0x5b2f62);}),this[_0x5bf2fb(0x18b)][_0x5bf2fb(0x27b)]['subscribe'](_0x4485ae=>{const _0x5e8d44=_0x5bf2fb;if(_0x4485ae==null)return;const {skeleton:_0x385a31}=_0x4485ae,{scene:_0x2e62c9}=this['_context'];_0x2e62c9['onPointerMove$'][_0x5e8d44(0x1cf)](_0x3f9956[_0x5e8d44(0x145)](_0x36f32c=>{const _0x5b1285=_0x5e8d44;var _0x3bf83d,_0x15ff10;const {offsetX:_0x33142f,offsetY:_0x4d1191}=_0x36f32c,{x:_0x58f858,y:_0x3de357}=_0x2e62c9[_0x5b1285(0x2d4)](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x33142f,_0x4d1191])),{scaleX:_0x2cf713,scaleY:_0x5b48cd}=_0x2e62c9[_0x5b1285(0x2cc)](),_0x32964d=_0x2e62c9[_0x5b1285(0x1c7)](_0x2dd116[_0x5b1285(0x1fd)][_0x5b1285(0x1c9)]),_0x492945=_0x2e62c9['getVpScrollXYInfoByPosToVp'](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x58f858,_0x3de357]),_0x32964d),_0x20fe84=_0x385a31[_0x5b1285(0x3b0)](_0x33142f,_0x4d1191,_0x2cf713,_0x5b48cd,_0x492945);((_0x3bf83d=this[_0x5b1285(0x221)])==null?void 0x0:_0x3bf83d[_0x5b1285(0x1bc)])===_0x20fe84[_0x5b1285(0x1bc)]&&((_0x15ff10=this['_lastPointer'])==null?void 0x0:_0x15ff10['row'])===_0x20fe84[_0x5b1285(0x14e)]||this[_0x5b1285(0x387)]['forEach'](_0x164382=>{const _0x2c49cf=_0x5b1285;_0x164382[_0x2c49cf(0x325)](_0x20fe84);});},0x64));});}[_0x3db0e4(0x1bb)](_0x345e0e,_0x2c6a4c){const _0x357457=_0x3db0e4;var _0x43c82b;const _0x3376e3=(_0x43c82b=this['_sheetSkeletonManagerService'][_0x357457(0x1f0)]())==null?void 0x0:_0x43c82b[_0x357457(0x19e)];if(!_0x3376e3)return;const _0x11bc7f=this[_0x357457(0x1a7)]();if(!_0x11bc7f)return;this[_0x357457(0x387)][_0x357457(0x29f)](_0x12ca05=>{const _0x1f8ec2=_0x357457;_0x12ca05[_0x1f8ec2(0x2a4)]();});const {scene:_0x1d1a6b}=_0x11bc7f,_0x45fc33=_0x210956(Array['from'](_0x2c6a4c[_0x357457(0x2fd)]()))[_0x357457(0x3be)](_0x3a64a0=>{const _0x32d31d=_0x357457,{color:_0x14c268,range:_0x597b24,name:_0x4cd933,selection:_0x50545f,sheetID:_0x4cb0be}=_0x3a64a0,{startColumn:_0x38f656,startRow:_0x50fc8d,endColumn:_0x376091,endRow:_0x372376}=_0x597b24,_0x3fd4f4=_0x52f894['getCoordByCell'](_0x50fc8d,_0x38f656,_0x1d1a6b,_0x3376e3),_0x3765b3=_0x52f894[_0x32d31d(0x1e1)](_0x372376,_0x376091,_0x1d1a6b,_0x3376e3),{columnHeaderHeightAndMarginTop:_0x446ccb}=_0x3376e3,{startX:_0x150801,startY:_0x4c5bad}=_0x3fd4f4,{endX:_0x26d197,endY:_0x208405}=_0x3765b3,_0x6daff2=_0x26d197-_0x150801,_0x1e5b9a=_0x208405-_0x4c5bad,_0x49d68a={'labelPosition':_0x4c5bad-_0x446ccb>=_0x2520ce?_0x32d31d(0x2a3):'bottom','sheetID':_0x4cb0be,'range':_0x597b24,'color':_0x14c268,'name':_0x4cd933,'selection':_0x50545f,'left':_0x150801,'top':_0x4c5bad,'width':_0x6daff2,'height':_0x1e5b9a,'evented':!0x1,'zIndex':_0x35efc7};return new _0x187ac5(_0x4cd933,_0x49d68a);});_0x1d1a6b[_0x357457(0x226)](_0x45fc33,_0x23fe97),this[_0x357457(0x387)]=new Set(_0x45fc33);}[_0x3db0e4(0x31e)](){const _0x299dcc=_0x3db0e4;var _0x51bcef;(_0x51bcef=this['_cursors'])==null||_0x51bcef[_0x299dcc(0x29f)](_0x21edae=>_0x21edae[_0x299dcc(0x14f)]());}[_0x3db0e4(0x1a7)](){const _0x4a7d4c=_0x3db0e4;return _0x52f894['getSheetObject'](this[_0x4a7d4c(0x3a5)][_0x4a7d4c(0x10d)],this[_0x4a7d4c(0x3a5)]);}};_0x345a73=_0x4d587a([_0x33e2f5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x52f894[_0x3db0e4(0x168)])),_0x33e2f5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x33e2f5(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x34e)]))],_0x345a73);function _0x210956(_0x3b46e4){const _0x5b19d3=_0x3db0e4,_0x45b720=new Map();return _0x3b46e4['forEach'](_0x684097=>{const _0x53369a=_0x4227;if(_0x45b720['has'](_0x684097[_0x53369a(0x22e)])){const _0x17129d=_0x45b720[_0x53369a(0x392)](_0x684097[_0x53369a(0x22e)]);_0x17129d[_0x53369a(0x17d)]+=',\x20'+_0x684097[_0x53369a(0x17d)];}else _0x45b720[_0x53369a(0x26f)](_0x684097[_0x53369a(0x22e)],_0x684097);}),Array[_0x5b19d3(0x1eb)](_0x45b720[_0x5b19d3(0x2fd)]());}var _0x152096=Object[_0x3db0e4(0x2d1)],_0x2e2882=(_0x5ac21c,_0x2ea889,_0x390128,_0x5ecf08)=>{const _0x599dcf=_0x3db0e4;for(var _0x54beea=_0x5ecf08>0x1?void 0x0:_0x5ecf08?_0x152096(_0x2ea889,_0x390128):_0x2ea889,_0x57b551=_0x5ac21c[_0x599dcf(0xf8)]-0x1,_0x5aafba;_0x57b551>=0x0;_0x57b551--)(_0x5aafba=_0x5ac21c[_0x57b551])&&(_0x54beea=_0x5aafba(_0x54beea)||_0x54beea);return _0x54beea;},_0x2e1a14=(_0x4c8c03,_0x577e63)=>(_0x2519a6,_0x2e0e4e)=>_0x577e63(_0x2519a6,_0x2e0e4e,_0x4c8c03);let _0x395203=class extends _0x3f9956['Disposable']{constructor(_0x4b6f84,_0x2dab8b,_0x264405,_0x1d04f2,_0x3fe77a,_0x5dc6e5){const _0x2c0479=_0x3db0e4;super(),this[_0x2c0479(0x33c)]=_0x4b6f84,this[_0x2c0479(0x3ab)]=_0x2dab8b,this[_0x2c0479(0x339)]=_0x264405,this[_0x2c0479(0x174)]=_0x1d04f2,this[_0x2c0479(0x258)]=_0x3fe77a,this['_localeService']=_0x5dc6e5,this[_0x2c0479(0x269)](),this['_initEvent']();}[_0x3db0e4(0x269)](){const _0x31b8c4=_0x3db0e4;this[_0x31b8c4(0x20e)](this[_0x31b8c4(0x33c)][_0x31b8c4(0x110)](()=>{const _0x203a4a=_0x31b8c4;if(this[_0x203a4a(0x3ab)][_0x203a4a(0x344)][_0x203a4a(0x137)])return this[_0x203a4a(0x359)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3db0e4(0x1e9)](){const _0x3375cb=_0x3db0e4;this[_0x3375cb(0x20e)](this[_0x3375cb(0x339)][_0x3375cb(0x248)][_0x3375cb(0x29b)](_0x593d8e=>{const _0x1170d7=_0x3375cb;_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x17b)]&&this['_messageService'][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t']('collaboration.single-unit.warning')}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x236)]&&this[_0x1170d7(0x174)]['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x345))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x1be)]&&this[_0x1170d7(0x258)][_0x1170d7(0x2c7)]({'title':this[_0x1170d7(0x359)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1170d7(0x235),'duration':0x0}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x1b8)]&&this['_messageService']['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('collaboration.closeRoom')+'('+_0x593d8e['data']+')'}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x138)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x593d8e['data']||'')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED_RETRY']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x3a9))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('session.connection-failed')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x241)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this['_localeService']['t'](_0x1170d7(0x383))});}));}};_0x395203=_0x2e2882([_0x2e1a14(0x0,_0x26d040[_0x3db0e4(0x1d5)]),_0x2e1a14(0x1,_0x184317['ILocalCacheService']),_0x2e1a14(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x2db)])),_0x2e1a14(0x3,_0x26d040[_0x3db0e4(0x30a)]),_0x2e1a14(0x4,_0x26d040[_0x3db0e4(0x25d)]),_0x2e1a14(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x395203);const _0x512303=_0x3db0e4(0x3c5),_0xd1a49e={};var _0x3cd354=Object[_0x3db0e4(0x2d1)],_0x1854a0=(_0x55d2e2,_0x3a87b1,_0x24c6d3,_0x4c7305)=>{const _0x18b3a1=_0x3db0e4;for(var _0x391a8b=_0x4c7305>0x1?void 0x0:_0x4c7305?_0x3cd354(_0x3a87b1,_0x24c6d3):_0x3a87b1,_0x23732f=_0x55d2e2[_0x18b3a1(0xf8)]-0x1,_0x52543f;_0x23732f>=0x0;_0x23732f--)(_0x52543f=_0x55d2e2[_0x23732f])&&(_0x391a8b=_0x52543f(_0x391a8b)||_0x391a8b);return _0x391a8b;},_0x3ba674=(_0x450de0,_0x4aae30)=>(_0x3d4bcb,_0x32a621)=>_0x4aae30(_0x3d4bcb,_0x32a621,_0x450de0);let _0x36ef44=class{constructor(_0x5a391a,_0x84df47){const _0x397490=_0x3db0e4;this[_0x397490(0x2da)]=_0x5a391a,this[_0x397490(0x1e4)]=_0x84df47;}['transformIMECache'](_0x9e10d5){const _0x24328d=_0x3db0e4;this[_0x24328d(0x1d8)](_0x9e10d5),this[_0x24328d(0x3c2)](_0x9e10d5);}[_0x3db0e4(0x23e)](_0x5e125a){const _0x4729ab=_0x3db0e4,{unitID:_0x22122b}=_0x5e125a,_0x5725bd=this[_0x4729ab(0x1e4)]['getRenderById'](_0x22122b)['with'](_0xa8c85b[_0x4729ab(0x150)]),{redoCache:_0x1faa63}=_0x5725bd[_0x4729ab(0x2ff)]();if(_0x1faa63[_0x4729ab(0xf8)]===0x0)return _0x5e125a;let _0x1bf5a2=_0x3f9956[_0x4729ab(0x38e)]['deepClone'](_0x5e125a['mutations'][0x0]);for(let _0x50a675=0x0;_0x50a675<_0x1faa63['length'];_0x50a675++){const _0x2a2ea6={'id':_0x4729ab(0x260),'params':{..._0x1faa63[_0x50a675]}},_0x194ab9=this['_transformService'][_0x4729ab(0x2eb)](_0x1bf5a2,_0x2a2ea6,!0x1);if(_0x2de7d2[_0x4729ab(0x18d)](_0x194ab9))throw _0x194ab9['error'];_0x1bf5a2=_0x194ab9[_0x4729ab(0x19d)];}return{..._0x3f9956[_0x4729ab(0x38e)][_0x4729ab(0x366)](_0x5e125a),'mutations':[_0x1bf5a2]};}[_0x3db0e4(0x1d8)](_0x414ea1){const _0x18a546=_0x3db0e4,{unitID:_0x5a82e4}=_0x414ea1,_0x45e8cd=this[_0x18a546(0x1e4)][_0x18a546(0x12d)](_0x5a82e4)['with'](_0xa8c85b[_0x18a546(0x150)]),{undoCache:_0x3d5b1c,redoCache:_0x409001}=_0x45e8cd[_0x18a546(0x2ff)]();if(_0x3d5b1c['length']===0x0||_0x409001[_0x18a546(0xf8)]===0x0)return;const _0x8c1b78=[],_0x3c317a=[];let _0x369e18=_0x3f9956['Tools'][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]),_0xf1d735=_0x3f9956[_0x18a546(0x38e)][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]);for(let _0x3fffb3=_0x3d5b1c['length']-0x1;_0x3fffb3>=0x0;_0x3fffb3--){const _0x8714fa={'id':_0x18a546(0x260),'params':{..._0x3d5b1c[_0x3fffb3]}},_0x13ef6a={'id':_0x18a546(0x260),'params':{..._0x409001[_0x3fffb3]}},_0x6d826=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0x369e18,_0x8714fa,!0x1),_0xf8b48c=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0xf1d735,_0x13ef6a,!0x1);if(_0x2de7d2[_0x18a546(0x18d)](_0x6d826))throw _0x6d826[_0x18a546(0x235)];if(_0x2de7d2['isTransformMutationFailure'](_0xf8b48c))throw _0xf8b48c[_0x18a546(0x235)];_0x8c1b78['unshift'](_0x6d826['m2Prime'][_0x18a546(0x176)]),_0x3c317a[_0x18a546(0x177)](_0xf8b48c[_0x18a546(0x333)]['params']),_0x369e18=_0x6d826[_0x18a546(0x19d)],_0xf1d735=_0xf8b48c[_0x18a546(0x19d)];}_0x45e8cd['setUndoRedoMutationParamsCache']({'undoCache':_0x8c1b78,'redoCache':_0x3c317a});}[_0x3db0e4(0x3c2)](_0x59c2d0){const _0x536d32=_0x3db0e4,{unitID:_0x57471c}=_0x59c2d0,_0x1ed94f=this['_renderManagerService'][_0x536d32(0x12d)](_0x57471c)[_0x536d32(0x395)](_0xa8c85b[_0x536d32(0x150)]),_0x1a1c94=_0x1ed94f[_0x536d32(0x28f)]();if(_0x1a1c94==null)return;const _0x27b48c=[{'id':_0x536d32(0x260),'params':{'unitId':_0x59c2d0[_0x536d32(0x297)],'actions':null,'textRanges':[_0x1a1c94]}}],_0x2a7b22=this[_0x536d32(0x2da)][_0x536d32(0x385)](_0x59c2d0,_0x27b48c);if(!_0x2de7d2[_0x536d32(0x369)](_0x2a7b22))throw _0x2a7b22['error'];const _0xe00fee=_0x2a7b22[_0x536d32(0x333)][0x0][_0x536d32(0x176)][_0x536d32(0x2c2)];Array[_0x536d32(0x37e)](_0xe00fee)&&_0xe00fee[_0x536d32(0xf8)]&&_0x1ed94f[_0x536d32(0x2ad)](_0xe00fee[0x0]);}};_0x36ef44=_0x1854a0([_0x3ba674(0x0,_0x2de7d2['ITransformService']),_0x3ba674(0x1,_0x2dd116['IRenderManagerService'])],_0x36ef44);var _0x15cea0=Object[_0x3db0e4(0x2d1)],_0x592019=(_0x587ddc,_0x4e061b,_0x53b522,_0x1866b4)=>{const _0x3c1841=_0x3db0e4;for(var _0x19ae5e=_0x1866b4>0x1?void 0x0:_0x1866b4?_0x15cea0(_0x4e061b,_0x53b522):_0x4e061b,_0x4933eb=_0x587ddc[_0x3c1841(0xf8)]-0x1,_0x7f5240;_0x4933eb>=0x0;_0x4933eb--)(_0x7f5240=_0x587ddc[_0x4933eb])&&(_0x19ae5e=_0x7f5240(_0x19ae5e)||_0x19ae5e);return _0x19ae5e;},_0x5f42e6=(_0x54fada,_0x4958bc)=>(_0x3c8ce7,_0x4d0669)=>_0x4958bc(_0x3c8ce7,_0x4d0669,_0x54fada);let _0x548941=class{constructor(_0x181f5b,_0x522514,_0x469993){this['_injector']=_0x181f5b,this['_transformService']=_0x522514,this['_docStateChangeManagerService']=_0x469993;}[_0x3db0e4(0x2ee)](_0x12772e){const _0x681f4a=_0x3db0e4;this[_0x681f4a(0x35a)](_0x12772e);}[_0x3db0e4(0x23e)](_0x299656){const _0xe5849b=_0x3db0e4,{unitID:_0x1dc15c}=_0x299656,{collaboration:_0x1f8f9c}=this['_docStateChangeManagerService']['getStateCache'](_0x1dc15c);if(_0x1f8f9c[_0xe5849b(0xf8)]===0x0)return _0x299656;let _0x272b37=_0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656[_0xe5849b(0x2d9)][0x0]);for(let _0x19db00=0x0;_0x19db00<_0x1f8f9c[_0xe5849b(0xf8)];_0x19db00++){const _0x5ed8d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f8f9c[_0x19db00][_0xe5849b(0x2bc)],..._0x1f8f9c[_0x19db00][_0xe5849b(0x2af)]}},_0x40fa04=this[_0xe5849b(0x2da)][_0xe5849b(0x2eb)](_0x272b37,_0x5ed8d5,!0x1);if(_0x2de7d2[_0xe5849b(0x18d)](_0x40fa04))throw _0x40fa04['error'];_0x272b37=_0x40fa04['m1Prime'];}return{..._0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656),'mutations':[_0x272b37]};}[_0x3db0e4(0x35a)](_0x84fd74){const _0x5aa285=_0x3db0e4,{unitID:_0x205e51}=_0x84fd74,{history:_0x59f050,collaboration:_0x29d122}=this[_0x5aa285(0x2b3)][_0x5aa285(0x24e)](_0x205e51);if(_0x59f050[_0x5aa285(0xf8)]===0x0&&_0x29d122['length']===0x0)return;const _0x4ed5ff=[],_0x4f84e5=[];let _0x46cca1=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]);for(let _0x3296d5=_0x59f050[_0x5aa285(0xf8)]-0x1;_0x3296d5>=0x0;_0x3296d5--){const _0x45dc86={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5][_0x5aa285(0x290)]}},_0x5b2c9e={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5]['redoState']}},_0x46e770=this['_transformService'][_0x5aa285(0x2eb)](_0x46cca1,_0x45dc86,!0x1),_0x315d64=this[_0x5aa285(0x2da)][_0x5aa285(0x2eb)](_0x56e0da,_0x5b2c9e,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x46e770))throw _0x46e770[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0x315d64))throw _0x315d64[_0x5aa285(0x235)];_0x4ed5ff[_0x5aa285(0x177)]({..._0x59f050[_0x3296d5],'undoState':_0x46e770['m2Prime'][_0x5aa285(0x176)],'redoState':_0x315d64[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x46e770[_0x5aa285(0x19d)],_0x56e0da=_0x315d64[_0x5aa285(0x19d)];}_0x46cca1=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]);for(let _0x36ea2a=_0x29d122[_0x5aa285(0xf8)]-0x1;_0x36ea2a>=0x0;_0x36ea2a--){const _0x1c0fb6={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x290)]}},_0x48c2c1={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x2af)]}},_0x16c159=this[_0x5aa285(0x2da)]['transformMutation'](_0x46cca1,_0x1c0fb6,!0x1),_0xb9d0bc=this['_transformService'][_0x5aa285(0x2eb)](_0x56e0da,_0x48c2c1,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x16c159))throw _0x16c159[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0xb9d0bc))throw _0xb9d0bc[_0x5aa285(0x235)];_0x4f84e5[_0x5aa285(0x177)]({..._0x29d122[_0x36ea2a],'undoState':_0x16c159[_0x5aa285(0x333)]['params'],'redoState':_0xb9d0bc[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x16c159[_0x5aa285(0x19d)],_0x56e0da=_0xb9d0bc[_0x5aa285(0x19d)];}this[_0x5aa285(0x2b3)]['setStateCache'](_0x205e51,{'history':_0x4ed5ff,'collaboration':_0x4f84e5});}};_0x548941=_0x592019([_0x5f42e6(0x0,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x5f42e6(0x1,_0x2de7d2[_0x3db0e4(0x281)]),_0x5f42e6(0x2,_0x3f9956['Inject'](_0xa8c85b['DocStateChangeManagerService']))],_0x548941);var _0x5025bc=Object[_0x3db0e4(0x2d1)],_0x2a9bd5=(_0x3e13a7,_0x2bf32f,_0x4441bd,_0x48263c)=>{const _0x277239=_0x3db0e4;for(var _0x31ea98=_0x48263c>0x1?void 0x0:_0x48263c?_0x5025bc(_0x2bf32f,_0x4441bd):_0x2bf32f,_0x43253c=_0x3e13a7[_0x277239(0xf8)]-0x1,_0x450f3b;_0x43253c>=0x0;_0x43253c--)(_0x450f3b=_0x3e13a7[_0x43253c])&&(_0x31ea98=_0x450f3b(_0x31ea98)||_0x31ea98);return _0x31ea98;},_0x592d50=(_0x14bc60,_0x13a2c8)=>(_0x25f686,_0x4ce00b)=>_0x13a2c8(_0x25f686,_0x4ce00b,_0x14bc60);let _0x5573a9=class{constructor(_0x1963a5,_0x378956){const _0x26d9a3=_0x3db0e4;this[_0x26d9a3(0x15f)]=_0x1963a5,this[_0x26d9a3(0x2da)]=_0x378956;}[_0x3db0e4(0x119)](_0x760079){const _0x137678=_0x3db0e4;var _0x32a9b2;const _0x2af304=this['_injector']['get'](_0x333572['DocSelectionManagerService']),_0x31ce1c=(_0x32a9b2=_0x2af304[_0x137678(0x1ac)]())!=null?_0x32a9b2:[];if(_0x31ce1c['length']===0x0)return;const _0x17dd5c=_0x760079[_0x137678(0x297)],_0x3c5e54=[{'id':_0x137678(0x260),'params':{'unitId':_0x17dd5c,'actions':null,'textRanges':_0x31ce1c}}],_0x459e04=this[_0x137678(0x2da)][_0x137678(0x385)](_0x760079,_0x3c5e54);if(!_0x2de7d2['isTransformMutationsWithChangesetSuccess'](_0x459e04))throw _0x459e04[_0x137678(0x235)];const _0x21807d=_0x459e04[_0x137678(0x333)][0x0][_0x137678(0x176)]['textRanges'];Array[_0x137678(0x37e)](_0x21807d)&&_0x21807d['length']&&_0x2af304[_0x137678(0x36b)](_0x21807d,{'unitId':_0x17dd5c,'subUnitId':_0x17dd5c},!0x1);}};_0x5573a9=_0x2a9bd5([_0x592d50(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x592d50(0x1,_0x2de7d2[_0x3db0e4(0x281)])],_0x5573a9);var _0x38d5eb=Object[_0x3db0e4(0x2d1)],_0x4fa85e=(_0x6be0c7,_0x329559,_0x645c4d,_0x4c22f4)=>{const _0x39335b=_0x3db0e4;for(var _0x383110=_0x4c22f4>0x1?void 0x0:_0x4c22f4?_0x38d5eb(_0x329559,_0x645c4d):_0x329559,_0x342f84=_0x6be0c7[_0x39335b(0xf8)]-0x1,_0x1de3e3;_0x342f84>=0x0;_0x342f84--)(_0x1de3e3=_0x6be0c7[_0x342f84])&&(_0x383110=_0x1de3e3(_0x383110)||_0x383110);return _0x383110;},_0x45f415=(_0x2512fc,_0x455dc7)=>(_0x20c5af,_0x349fec)=>_0x455dc7(_0x20c5af,_0x349fec,_0x2512fc);let _0x1f68e4=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x3605cd,_0x589df7,_0x1055ab,_0x1d2e7c,_0x59cea2,_0x50f9a7,_0x2e19d8,_0x41061d){const _0x448d83=_0x3db0e4;super(),_0x442022(this,'_status$',new _0x6aec0[(_0x448d83(0x154))](_0x184317[_0x448d83(0x371)][_0x448d83(0x11b)])),(this[_0x448d83(0x2b3)]=_0x3605cd,this['_collaborationController']=_0x589df7,this[_0x448d83(0x391)]=_0x1055ab,this['_docTransformStateCacheService']=_0x1d2e7c,this[_0x448d83(0x1f7)]=_0x59cea2,this['_docSyncEditingCollabCursorService']=_0x50f9a7,this[_0x448d83(0x174)]=_0x2e19d8,this[_0x448d83(0x359)]=_0x41061d,this[_0x448d83(0xfc)]());}[_0x3db0e4(0xfc)](){const _0x3d8fc5=_0x3db0e4;this[_0x3d8fc5(0x20e)](this[_0x3d8fc5(0x34a)][_0x3d8fc5(0x3a6)][_0x3d8fc5(0x29b)](_0x55c1a0=>{const _0x5e535d=_0x3d8fc5,_0x79d48f=this[_0x5e535d(0x2b3)][_0x5e535d(0x3b6)][_0x5e535d(0x29b)](_0x52d9c2=>{const _0x48489d=_0x5e535d;if(_0x52d9c2==null)return;const {unitId:_0x2bc88d,redoState:_0x3cacd2,commandId:_0x14897e}=_0x52d9c2;if(_0x2bc88d!==_0x55c1a0[_0x48489d(0x297)])return;const _0x47d905={'id':_0x14897e,'type':_0x3f9956[_0x48489d(0x31b)]['MUTATION'],'params':{'unitId':_0x2bc88d,'actions':_0x3cacd2[_0x48489d(0x380)],'textRanges':null}};_0x55c1a0[_0x48489d(0x1d0)](_0x47d905);});if(_0x55c1a0[_0x5e535d(0x20e)](_0x79d48f),_0x55c1a0 instanceof _0x184317[_0x5e535d(0x13e)]){const _0x1dae51={'onTransformIME':_0x3a1ed5=>this['_docTransformIMECacheService'][_0x5e535d(0x1ca)](_0x3a1ed5),'onTransformState':_0x40bb14=>this[_0x5e535d(0x123)][_0x5e535d(0x2ee)](_0x40bb14),'onTransformSelections':_0x485339=>this[_0x5e535d(0x1f7)][_0x5e535d(0x119)](_0x485339),'onSyncEditingCollabCursor':_0x4885e1=>this[_0x5e535d(0x343)][_0x5e535d(0x1a4)](_0x4885e1),'onTransformRemoteChangesetByIMECache':_0x560d28=>this['_docTransformIMECacheService'][_0x5e535d(0x23e)](_0x560d28),'onTransformRemoteChangesetByStateCache':_0x2fb6ab=>this[_0x5e535d(0x123)]['transformRemoteChangeset'](_0x2fb6ab)};_0x55c1a0[_0x5e535d(0x183)](_0x1dae51);}}));}};_0x1f68e4=_0x4fa85e([_0x45f415(0x0,_0x3f9956[_0x3db0e4(0x302)](_0xa8c85b[_0x3db0e4(0x368)])),_0x45f415(0x1,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x206)])),_0x45f415(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x36ef44)),_0x45f415(0x3,_0x3f9956['Inject'](_0x548941)),_0x45f415(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x5573a9)),_0x45f415(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x5e3cb6)),_0x45f415(0x6,_0x26d040[_0x3db0e4(0x30a)]),_0x45f415(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x1f68e4);var _0x2133b7=(_0x1d499e=>(_0x1d499e[_0x1d499e[_0x3db0e4(0x313)]=0x0]=_0x3db0e4(0x313),_0x1d499e[_0x1d499e['OK']=0x1]='OK',_0x1d499e[_0x1d499e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1d499e[_0x1d499e[_0x3db0e4(0x1be)]=0x3]=_0x3db0e4(0x1be),_0x1d499e[_0x1d499e[_0x3db0e4(0x38b)]=0x4]='NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x23c)]=0x5]=_0x3db0e4(0x23c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32b)]=0x6]=_0x3db0e4(0x32b),_0x1d499e[_0x1d499e['INVALID_ARGUMENT']=0x7]=_0x3db0e4(0x274),_0x1d499e[_0x1d499e[_0x3db0e4(0x38f)]=0x8]='TOO_MANY_REQUESTS',_0x1d499e[_0x1d499e[_0x3db0e4(0x147)]=0x9]=_0x3db0e4(0x147),_0x1d499e[_0x1d499e[_0x3db0e4(0x254)]=0xa]=_0x3db0e4(0x254),_0x1d499e[_0x1d499e[_0x3db0e4(0x23d)]=0xb]=_0x3db0e4(0x23d),_0x1d499e[_0x1d499e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3db0e4(0x16a),_0x1d499e[_0x1d499e[_0x3db0e4(0x351)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1d499e[_0x1d499e[_0x3db0e4(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d499e[_0x1d499e[_0x3db0e4(0x321)]=0xf]=_0x3db0e4(0x321),_0x1d499e[_0x1d499e[_0x3db0e4(0x11c)]=0x10]=_0x3db0e4(0x11c),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a0)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d499e[_0x1d499e[_0x3db0e4(0x13d)]=0x65]=_0x3db0e4(0x13d),_0x1d499e[_0x1d499e['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x300)]=0xca]=_0x3db0e4(0x300),_0x1d499e[_0x1d499e[_0x3db0e4(0x2e9)]=0x1389]=_0x3db0e4(0x2e9),_0x1d499e[_0x1d499e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db0e4(0x196),_0x1d499e[_0x1d499e[_0x3db0e4(0xf1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d499e[_0x1d499e[_0x3db0e4(0x335)]=0x1773]=_0x3db0e4(0x335),_0x1d499e[_0x1d499e['APPLY_REJECT']=0x1b59]=_0x3db0e4(0x215),_0x1d499e[_0x1d499e[_0x3db0e4(0x2b7)]=0x1b5a]=_0x3db0e4(0x2b7),_0x1d499e[_0x1d499e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3db0e4(0x23f),_0x1d499e[_0x1d499e[_0x3db0e4(0x3c3)]=0x1b5c]=_0x3db0e4(0x3c3),_0x1d499e[_0x1d499e[_0x3db0e4(0x175)]=0x1b5d]='APPLY_DUPLICATED',_0x1d499e[_0x1d499e[_0x3db0e4(0x1b1)]=0x1f41]=_0x3db0e4(0x1b1),_0x1d499e[_0x1d499e[_0x3db0e4(0x310)]=0x2329]=_0x3db0e4(0x310),_0x1d499e[_0x1d499e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1d499e[_0x1d499e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3db0e4(0x33e),_0x1d499e[_0x1d499e[_0x3db0e4(0x2c3)]=0x232c]=_0x3db0e4(0x2c3),_0x1d499e[_0x1d499e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db0e4(0x21c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32d)]=0x2711]=_0x3db0e4(0x32d),_0x1d499e[_0x1d499e[_0x3db0e4(0x200)]=0x2712]=_0x3db0e4(0x200),_0x1d499e[_0x1d499e[_0x3db0e4(0x13c)]=0x2713]=_0x3db0e4(0x13c),_0x1d499e[_0x1d499e[_0x3db0e4(0x20a)]=0x2714]=_0x3db0e4(0x20a),_0x1d499e[_0x1d499e[_0x3db0e4(0x121)]=0x271a]=_0x3db0e4(0x121),_0x1d499e[_0x1d499e[_0x3db0e4(0xf2)]=0x271b]=_0x3db0e4(0xf2),_0x1d499e[_0x1d499e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3db0e4(0x287),_0x1d499e[_0x1d499e[_0x3db0e4(0x24b)]=0x271d]=_0x3db0e4(0x24b),_0x1d499e[_0x1d499e[_0x3db0e4(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d499e[_0x1d499e[_0x3db0e4(0x32c)]=0x271f]=_0x3db0e4(0x32c),_0x1d499e[_0x1d499e[_0x3db0e4(0x38d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x33a)]=0x2af9]=_0x3db0e4(0x33a),_0x1d499e[_0x1d499e[_0x3db0e4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d499e[_0x1d499e[_0x3db0e4(0x3ba)]=0x2ee2]=_0x3db0e4(0x3ba),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1d499e[_0x1d499e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3db0e4(0x114),_0x1d499e[_0x1d499e[_0x3db0e4(0x2a5)]=0x2ee5]=_0x3db0e4(0x2a5),_0x1d499e[_0x1d499e[_0x3db0e4(0x318)]=0x32c9]=_0x3db0e4(0x318),_0x1d499e[_0x1d499e[_0x3db0e4(0x127)]=0x32ca]=_0x3db0e4(0x127),_0x1d499e[_0x1d499e[_0x3db0e4(0x250)]=0x32cb]=_0x3db0e4(0x250),_0x1d499e[_0x1d499e[_0x3db0e4(0x26e)]=0x36b1]=_0x3db0e4(0x26e),_0x1d499e[_0x1d499e[_0x3db0e4(0x181)]=0x36b2]=_0x3db0e4(0x181),_0x1d499e[_0x1d499e[_0x3db0e4(0x2ae)]=0x36b3]=_0x3db0e4(0x2ae),_0x1d499e[_0x1d499e[_0x3db0e4(0x219)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x1d499e[_0x1d499e[_0x3db0e4(0x134)]=0x3715]=_0x3db0e4(0x134),_0x1d499e[_0x1d499e[_0x3db0e4(0x39b)]=0x3716]=_0x3db0e4(0x39b),_0x1d499e[_0x1d499e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1d499e[_0x1d499e[_0x3db0e4(0x1d9)]=0x3a99]=_0x3db0e4(0x1d9),_0x1d499e[_0x1d499e['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3db0e4(0x267),_0x1d499e[_0x1d499e[_0x3db0e4(0x35b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d499e[_0x1d499e[_0x3db0e4(0x24c)]=0x3a9c]=_0x3db0e4(0x24c),_0x1d499e[_0x1d499e[_0x3db0e4(0x21d)]=0x3a9d]=_0x3db0e4(0x21d),_0x1d499e[_0x1d499e[_0x3db0e4(0x397)]=0x3a9e]=_0x3db0e4(0x397),_0x1d499e[_0x1d499e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3db0e4(0x2f6),_0x1d499e[_0x1d499e['UNRECOGNIZED']=-0x1]=_0x3db0e4(0x155),_0x1d499e))(_0x2133b7||{});function _0x4ba424(_0x153591){const _0x122f49=_0x3db0e4;var _0x321d2a,_0xb40a58;const _0x3bb665=(_0x321d2a=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0x321d2a['stage'],_0x40324e=((_0xb40a58=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0xb40a58['totalFormulasToCalculate'])||0x0;return _0x3bb665===_0x2c79d7['FormulaExecuteStageType'][_0x122f49(0x1dc)]&&_0x40324e>0x0;}function _0x11d8af(_0x5a71ee){const _0x28d976=_0x3db0e4;return _0x5a71ee[_0x28d976(0x2f5)]===_0x2c79d7[_0x28d976(0x2aa)]['SUCCESS'];}var _0x597314=Object[_0x3db0e4(0x2d1)],_0x24d578=(_0x458c03,_0x59a53a,_0x2f6326,_0x269811)=>{for(var _0x8b5db4=_0x269811>0x1?void 0x0:_0x269811?_0x597314(_0x59a53a,_0x2f6326):_0x59a53a,_0x1a7280=_0x458c03['length']-0x1,_0x15e7e9;_0x1a7280>=0x0;_0x1a7280--)(_0x15e7e9=_0x458c03[_0x1a7280])&&(_0x8b5db4=_0x15e7e9(_0x8b5db4)||_0x8b5db4);return _0x8b5db4;},_0x4de614=(_0x501363,_0x28c48e)=>(_0x33981f,_0x4134df)=>_0x28c48e(_0x33981f,_0x4134df,_0x501363);const _0x1ec8ac='/universer-api/license/formula/limit/status',_0x43f063=_0x3db0e4(0x2de),_0x4c95f8=_0x3db0e4(0x266);let _0x886def=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x16c463,_0x4523b2,_0x1eeb1c,_0x14508e,_0x3496eb,_0x5aaf21,_0x44738e){const _0x15923a=_0x3db0e4;super(),_0x442022(this,_0x15923a(0x378),null),_0x442022(this,_0x15923a(0x101),0x0),_0x442022(this,_0x15923a(0x27a),0x0),_0x442022(this,'_taskIds',[]),_0x442022(this,_0x15923a(0x208),0x0),(this[_0x15923a(0x174)]=_0x16c463,this[_0x15923a(0x278)]=_0x4523b2,this['_configService']=_0x1eeb1c,this['_httpService']=_0x14508e,this[_0x15923a(0x205)]=_0x3496eb,this[_0x15923a(0x237)]=_0x5aaf21,this[_0x15923a(0x359)]=_0x44738e,this[_0x15923a(0x36c)]());}[_0x3db0e4(0x36c)](){const _0xc53e86=_0x3db0e4;this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)]['beforeCommandExecuted']((_0xb0122f,_0x1e2709)=>{const _0x154fbb=_0xc53e86;if(_0xb0122f['id']!==_0x2c79d7['SetFormulaCalculationStartMutation']['id'])return;const _0x1bd76=_0xb0122f[_0x154fbb(0x176)];if(!this[_0x154fbb(0x3bb)](_0x1bd76[_0x154fbb(0x338)]))return;if(!this[_0x154fbb(0x11f)]())throw this[_0x154fbb(0x1e0)](_0xb0122f,_0x1e2709),this[_0x154fbb(0x26c)](),new _0x3f9956[(_0x154fbb(0x2f1))]();})),this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)][_0xc53e86(0x14d)]((_0x4f5cae,_0x5dd8eb)=>{const _0x19275a=_0xc53e86;if(_0x4f5cae['id']!==_0x2c79d7['SetFormulaCalculationNotificationMutation']['id'])return;const _0x1e7af7=_0x4f5cae[_0x19275a(0x176)];if(_0x4ba424(_0x1e7af7)){const _0x15c139=_0x3f9956['generateRandomId']();this[_0x19275a(0x2c1)][_0x19275a(0x1ae)](_0x15c139),this['_startCalculationLimit'](_0x15c139);}else{if(_0x11d8af(_0x1e7af7)&&this[_0x19275a(0x2c1)][_0x19275a(0xf8)]>0x0){const _0x21465b=this[_0x19275a(0x2c1)][_0x19275a(0x1d1)]();this[_0x19275a(0x296)](_0x21465b);}}}));}[_0x3db0e4(0x14f)](){const _0x4e517f=_0x3db0e4;super[_0x4e517f(0x14f)](),this[_0x4e517f(0x31a)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x4e517f(0x101)]=0x0,this[_0x4e517f(0x208)]=0x0;}async[_0x3db0e4(0x1e0)](_0xc6268f,_0x2085b4){const _0x3abd0f=_0x3db0e4;for(let _0x51c242=0x0;_0x51c242<0x1e;_0x51c242++)try{if(await this[_0x3abd0f(0x1b3)](),this[_0x3abd0f(0x11f)]()){this[_0x3abd0f(0x26b)](_0xc6268f,_0x2085b4),this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x233)),'type':_0x3fc7ae['MessageType'][_0x3abd0f(0x210)]});return;}await new Promise(_0x1dc29a=>{const _0x364fe1=_0x3abd0f;this[_0x364fe1(0x378)]=window[_0x364fe1(0x2f2)](_0x1dc29a,0x3e8);});}catch(_0x24352d){this[_0x3abd0f(0x237)]['error'](_0x24352d);}this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x103)),'type':_0x3fc7ae[_0x3abd0f(0x25c)][_0x3abd0f(0x136)]});}[_0x3db0e4(0x26b)](_0x2e6a87,_0x174eda){const _0x22cb27=_0x3db0e4;try{this['_commandService']['executeCommand'](_0x2e6a87['id'],_0x2e6a87[_0x22cb27(0x176)],_0x174eda);}catch(_0x2ee5d5){this[_0x22cb27(0x237)]['error'](_0x2ee5d5);}}[_0x3db0e4(0x1b7)](_0x124c3e,_0x573a17){const _0x250da5=_0x3db0e4;_0x573a17<this[_0x250da5(0x208)]||(this[_0x250da5(0x208)]=_0x573a17,this[_0x250da5(0x101)]=Number[_0x250da5(0x14b)](_0x124c3e['maxFormulaLimit']),this[_0x250da5(0x27a)]=Number[_0x250da5(0x14b)](_0x124c3e['currentUsage']));}async[_0x3db0e4(0x1e6)](_0x8ded00){const _0x3298b1=_0x3db0e4;var _0x3b7c24,_0x1ef674;const _0x39792a=Date['now']();try{const _0x3a72c5=((_0x3b7c24=this[_0x3298b1(0x358)][_0x3298b1(0x2f9)](_0x184317[_0x3298b1(0x239)]))==null?void 0x0:_0x3b7c24[_0x3298b1(0x124)])||_0x43f063,_0x59cc5a=(await this[_0x3298b1(0x374)]['post'](_0x3a72c5,{'body':JSON[_0x3298b1(0x1a2)]({'taskId':_0x8ded00})}))['body'];if(((_0x1ef674=_0x59cc5a[_0x3298b1(0x235)])==null?void 0x0:_0x1ef674[_0x3298b1(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x59cc5a['limitInfo'],_0x39792a);}catch(_0x5223cc){this['_logService']['error'](_0x5223cc);}}async[_0x3db0e4(0x1b3)](_0x111b9c){const _0x388f16=_0x3db0e4;var _0xcf54e2,_0x2e15c2;const _0x1e5a6f=Date['now']();try{const _0x1f8209=((_0xcf54e2=this[_0x388f16(0x358)][_0x388f16(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xcf54e2[_0x388f16(0x262)])||_0x1ec8ac,_0x4c55fa=_0x111b9c?_0x1f8209+'?taskId='+encodeURIComponent(_0x111b9c):_0x1f8209,_0x409c5d=(await this[_0x388f16(0x374)][_0x388f16(0x392)](_0x4c55fa))[_0x388f16(0x26a)];if(((_0x2e15c2=_0x409c5d['error'])==null?void 0x0:_0x2e15c2[_0x388f16(0x2dd)])!==_0x2133b7['OK'])return;this[_0x388f16(0x1b7)](_0x409c5d[_0x388f16(0x22a)],_0x1e5a6f);}catch(_0x33581a){this[_0x388f16(0x237)][_0x388f16(0x235)](_0x33581a);}}async[_0x3db0e4(0x296)](_0x40f87d){const _0x55ff4f=_0x3db0e4;var _0x28e639,_0x1b7001;const _0x206edd=Date['now']();try{const _0xc1cdab=((_0x28e639=this['_configService'][_0x55ff4f(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x28e639[_0x55ff4f(0xfa)])||_0x4c95f8,_0x5d7371=(await this['_httpService'][_0x55ff4f(0x301)](_0xc1cdab,{'body':JSON[_0x55ff4f(0x1a2)]({'taskId':_0x40f87d})}))[_0x55ff4f(0x26a)];if(((_0x1b7001=_0x5d7371[_0x55ff4f(0x235)])==null?void 0x0:_0x1b7001[_0x55ff4f(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x5d7371['limitInfo'],_0x206edd);}catch(_0x36828e){this[_0x55ff4f(0x237)][_0x55ff4f(0x235)](_0x36828e);}}[_0x3db0e4(0x11f)](){const _0x47582a=_0x3db0e4;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x47582a(0x27a)]>0x0;}[_0x3db0e4(0x31a)](){const _0x4d6fa=_0x3db0e4;this['_pollingInterval']&&(clearTimeout(this[_0x4d6fa(0x378)]),this[_0x4d6fa(0x378)]=null);}[_0x3db0e4(0x26c)](){const _0x3d7805=_0x3db0e4;this['_messageService']['show']({'content':this[_0x3d7805(0x359)]['t'](_0x3d7805(0x2fe)),'type':_0x3fc7ae[_0x3d7805(0x25c)][_0x3d7805(0x153)]});}[_0x3db0e4(0x3bb)](_0x589e30){const _0x607e54=_0x3db0e4;for(const _0x193bae of _0x589e30){const {unitId:_0x556506,sheetId:_0x415d29,range:_0x573c78}=_0x193bae,_0x56a1ab=this[_0x607e54(0x205)][_0x607e54(0xfe)](_0x556506);if(!_0x56a1ab)continue;const _0x2fb467=_0x56a1ab[_0x607e54(0x36f)](_0x415d29);if(!_0x2fb467)continue;const _0x2d3120=_0x2fb467[_0x607e54(0x216)]();for(let _0x2a60b5=_0x573c78[_0x607e54(0x16c)];_0x2a60b5<=_0x573c78[_0x607e54(0x398)];_0x2a60b5++)for(let _0xbc0d2b=_0x573c78[_0x607e54(0x14c)];_0xbc0d2b<=_0x573c78[_0x607e54(0x308)];_0xbc0d2b++){const _0x12c0cb=_0x2d3120[_0x607e54(0x1d4)](_0x2a60b5,_0xbc0d2b);if(_0x12c0cb&&(_0x3f9956[_0x607e54(0x19f)](_0x12c0cb['f'])||_0x3f9956[_0x607e54(0x111)](_0x12c0cb['si'])))return!0x0;}}return!0x1;}};_0x886def=_0x24d578([_0x4de614(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x26d040[_0x3db0e4(0x30a)])),_0x4de614(0x1,_0x3f9956[_0x3db0e4(0x30c)]),_0x4de614(0x2,_0x3f9956[_0x3db0e4(0x125)]),_0x4de614(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x4de614(0x4,_0x3f9956['IUniverInstanceService']),_0x4de614(0x5,_0x3f9956['ILogService']),_0x4de614(0x6,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x886def);var _0x21fb74=Object[_0x3db0e4(0x2d1)],_0x4da7ea=(_0x4e8030,_0x857cb6,_0x16180a,_0x5c1487)=>{const _0xbcb1c1=_0x3db0e4;for(var _0x2847a8=_0x5c1487>0x1?void 0x0:_0x5c1487?_0x21fb74(_0x857cb6,_0x16180a):_0x857cb6,_0x263568=_0x4e8030[_0xbcb1c1(0xf8)]-0x1,_0xe51a24;_0x263568>=0x0;_0x263568--)(_0xe51a24=_0x4e8030[_0x263568])&&(_0x2847a8=_0xe51a24(_0x2847a8)||_0x2847a8);return _0x2847a8;},_0x2ef050=(_0x56fa6c,_0x3893e1)=>(_0xa530c7,_0x15c35d)=>_0x3893e1(_0xa530c7,_0x15c35d,_0x56fa6c);let _0x12d161=class extends _0x3f9956['Disposable']{constructor(_0x95d11c,_0x241212,_0x1d1670){const _0x54485a=_0x3db0e4;super(),_0x442022(this,_0x54485a(0x276),new Map()),_0x442022(this,_0x54485a(0x1a6),new Map()),_0x442022(this,_0x54485a(0x2b8),!0x1),(this[_0x54485a(0x358)]=_0x95d11c,this[_0x54485a(0x3b7)]=_0x241212,this[_0x54485a(0x25e)]=_0x1d1670);}[_0x3db0e4(0x2e0)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x525015=_0x3db0e4;this[_0x525015(0x2b8)]=!0x1;}get[_0x3db0e4(0x344)](){const _0x19f75a=_0x3db0e4;return this[_0x19f75a(0x1a6)];}['dispose'](){const _0x53f32f=_0x3db0e4;this[_0x53f32f(0x118)]()[_0x53f32f(0x354)](()=>super['dispose']());}async[_0x3db0e4(0x1de)](_0x57c9fa){const _0x12b4bb=_0x3db0e4;return this['_disabled']?null:this[_0x12b4bb(0x3b7)][_0x12b4bb(0x25a)](_0x184317[_0x12b4bb(0x198)](_0x57c9fa));}async[_0x3db0e4(0x220)](_0x5be8a8,_0x50deb7){const _0x417b0e=_0x3db0e4;return!!this[_0x417b0e(0x3b7)][_0x417b0e(0x367)](_0x5be8a8,_0x50deb7);}[_0x3db0e4(0x133)](_0x1614d4,_0x4fd9b0,_0x340d36,_0x64c4b4){const _0x241b40=_0x3db0e4,_0x3cf832=this[_0x241b40(0x25e)][_0x241b40(0x13b)](_0x1614d4);this[_0x241b40(0x276)]['set'](_0x1614d4,{'unitID':_0x1614d4,'type':_0x4fd9b0,'awaitingChangeset':_0x340d36,'mutations':_0x64c4b4,'rev':_0x3cf832}),this[_0x241b40(0x1a6)]['has'](_0x1614d4)||this[_0x241b40(0x16e)](_0x1614d4);}[_0x3db0e4(0x16e)](_0x9ccb47){const _0x33af6c=_0x3db0e4,_0x1c2ec1=this['_getSaveTimeout']();_0x1c2ec1===0x0?this['_saveCache'](_0x9ccb47):this[_0x33af6c(0x1a6)][_0x33af6c(0x26f)](_0x9ccb47,setTimeout(()=>this[_0x33af6c(0x2a0)](_0x9ccb47),_0x1c2ec1));}[_0x3db0e4(0x144)](){const _0x456caf=_0x3db0e4;var _0x207c8f;return(_0x207c8f=this['_configService'][_0x456caf(0x2f9)](_0x184317[_0x456caf(0x1a8)]))!=null?_0x207c8f:_0x184317[_0x456caf(0x280)];}[_0x3db0e4(0x2a0)](_0x532e33){const _0xb8174d=_0x3db0e4,_0x5fc44d=this[_0xb8174d(0x1a6)][_0xb8174d(0x392)](_0x532e33);return _0x5fc44d!==void 0x0&&window['clearTimeout'](_0x5fc44d),this[_0xb8174d(0x3b7)][_0xb8174d(0x367)](_0x184317[_0xb8174d(0x198)](_0x532e33),this[_0xb8174d(0x276)][_0xb8174d(0x392)](_0x532e33))['then'](()=>this[_0xb8174d(0x1a6)]['delete'](_0x532e33));}async[_0x3db0e4(0x118)](){const _0x182054=_0x3db0e4,_0x26995b=[];this[_0x182054(0x1a6)][_0x182054(0x29f)]((_0x46c38d,_0x57a81f)=>{const _0x3ac2bf=_0x182054;window['clearTimeout'](_0x46c38d),_0x26995b[_0x3ac2bf(0x1ae)](this['_saveCache'](_0x57a81f)['then'](()=>{const _0x345631=_0x3ac2bf;this[_0x345631(0x1a6)]['delete'](_0x57a81f);}));}),await Promise[_0x182054(0x24a)](_0x26995b);}};_0x12d161=_0x4da7ea([_0x2ef050(0x0,_0x3f9956[_0x3db0e4(0x125)]),_0x2ef050(0x1,_0x3f9956['ILocalStorageService']),_0x2ef050(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x2de7d2['RevisionService']))],_0x12d161);class _0x2d9519 extends _0x3f9956['RxDisposable']{constructor(){const _0x40879c=_0x3db0e4;super(),_0x442022(this,'urlChange$'),this[_0x40879c(0x25f)]=_0x6aec0[_0x40879c(0x1c4)](window,'popstate')[_0x40879c(0xf7)](_0x6aec0[_0x40879c(0x277)](this['dispose$']),_0x6aec0[_0x40879c(0x34f)](0x1),_0x6aec0[_0x40879c(0x1d7)](void 0x0));}[_0x3db0e4(0x270)](_0x4a5e4d,_0x19be5a,_0x1d0870=!0x1){const _0x4d05d0=_0x3db0e4,_0x4ced24=new URL(window['location'][_0x4d05d0(0x2ce)]);_0x4ced24['searchParams'][_0x4d05d0(0x26f)](_0x4a5e4d,_0x19be5a),_0x1d0870?window[_0x4d05d0(0x204)][_0x4d05d0(0x1bf)]('','',_0x4ced24[_0x4d05d0(0x14a)]()):window['history'][_0x4d05d0(0x1b9)]('','',_0x4ced24[_0x4d05d0(0x14a)]());}[_0x3db0e4(0x15b)](_0x8060ef,_0x5991ff=!0x1){const _0x22c852=_0x3db0e4,_0x36dd80=new URL(window[_0x22c852(0x28b)][_0x22c852(0x2ce)]);_0x36dd80[_0x22c852(0x3b1)][_0x22c852(0x1ce)](_0x8060ef),_0x5991ff?window[_0x22c852(0x204)][_0x22c852(0x1bf)]('','',_0x36dd80[_0x22c852(0x14a)]()):window['history']['pushState']('','',_0x36dd80['toString']());}['getParam'](_0x22d446){const _0x4c7e5d=_0x3db0e4;var _0x357bcd;return(_0x357bcd=new URL(window[_0x4c7e5d(0x28b)][_0x4c7e5d(0x2ce)])[_0x4c7e5d(0x3b1)][_0x4c7e5d(0x392)](_0x22d446))!=null?_0x357bcd:void 0x0;}}var _0x51b1b3=Object[_0x3db0e4(0x197)],_0xb42762=Object[_0x3db0e4(0x2d1)],_0x1a038d=(_0x3b6925,_0x11057b,_0x4a8339)=>_0x11057b in _0x3b6925?_0x51b1b3(_0x3b6925,_0x11057b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a8339}):_0x3b6925[_0x11057b]=_0x4a8339,_0x816194=(_0x55c300,_0x5d594b,_0x5ce116,_0x1ef2d2)=>{const _0x1b621b=_0x3db0e4;for(var _0x4e2f97=_0x1ef2d2>0x1?void 0x0:_0x1ef2d2?_0xb42762(_0x5d594b,_0x5ce116):_0x5d594b,_0x3674ac=_0x55c300[_0x1b621b(0xf8)]-0x1,_0x36bf13;_0x3674ac>=0x0;_0x3674ac--)(_0x36bf13=_0x55c300[_0x3674ac])&&(_0x4e2f97=_0x36bf13(_0x4e2f97)||_0x4e2f97);return _0x4e2f97;},_0x2d7b65=(_0x5c6a4b,_0x199710)=>(_0x20ac5c,_0x458d6c)=>_0x199710(_0x20ac5c,_0x458d6c,_0x5c6a4b),_0x4648a2=(_0x4ac198,_0x58d38c,_0x321670)=>_0x1a038d(_0x4ac198,_0x58d38c+'',_0x321670);const _0x116df3=_0x3db0e4(0x13f);_0x4205ba[_0x3db0e4(0x109)]=class extends _0x3f9956[_0x3db0e4(0x379)]{constructor(_0x3d4ffa=_0xd1a49e,_0xf68f41,_0x3b9b43,_0xd4cf6){const _0xd9043e=_0x3db0e4;super(),this[_0xd9043e(0x28a)]=_0x3d4ffa,this[_0xd9043e(0x1e4)]=_0xf68f41,this['_injector']=_0x3b9b43,this['_configService']=_0xd4cf6;const {..._0x43aadf}=_0x3f9956[_0xd9043e(0x37b)]({},_0xd1a49e,this['_config']);this[_0xd9043e(0x358)][_0xd9043e(0x163)](_0x512303,_0x43aadf);}[_0x3db0e4(0x3a2)](){const _0x805cb7=_0x3db0e4;this[_0x805cb7(0x24d)](),this[_0x805cb7(0x1b4)]();}[_0x3db0e4(0x211)](){const _0x178d2d=_0x3db0e4;this[_0x178d2d(0x303)]();}[_0x3db0e4(0x24d)](){const _0x1a8f76=_0x3db0e4;var _0x1a0d6a;const _0x44f97d=[[_0x5cb38a],[_0x886def],[_0x5573a9],[_0x36ef44],[_0x548941],[_0x5e3cb6],[_0x3958fd,{'useClass':_0x2d9519}],[_0x2b426c[_0x1a8f76(0x32f)],{'useClass':_0x2b426c[_0x1a8f76(0x263)]}],[_0x184317[_0x1a8f76(0x3b9)],{'useClass':_0x12d161}],[_0x4205ba[_0x1a8f76(0x171)]],[_0x1f68e4],[_0x395203],[_0x135bf3],[_0x5c2573],[_0x4205ba[_0x1a8f76(0x309)]]];_0x3f9956[_0x1a8f76(0x361)](this[_0x1a8f76(0x15f)],_0x3f9956[_0x1a8f76(0x169)](_0x44f97d,(_0x1a0d6a=this[_0x1a8f76(0x28a)])==null?void 0x0:_0x1a0d6a[_0x1a8f76(0x130)]));}[_0x3db0e4(0x303)](){const _0x54950e=_0x3db0e4;this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956['UniverInstanceType'][_0x54950e(0x257)],[_0x5ddb20])),this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956[_0x54950e(0x100)][_0x54950e(0xff)],[_0x345a73]));}['_initDependencies'](){const _0x14180b=_0x3db0e4;_0x3f9956[_0x14180b(0x261)](this[_0x14180b(0x15f)],[[_0x135bf3],[_0x4205ba[_0x14180b(0x171)]],[_0x1f68e4],[_0x395203],[_0x4205ba[_0x14180b(0x309)]],[_0x886def]]);}},_0x4648a2(_0x4205ba[_0x3db0e4(0x109)],_0x3db0e4(0x1a5),_0x116df3),_0x4205ba[_0x3db0e4(0x109)]=_0x816194([_0x3f9956[_0x3db0e4(0x305)](_0x184317[_0x3db0e4(0x317)]),_0x2d7b65(0x1,_0x2dd116[_0x3db0e4(0x16d)]),_0x2d7b65(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2d7b65(0x3,_0x3f9956['IConfigService'])],_0x4205ba[_0x3db0e4(0x109)]);var _0x329167=Object['getOwnPropertyDescriptor'],_0xfa9c7=(_0x3307f0,_0x3d6801,_0x48fbc2,_0x7d36bf)=>{const _0x515c1b=_0x3db0e4;for(var _0x4d9e5e=_0x7d36bf>0x1?void 0x0:_0x7d36bf?_0x329167(_0x3d6801,_0x48fbc2):_0x3d6801,_0x4c8d58=_0x3307f0[_0x515c1b(0xf8)]-0x1,_0x52c0e7;_0x4c8d58>=0x0;_0x4c8d58--)(_0x52c0e7=_0x3307f0[_0x4c8d58])&&(_0x4d9e5e=_0x52c0e7(_0x4d9e5e)||_0x4d9e5e);return _0x4d9e5e;},_0x58eaf8=(_0x9d52c,_0x2ed8c0)=>(_0x2177bd,_0x312edc)=>_0x2ed8c0(_0x2177bd,_0x312edc,_0x9d52c);_0x4205ba[_0x3db0e4(0x3c1)]=class extends _0x184317[_0x3db0e4(0x316)]{constructor(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a){super(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a);}async[_0x3db0e4(0x275)](_0x1be1a3){const _0x175fe4=_0x3db0e4,_0x53d1e7=await this[_0x175fe4(0xfd)](),_0x567a36=this[_0x175fe4(0x285)](_0x1be1a3,_0x53d1e7);return this[_0x175fe4(0x1e8)](_0x567a36);}[_0x3db0e4(0x285)](_0x13e558,_0x32f91f){const _0x322a8c=_0x3db0e4,_0x4d4fd3=typeof window>'u'?new URL(_0x13e558):new URL(_0x13e558,window[_0x322a8c(0x28b)][_0x322a8c(0x312)]);_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)]('sessionTicket',_0x32f91f);const _0x3e1e20=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x322a8c(0x252)]);return _0x3e1e20[_0x322a8c(0x392)](_0x322a8c(0x25b))&&_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)](_0x322a8c(0x25b),_0x3e1e20['get'](_0x322a8c(0x25b))),_0x4d4fd3['toString']();}async[_0x3db0e4(0xfd)](){const _0x5ca5c8=_0x3db0e4;var _0x16d7cf,_0xeab27b,_0x5e47cc;const _0x5c59c5=this[_0x5ca5c8(0x358)][_0x5ca5c8(0x2f9)](_0x184317[_0x5ca5c8(0x239)]),_0x1572f7=(_0x16d7cf=_0x5c59c5==null?void 0x0:_0x5c59c5[_0x5ca5c8(0x231)])!=null?_0x16d7cf:_0x184317[_0x5ca5c8(0x341)];return(_0x5e47cc=(_0xeab27b=(await this[_0x5ca5c8(0x374)]['get'](_0x1572f7,{'headers':{'Content-Type':_0x5ca5c8(0x2d5)}}))[_0x5ca5c8(0x26a)])==null?void 0x0:_0xeab27b[_0x5ca5c8(0x373)])!=null?_0x5e47cc:'';}},_0x4205ba[_0x3db0e4(0x3c1)]=_0xfa9c7([_0x58eaf8(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x58eaf8(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x58eaf8(0x2,_0x3f9956['IConfigService']),_0x58eaf8(0x3,_0x3f9956[_0x3db0e4(0x2d2)]),_0x58eaf8(0x4,_0x2de7d2['ISnapshotServerService'])],_0x4205ba[_0x3db0e4(0x3c1)]);var _0x2788d7=Object[_0x3db0e4(0x2d1)],_0x39901d=(_0x10ac05,_0x3c63a6,_0x3847ea,_0x3689ae)=>{const _0x4f8e1d=_0x3db0e4;for(var _0x1b7039=_0x3689ae>0x1?void 0x0:_0x3689ae?_0x2788d7(_0x3c63a6,_0x3847ea):_0x3c63a6,_0x2ec4f1=_0x10ac05[_0x4f8e1d(0xf8)]-0x1,_0x13162b;_0x2ec4f1>=0x0;_0x2ec4f1--)(_0x13162b=_0x10ac05[_0x2ec4f1])&&(_0x1b7039=_0x13162b(_0x1b7039)||_0x1b7039);return _0x1b7039;},_0x165fde=(_0x439124,_0x198f79)=>(_0x3cfbbd,_0x41b966)=>_0x198f79(_0x3cfbbd,_0x41b966,_0x439124);_0x4205ba['RemoteUniscriptService']=class extends _0x3f9956['Disposable']{constructor(_0x4ed7ac,_0x34a243,_0x7f9ab5){const _0x1f9745=_0x3db0e4;super(),this[_0x1f9745(0x242)]=_0x4ed7ac,this[_0x1f9745(0x374)]=_0x34a243,this[_0x1f9745(0x358)]=_0x7f9ab5;}async[_0x3db0e4(0x388)](_0x1dc3a0,_0x252fcd,_0xe99942,..._0x2c83df){const _0xe8fd5=_0x3db0e4;var _0x3e2f05,_0x7729f6,_0x19b87f,_0xefa383;const _0x3b66a6=this[_0xe8fd5(0x242)]['getFocusedUnit']();if(!_0x3b66a6)throw new Error(_0xe8fd5(0x255));const _0x334cba=((_0x3e2f05=this[_0xe8fd5(0x358)]['getConfig'](_0x184317[_0xe8fd5(0x31d)]))!=null?_0x3e2f05:_0x184317[_0xe8fd5(0x294)])+'/'+_0x1dc3a0+_0xe8fd5(0x182)+_0x252fcd,_0x8c02e4=new URL(window[_0xe8fd5(0x28b)][_0xe8fd5(0x2ce)]),_0x4e9448={'scriptId':_0x1dc3a0,'runId':(_0x7729f6=_0x8c02e4[_0xe8fd5(0x3b1)]['get']('runId'))!=null?_0x7729f6:'','function':_0x252fcd,'unitId':_0x3b66a6[_0xe8fd5(0x3aa)](),'argsOfFunction':JSON[_0xe8fd5(0x1a2)](_0x2c83df),'invokeId':(_0x19b87f=_0xe99942[_0xe8fd5(0x1af)])!=null?_0x19b87f:'','executionId':(_0xefa383=_0xe99942[_0xe8fd5(0x193)])!=null?_0xefa383:''};try{const _0x29057b=await this[_0xe8fd5(0x374)][_0xe8fd5(0x301)](_0x334cba,{'body':_0x4e9448});return _0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]&&_0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]['code']!==_0x2133b7['OK']?_0xe8fd5(0x158):_0x29057b['body'][_0xe8fd5(0x259)];}catch{return _0xe8fd5(0x158);}}},_0x4205ba[_0x3db0e4(0x2ed)]=_0x39901d([_0x165fde(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x165fde(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c[_0x3db0e4(0x349)])),_0x165fde(0x2,_0x3f9956[_0x3db0e4(0x125)])],_0x4205ba[_0x3db0e4(0x2ed)]);const _0x2a64ff=0x7530,_0x4250c9=_0x3db0e4(0x22c);class _0x567343 extends _0x3f9956[_0x3db0e4(0x225)]{constructor(){const _0x35850e=_0x3db0e4;super(),_0x442022(this,_0x35850e(0x2bd),_0x3f9956[_0x35850e(0x17e)]()),_0x442022(this,_0x35850e(0x2bb),new Set()),_0x442022(this,_0x35850e(0x314),new Map()),_0x442022(this,'_heartbeatTimer',null),_0x442022(this,_0x35850e(0x2b6),new Map()),_0x442022(this,_0x35850e(0x364),new Map()),this['_init']();}[_0x3db0e4(0x14f)](){const _0x189b5c=_0x3db0e4;super[_0x189b5c(0x14f)](),this['_clearOtherTimers'][_0x189b5c(0x29f)]((_0x1cd9db,_0x2f352e)=>this[_0x189b5c(0x19a)](_0x2f352e)),this[_0x189b5c(0x2e2)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3db0e4(0x293)](_0x1cc832){const _0x4c0df2=_0x3db0e4;return this[_0x4c0df2(0x10a)](_0x1cc832)[_0x4c0df2(0xf7)](_0x6aec0['distinctUntilChanged']());}[_0x3db0e4(0x214)](_0x5747fd){const _0x424e3b=_0x3db0e4;this['_selfUnitIDs'][_0x424e3b(0x137)]===0x0&&this[_0x424e3b(0x20b)](),this[_0x424e3b(0x2bb)][_0x424e3b(0x2d8)](_0x5747fd),this[_0x424e3b(0x3c0)]({'type':0x0,'memberID':this[_0x424e3b(0x2bd)],'unitIDs':[_0x5747fd],'isForwarded':!0x1});}[_0x3db0e4(0x1a9)](_0x31b309){const _0x3a6b9d=_0x3db0e4;this['_selfUnitIDs'][_0x3a6b9d(0x1ce)](_0x31b309),this[_0x3a6b9d(0x2bb)][_0x3a6b9d(0x137)]===0x0&&this['_heartbeatTimer']&&window[_0x3a6b9d(0x1fb)](this[_0x3a6b9d(0x2e2)]);}[_0x3db0e4(0x18a)](){const _0x58f3e2=_0x3db0e4;this[_0x58f3e2(0x20e)](_0x3f9956[_0x58f3e2(0x30e)](_0x6aec0['fromEvent'](window,_0x58f3e2(0x299))[_0x58f3e2(0x29b)](_0x3216d5=>{const _0x38e8f9=_0x58f3e2;if(_0x3216d5[_0x38e8f9(0x1c6)]!==_0x4250c9||!_0x3216d5[_0x38e8f9(0x3b8)])return;const _0x266b81=JSON['parse'](_0x3216d5[_0x38e8f9(0x3b8)]);this['_handleEvent'](_0x266b81);}))),window[_0x58f3e2(0x179)]('unload',()=>this[_0x58f3e2(0x3c0)]({'type':0x1,'memberID':this[_0x58f3e2(0x2bd)],'unitIDs':Array['from'](this[_0x58f3e2(0x2bb)])}));}[_0x3db0e4(0x382)](_0x9dc4c1){const _0x246f4f=_0x3db0e4;switch(_0x9dc4c1[_0x246f4f(0x3a0)]){case 0x0:this['_handleJoinEvent'](_0x9dc4c1);break;case 0x1:this[_0x246f4f(0x2f0)](_0x9dc4c1);break;case 0x2:this[_0x246f4f(0x223)](_0x9dc4c1);break;}}['_handleJoinEvent'](_0x4261df){const _0x66a771=_0x3db0e4,{unitIDs:_0x403a3f,memberID:_0x2c9212,isForwarded:_0xbc931}=_0x4261df;_0x403a3f[_0x66a771(0x29f)](_0x25116e=>{const _0xf23ac2=_0x66a771;if(!_0xbc931&&this[_0xf23ac2(0x314)][_0xf23ac2(0x3a8)](_0x25116e)&&this['_ensureSubject'](_0x25116e)[_0xf23ac2(0x360)](_0x184317['UnitStatus'][_0xf23ac2(0x36d)]),!this['_unitOnClients']['has'](_0x25116e)||!this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)[_0xf23ac2(0x3a8)](_0x2c9212)){const _0x29ab9a=this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)||new Set();_0x29ab9a[_0xf23ac2(0x2d8)](_0x2c9212),this[_0xf23ac2(0x314)][_0xf23ac2(0x26f)](_0x25116e,_0x29ab9a),this[_0xf23ac2(0x166)](_0x2c9212);}}),_0xbc931||this[_0x66a771(0x3c0)]({'type':0x0,'memberID':this[_0x66a771(0x2bd)],'unitIDs':[...this[_0x66a771(0x2bb)]],'isForwarded':!0x0});}[_0x3db0e4(0x166)](_0x2168b4){const _0x46d9aa=_0x3db0e4;this[_0x46d9aa(0x19a)](_0x2168b4);const _0x4c829d=window[_0x46d9aa(0x2f2)](()=>{const _0x34e7db=_0x46d9aa;this['_unitOnClients'][_0x34e7db(0x29f)](_0x353768=>{_0x353768['delete'](_0x2168b4);});},_0x2a64ff*0x2);this[_0x46d9aa(0x2b6)]['set'](_0x2168b4,_0x4c829d);}[_0x3db0e4(0x19a)](_0x8f11bf){const _0x242976=_0x3db0e4;if(this['_clearOtherTimers'][_0x242976(0x3a8)](_0x8f11bf)){const _0x3c5629=this[_0x242976(0x2b6)][_0x242976(0x392)](_0x8f11bf);_0x3c5629&&window[_0x242976(0xef)](_0x3c5629),this[_0x242976(0x2b6)][_0x242976(0x26f)](_0x8f11bf,null);}}[_0x3db0e4(0x2f0)](_0x6b64e1){const _0x5b6c9a=_0x3db0e4,{memberID:_0x16ed87,unitIDs:_0x144234}=_0x6b64e1;_0x144234[_0x5b6c9a(0x29f)](_0x30ef0e=>{const _0x4f596f=_0x5b6c9a;var _0x29c794;const _0x3ad69f=this['_unitOnClients'][_0x4f596f(0x392)](_0x30ef0e);_0x3ad69f&&(_0x3ad69f[_0x4f596f(0x1ce)](_0x16ed87),(_0x29c794=this[_0x4f596f(0x10a)](_0x30ef0e))==null||_0x29c794[_0x4f596f(0x360)](_0x3ad69f['size']===0x0?_0x184317[_0x4f596f(0x21e)]['NO_OTHER_CLIENTS_EDITING']:_0x184317[_0x4f596f(0x21e)][_0x4f596f(0x36d)]));}),this[_0x5b6c9a(0x19a)](_0x16ed87);}[_0x3db0e4(0x223)](_0x3d45e6){this['_scheduleClearOtherTimer'](_0x3d45e6['memberID']);}[_0x3db0e4(0x3c0)](_0xa1d6f4){const _0x17224a=_0x3db0e4;localStorage[_0x17224a(0x367)](_0x4250c9,JSON[_0x17224a(0x1a2)](_0xa1d6f4));}[_0x3db0e4(0x20b)](){const _0xde56b=_0x3db0e4;this[_0xde56b(0x2e2)]=window[_0xde56b(0x1d2)](()=>{const _0x35bdf9=_0xde56b;this[_0x35bdf9(0x3c0)]({'type':0x2,'memberID':this[_0x35bdf9(0x2bd)]});},_0x2a64ff);}[_0x3db0e4(0x10a)](_0x31a6cb){const _0x574c60=_0x3db0e4;return this[_0x574c60(0x364)]['has'](_0x31a6cb)||this['_unitStatus'][_0x574c60(0x26f)](_0x31a6cb,new _0x6aec0[(_0x574c60(0x154))](_0x184317[_0x574c60(0x21e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x574c60(0x364)][_0x574c60(0x392)](_0x31a6cb);}}_0x4205ba[_0x3db0e4(0x34c)]=_0x3958fd,_0x4205ba[_0x3db0e4(0x246)]=_0x187ac5,_0x4205ba[_0x3db0e4(0x284)]=_0x567343,_0x4205ba[_0x3db0e4(0x1b0)]=_0x2d9519,Object[_0x3db0e4(0x197)](_0x4205ba,Symbol[_0x3db0e4(0x2b1)],{'value':'Module'});}));function _0x4227(_0x48bf9c,_0xd40da5){const _0x32c6c7=_0x32c6();return _0x4227=function(_0x42271f,_0x547ae7){_0x42271f=_0x42271f-0xef;let _0x1a3ea8=_0x32c6c7[_0x42271f];return _0x1a3ea8;},_0x4227(_0x48bf9c,_0xd40da5);}function _0x32c6(){const _0x103874=['fillRule','UniverDocsUi','_selfUnitIDs','unitId','_id','svg','SessionStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','setAlpha','url(#off-line-icon_clip0_910_343)','show','ranges','react','UniverSheetsUi','transform','getAncestorScale','@univerjs/core','href','_hovered','collabStatus.fetchMiss','getOwnPropertyDescriptor','ILogService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','application/json','AWAITING','cursorInfo','add','mutations','_transformService','CollaborationUIEventService','switchMap','code','/universer-api/license/formula/limit/start','throttleTime','disableLocalCache','getCollabCursors$','_heartbeatTimer','debounceTime','_getAnchorBounding','handleIRemoveCol','UniverUi','_name','reconnect','CHANGESET_REVISION_CONFILICT','_drawTextRange','transformMutation','measureText','RemoteUniscriptService','transformStateCache','complete','_handleLeaveEvent','CanceledError','setTimeout','_dataLoaderService','collabStatus.notCollab','functionsExecutedState','REDEMPTION_CODE_HAS_BEEN_CREATED','roomMembers$','red.300','getConfig','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_online','jsx','values','formula.calculation.waiting','getUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','post','Inject','_registerRenderDependencies','collabStatus.syncing','DependentOn','sessionStatus$','_refreshCollabCursors','endColumn','CollaborationDataLoaderController','IMessageService','black','ICommandService','4ywnRhr','toDisposable','DisposableCollection','LICENSE_MAX_UNITS_EXCEEDED','resize','origin','UNDEFINED','_unitOnClients','NodePositionConvertToRectRange','CollaborationSocketService','UniverCollaborationClientPlugin','WECHAT_HAS_BEEN_BOUND','translate(.97)','_clearPolling','CommandType','fillStyle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeCollabCursors','_session','_startSheetCollabCursor','AUTHORIZE_CODE_ILLEGAL','entries','MemberService','roomMembers','onMouseMove','_handleHover','fromEventSubject','1726908hbVtHf','indexOf','_hideTimer','ALREADY_EXISTS','YUUMI_AI_RUN_FAILED','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','ISocketService','displayName','getOwnPropertySymbols','use','m2Prime','Workbook','ENSURE_SNAPSHOT_EXECUTION','colorChannel1','@univerjs/rpc','dirtyRanges','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','_beforeCloseService','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','yellow.400','DEFAULT_WS_SESSION_TICKET_URL','OFFLINE','_docSyncEditingCollabCursorService','saveTaskMap','collaboration.closeRoom','RemoveRowCommandId','UniverCore','_docSkeleton','HTTPService','_collaborationController','_toggleOnline','IURLService','InsertRangeMoveRightCommandId','ThemeService','shareReplay','UniverProCollaborationClient','EMAIL_VERIFY_CODE_MISMATCH','_draw','_docSkeletonManagerService','then','TEXT','@univerjs/network','includes','_configService','_localeService','_transformHistoryAndStateStack','REDEMPTION_CODE_FULLY_REDEEMED','moveTo','labelPosition','RefRangeService','DataLoaderService','next','registerDependencies','BuiltInUIPart','assignAColorForMemberID','_unitStatus','findNodePositionByCharIndex','deepClone','setItem','DocStateChangeManagerService','isTransformMutationsWithChangesetSuccess','status$','replaceDocRanges','_initCommandInterceptor','OTHER_CLIENTS_EDITING','text','getSheetBySheetId','requireSession','CollaborationStatus','round','ticket','_httpService','purple.300','toRgbString','_textBubble','_pollingInterval','Plugin','min','merge','DOC_RANGE_TYPE','currentColor','isArray','InsertColCommandId','actions','2612755pLkfnP','_handleEvent','session.collaboration-timeout','_anchor','transformMutationsWithChangeset','_refRangeService','_cursors','runOnServer','CollaborationEvent','lineTo','NOT_FOUND','drawWith','YUUMI_CONNECTOR_URL_NOT_FOUND','Tools','TOO_MANY_REQUESTS','_syncEditingCollabCursorService','_docTransformIMECacheService','get','RegularPolygon','7553133RTnXsV','with','handleMoveRange','REDEMPTION_USER_REDEEM_TIMES_EXCEED','endRow','setShapeProps','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','UniverEngineRender','Injector','LocaleService','_setupSubUnitSync','type','forwardRef','onStarting','_assignedColors','getParam','_context','entityInit$','loadUnit','has','session.will-retry','getUnitId','_localCacheService','getColor','executeCommand','height','symbol','getCellPositionByOffset','searchParams','current','UniverProCollaborationClientUi','getUniverSheetInstance','516308meYxlo','docStateChange$','_localStorageService','newValue','ILocalCacheService','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','OnLineIcon','attrs','map','_uiPartsService','_send','BrowserCollaborationSocketService','_transformPreviousActiveRange','APPLY_PERMISSION_DENIED','IRemoteInstanceService','collaboration-client-ui.config','object','imageSourceType','clearTimeout','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ASYNCIO_CANCELLED','data','_cursorInfo$','path','_themeService','pipe','length','engine','releaseFormulaLimitUrl','restore','_initEntityListener','_getSessionTicket','getUnit','UNIVER_SHEET','UniverInstanceType','_maxFormulaLimit','arc','formula.calculation.unable','_drawAnchor','_eventUnsubscribe','init','dispose$','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','_ensureSubject','_collabCursorState$','Tooltip','unit','on-line-icon','1em','registerBeforeClose','isFormulaId','send','TEXT_RANGE_LAYER_INDEX','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_getScale','SetSelectionsOperation','exhaustSavingTask','transformSelections','_scene','NOT_COLLAB','LOGIN_TOKEN_PROCESSING_FAILED','UniverRpc','isEditing','_checkCalculationAvailable','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','exports','_docTransformStateCacheService','startFormulaLimitUrl','IConfigService','fill','MOBILE_HAS_BEEN_BOUND','_labelPosition','_onCursorUpdate','bottom','_hover','save','getRenderById','some','max','override','40UmVIez','hovered','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','Error','size','JOIN_ROOM_FAILED','_range','off-line-icon_clip0_910_343','getCurrentRevOfUnit','YUUMI_RATE_OVER_LIMIT','ERROR_AGAIN','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UPDATE_CURSOR','registerRefRange','flatMap','ONLINE','_getSaveTimeout','debounce','getUnhiddenWorksheets','COMPLETION_FINISHED','Unknown\x20user','_updateSubUnitFromURLParams','toString','parseInt','startColumn','onCommandExecuted','row','dispose','DocIMEInputManagerService','subUnitId','clipPath','Loading','BehaviorSubject','UNRECOGNIZED','_cursor','eventID','Failed','_anchorDot','IImageIoService','removeParam','assign','UniverDrawing','extend','_injector','collabStatus.synced','handleInsertRangeMoveRight','div','setConfig','_colorIndex','_startDocCollabCursor','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','SheetSkeletonManagerService','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subunit','startRow','IRenderManagerService','_scheduleSaving','addClipboardHook','rxjs','DesktopCollaborationStatusDisplayController','createIdentifier','handleDeleteRangeMoveLeft','_messageService','APPLY_DUPLICATED','params','unshift','currentTheme$','addEventListener','SetWorksheetActivateCommand','OTHER_CLIENT_EDITING','InsertRowCommandId','name','generateRandomId','RxDisposable','call','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/run/','addHandlerCallback','selections','_initResize','white','prototype','none','_collabCursorController','_init','_sheetSkeletonManagerService','_drawRectRange','isTransformMutationFailure','fillText','M0\x200H16V16H0z','_color','2917848gNzQfx','useDependency','executionId','registerComponent','_memberService','SNAPSHOT_INVALID_SNAPSHOT','defineProperty','getLocalCacheKey','_document','_removeClearOtherTimer','cursorInfo$','blue.400','m1Prime','skeleton','isFormulaString','CURRENT_STATUS_CANNOT_OPERATE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','INVITE_CODE_REQUIRED','syncEditingCollabCursor','pluginName','_saveTaskMap','_getSheetObject','LOCAL_CACHE_INTERVAL_KEY','disposeUnit','_urlService','_cursorShapes','getDocRanges','collab-text-range-','push','invokeId','WebURLService','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','_getFormulaLimitStatus','_initDependencies','#FFF','RECT','_setFormulaLimitStatus','CONFLICT','pushState','filter','_updateCollabCursors','column','getActiveSheet','PERMISSION_DENIED','replaceState','CollaborationUIEventId','triggerDblclick','idSuffix','getCollabEntity$','fromEvent','_colorAssignService','key','getViewport','on-line-icon_clip0_910_349','VIEW_MAIN','transformIMECache','@univerjs/engine-render','debug','_render','delete','subscribeEvent','onLocalMutation','shift','setInterval','getOffsetConfig','getValue','IBeforeCloseService','getMemberID','mapTo','_transformUndoRedoStack','REDEMPTION_INVALID_CODE','collab-text-anchor-','getSheetId','START_CALCULATION','backgroundColor','loadOfflineData','@univerjs/docs','_checkAndWaitForCalculationPermission','getCoordByCell','_initStatusComponent','@univerjs/sheets-ui','_renderManagerService','@univerjs/drawing','_startCalculationLimit','Shape','_doCreateSocket','_initEvent','sheetId','from','INVITE_CODE_HAS_BEEN_UES','_onRefRangeChange','[CollaborationDataLoaderController]','activeSheet$','getCurrent','ColorKit','runRefRangeMutations','_status$','jsxs','function','className','_docTransformSelectionsService','defs','_shapes','_imageIoService','clearInterval','useCallback','SHEET_VIEWPORT_KEY','_docClipboardService','HEADER_MENU','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','icon','Warning','history','_univerInstanceService','CollaborationController','Rect','_lastResponseTimestamp','IUIPartsService','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','whenReady','UniverDesign','disposeWithMe','focused$','Success','onRendered','createInstance','_entityInit$','editingUnit','APPLY_REJECT','getCellMatrix','910462pWbaJj','_initStatusListener','PAYMENT_CHANNEL_NOT_SUPPORT','onPointerLeave$','hide','LICENSE_DISTRO_REJECTED','REDEMPTION_USER_NOT_ELIGIBLE','UnitStatus','SYNCED','saveOfflineData','_lastPointer','NodePositionConvertToCursor','_handleHeartbeatEvent','_entities','Disposable','addObjects','tag','color','...','limitInfo','isActive','ACTIVE_UNIT_EVENT_CHANNEL','UniverDocs','selection','addObject','getFocusedUnit','wsSessionTicketUrl','beginPath','formula.calculation.started','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','error','CLOSE_ROOM','_logService','rgba(255,\x20255,\x20255,\x200.01)','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getRangePointData','replace','UNAUTHENTICATED','MOBILE_VERIFY_CODE_MISMATCH','transformRemoteChangeset','APPLY_REVISION_CONFILICT','CollaborationSessionService','SUBMIT_CHANGESET_TIMEOUT','_instanceService','split','asObservable','combineLatest','SheetCollabCursorShape','concat','event$','getColorFromTheme','all','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_NOT_STARTED','_registerDependencies','getStateCache','React','EMAIL_HAS_BEEN_BOUND','Rectangle','search','getMember','LOGIN_FAILED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','createElement','UNIVER_DOC','_notificationService','result','getItem','runId','MessageType','INotificationService','_revisionService','urlChange$','doc.mutation.rich-text-editing','touchDependencies','getformulaLimitStatusUrl','WebSocketService','IUniverInstanceService','propertyIsEnumerable','/universer-api/license/formula/limit/done','REDEMPTION_CODE_INACTIVE','range','_setupBeforeClosingHandler','body','_applyCommand','_showGuardMessage','hasOwnProperty','ENTITLE_CAN_NOT_BUY_LOWER_OTP','set','setParam','unsubscribe','collabStatus.conflict','getTypeOfUnitAdded$','INVALID_ARGUMENT','createSocket','_cachedData','takeUntil','_commandService','react/jsx-runtime','_currentUsage','currentSkeleton$','@univerjs-pro/collaboration-client','saveImage','xlink:href','useRef','LOCAL_CACHE_INTERVAL','ITransformService','onPointerEnter$','string','WebBrowserSingleActiveUnitService','_createSocketURL','onTransformChange$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EffectRefRangId','getMergeData','_config','location','mask','getCurrentUnitForType','Vector2','getActiveRange','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getMergeRange','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','_releaseCalculationLimit','unitID','COLORS','storage','DocSelectionManagerService','subscribe','600187zhPfpN','UniverProCollaboration','getSkeleton','forEach','_saveCache','random','stageInfo','top','makeDirty','INVITE_CODE_ALREADY_BOUND','@univerjs/design','@univerjs/sheets','FETCH_MISS','width','FormulaExecutedStateType','connectInjector','_updateURLWithCurrentState','setActiveRange','ENTITLE_DUP_SUBSCRIPTION','redoState','_backgroundColor','toStringTag','children','_docStateChangeManagerService','url(#$1','source','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','_disabled'];_0x32c6=function(){return _0x103874;};return _0x32c6();}
|
|
1
|
+
function _0x53f7(_0x40f2b5,_0xc37878){const _0x2e8b5c=_0x2e8b();return _0x53f7=function(_0x53f799,_0x469118){_0x53f799=_0x53f799-0x171;let _0x2716ac=_0x2e8b5c[_0x53f799];return _0x2716ac;},_0x53f7(_0x40f2b5,_0xc37878);}(function(_0x2219f8,_0x2842d1){const _0x296aaa=_0x53f7,_0x5dbf1e=_0x2219f8();while(!![]){try{const _0x48566d=parseInt(_0x296aaa(0x330))/0x1*(-parseInt(_0x296aaa(0x264))/0x2)+-parseInt(_0x296aaa(0x3b5))/0x3+parseInt(_0x296aaa(0x372))/0x4+parseInt(_0x296aaa(0x3df))/0x5+-parseInt(_0x296aaa(0x1e7))/0x6+-parseInt(_0x296aaa(0x389))/0x7+-parseInt(_0x296aaa(0x230))/0x8*(-parseInt(_0x296aaa(0x244))/0x9);if(_0x48566d===_0x2842d1)break;else _0x5dbf1e['push'](_0x5dbf1e['shift']());}catch(_0x152eea){_0x5dbf1e['push'](_0x5dbf1e['shift']());}}}(_0x2e8b,0x949d3),function(_0x24445d,_0x5026cd){const _0x34fd63=_0x53f7;typeof exports==_0x34fd63(0x1a6)&&typeof module<'u'?_0x5026cd(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x34fd63(0x32d)&&define[_0x34fd63(0x37c)]?define([_0x34fd63(0x28b),_0x34fd63(0x34d),'@univerjs-pro/collaboration-client',_0x34fd63(0x30e),_0x34fd63(0x21d),_0x34fd63(0x21f),_0x34fd63(0x387),_0x34fd63(0x397),_0x34fd63(0x3b6),_0x34fd63(0x17e),'@univerjs/engine-render',_0x34fd63(0x212),_0x34fd63(0x435),'@univerjs/drawing',_0x34fd63(0x1ab),_0x34fd63(0x1b9),_0x34fd63(0x357),'rxjs/operators',_0x34fd63(0x194)],_0x5026cd):(_0x24445d=typeof globalThis<'u'?globalThis:_0x24445d||self,_0x5026cd(_0x24445d['UniverProCollaborationClientUi']={},_0x24445d['React'],_0x24445d[_0x34fd63(0x239)],_0x24445d[_0x34fd63(0x36d)],_0x24445d[_0x34fd63(0x423)],_0x24445d[_0x34fd63(0x21f)],_0x24445d[_0x34fd63(0x1fa)],_0x24445d[_0x34fd63(0x20a)],_0x24445d['UniverRpc'],_0x24445d[_0x34fd63(0x1db)],_0x24445d[_0x34fd63(0x25d)],_0x24445d[_0x34fd63(0x424)],_0x24445d['UniverDocsUi'],_0x24445d[_0x34fd63(0x2ca)],_0x24445d[_0x34fd63(0x320)],_0x24445d[_0x34fd63(0x22b)],_0x24445d[_0x34fd63(0x200)],_0x24445d['rxjs'][_0x34fd63(0x299)],_0x24445d['UniverSheetsUi']));}(this,function(_0x4f0727,_0x24e7e1,_0x5c1af6,_0x4bf0bf,_0x19759c,_0x28bd90,_0x22cb21,_0x492edf,_0x461d35,_0x3edab0,_0x1a5c20,_0x133421,_0x80b7f3,_0x3f8334,_0x346166,_0xfb3c5a,_0x1738fe,_0x3f3616,_0x262b71){'use strict';const _0x37f8b3=_0x53f7;var _0x58d5c9=Object['defineProperty'],_0x1519fa=(_0x53109a,_0x4ba681,_0x53bde4)=>_0x4ba681 in _0x53109a?_0x58d5c9(_0x53109a,_0x4ba681,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53bde4}):_0x53109a[_0x4ba681]=_0x53bde4,_0xd7033e=(_0x3c525e,_0x46a223,_0x3ff7cd)=>_0x1519fa(_0x3c525e,typeof _0x46a223!=_0x37f8b3(0x174)?_0x46a223+'':_0x46a223,_0x3ff7cd),_0x333fde=function(){const _0xc0d95b=_0x37f8b3;return _0x333fde=Object[_0xc0d95b(0x1d0)]||function(_0x51e58c){const _0xc1f35b=_0xc0d95b;for(var _0x2cb84c,_0x127046=0x1,_0x39148e=arguments[_0xc1f35b(0x185)];_0x127046<_0x39148e;_0x127046++){_0x2cb84c=arguments[_0x127046];for(var _0x3f3928 in _0x2cb84c)Object[_0xc1f35b(0x17b)]['hasOwnProperty'][_0xc1f35b(0x275)](_0x2cb84c,_0x3f3928)&&(_0x51e58c[_0x3f3928]=_0x2cb84c[_0x3f3928]);}return _0x51e58c;},_0x333fde[_0xc0d95b(0x335)](this,arguments);},_0x5c128e=function(_0x3105ed,_0x245161){const _0x3af71d=_0x37f8b3;var _0x2844b9={};for(var _0x204b60 in _0x3105ed)Object[_0x3af71d(0x17b)][_0x3af71d(0x376)][_0x3af71d(0x275)](_0x3105ed,_0x204b60)&&_0x245161[_0x3af71d(0x1b1)](_0x204b60)<0x0&&(_0x2844b9[_0x204b60]=_0x3105ed[_0x204b60]);if(_0x3105ed!=null&&typeof Object[_0x3af71d(0x2ba)]==_0x3af71d(0x32d)){for(var _0x10252b=0x0,_0x204b60=Object[_0x3af71d(0x2ba)](_0x3105ed);_0x10252b<_0x204b60['length'];_0x10252b++)_0x245161[_0x3af71d(0x1b1)](_0x204b60[_0x10252b])<0x0&&Object['prototype'][_0x3af71d(0x3f7)][_0x3af71d(0x275)](_0x3105ed,_0x204b60[_0x10252b])&&(_0x2844b9[_0x204b60[_0x10252b]]=_0x3105ed[_0x204b60[_0x10252b]]);}return _0x2844b9;},_0x2d9c63=_0x492edf[_0x37f8b3(0x1b7)](function(_0x6e2126,_0x619c29){const _0x2882f2=_0x37f8b3;var _0x575934=_0x6e2126[_0x2882f2(0x404)],_0x38c4f4=_0x6e2126['id'],_0x4c2f32=_0x6e2126[_0x2882f2(0x3d4)],_0x4d7652=_0x6e2126[_0x2882f2(0x36e)],_0x3dbd88=_0x5c128e(_0x6e2126,[_0x2882f2(0x404),'id',_0x2882f2(0x3d4),'extend']),_0x36d325='univerjs-icon\x20univerjs-icon-'[_0x2882f2(0x1ad)](_0x38c4f4,'\x20')[_0x2882f2(0x1ad)](_0x4c2f32||'')[_0x2882f2(0x2c1)](),_0x28359c=_0x492edf[_0x2882f2(0x24b)]('_'['concat'](_0xce2fb8()));return _0x15c234(_0x575934,''['concat'](_0x38c4f4),{'defIds':_0x575934[_0x2882f2(0x274)],'idSuffix':_0x28359c[_0x2882f2(0x37e)]},_0x333fde({'ref':_0x619c29,'className':_0x36d325},_0x3dbd88),_0x4d7652);});function _0x15c234(_0x4a6bec,_0x371aea,_0x590722,_0x214203,_0x4b9fda){const _0x458ef3=_0x37f8b3;return _0x492edf[_0x458ef3(0x1a0)](_0x4a6bec[_0x458ef3(0x396)],_0x333fde(_0x333fde({'key':_0x371aea},_0x3d81e7(_0x4a6bec,_0x590722,_0x4b9fda)),_0x214203),(_0x4f4b0b(_0x4a6bec,_0x590722)[_0x458ef3(0x451)]||[])[_0x458ef3(0x2c4)](function(_0x2c1550,_0x500bc8){const _0x49f265=_0x458ef3;return _0x15c234(_0x2c1550,''[_0x49f265(0x1ad)](_0x371aea,'-')['concat'](_0x4a6bec[_0x49f265(0x396)],'-')['concat'](_0x500bc8),_0x590722,void 0x0,_0x4b9fda);}));}function _0x3d81e7(_0x14eafd,_0x11a94d,_0x3a8528){const _0x1ed9c6=_0x37f8b3;var _0x491ecf=_0x333fde({},_0x14eafd['attrs']);_0x3a8528!=null&&_0x3a8528['colorChannel1']&&_0x491ecf[_0x1ed9c6(0x2d8)]===_0x1ed9c6(0x2c5)&&(_0x491ecf[_0x1ed9c6(0x2d8)]=_0x3a8528[_0x1ed9c6(0x2c5)]),_0x14eafd[_0x1ed9c6(0x396)]===_0x1ed9c6(0x29a)&&_0x491ecf['id']&&(_0x491ecf['id']=_0x491ecf['id']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x27ba93){const _0x1dfe6f=_0x1ed9c6;var _0x1abcb4=_0x27ba93[0x0],_0x3727eb=_0x27ba93[0x1];_0x1abcb4===_0x1dfe6f(0x29a)&&typeof _0x3727eb==_0x1dfe6f(0x1ed)&&(_0x491ecf[_0x1abcb4]=_0x3727eb[_0x1dfe6f(0x3af)](/url\(#(.*)\)/,_0x1dfe6f(0x3a3)['concat'](_0x11a94d[_0x1dfe6f(0x1e2)],')')));});var _0x50d197=_0x11a94d['defIds'];return!_0x50d197||_0x50d197[_0x1ed9c6(0x185)]===0x0||(_0x14eafd['tag']==='use'&&_0x491ecf[_0x1ed9c6(0x3b8)]&&(_0x491ecf[_0x1ed9c6(0x3b8)]=_0x491ecf['xlink:href']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x51661c){const _0x145ee0=_0x1ed9c6;var _0x2382f0=_0x51661c[0x0],_0x24e2a3=_0x51661c[0x1];typeof _0x24e2a3==_0x145ee0(0x1ed)&&(_0x491ecf[_0x2382f0]=_0x24e2a3[_0x145ee0(0x3af)](/url\(#(.*)\)/,_0x145ee0(0x3a3)[_0x145ee0(0x1ad)](_0x11a94d[_0x145ee0(0x1e2)],')')));})),_0x491ecf;}function _0x4f4b0b(_0x57f317,_0x450cac){const _0x478eb1=_0x37f8b3;var _0x265c44,_0x228b42=_0x450cac[_0x478eb1(0x274)];return!_0x228b42||_0x228b42[_0x478eb1(0x185)]===0x0?_0x57f317:_0x57f317['tag']==='defs'&&(!((_0x265c44=_0x57f317['children'])===null||_0x265c44===void 0x0)&&_0x265c44[_0x478eb1(0x185)])?_0x333fde(_0x333fde({},_0x57f317),{'children':_0x57f317[_0x478eb1(0x451)]['map'](function(_0x486352){const _0x1d6dce=_0x478eb1;return typeof _0x486352[_0x1d6dce(0x43f)]['id']==_0x1d6dce(0x1ed)&&_0x228b42&&_0x228b42[_0x1d6dce(0x2f7)](_0x486352[_0x1d6dce(0x43f)]['id'])?_0x333fde(_0x333fde({},_0x486352),{'attrs':_0x333fde(_0x333fde({},_0x486352[_0x1d6dce(0x43f)]),{'id':_0x486352[_0x1d6dce(0x43f)]['id']+_0x450cac[_0x1d6dce(0x1e2)]})}):_0x486352;})}):_0x57f317;}function _0xce2fb8(){const _0x1313aa=_0x37f8b3;return Math['random']()[_0x1313aa(0x31d)](0x24)['substring'](0x2,0x8);}_0x2d9c63[_0x37f8b3(0x17c)]=_0x37f8b3(0x373);var _0xaf8a6d={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':_0x37f8b3(0x3de),'fill':_0x37f8b3(0x1be),'viewBox':_0x37f8b3(0x2c3),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x31f)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'stroke':_0x37f8b3(0x364),'d':_0x37f8b3(0x3d8),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x2e5)},'children':[{'tag':'path','attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427)}}]}]}],'defIds':[_0x37f8b3(0x2e5)]},_0x3585d5=_0x492edf[_0x37f8b3(0x1b7)](function(_0x4c6b20,_0x339321){const _0x5be40c=_0x37f8b3;return _0x492edf[_0x5be40c(0x1a0)](_0x2d9c63,Object[_0x5be40c(0x1d0)]({},_0x4c6b20,{'id':_0x5be40c(0x40c),'ref':_0x339321,'icon':_0xaf8a6d}));});_0x3585d5[_0x37f8b3(0x17c)]=_0x37f8b3(0x2a8);var _0x2f5e9f={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x37f8b3(0x2e6),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x1f2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x37f8b3(0x307),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x342)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427),'transform':_0x37f8b3(0x3b2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4df8ab=_0x492edf[_0x37f8b3(0x1b7)](function(_0x559cc4,_0x247cf1){const _0x192c89=_0x37f8b3;return _0x492edf['createElement'](_0x2d9c63,Object[_0x192c89(0x1d0)]({},_0x559cc4,{'id':_0x192c89(0x443),'ref':_0x247cf1,'icon':_0x2f5e9f}));});_0x4df8ab['displayName']=_0x37f8b3(0x26b);function _0x234625(_0xafc3cd){const _0x2cced4=_0x37f8b3;switch(_0xafc3cd){case _0x5c1af6[_0x2cced4(0x252)]['OFFLINE']:return _0x2cced4(0x371);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x2f3)]:return'collabStatus.conflict';case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x242)]:return _0x2cced4(0x32c);case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x247)]:return _0x2cced4(0x177);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x431)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x43e)]:return _0x2cced4(0x41d);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x28e)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x243)]:return'collabStatus.synced';}}function _0xbbffd1(_0x1225ec){const _0x5c6ce0=_0x37f8b3,{status$:_0x29d921}=_0x1225ec,_0x5d0ca4=_0x19759c[_0x5c6ce0(0x1f8)](_0x29d921,_0x5c1af6[_0x5c6ce0(0x252)][_0x5c6ce0(0x247)]),_0xb81c27=_0x19759c[_0x5c6ce0(0x41b)](_0x4bf0bf[_0x5c6ce0(0x351)]),_0x43b2d9=_0x19759c[_0x5c6ce0(0x41b)](_0x5c1af6[_0x5c6ce0(0x21e)]),_0x1b816b=_0x5d0ca4!==_0x5c1af6['CollaborationStatus'][_0x5c6ce0(0x2e4)],_0x2054f7=_0xb81c27['t'](_0x234625(_0x5d0ca4)),_0x32ba56=_0x1b816b?_0x24e7e1[_0x5c6ce0(0x331)](_0x4df8ab,{}):_0x24e7e1[_0x5c6ce0(0x331)](_0x3585d5,{}),_0x2fed5d=_0x492edf[_0x5c6ce0(0x432)](()=>{const _0x3e8120=_0x5c6ce0;_0x1b816b||_0x43b2d9[_0x3e8120(0x29f)]();},[_0x1b816b,_0x43b2d9]);function _0xcfe0cc(){const _0x5c799c=_0x5c6ce0;return _0x24e7e1['jsxs'](_0x5c799c(0x41e),{'className':_0x5c799c(0x190),'onClick':_0x2fed5d,'children':[_0x24e7e1[_0x5c799c(0x331)](_0x5c799c(0x41e),{'className':_0x22cb21[_0x5c799c(0x41f)](_0x5c799c(0x260),{'univer-text-green-500':_0x1b816b,'univer-text-red-500':!_0x1b816b}),'children':_0x32ba56}),_0x24e7e1['jsx']('div',{'className':_0x5c799c(0x277),'children':_0x2054f7})]});}return _0x1b816b?_0xcfe0cc():_0x24e7e1[_0x5c6ce0(0x331)](_0x22cb21[_0x5c6ce0(0x2ea)],{'title':_0xb81c27['t'](_0x5c6ce0(0x1cd)),'children':_0xcfe0cc()});}var _0x3caa44=Object[_0x37f8b3(0x272)],_0x23c9ee=(_0x4d5003,_0x38aaf4,_0xad69aa,_0x1b212a)=>{const _0x4768ef=_0x37f8b3;for(var _0x1b034e=_0x1b212a>0x1?void 0x0:_0x1b212a?_0x3caa44(_0x38aaf4,_0xad69aa):_0x38aaf4,_0x40992f=_0x4d5003[_0x4768ef(0x185)]-0x1,_0x3ecbb4;_0x40992f>=0x0;_0x40992f--)(_0x3ecbb4=_0x4d5003[_0x40992f])&&(_0x1b034e=_0x3ecbb4(_0x1b034e)||_0x1b034e);return _0x1b034e;},_0x14cabc=(_0x35cb58,_0x563744)=>(_0xffef1b,_0x15b1d6)=>_0x563744(_0xffef1b,_0x15b1d6,_0x35cb58);_0x4f0727[_0x37f8b3(0x30b)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x5de2e0,_0x54911f,_0x5c4e7a,_0x50f6e6){const _0x18992d=_0x37f8b3;super(),_0xd7033e(this,_0x18992d(0x2ef),new _0x28bd90[(_0x18992d(0x246))](_0x5c1af6[_0x18992d(0x252)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5de2e0,this[_0x18992d(0x1af)]=_0x54911f,this[_0x18992d(0x220)]=_0x5c4e7a,this['_uiPartsService']=_0x50f6e6,this['_initStatusComponent'](),this[_0x18992d(0x193)]());}[_0x37f8b3(0x193)](){const _0xc28d8d=_0x37f8b3;this[_0xc28d8d(0x215)](this[_0xc28d8d(0x19b)][_0xc28d8d(0x287)][_0xc28d8d(0x1d7)](_0x28bd90[_0xc28d8d(0x2e2)](()=>{const _0x325547=_0xc28d8d,_0x37ef2f=this[_0x325547(0x19b)][_0x325547(0x2bc)]();return _0x37ef2f?this['_collaborationController'][_0x325547(0x334)](_0x37ef2f[_0x325547(0x3dd)]()):_0x28bd90['of'](null);}),_0x28bd90[_0xc28d8d(0x2e2)](_0x453348=>_0x453348?_0x453348[_0xc28d8d(0x241)]:_0x28bd90['of'](_0x5c1af6[_0xc28d8d(0x252)]['NOT_COLLAB'])))[_0xc28d8d(0x1c1)](_0x549891=>{const _0x16d9ad=_0xc28d8d;this[_0x16d9ad(0x2ef)]['next'](_0x549891);}));}[_0x37f8b3(0x2d0)](){const _0x1ce1ea=_0x37f8b3;this[_0x1ce1ea(0x215)](this['_uiPartsService'][_0x1ce1ea(0x422)](_0x19759c[_0x1ce1ea(0x348)]['HEADER_MENU'],()=>_0x19759c[_0x1ce1ea(0x236)](_0x5a1928({'status$':this[_0x1ce1ea(0x2ef)][_0x1ce1ea(0x276)]()}),this[_0x1ce1ea(0x1af)])));}},_0x4f0727[_0x37f8b3(0x30b)]=_0x23c9ee([_0x14cabc(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x14cabc(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x14cabc(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6['CollaborationController'])),_0x14cabc(0x3,_0x19759c[_0x37f8b3(0x39b)])],_0x4f0727['DesktopCollaborationStatusDisplayController']);function _0x5a1928(_0x546b19){const {status$:_0x40d1e8}=_0x546b19;return function(){const _0x20b5f9=_0x53f7;return _0x24e7e1[_0x20b5f9(0x331)](_0xbbffd1,{'status$':_0x40d1e8});};}const _0x30f389=_0x4bf0bf[_0x37f8b3(0x35d)](_0x37f8b3(0x410));var _0x489ba1=Object[_0x37f8b3(0x272)],_0x5753f8=(_0x69e481,_0x2d061c,_0x454bda,_0x3cceb4)=>{const _0x8cb45a=_0x37f8b3;for(var _0x3ecd27=_0x3cceb4>0x1?void 0x0:_0x3cceb4?_0x489ba1(_0x2d061c,_0x454bda):_0x2d061c,_0x543de8=_0x69e481[_0x8cb45a(0x185)]-0x1,_0x580bcc;_0x543de8>=0x0;_0x543de8--)(_0x580bcc=_0x69e481[_0x543de8])&&(_0x3ecd27=_0x580bcc(_0x3ecd27)||_0x3ecd27);return _0x3ecd27;},_0x537e12=(_0x5772f5,_0x3a2004)=>(_0x4bceb0,_0x432343)=>_0x3a2004(_0x4bceb0,_0x432343,_0x5772f5);_0x4f0727[_0x37f8b3(0x286)]=class extends _0x4bf0bf['RxDisposable']{constructor(_0x1e1288,_0x7ed1e6,_0x22e200,_0x4a22ce,_0x1bfbc2){const _0x29249a=_0x37f8b3;super(),this[_0x29249a(0x198)]=_0x1e1288,this[_0x29249a(0x3f0)]=_0x7ed1e6,this['_commandService']=_0x22e200,this[_0x29249a(0x430)]=_0x4a22ce,_0x1bfbc2?_0x1bfbc2==null||_0x1bfbc2['whenReady']()[_0x29249a(0x285)](()=>this[_0x29249a(0x3fd)]()):(this[_0x29249a(0x3f0)][_0x29249a(0x441)](_0x29249a(0x209),_0x29249a(0x181)),this[_0x29249a(0x3fd)]());}async[_0x37f8b3(0x3fd)](){const _0x569385=_0x37f8b3,_0xd18842=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x258)),_0x3dbfd8=this[_0x569385(0x198)]['getParam'](_0x569385(0x1c7)),_0x13f75a=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x2e7));if(!_0xd18842||!_0x3dbfd8){this[_0x569385(0x3f0)][_0x569385(0x441)]('[CollaborationDataLoaderController]',_0x569385(0x1ba));return;}const _0x285f73=await this[_0x569385(0x430)][_0x569385(0x412)](_0xd18842,Number(_0x3dbfd8),_0x13f75a);_0x285f73&&_0x285f73 instanceof _0x4bf0bf[_0x569385(0x2d1)]&&this['_setupSubUnitSync'](_0x285f73);}async[_0x37f8b3(0x30c)](_0x3049e5){const _0x43632f=_0x37f8b3;await this['_updateSubUnitFromURLParams'](_0x3049e5),_0x3049e5[_0x43632f(0x3d5)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](_0x222d65=>{const _0x5c15f0=_0x43632f;_0x222d65&&this[_0x5c15f0(0x44f)](_0x222d65);}),this[_0x43632f(0x198)][_0x43632f(0x1c8)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](()=>this[_0x43632f(0x2da)](_0x3049e5));}[_0x37f8b3(0x44f)](_0x1a2bb0,_0x224fe2=!0x1){const _0x2973b5=_0x37f8b3,_0x1aa8a7=this[_0x2973b5(0x198)][_0x2973b5(0x1eb)](_0x2973b5(0x2e7));_0x1a2bb0[_0x2973b5(0x1d3)]()!==_0x1aa8a7&&this['_urlService'][_0x2973b5(0x25a)](_0x2973b5(0x2e7),_0x1a2bb0[_0x2973b5(0x1d3)](),_0x224fe2);}async[_0x37f8b3(0x2da)](_0x665549){const _0x127d4f=_0x37f8b3;var _0x1ace06;const _0x41b089=this['_urlService'][_0x127d4f(0x1eb)](_0x127d4f(0x2e7));if(!_0x41b089||!_0x665549['getSheetBySheetId'](_0x41b089)){const _0x3c551f=_0x665549[_0x127d4f(0x44c)]()[0x0],_0x4fbcff=_0x665549[_0x127d4f(0x445)](_0x3c551f);if(!_0x4fbcff)return;this[_0x127d4f(0x44f)](_0x4fbcff,!0x0),await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x3c551f});return;}((_0x1ace06=_0x665549[_0x127d4f(0x450)]())==null?void 0x0:_0x1ace06[_0x127d4f(0x1d3)]())!==_0x41b089&&await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x41b089});}},_0x4f0727[_0x37f8b3(0x286)]=_0x5753f8([_0x537e12(0x0,_0x30f389),_0x537e12(0x1,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x537e12(0x2,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x537e12(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x361)])),_0x537e12(0x4,_0x4bf0bf[_0x37f8b3(0x411)](_0x461d35[_0x37f8b3(0x2d7)]))],_0x4f0727[_0x37f8b3(0x286)]);var _0x3de95f=Object['getOwnPropertyDescriptor'],_0x4e9186=(_0x2f86fb,_0x2263f2,_0x564bfb,_0x337823)=>{const _0x53ca62=_0x37f8b3;for(var _0x2c9ca8=_0x337823>0x1?void 0x0:_0x337823?_0x3de95f(_0x2263f2,_0x564bfb):_0x2263f2,_0x4b106d=_0x2f86fb[_0x53ca62(0x185)]-0x1,_0x161355;_0x4b106d>=0x0;_0x4b106d--)(_0x161355=_0x2f86fb[_0x4b106d])&&(_0x2c9ca8=_0x161355(_0x2c9ca8)||_0x2c9ca8);return _0x2c9ca8;},_0x114ad0=(_0x2565ed,_0x177a46)=>(_0xc4589d,_0xf98d58)=>_0x177a46(_0xc4589d,_0xf98d58,_0x2565ed);let _0x3fb39a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x17d43a,_0x4d6e0e){const _0x41094d=_0x37f8b3;super(),this[_0x41094d(0x1a4)]=_0x17d43a,this[_0x41094d(0x39e)]=_0x4d6e0e,this[_0x41094d(0x3fd)]();}[_0x37f8b3(0x3fd)](){const _0x74fcd6=_0x37f8b3,_0x445b15=this;this[_0x74fcd6(0x215)](this[_0x74fcd6(0x1a4)][_0x74fcd6(0x39c)]({'onBeforePasteImage':async _0x519c71=>{const _0x2a8443=_0x74fcd6,_0xd19383=await _0x445b15[_0x2a8443(0x39e)]['saveImage'](_0x519c71);return _0xd19383?{'source':_0xd19383['source'],'imageSourceType':_0xd19383[_0x2a8443(0x38a)]}:null;}}));}};_0x3fb39a=_0x4e9186([_0x114ad0(0x0,_0x80b7f3[_0x37f8b3(0x3ed)]),_0x114ad0(0x1,_0x3f8334[_0x37f8b3(0x2cc)])],_0x3fb39a);const _0x45dd36=['purple.300','jiqing.500',_0x37f8b3(0x3fa),_0x37f8b3(0x172),_0x37f8b3(0x20f),_0x37f8b3(0x282)];class _0x21c84d extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x5ba2ec=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x5ba2ec(0x442),new Map()),_0xd7033e(this,_0x5ba2ec(0x3f9),0x0);}[_0x37f8b3(0x3cd)](_0x3439db){const _0x15d943=_0x37f8b3;if(this['_assignedColors']['has'](_0x3439db))return this['_assignedColors'][_0x15d943(0x42f)](_0x3439db);const _0x18b448=_0x45dd36[this[_0x15d943(0x3f9)]];return this[_0x15d943(0x3f9)]=(this[_0x15d943(0x3f9)]+0x1)%_0x45dd36[_0x15d943(0x185)],this['_assignedColors']['set'](_0x3439db,_0x18b448),_0x18b448;}}function _0x18f37e(_0x40d3ac){const _0x520f8c=_0x37f8b3;let _0x12d513='';for(const _0x505702 of _0x40d3ac){const {startOffset:_0x15ad0f,endOffset:_0x4c0d2c,isActive:_0xc6978b,rangeType:_0x202f67,segmentId:_0x5de204,segmentPage:_0x25a114}=_0x505702;_0x12d513[_0x520f8c(0x185)]&&(_0x12d513+=','),_0x12d513+=_0x15ad0f+':'+_0x4c0d2c+':'+(_0xc6978b?'1':'0')+':'+_0x202f67+':'+_0x5de204+':'+_0x25a114;}return _0x12d513;}function _0x56eabf(_0x40bc15){const _0x5f400c=_0x37f8b3,_0x27afef=_0x40bc15[_0x5f400c(0x3a4)](','),_0x426813=[];for(const _0x4579f1 of _0x27afef){const [_0x8f088a,_0x1d4d2d,_0x3539c3,_0x365378,_0x5e6db5,_0x41358a]=_0x4579f1[_0x5f400c(0x3a4)](':');_0x426813[_0x5f400c(0x20c)]({'startOffset':Number(_0x8f088a),'endOffset':Number(_0x1d4d2d),'collapsed':_0x8f088a===_0x1d4d2d,'isActive':_0x3539c3==='1','rangeType':_0x365378===_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]?_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]:_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x33c)],'segmentId':typeof _0x5e6db5=='string'?String(_0x5e6db5):'','segmentPage':Number(_0x41358a!=null?_0x41358a:-0x1)});}return _0x426813[_0x5f400c(0x454)](_0x1cbb44=>_0x1cbb44[_0x5f400c(0x2ab)])||(_0x426813[0x0][_0x5f400c(0x2ab)]=!0x0),_0x426813;}class _0x39b00c extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x192aa8=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x192aa8(0x22f),new _0x28bd90[(_0x192aa8(0x246))](null)),_0xd7033e(this,'collabCursorState$',this[_0x192aa8(0x22f)][_0x192aa8(0x276)]());}['syncEditingCollabCursor'](_0x3f6440){const _0x563b14=_0x37f8b3,{unitID:_0x5694bc,memberID:_0x2be989,textRanges:_0x2cf578}=_0x3f6440,_0x4f97af=_0x18f37e(_0x2cf578);if(_0x4f97af==='')return;const _0x567b5e={'unitID':_0x5694bc,'memberID':_0x2be989,'selection':_0x4f97af};this[_0x563b14(0x22f)]['next'](_0x567b5e);}}var _0x5255d4=Object[_0x37f8b3(0x272)],_0x5ece84=(_0xb8739b,_0x305d12,_0x149bed,_0x5aea1e)=>{const _0x25bdf5=_0x37f8b3;for(var _0x5ba9eb=_0x5aea1e>0x1?void 0x0:_0x5aea1e?_0x5255d4(_0x305d12,_0x149bed):_0x305d12,_0x391cb4=_0xb8739b[_0x25bdf5(0x185)]-0x1,_0x2fbcea;_0x391cb4>=0x0;_0x391cb4--)(_0x2fbcea=_0xb8739b[_0x391cb4])&&(_0x5ba9eb=_0x2fbcea(_0x5ba9eb)||_0x5ba9eb);return _0x5ba9eb;},_0x229d5d=(_0x45a18c,_0x1d80ba)=>(_0x5c747a,_0x15dbd4)=>_0x1d80ba(_0x5c747a,_0x15dbd4,_0x45a18c);const _0x5ef41d=0x12c,_0x2ec9fd=0x64;let _0x34c1be=class extends _0x4bf0bf['RxDisposable']{constructor(_0x598e2e,_0x2658c1,_0x2d4675,_0x3c1c31,_0x375f6a,_0x37936c,_0x1c19e2,_0x4e1d02,_0x2f04d6){const _0x12430a=_0x37f8b3;super(),_0xd7033e(this,_0x12430a(0x3c9),!0x1),_0xd7033e(this,_0x12430a(0x3fd),!0x1),_0xd7033e(this,_0x12430a(0x3b9),new _0x28bd90[(_0x12430a(0x246))](new Map())),_0xd7033e(this,'cursorInfo$',this[_0x12430a(0x3b9)][_0x12430a(0x276)]()),_0xd7033e(this,_0x12430a(0x2cd),new _0x28bd90[(_0x12430a(0x246))]([])),_0xd7033e(this,_0x12430a(0x40d),this[_0x12430a(0x2cd)][_0x12430a(0x1d7)](_0x28bd90[_0x12430a(0x35a)](_0x5ef41d))),_0xd7033e(this,_0x12430a(0x2dc),_0x4bf0bf['debounce'](_0x3f3290=>{const _0x567c52=_0x12430a,_0x5ce0a3={'eventID':_0x346166['CollaborationEvent'][_0x567c52(0x3ae)],'data':{'unitID':this[_0x567c52(0x231)],'memberID':this['_session']['getMemberID'](),'selection':_0x18f37e(_0x3f3290)}};this[_0x567c52(0x449)][_0x567c52(0x1d2)](_0x5ce0a3,this[_0x567c52(0x231)]);},_0x2ec9fd)),(this['unitID']=_0x598e2e,this[_0x12430a(0x449)]=_0x2658c1,this[_0x12430a(0x1af)]=_0x2d4675,this[_0x12430a(0x249)]=_0x3c1c31,this[_0x12430a(0x2e3)]=_0x375f6a,this[_0x12430a(0x419)]=_0x37936c,this[_0x12430a(0x3f8)]=_0x1c19e2,this['_univerInstanceService']=_0x4e1d02,this[_0x12430a(0x301)]=_0x2f04d6);}get['cursorInfo'](){const _0x47e139=_0x37f8b3;return this[_0x47e139(0x3b9)][_0x47e139(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0xe49142=_0x37f8b3;return this['_roomMembers$'][_0xe49142(0x36c)]();}['dispose'](){const _0x25ef52=_0x37f8b3;super['dispose'](),this[_0x25ef52(0x3b9)][_0x25ef52(0x322)](new Map()),this[_0x25ef52(0x3b9)][_0x25ef52(0x38f)](),this['_roomMembers$'][_0x25ef52(0x322)]([]),this[_0x25ef52(0x2cd)][_0x25ef52(0x38f)]();}['init'](){const _0x3cd2f6=_0x37f8b3;this[_0x3cd2f6(0x3fd)]||(this['_init']=!0x0,this[_0x3cd2f6(0x449)][_0x3cd2f6(0x3a7)][_0x3cd2f6(0x1d7)](_0x28bd90['takeUntil'](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x59e0c8=>{const _0xd2882b=_0x3cd2f6;_0x59e0c8===_0x5c1af6['SessionStatus'][_0xd2882b(0x3e4)]?this[_0xd2882b(0x338)]():this[_0xd2882b(0x271)]();}),this['_session'][_0x3cd2f6(0x2a5)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x11023c=>{const _0x5e4550=_0x3cd2f6,_0x52f805=_0x11023c['eventID'];_0x52f805===_0x346166['CollaborationEvent'][_0x5e4550(0x3ae)]&&this['_onCursorUpdate'](_0x11023c),_0x52f805===_0x346166[_0x5e4550(0x2d2)][_0x5e4550(0x394)]&&this[_0x5e4550(0x1ea)](_0x11023c);}),this[_0x3cd2f6(0x215)](this['_commandService']['onCommandExecuted'](_0x30af4e=>{const _0x5205e5=_0x3cd2f6,_0x4fd92e=_0x30af4e[_0x5205e5(0x448)];_0x4fd92e!=null&&this[_0x5205e5(0x3c9)]&&_0x30af4e['id']===_0xfb3c5a['SetTextSelectionsOperation']['id']&&_0x4fd92e[_0x5205e5(0x205)]===this[_0x5205e5(0x231)]&&_0x4fd92e[_0x5205e5(0x2d9)]===!0x1&&_0x4fd92e[_0x5205e5(0x1d6)]['length']>0x0&&this[_0x5205e5(0x2dc)](_0x4fd92e[_0x5205e5(0x1d6)]);})),this[_0x3cd2f6(0x419)][_0x3cd2f6(0x3fe)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this['dispose$']))[_0x3cd2f6(0x1c1)](_0x1244cc=>{const _0x57cfa0=_0x3cd2f6;if((_0x1244cc==null?void 0x0:_0x1244cc[_0x57cfa0(0x231)])!==this[_0x57cfa0(0x231)])return;const _0x395ee0={'eventID':_0x346166['CollaborationEvent'][_0x57cfa0(0x3ae)],'data':_0x1244cc};this['_onCursorUpdate'](_0x395ee0);}),this[_0x3cd2f6(0x215)](this[_0x3cd2f6(0x301)]['onCommandExecuted'](_0x5cbe92=>{const _0x188f31=_0x3cd2f6;if(_0x5cbe92[_0x188f31(0x448)]==null)return;const _0x5446a7=_0x5cbe92['params'];if(_0x5cbe92['id']!==_0xfb3c5a[_0x188f31(0x2b2)]['id']||_0x5446a7[_0x188f31(0x205)]!==this[_0x188f31(0x231)])return;const _0x1ac7ab={'id':_0x188f31(0x17f),'params':_0x5446a7},_0x5cc0e0=this[_0x188f31(0x296)];for(const [_0x3d7433,_0x282ce3]of _0x5cc0e0){const _0x2a27d8={'id':_0x188f31(0x17f),'params':{'unitId':this[_0x188f31(0x231)],'actions':null,'textRanges':_0x282ce3[_0x188f31(0x1d6)]}},_0x50e657=this[_0x188f31(0x3f8)]['transformMutation'](_0x1ac7ab,_0x2a27d8,!0x1);if(_0x346166['isTransformMutationFailure'](_0x50e657))throw _0x50e657[_0x188f31(0x3c2)];_0x5cc0e0[_0x188f31(0x3a5)](_0x3d7433,{..._0x282ce3,'ranges':_0x50e657['m2Prime'][_0x188f31(0x448)][_0x188f31(0x1da)]});}queueMicrotask(()=>{const _0x35295d=_0x188f31;this[_0x35295d(0x3b9)][_0x35295d(0x322)](_0x5cc0e0);});})));}[_0x37f8b3(0x24d)](_0x4bfe6b){const _0x9baad6=_0x37f8b3;var _0x4bbe77,_0x3b1f7b;const {memberID:_0x34a966,selection:_0x37d668}=_0x4bfe6b[_0x9baad6(0x3da)],_0x24ab56=_0x56eabf(_0x37d668),_0x3d609e=(_0x3b1f7b=(_0x4bbe77=this[_0x9baad6(0x2e3)][_0x9baad6(0x178)](this[_0x9baad6(0x231)],_0x34a966))==null?void 0x0:_0x4bbe77['name'])!=null?_0x3b1f7b:_0x9baad6(0x2f5),_0x389dda={'color':this[_0x9baad6(0x249)][_0x9baad6(0x3cd)](_0x34a966),'name':_0x3d609e,'ranges':_0x24ab56},_0x53d01b=this[_0x9baad6(0x296)];_0x53d01b[_0x9baad6(0x3a5)](_0x34a966,_0x389dda),this[_0x9baad6(0x3b9)]['next'](_0x53d01b);}[_0x37f8b3(0x1ea)](_0x363edb){const _0x5550d6=_0x37f8b3,{memberID:_0x8244cd}=_0x363edb[_0x5550d6(0x3da)],_0x161ca9=this[_0x5550d6(0x296)];_0x161ca9['delete'](_0x8244cd),this['_cursorInfo$']['next'](_0x161ca9);}[_0x37f8b3(0x338)](){const _0x3c9f04=_0x37f8b3;var _0x5dc1c9;if(this[_0x3c9f04(0x3c9)]=!0x0,((_0x5dc1c9=this[_0x3c9f04(0x19b)][_0x3c9f04(0x2bc)]())==null?void 0x0:_0x5dc1c9['getUnitId']())!==this['unitID'])return;const _0x4e1a8a=this[_0x3c9f04(0x1af)]['get'](_0xfb3c5a[_0x3c9f04(0x27b)])[_0x3c9f04(0x3e9)]();Array[_0x3c9f04(0x1fc)](_0x4e1a8a)&&_0x4e1a8a[_0x3c9f04(0x185)]>0x0&&this[_0x3c9f04(0x2dc)](_0x4e1a8a);}['_toggleOffline'](){const _0x4b637a=_0x37f8b3;this[_0x4b637a(0x3c9)]=!0x1;}};_0x34c1be=_0x5ece84([_0x229d5d(0x2,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x229d5d(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x229d5d(0x4,_0x4bf0bf['Inject'](_0x5c1af6['MemberService'])),_0x229d5d(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x229d5d(0x6,_0x346166['ITransformService']),_0x229d5d(0x7,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x229d5d(0x8,_0x4bf0bf[_0x37f8b3(0x1c5)])],_0x34c1be);var _0x4ef30e=Object[_0x37f8b3(0x272)],_0x70bf85=(_0x402959,_0xf2be11,_0x49a348,_0x25cfde)=>{const _0x5dfbb4=_0x37f8b3;for(var _0x478330=_0x25cfde>0x1?void 0x0:_0x25cfde?_0x4ef30e(_0xf2be11,_0x49a348):_0xf2be11,_0x1f5232=_0x402959[_0x5dfbb4(0x185)]-0x1,_0x3489f6;_0x1f5232>=0x0;_0x1f5232--)(_0x3489f6=_0x402959[_0x1f5232])&&(_0x478330=_0x3489f6(_0x478330)||_0x478330);return _0x478330;},_0x38bc95=(_0xe8510a,_0x3d1cf8)=>(_0x127fa1,_0x4c41da)=>_0x3d1cf8(_0x127fa1,_0x4c41da,_0xe8510a);const _0x19e6e8=0x12c,_0x12ce93=0x64,_0x34340b=()=>{let _0x1c6bde=[],_0x35da7e=!0x1;return _0x5d2530=>{const _0x1e372c=_0x53f7;_0x1c6bde[_0x1e372c(0x20c)](_0x5d2530),_0x35da7e||(_0x35da7e=!0x0,setTimeout(()=>{const _0x1c3215=_0x1e372c;_0x1c6bde[_0x1c3215(0x3a0)](_0x3ca607=>_0x3ca607()),_0x1c6bde=[],_0x35da7e=!0x1;}));};};let _0x23585c=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x5a0c3a,_0x4bd6b0,_0x34a107,_0x22177c,_0x2a9f21,_0x924544,_0x20ad8d,_0x26b616){const _0x33ee84=_0x37f8b3;super(),_0xd7033e(this,'_online',!0x1),_0xd7033e(this,_0x33ee84(0x3fd),!0x1),_0xd7033e(this,'_cursorInfo$',new _0x28bd90[(_0x33ee84(0x246))](new Map())),_0xd7033e(this,_0x33ee84(0x3db),this['_cursorInfo$']['asObservable']()),_0xd7033e(this,'_roomMembers$',new _0x28bd90[(_0x33ee84(0x246))]([])),_0xd7033e(this,'roomMembers$',this[_0x33ee84(0x2cd)][_0x33ee84(0x1d7)](_0x28bd90[_0x33ee84(0x35a)](_0x19e6e8))),_0xd7033e(this,_0x33ee84(0x2dc),_0x4bf0bf['debounce']((_0x5ef764,_0x27355f)=>{const _0x3e6fa0=_0x33ee84,_0x3262b3={'eventID':_0x346166[_0x3e6fa0(0x2d2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3e6fa0(0x231)],'memberID':this[_0x3e6fa0(0x449)][_0x3e6fa0(0x370)](),'selection':_0x1738fe[_0x3e6fa0(0x349)](_0x5ef764,_0x27355f[_0x3e6fa0(0x2db)])}};this['_session']['send'](_0x3262b3,this[_0x3e6fa0(0x231)]);},_0x12ce93)),(this[_0x33ee84(0x231)]=_0x5a0c3a,this['_session']=_0x4bd6b0,this[_0x33ee84(0x1af)]=_0x34a107,this['_colorAssignService']=_0x22177c,this[_0x33ee84(0x2e3)]=_0x2a9f21,this['_univerInstanceService']=_0x924544,this[_0x33ee84(0x301)]=_0x20ad8d,this[_0x33ee84(0x44a)]=_0x26b616);}get['cursorInfo'](){const _0x15906a=_0x37f8b3;return this[_0x15906a(0x3b9)][_0x15906a(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0x3cbcaa=_0x37f8b3;return this[_0x3cbcaa(0x2cd)]['getValue']();}['dispose'](){const _0x5d1b96=_0x37f8b3;super[_0x5d1b96(0x248)](),this[_0x5d1b96(0x3b9)][_0x5d1b96(0x322)](new Map()),this[_0x5d1b96(0x3b9)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5d1b96(0x2cd)][_0x5d1b96(0x38f)]();}['init'](){const _0x61b0c8=_0x37f8b3;this['_init']||(this['_init']=!0x0,this['_session'][_0x61b0c8(0x3a7)][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this[_0x61b0c8(0x30f)]))[_0x61b0c8(0x1c1)](_0x23bb72=>{const _0x24c1a6=_0x61b0c8;_0x23bb72===_0x5c1af6[_0x24c1a6(0x32e)][_0x24c1a6(0x3e4)]?this['_toggleOnline']():this[_0x24c1a6(0x271)]();}),this[_0x61b0c8(0x449)]['event$'][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this['dispose$']))[_0x61b0c8(0x1c1)](_0xd457ff=>{const _0x58fe04=_0x61b0c8,_0x1a1f77=_0xd457ff['eventID'];_0x1a1f77===_0x346166[_0x58fe04(0x2d2)][_0x58fe04(0x3ae)]&&this[_0x58fe04(0x24d)](_0xd457ff),_0x1a1f77===_0x346166[_0x58fe04(0x2d2)]['USERS_LEAVE']&&this[_0x58fe04(0x1ea)](_0xd457ff);}),this[_0x61b0c8(0x3c1)](),this['disposeWithMe'](this[_0x61b0c8(0x301)][_0x61b0c8(0x294)](_0x623172=>{const _0x510650=_0x61b0c8;if(this[_0x510650(0x3c9)]&&_0x623172['id']===_0x3edab0[_0x510650(0x224)]['id']&&_0x623172[_0x510650(0x448)][_0x510650(0x205)]===this['unitID']){const _0x5ac057=_0x623172[_0x510650(0x448)];this['_updateLocalCursor'](_0x5ac057[_0x510650(0x237)],_0x5ac057[_0x510650(0x28f)][0x0]);}})));}[_0x37f8b3(0x24d)](_0x131145){const _0x13d14f=_0x37f8b3;var _0x12ea73,_0x6d3c68;const {memberID:_0x5cf550,selection:_0x5ea7a2}=_0x131145['data'],{sheetName:_0x6ed12d,range:_0x34a2f1}=_0x1738fe[_0x13d14f(0x42b)](_0x5ea7a2),_0x45c5dd={'name':(_0x6d3c68=(_0x12ea73=this[_0x13d14f(0x2e3)][_0x13d14f(0x178)](this[_0x13d14f(0x231)],_0x5cf550))==null?void 0x0:_0x12ea73[_0x13d14f(0x1b5)])!=null?_0x6d3c68:_0x13d14f(0x2f5),'range':this[_0x13d14f(0x24a)](_0x6ed12d,_0x34a2f1),'sheetID':_0x6ed12d,'color':this['_colorAssignService'][_0x13d14f(0x3cd)](_0x5cf550),'selection':_0x5ea7a2},_0x353482=this['cursorInfo'];_0x353482[_0x13d14f(0x3a5)](_0x5cf550,_0x45c5dd),this[_0x13d14f(0x3b9)]['next'](_0x353482);}[_0x37f8b3(0x1ea)](_0x4242a7){const _0x55d75d=_0x37f8b3,{memberID:_0x51e0e8}=_0x4242a7['data'],_0x242104=this[_0x55d75d(0x296)];_0x242104[_0x55d75d(0x26c)](_0x51e0e8),this['_cursorInfo$']['next'](_0x242104);}[_0x37f8b3(0x24a)](_0x1ff128,_0x6b1f31){const _0x40dd81=_0x37f8b3;var _0xa78afb,_0x4db5a7;const _0x537b7d=(_0x4db5a7=(_0xa78afb=this[_0x40dd81(0x19b)][_0x40dd81(0x37d)](this['unitID']))==null?void 0x0:_0xa78afb[_0x40dd81(0x445)](_0x1ff128))==null?void 0x0:_0x4db5a7[_0x40dd81(0x279)]();return(_0x537b7d==null?void 0x0:_0x537b7d[_0x40dd81(0x417)](_0x5373a1=>_0x4bf0bf[_0x40dd81(0x30d)]['contains'](_0x5373a1,_0x6b1f31)))||_0x6b1f31;}[_0x37f8b3(0x3c1)](){const _0x46d15d=_0x37f8b3,_0x42c4db=new _0x4bf0bf['DisposableCollection'](),_0x4bc656=_0x34340b(),_0x27fb7c=()=>{const _0x13b97f=_0x53f7;_0x42c4db['dispose']();const _0x3e814b=(_0x3e994e,_0xe08ec3,_0x5efe9c,_0x3af6f0)=>{const _0x51dfa6=_0x53f7;let _0x19bee5=[];switch(_0x3e994e['id']){case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveLeftCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1e8)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveUpCommandId']:{_0x19bee5=_0x3edab0['handleDeleteRangeMoveUp'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['InsertColCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x240)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1c6)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x186)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x414)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x3d7)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2f1)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x182)]:{_0x19bee5=_0x3edab0['handleMoveRange'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x298)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2b0)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId'][_0x51dfa6(0x3d2)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2be)](_0x3e994e,_0x3af6f0);break;}}const _0x322477=_0x3edab0[_0x51dfa6(0x304)](_0x19bee5,_0x3af6f0),_0x322922=this[_0x51dfa6(0x296)]['get'](_0xe08ec3);if(_0x322922&&_0x322477){const _0xe046de={..._0x322922,'range':_0x322477};this[_0x51dfa6(0x296)][_0x51dfa6(0x3a5)](_0xe08ec3,_0xe046de),_0x4bc656(()=>{const _0x514163=_0x51dfa6,_0x3ef8bd=this[_0x514163(0x44a)][_0x514163(0x44d)](_0x322477,_0x1217f3=>(_0x3ef8bd[_0x514163(0x248)](),_0x3e814b(_0x1217f3,_0xe08ec3,_0x5efe9c,_0x322477)));_0x42c4db[_0x514163(0x24c)](_0x3ef8bd);});}return{'redos':[],'undos':[]};};this[_0x13b97f(0x296)][_0x13b97f(0x3a0)]((_0x5eb384,_0x2c8863)=>{const _0xf4003b=_0x13b97f,{range:_0x42fa18,sheetID:_0xbe1a2f}=_0x5eb384,_0x1214ab=this[_0xf4003b(0x44a)]['registerRefRange'](_0x42fa18,_0x13bf19=>(_0x1214ab[_0xf4003b(0x248)](),_0x3e814b(_0x13bf19,_0x2c8863,_0xbe1a2f,_0x42fa18)));_0x42c4db[_0xf4003b(0x24c)](_0x1214ab);});};this[_0x46d15d(0x215)](_0x4bf0bf['toDisposable'](this[_0x46d15d(0x3b9)][_0x46d15d(0x1c1)](()=>{_0x27fb7c();})));}[_0x37f8b3(0x338)](){const _0x1887ab=_0x37f8b3;var _0x4142ea,_0x44c95b;if(this[_0x1887ab(0x3c9)]=!0x0,((_0x4142ea=this[_0x1887ab(0x19b)][_0x1887ab(0x2bc)]())==null?void 0x0:_0x4142ea[_0x1887ab(0x3dd)]())!==this['unitID'])return;const _0x25cc8e=(_0x44c95b=this[_0x1887ab(0x1af)]['get'](_0x3edab0['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x44c95b[0x0],_0x493437=this[_0x1887ab(0x19b)][_0x1887ab(0x392)](_0x4bf0bf[_0x1887ab(0x310)]['UNIVER_SHEET'])[_0x1887ab(0x450)]();_0x25cc8e&&_0x493437&&this[_0x1887ab(0x2dc)](_0x493437['getSheetId'](),_0x25cc8e);}[_0x37f8b3(0x271)](){this['_online']=!0x1;}};_0x23585c=_0x70bf85([_0x38bc95(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x38bc95(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x38bc95(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x2c9)])),_0x38bc95(0x5,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x38bc95(0x6,_0x4bf0bf['ICommandService']),_0x38bc95(0x7,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x3edab0['RefRangeService']))],_0x23585c);var _0x4efb93=Object[_0x37f8b3(0x272)],_0x590e78=(_0x283521,_0xc78543,_0x229c9e,_0x335c97)=>{const _0x241e17=_0x37f8b3;for(var _0x267ed7=_0x335c97>0x1?void 0x0:_0x335c97?_0x4efb93(_0xc78543,_0x229c9e):_0xc78543,_0x42d24f=_0x283521[_0x241e17(0x185)]-0x1,_0x3a3617;_0x42d24f>=0x0;_0x42d24f--)(_0x3a3617=_0x283521[_0x42d24f])&&(_0x267ed7=_0x3a3617(_0x267ed7)||_0x267ed7);return _0x267ed7;},_0x430bec=(_0x1443a2,_0x3ce76b)=>(_0x18dd1b,_0xdd37ad)=>_0x3ce76b(_0x18dd1b,_0xdd37ad,_0x1443a2);let _0x576e16=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x577d75,_0x96118d,_0x16156b){const _0x202366=_0x37f8b3;super(),_0xd7033e(this,_0x202366(0x2de),new Map()),_0xd7033e(this,_0x202366(0x365),new _0x28bd90[(_0x202366(0x189))]()),(this[_0x202366(0x19b)]=_0x577d75,this[_0x202366(0x1af)]=_0x96118d,this[_0x202366(0x309)]=_0x16156b,this[_0x202366(0x3fd)]());}[_0x37f8b3(0x248)](){const _0x538765=_0x37f8b3;super[_0x538765(0x248)](),this[_0x538765(0x365)][_0x538765(0x38f)](),this[_0x538765(0x2de)][_0x538765(0x3a0)](_0x3b97a9=>_0x3b97a9['dispose']());}['getCollabCursors$'](_0x3905fd){const _0x1a1f99=_0x37f8b3;return this[_0x1a1f99(0x2de)][_0x1a1f99(0x33b)](_0x3905fd)?this['_entities'][_0x1a1f99(0x42f)](_0x3905fd)[_0x1a1f99(0x3db)]:this['_entityInit$'][_0x1a1f99(0x1d7)](_0x28bd90[_0x1a1f99(0x42c)](_0x3c746d=>_0x3c746d['unitID']===_0x3905fd),_0x28bd90[_0x1a1f99(0x2e2)](_0x13a095=>_0x13a095[_0x1a1f99(0x3db)]));}['_init'](){const _0x3bf81b=_0x37f8b3;this[_0x3bf81b(0x19b)][_0x3bf81b(0x19d)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)])['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](async _0x2468b6=>{const _0x1b42cd=_0x3bf81b,_0x2e755a=_0x2468b6['getUnitId'](),_0x12e202=await this[_0x1b42cd(0x225)](_0x2e755a);this[_0x1b42cd(0x365)]['next'](_0x12e202),this[_0x1b42cd(0x2de)][_0x1b42cd(0x3a5)](_0x2e755a,_0x12e202);}),this['_univerInstanceService'][_0x3bf81b(0x19d)](_0x4bf0bf['UniverInstanceType']['UNIVER_DOC'])[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x1dc)](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x42c)](_0x3abd26=>!_0x3abd26[_0x3bf81b(0x3dd)]()['startsWith']('__')))[_0x3bf81b(0x1c1)](async _0x2fc3a7=>{const _0x3e9bab=_0x3bf81b,_0x2c4975=_0x2fc3a7[_0x3e9bab(0x3dd)](),_0x198316=await this[_0x3e9bab(0x2a1)](_0x2c4975);this['_entityInit$'][_0x3e9bab(0x322)](_0x198316),this[_0x3e9bab(0x2de)][_0x3e9bab(0x3a5)](_0x2c4975,_0x198316);}),_0x28bd90[_0x3bf81b(0x315)](this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)]['UNIVER_DOC']),this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)]))['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](_0x118688=>{const _0x1168c7=_0x3bf81b,_0x365c92=_0x118688[_0x1168c7(0x3dd)](),_0xaf6142=this[_0x1168c7(0x2de)][_0x1168c7(0x42f)](_0x365c92);_0xaf6142&&(_0xaf6142[_0x1168c7(0x248)](),this['_entities'][_0x1168c7(0x26c)](_0x365c92));});}async[_0x37f8b3(0x225)](_0x3c1219){const _0x31a3ae=_0x37f8b3,_0x5dbe1a=await this[_0x31a3ae(0x309)]['requireSession'](_0x3c1219),_0x208589=this[_0x31a3ae(0x1af)][_0x31a3ae(0x18c)](_0x23585c,_0x3c1219,_0x5dbe1a);return _0x208589['init'](),_0x208589;}async['_startDocCollabCursor'](_0x23784f){const _0x5656b6=_0x37f8b3,_0x3c5de5=await this[_0x5656b6(0x309)][_0x5656b6(0x21c)](_0x23784f),_0x19d26b=this[_0x5656b6(0x1af)]['createInstance'](_0x34c1be,_0x23784f,_0x3c5de5);return _0x19d26b[_0x5656b6(0x187)](),_0x19d26b;}};_0x576e16=_0x590e78([_0x430bec(0x0,_0x4bf0bf['IUniverInstanceService']),_0x430bec(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x430bec(0x2,_0x4bf0bf['Inject'](_0x5c1af6[_0x37f8b3(0x21e)]))],_0x576e16);const _0x3e6010=0x14,_0x35b14f=0xc8,_0x1728c6=0x4,_0x3bb1aa=0x5;function _0x1eb15b(_0x9bf5b9,_0x2c53d0){const _0x47d4f2=_0x37f8b3;let {radius:_0x327409,width:_0x4e5f43,height:_0x1a72d4}=_0x2c53d0;_0x327409=_0x327409!=null?_0x327409:0x0,_0x4e5f43=_0x4e5f43!=null?_0x4e5f43:0x1e,_0x1a72d4=_0x1a72d4!=null?_0x1a72d4:0x1e;let _0x3279fc=0x0,_0x2f5ae2=0x0,_0x1ba866=0x0;_0x3279fc=_0x2f5ae2=_0x1ba866=Math[_0x47d4f2(0x2bf)](_0x327409,_0x4e5f43/0x2,_0x1a72d4/0x2),_0x9bf5b9[_0x47d4f2(0x1d1)](),_0x9bf5b9[_0x47d4f2(0x17d)](_0x3279fc,0x0),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43-_0x2f5ae2,0x0),_0x9bf5b9['arc'](_0x4e5f43-_0x2f5ae2,_0x2f5ae2,_0x2f5ae2,Math['PI']*0x3/0x2,0x0,!0x1),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43,_0x1a72d4-_0x1ba866),_0x9bf5b9[_0x47d4f2(0x184)](_0x4e5f43-_0x1ba866,_0x1a72d4-_0x1ba866,_0x1ba866,0x0,Math['PI']/0x2,!0x1),_0x9bf5b9['lineTo'](0x0,_0x1a72d4),_0x9bf5b9[_0x47d4f2(0x39d)](0x0,_0x3279fc),_0x9bf5b9[_0x47d4f2(0x184)](_0x3279fc,_0x3279fc,_0x3279fc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9bf5b9[_0x47d4f2(0x188)](),_0x2c53d0[_0x47d4f2(0x2d8)]&&(_0x9bf5b9[_0x47d4f2(0x328)](),_0x9bf5b9[_0x47d4f2(0x3a6)]=_0x2c53d0[_0x47d4f2(0x2d8)],_0x2c53d0[_0x47d4f2(0x203)]==='evenodd'?_0x9bf5b9[_0x47d4f2(0x2d8)](_0x47d4f2(0x3ad)):_0x9bf5b9[_0x47d4f2(0x2d8)](),_0x9bf5b9[_0x47d4f2(0x36f)]());}class _0x54e4f3 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x3c3502,_0x37744e){const _0x38bdfd=_0x37f8b3;super(_0x3c3502,_0x37744e),_0xd7033e(this,'color'),_0xd7033e(this,'text'),(this[_0x38bdfd(0x402)]=_0x37744e==null?void 0x0:_0x37744e['color'],this['text']=_0x37744e==null?void 0x0:_0x37744e[_0x38bdfd(0x1d5)]);}static[_0x37f8b3(0x21a)](_0x332a8c,_0x37ae05){const _0x191874=_0x37f8b3,{text:_0x23da23,color:_0x450dfe}=_0x37ae05;_0x332a8c[_0x191874(0x328)](),_0x332a8c[_0x191874(0x37b)]=_0x191874(0x3fb);const _0x20677a=_0x332a8c[_0x191874(0x20b)](_0x23da23)[_0x191874(0x24e)],_0xed35f=Math[_0x191874(0x2bf)](_0x20677a+0x2*_0x1728c6,_0x35b14f);_0x1eb15b(_0x332a8c,{'height':_0x3e6010,'radius':0x4,'width':_0xed35f,'fill':_0x450dfe}),_0x332a8c['fillStyle']='#FFF';const _0x28cf52=_0x1728c6,_0x16441d=_0x3e6010-_0x3bb1aa,_0x12fe8c=_0x35b14f-0x2*_0x1728c6;if(_0x20677a>_0x12fe8c){let _0x325804='',_0x5eadf5=0x0;for(const _0x8641ab of _0x23da23){const _0x205c36=_0x332a8c[_0x191874(0x20b)](_0x8641ab)['width'];if(_0x5eadf5+_0x205c36<=_0x12fe8c-_0x332a8c[_0x191874(0x20b)](_0x191874(0x455))[_0x191874(0x24e)])_0x325804+=_0x8641ab,_0x5eadf5+=_0x205c36;else{_0x325804+=_0x191874(0x455);break;}}_0x332a8c[_0x191874(0x33f)](_0x325804,_0x28cf52,_0x16441d);}else _0x332a8c['fillText'](_0x23da23,_0x28cf52,_0x16441d);_0x332a8c[_0x191874(0x36f)]();}[_0x37f8b3(0x344)](_0x24f304){const _0x145827=_0x37f8b3;_0x54e4f3[_0x145827(0x21a)](_0x24f304,this);}}const _0x2cd96b=_0x37f8b3(0x43b),_0x5c940f=_0x37f8b3(0x420),_0x495bc4='collab-rect-range-',_0x4a57b7=0x6,_0x5bc1c7=1.5,_0x2e8606=0x4,_0x2cd3b8=1.5,_0xebdd02=_0x37f8b3(0x339);class _0x21a224{constructor(_0x9e3f25,_0x2a033b,_0x3c412a,_0x5be05d){const _0x41f1ac=_0x37f8b3;_0xd7033e(this,'_shapes',[]),_0xd7033e(this,_0x41f1ac(0x447),null),_0xd7033e(this,'_textBubble',null),_0xd7033e(this,'_anchorDot',null),_0xd7033e(this,_0x41f1ac(0x31c),null),_0xd7033e(this,_0x41f1ac(0x180),null),(this[_0x41f1ac(0x1a5)]=_0x9e3f25,this[_0x41f1ac(0x300)]=_0x2a033b,this[_0x41f1ac(0x293)]=_0x3c412a,this['_document']=_0x5be05d,this[_0x41f1ac(0x385)]());}set[_0x37f8b3(0x207)](_0x482b5e){const _0x51fc31=_0x37f8b3;_0x482b5e?(this[_0x51fc31(0x1e9)]&&this['_anchorDot'][_0x51fc31(0x2d6)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)][_0x51fc31(0x358)]()):(this[_0x51fc31(0x1e9)]&&this[_0x51fc31(0x1e9)][_0x51fc31(0x358)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)]['hide']());}[_0x37f8b3(0x248)](){const _0x505deb=_0x37f8b3;for(const _0x11d679 of this[_0x505deb(0x377)])_0x11d679[_0x505deb(0x248)]();this['_textBubble']&&this[_0x505deb(0x22d)]['dispose'](),this[_0x505deb(0x1e9)]&&this['_anchorDot'][_0x505deb(0x248)](),this[_0x505deb(0x447)]&&this[_0x505deb(0x447)][_0x505deb(0x248)](),this['_eventUnsubscribe']&&this[_0x505deb(0x180)]();}[_0x37f8b3(0x385)](){const _0x5b31b9=_0x37f8b3;var _0x4a9d59;const {_docSkeleton:_0x2f48ec,_document:_0x1f8051}=this,{color:_0x5e69b3,name:_0x4cdb38,ranges:_0x25de43}=this[_0x5b31b9(0x1a5)],_0x94aa22=_0x1f8051['getOffsetConfig'](),{docsLeft:_0x32d092,docsTop:_0x5cc09c}=_0x94aa22,_0x2fc108=new _0x80b7f3['NodePositionConvertToCursor'](_0x94aa22,_0x2f48ec);for(const {startOffset:_0x4e51e1,endOffset:_0x43ede5,rangeType:_0x1698d6,segmentId:_0x435cb6,segmentPage:_0x216bd3,collapsed:_0x420370,isActive:_0x3bf8f1}of _0x25de43){const _0x1b9a2e=_0x2f48ec[_0x5b31b9(0x3ef)](_0x4e51e1,!0x0,_0x435cb6,_0x216bd3);let _0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5,!0x0,_0x435cb6,_0x216bd3);if(_0x5abba1==null&&(_0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5-0x1,!0x1,_0x435cb6,_0x216bd3)),_0x3bf8f1){const {contentBoxPointGroup:_0x47d991}=_0x2fc108[_0x5b31b9(0x1f3)](_0x5abba1,_0x5abba1);if(_0x47d991[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x191)](_0x5e69b3,_0x47d991,_0x32d092,_0x5cc09c,_0x4cdb38),this['_eventUnsubscribe']=this[_0x5b31b9(0x1ff)]();}if(_0x1b9a2e&&_0x5abba1){if(_0x1698d6===_0x4bf0bf[_0x5b31b9(0x32f)]['RECT']){const _0x570f16=new _0x80b7f3[(_0x5b31b9(0x452))](_0x94aa22,_0x2f48ec),{pointGroup:_0x56ff25}=(_0x4a9d59=_0x570f16[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1))!=null?_0x4a9d59:{};if(_0x56ff25==null||_0x56ff25[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x306)](_0x5e69b3,_0x56ff25,_0x32d092,_0x5cc09c);}else{if(!_0x420370){const {borderBoxPointGroup:_0xa9adcf}=_0x2fc108[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1);if(_0xa9adcf[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x415)](_0x5e69b3,_0xa9adcf,_0x32d092,_0x5cc09c);}}}}}['_drawAnchor'](_0x27220e,_0x3afd89,_0x1fb6be,_0x270ca2,_0xfd0459){const _0x2767c5=_0x37f8b3,_0x2435b1=this['_getAnchorBounding'](_0x3afd89),{left:_0x55a148,top:_0x23d022,height:_0x277108}=_0x2435b1,_0x138039=this['_getScale'](),_0x5483fb=_0x2cd3b8/_0x138039,_0x412f0f=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2,'height':_0x277108,'width':_0x5bc1c7,'fill':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf['COLORS']['black'],0x0),'strokeWidth':_0x5483fb,'stroke':_0xebdd02,'evented':!0x0});this[_0x2767c5(0x447)]=_0x412f0f,this[_0x2767c5(0x300)]['addObject'](_0x412f0f,_0x80b7f3[_0x2767c5(0x17a)]);const _0x2a583b=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x2e8606/0x2,'height':_0x2e8606,'width':_0x2e8606,'fill':_0x27220e||_0x1a5c20['getColor'](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'strokeWidth':0x0,'stroke':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'evented':!0x1});this[_0x2767c5(0x1e9)]=_0x2a583b,this['_scene']['addObject'](_0x2a583b,_0x80b7f3[_0x2767c5(0x17a)]);const _0x3da1bb=new _0x54e4f3(_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x3e6010,'text':_0xfd0459,'color':_0x27220e});this[_0x2767c5(0x22d)]=_0x3da1bb,this[_0x2767c5(0x300)][_0x2767c5(0x1a9)](_0x3da1bb,_0x80b7f3[_0x2767c5(0x17a)]),this[_0x2767c5(0x207)]=!0x1;}['_handleHover'](){const _0x3943bb=_0x37f8b3,_0x50e0d3=this[_0x3943bb(0x447)]['onPointerEnter$'][_0x3943bb(0x3ff)](()=>{this['_hover']=!0x0;}),_0x3b0eef=this[_0x3943bb(0x447)][_0x3943bb(0x267)]['subscribeEvent'](()=>{const _0x4b892c=_0x3943bb;this[_0x4b892c(0x31c)]&&clearTimeout(this['_hideTimer']),this[_0x4b892c(0x31c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4eb846=_0x3943bb;_0x50e0d3[_0x4eb846(0x3c7)](),_0x3b0eef[_0x4eb846(0x3c7)]();};}['_drawTextRange'](_0x3667f1,_0x5e5669,_0x10164c,_0x192e52){const _0x20f511=_0x37f8b3,_0x3494eb=new _0x4bf0bf[(_0x20f511(0x291))](_0x3667f1)[_0x20f511(0x3dc)](0.2)[_0x20f511(0x35b)](),_0x2df76b=new _0x1a5c20[(_0x20f511(0x2c8))](_0x5c940f+_0x4bf0bf[_0x20f511(0x3b3)](_0x4a57b7),{'pointsGroup':_0x5e5669,'fill':_0x3494eb||_0x1a5c20['getColor'](_0x4bf0bf[_0x20f511(0x208)]['black'],0.2),'left':_0x10164c,'top':_0x192e52,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20f511(0x377)][_0x20f511(0x20c)](_0x2df76b),this[_0x20f511(0x300)][_0x20f511(0x1a9)](_0x2df76b,_0x80b7f3[_0x20f511(0x17a)]);}[_0x37f8b3(0x306)](_0x50348c,_0x2fdb92,_0x5d598d,_0x3858c){const _0xba4be7=_0x37f8b3,_0x4bf318=new _0x4bf0bf[(_0xba4be7(0x291))](_0x50348c)[_0xba4be7(0x3dc)](0.2)[_0xba4be7(0x35b)](),_0xd2a444=new _0x1a5c20[(_0xba4be7(0x2c8))](_0x495bc4+_0x4bf0bf[_0xba4be7(0x3b3)](_0x4a57b7),{'pointsGroup':_0x2fdb92,'fill':_0x4bf318||_0x1a5c20[_0xba4be7(0x406)](_0x4bf0bf[_0xba4be7(0x208)][_0xba4be7(0x3b0)],0.2),'left':_0x5d598d,'top':_0x3858c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xba4be7(0x377)][_0xba4be7(0x20c)](_0xd2a444),this[_0xba4be7(0x300)][_0xba4be7(0x1a9)](_0xd2a444,_0x80b7f3['TEXT_RANGE_LAYER_INDEX']);}[_0x37f8b3(0x2df)](_0x3b115e){const _0x1274fd=_0x3b115e[0x0],_0x2876a9=_0x1274fd[0x0],_0x2507fc=_0x1274fd[0x2],{x:_0x47056f,y:_0x351044}=_0x2876a9,{x:_0x15e7cf,y:_0x38f5a1}=_0x2507fc;return{'left':_0x47056f,'top':_0x351044,'width':_0x15e7cf-_0x47056f,'height':_0x38f5a1-_0x351044};}[_0x37f8b3(0x257)](){const _0x4f106e=_0x37f8b3,{scaleX:_0x2821f7,scaleY:_0x5a514b}=this[_0x4f106e(0x300)][_0x4f106e(0x22a)]();return Math[_0x4f106e(0x37f)](_0x2821f7,_0x5a514b);}}var _0x368f83=Object[_0x37f8b3(0x272)],_0x513a0d=(_0x38871e,_0x3667d2,_0x4d4e1f,_0x52645e)=>{const _0x55264c=_0x37f8b3;for(var _0x3664ae=_0x52645e>0x1?void 0x0:_0x52645e?_0x368f83(_0x3667d2,_0x4d4e1f):_0x3667d2,_0x24b90d=_0x38871e[_0x55264c(0x185)]-0x1,_0x56232d;_0x24b90d>=0x0;_0x24b90d--)(_0x56232d=_0x38871e[_0x24b90d])&&(_0x3664ae=_0x56232d(_0x3664ae)||_0x3664ae);return _0x3664ae;},_0x22513b=(_0x14fa48,_0x255a81)=>(_0x3a1eb3,_0x3ffee2)=>_0x255a81(_0x3a1eb3,_0x3ffee2,_0x14fa48);let _0x1a0a7a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x1a7a0e,_0x1027cf,_0x11f869,_0x3722bf,_0x6527e3){const _0x2a5c2c=_0x37f8b3;super(),_0xd7033e(this,'_cursorShapes',[]),_0xd7033e(this,_0x2a5c2c(0x278),[]),(this[_0x2a5c2c(0x42e)]=_0x1a7a0e,this[_0x2a5c2c(0x434)]=_0x1027cf,this[_0x2a5c2c(0x41a)]=_0x11f869,this[_0x2a5c2c(0x301)]=_0x3722bf,this[_0x2a5c2c(0x24f)]=_0x6527e3,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x2ff64c=_0x37f8b3,_0x59ee58=this[_0x2ff64c(0x42e)][_0x2ff64c(0x205)],_0xf0d251=this[_0x2ff64c(0x434)];this[_0x2ff64c(0x215)](_0x28bd90['combineLatest']([this[_0x2ff64c(0x41a)][_0x2ff64c(0x289)](_0x59ee58),this['_themeService'][_0x2ff64c(0x1e3)]])['pipe'](_0x3f3616[_0x2ff64c(0x2c4)](([_0x5d44be,_0x510678])=>({'skeleton':_0xf0d251[_0x2ff64c(0x216)](),'cursors':[..._0x5d44be[_0x2ff64c(0x23e)]()][_0x2ff64c(0x30a)](_0x5d6017=>({..._0x5d6017,'color':this['_themeService'][_0x2ff64c(0x395)](_0x5d6017[_0x2ff64c(0x402)])}))})))['subscribe'](_0x102754=>{const _0x52f95c=_0x2ff64c;if(this[_0x52f95c(0x323)](),_0x102754){const {skeleton:_0x3282ef,cursors:_0x213bae}=_0x102754;this[_0x52f95c(0x337)](_0x3282ef,_0x213bae);}})),this[_0x2ff64c(0x1b8)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3ef580,_0x1c8a07){const _0x4a3f54=_0x37f8b3,{scene:_0x245423,mainComponent:_0x353777}=this[_0x4a3f54(0x42e)],_0x1c5086=_0x1c8a07[_0x4a3f54(0x2c4)](_0x40aecf=>new _0x21a224(_0x40aecf,_0x245423,_0x3ef580,_0x353777));this[_0x4a3f54(0x19c)]=_0x1c5086,this[_0x4a3f54(0x278)]=_0x1c8a07;}[_0x37f8b3(0x393)](){const _0x1ec63b=_0x37f8b3;this[_0x1ec63b(0x323)]();const {scene:_0x115114,mainComponent:_0x39bd34}=this[_0x1ec63b(0x42e)],_0x5be394=this[_0x1ec63b(0x434)][_0x1ec63b(0x216)](),_0x2d3416=this[_0x1ec63b(0x278)][_0x1ec63b(0x2c4)](_0x477841=>new _0x21a224(_0x477841,_0x115114,_0x5be394,_0x39bd34));this[_0x1ec63b(0x19c)]=_0x2d3416;}[_0x37f8b3(0x323)](){const _0x2d8ad1=_0x37f8b3;this[_0x2d8ad1(0x19c)]['forEach'](_0x40c6d7=>_0x40c6d7[_0x2d8ad1(0x248)]()),this[_0x2d8ad1(0x19c)]=[];}['_initCommandExecutedListener'](){const _0x2931bd=_0x37f8b3,_0x58969c=[_0x80b7f3[_0x2931bd(0x3c8)]['id']];this[_0x2931bd(0x215)](this[_0x2931bd(0x301)][_0x2931bd(0x294)](_0x1d0a15=>{const _0x1d1613=_0x2931bd;_0x58969c['includes'](_0x1d0a15['id'])&&_0x1d0a15[_0x1d1613(0x448)]['unitId']===this[_0x1d1613(0x42e)][_0x1d1613(0x205)]&&this[_0x1d1613(0x393)]();}));}['_initResize'](){const _0x5d316e=_0x37f8b3;this[_0x5d316e(0x215)](_0x4bf0bf[_0x5d316e(0x173)](this[_0x5d316e(0x42e)][_0x5d316e(0x233)]['onTransformChange$'])[_0x5d316e(0x1d7)](_0x3f3616[_0x5d316e(0x42c)](_0x394f7e=>_0x394f7e[_0x5d316e(0x1c7)]===_0x1a5c20[_0x5d316e(0x2ae)][_0x5d316e(0x32b)]),_0x3f3616['throttleTime'](0x10))['subscribe'](()=>{const _0x42b9d0=_0x5d316e;this[_0x42b9d0(0x393)]();}));}};_0x1a0a7a=_0x513a0d([_0x22513b(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0xfb3c5a['DocSkeletonManagerService'])),_0x22513b(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x22513b(0x3,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x22513b(0x4,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x1a0a7a);const _0x4b985b=0x1,_0x1cfba3=1.5;class _0x327b63 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x294187,_0x489bf5){const _0x2631d6=_0x37f8b3;super(_0x294187,_0x489bf5),_0xd7033e(this,'_color'),_0xd7033e(this,'_hovered',!0x1),_0xd7033e(this,'_range'),_0xd7033e(this,'_name',''),_0xd7033e(this,_0x2631d6(0x3ca),_0x2631d6(0x3a8)),_0xd7033e(this,'_backgroundColor'),(_0x489bf5&&this[_0x2631d6(0x3ba)](_0x489bf5),this[_0x2631d6(0x226)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x0})),this[_0x2631d6(0x267)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x1})));}['setShapeProps'](_0x222de9){const _0x3ef9ec=_0x37f8b3;var _0x433b19,_0x24b42e,_0x316a39,_0x57f4ac,_0x47bbc4,_0x11f9f7;this[_0x3ef9ec(0x3e5)]=(_0x433b19=_0x222de9[_0x3ef9ec(0x402)])!=null?_0x433b19:this[_0x3ef9ec(0x3e5)],this[_0x3ef9ec(0x227)]=(_0x24b42e=_0x222de9[_0x3ef9ec(0x3ee)])!=null?_0x24b42e:this['_hovered'],this[_0x3ef9ec(0x3e8)]=(_0x316a39=_0x222de9['range'])!=null?_0x316a39:this[_0x3ef9ec(0x3e8)],this[_0x3ef9ec(0x428)]=(_0x57f4ac=_0x222de9[_0x3ef9ec(0x1b5)])!=null?_0x57f4ac:this[_0x3ef9ec(0x428)],this[_0x3ef9ec(0x3ca)]=(_0x47bbc4=_0x222de9[_0x3ef9ec(0x2cf)])!=null?_0x47bbc4:this[_0x3ef9ec(0x3ca)],this[_0x3ef9ec(0x388)]=(_0x11f9f7=_0x222de9['backgroundColor'])!=null?_0x11f9f7:this['_backgroundColor'],this['transformByState']({'width':_0x222de9[_0x3ef9ec(0x24e)],'height':_0x222de9[_0x3ef9ec(0x319)]});}[_0x37f8b3(0x20d)](_0x5e30c0){const _0x598e92=_0x37f8b3,{row:_0x5744c6,column:_0x399d02}=_0x5e30c0;if(_0x5744c6>=this[_0x598e92(0x3e8)][_0x598e92(0x39f)]&&_0x5744c6<=this[_0x598e92(0x3e8)][_0x598e92(0x1a7)]&&_0x399d02>=this['_range'][_0x598e92(0x270)]&&_0x399d02<=this[_0x598e92(0x3e8)][_0x598e92(0x440)]){this[_0x598e92(0x3ba)]({'hovered':!0x0});return;}this[_0x598e92(0x3ba)]({'hovered':!0x1});}[_0x37f8b3(0x399)](_0x36c1d5){return!0x1;}[_0x37f8b3(0x344)](_0x32531e){const _0xe1bc0a=_0x37f8b3;_0x1a5c20[_0xe1bc0a(0x439)]['drawWith'](_0x32531e,{'width':this[_0xe1bc0a(0x24e)],'height':this['height'],'strokeWidth':_0x1cfba3,'stroke':this[_0xe1bc0a(0x3e5)],'evented':!0x1,'fill':this[_0xe1bc0a(0x388)]}),this[_0xe1bc0a(0x227)]&&(_0x32531e['save'](),_0x32531e[_0xe1bc0a(0x3d0)](0x1,0x0,0x0,0x1,this[_0xe1bc0a(0x24e)],this['_labelPosition']==='bottom'?0x0:-_0x3e6010),_0x54e4f3[_0xe1bc0a(0x21a)](_0x32531e,{'text':this[_0xe1bc0a(0x428)],'color':this['_color']}),_0x32531e[_0xe1bc0a(0x36f)]());}}var _0x2025fe=Object[_0x37f8b3(0x272)],_0x23a145=(_0x53d389,_0x13da22,_0x3465ff,_0x12de86)=>{const _0x43ef83=_0x37f8b3;for(var _0x17c346=_0x12de86>0x1?void 0x0:_0x12de86?_0x2025fe(_0x13da22,_0x3465ff):_0x13da22,_0x53d55e=_0x53d389[_0x43ef83(0x185)]-0x1,_0x449bd3;_0x53d55e>=0x0;_0x53d55e--)(_0x449bd3=_0x53d389[_0x53d55e])&&(_0x17c346=_0x449bd3(_0x17c346)||_0x17c346);return _0x17c346;},_0x466f0f=(_0x1b1a82,_0x52e380)=>(_0x3f5fb9,_0x5b9b70)=>_0x52e380(_0x3f5fb9,_0x5b9b70,_0x1b1a82);const _0x13854a=0x1389;let _0x24c84f=class extends _0x4bf0bf['RxDisposable']{constructor(_0x50b1e6,_0xa0674,_0x190aa8,_0x4c25f0){const _0x206c5f=_0x37f8b3;super(),_0xd7033e(this,_0x206c5f(0x278),new Set()),_0xd7033e(this,_0x206c5f(0x369),null),(this[_0x206c5f(0x42e)]=_0x50b1e6,this[_0x206c5f(0x3ce)]=_0xa0674,this[_0x206c5f(0x41a)]=_0x190aa8,this[_0x206c5f(0x24f)]=_0x4c25f0,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x177544=_0x37f8b3;this[_0x177544(0x3ce)][_0x177544(0x1e4)]['pipe'](_0x3f3616[_0x177544(0x1dc)](this[_0x177544(0x30f)]),_0x3f3616[_0x177544(0x2e2)](_0x3fcd8f=>{const _0x33bbf9=_0x177544;if(_0x3fcd8f){const _0x10d77d=_0x3fcd8f[_0x33bbf9(0x416)];return _0x28bd90[_0x33bbf9(0x253)](this[_0x33bbf9(0x41a)]['getCollabCursors$'](this[_0x33bbf9(0x42e)][_0x33bbf9(0x205)]),this['_themeService'][_0x33bbf9(0x1e3)])['pipe'](_0x3f3616[_0x33bbf9(0x2c4)](([_0x1a7f7a,_0x2852e4])=>{const _0x58d918=_0x33bbf9,_0x3333a6=new Map();return _0x1a7f7a[_0x58d918(0x3a0)]((_0x2ab74f,_0x2f8d78)=>{const _0x1f866d=_0x58d918;if(_0x2ab74f[_0x1f866d(0x261)]===_0x10d77d){const _0xbf8e79={..._0x2ab74f};_0xbf8e79[_0x1f866d(0x402)]=this[_0x1f866d(0x24f)]['getColorFromTheme'](_0x2ab74f[_0x1f866d(0x402)]),_0x3333a6['set'](_0x2f8d78,_0xbf8e79);}}),{'skeleton':_0x3fcd8f,'cursors':_0x3333a6};}));}return _0x28bd90['of']({'skeleton':null,'cursors':new Map()});}))[_0x177544(0x1c1)](({skeleton:_0x318f0e,cursors:_0x153403})=>{const _0x4cf987=_0x177544;this[_0x4cf987(0x323)](),_0x318f0e&&this[_0x4cf987(0x337)](_0x318f0e,_0x153403);}),this[_0x177544(0x3ce)][_0x177544(0x1e4)]['subscribe'](_0x33343f=>{const _0xd5c3a4=_0x177544;if(_0x33343f==null)return;const {skeleton:_0x389bc6}=_0x33343f,{scene:_0x498d2c}=this[_0xd5c3a4(0x42e)];_0x498d2c[_0xd5c3a4(0x352)][_0xd5c3a4(0x3ff)](_0x4bf0bf[_0xd5c3a4(0x28a)](_0xe325fa=>{const _0x162937=_0xd5c3a4;var _0x4b7188,_0x237287;const {offsetX:_0x2d21a2,offsetY:_0x165b5f}=_0xe325fa,{x:_0x2ee9a9,y:_0x50ac36}=_0x498d2c[_0x162937(0x3f3)](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2d21a2,_0x165b5f])),{scaleX:_0x4cf945,scaleY:_0x2dff19}=_0x498d2c['getAncestorScale'](),_0x40778c=_0x498d2c[_0x162937(0x327)](_0x1a5c20[_0x162937(0x1c2)][_0x162937(0x3a9)]),_0x328775=_0x498d2c['getVpScrollXYInfoByPosToVp'](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2ee9a9,_0x50ac36]),_0x40778c),_0x1a03f4=_0x389bc6['getCellPositionByOffset'](_0x2d21a2,_0x165b5f,_0x4cf945,_0x2dff19,_0x328775);((_0x4b7188=this[_0x162937(0x369)])==null?void 0x0:_0x4b7188[_0x162937(0x3bc)])===_0x1a03f4[_0x162937(0x3bc)]&&((_0x237287=this[_0x162937(0x369)])==null?void 0x0:_0x237287[_0x162937(0x2d4)])===_0x1a03f4[_0x162937(0x2d4)]||this[_0x162937(0x278)][_0x162937(0x3a0)](_0x9a8914=>{_0x9a8914['onMouseMove'](_0x1a03f4);});},0x64));});}[_0x37f8b3(0x337)](_0x2ef19d,_0x3475f8){const _0x33e1f7=_0x37f8b3;var _0x19fb3f;const _0x2fe3d4=(_0x19fb3f=this[_0x33e1f7(0x3ce)][_0x33e1f7(0x27e)]())==null?void 0x0:_0x19fb3f[_0x33e1f7(0x19e)];if(!_0x2fe3d4)return;const _0x4e40c5=this[_0x33e1f7(0x3c5)]();if(!_0x4e40c5)return;this['_cursors'][_0x33e1f7(0x3a0)](_0x2e1fc1=>{const _0x4fc35a=_0x33e1f7;_0x2e1fc1[_0x4fc35a(0x2bd)]();});const {scene:_0xe98de4}=_0x4e40c5,_0x4208d1=_0x2a7fb6(Array[_0x33e1f7(0x367)](_0x3475f8['values']()))[_0x33e1f7(0x2c4)](_0x321d52=>{const _0xd380d7=_0x33e1f7,{color:_0x5d717e,range:_0x5767d2,name:_0x61b28e,selection:_0x130f86,sheetID:_0x9fe389}=_0x321d52,{startColumn:_0x46f982,startRow:_0x2b6029,endColumn:_0x58578d,endRow:_0xea43e7}=_0x5767d2,_0x294cf3=_0x262b71[_0xd380d7(0x332)](_0x2b6029,_0x46f982,_0xe98de4,_0x2fe3d4),_0x5028ea=_0x262b71[_0xd380d7(0x332)](_0xea43e7,_0x58578d,_0xe98de4,_0x2fe3d4),{columnHeaderHeightAndMarginTop:_0x17ea9c}=_0x2fe3d4,{startX:_0x4c7728,startY:_0x584da8}=_0x294cf3,{endX:_0x20dcbb,endY:_0x213bbf}=_0x5028ea,_0xb1ab51=_0x20dcbb-_0x4c7728,_0x48781a=_0x213bbf-_0x584da8,_0x12b9ac={'labelPosition':_0x584da8-_0x17ea9c>=_0x3e6010?_0xd380d7(0x3a8):_0xd380d7(0x329),'sheetID':_0x9fe389,'range':_0x5767d2,'color':_0x5d717e,'name':_0x61b28e,'selection':_0x130f86,'left':_0x4c7728,'top':_0x584da8,'width':_0xb1ab51,'height':_0x48781a,'evented':!0x1,'zIndex':_0x13854a};return new _0x327b63(_0x61b28e,_0x12b9ac);});_0xe98de4[_0x33e1f7(0x2ff)](_0x4208d1,_0x4b985b),this['_cursors']=new Set(_0x4208d1);}[_0x37f8b3(0x323)](){const _0x172d9a=_0x37f8b3;var _0x23c925;(_0x23c925=this[_0x172d9a(0x278)])==null||_0x23c925[_0x172d9a(0x3a0)](_0x14e2bf=>_0x14e2bf[_0x172d9a(0x248)]());}[_0x37f8b3(0x3c5)](){const _0x446b1b=_0x37f8b3;return _0x262b71['getSheetObject'](this['_context'][_0x446b1b(0x258)],this[_0x446b1b(0x42e)]);}};_0x24c84f=_0x23a145([_0x466f0f(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x262b71[_0x37f8b3(0x3bd)])),_0x466f0f(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x466f0f(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x24c84f);function _0x2a7fb6(_0x192a55){const _0x26f347=_0x37f8b3,_0x10a8bd=new Map();return _0x192a55[_0x26f347(0x3a0)](_0x43bd3b=>{const _0x2d72bc=_0x26f347;if(_0x10a8bd[_0x2d72bc(0x33b)](_0x43bd3b[_0x2d72bc(0x206)])){const _0x489f62=_0x10a8bd[_0x2d72bc(0x42f)](_0x43bd3b[_0x2d72bc(0x206)]);_0x489f62[_0x2d72bc(0x1b5)]+=',\x20'+_0x43bd3b[_0x2d72bc(0x1b5)];}else _0x10a8bd[_0x2d72bc(0x3a5)](_0x43bd3b['selection'],_0x43bd3b);}),Array[_0x26f347(0x367)](_0x10a8bd[_0x26f347(0x23e)]());}var _0x4f7fef=Object[_0x37f8b3(0x272)],_0x5bf84d=(_0x2d54f2,_0x45985a,_0x4fd046,_0x4140f0)=>{const _0x1c09d8=_0x37f8b3;for(var _0x5d209b=_0x4140f0>0x1?void 0x0:_0x4140f0?_0x4f7fef(_0x45985a,_0x4fd046):_0x45985a,_0x47922c=_0x2d54f2[_0x1c09d8(0x185)]-0x1,_0x14effa;_0x47922c>=0x0;_0x47922c--)(_0x14effa=_0x2d54f2[_0x47922c])&&(_0x5d209b=_0x14effa(_0x5d209b)||_0x5d209b);return _0x5d209b;},_0x125ee6=(_0x125ec1,_0x5dda56)=>(_0x315b48,_0x2c086b)=>_0x5dda56(_0x315b48,_0x2c086b,_0x125ec1);let _0x166680=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x37db02,_0x19ac5e,_0x3c3f75,_0x50f758,_0x1e9462,_0x3d5607){const _0xd2fa09=_0x37f8b3;super(),this[_0xd2fa09(0x391)]=_0x37db02,this['_localCacheService']=_0x19ac5e,this[_0xd2fa09(0x378)]=_0x3c3f75,this[_0xd2fa09(0x218)]=_0x50f758,this[_0xd2fa09(0x336)]=_0x1e9462,this[_0xd2fa09(0x1bd)]=_0x3d5607,this[_0xd2fa09(0x199)](),this['_initEvent']();}[_0x37f8b3(0x199)](){const _0x1fbf90=_0x37f8b3;this[_0x1fbf90(0x215)](this[_0x1fbf90(0x391)][_0x1fbf90(0x2a3)](()=>{const _0x417d27=_0x1fbf90;if(this[_0x417d27(0x2b8)]['saveTaskMap'][_0x417d27(0x2ec)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x37f8b3(0x23a)](){const _0x1052be=_0x37f8b3;this[_0x1052be(0x215)](this[_0x1052be(0x378)][_0x1052be(0x2a5)]['subscribe'](_0x1264c0=>{const _0x269736=_0x1052be;_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x353)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21['MessageType']['Warning'],'content':this['_localeService']['t'](_0x269736(0x273))}),_0x1264c0['id']===_0x5c1af6['CollaborationUIEventId'][_0x269736(0x321)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x269736(0x1bd)]['t'](_0x269736(0x421)),'content':this[_0x269736(0x1bd)]['t']('permission.content'),'type':_0x269736(0x3c2),'duration':0x0}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2f3)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x26f)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))+'('+_0x1264c0[_0x269736(0x3da)]+')'}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x3fc)]&&this['_messageService'][_0x269736(0x358)]({'type':_0x22cb21['MessageType'][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x1264c0[_0x269736(0x3da)]||'')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2e0)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)]['Warning'],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3a2))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['SOCKET_FAILED']&&this[_0x269736(0x218)]['show']({'type':_0x22cb21['MessageType'][_0x269736(0x26f)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2af)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)]['Error'],'content':this['_localeService']['t'](_0x269736(0x295))});}));}};_0x166680=_0x5bf84d([_0x125ee6(0x0,_0x19759c['IBeforeCloseService']),_0x125ee6(0x1,_0x5c1af6[_0x37f8b3(0x1a8)]),_0x125ee6(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x34a)])),_0x125ee6(0x3,_0x19759c[_0x37f8b3(0x3e6)]),_0x125ee6(0x4,_0x19759c[_0x37f8b3(0x175)]),_0x125ee6(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x166680);const _0x3f984c='collaboration-client-ui.config',_0x73c99c={};var _0x5d49ce=Object['getOwnPropertyDescriptor'],_0x4d2656=(_0x30fa2f,_0x2a1ab3,_0x575aa1,_0x2337af)=>{for(var _0x4968e9=_0x2337af>0x1?void 0x0:_0x2337af?_0x5d49ce(_0x2a1ab3,_0x575aa1):_0x2a1ab3,_0x2a191a=_0x30fa2f['length']-0x1,_0x2da548;_0x2a191a>=0x0;_0x2a191a--)(_0x2da548=_0x30fa2f[_0x2a191a])&&(_0x4968e9=_0x2da548(_0x4968e9)||_0x4968e9);return _0x4968e9;},_0x36613f=(_0xa81fc7,_0x8c29ef)=>(_0x1fd757,_0x4593cc)=>_0x8c29ef(_0x1fd757,_0x4593cc,_0xa81fc7);let _0x1f3baa=class{constructor(_0x16e462,_0x2ae16c){const _0x12bdbe=_0x37f8b3;this[_0x12bdbe(0x3f8)]=_0x16e462,this[_0x12bdbe(0x269)]=_0x2ae16c;}[_0x37f8b3(0x3f4)](_0x39b65a){const _0x4412cc=_0x37f8b3;this[_0x4412cc(0x2f2)](_0x39b65a),this[_0x4412cc(0x1f6)](_0x39b65a);}[_0x37f8b3(0x311)](_0x4c62e2){const _0x172976=_0x37f8b3,{unitID:_0x5794ef}=_0x4c62e2,_0x348a6e=this[_0x172976(0x269)][_0x172976(0x290)](_0x5794ef)[_0x172976(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{redoCache:_0x124003}=_0x348a6e['getUndoRedoMutationParamsCache']();if(_0x124003[_0x172976(0x185)]===0x0)return _0x4c62e2;let _0x3290c3=_0x4bf0bf[_0x172976(0x268)][_0x172976(0x3c0)](_0x4c62e2['mutations'][0x0]);for(let _0x117b1a=0x0;_0x117b1a<_0x124003[_0x172976(0x185)];_0x117b1a++){const _0x1b0e8d={'id':_0x172976(0x17f),'params':{..._0x124003[_0x117b1a]}},_0x57ddb3=this['_transformService'][_0x172976(0x381)](_0x3290c3,_0x1b0e8d,!0x1);if(_0x346166[_0x172976(0x23f)](_0x57ddb3))throw _0x57ddb3[_0x172976(0x3c2)];_0x3290c3=_0x57ddb3['m1Prime'];}return{..._0x4bf0bf['Tools'][_0x172976(0x3c0)](_0x4c62e2),'mutations':[_0x3290c3]};}[_0x37f8b3(0x2f2)](_0x20fcb4){const _0x4e242a=_0x37f8b3,{unitID:_0x474fe2}=_0x20fcb4,_0x387c65=this[_0x4e242a(0x269)][_0x4e242a(0x290)](_0x474fe2)[_0x4e242a(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{undoCache:_0x251e35,redoCache:_0x18ea31}=_0x387c65[_0x4e242a(0x28d)]();if(_0x251e35[_0x4e242a(0x185)]===0x0||_0x18ea31[_0x4e242a(0x185)]===0x0)return;const _0x34d865=[],_0x624b2b=[];let _0x5523bc=_0x4bf0bf[_0x4e242a(0x268)][_0x4e242a(0x3c0)](_0x20fcb4[_0x4e242a(0x318)][0x0]),_0x1ef6aa=_0x4bf0bf['Tools'][_0x4e242a(0x3c0)](_0x20fcb4['mutations'][0x0]);for(let _0x490295=_0x251e35[_0x4e242a(0x185)]-0x1;_0x490295>=0x0;_0x490295--){const _0x4aaa95={'id':_0x4e242a(0x17f),'params':{..._0x251e35[_0x490295]}},_0x40b26c={'id':'doc.mutation.rich-text-editing','params':{..._0x18ea31[_0x490295]}},_0x13da8d=this[_0x4e242a(0x3f8)]['transformMutation'](_0x5523bc,_0x4aaa95,!0x1),_0x2535b3=this[_0x4e242a(0x3f8)][_0x4e242a(0x381)](_0x1ef6aa,_0x40b26c,!0x1);if(_0x346166[_0x4e242a(0x23f)](_0x13da8d))throw _0x13da8d[_0x4e242a(0x3c2)];if(_0x346166['isTransformMutationFailure'](_0x2535b3))throw _0x2535b3[_0x4e242a(0x3c2)];_0x34d865['unshift'](_0x13da8d['m2Prime'][_0x4e242a(0x448)]),_0x624b2b[_0x4e242a(0x308)](_0x2535b3[_0x4e242a(0x37a)]['params']),_0x5523bc=_0x13da8d['m1Prime'],_0x1ef6aa=_0x2535b3['m1Prime'];}_0x387c65[_0x4e242a(0x38b)]({'undoCache':_0x34d865,'redoCache':_0x624b2b});}[_0x37f8b3(0x1f6)](_0x471774){const _0x27d138=_0x37f8b3,{unitID:_0x59d4b1}=_0x471774,_0x59bd27=this['_renderManagerService'][_0x27d138(0x290)](_0x59d4b1)[_0x27d138(0x2f0)](_0x80b7f3[_0x27d138(0x2c6)]),_0x3cc06c=_0x59bd27[_0x27d138(0x228)]();if(_0x3cc06c==null)return;const _0x1fd1ec=[{'id':_0x27d138(0x17f),'params':{'unitId':_0x471774[_0x27d138(0x231)],'actions':null,'textRanges':[_0x3cc06c]}}],_0x188875=this[_0x27d138(0x3f8)][_0x27d138(0x3d9)](_0x471774,_0x1fd1ec);if(!_0x346166[_0x27d138(0x1cf)](_0x188875))throw _0x188875[_0x27d138(0x3c2)];const _0x3394df=_0x188875['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x3394df)&&_0x3394df['length']&&_0x59bd27[_0x27d138(0x314)](_0x3394df[0x0]);}};_0x1f3baa=_0x4d2656([_0x36613f(0x0,_0x346166['ITransformService']),_0x36613f(0x1,_0x1a5c20['IRenderManagerService'])],_0x1f3baa);var _0x4a83a4=Object[_0x37f8b3(0x272)],_0x2b8e98=(_0x416562,_0x4ce11e,_0x246261,_0x4e3d1d)=>{const _0x45be1b=_0x37f8b3;for(var _0x284afa=_0x4e3d1d>0x1?void 0x0:_0x4e3d1d?_0x4a83a4(_0x4ce11e,_0x246261):_0x4ce11e,_0x4028c1=_0x416562[_0x45be1b(0x185)]-0x1,_0x4b63fa;_0x4028c1>=0x0;_0x4028c1--)(_0x4b63fa=_0x416562[_0x4028c1])&&(_0x284afa=_0x4b63fa(_0x284afa)||_0x284afa);return _0x284afa;},_0x2bcee9=(_0x36e17b,_0xd2c492)=>(_0x2a72af,_0x33e810)=>_0xd2c492(_0x2a72af,_0x33e810,_0x36e17b);let _0x31cb58=class{constructor(_0x373a2c,_0x422a01,_0x4fce99){const _0x30b823=_0x37f8b3;this[_0x30b823(0x1af)]=_0x373a2c,this[_0x30b823(0x3f8)]=_0x422a01,this[_0x30b823(0x386)]=_0x4fce99;}['transformStateCache'](_0x664f82){const _0x56195e=_0x37f8b3;this[_0x56195e(0x407)](_0x664f82);}['transformRemoteChangeset'](_0x8b8fe2){const _0x230700=_0x37f8b3,{unitID:_0x25dbc8}=_0x8b8fe2,{collaboration:_0x4b2855}=this[_0x230700(0x386)][_0x230700(0x2b9)](_0x25dbc8);if(_0x4b2855[_0x230700(0x185)]===0x0)return _0x8b8fe2;let _0x59a318=_0x4bf0bf['Tools'][_0x230700(0x3c0)](_0x8b8fe2[_0x230700(0x318)][0x0]);for(let _0x845146=0x0;_0x845146<_0x4b2855[_0x230700(0x185)];_0x845146++){const _0x28ce70={'id':_0x230700(0x17f),'params':{'unitId':_0x4b2855[_0x845146][_0x230700(0x205)],..._0x4b2855[_0x845146][_0x230700(0x27d)]}},_0x58b5f7=this['_transformService'][_0x230700(0x381)](_0x59a318,_0x28ce70,!0x1);if(_0x346166[_0x230700(0x23f)](_0x58b5f7))throw _0x58b5f7['error'];_0x59a318=_0x58b5f7['m1Prime'];}return{..._0x4bf0bf[_0x230700(0x268)][_0x230700(0x3c0)](_0x8b8fe2),'mutations':[_0x59a318]};}[_0x37f8b3(0x407)](_0x15dfdb){const _0x6e5263=_0x37f8b3,{unitID:_0x55f200}=_0x15dfdb,{history:_0x336a78,collaboration:_0x45c67d}=this[_0x6e5263(0x386)][_0x6e5263(0x2b9)](_0x55f200);if(_0x336a78[_0x6e5263(0x185)]===0x0&&_0x45c67d[_0x6e5263(0x185)]===0x0)return;const _0x24394e=[],_0x21f3e5=[];let _0x275b57=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]);for(let _0x23d350=_0x336a78['length']-0x1;_0x23d350>=0x0;_0x23d350--){const _0xa674ae={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350]['undoState']}},_0x1e8f03={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350][_0x6e5263(0x27d)]}},_0x5a125f=this['_transformService'][_0x6e5263(0x381)](_0x275b57,_0xa674ae,!0x1),_0x2c9d96=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x1e8f03,!0x1);if(_0x346166['isTransformMutationFailure'](_0x5a125f))throw _0x5a125f['error'];if(_0x346166[_0x6e5263(0x23f)](_0x2c9d96))throw _0x2c9d96[_0x6e5263(0x3c2)];_0x24394e[_0x6e5263(0x308)]({..._0x336a78[_0x23d350],'undoState':_0x5a125f[_0x6e5263(0x37a)]['params'],'redoState':_0x2c9d96[_0x6e5263(0x37a)]['params']}),_0x275b57=_0x5a125f['m1Prime'],_0x4816af=_0x2c9d96[_0x6e5263(0x2a0)];}_0x275b57=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]);for(let _0x4de716=_0x45c67d[_0x6e5263(0x185)]-0x1;_0x4de716>=0x0;_0x4de716--){const _0x3359d4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x3bb)]}},_0x4b65c3={'id':_0x6e5263(0x17f),'params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x27d)]}},_0x38f113=this[_0x6e5263(0x3f8)]['transformMutation'](_0x275b57,_0x3359d4,!0x1),_0x3f48d9=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x4b65c3,!0x1);if(_0x346166[_0x6e5263(0x23f)](_0x38f113))throw _0x38f113[_0x6e5263(0x3c2)];if(_0x346166[_0x6e5263(0x23f)](_0x3f48d9))throw _0x3f48d9[_0x6e5263(0x3c2)];_0x21f3e5[_0x6e5263(0x308)]({..._0x45c67d[_0x4de716],'undoState':_0x38f113[_0x6e5263(0x37a)][_0x6e5263(0x448)],'redoState':_0x3f48d9[_0x6e5263(0x37a)][_0x6e5263(0x448)]}),_0x275b57=_0x38f113[_0x6e5263(0x2a0)],_0x4816af=_0x3f48d9[_0x6e5263(0x2a0)];}this['_docStateChangeManagerService']['setStateCache'](_0x55f200,{'history':_0x24394e,'collaboration':_0x21f3e5});}};_0x31cb58=_0x2b8e98([_0x2bcee9(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf['Injector'])),_0x2bcee9(0x1,_0x346166[_0x37f8b3(0x3f5)]),_0x2bcee9(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)]))],_0x31cb58);var _0x37a7b9=Object[_0x37f8b3(0x272)],_0x779f27=(_0x44d512,_0x4bfed0,_0xb370a3,_0x36b691)=>{const _0x105c3b=_0x37f8b3;for(var _0x4c9d67=_0x36b691>0x1?void 0x0:_0x36b691?_0x37a7b9(_0x4bfed0,_0xb370a3):_0x4bfed0,_0x5b8d3a=_0x44d512[_0x105c3b(0x185)]-0x1,_0x56fb6a;_0x5b8d3a>=0x0;_0x5b8d3a--)(_0x56fb6a=_0x44d512[_0x5b8d3a])&&(_0x4c9d67=_0x56fb6a(_0x4c9d67)||_0x4c9d67);return _0x4c9d67;},_0x51a319=(_0x4c8d28,_0x39a5c0)=>(_0x4cafb0,_0x1bb76c)=>_0x39a5c0(_0x4cafb0,_0x1bb76c,_0x4c8d28);let _0x2f17a2=class{constructor(_0x4afb30,_0x105cc9){const _0x5c5ea7=_0x37f8b3;this[_0x5c5ea7(0x1af)]=_0x4afb30,this[_0x5c5ea7(0x3f8)]=_0x105cc9;}[_0x37f8b3(0x3f2)](_0x4663bd){const _0x590330=_0x37f8b3;var _0x53a80c;const _0x38a649=this[_0x590330(0x1af)][_0x590330(0x42f)](_0xfb3c5a[_0x590330(0x27b)]),_0xd27db8=(_0x53a80c=_0x38a649[_0x590330(0x3e9)]())!=null?_0x53a80c:[];if(_0xd27db8[_0x590330(0x185)]===0x0)return;const _0xae52d7=_0x4663bd['unitID'],_0x559341=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xae52d7,'actions':null,'textRanges':_0xd27db8}}],_0x2efca4=this[_0x590330(0x3f8)][_0x590330(0x3d9)](_0x4663bd,_0x559341);if(!_0x346166['isTransformMutationsWithChangesetSuccess'](_0x2efca4))throw _0x2efca4[_0x590330(0x3c2)];const _0x194a72=_0x2efca4['m2Prime'][0x0][_0x590330(0x448)][_0x590330(0x1da)];Array[_0x590330(0x1fc)](_0x194a72)&&_0x194a72['length']&&_0x38a649[_0x590330(0x201)](_0x194a72,{'unitId':_0xae52d7,'subUnitId':_0xae52d7},!0x1);}};_0x2f17a2=_0x779f27([_0x51a319(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x51a319(0x1,_0x346166['ITransformService'])],_0x2f17a2);var _0x571734=Object['getOwnPropertyDescriptor'],_0x3278b5=(_0x21021d,_0x16c36c,_0x336e38,_0x55986d)=>{const _0x568ef8=_0x37f8b3;for(var _0x373565=_0x55986d>0x1?void 0x0:_0x55986d?_0x571734(_0x16c36c,_0x336e38):_0x16c36c,_0x50823b=_0x21021d[_0x568ef8(0x185)]-0x1,_0x4b8b36;_0x50823b>=0x0;_0x50823b--)(_0x4b8b36=_0x21021d[_0x50823b])&&(_0x373565=_0x4b8b36(_0x373565)||_0x373565);return _0x373565;},_0x23c927=(_0x599428,_0x1131b1)=>(_0x40f659,_0x3e8c84)=>_0x1131b1(_0x40f659,_0x3e8c84,_0x599428);let _0x395fbb=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x22a4a8,_0x3033c3,_0xb6fc0c,_0x273119,_0x5837f2,_0x20f07f,_0x5cc872,_0x1c25a7){const _0x502234=_0x37f8b3;super(),_0xd7033e(this,_0x502234(0x2ef),new _0x28bd90[(_0x502234(0x246))](_0x5c1af6['CollaborationStatus']['NOT_COLLAB'])),(this[_0x502234(0x386)]=_0x22a4a8,this[_0x502234(0x220)]=_0x3033c3,this['_docTransformIMECacheService']=_0xb6fc0c,this[_0x502234(0x1f5)]=_0x273119,this[_0x502234(0x2ad)]=_0x5837f2,this['_docSyncEditingCollabCursorService']=_0x20f07f,this[_0x502234(0x218)]=_0x5cc872,this[_0x502234(0x1bd)]=_0x1c25a7,this[_0x502234(0x2c2)]());}[_0x37f8b3(0x2c2)](){const _0x49d4e3=_0x37f8b3;this['disposeWithMe'](this[_0x49d4e3(0x220)][_0x49d4e3(0x3be)][_0x49d4e3(0x1c1)](_0x47e8c1=>{const _0x1d4dc3=_0x49d4e3,_0x16466e=this['_docStateChangeManagerService'][_0x1d4dc3(0x281)]['subscribe'](_0x392fd5=>{const _0xe37a97=_0x1d4dc3;if(_0x392fd5==null)return;const {unitId:_0x1a0271,redoState:_0x3455c8,commandId:_0xede4ce}=_0x392fd5;if(_0x1a0271!==_0x47e8c1[_0xe37a97(0x231)])return;const _0x454c78={'id':_0xede4ce,'type':_0x4bf0bf[_0xe37a97(0x251)][_0xe37a97(0x40f)],'params':{'unitId':_0x1a0271,'actions':_0x3455c8[_0xe37a97(0x1c4)],'textRanges':null}};_0x47e8c1[_0xe37a97(0x354)](_0x454c78);});if(_0x47e8c1[_0x1d4dc3(0x215)](_0x16466e),_0x47e8c1 instanceof _0x5c1af6[_0x1d4dc3(0x305)]){const _0x9e9692={'onTransformIME':_0x5400aa=>this[_0x1d4dc3(0x2cb)][_0x1d4dc3(0x3f4)](_0x5400aa),'onTransformState':_0x2086bd=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x317)](_0x2086bd),'onTransformSelections':_0x46d0cd=>this[_0x1d4dc3(0x2ad)][_0x1d4dc3(0x3f2)](_0x46d0cd),'onSyncEditingCollabCursor':_0x19217f=>this[_0x1d4dc3(0x3e3)]['syncEditingCollabCursor'](_0x19217f),'onTransformRemoteChangesetByIMECache':_0x119ecb=>this['_docTransformIMECacheService'][_0x1d4dc3(0x311)](_0x119ecb),'onTransformRemoteChangesetByStateCache':_0x24634d=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x311)](_0x24634d)};_0x47e8c1[_0x1d4dc3(0x1fd)](_0x9e9692);}}));}};_0x395fbb=_0x3278b5([_0x23c927(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)])),_0x23c927(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x26a)])),_0x23c927(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x1f3baa)),_0x23c927(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x31cb58)),_0x23c927(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x2f17a2)),_0x23c927(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x23c927(0x6,_0x19759c[_0x37f8b3(0x3e6)]),_0x23c927(0x7,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x395fbb);var _0x2b80f3=(_0x5adf13=>(_0x5adf13[_0x5adf13['UNDEFINED']=0x0]='UNDEFINED',_0x5adf13[_0x5adf13['OK']=0x1]='OK',_0x5adf13[_0x5adf13[_0x37f8b3(0x38d)]=0x2]=_0x37f8b3(0x38d),_0x5adf13[_0x5adf13[_0x37f8b3(0x234)]=0x3]=_0x37f8b3(0x234),_0x5adf13[_0x5adf13['NOT_FOUND']=0x4]=_0x37f8b3(0x1de),_0x5adf13[_0x5adf13[_0x37f8b3(0x313)]=0x5]=_0x37f8b3(0x313),_0x5adf13[_0x5adf13[_0x37f8b3(0x34b)]=0x6]='ALREADY_EXISTS',_0x5adf13[_0x5adf13['INVALID_ARGUMENT']=0x7]=_0x37f8b3(0x2d5),_0x5adf13[_0x5adf13[_0x37f8b3(0x3b1)]=0x8]=_0x37f8b3(0x3b1),_0x5adf13[_0x5adf13['COMPLETION_FINISHED']=0x9]=_0x37f8b3(0x1c9),_0x5adf13[_0x5adf13[_0x37f8b3(0x303)]=0xa]=_0x37f8b3(0x303),_0x5adf13[_0x5adf13[_0x37f8b3(0x202)]=0xb]=_0x37f8b3(0x202),_0x5adf13[_0x5adf13[_0x37f8b3(0x297)]=0xc]=_0x37f8b3(0x297),_0x5adf13[_0x5adf13[_0x37f8b3(0x183)]=0xd]=_0x37f8b3(0x183),_0x5adf13[_0x5adf13[_0x37f8b3(0x22e)]=0xe]=_0x37f8b3(0x22e),_0x5adf13[_0x5adf13[_0x37f8b3(0x380)]=0xf]=_0x37f8b3(0x380),_0x5adf13[_0x5adf13[_0x37f8b3(0x1dd)]=0x10]=_0x37f8b3(0x1dd),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f9)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5adf13[_0x5adf13[_0x37f8b3(0x405)]=0x65]='ERROR_AGAIN',_0x5adf13[_0x5adf13[_0x37f8b3(0x2f9)]=0xc9]='USER_NOT_FOUND',_0x5adf13[_0x5adf13[_0x37f8b3(0x35e)]=0xca]=_0x37f8b3(0x35e),_0x5adf13[_0x5adf13[_0x37f8b3(0x1bb)]=0x1389]=_0x37f8b3(0x1bb),_0x5adf13[_0x5adf13[_0x37f8b3(0x379)]=0x1771]=_0x37f8b3(0x379),_0x5adf13[_0x5adf13['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x37f8b3(0x341),_0x5adf13[_0x5adf13[_0x37f8b3(0x368)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5adf13[_0x5adf13['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5adf13[_0x5adf13['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x37f8b3(0x2e8),_0x5adf13[_0x5adf13[_0x37f8b3(0x229)]=0x1b5b]=_0x37f8b3(0x229),_0x5adf13[_0x5adf13[_0x37f8b3(0x26d)]=0x1b5c]=_0x37f8b3(0x26d),_0x5adf13[_0x5adf13[_0x37f8b3(0x255)]=0x1b5d]=_0x37f8b3(0x255),_0x5adf13[_0x5adf13[_0x37f8b3(0x217)]=0x1f41]=_0x37f8b3(0x217),_0x5adf13[_0x5adf13[_0x37f8b3(0x35c)]=0x2329]=_0x37f8b3(0x35c),_0x5adf13[_0x5adf13[_0x37f8b3(0x390)]=0x232a]=_0x37f8b3(0x390),_0x5adf13[_0x5adf13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x37f8b3(0x40b),_0x5adf13[_0x5adf13[_0x37f8b3(0x40a)]=0x232c]=_0x37f8b3(0x40a),_0x5adf13[_0x5adf13[_0x37f8b3(0x2c7)]=0x232d]=_0x37f8b3(0x2c7),_0x5adf13[_0x5adf13[_0x37f8b3(0x433)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5adf13[_0x5adf13[_0x37f8b3(0x223)]=0x2712]=_0x37f8b3(0x223),_0x5adf13[_0x5adf13[_0x37f8b3(0x355)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x437)]=0x2714]=_0x37f8b3(0x437),_0x5adf13[_0x5adf13[_0x37f8b3(0x356)]=0x271a]=_0x37f8b3(0x356),_0x5adf13[_0x5adf13[_0x37f8b3(0x438)]=0x271b]=_0x37f8b3(0x438),_0x5adf13[_0x5adf13['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x1ef)]=0x271d]=_0x37f8b3(0x1ef),_0x5adf13[_0x5adf13[_0x37f8b3(0x3ec)]=0x271e]=_0x37f8b3(0x3ec),_0x5adf13[_0x5adf13[_0x37f8b3(0x408)]=0x271f]=_0x37f8b3(0x408),_0x5adf13[_0x5adf13[_0x37f8b3(0x2b6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5adf13[_0x5adf13['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x37f8b3(0x326),_0x5adf13[_0x5adf13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5adf13[_0x5adf13[_0x37f8b3(0x19a)]=0x2ee2]=_0x37f8b3(0x19a),_0x5adf13[_0x5adf13[_0x37f8b3(0x288)]=0x2ee3]=_0x37f8b3(0x288),_0x5adf13[_0x5adf13[_0x37f8b3(0x195)]=0x2ee4]=_0x37f8b3(0x195),_0x5adf13[_0x5adf13['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37f8b3(0x33e),_0x5adf13[_0x5adf13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x37f8b3(0x3cf),_0x5adf13[_0x5adf13[_0x37f8b3(0x1a1)]=0x32ca]=_0x37f8b3(0x1a1),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f7)]=0x32cb]=_0x37f8b3(0x1f7),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b4)]=0x36b1]=_0x37f8b3(0x1b4),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b0)]=0x36b2]=_0x37f8b3(0x1b0),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f4)]=0x36b3]=_0x37f8b3(0x1f4),_0x5adf13[_0x5adf13[_0x37f8b3(0x2fa)]=0x36b4]=_0x37f8b3(0x2fa),_0x5adf13[_0x5adf13['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x37f8b3(0x3c6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f0)]=0x3716]=_0x37f8b3(0x1f0),_0x5adf13[_0x5adf13[_0x37f8b3(0x266)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5adf13[_0x5adf13[_0x37f8b3(0x29d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5adf13[_0x5adf13[_0x37f8b3(0x3c4)]=0x3a9a]=_0x37f8b3(0x3c4),_0x5adf13[_0x5adf13[_0x37f8b3(0x43d)]=0x3a9b]=_0x37f8b3(0x43d),_0x5adf13[_0x5adf13[_0x37f8b3(0x26e)]=0x3a9c]=_0x37f8b3(0x26e),_0x5adf13[_0x5adf13['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x37f8b3(0x409),_0x5adf13[_0x5adf13[_0x37f8b3(0x3f6)]=0x3a9e]=_0x37f8b3(0x3f6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1fb)]=0x3a9f]=_0x37f8b3(0x1fb),_0x5adf13[_0x5adf13[_0x37f8b3(0x453)]=-0x1]=_0x37f8b3(0x453),_0x5adf13))(_0x2b80f3||{});function _0x454441(_0x5c2aef){const _0x4419c9=_0x37f8b3;var _0xb0fc1e,_0x2db95b;const _0x3234de=(_0xb0fc1e=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0xb0fc1e[_0x4419c9(0x3e2)],_0x300eaa=((_0x2db95b=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0x2db95b[_0x4419c9(0x401)])||0x0;return _0x3234de===_0x1738fe['FormulaExecuteStageType'][_0x4419c9(0x34c)]&&_0x300eaa>0x0;}function _0x54ac59(_0x112fac){const _0xe8e9a6=_0x37f8b3;return _0x112fac[_0xe8e9a6(0x429)]===_0x1738fe[_0xe8e9a6(0x1bf)]['SUCCESS'];}var _0x2fc9bf=Object[_0x37f8b3(0x272)],_0xc4f68=(_0x479100,_0x3cfbf6,_0x255d40,_0x13eb9e)=>{const _0x4ef1f1=_0x37f8b3;for(var _0x179ccb=_0x13eb9e>0x1?void 0x0:_0x13eb9e?_0x2fc9bf(_0x3cfbf6,_0x255d40):_0x3cfbf6,_0x1b6a57=_0x479100[_0x4ef1f1(0x185)]-0x1,_0x50af5b;_0x1b6a57>=0x0;_0x1b6a57--)(_0x50af5b=_0x479100[_0x1b6a57])&&(_0x179ccb=_0x50af5b(_0x179ccb)||_0x179ccb);return _0x179ccb;},_0x42541b=(_0x209681,_0x328231)=>(_0x3f29c1,_0x68831d)=>_0x328231(_0x3f29c1,_0x68831d,_0x209681);const _0xf91d21=_0x37f8b3(0x283),_0x2f7634=_0x37f8b3(0x374),_0x4c26da='/universer-api/license/formula/limit/done';let _0x35ec8b=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x9c3e1b,_0xa93415,_0x1064be,_0x30888a,_0x2a4868,_0x4a3999,_0x1393a6){const _0x1f0e44=_0x37f8b3;super(),_0xd7033e(this,_0x1f0e44(0x3f1),null),_0xd7033e(this,_0x1f0e44(0x1cb),0x0),_0xd7033e(this,_0x1f0e44(0x18f),0x0),_0xd7033e(this,_0x1f0e44(0x1ac),[]),_0xd7033e(this,_0x1f0e44(0x2fd),0x0),(this[_0x1f0e44(0x218)]=_0x9c3e1b,this[_0x1f0e44(0x301)]=_0xa93415,this[_0x1f0e44(0x23b)]=_0x1064be,this[_0x1f0e44(0x221)]=_0x30888a,this[_0x1f0e44(0x19b)]=_0x2a4868,this[_0x1f0e44(0x3f0)]=_0x4a3999,this['_localeService']=_0x1393a6,this['_initCommandInterceptor']());}[_0x37f8b3(0x362)](){const _0xfb12b4=_0x37f8b3;this[_0xfb12b4(0x215)](this[_0xfb12b4(0x301)][_0xfb12b4(0x3d1)]((_0x5d86dd,_0x463762)=>{const _0x56dc68=_0xfb12b4;if(_0x5d86dd['id']!==_0x1738fe['SetFormulaCalculationStartMutation']['id'])return;const _0x43bc7c=_0x5d86dd[_0x56dc68(0x448)];if(!this[_0x56dc68(0x446)](_0x43bc7c[_0x56dc68(0x324)]))return;if(!this['_checkCalculationAvailable']())throw this[_0x56dc68(0x2a9)](_0x5d86dd,_0x463762),this[_0x56dc68(0x2e1)](),new _0x4bf0bf[(_0x56dc68(0x1e0))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x43b910,_0x34802c)=>{const _0x4148d4=_0xfb12b4;if(_0x43b910['id']!==_0x1738fe[_0x4148d4(0x1bc)]['id'])return;const _0x2b33e9=_0x43b910['params'];if(_0x454441(_0x2b33e9)){const _0x10cd4c=_0x4bf0bf['generateRandomId']();this[_0x4148d4(0x1ac)]['push'](_0x10cd4c),this['_startCalculationLimit'](_0x10cd4c);}else{if(_0x54ac59(_0x2b33e9)&&this[_0x4148d4(0x1ac)][_0x4148d4(0x185)]>0x0){const _0x36859e=this['_taskIds'][_0x4148d4(0x280)]();this['_releaseCalculationLimit'](_0x36859e);}}}));}['dispose'](){const _0x569d9e=_0x37f8b3;super[_0x569d9e(0x248)](),this[_0x569d9e(0x210)](),this[_0x569d9e(0x1ac)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x569d9e(0x2fd)]=0x0;}async[_0x37f8b3(0x2a9)](_0x45f064,_0x2a2df1){const _0x158c29=_0x37f8b3;for(let _0x46e53a=0x0;_0x46e53a<0x1e;_0x46e53a++)try{if(await this[_0x158c29(0x214)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x45f064,_0x2a2df1),this[_0x158c29(0x218)][_0x158c29(0x358)]({'content':this[_0x158c29(0x1bd)]['t'](_0x158c29(0x292)),'type':_0x22cb21[_0x158c29(0x3aa)][_0x158c29(0x179)]});return;}await new Promise(_0xee13fc=>{const _0x5992d0=_0x158c29;this['_pollingInterval']=window[_0x5992d0(0x426)](_0xee13fc,0x3e8);});}catch(_0x2c46a3){this[_0x158c29(0x3f0)][_0x158c29(0x3c2)](_0x2c46a3);}this['_messageService'][_0x158c29(0x358)]({'content':this['_localeService']['t'](_0x158c29(0x23d)),'type':_0x22cb21['MessageType'][_0x158c29(0x26f)]});}[_0x37f8b3(0x245)](_0x42d7e4,_0x1b21fa){const _0x48987e=_0x37f8b3;try{this[_0x48987e(0x301)][_0x48987e(0x3ac)](_0x42d7e4['id'],_0x42d7e4[_0x48987e(0x448)],_0x1b21fa);}catch(_0x2c515b){this['_logService'][_0x48987e(0x3c2)](_0x2c515b);}}[_0x37f8b3(0x35f)](_0xdb5679,_0x19712b){const _0x2d8f38=_0x37f8b3;_0x19712b<this[_0x2d8f38(0x2fd)]||(this[_0x2d8f38(0x2fd)]=_0x19712b,this[_0x2d8f38(0x1cb)]=Number['parseInt'](_0xdb5679['maxFormulaLimit']),this[_0x2d8f38(0x18f)]=Number[_0x2d8f38(0x359)](_0xdb5679[_0x2d8f38(0x20e)]));}async[_0x37f8b3(0x18d)](_0x2fa090){const _0xc3e0af=_0x37f8b3;var _0x1df604,_0x4a659f;const _0x54a05b=Date[_0xc3e0af(0x2eb)]();try{const _0x3e976b=((_0x1df604=this[_0xc3e0af(0x23b)][_0xc3e0af(0x18a)](_0x5c1af6[_0xc3e0af(0x27a)]))==null?void 0x0:_0x1df604[_0xc3e0af(0x1ec)])||_0x2f7634,_0x30e02c=(await this[_0xc3e0af(0x221)][_0xc3e0af(0x2f8)](_0x3e976b,{'body':JSON[_0xc3e0af(0x444)]({'taskId':_0x2fa090})}))['body'];if(((_0x4a659f=_0x30e02c['error'])==null?void 0x0:_0x4a659f[_0xc3e0af(0x254)])!==_0x2b80f3['OK'])return;this[_0xc3e0af(0x35f)](_0x30e02c[_0xc3e0af(0x204)],_0x54a05b);}catch(_0x51e88b){this[_0xc3e0af(0x3f0)][_0xc3e0af(0x3c2)](_0x51e88b);}}async[_0x37f8b3(0x214)](_0x686bec){const _0xf7d1eb=_0x37f8b3;var _0x5e6d61,_0x8d0a07;const _0x128e57=Date[_0xf7d1eb(0x2eb)]();try{const _0x3722c7=((_0x5e6d61=this[_0xf7d1eb(0x23b)][_0xf7d1eb(0x18a)](_0x5c1af6[_0xf7d1eb(0x27a)]))==null?void 0x0:_0x5e6d61['getformulaLimitStatusUrl'])||_0xf91d21,_0x111a3a=_0x686bec?_0x3722c7+'?taskId='+encodeURIComponent(_0x686bec):_0x3722c7,_0x53ecf1=(await this[_0xf7d1eb(0x221)][_0xf7d1eb(0x42f)](_0x111a3a))[_0xf7d1eb(0x340)];if(((_0x8d0a07=_0x53ecf1[_0xf7d1eb(0x3c2)])==null?void 0x0:_0x8d0a07[_0xf7d1eb(0x254)])!==_0x2b80f3['OK'])return;this[_0xf7d1eb(0x35f)](_0x53ecf1[_0xf7d1eb(0x204)],_0x128e57);}catch(_0x4910c9){this[_0xf7d1eb(0x3f0)][_0xf7d1eb(0x3c2)](_0x4910c9);}}async[_0x37f8b3(0x1cc)](_0x4e53e9){const _0x1aeabf=_0x37f8b3;var _0x23abde,_0x5dd9a7;const _0x13d8b0=Date['now']();try{const _0x5ecbae=((_0x23abde=this[_0x1aeabf(0x23b)][_0x1aeabf(0x18a)](_0x5c1af6[_0x1aeabf(0x27a)]))==null?void 0x0:_0x23abde[_0x1aeabf(0x31e)])||_0x4c26da,_0x3f3888=(await this[_0x1aeabf(0x221)][_0x1aeabf(0x2f8)](_0x5ecbae,{'body':JSON['stringify']({'taskId':_0x4e53e9})}))[_0x1aeabf(0x340)];if(((_0x5dd9a7=_0x3f3888[_0x1aeabf(0x3c2)])==null?void 0x0:_0x5dd9a7['code'])!==_0x2b80f3['OK'])return;this[_0x1aeabf(0x35f)](_0x3f3888[_0x1aeabf(0x204)],_0x13d8b0);}catch(_0x1fded7){this['_logService'][_0x1aeabf(0x3c2)](_0x1fded7);}}[_0x37f8b3(0x3d6)](){const _0x14aeec=_0x37f8b3;return this[_0x14aeec(0x1cb)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x14aeec(0x18f)]>0x0;}[_0x37f8b3(0x210)](){const _0x2a3999=_0x37f8b3;this[_0x2a3999(0x3f1)]&&(clearTimeout(this[_0x2a3999(0x3f1)]),this[_0x2a3999(0x3f1)]=null);}[_0x37f8b3(0x2e1)](){const _0x2c342d=_0x37f8b3;this['_messageService']['show']({'content':this[_0x2c342d(0x1bd)]['t']('formula.calculation.waiting'),'type':_0x22cb21[_0x2c342d(0x3aa)][_0x2c342d(0x19f)]});}[_0x37f8b3(0x446)](_0xb4cad2){const _0x161bfe=_0x37f8b3;for(const _0x53fb6b of _0xb4cad2){const {unitId:_0xa080c,sheetId:_0x13106d,range:_0x2c67fa}=_0x53fb6b,_0x391989=this['_univerInstanceService'][_0x161bfe(0x42a)](_0xa080c);if(!_0x391989)continue;const _0x556e12=_0x391989[_0x161bfe(0x445)](_0x13106d);if(!_0x556e12)continue;const _0x2fee1a=_0x556e12[_0x161bfe(0x2c0)]();for(let _0x31a4e0=_0x2c67fa[_0x161bfe(0x39f)];_0x31a4e0<=_0x2c67fa[_0x161bfe(0x1a7)];_0x31a4e0++)for(let _0x5a7de7=_0x2c67fa[_0x161bfe(0x270)];_0x5a7de7<=_0x2c67fa['endColumn'];_0x5a7de7++){const _0x12d4e6=_0x2fee1a['getValue'](_0x31a4e0,_0x5a7de7);if(_0x12d4e6&&(_0x4bf0bf['isFormulaString'](_0x12d4e6['f'])||_0x4bf0bf[_0x161bfe(0x259)](_0x12d4e6['si'])))return!0x0;}}return!0x1;}};_0x35ec8b=_0xc4f68([_0x42541b(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x19759c[_0x37f8b3(0x3e6)])),_0x42541b(0x1,_0x4bf0bf['ICommandService']),_0x42541b(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x42541b(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x133421[_0x37f8b3(0x2e9)])),_0x42541b(0x4,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x42541b(0x5,_0x4bf0bf['ILogService']),_0x42541b(0x6,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x35ec8b);var _0x203ddc=Object['getOwnPropertyDescriptor'],_0x47f8d4=(_0x1b93b8,_0x249db1,_0x2c8a48,_0x1cdc18)=>{const _0x4508ac=_0x37f8b3;for(var _0x3edc77=_0x1cdc18>0x1?void 0x0:_0x1cdc18?_0x203ddc(_0x249db1,_0x2c8a48):_0x249db1,_0x5af81e=_0x1b93b8[_0x4508ac(0x185)]-0x1,_0x93b186;_0x5af81e>=0x0;_0x5af81e--)(_0x93b186=_0x1b93b8[_0x5af81e])&&(_0x3edc77=_0x93b186(_0x3edc77)||_0x3edc77);return _0x3edc77;},_0x5d968c=(_0x1fd79f,_0x155288)=>(_0xd3e245,_0x1e0fd5)=>_0x155288(_0xd3e245,_0x1e0fd5,_0x1fd79f);let _0x4aee84=class extends _0x4bf0bf['Disposable']{constructor(_0x701398,_0x408930,_0x59e9ab){const _0x4fe6bd=_0x37f8b3;super(),_0xd7033e(this,_0x4fe6bd(0x363),new Map()),_0xd7033e(this,'_saveTaskMap',new Map()),_0xd7033e(this,_0x4fe6bd(0x1d9),!0x1),(this[_0x4fe6bd(0x23b)]=_0x701398,this[_0x4fe6bd(0x3a1)]=_0x408930,this['_revisionService']=_0x59e9ab);}[_0x37f8b3(0x38e)](){const _0xb34adb=_0x37f8b3;this[_0xb34adb(0x1d9)]=!0x0;}[_0x37f8b3(0x1b2)](){const _0x17832c=_0x37f8b3;this[_0x17832c(0x1d9)]=!0x1;}get[_0x37f8b3(0x25c)](){const _0x228311=_0x37f8b3;return this[_0x228311(0x3bf)];}[_0x37f8b3(0x248)](){const _0x43b2d4=_0x37f8b3;this[_0x43b2d4(0x1e1)]()[_0x43b2d4(0x285)](()=>super[_0x43b2d4(0x248)]());}async['loadOfflineData'](_0x4fb4e3){const _0x54ede8=_0x37f8b3;return this[_0x54ede8(0x1d9)]?null:this[_0x54ede8(0x3a1)][_0x54ede8(0x235)](_0x5c1af6[_0x54ede8(0x29b)](_0x4fb4e3));}async['saveOfflineData'](_0x2e445c,_0x87919f){const _0x4fdddb=_0x37f8b3;return!!this[_0x4fdddb(0x3a1)][_0x4fdddb(0x176)](_0x2e445c,_0x87919f);}[_0x37f8b3(0x2b4)](_0x93a3c4,_0x1ea975,_0x29200d,_0x202260){const _0x506a6b=_0x37f8b3,_0x520949=this[_0x506a6b(0x39a)][_0x506a6b(0x2bb)](_0x93a3c4);this[_0x506a6b(0x363)]['set'](_0x93a3c4,{'unitID':_0x93a3c4,'type':_0x1ea975,'awaitingChangeset':_0x29200d,'mutations':_0x202260,'rev':_0x520949}),this[_0x506a6b(0x3bf)][_0x506a6b(0x33b)](_0x93a3c4)||this[_0x506a6b(0x238)](_0x93a3c4);}[_0x37f8b3(0x238)](_0x4017d9){const _0x568c70=_0x37f8b3,_0x416f3f=this['_getSaveTimeout']();_0x416f3f===0x0?this['_saveCache'](_0x4017d9):this[_0x568c70(0x3bf)][_0x568c70(0x3a5)](_0x4017d9,setTimeout(()=>this[_0x568c70(0x403)](_0x4017d9),_0x416f3f));}['_getSaveTimeout'](){const _0x131c93=_0x37f8b3;var _0x452dcb;return(_0x452dcb=this['_configService'][_0x131c93(0x18a)](_0x5c1af6['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x452dcb:_0x5c1af6['LOCAL_CACHE_INTERVAL'];}[_0x37f8b3(0x403)](_0x4d7ec1){const _0x3e8b0a=_0x37f8b3,_0x1ae7b4=this['_saveTaskMap']['get'](_0x4d7ec1);return _0x1ae7b4!==void 0x0&&window[_0x3e8b0a(0x34f)](_0x1ae7b4),this[_0x3e8b0a(0x3a1)][_0x3e8b0a(0x176)](_0x5c1af6[_0x3e8b0a(0x29b)](_0x4d7ec1),this[_0x3e8b0a(0x363)][_0x3e8b0a(0x42f)](_0x4d7ec1))[_0x3e8b0a(0x285)](()=>this[_0x3e8b0a(0x3bf)][_0x3e8b0a(0x26c)](_0x4d7ec1));}async[_0x37f8b3(0x1e1)](){const _0x434d20=_0x37f8b3,_0x352518=[];this[_0x434d20(0x3bf)][_0x434d20(0x3a0)]((_0x284e3a,_0x3d0ff4)=>{const _0x1f2123=_0x434d20;window['clearTimeout'](_0x284e3a),_0x352518[_0x1f2123(0x20c)](this[_0x1f2123(0x403)](_0x3d0ff4)['then'](()=>{const _0x1bdeec=_0x1f2123;this[_0x1bdeec(0x3bf)]['delete'](_0x3d0ff4);}));}),await Promise['all'](_0x352518);}};_0x4aee84=_0x47f8d4([_0x5d968c(0x0,_0x4bf0bf['IConfigService']),_0x5d968c(0x1,_0x4bf0bf[_0x37f8b3(0x25e)]),_0x5d968c(0x2,_0x4bf0bf['Inject'](_0x346166[_0x37f8b3(0x256)]))],_0x4aee84);class _0x1b2a83 extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x41ec99=_0x37f8b3;super(),_0xd7033e(this,_0x41ec99(0x1c8)),this[_0x41ec99(0x1c8)]=_0x28bd90['fromEvent'](window,_0x41ec99(0x197))[_0x41ec99(0x1d7)](_0x28bd90[_0x41ec99(0x1dc)](this[_0x41ec99(0x30f)]),_0x28bd90[_0x41ec99(0x3e7)](0x1),_0x28bd90[_0x41ec99(0x2fc)](void 0x0));}['setParam'](_0x2ac4c2,_0x507a6d,_0x30e80d=!0x1){const _0x1a8247=_0x37f8b3,_0x8d3103=new URL(window[_0x1a8247(0x2ac)][_0x1a8247(0x171)]);_0x8d3103[_0x1a8247(0x375)][_0x1a8247(0x3a5)](_0x2ac4c2,_0x507a6d),_0x30e80d?window['history']['replaceState']('','',_0x8d3103['toString']()):window[_0x1a8247(0x265)][_0x1a8247(0x2ee)]('','',_0x8d3103[_0x1a8247(0x31d)]());}[_0x37f8b3(0x2f6)](_0x5c7dc4,_0x59da74=!0x1){const _0x76022c=_0x37f8b3,_0x1270df=new URL(window[_0x76022c(0x2ac)][_0x76022c(0x171)]);_0x1270df['searchParams'][_0x76022c(0x26c)](_0x5c7dc4),_0x59da74?window[_0x76022c(0x265)][_0x76022c(0x347)]('','',_0x1270df['toString']()):window['history'][_0x76022c(0x2ee)]('','',_0x1270df['toString']());}[_0x37f8b3(0x1eb)](_0x5bef54){const _0x5ebeb8=_0x37f8b3;var _0x134887;return(_0x134887=new URL(window[_0x5ebeb8(0x2ac)][_0x5ebeb8(0x171)])['searchParams'][_0x5ebeb8(0x42f)](_0x5bef54))!=null?_0x134887:void 0x0;}}var _0x2c9336=Object[_0x37f8b3(0x41c)],_0x18eeee=Object[_0x37f8b3(0x272)],_0x1ec278=(_0x38cdf5,_0x1089f2,_0x167c16)=>_0x1089f2 in _0x38cdf5?_0x2c9336(_0x38cdf5,_0x1089f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167c16}):_0x38cdf5[_0x1089f2]=_0x167c16,_0x2c2766=(_0x4bfc74,_0x2e8f2b,_0x67095f,_0xbf34c0)=>{const _0x1cf452=_0x37f8b3;for(var _0x5d6e04=_0xbf34c0>0x1?void 0x0:_0xbf34c0?_0x18eeee(_0x2e8f2b,_0x67095f):_0x2e8f2b,_0x4565bc=_0x4bfc74[_0x1cf452(0x185)]-0x1,_0x573426;_0x4565bc>=0x0;_0x4565bc--)(_0x573426=_0x4bfc74[_0x4565bc])&&(_0x5d6e04=_0x573426(_0x5d6e04)||_0x5d6e04);return _0x5d6e04;},_0x208765=(_0x25e42a,_0x4ebcba)=>(_0xe56246,_0x3a4bcf)=>_0x4ebcba(_0xe56246,_0x3a4bcf,_0x25e42a),_0xd26d74=(_0xc10d98,_0x51f8fa,_0x5b1616)=>_0x1ec278(_0xc10d98,_0x51f8fa+'',_0x5b1616);const _0x22bd70='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4f0727[_0x37f8b3(0x18b)]=class extends _0x4bf0bf[_0x37f8b3(0x1e6)]{constructor(_0x15127d=_0x73c99c,_0x1f32f9,_0x265b32,_0x1d074c){const _0x2874d5=_0x37f8b3;super(),this['_config']=_0x15127d,this[_0x2874d5(0x269)]=_0x1f32f9,this[_0x2874d5(0x1af)]=_0x265b32,this[_0x2874d5(0x23b)]=_0x1d074c;const {..._0x2b57a4}=_0x4bf0bf[_0x2874d5(0x315)]({},_0x73c99c,this[_0x2874d5(0x1f1)]);this[_0x2874d5(0x23b)][_0x2874d5(0x31b)](_0x3f984c,_0x2b57a4);}['onStarting'](){const _0x514bd9=_0x37f8b3;this[_0x514bd9(0x1a2)](),this[_0x514bd9(0x44e)]();}['onRendered'](){const _0xbe489d=_0x37f8b3;this[_0xbe489d(0x33a)]();}['_registerDependencies'](){const _0x2cfa12=_0x37f8b3;var _0x5687b7;const _0x4da338=[[_0x21c84d],[_0x35ec8b],[_0x2f17a2],[_0x1f3baa],[_0x31cb58],[_0x39b00c],[_0x30f389,{'useClass':_0x1b2a83}],[_0x133421[_0x2cfa12(0x1ca)],{'useClass':_0x133421[_0x2cfa12(0x27c)]}],[_0x5c1af6[_0x2cfa12(0x1a8)],{'useClass':_0x4aee84}],[_0x4f0727[_0x2cfa12(0x30b)]],[_0x395fbb],[_0x166680],[_0x576e16],[_0x3fb39a],[_0x4f0727[_0x2cfa12(0x286)]]];_0x4bf0bf['registerDependencies'](this[_0x2cfa12(0x1af)],_0x4bf0bf[_0x2cfa12(0x43a)](_0x4da338,(_0x5687b7=this[_0x2cfa12(0x1f1)])==null?void 0x0:_0x5687b7[_0x2cfa12(0x23c)]));}[_0x37f8b3(0x33a)](){const _0x42c840=_0x37f8b3;this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x196)],[_0x1a0a7a])),this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x3cb)],[_0x24c84f]));}['_initDependencies'](){const _0x485e95=_0x37f8b3;_0x4bf0bf[_0x485e95(0x418)](this['_injector'],[[_0x576e16],[_0x4f0727[_0x485e95(0x30b)]],[_0x395fbb],[_0x166680],[_0x4f0727[_0x485e95(0x286)]],[_0x35ec8b]]);}},_0xd26d74(_0x4f0727[_0x37f8b3(0x18b)],_0x37f8b3(0x1a3),_0x22bd70),_0x4f0727['UniverCollaborationClientUIPlugin']=_0x2c2766([_0x4bf0bf[_0x37f8b3(0x3ab)](_0x5c1af6[_0x37f8b3(0x345)]),_0x208765(0x1,_0x1a5c20['IRenderManagerService']),_0x208765(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x208765(0x3,_0x4bf0bf['IConfigService'])],_0x4f0727[_0x37f8b3(0x18b)]);var _0xb7158a=Object[_0x37f8b3(0x272)],_0x5acbb0=(_0x485d30,_0x2b8f53,_0x3662d2,_0x2b4044)=>{const _0x2e6226=_0x37f8b3;for(var _0x165953=_0x2b4044>0x1?void 0x0:_0x2b4044?_0xb7158a(_0x2b8f53,_0x3662d2):_0x2b8f53,_0x72bf66=_0x485d30[_0x2e6226(0x185)]-0x1,_0x2bce8f;_0x72bf66>=0x0;_0x72bf66--)(_0x2bce8f=_0x485d30[_0x72bf66])&&(_0x165953=_0x2bce8f(_0x165953)||_0x165953);return _0x165953;},_0x586978=(_0x171c64,_0x4ecf76)=>(_0x59d52a,_0x263172)=>_0x4ecf76(_0x59d52a,_0x263172,_0x171c64);_0x4f0727['BrowserCollaborationSocketService']=class extends _0x5c1af6['CollaborationSocketService']{constructor(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136){super(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136);}async['createSocket'](_0x1ca903){const _0x275d0b=_0x37f8b3,_0x12b78f=await this[_0x275d0b(0x32a)](),_0x56f64c=this['_createSocketURL'](_0x1ca903,_0x12b78f);return this[_0x275d0b(0x343)](_0x56f64c);}[_0x37f8b3(0x1d4)](_0xaf9320,_0x1627e1){const _0x5e8991=_0x37f8b3,_0x3fa9d0=typeof window>'u'?new URL(_0xaf9320):new URL(_0xaf9320,window['location'][_0x5e8991(0x2b3)]);_0x3fa9d0['searchParams']['set'](_0x5e8991(0x2a7),_0x1627e1);const _0x51c268=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e8991(0x2ac)][_0x5e8991(0x2a4)]);return _0x51c268[_0x5e8991(0x42f)](_0x5e8991(0x3e1))&&_0x3fa9d0[_0x5e8991(0x375)]['set']('runId',_0x51c268['get'](_0x5e8991(0x3e1))),_0x3fa9d0['toString']();}async['_getSessionTicket'](){const _0x448b7e=_0x37f8b3;var _0x30adaf,_0x46d2f9,_0x109ef3;const _0x48f887=this[_0x448b7e(0x23b)][_0x448b7e(0x18a)](_0x5c1af6[_0x448b7e(0x27a)]),_0x368a09=(_0x30adaf=_0x48f887==null?void 0x0:_0x48f887[_0x448b7e(0x25b)])!=null?_0x30adaf:_0x5c1af6[_0x448b7e(0x2ed)];return(_0x109ef3=(_0x46d2f9=(await this[_0x448b7e(0x221)][_0x448b7e(0x42f)](_0x368a09,{'headers':{'Content-Type':_0x448b7e(0x27f)}}))['body'])==null?void 0x0:_0x46d2f9[_0x448b7e(0x316)])!=null?_0x109ef3:'';}},_0x4f0727[_0x37f8b3(0x22c)]=_0x5acbb0([_0x586978(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x586978(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x586978(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x586978(0x3,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x586978(0x4,_0x346166['ISnapshotServerService'])],_0x4f0727[_0x37f8b3(0x22c)]);var _0x3ea93b=Object[_0x37f8b3(0x272)],_0x13ef68=(_0x1d8ca1,_0x38de2b,_0x4f5fde,_0x49d503)=>{const _0x31a15d=_0x37f8b3;for(var _0x28aa70=_0x49d503>0x1?void 0x0:_0x49d503?_0x3ea93b(_0x38de2b,_0x4f5fde):_0x38de2b,_0x5f947b=_0x1d8ca1[_0x31a15d(0x185)]-0x1,_0x187b30;_0x5f947b>=0x0;_0x5f947b--)(_0x187b30=_0x1d8ca1[_0x5f947b])&&(_0x28aa70=_0x187b30(_0x28aa70)||_0x28aa70);return _0x28aa70;},_0x2d3f6d=(_0x1996ae,_0x3aa568)=>(_0x57643f,_0x2347ad)=>_0x3aa568(_0x57643f,_0x2347ad,_0x1996ae);_0x4f0727[_0x37f8b3(0x2aa)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x410386,_0x559890,_0x465be6){const _0xf2d095=_0x37f8b3;super(),this[_0xf2d095(0x425)]=_0x410386,this[_0xf2d095(0x221)]=_0x559890,this[_0xf2d095(0x23b)]=_0x465be6;}async[_0x37f8b3(0x40e)](_0x876036,_0xea2c5b,_0x243b82,..._0x31061d){const _0x3c7b1b=_0x37f8b3;var _0x4439a6,_0x53f814,_0x1dc609,_0x1576e6;const _0x59b0bf=this['_instanceService'][_0x3c7b1b(0x2bc)]();if(!_0x59b0bf)throw new Error(_0x3c7b1b(0x2d3));const _0x57daf4=((_0x4439a6=this[_0x3c7b1b(0x23b)][_0x3c7b1b(0x18a)](_0x5c1af6[_0x3c7b1b(0x3cc)]))!=null?_0x4439a6:_0x5c1af6[_0x3c7b1b(0x1ce)])+'/'+_0x876036+'/run/'+_0xea2c5b,_0x96de62=new URL(window[_0x3c7b1b(0x2ac)][_0x3c7b1b(0x171)]),_0x1a11c9={'scriptId':_0x876036,'runId':(_0x53f814=_0x96de62[_0x3c7b1b(0x375)][_0x3c7b1b(0x42f)](_0x3c7b1b(0x3e1)))!=null?_0x53f814:'','function':_0xea2c5b,'unitId':_0x59b0bf[_0x3c7b1b(0x3dd)](),'argsOfFunction':JSON[_0x3c7b1b(0x444)](_0x31061d),'invokeId':(_0x1dc609=_0x243b82[_0x3c7b1b(0x1ee)])!=null?_0x1dc609:'','executionId':(_0x1576e6=_0x243b82[_0x3c7b1b(0x213)])!=null?_0x1576e6:''};try{const _0xcca30=await this[_0x3c7b1b(0x221)][_0x3c7b1b(0x2f8)](_0x57daf4,{'body':_0x1a11c9});return _0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x3c2)]&&_0xcca30['body']['error'][_0x3c7b1b(0x254)]!==_0x2b80f3['OK']?_0x3c7b1b(0x1b3):_0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x1c3)];}catch{return _0x3c7b1b(0x1b3);}}},_0x4f0727['RemoteUniscriptService']=_0x13ef68([_0x2d3f6d(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x2d3f6d(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x2d3f6d(0x2,_0x4bf0bf[_0x37f8b3(0x43c)])],_0x4f0727['RemoteUniscriptService']);const _0x4410b9=0x7530,_0xea01d1=_0x37f8b3(0x1aa);class _0x139aab extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x3742c9=_0x37f8b3;super(),_0xd7033e(this,_0x3742c9(0x302),_0x4bf0bf[_0x3742c9(0x3b3)]()),_0xd7033e(this,_0x3742c9(0x2dd),new Set()),_0xd7033e(this,'_unitOnClients',new Map()),_0xd7033e(this,'_heartbeatTimer',null),_0xd7033e(this,_0x3742c9(0x413),new Map()),_0xd7033e(this,'_unitStatus',new Map()),this[_0x3742c9(0x3fd)]();}['dispose'](){const _0x18a121=_0x37f8b3;super[_0x18a121(0x248)](),this[_0x18a121(0x413)][_0x18a121(0x3a0)]((_0x108558,_0x56c350)=>this[_0x18a121(0x400)](_0x56c350)),this[_0x18a121(0x333)]&&window[_0x18a121(0x360)](this[_0x18a121(0x333)]);}['getUnitStatus$'](_0x3cb923){const _0x4206bd=_0x37f8b3;return this[_0x4206bd(0x1b6)](_0x3cb923)['pipe'](_0x28bd90['distinctUntilChanged']());}[_0x37f8b3(0x222)](_0x1957d6){const _0x554691=_0x37f8b3;this[_0x554691(0x2dd)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x554691(0x2dd)][_0x554691(0x24c)](_0x1957d6),this[_0x554691(0x211)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1957d6],'isForwarded':!0x1});}[_0x37f8b3(0x3eb)](_0x5e46a5){const _0x1111ac=_0x37f8b3;this[_0x1111ac(0x2dd)][_0x1111ac(0x26c)](_0x5e46a5),this[_0x1111ac(0x2dd)][_0x1111ac(0x2ec)]===0x0&&this[_0x1111ac(0x333)]&&window['clearInterval'](this[_0x1111ac(0x333)]);}[_0x37f8b3(0x3fd)](){const _0x28f032=_0x37f8b3;this[_0x28f032(0x215)](_0x4bf0bf[_0x28f032(0x192)](_0x28bd90[_0x28f032(0x436)](window,_0x28f032(0x382))[_0x28f032(0x1c1)](_0x3c65ef=>{const _0x3b0691=_0x28f032;if(_0x3c65ef[_0x3b0691(0x384)]!==_0xea01d1||!_0x3c65ef[_0x3b0691(0x28c)])return;const _0x1abd2c=JSON[_0x3b0691(0x1df)](_0x3c65ef[_0x3b0691(0x28c)]);this[_0x3b0691(0x18e)](_0x1abd2c);}))),window[_0x28f032(0x2f4)](_0x28f032(0x232),()=>this[_0x28f032(0x211)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x28f032(0x367)](this[_0x28f032(0x2dd)])}));}[_0x37f8b3(0x18e)](_0x3e6192){const _0x1caa38=_0x37f8b3;switch(_0x3e6192['type']){case 0x0:this[_0x1caa38(0x42d)](_0x3e6192);break;case 0x1:this['_handleLeaveEvent'](_0x3e6192);break;case 0x2:this[_0x1caa38(0x1fe)](_0x3e6192);break;}}[_0x37f8b3(0x42d)](_0x48c4be){const _0x298d2f=_0x37f8b3,{unitIDs:_0x29b789,memberID:_0x1d55c4,isForwarded:_0x5c608a}=_0x48c4be;_0x29b789[_0x298d2f(0x3a0)](_0x2bc2b6=>{const _0x4db74a=_0x298d2f;if(!_0x5c608a&&this[_0x4db74a(0x1e5)][_0x4db74a(0x33b)](_0x2bc2b6)&&this[_0x4db74a(0x1b6)](_0x2bc2b6)[_0x4db74a(0x322)](_0x5c1af6[_0x4db74a(0x2ce)][_0x4db74a(0x34e)]),!this['_unitOnClients'][_0x4db74a(0x33b)](_0x2bc2b6)||!this['_unitOnClients'][_0x4db74a(0x42f)](_0x2bc2b6)[_0x4db74a(0x33b)](_0x1d55c4)){const _0xa56abf=this[_0x4db74a(0x1e5)][_0x4db74a(0x42f)](_0x2bc2b6)||new Set();_0xa56abf[_0x4db74a(0x24c)](_0x1d55c4),this[_0x4db74a(0x1e5)][_0x4db74a(0x3a5)](_0x2bc2b6,_0xa56abf),this[_0x4db74a(0x383)](_0x1d55c4);}}),_0x5c608a||this[_0x298d2f(0x211)]({'type':0x0,'memberID':this[_0x298d2f(0x302)],'unitIDs':[...this[_0x298d2f(0x2dd)]],'isForwarded':!0x0});}[_0x37f8b3(0x383)](_0x341584){const _0x22f0ae=_0x37f8b3;this[_0x22f0ae(0x400)](_0x341584);const _0x51adb7=window[_0x22f0ae(0x426)](()=>{const _0xc8a001=_0x22f0ae;this['_unitOnClients'][_0xc8a001(0x3a0)](_0x5bd1e4=>{const _0x5e57b2=_0xc8a001;_0x5bd1e4[_0x5e57b2(0x26c)](_0x341584);});},_0x4410b9*0x2);this[_0x22f0ae(0x413)][_0x22f0ae(0x3a5)](_0x341584,_0x51adb7);}[_0x37f8b3(0x400)](_0x73150){const _0x2ce174=_0x37f8b3;if(this[_0x2ce174(0x413)][_0x2ce174(0x33b)](_0x73150)){const _0x4bb08f=this['_clearOtherTimers'][_0x2ce174(0x42f)](_0x73150);_0x4bb08f&&window[_0x2ce174(0x34f)](_0x4bb08f),this[_0x2ce174(0x413)]['set'](_0x73150,null);}}[_0x37f8b3(0x366)](_0x2e4782){const _0x20f3e0=_0x37f8b3,{memberID:_0x252ddd,unitIDs:_0x144d7a}=_0x2e4782;_0x144d7a[_0x20f3e0(0x3a0)](_0x501e93=>{const _0x1ff4ab=_0x20f3e0;var _0x54ecc4;const _0x56cefd=this['_unitOnClients'][_0x1ff4ab(0x42f)](_0x501e93);_0x56cefd&&(_0x56cefd[_0x1ff4ab(0x26c)](_0x252ddd),(_0x54ecc4=this[_0x1ff4ab(0x1b6)](_0x501e93))==null||_0x54ecc4[_0x1ff4ab(0x322)](_0x56cefd[_0x1ff4ab(0x2ec)]===0x0?_0x5c1af6['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x5c1af6[_0x1ff4ab(0x2ce)][_0x1ff4ab(0x34e)]));}),this['_removeClearOtherTimer'](_0x252ddd);}[_0x37f8b3(0x1fe)](_0x391b36){const _0x59d05c=_0x37f8b3;this[_0x59d05c(0x383)](_0x391b36['memberID']);}[_0x37f8b3(0x211)](_0x2e103d){const _0xcf75d1=_0x37f8b3;localStorage[_0xcf75d1(0x176)](_0xea01d1,JSON[_0xcf75d1(0x444)](_0x2e103d));}['_scheduleHeartbeat'](){const _0x550286=_0x37f8b3;this[_0x550286(0x333)]=window['setInterval'](()=>{const _0x137114=_0x550286;this[_0x137114(0x211)]({'type':0x2,'memberID':this[_0x137114(0x302)]});},_0x4410b9);}[_0x37f8b3(0x1b6)](_0x2f7c91){const _0x2da16b=_0x37f8b3;return this[_0x2da16b(0x1ae)][_0x2da16b(0x33b)](_0x2f7c91)||this['_unitStatus'][_0x2da16b(0x3a5)](_0x2f7c91,new _0x28bd90[(_0x2da16b(0x246))](_0x5c1af6[_0x2da16b(0x2ce)][_0x2da16b(0x2b5)])),this[_0x2da16b(0x1ae)][_0x2da16b(0x42f)](_0x2f7c91);}}_0x4f0727[_0x37f8b3(0x262)]=_0x30f389,_0x4f0727[_0x37f8b3(0x29e)]=_0x327b63,_0x4f0727[_0x37f8b3(0x21b)]=_0x139aab,_0x4f0727[_0x37f8b3(0x3c3)]=_0x1b2a83,Object[_0x37f8b3(0x41c)](_0x4f0727,Symbol[_0x37f8b3(0x33d)],{'value':_0x37f8b3(0x2a6)});}));function _0x2e8b(){const _0x42e953=['addEventListener','Unknown\x20user','removeParam','includes','post','USER_NOT_FOUND','PAYMENT_CHANNEL_NOT_SUPPORT','getTypeOfUnitDisposed$','mapTo','_lastResponseTimestamp','clipPath','addObjects','_scene','_commandService','_id','LOGIN_FAILED','runRefRangeMutations','DocCollaborationEntity','_drawRectRange','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','unshift','_collabSessionService','flatMap','DesktopCollaborationStatusDisplayController','_setupSubUnitSync','Rectangle','@univerjs/core','dispose$','UniverInstanceType','transformRemoteChangeset','defs','UNAUTHENTICATED','setActiveRange','merge','ticket','transformStateCache','mutations','height','FromArray','setConfig','_hideTimer','toString','releaseFormulaLimitUrl','url(#off-line-icon_clip0_910_343)','UniverProCollaboration','CLOSE_ROOM','next','_removeCollabCursors','dirtyRanges','white','PY_RUNTIME_SCRIPT_ERROR','getViewport','save','bottom','_getSessionTicket','resize','collabStatus.fetchMiss','function','SessionStatus','DOC_RANGE_TYPE','1pepGLb','jsx','getCoordByCell','_heartbeatTimer','getCollabEntity$','apply','_notificationService','_updateCollabCursors','_toggleOnline','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','has','RECT','toStringTag','INVITE_CODE_ALREADY_BOUND','fillText','body','SNAPSHOT_HAS_BEEN_REMOVED','on-line-icon_clip0_910_349','_doCreateSocket','_draw','UniverCollaborationClientPlugin','round','replaceState','BuiltInUIPart','serializeRangeWithSheet','CollaborationUIEventService','ALREADY_EXISTS','START_CALCULATION','react/jsx-runtime','OTHER_CLIENTS_EDITING','clearTimeout','stageInfo','LocaleService','onPointerMove$','OTHER_CLIENT_EDITING','onLocalMutation','YUUMI_RATE_OVER_LIMIT','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/engine-formula','show','parseInt','debounceTime','toRgbString','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','USER_IS_ANONYMOUS','_setFormulaLimitStatus','clearInterval','DataLoaderService','_initCommandInterceptor','_cachedData','currentColor','_entityInit$','_handleLeaveEvent','from','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','ThemeService','Shape','getValue','UniverCore','extend','restore','getMemberID','collabStatus.offline','300672hWevOd','UniverIcon','/universer-api/license/formula/limit/start','searchParams','hasOwnProperty','_shapes','_collaborationUIEventService','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','font','amd','getUniverSheetInstance','current','max','AUTHORIZE_CODE_ILLEGAL','transformMutation','storage','_scheduleClearOtherTimer','key','_render','_docStateChangeManagerService','@univerjs/design','_backgroundColor','4804590fNJODC','imageSourceType','setUndoRedoMutationParamsCache','roomMembers','INTERNAL_ERROR','disableLocalCache','complete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_beforeCloseService','getCurrentUnitForType','_refreshCollabCursors','USERS_LEAVE','getColorFromTheme','tag','react','DocStateChangeManagerService','triggerDblclick','_revisionService','IUIPartsService','addClipboardHook','lineTo','_imageIoService','startRow','forEach','_localStorageService','session.will-retry','url(#$1','split','set','fillStyle','sessionStatus$','top','VIEW_MAIN','MessageType','DependentOn','executeCommand','evenodd','UPDATE_CURSOR','replace','black','TOO_MANY_REQUESTS','translate(.97)','generateRandomId','TEXT','2011098qbFzvm','@univerjs/rpc','Injector','xlink:href','_cursorInfo$','setShapeProps','undoState','column','SheetSkeletonManagerService','entityInit$','_saveTaskMap','deepClone','_onRefRangeChange','error','WebURLService','REDEMPTION_CODE_INACTIVE','_getSheetObject','ENTITLE_CHAT_LIMIT_EXCEED','unsubscribe','SetDocZoomRatioOperation','_online','_labelPosition','UNIVER_SHEET','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assignAColorForMemberID','_sheetSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','transform','beforeCommandExecuted','RemoveRowCommandId','Warning','className','activeSheet$','_checkCalculationAvailable','InsertRowCommandId','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','transformMutationsWithChangeset','data','cursorInfo$','setAlpha','getUnitId','http://www.w3.org/2000/svg','3611730DsGwqy','path','runId','stage','_docSyncEditingCollabCursorService','ONLINE','_color','IMessageService','shareReplay','_range','getDocRanges','collaboration.closeRoom','disposeUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IDocClipboardService','hovered','findNodePositionByCharIndex','_logService','_pollingInterval','transformSelections','getRelativeToViewportCoord','transformIMECache','ITransformService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','propertyIsEnumerable','_transformService','_colorIndex','green.600','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','JOIN_ROOM_FAILED','_init','collabCursorState$','subscribeEvent','_removeClearOtherTimer','totalFormulasToCalculate','color','_saveCache','icon','ERROR_AGAIN','getColor','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon','roomMembers$','runOnServer','MUTATION','uni.network.url-service','Optional','loadUnit','_clearOtherTimers','handleInsertRangeMoveRight','_drawTextRange','sheetId','find','touchDependencies','_syncEditingCollabCursorService','_collabCursorController','useDependency','defineProperty','collabStatus.syncing','div','clsx','collab-text-range-','permission.title','registerComponent','UniverUi','UniverNetwork','_instanceService','setTimeout','M0\x200H16V16H0z','_name','functionsExecutedState','getUnit','deserializeRangeWithSheet','filter','_handleJoinEvent','_context','get','_dataLoaderService','AWAITING','useCallback','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','@univerjs/docs-ui','fromEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','Rect','mergeOverrideWithDependencies','collab-text-anchor-','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','AWAITING_WITH_PENDING','attrs','endColumn','debug','_assignedColors','on-line-icon','stringify','getSheetBySheetId','_hasFormulaInDirtyRanges','_anchor','params','_session','_refRangeService','ILogService','getUnhiddenWorksheets','registerRefRange','_initDependencies','_updateURLWithCurrentState','getActiveSheet','children','NodePositionConvertToRectRange','UNRECOGNIZED','some','...','href','red.300','fromEventSubject','symbol','INotificationService','setItem','collabStatus.notCollab','getMember','Success','TEXT_RANGE_LAYER_INDEX','prototype','displayName','moveTo','@univerjs/sheets','doc.mutation.rich-text-editing','_eventUnsubscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','EMAIL_VERIFY_CODE_MISMATCH','arc','length','InsertRangeMoveRightCommandId','init','closePath','Subject','getConfig','UniverCollaborationClientUIPlugin','createInstance','_startCalculationLimit','_handleEvent','_currentUsage','univer-flex\x20univer-items-center','_drawAnchor','toDisposable','_initStatusListener','@univerjs/sheets-ui','USER_NOT_INVITED_CODE','UNIVER_DOC','popstate','_urlService','_setupBeforeClosingHandler','INVALID_INVITE_CODE','_univerInstanceService','_cursorShapes','getTypeOfUnitAdded$','skeleton','Loading','createElement','MOBILE_HAS_BEEN_BOUND','_registerDependencies','pluginName','_docClipboardService','_cursor','object','endRow','ILocalCacheService','addObject','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs-pro/collaboration','_taskIds','concat','_unitStatus','_injector','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','indexOf','enableLocalCache','Failed','ENTITLE_CAN_NOT_BUY_LOWER_OTP','name','_ensureSubject','forwardRef','_initResize','@univerjs/docs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CHANGESET_REVISION_CONFILICT','SetFormulaCalculationNotificationMutation','_localeService','none','FormulaExecutedStateType','RxDisposable','subscribe','SHEET_VIEWPORT_KEY','result','actions','ICommandService','handleInsertRangeMoveDown','type','urlChange$','COMPLETION_FINISHED','ISocketService','_maxFormulaLimit','_releaseCalculationLimit','collab-client.tooltip.reconnect','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformMutationsWithChangesetSuccess','assign','beginPath','send','getSheetId','_createSocketURL','text','ranges','pipe','CollaborationUIEventId','_disabled','textRanges','UniverSheets','takeUntil','LOGIN_TOKEN_PROCESSING_FAILED','NOT_FOUND','parse','CanceledError','exhaustSavingTask','idSuffix','currentTheme$','currentSkeleton$','_unitOnClients','Plugin','1426758efegfO','handleDeleteRangeMoveLeft','_anchorDot','_onCursorDelete','getParam','startFormulaLimitUrl','string','invokeId','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_REPORT_LIMIT_EXCEED','_config','url(#on-line-icon_clip0_910_349)','getRangePointData','ENTITLE_DUP_SUBSCRIPTION','_docTransformStateCacheService','_transformPreviousActiveRange','EMAIL_HAS_BEEN_BOUND','useObservable','CURRENT_STATUS_CANNOT_OPERATE','UniverDesign','REDEMPTION_CODE_HAS_BEEN_CREATED','isArray','addHandlerCallback','_handleHeartbeatEvent','_handleHover','UniverEngineFormula','replaceDocRanges','MOBILE_VERIFY_CODE_MISMATCH','fillRule','limitInfo','unitId','selection','_hover','COLORS','[CollaborationDataLoaderController]','React','measureText','push','onMouseMove','currentUsage','blue.400','_clearPolling','_send','@univerjs/network','executionId','_getFormulaLimitStatus','disposeWithMe','getSkeleton','CONNECTOR_DATA_TOO_LARGE','_messageService','svg','drawWith','WebBrowserSingleActiveUnitService','requireSession','@univerjs/ui','CollaborationSessionService','rxjs','_collaborationController','_httpService','editingUnit','YUUMI_URL_COL_OUT_OF_RANGE','SetSelectionsOperation','_startSheetCollabCursor','onPointerEnter$','_hovered','getActiveRange','APPLY_REVISION_CONFILICT','getAncestorScale','UniverDocs','BrowserCollaborationSocketService','_textBubble','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabCursorState$','80CFJVNO','unitID','unload','engine','PERMISSION_DENIED','getItem','connectInjector','subUnitId','_scheduleSaving','UniverProCollaborationClient','_initEvent','_configService','override','formula.calculation.unable','values','isTransformMutationFailure','handleInsertCol','status$','FETCH_MISS','PENDING','2261727YcZoNu','_applyCommand','BehaviorSubject','NOT_COLLAB','dispose','_colorAssignService','_getMergeRange','useRef','add','_onCursorUpdate','width','_themeService','SetWorksheetActivateCommand','CommandType','CollaborationStatus','combineLatest','code','APPLY_DUPLICATED','RevisionService','_getScale','unit','isFormulaId','setParam','wsSessionTicketUrl','saveTaskMap','UniverEngineRender','ILocalStorageService','entries','univer-mr-2\x20univer-flex\x20univer-text-xl','sheetID','IURLService','Vector2','2214584kXTovh','history','ENTITLE_NEED_BILLING_ADDRESS','onPointerLeave$','Tools','_renderManagerService','CollaborationController','OnLineIcon','delete','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_NOT_STARTED','Error','startColumn','_toggleOffline','getOwnPropertyDescriptor','collaboration.single-unit.warning','defIds','call','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_cursors','getMergeData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocSelectionManagerService','WebSocketService','redoState','getCurrent','application/json','shift','docStateChange$','yellow.400','/universer-api/license/formula/limit/status','Disposable','then','CollaborationDataLoaderController','focused$','INVITE_CODE_REQUIRED','getCollabCursors$','debounce','exports','newValue','getUndoRedoMutationParamsCache','SYNCED','selections','getRenderById','ColorKit','formula.calculation.started','_docSkeleton','onCommandExecuted','session.collaboration-timeout','cursorInfo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoveColCommandId','operators','mask','getLocalCacheKey','EffectRefRangId','REDEMPTION_INVALID_CODE','SheetCollabCursorShape','reconnect','m1Prime','_startDocCollabCursor','1em','registerBeforeClose','search','event$','Module','sessionTicket','OffLineIcon','_checkAndWaitForCalculationPermission','RemoteUniscriptService','isActive','location','_docTransformSelectionsService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SUBMIT_CHANGESET_TIMEOUT','handleIRemoveCol','Inject','RichTextEditingMutation','origin','updateOfflineData','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_localCacheService','getStateCache','getOwnPropertySymbols','getCurrentRevOfUnit','getFocusedUnit','makeDirty','handleIRemoveRow','min','getCellMatrix','trim','_initEntityListener','0\x200\x2016\x2016','map','colorChannel1','DocIMEInputManagerService','LICENSE_DISTRO_REJECTED','RegularPolygon','MemberService','UniverDrawing','_docTransformIMECacheService','IImageIoService','_roomMembers$','UnitStatus','labelPosition','_initStatusComponent','Workbook','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','INVALID_ARGUMENT','hide','IRemoteInstanceService','fill','isEditing','_updateSubUnitFromURLParams','range','_updateLocalCursor','_selfUnitIDs','_entities','_getAnchorBounding','SOCKET_FAILED_RETRY','_showGuardMessage','switchMap','_memberService','OFFLINE','off-line-icon_clip0_910_343','0\x200\x2017\x2016','subunit','APPLY_NON_SEQUENTIAL_REVISION','HTTPService','Tooltip','now','size','DEFAULT_WS_SESSION_TICKET_URL','pushState','_status$','with','handleInsertRow','_transformUndoRedoStack','CONFLICT'];_0x2e8b=function(){return _0x42e953;};return _0x2e8b();}
|