@univerjs-pro/collaboration-client-ui 0.10.12-nightly.202510251119 → 0.10.13-nightly.202510290902
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd8ae(_0x57e948,_0x405fc0){const _0x2a822d=_0x2a82();return _0xd8ae=function(_0xd8aee0,_0x2f246c){_0xd8aee0=_0xd8aee0-0x1aa;let _0x519531=_0x2a822d[_0xd8aee0];return _0x519531;},_0xd8ae(_0x57e948,_0x405fc0);}(function(_0x644a5f,_0x3885d0){const _0x4bad03=_0xd8ae,_0x1732f1=_0x644a5f();while(!![]){try{const _0x2c8b25=parseInt(_0x4bad03(0x21a))/0x1+-parseInt(_0x4bad03(0x40a))/0x2+-parseInt(_0x4bad03(0x448))/0x3+-parseInt(_0x4bad03(0x3bf))/0x4+parseInt(_0x4bad03(0x1c7))/0x5+-parseInt(_0x4bad03(0x1f6))/0x6*(parseInt(_0x4bad03(0x2a5))/0x7)+parseInt(_0x4bad03(0x316))/0x8*(parseInt(_0x4bad03(0x390))/0x9);if(_0x2c8b25===_0x3885d0)break;else _0x1732f1['push'](_0x1732f1['shift']());}catch(_0x5812b3){_0x1732f1['push'](_0x1732f1['shift']());}}}(_0x2a82,0xe97d2),function(_0x13af82,_0x57b580){const _0x2463d8=_0xd8ae;typeof exports==_0x2463d8(0x3ef)&&typeof module<'u'?_0x57b580(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==_0x2463d8(0x30d)&&define[_0x2463d8(0x2be)]?define([_0x2463d8(0x263),_0x2463d8(0x3df),_0x2463d8(0x26e),_0x2463d8(0x2c1),_0x2463d8(0x377),_0x2463d8(0x27e),_0x2463d8(0x1e1),_0x2463d8(0x278),_0x2463d8(0x208),'@univerjs/sheets',_0x2463d8(0x396),_0x2463d8(0x40e),_0x2463d8(0x31e),_0x2463d8(0x2de),_0x2463d8(0x3fc),_0x2463d8(0x326),'@univerjs/engine-formula',_0x2463d8(0x41d),'@univerjs/sheets-ui'],_0x57b580):(_0x13af82=typeof globalThis<'u'?globalThis:_0x13af82||self,_0x57b580(_0x13af82[_0x2463d8(0x45a)]={},_0x13af82['React'],_0x13af82['UniverProCollaborationClient'],_0x13af82[_0x2463d8(0x26f)],_0x13af82[_0x2463d8(0x269)],_0x13af82[_0x2463d8(0x27e)],_0x13af82[_0x2463d8(0x2c6)],_0x13af82['React'],_0x13af82['UniverRpc'],_0x13af82[_0x2463d8(0x1cb)],_0x13af82[_0x2463d8(0x218)],_0x13af82[_0x2463d8(0x419)],_0x13af82[_0x2463d8(0x1d3)],_0x13af82[_0x2463d8(0x3d5)],_0x13af82[_0x2463d8(0x47b)],_0x13af82[_0x2463d8(0x337)],_0x13af82[_0x2463d8(0x367)],_0x13af82[_0x2463d8(0x27e)][_0x2463d8(0x310)],_0x13af82[_0x2463d8(0x376)]));}(this,function(_0x5401e2,_0x362dc6,_0xd5bbf8,_0x187eaa,_0x2695dd,_0x12c3e7,_0x3b181,_0x4d382b,_0x34ba01,_0x183de5,_0x34e554,_0x1b946c,_0x4019f2,_0xd84d03,_0x5cbc46,_0x4149e2,_0x18796c,_0x2f0f6d,_0x466080){'use strict';const _0x175e1d=_0xd8ae;var _0x17e096=Object[_0x175e1d(0x43c)],_0x454afe=(_0x354d58,_0x372140,_0x256b15)=>_0x372140 in _0x354d58?_0x17e096(_0x354d58,_0x372140,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x256b15}):_0x354d58[_0x372140]=_0x256b15,_0x3d2368=(_0x686818,_0x3e9d3e,_0x3e8786)=>_0x454afe(_0x686818,typeof _0x3e9d3e!=_0x175e1d(0x34d)?_0x3e9d3e+'':_0x3e9d3e,_0x3e8786);function _0x1d0385({ref:_0x126800,..._0x45009b}){const _0x4e2655=_0x175e1d,{icon:_0xe19eb5,id:_0x36777a,className:_0x38e545,extend:_0x1eaecb,..._0x55293d}=_0x45009b,_0x25d1b9=(_0x4e2655(0x31b)+_0x36777a+'\x20'+(_0x38e545||''))['trim'](),_0x24623f=_0x4d382b[_0x4e2655(0x2f4)]('_'+_0xe6244());return _0x1f6ac2(_0xe19eb5,''+_0x36777a,{'defIds':_0xe19eb5[_0x4e2655(0x20d)],'idSuffix':_0x24623f[_0x4e2655(0x3c3)]},{'ref':_0x126800,'className':_0x25d1b9,..._0x55293d},_0x1eaecb);}function _0x1f6ac2(_0x1c5581,_0xb0df20,_0x14196b,_0x11d1cf,_0xbffd0b){const _0x2d7a29=_0x175e1d;return _0x4d382b[_0x2d7a29(0x30f)](_0x1c5581['tag'],{'key':_0xb0df20,..._0x33d97(_0x1c5581,_0x14196b,_0xbffd0b),..._0x11d1cf},(_0x4fa1a8(_0x1c5581,_0x14196b)['children']||[])[_0x2d7a29(0x38c)]((_0x394bc3,_0x2a2a2d)=>_0x1f6ac2(_0x394bc3,_0xb0df20+'-'+_0x1c5581[_0x2d7a29(0x38a)]+'-'+_0x2a2a2d,_0x14196b,void 0x0,_0xbffd0b)));}function _0x33d97(_0x839d13,_0x4c83cd,_0xec1f43){const _0x849a33=_0x175e1d,_0x4508db={..._0x839d13['attrs']};_0xec1f43!=null&&_0xec1f43[_0x849a33(0x28a)]&&_0x4508db[_0x849a33(0x3c2)]===_0x849a33(0x28a)&&(_0x4508db[_0x849a33(0x3c2)]=_0xec1f43[_0x849a33(0x28a)]),_0x839d13[_0x849a33(0x38a)]===_0x849a33(0x370)&&_0x4508db['id']&&(_0x4508db['id']=_0x4508db['id']+_0x4c83cd[_0x849a33(0x2c9)]),Object[_0x849a33(0x414)](_0x4508db)[_0x849a33(0x1d4)](([_0x2c8298,_0x513d31])=>{const _0x4003bd=_0x849a33;_0x2c8298===_0x4003bd(0x370)&&typeof _0x513d31==_0x4003bd(0x29e)&&(_0x4508db[_0x2c8298]=_0x513d31[_0x4003bd(0x3e7)](/url\(#(.*)\)/,_0x4003bd(0x271)+_0x4c83cd[_0x4003bd(0x2c9)]+')'));});const {defIds:_0x1269ae}=_0x4c83cd;return!_0x1269ae||_0x1269ae[_0x849a33(0x2d7)]===0x0||(_0x839d13['tag']===_0x849a33(0x477)&&_0x4508db['xlink:href']&&(_0x4508db[_0x849a33(0x2bb)]=_0x4508db[_0x849a33(0x2bb)]+_0x4c83cd['idSuffix']),Object[_0x849a33(0x414)](_0x4508db)[_0x849a33(0x1d4)](([_0x50dc6c,_0x84f917])=>{const _0x44bd89=_0x849a33;typeof _0x84f917==_0x44bd89(0x29e)&&(_0x4508db[_0x50dc6c]=_0x84f917['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c83cd[_0x44bd89(0x2c9)]+')'));})),_0x4508db;}function _0x4fa1a8(_0x29f83d,_0x58348d){const _0x227e4c=_0x175e1d;var _0x3e582f;const {defIds:_0x26df9c}=_0x58348d;return!_0x26df9c||_0x26df9c[_0x227e4c(0x2d7)]===0x0?_0x29f83d:_0x29f83d[_0x227e4c(0x38a)]==='defs'&&((_0x3e582f=_0x29f83d['children'])!=null&&_0x3e582f[_0x227e4c(0x2d7)])?{..._0x29f83d,'children':_0x29f83d['children'][_0x227e4c(0x38c)](_0x231132=>typeof _0x231132[_0x227e4c(0x44c)]['id']==_0x227e4c(0x29e)&&_0x26df9c&&_0x26df9c[_0x227e4c(0x400)](_0x231132[_0x227e4c(0x44c)]['id'])?{..._0x231132,'attrs':{..._0x231132[_0x227e4c(0x44c)],'id':_0x231132[_0x227e4c(0x44c)]['id']+_0x58348d[_0x227e4c(0x2c9)]}}:_0x231132)}:_0x29f83d;}function _0xe6244(){const _0x53deb9=_0x175e1d;return Math['random']()[_0x53deb9(0x29d)](0x24)[_0x53deb9(0x1f1)](0x2,0x8);}_0x1d0385['displayName']='UniverIcon';const _0xc492dd={'tag':_0x175e1d(0x2cb),'attrs':{'xmlns':_0x175e1d(0x1b2),'fill':_0x175e1d(0x2ac),'viewBox':_0x175e1d(0x237),'width':_0x175e1d(0x42f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x175e1d(0x423)},'children':[{'tag':_0x175e1d(0x319),'attrs':{'stroke':'currentColor','d':_0x175e1d(0x3a5),'strokeLinecap':'round','strokeLinejoin':_0x175e1d(0x203),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x175e1d(0x445)},'children':[{'tag':_0x175e1d(0x319),'attrs':{'fill':_0x175e1d(0x266),'d':_0x175e1d(0x28f)}}]}]}],'defIds':[_0x175e1d(0x445)]},_0x532acb=_0x4d382b[_0x175e1d(0x406)](function(_0x4805c1,_0x1821df){const _0x22a3a9=_0x175e1d;return _0x4d382b[_0x22a3a9(0x30f)](_0x1d0385,Object['assign']({},_0x4805c1,{'id':_0x22a3a9(0x341),'ref':_0x1821df,'icon':_0xc492dd}));});_0x532acb[_0x175e1d(0x353)]=_0x175e1d(0x2d1);const _0x2b8cbf={'tag':'svg','attrs':{'xmlns':_0x175e1d(0x1b2),'fill':_0x175e1d(0x2ac),'viewBox':_0x175e1d(0x267),'width':_0x175e1d(0x42f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x175e1d(0x319),'attrs':{'stroke':_0x175e1d(0x3b6),'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':_0x175e1d(0x203),'strokeLinejoin':_0x175e1d(0x203),'strokeWidth':1.2}}]},{'tag':_0x175e1d(0x47e),'attrs':{},'children':[{'tag':_0x175e1d(0x209),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x175e1d(0x319),'attrs':{'fill':_0x175e1d(0x266),'d':'M0\x200H16V16H0z','transform':_0x175e1d(0x250)}}]}]}],'defIds':[_0x175e1d(0x298)]},_0x3bb4d5=_0x4d382b[_0x175e1d(0x406)](function(_0x4b6265,_0xb5e3d7){const _0x57c81e=_0x175e1d;return _0x4d382b[_0x57c81e(0x30f)](_0x1d0385,Object[_0x57c81e(0x394)]({},_0x4b6265,{'id':_0x57c81e(0x2d5),'ref':_0xb5e3d7,'icon':_0x2b8cbf}));});_0x3bb4d5['displayName']=_0x175e1d(0x1b7);function _0xead539(_0x26c86d){const _0x24d798=_0x175e1d;switch(_0x26c86d){case _0xd5bbf8[_0x24d798(0x34c)]['OFFLINE']:return'collabStatus.offline';case _0xd5bbf8[_0x24d798(0x34c)][_0x24d798(0x3e8)]:return _0x24d798(0x43a);case _0xd5bbf8[_0x24d798(0x34c)][_0x24d798(0x3b3)]:return'collabStatus.fetchMiss';case _0xd5bbf8[_0x24d798(0x34c)][_0x24d798(0x435)]:return _0x24d798(0x32a);case _0xd5bbf8[_0x24d798(0x34c)]['AWAITING']:case _0xd5bbf8[_0x24d798(0x34c)]['AWAITING_WITH_PENDING']:return _0x24d798(0x429);case _0xd5bbf8[_0x24d798(0x34c)][_0x24d798(0x39e)]:case _0xd5bbf8[_0x24d798(0x34c)][_0x24d798(0x2f6)]:return _0x24d798(0x407);}}function _0x330da9(_0x5ec394){const _0x1c2287=_0x175e1d,{status$:_0x5f4f9e}=_0x5ec394,_0x1cd990=_0x2695dd['useObservable'](_0x5f4f9e,_0xd5bbf8[_0x1c2287(0x34c)][_0x1c2287(0x435)]),_0x1a2e94=_0x2695dd['useDependency'](_0x187eaa[_0x1c2287(0x1de)]),_0x4cc849=_0x2695dd[_0x1c2287(0x425)](_0xd5bbf8[_0x1c2287(0x227)]),_0x1fdc82=_0x1cd990!==_0xd5bbf8[_0x1c2287(0x34c)][_0x1c2287(0x35b)],_0x19370f=_0x1a2e94['t'](_0xead539(_0x1cd990)),_0x42003b=_0x1fdc82?_0x362dc6[_0x1c2287(0x22d)](_0x3bb4d5,{}):_0x362dc6[_0x1c2287(0x22d)](_0x532acb,{}),_0x1c7b64=_0x4d382b[_0x1c2287(0x1d1)](()=>{const _0x16df58=_0x1c2287;_0x1fdc82||_0x4cc849[_0x16df58(0x25a)]();},[_0x1fdc82,_0x4cc849]);function _0x5d06e8(){const _0x4effd1=_0x1c2287;return _0x362dc6[_0x4effd1(0x46a)](_0x4effd1(0x474),{'className':_0x4effd1(0x3f1),'onClick':_0x1c7b64,'children':[_0x362dc6[_0x4effd1(0x22d)](_0x4effd1(0x474),{'className':_0x3b181['clsx'](_0x4effd1(0x3e4),{'univer-text-green-500':_0x1fdc82,'univer-text-red-500':!_0x1fdc82}),'children':_0x42003b}),_0x362dc6[_0x4effd1(0x22d)](_0x4effd1(0x474),{'className':_0x4effd1(0x259),'children':_0x19370f})]});}return _0x1fdc82?_0x5d06e8():_0x362dc6[_0x1c2287(0x22d)](_0x3b181[_0x1c2287(0x265)],{'title':_0x1a2e94['t'](_0x1c2287(0x468)),'children':_0x5d06e8()});}var _0x44b9a7=Object['getOwnPropertyDescriptor'],_0x2a0f41=(_0x3186a9,_0x316ec1,_0x4db253,_0xe928bd)=>{const _0x2fbc9a=_0x175e1d;for(var _0x11de14=_0xe928bd>0x1?void 0x0:_0xe928bd?_0x44b9a7(_0x316ec1,_0x4db253):_0x316ec1,_0x1e3b79=_0x3186a9[_0x2fbc9a(0x2d7)]-0x1,_0x30cb0b;_0x1e3b79>=0x0;_0x1e3b79--)(_0x30cb0b=_0x3186a9[_0x1e3b79])&&(_0x11de14=_0x30cb0b(_0x11de14)||_0x11de14);return _0x11de14;},_0x5b9981=(_0x1e7c0f,_0x501b62)=>(_0x58b01e,_0x2df423)=>_0x501b62(_0x58b01e,_0x2df423,_0x1e7c0f);_0x5401e2[_0x175e1d(0x296)]=class extends _0x187eaa[_0x175e1d(0x32b)]{constructor(_0x372153,_0x24bdf5,_0x16d4ff,_0xb6e6fa){const _0x425e38=_0x175e1d;super(),_0x3d2368(this,_0x425e38(0x40f),new _0x12c3e7[(_0x425e38(0x35a))](_0xd5bbf8[_0x425e38(0x34c)][_0x425e38(0x435)])),(this[_0x425e38(0x286)]=_0x372153,this[_0x425e38(0x1c8)]=_0x24bdf5,this[_0x425e38(0x46c)]=_0x16d4ff,this[_0x425e38(0x312)]=_0xb6e6fa,this[_0x425e38(0x362)](),this[_0x425e38(0x41c)]());}[_0x175e1d(0x41c)](){const _0x590b34=_0x175e1d;this['disposeWithMe'](this[_0x590b34(0x286)][_0x590b34(0x240)][_0x590b34(0x273)](_0x12c3e7[_0x590b34(0x1e9)](()=>{const _0x553a1a=_0x590b34,_0x239b03=this['_univerInstanceService'][_0x553a1a(0x249)]();return _0x239b03?this[_0x553a1a(0x46c)][_0x553a1a(0x2f3)](_0x239b03['getUnitId']()):_0x12c3e7['of'](null);}),_0x12c3e7[_0x590b34(0x1e9)](_0x301d29=>_0x301d29?_0x301d29[_0x590b34(0x306)]:_0x12c3e7['of'](_0xd5bbf8[_0x590b34(0x34c)][_0x590b34(0x435)])))[_0x590b34(0x405)](_0x828e9=>{const _0x3397a7=_0x590b34;this['_status$'][_0x3397a7(0x1c9)](_0x828e9);}));}[_0x175e1d(0x362)](){const _0xaf237c=_0x175e1d;this[_0xaf237c(0x307)](this['_uiPartsService'][_0xaf237c(0x39a)](_0x2695dd[_0xaf237c(0x3d6)][_0xaf237c(0x26d)],()=>_0x2695dd[_0xaf237c(0x29c)](_0x574c3b({'status$':this[_0xaf237c(0x40f)][_0xaf237c(0x2e3)]()}),this[_0xaf237c(0x1c8)])));}},_0x5401e2['DesktopCollaborationStatusDisplayController']=_0x2a0f41([_0x5b9981(0x0,_0x187eaa[_0x175e1d(0x359)]),_0x5b9981(0x1,_0x187eaa['Inject'](_0x187eaa[_0x175e1d(0x349)])),_0x5b9981(0x2,_0x187eaa['Inject'](_0xd5bbf8['CollaborationController'])),_0x5b9981(0x3,_0x2695dd[_0x175e1d(0x385)])],_0x5401e2[_0x175e1d(0x296)]);function _0x574c3b(_0x2f5f08){const {status$:_0x263836}=_0x2f5f08;return function(){return _0x362dc6['jsx'](_0x330da9,{'status$':_0x263836});};}const _0x5a3963=_0x187eaa[_0x175e1d(0x23d)](_0x175e1d(0x30c));var _0x5ca614=Object[_0x175e1d(0x302)],_0x27fcd6=(_0x4a901e,_0x57dc41,_0xe6e983,_0x1a42bf)=>{const _0x2662c7=_0x175e1d;for(var _0x4ce425=_0x1a42bf>0x1?void 0x0:_0x1a42bf?_0x5ca614(_0x57dc41,_0xe6e983):_0x57dc41,_0x70794=_0x4a901e[_0x2662c7(0x2d7)]-0x1,_0x5795b0;_0x70794>=0x0;_0x70794--)(_0x5795b0=_0x4a901e[_0x70794])&&(_0x4ce425=_0x5795b0(_0x4ce425)||_0x4ce425);return _0x4ce425;},_0x4b57e4=(_0x273b3c,_0x307b1f)=>(_0x50a08d,_0x5143a2)=>_0x307b1f(_0x50a08d,_0x5143a2,_0x273b3c);_0x5401e2[_0x175e1d(0x433)]=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x5c91dd,_0x203c3a,_0x52d82c,_0x40d3f2,_0x248cb9){const _0x43c37e=_0x175e1d;super(),this['_urlService']=_0x5c91dd,this['_logService']=_0x203c3a,this[_0x43c37e(0x20b)]=_0x52d82c,this[_0x43c37e(0x24e)]=_0x40d3f2,_0x248cb9?_0x248cb9==null||_0x248cb9[_0x43c37e(0x323)]()[_0x43c37e(0x1e4)](()=>this['_init']()):(this[_0x43c37e(0x409)]['debug'](_0x43c37e(0x1ac),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x175e1d(0x1b9)](){const _0x522ae7=_0x175e1d,_0x6e8cf8=this[_0x522ae7(0x463)][_0x522ae7(0x1dd)](_0x522ae7(0x38b)),_0x24fc48=this['_urlService'][_0x522ae7(0x1dd)](_0x522ae7(0x3f4)),_0x334b0a=this[_0x522ae7(0x463)][_0x522ae7(0x1dd)](_0x522ae7(0x360));if(!_0x6e8cf8||!_0x24fc48){this[_0x522ae7(0x409)]['debug'](_0x522ae7(0x1ac),_0x522ae7(0x27b));return;}const _0x43bd9d=await this['_dataLoaderService']['loadUnit'](_0x6e8cf8,Number(_0x24fc48),_0x334b0a);_0x43bd9d&&_0x43bd9d instanceof _0x187eaa['Workbook']&&this['_setupSubUnitSync'](_0x43bd9d);}async[_0x175e1d(0x1d5)](_0x172db4){const _0x32f6bf=_0x175e1d;await this['_updateSubUnitFromURLParams'](_0x172db4),_0x172db4['activeSheet$'][_0x32f6bf(0x273)](_0x12c3e7[_0x32f6bf(0x2b7)](this[_0x32f6bf(0x264)]))['subscribe'](_0x2196ad=>{const _0x5bf060=_0x32f6bf;_0x2196ad&&this[_0x5bf060(0x234)](_0x2196ad);}),this[_0x32f6bf(0x463)][_0x32f6bf(0x1b4)]['pipe'](_0x12c3e7[_0x32f6bf(0x2b7)](this[_0x32f6bf(0x264)]))[_0x32f6bf(0x405)](()=>this[_0x32f6bf(0x3e2)](_0x172db4));}[_0x175e1d(0x234)](_0x14a439,_0x2be06=!0x1){const _0x1ba50b=_0x175e1d,_0x4ada70=this[_0x1ba50b(0x463)][_0x1ba50b(0x1dd)](_0x1ba50b(0x360));_0x14a439['getSheetId']()!==_0x4ada70&&this[_0x1ba50b(0x463)]['setParam'](_0x1ba50b(0x360),_0x14a439['getSheetId'](),_0x2be06);}async[_0x175e1d(0x3e2)](_0x4531fe){const _0x344955=_0x175e1d;var _0x3f7382;const _0x292652=this[_0x344955(0x463)][_0x344955(0x1dd)](_0x344955(0x360));if(!_0x292652||!_0x4531fe[_0x344955(0x381)](_0x292652)){const _0x88c8a1=_0x4531fe[_0x344955(0x2ab)]()[0x0],_0x259b95=_0x4531fe[_0x344955(0x381)](_0x88c8a1);if(!_0x259b95)return;this[_0x344955(0x234)](_0x259b95,!0x0),await this[_0x344955(0x20b)][_0x344955(0x2e1)](_0x183de5[_0x344955(0x1c5)]['id'],{'unitId':_0x4531fe[_0x344955(0x3b5)](),'subUnitId':_0x88c8a1});return;}((_0x3f7382=_0x4531fe['getActiveSheet']())==null?void 0x0:_0x3f7382['getSheetId']())!==_0x292652&&await this[_0x344955(0x20b)][_0x344955(0x2e1)](_0x183de5[_0x344955(0x1c5)]['id'],{'unitId':_0x4531fe[_0x344955(0x3b5)](),'subUnitId':_0x292652});}},_0x5401e2[_0x175e1d(0x433)]=_0x27fcd6([_0x4b57e4(0x0,_0x5a3963),_0x4b57e4(0x1,_0x187eaa[_0x175e1d(0x205)]),_0x4b57e4(0x2,_0x187eaa['ICommandService']),_0x4b57e4(0x3,_0x187eaa[_0x175e1d(0x374)](_0xd5bbf8[_0x175e1d(0x2eb)])),_0x4b57e4(0x4,_0x187eaa[_0x175e1d(0x479)](_0x34ba01[_0x175e1d(0x34b)]))],_0x5401e2['CollaborationDataLoaderController']);var _0x24265d=Object[_0x175e1d(0x302)],_0x40c550=(_0x35c104,_0x2fa3d7,_0x5e3741,_0x3b1e34)=>{for(var _0x593621=_0x3b1e34>0x1?void 0x0:_0x3b1e34?_0x24265d(_0x2fa3d7,_0x5e3741):_0x2fa3d7,_0x2f9369=_0x35c104['length']-0x1,_0x2de842;_0x2f9369>=0x0;_0x2f9369--)(_0x2de842=_0x35c104[_0x2f9369])&&(_0x593621=_0x2de842(_0x593621)||_0x593621);return _0x593621;},_0x1de22e=(_0x1b237f,_0x135758)=>(_0x16ff12,_0x552fbc)=>_0x135758(_0x16ff12,_0x552fbc,_0x1b237f);let _0x3c9a3d=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x39ef4b,_0x534f95){const _0x363c19=_0x175e1d;super(),this[_0x363c19(0x354)]=_0x39ef4b,this[_0x363c19(0x391)]=_0x534f95,this[_0x363c19(0x1b9)]();}[_0x175e1d(0x1b9)](){const _0x52e636=_0x175e1d,_0x44a80d=this;this[_0x52e636(0x307)](this[_0x52e636(0x354)]['addClipboardHook']({'onBeforePasteImage':async _0x19421b=>{const _0x1fe833=_0x52e636,_0xa16aad=await _0x44a80d[_0x1fe833(0x391)][_0x1fe833(0x379)](_0x19421b);return _0xa16aad?{'source':_0xa16aad[_0x1fe833(0x2fe)],'imageSourceType':_0xa16aad[_0x1fe833(0x305)]}:null;}}));}};_0x3c9a3d=_0x40c550([_0x1de22e(0x0,_0x4019f2[_0x175e1d(0x251)]),_0x1de22e(0x1,_0xd84d03[_0x175e1d(0x35f)])],_0x3c9a3d);const _0x508bea=[_0x175e1d(0x39b),_0x175e1d(0x478),_0x175e1d(0x44a),_0x175e1d(0x343),_0x175e1d(0x3af),_0x175e1d(0x342)];class _0x25c1b1 extends _0x187eaa[_0x175e1d(0x32b)]{constructor(){const _0x1c25ce=_0x175e1d;super(...arguments),_0x3d2368(this,_0x1c25ce(0x350),new Map()),_0x3d2368(this,_0x1c25ce(0x2a1),0x0);}[_0x175e1d(0x2b5)](_0xcfe5c6){const _0x24f5b7=_0x175e1d;if(this[_0x24f5b7(0x350)][_0x24f5b7(0x2f5)](_0xcfe5c6))return this[_0x24f5b7(0x350)][_0x24f5b7(0x37b)](_0xcfe5c6);const _0x1c5550=_0x508bea[this[_0x24f5b7(0x2a1)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x508bea['length'],this[_0x24f5b7(0x350)][_0x24f5b7(0x2ef)](_0xcfe5c6,_0x1c5550),_0x1c5550;}}function _0x2973f7(_0x19b1bb){const _0x1464c2=_0x175e1d;let _0x576f1c='';for(const _0x19a544 of _0x19b1bb){const {startOffset:_0x3c509e,endOffset:_0xa06047,isActive:_0x13f492,rangeType:_0x44413e,segmentId:_0x4b7a4d,segmentPage:_0x55cab4}=_0x19a544;_0x576f1c[_0x1464c2(0x2d7)]&&(_0x576f1c+=','),_0x576f1c+=_0x3c509e+':'+_0xa06047+':'+(_0x13f492?'1':'0')+':'+_0x44413e+':'+_0x4b7a4d+':'+_0x55cab4;}return _0x576f1c;}function _0x146fd0(_0x547bc2){const _0x374972=_0x175e1d,_0x2e14bc=_0x547bc2[_0x374972(0x23f)](','),_0x1653ca=[];for(const _0x5e4781 of _0x2e14bc){const [_0xc9ddd4,_0x2a7f23,_0x5951c9,_0x5c4c09,_0x34031c,_0x1d90d6]=_0x5e4781[_0x374972(0x23f)](':');_0x1653ca[_0x374972(0x1da)]({'startOffset':Number(_0xc9ddd4),'endOffset':Number(_0x2a7f23),'collapsed':_0xc9ddd4===_0x2a7f23,'isActive':_0x5951c9==='1','rangeType':_0x5c4c09===_0x187eaa[_0x374972(0x1aa)][_0x374972(0x2b4)]?_0x187eaa['DOC_RANGE_TYPE']['TEXT']:_0x187eaa['DOC_RANGE_TYPE'][_0x374972(0x318)],'segmentId':typeof _0x34031c==_0x374972(0x29e)?String(_0x34031c):'','segmentPage':Number(_0x1d90d6!=null?_0x1d90d6:-0x1)});}return _0x1653ca['some'](_0x4c7fee=>_0x4c7fee[_0x374972(0x261)])||(_0x1653ca[0x0][_0x374972(0x261)]=!0x0),_0x1653ca;}class _0x18bae6 extends _0x187eaa[_0x175e1d(0x387)]{constructor(){const _0x404824=_0x175e1d;super(...arguments),_0x3d2368(this,'_collabCursorState$',new _0x12c3e7[(_0x404824(0x35a))](null)),_0x3d2368(this,_0x404824(0x453),this[_0x404824(0x3e3)][_0x404824(0x2e3)]());}[_0x175e1d(0x21e)](_0x219f1b){const {unitID:_0x1b9f9d,memberID:_0x3d36fb,textRanges:_0xbab7f5}=_0x219f1b,_0x31040d=_0x2973f7(_0xbab7f5);if(_0x31040d==='')return;const _0x4577fa={'unitID':_0x1b9f9d,'memberID':_0x3d36fb,'selection':_0x31040d};this['_collabCursorState$']['next'](_0x4577fa);}}var _0x12ce78=Object[_0x175e1d(0x302)],_0x2b20a1=(_0x478f31,_0x2b085d,_0x2e793e,_0x7d1611)=>{const _0x57ff2e=_0x175e1d;for(var _0x179f8a=_0x7d1611>0x1?void 0x0:_0x7d1611?_0x12ce78(_0x2b085d,_0x2e793e):_0x2b085d,_0x265250=_0x478f31[_0x57ff2e(0x2d7)]-0x1,_0x5dfb5f;_0x265250>=0x0;_0x265250--)(_0x5dfb5f=_0x478f31[_0x265250])&&(_0x179f8a=_0x5dfb5f(_0x179f8a)||_0x179f8a);return _0x179f8a;},_0x10380a=(_0xf37e7d,_0x3a4d72)=>(_0x2df867,_0x16e790)=>_0x3a4d72(_0x2df867,_0x16e790,_0xf37e7d);const _0x5666c0=0x12c,_0x5d1f6d=0x64;let _0x4d9eea=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x2eb422,_0x267591,_0x1fa176,_0x40179d,_0x4924a2,_0x9c870a,_0x54322c,_0x5e61d5,_0x5b0760){const _0x38c3c7=_0x175e1d;super(),_0x3d2368(this,_0x38c3c7(0x2e4),!0x1),_0x3d2368(this,_0x38c3c7(0x1b9),!0x1),_0x3d2368(this,_0x38c3c7(0x2ad),new _0x12c3e7['BehaviorSubject'](new Map())),_0x3d2368(this,'cursorInfo$',this[_0x38c3c7(0x2ad)][_0x38c3c7(0x2e3)]()),_0x3d2368(this,_0x38c3c7(0x21b),new _0x12c3e7[(_0x38c3c7(0x35a))]([])),_0x3d2368(this,_0x38c3c7(0x3a8),this[_0x38c3c7(0x21b)][_0x38c3c7(0x273)](_0x12c3e7[_0x38c3c7(0x2f9)](_0x5666c0))),_0x3d2368(this,_0x38c3c7(0x469),_0x187eaa['debounce'](_0x39c4d0=>{const _0x3cc555=_0x38c3c7,_0x3353b8={'eventID':_0x5cbc46[_0x3cc555(0x274)][_0x3cc555(0x1e0)],'data':{'unitID':this[_0x3cc555(0x345)],'memberID':this[_0x3cc555(0x1f7)][_0x3cc555(0x329)](),'selection':_0x2973f7(_0x39c4d0)}};this[_0x3cc555(0x1f7)]['send'](_0x3353b8,this['unitID']);},_0x5d1f6d)),(this[_0x38c3c7(0x345)]=_0x2eb422,this[_0x38c3c7(0x1f7)]=_0x267591,this[_0x38c3c7(0x1c8)]=_0x1fa176,this[_0x38c3c7(0x288)]=_0x40179d,this['_memberService']=_0x4924a2,this[_0x38c3c7(0x2e0)]=_0x9c870a,this['_transformService']=_0x54322c,this[_0x38c3c7(0x286)]=_0x5e61d5,this[_0x38c3c7(0x20b)]=_0x5b0760);}get['cursorInfo'](){const _0x4cbc7c=_0x175e1d;return this[_0x4cbc7c(0x2ad)][_0x4cbc7c(0x2e8)]();}get[_0x175e1d(0x235)](){const _0x2f8cc3=_0x175e1d;return this[_0x2f8cc3(0x21b)]['getValue']();}[_0x175e1d(0x279)](){const _0x2a339b=_0x175e1d;super[_0x2a339b(0x279)](),this[_0x2a339b(0x2ad)][_0x2a339b(0x1c9)](new Map()),this['_cursorInfo$']['complete'](),this[_0x2a339b(0x21b)][_0x2a339b(0x1c9)]([]),this[_0x2a339b(0x21b)][_0x2a339b(0x3ce)]();}[_0x175e1d(0x23c)](){const _0x38bacd=_0x175e1d;this[_0x38bacd(0x1b9)]||(this[_0x38bacd(0x1b9)]=!0x0,this[_0x38bacd(0x1f7)][_0x38bacd(0x2c2)][_0x38bacd(0x273)](_0x12c3e7[_0x38bacd(0x2b7)](this[_0x38bacd(0x264)]))[_0x38bacd(0x405)](_0x11330b=>{const _0x153384=_0x38bacd;_0x11330b===_0xd5bbf8['SessionStatus'][_0x153384(0x3d4)]?this[_0x153384(0x3a2)]():this[_0x153384(0x39c)]();}),this[_0x38bacd(0x1f7)][_0x38bacd(0x36e)][_0x38bacd(0x273)](_0x12c3e7[_0x38bacd(0x2b7)](this[_0x38bacd(0x264)]))['subscribe'](_0x3eb5a5=>{const _0x281424=_0x38bacd,_0x166ff1=_0x3eb5a5[_0x281424(0x225)];_0x166ff1===_0x5cbc46[_0x281424(0x274)][_0x281424(0x1e0)]&&this['_onCursorUpdate'](_0x3eb5a5),_0x166ff1===_0x5cbc46[_0x281424(0x274)][_0x281424(0x3ec)]&&this[_0x281424(0x36c)](_0x3eb5a5);}),this[_0x38bacd(0x307)](this[_0x38bacd(0x20b)]['onCommandExecuted'](_0x67c34c=>{const _0x160195=_0x38bacd,_0x39f12e=_0x67c34c['params'];_0x39f12e!=null&&this[_0x160195(0x2e4)]&&_0x67c34c['id']===_0x4149e2[_0x160195(0x24c)]['id']&&_0x39f12e['unitId']===this[_0x160195(0x345)]&&_0x39f12e['isEditing']===!0x1&&_0x39f12e[_0x160195(0x430)][_0x160195(0x2d7)]>0x0&&this['_updateLocalCursor'](_0x39f12e[_0x160195(0x430)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x38bacd(0x273)](_0x12c3e7[_0x38bacd(0x2b7)](this[_0x38bacd(0x264)]))['subscribe'](_0x31209c=>{const _0xf3fc5=_0x38bacd;if((_0x31209c==null?void 0x0:_0x31209c[_0xf3fc5(0x345)])!==this[_0xf3fc5(0x345)])return;const _0x2a001b={'eventID':_0x5cbc46['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x31209c};this[_0xf3fc5(0x355)](_0x2a001b);}),this[_0x38bacd(0x307)](this[_0x38bacd(0x20b)]['onCommandExecuted'](_0x2c1c88=>{const _0x38e240=_0x38bacd;if(_0x2c1c88[_0x38e240(0x44d)]==null)return;const _0x3e12b0=_0x2c1c88['params'];if(_0x2c1c88['id']!==_0x4149e2['RichTextEditingMutation']['id']||_0x3e12b0[_0x38e240(0x38e)]!==this['unitID'])return;const _0x52a819={'id':_0x38e240(0x3e6),'params':_0x3e12b0},_0x3a21a9=this['cursorInfo'];for(const [_0x2d62ec,_0x19ccc3]of _0x3a21a9){const _0x139e62={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x38e240(0x345)],'actions':null,'textRanges':_0x19ccc3[_0x38e240(0x430)]}},_0x6b4584=this[_0x38e240(0x1b3)][_0x38e240(0x25d)](_0x52a819,_0x139e62,!0x1);if(_0x5cbc46[_0x38e240(0x34a)](_0x6b4584))throw _0x6b4584[_0x38e240(0x46d)];_0x3a21a9['set'](_0x2d62ec,{..._0x19ccc3,'ranges':_0x6b4584[_0x38e240(0x1ed)][_0x38e240(0x44d)][_0x38e240(0x44b)]});}queueMicrotask(()=>{const _0x18c8d1=_0x38e240;this[_0x18c8d1(0x2ad)][_0x18c8d1(0x1c9)](_0x3a21a9);});})));}[_0x175e1d(0x355)](_0x3ac9e6){const _0x57ce71=_0x175e1d;var _0x4f4565,_0x596e60;const {memberID:_0x4680b9,selection:_0x298d88}=_0x3ac9e6['data'],_0x1a5698=_0x146fd0(_0x298d88),_0x402daa=(_0x596e60=(_0x4f4565=this[_0x57ce71(0x1ff)]['getMember'](this['unitID'],_0x4680b9))==null?void 0x0:_0x4f4565[_0x57ce71(0x202)])!=null?_0x596e60:_0x57ce71(0x3c9),_0xd88ac0={'color':this[_0x57ce71(0x288)][_0x57ce71(0x2b5)](_0x4680b9),'name':_0x402daa,'ranges':_0x1a5698},_0x324205=this[_0x57ce71(0x333)];_0x324205[_0x57ce71(0x2ef)](_0x4680b9,_0xd88ac0),this[_0x57ce71(0x2ad)]['next'](_0x324205);}[_0x175e1d(0x36c)](_0x569b30){const _0x8ee917=_0x175e1d,{memberID:_0x1dc7e4}=_0x569b30[_0x8ee917(0x37a)],_0x1a18fc=this[_0x8ee917(0x333)];_0x1a18fc[_0x8ee917(0x2a2)](_0x1dc7e4),this[_0x8ee917(0x2ad)]['next'](_0x1a18fc);}['_toggleOnline'](){const _0x5cbdca=_0x175e1d;var _0x9e299c;if(this[_0x5cbdca(0x2e4)]=!0x0,((_0x9e299c=this[_0x5cbdca(0x286)][_0x5cbdca(0x249)]())==null?void 0x0:_0x9e299c[_0x5cbdca(0x3b5)]())!==this['unitID'])return;const _0x27e1af=this[_0x5cbdca(0x1c8)][_0x5cbdca(0x37b)](_0x4149e2[_0x5cbdca(0x2d3)])['getDocRanges']();Array[_0x5cbdca(0x471)](_0x27e1af)&&_0x27e1af[_0x5cbdca(0x2d7)]>0x0&&this[_0x5cbdca(0x469)](_0x27e1af);}[_0x175e1d(0x39c)](){const _0x28ffe3=_0x175e1d;this[_0x28ffe3(0x2e4)]=!0x1;}};_0x4d9eea=_0x2b20a1([_0x10380a(0x2,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x349)])),_0x10380a(0x3,_0x187eaa[_0x175e1d(0x374)](_0x25c1b1)),_0x10380a(0x4,_0x187eaa[_0x175e1d(0x374)](_0xd5bbf8[_0x175e1d(0x442)])),_0x10380a(0x5,_0x187eaa['Inject'](_0x18bae6)),_0x10380a(0x6,_0x5cbc46[_0x175e1d(0x383)]),_0x10380a(0x7,_0x187eaa[_0x175e1d(0x359)]),_0x10380a(0x8,_0x187eaa[_0x175e1d(0x2fd)])],_0x4d9eea);var _0x3790f8=Object[_0x175e1d(0x302)],_0x2e7e3f=(_0x89713a,_0xec910e,_0x37a7e6,_0x1fbd79)=>{const _0xb7dd8a=_0x175e1d;for(var _0x2ea526=_0x1fbd79>0x1?void 0x0:_0x1fbd79?_0x3790f8(_0xec910e,_0x37a7e6):_0xec910e,_0x16d96a=_0x89713a[_0xb7dd8a(0x2d7)]-0x1,_0x5aaba6;_0x16d96a>=0x0;_0x16d96a--)(_0x5aaba6=_0x89713a[_0x16d96a])&&(_0x2ea526=_0x5aaba6(_0x2ea526)||_0x2ea526);return _0x2ea526;},_0xcc02b3=(_0x3bf45a,_0x479007)=>(_0x2ea7d1,_0x5703ec)=>_0x479007(_0x2ea7d1,_0x5703ec,_0x3bf45a);const _0x79274=0x12c,_0x146bdb=0x64,_0x48e595=()=>{let _0x28d68=[],_0x43cab8=!0x1;return _0x1e0ed2=>{_0x28d68['push'](_0x1e0ed2),_0x43cab8||(_0x43cab8=!0x0,setTimeout(()=>{const _0x2c8c3b=_0xd8ae;_0x28d68[_0x2c8c3b(0x1d4)](_0x407c4d=>_0x407c4d()),_0x28d68=[],_0x43cab8=!0x1;}));};};let _0x398910=class extends _0x187eaa['RxDisposable']{constructor(_0x33128a,_0x1b0928,_0xe6423b,_0x8ba86d,_0x3726ff,_0xe66b0,_0x301979,_0x6a95d1){const _0x2dc78e=_0x175e1d;super(),_0x3d2368(this,_0x2dc78e(0x2e4),!0x1),_0x3d2368(this,'_init',!0x1),_0x3d2368(this,_0x2dc78e(0x2ad),new _0x12c3e7[(_0x2dc78e(0x35a))](new Map())),_0x3d2368(this,_0x2dc78e(0x1c0),this[_0x2dc78e(0x2ad)][_0x2dc78e(0x2e3)]()),_0x3d2368(this,_0x2dc78e(0x21b),new _0x12c3e7[(_0x2dc78e(0x35a))]([])),_0x3d2368(this,_0x2dc78e(0x3a8),this['_roomMembers$'][_0x2dc78e(0x273)](_0x12c3e7[_0x2dc78e(0x2f9)](_0x79274))),_0x3d2368(this,'_updateLocalCursor',_0x187eaa[_0x2dc78e(0x452)]((_0xd19ccc,_0x292c35)=>{const _0x3c8ace=_0x2dc78e,_0x21132c={'eventID':_0x5cbc46['CollaborationEvent'][_0x3c8ace(0x1e0)],'data':{'unitID':this[_0x3c8ace(0x345)],'memberID':this[_0x3c8ace(0x1f7)][_0x3c8ace(0x329)](),'selection':_0x18796c['serializeRangeWithSheet'](_0xd19ccc,_0x292c35['range'])}};this['_session'][_0x3c8ace(0x324)](_0x21132c,this[_0x3c8ace(0x345)]);},_0x146bdb)),(this[_0x2dc78e(0x345)]=_0x33128a,this['_session']=_0x1b0928,this['_injector']=_0xe6423b,this[_0x2dc78e(0x288)]=_0x8ba86d,this[_0x2dc78e(0x1ff)]=_0x3726ff,this[_0x2dc78e(0x286)]=_0xe66b0,this[_0x2dc78e(0x20b)]=_0x301979,this['_refRangeService']=_0x6a95d1);}get[_0x175e1d(0x333)](){const _0x2de7a6=_0x175e1d;return this[_0x2de7a6(0x2ad)][_0x2de7a6(0x2e8)]();}get[_0x175e1d(0x235)](){const _0x38af1c=_0x175e1d;return this['_roomMembers$'][_0x38af1c(0x2e8)]();}[_0x175e1d(0x279)](){const _0x56c06b=_0x175e1d;super['dispose'](),this[_0x56c06b(0x2ad)][_0x56c06b(0x1c9)](new Map()),this['_cursorInfo$'][_0x56c06b(0x3ce)](),this[_0x56c06b(0x21b)][_0x56c06b(0x1c9)]([]),this[_0x56c06b(0x21b)][_0x56c06b(0x3ce)]();}[_0x175e1d(0x23c)](){const _0x5c9e46=_0x175e1d;this['_init']||(this[_0x5c9e46(0x1b9)]=!0x0,this[_0x5c9e46(0x1f7)][_0x5c9e46(0x2c2)]['pipe'](_0x12c3e7['takeUntil'](this[_0x5c9e46(0x264)]))[_0x5c9e46(0x405)](_0x46df28=>{const _0x544bfc=_0x5c9e46;_0x46df28===_0xd5bbf8[_0x544bfc(0x351)][_0x544bfc(0x3d4)]?this[_0x544bfc(0x3a2)]():this[_0x544bfc(0x39c)]();}),this[_0x5c9e46(0x1f7)][_0x5c9e46(0x36e)][_0x5c9e46(0x273)](_0x12c3e7['takeUntil'](this[_0x5c9e46(0x264)]))[_0x5c9e46(0x405)](_0x2896e5=>{const _0x8a72ef=_0x5c9e46,_0x48e8b9=_0x2896e5[_0x8a72ef(0x225)];_0x48e8b9===_0x5cbc46[_0x8a72ef(0x274)]['UPDATE_CURSOR']&&this[_0x8a72ef(0x355)](_0x2896e5),_0x48e8b9===_0x5cbc46[_0x8a72ef(0x274)]['USERS_LEAVE']&&this[_0x8a72ef(0x36c)](_0x2896e5);}),this[_0x5c9e46(0x3dd)](),this[_0x5c9e46(0x307)](this[_0x5c9e46(0x20b)][_0x5c9e46(0x38d)](_0x10ad85=>{const _0x270444=_0x5c9e46;if(this[_0x270444(0x2e4)]&&_0x10ad85['id']===_0x183de5[_0x270444(0x431)]['id']&&_0x10ad85['params']['unitId']===this[_0x270444(0x345)]){const _0x29a037=_0x10ad85['params'];this[_0x270444(0x469)](_0x29a037[_0x270444(0x1ba)],_0x29a037['selections'][0x0]);}})));}[_0x175e1d(0x355)](_0x86f4ee){const _0x271794=_0x175e1d;var _0x32d2c1,_0x334192;const {memberID:_0x17242a,selection:_0x48536d}=_0x86f4ee[_0x271794(0x37a)],{sheetName:_0x197d01,range:_0x26d234}=_0x18796c['deserializeRangeWithSheet'](_0x48536d),_0x27ac94={'name':(_0x334192=(_0x32d2c1=this[_0x271794(0x1ff)][_0x271794(0x45c)](this['unitID'],_0x17242a))==null?void 0x0:_0x32d2c1['name'])!=null?_0x334192:_0x271794(0x3c9),'range':this[_0x271794(0x378)](_0x197d01,_0x26d234),'sheetID':_0x197d01,'color':this[_0x271794(0x288)][_0x271794(0x2b5)](_0x17242a),'selection':_0x48536d},_0x4d4019=this['cursorInfo'];_0x4d4019[_0x271794(0x2ef)](_0x17242a,_0x27ac94),this['_cursorInfo$'][_0x271794(0x1c9)](_0x4d4019);}[_0x175e1d(0x36c)](_0x3a722b){const _0x2841f2=_0x175e1d,{memberID:_0x422948}=_0x3a722b[_0x2841f2(0x37a)],_0x302a5f=this[_0x2841f2(0x333)];_0x302a5f[_0x2841f2(0x2a2)](_0x422948),this[_0x2841f2(0x2ad)][_0x2841f2(0x1c9)](_0x302a5f);}['_getMergeRange'](_0x45df96,_0x198552){const _0x3bf783=_0x175e1d;var _0x631c02,_0x82e181;const _0x84b2d5=(_0x82e181=(_0x631c02=this[_0x3bf783(0x286)][_0x3bf783(0x3b0)](this['unitID']))==null?void 0x0:_0x631c02['getSheetBySheetId'](_0x45df96))==null?void 0x0:_0x82e181[_0x3bf783(0x272)]();return(_0x84b2d5==null?void 0x0:_0x84b2d5[_0x3bf783(0x1bf)](_0x5b75f3=>_0x187eaa[_0x3bf783(0x289)]['contains'](_0x5b75f3,_0x198552)))||_0x198552;}[_0x175e1d(0x3dd)](){const _0x13ef7c=_0x175e1d,_0x17847e=new _0x187eaa[(_0x13ef7c(0x2b9))](),_0x1591e8=_0x48e595(),_0x34566f=()=>{const _0x17a33b=_0x13ef7c;_0x17847e[_0x17a33b(0x279)]();const _0x324b7e=(_0x1b58ca,_0x13a798,_0x4f6343,_0x24170b)=>{const _0x1d172e=_0x17a33b;let _0x575a5a=[];switch(_0x1b58ca['id']){case _0x183de5['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x575a5a=_0x183de5['handleDeleteRangeMoveLeft'](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)]['DeleteRangeMoveUpCommandId']:{_0x575a5a=_0x183de5['handleDeleteRangeMoveUp'](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x399)]:{_0x575a5a=_0x183de5[_0x1d172e(0x473)](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x233)]:{_0x575a5a=_0x183de5[_0x1d172e(0x31f)](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x1ea)]:{_0x575a5a=_0x183de5['handleInsertRangeMoveRight'](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x3e1)]:{_0x575a5a=_0x183de5['handleInsertRow'](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x462)]:{_0x575a5a=_0x183de5[_0x1d172e(0x22f)](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)]['RemoveColCommandId']:{_0x575a5a=_0x183de5[_0x1d172e(0x32c)](_0x1b58ca,_0x24170b);break;}case _0x183de5[_0x1d172e(0x2d9)][_0x1d172e(0x22c)]:{_0x575a5a=_0x183de5['handleIRemoveRow'](_0x1b58ca,_0x24170b);break;}}const _0x2a3950=_0x183de5[_0x1d172e(0x1eb)](_0x575a5a,_0x24170b),_0x5039c3=this[_0x1d172e(0x333)]['get'](_0x13a798);if(_0x5039c3&&_0x2a3950){const _0xc532c8={..._0x5039c3,'range':_0x2a3950};this[_0x1d172e(0x333)]['set'](_0x13a798,_0xc532c8),_0x1591e8(()=>{const _0x2fc835=_0x1d172e,_0x18a7c6=this[_0x2fc835(0x3f3)]['registerRefRange'](_0x2a3950,_0x1f9064=>(_0x18a7c6[_0x2fc835(0x279)](),_0x324b7e(_0x1f9064,_0x13a798,_0x4f6343,_0x2a3950)));_0x17847e['add'](_0x18a7c6);});}return{'redos':[],'undos':[]};};this[_0x17a33b(0x333)][_0x17a33b(0x1d4)]((_0x2e7caf,_0xa2b343)=>{const _0x56a92e=_0x17a33b,{range:_0x31379a,sheetID:_0x5589a7}=_0x2e7caf,_0x464ad1=this[_0x56a92e(0x3f3)]['registerRefRange'](_0x31379a,_0x32b8b0=>(_0x464ad1[_0x56a92e(0x279)](),_0x324b7e(_0x32b8b0,_0xa2b343,_0x5589a7,_0x31379a)));_0x17847e[_0x56a92e(0x3e5)](_0x464ad1);});};this[_0x13ef7c(0x307)](_0x187eaa['toDisposable'](this[_0x13ef7c(0x2ad)][_0x13ef7c(0x405)](()=>{_0x34566f();})));}[_0x175e1d(0x3a2)](){const _0x35eee4=_0x175e1d;var _0x2df68e,_0xb3ec1b;if(this['_online']=!0x0,((_0x2df68e=this[_0x35eee4(0x286)][_0x35eee4(0x249)]())==null?void 0x0:_0x2df68e[_0x35eee4(0x3b5)]())!==this[_0x35eee4(0x345)])return;const _0x1960c3=(_0xb3ec1b=this[_0x35eee4(0x1c8)][_0x35eee4(0x37b)](_0x183de5[_0x35eee4(0x47c)])[_0x35eee4(0x3d8)]())==null?void 0x0:_0xb3ec1b[0x0],_0x118d0a=this[_0x35eee4(0x286)][_0x35eee4(0x1db)](_0x187eaa[_0x35eee4(0x23a)]['UNIVER_SHEET'])[_0x35eee4(0x25b)]();_0x1960c3&&_0x118d0a&&this[_0x35eee4(0x469)](_0x118d0a[_0x35eee4(0x344)](),_0x1960c3);}[_0x175e1d(0x39c)](){const _0x4480f6=_0x175e1d;this[_0x4480f6(0x2e4)]=!0x1;}};_0x398910=_0x2e7e3f([_0xcc02b3(0x2,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x349)])),_0xcc02b3(0x3,_0x187eaa[_0x175e1d(0x374)](_0x25c1b1)),_0xcc02b3(0x4,_0x187eaa[_0x175e1d(0x374)](_0xd5bbf8[_0x175e1d(0x442)])),_0xcc02b3(0x5,_0x187eaa[_0x175e1d(0x359)]),_0xcc02b3(0x6,_0x187eaa[_0x175e1d(0x2fd)]),_0xcc02b3(0x7,_0x187eaa[_0x175e1d(0x374)](_0x183de5[_0x175e1d(0x401)]))],_0x398910);var _0x5527d3=Object['getOwnPropertyDescriptor'],_0x14cf20=(_0x56807e,_0x258c49,_0x49a90c,_0x49e58b)=>{const _0x1a15e4=_0x175e1d;for(var _0x3337f5=_0x49e58b>0x1?void 0x0:_0x49e58b?_0x5527d3(_0x258c49,_0x49a90c):_0x258c49,_0x3f0973=_0x56807e[_0x1a15e4(0x2d7)]-0x1,_0x222b3e;_0x3f0973>=0x0;_0x3f0973--)(_0x222b3e=_0x56807e[_0x3f0973])&&(_0x3337f5=_0x222b3e(_0x3337f5)||_0x3337f5);return _0x3337f5;},_0x5e108b=(_0x9205de,_0x5e0fff)=>(_0x47385e,_0x3f1da7)=>_0x5e0fff(_0x47385e,_0x3f1da7,_0x9205de);let _0x250edb=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x3aedd7,_0x22f7f5,_0x5a9e4f){const _0x4db6e3=_0x175e1d;super(),_0x3d2368(this,_0x4db6e3(0x1e7),new Map()),_0x3d2368(this,_0x4db6e3(0x2b0),new _0x12c3e7[(_0x4db6e3(0x1f5))]()),(this[_0x4db6e3(0x286)]=_0x3aedd7,this[_0x4db6e3(0x1c8)]=_0x22f7f5,this['_collabSessionService']=_0x5a9e4f,this['_init']());}[_0x175e1d(0x279)](){const _0x48123b=_0x175e1d;super[_0x48123b(0x279)](),this[_0x48123b(0x2b0)][_0x48123b(0x3ce)](),this[_0x48123b(0x1e7)]['forEach'](_0x26769d=>_0x26769d['dispose']());}['getCollabCursors$'](_0x55054e){const _0xf85715=_0x175e1d;return this['_entities'][_0xf85715(0x2f5)](_0x55054e)?this[_0xf85715(0x1e7)][_0xf85715(0x37b)](_0x55054e)[_0xf85715(0x1c0)]:this[_0xf85715(0x2b0)][_0xf85715(0x273)](_0x12c3e7[_0xf85715(0x24b)](_0x2e32c4=>_0x2e32c4[_0xf85715(0x345)]===_0x55054e),_0x12c3e7[_0xf85715(0x1e9)](_0x46442a=>_0x46442a[_0xf85715(0x1c0)]));}[_0x175e1d(0x1b9)](){const _0xc0587d=_0x175e1d;this[_0xc0587d(0x286)][_0xc0587d(0x42e)](_0x187eaa[_0xc0587d(0x23a)][_0xc0587d(0x1be)])[_0xc0587d(0x273)](_0x12c3e7[_0xc0587d(0x2b7)](this[_0xc0587d(0x264)]))[_0xc0587d(0x405)](async _0x1c27d5=>{const _0x5c1b9d=_0xc0587d,_0xa653d5=_0x1c27d5['getUnitId'](),_0x45ed6d=await this['_startSheetCollabCursor'](_0xa653d5);this[_0x5c1b9d(0x2b0)]['next'](_0x45ed6d),this[_0x5c1b9d(0x1e7)][_0x5c1b9d(0x2ef)](_0xa653d5,_0x45ed6d);}),this[_0xc0587d(0x286)][_0xc0587d(0x42e)](_0x187eaa[_0xc0587d(0x23a)][_0xc0587d(0x20c)])[_0xc0587d(0x273)](_0x12c3e7[_0xc0587d(0x2b7)](this[_0xc0587d(0x264)]))[_0xc0587d(0x273)](_0x12c3e7[_0xc0587d(0x24b)](_0x4ff53d=>!_0x4ff53d[_0xc0587d(0x3b5)]()[_0xc0587d(0x3ad)]('__')))['subscribe'](async _0x5503a4=>{const _0x5cd555=_0xc0587d,_0x3f89a8=_0x5503a4['getUnitId'](),_0x3df108=await this[_0x5cd555(0x437)](_0x3f89a8);this[_0x5cd555(0x2b0)][_0x5cd555(0x1c9)](_0x3df108),this['_entities'][_0x5cd555(0x2ef)](_0x3f89a8,_0x3df108);}),_0x12c3e7[_0xc0587d(0x313)](this[_0xc0587d(0x286)][_0xc0587d(0x3ff)](_0x187eaa['UniverInstanceType']['UNIVER_DOC']),this['_univerInstanceService'][_0xc0587d(0x3ff)](_0x187eaa['UniverInstanceType'][_0xc0587d(0x1be)]))[_0xc0587d(0x273)](_0x12c3e7['takeUntil'](this[_0xc0587d(0x264)]))[_0xc0587d(0x405)](_0x41a7d7=>{const _0x200943=_0xc0587d,_0x36b2f0=_0x41a7d7[_0x200943(0x3b5)](),_0x5cfd2e=this['_entities'][_0x200943(0x37b)](_0x36b2f0);_0x5cfd2e&&(_0x5cfd2e[_0x200943(0x279)](),this[_0x200943(0x1e7)]['delete'](_0x36b2f0));});}async['_startSheetCollabCursor'](_0x2b9bba){const _0x5c5ff1=_0x175e1d,_0x4ffb54=await this[_0x5c5ff1(0x36a)][_0x5c5ff1(0x3d2)](_0x2b9bba),_0x31520c=this['_injector']['createInstance'](_0x398910,_0x2b9bba,_0x4ffb54);return _0x31520c[_0x5c5ff1(0x23c)](),_0x31520c;}async['_startDocCollabCursor'](_0x6e94c4){const _0x39dd4a=_0x175e1d,_0x4c6dae=await this[_0x39dd4a(0x36a)]['requireSession'](_0x6e94c4),_0x5786eb=this[_0x39dd4a(0x1c8)]['createInstance'](_0x4d9eea,_0x6e94c4,_0x4c6dae);return _0x5786eb['init'](),_0x5786eb;}};_0x250edb=_0x14cf20([_0x5e108b(0x0,_0x187eaa[_0x175e1d(0x359)]),_0x5e108b(0x1,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x349)])),_0x5e108b(0x2,_0x187eaa['Inject'](_0xd5bbf8[_0x175e1d(0x227)]))],_0x250edb);const _0x465b4b=0x14,_0x415d9d=0xc8,_0x25920f=0x4,_0x237558=0x5;function _0x2ed65f(_0x25cbbd,_0x549fa2){const _0x521691=_0x175e1d;let {radius:_0x1ce5f7,width:_0x520cae,height:_0x2b6b41}=_0x549fa2;_0x1ce5f7=_0x1ce5f7!=null?_0x1ce5f7:0x0,_0x520cae=_0x520cae!=null?_0x520cae:0x1e,_0x2b6b41=_0x2b6b41!=null?_0x2b6b41:0x1e;let _0x43098=0x0,_0x525455=0x0,_0x300950=0x0;_0x43098=_0x525455=_0x300950=Math[_0x521691(0x3de)](_0x1ce5f7,_0x520cae/0x2,_0x2b6b41/0x2),_0x25cbbd['beginPath'](),_0x25cbbd[_0x521691(0x260)](_0x43098,0x0),_0x25cbbd['lineTo'](_0x520cae-_0x525455,0x0),_0x25cbbd[_0x521691(0x38f)](_0x520cae-_0x525455,_0x525455,_0x525455,Math['PI']*0x3/0x2,0x0,!0x1),_0x25cbbd[_0x521691(0x3c6)](_0x520cae,_0x2b6b41-_0x300950),_0x25cbbd[_0x521691(0x38f)](_0x520cae-_0x300950,_0x2b6b41-_0x300950,_0x300950,0x0,Math['PI']/0x2,!0x1),_0x25cbbd[_0x521691(0x3c6)](0x0,_0x2b6b41),_0x25cbbd[_0x521691(0x3c6)](0x0,_0x43098),_0x25cbbd[_0x521691(0x38f)](_0x43098,_0x43098,_0x43098,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x25cbbd['closePath'](),_0x549fa2['fill']&&(_0x25cbbd[_0x521691(0x3da)](),_0x25cbbd[_0x521691(0x1c4)]=_0x549fa2[_0x521691(0x3c2)],_0x549fa2[_0x521691(0x1cf)]===_0x521691(0x1ae)?_0x25cbbd[_0x521691(0x3c2)](_0x521691(0x1ae)):_0x25cbbd[_0x521691(0x3c2)](),_0x25cbbd[_0x521691(0x461)]());}class _0xf3893a extends _0x34e554[_0x175e1d(0x36d)]{constructor(_0x33fc87,_0x240496){const _0x5a70ad=_0x175e1d;super(_0x33fc87,_0x240496),_0x3d2368(this,_0x5a70ad(0x20a)),_0x3d2368(this,_0x5a70ad(0x2e6)),(this['color']=_0x240496==null?void 0x0:_0x240496[_0x5a70ad(0x20a)],this[_0x5a70ad(0x2e6)]=_0x240496==null?void 0x0:_0x240496['text']);}static[_0x175e1d(0x1c1)](_0x244060,_0x54c48f){const _0x5b5f8c=_0x175e1d,{text:_0x4a69d8,color:_0x1aa7c0}=_0x54c48f;_0x244060[_0x5b5f8c(0x3da)](),_0x244060[_0x5b5f8c(0x295)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3589be=_0x244060[_0x5b5f8c(0x1b6)](_0x4a69d8)['width'],_0x46fdde=Math['min'](_0x3589be+0x2*_0x25920f,_0x415d9d);_0x2ed65f(_0x244060,{'height':_0x465b4b,'radius':0x4,'width':_0x46fdde,'fill':_0x1aa7c0}),_0x244060['fillStyle']=_0x5b5f8c(0x3e0);const _0xb9b529=_0x25920f,_0x85628d=_0x465b4b-_0x237558,_0x6ea185=_0x415d9d-0x2*_0x25920f;if(_0x3589be>_0x6ea185){let _0xaeebaa='',_0x10cb7f=0x0;for(const _0x5001be of _0x4a69d8){const _0xb0ca36=_0x244060[_0x5b5f8c(0x1b6)](_0x5001be)[_0x5b5f8c(0x1ee)];if(_0x10cb7f+_0xb0ca36<=_0x6ea185-_0x244060[_0x5b5f8c(0x1b6)](_0x5b5f8c(0x36f))[_0x5b5f8c(0x1ee)])_0xaeebaa+=_0x5001be,_0x10cb7f+=_0xb0ca36;else{_0xaeebaa+='...';break;}}_0x244060[_0x5b5f8c(0x476)](_0xaeebaa,_0xb9b529,_0x85628d);}else _0x244060[_0x5b5f8c(0x476)](_0x4a69d8,_0xb9b529,_0x85628d);_0x244060[_0x5b5f8c(0x461)]();}[_0x175e1d(0x392)](_0xadec81){const _0x4fb03e=_0x175e1d;_0xf3893a[_0x4fb03e(0x1c1)](_0xadec81,this);}}const _0x1f915c='collab-text-anchor-',_0xb71169=_0x175e1d(0x201),_0x2b4246=_0x175e1d(0x3c5),_0x48d96c=0x6,_0x3b70f0=1.5,_0x3be362=0x4,_0x221b83=1.5,_0x565734=_0x175e1d(0x3ed);class _0x5e46c8{constructor(_0x3c5f06,_0x76f07a,_0x929968,_0x2a1ba8){const _0x42d8f7=_0x175e1d;_0x3d2368(this,_0x42d8f7(0x44f),[]),_0x3d2368(this,_0x42d8f7(0x284),null),_0x3d2368(this,_0x42d8f7(0x33c),null),_0x3d2368(this,'_anchorDot',null),_0x3d2368(this,_0x42d8f7(0x2c0),null),_0x3d2368(this,'_eventUnsubscribe',null),(this[_0x42d8f7(0x2f1)]=_0x3c5f06,this[_0x42d8f7(0x222)]=_0x76f07a,this[_0x42d8f7(0x1bd)]=_0x929968,this[_0x42d8f7(0x2cd)]=_0x2a1ba8,this[_0x42d8f7(0x415)]());}set[_0x175e1d(0x214)](_0x15ecb6){const _0x1b725b=_0x175e1d;_0x15ecb6?(this['_anchorDot']&&this[_0x1b725b(0x1d0)][_0x1b725b(0x334)](),this[_0x1b725b(0x33c)]&&this[_0x1b725b(0x33c)][_0x1b725b(0x255)]()):(this[_0x1b725b(0x1d0)]&&this['_anchorDot'][_0x1b725b(0x255)](),this[_0x1b725b(0x33c)]&&this['_textBubble'][_0x1b725b(0x334)]());}[_0x175e1d(0x279)](){const _0x4606b5=_0x175e1d;for(const _0x7a6b3d of this[_0x4606b5(0x44f)])_0x7a6b3d[_0x4606b5(0x279)]();this[_0x4606b5(0x33c)]&&this[_0x4606b5(0x33c)][_0x4606b5(0x279)](),this['_anchorDot']&&this[_0x4606b5(0x1d0)][_0x4606b5(0x279)](),this[_0x4606b5(0x284)]&&this[_0x4606b5(0x284)][_0x4606b5(0x279)](),this[_0x4606b5(0x2d2)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3f6817=_0x175e1d;var _0x5efe52;const {_docSkeleton:_0x267422,_document:_0x5b83e5}=this,{color:_0x3f6459,name:_0x2b8c3c,ranges:_0x4e2a01}=this[_0x3f6817(0x2f1)],_0x13abe0=_0x5b83e5[_0x3f6817(0x42b)](),{docsLeft:_0x159903,docsTop:_0x5c201c}=_0x13abe0,_0x2f5e2f=new _0x4019f2[(_0x3f6817(0x1d8))](_0x13abe0,_0x267422);for(const {startOffset:_0x5cce8a,endOffset:_0x4cfc8e,rangeType:_0x2b104b,segmentId:_0x6a700b,segmentPage:_0x46059c,collapsed:_0x3db7fd,isActive:_0x3adb2f}of _0x4e2a01){const _0x4ea127=_0x267422[_0x3f6817(0x223)](_0x5cce8a,!0x0,_0x6a700b,_0x46059c);let _0x9b08a5=_0x267422['findNodePositionByCharIndex'](_0x4cfc8e,!0x0,_0x6a700b,_0x46059c);if(_0x9b08a5==null&&(_0x9b08a5=_0x267422[_0x3f6817(0x223)](_0x4cfc8e-0x1,!0x1,_0x6a700b,_0x46059c)),_0x3adb2f){const {contentBoxPointGroup:_0x12eb7d}=_0x2f5e2f['getRangePointData'](_0x9b08a5,_0x9b08a5);if(_0x12eb7d[_0x3f6817(0x2d7)]===0x0)continue;this[_0x3f6817(0x439)](_0x3f6459,_0x12eb7d,_0x159903,_0x5c201c,_0x2b8c3c),this[_0x3f6817(0x2d2)]=this[_0x3f6817(0x3c7)]();}if(_0x4ea127&&_0x9b08a5){if(_0x2b104b===_0x187eaa[_0x3f6817(0x1aa)]['RECT']){const _0x5334d0=new _0x4019f2[(_0x3f6817(0x3cf))](_0x13abe0,_0x267422),{pointGroup:_0x384f78}=(_0x5efe52=_0x5334d0[_0x3f6817(0x361)](_0x4ea127,_0x9b08a5))!=null?_0x5efe52:{};if(_0x384f78==null||_0x384f78[_0x3f6817(0x2d7)]===0x0)continue;this[_0x3f6817(0x338)](_0x3f6459,_0x384f78,_0x159903,_0x5c201c);}else{if(!_0x3db7fd){const {borderBoxPointGroup:_0x1f23a7}=_0x2f5e2f['getRangePointData'](_0x4ea127,_0x9b08a5);if(_0x1f23a7[_0x3f6817(0x2d7)]===0x0)continue;this['_drawTextRange'](_0x3f6459,_0x1f23a7,_0x159903,_0x5c201c);}}}}}[_0x175e1d(0x439)](_0x24d5b9,_0x39a9df,_0x5399e8,_0x52d464,_0x35a398){const _0xacd7ca=_0x175e1d,_0x30a79d=this['_getAnchorBounding'](_0x39a9df),{left:_0x3657e2,top:_0x1c8e8e,height:_0x10f96f}=_0x30a79d,_0xf43f43=this[_0xacd7ca(0x348)](),_0x3eaef2=_0x221b83/_0xf43f43,_0x25a11a=new _0x34e554[(_0xacd7ca(0x33d))](_0x1f915c+_0x187eaa['generateRandomId'](_0x48d96c),{'left':_0x3657e2+_0x5399e8-_0x3eaef2,'top':_0x1c8e8e+_0x52d464,'height':_0x10f96f,'width':_0x3b70f0,'fill':_0x24d5b9||_0x34e554[_0xacd7ca(0x3d9)](_0x187eaa[_0xacd7ca(0x336)][_0xacd7ca(0x339)],0x0),'strokeWidth':_0x3eaef2,'stroke':_0x565734,'evented':!0x0});this[_0xacd7ca(0x284)]=_0x25a11a,this['_scene'][_0xacd7ca(0x411)](_0x25a11a,_0x4019f2[_0xacd7ca(0x444)]);const _0x548b8f=new _0x34e554[(_0xacd7ca(0x33d))](_0x1f915c+_0x187eaa[_0xacd7ca(0x248)](_0x48d96c),{'left':_0x3657e2+_0x5399e8-_0x3eaef2,'top':_0x1c8e8e+_0x52d464-_0x3be362/0x2,'height':_0x3be362,'width':_0x3be362,'fill':_0x24d5b9||_0x34e554[_0xacd7ca(0x3d9)](_0x187eaa[_0xacd7ca(0x336)][_0xacd7ca(0x339)],0x0),'strokeWidth':0x0,'stroke':_0x24d5b9||_0x34e554['getColor'](_0x187eaa[_0xacd7ca(0x336)][_0xacd7ca(0x339)],0x0),'evented':!0x1});this[_0xacd7ca(0x1d0)]=_0x548b8f,this[_0xacd7ca(0x222)][_0xacd7ca(0x411)](_0x548b8f,_0x4019f2[_0xacd7ca(0x444)]);const _0x42c9c5=new _0xf3893a(_0x1f915c+_0x187eaa[_0xacd7ca(0x248)](_0x48d96c),{'left':_0x3657e2+_0x5399e8-_0x3eaef2,'top':_0x1c8e8e+_0x52d464-_0x465b4b,'text':_0x35a398,'color':_0x24d5b9});this[_0xacd7ca(0x33c)]=_0x42c9c5,this[_0xacd7ca(0x222)]['addObject'](_0x42c9c5,_0x4019f2[_0xacd7ca(0x444)]),this[_0xacd7ca(0x214)]=!0x1;}[_0x175e1d(0x3c7)](){const _0x207db0=_0x175e1d,_0x59a039=this['_anchor'][_0x207db0(0x1bb)][_0x207db0(0x475)](()=>{const _0x5d216a=_0x207db0;this[_0x5d216a(0x214)]=!0x0;}),_0x53a74b=this[_0x207db0(0x284)][_0x207db0(0x327)][_0x207db0(0x475)](()=>{const _0x577bc3=_0x207db0;this[_0x577bc3(0x2c0)]&&clearTimeout(this[_0x577bc3(0x2c0)]),this['_hideTimer']=setTimeout(()=>{const _0x1fad67=_0x577bc3;this[_0x1fad67(0x214)]=!0x1;},0x7d0);});return()=>{const _0x31009d=_0x207db0;_0x59a039['unsubscribe'](),_0x53a74b[_0x31009d(0x426)]();};}['_drawTextRange'](_0x5d17e1,_0x49c153,_0x1fbc69,_0x10aace){const _0x128761=_0x175e1d,_0x1c2321=new _0x187eaa[(_0x128761(0x386))](_0x5d17e1)['setAlpha'](0.2)[_0x128761(0x3c0)](),_0x11f970=new _0x34e554[(_0x128761(0x1fd))](_0xb71169+_0x187eaa[_0x128761(0x248)](_0x48d96c),{'pointsGroup':_0x49c153,'fill':_0x1c2321||_0x34e554[_0x128761(0x3d9)](_0x187eaa['COLORS'][_0x128761(0x339)],0.2),'left':_0x1fbc69,'top':_0x10aace,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x128761(0x44f)][_0x128761(0x1da)](_0x11f970),this[_0x128761(0x222)][_0x128761(0x411)](_0x11f970,_0x4019f2[_0x128761(0x444)]);}[_0x175e1d(0x338)](_0xe56738,_0x192944,_0x2e914d,_0x20f25e){const _0x439bf3=_0x175e1d,_0x4a215e=new _0x187eaa[(_0x439bf3(0x386))](_0xe56738)[_0x439bf3(0x2e9)](0.2)[_0x439bf3(0x3c0)](),_0x51657a=new _0x34e554['RegularPolygon'](_0x2b4246+_0x187eaa[_0x439bf3(0x248)](_0x48d96c),{'pointsGroup':_0x192944,'fill':_0x4a215e||_0x34e554[_0x439bf3(0x3d9)](_0x187eaa[_0x439bf3(0x336)][_0x439bf3(0x339)],0.2),'left':_0x2e914d,'top':_0x20f25e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x439bf3(0x44f)][_0x439bf3(0x1da)](_0x51657a),this[_0x439bf3(0x222)][_0x439bf3(0x411)](_0x51657a,_0x4019f2['TEXT_RANGE_LAYER_INDEX']);}[_0x175e1d(0x311)](_0x43c38b){const _0x3a8e70=_0x43c38b[0x0],_0x452a5d=_0x3a8e70[0x0],_0x395af7=_0x3a8e70[0x2],{x:_0x20ea21,y:_0x57ef8c}=_0x452a5d,{x:_0x1499c7,y:_0x49e086}=_0x395af7;return{'left':_0x20ea21,'top':_0x57ef8c,'width':_0x1499c7-_0x20ea21,'height':_0x49e086-_0x57ef8c};}['_getScale'](){const _0x222b9d=_0x175e1d,{scaleX:_0x2d1855,scaleY:_0x2b3935}=this[_0x222b9d(0x222)][_0x222b9d(0x3fa)]();return Math[_0x222b9d(0x440)](_0x2d1855,_0x2b3935);}}var _0x19ef9c=Object[_0x175e1d(0x302)],_0x223186=(_0x128678,_0x3ba6fe,_0x49f886,_0x363ae6)=>{const _0x3b672f=_0x175e1d;for(var _0x41d29a=_0x363ae6>0x1?void 0x0:_0x363ae6?_0x19ef9c(_0x3ba6fe,_0x49f886):_0x3ba6fe,_0x58f915=_0x128678[_0x3b672f(0x2d7)]-0x1,_0x33296a;_0x58f915>=0x0;_0x58f915--)(_0x33296a=_0x128678[_0x58f915])&&(_0x41d29a=_0x33296a(_0x41d29a)||_0x41d29a);return _0x41d29a;},_0x4c868c=(_0x3160dd,_0x11dbee)=>(_0x14e078,_0x19dab8)=>_0x11dbee(_0x14e078,_0x19dab8,_0x3160dd);let _0x3d4348=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x1d760d,_0x17f5de,_0x34265c,_0x4ccb0d,_0x3ca73a){const _0xe8101a=_0x175e1d;super(),_0x3d2368(this,_0xe8101a(0x417),[]),_0x3d2368(this,'_cursors',[]),(this[_0xe8101a(0x24a)]=_0x1d760d,this[_0xe8101a(0x3f9)]=_0x17f5de,this['_collabCursorController']=_0x34265c,this['_commandService']=_0x4ccb0d,this[_0xe8101a(0x3b4)]=_0x3ca73a,this[_0xe8101a(0x1b9)]());}['_init'](){const _0x40d49c=_0x175e1d,_0x25c01f=this[_0x40d49c(0x24a)][_0x40d49c(0x38e)],_0x13b637=this[_0x40d49c(0x3f9)];this[_0x40d49c(0x307)](_0x12c3e7['combineLatest']([this['_collabCursorController'][_0x40d49c(0x2e7)](_0x25c01f),this[_0x40d49c(0x3b4)]['currentTheme$']])['pipe'](_0x2f0f6d[_0x40d49c(0x38c)](([_0xbbab56,_0xcc1c3a])=>({'skeleton':_0x13b637[_0x40d49c(0x3d7)](),'cursors':[..._0xbbab56[_0x40d49c(0x35c)]()][_0x40d49c(0x364)](_0x294fa5=>({..._0x294fa5,'color':this['_themeService'][_0x40d49c(0x1d7)](_0x294fa5['color'])}))})))['subscribe'](_0x581827=>{const _0x1d06fe=_0x40d49c;if(this[_0x1d06fe(0x3bc)](),_0x581827){const {skeleton:_0x3fdd5e,cursors:_0x4680a7}=_0x581827;this[_0x1d06fe(0x22a)](_0x3fdd5e,_0x4680a7);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x359ae2,_0x3bde6f){const _0x15e30f=_0x175e1d,{scene:_0x273572,mainComponent:_0x32d18d}=this[_0x15e30f(0x24a)],_0x346ffd=_0x3bde6f[_0x15e30f(0x38c)](_0x36321f=>new _0x5e46c8(_0x36321f,_0x273572,_0x359ae2,_0x32d18d));this[_0x15e30f(0x417)]=_0x346ffd,this[_0x15e30f(0x242)]=_0x3bde6f;}['_refreshCollabCursors'](){const _0x32df77=_0x175e1d;this[_0x32df77(0x3bc)]();const {scene:_0x521388,mainComponent:_0x47ca78}=this[_0x32df77(0x24a)],_0x4b3cd6=this['_docSkeletonManagerService'][_0x32df77(0x3d7)](),_0x526240=this[_0x32df77(0x242)][_0x32df77(0x38c)](_0x2e0c93=>new _0x5e46c8(_0x2e0c93,_0x521388,_0x4b3cd6,_0x47ca78));this['_cursorShapes']=_0x526240;}['_removeCollabCursors'](){const _0x55f2a5=_0x175e1d;this[_0x55f2a5(0x417)][_0x55f2a5(0x1d4)](_0x5be575=>_0x5be575[_0x55f2a5(0x279)]()),this[_0x55f2a5(0x417)]=[];}['_initCommandExecutedListener'](){const _0xae6942=_0x175e1d,_0x297e35=[_0x4019f2['SetDocZoomRatioOperation']['id']];this[_0xae6942(0x307)](this[_0xae6942(0x20b)][_0xae6942(0x38d)](_0xcbb18=>{const _0x5e5c2c=_0xae6942;_0x297e35[_0x5e5c2c(0x400)](_0xcbb18['id'])&&_0xcbb18[_0x5e5c2c(0x44d)][_0x5e5c2c(0x38e)]===this['_context']['unitId']&&this[_0x5e5c2c(0x2d4)]();}));}[_0x175e1d(0x3b8)](){const _0x199ba0=_0x175e1d;this[_0x199ba0(0x307)](_0x187eaa[_0x199ba0(0x375)](this[_0x199ba0(0x24a)][_0x199ba0(0x446)][_0x199ba0(0x23e)])[_0x199ba0(0x273)](_0x2f0f6d[_0x199ba0(0x24b)](_0x4b3cb3=>_0x4b3cb3[_0x199ba0(0x3f4)]===_0x34e554[_0x199ba0(0x2fb)]['resize']),_0x2f0f6d[_0x199ba0(0x23b)](0x10))['subscribe'](()=>{const _0x5a7fdb=_0x199ba0;this[_0x5a7fdb(0x2d4)]();}));}};_0x3d4348=_0x223186([_0x4c868c(0x1,_0x187eaa[_0x175e1d(0x374)](_0x4149e2[_0x175e1d(0x2d6)])),_0x4c868c(0x2,_0x187eaa['Inject'](_0x250edb)),_0x4c868c(0x3,_0x187eaa[_0x175e1d(0x2fd)]),_0x4c868c(0x4,_0x187eaa['Inject'](_0x187eaa[_0x175e1d(0x1fc)]))],_0x3d4348);const _0x2b2063=0x1,_0x21e8da=1.5;class _0x5c6aab extends _0x34e554['Shape']{constructor(_0x5eb41a,_0x591b6e){const _0x5bfedf=_0x175e1d;super(_0x5eb41a,_0x591b6e),_0x3d2368(this,_0x5bfedf(0x213)),_0x3d2368(this,'_hovered',!0x1),_0x3d2368(this,'_range'),_0x3d2368(this,_0x5bfedf(0x2ed),''),_0x3d2368(this,_0x5bfedf(0x427),_0x5bfedf(0x236)),_0x3d2368(this,_0x5bfedf(0x28c)),(_0x591b6e&&this[_0x5bfedf(0x2f0)](_0x591b6e),this[_0x5bfedf(0x1bb)][_0x5bfedf(0x475)](()=>this[_0x5bfedf(0x2f0)]({'hovered':!0x0})),this[_0x5bfedf(0x327)][_0x5bfedf(0x475)](()=>this[_0x5bfedf(0x2f0)]({'hovered':!0x1})));}[_0x175e1d(0x2f0)](_0x5a0a39){const _0x388374=_0x175e1d;var _0x1dfe38,_0x1d9aa4,_0x4a8ea7,_0x1b64a4,_0x1c0497,_0x580c95;this['_color']=(_0x1dfe38=_0x5a0a39[_0x388374(0x20a)])!=null?_0x1dfe38:this['_color'],this[_0x388374(0x40b)]=(_0x1d9aa4=_0x5a0a39[_0x388374(0x371)])!=null?_0x1d9aa4:this[_0x388374(0x40b)],this[_0x388374(0x30e)]=(_0x4a8ea7=_0x5a0a39[_0x388374(0x436)])!=null?_0x4a8ea7:this[_0x388374(0x30e)],this[_0x388374(0x2ed)]=(_0x1b64a4=_0x5a0a39['name'])!=null?_0x1b64a4:this[_0x388374(0x2ed)],this[_0x388374(0x427)]=(_0x1c0497=_0x5a0a39[_0x388374(0x398)])!=null?_0x1c0497:this[_0x388374(0x427)],this[_0x388374(0x28c)]=(_0x580c95=_0x5a0a39[_0x388374(0x1fe)])!=null?_0x580c95:this[_0x388374(0x28c)],this[_0x388374(0x280)]({'width':_0x5a0a39[_0x388374(0x1ee)],'height':_0x5a0a39['height']});}[_0x175e1d(0x1d6)](_0x1b1063){const _0x12138c=_0x175e1d,{row:_0x17da07,column:_0x8af9f6}=_0x1b1063;if(_0x17da07>=this['_range'][_0x12138c(0x301)]&&_0x17da07<=this[_0x12138c(0x30e)][_0x12138c(0x2c3)]&&_0x8af9f6>=this[_0x12138c(0x30e)][_0x12138c(0x27d)]&&_0x8af9f6<=this[_0x12138c(0x30e)][_0x12138c(0x2cf)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x12138c(0x2f0)]({'hovered':!0x1});}[_0x175e1d(0x3a9)](_0x3f4627){return!0x1;}[_0x175e1d(0x392)](_0x306a9a){const _0x30c667=_0x175e1d;_0x34e554['Rect'][_0x30c667(0x1c1)](_0x306a9a,{'width':this[_0x30c667(0x1ee)],'height':this[_0x30c667(0x428)],'strokeWidth':_0x21e8da,'stroke':this[_0x30c667(0x213)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x30c667(0x40b)]&&(_0x306a9a[_0x30c667(0x3da)](),_0x306a9a[_0x30c667(0x43d)](0x1,0x0,0x0,0x1,this[_0x30c667(0x1ee)],this[_0x30c667(0x427)]===_0x30c667(0x3b7)?0x0:-_0x465b4b),_0xf3893a[_0x30c667(0x1c1)](_0x306a9a,{'text':this[_0x30c667(0x2ed)],'color':this[_0x30c667(0x213)]}),_0x306a9a[_0x30c667(0x461)]());}}var _0x5866a=Object[_0x175e1d(0x302)],_0x13f983=(_0x2d5a96,_0x1a3834,_0x387de9,_0x4aa5f7)=>{const _0x5e5fb5=_0x175e1d;for(var _0x8c363e=_0x4aa5f7>0x1?void 0x0:_0x4aa5f7?_0x5866a(_0x1a3834,_0x387de9):_0x1a3834,_0x24732e=_0x2d5a96[_0x5e5fb5(0x2d7)]-0x1,_0x4b2de3;_0x24732e>=0x0;_0x24732e--)(_0x4b2de3=_0x2d5a96[_0x24732e])&&(_0x8c363e=_0x4b2de3(_0x8c363e)||_0x8c363e);return _0x8c363e;},_0x523dd6=(_0x3fc29,_0x28157e)=>(_0x492add,_0x4a4ab8)=>_0x28157e(_0x492add,_0x4a4ab8,_0x3fc29);const _0x4a7cc5=0x1389;let _0x34f5aa=class extends _0x187eaa[_0x175e1d(0x387)]{constructor(_0x531613,_0x1dca90,_0x3b9aac,_0x542f2b){const _0x253c17=_0x175e1d;super(),_0x3d2368(this,_0x253c17(0x242),new Set()),_0x3d2368(this,_0x253c17(0x41b),null),(this[_0x253c17(0x24a)]=_0x531613,this[_0x253c17(0x1e2)]=_0x1dca90,this['_collabCursorController']=_0x3b9aac,this[_0x253c17(0x3b4)]=_0x542f2b,this[_0x253c17(0x1b9)]());}[_0x175e1d(0x1b9)](){const _0x4f4c06=_0x175e1d;this['_sheetSkeletonManagerService'][_0x4f4c06(0x389)][_0x4f4c06(0x273)](_0x2f0f6d['takeUntil'](this['dispose$']),_0x2f0f6d[_0x4f4c06(0x1e9)](_0x3e8d73=>{const _0x459a9f=_0x4f4c06;if(_0x3e8d73){const _0x47fbca=_0x3e8d73[_0x459a9f(0x27f)];return _0x12c3e7[_0x459a9f(0x372)](this[_0x459a9f(0x257)]['getCollabCursors$'](this[_0x459a9f(0x24a)][_0x459a9f(0x38e)]),this[_0x459a9f(0x3b4)][_0x459a9f(0x21d)])['pipe'](_0x2f0f6d['map'](([_0x582239,_0x588be3])=>{const _0x91215b=_0x459a9f,_0x10c58c=new Map();return _0x582239[_0x91215b(0x1d4)]((_0x2fafea,_0x80a027)=>{const _0x14ed85=_0x91215b;if(_0x2fafea['sheetID']===_0x47fbca){const _0x466b35={..._0x2fafea};_0x466b35[_0x14ed85(0x20a)]=this[_0x14ed85(0x3b4)][_0x14ed85(0x1d7)](_0x2fafea[_0x14ed85(0x20a)]),_0x10c58c[_0x14ed85(0x2ef)](_0x80a027,_0x466b35);}}),{'skeleton':_0x3e8d73,'cursors':_0x10c58c};}));}return _0x12c3e7['of']({'skeleton':null,'cursors':new Map()});}))[_0x4f4c06(0x405)](({skeleton:_0x2754af,cursors:_0xfa3bc8})=>{const _0x1f46c5=_0x4f4c06;this[_0x1f46c5(0x3bc)](),_0x2754af&&this[_0x1f46c5(0x22a)](_0x2754af,_0xfa3bc8);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4f4c06(0x405)](_0x278cf5=>{if(_0x278cf5==null)return;const {skeleton:_0x544f0d}=_0x278cf5,{scene:_0x57c1b}=this['_context'];_0x57c1b['onPointerMove$']['subscribeEvent'](_0x187eaa['debounce'](_0x4f99b1=>{const _0x231344=_0xd8ae;var _0x4327f1,_0x3a43bf;const {offsetX:_0x619022,offsetY:_0x132411}=_0x4f99b1,{x:_0x325aba,y:_0x912c1b}=_0x57c1b[_0x231344(0x22b)](_0x34e554[_0x231344(0x35d)][_0x231344(0x238)]([_0x619022,_0x132411])),{scaleX:_0x53cd1a,scaleY:_0x23f59f}=_0x57c1b[_0x231344(0x3fa)](),_0x1e3c12=_0x57c1b[_0x231344(0x210)](_0x34e554[_0x231344(0x25c)][_0x231344(0x464)]),_0x1f2df7=_0x57c1b[_0x231344(0x1f2)](_0x34e554[_0x231344(0x35d)]['FromArray']([_0x325aba,_0x912c1b]),_0x1e3c12),_0x1e5647=_0x544f0d[_0x231344(0x262)](_0x619022,_0x132411,_0x53cd1a,_0x23f59f,_0x1f2df7);((_0x4327f1=this['_lastPointer'])==null?void 0x0:_0x4327f1[_0x231344(0x3f7)])===_0x1e5647['column']&&((_0x3a43bf=this['_lastPointer'])==null?void 0x0:_0x3a43bf[_0x231344(0x1b5)])===_0x1e5647[_0x231344(0x1b5)]||this['_cursors'][_0x231344(0x1d4)](_0x576267=>{_0x576267['onMouseMove'](_0x1e5647);});},0x64));});}[_0x175e1d(0x22a)](_0x50afff,_0x3c66f3){const _0x32fd2f=_0x175e1d;var _0x575818;const _0x36bbc4=(_0x575818=this[_0x32fd2f(0x1e2)]['getCurrent']())==null?void 0x0:_0x575818[_0x32fd2f(0x290)];if(!_0x36bbc4)return;const _0x2ec40e=this['_getSheetObject']();if(!_0x2ec40e)return;this[_0x32fd2f(0x242)]['forEach'](_0x41d652=>{const _0x632dec=_0x32fd2f;_0x41d652[_0x632dec(0x292)]();});const {scene:_0x5a6747}=_0x2ec40e,_0x2f1897=_0x3c3bfe(Array[_0x32fd2f(0x320)](_0x3c66f3[_0x32fd2f(0x35c)]()))[_0x32fd2f(0x38c)](_0x1e3e22=>{const _0x3f6d36=_0x32fd2f,{color:_0x19059c,range:_0x45e541,name:_0x2a5dc1,selection:_0x16c5b6,sheetID:_0x18c349}=_0x1e3e22,{startColumn:_0x14ecfe,startRow:_0x4054af,endColumn:_0x4e7a84,endRow:_0x228e63}=_0x45e541,_0x2315dd=_0x466080['getCoordByCell'](_0x4054af,_0x14ecfe,_0x5a6747,_0x36bbc4),_0xba29a5=_0x466080[_0x3f6d36(0x207)](_0x228e63,_0x4e7a84,_0x5a6747,_0x36bbc4),{columnHeaderHeightAndMarginTop:_0x42cff9}=_0x36bbc4,{startX:_0x52c15d,startY:_0x4431b0}=_0x2315dd,{endX:_0x3e6b1b,endY:_0x108322}=_0xba29a5,_0x33576f=_0x3e6b1b-_0x52c15d,_0x430554=_0x108322-_0x4431b0,_0x496609={'labelPosition':_0x4431b0-_0x42cff9>=_0x465b4b?_0x3f6d36(0x236):_0x3f6d36(0x3b7),'sheetID':_0x18c349,'range':_0x45e541,'color':_0x19059c,'name':_0x2a5dc1,'selection':_0x16c5b6,'left':_0x52c15d,'top':_0x4431b0,'width':_0x33576f,'height':_0x430554,'evented':!0x1,'zIndex':_0x4a7cc5};return new _0x5c6aab(_0x2a5dc1,_0x496609);});_0x5a6747[_0x32fd2f(0x1fa)](_0x2f1897,_0x2b2063),this[_0x32fd2f(0x242)]=new Set(_0x2f1897);}[_0x175e1d(0x3bc)](){const _0x57e371=_0x175e1d;var _0x446a6f;(_0x446a6f=this[_0x57e371(0x242)])==null||_0x446a6f[_0x57e371(0x1d4)](_0x13c416=>_0x13c416[_0x57e371(0x279)]());}[_0x175e1d(0x330)](){const _0x3cbfeb=_0x175e1d;return _0x466080[_0x3cbfeb(0x243)](this[_0x3cbfeb(0x24a)][_0x3cbfeb(0x38b)],this[_0x3cbfeb(0x24a)]);}};_0x34f5aa=_0x13f983([_0x523dd6(0x1,_0x187eaa[_0x175e1d(0x374)](_0x466080['SheetSkeletonManagerService'])),_0x523dd6(0x2,_0x187eaa['Inject'](_0x250edb)),_0x523dd6(0x3,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x1fc)]))],_0x34f5aa);function _0x3c3bfe(_0x4f5e62){const _0x561de1=_0x175e1d,_0x4806ae=new Map();return _0x4f5e62['forEach'](_0x481170=>{const _0x4bccf2=_0xd8ae;if(_0x4806ae[_0x4bccf2(0x2f5)](_0x481170[_0x4bccf2(0x20f)])){const _0x1a2942=_0x4806ae[_0x4bccf2(0x37b)](_0x481170[_0x4bccf2(0x20f)]);_0x1a2942[_0x4bccf2(0x202)]+=',\x20'+_0x481170[_0x4bccf2(0x202)];}else _0x4806ae[_0x4bccf2(0x2ef)](_0x481170['selection'],_0x481170);}),Array[_0x561de1(0x320)](_0x4806ae[_0x561de1(0x35c)]());}var _0xf547e4=Object[_0x175e1d(0x302)],_0x587fe8=(_0x21fc54,_0x55679e,_0xb1ea1e,_0x3c1e3a)=>{const _0x4ac63f=_0x175e1d;for(var _0x5e7b47=_0x3c1e3a>0x1?void 0x0:_0x3c1e3a?_0xf547e4(_0x55679e,_0xb1ea1e):_0x55679e,_0x49596f=_0x21fc54[_0x4ac63f(0x2d7)]-0x1,_0x480aa3;_0x49596f>=0x0;_0x49596f--)(_0x480aa3=_0x21fc54[_0x49596f])&&(_0x5e7b47=_0x480aa3(_0x5e7b47)||_0x5e7b47);return _0x5e7b47;},_0x184b21=(_0x505c65,_0x333ca5)=>(_0x1cc832,_0xa411a9)=>_0x333ca5(_0x1cc832,_0xa411a9,_0x505c65);let _0x279622=class extends _0x187eaa['Disposable']{constructor(_0x3ca0ac,_0x21a9cd,_0x397fda,_0x2564f1,_0x5e29bd,_0x529e05){const _0x1d77e8=_0x175e1d;super(),this[_0x1d77e8(0x413)]=_0x3ca0ac,this[_0x1d77e8(0x308)]=_0x21a9cd,this['_collaborationUIEventService']=_0x397fda,this['_messageService']=_0x2564f1,this['_notificationService']=_0x5e29bd,this['_localeService']=_0x529e05,this[_0x1d77e8(0x36b)](),this[_0x1d77e8(0x3d1)]();}[_0x175e1d(0x36b)](){const _0x46c70c=_0x175e1d;this[_0x46c70c(0x307)](this[_0x46c70c(0x413)][_0x46c70c(0x2b1)](()=>{const _0x33c070=_0x46c70c;if(this[_0x33c070(0x308)][_0x33c070(0x2bf)][_0x33c070(0x459)])return this['_localeService']['t'](_0x33c070(0x314));}));}['_initEvent'](){const _0x4024d7=_0x175e1d;this['disposeWithMe'](this[_0x4024d7(0x2d0)][_0x4024d7(0x36e)][_0x4024d7(0x405)](_0x7d43d6=>{const _0x4f8f36=_0x4024d7;_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x4f8f36(0x255)]({'type':_0x3b181[_0x4f8f36(0x441)][_0x4f8f36(0x346)],'content':this[_0x4f8f36(0x1ec)]['t'](_0x4f8f36(0x21c))}),_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)][_0x4f8f36(0x1ce)]&&this[_0x4f8f36(0x43f)]['show']({'type':_0x3b181['MessageType'][_0x4f8f36(0x346)],'content':this[_0x4f8f36(0x1ec)]['t'](_0x4f8f36(0x447))}),_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)][_0x4f8f36(0x3f6)]&&this[_0x4f8f36(0x3cb)][_0x4f8f36(0x255)]({'title':this['_localeService']['t'](_0x4f8f36(0x244)),'content':this['_localeService']['t'](_0x4f8f36(0x424)),'type':_0x4f8f36(0x46d),'duration':0x0}),_0x7d43d6['id']===_0xd5bbf8['CollaborationUIEventId'][_0x4f8f36(0x3e8)]&&this[_0x4f8f36(0x43f)][_0x4f8f36(0x255)]({'type':_0x3b181[_0x4f8f36(0x441)]['Error'],'content':this[_0x4f8f36(0x1ec)]['t'](_0x4f8f36(0x447))+'('+_0x7d43d6[_0x4f8f36(0x37a)]+')'}),_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)][_0x4f8f36(0x26c)]&&this['_messageService']['show']({'type':_0x3b181[_0x4f8f36(0x441)]['Warning'],'content':this[_0x4f8f36(0x1ec)]['t'](_0x7d43d6[_0x4f8f36(0x37a)]||'')}),_0x7d43d6['id']===_0xd5bbf8['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x4f8f36(0x43f)][_0x4f8f36(0x255)]({'type':_0x3b181['MessageType'][_0x4f8f36(0x346)],'content':this[_0x4f8f36(0x1ec)]['t'](_0x4f8f36(0x294))}),_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)][_0x4f8f36(0x2f2)]&&this[_0x4f8f36(0x43f)][_0x4f8f36(0x255)]({'type':_0x3b181[_0x4f8f36(0x441)][_0x4f8f36(0x275)],'content':this[_0x4f8f36(0x1ec)]['t'](_0x4f8f36(0x2c5))}),_0x7d43d6['id']===_0xd5bbf8[_0x4f8f36(0x33b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4f8f36(0x43f)]['show']({'type':_0x3b181[_0x4f8f36(0x441)][_0x4f8f36(0x275)],'content':this[_0x4f8f36(0x1ec)]['t']('session.collaboration-timeout')});}));}};_0x279622=_0x587fe8([_0x184b21(0x0,_0x2695dd['IBeforeCloseService']),_0x184b21(0x1,_0xd5bbf8[_0x175e1d(0x328)]),_0x184b21(0x2,_0x187eaa['Inject'](_0xd5bbf8[_0x175e1d(0x402)])),_0x184b21(0x3,_0x2695dd[_0x175e1d(0x37d)]),_0x184b21(0x4,_0x2695dd[_0x175e1d(0x41e)]),_0x184b21(0x5,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x1de)]))],_0x279622);const _0x18ecfd=_0x175e1d(0x228),_0x5c78bb={};var _0x54620d=Object['getOwnPropertyDescriptor'],_0x58a5e2=(_0x47603a,_0x22d2a0,_0x4ca0b8,_0x179205)=>{const _0x2ab80c=_0x175e1d;for(var _0x2557de=_0x179205>0x1?void 0x0:_0x179205?_0x54620d(_0x22d2a0,_0x4ca0b8):_0x22d2a0,_0x19a50a=_0x47603a[_0x2ab80c(0x2d7)]-0x1,_0x47d336;_0x19a50a>=0x0;_0x19a50a--)(_0x47d336=_0x47603a[_0x19a50a])&&(_0x2557de=_0x47d336(_0x2557de)||_0x2557de);return _0x2557de;},_0x2d5bd7=(_0x398bfa,_0x599f1d)=>(_0x4b6ed4,_0x1724a4)=>_0x599f1d(_0x4b6ed4,_0x1724a4,_0x398bfa);let _0x5df55d=class{constructor(_0x18af57,_0x22cca2){const _0x5b5318=_0x175e1d;this[_0x5b5318(0x1b3)]=_0x18af57,this[_0x5b5318(0x1f9)]=_0x22cca2;}['transformIMECache'](_0x439514){const _0x323b9d=_0x175e1d;this[_0x323b9d(0x3ab)](_0x439514),this[_0x323b9d(0x204)](_0x439514);}['transformRemoteChangeset'](_0x4e9969){const _0x2b85d7=_0x175e1d,{unitID:_0x2cfb5c}=_0x4e9969,_0x3ac4c8=this[_0x2b85d7(0x1f9)][_0x2b85d7(0x216)](_0x2cfb5c)[_0x2b85d7(0x2a8)](_0x4019f2[_0x2b85d7(0x29f)]),{redoCache:_0x33c1da}=_0x3ac4c8[_0x2b85d7(0x1b8)]();if(_0x33c1da[_0x2b85d7(0x2d7)]===0x0)return _0x4e9969;let _0x359ae6=_0x187eaa[_0x2b85d7(0x297)]['deepClone'](_0x4e9969['mutations'][0x0]);for(let _0x2d75fe=0x0;_0x2d75fe<_0x33c1da[_0x2b85d7(0x2d7)];_0x2d75fe++){const _0x5e51d1={'id':_0x2b85d7(0x3e6),'params':{..._0x33c1da[_0x2d75fe]}},_0x475787=this[_0x2b85d7(0x1b3)]['transformMutation'](_0x359ae6,_0x5e51d1,!0x1);if(_0x5cbc46[_0x2b85d7(0x34a)](_0x475787))throw _0x475787['error'];_0x359ae6=_0x475787[_0x2b85d7(0x1fb)];}return{..._0x187eaa['Tools'][_0x2b85d7(0x388)](_0x4e9969),'mutations':[_0x359ae6]};}[_0x175e1d(0x3ab)](_0x42c713){const _0x396020=_0x175e1d,{unitID:_0x609ce0}=_0x42c713,_0x5808c8=this['_renderManagerService'][_0x396020(0x216)](_0x609ce0)['with'](_0x4019f2[_0x396020(0x29f)]),{undoCache:_0xb4783e,redoCache:_0x58f4b2}=_0x5808c8[_0x396020(0x1b8)]();if(_0xb4783e[_0x396020(0x2d7)]===0x0||_0x58f4b2[_0x396020(0x2d7)]===0x0)return;const _0xee4f8d=[],_0x20e247=[];let _0x11685b=_0x187eaa[_0x396020(0x297)]['deepClone'](_0x42c713[_0x396020(0x1d2)][0x0]),_0x1db4ed=_0x187eaa[_0x396020(0x297)][_0x396020(0x388)](_0x42c713[_0x396020(0x1d2)][0x0]);for(let _0x58b24d=_0xb4783e['length']-0x1;_0x58b24d>=0x0;_0x58b24d--){const _0x1efd2b={'id':_0x396020(0x3e6),'params':{..._0xb4783e[_0x58b24d]}},_0xca4e0c={'id':'doc.mutation.rich-text-editing','params':{..._0x58f4b2[_0x58b24d]}},_0x146f84=this['_transformService'][_0x396020(0x25d)](_0x11685b,_0x1efd2b,!0x1),_0x15f51b=this[_0x396020(0x1b3)]['transformMutation'](_0x1db4ed,_0xca4e0c,!0x1);if(_0x5cbc46['isTransformMutationFailure'](_0x146f84))throw _0x146f84['error'];if(_0x5cbc46[_0x396020(0x34a)](_0x15f51b))throw _0x15f51b[_0x396020(0x46d)];_0xee4f8d['unshift'](_0x146f84[_0x396020(0x1ed)][_0x396020(0x44d)]),_0x20e247[_0x396020(0x456)](_0x15f51b[_0x396020(0x1ed)][_0x396020(0x44d)]),_0x11685b=_0x146f84[_0x396020(0x1fb)],_0x1db4ed=_0x15f51b[_0x396020(0x1fb)];}_0x5808c8['setUndoRedoMutationParamsCache']({'undoCache':_0xee4f8d,'redoCache':_0x20e247});}['_transformPreviousActiveRange'](_0xa57027){const _0x1f57ee=_0x175e1d,{unitID:_0x4efff1}=_0xa57027,_0x3cc4a1=this['_renderManagerService'][_0x1f57ee(0x216)](_0x4efff1)['with'](_0x4019f2['DocIMEInputManagerService']),_0x316365=_0x3cc4a1[_0x1f57ee(0x2f7)]();if(_0x316365==null)return;const _0x56923a=[{'id':_0x1f57ee(0x3e6),'params':{'unitId':_0xa57027[_0x1f57ee(0x345)],'actions':null,'textRanges':[_0x316365]}}],_0x3d92a7=this[_0x1f57ee(0x1b3)][_0x1f57ee(0x2b2)](_0xa57027,_0x56923a);if(!_0x5cbc46[_0x1f57ee(0x245)](_0x3d92a7))throw _0x3d92a7['error'];const _0x452835=_0x3d92a7[_0x1f57ee(0x1ed)][0x0][_0x1f57ee(0x44d)]['textRanges'];Array[_0x1f57ee(0x471)](_0x452835)&&_0x452835['length']&&_0x3cc4a1[_0x1f57ee(0x33e)](_0x452835[0x0]);}};_0x5df55d=_0x58a5e2([_0x2d5bd7(0x0,_0x5cbc46[_0x175e1d(0x383)]),_0x2d5bd7(0x1,_0x34e554[_0x175e1d(0x418)])],_0x5df55d);var _0x50cd8b=Object[_0x175e1d(0x302)],_0x211f49=(_0x7b0bcc,_0x200a81,_0x128375,_0x5989b1)=>{const _0x380c62=_0x175e1d;for(var _0x266f3f=_0x5989b1>0x1?void 0x0:_0x5989b1?_0x50cd8b(_0x200a81,_0x128375):_0x200a81,_0x2396f9=_0x7b0bcc[_0x380c62(0x2d7)]-0x1,_0x47b22b;_0x2396f9>=0x0;_0x2396f9--)(_0x47b22b=_0x7b0bcc[_0x2396f9])&&(_0x266f3f=_0x47b22b(_0x266f3f)||_0x266f3f);return _0x266f3f;},_0x3f01f2=(_0xe5b310,_0x486382)=>(_0x431a54,_0x58c992)=>_0x486382(_0x431a54,_0x58c992,_0xe5b310);let _0x3f089a=class{constructor(_0x373177,_0x422dcf,_0x520962){const _0x3afffc=_0x175e1d;this['_injector']=_0x373177,this['_transformService']=_0x422dcf,this[_0x3afffc(0x3a3)]=_0x520962;}['transformStateCache'](_0x53e2c1){this['_transformHistoryAndStateStack'](_0x53e2c1);}['transformRemoteChangeset'](_0x42a69f){const _0x24f632=_0x175e1d,{unitID:_0xcd648b}=_0x42a69f,{collaboration:_0x30f432}=this['_docStateChangeManagerService'][_0x24f632(0x3aa)](_0xcd648b);if(_0x30f432[_0x24f632(0x2d7)]===0x0)return _0x42a69f;let _0xbe5e7=_0x187eaa[_0x24f632(0x297)]['deepClone'](_0x42a69f[_0x24f632(0x1d2)][0x0]);for(let _0x5e5863=0x0;_0x5e5863<_0x30f432[_0x24f632(0x2d7)];_0x5e5863++){const _0x3c6e8d={'id':_0x24f632(0x3e6),'params':{'unitId':_0x30f432[_0x5e5863]['unitId'],..._0x30f432[_0x5e5863]['redoState']}},_0x50d012=this[_0x24f632(0x1b3)]['transformMutation'](_0xbe5e7,_0x3c6e8d,!0x1);if(_0x5cbc46['isTransformMutationFailure'](_0x50d012))throw _0x50d012[_0x24f632(0x46d)];_0xbe5e7=_0x50d012[_0x24f632(0x1fb)];}return{..._0x187eaa[_0x24f632(0x297)]['deepClone'](_0x42a69f),'mutations':[_0xbe5e7]};}[_0x175e1d(0x256)](_0x1800f6){const _0x1c051c=_0x175e1d,{unitID:_0x2b61f7}=_0x1800f6,{history:_0x5e77a1,collaboration:_0x4ee7c2}=this[_0x1c051c(0x3a3)]['getStateCache'](_0x2b61f7);if(_0x5e77a1['length']===0x0&&_0x4ee7c2['length']===0x0)return;const _0x470971=[],_0x5af935=[];let _0x2e421a=_0x187eaa[_0x1c051c(0x297)][_0x1c051c(0x388)](_0x1800f6[_0x1c051c(0x1d2)][0x0]),_0x97276b=_0x187eaa[_0x1c051c(0x297)][_0x1c051c(0x388)](_0x1800f6['mutations'][0x0]);for(let _0x46abfb=_0x5e77a1[_0x1c051c(0x2d7)]-0x1;_0x46abfb>=0x0;_0x46abfb--){const _0x3ac8ea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e77a1[_0x46abfb][_0x1c051c(0x38e)],..._0x5e77a1[_0x46abfb]['undoState']}},_0x3c4f05={'id':_0x1c051c(0x3e6),'params':{'unitId':_0x5e77a1[_0x46abfb][_0x1c051c(0x38e)],..._0x5e77a1[_0x46abfb]['redoState']}},_0x35bb3a=this[_0x1c051c(0x1b3)][_0x1c051c(0x25d)](_0x2e421a,_0x3ac8ea,!0x1),_0x53566e=this[_0x1c051c(0x1b3)][_0x1c051c(0x25d)](_0x97276b,_0x3c4f05,!0x1);if(_0x5cbc46[_0x1c051c(0x34a)](_0x35bb3a))throw _0x35bb3a[_0x1c051c(0x46d)];if(_0x5cbc46[_0x1c051c(0x34a)](_0x53566e))throw _0x53566e[_0x1c051c(0x46d)];_0x470971[_0x1c051c(0x456)]({..._0x5e77a1[_0x46abfb],'undoState':_0x35bb3a[_0x1c051c(0x1ed)][_0x1c051c(0x44d)],'redoState':_0x53566e[_0x1c051c(0x1ed)]['params']}),_0x2e421a=_0x35bb3a[_0x1c051c(0x1fb)],_0x97276b=_0x53566e[_0x1c051c(0x1fb)];}_0x2e421a=_0x187eaa['Tools'][_0x1c051c(0x388)](_0x1800f6[_0x1c051c(0x1d2)][0x0]),_0x97276b=_0x187eaa[_0x1c051c(0x297)][_0x1c051c(0x388)](_0x1800f6[_0x1c051c(0x1d2)][0x0]);for(let _0x2eaff1=_0x4ee7c2['length']-0x1;_0x2eaff1>=0x0;_0x2eaff1--){const _0x393db2={'id':_0x1c051c(0x3e6),'params':{'unitId':_0x4ee7c2[_0x2eaff1]['unitId'],..._0x4ee7c2[_0x2eaff1][_0x1c051c(0x366)]}},_0x5efc11={'id':_0x1c051c(0x3e6),'params':{'unitId':_0x4ee7c2[_0x2eaff1][_0x1c051c(0x38e)],..._0x4ee7c2[_0x2eaff1]['redoState']}},_0x532f0c=this[_0x1c051c(0x1b3)][_0x1c051c(0x25d)](_0x2e421a,_0x393db2,!0x1),_0x42c98d=this[_0x1c051c(0x1b3)][_0x1c051c(0x25d)](_0x97276b,_0x5efc11,!0x1);if(_0x5cbc46[_0x1c051c(0x34a)](_0x532f0c))throw _0x532f0c[_0x1c051c(0x46d)];if(_0x5cbc46[_0x1c051c(0x34a)](_0x42c98d))throw _0x42c98d[_0x1c051c(0x46d)];_0x5af935[_0x1c051c(0x456)]({..._0x4ee7c2[_0x2eaff1],'undoState':_0x532f0c[_0x1c051c(0x1ed)]['params'],'redoState':_0x42c98d[_0x1c051c(0x1ed)][_0x1c051c(0x44d)]}),_0x2e421a=_0x532f0c[_0x1c051c(0x1fb)],_0x97276b=_0x42c98d[_0x1c051c(0x1fb)];}this['_docStateChangeManagerService'][_0x1c051c(0x40d)](_0x2b61f7,{'history':_0x470971,'collaboration':_0x5af935});}};_0x3f089a=_0x211f49([_0x3f01f2(0x0,_0x187eaa['Inject'](_0x187eaa[_0x175e1d(0x349)])),_0x3f01f2(0x1,_0x5cbc46[_0x175e1d(0x383)]),_0x3f01f2(0x2,_0x187eaa['Inject'](_0x4019f2[_0x175e1d(0x2ba)]))],_0x3f089a);var _0x447e98=Object['getOwnPropertyDescriptor'],_0x3a7f8e=(_0x1f4a60,_0x79987d,_0x3296a6,_0x18c7d0)=>{const _0x397d0d=_0x175e1d;for(var _0x5e97e5=_0x18c7d0>0x1?void 0x0:_0x18c7d0?_0x447e98(_0x79987d,_0x3296a6):_0x79987d,_0x4d32d0=_0x1f4a60[_0x397d0d(0x2d7)]-0x1,_0x7c0bd4;_0x4d32d0>=0x0;_0x4d32d0--)(_0x7c0bd4=_0x1f4a60[_0x4d32d0])&&(_0x5e97e5=_0x7c0bd4(_0x5e97e5)||_0x5e97e5);return _0x5e97e5;},_0x3dd7b4=(_0xfcf7fa,_0x242936)=>(_0x196d92,_0x49c83f)=>_0x242936(_0x196d92,_0x49c83f,_0xfcf7fa);let _0x1c5dab=class{constructor(_0x50bad7,_0x29d345){const _0x3833e9=_0x175e1d;this[_0x3833e9(0x1c8)]=_0x50bad7,this[_0x3833e9(0x1b3)]=_0x29d345;}[_0x175e1d(0x3f8)](_0x4fae9f){const _0x5f3499=_0x175e1d;var _0xe2e1c5;const _0x16fbd8=this['_injector'][_0x5f3499(0x37b)](_0x4149e2['DocSelectionManagerService']),_0xcca414=(_0xe2e1c5=_0x16fbd8[_0x5f3499(0x304)]())!=null?_0xe2e1c5:[];if(_0xcca414[_0x5f3499(0x2d7)]===0x0)return;const _0xcf072b=_0x4fae9f[_0x5f3499(0x345)],_0x336f92=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcf072b,'actions':null,'textRanges':_0xcca414}}],_0x36ad2f=this['_transformService'][_0x5f3499(0x2b2)](_0x4fae9f,_0x336f92);if(!_0x5cbc46['isTransformMutationsWithChangesetSuccess'](_0x36ad2f))throw _0x36ad2f[_0x5f3499(0x46d)];const _0x2a7680=_0x36ad2f[_0x5f3499(0x1ed)][0x0][_0x5f3499(0x44d)][_0x5f3499(0x44b)];Array[_0x5f3499(0x471)](_0x2a7680)&&_0x2a7680[_0x5f3499(0x2d7)]&&_0x16fbd8[_0x5f3499(0x287)](_0x2a7680,{'unitId':_0xcf072b,'subUnitId':_0xcf072b},!0x1);}};_0x1c5dab=_0x3a7f8e([_0x3dd7b4(0x0,_0x187eaa['Inject'](_0x187eaa[_0x175e1d(0x349)])),_0x3dd7b4(0x1,_0x5cbc46[_0x175e1d(0x383)])],_0x1c5dab);var _0x18aeeb=Object[_0x175e1d(0x302)],_0xab9b39=(_0x4bf3f7,_0x425008,_0x3f220c,_0x36581b)=>{const _0x24b0aa=_0x175e1d;for(var _0x5dc264=_0x36581b>0x1?void 0x0:_0x36581b?_0x18aeeb(_0x425008,_0x3f220c):_0x425008,_0x33831b=_0x4bf3f7[_0x24b0aa(0x2d7)]-0x1,_0x5c88c7;_0x33831b>=0x0;_0x33831b--)(_0x5c88c7=_0x4bf3f7[_0x33831b])&&(_0x5dc264=_0x5c88c7(_0x5dc264)||_0x5dc264);return _0x5dc264;},_0xb0c4f7=(_0x2c22fa,_0x416854)=>(_0x40ba9c,_0x4ac6e5)=>_0x416854(_0x40ba9c,_0x4ac6e5,_0x2c22fa);let _0x28aa6e=class extends _0x187eaa[_0x175e1d(0x32b)]{constructor(_0x45abea,_0x374bcf,_0x88cba8,_0x176583,_0xfa978a,_0x5edb56,_0x19e6c9,_0x2a7c79){const _0x5c866f=_0x175e1d;super(),_0x3d2368(this,_0x5c866f(0x40f),new _0x12c3e7['BehaviorSubject'](_0xd5bbf8[_0x5c866f(0x34c)][_0x5c866f(0x435)])),(this[_0x5c866f(0x3a3)]=_0x45abea,this['_collaborationController']=_0x374bcf,this[_0x5c866f(0x1ca)]=_0x88cba8,this[_0x5c866f(0x432)]=_0x176583,this['_docTransformSelectionsService']=_0xfa978a,this[_0x5c866f(0x232)]=_0x5edb56,this[_0x5c866f(0x43f)]=_0x19e6c9,this[_0x5c866f(0x1ec)]=_0x2a7c79,this[_0x5c866f(0x1b1)]());}[_0x175e1d(0x1b1)](){const _0x1910a3=_0x175e1d;this[_0x1910a3(0x307)](this['_collaborationController'][_0x1910a3(0x25e)][_0x1910a3(0x405)](_0x24aaf2=>{const _0x187dea=_0x1910a3,_0xbde938=this[_0x187dea(0x3a3)][_0x187dea(0x2ff)][_0x187dea(0x405)](_0x41ee4f=>{const _0x769625=_0x187dea;if(_0x41ee4f==null)return;const {unitId:_0x36b7de,redoState:_0xc95b73,commandId:_0x4d440e}=_0x41ee4f;if(_0x36b7de!==_0x24aaf2['unitID'])return;const _0x2e757d={'id':_0x4d440e,'type':_0x187eaa[_0x769625(0x3a1)][_0x769625(0x47a)],'params':{'unitId':_0x36b7de,'actions':_0xc95b73[_0x769625(0x200)],'textRanges':null}};_0x24aaf2[_0x769625(0x3c1)](_0x2e757d);});if(_0x24aaf2[_0x187dea(0x307)](_0xbde938),_0x24aaf2 instanceof _0xd5bbf8[_0x187dea(0x283)]){const _0x3ef1da={'onTransformIME':_0x265b00=>this['_docTransformIMECacheService'][_0x187dea(0x217)](_0x265b00),'onTransformState':_0xf5d8b2=>this['_docTransformStateCacheService'][_0x187dea(0x28b)](_0xf5d8b2),'onTransformSelections':_0x30cdd6=>this[_0x187dea(0x2c7)][_0x187dea(0x3f8)](_0x30cdd6),'onSyncEditingCollabCursor':_0x50c763=>this[_0x187dea(0x232)][_0x187dea(0x21e)](_0x50c763),'onTransformRemoteChangesetByIMECache':_0x423917=>this[_0x187dea(0x1ca)][_0x187dea(0x276)](_0x423917),'onTransformRemoteChangesetByStateCache':_0x37d6ac=>this[_0x187dea(0x432)][_0x187dea(0x276)](_0x37d6ac)};_0x24aaf2[_0x187dea(0x438)](_0x3ef1da);}}));}};_0x28aa6e=_0xab9b39([_0xb0c4f7(0x0,_0x187eaa[_0x175e1d(0x374)](_0x4019f2[_0x175e1d(0x2ba)])),_0xb0c4f7(0x1,_0x187eaa[_0x175e1d(0x374)](_0xd5bbf8['CollaborationController'])),_0xb0c4f7(0x2,_0x187eaa['Inject'](_0x5df55d)),_0xb0c4f7(0x3,_0x187eaa[_0x175e1d(0x374)](_0x3f089a)),_0xb0c4f7(0x4,_0x187eaa[_0x175e1d(0x374)](_0x1c5dab)),_0xb0c4f7(0x5,_0x187eaa[_0x175e1d(0x374)](_0x18bae6)),_0xb0c4f7(0x6,_0x2695dd[_0x175e1d(0x37d)]),_0xb0c4f7(0x7,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x1de)]))],_0x28aa6e);var _0x3d4f3d=(_0x56adbe=>(_0x56adbe[_0x56adbe[_0x175e1d(0x467)]=0x0]=_0x175e1d(0x467),_0x56adbe[_0x56adbe['OK']=0x1]='OK',_0x56adbe[_0x56adbe[_0x175e1d(0x460)]=0x2]=_0x175e1d(0x460),_0x56adbe[_0x56adbe[_0x175e1d(0x3f6)]=0x3]=_0x175e1d(0x3f6),_0x56adbe[_0x56adbe[_0x175e1d(0x2bc)]=0x4]='NOT_FOUND',_0x56adbe[_0x56adbe['UNAUTHENTICATED']=0x5]=_0x175e1d(0x221),_0x56adbe[_0x56adbe[_0x175e1d(0x2b6)]=0x6]='ALREADY_EXISTS',_0x56adbe[_0x56adbe[_0x175e1d(0x472)]=0x7]=_0x175e1d(0x472),_0x56adbe[_0x56adbe['TOO_MANY_REQUESTS']=0x8]=_0x175e1d(0x3be),_0x56adbe[_0x56adbe[_0x175e1d(0x410)]=0x9]=_0x175e1d(0x410),_0x56adbe[_0x56adbe[_0x175e1d(0x3d3)]=0xa]=_0x175e1d(0x3d3),_0x56adbe[_0x56adbe[_0x175e1d(0x3fb)]=0xb]=_0x175e1d(0x3fb),_0x56adbe[_0x56adbe[_0x175e1d(0x1c6)]=0xc]=_0x175e1d(0x1c6),_0x56adbe[_0x56adbe['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x175e1d(0x3f0),_0x56adbe[_0x56adbe[_0x175e1d(0x358)]=0xe]=_0x175e1d(0x358),_0x56adbe[_0x56adbe[_0x175e1d(0x25f)]=0xf]=_0x175e1d(0x25f),_0x56adbe[_0x56adbe[_0x175e1d(0x2dc)]=0x10]=_0x175e1d(0x2dc),_0x56adbe[_0x56adbe[_0x175e1d(0x206)]=0x64]=_0x175e1d(0x206),_0x56adbe[_0x56adbe[_0x175e1d(0x45b)]=0x65]=_0x175e1d(0x45b),_0x56adbe[_0x56adbe[_0x175e1d(0x466)]=0xc9]=_0x175e1d(0x466),_0x56adbe[_0x56adbe[_0x175e1d(0x2a7)]=0xca]='USER_IS_ANONYMOUS',_0x56adbe[_0x56adbe[_0x175e1d(0x2dd)]=0x1389]=_0x175e1d(0x2dd),_0x56adbe[_0x56adbe[_0x175e1d(0x2a3)]=0x1771]=_0x175e1d(0x2a3),_0x56adbe[_0x56adbe[_0x175e1d(0x1e5)]=0x1772]=_0x175e1d(0x1e5),_0x56adbe[_0x56adbe[_0x175e1d(0x3dc)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x56adbe[_0x56adbe[_0x175e1d(0x27c)]=0x1b59]='APPLY_REJECT',_0x56adbe[_0x56adbe[_0x175e1d(0x32f)]=0x1b5a]=_0x175e1d(0x32f),_0x56adbe[_0x56adbe[_0x175e1d(0x43b)]=0x1b5b]=_0x175e1d(0x43b),_0x56adbe[_0x56adbe[_0x175e1d(0x20e)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x56adbe[_0x56adbe[_0x175e1d(0x30b)]=0x1b5d]=_0x175e1d(0x30b),_0x56adbe[_0x56adbe['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x56adbe[_0x56adbe['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x175e1d(0x373),_0x56adbe[_0x56adbe[_0x175e1d(0x2aa)]=0x232a]=_0x175e1d(0x2aa),_0x56adbe[_0x56adbe[_0x175e1d(0x33f)]=0x232b]=_0x175e1d(0x33f),_0x56adbe[_0x56adbe['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x175e1d(0x2da),_0x56adbe[_0x56adbe['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x56adbe[_0x56adbe[_0x175e1d(0x2e5)]=0x2711]=_0x175e1d(0x2e5),_0x56adbe[_0x56adbe['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x175e1d(0x1d9),_0x56adbe[_0x56adbe[_0x175e1d(0x41a)]=0x2713]=_0x175e1d(0x41a),_0x56adbe[_0x56adbe[_0x175e1d(0x331)]=0x2714]=_0x175e1d(0x331),_0x56adbe[_0x56adbe[_0x175e1d(0x2fc)]=0x271a]=_0x175e1d(0x2fc),_0x56adbe[_0x56adbe['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x175e1d(0x231),_0x56adbe[_0x56adbe[_0x175e1d(0x2ce)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x56adbe[_0x56adbe[_0x175e1d(0x2d8)]=0x271d]=_0x175e1d(0x2d8),_0x56adbe[_0x56adbe['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x56adbe[_0x56adbe[_0x175e1d(0x29a)]=0x271f]=_0x175e1d(0x29a),_0x56adbe[_0x56adbe['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x175e1d(0x2f8),_0x56adbe[_0x56adbe[_0x175e1d(0x3eb)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x56adbe[_0x56adbe['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x175e1d(0x29b),_0x56adbe[_0x56adbe[_0x175e1d(0x454)]=0x2ee2]='INVALID_INVITE_CODE',_0x56adbe[_0x56adbe[_0x175e1d(0x352)]=0x2ee3]=_0x175e1d(0x352),_0x56adbe[_0x56adbe[_0x175e1d(0x2a6)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x56adbe[_0x56adbe[_0x175e1d(0x1ef)]=0x2ee5]=_0x175e1d(0x1ef),_0x56adbe[_0x56adbe['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x175e1d(0x356),_0x56adbe[_0x56adbe['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x175e1d(0x451),_0x56adbe[_0x56adbe['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x175e1d(0x1f0),_0x56adbe[_0x56adbe['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x175e1d(0x309),_0x56adbe[_0x56adbe[_0x175e1d(0x470)]=0x36b2]=_0x175e1d(0x470),_0x56adbe[_0x56adbe['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x175e1d(0x277),_0x56adbe[_0x56adbe[_0x175e1d(0x34f)]=0x36b4]=_0x175e1d(0x34f),_0x56adbe[_0x56adbe['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x56adbe[_0x56adbe[_0x175e1d(0x1e3)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x56adbe[_0x56adbe[_0x175e1d(0x3db)]=0x37dd]=_0x175e1d(0x3db),_0x56adbe[_0x56adbe['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x56adbe[_0x56adbe[_0x175e1d(0x3d0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x56adbe[_0x56adbe[_0x175e1d(0x368)]=0x3a9b]=_0x175e1d(0x368),_0x56adbe[_0x56adbe[_0x175e1d(0x247)]=0x3a9c]=_0x175e1d(0x247),_0x56adbe[_0x56adbe[_0x175e1d(0x3a6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x56adbe[_0x56adbe['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x175e1d(0x420),_0x56adbe[_0x56adbe[_0x175e1d(0x1df)]=0x3a9f]=_0x175e1d(0x1df),_0x56adbe[_0x56adbe[_0x175e1d(0x2ec)]=-0x1]=_0x175e1d(0x2ec),_0x56adbe))(_0x3d4f3d||{});function _0x4d1c9c(_0x12d2e4){const _0x14ff28=_0x175e1d;var _0x1072fb,_0xc8abb4;const _0x45f782=(_0x1072fb=_0x12d2e4[_0x14ff28(0x335)])==null?void 0x0:_0x1072fb['stage'],_0x15f87e=((_0xc8abb4=_0x12d2e4[_0x14ff28(0x335)])==null?void 0x0:_0xc8abb4[_0x14ff28(0x42c)])||0x0;return _0x45f782===_0x18796c[_0x14ff28(0x1bc)][_0x14ff28(0x2ea)]&&_0x15f87e>0x0;}function _0x2cd9a2(_0xdee9e5){const _0x13d196=_0x175e1d;return _0xdee9e5[_0x13d196(0x293)]===_0x18796c[_0x13d196(0x229)][_0x13d196(0x45e)];}var _0x45f7cf=Object[_0x175e1d(0x302)],_0x229e8c=(_0x262ac9,_0x36f9c0,_0x128765,_0x3fdeb1)=>{const _0x21222c=_0x175e1d;for(var _0x30c923=_0x3fdeb1>0x1?void 0x0:_0x3fdeb1?_0x45f7cf(_0x36f9c0,_0x128765):_0x36f9c0,_0x56d896=_0x262ac9[_0x21222c(0x2d7)]-0x1,_0x38bf3c;_0x56d896>=0x0;_0x56d896--)(_0x38bf3c=_0x262ac9[_0x56d896])&&(_0x30c923=_0x38bf3c(_0x30c923)||_0x30c923);return _0x30c923;},_0x472730=(_0x1b245b,_0x4e49b8)=>(_0x29c680,_0x38dd82)=>_0x4e49b8(_0x29c680,_0x38dd82,_0x1b245b);const _0x2fed2c='/universer-api/license/formula/limit/status',_0x4f9d80='/universer-api/license/formula/limit/start',_0x9ef9c5=_0x175e1d(0x41f);let _0x212cbf=class extends _0x187eaa['Disposable']{constructor(_0x9d3680,_0x22bc41,_0x5171e6,_0x496265,_0x1f15b1,_0x5d820b,_0x300bb8){const _0x25e16a=_0x175e1d;super(),_0x3d2368(this,_0x25e16a(0x347),null),_0x3d2368(this,_0x25e16a(0x3a7),0x0),_0x3d2368(this,'_currentUsage',0x0),_0x3d2368(this,_0x25e16a(0x3e9),[]),_0x3d2368(this,_0x25e16a(0x404),0x0),(this[_0x25e16a(0x43f)]=_0x9d3680,this[_0x25e16a(0x20b)]=_0x22bc41,this[_0x25e16a(0x321)]=_0x5171e6,this[_0x25e16a(0x3ee)]=_0x496265,this[_0x25e16a(0x286)]=_0x1f15b1,this['_logService']=_0x5d820b,this[_0x25e16a(0x1ec)]=_0x300bb8,this[_0x25e16a(0x457)]());}['_initCommandInterceptor'](){const _0x3fcf00=_0x175e1d;this['disposeWithMe'](this[_0x3fcf00(0x20b)][_0x3fcf00(0x1dc)]((_0x2bf19f,_0x4c6792)=>{const _0x2e62c9=_0x3fcf00;if(_0x2bf19f['id']!==_0x18796c[_0x2e62c9(0x22e)]['id'])return;const _0x2bc19b=_0x2bf19f[_0x2e62c9(0x44d)];if(!this[_0x2e62c9(0x2a0)](_0x2bc19b['dirtyRanges']))return;if(!this[_0x2e62c9(0x212)]())throw this[_0x2e62c9(0x2df)](_0x2bf19f,_0x4c6792),this['_showGuardMessage'](),new _0x187eaa['CanceledError']();})),this['disposeWithMe'](this[_0x3fcf00(0x20b)]['onCommandExecuted']((_0x29c3a7,_0x4cf8e8)=>{const _0x426920=_0x3fcf00;if(_0x29c3a7['id']!==_0x18796c[_0x426920(0x2a4)]['id'])return;const _0x4ba9bf=_0x29c3a7[_0x426920(0x44d)];if(_0x4d1c9c(_0x4ba9bf)){const _0x3d1a01=_0x187eaa[_0x426920(0x248)]();this[_0x426920(0x3e9)][_0x426920(0x1da)](_0x3d1a01),this[_0x426920(0x37f)](_0x3d1a01);}else{if(_0x2cd9a2(_0x4ba9bf)&&this[_0x426920(0x3e9)][_0x426920(0x2d7)]>0x0){const _0x86f5f9=this['_taskIds'][_0x426920(0x46b)]();this[_0x426920(0x253)](_0x86f5f9);}}}));}[_0x175e1d(0x279)](){const _0x5d9338=_0x175e1d;super[_0x5d9338(0x279)](),this[_0x5d9338(0x3ae)](),this[_0x5d9338(0x3e9)]=[],this[_0x5d9338(0x369)]=0x0,this[_0x5d9338(0x3a7)]=0x0,this[_0x5d9338(0x404)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0xdc9c9c,_0xcf0fe7){const _0x448529=_0x175e1d;for(let _0x4b713e=0x0;_0x4b713e<0x1e;_0x4b713e++)try{if(await this['_getFormulaLimitStatus'](),this[_0x448529(0x212)]()){this['_applyCommand'](_0xdc9c9c,_0xcf0fe7),this[_0x448529(0x43f)]['show']({'content':this[_0x448529(0x1ec)]['t'](_0x448529(0x403)),'type':_0x3b181[_0x448529(0x441)][_0x448529(0x2ae)]});return;}await new Promise(_0x18779a=>{const _0x38f261=_0x448529;this[_0x38f261(0x347)]=window['setTimeout'](_0x18779a,0x3e8);});}catch(_0x11473f){this[_0x448529(0x409)][_0x448529(0x46d)](_0x11473f);}this[_0x448529(0x43f)]['show']({'content':this[_0x448529(0x1ec)]['t'](_0x448529(0x42a)),'type':_0x3b181[_0x448529(0x441)][_0x448529(0x275)]});}[_0x175e1d(0x24f)](_0x514f20,_0x3cd10b){const _0x516feb=_0x175e1d;try{this['_commandService'][_0x516feb(0x2e1)](_0x514f20['id'],_0x514f20['params'],_0x3cd10b);}catch(_0x1402d2){this[_0x516feb(0x409)][_0x516feb(0x46d)](_0x1402d2);}}[_0x175e1d(0x2af)](_0x1b3669,_0x32049d){const _0x3e2544=_0x175e1d;_0x32049d<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x32049d,this['_maxFormulaLimit']=Number['parseInt'](_0x1b3669['maxFormulaLimit']),this[_0x3e2544(0x369)]=Number[_0x3e2544(0x37c)](_0x1b3669[_0x3e2544(0x382)]));}async[_0x175e1d(0x37f)](_0x117cb8){const _0x10903b=_0x175e1d;var _0x10ac0b,_0x39c8c7;const _0xa218d8=Date[_0x10903b(0x33a)]();try{const _0x278825=((_0x10ac0b=this[_0x10903b(0x321)][_0x10903b(0x252)](_0xd5bbf8[_0x10903b(0x21f)]))==null?void 0x0:_0x10ac0b[_0x10903b(0x1cc)])||_0x4f9d80,_0x174a51=(await this['_httpService'][_0x10903b(0x27a)](_0x278825,{'body':JSON[_0x10903b(0x3cc)]({'taskId':_0x117cb8})}))[_0x10903b(0x1b0)];if(((_0x39c8c7=_0x174a51['error'])==null?void 0x0:_0x39c8c7['code'])!==_0x3d4f3d['OK'])return;this['_setFormulaLimitStatus'](_0x174a51[_0x10903b(0x393)],_0xa218d8);}catch(_0x3ac078){this['_logService']['error'](_0x3ac078);}}async[_0x175e1d(0x39d)](_0x1328df){const _0x566ccc=_0x175e1d;var _0xd7fd8d,_0x1ec31e;const _0x1291d8=Date['now']();try{const _0x364bae=((_0xd7fd8d=this[_0x566ccc(0x321)][_0x566ccc(0x252)](_0xd5bbf8[_0x566ccc(0x21f)]))==null?void 0x0:_0xd7fd8d[_0x566ccc(0x230)])||_0x2fed2c,_0x49f99e=_0x1328df?_0x364bae+_0x566ccc(0x2b3)+encodeURIComponent(_0x1328df):_0x364bae,_0x44821b=(await this[_0x566ccc(0x3ee)][_0x566ccc(0x37b)](_0x49f99e))[_0x566ccc(0x1b0)];if(((_0x1ec31e=_0x44821b['error'])==null?void 0x0:_0x1ec31e[_0x566ccc(0x44e)])!==_0x3d4f3d['OK'])return;this[_0x566ccc(0x2af)](_0x44821b[_0x566ccc(0x393)],_0x1291d8);}catch(_0xf2f0ca){this['_logService']['error'](_0xf2f0ca);}}async[_0x175e1d(0x253)](_0xbd886d){const _0x14e4f9=_0x175e1d;var _0x364e81,_0x5aba04;const _0x298263=Date[_0x14e4f9(0x33a)]();try{const _0x4715b2=((_0x364e81=this[_0x14e4f9(0x321)][_0x14e4f9(0x252)](_0xd5bbf8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x364e81[_0x14e4f9(0x2fa)])||_0x9ef9c5,_0x1045b9=(await this['_httpService'][_0x14e4f9(0x27a)](_0x4715b2,{'body':JSON[_0x14e4f9(0x3cc)]({'taskId':_0xbd886d})}))[_0x14e4f9(0x1b0)];if(((_0x5aba04=_0x1045b9[_0x14e4f9(0x46d)])==null?void 0x0:_0x5aba04['code'])!==_0x3d4f3d['OK'])return;this[_0x14e4f9(0x2af)](_0x1045b9[_0x14e4f9(0x393)],_0x298263);}catch(_0x55fb7a){this[_0x14e4f9(0x409)]['error'](_0x55fb7a);}}[_0x175e1d(0x212)](){const _0x36ddc8=_0x175e1d;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x36ddc8(0x3a7)]-this[_0x36ddc8(0x369)]>0x0;}[_0x175e1d(0x3ae)](){const _0x26f937=_0x175e1d;this['_pollingInterval']&&(clearTimeout(this[_0x26f937(0x347)]),this[_0x26f937(0x347)]=null);}['_showGuardMessage'](){const _0x4c0cf3=_0x175e1d;this[_0x4c0cf3(0x43f)][_0x4c0cf3(0x255)]({'content':this[_0x4c0cf3(0x1ec)]['t']('formula.calculation.waiting'),'type':_0x3b181[_0x4c0cf3(0x441)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x401bab){const _0x1da2e5=_0x175e1d;for(const _0x249bfb of _0x401bab){const {unitId:_0x4fa042,sheetId:_0x66926,range:_0x5c6792}=_0x249bfb,_0x175e2a=this[_0x1da2e5(0x286)][_0x1da2e5(0x3b9)](_0x4fa042);if(!_0x175e2a)continue;const _0x16c2c8=_0x175e2a[_0x1da2e5(0x381)](_0x66926);if(!_0x16c2c8)continue;const _0x4f6b41=_0x16c2c8[_0x1da2e5(0x2ca)]();for(let _0x1230b6=_0x5c6792[_0x1da2e5(0x301)];_0x1230b6<=_0x5c6792[_0x1da2e5(0x2c3)];_0x1230b6++)for(let _0x279a16=_0x5c6792[_0x1da2e5(0x27d)];_0x279a16<=_0x5c6792[_0x1da2e5(0x2cf)];_0x279a16++){const _0x45921d=_0x4f6b41[_0x1da2e5(0x2e8)](_0x1230b6,_0x279a16);if(_0x45921d&&(_0x187eaa[_0x1da2e5(0x422)](_0x45921d['f'])||_0x187eaa['isFormulaId'](_0x45921d['si'])))return!0x0;}}return!0x1;}};_0x212cbf=_0x229e8c([_0x472730(0x0,_0x187eaa[_0x175e1d(0x374)](_0x2695dd[_0x175e1d(0x37d)])),_0x472730(0x1,_0x187eaa[_0x175e1d(0x2fd)]),_0x472730(0x2,_0x187eaa[_0x175e1d(0x34e)]),_0x472730(0x3,_0x187eaa[_0x175e1d(0x374)](_0x1b946c[_0x175e1d(0x26a)])),_0x472730(0x4,_0x187eaa[_0x175e1d(0x359)]),_0x472730(0x5,_0x187eaa[_0x175e1d(0x205)]),_0x472730(0x6,_0x187eaa[_0x175e1d(0x374)](_0x187eaa[_0x175e1d(0x1de)]))],_0x212cbf);var _0x3cde18=Object[_0x175e1d(0x302)],_0x4d4463=(_0x503321,_0x4e24f4,_0x4135d6,_0x1bbd78)=>{const _0x57504f=_0x175e1d;for(var _0x5ccdf7=_0x1bbd78>0x1?void 0x0:_0x1bbd78?_0x3cde18(_0x4e24f4,_0x4135d6):_0x4e24f4,_0x2f5626=_0x503321[_0x57504f(0x2d7)]-0x1,_0x333b6f;_0x2f5626>=0x0;_0x2f5626--)(_0x333b6f=_0x503321[_0x2f5626])&&(_0x5ccdf7=_0x333b6f(_0x5ccdf7)||_0x5ccdf7);return _0x5ccdf7;},_0x540eb3=(_0x44326a,_0xf03e65)=>(_0x1578b4,_0x133ef3)=>_0xf03e65(_0x1578b4,_0x133ef3,_0x44326a);let _0x20c49f=class extends _0x187eaa[_0x175e1d(0x32b)]{constructor(_0x2e1351,_0x4f95b3,_0x263f63){const _0x198f9d=_0x175e1d;super(),_0x3d2368(this,_0x198f9d(0x47d),new Map()),_0x3d2368(this,_0x198f9d(0x450),new Map()),_0x3d2368(this,'_disabled',!0x1),(this['_configService']=_0x2e1351,this[_0x198f9d(0x3b2)]=_0x4f95b3,this[_0x198f9d(0x465)]=_0x263f63);}[_0x175e1d(0x1f3)](){const _0x1d8a3e=_0x175e1d;this[_0x1d8a3e(0x2c4)]=!0x0;}[_0x175e1d(0x3cd)](){const _0x54fd61=_0x175e1d;this[_0x54fd61(0x2c4)]=!0x1;}get['saveTaskMap'](){const _0x31cc22=_0x175e1d;return this[_0x31cc22(0x450)];}['dispose'](){const _0x3f6b0c=_0x175e1d;this[_0x3f6b0c(0x303)]()['then'](()=>super[_0x3f6b0c(0x279)]());}async[_0x175e1d(0x1e6)](_0x5868b4){const _0x16a082=_0x175e1d;return this[_0x16a082(0x2c4)]?null:this[_0x16a082(0x3b2)]['getItem'](_0xd5bbf8[_0x16a082(0x26b)](_0x5868b4));}async[_0x175e1d(0x46f)](_0x2b4086,_0x4a7fd3){const _0x139c1c=_0x175e1d;return!!this[_0x139c1c(0x3b2)][_0x139c1c(0x31a)](_0x2b4086,_0x4a7fd3);}[_0x175e1d(0x270)](_0x45bf06,_0x23a426,_0x5ce5fa,_0x254f21){const _0x3bd221=_0x175e1d,_0x57e6a0=this[_0x3bd221(0x465)][_0x3bd221(0x412)](_0x45bf06);this[_0x3bd221(0x47d)][_0x3bd221(0x2ef)](_0x45bf06,{'unitID':_0x45bf06,'type':_0x23a426,'awaitingChangeset':_0x5ce5fa,'mutations':_0x254f21,'rev':_0x57e6a0}),this[_0x3bd221(0x450)][_0x3bd221(0x2f5)](_0x45bf06)||this[_0x3bd221(0x1ab)](_0x45bf06);}[_0x175e1d(0x1ab)](_0x2789be){const _0x3dffc5=_0x175e1d,_0x48f363=this[_0x3dffc5(0x1cd)]();_0x48f363===0x0?this['_saveCache'](_0x2789be):this[_0x3dffc5(0x450)]['set'](_0x2789be,setTimeout(()=>this[_0x3dffc5(0x380)](_0x2789be),_0x48f363));}[_0x175e1d(0x1cd)](){const _0x3b4d8e=_0x175e1d;var _0x363d22;return(_0x363d22=this[_0x3b4d8e(0x321)][_0x3b4d8e(0x252)](_0xd5bbf8[_0x3b4d8e(0x3ba)]))!=null?_0x363d22:_0xd5bbf8[_0x3b4d8e(0x416)];}[_0x175e1d(0x380)](_0x27ffeb){const _0x3f81fd=_0x175e1d,_0x42d247=this[_0x3f81fd(0x450)]['get'](_0x27ffeb);return _0x42d247!==void 0x0&&window[_0x3f81fd(0x30a)](_0x42d247),this[_0x3f81fd(0x3b2)][_0x3f81fd(0x31a)](_0xd5bbf8['getLocalCacheKey'](_0x27ffeb),this['_cachedData'][_0x3f81fd(0x37b)](_0x27ffeb))[_0x3f81fd(0x1e4)](()=>this['_saveTaskMap'][_0x3f81fd(0x2a2)](_0x27ffeb));}async[_0x175e1d(0x303)](){const _0x3dc550=_0x175e1d,_0x111d4a=[];this[_0x3dc550(0x450)][_0x3dc550(0x1d4)]((_0x4b1aa5,_0x405d64)=>{const _0x396d34=_0x3dc550;window[_0x396d34(0x30a)](_0x4b1aa5),_0x111d4a[_0x396d34(0x1da)](this[_0x396d34(0x380)](_0x405d64)[_0x396d34(0x1e4)](()=>{const _0x419e19=_0x396d34;this[_0x419e19(0x450)][_0x419e19(0x2a2)](_0x405d64);}));}),await Promise[_0x3dc550(0x384)](_0x111d4a);}};_0x20c49f=_0x4d4463([_0x540eb3(0x0,_0x187eaa[_0x175e1d(0x34e)]),_0x540eb3(0x1,_0x187eaa['ILocalStorageService']),_0x540eb3(0x2,_0x187eaa[_0x175e1d(0x374)](_0x5cbc46[_0x175e1d(0x39f)]))],_0x20c49f);class _0x1762e1 extends _0x187eaa[_0x175e1d(0x387)]{constructor(){const _0x2ea366=_0x175e1d;super(),_0x3d2368(this,_0x2ea366(0x1b4)),this['urlChange$']=_0x12c3e7[_0x2ea366(0x291)](window,_0x2ea366(0x32e))[_0x2ea366(0x273)](_0x12c3e7[_0x2ea366(0x2b7)](this[_0x2ea366(0x264)]),_0x12c3e7[_0x2ea366(0x2a9)](0x1),_0x12c3e7['mapTo'](void 0x0));}[_0x175e1d(0x2e2)](_0x2a9d62,_0x28031f,_0x54b606=!0x1){const _0xabd4ad=_0x175e1d,_0x1e56cb=new URL(window['location'][_0xabd4ad(0x1c3)]);_0x1e56cb[_0xabd4ad(0x340)]['set'](_0x2a9d62,_0x28031f),_0x54b606?window[_0xabd4ad(0x3a0)]['replaceState']('','',_0x1e56cb[_0xabd4ad(0x29d)]()):window[_0xabd4ad(0x3a0)][_0xabd4ad(0x1f4)]('','',_0x1e56cb[_0xabd4ad(0x29d)]());}[_0x175e1d(0x3fd)](_0x4116c9,_0x5f4b55=!0x1){const _0x5cff0d=_0x175e1d,_0xb5ef9c=new URL(window['location'][_0x5cff0d(0x1c3)]);_0xb5ef9c[_0x5cff0d(0x340)][_0x5cff0d(0x2a2)](_0x4116c9),_0x5f4b55?window[_0x5cff0d(0x3a0)][_0x5cff0d(0x2b8)]('','',_0xb5ef9c['toString']()):window[_0x5cff0d(0x3a0)][_0x5cff0d(0x1f4)]('','',_0xb5ef9c['toString']());}['getParam'](_0x1bcd7d){const _0x4a0bd8=_0x175e1d;var _0x141e81;return(_0x141e81=new URL(window[_0x4a0bd8(0x3fe)]['href'])[_0x4a0bd8(0x340)][_0x4a0bd8(0x37b)](_0x1bcd7d))!=null?_0x141e81:void 0x0;}}var _0x278533=Object[_0x175e1d(0x43c)],_0x23972d=Object[_0x175e1d(0x302)],_0x1ce59a=(_0x1a1f03,_0x483c85,_0x248568)=>_0x483c85 in _0x1a1f03?_0x278533(_0x1a1f03,_0x483c85,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x248568}):_0x1a1f03[_0x483c85]=_0x248568,_0x47734c=(_0x560613,_0x2c9173,_0x4419a4,_0x42f5f4)=>{const _0x5c6135=_0x175e1d;for(var _0x5e0d89=_0x42f5f4>0x1?void 0x0:_0x42f5f4?_0x23972d(_0x2c9173,_0x4419a4):_0x2c9173,_0x2dbcfd=_0x560613[_0x5c6135(0x2d7)]-0x1,_0x3d75e6;_0x2dbcfd>=0x0;_0x2dbcfd--)(_0x3d75e6=_0x560613[_0x2dbcfd])&&(_0x5e0d89=_0x3d75e6(_0x5e0d89)||_0x5e0d89);return _0x5e0d89;},_0x4d81f6=(_0x31b6a4,_0x1c7642)=>(_0x5bd915,_0x55c26d)=>_0x1c7642(_0x5bd915,_0x55c26d,_0x31b6a4),_0x56c3c6=(_0x431f06,_0x4bdede,_0x8af515)=>_0x1ce59a(_0x431f06,_0x4bdede+'',_0x8af515);const _0x18aeca=_0x175e1d(0x241);_0x5401e2[_0x175e1d(0x211)]=class extends _0x187eaa[_0x175e1d(0x300)]{constructor(_0x1d8e22=_0x5c78bb,_0x178330,_0x80ad0,_0x503404){const _0x5438e1=_0x175e1d;super(),this[_0x5438e1(0x35e)]=_0x1d8e22,this[_0x5438e1(0x1f9)]=_0x178330,this[_0x5438e1(0x1c8)]=_0x80ad0,this['_configService']=_0x503404;const {..._0x2d9385}=_0x187eaa[_0x5438e1(0x313)]({},_0x5c78bb,this[_0x5438e1(0x35e)]);this[_0x5438e1(0x321)]['setConfig'](_0x18ecfd,_0x2d9385);}[_0x175e1d(0x1af)](){const _0x24f16e=_0x175e1d;this[_0x24f16e(0x2db)](),this[_0x24f16e(0x397)]();}[_0x175e1d(0x363)](){const _0x3c18df=_0x175e1d;this[_0x3c18df(0x31c)]();}[_0x175e1d(0x2db)](){const _0x81c03e=_0x175e1d;var _0x509cf8;const _0x3e506d=[[_0x25c1b1],[_0x212cbf],[_0x1c5dab],[_0x5df55d],[_0x3f089a],[_0x18bae6],[_0x5a3963,{'useClass':_0x1762e1}],[_0x1b946c[_0x81c03e(0x43e)],{'useClass':_0x1b946c[_0x81c03e(0x285)]}],[_0xd5bbf8[_0x81c03e(0x328)],{'useClass':_0x20c49f}],[_0x5401e2[_0x81c03e(0x296)]],[_0x28aa6e],[_0x279622],[_0x250edb],[_0x3c9a3d],[_0x5401e2[_0x81c03e(0x433)]]];_0x187eaa[_0x81c03e(0x365)](this[_0x81c03e(0x1c8)],_0x187eaa['mergeOverrideWithDependencies'](_0x3e506d,(_0x509cf8=this[_0x81c03e(0x35e)])==null?void 0x0:_0x509cf8[_0x81c03e(0x3c8)]));}[_0x175e1d(0x31c)](){const _0x545762=_0x175e1d;this[_0x545762(0x307)](this[_0x545762(0x1f9)][_0x545762(0x3ca)](_0x187eaa['UniverInstanceType'][_0x545762(0x20c)],[_0x3d4348])),this[_0x545762(0x307)](this[_0x545762(0x1f9)][_0x545762(0x3ca)](_0x187eaa[_0x545762(0x23a)]['UNIVER_SHEET'],[_0x34f5aa]));}[_0x175e1d(0x397)](){const _0x29b559=_0x175e1d;_0x187eaa['touchDependencies'](this[_0x29b559(0x1c8)],[[_0x250edb],[_0x5401e2[_0x29b559(0x296)]],[_0x28aa6e],[_0x279622],[_0x5401e2['CollaborationDataLoaderController']],[_0x212cbf]]);}},_0x56c3c6(_0x5401e2['UniverCollaborationClientUIPlugin'],_0x175e1d(0x3ac),_0x18aeca),_0x5401e2[_0x175e1d(0x211)]=_0x47734c([_0x187eaa[_0x175e1d(0x458)](_0xd5bbf8['UniverCollaborationClientPlugin']),_0x4d81f6(0x1,_0x34e554[_0x175e1d(0x418)]),_0x4d81f6(0x2,_0x187eaa['Inject'](_0x187eaa[_0x175e1d(0x349)])),_0x4d81f6(0x3,_0x187eaa[_0x175e1d(0x34e)])],_0x5401e2[_0x175e1d(0x211)]);var _0xa24873=Object[_0x175e1d(0x302)],_0x2fe506=(_0x30d3ba,_0x168bea,_0x29ec2e,_0x542f34)=>{const _0x9f24e5=_0x175e1d;for(var _0x1a57eb=_0x542f34>0x1?void 0x0:_0x542f34?_0xa24873(_0x168bea,_0x29ec2e):_0x168bea,_0x4834ae=_0x30d3ba[_0x9f24e5(0x2d7)]-0x1,_0x2855ec;_0x4834ae>=0x0;_0x4834ae--)(_0x2855ec=_0x30d3ba[_0x4834ae])&&(_0x1a57eb=_0x2855ec(_0x1a57eb)||_0x1a57eb);return _0x1a57eb;},_0x3846b8=(_0xdf5aa7,_0x4363ed)=>(_0x2cf015,_0x3996ab)=>_0x4363ed(_0x2cf015,_0x3996ab,_0xdf5aa7);_0x5401e2[_0x175e1d(0x3f2)]=class extends _0xd5bbf8['CollaborationSocketService']{constructor(_0x440471,_0x720cd9,_0x379827,_0x25e7d4,_0x3bd943){super(_0x440471,_0x720cd9,_0x379827,_0x25e7d4,_0x3bd943);}async[_0x175e1d(0x2cc)](_0x2c6870){const _0x3f756f=_0x175e1d,_0x433446=await this[_0x3f756f(0x357)](),_0x5ee989=this[_0x3f756f(0x42d)](_0x2c6870,_0x433446);return this['_doCreateSocket'](_0x5ee989);}[_0x175e1d(0x42d)](_0x4e94ea,_0x1eadd5){const _0x356b15=_0x175e1d,_0x36b369=typeof window>'u'?new URL(_0x4e94ea):new URL(_0x4e94ea,window['location'][_0x356b15(0x395)]);_0x36b369['searchParams'][_0x356b15(0x2ef)](_0x356b15(0x3bb),_0x1eadd5);const _0x33531f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x356b15(0x3fe)][_0x356b15(0x239)]);return _0x33531f[_0x356b15(0x37b)](_0x356b15(0x1c2))&&_0x36b369[_0x356b15(0x340)][_0x356b15(0x2ef)](_0x356b15(0x1c2),_0x33531f[_0x356b15(0x37b)](_0x356b15(0x1c2))),_0x36b369['toString']();}async[_0x175e1d(0x357)](){const _0x14e14f=_0x175e1d;var _0x26a88d,_0x31108e,_0x29c0e8;const _0x376d36=this[_0x14e14f(0x321)][_0x14e14f(0x252)](_0xd5bbf8[_0x14e14f(0x21f)]),_0x4a3316=(_0x26a88d=_0x376d36==null?void 0x0:_0x376d36['wsSessionTicketUrl'])!=null?_0x26a88d:_0xd5bbf8[_0x14e14f(0x2ee)];return(_0x29c0e8=(_0x31108e=(await this[_0x14e14f(0x3ee)][_0x14e14f(0x37b)](_0x4a3316,{'headers':{'Content-Type':_0x14e14f(0x3f5)}}))[_0x14e14f(0x1b0)])==null?void 0x0:_0x31108e['ticket'])!=null?_0x29c0e8:'';}},_0x5401e2[_0x175e1d(0x3f2)]=_0x2fe506([_0x3846b8(0x0,_0x187eaa[_0x175e1d(0x374)](_0x187eaa['Injector'])),_0x3846b8(0x1,_0x187eaa[_0x175e1d(0x374)](_0x1b946c['HTTPService'])),_0x3846b8(0x2,_0x187eaa[_0x175e1d(0x34e)]),_0x3846b8(0x3,_0x187eaa[_0x175e1d(0x205)]),_0x3846b8(0x4,_0x5cbc46[_0x175e1d(0x443)])],_0x5401e2['BrowserCollaborationSocketService']);var _0x3859cd=Object[_0x175e1d(0x302)],_0x57ccbe=(_0xb43fc5,_0x5b5149,_0x2a5e01,_0x5b5539)=>{const _0x454384=_0x175e1d;for(var _0x561fa5=_0x5b5539>0x1?void 0x0:_0x5b5539?_0x3859cd(_0x5b5149,_0x2a5e01):_0x5b5149,_0x215831=_0xb43fc5[_0x454384(0x2d7)]-0x1,_0x45a61e;_0x215831>=0x0;_0x215831--)(_0x45a61e=_0xb43fc5[_0x215831])&&(_0x561fa5=_0x45a61e(_0x561fa5)||_0x561fa5);return _0x561fa5;},_0x49df62=(_0x243e19,_0x37e2a9)=>(_0x5844ca,_0x12c6cd)=>_0x37e2a9(_0x5844ca,_0x12c6cd,_0x243e19);_0x5401e2[_0x175e1d(0x421)]=class extends _0x187eaa[_0x175e1d(0x32b)]{constructor(_0x5579db,_0x33fff2,_0x2e4336){const _0x1c2e86=_0x175e1d;super(),this[_0x1c2e86(0x28e)]=_0x5579db,this[_0x1c2e86(0x3ee)]=_0x33fff2,this[_0x1c2e86(0x321)]=_0x2e4336;}async['runOnServer'](_0x5e3867,_0x54795c,_0x5a4bde,..._0x83a04c){const _0x28a170=_0x175e1d;var _0xde3538,_0xfe2d8f,_0x17f14a,_0x1b7449;const _0x157dc3=this[_0x28a170(0x28e)][_0x28a170(0x249)]();if(!_0x157dc3)throw new Error(_0x28a170(0x219));const _0x3c2135=((_0xde3538=this[_0x28a170(0x321)][_0x28a170(0x252)](_0xd5bbf8[_0x28a170(0x281)]))!=null?_0xde3538:_0xd5bbf8[_0x28a170(0x268)])+'/'+_0x5e3867+_0x28a170(0x226)+_0x54795c,_0x187b8d=new URL(window['location'][_0x28a170(0x1c3)]),_0x3c338b={'scriptId':_0x5e3867,'runId':(_0xfe2d8f=_0x187b8d['searchParams'][_0x28a170(0x37b)](_0x28a170(0x1c2)))!=null?_0xfe2d8f:'','function':_0x54795c,'unitId':_0x157dc3[_0x28a170(0x3b5)](),'argsOfFunction':JSON['stringify'](_0x83a04c),'invokeId':(_0x17f14a=_0x5a4bde[_0x28a170(0x246)])!=null?_0x17f14a:'','executionId':(_0x1b7449=_0x5a4bde[_0x28a170(0x40c)])!=null?_0x1b7449:''};try{const _0x2c21e6=await this['_httpService'][_0x28a170(0x27a)](_0x3c2135,{'body':_0x3c338b});return _0x2c21e6[_0x28a170(0x1b0)][_0x28a170(0x46d)]&&_0x2c21e6['body'][_0x28a170(0x46d)][_0x28a170(0x44e)]!==_0x3d4f3d['OK']?_0x28a170(0x408):_0x2c21e6['body'][_0x28a170(0x31d)];}catch{return _0x28a170(0x408);}}},_0x5401e2[_0x175e1d(0x421)]=_0x57ccbe([_0x49df62(0x0,_0x187eaa[_0x175e1d(0x359)]),_0x49df62(0x1,_0x187eaa[_0x175e1d(0x374)](_0x1b946c[_0x175e1d(0x26a)])),_0x49df62(0x2,_0x187eaa[_0x175e1d(0x34e)])],_0x5401e2[_0x175e1d(0x421)]);const _0x1d90af=0x7530,_0x34abf3=_0x175e1d(0x3b1);class _0x55daed extends _0x187eaa[_0x175e1d(0x32b)]{constructor(){const _0x581d16=_0x175e1d;super(),_0x3d2368(this,'_id',_0x187eaa[_0x581d16(0x248)]()),_0x3d2368(this,'_selfUnitIDs',new Set()),_0x3d2368(this,_0x581d16(0x322),new Map()),_0x3d2368(this,_0x581d16(0x1ad),null),_0x3d2368(this,_0x581d16(0x3bd),new Map()),_0x3d2368(this,_0x581d16(0x46e),new Map()),this[_0x581d16(0x1b9)]();}[_0x175e1d(0x279)](){const _0x40be8e=_0x175e1d;super[_0x40be8e(0x279)](),this[_0x40be8e(0x3bd)]['forEach']((_0x4f0971,_0x5a6d1a)=>this['_removeClearOtherTimer'](_0x5a6d1a)),this[_0x40be8e(0x1ad)]&&window[_0x40be8e(0x254)](this[_0x40be8e(0x1ad)]);}[_0x175e1d(0x1f8)](_0xa1506b){const _0x44b31c=_0x175e1d;return this[_0x44b31c(0x317)](_0xa1506b)[_0x44b31c(0x273)](_0x12c3e7['distinctUntilChanged']());}[_0x175e1d(0x299)](_0x543322){const _0x3be62d=_0x175e1d;this[_0x3be62d(0x215)][_0x3be62d(0x459)]===0x0&&this[_0x3be62d(0x1e8)](),this['_selfUnitIDs'][_0x3be62d(0x3e5)](_0x543322),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x543322],'isForwarded':!0x1});}[_0x175e1d(0x258)](_0x4d52c6){const _0x24360c=_0x175e1d;this[_0x24360c(0x215)][_0x24360c(0x2a2)](_0x4d52c6),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x24360c(0x254)](this[_0x24360c(0x1ad)]);}[_0x175e1d(0x1b9)](){const _0x156e84=_0x175e1d;this[_0x156e84(0x307)](_0x187eaa[_0x156e84(0x220)](_0x12c3e7['fromEvent'](window,_0x156e84(0x32d))['subscribe'](_0x5353b2=>{const _0x1b0cfa=_0x156e84;if(_0x5353b2[_0x1b0cfa(0x315)]!==_0x34abf3||!_0x5353b2[_0x1b0cfa(0x2c8)])return;const _0x4c4f1d=JSON['parse'](_0x5353b2[_0x1b0cfa(0x2c8)]);this['_handleEvent'](_0x4c4f1d);}))),window['addEventListener'](_0x156e84(0x325),()=>this[_0x156e84(0x28d)]({'type':0x1,'memberID':this[_0x156e84(0x332)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x29c887){const _0x36a1bd=_0x175e1d;switch(_0x29c887['type']){case 0x0:this['_handleJoinEvent'](_0x29c887);break;case 0x1:this[_0x36a1bd(0x37e)](_0x29c887);break;case 0x2:this[_0x36a1bd(0x3ea)](_0x29c887);break;}}['_handleJoinEvent'](_0x3f3922){const _0x25543c=_0x175e1d,{unitIDs:_0x406255,memberID:_0x2b6db5,isForwarded:_0x1e1abb}=_0x3f3922;_0x406255[_0x25543c(0x1d4)](_0x1b7a40=>{const _0x1bc2ce=_0x25543c;if(!_0x1e1abb&&this[_0x1bc2ce(0x322)]['has'](_0x1b7a40)&&this[_0x1bc2ce(0x317)](_0x1b7a40)[_0x1bc2ce(0x1c9)](_0xd5bbf8['UnitStatus'][_0x1bc2ce(0x45f)]),!this[_0x1bc2ce(0x322)][_0x1bc2ce(0x2f5)](_0x1b7a40)||!this[_0x1bc2ce(0x322)][_0x1bc2ce(0x37b)](_0x1b7a40)['has'](_0x2b6db5)){const _0x159f2c=this[_0x1bc2ce(0x322)][_0x1bc2ce(0x37b)](_0x1b7a40)||new Set();_0x159f2c[_0x1bc2ce(0x3e5)](_0x2b6db5),this[_0x1bc2ce(0x322)]['set'](_0x1b7a40,_0x159f2c),this['_scheduleClearOtherTimer'](_0x2b6db5);}}),_0x1e1abb||this['_send']({'type':0x0,'memberID':this[_0x25543c(0x332)],'unitIDs':[...this[_0x25543c(0x215)]],'isForwarded':!0x0});}[_0x175e1d(0x282)](_0x38b8bf){const _0x5348b8=_0x175e1d;this[_0x5348b8(0x45d)](_0x38b8bf);const _0x4fc3c2=window['setTimeout'](()=>{const _0x151364=_0x5348b8;this[_0x151364(0x322)][_0x151364(0x1d4)](_0xe3a213=>{_0xe3a213['delete'](_0x38b8bf);});},_0x1d90af*0x2);this[_0x5348b8(0x3bd)][_0x5348b8(0x2ef)](_0x38b8bf,_0x4fc3c2);}[_0x175e1d(0x45d)](_0x390db4){const _0xfda602=_0x175e1d;if(this[_0xfda602(0x3bd)]['has'](_0x390db4)){const _0x7eccc6=this[_0xfda602(0x3bd)][_0xfda602(0x37b)](_0x390db4);_0x7eccc6&&window[_0xfda602(0x30a)](_0x7eccc6),this[_0xfda602(0x3bd)][_0xfda602(0x2ef)](_0x390db4,null);}}[_0x175e1d(0x37e)](_0x4f099d){const _0x171518=_0x175e1d,{memberID:_0x5bd68b,unitIDs:_0x2d7137}=_0x4f099d;_0x2d7137['forEach'](_0x4400cd=>{const _0x53e560=_0xd8ae;var _0x362467;const _0x19445f=this['_unitOnClients'][_0x53e560(0x37b)](_0x4400cd);_0x19445f&&(_0x19445f['delete'](_0x5bd68b),(_0x362467=this[_0x53e560(0x317)](_0x4400cd))==null||_0x362467[_0x53e560(0x1c9)](_0x19445f[_0x53e560(0x459)]===0x0?_0xd5bbf8['UnitStatus'][_0x53e560(0x3c4)]:_0xd5bbf8[_0x53e560(0x434)][_0x53e560(0x45f)]));}),this[_0x171518(0x45d)](_0x5bd68b);}[_0x175e1d(0x3ea)](_0x36ffe1){const _0x302ede=_0x175e1d;this[_0x302ede(0x282)](_0x36ffe1['memberID']);}[_0x175e1d(0x28d)](_0x544407){const _0x5c2d1f=_0x175e1d;localStorage[_0x5c2d1f(0x31a)](_0x34abf3,JSON[_0x5c2d1f(0x3cc)](_0x544407));}[_0x175e1d(0x1e8)](){const _0x5ef184=_0x175e1d;this[_0x5ef184(0x1ad)]=window[_0x5ef184(0x224)](()=>{const _0x17b3ed=_0x5ef184;this[_0x17b3ed(0x28d)]({'type':0x2,'memberID':this[_0x17b3ed(0x332)]});},_0x1d90af);}[_0x175e1d(0x317)](_0x16461e){const _0x5a174c=_0x175e1d;return this[_0x5a174c(0x46e)][_0x5a174c(0x2f5)](_0x16461e)||this['_unitStatus'][_0x5a174c(0x2ef)](_0x16461e,new _0x12c3e7[(_0x5a174c(0x35a))](_0xd5bbf8[_0x5a174c(0x434)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x5a174c(0x37b)](_0x16461e);}}_0x5401e2[_0x175e1d(0x3a4)]=_0x5a3963,_0x5401e2[_0x175e1d(0x455)]=_0x5c6aab,_0x5401e2[_0x175e1d(0x24d)]=_0x55daed,_0x5401e2[_0x175e1d(0x2bd)]=_0x1762e1,Object[_0x175e1d(0x43c)](_0x5401e2,Symbol[_0x175e1d(0x449)],{'value':'Module'});}));function _0x2a82(){const _0x46e68b=['REDEMPTION_CODE_FULLY_REDEEMED','_currentUsage','_collabSessionService','_setupBeforeClosingHandler','_onCursorDelete','Shape','event$','...','mask','hovered','combineLatest','LICENSE_MAX_UNITS_EXCEEDED','Inject','fromEventSubject','UniverSheetsUi','@univerjs/ui','_getMergeRange','saveImage','data','get','parseInt','IMessageService','_handleLeaveEvent','_startCalculationLimit','_saveCache','getSheetBySheetId','currentUsage','ITransformService','all','IUIPartsService','ColorKit','RxDisposable','deepClone','currentSkeleton$','tag','unit','map','onCommandExecuted','unitId','arc','9VkcvDh','_imageIoService','_draw','limitInfo','assign','origin','@univerjs/engine-render','_initDependencies','labelPosition','InsertColCommandId','registerComponent','purple.300','_toggleOffline','_getFormulaLimitStatus','SYNCED','RevisionService','history','CommandType','_toggleOnline','_docStateChangeManagerService','IURLService','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','REDEMPTION_USER_NOT_ELIGIBLE','_maxFormulaLimit','roomMembers$','triggerDblclick','getStateCache','_transformUndoRedoStack','pluginName','startsWith','_clearPolling','blue.400','getUniverSheetInstance','ACTIVE_UNIT_EVENT_CHANNEL','_localStorageService','FETCH_MISS','_themeService','getUnitId','currentColor','bottom','_initResize','getUnit','LOCAL_CACHE_INTERVAL_KEY','sessionTicket','_removeCollabCursors','_clearOtherTimers','TOO_MANY_REQUESTS','5878836JHlLwO','toRgbString','onLocalMutation','fill','current','NO_OTHER_CLIENTS_EDITING','collab-rect-range-','lineTo','_handleHover','override','Unknown\x20user','registerRenderModule','_notificationService','stringify','enableLocalCache','complete','NodePositionConvertToRectRange','REDEMPTION_CODE_INACTIVE','_initEvent','requireSession','LOGIN_FAILED','ONLINE','UniverDrawing','BuiltInUIPart','getSkeleton','getCurrentSelections','getColor','save','ENTITLE_NEED_BILLING_ADDRESS','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','min','react/jsx-runtime','#FFF','InsertRowCommandId','_updateSubUnitFromURLParams','_collabCursorState$','univer-mr-2\x20univer-flex\x20univer-text-xl','add','doc.mutation.rich-text-editing','replace','CONFLICT','_taskIds','_handleHeartbeatEvent','PY_RUNTIME_SCRIPT_ERROR','USERS_LEAVE','rgba(255,\x20255,\x20255,\x200.01)','_httpService','object','EMAIL_VERIFY_CODE_MISMATCH','univer-flex\x20univer-items-center','BrowserCollaborationSocketService','_refRangeService','type','application/json','PERMISSION_DENIED','column','transformSelections','_docSkeletonManagerService','getAncestorScale','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration','removeParam','location','getTypeOfUnitDisposed$','includes','RefRangeService','CollaborationUIEventService','formula.calculation.started','_lastResponseTimestamp','subscribe','forwardRef','collabStatus.synced','Failed','_logService','1606894eWeZxQ','_hovered','executionId','setStateCache','@univerjs/network','_status$','COMPLETION_FINISHED','addObject','getCurrentRevOfUnit','_beforeCloseService','entries','_render','LOCAL_CACHE_INTERVAL','_cursorShapes','IRenderManagerService','UniverNetwork','YUUMI_RATE_OVER_LIMIT','_lastPointer','_initStatusListener','rxjs/operators','INotificationService','/universer-api/license/formula/limit/done','REDEMPTION_USER_REDEEM_TIMES_EXCEED','RemoteUniscriptService','isFormulaString','url(#off-line-icon_clip0_910_343)','permission.content','useDependency','unsubscribe','_labelPosition','height','collabStatus.syncing','formula.calculation.unable','getOffsetConfig','totalFormulasToCalculate','_createSocketURL','getTypeOfUnitAdded$','1em','ranges','SetSelectionsOperation','_docTransformStateCacheService','CollaborationDataLoaderController','UnitStatus','NOT_COLLAB','range','_startDocCollabCursor','addHandlerCallback','_drawAnchor','collabStatus.conflict','APPLY_REVISION_CONFILICT','defineProperty','transform','ISocketService','_messageService','max','MessageType','MemberService','ISnapshotServerService','TEXT_RANGE_LAYER_INDEX','off-line-icon_clip0_910_343','engine','collaboration.closeRoom','3840168ZjLZSP','toStringTag','green.600','textRanges','attrs','params','code','_shapes','_saveTaskMap','MOBILE_HAS_BEEN_BOUND','debounce','collabCursorState$','INVALID_INVITE_CODE','SheetCollabCursorShape','unshift','_initCommandInterceptor','DependentOn','size','UniverProCollaborationClientUi','ERROR_AGAIN','getMember','_removeClearOtherTimer','SUCCESS','OTHER_CLIENTS_EDITING','INTERNAL_ERROR','restore','MoveRangeCommandId','_urlService','VIEW_MAIN','_revisionService','USER_NOT_FOUND','UNDEFINED','collab-client.tooltip.reconnect','_updateLocalCursor','jsxs','shift','_collaborationController','error','_unitStatus','saveOfflineData','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','isArray','INVALID_ARGUMENT','handleInsertCol','div','subscribeEvent','fillText','use','jiqing.500','Optional','MUTATION','UniverProCollaboration','SheetsSelectionsService','_cachedData','defs','DOC_RANGE_TYPE','_scheduleSaving','[CollaborationDataLoaderController]','_heartbeatTimer','evenodd','onStarting','body','_initEntityListener','http://www.w3.org/2000/svg','_transformService','urlChange$','row','measureText','OnLineIcon','getUndoRedoMutationParamsCache','_init','subUnitId','onPointerEnter$','FormulaExecuteStageType','_docSkeleton','UNIVER_SHEET','find','cursorInfo$','drawWith','runId','href','fillStyle','SetWorksheetActivateCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','6533615LuSPhX','_injector','next','_docTransformIMECacheService','UniverSheets','startFormulaLimitUrl','_getSaveTimeout','CLOSE_ROOM','fillRule','_anchorDot','useCallback','mutations','UniverDocsUi','forEach','_setupSubUnitSync','onMouseMove','getColorFromTheme','NodePositionConvertToCursor','YUUMI_URL_COL_OUT_OF_RANGE','push','getCurrentUnitForType','beforeCommandExecuted','getParam','LocaleService','REDEMPTION_CODE_HAS_BEEN_CREATED','UPDATE_CURSOR','@univerjs/design','_sheetSkeletonManagerService','ENTITLE_REPORT_LIMIT_EXCEED','then','SNAPSHOT_HAS_BEEN_REMOVED','loadOfflineData','_entities','_scheduleHeartbeat','switchMap','InsertRangeMoveRightCommandId','runRefRangeMutations','_localeService','m2Prime','width','INVITE_CODE_ALREADY_BOUND','EMAIL_HAS_BEEN_BOUND','substring','getVpScrollXYInfoByPosToVp','disableLocalCache','pushState','Subject','6cKTfme','_session','getUnitStatus$','_renderManagerService','addObjects','m1Prime','ThemeService','RegularPolygon','backgroundColor','_memberService','actions','collab-text-range-','name','round','_transformPreviousActiveRange','ILogService','CURRENT_STATUS_CANNOT_OPERATE','getCoordByCell','@univerjs/rpc','clipPath','color','_commandService','UNIVER_DOC','defIds','APPLY_PERMISSION_DENIED','selection','getViewport','UniverCollaborationClientUIPlugin','_checkCalculationAvailable','_color','_hover','_selfUnitIDs','getRenderById','transformIMECache','UniverEngineRender','[RemoteUniscriptService]:\x20no\x20focused\x20unit','1288237zdeHPj','_roomMembers$','collaboration.single-unit.warning','currentTheme$','syncEditingCollabCursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','toDisposable','UNAUTHENTICATED','_scene','findNodePositionByCharIndex','setInterval','eventID','/run/','CollaborationSessionService','collaboration-client-ui.config','FormulaExecutedStateType','_updateCollabCursors','getRelativeToViewportCoord','RemoveRowCommandId','jsx','SetFormulaCalculationStartMutation','handleMoveRange','getformulaLimitStatusUrl','YUUMI_ASYNCIO_CANCELLED','_docSyncEditingCollabCursorService','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','roomMembers','top','0\x200\x2016\x2016','FromArray','search','UniverInstanceType','throttleTime','init','createIdentifier','onTransformChange$','split','focused$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','getSheetObject','permission.title','isTransformMutationsWithChangesetSuccess','invokeId','REDEMPTION_CODE_NOT_STARTED','generateRandomId','getFocusedUnit','_context','filter','SetTextSelectionsOperation','WebBrowserSingleActiveUnitService','_dataLoaderService','_applyCommand','translate(.97)','IDocClipboardService','getConfig','_releaseCalculationLimit','clearInterval','show','_transformHistoryAndStateStack','_collabCursorController','disposeUnit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','reconnect','getActiveSheet','SHEET_VIEWPORT_KEY','transformMutation','entityInit$','AUTHORIZE_CODE_ILLEGAL','moveTo','isActive','getCellPositionByOffset','exports','dispose$','Tooltip','white','0\x200\x2017\x2016','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverUi','HTTPService','getLocalCacheKey','JOIN_ROOM_FAILED','HEADER_MENU','@univerjs-pro/collaboration-client','UniverCore','updateOfflineData','url(#$1','getMergeData','pipe','CollaborationEvent','Error','transformRemoteChangeset','ENTITLE_DUP_SUBSCRIPTION','react','dispose','post','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_REJECT','startColumn','rxjs','sheetId','transformByState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleClearOtherTimer','DocCollaborationEntity','_anchor','WebSocketService','_univerInstanceService','replaceDocRanges','_colorAssignService','Rectangle','colorChannel1','transformStateCache','_backgroundColor','_send','_instanceService','M0\x200H16V16H0z','skeleton','fromEvent','makeDirty','functionsExecutedState','session.will-retry','font','DesktopCollaborationStatusDisplayController','Tools','on-line-icon_clip0_910_349','editingUnit','YUUMI_AI_RUN_FAILED','INVITE_CODE_HAS_BEEN_UES','connectInjector','toString','string','DocIMEInputManagerService','_hasFormulaInDirtyRanges','_colorIndex','delete','SNAPSHOT_INVALID_SNAPSHOT','SetFormulaCalculationNotificationMutation','5196485hKFenD','USER_NOT_INVITED_CODE','USER_IS_ANONYMOUS','with','shareReplay','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnhiddenWorksheets','none','_cursorInfo$','Success','_setFormulaLimitStatus','_entityInit$','registerBeforeClose','transformMutationsWithChangeset','?taskId=','TEXT','assignAColorForMemberID','ALREADY_EXISTS','takeUntil','replaceState','DisposableCollection','DocStateChangeManagerService','xlink:href','NOT_FOUND','WebURLService','amd','saveTaskMap','_hideTimer','@univerjs/core','sessionStatus$','endRow','_disabled','session.connection-failed','UniverDesign','_docTransformSelectionsService','newValue','idSuffix','getCellMatrix','svg','createSocket','_document','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endColumn','_collaborationUIEventService','OffLineIcon','_eventUnsubscribe','DocSelectionManagerService','_refreshCollabCursors','on-line-icon','DocSkeletonManagerService','length','YUUMI_ALL_TABLES_IS_INVALID','EffectRefRangId','LICENSE_EXPORT_SIZE_EXCEEDED','_registerDependencies','LOGIN_TOKEN_PROCESSING_FAILED','CHANGESET_REVISION_CONFILICT','@univerjs/drawing','_checkAndWaitForCalculationPermission','_syncEditingCollabCursorService','executeCommand','setParam','asObservable','_online','YUUMI_UNABLE_LOAD_URL','text','getCollabCursors$','getValue','setAlpha','START_CALCULATION','DataLoaderService','UNRECOGNIZED','_name','DEFAULT_WS_SESSION_TICKET_URL','set','setShapeProps','_cursor','SOCKET_FAILED','getCollabEntity$','useRef','has','PENDING','getActiveRange','YUUMI_CONNECTOR_URL_NOT_FOUND','debounceTime','releaseFormulaLimitUrl','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_NO_CUBOID_FOR_QUESTION','ICommandService','source','docStateChange$','Plugin','startRow','getOwnPropertyDescriptor','exhaustSavingTask','getDocRanges','imageSourceType','status$','disposeWithMe','_localCacheService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','clearTimeout','APPLY_DUPLICATED','uni.network.url-service','function','_range','createElement','operators','_getAnchorBounding','_uiPartsService','merge','collaboration-client.offline-data-not-saved','key','21255816kXpwKk','_ensureSubject','RECT','path','setItem','univerjs-icon\x20univerjs-icon-','_registerRenderDependencies','result','@univerjs/docs-ui','handleInsertRangeMoveDown','from','_configService','_unitOnClients','whenReady','send','unload','@univerjs/docs','onPointerLeave$','ILocalCacheService','getMemberID','collabStatus.notCollab','Disposable','handleIRemoveCol','storage','popstate','APPLY_NON_SEQUENTIAL_REVISION','_getSheetObject','YUUMI_SUBSCRIPTION_NOT_FOUND','_id','cursorInfo','hide','stageInfo','COLORS','UniverDocs','_drawRectRange','black','now','CollaborationUIEventId','_textBubble','Rect','setActiveRange','LICENSE_IMPORT_SIZE_EXCEEDED','searchParams','off-line-icon','yellow.400','red.300','getSheetId','unitID','Warning','_pollingInterval','_getScale','Injector','isTransformMutationFailure','IRemoteInstanceService','CollaborationStatus','symbol','IConfigService','PAYMENT_CHANNEL_NOT_SUPPORT','_assignedColors','SessionStatus','INVITE_CODE_REQUIRED','displayName','_docClipboardService','_onCursorUpdate','WECHAT_HAS_BEEN_BOUND','_getSessionTicket','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IUniverInstanceService','BehaviorSubject','OFFLINE','values','Vector2','_config','IImageIoService','subunit','getRangePointData','_initStatusComponent','onRendered','flatMap','registerDependencies','undoState','UniverEngineFormula'];_0x2a82=function(){return _0x46e68b;};return _0x2a82();}
|
|
1
|
+
function _0x153f(_0x29d622,_0x5ae453){const _0x2c9c9e=_0x2c9c();return _0x153f=function(_0x153f1b,_0x6f9d8a){_0x153f1b=_0x153f1b-0xfc;let _0x1fc7ab=_0x2c9c9e[_0x153f1b];return _0x1fc7ab;},_0x153f(_0x29d622,_0x5ae453);}(function(_0x20a505,_0x142e0a){const _0x1a9ce0=_0x153f,_0x9cb48d=_0x20a505();while(!![]){try{const _0x2fb6a4=parseInt(_0x1a9ce0(0x391))/0x1+parseInt(_0x1a9ce0(0x29d))/0x2+-parseInt(_0x1a9ce0(0x278))/0x3*(parseInt(_0x1a9ce0(0x38d))/0x4)+-parseInt(_0x1a9ce0(0x191))/0x5*(-parseInt(_0x1a9ce0(0x120))/0x6)+parseInt(_0x1a9ce0(0x1a7))/0x7*(parseInt(_0x1a9ce0(0x256))/0x8)+-parseInt(_0x1a9ce0(0x1ba))/0x9+-parseInt(_0x1a9ce0(0x20d))/0xa;if(_0x2fb6a4===_0x142e0a)break;else _0x9cb48d['push'](_0x9cb48d['shift']());}catch(_0x504ce6){_0x9cb48d['push'](_0x9cb48d['shift']());}}}(_0x2c9c,0x261cb),function(_0x3af378,_0x8c7a7d){const _0x387245=_0x153f;typeof exports=='object'&&typeof module<'u'?_0x8c7a7d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x387245(0x270)]?define([_0x387245(0x230),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x387245(0x15f),'@univerjs/ui',_0x387245(0x209),_0x387245(0x1b8),_0x387245(0x36a),'@univerjs/rpc','@univerjs/sheets',_0x387245(0x361),_0x387245(0x2bc),_0x387245(0x102),_0x387245(0x1a8),_0x387245(0x106),'@univerjs/docs',_0x387245(0x2a7),_0x387245(0x28f),_0x387245(0x1b3)],_0x8c7a7d):(_0x3af378=typeof globalThis<'u'?globalThis:_0x3af378||self,_0x8c7a7d(_0x3af378[_0x387245(0x195)]={},_0x3af378[_0x387245(0x212)],_0x3af378['UniverProCollaborationClient'],_0x3af378[_0x387245(0x328)],_0x3af378[_0x387245(0x12f)],_0x3af378[_0x387245(0x209)],_0x3af378[_0x387245(0x38b)],_0x3af378['React'],_0x3af378['UniverRpc'],_0x3af378[_0x387245(0x1f3)],_0x3af378['UniverEngineRender'],_0x3af378[_0x387245(0x3b1)],_0x3af378['UniverDocsUi'],_0x3af378['UniverDrawing'],_0x3af378[_0x387245(0x1e8)],_0x3af378[_0x387245(0x368)],_0x3af378['UniverEngineFormula'],_0x3af378[_0x387245(0x209)][_0x387245(0x37f)],_0x3af378[_0x387245(0x390)]));}(this,function(_0x3b6773,_0x5016f0,_0x191332,_0x4680af,_0x38a45b,_0x172b9a,_0x42eb8c,_0x53129e,_0x5b2373,_0x200ea9,_0x3d68e7,_0xb226e0,_0x55f3bb,_0x4cd6cc,_0x680f14,_0x4f8be8,_0x244a11,_0x353212,_0x3489ca){'use strict';const _0x40fc9b=_0x153f;var _0x2ea27f=Object[_0x40fc9b(0x37e)],_0x431ed5=(_0x2f96c8,_0x4f506f,_0x5dadf0)=>_0x4f506f in _0x2f96c8?_0x2ea27f(_0x2f96c8,_0x4f506f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dadf0}):_0x2f96c8[_0x4f506f]=_0x5dadf0,_0x166045=(_0x38a44b,_0x5e7f7e,_0x5c44be)=>_0x431ed5(_0x38a44b,typeof _0x5e7f7e!=_0x40fc9b(0x19f)?_0x5e7f7e+'':_0x5e7f7e,_0x5c44be);function _0x1416b4({ref:_0x3ea4d1,..._0x261d09}){const _0x4c48b9=_0x40fc9b,{icon:_0x408f86,id:_0x2e654b,className:_0x261302,extend:_0xc95841,..._0x19dc29}=_0x261d09,_0x1d62ef=(_0x4c48b9(0x384)+_0x2e654b+'\x20'+(_0x261302||''))['trim'](),_0x25a1d9=_0x53129e[_0x4c48b9(0x360)]('_'+_0x4b769f());return _0x366038(_0x408f86,''+_0x2e654b,{'defIds':_0x408f86['defIds'],'idSuffix':_0x25a1d9['current']},{'ref':_0x3ea4d1,'className':_0x1d62ef,..._0x19dc29},_0xc95841);}function _0x366038(_0x10dfb5,_0x249d18,_0x155376,_0x5e58e1,_0x451776){const _0x14c36e=_0x40fc9b;return _0x53129e['createElement'](_0x10dfb5[_0x14c36e(0x365)],{'key':_0x249d18,..._0x43771a(_0x10dfb5,_0x155376,_0x451776),..._0x5e58e1},(_0x32443a(_0x10dfb5,_0x155376)[_0x14c36e(0x2b7)]||[])[_0x14c36e(0x1bc)]((_0x290ec1,_0x2a371e)=>_0x366038(_0x290ec1,_0x249d18+'-'+_0x10dfb5[_0x14c36e(0x365)]+'-'+_0x2a371e,_0x155376,void 0x0,_0x451776)));}function _0x43771a(_0x3f8dc1,_0x35d772,_0x308f3e){const _0x28c5a1=_0x40fc9b,_0x329d29={..._0x3f8dc1['attrs']};_0x308f3e!=null&&_0x308f3e[_0x28c5a1(0x353)]&&_0x329d29[_0x28c5a1(0x3ad)]==='colorChannel1'&&(_0x329d29[_0x28c5a1(0x3ad)]=_0x308f3e['colorChannel1']),_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x159)&&_0x329d29['id']&&(_0x329d29['id']=_0x329d29['id']+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x3d3caa,_0x3aea1d])=>{const _0x4a5c1a=_0x28c5a1;_0x3d3caa==='mask'&&typeof _0x3aea1d==_0x4a5c1a(0x13b)&&(_0x329d29[_0x3d3caa]=_0x3aea1d['replace'](/url\(#(.*)\)/,_0x4a5c1a(0x163)+_0x35d772['idSuffix']+')'));});const {defIds:_0x2b3938}=_0x35d772;return!_0x2b3938||_0x2b3938['length']===0x0||(_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x236)&&_0x329d29[_0x28c5a1(0x396)]&&(_0x329d29['xlink:href']=_0x329d29[_0x28c5a1(0x396)]+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x5b3543,_0x4835e3])=>{const _0x4c951d=_0x28c5a1;typeof _0x4835e3==_0x4c951d(0x13b)&&(_0x329d29[_0x5b3543]=_0x4835e3[_0x4c951d(0x389)](/url\(#(.*)\)/,'url(#$1'+_0x35d772[_0x4c951d(0x240)]+')'));})),_0x329d29;}function _0x32443a(_0x4d13b1,_0x448118){const _0x126c62=_0x40fc9b;var _0x3d630a;const {defIds:_0x55a05e}=_0x448118;return!_0x55a05e||_0x55a05e[_0x126c62(0x35c)]===0x0?_0x4d13b1:_0x4d13b1[_0x126c62(0x365)]===_0x126c62(0x188)&&((_0x3d630a=_0x4d13b1[_0x126c62(0x2b7)])!=null&&_0x3d630a[_0x126c62(0x35c)])?{..._0x4d13b1,'children':_0x4d13b1[_0x126c62(0x2b7)][_0x126c62(0x1bc)](_0x16247d=>typeof _0x16247d['attrs']['id']==_0x126c62(0x13b)&&_0x55a05e&&_0x55a05e[_0x126c62(0x34c)](_0x16247d[_0x126c62(0x343)]['id'])?{..._0x16247d,'attrs':{..._0x16247d[_0x126c62(0x343)],'id':_0x16247d['attrs']['id']+_0x448118[_0x126c62(0x240)]}}:_0x16247d)}:_0x4d13b1;}function _0x4b769f(){const _0x25f1de=_0x40fc9b;return Math[_0x25f1de(0x2b9)]()['toString'](0x24)['substring'](0x2,0x8);}_0x1416b4[_0x40fc9b(0x194)]='UniverIcon';const _0xb148d0={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x23e)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x344),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x2ae)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':_0x40fc9b(0x2a6),'d':_0x40fc9b(0x34a)}}]}]}],'defIds':[_0x40fc9b(0x2ae)]},_0xf4419=_0x53129e[_0x40fc9b(0x147)](function(_0x16a832,_0xb96991){const _0x121cfc=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x121cfc(0xfe)]({},_0x16a832,{'id':_0x121cfc(0x249),'ref':_0xb96991,'icon':_0xb148d0}));});_0xf4419[_0x40fc9b(0x194)]=_0x40fc9b(0x3a2);const _0x3fde85={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':_0x40fc9b(0x1ac),'fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2017\x2016','width':_0x40fc9b(0x2cc),'height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x320)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x132),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x301)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':'white','d':_0x40fc9b(0x34a),'transform':_0x40fc9b(0x394)}}]}]}],'defIds':[_0x40fc9b(0x301)]},_0x318d94=_0x53129e['forwardRef'](function(_0x1ab3a4,_0x5ede7f){const _0x3df843=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x3df843(0xfe)]({},_0x1ab3a4,{'id':_0x3df843(0x380),'ref':_0x5ede7f,'icon':_0x3fde85}));});_0x318d94[_0x40fc9b(0x194)]='OnLineIcon';function _0x551b81(_0x3166a5){const _0x33283f=_0x40fc9b;switch(_0x3166a5){case _0x191332[_0x33283f(0x303)]['OFFLINE']:return'collabStatus.offline';case _0x191332['CollaborationStatus'][_0x33283f(0x2e7)]:return _0x33283f(0x21a);case _0x191332[_0x33283f(0x303)]['FETCH_MISS']:return _0x33283f(0x1c8);case _0x191332[_0x33283f(0x303)][_0x33283f(0x1fc)]:return'collabStatus.notCollab';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2a3)]:case _0x191332[_0x33283f(0x303)][_0x33283f(0x285)]:return'collabStatus.syncing';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2fe)]:case _0x191332['CollaborationStatus'][_0x33283f(0x2f7)]:return _0x33283f(0x1f5);}}function _0x40d264(_0x2f6595){const _0x515bb7=_0x40fc9b,{status$:_0xa16f39}=_0x2f6595,_0x2e312c=_0x38a45b[_0x515bb7(0x12a)](_0xa16f39,_0x191332[_0x515bb7(0x303)][_0x515bb7(0x1fc)]),_0x4001bc=_0x38a45b[_0x515bb7(0x37c)](_0x4680af[_0x515bb7(0x2ec)]),_0x39f1f5=_0x38a45b[_0x515bb7(0x37c)](_0x191332[_0x515bb7(0x3b2)]),_0xdd9b57=_0x2e312c!==_0x191332[_0x515bb7(0x303)][_0x515bb7(0x383)],_0x4101f6=_0x4001bc['t'](_0x551b81(_0x2e312c)),_0x3fee21=_0xdd9b57?_0x5016f0['jsx'](_0x318d94,{}):_0x5016f0[_0x515bb7(0x215)](_0xf4419,{}),_0x229f78=_0x53129e[_0x515bb7(0x192)](()=>{const _0x1ce378=_0x515bb7;_0xdd9b57||_0x39f1f5[_0x1ce378(0x1b0)]();},[_0xdd9b57,_0x39f1f5]);function _0x7bf6c(){const _0x53c44b=_0x515bb7;return _0x5016f0['jsxs'](_0x53c44b(0x17c),{'className':'univer-flex\x20univer-items-center','onClick':_0x229f78,'children':[_0x5016f0[_0x53c44b(0x215)]('div',{'className':_0x42eb8c[_0x53c44b(0x18e)](_0x53c44b(0x114),{'univer-text-green-500':_0xdd9b57,'univer-text-red-500':!_0xdd9b57}),'children':_0x3fee21}),_0x5016f0[_0x53c44b(0x215)](_0x53c44b(0x17c),{'className':_0x53c44b(0x33a),'children':_0x4101f6})]});}return _0xdd9b57?_0x7bf6c():_0x5016f0[_0x515bb7(0x215)](_0x42eb8c[_0x515bb7(0x1ce)],{'title':_0x4001bc['t'](_0x515bb7(0x294)),'children':_0x7bf6c()});}var _0x2986b7=Object[_0x40fc9b(0x251)],_0x28973c=(_0x55c4a6,_0x4a72d3,_0xeff865,_0x1e0f8f)=>{const _0x468132=_0x40fc9b;for(var _0x44f786=_0x1e0f8f>0x1?void 0x0:_0x1e0f8f?_0x2986b7(_0x4a72d3,_0xeff865):_0x4a72d3,_0x4f0e73=_0x55c4a6[_0x468132(0x35c)]-0x1,_0x575617;_0x4f0e73>=0x0;_0x4f0e73--)(_0x575617=_0x55c4a6[_0x4f0e73])&&(_0x44f786=_0x575617(_0x44f786)||_0x44f786);return _0x44f786;},_0x159a1d=(_0x373b80,_0x361a63)=>(_0x4eddf5,_0x37ac14)=>_0x361a63(_0x4eddf5,_0x37ac14,_0x373b80);_0x3b6773[_0x40fc9b(0x24b)]=class extends _0x4680af['Disposable']{constructor(_0x3a8341,_0x4a5734,_0x3295e6,_0x149173){const _0x5e5e52=_0x40fc9b;super(),_0x166045(this,_0x5e5e52(0x2b8),new _0x172b9a[(_0x5e5e52(0x119))](_0x191332[_0x5e5e52(0x303)][_0x5e5e52(0x1fc)])),(this[_0x5e5e52(0x20b)]=_0x3a8341,this['_injector']=_0x4a5734,this['_collaborationController']=_0x3295e6,this[_0x5e5e52(0x16e)]=_0x149173,this['_initStatusComponent'](),this[_0x5e5e52(0x1b1)]());}['_initStatusListener'](){const _0x5214b5=_0x40fc9b;this[_0x5214b5(0x219)](this[_0x5214b5(0x20b)][_0x5214b5(0x18f)]['pipe'](_0x172b9a[_0x5214b5(0x13a)](()=>{const _0x3728ac=_0x5214b5,_0x4ceab1=this[_0x3728ac(0x20b)][_0x3728ac(0x3b4)]();return _0x4ceab1?this[_0x3728ac(0x2ba)]['getCollabEntity$'](_0x4ceab1[_0x3728ac(0x386)]()):_0x172b9a['of'](null);}),_0x172b9a[_0x5214b5(0x13a)](_0x2f4956=>_0x2f4956?_0x2f4956['status$']:_0x172b9a['of'](_0x191332['CollaborationStatus'][_0x5214b5(0x1fc)])))[_0x5214b5(0x2a1)](_0x238d3c=>{const _0x340217=_0x5214b5;this[_0x340217(0x2b8)][_0x340217(0x1ae)](_0x238d3c);}));}[_0x40fc9b(0x300)](){const _0x2a26f9=_0x40fc9b;this['disposeWithMe'](this['_uiPartsService'][_0x2a26f9(0x190)](_0x38a45b[_0x2a26f9(0x1cf)][_0x2a26f9(0x324)],()=>_0x38a45b[_0x2a26f9(0x118)](_0x1159ca({'status$':this[_0x2a26f9(0x2b8)][_0x2a26f9(0x1e9)]()}),this[_0x2a26f9(0x101)])));}},_0x3b6773[_0x40fc9b(0x24b)]=_0x28973c([_0x159a1d(0x0,_0x4680af[_0x40fc9b(0x326)]),_0x159a1d(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x159a1d(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x159a1d(0x3,_0x38a45b[_0x40fc9b(0x2cd)])],_0x3b6773[_0x40fc9b(0x24b)]);function _0x1159ca(_0x32153a){const {status$:_0x3199ce}=_0x32153a;return function(){const _0x214eb5=_0x153f;return _0x5016f0[_0x214eb5(0x215)](_0x40d264,{'status$':_0x3199ce});};}const _0x952001=_0x4680af['createIdentifier'](_0x40fc9b(0x2df));var _0x1b2f21=Object['getOwnPropertyDescriptor'],_0x1b7256=(_0x991b3a,_0x453878,_0x51d727,_0x4ec89b)=>{const _0x361f56=_0x40fc9b;for(var _0x552119=_0x4ec89b>0x1?void 0x0:_0x4ec89b?_0x1b2f21(_0x453878,_0x51d727):_0x453878,_0x531e73=_0x991b3a[_0x361f56(0x35c)]-0x1,_0x53ed18;_0x531e73>=0x0;_0x531e73--)(_0x53ed18=_0x991b3a[_0x531e73])&&(_0x552119=_0x53ed18(_0x552119)||_0x552119);return _0x552119;},_0x2740ec=(_0x160d38,_0x4c9118)=>(_0x9260f8,_0x50c700)=>_0x4c9118(_0x9260f8,_0x50c700,_0x160d38);_0x3b6773[_0x40fc9b(0x2fb)]=class extends _0x4680af['RxDisposable']{constructor(_0x412080,_0x408082,_0x46f41f,_0x555069,_0x2c17f3){const _0x319fa4=_0x40fc9b;super(),this[_0x319fa4(0x2c9)]=_0x412080,this[_0x319fa4(0x105)]=_0x408082,this[_0x319fa4(0x35e)]=_0x46f41f,this[_0x319fa4(0x1ee)]=_0x555069,_0x2c17f3?_0x2c17f3==null||_0x2c17f3[_0x319fa4(0x20c)]()[_0x319fa4(0x34f)](()=>this[_0x319fa4(0x263)]()):(this['_logService']['debug'](_0x319fa4(0x2e3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x40fc9b(0x263)](){const _0x50ca95=_0x40fc9b,_0x45224c=this[_0x50ca95(0x2c9)][_0x50ca95(0x3a7)]('unit'),_0x3e79b5=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x131)),_0x2a8ed2=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x388));if(!_0x45224c||!_0x3e79b5){this[_0x50ca95(0x105)]['debug'](_0x50ca95(0x2e3),_0x50ca95(0x171));return;}const _0xae983b=await this[_0x50ca95(0x1ee)][_0x50ca95(0x133)](_0x45224c,Number(_0x3e79b5),_0x2a8ed2);_0xae983b&&_0xae983b instanceof _0x4680af[_0x50ca95(0x2b5)]&&this[_0x50ca95(0x32b)](_0xae983b);}async[_0x40fc9b(0x32b)](_0x2e07e5){const _0x205d49=_0x40fc9b;await this[_0x205d49(0x1f9)](_0x2e07e5),_0x2e07e5[_0x205d49(0x1c4)][_0x205d49(0x1d3)](_0x172b9a[_0x205d49(0x385)](this[_0x205d49(0x2cb)]))[_0x205d49(0x2a1)](_0x366ab5=>{const _0x1ce0f8=_0x205d49;_0x366ab5&&this[_0x1ce0f8(0x204)](_0x366ab5);}),this[_0x205d49(0x2c9)][_0x205d49(0x35f)]['pipe'](_0x172b9a[_0x205d49(0x385)](this['dispose$']))[_0x205d49(0x2a1)](()=>this['_updateSubUnitFromURLParams'](_0x2e07e5));}[_0x40fc9b(0x204)](_0x14cd5a,_0x26ca4a=!0x1){const _0x4e93c5=_0x40fc9b,_0x363e8e=this['_urlService'][_0x4e93c5(0x3a7)]('subunit');_0x14cd5a[_0x4e93c5(0x17f)]()!==_0x363e8e&&this[_0x4e93c5(0x2c9)]['setParam'](_0x4e93c5(0x388),_0x14cd5a['getSheetId'](),_0x26ca4a);}async['_updateSubUnitFromURLParams'](_0x2f5ce1){const _0x489f1d=_0x40fc9b;var _0x349c81;const _0x409798=this['_urlService'][_0x489f1d(0x3a7)]('subunit');if(!_0x409798||!_0x2f5ce1['getSheetBySheetId'](_0x409798)){const _0x531b6e=_0x2f5ce1[_0x489f1d(0x280)]()[0x0],_0x11a606=_0x2f5ce1[_0x489f1d(0x1cd)](_0x531b6e);if(!_0x11a606)return;this['_updateURLWithCurrentState'](_0x11a606,!0x0),await this['_commandService'][_0x489f1d(0x1c0)](_0x200ea9[_0x489f1d(0x252)]['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x531b6e});return;}((_0x349c81=_0x2f5ce1[_0x489f1d(0x354)]())==null?void 0x0:_0x349c81[_0x489f1d(0x17f)]())!==_0x409798&&await this['_commandService']['executeCommand'](_0x200ea9['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x409798});}},_0x3b6773[_0x40fc9b(0x2fb)]=_0x1b7256([_0x2740ec(0x0,_0x952001),_0x2740ec(0x1,_0x4680af[_0x40fc9b(0x3a9)]),_0x2740ec(0x2,_0x4680af['ICommandService']),_0x2740ec(0x3,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x255)])),_0x2740ec(0x4,_0x4680af[_0x40fc9b(0x228)](_0x5b2373['IRemoteInstanceService']))],_0x3b6773[_0x40fc9b(0x2fb)]);var _0x4eaf2a=Object[_0x40fc9b(0x251)],_0x179974=(_0x5509a7,_0x5a2093,_0x4f000a,_0x40e477)=>{const _0x3e6f0a=_0x40fc9b;for(var _0x1c0b0e=_0x40e477>0x1?void 0x0:_0x40e477?_0x4eaf2a(_0x5a2093,_0x4f000a):_0x5a2093,_0x3be700=_0x5509a7[_0x3e6f0a(0x35c)]-0x1,_0x196233;_0x3be700>=0x0;_0x3be700--)(_0x196233=_0x5509a7[_0x3be700])&&(_0x1c0b0e=_0x196233(_0x1c0b0e)||_0x1c0b0e);return _0x1c0b0e;},_0x3b9bea=(_0x491814,_0x9deb32)=>(_0x4af1fe,_0xca1fba)=>_0x9deb32(_0x4af1fe,_0xca1fba,_0x491814);let _0x444da9=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x32a119,_0x5ce974){const _0x4ce636=_0x40fc9b;super(),this['_docClipboardService']=_0x32a119,this['_imageIoService']=_0x5ce974,this[_0x4ce636(0x263)]();}[_0x40fc9b(0x263)](){const _0x5d6969=_0x40fc9b,_0x8923dd=this;this[_0x5d6969(0x219)](this[_0x5d6969(0xff)][_0x5d6969(0x335)]({'onBeforePasteImage':async _0x26bda1=>{const _0x4af71c=_0x5d6969,_0x34edf6=await _0x8923dd[_0x4af71c(0x268)]['saveImage'](_0x26bda1);return _0x34edf6?{'source':_0x34edf6[_0x4af71c(0x232)],'imageSourceType':_0x34edf6[_0x4af71c(0x113)]}:null;}}));}};_0x444da9=_0x179974([_0x3b9bea(0x0,_0x55f3bb[_0x40fc9b(0x121)]),_0x3b9bea(0x1,_0x4cd6cc['IImageIoService'])],_0x444da9);const _0x33aa07=[_0x40fc9b(0x366),'jiqing.500',_0x40fc9b(0x26e),'red.300',_0x40fc9b(0xfd),'yellow.400'];class _0x38773a extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x26fde9=_0x40fc9b;super(...arguments),_0x166045(this,_0x26fde9(0x1e2),new Map()),_0x166045(this,_0x26fde9(0x342),0x0);}[_0x40fc9b(0x20e)](_0x49ae0b){const _0x3fb750=_0x40fc9b;if(this[_0x3fb750(0x1e2)][_0x3fb750(0x393)](_0x49ae0b))return this[_0x3fb750(0x1e2)]['get'](_0x49ae0b);const _0x1c61ec=_0x33aa07[this[_0x3fb750(0x342)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x33aa07[_0x3fb750(0x35c)],this[_0x3fb750(0x1e2)][_0x3fb750(0x210)](_0x49ae0b,_0x1c61ec),_0x1c61ec;}}function _0x191fc2(_0x46c9c1){const _0x253726=_0x40fc9b;let _0xb2a76='';for(const _0x37b13c of _0x46c9c1){const {startOffset:_0xb0d9ac,endOffset:_0x21de0e,isActive:_0x18a5c9,rangeType:_0x1481f5,segmentId:_0x58c5de,segmentPage:_0x767b03}=_0x37b13c;_0xb2a76[_0x253726(0x35c)]&&(_0xb2a76+=','),_0xb2a76+=_0xb0d9ac+':'+_0x21de0e+':'+(_0x18a5c9?'1':'0')+':'+_0x1481f5+':'+_0x58c5de+':'+_0x767b03;}return _0xb2a76;}function _0x35f471(_0x3213c2){const _0x3b9e79=_0x40fc9b,_0x69469b=_0x3213c2[_0x3b9e79(0x2f6)](','),_0x41eb8b=[];for(const _0x35c261 of _0x69469b){const [_0x46025d,_0x27dacb,_0x425cfc,_0x365b97,_0x2298f1,_0x5957e2]=_0x35c261['split'](':');_0x41eb8b[_0x3b9e79(0x2c3)]({'startOffset':Number(_0x46025d),'endOffset':Number(_0x27dacb),'collapsed':_0x46025d===_0x27dacb,'isActive':_0x425cfc==='1','rangeType':_0x365b97===_0x4680af[_0x3b9e79(0x197)][_0x3b9e79(0x298)]?_0x4680af['DOC_RANGE_TYPE'][_0x3b9e79(0x298)]:_0x4680af['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2298f1==_0x3b9e79(0x13b)?String(_0x2298f1):'','segmentPage':Number(_0x5957e2!=null?_0x5957e2:-0x1)});}return _0x41eb8b[_0x3b9e79(0x1bd)](_0x2ed210=>_0x2ed210['isActive'])||(_0x41eb8b[0x0][_0x3b9e79(0x2e6)]=!0x0),_0x41eb8b;}class _0x5ac381 extends _0x4680af['RxDisposable']{constructor(){const _0x54abb3=_0x40fc9b;super(...arguments),_0x166045(this,_0x54abb3(0x291),new _0x172b9a[(_0x54abb3(0x119))](null)),_0x166045(this,_0x54abb3(0x116),this[_0x54abb3(0x291)][_0x54abb3(0x1e9)]());}['syncEditingCollabCursor'](_0x34ad20){const _0x147b43=_0x40fc9b,{unitID:_0x31adae,memberID:_0x229c1d,textRanges:_0x46f33f}=_0x34ad20,_0x25b725=_0x191fc2(_0x46f33f);if(_0x25b725==='')return;const _0x4d9f75={'unitID':_0x31adae,'memberID':_0x229c1d,'selection':_0x25b725};this[_0x147b43(0x291)][_0x147b43(0x1ae)](_0x4d9f75);}}var _0x331288=Object[_0x40fc9b(0x251)],_0x417feb=(_0x3019eb,_0x236a8b,_0x263e60,_0x1af8a4)=>{const _0x1738bf=_0x40fc9b;for(var _0x31f2df=_0x1af8a4>0x1?void 0x0:_0x1af8a4?_0x331288(_0x236a8b,_0x263e60):_0x236a8b,_0x38153b=_0x3019eb[_0x1738bf(0x35c)]-0x1,_0x7ac67c;_0x38153b>=0x0;_0x38153b--)(_0x7ac67c=_0x3019eb[_0x38153b])&&(_0x31f2df=_0x7ac67c(_0x31f2df)||_0x31f2df);return _0x31f2df;},_0x36652e=(_0x3730e9,_0x1ee590)=>(_0x3d01e1,_0x2646cc)=>_0x1ee590(_0x3d01e1,_0x2646cc,_0x3730e9);const _0x246efd=0x12c,_0x254c4e=0x64;let _0x4877be=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x33e30e,_0x59519d,_0x1a6b8d,_0x2f5eec,_0x12f59b,_0x52ca8a,_0x40bd7b,_0x2c16c5,_0x1f6967){const _0x41e3d6=_0x40fc9b;super(),_0x166045(this,_0x41e3d6(0x1a9),!0x1),_0x166045(this,_0x41e3d6(0x263),!0x1),_0x166045(this,_0x41e3d6(0x295),new _0x172b9a[(_0x41e3d6(0x119))](new Map())),_0x166045(this,_0x41e3d6(0x2e9),this[_0x41e3d6(0x295)][_0x41e3d6(0x1e9)]()),_0x166045(this,_0x41e3d6(0x392),new _0x172b9a[(_0x41e3d6(0x119))]([])),_0x166045(this,_0x41e3d6(0x23c),this[_0x41e3d6(0x392)][_0x41e3d6(0x1d3)](_0x172b9a[_0x41e3d6(0x196)](_0x246efd))),_0x166045(this,_0x41e3d6(0x142),_0x4680af['debounce'](_0x5058c1=>{const _0x372640=_0x41e3d6,_0x1723f6={'eventID':_0x680f14['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x372640(0x36f)][_0x372640(0x2dd)](),'selection':_0x191fc2(_0x5058c1)}};this[_0x372640(0x36f)][_0x372640(0x292)](_0x1723f6,this[_0x372640(0x1d7)]);},_0x254c4e)),(this[_0x41e3d6(0x1d7)]=_0x33e30e,this[_0x41e3d6(0x36f)]=_0x59519d,this[_0x41e3d6(0x101)]=_0x1a6b8d,this['_colorAssignService']=_0x2f5eec,this[_0x41e3d6(0x334)]=_0x12f59b,this[_0x41e3d6(0x198)]=_0x52ca8a,this[_0x41e3d6(0x3b8)]=_0x40bd7b,this[_0x41e3d6(0x20b)]=_0x2c16c5,this[_0x41e3d6(0x35e)]=_0x1f6967);}get[_0x40fc9b(0x19b)](){const _0x5b3438=_0x40fc9b;return this[_0x5b3438(0x295)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x40fc9b(0x250)](){const _0x13cc1f=_0x40fc9b;super[_0x13cc1f(0x250)](),this['_cursorInfo$'][_0x13cc1f(0x1ae)](new Map()),this[_0x13cc1f(0x295)][_0x13cc1f(0x358)](),this[_0x13cc1f(0x392)]['next']([]),this['_roomMembers$'][_0x13cc1f(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x437b3b=_0x40fc9b;this[_0x437b3b(0x263)]||(this[_0x437b3b(0x263)]=!0x0,this[_0x437b3b(0x36f)][_0x437b3b(0x381)][_0x437b3b(0x1d3)](_0x172b9a[_0x437b3b(0x385)](this['dispose$']))['subscribe'](_0x8e77c1=>{const _0x361980=_0x437b3b;_0x8e77c1===_0x191332['SessionStatus'][_0x361980(0x2ed)]?this[_0x361980(0x1bb)]():this[_0x361980(0x30b)]();}),this[_0x437b3b(0x36f)][_0x437b3b(0x2d9)][_0x437b3b(0x1d3)](_0x172b9a['takeUntil'](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x3dcdc9=>{const _0x98db33=_0x437b3b,_0x46f975=_0x3dcdc9[_0x98db33(0x214)];_0x46f975===_0x680f14[_0x98db33(0x261)]['UPDATE_CURSOR']&&this[_0x98db33(0x10d)](_0x3dcdc9),_0x46f975===_0x680f14[_0x98db33(0x261)][_0x98db33(0xfc)]&&this[_0x98db33(0x23b)](_0x3dcdc9);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x4fc310=>{const _0x3303be=_0x437b3b,_0x30cb37=_0x4fc310['params'];_0x30cb37!=null&&this[_0x3303be(0x1a9)]&&_0x4fc310['id']===_0x4f8be8['SetTextSelectionsOperation']['id']&&_0x30cb37[_0x3303be(0x1c6)]===this['unitID']&&_0x30cb37[_0x3303be(0x3a3)]===!0x1&&_0x30cb37[_0x3303be(0x2fd)][_0x3303be(0x35c)]>0x0&&this[_0x3303be(0x142)](_0x30cb37[_0x3303be(0x2fd)]);})),this['_syncEditingCollabCursorService'][_0x437b3b(0x116)]['pipe'](_0x172b9a[_0x437b3b(0x385)](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x1adf2c=>{const _0x360c8f=_0x437b3b;if((_0x1adf2c==null?void 0x0:_0x1adf2c[_0x360c8f(0x1d7)])!==this['unitID'])return;const _0x4b54a8={'eventID':_0x680f14[_0x360c8f(0x261)][_0x360c8f(0x117)],'data':_0x1adf2c};this[_0x360c8f(0x10d)](_0x4b54a8);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x28333f=>{const _0x2e1c16=_0x437b3b;if(_0x28333f[_0x2e1c16(0x1be)]==null)return;const _0x37acb0=_0x28333f[_0x2e1c16(0x1be)];if(_0x28333f['id']!==_0x4f8be8['RichTextEditingMutation']['id']||_0x37acb0[_0x2e1c16(0x1c6)]!==this[_0x2e1c16(0x1d7)])return;const _0x2b483a={'id':_0x2e1c16(0x2fa),'params':_0x37acb0},_0x134989=this['cursorInfo'];for(const [_0x196a5a,_0x574903]of _0x134989){const _0x41432c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2e1c16(0x1d7)],'actions':null,'textRanges':_0x574903[_0x2e1c16(0x2fd)]}},_0x44e977=this['_transformService']['transformMutation'](_0x2b483a,_0x41432c,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x44e977))throw _0x44e977['error'];_0x134989[_0x2e1c16(0x210)](_0x196a5a,{..._0x574903,'ranges':_0x44e977[_0x2e1c16(0x336)][_0x2e1c16(0x1be)][_0x2e1c16(0x21e)]});}queueMicrotask(()=>{const _0x32e4d1=_0x2e1c16;this['_cursorInfo$'][_0x32e4d1(0x1ae)](_0x134989);});})));}[_0x40fc9b(0x10d)](_0x26003a){const _0x1f301c=_0x40fc9b;var _0x22985f,_0x310ec9;const {memberID:_0x1fec33,selection:_0x33cee7}=_0x26003a[_0x1f301c(0x1e3)],_0x12ba0a=_0x35f471(_0x33cee7),_0x291865=(_0x310ec9=(_0x22985f=this[_0x1f301c(0x334)][_0x1f301c(0x16b)](this[_0x1f301c(0x1d7)],_0x1fec33))==null?void 0x0:_0x22985f['name'])!=null?_0x310ec9:_0x1f301c(0x345),_0x428a97={'color':this[_0x1f301c(0x32f)]['assignAColorForMemberID'](_0x1fec33),'name':_0x291865,'ranges':_0x12ba0a},_0x39826f=this[_0x1f301c(0x19b)];_0x39826f[_0x1f301c(0x210)](_0x1fec33,_0x428a97),this['_cursorInfo$']['next'](_0x39826f);}[_0x40fc9b(0x23b)](_0x17249e){const _0x42d1d5=_0x40fc9b,{memberID:_0x4aa3c5}=_0x17249e[_0x42d1d5(0x1e3)],_0x560416=this[_0x42d1d5(0x19b)];_0x560416['delete'](_0x4aa3c5),this[_0x42d1d5(0x295)]['next'](_0x560416);}[_0x40fc9b(0x1bb)](){const _0xaf68f=_0x40fc9b;var _0x30f707;if(this['_online']=!0x0,((_0x30f707=this[_0xaf68f(0x20b)][_0xaf68f(0x3b4)]())==null?void 0x0:_0x30f707[_0xaf68f(0x386)]())!==this['unitID'])return;const _0x2b670e=this[_0xaf68f(0x101)][_0xaf68f(0x2f2)](_0x4f8be8['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x2b670e)&&_0x2b670e[_0xaf68f(0x35c)]>0x0&&this['_updateLocalCursor'](_0x2b670e);}[_0x40fc9b(0x30b)](){const _0x3adf2d=_0x40fc9b;this[_0x3adf2d(0x1a9)]=!0x1;}};_0x4877be=_0x417feb([_0x36652e(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x36652e(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x36652e(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x248)])),_0x36652e(0x5,_0x4680af[_0x40fc9b(0x203)](_0x5ac381)),_0x36652e(0x6,_0x680f14[_0x40fc9b(0x2f1)]),_0x36652e(0x7,_0x4680af[_0x40fc9b(0x326)]),_0x36652e(0x8,_0x4680af['ICommandService'])],_0x4877be);var _0xc7bca5=Object[_0x40fc9b(0x251)],_0x37f851=(_0xef24d2,_0x13384d,_0x138689,_0x421126)=>{const _0x3db71b=_0x40fc9b;for(var _0x1c5e0e=_0x421126>0x1?void 0x0:_0x421126?_0xc7bca5(_0x13384d,_0x138689):_0x13384d,_0x52bb42=_0xef24d2[_0x3db71b(0x35c)]-0x1,_0x182d45;_0x52bb42>=0x0;_0x52bb42--)(_0x182d45=_0xef24d2[_0x52bb42])&&(_0x1c5e0e=_0x182d45(_0x1c5e0e)||_0x1c5e0e);return _0x1c5e0e;},_0x1f644f=(_0x3f426c,_0x206688)=>(_0x26cfbe,_0x149c83)=>_0x206688(_0x26cfbe,_0x149c83,_0x3f426c);const _0x2e0553=0x12c,_0x2487b3=0x64,_0x51fb50=()=>{let _0xb369bf=[],_0x535621=!0x1;return _0x10f500=>{const _0x5172e6=_0x153f;_0xb369bf[_0x5172e6(0x2c3)](_0x10f500),_0x535621||(_0x535621=!0x0,setTimeout(()=>{_0xb369bf['forEach'](_0x4e5f99=>_0x4e5f99()),_0xb369bf=[],_0x535621=!0x1;}));};};let _0x4c0640=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x1a3229,_0x393271,_0x2bbc9e,_0x29792,_0x1259a8,_0x4b871d,_0x13ad19,_0x5646dd){const _0x152701=_0x40fc9b;super(),_0x166045(this,'_online',!0x1),_0x166045(this,'_init',!0x1),_0x166045(this,_0x152701(0x295),new _0x172b9a[(_0x152701(0x119))](new Map())),_0x166045(this,_0x152701(0x2e9),this[_0x152701(0x295)]['asObservable']()),_0x166045(this,_0x152701(0x392),new _0x172b9a['BehaviorSubject']([])),_0x166045(this,_0x152701(0x23c),this[_0x152701(0x392)][_0x152701(0x1d3)](_0x172b9a[_0x152701(0x196)](_0x2e0553))),_0x166045(this,'_updateLocalCursor',_0x4680af['debounce']((_0x29053c,_0x2fdc08)=>{const _0x5d4526=_0x152701,_0x10b905={'eventID':_0x680f14[_0x5d4526(0x261)][_0x5d4526(0x117)],'data':{'unitID':this[_0x5d4526(0x1d7)],'memberID':this['_session'][_0x5d4526(0x2dd)](),'selection':_0x244a11[_0x5d4526(0x316)](_0x29053c,_0x2fdc08[_0x5d4526(0x2c7)])}};this['_session'][_0x5d4526(0x292)](_0x10b905,this[_0x5d4526(0x1d7)]);},_0x2487b3)),(this['unitID']=_0x1a3229,this[_0x152701(0x36f)]=_0x393271,this['_injector']=_0x2bbc9e,this['_colorAssignService']=_0x29792,this[_0x152701(0x334)]=_0x1259a8,this[_0x152701(0x20b)]=_0x4b871d,this[_0x152701(0x35e)]=_0x13ad19,this[_0x152701(0x1b7)]=_0x5646dd);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x40fc9b(0x2da)](){const _0x2d4adc=_0x40fc9b;return this[_0x2d4adc(0x392)][_0x2d4adc(0x38e)]();}[_0x40fc9b(0x250)](){const _0x121cf3=_0x40fc9b;super[_0x121cf3(0x250)](),this['_cursorInfo$']['next'](new Map()),this[_0x121cf3(0x295)][_0x121cf3(0x358)](),this[_0x121cf3(0x392)][_0x121cf3(0x1ae)]([]),this[_0x121cf3(0x392)][_0x121cf3(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x64c794=_0x40fc9b;this[_0x64c794(0x263)]||(this[_0x64c794(0x263)]=!0x0,this[_0x64c794(0x36f)][_0x64c794(0x381)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0x24a7d2=>{const _0x6a39e5=_0x64c794;_0x24a7d2===_0x191332[_0x6a39e5(0x2dc)][_0x6a39e5(0x2ed)]?this[_0x6a39e5(0x1bb)]():this[_0x6a39e5(0x30b)]();}),this[_0x64c794(0x36f)][_0x64c794(0x2d9)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0xfc909a=>{const _0x5089cc=_0x64c794,_0x208d47=_0xfc909a[_0x5089cc(0x214)];_0x208d47===_0x680f14[_0x5089cc(0x261)]['UPDATE_CURSOR']&&this[_0x5089cc(0x10d)](_0xfc909a),_0x208d47===_0x680f14['CollaborationEvent'][_0x5089cc(0xfc)]&&this[_0x5089cc(0x23b)](_0xfc909a);}),this[_0x64c794(0x29b)](),this[_0x64c794(0x219)](this[_0x64c794(0x35e)][_0x64c794(0x2e4)](_0x36f803=>{const _0x30cd62=_0x64c794;if(this[_0x30cd62(0x1a9)]&&_0x36f803['id']===_0x200ea9[_0x30cd62(0x302)]['id']&&_0x36f803[_0x30cd62(0x1be)][_0x30cd62(0x1c6)]===this['unitID']){const _0x3fadd4=_0x36f803[_0x30cd62(0x1be)];this[_0x30cd62(0x142)](_0x3fadd4['subUnitId'],_0x3fadd4[_0x30cd62(0x2d0)][0x0]);}})));}[_0x40fc9b(0x10d)](_0x23f916){const _0x240036=_0x40fc9b;var _0x1e65db,_0x4dd1cd;const {memberID:_0x135115,selection:_0x15a81a}=_0x23f916[_0x240036(0x1e3)],{sheetName:_0x2c4388,range:_0x116796}=_0x244a11[_0x240036(0x31d)](_0x15a81a),_0x1b9a6b={'name':(_0x4dd1cd=(_0x1e65db=this[_0x240036(0x334)]['getMember'](this[_0x240036(0x1d7)],_0x135115))==null?void 0x0:_0x1e65db[_0x240036(0x211)])!=null?_0x4dd1cd:_0x240036(0x345),'range':this[_0x240036(0x170)](_0x2c4388,_0x116796),'sheetID':_0x2c4388,'color':this[_0x240036(0x32f)][_0x240036(0x20e)](_0x135115),'selection':_0x15a81a},_0x9c0f4d=this['cursorInfo'];_0x9c0f4d['set'](_0x135115,_0x1b9a6b),this['_cursorInfo$'][_0x240036(0x1ae)](_0x9c0f4d);}[_0x40fc9b(0x23b)](_0x3247ce){const _0xcf7634=_0x40fc9b,{memberID:_0x2d134c}=_0x3247ce[_0xcf7634(0x1e3)],_0x12b31d=this[_0xcf7634(0x19b)];_0x12b31d['delete'](_0x2d134c),this[_0xcf7634(0x295)][_0xcf7634(0x1ae)](_0x12b31d);}[_0x40fc9b(0x170)](_0x4b3d9d,_0x89c21){const _0x5c94ca=_0x40fc9b;var _0x4c572f,_0x1300f1;const _0x71df24=(_0x1300f1=(_0x4c572f=this['_univerInstanceService'][_0x5c94ca(0x260)](this[_0x5c94ca(0x1d7)]))==null?void 0x0:_0x4c572f[_0x5c94ca(0x1cd)](_0x4b3d9d))==null?void 0x0:_0x1300f1[_0x5c94ca(0x158)]();return(_0x71df24==null?void 0x0:_0x71df24[_0x5c94ca(0x1e6)](_0x13333a=>_0x4680af[_0x5c94ca(0x182)][_0x5c94ca(0x225)](_0x13333a,_0x89c21)))||_0x89c21;}['_onRefRangeChange'](){const _0x259178=_0x40fc9b,_0x4cde4e=new _0x4680af[(_0x259178(0x16a))](),_0x2b5a48=_0x51fb50(),_0x8c3fcd=()=>{const _0x1d3cf3=_0x259178;_0x4cde4e[_0x1d3cf3(0x250)]();const _0x5d99ce=(_0x296d90,_0xceb2c1,_0x55ff93,_0x2a355f)=>{const _0x5d374d=_0x1d3cf3;let _0x277be2=[];switch(_0x296d90['id']){case _0x200ea9[_0x5d374d(0x364)]['DeleteRangeMoveLeftCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x359)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x1cb)]:{_0x277be2=_0x200ea9['handleDeleteRangeMoveUp'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x2a5)]:{_0x277be2=_0x200ea9[_0x5d374d(0x3a8)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x309)]:{_0x277be2=_0x200ea9[_0x5d374d(0x371)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId'][_0x5d374d(0x234)]:{_0x277be2=_0x200ea9['handleInsertRangeMoveRight'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['InsertRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x323)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['MoveRangeCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x373)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId']['RemoveColCommandId']:{_0x277be2=_0x200ea9['handleIRemoveCol'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['RemoveRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x23d)](_0x296d90,_0x2a355f);break;}}const _0x47147b=_0x200ea9['runRefRangeMutations'](_0x277be2,_0x2a355f),_0x4df949=this[_0x5d374d(0x19b)]['get'](_0xceb2c1);if(_0x4df949&&_0x47147b){const _0x1196d0={..._0x4df949,'range':_0x47147b};this[_0x5d374d(0x19b)][_0x5d374d(0x210)](_0xceb2c1,_0x1196d0),_0x2b5a48(()=>{const _0x53f881=_0x5d374d,_0x581338=this[_0x53f881(0x1b7)][_0x53f881(0x27b)](_0x47147b,_0x2aed5c=>(_0x581338[_0x53f881(0x250)](),_0x5d99ce(_0x2aed5c,_0xceb2c1,_0x55ff93,_0x47147b)));_0x4cde4e[_0x53f881(0x2b4)](_0x581338);});}return{'redos':[],'undos':[]};};this[_0x1d3cf3(0x19b)][_0x1d3cf3(0x1a5)]((_0x44968b,_0x2c9f18)=>{const _0x268528=_0x1d3cf3,{range:_0x48bb29,sheetID:_0x445f06}=_0x44968b,_0x4174d5=this[_0x268528(0x1b7)][_0x268528(0x27b)](_0x48bb29,_0x4b6b63=>(_0x4174d5[_0x268528(0x250)](),_0x5d99ce(_0x4b6b63,_0x2c9f18,_0x445f06,_0x48bb29)));_0x4cde4e['add'](_0x4174d5);});};this[_0x259178(0x219)](_0x4680af['toDisposable'](this[_0x259178(0x295)][_0x259178(0x2a1)](()=>{_0x8c3fcd();})));}[_0x40fc9b(0x1bb)](){const _0x590732=_0x40fc9b;var _0xceea8e,_0x71c967;if(this[_0x590732(0x1a9)]=!0x0,((_0xceea8e=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xceea8e[_0x590732(0x386)]())!==this[_0x590732(0x1d7)])return;const _0x3a1455=(_0x71c967=this[_0x590732(0x101)][_0x590732(0x2f2)](_0x200ea9[_0x590732(0x141)])[_0x590732(0x17b)]())==null?void 0x0:_0x71c967[0x0],_0x584c90=this[_0x590732(0x20b)]['getCurrentUnitForType'](_0x4680af[_0x590732(0x376)][_0x590732(0x2f3)])[_0x590732(0x354)]();_0x3a1455&&_0x584c90&&this[_0x590732(0x142)](_0x584c90['getSheetId'](),_0x3a1455);}[_0x40fc9b(0x30b)](){this['_online']=!0x1;}};_0x4c0640=_0x37f851([_0x1f644f(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af['Injector'])),_0x1f644f(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x1f644f(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332['MemberService'])),_0x1f644f(0x5,_0x4680af[_0x40fc9b(0x326)]),_0x1f644f(0x6,_0x4680af[_0x40fc9b(0x107)]),_0x1f644f(0x7,_0x4680af[_0x40fc9b(0x203)](_0x200ea9[_0x40fc9b(0x1a4)]))],_0x4c0640);var _0x4c34de=Object[_0x40fc9b(0x251)],_0xd4115=(_0x5a5fa2,_0x3fdf82,_0x21ee5a,_0xe66b8c)=>{const _0x3b577e=_0x40fc9b;for(var _0x3cbcea=_0xe66b8c>0x1?void 0x0:_0xe66b8c?_0x4c34de(_0x3fdf82,_0x21ee5a):_0x3fdf82,_0x4442fa=_0x5a5fa2[_0x3b577e(0x35c)]-0x1,_0x106268;_0x4442fa>=0x0;_0x4442fa--)(_0x106268=_0x5a5fa2[_0x4442fa])&&(_0x3cbcea=_0x106268(_0x3cbcea)||_0x3cbcea);return _0x3cbcea;},_0x4ffc80=(_0x59ae20,_0x4b3a5f)=>(_0x51e690,_0xa95c6d)=>_0x4b3a5f(_0x51e690,_0xa95c6d,_0x59ae20);let _0x3b8110=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x3d97c0,_0x42df8a,_0x33d6da){const _0x546e8c=_0x40fc9b;super(),_0x166045(this,_0x546e8c(0x115),new Map()),_0x166045(this,_0x546e8c(0x1ec),new _0x172b9a[(_0x546e8c(0x35b))]()),(this[_0x546e8c(0x20b)]=_0x3d97c0,this[_0x546e8c(0x101)]=_0x42df8a,this[_0x546e8c(0x2ea)]=_0x33d6da,this[_0x546e8c(0x263)]());}['dispose'](){const _0x520cc0=_0x40fc9b;super[_0x520cc0(0x250)](),this['_entityInit$'][_0x520cc0(0x358)](),this[_0x520cc0(0x115)]['forEach'](_0x543360=>_0x543360[_0x520cc0(0x250)]());}[_0x40fc9b(0x14c)](_0x3da8e2){const _0xb46274=_0x40fc9b;return this[_0xb46274(0x115)][_0xb46274(0x393)](_0x3da8e2)?this['_entities'][_0xb46274(0x2f2)](_0x3da8e2)[_0xb46274(0x2e9)]:this[_0xb46274(0x1ec)]['pipe'](_0x172b9a[_0xb46274(0x160)](_0x84040c=>_0x84040c['unitID']===_0x3da8e2),_0x172b9a['switchMap'](_0x8f0758=>_0x8f0758['cursorInfo$']));}['_init'](){const _0x50b200=_0x40fc9b;this[_0x50b200(0x20b)]['getTypeOfUnitAdded$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x2f3)])[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))[_0x50b200(0x2a1)](async _0x32d167=>{const _0x555a98=_0x50b200,_0x5d926b=_0x32d167['getUnitId'](),_0x1b25f2=await this['_startSheetCollabCursor'](_0x5d926b);this[_0x555a98(0x1ec)][_0x555a98(0x1ae)](_0x1b25f2),this[_0x555a98(0x115)]['set'](_0x5d926b,_0x1b25f2);}),this[_0x50b200(0x20b)][_0x50b200(0x179)](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)])['pipe'](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))['pipe'](_0x172b9a['filter'](_0x520476=>!_0x520476[_0x50b200(0x386)]()[_0x50b200(0x1a1)]('__')))[_0x50b200(0x2a1)](async _0x3c1512=>{const _0x4734a5=_0x50b200,_0x3ebcd8=_0x3c1512[_0x4734a5(0x386)](),_0x4c4e9e=await this[_0x4734a5(0x128)](_0x3ebcd8);this[_0x4734a5(0x1ec)]['next'](_0x4c4e9e),this[_0x4734a5(0x115)][_0x4734a5(0x210)](_0x3ebcd8,_0x4c4e9e);}),_0x172b9a[_0x50b200(0x29f)](this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)]),this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af['UniverInstanceType'][_0x50b200(0x2f3)]))[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this['dispose$']))[_0x50b200(0x2a1)](_0x432439=>{const _0x4abecc=_0x50b200,_0x29d223=_0x432439[_0x4abecc(0x386)](),_0x3239ee=this[_0x4abecc(0x115)][_0x4abecc(0x2f2)](_0x29d223);_0x3239ee&&(_0x3239ee['dispose'](),this[_0x4abecc(0x115)][_0x4abecc(0x329)](_0x29d223));});}async[_0x40fc9b(0x297)](_0x339ca3){const _0x92dcc8=_0x40fc9b,_0x55fe21=await this[_0x92dcc8(0x2ea)]['requireSession'](_0x339ca3),_0x4f475f=this[_0x92dcc8(0x101)][_0x92dcc8(0x357)](_0x4c0640,_0x339ca3,_0x55fe21);return _0x4f475f[_0x92dcc8(0x1e5)](),_0x4f475f;}async[_0x40fc9b(0x128)](_0x266b2e){const _0x2560ed=_0x40fc9b,_0x1c23f5=await this[_0x2560ed(0x2ea)][_0x2560ed(0x351)](_0x266b2e),_0x516e3f=this[_0x2560ed(0x101)][_0x2560ed(0x357)](_0x4877be,_0x266b2e,_0x1c23f5);return _0x516e3f['init'](),_0x516e3f;}};_0x3b8110=_0xd4115([_0x4ffc80(0x0,_0x4680af['IUniverInstanceService']),_0x4ffc80(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x4ffc80(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x3b2)]))],_0x3b8110);const _0x1daaf4=0x14,_0x24893f=0xc8,_0x4abd95=0x4,_0x41b8f0=0x5;function _0x498ba3(_0x2a4d6c,_0x5e8070){const _0x231521=_0x40fc9b;let {radius:_0x14c54f,width:_0x6288f4,height:_0x433f72}=_0x5e8070;_0x14c54f=_0x14c54f!=null?_0x14c54f:0x0,_0x6288f4=_0x6288f4!=null?_0x6288f4:0x1e,_0x433f72=_0x433f72!=null?_0x433f72:0x1e;let _0x169000=0x0,_0x695865=0x0,_0x2cc75d=0x0;_0x169000=_0x695865=_0x2cc75d=Math[_0x231521(0x322)](_0x14c54f,_0x6288f4/0x2,_0x433f72/0x2),_0x2a4d6c[_0x231521(0x272)](),_0x2a4d6c[_0x231521(0x15b)](_0x169000,0x0),_0x2a4d6c[_0x231521(0x274)](_0x6288f4-_0x695865,0x0),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x695865,_0x695865,_0x695865,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a4d6c[_0x231521(0x274)](_0x6288f4,_0x433f72-_0x2cc75d),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x2cc75d,_0x433f72-_0x2cc75d,_0x2cc75d,0x0,Math['PI']/0x2,!0x1),_0x2a4d6c[_0x231521(0x274)](0x0,_0x433f72),_0x2a4d6c[_0x231521(0x274)](0x0,_0x169000),_0x2a4d6c[_0x231521(0x150)](_0x169000,_0x169000,_0x169000,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a4d6c[_0x231521(0x2a9)](),_0x5e8070[_0x231521(0x3ad)]&&(_0x2a4d6c[_0x231521(0x31e)](),_0x2a4d6c[_0x231521(0x19d)]=_0x5e8070[_0x231521(0x3ad)],_0x5e8070[_0x231521(0x31c)]===_0x231521(0x2d8)?_0x2a4d6c['fill'](_0x231521(0x2d8)):_0x2a4d6c['fill'](),_0x2a4d6c['restore']());}class _0x218e2e extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0xc2b593,_0x3a2b5b){const _0x455bae=_0x40fc9b;super(_0xc2b593,_0x3a2b5b),_0x166045(this,'color'),_0x166045(this,'text'),(this[_0x455bae(0x112)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x112)],this[_0x455bae(0x243)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x243)]);}static['drawWith'](_0x209f83,_0x1f97e1){const _0x573c3f=_0x40fc9b,{text:_0x251b3b,color:_0x3a3d19}=_0x1f97e1;_0x209f83['save'](),_0x209f83[_0x573c3f(0x22b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a8526=_0x209f83[_0x573c3f(0x2af)](_0x251b3b)[_0x573c3f(0x16d)],_0x3340a3=Math[_0x573c3f(0x322)](_0x3a8526+0x2*_0x4abd95,_0x24893f);_0x498ba3(_0x209f83,{'height':_0x1daaf4,'radius':0x4,'width':_0x3340a3,'fill':_0x3a3d19}),_0x209f83[_0x573c3f(0x19d)]=_0x573c3f(0x139);const _0x3ae895=_0x4abd95,_0x920570=_0x1daaf4-_0x41b8f0,_0x27e22d=_0x24893f-0x2*_0x4abd95;if(_0x3a8526>_0x27e22d){let _0x4ccef3='',_0x465b19=0x0;for(const _0xd232ce of _0x251b3b){const _0xca9c6=_0x209f83[_0x573c3f(0x2af)](_0xd232ce)[_0x573c3f(0x16d)];if(_0x465b19+_0xca9c6<=_0x27e22d-_0x209f83[_0x573c3f(0x2af)](_0x573c3f(0x1f4))[_0x573c3f(0x16d)])_0x4ccef3+=_0xd232ce,_0x465b19+=_0xca9c6;else{_0x4ccef3+=_0x573c3f(0x1f4);break;}}_0x209f83[_0x573c3f(0x31a)](_0x4ccef3,_0x3ae895,_0x920570);}else _0x209f83[_0x573c3f(0x31a)](_0x251b3b,_0x3ae895,_0x920570);_0x209f83[_0x573c3f(0x1f0)]();}['_draw'](_0x3cbf21){const _0xd04ef6=_0x40fc9b;_0x218e2e[_0xd04ef6(0x168)](_0x3cbf21,this);}}const _0x20fbd2=_0x40fc9b(0x3a6),_0x4d8294=_0x40fc9b(0x223),_0x499a78=_0x40fc9b(0x2e1),_0x4676d2=0x6,_0x293f2f=1.5,_0x39c1da=0x4,_0x124f51=1.5,_0x17e6b1=_0x40fc9b(0x319);class _0x382299{constructor(_0x3ea785,_0x13acc7,_0x3615db,_0x306987){const _0x3b0c02=_0x40fc9b;_0x166045(this,_0x3b0c02(0x2ad),[]),_0x166045(this,_0x3b0c02(0x1a3),null),_0x166045(this,_0x3b0c02(0x36b),null),_0x166045(this,_0x3b0c02(0x19a),null),_0x166045(this,'_hideTimer',null),_0x166045(this,'_eventUnsubscribe',null),(this[_0x3b0c02(0x266)]=_0x3ea785,this[_0x3b0c02(0x193)]=_0x13acc7,this[_0x3b0c02(0x1e0)]=_0x3615db,this['_document']=_0x306987,this[_0x3b0c02(0x287)]());}set[_0x40fc9b(0x1c9)](_0x15633f){const _0x247f1d=_0x40fc9b;_0x15633f?(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x17e)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)][_0x247f1d(0x1b4)]()):(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x1b4)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)]['hide']());}[_0x40fc9b(0x250)](){const _0x2c66eb=_0x40fc9b;for(const _0x2528dc of this[_0x2c66eb(0x2ad)])_0x2528dc[_0x2c66eb(0x250)]();this[_0x2c66eb(0x36b)]&&this[_0x2c66eb(0x36b)][_0x2c66eb(0x250)](),this[_0x2c66eb(0x19a)]&&this[_0x2c66eb(0x19a)]['dispose'](),this[_0x2c66eb(0x1a3)]&&this[_0x2c66eb(0x1a3)]['dispose'](),this[_0x2c66eb(0x269)]&&this[_0x2c66eb(0x269)]();}[_0x40fc9b(0x287)](){const _0x1c6e00=_0x40fc9b;var _0x839885;const {_docSkeleton:_0x62f2ac,_document:_0x5b613d}=this,{color:_0x5e2e18,name:_0x184df4,ranges:_0x55f76a}=this[_0x1c6e00(0x266)],_0x233c13=_0x5b613d[_0x1c6e00(0x369)](),{docsLeft:_0x1942f7,docsTop:_0x2d1a74}=_0x233c13,_0x2b2f60=new _0x55f3bb[(_0x1c6e00(0x2ca))](_0x233c13,_0x62f2ac);for(const {startOffset:_0x3bd046,endOffset:_0x3d986c,rangeType:_0x546100,segmentId:_0x24d59c,segmentPage:_0x14927d,collapsed:_0x5acffc,isActive:_0x362dd2}of _0x55f76a){const _0x294653=_0x62f2ac[_0x1c6e00(0x37b)](_0x3bd046,!0x0,_0x24d59c,_0x14927d);let _0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c,!0x0,_0x24d59c,_0x14927d);if(_0x164e49==null&&(_0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c-0x1,!0x1,_0x24d59c,_0x14927d)),_0x362dd2){const {contentBoxPointGroup:_0x3fc91a}=_0x2b2f60['getRangePointData'](_0x164e49,_0x164e49);if(_0x3fc91a['length']===0x0)continue;this[_0x1c6e00(0x166)](_0x5e2e18,_0x3fc91a,_0x1942f7,_0x2d1a74,_0x184df4),this['_eventUnsubscribe']=this[_0x1c6e00(0x325)]();}if(_0x294653&&_0x164e49){if(_0x546100===_0x4680af[_0x1c6e00(0x197)][_0x1c6e00(0x155)]){const _0xd6b8e7=new _0x55f3bb[(_0x1c6e00(0x2c6))](_0x233c13,_0x62f2ac),{pointGroup:_0x15146f}=(_0x839885=_0xd6b8e7['getRangePointData'](_0x294653,_0x164e49))!=null?_0x839885:{};if(_0x15146f==null||_0x15146f[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x26c)](_0x5e2e18,_0x15146f,_0x1942f7,_0x2d1a74);}else{if(!_0x5acffc){const {borderBoxPointGroup:_0x2f947c}=_0x2b2f60['getRangePointData'](_0x294653,_0x164e49);if(_0x2f947c[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x32d)](_0x5e2e18,_0x2f947c,_0x1942f7,_0x2d1a74);}}}}}[_0x40fc9b(0x166)](_0x467ce6,_0x1ee8ec,_0x4848e4,_0x41c57c,_0x20bb1a){const _0x3a2675=_0x40fc9b,_0x43a807=this[_0x3a2675(0x224)](_0x1ee8ec),{left:_0x5b3ea1,top:_0x42946c,height:_0x6715d2}=_0x43a807,_0x11c441=this['_getScale'](),_0x5ccd5d=_0x124f51/_0x11c441,_0x583467=new _0x3d68e7['Rect'](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c,'height':_0x6715d2,'width':_0x293f2f,'fill':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':_0x5ccd5d,'stroke':_0x17e6b1,'evented':!0x0});this[_0x3a2675(0x1a3)]=_0x583467,this['_scene'][_0x3a2675(0x1d4)](_0x583467,_0x55f3bb[_0x3a2675(0x25f)]);const _0x3a04d5=new _0x3d68e7[(_0x3a2675(0x21c))](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x39c1da/0x2,'height':_0x39c1da,'width':_0x39c1da,'fill':_0x467ce6||_0x3d68e7['getColor'](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)][_0x3a2675(0x286)],0x0),'evented':!0x1});this[_0x3a2675(0x19a)]=_0x3a04d5,this[_0x3a2675(0x193)]['addObject'](_0x3a04d5,_0x55f3bb[_0x3a2675(0x25f)]);const _0x497426=new _0x218e2e(_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x1daaf4,'text':_0x20bb1a,'color':_0x467ce6});this[_0x3a2675(0x36b)]=_0x497426,this[_0x3a2675(0x193)][_0x3a2675(0x1d4)](_0x497426,_0x55f3bb[_0x3a2675(0x25f)]),this[_0x3a2675(0x1c9)]=!0x1;}['_handleHover'](){const _0x1e7088=_0x40fc9b,_0x311d2b=this['_anchor'][_0x1e7088(0x30c)]['subscribeEvent'](()=>{const _0x373c64=_0x1e7088;this[_0x373c64(0x1c9)]=!0x0;}),_0x34d94c=this[_0x1e7088(0x1a3)][_0x1e7088(0x28c)][_0x1e7088(0x10c)](()=>{const _0x3c190b=_0x1e7088;this[_0x3c190b(0x149)]&&clearTimeout(this[_0x3c190b(0x149)]),this['_hideTimer']=setTimeout(()=>{const _0x286652=_0x3c190b;this[_0x286652(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x147cae=_0x1e7088;_0x311d2b[_0x147cae(0x2bf)](),_0x34d94c['unsubscribe']();};}[_0x40fc9b(0x32d)](_0x50bd95,_0x38ba01,_0xe1a465,_0x1ac053){const _0x2cccbc=_0x40fc9b,_0x495dcf=new _0x4680af[(_0x2cccbc(0x136))](_0x50bd95)[_0x2cccbc(0x2e2)](0.2)[_0x2cccbc(0x3a5)](),_0x1d1ae4=new _0x3d68e7[(_0x2cccbc(0x26d))](_0x4d8294+_0x4680af[_0x2cccbc(0x157)](_0x4676d2),{'pointsGroup':_0x38ba01,'fill':_0x495dcf||_0x3d68e7[_0x2cccbc(0x313)](_0x4680af[_0x2cccbc(0x2d4)]['black'],0.2),'left':_0xe1a465,'top':_0x1ac053,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccbc(0x2ad)][_0x2cccbc(0x2c3)](_0x1d1ae4),this['_scene'][_0x2cccbc(0x1d4)](_0x1d1ae4,_0x55f3bb['TEXT_RANGE_LAYER_INDEX']);}[_0x40fc9b(0x26c)](_0x2bbf2d,_0x284627,_0x511006,_0x468c41){const _0x2b22e5=_0x40fc9b,_0x2d1689=new _0x4680af[(_0x2b22e5(0x136))](_0x2bbf2d)[_0x2b22e5(0x2e2)](0.2)[_0x2b22e5(0x3a5)](),_0x1f2115=new _0x3d68e7['RegularPolygon'](_0x499a78+_0x4680af[_0x2b22e5(0x157)](_0x4676d2),{'pointsGroup':_0x284627,'fill':_0x2d1689||_0x3d68e7[_0x2b22e5(0x313)](_0x4680af[_0x2b22e5(0x2d4)][_0x2b22e5(0x286)],0.2),'left':_0x511006,'top':_0x468c41,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b22e5(0x2ad)][_0x2b22e5(0x2c3)](_0x1f2115),this[_0x2b22e5(0x193)][_0x2b22e5(0x1d4)](_0x1f2115,_0x55f3bb[_0x2b22e5(0x25f)]);}['_getAnchorBounding'](_0x2c9ee8){const _0x57fa1d=_0x2c9ee8[0x0],_0x145955=_0x57fa1d[0x0],_0x20130e=_0x57fa1d[0x2],{x:_0x411ff1,y:_0x5e4836}=_0x145955,{x:_0x2bae39,y:_0x22b7f2}=_0x20130e;return{'left':_0x411ff1,'top':_0x5e4836,'width':_0x2bae39-_0x411ff1,'height':_0x22b7f2-_0x5e4836};}[_0x40fc9b(0x265)](){const _0x4a9e40=_0x40fc9b,{scaleX:_0xaa3124,scaleY:_0x42edce}=this[_0x4a9e40(0x193)][_0x4a9e40(0x330)]();return Math['max'](_0xaa3124,_0x42edce);}}var _0x17c846=Object[_0x40fc9b(0x251)],_0x149ee2=(_0x392005,_0x24f6ad,_0x298259,_0x4e79ae)=>{const _0x5295ce=_0x40fc9b;for(var _0x483311=_0x4e79ae>0x1?void 0x0:_0x4e79ae?_0x17c846(_0x24f6ad,_0x298259):_0x24f6ad,_0x1633d9=_0x392005[_0x5295ce(0x35c)]-0x1,_0x1299c7;_0x1633d9>=0x0;_0x1633d9--)(_0x1299c7=_0x392005[_0x1633d9])&&(_0x483311=_0x1299c7(_0x483311)||_0x483311);return _0x483311;},_0x110a1b=(_0x232eae,_0x3c0882)=>(_0x2fbd28,_0x191c1a)=>_0x3c0882(_0x2fbd28,_0x191c1a,_0x232eae);let _0x5ec101=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x416ae8,_0x1a5bda,_0x1c027b,_0x3ce7ed,_0x4c971e){const _0x5202c4=_0x40fc9b;super(),_0x166045(this,_0x5202c4(0x153),[]),_0x166045(this,_0x5202c4(0x169),[]),(this['_context']=_0x416ae8,this[_0x5202c4(0x213)]=_0x1a5bda,this['_collabCursorController']=_0x1c027b,this[_0x5202c4(0x35e)]=_0x3ce7ed,this['_themeService']=_0x4c971e,this[_0x5202c4(0x263)]());}[_0x40fc9b(0x263)](){const _0x23d3b7=_0x40fc9b,_0x41d7d3=this[_0x23d3b7(0x1ed)][_0x23d3b7(0x1c6)],_0x56ef0c=this[_0x23d3b7(0x213)];this[_0x23d3b7(0x219)](_0x172b9a[_0x23d3b7(0x18c)]([this[_0x23d3b7(0x206)][_0x23d3b7(0x14c)](_0x41d7d3),this[_0x23d3b7(0x27d)][_0x23d3b7(0x1fd)]])[_0x23d3b7(0x1d3)](_0x353212[_0x23d3b7(0x1bc)](([_0x3bd799,_0x336226])=>({'skeleton':_0x56ef0c[_0x23d3b7(0x28b)](),'cursors':[..._0x3bd799[_0x23d3b7(0x1c3)]()]['flatMap'](_0x3d92c1=>({..._0x3d92c1,'color':this['_themeService']['getColorFromTheme'](_0x3d92c1[_0x23d3b7(0x112)])}))})))[_0x23d3b7(0x2a1)](_0x160eb1=>{const _0x56ff94=_0x23d3b7;if(this[_0x56ff94(0x39f)](),_0x160eb1){const {skeleton:_0xef2bfd,cursors:_0x2e1141}=_0x160eb1;this[_0x56ff94(0x1ff)](_0xef2bfd,_0x2e1141);}})),this[_0x23d3b7(0x199)](),this['_initCommandExecutedListener']();}[_0x40fc9b(0x1ff)](_0x5b5891,_0x5e4579){const _0x5d6bad=_0x40fc9b,{scene:_0xb5cad2,mainComponent:_0x54a029}=this['_context'],_0x23b5a9=_0x5e4579[_0x5d6bad(0x1bc)](_0x5aa05e=>new _0x382299(_0x5aa05e,_0xb5cad2,_0x5b5891,_0x54a029));this['_cursorShapes']=_0x23b5a9,this[_0x5d6bad(0x169)]=_0x5e4579;}[_0x40fc9b(0x33f)](){const _0x457c42=_0x40fc9b;this[_0x457c42(0x39f)]();const {scene:_0x514a76,mainComponent:_0x34af06}=this[_0x457c42(0x1ed)],_0x1fe2e0=this[_0x457c42(0x213)][_0x457c42(0x28b)](),_0xf229e5=this[_0x457c42(0x169)][_0x457c42(0x1bc)](_0x45e4ef=>new _0x382299(_0x45e4ef,_0x514a76,_0x1fe2e0,_0x34af06));this[_0x457c42(0x153)]=_0xf229e5;}[_0x40fc9b(0x39f)](){const _0x30c872=_0x40fc9b;this['_cursorShapes'][_0x30c872(0x1a5)](_0xa1f533=>_0xa1f533['dispose']()),this[_0x30c872(0x153)]=[];}[_0x40fc9b(0x2aa)](){const _0x25145c=_0x40fc9b,_0x7d2e5=[_0x55f3bb[_0x25145c(0x167)]['id']];this[_0x25145c(0x219)](this[_0x25145c(0x35e)][_0x25145c(0x2e4)](_0x54c253=>{const _0x23d3ac=_0x25145c;_0x7d2e5[_0x23d3ac(0x34c)](_0x54c253['id'])&&_0x54c253[_0x23d3ac(0x1be)][_0x23d3ac(0x1c6)]===this['_context']['unitId']&&this[_0x23d3ac(0x33f)]();}));}[_0x40fc9b(0x199)](){const _0x3a2955=_0x40fc9b;this[_0x3a2955(0x219)](_0x4680af['fromEventSubject'](this['_context']['engine'][_0x3a2955(0x222)])[_0x3a2955(0x1d3)](_0x353212['filter'](_0x58bec3=>_0x58bec3[_0x3a2955(0x131)]===_0x3d68e7[_0x3a2955(0x227)][_0x3a2955(0x152)]),_0x353212[_0x3a2955(0x387)](0x10))[_0x3a2955(0x2a1)](()=>{const _0x258dc2=_0x3a2955;this[_0x258dc2(0x33f)]();}));}};_0x5ec101=_0x149ee2([_0x110a1b(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4f8be8[_0x40fc9b(0x127)])),_0x110a1b(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x110a1b(0x3,_0x4680af['ICommandService']),_0x110a1b(0x4,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x5ec101);const _0x42505a=0x1,_0x3abb80=1.5;class _0x1576e2 extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0x227b85,_0x55efa7){const _0x1fd42c=_0x40fc9b;super(_0x227b85,_0x55efa7),_0x166045(this,_0x1fd42c(0x3ae)),_0x166045(this,_0x1fd42c(0x2d1),!0x1),_0x166045(this,_0x1fd42c(0x296)),_0x166045(this,_0x1fd42c(0x144),''),_0x166045(this,'_labelPosition',_0x1fd42c(0x311)),_0x166045(this,_0x1fd42c(0x242)),(_0x55efa7&&this[_0x1fd42c(0x12b)](_0x55efa7),this[_0x1fd42c(0x30c)]['subscribeEvent'](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1fd42c(0x10c)](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x1})));}[_0x40fc9b(0x12b)](_0x1202af){const _0x19d5eb=_0x40fc9b;var _0x411e31,_0x3cb629,_0x232bef,_0x2ac8c,_0x19e8eb,_0xe2d7c0;this[_0x19d5eb(0x3ae)]=(_0x411e31=_0x1202af['color'])!=null?_0x411e31:this[_0x19d5eb(0x3ae)],this['_hovered']=(_0x3cb629=_0x1202af[_0x19d5eb(0x350)])!=null?_0x3cb629:this[_0x19d5eb(0x2d1)],this[_0x19d5eb(0x296)]=(_0x232bef=_0x1202af[_0x19d5eb(0x2c7)])!=null?_0x232bef:this['_range'],this[_0x19d5eb(0x144)]=(_0x2ac8c=_0x1202af[_0x19d5eb(0x211)])!=null?_0x2ac8c:this[_0x19d5eb(0x144)],this['_labelPosition']=(_0x19e8eb=_0x1202af['labelPosition'])!=null?_0x19e8eb:this[_0x19d5eb(0x356)],this[_0x19d5eb(0x242)]=(_0xe2d7c0=_0x1202af['backgroundColor'])!=null?_0xe2d7c0:this['_backgroundColor'],this[_0x19d5eb(0x2b3)]({'width':_0x1202af['width'],'height':_0x1202af[_0x19d5eb(0x137)]});}['onMouseMove'](_0x2f8e1b){const _0xac806d=_0x40fc9b,{row:_0x3fe9eb,column:_0x3d06ac}=_0x2f8e1b;if(_0x3fe9eb>=this['_range'][_0xac806d(0x148)]&&_0x3fe9eb<=this[_0xac806d(0x296)][_0xac806d(0x3b5)]&&_0x3d06ac>=this[_0xac806d(0x296)][_0xac806d(0x333)]&&_0x3d06ac<=this[_0xac806d(0x296)]['endColumn']){this[_0xac806d(0x12b)]({'hovered':!0x0});return;}this[_0xac806d(0x12b)]({'hovered':!0x1});}[_0x40fc9b(0x14a)](_0x4b3c9e){return!0x1;}[_0x40fc9b(0x1c7)](_0x5e57eb){const _0x5b034f=_0x40fc9b;_0x3d68e7[_0x5b034f(0x21c)]['drawWith'](_0x5e57eb,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3abb80,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5b034f(0x242)]}),this[_0x5b034f(0x2d1)]&&(_0x5e57eb[_0x5b034f(0x31e)](),_0x5e57eb[_0x5b034f(0x1b2)](0x1,0x0,0x0,0x1,this[_0x5b034f(0x16d)],this[_0x5b034f(0x356)]===_0x5b034f(0x18a)?0x0:-_0x1daaf4),_0x218e2e['drawWith'](_0x5e57eb,{'text':this[_0x5b034f(0x144)],'color':this['_color']}),_0x5e57eb['restore']());}}var _0x186a87=Object[_0x40fc9b(0x251)],_0x4151d5=(_0x2c31b3,_0x2fc06e,_0x40e3ae,_0x97fb52)=>{const _0x51ccbe=_0x40fc9b;for(var _0x1a38b5=_0x97fb52>0x1?void 0x0:_0x97fb52?_0x186a87(_0x2fc06e,_0x40e3ae):_0x2fc06e,_0x2f50c6=_0x2c31b3[_0x51ccbe(0x35c)]-0x1,_0x537d27;_0x2f50c6>=0x0;_0x2f50c6--)(_0x537d27=_0x2c31b3[_0x2f50c6])&&(_0x1a38b5=_0x537d27(_0x1a38b5)||_0x1a38b5);return _0x1a38b5;},_0x106f2c=(_0x1c4694,_0x550c4e)=>(_0x1714a7,_0x1d3572)=>_0x550c4e(_0x1714a7,_0x1d3572,_0x1c4694);const _0x48e5c5=0x1389;let _0x433c42=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x5a2a0b,_0x3478e2,_0x349af5,_0x398254){const _0x245652=_0x40fc9b;super(),_0x166045(this,_0x245652(0x169),new Set()),_0x166045(this,'_lastPointer',null),(this['_context']=_0x5a2a0b,this[_0x245652(0x109)]=_0x3478e2,this[_0x245652(0x206)]=_0x349af5,this[_0x245652(0x27d)]=_0x398254,this['_init']());}[_0x40fc9b(0x263)](){const _0x389b82=_0x40fc9b;this[_0x389b82(0x109)]['currentSkeleton$']['pipe'](_0x353212[_0x389b82(0x385)](this[_0x389b82(0x2cb)]),_0x353212['switchMap'](_0x28aa2f=>{const _0xa33d08=_0x389b82;if(_0x28aa2f){const _0x32ae7a=_0x28aa2f['sheetId'];return _0x172b9a['combineLatest'](this[_0xa33d08(0x206)][_0xa33d08(0x14c)](this[_0xa33d08(0x1ed)]['unitId']),this[_0xa33d08(0x27d)][_0xa33d08(0x1fd)])[_0xa33d08(0x1d3)](_0x353212[_0xa33d08(0x1bc)](([_0x5d6363,_0x15baa1])=>{const _0x2f988a=_0xa33d08,_0x5904fd=new Map();return _0x5d6363[_0x2f988a(0x1a5)]((_0x5842c2,_0x6f9698)=>{const _0x20e7ed=_0x2f988a;if(_0x5842c2[_0x20e7ed(0x35d)]===_0x32ae7a){const _0x4f3a40={..._0x5842c2};_0x4f3a40['color']=this[_0x20e7ed(0x27d)][_0x20e7ed(0x19c)](_0x5842c2[_0x20e7ed(0x112)]),_0x5904fd[_0x20e7ed(0x210)](_0x6f9698,_0x4f3a40);}}),{'skeleton':_0x28aa2f,'cursors':_0x5904fd};}));}return _0x172b9a['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2c837d,cursors:_0x16da78})=>{const _0x3e48ee=_0x389b82;this[_0x3e48ee(0x39f)](),_0x2c837d&&this[_0x3e48ee(0x1ff)](_0x2c837d,_0x16da78);}),this[_0x389b82(0x109)][_0x389b82(0x2a8)][_0x389b82(0x2a1)](_0xdc574a=>{const _0x3ff87e=_0x389b82;if(_0xdc574a==null)return;const {skeleton:_0x3ff1a2}=_0xdc574a,{scene:_0x364b23}=this[_0x3ff87e(0x1ed)];_0x364b23[_0x3ff87e(0x258)][_0x3ff87e(0x10c)](_0x4680af[_0x3ff87e(0x332)](_0x1dfb3b=>{const _0x268dbf=_0x3ff87e;var _0x18ca46,_0x4a75f9;const {offsetX:_0x46aed7,offsetY:_0x14f387}=_0x1dfb3b,{x:_0x27e068,y:_0x1e7675}=_0x364b23['getRelativeToViewportCoord'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x46aed7,_0x14f387])),{scaleX:_0x57bb8b,scaleY:_0x3c0841}=_0x364b23['getAncestorScale'](),_0x1fa8ea=_0x364b23[_0x268dbf(0x30d)](_0x3d68e7['SHEET_VIEWPORT_KEY'][_0x268dbf(0x306)]),_0x11c6d5=_0x364b23['getVpScrollXYInfoByPosToVp'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x27e068,_0x1e7675]),_0x1fa8ea),_0x4f49b3=_0x3ff1a2[_0x268dbf(0x3b9)](_0x46aed7,_0x14f387,_0x57bb8b,_0x3c0841,_0x11c6d5);((_0x18ca46=this[_0x268dbf(0x30f)])==null?void 0x0:_0x18ca46[_0x268dbf(0x1db)])===_0x4f49b3['column']&&((_0x4a75f9=this['_lastPointer'])==null?void 0x0:_0x4a75f9['row'])===_0x4f49b3[_0x268dbf(0x2c1)]||this['_cursors'][_0x268dbf(0x1a5)](_0x55c481=>{const _0x19e2eb=_0x268dbf;_0x55c481[_0x19e2eb(0x27f)](_0x4f49b3);});},0x64));});}[_0x40fc9b(0x1ff)](_0x57297e,_0xd47e73){const _0x52bbc8=_0x40fc9b;var _0x5cb54;const _0x3d2a46=(_0x5cb54=this[_0x52bbc8(0x109)][_0x52bbc8(0x293)]())==null?void 0x0:_0x5cb54[_0x52bbc8(0x22d)];if(!_0x3d2a46)return;const _0x429db6=this['_getSheetObject']();if(!_0x429db6)return;this[_0x52bbc8(0x169)]['forEach'](_0x3bd9a8=>{const _0x4d8d5f=_0x52bbc8;_0x3bd9a8[_0x4d8d5f(0x172)]();});const {scene:_0x50e900}=_0x429db6,_0x31a91d=_0x4ab1b3(Array[_0x52bbc8(0x3b0)](_0xd47e73[_0x52bbc8(0x1c3)]()))[_0x52bbc8(0x1bc)](_0xe3adce=>{const _0x5db930=_0x52bbc8,{color:_0x5349dd,range:_0x238637,name:_0x46d254,selection:_0x4f82a9,sheetID:_0x26757a}=_0xe3adce,{startColumn:_0x1cc987,startRow:_0x519b68,endColumn:_0x16a43c,endRow:_0x925b04}=_0x238637,_0x73b24c=_0x3489ca[_0x5db930(0x2ce)](_0x519b68,_0x1cc987,_0x50e900,_0x3d2a46),_0x3ebb9c=_0x3489ca['getCoordByCell'](_0x925b04,_0x16a43c,_0x50e900,_0x3d2a46),{columnHeaderHeightAndMarginTop:_0x2acb55}=_0x3d2a46,{startX:_0x5f4f1b,startY:_0xdac1ba}=_0x73b24c,{endX:_0x594e48,endY:_0x4b6f9a}=_0x3ebb9c,_0x327638=_0x594e48-_0x5f4f1b,_0x5c302a=_0x4b6f9a-_0xdac1ba,_0xac9254={'labelPosition':_0xdac1ba-_0x2acb55>=_0x1daaf4?'top':_0x5db930(0x18a),'sheetID':_0x26757a,'range':_0x238637,'color':_0x5349dd,'name':_0x46d254,'selection':_0x4f82a9,'left':_0x5f4f1b,'top':_0xdac1ba,'width':_0x327638,'height':_0x5c302a,'evented':!0x1,'zIndex':_0x48e5c5};return new _0x1576e2(_0x46d254,_0xac9254);});_0x50e900[_0x52bbc8(0x1e1)](_0x31a91d,_0x42505a),this['_cursors']=new Set(_0x31a91d);}[_0x40fc9b(0x39f)](){const _0x38b811=_0x40fc9b;var _0x29f03f;(_0x29f03f=this[_0x38b811(0x169)])==null||_0x29f03f['forEach'](_0x2c1eb3=>_0x2c1eb3[_0x38b811(0x250)]());}[_0x40fc9b(0x238)](){const _0x1ab068=_0x40fc9b;return _0x3489ca[_0x1ab068(0x20a)](this[_0x1ab068(0x1ed)][_0x1ab068(0x25c)],this[_0x1ab068(0x1ed)]);}};_0x433c42=_0x4151d5([_0x106f2c(0x1,_0x4680af['Inject'](_0x3489ca[_0x40fc9b(0x352)])),_0x106f2c(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x106f2c(0x3,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x433c42);function _0x4ab1b3(_0x6a52d5){const _0xa0e994=_0x40fc9b,_0x13938b=new Map();return _0x6a52d5['forEach'](_0x2fb5e6=>{const _0x5c9f1c=_0x153f;if(_0x13938b[_0x5c9f1c(0x393)](_0x2fb5e6[_0x5c9f1c(0x33e)])){const _0x1f0238=_0x13938b[_0x5c9f1c(0x2f2)](_0x2fb5e6['selection']);_0x1f0238['name']+=',\x20'+_0x2fb5e6['name'];}else _0x13938b[_0x5c9f1c(0x210)](_0x2fb5e6[_0x5c9f1c(0x33e)],_0x2fb5e6);}),Array[_0xa0e994(0x3b0)](_0x13938b[_0xa0e994(0x1c3)]());}var _0x186db4=Object[_0x40fc9b(0x251)],_0x298306=(_0x3b66bb,_0x3bd5c4,_0x5833df,_0x1c4144)=>{for(var _0x24d8ee=_0x1c4144>0x1?void 0x0:_0x1c4144?_0x186db4(_0x3bd5c4,_0x5833df):_0x3bd5c4,_0x6368b7=_0x3b66bb['length']-0x1,_0xfd4fae;_0x6368b7>=0x0;_0x6368b7--)(_0xfd4fae=_0x3b66bb[_0x6368b7])&&(_0x24d8ee=_0xfd4fae(_0x24d8ee)||_0x24d8ee);return _0x24d8ee;},_0x25d7a6=(_0x59285c,_0xfecbbf)=>(_0x3839dd,_0x49d3fd)=>_0xfecbbf(_0x3839dd,_0x49d3fd,_0x59285c);let _0x55dfa9=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x27f130,_0x3e7d08,_0x116a96,_0x1b4fb2,_0x5aea06,_0x39391b){const _0x2a39df=_0x40fc9b;super(),this[_0x2a39df(0x29c)]=_0x27f130,this[_0x2a39df(0x1a6)]=_0x3e7d08,this['_collaborationUIEventService']=_0x116a96,this[_0x2a39df(0x375)]=_0x1b4fb2,this['_notificationService']=_0x5aea06,this[_0x2a39df(0x2cf)]=_0x39391b,this['_setupBeforeClosingHandler'](),this[_0x2a39df(0x282)]();}['_setupBeforeClosingHandler'](){const _0x19d6af=_0x40fc9b;this[_0x19d6af(0x219)](this[_0x19d6af(0x29c)][_0x19d6af(0x21d)](()=>{const _0x4f60a2=_0x19d6af;if(this[_0x4f60a2(0x1a6)][_0x4f60a2(0x2d3)][_0x4f60a2(0x174)])return this[_0x4f60a2(0x2cf)]['t'](_0x4f60a2(0x165));}));}[_0x40fc9b(0x282)](){const _0x36940c=_0x40fc9b;this[_0x36940c(0x219)](this[_0x36940c(0x184)][_0x36940c(0x2d9)][_0x36940c(0x2a1)](_0x1d5d34=>{const _0x404ce1=_0x36940c;_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)]['OTHER_CLIENT_EDITING']&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x284))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x35a)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x12e))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1df)]&&this[_0x404ce1(0x1af)][_0x404ce1(0x1b4)]({'title':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x1f8)),'content':this[_0x404ce1(0x2cf)]['t']('permission.content'),'type':_0x404ce1(0x111),'duration':0x0}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x2e7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this['_localeService']['t'](_0x404ce1(0x12e))+'('+_0x1d5d34['data']+')'}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x2bb)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x1d5d34[_0x404ce1(0x1e3)]||'')}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x3b7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x33d))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x104)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)]['Error'],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x241))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1ad)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this[_0x404ce1(0x2cf)]['t']('session.collaboration-timeout')});}));}};_0x55dfa9=_0x298306([_0x25d7a6(0x0,_0x38a45b['IBeforeCloseService']),_0x25d7a6(0x1,_0x191332[_0x40fc9b(0x281)]),_0x25d7a6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332['CollaborationUIEventService'])),_0x25d7a6(0x3,_0x38a45b['IMessageService']),_0x25d7a6(0x4,_0x38a45b[_0x40fc9b(0x331)]),_0x25d7a6(0x5,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x55dfa9);const _0x668921='collaboration-client-ui.config',_0x11ea6e={};var _0xafdd0a=Object[_0x40fc9b(0x251)],_0x88c3a8=(_0x258873,_0x5ab387,_0x301f0e,_0x477978)=>{const _0x4d1576=_0x40fc9b;for(var _0x185509=_0x477978>0x1?void 0x0:_0x477978?_0xafdd0a(_0x5ab387,_0x301f0e):_0x5ab387,_0x4639e9=_0x258873[_0x4d1576(0x35c)]-0x1,_0x4b981d;_0x4639e9>=0x0;_0x4639e9--)(_0x4b981d=_0x258873[_0x4639e9])&&(_0x185509=_0x4b981d(_0x185509)||_0x185509);return _0x185509;},_0x5d6ac2=(_0xd36e87,_0x962788)=>(_0xb1d0e2,_0x3ee059)=>_0x962788(_0xb1d0e2,_0x3ee059,_0xd36e87);let _0x22ee97=class{constructor(_0x3cea4b,_0x3a9b72){const _0x3f8e7d=_0x40fc9b;this[_0x3f8e7d(0x3b8)]=_0x3cea4b,this[_0x3f8e7d(0x14e)]=_0x3a9b72;}[_0x40fc9b(0x3b3)](_0x27c597){const _0x2657f6=_0x40fc9b;this[_0x2657f6(0x2db)](_0x27c597),this['_transformPreviousActiveRange'](_0x27c597);}[_0x40fc9b(0x276)](_0x5aa717){const _0x502604=_0x40fc9b,{unitID:_0x287fa3}=_0x5aa717,_0x120fd3=this[_0x502604(0x14e)][_0x502604(0x28a)](_0x287fa3)[_0x502604(0x1c2)](_0x55f3bb[_0x502604(0x28e)]),{redoCache:_0x350f74}=_0x120fd3[_0x502604(0x21b)]();if(_0x350f74[_0x502604(0x35c)]===0x0)return _0x5aa717;let _0x4d56c4=_0x4680af['Tools'][_0x502604(0x317)](_0x5aa717[_0x502604(0x24e)][0x0]);for(let _0x12f591=0x0;_0x12f591<_0x350f74[_0x502604(0x35c)];_0x12f591++){const _0x3868e7={'id':_0x502604(0x2fa),'params':{..._0x350f74[_0x12f591]}},_0x313729=this[_0x502604(0x3b8)][_0x502604(0x37d)](_0x4d56c4,_0x3868e7,!0x1);if(_0x680f14[_0x502604(0x2ab)](_0x313729))throw _0x313729[_0x502604(0x111)];_0x4d56c4=_0x313729['m1Prime'];}return{..._0x4680af[_0x502604(0x151)][_0x502604(0x317)](_0x5aa717),'mutations':[_0x4d56c4]};}[_0x40fc9b(0x2db)](_0x5e38e7){const _0x2df550=_0x40fc9b,{unitID:_0x50b1b7}=_0x5e38e7,_0x2d985e=this[_0x2df550(0x14e)]['getRenderById'](_0x50b1b7)[_0x2df550(0x1c2)](_0x55f3bb[_0x2df550(0x28e)]),{undoCache:_0x56d840,redoCache:_0x5a6bc9}=_0x2d985e[_0x2df550(0x21b)]();if(_0x56d840[_0x2df550(0x35c)]===0x0||_0x5a6bc9[_0x2df550(0x35c)]===0x0)return;const _0x1cef73=[],_0x32a83b=[];let _0x51528e=_0x4680af['Tools']['deepClone'](_0x5e38e7['mutations'][0x0]),_0x189a8e=_0x4680af['Tools'][_0x2df550(0x317)](_0x5e38e7[_0x2df550(0x24e)][0x0]);for(let _0x25759b=_0x56d840['length']-0x1;_0x25759b>=0x0;_0x25759b--){const _0x2edb71={'id':_0x2df550(0x2fa),'params':{..._0x56d840[_0x25759b]}},_0x866c4a={'id':_0x2df550(0x2fa),'params':{..._0x5a6bc9[_0x25759b]}},_0xff7f90=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x51528e,_0x2edb71,!0x1),_0x351dc5=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x189a8e,_0x866c4a,!0x1);if(_0x680f14['isTransformMutationFailure'](_0xff7f90))throw _0xff7f90['error'];if(_0x680f14[_0x2df550(0x2ab)](_0x351dc5))throw _0x351dc5[_0x2df550(0x111)];_0x1cef73['unshift'](_0xff7f90[_0x2df550(0x336)][_0x2df550(0x1be)]),_0x32a83b[_0x2df550(0x22c)](_0x351dc5['m2Prime'][_0x2df550(0x1be)]),_0x51528e=_0xff7f90[_0x2df550(0x283)],_0x189a8e=_0x351dc5[_0x2df550(0x283)];}_0x2d985e[_0x2df550(0x347)]({'undoCache':_0x1cef73,'redoCache':_0x32a83b});}[_0x40fc9b(0x38f)](_0x1c9c53){const _0x53d78b=_0x40fc9b,{unitID:_0x17fee5}=_0x1c9c53,_0x46014a=this[_0x53d78b(0x14e)]['getRenderById'](_0x17fee5)[_0x53d78b(0x1c2)](_0x55f3bb[_0x53d78b(0x28e)]),_0x3f102d=_0x46014a[_0x53d78b(0x1ea)]();if(_0x3f102d==null)return;const _0x106bb5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c9c53[_0x53d78b(0x1d7)],'actions':null,'textRanges':[_0x3f102d]}}],_0x390faa=this[_0x53d78b(0x3b8)]['transformMutationsWithChangeset'](_0x1c9c53,_0x106bb5);if(!_0x680f14[_0x53d78b(0x277)](_0x390faa))throw _0x390faa['error'];const _0x265a7a=_0x390faa[_0x53d78b(0x336)][0x0][_0x53d78b(0x1be)][_0x53d78b(0x21e)];Array['isArray'](_0x265a7a)&&_0x265a7a[_0x53d78b(0x35c)]&&_0x46014a['setActiveRange'](_0x265a7a[0x0]);}};_0x22ee97=_0x88c3a8([_0x5d6ac2(0x0,_0x680f14['ITransformService']),_0x5d6ac2(0x1,_0x3d68e7['IRenderManagerService'])],_0x22ee97);var _0x39d5e8=Object['getOwnPropertyDescriptor'],_0x5ccbab=(_0x29cd7a,_0x1286ae,_0x1b01ff,_0x529ecf)=>{const _0xeb141a=_0x40fc9b;for(var _0x50e8c2=_0x529ecf>0x1?void 0x0:_0x529ecf?_0x39d5e8(_0x1286ae,_0x1b01ff):_0x1286ae,_0x478b91=_0x29cd7a[_0xeb141a(0x35c)]-0x1,_0x2ba2b0;_0x478b91>=0x0;_0x478b91--)(_0x2ba2b0=_0x29cd7a[_0x478b91])&&(_0x50e8c2=_0x2ba2b0(_0x50e8c2)||_0x50e8c2);return _0x50e8c2;},_0x2d7fe6=(_0x358035,_0x4d9572)=>(_0x33a57f,_0x4ff873)=>_0x4d9572(_0x33a57f,_0x4ff873,_0x358035);let _0xb3d4fd=class{constructor(_0x356077,_0xe54c86,_0x275059){const _0x5c3e77=_0x40fc9b;this[_0x5c3e77(0x101)]=_0x356077,this[_0x5c3e77(0x3b8)]=_0xe54c86,this[_0x5c3e77(0x18b)]=_0x275059;}[_0x40fc9b(0x2c5)](_0x1f09d4){const _0x2f22b2=_0x40fc9b;this[_0x2f22b2(0x39e)](_0x1f09d4);}[_0x40fc9b(0x276)](_0x7e0c01){const _0x444266=_0x40fc9b,{unitID:_0x1f4f1e}=_0x7e0c01,{collaboration:_0x50b13c}=this[_0x444266(0x18b)]['getStateCache'](_0x1f4f1e);if(_0x50b13c[_0x444266(0x35c)]===0x0)return _0x7e0c01;let _0x4b1a9e=_0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01[_0x444266(0x24e)][0x0]);for(let _0x2923af=0x0;_0x2923af<_0x50b13c[_0x444266(0x35c)];_0x2923af++){const _0x5815c3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b13c[_0x2923af][_0x444266(0x1c6)],..._0x50b13c[_0x2923af][_0x444266(0x337)]}},_0x2f9a19=this[_0x444266(0x3b8)]['transformMutation'](_0x4b1a9e,_0x5815c3,!0x1);if(_0x680f14[_0x444266(0x2ab)](_0x2f9a19))throw _0x2f9a19['error'];_0x4b1a9e=_0x2f9a19[_0x444266(0x283)];}return{..._0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01),'mutations':[_0x4b1a9e]};}[_0x40fc9b(0x39e)](_0x3681cd){const _0x7f2218=_0x40fc9b,{unitID:_0x15eb23}=_0x3681cd,{history:_0x10906a,collaboration:_0x121f0f}=this[_0x7f2218(0x18b)]['getStateCache'](_0x15eb23);if(_0x10906a[_0x7f2218(0x35c)]===0x0&&_0x121f0f[_0x7f2218(0x35c)]===0x0)return;const _0x318f6a=[],_0x308564=[];let _0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)]['deepClone'](_0x3681cd[_0x7f2218(0x24e)][0x0]);for(let _0x440b98=_0x10906a['length']-0x1;_0x440b98>=0x0;_0x440b98--){const _0x1582d6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x19e)]}},_0x511262={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x337)]}},_0x25eea0=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x1582d6,!0x1),_0x380dad=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x3cdaf9,_0x511262,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x25eea0))throw _0x25eea0[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x380dad))throw _0x380dad[_0x7f2218(0x111)];_0x318f6a[_0x7f2218(0x22c)]({..._0x10906a[_0x440b98],'undoState':_0x25eea0['m2Prime']['params'],'redoState':_0x380dad[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0x25eea0[_0x7f2218(0x283)],_0x3cdaf9=_0x380dad['m1Prime'];}_0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd['mutations'][0x0]);for(let _0x2daa0e=_0x121f0f['length']-0x1;_0x2daa0e>=0x0;_0x2daa0e--){const _0x15198b={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x19e)]}},_0x409042={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x337)]}},_0xc5d437=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x15198b,!0x1),_0x2a6097=this['_transformService']['transformMutation'](_0x3cdaf9,_0x409042,!0x1);if(_0x680f14[_0x7f2218(0x2ab)](_0xc5d437))throw _0xc5d437[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x2a6097))throw _0x2a6097[_0x7f2218(0x111)];_0x308564[_0x7f2218(0x22c)]({..._0x121f0f[_0x2daa0e],'undoState':_0xc5d437['m2Prime'][_0x7f2218(0x1be)],'redoState':_0x2a6097[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0xc5d437[_0x7f2218(0x283)],_0x3cdaf9=_0x2a6097[_0x7f2218(0x283)];}this[_0x7f2218(0x18b)][_0x7f2218(0x100)](_0x15eb23,{'history':_0x318f6a,'collaboration':_0x308564});}};_0xb3d4fd=_0x5ccbab([_0x2d7fe6(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x2d7fe6(0x1,_0x680f14[_0x40fc9b(0x2f1)]),_0x2d7fe6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x55f3bb['DocStateChangeManagerService']))],_0xb3d4fd);var _0x4f5880=Object[_0x40fc9b(0x251)],_0x25be11=(_0x282bfa,_0x2767eb,_0x11fd66,_0x121f86)=>{const _0x2d3ae3=_0x40fc9b;for(var _0x41e7fb=_0x121f86>0x1?void 0x0:_0x121f86?_0x4f5880(_0x2767eb,_0x11fd66):_0x2767eb,_0x1981df=_0x282bfa[_0x2d3ae3(0x35c)]-0x1,_0x45d811;_0x1981df>=0x0;_0x1981df--)(_0x45d811=_0x282bfa[_0x1981df])&&(_0x41e7fb=_0x45d811(_0x41e7fb)||_0x41e7fb);return _0x41e7fb;},_0x242b9e=(_0x4d3a81,_0x3f2bae)=>(_0x2cdda8,_0x4d62b3)=>_0x3f2bae(_0x2cdda8,_0x4d62b3,_0x4d3a81);let _0x37e093=class{constructor(_0x1453c3,_0x2348dc){const _0xa4a446=_0x40fc9b;this[_0xa4a446(0x101)]=_0x1453c3,this[_0xa4a446(0x3b8)]=_0x2348dc;}[_0x40fc9b(0x34e)](_0x1831e4){const _0x5af261=_0x40fc9b;var _0xcb0b03;const _0x246cf0=this['_injector'][_0x5af261(0x2f2)](_0x4f8be8[_0x5af261(0x2b2)]),_0x1b3366=(_0xcb0b03=_0x246cf0[_0x5af261(0x1e7)]())!=null?_0xcb0b03:[];if(_0x1b3366[_0x5af261(0x35c)]===0x0)return;const _0x5b4474=_0x1831e4[_0x5af261(0x1d7)],_0x4d1178=[{'id':_0x5af261(0x2fa),'params':{'unitId':_0x5b4474,'actions':null,'textRanges':_0x1b3366}}],_0x56432b=this[_0x5af261(0x3b8)][_0x5af261(0x229)](_0x1831e4,_0x4d1178);if(!_0x680f14[_0x5af261(0x277)](_0x56432b))throw _0x56432b[_0x5af261(0x111)];const _0x9a55a2=_0x56432b['m2Prime'][0x0][_0x5af261(0x1be)][_0x5af261(0x21e)];Array[_0x5af261(0x32e)](_0x9a55a2)&&_0x9a55a2[_0x5af261(0x35c)]&&_0x246cf0[_0x5af261(0x1d9)](_0x9a55a2,{'unitId':_0x5b4474,'subUnitId':_0x5b4474},!0x1);}};_0x37e093=_0x25be11([_0x242b9e(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x242b9e(0x1,_0x680f14[_0x40fc9b(0x2f1)])],_0x37e093);var _0x135a73=Object[_0x40fc9b(0x251)],_0x20aa9e=(_0x409788,_0x49b44f,_0x59a58f,_0x596156)=>{for(var _0xe6a9cf=_0x596156>0x1?void 0x0:_0x596156?_0x135a73(_0x49b44f,_0x59a58f):_0x49b44f,_0xd3779a=_0x409788['length']-0x1,_0x1fe32a;_0xd3779a>=0x0;_0xd3779a--)(_0x1fe32a=_0x409788[_0xd3779a])&&(_0xe6a9cf=_0x1fe32a(_0xe6a9cf)||_0xe6a9cf);return _0xe6a9cf;},_0x4b6230=(_0x43ccf2,_0x4f96ef)=>(_0x5aeab0,_0x4fee8f)=>_0x4f96ef(_0x5aeab0,_0x4fee8f,_0x43ccf2);let _0x5d3063=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x9c49d9,_0x52c0d0,_0x466a69,_0x131588,_0x1d323d,_0x4cfe5c,_0x4daae1,_0x2805f3){const _0x20f597=_0x40fc9b;super(),_0x166045(this,'_status$',new _0x172b9a[(_0x20f597(0x119))](_0x191332[_0x20f597(0x303)][_0x20f597(0x1fc)])),(this[_0x20f597(0x18b)]=_0x9c49d9,this[_0x20f597(0x2ba)]=_0x52c0d0,this[_0x20f597(0x27c)]=_0x466a69,this[_0x20f597(0x1eb)]=_0x131588,this['_docTransformSelectionsService']=_0x1d323d,this['_docSyncEditingCollabCursorService']=_0x4cfe5c,this[_0x20f597(0x375)]=_0x4daae1,this[_0x20f597(0x2cf)]=_0x2805f3,this[_0x20f597(0x1da)]());}[_0x40fc9b(0x1da)](){const _0x52996e=_0x40fc9b;this[_0x52996e(0x219)](this[_0x52996e(0x2ba)][_0x52996e(0x2f8)][_0x52996e(0x2a1)](_0x5f0469=>{const _0xebef28=_0x52996e,_0x1e9a75=this[_0xebef28(0x18b)]['docStateChange$'][_0xebef28(0x2a1)](_0x2c3465=>{const _0x579bee=_0xebef28;if(_0x2c3465==null)return;const {unitId:_0x540a9a,redoState:_0x34f198,commandId:_0x321b78}=_0x2c3465;if(_0x540a9a!==_0x5f0469['unitID'])return;const _0x52dfec={'id':_0x321b78,'type':_0x4680af[_0x579bee(0x205)][_0x579bee(0x218)],'params':{'unitId':_0x540a9a,'actions':_0x34f198[_0x579bee(0x156)],'textRanges':null}};_0x5f0469[_0x579bee(0x395)](_0x52dfec);});if(_0x5f0469[_0xebef28(0x219)](_0x1e9a75),_0x5f0469 instanceof _0x191332['DocCollaborationEntity']){const _0x58261c={'onTransformIME':_0x544145=>this[_0xebef28(0x27c)]['transformIMECache'](_0x544145),'onTransformState':_0x489764=>this[_0xebef28(0x1eb)][_0xebef28(0x2c5)](_0x489764),'onTransformSelections':_0x4ff60a=>this[_0xebef28(0x24f)][_0xebef28(0x34e)](_0x4ff60a),'onSyncEditingCollabCursor':_0x476588=>this['_docSyncEditingCollabCursorService'][_0xebef28(0x1e4)](_0x476588),'onTransformRemoteChangesetByIMECache':_0x2c5dd9=>this[_0xebef28(0x27c)][_0xebef28(0x276)](_0x2c5dd9),'onTransformRemoteChangesetByStateCache':_0x2080b5=>this[_0xebef28(0x1eb)]['transformRemoteChangeset'](_0x2080b5)};_0x5f0469[_0xebef28(0x2d5)](_0x58261c);}}));}};_0x5d3063=_0x20aa9e([_0x4b6230(0x0,_0x4680af['Inject'](_0x55f3bb[_0x40fc9b(0x2b0)])),_0x4b6230(0x1,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x4b6230(0x2,_0x4680af[_0x40fc9b(0x203)](_0x22ee97)),_0x4b6230(0x3,_0x4680af['Inject'](_0xb3d4fd)),_0x4b6230(0x4,_0x4680af[_0x40fc9b(0x203)](_0x37e093)),_0x4b6230(0x5,_0x4680af['Inject'](_0x5ac381)),_0x4b6230(0x6,_0x38a45b['IMessageService']),_0x4b6230(0x7,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2ec)]))],_0x5d3063);var _0x40f27c=(_0x53b353=>(_0x53b353[_0x53b353[_0x40fc9b(0x21f)]=0x0]='UNDEFINED',_0x53b353[_0x53b353['OK']=0x1]='OK',_0x53b353[_0x53b353[_0x40fc9b(0x37a)]=0x2]=_0x40fc9b(0x37a),_0x53b353[_0x53b353[_0x40fc9b(0x1df)]=0x3]=_0x40fc9b(0x1df),_0x53b353[_0x53b353[_0x40fc9b(0x2f5)]=0x4]=_0x40fc9b(0x2f5),_0x53b353[_0x53b353[_0x40fc9b(0x1ab)]=0x5]=_0x40fc9b(0x1ab),_0x53b353[_0x53b353[_0x40fc9b(0x24c)]=0x6]=_0x40fc9b(0x24c),_0x53b353[_0x53b353[_0x40fc9b(0x221)]=0x7]=_0x40fc9b(0x221),_0x53b353[_0x53b353[_0x40fc9b(0x235)]=0x8]=_0x40fc9b(0x235),_0x53b353[_0x53b353['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x53b353[_0x53b353[_0x40fc9b(0x1c1)]=0xa]=_0x40fc9b(0x1c1),_0x53b353[_0x53b353[_0x40fc9b(0x399)]=0xb]=_0x40fc9b(0x399),_0x53b353[_0x53b353[_0x40fc9b(0x308)]=0xc]=_0x40fc9b(0x308),_0x53b353[_0x53b353[_0x40fc9b(0x14b)]=0xd]=_0x40fc9b(0x14b),_0x53b353[_0x53b353[_0x40fc9b(0x103)]=0xe]=_0x40fc9b(0x103),_0x53b353[_0x53b353[_0x40fc9b(0x1f7)]=0xf]=_0x40fc9b(0x1f7),_0x53b353[_0x53b353['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x53b353[_0x53b353[_0x40fc9b(0x2d6)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x53b353[_0x53b353[_0x40fc9b(0x1d0)]=0x65]=_0x40fc9b(0x1d0),_0x53b353[_0x53b353[_0x40fc9b(0x1fa)]=0xc9]=_0x40fc9b(0x1fa),_0x53b353[_0x53b353['USER_IS_ANONYMOUS']=0xca]=_0x40fc9b(0x135),_0x53b353[_0x53b353[_0x40fc9b(0x11f)]=0x1389]=_0x40fc9b(0x11f),_0x53b353[_0x53b353['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x53b353[_0x53b353[_0x40fc9b(0x31f)]=0x1772]=_0x40fc9b(0x31f),_0x53b353[_0x53b353[_0x40fc9b(0x2d7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53b353[_0x53b353['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x53b353[_0x53b353['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x40fc9b(0x39d),_0x53b353[_0x53b353[_0x40fc9b(0x14d)]=0x1b5b]=_0x40fc9b(0x14d),_0x53b353[_0x53b353[_0x40fc9b(0x374)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x53b353[_0x53b353[_0x40fc9b(0x154)]=0x1b5d]='APPLY_DUPLICATED',_0x53b353[_0x53b353[_0x40fc9b(0x2b6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53b353[_0x53b353[_0x40fc9b(0x290)]=0x2329]=_0x40fc9b(0x290),_0x53b353[_0x53b353['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53b353[_0x53b353[_0x40fc9b(0x24a)]=0x232b]=_0x40fc9b(0x24a),_0x53b353[_0x53b353['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40fc9b(0x13e),_0x53b353[_0x53b353['LICENSE_DISTRO_REJECTED']=0x232d]=_0x40fc9b(0x355),_0x53b353[_0x53b353[_0x40fc9b(0x3af)]=0x2711]=_0x40fc9b(0x3af),_0x53b353[_0x53b353['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40fc9b(0x1b6),_0x53b353[_0x53b353[_0x40fc9b(0x233)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53b353[_0x53b353[_0x40fc9b(0x312)]=0x2714]=_0x40fc9b(0x312),_0x53b353[_0x53b353['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x40fc9b(0x125),_0x53b353[_0x53b353['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x40fc9b(0x348),_0x53b353[_0x53b353[_0x40fc9b(0x217)]=0x271c]=_0x40fc9b(0x217),_0x53b353[_0x53b353['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x53b353[_0x53b353[_0x40fc9b(0x318)]=0x271e]=_0x40fc9b(0x318),_0x53b353[_0x53b353['YUUMI_AI_RUN_FAILED']=0x271f]=_0x40fc9b(0x108),_0x53b353[_0x53b353['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x40fc9b(0x12c),_0x53b353[_0x53b353[_0x40fc9b(0x338)]=0x2af9]=_0x40fc9b(0x338),_0x53b353[_0x53b353[_0x40fc9b(0x2e5)]=0x2ee1]=_0x40fc9b(0x2e5),_0x53b353[_0x53b353[_0x40fc9b(0x377)]=0x2ee2]=_0x40fc9b(0x377),_0x53b353[_0x53b353['INVITE_CODE_REQUIRED']=0x2ee3]=_0x40fc9b(0x2d2),_0x53b353[_0x53b353[_0x40fc9b(0x2b1)]=0x2ee4]=_0x40fc9b(0x2b1),_0x53b353[_0x53b353[_0x40fc9b(0x29a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53b353[_0x53b353[_0x40fc9b(0x14f)]=0x32c9]=_0x40fc9b(0x14f),_0x53b353[_0x53b353[_0x40fc9b(0x134)]=0x32ca]=_0x40fc9b(0x134),_0x53b353[_0x53b353[_0x40fc9b(0x1d6)]=0x32cb]=_0x40fc9b(0x1d6),_0x53b353[_0x53b353[_0x40fc9b(0x220)]=0x36b1]=_0x40fc9b(0x220),_0x53b353[_0x53b353[_0x40fc9b(0x162)]=0x36b2]=_0x40fc9b(0x162),_0x53b353[_0x53b353['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x53b353[_0x53b353['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x40fc9b(0x36c),_0x53b353[_0x53b353[_0x40fc9b(0x12d)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x53b353[_0x53b353[_0x40fc9b(0x1d2)]=0x3716]=_0x40fc9b(0x1d2),_0x53b353[_0x53b353[_0x40fc9b(0x1fe)]=0x37dd]=_0x40fc9b(0x1fe),_0x53b353[_0x53b353[_0x40fc9b(0x341)]=0x3a99]=_0x40fc9b(0x341),_0x53b353[_0x53b353[_0x40fc9b(0x1cc)]=0x3a9a]=_0x40fc9b(0x1cc),_0x53b353[_0x53b353['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x40fc9b(0x33b),_0x53b353[_0x53b353[_0x40fc9b(0x140)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x53b353[_0x53b353[_0x40fc9b(0x164)]=0x3a9d]=_0x40fc9b(0x164),_0x53b353[_0x53b353['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x40fc9b(0x38c),_0x53b353[_0x53b353['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x53b353[_0x53b353['UNRECOGNIZED']=-0x1]=_0x40fc9b(0x1c5),_0x53b353))(_0x40f27c||{});function _0x22bd49(_0x857d01){const _0x1cca0f=_0x40fc9b;var _0x1568f7,_0x1106f0;const _0xcdf665=(_0x1568f7=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1568f7[_0x1cca0f(0x275)],_0x227f87=((_0x1106f0=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1106f0[_0x1cca0f(0x180)])||0x0;return _0xcdf665===_0x244a11[_0x1cca0f(0x177)][_0x1cca0f(0x346)]&&_0x227f87>0x0;}function _0x4a9bd7(_0x5e02e5){const _0x3fe796=_0x40fc9b;return _0x5e02e5[_0x3fe796(0x363)]===_0x244a11[_0x3fe796(0x1ca)]['SUCCESS'];}var _0x21a3e7=Object[_0x40fc9b(0x251)],_0x5468f4=(_0x3d8a32,_0x4e6064,_0x57f089,_0xab38f4)=>{const _0x26e17a=_0x40fc9b;for(var _0x4f619b=_0xab38f4>0x1?void 0x0:_0xab38f4?_0x21a3e7(_0x4e6064,_0x57f089):_0x4e6064,_0x58b643=_0x3d8a32[_0x26e17a(0x35c)]-0x1,_0x4ab89c;_0x58b643>=0x0;_0x58b643--)(_0x4ab89c=_0x3d8a32[_0x58b643])&&(_0x4f619b=_0x4ab89c(_0x4f619b)||_0x4f619b);return _0x4f619b;},_0x776d12=(_0xad9246,_0x5854af)=>(_0x15993c,_0x3ce381)=>_0x5854af(_0x15993c,_0x3ce381,_0xad9246);const _0x59dfe1=_0x40fc9b(0x2fc),_0x353414=_0x40fc9b(0x2c0),_0xde68e7='/universer-api/license/formula/limit/done';let _0x3405d6=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x4d3aa2,_0x5d0e8d,_0x177edc,_0x1854d4,_0x31e776,_0x189474,_0x3bdb59){const _0x5e91f0=_0x40fc9b;super(),_0x166045(this,'_pollingInterval',null),_0x166045(this,_0x5e91f0(0x257),0x0),_0x166045(this,_0x5e91f0(0x38a),0x0),_0x166045(this,_0x5e91f0(0x173),[]),_0x166045(this,_0x5e91f0(0x1f1),0x0),(this[_0x5e91f0(0x375)]=_0x4d3aa2,this[_0x5e91f0(0x35e)]=_0x5d0e8d,this[_0x5e91f0(0x2e8)]=_0x177edc,this[_0x5e91f0(0x15a)]=_0x1854d4,this['_univerInstanceService']=_0x31e776,this[_0x5e91f0(0x105)]=_0x189474,this[_0x5e91f0(0x2cf)]=_0x3bdb59,this[_0x5e91f0(0x1b5)]());}[_0x40fc9b(0x1b5)](){const _0x3fb61a=_0x40fc9b;this[_0x3fb61a(0x219)](this[_0x3fb61a(0x35e)]['beforeCommandExecuted']((_0x447905,_0x125bb5)=>{const _0x55e643=_0x3fb61a;if(_0x447905['id']!==_0x244a11['SetFormulaCalculationStartMutation']['id'])return;const _0x1c2147=_0x447905[_0x55e643(0x1be)];if(!this[_0x55e643(0x253)](_0x1c2147[_0x55e643(0x3b6)]))return;if(!this[_0x55e643(0x1b9)]())throw this[_0x55e643(0x247)](_0x447905,_0x125bb5),this[_0x55e643(0x25b)](),new _0x4680af[(_0x55e643(0x226))]();})),this[_0x3fb61a(0x219)](this['_commandService']['onCommandExecuted']((_0x1f393d,_0x1a10bc)=>{const _0xd10fc3=_0x3fb61a;if(_0x1f393d['id']!==_0x244a11[_0xd10fc3(0x288)]['id'])return;const _0x3d7174=_0x1f393d[_0xd10fc3(0x1be)];if(_0x22bd49(_0x3d7174)){const _0x5e60c7=_0x4680af['generateRandomId']();this[_0xd10fc3(0x173)][_0xd10fc3(0x2c3)](_0x5e60c7),this[_0xd10fc3(0x271)](_0x5e60c7);}else{if(_0x4a9bd7(_0x3d7174)&&this[_0xd10fc3(0x173)]['length']>0x0){const _0x444b4d=this[_0xd10fc3(0x173)][_0xd10fc3(0x398)]();this[_0xd10fc3(0x2ee)](_0x444b4d);}}}));}['dispose'](){const _0x4ef3a9=_0x40fc9b;super['dispose'](),this[_0x4ef3a9(0x254)](),this['_taskIds']=[],this[_0x4ef3a9(0x38a)]=0x0,this[_0x4ef3a9(0x257)]=0x0,this[_0x4ef3a9(0x1f1)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x161ee3,_0x1acde9){const _0x334c9b=_0x40fc9b;for(let _0x387194=0x0;_0x387194<0x1e;_0x387194++)try{if(await this[_0x334c9b(0x246)](),this[_0x334c9b(0x1b9)]()){this['_applyCommand'](_0x161ee3,_0x1acde9),this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t'](_0x334c9b(0x26f)),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x22e)]});return;}await new Promise(_0x58593c=>{const _0x473b60=_0x334c9b;this[_0x473b60(0x178)]=window[_0x473b60(0x11a)](_0x58593c,0x3e8);});}catch(_0x46d330){this[_0x334c9b(0x105)][_0x334c9b(0x111)](_0x46d330);}this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t']('formula.calculation.unable'),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x1d8)]});}[_0x40fc9b(0x216)](_0x143927,_0x42c95e){const _0x28981c=_0x40fc9b;try{this[_0x28981c(0x35e)][_0x28981c(0x1c0)](_0x143927['id'],_0x143927[_0x28981c(0x1be)],_0x42c95e);}catch(_0x163234){this['_logService'][_0x28981c(0x111)](_0x163234);}}[_0x40fc9b(0x2c2)](_0xc189d,_0x332ccd){const _0x17fd0f=_0x40fc9b;_0x332ccd<this[_0x17fd0f(0x1f1)]||(this['_lastResponseTimestamp']=_0x332ccd,this[_0x17fd0f(0x257)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x2ac)]),this[_0x17fd0f(0x38a)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x36e)]));}async['_startCalculationLimit'](_0x50f3fc){const _0x485ea6=_0x40fc9b;var _0x95cee0,_0x3dea73;const _0x42b1a6=Date[_0x485ea6(0x231)]();try{const _0x3dfbbf=((_0x95cee0=this[_0x485ea6(0x2e8)][_0x485ea6(0x339)](_0x191332['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x95cee0[_0x485ea6(0x1f6)])||_0x353414,_0xc182c2=(await this['_httpService']['post'](_0x3dfbbf,{'body':JSON['stringify']({'taskId':_0x50f3fc})}))[_0x485ea6(0x259)];if(((_0x3dea73=_0xc182c2['error'])==null?void 0x0:_0x3dea73['code'])!==_0x40f27c['OK'])return;this[_0x485ea6(0x2c2)](_0xc182c2[_0x485ea6(0x122)],_0x42b1a6);}catch(_0x50bd08){this[_0x485ea6(0x105)]['error'](_0x50bd08);}}async[_0x40fc9b(0x246)](_0x4dd2e2){const _0x4fef59=_0x40fc9b;var _0x21d734,_0x25bafc;const _0x3a657d=Date[_0x4fef59(0x231)]();try{const _0x30f784=((_0x21d734=this['_configService'][_0x4fef59(0x339)](_0x191332[_0x4fef59(0x310)]))==null?void 0x0:_0x21d734['getformulaLimitStatusUrl'])||_0x59dfe1,_0x2a3a04=_0x4dd2e2?_0x30f784+_0x4fef59(0x185)+encodeURIComponent(_0x4dd2e2):_0x30f784,_0x24e504=(await this[_0x4fef59(0x15a)]['get'](_0x2a3a04))[_0x4fef59(0x259)];if(((_0x25bafc=_0x24e504[_0x4fef59(0x111)])==null?void 0x0:_0x25bafc[_0x4fef59(0x397)])!==_0x40f27c['OK'])return;this[_0x4fef59(0x2c2)](_0x24e504[_0x4fef59(0x122)],_0x3a657d);}catch(_0x50752b){this[_0x4fef59(0x105)]['error'](_0x50752b);}}async[_0x40fc9b(0x2ee)](_0x70ff15){const _0x58f569=_0x40fc9b;var _0x185f10,_0x5c1996;const _0x247ddd=Date[_0x58f569(0x231)]();try{const _0x23dccb=((_0x185f10=this[_0x58f569(0x2e8)][_0x58f569(0x339)](_0x191332[_0x58f569(0x310)]))==null?void 0x0:_0x185f10[_0x58f569(0x129)])||_0xde68e7,_0x263123=(await this[_0x58f569(0x15a)][_0x58f569(0x143)](_0x23dccb,{'body':JSON[_0x58f569(0x27a)]({'taskId':_0x70ff15})}))[_0x58f569(0x259)];if(((_0x5c1996=_0x263123[_0x58f569(0x111)])==null?void 0x0:_0x5c1996['code'])!==_0x40f27c['OK'])return;this[_0x58f569(0x2c2)](_0x263123['limitInfo'],_0x247ddd);}catch(_0x22fef1){this[_0x58f569(0x105)][_0x58f569(0x111)](_0x22fef1);}}[_0x40fc9b(0x1b9)](){const _0x2ac0f9=_0x40fc9b;return this[_0x2ac0f9(0x257)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2ac0f9(0x38a)]>0x0;}[_0x40fc9b(0x254)](){const _0x4917b4=_0x40fc9b;this[_0x4917b4(0x178)]&&(clearTimeout(this['_pollingInterval']),this[_0x4917b4(0x178)]=null);}['_showGuardMessage'](){const _0x3e4777=_0x40fc9b;this[_0x3e4777(0x375)][_0x3e4777(0x1b4)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x42eb8c['MessageType'][_0x3e4777(0x349)]});}[_0x40fc9b(0x253)](_0x399a8d){const _0x4deee6=_0x40fc9b;for(const _0x268447 of _0x399a8d){const {unitId:_0x4fc03e,sheetId:_0x3c0923,range:_0x2b5074}=_0x268447,_0x4b4a7a=this[_0x4deee6(0x20b)]['getUnit'](_0x4fc03e);if(!_0x4b4a7a)continue;const _0x3c4033=_0x4b4a7a['getSheetBySheetId'](_0x3c0923);if(!_0x3c4033)continue;const _0x3433c5=_0x3c4033[_0x4deee6(0x378)]();for(let _0x16ca8c=_0x2b5074['startRow'];_0x16ca8c<=_0x2b5074[_0x4deee6(0x3b5)];_0x16ca8c++)for(let _0x1378c0=_0x2b5074[_0x4deee6(0x333)];_0x1378c0<=_0x2b5074[_0x4deee6(0x2a4)];_0x1378c0++){const _0x52248e=_0x3433c5[_0x4deee6(0x38e)](_0x16ca8c,_0x1378c0);if(_0x52248e&&(_0x4680af[_0x4deee6(0x22a)](_0x52248e['f'])||_0x4680af[_0x4deee6(0x200)](_0x52248e['si'])))return!0x0;}}return!0x1;}};_0x3405d6=_0x5468f4([_0x776d12(0x0,_0x4680af[_0x40fc9b(0x203)](_0x38a45b['IMessageService'])),_0x776d12(0x1,_0x4680af['ICommandService']),_0x776d12(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x776d12(0x3,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x776d12(0x4,_0x4680af[_0x40fc9b(0x326)]),_0x776d12(0x5,_0x4680af['ILogService']),_0x776d12(0x6,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x3405d6);var _0x4ca121=Object['getOwnPropertyDescriptor'],_0x26e4b7=(_0x48736a,_0x99e8a5,_0x311d72,_0x2a60ed)=>{for(var _0xab4b0a=_0x2a60ed>0x1?void 0x0:_0x2a60ed?_0x4ca121(_0x99e8a5,_0x311d72):_0x99e8a5,_0x289a4c=_0x48736a['length']-0x1,_0x22d0f5;_0x289a4c>=0x0;_0x289a4c--)(_0x22d0f5=_0x48736a[_0x289a4c])&&(_0xab4b0a=_0x22d0f5(_0xab4b0a)||_0xab4b0a);return _0xab4b0a;},_0x48dd70=(_0x35b7d7,_0x5c2ff5)=>(_0x469710,_0x2cf5b4)=>_0x5c2ff5(_0x469710,_0x2cf5b4,_0x35b7d7);let _0x7ca7a4=class extends _0x4680af['Disposable']{constructor(_0x48caf2,_0x422457,_0x2bf18d){const _0x5d98e3=_0x40fc9b;super(),_0x166045(this,'_cachedData',new Map()),_0x166045(this,_0x5d98e3(0x237),new Map()),_0x166045(this,_0x5d98e3(0x202),!0x1),(this[_0x5d98e3(0x2e8)]=_0x48caf2,this[_0x5d98e3(0x1d1)]=_0x422457,this[_0x5d98e3(0x189)]=_0x2bf18d);}[_0x40fc9b(0x2bd)](){const _0x5eaf9e=_0x40fc9b;this[_0x5eaf9e(0x202)]=!0x0;}[_0x40fc9b(0x15e)](){const _0x1cf43d=_0x40fc9b;this[_0x1cf43d(0x202)]=!0x1;}get[_0x40fc9b(0x2d3)](){return this['_saveTaskMap'];}[_0x40fc9b(0x250)](){const _0x1f2747=_0x40fc9b;this[_0x1f2747(0x18d)]()[_0x1f2747(0x34f)](()=>super[_0x1f2747(0x250)]());}async['loadOfflineData'](_0x317050){const _0x3bbe3b=_0x40fc9b;return this['_disabled']?null:this[_0x3bbe3b(0x1d1)]['getItem'](_0x191332[_0x3bbe3b(0x244)](_0x317050));}async[_0x40fc9b(0x10e)](_0x3fc197,_0x583543){const _0x19425d=_0x40fc9b;return!!this[_0x19425d(0x1d1)][_0x19425d(0x370)](_0x3fc197,_0x583543);}['updateOfflineData'](_0x556250,_0x29395f,_0x1f60fb,_0xe6b01e){const _0xdb6669=_0x40fc9b,_0x433d8f=this[_0xdb6669(0x189)][_0xdb6669(0x25a)](_0x556250);this[_0xdb6669(0x26a)][_0xdb6669(0x210)](_0x556250,{'unitID':_0x556250,'type':_0x29395f,'awaitingChangeset':_0x1f60fb,'mutations':_0xe6b01e,'rev':_0x433d8f}),this[_0xdb6669(0x237)]['has'](_0x556250)||this[_0xdb6669(0x34d)](_0x556250);}[_0x40fc9b(0x34d)](_0x39f04c){const _0x4330df=_0x40fc9b,_0xa87973=this[_0x4330df(0x315)]();_0xa87973===0x0?this['_saveCache'](_0x39f04c):this['_saveTaskMap']['set'](_0x39f04c,setTimeout(()=>this[_0x4330df(0x30e)](_0x39f04c),_0xa87973));}[_0x40fc9b(0x315)](){const _0x2c71d2=_0x40fc9b;var _0x21e909;return(_0x21e909=this[_0x2c71d2(0x2e8)]['getConfig'](_0x191332['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x21e909:_0x191332[_0x2c71d2(0x11d)];}[_0x40fc9b(0x30e)](_0x459352){const _0x498f36=_0x40fc9b,_0x30dd62=this[_0x498f36(0x237)][_0x498f36(0x2f2)](_0x459352);return _0x30dd62!==void 0x0&&window[_0x498f36(0x3a4)](_0x30dd62),this[_0x498f36(0x1d1)][_0x498f36(0x370)](_0x191332['getLocalCacheKey'](_0x459352),this[_0x498f36(0x26a)]['get'](_0x459352))['then'](()=>this[_0x498f36(0x237)][_0x498f36(0x329)](_0x459352));}async[_0x40fc9b(0x18d)](){const _0x370b0f=_0x40fc9b,_0xa7a2f8=[];this['_saveTaskMap'][_0x370b0f(0x1a5)]((_0x43fe28,_0x28a852)=>{const _0x458be6=_0x370b0f;window[_0x458be6(0x3a4)](_0x43fe28),_0xa7a2f8[_0x458be6(0x2c3)](this[_0x458be6(0x30e)](_0x28a852)[_0x458be6(0x34f)](()=>{const _0x5300ce=_0x458be6;this[_0x5300ce(0x237)][_0x5300ce(0x329)](_0x28a852);}));}),await Promise['all'](_0xa7a2f8);}};_0x7ca7a4=_0x26e4b7([_0x48dd70(0x0,_0x4680af['IConfigService']),_0x48dd70(0x1,_0x4680af[_0x40fc9b(0x239)]),_0x48dd70(0x2,_0x4680af[_0x40fc9b(0x203)](_0x680f14[_0x40fc9b(0x13f)]))],_0x7ca7a4);class _0x35e70f extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(){const _0x2910da=_0x40fc9b;super(),_0x166045(this,'urlChange$'),this['urlChange$']=_0x172b9a[_0x2910da(0x273)](window,_0x2910da(0x2c8))['pipe'](_0x172b9a[_0x2910da(0x385)](this[_0x2910da(0x2cb)]),_0x172b9a['shareReplay'](0x1),_0x172b9a[_0x2910da(0x17d)](void 0x0));}['setParam'](_0x776fe4,_0x69c353,_0x59f2f1=!0x1){const _0x2b7484=_0x40fc9b,_0x918c89=new URL(window[_0x2b7484(0x11b)][_0x2b7484(0x32a)]);_0x918c89[_0x2b7484(0x34b)][_0x2b7484(0x210)](_0x776fe4,_0x69c353),_0x59f2f1?window[_0x2b7484(0x1aa)]['replaceState']('','',_0x918c89[_0x2b7484(0x327)]()):window[_0x2b7484(0x1aa)][_0x2b7484(0x2eb)]('','',_0x918c89[_0x2b7484(0x327)]());}[_0x40fc9b(0x10f)](_0x4b8ee0,_0x2cf9a7=!0x1){const _0x23fe0b=_0x40fc9b,_0xe07ddf=new URL(window[_0x23fe0b(0x11b)]['href']);_0xe07ddf[_0x23fe0b(0x34b)][_0x23fe0b(0x329)](_0x4b8ee0),_0x2cf9a7?window[_0x23fe0b(0x1aa)]['replaceState']('','',_0xe07ddf[_0x23fe0b(0x327)]()):window['history'][_0x23fe0b(0x2eb)]('','',_0xe07ddf['toString']());}['getParam'](_0xcc0e33){const _0x4e2728=_0x40fc9b;var _0x3d5ffb;return(_0x3d5ffb=new URL(window[_0x4e2728(0x11b)][_0x4e2728(0x32a)])[_0x4e2728(0x34b)][_0x4e2728(0x2f2)](_0xcc0e33))!=null?_0x3d5ffb:void 0x0;}}var _0x58e980=Object[_0x40fc9b(0x37e)],_0x254e38=Object['getOwnPropertyDescriptor'],_0x536de7=(_0x545687,_0x248a7d,_0x522764)=>_0x248a7d in _0x545687?_0x58e980(_0x545687,_0x248a7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x522764}):_0x545687[_0x248a7d]=_0x522764,_0x183eb3=(_0x4470a3,_0xdf31da,_0x69bc0a,_0x410f1d)=>{for(var _0x5742f4=_0x410f1d>0x1?void 0x0:_0x410f1d?_0x254e38(_0xdf31da,_0x69bc0a):_0xdf31da,_0x2fedf7=_0x4470a3['length']-0x1,_0x24dd5b;_0x2fedf7>=0x0;_0x2fedf7--)(_0x24dd5b=_0x4470a3[_0x2fedf7])&&(_0x5742f4=_0x24dd5b(_0x5742f4)||_0x5742f4);return _0x5742f4;},_0xc4f0d1=(_0x4ae94,_0x169818)=>(_0x24bef9,_0x163540)=>_0x169818(_0x24bef9,_0x163540,_0x4ae94),_0x54635e=(_0xc6263c,_0x24db26,_0x5eda75)=>_0x536de7(_0xc6263c,_0x24db26+'',_0x5eda75);const _0x2bce8d=_0x40fc9b(0x130);_0x3b6773[_0x40fc9b(0x126)]=class extends _0x4680af[_0x40fc9b(0x382)]{constructor(_0x12bbc4=_0x11ea6e,_0x262dec,_0x319906,_0x433d35){const _0x48a00f=_0x40fc9b;super(),this[_0x48a00f(0x13d)]=_0x12bbc4,this[_0x48a00f(0x14e)]=_0x262dec,this[_0x48a00f(0x101)]=_0x319906,this[_0x48a00f(0x2e8)]=_0x433d35;const {..._0x4ab840}=_0x4680af['merge']({},_0x11ea6e,this[_0x48a00f(0x13d)]);this['_configService']['setConfig'](_0x668921,_0x4ab840);}[_0x40fc9b(0x29e)](){const _0x4e3be4=_0x40fc9b;this[_0x4e3be4(0x2ef)](),this[_0x4e3be4(0x183)]();}[_0x40fc9b(0x3a0)](){const _0x6ccd7e=_0x40fc9b;this[_0x6ccd7e(0x207)]();}[_0x40fc9b(0x2ef)](){const _0x503fd3=_0x40fc9b;var _0x5d0f17;const _0x2b0198=[[_0x38773a],[_0x3405d6],[_0x37e093],[_0x22ee97],[_0xb3d4fd],[_0x5ac381],[_0x952001,{'useClass':_0x35e70f}],[_0xb226e0[_0x503fd3(0x110)],{'useClass':_0xb226e0[_0x503fd3(0x2f9)]}],[_0x191332[_0x503fd3(0x281)],{'useClass':_0x7ca7a4}],[_0x3b6773[_0x503fd3(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b8110],[_0x444da9],[_0x3b6773[_0x503fd3(0x2fb)]]];_0x4680af['registerDependencies'](this[_0x503fd3(0x101)],_0x4680af[_0x503fd3(0x176)](_0x2b0198,(_0x5d0f17=this['_config'])==null?void 0x0:_0x5d0f17['override']));}[_0x40fc9b(0x207)](){const _0x113ebc=_0x40fc9b;this[_0x113ebc(0x219)](this['_renderManagerService'][_0x113ebc(0x2a2)](_0x4680af['UniverInstanceType']['UNIVER_DOC'],[_0x5ec101])),this[_0x113ebc(0x219)](this[_0x113ebc(0x14e)]['registerRenderModule'](_0x4680af[_0x113ebc(0x376)][_0x113ebc(0x2f3)],[_0x433c42]));}[_0x40fc9b(0x183)](){const _0x4a829f=_0x40fc9b;_0x4680af[_0x4a829f(0x33c)](this[_0x4a829f(0x101)],[[_0x3b8110],[_0x3b6773[_0x4a829f(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b6773[_0x4a829f(0x2fb)]],[_0x3405d6]]);}},_0x54635e(_0x3b6773[_0x40fc9b(0x126)],_0x40fc9b(0x124),_0x2bce8d),_0x3b6773[_0x40fc9b(0x126)]=_0x183eb3([_0x4680af[_0x40fc9b(0x28d)](_0x191332[_0x40fc9b(0x372)]),_0xc4f0d1(0x1,_0x3d68e7[_0x40fc9b(0x379)]),_0xc4f0d1(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0xc4f0d1(0x3,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773[_0x40fc9b(0x126)]);var _0x500ed5=Object['getOwnPropertyDescriptor'],_0x3f2497=(_0x20d9fb,_0x112227,_0x4ee2aa,_0x360872)=>{const _0x3ee2d5=_0x40fc9b;for(var _0x361d6b=_0x360872>0x1?void 0x0:_0x360872?_0x500ed5(_0x112227,_0x4ee2aa):_0x112227,_0x3af070=_0x20d9fb[_0x3ee2d5(0x35c)]-0x1,_0x39d2ee;_0x3af070>=0x0;_0x3af070--)(_0x39d2ee=_0x20d9fb[_0x3af070])&&(_0x361d6b=_0x39d2ee(_0x361d6b)||_0x361d6b);return _0x361d6b;},_0x364d69=(_0x24bfb2,_0x464e0d)=>(_0x2e2668,_0x56dd11)=>_0x464e0d(_0x2e2668,_0x56dd11,_0x24bfb2);_0x3b6773[_0x40fc9b(0x1bf)]=class extends _0x191332[_0x40fc9b(0x362)]{constructor(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639){super(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639);}async[_0x40fc9b(0x367)](_0x3fde42){const _0x5e98b3=_0x40fc9b,_0x129c69=await this['_getSessionTicket'](),_0x329a9f=this[_0x5e98b3(0x20f)](_0x3fde42,_0x129c69);return this[_0x5e98b3(0x3ac)](_0x329a9f);}['_createSocketURL'](_0x3dd91b,_0x5a529e){const _0x3955e6=_0x40fc9b,_0x39a46f=typeof window>'u'?new URL(_0x3dd91b):new URL(_0x3dd91b,window[_0x3955e6(0x11b)]['origin']);_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)](_0x3955e6(0x181),_0x5a529e);const _0x1d9215=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3955e6(0x32c)]);return _0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))&&_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)]('runId',_0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))),_0x39a46f['toString']();}async[_0x40fc9b(0x1fb)](){const _0x42c2a1=_0x40fc9b;var _0x542d0f,_0x22b4c0,_0x3e8f09;const _0x3aec72=this[_0x42c2a1(0x2e8)][_0x42c2a1(0x339)](_0x191332[_0x42c2a1(0x310)]),_0x18ff3a=(_0x542d0f=_0x3aec72==null?void 0x0:_0x3aec72[_0x42c2a1(0x161)])!=null?_0x542d0f:_0x191332['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3e8f09=(_0x22b4c0=(await this['_httpService']['get'](_0x18ff3a,{'headers':{'Content-Type':'application/json'}}))[_0x42c2a1(0x259)])==null?void 0x0:_0x22b4c0['ticket'])!=null?_0x3e8f09:'';}},_0x3b6773[_0x40fc9b(0x1bf)]=_0x3f2497([_0x364d69(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x364d69(0x1,_0x4680af['Inject'](_0xb226e0['HTTPService'])),_0x364d69(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x364d69(0x3,_0x4680af[_0x40fc9b(0x3a9)]),_0x364d69(0x4,_0x680f14[_0x40fc9b(0x299)])],_0x3b6773[_0x40fc9b(0x1bf)]);var _0x2f8190=Object['getOwnPropertyDescriptor'],_0x279088=(_0x2a70f4,_0xb63cb8,_0x29972c,_0x42cf1a)=>{const _0x449cc0=_0x40fc9b;for(var _0x24d861=_0x42cf1a>0x1?void 0x0:_0x42cf1a?_0x2f8190(_0xb63cb8,_0x29972c):_0xb63cb8,_0x569529=_0x2a70f4[_0x449cc0(0x35c)]-0x1,_0xfcfa5b;_0x569529>=0x0;_0x569529--)(_0xfcfa5b=_0x2a70f4[_0x569529])&&(_0x24d861=_0xfcfa5b(_0x24d861)||_0x24d861);return _0x24d861;},_0x17ce48=(_0x3cb715,_0x58e498)=>(_0x3ea783,_0x506f67)=>_0x58e498(_0x3ea783,_0x506f67,_0x3cb715);_0x3b6773[_0x40fc9b(0x201)]=class extends _0x4680af['Disposable']{constructor(_0x393157,_0x54f9fb,_0x1b5607){const _0x2fdbd7=_0x40fc9b;super(),this['_instanceService']=_0x393157,this[_0x2fdbd7(0x15a)]=_0x54f9fb,this['_configService']=_0x1b5607;}async[_0x40fc9b(0x31b)](_0x47c1c8,_0x468b3b,_0x30009f,..._0x16fcdd){const _0x373de0=_0x40fc9b;var _0x475bd8,_0x1ac269,_0x2dace7,_0x3b3326;const _0x5f2847=this[_0x373de0(0x314)]['getFocusedUnit']();if(!_0x5f2847)throw new Error(_0x373de0(0x23a));const _0x54552f=((_0x475bd8=this[_0x373de0(0x2e8)]['getConfig'](_0x191332[_0x373de0(0x39b)]))!=null?_0x475bd8:_0x191332[_0x373de0(0x2e0)])+'/'+_0x47c1c8+'/run/'+_0x468b3b,_0x58bd98=new URL(window[_0x373de0(0x11b)]['href']),_0x43a458={'scriptId':_0x47c1c8,'runId':(_0x1ac269=_0x58bd98[_0x373de0(0x34b)][_0x373de0(0x2f2)]('runId'))!=null?_0x1ac269:'','function':_0x468b3b,'unitId':_0x5f2847[_0x373de0(0x386)](),'argsOfFunction':JSON[_0x373de0(0x27a)](_0x16fcdd),'invokeId':(_0x2dace7=_0x30009f['invokeId'])!=null?_0x2dace7:'','executionId':(_0x3b3326=_0x30009f['executionId'])!=null?_0x3b3326:''};try{const _0x2e6c07=await this[_0x373de0(0x15a)][_0x373de0(0x143)](_0x54552f,{'body':_0x43a458});return _0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)]&&_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)][_0x373de0(0x397)]!==_0x40f27c['OK']?_0x373de0(0x307):_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x11c)];}catch{return _0x373de0(0x307);}}},_0x3b6773['RemoteUniscriptService']=_0x279088([_0x17ce48(0x0,_0x4680af['IUniverInstanceService']),_0x17ce48(0x1,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x17ce48(0x2,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773['RemoteUniscriptService']);const _0x40ab1b=0x7530,_0x4826b7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x126ee4 extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x5adad2=_0x40fc9b;super(),_0x166045(this,_0x5adad2(0x138),_0x4680af[_0x5adad2(0x157)]()),_0x166045(this,_0x5adad2(0x25e),new Set()),_0x166045(this,'_unitOnClients',new Map()),_0x166045(this,_0x5adad2(0x1de),null),_0x166045(this,_0x5adad2(0x186),new Map()),_0x166045(this,'_unitStatus',new Map()),this[_0x5adad2(0x263)]();}[_0x40fc9b(0x250)](){const _0x486a5a=_0x40fc9b;super[_0x486a5a(0x250)](),this['_clearOtherTimers'][_0x486a5a(0x1a5)]((_0x1639db,_0x361464)=>this['_removeClearOtherTimer'](_0x361464)),this['_heartbeatTimer']&&window[_0x486a5a(0x208)](this[_0x486a5a(0x1de)]);}['getUnitStatus$'](_0x4553b4){return this['_ensureSubject'](_0x4553b4)['pipe'](_0x172b9a['distinctUntilChanged']());}[_0x40fc9b(0x1a0)](_0x4cea1b){const _0x887b8d=_0x40fc9b;this[_0x887b8d(0x25e)]['size']===0x0&&this[_0x887b8d(0x10a)](),this['_selfUnitIDs']['add'](_0x4cea1b),this[_0x887b8d(0x289)]({'type':0x0,'memberID':this[_0x887b8d(0x138)],'unitIDs':[_0x4cea1b],'isForwarded':!0x1});}['disposeUnit'](_0x113e8e){const _0xb40c94=_0x40fc9b;this[_0xb40c94(0x25e)]['delete'](_0x113e8e),this[_0xb40c94(0x25e)][_0xb40c94(0x174)]===0x0&&this['_heartbeatTimer']&&window[_0xb40c94(0x208)](this['_heartbeatTimer']);}[_0x40fc9b(0x263)](){const _0x47cdd5=_0x40fc9b;this[_0x47cdd5(0x219)](_0x4680af[_0x47cdd5(0x27e)](_0x172b9a['fromEvent'](window,_0x47cdd5(0x267))[_0x47cdd5(0x2a1)](_0x2c879e=>{const _0x5b4040=_0x47cdd5;if(_0x2c879e[_0x5b4040(0x15d)]!==_0x4826b7||!_0x2c879e[_0x5b4040(0x3a1)])return;const _0x410cd5=JSON['parse'](_0x2c879e[_0x5b4040(0x3a1)]);this[_0x5b4040(0x279)](_0x410cd5);}))),window[_0x47cdd5(0x304)](_0x47cdd5(0x1f2),()=>this[_0x47cdd5(0x289)]({'type':0x1,'memberID':this[_0x47cdd5(0x138)],'unitIDs':Array['from'](this[_0x47cdd5(0x25e)])}));}[_0x40fc9b(0x279)](_0x880653){const _0x2d446a=_0x40fc9b;switch(_0x880653['type']){case 0x0:this[_0x2d446a(0x2c4)](_0x880653);break;case 0x1:this[_0x2d446a(0x1d5)](_0x880653);break;case 0x2:this[_0x2d446a(0x2a0)](_0x880653);break;}}[_0x40fc9b(0x2c4)](_0x37fba5){const _0x432869=_0x40fc9b,{unitIDs:_0x57699d,memberID:_0x219bec,isForwarded:_0x2746be}=_0x37fba5;_0x57699d[_0x432869(0x1a5)](_0x504b07=>{const _0x14261b=_0x432869;if(!_0x2746be&&this[_0x14261b(0x1ef)]['has'](_0x504b07)&&this[_0x14261b(0x15c)](_0x504b07)[_0x14261b(0x1ae)](_0x191332[_0x14261b(0x3ab)][_0x14261b(0x305)]),!this[_0x14261b(0x1ef)][_0x14261b(0x393)](_0x504b07)||!this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)[_0x14261b(0x393)](_0x219bec)){const _0x93576a=this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)||new Set();_0x93576a['add'](_0x219bec),this['_unitOnClients']['set'](_0x504b07,_0x93576a),this[_0x14261b(0x13c)](_0x219bec);}}),_0x2746be||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x432869(0x25e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xbd81b3){const _0x29c277=_0x40fc9b;this['_removeClearOtherTimer'](_0xbd81b3);const _0x1ae465=window[_0x29c277(0x11a)](()=>{const _0x542f80=_0x29c277;this[_0x542f80(0x1ef)][_0x542f80(0x1a5)](_0x5974b1=>{const _0x7cb647=_0x542f80;_0x5974b1[_0x7cb647(0x329)](_0xbd81b3);});},_0x40ab1b*0x2);this[_0x29c277(0x186)][_0x29c277(0x210)](_0xbd81b3,_0x1ae465);}[_0x40fc9b(0x16f)](_0x5b6da1){const _0x26beab=_0x40fc9b;if(this['_clearOtherTimers'][_0x26beab(0x393)](_0x5b6da1)){const _0x5afa30=this[_0x26beab(0x186)]['get'](_0x5b6da1);_0x5afa30&&window['clearTimeout'](_0x5afa30),this['_clearOtherTimers'][_0x26beab(0x210)](_0x5b6da1,null);}}[_0x40fc9b(0x1d5)](_0x4d4ce5){const _0x352eb1=_0x40fc9b,{memberID:_0xe52ae1,unitIDs:_0x454b65}=_0x4d4ce5;_0x454b65[_0x352eb1(0x1a5)](_0x309a4b=>{const _0x4b6038=_0x352eb1;var _0x5935e4;const _0x888359=this[_0x4b6038(0x1ef)]['get'](_0x309a4b);_0x888359&&(_0x888359[_0x4b6038(0x329)](_0xe52ae1),(_0x5935e4=this['_ensureSubject'](_0x309a4b))==null||_0x5935e4['next'](_0x888359['size']===0x0?_0x191332[_0x4b6038(0x3ab)][_0x4b6038(0x187)]:_0x191332['UnitStatus'][_0x4b6038(0x305)]));}),this[_0x352eb1(0x16f)](_0xe52ae1);}['_handleHeartbeatEvent'](_0x578b4f){const _0x20dede=_0x40fc9b;this[_0x20dede(0x13c)](_0x578b4f[_0x20dede(0x3aa)]);}[_0x40fc9b(0x289)](_0x2f5d29){const _0x13bfe7=_0x40fc9b;localStorage[_0x13bfe7(0x370)](_0x4826b7,JSON[_0x13bfe7(0x27a)](_0x2f5d29));}[_0x40fc9b(0x10a)](){const _0x334be8=_0x40fc9b;this[_0x334be8(0x1de)]=window[_0x334be8(0x23f)](()=>{const _0x4f51ee=_0x334be8;this[_0x4f51ee(0x289)]({'type':0x2,'memberID':this[_0x4f51ee(0x138)]});},_0x40ab1b);}[_0x40fc9b(0x15c)](_0x2a8324){const _0x348cb3=_0x40fc9b;return this[_0x348cb3(0x2f4)]['has'](_0x2a8324)||this[_0x348cb3(0x2f4)]['set'](_0x2a8324,new _0x172b9a[(_0x348cb3(0x119))](_0x191332[_0x348cb3(0x3ab)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x348cb3(0x2f2)](_0x2a8324);}}_0x3b6773[_0x40fc9b(0x30a)]=_0x952001,_0x3b6773[_0x40fc9b(0x39c)]=_0x1576e2,_0x3b6773['WebBrowserSingleActiveUnitService']=_0x126ee4,_0x3b6773[_0x40fc9b(0x22f)]=_0x35e70f,Object[_0x40fc9b(0x37e)](_0x3b6773,Symbol['toStringTag'],{'value':_0x40fc9b(0x1dc)});}));function _0x2c9c(){const _0x124ba8=['_handleEvent','stringify','registerRefRange','_docTransformIMECacheService','_themeService','toDisposable','onMouseMove','getUnhiddenWorksheets','ILocalCacheService','_initEvent','m1Prime','collaboration.single-unit.warning','AWAITING_WITH_PENDING','black','_render','SetFormulaCalculationNotificationMutation','_send','getRenderById','getSkeleton','onPointerLeave$','DependentOn','DocIMEInputManagerService','rxjs/operators','LICENSE_MAX_UNITS_EXCEEDED','_collabCursorState$','send','getCurrent','collab-client.tooltip.reconnect','_cursorInfo$','_range','_startSheetCollabCursor','TEXT','ISnapshotServerService','INVITE_CODE_ALREADY_BOUND','_onRefRangeChange','_beforeCloseService','294562AcxauC','onStarting','merge','_handleHeartbeatEvent','subscribe','registerRenderModule','AWAITING','endColumn','InsertColCommandId','white','@univerjs/engine-formula','currentSkeleton$','closePath','_initCommandExecutedListener','isTransformMutationFailure','maxFormulaLimit','_shapes','off-line-icon_clip0_910_343','measureText','DocStateChangeManagerService','USER_NOT_INVITED_CODE','DocSelectionManagerService','transformByState','add','Workbook','CONNECTOR_DATA_TOO_LARGE','children','_status$','random','_collaborationController','JOIN_ROOM_FAILED','@univerjs/network','disableLocalCache','Injector','unsubscribe','/universer-api/license/formula/limit/start','row','_setFormulaLimitStatus','push','_handleJoinEvent','transformStateCache','NodePositionConvertToRectRange','range','popstate','_urlService','NodePositionConvertToCursor','dispose$','1em','IUIPartsService','getCoordByCell','_localeService','selections','_hovered','INVITE_CODE_REQUIRED','saveTaskMap','COLORS','addHandlerCallback','CURRENT_STATUS_CANNOT_OPERATE','ENSURE_SNAPSHOT_EXECUTION','evenodd','event$','roomMembers','_transformUndoRedoStack','SessionStatus','getMemberID','Shape','uni.network.url-service','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-rect-range-','setAlpha','[CollaborationDataLoaderController]','onCommandExecuted','INVITE_CODE_HAS_BEEN_UES','isActive','CONFLICT','_configService','cursorInfo$','_collabSessionService','pushState','LocaleService','ONLINE','_releaseCalculationLimit','_registerDependencies','RxDisposable','ITransformService','get','UNIVER_SHEET','_unitStatus','NOT_FOUND','split','PENDING','entityInit$','WebSocketService','doc.mutation.rich-text-editing','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','ranges','SYNCED','HTTPService','_initStatusComponent','on-line-icon_clip0_910_349','SetSelectionsOperation','CollaborationStatus','addEventListener','OTHER_CLIENTS_EDITING','VIEW_MAIN','Failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveDownCommandId','IURLService','_toggleOffline','onPointerEnter$','getViewport','_saveCache','_lastPointer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','top','YUUMI_SUBSCRIPTION_NOT_FOUND','getColor','_instanceService','_getSaveTimeout','serializeRangeWithSheet','deepClone','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','fillText','runOnServer','fillRule','deserializeRangeWithSheet','save','SNAPSHOT_HAS_BEEN_REMOVED','url(#on-line-icon_clip0_910_349)','stageInfo','min','handleInsertRow','HEADER_MENU','_handleHover','IUniverInstanceService','toString','UniverCore','delete','href','_setupSubUnitSync','search','_drawTextRange','isArray','_colorAssignService','getAncestorScale','INotificationService','debounce','startColumn','_memberService','addClipboardHook','m2Prime','redoState','PY_RUNTIME_SCRIPT_ERROR','getConfig','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_FULLY_REDEEMED','touchDependencies','session.will-retry','selection','_refreshCollabCursors','IConfigService','REDEMPTION_INVALID_CODE','_colorIndex','attrs','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','Unknown\x20user','START_CALCULATION','setUndoRedoMutationParamsCache','YUUMI_ASYNCIO_CANCELLED','Loading','M0\x200H16V16H0z','searchParams','includes','_scheduleSaving','transformSelections','then','hovered','requireSession','SheetSkeletonManagerService','colorChannel1','getActiveSheet','LICENSE_DISTRO_REJECTED','_labelPosition','createInstance','complete','handleDeleteRangeMoveLeft','CLOSE_ROOM','Subject','length','sheetID','_commandService','urlChange$','useRef','@univerjs/engine-render','CollaborationSocketService','functionsExecutedState','EffectRefRangId','tag','purple.300','createSocket','UniverDocs','getOffsetConfig','react','_textBubble','PAYMENT_CHANNEL_NOT_SUPPORT','Warning','currentUsage','_session','setItem','handleInsertRangeMoveDown','UniverCollaborationClientPlugin','handleMoveRange','APPLY_PERMISSION_DENIED','_messageService','UniverInstanceType','INVALID_INVITE_CODE','getCellMatrix','IRenderManagerService','INTERNAL_ERROR','findNodePositionByCharIndex','useDependency','transformMutation','defineProperty','operators','on-line-icon','sessionStatus$','Plugin','OFFLINE','univerjs-icon\x20univerjs-icon-','takeUntil','getUnitId','throttleTime','subunit','replace','_currentUsage','UniverDesign','REDEMPTION_USER_REDEEM_TIMES_EXCEED','2628zwjrSP','getValue','_transformPreviousActiveRange','UniverSheetsUi','110786RvhKSx','_roomMembers$','has','translate(.97)','onLocalMutation','xlink:href','code','shift','MOBILE_VERIFY_CODE_MISMATCH','Disposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetCollabCursorShape','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','_removeCollabCursors','onRendered','newValue','OffLineIcon','isEditing','clearTimeout','toRgbString','collab-text-anchor-','getParam','handleInsertCol','ILogService','memberID','UnitStatus','_doCreateSocket','fill','_color','YUUMI_UNABLE_LOAD_URL','from','UniverNetwork','CollaborationSessionService','transformIMECache','getFocusedUnit','endRow','dirtyRanges','SOCKET_FAILED_RETRY','_transformService','getCellPositionByOffset','USERS_LEAVE','blue.400','assign','_docClipboardService','setStateCache','_injector','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED','_logService','@univerjs-pro/collaboration','ICommandService','YUUMI_AI_RUN_FAILED','_sheetSkeletonManagerService','_scheduleHeartbeat','currentColor','subscribeEvent','_onCursorUpdate','saveOfflineData','removeParam','ISocketService','error','color','imageSourceType','univer-mr-2\x20univer-flex\x20univer-text-xl','_entities','collabCursorState$','UPDATE_CURSOR','connectInjector','BehaviorSubject','setTimeout','location','result','LOCAL_CACHE_INTERVAL','FromArray','CHANGESET_REVISION_CONFILICT','222354lNXCIc','IDocClipboardService','limitInfo','Vector2','pluginName','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientUIPlugin','DocSkeletonManagerService','_startDocCollabCursor','releaseFormulaLimitUrl','useObservable','setShapeProps','YUUMI_CONNECTOR_URL_NOT_FOUND','ENTITLE_CHAT_LIMIT_EXCEED','collaboration.closeRoom','UniverUi','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','type','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','loadUnit','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','ColorKit','height','_id','#FFF','switchMap','string','_scheduleClearOtherTimer','_config','LICENSE_EXPORT_SIZE_EXCEEDED','RevisionService','REDEMPTION_CODE_NOT_STARTED','SheetsSelectionsService','_updateLocalCursor','post','_name','round','runId','forwardRef','startRow','_hideTimer','triggerDblclick','EMAIL_VERIFY_CODE_MISMATCH','getCollabCursors$','APPLY_REVISION_CONFILICT','_renderManagerService','WECHAT_HAS_BEEN_BOUND','arc','Tools','resize','_cursorShapes','APPLY_DUPLICATED','RECT','actions','generateRandomId','getMergeData','mask','_httpService','moveTo','_ensureSubject','key','enableLocalCache','@univerjs/core','filter','wsSessionTicketUrl','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','url(#$1','REDEMPTION_USER_NOT_ELIGIBLE','collaboration-client.offline-data-not-saved','_drawAnchor','SetDocZoomRatioOperation','drawWith','_cursors','DisposableCollection','getMember','path','width','_uiPartsService','_removeClearOtherTimer','_getMergeRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','makeDirty','_taskIds','size','none','mergeOverrideWithDependencies','FormulaExecuteStageType','_pollingInterval','getTypeOfUnitAdded$','MessageType','getCurrentSelections','div','mapTo','hide','getSheetId','totalFormulasToCalculate','sessionTicket','Rectangle','_initDependencies','_collaborationUIEventService','?taskId=','_clearOtherTimers','NO_OTHER_CLIENTS_EDITING','defs','_revisionService','bottom','_docStateChangeManagerService','combineLatest','exhaustSavingTask','clsx','focused$','registerComponent','15JNaXwA','useCallback','_scene','displayName','UniverProCollaborationClientUi','debounceTime','DOC_RANGE_TYPE','_syncEditingCollabCursorService','_initResize','_anchorDot','cursorInfo','getColorFromTheme','fillStyle','undoState','symbol','editingUnit','startsWith','UNIVER_DOC','_anchor','RefRangeService','forEach','_localCacheService','51611jFFaTO','@univerjs/drawing','_online','history','UNAUTHENTICATED','http://www.w3.org/2000/svg','SUBMIT_CHANGESET_TIMEOUT','next','_notificationService','reconnect','_initStatusListener','transform','@univerjs/sheets-ui','show','_initCommandInterceptor','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','@univerjs/design','_checkCalculationAvailable','1225098IXPJkb','_toggleOnline','map','some','params','BrowserCollaborationSocketService','executeCommand','LOGIN_FAILED','with','values','activeSheet$','UNRECOGNIZED','unitId','_draw','collabStatus.fetchMiss','_hover','FormulaExecutedStateType','DeleteRangeMoveUpCommandId','REDEMPTION_CODE_INACTIVE','getSheetBySheetId','Tooltip','BuiltInUIPart','ERROR_AGAIN','_localStorageService','ENTITLE_REPORT_LIMIT_EXCEED','pipe','addObject','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','unitID','Error','replaceDocRanges','_initEntityListener','column','Module','CollaborationController','_heartbeatTimer','PERMISSION_DENIED','_docSkeleton','addObjects','_assignedColors','data','syncEditingCollabCursor','init','find','getDocRanges','UniverProCollaboration','asObservable','getActiveRange','_docTransformStateCacheService','_entityInit$','_context','_dataLoaderService','_unitOnClients','restore','_lastResponseTimestamp','unload','UniverSheets','...','collabStatus.synced','startFormulaLimitUrl','AUTHORIZE_CODE_ILLEGAL','permission.title','_updateSubUnitFromURLParams','USER_NOT_FOUND','_getSessionTicket','NOT_COLLAB','currentTheme$','ENTITLE_NEED_BILLING_ADDRESS','_updateCollabCursors','isFormulaId','RemoteUniscriptService','_disabled','Inject','_updateURLWithCurrentState','CommandType','_collabCursorController','_registerRenderDependencies','clearInterval','rxjs','getSheetObject','_univerInstanceService','whenReady','926370WUMaUL','assignAColorForMemberID','_createSocketURL','set','name','React','_docSkeletonManagerService','eventID','jsx','_applyCommand','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MUTATION','disposeWithMe','collabStatus.conflict','getUndoRedoMutationParamsCache','Rect','registerBeforeClose','textRanges','UNDEFINED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','INVALID_ARGUMENT','onTransformChange$','collab-text-range-','_getAnchorBounding','contains','CanceledError','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Optional','transformMutationsWithChangeset','isFormulaString','font','unshift','skeleton','Success','WebURLService','exports','now','source','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','TOO_MANY_REQUESTS','use','_saveTaskMap','_getSheetObject','ILocalStorageService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','roomMembers$','handleIRemoveRow','url(#off-line-icon_clip0_910_343)','setInterval','idSuffix','session.connection-failed','_backgroundColor','text','getLocalCacheKey','clipPath','_getFormulaLimitStatus','_checkAndWaitForCalculationPermission','MemberService','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','DesktopCollaborationStatusDisplayController','ALREADY_EXISTS','parseInt','mutations','_docTransformSelectionsService','dispose','getOwnPropertyDescriptor','SetWorksheetActivateCommand','_hasFormulaInDirtyRanges','_clearPolling','DataLoaderService','136XfKnNS','_maxFormulaLimit','onPointerMove$','body','getCurrentRevOfUnit','_showGuardMessage','unit','CollaborationUIEventId','_selfUnitIDs','TEXT_RANGE_LAYER_INDEX','getUniverSheetInstance','CollaborationEvent','svg','_init','ThemeService','_getScale','_cursor','storage','_imageIoService','_eventUnsubscribe','_cachedData','entries','_drawRectRange','RegularPolygon','green.600','formula.calculation.started','amd','_startCalculationLimit','beginPath','fromEvent','lineTo','stage','transformRemoteChangeset','isTransformMutationsWithChangesetSuccess','501PtBmBH'];_0x2c9c=function(){return _0x124ba8;};return _0x2c9c();}
|