@univerjs-pro/collaboration-client-ui 0.12.1 → 0.12.2-nightly.202511241159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4885bf=_0x30e5;(function(_0x3fc461,_0xda0c53){const _0x24e182=_0x30e5,_0x41cc5f=_0x3fc461();while(!![]){try{const _0x4a2458=parseInt(_0x24e182(0x330))/0x1+-parseInt(_0x24e182(0x289))/0x2*(-parseInt(_0x24e182(0x246))/0x3)+-parseInt(_0x24e182(0xd7))/0x4*(-parseInt(_0x24e182(0x11e))/0x5)+parseInt(_0x24e182(0x1bd))/0x6+-parseInt(_0x24e182(0x123))/0x7+parseInt(_0x24e182(0x2d5))/0x8+-parseInt(_0x24e182(0x118))/0x9;if(_0x4a2458===_0xda0c53)break;else _0x41cc5f['push'](_0x41cc5f['shift']());}catch(_0x110fec){_0x41cc5f['push'](_0x41cc5f['shift']());}}}(_0x7782,0xe349b));var Xe=Object[_0x4885bf(0x1a3)],Ke=(_0x3543cf,_0xe4abd1,_0x5c82ad)=>_0xe4abd1 in _0x3543cf?Xe(_0x3543cf,_0xe4abd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c82ad}):_0x3543cf[_0xe4abd1]=_0x5c82ad,_=(_0x1553ce,_0x125197,_0x3b8170)=>Ke(_0x1553ce,typeof _0x125197!=_0x4885bf(0x1f1)?_0x125197+'':_0x125197,_0x3b8170);Object['defineProperty'](exports,Symbol[_0x4885bf(0x2f3)],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),p=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function Te({ref:_0x189620,..._0x555e44}){const _0x3ef5f6=_0x4885bf,{icon:_0xc017b9,id:_0x5889c7,className:_0x15169e,extend:_0x5e8ef3,..._0x5a2bff}=_0x555e44,_0x5efc5f=(_0x3ef5f6(0xd0)+_0x5889c7+'\x20'+(_0x15169e||''))['trim'](),_0x4429dd=A[_0x3ef5f6(0x273)]('_'+Qe());return $e(_0xc017b9,''+_0x5889c7,{'defIds':_0xc017b9[_0x3ef5f6(0x13a)],'idSuffix':_0x4429dd[_0x3ef5f6(0x20f)]},{'ref':_0x189620,'className':_0x5efc5f,..._0x5a2bff},_0x5e8ef3);}function $e(_0x4f770a,_0x5eabde,_0x10e99c,_0x49bf6d,_0xdb0303){const _0xb26ad=_0x4885bf;return A['createElement'](_0x4f770a[_0xb26ad(0xfc)],{'key':_0x5eabde,...Je(_0x4f770a,_0x10e99c,_0xdb0303),..._0x49bf6d},(Ze(_0x4f770a,_0x10e99c)['children']||[])['map']((_0x47cff7,_0x1ff66e)=>$e(_0x47cff7,_0x5eabde+'-'+_0x4f770a[_0xb26ad(0xfc)]+'-'+_0x1ff66e,_0x10e99c,void 0x0,_0xdb0303)));}function Je(_0x510a6a,_0x8e9360,_0x2902f6){const _0x2deec2=_0x4885bf,_0x109d00={..._0x510a6a[_0x2deec2(0x323)]};_0x2902f6!=null&&_0x2902f6[_0x2deec2(0x362)]&&_0x109d00[_0x2deec2(0x15b)]===_0x2deec2(0x362)&&(_0x109d00[_0x2deec2(0x15b)]=_0x2902f6['colorChannel1']),_0x510a6a['tag']===_0x2deec2(0x1f5)&&_0x109d00['id']&&(_0x109d00['id']=_0x109d00['id']+_0x8e9360[_0x2deec2(0x1a6)]),Object[_0x2deec2(0x2cf)](_0x109d00)[_0x2deec2(0x28d)](([_0x49105d,_0xd14ecc])=>{const _0x4c1591=_0x2deec2;_0x49105d===_0x4c1591(0x1f5)&&typeof _0xd14ecc==_0x4c1591(0xdf)&&(_0x109d00[_0x49105d]=_0xd14ecc[_0x4c1591(0x15c)](/url\(#(.*)\)/,_0x4c1591(0x2eb)+_0x8e9360['idSuffix']+')'));});const {defIds:_0x2442bf}=_0x8e9360;return!_0x2442bf||_0x2442bf[_0x2deec2(0x12a)]===0x0||(_0x510a6a[_0x2deec2(0xfc)]===_0x2deec2(0x2c2)&&_0x109d00[_0x2deec2(0xd3)]&&(_0x109d00[_0x2deec2(0xd3)]=_0x109d00[_0x2deec2(0xd3)]+_0x8e9360['idSuffix']),Object[_0x2deec2(0x2cf)](_0x109d00)[_0x2deec2(0x28d)](([_0x75caea,_0x441cda])=>{const _0x553765=_0x2deec2;typeof _0x441cda==_0x553765(0xdf)&&(_0x109d00[_0x75caea]=_0x441cda[_0x553765(0x15c)](/url\(#(.*)\)/,_0x553765(0x2eb)+_0x8e9360[_0x553765(0x1a6)]+')'));})),_0x109d00;}function Ze(_0x3a4179,_0x22aeeb){const _0xaec302=_0x4885bf;var _0x215a26;const {defIds:_0x315598}=_0x22aeeb;return!_0x315598||_0x315598['length']===0x0?_0x3a4179:_0x3a4179[_0xaec302(0xfc)]===_0xaec302(0x325)&&((_0x215a26=_0x3a4179[_0xaec302(0x2ae)])!=null&&_0x215a26[_0xaec302(0x12a)])?{..._0x3a4179,'children':_0x3a4179[_0xaec302(0x2ae)][_0xaec302(0x2d7)](_0x296bb4=>typeof _0x296bb4[_0xaec302(0x323)]['id']==_0xaec302(0xdf)&&_0x315598&&_0x315598[_0xaec302(0x26b)](_0x296bb4[_0xaec302(0x323)]['id'])?{..._0x296bb4,'attrs':{..._0x296bb4[_0xaec302(0x323)],'id':_0x296bb4[_0xaec302(0x323)]['id']+_0x22aeeb[_0xaec302(0x1a6)]}}:_0x296bb4)}:_0x3a4179;}function Qe(){const _0x8999a=_0x4885bf;return Math['random']()['toString'](0x24)[_0x8999a(0x301)](0x2,0x8);}Te[_0x4885bf(0x1b9)]=_0x4885bf(0x19b);const et={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4885bf(0x95),'viewBox':_0x4885bf(0x217),'width':_0x4885bf(0xe8),'height':_0x4885bf(0xe8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4885bf(0x265)},'children':[{'tag':_0x4885bf(0x230),'attrs':{'stroke':_0x4885bf(0x182),'d':_0x4885bf(0x121),'strokeLinecap':_0x4885bf(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4885bf(0x325),'attrs':{},'children':[{'tag':_0x4885bf(0x34a),'attrs':{'id':_0x4885bf(0x238)},'children':[{'tag':'path','attrs':{'fill':_0x4885bf(0xf9),'d':_0x4885bf(0x2f4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},xe=A[_0x4885bf(0x14e)](function(_0x1817ed,_0x570def){const _0x5dd070=_0x4885bf;return A['createElement'](Te,Object['assign']({},_0x1817ed,{'id':_0x5dd070(0x1b4),'ref':_0x570def,'icon':et}));});xe[_0x4885bf(0x1b9)]='OffLineIcon';const tt={'tag':_0x4885bf(0x19e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4885bf(0x35d),'width':_0x4885bf(0xe8),'height':_0x4885bf(0xe8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4885bf(0x2da)},'children':[{'tag':_0x4885bf(0x230),'attrs':{'stroke':_0x4885bf(0x182),'d':_0x4885bf(0x33f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4885bf(0x325),'attrs':{},'children':[{'tag':_0x4885bf(0x34a),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x4885bf(0xf9),'d':_0x4885bf(0x2f4),'transform':_0x4885bf(0x1d3)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Be=A['forwardRef'](function(_0x36b1aa,_0x55dc12){const _0x39e107=_0x4885bf;return A[_0x39e107(0x28f)](Te,Object[_0x39e107(0x2fd)]({},_0x36b1aa,{'id':_0x39e107(0x2e1),'ref':_0x55dc12,'icon':tt}));});Be['displayName']=_0x4885bf(0xae);function st(_0x2278c7){const _0xe96a31=_0x4885bf;switch(_0x2278c7){case u[_0xe96a31(0x30d)][_0xe96a31(0x14b)]:return _0xe96a31(0x169);case u[_0xe96a31(0x30d)][_0xe96a31(0x2f5)]:return'collabStatus.conflict';case u[_0xe96a31(0x30d)][_0xe96a31(0x26c)]:return _0xe96a31(0x1e3);case u[_0xe96a31(0x30d)][_0xe96a31(0x333)]:return _0xe96a31(0xb5);case u[_0xe96a31(0x30d)][_0xe96a31(0x1bb)]:case u['CollaborationStatus'][_0xe96a31(0x150)]:return _0xe96a31(0x348);case u[_0xe96a31(0x30d)][_0xe96a31(0x11c)]:case u[_0xe96a31(0x30d)][_0xe96a31(0x256)]:return _0xe96a31(0x350);}}function it(_0x5c4e0a){const _0x13cabb=_0x4885bf,{status$:_0x13ad74}=_0x5c4e0a,_0x41482f=O[_0x13cabb(0x164)](_0x13ad74,u[_0x13cabb(0x30d)][_0x13cabb(0x333)]),_0x1d9131=O['useDependency'](a['LocaleService']),_0x42b504=O['useDependency'](u[_0x13cabb(0x307)]),_0x4a7a58=_0x41482f!==u['CollaborationStatus']['OFFLINE'],_0x2f54b1=_0x1d9131['t'](st(_0x41482f)),_0x37d8d6=_0x4a7a58?M['jsx'](Be,{}):M[_0x13cabb(0x1c0)](xe,{}),_0x37a081=A['useCallback'](()=>{const _0x50643f=_0x13cabb;_0x4a7a58||_0x42b504[_0x50643f(0x2f2)]();},[_0x4a7a58,_0x42b504]);function _0x100f61(){const _0x23b7ab=_0x13cabb;return M['jsxs'](_0x23b7ab(0x1b3),{'className':_0x23b7ab(0x22b),'onClick':_0x37a081,'children':[M[_0x23b7ab(0x1c0)](_0x23b7ab(0x1b3),{'className':T['clsx'](_0x23b7ab(0x2e0),{'univer-text-green-500':_0x4a7a58,'univer-text-red-500':!_0x4a7a58}),'children':_0x37d8d6}),M['jsx'](_0x23b7ab(0x1b3),{'className':_0x23b7ab(0x125),'children':_0x2f54b1})]});}return _0x4a7a58?_0x100f61():M['jsx'](T['Tooltip'],{'title':_0x1d9131['t'](_0x13cabb(0x14a)),'children':_0x100f61()});}var nt=Object[_0x4885bf(0xee)],rt=(_0x32e89f,_0x44c546,_0x5db335,_0x1247e7)=>{const _0x18970d=_0x4885bf;for(var _0x2480fa=_0x1247e7>0x1?void 0x0:_0x1247e7?nt(_0x44c546,_0x5db335):_0x44c546,_0x18d3e1=_0x32e89f[_0x18970d(0x12a)]-0x1,_0x56a540;_0x18d3e1>=0x0;_0x18d3e1--)(_0x56a540=_0x32e89f[_0x18d3e1])&&(_0x2480fa=_0x56a540(_0x2480fa)||_0x2480fa);return _0x2480fa;},K=(_0x1c4470,_0x2f0304)=>(_0x549941,_0x390658)=>_0x2f0304(_0x549941,_0x390658,_0x1c4470);exports[_0x4885bf(0x197)]=class extends a['Disposable']{constructor(_0x5be5a7,_0xc4a4a1,_0x385483,_0x12912e){const _0x28db3e=_0x4885bf;super(),_(this,_0x28db3e(0x14d),new I[(_0x28db3e(0x2cb))](u[_0x28db3e(0x30d)][_0x28db3e(0x333)])),(this[_0x28db3e(0x189)]=_0x5be5a7,this['_injector']=_0xc4a4a1,this['_collaborationController']=_0x385483,this['_uiPartsService']=_0x12912e,this[_0x28db3e(0x252)](),this[_0x28db3e(0x1d0)]());}['_initStatusListener'](){const _0x242cad=_0x4885bf;this['disposeWithMe'](this[_0x242cad(0x189)][_0x242cad(0x9b)][_0x242cad(0x153)](I[_0x242cad(0xea)](()=>{const _0x211b8c=_0x242cad,_0x15d9b5=this[_0x211b8c(0x189)][_0x211b8c(0x277)]();return _0x15d9b5?this['_collaborationController']['getCollabEntity$'](_0x15d9b5[_0x211b8c(0x2fb)]()):I['of'](null);}),I[_0x242cad(0xea)](_0x364133=>_0x364133?_0x364133['status$']:I['of'](u[_0x242cad(0x30d)][_0x242cad(0x333)])))['subscribe'](_0x4b9420=>{const _0x77785c=_0x242cad;this[_0x77785c(0x14d)]['next'](_0x4b9420);}));}[_0x4885bf(0x252)](){const _0x5a9755=_0x4885bf;this[_0x5a9755(0x354)](this[_0x5a9755(0x284)][_0x5a9755(0x34d)](O[_0x5a9755(0x2d9)][_0x5a9755(0x320)],()=>O['connectInjector'](ot({'status$':this[_0x5a9755(0x14d)][_0x5a9755(0x251)]()}),this[_0x5a9755(0x17e)])));}},exports[_0x4885bf(0x197)]=rt([K(0x0,a[_0x4885bf(0x2b8)]),K(0x1,a['Inject'](a[_0x4885bf(0x199)])),K(0x2,a[_0x4885bf(0xe0)](u[_0x4885bf(0x357)])),K(0x3,O[_0x4885bf(0xa8)])],exports[_0x4885bf(0x197)]);function ot(_0x3c1a3c){const {status$:_0x286375}=_0x3c1a3c;return function(){const _0x3925c1=_0x30e5;return M[_0x3925c1(0x1c0)](it,{'status$':_0x286375});};}const Oe=a[_0x4885bf(0xaa)](_0x4885bf(0x2ee));var at=Object['getOwnPropertyDescriptor'],ct=(_0x43f067,_0x1d1f40,_0x1a35ed,_0x245719)=>{for(var _0x2757fa=_0x245719>0x1?void 0x0:_0x245719?at(_0x1d1f40,_0x1a35ed):_0x1d1f40,_0x4d5e8d=_0x43f067['length']-0x1,_0x423ae1;_0x4d5e8d>=0x0;_0x4d5e8d--)(_0x423ae1=_0x43f067[_0x4d5e8d])&&(_0x2757fa=_0x423ae1(_0x2757fa)||_0x2757fa);return _0x2757fa;},Y=(_0x26bd51,_0x4891dc)=>(_0x539137,_0x32d04a)=>_0x4891dc(_0x539137,_0x32d04a,_0x26bd51);exports[_0x4885bf(0x161)]=class extends a[_0x4885bf(0x1aa)]{constructor(_0x31d480,_0x4c54a2,_0x191646,_0x435d17,_0x4cadc3){const _0x3c8926=_0x4885bf;super(),this[_0x3c8926(0x316)]=_0x31d480,this[_0x3c8926(0x1ed)]=_0x4c54a2,this[_0x3c8926(0x26a)]=_0x191646,this[_0x3c8926(0x14c)]=_0x435d17,_0x4cadc3?_0x4cadc3==null||_0x4cadc3[_0x3c8926(0x30e)]()[_0x3c8926(0x180)](()=>this['_init']()):(this[_0x3c8926(0x1ed)]['debug'](_0x3c8926(0x2c8),_0x3c8926(0x1c5)),this['_init']());}async[_0x4885bf(0x2a5)](){const _0x322354=_0x4885bf,_0x298bcb=this['_urlService'][_0x322354(0x313)](_0x322354(0x27c)),_0x56ed4e=this[_0x322354(0x316)][_0x322354(0x313)](_0x322354(0x360)),_0xf3c22e=this[_0x322354(0x316)][_0x322354(0x313)]('subunit');if(!_0x298bcb||!_0x56ed4e){this['_logService'][_0x322354(0x2e9)](_0x322354(0x2c8),_0x322354(0x321));return;}const _0x3f0086=await this[_0x322354(0x14c)][_0x322354(0x319)](_0x298bcb,Number(_0x56ed4e),_0xf3c22e);_0x3f0086&&_0x3f0086 instanceof a['Workbook']&&this[_0x322354(0x250)](_0x3f0086);}async[_0x4885bf(0x250)](_0x236a5c){const _0x20860f=_0x4885bf;await this[_0x20860f(0xc9)](_0x236a5c),_0x236a5c[_0x20860f(0x339)][_0x20860f(0x153)](I['takeUntil'](this[_0x20860f(0x30f)]))['subscribe'](_0x17183d=>{const _0x3dacb7=_0x20860f;_0x17183d&&this[_0x3dacb7(0x1f9)](_0x17183d);}),this[_0x20860f(0x316)][_0x20860f(0xd8)][_0x20860f(0x153)](I['takeUntil'](this[_0x20860f(0x30f)]))[_0x20860f(0x22c)](()=>this['_updateSubUnitFromURLParams'](_0x236a5c));}[_0x4885bf(0x1f9)](_0x41c713,_0x5d8947=!0x1){const _0xc1629a=_0x4885bf,_0x285617=this[_0xc1629a(0x316)][_0xc1629a(0x313)](_0xc1629a(0x111));_0x41c713['getSheetId']()!==_0x285617&&this[_0xc1629a(0x316)][_0xc1629a(0x185)](_0xc1629a(0x111),_0x41c713[_0xc1629a(0xb9)](),_0x5d8947);}async[_0x4885bf(0xc9)](_0x4ea57f){const _0x1deebe=_0x4885bf;var _0x18326b;const _0x1a6a03=this[_0x1deebe(0x316)][_0x1deebe(0x313)](_0x1deebe(0x111));if(!_0x1a6a03||!_0x4ea57f[_0x1deebe(0x2e2)](_0x1a6a03)){const _0x25981b=_0x4ea57f[_0x1deebe(0x21e)]()[0x0],_0x284694=_0x4ea57f[_0x1deebe(0x2e2)](_0x25981b);if(!_0x284694)return;this[_0x1deebe(0x1f9)](_0x284694,!0x0),await this[_0x1deebe(0x26a)]['executeCommand'](v['SetWorksheetActivateCommand']['id'],{'unitId':_0x4ea57f[_0x1deebe(0x2fb)](),'subUnitId':_0x25981b});return;}((_0x18326b=_0x4ea57f[_0x1deebe(0x30c)]())==null?void 0x0:_0x18326b[_0x1deebe(0xb9)]())!==_0x1a6a03&&await this[_0x1deebe(0x26a)]['executeCommand'](v['SetWorksheetActivateCommand']['id'],{'unitId':_0x4ea57f['getUnitId'](),'subUnitId':_0x1a6a03});}},exports['CollaborationDataLoaderController']=ct([Y(0x0,Oe),Y(0x1,a[_0x4885bf(0x15f)]),Y(0x2,a[_0x4885bf(0x2a2)]),Y(0x3,a[_0x4885bf(0xe0)](u[_0x4885bf(0x2db)])),Y(0x4,a['Optional'](qe[_0x4885bf(0x2d4)]))],exports[_0x4885bf(0x161)]);var lt=Object[_0x4885bf(0xee)],_t=(_0x32b53c,_0x49fe27,_0x557a1d,_0x4a7c84)=>{const _0x390edb=_0x4885bf;for(var _0x5b33d2=_0x4a7c84>0x1?void 0x0:_0x4a7c84?lt(_0x49fe27,_0x557a1d):_0x49fe27,_0x354f38=_0x32b53c[_0x390edb(0x12a)]-0x1,_0x584914;_0x354f38>=0x0;_0x354f38--)(_0x584914=_0x32b53c[_0x354f38])&&(_0x5b33d2=_0x584914(_0x5b33d2)||_0x5b33d2);return _0x5b33d2;},De=(_0x295639,_0x17ebe2)=>(_0x22970,_0x39b62e)=>_0x17ebe2(_0x22970,_0x39b62e,_0x295639);let me=class extends a[_0x4885bf(0x1aa)]{constructor(_0x47335a,_0x2e6847){const _0x858b1=_0x4885bf;super(),this[_0x858b1(0xd4)]=_0x47335a,this[_0x858b1(0x1e8)]=_0x2e6847,this[_0x858b1(0x2a5)]();}[_0x4885bf(0x2a5)](){const _0x237d97=_0x4885bf,_0x7e433=this;this['disposeWithMe'](this[_0x237d97(0xd4)][_0x237d97(0x184)]({'onBeforePasteImage':async _0x5b21c2=>{const _0x53a2ad=_0x237d97,_0x122d71=await _0x7e433[_0x53a2ad(0x1e8)][_0x53a2ad(0x317)](_0x5b21c2);return _0x122d71?{'source':_0x122d71[_0x53a2ad(0x2aa)],'imageSourceType':_0x122d71[_0x53a2ad(0x2ce)]}:null;}}));}};me=_t([De(0x0,p[_0x4885bf(0x209)]),De(0x1,ze['IImageIoService'])],me);const Ne=[_0x4885bf(0x2c9),_0x4885bf(0xc6),_0x4885bf(0x2f6),'red.300',_0x4885bf(0xdd),'yellow.400'];class Re extends a[_0x4885bf(0x1b2)]{constructor(){const _0x5a741f=_0x4885bf;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x5a741f(0xa6),0x0);}['assignAColorForMemberID'](_0x5eee88){const _0x24ae50=_0x4885bf;if(this[_0x24ae50(0x228)][_0x24ae50(0x11b)](_0x5eee88))return this[_0x24ae50(0x228)][_0x24ae50(0x1b8)](_0x5eee88);const _0x2a4996=Ne[this[_0x24ae50(0xa6)]];return this[_0x24ae50(0xa6)]=(this[_0x24ae50(0xa6)]+0x1)%Ne['length'],this[_0x24ae50(0x228)][_0x24ae50(0x219)](_0x5eee88,_0x2a4996),_0x2a4996;}}function Fe(_0x3e0214){const _0x3b75cf=_0x4885bf;let _0x4b1c35='';for(const _0x44f2fc of _0x3e0214){const {startOffset:_0x2fa18b,endOffset:_0x58ba1f,isActive:_0x221d38,rangeType:_0x5a5954,segmentId:_0x3babf5,segmentPage:_0x2cbc3a}=_0x44f2fc;_0x4b1c35[_0x3b75cf(0x12a)]&&(_0x4b1c35+=','),_0x4b1c35+=_0x2fa18b+':'+_0x58ba1f+':'+(_0x221d38?'1':'0')+':'+_0x5a5954+':'+_0x3babf5+':'+_0x2cbc3a;}return _0x4b1c35;}function ht(_0xb0d81b){const _0x318cad=_0x4885bf,_0x226e93=_0xb0d81b[_0x318cad(0x1ce)](','),_0x255518=[];for(const _0x2dc7d6 of _0x226e93){const [_0x460a20,_0x3248aa,_0x3925eb,_0x32b16b,_0x2b8f1c,_0x4775dc]=_0x2dc7d6[_0x318cad(0x1ce)](':');_0x255518['push']({'startOffset':Number(_0x460a20),'endOffset':Number(_0x3248aa),'collapsed':_0x460a20===_0x3248aa,'isActive':_0x3925eb==='1','rangeType':_0x32b16b===a[_0x318cad(0x1f7)][_0x318cad(0x1a8)]?a['DOC_RANGE_TYPE'][_0x318cad(0x1a8)]:a[_0x318cad(0x1f7)][_0x318cad(0x2ea)],'segmentId':typeof _0x2b8f1c==_0x318cad(0xdf)?String(_0x2b8f1c):'','segmentPage':Number(_0x4775dc!=null?_0x4775dc:-0x1)});}return _0x255518[_0x318cad(0xff)](_0x487531=>_0x487531[_0x318cad(0x18c)])||(_0x255518[0x0][_0x318cad(0x18c)]=!0x0),_0x255518;}class be extends a['RxDisposable']{constructor(){const _0x5bfd7d=_0x4885bf;super(...arguments),_(this,_0x5bfd7d(0x297),new I[(_0x5bfd7d(0x2cb))](null)),_(this,'collabCursorState$',this[_0x5bfd7d(0x297)][_0x5bfd7d(0x251)]());}[_0x4885bf(0x285)](_0x4359ad){const _0xee5cde=_0x4885bf,{unitID:_0x76c7d2,memberID:_0x3e89f9,textRanges:_0x5dabe1}=_0x4359ad,_0x554a5d=Fe(_0x5dabe1);if(_0x554a5d==='')return;const _0x4b95ab={'unitID':_0x76c7d2,'memberID':_0x3e89f9,'selection':_0x554a5d};this['_collabCursorState$'][_0xee5cde(0x1a7)](_0x4b95ab);}}var ut=Object[_0x4885bf(0xee)],It=(_0x4be61d,_0x476a7a,_0x3ab041,_0x408726)=>{const _0x18c33f=_0x4885bf;for(var _0x1c752d=_0x408726>0x1?void 0x0:_0x408726?ut(_0x476a7a,_0x3ab041):_0x476a7a,_0x74dcb0=_0x4be61d[_0x18c33f(0x12a)]-0x1,_0x53c38c;_0x74dcb0>=0x0;_0x74dcb0--)(_0x53c38c=_0x4be61d[_0x74dcb0])&&(_0x1c752d=_0x53c38c(_0x1c752d)||_0x1c752d);return _0x1c752d;},U=(_0x484418,_0x763a2c)=>(_0xdc31f5,_0x3d8dd6)=>_0x763a2c(_0xdc31f5,_0x3d8dd6,_0x484418);const dt=0x12c,St=0x64;let ve=class extends a[_0x4885bf(0x1aa)]{constructor(_0x502a0d,_0x3535b3,_0x497379,_0x1bdedf,_0x4d3373,_0xb0f3ec,_0xd2d55e,_0x5c4880,_0x4f3796){const _0x47d485=_0x4885bf;super(),_(this,_0x47d485(0xb8),!0x1),_(this,_0x47d485(0x2a5),!0x1),_(this,'_cursorInfo$',new I[(_0x47d485(0x2cb))](new Map())),_(this,_0x47d485(0x35c),this[_0x47d485(0x1f3)]['asObservable']()),_(this,_0x47d485(0x34f),new I['BehaviorSubject']([])),_(this,_0x47d485(0x10f),this[_0x47d485(0x34f)][_0x47d485(0x153)](I[_0x47d485(0x1cd)](dt))),_(this,_0x47d485(0x2df),a[_0x47d485(0xf6)](_0x5e80a2=>{const _0x580aa0=_0x47d485,_0x1b6899={'eventID':g[_0x580aa0(0x2b2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x580aa0(0x143)],'memberID':this[_0x580aa0(0x2a3)][_0x580aa0(0x35f)](),'selection':Fe(_0x5e80a2)}};this[_0x580aa0(0x2a3)]['send'](_0x1b6899,this[_0x580aa0(0x143)]);},St)),(this[_0x47d485(0x143)]=_0x502a0d,this[_0x47d485(0x2a3)]=_0x3535b3,this[_0x47d485(0x17e)]=_0x497379,this[_0x47d485(0x335)]=_0x1bdedf,this[_0x47d485(0x290)]=_0x4d3373,this[_0x47d485(0x21c)]=_0xb0f3ec,this[_0x47d485(0x148)]=_0xd2d55e,this[_0x47d485(0x189)]=_0x5c4880,this[_0x47d485(0x26a)]=_0x4f3796);}get[_0x4885bf(0x31d)](){return this['_cursorInfo$']['getValue']();}get[_0x4885bf(0x98)](){const _0x23f26e=_0x4885bf;return this[_0x23f26e(0x34f)][_0x23f26e(0x1cf)]();}[_0x4885bf(0xcf)](){const _0x19f638=_0x4885bf;super[_0x19f638(0xcf)](),this[_0x19f638(0x1f3)][_0x19f638(0x1a7)](new Map()),this[_0x19f638(0x1f3)]['complete'](),this[_0x19f638(0x34f)][_0x19f638(0x1a7)]([]),this[_0x19f638(0x34f)]['complete']();}['init'](){const _0x2289d2=_0x4885bf;this['_init']||(this[_0x2289d2(0x2a5)]=!0x0,this['_session'][_0x2289d2(0x2e8)][_0x2289d2(0x153)](I[_0x2289d2(0x268)](this['dispose$']))[_0x2289d2(0x22c)](_0x1473c4=>{const _0x3a5a4c=_0x2289d2;_0x1473c4===u[_0x3a5a4c(0x10d)][_0x3a5a4c(0x269)]?this[_0x3a5a4c(0x29e)]():this[_0x3a5a4c(0x27d)]();}),this[_0x2289d2(0x2a3)]['event$'][_0x2289d2(0x153)](I['takeUntil'](this[_0x2289d2(0x30f)]))[_0x2289d2(0x22c)](_0x146a11=>{const _0x17bddc=_0x2289d2,_0x1021b6=_0x146a11[_0x17bddc(0x183)];_0x1021b6===g['CollaborationEvent'][_0x17bddc(0x2c4)]&&this[_0x17bddc(0x188)](_0x146a11),_0x1021b6===g[_0x17bddc(0x2b2)]['USERS_LEAVE']&&this[_0x17bddc(0x8e)](_0x146a11);}),this[_0x2289d2(0x354)](this[_0x2289d2(0x26a)]['onCommandExecuted'](_0x289571=>{const _0x157c55=_0x2289d2,_0x15ecd0=_0x289571['params'];_0x15ecd0!=null&&this[_0x157c55(0xb8)]&&_0x289571['id']===V[_0x157c55(0x220)]['id']&&_0x15ecd0['unitId']===this['unitID']&&_0x15ecd0[_0x157c55(0x33e)]===!0x1&&_0x15ecd0[_0x157c55(0x128)]['length']>0x0&&this[_0x157c55(0x2df)](_0x15ecd0[_0x157c55(0x128)]);})),this['_syncEditingCollabCursorService'][_0x2289d2(0x21d)][_0x2289d2(0x153)](I[_0x2289d2(0x268)](this[_0x2289d2(0x30f)]))[_0x2289d2(0x22c)](_0x51f816=>{const _0x20f0a6=_0x2289d2;if((_0x51f816==null?void 0x0:_0x51f816[_0x20f0a6(0x143)])!==this[_0x20f0a6(0x143)])return;const _0x50ddd2={'eventID':g[_0x20f0a6(0x2b2)][_0x20f0a6(0x2c4)],'data':_0x51f816};this[_0x20f0a6(0x188)](_0x50ddd2);}),this[_0x2289d2(0x354)](this[_0x2289d2(0x26a)][_0x2289d2(0x258)](_0xb75277=>{const _0x582089=_0x2289d2;if(_0xb75277[_0x582089(0x215)]==null)return;const _0x316ef0=_0xb75277[_0x582089(0x215)];if(_0xb75277['id']!==V[_0x582089(0x1f4)]['id']||_0x316ef0[_0x582089(0x276)]!==this[_0x582089(0x143)])return;const _0x1a3afc={'id':'doc.mutation.rich-text-editing','params':_0x316ef0},_0x519c72=this[_0x582089(0x31d)];for(const [_0x3b89f2,_0x284bd7]of _0x519c72){const _0x47034c={'id':_0x582089(0x2d0),'params':{'unitId':this[_0x582089(0x143)],'actions':null,'textRanges':_0x284bd7[_0x582089(0x128)]}},_0x51495d=this[_0x582089(0x148)][_0x582089(0x293)](_0x1a3afc,_0x47034c,!0x1);if(g[_0x582089(0x2b6)](_0x51495d))throw _0x51495d[_0x582089(0x1d5)];_0x519c72[_0x582089(0x219)](_0x3b89f2,{..._0x284bd7,'ranges':_0x51495d[_0x582089(0x2c5)][_0x582089(0x215)][_0x582089(0x122)]});}queueMicrotask(()=>{const _0x4ad8ac=_0x582089;this[_0x4ad8ac(0x1f3)][_0x4ad8ac(0x1a7)](_0x519c72);});})));}[_0x4885bf(0x188)](_0x4d272b){const _0x4751e6=_0x4885bf;var _0x3f2cba,_0x52dd52;const {memberID:_0x42097d,selection:_0x237162}=_0x4d272b[_0x4751e6(0x259)],_0xa691ab=ht(_0x237162),_0x5cf50c=(_0x52dd52=(_0x3f2cba=this[_0x4751e6(0x290)][_0x4751e6(0x300)](this[_0x4751e6(0x143)],_0x42097d))==null?void 0x0:_0x3f2cba['name'])!=null?_0x52dd52:_0x4751e6(0xe5),_0x5a4752={'color':this['_colorAssignService'][_0x4751e6(0x31f)](_0x42097d),'name':_0x5cf50c,'ranges':_0xa691ab},_0x22aa7c=this[_0x4751e6(0x31d)];_0x22aa7c[_0x4751e6(0x219)](_0x42097d,_0x5a4752),this['_cursorInfo$'][_0x4751e6(0x1a7)](_0x22aa7c);}['_onCursorDelete'](_0x448b45){const _0x3fb7ef=_0x4885bf,{memberID:_0x38a2cd}=_0x448b45[_0x3fb7ef(0x259)],_0x2710c3=this[_0x3fb7ef(0x31d)];_0x2710c3[_0x3fb7ef(0x2a1)](_0x38a2cd),this[_0x3fb7ef(0x1f3)][_0x3fb7ef(0x1a7)](_0x2710c3);}[_0x4885bf(0x29e)](){const _0x1404d0=_0x4885bf;var _0x4218d1;if(this['_online']=!0x0,((_0x4218d1=this[_0x1404d0(0x189)][_0x1404d0(0x277)]())==null?void 0x0:_0x4218d1['getUnitId']())!==this[_0x1404d0(0x143)])return;const _0x174633=this['_injector'][_0x1404d0(0x1b8)](V[_0x1404d0(0xe6)])[_0x1404d0(0x263)]();Array[_0x1404d0(0x2cd)](_0x174633)&&_0x174633[_0x1404d0(0x12a)]>0x0&&this['_updateLocalCursor'](_0x174633);}[_0x4885bf(0x27d)](){this['_online']=!0x1;}};ve=It([U(0x2,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),U(0x3,a[_0x4885bf(0xe0)](Re)),U(0x4,a[_0x4885bf(0xe0)](u[_0x4885bf(0x235)])),U(0x5,a[_0x4885bf(0xe0)](be)),U(0x6,g[_0x4885bf(0x29a)]),U(0x7,a[_0x4885bf(0x2b8)]),U(0x8,a['ICommandService'])],ve);var ft=Object[_0x4885bf(0xee)],mt=(_0x543ea2,_0xed488b,_0x42ea64,_0x35c8f8)=>{const _0x2dbdfe=_0x4885bf;for(var _0x195f42=_0x35c8f8>0x1?void 0x0:_0x35c8f8?ft(_0xed488b,_0x42ea64):_0xed488b,_0x15cfb4=_0x543ea2[_0x2dbdfe(0x12a)]-0x1,_0x2dbb07;_0x15cfb4>=0x0;_0x15cfb4--)(_0x2dbb07=_0x543ea2[_0x15cfb4])&&(_0x195f42=_0x2dbb07(_0x195f42)||_0x195f42);return _0x195f42;},w=(_0x31a2cb,_0x51e04e)=>(_0x28944e,_0x15cdec)=>_0x51e04e(_0x28944e,_0x15cdec,_0x31a2cb);const vt=0x12c,gt=0x64,Et=()=>{let _0xeb0beb=[],_0x551418=!0x1;return _0x5ef5b7=>{_0xeb0beb['push'](_0x5ef5b7),_0x551418||(_0x551418=!0x0,setTimeout(()=>{const _0xcf7b86=_0x30e5;_0xeb0beb[_0xcf7b86(0x28d)](_0x497c74=>_0x497c74()),_0xeb0beb=[],_0x551418=!0x1;}));};};let ge=class extends a[_0x4885bf(0x1aa)]{constructor(_0x5553a6,_0x12833b,_0x3a108e,_0x33436d,_0x4d6599,_0xc0387b,_0x1ffc48,_0x4d262d){const _0x18a3c1=_0x4885bf;super(),_(this,'_online',!0x1),_(this,_0x18a3c1(0x2a5),!0x1),_(this,_0x18a3c1(0x1f3),new I[(_0x18a3c1(0x2cb))](new Map())),_(this,_0x18a3c1(0x35c),this[_0x18a3c1(0x1f3)]['asObservable']()),_(this,'_roomMembers$',new I[(_0x18a3c1(0x2cb))]([])),_(this,_0x18a3c1(0x10f),this[_0x18a3c1(0x34f)][_0x18a3c1(0x153)](I[_0x18a3c1(0x1cd)](vt))),_(this,_0x18a3c1(0x2df),a[_0x18a3c1(0xf6)]((_0x44a399,_0xa0324e)=>{const _0x5bd71f=_0x18a3c1,_0x1eaac5={'eventID':g[_0x5bd71f(0x2b2)][_0x5bd71f(0x2c4)],'data':{'unitID':this[_0x5bd71f(0x143)],'memberID':this[_0x5bd71f(0x2a3)][_0x5bd71f(0x35f)](),'selection':B[_0x5bd71f(0x2fc)](_0x44a399,_0xa0324e[_0x5bd71f(0xbb)])}};this[_0x5bd71f(0x2a3)]['send'](_0x1eaac5,this['unitID']);},gt)),(this['unitID']=_0x5553a6,this['_session']=_0x12833b,this[_0x18a3c1(0x17e)]=_0x3a108e,this['_colorAssignService']=_0x33436d,this[_0x18a3c1(0x290)]=_0x4d6599,this[_0x18a3c1(0x189)]=_0xc0387b,this[_0x18a3c1(0x26a)]=_0x1ffc48,this[_0x18a3c1(0x2c1)]=_0x4d262d);}get[_0x4885bf(0x31d)](){const _0x124014=_0x4885bf;return this[_0x124014(0x1f3)][_0x124014(0x1cf)]();}get[_0x4885bf(0x98)](){const _0x67a5f0=_0x4885bf;return this['_roomMembers$'][_0x67a5f0(0x1cf)]();}[_0x4885bf(0xcf)](){const _0x175f30=_0x4885bf;super[_0x175f30(0xcf)](),this['_cursorInfo$'][_0x175f30(0x1a7)](new Map()),this[_0x175f30(0x1f3)][_0x175f30(0x90)](),this[_0x175f30(0x34f)]['next']([]),this[_0x175f30(0x34f)]['complete']();}['init'](){const _0x4f399c=_0x4885bf;this[_0x4f399c(0x2a5)]||(this[_0x4f399c(0x2a5)]=!0x0,this[_0x4f399c(0x2a3)][_0x4f399c(0x2e8)][_0x4f399c(0x153)](I['takeUntil'](this[_0x4f399c(0x30f)]))[_0x4f399c(0x22c)](_0x581cb3=>{const _0x2420ba=_0x4f399c;_0x581cb3===u['SessionStatus'][_0x2420ba(0x269)]?this[_0x2420ba(0x29e)]():this['_toggleOffline']();}),this['_session'][_0x4f399c(0x31c)][_0x4f399c(0x153)](I[_0x4f399c(0x268)](this['dispose$']))[_0x4f399c(0x22c)](_0x4996d0=>{const _0x1dce65=_0x4f399c,_0x201269=_0x4996d0['eventID'];_0x201269===g[_0x1dce65(0x2b2)][_0x1dce65(0x2c4)]&&this[_0x1dce65(0x188)](_0x4996d0),_0x201269===g[_0x1dce65(0x2b2)]['USERS_LEAVE']&&this[_0x1dce65(0x8e)](_0x4996d0);}),this[_0x4f399c(0x2ac)](),this['disposeWithMe'](this[_0x4f399c(0x26a)][_0x4f399c(0x258)](_0x3dcc0f=>{const _0x5b2dbd=_0x4f399c;if(this[_0x5b2dbd(0xb8)]&&_0x3dcc0f['id']===v[_0x5b2dbd(0xde)]['id']&&_0x3dcc0f['params'][_0x5b2dbd(0x276)]===this['unitID']){const _0x51e406=_0x3dcc0f[_0x5b2dbd(0x215)];this[_0x5b2dbd(0x2df)](_0x51e406[_0x5b2dbd(0x2ba)],_0x51e406[_0x5b2dbd(0x1df)][0x0]);}})));}['_onCursorUpdate'](_0x16b680){const _0x25a8f9=_0x4885bf;var _0x365ed9,_0x27f4a1;const {memberID:_0x3aeec0,selection:_0x1ede50}=_0x16b680['data'],{sheetName:_0x5b9d73,range:_0x3a9d12}=B[_0x25a8f9(0xeb)](_0x1ede50),_0x31c49d={'name':(_0x27f4a1=(_0x365ed9=this['_memberService']['getMember'](this[_0x25a8f9(0x143)],_0x3aeec0))==null?void 0x0:_0x365ed9[_0x25a8f9(0x30b)])!=null?_0x27f4a1:_0x25a8f9(0xe5),'range':this[_0x25a8f9(0x2dd)](_0x5b9d73,_0x3a9d12),'sheetID':_0x5b9d73,'color':this[_0x25a8f9(0x335)]['assignAColorForMemberID'](_0x3aeec0),'selection':_0x1ede50},_0x56b952=this['cursorInfo'];_0x56b952['set'](_0x3aeec0,_0x31c49d),this[_0x25a8f9(0x1f3)][_0x25a8f9(0x1a7)](_0x56b952);}[_0x4885bf(0x8e)](_0x3cb290){const _0x15d6a0=_0x4885bf,{memberID:_0x67041c}=_0x3cb290['data'],_0x318ddd=this[_0x15d6a0(0x31d)];_0x318ddd[_0x15d6a0(0x2a1)](_0x67041c),this[_0x15d6a0(0x1f3)][_0x15d6a0(0x1a7)](_0x318ddd);}['_getMergeRange'](_0x36edcc,_0x20aa62){const _0x1a333b=_0x4885bf;var _0x276b5d,_0x1bbf44;const _0x54854d=(_0x1bbf44=(_0x276b5d=this['_univerInstanceService'][_0x1a333b(0x18e)](this['unitID']))==null?void 0x0:_0x276b5d[_0x1a333b(0x2e2)](_0x36edcc))==null?void 0x0:_0x1bbf44[_0x1a333b(0x27e)]();return(_0x54854d==null?void 0x0:_0x54854d[_0x1a333b(0x23a)](_0x518983=>a['Rectangle'][_0x1a333b(0x210)](_0x518983,_0x20aa62)))||_0x20aa62;}['_onRefRangeChange'](){const _0x5ddeb9=_0x4885bf,_0x495932=new a[(_0x5ddeb9(0x25b))](),_0xdf1eaa=Et(),_0x15fe4e=()=>{const _0x49321d=_0x5ddeb9;_0x495932['dispose']();const _0x37829=(_0x4c6e5b,_0xfe7fe2,_0x5bce6a,_0x528433)=>{const _0xa0bfc0=_0x30e5;let _0x1caaf1=[];switch(_0x4c6e5b['id']){case v[_0xa0bfc0(0x140)][_0xa0bfc0(0x308)]:{_0x1caaf1=v[_0xa0bfc0(0x129)](_0x4c6e5b,_0x528433);break;}case v[_0xa0bfc0(0x140)]['DeleteRangeMoveUpCommandId']:{_0x1caaf1=v[_0xa0bfc0(0xe4)](_0x4c6e5b,_0x528433);break;}case v['EffectRefRangId'][_0xa0bfc0(0x35e)]:{_0x1caaf1=v[_0xa0bfc0(0x105)](_0x4c6e5b,_0x528433);break;}case v[_0xa0bfc0(0x140)][_0xa0bfc0(0x1fa)]:{_0x1caaf1=v[_0xa0bfc0(0x32e)](_0x4c6e5b,_0x528433);break;}case v[_0xa0bfc0(0x140)][_0xa0bfc0(0x29d)]:{_0x1caaf1=v[_0xa0bfc0(0x212)](_0x4c6e5b,_0x528433);break;}case v['EffectRefRangId'][_0xa0bfc0(0x271)]:{_0x1caaf1=v['handleInsertRow'](_0x4c6e5b,_0x528433);break;}case v[_0xa0bfc0(0x140)][_0xa0bfc0(0xcd)]:{_0x1caaf1=v[_0xa0bfc0(0x229)](_0x4c6e5b,_0x528433);break;}case v[_0xa0bfc0(0x140)][_0xa0bfc0(0x166)]:{_0x1caaf1=v[_0xa0bfc0(0x155)](_0x4c6e5b,_0x528433);break;}case v['EffectRefRangId']['RemoveRowCommandId']:{_0x1caaf1=v[_0xa0bfc0(0x25a)](_0x4c6e5b,_0x528433);break;}}const _0x47e827=v['runRefRangeMutations'](_0x1caaf1,_0x528433),_0x29a6bd=this[_0xa0bfc0(0x31d)]['get'](_0xfe7fe2);if(_0x29a6bd&&_0x47e827){const _0x3f4ffa={..._0x29a6bd,'range':_0x47e827};this[_0xa0bfc0(0x31d)][_0xa0bfc0(0x219)](_0xfe7fe2,_0x3f4ffa),_0xdf1eaa(()=>{const _0x2e61bc=_0xa0bfc0,_0x414a39=this[_0x2e61bc(0x2c1)]['registerRefRange'](_0x47e827,_0x5d3ce1=>(_0x414a39[_0x2e61bc(0xcf)](),_0x37829(_0x5d3ce1,_0xfe7fe2,_0x5bce6a,_0x47e827)));_0x495932[_0x2e61bc(0xf1)](_0x414a39);});}return{'redos':[],'undos':[]};};this[_0x49321d(0x31d)][_0x49321d(0x28d)]((_0x44ab7e,_0x4288e7)=>{const _0x47ffc2=_0x49321d,{range:_0x2baf5f,sheetID:_0x29fd2d}=_0x44ab7e,_0x4180f9=this['_refRangeService'][_0x47ffc2(0x12e)](_0x2baf5f,_0x51ef80=>(_0x4180f9[_0x47ffc2(0xcf)](),_0x37829(_0x51ef80,_0x4288e7,_0x29fd2d,_0x2baf5f)));_0x495932['add'](_0x4180f9);});};this[_0x5ddeb9(0x354)](a['toDisposable'](this[_0x5ddeb9(0x1f3)][_0x5ddeb9(0x22c)](()=>{_0x15fe4e();})));}[_0x4885bf(0x29e)](){const _0x4aff92=_0x4885bf;var _0x3df352,_0x352584;if(this[_0x4aff92(0xb8)]=!0x0,((_0x3df352=this[_0x4aff92(0x189)][_0x4aff92(0x277)]())==null?void 0x0:_0x3df352[_0x4aff92(0x2fb)]())!==this[_0x4aff92(0x143)])return;const _0x5f4745=(_0x352584=this['_injector'][_0x4aff92(0x1b8)](v[_0x4aff92(0xce)])['getCurrentSelections']())==null?void 0x0:_0x352584[0x0],_0x46c605=this['_univerInstanceService'][_0x4aff92(0x1fb)](a[_0x4aff92(0x311)][_0x4aff92(0x28c)])['getActiveSheet']();_0x5f4745&&_0x46c605&&this['_updateLocalCursor'](_0x46c605[_0x4aff92(0xb9)](),_0x5f4745);}[_0x4885bf(0x27d)](){const _0x4fd1e1=_0x4885bf;this[_0x4fd1e1(0xb8)]=!0x1;}};ge=mt([w(0x2,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),w(0x3,a[_0x4885bf(0xe0)](Re)),w(0x4,a[_0x4885bf(0xe0)](u['MemberService'])),w(0x5,a['IUniverInstanceService']),w(0x6,a[_0x4885bf(0x2a2)]),w(0x7,a['Inject'](v[_0x4885bf(0x174)]))],ge);var Ct=Object[_0x4885bf(0xee)],pt=(_0x3ee7d5,_0x291204,_0x316a1c,_0x3a67d6)=>{const _0x412231=_0x4885bf;for(var _0x4c0584=_0x3a67d6>0x1?void 0x0:_0x3a67d6?Ct(_0x291204,_0x316a1c):_0x291204,_0x7969a0=_0x3ee7d5[_0x412231(0x12a)]-0x1,_0x41c397;_0x7969a0>=0x0;_0x7969a0--)(_0x41c397=_0x3ee7d5[_0x7969a0])&&(_0x4c0584=_0x41c397(_0x4c0584)||_0x4c0584);return _0x4c0584;},ce=(_0x3d0aa7,_0x261e55)=>(_0xd92991,_0x3aaf74)=>_0x261e55(_0xd92991,_0x3aaf74,_0x3d0aa7);let F=class extends a[_0x4885bf(0x1aa)]{constructor(_0x545a34,_0x587e98,_0x1dd3b2){const _0x3bb335=_0x4885bf;super(),_(this,_0x3bb335(0x23f),new Map()),_(this,_0x3bb335(0x239),new I[(_0x3bb335(0x207))]()),(this[_0x3bb335(0x189)]=_0x545a34,this[_0x3bb335(0x17e)]=_0x587e98,this[_0x3bb335(0x32a)]=_0x1dd3b2,this[_0x3bb335(0x2a5)]());}[_0x4885bf(0xcf)](){const _0x1fab47=_0x4885bf;super[_0x1fab47(0xcf)](),this[_0x1fab47(0x239)][_0x1fab47(0x90)](),this['_entities']['forEach'](_0x1f15d9=>_0x1f15d9[_0x1fab47(0xcf)]());}[_0x4885bf(0x232)](_0x22d36c){const _0x14e53c=_0x4885bf;return this[_0x14e53c(0x23f)][_0x14e53c(0x11b)](_0x22d36c)?this[_0x14e53c(0x23f)][_0x14e53c(0x1b8)](_0x22d36c)[_0x14e53c(0x35c)]:this['_entityInit$']['pipe'](I[_0x14e53c(0x1db)](_0x393208=>_0x393208[_0x14e53c(0x143)]===_0x22d36c),I[_0x14e53c(0xea)](_0x1b2659=>_0x1b2659[_0x14e53c(0x35c)]));}['_init'](){const _0x1199fd=_0x4885bf;this['_univerInstanceService'][_0x1199fd(0x33d)](a['UniverInstanceType'][_0x1199fd(0x28c)])[_0x1199fd(0x153)](I[_0x1199fd(0x268)](this['dispose$']))[_0x1199fd(0x22c)](async _0x54ec1f=>{const _0x191484=_0x1199fd,_0x4bae04=_0x54ec1f[_0x191484(0x2fb)](),_0x26be81=await this['_startSheetCollabCursor'](_0x4bae04);this[_0x191484(0x239)][_0x191484(0x1a7)](_0x26be81),this['_entities']['set'](_0x4bae04,_0x26be81);}),this['_univerInstanceService'][_0x1199fd(0x33d)](a[_0x1199fd(0x311)][_0x1199fd(0xf4)])[_0x1199fd(0x153)](I[_0x1199fd(0x268)](this[_0x1199fd(0x30f)]))[_0x1199fd(0x153)](I['filter'](_0x5e8573=>!_0x5e8573[_0x1199fd(0x2fb)]()[_0x1199fd(0x191)]('__')))[_0x1199fd(0x22c)](async _0x2ef073=>{const _0x20f7f9=_0x1199fd,_0x568f54=_0x2ef073[_0x20f7f9(0x2fb)](),_0x4430ca=await this['_startDocCollabCursor'](_0x568f54);this[_0x20f7f9(0x239)][_0x20f7f9(0x1a7)](_0x4430ca),this['_entities'][_0x20f7f9(0x219)](_0x568f54,_0x4430ca);}),I[_0x1199fd(0x1cb)](this[_0x1199fd(0x189)][_0x1199fd(0x13e)](a[_0x1199fd(0x311)][_0x1199fd(0xf4)]),this[_0x1199fd(0x189)][_0x1199fd(0x13e)](a[_0x1199fd(0x311)][_0x1199fd(0x28c)]))[_0x1199fd(0x153)](I['takeUntil'](this[_0x1199fd(0x30f)]))[_0x1199fd(0x22c)](_0x3cc000=>{const _0x31b871=_0x1199fd,_0x5827f4=_0x3cc000['getUnitId'](),_0xa8acf7=this[_0x31b871(0x23f)][_0x31b871(0x1b8)](_0x5827f4);_0xa8acf7&&(_0xa8acf7[_0x31b871(0xcf)](),this['_entities'][_0x31b871(0x2a1)](_0x5827f4));});}async[_0x4885bf(0x101)](_0x2252b7){const _0x1a55a8=_0x4885bf,_0x4f7c34=await this[_0x1a55a8(0x32a)][_0x1a55a8(0x16a)](_0x2252b7),_0x4e17be=this[_0x1a55a8(0x17e)][_0x1a55a8(0x144)](ge,_0x2252b7,_0x4f7c34);return _0x4e17be['init'](),_0x4e17be;}async[_0x4885bf(0x104)](_0x38531c){const _0x7396ce=_0x4885bf,_0x28c1b9=await this[_0x7396ce(0x32a)][_0x7396ce(0x16a)](_0x38531c),_0x42b1a5=this['_injector']['createInstance'](ve,_0x38531c,_0x28c1b9);return _0x42b1a5[_0x7396ce(0x288)](),_0x42b1a5;}};function _0x7782(){const _0x41cc85=['LICENSE_DISTRO_REJECTED','_getScale','/run/','_taskIds','_getSessionTicket','transformSelections','_range','_initUnhandledRejectionListener','RevisionService','_releaseCalculationLimit','Subject','pluginName','IDocClipboardService','Vector2','stageInfo','text','NodePositionConvertToCursor','ENTITLE_INSUFFICIENT_QUOTA','current','contains','JOIN_ROOM_FAILED','handleInsertRangeMoveRight','onPointerEnter$','_updateCollabCursors','params','arc','0\x200\x2016\x2016','_transformHistoryAndStateStack','set','lineTo','lineno','_syncEditingCollabCursorService','collabCursorState$','getUnhiddenWorksheets','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SetTextSelectionsOperation','NodePositionConvertToRectRange','combineLatest','catch','_cachedData','LOGIN_FAILED','code','getformulaLimitStatusUrl','_assignedColors','handleMoveRange','YUUMI_RATE_OVER_LIMIT','univer-flex\x20univer-items-center','subscribe','_collaborationUIEventService','evenodd','stack','path','REDEMPTION_CODE_HAS_BEEN_CREATED','getCollabCursors$','setStateCache','YUUMI_URL_COL_OUT_OF_RANGE','MemberService','onStarting','_initCommandInterceptor','off-line-icon_clip0_910_343','_entityInit$','find','href','collaboration-client-ui.config','resize','ENTITLE_DUP_SUBSCRIPTION','_entities','getRangePointData','WebBrowserSingleActiveUnitService','limitInfo','search','DocStateChangeManagerService','WECHAT_HAS_BEEN_BOUND','110949luqNvG','_eventUnsubscribe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_currentUsage','stage','_docStateChangeManagerService','actions','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_UNABLE_LOAD_URL','_initWindowErrorListener','_setupSubUnitSync','asObservable','_initStatusComponent','UNAUTHENTICATED','_removeCollabCursors','IMessageService','PENDING','Shape','onCommandExecuted','data','handleIRemoveRow','DisposableCollection','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','measureText','endRow','ticket','_textBubble','startRow','PAYMENT_CHANNEL_NOT_SUPPORT','getDocRanges','_ensureSubject','url(#off-line-icon_clip0_910_343)','OTHER_CLIENTS_EDITING','SOCKET_FAILED_RETRY','takeUntil','ONLINE','_commandService','includes','FETCH_MISS','_name','body','currentUsage','font','InsertRowCommandId','ENTITLE_CHAT_LIMIT_EXCEED','useRef','_draw','replaceDocRanges','unitId','getFocusedUnit','SNAPSHOT_HAS_BEEN_REMOVED','_pollingInterval','_docTransformStateCacheService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unit','_toggleOffline','getMergeData','unsubscribe','YUUMI_CONNECTOR_URL_NOT_FOUND','ILocalCacheService','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_uiPartsService','syncEditingCollabCursor','_initResize','UniverCollaborationClientPlugin','init','88MLGKEX','_document','Rect','UNIVER_SHEET','forEach','_memberID','createElement','_memberService','ALREADY_EXISTS','MUTATION','transformMutation','socket$','clearInterval','_initEvent','_collabCursorState$','AUTHORIZE_CODE_ILLEGAL','_saveTaskMap','ITransformService','black','addEventListener','InsertRangeMoveRightCommandId','_toggleOnline','_config','toString','delete','ICommandService','_session','_scheduleHeartbeat','_init','_handleLeaveEvent','endColumn','removeEventListener','getSkeleton','source','RegularPolygon','_onRefRangeChange','height','children','_monkeyPatchLogService','unhandledrejection','addObject','CollaborationEvent','USER_NOT_INVITED_CODE','Plugin','round','isTransformMutationFailure','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IUniverInstanceService','ThemeService','subUnitId','_getSheetObject','SetFormulaCalculationNotificationMutation','popstate','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','totalFormulasToCalculate','_refRangeService','use','registerDependencies','UPDATE_CURSOR','m2Prime','distinctUntilChanged','getConfig','[CollaborationDataLoaderController]','purple.300','shareReplay','BehaviorSubject','clearTimeout','isArray','imageSourceType','entries','doc.mutation.rich-text-editing','labelPosition','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','IRemoteInstanceService','2816744BWWTHH','transformRemoteChangeset','map','EMAIL_VERIFY_CODE_MISMATCH','BuiltInUIPart','url(#on-line-icon_clip0_910_349)','DataLoaderService','SHEET_VIEWPORT_KEY','_getMergeRange','_transformPreviousActiveRange','_updateLocalCursor','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon','getSheetBySheetId','_lastPointer','Loading','_configService','_docTransformSelectionsService','_cursorShapes','sessionStatus$','debug','RECT','url(#$1','_hideTimer','findNodePositionByCharIndex','uni.network.url-service','size','generateRandomId','toRgbString','reconnect','toStringTag','M0\x200H16V16H0z','CONFLICT','green.600','setTimeout','SUCCESS','DATA_SOURCE_TOO_LARGE','collaboration.single-unit.warning','getUnitId','serializeRangeWithSheet','assign','REDEMPTION_CODE_NOT_STARTED','FormulaExecutedStateType','getMember','substring','_context','getCurrentRevOfUnit','column','collab-text-range-','executeCommand','CollaborationSessionService','DeleteRangeMoveLeftCommandId','NOT_FOUND','_scheduleSaving','name','getActiveSheet','CollaborationStatus','whenReady','dispose$','selection','UniverInstanceType','_showGuardMessage','getParam','UNDEFINED','_docTransformIMECacheService','_urlService','saveImage','registerBeforeClose','loadUnit','_checkCalculationAvailable','_cursors','event$','cursorInfo','_docSkeletonManagerService','assignAColorForMemberID','HEADER_MENU','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','invokeId','attrs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','defs','ISocketService','_sheetSkeletonManagerService','getAncestorScale','CHANGESET_REVISION_CONFILICT','_collabSessionService','\x20at\x20','onLocalMutation','_lastResponseTimestamp','handleInsertRangeMoveDown','_handleEvent','824316oXaSxF','color','_cursor','NOT_COLLAB','APPLY_NON_SEQUENTIAL_REVISION','_colorAssignService','_themeService','_applyCommand','getUnitStatus$','activeSheet$','push','APPLY_DUPLICATED','INVALID_ARGUMENT','getTypeOfUnitAdded$','isEditing','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','saveOfflineData','_startCalculationLimit','_renderManagerService','RemoteUniscriptService','getLocalCacheKey','_shapes','REDEMPTION_CODE_INACTIVE','/universer-api/frontend/logs','collabStatus.syncing','getUndoRedoMutationParamsCache','clipPath','CollaborationUIEventService','addObjects','registerComponent','parseInt','_roomMembers$','collabStatus.synced','replaceState','UNRECOGNIZED','_uploadLog','disposeWithMe','WebURLService','functionsExecutedState','CollaborationController','HTTPService','_initUserListener','_hasFormulaInDirtyRanges','restore','cursorInfo$','0\x200\x2017\x2016','InsertColCommandId','getMemberID','type','getUnit','colorChannel1','_onCursorDelete','INVALID_INVITE_CODE','complete','USER_IS_ANONYMOUS','_render','CONNECTOR_DATA_TOO_LARGE','parse','none','throttleTime','registerRenderModule','roomMembers','UniverCollaborationClientUIPlugin','MOBILE_HAS_BEEN_BOUND','focused$','Warning','getRelativeToViewportCoord','LICENSE_EXPORT_SIZE_EXCEEDED','show','_docSkeleton','_revisionService','newValue','onPointerLeave$','SOCKET_FAILED','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','_removeClearOtherTimer','IUIPartsService','min','createIdentifier','PERMISSION_DENIED','USER_NOT_FOUND','_getAnchorBounding','OnLineIcon','top','getCellPositionByOffset','key','DocIMEInputManagerService','entityInit$','getCurrent','collabStatus.notCollab','setAlpha','reason','_online','getSheetId','_backgroundColor','range','getActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','_anchor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Failed','_beforeCloseService','_setupBeforeClosingHandler','#FFF','backgroundColor','_scene','jiqing.500','wsSessionTicketUrl','rgba(255,\x20255,\x20255,\x200.01)','_updateSubUnitFromURLParams','START_CALCULATION','LocaleService','CURRENT_STATUS_CANNOT_OPERATE','MoveRangeCommandId','SheetsSelectionsService','dispose','univerjs-icon\x20univerjs-icon-','_selfUnitIDs','COLORS','xlink:href','_docClipboardService','_unitStatus','_anchorDot','74996FXoKtl','urlChange$','_initCommandExecutedListener','subscribeEvent','message','_color','blue.400','SetSelectionsOperation','string','Inject','pushState','history','Tools','handleDeleteRangeMoveUp','Unknown\x20user','DocSelectionManagerService','_unitOnClients','1em','TEXT_RANGE_LAYER_INDEX','switchMap','deserializeRangeWithSheet','all','startFormulaLimitUrl','getOwnPropertyDescriptor','APPLY_REJECT','_localCacheService','add','origin','sheetID','UNIVER_DOC','collab-rect-range-','debounce','Error','INTERNAL_ERROR','white','APPLY_REVISION_CONFILICT','_maxFormulaLimit','tag','ENTITLE_CAN_NOT_BUY_LOWER_OTP','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','some','_handleHeartbeatEvent','_startSheetCollabCursor','application/json','collaboration.closeRoom','_startDocCollabCursor','handleInsertCol','IURLService','session.collaboration-timeout','LOCAL_CACHE_INTERVAL_KEY','getColor','CanceledError','formula.calculation.started','transformStateCache','SessionStatus','getItem','roomMembers$','mutations','subunit','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVITE_CODE_HAS_BEEN_UES','SheetCollabCursorShape','now','fillText','isTransformMutationsWithChangesetSuccess','41983623AFvQts','_setFormulaLimitStatus','[Unhandled\x20Rejection]:\x20','has','SYNCED','_handleJoinEvent','380wIFfuI','ENTITLE_REPORT_LIMIT_EXCEED','getVpScrollXYInfoByPosToVp','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','textRanges','2974559aVElHo','session.will-retry','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_hovered','_checkAndWaitForCalculationPermission','ranges','handleDeleteRangeMoveLeft','length','filename','INotificationService','_collabCursorController','registerRefRange','closePath','YUUMI_NO_CUBOID_FOR_QUESTION','ENSURE_SNAPSHOT_EXECUTION','width','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_notificationService','fillRule','_collaborationController','_drawRectRange','disableLocalCache','_heartbeatTimer','defIds','createSocket','result','colno','getTypeOfUnitDisposed$','enableLocalCache','EffectRefRangId','CollaborationUIEventId','_registerRenderDependencies','unitID','createInstance','_clearPolling','join','DocSkeletonManagerService','_transformService','deepClone','collab-client.tooltip.reconnect','OFFLINE','_dataLoaderService','_status$','forwardRef','bind','AWAITING_WITH_PENDING','DEFAULT_WS_SESSION_TICKET_URL','exhaustSavingTask','pipe','INVITE_CODE_REQUIRED','handleIRemoveCol','SetFormulaCalculationStartMutation','BrowserCollaborationSocketService','ERROR_AGAIN','_refreshCollabCursors','executionId','fill','replace','_disabled','from','ILogService','fillStyle','CollaborationDataLoaderController','/universer-api/license/formula/limit/start','setActiveRange','useObservable','/universer-api/license/formula/limit/status','RemoveColCommandId','max','IBeforeCloseService','collabStatus.offline','requireSession','m1Prime','_transformUndoRedoStack','NO_OTHER_CLIENTS_EDITING','_scheduleClearOtherTimer','currentSkeleton$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','runId','[LogService\x20Error]:\x20','drawWith','RefRangeService','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','beginPath','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleHover','currentTheme$','startColumn','post','_saveCache','_injector','searchParams','then','getStateCache','currentColor','eventID','addClipboardHook','setParam','DependentOn','memberID','_onCursorUpdate','_univerInstanceService','FormulaExecuteStageType','getSheetObject','isActive','beforeCommandExecuted','getUniverSheetInstance','unshift','_docSyncEditingCollabCursorService','startsWith','stringify','location','values','_httpService','_localStorageService','DesktopCollaborationStatusDisplayController','_drawTextRange','Injector','_messageService','UniverIcon','_initEntityListener','UnitStatus','svg','with','removeParam','_id','_getSaveTimeout','defineProperty','IRenderManagerService','getCoordByCell','idSuffix','next','TEXT','maxFormulaLimit','RxDisposable','CollaborationSocketService','_localeService','APPLY_PERMISSION_DENIED','_send','getOffsetConfig','setItem','row','Disposable','div','off-line-icon','_getFormulaLimitStatus','YUUMI_AI_RUN_FAILED','_labelPosition','get','displayName','LOGIN_TOKEN_PROCESSING_FAILED','AWAITING','docStateChange$','10753020aSyWLD','onMouseMove','ColorKit','jsx','_clearOtherTimers','TOO_MANY_REQUESTS','setShapeProps','getRenderById','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hovered','getColorFromTheme','isFormulaString','disposeUnit','SetDocZoomRatioOperation','merge','_registerDependencies','debounceTime','split','getValue','_initStatusListener','REDEMPTION_INVALID_CODE','engine','translate(.97)','skeleton','error','YUUMI_ASYNCIO_CANCELLED','bottom','MessageType','save','_drawAnchor','filter','undoState','override','enableFrontendLog','selections','transformByState','_hover','loadOfflineData','collabStatus.fetchMiss','fromEventSubject','fromEvent','/universer-api/license/formula/limit/done','editingUnit','_imageIoService','ENTITLE_NEED_BILLING_ADDRESS','_createSocketURL','dirtyRanges','onRendered','_logService','EMAIL_HAS_BEEN_BOUND','session.connection-failed','mapTo','symbol','IConfigService','_cursorInfo$','RichTextEditingMutation','mask','...','DOC_RANGE_TYPE','transformMutationsWithChangeset','_updateURLWithCurrentState','InsertRangeMoveDownCommandId','getCurrentUnitForType','OTHER_CLIENT_EDITING'];_0x7782=function(){return _0x41cc85;};return _0x7782();}F=pt([ce(0x0,a[_0x4885bf(0x2b8)]),ce(0x1,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),ce(0x2,a['Inject'](u[_0x4885bf(0x307)]))],F);const X=0x14,Ue=0xc8,le=0x4,Tt=0x5;function Ot(_0x27355b,_0x35b216){const _0x3773f8=_0x4885bf;let {radius:_0x20860b,width:_0xd7a10d,height:_0x524d39}=_0x35b216;_0x20860b=_0x20860b!=null?_0x20860b:0x0,_0xd7a10d=_0xd7a10d!=null?_0xd7a10d:0x1e,_0x524d39=_0x524d39!=null?_0x524d39:0x1e;let _0x5193c7=0x0,_0x1a96c4=0x0,_0x5fd8a1=0x0;_0x5193c7=_0x1a96c4=_0x5fd8a1=Math[_0x3773f8(0xa9)](_0x20860b,_0xd7a10d/0x2,_0x524d39/0x2),_0x27355b[_0x3773f8(0x177)](),_0x27355b['moveTo'](_0x5193c7,0x0),_0x27355b[_0x3773f8(0x21a)](_0xd7a10d-_0x1a96c4,0x0),_0x27355b[_0x3773f8(0x216)](_0xd7a10d-_0x1a96c4,_0x1a96c4,_0x1a96c4,Math['PI']*0x3/0x2,0x0,!0x1),_0x27355b[_0x3773f8(0x21a)](_0xd7a10d,_0x524d39-_0x5fd8a1),_0x27355b['arc'](_0xd7a10d-_0x5fd8a1,_0x524d39-_0x5fd8a1,_0x5fd8a1,0x0,Math['PI']/0x2,!0x1),_0x27355b['lineTo'](0x0,_0x524d39),_0x27355b['lineTo'](0x0,_0x5193c7),_0x27355b[_0x3773f8(0x216)](_0x5193c7,_0x5193c7,_0x5193c7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27355b[_0x3773f8(0x12f)](),_0x35b216[_0x3773f8(0x15b)]&&(_0x27355b[_0x3773f8(0x1d9)](),_0x27355b[_0x3773f8(0x160)]=_0x35b216[_0x3773f8(0x15b)],_0x35b216[_0x3773f8(0x135)]===_0x3773f8(0x22e)?_0x27355b[_0x3773f8(0x15b)](_0x3773f8(0x22e)):_0x27355b[_0x3773f8(0x15b)](),_0x27355b['restore']());}class re extends C[_0x4885bf(0x257)]{constructor(_0x57f920,_0x115368){const _0x558165=_0x4885bf;super(_0x57f920,_0x115368),_(this,'color'),_(this,_0x558165(0x20c)),(this[_0x558165(0x331)]=_0x115368==null?void 0x0:_0x115368[_0x558165(0x331)],this['text']=_0x115368==null?void 0x0:_0x115368[_0x558165(0x20c)]);}static['drawWith'](_0x2aa97e,_0x131c48){const _0x1fbe93=_0x4885bf,{text:_0x272fad,color:_0x1afdb6}=_0x131c48;_0x2aa97e[_0x1fbe93(0x1d9)](),_0x2aa97e[_0x1fbe93(0x270)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x32c5d6=_0x2aa97e[_0x1fbe93(0x25d)](_0x272fad)['width'],_0x3e6ffc=Math[_0x1fbe93(0xa9)](_0x32c5d6+0x2*le,Ue);Ot(_0x2aa97e,{'height':X,'radius':0x4,'width':_0x3e6ffc,'fill':_0x1afdb6}),_0x2aa97e[_0x1fbe93(0x160)]=_0x1fbe93(0xc3);const _0x55adb2=le,_0x3bb0a3=X-Tt,_0x40291d=Ue-0x2*le;if(_0x32c5d6>_0x40291d){let _0x128a43='',_0x22a269=0x0;for(const _0x3eabe5 of _0x272fad){const _0xe9751b=_0x2aa97e[_0x1fbe93(0x25d)](_0x3eabe5)[_0x1fbe93(0x132)];if(_0x22a269+_0xe9751b<=_0x40291d-_0x2aa97e[_0x1fbe93(0x25d)](_0x1fbe93(0x1f6))[_0x1fbe93(0x132)])_0x128a43+=_0x3eabe5,_0x22a269+=_0xe9751b;else{_0x128a43+=_0x1fbe93(0x1f6);break;}}_0x2aa97e[_0x1fbe93(0x116)](_0x128a43,_0x55adb2,_0x3bb0a3);}else _0x2aa97e['fillText'](_0x272fad,_0x55adb2,_0x3bb0a3);_0x2aa97e[_0x1fbe93(0x35b)]();}[_0x4885bf(0x274)](_0xf4f1d7){const _0x5aa5f1=_0x4885bf;re[_0x5aa5f1(0x173)](_0xf4f1d7,this);}}const _e='collab-text-anchor-',Rt=_0x4885bf(0x305),bt=_0x4885bf(0xf5),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x4885bf(0xc8);class Le{constructor(_0x229d11,_0x5d03c4,_0x2e5f93,_0x27d07f){const _0x34fef1=_0x4885bf;_(this,'_shapes',[]),_(this,_0x34fef1(0xbe),null),_(this,_0x34fef1(0x260),null),_(this,'_anchorDot',null),_(this,_0x34fef1(0x2ec),null),_(this,_0x34fef1(0x247),null),(this[_0x34fef1(0x332)]=_0x229d11,this[_0x34fef1(0xc5)]=_0x5d03c4,this[_0x34fef1(0xa0)]=_0x2e5f93,this[_0x34fef1(0x28a)]=_0x27d07f,this[_0x34fef1(0x92)]());}set[_0x4885bf(0x1e1)](_0x341e68){const _0x41e0b8=_0x4885bf;_0x341e68?(this[_0x41e0b8(0xd6)]&&this[_0x41e0b8(0xd6)]['hide'](),this[_0x41e0b8(0x260)]&&this[_0x41e0b8(0x260)][_0x41e0b8(0x9f)]()):(this['_anchorDot']&&this['_anchorDot'][_0x41e0b8(0x9f)](),this['_textBubble']&&this[_0x41e0b8(0x260)]['hide']());}[_0x4885bf(0xcf)](){const _0x192eaa=_0x4885bf;for(const _0x5085c1 of this['_shapes'])_0x5085c1[_0x192eaa(0xcf)]();this['_textBubble']&&this[_0x192eaa(0x260)][_0x192eaa(0xcf)](),this['_anchorDot']&&this['_anchorDot'][_0x192eaa(0xcf)](),this[_0x192eaa(0xbe)]&&this[_0x192eaa(0xbe)][_0x192eaa(0xcf)](),this[_0x192eaa(0x247)]&&this[_0x192eaa(0x247)]();}[_0x4885bf(0x92)](){const _0x26bb59=_0x4885bf;var _0x42282d;const {_docSkeleton:_0x3c87d5,_document:_0x2686e4}=this,{color:_0x22881d,name:_0x121260,ranges:_0x315594}=this[_0x26bb59(0x332)],_0x297239=_0x2686e4[_0x26bb59(0x1af)](),{docsLeft:_0xf908d,docsTop:_0x22c484}=_0x297239,_0x32d1cd=new p[(_0x26bb59(0x20d))](_0x297239,_0x3c87d5);for(const {startOffset:_0x2c5c5d,endOffset:_0x28417f,rangeType:_0x58f548,segmentId:_0x124a5c,segmentPage:_0x2d7d0f,collapsed:_0x2127cd,isActive:_0x2a670a}of _0x315594){const _0x5265f6=_0x3c87d5['findNodePositionByCharIndex'](_0x2c5c5d,!0x0,_0x124a5c,_0x2d7d0f);let _0x13f2fe=_0x3c87d5[_0x26bb59(0x2ed)](_0x28417f,!0x0,_0x124a5c,_0x2d7d0f);if(_0x13f2fe==null&&(_0x13f2fe=_0x3c87d5[_0x26bb59(0x2ed)](_0x28417f-0x1,!0x1,_0x124a5c,_0x2d7d0f)),_0x2a670a){const {contentBoxPointGroup:_0x37e876}=_0x32d1cd[_0x26bb59(0x240)](_0x13f2fe,_0x13f2fe);if(_0x37e876[_0x26bb59(0x12a)]===0x0)continue;this[_0x26bb59(0x1da)](_0x22881d,_0x37e876,_0xf908d,_0x22c484,_0x121260),this[_0x26bb59(0x247)]=this[_0x26bb59(0x179)]();}if(_0x5265f6&&_0x13f2fe){if(_0x58f548===a['DOC_RANGE_TYPE'][_0x26bb59(0x2ea)]){const _0x4e844c=new p[(_0x26bb59(0x221))](_0x297239,_0x3c87d5),{pointGroup:_0x274cad}=(_0x42282d=_0x4e844c[_0x26bb59(0x240)](_0x5265f6,_0x13f2fe))!=null?_0x42282d:{};if(_0x274cad==null||_0x274cad['length']===0x0)continue;this['_drawRectRange'](_0x22881d,_0x274cad,_0xf908d,_0x22c484);}else{if(!_0x2127cd){const {borderBoxPointGroup:_0xa574d3}=_0x32d1cd[_0x26bb59(0x240)](_0x5265f6,_0x13f2fe);if(_0xa574d3[_0x26bb59(0x12a)]===0x0)continue;this[_0x26bb59(0x198)](_0x22881d,_0xa574d3,_0xf908d,_0x22c484);}}}}}[_0x4885bf(0x1da)](_0x5c9c67,_0x16ee81,_0x3f260f,_0x4aa023,_0x3b18dd){const _0x5a74cd=_0x4885bf,_0x52dbc8=this[_0x5a74cd(0xad)](_0x16ee81),{left:_0x4436b5,top:_0x5c295a,height:_0x1f7e4a}=_0x52dbc8,_0x41a59b=this[_0x5a74cd(0x1fe)](),_0x28f708=Nt/_0x41a59b,_0x13e6f1=new C[(_0x5a74cd(0x28b))](_e+a[_0x5a74cd(0x2f0)](H),{'left':_0x4436b5+_0x3f260f-_0x28f708,'top':_0x5c295a+_0x4aa023,'height':_0x1f7e4a,'width':Dt,'fill':_0x5c9c67||C[_0x5a74cd(0x109)](a[_0x5a74cd(0xd2)][_0x5a74cd(0x29b)],0x0),'strokeWidth':_0x28f708,'stroke':Ut,'evented':!0x0});this[_0x5a74cd(0xbe)]=_0x13e6f1,this[_0x5a74cd(0xc5)][_0x5a74cd(0x2b1)](_0x13e6f1,p[_0x5a74cd(0xe9)]);const _0x1520a0=new C[(_0x5a74cd(0x28b))](_e+a['generateRandomId'](H),{'left':_0x4436b5+_0x3f260f-_0x28f708,'top':_0x5c295a+_0x4aa023-he/0x2,'height':he,'width':he,'fill':_0x5c9c67||C['getColor'](a[_0x5a74cd(0xd2)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5c9c67||C[_0x5a74cd(0x109)](a['COLORS'][_0x5a74cd(0x29b)],0x0),'evented':!0x1});this[_0x5a74cd(0xd6)]=_0x1520a0,this[_0x5a74cd(0xc5)]['addObject'](_0x1520a0,p[_0x5a74cd(0xe9)]);const _0x256d15=new re(_e+a[_0x5a74cd(0x2f0)](H),{'left':_0x4436b5+_0x3f260f-_0x28f708,'top':_0x5c295a+_0x4aa023-X,'text':_0x3b18dd,'color':_0x5c9c67});this[_0x5a74cd(0x260)]=_0x256d15,this[_0x5a74cd(0xc5)][_0x5a74cd(0x2b1)](_0x256d15,p[_0x5a74cd(0xe9)]),this[_0x5a74cd(0x1e1)]=!0x1;}[_0x4885bf(0x179)](){const _0x50c41d=_0x4885bf,_0x589d1e=this['_anchor'][_0x50c41d(0x213)][_0x50c41d(0xda)](()=>{const _0x4e9bdd=_0x50c41d;this[_0x4e9bdd(0x1e1)]=!0x0;}),_0x272825=this['_anchor'][_0x50c41d(0xa3)][_0x50c41d(0xda)](()=>{const _0x1a1d16=_0x50c41d;this[_0x1a1d16(0x2ec)]&&clearTimeout(this['_hideTimer']),this[_0x1a1d16(0x2ec)]=setTimeout(()=>{const _0xe8c776=_0x1a1d16;this[_0xe8c776(0x1e1)]=!0x1;},0x7d0);});return()=>{const _0x1b938c=_0x50c41d;_0x589d1e[_0x1b938c(0x27f)](),_0x272825[_0x1b938c(0x27f)]();};}[_0x4885bf(0x198)](_0xa0540,_0x9d10fe,_0x520cab,_0x1cbd26){const _0x15c36d=_0x4885bf,_0x32a4ed=new a[(_0x15c36d(0x1bf))](_0xa0540)[_0x15c36d(0xb6)](0.2)[_0x15c36d(0x2f1)](),_0x413588=new C[(_0x15c36d(0x2ab))](Rt+a[_0x15c36d(0x2f0)](H),{'pointsGroup':_0x9d10fe,'fill':_0x32a4ed||C[_0x15c36d(0x109)](a[_0x15c36d(0xd2)][_0x15c36d(0x29b)],0.2),'left':_0x520cab,'top':_0x1cbd26,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15c36d(0x345)]['push'](_0x413588),this[_0x15c36d(0xc5)]['addObject'](_0x413588,p['TEXT_RANGE_LAYER_INDEX']);}[_0x4885bf(0x137)](_0x2a7b5d,_0x563cf2,_0x1f9ec4,_0x5d950a){const _0x1fc037=_0x4885bf,_0x11f728=new a[(_0x1fc037(0x1bf))](_0x2a7b5d)['setAlpha'](0.2)[_0x1fc037(0x2f1)](),_0x25532b=new C['RegularPolygon'](bt+a[_0x1fc037(0x2f0)](H),{'pointsGroup':_0x563cf2,'fill':_0x11f728||C[_0x1fc037(0x109)](a['COLORS'][_0x1fc037(0x29b)],0.2),'left':_0x1f9ec4,'top':_0x5d950a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1fc037(0x33a)](_0x25532b),this['_scene'][_0x1fc037(0x2b1)](_0x25532b,p[_0x1fc037(0xe9)]);}[_0x4885bf(0xad)](_0x469f92){const _0x4b8cbf=_0x469f92[0x0],_0x555fe6=_0x4b8cbf[0x0],_0x12669d=_0x4b8cbf[0x2],{x:_0xb4cb24,y:_0x47f795}=_0x555fe6,{x:_0x135894,y:_0x1635cb}=_0x12669d;return{'left':_0xb4cb24,'top':_0x47f795,'width':_0x135894-_0xb4cb24,'height':_0x1635cb-_0x47f795};}['_getScale'](){const _0xa3cd24=_0x4885bf,{scaleX:_0x3a2a3e,scaleY:_0x579335}=this[_0xa3cd24(0xc5)][_0xa3cd24(0x328)]();return Math[_0xa3cd24(0x167)](_0x3a2a3e,_0x579335);}}var Lt=Object[_0x4885bf(0xee)],Mt=(_0x2c268b,_0x5303dc,_0x4169ae,_0x47c554)=>{const _0x328503=_0x4885bf;for(var _0x211839=_0x47c554>0x1?void 0x0:_0x47c554?Lt(_0x5303dc,_0x4169ae):_0x5303dc,_0x565326=_0x2c268b[_0x328503(0x12a)]-0x1,_0x214e08;_0x565326>=0x0;_0x565326--)(_0x214e08=_0x2c268b[_0x565326])&&(_0x211839=_0x214e08(_0x211839)||_0x211839);return _0x211839;},q=(_0x22823c,_0x12abfa)=>(_0x5bd6d3,_0x11f832)=>_0x12abfa(_0x5bd6d3,_0x11f832,_0x22823c);let Ee=class extends a[_0x4885bf(0x1aa)]{constructor(_0x15e321,_0x4516df,_0x5e39de,_0x554514,_0x1ce664){const _0x262ca1=_0x4885bf;super(),_(this,'_cursorShapes',[]),_(this,_0x262ca1(0x31b),[]),(this[_0x262ca1(0x302)]=_0x15e321,this[_0x262ca1(0x31e)]=_0x4516df,this[_0x262ca1(0x12d)]=_0x5e39de,this['_commandService']=_0x554514,this[_0x262ca1(0x336)]=_0x1ce664,this[_0x262ca1(0x2a5)]());}[_0x4885bf(0x2a5)](){const _0x3614d0=_0x4885bf,_0x588e26=this[_0x3614d0(0x302)][_0x3614d0(0x276)],_0x1efded=this[_0x3614d0(0x31e)];this[_0x3614d0(0x354)](I[_0x3614d0(0x222)]([this[_0x3614d0(0x12d)][_0x3614d0(0x232)](_0x588e26),this[_0x3614d0(0x336)][_0x3614d0(0x17a)]])[_0x3614d0(0x153)]($[_0x3614d0(0x2d7)](([_0x7abc8b,_0x541ade])=>({'skeleton':_0x1efded[_0x3614d0(0x2a9)](),'cursors':[..._0x7abc8b[_0x3614d0(0x194)]()]['flatMap'](_0xa2bf39=>({..._0xa2bf39,'color':this[_0x3614d0(0x336)][_0x3614d0(0x1c7)](_0xa2bf39[_0x3614d0(0x331)])}))})))[_0x3614d0(0x22c)](_0xbf3028=>{const _0x2b0fd3=_0x3614d0;if(this[_0x2b0fd3(0x254)](),_0xbf3028){const {skeleton:_0x1b092a,cursors:_0x32dde2}=_0xbf3028;this[_0x2b0fd3(0x214)](_0x1b092a,_0x32dde2);}})),this[_0x3614d0(0x286)](),this[_0x3614d0(0xd9)]();}[_0x4885bf(0x214)](_0x26e487,_0x26a54d){const _0x11197e=_0x4885bf,{scene:_0x406a99,mainComponent:_0x19b373}=this[_0x11197e(0x302)],_0x201b20=_0x26a54d[_0x11197e(0x2d7)](_0x5f4db5=>new Le(_0x5f4db5,_0x406a99,_0x26e487,_0x19b373));this[_0x11197e(0x2e7)]=_0x201b20,this[_0x11197e(0x31b)]=_0x26a54d;}[_0x4885bf(0x159)](){const _0x153396=_0x4885bf;this[_0x153396(0x254)]();const {scene:_0x59ae6d,mainComponent:_0x148c39}=this[_0x153396(0x302)],_0x4d68a8=this[_0x153396(0x31e)][_0x153396(0x2a9)](),_0x7e49f4=this[_0x153396(0x31b)][_0x153396(0x2d7)](_0x59c1b4=>new Le(_0x59c1b4,_0x59ae6d,_0x4d68a8,_0x148c39));this[_0x153396(0x2e7)]=_0x7e49f4;}[_0x4885bf(0x254)](){const _0x395671=_0x4885bf;this[_0x395671(0x2e7)][_0x395671(0x28d)](_0x2b4877=>_0x2b4877[_0x395671(0xcf)]()),this[_0x395671(0x2e7)]=[];}[_0x4885bf(0xd9)](){const _0x4c9a1e=_0x4885bf,_0x1ddeea=[p[_0x4c9a1e(0x1ca)]['id']];this[_0x4c9a1e(0x354)](this[_0x4c9a1e(0x26a)][_0x4c9a1e(0x258)](_0x1f8579=>{const _0x52b3f9=_0x4c9a1e;_0x1ddeea[_0x52b3f9(0x26b)](_0x1f8579['id'])&&_0x1f8579['params'][_0x52b3f9(0x276)]===this[_0x52b3f9(0x302)]['unitId']&&this[_0x52b3f9(0x159)]();}));}[_0x4885bf(0x286)](){const _0x2d883b=_0x4885bf;this[_0x2d883b(0x354)](a[_0x2d883b(0x1e4)](this[_0x2d883b(0x302)][_0x2d883b(0x1d2)]['onTransformChange$'])[_0x2d883b(0x153)]($['filter'](_0x4fceaf=>_0x4fceaf['type']===C[_0x2d883b(0x21f)][_0x2d883b(0x23d)]),$[_0x2d883b(0x96)](0x10))['subscribe'](()=>{const _0x18f09f=_0x2d883b;this[_0x18f09f(0x159)]();}));}};Ee=Mt([q(0x1,a[_0x4885bf(0xe0)](V[_0x4885bf(0x147)])),q(0x2,a['Inject'](F)),q(0x3,a[_0x4885bf(0x2a2)]),q(0x4,a[_0x4885bf(0xe0)](a[_0x4885bf(0x2b9)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x4885bf(0x257)]{constructor(_0x15b957,_0x4458b8){const _0x1659c5=_0x4885bf;super(_0x15b957,_0x4458b8),_(this,_0x1659c5(0xdc)),_(this,_0x1659c5(0x126),!0x1),_(this,_0x1659c5(0x203)),_(this,_0x1659c5(0x26d),''),_(this,_0x1659c5(0x1b7),_0x1659c5(0xaf)),_(this,_0x1659c5(0xba)),(_0x4458b8&&this[_0x1659c5(0x1c3)](_0x4458b8),this[_0x1659c5(0x213)][_0x1659c5(0xda)](()=>this[_0x1659c5(0x1c3)]({'hovered':!0x0})),this[_0x1659c5(0xa3)][_0x1659c5(0xda)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4885bf(0x1c3)](_0x426870){const _0x58f34b=_0x4885bf;var _0x3b21dd,_0x2cd4b8,_0xc6fb43,_0x41f1ce,_0xfb5951,_0x75ac33;this[_0x58f34b(0xdc)]=(_0x3b21dd=_0x426870[_0x58f34b(0x331)])!=null?_0x3b21dd:this[_0x58f34b(0xdc)],this[_0x58f34b(0x126)]=(_0x2cd4b8=_0x426870[_0x58f34b(0x1c6)])!=null?_0x2cd4b8:this[_0x58f34b(0x126)],this[_0x58f34b(0x203)]=(_0xc6fb43=_0x426870['range'])!=null?_0xc6fb43:this[_0x58f34b(0x203)],this[_0x58f34b(0x26d)]=(_0x41f1ce=_0x426870[_0x58f34b(0x30b)])!=null?_0x41f1ce:this[_0x58f34b(0x26d)],this[_0x58f34b(0x1b7)]=(_0xfb5951=_0x426870[_0x58f34b(0x2d1)])!=null?_0xfb5951:this[_0x58f34b(0x1b7)],this[_0x58f34b(0xba)]=(_0x75ac33=_0x426870[_0x58f34b(0xc4)])!=null?_0x75ac33:this[_0x58f34b(0xba)],this[_0x58f34b(0x1e0)]({'width':_0x426870[_0x58f34b(0x132)],'height':_0x426870[_0x58f34b(0x2ad)]});}['onMouseMove'](_0x5e773b){const _0x1febe9=_0x4885bf,{row:_0x44e591,column:_0x31e7e6}=_0x5e773b;if(_0x44e591>=this[_0x1febe9(0x203)]['startRow']&&_0x44e591<=this[_0x1febe9(0x203)][_0x1febe9(0x25e)]&&_0x31e7e6>=this['_range'][_0x1febe9(0x17b)]&&_0x31e7e6<=this[_0x1febe9(0x203)][_0x1febe9(0x2a7)]){this[_0x1febe9(0x1c3)]({'hovered':!0x0});return;}this[_0x1febe9(0x1c3)]({'hovered':!0x1});}['triggerDblclick'](_0x4c06b4){return!0x1;}[_0x4885bf(0x274)](_0xae37e9){const _0x12138c=_0x4885bf;C[_0x12138c(0x28b)]['drawWith'](_0xae37e9,{'width':this[_0x12138c(0x132)],'height':this['height'],'strokeWidth':Pt,'stroke':this[_0x12138c(0xdc)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x12138c(0x126)]&&(_0xae37e9[_0x12138c(0x1d9)](),_0xae37e9['transform'](0x1,0x0,0x0,0x1,this[_0x12138c(0x132)],this[_0x12138c(0x1b7)]===_0x12138c(0x1d7)?0x0:-X),re[_0x12138c(0x173)](_0xae37e9,{'text':this[_0x12138c(0x26d)],'color':this[_0x12138c(0xdc)]}),_0xae37e9[_0x12138c(0x35b)]());}}var wt=Object[_0x4885bf(0xee)],yt=(_0x21de19,_0x1f8ecc,_0x122ae3,_0x11456a)=>{const _0x54d335=_0x4885bf;for(var _0x244630=_0x11456a>0x1?void 0x0:_0x11456a?wt(_0x1f8ecc,_0x122ae3):_0x1f8ecc,_0x238890=_0x21de19[_0x54d335(0x12a)]-0x1,_0x4ec455;_0x238890>=0x0;_0x238890--)(_0x4ec455=_0x21de19[_0x238890])&&(_0x244630=_0x4ec455(_0x244630)||_0x244630);return _0x244630;},ue=(_0x8e9d25,_0x21e8d0)=>(_0x6db396,_0x15d778)=>_0x21e8d0(_0x6db396,_0x15d778,_0x8e9d25);const $t=0x1389;let Ce=class extends a[_0x4885bf(0x1aa)]{constructor(_0x127c2f,_0x335159,_0x537926,_0x4de698){const _0x5f0507=_0x4885bf;super(),_(this,_0x5f0507(0x31b),new Set()),_(this,_0x5f0507(0x2e3),null),(this[_0x5f0507(0x302)]=_0x127c2f,this[_0x5f0507(0x327)]=_0x335159,this[_0x5f0507(0x12d)]=_0x537926,this[_0x5f0507(0x336)]=_0x4de698,this[_0x5f0507(0x2a5)]());}['_init'](){const _0x459be0=_0x4885bf;this[_0x459be0(0x327)][_0x459be0(0x16f)][_0x459be0(0x153)]($[_0x459be0(0x268)](this[_0x459be0(0x30f)]),$[_0x459be0(0xea)](_0xf62b16=>{const _0x51b9bf=_0x459be0;if(_0xf62b16){const _0x1c8a44=_0xf62b16['sheetId'];return I[_0x51b9bf(0x222)](this[_0x51b9bf(0x12d)][_0x51b9bf(0x232)](this['_context'][_0x51b9bf(0x276)]),this[_0x51b9bf(0x336)]['currentTheme$'])['pipe']($[_0x51b9bf(0x2d7)](([_0x1dea43,_0x2dfa99])=>{const _0x392840=new Map();return _0x1dea43['forEach']((_0x4c4e28,_0x767a86)=>{const _0x548aec=_0x30e5;if(_0x4c4e28[_0x548aec(0xf3)]===_0x1c8a44){const _0x4a6010={..._0x4c4e28};_0x4a6010['color']=this[_0x548aec(0x336)][_0x548aec(0x1c7)](_0x4c4e28[_0x548aec(0x331)]),_0x392840[_0x548aec(0x219)](_0x767a86,_0x4a6010);}}),{'skeleton':_0xf62b16,'cursors':_0x392840};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5079ac,cursors:_0x1e8ac2})=>{const _0x10600a=_0x459be0;this['_removeCollabCursors'](),_0x5079ac&&this[_0x10600a(0x214)](_0x5079ac,_0x1e8ac2);}),this[_0x459be0(0x327)][_0x459be0(0x16f)]['subscribe'](_0x41f0c4=>{const _0x51c058=_0x459be0;if(_0x41f0c4==null)return;const {skeleton:_0x3560e8}=_0x41f0c4,{scene:_0x13975b}=this[_0x51c058(0x302)];_0x13975b['onPointerMove$']['subscribeEvent'](a[_0x51c058(0xf6)](_0x1935a8=>{const _0x1d3efe=_0x51c058;var _0x5a105a,_0x208914;const {offsetX:_0x5f467d,offsetY:_0x458165}=_0x1935a8,{x:_0x219656,y:_0x420aba}=_0x13975b[_0x1d3efe(0x9d)](C[_0x1d3efe(0x20a)]['FromArray']([_0x5f467d,_0x458165])),{scaleX:_0x3f9cd8,scaleY:_0x17a834}=_0x13975b[_0x1d3efe(0x328)](),_0x343934=_0x13975b['getViewport'](C[_0x1d3efe(0x2dc)]['VIEW_MAIN']),_0x120588=_0x13975b[_0x1d3efe(0x120)](C[_0x1d3efe(0x20a)]['FromArray']([_0x219656,_0x420aba]),_0x343934),_0x7e3ae1=_0x3560e8[_0x1d3efe(0xb0)](_0x5f467d,_0x458165,_0x3f9cd8,_0x17a834,_0x120588);((_0x5a105a=this[_0x1d3efe(0x2e3)])==null?void 0x0:_0x5a105a[_0x1d3efe(0x304)])===_0x7e3ae1['column']&&((_0x208914=this[_0x1d3efe(0x2e3)])==null?void 0x0:_0x208914[_0x1d3efe(0x1b1)])===_0x7e3ae1[_0x1d3efe(0x1b1)]||this[_0x1d3efe(0x31b)][_0x1d3efe(0x28d)](_0x4ae97=>{const _0x42b17b=_0x1d3efe;_0x4ae97[_0x42b17b(0x1be)](_0x7e3ae1);});},0x64));});}[_0x4885bf(0x214)](_0x11425b,_0x380f85){const _0x5e6446=_0x4885bf;var _0x4bc2bc;const _0xae843a=(_0x4bc2bc=this[_0x5e6446(0x327)][_0x5e6446(0xb4)]())==null?void 0x0:_0x4bc2bc[_0x5e6446(0x1d4)];if(!_0xae843a)return;const _0x344803=this[_0x5e6446(0x2bb)]();if(!_0x344803)return;this[_0x5e6446(0x31b)][_0x5e6446(0x28d)](_0x1f5c05=>{_0x1f5c05['makeDirty']();});const {scene:_0xf211e7}=_0x344803,_0x522b27=xt(Array['from'](_0x380f85[_0x5e6446(0x194)]()))[_0x5e6446(0x2d7)](_0x5f00b0=>{const _0x5b8088=_0x5e6446,{color:_0x42f83a,range:_0x1738cc,name:_0x2c8f47,selection:_0x137cef,sheetID:_0x35e01a}=_0x5f00b0,{startColumn:_0x1fcb37,startRow:_0x22febe,endColumn:_0x4e486b,endRow:_0x41d552}=_0x1738cc,_0x1690d0=J[_0x5b8088(0x1a5)](_0x22febe,_0x1fcb37,_0xf211e7,_0xae843a),_0x3ced20=J[_0x5b8088(0x1a5)](_0x41d552,_0x4e486b,_0xf211e7,_0xae843a),{columnHeaderHeightAndMarginTop:_0x4d1990}=_0xae843a,{startX:_0x226d38,startY:_0x4c6604}=_0x1690d0,{endX:_0x175e65,endY:_0x3e15dc}=_0x3ced20,_0x25bfd9=_0x175e65-_0x226d38,_0x283fcd=_0x3e15dc-_0x4c6604,_0x3a9279={'labelPosition':_0x4c6604-_0x4d1990>=X?'top':_0x5b8088(0x1d7),'sheetID':_0x35e01a,'range':_0x1738cc,'color':_0x42f83a,'name':_0x2c8f47,'selection':_0x137cef,'left':_0x226d38,'top':_0x4c6604,'width':_0x25bfd9,'height':_0x283fcd,'evented':!0x1,'zIndex':$t};return new je(_0x2c8f47,_0x3a9279);});_0xf211e7[_0x5e6446(0x34c)](_0x522b27,At),this[_0x5e6446(0x31b)]=new Set(_0x522b27);}[_0x4885bf(0x254)](){const _0x3175dc=_0x4885bf;var _0x5c520f;(_0x5c520f=this[_0x3175dc(0x31b)])==null||_0x5c520f[_0x3175dc(0x28d)](_0x400486=>_0x400486['dispose']());}[_0x4885bf(0x2bb)](){const _0x36d1f9=_0x4885bf;return J[_0x36d1f9(0x18b)](this['_context']['unit'],this[_0x36d1f9(0x302)]);}};Ce=yt([ue(0x1,a[_0x4885bf(0xe0)](J['SheetSkeletonManagerService'])),ue(0x2,a[_0x4885bf(0xe0)](F)),ue(0x3,a[_0x4885bf(0xe0)](a[_0x4885bf(0x2b9)]))],Ce);function xt(_0x5bb7b5){const _0x54bf5c=_0x4885bf,_0x5b392d=new Map();return _0x5bb7b5['forEach'](_0x2cf05b=>{const _0x19cbaf=_0x30e5;if(_0x5b392d[_0x19cbaf(0x11b)](_0x2cf05b['selection'])){const _0x1c4b23=_0x5b392d[_0x19cbaf(0x1b8)](_0x2cf05b[_0x19cbaf(0x310)]);_0x1c4b23[_0x19cbaf(0x30b)]+=',\x20'+_0x2cf05b['name'];}else _0x5b392d[_0x19cbaf(0x219)](_0x2cf05b[_0x19cbaf(0x310)],_0x2cf05b);}),Array[_0x54bf5c(0x15e)](_0x5b392d[_0x54bf5c(0x194)]());}var Bt=Object[_0x4885bf(0xee)],Ft=(_0x45c182,_0x2c70ff,_0x5cbe98,_0xa1628e)=>{const _0x2253eb=_0x4885bf;for(var _0x21f192=_0xa1628e>0x1?void 0x0:_0xa1628e?Bt(_0x2c70ff,_0x5cbe98):_0x2c70ff,_0x424b3d=_0x45c182[_0x2253eb(0x12a)]-0x1,_0x1bf42d;_0x424b3d>=0x0;_0x424b3d--)(_0x1bf42d=_0x45c182[_0x424b3d])&&(_0x21f192=_0x1bf42d(_0x21f192)||_0x21f192);return _0x21f192;},y=(_0x4bfdcf,_0x3c9146)=>(_0x18ae6d,_0x524895)=>_0x3c9146(_0x18ae6d,_0x524895,_0x4bfdcf);let Z=class extends a['Disposable']{constructor(_0x5cc113,_0x1c1bb1,_0x5da883,_0x199eb4,_0x4e1522,_0x210ab5){const _0x3e07b2=_0x4885bf;super(),this[_0x3e07b2(0xc1)]=_0x5cc113,this[_0x3e07b2(0xf0)]=_0x1c1bb1,this[_0x3e07b2(0x22d)]=_0x5da883,this['_messageService']=_0x199eb4,this[_0x3e07b2(0x134)]=_0x4e1522,this['_localeService']=_0x210ab5,this['_setupBeforeClosingHandler'](),this[_0x3e07b2(0x296)]();}[_0x4885bf(0xc2)](){const _0x265e2f=_0x4885bf;this[_0x265e2f(0x354)](this['_beforeCloseService'][_0x265e2f(0x318)](()=>{const _0x3716b1=_0x265e2f;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x3716b1(0x1ac)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4885bf(0x296)](){const _0x5c26fa=_0x4885bf;this[_0x5c26fa(0x354)](this[_0x5c26fa(0x22d)][_0x5c26fa(0x31c)][_0x5c26fa(0x22c)](_0x8cb3b4=>{const _0x1396b1=_0x5c26fa;_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0x1fc)]&&this[_0x1396b1(0x19a)]['show']({'type':T[_0x1396b1(0x1d8)]['Warning'],'content':this[_0x1396b1(0x1ac)]['t'](_0x1396b1(0x2fa))}),_0x8cb3b4['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1396b1(0x19a)][_0x1396b1(0x9f)]({'type':T[_0x1396b1(0x1d8)][_0x1396b1(0x9c)],'content':this[_0x1396b1(0x1ac)]['t'](_0x1396b1(0x103))}),_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0xab)]&&this[_0x1396b1(0x134)][_0x1396b1(0x9f)]({'title':this[_0x1396b1(0x1ac)]['t']('permission.title'),'content':this[_0x1396b1(0x1ac)]['t']('permission.content'),'type':_0x1396b1(0x1d5),'duration':0x0}),_0x8cb3b4['id']===u['CollaborationUIEventId'][_0x1396b1(0x2f5)]&&this['_messageService'][_0x1396b1(0x9f)]({'type':T[_0x1396b1(0x1d8)][_0x1396b1(0xf7)],'content':this['_localeService']['t'](_0x1396b1(0x103))+'('+_0x8cb3b4['data']+')'}),_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0x211)]&&this[_0x1396b1(0x19a)][_0x1396b1(0x9f)]({'type':T['MessageType'][_0x1396b1(0x9c)],'content':this[_0x1396b1(0x1ac)]['t'](_0x8cb3b4['data']||'')}),_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0x267)]&&this['_messageService']['show']({'type':T[_0x1396b1(0x1d8)][_0x1396b1(0x9c)],'content':this[_0x1396b1(0x1ac)]['t'](_0x1396b1(0x124))}),_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0xa4)]&&this['_messageService'][_0x1396b1(0x9f)]({'type':T['MessageType'][_0x1396b1(0xf7)],'content':this[_0x1396b1(0x1ac)]['t'](_0x1396b1(0x1ef))}),_0x8cb3b4['id']===u[_0x1396b1(0x141)][_0x1396b1(0x175)]&&this[_0x1396b1(0x19a)][_0x1396b1(0x9f)]({'type':T[_0x1396b1(0x1d8)][_0x1396b1(0xf7)],'content':this[_0x1396b1(0x1ac)]['t'](_0x1396b1(0x107))});}));}};function _0x30e5(_0x15d732,_0x132a4d){const _0x77824c=_0x7782();return _0x30e5=function(_0x30e529,_0x446923){_0x30e529=_0x30e529-0x8e;let _0x692666=_0x77824c[_0x30e529];return _0x692666;},_0x30e5(_0x15d732,_0x132a4d);}Z=Ft([y(0x0,O[_0x4885bf(0x168)]),y(0x1,u[_0x4885bf(0x281)]),y(0x2,a[_0x4885bf(0xe0)](u[_0x4885bf(0x34b)])),y(0x3,O[_0x4885bf(0x255)]),y(0x4,O[_0x4885bf(0x12c)]),y(0x5,a[_0x4885bf(0xe0)](a[_0x4885bf(0xcb)]))],Z);var jt=Object[_0x4885bf(0xee)],kt=(_0x5b00ff,_0x846123,_0x9a1993,_0x26e088)=>{const _0x52b99d=_0x4885bf;for(var _0x31600f=_0x26e088>0x1?void 0x0:_0x26e088?jt(_0x846123,_0x9a1993):_0x846123,_0x18dd42=_0x5b00ff[_0x52b99d(0x12a)]-0x1,_0x4d8ec1;_0x18dd42>=0x0;_0x18dd42--)(_0x4d8ec1=_0x5b00ff[_0x18dd42])&&(_0x31600f=_0x4d8ec1(_0x31600f)||_0x31600f);return _0x31600f;},z=(_0x528c83,_0x4f92aa)=>(_0x20ba6a,_0xc8dd71)=>_0x4f92aa(_0x20ba6a,_0xc8dd71,_0x528c83);let Q=class extends a['Disposable']{constructor(_0x3587b0,_0x3f9d39,_0x23f212,_0x5916b8){const _0x89991f=_0x4885bf;super(),_(this,_0x89991f(0x28e)),(this[_0x89991f(0x17e)]=_0x3587b0,this[_0x89991f(0x195)]=_0x3f9d39,this['_logService']=_0x23f212,this['_collaborationSessionService']=_0x5916b8,this[_0x89991f(0x2a5)]());}[_0x4885bf(0x2a5)](){const _0x3d744d=_0x4885bf;this[_0x3d744d(0x24f)](),this[_0x3d744d(0x204)](),this[_0x3d744d(0x2af)](),this['_initUserListener']();}[_0x4885bf(0x359)](){const _0x2daa03=_0x4885bf;this[_0x2daa03(0x354)](this['_collaborationSessionService'][_0x2daa03(0x294)][_0x2daa03(0x22c)](_0x45e5f1=>{const _0x5eca73=_0x2daa03;this[_0x5eca73(0x28e)]=_0x45e5f1==null?void 0x0:_0x45e5f1[_0x5eca73(0x187)];}));}[_0x4885bf(0x24f)](){const _0x2e5769=_0x4885bf,_0xfa2439=_0x20b589=>{const _0x10da87=_0x30e5;var _0x4069c8;this[_0x10da87(0x353)]('error','[Window\x20Error]:\x20'+_0x20b589['message']+_0x10da87(0x32b)+_0x20b589[_0x10da87(0x12b)]+':'+_0x20b589[_0x10da87(0x21b)]+':'+_0x20b589[_0x10da87(0x13d)]+'\x0a'+(((_0x4069c8=_0x20b589[_0x10da87(0x1d5)])==null?void 0x0:_0x4069c8[_0x10da87(0x22f)])||''));};window['addEventListener'](_0x2e5769(0x1d5),_0xfa2439),this[_0x2e5769(0x354)](()=>{const _0x5d13b7=_0x2e5769;window[_0x5d13b7(0x2a8)](_0x5d13b7(0x1d5),_0xfa2439);});}[_0x4885bf(0x204)](){const _0x59bb0e=_0x4885bf,_0x4cc34a=_0x194d2f=>{const _0x130b52=_0x30e5;this[_0x130b52(0x353)]('error',_0x130b52(0x11a)+_0x194d2f[_0x130b52(0xb7)]);};window[_0x59bb0e(0x29c)]('unhandledrejection',_0x4cc34a),this[_0x59bb0e(0x354)](()=>{const _0x334a4c=_0x59bb0e;window[_0x334a4c(0x2a8)](_0x334a4c(0x2b0),_0x4cc34a);});}[_0x4885bf(0x2af)](){const _0x445ad7=_0x4885bf,_0x5e7d4f=this[_0x445ad7(0x1ed)]['error'][_0x445ad7(0x14f)](this['_logService']);this['_logService']['error']=(..._0x3ab552)=>{const _0x337094=_0x445ad7,_0x502f20=_0x3ab552[_0x337094(0x2d7)](_0x5e0ea8=>_0x5e0ea8 instanceof Error?_0x5e0ea8[_0x337094(0xdb)]+'\x0a'+_0x5e0ea8[_0x337094(0x22f)]:String(_0x5e0ea8))[_0x337094(0x146)]('\x20');this['_uploadLog'](_0x337094(0x1d5),_0x337094(0x172)+_0x502f20),_0x5e7d4f(..._0x3ab552);},this['disposeWithMe'](()=>{const _0x75a5ce=_0x445ad7;this[_0x75a5ce(0x1ed)]['error']=_0x5e7d4f;});}[_0x4885bf(0x353)](_0x26d1f5,_0x1b0131){const _0xaa9a85=_0x4885bf;try{const _0x391c9f={'userId':this['_memberID'],'logLabel':_0x26d1f5,'content':_0x1b0131};this['_httpService'][_0xaa9a85(0x17c)](_0xaa9a85(0x347),{'body':_0x391c9f})[_0xaa9a85(0x223)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),z(0x1,a[_0x4885bf(0xe0)](x[_0x4885bf(0x358)])),z(0x2,a['ILogService']),z(0x3,a[_0x4885bf(0xe0)](u[_0x4885bf(0x307)]))],Q);const Yt=_0x4885bf(0x23c),Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x20fbf5,_0x214c11,_0x2c2b98,_0x34bf3c)=>{const _0x2264ec=_0x4885bf;for(var _0x590db9=_0x34bf3c>0x1?void 0x0:_0x34bf3c?Ht(_0x214c11,_0x2c2b98):_0x214c11,_0x152c14=_0x20fbf5[_0x2264ec(0x12a)]-0x1,_0xcf2a9;_0x152c14>=0x0;_0x152c14--)(_0xcf2a9=_0x20fbf5[_0x152c14])&&(_0x590db9=_0xcf2a9(_0x590db9)||_0x590db9);return _0x590db9;},Ae=(_0x7be90d,_0x2f394f)=>(_0x390bb3,_0x29cfa4)=>_0x2f394f(_0x390bb3,_0x29cfa4,_0x7be90d);let ee=class{constructor(_0xfb6b4e,_0x22d3ca){const _0x52ad87=_0x4885bf;this[_0x52ad87(0x148)]=_0xfb6b4e,this[_0x52ad87(0x342)]=_0x22d3ca;}['transformIMECache'](_0x40401b){const _0x4b78ec=_0x4885bf;this['_transformUndoRedoStack'](_0x40401b),this[_0x4b78ec(0x2de)](_0x40401b);}[_0x4885bf(0x2d6)](_0x89e1aa){const _0x4a769c=_0x4885bf,{unitID:_0x100e67}=_0x89e1aa,_0x1ed4ab=this[_0x4a769c(0x342)]['getRenderById'](_0x100e67)['with'](p[_0x4a769c(0xb2)]),{redoCache:_0x33e993}=_0x1ed4ab['getUndoRedoMutationParamsCache']();if(_0x33e993[_0x4a769c(0x12a)]===0x0)return _0x89e1aa;let _0x505d01=a['Tools'][_0x4a769c(0x149)](_0x89e1aa[_0x4a769c(0x110)][0x0]);for(let _0x1fc781=0x0;_0x1fc781<_0x33e993[_0x4a769c(0x12a)];_0x1fc781++){const _0x4c9dde={'id':_0x4a769c(0x2d0),'params':{..._0x33e993[_0x1fc781]}},_0x171cbd=this[_0x4a769c(0x148)]['transformMutation'](_0x505d01,_0x4c9dde,!0x1);if(g[_0x4a769c(0x2b6)](_0x171cbd))throw _0x171cbd[_0x4a769c(0x1d5)];_0x505d01=_0x171cbd[_0x4a769c(0x16b)];}return{...a[_0x4a769c(0xe3)]['deepClone'](_0x89e1aa),'mutations':[_0x505d01]};}[_0x4885bf(0x16c)](_0x132a6b){const _0x13227c=_0x4885bf,{unitID:_0x5566e3}=_0x132a6b,_0x144cb0=this['_renderManagerService'][_0x13227c(0x1c4)](_0x5566e3)[_0x13227c(0x19f)](p[_0x13227c(0xb2)]),{undoCache:_0x1c843e,redoCache:_0x5cd801}=_0x144cb0[_0x13227c(0x349)]();if(_0x1c843e[_0x13227c(0x12a)]===0x0||_0x5cd801[_0x13227c(0x12a)]===0x0)return;const _0x2dda96=[],_0x1be4e9=[];let _0x46b575=a['Tools'][_0x13227c(0x149)](_0x132a6b['mutations'][0x0]),_0xcff5ce=a[_0x13227c(0xe3)][_0x13227c(0x149)](_0x132a6b[_0x13227c(0x110)][0x0]);for(let _0x44cef7=_0x1c843e[_0x13227c(0x12a)]-0x1;_0x44cef7>=0x0;_0x44cef7--){const _0x5c7b3d={'id':'doc.mutation.rich-text-editing','params':{..._0x1c843e[_0x44cef7]}},_0xf89245={'id':'doc.mutation.rich-text-editing','params':{..._0x5cd801[_0x44cef7]}},_0x1134f0=this[_0x13227c(0x148)][_0x13227c(0x293)](_0x46b575,_0x5c7b3d,!0x1),_0x2282b0=this[_0x13227c(0x148)]['transformMutation'](_0xcff5ce,_0xf89245,!0x1);if(g[_0x13227c(0x2b6)](_0x1134f0))throw _0x1134f0['error'];if(g[_0x13227c(0x2b6)](_0x2282b0))throw _0x2282b0[_0x13227c(0x1d5)];_0x2dda96[_0x13227c(0x18f)](_0x1134f0[_0x13227c(0x2c5)][_0x13227c(0x215)]),_0x1be4e9[_0x13227c(0x18f)](_0x2282b0[_0x13227c(0x2c5)][_0x13227c(0x215)]),_0x46b575=_0x1134f0[_0x13227c(0x16b)],_0xcff5ce=_0x2282b0[_0x13227c(0x16b)];}_0x144cb0['setUndoRedoMutationParamsCache']({'undoCache':_0x2dda96,'redoCache':_0x1be4e9});}[_0x4885bf(0x2de)](_0x1e99cc){const _0x265279=_0x4885bf,{unitID:_0x5cbe50}=_0x1e99cc,_0x470b2e=this[_0x265279(0x342)][_0x265279(0x1c4)](_0x5cbe50)['with'](p[_0x265279(0xb2)]),_0x2deb81=_0x470b2e[_0x265279(0xbc)]();if(_0x2deb81==null)return;const _0x37a406=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e99cc[_0x265279(0x143)],'actions':null,'textRanges':[_0x2deb81]}}],_0x4b3b62=this[_0x265279(0x148)][_0x265279(0x1f8)](_0x1e99cc,_0x37a406);if(!g[_0x265279(0x117)](_0x4b3b62))throw _0x4b3b62[_0x265279(0x1d5)];const _0x99c3e6=_0x4b3b62[_0x265279(0x2c5)][0x0]['params'][_0x265279(0x122)];Array[_0x265279(0x2cd)](_0x99c3e6)&&_0x99c3e6[_0x265279(0x12a)]&&_0x470b2e[_0x265279(0x163)](_0x99c3e6[0x0]);}};ee=Wt([Ae(0x0,g['ITransformService']),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object[_0x4885bf(0xee)],Gt=(_0x21ce5b,_0x543a1b,_0x3c9d57,_0x4a3244)=>{const _0x479f3b=_0x4885bf;for(var _0x5a01db=_0x4a3244>0x1?void 0x0:_0x4a3244?Vt(_0x543a1b,_0x3c9d57):_0x543a1b,_0x677d8c=_0x21ce5b[_0x479f3b(0x12a)]-0x1,_0x453ebc;_0x677d8c>=0x0;_0x677d8c--)(_0x453ebc=_0x21ce5b[_0x677d8c])&&(_0x5a01db=_0x453ebc(_0x5a01db)||_0x5a01db);return _0x5a01db;},Ie=(_0x5c4d1d,_0xbefc05)=>(_0x103719,_0x1212a2)=>_0xbefc05(_0x103719,_0x1212a2,_0x5c4d1d);let te=class{constructor(_0x18ea12,_0x394b16,_0x35d377){const _0xe6f19=_0x4885bf;this[_0xe6f19(0x17e)]=_0x18ea12,this['_transformService']=_0x394b16,this[_0xe6f19(0x24b)]=_0x35d377;}[_0x4885bf(0x10c)](_0x3eb7ac){const _0x245bdb=_0x4885bf;this[_0x245bdb(0x218)](_0x3eb7ac);}[_0x4885bf(0x2d6)](_0x48721e){const _0x5c210a=_0x4885bf,{unitID:_0x30f9ee}=_0x48721e,{collaboration:_0x6195f4}=this[_0x5c210a(0x24b)][_0x5c210a(0x181)](_0x30f9ee);if(_0x6195f4[_0x5c210a(0x12a)]===0x0)return _0x48721e;let _0xe0d423=a[_0x5c210a(0xe3)][_0x5c210a(0x149)](_0x48721e[_0x5c210a(0x110)][0x0]);for(let _0x2691b8=0x0;_0x2691b8<_0x6195f4['length'];_0x2691b8++){const _0x57fbc6={'id':_0x5c210a(0x2d0),'params':{'unitId':_0x6195f4[_0x2691b8][_0x5c210a(0x276)],..._0x6195f4[_0x2691b8][_0x5c210a(0x2bf)]}},_0x6071c6=this[_0x5c210a(0x148)][_0x5c210a(0x293)](_0xe0d423,_0x57fbc6,!0x1);if(g['isTransformMutationFailure'](_0x6071c6))throw _0x6071c6[_0x5c210a(0x1d5)];_0xe0d423=_0x6071c6[_0x5c210a(0x16b)];}return{...a[_0x5c210a(0xe3)]['deepClone'](_0x48721e),'mutations':[_0xe0d423]};}[_0x4885bf(0x218)](_0x2e1401){const _0x35afc0=_0x4885bf,{unitID:_0x1aee32}=_0x2e1401,{history:_0x485f00,collaboration:_0x57d5df}=this[_0x35afc0(0x24b)][_0x35afc0(0x181)](_0x1aee32);if(_0x485f00['length']===0x0&&_0x57d5df['length']===0x0)return;const _0x567774=[],_0x1af50b=[];let _0xf9bcf8=a[_0x35afc0(0xe3)][_0x35afc0(0x149)](_0x2e1401[_0x35afc0(0x110)][0x0]),_0x256ad1=a[_0x35afc0(0xe3)][_0x35afc0(0x149)](_0x2e1401[_0x35afc0(0x110)][0x0]);for(let _0x1477a2=_0x485f00[_0x35afc0(0x12a)]-0x1;_0x1477a2>=0x0;_0x1477a2--){const _0x23094b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x485f00[_0x1477a2][_0x35afc0(0x276)],..._0x485f00[_0x1477a2][_0x35afc0(0x1dc)]}},_0x45531a={'id':_0x35afc0(0x2d0),'params':{'unitId':_0x485f00[_0x1477a2][_0x35afc0(0x276)],..._0x485f00[_0x1477a2]['redoState']}},_0x26023c=this['_transformService'][_0x35afc0(0x293)](_0xf9bcf8,_0x23094b,!0x1),_0x26af69=this[_0x35afc0(0x148)]['transformMutation'](_0x256ad1,_0x45531a,!0x1);if(g['isTransformMutationFailure'](_0x26023c))throw _0x26023c[_0x35afc0(0x1d5)];if(g[_0x35afc0(0x2b6)](_0x26af69))throw _0x26af69['error'];_0x567774[_0x35afc0(0x18f)]({..._0x485f00[_0x1477a2],'undoState':_0x26023c[_0x35afc0(0x2c5)][_0x35afc0(0x215)],'redoState':_0x26af69[_0x35afc0(0x2c5)]['params']}),_0xf9bcf8=_0x26023c['m1Prime'],_0x256ad1=_0x26af69[_0x35afc0(0x16b)];}_0xf9bcf8=a[_0x35afc0(0xe3)][_0x35afc0(0x149)](_0x2e1401[_0x35afc0(0x110)][0x0]),_0x256ad1=a[_0x35afc0(0xe3)]['deepClone'](_0x2e1401[_0x35afc0(0x110)][0x0]);for(let _0x37130e=_0x57d5df[_0x35afc0(0x12a)]-0x1;_0x37130e>=0x0;_0x37130e--){const _0x1a70e3={'id':_0x35afc0(0x2d0),'params':{'unitId':_0x57d5df[_0x37130e]['unitId'],..._0x57d5df[_0x37130e][_0x35afc0(0x1dc)]}},_0x3f5789={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57d5df[_0x37130e][_0x35afc0(0x276)],..._0x57d5df[_0x37130e]['redoState']}},_0x25f400=this[_0x35afc0(0x148)][_0x35afc0(0x293)](_0xf9bcf8,_0x1a70e3,!0x1),_0x1be746=this['_transformService'][_0x35afc0(0x293)](_0x256ad1,_0x3f5789,!0x1);if(g[_0x35afc0(0x2b6)](_0x25f400))throw _0x25f400[_0x35afc0(0x1d5)];if(g[_0x35afc0(0x2b6)](_0x1be746))throw _0x1be746['error'];_0x1af50b[_0x35afc0(0x18f)]({..._0x57d5df[_0x37130e],'undoState':_0x25f400['m2Prime'][_0x35afc0(0x215)],'redoState':_0x1be746[_0x35afc0(0x2c5)][_0x35afc0(0x215)]}),_0xf9bcf8=_0x25f400[_0x35afc0(0x16b)],_0x256ad1=_0x1be746[_0x35afc0(0x16b)];}this[_0x35afc0(0x24b)][_0x35afc0(0x233)](_0x1aee32,{'history':_0x567774,'collaboration':_0x1af50b});}};te=Gt([Ie(0x0,a['Inject'](a[_0x4885bf(0x199)])),Ie(0x1,g['ITransformService']),Ie(0x2,a[_0x4885bf(0xe0)](p[_0x4885bf(0x244)]))],te);var Xt=Object[_0x4885bf(0xee)],Kt=(_0x45a734,_0x1b0554,_0x3ff6c9,_0x5981ef)=>{const _0x172a03=_0x4885bf;for(var _0x486065=_0x5981ef>0x1?void 0x0:_0x5981ef?Xt(_0x1b0554,_0x3ff6c9):_0x1b0554,_0x27c4d1=_0x45a734[_0x172a03(0x12a)]-0x1,_0x149925;_0x27c4d1>=0x0;_0x27c4d1--)(_0x149925=_0x45a734[_0x27c4d1])&&(_0x486065=_0x149925(_0x486065)||_0x486065);return _0x486065;},Pe=(_0x145db4,_0x55698a)=>(_0x26c816,_0x368a58)=>_0x55698a(_0x26c816,_0x368a58,_0x145db4);let se=class{constructor(_0x43d244,_0x6cbeb){const _0x2834b0=_0x4885bf;this[_0x2834b0(0x17e)]=_0x43d244,this[_0x2834b0(0x148)]=_0x6cbeb;}[_0x4885bf(0x202)](_0xb59212){const _0x56f5ca=_0x4885bf;var _0x220248;const _0x7ee17a=this[_0x56f5ca(0x17e)][_0x56f5ca(0x1b8)](V[_0x56f5ca(0xe6)]),_0x513a68=(_0x220248=_0x7ee17a[_0x56f5ca(0x263)]())!=null?_0x220248:[];if(_0x513a68[_0x56f5ca(0x12a)]===0x0)return;const _0x5b8d62=_0xb59212[_0x56f5ca(0x143)],_0x39b64c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b8d62,'actions':null,'textRanges':_0x513a68}}],_0x59fee2=this[_0x56f5ca(0x148)][_0x56f5ca(0x1f8)](_0xb59212,_0x39b64c);if(!g['isTransformMutationsWithChangesetSuccess'](_0x59fee2))throw _0x59fee2[_0x56f5ca(0x1d5)];const _0x54b3f2=_0x59fee2[_0x56f5ca(0x2c5)][0x0][_0x56f5ca(0x215)][_0x56f5ca(0x122)];Array[_0x56f5ca(0x2cd)](_0x54b3f2)&&_0x54b3f2[_0x56f5ca(0x12a)]&&_0x7ee17a[_0x56f5ca(0x275)](_0x54b3f2,{'unitId':_0x5b8d62,'subUnitId':_0x5b8d62},!0x1);}};se=Kt([Pe(0x0,a['Inject'](a[_0x4885bf(0x199)])),Pe(0x1,g[_0x4885bf(0x29a)])],se);var qt=Object[_0x4885bf(0xee)],zt=(_0x4bd1e2,_0x41b40c,_0x14db13,_0xae68d6)=>{const _0x405299=_0x4885bf;for(var _0x11fdfb=_0xae68d6>0x1?void 0x0:_0xae68d6?qt(_0x41b40c,_0x14db13):_0x41b40c,_0x5162cf=_0x4bd1e2[_0x405299(0x12a)]-0x1,_0x50ad8d;_0x5162cf>=0x0;_0x5162cf--)(_0x50ad8d=_0x4bd1e2[_0x5162cf])&&(_0x11fdfb=_0x50ad8d(_0x11fdfb)||_0x11fdfb);return _0x11fdfb;},N=(_0xe471ae,_0x4c5f01)=>(_0x2d4a00,_0x1260c4)=>_0x4c5f01(_0x2d4a00,_0x1260c4,_0xe471ae);let ie=class extends a['Disposable']{constructor(_0x5c8103,_0x24092b,_0x220d8a,_0x448a24,_0x52dafe,_0xae90e4,_0x28c7a4,_0x4c3389){const _0x2199ba=_0x4885bf;super(),_(this,_0x2199ba(0x14d),new I['BehaviorSubject'](u[_0x2199ba(0x30d)][_0x2199ba(0x333)])),(this[_0x2199ba(0x24b)]=_0x5c8103,this[_0x2199ba(0x136)]=_0x24092b,this['_docTransformIMECacheService']=_0x220d8a,this[_0x2199ba(0x27a)]=_0x448a24,this['_docTransformSelectionsService']=_0x52dafe,this[_0x2199ba(0x190)]=_0xae90e4,this[_0x2199ba(0x19a)]=_0x28c7a4,this[_0x2199ba(0x1ac)]=_0x4c3389,this[_0x2199ba(0x19c)]());}[_0x4885bf(0x19c)](){const _0x135742=_0x4885bf;this[_0x135742(0x354)](this[_0x135742(0x136)][_0x135742(0xb3)][_0x135742(0x22c)](_0x24db24=>{const _0x5aecc4=_0x135742,_0x468f68=this[_0x5aecc4(0x24b)][_0x5aecc4(0x1bc)][_0x5aecc4(0x22c)](_0x3c78de=>{const _0x293bde=_0x5aecc4;if(_0x3c78de==null)return;const {unitId:_0x4a706f,redoState:_0x3e7f67,commandId:_0x54e81a}=_0x3c78de;if(_0x4a706f!==_0x24db24['unitID'])return;const _0x5b9b58={'id':_0x54e81a,'type':a['CommandType'][_0x293bde(0x292)],'params':{'unitId':_0x4a706f,'actions':_0x3e7f67[_0x293bde(0x24c)],'textRanges':null}};_0x24db24[_0x293bde(0x32c)](_0x5b9b58);});if(_0x24db24['disposeWithMe'](_0x468f68),_0x24db24 instanceof u['DocCollaborationEntity']){const _0x5c2a61={'onTransformIME':_0x36b0f5=>this[_0x5aecc4(0x315)]['transformIMECache'](_0x36b0f5),'onTransformState':_0x52b611=>this['_docTransformStateCacheService'][_0x5aecc4(0x10c)](_0x52b611),'onTransformSelections':_0x26aa09=>this[_0x5aecc4(0x2e6)][_0x5aecc4(0x202)](_0x26aa09),'onSyncEditingCollabCursor':_0x2cfd77=>this[_0x5aecc4(0x190)][_0x5aecc4(0x285)](_0x2cfd77),'onTransformRemoteChangesetByIMECache':_0x1f9a40=>this['_docTransformIMECacheService'][_0x5aecc4(0x2d6)](_0x1f9a40),'onTransformRemoteChangesetByStateCache':_0x2d4051=>this[_0x5aecc4(0x27a)][_0x5aecc4(0x2d6)](_0x2d4051)};_0x24db24['addHandlerCallback'](_0x5c2a61);}}));}};ie=zt([N(0x0,a['Inject'](p[_0x4885bf(0x244)])),N(0x1,a[_0x4885bf(0xe0)](u[_0x4885bf(0x357)])),N(0x2,a[_0x4885bf(0xe0)](ee)),N(0x3,a[_0x4885bf(0xe0)](te)),N(0x4,a[_0x4885bf(0xe0)](se)),N(0x5,a['Inject'](be)),N(0x6,O['IMessageService']),N(0x7,a[_0x4885bf(0xe0)](a[_0x4885bf(0xcb)]))],ie);var G=(_0x12104e=>(_0x12104e[_0x12104e[_0x4885bf(0x314)]=0x0]=_0x4885bf(0x314),_0x12104e[_0x12104e['OK']=0x1]='OK',_0x12104e[_0x12104e[_0x4885bf(0xf8)]=0x2]=_0x4885bf(0xf8),_0x12104e[_0x12104e[_0x4885bf(0xab)]=0x3]=_0x4885bf(0xab),_0x12104e[_0x12104e[_0x4885bf(0x309)]=0x4]=_0x4885bf(0x309),_0x12104e[_0x12104e[_0x4885bf(0x253)]=0x5]=_0x4885bf(0x253),_0x12104e[_0x12104e[_0x4885bf(0x291)]=0x6]=_0x4885bf(0x291),_0x12104e[_0x12104e['INVALID_ARGUMENT']=0x7]=_0x4885bf(0x33c),_0x12104e[_0x12104e[_0x4885bf(0x1c2)]=0x8]='TOO_MANY_REQUESTS',_0x12104e[_0x12104e['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x12104e[_0x12104e[_0x4885bf(0x225)]=0xa]=_0x4885bf(0x225),_0x12104e[_0x12104e['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x12104e[_0x12104e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4885bf(0x178),_0x12104e[_0x12104e[_0x4885bf(0x2d8)]=0xd]=_0x4885bf(0x2d8),_0x12104e[_0x12104e[_0x4885bf(0xfe)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x12104e[_0x12104e[_0x4885bf(0x298)]=0xf]=_0x4885bf(0x298),_0x12104e[_0x12104e[_0x4885bf(0x1ba)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x12104e[_0x12104e[_0x4885bf(0xcc)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x12104e[_0x12104e['ERROR_AGAIN']=0x65]=_0x4885bf(0x158),_0x12104e[_0x12104e[_0x4885bf(0xac)]=0xc9]=_0x4885bf(0xac),_0x12104e[_0x12104e[_0x4885bf(0x91)]=0xca]='USER_IS_ANONYMOUS',_0x12104e[_0x12104e[_0x4885bf(0x329)]=0x1389]=_0x4885bf(0x329),_0x12104e[_0x12104e[_0x4885bf(0x176)]=0x1771]=_0x4885bf(0x176),_0x12104e[_0x12104e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4885bf(0x278),_0x12104e[_0x12104e[_0x4885bf(0x131)]=0x1773]=_0x4885bf(0x131),_0x12104e[_0x12104e['APPLY_REJECT']=0x1b59]=_0x4885bf(0xef),_0x12104e[_0x12104e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4885bf(0x334),_0x12104e[_0x12104e[_0x4885bf(0xfa)]=0x1b5b]=_0x4885bf(0xfa),_0x12104e[_0x12104e[_0x4885bf(0x1ad)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x12104e[_0x12104e[_0x4885bf(0x33b)]=0x1b5d]='APPLY_DUPLICATED',_0x12104e[_0x12104e[_0x4885bf(0x93)]=0x1f41]=_0x4885bf(0x93),_0x12104e[_0x12104e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x12104e[_0x12104e[_0x4885bf(0x25c)]=0x232a]=_0x4885bf(0x25c),_0x12104e[_0x12104e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4885bf(0x2be),_0x12104e[_0x12104e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4885bf(0x9e),_0x12104e[_0x12104e[_0x4885bf(0x1fd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x12104e[_0x12104e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4885bf(0x24e),_0x12104e[_0x12104e[_0x4885bf(0x234)]=0x2712]=_0x4885bf(0x234),_0x12104e[_0x12104e[_0x4885bf(0x22a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x12104e[_0x12104e[_0x4885bf(0x2d3)]=0x2714]=_0x4885bf(0x2d3),_0x12104e[_0x12104e[_0x4885bf(0x130)]=0x271a]=_0x4885bf(0x130),_0x12104e[_0x12104e[_0x4885bf(0x1d6)]=0x271b]=_0x4885bf(0x1d6),_0x12104e[_0x12104e[_0x4885bf(0x248)]=0x271c]=_0x4885bf(0x248),_0x12104e[_0x12104e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4885bf(0x282),_0x12104e[_0x12104e[_0x4885bf(0xbf)]=0x271e]=_0x4885bf(0xbf),_0x12104e[_0x12104e[_0x4885bf(0x1b6)]=0x271f]=_0x4885bf(0x1b6),_0x12104e[_0x12104e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4885bf(0x280),_0x12104e[_0x12104e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12104e[_0x12104e[_0x4885bf(0x113)]=0x2ee1]=_0x4885bf(0x113),_0x12104e[_0x12104e[_0x4885bf(0x8f)]=0x2ee2]=_0x4885bf(0x8f),_0x12104e[_0x12104e[_0x4885bf(0x154)]=0x2ee3]=_0x4885bf(0x154),_0x12104e[_0x12104e[_0x4885bf(0x2b3)]=0x2ee4]=_0x4885bf(0x2b3),_0x12104e[_0x12104e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x12104e[_0x12104e[_0x4885bf(0x245)]=0x32c9]=_0x4885bf(0x245),_0x12104e[_0x12104e[_0x4885bf(0x9a)]=0x32ca]=_0x4885bf(0x9a),_0x12104e[_0x12104e[_0x4885bf(0x1ee)]=0x32cb]=_0x4885bf(0x1ee),_0x12104e[_0x12104e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4885bf(0xfd),_0x12104e[_0x12104e[_0x4885bf(0x170)]=0x36b2]=_0x4885bf(0x170),_0x12104e[_0x12104e[_0x4885bf(0x23e)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x12104e[_0x12104e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4885bf(0x262),_0x12104e[_0x12104e[_0x4885bf(0x272)]=0x3715]=_0x4885bf(0x272),_0x12104e[_0x12104e[_0x4885bf(0x11f)]=0x3716]=_0x4885bf(0x11f),_0x12104e[_0x12104e[_0x4885bf(0x20e)]=0x3717]=_0x4885bf(0x20e),_0x12104e[_0x12104e[_0x4885bf(0x1e9)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x12104e[_0x12104e['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4885bf(0x1d1),_0x12104e[_0x12104e['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x4885bf(0x346),_0x12104e[_0x12104e[_0x4885bf(0xa5)]=0x3a9b]=_0x4885bf(0xa5),_0x12104e[_0x12104e['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4885bf(0x2fe),_0x12104e[_0x12104e[_0x4885bf(0x24d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x12104e[_0x12104e[_0x4885bf(0x2b7)]=0x3a9e]=_0x4885bf(0x2b7),_0x12104e[_0x12104e[_0x4885bf(0x231)]=0x3a9f]=_0x4885bf(0x231),_0x12104e[_0x12104e[_0x4885bf(0x2f9)]=0x3e81]=_0x4885bf(0x2f9),_0x12104e[_0x12104e[_0x4885bf(0x352)]=-0x1]=_0x4885bf(0x352),_0x12104e))(G||{});function Jt(_0x59a988){const _0x587a7a=_0x4885bf;var _0xeca54c,_0x18009d;const _0x3a9040=(_0xeca54c=_0x59a988[_0x587a7a(0x20b)])==null?void 0x0:_0xeca54c[_0x587a7a(0x24a)],_0x375b93=((_0x18009d=_0x59a988[_0x587a7a(0x20b)])==null?void 0x0:_0x18009d[_0x587a7a(0x2c0)])||0x0;return _0x3a9040===B[_0x587a7a(0x18a)][_0x587a7a(0xca)]&&_0x375b93>0x0;}function Zt(_0x591010){const _0x2e38eb=_0x4885bf;return _0x591010[_0x2e38eb(0x356)]===B[_0x2e38eb(0x2ff)][_0x2e38eb(0x2f8)];}var Qt=Object[_0x4885bf(0xee)],es=(_0x40e0ac,_0x317692,_0x35023b,_0x50a8c2)=>{for(var _0x2e937e=_0x50a8c2>0x1?void 0x0:_0x50a8c2?Qt(_0x317692,_0x35023b):_0x317692,_0xab1f23=_0x40e0ac['length']-0x1,_0x2329c0;_0xab1f23>=0x0;_0xab1f23--)(_0x2329c0=_0x40e0ac[_0xab1f23])&&(_0x2e937e=_0x2329c0(_0x2e937e)||_0x2e937e);return _0x2e937e;},L=(_0x5221bc,_0x5676a1)=>(_0x52cc13,_0x5b4a12)=>_0x5676a1(_0x52cc13,_0x5b4a12,_0x5221bc);const ts=_0x4885bf(0x165),ss=_0x4885bf(0x162),is=_0x4885bf(0x1e6);let ne=class extends a[_0x4885bf(0x1b2)]{constructor(_0x410271,_0x409da3,_0x33b8b2,_0x47f0b5,_0x210489,_0x5193ec,_0xbec6c6){const _0x12ee15=_0x4885bf;super(),_(this,_0x12ee15(0x279),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x12ee15(0x249),0x0),_(this,_0x12ee15(0x200),[]),_(this,'_lastResponseTimestamp',0x0),(this[_0x12ee15(0x19a)]=_0x410271,this['_commandService']=_0x409da3,this['_configService']=_0x33b8b2,this[_0x12ee15(0x195)]=_0x47f0b5,this['_univerInstanceService']=_0x210489,this[_0x12ee15(0x1ed)]=_0x5193ec,this['_localeService']=_0xbec6c6,this[_0x12ee15(0x237)]());}[_0x4885bf(0x237)](){const _0x5e7823=_0x4885bf;this[_0x5e7823(0x354)](this[_0x5e7823(0x26a)][_0x5e7823(0x18d)]((_0x51e24a,_0x12bd61)=>{const _0x22ff3b=_0x5e7823;var _0x12410a;if(_0x51e24a['id']!==B[_0x22ff3b(0x156)]['id'])return;const _0x2c260c=_0x51e24a[_0x22ff3b(0x215)];if(!this['_hasFormulaInDirtyRanges']((_0x12410a=_0x2c260c[_0x22ff3b(0x1eb)])!=null?_0x12410a:[]))return;if(!this[_0x22ff3b(0x31a)]())throw this[_0x22ff3b(0x127)](_0x51e24a,_0x12bd61),this[_0x22ff3b(0x312)](),new a[(_0x22ff3b(0x10a))]();})),this[_0x5e7823(0x354)](this[_0x5e7823(0x26a)]['onCommandExecuted']((_0x4289b7,_0x53510a)=>{const _0x27e012=_0x5e7823;if(_0x4289b7['id']!==B[_0x27e012(0x2bc)]['id'])return;const _0x7367bd=_0x4289b7[_0x27e012(0x215)];if(Jt(_0x7367bd)){const _0x48a5e2=a[_0x27e012(0x2f0)]();this[_0x27e012(0x200)][_0x27e012(0x33a)](_0x48a5e2),this[_0x27e012(0x341)](_0x48a5e2);}else{if(Zt(_0x7367bd)&&this[_0x27e012(0x200)][_0x27e012(0x12a)]>0x0){const _0x12af93=this['_taskIds']['shift']();this[_0x27e012(0x206)](_0x12af93);}}}));}[_0x4885bf(0xcf)](){const _0x422101=_0x4885bf;super[_0x422101(0xcf)](),this[_0x422101(0x145)](),this[_0x422101(0x200)]=[],this[_0x422101(0x249)]=0x0,this[_0x422101(0xfb)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x318813,_0x6f08e4){const _0x524a62=_0x4885bf;for(let _0x3f4fb7=0x0;_0x3f4fb7<0x1e;_0x3f4fb7++)try{if(await this['_getFormulaLimitStatus'](),this[_0x524a62(0x31a)]()){this[_0x524a62(0x337)](_0x318813,_0x6f08e4),this[_0x524a62(0x19a)]['show']({'content':this[_0x524a62(0x1ac)]['t'](_0x524a62(0x10b)),'type':T[_0x524a62(0x1d8)]['Success']});return;}await new Promise(_0x10804a=>{const _0x318dc8=_0x524a62;this[_0x318dc8(0x279)]=window[_0x318dc8(0x2f7)](_0x10804a,0x3e8);});}catch(_0x5d24a0){this[_0x524a62(0x1ed)]['error'](_0x5d24a0);}this[_0x524a62(0x19a)]['show']({'content':this[_0x524a62(0x1ac)]['t']('formula.calculation.unable'),'type':T[_0x524a62(0x1d8)][_0x524a62(0xf7)]});}[_0x4885bf(0x337)](_0xd1a25c,_0x3887d3){const _0x385f1d=_0x4885bf;try{this[_0x385f1d(0x26a)][_0x385f1d(0x306)](_0xd1a25c['id'],_0xd1a25c[_0x385f1d(0x215)],_0x3887d3);}catch(_0x1af75a){this['_logService'][_0x385f1d(0x1d5)](_0x1af75a);}}[_0x4885bf(0x119)](_0x174927,_0x28d817){const _0x4a6529=_0x4885bf;_0x28d817<this[_0x4a6529(0x32d)]||(this[_0x4a6529(0x32d)]=_0x28d817,this[_0x4a6529(0xfb)]=Number[_0x4a6529(0x34e)](_0x174927[_0x4a6529(0x1a9)]),this['_currentUsage']=Number[_0x4a6529(0x34e)](_0x174927[_0x4a6529(0x26f)]));}async['_startCalculationLimit'](_0x17f0d3){const _0x3be1c0=_0x4885bf;var _0x22bd09,_0x3396e5;const _0xd72d08=Date[_0x3be1c0(0x115)]();try{const _0x201ed5=((_0x22bd09=this['_configService'][_0x3be1c0(0x2c7)](u[_0x3be1c0(0x324)]))==null?void 0x0:_0x22bd09[_0x3be1c0(0xed)])||ss,_0x1e5594=(await this['_httpService'][_0x3be1c0(0x17c)](_0x201ed5,{'body':JSON[_0x3be1c0(0x192)]({'taskId':_0x17f0d3})}))[_0x3be1c0(0x26e)];if(((_0x3396e5=_0x1e5594[_0x3be1c0(0x1d5)])==null?void 0x0:_0x3396e5[_0x3be1c0(0x226)])!==G['OK'])return;this[_0x3be1c0(0x119)](_0x1e5594[_0x3be1c0(0x242)],_0xd72d08);}catch(_0x69a948){this[_0x3be1c0(0x1ed)][_0x3be1c0(0x1d5)](_0x69a948);}}async[_0x4885bf(0x1b5)](_0x3b4fdd){const _0x128a72=_0x4885bf;var _0x4c1010,_0x170384;const _0x5018ac=Date[_0x128a72(0x115)]();try{const _0x9dcd3b=((_0x4c1010=this[_0x128a72(0x2e5)][_0x128a72(0x2c7)](u[_0x128a72(0x324)]))==null?void 0x0:_0x4c1010[_0x128a72(0x227)])||ts,_0x30d94a=_0x3b4fdd?_0x9dcd3b+'?taskId='+encodeURIComponent(_0x3b4fdd):_0x9dcd3b,_0x5c5cc3=(await this[_0x128a72(0x195)][_0x128a72(0x1b8)](_0x30d94a))['body'];if(((_0x170384=_0x5c5cc3[_0x128a72(0x1d5)])==null?void 0x0:_0x170384[_0x128a72(0x226)])!==G['OK'])return;this[_0x128a72(0x119)](_0x5c5cc3[_0x128a72(0x242)],_0x5018ac);}catch(_0x3890d2){this[_0x128a72(0x1ed)][_0x128a72(0x1d5)](_0x3890d2);}}async['_releaseCalculationLimit'](_0x3a255f){const _0x26b3f0=_0x4885bf;var _0x2d0845,_0x243206;const _0x43c54d=Date[_0x26b3f0(0x115)]();try{const _0x277af3=((_0x2d0845=this['_configService'][_0x26b3f0(0x2c7)](u[_0x26b3f0(0x324)]))==null?void 0x0:_0x2d0845['releaseFormulaLimitUrl'])||is,_0x6f935b=(await this['_httpService'][_0x26b3f0(0x17c)](_0x277af3,{'body':JSON[_0x26b3f0(0x192)]({'taskId':_0x3a255f})}))[_0x26b3f0(0x26e)];if(((_0x243206=_0x6f935b[_0x26b3f0(0x1d5)])==null?void 0x0:_0x243206[_0x26b3f0(0x226)])!==G['OK'])return;this[_0x26b3f0(0x119)](_0x6f935b[_0x26b3f0(0x242)],_0x43c54d);}catch(_0x453e85){this[_0x26b3f0(0x1ed)][_0x26b3f0(0x1d5)](_0x453e85);}}['_checkCalculationAvailable'](){const _0x518a35=_0x4885bf;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x518a35(0xfb)]-this['_currentUsage']>0x0;}[_0x4885bf(0x145)](){const _0x4b9856=_0x4885bf;this[_0x4b9856(0x279)]&&(clearTimeout(this[_0x4b9856(0x279)]),this[_0x4b9856(0x279)]=null);}[_0x4885bf(0x312)](){const _0x4d8ad5=_0x4885bf;this[_0x4d8ad5(0x19a)][_0x4d8ad5(0x9f)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':T['MessageType'][_0x4d8ad5(0x2e4)]});}[_0x4885bf(0x35a)](_0x2a5a10){const _0x2a9317=_0x4885bf;for(const _0x4d3f81 of _0x2a5a10){const {unitId:_0x5117b9,sheetId:_0x6819f4,range:_0x2596aa}=_0x4d3f81,_0x1bf162=this['_univerInstanceService'][_0x2a9317(0x361)](_0x5117b9);if(!_0x1bf162)continue;const _0x2f59b2=_0x1bf162[_0x2a9317(0x2e2)](_0x6819f4);if(!_0x2f59b2)continue;const _0x5e4fc9=_0x2f59b2['getCellMatrix']();for(let _0x3d9a7c=_0x2596aa[_0x2a9317(0x261)];_0x3d9a7c<=_0x2596aa['endRow'];_0x3d9a7c++)for(let _0x5798c2=_0x2596aa[_0x2a9317(0x17b)];_0x5798c2<=_0x2596aa[_0x2a9317(0x2a7)];_0x5798c2++){const _0x492a7c=_0x5e4fc9[_0x2a9317(0x1cf)](_0x3d9a7c,_0x5798c2);if(_0x492a7c&&(a[_0x2a9317(0x1c8)](_0x492a7c['f'])||a['isFormulaId'](_0x492a7c['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x4885bf(0xe0)](O[_0x4885bf(0x255)])),L(0x1,a[_0x4885bf(0x2a2)]),L(0x2,a[_0x4885bf(0x1f2)]),L(0x3,a[_0x4885bf(0xe0)](x[_0x4885bf(0x358)])),L(0x4,a[_0x4885bf(0x2b8)]),L(0x5,a[_0x4885bf(0x15f)]),L(0x6,a[_0x4885bf(0xe0)](a['LocaleService']))],ne);var ns=Object[_0x4885bf(0xee)],rs=(_0x41833a,_0x11a070,_0xfce2c3,_0x3cdf3d)=>{const _0x36ce85=_0x4885bf;for(var _0x1c49f2=_0x3cdf3d>0x1?void 0x0:_0x3cdf3d?ns(_0x11a070,_0xfce2c3):_0x11a070,_0x16650e=_0x41833a[_0x36ce85(0x12a)]-0x1,_0x2aa722;_0x16650e>=0x0;_0x16650e--)(_0x2aa722=_0x41833a[_0x16650e])&&(_0x1c49f2=_0x2aa722(_0x1c49f2)||_0x1c49f2);return _0x1c49f2;},de=(_0x30fa77,_0x2137c9)=>(_0x2e548c,_0x7ee117)=>_0x2137c9(_0x2e548c,_0x7ee117,_0x30fa77);let pe=class extends a[_0x4885bf(0x1b2)]{constructor(_0x74df3a,_0x2f9593,_0x55d2cb){const _0x22b5f4=_0x4885bf;super(),_(this,_0x22b5f4(0x224),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x22b5f4(0x2e5)]=_0x74df3a,this[_0x22b5f4(0x196)]=_0x2f9593,this[_0x22b5f4(0xa1)]=_0x55d2cb);}[_0x4885bf(0x138)](){this['_disabled']=!0x0;}[_0x4885bf(0x13f)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5d8dee=_0x4885bf;return this[_0x5d8dee(0x299)];}[_0x4885bf(0xcf)](){const _0x383c3e=_0x4885bf;this[_0x383c3e(0x152)]()[_0x383c3e(0x180)](()=>super[_0x383c3e(0xcf)]());}async[_0x4885bf(0x1e2)](_0x2a1f45){const _0x4350eb=_0x4885bf;return this[_0x4350eb(0x15d)]?null:this['_localStorageService'][_0x4350eb(0x10e)](u[_0x4350eb(0x344)](_0x2a1f45));}async[_0x4885bf(0x340)](_0x51dcfe,_0x5bedd3){const _0x5ba1a5=_0x4885bf;return!!this[_0x5ba1a5(0x196)][_0x5ba1a5(0x1b0)](_0x51dcfe,_0x5bedd3);}['updateOfflineData'](_0x2db197,_0x4d0f06,_0xe5b814,_0x116057){const _0x3fc0a2=_0x4885bf,_0x40ddc4=this[_0x3fc0a2(0xa1)][_0x3fc0a2(0x303)](_0x2db197);this[_0x3fc0a2(0x224)][_0x3fc0a2(0x219)](_0x2db197,{'unitID':_0x2db197,'type':_0x4d0f06,'awaitingChangeset':_0xe5b814,'mutations':_0x116057,'rev':_0x40ddc4}),this[_0x3fc0a2(0x299)][_0x3fc0a2(0x11b)](_0x2db197)||this[_0x3fc0a2(0x30a)](_0x2db197);}[_0x4885bf(0x30a)](_0x19d8e6){const _0x13e57f=_0x4885bf,_0x591634=this[_0x13e57f(0x1a2)]();_0x591634===0x0?this['_saveCache'](_0x19d8e6):this['_saveTaskMap'][_0x13e57f(0x219)](_0x19d8e6,setTimeout(()=>this[_0x13e57f(0x17d)](_0x19d8e6),_0x591634));}['_getSaveTimeout'](){const _0x168a02=_0x4885bf;var _0x40cd6b;return(_0x40cd6b=this[_0x168a02(0x2e5)]['getConfig'](u[_0x168a02(0x108)]))!=null?_0x40cd6b:u['LOCAL_CACHE_INTERVAL'];}[_0x4885bf(0x17d)](_0x12f76c){const _0xf8c1a1=_0x4885bf,_0x151e1d=this['_saveTaskMap'][_0xf8c1a1(0x1b8)](_0x12f76c);return _0x151e1d!==void 0x0&&window[_0xf8c1a1(0x2cc)](_0x151e1d),this['_localStorageService']['setItem'](u['getLocalCacheKey'](_0x12f76c),this[_0xf8c1a1(0x224)][_0xf8c1a1(0x1b8)](_0x12f76c))[_0xf8c1a1(0x180)](()=>this[_0xf8c1a1(0x299)]['delete'](_0x12f76c));}async[_0x4885bf(0x152)](){const _0x38a20b=_0x4885bf,_0x4c3e94=[];this[_0x38a20b(0x299)][_0x38a20b(0x28d)]((_0x3153e6,_0x1f5364)=>{const _0x13d381=_0x38a20b;window['clearTimeout'](_0x3153e6),_0x4c3e94[_0x13d381(0x33a)](this[_0x13d381(0x17d)](_0x1f5364)[_0x13d381(0x180)](()=>{const _0x1163c7=_0x13d381;this[_0x1163c7(0x299)][_0x1163c7(0x2a1)](_0x1f5364);}));}),await Promise[_0x38a20b(0xec)](_0x4c3e94);}};pe=rs([de(0x0,a['IConfigService']),de(0x1,a['ILocalStorageService']),de(0x2,a[_0x4885bf(0xe0)](g[_0x4885bf(0x205)]))],pe);class ke extends a[_0x4885bf(0x1aa)]{constructor(){const _0x99e350=_0x4885bf;super(),_(this,'urlChange$'),this[_0x99e350(0xd8)]=I['fromEvent'](window,_0x99e350(0x2bd))[_0x99e350(0x153)](I[_0x99e350(0x268)](this['dispose$']),I[_0x99e350(0x2ca)](0x1),I[_0x99e350(0x1f0)](void 0x0));}[_0x4885bf(0x185)](_0xa6d63e,_0x3dd023,_0x7a6405=!0x1){const _0x2580a5=_0x4885bf,_0x434541=new URL(window[_0x2580a5(0x193)]['href']);_0x434541[_0x2580a5(0x17f)][_0x2580a5(0x219)](_0xa6d63e,_0x3dd023),_0x7a6405?window['history']['replaceState']('','',_0x434541[_0x2580a5(0x2a0)]()):window[_0x2580a5(0xe2)][_0x2580a5(0xe1)]('','',_0x434541[_0x2580a5(0x2a0)]());}[_0x4885bf(0x1a0)](_0x5e9398,_0x581764=!0x1){const _0x4c5b65=_0x4885bf,_0x4d1dea=new URL(window['location'][_0x4c5b65(0x23b)]);_0x4d1dea[_0x4c5b65(0x17f)][_0x4c5b65(0x2a1)](_0x5e9398),_0x581764?window[_0x4c5b65(0xe2)][_0x4c5b65(0x351)]('','',_0x4d1dea[_0x4c5b65(0x2a0)]()):window[_0x4c5b65(0xe2)][_0x4c5b65(0xe1)]('','',_0x4d1dea['toString']());}['getParam'](_0x1afde7){const _0x987a12=_0x4885bf;var _0x4f2299;return(_0x4f2299=new URL(window[_0x987a12(0x193)][_0x987a12(0x23b)])[_0x987a12(0x17f)][_0x987a12(0x1b8)](_0x1afde7))!=null?_0x4f2299:void 0x0;}}var os=Object[_0x4885bf(0x1a3)],as=Object[_0x4885bf(0xee)],cs=(_0xd3348e,_0x63a818,_0x4fe204)=>_0x63a818 in _0xd3348e?os(_0xd3348e,_0x63a818,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe204}):_0xd3348e[_0x63a818]=_0x4fe204,ls=(_0x552987,_0x7007b4,_0x32aaf1,_0x182126)=>{const _0xf0f613=_0x4885bf;for(var _0x45d7cd=_0x182126>0x1?void 0x0:_0x182126?as(_0x7007b4,_0x32aaf1):_0x7007b4,_0x4210c9=_0x552987[_0xf0f613(0x12a)]-0x1,_0x137da4;_0x4210c9>=0x0;_0x4210c9--)(_0x137da4=_0x552987[_0x4210c9])&&(_0x45d7cd=_0x137da4(_0x45d7cd)||_0x45d7cd);return _0x45d7cd;},Se=(_0x5357aa,_0x44ecd0)=>(_0x2db922,_0x3e26c6)=>_0x44ecd0(_0x2db922,_0x3e26c6,_0x5357aa),_s=(_0x16d1de,_0x38ef1e,_0x4928c9)=>cs(_0x16d1de,_0x38ef1e+'',_0x4928c9);const hs=_0x4885bf(0x283);exports[_0x4885bf(0x99)]=class extends a[_0x4885bf(0x2b4)]{constructor(_0x4e55d8=Me,_0xbbde2,_0x392b53,_0xa3252e){const _0x3a4297=_0x4885bf;super(),this['_config']=_0x4e55d8,this[_0x3a4297(0x342)]=_0xbbde2,this[_0x3a4297(0x17e)]=_0x392b53,this[_0x3a4297(0x2e5)]=_0xa3252e;const {..._0xf72047}=a['merge']({},Me,this[_0x3a4297(0x29f)]);this[_0x3a4297(0x2e5)]['setConfig'](Yt,_0xf72047);}[_0x4885bf(0x236)](){const _0x363f87=_0x4885bf;this['_registerDependencies'](),this[_0x363f87(0x2d2)]();}[_0x4885bf(0x1ec)](){const _0xc2f44=_0x4885bf;this[_0xc2f44(0x142)]();}[_0x4885bf(0x1cc)](){const _0x3b8262=_0x4885bf;var _0x105445;const _0x4755b5=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x3b8262(0x326)],{'useClass':x['WebSocketService']}],[u['ILocalCacheService'],{'useClass':pe}],[exports[_0x3b8262(0x197)]],[ie],[Z],[F],[me],[exports[_0x3b8262(0x161)]]];this['_config'][_0x3b8262(0x1de)]&&_0x4755b5[_0x3b8262(0x33a)]([Q]),a[_0x3b8262(0x2c3)](this[_0x3b8262(0x17e)],a['mergeOverrideWithDependencies'](_0x4755b5,(_0x105445=this[_0x3b8262(0x29f)])==null?void 0x0:_0x105445[_0x3b8262(0x1dd)]));}[_0x4885bf(0x142)](){const _0x2465a8=_0x4885bf;this[_0x2465a8(0x354)](this[_0x2465a8(0x342)]['registerRenderModule'](a[_0x2465a8(0x311)]['UNIVER_DOC'],[Ee])),this[_0x2465a8(0x354)](this[_0x2465a8(0x342)][_0x2465a8(0x97)](a['UniverInstanceType'][_0x2465a8(0x28c)],[Ce]));}[_0x4885bf(0x2d2)](){const _0x1930b2=_0x4885bf;a['touchDependencies'](this[_0x1930b2(0x17e)],[[F],[exports[_0x1930b2(0x197)]],[ie],[Z],[exports[_0x1930b2(0x161)]],[ne]]),this['_config'][_0x1930b2(0x1de)]&&a['touchDependencies'](this['_injector'],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],_0x4885bf(0x208),hs),exports['UniverCollaborationClientUIPlugin']=ls([a[_0x4885bf(0x186)](u[_0x4885bf(0x287)]),Se(0x1,C[_0x4885bf(0x1a4)]),Se(0x2,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),Se(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var us=Object[_0x4885bf(0xee)],Is=(_0x273a17,_0x257e2c,_0x2889d7,_0x305b5d)=>{const _0x41bd53=_0x4885bf;for(var _0x3ab5f4=_0x305b5d>0x1?void 0x0:_0x305b5d?us(_0x257e2c,_0x2889d7):_0x257e2c,_0x2958aa=_0x273a17[_0x41bd53(0x12a)]-0x1,_0x239cf6;_0x2958aa>=0x0;_0x2958aa--)(_0x239cf6=_0x273a17[_0x2958aa])&&(_0x3ab5f4=_0x239cf6(_0x3ab5f4)||_0x3ab5f4);return _0x3ab5f4;},W=(_0x530bfb,_0x23d69f)=>(_0xab5ae2,_0x1feed4)=>_0x23d69f(_0xab5ae2,_0x1feed4,_0x530bfb);exports[_0x4885bf(0x157)]=class extends u[_0x4885bf(0x1ab)]{constructor(_0x12716a,_0x36ea8e,_0x12c40a,_0x4d9064,_0x374c9a){super(_0x12716a,_0x36ea8e,_0x12c40a,_0x4d9064,_0x374c9a);}async[_0x4885bf(0x13b)](_0x4d174b){const _0x4b4147=_0x4885bf,_0x4d6a63=await this[_0x4b4147(0x201)](),_0x43860f=this[_0x4b4147(0x1ea)](_0x4d174b,_0x4d6a63);return this['_doCreateSocket'](_0x43860f);}[_0x4885bf(0x1ea)](_0x3fb81e,_0xf0f27d){const _0x4c116c=_0x4885bf,_0x508559=typeof window>'u'?new URL(_0x3fb81e):new URL(_0x3fb81e,window['location'][_0x4c116c(0xf2)]);_0x508559['searchParams'][_0x4c116c(0x219)]('sessionTicket',_0xf0f27d);const _0x3ee56d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c116c(0x193)][_0x4c116c(0x243)]);return _0x3ee56d[_0x4c116c(0x1b8)](_0x4c116c(0x171))&&_0x508559[_0x4c116c(0x17f)][_0x4c116c(0x219)](_0x4c116c(0x171),_0x3ee56d[_0x4c116c(0x1b8)](_0x4c116c(0x171))),_0x508559[_0x4c116c(0x2a0)]();}async[_0x4885bf(0x201)](){const _0xf85f=_0x4885bf;var _0x18f849,_0x3e9bc2,_0x102102;const _0x5c93ba=this[_0xf85f(0x2e5)][_0xf85f(0x2c7)](u[_0xf85f(0x324)]),_0x4f05b3=(_0x18f849=_0x5c93ba==null?void 0x0:_0x5c93ba[_0xf85f(0xc7)])!=null?_0x18f849:u[_0xf85f(0x151)];return(_0x102102=(_0x3e9bc2=(await this[_0xf85f(0x195)][_0xf85f(0x1b8)](_0x4f05b3,{'headers':{'Content-Type':_0xf85f(0x102)}}))['body'])==null?void 0x0:_0x3e9bc2[_0xf85f(0x25f)])!=null?_0x102102:'';}},exports[_0x4885bf(0x157)]=Is([W(0x0,a[_0x4885bf(0xe0)](a[_0x4885bf(0x199)])),W(0x1,a['Inject'](x['HTTPService'])),W(0x2,a[_0x4885bf(0x1f2)]),W(0x3,a[_0x4885bf(0x15f)]),W(0x4,g['ISnapshotServerService'])],exports[_0x4885bf(0x157)]);var ds=Object[_0x4885bf(0xee)],Ss=(_0xeb4680,_0x220c80,_0x5431e7,_0xc98825)=>{const _0x17dda0=_0x4885bf;for(var _0x22d254=_0xc98825>0x1?void 0x0:_0xc98825?ds(_0x220c80,_0x5431e7):_0x220c80,_0x5449e9=_0xeb4680[_0x17dda0(0x12a)]-0x1,_0x16fb42;_0x5449e9>=0x0;_0x5449e9--)(_0x16fb42=_0xeb4680[_0x5449e9])&&(_0x22d254=_0x16fb42(_0x22d254)||_0x22d254);return _0x22d254;},fe=(_0x317971,_0x2e0681)=>(_0x51cbc6,_0x3b2504)=>_0x2e0681(_0x51cbc6,_0x3b2504,_0x317971);exports[_0x4885bf(0x343)]=class extends a['Disposable']{constructor(_0x23e02a,_0x31bd5e,_0x2e3d9b){const _0x12db6b=_0x4885bf;super(),this['_instanceService']=_0x23e02a,this['_httpService']=_0x31bd5e,this[_0x12db6b(0x2e5)]=_0x2e3d9b;}async['runOnServer'](_0x4e1bef,_0x56aec8,_0x5e9199,..._0x3d853d){const _0x310a43=_0x4885bf;var _0x1a4ae0,_0x39d8d3,_0x5db95f,_0xffd0f4;const _0x3e2a4a=this['_instanceService'][_0x310a43(0x277)]();if(!_0x3e2a4a)throw new Error(_0x310a43(0x27b));const _0x241cb1=((_0x1a4ae0=this['_configService'][_0x310a43(0x2c7)](u[_0x310a43(0x133)]))!=null?_0x1a4ae0:u[_0x310a43(0x112)])+'/'+_0x4e1bef+_0x310a43(0x1ff)+_0x56aec8,_0xcfc94c=new URL(window[_0x310a43(0x193)][_0x310a43(0x23b)]),_0x21eaf7={'scriptId':_0x4e1bef,'runId':(_0x39d8d3=_0xcfc94c[_0x310a43(0x17f)][_0x310a43(0x1b8)](_0x310a43(0x171)))!=null?_0x39d8d3:'','function':_0x56aec8,'unitId':_0x3e2a4a['getUnitId'](),'argsOfFunction':JSON[_0x310a43(0x192)](_0x3d853d),'invokeId':(_0x5db95f=_0x5e9199[_0x310a43(0x322)])!=null?_0x5db95f:'','executionId':(_0xffd0f4=_0x5e9199[_0x310a43(0x15a)])!=null?_0xffd0f4:''};try{const _0xbf3658=await this[_0x310a43(0x195)]['post'](_0x241cb1,{'body':_0x21eaf7});return _0xbf3658[_0x310a43(0x26e)][_0x310a43(0x1d5)]&&_0xbf3658['body']['error'][_0x310a43(0x226)]!==G['OK']?_0x310a43(0xc0):_0xbf3658[_0x310a43(0x26e)][_0x310a43(0x13c)];}catch{return _0x310a43(0xc0);}}},exports[_0x4885bf(0x343)]=Ss([fe(0x0,a[_0x4885bf(0x2b8)]),fe(0x1,a[_0x4885bf(0xe0)](x['HTTPService'])),fe(0x2,a[_0x4885bf(0x1f2)])],exports[_0x4885bf(0x343)]);const we=0x7530,ye=_0x4885bf(0xbd);class fs extends a['Disposable']{constructor(){const _0x12b11d=_0x4885bf;super(),_(this,_0x12b11d(0x1a1),a[_0x12b11d(0x2f0)]()),_(this,'_selfUnitIDs',new Set()),_(this,_0x12b11d(0xe7),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x12b11d(0x1c1),new Map()),_(this,_0x12b11d(0xd5),new Map()),this[_0x12b11d(0x2a5)]();}[_0x4885bf(0xcf)](){const _0x2e2f37=_0x4885bf;super[_0x2e2f37(0xcf)](),this[_0x2e2f37(0x1c1)][_0x2e2f37(0x28d)]((_0x56de1b,_0xf54403)=>this['_removeClearOtherTimer'](_0xf54403)),this[_0x2e2f37(0x139)]&&window[_0x2e2f37(0x295)](this[_0x2e2f37(0x139)]);}[_0x4885bf(0x338)](_0x333b94){const _0x2f1f84=_0x4885bf;return this[_0x2f1f84(0x264)](_0x333b94)[_0x2f1f84(0x153)](I[_0x2f1f84(0x2c6)]());}[_0x4885bf(0x1e7)](_0x37e580){const _0x2c7bc4=_0x4885bf;this[_0x2c7bc4(0xd1)]['size']===0x0&&this[_0x2c7bc4(0x2a4)](),this[_0x2c7bc4(0xd1)][_0x2c7bc4(0xf1)](_0x37e580),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x37e580],'isForwarded':!0x1});}[_0x4885bf(0x1c9)](_0x79e8c9){const _0x11a83f=_0x4885bf;this[_0x11a83f(0xd1)][_0x11a83f(0x2a1)](_0x79e8c9),this[_0x11a83f(0xd1)][_0x11a83f(0x2ef)]===0x0&&this[_0x11a83f(0x139)]&&window[_0x11a83f(0x295)](this['_heartbeatTimer']);}['_init'](){const _0x55e67b=_0x4885bf;this[_0x55e67b(0x354)](a['toDisposable'](I[_0x55e67b(0x1e5)](window,'storage')[_0x55e67b(0x22c)](_0x573f79=>{const _0x5c34e6=_0x55e67b;if(_0x573f79[_0x5c34e6(0xb1)]!==ye||!_0x573f79[_0x5c34e6(0xa2)])return;const _0x1a5a99=JSON[_0x5c34e6(0x94)](_0x573f79['newValue']);this[_0x5c34e6(0x32f)](_0x1a5a99);}))),window[_0x55e67b(0x29c)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x55e67b(0xd1)])}));}[_0x4885bf(0x32f)](_0x372f6b){const _0xce6df8=_0x4885bf;switch(_0x372f6b[_0xce6df8(0x360)]){case 0x0:this[_0xce6df8(0x11d)](_0x372f6b);break;case 0x1:this[_0xce6df8(0x2a6)](_0x372f6b);break;case 0x2:this[_0xce6df8(0x100)](_0x372f6b);break;}}[_0x4885bf(0x11d)](_0x340af4){const _0x36489c=_0x4885bf,{unitIDs:_0x4a8a1a,memberID:_0x12c92b,isForwarded:_0x48b00d}=_0x340af4;_0x4a8a1a['forEach'](_0xc6758d=>{const _0x3799b0=_0x30e5;if(!_0x48b00d&&this['_unitOnClients']['has'](_0xc6758d)&&this[_0x3799b0(0x264)](_0xc6758d)[_0x3799b0(0x1a7)](u[_0x3799b0(0x19d)][_0x3799b0(0x266)]),!this[_0x3799b0(0xe7)][_0x3799b0(0x11b)](_0xc6758d)||!this['_unitOnClients'][_0x3799b0(0x1b8)](_0xc6758d)['has'](_0x12c92b)){const _0x310695=this[_0x3799b0(0xe7)]['get'](_0xc6758d)||new Set();_0x310695[_0x3799b0(0xf1)](_0x12c92b),this[_0x3799b0(0xe7)]['set'](_0xc6758d,_0x310695),this[_0x3799b0(0x16e)](_0x12c92b);}}),_0x48b00d||this[_0x36489c(0x1ae)]({'type':0x0,'memberID':this[_0x36489c(0x1a1)],'unitIDs':[...this[_0x36489c(0xd1)]],'isForwarded':!0x0});}[_0x4885bf(0x16e)](_0x56181a){const _0x364d20=_0x4885bf;this[_0x364d20(0xa7)](_0x56181a);const _0xcd73ad=window['setTimeout'](()=>{const _0x2944da=_0x364d20;this[_0x2944da(0xe7)][_0x2944da(0x28d)](_0x5d83da=>{_0x5d83da['delete'](_0x56181a);});},we*0x2);this[_0x364d20(0x1c1)][_0x364d20(0x219)](_0x56181a,_0xcd73ad);}[_0x4885bf(0xa7)](_0x444405){const _0x2ae62a=_0x4885bf;if(this[_0x2ae62a(0x1c1)]['has'](_0x444405)){const _0x401f05=this[_0x2ae62a(0x1c1)][_0x2ae62a(0x1b8)](_0x444405);_0x401f05&&window[_0x2ae62a(0x2cc)](_0x401f05),this['_clearOtherTimers'][_0x2ae62a(0x219)](_0x444405,null);}}['_handleLeaveEvent'](_0x4b5d86){const _0xedcd54=_0x4885bf,{memberID:_0x3878db,unitIDs:_0x51525b}=_0x4b5d86;_0x51525b[_0xedcd54(0x28d)](_0x2fbc00=>{const _0x1c8dc7=_0xedcd54;var _0x440aad;const _0x40072d=this[_0x1c8dc7(0xe7)][_0x1c8dc7(0x1b8)](_0x2fbc00);_0x40072d&&(_0x40072d[_0x1c8dc7(0x2a1)](_0x3878db),(_0x440aad=this[_0x1c8dc7(0x264)](_0x2fbc00))==null||_0x440aad[_0x1c8dc7(0x1a7)](_0x40072d[_0x1c8dc7(0x2ef)]===0x0?u['UnitStatus'][_0x1c8dc7(0x16d)]:u[_0x1c8dc7(0x19d)][_0x1c8dc7(0x266)]));}),this[_0xedcd54(0xa7)](_0x3878db);}[_0x4885bf(0x100)](_0x5089ab){const _0x125471=_0x4885bf;this[_0x125471(0x16e)](_0x5089ab[_0x125471(0x187)]);}[_0x4885bf(0x1ae)](_0x485851){const _0x3d6991=_0x4885bf;localStorage[_0x3d6991(0x1b0)](ye,JSON[_0x3d6991(0x192)](_0x485851));}[_0x4885bf(0x2a4)](){const _0x1888e2=_0x4885bf;this[_0x1888e2(0x139)]=window['setInterval'](()=>{const _0x42e6fe=_0x1888e2;this['_send']({'type':0x2,'memberID':this[_0x42e6fe(0x1a1)]});},we);}['_ensureSubject'](_0x38d8ce){const _0xce93e7=_0x4885bf;return this[_0xce93e7(0xd5)][_0xce93e7(0x11b)](_0x38d8ce)||this[_0xce93e7(0xd5)][_0xce93e7(0x219)](_0x38d8ce,new I['BehaviorSubject'](u[_0xce93e7(0x19d)][_0xce93e7(0x16d)])),this[_0xce93e7(0xd5)]['get'](_0x38d8ce);}}exports[_0x4885bf(0x106)]=Oe,exports[_0x4885bf(0x114)]=je,exports[_0x4885bf(0x241)]=fs,exports[_0x4885bf(0x355)]=ke;
|
|
1
|
+
'use strict';const _0x931b1e=_0x1e77;(function(_0x35e091,_0x3e593f){const _0x46398e=_0x1e77,_0x818e63=_0x35e091();while(!![]){try{const _0x4b3b49=-parseInt(_0x46398e(0x241))/0x1*(parseInt(_0x46398e(0xe5))/0x2)+parseInt(_0x46398e(0x22b))/0x3*(-parseInt(_0x46398e(0x2a6))/0x4)+-parseInt(_0x46398e(0x1d2))/0x5+parseInt(_0x46398e(0x23f))/0x6+parseInt(_0x46398e(0xed))/0x7*(parseInt(_0x46398e(0x27b))/0x8)+-parseInt(_0x46398e(0x21c))/0x9+parseInt(_0x46398e(0x267))/0xa*(parseInt(_0x46398e(0x121))/0xb);if(_0x4b3b49===_0x3e593f)break;else _0x818e63['push'](_0x818e63['shift']());}catch(_0x27942a){_0x818e63['push'](_0x818e63['shift']());}}}(_0x1264,0x43368));var Xe=Object[_0x931b1e(0x109)],Ke=(_0x3f994d,_0x22760f,_0x2d7746)=>_0x22760f in _0x3f994d?Xe(_0x3f994d,_0x22760f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d7746}):_0x3f994d[_0x22760f]=_0x2d7746,_=(_0x5e0ec5,_0x300867,_0x592009)=>Ke(_0x5e0ec5,typeof _0x300867!=_0x931b1e(0xf9)?_0x300867+'':_0x300867,_0x592009);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),p=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function Te({ref:_0x588528,..._0x2a8780}){const _0x4021ee=_0x931b1e,{icon:_0x2564d5,id:_0x1604f5,className:_0x5ce309,extend:_0x526d05,..._0x170c41}=_0x2a8780,_0x48004e=(_0x4021ee(0x1fc)+_0x1604f5+'\x20'+(_0x5ce309||''))[_0x4021ee(0xd4)](),_0x48dfb0=A[_0x4021ee(0x305)]('_'+Qe());return $e(_0x2564d5,''+_0x1604f5,{'defIds':_0x2564d5[_0x4021ee(0x159)],'idSuffix':_0x48dfb0[_0x4021ee(0x11d)]},{'ref':_0x588528,'className':_0x48004e,..._0x170c41},_0x526d05);}function $e(_0x48eede,_0x5c778a,_0x127602,_0x2234ab,_0x59e6ae){const _0x577840=_0x931b1e;return A[_0x577840(0x2a0)](_0x48eede[_0x577840(0xb4)],{'key':_0x5c778a,...Je(_0x48eede,_0x127602,_0x59e6ae),..._0x2234ab},(Ze(_0x48eede,_0x127602)[_0x577840(0x2b7)]||[])[_0x577840(0x21a)]((_0xd919f,_0x1b06fe)=>$e(_0xd919f,_0x5c778a+'-'+_0x48eede[_0x577840(0xb4)]+'-'+_0x1b06fe,_0x127602,void 0x0,_0x59e6ae)));}function Je(_0x492b71,_0x38c752,_0x488071){const _0x19db44=_0x931b1e,_0x9684c2={..._0x492b71[_0x19db44(0x1bd)]};_0x488071!=null&&_0x488071[_0x19db44(0x2d5)]&&_0x9684c2[_0x19db44(0x230)]===_0x19db44(0x2d5)&&(_0x9684c2[_0x19db44(0x230)]=_0x488071[_0x19db44(0x2d5)]),_0x492b71[_0x19db44(0xb4)]===_0x19db44(0x1f9)&&_0x9684c2['id']&&(_0x9684c2['id']=_0x9684c2['id']+_0x38c752[_0x19db44(0x221)]),Object['entries'](_0x9684c2)[_0x19db44(0x1d5)](([_0x167961,_0x4dea15])=>{const _0x4291ed=_0x19db44;_0x167961===_0x4291ed(0x1f9)&&typeof _0x4dea15=='string'&&(_0x9684c2[_0x167961]=_0x4dea15[_0x4291ed(0xfd)](/url\(#(.*)\)/,_0x4291ed(0x327)+_0x38c752[_0x4291ed(0x221)]+')'));});const {defIds:_0x5a3779}=_0x38c752;return!_0x5a3779||_0x5a3779[_0x19db44(0x180)]===0x0||(_0x492b71[_0x19db44(0xb4)]==='use'&&_0x9684c2[_0x19db44(0x284)]&&(_0x9684c2[_0x19db44(0x284)]=_0x9684c2['xlink:href']+_0x38c752['idSuffix']),Object['entries'](_0x9684c2)[_0x19db44(0x1d5)](([_0x4a20f8,_0x18d3b4])=>{const _0x513fb5=_0x19db44;typeof _0x18d3b4==_0x513fb5(0x28d)&&(_0x9684c2[_0x4a20f8]=_0x18d3b4['replace'](/url\(#(.*)\)/,'url(#$1'+_0x38c752[_0x513fb5(0x221)]+')'));})),_0x9684c2;}function Ze(_0x34d653,_0x88c4e0){const _0x18e14d=_0x931b1e;var _0x239e76;const {defIds:_0x1da8ed}=_0x88c4e0;return!_0x1da8ed||_0x1da8ed['length']===0x0?_0x34d653:_0x34d653[_0x18e14d(0xb4)]===_0x18e14d(0x1ea)&&((_0x239e76=_0x34d653[_0x18e14d(0x2b7)])!=null&&_0x239e76[_0x18e14d(0x180)])?{..._0x34d653,'children':_0x34d653[_0x18e14d(0x2b7)][_0x18e14d(0x21a)](_0x23ffd7=>typeof _0x23ffd7['attrs']['id']==_0x18e14d(0x28d)&&_0x1da8ed&&_0x1da8ed['includes'](_0x23ffd7[_0x18e14d(0x1bd)]['id'])?{..._0x23ffd7,'attrs':{..._0x23ffd7[_0x18e14d(0x1bd)],'id':_0x23ffd7[_0x18e14d(0x1bd)]['id']+_0x88c4e0[_0x18e14d(0x221)]}}:_0x23ffd7)}:_0x34d653;}function _0x1e77(_0x3e2950,_0x36a812){const _0x12642e=_0x1264();return _0x1e77=function(_0x1e775f,_0xf6a0ef){_0x1e775f=_0x1e775f-0x9d;let _0x263c89=_0x12642e[_0x1e775f];return _0x263c89;},_0x1e77(_0x3e2950,_0x36a812);}function Qe(){const _0xdbcca0=_0x931b1e;return Math[_0xdbcca0(0x2c5)]()[_0xdbcca0(0x328)](0x24)['substring'](0x2,0x8);}Te[_0x931b1e(0x1ad)]=_0x931b1e(0x1e7);const et={'tag':_0x931b1e(0x152),'attrs':{'xmlns':_0x931b1e(0x1b0),'fill':_0x931b1e(0x16e),'viewBox':_0x931b1e(0x29d),'width':_0x931b1e(0x34a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x931b1e(0x181)},'children':[{'tag':_0x931b1e(0x16b),'attrs':{'stroke':_0x931b1e(0x250),'d':_0x931b1e(0xfa),'strokeLinecap':_0x931b1e(0x2d9),'strokeLinejoin':_0x931b1e(0x2d9),'strokeWidth':1.2}}]},{'tag':_0x931b1e(0x1ea),'attrs':{},'children':[{'tag':_0x931b1e(0x148),'attrs':{'id':_0x931b1e(0x227)},'children':[{'tag':_0x931b1e(0x16b),'attrs':{'fill':_0x931b1e(0x10e),'d':_0x931b1e(0x2f1)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},xe=A['forwardRef'](function(_0x54c4e0,_0x425735){const _0x5f5a70=_0x931b1e;return A[_0x5f5a70(0x2a0)](Te,Object[_0x5f5a70(0x17c)]({},_0x54c4e0,{'id':_0x5f5a70(0xbf),'ref':_0x425735,'icon':et}));});xe[_0x931b1e(0x1ad)]=_0x931b1e(0x293);const tt={'tag':_0x931b1e(0x152),'attrs':{'xmlns':_0x931b1e(0x1b0),'fill':_0x931b1e(0x16e),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x931b1e(0x34a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x931b1e(0x250),'d':_0x931b1e(0x2b8),'strokeLinecap':_0x931b1e(0x2d9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x931b1e(0x148),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x931b1e(0x311)}}]}]}],'defIds':[_0x931b1e(0x28a)]},Be=A[_0x931b1e(0x2b6)](function(_0x585946,_0x1197fc){const _0x51a60b=_0x931b1e;return A['createElement'](Te,Object[_0x51a60b(0x17c)]({},_0x585946,{'id':'on-line-icon','ref':_0x1197fc,'icon':tt}));});Be['displayName']=_0x931b1e(0x199);function st(_0x53f68b){const _0x4daee8=_0x931b1e;switch(_0x53f68b){case u['CollaborationStatus'][_0x4daee8(0x1dd)]:return _0x4daee8(0x15d);case u[_0x4daee8(0x10b)][_0x4daee8(0x26d)]:return'collabStatus.conflict';case u[_0x4daee8(0x10b)][_0x4daee8(0x32a)]:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x4daee8(0xa2)]:return _0x4daee8(0x12b);case u[_0x4daee8(0x10b)][_0x4daee8(0x146)]:case u[_0x4daee8(0x10b)][_0x4daee8(0x35b)]:return _0x4daee8(0x21e);case u[_0x4daee8(0x10b)][_0x4daee8(0x17b)]:case u['CollaborationStatus']['PENDING']:return _0x4daee8(0x2c3);}}function it(_0x49051c){const _0x1581fb=_0x931b1e,{status$:_0x5a8700}=_0x49051c,_0x5a16d0=O['useObservable'](_0x5a8700,u[_0x1581fb(0x10b)][_0x1581fb(0xa2)]),_0xc16aa=O[_0x1581fb(0x2dc)](a[_0x1581fb(0xb5)]),_0x7323af=O[_0x1581fb(0x2dc)](u['CollaborationSessionService']),_0x347ffd=_0x5a16d0!==u[_0x1581fb(0x10b)][_0x1581fb(0x1dd)],_0x5526a1=_0xc16aa['t'](st(_0x5a16d0)),_0x1e8534=_0x347ffd?M[_0x1581fb(0x2dd)](Be,{}):M[_0x1581fb(0x2dd)](xe,{}),_0xbce87a=A[_0x1581fb(0x326)](()=>{const _0x5ab253=_0x1581fb;_0x347ffd||_0x7323af[_0x5ab253(0x188)]();},[_0x347ffd,_0x7323af]);function _0x40870c(){const _0x33fa16=_0x1581fb;return M['jsxs'](_0x33fa16(0x1e5),{'className':'univer-flex\x20univer-items-center','onClick':_0xbce87a,'children':[M['jsx'](_0x33fa16(0x1e5),{'className':T[_0x33fa16(0x1ff)](_0x33fa16(0xc0),{'univer-text-green-500':_0x347ffd,'univer-text-red-500':!_0x347ffd}),'children':_0x1e8534}),M[_0x33fa16(0x2dd)](_0x33fa16(0x1e5),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5526a1})]});}return _0x347ffd?_0x40870c():M['jsx'](T['Tooltip'],{'title':_0xc16aa['t'](_0x1581fb(0x2c6)),'children':_0x40870c()});}var nt=Object[_0x931b1e(0x304)],rt=(_0x45a122,_0x53e0fc,_0x529f6b,_0x29fedb)=>{const _0x5c96f4=_0x931b1e;for(var _0x2e35dc=_0x29fedb>0x1?void 0x0:_0x29fedb?nt(_0x53e0fc,_0x529f6b):_0x53e0fc,_0xa5f5ee=_0x45a122[_0x5c96f4(0x180)]-0x1,_0x38a57d;_0xa5f5ee>=0x0;_0xa5f5ee--)(_0x38a57d=_0x45a122[_0xa5f5ee])&&(_0x2e35dc=_0x38a57d(_0x2e35dc)||_0x2e35dc);return _0x2e35dc;},K=(_0x46a5f8,_0x5b9f5a)=>(_0x27d908,_0xa4a432)=>_0x5b9f5a(_0x27d908,_0xa4a432,_0x46a5f8);exports[_0x931b1e(0x265)]=class extends a[_0x931b1e(0x22d)]{constructor(_0x59f059,_0x294d00,_0x58a446,_0x25ff76){const _0x56fc92=_0x931b1e;super(),_(this,_0x56fc92(0x123),new I[(_0x56fc92(0x346))](u[_0x56fc92(0x10b)][_0x56fc92(0xa2)])),(this['_univerInstanceService']=_0x59f059,this[_0x56fc92(0x251)]=_0x294d00,this[_0x56fc92(0x2fb)]=_0x58a446,this[_0x56fc92(0x20f)]=_0x25ff76,this[_0x56fc92(0x325)](),this[_0x56fc92(0x299)]());}[_0x931b1e(0x299)](){const _0x4c002a=_0x931b1e;this['disposeWithMe'](this[_0x4c002a(0x150)][_0x4c002a(0x32e)][_0x4c002a(0x154)](I[_0x4c002a(0x193)](()=>{const _0x54650f=_0x4c002a,_0xd76664=this[_0x54650f(0x150)]['getFocusedUnit']();return _0xd76664?this[_0x54650f(0x2fb)][_0x54650f(0x30a)](_0xd76664[_0x54650f(0x25a)]()):I['of'](null);}),I[_0x4c002a(0x193)](_0xa2e89a=>_0xa2e89a?_0xa2e89a[_0x4c002a(0x301)]:I['of'](u[_0x4c002a(0x10b)][_0x4c002a(0xa2)])))[_0x4c002a(0x143)](_0x8ad81b=>{const _0x3f5a05=_0x4c002a;this['_status$'][_0x3f5a05(0x194)](_0x8ad81b);}));}['_initStatusComponent'](){const _0x162bf4=_0x931b1e;this[_0x162bf4(0x167)](this[_0x162bf4(0x20f)][_0x162bf4(0x300)](O['BuiltInUIPart'][_0x162bf4(0x253)],()=>O[_0x162bf4(0x2d1)](ot({'status$':this['_status$']['asObservable']()}),this['_injector'])));}},exports[_0x931b1e(0x265)]=rt([K(0x0,a[_0x931b1e(0x1d0)]),K(0x1,a[_0x931b1e(0x1da)](a['Injector'])),K(0x2,a['Inject'](u[_0x931b1e(0x31b)])),K(0x3,O[_0x931b1e(0x219)])],exports['DesktopCollaborationStatusDisplayController']);function ot(_0x5bed72){const {status$:_0x1700d9}=_0x5bed72;return function(){const _0x526180=_0x1e77;return M[_0x526180(0x2dd)](it,{'status$':_0x1700d9});};}const Oe=a[_0x931b1e(0x23a)](_0x931b1e(0x2cd));var at=Object['getOwnPropertyDescriptor'],ct=(_0x30856c,_0x52fadf,_0x2fc261,_0x57a06e)=>{const _0x345f2d=_0x931b1e;for(var _0x424aff=_0x57a06e>0x1?void 0x0:_0x57a06e?at(_0x52fadf,_0x2fc261):_0x52fadf,_0x2b67fc=_0x30856c[_0x345f2d(0x180)]-0x1,_0x1a8fb9;_0x2b67fc>=0x0;_0x2b67fc--)(_0x1a8fb9=_0x30856c[_0x2b67fc])&&(_0x424aff=_0x1a8fb9(_0x424aff)||_0x424aff);return _0x424aff;},Y=(_0x3f966b,_0x4ab4c0)=>(_0x173d52,_0x400c98)=>_0x4ab4c0(_0x173d52,_0x400c98,_0x3f966b);exports[_0x931b1e(0x2ad)]=class extends a[_0x931b1e(0x29e)]{constructor(_0x28f0e1,_0x287d47,_0x26d1f4,_0x3406e3,_0x5b309f){const _0x12f0b1=_0x931b1e;super(),this[_0x12f0b1(0x157)]=_0x28f0e1,this[_0x12f0b1(0x2d3)]=_0x287d47,this[_0x12f0b1(0x108)]=_0x26d1f4,this['_dataLoaderService']=_0x3406e3,_0x5b309f?_0x5b309f==null||_0x5b309f[_0x12f0b1(0x207)]()[_0x12f0b1(0xfc)](()=>this[_0x12f0b1(0xb0)]()):(this[_0x12f0b1(0x2d3)][_0x12f0b1(0xcb)]('[CollaborationDataLoaderController]',_0x12f0b1(0x2db)),this['_init']());}async['_init'](){const _0x30c9db=_0x931b1e,_0xaa53ce=this[_0x30c9db(0x157)][_0x30c9db(0x292)](_0x30c9db(0xd2)),_0x3313cb=this['_urlService']['getParam'](_0x30c9db(0x175)),_0x24b782=this[_0x30c9db(0x157)][_0x30c9db(0x292)](_0x30c9db(0x1c2));if(!_0xaa53ce||!_0x3313cb){this[_0x30c9db(0x2d3)]['debug'](_0x30c9db(0x169),_0x30c9db(0xe6));return;}const _0x499083=await this[_0x30c9db(0xe1)]['loadUnit'](_0xaa53ce,Number(_0x3313cb),_0x24b782);_0x499083&&_0x499083 instanceof a[_0x30c9db(0x361)]&&this['_setupSubUnitSync'](_0x499083);}async[_0x931b1e(0x1b4)](_0x5db39e){const _0x1ca12c=_0x931b1e;await this[_0x1ca12c(0x2c7)](_0x5db39e),_0x5db39e['activeSheet$'][_0x1ca12c(0x154)](I[_0x1ca12c(0x17a)](this[_0x1ca12c(0x20a)]))[_0x1ca12c(0x143)](_0x2fe0df=>{const _0xefe854=_0x1ca12c;_0x2fe0df&&this[_0xefe854(0x231)](_0x2fe0df);}),this[_0x1ca12c(0x157)]['urlChange$'][_0x1ca12c(0x154)](I[_0x1ca12c(0x17a)](this[_0x1ca12c(0x20a)]))[_0x1ca12c(0x143)](()=>this['_updateSubUnitFromURLParams'](_0x5db39e));}[_0x931b1e(0x231)](_0x20a8bc,_0x36da6a=!0x1){const _0x15c54f=_0x931b1e,_0x465840=this[_0x15c54f(0x157)][_0x15c54f(0x292)](_0x15c54f(0x1c2));_0x20a8bc[_0x15c54f(0x2b9)]()!==_0x465840&&this['_urlService']['setParam']('subunit',_0x20a8bc[_0x15c54f(0x2b9)](),_0x36da6a);}async['_updateSubUnitFromURLParams'](_0x278446){const _0x49a786=_0x931b1e;var _0x42ab8c;const _0x50b20e=this['_urlService'][_0x49a786(0x292)](_0x49a786(0x1c2));if(!_0x50b20e||!_0x278446[_0x49a786(0x13f)](_0x50b20e)){const _0x206f4d=_0x278446['getUnhiddenWorksheets']()[0x0],_0x187305=_0x278446['getSheetBySheetId'](_0x206f4d);if(!_0x187305)return;this[_0x49a786(0x231)](_0x187305,!0x0),await this[_0x49a786(0x108)][_0x49a786(0xcd)](v[_0x49a786(0xea)]['id'],{'unitId':_0x278446[_0x49a786(0x25a)](),'subUnitId':_0x206f4d});return;}((_0x42ab8c=_0x278446[_0x49a786(0xfb)]())==null?void 0x0:_0x42ab8c[_0x49a786(0x2b9)]())!==_0x50b20e&&await this[_0x49a786(0x108)][_0x49a786(0xcd)](v[_0x49a786(0xea)]['id'],{'unitId':_0x278446[_0x49a786(0x25a)](),'subUnitId':_0x50b20e});}},exports[_0x931b1e(0x2ad)]=ct([Y(0x0,Oe),Y(0x1,a[_0x931b1e(0x9e)]),Y(0x2,a['ICommandService']),Y(0x3,a['Inject'](u[_0x931b1e(0x118)])),Y(0x4,a['Optional'](qe[_0x931b1e(0x11a)]))],exports[_0x931b1e(0x2ad)]);var lt=Object[_0x931b1e(0x304)],_t=(_0x425b40,_0x2609d5,_0x46c432,_0x35e8bb)=>{for(var _0x1cf51b=_0x35e8bb>0x1?void 0x0:_0x35e8bb?lt(_0x2609d5,_0x46c432):_0x2609d5,_0x51500f=_0x425b40['length']-0x1,_0x557997;_0x51500f>=0x0;_0x51500f--)(_0x557997=_0x425b40[_0x51500f])&&(_0x1cf51b=_0x557997(_0x1cf51b)||_0x1cf51b);return _0x1cf51b;},De=(_0x405a95,_0x43293c)=>(_0x51bd0c,_0x415544)=>_0x43293c(_0x51bd0c,_0x415544,_0x405a95);let me=class extends a[_0x931b1e(0x29e)]{constructor(_0x202cd8,_0x245990){const _0xfc6b0e=_0x931b1e;super(),this[_0xfc6b0e(0xd7)]=_0x202cd8,this['_imageIoService']=_0x245990,this[_0xfc6b0e(0xb0)]();}[_0x931b1e(0xb0)](){const _0x1fde34=_0x931b1e,_0x5b5169=this;this[_0x1fde34(0x167)](this[_0x1fde34(0xd7)][_0x1fde34(0x2fa)]({'onBeforePasteImage':async _0x2e41d6=>{const _0x55e250=_0x1fde34,_0x2fa5df=await _0x5b5169[_0x55e250(0xd0)][_0x55e250(0xc3)](_0x2e41d6);return _0x2fa5df?{'source':_0x2fa5df['source'],'imageSourceType':_0x2fa5df[_0x55e250(0x141)]}:null;}}));}};me=_t([De(0x0,p[_0x931b1e(0x16f)]),De(0x1,ze['IImageIoService'])],me);const Ne=[_0x931b1e(0x2f2),_0x931b1e(0x178),_0x931b1e(0x2ab),_0x931b1e(0x1f0),_0x931b1e(0x262),_0x931b1e(0xe0)];class Re extends a['Disposable']{constructor(){const _0x76532d=_0x931b1e;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x76532d(0xad),0x0);}['assignAColorForMemberID'](_0xb150a7){const _0x11cb1d=_0x931b1e;if(this[_0x11cb1d(0x345)][_0x11cb1d(0x264)](_0xb150a7))return this[_0x11cb1d(0x345)][_0x11cb1d(0x25b)](_0xb150a7);const _0x17e8e4=Ne[this[_0x11cb1d(0xad)]];return this[_0x11cb1d(0xad)]=(this[_0x11cb1d(0xad)]+0x1)%Ne[_0x11cb1d(0x180)],this['_assignedColors'][_0x11cb1d(0x303)](_0xb150a7,_0x17e8e4),_0x17e8e4;}}function Fe(_0x25ad33){const _0x1096d5=_0x931b1e;let _0x583a17='';for(const _0x5306ea of _0x25ad33){const {startOffset:_0x51baec,endOffset:_0x16b237,isActive:_0x40c11b,rangeType:_0x2af3d9,segmentId:_0x2c82fa,segmentPage:_0x5d6b67}=_0x5306ea;_0x583a17[_0x1096d5(0x180)]&&(_0x583a17+=','),_0x583a17+=_0x51baec+':'+_0x16b237+':'+(_0x40c11b?'1':'0')+':'+_0x2af3d9+':'+_0x2c82fa+':'+_0x5d6b67;}return _0x583a17;}function ht(_0x2d743a){const _0x792541=_0x931b1e,_0x1be7bc=_0x2d743a['split'](','),_0x1b0aa4=[];for(const _0x221ef2 of _0x1be7bc){const [_0x347f65,_0x589367,_0xc08520,_0x294b2e,_0x339205,_0x25310d]=_0x221ef2[_0x792541(0x2ea)](':');_0x1b0aa4['push']({'startOffset':Number(_0x347f65),'endOffset':Number(_0x589367),'collapsed':_0x347f65===_0x589367,'isActive':_0xc08520==='1','rangeType':_0x294b2e===a[_0x792541(0x11c)][_0x792541(0x11f)]?a[_0x792541(0x11c)][_0x792541(0x11f)]:a[_0x792541(0x11c)][_0x792541(0x336)],'segmentId':typeof _0x339205==_0x792541(0x28d)?String(_0x339205):'','segmentPage':Number(_0x25310d!=null?_0x25310d:-0x1)});}return _0x1b0aa4[_0x792541(0x308)](_0x24c316=>_0x24c316['isActive'])||(_0x1b0aa4[0x0][_0x792541(0x367)]=!0x0),_0x1b0aa4;}class be extends a[_0x931b1e(0x29e)]{constructor(){const _0x401e55=_0x931b1e;super(...arguments),_(this,_0x401e55(0x321),new I[(_0x401e55(0x346))](null)),_(this,_0x401e55(0x21b),this['_collabCursorState$'][_0x401e55(0xcc)]());}['syncEditingCollabCursor'](_0x1eaa74){const _0x57ea47=_0x931b1e,{unitID:_0xa10899,memberID:_0x196118,textRanges:_0x503419}=_0x1eaa74,_0x37db8e=Fe(_0x503419);if(_0x37db8e==='')return;const _0x10f82c={'unitID':_0xa10899,'memberID':_0x196118,'selection':_0x37db8e};this[_0x57ea47(0x321)][_0x57ea47(0x194)](_0x10f82c);}}var ut=Object[_0x931b1e(0x304)],It=(_0x37c661,_0x2fcb8e,_0x2b198b,_0x782763)=>{const _0x33e0d2=_0x931b1e;for(var _0x37403c=_0x782763>0x1?void 0x0:_0x782763?ut(_0x2fcb8e,_0x2b198b):_0x2fcb8e,_0x29b0f7=_0x37c661[_0x33e0d2(0x180)]-0x1,_0x5ca22d;_0x29b0f7>=0x0;_0x29b0f7--)(_0x5ca22d=_0x37c661[_0x29b0f7])&&(_0x37403c=_0x5ca22d(_0x37403c)||_0x37403c);return _0x37403c;},U=(_0xa1006c,_0x1a917b)=>(_0x2e5de5,_0x33aa44)=>_0x1a917b(_0x2e5de5,_0x33aa44,_0xa1006c);const dt=0x12c,St=0x64;let ve=class extends a[_0x931b1e(0x29e)]{constructor(_0x342d23,_0x16fc4,_0x18808a,_0x52c7e4,_0x3f7120,_0x3a6c88,_0x3c3553,_0x421304,_0x3b2d57){const _0x441d45=_0x931b1e;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x441d45(0x24d),new I[(_0x441d45(0x346))](new Map())),_(this,'cursorInfo$',this[_0x441d45(0x24d)][_0x441d45(0xcc)]()),_(this,_0x441d45(0x271),new I[(_0x441d45(0x346))]([])),_(this,_0x441d45(0x182),this[_0x441d45(0x271)][_0x441d45(0x154)](I[_0x441d45(0x2c2)](dt))),_(this,_0x441d45(0x32d),a[_0x441d45(0x276)](_0xbdcae0=>{const _0xef1486=_0x441d45,_0x77234a={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xef1486(0x261)],'memberID':this['_session'][_0xef1486(0x31a)](),'selection':Fe(_0xbdcae0)}};this['_session'][_0xef1486(0x23d)](_0x77234a,this['unitID']);},St)),(this[_0x441d45(0x261)]=_0x342d23,this[_0x441d45(0x2bb)]=_0x16fc4,this[_0x441d45(0x251)]=_0x18808a,this[_0x441d45(0xc9)]=_0x52c7e4,this[_0x441d45(0x2ba)]=_0x3f7120,this[_0x441d45(0x2ed)]=_0x3a6c88,this['_transformService']=_0x3c3553,this[_0x441d45(0x150)]=_0x421304,this[_0x441d45(0x108)]=_0x3b2d57);}get[_0x931b1e(0x128)](){const _0x5d2fdd=_0x931b1e;return this['_cursorInfo$'][_0x5d2fdd(0x33a)]();}get[_0x931b1e(0x201)](){const _0x14f7b1=_0x931b1e;return this[_0x14f7b1(0x271)][_0x14f7b1(0x33a)]();}[_0x931b1e(0x151)](){const _0x27efb5=_0x931b1e;super[_0x27efb5(0x151)](),this['_cursorInfo$'][_0x27efb5(0x194)](new Map()),this[_0x27efb5(0x24d)][_0x27efb5(0x25d)](),this['_roomMembers$'][_0x27efb5(0x194)]([]),this[_0x27efb5(0x271)][_0x27efb5(0x25d)]();}[_0x931b1e(0xcf)](){const _0x3d4b93=_0x931b1e;this[_0x3d4b93(0xb0)]||(this['_init']=!0x0,this[_0x3d4b93(0x2bb)][_0x3d4b93(0x33f)]['pipe'](I[_0x3d4b93(0x17a)](this[_0x3d4b93(0x20a)]))[_0x3d4b93(0x143)](_0x249e42=>{const _0x5a9948=_0x3d4b93;_0x249e42===u['SessionStatus'][_0x5a9948(0xca)]?this['_toggleOnline']():this[_0x5a9948(0x20c)]();}),this['_session'][_0x3d4b93(0x1c7)]['pipe'](I[_0x3d4b93(0x17a)](this['dispose$']))[_0x3d4b93(0x143)](_0x513317=>{const _0x3e4171=_0x3d4b93,_0x2e5bed=_0x513317['eventID'];_0x2e5bed===g[_0x3e4171(0x295)][_0x3e4171(0x233)]&&this[_0x3e4171(0x1a2)](_0x513317),_0x2e5bed===g[_0x3e4171(0x295)][_0x3e4171(0x282)]&&this[_0x3e4171(0x2c1)](_0x513317);}),this[_0x3d4b93(0x167)](this[_0x3d4b93(0x108)]['onCommandExecuted'](_0x58b474=>{const _0x2cbaae=_0x3d4b93,_0x5cbb1e=_0x58b474['params'];_0x5cbb1e!=null&&this[_0x2cbaae(0x12a)]&&_0x58b474['id']===V[_0x2cbaae(0x2d8)]['id']&&_0x5cbb1e[_0x2cbaae(0x209)]===this[_0x2cbaae(0x261)]&&_0x5cbb1e['isEditing']===!0x1&&_0x5cbb1e[_0x2cbaae(0x120)][_0x2cbaae(0x180)]>0x0&&this[_0x2cbaae(0x32d)](_0x5cbb1e[_0x2cbaae(0x120)]);})),this[_0x3d4b93(0x2ed)][_0x3d4b93(0x21b)][_0x3d4b93(0x154)](I['takeUntil'](this[_0x3d4b93(0x20a)]))[_0x3d4b93(0x143)](_0x11984b=>{const _0x5b71ef=_0x3d4b93;if((_0x11984b==null?void 0x0:_0x11984b['unitID'])!==this['unitID'])return;const _0x29c635={'eventID':g[_0x5b71ef(0x295)][_0x5b71ef(0x233)],'data':_0x11984b};this[_0x5b71ef(0x1a2)](_0x29c635);}),this[_0x3d4b93(0x167)](this[_0x3d4b93(0x108)][_0x3d4b93(0x20b)](_0x425c5e=>{const _0xd0fe99=_0x3d4b93;if(_0x425c5e[_0xd0fe99(0x2e4)]==null)return;const _0x5841ff=_0x425c5e[_0xd0fe99(0x2e4)];if(_0x425c5e['id']!==V[_0xd0fe99(0x2b3)]['id']||_0x5841ff[_0xd0fe99(0x209)]!==this['unitID'])return;const _0x5c777d={'id':_0xd0fe99(0xc7),'params':_0x5841ff},_0xfabd9e=this['cursorInfo'];for(const [_0x4db04f,_0x101e45]of _0xfabd9e){const _0xe27867={'id':_0xd0fe99(0xc7),'params':{'unitId':this[_0xd0fe99(0x261)],'actions':null,'textRanges':_0x101e45[_0xd0fe99(0x120)]}},_0x356317=this[_0xd0fe99(0x18a)]['transformMutation'](_0x5c777d,_0xe27867,!0x1);if(g[_0xd0fe99(0x1ce)](_0x356317))throw _0x356317[_0xd0fe99(0x1bc)];_0xfabd9e[_0xd0fe99(0x303)](_0x4db04f,{..._0x101e45,'ranges':_0x356317[_0xd0fe99(0x1f2)][_0xd0fe99(0x2e4)][_0xd0fe99(0x1ed)]});}queueMicrotask(()=>{const _0x396e7e=_0xd0fe99;this[_0x396e7e(0x24d)]['next'](_0xfabd9e);});})));}[_0x931b1e(0x1a2)](_0x2ed2bb){const _0x9b61b=_0x931b1e;var _0x956f2a,_0x28b693;const {memberID:_0x400c93,selection:_0xe0d007}=_0x2ed2bb['data'],_0x294fb9=ht(_0xe0d007),_0xef846c=(_0x28b693=(_0x956f2a=this[_0x9b61b(0x2ba)]['getMember'](this[_0x9b61b(0x261)],_0x400c93))==null?void 0x0:_0x956f2a[_0x9b61b(0x277)])!=null?_0x28b693:_0x9b61b(0x238),_0x43aeb5={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x400c93),'name':_0xef846c,'ranges':_0x294fb9},_0xdc8cde=this[_0x9b61b(0x128)];_0xdc8cde['set'](_0x400c93,_0x43aeb5),this[_0x9b61b(0x24d)]['next'](_0xdc8cde);}[_0x931b1e(0x2c1)](_0x3dfc85){const _0x380ddc=_0x931b1e,{memberID:_0x67cbfd}=_0x3dfc85['data'],_0x412034=this[_0x380ddc(0x128)];_0x412034['delete'](_0x67cbfd),this[_0x380ddc(0x24d)][_0x380ddc(0x194)](_0x412034);}[_0x931b1e(0x1f5)](){const _0x56a910=_0x931b1e;var _0x41fcd5;if(this[_0x56a910(0x12a)]=!0x0,((_0x41fcd5=this[_0x56a910(0x150)]['getFocusedUnit']())==null?void 0x0:_0x41fcd5[_0x56a910(0x25a)]())!==this['unitID'])return;const _0x548584=this[_0x56a910(0x251)]['get'](V['DocSelectionManagerService'])[_0x56a910(0x216)]();Array[_0x56a910(0x335)](_0x548584)&&_0x548584['length']>0x0&&this[_0x56a910(0x32d)](_0x548584);}[_0x931b1e(0x20c)](){const _0x483e4a=_0x931b1e;this[_0x483e4a(0x12a)]=!0x1;}};ve=It([U(0x2,a[_0x931b1e(0x1da)](a[_0x931b1e(0x189)])),U(0x3,a[_0x931b1e(0x1da)](Re)),U(0x4,a[_0x931b1e(0x1da)](u[_0x931b1e(0x279)])),U(0x5,a[_0x931b1e(0x1da)](be)),U(0x6,g[_0x931b1e(0x1f6)]),U(0x7,a[_0x931b1e(0x1d0)]),U(0x8,a[_0x931b1e(0xe7)])],ve);var ft=Object[_0x931b1e(0x304)],mt=(_0xf56578,_0x38ddee,_0x1ec3d3,_0x2e4dd4)=>{const _0x17f383=_0x931b1e;for(var _0x8e959c=_0x2e4dd4>0x1?void 0x0:_0x2e4dd4?ft(_0x38ddee,_0x1ec3d3):_0x38ddee,_0x1d93ec=_0xf56578[_0x17f383(0x180)]-0x1,_0x191cac;_0x1d93ec>=0x0;_0x1d93ec--)(_0x191cac=_0xf56578[_0x1d93ec])&&(_0x8e959c=_0x191cac(_0x8e959c)||_0x8e959c);return _0x8e959c;},w=(_0x31ab88,_0x5867bb)=>(_0x3d1621,_0x3aefd0)=>_0x5867bb(_0x3d1621,_0x3aefd0,_0x31ab88);const vt=0x12c,gt=0x64,Et=()=>{let _0x35e3c2=[],_0x12066d=!0x1;return _0x4418e6=>{const _0x3bc94d=_0x1e77;_0x35e3c2[_0x3bc94d(0x202)](_0x4418e6),_0x12066d||(_0x12066d=!0x0,setTimeout(()=>{const _0x3aa4b5=_0x3bc94d;_0x35e3c2[_0x3aa4b5(0x1d5)](_0xfef236=>_0xfef236()),_0x35e3c2=[],_0x12066d=!0x1;}));};};let ge=class extends a[_0x931b1e(0x29e)]{constructor(_0x3e14c3,_0x1c15c6,_0x1c5243,_0x24e9cd,_0x3277c3,_0x3518f5,_0x4f500e,_0x5a9d25){const _0x33da1c=_0x931b1e;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x33da1c(0x24d),new I[(_0x33da1c(0x346))](new Map())),_(this,_0x33da1c(0x136),this[_0x33da1c(0x24d)][_0x33da1c(0xcc)]()),_(this,_0x33da1c(0x271),new I[(_0x33da1c(0x346))]([])),_(this,_0x33da1c(0x182),this[_0x33da1c(0x271)][_0x33da1c(0x154)](I[_0x33da1c(0x2c2)](vt))),_(this,'_updateLocalCursor',a[_0x33da1c(0x276)]((_0x995261,_0x4602b1)=>{const _0x313c07=_0x33da1c,_0x3842fa={'eventID':g[_0x313c07(0x295)][_0x313c07(0x233)],'data':{'unitID':this[_0x313c07(0x261)],'memberID':this[_0x313c07(0x2bb)]['getMemberID'](),'selection':B[_0x313c07(0xe4)](_0x995261,_0x4602b1['range'])}};this['_session'][_0x313c07(0x23d)](_0x3842fa,this[_0x313c07(0x261)]);},gt)),(this['unitID']=_0x3e14c3,this['_session']=_0x1c15c6,this['_injector']=_0x1c5243,this[_0x33da1c(0xc9)]=_0x24e9cd,this['_memberService']=_0x3277c3,this[_0x33da1c(0x150)]=_0x3518f5,this[_0x33da1c(0x108)]=_0x4f500e,this[_0x33da1c(0x142)]=_0x5a9d25);}get[_0x931b1e(0x128)](){const _0x437866=_0x931b1e;return this['_cursorInfo$'][_0x437866(0x33a)]();}get[_0x931b1e(0x201)](){const _0x5d2a18=_0x931b1e;return this[_0x5d2a18(0x271)][_0x5d2a18(0x33a)]();}[_0x931b1e(0x151)](){const _0x1334a5=_0x931b1e;super[_0x1334a5(0x151)](),this[_0x1334a5(0x24d)][_0x1334a5(0x194)](new Map()),this['_cursorInfo$'][_0x1334a5(0x25d)](),this[_0x1334a5(0x271)][_0x1334a5(0x194)]([]),this[_0x1334a5(0x271)][_0x1334a5(0x25d)]();}['init'](){const _0x224137=_0x931b1e;this[_0x224137(0xb0)]||(this['_init']=!0x0,this[_0x224137(0x2bb)]['sessionStatus$'][_0x224137(0x154)](I[_0x224137(0x17a)](this[_0x224137(0x20a)]))[_0x224137(0x143)](_0x2ff9b6=>{const _0x55ff02=_0x224137;_0x2ff9b6===u[_0x55ff02(0x288)][_0x55ff02(0xca)]?this[_0x55ff02(0x1f5)]():this[_0x55ff02(0x20c)]();}),this[_0x224137(0x2bb)][_0x224137(0x1c7)]['pipe'](I[_0x224137(0x17a)](this[_0x224137(0x20a)]))['subscribe'](_0x2daecb=>{const _0x2bd801=_0x224137,_0x1b8030=_0x2daecb[_0x2bd801(0x1c8)];_0x1b8030===g[_0x2bd801(0x295)][_0x2bd801(0x233)]&&this[_0x2bd801(0x1a2)](_0x2daecb),_0x1b8030===g[_0x2bd801(0x295)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x2daecb);}),this['_onRefRangeChange'](),this[_0x224137(0x167)](this[_0x224137(0x108)]['onCommandExecuted'](_0x2cd1ff=>{const _0x54c898=_0x224137;if(this['_online']&&_0x2cd1ff['id']===v[_0x54c898(0x35c)]['id']&&_0x2cd1ff[_0x54c898(0x2e4)][_0x54c898(0x209)]===this['unitID']){const _0x2ba21b=_0x2cd1ff[_0x54c898(0x2e4)];this[_0x54c898(0x32d)](_0x2ba21b[_0x54c898(0x23c)],_0x2ba21b['selections'][0x0]);}})));}[_0x931b1e(0x1a2)](_0x2032e8){const _0xa2e3ab=_0x931b1e;var _0x3e3c62,_0x4b78be;const {memberID:_0x385e01,selection:_0x23f485}=_0x2032e8[_0xa2e3ab(0x19e)],{sheetName:_0x5ce16e,range:_0x175f05}=B[_0xa2e3ab(0x368)](_0x23f485),_0x382f93={'name':(_0x4b78be=(_0x3e3c62=this[_0xa2e3ab(0x2ba)][_0xa2e3ab(0x2e3)](this['unitID'],_0x385e01))==null?void 0x0:_0x3e3c62[_0xa2e3ab(0x277)])!=null?_0x4b78be:_0xa2e3ab(0x238),'range':this[_0xa2e3ab(0x191)](_0x5ce16e,_0x175f05),'sheetID':_0x5ce16e,'color':this[_0xa2e3ab(0xc9)][_0xa2e3ab(0x242)](_0x385e01),'selection':_0x23f485},_0xadd46c=this[_0xa2e3ab(0x128)];_0xadd46c[_0xa2e3ab(0x303)](_0x385e01,_0x382f93),this[_0xa2e3ab(0x24d)]['next'](_0xadd46c);}['_onCursorDelete'](_0xa0d492){const _0x5d7cd5=_0x931b1e,{memberID:_0x375f38}=_0xa0d492[_0x5d7cd5(0x19e)],_0x42fe66=this[_0x5d7cd5(0x128)];_0x42fe66[_0x5d7cd5(0xf4)](_0x375f38),this[_0x5d7cd5(0x24d)][_0x5d7cd5(0x194)](_0x42fe66);}['_getMergeRange'](_0x33cda8,_0x3dc6f2){const _0xd6c3c9=_0x931b1e;var _0x1a5552,_0x410890;const _0x328b20=(_0x410890=(_0x1a5552=this[_0xd6c3c9(0x150)]['getUniverSheetInstance'](this[_0xd6c3c9(0x261)]))==null?void 0x0:_0x1a5552[_0xd6c3c9(0x13f)](_0x33cda8))==null?void 0x0:_0x410890['getMergeData']();return(_0x328b20==null?void 0x0:_0x328b20[_0xd6c3c9(0x2f5)](_0x5bf4f9=>a['Rectangle'][_0xd6c3c9(0x1d9)](_0x5bf4f9,_0x3dc6f2)))||_0x3dc6f2;}['_onRefRangeChange'](){const _0x59b6a5=_0x931b1e,_0x3c4723=new a['DisposableCollection'](),_0xa75811=Et(),_0x2c9d22=()=>{const _0x2478f9=_0x1e77;_0x3c4723[_0x2478f9(0x151)]();const _0x17061a=(_0x11bfb5,_0xcd414e,_0x57511a,_0x3c489c)=>{const _0x1269d4=_0x2478f9;let _0x45c552=[];switch(_0x11bfb5['id']){case v['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x45c552=v[_0x1269d4(0x26a)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)][_0x1269d4(0x13d)]:{_0x45c552=v['handleDeleteRangeMoveUp'](_0x11bfb5,_0x3c489c);break;}case v['EffectRefRangId'][_0x1269d4(0x2cc)]:{_0x45c552=v[_0x1269d4(0x2a4)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)]['InsertRangeMoveDownCommandId']:{_0x45c552=v[_0x1269d4(0x357)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)][_0x1269d4(0x273)]:{_0x45c552=v[_0x1269d4(0xd3)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)][_0x1269d4(0x365)]:{_0x45c552=v[_0x1269d4(0x285)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)]['MoveRangeCommandId']:{_0x45c552=v[_0x1269d4(0x252)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)][_0x1269d4(0x1a4)]:{_0x45c552=v[_0x1269d4(0x2a1)](_0x11bfb5,_0x3c489c);break;}case v[_0x1269d4(0x291)]['RemoveRowCommandId']:{_0x45c552=v[_0x1269d4(0x2c9)](_0x11bfb5,_0x3c489c);break;}}const _0x32b030=v[_0x1269d4(0x319)](_0x45c552,_0x3c489c),_0xba04a1=this[_0x1269d4(0x128)]['get'](_0xcd414e);if(_0xba04a1&&_0x32b030){const _0x52ed31={..._0xba04a1,'range':_0x32b030};this[_0x1269d4(0x128)]['set'](_0xcd414e,_0x52ed31),_0xa75811(()=>{const _0x492e51=_0x1269d4,_0x15d9d0=this[_0x492e51(0x142)]['registerRefRange'](_0x32b030,_0x55f983=>(_0x15d9d0['dispose'](),_0x17061a(_0x55f983,_0xcd414e,_0x57511a,_0x32b030)));_0x3c4723['add'](_0x15d9d0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2478f9(0x1d5)]((_0x37e346,_0x4004ab)=>{const _0x136506=_0x2478f9,{range:_0x1c7f41,sheetID:_0x3a0acc}=_0x37e346,_0xfe2af0=this[_0x136506(0x142)][_0x136506(0x101)](_0x1c7f41,_0x457bab=>(_0xfe2af0[_0x136506(0x151)](),_0x17061a(_0x457bab,_0x4004ab,_0x3a0acc,_0x1c7f41)));_0x3c4723[_0x136506(0x28f)](_0xfe2af0);});};this[_0x59b6a5(0x167)](a[_0x59b6a5(0x1e9)](this[_0x59b6a5(0x24d)][_0x59b6a5(0x143)](()=>{_0x2c9d22();})));}[_0x931b1e(0x1f5)](){const _0x422e95=_0x931b1e;var _0x32cdd5,_0x5006cc;if(this[_0x422e95(0x12a)]=!0x0,((_0x32cdd5=this['_univerInstanceService'][_0x422e95(0x237)]())==null?void 0x0:_0x32cdd5[_0x422e95(0x25a)]())!==this[_0x422e95(0x261)])return;const _0xcf7b70=(_0x5006cc=this[_0x422e95(0x251)][_0x422e95(0x25b)](v[_0x422e95(0x9d)])['getCurrentSelections']())==null?void 0x0:_0x5006cc[0x0],_0x25a9ec=this[_0x422e95(0x150)][_0x422e95(0x30d)](a[_0x422e95(0x2fe)][_0x422e95(0xc4)])[_0x422e95(0xfb)]();_0xcf7b70&&_0x25a9ec&&this[_0x422e95(0x32d)](_0x25a9ec[_0x422e95(0x2b9)](),_0xcf7b70);}[_0x931b1e(0x20c)](){this['_online']=!0x1;}};ge=mt([w(0x2,a[_0x931b1e(0x1da)](a[_0x931b1e(0x189)])),w(0x3,a[_0x931b1e(0x1da)](Re)),w(0x4,a[_0x931b1e(0x1da)](u[_0x931b1e(0x279)])),w(0x5,a[_0x931b1e(0x1d0)]),w(0x6,a['ICommandService']),w(0x7,a[_0x931b1e(0x1da)](v[_0x931b1e(0x31c)]))],ge);var Ct=Object[_0x931b1e(0x304)],pt=(_0x5a1627,_0x189ef6,_0x473848,_0x2eb045)=>{const _0x49e0df=_0x931b1e;for(var _0xd9441c=_0x2eb045>0x1?void 0x0:_0x2eb045?Ct(_0x189ef6,_0x473848):_0x189ef6,_0x21367f=_0x5a1627[_0x49e0df(0x180)]-0x1,_0x469966;_0x21367f>=0x0;_0x21367f--)(_0x469966=_0x5a1627[_0x21367f])&&(_0xd9441c=_0x469966(_0xd9441c)||_0xd9441c);return _0xd9441c;},ce=(_0x15ba69,_0x4ef082)=>(_0x30f91c,_0x3b384a)=>_0x4ef082(_0x30f91c,_0x3b384a,_0x15ba69);let F=class extends a[_0x931b1e(0x29e)]{constructor(_0x2584f0,_0x101ccd,_0x58f17b){const _0x1cab99=_0x931b1e;super(),_(this,'_entities',new Map()),_(this,_0x1cab99(0x1a3),new I[(_0x1cab99(0x174))]()),(this[_0x1cab99(0x150)]=_0x2584f0,this[_0x1cab99(0x251)]=_0x101ccd,this[_0x1cab99(0xf8)]=_0x58f17b,this['_init']());}[_0x931b1e(0x151)](){const _0x139119=_0x931b1e;super['dispose'](),this[_0x139119(0x1a3)][_0x139119(0x25d)](),this[_0x139119(0x329)]['forEach'](_0x2623fd=>_0x2623fd[_0x139119(0x151)]());}[_0x931b1e(0x259)](_0x2cb09f){const _0x248891=_0x931b1e;return this[_0x248891(0x329)][_0x248891(0x264)](_0x2cb09f)?this[_0x248891(0x329)][_0x248891(0x25b)](_0x2cb09f)['cursorInfo$']:this['_entityInit$'][_0x248891(0x154)](I[_0x248891(0x35d)](_0x18b29b=>_0x18b29b[_0x248891(0x261)]===_0x2cb09f),I[_0x248891(0x193)](_0x2a87e2=>_0x2a87e2[_0x248891(0x136)]));}[_0x931b1e(0xb0)](){const _0x4b3aab=_0x931b1e;this[_0x4b3aab(0x150)]['getTypeOfUnitAdded$'](a[_0x4b3aab(0x2fe)][_0x4b3aab(0xc4)])[_0x4b3aab(0x154)](I[_0x4b3aab(0x17a)](this['dispose$']))[_0x4b3aab(0x143)](async _0x1a26b4=>{const _0x2f4378=_0x4b3aab,_0x779b3e=_0x1a26b4[_0x2f4378(0x25a)](),_0xcf9991=await this['_startSheetCollabCursor'](_0x779b3e);this[_0x2f4378(0x1a3)][_0x2f4378(0x194)](_0xcf9991),this[_0x2f4378(0x329)][_0x2f4378(0x303)](_0x779b3e,_0xcf9991);}),this[_0x4b3aab(0x150)][_0x4b3aab(0x1af)](a['UniverInstanceType'][_0x4b3aab(0x2e8)])['pipe'](I[_0x4b3aab(0x17a)](this['dispose$']))[_0x4b3aab(0x154)](I[_0x4b3aab(0x35d)](_0x2c75bc=>!_0x2c75bc[_0x4b3aab(0x25a)]()[_0x4b3aab(0x1c0)]('__')))['subscribe'](async _0x43e99e=>{const _0x472192=_0x4b3aab,_0x174f95=_0x43e99e[_0x472192(0x25a)](),_0x590e04=await this[_0x472192(0x117)](_0x174f95);this[_0x472192(0x1a3)][_0x472192(0x194)](_0x590e04),this[_0x472192(0x329)]['set'](_0x174f95,_0x590e04);}),I[_0x4b3aab(0x2ae)](this[_0x4b3aab(0x150)][_0x4b3aab(0x1b9)](a['UniverInstanceType'][_0x4b3aab(0x2e8)]),this[_0x4b3aab(0x150)][_0x4b3aab(0x1b9)](a[_0x4b3aab(0x2fe)][_0x4b3aab(0xc4)]))['pipe'](I[_0x4b3aab(0x17a)](this[_0x4b3aab(0x20a)]))[_0x4b3aab(0x143)](_0x2d19f8=>{const _0x2a8476=_0x4b3aab,_0x1ff7ed=_0x2d19f8['getUnitId'](),_0x4219ff=this['_entities'][_0x2a8476(0x25b)](_0x1ff7ed);_0x4219ff&&(_0x4219ff[_0x2a8476(0x151)](),this[_0x2a8476(0x329)]['delete'](_0x1ff7ed));});}async[_0x931b1e(0xd9)](_0x44c4a5){const _0x252287=_0x931b1e,_0x4913e0=await this['_collabSessionService'][_0x252287(0x1ef)](_0x44c4a5),_0xf1655a=this['_injector'][_0x252287(0x28c)](ge,_0x44c4a5,_0x4913e0);return _0xf1655a['init'](),_0xf1655a;}async[_0x931b1e(0x117)](_0x21f4e9){const _0x189e1c=_0x931b1e,_0x343f3e=await this[_0x189e1c(0xf8)]['requireSession'](_0x21f4e9),_0x5a9b11=this[_0x189e1c(0x251)][_0x189e1c(0x28c)](ve,_0x21f4e9,_0x343f3e);return _0x5a9b11[_0x189e1c(0xcf)](),_0x5a9b11;}};F=pt([ce(0x0,a[_0x931b1e(0x1d0)]),ce(0x1,a['Inject'](a[_0x931b1e(0x189)])),ce(0x2,a[_0x931b1e(0x1da)](u[_0x931b1e(0x333)]))],F);const X=0x14,Ue=0xc8,le=0x4,Tt=0x5;function Ot(_0x1f9309,_0x85f61a){const _0x37af14=_0x931b1e;let {radius:_0x5961fc,width:_0x270337,height:_0x145ee2}=_0x85f61a;_0x5961fc=_0x5961fc!=null?_0x5961fc:0x0,_0x270337=_0x270337!=null?_0x270337:0x1e,_0x145ee2=_0x145ee2!=null?_0x145ee2:0x1e;let _0x556551=0x0,_0x1b4e2b=0x0,_0xbcc3d8=0x0;_0x556551=_0x1b4e2b=_0xbcc3d8=Math[_0x37af14(0x131)](_0x5961fc,_0x270337/0x2,_0x145ee2/0x2),_0x1f9309['beginPath'](),_0x1f9309[_0x37af14(0x27e)](_0x556551,0x0),_0x1f9309[_0x37af14(0x34b)](_0x270337-_0x1b4e2b,0x0),_0x1f9309[_0x37af14(0x16d)](_0x270337-_0x1b4e2b,_0x1b4e2b,_0x1b4e2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f9309[_0x37af14(0x34b)](_0x270337,_0x145ee2-_0xbcc3d8),_0x1f9309[_0x37af14(0x16d)](_0x270337-_0xbcc3d8,_0x145ee2-_0xbcc3d8,_0xbcc3d8,0x0,Math['PI']/0x2,!0x1),_0x1f9309['lineTo'](0x0,_0x145ee2),_0x1f9309[_0x37af14(0x34b)](0x0,_0x556551),_0x1f9309['arc'](_0x556551,_0x556551,_0x556551,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f9309[_0x37af14(0x30e)](),_0x85f61a[_0x37af14(0x230)]&&(_0x1f9309[_0x37af14(0x1f4)](),_0x1f9309[_0x37af14(0xae)]=_0x85f61a['fill'],_0x85f61a[_0x37af14(0x358)]==='evenodd'?_0x1f9309[_0x37af14(0x230)](_0x37af14(0x307)):_0x1f9309[_0x37af14(0x230)](),_0x1f9309[_0x37af14(0x14f)]());}class re extends C[_0x931b1e(0x22e)]{constructor(_0xce2b9d,_0x11c103){const _0x21034f=_0x931b1e;super(_0xce2b9d,_0x11c103),_(this,'color'),_(this,_0x21034f(0x26e)),(this['color']=_0x11c103==null?void 0x0:_0x11c103[_0x21034f(0x24f)],this['text']=_0x11c103==null?void 0x0:_0x11c103[_0x21034f(0x26e)]);}static[_0x931b1e(0x198)](_0xfe30a,_0x4b91af){const _0x26b382=_0x931b1e,{text:_0x340a33,color:_0x371d70}=_0x4b91af;_0xfe30a[_0x26b382(0x1f4)](),_0xfe30a[_0x26b382(0x127)]=_0x26b382(0x217);const _0x557258=_0xfe30a[_0x26b382(0x2d7)](_0x340a33)[_0x26b382(0x1de)],_0x195589=Math[_0x26b382(0x131)](_0x557258+0x2*le,Ue);Ot(_0xfe30a,{'height':X,'radius':0x4,'width':_0x195589,'fill':_0x371d70}),_0xfe30a['fillStyle']='#FFF';const _0x465536=le,_0xf30ef0=X-Tt,_0x1b417c=Ue-0x2*le;if(_0x557258>_0x1b417c){let _0x2d1104='',_0x5f8b48=0x0;for(const _0x1569e3 of _0x340a33){const _0x438f0e=_0xfe30a[_0x26b382(0x2d7)](_0x1569e3)[_0x26b382(0x1de)];if(_0x5f8b48+_0x438f0e<=_0x1b417c-_0xfe30a['measureText'](_0x26b382(0x342))[_0x26b382(0x1de)])_0x2d1104+=_0x1569e3,_0x5f8b48+=_0x438f0e;else{_0x2d1104+=_0x26b382(0x342);break;}}_0xfe30a['fillText'](_0x2d1104,_0x465536,_0xf30ef0);}else _0xfe30a[_0x26b382(0x112)](_0x340a33,_0x465536,_0xf30ef0);_0xfe30a['restore']();}[_0x931b1e(0x160)](_0x30f29a){const _0x5cad82=_0x931b1e;re[_0x5cad82(0x198)](_0x30f29a,this);}}const _e='collab-text-anchor-',Rt='collab-text-range-',bt=_0x931b1e(0x243),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x931b1e(0xa3);class Le{constructor(_0x4d91e9,_0x6992aa,_0x41957e,_0x376811){const _0x2129d4=_0x931b1e;_(this,_0x2129d4(0x1c1),[]),_(this,_0x2129d4(0x366),null),_(this,_0x2129d4(0x1e8),null),_(this,_0x2129d4(0x334),null),_(this,_0x2129d4(0x140),null),_(this,'_eventUnsubscribe',null),(this[_0x2129d4(0x310)]=_0x4d91e9,this[_0x2129d4(0x2c8)]=_0x6992aa,this[_0x2129d4(0x105)]=_0x41957e,this['_document']=_0x376811,this[_0x2129d4(0x229)]());}set['_hover'](_0x1dcb40){const _0x5f1a84=_0x931b1e;_0x1dcb40?(this[_0x5f1a84(0x334)]&&this['_anchorDot'][_0x5f1a84(0x19b)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x5f1a84(0x334)]&&this[_0x5f1a84(0x334)][_0x5f1a84(0x30b)](),this[_0x5f1a84(0x1e8)]&&this[_0x5f1a84(0x1e8)][_0x5f1a84(0x19b)]());}['dispose'](){const _0x3b0da6=_0x931b1e;for(const _0x31f1e7 of this[_0x3b0da6(0x1c1)])_0x31f1e7['dispose']();this[_0x3b0da6(0x1e8)]&&this[_0x3b0da6(0x1e8)]['dispose'](),this[_0x3b0da6(0x334)]&&this['_anchorDot'][_0x3b0da6(0x151)](),this[_0x3b0da6(0x366)]&&this[_0x3b0da6(0x366)]['dispose'](),this['_eventUnsubscribe']&&this[_0x3b0da6(0x351)]();}['_render'](){const _0x4b61f8=_0x931b1e;var _0x4e6a81;const {_docSkeleton:_0x83d73a,_document:_0x5aa7f3}=this,{color:_0x4a34ee,name:_0x323a04,ranges:_0x2eb505}=this[_0x4b61f8(0x310)],_0x1be04f=_0x5aa7f3['getOffsetConfig'](),{docsLeft:_0x5e73dc,docsTop:_0x2778c5}=_0x1be04f,_0x3a58cf=new p[(_0x4b61f8(0x214))](_0x1be04f,_0x83d73a);for(const {startOffset:_0x76252a,endOffset:_0x3ae848,rangeType:_0x51d326,segmentId:_0x255c9f,segmentPage:_0x4f9e78,collapsed:_0x5a86fa,isActive:_0x36ea84}of _0x2eb505){const _0x4517d6=_0x83d73a[_0x4b61f8(0x1be)](_0x76252a,!0x0,_0x255c9f,_0x4f9e78);let _0x1913e8=_0x83d73a['findNodePositionByCharIndex'](_0x3ae848,!0x0,_0x255c9f,_0x4f9e78);if(_0x1913e8==null&&(_0x1913e8=_0x83d73a['findNodePositionByCharIndex'](_0x3ae848-0x1,!0x1,_0x255c9f,_0x4f9e78)),_0x36ea84){const {contentBoxPointGroup:_0x3b0a70}=_0x3a58cf[_0x4b61f8(0x16c)](_0x1913e8,_0x1913e8);if(_0x3b0a70[_0x4b61f8(0x180)]===0x0)continue;this[_0x4b61f8(0x354)](_0x4a34ee,_0x3b0a70,_0x5e73dc,_0x2778c5,_0x323a04),this[_0x4b61f8(0x351)]=this[_0x4b61f8(0x100)]();}if(_0x4517d6&&_0x1913e8){if(_0x51d326===a['DOC_RANGE_TYPE']['RECT']){const _0x582363=new p[(_0x4b61f8(0x2ff))](_0x1be04f,_0x83d73a),{pointGroup:_0x59d497}=(_0x4e6a81=_0x582363[_0x4b61f8(0x16c)](_0x4517d6,_0x1913e8))!=null?_0x4e6a81:{};if(_0x59d497==null||_0x59d497[_0x4b61f8(0x180)]===0x0)continue;this[_0x4b61f8(0x1e2)](_0x4a34ee,_0x59d497,_0x5e73dc,_0x2778c5);}else{if(!_0x5a86fa){const {borderBoxPointGroup:_0x39e551}=_0x3a58cf[_0x4b61f8(0x16c)](_0x4517d6,_0x1913e8);if(_0x39e551[_0x4b61f8(0x180)]===0x0)continue;this[_0x4b61f8(0x324)](_0x4a34ee,_0x39e551,_0x5e73dc,_0x2778c5);}}}}}[_0x931b1e(0x354)](_0x5e27e9,_0x4d8b01,_0x5c1adb,_0x17ede3,_0x51f98c){const _0x54eced=_0x931b1e,_0x345cca=this['_getAnchorBounding'](_0x4d8b01),{left:_0x441dc5,top:_0x5101de,height:_0x2925bc}=_0x345cca,_0x36085a=this[_0x54eced(0x176)](),_0x1d9e20=Nt/_0x36085a,_0x2b679d=new C[(_0x54eced(0x1ee))](_e+a['generateRandomId'](H),{'left':_0x441dc5+_0x5c1adb-_0x1d9e20,'top':_0x5101de+_0x17ede3,'height':_0x2925bc,'width':Dt,'fill':_0x5e27e9||C[_0x54eced(0x1cf)](a['COLORS'][_0x54eced(0x1fb)],0x0),'strokeWidth':_0x1d9e20,'stroke':Ut,'evented':!0x0});this[_0x54eced(0x366)]=_0x2b679d,this[_0x54eced(0x2c8)][_0x54eced(0x10f)](_0x2b679d,p[_0x54eced(0xc5)]);const _0x3dd406=new C['Rect'](_e+a['generateRandomId'](H),{'left':_0x441dc5+_0x5c1adb-_0x1d9e20,'top':_0x5101de+_0x17ede3-he/0x2,'height':he,'width':he,'fill':_0x5e27e9||C[_0x54eced(0x1cf)](a[_0x54eced(0x158)][_0x54eced(0x1fb)],0x0),'strokeWidth':0x0,'stroke':_0x5e27e9||C[_0x54eced(0x1cf)](a['COLORS'][_0x54eced(0x1fb)],0x0),'evented':!0x1});this[_0x54eced(0x334)]=_0x3dd406,this['_scene'][_0x54eced(0x10f)](_0x3dd406,p['TEXT_RANGE_LAYER_INDEX']);const _0x5e3c39=new re(_e+a[_0x54eced(0x14b)](H),{'left':_0x441dc5+_0x5c1adb-_0x1d9e20,'top':_0x5101de+_0x17ede3-X,'text':_0x51f98c,'color':_0x5e27e9});this[_0x54eced(0x1e8)]=_0x5e3c39,this[_0x54eced(0x2c8)][_0x54eced(0x10f)](_0x5e3c39,p[_0x54eced(0xc5)]),this[_0x54eced(0x17e)]=!0x1;}[_0x931b1e(0x100)](){const _0x25cec0=_0x931b1e,_0x122f2d=this[_0x25cec0(0x366)][_0x25cec0(0x18d)][_0x25cec0(0x33c)](()=>{const _0x5a4ee6=_0x25cec0;this[_0x5a4ee6(0x17e)]=!0x0;}),_0x2532d7=this[_0x25cec0(0x366)][_0x25cec0(0x1d6)][_0x25cec0(0x33c)](()=>{const _0xbaeace=_0x25cec0;this[_0xbaeace(0x140)]&&clearTimeout(this[_0xbaeace(0x140)]),this[_0xbaeace(0x140)]=setTimeout(()=>{const _0x196652=_0xbaeace;this[_0x196652(0x17e)]=!0x1;},0x7d0);});return()=>{const _0x53572e=_0x25cec0;_0x122f2d[_0x53572e(0x110)](),_0x2532d7[_0x53572e(0x110)]();};}[_0x931b1e(0x324)](_0x1d2c91,_0x431dab,_0x4fc89a,_0xcd6f07){const _0x154b22=_0x931b1e,_0x22bbef=new a['ColorKit'](_0x1d2c91)['setAlpha'](0.2)[_0x154b22(0x2fd)](),_0x13fd7a=new C[(_0x154b22(0x161))](Rt+a[_0x154b22(0x14b)](H),{'pointsGroup':_0x431dab,'fill':_0x22bbef||C[_0x154b22(0x1cf)](a[_0x154b22(0x158)][_0x154b22(0x1fb)],0.2),'left':_0x4fc89a,'top':_0xcd6f07,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x154b22(0x1c1)][_0x154b22(0x202)](_0x13fd7a),this[_0x154b22(0x2c8)][_0x154b22(0x10f)](_0x13fd7a,p['TEXT_RANGE_LAYER_INDEX']);}[_0x931b1e(0x1e2)](_0x5953dc,_0x4832fe,_0x16ad13,_0x3b4f62){const _0x15bcb2=_0x931b1e,_0x34ba20=new a[(_0x15bcb2(0x1f7))](_0x5953dc)[_0x15bcb2(0x153)](0.2)[_0x15bcb2(0x2fd)](),_0x629ca8=new C[(_0x15bcb2(0x161))](bt+a[_0x15bcb2(0x14b)](H),{'pointsGroup':_0x4832fe,'fill':_0x34ba20||C[_0x15bcb2(0x1cf)](a['COLORS'][_0x15bcb2(0x1fb)],0.2),'left':_0x16ad13,'top':_0x3b4f62,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x15bcb2(0x202)](_0x629ca8),this[_0x15bcb2(0x2c8)]['addObject'](_0x629ca8,p['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x52a52d){const _0x905b42=_0x52a52d[0x0],_0x339934=_0x905b42[0x0],_0x4fb0ab=_0x905b42[0x2],{x:_0x5677bb,y:_0x3205e3}=_0x339934,{x:_0x49b18a,y:_0x4aa19a}=_0x4fb0ab;return{'left':_0x5677bb,'top':_0x3205e3,'width':_0x49b18a-_0x5677bb,'height':_0x4aa19a-_0x3205e3};}[_0x931b1e(0x176)](){const _0x5a9317=_0x931b1e,{scaleX:_0x2f0258,scaleY:_0x50417d}=this[_0x5a9317(0x2c8)]['getAncestorScale']();return Math[_0x5a9317(0x2d2)](_0x2f0258,_0x50417d);}}var Lt=Object[_0x931b1e(0x304)],Mt=(_0x2be5a0,_0x30f9e4,_0x17a62a,_0x1344ee)=>{const _0x121fd3=_0x931b1e;for(var _0x5b4f9a=_0x1344ee>0x1?void 0x0:_0x1344ee?Lt(_0x30f9e4,_0x17a62a):_0x30f9e4,_0x174532=_0x2be5a0[_0x121fd3(0x180)]-0x1,_0x21e383;_0x174532>=0x0;_0x174532--)(_0x21e383=_0x2be5a0[_0x174532])&&(_0x5b4f9a=_0x21e383(_0x5b4f9a)||_0x5b4f9a);return _0x5b4f9a;},q=(_0x4e5585,_0x30563b)=>(_0x274262,_0x5bc26f)=>_0x30563b(_0x274262,_0x5bc26f,_0x4e5585);let Ee=class extends a['RxDisposable']{constructor(_0x419079,_0x422dd0,_0xb553e,_0x440e38,_0x3658e9){const _0x36f884=_0x931b1e;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x36f884(0x349)]=_0x419079,this[_0x36f884(0x240)]=_0x422dd0,this['_collabCursorController']=_0xb553e,this['_commandService']=_0x440e38,this[_0x36f884(0x18c)]=_0x3658e9,this['_init']());}[_0x931b1e(0xb0)](){const _0x9448eb=_0x931b1e,_0x134740=this[_0x9448eb(0x349)]['unitId'],_0x1d98b3=this[_0x9448eb(0x240)];this[_0x9448eb(0x167)](I[_0x9448eb(0x2d6)]([this[_0x9448eb(0x362)][_0x9448eb(0x259)](_0x134740),this[_0x9448eb(0x18c)][_0x9448eb(0xc8)]])[_0x9448eb(0x154)]($[_0x9448eb(0x21a)](([_0xe46786,_0x3bd3a9])=>({'skeleton':_0x1d98b3['getSkeleton'](),'cursors':[..._0xe46786[_0x9448eb(0x313)]()][_0x9448eb(0x187)](_0x4d3940=>({..._0x4d3940,'color':this[_0x9448eb(0x18c)]['getColorFromTheme'](_0x4d3940[_0x9448eb(0x24f)])}))})))[_0x9448eb(0x143)](_0x341ee8=>{const _0x3308e2=_0x9448eb;if(this['_removeCollabCursors'](),_0x341ee8){const {skeleton:_0x153d9e,cursors:_0x5be3a9}=_0x341ee8;this[_0x3308e2(0x190)](_0x153d9e,_0x5be3a9);}})),this['_initResize'](),this[_0x9448eb(0x1a7)]();}[_0x931b1e(0x190)](_0x2cf844,_0x4234a1){const _0x3cae60=_0x931b1e,{scene:_0x15be36,mainComponent:_0x226333}=this[_0x3cae60(0x349)],_0x17fc43=_0x4234a1[_0x3cae60(0x21a)](_0x3366d1=>new Le(_0x3366d1,_0x15be36,_0x2cf844,_0x226333));this[_0x3cae60(0x208)]=_0x17fc43,this[_0x3cae60(0x23e)]=_0x4234a1;}[_0x931b1e(0x155)](){const _0x2c6358=_0x931b1e;this[_0x2c6358(0x200)]();const {scene:_0x207f19,mainComponent:_0x39979f}=this[_0x2c6358(0x349)],_0x439f02=this[_0x2c6358(0x240)][_0x2c6358(0x350)](),_0x58666e=this[_0x2c6358(0x23e)]['map'](_0x47c216=>new Le(_0x47c216,_0x207f19,_0x439f02,_0x39979f));this['_cursorShapes']=_0x58666e;}['_removeCollabCursors'](){const _0x1924d4=_0x931b1e;this[_0x1924d4(0x208)][_0x1924d4(0x1d5)](_0x598091=>_0x598091[_0x1924d4(0x151)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x18bad4=_0x931b1e,_0x331853=[p[_0x18bad4(0xbd)]['id']];this[_0x18bad4(0x167)](this[_0x18bad4(0x108)][_0x18bad4(0x20b)](_0x3ec97d=>{const _0x17c41f=_0x18bad4;_0x331853['includes'](_0x3ec97d['id'])&&_0x3ec97d[_0x17c41f(0x2e4)][_0x17c41f(0x209)]===this['_context'][_0x17c41f(0x209)]&&this[_0x17c41f(0x155)]();}));}[_0x931b1e(0x32c)](){const _0x54e89f=_0x931b1e;this[_0x54e89f(0x167)](a[_0x54e89f(0x29c)](this['_context'][_0x54e89f(0x132)][_0x54e89f(0x363)])[_0x54e89f(0x154)]($[_0x54e89f(0x35d)](_0x57ff88=>_0x57ff88['type']===C['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x54e89f(0x163)]),$[_0x54e89f(0x34e)](0x10))[_0x54e89f(0x143)](()=>{const _0x2812f5=_0x54e89f;this[_0x2812f5(0x155)]();}));}};Ee=Mt([q(0x1,a[_0x931b1e(0x1da)](V['DocSkeletonManagerService'])),q(0x2,a[_0x931b1e(0x1da)](F)),q(0x3,a[_0x931b1e(0xe7)]),q(0x4,a[_0x931b1e(0x1da)](a[_0x931b1e(0x239)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x931b1e(0x22e)]{constructor(_0x16e0a9,_0x352130){const _0x2a8f86=_0x931b1e;super(_0x16e0a9,_0x352130),_(this,_0x2a8f86(0x280)),_(this,_0x2a8f86(0x31f),!0x1),_(this,_0x2a8f86(0x212)),_(this,'_name',''),_(this,_0x2a8f86(0x353),_0x2a8f86(0x341)),_(this,_0x2a8f86(0x34c)),(_0x352130&&this['setShapeProps'](_0x352130),this[_0x2a8f86(0x18d)][_0x2a8f86(0x33c)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2a8f86(0x1d6)][_0x2a8f86(0x33c)](()=>this[_0x2a8f86(0x330)]({'hovered':!0x1})));}[_0x931b1e(0x330)](_0x348e43){const _0x37b1c3=_0x931b1e;var _0x14f3d7,_0x4bee3d,_0x6477d5,_0x3cc478,_0x2b6ce0,_0x51817a;this['_color']=(_0x14f3d7=_0x348e43[_0x37b1c3(0x24f)])!=null?_0x14f3d7:this[_0x37b1c3(0x280)],this['_hovered']=(_0x4bee3d=_0x348e43['hovered'])!=null?_0x4bee3d:this['_hovered'],this[_0x37b1c3(0x212)]=(_0x6477d5=_0x348e43['range'])!=null?_0x6477d5:this[_0x37b1c3(0x212)],this[_0x37b1c3(0x144)]=(_0x3cc478=_0x348e43[_0x37b1c3(0x277)])!=null?_0x3cc478:this[_0x37b1c3(0x144)],this[_0x37b1c3(0x353)]=(_0x2b6ce0=_0x348e43['labelPosition'])!=null?_0x2b6ce0:this['_labelPosition'],this['_backgroundColor']=(_0x51817a=_0x348e43[_0x37b1c3(0x22a)])!=null?_0x51817a:this[_0x37b1c3(0x34c)],this['transformByState']({'width':_0x348e43[_0x37b1c3(0x1de)],'height':_0x348e43[_0x37b1c3(0x164)]});}[_0x931b1e(0x320)](_0x51b2e7){const _0x51fd42=_0x931b1e,{row:_0x4a1997,column:_0x56c448}=_0x51b2e7;if(_0x4a1997>=this[_0x51fd42(0x212)][_0x51fd42(0x2e0)]&&_0x4a1997<=this[_0x51fd42(0x212)][_0x51fd42(0x317)]&&_0x56c448>=this['_range'][_0x51fd42(0x2b5)]&&_0x56c448<=this['_range'][_0x51fd42(0x1c5)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x51fd42(0x330)]({'hovered':!0x1});}[_0x931b1e(0x318)](_0x4a87ce){return!0x1;}[_0x931b1e(0x160)](_0xa4ce8a){const _0x2eed76=_0x931b1e;C['Rect']['drawWith'](_0xa4ce8a,{'width':this[_0x2eed76(0x1de)],'height':this['height'],'strokeWidth':Pt,'stroke':this[_0x2eed76(0x280)],'evented':!0x1,'fill':this[_0x2eed76(0x34c)]}),this[_0x2eed76(0x31f)]&&(_0xa4ce8a[_0x2eed76(0x1f4)](),_0xa4ce8a['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x2eed76(0x353)]===_0x2eed76(0xff)?0x0:-X),re[_0x2eed76(0x198)](_0xa4ce8a,{'text':this[_0x2eed76(0x144)],'color':this['_color']}),_0xa4ce8a[_0x2eed76(0x14f)]());}}var wt=Object[_0x931b1e(0x304)],yt=(_0x22d767,_0x3fc8ee,_0x44a761,_0x40e6a4)=>{const _0x8c8865=_0x931b1e;for(var _0x4a3c85=_0x40e6a4>0x1?void 0x0:_0x40e6a4?wt(_0x3fc8ee,_0x44a761):_0x3fc8ee,_0x2818ac=_0x22d767[_0x8c8865(0x180)]-0x1,_0x2e00e1;_0x2818ac>=0x0;_0x2818ac--)(_0x2e00e1=_0x22d767[_0x2818ac])&&(_0x4a3c85=_0x2e00e1(_0x4a3c85)||_0x4a3c85);return _0x4a3c85;},ue=(_0x3e7c18,_0x31916d)=>(_0x52426e,_0x3ffada)=>_0x31916d(_0x52426e,_0x3ffada,_0x3e7c18);const $t=0x1389;let Ce=class extends a[_0x931b1e(0x29e)]{constructor(_0x8c7b50,_0x1a79ca,_0x596de9,_0x425ac2){const _0x2be6a3=_0x931b1e;super(),_(this,'_cursors',new Set()),_(this,_0x2be6a3(0x19d),null),(this[_0x2be6a3(0x349)]=_0x8c7b50,this[_0x2be6a3(0x33b)]=_0x1a79ca,this[_0x2be6a3(0x362)]=_0x596de9,this[_0x2be6a3(0x18c)]=_0x425ac2,this['_init']());}['_init'](){const _0x3b9602=_0x931b1e;this[_0x3b9602(0x33b)]['currentSkeleton$'][_0x3b9602(0x154)]($[_0x3b9602(0x17a)](this[_0x3b9602(0x20a)]),$['switchMap'](_0x1bd284=>{const _0x150cca=_0x3b9602;if(_0x1bd284){const _0x4dbe96=_0x1bd284['sheetId'];return I[_0x150cca(0x2d6)](this[_0x150cca(0x362)][_0x150cca(0x259)](this[_0x150cca(0x349)][_0x150cca(0x209)]),this[_0x150cca(0x18c)]['currentTheme$'])[_0x150cca(0x154)]($[_0x150cca(0x21a)](([_0x42a42e,_0x1a0820])=>{const _0x258d43=_0x150cca,_0x50c2e3=new Map();return _0x42a42e[_0x258d43(0x1d5)]((_0x3165bd,_0x21b987)=>{const _0x3fe16a=_0x258d43;if(_0x3165bd[_0x3fe16a(0x2cf)]===_0x4dbe96){const _0xaa1894={..._0x3165bd};_0xaa1894[_0x3fe16a(0x24f)]=this['_themeService'][_0x3fe16a(0x348)](_0x3165bd['color']),_0x50c2e3[_0x3fe16a(0x303)](_0x21b987,_0xaa1894);}}),{'skeleton':_0x1bd284,'cursors':_0x50c2e3};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1d1196,cursors:_0x595569})=>{const _0x2525bb=_0x3b9602;this[_0x2525bb(0x200)](),_0x1d1196&&this[_0x2525bb(0x190)](_0x1d1196,_0x595569);}),this['_sheetSkeletonManagerService'][_0x3b9602(0x2e7)][_0x3b9602(0x143)](_0x21643d=>{const _0x2ec045=_0x3b9602;if(_0x21643d==null)return;const {skeleton:_0x4afb36}=_0x21643d,{scene:_0x1225cc}=this[_0x2ec045(0x349)];_0x1225cc[_0x2ec045(0x1ec)]['subscribeEvent'](a[_0x2ec045(0x276)](_0x175c39=>{const _0x273298=_0x2ec045;var _0x2df63f,_0x356ad9;const {offsetX:_0x378722,offsetY:_0x1d1224}=_0x175c39,{x:_0x3757dc,y:_0x23e782}=_0x1225cc['getRelativeToViewportCoord'](C[_0x273298(0x2e6)][_0x273298(0x111)]([_0x378722,_0x1d1224])),{scaleX:_0x210d6a,scaleY:_0x24dd50}=_0x1225cc[_0x273298(0x2a5)](),_0x455e4b=_0x1225cc[_0x273298(0x234)](C[_0x273298(0x2ac)]['VIEW_MAIN']),_0x333246=_0x1225cc['getVpScrollXYInfoByPosToVp'](C[_0x273298(0x2e6)]['FromArray']([_0x3757dc,_0x23e782]),_0x455e4b),_0x527940=_0x4afb36[_0x273298(0x107)](_0x378722,_0x1d1224,_0x210d6a,_0x24dd50,_0x333246);((_0x2df63f=this[_0x273298(0x19d)])==null?void 0x0:_0x2df63f['column'])===_0x527940['column']&&((_0x356ad9=this[_0x273298(0x19d)])==null?void 0x0:_0x356ad9['row'])===_0x527940['row']||this[_0x273298(0x23e)][_0x273298(0x1d5)](_0x49b456=>{_0x49b456['onMouseMove'](_0x527940);});},0x64));});}[_0x931b1e(0x190)](_0x221b29,_0x41833c){const _0x3b7e30=_0x931b1e;var _0x57ede1;const _0x42c18f=(_0x57ede1=this[_0x3b7e30(0x33b)][_0x3b7e30(0x173)]())==null?void 0x0:_0x57ede1[_0x3b7e30(0x359)];if(!_0x42c18f)return;const _0x3412c0=this[_0x3b7e30(0x24e)]();if(!_0x3412c0)return;this[_0x3b7e30(0x23e)][_0x3b7e30(0x1d5)](_0x517694=>{const _0x3aeda6=_0x3b7e30;_0x517694[_0x3aeda6(0x28b)]();});const {scene:_0x3515d4}=_0x3412c0,_0x663b3c=xt(Array[_0x3b7e30(0x104)](_0x41833c[_0x3b7e30(0x313)]()))[_0x3b7e30(0x21a)](_0xac488=>{const _0x2e9254=_0x3b7e30,{color:_0x4e5146,range:_0xa2ad9a,name:_0x5c7eb5,selection:_0x4e9782,sheetID:_0x567e8b}=_0xac488,{startColumn:_0x1bb180,startRow:_0x21b2c0,endColumn:_0xd20c3b,endRow:_0x45327a}=_0xa2ad9a,_0x49cadd=J['getCoordByCell'](_0x21b2c0,_0x1bb180,_0x3515d4,_0x42c18f),_0x411b3b=J['getCoordByCell'](_0x45327a,_0xd20c3b,_0x3515d4,_0x42c18f),{columnHeaderHeightAndMarginTop:_0x3169c2}=_0x42c18f,{startX:_0x57072f,startY:_0x5843fe}=_0x49cadd,{endX:_0xd10845,endY:_0x29b825}=_0x411b3b,_0x336280=_0xd10845-_0x57072f,_0x19090f=_0x29b825-_0x5843fe,_0x39409f={'labelPosition':_0x5843fe-_0x3169c2>=X?_0x2e9254(0x341):'bottom','sheetID':_0x567e8b,'range':_0xa2ad9a,'color':_0x4e5146,'name':_0x5c7eb5,'selection':_0x4e9782,'left':_0x57072f,'top':_0x5843fe,'width':_0x336280,'height':_0x19090f,'evented':!0x1,'zIndex':$t};return new je(_0x5c7eb5,_0x39409f);});_0x3515d4[_0x3b7e30(0x147)](_0x663b3c,At),this['_cursors']=new Set(_0x663b3c);}[_0x931b1e(0x200)](){const _0x5b48f4=_0x931b1e;var _0xb9c58d;(_0xb9c58d=this['_cursors'])==null||_0xb9c58d[_0x5b48f4(0x1d5)](_0x4f4951=>_0x4f4951[_0x5b48f4(0x151)]());}[_0x931b1e(0x24e)](){const _0x17d457=_0x931b1e;return J[_0x17d457(0x2a8)](this[_0x17d457(0x349)][_0x17d457(0xd2)],this['_context']);}};Ce=yt([ue(0x1,a['Inject'](J['SheetSkeletonManagerService'])),ue(0x2,a[_0x931b1e(0x1da)](F)),ue(0x3,a[_0x931b1e(0x1da)](a['ThemeService']))],Ce);function xt(_0x28713d){const _0x4b1e4a=_0x931b1e,_0x5c464e=new Map();return _0x28713d['forEach'](_0xc6288b=>{const _0x1de6fd=_0x1e77;if(_0x5c464e[_0x1de6fd(0x264)](_0xc6288b[_0x1de6fd(0x2f9)])){const _0x5500e4=_0x5c464e[_0x1de6fd(0x25b)](_0xc6288b[_0x1de6fd(0x2f9)]);_0x5500e4[_0x1de6fd(0x277)]+=',\x20'+_0xc6288b[_0x1de6fd(0x277)];}else _0x5c464e[_0x1de6fd(0x303)](_0xc6288b['selection'],_0xc6288b);}),Array[_0x4b1e4a(0x104)](_0x5c464e[_0x4b1e4a(0x313)]());}var Bt=Object[_0x931b1e(0x304)],Ft=(_0x3abf6c,_0x53c04b,_0x5ebc25,_0x3ce00f)=>{for(var _0x4d0946=_0x3ce00f>0x1?void 0x0:_0x3ce00f?Bt(_0x53c04b,_0x5ebc25):_0x53c04b,_0x214594=_0x3abf6c['length']-0x1,_0x366cd3;_0x214594>=0x0;_0x214594--)(_0x366cd3=_0x3abf6c[_0x214594])&&(_0x4d0946=_0x366cd3(_0x4d0946)||_0x4d0946);return _0x4d0946;},y=(_0x1966f8,_0x150957)=>(_0x56ce96,_0x50875c)=>_0x150957(_0x56ce96,_0x50875c,_0x1966f8);let Z=class extends a[_0x931b1e(0x22d)]{constructor(_0x2e0f97,_0x59ac1a,_0x46fbeb,_0x118799,_0x3cd812,_0x57ee04){const _0xfb9cb8=_0x931b1e;super(),this['_beforeCloseService']=_0x2e0f97,this['_localCacheService']=_0x59ac1a,this['_collaborationUIEventService']=_0x46fbeb,this[_0xfb9cb8(0x1a0)]=_0x118799,this[_0xfb9cb8(0xc6)]=_0x3cd812,this[_0xfb9cb8(0xf7)]=_0x57ee04,this[_0xfb9cb8(0xbb)](),this[_0xfb9cb8(0x2cb)]();}[_0x931b1e(0xbb)](){const _0x44de3a=_0x931b1e;this[_0x44de3a(0x167)](this[_0x44de3a(0x266)][_0x44de3a(0x177)](()=>{const _0x9c7cef=_0x44de3a;if(this[_0x9c7cef(0xb6)][_0x9c7cef(0x106)][_0x9c7cef(0x1b2)])return this['_localeService']['t'](_0x9c7cef(0x283));}));}[_0x931b1e(0x2cb)](){const _0x1f96f9=_0x931b1e;this[_0x1f96f9(0x167)](this[_0x1f96f9(0x352)][_0x1f96f9(0x1c7)][_0x1f96f9(0x143)](_0x19d0ed=>{const _0x1a669c=_0x1f96f9;_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x2e5)]&&this[_0x1a669c(0x1a0)][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)]['Warning'],'content':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0x2e9))}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x35a)]&&this[_0x1a669c(0x1a0)]['show']({'type':T[_0x1a669c(0x134)]['Warning'],'content':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0x339))}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0xb8)]&&this['_notificationService'][_0x1a669c(0x30b)]({'title':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0xda)),'content':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0x18b)),'type':_0x1a669c(0x1bc),'duration':0x0}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x26d)]&&this[_0x1a669c(0x1a0)][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)]['Error'],'content':this[_0x1a669c(0xf7)]['t']('collaboration.closeRoom')+'('+_0x19d0ed['data']+')'}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x338)]&&this[_0x1a669c(0x1a0)][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)]['Warning'],'content':this[_0x1a669c(0xf7)]['t'](_0x19d0ed['data']||'')}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x13c)]&&this[_0x1a669c(0x1a0)][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)][_0x1a669c(0xa8)],'content':this['_localeService']['t'](_0x1a669c(0x1fa))}),_0x19d0ed['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this['_messageService'][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)]['Error'],'content':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0x30f))}),_0x19d0ed['id']===u[_0x1a669c(0x2a2)][_0x1a669c(0x1eb)]&&this[_0x1a669c(0x1a0)][_0x1a669c(0x30b)]({'type':T[_0x1a669c(0x134)][_0x1a669c(0x31d)],'content':this[_0x1a669c(0xf7)]['t'](_0x1a669c(0x2de))});}));}};Z=Ft([y(0x0,O[_0x931b1e(0x1d1)]),y(0x1,u[_0x931b1e(0x15c)]),y(0x2,a['Inject'](u[_0x931b1e(0xac)])),y(0x3,O[_0x931b1e(0x14d)]),y(0x4,O[_0x931b1e(0x133)]),y(0x5,a[_0x931b1e(0x1da)](a[_0x931b1e(0xb5)]))],Z);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x39b006,_0x51184a,_0x5f4b06,_0x47e386)=>{const _0x56269c=_0x931b1e;for(var _0x2a1faf=_0x47e386>0x1?void 0x0:_0x47e386?jt(_0x51184a,_0x5f4b06):_0x51184a,_0x36c5a8=_0x39b006[_0x56269c(0x180)]-0x1,_0x43daaa;_0x36c5a8>=0x0;_0x36c5a8--)(_0x43daaa=_0x39b006[_0x36c5a8])&&(_0x2a1faf=_0x43daaa(_0x2a1faf)||_0x2a1faf);return _0x2a1faf;},z=(_0x2bf23e,_0x443326)=>(_0x126acd,_0x43455b)=>_0x443326(_0x126acd,_0x43455b,_0x2bf23e);let Q=class extends a['Disposable']{constructor(_0x17085f,_0x272bea,_0x28ab2e,_0xed2e8f){const _0x530fbb=_0x931b1e;super(),_(this,_0x530fbb(0x20e)),(this[_0x530fbb(0x251)]=_0x17085f,this[_0x530fbb(0x247)]=_0x272bea,this[_0x530fbb(0x2d3)]=_0x28ab2e,this[_0x530fbb(0x14e)]=_0xed2e8f,this['_init']());}[_0x931b1e(0xb0)](){const _0x4249a0=_0x931b1e;this[_0x4249a0(0x2f7)](),this[_0x4249a0(0x364)](),this[_0x4249a0(0x278)](),this[_0x4249a0(0x26f)]();}[_0x931b1e(0x26f)](){const _0x365277=_0x931b1e;this[_0x365277(0x167)](this[_0x365277(0x14e)][_0x365277(0x26c)][_0x365277(0x143)](_0x33086c=>{const _0x565e17=_0x365277;this['_memberID']=_0x33086c==null?void 0x0:_0x33086c[_0x565e17(0x12c)];}));}['_initWindowErrorListener'](){const _0x1db572=_0x931b1e,_0x100fed=_0x5d5a7c=>{const _0x4c0157=_0x1e77;var _0x3e8291;this['_uploadLog']('error',_0x4c0157(0x15f)+_0x5d5a7c['message']+'\x20at\x20'+_0x5d5a7c[_0x4c0157(0x17f)]+':'+_0x5d5a7c[_0x4c0157(0x347)]+':'+_0x5d5a7c[_0x4c0157(0x1ca)]+'\x0a'+(((_0x3e8291=_0x5d5a7c[_0x4c0157(0x1bc)])==null?void 0x0:_0x3e8291[_0x4c0157(0x1b8)])||''));};window[_0x1db572(0x168)]('error',_0x100fed),this['disposeWithMe'](()=>{const _0x1b7b3a=_0x1db572;window[_0x1b7b3a(0x24a)](_0x1b7b3a(0x1bc),_0x100fed);});}['_initUnhandledRejectionListener'](){const _0x2e4a30=_0x931b1e,_0x177fab=_0x104a78=>{const _0x3f20c0=_0x1e77;this[_0x3f20c0(0x360)]('error','[Unhandled\x20Rejection]:\x20'+_0x104a78[_0x3f20c0(0x165)]);};window[_0x2e4a30(0x168)]('unhandledrejection',_0x177fab),this[_0x2e4a30(0x167)](()=>{const _0x112634=_0x2e4a30;window[_0x112634(0x24a)](_0x112634(0x22f),_0x177fab);});}[_0x931b1e(0x278)](){const _0x504bca=_0x931b1e,_0x38c74d=this[_0x504bca(0x2d3)]['error'][_0x504bca(0x1b6)](this[_0x504bca(0x2d3)]);this[_0x504bca(0x2d3)][_0x504bca(0x1bc)]=(..._0x251f8d)=>{const _0x3709dd=_0x504bca,_0x29ca1f=_0x251f8d[_0x3709dd(0x21a)](_0x230282=>_0x230282 instanceof Error?_0x230282[_0x3709dd(0x260)]+'\x0a'+_0x230282[_0x3709dd(0x1b8)]:String(_0x230282))['join']('\x20');this['_uploadLog'](_0x3709dd(0x1bc),_0x3709dd(0xef)+_0x29ca1f),_0x38c74d(..._0x251f8d);},this[_0x504bca(0x167)](()=>{const _0x19584b=_0x504bca;this[_0x19584b(0x2d3)][_0x19584b(0x1bc)]=_0x38c74d;});}[_0x931b1e(0x360)](_0x4d0b9c,_0x53c9be){const _0x3c6654=_0x931b1e;try{const _0x1a88d0={'userId':this[_0x3c6654(0x20e)],'logLabel':_0x4d0b9c,'content':_0x53c9be};this['_httpService'][_0x3c6654(0xa6)](_0x3c6654(0xc2),{'body':_0x1a88d0})[_0x3c6654(0x312)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x931b1e(0x1da)](a[_0x931b1e(0x189)])),z(0x1,a['Inject'](x[_0x931b1e(0x15b)])),z(0x2,a[_0x931b1e(0x9e)]),z(0x3,a[_0x931b1e(0x1da)](u[_0x931b1e(0x333)]))],Q);const Yt=_0x931b1e(0x2b1),Me={};var Ht=Object[_0x931b1e(0x304)],Wt=(_0x15eaa2,_0x212a98,_0x429091,_0x300687)=>{const _0x4597b2=_0x931b1e;for(var _0x321b22=_0x300687>0x1?void 0x0:_0x300687?Ht(_0x212a98,_0x429091):_0x212a98,_0xac5f42=_0x15eaa2[_0x4597b2(0x180)]-0x1,_0x2145d7;_0xac5f42>=0x0;_0xac5f42--)(_0x2145d7=_0x15eaa2[_0xac5f42])&&(_0x321b22=_0x2145d7(_0x321b22)||_0x321b22);return _0x321b22;},Ae=(_0x49f9ba,_0x213b51)=>(_0x5dfe69,_0x21f0f4)=>_0x213b51(_0x5dfe69,_0x21f0f4,_0x49f9ba);let ee=class{constructor(_0x2d9f04,_0x475a3a){const _0xa42e79=_0x931b1e;this[_0xa42e79(0x18a)]=_0x2d9f04,this['_renderManagerService']=_0x475a3a;}[_0x931b1e(0x17d)](_0x42e869){const _0x2b658d=_0x931b1e;this['_transformUndoRedoStack'](_0x42e869),this[_0x2b658d(0x2bf)](_0x42e869);}['transformRemoteChangeset'](_0x29e8ef){const _0x10ab0b=_0x931b1e,{unitID:_0x457d98}=_0x29e8ef,_0x566686=this[_0x10ab0b(0x18e)][_0x10ab0b(0xb7)](_0x457d98)['with'](p[_0x10ab0b(0xe8)]),{redoCache:_0x500134}=_0x566686[_0x10ab0b(0x2af)]();if(_0x500134[_0x10ab0b(0x180)]===0x0)return _0x29e8ef;let _0x33de3d=a[_0x10ab0b(0x220)][_0x10ab0b(0x13e)](_0x29e8ef[_0x10ab0b(0x162)][0x0]);for(let _0xfb4085=0x0;_0xfb4085<_0x500134[_0x10ab0b(0x180)];_0xfb4085++){const _0x16e0bc={'id':_0x10ab0b(0xc7),'params':{..._0x500134[_0xfb4085]}},_0x4e9e72=this['_transformService'][_0x10ab0b(0x156)](_0x33de3d,_0x16e0bc,!0x1);if(g[_0x10ab0b(0x1ce)](_0x4e9e72))throw _0x4e9e72['error'];_0x33de3d=_0x4e9e72[_0x10ab0b(0xbe)];}return{...a[_0x10ab0b(0x220)][_0x10ab0b(0x13e)](_0x29e8ef),'mutations':[_0x33de3d]};}[_0x931b1e(0x11b)](_0x46d8a4){const _0x48eea8=_0x931b1e,{unitID:_0xbb7df4}=_0x46d8a4,_0x2a57d1=this[_0x48eea8(0x18e)][_0x48eea8(0xb7)](_0xbb7df4)[_0x48eea8(0x2bd)](p[_0x48eea8(0xe8)]),{undoCache:_0x115478,redoCache:_0x21dded}=_0x2a57d1[_0x48eea8(0x2af)]();if(_0x115478[_0x48eea8(0x180)]===0x0||_0x21dded[_0x48eea8(0x180)]===0x0)return;const _0x1474fb=[],_0x1d97ea=[];let _0x4da99c=a['Tools']['deepClone'](_0x46d8a4[_0x48eea8(0x162)][0x0]),_0xba4e3f=a['Tools'][_0x48eea8(0x13e)](_0x46d8a4[_0x48eea8(0x162)][0x0]);for(let _0x5ab713=_0x115478[_0x48eea8(0x180)]-0x1;_0x5ab713>=0x0;_0x5ab713--){const _0x36b5b8={'id':_0x48eea8(0xc7),'params':{..._0x115478[_0x5ab713]}},_0x52b867={'id':_0x48eea8(0xc7),'params':{..._0x21dded[_0x5ab713]}},_0x552512=this['_transformService'][_0x48eea8(0x156)](_0x4da99c,_0x36b5b8,!0x1),_0x4e85aa=this[_0x48eea8(0x18a)]['transformMutation'](_0xba4e3f,_0x52b867,!0x1);if(g[_0x48eea8(0x1ce)](_0x552512))throw _0x552512['error'];if(g[_0x48eea8(0x1ce)](_0x4e85aa))throw _0x4e85aa[_0x48eea8(0x1bc)];_0x1474fb['unshift'](_0x552512['m2Prime'][_0x48eea8(0x2e4)]),_0x1d97ea['unshift'](_0x4e85aa[_0x48eea8(0x1f2)][_0x48eea8(0x2e4)]),_0x4da99c=_0x552512[_0x48eea8(0xbe)],_0xba4e3f=_0x4e85aa[_0x48eea8(0xbe)];}_0x2a57d1[_0x48eea8(0x124)]({'undoCache':_0x1474fb,'redoCache':_0x1d97ea});}['_transformPreviousActiveRange'](_0x42533b){const _0x16bdc7=_0x931b1e,{unitID:_0x23523b}=_0x42533b,_0x51183f=this['_renderManagerService'][_0x16bdc7(0xb7)](_0x23523b)['with'](p[_0x16bdc7(0xe8)]),_0x2ffb16=_0x51183f[_0x16bdc7(0x1b5)]();if(_0x2ffb16==null)return;const _0x218e91=[{'id':_0x16bdc7(0xc7),'params':{'unitId':_0x42533b[_0x16bdc7(0x261)],'actions':null,'textRanges':[_0x2ffb16]}}],_0x4cd233=this[_0x16bdc7(0x18a)][_0x16bdc7(0x235)](_0x42533b,_0x218e91);if(!g[_0x16bdc7(0x27a)](_0x4cd233))throw _0x4cd233[_0x16bdc7(0x1bc)];const _0x100937=_0x4cd233[_0x16bdc7(0x1f2)][0x0]['params'][_0x16bdc7(0x1ed)];Array[_0x16bdc7(0x335)](_0x100937)&&_0x100937[_0x16bdc7(0x180)]&&_0x51183f[_0x16bdc7(0xfe)](_0x100937[0x0]);}};ee=Wt([Ae(0x0,g[_0x931b1e(0x1f6)]),Ae(0x1,C[_0x931b1e(0x171)])],ee);var Vt=Object[_0x931b1e(0x304)],Gt=(_0x4313d0,_0x1df24a,_0x9e161e,_0x1da366)=>{const _0x571065=_0x931b1e;for(var _0x5d5795=_0x1da366>0x1?void 0x0:_0x1da366?Vt(_0x1df24a,_0x9e161e):_0x1df24a,_0x16ed3f=_0x4313d0[_0x571065(0x180)]-0x1,_0x5df293;_0x16ed3f>=0x0;_0x16ed3f--)(_0x5df293=_0x4313d0[_0x16ed3f])&&(_0x5d5795=_0x5df293(_0x5d5795)||_0x5d5795);return _0x5d5795;},Ie=(_0x441abc,_0x42d8f9)=>(_0x39ccce,_0x228417)=>_0x42d8f9(_0x39ccce,_0x228417,_0x441abc);let te=class{constructor(_0x3d8634,_0x21ec2c,_0x11a53f){const _0x2db313=_0x931b1e;this['_injector']=_0x3d8634,this[_0x2db313(0x18a)]=_0x21ec2c,this[_0x2db313(0x204)]=_0x11a53f;}[_0x931b1e(0x1a1)](_0x38bb0b){const _0x1a8275=_0x931b1e;this[_0x1a8275(0x2a3)](_0x38bb0b);}[_0x931b1e(0x309)](_0x1e638a){const _0x3aa155=_0x931b1e,{unitID:_0x3b2876}=_0x1e638a,{collaboration:_0x5aea8e}=this['_docStateChangeManagerService'][_0x3aa155(0x1dc)](_0x3b2876);if(_0x5aea8e['length']===0x0)return _0x1e638a;let _0x54ba77=a['Tools'][_0x3aa155(0x13e)](_0x1e638a[_0x3aa155(0x162)][0x0]);for(let _0x134d70=0x0;_0x134d70<_0x5aea8e[_0x3aa155(0x180)];_0x134d70++){const _0x3ae94b={'id':_0x3aa155(0xc7),'params':{'unitId':_0x5aea8e[_0x134d70][_0x3aa155(0x209)],..._0x5aea8e[_0x134d70][_0x3aa155(0x344)]}},_0x344b19=this['_transformService'][_0x3aa155(0x156)](_0x54ba77,_0x3ae94b,!0x1);if(g[_0x3aa155(0x1ce)](_0x344b19))throw _0x344b19[_0x3aa155(0x1bc)];_0x54ba77=_0x344b19['m1Prime'];}return{...a[_0x3aa155(0x220)][_0x3aa155(0x13e)](_0x1e638a),'mutations':[_0x54ba77]};}[_0x931b1e(0x2a3)](_0x5a1479){const _0x358f59=_0x931b1e,{unitID:_0x1588d9}=_0x5a1479,{history:_0x49aaa2,collaboration:_0xf4cec4}=this[_0x358f59(0x204)][_0x358f59(0x1dc)](_0x1588d9);if(_0x49aaa2[_0x358f59(0x180)]===0x0&&_0xf4cec4['length']===0x0)return;const _0x1cf2b0=[],_0x815f57=[];let _0x2ef7d5=a[_0x358f59(0x220)][_0x358f59(0x13e)](_0x5a1479[_0x358f59(0x162)][0x0]),_0x583693=a[_0x358f59(0x220)][_0x358f59(0x13e)](_0x5a1479[_0x358f59(0x162)][0x0]);for(let _0x40c53e=_0x49aaa2[_0x358f59(0x180)]-0x1;_0x40c53e>=0x0;_0x40c53e--){const _0x4ff844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49aaa2[_0x40c53e]['unitId'],..._0x49aaa2[_0x40c53e]['undoState']}},_0x117874={'id':_0x358f59(0xc7),'params':{'unitId':_0x49aaa2[_0x40c53e][_0x358f59(0x209)],..._0x49aaa2[_0x40c53e]['redoState']}},_0x765c7c=this['_transformService'][_0x358f59(0x156)](_0x2ef7d5,_0x4ff844,!0x1),_0x5b97c2=this[_0x358f59(0x18a)][_0x358f59(0x156)](_0x583693,_0x117874,!0x1);if(g['isTransformMutationFailure'](_0x765c7c))throw _0x765c7c[_0x358f59(0x1bc)];if(g[_0x358f59(0x1ce)](_0x5b97c2))throw _0x5b97c2['error'];_0x1cf2b0[_0x358f59(0x2a7)]({..._0x49aaa2[_0x40c53e],'undoState':_0x765c7c[_0x358f59(0x1f2)]['params'],'redoState':_0x5b97c2[_0x358f59(0x1f2)][_0x358f59(0x2e4)]}),_0x2ef7d5=_0x765c7c['m1Prime'],_0x583693=_0x5b97c2['m1Prime'];}_0x2ef7d5=a[_0x358f59(0x220)]['deepClone'](_0x5a1479[_0x358f59(0x162)][0x0]),_0x583693=a[_0x358f59(0x220)][_0x358f59(0x13e)](_0x5a1479[_0x358f59(0x162)][0x0]);for(let _0x42ac98=_0xf4cec4[_0x358f59(0x180)]-0x1;_0x42ac98>=0x0;_0x42ac98--){const _0x563560={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf4cec4[_0x42ac98][_0x358f59(0x209)],..._0xf4cec4[_0x42ac98][_0x358f59(0x2bc)]}},_0x342eaa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf4cec4[_0x42ac98]['unitId'],..._0xf4cec4[_0x42ac98][_0x358f59(0x344)]}},_0x27b658=this['_transformService'][_0x358f59(0x156)](_0x2ef7d5,_0x563560,!0x1),_0x29e75d=this[_0x358f59(0x18a)][_0x358f59(0x156)](_0x583693,_0x342eaa,!0x1);if(g[_0x358f59(0x1ce)](_0x27b658))throw _0x27b658['error'];if(g[_0x358f59(0x1ce)](_0x29e75d))throw _0x29e75d['error'];_0x815f57[_0x358f59(0x2a7)]({..._0xf4cec4[_0x42ac98],'undoState':_0x27b658[_0x358f59(0x1f2)][_0x358f59(0x2e4)],'redoState':_0x29e75d['m2Prime'][_0x358f59(0x2e4)]}),_0x2ef7d5=_0x27b658['m1Prime'],_0x583693=_0x29e75d[_0x358f59(0xbe)];}this[_0x358f59(0x204)][_0x358f59(0xee)](_0x1588d9,{'history':_0x1cf2b0,'collaboration':_0x815f57});}};te=Gt([Ie(0x0,a['Inject'](a['Injector'])),Ie(0x1,g['ITransformService']),Ie(0x2,a[_0x931b1e(0x1da)](p['DocStateChangeManagerService']))],te);var Xt=Object['getOwnPropertyDescriptor'],Kt=(_0x1766f6,_0x12ca47,_0xa96f03,_0x10f22a)=>{for(var _0xa8a68d=_0x10f22a>0x1?void 0x0:_0x10f22a?Xt(_0x12ca47,_0xa96f03):_0x12ca47,_0x279a0e=_0x1766f6['length']-0x1,_0x149ade;_0x279a0e>=0x0;_0x279a0e--)(_0x149ade=_0x1766f6[_0x279a0e])&&(_0xa8a68d=_0x149ade(_0xa8a68d)||_0xa8a68d);return _0xa8a68d;},Pe=(_0x3d204a,_0x57a03d)=>(_0x22587b,_0x2d9c82)=>_0x57a03d(_0x22587b,_0x2d9c82,_0x3d204a);let se=class{constructor(_0x4a271d,_0x56e570){const _0x54f465=_0x931b1e;this[_0x54f465(0x251)]=_0x4a271d,this[_0x54f465(0x18a)]=_0x56e570;}[_0x931b1e(0xdb)](_0x403406){const _0x237a85=_0x931b1e;var _0x46280d;const _0x3a1e2d=this['_injector'][_0x237a85(0x25b)](V[_0x237a85(0x2eb)]),_0x3f9db6=(_0x46280d=_0x3a1e2d[_0x237a85(0x216)]())!=null?_0x46280d:[];if(_0x3f9db6['length']===0x0)return;const _0x36da31=_0x403406[_0x237a85(0x261)],_0x588e18=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36da31,'actions':null,'textRanges':_0x3f9db6}}],_0x1d1f1d=this['_transformService'][_0x237a85(0x235)](_0x403406,_0x588e18);if(!g[_0x237a85(0x27a)](_0x1d1f1d))throw _0x1d1f1d[_0x237a85(0x1bc)];const _0x17023c=_0x1d1f1d[_0x237a85(0x1f2)][0x0][_0x237a85(0x2e4)][_0x237a85(0x1ed)];Array[_0x237a85(0x335)](_0x17023c)&&_0x17023c[_0x237a85(0x180)]&&_0x3a1e2d['replaceDocRanges'](_0x17023c,{'unitId':_0x36da31,'subUnitId':_0x36da31},!0x1);}};se=Kt([Pe(0x0,a[_0x931b1e(0x1da)](a['Injector'])),Pe(0x1,g['ITransformService'])],se);var qt=Object[_0x931b1e(0x304)],zt=(_0x2de8c6,_0x42a820,_0x5b368d,_0x715635)=>{const _0x2fc2e5=_0x931b1e;for(var _0x50c370=_0x715635>0x1?void 0x0:_0x715635?qt(_0x42a820,_0x5b368d):_0x42a820,_0x5ceb8f=_0x2de8c6[_0x2fc2e5(0x180)]-0x1,_0x111006;_0x5ceb8f>=0x0;_0x5ceb8f--)(_0x111006=_0x2de8c6[_0x5ceb8f])&&(_0x50c370=_0x111006(_0x50c370)||_0x50c370);return _0x50c370;},N=(_0x93521e,_0x8f93de)=>(_0x3a2a63,_0x250985)=>_0x8f93de(_0x3a2a63,_0x250985,_0x93521e);let ie=class extends a[_0x931b1e(0x22d)]{constructor(_0x1d3dff,_0x808c2d,_0x2ea6bc,_0x2736c2,_0x4a09c7,_0x573d89,_0x2477a7,_0x25af08){const _0x5013f8=_0x931b1e;super(),_(this,_0x5013f8(0x123),new I[(_0x5013f8(0x346))](u[_0x5013f8(0x10b)][_0x5013f8(0xa2)])),(this[_0x5013f8(0x204)]=_0x1d3dff,this[_0x5013f8(0x2fb)]=_0x808c2d,this[_0x5013f8(0x34f)]=_0x2ea6bc,this[_0x5013f8(0x195)]=_0x2736c2,this[_0x5013f8(0x14c)]=_0x4a09c7,this[_0x5013f8(0x1d3)]=_0x573d89,this['_messageService']=_0x2477a7,this['_localeService']=_0x25af08,this[_0x5013f8(0x205)]());}[_0x931b1e(0x205)](){const _0xdb5511=_0x931b1e;this[_0xdb5511(0x167)](this[_0xdb5511(0x2fb)][_0xdb5511(0xaf)]['subscribe'](_0x4f7c7d=>{const _0x59fee7=_0xdb5511,_0x2de0ca=this[_0x59fee7(0x204)][_0x59fee7(0x32f)][_0x59fee7(0x143)](_0x3a7384=>{const _0x2278f8=_0x59fee7;if(_0x3a7384==null)return;const {unitId:_0x148e4a,redoState:_0x521d17,commandId:_0x43d031}=_0x3a7384;if(_0x148e4a!==_0x4f7c7d[_0x2278f8(0x261)])return;const _0x5489bc={'id':_0x43d031,'type':a[_0x2278f8(0xd1)][_0x2278f8(0xa9)],'params':{'unitId':_0x148e4a,'actions':_0x521d17['actions'],'textRanges':null}};_0x4f7c7d[_0x2278f8(0x1a8)](_0x5489bc);});if(_0x4f7c7d['disposeWithMe'](_0x2de0ca),_0x4f7c7d instanceof u[_0x59fee7(0x103)]){const _0x496869={'onTransformIME':_0x431a60=>this[_0x59fee7(0x34f)][_0x59fee7(0x17d)](_0x431a60),'onTransformState':_0x1d3e0e=>this[_0x59fee7(0x195)][_0x59fee7(0x1a1)](_0x1d3e0e),'onTransformSelections':_0x4c71ab=>this[_0x59fee7(0x14c)]['transformSelections'](_0x4c71ab),'onSyncEditingCollabCursor':_0x135fa9=>this[_0x59fee7(0x1d3)][_0x59fee7(0x289)](_0x135fa9),'onTransformRemoteChangesetByIMECache':_0x561757=>this[_0x59fee7(0x34f)][_0x59fee7(0x309)](_0x561757),'onTransformRemoteChangesetByStateCache':_0x2349ae=>this['_docTransformStateCacheService'][_0x59fee7(0x309)](_0x2349ae)};_0x4f7c7d[_0x59fee7(0x102)](_0x496869);}}));}};ie=zt([N(0x0,a['Inject'](p[_0x931b1e(0xa5)])),N(0x1,a[_0x931b1e(0x1da)](u[_0x931b1e(0x31b)])),N(0x2,a[_0x931b1e(0x1da)](ee)),N(0x3,a[_0x931b1e(0x1da)](te)),N(0x4,a['Inject'](se)),N(0x5,a['Inject'](be)),N(0x6,O['IMessageService']),N(0x7,a[_0x931b1e(0x1da)](a[_0x931b1e(0xb5)]))],ie);var G=(_0x5bb834=>(_0x5bb834[_0x5bb834[_0x931b1e(0x1a5)]=0x0]=_0x931b1e(0x1a5),_0x5bb834[_0x5bb834['OK']=0x1]='OK',_0x5bb834[_0x5bb834[_0x931b1e(0x249)]=0x2]=_0x931b1e(0x249),_0x5bb834[_0x5bb834['PERMISSION_DENIED']=0x3]=_0x931b1e(0xb8),_0x5bb834[_0x5bb834[_0x931b1e(0x1aa)]=0x4]=_0x931b1e(0x1aa),_0x5bb834[_0x5bb834[_0x931b1e(0x255)]=0x5]=_0x931b1e(0x255),_0x5bb834[_0x5bb834[_0x931b1e(0x1cb)]=0x6]=_0x931b1e(0x1cb),_0x5bb834[_0x5bb834['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5bb834[_0x5bb834[_0x931b1e(0xa1)]=0x8]='TOO_MANY_REQUESTS',_0x5bb834[_0x5bb834['COMPLETION_FINISHED']=0x9]=_0x931b1e(0xde),_0x5bb834[_0x5bb834[_0x931b1e(0xf2)]=0xa]=_0x931b1e(0xf2),_0x5bb834[_0x5bb834['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x931b1e(0x197),_0x5bb834[_0x5bb834['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x931b1e(0x269),_0x5bb834[_0x5bb834[_0x931b1e(0x1b7)]=0xd]=_0x931b1e(0x1b7),_0x5bb834[_0x5bb834[_0x931b1e(0x232)]=0xe]=_0x931b1e(0x232),_0x5bb834[_0x5bb834['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x931b1e(0x1a9),_0x5bb834[_0x5bb834[_0x931b1e(0xec)]=0x10]=_0x931b1e(0xec),_0x5bb834[_0x5bb834['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5bb834[_0x5bb834[_0x931b1e(0xf5)]=0x65]=_0x931b1e(0xf5),_0x5bb834[_0x5bb834['USER_NOT_FOUND']=0xc9]=_0x931b1e(0x186),_0x5bb834[_0x5bb834[_0x931b1e(0x2e1)]=0xca]=_0x931b1e(0x2e1),_0x5bb834[_0x5bb834[_0x931b1e(0x323)]=0x1389]=_0x931b1e(0x323),_0x5bb834[_0x5bb834[_0x931b1e(0xab)]=0x1771]=_0x931b1e(0xab),_0x5bb834[_0x5bb834[_0x931b1e(0x19c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5bb834[_0x5bb834[_0x931b1e(0x22c)]=0x1773]=_0x931b1e(0x22c),_0x5bb834[_0x5bb834['APPLY_REJECT']=0x1b59]=_0x931b1e(0xa7),_0x5bb834[_0x5bb834[_0x931b1e(0x2d0)]=0x1b5a]=_0x931b1e(0x2d0),_0x5bb834[_0x5bb834[_0x931b1e(0x2c4)]=0x1b5b]=_0x931b1e(0x2c4),_0x5bb834[_0x5bb834[_0x931b1e(0xdf)]=0x1b5c]=_0x931b1e(0xdf),_0x5bb834[_0x5bb834['APPLY_DUPLICATED']=0x1b5d]=_0x931b1e(0x19f),_0x5bb834[_0x5bb834['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x931b1e(0x2ce),_0x5bb834[_0x5bb834[_0x931b1e(0x254)]=0x2329]=_0x931b1e(0x254),_0x5bb834[_0x5bb834['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x931b1e(0x29a),_0x5bb834[_0x5bb834['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x931b1e(0x1b1),_0x5bb834[_0x5bb834[_0x931b1e(0x27f)]=0x232c]=_0x931b1e(0x27f),_0x5bb834[_0x5bb834['LICENSE_DISTRO_REJECTED']=0x232d]=_0x931b1e(0x281),_0x5bb834[_0x5bb834['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x931b1e(0x196),_0x5bb834[_0x5bb834['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5bb834[_0x5bb834[_0x931b1e(0x29b)]=0x2713]=_0x931b1e(0x29b),_0x5bb834[_0x5bb834['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5bb834[_0x5bb834['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x931b1e(0x19a),_0x5bb834[_0x5bb834[_0x931b1e(0xdd)]=0x271b]=_0x931b1e(0xdd),_0x5bb834[_0x5bb834['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x931b1e(0x21f),_0x5bb834[_0x5bb834['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x931b1e(0x2be),_0x5bb834[_0x5bb834['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x931b1e(0xd5),_0x5bb834[_0x5bb834[_0x931b1e(0x2f3)]=0x271f]=_0x931b1e(0x2f3),_0x5bb834[_0x5bb834['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x931b1e(0xaa),_0x5bb834[_0x5bb834[_0x931b1e(0x114)]=0x2af9]=_0x931b1e(0x114),_0x5bb834[_0x5bb834[_0x931b1e(0x286)]=0x2ee1]=_0x931b1e(0x286),_0x5bb834[_0x5bb834[_0x931b1e(0x210)]=0x2ee2]=_0x931b1e(0x210),_0x5bb834[_0x5bb834['INVITE_CODE_REQUIRED']=0x2ee3]=_0x931b1e(0x224),_0x5bb834[_0x5bb834['USER_NOT_INVITED_CODE']=0x2ee4]=_0x931b1e(0x32b),_0x5bb834[_0x5bb834[_0x931b1e(0x35e)]=0x2ee5]=_0x931b1e(0x35e),_0x5bb834[_0x5bb834[_0x931b1e(0x138)]=0x32c9]=_0x931b1e(0x138),_0x5bb834[_0x5bb834[_0x931b1e(0x337)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5bb834[_0x5bb834[_0x931b1e(0x222)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5bb834[_0x5bb834[_0x931b1e(0xc1)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5bb834[_0x5bb834[_0x931b1e(0x1ae)]=0x36b2]=_0x931b1e(0x1ae),_0x5bb834[_0x5bb834[_0x931b1e(0x215)]=0x36b3]=_0x931b1e(0x215),_0x5bb834[_0x5bb834[_0x931b1e(0x244)]=0x36b4]=_0x931b1e(0x244),_0x5bb834[_0x5bb834[_0x931b1e(0xe9)]=0x3715]=_0x931b1e(0xe9),_0x5bb834[_0x5bb834[_0x931b1e(0x275)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5bb834[_0x5bb834[_0x931b1e(0xb3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5bb834[_0x5bb834[_0x931b1e(0x1e3)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5bb834[_0x5bb834[_0x931b1e(0x26b)]=0x3a99]=_0x931b1e(0x26b),_0x5bb834[_0x5bb834[_0x931b1e(0x35f)]=0x3a9a]=_0x931b1e(0x35f),_0x5bb834[_0x5bb834[_0x931b1e(0xb9)]=0x3a9b]=_0x931b1e(0xb9),_0x5bb834[_0x5bb834[_0x931b1e(0x1e6)]=0x3a9c]=_0x931b1e(0x1e6),_0x5bb834[_0x5bb834[_0x931b1e(0x1ab)]=0x3a9d]=_0x931b1e(0x1ab),_0x5bb834[_0x5bb834['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x931b1e(0x1bb),_0x5bb834[_0x5bb834[_0x931b1e(0x2f8)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5bb834[_0x5bb834[_0x931b1e(0x11e)]=0x3e81]=_0x931b1e(0x11e),_0x5bb834[_0x5bb834['UNRECOGNIZED']=-0x1]=_0x931b1e(0x28e),_0x5bb834))(G||{});function Jt(_0x252852){const _0x47cff7=_0x931b1e;var _0x339609,_0x1df39c;const _0x514299=(_0x339609=_0x252852['stageInfo'])==null?void 0x0:_0x339609[_0x47cff7(0x1df)],_0x50542c=((_0x1df39c=_0x252852[_0x47cff7(0x314)])==null?void 0x0:_0x1df39c[_0x47cff7(0x211)])||0x0;return _0x514299===B[_0x47cff7(0x2e2)][_0x47cff7(0x21d)]&&_0x50542c>0x0;}function Zt(_0x41f898){const _0x8cadc3=_0x931b1e;return _0x41f898[_0x8cadc3(0x29f)]===B[_0x8cadc3(0x315)][_0x8cadc3(0x2df)];}var Qt=Object['getOwnPropertyDescriptor'],es=(_0x4d4ff0,_0x54626b,_0x54357e,_0x18ef77)=>{const _0x1422f1=_0x931b1e;for(var _0x2686d7=_0x18ef77>0x1?void 0x0:_0x18ef77?Qt(_0x54626b,_0x54357e):_0x54626b,_0x23d3d1=_0x4d4ff0[_0x1422f1(0x180)]-0x1,_0x29c9a7;_0x23d3d1>=0x0;_0x23d3d1--)(_0x29c9a7=_0x4d4ff0[_0x23d3d1])&&(_0x2686d7=_0x29c9a7(_0x2686d7)||_0x2686d7);return _0x2686d7;},L=(_0x59a4b6,_0x6bd0ae)=>(_0x22b039,_0x12246e)=>_0x6bd0ae(_0x22b039,_0x12246e,_0x59a4b6);const ts='/universer-api/license/formula/limit/status',ss=_0x931b1e(0x294),is='/universer-api/license/formula/limit/done';let ne=class extends a['Disposable']{constructor(_0x479bfa,_0x41f5da,_0x294abc,_0x1eb693,_0x12ea96,_0x109e2b,_0x5b6732){const _0x469499=_0x931b1e;super(),_(this,_0x469499(0x129),null),_(this,_0x469499(0xbc),0x0),_(this,'_currentUsage',0x0),_(this,_0x469499(0x1e0),[]),_(this,_0x469499(0x298),0x0),(this[_0x469499(0x1a0)]=_0x479bfa,this[_0x469499(0x108)]=_0x41f5da,this[_0x469499(0x1fd)]=_0x294abc,this[_0x469499(0x247)]=_0x1eb693,this[_0x469499(0x150)]=_0x12ea96,this[_0x469499(0x2d3)]=_0x109e2b,this['_localeService']=_0x5b6732,this[_0x469499(0x2fc)]());}[_0x931b1e(0x2fc)](){const _0x276886=_0x931b1e;this[_0x276886(0x167)](this['_commandService'][_0x276886(0x258)]((_0x1a4db7,_0x4b19e5)=>{const _0x178fdb=_0x276886;var _0x6d6917;if(_0x1a4db7['id']!==B['SetFormulaCalculationStartMutation']['id'])return;const _0x38eb90=_0x1a4db7[_0x178fdb(0x2e4)];if(!this[_0x178fdb(0x1ba)]((_0x6d6917=_0x38eb90[_0x178fdb(0x2ee)])!=null?_0x6d6917:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x178fdb(0x2aa)](_0x1a4db7,_0x4b19e5),this['_showGuardMessage'](),new a[(_0x178fdb(0x122))]();})),this[_0x276886(0x167)](this['_commandService'][_0x276886(0x20b)]((_0x1b41e7,_0x45f2f9)=>{const _0xe6d6bd=_0x276886;if(_0x1b41e7['id']!==B[_0xe6d6bd(0x306)]['id'])return;const _0x4a488e=_0x1b41e7[_0xe6d6bd(0x2e4)];if(Jt(_0x4a488e)){const _0x37a8e4=a[_0xe6d6bd(0x14b)]();this[_0xe6d6bd(0x1e0)][_0xe6d6bd(0x202)](_0x37a8e4),this[_0xe6d6bd(0x24b)](_0x37a8e4);}else{if(Zt(_0x4a488e)&&this[_0xe6d6bd(0x1e0)][_0xe6d6bd(0x180)]>0x0){const _0x18b7c6=this[_0xe6d6bd(0x1e0)][_0xe6d6bd(0x10c)]();this['_releaseCalculationLimit'](_0x18b7c6);}}}));}[_0x931b1e(0x151)](){const _0x3e146c=_0x931b1e;super[_0x3e146c(0x151)](),this[_0x3e146c(0x13b)](),this['_taskIds']=[],this[_0x3e146c(0x1c9)]=0x0,this[_0x3e146c(0xbc)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x931b1e(0x2aa)](_0x3b9d4c,_0x55171e){const _0x303b2e=_0x931b1e;for(let _0x446068=0x0;_0x446068<0x1e;_0x446068++)try{if(await this['_getFormulaLimitStatus'](),this[_0x303b2e(0x1f8)]()){this[_0x303b2e(0x1d4)](_0x3b9d4c,_0x55171e),this['_messageService'][_0x303b2e(0x30b)]({'content':this[_0x303b2e(0xf7)]['t'](_0x303b2e(0x10a)),'type':T['MessageType']['Success']});return;}await new Promise(_0x20b758=>{const _0xafc045=_0x303b2e;this[_0xafc045(0x129)]=window[_0xafc045(0x166)](_0x20b758,0x3e8);});}catch(_0x167fca){this[_0x303b2e(0x2d3)][_0x303b2e(0x1bc)](_0x167fca);}this['_messageService']['show']({'content':this[_0x303b2e(0xf7)]['t'](_0x303b2e(0xce)),'type':T['MessageType'][_0x303b2e(0x31d)]});}[_0x931b1e(0x1d4)](_0xc25b49,_0x49615d){const _0x48f5d2=_0x931b1e;try{this[_0x48f5d2(0x108)]['executeCommand'](_0xc25b49['id'],_0xc25b49['params'],_0x49615d);}catch(_0x33701b){this['_logService'][_0x48f5d2(0x1bc)](_0x33701b);}}['_setFormulaLimitStatus'](_0x27beee,_0x153b30){const _0x5c122b=_0x931b1e;_0x153b30<this[_0x5c122b(0x298)]||(this[_0x5c122b(0x298)]=_0x153b30,this[_0x5c122b(0xbc)]=Number[_0x5c122b(0x179)](_0x27beee[_0x5c122b(0xf6)]),this[_0x5c122b(0x1c9)]=Number[_0x5c122b(0x179)](_0x27beee[_0x5c122b(0x343)]));}async[_0x931b1e(0x24b)](_0x1dd61c){const _0x2150f5=_0x931b1e;var _0x4b5bf2,_0x4d451c;const _0xf13e7b=Date[_0x2150f5(0x2ec)]();try{const _0xd87d81=((_0x4b5bf2=this['_configService'][_0x2150f5(0x185)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4b5bf2[_0x2150f5(0x139)])||ss,_0xd05f10=(await this[_0x2150f5(0x247)][_0x2150f5(0xa6)](_0xd87d81,{'body':JSON[_0x2150f5(0x2f0)]({'taskId':_0x1dd61c})}))[_0x2150f5(0x30c)];if(((_0x4d451c=_0xd05f10[_0x2150f5(0x1bc)])==null?void 0x0:_0x4d451c['code'])!==G['OK'])return;this[_0x2150f5(0x1d7)](_0xd05f10[_0x2150f5(0x2f6)],_0xf13e7b);}catch(_0x56b3f8){this[_0x2150f5(0x2d3)][_0x2150f5(0x1bc)](_0x56b3f8);}}async[_0x931b1e(0x119)](_0x2f760f){const _0x586352=_0x931b1e;var _0xc68c3b,_0x52cbcd;const _0x382896=Date['now']();try{const _0x57c140=((_0xc68c3b=this[_0x586352(0x1fd)][_0x586352(0x185)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xc68c3b['getformulaLimitStatusUrl'])||ts,_0x52db44=_0x2f760f?_0x57c140+_0x586352(0x1d8)+encodeURIComponent(_0x2f760f):_0x57c140,_0x316b53=(await this[_0x586352(0x247)][_0x586352(0x25b)](_0x52db44))[_0x586352(0x30c)];if(((_0x52cbcd=_0x316b53[_0x586352(0x1bc)])==null?void 0x0:_0x52cbcd[_0x586352(0x225)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x316b53[_0x586352(0x2f6)],_0x382896);}catch(_0x423a87){this[_0x586352(0x2d3)]['error'](_0x423a87);}}async[_0x931b1e(0x34d)](_0x2c593e){const _0x595951=_0x931b1e;var _0x288a07,_0x4f3785;const _0x3bbf80=Date[_0x595951(0x2ec)]();try{const _0x159200=((_0x288a07=this[_0x595951(0x1fd)]['getConfig'](u[_0x595951(0x149)]))==null?void 0x0:_0x288a07[_0x595951(0x183)])||is,_0x6b3366=(await this[_0x595951(0x247)][_0x595951(0xa6)](_0x159200,{'body':JSON[_0x595951(0x2f0)]({'taskId':_0x2c593e})}))[_0x595951(0x30c)];if(((_0x4f3785=_0x6b3366[_0x595951(0x1bc)])==null?void 0x0:_0x4f3785[_0x595951(0x225)])!==G['OK'])return;this[_0x595951(0x1d7)](_0x6b3366[_0x595951(0x2f6)],_0x3bbf80);}catch(_0x54eabc){this[_0x595951(0x2d3)][_0x595951(0x1bc)](_0x54eabc);}}[_0x931b1e(0x1f8)](){const _0x15b339=_0x931b1e;return this[_0x15b339(0xbc)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x931b1e(0x13b)](){const _0x1c235a=_0x931b1e;this[_0x1c235a(0x129)]&&(clearTimeout(this[_0x1c235a(0x129)]),this[_0x1c235a(0x129)]=null);}[_0x931b1e(0x218)](){const _0x3209d6=_0x931b1e;this[_0x3209d6(0x1a0)][_0x3209d6(0x30b)]({'content':this[_0x3209d6(0xf7)]['t'](_0x3209d6(0x290)),'type':T[_0x3209d6(0x134)][_0x3209d6(0x31e)]});}['_hasFormulaInDirtyRanges'](_0x552b3e){const _0x316590=_0x931b1e;for(const _0x5d2ec8 of _0x552b3e){const {unitId:_0x7e329f,sheetId:_0x5e5208,range:_0x241227}=_0x5d2ec8,_0x5481c3=this[_0x316590(0x150)]['getUnit'](_0x7e329f);if(!_0x5481c3)continue;const _0x1a3e59=_0x5481c3['getSheetBySheetId'](_0x5e5208);if(!_0x1a3e59)continue;const _0x2b6e9b=_0x1a3e59[_0x316590(0x356)]();for(let _0x2cdf5f=_0x241227[_0x316590(0x2e0)];_0x2cdf5f<=_0x241227[_0x316590(0x317)];_0x2cdf5f++)for(let _0x469421=_0x241227[_0x316590(0x2b5)];_0x469421<=_0x241227['endColumn'];_0x469421++){const _0x1a1f9c=_0x2b6e9b[_0x316590(0x33a)](_0x2cdf5f,_0x469421);if(_0x1a1f9c&&(a[_0x316590(0x10d)](_0x1a1f9c['f'])||a[_0x316590(0xa0)](_0x1a1f9c['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x931b1e(0x1da)](O[_0x931b1e(0x14d)])),L(0x1,a['ICommandService']),L(0x2,a[_0x931b1e(0x20d)]),L(0x3,a[_0x931b1e(0x1da)](x[_0x931b1e(0x15b)])),L(0x4,a[_0x931b1e(0x1d0)]),L(0x5,a[_0x931b1e(0x9e)]),L(0x6,a[_0x931b1e(0x1da)](a[_0x931b1e(0xb5)]))],ne);var ns=Object[_0x931b1e(0x304)],rs=(_0x53ac8b,_0x2ce637,_0x4f1fac,_0x1c7978)=>{const _0x233f2c=_0x931b1e;for(var _0x14562b=_0x1c7978>0x1?void 0x0:_0x1c7978?ns(_0x2ce637,_0x4f1fac):_0x2ce637,_0x385cf6=_0x53ac8b[_0x233f2c(0x180)]-0x1,_0x2feafb;_0x385cf6>=0x0;_0x385cf6--)(_0x2feafb=_0x53ac8b[_0x385cf6])&&(_0x14562b=_0x2feafb(_0x14562b)||_0x14562b);return _0x14562b;},de=(_0x2c68ae,_0x3266c6)=>(_0x501c71,_0x2c4865)=>_0x3266c6(_0x501c71,_0x2c4865,_0x2c68ae);let pe=class extends a['Disposable']{constructor(_0x577a14,_0x300baf,_0x27d2d2){const _0x193acc=_0x931b1e;super(),_(this,'_cachedData',new Map()),_(this,_0x193acc(0x192),new Map()),_(this,'_disabled',!0x1),(this[_0x193acc(0x1fd)]=_0x577a14,this[_0x193acc(0x369)]=_0x300baf,this[_0x193acc(0xb2)]=_0x27d2d2);}[_0x931b1e(0xe2)](){const _0x3e0719=_0x931b1e;this[_0x3e0719(0x184)]=!0x0;}[_0x931b1e(0x9f)](){const _0x45770c=_0x931b1e;this[_0x45770c(0x184)]=!0x1;}get[_0x931b1e(0x106)](){const _0x1454ab=_0x931b1e;return this[_0x1454ab(0x192)];}[_0x931b1e(0x151)](){const _0x5c7cf9=_0x931b1e;this[_0x5c7cf9(0x2b4)]()[_0x5c7cf9(0xfc)](()=>super[_0x5c7cf9(0x151)]());}async[_0x931b1e(0xb1)](_0x5b391e){const _0x2fbfa2=_0x931b1e;return this[_0x2fbfa2(0x184)]?null:this[_0x2fbfa2(0x369)][_0x2fbfa2(0xf1)](u['getLocalCacheKey'](_0x5b391e));}async[_0x931b1e(0x257)](_0x2c4878,_0x27d19c){const _0x22c2ca=_0x931b1e;return!!this[_0x22c2ca(0x369)][_0x22c2ca(0x213)](_0x2c4878,_0x27d19c);}['updateOfflineData'](_0x21feec,_0x1e274f,_0x4de97f,_0x13d6a3){const _0x3a7852=_0x931b1e,_0x294267=this['_revisionService'][_0x3a7852(0x170)](_0x21feec);this[_0x3a7852(0x33e)][_0x3a7852(0x303)](_0x21feec,{'unitID':_0x21feec,'type':_0x1e274f,'awaitingChangeset':_0x4de97f,'mutations':_0x13d6a3,'rev':_0x294267}),this[_0x3a7852(0x192)][_0x3a7852(0x264)](_0x21feec)||this['_scheduleSaving'](_0x21feec);}[_0x931b1e(0x145)](_0x10ef0c){const _0x41ab9e=_0x931b1e,_0x3d7856=this[_0x41ab9e(0x25f)]();_0x3d7856===0x0?this['_saveCache'](_0x10ef0c):this[_0x41ab9e(0x192)][_0x41ab9e(0x303)](_0x10ef0c,setTimeout(()=>this['_saveCache'](_0x10ef0c),_0x3d7856));}[_0x931b1e(0x25f)](){const _0x4b6eb4=_0x931b1e;var _0xe3813b;return(_0xe3813b=this['_configService'][_0x4b6eb4(0x185)](u[_0x4b6eb4(0x1cc)]))!=null?_0xe3813b:u['LOCAL_CACHE_INTERVAL'];}[_0x931b1e(0x263)](_0x21e16d){const _0x11a078=_0x931b1e,_0x56e6d1=this[_0x11a078(0x192)][_0x11a078(0x25b)](_0x21e16d);return _0x56e6d1!==void 0x0&&window[_0x11a078(0x12f)](_0x56e6d1),this[_0x11a078(0x369)][_0x11a078(0x213)](u[_0x11a078(0x25c)](_0x21e16d),this['_cachedData']['get'](_0x21e16d))[_0x11a078(0xfc)](()=>this[_0x11a078(0x192)]['delete'](_0x21e16d));}async[_0x931b1e(0x2b4)](){const _0x1da868=_0x931b1e,_0x4e94d2=[];this['_saveTaskMap'][_0x1da868(0x1d5)]((_0x570bdb,_0x1fea02)=>{const _0x28da92=_0x1da868;window[_0x28da92(0x12f)](_0x570bdb),_0x4e94d2[_0x28da92(0x202)](this[_0x28da92(0x263)](_0x1fea02)[_0x28da92(0xfc)](()=>{const _0x5debe0=_0x28da92;this[_0x5debe0(0x192)][_0x5debe0(0xf4)](_0x1fea02);}));}),await Promise['all'](_0x4e94d2);}};pe=rs([de(0x0,a[_0x931b1e(0x20d)]),de(0x1,a[_0x931b1e(0x1e1)]),de(0x2,a['Inject'](g['RevisionService']))],pe);class ke extends a[_0x931b1e(0x29e)]{constructor(){const _0x435db9=_0x931b1e;super(),_(this,_0x435db9(0x248)),this[_0x435db9(0x248)]=I[_0x435db9(0x1fe)](window,'popstate')[_0x435db9(0x154)](I[_0x435db9(0x17a)](this[_0x435db9(0x20a)]),I['shareReplay'](0x1),I[_0x435db9(0x1ac)](void 0x0));}[_0x931b1e(0x331)](_0x2c4380,_0x159ca4,_0x183d58=!0x1){const _0x145bf4=_0x931b1e,_0x51e0f6=new URL(window[_0x145bf4(0xf3)][_0x145bf4(0x1cd)]);_0x51e0f6[_0x145bf4(0x23b)][_0x145bf4(0x303)](_0x2c4380,_0x159ca4),_0x183d58?window[_0x145bf4(0x16a)][_0x145bf4(0x13a)]('','',_0x51e0f6[_0x145bf4(0x328)]()):window[_0x145bf4(0x16a)]['pushState']('','',_0x51e0f6['toString']());}[_0x931b1e(0x15a)](_0x534b6b,_0x1d8714=!0x1){const _0x5f3ede=_0x931b1e,_0x12d15e=new URL(window[_0x5f3ede(0xf3)]['href']);_0x12d15e['searchParams']['delete'](_0x534b6b),_0x1d8714?window['history'][_0x5f3ede(0x13a)]('','',_0x12d15e['toString']()):window[_0x5f3ede(0x16a)][_0x5f3ede(0x25e)]('','',_0x12d15e['toString']());}['getParam'](_0x3f7250){const _0x5505d4=_0x931b1e;var _0xeb1e36;return(_0xeb1e36=new URL(window[_0x5505d4(0xf3)][_0x5505d4(0x1cd)])[_0x5505d4(0x23b)][_0x5505d4(0x25b)](_0x3f7250))!=null?_0xeb1e36:void 0x0;}}var os=Object[_0x931b1e(0x109)],as=Object['getOwnPropertyDescriptor'],cs=(_0x2ba16,_0x148d07,_0x14bd68)=>_0x148d07 in _0x2ba16?os(_0x2ba16,_0x148d07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14bd68}):_0x2ba16[_0x148d07]=_0x14bd68,ls=(_0x4a5c1a,_0x5585cb,_0x1bcb06,_0x108c11)=>{const _0x1496ab=_0x931b1e;for(var _0x344764=_0x108c11>0x1?void 0x0:_0x108c11?as(_0x5585cb,_0x1bcb06):_0x5585cb,_0x405f73=_0x4a5c1a[_0x1496ab(0x180)]-0x1,_0x4ec548;_0x405f73>=0x0;_0x405f73--)(_0x4ec548=_0x4a5c1a[_0x405f73])&&(_0x344764=_0x4ec548(_0x344764)||_0x344764);return _0x344764;},Se=(_0x180fcc,_0x316e1d)=>(_0x42b645,_0x339038)=>_0x316e1d(_0x42b645,_0x339038,_0x180fcc),_s=(_0x405529,_0x28f1fe,_0x174afb)=>cs(_0x405529,_0x28f1fe+'',_0x174afb);const hs=_0x931b1e(0xd6);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x15f895=Me,_0x47a5c3,_0x567e04,_0x409f18){const _0x145f72=_0x931b1e;super(),this[_0x145f72(0x296)]=_0x15f895,this[_0x145f72(0x18e)]=_0x47a5c3,this['_injector']=_0x567e04,this['_configService']=_0x409f18;const {..._0x47cd2b}=a[_0x145f72(0x2ae)]({},Me,this[_0x145f72(0x296)]);this['_configService']['setConfig'](Yt,_0x47cd2b);}[_0x931b1e(0x2f4)](){const _0x5260af=_0x931b1e;this[_0x5260af(0x1c6)](),this['_initDependencies']();}[_0x931b1e(0x1bf)](){const _0x197cc8=_0x931b1e;this[_0x197cc8(0xdc)]();}['_registerDependencies'](){const _0x407aba=_0x931b1e;var _0x2f18d9;const _0x3f822e=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x407aba(0x135)],{'useClass':x[_0x407aba(0xeb)]}],[u[_0x407aba(0x15c)],{'useClass':pe}],[exports['DesktopCollaborationStatusDisplayController']],[ie],[Z],[F],[me],[exports[_0x407aba(0x2ad)]]];this[_0x407aba(0x296)][_0x407aba(0x2ca)]&&_0x3f822e['push']([Q]),a['registerDependencies'](this[_0x407aba(0x251)],a[_0x407aba(0x126)](_0x3f822e,(_0x2f18d9=this[_0x407aba(0x296)])==null?void 0x0:_0x2f18d9[_0x407aba(0x228)]));}[_0x931b1e(0xdc)](){const _0x2b878e=_0x931b1e;this[_0x2b878e(0x167)](this[_0x2b878e(0x18e)][_0x2b878e(0xf0)](a[_0x2b878e(0x2fe)][_0x2b878e(0x2e8)],[Ee])),this[_0x2b878e(0x167)](this[_0x2b878e(0x18e)][_0x2b878e(0xf0)](a[_0x2b878e(0x2fe)][_0x2b878e(0xc4)],[Ce]));}['_initDependencies'](){const _0x5ed729=_0x931b1e;a[_0x5ed729(0x1e4)](this[_0x5ed729(0x251)],[[F],[exports[_0x5ed729(0x265)]],[ie],[Z],[exports[_0x5ed729(0x2ad)]],[ne]]),this['_config'][_0x5ed729(0x2ca)]&&a['touchDependencies'](this[_0x5ed729(0x251)],[[Q]]);}},_s(exports[_0x931b1e(0x203)],'pluginName',hs),exports[_0x931b1e(0x203)]=ls([a[_0x931b1e(0x1f3)](u['UniverCollaborationClientPlugin']),Se(0x1,C[_0x931b1e(0x171)]),Se(0x2,a[_0x931b1e(0x1da)](a[_0x931b1e(0x189)])),Se(0x3,a[_0x931b1e(0x20d)])],exports[_0x931b1e(0x203)]);var us=Object[_0x931b1e(0x304)],Is=(_0x253749,_0x14a399,_0x3ed91c,_0x53447f)=>{const _0x1221d5=_0x931b1e;for(var _0x336dd8=_0x53447f>0x1?void 0x0:_0x53447f?us(_0x14a399,_0x3ed91c):_0x14a399,_0x1641a1=_0x253749[_0x1221d5(0x180)]-0x1,_0xb694b3;_0x1641a1>=0x0;_0x1641a1--)(_0xb694b3=_0x253749[_0x1641a1])&&(_0x336dd8=_0xb694b3(_0x336dd8)||_0x336dd8);return _0x336dd8;},W=(_0x3cddde,_0x55f17c)=>(_0x43ce01,_0x354289)=>_0x55f17c(_0x43ce01,_0x354289,_0x3cddde);exports[_0x931b1e(0xe3)]=class extends u[_0x931b1e(0x18f)]{constructor(_0x30ab8e,_0x31a052,_0x31d975,_0xcd4fcd,_0x53e904){super(_0x30ab8e,_0x31a052,_0x31d975,_0xcd4fcd,_0x53e904);}async[_0x931b1e(0x2b0)](_0x11a8d1){const _0x3a1480=_0x931b1e,_0x53d034=await this[_0x3a1480(0x332)](),_0x2318a7=this['_createSocketURL'](_0x11a8d1,_0x53d034);return this['_doCreateSocket'](_0x2318a7);}[_0x931b1e(0x226)](_0x1142a0,_0x171ab5){const _0x19924e=_0x931b1e,_0x40566c=typeof window>'u'?new URL(_0x1142a0):new URL(_0x1142a0,window[_0x19924e(0xf3)]['origin']);_0x40566c[_0x19924e(0x23b)][_0x19924e(0x303)](_0x19924e(0x125),_0x171ab5);const _0x1fe067=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1fe067[_0x19924e(0x25b)](_0x19924e(0x206))&&_0x40566c[_0x19924e(0x23b)][_0x19924e(0x303)](_0x19924e(0x206),_0x1fe067[_0x19924e(0x25b)]('runId')),_0x40566c[_0x19924e(0x328)]();}async[_0x931b1e(0x332)](){const _0x4fe09a=_0x931b1e;var _0xf102d1,_0x55713f,_0x452893;const _0x312ebb=this[_0x4fe09a(0x1fd)][_0x4fe09a(0x185)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x528936=(_0xf102d1=_0x312ebb==null?void 0x0:_0x312ebb[_0x4fe09a(0x2a9)])!=null?_0xf102d1:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x452893=(_0x55713f=(await this[_0x4fe09a(0x247)][_0x4fe09a(0x25b)](_0x528936,{'headers':{'Content-Type':_0x4fe09a(0x15e)}}))[_0x4fe09a(0x30c)])==null?void 0x0:_0x55713f[_0x4fe09a(0x268)])!=null?_0x452893:'';}},exports[_0x931b1e(0xe3)]=Is([W(0x0,a['Inject'](a[_0x931b1e(0x189)])),W(0x1,a[_0x931b1e(0x1da)](x['HTTPService'])),W(0x2,a[_0x931b1e(0x20d)]),W(0x3,a['ILogService']),W(0x4,g['ISnapshotServerService'])],exports[_0x931b1e(0xe3)]);var ds=Object[_0x931b1e(0x304)],Ss=(_0x1e0a8d,_0x2ab573,_0x392eac,_0x51118f)=>{const _0x1a9bb9=_0x931b1e;for(var _0x583c93=_0x51118f>0x1?void 0x0:_0x51118f?ds(_0x2ab573,_0x392eac):_0x2ab573,_0x3dc4ea=_0x1e0a8d[_0x1a9bb9(0x180)]-0x1,_0x41657a;_0x3dc4ea>=0x0;_0x3dc4ea--)(_0x41657a=_0x1e0a8d[_0x3dc4ea])&&(_0x583c93=_0x41657a(_0x583c93)||_0x583c93);return _0x583c93;},fe=(_0x3627ce,_0x3e7291)=>(_0x15034c,_0x4be8a5)=>_0x3e7291(_0x15034c,_0x4be8a5,_0x3627ce);exports[_0x931b1e(0x272)]=class extends a[_0x931b1e(0x22d)]{constructor(_0x43c093,_0x2867b2,_0x3e62f3){const _0x146b67=_0x931b1e;super(),this[_0x146b67(0xba)]=_0x43c093,this[_0x146b67(0x247)]=_0x2867b2,this['_configService']=_0x3e62f3;}async[_0x931b1e(0x287)](_0x53721d,_0x4696de,_0x2b8b2a,..._0x442565){const _0x4693f3=_0x931b1e;var _0x1bb400,_0x36e71e,_0x26adf8,_0x13c7ff;const _0x5afc56=this[_0x4693f3(0xba)][_0x4693f3(0x237)]();if(!_0x5afc56)throw new Error(_0x4693f3(0x2c0));const _0x4748ad=((_0x1bb400=this['_configService'][_0x4693f3(0x185)](u[_0x4693f3(0x113)]))!=null?_0x1bb400:u[_0x4693f3(0x340)])+'/'+_0x53721d+_0x4693f3(0x256)+_0x4696de,_0x40ca67=new URL(window[_0x4693f3(0xf3)][_0x4693f3(0x1cd)]),_0x29b11f={'scriptId':_0x53721d,'runId':(_0x36e71e=_0x40ca67[_0x4693f3(0x23b)][_0x4693f3(0x25b)](_0x4693f3(0x206)))!=null?_0x36e71e:'','function':_0x4696de,'unitId':_0x5afc56[_0x4693f3(0x25a)](),'argsOfFunction':JSON['stringify'](_0x442565),'invokeId':(_0x26adf8=_0x2b8b2a[_0x4693f3(0x245)])!=null?_0x26adf8:'','executionId':(_0x13c7ff=_0x2b8b2a['executionId'])!=null?_0x13c7ff:''};try{const _0x303d06=await this['_httpService'][_0x4693f3(0xa6)](_0x4748ad,{'body':_0x29b11f});return _0x303d06[_0x4693f3(0x30c)][_0x4693f3(0x1bc)]&&_0x303d06['body'][_0x4693f3(0x1bc)][_0x4693f3(0x225)]!==G['OK']?'Failed':_0x303d06[_0x4693f3(0x30c)]['result'];}catch{return'Failed';}}},exports['RemoteUniscriptService']=Ss([fe(0x0,a['IUniverInstanceService']),fe(0x1,a[_0x931b1e(0x1da)](x[_0x931b1e(0x15b)])),fe(0x2,a[_0x931b1e(0x20d)])],exports[_0x931b1e(0x272)]);const we=0x7530,ye=_0x931b1e(0x316);class fs extends a['Disposable']{constructor(){const _0x387ca3=_0x931b1e;super(),_(this,_0x387ca3(0x33d),a['generateRandomId']()),_(this,_0x387ca3(0x24c),new Set()),_(this,_0x387ca3(0x12d),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x387ca3(0x137),new Map()),_(this,_0x387ca3(0xa4),new Map()),this['_init']();}[_0x931b1e(0x151)](){const _0x55297a=_0x931b1e;super[_0x55297a(0x151)](),this[_0x55297a(0x137)][_0x55297a(0x1d5)]((_0x50d559,_0x57f3ea)=>this[_0x55297a(0x2d4)](_0x57f3ea)),this[_0x55297a(0x115)]&&window[_0x55297a(0x322)](this['_heartbeatTimer']);}[_0x931b1e(0x1b3)](_0xaf8dc1){const _0x5b0bde=_0x931b1e;return this[_0x5b0bde(0x1f1)](_0xaf8dc1)[_0x5b0bde(0x154)](I[_0x5b0bde(0x236)]());}[_0x931b1e(0x116)](_0x4499e9){const _0x155290=_0x931b1e;this[_0x155290(0x24c)][_0x155290(0x1b2)]===0x0&&this[_0x155290(0x302)](),this[_0x155290(0x24c)][_0x155290(0x28f)](_0x4499e9),this[_0x155290(0x270)]({'type':0x0,'memberID':this[_0x155290(0x33d)],'unitIDs':[_0x4499e9],'isForwarded':!0x1});}[_0x931b1e(0x27c)](_0x7b64f0){const _0x2fa271=_0x931b1e;this[_0x2fa271(0x24c)]['delete'](_0x7b64f0),this[_0x2fa271(0x24c)][_0x2fa271(0x1b2)]===0x0&&this[_0x2fa271(0x115)]&&window[_0x2fa271(0x322)](this['_heartbeatTimer']);}[_0x931b1e(0xb0)](){const _0x443522=_0x931b1e;this[_0x443522(0x167)](a[_0x443522(0x1e9)](I[_0x443522(0x1fe)](window,_0x443522(0x2b2))[_0x443522(0x143)](_0x5fcf77=>{const _0x40b70d=_0x443522;if(_0x5fcf77[_0x40b70d(0x12e)]!==ye||!_0x5fcf77[_0x40b70d(0x355)])return;const _0x525407=JSON[_0x40b70d(0x246)](_0x5fcf77['newValue']);this[_0x40b70d(0xd8)](_0x525407);}))),window['addEventListener'](_0x443522(0x1db),()=>this[_0x443522(0x270)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x443522(0x104)](this[_0x443522(0x24c)])}));}[_0x931b1e(0xd8)](_0x2a299c){const _0x41cf66=_0x931b1e;switch(_0x2a299c[_0x41cf66(0x175)]){case 0x0:this[_0x41cf66(0x27d)](_0x2a299c);break;case 0x1:this[_0x41cf66(0x1c4)](_0x2a299c);break;case 0x2:this[_0x41cf66(0x2ef)](_0x2a299c);break;}}[_0x931b1e(0x27d)](_0x509ed8){const _0x14ba73=_0x931b1e,{unitIDs:_0x2a2de6,memberID:_0x2e4a7a,isForwarded:_0x2decb7}=_0x509ed8;_0x2a2de6[_0x14ba73(0x1d5)](_0x5ea4d7=>{const _0x3ec00c=_0x14ba73;if(!_0x2decb7&&this[_0x3ec00c(0x12d)][_0x3ec00c(0x264)](_0x5ea4d7)&&this[_0x3ec00c(0x1f1)](_0x5ea4d7)[_0x3ec00c(0x194)](u[_0x3ec00c(0x274)][_0x3ec00c(0x14a)]),!this[_0x3ec00c(0x12d)][_0x3ec00c(0x264)](_0x5ea4d7)||!this[_0x3ec00c(0x12d)]['get'](_0x5ea4d7)[_0x3ec00c(0x264)](_0x2e4a7a)){const _0x5406a7=this[_0x3ec00c(0x12d)][_0x3ec00c(0x25b)](_0x5ea4d7)||new Set();_0x5406a7['add'](_0x2e4a7a),this[_0x3ec00c(0x12d)][_0x3ec00c(0x303)](_0x5ea4d7,_0x5406a7),this[_0x3ec00c(0x2da)](_0x2e4a7a);}}),_0x2decb7||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x14ba73(0x24c)]],'isForwarded':!0x0});}[_0x931b1e(0x2da)](_0x2b2c84){const _0x5bc5cf=_0x931b1e;this[_0x5bc5cf(0x2d4)](_0x2b2c84);const _0x5e1f6a=window[_0x5bc5cf(0x166)](()=>{const _0x1d6a5e=_0x5bc5cf;this[_0x1d6a5e(0x12d)][_0x1d6a5e(0x1d5)](_0x3ec2de=>{const _0x135576=_0x1d6a5e;_0x3ec2de[_0x135576(0xf4)](_0x2b2c84);});},we*0x2);this[_0x5bc5cf(0x137)][_0x5bc5cf(0x303)](_0x2b2c84,_0x5e1f6a);}[_0x931b1e(0x2d4)](_0x5f6218){const _0x1ebb9f=_0x931b1e;if(this[_0x1ebb9f(0x137)][_0x1ebb9f(0x264)](_0x5f6218)){const _0x3dddf9=this[_0x1ebb9f(0x137)][_0x1ebb9f(0x25b)](_0x5f6218);_0x3dddf9&&window[_0x1ebb9f(0x12f)](_0x3dddf9),this[_0x1ebb9f(0x137)][_0x1ebb9f(0x303)](_0x5f6218,null);}}[_0x931b1e(0x1c4)](_0x1cacb2){const _0x19a2f0=_0x931b1e,{memberID:_0x1e63ff,unitIDs:_0x48f6f3}=_0x1cacb2;_0x48f6f3[_0x19a2f0(0x1d5)](_0x2dbafe=>{const _0x50c535=_0x19a2f0;var _0x1753d2;const _0x1a7f38=this[_0x50c535(0x12d)][_0x50c535(0x25b)](_0x2dbafe);_0x1a7f38&&(_0x1a7f38[_0x50c535(0xf4)](_0x1e63ff),(_0x1753d2=this[_0x50c535(0x1f1)](_0x2dbafe))==null||_0x1753d2['next'](_0x1a7f38[_0x50c535(0x1b2)]===0x0?u['UnitStatus'][_0x50c535(0x1a6)]:u['UnitStatus'][_0x50c535(0x14a)]));}),this[_0x19a2f0(0x2d4)](_0x1e63ff);}[_0x931b1e(0x2ef)](_0x44a090){const _0x53f4e9=_0x931b1e;this[_0x53f4e9(0x2da)](_0x44a090[_0x53f4e9(0x12c)]);}[_0x931b1e(0x270)](_0x2cdb68){const _0x589d06=_0x931b1e;localStorage[_0x589d06(0x213)](ye,JSON['stringify'](_0x2cdb68));}['_scheduleHeartbeat'](){const _0x28f8e6=_0x931b1e;this['_heartbeatTimer']=window[_0x28f8e6(0x1c3)](()=>{const _0x14b806=_0x28f8e6;this[_0x14b806(0x270)]({'type':0x2,'memberID':this['_id']});},we);}['_ensureSubject'](_0xa4ebca){const _0x5d283e=_0x931b1e;return this[_0x5d283e(0xa4)]['has'](_0xa4ebca)||this[_0x5d283e(0xa4)]['set'](_0xa4ebca,new I[(_0x5d283e(0x346))](u[_0x5d283e(0x274)][_0x5d283e(0x1a6)])),this[_0x5d283e(0xa4)][_0x5d283e(0x25b)](_0xa4ebca);}}function _0x1264(){const _0x4ece3f=['_selfUnitIDs','_cursorInfo$','_getSheetObject','color','currentColor','_injector','handleMoveRange','HEADER_MENU','LICENSE_MAX_UNITS_EXCEEDED','UNAUTHENTICATED','/run/','saveOfflineData','beforeCommandExecuted','getCollabCursors$','getUnitId','get','getLocalCacheKey','complete','pushState','_getSaveTimeout','message','unitID','blue.400','_saveCache','has','DesktopCollaborationStatusDisplayController','_beforeCloseService','10FxPGkU','ticket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleDeleteRangeMoveLeft','REDEMPTION_INVALID_CODE','socket$','CONFLICT','text','_initUserListener','_send','_roomMembers$','RemoteUniscriptService','InsertRangeMoveRightCommandId','UnitStatus','ENTITLE_REPORT_LIMIT_EXCEED','debounce','name','_monkeyPatchLogService','MemberService','isTransformMutationsWithChangesetSuccess','48OChsdu','disposeUnit','_handleJoinEvent','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','_color','LICENSE_DISTRO_REJECTED','USERS_LEAVE','collaboration-client.offline-data-not-saved','xlink:href','handleInsertRow','INVITE_CODE_HAS_BEEN_UES','runOnServer','SessionStatus','syncEditingCollabCursor','on-line-icon_clip0_910_349','makeDirty','createInstance','string','UNRECOGNIZED','add','formula.calculation.waiting','EffectRefRangId','getParam','OffLineIcon','/universer-api/license/formula/limit/start','CollaborationEvent','_config','WebBrowserSingleActiveUnitService','_lastResponseTimestamp','_initStatusListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_RATE_OVER_LIMIT','fromEventSubject','0\x200\x2016\x2016','RxDisposable','functionsExecutedState','createElement','handleIRemoveCol','CollaborationUIEventId','_transformHistoryAndStateStack','handleInsertCol','getAncestorScale','1604pbQnRI','unshift','getSheetObject','wsSessionTicketUrl','_checkAndWaitForCalculationPermission','green.600','SHEET_VIEWPORT_KEY','CollaborationDataLoaderController','merge','getUndoRedoMutationParamsCache','createSocket','collaboration-client-ui.config','storage','RichTextEditingMutation','exhaustSavingTask','startColumn','forwardRef','children','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','getSheetId','_memberService','_session','undoState','with','YUUMI_ALL_TABLES_IS_INVALID','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','debounceTime','collabStatus.synced','APPLY_REVISION_CONFILICT','random','collab-client.tooltip.reconnect','_updateSubUnitFromURLParams','_scene','handleIRemoveRow','enableFrontendLog','_initEvent','InsertColCommandId','uni.network.url-service','CONNECTOR_DATA_TOO_LARGE','sheetID','APPLY_NON_SEQUENTIAL_REVISION','connectInjector','max','_logService','_removeClearOtherTimer','colorChannel1','combineLatest','measureText','SetTextSelectionsOperation','round','_scheduleClearOtherTimer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','useDependency','jsx','session.collaboration-timeout','SUCCESS','startRow','USER_IS_ANONYMOUS','FormulaExecuteStageType','getMember','params','OTHER_CLIENT_EDITING','Vector2','currentSkeleton$','UNIVER_DOC','collaboration.single-unit.warning','split','DocSelectionManagerService','now','_syncEditingCollabCursorService','dirtyRanges','_handleHeartbeatEvent','stringify','M0\x200H16V16H0z','purple.300','YUUMI_AI_RUN_FAILED','onStarting','find','limitInfo','_initWindowErrorListener','REDEMPTION_CODE_HAS_BEEN_CREATED','selection','addClipboardHook','_collaborationController','_initCommandInterceptor','toRgbString','UniverInstanceType','NodePositionConvertToRectRange','registerComponent','status$','_scheduleHeartbeat','set','getOwnPropertyDescriptor','useRef','SetFormulaCalculationNotificationMutation','evenodd','some','transformRemoteChangeset','getCollabEntity$','show','body','getCurrentUnitForType','closePath','session.connection-failed','_cursor','translate(.97)','catch','values','stageInfo','FormulaExecutedStateType','ACTIVE_UNIT_EVENT_CHANNEL','endRow','triggerDblclick','runRefRangeMutations','getMemberID','CollaborationController','RefRangeService','Error','Loading','_hovered','onMouseMove','_collabCursorState$','clearInterval','CHANGESET_REVISION_CONFILICT','_drawTextRange','_initStatusComponent','useCallback','url(#$1','toString','_entities','FETCH_MISS','USER_NOT_INVITED_CODE','_initResize','_updateLocalCursor','focused$','docStateChange$','setShapeProps','setParam','_getSessionTicket','CollaborationSessionService','_anchorDot','isArray','RECT','MOBILE_HAS_BEEN_BOUND','JOIN_ROOM_FAILED','collaboration.closeRoom','getValue','_sheetSkeletonManagerService','subscribeEvent','_id','_cachedData','sessionStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','top','...','currentUsage','redoState','_assignedColors','BehaviorSubject','lineno','getColorFromTheme','_context','1em','lineTo','_backgroundColor','_releaseCalculationLimit','throttleTime','_docTransformIMECacheService','getSkeleton','_eventUnsubscribe','_collaborationUIEventService','_labelPosition','_drawAnchor','newValue','getCellMatrix','handleInsertRangeMoveDown','fillRule','skeleton','CLOSE_ROOM','AWAITING_WITH_PENDING','SetSelectionsOperation','filter','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_INACTIVE','_uploadLog','Workbook','_collabCursorController','onTransformChange$','_initUnhandledRejectionListener','InsertRowCommandId','_anchor','isActive','deserializeRangeWithSheet','_localStorageService','SheetsSelectionsService','ILogService','enableLocalCache','isFormulaId','TOO_MANY_REQUESTS','NOT_COLLAB','rgba(255,\x20255,\x20255,\x200.01)','_unitStatus','DocStateChangeManagerService','post','APPLY_REJECT','Warning','MUTATION','YUUMI_CONNECTOR_URL_NOT_FOUND','SNAPSHOT_INVALID_SNAPSHOT','CollaborationUIEventService','_colorIndex','fillStyle','entityInit$','_init','loadOfflineData','_revisionService','ENTITLE_INSUFFICIENT_QUOTA','tag','LocaleService','_localCacheService','getRenderById','PERMISSION_DENIED','REDEMPTION_CODE_FULLY_REDEEMED','_instanceService','_setupBeforeClosingHandler','_maxFormulaLimit','SetDocZoomRatioOperation','m1Prime','off-line-icon','univer-mr-2\x20univer-flex\x20univer-text-xl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/universer-api/frontend/logs','saveImage','UNIVER_SHEET','TEXT_RANGE_LAYER_INDEX','_notificationService','doc.mutation.rich-text-editing','currentTheme$','_colorAssignService','ONLINE','debug','asObservable','executeCommand','formula.calculation.unable','init','_imageIoService','CommandType','unit','handleInsertRangeMoveRight','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docClipboardService','_handleEvent','_startSheetCollabCursor','permission.title','transformSelections','_registerRenderDependencies','YUUMI_ASYNCIO_CANCELLED','COMPLETION_FINISHED','APPLY_PERMISSION_DENIED','yellow.400','_dataLoaderService','disableLocalCache','BrowserCollaborationSocketService','serializeRangeWithSheet','6TqILqI','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ICommandService','DocIMEInputManagerService','ENTITLE_CHAT_LIMIT_EXCEED','SetWorksheetActivateCommand','WebSocketService','LOGIN_TOKEN_PROCESSING_FAILED','288029fhruhs','setStateCache','[LogService\x20Error]:\x20','registerRenderModule','getItem','LOGIN_FAILED','location','delete','ERROR_AGAIN','maxFormulaLimit','_localeService','_collabSessionService','symbol','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','getActiveSheet','then','replace','setActiveRange','bottom','_handleHover','registerRefRange','addHandlerCallback','DocCollaborationEntity','from','_docSkeleton','saveTaskMap','getCellPositionByOffset','_commandService','defineProperty','formula.calculation.started','CollaborationStatus','shift','isFormulaString','white','addObject','unsubscribe','FromArray','fillText','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','editingUnit','_startDocCollabCursor','DataLoaderService','_getFormulaLimitStatus','IRemoteInstanceService','_transformUndoRedoStack','DOC_RANGE_TYPE','current','DATA_SOURCE_TOO_LARGE','TEXT','ranges','10445556xqfpjM','CanceledError','_status$','setUndoRedoMutationParamsCache','sessionTicket','mergeOverrideWithDependencies','font','cursorInfo','_pollingInterval','_online','collabStatus.notCollab','memberID','_unitOnClients','key','clearTimeout','SheetCollabCursorShape','min','engine','INotificationService','MessageType','ISocketService','cursorInfo$','_clearOtherTimers','WECHAT_HAS_BEEN_BOUND','startFormulaLimitUrl','replaceState','_clearPolling','SOCKET_FAILED_RETRY','DeleteRangeMoveUpCommandId','deepClone','getSheetBySheetId','_hideTimer','imageSourceType','_refRangeService','subscribe','_name','_scheduleSaving','AWAITING','addObjects','clipPath','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','OTHER_CLIENTS_EDITING','generateRandomId','_docTransformSelectionsService','IMessageService','_collaborationSessionService','restore','_univerInstanceService','dispose','svg','setAlpha','pipe','_refreshCollabCursors','transformMutation','_urlService','COLORS','defIds','removeParam','HTTPService','ILocalCacheService','collabStatus.offline','application/json','[Window\x20Error]:\x20','_draw','RegularPolygon','mutations','resize','height','reason','setTimeout','disposeWithMe','addEventListener','[CollaborationDataLoaderController]','history','path','getRangePointData','arc','none','IDocClipboardService','getCurrentRevOfUnit','IRenderManagerService','IURLService','getCurrent','Subject','type','_getScale','registerBeforeClose','jiqing.500','parseInt','takeUntil','SYNCED','assign','transformIMECache','_hover','filename','length','url(#off-line-icon_clip0_910_343)','roomMembers$','releaseFormulaLimitUrl','_disabled','getConfig','USER_NOT_FOUND','flatMap','reconnect','Injector','_transformService','permission.content','_themeService','onPointerEnter$','_renderManagerService','CollaborationSocketService','_updateCollabCursors','_getMergeRange','_saveTaskMap','switchMap','next','_docTransformStateCacheService','YUUMI_UNABLE_LOAD_URL','MOBILE_VERIFY_CODE_MISMATCH','drawWith','OnLineIcon','YUUMI_NO_CUBOID_FOR_QUESTION','hide','SNAPSHOT_HAS_BEEN_REMOVED','_lastPointer','data','APPLY_DUPLICATED','_messageService','transformStateCache','_onCursorUpdate','_entityInit$','RemoveColCommandId','UNDEFINED','NO_OTHER_CLIENTS_EDITING','_initCommandExecutedListener','onLocalMutation','AUTHORIZE_CODE_ILLEGAL','NOT_FOUND','REDEMPTION_USER_NOT_ELIGIBLE','mapTo','displayName','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getTypeOfUnitAdded$','http://www.w3.org/2000/svg','LICENSE_IMPORT_SIZE_EXCEEDED','size','getUnitStatus$','_setupSubUnitSync','getActiveRange','bind','EMAIL_VERIFY_CODE_MISMATCH','stack','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','error','attrs','findNodePositionByCharIndex','onRendered','startsWith','_shapes','subunit','setInterval','_handleLeaveEvent','endColumn','_registerDependencies','event$','eventID','_currentUsage','colno','ALREADY_EXISTS','LOCAL_CACHE_INTERVAL_KEY','href','isTransformMutationFailure','getColor','IUniverInstanceService','IBeforeCloseService','600575qqSZqH','_docSyncEditingCollabCursorService','_applyCommand','forEach','onPointerLeave$','_setFormulaLimitStatus','?taskId=','contains','Inject','unload','getStateCache','OFFLINE','width','stage','_taskIds','ILocalStorageService','_drawRectRange','ENTITLE_NEED_BILLING_ADDRESS','touchDependencies','div','REDEMPTION_CODE_NOT_STARTED','UniverIcon','_textBubble','toDisposable','defs','SUBMIT_CHANGESET_TIMEOUT','onPointerMove$','textRanges','Rect','requireSession','red.300','_ensureSubject','m2Prime','DependentOn','save','_toggleOnline','ITransformService','ColorKit','_checkCalculationAvailable','mask','session.will-retry','black','univerjs-icon\x20univerjs-icon-','_configService','fromEvent','clsx','_removeCollabCursors','roomMembers','push','UniverCollaborationClientUIPlugin','_docStateChangeManagerService','_initEntityListener','runId','whenReady','_cursorShapes','unitId','dispose$','onCommandExecuted','_toggleOffline','IConfigService','_memberID','_uiPartsService','INVALID_INVITE_CODE','totalFormulasToCalculate','_range','setItem','NodePositionConvertToCursor','ENTITLE_DUP_SUBSCRIPTION','getDocRanges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_showGuardMessage','IUIPartsService','map','collabCursorState$','3656592HIGnEi','START_CALCULATION','collabStatus.syncing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Tools','idSuffix','EMAIL_HAS_BEEN_BOUND','WebURLService','INVITE_CODE_REQUIRED','code','_createSocketURL','off-line-icon_clip0_910_343','override','_render','backgroundColor','2019mdvZBV','ENSURE_SNAPSHOT_EXECUTION','Disposable','Shape','unhandledrejection','fill','_updateURLWithCurrentState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UPDATE_CURSOR','getViewport','transformMutationsWithChangeset','distinctUntilChanged','getFocusedUnit','Unknown\x20user','ThemeService','createIdentifier','searchParams','subUnitId','send','_cursors','2513238COzPbp','_docSkeletonManagerService','181257yIPIHE','assignAColorForMemberID','collab-rect-range-','PAYMENT_CHANNEL_NOT_SUPPORT','invokeId','parse','_httpService','urlChange$','INTERNAL_ERROR','removeEventListener','_startCalculationLimit'];_0x1264=function(){return _0x4ece3f;};return _0x1264();}exports[_0x931b1e(0x172)]=Oe,exports[_0x931b1e(0x130)]=je,exports[_0x931b1e(0x297)]=fs,exports[_0x931b1e(0x223)]=ke;
|