@univerjs-pro/collaboration-client-ui 0.13.0 → 0.14.0-insiders.20251227-b250a8d
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 +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2815(_0x42754c,_0x4cb546){_0x42754c=_0x42754c-0x1a4;const _0x38b8b8=_0x38b8();let _0x281523=_0x38b8b8[_0x42754c];return _0x281523;}(function(_0xc00850,_0x2bf154){const _0x3917ca=_0x2815,_0x21d880=_0xc00850();while(!![]){try{const _0x51f33f=-parseInt(_0x3917ca(0x41a))/0x1*(parseInt(_0x3917ca(0x40a))/0x2)+parseInt(_0x3917ca(0x467))/0x3*(-parseInt(_0x3917ca(0x2df))/0x4)+parseInt(_0x3917ca(0x27e))/0x5+-parseInt(_0x3917ca(0x31c))/0x6+parseInt(_0x3917ca(0x27b))/0x7+parseInt(_0x3917ca(0x3f5))/0x8+parseInt(_0x3917ca(0x20b))/0x9;if(_0x51f33f===_0x2bf154)break;else _0x21d880['push'](_0x21d880['shift']());}catch(_0x2221a9){_0x21d880['push'](_0x21d880['shift']());}}}(_0x38b8,0x617e9),function(_0x4cb0c1,_0x502ffe){const _0xffb3e6=_0x2815;typeof exports=='object'&&typeof module<'u'?_0x502ffe(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0xffb3e6(0x33e),_0xffb3e6(0x351),_0xffb3e6(0x2ad),_0xffb3e6(0x1f5),_0xffb3e6(0x3a4),'rxjs',_0xffb3e6(0x2bf),_0xffb3e6(0x346),_0xffb3e6(0x261),_0xffb3e6(0x44f),_0xffb3e6(0x1f0),'@univerjs/network',_0xffb3e6(0x23e),_0xffb3e6(0x1b2),_0xffb3e6(0x1fc),_0xffb3e6(0x1ba),_0xffb3e6(0x41c),'rxjs/operators',_0xffb3e6(0x402)],_0x502ffe):(_0x4cb0c1=typeof globalThis<'u'?globalThis:_0x4cb0c1||self,_0x502ffe(_0x4cb0c1[_0xffb3e6(0x25c)]={},_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x361)],_0x4cb0c1[_0xffb3e6(0x48c)],_0x4cb0c1['UniverUi'],_0x4cb0c1['rxjs'],_0x4cb0c1[_0xffb3e6(0x40f)],_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x38e)],_0x4cb0c1[_0xffb3e6(0x3bf)],_0x4cb0c1[_0xffb3e6(0x335)],_0x4cb0c1['UniverNetwork'],_0x4cb0c1['UniverDocsUi'],_0x4cb0c1[_0xffb3e6(0x45c)],_0x4cb0c1['UniverProCollaboration'],_0x4cb0c1[_0xffb3e6(0x32b)],_0x4cb0c1[_0xffb3e6(0x2f3)],_0x4cb0c1[_0xffb3e6(0x332)][_0xffb3e6(0x312)],_0x4cb0c1[_0xffb3e6(0x454)]));}(this,function(_0x5d6189,_0x2b222d,_0x12afa3,_0x3d65d5,_0x47f27f,_0x5f36f4,_0x225058,_0x42a4ad,_0x202486,_0x15fda1,_0x48b1a2,_0x280651,_0x2cb679,_0x532be4,_0x36b4bf,_0x301e8e,_0x5cefe9,_0x4c0e1b,_0x5df617){'use strict';const _0x4e0a0f=_0x2815;var _0x12aaef=Object[_0x4e0a0f(0x1ef)],_0x24c75d=(_0x58c7b4,_0x4a859e,_0x1f737a)=>_0x4a859e in _0x58c7b4?_0x12aaef(_0x58c7b4,_0x4a859e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f737a}):_0x58c7b4[_0x4a859e]=_0x1f737a,_0x519c33=(_0x24744d,_0x469964,_0x3db145)=>_0x24c75d(_0x24744d,typeof _0x469964!=_0x4e0a0f(0x203)?_0x469964+'':_0x469964,_0x3db145);function _0x10e6cb({ref:_0x444bd1,..._0x42ba64}){const _0x5020a6=_0x4e0a0f,{icon:_0x4b468f,id:_0x3a77bb,className:_0x1966af,extend:_0xb4aef9,..._0x2a95ca}=_0x42ba64,_0x4a55ab=(_0x5020a6(0x44d)+_0x3a77bb+'\x20'+(_0x1966af||''))[_0x5020a6(0x3de)](),_0x2c99c6=_0x42a4ad['useRef']('_'+_0x4b26cf());return _0x52a5a3(_0x4b468f,''+_0x3a77bb,{'defIds':_0x4b468f[_0x5020a6(0x26e)],'idSuffix':_0x2c99c6[_0x5020a6(0x1a9)]},{'ref':_0x444bd1,'className':_0x4a55ab,..._0x2a95ca},_0xb4aef9);}function _0x52a5a3(_0x49250b,_0x36f3ea,_0xb295e2,_0x45659c,_0x4ff93a){const _0x3cfc80=_0x4e0a0f;return _0x42a4ad[_0x3cfc80(0x257)](_0x49250b['tag'],{'key':_0x36f3ea,..._0x4e3bcc(_0x49250b,_0xb295e2,_0x4ff93a),..._0x45659c},(_0x55c012(_0x49250b,_0xb295e2)[_0x3cfc80(0x372)]||[])['map']((_0x2cff42,_0x536735)=>_0x52a5a3(_0x2cff42,_0x36f3ea+'-'+_0x49250b[_0x3cfc80(0x3a6)]+'-'+_0x536735,_0xb295e2,void 0x0,_0x4ff93a)));}function _0x4e3bcc(_0x4618be,_0x52cebb,_0x43c42d){const _0x513174=_0x4e0a0f,_0x550ed5={..._0x4618be[_0x513174(0x2c5)]};_0x43c42d!=null&&_0x43c42d[_0x513174(0x447)]&&_0x550ed5['fill']===_0x513174(0x447)&&(_0x550ed5[_0x513174(0x2c7)]=_0x43c42d['colorChannel1']),_0x4618be[_0x513174(0x3a6)]===_0x513174(0x359)&&_0x550ed5['id']&&(_0x550ed5['id']=_0x550ed5['id']+_0x52cebb['idSuffix']),Object[_0x513174(0x31e)](_0x550ed5)['forEach'](([_0x428efd,_0xd90c65])=>{const _0x2409cf=_0x513174;_0x428efd===_0x2409cf(0x359)&&typeof _0xd90c65==_0x2409cf(0x3a7)&&(_0x550ed5[_0x428efd]=_0xd90c65[_0x2409cf(0x313)](/url\(#(.*)\)/,_0x2409cf(0x33f)+_0x52cebb[_0x2409cf(0x1ca)]+')'));});const {defIds:_0x43d3bd}=_0x52cebb;return!_0x43d3bd||_0x43d3bd[_0x513174(0x401)]===0x0||(_0x4618be[_0x513174(0x3a6)]===_0x513174(0x419)&&_0x550ed5[_0x513174(0x1ac)]&&(_0x550ed5[_0x513174(0x1ac)]=_0x550ed5[_0x513174(0x1ac)]+_0x52cebb[_0x513174(0x1ca)]),Object[_0x513174(0x31e)](_0x550ed5)[_0x513174(0x3e9)](([_0x4b0adb,_0x89f3fa])=>{const _0xa7e815=_0x513174;typeof _0x89f3fa=='string'&&(_0x550ed5[_0x4b0adb]=_0x89f3fa[_0xa7e815(0x313)](/url\(#(.*)\)/,_0xa7e815(0x33f)+_0x52cebb['idSuffix']+')'));})),_0x550ed5;}function _0x55c012(_0x18e8a8,_0x368467){const _0x1b5961=_0x4e0a0f;var _0x2a949c;const {defIds:_0x2dddc2}=_0x368467;return!_0x2dddc2||_0x2dddc2[_0x1b5961(0x401)]===0x0?_0x18e8a8:_0x18e8a8[_0x1b5961(0x3a6)]===_0x1b5961(0x412)&&((_0x2a949c=_0x18e8a8[_0x1b5961(0x372)])!=null&&_0x2a949c['length'])?{..._0x18e8a8,'children':_0x18e8a8[_0x1b5961(0x372)][_0x1b5961(0x1a8)](_0x17c877=>typeof _0x17c877['attrs']['id']==_0x1b5961(0x3a7)&&_0x2dddc2&&_0x2dddc2[_0x1b5961(0x27a)](_0x17c877[_0x1b5961(0x2c5)]['id'])?{..._0x17c877,'attrs':{..._0x17c877[_0x1b5961(0x2c5)],'id':_0x17c877['attrs']['id']+_0x368467[_0x1b5961(0x1ca)]}}:_0x17c877)}:_0x18e8a8;}function _0x4b26cf(){const _0x20ace8=_0x4e0a0f;return Math[_0x20ace8(0x3b8)]()[_0x20ace8(0x3af)](0x24)['substring'](0x2,0x8);}_0x10e6cb['displayName']=_0x4e0a0f(0x237);const _0x26b673={'tag':_0x4e0a0f(0x1e9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x1b3),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x2de)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'d':_0x4e0a0f(0x3c9),'strokeLinecap':_0x4e0a0f(0x475),'strokeLinejoin':_0x4e0a0f(0x475),'strokeWidth':1.2}}]},{'tag':_0x4e0a0f(0x412),'attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3cb)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5)}}]}]}],'defIds':[_0x4e0a0f(0x3cb)]},_0x22a84d=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x4ce51e,_0x5246ec){const _0x123fb3=_0x4e0a0f;return _0x42a4ad[_0x123fb3(0x257)](_0x10e6cb,Object['assign']({},_0x4ce51e,{'id':_0x123fb3(0x2cb),'ref':_0x5246ec,'icon':_0x26b673}));});_0x22a84d[_0x4e0a0f(0x22d)]=_0x4e0a0f(0x462);const _0x560650={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x333),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x215)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4e0a0f(0x475),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3f7)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5),'transform':_0x4e0a0f(0x1ea)}}]}]}],'defIds':[_0x4e0a0f(0x3f7)]},_0xf09e0=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x3fe0dd,_0x405e8e){const _0x1350e1=_0x4e0a0f;return _0x42a4ad[_0x1350e1(0x257)](_0x10e6cb,Object[_0x1350e1(0x318)]({},_0x3fe0dd,{'id':_0x1350e1(0x2bd),'ref':_0x405e8e,'icon':_0x560650}));});_0xf09e0[_0x4e0a0f(0x22d)]='OnLineIcon';function _0x487e95(_0x224a65){const _0x455172=_0x4e0a0f;switch(_0x224a65){case _0x12afa3[_0x455172(0x1be)]['OFFLINE']:return'collabStatus.offline';case _0x12afa3[_0x455172(0x1be)][_0x455172(0x302)]:return _0x455172(0x275);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x43f)]:return _0x455172(0x3c7);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1eb)]:return _0x455172(0x1dd);case _0x12afa3[_0x455172(0x1be)]['AWAITING']:case _0x12afa3['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x455172(0x1ee);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x446)]:case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1de)]:return _0x455172(0x3e5);}}function _0x36b17e(_0x24f4d2){const _0x3d1c6f=_0x4e0a0f,{status$:_0x9b34f4}=_0x24f4d2,_0x589585=_0x47f27f[_0x3d1c6f(0x29d)](_0x9b34f4,_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x1eb)]),_0x223244=_0x47f27f[_0x3d1c6f(0x46a)](_0x3d65d5['LocaleService']),_0x19e72c=_0x47f27f[_0x3d1c6f(0x46a)](_0x12afa3[_0x3d1c6f(0x1e8)]),_0x20bf0b=_0x589585!==_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x39e)],_0x5b760c=_0x223244['t'](_0x487e95(_0x589585)),_0x4b304c=_0x20bf0b?_0x2b222d[_0x3d1c6f(0x3fe)](_0xf09e0,{}):_0x2b222d['jsx'](_0x22a84d,{}),_0x55166b=_0x42a4ad[_0x3d1c6f(0x27c)](()=>{const _0x257be8=_0x3d1c6f;_0x20bf0b||_0x19e72c[_0x257be8(0x246)]();},[_0x20bf0b,_0x19e72c]);function _0xea8472(){const _0x4e13fb=_0x3d1c6f;return _0x2b222d[_0x4e13fb(0x2c2)](_0x4e13fb(0x3ad),{'className':_0x4e13fb(0x45a),'onClick':_0x55166b,'children':[_0x2b222d[_0x4e13fb(0x3fe)](_0x4e13fb(0x3ad),{'className':_0x225058[_0x4e13fb(0x1db)](_0x4e13fb(0x21b),{'univer-text-green-500':_0x20bf0b,'univer-text-red-500':!_0x20bf0b}),'children':_0x4b304c}),_0x2b222d[_0x4e13fb(0x3fe)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5b760c})]});}return _0x20bf0b?_0xea8472():_0x2b222d[_0x3d1c6f(0x3fe)](_0x225058['Tooltip'],{'title':_0x223244['t'](_0x3d1c6f(0x44c)),'children':_0xea8472()});}var _0x587753=Object['getOwnPropertyDescriptor'],_0x4ff46d=(_0x5cef62,_0x536e6e,_0x148ea3,_0x2ec19e)=>{const _0x43788a=_0x4e0a0f;for(var _0x3ea70f=_0x2ec19e>0x1?void 0x0:_0x2ec19e?_0x587753(_0x536e6e,_0x148ea3):_0x536e6e,_0x2a815d=_0x5cef62[_0x43788a(0x401)]-0x1,_0x4beb20;_0x2a815d>=0x0;_0x2a815d--)(_0x4beb20=_0x5cef62[_0x2a815d])&&(_0x3ea70f=_0x4beb20(_0x3ea70f)||_0x3ea70f);return _0x3ea70f;},_0x4903e2=(_0xc71eec,_0x192a93)=>(_0x831f32,_0x53c10a)=>_0x192a93(_0x831f32,_0x53c10a,_0xc71eec);_0x5d6189['DesktopCollaborationStatusDisplayController']=class extends _0x3d65d5['Disposable']{constructor(_0x2aa9cd,_0x1bccb7,_0x4339ba,_0x24c64e){const _0x4356f2=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x4356f2(0x426))](_0x12afa3[_0x4356f2(0x1be)][_0x4356f2(0x1eb)])),(this[_0x4356f2(0x2dc)]=_0x2aa9cd,this[_0x4356f2(0x458)]=_0x1bccb7,this[_0x4356f2(0x30b)]=_0x4339ba,this[_0x4356f2(0x395)]=_0x24c64e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4e0a0f(0x232)](){const _0x1ebab5=_0x4e0a0f;this[_0x1ebab5(0x38a)](this[_0x1ebab5(0x2dc)][_0x1ebab5(0x43d)]['pipe'](_0x5f36f4[_0x1ebab5(0x461)](()=>{const _0x4ef192=_0x1ebab5,_0x3bacbd=this[_0x4ef192(0x2dc)][_0x4ef192(0x263)]();return _0x3bacbd?this[_0x4ef192(0x30b)][_0x4ef192(0x3a2)](_0x3bacbd[_0x4ef192(0x347)]()):_0x5f36f4['of'](null);}),_0x5f36f4[_0x1ebab5(0x461)](_0x7e4a74=>_0x7e4a74?_0x7e4a74[_0x1ebab5(0x29c)]:_0x5f36f4['of'](_0x12afa3[_0x1ebab5(0x1be)][_0x1ebab5(0x1eb)])))[_0x1ebab5(0x364)](_0x23bf77=>{const _0xa2806b=_0x1ebab5;this[_0xa2806b(0x39b)][_0xa2806b(0x2a7)](_0x23bf77);}));}[_0x4e0a0f(0x36a)](){const _0x693d35=_0x4e0a0f;this[_0x693d35(0x38a)](this[_0x693d35(0x395)][_0x693d35(0x1bb)](_0x47f27f[_0x693d35(0x2d8)][_0x693d35(0x3d2)],()=>_0x47f27f[_0x693d35(0x1e4)](_0x514fa9({'status$':this[_0x693d35(0x39b)]['asObservable']()}),this[_0x693d35(0x458)])));}},_0x5d6189[_0x4e0a0f(0x3ec)]=_0x4ff46d([_0x4903e2(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x4903e2(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x4903e2(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x224)])),_0x4903e2(0x3,_0x47f27f[_0x4e0a0f(0x46c)])],_0x5d6189[_0x4e0a0f(0x3ec)]);function _0x514fa9(_0x4ab5c8){const {status$:_0x594c0f}=_0x4ab5c8;return function(){const _0x2ea328=_0x2815;return _0x2b222d[_0x2ea328(0x3fe)](_0x36b17e,{'status$':_0x594c0f});};}const _0x41d09c=_0x3d65d5[_0x4e0a0f(0x44a)](_0x4e0a0f(0x241));var _0x49b579=Object[_0x4e0a0f(0x373)],_0x532ca5=(_0x2176d5,_0x272a33,_0x475ed2,_0x5f4e38)=>{for(var _0x33d637=_0x5f4e38>0x1?void 0x0:_0x5f4e38?_0x49b579(_0x272a33,_0x475ed2):_0x272a33,_0x399d37=_0x2176d5['length']-0x1,_0x26e140;_0x399d37>=0x0;_0x399d37--)(_0x26e140=_0x2176d5[_0x399d37])&&(_0x33d637=_0x26e140(_0x33d637)||_0x33d637);return _0x33d637;},_0x1621fb=(_0x459fac,_0x451abd)=>(_0x2b3ffc,_0x407444)=>_0x451abd(_0x2b3ffc,_0x407444,_0x459fac);_0x5d6189[_0x4e0a0f(0x36c)]=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x3ac172,_0x212a46,_0x40782f,_0x191f41,_0x4e0156){const _0x1528b3=_0x4e0a0f;super(),this[_0x1528b3(0x2ae)]=_0x3ac172,this[_0x1528b3(0x376)]=_0x212a46,this[_0x1528b3(0x3cf)]=_0x40782f,this[_0x1528b3(0x37d)]=_0x191f41,_0x4e0156?_0x4e0156==null||_0x4e0156[_0x1528b3(0x482)]()[_0x1528b3(0x2da)](()=>this[_0x1528b3(0x276)]()):(this[_0x1528b3(0x376)][_0x1528b3(0x1e1)](_0x1528b3(0x34c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1528b3(0x276)]());}async['_init'](){const _0x4136c8=_0x4e0a0f,_0x131367=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x3f1)),_0x532f33=this[_0x4136c8(0x2ae)][_0x4136c8(0x1f3)](_0x4136c8(0x1d3)),_0x31d91e=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x321));if(!_0x131367||!_0x532f33){this['_logService'][_0x4136c8(0x1e1)](_0x4136c8(0x34c),_0x4136c8(0x21d));return;}const _0x24b288=await this[_0x4136c8(0x37d)]['loadUnit'](_0x131367,Number(_0x532f33),_0x31d91e);_0x24b288&&_0x24b288 instanceof _0x3d65d5['Workbook']&&this[_0x4136c8(0x44e)](_0x24b288);}async['_setupSubUnitSync'](_0x20e614){const _0x438e27=_0x4e0a0f;await this[_0x438e27(0x360)](_0x20e614),_0x20e614[_0x438e27(0x34e)][_0x438e27(0x2c1)](_0x5f36f4['takeUntil'](this[_0x438e27(0x33b)]))['subscribe'](_0x1905db=>{const _0x2b34ea=_0x438e27;_0x1905db&&this[_0x2b34ea(0x2ca)](_0x1905db);}),this[_0x438e27(0x2ae)][_0x438e27(0x427)]['pipe'](_0x5f36f4[_0x438e27(0x308)](this[_0x438e27(0x33b)]))[_0x438e27(0x364)](()=>this[_0x438e27(0x360)](_0x20e614));}['_updateURLWithCurrentState'](_0x89c76d,_0x36fa19=!0x1){const _0x5a0911=_0x4e0a0f,_0x3861ab=this[_0x5a0911(0x2ae)][_0x5a0911(0x1f3)]('subunit');_0x89c76d[_0x5a0911(0x3e6)]()!==_0x3861ab&&this[_0x5a0911(0x2ae)][_0x5a0911(0x1ce)](_0x5a0911(0x321),_0x89c76d['getSheetId'](),_0x36fa19);}async[_0x4e0a0f(0x360)](_0x309c76){const _0x25532a=_0x4e0a0f;var _0x2ff0f3;const _0x3eb514=this['_urlService'][_0x25532a(0x1f3)](_0x25532a(0x321));if(!_0x3eb514||!_0x309c76[_0x25532a(0x30d)](_0x3eb514)){const _0x471a19=_0x309c76[_0x25532a(0x1fb)]()[0x0],_0x389049=_0x309c76[_0x25532a(0x30d)](_0x471a19);if(!_0x389049)return;this[_0x25532a(0x2ca)](_0x389049,!0x0),await this[_0x25532a(0x3cf)][_0x25532a(0x33a)](_0x15fda1['SetWorksheetActivateCommand']['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x471a19});return;}((_0x2ff0f3=_0x309c76[_0x25532a(0x214)]())==null?void 0x0:_0x2ff0f3['getSheetId']())!==_0x3eb514&&await this[_0x25532a(0x3cf)]['executeCommand'](_0x15fda1[_0x25532a(0x1cc)]['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x3eb514});}},_0x5d6189['CollaborationDataLoaderController']=_0x532ca5([_0x1621fb(0x0,_0x41d09c),_0x1621fb(0x1,_0x3d65d5['ILogService']),_0x1621fb(0x2,_0x3d65d5['ICommandService']),_0x1621fb(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3['DataLoaderService'])),_0x1621fb(0x4,_0x3d65d5['Optional'](_0x202486[_0x4e0a0f(0x330)]))],_0x5d6189[_0x4e0a0f(0x36c)]);var _0x3a1788=Object['getOwnPropertyDescriptor'],_0x1fe199=(_0x267512,_0xd570ed,_0x4741ee,_0xc405d8)=>{const _0x26f756=_0x4e0a0f;for(var _0xf4348d=_0xc405d8>0x1?void 0x0:_0xc405d8?_0x3a1788(_0xd570ed,_0x4741ee):_0xd570ed,_0x53aa38=_0x267512[_0x26f756(0x401)]-0x1,_0x333391;_0x53aa38>=0x0;_0x53aa38--)(_0x333391=_0x267512[_0x53aa38])&&(_0xf4348d=_0x333391(_0xf4348d)||_0xf4348d);return _0xf4348d;},_0x19d914=(_0x21e1ef,_0x26854d)=>(_0x449c4a,_0x1736d3)=>_0x26854d(_0x449c4a,_0x1736d3,_0x21e1ef);let _0x4333d5=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0xca69b8,_0xaa5135){const _0x1ac615=_0x4e0a0f;super(),this[_0x1ac615(0x21c)]=_0xca69b8,this[_0x1ac615(0x2dd)]=_0xaa5135,this[_0x1ac615(0x276)]();}[_0x4e0a0f(0x276)](){const _0x1990b3=_0x4e0a0f,_0x1c8a3f=this;this[_0x1990b3(0x38a)](this[_0x1990b3(0x21c)][_0x1990b3(0x1e0)]({'onBeforePasteImage':async _0x4faf91=>{const _0x1cb939=_0x1990b3,_0x123054=await _0x1c8a3f['_imageIoService'][_0x1cb939(0x22b)](_0x4faf91);return _0x123054?{'source':_0x123054[_0x1cb939(0x28c)],'imageSourceType':_0x123054[_0x1cb939(0x274)]}:null;}}));}};_0x4333d5=_0x1fe199([_0x19d914(0x0,_0x2cb679[_0x4e0a0f(0x38f)]),_0x19d914(0x1,_0x532be4[_0x4e0a0f(0x3d4)])],_0x4333d5);const _0x29c03b=[_0x4e0a0f(0x421),'jiqing.500',_0x4e0a0f(0x311),_0x4e0a0f(0x281),_0x4e0a0f(0x3b2),'yellow.400'];class _0x5b2747 extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(){const _0x42a1ed=_0x4e0a0f;super(...arguments),_0x519c33(this,_0x42a1ed(0x430),new Map()),_0x519c33(this,_0x42a1ed(0x271),0x0);}[_0x4e0a0f(0x417)](_0x11c29b){const _0x5a7215=_0x4e0a0f;if(this[_0x5a7215(0x430)][_0x5a7215(0x41e)](_0x11c29b))return this[_0x5a7215(0x430)]['get'](_0x11c29b);const _0x5df925=_0x29c03b[this[_0x5a7215(0x271)]];return this[_0x5a7215(0x271)]=(this[_0x5a7215(0x271)]+0x1)%_0x29c03b['length'],this[_0x5a7215(0x430)]['set'](_0x11c29b,_0x5df925),_0x5df925;}}function _0xbc05fe(_0x56cd7c){const _0x414af7=_0x4e0a0f;let _0x4b0244='';for(const _0x439644 of _0x56cd7c){const {startOffset:_0x1f89be,endOffset:_0xb0bf4d,isActive:_0x52818f,rangeType:_0x180919,segmentId:_0x400269,segmentPage:_0x29b80c}=_0x439644;_0x4b0244[_0x414af7(0x401)]&&(_0x4b0244+=','),_0x4b0244+=_0x1f89be+':'+_0xb0bf4d+':'+(_0x52818f?'1':'0')+':'+_0x180919+':'+_0x400269+':'+_0x29b80c;}return _0x4b0244;}function _0x40f323(_0x37af50){const _0x4688ae=_0x4e0a0f,_0x5a8d9e=_0x37af50[_0x4688ae(0x44b)](','),_0x48f932=[];for(const _0x3050ef of _0x5a8d9e){const [_0x447c60,_0x7f3071,_0x4cb807,_0x5491ac,_0x128e3a,_0x30fbf8]=_0x3050ef[_0x4688ae(0x44b)](':');_0x48f932[_0x4688ae(0x1c3)]({'startOffset':Number(_0x447c60),'endOffset':Number(_0x7f3071),'collapsed':_0x447c60===_0x7f3071,'isActive':_0x4cb807==='1','rangeType':_0x5491ac===_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]?_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]:_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x460)],'segmentId':typeof _0x128e3a==_0x4688ae(0x3a7)?String(_0x128e3a):'','segmentPage':Number(_0x30fbf8!=null?_0x30fbf8:-0x1)});}return _0x48f932[_0x4688ae(0x1fd)](_0x304a6d=>_0x304a6d[_0x4688ae(0x423)])||(_0x48f932[0x0][_0x4688ae(0x423)]=!0x0),_0x48f932;}class _0x58e52d extends _0x3d65d5['RxDisposable']{constructor(){const _0x4e8862=_0x4e0a0f;super(...arguments),_0x519c33(this,'_collabCursorState$',new _0x5f36f4[(_0x4e8862(0x426))](null)),_0x519c33(this,_0x4e8862(0x384),this['_collabCursorState$']['asObservable']());}[_0x4e0a0f(0x306)](_0x360a48){const _0x29588d=_0x4e0a0f,{unitID:_0x29ccbc,memberID:_0x5d3e97,textRanges:_0x2c4cee}=_0x360a48,_0x242db6=_0xbc05fe(_0x2c4cee);if(_0x242db6==='')return;const _0x4002be={'unitID':_0x29ccbc,'memberID':_0x5d3e97,'selection':_0x242db6};this[_0x29588d(0x29e)][_0x29588d(0x2a7)](_0x4002be);}}var _0x67cdc9=Object[_0x4e0a0f(0x373)],_0x17136e=(_0x1cf7c4,_0xa531e4,_0x35e702,_0x29996b)=>{const _0x3de2fa=_0x4e0a0f;for(var _0x3fd382=_0x29996b>0x1?void 0x0:_0x29996b?_0x67cdc9(_0xa531e4,_0x35e702):_0xa531e4,_0x543ad5=_0x1cf7c4[_0x3de2fa(0x401)]-0x1,_0x16cd5c;_0x543ad5>=0x0;_0x543ad5--)(_0x16cd5c=_0x1cf7c4[_0x543ad5])&&(_0x3fd382=_0x16cd5c(_0x3fd382)||_0x3fd382);return _0x3fd382;},_0x59fbdd=(_0x546f66,_0x1c2eed)=>(_0x40f541,_0x47a5cb)=>_0x1c2eed(_0x40f541,_0x47a5cb,_0x546f66);const _0x24a6a2=0x12c,_0x2d3cbb=0x64;let _0x420b41=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x1f9ac6,_0x3d9fc0,_0x493231,_0x3ddf09,_0x5333ad,_0x433c0a,_0x54bcbe,_0x279fe1,_0x2f41df){const _0x24b6c8=_0x4e0a0f;super(),_0x519c33(this,_0x24b6c8(0x1c7),!0x1),_0x519c33(this,_0x24b6c8(0x276),!0x1),_0x519c33(this,'_cursorInfo$',new _0x5f36f4[(_0x24b6c8(0x426))](new Map())),_0x519c33(this,_0x24b6c8(0x251),this[_0x24b6c8(0x3ef)][_0x24b6c8(0x365)]()),_0x519c33(this,_0x24b6c8(0x2e0),new _0x5f36f4[(_0x24b6c8(0x426))]([])),_0x519c33(this,_0x24b6c8(0x392),this['_roomMembers$']['pipe'](_0x5f36f4[_0x24b6c8(0x445)](_0x24a6a2))),_0x519c33(this,_0x24b6c8(0x26b),_0x3d65d5[_0x24b6c8(0x469)](_0x57053d=>{const _0x42a9ed=_0x24b6c8,_0x53af59={'eventID':_0x36b4bf[_0x42a9ed(0x396)][_0x42a9ed(0x484)],'data':{'unitID':this[_0x42a9ed(0x2b4)],'memberID':this[_0x42a9ed(0x277)]['getMemberID'](),'selection':_0xbc05fe(_0x57053d)}};this[_0x42a9ed(0x277)][_0x42a9ed(0x381)](_0x53af59,this['unitID']);},_0x2d3cbb)),(this[_0x24b6c8(0x2b4)]=_0x1f9ac6,this['_session']=_0x3d9fc0,this[_0x24b6c8(0x458)]=_0x493231,this[_0x24b6c8(0x3f6)]=_0x3ddf09,this[_0x24b6c8(0x457)]=_0x5333ad,this['_syncEditingCollabCursorService']=_0x433c0a,this[_0x24b6c8(0x242)]=_0x54bcbe,this['_univerInstanceService']=_0x279fe1,this[_0x24b6c8(0x3cf)]=_0x2f41df);}get[_0x4e0a0f(0x3a1)](){const _0x52ba4a=_0x4e0a0f;return this[_0x52ba4a(0x3ef)][_0x52ba4a(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x3c96df=_0x4e0a0f;return this[_0x3c96df(0x2e0)][_0x3c96df(0x473)]();}[_0x4e0a0f(0x3ab)](){const _0x413088=_0x4e0a0f;super[_0x413088(0x3ab)](),this[_0x413088(0x3ef)][_0x413088(0x2a7)](new Map()),this[_0x413088(0x3ef)][_0x413088(0x440)](),this[_0x413088(0x2e0)][_0x413088(0x2a7)]([]),this['_roomMembers$'][_0x413088(0x440)]();}['init'](){const _0x14a8b2=_0x4e0a0f;this['_init']||(this[_0x14a8b2(0x276)]=!0x0,this[_0x14a8b2(0x277)]['sessionStatus$'][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0x359d32=>{const _0x36ed6d=_0x14a8b2;_0x359d32===_0x12afa3[_0x36ed6d(0x441)][_0x36ed6d(0x3ea)]?this[_0x36ed6d(0x216)]():this[_0x36ed6d(0x1d7)]();}),this[_0x14a8b2(0x277)]['event$'][_0x14a8b2(0x2c1)](_0x5f36f4['takeUntil'](this[_0x14a8b2(0x33b)]))['subscribe'](_0x2473bc=>{const _0x3ce9d7=_0x14a8b2,_0x54bf60=_0x2473bc[_0x3ce9d7(0x320)];_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)]['UPDATE_CURSOR']&&this[_0x3ce9d7(0x2be)](_0x2473bc),_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)][_0x3ce9d7(0x386)]&&this[_0x3ce9d7(0x25f)](_0x2473bc);}),this[_0x14a8b2(0x38a)](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x1e98d9=>{const _0x369b2c=_0x14a8b2,_0x268a7e=_0x1e98d9['params'];_0x268a7e!=null&&this['_online']&&_0x1e98d9['id']===_0x301e8e[_0x369b2c(0x478)]['id']&&_0x268a7e['unitId']===this[_0x369b2c(0x2b4)]&&_0x268a7e[_0x369b2c(0x1c4)]===!0x1&&_0x268a7e[_0x369b2c(0x1c5)][_0x369b2c(0x401)]>0x0&&this['_updateLocalCursor'](_0x268a7e[_0x369b2c(0x1c5)]);})),this['_syncEditingCollabCursorService'][_0x14a8b2(0x384)][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0xec87d3=>{const _0x4649f3=_0x14a8b2;if((_0xec87d3==null?void 0x0:_0xec87d3[_0x4649f3(0x2b4)])!==this[_0x4649f3(0x2b4)])return;const _0x3049ba={'eventID':_0x36b4bf['CollaborationEvent'][_0x4649f3(0x484)],'data':_0xec87d3};this['_onCursorUpdate'](_0x3049ba);}),this['disposeWithMe'](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x23ebd9=>{const _0x15379e=_0x14a8b2;if(_0x23ebd9[_0x15379e(0x344)]==null)return;const _0x121ca6=_0x23ebd9[_0x15379e(0x344)];if(_0x23ebd9['id']!==_0x301e8e[_0x15379e(0x27f)]['id']||_0x121ca6[_0x15379e(0x3c2)]!==this[_0x15379e(0x2b4)])return;const _0x17ab89={'id':_0x15379e(0x397),'params':_0x121ca6},_0x58bc50=this[_0x15379e(0x3a1)];for(const [_0x178cc3,_0x4ad5b6]of _0x58bc50){const _0x499d24={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15379e(0x2b4)],'actions':null,'textRanges':_0x4ad5b6[_0x15379e(0x1c5)]}},_0x4087de=this[_0x15379e(0x242)][_0x15379e(0x1fe)](_0x17ab89,_0x499d24,!0x1);if(_0x36b4bf[_0x15379e(0x43e)](_0x4087de))throw _0x4087de[_0x15379e(0x212)];_0x58bc50['set'](_0x178cc3,{..._0x4ad5b6,'ranges':_0x4087de[_0x15379e(0x328)][_0x15379e(0x344)][_0x15379e(0x350)]});}queueMicrotask(()=>{const _0x3afebb=_0x15379e;this[_0x3afebb(0x3ef)][_0x3afebb(0x2a7)](_0x58bc50);});})));}['_onCursorUpdate'](_0x5702c5){const _0x23bfa7=_0x4e0a0f;var _0x271f77,_0x71e3ac;const {memberID:_0x5249ff,selection:_0x36a6d7}=_0x5702c5[_0x23bfa7(0x3fb)],_0x2f7766=_0x40f323(_0x36a6d7),_0x2ca4b1=(_0x71e3ac=(_0x271f77=this['_memberService'][_0x23bfa7(0x439)](this['unitID'],_0x5249ff))==null?void 0x0:_0x271f77[_0x23bfa7(0x483)])!=null?_0x71e3ac:_0x23bfa7(0x3b7),_0x4c07fb={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5249ff),'name':_0x2ca4b1,'ranges':_0x2f7766},_0x34bf6f=this[_0x23bfa7(0x3a1)];_0x34bf6f[_0x23bfa7(0x33d)](_0x5249ff,_0x4c07fb),this[_0x23bfa7(0x3ef)][_0x23bfa7(0x2a7)](_0x34bf6f);}['_onCursorDelete'](_0x4418a1){const _0x2932ae=_0x4e0a0f,{memberID:_0x3bc704}=_0x4418a1[_0x2932ae(0x3fb)],_0x580e9c=this[_0x2932ae(0x3a1)];_0x580e9c[_0x2932ae(0x32d)](_0x3bc704),this['_cursorInfo$']['next'](_0x580e9c);}['_toggleOnline'](){const _0x43bd54=_0x4e0a0f;var _0x5d0236;if(this['_online']=!0x0,((_0x5d0236=this[_0x43bd54(0x2dc)][_0x43bd54(0x263)]())==null?void 0x0:_0x5d0236[_0x43bd54(0x347)]())!==this[_0x43bd54(0x2b4)])return;const _0x445393=this[_0x43bd54(0x458)][_0x43bd54(0x236)](_0x301e8e['DocSelectionManagerService'])[_0x43bd54(0x316)]();Array['isArray'](_0x445393)&&_0x445393[_0x43bd54(0x401)]>0x0&&this[_0x43bd54(0x26b)](_0x445393);}[_0x4e0a0f(0x1d7)](){const _0x272ede=_0x4e0a0f;this[_0x272ede(0x1c7)]=!0x1;}};_0x420b41=_0x17136e([_0x59fbdd(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x59fbdd(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x59fbdd(0x4,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x59fbdd(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x59fbdd(0x6,_0x36b4bf[_0x4e0a0f(0x291)]),_0x59fbdd(0x7,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x59fbdd(0x8,_0x3d65d5['ICommandService'])],_0x420b41);var _0x184f2b=Object[_0x4e0a0f(0x373)],_0x2e5d70=(_0x4aa59c,_0x26bc6b,_0x59414c,_0x4b6add)=>{const _0x4de19a=_0x4e0a0f;for(var _0x578373=_0x4b6add>0x1?void 0x0:_0x4b6add?_0x184f2b(_0x26bc6b,_0x59414c):_0x26bc6b,_0x57697a=_0x4aa59c[_0x4de19a(0x401)]-0x1,_0x25b605;_0x57697a>=0x0;_0x57697a--)(_0x25b605=_0x4aa59c[_0x57697a])&&(_0x578373=_0x25b605(_0x578373)||_0x578373);return _0x578373;},_0x1e1e54=(_0xdb1a2a,_0x5e8f27)=>(_0x47185d,_0x2d7685)=>_0x5e8f27(_0x47185d,_0x2d7685,_0xdb1a2a);const _0x2f7de3=0x12c,_0x406c39=0x64,_0x351cca=()=>{let _0x1c0110=[],_0x3500b3=!0x1;return _0x4106f7=>{const _0x40ffb2=_0x2815;_0x1c0110[_0x40ffb2(0x1c3)](_0x4106f7),_0x3500b3||(_0x3500b3=!0x0,setTimeout(()=>{_0x1c0110['forEach'](_0x47a0ed=>_0x47a0ed()),_0x1c0110=[],_0x3500b3=!0x1;}));};};let _0x184e5c=class extends _0x3d65d5['RxDisposable']{constructor(_0x2730ae,_0xe7f841,_0x52f570,_0x527bd2,_0x11e15d,_0x507788,_0x40e9e0,_0x34350a){const _0x1af5c5=_0x4e0a0f;super(),_0x519c33(this,_0x1af5c5(0x1c7),!0x1),_0x519c33(this,_0x1af5c5(0x276),!0x1),_0x519c33(this,_0x1af5c5(0x3ef),new _0x5f36f4[(_0x1af5c5(0x426))](new Map())),_0x519c33(this,_0x1af5c5(0x251),this[_0x1af5c5(0x3ef)][_0x1af5c5(0x365)]()),_0x519c33(this,_0x1af5c5(0x2e0),new _0x5f36f4['BehaviorSubject']([])),_0x519c33(this,_0x1af5c5(0x392),this[_0x1af5c5(0x2e0)][_0x1af5c5(0x2c1)](_0x5f36f4[_0x1af5c5(0x445)](_0x2f7de3))),_0x519c33(this,_0x1af5c5(0x26b),_0x3d65d5[_0x1af5c5(0x469)]((_0x57cc8e,_0x15686d)=>{const _0x128108=_0x1af5c5,_0x484dec={'eventID':_0x36b4bf[_0x128108(0x396)][_0x128108(0x484)],'data':{'unitID':this[_0x128108(0x2b4)],'memberID':this[_0x128108(0x277)][_0x128108(0x3da)](),'selection':_0x5cefe9['serializeRangeWithSheet'](_0x57cc8e,_0x15686d[_0x128108(0x2b7)])}};this['_session'][_0x128108(0x381)](_0x484dec,this[_0x128108(0x2b4)]);},_0x406c39)),(this['unitID']=_0x2730ae,this[_0x1af5c5(0x277)]=_0xe7f841,this[_0x1af5c5(0x458)]=_0x52f570,this[_0x1af5c5(0x3f6)]=_0x527bd2,this[_0x1af5c5(0x457)]=_0x11e15d,this[_0x1af5c5(0x2dc)]=_0x507788,this[_0x1af5c5(0x3cf)]=_0x40e9e0,this[_0x1af5c5(0x3b5)]=_0x34350a);}get[_0x4e0a0f(0x3a1)](){const _0x50460d=_0x4e0a0f;return this[_0x50460d(0x3ef)][_0x50460d(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x1a6ab4=_0x4e0a0f;return this[_0x1a6ab4(0x2e0)]['getValue']();}[_0x4e0a0f(0x3ab)](){const _0x342b38=_0x4e0a0f;super[_0x342b38(0x3ab)](),this['_cursorInfo$'][_0x342b38(0x2a7)](new Map()),this[_0x342b38(0x3ef)][_0x342b38(0x440)](),this['_roomMembers$'][_0x342b38(0x2a7)]([]),this[_0x342b38(0x2e0)][_0x342b38(0x440)]();}[_0x4e0a0f(0x265)](){const _0x339f50=_0x4e0a0f;this[_0x339f50(0x276)]||(this['_init']=!0x0,this[_0x339f50(0x277)]['sessionStatus$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x25e6ec=>{const _0x195c67=_0x339f50;_0x25e6ec===_0x12afa3[_0x195c67(0x441)][_0x195c67(0x3ea)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x339f50(0x277)]['event$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x3c911e=>{const _0x2da47c=_0x339f50,_0x2cbc17=_0x3c911e[_0x2da47c(0x320)];_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['UPDATE_CURSOR']&&this[_0x2da47c(0x2be)](_0x3c911e),_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['USERS_LEAVE']&&this[_0x2da47c(0x25f)](_0x3c911e);}),this[_0x339f50(0x465)](),this['disposeWithMe'](this[_0x339f50(0x3cf)][_0x339f50(0x42e)](_0x4902a8=>{const _0x591b39=_0x339f50;if(this[_0x591b39(0x1c7)]&&_0x4902a8['id']===_0x15fda1[_0x591b39(0x32f)]['id']&&_0x4902a8[_0x591b39(0x344)][_0x591b39(0x3c2)]===this[_0x591b39(0x2b4)]){const _0x3ad02c=_0x4902a8[_0x591b39(0x344)];this[_0x591b39(0x26b)](_0x3ad02c[_0x591b39(0x40d)],_0x3ad02c[_0x591b39(0x3d7)][0x0]);}})));}[_0x4e0a0f(0x2be)](_0x6d8e17){const _0x5b556b=_0x4e0a0f;var _0x39a93a,_0x17f441;const {memberID:_0x3849b4,selection:_0x55a029}=_0x6d8e17[_0x5b556b(0x3fb)],{sheetName:_0x4d2e1c,range:_0x304395}=_0x5cefe9['deserializeRangeWithSheet'](_0x55a029),_0x4abf5c={'name':(_0x17f441=(_0x39a93a=this[_0x5b556b(0x457)][_0x5b556b(0x439)](this[_0x5b556b(0x2b4)],_0x3849b4))==null?void 0x0:_0x39a93a[_0x5b556b(0x483)])!=null?_0x17f441:_0x5b556b(0x3b7),'range':this[_0x5b556b(0x3b6)](_0x4d2e1c,_0x304395),'sheetID':_0x4d2e1c,'color':this[_0x5b556b(0x3f6)][_0x5b556b(0x417)](_0x3849b4),'selection':_0x55a029},_0x203e6a=this[_0x5b556b(0x3a1)];_0x203e6a[_0x5b556b(0x33d)](_0x3849b4,_0x4abf5c),this[_0x5b556b(0x3ef)][_0x5b556b(0x2a7)](_0x203e6a);}[_0x4e0a0f(0x25f)](_0x16255d){const _0x14ebfd=_0x4e0a0f,{memberID:_0x1b745c}=_0x16255d[_0x14ebfd(0x3fb)],_0x1fb9df=this[_0x14ebfd(0x3a1)];_0x1fb9df[_0x14ebfd(0x32d)](_0x1b745c),this[_0x14ebfd(0x3ef)][_0x14ebfd(0x2a7)](_0x1fb9df);}[_0x4e0a0f(0x3b6)](_0x5e4a7e,_0x2a1ee4){const _0x12f524=_0x4e0a0f;var _0x496b9b,_0x5cf23a;const _0x59e30b=(_0x5cf23a=(_0x496b9b=this['_univerInstanceService'][_0x12f524(0x1c0)](this['unitID']))==null?void 0x0:_0x496b9b['getSheetBySheetId'](_0x5e4a7e))==null?void 0x0:_0x5cf23a[_0x12f524(0x2b6)]();return(_0x59e30b==null?void 0x0:_0x59e30b[_0x12f524(0x340)](_0x211d6b=>_0x3d65d5[_0x12f524(0x29a)][_0x12f524(0x1bc)](_0x211d6b,_0x2a1ee4)))||_0x2a1ee4;}['_onRefRangeChange'](){const _0x2e4d7f=_0x4e0a0f,_0x3948a5=new _0x3d65d5[(_0x2e4d7f(0x2a3))](),_0xb4672d=_0x351cca(),_0x5a6737=()=>{const _0x4fd607=_0x2e4d7f;_0x3948a5[_0x4fd607(0x3ab)]();const _0x1e6a86=(_0x598151,_0x58936a,_0xd573e9,_0x29bdfd)=>{const _0x5ed474=_0x4fd607;let _0x2cedf1=[];switch(_0x598151['id']){case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x45d)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3c6)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2b0)]:{_0x2cedf1=_0x15fda1['handleDeleteRangeMoveUp'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x472)]:{_0x2cedf1=_0x15fda1['handleInsertCol'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveDownCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x292)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveRightCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x304)](_0x598151,_0x29bdfd);break;}case _0x15fda1['EffectRefRangId'][_0x5ed474(0x3c0)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x35f)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x27d)]:{_0x2cedf1=_0x15fda1['handleMoveRange'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2e5)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3a5)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['RemoveRowCommandId']:{_0x2cedf1=_0x15fda1['handleIRemoveRow'](_0x598151,_0x29bdfd);break;}}const _0x3667dd=_0x15fda1[_0x5ed474(0x418)](_0x2cedf1,_0x29bdfd),_0x507b3a=this[_0x5ed474(0x3a1)]['get'](_0x58936a);if(_0x507b3a&&_0x3667dd){const _0x5d5df4={..._0x507b3a,'range':_0x3667dd};this[_0x5ed474(0x3a1)]['set'](_0x58936a,_0x5d5df4),_0xb4672d(()=>{const _0x4b7fd6=_0x5ed474,_0x5988ed=this[_0x4b7fd6(0x3b5)][_0x4b7fd6(0x2d5)](_0x3667dd,_0x16aa4f=>(_0x5988ed[_0x4b7fd6(0x3ab)](),_0x1e6a86(_0x16aa4f,_0x58936a,_0xd573e9,_0x3667dd)));_0x3948a5[_0x4b7fd6(0x3f0)](_0x5988ed);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4fd607(0x3e9)]((_0x5619bf,_0x382e6c)=>{const _0x126a82=_0x4fd607,{range:_0x4dd476,sheetID:_0x375435}=_0x5619bf,_0x15935a=this[_0x126a82(0x3b5)]['registerRefRange'](_0x4dd476,_0x4c1001=>(_0x15935a['dispose'](),_0x1e6a86(_0x4c1001,_0x382e6c,_0x375435,_0x4dd476)));_0x3948a5[_0x126a82(0x3f0)](_0x15935a);});};this[_0x2e4d7f(0x38a)](_0x3d65d5[_0x2e4d7f(0x31b)](this['_cursorInfo$'][_0x2e4d7f(0x364)](()=>{_0x5a6737();})));}['_toggleOnline'](){const _0x327fd3=_0x4e0a0f;var _0x1276c5,_0x2c2586;if(this[_0x327fd3(0x1c7)]=!0x0,((_0x1276c5=this[_0x327fd3(0x2dc)][_0x327fd3(0x263)]())==null?void 0x0:_0x1276c5['getUnitId']())!==this[_0x327fd3(0x2b4)])return;const _0x566d4e=(_0x2c2586=this[_0x327fd3(0x458)][_0x327fd3(0x236)](_0x15fda1['SheetsSelectionsService'])[_0x327fd3(0x22a)]())==null?void 0x0:_0x2c2586[0x0],_0x31ac52=this[_0x327fd3(0x2dc)][_0x327fd3(0x35d)](_0x3d65d5[_0x327fd3(0x307)][_0x327fd3(0x3ac)])[_0x327fd3(0x214)]();_0x566d4e&&_0x31ac52&&this[_0x327fd3(0x26b)](_0x31ac52[_0x327fd3(0x3e6)](),_0x566d4e);}[_0x4e0a0f(0x1d7)](){this['_online']=!0x1;}};_0x184e5c=_0x2e5d70([_0x1e1e54(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x1e1e54(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x1e1e54(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x1e1e54(0x5,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x1e1e54(0x6,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x1e1e54(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x15fda1[_0x4e0a0f(0x256)]))],_0x184e5c);var _0xcba188=Object['getOwnPropertyDescriptor'],_0x177813=(_0x237964,_0x1708f4,_0x5eceb1,_0x4dabe4)=>{const _0x1ab79c=_0x4e0a0f;for(var _0x50d65b=_0x4dabe4>0x1?void 0x0:_0x4dabe4?_0xcba188(_0x1708f4,_0x5eceb1):_0x1708f4,_0x5ea82e=_0x237964[_0x1ab79c(0x401)]-0x1,_0x200594;_0x5ea82e>=0x0;_0x5ea82e--)(_0x200594=_0x237964[_0x5ea82e])&&(_0x50d65b=_0x200594(_0x50d65b)||_0x50d65b);return _0x50d65b;},_0x19d85c=(_0x16e646,_0x220c70)=>(_0x535913,_0x5791f6)=>_0x220c70(_0x535913,_0x5791f6,_0x16e646);let _0x1a8b3b=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x24c20e,_0x3716b2,_0x7ee558){const _0x153f87=_0x4e0a0f;super(),_0x519c33(this,_0x153f87(0x3b0),new Map()),_0x519c33(this,_0x153f87(0x2eb),new _0x5f36f4[(_0x153f87(0x1f4))]()),(this[_0x153f87(0x2dc)]=_0x24c20e,this[_0x153f87(0x458)]=_0x3716b2,this[_0x153f87(0x252)]=_0x7ee558,this[_0x153f87(0x276)]());}['dispose'](){const _0x5274b0=_0x4e0a0f;super[_0x5274b0(0x3ab)](),this[_0x5274b0(0x2eb)][_0x5274b0(0x440)](),this['_entities'][_0x5274b0(0x3e9)](_0x517d84=>_0x517d84['dispose']());}[_0x4e0a0f(0x28b)](_0x5d4155){const _0x13532c=_0x4e0a0f;return this[_0x13532c(0x3b0)][_0x13532c(0x41e)](_0x5d4155)?this[_0x13532c(0x3b0)]['get'](_0x5d4155)[_0x13532c(0x251)]:this['_entityInit$'][_0x13532c(0x2c1)](_0x5f36f4[_0x13532c(0x2af)](_0x38631e=>_0x38631e[_0x13532c(0x2b4)]===_0x5d4155),_0x5f36f4['switchMap'](_0x44effb=>_0x44effb[_0x13532c(0x251)]));}[_0x4e0a0f(0x276)](){const _0x53af69=_0x4e0a0f;this['_univerInstanceService'][_0x53af69(0x47e)](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)])[_0x53af69(0x2c1)](_0x5f36f4['takeUntil'](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](async _0x34ff02=>{const _0x241371=_0x53af69,_0x2dba0c=_0x34ff02[_0x241371(0x347)](),_0xf28859=await this[_0x241371(0x253)](_0x2dba0c);this[_0x241371(0x2eb)][_0x241371(0x2a7)](_0xf28859),this[_0x241371(0x3b0)][_0x241371(0x33d)](_0x2dba0c,_0xf28859);}),this[_0x53af69(0x2dc)]['getTypeOfUnitAdded$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x1c2)])[_0x53af69(0x2c1)](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))['pipe'](_0x5f36f4[_0x53af69(0x2af)](_0x54e2e2=>!_0x54e2e2[_0x53af69(0x347)]()[_0x53af69(0x290)]('__')))[_0x53af69(0x364)](async _0x5014f8=>{const _0xa9ec43=_0x53af69,_0x5ed288=_0x5014f8[_0xa9ec43(0x347)](),_0xf2010c=await this['_startDocCollabCursor'](_0x5ed288);this[_0xa9ec43(0x2eb)]['next'](_0xf2010c),this['_entities'][_0xa9ec43(0x33d)](_0x5ed288,_0xf2010c);}),_0x5f36f4['merge'](this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5['UniverInstanceType'][_0x53af69(0x1c2)]),this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)]))['pipe'](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](_0x3b940b=>{const _0x366465=_0x53af69,_0x40df99=_0x3b940b[_0x366465(0x347)](),_0x2590da=this[_0x366465(0x3b0)][_0x366465(0x236)](_0x40df99);_0x2590da&&(_0x2590da[_0x366465(0x3ab)](),this[_0x366465(0x3b0)][_0x366465(0x32d)](_0x40df99));});}async['_startSheetCollabCursor'](_0x175035){const _0x186654=_0x4e0a0f,_0x54f8e6=await this['_collabSessionService']['requireSession'](_0x175035),_0x4c1a16=this[_0x186654(0x458)]['createInstance'](_0x184e5c,_0x175035,_0x54f8e6);return _0x4c1a16[_0x186654(0x265)](),_0x4c1a16;}async[_0x4e0a0f(0x1d2)](_0x5b3f32){const _0x35b08c=_0x4e0a0f,_0x52922b=await this['_collabSessionService'][_0x35b08c(0x2cf)](_0x5b3f32),_0x1c2164=this['_injector']['createInstance'](_0x420b41,_0x5b3f32,_0x52922b);return _0x1c2164[_0x35b08c(0x265)](),_0x1c2164;}};_0x1a8b3b=_0x177813([_0x19d85c(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x19d85c(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['Injector'])),_0x19d85c(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0x1a8b3b);const _0x229689=0x14,_0x83e6a2=0xc8,_0x30c48d=0x4,_0x2baa1d=0x5;function _0x319ccb(_0x627b44,_0x94d701){const _0x4e41ab=_0x4e0a0f;let {radius:_0x415de1,width:_0x1252e3,height:_0x30d341}=_0x94d701;_0x415de1=_0x415de1!=null?_0x415de1:0x0,_0x1252e3=_0x1252e3!=null?_0x1252e3:0x1e,_0x30d341=_0x30d341!=null?_0x30d341:0x1e;let _0x4f883a=0x0,_0x4bb270=0x0,_0x2b80dd=0x0;_0x4f883a=_0x4bb270=_0x2b80dd=Math[_0x4e41ab(0x39c)](_0x415de1,_0x1252e3/0x2,_0x30d341/0x2),_0x627b44[_0x4e41ab(0x266)](),_0x627b44['moveTo'](_0x4f883a,0x0),_0x627b44[_0x4e41ab(0x235)](_0x1252e3-_0x4bb270,0x0),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x4bb270,_0x4bb270,_0x4bb270,Math['PI']*0x3/0x2,0x0,!0x1),_0x627b44['lineTo'](_0x1252e3,_0x30d341-_0x2b80dd),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x2b80dd,_0x30d341-_0x2b80dd,_0x2b80dd,0x0,Math['PI']/0x2,!0x1),_0x627b44[_0x4e41ab(0x235)](0x0,_0x30d341),_0x627b44[_0x4e41ab(0x235)](0x0,_0x4f883a),_0x627b44[_0x4e41ab(0x1e7)](_0x4f883a,_0x4f883a,_0x4f883a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x627b44[_0x4e41ab(0x272)](),_0x94d701[_0x4e41ab(0x2c7)]&&(_0x627b44[_0x4e41ab(0x2f8)](),_0x627b44[_0x4e41ab(0x343)]=_0x94d701[_0x4e41ab(0x2c7)],_0x94d701['fillRule']==='evenodd'?_0x627b44[_0x4e41ab(0x2c7)](_0x4e41ab(0x48d)):_0x627b44[_0x4e41ab(0x2c7)](),_0x627b44['restore']());}class _0x5b2f04 extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x1877b4,_0xb5126){const _0x3f2347=_0x4e0a0f;super(_0x1877b4,_0xb5126),_0x519c33(this,_0x3f2347(0x1b6)),_0x519c33(this,_0x3f2347(0x1d4)),(this[_0x3f2347(0x1b6)]=_0xb5126==null?void 0x0:_0xb5126[_0x3f2347(0x1b6)],this[_0x3f2347(0x1d4)]=_0xb5126==null?void 0x0:_0xb5126['text']);}static[_0x4e0a0f(0x437)](_0x54dc4d,_0x43c0ab){const _0x401195=_0x4e0a0f,{text:_0x1641a8,color:_0x2735e4}=_0x43c0ab;_0x54dc4d['save'](),_0x54dc4d[_0x401195(0x476)]=_0x401195(0x244);const _0x50e4ff=_0x54dc4d[_0x401195(0x221)](_0x1641a8)['width'],_0x18ade3=Math[_0x401195(0x39c)](_0x50e4ff+0x2*_0x30c48d,_0x83e6a2);_0x319ccb(_0x54dc4d,{'height':_0x229689,'radius':0x4,'width':_0x18ade3,'fill':_0x2735e4}),_0x54dc4d['fillStyle']=_0x401195(0x399);const _0x357372=_0x30c48d,_0x5a3fa5=_0x229689-_0x2baa1d,_0x290063=_0x83e6a2-0x2*_0x30c48d;if(_0x50e4ff>_0x290063){let _0x3e8240='',_0x5a2f57=0x0;for(const _0x469650 of _0x1641a8){const _0x15f404=_0x54dc4d[_0x401195(0x221)](_0x469650)[_0x401195(0x1c9)];if(_0x5a2f57+_0x15f404<=_0x290063-_0x54dc4d[_0x401195(0x221)](_0x401195(0x2fc))[_0x401195(0x1c9)])_0x3e8240+=_0x469650,_0x5a2f57+=_0x15f404;else{_0x3e8240+=_0x401195(0x2fc);break;}}_0x54dc4d[_0x401195(0x288)](_0x3e8240,_0x357372,_0x5a3fa5);}else _0x54dc4d['fillText'](_0x1641a8,_0x357372,_0x5a3fa5);_0x54dc4d[_0x401195(0x2f6)]();}[_0x4e0a0f(0x3aa)](_0x2ab8f5){const _0x5c17ff=_0x4e0a0f;_0x5b2f04[_0x5c17ff(0x437)](_0x2ab8f5,this);}}const _0x50cfe3=_0x4e0a0f(0x468),_0x140d89='collab-text-range-',_0x5e5c20=_0x4e0a0f(0x378),_0x1ac988=0x6,_0x5e4d8c=1.5,_0x444cdb=0x4,_0x58d0e4=1.5,_0x1f38c6=_0x4e0a0f(0x26f);class _0xfd4ff8{constructor(_0x26d56a,_0x2d569e,_0x5ddc46,_0x1e4e37){const _0xe38f79=_0x4e0a0f;_0x519c33(this,_0xe38f79(0x2fb),[]),_0x519c33(this,'_anchor',null),_0x519c33(this,_0xe38f79(0x1d8),null),_0x519c33(this,'_anchorDot',null),_0x519c33(this,'_hideTimer',null),_0x519c33(this,_0xe38f79(0x2e8),null),(this['_cursor']=_0x26d56a,this[_0xe38f79(0x220)]=_0x2d569e,this[_0xe38f79(0x39a)]=_0x5ddc46,this[_0xe38f79(0x452)]=_0x1e4e37,this[_0xe38f79(0x39d)]());}set[_0x4e0a0f(0x366)](_0x5d25b8){const _0x406d2b=_0x4e0a0f;_0x5d25b8?(this[_0x406d2b(0x240)]&&this[_0x406d2b(0x240)][_0x406d2b(0x2a6)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x480)]()):(this['_anchorDot']&&this['_anchorDot'][_0x406d2b(0x480)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x2a6)]());}[_0x4e0a0f(0x3ab)](){const _0x281997=_0x4e0a0f;for(const _0xdbd56f of this[_0x281997(0x2fb)])_0xdbd56f[_0x281997(0x3ab)]();this[_0x281997(0x1d8)]&&this['_textBubble'][_0x281997(0x3ab)](),this['_anchorDot']&&this[_0x281997(0x240)][_0x281997(0x3ab)](),this[_0x281997(0x211)]&&this[_0x281997(0x211)][_0x281997(0x3ab)](),this[_0x281997(0x2e8)]&&this[_0x281997(0x2e8)]();}[_0x4e0a0f(0x39d)](){const _0x3d387d=_0x4e0a0f;var _0x2e4ec6;const {_docSkeleton:_0x11ad8e,_document:_0x4d250e}=this,{color:_0x210acb,name:_0x1f8df0,ranges:_0x4ed052}=this[_0x3d387d(0x24f)],_0xa4484f=_0x4d250e['getOffsetConfig'](),{docsLeft:_0x1055ad,docsTop:_0x66eafc}=_0xa4484f,_0x404205=new _0x2cb679[(_0x3d387d(0x28e))](_0xa4484f,_0x11ad8e);for(const {startOffset:_0x346e3c,endOffset:_0x31c63d,rangeType:_0x3c151e,segmentId:_0x134fbe,segmentPage:_0x5030e0,collapsed:_0x11cafc,isActive:_0x2d1e6a}of _0x4ed052){const _0x4a0383=_0x11ad8e[_0x3d387d(0x391)](_0x346e3c,!0x0,_0x134fbe,_0x5030e0);let _0x47f1e8=_0x11ad8e[_0x3d387d(0x391)](_0x31c63d,!0x0,_0x134fbe,_0x5030e0);if(_0x47f1e8==null&&(_0x47f1e8=_0x11ad8e['findNodePositionByCharIndex'](_0x31c63d-0x1,!0x1,_0x134fbe,_0x5030e0)),_0x2d1e6a){const {contentBoxPointGroup:_0x19feec}=_0x404205[_0x3d387d(0x26a)](_0x47f1e8,_0x47f1e8);if(_0x19feec[_0x3d387d(0x401)]===0x0)continue;this['_drawAnchor'](_0x210acb,_0x19feec,_0x1055ad,_0x66eafc,_0x1f8df0),this[_0x3d387d(0x2e8)]=this['_handleHover']();}if(_0x4a0383&&_0x47f1e8){if(_0x3c151e===_0x3d65d5['DOC_RANGE_TYPE'][_0x3d387d(0x460)]){const _0x25b6b7=new _0x2cb679[(_0x3d387d(0x2c3))](_0xa4484f,_0x11ad8e),{pointGroup:_0x299a4b}=(_0x2e4ec6=_0x25b6b7[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8))!=null?_0x2e4ec6:{};if(_0x299a4b==null||_0x299a4b['length']===0x0)continue;this[_0x3d387d(0x336)](_0x210acb,_0x299a4b,_0x1055ad,_0x66eafc);}else{if(!_0x11cafc){const {borderBoxPointGroup:_0x511e8d}=_0x404205[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8);if(_0x511e8d[_0x3d387d(0x401)]===0x0)continue;this['_drawTextRange'](_0x210acb,_0x511e8d,_0x1055ad,_0x66eafc);}}}}}[_0x4e0a0f(0x385)](_0x297fd9,_0x106a33,_0x21d938,_0x1d50e2,_0x192b84){const _0x449a4c=_0x4e0a0f,_0x5738dc=this[_0x449a4c(0x223)](_0x106a33),{left:_0x40880b,top:_0x33f2dd,height:_0xef89e6}=_0x5738dc,_0x3ded9a=this[_0x449a4c(0x2fd)](),_0x386119=_0x58d0e4/_0x3ded9a,_0x3a2580=new _0x48b1a2['Rect'](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2,'height':_0xef89e6,'width':_0x5e4d8c,'fill':_0x297fd9||_0x48b1a2['getColor'](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':_0x386119,'stroke':_0x1f38c6,'evented':!0x0});this[_0x449a4c(0x211)]=_0x3a2580,this[_0x449a4c(0x220)]['addObject'](_0x3a2580,_0x2cb679[_0x449a4c(0x474)]);const _0x5e7040=new _0x48b1a2[(_0x449a4c(0x37c))](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x444cdb/0x2,'height':_0x444cdb,'width':_0x444cdb,'fill':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'evented':!0x1});this[_0x449a4c(0x240)]=_0x5e7040,this['_scene'][_0x449a4c(0x25e)](_0x5e7040,_0x2cb679[_0x449a4c(0x474)]);const _0x3114bb=new _0x5b2f04(_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x229689,'text':_0x192b84,'color':_0x297fd9});this['_textBubble']=_0x3114bb,this[_0x449a4c(0x220)][_0x449a4c(0x25e)](_0x3114bb,_0x2cb679[_0x449a4c(0x474)]),this[_0x449a4c(0x366)]=!0x1;}[_0x4e0a0f(0x233)](){const _0x6c5d55=_0x4e0a0f,_0xdecd1a=this[_0x6c5d55(0x211)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x449b9d=_0x6c5d55;this[_0x449b9d(0x366)]=!0x0;}),_0x1537da=this[_0x6c5d55(0x211)][_0x6c5d55(0x36b)]['subscribeEvent'](()=>{const _0x9e337d=_0x6c5d55;this[_0x9e337d(0x331)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5b3277=_0x9e337d;this[_0x5b3277(0x366)]=!0x1;},0x7d0);});return()=>{const _0x4f6319=_0x6c5d55;_0xdecd1a[_0x4f6319(0x21a)](),_0x1537da['unsubscribe']();};}['_drawTextRange'](_0x1dc43c,_0x2d8e85,_0xca5b7,_0x39ad9d){const _0x5bb810=_0x4e0a0f,_0x27f74b=new _0x3d65d5[(_0x5bb810(0x1aa))](_0x1dc43c)[_0x5bb810(0x3b3)](0.2)[_0x5bb810(0x3e2)](),_0x3c46c0=new _0x48b1a2['RegularPolygon'](_0x140d89+_0x3d65d5[_0x5bb810(0x448)](_0x1ac988),{'pointsGroup':_0x2d8e85,'fill':_0x27f74b||_0x48b1a2[_0x5bb810(0x226)](_0x3d65d5[_0x5bb810(0x1b4)][_0x5bb810(0x218)],0.2),'left':_0xca5b7,'top':_0x39ad9d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bb810(0x2fb)][_0x5bb810(0x1c3)](_0x3c46c0),this[_0x5bb810(0x220)][_0x5bb810(0x25e)](_0x3c46c0,_0x2cb679[_0x5bb810(0x474)]);}[_0x4e0a0f(0x336)](_0x209ad5,_0x9babd1,_0x4ca6ab,_0x19e0a6){const _0x9044f3=_0x4e0a0f,_0x4073e3=new _0x3d65d5['ColorKit'](_0x209ad5)[_0x9044f3(0x3b3)](0.2)[_0x9044f3(0x3e2)](),_0x448245=new _0x48b1a2[(_0x9044f3(0x428))](_0x5e5c20+_0x3d65d5[_0x9044f3(0x448)](_0x1ac988),{'pointsGroup':_0x9babd1,'fill':_0x4073e3||_0x48b1a2[_0x9044f3(0x226)](_0x3d65d5[_0x9044f3(0x1b4)]['black'],0.2),'left':_0x4ca6ab,'top':_0x19e0a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x9044f3(0x1c3)](_0x448245),this[_0x9044f3(0x220)][_0x9044f3(0x25e)](_0x448245,_0x2cb679[_0x9044f3(0x474)]);}[_0x4e0a0f(0x223)](_0x906e01){const _0xa09897=_0x906e01[0x0],_0xc870c0=_0xa09897[0x0],_0x3c04fe=_0xa09897[0x2],{x:_0x52b019,y:_0x279e18}=_0xc870c0,{x:_0x3808ca,y:_0x4e6c12}=_0x3c04fe;return{'left':_0x52b019,'top':_0x279e18,'width':_0x3808ca-_0x52b019,'height':_0x4e6c12-_0x279e18};}[_0x4e0a0f(0x2fd)](){const _0x19f7d4=_0x4e0a0f,{scaleX:_0x3581a1,scaleY:_0x2894cf}=this[_0x19f7d4(0x220)]['getAncestorScale']();return Math['max'](_0x3581a1,_0x2894cf);}}var _0x26255b=Object['getOwnPropertyDescriptor'],_0x59857d=(_0x5f4e3b,_0x1894fb,_0x561642,_0x4b5253)=>{for(var _0x1d30bc=_0x4b5253>0x1?void 0x0:_0x4b5253?_0x26255b(_0x1894fb,_0x561642):_0x1894fb,_0x32a53d=_0x5f4e3b['length']-0x1,_0x3d3f37;_0x32a53d>=0x0;_0x32a53d--)(_0x3d3f37=_0x5f4e3b[_0x32a53d])&&(_0x1d30bc=_0x3d3f37(_0x1d30bc)||_0x1d30bc);return _0x1d30bc;},_0x365bd7=(_0x436cb1,_0x1ea3de)=>(_0x4f9972,_0x101563)=>_0x1ea3de(_0x4f9972,_0x101563,_0x436cb1);let _0xfead4d=class extends _0x3d65d5['RxDisposable']{constructor(_0x45f671,_0x5dd99a,_0x5c3a38,_0x1e7cc0,_0x72ddff){const _0x1180bc=_0x4e0a0f;super(),_0x519c33(this,'_cursorShapes',[]),_0x519c33(this,_0x1180bc(0x3f2),[]),(this[_0x1180bc(0x2f5)]=_0x45f671,this[_0x1180bc(0x42b)]=_0x5dd99a,this[_0x1180bc(0x326)]=_0x5c3a38,this[_0x1180bc(0x3cf)]=_0x1e7cc0,this['_themeService']=_0x72ddff,this[_0x1180bc(0x276)]());}['_init'](){const _0x3ba953=_0x4e0a0f,_0x3cdf60=this['_context'][_0x3ba953(0x3c2)],_0x4c4969=this['_docSkeletonManagerService'];this[_0x3ba953(0x38a)](_0x5f36f4[_0x3ba953(0x2ce)]([this[_0x3ba953(0x326)][_0x3ba953(0x28b)](_0x3cdf60),this[_0x3ba953(0x38d)][_0x3ba953(0x387)]])[_0x3ba953(0x2c1)](_0x4c0e1b[_0x3ba953(0x1a8)](([_0x21ed5b,_0x1d526b])=>({'skeleton':_0x4c4969[_0x3ba953(0x42c)](),'cursors':[..._0x21ed5b['values']()][_0x3ba953(0x370)](_0x364fa7=>({..._0x364fa7,'color':this[_0x3ba953(0x38d)][_0x3ba953(0x2e7)](_0x364fa7[_0x3ba953(0x1b6)])}))})))[_0x3ba953(0x364)](_0x125128=>{const _0x8dcf81=_0x3ba953;if(this[_0x8dcf81(0x303)](),_0x125128){const {skeleton:_0x45f7f2,cursors:_0x7a42ea}=_0x125128;this[_0x8dcf81(0x1f2)](_0x45f7f2,_0x7a42ea);}})),this['_initResize'](),this[_0x3ba953(0x2e2)]();}[_0x4e0a0f(0x1f2)](_0x33f740,_0x2dbd05){const _0x2d82a5=_0x4e0a0f,{scene:_0x5356d5,mainComponent:_0x1ecdde}=this['_context'],_0x20287f=_0x2dbd05[_0x2d82a5(0x1a8)](_0x314fb7=>new _0xfd4ff8(_0x314fb7,_0x5356d5,_0x33f740,_0x1ecdde));this[_0x2d82a5(0x3e4)]=_0x20287f,this['_cursors']=_0x2dbd05;}[_0x4e0a0f(0x2d6)](){const _0x33ce00=_0x4e0a0f;this[_0x33ce00(0x303)]();const {scene:_0x409774,mainComponent:_0x52a719}=this[_0x33ce00(0x2f5)],_0xf81a62=this[_0x33ce00(0x42b)][_0x33ce00(0x42c)](),_0x5bb0df=this[_0x33ce00(0x3f2)][_0x33ce00(0x1a8)](_0x89f46f=>new _0xfd4ff8(_0x89f46f,_0x409774,_0xf81a62,_0x52a719));this[_0x33ce00(0x3e4)]=_0x5bb0df;}['_removeCollabCursors'](){const _0x10df7b=_0x4e0a0f;this[_0x10df7b(0x3e4)]['forEach'](_0x56762f=>_0x56762f[_0x10df7b(0x3ab)]()),this['_cursorShapes']=[];}[_0x4e0a0f(0x2e2)](){const _0x2641c8=_0x4e0a0f,_0x3224be=[_0x2cb679['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2641c8(0x3cf)][_0x2641c8(0x42e)](_0x432e92=>{const _0x22906a=_0x2641c8;_0x3224be['includes'](_0x432e92['id'])&&_0x432e92['params'][_0x22906a(0x3c2)]===this['_context']['unitId']&&this[_0x22906a(0x2d6)]();}));}[_0x4e0a0f(0x3d5)](){const _0x35c78a=_0x4e0a0f;this[_0x35c78a(0x38a)](_0x3d65d5[_0x35c78a(0x34a)](this['_context'][_0x35c78a(0x2e4)]['onTransformChange$'])['pipe'](_0x4c0e1b[_0x35c78a(0x2af)](_0x291202=>_0x291202[_0x35c78a(0x1d3)]===_0x48b1a2[_0x35c78a(0x24e)][_0x35c78a(0x1bd)]),_0x4c0e1b[_0x35c78a(0x3a9)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xfead4d=_0x59857d([_0x365bd7(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x301e8e['DocSkeletonManagerService'])),_0x365bd7(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x365bd7(0x3,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x365bd7(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x36f)]))],_0xfead4d);const _0x5e3ed6=0x1,_0x107d1c=1.5;class _0x4e0ebf extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x21d49a,_0x2b6474){const _0x4f905e=_0x4e0a0f;super(_0x21d49a,_0x2b6474),_0x519c33(this,_0x4f905e(0x3c4)),_0x519c33(this,_0x4f905e(0x464),!0x1),_0x519c33(this,_0x4f905e(0x32a)),_0x519c33(this,_0x4f905e(0x33c),''),_0x519c33(this,'_labelPosition','top'),_0x519c33(this,'_backgroundColor'),(_0x2b6474&&this[_0x4f905e(0x1da)](_0x2b6474),this[_0x4f905e(0x3df)]['subscribeEvent'](()=>this[_0x4f905e(0x1da)]({'hovered':!0x0})),this[_0x4f905e(0x36b)][_0x4f905e(0x294)](()=>this[_0x4f905e(0x1da)]({'hovered':!0x1})));}[_0x4e0a0f(0x1da)](_0x5b8d5d){const _0x3f2d38=_0x4e0a0f;var _0x1e8cd3,_0x5942bb,_0x212275,_0x419560,_0x163f37,_0x2bdbdd;this[_0x3f2d38(0x3c4)]=(_0x1e8cd3=_0x5b8d5d[_0x3f2d38(0x1b6)])!=null?_0x1e8cd3:this[_0x3f2d38(0x3c4)],this['_hovered']=(_0x5942bb=_0x5b8d5d['hovered'])!=null?_0x5942bb:this['_hovered'],this['_range']=(_0x212275=_0x5b8d5d[_0x3f2d38(0x2b7)])!=null?_0x212275:this['_range'],this[_0x3f2d38(0x33c)]=(_0x419560=_0x5b8d5d[_0x3f2d38(0x483)])!=null?_0x419560:this[_0x3f2d38(0x33c)],this[_0x3f2d38(0x31a)]=(_0x163f37=_0x5b8d5d['labelPosition'])!=null?_0x163f37:this[_0x3f2d38(0x31a)],this[_0x3f2d38(0x393)]=(_0x2bdbdd=_0x5b8d5d[_0x3f2d38(0x2ee)])!=null?_0x2bdbdd:this[_0x3f2d38(0x393)],this[_0x3f2d38(0x2a0)]({'width':_0x5b8d5d[_0x3f2d38(0x1c9)],'height':_0x5b8d5d[_0x3f2d38(0x2c8)]});}[_0x4e0a0f(0x249)](_0x217cd2){const _0x3ddaba=_0x4e0a0f,{row:_0x53b230,column:_0x10a715}=_0x217cd2;if(_0x53b230>=this[_0x3ddaba(0x32a)][_0x3ddaba(0x2e1)]&&_0x53b230<=this['_range']['endRow']&&_0x10a715>=this['_range'][_0x3ddaba(0x3fc)]&&_0x10a715<=this['_range'][_0x3ddaba(0x345)]){this[_0x3ddaba(0x1da)]({'hovered':!0x0});return;}this[_0x3ddaba(0x1da)]({'hovered':!0x1});}[_0x4e0a0f(0x2cd)](_0x1bb40c){return!0x1;}[_0x4e0a0f(0x3aa)](_0x1b62c7){const _0xedfae3=_0x4e0a0f;_0x48b1a2[_0xedfae3(0x37c)][_0xedfae3(0x437)](_0x1b62c7,{'width':this[_0xedfae3(0x1c9)],'height':this['height'],'strokeWidth':_0x107d1c,'stroke':this[_0xedfae3(0x3c4)],'evented':!0x1,'fill':this[_0xedfae3(0x393)]}),this['_hovered']&&(_0x1b62c7['save'](),_0x1b62c7['transform'](0x1,0x0,0x0,0x1,this[_0xedfae3(0x1c9)],this[_0xedfae3(0x31a)]==='bottom'?0x0:-_0x229689),_0x5b2f04[_0xedfae3(0x437)](_0x1b62c7,{'text':this['_name'],'color':this[_0xedfae3(0x3c4)]}),_0x1b62c7[_0xedfae3(0x2f6)]());}}var _0xc88733=Object[_0x4e0a0f(0x373)],_0x2dcaa0=(_0x4e4f77,_0x3fee74,_0x277880,_0x25f177)=>{const _0x4f8af3=_0x4e0a0f;for(var _0x314c19=_0x25f177>0x1?void 0x0:_0x25f177?_0xc88733(_0x3fee74,_0x277880):_0x3fee74,_0x5293a5=_0x4e4f77[_0x4f8af3(0x401)]-0x1,_0x42f1bf;_0x5293a5>=0x0;_0x5293a5--)(_0x42f1bf=_0x4e4f77[_0x5293a5])&&(_0x314c19=_0x42f1bf(_0x314c19)||_0x314c19);return _0x314c19;},_0x4962e8=(_0x1a265d,_0xae2b27)=>(_0xf2da3d,_0x4ea7f9)=>_0xae2b27(_0xf2da3d,_0x4ea7f9,_0x1a265d);const _0x175c5c=0x1389;let _0x1d6ca3=class extends _0x3d65d5['RxDisposable']{constructor(_0xf84033,_0x2bec21,_0x118adf,_0x5db567){const _0x48c101=_0x4e0a0f;super(),_0x519c33(this,'_cursors',new Set()),_0x519c33(this,'_lastPointer',null),(this[_0x48c101(0x2f5)]=_0xf84033,this['_sheetSkeletonManagerService']=_0x2bec21,this['_collabCursorController']=_0x118adf,this[_0x48c101(0x38d)]=_0x5db567,this[_0x48c101(0x276)]());}['_init'](){const _0x191eae=_0x4e0a0f;this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x2c1)](_0x4c0e1b['takeUntil'](this[_0x191eae(0x33b)]),_0x4c0e1b[_0x191eae(0x461)](_0x35e4e5=>{const _0x475256=_0x191eae;if(_0x35e4e5){const _0x49cf66=_0x35e4e5[_0x475256(0x358)];return _0x5f36f4[_0x475256(0x2ce)](this['_collabCursorController'][_0x475256(0x28b)](this[_0x475256(0x2f5)][_0x475256(0x3c2)]),this[_0x475256(0x38d)][_0x475256(0x387)])['pipe'](_0x4c0e1b[_0x475256(0x1a8)](([_0x13985c,_0x2dc93b])=>{const _0x42054f=_0x475256,_0x2e3b85=new Map();return _0x13985c[_0x42054f(0x3e9)]((_0x13cf6a,_0x29cc33)=>{const _0x9e0d3c=_0x42054f;if(_0x13cf6a[_0x9e0d3c(0x406)]===_0x49cf66){const _0xdc32df={..._0x13cf6a};_0xdc32df['color']=this['_themeService'][_0x9e0d3c(0x2e7)](_0x13cf6a[_0x9e0d3c(0x1b6)]),_0x2e3b85[_0x9e0d3c(0x33d)](_0x29cc33,_0xdc32df);}}),{'skeleton':_0x35e4e5,'cursors':_0x2e3b85};}));}return _0x5f36f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x191eae(0x364)](({skeleton:_0x52ed5c,cursors:_0x57fb67})=>{const _0x3efb50=_0x191eae;this[_0x3efb50(0x303)](),_0x52ed5c&&this[_0x3efb50(0x1f2)](_0x52ed5c,_0x57fb67);}),this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x364)](_0x53163b=>{const _0x58683b=_0x191eae;if(_0x53163b==null)return;const {skeleton:_0x32c0bd}=_0x53163b,{scene:_0xc0e01f}=this[_0x58683b(0x2f5)];_0xc0e01f[_0x58683b(0x3a3)][_0x58683b(0x294)](_0x3d65d5[_0x58683b(0x469)](_0x2258f1=>{const _0x26edf5=_0x58683b;var _0x435fd4,_0x1c8834;const {offsetX:_0x57506b,offsetY:_0x3d5511}=_0x2258f1,{x:_0x3395e7,y:_0x17ed66}=_0xc0e01f[_0x26edf5(0x405)](_0x48b1a2['Vector2'][_0x26edf5(0x298)]([_0x57506b,_0x3d5511])),{scaleX:_0xf32260,scaleY:_0x5275a1}=_0xc0e01f['getAncestorScale'](),_0x149ca4=_0xc0e01f['getViewport'](_0x48b1a2[_0x26edf5(0x295)][_0x26edf5(0x3dd)]),_0x18cc8c=_0xc0e01f['getVpScrollXYInfoByPosToVp'](_0x48b1a2[_0x26edf5(0x2e9)][_0x26edf5(0x298)]([_0x3395e7,_0x17ed66]),_0x149ca4),_0x3d9cd4=_0x32c0bd['getCellPositionByOffset'](_0x57506b,_0x3d5511,_0xf32260,_0x5275a1,_0x18cc8c);((_0x435fd4=this[_0x26edf5(0x39f)])==null?void 0x0:_0x435fd4['column'])===_0x3d9cd4[_0x26edf5(0x26c)]&&((_0x1c8834=this[_0x26edf5(0x39f)])==null?void 0x0:_0x1c8834[_0x26edf5(0x394)])===_0x3d9cd4[_0x26edf5(0x394)]||this['_cursors']['forEach'](_0x3ec7e7=>{const _0x877422=_0x26edf5;_0x3ec7e7[_0x877422(0x249)](_0x3d9cd4);});},0x64));});}['_updateCollabCursors'](_0x3e7040,_0x1e7e61){const _0x266c8e=_0x4e0a0f;var _0x1d9c98;const _0x5dbe7b=(_0x1d9c98=this[_0x266c8e(0x416)]['getCurrent']())==null?void 0x0:_0x1d9c98[_0x266c8e(0x408)];if(!_0x5dbe7b)return;const _0xbac28f=this['_getSheetObject']();if(!_0xbac28f)return;this[_0x266c8e(0x3f2)][_0x266c8e(0x3e9)](_0x123c4b=>{const _0x2ac356=_0x266c8e;_0x123c4b[_0x2ac356(0x3d0)]();});const {scene:_0x3fe52a}=_0xbac28f,_0x383d25=_0x5c2cdd(Array['from'](_0x1e7e61[_0x266c8e(0x3f8)]()))[_0x266c8e(0x1a8)](_0x2f12ba=>{const _0x4ad135=_0x266c8e,{color:_0x5020a3,range:_0x24eb5a,name:_0x22ffee,selection:_0x1c2090,sheetID:_0x27317e}=_0x2f12ba,{startColumn:_0x727c3d,startRow:_0x3f0cfd,endColumn:_0x1a740e,endRow:_0x28ced7}=_0x24eb5a,_0x2841b3=_0x5df617[_0x4ad135(0x352)](_0x3f0cfd,_0x727c3d,_0x3fe52a,_0x5dbe7b),_0x411673=_0x5df617['getCoordByCell'](_0x28ced7,_0x1a740e,_0x3fe52a,_0x5dbe7b),{columnHeaderHeightAndMarginTop:_0x59223f}=_0x5dbe7b,{startX:_0x365eed,startY:_0x444040}=_0x2841b3,{endX:_0x5e74fa,endY:_0x288379}=_0x411673,_0x2e5590=_0x5e74fa-_0x365eed,_0x48a703=_0x288379-_0x444040,_0x232fe0={'labelPosition':_0x444040-_0x59223f>=_0x229689?'top':_0x4ad135(0x41b),'sheetID':_0x27317e,'range':_0x24eb5a,'color':_0x5020a3,'name':_0x22ffee,'selection':_0x1c2090,'left':_0x365eed,'top':_0x444040,'width':_0x2e5590,'height':_0x48a703,'evented':!0x1,'zIndex':_0x175c5c};return new _0x4e0ebf(_0x22ffee,_0x232fe0);});_0x3fe52a[_0x266c8e(0x43b)](_0x383d25,_0x5e3ed6),this[_0x266c8e(0x3f2)]=new Set(_0x383d25);}[_0x4e0a0f(0x303)](){const _0x869132=_0x4e0a0f;var _0x4f37de;(_0x4f37de=this[_0x869132(0x3f2)])==null||_0x4f37de[_0x869132(0x3e9)](_0x14403a=>_0x14403a['dispose']());}[_0x4e0a0f(0x296)](){const _0xb2ef1b=_0x4e0a0f;return _0x5df617[_0xb2ef1b(0x3dc)](this['_context'][_0xb2ef1b(0x3f1)],this['_context']);}};_0x1d6ca3=_0x2dcaa0([_0x4962e8(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5df617[_0x4e0a0f(0x488)])),_0x4962e8(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x4962e8(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['ThemeService']))],_0x1d6ca3);function _0x5c2cdd(_0x4321fa){const _0x148863=_0x4e0a0f,_0x5bafbc=new Map();return _0x4321fa[_0x148863(0x3e9)](_0xedc922=>{const _0x1e19ba=_0x148863;if(_0x5bafbc[_0x1e19ba(0x41e)](_0xedc922['selection'])){const _0x43e345=_0x5bafbc['get'](_0xedc922[_0x1e19ba(0x369)]);_0x43e345[_0x1e19ba(0x483)]+=',\x20'+_0xedc922[_0x1e19ba(0x483)];}else _0x5bafbc['set'](_0xedc922[_0x1e19ba(0x369)],_0xedc922);}),Array['from'](_0x5bafbc['values']());}var _0x53e8c5=Object[_0x4e0a0f(0x373)],_0x327629=(_0x53b00b,_0x2a21d1,_0x4f1263,_0x54e75d)=>{const _0x19b78f=_0x4e0a0f;for(var _0x2bfe38=_0x54e75d>0x1?void 0x0:_0x54e75d?_0x53e8c5(_0x2a21d1,_0x4f1263):_0x2a21d1,_0x21ec8a=_0x53b00b[_0x19b78f(0x401)]-0x1,_0x54aea7;_0x21ec8a>=0x0;_0x21ec8a--)(_0x54aea7=_0x53b00b[_0x21ec8a])&&(_0x2bfe38=_0x54aea7(_0x2bfe38)||_0x2bfe38);return _0x2bfe38;},_0x41f273=(_0x1df008,_0x8b95a8)=>(_0x1acd1f,_0x196940)=>_0x8b95a8(_0x1acd1f,_0x196940,_0x1df008);let _0x339ee0=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xee6945,_0x169b84,_0x91797e,_0x396621,_0x4d860e,_0x331c3c){const _0x2e1891=_0x4e0a0f;super(),this[_0x2e1891(0x24a)]=_0xee6945,this['_localCacheService']=_0x169b84,this[_0x2e1891(0x407)]=_0x91797e,this[_0x2e1891(0x231)]=_0x396621,this[_0x2e1891(0x3e3)]=_0x4d860e,this['_localeService']=_0x331c3c,this[_0x2e1891(0x1b8)](),this[_0x2e1891(0x42f)]();}['_setupBeforeClosingHandler'](){const _0x32158e=_0x4e0a0f;this[_0x32158e(0x38a)](this[_0x32158e(0x24a)][_0x32158e(0x2b9)](()=>{const _0x35a23c=_0x32158e;if(this[_0x35a23c(0x279)][_0x35a23c(0x247)][_0x35a23c(0x282)])return this['_localeService']['t']('collaboration.offline-data-not-saved');}));}[_0x4e0a0f(0x42f)](){const _0x471f39=_0x4e0a0f;this['disposeWithMe'](this[_0x471f39(0x407)]['event$'][_0x471f39(0x364)](_0x3983b2=>{const _0xd47893=_0x471f39;_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)]['OTHER_CLIENT_EDITING']&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x471))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x2ed)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Warning'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x23a)]&&this[_0xd47893(0x3e3)][_0xd47893(0x480)]({'title':this[_0xd47893(0x354)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0xd47893(0x212),'duration':0x0}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x302)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))+'('+_0x3983b2['data']+')'}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x353)]&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0x3983b2[_0xd47893(0x3fb)]||'')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x1cf)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058['MessageType']['Warning'],'content':this[_0xd47893(0x354)]['t']('session.will-retry')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x3ce)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x32e))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x315)]&&this['_messageService'][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Error'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x40b))});}));}};_0x339ee0=_0x327629([_0x41f273(0x0,_0x47f27f[_0x4e0a0f(0x348)]),_0x41f273(0x1,_0x12afa3[_0x4e0a0f(0x207)]),_0x41f273(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e2)])),_0x41f273(0x3,_0x47f27f['IMessageService']),_0x41f273(0x4,_0x47f27f[_0x4e0a0f(0x3e7)]),_0x41f273(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x339ee0);var _0x26fda9=Object[_0x4e0a0f(0x373)],_0x1ac167=(_0x2bfd31,_0x3f7882,_0x368891,_0x2f4dda)=>{const _0x2565cc=_0x4e0a0f;for(var _0x11d2ad=_0x2f4dda>0x1?void 0x0:_0x2f4dda?_0x26fda9(_0x3f7882,_0x368891):_0x3f7882,_0x48bd73=_0x2bfd31[_0x2565cc(0x401)]-0x1,_0x26e69e;_0x48bd73>=0x0;_0x48bd73--)(_0x26e69e=_0x2bfd31[_0x48bd73])&&(_0x11d2ad=_0x26e69e(_0x11d2ad)||_0x11d2ad);return _0x11d2ad;},_0xd4ca7a=(_0x4404de,_0x41ee42)=>(_0x1682de,_0x13078e)=>_0x41ee42(_0x1682de,_0x13078e,_0x4404de);let _0xf7fe1c=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x53b494,_0x61bab8,_0x3044d3,_0x1ccc90){const _0x515e38=_0x4e0a0f;super(),_0x519c33(this,_0x515e38(0x30e)),(this[_0x515e38(0x458)]=_0x53b494,this[_0x515e38(0x48e)]=_0x61bab8,this[_0x515e38(0x376)]=_0x3044d3,this[_0x515e38(0x2a1)]=_0x1ccc90,this['_init']());}[_0x4e0a0f(0x276)](){const _0x2839e8=_0x4e0a0f;this[_0x2839e8(0x1af)](),this[_0x2839e8(0x29b)](),this[_0x2839e8(0x20f)](),this[_0x2839e8(0x300)]();}['_initUserListener'](){const _0x559c07=_0x4e0a0f;this[_0x559c07(0x38a)](this[_0x559c07(0x2a1)][_0x559c07(0x2db)][_0x559c07(0x364)](_0x807ae7=>{const _0x31b25e=_0x559c07;this['_memberID']=_0x807ae7==null?void 0x0:_0x807ae7[_0x31b25e(0x367)];}));}[_0x4e0a0f(0x1af)](){const _0x405b78=_0x4e0a0f,_0x1b3974=_0x1f367c=>{const _0x590656=_0x2815;var _0x2472e6;this[_0x590656(0x374)]('error',_0x590656(0x2f1)+_0x1f367c[_0x590656(0x208)]+'\x20at\x20'+_0x1f367c[_0x590656(0x1b1)]+':'+_0x1f367c[_0x590656(0x219)]+':'+_0x1f367c['colno']+'\x0a'+(((_0x2472e6=_0x1f367c[_0x590656(0x212)])==null?void 0x0:_0x2472e6['stack'])||''));};window[_0x405b78(0x1d5)](_0x405b78(0x212),_0x1b3974),this[_0x405b78(0x38a)](()=>{const _0x1bb6ac=_0x405b78;window['removeEventListener'](_0x1bb6ac(0x212),_0x1b3974);});}[_0x4e0a0f(0x29b)](){const _0x3ab10b=_0x4e0a0f,_0x52878e=_0xeeee49=>{const _0x24d04c=_0x2815;this[_0x24d04c(0x374)](_0x24d04c(0x212),_0x24d04c(0x287)+_0xeeee49[_0x24d04c(0x25a)]);};window[_0x3ab10b(0x1d5)](_0x3ab10b(0x2a2),_0x52878e),this[_0x3ab10b(0x38a)](()=>{const _0xe57236=_0x3ab10b;window[_0xe57236(0x1b5)]('unhandledrejection',_0x52878e);});}['_monkeyPatchLogService'](){const _0x803a68=_0x4e0a0f,_0x78fab3=this[_0x803a68(0x376)][_0x803a68(0x212)][_0x803a68(0x2bc)](this[_0x803a68(0x376)]);this[_0x803a68(0x376)][_0x803a68(0x212)]=(..._0x2aefef)=>{const _0x243de8=_0x803a68,_0x598baa=_0x2aefef[_0x243de8(0x1a8)](_0x31dc44=>_0x31dc44 instanceof Error?_0x31dc44[_0x243de8(0x208)]+'\x0a'+_0x31dc44[_0x243de8(0x1a6)]:String(_0x31dc44))[_0x243de8(0x3ca)]('\x20');this[_0x243de8(0x374)]('error',_0x243de8(0x390)+_0x598baa),_0x78fab3(..._0x2aefef);},this[_0x803a68(0x38a)](()=>{const _0x1b4376=_0x803a68;this[_0x1b4376(0x376)][_0x1b4376(0x212)]=_0x78fab3;});}[_0x4e0a0f(0x374)](_0xa18c75,_0x386948){const _0x46cc0e=_0x4e0a0f;try{const _0x5611f0={'userId':this['_memberID'],'logLabel':_0xa18c75,'content':_0x386948};this[_0x46cc0e(0x48e)][_0x46cc0e(0x278)]('/universer-api/frontend/logs',{'body':_0x5611f0})[_0x46cc0e(0x24d)](()=>{});}catch{}}};_0xf7fe1c=_0x1ac167([_0xd4ca7a(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0xd4ca7a(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0xd4ca7a(0x2,_0x3d65d5[_0x4e0a0f(0x259)]),_0xd4ca7a(0x3,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0xf7fe1c);const _0x3f564f='collaboration-client-ui.config',_0x37e97f={};var _0x527e17=Object[_0x4e0a0f(0x373)],_0x464b85=(_0x558aba,_0x83f3e4,_0x29bb5b,_0x55e218)=>{for(var _0x2dde88=_0x55e218>0x1?void 0x0:_0x55e218?_0x527e17(_0x83f3e4,_0x29bb5b):_0x83f3e4,_0x4d6666=_0x558aba['length']-0x1,_0x5dfcf3;_0x4d6666>=0x0;_0x4d6666--)(_0x5dfcf3=_0x558aba[_0x4d6666])&&(_0x2dde88=_0x5dfcf3(_0x2dde88)||_0x2dde88);return _0x2dde88;},_0x1928b2=(_0x23ac35,_0x340749)=>(_0x5e676f,_0x49000f)=>_0x340749(_0x5e676f,_0x49000f,_0x23ac35);let _0x1eb585=class{constructor(_0xdf94ff,_0xbd8260){const _0x3341c1=_0x4e0a0f;this[_0x3341c1(0x242)]=_0xdf94ff,this['_renderManagerService']=_0xbd8260;}[_0x4e0a0f(0x46b)](_0xff9efa){const _0x21288c=_0x4e0a0f;this['_transformUndoRedoStack'](_0xff9efa),this[_0x21288c(0x299)](_0xff9efa);}[_0x4e0a0f(0x21e)](_0x470d66){const _0x1ef232=_0x4e0a0f,{unitID:_0x2bb227}=_0x470d66,_0x4464ec=this[_0x1ef232(0x2e6)][_0x1ef232(0x36e)](_0x2bb227)[_0x1ef232(0x3eb)](_0x2cb679[_0x1ef232(0x2a9)]),{redoCache:_0x4174e4}=_0x4464ec[_0x1ef232(0x3a8)]();if(_0x4174e4[_0x1ef232(0x401)]===0x0)return _0x470d66;let _0x175622=_0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66['mutations'][0x0]);for(let _0x517c3e=0x0;_0x517c3e<_0x4174e4[_0x1ef232(0x401)];_0x517c3e++){const _0x19ed5b={'id':'doc.mutation.rich-text-editing','params':{..._0x4174e4[_0x517c3e]}},_0x321c3b=this[_0x1ef232(0x242)][_0x1ef232(0x1fe)](_0x175622,_0x19ed5b,!0x1);if(_0x36b4bf[_0x1ef232(0x43e)](_0x321c3b))throw _0x321c3b['error'];_0x175622=_0x321c3b[_0x1ef232(0x25b)];}return{..._0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66),'mutations':[_0x175622]};}[_0x4e0a0f(0x415)](_0x336a8a){const _0x2f4d78=_0x4e0a0f,{unitID:_0x33acd9}=_0x336a8a,_0x35e715=this[_0x2f4d78(0x2e6)][_0x2f4d78(0x36e)](_0x33acd9)[_0x2f4d78(0x3eb)](_0x2cb679['DocIMEInputManagerService']),{undoCache:_0x25f1ba,redoCache:_0x38f5d8}=_0x35e715[_0x2f4d78(0x3a8)]();if(_0x25f1ba[_0x2f4d78(0x401)]===0x0||_0x38f5d8['length']===0x0)return;const _0x420be7=[],_0x52d684=[];let _0x2d4872=_0x3d65d5['Tools'][_0x2f4d78(0x41d)](_0x336a8a[_0x2f4d78(0x2aa)][0x0]),_0xeb619a=_0x3d65d5[_0x2f4d78(0x349)]['deepClone'](_0x336a8a[_0x2f4d78(0x2aa)][0x0]);for(let _0x59e957=_0x25f1ba[_0x2f4d78(0x401)]-0x1;_0x59e957>=0x0;_0x59e957--){const _0x2dcb1f={'id':_0x2f4d78(0x397),'params':{..._0x25f1ba[_0x59e957]}},_0x588ccd={'id':_0x2f4d78(0x397),'params':{..._0x38f5d8[_0x59e957]}},_0x49a42c=this['_transformService'][_0x2f4d78(0x1fe)](_0x2d4872,_0x2dcb1f,!0x1),_0x1efd1d=this[_0x2f4d78(0x242)][_0x2f4d78(0x1fe)](_0xeb619a,_0x588ccd,!0x1);if(_0x36b4bf[_0x2f4d78(0x43e)](_0x49a42c))throw _0x49a42c['error'];if(_0x36b4bf['isTransformMutationFailure'](_0x1efd1d))throw _0x1efd1d[_0x2f4d78(0x212)];_0x420be7['unshift'](_0x49a42c['m2Prime'][_0x2f4d78(0x344)]),_0x52d684[_0x2f4d78(0x2f0)](_0x1efd1d[_0x2f4d78(0x328)][_0x2f4d78(0x344)]),_0x2d4872=_0x49a42c['m1Prime'],_0xeb619a=_0x1efd1d[_0x2f4d78(0x25b)];}_0x35e715[_0x2f4d78(0x3d6)]({'undoCache':_0x420be7,'redoCache':_0x52d684});}[_0x4e0a0f(0x299)](_0x19dfd8){const _0x40929f=_0x4e0a0f,{unitID:_0x5319af}=_0x19dfd8,_0x1ed597=this[_0x40929f(0x2e6)][_0x40929f(0x36e)](_0x5319af)['with'](_0x2cb679[_0x40929f(0x2a9)]),_0x14bdec=_0x1ed597[_0x40929f(0x268)]();if(_0x14bdec==null)return;const _0x2639f9=[{'id':_0x40929f(0x397),'params':{'unitId':_0x19dfd8[_0x40929f(0x2b4)],'actions':null,'textRanges':[_0x14bdec]}}],_0x5e16af=this[_0x40929f(0x242)]['transformMutationsWithChangeset'](_0x19dfd8,_0x2639f9);if(!_0x36b4bf[_0x40929f(0x2d2)](_0x5e16af))throw _0x5e16af[_0x40929f(0x212)];const _0x20bec8=_0x5e16af[_0x40929f(0x328)][0x0]['params']['textRanges'];Array['isArray'](_0x20bec8)&&_0x20bec8[_0x40929f(0x401)]&&_0x1ed597[_0x40929f(0x26d)](_0x20bec8[0x0]);}};_0x1eb585=_0x464b85([_0x1928b2(0x0,_0x36b4bf['ITransformService']),_0x1928b2(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)])],_0x1eb585);var _0x2923c1=Object[_0x4e0a0f(0x373)],_0x182e85=(_0xe56df6,_0x57db74,_0x2311c6,_0x42f970)=>{for(var _0x41b720=_0x42f970>0x1?void 0x0:_0x42f970?_0x2923c1(_0x57db74,_0x2311c6):_0x57db74,_0x3b7194=_0xe56df6['length']-0x1,_0x46a130;_0x3b7194>=0x0;_0x3b7194--)(_0x46a130=_0xe56df6[_0x3b7194])&&(_0x41b720=_0x46a130(_0x41b720)||_0x41b720);return _0x41b720;},_0x326ca9=(_0xce25fb,_0x4ea6ed)=>(_0x593560,_0x350f8d)=>_0x4ea6ed(_0x593560,_0x350f8d,_0xce25fb);let _0x558573=class{constructor(_0x1493fb,_0x46ce62,_0x4a6565){const _0x37c7a7=_0x4e0a0f;this[_0x37c7a7(0x458)]=_0x1493fb,this['_transformService']=_0x46ce62,this[_0x37c7a7(0x2e3)]=_0x4a6565;}[_0x4e0a0f(0x422)](_0x1f5845){const _0x34377b=_0x4e0a0f;this[_0x34377b(0x32c)](_0x1f5845);}['transformRemoteChangeset'](_0x27ed08){const _0x3a50af=_0x4e0a0f,{unitID:_0x33e9ac}=_0x27ed08,{collaboration:_0x271691}=this['_docStateChangeManagerService'][_0x3a50af(0x341)](_0x33e9ac);if(_0x271691[_0x3a50af(0x401)]===0x0)return _0x27ed08;let _0x39d8a5=_0x3d65d5['Tools'][_0x3a50af(0x41d)](_0x27ed08[_0x3a50af(0x2aa)][0x0]);for(let _0x416478=0x0;_0x416478<_0x271691[_0x3a50af(0x401)];_0x416478++){const _0x591781={'id':_0x3a50af(0x397),'params':{'unitId':_0x271691[_0x416478][_0x3a50af(0x3c2)],..._0x271691[_0x416478][_0x3a50af(0x3b4)]}},_0x49c19a=this[_0x3a50af(0x242)][_0x3a50af(0x1fe)](_0x39d8a5,_0x591781,!0x1);if(_0x36b4bf[_0x3a50af(0x43e)](_0x49c19a))throw _0x49c19a[_0x3a50af(0x212)];_0x39d8a5=_0x49c19a[_0x3a50af(0x25b)];}return{..._0x3d65d5[_0x3a50af(0x349)][_0x3a50af(0x41d)](_0x27ed08),'mutations':[_0x39d8a5]};}[_0x4e0a0f(0x32c)](_0x1a40d2){const _0x423c07=_0x4e0a0f,{unitID:_0x17ac4b}=_0x1a40d2,{history:_0xf698af,collaboration:_0x214cfd}=this[_0x423c07(0x2e3)][_0x423c07(0x341)](_0x17ac4b);if(_0xf698af[_0x423c07(0x401)]===0x0&&_0x214cfd[_0x423c07(0x401)]===0x0)return;const _0x4626bf=[],_0x3913bc=[];let _0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]);for(let _0x89dc7e=_0xf698af['length']-0x1;_0x89dc7e>=0x0;_0x89dc7e--){const _0x3946cf={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x1fa)]}},_0x1535ea={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x3b4)]}},_0x1b1021=this[_0x423c07(0x242)]['transformMutation'](_0x596c00,_0x3946cf,!0x1),_0x2a1a91=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1535ea,!0x1);if(_0x36b4bf['isTransformMutationFailure'](_0x1b1021))throw _0x1b1021[_0x423c07(0x212)];if(_0x36b4bf['isTransformMutationFailure'](_0x2a1a91))throw _0x2a1a91[_0x423c07(0x212)];_0x4626bf['unshift']({..._0xf698af[_0x89dc7e],'undoState':_0x1b1021[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x2a1a91[_0x423c07(0x328)][_0x423c07(0x344)]}),_0x596c00=_0x1b1021[_0x423c07(0x25b)],_0x2c1f4c=_0x2a1a91[_0x423c07(0x25b)];}_0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2['mutations'][0x0]);for(let _0x4920a4=_0x214cfd[_0x423c07(0x401)]-0x1;_0x4920a4>=0x0;_0x4920a4--){const _0x4ec906={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x1fa)]}},_0x1951c3={'id':_0x423c07(0x397),'params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x3b4)]}},_0x337735=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x596c00,_0x4ec906,!0x1),_0x5d158d=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1951c3,!0x1);if(_0x36b4bf[_0x423c07(0x43e)](_0x337735))throw _0x337735['error'];if(_0x36b4bf[_0x423c07(0x43e)](_0x5d158d))throw _0x5d158d[_0x423c07(0x212)];_0x3913bc[_0x423c07(0x2f0)]({..._0x214cfd[_0x4920a4],'undoState':_0x337735[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x5d158d['m2Prime'][_0x423c07(0x344)]}),_0x596c00=_0x337735[_0x423c07(0x25b)],_0x2c1f4c=_0x5d158d['m1Prime'];}this[_0x423c07(0x2e3)][_0x423c07(0x3ae)](_0x17ac4b,{'history':_0x4626bf,'collaboration':_0x3913bc});}};_0x558573=_0x182e85([_0x326ca9(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x326ca9(0x1,_0x36b4bf[_0x4e0a0f(0x291)]),_0x326ca9(0x2,_0x3d65d5['Inject'](_0x2cb679[_0x4e0a0f(0x1f8)]))],_0x558573);var _0x7e9132=Object[_0x4e0a0f(0x373)],_0x4e1137=(_0xd93750,_0x4a1443,_0x329482,_0x454a14)=>{for(var _0xc2352f=_0x454a14>0x1?void 0x0:_0x454a14?_0x7e9132(_0x4a1443,_0x329482):_0x4a1443,_0x496cda=_0xd93750['length']-0x1,_0x536889;_0x496cda>=0x0;_0x496cda--)(_0x536889=_0xd93750[_0x496cda])&&(_0xc2352f=_0x536889(_0xc2352f)||_0xc2352f);return _0xc2352f;},_0x334aac=(_0x2e2eb5,_0x48503a)=>(_0x24fbf9,_0x2100a6)=>_0x48503a(_0x24fbf9,_0x2100a6,_0x2e2eb5);let _0x5c5c0d=class{constructor(_0x373e3c,_0x52922e){const _0x446a8c=_0x4e0a0f;this['_injector']=_0x373e3c,this[_0x446a8c(0x242)]=_0x52922e;}[_0x4e0a0f(0x31d)](_0x95bbe9){const _0x22d269=_0x4e0a0f;var _0x2b51c6;const _0x1c116a=this[_0x22d269(0x458)][_0x22d269(0x236)](_0x301e8e[_0x22d269(0x379)]),_0xdb7f60=(_0x2b51c6=_0x1c116a['getDocRanges']())!=null?_0x2b51c6:[];if(_0xdb7f60[_0x22d269(0x401)]===0x0)return;const _0x1f199d=_0x95bbe9[_0x22d269(0x2b4)],_0x4771da=[{'id':_0x22d269(0x397),'params':{'unitId':_0x1f199d,'actions':null,'textRanges':_0xdb7f60}}],_0x1ec251=this['_transformService'][_0x22d269(0x2cc)](_0x95bbe9,_0x4771da);if(!_0x36b4bf['isTransformMutationsWithChangesetSuccess'](_0x1ec251))throw _0x1ec251['error'];const _0x3e58be=_0x1ec251[_0x22d269(0x328)][0x0][_0x22d269(0x344)][_0x22d269(0x350)];Array[_0x22d269(0x3c1)](_0x3e58be)&&_0x3e58be[_0x22d269(0x401)]&&_0x1c116a['replaceDocRanges'](_0x3e58be,{'unitId':_0x1f199d,'subUnitId':_0x1f199d},!0x1);}};_0x5c5c0d=_0x4e1137([_0x334aac(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x334aac(0x1,_0x36b4bf['ITransformService'])],_0x5c5c0d);var _0x16c437=Object[_0x4e0a0f(0x373)],_0x14dc63=(_0x200ca4,_0x54d067,_0x591b8a,_0x53dc07)=>{for(var _0x32fb9c=_0x53dc07>0x1?void 0x0:_0x53dc07?_0x16c437(_0x54d067,_0x591b8a):_0x54d067,_0x32bcc5=_0x200ca4['length']-0x1,_0x21b173;_0x32bcc5>=0x0;_0x32bcc5--)(_0x21b173=_0x200ca4[_0x32bcc5])&&(_0x32fb9c=_0x21b173(_0x32fb9c)||_0x32fb9c);return _0x32fb9c;},_0x3cd264=(_0x380b9b,_0x4c8857)=>(_0x4496ca,_0x241bf8)=>_0x4c8857(_0x4496ca,_0x241bf8,_0x380b9b);let _0x46cecc=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x5dbcaf,_0x513d47,_0x5f444f,_0x53432b,_0x40d475,_0x5524cc,_0x4d9cc1,_0x190c62){const _0x18d0d3=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x18d0d3(0x426))](_0x12afa3[_0x18d0d3(0x1be)][_0x18d0d3(0x1eb)])),(this[_0x18d0d3(0x2e3)]=_0x5dbcaf,this[_0x18d0d3(0x30b)]=_0x513d47,this[_0x18d0d3(0x2d0)]=_0x5f444f,this['_docTransformStateCacheService']=_0x53432b,this[_0x18d0d3(0x38b)]=_0x40d475,this[_0x18d0d3(0x3d1)]=_0x5524cc,this['_messageService']=_0x4d9cc1,this[_0x18d0d3(0x354)]=_0x190c62,this[_0x18d0d3(0x443)]());}['_initEntityListener'](){const _0x4c4849=_0x4e0a0f;this['disposeWithMe'](this[_0x4c4849(0x30b)][_0x4c4849(0x3e0)]['subscribe'](_0x5dcacc=>{const _0x198a0e=_0x4c4849,_0xbe1b9d=this[_0x198a0e(0x2e3)][_0x198a0e(0x269)][_0x198a0e(0x364)](_0x1652fc=>{const _0x57538d=_0x198a0e;if(_0x1652fc==null)return;const {unitId:_0x3f42b6,redoState:_0xcfbd4a,commandId:_0x47cdad}=_0x1652fc;if(_0x3f42b6!==_0x5dcacc[_0x57538d(0x2b4)])return;const _0x508266={'id':_0x47cdad,'type':_0x3d65d5[_0x57538d(0x404)][_0x57538d(0x289)],'params':{'unitId':_0x3f42b6,'actions':_0xcfbd4a[_0x57538d(0x3c3)],'textRanges':null}};_0x5dcacc['onLocalMutation'](_0x508266);});if(_0x5dcacc[_0x198a0e(0x38a)](_0xbe1b9d),_0x5dcacc instanceof _0x12afa3[_0x198a0e(0x264)]){const _0x59d04b={'onTransformIME':_0x55b7e0=>this[_0x198a0e(0x2d0)][_0x198a0e(0x46b)](_0x55b7e0),'onTransformState':_0x292f40=>this[_0x198a0e(0x325)][_0x198a0e(0x422)](_0x292f40),'onTransformSelections':_0x472032=>this[_0x198a0e(0x38b)]['transformSelections'](_0x472032),'onSyncEditingCollabCursor':_0x2e6c81=>this[_0x198a0e(0x3d1)][_0x198a0e(0x306)](_0x2e6c81),'onTransformRemoteChangesetByIMECache':_0x2119e2=>this[_0x198a0e(0x2d0)][_0x198a0e(0x21e)](_0x2119e2),'onTransformRemoteChangesetByStateCache':_0x2d72b1=>this[_0x198a0e(0x325)][_0x198a0e(0x21e)](_0x2d72b1)};_0x5dcacc['addHandlerCallback'](_0x59d04b);}}));}};_0x46cecc=_0x14dc63([_0x3cd264(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x2cb679[_0x4e0a0f(0x1f8)])),_0x3cd264(0x1,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x224)])),_0x3cd264(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1eb585)),_0x3cd264(0x3,_0x3d65d5['Inject'](_0x558573)),_0x3cd264(0x4,_0x3d65d5['Inject'](_0x5c5c0d)),_0x3cd264(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x3cd264(0x6,_0x47f27f[_0x4e0a0f(0x2ef)]),_0x3cd264(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x46cecc);var _0x38be0f=(_0x65eb20=>(_0x65eb20[_0x65eb20[_0x4e0a0f(0x444)]=0x0]=_0x4e0a0f(0x444),_0x65eb20[_0x65eb20['OK']=0x1]='OK',_0x65eb20[_0x65eb20[_0x4e0a0f(0x338)]=0x2]='INTERNAL_ERROR',_0x65eb20[_0x65eb20['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x65eb20[_0x65eb20['NOT_FOUND']=0x4]='NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x225)]=0x5]=_0x4e0a0f(0x225),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2a8)]=0x6]=_0x4e0a0f(0x2a8),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20d)]=0x7]=_0x4e0a0f(0x20d),_0x65eb20[_0x65eb20['TOO_MANY_REQUESTS']=0x8]=_0x4e0a0f(0x2c4),_0x65eb20[_0x65eb20['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x65eb20[_0x65eb20['LOGIN_FAILED']=0xa]=_0x4e0a0f(0x2ff),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28d)]=0xb]=_0x4e0a0f(0x28d),_0x65eb20[_0x65eb20['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x47c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e3)]=0xe]=_0x4e0a0f(0x1e3),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ed)]=0xf]=_0x4e0a0f(0x1ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x243)]=0x10]=_0x4e0a0f(0x243),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d9)]=0x64]=_0x4e0a0f(0x2d9),_0x65eb20[_0x65eb20['ERROR_AGAIN']=0x65]=_0x4e0a0f(0x487),_0x65eb20[_0x65eb20[_0x4e0a0f(0x258)]=0xc9]='USER_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x297)]=0xca]=_0x4e0a0f(0x297),_0x65eb20[_0x65eb20[_0x4e0a0f(0x210)]=0x1389]=_0x4e0a0f(0x210),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2bb)]=0x1771]=_0x4e0a0f(0x2bb),_0x65eb20[_0x65eb20['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e0a0f(0x433),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b5)]=0x1773]=_0x4e0a0f(0x2b5),_0x65eb20[_0x65eb20[_0x4e0a0f(0x410)]=0x1b59]='APPLY_REJECT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x24c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1b9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x456)]=0x1b5c]=_0x4e0a0f(0x456),_0x65eb20[_0x65eb20['APPLY_DUPLICATED']=0x1b5d]=_0x4e0a0f(0x3cc),_0x65eb20[_0x65eb20[_0x4e0a0f(0x35c)]=0x1f41]=_0x4e0a0f(0x35c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x334)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ed)]=0x232a]=_0x4e0a0f(0x3ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x449)]=0x232b]=_0x4e0a0f(0x449),_0x65eb20[_0x65eb20[_0x4e0a0f(0x380)]=0x232c]=_0x4e0a0f(0x380),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2ea)]=0x232d]=_0x4e0a0f(0x2ea),_0x65eb20[_0x65eb20['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e6)]=0x2712]=_0x4e0a0f(0x1e6),_0x65eb20[_0x65eb20[_0x4e0a0f(0x238)]=0x2713]=_0x4e0a0f(0x238),_0x65eb20[_0x65eb20['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e0a0f(0x322),_0x65eb20[_0x65eb20['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4e0a0f(0x45e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x436)]=0x271c]=_0x4e0a0f(0x436),_0x65eb20[_0x65eb20[_0x4e0a0f(0x284)]=0x271d]=_0x4e0a0f(0x284),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x30c)]=0x271f]=_0x4e0a0f(0x30c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x285)]=0x2af9]=_0x4e0a0f(0x285),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ab)]=0x2ee1]=_0x4e0a0f(0x1ab),_0x65eb20[_0x65eb20[_0x4e0a0f(0x250)]=0x2ee2]='INVALID_INVITE_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1a4)]=0x2ee3]=_0x4e0a0f(0x1a4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x227)]=0x2ee4]=_0x4e0a0f(0x227),_0x65eb20[_0x65eb20[_0x4e0a0f(0x23d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x65eb20[_0x65eb20['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e0a0f(0x425),_0x65eb20[_0x65eb20['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4e0a0f(0x442),_0x65eb20[_0x65eb20['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4e0a0f(0x46d),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20e)]=0x36b1]=_0x4e0a0f(0x20e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x201)]=0x36b2]=_0x4e0a0f(0x201),_0x65eb20[_0x65eb20['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4e0a0f(0x22e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b8)]=0x36b4]=_0x4e0a0f(0x2b8),_0x65eb20[_0x65eb20['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4e0a0f(0x23f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x37f)]=0x36b6]=_0x4e0a0f(0x37f),_0x65eb20[_0x65eb20['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x65eb20[_0x65eb20[_0x4e0a0f(0x413)]=0x36b8]=_0x4e0a0f(0x413),_0x65eb20[_0x65eb20[_0x4e0a0f(0x319)]=0x3715]=_0x4e0a0f(0x319),_0x65eb20[_0x65eb20['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1d0)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x65eb20[_0x65eb20[_0x4e0a0f(0x357)]=0x37dd]=_0x4e0a0f(0x357),_0x65eb20[_0x65eb20['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x234)]=0x3a9a]=_0x4e0a0f(0x234),_0x65eb20[_0x65eb20['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4e0a0f(0x3f4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ba)]=0x3a9c]=_0x4e0a0f(0x3ba),_0x65eb20[_0x65eb20['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4e0a0f(0x47f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3fd)]=0x3a9e]=_0x4e0a0f(0x3fd),_0x65eb20[_0x65eb20[_0x4e0a0f(0x371)]=0x3a9f]=_0x4e0a0f(0x371),_0x65eb20[_0x65eb20['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4e0a0f(0x429),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3e8)]=-0x1]=_0x4e0a0f(0x3e8),_0x65eb20))(_0x38be0f||{});function _0x44f109(_0x35b485){const _0x32045a=_0x4e0a0f;var _0x15be4c,_0x1c60d7;const _0x1e0712=(_0x15be4c=_0x35b485['stageInfo'])==null?void 0x0:_0x15be4c['stage'],_0x5258a7=((_0x1c60d7=_0x35b485[_0x32045a(0x1c6)])==null?void 0x0:_0x1c60d7[_0x32045a(0x356)])||0x0;return _0x1e0712===_0x5cefe9[_0x32045a(0x398)][_0x32045a(0x411)]&&_0x5258a7>0x0;}function _0x4a7554(_0x5766c6){const _0x14994f=_0x4e0a0f;return _0x5766c6[_0x14994f(0x479)]===_0x5cefe9[_0x14994f(0x314)][_0x14994f(0x2ec)];}var _0x35245e=Object[_0x4e0a0f(0x373)],_0x2d94ea=(_0x300915,_0x1ef095,_0xd1dca4,_0x1d3dba)=>{const _0x5ed0d7=_0x4e0a0f;for(var _0x557836=_0x1d3dba>0x1?void 0x0:_0x1d3dba?_0x35245e(_0x1ef095,_0xd1dca4):_0x1ef095,_0x4596e4=_0x300915[_0x5ed0d7(0x401)]-0x1,_0x3007f6;_0x4596e4>=0x0;_0x4596e4--)(_0x3007f6=_0x300915[_0x4596e4])&&(_0x557836=_0x3007f6(_0x557836)||_0x557836);return _0x557836;},_0x594317=(_0x2c79e3,_0x2f9f02)=>(_0x2a0bb1,_0x3d53b2)=>_0x2f9f02(_0x2a0bb1,_0x3d53b2,_0x2c79e3);const _0x20a23f=_0x4e0a0f(0x355),_0x32c7b0=_0x4e0a0f(0x254),_0x14b31c='/universer-api/license/formula/limit/done';let _0x38bf51=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xcee4f6,_0x355fd0,_0x54cb38,_0xa276fb,_0x4877cf,_0x374251,_0x52222c){const _0x14fae1=_0x4e0a0f;super(),_0x519c33(this,_0x14fae1(0x3fa),null),_0x519c33(this,_0x14fae1(0x267),0x0),_0x519c33(this,_0x14fae1(0x213),0x0),_0x519c33(this,_0x14fae1(0x305),[]),_0x519c33(this,_0x14fae1(0x217),0x0),(this['_messageService']=_0xcee4f6,this[_0x14fae1(0x3cf)]=_0x355fd0,this[_0x14fae1(0x46e)]=_0x54cb38,this['_httpService']=_0xa276fb,this[_0x14fae1(0x2dc)]=_0x4877cf,this[_0x14fae1(0x376)]=_0x374251,this['_localeService']=_0x52222c,this['_initCommandInterceptor']());}[_0x4e0a0f(0x485)](){const _0x22c359=_0x4e0a0f;this['disposeWithMe'](this['_commandService'][_0x22c359(0x3d9)]((_0x4074cd,_0x547323)=>{const _0x5ca1f2=_0x22c359;var _0xc9681f;if(_0x4074cd['id']!==_0x5cefe9[_0x5ca1f2(0x47d)]['id'])return;const _0x4b832f=_0x4074cd[_0x5ca1f2(0x344)];if(!this[_0x5ca1f2(0x435)]((_0xc9681f=_0x4b832f[_0x5ca1f2(0x3bd)])!=null?_0xc9681f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x5ca1f2(0x301)](_0x4074cd,_0x547323),this['_showGuardMessage'](),new _0x3d65d5[(_0x5ca1f2(0x3e1))]();})),this['disposeWithMe'](this[_0x22c359(0x3cf)]['onCommandExecuted']((_0x4a15f6,_0xb0eba6)=>{const _0x3ceb78=_0x22c359;if(_0x4a15f6['id']!==_0x5cefe9[_0x3ceb78(0x37e)]['id'])return;const _0x7b3163=_0x4a15f6[_0x3ceb78(0x344)];if(_0x44f109(_0x7b3163)){const _0x206382=_0x3d65d5['generateRandomId']();this[_0x3ceb78(0x305)][_0x3ceb78(0x1c3)](_0x206382),this[_0x3ceb78(0x2f2)](_0x206382);}else{if(_0x4a7554(_0x7b3163)&&this['_taskIds'][_0x3ceb78(0x401)]>0x0){const _0x9a9334=this[_0x3ceb78(0x305)]['shift']();this[_0x3ceb78(0x42a)](_0x9a9334);}}}));}['dispose'](){const _0x5e7e8a=_0x4e0a0f;super[_0x5e7e8a(0x3ab)](),this[_0x5e7e8a(0x375)](),this[_0x5e7e8a(0x305)]=[],this[_0x5e7e8a(0x213)]=0x0,this[_0x5e7e8a(0x267)]=0x0,this[_0x5e7e8a(0x217)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x328715,_0xdb3bb3){const _0x11608c=_0x4e0a0f;for(let _0x249aa7=0x0;_0x249aa7<0x1e;_0x249aa7++)try{if(await this[_0x11608c(0x2c9)](),this['_checkCalculationAvailable']()){this[_0x11608c(0x3f3)](_0x328715,_0xdb3bb3),this[_0x11608c(0x231)]['show']({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x25d)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x2f4)]});return;}await new Promise(_0xf4e2c7=>{const _0x1b161d=_0x11608c;this[_0x1b161d(0x3fa)]=window[_0x1b161d(0x3b9)](_0xf4e2c7,0x3e8);});}catch(_0xaca8a0){this[_0x11608c(0x376)][_0x11608c(0x212)](_0xaca8a0);}this[_0x11608c(0x231)][_0x11608c(0x480)]({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x3f9)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x47a)]});}[_0x4e0a0f(0x3f3)](_0x20cc13,_0x5a2ace){const _0x269265=_0x4e0a0f;try{this[_0x269265(0x3cf)][_0x269265(0x33a)](_0x20cc13['id'],_0x20cc13[_0x269265(0x344)],_0x5a2ace);}catch(_0x24eaa7){this[_0x269265(0x376)][_0x269265(0x212)](_0x24eaa7);}}[_0x4e0a0f(0x3d3)](_0x334e80,_0x3e55ee){const _0x20a24b=_0x4e0a0f;_0x3e55ee<this['_lastResponseTimestamp']||(this[_0x20a24b(0x217)]=_0x3e55ee,this[_0x20a24b(0x267)]=Number['parseInt'](_0x334e80['maxFormulaLimit']),this[_0x20a24b(0x213)]=Number[_0x20a24b(0x48b)](_0x334e80[_0x20a24b(0x202)]));}async['_startCalculationLimit'](_0x49c401){const _0xfc1586=_0x4e0a0f;var _0x452069,_0x50cb18;const _0x522c59=Date[_0xfc1586(0x388)]();try{const _0x404c15=((_0x452069=this[_0xfc1586(0x46e)][_0xfc1586(0x228)](_0x12afa3[_0xfc1586(0x450)]))==null?void 0x0:_0x452069[_0xfc1586(0x489)])||_0x32c7b0,_0x3bbb4b=(await this['_httpService'][_0xfc1586(0x278)](_0x404c15,{'body':JSON[_0xfc1586(0x260)]({'taskId':_0x49c401})}))['body'];if(((_0x50cb18=_0x3bbb4b[_0xfc1586(0x212)])==null?void 0x0:_0x50cb18[_0xfc1586(0x283)])!==_0x38be0f['OK'])return;this[_0xfc1586(0x3d3)](_0x3bbb4b[_0xfc1586(0x432)],_0x522c59);}catch(_0x497582){this[_0xfc1586(0x376)][_0xfc1586(0x212)](_0x497582);}}async['_getFormulaLimitStatus'](_0x3d4fa6){const _0x11b635=_0x4e0a0f;var _0x470904,_0x54e8cd;const _0x476550=Date['now']();try{const _0x3da849=((_0x470904=this[_0x11b635(0x46e)][_0x11b635(0x228)](_0x12afa3[_0x11b635(0x450)]))==null?void 0x0:_0x470904['getformulaLimitStatusUrl'])||_0x20a23f,_0xdd1161=_0x3d4fa6?_0x3da849+_0x11b635(0x466)+encodeURIComponent(_0x3d4fa6):_0x3da849,_0x459dae=(await this[_0x11b635(0x48e)]['get'](_0xdd1161))[_0x11b635(0x486)];if(((_0x54e8cd=_0x459dae[_0x11b635(0x212)])==null?void 0x0:_0x54e8cd[_0x11b635(0x283)])!==_0x38be0f['OK'])return;this[_0x11b635(0x3d3)](_0x459dae[_0x11b635(0x432)],_0x476550);}catch(_0x189ae5){this[_0x11b635(0x376)][_0x11b635(0x212)](_0x189ae5);}}async[_0x4e0a0f(0x42a)](_0x37bd53){const _0x3f0d91=_0x4e0a0f;var _0x51899a,_0x3eab86;const _0x126b27=Date[_0x3f0d91(0x388)]();try{const _0x2b3a09=((_0x51899a=this[_0x3f0d91(0x46e)]['getConfig'](_0x12afa3[_0x3f0d91(0x450)]))==null?void 0x0:_0x51899a[_0x3f0d91(0x36d)])||_0x14b31c,_0x4080cf=(await this[_0x3f0d91(0x48e)][_0x3f0d91(0x278)](_0x2b3a09,{'body':JSON[_0x3f0d91(0x260)]({'taskId':_0x37bd53})}))['body'];if(((_0x3eab86=_0x4080cf[_0x3f0d91(0x212)])==null?void 0x0:_0x3eab86['code'])!==_0x38be0f['OK'])return;this[_0x3f0d91(0x3d3)](_0x4080cf['limitInfo'],_0x126b27);}catch(_0x29231f){this[_0x3f0d91(0x376)]['error'](_0x29231f);}}[_0x4e0a0f(0x3a0)](){const _0x4cc505=_0x4e0a0f;return this[_0x4cc505(0x267)]===0x0?!0x0:this[_0x4cc505(0x267)]-this[_0x4cc505(0x213)]>0x0;}['_clearPolling'](){const _0x2e9842=_0x4e0a0f;this[_0x2e9842(0x3fa)]&&(clearTimeout(this[_0x2e9842(0x3fa)]),this['_pollingInterval']=null);}[_0x4e0a0f(0x23c)](){const _0x349fbc=_0x4e0a0f;this[_0x349fbc(0x231)][_0x349fbc(0x480)]({'content':this[_0x349fbc(0x354)]['t']('formula.calculation.waiting'),'type':_0x225058['MessageType']['Loading']});}[_0x4e0a0f(0x435)](_0x78812c){const _0x44f996=_0x4e0a0f;for(const _0x430f43 of _0x78812c){const {unitId:_0x55d99d,sheetId:_0x16d682,range:_0x5a5e0e}=_0x430f43,_0x35f6ea=this[_0x44f996(0x2dc)]['getUnit'](_0x55d99d);if(!_0x35f6ea)continue;const _0x140461=_0x35f6ea[_0x44f996(0x30d)](_0x16d682);if(!_0x140461)continue;const _0x3fcbde=_0x140461[_0x44f996(0x1b0)]();for(let _0x3bc37b=_0x5a5e0e[_0x44f996(0x2e1)];_0x3bc37b<=_0x5a5e0e[_0x44f996(0x2fe)];_0x3bc37b++)for(let _0x5977aa=_0x5a5e0e['startColumn'];_0x5977aa<=_0x5a5e0e[_0x44f996(0x345)];_0x5977aa++){const _0x3cd518=_0x3fcbde[_0x44f996(0x473)](_0x3bc37b,_0x5977aa);if(_0x3cd518&&(_0x3d65d5[_0x44f996(0x30a)](_0x3cd518['f'])||_0x3d65d5[_0x44f996(0x47b)](_0x3cd518['si'])))return!0x0;}}return!0x1;}};_0x38bf51=_0x2d94ea([_0x594317(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x47f27f[_0x4e0a0f(0x2ef)])),_0x594317(0x1,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x594317(0x2,_0x3d65d5[_0x4e0a0f(0x434)]),_0x594317(0x3,_0x3d65d5['Inject'](_0x280651[_0x4e0a0f(0x37b)])),_0x594317(0x4,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x594317(0x5,_0x3d65d5[_0x4e0a0f(0x259)]),_0x594317(0x6,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['LocaleService']))],_0x38bf51);var _0x4be8c2=Object[_0x4e0a0f(0x373)],_0x97b2bd=(_0x1be490,_0x1645e6,_0x58ccde,_0x577e81)=>{const _0x4551ad=_0x4e0a0f;for(var _0x1bbfef=_0x577e81>0x1?void 0x0:_0x577e81?_0x4be8c2(_0x1645e6,_0x58ccde):_0x1645e6,_0x6b8d4f=_0x1be490[_0x4551ad(0x401)]-0x1,_0x20d3a5;_0x6b8d4f>=0x0;_0x6b8d4f--)(_0x20d3a5=_0x1be490[_0x6b8d4f])&&(_0x1bbfef=_0x20d3a5(_0x1bbfef)||_0x1bbfef);return _0x1bbfef;},_0x2002ea=(_0x40b868,_0x4d3205)=>(_0x5afca4,_0x527896)=>_0x4d3205(_0x5afca4,_0x527896,_0x40b868);let _0x2f44fc=class extends _0x3d65d5['Disposable']{constructor(_0x41aac7,_0x46476f,_0x4c4467){const _0x6d5129=_0x4e0a0f;super(),_0x519c33(this,_0x6d5129(0x317),new Map()),_0x519c33(this,_0x6d5129(0x40c),new Map()),_0x519c33(this,_0x6d5129(0x35e),!0x1),(this[_0x6d5129(0x46e)]=_0x41aac7,this['_localStorageService']=_0x46476f,this[_0x6d5129(0x337)]=_0x4c4467);}[_0x4e0a0f(0x1d6)](){const _0x39cdbd=_0x4e0a0f;this[_0x39cdbd(0x35e)]=!0x0;}['enableLocalCache'](){const _0x1a1d49=_0x4e0a0f;this[_0x1a1d49(0x35e)]=!0x1;}get[_0x4e0a0f(0x247)](){const _0x431ac2=_0x4e0a0f;return this[_0x431ac2(0x40c)];}[_0x4e0a0f(0x3ab)](){const _0x2822d4=_0x4e0a0f;this['exhaustSavingTask']()[_0x2822d4(0x2da)](()=>super['dispose']());}async['loadOfflineData'](_0x3ffa59){const _0x41b3aa=_0x4e0a0f;return this['_disabled']?null:this['_localStorageService'][_0x41b3aa(0x438)](_0x12afa3[_0x41b3aa(0x40e)](_0x3ffa59));}async['saveOfflineData'](_0x23dd0c,_0x1042f3){const _0x5570d3=_0x4e0a0f;return!!this[_0x5570d3(0x37a)]['setItem'](_0x23dd0c,_0x1042f3);}[_0x4e0a0f(0x2ac)](_0xf56a1,_0x249955,_0x2618db,_0x2916aa){const _0x27fc06=_0x4e0a0f,_0x4b2569=this['_revisionService'][_0x27fc06(0x1df)](_0xf56a1);this[_0x27fc06(0x317)][_0x27fc06(0x33d)](_0xf56a1,{'unitID':_0xf56a1,'type':_0x249955,'awaitingChangeset':_0x2618db,'mutations':_0x2916aa,'rev':_0x4b2569}),this['_saveTaskMap'][_0x27fc06(0x41e)](_0xf56a1)||this[_0x27fc06(0x2b3)](_0xf56a1);}[_0x4e0a0f(0x2b3)](_0x1d1dd0){const _0x8c439b=_0x4e0a0f,_0x3acc68=this[_0x8c439b(0x1f6)]();_0x3acc68===0x0?this[_0x8c439b(0x239)](_0x1d1dd0):this[_0x8c439b(0x40c)][_0x8c439b(0x33d)](_0x1d1dd0,setTimeout(()=>this[_0x8c439b(0x239)](_0x1d1dd0),_0x3acc68));}['_getSaveTimeout'](){const _0x190f00=_0x4e0a0f;var _0x5c5b5e;return(_0x5c5b5e=this['_configService'][_0x190f00(0x228)](_0x12afa3[_0x190f00(0x3d8)]))!=null?_0x5c5b5e:_0x12afa3[_0x190f00(0x1ae)];}[_0x4e0a0f(0x239)](_0x205ac5){const _0x437f97=_0x4e0a0f,_0x281622=this[_0x437f97(0x40c)][_0x437f97(0x236)](_0x205ac5);return _0x281622!==void 0x0&&window[_0x437f97(0x342)](_0x281622),this['_localStorageService'][_0x437f97(0x2f9)](_0x12afa3[_0x437f97(0x40e)](_0x205ac5),this[_0x437f97(0x317)][_0x437f97(0x236)](_0x205ac5))[_0x437f97(0x2da)](()=>this[_0x437f97(0x40c)]['delete'](_0x205ac5));}async[_0x4e0a0f(0x1f1)](){const _0x260e2f=_0x4e0a0f,_0x5bec5a=[];this[_0x260e2f(0x40c)]['forEach']((_0x1e3a30,_0xee1472)=>{const _0x21aa3f=_0x260e2f;window[_0x21aa3f(0x342)](_0x1e3a30),_0x5bec5a['push'](this[_0x21aa3f(0x239)](_0xee1472)[_0x21aa3f(0x2da)](()=>{const _0x251739=_0x21aa3f;this[_0x251739(0x40c)]['delete'](_0xee1472);}));}),await Promise[_0x260e2f(0x1cb)](_0x5bec5a);}};_0x2f44fc=_0x97b2bd([_0x2002ea(0x0,_0x3d65d5['IConfigService']),_0x2002ea(0x1,_0x3d65d5[_0x4e0a0f(0x46f)]),_0x2002ea(0x2,_0x3d65d5['Inject'](_0x36b4bf[_0x4e0a0f(0x35a)]))],_0x2f44fc);class _0x4d959f extends _0x3d65d5['RxDisposable']{constructor(){const _0x1b737b=_0x4e0a0f;super(),_0x519c33(this,_0x1b737b(0x427)),this[_0x1b737b(0x427)]=_0x5f36f4[_0x1b737b(0x222)](window,'popstate')[_0x1b737b(0x2c1)](_0x5f36f4[_0x1b737b(0x308)](this[_0x1b737b(0x33b)]),_0x5f36f4[_0x1b737b(0x2a5)](0x1),_0x5f36f4['mapTo'](void 0x0));}[_0x4e0a0f(0x1ce)](_0x4aa5d0,_0x29c211,_0x4c5150=!0x1){const _0x4bece1=_0x4e0a0f,_0x2f45fe=new URL(window[_0x4bece1(0x34b)]['href']);_0x2f45fe[_0x4bece1(0x3c8)]['set'](_0x4aa5d0,_0x29c211),_0x4c5150?window[_0x4bece1(0x363)][_0x4bece1(0x2ba)]('','',_0x2f45fe[_0x4bece1(0x3af)]()):window[_0x4bece1(0x363)][_0x4bece1(0x270)]('','',_0x2f45fe[_0x4bece1(0x3af)]());}['removeParam'](_0x165ebf,_0x464ead=!0x1){const _0x34ee6b=_0x4e0a0f,_0x483862=new URL(window[_0x34ee6b(0x34b)]['href']);_0x483862[_0x34ee6b(0x3c8)][_0x34ee6b(0x32d)](_0x165ebf),_0x464ead?window[_0x34ee6b(0x363)][_0x34ee6b(0x2ba)]('','',_0x483862[_0x34ee6b(0x3af)]()):window[_0x34ee6b(0x363)][_0x34ee6b(0x270)]('','',_0x483862['toString']());}[_0x4e0a0f(0x1f3)](_0x1400ab){const _0x50a952=_0x4e0a0f;var _0x1d1d0d;return(_0x1d1d0d=new URL(window[_0x50a952(0x34b)]['href'])[_0x50a952(0x3c8)][_0x50a952(0x236)](_0x1400ab))!=null?_0x1d1d0d:void 0x0;}}var _0x359dd7=Object[_0x4e0a0f(0x1ef)],_0x168c31=Object[_0x4e0a0f(0x373)],_0x697e9=(_0x311207,_0x20222e,_0x59a07f)=>_0x20222e in _0x311207?_0x359dd7(_0x311207,_0x20222e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59a07f}):_0x311207[_0x20222e]=_0x59a07f,_0x3f0498=(_0x380f95,_0x318ac5,_0x5f24b6,_0x37b645)=>{const _0x2e3964=_0x4e0a0f;for(var _0x41d61a=_0x37b645>0x1?void 0x0:_0x37b645?_0x168c31(_0x318ac5,_0x5f24b6):_0x318ac5,_0x3b4673=_0x380f95[_0x2e3964(0x401)]-0x1,_0x3a1f82;_0x3b4673>=0x0;_0x3b4673--)(_0x3a1f82=_0x380f95[_0x3b4673])&&(_0x41d61a=_0x3a1f82(_0x41d61a)||_0x41d61a);return _0x41d61a;},_0x6bba6=(_0x35a3ae,_0x391ffe)=>(_0x4df778,_0x50b9ae)=>_0x391ffe(_0x4df778,_0x50b9ae,_0x35a3ae),_0xb4fc69=(_0x15e0e5,_0x2f37fe,_0x53e9b4)=>_0x697e9(_0x15e0e5,_0x2f37fe+'',_0x53e9b4);const _0x26d521=_0x4e0a0f(0x400);_0x5d6189['UniverCollaborationClientUIPlugin']=class extends _0x3d65d5[_0x4e0a0f(0x1dc)]{constructor(_0xa1c002=_0x37e97f,_0x19aace,_0x2cce88,_0x3a38a4){const _0x597a15=_0x4e0a0f;super(),this['_config']=_0xa1c002,this['_renderManagerService']=_0x19aace,this['_injector']=_0x2cce88,this['_configService']=_0x3a38a4;const {..._0x572f91}=_0x3d65d5['merge']({},_0x37e97f,this[_0x597a15(0x20a)]);this['_configService']['setConfig'](_0x3f564f,_0x572f91);}[_0x4e0a0f(0x1d1)](){const _0x2a5e10=_0x4e0a0f;this[_0x2a5e10(0x206)](),this['_initDependencies']();}['onRendered'](){const _0x39294c=_0x4e0a0f;this[_0x39294c(0x200)]();}[_0x4e0a0f(0x206)](){const _0x274610=_0x4e0a0f;var _0x85d671;const _0x1e1061=[[_0x5b2747],[_0x38bf51],[_0x5c5c0d],[_0x1eb585],[_0x558573],[_0x58e52d],[_0x41d09c,{'useClass':_0x4d959f}],[_0x280651['ISocketService'],{'useClass':_0x280651['WebSocketService']}],[_0x12afa3['ILocalCacheService'],{'useClass':_0x2f44fc}],[_0x5d6189[_0x274610(0x3ec)]],[_0x46cecc],[_0x339ee0],[_0x1a8b3b],[_0x4333d5],[_0x5d6189['CollaborationDataLoaderController']]];this[_0x274610(0x20a)][_0x274610(0x310)]&&_0x1e1061[_0x274610(0x1c3)]([_0xf7fe1c]),_0x3d65d5[_0x274610(0x3db)](this[_0x274610(0x458)],_0x3d65d5[_0x274610(0x451)](_0x1e1061,(_0x85d671=this[_0x274610(0x20a)])==null?void 0x0:_0x85d671[_0x274610(0x2b1)]));}[_0x4e0a0f(0x200)](){const _0x39dbe7=_0x4e0a0f;this['disposeWithMe'](this[_0x39dbe7(0x2e6)][_0x39dbe7(0x1f9)](_0x3d65d5[_0x39dbe7(0x307)][_0x39dbe7(0x1c2)],[_0xfead4d])),this[_0x39dbe7(0x38a)](this[_0x39dbe7(0x2e6)]['registerRenderModule'](_0x3d65d5[_0x39dbe7(0x307)]['UNIVER_SHEET'],[_0x1d6ca3]));}['_initDependencies'](){const _0x1433db=_0x4e0a0f;_0x3d65d5['touchDependencies'](this[_0x1433db(0x458)],[[_0x1a8b3b],[_0x5d6189['DesktopCollaborationStatusDisplayController']],[_0x46cecc],[_0x339ee0],[_0x5d6189[_0x1433db(0x36c)]],[_0x38bf51]]),this[_0x1433db(0x20a)][_0x1433db(0x310)]&&_0x3d65d5[_0x1433db(0x1ff)](this[_0x1433db(0x458)],[[_0xf7fe1c]]);}},_0xb4fc69(_0x5d6189[_0x4e0a0f(0x409)],_0x4e0a0f(0x205),_0x26d521),_0x5d6189[_0x4e0a0f(0x409)]=_0x3f0498([_0x3d65d5[_0x4e0a0f(0x229)](_0x12afa3[_0x4e0a0f(0x2d3)]),_0x6bba6(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)]),_0x6bba6(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x6bba6(0x3,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189[_0x4e0a0f(0x409)]);var _0x420e19=Object['getOwnPropertyDescriptor'],_0x118156=(_0x2fd2df,_0x3ea0dd,_0x43a2cf,_0x3847e4)=>{const _0x285c83=_0x4e0a0f;for(var _0x12e131=_0x3847e4>0x1?void 0x0:_0x3847e4?_0x420e19(_0x3ea0dd,_0x43a2cf):_0x3ea0dd,_0x288c2d=_0x2fd2df[_0x285c83(0x401)]-0x1,_0x38b514;_0x288c2d>=0x0;_0x288c2d--)(_0x38b514=_0x2fd2df[_0x288c2d])&&(_0x12e131=_0x38b514(_0x12e131)||_0x12e131);return _0x12e131;},_0x14e2a3=(_0x2dc677,_0x19fe64)=>(_0x45da8e,_0x8933f)=>_0x19fe64(_0x45da8e,_0x8933f,_0x2dc677);_0x5d6189[_0x4e0a0f(0x1e5)]=class extends _0x12afa3['CollaborationSocketService']{constructor(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615){super(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615);}async[_0x4e0a0f(0x389)](_0x2d9c36){const _0x14a47d=_0x4e0a0f,_0x22f052=await this['_getSessionTicket'](),_0x229a0f=this['_createSocketURL'](_0x2d9c36,_0x22f052);return this[_0x14a47d(0x45b)](_0x229a0f);}[_0x4e0a0f(0x245)](_0x3fa139,_0x57b526){const _0xc6d18f=_0x4e0a0f,_0x927535=typeof window>'u'?new URL(_0x3fa139):new URL(_0x3fa139,window[_0xc6d18f(0x34b)][_0xc6d18f(0x377)]);_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x323),_0x57b526);const _0x1bfdde=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc6d18f(0x34b)][_0xc6d18f(0x2a4)]);return _0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))&&_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x42d),_0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))),_0x927535[_0xc6d18f(0x3af)]();}async[_0x4e0a0f(0x431)](){const _0x23a031=_0x4e0a0f;var _0x390da8,_0xa08ee6,_0x2fda6b;const _0x2486ae=this[_0x23a031(0x46e)][_0x23a031(0x228)](_0x12afa3[_0x23a031(0x450)]),_0x284ac6=(_0x390da8=_0x2486ae==null?void 0x0:_0x2486ae[_0x23a031(0x1d9)])!=null?_0x390da8:_0x12afa3[_0x23a031(0x327)];return(_0x2fda6b=(_0xa08ee6=(await this[_0x23a031(0x48e)]['get'](_0x284ac6,{'headers':{'Content-Type':_0x23a031(0x3b1)}}))[_0x23a031(0x486)])==null?void 0x0:_0xa08ee6[_0x23a031(0x273)])!=null?_0x2fda6b:'';}},_0x5d6189['BrowserCollaborationSocketService']=_0x118156([_0x14e2a3(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x14e2a3(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0x14e2a3(0x2,_0x3d65d5['IConfigService']),_0x14e2a3(0x3,_0x3d65d5[_0x4e0a0f(0x259)]),_0x14e2a3(0x4,_0x36b4bf[_0x4e0a0f(0x43a)])],_0x5d6189['BrowserCollaborationSocketService']);var _0x574c1e=Object['getOwnPropertyDescriptor'],_0x199410=(_0x2e3afe,_0x591e8f,_0x370de8,_0x36dca0)=>{const _0x4330c9=_0x4e0a0f;for(var _0x547fc0=_0x36dca0>0x1?void 0x0:_0x36dca0?_0x574c1e(_0x591e8f,_0x370de8):_0x591e8f,_0x58cccc=_0x2e3afe[_0x4330c9(0x401)]-0x1,_0x277978;_0x58cccc>=0x0;_0x58cccc--)(_0x277978=_0x2e3afe[_0x58cccc])&&(_0x547fc0=_0x277978(_0x547fc0)||_0x547fc0);return _0x547fc0;},_0x311d1d=(_0x1433f1,_0x318314)=>(_0x45bbec,_0x28e426)=>_0x318314(_0x45bbec,_0x28e426,_0x1433f1);_0x5d6189[_0x4e0a0f(0x1c8)]=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x3a934e,_0x4a08dc,_0x2e974d){const _0x276ad5=_0x4e0a0f;super(),this[_0x276ad5(0x280)]=_0x3a934e,this[_0x276ad5(0x48e)]=_0x4a08dc,this[_0x276ad5(0x46e)]=_0x2e974d;}async['runOnServer'](_0x4bc881,_0xa2f92d,_0x50ad0a,..._0x4ab902){const _0x34ba2e=_0x4e0a0f;var _0x3ca1fe,_0x207574,_0x33923b,_0x26cf6c;const _0x52537b=this[_0x34ba2e(0x280)][_0x34ba2e(0x263)]();if(!_0x52537b)throw new Error(_0x34ba2e(0x30f));const _0x1e156e=((_0x3ca1fe=this[_0x34ba2e(0x46e)][_0x34ba2e(0x228)](_0x12afa3[_0x34ba2e(0x1b7)]))!=null?_0x3ca1fe:_0x12afa3[_0x34ba2e(0x204)])+'/'+_0x4bc881+_0x34ba2e(0x368)+_0xa2f92d,_0x997b77=new URL(window[_0x34ba2e(0x34b)][_0x34ba2e(0x3be)]),_0x3a64d1={'scriptId':_0x4bc881,'runId':(_0x207574=_0x997b77['searchParams'][_0x34ba2e(0x236)](_0x34ba2e(0x42d)))!=null?_0x207574:'','function':_0xa2f92d,'unitId':_0x52537b[_0x34ba2e(0x347)](),'argsOfFunction':JSON[_0x34ba2e(0x260)](_0x4ab902),'invokeId':(_0x33923b=_0x50ad0a[_0x34ba2e(0x34f)])!=null?_0x33923b:'','executionId':(_0x26cf6c=_0x50ad0a[_0x34ba2e(0x1bf)])!=null?_0x26cf6c:''};try{const _0x5b49f8=await this[_0x34ba2e(0x48e)]['post'](_0x1e156e,{'body':_0x3a64d1});return _0x5b49f8[_0x34ba2e(0x486)]['error']&&_0x5b49f8['body'][_0x34ba2e(0x212)][_0x34ba2e(0x283)]!==_0x38be0f['OK']?_0x34ba2e(0x43c):_0x5b49f8[_0x34ba2e(0x486)]['result'];}catch{return _0x34ba2e(0x43c);}}},_0x5d6189[_0x4e0a0f(0x1c8)]=_0x199410([_0x311d1d(0x0,_0x3d65d5['IUniverInstanceService']),_0x311d1d(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651['HTTPService'])),_0x311d1d(0x2,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189['RemoteUniscriptService']);const _0x37d032=0x7530,_0x362556='ACTIVE_UNIT_EVENT_CHANNEL';class _0x37ee47 extends _0x3d65d5['Disposable']{constructor(){const _0x5e5f91=_0x4e0a0f;super(),_0x519c33(this,_0x5e5f91(0x309),_0x3d65d5[_0x5e5f91(0x448)]()),_0x519c33(this,_0x5e5f91(0x45f),new Set()),_0x519c33(this,_0x5e5f91(0x362),new Map()),_0x519c33(this,'_heartbeatTimer',null),_0x519c33(this,_0x5e5f91(0x41f),new Map()),_0x519c33(this,_0x5e5f91(0x383),new Map()),this[_0x5e5f91(0x276)]();}['dispose'](){const _0x21e009=_0x4e0a0f;super['dispose'](),this[_0x21e009(0x41f)]['forEach']((_0x50cde3,_0x15eead)=>this['_removeClearOtherTimer'](_0x15eead)),this[_0x21e009(0x31f)]&&window[_0x21e009(0x3ff)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x41bb52){const _0xb915f9=_0x4e0a0f;return this[_0xb915f9(0x455)](_0x41bb52)[_0xb915f9(0x2c1)](_0x5f36f4[_0xb915f9(0x3cd)]());}['editingUnit'](_0x298c14){const _0xab654e=_0x4e0a0f;this[_0xab654e(0x45f)][_0xab654e(0x282)]===0x0&&this[_0xab654e(0x230)](),this[_0xab654e(0x45f)][_0xab654e(0x3f0)](_0x298c14),this['_send']({'type':0x0,'memberID':this[_0xab654e(0x309)],'unitIDs':[_0x298c14],'isForwarded':!0x1});}[_0x4e0a0f(0x38c)](_0x393200){const _0x333070=_0x4e0a0f;this['_selfUnitIDs'][_0x333070(0x32d)](_0x393200),this[_0x333070(0x45f)][_0x333070(0x282)]===0x0&&this[_0x333070(0x31f)]&&window[_0x333070(0x3ff)](this[_0x333070(0x31f)]);}[_0x4e0a0f(0x276)](){const _0x350449=_0x4e0a0f;this[_0x350449(0x38a)](_0x3d65d5['toDisposable'](_0x5f36f4[_0x350449(0x222)](window,_0x350449(0x481))[_0x350449(0x364)](_0x1c1d86=>{const _0x535e96=_0x350449;if(_0x1c1d86[_0x535e96(0x22c)]!==_0x362556||!_0x1c1d86[_0x535e96(0x477)])return;const _0x9cf2a2=JSON[_0x535e96(0x470)](_0x1c1d86[_0x535e96(0x477)]);this['_handleEvent'](_0x9cf2a2);}))),window[_0x350449(0x1d5)](_0x350449(0x209),()=>this['_send']({'type':0x1,'memberID':this[_0x350449(0x309)],'unitIDs':Array['from'](this[_0x350449(0x45f)])}));}['_handleEvent'](_0x1194c9){const _0x29fe29=_0x4e0a0f;switch(_0x1194c9[_0x29fe29(0x1d3)]){case 0x0:this[_0x29fe29(0x403)](_0x1194c9);break;case 0x1:this[_0x29fe29(0x1c1)](_0x1194c9);break;case 0x2:this['_handleHeartbeatEvent'](_0x1194c9);break;}}[_0x4e0a0f(0x403)](_0x55a914){const _0x542ed9=_0x4e0a0f,{unitIDs:_0x1e5c49,memberID:_0x2b3672,isForwarded:_0xd564e3}=_0x55a914;_0x1e5c49[_0x542ed9(0x3e9)](_0x3fa1bc=>{const _0xbd5a92=_0x542ed9;if(!_0xd564e3&&this['_unitOnClients'][_0xbd5a92(0x41e)](_0x3fa1bc)&&this['_ensureSubject'](_0x3fa1bc)[_0xbd5a92(0x2a7)](_0x12afa3[_0xbd5a92(0x2ab)][_0xbd5a92(0x262)]),!this[_0xbd5a92(0x362)][_0xbd5a92(0x41e)](_0x3fa1bc)||!this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)[_0xbd5a92(0x41e)](_0x2b3672)){const _0x571d70=this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)||new Set();_0x571d70[_0xbd5a92(0x3f0)](_0x2b3672),this['_unitOnClients'][_0xbd5a92(0x33d)](_0x3fa1bc,_0x571d70),this[_0xbd5a92(0x20c)](_0x2b3672);}}),_0xd564e3||this[_0x542ed9(0x22f)]({'type':0x0,'memberID':this[_0x542ed9(0x309)],'unitIDs':[...this[_0x542ed9(0x45f)]],'isForwarded':!0x0});}[_0x4e0a0f(0x20c)](_0x313fab){const _0x2a6699=_0x4e0a0f;this[_0x2a6699(0x463)](_0x313fab);const _0x4ef641=window['setTimeout'](()=>{const _0x292c7c=_0x2a6699;this['_unitOnClients'][_0x292c7c(0x3e9)](_0x5a87e5=>{const _0x30144e=_0x292c7c;_0x5a87e5[_0x30144e(0x32d)](_0x313fab);});},_0x37d032*0x2);this['_clearOtherTimers'][_0x2a6699(0x33d)](_0x313fab,_0x4ef641);}[_0x4e0a0f(0x463)](_0x36d0b0){const _0x417f02=_0x4e0a0f;if(this[_0x417f02(0x41f)]['has'](_0x36d0b0)){const _0x45f041=this[_0x417f02(0x41f)][_0x417f02(0x236)](_0x36d0b0);_0x45f041&&window[_0x417f02(0x342)](_0x45f041),this[_0x417f02(0x41f)][_0x417f02(0x33d)](_0x36d0b0,null);}}[_0x4e0a0f(0x1c1)](_0x421f51){const _0x287e1a=_0x4e0a0f,{memberID:_0x4fd594,unitIDs:_0x1281a0}=_0x421f51;_0x1281a0[_0x287e1a(0x3e9)](_0x581156=>{const _0x59600a=_0x287e1a;var _0x19dd10;const _0x55875d=this['_unitOnClients'][_0x59600a(0x236)](_0x581156);_0x55875d&&(_0x55875d[_0x59600a(0x32d)](_0x4fd594),(_0x19dd10=this[_0x59600a(0x455)](_0x581156))==null||_0x19dd10['next'](_0x55875d[_0x59600a(0x282)]===0x0?_0x12afa3[_0x59600a(0x2ab)][_0x59600a(0x1a7)]:_0x12afa3[_0x59600a(0x2ab)]['OTHER_CLIENTS_EDITING']));}),this[_0x287e1a(0x463)](_0x4fd594);}[_0x4e0a0f(0x34d)](_0x46b6df){const _0x539f5d=_0x4e0a0f;this[_0x539f5d(0x20c)](_0x46b6df[_0x539f5d(0x367)]);}[_0x4e0a0f(0x22f)](_0x18b2a9){const _0x1af0b0=_0x4e0a0f;localStorage[_0x1af0b0(0x2f9)](_0x362556,JSON[_0x1af0b0(0x260)](_0x18b2a9));}[_0x4e0a0f(0x230)](){const _0x4a7af4=_0x4e0a0f;this[_0x4a7af4(0x31f)]=window[_0x4a7af4(0x329)](()=>{const _0x2acca4=_0x4a7af4;this[_0x2acca4(0x22f)]({'type':0x2,'memberID':this[_0x2acca4(0x309)]});},_0x37d032);}['_ensureSubject'](_0x11595d){const _0x40ac80=_0x4e0a0f;return this[_0x40ac80(0x383)][_0x40ac80(0x41e)](_0x11595d)||this[_0x40ac80(0x383)][_0x40ac80(0x33d)](_0x11595d,new _0x5f36f4[(_0x40ac80(0x426))](_0x12afa3['UnitStatus'][_0x40ac80(0x1a7)])),this['_unitStatus'][_0x40ac80(0x236)](_0x11595d);}}_0x5d6189[_0x4e0a0f(0x339)]=_0x41d09c,_0x5d6189[_0x4e0a0f(0x3bb)]=_0x4e0ebf,_0x5d6189[_0x4e0a0f(0x1f7)]=_0x37ee47,_0x5d6189[_0x4e0a0f(0x23b)]=_0x4d959f,Object[_0x4e0a0f(0x1ef)](_0x5d6189,Symbol[_0x4e0a0f(0x324)],{'value':_0x4e0a0f(0x420)});}));function _0x38b8(){const _0x999a11=['collabCursorState$','_drawAnchor','USERS_LEAVE','currentTheme$','now','createSocket','disposeWithMe','_docTransformSelectionsService','disposeUnit','_themeService','UniverRpc','IDocClipboardService','[LogService\x20Error]:\x20','findNodePositionByCharIndex','roomMembers$','_backgroundColor','row','_uiPartsService','CollaborationEvent','doc.mutation.rich-text-editing','FormulaExecuteStageType','#FFF','_docSkeleton','_status$','min','_render','OFFLINE','_lastPointer','_checkCalculationAvailable','cursorInfo','getCollabEntity$','onPointerMove$','@univerjs/ui','handleIRemoveCol','tag','string','getUndoRedoMutationParamsCache','throttleTime','_draw','dispose','UNIVER_SHEET','div','setStateCache','toString','_entities','application/json','blue.400','setAlpha','redoState','_refRangeService','_getMergeRange','Unknown\x20user','random','setTimeout','REDEMPTION_CODE_NOT_STARTED','SheetCollabCursorShape','MessageType','dirtyRanges','href','UniverSheets','InsertRowCommandId','isArray','unitId','actions','_color','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','searchParams','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','join','off-line-icon_clip0_910_343','APPLY_DUPLICATED','distinctUntilChanged','SOCKET_FAILED','_commandService','makeDirty','_docSyncEditingCollabCursorService','HEADER_MENU','_setFormulaLimitStatus','IImageIoService','_initResize','setUndoRedoMutationParamsCache','selections','LOCAL_CACHE_INTERVAL_KEY','beforeCommandExecuted','getMemberID','registerDependencies','getSheetObject','VIEW_MAIN','trim','onPointerEnter$','entityInit$','CanceledError','toRgbString','_notificationService','_cursorShapes','collabStatus.synced','getSheetId','INotificationService','UNRECOGNIZED','forEach','ONLINE','with','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','_cursorInfo$','add','unit','_cursors','_applyCommand','REDEMPTION_CODE_FULLY_REDEEMED','4363816YWWCTb','_colorAssignService','on-line-icon_clip0_910_349','values','formula.calculation.unable','_pollingInterval','data','startColumn','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsx','clearInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','@univerjs/sheets-ui','_handleJoinEvent','CommandType','getRelativeToViewportCoord','sheetID','_collaborationUIEventService','skeleton','UniverCollaborationClientUIPlugin','523630DAoUKj','session.collaboration-timeout','_saveTaskMap','subUnitId','getLocalCacheKey','UniverDesign','APPLY_REJECT','START_CALCULATION','defs','ENTITLE_USE_COUPON_NOT_1ST_TRADE','white','_transformUndoRedoStack','_sheetSkeletonManagerService','assignAColorForMemberID','runRefRangeMutations','use','2xabuGb','bottom','@univerjs/engine-formula','deepClone','has','_clearOtherTimers','Module','purple.300','transformStateCache','isActive','currentColor','WECHAT_HAS_BEEN_BOUND','BehaviorSubject','urlChange$','RegularPolygon','DATA_SOURCE_TOO_LARGE','_releaseCalculationLimit','_docSkeletonManagerService','getSkeleton','runId','onCommandExecuted','_initEvent','_assignedColors','_getSessionTicket','limitInfo','SNAPSHOT_HAS_BEEN_REMOVED','IConfigService','_hasFormulaInDirtyRanges','YUUMI_TABLE_NOT_FOUND_IN_UNIT','drawWith','getItem','getMember','ISnapshotServerService','addObjects','Failed','focused$','isTransformMutationFailure','FETCH_MISS','complete','SessionStatus','MOBILE_HAS_BEEN_BOUND','_initEntityListener','UNDEFINED','debounceTime','SYNCED','colorChannel1','generateRandomId','LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','split','collab-client.tooltip.reconnect','univerjs-icon\x20univerjs-icon-','_setupSubUnitSync','@univerjs/sheets','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','_document','currentSkeleton$','UniverSheetsUi','_ensureSubject','APPLY_PERMISSION_DENIED','_memberService','_injector','clipPath','univer-flex\x20univer-items-center','_doCreateSocket','UniverDrawing','DeleteRangeMoveLeftCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','RECT','switchMap','OffLineIcon','_removeClearOtherTimer','_hovered','_onRefRangeChange','?taskId=','3wzAUCp','collab-text-anchor-','debounce','useDependency','transformIMECache','IUIPartsService','EMAIL_HAS_BEEN_BOUND','_configService','ILocalStorageService','parse','collaboration.single-unit.warning','InsertColCommandId','getValue','TEXT_RANGE_LAYER_INDEX','round','font','newValue','SetTextSelectionsOperation','functionsExecutedState','Error','isFormulaId','EMAIL_VERIFY_CODE_MISMATCH','SetFormulaCalculationStartMutation','getTypeOfUnitAdded$','REDEMPTION_USER_NOT_ELIGIBLE','show','storage','whenReady','name','UPDATE_CURSOR','_initCommandInterceptor','body','ERROR_AGAIN','SheetSkeletonManagerService','startFormulaLimitUrl','forwardRef','parseInt','UniverCore','evenodd','_httpService','INVITE_CODE_REQUIRED','MemberService','stack','NO_OTHER_CLIENTS_EDITING','map','current','ColorKit','INVITE_CODE_HAS_BEEN_UES','xlink:href','ICommandService','LOCAL_CACHE_INTERVAL','_initWindowErrorListener','getCellMatrix','filename','@univerjs/drawing','0\x200\x2016\x2016','COLORS','removeEventListener','color','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','@univerjs/docs','registerComponent','contains','resize','CollaborationStatus','executionId','getUniverSheetInstance','_handleLeaveEvent','UNIVER_DOC','push','isEditing','ranges','stageInfo','_online','RemoteUniscriptService','width','idSuffix','all','SetWorksheetActivateCommand','React','setParam','SOCKET_FAILED_RETRY','ENTITLE_INSUFFICIENT_QUOTA','onStarting','_startDocCollabCursor','type','text','addEventListener','disableLocalCache','_toggleOffline','_textBubble','wsSessionTicketUrl','setShapeProps','clsx','Plugin','collabStatus.notCollab','PENDING','getCurrentRevOfUnit','addClipboardHook','debug','CollaborationUIEventService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','connectInjector','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','arc','CollaborationSessionService','svg','translate(.97)','NOT_COLLAB','LocaleService','AUTHORIZE_CODE_ILLEGAL','collabStatus.syncing','defineProperty','@univerjs/engine-render','exhaustSavingTask','_updateCollabCursors','getParam','Subject','@univerjs/core','_getSaveTimeout','WebBrowserSingleActiveUnitService','DocStateChangeManagerService','registerRenderModule','undoState','getUnhiddenWorksheets','@univerjs-pro/collaboration','some','transformMutation','touchDependencies','_registerRenderDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','currentUsage','symbol','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pluginName','_registerDependencies','ILocalCacheService','message','unload','_config','8448021gxeRFd','_scheduleClearOtherTimer','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_monkeyPatchLogService','CHANGESET_REVISION_CONFILICT','_anchor','error','_currentUsage','getActiveSheet','url(#on-line-icon_clip0_910_349)','_toggleOnline','_lastResponseTimestamp','black','lineno','unsubscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','_docClipboardService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformRemoteChangeset','Warning','_scene','measureText','fromEvent','_getAnchorBounding','CollaborationController','UNAUTHENTICATED','getColor','USER_NOT_INVITED_CODE','getConfig','DependentOn','getCurrentSelections','saveImage','key','displayName','ENTITLE_DUP_SUBSCRIPTION','_send','_scheduleHeartbeat','_messageService','_initStatusListener','_handleHover','REDEMPTION_CODE_INACTIVE','lineTo','get','UniverIcon','YUUMI_RATE_OVER_LIMIT','_saveCache','PERMISSION_DENIED','WebURLService','_showGuardMessage','INVITE_CODE_ALREADY_BOUND','@univerjs/docs-ui','ENTITLE_INVALID_COUPON_CODE','_anchorDot','uni.network.url-service','_transformService','LOGIN_TOKEN_PROCESSING_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_createSocketURL','reconnect','saveTaskMap','CollaborationUIEventId','onMouseMove','_beforeCloseService','Inject','APPLY_NON_SEQUENTIAL_REVISION','catch','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursor','INVALID_INVITE_CODE','cursorInfo$','_collabSessionService','_startSheetCollabCursor','/universer-api/license/formula/limit/start','path','RefRangeService','createElement','USER_NOT_FOUND','ILogService','reason','m1Prime','UniverProCollaborationClientUi','formula.calculation.started','addObject','_onCursorDelete','stringify','@univerjs/rpc','OTHER_CLIENTS_EDITING','getFocusedUnit','DocCollaborationEntity','init','beginPath','_maxFormulaLimit','getActiveRange','docStateChange$','getRangePointData','_updateLocalCursor','column','setActiveRange','defIds','rgba(255,\x20255,\x20255,\x200.01)','pushState','_colorIndex','closePath','ticket','imageSourceType','collabStatus.conflict','_init','_session','post','_localCacheService','includes','745269EWyQQE','useCallback','MoveRangeCommandId','3236160waAhIC','RichTextEditingMutation','_instanceService','red.300','size','code','YUUMI_ALL_TABLES_IS_INVALID','PY_RUNTIME_SCRIPT_ERROR','TEXT','[Unhandled\x20Rejection]:\x20','fillText','MUTATION','YUUMI_ASYNCIO_CANCELLED','getCollabCursors$','source','MOBILE_VERIFY_CODE_MISMATCH','NodePositionConvertToCursor','collaboration.closeRoom','startsWith','ITransformService','handleInsertRangeMoveDown','Disposable','subscribeEvent','SHEET_VIEWPORT_KEY','_getSheetObject','USER_IS_ANONYMOUS','FromArray','_transformPreviousActiveRange','Rectangle','_initUnhandledRejectionListener','status$','useObservable','_collabCursorState$','DOC_RANGE_TYPE','transformByState','_collaborationSessionService','unhandledrejection','DisposableCollection','search','shareReplay','hide','next','ALREADY_EXISTS','DocIMEInputManagerService','mutations','UnitStatus','updateOfflineData','@univerjs-pro/collaboration-client','_urlService','filter','DeleteRangeMoveUpCommandId','override','IUniverInstanceService','_scheduleSaving','unitID','ENSURE_SNAPSHOT_EXECUTION','getMergeData','range','PAYMENT_CHANNEL_NOT_SUPPORT','registerBeforeClose','replaceState','SNAPSHOT_INVALID_SNAPSHOT','bind','on-line-icon','_onCursorUpdate','@univerjs/design','Injector','pipe','jsxs','NodePositionConvertToRectRange','TOO_MANY_REQUESTS','attrs','RxDisposable','fill','height','_getFormulaLimitStatus','_updateURLWithCurrentState','off-line-icon','transformMutationsWithChangeset','triggerDblclick','combineLatest','requireSession','_docTransformIMECacheService','none','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientPlugin','YUUMI_CONNECTOR_URL_NOT_FOUND','registerRefRange','_refreshCollabCursors','roomMembers','BuiltInUIPart','CURRENT_STATUS_CANNOT_OPERATE','then','socket$','_univerInstanceService','_imageIoService','url(#off-line-icon_clip0_910_343)','3090764ZeJzrb','_roomMembers$','startRow','_initCommandExecutedListener','_docStateChangeManagerService','engine','RemoveColCommandId','_renderManagerService','getColorFromTheme','_eventUnsubscribe','Vector2','LICENSE_DISTRO_REJECTED','_entityInit$','SUCCESS','CLOSE_ROOM','backgroundColor','IMessageService','unshift','[Window\x20Error]:\x20','_startCalculationLimit','UniverEngineFormula','Success','_context','restore','EffectRefRangId','save','setItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_shapes','...','_getScale','endRow','LOGIN_FAILED','_initUserListener','_checkAndWaitForCalculationPermission','CONFLICT','_removeCollabCursors','handleInsertRangeMoveRight','_taskIds','syncEditingCollabCursor','UniverInstanceType','takeUntil','_id','isFormulaString','_collaborationController','YUUMI_AI_RUN_FAILED','getSheetBySheetId','_memberID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','enableFrontendLog','green.600','operators','replace','FormulaExecutedStateType','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','_cachedData','assign','ENTITLE_CHAT_LIMIT_EXCEED','_labelPosition','toDisposable','3253122yQVVpb','transformSelections','entries','_heartbeatTimer','eventID','subunit','YUUMI_SUBSCRIPTION_NOT_FOUND','sessionTicket','toStringTag','_docTransformStateCacheService','_collabCursorController','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','setInterval','_range','UniverDocs','_transformHistoryAndStateStack','delete','session.connection-failed','SetSelectionsOperation','IRemoteInstanceService','_hideTimer','rxjs','0\x200\x2017\x2016','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineRender','_drawRectRange','_revisionService','INTERNAL_ERROR','IURLService','executeCommand','dispose$','_name','set','exports','url(#$1','find','getStateCache','clearTimeout','fillStyle','params','endColumn','react','getUnitId','IBeforeCloseService','Tools','fromEventSubject','location','[CollaborationDataLoaderController]','_handleHeartbeatEvent','activeSheet$','invokeId','textRanges','react/jsx-runtime','getCoordByCell','JOIN_ROOM_FAILED','_localeService','/universer-api/license/formula/limit/status','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','sheetId','mask','RevisionService','Shape','CONNECTOR_DATA_TOO_LARGE','getCurrentUnitForType','_disabled','handleInsertRow','_updateSubUnitFromURLParams','UniverProCollaborationClient','_unitOnClients','history','subscribe','asObservable','_hover','memberID','/run/','selection','_initStatusComponent','onPointerLeave$','CollaborationDataLoaderController','releaseFormulaLimitUrl','getRenderById','ThemeService','flatMap','REDEMPTION_CODE_HAS_BEEN_CREATED','children','getOwnPropertyDescriptor','_uploadLog','_clearPolling','_logService','origin','collab-rect-range-','DocSelectionManagerService','_localStorageService','HTTPService','Rect','_dataLoaderService','SetFormulaCalculationNotificationMutation','ENTITLE_COUPON_EXPIRED','LICENSE_EXPORT_SIZE_EXCEEDED','send','1em','_unitStatus'];_0x38b8=function(){return _0x999a11;};return _0x38b8();}
|
|
1
|
+
(function(_0x3ee58a,_0x20bf73){const _0x8144c3=_0x9ceb,_0x3c1f86=_0x3ee58a();while(!![]){try{const _0x4d485e=parseInt(_0x8144c3(0x371))/0x1+parseInt(_0x8144c3(0x3a4))/0x2+parseInt(_0x8144c3(0x3fe))/0x3+parseInt(_0x8144c3(0x2e1))/0x4+-parseInt(_0x8144c3(0x27a))/0x5*(-parseInt(_0x8144c3(0x2dd))/0x6)+parseInt(_0x8144c3(0x26c))/0x7*(-parseInt(_0x8144c3(0x248))/0x8)+-parseInt(_0x8144c3(0x320))/0x9;if(_0x4d485e===_0x20bf73)break;else _0x3c1f86['push'](_0x3c1f86['shift']());}catch(_0x4cf7d9){_0x3c1f86['push'](_0x3c1f86['shift']());}}}(_0x1fb5,0x99d9a),function(_0x4d4a84,_0x50713f){const _0x5cda00=_0x9ceb;typeof exports=='object'&&typeof module<'u'?_0x50713f(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5cda00(0x169)&&define[_0x5cda00(0x400)]?define([_0x5cda00(0x393),_0x5cda00(0x234),'@univerjs-pro/collaboration-client',_0x5cda00(0x29c),_0x5cda00(0x2d9),_0x5cda00(0x28d),'@univerjs/design',_0x5cda00(0x2b2),'@univerjs/rpc','@univerjs/sheets',_0x5cda00(0x245),_0x5cda00(0x162),_0x5cda00(0x41e),_0x5cda00(0x23e),_0x5cda00(0x29f),'@univerjs/docs',_0x5cda00(0x41b),_0x5cda00(0x3cb),_0x5cda00(0x2db)],_0x50713f):(_0x4d4a84=typeof globalThis<'u'?globalThis:_0x4d4a84||self,_0x50713f(_0x4d4a84[_0x5cda00(0x405)]={},_0x4d4a84['React'],_0x4d4a84['UniverProCollaborationClient'],_0x4d4a84[_0x5cda00(0x1c7)],_0x4d4a84[_0x5cda00(0x3f7)],_0x4d4a84[_0x5cda00(0x28d)],_0x4d4a84['UniverDesign'],_0x4d4a84[_0x5cda00(0x158)],_0x4d4a84[_0x5cda00(0x3bb)],_0x4d4a84['UniverSheets'],_0x4d4a84[_0x5cda00(0x22a)],_0x4d4a84[_0x5cda00(0x2fc)],_0x4d4a84[_0x5cda00(0x30d)],_0x4d4a84[_0x5cda00(0x25e)],_0x4d4a84[_0x5cda00(0x208)],_0x4d4a84['UniverDocs'],_0x4d4a84[_0x5cda00(0x28c)],_0x4d4a84[_0x5cda00(0x28d)][_0x5cda00(0x39c)],_0x4d4a84[_0x5cda00(0x154)]));}(this,function(_0x4f91bb,_0x3fb505,_0x41402f,_0x41608e,_0x6166b9,_0x163839,_0x3ec05e,_0x150f7a,_0x4c4cab,_0x5bba74,_0x59ca38,_0x12ee65,_0x32e209,_0x284e1e,_0x44a289,_0x39889c,_0x150f25,_0x1502db,_0x2c6e67){'use strict';const _0x1d54d9=_0x9ceb;var _0x5e597e=Object[_0x1d54d9(0x3e8)],_0x4d72e9=(_0x253d42,_0x5a15c4,_0xb64cd8)=>_0x5a15c4 in _0x253d42?_0x5e597e(_0x253d42,_0x5a15c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb64cd8}):_0x253d42[_0x5a15c4]=_0xb64cd8,_0x2af801=(_0x52911d,_0x5bc475,_0x3dfe35)=>_0x4d72e9(_0x52911d,typeof _0x5bc475!='symbol'?_0x5bc475+'':_0x5bc475,_0x3dfe35);function _0x1ad606({ref:_0x1e857b,..._0xfedd80}){const _0x19d828=_0x1d54d9,{icon:_0x211042,id:_0x2d1738,className:_0x323e0a,extend:_0x5afa5b,..._0x573a94}=_0xfedd80,_0x1e256e=('univerjs-icon\x20univerjs-icon-'+_0x2d1738+'\x20'+(_0x323e0a||''))[_0x19d828(0x268)](),_0x3c000b=_0x150f7a[_0x19d828(0x1aa)]('_'+_0x4a921e());return _0x59782e(_0x211042,''+_0x2d1738,{'defIds':_0x211042[_0x19d828(0x1de)],'idSuffix':_0x3c000b[_0x19d828(0x1ab)]},{'ref':_0x1e857b,'className':_0x1e256e,..._0x573a94},_0x5afa5b);}function _0x59782e(_0x331fda,_0xcbff2f,_0x1e5e0c,_0x386aca,_0xd7a9ef){const _0xbbb561=_0x1d54d9;return _0x150f7a[_0xbbb561(0x2f1)](_0x331fda[_0xbbb561(0x2aa)],{'key':_0xcbff2f,..._0xdfd8c9(_0x331fda,_0x1e5e0c,_0xd7a9ef),..._0x386aca},(_0x5b2e70(_0x331fda,_0x1e5e0c)[_0xbbb561(0x23c)]||[])['map']((_0x444729,_0x3ace1b)=>_0x59782e(_0x444729,_0xcbff2f+'-'+_0x331fda[_0xbbb561(0x2aa)]+'-'+_0x3ace1b,_0x1e5e0c,void 0x0,_0xd7a9ef)));}function _0xdfd8c9(_0x381abf,_0x585f2f,_0x3d40b5){const _0x1b5692=_0x1d54d9,_0x1a58d7={..._0x381abf[_0x1b5692(0x3a7)]};_0x3d40b5!=null&&_0x3d40b5[_0x1b5692(0x3ec)]&&_0x1a58d7[_0x1b5692(0x36a)]===_0x1b5692(0x3ec)&&(_0x1a58d7[_0x1b5692(0x36a)]=_0x3d40b5['colorChannel1']),_0x381abf[_0x1b5692(0x2aa)]==='mask'&&_0x1a58d7['id']&&(_0x1a58d7['id']=_0x1a58d7['id']+_0x585f2f[_0x1b5692(0x1cb)]),Object[_0x1b5692(0x423)](_0x1a58d7)[_0x1b5692(0x1d1)](([_0x431e85,_0x4454ff])=>{const _0x53f5b8=_0x1b5692;_0x431e85===_0x53f5b8(0x35f)&&typeof _0x4454ff=='string'&&(_0x1a58d7[_0x431e85]=_0x4454ff[_0x53f5b8(0x3da)](/url\(#(.*)\)/,'url(#$1'+_0x585f2f[_0x53f5b8(0x1cb)]+')'));});const {defIds:_0x236510}=_0x585f2f;return!_0x236510||_0x236510[_0x1b5692(0x15d)]===0x0||(_0x381abf[_0x1b5692(0x2aa)]===_0x1b5692(0x354)&&_0x1a58d7[_0x1b5692(0x386)]&&(_0x1a58d7[_0x1b5692(0x386)]=_0x1a58d7[_0x1b5692(0x386)]+_0x585f2f['idSuffix']),Object[_0x1b5692(0x423)](_0x1a58d7)['forEach'](([_0x4ed887,_0xbc337e])=>{const _0x1610c7=_0x1b5692;typeof _0xbc337e==_0x1610c7(0x24c)&&(_0x1a58d7[_0x4ed887]=_0xbc337e[_0x1610c7(0x3da)](/url\(#(.*)\)/,_0x1610c7(0x3b4)+_0x585f2f['idSuffix']+')'));})),_0x1a58d7;}function _0x5b2e70(_0x15a44b,_0x24c71a){const _0x2496d6=_0x1d54d9;var _0x5a00c0;const {defIds:_0x392f4b}=_0x24c71a;return!_0x392f4b||_0x392f4b[_0x2496d6(0x15d)]===0x0?_0x15a44b:_0x15a44b[_0x2496d6(0x2aa)]===_0x2496d6(0x2ee)&&((_0x5a00c0=_0x15a44b[_0x2496d6(0x23c)])!=null&&_0x5a00c0[_0x2496d6(0x15d)])?{..._0x15a44b,'children':_0x15a44b[_0x2496d6(0x23c)]['map'](_0xd9beea=>typeof _0xd9beea['attrs']['id']==_0x2496d6(0x24c)&&_0x392f4b&&_0x392f4b['includes'](_0xd9beea[_0x2496d6(0x3a7)]['id'])?{..._0xd9beea,'attrs':{..._0xd9beea[_0x2496d6(0x3a7)],'id':_0xd9beea[_0x2496d6(0x3a7)]['id']+_0x24c71a[_0x2496d6(0x1cb)]}}:_0xd9beea)}:_0x15a44b;}function _0x4a921e(){const _0x4ef1f2=_0x1d54d9;return Math[_0x4ef1f2(0x3a6)]()[_0x4ef1f2(0x2cd)](0x24)[_0x4ef1f2(0x224)](0x2,0x8);}_0x1ad606[_0x1d54d9(0x1d7)]='UniverIcon';const _0x11845f={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':_0x1d54d9(0x1ba),'viewBox':_0x1d54d9(0x319),'width':_0x1d54d9(0x1b8),'height':_0x1d54d9(0x1b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x31a)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1d54d9(0x362),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d54d9(0x2ee),'attrs':{},'children':[{'tag':_0x1d54d9(0x3c3),'attrs':{'id':_0x1d54d9(0x2c4)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2d1bc9=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x2fe67b,_0x3302af){const _0x22caa7=_0x1d54d9;return _0x150f7a[_0x22caa7(0x2f1)](_0x1ad606,Object['assign']({},_0x2fe67b,{'id':'off-line-icon','ref':_0x3302af,'icon':_0x11845f}));});_0x2d1bc9[_0x1d54d9(0x1d7)]=_0x1d54d9(0x402);const _0x3aaa51={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':'none','viewBox':_0x1d54d9(0x1d0),'width':_0x1d54d9(0x1b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x2c8)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':_0x1d54d9(0x39f),'d':_0x1d54d9(0x1cc),'strokeLinecap':_0x1d54d9(0x362),'strokeLinejoin':_0x1d54d9(0x362),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d54d9(0x301)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df),'transform':_0x1d54d9(0x35b)}}]}]}],'defIds':[_0x1d54d9(0x301)]},_0x403927=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x3254ec,_0x2bde53){const _0x1b1d43=_0x1d54d9;return _0x150f7a[_0x1b1d43(0x2f1)](_0x1ad606,Object['assign']({},_0x3254ec,{'id':_0x1b1d43(0x210),'ref':_0x2bde53,'icon':_0x3aaa51}));});_0x403927['displayName']=_0x1d54d9(0x157);function _0x18b0d3(_0x3b2165){const _0x323286=_0x1d54d9;switch(_0x3b2165){case _0x41402f['CollaborationStatus'][_0x323286(0x1ac)]:return _0x323286(0x41d);case _0x41402f['CollaborationStatus']['CONFLICT']:return _0x323286(0x29b);case _0x41402f[_0x323286(0x1da)]['FETCH_MISS']:return _0x323286(0x242);case _0x41402f[_0x323286(0x1da)][_0x323286(0x267)]:return'collabStatus.notCollab';case _0x41402f['CollaborationStatus'][_0x323286(0x297)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x28e)]:return'collabStatus.syncing';case _0x41402f['CollaborationStatus'][_0x323286(0x226)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x427)]:return _0x323286(0x408);}}function _0x41f110(_0xf0ba4c){const _0x5792d8=_0x1d54d9,{status$:_0x20c1f3}=_0xf0ba4c,_0x157c54=_0x6166b9[_0x5792d8(0x24a)](_0x20c1f3,_0x41402f[_0x5792d8(0x1da)][_0x5792d8(0x267)]),_0x114cfc=_0x6166b9[_0x5792d8(0x258)](_0x41608e[_0x5792d8(0x377)]),_0x3de2dc=_0x6166b9[_0x5792d8(0x258)](_0x41402f[_0x5792d8(0x27b)]),_0x4cef91=_0x157c54!==_0x41402f[_0x5792d8(0x1da)]['OFFLINE'],_0x114dc8=_0x114cfc['t'](_0x18b0d3(_0x157c54)),_0x2ea350=_0x4cef91?_0x3fb505[_0x5792d8(0x3e5)](_0x403927,{}):_0x3fb505[_0x5792d8(0x3e5)](_0x2d1bc9,{}),_0x59e527=_0x150f7a[_0x5792d8(0x372)](()=>{_0x4cef91||_0x3de2dc['reconnect']();},[_0x4cef91,_0x3de2dc]);function _0x1dbd74(){const _0x53f0fd=_0x5792d8;return _0x3fb505[_0x53f0fd(0x2e8)](_0x53f0fd(0x350),{'className':_0x53f0fd(0x1d3),'onClick':_0x59e527,'children':[_0x3fb505[_0x53f0fd(0x3e5)]('div',{'className':_0x3ec05e[_0x53f0fd(0x32f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4cef91,'univer-text-red-500':!_0x4cef91}),'children':_0x2ea350}),_0x3fb505[_0x53f0fd(0x3e5)](_0x53f0fd(0x350),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114dc8})]});}return _0x4cef91?_0x1dbd74():_0x3fb505['jsx'](_0x3ec05e[_0x5792d8(0x207)],{'title':_0x114cfc['t'](_0x5792d8(0x16e)),'children':_0x1dbd74()});}var _0x12e612=Object[_0x1d54d9(0x369)],_0xd50a72=(_0x165da1,_0x10c7aa,_0x5c9047,_0xf6c51f)=>{const _0x5edf4d=_0x1d54d9;for(var _0x53a02d=_0xf6c51f>0x1?void 0x0:_0xf6c51f?_0x12e612(_0x10c7aa,_0x5c9047):_0x10c7aa,_0xa91466=_0x165da1[_0x5edf4d(0x15d)]-0x1,_0x16105d;_0xa91466>=0x0;_0xa91466--)(_0x16105d=_0x165da1[_0xa91466])&&(_0x53a02d=_0x16105d(_0x53a02d)||_0x53a02d);return _0x53a02d;},_0x4c1318=(_0x16b8d7,_0x1ad385)=>(_0x5a276d,_0x458778)=>_0x1ad385(_0x5a276d,_0x458778,_0x16b8d7);_0x4f91bb[_0x1d54d9(0x38f)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x40b60a,_0x21887a,_0x201288,_0x2a1e2c){const _0x1e48a1=_0x1d54d9;super(),_0x2af801(this,_0x1e48a1(0x412),new _0x163839[(_0x1e48a1(0x1c5))](_0x41402f[_0x1e48a1(0x1da)]['NOT_COLLAB'])),(this[_0x1e48a1(0x378)]=_0x40b60a,this['_injector']=_0x21887a,this[_0x1e48a1(0x209)]=_0x201288,this['_uiPartsService']=_0x2a1e2c,this['_initStatusComponent'](),this[_0x1e48a1(0x257)]());}['_initStatusListener'](){const _0x4082fc=_0x1d54d9;this[_0x4082fc(0x416)](this[_0x4082fc(0x378)]['focused$'][_0x4082fc(0x18b)](_0x163839[_0x4082fc(0x3ce)](()=>{const _0x189c50=_0x4082fc,_0x2b9335=this[_0x189c50(0x378)]['getFocusedUnit']();return _0x2b9335?this[_0x189c50(0x209)][_0x189c50(0x206)](_0x2b9335[_0x189c50(0x2e2)]()):_0x163839['of'](null);}),_0x163839[_0x4082fc(0x3ce)](_0x1fc0af=>_0x1fc0af?_0x1fc0af['status$']:_0x163839['of'](_0x41402f[_0x4082fc(0x1da)][_0x4082fc(0x267)])))[_0x4082fc(0x431)](_0x67b97e=>{const _0x304f7f=_0x4082fc;this['_status$'][_0x304f7f(0x34e)](_0x67b97e);}));}[_0x1d54d9(0x42d)](){const _0x4e6a4f=_0x1d54d9;this['disposeWithMe'](this[_0x4e6a4f(0x364)][_0x4e6a4f(0x193)](_0x6166b9[_0x4e6a4f(0x3ba)]['HEADER_MENU'],()=>_0x6166b9['connectInjector'](_0x31af36({'status$':this[_0x4e6a4f(0x412)]['asObservable']()}),this['_injector'])));}},_0x4f91bb[_0x1d54d9(0x38f)]=_0xd50a72([_0x4c1318(0x0,_0x41608e[_0x1d54d9(0x189)]),_0x4c1318(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4c1318(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4c1318(0x3,_0x6166b9[_0x1d54d9(0x2d8)])],_0x4f91bb[_0x1d54d9(0x38f)]);function _0x31af36(_0x123824){const {status$:_0x578ea9}=_0x123824;return function(){const _0x55e361=_0x9ceb;return _0x3fb505[_0x55e361(0x3e5)](_0x41f110,{'status$':_0x578ea9});};}const _0x49794a=_0x41608e['createIdentifier'](_0x1d54d9(0x1a3));var _0x47b550=Object['getOwnPropertyDescriptor'],_0xcc2b4b=(_0x6e396b,_0x29cf94,_0x5d94fc,_0x2d4497)=>{const _0x4bda6a=_0x1d54d9;for(var _0x10491e=_0x2d4497>0x1?void 0x0:_0x2d4497?_0x47b550(_0x29cf94,_0x5d94fc):_0x29cf94,_0x2ec676=_0x6e396b[_0x4bda6a(0x15d)]-0x1,_0x2f85de;_0x2ec676>=0x0;_0x2ec676--)(_0x2f85de=_0x6e396b[_0x2ec676])&&(_0x10491e=_0x2f85de(_0x10491e)||_0x10491e);return _0x10491e;},_0x448f86=(_0x3bf85a,_0x1af869)=>(_0x1a7296,_0x328e94)=>_0x1af869(_0x1a7296,_0x328e94,_0x3bf85a);_0x4f91bb[_0x1d54d9(0x22b)]=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5e720c,_0x4c6e84,_0x36491e,_0x569d64,_0x9ea135){const _0x2a3d4d=_0x1d54d9;super(),this[_0x2a3d4d(0x2b1)]=_0x5e720c,this[_0x2a3d4d(0x29d)]=_0x4c6e84,this[_0x2a3d4d(0x186)]=_0x36491e,this[_0x2a3d4d(0x3ff)]=_0x569d64,_0x9ea135?_0x9ea135==null||_0x9ea135[_0x2a3d4d(0x288)]()[_0x2a3d4d(0x336)](()=>this[_0x2a3d4d(0x37b)]()):(this[_0x2a3d4d(0x29d)][_0x2a3d4d(0x2b7)](_0x2a3d4d(0x315),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2a3d4d(0x37b)]());}async[_0x1d54d9(0x37b)](){const _0x53d469=_0x1d54d9,_0x99406c=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('unit'),_0x2acc62=this[_0x53d469(0x2b1)][_0x53d469(0x19c)](_0x53d469(0x1d2)),_0x1a6c36=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('subunit');if(!_0x99406c||!_0x2acc62){this[_0x53d469(0x29d)][_0x53d469(0x2b7)](_0x53d469(0x315),_0x53d469(0x290));return;}const _0x327f07=await this[_0x53d469(0x3ff)][_0x53d469(0x1ff)](_0x99406c,Number(_0x2acc62),_0x1a6c36);_0x327f07&&_0x327f07 instanceof _0x41608e['Workbook']&&this['_setupSubUnitSync'](_0x327f07);}async[_0x1d54d9(0x37d)](_0x1731c3){const _0x589559=_0x1d54d9;await this[_0x589559(0x381)](_0x1731c3),_0x1731c3[_0x589559(0x1e0)][_0x589559(0x18b)](_0x163839['takeUntil'](this[_0x589559(0x1bc)]))[_0x589559(0x431)](_0x29b483=>{_0x29b483&&this['_updateURLWithCurrentState'](_0x29b483);}),this[_0x589559(0x2b1)][_0x589559(0x1c3)][_0x589559(0x18b)](_0x163839[_0x589559(0x1e4)](this[_0x589559(0x1bc)]))[_0x589559(0x431)](()=>this[_0x589559(0x381)](_0x1731c3));}['_updateURLWithCurrentState'](_0x5b4a6f,_0x1198a9=!0x1){const _0x319bf7=_0x1d54d9,_0x4d84e6=this[_0x319bf7(0x2b1)][_0x319bf7(0x19c)](_0x319bf7(0x2e3));_0x5b4a6f[_0x319bf7(0x26b)]()!==_0x4d84e6&&this[_0x319bf7(0x2b1)]['setParam']('subunit',_0x5b4a6f[_0x319bf7(0x26b)](),_0x1198a9);}async[_0x1d54d9(0x381)](_0x79e57){const _0xa9b4f1=_0x1d54d9;var _0xa6f278;const _0x30e01d=this[_0xa9b4f1(0x2b1)][_0xa9b4f1(0x19c)](_0xa9b4f1(0x2e3));if(!_0x30e01d||!_0x79e57[_0xa9b4f1(0x28f)](_0x30e01d)){const _0x41cce0=_0x79e57['getUnhiddenWorksheets']()[0x0],_0x341db1=_0x79e57[_0xa9b4f1(0x28f)](_0x41cce0);if(!_0x341db1)return;this[_0xa9b4f1(0x1f6)](_0x341db1,!0x0),await this[_0xa9b4f1(0x186)]['executeCommand'](_0x5bba74[_0xa9b4f1(0x318)]['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x41cce0});return;}((_0xa6f278=_0x79e57['getActiveSheet']())==null?void 0x0:_0xa6f278['getSheetId']())!==_0x30e01d&&await this[_0xa9b4f1(0x186)][_0xa9b4f1(0x39b)](_0x5bba74['SetWorksheetActivateCommand']['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x30e01d});}},_0x4f91bb[_0x1d54d9(0x22b)]=_0xcc2b4b([_0x448f86(0x0,_0x49794a),_0x448f86(0x1,_0x41608e[_0x1d54d9(0x1dc)]),_0x448f86(0x2,_0x41608e[_0x1d54d9(0x417)]),_0x448f86(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x247)])),_0x448f86(0x4,_0x41608e['Optional'](_0x4c4cab['IRemoteInstanceService']))],_0x4f91bb[_0x1d54d9(0x22b)]);var _0x32cd8e=Object['getOwnPropertyDescriptor'],_0x9cde4b=(_0x5b5a2e,_0x31042f,_0x4d854a,_0x1e6a49)=>{const _0x21b0f3=_0x1d54d9;for(var _0x5cfe83=_0x1e6a49>0x1?void 0x0:_0x1e6a49?_0x32cd8e(_0x31042f,_0x4d854a):_0x31042f,_0x76f6cc=_0x5b5a2e[_0x21b0f3(0x15d)]-0x1,_0x2a6978;_0x76f6cc>=0x0;_0x76f6cc--)(_0x2a6978=_0x5b5a2e[_0x76f6cc])&&(_0x5cfe83=_0x2a6978(_0x5cfe83)||_0x5cfe83);return _0x5cfe83;},_0x2f6c82=(_0x5efe53,_0x186073)=>(_0x32c066,_0xf2d12d)=>_0x186073(_0x32c066,_0xf2d12d,_0x5efe53);let _0x7d3f8b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x214296,_0x453683){const _0x5565ff=_0x1d54d9;super(),this[_0x5565ff(0x1f8)]=_0x214296,this[_0x5565ff(0x1fb)]=_0x453683,this[_0x5565ff(0x37b)]();}[_0x1d54d9(0x37b)](){const _0x2e64c2=_0x1d54d9,_0x521528=this;this[_0x2e64c2(0x416)](this['_docClipboardService'][_0x2e64c2(0x3cf)]({'onBeforePasteImage':async _0x190b53=>{const _0x1b4d5b=_0x2e64c2,_0x43775c=await _0x521528['_imageIoService'][_0x1b4d5b(0x2b4)](_0x190b53);return _0x43775c?{'source':_0x43775c['source'],'imageSourceType':_0x43775c['imageSourceType']}:null;}}));}};_0x7d3f8b=_0x9cde4b([_0x2f6c82(0x0,_0x32e209[_0x1d54d9(0x299)]),_0x2f6c82(0x1,_0x284e1e[_0x1d54d9(0x19f)])],_0x7d3f8b);const _0xda7e23=['purple.300',_0x1d54d9(0x3a3),_0x1d54d9(0x1bb),'red.300',_0x1d54d9(0x2ce),_0x1d54d9(0x33d)];class _0x1fb581 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x7fc94e=_0x1d54d9;super(...arguments),_0x2af801(this,'_assignedColors',new Map()),_0x2af801(this,_0x7fc94e(0x309),0x0);}['assignAColorForMemberID'](_0x193d20){const _0xe60339=_0x1d54d9;if(this[_0xe60339(0x2b9)][_0xe60339(0x41f)](_0x193d20))return this['_assignedColors'][_0xe60339(0x38e)](_0x193d20);const _0x4391e5=_0xda7e23[this[_0xe60339(0x309)]];return this['_colorIndex']=(this[_0xe60339(0x309)]+0x1)%_0xda7e23[_0xe60339(0x15d)],this[_0xe60339(0x2b9)][_0xe60339(0x3b7)](_0x193d20,_0x4391e5),_0x4391e5;}}function _0x40ed8c(_0x6e7da){let _0x310b5e='';for(const _0x33beaf of _0x6e7da){const {startOffset:_0x5a50f9,endOffset:_0x4c8591,isActive:_0x10d24a,rangeType:_0x398dfd,segmentId:_0x30b66f,segmentPage:_0x356bfa}=_0x33beaf;_0x310b5e['length']&&(_0x310b5e+=','),_0x310b5e+=_0x5a50f9+':'+_0x4c8591+':'+(_0x10d24a?'1':'0')+':'+_0x398dfd+':'+_0x30b66f+':'+_0x356bfa;}return _0x310b5e;}function _0x132a9d(_0x572160){const _0x2707fd=_0x1d54d9,_0x229af5=_0x572160[_0x2707fd(0x332)](','),_0x154ce2=[];for(const _0x429fc3 of _0x229af5){const [_0x57df21,_0x2e4062,_0x10ff77,_0x3304e6,_0x2173f2,_0x1f0350]=_0x429fc3[_0x2707fd(0x332)](':');_0x154ce2['push']({'startOffset':Number(_0x57df21),'endOffset':Number(_0x2e4062),'collapsed':_0x57df21===_0x2e4062,'isActive':_0x10ff77==='1','rangeType':_0x3304e6===_0x41608e['DOC_RANGE_TYPE']['TEXT']?_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x3b2)]:_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x1f1)],'segmentId':typeof _0x2173f2=='string'?String(_0x2173f2):'','segmentPage':Number(_0x1f0350!=null?_0x1f0350:-0x1)});}return _0x154ce2[_0x2707fd(0x214)](_0x2ad2c=>_0x2ad2c[_0x2707fd(0x312)])||(_0x154ce2[0x0][_0x2707fd(0x312)]=!0x0),_0x154ce2;}class _0x1b17e2 extends _0x41608e[_0x1d54d9(0x3be)]{constructor(){const _0x15b97e=_0x1d54d9;super(...arguments),_0x2af801(this,_0x15b97e(0x255),new _0x163839[(_0x15b97e(0x1c5))](null)),_0x2af801(this,_0x15b97e(0x352),this[_0x15b97e(0x255)][_0x15b97e(0x225)]());}['syncEditingCollabCursor'](_0x3f5368){const _0x36c823=_0x1d54d9,{unitID:_0x5355c0,memberID:_0x506f89,textRanges:_0xbbf8af}=_0x3f5368,_0x55bada=_0x40ed8c(_0xbbf8af);if(_0x55bada==='')return;const _0x5d923c={'unitID':_0x5355c0,'memberID':_0x506f89,'selection':_0x55bada};this[_0x36c823(0x255)][_0x36c823(0x34e)](_0x5d923c);}}var _0x27de1e=Object[_0x1d54d9(0x369)],_0x511744=(_0x4372eb,_0x38451a,_0xadc578,_0x2c3754)=>{const _0x93f9fa=_0x1d54d9;for(var _0x3b9260=_0x2c3754>0x1?void 0x0:_0x2c3754?_0x27de1e(_0x38451a,_0xadc578):_0x38451a,_0x12c13d=_0x4372eb[_0x93f9fa(0x15d)]-0x1,_0xb30893;_0x12c13d>=0x0;_0x12c13d--)(_0xb30893=_0x4372eb[_0x12c13d])&&(_0x3b9260=_0xb30893(_0x3b9260)||_0x3b9260);return _0x3b9260;},_0x32aa2a=(_0x1f9739,_0x1e0709)=>(_0x5d0dc6,_0x185c52)=>_0x1e0709(_0x5d0dc6,_0x185c52,_0x1f9739);const _0x53a966=0x12c,_0x1cb063=0x64;let _0x1c0d99=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x1467be,_0x13224b,_0x102b41,_0x17378d,_0xd66659,_0x193803,_0x2b891a,_0x2b616a,_0x388c53){const _0x2b6f12=_0x1d54d9;super(),_0x2af801(this,_0x2b6f12(0x339),!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x2b6f12(0x20f),new _0x163839[(_0x2b6f12(0x1c5))](new Map())),_0x2af801(this,_0x2b6f12(0x36f),this[_0x2b6f12(0x20f)][_0x2b6f12(0x225)]()),_0x2af801(this,_0x2b6f12(0x203),new _0x163839[(_0x2b6f12(0x1c5))]([])),_0x2af801(this,_0x2b6f12(0x3d5),this[_0x2b6f12(0x203)][_0x2b6f12(0x18b)](_0x163839[_0x2b6f12(0x14d)](_0x53a966))),_0x2af801(this,_0x2b6f12(0x37a),_0x41608e[_0x2b6f12(0x3de)](_0x40bbf7=>{const _0x3487f2=_0x2b6f12,_0x3f1160={'eventID':_0x44a289[_0x3487f2(0x2dc)][_0x3487f2(0x236)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3487f2(0x32c)](),'selection':_0x40ed8c(_0x40bbf7)}};this[_0x3487f2(0x2c9)][_0x3487f2(0x15a)](_0x3f1160,this[_0x3487f2(0x187)]);},_0x1cb063)),(this['unitID']=_0x1467be,this[_0x2b6f12(0x2c9)]=_0x13224b,this['_injector']=_0x102b41,this['_colorAssignService']=_0x17378d,this[_0x2b6f12(0x260)]=_0xd66659,this[_0x2b6f12(0x273)]=_0x193803,this['_transformService']=_0x2b891a,this['_univerInstanceService']=_0x2b616a,this[_0x2b6f12(0x186)]=_0x388c53);}get[_0x1d54d9(0x175)](){const _0x56b3e6=_0x1d54d9;return this[_0x56b3e6(0x20f)][_0x56b3e6(0x1e2)]();}get[_0x1d54d9(0x3dd)](){const _0x50a8f3=_0x1d54d9;return this['_roomMembers$'][_0x50a8f3(0x1e2)]();}['dispose'](){const _0xa6cb4d=_0x1d54d9;super[_0xa6cb4d(0x14a)](),this['_cursorInfo$'][_0xa6cb4d(0x34e)](new Map()),this[_0xa6cb4d(0x20f)][_0xa6cb4d(0x368)](),this[_0xa6cb4d(0x203)][_0xa6cb4d(0x34e)]([]),this[_0xa6cb4d(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x4c323c=_0x1d54d9;this['_init']||(this['_init']=!0x0,this[_0x4c323c(0x2c9)][_0x4c323c(0x2a9)][_0x4c323c(0x18b)](_0x163839[_0x4c323c(0x1e4)](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x1852cb=>{const _0x435736=_0x4c323c;_0x1852cb===_0x41402f['SessionStatus'][_0x435736(0x3e1)]?this[_0x435736(0x333)]():this['_toggleOffline']();}),this[_0x4c323c(0x2c9)][_0x4c323c(0x25d)][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x2a2c44=>{const _0xfbb4d1=_0x4c323c,_0x2f4227=_0x2a2c44[_0xfbb4d1(0x291)];_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x236)]&&this[_0xfbb4d1(0x37c)](_0x2a2c44),_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x3d8)]&&this['_onCursorDelete'](_0x2a2c44);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)]['onCommandExecuted'](_0x3dd18d=>{const _0x1e885b=_0x4c323c,_0x4e92cd=_0x3dd18d[_0x1e885b(0x373)];_0x4e92cd!=null&&this[_0x1e885b(0x339)]&&_0x3dd18d['id']===_0x39889c[_0x1e885b(0x2e6)]['id']&&_0x4e92cd[_0x1e885b(0x216)]===this[_0x1e885b(0x187)]&&_0x4e92cd[_0x1e885b(0x329)]===!0x1&&_0x4e92cd[_0x1e885b(0x3cc)][_0x1e885b(0x15d)]>0x0&&this[_0x1e885b(0x37a)](_0x4e92cd[_0x1e885b(0x3cc)]);})),this[_0x4c323c(0x273)]['collabCursorState$'][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))['subscribe'](_0x256cfe=>{const _0x3b6976=_0x4c323c;if((_0x256cfe==null?void 0x0:_0x256cfe[_0x3b6976(0x187)])!==this[_0x3b6976(0x187)])return;const _0x42184e={'eventID':_0x44a289[_0x3b6976(0x2dc)][_0x3b6976(0x236)],'data':_0x256cfe};this[_0x3b6976(0x37c)](_0x42184e);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)][_0x4c323c(0x415)](_0x473930=>{const _0x5a708e=_0x4c323c;if(_0x473930['params']==null)return;const _0x5a6b5f=_0x473930[_0x5a708e(0x373)];if(_0x473930['id']!==_0x39889c[_0x5a708e(0x250)]['id']||_0x5a6b5f['unitId']!==this[_0x5a708e(0x187)])return;const _0x3aa5dd={'id':_0x5a708e(0x167),'params':_0x5a6b5f},_0x4f88f4=this['cursorInfo'];for(const [_0x4e4cf1,_0x2b3f98]of _0x4f88f4){const _0x5c6236={'id':_0x5a708e(0x167),'params':{'unitId':this[_0x5a708e(0x187)],'actions':null,'textRanges':_0x2b3f98[_0x5a708e(0x3cc)]}},_0x3e6c6b=this[_0x5a708e(0x3f1)]['transformMutation'](_0x3aa5dd,_0x5c6236,!0x1);if(_0x44a289[_0x5a708e(0x285)](_0x3e6c6b))throw _0x3e6c6b[_0x5a708e(0x22c)];_0x4f88f4['set'](_0x4e4cf1,{..._0x2b3f98,'ranges':_0x3e6c6b[_0x5a708e(0x1b7)][_0x5a708e(0x373)][_0x5a708e(0x2ad)]});}queueMicrotask(()=>{const _0x4f4a6c=_0x5a708e;this['_cursorInfo$'][_0x4f4a6c(0x34e)](_0x4f88f4);});})));}['_onCursorUpdate'](_0x477213){const _0x2a2b25=_0x1d54d9;var _0x428d5b,_0x47638f;const {memberID:_0x496456,selection:_0x304ef7}=_0x477213[_0x2a2b25(0x2d1)],_0x48124b=_0x132a9d(_0x304ef7),_0x4af1f0=(_0x47638f=(_0x428d5b=this[_0x2a2b25(0x260)][_0x2a2b25(0x280)](this['unitID'],_0x496456))==null?void 0x0:_0x428d5b['name'])!=null?_0x47638f:_0x2a2b25(0x388),_0x262af1={'color':this['_colorAssignService'][_0x2a2b25(0x3f6)](_0x496456),'name':_0x4af1f0,'ranges':_0x48124b},_0x462976=this['cursorInfo'];_0x462976[_0x2a2b25(0x3b7)](_0x496456,_0x262af1),this[_0x2a2b25(0x20f)]['next'](_0x462976);}[_0x1d54d9(0x310)](_0x12341c){const _0x39c784=_0x1d54d9,{memberID:_0x5f5b61}=_0x12341c[_0x39c784(0x2d1)],_0x393712=this[_0x39c784(0x175)];_0x393712[_0x39c784(0x35c)](_0x5f5b61),this[_0x39c784(0x20f)][_0x39c784(0x34e)](_0x393712);}[_0x1d54d9(0x333)](){const _0x414fd4=_0x1d54d9;var _0x15c455;if(this[_0x414fd4(0x339)]=!0x0,((_0x15c455=this[_0x414fd4(0x378)][_0x414fd4(0x353)]())==null?void 0x0:_0x15c455[_0x414fd4(0x2e2)]())!==this[_0x414fd4(0x187)])return;const _0x18fdb6=this[_0x414fd4(0x3e0)]['get'](_0x39889c[_0x414fd4(0x3a5)])[_0x414fd4(0x3b0)]();Array[_0x414fd4(0x3a0)](_0x18fdb6)&&_0x18fdb6[_0x414fd4(0x15d)]>0x0&&this[_0x414fd4(0x37a)](_0x18fdb6);}[_0x1d54d9(0x360)](){this['_online']=!0x1;}};_0x1c0d99=_0x511744([_0x32aa2a(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41608e['Injector'])),_0x32aa2a(0x3,_0x41608e['Inject'](_0x1fb581)),_0x32aa2a(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x365)])),_0x32aa2a(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x32aa2a(0x6,_0x44a289[_0x1d54d9(0x35d)]),_0x32aa2a(0x7,_0x41608e['IUniverInstanceService']),_0x32aa2a(0x8,_0x41608e['ICommandService'])],_0x1c0d99);var _0x5108d1=Object['getOwnPropertyDescriptor'],_0x2286ad=(_0x157e5e,_0x263467,_0x34576a,_0x332014)=>{const _0x4d79ee=_0x1d54d9;for(var _0xefd1a9=_0x332014>0x1?void 0x0:_0x332014?_0x5108d1(_0x263467,_0x34576a):_0x263467,_0x2f7954=_0x157e5e[_0x4d79ee(0x15d)]-0x1,_0x18bd13;_0x2f7954>=0x0;_0x2f7954--)(_0x18bd13=_0x157e5e[_0x2f7954])&&(_0xefd1a9=_0x18bd13(_0xefd1a9)||_0xefd1a9);return _0xefd1a9;},_0x4255f6=(_0x14efb4,_0x21ab4d)=>(_0xe8a3df,_0x4fc33e)=>_0x21ab4d(_0xe8a3df,_0x4fc33e,_0x14efb4);const _0x3179db=0x12c,_0x445ace=0x64,_0xdae86e=()=>{let _0x41418d=[],_0x3fb074=!0x1;return _0x3cc8f0=>{const _0x352287=_0x9ceb;_0x41418d[_0x352287(0x3dc)](_0x3cc8f0),_0x3fb074||(_0x3fb074=!0x0,setTimeout(()=>{const _0x1fe0ce=_0x352287;_0x41418d[_0x1fe0ce(0x1d1)](_0x1b5c86=>_0x1b5c86()),_0x41418d=[],_0x3fb074=!0x1;}));};};let _0x5cfeed=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5b1c7c,_0x46e1cf,_0x290217,_0x96dff2,_0xbc857b,_0x7fc0bd,_0x38cf42,_0x4a62a5){const _0x567420=_0x1d54d9;super(),_0x2af801(this,'_online',!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x567420(0x20f),new _0x163839[(_0x567420(0x1c5))](new Map())),_0x2af801(this,'cursorInfo$',this['_cursorInfo$'][_0x567420(0x225)]()),_0x2af801(this,_0x567420(0x203),new _0x163839[(_0x567420(0x1c5))]([])),_0x2af801(this,_0x567420(0x3d5),this[_0x567420(0x203)][_0x567420(0x18b)](_0x163839[_0x567420(0x14d)](_0x3179db))),_0x2af801(this,_0x567420(0x37a),_0x41608e['debounce']((_0x57de20,_0x5032ab)=>{const _0x143b2f=_0x567420,_0x360362={'eventID':_0x44a289['CollaborationEvent'][_0x143b2f(0x236)],'data':{'unitID':this['unitID'],'memberID':this[_0x143b2f(0x2c9)][_0x143b2f(0x32c)](),'selection':_0x150f25[_0x143b2f(0x3fc)](_0x57de20,_0x5032ab[_0x143b2f(0x1ed)])}};this[_0x143b2f(0x2c9)]['send'](_0x360362,this[_0x143b2f(0x187)]);},_0x445ace)),(this['unitID']=_0x5b1c7c,this[_0x567420(0x2c9)]=_0x46e1cf,this[_0x567420(0x3e0)]=_0x290217,this[_0x567420(0x3b8)]=_0x96dff2,this[_0x567420(0x260)]=_0xbc857b,this[_0x567420(0x378)]=_0x7fc0bd,this['_commandService']=_0x38cf42,this[_0x567420(0x3d7)]=_0x4a62a5);}get['cursorInfo'](){const _0x2028f2=_0x1d54d9;return this[_0x2028f2(0x20f)][_0x2028f2(0x1e2)]();}get['roomMembers'](){const _0x44ae8e=_0x1d54d9;return this[_0x44ae8e(0x203)][_0x44ae8e(0x1e2)]();}[_0x1d54d9(0x14a)](){const _0x1fe48a=_0x1d54d9;super['dispose'](),this['_cursorInfo$'][_0x1fe48a(0x34e)](new Map()),this['_cursorInfo$'][_0x1fe48a(0x368)](),this['_roomMembers$'][_0x1fe48a(0x34e)]([]),this[_0x1fe48a(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x2736da=_0x1d54d9;this[_0x2736da(0x37b)]||(this[_0x2736da(0x37b)]=!0x0,this[_0x2736da(0x2c9)][_0x2736da(0x2a9)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this['dispose$']))[_0x2736da(0x431)](_0x4e813f=>{const _0xfe0b38=_0x2736da;_0x4e813f===_0x41402f['SessionStatus'][_0xfe0b38(0x3e1)]?this[_0xfe0b38(0x333)]():this['_toggleOffline']();}),this[_0x2736da(0x2c9)][_0x2736da(0x25d)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this[_0x2736da(0x1bc)]))[_0x2736da(0x431)](_0x5ceff1=>{const _0x373d7a=_0x2736da,_0x376280=_0x5ceff1[_0x373d7a(0x291)];_0x376280===_0x44a289['CollaborationEvent'][_0x373d7a(0x236)]&&this[_0x373d7a(0x37c)](_0x5ceff1),_0x376280===_0x44a289[_0x373d7a(0x2dc)][_0x373d7a(0x3d8)]&&this[_0x373d7a(0x310)](_0x5ceff1);}),this['_onRefRangeChange'](),this[_0x2736da(0x416)](this['_commandService'][_0x2736da(0x415)](_0x4ea4bc=>{const _0x3689c7=_0x2736da;if(this[_0x3689c7(0x339)]&&_0x4ea4bc['id']===_0x5bba74['SetSelectionsOperation']['id']&&_0x4ea4bc['params'][_0x3689c7(0x216)]===this[_0x3689c7(0x187)]){const _0x7d6fbb=_0x4ea4bc[_0x3689c7(0x373)];this[_0x3689c7(0x37a)](_0x7d6fbb[_0x3689c7(0x3c1)],_0x7d6fbb[_0x3689c7(0x3a9)][0x0]);}})));}[_0x1d54d9(0x37c)](_0x181a4a){const _0x19a39c=_0x1d54d9;var _0x1621c7,_0x575f77;const {memberID:_0x378223,selection:_0x5b20eb}=_0x181a4a[_0x19a39c(0x2d1)],{sheetName:_0x45ff6a,range:_0x14eb26}=_0x150f25[_0x19a39c(0x2eb)](_0x5b20eb),_0x3c9599={'name':(_0x575f77=(_0x1621c7=this[_0x19a39c(0x260)][_0x19a39c(0x280)](this[_0x19a39c(0x187)],_0x378223))==null?void 0x0:_0x1621c7['name'])!=null?_0x575f77:_0x19a39c(0x388),'range':this[_0x19a39c(0x424)](_0x45ff6a,_0x14eb26),'sheetID':_0x45ff6a,'color':this[_0x19a39c(0x3b8)][_0x19a39c(0x3f6)](_0x378223),'selection':_0x5b20eb},_0x4d3b8c=this[_0x19a39c(0x175)];_0x4d3b8c['set'](_0x378223,_0x3c9599),this['_cursorInfo$']['next'](_0x4d3b8c);}[_0x1d54d9(0x310)](_0x49a445){const _0x52a52f=_0x1d54d9,{memberID:_0x4a841b}=_0x49a445['data'],_0x9192d4=this[_0x52a52f(0x175)];_0x9192d4['delete'](_0x4a841b),this['_cursorInfo$'][_0x52a52f(0x34e)](_0x9192d4);}[_0x1d54d9(0x424)](_0x3385e6,_0x150369){const _0x47ded8=_0x1d54d9;var _0x5be38a,_0xc41019;const _0x1af46d=(_0xc41019=(_0x5be38a=this['_univerInstanceService'][_0x47ded8(0x1ee)](this[_0x47ded8(0x187)]))==null?void 0x0:_0x5be38a[_0x47ded8(0x28f)](_0x3385e6))==null?void 0x0:_0xc41019[_0x47ded8(0x19a)]();return(_0x1af46d==null?void 0x0:_0x1af46d[_0x47ded8(0x254)](_0x90a47e=>_0x41608e[_0x47ded8(0x159)][_0x47ded8(0x330)](_0x90a47e,_0x150369)))||_0x150369;}[_0x1d54d9(0x205)](){const _0x30ef29=_0x1d54d9,_0x1064f9=new _0x41608e['DisposableCollection'](),_0x4070c4=_0xdae86e(),_0x3fb182=()=>{const _0x319053=_0x9ceb;_0x1064f9[_0x319053(0x14a)]();const _0x4b37b8=(_0x8001c0,_0x9a0de4,_0x1b10f0,_0xeece53)=>{const _0x343450=_0x319053;let _0x5a03c4=[];switch(_0x8001c0['id']){case _0x5bba74[_0x343450(0x165)][_0x343450(0x3e2)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveLeft'](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x219)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveUp'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId']['InsertColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x1cf)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x1ca)]:{_0x5a03c4=_0x5bba74[_0x343450(0x262)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2a1)]:{_0x5a03c4=_0x5bba74[_0x343450(0x324)](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x313)]:{_0x5a03c4=_0x5bba74['handleInsertRow'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x229)]:{_0x5a03c4=_0x5bba74[_0x343450(0x1b1)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)]['RemoveColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x21d)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2c3)]:{_0x5a03c4=_0x5bba74[_0x343450(0x343)](_0x8001c0,_0xeece53);break;}}const _0x4acff9=_0x5bba74[_0x343450(0x347)](_0x5a03c4,_0xeece53),_0x7e746f=this[_0x343450(0x175)][_0x343450(0x38e)](_0x9a0de4);if(_0x7e746f&&_0x4acff9){const _0x44fa10={..._0x7e746f,'range':_0x4acff9};this[_0x343450(0x175)][_0x343450(0x3b7)](_0x9a0de4,_0x44fa10),_0x4070c4(()=>{const _0x4d0ac2=_0x343450,_0x165d4e=this[_0x4d0ac2(0x3d7)][_0x4d0ac2(0x325)](_0x4acff9,_0x49fe59=>(_0x165d4e[_0x4d0ac2(0x14a)](),_0x4b37b8(_0x49fe59,_0x9a0de4,_0x1b10f0,_0x4acff9)));_0x1064f9[_0x4d0ac2(0x239)](_0x165d4e);});}return{'redos':[],'undos':[]};};this[_0x319053(0x175)][_0x319053(0x1d1)]((_0x489dad,_0x398400)=>{const _0xf2df04=_0x319053,{range:_0x4370ab,sheetID:_0x5b4ea1}=_0x489dad,_0x5b6a43=this[_0xf2df04(0x3d7)][_0xf2df04(0x325)](_0x4370ab,_0x326146=>(_0x5b6a43[_0xf2df04(0x14a)](),_0x4b37b8(_0x326146,_0x398400,_0x5b4ea1,_0x4370ab)));_0x1064f9['add'](_0x5b6a43);});};this['disposeWithMe'](_0x41608e['toDisposable'](this['_cursorInfo$'][_0x30ef29(0x431)](()=>{_0x3fb182();})));}['_toggleOnline'](){const _0x423b28=_0x1d54d9;var _0x100cc9,_0x97e632;if(this['_online']=!0x0,((_0x100cc9=this[_0x423b28(0x378)]['getFocusedUnit']())==null?void 0x0:_0x100cc9[_0x423b28(0x2e2)]())!==this[_0x423b28(0x187)])return;const _0x209fd3=(_0x97e632=this[_0x423b28(0x3e0)][_0x423b28(0x38e)](_0x5bba74[_0x423b28(0x411)])[_0x423b28(0x190)]())==null?void 0x0:_0x97e632[0x0],_0x6a6aa6=this[_0x423b28(0x378)][_0x423b28(0x2b3)](_0x41608e['UniverInstanceType']['UNIVER_SHEET'])[_0x423b28(0x1a8)]();_0x209fd3&&_0x6a6aa6&&this[_0x423b28(0x37a)](_0x6a6aa6[_0x423b28(0x26b)](),_0x209fd3);}['_toggleOffline'](){this['_online']=!0x1;}};_0x5cfeed=_0x2286ad([_0x4255f6(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x4255f6(0x3,_0x41608e[_0x1d54d9(0x227)](_0x1fb581)),_0x4255f6(0x4,_0x41608e['Inject'](_0x41402f[_0x1d54d9(0x365)])),_0x4255f6(0x5,_0x41608e[_0x1d54d9(0x189)]),_0x4255f6(0x6,_0x41608e['ICommandService']),_0x4255f6(0x7,_0x41608e['Inject'](_0x5bba74[_0x1d54d9(0x432)]))],_0x5cfeed);var _0x2e07ab=Object[_0x1d54d9(0x369)],_0x4e6a5f=(_0x27241c,_0x2fb0a3,_0x146517,_0x1ffa13)=>{const _0x381db0=_0x1d54d9;for(var _0x4f0b35=_0x1ffa13>0x1?void 0x0:_0x1ffa13?_0x2e07ab(_0x2fb0a3,_0x146517):_0x2fb0a3,_0x319782=_0x27241c[_0x381db0(0x15d)]-0x1,_0x1fdc94;_0x319782>=0x0;_0x319782--)(_0x1fdc94=_0x27241c[_0x319782])&&(_0x4f0b35=_0x1fdc94(_0x4f0b35)||_0x4f0b35);return _0x4f0b35;},_0x4415b7=(_0x309148,_0x3ebd81)=>(_0x39427f,_0x475c58)=>_0x3ebd81(_0x39427f,_0x475c58,_0x309148);let _0x13f4ff=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x3bc703,_0x32b8e9,_0x4bfd60){const _0x51d917=_0x1d54d9;super(),_0x2af801(this,_0x51d917(0x37f),new Map()),_0x2af801(this,_0x51d917(0x322),new _0x163839[(_0x51d917(0x31d))]()),(this[_0x51d917(0x378)]=_0x3bc703,this['_injector']=_0x32b8e9,this['_collabSessionService']=_0x4bfd60,this[_0x51d917(0x37b)]());}[_0x1d54d9(0x14a)](){const _0x5a0623=_0x1d54d9;super[_0x5a0623(0x14a)](),this[_0x5a0623(0x322)][_0x5a0623(0x368)](),this['_entities'][_0x5a0623(0x1d1)](_0x2b71b2=>_0x2b71b2[_0x5a0623(0x14a)]());}['getCollabCursors$'](_0x147ce1){const _0x374744=_0x1d54d9;return this[_0x374744(0x37f)][_0x374744(0x41f)](_0x147ce1)?this['_entities'][_0x374744(0x38e)](_0x147ce1)[_0x374744(0x36f)]:this[_0x374744(0x322)]['pipe'](_0x163839[_0x374744(0x152)](_0x1d8a58=>_0x1d8a58[_0x374744(0x187)]===_0x147ce1),_0x163839['switchMap'](_0xcec791=>_0xcec791[_0x374744(0x36f)]));}['_init'](){const _0x3468df=_0x1d54d9;this[_0x3468df(0x378)]['getTypeOfUnitAdded$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))['subscribe'](async _0xbc0585=>{const _0x48d588=_0x3468df,_0x23ea02=_0xbc0585[_0x48d588(0x2e2)](),_0x4d7416=await this[_0x48d588(0x344)](_0x23ea02);this[_0x48d588(0x322)][_0x48d588(0x34e)](_0x4d7416),this[_0x48d588(0x37f)][_0x48d588(0x3b7)](_0x23ea02,_0x4d7416);}),this['_univerInstanceService'][_0x3468df(0x3c9)](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))[_0x3468df(0x18b)](_0x163839[_0x3468df(0x152)](_0x35fcb8=>!_0x35fcb8['getUnitId']()[_0x3468df(0x33b)]('__')))['subscribe'](async _0x5d6163=>{const _0x2a585c=_0x3468df,_0x3904e4=_0x5d6163[_0x2a585c(0x2e2)](),_0x55b80a=await this['_startDocCollabCursor'](_0x3904e4);this[_0x2a585c(0x322)][_0x2a585c(0x34e)](_0x55b80a),this[_0x2a585c(0x37f)]['set'](_0x3904e4,_0x55b80a);}),_0x163839['merge'](this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)]),this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)]))[_0x3468df(0x18b)](_0x163839['takeUntil'](this['dispose$']))[_0x3468df(0x431)](_0x1df76a=>{const _0x2b206e=_0x3468df,_0xccacdf=_0x1df76a[_0x2b206e(0x2e2)](),_0x3b3a4e=this['_entities']['get'](_0xccacdf);_0x3b3a4e&&(_0x3b3a4e['dispose'](),this['_entities']['delete'](_0xccacdf));});}async[_0x1d54d9(0x344)](_0x3a16a9){const _0x3ca7f8=_0x1d54d9,_0x283d04=await this[_0x3ca7f8(0x39d)]['requireSession'](_0x3a16a9),_0x145b6f=this[_0x3ca7f8(0x3e0)]['createInstance'](_0x5cfeed,_0x3a16a9,_0x283d04);return _0x145b6f['init'](),_0x145b6f;}async['_startDocCollabCursor'](_0x5e9cec){const _0x82cbe=_0x1d54d9,_0x343f59=await this[_0x82cbe(0x39d)][_0x82cbe(0x264)](_0x5e9cec),_0x690e63=this['_injector'][_0x82cbe(0x2df)](_0x1c0d99,_0x5e9cec,_0x343f59);return _0x690e63[_0x82cbe(0x36e)](),_0x690e63;}};_0x13f4ff=_0x4e6a5f([_0x4415b7(0x0,_0x41608e['IUniverInstanceService']),_0x4415b7(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4415b7(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f['CollaborationSessionService']))],_0x13f4ff);const _0x250e0c=0x14,_0x4fe6f=0xc8,_0x67aa1c=0x4,_0x5a4a11=0x5;function _0x52b4d9(_0x1b2b71,_0x5cab45){const _0x1dece8=_0x1d54d9;let {radius:_0x5d29f8,width:_0x3c4545,height:_0x446cf9}=_0x5cab45;_0x5d29f8=_0x5d29f8!=null?_0x5d29f8:0x0,_0x3c4545=_0x3c4545!=null?_0x3c4545:0x1e,_0x446cf9=_0x446cf9!=null?_0x446cf9:0x1e;let _0x28507c=0x0,_0x4dc55b=0x0,_0x3e8cca=0x0;_0x28507c=_0x4dc55b=_0x3e8cca=Math[_0x1dece8(0x32b)](_0x5d29f8,_0x3c4545/0x2,_0x446cf9/0x2),_0x1b2b71[_0x1dece8(0x1d9)](),_0x1b2b71['moveTo'](_0x28507c,0x0),_0x1b2b71['lineTo'](_0x3c4545-_0x4dc55b,0x0),_0x1b2b71['arc'](_0x3c4545-_0x4dc55b,_0x4dc55b,_0x4dc55b,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b2b71[_0x1dece8(0x251)](_0x3c4545,_0x446cf9-_0x3e8cca),_0x1b2b71[_0x1dece8(0x382)](_0x3c4545-_0x3e8cca,_0x446cf9-_0x3e8cca,_0x3e8cca,0x0,Math['PI']/0x2,!0x1),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x446cf9),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x28507c),_0x1b2b71['arc'](_0x28507c,_0x28507c,_0x28507c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b2b71[_0x1dece8(0x304)](),_0x5cab45[_0x1dece8(0x36a)]&&(_0x1b2b71[_0x1dece8(0x16a)](),_0x1b2b71[_0x1dece8(0x28a)]=_0x5cab45[_0x1dece8(0x36a)],_0x5cab45[_0x1dece8(0x341)]===_0x1dece8(0x1b5)?_0x1b2b71[_0x1dece8(0x36a)](_0x1dece8(0x1b5)):_0x1b2b71[_0x1dece8(0x36a)](),_0x1b2b71[_0x1dece8(0x2e0)]());}class _0x1c4925 extends _0x59ca38['Shape']{constructor(_0x32de4c,_0x33fb4f){const _0x27c9d6=_0x1d54d9;super(_0x32de4c,_0x33fb4f),_0x2af801(this,'color'),_0x2af801(this,'text'),(this[_0x27c9d6(0x282)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x282)],this[_0x27c9d6(0x223)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x223)]);}static[_0x1d54d9(0x351)](_0x1d8656,_0x337a6d){const _0x515941=_0x1d54d9,{text:_0xc49e71,color:_0x18afd1}=_0x337a6d;_0x1d8656[_0x515941(0x16a)](),_0x1d8656[_0x515941(0x383)]=_0x515941(0x1db);const _0x29ff3d=_0x1d8656[_0x515941(0x328)](_0xc49e71)['width'],_0x4d53a5=Math[_0x515941(0x32b)](_0x29ff3d+0x2*_0x67aa1c,_0x4fe6f);_0x52b4d9(_0x1d8656,{'height':_0x250e0c,'radius':0x4,'width':_0x4d53a5,'fill':_0x18afd1}),_0x1d8656[_0x515941(0x28a)]=_0x515941(0x34f);const _0x5d0cd9=_0x67aa1c,_0x5efb8=_0x250e0c-_0x5a4a11,_0xd270a2=_0x4fe6f-0x2*_0x67aa1c;if(_0x29ff3d>_0xd270a2){let _0x53642d='',_0x12d3ab=0x0;for(const _0x1cf950 of _0xc49e71){const _0xa95bc5=_0x1d8656[_0x515941(0x328)](_0x1cf950)['width'];if(_0x12d3ab+_0xa95bc5<=_0xd270a2-_0x1d8656['measureText'](_0x515941(0x2e7))[_0x515941(0x391)])_0x53642d+=_0x1cf950,_0x12d3ab+=_0xa95bc5;else{_0x53642d+=_0x515941(0x2e7);break;}}_0x1d8656[_0x515941(0x31b)](_0x53642d,_0x5d0cd9,_0x5efb8);}else _0x1d8656[_0x515941(0x31b)](_0xc49e71,_0x5d0cd9,_0x5efb8);_0x1d8656[_0x515941(0x2e0)]();}['_draw'](_0x5b18f7){const _0x35c510=_0x1d54d9;_0x1c4925[_0x35c510(0x351)](_0x5b18f7,this);}}const _0x2ab4a2=_0x1d54d9(0x269),_0x54cf3b='collab-text-range-',_0x539ca3='collab-rect-range-',_0x3c286f=0x6,_0x415fd5=1.5,_0x8933a5=0x4,_0x195505=1.5,_0x2f6cf2=_0x1d54d9(0x1e5);class _0x5c237c{constructor(_0x85c384,_0x23822e,_0x4e9fe5,_0x3d23ed){const _0x4f4c17=_0x1d54d9;_0x2af801(this,_0x4f4c17(0x17e),[]),_0x2af801(this,_0x4f4c17(0x3a8),null),_0x2af801(this,_0x4f4c17(0x1e1),null),_0x2af801(this,_0x4f4c17(0x27c),null),_0x2af801(this,_0x4f4c17(0x2be),null),_0x2af801(this,_0x4f4c17(0x2a0),null),(this['_cursor']=_0x85c384,this[_0x4f4c17(0x27d)]=_0x23822e,this['_docSkeleton']=_0x4e9fe5,this[_0x4f4c17(0x401)]=_0x3d23ed,this[_0x4f4c17(0x2e5)]());}set[_0x1d54d9(0x1bf)](_0x549b25){const _0x40a8ad=_0x1d54d9;_0x549b25?(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x30c)](),this['_textBubble']&&this['_textBubble'][_0x40a8ad(0x181)]()):(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x181)](),this[_0x40a8ad(0x1e1)]&&this[_0x40a8ad(0x1e1)][_0x40a8ad(0x30c)]());}[_0x1d54d9(0x14a)](){const _0x24ca49=_0x1d54d9;for(const _0x11e0ec of this[_0x24ca49(0x17e)])_0x11e0ec[_0x24ca49(0x14a)]();this[_0x24ca49(0x1e1)]&&this[_0x24ca49(0x1e1)]['dispose'](),this[_0x24ca49(0x27c)]&&this[_0x24ca49(0x27c)][_0x24ca49(0x14a)](),this[_0x24ca49(0x3a8)]&&this[_0x24ca49(0x3a8)][_0x24ca49(0x14a)](),this[_0x24ca49(0x2a0)]&&this[_0x24ca49(0x2a0)]();}[_0x1d54d9(0x2e5)](){const _0x831b06=_0x1d54d9;var _0xe1029;const {_docSkeleton:_0x2c0dca,_document:_0xb454ac}=this,{color:_0x42d606,name:_0x55b911,ranges:_0x29fddd}=this[_0x831b06(0x2c2)],_0x58dd4f=_0xb454ac[_0x831b06(0x17c)](),{docsLeft:_0xb4a0ea,docsTop:_0x3b162d}=_0x58dd4f,_0x529b7d=new _0x32e209[(_0x831b06(0x2fb))](_0x58dd4f,_0x2c0dca);for(const {startOffset:_0x41bd97,endOffset:_0x4436b3,rangeType:_0xe36ab0,segmentId:_0x226d40,segmentPage:_0x2d8b42,collapsed:_0x544ee4,isActive:_0x1cb7cb}of _0x29fddd){const _0x360cb4=_0x2c0dca[_0x831b06(0x374)](_0x41bd97,!0x0,_0x226d40,_0x2d8b42);let _0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3,!0x0,_0x226d40,_0x2d8b42);if(_0x2b3a4f==null&&(_0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3-0x1,!0x1,_0x226d40,_0x2d8b42)),_0x1cb7cb){const {contentBoxPointGroup:_0xaf1f25}=_0x529b7d['getRangePointData'](_0x2b3a4f,_0x2b3a4f);if(_0xaf1f25['length']===0x0)continue;this[_0x831b06(0x17f)](_0x42d606,_0xaf1f25,_0xb4a0ea,_0x3b162d,_0x55b911),this[_0x831b06(0x2a0)]=this[_0x831b06(0x326)]();}if(_0x360cb4&&_0x2b3a4f){if(_0xe36ab0===_0x41608e[_0x831b06(0x202)][_0x831b06(0x1f1)]){const _0x1f1082=new _0x32e209[(_0x831b06(0x217))](_0x58dd4f,_0x2c0dca),{pointGroup:_0x4027e0}=(_0xe1029=_0x1f1082[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f))!=null?_0xe1029:{};if(_0x4027e0==null||_0x4027e0[_0x831b06(0x15d)]===0x0)continue;this['_drawRectRange'](_0x42d606,_0x4027e0,_0xb4a0ea,_0x3b162d);}else{if(!_0x544ee4){const {borderBoxPointGroup:_0x8cd7fd}=_0x529b7d[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f);if(_0x8cd7fd[_0x831b06(0x15d)]===0x0)continue;this[_0x831b06(0x28b)](_0x42d606,_0x8cd7fd,_0xb4a0ea,_0x3b162d);}}}}}[_0x1d54d9(0x17f)](_0x1e0150,_0x4e013b,_0x105fb5,_0x2c6be5,_0x2b6014){const _0x4d8de0=_0x1d54d9,_0x2959e4=this[_0x4d8de0(0x183)](_0x4e013b),{left:_0x482b79,top:_0x31b15a,height:_0x68fee4}=_0x2959e4,_0x5df71d=this['_getScale'](),_0x6d3605=_0x195505/_0x5df71d,_0x1d29e5=new _0x59ca38[(_0x4d8de0(0x1d8))](_0x2ab4a2+_0x41608e['generateRandomId'](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5,'height':_0x68fee4,'width':_0x415fd5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':_0x6d3605,'stroke':_0x2f6cf2,'evented':!0x0});this[_0x4d8de0(0x3a8)]=_0x1d29e5,this[_0x4d8de0(0x27d)]['addObject'](_0x1d29e5,_0x32e209['TEXT_RANGE_LAYER_INDEX']);const _0x11f21b=new _0x59ca38['Rect'](_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x8933a5/0x2,'height':_0x8933a5,'width':_0x8933a5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':0x0,'stroke':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'evented':!0x1});this[_0x4d8de0(0x27c)]=_0x11f21b,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x11f21b,_0x32e209[_0x4d8de0(0x2b6)]);const _0x4173d7=new _0x1c4925(_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x250e0c,'text':_0x2b6014,'color':_0x1e0150});this[_0x4d8de0(0x1e1)]=_0x4173d7,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x4173d7,_0x32e209[_0x4d8de0(0x2b6)]),this[_0x4d8de0(0x1bf)]=!0x1;}['_handleHover'](){const _0x761046=_0x1d54d9,_0x4fcf33=this[_0x761046(0x3a8)][_0x761046(0x379)][_0x761046(0x2ed)](()=>{this['_hover']=!0x0;}),_0x199728=this[_0x761046(0x3a8)][_0x761046(0x275)]['subscribeEvent'](()=>{const _0x469834=_0x761046;this[_0x469834(0x2be)]&&clearTimeout(this[_0x469834(0x2be)]),this[_0x469834(0x2be)]=setTimeout(()=>{const _0x4db936=_0x469834;this[_0x4db936(0x1bf)]=!0x1;},0x7d0);});return()=>{const _0x1b653e=_0x761046;_0x4fcf33[_0x1b653e(0x16c)](),_0x199728[_0x1b653e(0x16c)]();};}[_0x1d54d9(0x28b)](_0x464191,_0x2100b0,_0x2cc5d8,_0x23082f){const _0x21209b=_0x1d54d9,_0x5c5f3e=new _0x41608e[(_0x21209b(0x265))](_0x464191)[_0x21209b(0x177)](0.2)[_0x21209b(0x410)](),_0x403757=new _0x59ca38['RegularPolygon'](_0x54cf3b+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x2100b0,'fill':_0x5c5f3e||_0x59ca38['getColor'](_0x41608e[_0x21209b(0x40e)][_0x21209b(0x24b)],0.2),'left':_0x2cc5d8,'top':_0x23082f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21209b(0x17e)][_0x21209b(0x3dc)](_0x403757),this[_0x21209b(0x27d)]['addObject'](_0x403757,_0x32e209[_0x21209b(0x2b6)]);}['_drawRectRange'](_0x47b4ae,_0x24b44d,_0x4f1add,_0x23cc83){const _0x473eba=_0x1d54d9,_0x9febe8=new _0x41608e[(_0x473eba(0x265))](_0x47b4ae)[_0x473eba(0x177)](0.2)[_0x473eba(0x410)](),_0x2fccdc=new _0x59ca38['RegularPolygon'](_0x539ca3+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x24b44d,'fill':_0x9febe8||_0x59ca38[_0x473eba(0x2af)](_0x41608e[_0x473eba(0x40e)][_0x473eba(0x24b)],0.2),'left':_0x4f1add,'top':_0x23cc83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x473eba(0x17e)][_0x473eba(0x3dc)](_0x2fccdc),this[_0x473eba(0x27d)][_0x473eba(0x34c)](_0x2fccdc,_0x32e209[_0x473eba(0x2b6)]);}['_getAnchorBounding'](_0x537be3){const _0x1cf522=_0x537be3[0x0],_0x2a0e00=_0x1cf522[0x0],_0x231ddd=_0x1cf522[0x2],{x:_0x256e7c,y:_0x15a36c}=_0x2a0e00,{x:_0xa106e8,y:_0x38d213}=_0x231ddd;return{'left':_0x256e7c,'top':_0x15a36c,'width':_0xa106e8-_0x256e7c,'height':_0x38d213-_0x15a36c};}[_0x1d54d9(0x2c0)](){const _0x3033b8=_0x1d54d9,{scaleX:_0x2e1179,scaleY:_0x5685e4}=this[_0x3033b8(0x27d)][_0x3033b8(0x277)]();return Math[_0x3033b8(0x3d4)](_0x2e1179,_0x5685e4);}}var _0x3ccf0d=Object[_0x1d54d9(0x369)],_0x287bf0=(_0x44476b,_0x1a917c,_0x431eb5,_0xf60817)=>{for(var _0x5e573c=_0xf60817>0x1?void 0x0:_0xf60817?_0x3ccf0d(_0x1a917c,_0x431eb5):_0x1a917c,_0x632b18=_0x44476b['length']-0x1,_0xd75509;_0x632b18>=0x0;_0x632b18--)(_0xd75509=_0x44476b[_0x632b18])&&(_0x5e573c=_0xd75509(_0x5e573c)||_0x5e573c);return _0x5e573c;},_0x53ab81=(_0x1b281f,_0x1c7fb0)=>(_0x49baaf,_0x164724)=>_0x1c7fb0(_0x49baaf,_0x164724,_0x1b281f);let _0x4b0629=class extends _0x41608e['RxDisposable']{constructor(_0x4af39b,_0x429db6,_0x4bf583,_0x308686,_0x174b5b){const _0x4a68b7=_0x1d54d9;super(),_0x2af801(this,'_cursorShapes',[]),_0x2af801(this,'_cursors',[]),(this[_0x4a68b7(0x27f)]=_0x4af39b,this[_0x4a68b7(0x1f7)]=_0x429db6,this[_0x4a68b7(0x31f)]=_0x4bf583,this['_commandService']=_0x308686,this[_0x4a68b7(0x420)]=_0x174b5b,this[_0x4a68b7(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x3c4617=_0x1d54d9,_0x34fc5f=this[_0x3c4617(0x27f)][_0x3c4617(0x216)],_0x5e477f=this['_docSkeletonManagerService'];this[_0x3c4617(0x416)](_0x163839[_0x3c4617(0x2a3)]([this[_0x3c4617(0x31f)]['getCollabCursors$'](_0x34fc5f),this['_themeService'][_0x3c4617(0x168)]])['pipe'](_0x1502db[_0x3c4617(0x41a)](([_0x2dd6f3,_0x3a8a33])=>({'skeleton':_0x5e477f[_0x3c4617(0x3ca)](),'cursors':[..._0x2dd6f3[_0x3c4617(0x1b0)]()][_0x3c4617(0x261)](_0x5b294d=>({..._0x5b294d,'color':this[_0x3c4617(0x420)][_0x3c4617(0x334)](_0x5b294d[_0x3c4617(0x282)])}))})))[_0x3c4617(0x431)](_0x44b7c4=>{const _0x49bbfd=_0x3c4617;if(this[_0x49bbfd(0x396)](),_0x44b7c4){const {skeleton:_0x17e02b,cursors:_0x29e03c}=_0x44b7c4;this[_0x49bbfd(0x337)](_0x17e02b,_0x29e03c);}})),this[_0x3c4617(0x357)](),this[_0x3c4617(0x3f9)]();}['_updateCollabCursors'](_0x4d6415,_0x424883){const _0x37202b=_0x1d54d9,{scene:_0x311873,mainComponent:_0x4a86bf}=this[_0x37202b(0x27f)],_0xcd64fd=_0x424883[_0x37202b(0x41a)](_0x38154e=>new _0x5c237c(_0x38154e,_0x311873,_0x4d6415,_0x4a86bf));this[_0x37202b(0x384)]=_0xcd64fd,this['_cursors']=_0x424883;}['_refreshCollabCursors'](){const _0x2b7700=_0x1d54d9;this[_0x2b7700(0x396)]();const {scene:_0x339cd9,mainComponent:_0x2940de}=this[_0x2b7700(0x27f)],_0x478659=this[_0x2b7700(0x1f7)][_0x2b7700(0x3ca)](),_0x57eaa3=this[_0x2b7700(0x20c)][_0x2b7700(0x41a)](_0x1435f2=>new _0x5c237c(_0x1435f2,_0x339cd9,_0x478659,_0x2940de));this[_0x2b7700(0x384)]=_0x57eaa3;}[_0x1d54d9(0x396)](){const _0x4d56c0=_0x1d54d9;this[_0x4d56c0(0x384)][_0x4d56c0(0x1d1)](_0x185e03=>_0x185e03[_0x4d56c0(0x14a)]()),this[_0x4d56c0(0x384)]=[];}[_0x1d54d9(0x3f9)](){const _0x2df125=_0x1d54d9,_0x503494=[_0x32e209[_0x2df125(0x39e)]['id']];this[_0x2df125(0x416)](this['_commandService'][_0x2df125(0x415)](_0x1d94b9=>{const _0x40261b=_0x2df125;_0x503494[_0x40261b(0x1ea)](_0x1d94b9['id'])&&_0x1d94b9[_0x40261b(0x373)][_0x40261b(0x216)]===this[_0x40261b(0x27f)][_0x40261b(0x216)]&&this[_0x40261b(0x1c0)]();}));}['_initResize'](){const _0x4861a6=_0x1d54d9;this['disposeWithMe'](_0x41608e[_0x4861a6(0x2b5)](this[_0x4861a6(0x27f)][_0x4861a6(0x220)]['onTransformChange$'])[_0x4861a6(0x18b)](_0x1502db[_0x4861a6(0x152)](_0x2edfee=>_0x2edfee[_0x4861a6(0x1d2)]===_0x59ca38[_0x4861a6(0x3e6)][_0x4861a6(0x172)]),_0x1502db['throttleTime'](0x10))[_0x4861a6(0x431)](()=>{const _0x1e6074=_0x4861a6;this[_0x1e6074(0x1c0)]();}));}};_0x4b0629=_0x287bf0([_0x53ab81(0x1,_0x41608e[_0x1d54d9(0x227)](_0x39889c[_0x1d54d9(0x23d)])),_0x53ab81(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x53ab81(0x3,_0x41608e['ICommandService']),_0x53ab81(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x307)]))],_0x4b0629);const _0x2a6788=0x1,_0x333c29=1.5;class _0x8d5a84 extends _0x59ca38['Shape']{constructor(_0x53fbf6,_0x45212f){const _0x132225=_0x1d54d9;super(_0x53fbf6,_0x45212f),_0x2af801(this,_0x132225(0x1c8)),_0x2af801(this,_0x132225(0x2ae),!0x1),_0x2af801(this,'_range'),_0x2af801(this,_0x132225(0x196),''),_0x2af801(this,_0x132225(0x2e4),_0x132225(0x30b)),_0x2af801(this,_0x132225(0x23a)),(_0x45212f&&this[_0x132225(0x398)](_0x45212f),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x132225(0x398)]({'hovered':!0x0})),this[_0x132225(0x275)][_0x132225(0x2ed)](()=>this[_0x132225(0x398)]({'hovered':!0x1})));}[_0x1d54d9(0x398)](_0x5b827b){const _0x37ec85=_0x1d54d9;var _0x1bd060,_0x176f83,_0x42f1c5,_0x15762a,_0x1227b5,_0x82c9e8;this['_color']=(_0x1bd060=_0x5b827b[_0x37ec85(0x282)])!=null?_0x1bd060:this[_0x37ec85(0x1c8)],this[_0x37ec85(0x2ae)]=(_0x176f83=_0x5b827b[_0x37ec85(0x166)])!=null?_0x176f83:this[_0x37ec85(0x2ae)],this[_0x37ec85(0x184)]=(_0x42f1c5=_0x5b827b[_0x37ec85(0x1ed)])!=null?_0x42f1c5:this[_0x37ec85(0x184)],this[_0x37ec85(0x196)]=(_0x15762a=_0x5b827b['name'])!=null?_0x15762a:this[_0x37ec85(0x196)],this[_0x37ec85(0x2e4)]=(_0x1227b5=_0x5b827b[_0x37ec85(0x233)])!=null?_0x1227b5:this[_0x37ec85(0x2e4)],this['_backgroundColor']=(_0x82c9e8=_0x5b827b['backgroundColor'])!=null?_0x82c9e8:this[_0x37ec85(0x23a)],this[_0x37ec85(0x3ab)]({'width':_0x5b827b['width'],'height':_0x5b827b['height']});}[_0x1d54d9(0x407)](_0x4e3b68){const _0xc4120a=_0x1d54d9,{row:_0x1a4501,column:_0x465475}=_0x4e3b68;if(_0x1a4501>=this[_0xc4120a(0x184)][_0xc4120a(0x2f9)]&&_0x1a4501<=this[_0xc4120a(0x184)][_0xc4120a(0x1cd)]&&_0x465475>=this['_range'][_0xc4120a(0x3bd)]&&_0x465475<=this[_0xc4120a(0x184)][_0xc4120a(0x358)]){this[_0xc4120a(0x398)]({'hovered':!0x0});return;}this[_0xc4120a(0x398)]({'hovered':!0x1});}[_0x1d54d9(0x3c0)](_0x1d8564){return!0x1;}[_0x1d54d9(0x188)](_0xc165e0){const _0x3587c0=_0x1d54d9;_0x59ca38[_0x3587c0(0x1d8)][_0x3587c0(0x351)](_0xc165e0,{'width':this['width'],'height':this[_0x3587c0(0x1a0)],'strokeWidth':_0x333c29,'stroke':this[_0x3587c0(0x1c8)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3587c0(0x2ae)]&&(_0xc165e0[_0x3587c0(0x16a)](),_0xc165e0[_0x3587c0(0x3b3)](0x1,0x0,0x0,0x1,this[_0x3587c0(0x391)],this[_0x3587c0(0x2e4)]===_0x3587c0(0x246)?0x0:-_0x250e0c),_0x1c4925[_0x3587c0(0x351)](_0xc165e0,{'text':this[_0x3587c0(0x196)],'color':this[_0x3587c0(0x1c8)]}),_0xc165e0[_0x3587c0(0x2e0)]());}}var _0x4c3653=Object[_0x1d54d9(0x369)],_0x5c7e38=(_0x29d0bf,_0x43cbe7,_0x240ae7,_0x10aed3)=>{for(var _0x3be4c7=_0x10aed3>0x1?void 0x0:_0x10aed3?_0x4c3653(_0x43cbe7,_0x240ae7):_0x43cbe7,_0x30c5b4=_0x29d0bf['length']-0x1,_0x2f1e04;_0x30c5b4>=0x0;_0x30c5b4--)(_0x2f1e04=_0x29d0bf[_0x30c5b4])&&(_0x3be4c7=_0x2f1e04(_0x3be4c7)||_0x3be4c7);return _0x3be4c7;},_0x4a99ce=(_0x2c0198,_0x40217d)=>(_0x4166ad,_0x34e035)=>_0x40217d(_0x4166ad,_0x34e035,_0x2c0198);const _0x492326=0x1389;let _0x47ed4b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x4bceae,_0x1924f3,_0x25b839,_0x18dd49){const _0x3394d2=_0x1d54d9;super(),_0x2af801(this,_0x3394d2(0x20c),new Set()),_0x2af801(this,'_lastPointer',null),(this[_0x3394d2(0x27f)]=_0x4bceae,this[_0x3394d2(0x178)]=_0x1924f3,this[_0x3394d2(0x31f)]=_0x25b839,this[_0x3394d2(0x420)]=_0x18dd49,this['_init']());}[_0x1d54d9(0x37b)](){const _0x4a67a2=_0x1d54d9;this[_0x4a67a2(0x178)][_0x4a67a2(0x25b)][_0x4a67a2(0x18b)](_0x1502db[_0x4a67a2(0x1e4)](this[_0x4a67a2(0x1bc)]),_0x1502db[_0x4a67a2(0x3ce)](_0x181b96=>{const _0x1b9a85=_0x4a67a2;if(_0x181b96){const _0x28bd23=_0x181b96['sheetId'];return _0x163839[_0x1b9a85(0x2a3)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b9a85(0x27f)][_0x1b9a85(0x216)]),this[_0x1b9a85(0x420)]['currentTheme$'])['pipe'](_0x1502db[_0x1b9a85(0x41a)](([_0x644f54,_0x42d540])=>{const _0x53a753=_0x1b9a85,_0x2ea230=new Map();return _0x644f54[_0x53a753(0x1d1)]((_0x57367f,_0x423bb7)=>{const _0xa83059=_0x53a753;if(_0x57367f[_0xa83059(0x222)]===_0x28bd23){const _0x265b47={..._0x57367f};_0x265b47[_0xa83059(0x282)]=this[_0xa83059(0x420)][_0xa83059(0x334)](_0x57367f[_0xa83059(0x282)]),_0x2ea230['set'](_0x423bb7,_0x265b47);}}),{'skeleton':_0x181b96,'cursors':_0x2ea230};}));}return _0x163839['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a67a2(0x431)](({skeleton:_0x54dcef,cursors:_0x2029d6})=>{const _0x4ac861=_0x4a67a2;this[_0x4ac861(0x396)](),_0x54dcef&&this[_0x4ac861(0x337)](_0x54dcef,_0x2029d6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4a67a2(0x431)](_0x3a8ad5=>{const _0x39aff1=_0x4a67a2;if(_0x3a8ad5==null)return;const {skeleton:_0x79c9cd}=_0x3a8ad5,{scene:_0x5612e6}=this[_0x39aff1(0x27f)];_0x5612e6[_0x39aff1(0x25c)][_0x39aff1(0x2ed)](_0x41608e[_0x39aff1(0x3de)](_0x8948c0=>{const _0x25260e=_0x39aff1;var _0x5f32ba,_0x91563c;const {offsetX:_0x34190d,offsetY:_0x435dbd}=_0x8948c0,{x:_0x5584f8,y:_0xf84d9c}=_0x5612e6[_0x25260e(0x24f)](_0x59ca38[_0x25260e(0x3eb)][_0x25260e(0x33e)]([_0x34190d,_0x435dbd])),{scaleX:_0x32a709,scaleY:_0x3c2ab1}=_0x5612e6[_0x25260e(0x277)](),_0x112069=_0x5612e6[_0x25260e(0x31c)](_0x59ca38[_0x25260e(0x2c7)][_0x25260e(0x3a1)]),_0x254820=_0x5612e6[_0x25260e(0x3bf)](_0x59ca38[_0x25260e(0x3eb)]['FromArray']([_0x5584f8,_0xf84d9c]),_0x112069),_0x65ca48=_0x79c9cd['getCellPositionByOffset'](_0x34190d,_0x435dbd,_0x32a709,_0x3c2ab1,_0x254820);((_0x5f32ba=this[_0x25260e(0x1a9)])==null?void 0x0:_0x5f32ba[_0x25260e(0x201)])===_0x65ca48[_0x25260e(0x201)]&&((_0x91563c=this[_0x25260e(0x1a9)])==null?void 0x0:_0x91563c[_0x25260e(0x1fd)])===_0x65ca48['row']||this['_cursors'][_0x25260e(0x1d1)](_0x56812f=>{const _0x4be8ef=_0x25260e;_0x56812f[_0x4be8ef(0x407)](_0x65ca48);});},0x64));});}[_0x1d54d9(0x337)](_0x28d7f5,_0x5cf7f8){const _0x137f04=_0x1d54d9;var _0x4389ec;const _0x4f816a=(_0x4389ec=this[_0x137f04(0x178)][_0x137f04(0x259)]())==null?void 0x0:_0x4389ec[_0x137f04(0x40b)];if(!_0x4f816a)return;const _0x72136c=this['_getSheetObject']();if(!_0x72136c)return;this['_cursors']['forEach'](_0x26e9ee=>{const _0x48f801=_0x137f04;_0x26e9ee[_0x48f801(0x406)]();});const {scene:_0x9225fb}=_0x72136c,_0x4999ba=_0x1027bf(Array[_0x137f04(0x338)](_0x5cf7f8[_0x137f04(0x1b0)]()))[_0x137f04(0x41a)](_0x17a164=>{const _0x4e773f=_0x137f04,{color:_0x4629da,range:_0x41b773,name:_0x4a4c86,selection:_0x403236,sheetID:_0x97c38}=_0x17a164,{startColumn:_0x23e7c9,startRow:_0x69e124,endColumn:_0x33e063,endRow:_0x4e6254}=_0x41b773,_0x3f0743=_0x2c6e67[_0x4e773f(0x2f5)](_0x69e124,_0x23e7c9,_0x9225fb,_0x4f816a),_0x47ac67=_0x2c6e67[_0x4e773f(0x2f5)](_0x4e6254,_0x33e063,_0x9225fb,_0x4f816a),{columnHeaderHeightAndMarginTop:_0x10b506}=_0x4f816a,{startX:_0x27abb0,startY:_0x5538b0}=_0x3f0743,{endX:_0x3766bd,endY:_0x1da1f1}=_0x47ac67,_0x2788a1=_0x3766bd-_0x27abb0,_0x37c3e5=_0x1da1f1-_0x5538b0,_0xadc836={'labelPosition':_0x5538b0-_0x10b506>=_0x250e0c?_0x4e773f(0x30b):_0x4e773f(0x246),'sheetID':_0x97c38,'range':_0x41b773,'color':_0x4629da,'name':_0x4a4c86,'selection':_0x403236,'left':_0x27abb0,'top':_0x5538b0,'width':_0x2788a1,'height':_0x37c3e5,'evented':!0x1,'zIndex':_0x492326};return new _0x8d5a84(_0x4a4c86,_0xadc836);});_0x9225fb['addObjects'](_0x4999ba,_0x2a6788),this['_cursors']=new Set(_0x4999ba);}['_removeCollabCursors'](){const _0x206721=_0x1d54d9;var _0x416b5c;(_0x416b5c=this['_cursors'])==null||_0x416b5c[_0x206721(0x1d1)](_0x2779c0=>_0x2779c0[_0x206721(0x14a)]());}[_0x1d54d9(0x2cb)](){const _0x16b8e0=_0x1d54d9;return _0x2c6e67[_0x16b8e0(0x3b9)](this[_0x16b8e0(0x27f)][_0x16b8e0(0x3fd)],this['_context']);}};_0x47ed4b=_0x5c7e38([_0x4a99ce(0x1,_0x41608e['Inject'](_0x2c6e67[_0x1d54d9(0x266)])),_0x4a99ce(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x4a99ce(0x3,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x307)]))],_0x47ed4b);function _0x1027bf(_0x500928){const _0x5ac432=_0x1d54d9,_0x2fdecd=new Map();return _0x500928[_0x5ac432(0x1d1)](_0x853b08=>{const _0x5427eb=_0x5ac432;if(_0x2fdecd[_0x5427eb(0x41f)](_0x853b08[_0x5427eb(0x253)])){const _0x10115f=_0x2fdecd[_0x5427eb(0x38e)](_0x853b08[_0x5427eb(0x253)]);_0x10115f['name']+=',\x20'+_0x853b08['name'];}else _0x2fdecd[_0x5427eb(0x3b7)](_0x853b08[_0x5427eb(0x253)],_0x853b08);}),Array['from'](_0x2fdecd[_0x5ac432(0x1b0)]());}var _0x382645=Object[_0x1d54d9(0x369)],_0x4dbda8=(_0x1f2514,_0x31be1a,_0x4d9f50,_0xbdd402)=>{const _0x80229a=_0x1d54d9;for(var _0x35561c=_0xbdd402>0x1?void 0x0:_0xbdd402?_0x382645(_0x31be1a,_0x4d9f50):_0x31be1a,_0x40ea78=_0x1f2514[_0x80229a(0x15d)]-0x1,_0x19e196;_0x40ea78>=0x0;_0x40ea78--)(_0x19e196=_0x1f2514[_0x40ea78])&&(_0x35561c=_0x19e196(_0x35561c)||_0x35561c);return _0x35561c;},_0x965df3=(_0x5b4b55,_0x24a726)=>(_0x36aa38,_0x13bc07)=>_0x24a726(_0x36aa38,_0x13bc07,_0x5b4b55);let _0x1270f3=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x1c0cef,_0x3341bd,_0x3e928b,_0x294178,_0x543f30,_0x745b9d){const _0x6dddea=_0x1d54d9;super(),this[_0x6dddea(0x2ca)]=_0x1c0cef,this[_0x6dddea(0x14e)]=_0x3341bd,this[_0x6dddea(0x191)]=_0x3e928b,this['_messageService']=_0x294178,this[_0x6dddea(0x2f4)]=_0x543f30,this[_0x6dddea(0x390)]=_0x745b9d,this[_0x6dddea(0x3d9)](),this['_initEvent']();}[_0x1d54d9(0x3d9)](){const _0x46dd4a=_0x1d54d9;this[_0x46dd4a(0x416)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x27a6cf=_0x46dd4a;if(this[_0x27a6cf(0x14e)][_0x27a6cf(0x3c8)][_0x27a6cf(0x38b)])return this[_0x27a6cf(0x390)]['t'](_0x27a6cf(0x2ea));}));}[_0x1d54d9(0x283)](){const _0x458ca1=_0x1d54d9;this[_0x458ca1(0x416)](this[_0x458ca1(0x191)][_0x458ca1(0x25d)][_0x458ca1(0x431)](_0x4a3f74=>{const _0x31073a=_0x458ca1;_0x4a3f74['id']===_0x41402f['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x3ec05e[_0x31073a(0x292)]['Warning'],'content':this[_0x31073a(0x390)]['t']('collaboration.single-unit.warning')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x361)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)]['PERMISSION_DENIED']&&this[_0x31073a(0x2f4)][_0x31073a(0x181)]({'title':this['_localeService']['t'](_0x31073a(0x17b)),'content':this['_localeService']['t'](_0x31073a(0x387)),'type':_0x31073a(0x22c),'duration':0x0}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1e9)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this[_0x31073a(0x390)]['t']('collaboration.closeRoom')+'('+_0x4a3f74[_0x31073a(0x2d1)]+')'}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x2bb)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t'](_0x4a3f74[_0x31073a(0x2d1)]||'')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x289)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e['MessageType'][_0x31073a(0x2b0)],'content':this[_0x31073a(0x390)]['t'](_0x31073a(0x249))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x36b)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this['_localeService']['t'](_0x31073a(0x199))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1af)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)]['Error'],'content':this['_localeService']['t'](_0x31073a(0x1fc))});}));}};_0x1270f3=_0x4dbda8([_0x965df3(0x0,_0x6166b9[_0x1d54d9(0x31e)]),_0x965df3(0x1,_0x41402f[_0x1d54d9(0x33c)]),_0x965df3(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x367)])),_0x965df3(0x3,_0x6166b9['IMessageService']),_0x965df3(0x4,_0x6166b9[_0x1d54d9(0x436)]),_0x965df3(0x5,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x1270f3);var _0x19338=Object[_0x1d54d9(0x369)],_0x220882=(_0x5d4062,_0x298b76,_0x90a99d,_0x532a3c)=>{const _0x3fcc63=_0x1d54d9;for(var _0x4807f4=_0x532a3c>0x1?void 0x0:_0x532a3c?_0x19338(_0x298b76,_0x90a99d):_0x298b76,_0x8465b0=_0x5d4062[_0x3fcc63(0x15d)]-0x1,_0x24aba9;_0x8465b0>=0x0;_0x8465b0--)(_0x24aba9=_0x5d4062[_0x8465b0])&&(_0x4807f4=_0x24aba9(_0x4807f4)||_0x4807f4);return _0x4807f4;},_0x2f7da3=(_0x3bf716,_0xe65617)=>(_0x23acd9,_0x24b5fe)=>_0xe65617(_0x23acd9,_0x24b5fe,_0x3bf716);let _0x3ffdc4=class extends _0x41608e['Disposable']{constructor(_0x5523a3,_0x1b554f,_0x3af100,_0x375465){const _0x164a10=_0x1d54d9;super(),_0x2af801(this,_0x164a10(0x1d6)),(this[_0x164a10(0x3e0)]=_0x5523a3,this['_httpService']=_0x1b554f,this[_0x164a10(0x29d)]=_0x3af100,this['_collaborationSessionService']=_0x375465,this[_0x164a10(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x323a8c=_0x1d54d9;this[_0x323a8c(0x1b6)](),this[_0x323a8c(0x395)](),this['_monkeyPatchLogService'](),this[_0x323a8c(0x2ac)]();}[_0x1d54d9(0x2ac)](){const _0x237711=_0x1d54d9;this[_0x237711(0x416)](this[_0x237711(0x38c)]['socket$'][_0x237711(0x431)](_0x53680b=>{this['_memberID']=_0x53680b==null?void 0x0:_0x53680b['memberID'];}));}[_0x1d54d9(0x1b6)](){const _0x1bb738=_0x1d54d9,_0x4c9a67=_0x1c6abf=>{const _0x250500=_0x9ceb;var _0x227990;this[_0x250500(0x418)]('error',_0x250500(0x3bc)+_0x1c6abf['message']+_0x250500(0x30e)+_0x1c6abf[_0x250500(0x244)]+':'+_0x1c6abf[_0x250500(0x1d4)]+':'+_0x1c6abf[_0x250500(0x20b)]+'\x0a'+(((_0x227990=_0x1c6abf[_0x250500(0x22c)])==null?void 0x0:_0x227990[_0x250500(0x19e)])||''));};window[_0x1bb738(0x3e9)]('error',_0x4c9a67),this[_0x1bb738(0x416)](()=>{const _0x389669=_0x1bb738;window[_0x389669(0x1e7)](_0x389669(0x22c),_0x4c9a67);});}[_0x1d54d9(0x395)](){const _0xd6b7db=_0x1d54d9,_0x459f83=_0x4e0298=>{const _0x2831e8=_0x9ceb;this[_0x2831e8(0x418)](_0x2831e8(0x22c),_0x2831e8(0x413)+_0x4e0298['reason']);};window[_0xd6b7db(0x3e9)]('unhandledrejection',_0x459f83),this[_0xd6b7db(0x416)](()=>{const _0x50560b=_0xd6b7db;window[_0x50560b(0x1e7)](_0x50560b(0x392),_0x459f83);});}['_monkeyPatchLogService'](){const _0x387b73=_0x1d54d9,_0x3d958e=this[_0x387b73(0x29d)][_0x387b73(0x22c)][_0x387b73(0x23b)](this['_logService']);this['_logService'][_0x387b73(0x22c)]=(..._0x5d5fff)=>{const _0x465ba0=_0x387b73,_0x2046ef=_0x5d5fff[_0x465ba0(0x41a)](_0x1e0641=>_0x1e0641 instanceof Error?_0x1e0641[_0x465ba0(0x34a)]+'\x0a'+_0x1e0641[_0x465ba0(0x19e)]:String(_0x1e0641))[_0x465ba0(0x2fe)]('\x20');this[_0x465ba0(0x418)]('error',_0x465ba0(0x174)+_0x2046ef),_0x3d958e(..._0x5d5fff);},this[_0x387b73(0x416)](()=>{const _0x51300a=_0x387b73;this['_logService'][_0x51300a(0x22c)]=_0x3d958e;});}[_0x1d54d9(0x418)](_0x156c54,_0x5886a3){const _0x5c3b49=_0x1d54d9;try{const _0x547956={'userId':this[_0x5c3b49(0x1d6)],'logLabel':_0x156c54,'content':_0x5886a3};this[_0x5c3b49(0x1f2)]['post']('/universer-api/frontend/logs',{'body':_0x547956})[_0x5c3b49(0x252)](()=>{});}catch{}}};_0x3ffdc4=_0x220882([_0x2f7da3(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x2f7da3(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x2f7da3(0x2,_0x41608e['ILogService']),_0x2f7da3(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x27b)]))],_0x3ffdc4);const _0x247127=_0x1d54d9(0x42f),_0x4e5c93={};var _0x6889af=Object[_0x1d54d9(0x369)],_0x29f015=(_0x5ad0b4,_0xb4b19a,_0x305fd7,_0x4608be)=>{const _0x437482=_0x1d54d9;for(var _0x4f791c=_0x4608be>0x1?void 0x0:_0x4608be?_0x6889af(_0xb4b19a,_0x305fd7):_0xb4b19a,_0x3e4ecb=_0x5ad0b4[_0x437482(0x15d)]-0x1,_0xd1a753;_0x3e4ecb>=0x0;_0x3e4ecb--)(_0xd1a753=_0x5ad0b4[_0x3e4ecb])&&(_0x4f791c=_0xd1a753(_0x4f791c)||_0x4f791c);return _0x4f791c;},_0x267fa4=(_0x12defd,_0x446118)=>(_0x2946b6,_0x133fe8)=>_0x446118(_0x2946b6,_0x133fe8,_0x12defd);let _0x385043=class{constructor(_0x2b27c6,_0x15803d){const _0x300dd8=_0x1d54d9;this[_0x300dd8(0x3f1)]=_0x2b27c6,this['_renderManagerService']=_0x15803d;}[_0x1d54d9(0x228)](_0x48f3ba){const _0x336bcc=_0x1d54d9;this[_0x336bcc(0x29e)](_0x48f3ba),this[_0x336bcc(0x2a6)](_0x48f3ba);}[_0x1d54d9(0x153)](_0x4d20bb){const _0x28fff6=_0x1d54d9,{unitID:_0x3cd62c}=_0x4d20bb,_0x237d31=this[_0x28fff6(0x434)][_0x28fff6(0x317)](_0x3cd62c)[_0x28fff6(0x3e7)](_0x32e209[_0x28fff6(0x359)]),{redoCache:_0x4a2f11}=_0x237d31['getUndoRedoMutationParamsCache']();if(_0x4a2f11[_0x28fff6(0x15d)]===0x0)return _0x4d20bb;let _0x16b424=_0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb[_0x28fff6(0x15b)][0x0]);for(let _0x2a1e6d=0x0;_0x2a1e6d<_0x4a2f11[_0x28fff6(0x15d)];_0x2a1e6d++){const _0x98adb4={'id':_0x28fff6(0x167),'params':{..._0x4a2f11[_0x2a1e6d]}},_0x23c0eb=this[_0x28fff6(0x3f1)][_0x28fff6(0x40a)](_0x16b424,_0x98adb4,!0x1);if(_0x44a289[_0x28fff6(0x285)](_0x23c0eb))throw _0x23c0eb['error'];_0x16b424=_0x23c0eb['m1Prime'];}return{..._0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb),'mutations':[_0x16b424]};}[_0x1d54d9(0x29e)](_0x52501b){const _0x4208f8=_0x1d54d9,{unitID:_0x379335}=_0x52501b,_0x4f2d4f=this[_0x4208f8(0x434)][_0x4208f8(0x317)](_0x379335)[_0x4208f8(0x3e7)](_0x32e209[_0x4208f8(0x359)]),{undoCache:_0x538ef7,redoCache:_0x16eaca}=_0x4f2d4f[_0x4208f8(0x2c1)]();if(_0x538ef7['length']===0x0||_0x16eaca['length']===0x0)return;const _0x251637=[],_0x30fd82=[];let _0x27b2e3=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]),_0x879f97=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]);for(let _0x285d31=_0x538ef7[_0x4208f8(0x15d)]-0x1;_0x285d31>=0x0;_0x285d31--){const _0x313769={'id':_0x4208f8(0x167),'params':{..._0x538ef7[_0x285d31]}},_0x59ff07={'id':_0x4208f8(0x167),'params':{..._0x16eaca[_0x285d31]}},_0x4af416=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x27b2e3,_0x313769,!0x1),_0x20cc37=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x879f97,_0x59ff07,!0x1);if(_0x44a289[_0x4208f8(0x285)](_0x4af416))throw _0x4af416[_0x4208f8(0x22c)];if(_0x44a289['isTransformMutationFailure'](_0x20cc37))throw _0x20cc37[_0x4208f8(0x22c)];_0x251637[_0x4208f8(0x279)](_0x4af416[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x30fd82[_0x4208f8(0x279)](_0x20cc37[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x27b2e3=_0x4af416[_0x4208f8(0x348)],_0x879f97=_0x20cc37[_0x4208f8(0x348)];}_0x4f2d4f[_0x4208f8(0x306)]({'undoCache':_0x251637,'redoCache':_0x30fd82});}[_0x1d54d9(0x2a6)](_0x248e9c){const _0x382c83=_0x1d54d9,{unitID:_0x40ad23}=_0x248e9c,_0xbcce04=this[_0x382c83(0x434)][_0x382c83(0x317)](_0x40ad23)['with'](_0x32e209[_0x382c83(0x359)]),_0x1a6898=_0xbcce04[_0x382c83(0x399)]();if(_0x1a6898==null)return;const _0x5a578e=[{'id':_0x382c83(0x167),'params':{'unitId':_0x248e9c[_0x382c83(0x187)],'actions':null,'textRanges':[_0x1a6898]}}],_0x56aa24=this[_0x382c83(0x3f1)][_0x382c83(0x380)](_0x248e9c,_0x5a578e);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x56aa24))throw _0x56aa24[_0x382c83(0x22c)];const _0x5d4251=_0x56aa24[_0x382c83(0x1b7)][0x0][_0x382c83(0x373)][_0x382c83(0x2ad)];Array[_0x382c83(0x3a0)](_0x5d4251)&&_0x5d4251['length']&&_0xbcce04[_0x382c83(0x1a7)](_0x5d4251[0x0]);}};_0x385043=_0x29f015([_0x267fa4(0x0,_0x44a289[_0x1d54d9(0x35d)]),_0x267fa4(0x1,_0x59ca38[_0x1d54d9(0x23f)])],_0x385043);var _0x56a642=Object['getOwnPropertyDescriptor'],_0x255716=(_0x1f5e7e,_0x4a75f9,_0x283e20,_0x31e4c9)=>{const _0x3b0fd5=_0x1d54d9;for(var _0x539eca=_0x31e4c9>0x1?void 0x0:_0x31e4c9?_0x56a642(_0x4a75f9,_0x283e20):_0x4a75f9,_0x4c3607=_0x1f5e7e[_0x3b0fd5(0x15d)]-0x1,_0x546927;_0x4c3607>=0x0;_0x4c3607--)(_0x546927=_0x1f5e7e[_0x4c3607])&&(_0x539eca=_0x546927(_0x539eca)||_0x539eca);return _0x539eca;},_0x3d9e07=(_0x1de59e,_0x440dc2)=>(_0x1afcea,_0x1e2543)=>_0x440dc2(_0x1afcea,_0x1e2543,_0x1de59e);let _0x5877a5=class{constructor(_0x3ca3f9,_0x1ccfe,_0x464d79){const _0x54b7d3=_0x1d54d9;this[_0x54b7d3(0x3e0)]=_0x3ca3f9,this[_0x54b7d3(0x3f1)]=_0x1ccfe,this[_0x54b7d3(0x2cc)]=_0x464d79;}[_0x1d54d9(0x303)](_0x52954c){const _0x373073=_0x1d54d9;this[_0x373073(0x3f4)](_0x52954c);}[_0x1d54d9(0x153)](_0x14d427){const _0x16f782=_0x1d54d9,{unitID:_0x32bacb}=_0x14d427,{collaboration:_0x96984a}=this[_0x16f782(0x2cc)]['getStateCache'](_0x32bacb);if(_0x96984a['length']===0x0)return _0x14d427;let _0x4412f9=_0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427[_0x16f782(0x15b)][0x0]);for(let _0x1c609b=0x0;_0x1c609b<_0x96984a[_0x16f782(0x15d)];_0x1c609b++){const _0x3a4556={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x96984a[_0x1c609b][_0x16f782(0x216)],..._0x96984a[_0x1c609b][_0x16f782(0x42e)]}},_0x4ead98=this[_0x16f782(0x3f1)][_0x16f782(0x40a)](_0x4412f9,_0x3a4556,!0x1);if(_0x44a289[_0x16f782(0x285)](_0x4ead98))throw _0x4ead98['error'];_0x4412f9=_0x4ead98[_0x16f782(0x348)];}return{..._0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427),'mutations':[_0x4412f9]};}[_0x1d54d9(0x3f4)](_0x3138fe){const _0x1ca257=_0x1d54d9,{unitID:_0x1eaed5}=_0x3138fe,{history:_0x3ab407,collaboration:_0x28eb01}=this[_0x1ca257(0x2cc)]['getStateCache'](_0x1eaed5);if(_0x3ab407[_0x1ca257(0x15d)]===0x0&&_0x28eb01[_0x1ca257(0x15d)]===0x0)return;const _0x39b18f=[],_0x2fff5=[];let _0x45687c=_0x41608e['Tools'][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe['mutations'][0x0]);for(let _0x319acc=_0x3ab407[_0x1ca257(0x15d)]-0x1;_0x319acc>=0x0;_0x319acc--){const _0x2c0e8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ab407[_0x319acc]['unitId'],..._0x3ab407[_0x319acc][_0x1ca257(0x270)]}},_0x26cef4={'id':_0x1ca257(0x167),'params':{'unitId':_0x3ab407[_0x319acc][_0x1ca257(0x216)],..._0x3ab407[_0x319acc][_0x1ca257(0x42e)]}},_0x5c6378=this[_0x1ca257(0x3f1)][_0x1ca257(0x40a)](_0x45687c,_0x2c0e8e,!0x1),_0x1f60f5=this['_transformService'][_0x1ca257(0x40a)](_0x3ddf1c,_0x26cef4,!0x1);if(_0x44a289['isTransformMutationFailure'](_0x5c6378))throw _0x5c6378[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x1f60f5))throw _0x1f60f5[_0x1ca257(0x22c)];_0x39b18f[_0x1ca257(0x279)]({..._0x3ab407[_0x319acc],'undoState':_0x5c6378[_0x1ca257(0x1b7)][_0x1ca257(0x373)],'redoState':_0x1f60f5['m2Prime'][_0x1ca257(0x373)]}),_0x45687c=_0x5c6378[_0x1ca257(0x348)],_0x3ddf1c=_0x1f60f5[_0x1ca257(0x348)];}_0x45687c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]);for(let _0x4e9810=_0x28eb01[_0x1ca257(0x15d)]-0x1;_0x4e9810>=0x0;_0x4e9810--){const _0x57b223={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810]['unitId'],..._0x28eb01[_0x4e9810][_0x1ca257(0x270)]}},_0x4b0975={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810][_0x1ca257(0x216)],..._0x28eb01[_0x4e9810][_0x1ca257(0x42e)]}},_0x2254d6=this[_0x1ca257(0x3f1)]['transformMutation'](_0x45687c,_0x57b223,!0x1),_0x4f702e=this[_0x1ca257(0x3f1)]['transformMutation'](_0x3ddf1c,_0x4b0975,!0x1);if(_0x44a289[_0x1ca257(0x285)](_0x2254d6))throw _0x2254d6[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x4f702e))throw _0x4f702e[_0x1ca257(0x22c)];_0x2fff5[_0x1ca257(0x279)]({..._0x28eb01[_0x4e9810],'undoState':_0x2254d6['m2Prime']['params'],'redoState':_0x4f702e[_0x1ca257(0x1b7)][_0x1ca257(0x373)]}),_0x45687c=_0x2254d6[_0x1ca257(0x348)],_0x3ddf1c=_0x4f702e[_0x1ca257(0x348)];}this['_docStateChangeManagerService'][_0x1ca257(0x422)](_0x1eaed5,{'history':_0x39b18f,'collaboration':_0x2fff5});}};_0x5877a5=_0x255716([_0x3d9e07(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x3d9e07(0x1,_0x44a289[_0x1d54d9(0x35d)]),_0x3d9e07(0x2,_0x41608e[_0x1d54d9(0x227)](_0x32e209['DocStateChangeManagerService']))],_0x5877a5);var _0x2c09a8=Object['getOwnPropertyDescriptor'],_0x9de1f3=(_0x4e6f67,_0x9189e3,_0x18c238,_0x252783)=>{const _0x4c826e=_0x1d54d9;for(var _0xf4bf58=_0x252783>0x1?void 0x0:_0x252783?_0x2c09a8(_0x9189e3,_0x18c238):_0x9189e3,_0x581f9f=_0x4e6f67[_0x4c826e(0x15d)]-0x1,_0x7e8e74;_0x581f9f>=0x0;_0x581f9f--)(_0x7e8e74=_0x4e6f67[_0x581f9f])&&(_0xf4bf58=_0x7e8e74(_0xf4bf58)||_0xf4bf58);return _0xf4bf58;},_0x256adc=(_0x37b9a9,_0x563a6a)=>(_0x35dd95,_0x514a68)=>_0x563a6a(_0x35dd95,_0x514a68,_0x37b9a9);let _0x1adf40=class{constructor(_0x2779dc,_0x42c6b7){const _0x3f0bbe=_0x1d54d9;this[_0x3f0bbe(0x3e0)]=_0x2779dc,this[_0x3f0bbe(0x3f1)]=_0x42c6b7;}[_0x1d54d9(0x16b)](_0x2bf127){const _0x67d513=_0x1d54d9;var _0x1a1f2f;const _0x278a6b=this[_0x67d513(0x3e0)][_0x67d513(0x38e)](_0x39889c['DocSelectionManagerService']),_0x4db5da=(_0x1a1f2f=_0x278a6b[_0x67d513(0x3b0)]())!=null?_0x1a1f2f:[];if(_0x4db5da[_0x67d513(0x15d)]===0x0)return;const _0x5fdd4e=_0x2bf127[_0x67d513(0x187)],_0x2a0f1c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5fdd4e,'actions':null,'textRanges':_0x4db5da}}],_0x23a9ea=this[_0x67d513(0x3f1)][_0x67d513(0x380)](_0x2bf127,_0x2a0f1c);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x23a9ea))throw _0x23a9ea[_0x67d513(0x22c)];const _0x1cbf2b=_0x23a9ea[_0x67d513(0x1b7)][0x0][_0x67d513(0x373)][_0x67d513(0x2ad)];Array[_0x67d513(0x3a0)](_0x1cbf2b)&&_0x1cbf2b[_0x67d513(0x15d)]&&_0x278a6b[_0x67d513(0x3ef)](_0x1cbf2b,{'unitId':_0x5fdd4e,'subUnitId':_0x5fdd4e},!0x1);}};_0x1adf40=_0x9de1f3([_0x256adc(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x256adc(0x1,_0x44a289[_0x1d54d9(0x35d)])],_0x1adf40);var _0x16c0bb=Object[_0x1d54d9(0x369)],_0x18f285=(_0xd5201f,_0x1c1ce4,_0xbf8a80,_0x455d02)=>{const _0x577999=_0x1d54d9;for(var _0x3dff22=_0x455d02>0x1?void 0x0:_0x455d02?_0x16c0bb(_0x1c1ce4,_0xbf8a80):_0x1c1ce4,_0x52f84c=_0xd5201f[_0x577999(0x15d)]-0x1,_0x1a0b47;_0x52f84c>=0x0;_0x52f84c--)(_0x1a0b47=_0xd5201f[_0x52f84c])&&(_0x3dff22=_0x1a0b47(_0x3dff22)||_0x3dff22);return _0x3dff22;},_0x4d66a9=(_0xe70a1a,_0x4dc3ee)=>(_0x458953,_0x448d28)=>_0x4dc3ee(_0x458953,_0x448d28,_0xe70a1a);let _0x5234a9=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x54ecfc,_0x3454e2,_0xdf999d,_0x14af4b,_0x4e99ed,_0x2a31b5,_0x13561a,_0x1182a9){const _0x23653a=_0x1d54d9;super(),_0x2af801(this,_0x23653a(0x412),new _0x163839[(_0x23653a(0x1c5))](_0x41402f['CollaborationStatus'][_0x23653a(0x267)])),(this[_0x23653a(0x2cc)]=_0x54ecfc,this[_0x23653a(0x209)]=_0x3454e2,this[_0x23653a(0x38d)]=_0xdf999d,this[_0x23653a(0x3ad)]=_0x14af4b,this['_docTransformSelectionsService']=_0x4e99ed,this[_0x23653a(0x302)]=_0x2a31b5,this[_0x23653a(0x14f)]=_0x13561a,this[_0x23653a(0x390)]=_0x1182a9,this[_0x23653a(0x18a)]());}[_0x1d54d9(0x18a)](){const _0x36642e=_0x1d54d9;this['disposeWithMe'](this[_0x36642e(0x209)][_0x36642e(0x1a4)][_0x36642e(0x431)](_0x28ed20=>{const _0x3877a3=_0x36642e,_0x266093=this[_0x3877a3(0x2cc)][_0x3877a3(0x321)][_0x3877a3(0x431)](_0x384177=>{const _0x26848d=_0x3877a3;if(_0x384177==null)return;const {unitId:_0x69220d,redoState:_0x205521,commandId:_0x55ab1d}=_0x384177;if(_0x69220d!==_0x28ed20[_0x26848d(0x187)])return;const _0x538d66={'id':_0x55ab1d,'type':_0x41608e[_0x26848d(0x26e)][_0x26848d(0x150)],'params':{'unitId':_0x69220d,'actions':_0x205521[_0x26848d(0x284)],'textRanges':null}};_0x28ed20[_0x26848d(0x1c6)](_0x538d66);});if(_0x28ed20[_0x3877a3(0x416)](_0x266093),_0x28ed20 instanceof _0x41402f[_0x3877a3(0x3c5)]){const _0x2cdf4e={'onTransformIME':_0x30bcd7=>this[_0x3877a3(0x38d)][_0x3877a3(0x228)](_0x30bcd7),'onTransformState':_0x26ac54=>this[_0x3877a3(0x3ad)][_0x3877a3(0x303)](_0x26ac54),'onTransformSelections':_0x4335da=>this[_0x3877a3(0x20e)]['transformSelections'](_0x4335da),'onSyncEditingCollabCursor':_0x23ee19=>this[_0x3877a3(0x302)][_0x3877a3(0x3ed)](_0x23ee19),'onTransformRemoteChangesetByIMECache':_0x47117f=>this[_0x3877a3(0x38d)]['transformRemoteChangeset'](_0x47117f),'onTransformRemoteChangesetByStateCache':_0x5ed7b1=>this[_0x3877a3(0x3ad)]['transformRemoteChangeset'](_0x5ed7b1)};_0x28ed20['addHandlerCallback'](_0x2cdf4e);}}));}};_0x5234a9=_0x18f285([_0x4d66a9(0x0,_0x41608e['Inject'](_0x32e209['DocStateChangeManagerService'])),_0x4d66a9(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4d66a9(0x2,_0x41608e[_0x1d54d9(0x227)](_0x385043)),_0x4d66a9(0x3,_0x41608e[_0x1d54d9(0x227)](_0x5877a5)),_0x4d66a9(0x4,_0x41608e[_0x1d54d9(0x227)](_0x1adf40)),_0x4d66a9(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x4d66a9(0x6,_0x6166b9[_0x1d54d9(0x2f7)]),_0x4d66a9(0x7,_0x41608e['Inject'](_0x41608e['LocaleService']))],_0x5234a9);var _0xd9f64c=(_0x2818b4=>(_0x2818b4[_0x2818b4[_0x1d54d9(0x161)]=0x0]='UNDEFINED',_0x2818b4[_0x2818b4['OK']=0x1]='OK',_0x2818b4[_0x2818b4[_0x1d54d9(0x1a5)]=0x2]=_0x1d54d9(0x1a5),_0x2818b4[_0x2818b4['PERMISSION_DENIED']=0x3]=_0x1d54d9(0x293),_0x2818b4[_0x2818b4[_0x1d54d9(0x3fb)]=0x4]=_0x1d54d9(0x3fb),_0x2818b4[_0x2818b4[_0x1d54d9(0x16f)]=0x5]=_0x1d54d9(0x16f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2ab)]=0x6]=_0x1d54d9(0x2ab),_0x2818b4[_0x2818b4['INVALID_ARGUMENT']=0x7]=_0x1d54d9(0x192),_0x2818b4[_0x2818b4['TOO_MANY_REQUESTS']=0x8]=_0x1d54d9(0x40c),_0x2818b4[_0x2818b4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2818b4[_0x2818b4[_0x1d54d9(0x33f)]=0xa]=_0x1d54d9(0x33f),_0x2818b4[_0x2818b4[_0x1d54d9(0x3a2)]=0xb]=_0x1d54d9(0x3a2),_0x2818b4[_0x2818b4[_0x1d54d9(0x421)]=0xc]=_0x1d54d9(0x421),_0x2818b4[_0x2818b4[_0x1d54d9(0x18f)]=0xd]=_0x1d54d9(0x18f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d0)]=0xe]=_0x1d54d9(0x2d0),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f5)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2818b4[_0x2818b4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1d54d9(0x1ec),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d2)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2818b4[_0x2818b4[_0x1d54d9(0x1bd)]=0x65]=_0x1d54d9(0x1bd),_0x2818b4[_0x2818b4[_0x1d54d9(0x15c)]=0xc9]=_0x1d54d9(0x15c),_0x2818b4[_0x2818b4[_0x1d54d9(0x151)]=0xca]=_0x1d54d9(0x151),_0x2818b4[_0x2818b4[_0x1d54d9(0x160)]=0x1389]=_0x1d54d9(0x160),_0x2818b4[_0x2818b4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1d54d9(0x3d3),_0x2818b4[_0x2818b4[_0x1d54d9(0x2fa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2818b4[_0x2818b4[_0x1d54d9(0x2a4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2818b4[_0x2818b4[_0x1d54d9(0x3f0)]=0x1b59]=_0x1d54d9(0x3f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x397)]=0x1b5a]=_0x1d54d9(0x397),_0x2818b4[_0x2818b4[_0x1d54d9(0x1be)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2818b4[_0x2818b4[_0x1d54d9(0x286)]=0x1b5c]=_0x1d54d9(0x286),_0x2818b4[_0x2818b4['APPLY_DUPLICATED']=0x1b5d]=_0x1d54d9(0x33a),_0x2818b4[_0x2818b4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1d54d9(0x346),_0x2818b4[_0x2818b4[_0x1d54d9(0x425)]=0x2329]=_0x1d54d9(0x425),_0x2818b4[_0x2818b4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1d54d9(0x3ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x3b1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2818b4[_0x2818b4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d54d9(0x3d2),_0x2818b4[_0x2818b4[_0x1d54d9(0x295)]=0x232d]=_0x1d54d9(0x295),_0x2818b4[_0x2818b4[_0x1d54d9(0x385)]=0x2711]=_0x1d54d9(0x385),_0x2818b4[_0x2818b4[_0x1d54d9(0x164)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2818b4[_0x2818b4[_0x1d54d9(0x179)]=0x2713]=_0x1d54d9(0x179),_0x2818b4[_0x2818b4[_0x1d54d9(0x42c)]=0x2714]=_0x1d54d9(0x42c),_0x2818b4[_0x2818b4[_0x1d54d9(0x363)]=0x271a]=_0x1d54d9(0x363),_0x2818b4[_0x2818b4[_0x1d54d9(0x370)]=0x271b]=_0x1d54d9(0x370),_0x2818b4[_0x2818b4[_0x1d54d9(0x430)]=0x271c]=_0x1d54d9(0x430),_0x2818b4[_0x2818b4[_0x1d54d9(0x3d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2818b4[_0x2818b4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d54d9(0x238),_0x2818b4[_0x2818b4[_0x1d54d9(0x240)]=0x271f]=_0x1d54d9(0x240),_0x2818b4[_0x2818b4[_0x1d54d9(0x235)]=0x2720]=_0x1d54d9(0x235),_0x2818b4[_0x2818b4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d54d9(0x281),_0x2818b4[_0x2818b4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1d54d9(0x1eb),_0x2818b4[_0x2818b4[_0x1d54d9(0x1ae)]=0x2ee2]=_0x1d54d9(0x1ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x42b)]=0x2ee3]=_0x1d54d9(0x42b),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d3)]=0x2ee4]=_0x1d54d9(0x2d3),_0x2818b4[_0x2818b4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1d54d9(0x156),_0x2818b4[_0x2818b4[_0x1d54d9(0x1e8)]=0x32c9]=_0x1d54d9(0x1e8),_0x2818b4[_0x2818b4[_0x1d54d9(0x311)]=0x32ca]=_0x1d54d9(0x311),_0x2818b4[_0x2818b4[_0x1d54d9(0x20d)]=0x32cb]=_0x1d54d9(0x20d),_0x2818b4[_0x2818b4[_0x1d54d9(0x40f)]=0x36b1]=_0x1d54d9(0x40f),_0x2818b4[_0x2818b4[_0x1d54d9(0x1a2)]=0x36b2]=_0x1d54d9(0x1a2),_0x2818b4[_0x2818b4['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1d54d9(0x1c9),_0x2818b4[_0x2818b4[_0x1d54d9(0x2bf)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2818b4[_0x2818b4[_0x1d54d9(0x22f)]=0x36b5]=_0x1d54d9(0x22f),_0x2818b4[_0x2818b4[_0x1d54d9(0x256)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x2818b4[_0x2818b4[_0x1d54d9(0x3b6)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2818b4[_0x2818b4[_0x1d54d9(0x2f0)]=0x36b8]=_0x1d54d9(0x2f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x195)]=0x3715]=_0x1d54d9(0x195),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f8)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2818b4[_0x2818b4[_0x1d54d9(0x25f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2818b4[_0x2818b4['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1d54d9(0x221),_0x2818b4[_0x2818b4[_0x1d54d9(0x198)]=0x3a99]=_0x1d54d9(0x198),_0x2818b4[_0x2818b4[_0x1d54d9(0x21b)]=0x3a9a]=_0x1d54d9(0x21b),_0x2818b4[_0x2818b4[_0x1d54d9(0x278)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2818b4[_0x2818b4[_0x1d54d9(0x14b)]=0x3a9c]=_0x1d54d9(0x14b),_0x2818b4[_0x2818b4[_0x1d54d9(0x18e)]=0x3a9d]=_0x1d54d9(0x18e),_0x2818b4[_0x2818b4['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1d54d9(0x194),_0x2818b4[_0x2818b4[_0x1d54d9(0x200)]=0x3a9f]=_0x1d54d9(0x200),_0x2818b4[_0x2818b4[_0x1d54d9(0x3ea)]=0x3e81]=_0x1d54d9(0x3ea),_0x2818b4[_0x2818b4[_0x1d54d9(0x3c2)]=-0x1]='UNRECOGNIZED',_0x2818b4))(_0xd9f64c||{});function _0x31c493(_0x537cb5){const _0x50052b=_0x1d54d9;var _0x363b55,_0x46942c;const _0x2eba2c=(_0x363b55=_0x537cb5[_0x50052b(0x3af)])==null?void 0x0:_0x363b55['stage'],_0x1ce15b=((_0x46942c=_0x537cb5['stageInfo'])==null?void 0x0:_0x46942c['totalFormulasToCalculate'])||0x0;return _0x2eba2c===_0x150f25[_0x50052b(0x316)][_0x50052b(0x2d6)]&&_0x1ce15b>0x0;}function _0x49647d(_0x7e7b91){const _0x2f0d07=_0x1d54d9;return _0x7e7b91[_0x2f0d07(0x2d7)]===_0x150f25['FormulaExecutedStateType'][_0x2f0d07(0x3fa)];}var _0x4cd4ff=Object['getOwnPropertyDescriptor'],_0x39fc4f=(_0x106b66,_0x2a5bc8,_0x3e24b2,_0x23ff11)=>{const _0x402946=_0x1d54d9;for(var _0xb9b28c=_0x23ff11>0x1?void 0x0:_0x23ff11?_0x4cd4ff(_0x2a5bc8,_0x3e24b2):_0x2a5bc8,_0x25e535=_0x106b66[_0x402946(0x15d)]-0x1,_0x24cf77;_0x25e535>=0x0;_0x25e535--)(_0x24cf77=_0x106b66[_0x25e535])&&(_0xb9b28c=_0x24cf77(_0xb9b28c)||_0xb9b28c);return _0xb9b28c;},_0x5703e7=(_0x3b1a22,_0x55b6ed)=>(_0x282dcf,_0x31699c)=>_0x55b6ed(_0x282dcf,_0x31699c,_0x3b1a22);const _0x54269a=_0x1d54d9(0x2c5),_0x214d89=_0x1d54d9(0x21e),_0xd48869=_0x1d54d9(0x2f3);let _0x5a17a7=class extends _0x41608e['Disposable']{constructor(_0x3c5ce1,_0x56d549,_0x434267,_0xa0d82b,_0x489ae5,_0x2453e8,_0x1e7102){const _0x42d693=_0x1d54d9;super(),_0x2af801(this,_0x42d693(0x2ba),null),_0x2af801(this,_0x42d693(0x335),0x0),_0x2af801(this,'_currentUsage',0x0),_0x2af801(this,_0x42d693(0x2a2),[]),_0x2af801(this,_0x42d693(0x32e),0x0),(this[_0x42d693(0x14f)]=_0x3c5ce1,this['_commandService']=_0x56d549,this['_configService']=_0x434267,this[_0x42d693(0x1f2)]=_0xa0d82b,this[_0x42d693(0x378)]=_0x489ae5,this[_0x42d693(0x29d)]=_0x2453e8,this[_0x42d693(0x390)]=_0x1e7102,this[_0x42d693(0x25a)]());}[_0x1d54d9(0x25a)](){const _0x33dfba=_0x1d54d9;this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x182)]((_0x6e9b64,_0x183323)=>{const _0x1dd1b2=_0x33dfba;var _0x561dfd;if(_0x6e9b64['id']!==_0x150f25[_0x1dd1b2(0x1b4)]['id'])return;const _0xe79386=_0x6e9b64[_0x1dd1b2(0x373)];if(!this[_0x1dd1b2(0x37e)]((_0x561dfd=_0xe79386['dirtyRanges'])!=null?_0x561dfd:[]))return;if(!this[_0x1dd1b2(0x42a)]())throw this['_checkAndWaitForCalculationPermission'](_0x6e9b64,_0x183323),this[_0x1dd1b2(0x19b)](),new _0x41608e['CanceledError']();})),this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x415)]((_0xd531ef,_0x479ae0)=>{const _0x300b55=_0x33dfba;if(_0xd531ef['id']!==_0x150f25[_0x300b55(0x314)]['id'])return;const _0x48dcec=_0xd531ef[_0x300b55(0x373)];if(_0x31c493(_0x48dcec)){const _0xe9bb30=_0x41608e[_0x300b55(0x2ec)]();this[_0x300b55(0x2a2)]['push'](_0xe9bb30),this[_0x300b55(0x232)](_0xe9bb30);}else{if(_0x49647d(_0x48dcec)&&this['_taskIds'][_0x300b55(0x15d)]>0x0){const _0x39800c=this[_0x300b55(0x2a2)][_0x300b55(0x1b3)]();this[_0x300b55(0x3cd)](_0x39800c);}}}));}[_0x1d54d9(0x14a)](){const _0x187a77=_0x1d54d9;super[_0x187a77(0x14a)](),this[_0x187a77(0x1a6)](),this['_taskIds']=[],this[_0x187a77(0x1c1)]=0x0,this[_0x187a77(0x335)]=0x0,this[_0x187a77(0x32e)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x12350a,_0x3b298f){const _0x5f2b28=_0x1d54d9;for(let _0x55ce5d=0x0;_0x55ce5d<0x1e;_0x55ce5d++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5f2b28(0x42a)]()){this[_0x5f2b28(0x3aa)](_0x12350a,_0x3b298f),this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this['_localeService']['t'](_0x5f2b28(0x2ef)),'type':_0x3ec05e[_0x5f2b28(0x292)]['Success']});return;}await new Promise(_0x560a55=>{const _0x3d3d89=_0x5f2b28;this[_0x3d3d89(0x2ba)]=window[_0x3d3d89(0x2c6)](_0x560a55,0x3e8);});}catch(_0x10146f){this[_0x5f2b28(0x29d)][_0x5f2b28(0x22c)](_0x10146f);}this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this[_0x5f2b28(0x390)]['t'](_0x5f2b28(0x1f4)),'type':_0x3ec05e[_0x5f2b28(0x292)][_0x5f2b28(0x204)]});}[_0x1d54d9(0x3aa)](_0x472ddd,_0x2216d9){const _0x4cdb58=_0x1d54d9;try{this[_0x4cdb58(0x186)][_0x4cdb58(0x39b)](_0x472ddd['id'],_0x472ddd['params'],_0x2216d9);}catch(_0x29c818){this['_logService']['error'](_0x29c818);}}[_0x1d54d9(0x32a)](_0x149538,_0x374689){const _0x504e75=_0x1d54d9;_0x374689<this[_0x504e75(0x32e)]||(this[_0x504e75(0x32e)]=_0x374689,this[_0x504e75(0x335)]=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x243)]),this['_currentUsage']=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x3c6)]));}async['_startCalculationLimit'](_0x2494e4){const _0x53d29f=_0x1d54d9;var _0x12bea3,_0x2974e1;const _0x619e8a=Date[_0x53d29f(0x215)]();try{const _0x40d8d5=((_0x12bea3=this[_0x53d29f(0x155)][_0x53d29f(0x2fd)](_0x41402f[_0x53d29f(0x3b5)]))==null?void 0x0:_0x12bea3[_0x53d29f(0x3d0)])||_0x214d89,_0x21e205=(await this['_httpService']['post'](_0x40d8d5,{'body':JSON['stringify']({'taskId':_0x2494e4})}))[_0x53d29f(0x2b8)];if(((_0x2974e1=_0x21e205[_0x53d29f(0x22c)])==null?void 0x0:_0x2974e1['code'])!==_0xd9f64c['OK'])return;this[_0x53d29f(0x32a)](_0x21e205['limitInfo'],_0x619e8a);}catch(_0xb5a876){this[_0x53d29f(0x29d)][_0x53d29f(0x22c)](_0xb5a876);}}async[_0x1d54d9(0x1c2)](_0x569a17){const _0x1543c1=_0x1d54d9;var _0x160f46,_0x33538d;const _0x2c5d02=Date[_0x1543c1(0x215)]();try{const _0x4554d9=((_0x160f46=this[_0x1543c1(0x155)][_0x1543c1(0x2fd)](_0x41402f[_0x1543c1(0x3b5)]))==null?void 0x0:_0x160f46[_0x1543c1(0x2d4)])||_0x54269a,_0x22be80=_0x569a17?_0x4554d9+'?taskId='+encodeURIComponent(_0x569a17):_0x4554d9,_0x4d4a7d=(await this['_httpService']['get'](_0x22be80))[_0x1543c1(0x2b8)];if(((_0x33538d=_0x4d4a7d['error'])==null?void 0x0:_0x33538d[_0x1543c1(0x298)])!==_0xd9f64c['OK'])return;this['_setFormulaLimitStatus'](_0x4d4a7d[_0x1543c1(0x21c)],_0x2c5d02);}catch(_0x4f9987){this['_logService'][_0x1543c1(0x22c)](_0x4f9987);}}async[_0x1d54d9(0x3cd)](_0x1978d3){const _0x415f08=_0x1d54d9;var _0x1266b1,_0x3c0dd0;const _0x3a2ad0=Date[_0x415f08(0x215)]();try{const _0x191515=((_0x1266b1=this[_0x415f08(0x155)][_0x415f08(0x2fd)](_0x41402f[_0x415f08(0x3b5)]))==null?void 0x0:_0x1266b1[_0x415f08(0x1e3)])||_0xd48869,_0x2b28a0=(await this['_httpService'][_0x415f08(0x212)](_0x191515,{'body':JSON[_0x415f08(0x356)]({'taskId':_0x1978d3})}))[_0x415f08(0x2b8)];if(((_0x3c0dd0=_0x2b28a0[_0x415f08(0x22c)])==null?void 0x0:_0x3c0dd0[_0x415f08(0x298)])!==_0xd9f64c['OK'])return;this[_0x415f08(0x32a)](_0x2b28a0['limitInfo'],_0x3a2ad0);}catch(_0x1cabf0){this[_0x415f08(0x29d)][_0x415f08(0x22c)](_0x1cabf0);}}['_checkCalculationAvailable'](){const _0x2c5092=_0x1d54d9;return this[_0x2c5092(0x335)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2c5092(0x1c1)]>0x0;}['_clearPolling'](){const _0x53d3ea=_0x1d54d9;this[_0x53d3ea(0x2ba)]&&(clearTimeout(this[_0x53d3ea(0x2ba)]),this[_0x53d3ea(0x2ba)]=null);}[_0x1d54d9(0x19b)](){const _0x1658b7=_0x1d54d9;this[_0x1658b7(0x14f)][_0x1658b7(0x181)]({'content':this[_0x1658b7(0x390)]['t'](_0x1658b7(0x1f0)),'type':_0x3ec05e[_0x1658b7(0x292)][_0x1658b7(0x389)]});}[_0x1d54d9(0x37e)](_0x4dcd47){const _0x4f797f=_0x1d54d9;for(const _0x28a238 of _0x4dcd47){const {unitId:_0x3873e6,sheetId:_0x11f61d,range:_0x17b136}=_0x28a238,_0x425e8d=this['_univerInstanceService'][_0x4f797f(0x376)](_0x3873e6);if(!_0x425e8d)continue;const _0x4b8d05=_0x425e8d[_0x4f797f(0x28f)](_0x11f61d);if(!_0x4b8d05)continue;const _0x20b47e=_0x4b8d05[_0x4f797f(0x375)]();for(let _0x1e4b90=_0x17b136[_0x4f797f(0x2f9)];_0x1e4b90<=_0x17b136[_0x4f797f(0x1cd)];_0x1e4b90++)for(let _0x3ca167=_0x17b136['startColumn'];_0x3ca167<=_0x17b136[_0x4f797f(0x358)];_0x3ca167++){const _0x428a82=_0x20b47e[_0x4f797f(0x1e2)](_0x1e4b90,_0x3ca167);if(_0x428a82&&(_0x41608e[_0x4f797f(0x3f3)](_0x428a82['f'])||_0x41608e[_0x4f797f(0x36c)](_0x428a82['si'])))return!0x0;}}return!0x1;}};_0x5a17a7=_0x39fc4f([_0x5703e7(0x0,_0x41608e[_0x1d54d9(0x227)](_0x6166b9[_0x1d54d9(0x2f7)])),_0x5703e7(0x1,_0x41608e['ICommandService']),_0x5703e7(0x2,_0x41608e[_0x1d54d9(0x1ce)]),_0x5703e7(0x3,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x5703e7(0x4,_0x41608e['IUniverInstanceService']),_0x5703e7(0x5,_0x41608e[_0x1d54d9(0x1dc)]),_0x5703e7(0x6,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x5a17a7);var _0x2b9e96=Object[_0x1d54d9(0x369)],_0x2a9521=(_0x27692c,_0x1f83e2,_0x3fa559,_0xf511e)=>{const _0x1bfda2=_0x1d54d9;for(var _0x5496a7=_0xf511e>0x1?void 0x0:_0xf511e?_0x2b9e96(_0x1f83e2,_0x3fa559):_0x1f83e2,_0x10363e=_0x27692c[_0x1bfda2(0x15d)]-0x1,_0x14d2dd;_0x10363e>=0x0;_0x10363e--)(_0x14d2dd=_0x27692c[_0x10363e])&&(_0x5496a7=_0x14d2dd(_0x5496a7)||_0x5496a7);return _0x5496a7;},_0x303125=(_0x2294b9,_0x442305)=>(_0x41ed15,_0x59693c)=>_0x442305(_0x41ed15,_0x59693c,_0x2294b9);let _0x3d059b=class extends _0x41608e['Disposable']{constructor(_0x12427f,_0x1a7c15,_0x193c9c){const _0x98b0f9=_0x1d54d9;super(),_0x2af801(this,'_cachedData',new Map()),_0x2af801(this,_0x98b0f9(0x2a8),new Map()),_0x2af801(this,_0x98b0f9(0x171),!0x1),(this['_configService']=_0x12427f,this[_0x98b0f9(0x1d5)]=_0x1a7c15,this['_revisionService']=_0x193c9c);}[_0x1d54d9(0x230)](){this['_disabled']=!0x0;}[_0x1d54d9(0x287)](){const _0x1621eb=_0x1d54d9;this[_0x1621eb(0x171)]=!0x1;}get[_0x1d54d9(0x3c8)](){const _0x36dda9=_0x1d54d9;return this[_0x36dda9(0x2a8)];}['dispose'](){const _0x4799a9=_0x1d54d9;this[_0x4799a9(0x176)]()['then'](()=>super[_0x4799a9(0x14a)]());}async[_0x1d54d9(0x271)](_0x57a9f0){const _0x52d1e9=_0x1d54d9;return this[_0x52d1e9(0x171)]?null:this[_0x52d1e9(0x1d5)]['getItem'](_0x41402f[_0x52d1e9(0x27e)](_0x57a9f0));}async[_0x1d54d9(0x274)](_0x14b462,_0x5d9904){const _0x244b3d=_0x1d54d9;return!!this[_0x244b3d(0x1d5)][_0x244b3d(0x349)](_0x14b462,_0x5d9904);}[_0x1d54d9(0x26d)](_0x9a247b,_0x188aec,_0x2cf6e4,_0x3bea18){const _0x2a2501=_0x1d54d9,_0x390a14=this[_0x2a2501(0x213)]['getCurrentRevOfUnit'](_0x9a247b);this[_0x2a2501(0x1f9)]['set'](_0x9a247b,{'unitID':_0x9a247b,'type':_0x188aec,'awaitingChangeset':_0x2cf6e4,'mutations':_0x3bea18,'rev':_0x390a14}),this['_saveTaskMap']['has'](_0x9a247b)||this['_scheduleSaving'](_0x9a247b);}[_0x1d54d9(0x1a1)](_0x490b2a){const _0x4de346=_0x1d54d9,_0x5b0875=this[_0x4de346(0x1f3)]();_0x5b0875===0x0?this[_0x4de346(0x294)](_0x490b2a):this[_0x4de346(0x2a8)][_0x4de346(0x3b7)](_0x490b2a,setTimeout(()=>this['_saveCache'](_0x490b2a),_0x5b0875));}[_0x1d54d9(0x1f3)](){const _0x212f0d=_0x1d54d9;var _0x45138d;return(_0x45138d=this['_configService'][_0x212f0d(0x2fd)](_0x41402f[_0x212f0d(0x35a)]))!=null?_0x45138d:_0x41402f['LOCAL_CACHE_INTERVAL'];}[_0x1d54d9(0x294)](_0x132fa7){const _0x165996=_0x1d54d9,_0x21af89=this[_0x165996(0x2a8)][_0x165996(0x38e)](_0x132fa7);return _0x21af89!==void 0x0&&window[_0x165996(0x394)](_0x21af89),this[_0x165996(0x1d5)][_0x165996(0x349)](_0x41402f['getLocalCacheKey'](_0x132fa7),this['_cachedData'][_0x165996(0x38e)](_0x132fa7))['then'](()=>this[_0x165996(0x2a8)][_0x165996(0x35c)](_0x132fa7));}async[_0x1d54d9(0x176)](){const _0x3b5961=_0x1d54d9,_0x240d2d=[];this[_0x3b5961(0x2a8)][_0x3b5961(0x1d1)]((_0x2ac4ba,_0x3cc3f9)=>{window['clearTimeout'](_0x2ac4ba),_0x240d2d['push'](this['_saveCache'](_0x3cc3f9)['then'](()=>{const _0x4ece3b=_0x9ceb;this[_0x4ece3b(0x2a8)][_0x4ece3b(0x35c)](_0x3cc3f9);}));}),await Promise['all'](_0x240d2d);}};_0x3d059b=_0x2a9521([_0x303125(0x0,_0x41608e[_0x1d54d9(0x1ce)]),_0x303125(0x1,_0x41608e[_0x1d54d9(0x1b9)]),_0x303125(0x2,_0x41608e[_0x1d54d9(0x227)](_0x44a289['RevisionService']))],_0x3d059b);class _0xc24a22 extends _0x41608e['RxDisposable']{constructor(){const _0xc2e8d1=_0x1d54d9;super(),_0x2af801(this,_0xc2e8d1(0x1c3)),this[_0xc2e8d1(0x1c3)]=_0x163839[_0xc2e8d1(0x263)](window,_0xc2e8d1(0x3e4))[_0xc2e8d1(0x18b)](_0x163839[_0xc2e8d1(0x1e4)](this[_0xc2e8d1(0x1bc)]),_0x163839[_0xc2e8d1(0x170)](0x1),_0x163839[_0xc2e8d1(0x34b)](void 0x0));}[_0x1d54d9(0x21a)](_0x3472f4,_0x4dc94d,_0x1390f6=!0x1){const _0x4d0fcf=_0x1d54d9,_0x529c76=new URL(window[_0x4d0fcf(0x1fa)][_0x4d0fcf(0x22d)]);_0x529c76[_0x4d0fcf(0x30f)][_0x4d0fcf(0x3b7)](_0x3472f4,_0x4dc94d),_0x1390f6?window['history'][_0x4d0fcf(0x2a7)]('','',_0x529c76['toString']()):window[_0x4d0fcf(0x24d)]['pushState']('','',_0x529c76[_0x4d0fcf(0x2cd)]());}['removeParam'](_0x4e5589,_0x564f3e=!0x1){const _0x1d54c2=_0x1d54d9,_0x41eaed=new URL(window[_0x1d54c2(0x1fa)][_0x1d54c2(0x22d)]);_0x41eaed[_0x1d54c2(0x30f)]['delete'](_0x4e5589),_0x564f3e?window['history'][_0x1d54c2(0x2a7)]('','',_0x41eaed[_0x1d54c2(0x2cd)]()):window[_0x1d54c2(0x24d)][_0x1d54c2(0x296)]('','',_0x41eaed[_0x1d54c2(0x2cd)]());}[_0x1d54d9(0x19c)](_0x15d49b){const _0x3fd48f=_0x1d54d9;var _0x197243;return(_0x197243=new URL(window[_0x3fd48f(0x1fa)]['href'])[_0x3fd48f(0x30f)]['get'](_0x15d49b))!=null?_0x197243:void 0x0;}}var _0x510e57=Object[_0x1d54d9(0x3e8)],_0x5498d2=Object['getOwnPropertyDescriptor'],_0xe9f21d=(_0x15e5d3,_0x13a7bb,_0x240f9d)=>_0x13a7bb in _0x15e5d3?_0x510e57(_0x15e5d3,_0x13a7bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x240f9d}):_0x15e5d3[_0x13a7bb]=_0x240f9d,_0x42befa=(_0x3fd090,_0x57659d,_0x52c5c4,_0x4a17fa)=>{const _0x3e8f8d=_0x1d54d9;for(var _0x1004d4=_0x4a17fa>0x1?void 0x0:_0x4a17fa?_0x5498d2(_0x57659d,_0x52c5c4):_0x57659d,_0x39439d=_0x3fd090[_0x3e8f8d(0x15d)]-0x1,_0x4c43e9;_0x39439d>=0x0;_0x39439d--)(_0x4c43e9=_0x3fd090[_0x39439d])&&(_0x1004d4=_0x4c43e9(_0x1004d4)||_0x1004d4);return _0x1004d4;},_0x17e933=(_0x208d2d,_0x4db3d9)=>(_0xa2d9,_0x5a2d28)=>_0x4db3d9(_0xa2d9,_0x5a2d28,_0x208d2d),_0x37f2c9=(_0x2cd933,_0x53573c,_0x287876)=>_0xe9f21d(_0x2cd933,_0x53573c+'',_0x287876);const _0x1bd38c=_0x1d54d9(0x435);_0x4f91bb[_0x1d54d9(0x29a)]=class extends _0x41608e['Plugin']{constructor(_0x3e3dc9=_0x4e5c93,_0x5f24f2,_0x38df31,_0x2aa052){const _0x110cd5=_0x1d54d9;super(),this[_0x110cd5(0x197)]=_0x3e3dc9,this[_0x110cd5(0x434)]=_0x5f24f2,this[_0x110cd5(0x3e0)]=_0x38df31,this[_0x110cd5(0x155)]=_0x2aa052;const {..._0x3f51f9}=_0x41608e[_0x110cd5(0x35e)]({},_0x4e5c93,this[_0x110cd5(0x197)]);this[_0x110cd5(0x155)][_0x110cd5(0x15f)](_0x247127,_0x3f51f9);}['onStarting'](){const _0xa1321c=_0x1d54d9;this[_0xa1321c(0x19d)](),this[_0xa1321c(0x342)]();}[_0x1d54d9(0x30a)](){const _0x1159e1=_0x1d54d9;this[_0x1159e1(0x3ac)]();}[_0x1d54d9(0x19d)](){const _0xb648e5=_0x1d54d9;var _0x941820;const _0x2d8212=[[_0x1fb581],[_0x5a17a7],[_0x1adf40],[_0x385043],[_0x5877a5],[_0x1b17e2],[_0x49794a,{'useClass':_0xc24a22}],[_0x12ee65[_0xb648e5(0x409)],{'useClass':_0x12ee65[_0xb648e5(0x2f2)]}],[_0x41402f[_0xb648e5(0x33c)],{'useClass':_0x3d059b}],[_0x4f91bb[_0xb648e5(0x38f)]],[_0x5234a9],[_0x1270f3],[_0x13f4ff],[_0x7d3f8b],[_0x4f91bb['CollaborationDataLoaderController']]];this[_0xb648e5(0x197)]['enableFrontendLog']&&_0x2d8212['push']([_0x3ffdc4]),_0x41608e[_0xb648e5(0x300)](this[_0xb648e5(0x3e0)],_0x41608e[_0xb648e5(0x1df)](_0x2d8212,(_0x941820=this[_0xb648e5(0x197)])==null?void 0x0:_0x941820[_0xb648e5(0x2a5)]));}[_0x1d54d9(0x3ac)](){const _0x326e6d=_0x1d54d9;this['disposeWithMe'](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x14c)],[_0x4b0629])),this[_0x326e6d(0x416)](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x18c)],[_0x47ed4b]));}[_0x1d54d9(0x342)](){const _0x402745=_0x1d54d9;_0x41608e[_0x402745(0x2e9)](this[_0x402745(0x3e0)],[[_0x13f4ff],[_0x4f91bb['DesktopCollaborationStatusDisplayController']],[_0x5234a9],[_0x1270f3],[_0x4f91bb[_0x402745(0x22b)]],[_0x5a17a7]]),this[_0x402745(0x197)][_0x402745(0x218)]&&_0x41608e['touchDependencies'](this['_injector'],[[_0x3ffdc4]]);}},_0x37f2c9(_0x4f91bb[_0x1d54d9(0x29a)],_0x1d54d9(0x2bd),_0x1bd38c),_0x4f91bb[_0x1d54d9(0x29a)]=_0x42befa([_0x41608e[_0x1d54d9(0x180)](_0x41402f['UniverCollaborationClientPlugin']),_0x17e933(0x1,_0x59ca38['IRenderManagerService']),_0x17e933(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x17e933(0x3,_0x41608e['IConfigService'])],_0x4f91bb['UniverCollaborationClientUIPlugin']);var _0x492bb9=Object[_0x1d54d9(0x369)],_0x35ce7f=(_0x33ee79,_0x357ac5,_0x5c34b4,_0x5512a0)=>{const _0x1134b3=_0x1d54d9;for(var _0x1c09fe=_0x5512a0>0x1?void 0x0:_0x5512a0?_0x492bb9(_0x357ac5,_0x5c34b4):_0x357ac5,_0x86c630=_0x33ee79[_0x1134b3(0x15d)]-0x1,_0x265dcd;_0x86c630>=0x0;_0x86c630--)(_0x265dcd=_0x33ee79[_0x86c630])&&(_0x1c09fe=_0x265dcd(_0x1c09fe)||_0x1c09fe);return _0x1c09fe;},_0x420152=(_0x163bf1,_0x4a2ef9)=>(_0x5b8b4e,_0x576312)=>_0x4a2ef9(_0x5b8b4e,_0x576312,_0x163bf1);_0x4f91bb[_0x1d54d9(0x1ef)]=class extends _0x41402f['CollaborationSocketService']{constructor(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b){super(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b);}async[_0x1d54d9(0x1ad)](_0x3a618f){const _0x1b3a9b=_0x1d54d9,_0x396f10=await this[_0x1b3a9b(0x2bc)](),_0x4f628=this[_0x1b3a9b(0x36d)](_0x3a618f,_0x396f10);return this[_0x1b3a9b(0x40d)](_0x4f628);}['_createSocketURL'](_0x4342e0,_0x5d758f){const _0x256188=_0x1d54d9,_0x1525ca=typeof window>'u'?new URL(_0x4342e0):new URL(_0x4342e0,window[_0x256188(0x1fa)]['origin']);_0x1525ca[_0x256188(0x30f)]['set'](_0x256188(0x327),_0x5d758f);const _0x4f7f24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x256188(0x17d)]);return _0x4f7f24[_0x256188(0x38e)](_0x256188(0x18d))&&_0x1525ca['searchParams'][_0x256188(0x3b7)](_0x256188(0x18d),_0x4f7f24['get'](_0x256188(0x18d))),_0x1525ca['toString']();}async[_0x1d54d9(0x2bc)](){const _0x21139c=_0x1d54d9;var _0x463bf2,_0x354b64,_0x1bece5;const _0x312d7e=this[_0x21139c(0x155)][_0x21139c(0x2fd)](_0x41402f[_0x21139c(0x3b5)]),_0x37f708=(_0x463bf2=_0x312d7e==null?void 0x0:_0x312d7e['wsSessionTicketUrl'])!=null?_0x463bf2:_0x41402f[_0x21139c(0x2ff)];return(_0x1bece5=(_0x354b64=(await this['_httpService'][_0x21139c(0x38e)](_0x37f708,{'headers':{'Content-Type':_0x21139c(0x308)}}))[_0x21139c(0x2b8)])==null?void 0x0:_0x354b64['ticket'])!=null?_0x1bece5:'';}},_0x4f91bb['BrowserCollaborationSocketService']=_0x35ce7f([_0x420152(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x420152(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x420152(0x2,_0x41608e['IConfigService']),_0x420152(0x3,_0x41608e[_0x1d54d9(0x1dc)]),_0x420152(0x4,_0x44a289[_0x1d54d9(0x185)])],_0x4f91bb[_0x1d54d9(0x1ef)]);var _0x3b73a7=Object[_0x1d54d9(0x369)],_0x1d3fe9=(_0x4d7177,_0x3c73ae,_0xc762b5,_0x392005)=>{for(var _0x3f21d5=_0x392005>0x1?void 0x0:_0x392005?_0x3b73a7(_0x3c73ae,_0xc762b5):_0x3c73ae,_0x440235=_0x4d7177['length']-0x1,_0x45d2f7;_0x440235>=0x0;_0x440235--)(_0x45d2f7=_0x4d7177[_0x440235])&&(_0x3f21d5=_0x45d2f7(_0x3f21d5)||_0x3f21d5);return _0x3f21d5;},_0x14ed15=(_0x4fe46e,_0x3bacbc)=>(_0x2fa083,_0x1aaf62)=>_0x3bacbc(_0x2fa083,_0x1aaf62,_0x4fe46e);_0x4f91bb[_0x1d54d9(0x428)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x4d76bb,_0x2ccee7,_0x45ad86){const _0x54c75a=_0x1d54d9;super(),this['_instanceService']=_0x4d76bb,this[_0x54c75a(0x1f2)]=_0x2ccee7,this[_0x54c75a(0x155)]=_0x45ad86;}async[_0x1d54d9(0x2de)](_0x2b4de1,_0x46821e,_0x1fd17e,..._0x118759){const _0x1aa7eb=_0x1d54d9;var _0x2c8f3e,_0x5f58d8,_0x596fb4,_0x24e48f;const _0x518490=this['_instanceService'][_0x1aa7eb(0x353)]();if(!_0x518490)throw new Error(_0x1aa7eb(0x21f));const _0x37ace2=((_0x2c8f3e=this['_configService']['getConfig'](_0x41402f[_0x1aa7eb(0x211)]))!=null?_0x2c8f3e:_0x41402f[_0x1aa7eb(0x1fe)])+'/'+_0x2b4de1+'/run/'+_0x46821e,_0x41c12f=new URL(window['location'][_0x1aa7eb(0x22d)]),_0x88c1d9={'scriptId':_0x2b4de1,'runId':(_0x5f58d8=_0x41c12f[_0x1aa7eb(0x30f)]['get'](_0x1aa7eb(0x18d)))!=null?_0x5f58d8:'','function':_0x46821e,'unitId':_0x518490[_0x1aa7eb(0x2e2)](),'argsOfFunction':JSON[_0x1aa7eb(0x356)](_0x118759),'invokeId':(_0x596fb4=_0x1fd17e[_0x1aa7eb(0x15e)])!=null?_0x596fb4:'','executionId':(_0x24e48f=_0x1fd17e['executionId'])!=null?_0x24e48f:''};try{const _0x4e2eba=await this[_0x1aa7eb(0x1f2)][_0x1aa7eb(0x212)](_0x37ace2,{'body':_0x88c1d9});return _0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)]&&_0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)][_0x1aa7eb(0x298)]!==_0xd9f64c['OK']?_0x1aa7eb(0x3c7):_0x4e2eba['body']['result'];}catch{return _0x1aa7eb(0x3c7);}}},_0x4f91bb[_0x1d54d9(0x428)]=_0x1d3fe9([_0x14ed15(0x0,_0x41608e['IUniverInstanceService']),_0x14ed15(0x1,_0x41608e['Inject'](_0x12ee65[_0x1d54d9(0x2f8)])),_0x14ed15(0x2,_0x41608e['IConfigService'])],_0x4f91bb['RemoteUniscriptService']);const _0x57bb34=0x7530,_0x34c232=_0x1d54d9(0x22e);class _0x155ac3 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x2b337e=_0x1d54d9;super(),_0x2af801(this,'_id',_0x41608e['generateRandomId']()),_0x2af801(this,'_selfUnitIDs',new Set()),_0x2af801(this,'_unitOnClients',new Map()),_0x2af801(this,_0x2b337e(0x272),null),_0x2af801(this,_0x2b337e(0x433),new Map()),_0x2af801(this,_0x2b337e(0x3d1),new Map()),this[_0x2b337e(0x37b)]();}[_0x1d54d9(0x14a)](){const _0x25873d=_0x1d54d9;super[_0x25873d(0x14a)](),this['_clearOtherTimers'][_0x25873d(0x1d1)]((_0x36e780,_0x579b15)=>this[_0x25873d(0x231)](_0x579b15)),this[_0x25873d(0x272)]&&window[_0x25873d(0x20a)](this[_0x25873d(0x272)]);}[_0x1d54d9(0x32d)](_0x27da5e){const _0xa1f8a=_0x1d54d9;return this[_0xa1f8a(0x3db)](_0x27da5e)['pipe'](_0x163839[_0xa1f8a(0x414)]());}[_0x1d54d9(0x305)](_0x378e89){const _0x3b82fd=_0x1d54d9;this['_selfUnitIDs'][_0x3b82fd(0x38b)]===0x0&&this[_0x3b82fd(0x340)](),this[_0x3b82fd(0x276)][_0x3b82fd(0x239)](_0x378e89),this[_0x3b82fd(0x403)]({'type':0x0,'memberID':this[_0x3b82fd(0x26a)],'unitIDs':[_0x378e89],'isForwarded':!0x1});}['disposeUnit'](_0x2590a2){const _0x42acab=_0x1d54d9;this['_selfUnitIDs'][_0x42acab(0x35c)](_0x2590a2),this['_selfUnitIDs'][_0x42acab(0x38b)]===0x0&&this[_0x42acab(0x272)]&&window[_0x42acab(0x20a)](this[_0x42acab(0x272)]);}[_0x1d54d9(0x37b)](){const _0x53b907=_0x1d54d9;this[_0x53b907(0x416)](_0x41608e[_0x53b907(0x3c4)](_0x163839['fromEvent'](window,_0x53b907(0x1dd))[_0x53b907(0x431)](_0x3900c0=>{const _0x589308=_0x53b907;if(_0x3900c0[_0x589308(0x419)]!==_0x34c232||!_0x3900c0['newValue'])return;const _0x17a025=JSON['parse'](_0x3900c0[_0x589308(0x1e6)]);this['_handleEvent'](_0x17a025);}))),window[_0x53b907(0x3e9)](_0x53b907(0x39a),()=>this[_0x53b907(0x403)]({'type':0x1,'memberID':this[_0x53b907(0x26a)],'unitIDs':Array[_0x53b907(0x338)](this[_0x53b907(0x276)])}));}[_0x1d54d9(0x163)](_0x312e01){const _0x340a40=_0x1d54d9;switch(_0x312e01[_0x340a40(0x1d2)]){case 0x0:this[_0x340a40(0x17a)](_0x312e01);break;case 0x1:this[_0x340a40(0x24e)](_0x312e01);break;case 0x2:this[_0x340a40(0x2d5)](_0x312e01);break;}}['_handleJoinEvent'](_0x60eae5){const _0x3d779b=_0x1d54d9,{unitIDs:_0x303193,memberID:_0x229644,isForwarded:_0x231036}=_0x60eae5;_0x303193[_0x3d779b(0x1d1)](_0x640d6a=>{const _0x1da2a3=_0x3d779b;if(!_0x231036&&this['_unitOnClients'][_0x1da2a3(0x41f)](_0x640d6a)&&this[_0x1da2a3(0x3db)](_0x640d6a)[_0x1da2a3(0x34e)](_0x41402f[_0x1da2a3(0x237)]['OTHER_CLIENTS_EDITING']),!this[_0x1da2a3(0x345)][_0x1da2a3(0x41f)](_0x640d6a)||!this[_0x1da2a3(0x345)]['get'](_0x640d6a)[_0x1da2a3(0x41f)](_0x229644)){const _0x47900b=this[_0x1da2a3(0x345)][_0x1da2a3(0x38e)](_0x640d6a)||new Set();_0x47900b['add'](_0x229644),this[_0x1da2a3(0x345)][_0x1da2a3(0x3b7)](_0x640d6a,_0x47900b),this[_0x1da2a3(0x323)](_0x229644);}}),_0x231036||this[_0x3d779b(0x403)]({'type':0x0,'memberID':this[_0x3d779b(0x26a)],'unitIDs':[...this[_0x3d779b(0x276)]],'isForwarded':!0x0});}[_0x1d54d9(0x323)](_0x170662){const _0x464b99=_0x1d54d9;this[_0x464b99(0x231)](_0x170662);const _0xf2c2be=window[_0x464b99(0x2c6)](()=>{const _0x18dc2d=_0x464b99;this[_0x18dc2d(0x345)][_0x18dc2d(0x1d1)](_0x15747a=>{const _0x4df646=_0x18dc2d;_0x15747a[_0x4df646(0x35c)](_0x170662);});},_0x57bb34*0x2);this[_0x464b99(0x433)][_0x464b99(0x3b7)](_0x170662,_0xf2c2be);}[_0x1d54d9(0x231)](_0x456d63){const _0x16c32e=_0x1d54d9;if(this[_0x16c32e(0x433)][_0x16c32e(0x41f)](_0x456d63)){const _0x1cf13c=this[_0x16c32e(0x433)][_0x16c32e(0x38e)](_0x456d63);_0x1cf13c&&window[_0x16c32e(0x394)](_0x1cf13c),this[_0x16c32e(0x433)][_0x16c32e(0x3b7)](_0x456d63,null);}}['_handleLeaveEvent'](_0x362b5f){const _0x234de8=_0x1d54d9,{memberID:_0x25e889,unitIDs:_0x218c2c}=_0x362b5f;_0x218c2c[_0x234de8(0x1d1)](_0x20b06b=>{const _0x1674cd=_0x234de8;var _0x1ecb51;const _0x2f1d3f=this['_unitOnClients']['get'](_0x20b06b);_0x2f1d3f&&(_0x2f1d3f[_0x1674cd(0x35c)](_0x25e889),(_0x1ecb51=this[_0x1674cd(0x3db)](_0x20b06b))==null||_0x1ecb51[_0x1674cd(0x34e)](_0x2f1d3f[_0x1674cd(0x38b)]===0x0?_0x41402f['UnitStatus'][_0x1674cd(0x1b2)]:_0x41402f['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x234de8(0x231)](_0x25e889);}['_handleHeartbeatEvent'](_0x2448ab){const _0x6015b0=_0x1d54d9;this['_scheduleClearOtherTimer'](_0x2448ab[_0x6015b0(0x26f)]);}['_send'](_0x2ee3ef){const _0x1db313=_0x1d54d9;localStorage['setItem'](_0x34c232,JSON[_0x1db313(0x356)](_0x2ee3ef));}[_0x1d54d9(0x340)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x28b63a=_0x9ceb;this['_send']({'type':0x2,'memberID':this[_0x28b63a(0x26a)]});},_0x57bb34);}['_ensureSubject'](_0xcf627){const _0x351b84=_0x1d54d9;return this[_0x351b84(0x3d1)][_0x351b84(0x41f)](_0xcf627)||this[_0x351b84(0x3d1)]['set'](_0xcf627,new _0x163839[(_0x351b84(0x1c5))](_0x41402f[_0x351b84(0x237)][_0x351b84(0x1b2)])),this[_0x351b84(0x3d1)][_0x351b84(0x38e)](_0xcf627);}}_0x4f91bb[_0x1d54d9(0x2da)]=_0x49794a,_0x4f91bb[_0x1d54d9(0x331)]=_0x8d5a84,_0x4f91bb['WebBrowserSingleActiveUnitService']=_0x155ac3,_0x4f91bb[_0x1d54d9(0x173)]=_0xc24a22,Object[_0x1d54d9(0x3e8)](_0x4f91bb,Symbol[_0x1d54d9(0x1c4)],{'value':_0x1d54d9(0x16d)});}));function _0x9ceb(_0x34ef1f,_0x28c154){_0x34ef1f=_0x34ef1f-0x14a;const _0x1fb534=_0x1fb5();let _0x9ceb5c=_0x1fb534[_0x34ef1f];return _0x9ceb5c;}function _0x1fb5(){const _0x5a4156=['params','findNodePositionByCharIndex','getCellMatrix','getUnit','LocaleService','_univerInstanceService','onPointerEnter$','_updateLocalCursor','_init','_onCursorUpdate','_setupSubUnitSync','_hasFormulaInDirtyRanges','_entities','transformMutationsWithChangeset','_updateSubUnitFromURLParams','arc','font','_cursorShapes','YUUMI_UNABLE_LOAD_URL','xlink:href','permission.content','Unknown\x20user','Loading','Disposable','size','_collaborationSessionService','_docTransformIMECacheService','get','DesktopCollaborationStatusDisplayController','_localeService','width','unhandledrejection','exports','clearTimeout','_initUnhandledRejectionListener','_removeCollabCursors','APPLY_NON_SEQUENTIAL_REVISION','setShapeProps','getActiveRange','unload','executeCommand','operators','_collabSessionService','SetDocZoomRatioOperation','currentColor','isArray','VIEW_MAIN','MOBILE_VERIFY_CODE_MISMATCH','jiqing.500','1809642hpZXJl','DocSelectionManagerService','random','attrs','_anchor','selections','_applyCommand','transformByState','_registerRenderDependencies','_docTransformStateCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','stageInfo','getDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','TEXT','transform','url(#$1','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ENTITLE_COUPON_USED_UP','set','_colorAssignService','getSheetObject','BuiltInUIPart','UniverRpc','[Window\x20Error]:\x20','startColumn','RxDisposable','getVpScrollXYInfoByPosToVp','triggerDblclick','subUnitId','UNRECOGNIZED','clipPath','toDisposable','DocCollaborationEntity','currentUsage','Failed','saveTaskMap','getTypeOfUnitAdded$','getSkeleton','rxjs/operators','ranges','_releaseCalculationLimit','switchMap','addClipboardHook','startFormulaLimitUrl','_unitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','max','roomMembers$','YUUMI_ALL_TABLES_IS_INVALID','_refRangeService','USERS_LEAVE','_setupBeforeClosingHandler','replace','_ensureSubject','push','roomMembers','debounce','M0\x200H16V16H0z','_injector','ONLINE','DeleteRangeMoveLeftCommandId','parseInt','popstate','jsx','TRANSFORM_CHANGE_OBSERVABLE_TYPE','with','defineProperty','addEventListener','DATA_SOURCE_TOO_LARGE','Vector2','colorChannel1','syncEditingCollabCursor','UniverInstanceType','replaceDocRanges','APPLY_REJECT','_transformService','http://www.w3.org/2000/svg','isFormulaString','_transformHistoryAndStateStack','AUTHORIZE_CODE_ILLEGAL','assignAColorForMemberID','UniverUi','ENTITLE_REPORT_LIMIT_EXCEED','_initCommandExecutedListener','SUCCESS','NOT_FOUND','serializeRangeWithSheet','unit','1304658zYEmSD','_dataLoaderService','amd','_document','OffLineIcon','_send','CollaborationController','UniverProCollaborationClientUi','makeDirty','onMouseMove','collabStatus.synced','ISocketService','transformMutation','skeleton','TOO_MANY_REQUESTS','_doCreateSocket','COLORS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toRgbString','SheetsSelectionsService','_status$','[Unhandled\x20Rejection]:\x20','distinctUntilChanged','onCommandExecuted','disposeWithMe','ICommandService','_uploadLog','key','map','@univerjs/engine-formula','path','collabStatus.offline','@univerjs/docs-ui','has','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setStateCache','entries','_getMergeRange','LICENSE_MAX_UNITS_EXCEEDED','Injector','PENDING','RemoteUniscriptService','svg','_checkCalculationAvailable','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','_initStatusComponent','redoState','collaboration-client-ui.config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subscribe','RefRangeService','_clearOtherTimers','_renderManagerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INotificationService','dispose','REDEMPTION_CODE_NOT_STARTED','UNIVER_DOC','debounceTime','_localCacheService','_messageService','MUTATION','USER_IS_ANONYMOUS','filter','transformRemoteChangeset','UniverSheetsUi','_configService','INVITE_CODE_ALREADY_BOUND','OnLineIcon','React','Rectangle','send','mutations','USER_NOT_FOUND','length','invokeId','setConfig','CHANGESET_REVISION_CONFILICT','UNDEFINED','@univerjs/network','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','EffectRefRangId','hovered','doc.mutation.rich-text-editing','currentTheme$','function','save','transformSelections','unsubscribe','Module','collab-client.tooltip.reconnect','UNAUTHENTICATED','shareReplay','_disabled','resize','WebURLService','[LogService\x20Error]:\x20','cursorInfo','exhaustSavingTask','setAlpha','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_handleJoinEvent','permission.title','getOffsetConfig','search','_shapes','_drawAnchor','DependentOn','show','beforeCommandExecuted','_getAnchorBounding','_range','ISnapshotServerService','_commandService','unitID','_draw','IUniverInstanceService','_initEntityListener','pipe','UNIVER_SHEET','runId','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_MISMATCH','getCurrentSelections','_collaborationUIEventService','INVALID_ARGUMENT','registerComponent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_CHAT_LIMIT_EXCEED','_name','_config','REDEMPTION_INVALID_CODE','session.connection-failed','getMergeData','_showGuardMessage','getParam','_registerDependencies','stack','IImageIoService','height','_scheduleSaving','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','uni.network.url-service','entityInit$','INTERNAL_ERROR','_clearPolling','setActiveRange','getActiveSheet','_lastPointer','useRef','current','OFFLINE','createSocket','INVALID_INVITE_CODE','SUBMIT_CHANGESET_TIMEOUT','values','handleMoveRange','NO_OTHER_CLIENTS_EDITING','shift','SetFormulaCalculationStartMutation','evenodd','_initWindowErrorListener','m2Prime','1em','ILocalStorageService','none','green.600','dispose$','ERROR_AGAIN','APPLY_REVISION_CONFILICT','_hover','_refreshCollabCursors','_currentUsage','_getFormulaLimitStatus','urlChange$','toStringTag','BehaviorSubject','onLocalMutation','UniverCore','_color','ENTITLE_DUP_SUBSCRIPTION','InsertRangeMoveDownCommandId','idSuffix','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','endRow','IConfigService','handleInsertCol','0\x200\x2017\x2016','forEach','type','univer-flex\x20univer-items-center','lineno','_localStorageService','_memberID','displayName','Rect','beginPath','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ILogService','storage','defIds','mergeOverrideWithDependencies','activeSheet$','_textBubble','getValue','releaseFormulaLimitUrl','takeUntil','rgba(255,\x20255,\x20255,\x200.01)','newValue','removeEventListener','WECHAT_HAS_BEEN_BOUND','CONFLICT','includes','INVITE_CODE_HAS_BEEN_UES','LOGIN_TOKEN_PROCESSING_FAILED','range','getUniverSheetInstance','BrowserCollaborationSocketService','formula.calculation.waiting','RECT','_httpService','_getSaveTimeout','formula.calculation.unable','deepClone','_updateURLWithCurrentState','_docSkeletonManagerService','_docClipboardService','_cachedData','location','_imageIoService','session.collaboration-timeout','row','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','column','DOC_RANGE_TYPE','_roomMembers$','Error','_onRefRangeChange','getCollabEntity$','Tooltip','UniverProCollaboration','_collaborationController','clearInterval','colno','_cursors','EMAIL_HAS_BEEN_BOUND','_docTransformSelectionsService','_cursorInfo$','on-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','post','_revisionService','some','now','unitId','NodePositionConvertToRectRange','enableFrontendLog','DeleteRangeMoveUpCommandId','setParam','REDEMPTION_CODE_INACTIVE','limitInfo','handleIRemoveCol','/universer-api/license/formula/limit/start','[RemoteUniscriptService]:\x20no\x20focused\x20unit','engine','ENTITLE_NEED_BILLING_ADDRESS','sheetID','text','substring','asObservable','SYNCED','Inject','transformIMECache','MoveRangeCommandId','UniverEngineRender','CollaborationDataLoaderController','error','href','ACTIVE_UNIT_EVENT_CHANNEL','ENTITLE_INVALID_COUPON_CODE','disableLocalCache','_removeClearOtherTimer','_startCalculationLimit','labelPosition','react/jsx-runtime','YUUMI_CONNECTOR_URL_NOT_FOUND','UPDATE_CURSOR','UnitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_backgroundColor','bind','children','DocSkeletonManagerService','@univerjs/drawing','IRenderManagerService','YUUMI_AI_RUN_FAILED','white','collabStatus.fetchMiss','maxFormulaLimit','filename','@univerjs/engine-render','bottom','DataLoaderService','8lasEBJ','session.will-retry','useObservable','black','string','history','_handleLeaveEvent','getRelativeToViewportCoord','RichTextEditingMutation','lineTo','catch','selection','find','_collabCursorState$','ENTITLE_COUPON_EXPIRED','_initStatusListener','useDependency','getCurrent','_initCommandInterceptor','currentSkeleton$','onPointerMove$','event$','UniverDrawing','ENTITLE_INSUFFICIENT_QUOTA','_memberService','flatMap','handleInsertRangeMoveDown','fromEvent','requireSession','ColorKit','SheetSkeletonManagerService','NOT_COLLAB','trim','collab-text-anchor-','_id','getSheetId','7729470XxXWZr','updateOfflineData','CommandType','memberID','undoState','loadOfflineData','_heartbeatTimer','_syncEditingCollabCursorService','saveOfflineData','onPointerLeave$','_selfUnitIDs','getAncestorScale','REDEMPTION_CODE_FULLY_REDEEMED','unshift','1437745fmbETJ','CollaborationSessionService','_anchorDot','_scene','getLocalCacheKey','_context','getMember','PY_RUNTIME_SCRIPT_ERROR','color','_initEvent','actions','isTransformMutationFailure','APPLY_PERMISSION_DENIED','enableLocalCache','whenReady','SOCKET_FAILED_RETRY','fillStyle','_drawTextRange','UniverEngineFormula','rxjs','AWAITING_WITH_PENDING','getSheetBySheetId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','MessageType','PERMISSION_DENIED','_saveCache','LICENSE_DISTRO_REJECTED','pushState','AWAITING','code','IDocClipboardService','UniverCollaborationClientUIPlugin','collabStatus.conflict','@univerjs/core','_logService','_transformUndoRedoStack','@univerjs-pro/collaboration','_eventUnsubscribe','InsertRangeMoveRightCommandId','_taskIds','combineLatest','ENSURE_SNAPSHOT_EXECUTION','override','_transformPreviousActiveRange','replaceState','_saveTaskMap','sessionStatus$','tag','ALREADY_EXISTS','_initUserListener','textRanges','_hovered','getColor','Warning','_urlService','react','getCurrentUnitForType','saveImage','fromEventSubject','TEXT_RANGE_LAYER_INDEX','debug','body','_assignedColors','_pollingInterval','JOIN_ROOM_FAILED','_getSessionTicket','pluginName','_hideTimer','PAYMENT_CHANNEL_NOT_SUPPORT','_getScale','getUndoRedoMutationParamsCache','_cursor','RemoveRowCommandId','off-line-icon_clip0_910_343','/universer-api/license/formula/limit/status','setTimeout','SHEET_VIEWPORT_KEY','url(#on-line-icon_clip0_910_349)','_session','_beforeCloseService','_getSheetObject','_docStateChangeManagerService','toString','blue.400','forwardRef','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','data','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_INVITED_CODE','getformulaLimitStatusUrl','_handleHeartbeatEvent','START_CALCULATION','functionsExecutedState','IUIPartsService','@univerjs/ui','IURLService','@univerjs/sheets-ui','CollaborationEvent','6zrLtdR','runOnServer','createInstance','restore','4651412hNXuOw','getUnitId','subunit','_labelPosition','_render','SetTextSelectionsOperation','...','jsxs','touchDependencies','collaboration.offline-data-not-saved','deserializeRangeWithSheet','generateRandomId','subscribeEvent','defs','formula.calculation.started','ENTITLE_USE_COUPON_NOT_1ST_TRADE','createElement','WebSocketService','/universer-api/license/formula/limit/done','_notificationService','getCoordByCell','Tools','IMessageService','HTTPService','startRow','SNAPSHOT_HAS_BEEN_REMOVED','NodePositionConvertToCursor','UniverNetwork','getConfig','join','DEFAULT_WS_SESSION_TICKET_URL','registerDependencies','on-line-icon_clip0_910_349','_docSyncEditingCollabCursorService','transformStateCache','closePath','editingUnit','setUndoRedoMutationParamsCache','ThemeService','application/json','_colorIndex','onRendered','top','hide','UniverDocsUi','\x20at\x20','searchParams','_onCursorDelete','MOBILE_HAS_BEEN_BOUND','isActive','InsertRowCommandId','SetFormulaCalculationNotificationMutation','[CollaborationDataLoaderController]','FormulaExecuteStageType','getRenderById','SetWorksheetActivateCommand','0\x200\x2016\x2016','url(#off-line-icon_clip0_910_343)','fillText','getViewport','Subject','IBeforeCloseService','_collabCursorController','9621054ooeELE','docStateChange$','_entityInit$','_scheduleClearOtherTimer','handleInsertRangeMoveRight','registerRefRange','_handleHover','sessionTicket','measureText','isEditing','_setFormulaLimitStatus','min','getMemberID','getUnitStatus$','_lastResponseTimestamp','clsx','contains','SheetCollabCursorShape','split','_toggleOnline','getColorFromTheme','_maxFormulaLimit','then','_updateCollabCursors','from','_online','APPLY_DUPLICATED','startsWith','ILocalCacheService','yellow.400','FromArray','LOGIN_FAILED','_scheduleHeartbeat','fillRule','_initDependencies','handleIRemoveRow','_startSheetCollabCursor','_unitOnClients','CONNECTOR_DATA_TOO_LARGE','runRefRangeMutations','m1Prime','setItem','message','mapTo','addObject','CollaborationUIEventId','next','#FFF','div','drawWith','collabCursorState$','getFocusedUnit','use','getRangePointData','stringify','_initResize','endColumn','DocIMEInputManagerService','LOCAL_CACHE_INTERVAL_KEY','translate(.97)','delete','ITransformService','merge','mask','_toggleOffline','CLOSE_ROOM','round','YUUMI_NO_CUBOID_FOR_QUESTION','_uiPartsService','MemberService','registerRenderModule','CollaborationUIEventService','complete','getOwnPropertyDescriptor','fill','SOCKET_FAILED','isFormulaId','_createSocketURL','init','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','13277zDwNnB','useCallback'];_0x1fb5=function(){return _0x5a4156;};return _0x1fb5();}
|