@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(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==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','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','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','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','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}
|
|
1
|
+
function _0x7e28(){const _0x2bee20=['getLocalCacheKey','UniverSheets','totalFormulasToCalculate','loadOfflineData','mutations','_updateURLWithCurrentState','reconnect','backgroundColor','_clearPolling','ITransformService','_commandService','_range','uni.network.url-service','formula.calculation.waiting','InsertRowCommandId','_logService','addObjects','bind','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','onCommandExecuted','all','add','_scheduleSaving','_unitStatus','@univerjs/engine-formula','TEXT_RANGE_LAYER_INDEX','getSheetId','setUndoRedoMutationParamsCache','RemoteUniscriptService','key','registerBeforeClose','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','getUnit','clearInterval','getFocusedUnit','_send','INVITE_CODE_REQUIRED','collaboration.closeRoom','CollaborationEvent','REDEMPTION_USER_NOT_ELIGIBLE','430dvSytx','LICENSE_DISTRO_REJECTED','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','createInstance','_memberID','replace','unsubscribe','svg','_transformHistoryAndStateStack','takeUntil','IConfigService','stageInfo','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','SUCCESS','YUUMI_ASYNCIO_CANCELLED','_revisionService','filename','unshift','UNRECOGNIZED','roomMembers$','_cursorShapes','Success','973314OsUmFn','collabCursorState$','BehaviorSubject','eventID','collabStatus.fetchMiss','parse','transformIMECache','debounceTime','_online','_hasFormulaInDirtyRanges','_docTransformSelectionsService','_initUnhandledRejectionListener','event$','setItem','setTimeout','clsx','attrs','DisposableCollection','SetWorksheetActivateCommand','Subject','UniverEngineFormula','none','@univerjs/core','React','RxDisposable','IDocClipboardService','CanceledError','MUTATION','getActiveRange','entries','SOCKET_FAILED','blue.400','UniverDocsUi','getUnhiddenWorksheets','fillStyle','getTypeOfUnitAdded$','debounce','_uploadLog','map','_name','#FFF','createSocket','memberID','complete','_ensureSubject','_backgroundColor','useCallback','LOGIN_FAILED','_updateCollabCursors','init','disposeUnit','EMAIL_HAS_BEEN_BOUND','deserializeRangeWithSheet','code','_monkeyPatchLogService','origin','some','div','forEach','isFormulaString','saveImage','handleMoveRange','deepClone','RevisionService','min','UniverEngineRender','_handleHover','ranges','enableFrontendLog','UNIVER_SHEET','@univerjs/sheets-ui','triggerDblclick','releaseFormulaLimitUrl','_messageService','@univerjs/docs-ui','_initWindowErrorListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_renderManagerService','getConfig','subscribeEvent','getOffsetConfig','getColorFromTheme','runRefRangeMutations','UnitStatus','length','useDependency','INVALID_ARGUMENT','xlink:href','hide','entityInit$','ICommandService','editingUnit','_cursorInfo$','LOGIN_TOKEN_PROCESSING_FAILED','_cursor','getSkeleton','clearTimeout','_onRefRangeChange','transformRemoteChangeset','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_CODE_INACTIVE','assign','_collaborationSessionService','253617ACqyEI','max','range','_beforeCloseService','clipPath','COMPLETION_FINISHED','_getSaveTimeout','isActive','_getFormulaLimitStatus','next','1em','?taskId=','IBeforeCloseService','_localStorageService','session.connection-failed','_updateLocalCursor','whenReady','getActiveSheet','collabStatus.conflict','dispose','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_roomMembers$','_startSheetCollabCursor','getDocRanges','MemberService','ENTITLE_COUPON_USED_UP','status$','_getScale','USER_NOT_INVITED_CODE','formula.calculation.unable','useObservable','_entityInit$','disposeWithMe','MOBILE_VERIFY_CODE_MISMATCH','selection','_transformService','_uiPartsService','toDisposable','_session','RemoveRowCommandId','_handleLeaveEvent','registerRefRange','white','_initCommandExecutedListener','@univerjs/design','exhaustSavingTask','_themeService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','split','5915dfkAws','lineno','_notificationService','transformMutationsWithChangeset','location','redoState','collabStatus.offline','CollaborationSessionService','...','IUIPartsService','collaboration-client-ui.config','children','Workbook','restore','UniverInstanceType','IMessageService','OFFLINE','getMemberID','InsertRangeMoveDownCommandId','reason','makeDirty','_context','translate(.97)','ALREADY_EXISTS','_initCommandInterceptor','unit','useRef','ticket','data','_startDocCollabCursor','params','_heartbeatTimer','CONFLICT','pluginName','_transformPreviousActiveRange','@univerjs/docs','IUniverInstanceService','subunit','bottom','handleInsertRangeMoveDown','_registerRenderDependencies','disableLocalCache','/universer-api/frontend/logs','@univerjs/engine-render','column','CommandType','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_localCacheService','SetFormulaCalculationStartMutation','createElement','DocIMEInputManagerService','focused$','SUBMIT_CHANGESET_TIMEOUT','_docTransformStateCacheService','HTTPService','pushState','CollaborationUIEventService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setInterval','getValue','FromArray','executeCommand','Tools','ERROR_AGAIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.notCollab','SOCKET_FAILED_RETRY','ISocketService','show','_urlService','UniverProCollaborationClient','throttleTime','LocaleService','arc','string','_onCursorUpdate','WebURLService','_textBubble','UniverDesign','RichTextEditingMutation','type','_createSocketURL','mergeOverrideWithDependencies','onPointerEnter$','text','_collabSessionService','442920qLmzmO','getCoordByCell','_cursors','CollaborationStatus','engine','_releaseCalculationLimit','toStringTag','forwardRef','_docSkeletonManagerService','merge','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','getCurrent','isTransformMutationFailure','_clearOtherTimers','ENTITLE_COUPON_EXPIRED','defineProperty','collaboration.offline-data-not-saved','size','now','ENTITLE_INVALID_COUPON_CODE','startFormulaLimitUrl','SheetsSelectionsService','APPLY_REJECT','url(#on-line-icon_clip0_910_349)','currentSkeleton$','onRendered','Unknown\x20user','setActiveRange','_init','_transformUndoRedoStack','OTHER_CLIENT_EDITING','_hovered','DeleteRangeMoveUpCommandId','assignAColorForMemberID','switchMap','row','debug','Tooltip','Rect','round','trim','filter','@univerjs-pro/collaboration','_saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_configService','_lastResponseTimestamp','_getAnchorBounding','UNIVER_DOC','transformStateCache','_initStatusComponent','toString','jsx','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','onLocalMutation','ILocalStorageService','startRow','defs','post','_refRangeService','startsWith','_docStateChangeManagerService','IImageIoService','registerDependencies','_collaborationController','searchParams','INVITE_CODE_ALREADY_BOUND','_removeClearOtherTimer','lineTo','transformSelections','function','roomMembers','combineLatest','override','Plugin','undoState','AWAITING','ILogService','rxjs','_onCursorDelete','docStateChange$','findNodePositionByCharIndex','unitId','_initResize','_scheduleClearOtherTimer','INTERNAL_ERROR','InsertColCommandId','Disposable','push','random','font','SessionStatus','_initEvent','USER_IS_ANONYMOUS','getUndoRedoMutationParamsCache','onMouseMove','PAYMENT_CHANNEL_NOT_SUPPORT','_docSyncEditingCollabCursorService','getUniverSheetInstance','textRanges','top','_scene','send','newValue','UniverCollaborationClientUIPlugin','skeleton','ILocalCacheService','UniverNetwork','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_HAS_BEEN_UES','black','mask','unhandledrejection','handleDeleteRangeMoveUp','isFormulaId','COLORS','http://www.w3.org/2000/svg','getCellMatrix','REDEMPTION_CODE_NOT_STARTED','REDEMPTION_CODE_HAS_BEEN_CREATED','beginPath','SetDocZoomRatioOperation','CURRENT_STATUS_CANNOT_OPERATE','_docClipboardService','onPointerLeave$','beforeCommandExecuted','_color','permission.title','USER_NOT_FOUND','_applyCommand','WebSocketService','message','isArray','_getSessionTicket','_collaborationUIEventService','socket$','_collabCursorController','getCurrentRevOfUnit','/universer-api/license/formula/limit/status','_unitOnClients','session.will-retry','m1Prime','ThemeService','path','session.collaboration-timeout','_colorAssignService','DataLoaderService','_anchorDot','doc.mutation.rich-text-editing','55vLypGa','color','urlChange$','_setFormulaLimitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initDependencies','CollaborationUIEventId','on-line-icon_clip0_910_349','BuiltInUIPart','save','_getSheetObject','unitID','_pollingInterval','_updateSubUnitFromURLParams','getAncestorScale','_hover','YUUMI_NO_CUBOID_FOR_QUESTION','CHANGESET_REVISION_CONFILICT','_scheduleHeartbeat','DeleteRangeMoveLeftCommandId','2094DQAqfS','SNAPSHOT_HAS_BEEN_REMOVED','onPointerMove$','2214zRZKBB','parseInt','find','univerjs-icon\x20univerjs-icon-','MessageType','[Unhandled\x20Rejection]:\x20','DEFAULT_WS_SESSION_TICKET_URL','MOBILE_HAS_BEEN_BOUND','_maxFormulaLimit','RegularPolygon','REDEMPTION_CODE_FULLY_REDEEMED','NodePositionConvertToCursor','jiqing.500','includes','_showGuardMessage','values','react/jsx-runtime','DOC_RANGE_TYPE','APPLY_PERMISSION_DENIED','currentColor','getCellPositionByOffset','623060GqMLAY','_docTransformIMECacheService','CollaborationController','_initUserListener','WECHAT_HAS_BEEN_BOUND','HEADER_MENU','getSheetObject','EMAIL_VERIFY_CODE_MISMATCH','SHEET_VIEWPORT_KEY','NodePositionConvertToRectRange','@univerjs-pro/collaboration-client','CollaborationSocketService','Inject','saveTaskMap','startColumn','runOnServer','_selfUnitIDs','height','from','ENTITLE_INSUFFICIENT_QUOTA','dispose$','toRgbString','17396fclRKI','collab-client.tooltip.reconnect','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','_draw','_checkAndWaitForCalculationPermission','_dataLoaderService','_toggleOffline','DesktopCollaborationStatusDisplayController','ENTITLE_NEED_BILLING_ADDRESS','getParam','cursorInfo$','YUUMI_UNABLE_LOAD_URL','href','NO_OTHER_CLIENTS_EDITING','_entities','symbol','_id','IRenderManagerService','setParam','_anchor','_saveCache','activeSheet$','m2Prime','cursorInfo','_eventUnsubscribe','_config','_instanceService','Module','_setupBeforeClosingHandler','UNAUTHENTICATED','_setupSubUnitSync','green.600','_removeCollabCursors','fromEvent','Failed','has','connectInjector','RefRangeService','NOT_FOUND','LICENSE_IMPORT_SIZE_EXCEEDED','EffectRefRangId','USERS_LEAVE','sessionStatus$','RECT','getUnitStatus$','subUnitId','_initStatusListener','collab-rect-range-','_drawTextRange','get','_cachedData','LOCAL_CACHE_INTERVAL_KEY','setShapeProps','VIEW_MAIN','isTransformMutationsWithChangesetSuccess','FormulaExecutedStateType','NOT_COLLAB','_handleJoinEvent','IRemoteInstanceService','tag','history','on-line-icon','removeEventListener','subscribe','REDEMPTION_INVALID_CODE','setStateCache','TEXT','ColorKit','JOIN_ROOM_FAILED','colno','addEventListener','delete','Injector','evenodd','UniverCore','@univerjs/sheets','/run/','_colorIndex','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_MAX_UNITS_EXCEEDED','IURLService','shift','moveTo','UniverIcon','_localeService','syncEditingCollabCursor','maxFormulaLimit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','closePath','_memberService','endRow','_disabled','Warning','DocSelectionManagerService','set','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','Rectangle','SetSelectionsOperation','generateRandomId','selections','_httpService','fromEventSubject','_lastPointer','measureText','getUnitId','handleInsertRow','_drawAnchor','registerComponent','stack','touchDependencies','with','_getMergeRange','getMember','\x20at\x20','addObject','_drawRectRange','SheetSkeletonManagerService','_labelPosition','PENDING','getTypeOfUnitDisposed$','stringify','colorChannel1','body','_collabCursorState$','_syncEditingCollabCursorService','replaceState','collabStatus.synced','name','collabStatus.syncing','getOwnPropertyDescriptor','_document','requireSession','_currentUsage','ENSURE_SNAPSHOT_EXECUTION','BrowserCollaborationSocketService','saveOfflineData','amd','UniverDocs','_taskIds','drawWith','registerRenderModule','jsxs','asObservable','transformMutation','SNAPSHOT_INVALID_SNAPSHOT','error','getSheetBySheetId','react','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','limitInfo','CLOSE_ROOM','idSuffix','use','rgba(255,\x20255,\x20255,\x200.01)','_checkCalculationAvailable','UniverProCollaborationClientUi','sessionTicket','width','invokeId','_refreshCollabCursors','getRenderById','_hideTimer','sheetId','fillText','endColumn','object','Loading','removeParam','YUUMI_ALL_TABLES_IS_INVALID','getCollabEntity$','_shapes','pipe','/universer-api/license/formula/limit/start','_render','runId','_assignedColors','application/json','DependentOn','collab-text-anchor-','setAlpha','UniverCollaborationClientPlugin','784ExmXNt','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','then','FormulaExecuteStageType','_registerDependencies','START_CALCULATION','[Window\x20Error]:\x20','_status$','_handleEvent','_injector','getRangePointData','_initEntityListener','_univerInstanceService','setConfig','_sheetSkeletonManagerService','flatMap','Shape','current','0\x200\x2017\x2016','[CollaborationDataLoaderController]','getColor','fill','currentTheme$','Error','UNDEFINED','Vector2','formula.calculation.started','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','red.300','RemoveColCommandId','CollaborationDataLoaderController','UPDATE_CURSOR','UniverUi','displayName','wsSessionTicketUrl'];_0x7e28=function(){return _0x2bee20;};return _0x7e28();}function _0x33b0(_0x3fc460,_0xad95c){_0x3fc460=_0x3fc460-0x6e;const _0x7e2888=_0x7e28();let _0x33b0ca=_0x7e2888[_0x3fc460];return _0x33b0ca;}(function(_0x143a9e,_0x27e87c){const _0x5d7621=_0x33b0,_0x4e1576=_0x143a9e();while(!![]){try{const _0x85f168=-parseInt(_0x5d7621(0x276))/0x1+-parseInt(_0x5d7621(0x2fe))/0x2+parseInt(_0x5d7621(0x20f))/0x3+-parseInt(_0x5d7621(0xf1))/0x4*(-parseInt(_0x5d7621(0x1f7))/0x5)+-parseInt(_0x5d7621(0xc3))/0x6*(-parseInt(_0x5d7621(0x2a8))/0x7)+-parseInt(_0x5d7621(0x1aa))/0x8*(-parseInt(_0x5d7621(0xc6))/0x9)+parseInt(_0x5d7621(0xdb))/0xa*(-parseInt(_0x5d7621(0xaf))/0xb);if(_0x85f168===_0x27e87c)break;else _0x4e1576['push'](_0x4e1576['shift']());}catch(_0x473973){_0x4e1576['push'](_0x4e1576['shift']());}}}(_0x7e28,0x385ca),function(_0x2a427f,_0x37ed0e){const _0x2061e7=_0x33b0;typeof exports==_0x2061e7(0x19a)&&typeof module<'u'?_0x37ed0e(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==_0x2061e7(0x346)&&define[_0x2061e7(0x17d)]?define(['exports',_0x2061e7(0xd6),_0x2061e7(0xe5),_0x2061e7(0x225),'@univerjs/ui','rxjs',_0x2061e7(0x2a3),_0x2061e7(0x188),'@univerjs/rpc',_0x2061e7(0x13d),_0x2061e7(0x2d3),'@univerjs/network',_0x2061e7(0x259),'@univerjs/drawing',_0x2061e7(0x328),_0x2061e7(0x2cb),_0x2061e7(0x1e6),'rxjs/operators',_0x2061e7(0x255)],_0x37ed0e):(_0x2a427f=typeof globalThis<'u'?globalThis:_0x2a427f||self,_0x37ed0e(_0x2a427f[_0x2061e7(0x190)]={},_0x2a427f[_0x2061e7(0x226)],_0x2a427f[_0x2061e7(0x2ee)],_0x2a427f[_0x2061e7(0x13c)],_0x2a427f[_0x2061e7(0x1cb)],_0x2a427f['rxjs'],_0x2a427f[_0x2061e7(0x2f6)],_0x2a427f[_0x2061e7(0x226)],_0x2a427f['UniverRpc'],_0x2a427f[_0x2061e7(0x1cf)],_0x2a427f[_0x2061e7(0x250)],_0x2a427f[_0x2061e7(0x85)],_0x2a427f[_0x2061e7(0x22f)],_0x2a427f['UniverDrawing'],_0x2a427f['UniverProCollaboration'],_0x2a427f[_0x2061e7(0x17e)],_0x2a427f[_0x2061e7(0x223)],_0x2a427f[_0x2061e7(0x34e)]['operators'],_0x2a427f[_0x2061e7(0x1fa)]));}(this,function(_0x21651b,_0x4401ae,_0x3899ea,_0x1dfb30,_0x5581af,_0x12ea67,_0x1d1957,_0x1060b1,_0x52d554,_0x59ff8d,_0x5cce25,_0x221af8,_0x4f04d2,_0x54e484,_0x1448e7,_0x90847b,_0x119829,_0x2dd10a,_0x149dfc){'use strict';const _0x1c30d9=_0x33b0;var _0x21f776=Object[_0x1c30d9(0x30d)],_0x52ca7d=(_0x1876f3,_0x2c8dd1,_0x2d9932)=>_0x2c8dd1 in _0x1876f3?_0x21f776(_0x1876f3,_0x2c8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d9932}):_0x1876f3[_0x2c8dd1]=_0x2d9932,_0xbf1006=(_0xdc5087,_0xd2fd5e,_0x1d183b)=>_0x52ca7d(_0xdc5087,typeof _0xd2fd5e!=_0x1c30d9(0x101)?_0xd2fd5e+'':_0xd2fd5e,_0x1d183b);function _0xe02e29({ref:_0x15d6d4,..._0x265e9a}){const _0x448ea0=_0x1c30d9,{icon:_0xc42af3,id:_0x403eee,className:_0x50b0aa,extend:_0x3c6815,..._0x340fac}=_0x265e9a,_0x5bc8f5=(_0x448ea0(0xc9)+_0x403eee+'\x20'+(_0x50b0aa||''))[_0x448ea0(0x326)](),_0x211b28=_0x1060b1[_0x448ea0(0x2c2)]('_'+_0x14ae85());return _0x3f3387(_0xc42af3,''+_0x403eee,{'defIds':_0xc42af3['defIds'],'idSuffix':_0x211b28[_0x448ea0(0x1bb)]},{'ref':_0x15d6d4,'className':_0x5bc8f5,..._0x340fac},_0x3c6815);}function _0x3f3387(_0x1ac055,_0x23c2b7,_0x326ca6,_0x11ae7a,_0x4ec11e){return _0x1060b1['createElement'](_0x1ac055['tag'],{'key':_0x23c2b7,..._0x14d226(_0x1ac055,_0x326ca6,_0x4ec11e),..._0x11ae7a},(_0x6e4566(_0x1ac055,_0x326ca6)['children']||[])['map']((_0x5e888c,_0x863dbd)=>_0x3f3387(_0x5e888c,_0x23c2b7+'-'+_0x1ac055['tag']+'-'+_0x863dbd,_0x326ca6,void 0x0,_0x4ec11e)));}function _0x14d226(_0x5f1574,_0x21436b,_0x246d64){const _0x3af2a6=_0x1c30d9,_0x4423f2={..._0x5f1574['attrs']};_0x246d64!=null&&_0x246d64[_0x3af2a6(0x16e)]&&_0x4423f2[_0x3af2a6(0x1bf)]===_0x3af2a6(0x16e)&&(_0x4423f2[_0x3af2a6(0x1bf)]=_0x246d64[_0x3af2a6(0x16e)]),_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x89)&&_0x4423f2['id']&&(_0x4423f2['id']=_0x4423f2['id']+_0x21436b[_0x3af2a6(0x18c)]),Object[_0x3af2a6(0x22c)](_0x4423f2)['forEach'](([_0x4a109a,_0x3ccf74])=>{const _0x590703=_0x3af2a6;_0x4a109a==='mask'&&typeof _0x3ccf74=='string'&&(_0x4423f2[_0x4a109a]=_0x3ccf74['replace'](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x590703(0x18c)]+')'));});const {defIds:_0x4a49f0}=_0x21436b;return!_0x4a49f0||_0x4a49f0['length']===0x0||(_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x18d)&&_0x4423f2[_0x3af2a6(0x266)]&&(_0x4423f2['xlink:href']=_0x4423f2[_0x3af2a6(0x266)]+_0x21436b[_0x3af2a6(0x18c)]),Object['entries'](_0x4423f2)[_0x3af2a6(0x249)](([_0x47402c,_0x6e1bf1])=>{const _0x1ec959=_0x3af2a6;typeof _0x6e1bf1=='string'&&(_0x4423f2[_0x47402c]=_0x6e1bf1[_0x1ec959(0x1fd)](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x1ec959(0x18c)]+')'));})),_0x4423f2;}function _0x6e4566(_0x4c6c2,_0x121981){const _0x3c9132=_0x1c30d9;var _0x4287a7;const {defIds:_0x17396c}=_0x121981;return!_0x17396c||_0x17396c[_0x3c9132(0x263)]===0x0?_0x4c6c2:_0x4c6c2[_0x3c9132(0x12d)]==='defs'&&((_0x4287a7=_0x4c6c2[_0x3c9132(0x2b3)])!=null&&_0x4287a7[_0x3c9132(0x263)])?{..._0x4c6c2,'children':_0x4c6c2[_0x3c9132(0x2b3)][_0x3c9132(0x235)](_0x63d50=>typeof _0x63d50[_0x3c9132(0x21f)]['id']==_0x3c9132(0x2f2)&&_0x17396c&&_0x17396c[_0x3c9132(0xd3)](_0x63d50[_0x3c9132(0x21f)]['id'])?{..._0x63d50,'attrs':{..._0x63d50[_0x3c9132(0x21f)],'id':_0x63d50['attrs']['id']+_0x121981[_0x3c9132(0x18c)]}}:_0x63d50)}:_0x4c6c2;}function _0x14ae85(){const _0x4a006a=_0x1c30d9;return Math[_0x4a006a(0x73)]()[_0x4a006a(0x331)](0x24)['substring'](0x2,0x8);}_0xe02e29[_0x1c30d9(0x1cc)]=_0x1c30d9(0x146);const _0x32fe32={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':_0x1c30d9(0xd9),'d':_0x1c30d9(0x1e0),'strokeLinecap':'round','strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':_0x1c30d9(0x27a),'attrs':{'id':_0x1c30d9(0x204)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c30d9(0x204)]},_0x174388=_0x1060b1[_0x1c30d9(0x305)](function(_0x34f384,_0x2ef7e6){const _0x2f2dc7=_0x1c30d9;return _0x1060b1[_0x2f2dc7(0x2d9)](_0xe02e29,Object[_0x2f2dc7(0x274)]({},_0x34f384,{'id':'off-line-icon','ref':_0x2ef7e6,'icon':_0x32fe32}));});_0x174388[_0x1c30d9(0x1cc)]='OffLineIcon';const _0x4d2ade={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':_0x1c30d9(0x1bc),'width':_0x1c30d9(0x280),'height':_0x1c30d9(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c30d9(0x315)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':'currentColor','d':_0x1c30d9(0x308),'strokeLinecap':_0x1c30d9(0x325),'strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c30d9(0xb6)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z','transform':_0x1c30d9(0x2be)}}]}]}],'defIds':[_0x1c30d9(0xb6)]},_0x28e949=_0x1060b1['forwardRef'](function(_0x5048bf,_0x122125){const _0x2e294b=_0x1c30d9;return _0x1060b1[_0x2e294b(0x2d9)](_0xe02e29,Object[_0x2e294b(0x274)]({},_0x5048bf,{'id':_0x2e294b(0x12f),'ref':_0x122125,'icon':_0x4d2ade}));});_0x28e949[_0x1c30d9(0x1cc)]='OnLineIcon';function _0x4803c2(_0x2312e1){const _0x3b698d=_0x1c30d9;switch(_0x2312e1){case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2b8)]:return _0x3b698d(0x2ae);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2c8)]:return _0x3b698d(0x288);case _0x3899ea['CollaborationStatus']['FETCH_MISS']:return _0x3b698d(0x213);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x12a)]:return _0x3b698d(0x2e9);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x34c)]:case _0x3899ea[_0x3b698d(0x301)]['AWAITING_WITH_PENDING']:return _0x3b698d(0x175);case _0x3899ea['CollaborationStatus']['SYNCED']:case _0x3899ea['CollaborationStatus'][_0x3b698d(0x16b)]:return _0x3b698d(0x173);}}function _0x13f0f1(_0x2ea3d8){const _0x539b90=_0x1c30d9,{status$:_0x5f2498}=_0x2ea3d8,_0x30077d=_0x5581af[_0x539b90(0x295)](_0x5f2498,_0x3899ea[_0x539b90(0x301)][_0x539b90(0x12a)]),_0x45a736=_0x5581af['useDependency'](_0x1dfb30[_0x539b90(0x2f0)]),_0x63342=_0x5581af[_0x539b90(0x264)](_0x3899ea['CollaborationSessionService']),_0x2832fe=_0x30077d!==_0x3899ea[_0x539b90(0x301)][_0x539b90(0x2b8)],_0x449d99=_0x45a736['t'](_0x4803c2(_0x30077d)),_0x31fec9=_0x2832fe?_0x4401ae[_0x539b90(0x332)](_0x28e949,{}):_0x4401ae['jsx'](_0x174388,{}),_0x2383da=_0x1060b1[_0x539b90(0x23d)](()=>{const _0x19fd18=_0x539b90;_0x2832fe||_0x63342[_0x19fd18(0x1d4)]();},[_0x2832fe,_0x63342]);function _0x150a2a(){const _0x546365=_0x539b90;return _0x4401ae[_0x546365(0x182)](_0x546365(0x248),{'className':'univer-flex\x20univer-items-center','onClick':_0x2383da,'children':[_0x4401ae[_0x546365(0x332)]('div',{'className':_0x1d1957[_0x546365(0x21e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2832fe,'univer-text-red-500':!_0x2832fe}),'children':_0x31fec9}),_0x4401ae['jsx'](_0x546365(0x248),{'className':_0x546365(0x2e1),'children':_0x449d99})]});}return _0x2832fe?_0x150a2a():_0x4401ae[_0x539b90(0x332)](_0x1d1957[_0x539b90(0x323)],{'title':_0x45a736['t'](_0x539b90(0xf2)),'children':_0x150a2a()});}var _0x23bdd9=Object[_0x1c30d9(0x176)],_0x51d42c=(_0x5b983c,_0x1db36b,_0x2087b2,_0x5267eb)=>{const _0x3a447d=_0x1c30d9;for(var _0x25c436=_0x5267eb>0x1?void 0x0:_0x5267eb?_0x23bdd9(_0x1db36b,_0x2087b2):_0x1db36b,_0x2ad384=_0x5b983c[_0x3a447d(0x263)]-0x1,_0x426c5c;_0x2ad384>=0x0;_0x2ad384--)(_0x426c5c=_0x5b983c[_0x2ad384])&&(_0x25c436=_0x426c5c(_0x25c436)||_0x25c436);return _0x25c436;},_0x3d2c07=(_0x509814,_0x45a8b5)=>(_0x2ba506,_0xbc2e58)=>_0x45a8b5(_0x2ba506,_0xbc2e58,_0x509814);_0x21651b[_0x1c30d9(0xf9)]=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x264ed1,_0x2cfd61,_0x460d47,_0x120305){const _0x3bc4f4=_0x1c30d9;super(),_0xbf1006(this,_0x3bc4f4(0x1b1),new _0x12ea67[(_0x3bc4f4(0x211))](_0x3899ea[_0x3bc4f4(0x301)][_0x3bc4f4(0x12a)])),(this['_univerInstanceService']=_0x264ed1,this['_injector']=_0x2cfd61,this['_collaborationController']=_0x460d47,this['_uiPartsService']=_0x120305,this[_0x3bc4f4(0x330)](),this[_0x3bc4f4(0x120)]());}[_0x1c30d9(0x120)](){const _0x128f2e=_0x1c30d9;this[_0x128f2e(0x297)](this['_univerInstanceService'][_0x128f2e(0x2db)][_0x128f2e(0x1a0)](_0x12ea67[_0x128f2e(0x320)](()=>{const _0x26a6eb=_0x128f2e,_0x3e74f=this[_0x26a6eb(0x1b6)][_0x26a6eb(0x1f1)]();return _0x3e74f?this[_0x26a6eb(0x340)][_0x26a6eb(0x19e)](_0x3e74f[_0x26a6eb(0x15d)]()):_0x12ea67['of'](null);}),_0x12ea67[_0x128f2e(0x320)](_0x4a1395=>_0x4a1395?_0x4a1395[_0x128f2e(0x291)]:_0x12ea67['of'](_0x3899ea[_0x128f2e(0x301)][_0x128f2e(0x12a)])))[_0x128f2e(0x131)](_0x34d159=>{const _0x2af22a=_0x128f2e;this[_0x2af22a(0x1b1)]['next'](_0x34d159);}));}[_0x1c30d9(0x330)](){const _0x2b159e=_0x1c30d9;this[_0x2b159e(0x297)](this[_0x2b159e(0x29b)][_0x2b159e(0x160)](_0x5581af[_0x2b159e(0xb7)][_0x2b159e(0xe0)],()=>_0x5581af[_0x2b159e(0x116)](_0x4fa062({'status$':this[_0x2b159e(0x1b1)]['asObservable']()}),this[_0x2b159e(0x1b3)])));}},_0x21651b['DesktopCollaborationStatusDisplayController']=_0x51d42c([_0x3d2c07(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x3d2c07(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d2c07(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x3d2c07(0x3,_0x5581af[_0x1c30d9(0x2b1)])],_0x21651b[_0x1c30d9(0xf9)]);function _0x4fa062(_0x3dc3ff){const {status$:_0x5941bc}=_0x3dc3ff;return function(){const _0x446607=_0x33b0;return _0x4401ae[_0x446607(0x332)](_0x13f0f1,{'status$':_0x5941bc});};}const _0x50751f=_0x1dfb30['createIdentifier'](_0x1c30d9(0x1da));var _0x383a5a=Object[_0x1c30d9(0x176)],_0x7d5f55=(_0x35902d,_0x1fee03,_0x43ae0f,_0x2d4b25)=>{const _0x19336f=_0x1c30d9;for(var _0x480231=_0x2d4b25>0x1?void 0x0:_0x2d4b25?_0x383a5a(_0x1fee03,_0x43ae0f):_0x1fee03,_0x5e161a=_0x35902d[_0x19336f(0x263)]-0x1,_0x51f8f5;_0x5e161a>=0x0;_0x5e161a--)(_0x51f8f5=_0x35902d[_0x5e161a])&&(_0x480231=_0x51f8f5(_0x480231)||_0x480231);return _0x480231;},_0x4762cc=(_0x3dd77a,_0x2ac1a0)=>(_0x22c92f,_0x3a4fb8)=>_0x2ac1a0(_0x22c92f,_0x3a4fb8,_0x3dd77a);_0x21651b['CollaborationDataLoaderController']=class extends _0x1dfb30['RxDisposable']{constructor(_0x1104bd,_0x47c54e,_0x1bb926,_0x240686,_0x31c079){const _0x371e08=_0x1c30d9;super(),this['_urlService']=_0x1104bd,this['_logService']=_0x47c54e,this['_commandService']=_0x1bb926,this[_0x371e08(0xf7)]=_0x240686,_0x31c079?_0x31c079==null||_0x31c079[_0x371e08(0x286)]()[_0x371e08(0x1ac)](()=>this[_0x371e08(0x31a)]()):(this['_logService']['debug'](_0x371e08(0x1bd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x371e08(0x31a)]());}async[_0x1c30d9(0x31a)](){const _0x37d92a=_0x1c30d9,_0x8bb63d=this['_urlService'][_0x37d92a(0xfb)](_0x37d92a(0x2c1)),_0x72da87=this[_0x37d92a(0x2ed)][_0x37d92a(0xfb)](_0x37d92a(0x2f8)),_0x428129=this[_0x37d92a(0x2ed)]['getParam'](_0x37d92a(0x2cd));if(!_0x8bb63d||!_0x72da87){this[_0x37d92a(0x1dd)][_0x37d92a(0x322)](_0x37d92a(0x1bd),_0x37d92a(0x32a));return;}const _0x568c69=await this[_0x37d92a(0xf7)]['loadUnit'](_0x8bb63d,Number(_0x72da87),_0x428129);_0x568c69&&_0x568c69 instanceof _0x1dfb30[_0x37d92a(0x2b4)]&&this[_0x37d92a(0x110)](_0x568c69);}async[_0x1c30d9(0x110)](_0x3a9133){const _0x36791b=_0x1c30d9;await this[_0x36791b(0xbc)](_0x3a9133),_0x3a9133[_0x36791b(0x107)][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](_0x4ad768=>{const _0x2debbd=_0x36791b;_0x4ad768&&this[_0x2debbd(0x1d3)](_0x4ad768);}),this['_urlService']['urlChange$'][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](()=>this['_updateSubUnitFromURLParams'](_0x3a9133));}[_0x1c30d9(0x1d3)](_0x240601,_0x5d22d2=!0x1){const _0xb1130d=_0x1c30d9,_0x4ea0ed=this[_0xb1130d(0x2ed)][_0xb1130d(0xfb)](_0xb1130d(0x2cd));_0x240601[_0xb1130d(0x1e8)]()!==_0x4ea0ed&&this[_0xb1130d(0x2ed)][_0xb1130d(0x104)](_0xb1130d(0x2cd),_0x240601[_0xb1130d(0x1e8)](),_0x5d22d2);}async[_0x1c30d9(0xbc)](_0x24efa6){const _0x1a9569=_0x1c30d9;var _0x130df3;const _0xd53000=this['_urlService'][_0x1a9569(0xfb)](_0x1a9569(0x2cd));if(!_0xd53000||!_0x24efa6[_0x1a9569(0x187)](_0xd53000)){const _0x326167=_0x24efa6[_0x1a9569(0x230)]()[0x0],_0x40d2dd=_0x24efa6[_0x1a9569(0x187)](_0x326167);if(!_0x40d2dd)return;this[_0x1a9569(0x1d3)](_0x40d2dd,!0x0),await this[_0x1a9569(0x1d8)]['executeCommand'](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0x326167});return;}((_0x130df3=_0x24efa6['getActiveSheet']())==null?void 0x0:_0x130df3[_0x1a9569(0x1e8)]())!==_0xd53000&&await this[_0x1a9569(0x1d8)][_0x1a9569(0x2e5)](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0xd53000});}},_0x21651b[_0x1c30d9(0x1c9)]=_0x7d5f55([_0x4762cc(0x0,_0x50751f),_0x4762cc(0x1,_0x1dfb30[_0x1c30d9(0x34d)]),_0x4762cc(0x2,_0x1dfb30[_0x1c30d9(0x269)]),_0x4762cc(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xac)])),_0x4762cc(0x4,_0x1dfb30['Optional'](_0x52d554[_0x1c30d9(0x12c)]))],_0x21651b[_0x1c30d9(0x1c9)]);var _0x248c21=Object[_0x1c30d9(0x176)],_0x1d1448=(_0x191b72,_0xcb619b,_0x5062e5,_0x17e167)=>{for(var _0x2f5fce=_0x17e167>0x1?void 0x0:_0x17e167?_0x248c21(_0xcb619b,_0x5062e5):_0xcb619b,_0x3c173e=_0x191b72['length']-0x1,_0x4a9904;_0x3c173e>=0x0;_0x3c173e--)(_0x4a9904=_0x191b72[_0x3c173e])&&(_0x2f5fce=_0x4a9904(_0x2f5fce)||_0x2f5fce);return _0x2f5fce;},_0x465541=(_0x5f467d,_0x25dbc6)=>(_0x442ae3,_0x584176)=>_0x25dbc6(_0x442ae3,_0x584176,_0x5f467d);let _0x5cf9d2=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x4ffb2e,_0x4c9c1b){const _0x61f894=_0x1c30d9;super(),this[_0x61f894(0x95)]=_0x4ffb2e,this['_imageIoService']=_0x4c9c1b,this[_0x61f894(0x31a)]();}[_0x1c30d9(0x31a)](){const _0x360d9a=_0x1c30d9,_0x1a2ae2=this;this[_0x360d9a(0x297)](this[_0x360d9a(0x95)]['addClipboardHook']({'onBeforePasteImage':async _0x3da10d=>{const _0x40c9bd=_0x360d9a,_0x22f9e3=await _0x1a2ae2['_imageIoService'][_0x40c9bd(0x24b)](_0x3da10d);return _0x22f9e3?{'source':_0x22f9e3['source'],'imageSourceType':_0x22f9e3['imageSourceType']}:null;}}));}};_0x5cf9d2=_0x1d1448([_0x465541(0x0,_0x4f04d2[_0x1c30d9(0x228)]),_0x465541(0x1,_0x54e484[_0x1c30d9(0x33e)])],_0x5cf9d2);const _0x522eee=['purple.300',_0x1c30d9(0xd2),_0x1c30d9(0x111),_0x1c30d9(0x1c7),_0x1c30d9(0x22e),'yellow.400'];class _0x37c3e7 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0x556ca7=_0x1c30d9;super(...arguments),_0xbf1006(this,_0x556ca7(0x1a4),new Map()),_0xbf1006(this,_0x556ca7(0x13f),0x0);}[_0x1c30d9(0x31f)](_0xe9e02b){const _0x2457b6=_0x1c30d9;if(this[_0x2457b6(0x1a4)][_0x2457b6(0x115)](_0xe9e02b))return this[_0x2457b6(0x1a4)]['get'](_0xe9e02b);const _0x380ea9=_0x522eee[this[_0x2457b6(0x13f)]];return this[_0x2457b6(0x13f)]=(this[_0x2457b6(0x13f)]+0x1)%_0x522eee[_0x2457b6(0x263)],this[_0x2457b6(0x1a4)][_0x2457b6(0x151)](_0xe9e02b,_0x380ea9),_0x380ea9;}}function _0x5e1a13(_0x53738a){const _0x4b8fa2=_0x1c30d9;let _0x198f02='';for(const _0x13580c of _0x53738a){const {startOffset:_0x3285cc,endOffset:_0x31cee9,isActive:_0x4cc963,rangeType:_0x1bcbc6,segmentId:_0x9af153,segmentPage:_0x35092e}=_0x13580c;_0x198f02[_0x4b8fa2(0x263)]&&(_0x198f02+=','),_0x198f02+=_0x3285cc+':'+_0x31cee9+':'+(_0x4cc963?'1':'0')+':'+_0x1bcbc6+':'+_0x9af153+':'+_0x35092e;}return _0x198f02;}function _0x43cc2a(_0xa8ea70){const _0x1d9240=_0x1c30d9,_0x10608b=_0xa8ea70[_0x1d9240(0x2a7)](','),_0x489970=[];for(const _0x560a6d of _0x10608b){const [_0x195cca,_0x2ad34b,_0x18303b,_0x56dad3,_0x122245,_0x55cafd]=_0x560a6d[_0x1d9240(0x2a7)](':');_0x489970[_0x1d9240(0x72)]({'startOffset':Number(_0x195cca),'endOffset':Number(_0x2ad34b),'collapsed':_0x195cca===_0x2ad34b,'isActive':_0x18303b==='1','rangeType':_0x56dad3===_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x134)]?_0x1dfb30['DOC_RANGE_TYPE'][_0x1d9240(0x134)]:_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x11d)],'segmentId':typeof _0x122245==_0x1d9240(0x2f2)?String(_0x122245):'','segmentPage':Number(_0x55cafd!=null?_0x55cafd:-0x1)});}return _0x489970[_0x1d9240(0x247)](_0x5ec889=>_0x5ec889[_0x1d9240(0x27d)])||(_0x489970[0x0][_0x1d9240(0x27d)]=!0x0),_0x489970;}class _0x3b41c7 extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(){const _0x4ecac8=_0x1c30d9;super(...arguments),_0xbf1006(this,'_collabCursorState$',new _0x12ea67[(_0x4ecac8(0x211))](null)),_0xbf1006(this,_0x4ecac8(0x210),this[_0x4ecac8(0x170)][_0x4ecac8(0x183)]());}[_0x1c30d9(0x148)](_0x2adfb8){const _0x21cebe=_0x1c30d9,{unitID:_0x3966fc,memberID:_0x568058,textRanges:_0x2b4382}=_0x2adfb8,_0x59f0be=_0x5e1a13(_0x2b4382);if(_0x59f0be==='')return;const _0x8931f0={'unitID':_0x3966fc,'memberID':_0x568058,'selection':_0x59f0be};this[_0x21cebe(0x170)][_0x21cebe(0x27f)](_0x8931f0);}}var _0x3e8ba9=Object[_0x1c30d9(0x176)],_0xf0f5c9=(_0x2f3e32,_0x336c11,_0x5ba632,_0x573a22)=>{const _0x4252f4=_0x1c30d9;for(var _0x490e95=_0x573a22>0x1?void 0x0:_0x573a22?_0x3e8ba9(_0x336c11,_0x5ba632):_0x336c11,_0x337611=_0x2f3e32[_0x4252f4(0x263)]-0x1,_0x61db2b;_0x337611>=0x0;_0x337611--)(_0x61db2b=_0x2f3e32[_0x337611])&&(_0x490e95=_0x61db2b(_0x490e95)||_0x490e95);return _0x490e95;},_0x2e2ed7=(_0x52beaa,_0x566f01)=>(_0xb61ff0,_0x30fbea)=>_0x566f01(_0xb61ff0,_0x30fbea,_0x52beaa);const _0x5d97ec=0x12c,_0x2ac50f=0x64;let _0x1ce994=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x352078,_0x4530fd,_0x24e9b7,_0x352a12,_0x1513f1,_0x23bc49,_0x55d657,_0xa5b2a9,_0x63237){const _0x1127f8=_0x1c30d9;super(),_0xbf1006(this,_0x1127f8(0x217),!0x1),_0xbf1006(this,'_init',!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67['BehaviorSubject'](new Map())),_0xbf1006(this,_0x1127f8(0xfc),this[_0x1127f8(0x26b)][_0x1127f8(0x183)]()),_0xbf1006(this,_0x1127f8(0x28c),new _0x12ea67[(_0x1127f8(0x211))]([])),_0xbf1006(this,_0x1127f8(0x20c),this[_0x1127f8(0x28c)]['pipe'](_0x12ea67[_0x1127f8(0x216)](_0x5d97ec))),_0xbf1006(this,_0x1127f8(0x285),_0x1dfb30[_0x1127f8(0x233)](_0x2700be=>{const _0x4639e3=_0x1127f8,_0x2d68e2={'eventID':_0x1448e7[_0x4639e3(0x1f5)][_0x4639e3(0x1ca)],'data':{'unitID':this[_0x4639e3(0xba)],'memberID':this[_0x4639e3(0x29d)][_0x4639e3(0x2b9)](),'selection':_0x5e1a13(_0x2700be)}};this[_0x4639e3(0x29d)][_0x4639e3(0x80)](_0x2d68e2,this[_0x4639e3(0xba)]);},_0x2ac50f)),(this[_0x1127f8(0xba)]=_0x352078,this[_0x1127f8(0x29d)]=_0x4530fd,this['_injector']=_0x24e9b7,this['_colorAssignService']=_0x352a12,this[_0x1127f8(0x14c)]=_0x1513f1,this[_0x1127f8(0x171)]=_0x23bc49,this[_0x1127f8(0x29a)]=_0x55d657,this[_0x1127f8(0x1b6)]=_0xa5b2a9,this[_0x1127f8(0x1d8)]=_0x63237);}get[_0x1c30d9(0x109)](){const _0x880bbe=_0x1c30d9;return this['_cursorInfo$'][_0x880bbe(0x2e3)]();}get['roomMembers'](){const _0x5f3dcc=_0x1c30d9;return this[_0x5f3dcc(0x28c)][_0x5f3dcc(0x2e3)]();}[_0x1c30d9(0x289)](){const _0x49d567=_0x1c30d9;super[_0x49d567(0x289)](),this[_0x49d567(0x26b)][_0x49d567(0x27f)](new Map()),this[_0x49d567(0x26b)][_0x49d567(0x23a)](),this[_0x49d567(0x28c)][_0x49d567(0x27f)]([]),this[_0x49d567(0x28c)]['complete']();}[_0x1c30d9(0x240)](){const _0x1749e4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x1749e4(0x29d)][_0x1749e4(0x11c)][_0x1749e4(0x1a0)](_0x12ea67['takeUntil'](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x213901=>{const _0x54e76b=_0x1749e4;_0x213901===_0x3899ea[_0x54e76b(0x75)][_0x54e76b(0x140)]?this[_0x54e76b(0x1ed)]():this[_0x54e76b(0xf8)]();}),this[_0x1749e4(0x29d)][_0x1749e4(0x21b)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x33abef=>{const _0xc5de31=_0x1749e4,_0x59c411=_0x33abef['eventID'];_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x1ca)]&&this[_0xc5de31(0x2f3)](_0x33abef),_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x11b)]&&this[_0xc5de31(0x34f)](_0x33abef);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)]['onCommandExecuted'](_0x27825f=>{const _0x58537b=_0x1749e4,_0x308e60=_0x27825f[_0x58537b(0x2c6)];_0x308e60!=null&&this[_0x58537b(0x217)]&&_0x27825f['id']===_0x90847b['SetTextSelectionsOperation']['id']&&_0x308e60[_0x58537b(0x352)]===this[_0x58537b(0xba)]&&_0x308e60['isEditing']===!0x1&&_0x308e60[_0x58537b(0x252)][_0x58537b(0x263)]>0x0&&this[_0x58537b(0x285)](_0x308e60[_0x58537b(0x252)]);})),this['_syncEditingCollabCursorService'][_0x1749e4(0x210)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x1ba4fe=>{const _0x86aeb8=_0x1749e4;if((_0x1ba4fe==null?void 0x0:_0x1ba4fe[_0x86aeb8(0xba)])!==this['unitID'])return;const _0x67c3bb={'eventID':_0x1448e7[_0x86aeb8(0x1f5)]['UPDATE_CURSOR'],'data':_0x1ba4fe};this['_onCursorUpdate'](_0x67c3bb);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)][_0x1749e4(0x1e1)](_0x16ac3c=>{const _0x17096f=_0x1749e4;if(_0x16ac3c[_0x17096f(0x2c6)]==null)return;const _0x2df9c4=_0x16ac3c['params'];if(_0x16ac3c['id']!==_0x90847b[_0x17096f(0x2f7)]['id']||_0x2df9c4[_0x17096f(0x352)]!==this[_0x17096f(0xba)])return;const _0x16a012={'id':_0x17096f(0xae),'params':_0x2df9c4},_0x1ad7b6=this[_0x17096f(0x109)];for(const [_0x3e7c02,_0x32571f]of _0x1ad7b6){const _0x3f7264={'id':_0x17096f(0xae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x32571f[_0x17096f(0x252)]}},_0x27046e=this[_0x17096f(0x29a)]['transformMutation'](_0x16a012,_0x3f7264,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x27046e))throw _0x27046e[_0x17096f(0x186)];_0x1ad7b6[_0x17096f(0x151)](_0x3e7c02,{..._0x32571f,'ranges':_0x27046e[_0x17096f(0x108)][_0x17096f(0x2c6)]['textRanges']});}queueMicrotask(()=>{const _0x211f1f=_0x17096f;this['_cursorInfo$'][_0x211f1f(0x27f)](_0x1ad7b6);});})));}['_onCursorUpdate'](_0xe7a557){const _0x1dc3b2=_0x1c30d9;var _0x162e3e,_0x5d6e36;const {memberID:_0x47ee54,selection:_0x5ca21a}=_0xe7a557['data'],_0x502a75=_0x43cc2a(_0x5ca21a),_0x4af2de=(_0x5d6e36=(_0x162e3e=this[_0x1dc3b2(0x14c)][_0x1dc3b2(0x165)](this[_0x1dc3b2(0xba)],_0x47ee54))==null?void 0x0:_0x162e3e[_0x1dc3b2(0x174)])!=null?_0x5d6e36:_0x1dc3b2(0x318),_0x51aeda={'color':this[_0x1dc3b2(0xab)][_0x1dc3b2(0x31f)](_0x47ee54),'name':_0x4af2de,'ranges':_0x502a75},_0x3fca8a=this[_0x1dc3b2(0x109)];_0x3fca8a[_0x1dc3b2(0x151)](_0x47ee54,_0x51aeda),this['_cursorInfo$'][_0x1dc3b2(0x27f)](_0x3fca8a);}[_0x1c30d9(0x34f)](_0x437f1a){const _0x44ef65=_0x1c30d9,{memberID:_0x395309}=_0x437f1a[_0x44ef65(0x2c4)],_0x416611=this[_0x44ef65(0x109)];_0x416611['delete'](_0x395309),this['_cursorInfo$']['next'](_0x416611);}[_0x1c30d9(0x1ed)](){const _0x520a20=_0x1c30d9;var _0x2a59a0;if(this[_0x520a20(0x217)]=!0x0,((_0x2a59a0=this[_0x520a20(0x1b6)][_0x520a20(0x1f1)]())==null?void 0x0:_0x2a59a0['getUnitId']())!==this[_0x520a20(0xba)])return;const _0x54f766=this['_injector'][_0x520a20(0x123)](_0x90847b[_0x520a20(0x150)])['getDocRanges']();Array[_0x520a20(0x9e)](_0x54f766)&&_0x54f766[_0x520a20(0x263)]>0x0&&this[_0x520a20(0x285)](_0x54f766);}[_0x1c30d9(0xf8)](){const _0x1635c6=_0x1c30d9;this[_0x1635c6(0x217)]=!0x1;}};_0x1ce994=_0xf0f5c9([_0x2e2ed7(0x2,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x2e2ed7(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2e2ed7(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['MemberService'])),_0x2e2ed7(0x5,_0x1dfb30['Inject'](_0x3b41c7)),_0x2e2ed7(0x6,_0x1448e7[_0x1c30d9(0x1d7)]),_0x2e2ed7(0x7,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2e2ed7(0x8,_0x1dfb30[_0x1c30d9(0x269)])],_0x1ce994);var _0x302aa7=Object[_0x1c30d9(0x176)],_0x18db51=(_0x593294,_0x59f5b1,_0x32a9af,_0x5e5cda)=>{const _0x1b38bb=_0x1c30d9;for(var _0x3769d1=_0x5e5cda>0x1?void 0x0:_0x5e5cda?_0x302aa7(_0x59f5b1,_0x32a9af):_0x59f5b1,_0x2cc533=_0x593294[_0x1b38bb(0x263)]-0x1,_0x2ca57e;_0x2cc533>=0x0;_0x2cc533--)(_0x2ca57e=_0x593294[_0x2cc533])&&(_0x3769d1=_0x2ca57e(_0x3769d1)||_0x3769d1);return _0x3769d1;},_0x2f9ea2=(_0x1e83fb,_0x46bbb9)=>(_0x22f6de,_0x257252)=>_0x46bbb9(_0x22f6de,_0x257252,_0x1e83fb);const _0x67503b=0x12c,_0x484329=0x64,_0x2011ca=()=>{let _0x4ce330=[],_0x401fb6=!0x1;return _0x14d403=>{_0x4ce330['push'](_0x14d403),_0x401fb6||(_0x401fb6=!0x0,setTimeout(()=>{_0x4ce330['forEach'](_0x36bb18=>_0x36bb18()),_0x4ce330=[],_0x401fb6=!0x1;}));};};let _0x26f0a0=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x59d931,_0x5554c1,_0x53d34c,_0x19490c,_0x2b2e45,_0x341fb7,_0x96e3f,_0x2baf70){const _0x1232b2=_0x1c30d9;super(),_0xbf1006(this,'_online',!0x1),_0xbf1006(this,_0x1232b2(0x31a),!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67[(_0x1232b2(0x211))](new Map())),_0xbf1006(this,_0x1232b2(0xfc),this[_0x1232b2(0x26b)]['asObservable']()),_0xbf1006(this,_0x1232b2(0x28c),new _0x12ea67[(_0x1232b2(0x211))]([])),_0xbf1006(this,_0x1232b2(0x20c),this[_0x1232b2(0x28c)][_0x1232b2(0x1a0)](_0x12ea67[_0x1232b2(0x216)](_0x67503b))),_0xbf1006(this,'_updateLocalCursor',_0x1dfb30['debounce']((_0x279a0a,_0x32018c)=>{const _0x4b6198=_0x1232b2,_0xb568ac={'eventID':_0x1448e7[_0x4b6198(0x1f5)][_0x4b6198(0x1ca)],'data':{'unitID':this[_0x4b6198(0xba)],'memberID':this['_session']['getMemberID'](),'selection':_0x119829['serializeRangeWithSheet'](_0x279a0a,_0x32018c[_0x4b6198(0x278)])}};this['_session'][_0x4b6198(0x80)](_0xb568ac,this[_0x4b6198(0xba)]);},_0x484329)),(this[_0x1232b2(0xba)]=_0x59d931,this['_session']=_0x5554c1,this[_0x1232b2(0x1b3)]=_0x53d34c,this[_0x1232b2(0xab)]=_0x19490c,this['_memberService']=_0x2b2e45,this[_0x1232b2(0x1b6)]=_0x341fb7,this[_0x1232b2(0x1d8)]=_0x96e3f,this[_0x1232b2(0x33b)]=_0x2baf70);}get['cursorInfo'](){const _0x5d96d9=_0x1c30d9;return this[_0x5d96d9(0x26b)][_0x5d96d9(0x2e3)]();}get[_0x1c30d9(0x347)](){const _0x3e0163=_0x1c30d9;return this['_roomMembers$'][_0x3e0163(0x2e3)]();}['dispose'](){const _0x443b1c=_0x1c30d9;super[_0x443b1c(0x289)](),this[_0x443b1c(0x26b)][_0x443b1c(0x27f)](new Map()),this[_0x443b1c(0x26b)]['complete'](),this[_0x443b1c(0x28c)][_0x443b1c(0x27f)]([]),this[_0x443b1c(0x28c)][_0x443b1c(0x23a)]();}[_0x1c30d9(0x240)](){const _0x11d7d4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x11d7d4(0x29d)]['sessionStatus$'][_0x11d7d4(0x1a0)](_0x12ea67['takeUntil'](this[_0x11d7d4(0xef)]))[_0x11d7d4(0x131)](_0x3340bb=>{const _0x45c418=_0x11d7d4;_0x3340bb===_0x3899ea[_0x45c418(0x75)]['ONLINE']?this[_0x45c418(0x1ed)]():this[_0x45c418(0xf8)]();}),this[_0x11d7d4(0x29d)][_0x11d7d4(0x21b)]['pipe'](_0x12ea67[_0x11d7d4(0x201)](this[_0x11d7d4(0xef)]))['subscribe'](_0x481668=>{const _0x1d052c=_0x11d7d4,_0x559cd6=_0x481668[_0x1d052c(0x212)];_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)][_0x1d052c(0x1ca)]&&this['_onCursorUpdate'](_0x481668),_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)]['USERS_LEAVE']&&this[_0x1d052c(0x34f)](_0x481668);}),this[_0x11d7d4(0x270)](),this[_0x11d7d4(0x297)](this[_0x11d7d4(0x1d8)]['onCommandExecuted'](_0x19ce2b=>{const _0x5410a9=_0x11d7d4;if(this[_0x5410a9(0x217)]&&_0x19ce2b['id']===_0x59ff8d[_0x5410a9(0x156)]['id']&&_0x19ce2b[_0x5410a9(0x2c6)][_0x5410a9(0x352)]===this[_0x5410a9(0xba)]){const _0x3d7704=_0x19ce2b[_0x5410a9(0x2c6)];this['_updateLocalCursor'](_0x3d7704[_0x5410a9(0x11f)],_0x3d7704[_0x5410a9(0x158)][0x0]);}})));}['_onCursorUpdate'](_0x10b67f){const _0x16e251=_0x1c30d9;var _0x5dd1dd,_0x3261b2;const {memberID:_0x37d5e3,selection:_0x229597}=_0x10b67f['data'],{sheetName:_0x2fe94a,range:_0x348826}=_0x119829[_0x16e251(0x243)](_0x229597),_0x1a05ad={'name':(_0x3261b2=(_0x5dd1dd=this[_0x16e251(0x14c)][_0x16e251(0x165)](this[_0x16e251(0xba)],_0x37d5e3))==null?void 0x0:_0x5dd1dd[_0x16e251(0x174)])!=null?_0x3261b2:'Unknown\x20user','range':this['_getMergeRange'](_0x2fe94a,_0x348826),'sheetID':_0x2fe94a,'color':this[_0x16e251(0xab)][_0x16e251(0x31f)](_0x37d5e3),'selection':_0x229597},_0x4e9e11=this[_0x16e251(0x109)];_0x4e9e11[_0x16e251(0x151)](_0x37d5e3,_0x1a05ad),this[_0x16e251(0x26b)][_0x16e251(0x27f)](_0x4e9e11);}[_0x1c30d9(0x34f)](_0x4d44d3){const _0x5ec2c0=_0x1c30d9,{memberID:_0x5a515c}=_0x4d44d3['data'],_0x49c391=this[_0x5ec2c0(0x109)];_0x49c391[_0x5ec2c0(0x139)](_0x5a515c),this[_0x5ec2c0(0x26b)][_0x5ec2c0(0x27f)](_0x49c391);}[_0x1c30d9(0x164)](_0x7487c0,_0x584635){const _0x29e269=_0x1c30d9;var _0x5d477e,_0x234403;const _0x3c2765=(_0x234403=(_0x5d477e=this[_0x29e269(0x1b6)][_0x29e269(0x7c)](this[_0x29e269(0xba)]))==null?void 0x0:_0x5d477e[_0x29e269(0x187)](_0x7487c0))==null?void 0x0:_0x234403[_0x29e269(0x335)]();return(_0x3c2765==null?void 0x0:_0x3c2765[_0x29e269(0xc8)](_0x55df26=>_0x1dfb30[_0x29e269(0x155)]['contains'](_0x55df26,_0x584635)))||_0x584635;}[_0x1c30d9(0x270)](){const _0x8458c1=_0x1c30d9,_0x13dac5=new _0x1dfb30[(_0x8458c1(0x220))](),_0x231608=_0x2011ca(),_0x4a2e12=()=>{const _0x581767=_0x8458c1;_0x13dac5[_0x581767(0x289)]();const _0x5feada=(_0x4bd674,_0x4b3e84,_0x51bcdc,_0x2406f1)=>{const _0x5f1068=_0x581767;let _0x37921b=[];switch(_0x4bd674['id']){case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0xc2)]:{_0x37921b=_0x59ff8d['handleDeleteRangeMoveLeft'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x31e)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x8b)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x70)]:{_0x37921b=_0x59ff8d['handleInsertCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x2ba)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x2cf)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['InsertRangeMoveRightCommandId']:{_0x37921b=_0x59ff8d['handleInsertRangeMoveRight'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1dc)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x15e)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['MoveRangeCommandId']:{_0x37921b=_0x59ff8d[_0x5f1068(0x24c)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1c8)]:{_0x37921b=_0x59ff8d['handleIRemoveCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x29e)]:{_0x37921b=_0x59ff8d['handleIRemoveRow'](_0x4bd674,_0x2406f1);break;}}const _0x4f1408=_0x59ff8d[_0x5f1068(0x261)](_0x37921b,_0x2406f1),_0x44c4f7=this[_0x5f1068(0x109)]['get'](_0x4b3e84);if(_0x44c4f7&&_0x4f1408){const _0x12aa27={..._0x44c4f7,'range':_0x4f1408};this['cursorInfo'][_0x5f1068(0x151)](_0x4b3e84,_0x12aa27),_0x231608(()=>{const _0x224e0e=_0x5f1068,_0x35acc3=this[_0x224e0e(0x33b)][_0x224e0e(0x2a0)](_0x4f1408,_0x51dfab=>(_0x35acc3[_0x224e0e(0x289)](),_0x5feada(_0x51dfab,_0x4b3e84,_0x51bcdc,_0x4f1408)));_0x13dac5[_0x224e0e(0x1e3)](_0x35acc3);});}return{'redos':[],'undos':[]};};this[_0x581767(0x109)]['forEach']((_0x19d7c2,_0x174bc6)=>{const _0x1f2419=_0x581767,{range:_0x37fb34,sheetID:_0x20fa6d}=_0x19d7c2,_0x40e6c7=this[_0x1f2419(0x33b)]['registerRefRange'](_0x37fb34,_0x3553eb=>(_0x40e6c7['dispose'](),_0x5feada(_0x3553eb,_0x174bc6,_0x20fa6d,_0x37fb34)));_0x13dac5[_0x1f2419(0x1e3)](_0x40e6c7);});};this['disposeWithMe'](_0x1dfb30['toDisposable'](this[_0x8458c1(0x26b)]['subscribe'](()=>{_0x4a2e12();})));}[_0x1c30d9(0x1ed)](){const _0xe85be7=_0x1c30d9;var _0xc7d84a,_0x4e610e;if(this[_0xe85be7(0x217)]=!0x0,((_0xc7d84a=this[_0xe85be7(0x1b6)]['getFocusedUnit']())==null?void 0x0:_0xc7d84a[_0xe85be7(0x15d)]())!==this[_0xe85be7(0xba)])return;const _0x27064b=(_0x4e610e=this[_0xe85be7(0x1b3)][_0xe85be7(0x123)](_0x59ff8d[_0xe85be7(0x313)])['getCurrentSelections']())==null?void 0x0:_0x4e610e[0x0],_0x1ac206=this[_0xe85be7(0x1b6)]['getCurrentUnitForType'](_0x1dfb30[_0xe85be7(0x2b6)][_0xe85be7(0x254)])[_0xe85be7(0x287)]();_0x27064b&&_0x1ac206&&this[_0xe85be7(0x285)](_0x1ac206[_0xe85be7(0x1e8)](),_0x27064b);}[_0x1c30d9(0xf8)](){const _0x5cb2ba=_0x1c30d9;this[_0x5cb2ba(0x217)]=!0x1;}};_0x26f0a0=_0x18db51([_0x2f9ea2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x2f9ea2(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2f9ea2(0x4,_0x1dfb30['Inject'](_0x3899ea[_0x1c30d9(0x28f)])),_0x2f9ea2(0x5,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2f9ea2(0x6,_0x1dfb30[_0x1c30d9(0x269)]),_0x2f9ea2(0x7,_0x1dfb30['Inject'](_0x59ff8d[_0x1c30d9(0x117)]))],_0x26f0a0);var _0x57cb78=Object[_0x1c30d9(0x176)],_0x218b8e=(_0x9c41f8,_0x1854a5,_0x21faee,_0x324a99)=>{const _0x2011e1=_0x1c30d9;for(var _0x40119c=_0x324a99>0x1?void 0x0:_0x324a99?_0x57cb78(_0x1854a5,_0x21faee):_0x1854a5,_0x3c66d0=_0x9c41f8[_0x2011e1(0x263)]-0x1,_0x3ac21c;_0x3c66d0>=0x0;_0x3c66d0--)(_0x3ac21c=_0x9c41f8[_0x3c66d0])&&(_0x40119c=_0x3ac21c(_0x40119c)||_0x40119c);return _0x40119c;},_0x336319=(_0x1e974e,_0x54e021)=>(_0x483424,_0x808d6b)=>_0x54e021(_0x483424,_0x808d6b,_0x1e974e);let _0x156b27=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x316bae,_0x7d750d,_0x4d4736){const _0x41e122=_0x1c30d9;super(),_0xbf1006(this,_0x41e122(0x100),new Map()),_0xbf1006(this,_0x41e122(0x296),new _0x12ea67[(_0x41e122(0x222))]()),(this[_0x41e122(0x1b6)]=_0x316bae,this[_0x41e122(0x1b3)]=_0x7d750d,this['_collabSessionService']=_0x4d4736,this[_0x41e122(0x31a)]());}['dispose'](){const _0x56f028=_0x1c30d9;super[_0x56f028(0x289)](),this['_entityInit$'][_0x56f028(0x23a)](),this['_entities'][_0x56f028(0x249)](_0x492d8d=>_0x492d8d[_0x56f028(0x289)]());}[_0x1c30d9(0x28a)](_0x5df38e){const _0x49721e=_0x1c30d9;return this[_0x49721e(0x100)][_0x49721e(0x115)](_0x5df38e)?this[_0x49721e(0x100)]['get'](_0x5df38e)['cursorInfo$']:this[_0x49721e(0x296)]['pipe'](_0x12ea67[_0x49721e(0x327)](_0x7611c7=>_0x7611c7[_0x49721e(0xba)]===_0x5df38e),_0x12ea67['switchMap'](_0x278883=>_0x278883[_0x49721e(0xfc)]));}[_0x1c30d9(0x31a)](){const _0x3a69c0=_0x1c30d9;this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET'])[_0x3a69c0(0x1a0)](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))['subscribe'](async _0x1c1f47=>{const _0x4f2dd8=_0x3a69c0,_0x33237c=_0x1c1f47['getUnitId'](),_0x125046=await this[_0x4f2dd8(0x28d)](_0x33237c);this[_0x4f2dd8(0x296)][_0x4f2dd8(0x27f)](_0x125046),this[_0x4f2dd8(0x100)]['set'](_0x33237c,_0x125046);}),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)][_0x3a69c0(0x32e)])['pipe'](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x1a0)](_0x12ea67[_0x3a69c0(0x327)](_0x47048f=>!_0x47048f[_0x3a69c0(0x15d)]()[_0x3a69c0(0x33c)]('__')))[_0x3a69c0(0x131)](async _0x43b0e2=>{const _0x3633bc=_0x3a69c0,_0xf5f6ce=_0x43b0e2[_0x3633bc(0x15d)](),_0x958183=await this[_0x3633bc(0x2c5)](_0xf5f6ce);this[_0x3633bc(0x296)][_0x3633bc(0x27f)](_0x958183),this[_0x3633bc(0x100)][_0x3633bc(0x151)](_0xf5f6ce,_0x958183);}),_0x12ea67[_0x3a69c0(0x307)](this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30['UniverInstanceType'][_0x3a69c0(0x32e)]),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET']))['pipe'](_0x12ea67[_0x3a69c0(0x201)](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x131)](_0x5e7d25=>{const _0x1b43fc=_0x3a69c0,_0x35fb09=_0x5e7d25['getUnitId'](),_0x117d5f=this[_0x1b43fc(0x100)][_0x1b43fc(0x123)](_0x35fb09);_0x117d5f&&(_0x117d5f[_0x1b43fc(0x289)](),this[_0x1b43fc(0x100)][_0x1b43fc(0x139)](_0x35fb09));});}async[_0x1c30d9(0x28d)](_0x50b3a6){const _0x4018fe=_0x1c30d9,_0x143edd=await this[_0x4018fe(0x2fd)][_0x4018fe(0x178)](_0x50b3a6),_0x2ed0e3=this[_0x4018fe(0x1b3)][_0x4018fe(0x1fb)](_0x26f0a0,_0x50b3a6,_0x143edd);return _0x2ed0e3[_0x4018fe(0x240)](),_0x2ed0e3;}async['_startDocCollabCursor'](_0x5e8625){const _0xa32b37=_0x1c30d9,_0x2dc7b4=await this['_collabSessionService'][_0xa32b37(0x178)](_0x5e8625),_0x4d95d0=this[_0xa32b37(0x1b3)][_0xa32b37(0x1fb)](_0x1ce994,_0x5e8625,_0x2dc7b4);return _0x4d95d0[_0xa32b37(0x240)](),_0x4d95d0;}};_0x156b27=_0x218b8e([_0x336319(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x336319(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x336319(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2af)]))],_0x156b27);const _0x5b7dae=0x14,_0x2e1839=0xc8,_0x316dd9=0x4,_0x6954ee=0x5;function _0x25d6fc(_0x255f64,_0x846288){const _0x16da7b=_0x1c30d9;let {radius:_0x56441f,width:_0x425f4e,height:_0x306f8a}=_0x846288;_0x56441f=_0x56441f!=null?_0x56441f:0x0,_0x425f4e=_0x425f4e!=null?_0x425f4e:0x1e,_0x306f8a=_0x306f8a!=null?_0x306f8a:0x1e;let _0x18c313=0x0,_0x2df2f1=0x0,_0x5a6e6b=0x0;_0x18c313=_0x2df2f1=_0x5a6e6b=Math[_0x16da7b(0x24f)](_0x56441f,_0x425f4e/0x2,_0x306f8a/0x2),_0x255f64[_0x16da7b(0x92)](),_0x255f64[_0x16da7b(0x145)](_0x18c313,0x0),_0x255f64[_0x16da7b(0x344)](_0x425f4e-_0x2df2f1,0x0),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x2df2f1,_0x2df2f1,_0x2df2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x255f64[_0x16da7b(0x344)](_0x425f4e,_0x306f8a-_0x5a6e6b),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x5a6e6b,_0x306f8a-_0x5a6e6b,_0x5a6e6b,0x0,Math['PI']/0x2,!0x1),_0x255f64[_0x16da7b(0x344)](0x0,_0x306f8a),_0x255f64[_0x16da7b(0x344)](0x0,_0x18c313),_0x255f64[_0x16da7b(0x2f1)](_0x18c313,_0x18c313,_0x18c313,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x255f64[_0x16da7b(0x14b)](),_0x846288[_0x16da7b(0x1bf)]&&(_0x255f64[_0x16da7b(0xb8)](),_0x255f64[_0x16da7b(0x231)]=_0x846288[_0x16da7b(0x1bf)],_0x846288['fillRule']===_0x16da7b(0x13b)?_0x255f64[_0x16da7b(0x1bf)](_0x16da7b(0x13b)):_0x255f64['fill'](),_0x255f64[_0x16da7b(0x2b5)]());}class _0x1932c3 extends _0x5cce25['Shape']{constructor(_0x9c9091,_0x23a8bf){const _0x565f1d=_0x1c30d9;super(_0x9c9091,_0x23a8bf),_0xbf1006(this,_0x565f1d(0xb0)),_0xbf1006(this,_0x565f1d(0x2fc)),(this[_0x565f1d(0xb0)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0xb0)],this[_0x565f1d(0x2fc)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0x2fc)]);}static[_0x1c30d9(0x180)](_0x1ba5ac,_0xda9fad){const _0x161cd9=_0x1c30d9,{text:_0x136981,color:_0xf83c31}=_0xda9fad;_0x1ba5ac[_0x161cd9(0xb8)](),_0x1ba5ac[_0x161cd9(0x74)]=_0x161cd9(0x25b);const _0x49b7c9=_0x1ba5ac[_0x161cd9(0x15c)](_0x136981)[_0x161cd9(0x192)],_0x4b9f47=Math[_0x161cd9(0x24f)](_0x49b7c9+0x2*_0x316dd9,_0x2e1839);_0x25d6fc(_0x1ba5ac,{'height':_0x5b7dae,'radius':0x4,'width':_0x4b9f47,'fill':_0xf83c31}),_0x1ba5ac[_0x161cd9(0x231)]=_0x161cd9(0x237);const _0x4429ca=_0x316dd9,_0x3fb7c1=_0x5b7dae-_0x6954ee,_0xdb0160=_0x2e1839-0x2*_0x316dd9;if(_0x49b7c9>_0xdb0160){let _0xe43c88='',_0x58caec=0x0;for(const _0x3cdd72 of _0x136981){const _0x530495=_0x1ba5ac[_0x161cd9(0x15c)](_0x3cdd72)[_0x161cd9(0x192)];if(_0x58caec+_0x530495<=_0xdb0160-_0x1ba5ac[_0x161cd9(0x15c)](_0x161cd9(0x2b0))[_0x161cd9(0x192)])_0xe43c88+=_0x3cdd72,_0x58caec+=_0x530495;else{_0xe43c88+='...';break;}}_0x1ba5ac[_0x161cd9(0x198)](_0xe43c88,_0x4429ca,_0x3fb7c1);}else _0x1ba5ac[_0x161cd9(0x198)](_0x136981,_0x4429ca,_0x3fb7c1);_0x1ba5ac[_0x161cd9(0x2b5)]();}[_0x1c30d9(0xf5)](_0x52e593){const _0x4195cd=_0x1c30d9;_0x1932c3[_0x4195cd(0x180)](_0x52e593,this);}}const _0x4bac1f=_0x1c30d9(0x1a7),_0x30b12a='collab-text-range-',_0x675c05=_0x1c30d9(0x121),_0x197527=0x6,_0x1a5bed=1.5,_0x17f908=0x4,_0x46d8a3=1.5,_0x5b9578=_0x1c30d9(0x18e);class _0x348f9b{constructor(_0x4657da,_0x235e46,_0x505265,_0x51b2c6){const _0x5189f3=_0x1c30d9;_0xbf1006(this,_0x5189f3(0x19f),[]),_0xbf1006(this,_0x5189f3(0x105),null),_0xbf1006(this,'_textBubble',null),_0xbf1006(this,_0x5189f3(0xad),null),_0xbf1006(this,'_hideTimer',null),_0xbf1006(this,'_eventUnsubscribe',null),(this[_0x5189f3(0x26d)]=_0x4657da,this[_0x5189f3(0x7f)]=_0x235e46,this['_docSkeleton']=_0x505265,this[_0x5189f3(0x177)]=_0x51b2c6,this[_0x5189f3(0x1a2)]());}set[_0x1c30d9(0xbe)](_0x1fc6d4){const _0x2ab4ca=_0x1c30d9;_0x1fc6d4?(this[_0x2ab4ca(0xad)]&&this[_0x2ab4ca(0xad)]['hide'](),this[_0x2ab4ca(0x2f5)]&&this['_textBubble'][_0x2ab4ca(0x2ec)]()):(this['_anchorDot']&&this[_0x2ab4ca(0xad)][_0x2ab4ca(0x2ec)](),this[_0x2ab4ca(0x2f5)]&&this[_0x2ab4ca(0x2f5)][_0x2ab4ca(0x267)]());}[_0x1c30d9(0x289)](){const _0x5584f4=_0x1c30d9;for(const _0x44b8ab of this[_0x5584f4(0x19f)])_0x44b8ab[_0x5584f4(0x289)]();this['_textBubble']&&this[_0x5584f4(0x2f5)]['dispose'](),this['_anchorDot']&&this[_0x5584f4(0xad)][_0x5584f4(0x289)](),this['_anchor']&&this[_0x5584f4(0x105)]['dispose'](),this[_0x5584f4(0x10a)]&&this[_0x5584f4(0x10a)]();}[_0x1c30d9(0x1a2)](){const _0x7c492d=_0x1c30d9;var _0x3a48e7;const {_docSkeleton:_0x62e982,_document:_0x29e285}=this,{color:_0x20ed29,name:_0x25889e,ranges:_0x30b58c}=this[_0x7c492d(0x26d)],_0x2bc7d0=_0x29e285[_0x7c492d(0x25f)](),{docsLeft:_0x3cdc51,docsTop:_0x20dcd2}=_0x2bc7d0,_0x3963cd=new _0x4f04d2[(_0x7c492d(0xd1))](_0x2bc7d0,_0x62e982);for(const {startOffset:_0x206e8d,endOffset:_0x592444,rangeType:_0xcc62e6,segmentId:_0x4a3d40,segmentPage:_0x378411,collapsed:_0x204457,isActive:_0x45803b}of _0x30b58c){const _0xca4705=_0x62e982[_0x7c492d(0x351)](_0x206e8d,!0x0,_0x4a3d40,_0x378411);let _0x774cd3=_0x62e982[_0x7c492d(0x351)](_0x592444,!0x0,_0x4a3d40,_0x378411);if(_0x774cd3==null&&(_0x774cd3=_0x62e982['findNodePositionByCharIndex'](_0x592444-0x1,!0x1,_0x4a3d40,_0x378411)),_0x45803b){const {contentBoxPointGroup:_0x1ced6a}=_0x3963cd[_0x7c492d(0x1b4)](_0x774cd3,_0x774cd3);if(_0x1ced6a[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x15f)](_0x20ed29,_0x1ced6a,_0x3cdc51,_0x20dcd2,_0x25889e),this[_0x7c492d(0x10a)]=this[_0x7c492d(0x251)]();}if(_0xca4705&&_0x774cd3){if(_0xcc62e6===_0x1dfb30[_0x7c492d(0xd7)][_0x7c492d(0x11d)]){const _0x3a4dbf=new _0x4f04d2[(_0x7c492d(0xe4))](_0x2bc7d0,_0x62e982),{pointGroup:_0x4a4f1c}=(_0x3a48e7=_0x3a4dbf[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3))!=null?_0x3a48e7:{};if(_0x4a4f1c==null||_0x4a4f1c[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x168)](_0x20ed29,_0x4a4f1c,_0x3cdc51,_0x20dcd2);}else{if(!_0x204457){const {borderBoxPointGroup:_0x37a332}=_0x3963cd[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3);if(_0x37a332[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x122)](_0x20ed29,_0x37a332,_0x3cdc51,_0x20dcd2);}}}}}[_0x1c30d9(0x15f)](_0x4637a4,_0xac3ae1,_0x21420b,_0xdf31a9,_0x130a5a){const _0x344ac4=_0x1c30d9,_0x583fba=this['_getAnchorBounding'](_0xac3ae1),{left:_0x3e5689,top:_0x2e4985,height:_0x10ac4c}=_0x583fba,_0x5ac337=this[_0x344ac4(0x292)](),_0x4f9ebe=_0x46d8a3/_0x5ac337,_0xf4e5aa=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9,'height':_0x10ac4c,'width':_0x1a5bed,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30[_0x344ac4(0x8d)][_0x344ac4(0x88)],0x0),'strokeWidth':_0x4f9ebe,'stroke':_0x5b9578,'evented':!0x0});this[_0x344ac4(0x105)]=_0xf4e5aa,this[_0x344ac4(0x7f)]['addObject'](_0xf4e5aa,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x4d57a3=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x17f908/0x2,'height':_0x17f908,'width':_0x17f908,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30['COLORS'][_0x344ac4(0x88)],0x0),'strokeWidth':0x0,'stroke':_0x4637a4||_0x5cce25[_0x344ac4(0x1be)](_0x1dfb30[_0x344ac4(0x8d)]['black'],0x0),'evented':!0x1});this[_0x344ac4(0xad)]=_0x4d57a3,this[_0x344ac4(0x7f)]['addObject'](_0x4d57a3,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x51184c=new _0x1932c3(_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x5b7dae,'text':_0x130a5a,'color':_0x4637a4});this['_textBubble']=_0x51184c,this[_0x344ac4(0x7f)][_0x344ac4(0x167)](_0x51184c,_0x4f04d2['TEXT_RANGE_LAYER_INDEX']),this[_0x344ac4(0xbe)]=!0x1;}[_0x1c30d9(0x251)](){const _0x1efa93=_0x1c30d9,_0x38def3=this['_anchor'][_0x1efa93(0x2fb)][_0x1efa93(0x25e)](()=>{const _0x44d5f7=_0x1efa93;this[_0x44d5f7(0xbe)]=!0x0;}),_0x376f98=this[_0x1efa93(0x105)][_0x1efa93(0x96)]['subscribeEvent'](()=>{const _0x51ea66=_0x1efa93;this[_0x51ea66(0x196)]&&clearTimeout(this[_0x51ea66(0x196)]),this[_0x51ea66(0x196)]=setTimeout(()=>{const _0x204b9c=_0x51ea66;this[_0x204b9c(0xbe)]=!0x1;},0x7d0);});return()=>{const _0x30bf8e=_0x1efa93;_0x38def3[_0x30bf8e(0x1fe)](),_0x376f98[_0x30bf8e(0x1fe)]();};}[_0x1c30d9(0x122)](_0x524736,_0x3d775b,_0x48f5fe,_0x254119){const _0x25eba0=_0x1c30d9,_0x2b723a=new _0x1dfb30[(_0x25eba0(0x135))](_0x524736)[_0x25eba0(0x1a8)](0.2)[_0x25eba0(0xf0)](),_0x147c91=new _0x5cce25[(_0x25eba0(0xcf))](_0x30b12a+_0x1dfb30[_0x25eba0(0x157)](_0x197527),{'pointsGroup':_0x3d775b,'fill':_0x2b723a||_0x5cce25[_0x25eba0(0x1be)](_0x1dfb30[_0x25eba0(0x8d)][_0x25eba0(0x88)],0.2),'left':_0x48f5fe,'top':_0x254119,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x25eba0(0x72)](_0x147c91),this[_0x25eba0(0x7f)]['addObject'](_0x147c91,_0x4f04d2[_0x25eba0(0x1e7)]);}['_drawRectRange'](_0x8e3062,_0xc7b78f,_0x4c8d71,_0x531dae){const _0x428982=_0x1c30d9,_0xfd775=new _0x1dfb30[(_0x428982(0x135))](_0x8e3062)[_0x428982(0x1a8)](0.2)['toRgbString'](),_0x49c757=new _0x5cce25['RegularPolygon'](_0x675c05+_0x1dfb30['generateRandomId'](_0x197527),{'pointsGroup':_0xc7b78f,'fill':_0xfd775||_0x5cce25[_0x428982(0x1be)](_0x1dfb30[_0x428982(0x8d)][_0x428982(0x88)],0.2),'left':_0x4c8d71,'top':_0x531dae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x428982(0x19f)][_0x428982(0x72)](_0x49c757),this['_scene'][_0x428982(0x167)](_0x49c757,_0x4f04d2[_0x428982(0x1e7)]);}[_0x1c30d9(0x32d)](_0x1e280c){const _0xf61fa1=_0x1e280c[0x0],_0x1eff4f=_0xf61fa1[0x0],_0x4ac336=_0xf61fa1[0x2],{x:_0x12f6da,y:_0x1cf08e}=_0x1eff4f,{x:_0x4717d4,y:_0x528b03}=_0x4ac336;return{'left':_0x12f6da,'top':_0x1cf08e,'width':_0x4717d4-_0x12f6da,'height':_0x528b03-_0x1cf08e};}[_0x1c30d9(0x292)](){const _0x278982=_0x1c30d9,{scaleX:_0x30ac,scaleY:_0x5e56df}=this[_0x278982(0x7f)][_0x278982(0xbd)]();return Math[_0x278982(0x277)](_0x30ac,_0x5e56df);}}var _0x16e398=Object[_0x1c30d9(0x176)],_0x3a36cc=(_0x41628c,_0x2c385f,_0x30f066,_0x5df8ff)=>{const _0x3b7e81=_0x1c30d9;for(var _0x523c4d=_0x5df8ff>0x1?void 0x0:_0x5df8ff?_0x16e398(_0x2c385f,_0x30f066):_0x2c385f,_0x5c9e7e=_0x41628c[_0x3b7e81(0x263)]-0x1,_0x58316f;_0x5c9e7e>=0x0;_0x5c9e7e--)(_0x58316f=_0x41628c[_0x5c9e7e])&&(_0x523c4d=_0x58316f(_0x523c4d)||_0x523c4d);return _0x523c4d;},_0x4a84f3=(_0x1f2ef1,_0x4fa0e1)=>(_0x321fb3,_0x556e02)=>_0x4fa0e1(_0x321fb3,_0x556e02,_0x1f2ef1);let _0x55ea51=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x3e1922,_0x5da921,_0x3ab9a9,_0x4c605b,_0x3134d1){const _0x2ce739=_0x1c30d9;super(),_0xbf1006(this,_0x2ce739(0x20d),[]),_0xbf1006(this,'_cursors',[]),(this['_context']=_0x3e1922,this[_0x2ce739(0x306)]=_0x5da921,this[_0x2ce739(0xa2)]=_0x3ab9a9,this[_0x2ce739(0x1d8)]=_0x4c605b,this['_themeService']=_0x3134d1,this[_0x2ce739(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x59face=_0x1c30d9,_0x1a5239=this[_0x59face(0x2bd)][_0x59face(0x352)],_0x2e86c1=this[_0x59face(0x306)];this['disposeWithMe'](_0x12ea67[_0x59face(0x348)]([this[_0x59face(0xa2)]['getCollabCursors$'](_0x1a5239),this[_0x59face(0x2a5)][_0x59face(0x1c0)]])[_0x59face(0x1a0)](_0x2dd10a['map'](([_0x50362f,_0x5f1f44])=>({'skeleton':_0x2e86c1['getSkeleton'](),'cursors':[..._0x50362f[_0x59face(0xd5)]()][_0x59face(0x1b9)](_0x244591=>({..._0x244591,'color':this[_0x59face(0x2a5)][_0x59face(0x260)](_0x244591[_0x59face(0xb0)])}))})))[_0x59face(0x131)](_0x3cc83c=>{const _0x5a1b9d=_0x59face;if(this[_0x5a1b9d(0x112)](),_0x3cc83c){const {skeleton:_0x37da41,cursors:_0x2297de}=_0x3cc83c;this[_0x5a1b9d(0x23f)](_0x37da41,_0x2297de);}})),this[_0x59face(0x353)](),this['_initCommandExecutedListener']();}[_0x1c30d9(0x23f)](_0x34c52e,_0x26b888){const _0x9facf9=_0x1c30d9,{scene:_0x3037b1,mainComponent:_0x1d04f6}=this['_context'],_0x5d6ec6=_0x26b888[_0x9facf9(0x235)](_0x1e4473=>new _0x348f9b(_0x1e4473,_0x3037b1,_0x34c52e,_0x1d04f6));this[_0x9facf9(0x20d)]=_0x5d6ec6,this[_0x9facf9(0x300)]=_0x26b888;}['_refreshCollabCursors'](){const _0x1f9c43=_0x1c30d9;this[_0x1f9c43(0x112)]();const {scene:_0x6af634,mainComponent:_0x264ba7}=this[_0x1f9c43(0x2bd)],_0x3a52ad=this[_0x1f9c43(0x306)][_0x1f9c43(0x26e)](),_0x580fd4=this['_cursors'][_0x1f9c43(0x235)](_0x30eabe=>new _0x348f9b(_0x30eabe,_0x6af634,_0x3a52ad,_0x264ba7));this[_0x1f9c43(0x20d)]=_0x580fd4;}[_0x1c30d9(0x112)](){const _0x43a363=_0x1c30d9;this[_0x43a363(0x20d)][_0x43a363(0x249)](_0x3b3d67=>_0x3b3d67[_0x43a363(0x289)]()),this[_0x43a363(0x20d)]=[];}[_0x1c30d9(0x2a2)](){const _0x35b52d=_0x1c30d9,_0x7fadfb=[_0x4f04d2[_0x35b52d(0x93)]['id']];this['disposeWithMe'](this[_0x35b52d(0x1d8)][_0x35b52d(0x1e1)](_0x5a183e=>{const _0x25e77a=_0x35b52d;_0x7fadfb['includes'](_0x5a183e['id'])&&_0x5a183e[_0x25e77a(0x2c6)][_0x25e77a(0x352)]===this[_0x25e77a(0x2bd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1c30d9(0x353)](){const _0x10a220=_0x1c30d9;this[_0x10a220(0x297)](_0x1dfb30[_0x10a220(0x15a)](this[_0x10a220(0x2bd)][_0x10a220(0x302)]['onTransformChange$'])[_0x10a220(0x1a0)](_0x2dd10a[_0x10a220(0x327)](_0x3710c5=>_0x3710c5[_0x10a220(0x2f8)]===_0x5cce25[_0x10a220(0xb3)]['resize']),_0x2dd10a[_0x10a220(0x2ef)](0x10))[_0x10a220(0x131)](()=>{const _0x780209=_0x10a220;this[_0x780209(0x194)]();}));}};_0x55ea51=_0x3a36cc([_0x4a84f3(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x90847b['DocSkeletonManagerService'])),_0x4a84f3(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x4a84f3(0x3,_0x1dfb30['ICommandService']),_0x4a84f3(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x55ea51);const _0x547eea=0x1,_0x4a9d37=1.5;class _0x3e7dc2 extends _0x5cce25[_0x1c30d9(0x1ba)]{constructor(_0x289721,_0x3ba25a){const _0x100fbe=_0x1c30d9;super(_0x289721,_0x3ba25a),_0xbf1006(this,_0x100fbe(0x98)),_0xbf1006(this,_0x100fbe(0x31d),!0x1),_0xbf1006(this,_0x100fbe(0x1d9)),_0xbf1006(this,_0x100fbe(0x236),''),_0xbf1006(this,_0x100fbe(0x16a),'top'),_0xbf1006(this,_0x100fbe(0x23c)),(_0x3ba25a&&this[_0x100fbe(0x126)](_0x3ba25a),this[_0x100fbe(0x2fb)][_0x100fbe(0x25e)](()=>this[_0x100fbe(0x126)]({'hovered':!0x0})),this[_0x100fbe(0x96)]['subscribeEvent'](()=>this[_0x100fbe(0x126)]({'hovered':!0x1})));}[_0x1c30d9(0x126)](_0x3c45dc){const _0x1bc0bf=_0x1c30d9;var _0x27544a,_0x2888fa,_0x317980,_0x5eb2d6,_0x9d6039,_0x206a61;this[_0x1bc0bf(0x98)]=(_0x27544a=_0x3c45dc[_0x1bc0bf(0xb0)])!=null?_0x27544a:this['_color'],this[_0x1bc0bf(0x31d)]=(_0x2888fa=_0x3c45dc['hovered'])!=null?_0x2888fa:this[_0x1bc0bf(0x31d)],this[_0x1bc0bf(0x1d9)]=(_0x317980=_0x3c45dc[_0x1bc0bf(0x278)])!=null?_0x317980:this[_0x1bc0bf(0x1d9)],this['_name']=(_0x5eb2d6=_0x3c45dc['name'])!=null?_0x5eb2d6:this[_0x1bc0bf(0x236)],this[_0x1bc0bf(0x16a)]=(_0x9d6039=_0x3c45dc['labelPosition'])!=null?_0x9d6039:this[_0x1bc0bf(0x16a)],this['_backgroundColor']=(_0x206a61=_0x3c45dc[_0x1bc0bf(0x1d5)])!=null?_0x206a61:this[_0x1bc0bf(0x23c)],this['transformByState']({'width':_0x3c45dc[_0x1bc0bf(0x192)],'height':_0x3c45dc[_0x1bc0bf(0xec)]});}[_0x1c30d9(0x79)](_0x3b43ec){const _0x55268e=_0x1c30d9,{row:_0x129569,column:_0x40fda}=_0x3b43ec;if(_0x129569>=this[_0x55268e(0x1d9)][_0x55268e(0x338)]&&_0x129569<=this[_0x55268e(0x1d9)][_0x55268e(0x14d)]&&_0x40fda>=this[_0x55268e(0x1d9)][_0x55268e(0xe9)]&&_0x40fda<=this[_0x55268e(0x1d9)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x55268e(0x126)]({'hovered':!0x1});}[_0x1c30d9(0x256)](_0x1891de){return!0x1;}['_draw'](_0x82e4b0){const _0x4e811e=_0x1c30d9;_0x5cce25['Rect'][_0x4e811e(0x180)](_0x82e4b0,{'width':this[_0x4e811e(0x192)],'height':this['height'],'strokeWidth':_0x4a9d37,'stroke':this[_0x4e811e(0x98)],'evented':!0x1,'fill':this[_0x4e811e(0x23c)]}),this[_0x4e811e(0x31d)]&&(_0x82e4b0[_0x4e811e(0xb8)](),_0x82e4b0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4e811e(0x16a)]===_0x4e811e(0x2ce)?0x0:-_0x5b7dae),_0x1932c3[_0x4e811e(0x180)](_0x82e4b0,{'text':this['_name'],'color':this['_color']}),_0x82e4b0[_0x4e811e(0x2b5)]());}}var _0x9265c6=Object[_0x1c30d9(0x176)],_0x53b2e7=(_0x37d937,_0x1fdbbc,_0x196d90,_0x16b6df)=>{for(var _0x3d97eb=_0x16b6df>0x1?void 0x0:_0x16b6df?_0x9265c6(_0x1fdbbc,_0x196d90):_0x1fdbbc,_0x30c1a5=_0x37d937['length']-0x1,_0x2734dd;_0x30c1a5>=0x0;_0x30c1a5--)(_0x2734dd=_0x37d937[_0x30c1a5])&&(_0x3d97eb=_0x2734dd(_0x3d97eb)||_0x3d97eb);return _0x3d97eb;},_0x607070=(_0xfdc640,_0xf40919)=>(_0x2a5675,_0x34a6a2)=>_0xf40919(_0x2a5675,_0x34a6a2,_0xfdc640);const _0x533df6=0x1389;let _0x5e75af=class extends _0x1dfb30['RxDisposable']{constructor(_0x1f6c24,_0x1996e2,_0x3a3b03,_0x4ad463){const _0x196ed9=_0x1c30d9;super(),_0xbf1006(this,_0x196ed9(0x300),new Set()),_0xbf1006(this,'_lastPointer',null),(this['_context']=_0x1f6c24,this[_0x196ed9(0x1b8)]=_0x1996e2,this[_0x196ed9(0xa2)]=_0x3a3b03,this['_themeService']=_0x4ad463,this[_0x196ed9(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x1d3dfd=_0x1c30d9;this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)]['pipe'](_0x2dd10a[_0x1d3dfd(0x201)](this['dispose$']),_0x2dd10a[_0x1d3dfd(0x320)](_0x527663=>{const _0x1a2b3f=_0x1d3dfd;if(_0x527663){const _0x21b8a9=_0x527663[_0x1a2b3f(0x197)];return _0x12ea67[_0x1a2b3f(0x348)](this['_collabCursorController'][_0x1a2b3f(0x28a)](this[_0x1a2b3f(0x2bd)][_0x1a2b3f(0x352)]),this[_0x1a2b3f(0x2a5)]['currentTheme$'])[_0x1a2b3f(0x1a0)](_0x2dd10a[_0x1a2b3f(0x235)](([_0x3059eb,_0x272e0e])=>{const _0x162925=_0x1a2b3f,_0x3964f6=new Map();return _0x3059eb[_0x162925(0x249)]((_0x4a06d5,_0x4a18cf)=>{const _0x1158ed=_0x162925;if(_0x4a06d5['sheetID']===_0x21b8a9){const _0x4c4c45={..._0x4a06d5};_0x4c4c45[_0x1158ed(0xb0)]=this['_themeService']['getColorFromTheme'](_0x4a06d5[_0x1158ed(0xb0)]),_0x3964f6[_0x1158ed(0x151)](_0x4a18cf,_0x4c4c45);}}),{'skeleton':_0x527663,'cursors':_0x3964f6};}));}return _0x12ea67['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x516881,cursors:_0x4fb32c})=>{const _0x538644=_0x1d3dfd;this[_0x538644(0x112)](),_0x516881&&this[_0x538644(0x23f)](_0x516881,_0x4fb32c);}),this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)][_0x1d3dfd(0x131)](_0x4b5110=>{const _0x3e4fd3=_0x1d3dfd;if(_0x4b5110==null)return;const {skeleton:_0x3e190c}=_0x4b5110,{scene:_0x56c94d}=this['_context'];_0x56c94d[_0x3e4fd3(0xc5)][_0x3e4fd3(0x25e)](_0x1dfb30[_0x3e4fd3(0x233)](_0x31ee28=>{const _0x18fb1e=_0x3e4fd3;var _0xba314f,_0x128ae4;const {offsetX:_0x467a6d,offsetY:_0x56ad68}=_0x31ee28,{x:_0x2ce6e2,y:_0x2537d7}=_0x56c94d['getRelativeToViewportCoord'](_0x5cce25[_0x18fb1e(0x1c3)][_0x18fb1e(0x2e4)]([_0x467a6d,_0x56ad68])),{scaleX:_0x2a602f,scaleY:_0x4d56a9}=_0x56c94d[_0x18fb1e(0xbd)](),_0x54dd4b=_0x56c94d['getViewport'](_0x5cce25[_0x18fb1e(0xe3)][_0x18fb1e(0x127)]),_0x4a7531=_0x56c94d['getVpScrollXYInfoByPosToVp'](_0x5cce25[_0x18fb1e(0x1c3)]['FromArray']([_0x2ce6e2,_0x2537d7]),_0x54dd4b),_0x421f2c=_0x3e190c[_0x18fb1e(0xda)](_0x467a6d,_0x56ad68,_0x2a602f,_0x4d56a9,_0x4a7531);((_0xba314f=this[_0x18fb1e(0x15b)])==null?void 0x0:_0xba314f[_0x18fb1e(0x2d4)])===_0x421f2c[_0x18fb1e(0x2d4)]&&((_0x128ae4=this[_0x18fb1e(0x15b)])==null?void 0x0:_0x128ae4[_0x18fb1e(0x321)])===_0x421f2c[_0x18fb1e(0x321)]||this[_0x18fb1e(0x300)]['forEach'](_0x307df3=>{const _0x226130=_0x18fb1e;_0x307df3[_0x226130(0x79)](_0x421f2c);});},0x64));});}[_0x1c30d9(0x23f)](_0x18076f,_0x16fc23){const _0x42a64f=_0x1c30d9;var _0x2ace8c;const _0x4cbf81=(_0x2ace8c=this['_sheetSkeletonManagerService'][_0x42a64f(0x309)]())==null?void 0x0:_0x2ace8c[_0x42a64f(0x83)];if(!_0x4cbf81)return;const _0x370599=this[_0x42a64f(0xb9)]();if(!_0x370599)return;this['_cursors'][_0x42a64f(0x249)](_0x301a56=>{const _0x447a16=_0x42a64f;_0x301a56[_0x447a16(0x2bc)]();});const {scene:_0x497f40}=_0x370599,_0x5719ca=_0x197825(Array[_0x42a64f(0xed)](_0x16fc23[_0x42a64f(0xd5)]()))[_0x42a64f(0x235)](_0x2c5e6c=>{const _0x3413c1=_0x42a64f,{color:_0x26cd69,range:_0x28b30a,name:_0x59e32d,selection:_0x5daeeb,sheetID:_0x57c697}=_0x2c5e6c,{startColumn:_0xeec926,startRow:_0x1b6401,endColumn:_0x8acf67,endRow:_0x1e41d8}=_0x28b30a,_0x25d3d0=_0x149dfc['getCoordByCell'](_0x1b6401,_0xeec926,_0x497f40,_0x4cbf81),_0x1e49fa=_0x149dfc[_0x3413c1(0x2ff)](_0x1e41d8,_0x8acf67,_0x497f40,_0x4cbf81),{columnHeaderHeightAndMarginTop:_0x31affb}=_0x4cbf81,{startX:_0x4e78bd,startY:_0x3f7072}=_0x25d3d0,{endX:_0xe10d94,endY:_0x4a898d}=_0x1e49fa,_0x447665=_0xe10d94-_0x4e78bd,_0xeee734=_0x4a898d-_0x3f7072,_0x5ce1b9={'labelPosition':_0x3f7072-_0x31affb>=_0x5b7dae?_0x3413c1(0x7e):'bottom','sheetID':_0x57c697,'range':_0x28b30a,'color':_0x26cd69,'name':_0x59e32d,'selection':_0x5daeeb,'left':_0x4e78bd,'top':_0x3f7072,'width':_0x447665,'height':_0xeee734,'evented':!0x1,'zIndex':_0x533df6};return new _0x3e7dc2(_0x59e32d,_0x5ce1b9);});_0x497f40[_0x42a64f(0x1de)](_0x5719ca,_0x547eea),this[_0x42a64f(0x300)]=new Set(_0x5719ca);}['_removeCollabCursors'](){const _0x3153da=_0x1c30d9;var _0x1dc030;(_0x1dc030=this[_0x3153da(0x300)])==null||_0x1dc030[_0x3153da(0x249)](_0x537026=>_0x537026[_0x3153da(0x289)]());}[_0x1c30d9(0xb9)](){const _0x401472=_0x1c30d9;return _0x149dfc[_0x401472(0xe1)](this[_0x401472(0x2bd)]['unit'],this['_context']);}};_0x5e75af=_0x53b2e7([_0x607070(0x1,_0x1dfb30['Inject'](_0x149dfc[_0x1c30d9(0x169)])),_0x607070(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x607070(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x5e75af);function _0x197825(_0x3b3860){const _0x163833=_0x1c30d9,_0x37dc25=new Map();return _0x3b3860[_0x163833(0x249)](_0x1c0f53=>{const _0x3582bf=_0x163833;if(_0x37dc25['has'](_0x1c0f53['selection'])){const _0x385c2b=_0x37dc25[_0x3582bf(0x123)](_0x1c0f53[_0x3582bf(0x299)]);_0x385c2b[_0x3582bf(0x174)]+=',\x20'+_0x1c0f53[_0x3582bf(0x174)];}else _0x37dc25[_0x3582bf(0x151)](_0x1c0f53[_0x3582bf(0x299)],_0x1c0f53);}),Array[_0x163833(0xed)](_0x37dc25[_0x163833(0xd5)]());}var _0x123224=Object[_0x1c30d9(0x176)],_0x2726d1=(_0x80d3ff,_0x3ea718,_0x9f1fb0,_0x3dc467)=>{const _0x3ab385=_0x1c30d9;for(var _0x24bf11=_0x3dc467>0x1?void 0x0:_0x3dc467?_0x123224(_0x3ea718,_0x9f1fb0):_0x3ea718,_0x4d5800=_0x80d3ff[_0x3ab385(0x263)]-0x1,_0x31485c;_0x4d5800>=0x0;_0x4d5800--)(_0x31485c=_0x80d3ff[_0x4d5800])&&(_0x24bf11=_0x31485c(_0x24bf11)||_0x24bf11);return _0x24bf11;},_0x530b80=(_0x35239a,_0x58aab5)=>(_0x3cdb5b,_0x7c6741)=>_0x58aab5(_0x3cdb5b,_0x7c6741,_0x35239a);let _0x36e370=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x36a2f8,_0x4b9e7b,_0x15ca45,_0x1dfa23,_0x247b9d,_0x3a7845){const _0x294b2c=_0x1c30d9;super(),this['_beforeCloseService']=_0x36a2f8,this[_0x294b2c(0x2d7)]=_0x4b9e7b,this[_0x294b2c(0xa0)]=_0x15ca45,this[_0x294b2c(0x258)]=_0x1dfa23,this['_notificationService']=_0x247b9d,this['_localeService']=_0x3a7845,this[_0x294b2c(0x10e)](),this['_initEvent']();}[_0x1c30d9(0x10e)](){const _0x44a303=_0x1c30d9;this['disposeWithMe'](this[_0x44a303(0x279)][_0x44a303(0x1ec)](()=>{const _0x249a59=_0x44a303;if(this[_0x249a59(0x2d7)][_0x249a59(0xe8)][_0x249a59(0x30f)])return this['_localeService']['t'](_0x249a59(0x30e));}));}[_0x1c30d9(0x76)](){const _0x214901=_0x1c30d9;this[_0x214901(0x297)](this[_0x214901(0xa0)]['event$'][_0x214901(0x131)](_0x41ba6e=>{const _0x9d5d71=_0x214901;_0x41ba6e['id']===_0x3899ea['CollaborationUIEventId'][_0x9d5d71(0x31c)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t']('collaboration.single-unit.warning')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x18b)]&&this['_messageService'][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['PERMISSION_DENIED']&&this[_0x9d5d71(0x2aa)][_0x9d5d71(0x2ec)]({'title':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x99)),'content':this[_0x9d5d71(0x147)]['t']('permission.content'),'type':_0x9d5d71(0x186),'duration':0x0}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['CONFLICT']&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x1c1)],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x1f4))+'('+_0x41ba6e[_0x9d5d71(0x2c4)]+')'}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x136)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t'](_0x41ba6e[_0x9d5d71(0x2c4)]||'')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2ea)]&&this['_messageService']['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Warning'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xa6))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x22d)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x284))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2dc)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xaa))});}));}};_0x36e370=_0x2726d1([_0x530b80(0x0,_0x5581af[_0x1c30d9(0x282)]),_0x530b80(0x1,_0x3899ea['ILocalCacheService']),_0x530b80(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2e0)])),_0x530b80(0x3,_0x5581af[_0x1c30d9(0x2b7)]),_0x530b80(0x4,_0x5581af['INotificationService']),_0x530b80(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x36e370);var _0x210745=Object[_0x1c30d9(0x176)],_0x3ef7a5=(_0x417978,_0x7d13e5,_0x56570d,_0x31db8a)=>{const _0x479416=_0x1c30d9;for(var _0x22bcd8=_0x31db8a>0x1?void 0x0:_0x31db8a?_0x210745(_0x7d13e5,_0x56570d):_0x7d13e5,_0x206ffc=_0x417978[_0x479416(0x263)]-0x1,_0x53bc89;_0x206ffc>=0x0;_0x206ffc--)(_0x53bc89=_0x417978[_0x206ffc])&&(_0x22bcd8=_0x53bc89(_0x22bcd8)||_0x22bcd8);return _0x22bcd8;},_0x558fc4=(_0x145a3e,_0xaa261e)=>(_0x9082c0,_0x5e6e5e)=>_0xaa261e(_0x9082c0,_0x5e6e5e,_0x145a3e);let _0x27794d=class extends _0x1dfb30['Disposable']{constructor(_0x5ed558,_0x2939b7,_0x2e65bb,_0x5e0ec2){const _0x3b5738=_0x1c30d9;super(),_0xbf1006(this,_0x3b5738(0x1fc)),(this[_0x3b5738(0x1b3)]=_0x5ed558,this[_0x3b5738(0x159)]=_0x2939b7,this[_0x3b5738(0x1dd)]=_0x2e65bb,this[_0x3b5738(0x275)]=_0x5e0ec2,this[_0x3b5738(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x36f8df=_0x1c30d9;this['_initWindowErrorListener'](),this[_0x36f8df(0x21a)](),this[_0x36f8df(0x245)](),this[_0x36f8df(0xde)]();}[_0x1c30d9(0xde)](){const _0x41258b=_0x1c30d9;this['disposeWithMe'](this[_0x41258b(0x275)][_0x41258b(0xa1)][_0x41258b(0x131)](_0x111a60=>{const _0x45aed7=_0x41258b;this[_0x45aed7(0x1fc)]=_0x111a60==null?void 0x0:_0x111a60['memberID'];}));}[_0x1c30d9(0x25a)](){const _0x31c40e=_0x1c30d9,_0x2607ca=_0x1cfde6=>{const _0x360c45=_0x33b0;var _0x5a458d;this[_0x360c45(0x234)]('error',_0x360c45(0x1b0)+_0x1cfde6[_0x360c45(0x9d)]+_0x360c45(0x166)+_0x1cfde6[_0x360c45(0x209)]+':'+_0x1cfde6[_0x360c45(0x2a9)]+':'+_0x1cfde6[_0x360c45(0x137)]+'\x0a'+(((_0x5a458d=_0x1cfde6[_0x360c45(0x186)])==null?void 0x0:_0x5a458d[_0x360c45(0x161)])||''));};window[_0x31c40e(0x138)](_0x31c40e(0x186),_0x2607ca),this[_0x31c40e(0x297)](()=>{const _0x1291fc=_0x31c40e;window[_0x1291fc(0x130)]('error',_0x2607ca);});}[_0x1c30d9(0x21a)](){const _0x2b7cc6=_0x1c30d9,_0x5c08b0=_0x3ea153=>{const _0xf21e44=_0x33b0;this[_0xf21e44(0x234)](_0xf21e44(0x186),_0xf21e44(0xcb)+_0x3ea153[_0xf21e44(0x2bb)]);};window[_0x2b7cc6(0x138)](_0x2b7cc6(0x8a),_0x5c08b0),this[_0x2b7cc6(0x297)](()=>{const _0x10d04e=_0x2b7cc6;window[_0x10d04e(0x130)](_0x10d04e(0x8a),_0x5c08b0);});}[_0x1c30d9(0x245)](){const _0x231fdd=_0x1c30d9,_0x2a3eb6=this['_logService'][_0x231fdd(0x186)][_0x231fdd(0x1df)](this[_0x231fdd(0x1dd)]);this[_0x231fdd(0x1dd)]['error']=(..._0x2aceca)=>{const _0x522ffe=_0x231fdd,_0x903a68=_0x2aceca[_0x522ffe(0x235)](_0x18b0f0=>_0x18b0f0 instanceof Error?_0x18b0f0[_0x522ffe(0x9d)]+'\x0a'+_0x18b0f0[_0x522ffe(0x161)]:String(_0x18b0f0))['join']('\x20');this[_0x522ffe(0x234)]('error','[LogService\x20Error]:\x20'+_0x903a68),_0x2a3eb6(..._0x2aceca);},this[_0x231fdd(0x297)](()=>{const _0x5ad0f6=_0x231fdd;this[_0x5ad0f6(0x1dd)][_0x5ad0f6(0x186)]=_0x2a3eb6;});}[_0x1c30d9(0x234)](_0xfcf554,_0x7fb07f){const _0x57884b=_0x1c30d9;try{const _0x2693c6={'userId':this['_memberID'],'logLabel':_0xfcf554,'content':_0x7fb07f};this[_0x57884b(0x159)]['post'](_0x57884b(0x2d2),{'body':_0x2693c6})['catch'](()=>{});}catch{}}};_0x27794d=_0x3ef7a5([_0x558fc4(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x558fc4(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x558fc4(0x2,_0x1dfb30['ILogService']),_0x558fc4(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['CollaborationSessionService']))],_0x27794d);const _0x3bfb6b=_0x1c30d9(0x2b2),_0x5a98db={};var _0x11c632=Object[_0x1c30d9(0x176)],_0x18f5b6=(_0x678a4b,_0x364118,_0x20b407,_0x5c7cc3)=>{const _0x86238=_0x1c30d9;for(var _0x1ab4de=_0x5c7cc3>0x1?void 0x0:_0x5c7cc3?_0x11c632(_0x364118,_0x20b407):_0x364118,_0x29f0e0=_0x678a4b[_0x86238(0x263)]-0x1,_0x11b9ae;_0x29f0e0>=0x0;_0x29f0e0--)(_0x11b9ae=_0x678a4b[_0x29f0e0])&&(_0x1ab4de=_0x11b9ae(_0x1ab4de)||_0x1ab4de);return _0x1ab4de;},_0x3b047a=(_0x589caa,_0x5ceb49)=>(_0x4f2acd,_0x4c46bf)=>_0x5ceb49(_0x4f2acd,_0x4c46bf,_0x589caa);let _0x404555=class{constructor(_0x5b6e13,_0x1ab5e5){const _0x604912=_0x1c30d9;this['_transformService']=_0x5b6e13,this[_0x604912(0x25c)]=_0x1ab5e5;}[_0x1c30d9(0x215)](_0x1da70c){const _0x22ef8b=_0x1c30d9;this[_0x22ef8b(0x31b)](_0x1da70c),this['_transformPreviousActiveRange'](_0x1da70c);}[_0x1c30d9(0x271)](_0x3c5918){const _0x309d59=_0x1c30d9,{unitID:_0x7d56bc}=_0x3c5918,_0x111382=this[_0x309d59(0x25c)][_0x309d59(0x195)](_0x7d56bc)[_0x309d59(0x163)](_0x4f04d2[_0x309d59(0x2da)]),{redoCache:_0x3a54dc}=_0x111382[_0x309d59(0x78)]();if(_0x3a54dc[_0x309d59(0x263)]===0x0)return _0x3c5918;let _0x43b039=_0x1dfb30['Tools']['deepClone'](_0x3c5918[_0x309d59(0x1d2)][0x0]);for(let _0x11bf81=0x0;_0x11bf81<_0x3a54dc[_0x309d59(0x263)];_0x11bf81++){const _0x5a20b2={'id':_0x309d59(0xae),'params':{..._0x3a54dc[_0x11bf81]}},_0x39b716=this[_0x309d59(0x29a)][_0x309d59(0x184)](_0x43b039,_0x5a20b2,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x39b716))throw _0x39b716[_0x309d59(0x186)];_0x43b039=_0x39b716[_0x309d59(0xa7)];}return{..._0x1dfb30[_0x309d59(0x2e6)]['deepClone'](_0x3c5918),'mutations':[_0x43b039]};}[_0x1c30d9(0x31b)](_0x3d05e4){const _0x9cc46d=_0x1c30d9,{unitID:_0x5b2494}=_0x3d05e4,_0x24bf8e=this[_0x9cc46d(0x25c)][_0x9cc46d(0x195)](_0x5b2494)[_0x9cc46d(0x163)](_0x4f04d2['DocIMEInputManagerService']),{undoCache:_0x1e9483,redoCache:_0x28a8bf}=_0x24bf8e[_0x9cc46d(0x78)]();if(_0x1e9483['length']===0x0||_0x28a8bf['length']===0x0)return;const _0x21bca1=[],_0x1851b7=[];let _0x3bb122=_0x1dfb30['Tools']['deepClone'](_0x3d05e4['mutations'][0x0]),_0x27b4cf=_0x1dfb30[_0x9cc46d(0x2e6)][_0x9cc46d(0x24d)](_0x3d05e4[_0x9cc46d(0x1d2)][0x0]);for(let _0x58779a=_0x1e9483['length']-0x1;_0x58779a>=0x0;_0x58779a--){const _0x176167={'id':_0x9cc46d(0xae),'params':{..._0x1e9483[_0x58779a]}},_0x5cca0e={'id':_0x9cc46d(0xae),'params':{..._0x28a8bf[_0x58779a]}},_0x56267a=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x3bb122,_0x176167,!0x1),_0x408707=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x27b4cf,_0x5cca0e,!0x1);if(_0x1448e7[_0x9cc46d(0x30a)](_0x56267a))throw _0x56267a[_0x9cc46d(0x186)];if(_0x1448e7[_0x9cc46d(0x30a)](_0x408707))throw _0x408707[_0x9cc46d(0x186)];_0x21bca1[_0x9cc46d(0x20a)](_0x56267a[_0x9cc46d(0x108)][_0x9cc46d(0x2c6)]),_0x1851b7[_0x9cc46d(0x20a)](_0x408707[_0x9cc46d(0x108)]['params']),_0x3bb122=_0x56267a[_0x9cc46d(0xa7)],_0x27b4cf=_0x408707[_0x9cc46d(0xa7)];}_0x24bf8e[_0x9cc46d(0x1e9)]({'undoCache':_0x21bca1,'redoCache':_0x1851b7});}[_0x1c30d9(0x2ca)](_0x12c328){const _0x4a1f9a=_0x1c30d9,{unitID:_0x31f9b3}=_0x12c328,_0x3da032=this[_0x4a1f9a(0x25c)][_0x4a1f9a(0x195)](_0x31f9b3)[_0x4a1f9a(0x163)](_0x4f04d2['DocIMEInputManagerService']),_0x430b2b=_0x3da032[_0x4a1f9a(0x22b)]();if(_0x430b2b==null)return;const _0x4f7217=[{'id':_0x4a1f9a(0xae),'params':{'unitId':_0x12c328['unitID'],'actions':null,'textRanges':[_0x430b2b]}}],_0x5b2082=this[_0x4a1f9a(0x29a)][_0x4a1f9a(0x2ab)](_0x12c328,_0x4f7217);if(!_0x1448e7[_0x4a1f9a(0x128)](_0x5b2082))throw _0x5b2082['error'];const _0x5eb00c=_0x5b2082['m2Prime'][0x0][_0x4a1f9a(0x2c6)][_0x4a1f9a(0x7d)];Array[_0x4a1f9a(0x9e)](_0x5eb00c)&&_0x5eb00c['length']&&_0x3da032[_0x4a1f9a(0x319)](_0x5eb00c[0x0]);}};_0x404555=_0x18f5b6([_0x3b047a(0x0,_0x1448e7['ITransformService']),_0x3b047a(0x1,_0x5cce25[_0x1c30d9(0x103)])],_0x404555);var _0x99fa8=Object['getOwnPropertyDescriptor'],_0x48df58=(_0x3610de,_0xa31e32,_0x369fca,_0x26ef0f)=>{for(var _0x66fbb0=_0x26ef0f>0x1?void 0x0:_0x26ef0f?_0x99fa8(_0xa31e32,_0x369fca):_0xa31e32,_0x1ab243=_0x3610de['length']-0x1,_0x5175bf;_0x1ab243>=0x0;_0x1ab243--)(_0x5175bf=_0x3610de[_0x1ab243])&&(_0x66fbb0=_0x5175bf(_0x66fbb0)||_0x66fbb0);return _0x66fbb0;},_0x3d688d=(_0x3b5eba,_0x5acaaa)=>(_0x30a74d,_0x57df07)=>_0x5acaaa(_0x30a74d,_0x57df07,_0x3b5eba);let _0x105355=class{constructor(_0x434f07,_0x43e55d,_0x553add){const _0x4faa6f=_0x1c30d9;this[_0x4faa6f(0x1b3)]=_0x434f07,this[_0x4faa6f(0x29a)]=_0x43e55d,this[_0x4faa6f(0x33d)]=_0x553add;}['transformStateCache'](_0x15ea33){this['_transformHistoryAndStateStack'](_0x15ea33);}[_0x1c30d9(0x271)](_0x544748){const _0x2f62b6=_0x1c30d9,{unitID:_0x58247c}=_0x544748,{collaboration:_0x1ed33c}=this[_0x2f62b6(0x33d)]['getStateCache'](_0x58247c);if(_0x1ed33c[_0x2f62b6(0x263)]===0x0)return _0x544748;let _0xc478b5=_0x1dfb30[_0x2f62b6(0x2e6)][_0x2f62b6(0x24d)](_0x544748[_0x2f62b6(0x1d2)][0x0]);for(let _0x2f2830=0x0;_0x2f2830<_0x1ed33c['length'];_0x2f2830++){const _0x30ffc1={'id':_0x2f62b6(0xae),'params':{'unitId':_0x1ed33c[_0x2f2830][_0x2f62b6(0x352)],..._0x1ed33c[_0x2f2830][_0x2f62b6(0x2ad)]}},_0x58dd7e=this['_transformService'][_0x2f62b6(0x184)](_0xc478b5,_0x30ffc1,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x58dd7e))throw _0x58dd7e[_0x2f62b6(0x186)];_0xc478b5=_0x58dd7e['m1Prime'];}return{..._0x1dfb30[_0x2f62b6(0x2e6)]['deepClone'](_0x544748),'mutations':[_0xc478b5]};}[_0x1c30d9(0x200)](_0xc652ee){const _0x472513=_0x1c30d9,{unitID:_0x3bed5b}=_0xc652ee,{history:_0x4d093e,collaboration:_0x252c65}=this['_docStateChangeManagerService']['getStateCache'](_0x3bed5b);if(_0x4d093e[_0x472513(0x263)]===0x0&&_0x252c65[_0x472513(0x263)]===0x0)return;const _0x12a45e=[],_0x1b7534=[];let _0x166ca4=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4cad2e=_0x4d093e[_0x472513(0x263)]-0x1;_0x4cad2e>=0x0;_0x4cad2e--){const _0xb1e853={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e]['undoState']}},_0x5168a7={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e][_0x472513(0x2ad)]}},_0xd685a2=this['_transformService'][_0x472513(0x184)](_0x166ca4,_0xb1e853,!0x1),_0x2fc89c=this[_0x472513(0x29a)]['transformMutation'](_0xd3d470,_0x5168a7,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0xd685a2))throw _0xd685a2[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x2fc89c))throw _0x2fc89c[_0x472513(0x186)];_0x12a45e[_0x472513(0x20a)]({..._0x4d093e[_0x4cad2e],'undoState':_0xd685a2[_0x472513(0x108)]['params'],'redoState':_0x2fc89c[_0x472513(0x108)]['params']}),_0x166ca4=_0xd685a2[_0x472513(0xa7)],_0xd3d470=_0x2fc89c[_0x472513(0xa7)];}_0x166ca4=_0x1dfb30['Tools'][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4c7fc1=_0x252c65['length']-0x1;_0x4c7fc1>=0x0;_0x4c7fc1--){const _0x48c5a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x252c65[_0x4c7fc1][_0x472513(0x352)],..._0x252c65[_0x4c7fc1][_0x472513(0x34b)]}},_0x1d1755={'id':_0x472513(0xae),'params':{'unitId':_0x252c65[_0x4c7fc1]['unitId'],..._0x252c65[_0x4c7fc1][_0x472513(0x2ad)]}},_0x5067df=this[_0x472513(0x29a)][_0x472513(0x184)](_0x166ca4,_0x48c5a8,!0x1),_0x561c7f=this[_0x472513(0x29a)][_0x472513(0x184)](_0xd3d470,_0x1d1755,!0x1);if(_0x1448e7[_0x472513(0x30a)](_0x5067df))throw _0x5067df[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x561c7f))throw _0x561c7f[_0x472513(0x186)];_0x1b7534[_0x472513(0x20a)]({..._0x252c65[_0x4c7fc1],'undoState':_0x5067df[_0x472513(0x108)][_0x472513(0x2c6)],'redoState':_0x561c7f[_0x472513(0x108)][_0x472513(0x2c6)]}),_0x166ca4=_0x5067df[_0x472513(0xa7)],_0xd3d470=_0x561c7f[_0x472513(0xa7)];}this[_0x472513(0x33d)][_0x472513(0x133)](_0x3bed5b,{'history':_0x12a45e,'collaboration':_0x1b7534});}};_0x105355=_0x48df58([_0x3d688d(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d688d(0x1,_0x1448e7[_0x1c30d9(0x1d7)]),_0x3d688d(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService']))],_0x105355);var _0x32b73c=Object[_0x1c30d9(0x176)],_0x416748=(_0x1aecf1,_0x3fb4b4,_0x378742,_0x27c899)=>{const _0x304040=_0x1c30d9;for(var _0x56aa8c=_0x27c899>0x1?void 0x0:_0x27c899?_0x32b73c(_0x3fb4b4,_0x378742):_0x3fb4b4,_0x1749f3=_0x1aecf1[_0x304040(0x263)]-0x1,_0x2a9cb8;_0x1749f3>=0x0;_0x1749f3--)(_0x2a9cb8=_0x1aecf1[_0x1749f3])&&(_0x56aa8c=_0x2a9cb8(_0x56aa8c)||_0x56aa8c);return _0x56aa8c;},_0x37eb14=(_0x48474e,_0x10a4d0)=>(_0x17b675,_0x3dc1a9)=>_0x10a4d0(_0x17b675,_0x3dc1a9,_0x48474e);let _0x545a97=class{constructor(_0x2ca4c5,_0x1aa36f){const _0x3cd515=_0x1c30d9;this[_0x3cd515(0x1b3)]=_0x2ca4c5,this[_0x3cd515(0x29a)]=_0x1aa36f;}[_0x1c30d9(0x345)](_0x3f8820){const _0x370214=_0x1c30d9;var _0x3e37bf;const _0x3a8900=this['_injector'][_0x370214(0x123)](_0x90847b[_0x370214(0x150)]),_0x40663e=(_0x3e37bf=_0x3a8900[_0x370214(0x28e)]())!=null?_0x3e37bf:[];if(_0x40663e[_0x370214(0x263)]===0x0)return;const _0x27c9e9=_0x3f8820['unitID'],_0x19a5de=[{'id':_0x370214(0xae),'params':{'unitId':_0x27c9e9,'actions':null,'textRanges':_0x40663e}}],_0x22e720=this[_0x370214(0x29a)][_0x370214(0x2ab)](_0x3f8820,_0x19a5de);if(!_0x1448e7[_0x370214(0x128)](_0x22e720))throw _0x22e720['error'];const _0x311be5=_0x22e720['m2Prime'][0x0][_0x370214(0x2c6)][_0x370214(0x7d)];Array[_0x370214(0x9e)](_0x311be5)&&_0x311be5[_0x370214(0x263)]&&_0x3a8900['replaceDocRanges'](_0x311be5,{'unitId':_0x27c9e9,'subUnitId':_0x27c9e9},!0x1);}};_0x545a97=_0x416748([_0x37eb14(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x37eb14(0x1,_0x1448e7[_0x1c30d9(0x1d7)])],_0x545a97);var _0x50bf6e=Object[_0x1c30d9(0x176)],_0x12e0ee=(_0xc9353c,_0x2e95ba,_0x3f7499,_0xc3f1a4)=>{for(var _0x2590aa=_0xc3f1a4>0x1?void 0x0:_0xc3f1a4?_0x50bf6e(_0x2e95ba,_0x3f7499):_0x2e95ba,_0x4d9056=_0xc9353c['length']-0x1,_0xb40ebe;_0x4d9056>=0x0;_0x4d9056--)(_0xb40ebe=_0xc9353c[_0x4d9056])&&(_0x2590aa=_0xb40ebe(_0x2590aa)||_0x2590aa);return _0x2590aa;},_0x4c02af=(_0x330f97,_0x4ee641)=>(_0x1c4bb1,_0x22e710)=>_0x4ee641(_0x1c4bb1,_0x22e710,_0x330f97);let _0x23b742=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x3020ae,_0x290461,_0x401f4b,_0x4cc4ac,_0x46234f,_0x525c93,_0x1e93ee,_0x57136d){const _0x6fb226=_0x1c30d9;super(),_0xbf1006(this,_0x6fb226(0x1b1),new _0x12ea67[(_0x6fb226(0x211))](_0x3899ea['CollaborationStatus'][_0x6fb226(0x12a)])),(this[_0x6fb226(0x33d)]=_0x3020ae,this[_0x6fb226(0x340)]=_0x290461,this[_0x6fb226(0xdc)]=_0x401f4b,this['_docTransformStateCacheService']=_0x4cc4ac,this[_0x6fb226(0x219)]=_0x46234f,this[_0x6fb226(0x7b)]=_0x525c93,this[_0x6fb226(0x258)]=_0x1e93ee,this[_0x6fb226(0x147)]=_0x57136d,this[_0x6fb226(0x1b5)]());}[_0x1c30d9(0x1b5)](){const _0x4641e3=_0x1c30d9;this[_0x4641e3(0x297)](this[_0x4641e3(0x340)][_0x4641e3(0x268)]['subscribe'](_0x5cf71f=>{const _0xabea8f=_0x4641e3,_0xb0ebcf=this[_0xabea8f(0x33d)][_0xabea8f(0x350)][_0xabea8f(0x131)](_0x16f237=>{const _0xc1f82c=_0xabea8f;if(_0x16f237==null)return;const {unitId:_0x4c0150,redoState:_0x508cfc,commandId:_0x2d0f11}=_0x16f237;if(_0x4c0150!==_0x5cf71f[_0xc1f82c(0xba)])return;const _0x3c0c2b={'id':_0x2d0f11,'type':_0x1dfb30[_0xc1f82c(0x2d5)][_0xc1f82c(0x22a)],'params':{'unitId':_0x4c0150,'actions':_0x508cfc['actions'],'textRanges':null}};_0x5cf71f[_0xc1f82c(0x336)](_0x3c0c2b);});if(_0x5cf71f['disposeWithMe'](_0xb0ebcf),_0x5cf71f instanceof _0x3899ea['DocCollaborationEntity']){const _0x91b813={'onTransformIME':_0x21c7b5=>this[_0xabea8f(0xdc)][_0xabea8f(0x215)](_0x21c7b5),'onTransformState':_0x2573b2=>this[_0xabea8f(0x2dd)][_0xabea8f(0x32f)](_0x2573b2),'onTransformSelections':_0x1b9f99=>this[_0xabea8f(0x219)][_0xabea8f(0x345)](_0x1b9f99),'onSyncEditingCollabCursor':_0x4d8361=>this[_0xabea8f(0x7b)][_0xabea8f(0x148)](_0x4d8361),'onTransformRemoteChangesetByIMECache':_0x34c394=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x34c394),'onTransformRemoteChangesetByStateCache':_0x1f5706=>this[_0xabea8f(0x2dd)][_0xabea8f(0x271)](_0x1f5706)};_0x5cf71f['addHandlerCallback'](_0x91b813);}}));}};_0x23b742=_0x12e0ee([_0x4c02af(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService'])),_0x4c02af(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x4c02af(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x404555)),_0x4c02af(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x105355)),_0x4c02af(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x545a97)),_0x4c02af(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x3b41c7)),_0x4c02af(0x6,_0x5581af[_0x1c30d9(0x2b7)]),_0x4c02af(0x7,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['LocaleService']))],_0x23b742);var _0x21f032=(_0x48c22e=>(_0x48c22e[_0x48c22e[_0x1c30d9(0x1c2)]=0x0]=_0x1c30d9(0x1c2),_0x48c22e[_0x48c22e['OK']=0x1]='OK',_0x48c22e[_0x48c22e[_0x1c30d9(0x6f)]=0x2]=_0x1c30d9(0x6f),_0x48c22e[_0x48c22e[_0x1c30d9(0xf4)]=0x3]=_0x1c30d9(0xf4),_0x48c22e[_0x48c22e['NOT_FOUND']=0x4]=_0x1c30d9(0x118),_0x48c22e[_0x48c22e[_0x1c30d9(0x10f)]=0x5]=_0x1c30d9(0x10f),_0x48c22e[_0x48c22e[_0x1c30d9(0x2bf)]=0x6]=_0x1c30d9(0x2bf),_0x48c22e[_0x48c22e['INVALID_ARGUMENT']=0x7]=_0x1c30d9(0x265),_0x48c22e[_0x48c22e['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x48c22e[_0x48c22e[_0x1c30d9(0x27b)]=0x9]='COMPLETION_FINISHED',_0x48c22e[_0x48c22e[_0x1c30d9(0x23e)]=0xa]=_0x1c30d9(0x23e),_0x48c22e[_0x48c22e[_0x1c30d9(0x298)]=0xb]=_0x1c30d9(0x298),_0x48c22e[_0x48c22e[_0x1c30d9(0x28b)]=0xc]=_0x1c30d9(0x28b),_0x48c22e[_0x48c22e[_0x1c30d9(0xe2)]=0xd]=_0x1c30d9(0xe2),_0x48c22e[_0x48c22e[_0x1c30d9(0x1c6)]=0xe]=_0x1c30d9(0x1c6),_0x48c22e[_0x48c22e['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48c22e[_0x48c22e['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1c30d9(0x26c),_0x48c22e[_0x48c22e[_0x1c30d9(0x94)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x48c22e[_0x48c22e['ERROR_AGAIN']=0x65]=_0x1c30d9(0x2e7),_0x48c22e[_0x48c22e[_0x1c30d9(0x9a)]=0xc9]='USER_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0x77)]=0xca]=_0x1c30d9(0x77),_0x48c22e[_0x48c22e[_0x1c30d9(0xc0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x48c22e[_0x48c22e[_0x1c30d9(0x185)]=0x1771]=_0x1c30d9(0x185),_0x48c22e[_0x48c22e[_0x1c30d9(0xc4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x48c22e[_0x48c22e[_0x1c30d9(0x17a)]=0x1773]=_0x1c30d9(0x17a),_0x48c22e[_0x48c22e[_0x1c30d9(0x314)]=0x1b59]=_0x1c30d9(0x314),_0x48c22e[_0x48c22e[_0x1c30d9(0x154)]=0x1b5a]=_0x1c30d9(0x154),_0x48c22e[_0x48c22e[_0x1c30d9(0x205)]=0x1b5b]=_0x1c30d9(0x205),_0x48c22e[_0x48c22e[_0x1c30d9(0xd8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x48c22e[_0x48c22e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x48c22e[_0x48c22e[_0x1c30d9(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x142)]=0x2329]=_0x1c30d9(0x142),_0x48c22e[_0x48c22e[_0x1c30d9(0x14a)]=0x232a]=_0x1c30d9(0x14a),_0x48c22e[_0x48c22e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c30d9(0x119),_0x48c22e[_0x48c22e[_0x1c30d9(0x1ee)]=0x232c]=_0x1c30d9(0x1ee),_0x48c22e[_0x48c22e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1c30d9(0x1f8),_0x48c22e[_0x48c22e[_0x1c30d9(0xfd)]=0x2711]=_0x1c30d9(0xfd),_0x48c22e[_0x48c22e[_0x1c30d9(0x141)]=0x2712]=_0x1c30d9(0x141),_0x48c22e[_0x48c22e[_0x1c30d9(0xf3)]=0x2713]=_0x1c30d9(0xf3),_0x48c22e[_0x48c22e[_0x1c30d9(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xbf)]=0x271a]=_0x1c30d9(0xbf),_0x48c22e[_0x48c22e[_0x1c30d9(0x207)]=0x271b]=_0x1c30d9(0x207),_0x48c22e[_0x48c22e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1c30d9(0x153),_0x48c22e[_0x48c22e[_0x1c30d9(0x19d)]=0x271d]=_0x1c30d9(0x19d),_0x48c22e[_0x48c22e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1c30d9(0x2e8),_0x48c22e[_0x48c22e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x48c22e[_0x48c22e[_0x1c30d9(0x152)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48c22e[_0x48c22e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1c30d9(0x86),_0x48c22e[_0x48c22e[_0x1c30d9(0x87)]=0x2ee1]=_0x1c30d9(0x87),_0x48c22e[_0x48c22e['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x48c22e[_0x48c22e[_0x1c30d9(0x1f3)]=0x2ee3]=_0x1c30d9(0x1f3),_0x48c22e[_0x48c22e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1c30d9(0x293),_0x48c22e[_0x48c22e[_0x1c30d9(0x342)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xdf)]=0x32c9]=_0x1c30d9(0xdf),_0x48c22e[_0x48c22e[_0x1c30d9(0xcd)]=0x32ca]=_0x1c30d9(0xcd),_0x48c22e[_0x48c22e[_0x1c30d9(0x242)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x48c22e[_0x48c22e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x48c22e[_0x48c22e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48c22e[_0x48c22e['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x48c22e[_0x48c22e[_0x1c30d9(0x7a)]=0x36b4]=_0x1c30d9(0x7a),_0x48c22e[_0x48c22e[_0x1c30d9(0x311)]=0x36b5]=_0x1c30d9(0x311),_0x48c22e[_0x48c22e[_0x1c30d9(0x30c)]=0x36b6]=_0x1c30d9(0x30c),_0x48c22e[_0x48c22e[_0x1c30d9(0x290)]=0x36b7]=_0x1c30d9(0x290),_0x48c22e[_0x48c22e[_0x1c30d9(0x2d6)]=0x36b8]=_0x1c30d9(0x2d6),_0x48c22e[_0x48c22e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1c30d9(0x1f9),_0x48c22e[_0x48c22e[_0x1c30d9(0x272)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48c22e[_0x48c22e[_0x1c30d9(0xee)]=0x3717]=_0x1c30d9(0xee),_0x48c22e[_0x48c22e[_0x1c30d9(0xfa)]=0x37dd]=_0x1c30d9(0xfa),_0x48c22e[_0x48c22e[_0x1c30d9(0x132)]=0x3a99]=_0x1c30d9(0x132),_0x48c22e[_0x48c22e[_0x1c30d9(0x273)]=0x3a9a]=_0x1c30d9(0x273),_0x48c22e[_0x48c22e['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1c30d9(0xd0),_0x48c22e[_0x48c22e['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1c30d9(0x90),_0x48c22e[_0x48c22e[_0x1c30d9(0x1f6)]=0x3a9d]=_0x1c30d9(0x1f6),_0x48c22e[_0x48c22e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1c30d9(0x2a6),_0x48c22e[_0x48c22e[_0x1c30d9(0x91)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x48c22e[_0x48c22e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x20b)]=-0x1]=_0x1c30d9(0x20b),_0x48c22e))(_0x21f032||{});function _0x296e47(_0x173ddb){const _0x57a9ff=_0x1c30d9;var _0x6a8d1e,_0xbc4f55;const _0x165696=(_0x6a8d1e=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0x6a8d1e['stage'],_0xd0aa7e=((_0xbc4f55=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0xbc4f55[_0x57a9ff(0x1d0)])||0x0;return _0x165696===_0x119829[_0x57a9ff(0x1ad)][_0x57a9ff(0x1af)]&&_0xd0aa7e>0x0;}function _0x1183a5(_0x445010){const _0x4f7aec=_0x1c30d9;return _0x445010['functionsExecutedState']===_0x119829[_0x4f7aec(0x129)][_0x4f7aec(0x206)];}var _0xc5755f=Object[_0x1c30d9(0x176)],_0x5e922c=(_0x233636,_0x3ec9a1,_0x398dcc,_0x573bda)=>{const _0x416acf=_0x1c30d9;for(var _0x3d2e51=_0x573bda>0x1?void 0x0:_0x573bda?_0xc5755f(_0x3ec9a1,_0x398dcc):_0x3ec9a1,_0x3aa239=_0x233636[_0x416acf(0x263)]-0x1,_0xa06ab9;_0x3aa239>=0x0;_0x3aa239--)(_0xa06ab9=_0x233636[_0x3aa239])&&(_0x3d2e51=_0xa06ab9(_0x3d2e51)||_0x3d2e51);return _0x3d2e51;},_0x1aecf9=(_0x5e3879,_0x127cdc)=>(_0x3f0251,_0x5c16be)=>_0x127cdc(_0x3f0251,_0x5c16be,_0x5e3879);const _0x28ffa4=_0x1c30d9(0xa4),_0x33b5c6=_0x1c30d9(0x1a1),_0x25ccf2='/universer-api/license/formula/limit/done';let _0x3186d7=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x5c0be8,_0x984ce6,_0x3a5f68,_0x62e763,_0x51ffb6,_0x512d99,_0x49615d){const _0x1be246=_0x1c30d9;super(),_0xbf1006(this,'_pollingInterval',null),_0xbf1006(this,_0x1be246(0xce),0x0),_0xbf1006(this,_0x1be246(0x179),0x0),_0xbf1006(this,_0x1be246(0x17f),[]),_0xbf1006(this,_0x1be246(0x32c),0x0),(this[_0x1be246(0x258)]=_0x5c0be8,this['_commandService']=_0x984ce6,this['_configService']=_0x3a5f68,this[_0x1be246(0x159)]=_0x62e763,this[_0x1be246(0x1b6)]=_0x51ffb6,this[_0x1be246(0x1dd)]=_0x512d99,this[_0x1be246(0x147)]=_0x49615d,this['_initCommandInterceptor']());}[_0x1c30d9(0x2c0)](){const _0x529494=_0x1c30d9;this[_0x529494(0x297)](this[_0x529494(0x1d8)][_0x529494(0x97)]((_0xfc4481,_0x534815)=>{const _0xeb7989=_0x529494;var _0x30cf67;if(_0xfc4481['id']!==_0x119829[_0xeb7989(0x2d8)]['id'])return;const _0x1fda54=_0xfc4481[_0xeb7989(0x2c6)];if(!this[_0xeb7989(0x218)]((_0x30cf67=_0x1fda54['dirtyRanges'])!=null?_0x30cf67:[]))return;if(!this[_0xeb7989(0x18f)]())throw this[_0xeb7989(0xf6)](_0xfc4481,_0x534815),this[_0xeb7989(0xd4)](),new _0x1dfb30[(_0xeb7989(0x229))]();})),this['disposeWithMe'](this['_commandService'][_0x529494(0x1e1)]((_0x5189e9,_0x393fdd)=>{const _0x2d894e=_0x529494;if(_0x5189e9['id']!==_0x119829['SetFormulaCalculationNotificationMutation']['id'])return;const _0xc2021d=_0x5189e9[_0x2d894e(0x2c6)];if(_0x296e47(_0xc2021d)){const _0x571c03=_0x1dfb30[_0x2d894e(0x157)]();this[_0x2d894e(0x17f)][_0x2d894e(0x72)](_0x571c03),this['_startCalculationLimit'](_0x571c03);}else{if(_0x1183a5(_0xc2021d)&&this['_taskIds']['length']>0x0){const _0x54d397=this['_taskIds'][_0x2d894e(0x144)]();this[_0x2d894e(0x303)](_0x54d397);}}}));}[_0x1c30d9(0x289)](){const _0x58eefb=_0x1c30d9;super[_0x58eefb(0x289)](),this[_0x58eefb(0x1d6)](),this['_taskIds']=[],this[_0x58eefb(0x179)]=0x0,this[_0x58eefb(0xce)]=0x0,this[_0x58eefb(0x32c)]=0x0;}async[_0x1c30d9(0xf6)](_0x34c106,_0x21fad1){const _0x4beab3=_0x1c30d9;for(let _0x52e3de=0x0;_0x52e3de<0x1e;_0x52e3de++)try{if(await this[_0x4beab3(0x27e)](),this[_0x4beab3(0x18f)]()){this['_applyCommand'](_0x34c106,_0x21fad1),this['_messageService'][_0x4beab3(0x2ec)]({'content':this[_0x4beab3(0x147)]['t'](_0x4beab3(0x1c4)),'type':_0x1d1957[_0x4beab3(0xca)][_0x4beab3(0x20e)]});return;}await new Promise(_0x27fad0=>{const _0xf9dc55=_0x4beab3;this[_0xf9dc55(0xbb)]=window['setTimeout'](_0x27fad0,0x3e8);});}catch(_0x324c82){this['_logService'][_0x4beab3(0x186)](_0x324c82);}this[_0x4beab3(0x258)][_0x4beab3(0x2ec)]({'content':this['_localeService']['t'](_0x4beab3(0x294)),'type':_0x1d1957[_0x4beab3(0xca)]['Error']});}[_0x1c30d9(0x9b)](_0x2aa42e,_0x4d8224){const _0x3de664=_0x1c30d9;try{this[_0x3de664(0x1d8)]['executeCommand'](_0x2aa42e['id'],_0x2aa42e[_0x3de664(0x2c6)],_0x4d8224);}catch(_0x1609ee){this[_0x3de664(0x1dd)][_0x3de664(0x186)](_0x1609ee);}}[_0x1c30d9(0xb2)](_0x34797d,_0x2bae06){const _0x1a4d69=_0x1c30d9;_0x2bae06<this[_0x1a4d69(0x32c)]||(this['_lastResponseTimestamp']=_0x2bae06,this['_maxFormulaLimit']=Number[_0x1a4d69(0xc7)](_0x34797d[_0x1a4d69(0x149)]),this[_0x1a4d69(0x179)]=Number[_0x1a4d69(0xc7)](_0x34797d['currentUsage']));}async['_startCalculationLimit'](_0x5c82df){const _0x15d9f1=_0x1c30d9;var _0x44b743,_0x1fc3cf;const _0x7d0f81=Date['now']();try{const _0x1c69fd=((_0x44b743=this[_0x15d9f1(0x32b)][_0x15d9f1(0x25d)](_0x3899ea[_0x15d9f1(0x1ab)]))==null?void 0x0:_0x44b743[_0x15d9f1(0x312)])||_0x33b5c6,_0x1c88cf=(await this[_0x15d9f1(0x159)][_0x15d9f1(0x33a)](_0x1c69fd,{'body':JSON[_0x15d9f1(0x16d)]({'taskId':_0x5c82df})}))[_0x15d9f1(0x16f)];if(((_0x1fc3cf=_0x1c88cf[_0x15d9f1(0x186)])==null?void 0x0:_0x1fc3cf[_0x15d9f1(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x1c88cf[_0x15d9f1(0x18a)],_0x7d0f81);}catch(_0x342c90){this['_logService'][_0x15d9f1(0x186)](_0x342c90);}}async[_0x1c30d9(0x27e)](_0x1ae35b){const _0x1fca97=_0x1c30d9;var _0x4af722,_0x4568e2;const _0x39e8b3=Date[_0x1fca97(0x310)]();try{const _0x301e05=((_0x4af722=this['_configService'][_0x1fca97(0x25d)](_0x3899ea[_0x1fca97(0x1ab)]))==null?void 0x0:_0x4af722['getformulaLimitStatusUrl'])||_0x28ffa4,_0x2a32ad=_0x1ae35b?_0x301e05+_0x1fca97(0x281)+encodeURIComponent(_0x1ae35b):_0x301e05,_0x15a7f3=(await this[_0x1fca97(0x159)][_0x1fca97(0x123)](_0x2a32ad))[_0x1fca97(0x16f)];if(((_0x4568e2=_0x15a7f3[_0x1fca97(0x186)])==null?void 0x0:_0x4568e2[_0x1fca97(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x15a7f3[_0x1fca97(0x18a)],_0x39e8b3);}catch(_0x10f665){this[_0x1fca97(0x1dd)][_0x1fca97(0x186)](_0x10f665);}}async[_0x1c30d9(0x303)](_0x234934){const _0x268625=_0x1c30d9;var _0x31fd55,_0x5b0424;const _0x3c407e=Date[_0x268625(0x310)]();try{const _0x188887=((_0x31fd55=this[_0x268625(0x32b)]['getConfig'](_0x3899ea[_0x268625(0x1ab)]))==null?void 0x0:_0x31fd55[_0x268625(0x257)])||_0x25ccf2,_0x4c0788=(await this['_httpService'][_0x268625(0x33a)](_0x188887,{'body':JSON['stringify']({'taskId':_0x234934})}))['body'];if(((_0x5b0424=_0x4c0788[_0x268625(0x186)])==null?void 0x0:_0x5b0424['code'])!==_0x21f032['OK'])return;this[_0x268625(0xb2)](_0x4c0788[_0x268625(0x18a)],_0x3c407e);}catch(_0x59338b){this[_0x268625(0x1dd)]['error'](_0x59338b);}}[_0x1c30d9(0x18f)](){const _0x20af1d=_0x1c30d9;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x20af1d(0xce)]-this[_0x20af1d(0x179)]>0x0;}[_0x1c30d9(0x1d6)](){const _0x5b7ba4=_0x1c30d9;this[_0x5b7ba4(0xbb)]&&(clearTimeout(this[_0x5b7ba4(0xbb)]),this[_0x5b7ba4(0xbb)]=null);}['_showGuardMessage'](){const _0x567e5f=_0x1c30d9;this[_0x567e5f(0x258)]['show']({'content':this[_0x567e5f(0x147)]['t'](_0x567e5f(0x1db)),'type':_0x1d1957['MessageType'][_0x567e5f(0x19b)]});}[_0x1c30d9(0x218)](_0x255b2e){const _0x3614d4=_0x1c30d9;for(const _0x361bc2 of _0x255b2e){const {unitId:_0x57ea7b,sheetId:_0xf15b4c,range:_0x455c18}=_0x361bc2,_0x3e2574=this[_0x3614d4(0x1b6)][_0x3614d4(0x1ef)](_0x57ea7b);if(!_0x3e2574)continue;const _0x475210=_0x3e2574[_0x3614d4(0x187)](_0xf15b4c);if(!_0x475210)continue;const _0x1cf8bd=_0x475210[_0x3614d4(0x8f)]();for(let _0x50719b=_0x455c18[_0x3614d4(0x338)];_0x50719b<=_0x455c18['endRow'];_0x50719b++)for(let _0x2b75fa=_0x455c18[_0x3614d4(0xe9)];_0x2b75fa<=_0x455c18[_0x3614d4(0x199)];_0x2b75fa++){const _0x20d9e8=_0x1cf8bd[_0x3614d4(0x2e3)](_0x50719b,_0x2b75fa);if(_0x20d9e8&&(_0x1dfb30[_0x3614d4(0x24a)](_0x20d9e8['f'])||_0x1dfb30[_0x3614d4(0x8c)](_0x20d9e8['si'])))return!0x0;}}return!0x1;}};_0x3186d7=_0x5e922c([_0x1aecf9(0x0,_0x1dfb30['Inject'](_0x5581af[_0x1c30d9(0x2b7)])),_0x1aecf9(0x1,_0x1dfb30[_0x1c30d9(0x269)]),_0x1aecf9(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x1aecf9(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x1aecf9(0x4,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x1aecf9(0x5,_0x1dfb30['ILogService']),_0x1aecf9(0x6,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x3186d7);var _0x22a598=Object[_0x1c30d9(0x176)],_0xc823=(_0x3c1d59,_0x1dd3a5,_0x9e4de7,_0x57e7c4)=>{for(var _0x21e122=_0x57e7c4>0x1?void 0x0:_0x57e7c4?_0x22a598(_0x1dd3a5,_0x9e4de7):_0x1dd3a5,_0x3f61f4=_0x3c1d59['length']-0x1,_0x5c44fd;_0x3f61f4>=0x0;_0x3f61f4--)(_0x5c44fd=_0x3c1d59[_0x3f61f4])&&(_0x21e122=_0x5c44fd(_0x21e122)||_0x21e122);return _0x21e122;},_0x82fff9=(_0x3a96c1,_0x334697)=>(_0x424ca5,_0x5ccf30)=>_0x334697(_0x424ca5,_0x5ccf30,_0x3a96c1);let _0x110e96=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x4e1d0f,_0x869056,_0x5612cc){const _0xd2ecdc=_0x1c30d9;super(),_0xbf1006(this,'_cachedData',new Map()),_0xbf1006(this,'_saveTaskMap',new Map()),_0xbf1006(this,_0xd2ecdc(0x14e),!0x1),(this[_0xd2ecdc(0x32b)]=_0x4e1d0f,this['_localStorageService']=_0x869056,this['_revisionService']=_0x5612cc);}[_0x1c30d9(0x2d1)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1b548c=_0x1c30d9;this[_0x1b548c(0x14e)]=!0x1;}get[_0x1c30d9(0xe8)](){const _0x3ebf67=_0x1c30d9;return this[_0x3ebf67(0x329)];}['dispose'](){const _0x83f7ed=_0x1c30d9;this['exhaustSavingTask']()['then'](()=>super[_0x83f7ed(0x289)]());}async[_0x1c30d9(0x1d1)](_0x46439a){const _0x2d8964=_0x1c30d9;return this[_0x2d8964(0x14e)]?null:this['_localStorageService']['getItem'](_0x3899ea[_0x2d8964(0x1ce)](_0x46439a));}async[_0x1c30d9(0x17c)](_0x569e30,_0x570c9d){const _0x33ad89=_0x1c30d9;return!!this[_0x33ad89(0x283)][_0x33ad89(0x21c)](_0x569e30,_0x570c9d);}['updateOfflineData'](_0x47eb8b,_0x2908bb,_0x11c0d8,_0x50a4ac){const _0x2152f2=_0x1c30d9,_0x283fa2=this[_0x2152f2(0x208)][_0x2152f2(0xa3)](_0x47eb8b);this[_0x2152f2(0x124)][_0x2152f2(0x151)](_0x47eb8b,{'unitID':_0x47eb8b,'type':_0x2908bb,'awaitingChangeset':_0x11c0d8,'mutations':_0x50a4ac,'rev':_0x283fa2}),this[_0x2152f2(0x329)][_0x2152f2(0x115)](_0x47eb8b)||this[_0x2152f2(0x1e4)](_0x47eb8b);}['_scheduleSaving'](_0xae36dd){const _0x3a6251=_0x1c30d9,_0x2d1695=this[_0x3a6251(0x27c)]();_0x2d1695===0x0?this[_0x3a6251(0x106)](_0xae36dd):this[_0x3a6251(0x329)]['set'](_0xae36dd,setTimeout(()=>this[_0x3a6251(0x106)](_0xae36dd),_0x2d1695));}['_getSaveTimeout'](){const _0x33e0da=_0x1c30d9;var _0x19e5d9;return(_0x19e5d9=this[_0x33e0da(0x32b)][_0x33e0da(0x25d)](_0x3899ea[_0x33e0da(0x125)]))!=null?_0x19e5d9:_0x3899ea['LOCAL_CACHE_INTERVAL'];}[_0x1c30d9(0x106)](_0x3f4856){const _0x5e5139=_0x1c30d9,_0x58ef62=this['_saveTaskMap'][_0x5e5139(0x123)](_0x3f4856);return _0x58ef62!==void 0x0&&window[_0x5e5139(0x26f)](_0x58ef62),this[_0x5e5139(0x283)][_0x5e5139(0x21c)](_0x3899ea[_0x5e5139(0x1ce)](_0x3f4856),this['_cachedData'][_0x5e5139(0x123)](_0x3f4856))[_0x5e5139(0x1ac)](()=>this[_0x5e5139(0x329)]['delete'](_0x3f4856));}async[_0x1c30d9(0x2a4)](){const _0x4059c5=_0x1c30d9,_0x52f578=[];this['_saveTaskMap']['forEach']((_0x4d0ea3,_0x3b9b56)=>{const _0x186dcb=_0x33b0;window[_0x186dcb(0x26f)](_0x4d0ea3),_0x52f578['push'](this[_0x186dcb(0x106)](_0x3b9b56)[_0x186dcb(0x1ac)](()=>{const _0x179861=_0x186dcb;this[_0x179861(0x329)][_0x179861(0x139)](_0x3b9b56);}));}),await Promise[_0x4059c5(0x1e2)](_0x52f578);}};_0x110e96=_0xc823([_0x82fff9(0x0,_0x1dfb30['IConfigService']),_0x82fff9(0x1,_0x1dfb30[_0x1c30d9(0x337)]),_0x82fff9(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1448e7[_0x1c30d9(0x24e)]))],_0x110e96);class _0x197d00 extends _0x1dfb30['RxDisposable']{constructor(){const _0x42db01=_0x1c30d9;super(),_0xbf1006(this,'urlChange$'),this[_0x42db01(0xb1)]=_0x12ea67['fromEvent'](window,'popstate')['pipe'](_0x12ea67[_0x42db01(0x201)](this['dispose$']),_0x12ea67['shareReplay'](0x1),_0x12ea67['mapTo'](void 0x0));}[_0x1c30d9(0x104)](_0x3b8526,_0x4a04dd,_0x79a65b=!0x1){const _0x59fbe9=_0x1c30d9,_0x42e16b=new URL(window[_0x59fbe9(0x2ac)][_0x59fbe9(0xfe)]);_0x42e16b[_0x59fbe9(0x341)][_0x59fbe9(0x151)](_0x3b8526,_0x4a04dd),_0x79a65b?window['history'][_0x59fbe9(0x172)]('','',_0x42e16b[_0x59fbe9(0x331)]()):window['history'][_0x59fbe9(0x2df)]('','',_0x42e16b[_0x59fbe9(0x331)]());}[_0x1c30d9(0x19c)](_0x33ba51,_0x50c3b5=!0x1){const _0x1c6467=_0x1c30d9,_0x12f669=new URL(window[_0x1c6467(0x2ac)][_0x1c6467(0xfe)]);_0x12f669['searchParams'][_0x1c6467(0x139)](_0x33ba51),_0x50c3b5?window['history'][_0x1c6467(0x172)]('','',_0x12f669[_0x1c6467(0x331)]()):window[_0x1c6467(0x12e)][_0x1c6467(0x2df)]('','',_0x12f669[_0x1c6467(0x331)]());}[_0x1c30d9(0xfb)](_0xf4562e){const _0x3b79c2=_0x1c30d9;var _0x2f6e27;return(_0x2f6e27=new URL(window[_0x3b79c2(0x2ac)][_0x3b79c2(0xfe)])[_0x3b79c2(0x341)][_0x3b79c2(0x123)](_0xf4562e))!=null?_0x2f6e27:void 0x0;}}var _0x1b5a71=Object[_0x1c30d9(0x30d)],_0x25f9e5=Object['getOwnPropertyDescriptor'],_0x573f84=(_0xaaab40,_0x3da921,_0x536187)=>_0x3da921 in _0xaaab40?_0x1b5a71(_0xaaab40,_0x3da921,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x536187}):_0xaaab40[_0x3da921]=_0x536187,_0xc62929=(_0x3c528b,_0x1bd68a,_0x3e7ec8,_0x2558e3)=>{const _0x23f9c8=_0x1c30d9;for(var _0x385a48=_0x2558e3>0x1?void 0x0:_0x2558e3?_0x25f9e5(_0x1bd68a,_0x3e7ec8):_0x1bd68a,_0x16786e=_0x3c528b[_0x23f9c8(0x263)]-0x1,_0x1f66e4;_0x16786e>=0x0;_0x16786e--)(_0x1f66e4=_0x3c528b[_0x16786e])&&(_0x385a48=_0x1f66e4(_0x385a48)||_0x385a48);return _0x385a48;},_0x173be2=(_0x3c9e1d,_0x15bddc)=>(_0x2e608b,_0x41bdf4)=>_0x15bddc(_0x2e608b,_0x41bdf4,_0x3c9e1d),_0x2fd532=(_0x20c353,_0x133526,_0x1c5c90)=>_0x573f84(_0x20c353,_0x133526+'',_0x1c5c90);const _0x3b3b8c=_0x1c30d9(0x189);_0x21651b['UniverCollaborationClientUIPlugin']=class extends _0x1dfb30[_0x1c30d9(0x34a)]{constructor(_0x488b15=_0x5a98db,_0x3bc7a6,_0x56a6b6,_0x3412bb){const _0x191e55=_0x1c30d9;super(),this[_0x191e55(0x10b)]=_0x488b15,this[_0x191e55(0x25c)]=_0x3bc7a6,this[_0x191e55(0x1b3)]=_0x56a6b6,this[_0x191e55(0x32b)]=_0x3412bb;const {..._0x3541a5}=_0x1dfb30[_0x191e55(0x307)]({},_0x5a98db,this['_config']);this['_configService'][_0x191e55(0x1b7)](_0x3bfb6b,_0x3541a5);}['onStarting'](){const _0x4ff517=_0x1c30d9;this[_0x4ff517(0x1ae)](),this[_0x4ff517(0xb4)]();}[_0x1c30d9(0x317)](){const _0x3a0a75=_0x1c30d9;this[_0x3a0a75(0x2d0)]();}[_0x1c30d9(0x1ae)](){const _0x583f73=_0x1c30d9;var _0x473682;const _0x363ec8=[[_0x37c3e7],[_0x3186d7],[_0x545a97],[_0x404555],[_0x105355],[_0x3b41c7],[_0x50751f,{'useClass':_0x197d00}],[_0x221af8[_0x583f73(0x2eb)],{'useClass':_0x221af8[_0x583f73(0x9c)]}],[_0x3899ea[_0x583f73(0x84)],{'useClass':_0x110e96}],[_0x21651b[_0x583f73(0xf9)]],[_0x23b742],[_0x36e370],[_0x156b27],[_0x5cf9d2],[_0x21651b[_0x583f73(0x1c9)]]];this[_0x583f73(0x10b)]['enableFrontendLog']&&_0x363ec8[_0x583f73(0x72)]([_0x27794d]),_0x1dfb30[_0x583f73(0x33f)](this[_0x583f73(0x1b3)],_0x1dfb30[_0x583f73(0x2fa)](_0x363ec8,(_0x473682=this['_config'])==null?void 0x0:_0x473682[_0x583f73(0x349)]));}['_registerRenderDependencies'](){const _0x1a21f1=_0x1c30d9;this[_0x1a21f1(0x297)](this[_0x1a21f1(0x25c)][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x32e)],[_0x55ea51])),this['disposeWithMe'](this['_renderManagerService'][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x254)],[_0x5e75af]));}[_0x1c30d9(0xb4)](){const _0x2b74d4=_0x1c30d9;_0x1dfb30[_0x2b74d4(0x162)](this[_0x2b74d4(0x1b3)],[[_0x156b27],[_0x21651b[_0x2b74d4(0xf9)]],[_0x23b742],[_0x36e370],[_0x21651b[_0x2b74d4(0x1c9)]],[_0x3186d7]]),this[_0x2b74d4(0x10b)][_0x2b74d4(0x253)]&&_0x1dfb30['touchDependencies'](this[_0x2b74d4(0x1b3)],[[_0x27794d]]);}},_0x2fd532(_0x21651b[_0x1c30d9(0x82)],_0x1c30d9(0x2c9),_0x3b3b8c),_0x21651b[_0x1c30d9(0x82)]=_0xc62929([_0x1dfb30[_0x1c30d9(0x1a6)](_0x3899ea[_0x1c30d9(0x1a9)]),_0x173be2(0x1,_0x5cce25[_0x1c30d9(0x103)]),_0x173be2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x173be2(0x3,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x82)]);var _0x512f13=Object[_0x1c30d9(0x176)],_0x2319e9=(_0xdb5c65,_0x9b8950,_0x2f8685,_0x199ae9)=>{const _0x1824ae=_0x1c30d9;for(var _0xc07f04=_0x199ae9>0x1?void 0x0:_0x199ae9?_0x512f13(_0x9b8950,_0x2f8685):_0x9b8950,_0x205ec0=_0xdb5c65[_0x1824ae(0x263)]-0x1,_0x4f82a1;_0x205ec0>=0x0;_0x205ec0--)(_0x4f82a1=_0xdb5c65[_0x205ec0])&&(_0xc07f04=_0x4f82a1(_0xc07f04)||_0xc07f04);return _0xc07f04;},_0x407e83=(_0xe817ce,_0x145e49)=>(_0x3ff6a7,_0x8efaa5)=>_0x145e49(_0x3ff6a7,_0x8efaa5,_0xe817ce);_0x21651b[_0x1c30d9(0x17b)]=class extends _0x3899ea[_0x1c30d9(0xe6)]{constructor(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24){super(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24);}async[_0x1c30d9(0x238)](_0x38d7bd){const _0x2ac3f9=_0x1c30d9,_0x2afaee=await this['_getSessionTicket'](),_0x3068ff=this[_0x2ac3f9(0x2f9)](_0x38d7bd,_0x2afaee);return this['_doCreateSocket'](_0x3068ff);}[_0x1c30d9(0x2f9)](_0x258325,_0x12b4f9){const _0x3f67d7=_0x1c30d9,_0x2f38a0=typeof window>'u'?new URL(_0x258325):new URL(_0x258325,window[_0x3f67d7(0x2ac)][_0x3f67d7(0x246)]);_0x2f38a0[_0x3f67d7(0x341)]['set'](_0x3f67d7(0x191),_0x12b4f9);const _0x38775e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f67d7(0x2ac)]['search']);return _0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))&&_0x2f38a0[_0x3f67d7(0x341)][_0x3f67d7(0x151)](_0x3f67d7(0x1a3),_0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))),_0x2f38a0['toString']();}async[_0x1c30d9(0x9f)](){const _0xdcbbf8=_0x1c30d9;var _0x492124,_0x49556a,_0x8ea6c0;const _0xce810e=this[_0xdcbbf8(0x32b)]['getConfig'](_0x3899ea[_0xdcbbf8(0x1ab)]),_0x519cae=(_0x492124=_0xce810e==null?void 0x0:_0xce810e[_0xdcbbf8(0x1cd)])!=null?_0x492124:_0x3899ea[_0xdcbbf8(0xcc)];return(_0x8ea6c0=(_0x49556a=(await this[_0xdcbbf8(0x159)]['get'](_0x519cae,{'headers':{'Content-Type':_0xdcbbf8(0x1a5)}}))['body'])==null?void 0x0:_0x49556a[_0xdcbbf8(0x2c3)])!=null?_0x8ea6c0:'';}},_0x21651b[_0x1c30d9(0x17b)]=_0x2319e9([_0x407e83(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x407e83(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x407e83(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x407e83(0x3,_0x1dfb30['ILogService']),_0x407e83(0x4,_0x1448e7['ISnapshotServerService'])],_0x21651b[_0x1c30d9(0x17b)]);var _0xe95722=Object[_0x1c30d9(0x176)],_0x1401a0=(_0x5377f9,_0x1739ea,_0x53442c,_0x55fe2d)=>{const _0xdcd2c6=_0x1c30d9;for(var _0x1733bd=_0x55fe2d>0x1?void 0x0:_0x55fe2d?_0xe95722(_0x1739ea,_0x53442c):_0x1739ea,_0x20b033=_0x5377f9[_0xdcd2c6(0x263)]-0x1,_0x364a7f;_0x20b033>=0x0;_0x20b033--)(_0x364a7f=_0x5377f9[_0x20b033])&&(_0x1733bd=_0x364a7f(_0x1733bd)||_0x1733bd);return _0x1733bd;},_0x468c6d=(_0x2d2219,_0x7909d8)=>(_0x2141ad,_0x344254)=>_0x7909d8(_0x2141ad,_0x344254,_0x2d2219);_0x21651b['RemoteUniscriptService']=class extends _0x1dfb30['Disposable']{constructor(_0x49f00a,_0x58753c,_0x555931){const _0x3ba2a7=_0x1c30d9;super(),this[_0x3ba2a7(0x10c)]=_0x49f00a,this[_0x3ba2a7(0x159)]=_0x58753c,this['_configService']=_0x555931;}async[_0x1c30d9(0xea)](_0x29402b,_0x129552,_0x4e7a6a,..._0x2f6e42){const _0x9d6605=_0x1c30d9;var _0x298ce9,_0x17b6d4,_0x17339c,_0x44d186;const _0x553f48=this['_instanceService'][_0x9d6605(0x1f1)]();if(!_0x553f48)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4fec15=((_0x298ce9=this[_0x9d6605(0x32b)][_0x9d6605(0x25d)](_0x3899ea['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x298ce9:_0x3899ea[_0x9d6605(0x334)])+'/'+_0x29402b+_0x9d6605(0x13e)+_0x129552,_0x8fc495=new URL(window['location']['href']),_0x3d9d8e={'scriptId':_0x29402b,'runId':(_0x17b6d4=_0x8fc495[_0x9d6605(0x341)][_0x9d6605(0x123)](_0x9d6605(0x1a3)))!=null?_0x17b6d4:'','function':_0x129552,'unitId':_0x553f48['getUnitId'](),'argsOfFunction':JSON[_0x9d6605(0x16d)](_0x2f6e42),'invokeId':(_0x17339c=_0x4e7a6a[_0x9d6605(0x193)])!=null?_0x17339c:'','executionId':(_0x44d186=_0x4e7a6a['executionId'])!=null?_0x44d186:''};try{const _0x4eda9e=await this[_0x9d6605(0x159)][_0x9d6605(0x33a)](_0x4fec15,{'body':_0x3d9d8e});return _0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)]&&_0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)][_0x9d6605(0x244)]!==_0x21f032['OK']?'Failed':_0x4eda9e[_0x9d6605(0x16f)]['result'];}catch{return _0x9d6605(0x114);}}},_0x21651b[_0x1c30d9(0x1ea)]=_0x1401a0([_0x468c6d(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x468c6d(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x468c6d(0x2,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x1ea)]);const _0x1e34b6=0x7530,_0x3d64ed='ACTIVE_UNIT_EVENT_CHANNEL';class _0x127319 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0xe448f3=_0x1c30d9;super(),_0xbf1006(this,_0xe448f3(0x102),_0x1dfb30['generateRandomId']()),_0xbf1006(this,_0xe448f3(0xeb),new Set()),_0xbf1006(this,_0xe448f3(0xa5),new Map()),_0xbf1006(this,_0xe448f3(0x2c7),null),_0xbf1006(this,_0xe448f3(0x30b),new Map()),_0xbf1006(this,_0xe448f3(0x1e5),new Map()),this[_0xe448f3(0x31a)]();}[_0x1c30d9(0x289)](){const _0x5d9fba=_0x1c30d9;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x3020ab,_0x3550f0)=>this[_0x5d9fba(0x343)](_0x3550f0)),this[_0x5d9fba(0x2c7)]&&window[_0x5d9fba(0x1f0)](this[_0x5d9fba(0x2c7)]);}[_0x1c30d9(0x11e)](_0x256134){const _0x2d4b24=_0x1c30d9;return this[_0x2d4b24(0x23b)](_0x256134)['pipe'](_0x12ea67['distinctUntilChanged']());}[_0x1c30d9(0x26a)](_0x190e20){const _0x247e97=_0x1c30d9;this[_0x247e97(0xeb)][_0x247e97(0x30f)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x247e97(0x1e3)](_0x190e20),this[_0x247e97(0x1f2)]({'type':0x0,'memberID':this[_0x247e97(0x102)],'unitIDs':[_0x190e20],'isForwarded':!0x1});}[_0x1c30d9(0x241)](_0x4a6ee7){const _0x5eefdb=_0x1c30d9;this[_0x5eefdb(0xeb)]['delete'](_0x4a6ee7),this[_0x5eefdb(0xeb)]['size']===0x0&&this[_0x5eefdb(0x2c7)]&&window[_0x5eefdb(0x1f0)](this['_heartbeatTimer']);}[_0x1c30d9(0x31a)](){const _0x4ad7f6=_0x1c30d9;this[_0x4ad7f6(0x297)](_0x1dfb30[_0x4ad7f6(0x29c)](_0x12ea67[_0x4ad7f6(0x113)](window,'storage')['subscribe'](_0xda8c7e=>{const _0x1e62ee=_0x4ad7f6;if(_0xda8c7e[_0x1e62ee(0x1eb)]!==_0x3d64ed||!_0xda8c7e[_0x1e62ee(0x81)])return;const _0x51c9d7=JSON[_0x1e62ee(0x214)](_0xda8c7e['newValue']);this[_0x1e62ee(0x1b2)](_0x51c9d7);}))),window['addEventListener']('unload',()=>this[_0x4ad7f6(0x1f2)]({'type':0x1,'memberID':this[_0x4ad7f6(0x102)],'unitIDs':Array[_0x4ad7f6(0xed)](this[_0x4ad7f6(0xeb)])}));}[_0x1c30d9(0x1b2)](_0x10dead){const _0x1af036=_0x1c30d9;switch(_0x10dead[_0x1af036(0x2f8)]){case 0x0:this[_0x1af036(0x12b)](_0x10dead);break;case 0x1:this['_handleLeaveEvent'](_0x10dead);break;case 0x2:this['_handleHeartbeatEvent'](_0x10dead);break;}}[_0x1c30d9(0x12b)](_0x18dffa){const _0x58a413=_0x1c30d9,{unitIDs:_0x501614,memberID:_0x4c1774,isForwarded:_0x3b2806}=_0x18dffa;_0x501614[_0x58a413(0x249)](_0x1adbfa=>{const _0x597b1e=_0x58a413;if(!_0x3b2806&&this[_0x597b1e(0xa5)][_0x597b1e(0x115)](_0x1adbfa)&&this[_0x597b1e(0x23b)](_0x1adbfa)['next'](_0x3899ea[_0x597b1e(0x262)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x597b1e(0x115)](_0x1adbfa)||!this[_0x597b1e(0xa5)]['get'](_0x1adbfa)['has'](_0x4c1774)){const _0x42022d=this[_0x597b1e(0xa5)]['get'](_0x1adbfa)||new Set();_0x42022d[_0x597b1e(0x1e3)](_0x4c1774),this[_0x597b1e(0xa5)]['set'](_0x1adbfa,_0x42022d),this[_0x597b1e(0x6e)](_0x4c1774);}}),_0x3b2806||this[_0x58a413(0x1f2)]({'type':0x0,'memberID':this[_0x58a413(0x102)],'unitIDs':[...this[_0x58a413(0xeb)]],'isForwarded':!0x0});}[_0x1c30d9(0x6e)](_0x5d4ad3){const _0x528702=_0x1c30d9;this[_0x528702(0x343)](_0x5d4ad3);const _0x54d7ce=window[_0x528702(0x21d)](()=>{const _0x181f1b=_0x528702;this['_unitOnClients'][_0x181f1b(0x249)](_0xf03655=>{const _0x4d7aec=_0x181f1b;_0xf03655[_0x4d7aec(0x139)](_0x5d4ad3);});},_0x1e34b6*0x2);this[_0x528702(0x30b)]['set'](_0x5d4ad3,_0x54d7ce);}[_0x1c30d9(0x343)](_0x25a2a9){const _0xf2c486=_0x1c30d9;if(this[_0xf2c486(0x30b)][_0xf2c486(0x115)](_0x25a2a9)){const _0x111071=this[_0xf2c486(0x30b)][_0xf2c486(0x123)](_0x25a2a9);_0x111071&&window[_0xf2c486(0x26f)](_0x111071),this[_0xf2c486(0x30b)][_0xf2c486(0x151)](_0x25a2a9,null);}}[_0x1c30d9(0x29f)](_0x396682){const _0x2e8407=_0x1c30d9,{memberID:_0x8bd7cc,unitIDs:_0x3af48e}=_0x396682;_0x3af48e[_0x2e8407(0x249)](_0x506bff=>{const _0xeed590=_0x2e8407;var _0x5cfb44;const _0x2d5359=this['_unitOnClients'][_0xeed590(0x123)](_0x506bff);_0x2d5359&&(_0x2d5359['delete'](_0x8bd7cc),(_0x5cfb44=this[_0xeed590(0x23b)](_0x506bff))==null||_0x5cfb44[_0xeed590(0x27f)](_0x2d5359[_0xeed590(0x30f)]===0x0?_0x3899ea[_0xeed590(0x262)]['NO_OTHER_CLIENTS_EDITING']:_0x3899ea[_0xeed590(0x262)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x8bd7cc);}['_handleHeartbeatEvent'](_0x41b42c){const _0x31ba41=_0x1c30d9;this[_0x31ba41(0x6e)](_0x41b42c[_0x31ba41(0x239)]);}['_send'](_0x2dd757){const _0x30f866=_0x1c30d9;localStorage[_0x30f866(0x21c)](_0x3d64ed,JSON[_0x30f866(0x16d)](_0x2dd757));}[_0x1c30d9(0xc1)](){const _0x3f54f7=_0x1c30d9;this[_0x3f54f7(0x2c7)]=window[_0x3f54f7(0x2e2)](()=>{const _0x47cc13=_0x3f54f7;this[_0x47cc13(0x1f2)]({'type':0x2,'memberID':this['_id']});},_0x1e34b6);}['_ensureSubject'](_0x391178){const _0x15c542=_0x1c30d9;return this[_0x15c542(0x1e5)]['has'](_0x391178)||this[_0x15c542(0x1e5)]['set'](_0x391178,new _0x12ea67[(_0x15c542(0x211))](_0x3899ea['UnitStatus'][_0x15c542(0xff)])),this[_0x15c542(0x1e5)][_0x15c542(0x123)](_0x391178);}}_0x21651b[_0x1c30d9(0x143)]=_0x50751f,_0x21651b['SheetCollabCursorShape']=_0x3e7dc2,_0x21651b['WebBrowserSingleActiveUnitService']=_0x127319,_0x21651b[_0x1c30d9(0x2f4)]=_0x197d00,Object[_0x1c30d9(0x30d)](_0x21651b,Symbol[_0x1c30d9(0x304)],{'value':_0x1c30d9(0x10d)});}));
|