@univerjs-pro/collaboration-client-ui 0.10.12-nightly.202510221114 → 0.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1303(_0x530f01,_0x49aa6e){const _0x427358=_0x4273();return _0x1303=function(_0x13039f,_0x31650c){_0x13039f=_0x13039f-0x15b;let _0x4e7671=_0x427358[_0x13039f];return _0x4e7671;},_0x1303(_0x530f01,_0x49aa6e);}(function(_0x189cc6,_0x4c5aa2){const _0x4b8b91=_0x1303,_0x50f3db=_0x189cc6();while(!![]){try{const _0x51d7d8=-parseInt(_0x4b8b91(0x1dc))/0x1*(-parseInt(_0x4b8b91(0x1d0))/0x2)+-parseInt(_0x4b8b91(0x240))/0x3+-parseInt(_0x4b8b91(0x247))/0x4*(-parseInt(_0x4b8b91(0x40e))/0x5)+parseInt(_0x4b8b91(0x2b6))/0x6+-parseInt(_0x4b8b91(0x400))/0x7+parseInt(_0x4b8b91(0x2c2))/0x8+parseInt(_0x4b8b91(0x234))/0x9;if(_0x51d7d8===_0x4c5aa2)break;else _0x50f3db['push'](_0x50f3db['shift']());}catch(_0x1e5a56){_0x50f3db['push'](_0x50f3db['shift']());}}}(_0x4273,0x7ee30),function(_0x2307a3,_0x56edbc){const _0x2b8f8d=_0x1303;typeof exports==_0x2b8f8d(0x426)&&typeof module<'u'?_0x56edbc(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define(['exports','react/jsx-runtime',_0x2b8f8d(0x18a),'@univerjs/core',_0x2b8f8d(0x356),'rxjs',_0x2b8f8d(0x16e),'react','@univerjs/rpc','@univerjs/sheets',_0x2b8f8d(0x3da),_0x2b8f8d(0x2d0),_0x2b8f8d(0x211),_0x2b8f8d(0x3f1),_0x2b8f8d(0x28b),_0x2b8f8d(0x34b),_0x2b8f8d(0x17b),_0x2b8f8d(0x1aa),'@univerjs/sheets-ui'],_0x56edbc):(_0x2307a3=typeof globalThis<'u'?globalThis:_0x2307a3||self,_0x56edbc(_0x2307a3[_0x2b8f8d(0x383)]={},_0x2307a3['React'],_0x2307a3[_0x2b8f8d(0x2db)],_0x2307a3[_0x2b8f8d(0x15d)],_0x2307a3[_0x2b8f8d(0x188)],_0x2307a3[_0x2b8f8d(0x1e9)],_0x2307a3['UniverDesign'],_0x2307a3[_0x2b8f8d(0x363)],_0x2307a3[_0x2b8f8d(0x253)],_0x2307a3[_0x2b8f8d(0x1db)],_0x2307a3[_0x2b8f8d(0x182)],_0x2307a3['UniverNetwork'],_0x2307a3['UniverDocsUi'],_0x2307a3[_0x2b8f8d(0x222)],_0x2307a3[_0x2b8f8d(0x18e)],_0x2307a3[_0x2b8f8d(0x2d4)],_0x2307a3[_0x2b8f8d(0x27e)],_0x2307a3['rxjs']['operators'],_0x2307a3['UniverSheetsUi']));}(this,function(_0x3cd47d,_0x3c0ef9,_0x41a90e,_0x3fd9bb,_0x1fce11,_0x6f0731,_0x470fa0,_0x4165a2,_0xe36d9d,_0x3b0b3f,_0x6b71a,_0x161cdd,_0x135541,_0x5602c1,_0x4a209a,_0x57831b,_0x5abb34,_0x3f0ed8,_0x3e7cf5){'use strict';const _0x367baf=_0x1303;var _0x19abf1=Object[_0x367baf(0x413)],_0x47a982=(_0x1a04f1,_0x3f6163,_0x2daea2)=>_0x3f6163 in _0x1a04f1?_0x19abf1(_0x1a04f1,_0x3f6163,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2daea2}):_0x1a04f1[_0x3f6163]=_0x2daea2,_0xec7e10=(_0xa5b8b3,_0x27d946,_0x2918ef)=>_0x47a982(_0xa5b8b3,typeof _0x27d946!=_0x367baf(0x16b)?_0x27d946+'':_0x27d946,_0x2918ef),_0x5a7c1b=function(){const _0x2e647c=_0x367baf;return _0x5a7c1b=Object[_0x2e647c(0x244)]||function(_0xb9889b){const _0x4bc9e6=_0x2e647c;for(var _0x148bc6,_0x13e4d7=0x1,_0x15cef1=arguments[_0x4bc9e6(0x1b5)];_0x13e4d7<_0x15cef1;_0x13e4d7++){_0x148bc6=arguments[_0x13e4d7];for(var _0x5890e9 in _0x148bc6)Object[_0x4bc9e6(0x1b9)][_0x4bc9e6(0x21a)][_0x4bc9e6(0x201)](_0x148bc6,_0x5890e9)&&(_0xb9889b[_0x5890e9]=_0x148bc6[_0x5890e9]);}return _0xb9889b;},_0x5a7c1b[_0x2e647c(0x2d6)](this,arguments);},_0x580859=function(_0x1d5be8,_0x381460){const _0x4b0885=_0x367baf;var _0x48cfb7={};for(var _0x1fe296 in _0x1d5be8)Object[_0x4b0885(0x1b9)][_0x4b0885(0x21a)][_0x4b0885(0x201)](_0x1d5be8,_0x1fe296)&&_0x381460['indexOf'](_0x1fe296)<0x0&&(_0x48cfb7[_0x1fe296]=_0x1d5be8[_0x1fe296]);if(_0x1d5be8!=null&&typeof Object['getOwnPropertySymbols']==_0x4b0885(0x209)){for(var _0x340d2e=0x0,_0x1fe296=Object[_0x4b0885(0x18b)](_0x1d5be8);_0x340d2e<_0x1fe296[_0x4b0885(0x1b5)];_0x340d2e++)_0x381460[_0x4b0885(0x195)](_0x1fe296[_0x340d2e])<0x0&&Object[_0x4b0885(0x1b9)][_0x4b0885(0x348)][_0x4b0885(0x201)](_0x1d5be8,_0x1fe296[_0x340d2e])&&(_0x48cfb7[_0x1fe296[_0x340d2e]]=_0x1d5be8[_0x1fe296[_0x340d2e]]);}return _0x48cfb7;},_0x4e8d63=_0x4165a2['forwardRef'](function(_0x2178e5,_0x2accf6){const _0x10c23f=_0x367baf;var _0x4b0ddc=_0x2178e5[_0x10c23f(0x3b6)],_0x28b55a=_0x2178e5['id'],_0xb3666f=_0x2178e5[_0x10c23f(0x29e)],_0x278d84=_0x2178e5[_0x10c23f(0x174)],_0x50ba39=_0x580859(_0x2178e5,['icon','id',_0x10c23f(0x29e),'extend']),_0x5d55d3=_0x10c23f(0x217)[_0x10c23f(0x3bc)](_0x28b55a,'\x20')[_0x10c23f(0x3bc)](_0xb3666f||'')[_0x10c23f(0x2fe)](),_0x4ab419=_0x4165a2[_0x10c23f(0x213)]('_'[_0x10c23f(0x3bc)](_0x1a2ac9()));return _0x187e35(_0x4b0ddc,''['concat'](_0x28b55a),{'defIds':_0x4b0ddc[_0x10c23f(0x1ee)],'idSuffix':_0x4ab419[_0x10c23f(0x3b8)]},_0x5a7c1b({'ref':_0x2accf6,'className':_0x5d55d3},_0x50ba39),_0x278d84);});function _0x187e35(_0x182bc7,_0x1a8412,_0x3550ca,_0x1434bf,_0x562acd){const _0x1b9af6=_0x367baf;return _0x4165a2[_0x1b9af6(0x17e)](_0x182bc7[_0x1b9af6(0x1e1)],_0x5a7c1b(_0x5a7c1b({'key':_0x1a8412},_0x39eca3(_0x182bc7,_0x3550ca,_0x562acd)),_0x1434bf),(_0x5edfc5(_0x182bc7,_0x3550ca)['children']||[])[_0x1b9af6(0x335)](function(_0x4db737,_0x45bf2d){const _0x74f417=_0x1b9af6;return _0x187e35(_0x4db737,''[_0x74f417(0x3bc)](_0x1a8412,'-')['concat'](_0x182bc7[_0x74f417(0x1e1)],'-')[_0x74f417(0x3bc)](_0x45bf2d),_0x3550ca,void 0x0,_0x562acd);}));}function _0x39eca3(_0x59a9ce,_0x4a278f,_0x4efb18){const _0x97faea=_0x367baf;var _0x5a62b3=_0x5a7c1b({},_0x59a9ce[_0x97faea(0x2f2)]);_0x4efb18!=null&&_0x4efb18[_0x97faea(0x1fa)]&&_0x5a62b3[_0x97faea(0x3a2)]===_0x97faea(0x1fa)&&(_0x5a62b3[_0x97faea(0x3a2)]=_0x4efb18[_0x97faea(0x1fa)]),_0x59a9ce[_0x97faea(0x1e1)]===_0x97faea(0x42b)&&_0x5a62b3['id']&&(_0x5a62b3['id']=_0x5a62b3['id']+_0x4a278f[_0x97faea(0x3ef)]),Object[_0x97faea(0x22e)](_0x5a62b3)[_0x97faea(0x2b4)](function(_0x19d31d){const _0x5c8caa=_0x97faea;var _0x27cc3b=_0x19d31d[0x0],_0x5e06dd=_0x19d31d[0x1];_0x27cc3b===_0x5c8caa(0x42b)&&typeof _0x5e06dd==_0x5c8caa(0x1a1)&&(_0x5a62b3[_0x27cc3b]=_0x5e06dd[_0x5c8caa(0x30c)](/url\(#(.*)\)/,_0x5c8caa(0x292)[_0x5c8caa(0x3bc)](_0x4a278f['idSuffix'],')')));});var _0x2d3908=_0x4a278f['defIds'];return!_0x2d3908||_0x2d3908[_0x97faea(0x1b5)]===0x0||(_0x59a9ce[_0x97faea(0x1e1)]==='use'&&_0x5a62b3[_0x97faea(0x19e)]&&(_0x5a62b3[_0x97faea(0x19e)]=_0x5a62b3['xlink:href']+_0x4a278f[_0x97faea(0x3ef)]),Object[_0x97faea(0x22e)](_0x5a62b3)[_0x97faea(0x2b4)](function(_0x179a97){const _0x550f6d=_0x97faea;var _0x69c425=_0x179a97[0x0],_0x4ebc77=_0x179a97[0x1];typeof _0x4ebc77==_0x550f6d(0x1a1)&&(_0x5a62b3[_0x69c425]=_0x4ebc77['replace'](/url\(#(.*)\)/,_0x550f6d(0x292)[_0x550f6d(0x3bc)](_0x4a278f[_0x550f6d(0x3ef)],')')));})),_0x5a62b3;}function _0x5edfc5(_0x1e5789,_0xf8f5bf){const _0x8f7508=_0x367baf;var _0x2e1b0b,_0x594eee=_0xf8f5bf['defIds'];return!_0x594eee||_0x594eee['length']===0x0?_0x1e5789:_0x1e5789[_0x8f7508(0x1e1)]==='defs'&&(!((_0x2e1b0b=_0x1e5789['children'])===null||_0x2e1b0b===void 0x0)&&_0x2e1b0b[_0x8f7508(0x1b5)])?_0x5a7c1b(_0x5a7c1b({},_0x1e5789),{'children':_0x1e5789['children']['map'](function(_0x1294a0){const _0x4e1fc0=_0x8f7508;return typeof _0x1294a0['attrs']['id']=='string'&&_0x594eee&&_0x594eee[_0x4e1fc0(0x163)](_0x1294a0[_0x4e1fc0(0x2f2)]['id'])?_0x5a7c1b(_0x5a7c1b({},_0x1294a0),{'attrs':_0x5a7c1b(_0x5a7c1b({},_0x1294a0['attrs']),{'id':_0x1294a0[_0x4e1fc0(0x2f2)]['id']+_0xf8f5bf[_0x4e1fc0(0x3ef)]})}):_0x1294a0;})}):_0x1e5789;}function _0x1a2ac9(){const _0xe1c0d=_0x367baf;return Math['random']()['toString'](0x24)[_0xe1c0d(0x235)](0x2,0x8);}_0x4e8d63[_0x367baf(0x364)]=_0x367baf(0x204);var _0x17e2c7={'tag':'svg','attrs':{'xmlns':_0x367baf(0x39b),'fill':'none','viewBox':_0x367baf(0x161),'width':_0x367baf(0x1f9),'height':_0x367baf(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':_0x367baf(0x40f)},'children':[{'tag':_0x367baf(0x2ee),'attrs':{'stroke':_0x367baf(0x41c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x367baf(0x38b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x367baf(0x202),'attrs':{},'children':[{'tag':_0x367baf(0x3c2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x367baf(0x2ee),'attrs':{'fill':_0x367baf(0x3d0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x10115e=_0x4165a2[_0x367baf(0x3f2)](function(_0x3aab42,_0x1b8683){const _0x30f539=_0x367baf;return _0x4165a2[_0x30f539(0x17e)](_0x4e8d63,Object[_0x30f539(0x244)]({},_0x3aab42,{'id':_0x30f539(0x3b0),'ref':_0x1b8683,'icon':_0x17e2c7}));});_0x10115e['displayName']=_0x367baf(0x2b8);var _0x2fee62={'tag':_0x367baf(0x17a),'attrs':{'xmlns':_0x367baf(0x39b),'fill':_0x367baf(0x1cf),'viewBox':_0x367baf(0x1ad),'width':_0x367baf(0x1f9),'height':_0x367baf(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x367baf(0x2ee),'attrs':{'stroke':_0x367baf(0x41c),'d':_0x367baf(0x28d),'strokeLinecap':_0x367baf(0x38b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x367baf(0x202),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x367baf(0x1e7)},'children':[{'tag':_0x367baf(0x2ee),'attrs':{'fill':_0x367baf(0x3d0),'d':_0x367baf(0x34e),'transform':_0x367baf(0x397)}}]}]}],'defIds':[_0x367baf(0x1e7)]},_0x233a5e=_0x4165a2[_0x367baf(0x3f2)](function(_0x52f08f,_0x14d1ba){const _0x3f5b5c=_0x367baf;return _0x4165a2['createElement'](_0x4e8d63,Object[_0x3f5b5c(0x244)]({},_0x52f08f,{'id':_0x3f5b5c(0x24b),'ref':_0x14d1ba,'icon':_0x2fee62}));});_0x233a5e[_0x367baf(0x364)]=_0x367baf(0x36d);function _0x4322ea(_0x5322a3){const _0x49f8b7=_0x367baf;switch(_0x5322a3){case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x1ce)]:return'collabStatus.offline';case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x407)]:return _0x49f8b7(0x3b1);case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x1b1)]:return'collabStatus.fetchMiss';case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x25c)]:return _0x49f8b7(0x2c4);case _0x41a90e['CollaborationStatus']['AWAITING']:case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x328)]:return _0x49f8b7(0x42a);case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x23b)]:case _0x41a90e[_0x49f8b7(0x3e9)][_0x49f8b7(0x15e)]:return'collabStatus.synced';}}function _0x28781c(_0xdc6118){const _0x2ff38d=_0x367baf,{status$:_0x5d3c8e}=_0xdc6118,_0x49e4ef=_0x1fce11[_0x2ff38d(0x2dd)](_0x5d3c8e,_0x41a90e[_0x2ff38d(0x3e9)]['NOT_COLLAB']),_0x37ee59=_0x1fce11['useDependency'](_0x3fd9bb['LocaleService']),_0x23ccb0=_0x1fce11[_0x2ff38d(0x3c6)](_0x41a90e[_0x2ff38d(0x290)]),_0x2bfc2e=_0x49e4ef!==_0x41a90e[_0x2ff38d(0x3e9)]['OFFLINE'],_0x4e9240=_0x37ee59['t'](_0x4322ea(_0x49e4ef)),_0x62dcdf=_0x2bfc2e?_0x3c0ef9[_0x2ff38d(0x2ae)](_0x233a5e,{}):_0x3c0ef9[_0x2ff38d(0x2ae)](_0x10115e,{}),_0x1dc8e6=_0x4165a2['useCallback'](()=>{const _0xcec12d=_0x2ff38d;_0x2bfc2e||_0x23ccb0[_0xcec12d(0x1ab)]();},[_0x2bfc2e,_0x23ccb0]);function _0x561662(){const _0x30b99f=_0x2ff38d;return _0x3c0ef9[_0x30b99f(0x30d)](_0x30b99f(0x22b),{'className':_0x30b99f(0x1cc),'onClick':_0x1dc8e6,'children':[_0x3c0ef9[_0x30b99f(0x2ae)](_0x30b99f(0x22b),{'className':_0x470fa0[_0x30b99f(0x2a2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2bfc2e,'univer-text-red-500':!_0x2bfc2e}),'children':_0x62dcdf}),_0x3c0ef9[_0x30b99f(0x2ae)](_0x30b99f(0x22b),{'className':_0x30b99f(0x410),'children':_0x4e9240})]});}return _0x2bfc2e?_0x561662():_0x3c0ef9[_0x2ff38d(0x2ae)](_0x470fa0['Tooltip'],{'title':_0x37ee59['t'](_0x2ff38d(0x22d)),'children':_0x561662()});}var _0x368e56=Object['getOwnPropertyDescriptor'],_0x4f23be=(_0x107886,_0x3e8f90,_0x1538ca,_0x1e38d4)=>{const _0x67b166=_0x367baf;for(var _0x35d9fd=_0x1e38d4>0x1?void 0x0:_0x1e38d4?_0x368e56(_0x3e8f90,_0x1538ca):_0x3e8f90,_0x2d9b88=_0x107886[_0x67b166(0x1b5)]-0x1,_0x466d09;_0x2d9b88>=0x0;_0x2d9b88--)(_0x466d09=_0x107886[_0x2d9b88])&&(_0x35d9fd=_0x466d09(_0x35d9fd)||_0x35d9fd);return _0x35d9fd;},_0x4d0cec=(_0x4e151b,_0x4b92f3)=>(_0x41281f,_0x1cac4c)=>_0x4b92f3(_0x41281f,_0x1cac4c,_0x4e151b);_0x3cd47d['DesktopCollaborationStatusDisplayController']=class extends _0x3fd9bb['Disposable']{constructor(_0x4ae65d,_0x477ccc,_0x17571c,_0x260a2d){const _0x38a7b1=_0x367baf;super(),_0xec7e10(this,_0x38a7b1(0x41f),new _0x6f0731[(_0x38a7b1(0x3e6))](_0x41a90e[_0x38a7b1(0x3e9)][_0x38a7b1(0x25c)])),(this[_0x38a7b1(0x381)]=_0x4ae65d,this['_injector']=_0x477ccc,this[_0x38a7b1(0x42e)]=_0x17571c,this[_0x38a7b1(0x266)]=_0x260a2d,this['_initStatusComponent'](),this[_0x38a7b1(0x41a)]());}[_0x367baf(0x41a)](){const _0xdfaefc=_0x367baf;this['disposeWithMe'](this[_0xdfaefc(0x381)][_0xdfaefc(0x424)]['pipe'](_0x6f0731['switchMap'](()=>{const _0x24b0d2=_0xdfaefc,_0x27f63a=this[_0x24b0d2(0x381)][_0x24b0d2(0x255)]();return _0x27f63a?this[_0x24b0d2(0x42e)][_0x24b0d2(0x30b)](_0x27f63a[_0x24b0d2(0x366)]()):_0x6f0731['of'](null);}),_0x6f0731[_0xdfaefc(0x353)](_0x98a86=>_0x98a86?_0x98a86[_0xdfaefc(0x3be)]:_0x6f0731['of'](_0x41a90e[_0xdfaefc(0x3e9)][_0xdfaefc(0x25c)])))[_0xdfaefc(0x21d)](_0x241991=>{const _0x3fb5dc=_0xdfaefc;this[_0x3fb5dc(0x41f)][_0x3fb5dc(0x2c6)](_0x241991);}));}[_0x367baf(0x281)](){const _0x4e21f9=_0x367baf;this['disposeWithMe'](this[_0x4e21f9(0x266)][_0x4e21f9(0x380)](_0x1fce11['BuiltInUIPart'][_0x4e21f9(0x1c2)],()=>_0x1fce11[_0x4e21f9(0x243)](_0x5af9c8({'status$':this[_0x4e21f9(0x41f)]['asObservable']()}),this[_0x4e21f9(0x40a)])));}},_0x3cd47d[_0x367baf(0x3d4)]=_0x4f23be([_0x4d0cec(0x0,_0x3fd9bb['IUniverInstanceService']),_0x4d0cec(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0x4d0cec(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x41a90e['CollaborationController'])),_0x4d0cec(0x3,_0x1fce11['IUIPartsService'])],_0x3cd47d[_0x367baf(0x3d4)]);function _0x5af9c8(_0x528dd0){const {status$:_0x350ce9}=_0x528dd0;return function(){const _0x237a31=_0x1303;return _0x3c0ef9[_0x237a31(0x2ae)](_0x28781c,{'status$':_0x350ce9});};}const _0x54a73c=_0x3fd9bb['createIdentifier'](_0x367baf(0x223));var _0x573548=Object[_0x367baf(0x3d2)],_0x26c6fe=(_0x4caec2,_0x4606ad,_0x21b2c1,_0x11c8ea)=>{const _0x5f1028=_0x367baf;for(var _0x44d0e3=_0x11c8ea>0x1?void 0x0:_0x11c8ea?_0x573548(_0x4606ad,_0x21b2c1):_0x4606ad,_0x5a6481=_0x4caec2[_0x5f1028(0x1b5)]-0x1,_0x1f7085;_0x5a6481>=0x0;_0x5a6481--)(_0x1f7085=_0x4caec2[_0x5a6481])&&(_0x44d0e3=_0x1f7085(_0x44d0e3)||_0x44d0e3);return _0x44d0e3;},_0x4cf132=(_0x14f6ca,_0xcc6988)=>(_0x2d2ff4,_0x44c9af)=>_0xcc6988(_0x2d2ff4,_0x44c9af,_0x14f6ca);_0x3cd47d[_0x367baf(0x2d3)]=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x2ff930,_0x55d465,_0x39374e,_0x13a691,_0xe32c51){const _0x497c7b=_0x367baf;super(),this[_0x497c7b(0x308)]=_0x2ff930,this[_0x497c7b(0x233)]=_0x55d465,this['_commandService']=_0x39374e,this[_0x497c7b(0x3f0)]=_0x13a691,_0xe32c51?_0xe32c51==null||_0xe32c51[_0x497c7b(0x3c8)]()[_0x497c7b(0x1ae)](()=>this[_0x497c7b(0x369)]()):(this[_0x497c7b(0x233)]['debug'](_0x497c7b(0x26b),_0x497c7b(0x230)),this[_0x497c7b(0x369)]());}async[_0x367baf(0x369)](){const _0x13651e=_0x367baf,_0x407bee=this[_0x13651e(0x308)]['getParam']('unit'),_0x1a9e1c=this[_0x13651e(0x308)][_0x13651e(0x31e)]('type'),_0x403f4e=this[_0x13651e(0x308)]['getParam']('subunit');if(!_0x407bee||!_0x1a9e1c){this[_0x13651e(0x233)][_0x13651e(0x2cc)](_0x13651e(0x26b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x465d71=await this[_0x13651e(0x3f0)][_0x13651e(0x27d)](_0x407bee,Number(_0x1a9e1c),_0x403f4e);_0x465d71&&_0x465d71 instanceof _0x3fd9bb[_0x13651e(0x256)]&&this[_0x13651e(0x231)](_0x465d71);}async[_0x367baf(0x231)](_0x55df97){const _0x584220=_0x367baf;await this[_0x584220(0x345)](_0x55df97),_0x55df97[_0x584220(0x17f)][_0x584220(0x2ed)](_0x6f0731['takeUntil'](this['dispose$']))[_0x584220(0x21d)](_0x4a5ea3=>{const _0xe31c5a=_0x584220;_0x4a5ea3&&this[_0xe31c5a(0x401)](_0x4a5ea3);}),this[_0x584220(0x308)]['urlChange$'][_0x584220(0x2ed)](_0x6f0731[_0x584220(0x1ef)](this[_0x584220(0x196)]))[_0x584220(0x21d)](()=>this[_0x584220(0x345)](_0x55df97));}[_0x367baf(0x401)](_0x3945f9,_0x441aaf=!0x1){const _0x49432d=_0x367baf,_0xc07c05=this[_0x49432d(0x308)][_0x49432d(0x31e)](_0x49432d(0x3c0));_0x3945f9[_0x49432d(0x368)]()!==_0xc07c05&&this[_0x49432d(0x308)][_0x49432d(0x2df)](_0x49432d(0x3c0),_0x3945f9[_0x49432d(0x368)](),_0x441aaf);}async[_0x367baf(0x345)](_0x8d6be2){const _0x5e7881=_0x367baf;var _0x349b66;const _0x3757b1=this['_urlService']['getParam'](_0x5e7881(0x3c0));if(!_0x3757b1||!_0x8d6be2[_0x5e7881(0x1bd)](_0x3757b1)){const _0x4e280b=_0x8d6be2[_0x5e7881(0x3f3)]()[0x0],_0x2e6a8c=_0x8d6be2['getSheetBySheetId'](_0x4e280b);if(!_0x2e6a8c)return;this[_0x5e7881(0x401)](_0x2e6a8c,!0x0),await this[_0x5e7881(0x214)][_0x5e7881(0x332)](_0x3b0b3f['SetWorksheetActivateCommand']['id'],{'unitId':_0x8d6be2[_0x5e7881(0x366)](),'subUnitId':_0x4e280b});return;}((_0x349b66=_0x8d6be2[_0x5e7881(0x395)]())==null?void 0x0:_0x349b66[_0x5e7881(0x368)]())!==_0x3757b1&&await this[_0x5e7881(0x214)][_0x5e7881(0x332)](_0x3b0b3f[_0x5e7881(0x3a5)]['id'],{'unitId':_0x8d6be2[_0x5e7881(0x366)](),'subUnitId':_0x3757b1});}},_0x3cd47d[_0x367baf(0x2d3)]=_0x26c6fe([_0x4cf132(0x0,_0x54a73c),_0x4cf132(0x1,_0x3fd9bb[_0x367baf(0x283)]),_0x4cf132(0x2,_0x3fd9bb[_0x367baf(0x220)]),_0x4cf132(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x41a90e['DataLoaderService'])),_0x4cf132(0x4,_0x3fd9bb[_0x367baf(0x319)](_0xe36d9d[_0x367baf(0x257)]))],_0x3cd47d['CollaborationDataLoaderController']);var _0x4547af=Object[_0x367baf(0x3d2)],_0x7eff3b=(_0x34e7a4,_0xc73327,_0x58d6ea,_0x18b5c9)=>{const _0x247372=_0x367baf;for(var _0x5d2770=_0x18b5c9>0x1?void 0x0:_0x18b5c9?_0x4547af(_0xc73327,_0x58d6ea):_0xc73327,_0x6b6fcc=_0x34e7a4[_0x247372(0x1b5)]-0x1,_0x29aa71;_0x6b6fcc>=0x0;_0x6b6fcc--)(_0x29aa71=_0x34e7a4[_0x6b6fcc])&&(_0x5d2770=_0x29aa71(_0x5d2770)||_0x5d2770);return _0x5d2770;},_0x2078ce=(_0x1b34ae,_0x1aae43)=>(_0x5b9b1e,_0x3d7312)=>_0x1aae43(_0x5b9b1e,_0x3d7312,_0x1b34ae);let _0x18d8e9=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x43075e,_0x86a0a2){const _0x2f87e6=_0x367baf;super(),this[_0x2f87e6(0x314)]=_0x43075e,this['_imageIoService']=_0x86a0a2,this[_0x2f87e6(0x369)]();}[_0x367baf(0x369)](){const _0x38f9fa=_0x367baf,_0x2cb32b=this;this[_0x38f9fa(0x374)](this['_docClipboardService'][_0x38f9fa(0x340)]({'onBeforePasteImage':async _0x2c43cf=>{const _0x324bdf=_0x38f9fa,_0x298fd8=await _0x2cb32b[_0x324bdf(0x199)][_0x324bdf(0x20f)](_0x2c43cf);return _0x298fd8?{'source':_0x298fd8[_0x324bdf(0x358)],'imageSourceType':_0x298fd8['imageSourceType']}:null;}}));}};_0x18d8e9=_0x7eff3b([_0x2078ce(0x0,_0x135541[_0x367baf(0x23f)]),_0x2078ce(0x1,_0x5602c1[_0x367baf(0x3a9)])],_0x18d8e9);const _0x2c507f=[_0x367baf(0x361),'jiqing.500',_0x367baf(0x2ad),_0x367baf(0x16f),_0x367baf(0x219),_0x367baf(0x1a7)];class _0x1d4714 extends _0x3fd9bb[_0x367baf(0x264)]{constructor(){const _0x505f60=_0x367baf;super(...arguments),_0xec7e10(this,_0x505f60(0x1d8),new Map()),_0xec7e10(this,_0x505f60(0x40b),0x0);}[_0x367baf(0x2a8)](_0x4280ec){const _0x4767f8=_0x367baf;if(this[_0x4767f8(0x1d8)][_0x4767f8(0x3e1)](_0x4280ec))return this[_0x4767f8(0x1d8)][_0x4767f8(0x1fe)](_0x4280ec);const _0x32fa14=_0x2c507f[this[_0x4767f8(0x40b)]];return this[_0x4767f8(0x40b)]=(this[_0x4767f8(0x40b)]+0x1)%_0x2c507f[_0x4767f8(0x1b5)],this['_assignedColors'][_0x4767f8(0x28c)](_0x4280ec,_0x32fa14),_0x32fa14;}}function _0x5c05f9(_0x28cac2){const _0x1c00dd=_0x367baf;let _0x496faf='';for(const _0x42de95 of _0x28cac2){const {startOffset:_0x5e373,endOffset:_0x3e2b7e,isActive:_0x715357,rangeType:_0x4ff35d,segmentId:_0x23e388,segmentPage:_0x113481}=_0x42de95;_0x496faf[_0x1c00dd(0x1b5)]&&(_0x496faf+=','),_0x496faf+=_0x5e373+':'+_0x3e2b7e+':'+(_0x715357?'1':'0')+':'+_0x4ff35d+':'+_0x23e388+':'+_0x113481;}return _0x496faf;}function _0x26dd4c(_0x181f74){const _0x53f31b=_0x367baf,_0x2e6749=_0x181f74[_0x53f31b(0x437)](','),_0x5c6d79=[];for(const _0x98009 of _0x2e6749){const [_0x136282,_0x33d3aa,_0x519248,_0x175f34,_0x503d48,_0x548710]=_0x98009[_0x53f31b(0x437)](':');_0x5c6d79[_0x53f31b(0x221)]({'startOffset':Number(_0x136282),'endOffset':Number(_0x33d3aa),'collapsed':_0x136282===_0x33d3aa,'isActive':_0x519248==='1','rangeType':_0x175f34===_0x3fd9bb[_0x53f31b(0x427)]['TEXT']?_0x3fd9bb['DOC_RANGE_TYPE'][_0x53f31b(0x1b3)]:_0x3fd9bb[_0x53f31b(0x427)][_0x53f31b(0x322)],'segmentId':typeof _0x503d48==_0x53f31b(0x1a1)?String(_0x503d48):'','segmentPage':Number(_0x548710!=null?_0x548710:-0x1)});}return _0x5c6d79['some'](_0x3b37ec=>_0x3b37ec[_0x53f31b(0x438)])||(_0x5c6d79[0x0]['isActive']=!0x0),_0x5c6d79;}class _0x213664 extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(){const _0x1a661f=_0x367baf;super(...arguments),_0xec7e10(this,_0x1a661f(0x2af),new _0x6f0731[(_0x1a661f(0x3e6))](null)),_0xec7e10(this,'collabCursorState$',this[_0x1a661f(0x2af)][_0x1a661f(0x2f6)]());}[_0x367baf(0x3af)](_0x1093f1){const _0x27fefa=_0x367baf,{unitID:_0x35e3bf,memberID:_0x32c812,textRanges:_0x23af94}=_0x1093f1,_0x13f3b1=_0x5c05f9(_0x23af94);if(_0x13f3b1==='')return;const _0x43c7a8={'unitID':_0x35e3bf,'memberID':_0x32c812,'selection':_0x13f3b1};this[_0x27fefa(0x2af)]['next'](_0x43c7a8);}}var _0x9af194=Object['getOwnPropertyDescriptor'],_0x5e5f3f=(_0x5def47,_0x592c61,_0x3cfc81,_0x280769)=>{for(var _0x5529a5=_0x280769>0x1?void 0x0:_0x280769?_0x9af194(_0x592c61,_0x3cfc81):_0x592c61,_0x439abe=_0x5def47['length']-0x1,_0x1340e9;_0x439abe>=0x0;_0x439abe--)(_0x1340e9=_0x5def47[_0x439abe])&&(_0x5529a5=_0x1340e9(_0x5529a5)||_0x5529a5);return _0x5529a5;},_0x3b877a=(_0x298c97,_0x23c70f)=>(_0x39a9ed,_0x539cc1)=>_0x23c70f(_0x39a9ed,_0x539cc1,_0x298c97);const _0x26ba1c=0x12c,_0x502089=0x64;let _0x2f545c=class extends _0x3fd9bb['RxDisposable']{constructor(_0x566392,_0x382ff1,_0x25da5c,_0x23430c,_0x27872c,_0x4a237b,_0xef60d2,_0x3a1f96,_0x1b7c9d){const _0x442cc4=_0x367baf;super(),_0xec7e10(this,_0x442cc4(0x2ca),!0x1),_0xec7e10(this,_0x442cc4(0x369),!0x1),_0xec7e10(this,_0x442cc4(0x1ca),new _0x6f0731[(_0x442cc4(0x3e6))](new Map())),_0xec7e10(this,'cursorInfo$',this[_0x442cc4(0x1ca)][_0x442cc4(0x2f6)]()),_0xec7e10(this,'_roomMembers$',new _0x6f0731[(_0x442cc4(0x3e6))]([])),_0xec7e10(this,_0x442cc4(0x302),this[_0x442cc4(0x31b)]['pipe'](_0x6f0731['debounceTime'](_0x26ba1c))),_0xec7e10(this,_0x442cc4(0x327),_0x3fd9bb[_0x442cc4(0x1df)](_0x321f1b=>{const _0x33e579=_0x442cc4,_0x37c7d1={'eventID':_0x4a209a[_0x33e579(0x40c)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33e579(0x267)],'memberID':this['_session'][_0x33e579(0x403)](),'selection':_0x5c05f9(_0x321f1b)}};this[_0x33e579(0x392)][_0x33e579(0x3ee)](_0x37c7d1,this['unitID']);},_0x502089)),(this['unitID']=_0x566392,this[_0x442cc4(0x392)]=_0x382ff1,this['_injector']=_0x25da5c,this[_0x442cc4(0x391)]=_0x23430c,this[_0x442cc4(0x343)]=_0x27872c,this['_syncEditingCollabCursorService']=_0x4a237b,this[_0x442cc4(0x1f0)]=_0xef60d2,this[_0x442cc4(0x381)]=_0x3a1f96,this[_0x442cc4(0x214)]=_0x1b7c9d);}get[_0x367baf(0x360)](){const _0x2fc45e=_0x367baf;return this[_0x2fc45e(0x1ca)][_0x2fc45e(0x341)]();}get[_0x367baf(0x205)](){const _0x3aec3a=_0x367baf;return this[_0x3aec3a(0x31b)]['getValue']();}['dispose'](){const _0x1901f9=_0x367baf;super['dispose'](),this[_0x1901f9(0x1ca)][_0x1901f9(0x2c6)](new Map()),this[_0x1901f9(0x1ca)][_0x1901f9(0x26e)](),this[_0x1901f9(0x31b)][_0x1901f9(0x2c6)]([]),this[_0x1901f9(0x31b)][_0x1901f9(0x26e)]();}[_0x367baf(0x25b)](){const _0x1dafdc=_0x367baf;this['_init']||(this[_0x1dafdc(0x369)]=!0x0,this['_session'][_0x1dafdc(0x2a7)][_0x1dafdc(0x2ed)](_0x6f0731[_0x1dafdc(0x1ef)](this[_0x1dafdc(0x196)]))[_0x1dafdc(0x21d)](_0x2e926b=>{const _0x31f6fc=_0x1dafdc;_0x2e926b===_0x41a90e[_0x31f6fc(0x2bf)]['ONLINE']?this[_0x31f6fc(0x317)]():this['_toggleOffline']();}),this[_0x1dafdc(0x392)]['event$'][_0x1dafdc(0x2ed)](_0x6f0731['takeUntil'](this[_0x1dafdc(0x196)]))['subscribe'](_0x2a7eb7=>{const _0x4aa9b3=_0x1dafdc,_0x5dcd52=_0x2a7eb7[_0x4aa9b3(0x3db)];_0x5dcd52===_0x4a209a[_0x4aa9b3(0x40c)][_0x4aa9b3(0x22a)]&&this[_0x4aa9b3(0x224)](_0x2a7eb7),_0x5dcd52===_0x4a209a['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x2a7eb7);}),this[_0x1dafdc(0x374)](this['_commandService'][_0x1dafdc(0x29b)](_0x3e3afa=>{const _0x3f48c8=_0x1dafdc,_0x547502=_0x3e3afa[_0x3f48c8(0x370)];_0x547502!=null&&this[_0x3f48c8(0x2ca)]&&_0x3e3afa['id']===_0x57831b[_0x3f48c8(0x1e4)]['id']&&_0x547502[_0x3f48c8(0x1b6)]===this[_0x3f48c8(0x267)]&&_0x547502[_0x3f48c8(0x1c7)]===!0x1&&_0x547502[_0x3f48c8(0x3ec)][_0x3f48c8(0x1b5)]>0x0&&this[_0x3f48c8(0x327)](_0x547502[_0x3f48c8(0x3ec)]);})),this[_0x1dafdc(0x1d6)][_0x1dafdc(0x3a6)][_0x1dafdc(0x2ed)](_0x6f0731[_0x1dafdc(0x1ef)](this[_0x1dafdc(0x196)]))[_0x1dafdc(0x21d)](_0x588467=>{const _0x28f3d1=_0x1dafdc;if((_0x588467==null?void 0x0:_0x588467['unitID'])!==this[_0x28f3d1(0x267)])return;const _0x11bdc7={'eventID':_0x4a209a[_0x28f3d1(0x40c)][_0x28f3d1(0x22a)],'data':_0x588467};this[_0x28f3d1(0x224)](_0x11bdc7);}),this[_0x1dafdc(0x374)](this[_0x1dafdc(0x214)][_0x1dafdc(0x29b)](_0x41c116=>{const _0x394671=_0x1dafdc;if(_0x41c116[_0x394671(0x370)]==null)return;const _0x59a3da=_0x41c116[_0x394671(0x370)];if(_0x41c116['id']!==_0x57831b[_0x394671(0x350)]['id']||_0x59a3da[_0x394671(0x1b6)]!==this[_0x394671(0x267)])return;const _0x15bd43={'id':_0x394671(0x171),'params':_0x59a3da},_0xa86de3=this[_0x394671(0x360)];for(const [_0x30f5b3,_0x299405]of _0xa86de3){const _0x4b577f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x394671(0x267)],'actions':null,'textRanges':_0x299405[_0x394671(0x3ec)]}},_0x8017e6=this[_0x394671(0x1f0)]['transformMutation'](_0x15bd43,_0x4b577f,!0x1);if(_0x4a209a[_0x394671(0x200)](_0x8017e6))throw _0x8017e6[_0x394671(0x15b)];_0xa86de3[_0x394671(0x28c)](_0x30f5b3,{..._0x299405,'ranges':_0x8017e6[_0x394671(0x1eb)][_0x394671(0x370)][_0x394671(0x425)]});}queueMicrotask(()=>{const _0x5f0a8d=_0x394671;this[_0x5f0a8d(0x1ca)][_0x5f0a8d(0x2c6)](_0xa86de3);});})));}[_0x367baf(0x224)](_0x1aab68){const _0x55a6f5=_0x367baf;var _0x1efc77,_0x1f88da;const {memberID:_0xdaf2fe,selection:_0x1ae21e}=_0x1aab68[_0x55a6f5(0x26c)],_0x16832b=_0x26dd4c(_0x1ae21e),_0x55ea76=(_0x1f88da=(_0x1efc77=this[_0x55a6f5(0x343)][_0x55a6f5(0x15c)](this[_0x55a6f5(0x267)],_0xdaf2fe))==null?void 0x0:_0x1efc77[_0x55a6f5(0x1b7)])!=null?_0x1f88da:_0x55a6f5(0x21b),_0x300790={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xdaf2fe),'name':_0x55ea76,'ranges':_0x16832b},_0x2b21a2=this['cursorInfo'];_0x2b21a2['set'](_0xdaf2fe,_0x300790),this['_cursorInfo$']['next'](_0x2b21a2);}['_onCursorDelete'](_0x300206){const _0x2999f6=_0x367baf,{memberID:_0x1f6a54}=_0x300206['data'],_0x3f5d74=this[_0x2999f6(0x360)];_0x3f5d74[_0x2999f6(0x3d1)](_0x1f6a54),this[_0x2999f6(0x1ca)]['next'](_0x3f5d74);}[_0x367baf(0x317)](){const _0x21cacd=_0x367baf;var _0x205470;if(this[_0x21cacd(0x2ca)]=!0x0,((_0x205470=this[_0x21cacd(0x381)][_0x21cacd(0x255)]())==null?void 0x0:_0x205470['getUnitId']())!==this['unitID'])return;const _0x5f2364=this[_0x21cacd(0x40a)][_0x21cacd(0x1fe)](_0x57831b[_0x21cacd(0x3cc)])['getDocRanges']();Array[_0x21cacd(0x29a)](_0x5f2364)&&_0x5f2364['length']>0x0&&this[_0x21cacd(0x327)](_0x5f2364);}['_toggleOffline'](){this['_online']=!0x1;}};_0x2f545c=_0x5e5f3f([_0x3b877a(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb['Injector'])),_0x3b877a(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x1d4714)),_0x3b877a(0x4,_0x3fd9bb['Inject'](_0x41a90e[_0x367baf(0x2b7)])),_0x3b877a(0x5,_0x3fd9bb[_0x367baf(0x415)](_0x213664)),_0x3b877a(0x6,_0x4a209a['ITransformService']),_0x3b877a(0x7,_0x3fd9bb[_0x367baf(0x18d)]),_0x3b877a(0x8,_0x3fd9bb[_0x367baf(0x220)])],_0x2f545c);var _0x31f95b=Object[_0x367baf(0x3d2)],_0x105ee1=(_0xa6033,_0x1cbe25,_0x60ae0,_0x3133ce)=>{const _0x240d03=_0x367baf;for(var _0x4c3492=_0x3133ce>0x1?void 0x0:_0x3133ce?_0x31f95b(_0x1cbe25,_0x60ae0):_0x1cbe25,_0x508b68=_0xa6033[_0x240d03(0x1b5)]-0x1,_0x1c347a;_0x508b68>=0x0;_0x508b68--)(_0x1c347a=_0xa6033[_0x508b68])&&(_0x4c3492=_0x1c347a(_0x4c3492)||_0x4c3492);return _0x4c3492;},_0x2983be=(_0x5051ff,_0x5206f4)=>(_0x5571ec,_0x3281b9)=>_0x5206f4(_0x5571ec,_0x3281b9,_0x5051ff);const _0x2f17f3=0x12c,_0x46e431=0x64,_0x43bc84=()=>{let _0x5474da=[],_0xc77d92=!0x1;return _0x10ce93=>{const _0x32d850=_0x1303;_0x5474da[_0x32d850(0x221)](_0x10ce93),_0xc77d92||(_0xc77d92=!0x0,setTimeout(()=>{const _0x45cf68=_0x32d850;_0x5474da[_0x45cf68(0x2b4)](_0x411a41=>_0x411a41()),_0x5474da=[],_0xc77d92=!0x1;}));};};let _0x12c36a=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x5b1bd8,_0x332c52,_0xf2e972,_0x563ab0,_0x2612fe,_0x5e2e31,_0x5dc3ba,_0x47364e){const _0x4395d4=_0x367baf;super(),_0xec7e10(this,_0x4395d4(0x2ca),!0x1),_0xec7e10(this,_0x4395d4(0x369),!0x1),_0xec7e10(this,'_cursorInfo$',new _0x6f0731[(_0x4395d4(0x3e6))](new Map())),_0xec7e10(this,_0x4395d4(0x1ba),this[_0x4395d4(0x1ca)][_0x4395d4(0x2f6)]()),_0xec7e10(this,_0x4395d4(0x31b),new _0x6f0731[(_0x4395d4(0x3e6))]([])),_0xec7e10(this,_0x4395d4(0x302),this[_0x4395d4(0x31b)][_0x4395d4(0x2ed)](_0x6f0731[_0x4395d4(0x278)](_0x2f17f3))),_0xec7e10(this,_0x4395d4(0x327),_0x3fd9bb[_0x4395d4(0x1df)]((_0x434b23,_0x381399)=>{const _0x426484=_0x4395d4,_0x57a9db={'eventID':_0x4a209a[_0x426484(0x40c)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x426484(0x267)],'memberID':this[_0x426484(0x392)]['getMemberID'](),'selection':_0x5abb34[_0x426484(0x3c5)](_0x434b23,_0x381399[_0x426484(0x34d)])}};this[_0x426484(0x392)][_0x426484(0x3ee)](_0x57a9db,this[_0x426484(0x267)]);},_0x46e431)),(this[_0x4395d4(0x267)]=_0x5b1bd8,this[_0x4395d4(0x392)]=_0x332c52,this['_injector']=_0xf2e972,this[_0x4395d4(0x391)]=_0x563ab0,this[_0x4395d4(0x343)]=_0x2612fe,this['_univerInstanceService']=_0x5e2e31,this[_0x4395d4(0x214)]=_0x5dc3ba,this[_0x4395d4(0x293)]=_0x47364e);}get[_0x367baf(0x360)](){const _0x4e8b43=_0x367baf;return this['_cursorInfo$'][_0x4e8b43(0x341)]();}get[_0x367baf(0x205)](){return this['_roomMembers$']['getValue']();}[_0x367baf(0x173)](){const _0x3a938f=_0x367baf;super[_0x3a938f(0x173)](),this[_0x3a938f(0x1ca)][_0x3a938f(0x2c6)](new Map()),this[_0x3a938f(0x1ca)][_0x3a938f(0x26e)](),this[_0x3a938f(0x31b)][_0x3a938f(0x2c6)]([]),this[_0x3a938f(0x31b)][_0x3a938f(0x26e)]();}['init'](){const _0x230898=_0x367baf;this[_0x230898(0x369)]||(this[_0x230898(0x369)]=!0x0,this[_0x230898(0x392)]['sessionStatus$']['pipe'](_0x6f0731[_0x230898(0x1ef)](this[_0x230898(0x196)]))[_0x230898(0x21d)](_0x35027a=>{const _0xa52cf2=_0x230898;_0x35027a===_0x41a90e['SessionStatus'][_0xa52cf2(0x236)]?this['_toggleOnline']():this[_0xa52cf2(0x40d)]();}),this[_0x230898(0x392)][_0x230898(0x347)][_0x230898(0x2ed)](_0x6f0731[_0x230898(0x1ef)](this['dispose$']))[_0x230898(0x21d)](_0x3ed830=>{const _0x414e03=_0x230898,_0x47d77a=_0x3ed830[_0x414e03(0x3db)];_0x47d77a===_0x4a209a[_0x414e03(0x40c)]['UPDATE_CURSOR']&&this[_0x414e03(0x224)](_0x3ed830),_0x47d77a===_0x4a209a['CollaborationEvent']['USERS_LEAVE']&&this[_0x414e03(0x387)](_0x3ed830);}),this[_0x230898(0x37c)](),this['disposeWithMe'](this['_commandService'][_0x230898(0x29b)](_0x4dad52=>{const _0x4204de=_0x230898;if(this[_0x4204de(0x2ca)]&&_0x4dad52['id']===_0x3b0b3f[_0x4204de(0x2ec)]['id']&&_0x4dad52[_0x4204de(0x370)][_0x4204de(0x1b6)]===this[_0x4204de(0x267)]){const _0x2d8cb1=_0x4dad52[_0x4204de(0x370)];this['_updateLocalCursor'](_0x2d8cb1['subUnitId'],_0x2d8cb1[_0x4204de(0x2d1)][0x0]);}})));}[_0x367baf(0x224)](_0x1c7ba3){const _0x2e4ea9=_0x367baf;var _0x81fcd7,_0x38947c;const {memberID:_0x12ca58,selection:_0x30437e}=_0x1c7ba3['data'],{sheetName:_0x4a8c75,range:_0x140347}=_0x5abb34[_0x2e4ea9(0x277)](_0x30437e),_0xa7a0d6={'name':(_0x38947c=(_0x81fcd7=this[_0x2e4ea9(0x343)][_0x2e4ea9(0x15c)](this['unitID'],_0x12ca58))==null?void 0x0:_0x81fcd7['name'])!=null?_0x38947c:_0x2e4ea9(0x21b),'range':this[_0x2e4ea9(0x16d)](_0x4a8c75,_0x140347),'sheetID':_0x4a8c75,'color':this[_0x2e4ea9(0x391)][_0x2e4ea9(0x2a8)](_0x12ca58),'selection':_0x30437e},_0x4e1abd=this[_0x2e4ea9(0x360)];_0x4e1abd['set'](_0x12ca58,_0xa7a0d6),this[_0x2e4ea9(0x1ca)][_0x2e4ea9(0x2c6)](_0x4e1abd);}[_0x367baf(0x387)](_0x2618dd){const _0x265998=_0x367baf,{memberID:_0x28e6c6}=_0x2618dd[_0x265998(0x26c)],_0x2f71a5=this[_0x265998(0x360)];_0x2f71a5['delete'](_0x28e6c6),this['_cursorInfo$'][_0x265998(0x2c6)](_0x2f71a5);}[_0x367baf(0x16d)](_0x114990,_0x611778){const _0x513be6=_0x367baf;var _0x3b9fd7,_0x40d11b;const _0x3d64ad=(_0x40d11b=(_0x3b9fd7=this[_0x513be6(0x381)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3b9fd7['getSheetBySheetId'](_0x114990))==null?void 0x0:_0x40d11b[_0x513be6(0x226)]();return(_0x3d64ad==null?void 0x0:_0x3d64ad['find'](_0x392b36=>_0x3fd9bb['Rectangle'][_0x513be6(0x27a)](_0x392b36,_0x611778)))||_0x611778;}['_onRefRangeChange'](){const _0x2ee651=_0x367baf,_0x5733e0=new _0x3fd9bb[(_0x2ee651(0x20c))](),_0x128803=_0x43bc84(),_0x8d380c=()=>{const _0x327f1a=_0x2ee651;_0x5733e0['dispose']();const _0x19f2b2=(_0x4995a,_0x17f6de,_0x302d94,_0x39505f)=>{const _0x40898f=_0x1303;let _0x1a6881=[];switch(_0x4995a['id']){case _0x3b0b3f['EffectRefRangId'][_0x40898f(0x3e3)]:{_0x1a6881=_0x3b0b3f[_0x40898f(0x35e)](_0x4995a,_0x39505f);break;}case _0x3b0b3f[_0x40898f(0x1a2)]['DeleteRangeMoveUpCommandId']:{_0x1a6881=_0x3b0b3f[_0x40898f(0x3d5)](_0x4995a,_0x39505f);break;}case _0x3b0b3f[_0x40898f(0x1a2)]['InsertColCommandId']:{_0x1a6881=_0x3b0b3f[_0x40898f(0x389)](_0x4995a,_0x39505f);break;}case _0x3b0b3f['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x1a6881=_0x3b0b3f[_0x40898f(0x179)](_0x4995a,_0x39505f);break;}case _0x3b0b3f[_0x40898f(0x1a2)][_0x40898f(0x2b2)]:{_0x1a6881=_0x3b0b3f[_0x40898f(0x349)](_0x4995a,_0x39505f);break;}case _0x3b0b3f['EffectRefRangId'][_0x40898f(0x1c1)]:{_0x1a6881=_0x3b0b3f[_0x40898f(0x38c)](_0x4995a,_0x39505f);break;}case _0x3b0b3f['EffectRefRangId']['MoveRangeCommandId']:{_0x1a6881=_0x3b0b3f['handleMoveRange'](_0x4995a,_0x39505f);break;}case _0x3b0b3f[_0x40898f(0x1a2)][_0x40898f(0x2c5)]:{_0x1a6881=_0x3b0b3f[_0x40898f(0x2e6)](_0x4995a,_0x39505f);break;}case _0x3b0b3f[_0x40898f(0x1a2)][_0x40898f(0x1f1)]:{_0x1a6881=_0x3b0b3f[_0x40898f(0x326)](_0x4995a,_0x39505f);break;}}const _0x3f8e53=_0x3b0b3f[_0x40898f(0x2d5)](_0x1a6881,_0x39505f),_0xb654dc=this[_0x40898f(0x360)]['get'](_0x17f6de);if(_0xb654dc&&_0x3f8e53){const _0x398bd0={..._0xb654dc,'range':_0x3f8e53};this['cursorInfo'][_0x40898f(0x28c)](_0x17f6de,_0x398bd0),_0x128803(()=>{const _0x1d0fba=_0x40898f,_0xd41c5=this[_0x1d0fba(0x293)]['registerRefRange'](_0x3f8e53,_0x3e0a4f=>(_0xd41c5[_0x1d0fba(0x173)](),_0x19f2b2(_0x3e0a4f,_0x17f6de,_0x302d94,_0x3f8e53)));_0x5733e0[_0x1d0fba(0x3ed)](_0xd41c5);});}return{'redos':[],'undos':[]};};this[_0x327f1a(0x360)][_0x327f1a(0x2b4)]((_0x20e888,_0xe3eeff)=>{const _0x2111b8=_0x327f1a,{range:_0x1329c9,sheetID:_0x44f320}=_0x20e888,_0x4cc7a6=this[_0x2111b8(0x293)][_0x2111b8(0x27c)](_0x1329c9,_0x12caad=>(_0x4cc7a6[_0x2111b8(0x173)](),_0x19f2b2(_0x12caad,_0xe3eeff,_0x44f320,_0x1329c9)));_0x5733e0[_0x2111b8(0x3ed)](_0x4cc7a6);});};this[_0x2ee651(0x374)](_0x3fd9bb[_0x2ee651(0x37a)](this[_0x2ee651(0x1ca)]['subscribe'](()=>{_0x8d380c();})));}['_toggleOnline'](){const _0x5b39db=_0x367baf;var _0x516620,_0x529576;if(this[_0x5b39db(0x2ca)]=!0x0,((_0x516620=this[_0x5b39db(0x381)][_0x5b39db(0x255)]())==null?void 0x0:_0x516620[_0x5b39db(0x366)]())!==this[_0x5b39db(0x267)])return;const _0x41a06f=(_0x529576=this[_0x5b39db(0x40a)][_0x5b39db(0x1fe)](_0x3b0b3f[_0x5b39db(0x3cf)])['getCurrentSelections']())==null?void 0x0:_0x529576[0x0],_0x4c2c28=this[_0x5b39db(0x381)][_0x5b39db(0x2e9)](_0x3fd9bb[_0x5b39db(0x3aa)]['UNIVER_SHEET'])[_0x5b39db(0x395)]();_0x41a06f&&_0x4c2c28&&this['_updateLocalCursor'](_0x4c2c28[_0x5b39db(0x368)](),_0x41a06f);}[_0x367baf(0x40d)](){const _0x2119c7=_0x367baf;this[_0x2119c7(0x2ca)]=!0x1;}};_0x12c36a=_0x105ee1([_0x2983be(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0x2983be(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x1d4714)),_0x2983be(0x4,_0x3fd9bb[_0x367baf(0x415)](_0x41a90e[_0x367baf(0x2b7)])),_0x2983be(0x5,_0x3fd9bb[_0x367baf(0x18d)]),_0x2983be(0x6,_0x3fd9bb[_0x367baf(0x220)]),_0x2983be(0x7,_0x3fd9bb[_0x367baf(0x415)](_0x3b0b3f['RefRangeService']))],_0x12c36a);var _0x593ccb=Object['getOwnPropertyDescriptor'],_0x5451cb=(_0x10830b,_0x3845d1,_0x4ee3e1,_0x541e43)=>{const _0x49f2e9=_0x367baf;for(var _0x58993f=_0x541e43>0x1?void 0x0:_0x541e43?_0x593ccb(_0x3845d1,_0x4ee3e1):_0x3845d1,_0x2beb3f=_0x10830b[_0x49f2e9(0x1b5)]-0x1,_0x325ffa;_0x2beb3f>=0x0;_0x2beb3f--)(_0x325ffa=_0x10830b[_0x2beb3f])&&(_0x58993f=_0x325ffa(_0x58993f)||_0x58993f);return _0x58993f;},_0x5ca695=(_0x58233d,_0x1ba9fa)=>(_0x649644,_0x325185)=>_0x1ba9fa(_0x649644,_0x325185,_0x58233d);let _0x2a7630=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x351653,_0x2a2703,_0x1e6057){const _0x26f5c9=_0x367baf;super(),_0xec7e10(this,'_entities',new Map()),_0xec7e10(this,'_entityInit$',new _0x6f0731[(_0x26f5c9(0x1d5))]()),(this[_0x26f5c9(0x381)]=_0x351653,this['_injector']=_0x2a2703,this['_collabSessionService']=_0x1e6057,this[_0x26f5c9(0x369)]());}[_0x367baf(0x173)](){const _0x26aba0=_0x367baf;super[_0x26aba0(0x173)](),this['_entityInit$'][_0x26aba0(0x26e)](),this[_0x26aba0(0x20e)][_0x26aba0(0x2b4)](_0x46c82c=>_0x46c82c[_0x26aba0(0x173)]());}[_0x367baf(0x399)](_0x564557){const _0xa40be=_0x367baf;return this[_0xa40be(0x20e)]['has'](_0x564557)?this[_0xa40be(0x20e)][_0xa40be(0x1fe)](_0x564557)[_0xa40be(0x1ba)]:this[_0xa40be(0x365)][_0xa40be(0x2ed)](_0x6f0731[_0xa40be(0x33c)](_0x13d89d=>_0x13d89d['unitID']===_0x564557),_0x6f0731[_0xa40be(0x353)](_0x4daa41=>_0x4daa41[_0xa40be(0x1ba)]));}[_0x367baf(0x369)](){const _0x209ebb=_0x367baf;this[_0x209ebb(0x381)][_0x209ebb(0x38a)](_0x3fd9bb[_0x209ebb(0x3aa)][_0x209ebb(0x2a0)])[_0x209ebb(0x2ed)](_0x6f0731[_0x209ebb(0x1ef)](this[_0x209ebb(0x196)]))[_0x209ebb(0x21d)](async _0x13bfbe=>{const _0x27d50c=_0x209ebb,_0x2ec43d=_0x13bfbe['getUnitId'](),_0x315aa7=await this[_0x27d50c(0x396)](_0x2ec43d);this['_entityInit$'][_0x27d50c(0x2c6)](_0x315aa7),this[_0x27d50c(0x20e)][_0x27d50c(0x28c)](_0x2ec43d,_0x315aa7);}),this['_univerInstanceService'][_0x209ebb(0x38a)](_0x3fd9bb[_0x209ebb(0x3aa)][_0x209ebb(0x169)])['pipe'](_0x6f0731[_0x209ebb(0x1ef)](this['dispose$']))[_0x209ebb(0x2ed)](_0x6f0731[_0x209ebb(0x33c)](_0x35d987=>!_0x35d987[_0x209ebb(0x366)]()[_0x209ebb(0x3e7)]('__')))[_0x209ebb(0x21d)](async _0x3f73cc=>{const _0x29ddab=_0x209ebb,_0x3a63a2=_0x3f73cc[_0x29ddab(0x366)](),_0x5f57f0=await this[_0x29ddab(0x206)](_0x3a63a2);this[_0x29ddab(0x365)][_0x29ddab(0x2c6)](_0x5f57f0),this[_0x29ddab(0x20e)]['set'](_0x3a63a2,_0x5f57f0);}),_0x6f0731[_0x209ebb(0x1b0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3fd9bb[_0x209ebb(0x3aa)][_0x209ebb(0x169)]),this[_0x209ebb(0x381)]['getTypeOfUnitDisposed$'](_0x3fd9bb[_0x209ebb(0x3aa)][_0x209ebb(0x2a0)]))[_0x209ebb(0x2ed)](_0x6f0731['takeUntil'](this[_0x209ebb(0x196)]))[_0x209ebb(0x21d)](_0x31963b=>{const _0x40205f=_0x209ebb,_0x481dc1=_0x31963b[_0x40205f(0x366)](),_0x1b1e45=this['_entities'][_0x40205f(0x1fe)](_0x481dc1);_0x1b1e45&&(_0x1b1e45[_0x40205f(0x173)](),this[_0x40205f(0x20e)][_0x40205f(0x3d1)](_0x481dc1));});}async['_startSheetCollabCursor'](_0x18121c){const _0x45850f=_0x367baf,_0x29bf08=await this[_0x45850f(0x388)][_0x45850f(0x2e7)](_0x18121c),_0x47f3dc=this['_injector'][_0x45850f(0x38f)](_0x12c36a,_0x18121c,_0x29bf08);return _0x47f3dc['init'](),_0x47f3dc;}async[_0x367baf(0x206)](_0x3d4519){const _0x260180=_0x367baf,_0x6716b4=await this[_0x260180(0x388)]['requireSession'](_0x3d4519),_0x20d9e4=this[_0x260180(0x40a)][_0x260180(0x38f)](_0x2f545c,_0x3d4519,_0x6716b4);return _0x20d9e4[_0x260180(0x25b)](),_0x20d9e4;}};_0x2a7630=_0x5451cb([_0x5ca695(0x0,_0x3fd9bb['IUniverInstanceService']),_0x5ca695(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0x5ca695(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x41a90e[_0x367baf(0x290)]))],_0x2a7630);const _0x584ec4=0x14,_0x13f91d=0xc8,_0x21e81a=0x4,_0x4674ce=0x5;function _0x453529(_0xc9fcc5,_0xaaccba){const _0x6d3d49=_0x367baf;let {radius:_0x267e18,width:_0x124ced,height:_0x144267}=_0xaaccba;_0x267e18=_0x267e18!=null?_0x267e18:0x0,_0x124ced=_0x124ced!=null?_0x124ced:0x1e,_0x144267=_0x144267!=null?_0x144267:0x1e;let _0x31aa92=0x0,_0x2f5f84=0x0,_0x11ab75=0x0;_0x31aa92=_0x2f5f84=_0x11ab75=Math['min'](_0x267e18,_0x124ced/0x2,_0x144267/0x2),_0xc9fcc5[_0x6d3d49(0x1de)](),_0xc9fcc5[_0x6d3d49(0x295)](_0x31aa92,0x0),_0xc9fcc5[_0x6d3d49(0x2d9)](_0x124ced-_0x2f5f84,0x0),_0xc9fcc5[_0x6d3d49(0x3c3)](_0x124ced-_0x2f5f84,_0x2f5f84,_0x2f5f84,Math['PI']*0x3/0x2,0x0,!0x1),_0xc9fcc5[_0x6d3d49(0x2d9)](_0x124ced,_0x144267-_0x11ab75),_0xc9fcc5['arc'](_0x124ced-_0x11ab75,_0x144267-_0x11ab75,_0x11ab75,0x0,Math['PI']/0x2,!0x1),_0xc9fcc5[_0x6d3d49(0x2d9)](0x0,_0x144267),_0xc9fcc5[_0x6d3d49(0x2d9)](0x0,_0x31aa92),_0xc9fcc5['arc'](_0x31aa92,_0x31aa92,_0x31aa92,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc9fcc5[_0x6d3d49(0x2c1)](),_0xaaccba[_0x6d3d49(0x3a2)]&&(_0xc9fcc5[_0x6d3d49(0x3fa)](),_0xc9fcc5[_0x6d3d49(0x2a1)]=_0xaaccba['fill'],_0xaaccba[_0x6d3d49(0x393)]===_0x6d3d49(0x2fb)?_0xc9fcc5[_0x6d3d49(0x3a2)](_0x6d3d49(0x2fb)):_0xc9fcc5[_0x6d3d49(0x3a2)](),_0xc9fcc5['restore']());}class _0x461601 extends _0x6b71a['Shape']{constructor(_0x590761,_0x51642c){const _0x17a7ee=_0x367baf;super(_0x590761,_0x51642c),_0xec7e10(this,'color'),_0xec7e10(this,'text'),(this['color']=_0x51642c==null?void 0x0:_0x51642c[_0x17a7ee(0x239)],this['text']=_0x51642c==null?void 0x0:_0x51642c['text']);}static[_0x367baf(0x2f0)](_0x455da0,_0x5a7c71){const _0xcf3515=_0x367baf,{text:_0x431179,color:_0x2b1a8a}=_0x5a7c71;_0x455da0[_0xcf3515(0x3fa)](),_0x455da0['font']=_0xcf3515(0x2fa);const _0x25bccb=_0x455da0[_0xcf3515(0x305)](_0x431179)['width'],_0x50bcca=Math[_0xcf3515(0x3ad)](_0x25bccb+0x2*_0x21e81a,_0x13f91d);_0x453529(_0x455da0,{'height':_0x584ec4,'radius':0x4,'width':_0x50bcca,'fill':_0x2b1a8a}),_0x455da0['fillStyle']='#FFF';const _0x3d48fa=_0x21e81a,_0x26c439=_0x584ec4-_0x4674ce,_0x120ebd=_0x13f91d-0x2*_0x21e81a;if(_0x25bccb>_0x120ebd){let _0x465061='',_0x52d6f0=0x0;for(const _0x24919a of _0x431179){const _0xc9546a=_0x455da0[_0xcf3515(0x305)](_0x24919a)['width'];if(_0x52d6f0+_0xc9546a<=_0x120ebd-_0x455da0['measureText']('...')[_0xcf3515(0x1a6)])_0x465061+=_0x24919a,_0x52d6f0+=_0xc9546a;else{_0x465061+='...';break;}}_0x455da0['fillText'](_0x465061,_0x3d48fa,_0x26c439);}else _0x455da0['fillText'](_0x431179,_0x3d48fa,_0x26c439);_0x455da0[_0xcf3515(0x1d2)]();}[_0x367baf(0x2e0)](_0x431eed){const _0x222d4d=_0x367baf;_0x461601[_0x222d4d(0x2f0)](_0x431eed,this);}}const _0x58475b=_0x367baf(0x1d9),_0x55881f=_0x367baf(0x16c),_0x2d61b0=_0x367baf(0x342),_0x5af5c7=0x6,_0xbecad4=1.5,_0x2b9fdf=0x4,_0x24a569=1.5,_0x15168f='rgba(255,\x20255,\x20255,\x200.01)';class _0x269a6b{constructor(_0x922aae,_0x4c4340,_0x5e1b5b,_0x51638e){const _0x502077=_0x367baf;_0xec7e10(this,_0x502077(0x216),[]),_0xec7e10(this,_0x502077(0x27f),null),_0xec7e10(this,'_textBubble',null),_0xec7e10(this,_0x502077(0x1a0),null),_0xec7e10(this,_0x502077(0x378),null),_0xec7e10(this,_0x502077(0x436),null),(this['_cursor']=_0x922aae,this[_0x502077(0x20a)]=_0x4c4340,this[_0x502077(0x1e0)]=_0x5e1b5b,this[_0x502077(0x23e)]=_0x51638e,this[_0x502077(0x38d)]());}set[_0x367baf(0x241)](_0x1348a8){const _0xf62503=_0x367baf;_0x1348a8?(this[_0xf62503(0x1a0)]&&this[_0xf62503(0x1a0)][_0xf62503(0x2f9)](),this[_0xf62503(0x3a8)]&&this[_0xf62503(0x3a8)][_0xf62503(0x37e)]()):(this[_0xf62503(0x1a0)]&&this[_0xf62503(0x1a0)]['show'](),this[_0xf62503(0x3a8)]&&this[_0xf62503(0x3a8)][_0xf62503(0x2f9)]());}[_0x367baf(0x173)](){const _0x239a4c=_0x367baf;for(const _0x10c54a of this[_0x239a4c(0x216)])_0x10c54a[_0x239a4c(0x173)]();this['_textBubble']&&this[_0x239a4c(0x3a8)][_0x239a4c(0x173)](),this[_0x239a4c(0x1a0)]&&this[_0x239a4c(0x1a0)][_0x239a4c(0x173)](),this[_0x239a4c(0x27f)]&&this[_0x239a4c(0x27f)][_0x239a4c(0x173)](),this[_0x239a4c(0x436)]&&this[_0x239a4c(0x436)]();}[_0x367baf(0x38d)](){const _0x4b9198=_0x367baf;var _0x7066e2;const {_docSkeleton:_0x2cf9ea,_document:_0x104687}=this,{color:_0x2c57a8,name:_0x311dcb,ranges:_0x58577a}=this[_0x4b9198(0x3b2)],_0x125646=_0x104687[_0x4b9198(0x382)](),{docsLeft:_0x4d63b9,docsTop:_0x1b5c84}=_0x125646,_0x3f69cf=new _0x135541['NodePositionConvertToCursor'](_0x125646,_0x2cf9ea);for(const {startOffset:_0x2f06f5,endOffset:_0xb6e41,rangeType:_0x5e4e8c,segmentId:_0x1a43e6,segmentPage:_0x5530f0,collapsed:_0x112cc3,isActive:_0x37cb64}of _0x58577a){const _0x592ce5=_0x2cf9ea[_0x4b9198(0x3bf)](_0x2f06f5,!0x0,_0x1a43e6,_0x5530f0);let _0x44b381=_0x2cf9ea['findNodePositionByCharIndex'](_0xb6e41,!0x0,_0x1a43e6,_0x5530f0);if(_0x44b381==null&&(_0x44b381=_0x2cf9ea[_0x4b9198(0x3bf)](_0xb6e41-0x1,!0x1,_0x1a43e6,_0x5530f0)),_0x37cb64){const {contentBoxPointGroup:_0x4eebcc}=_0x3f69cf['getRangePointData'](_0x44b381,_0x44b381);if(_0x4eebcc[_0x4b9198(0x1b5)]===0x0)continue;this[_0x4b9198(0x384)](_0x2c57a8,_0x4eebcc,_0x4d63b9,_0x1b5c84,_0x311dcb),this[_0x4b9198(0x436)]=this[_0x4b9198(0x1ed)]();}if(_0x592ce5&&_0x44b381){if(_0x5e4e8c===_0x3fd9bb[_0x4b9198(0x427)][_0x4b9198(0x322)]){const _0xb9b5e1=new _0x135541[(_0x4b9198(0x36b))](_0x125646,_0x2cf9ea),{pointGroup:_0x571384}=(_0x7066e2=_0xb9b5e1[_0x4b9198(0x1e6)](_0x592ce5,_0x44b381))!=null?_0x7066e2:{};if(_0x571384==null||_0x571384[_0x4b9198(0x1b5)]===0x0)continue;this['_drawRectRange'](_0x2c57a8,_0x571384,_0x4d63b9,_0x1b5c84);}else{if(!_0x112cc3){const {borderBoxPointGroup:_0x53c9f4}=_0x3f69cf[_0x4b9198(0x1e6)](_0x592ce5,_0x44b381);if(_0x53c9f4['length']===0x0)continue;this['_drawTextRange'](_0x2c57a8,_0x53c9f4,_0x4d63b9,_0x1b5c84);}}}}}['_drawAnchor'](_0x10d06c,_0x459b38,_0x586e4b,_0x2b1e12,_0x4020d9){const _0x36a736=_0x367baf,_0x24b8b3=this[_0x36a736(0x3e8)](_0x459b38),{left:_0x508c18,top:_0x112340,height:_0x59ce15}=_0x24b8b3,_0x4cf0ec=this['_getScale'](),_0x1ef657=_0x24a569/_0x4cf0ec,_0x4fd320=new _0x6b71a[(_0x36a736(0x3c7))](_0x58475b+_0x3fd9bb[_0x36a736(0x3ca)](_0x5af5c7),{'left':_0x508c18+_0x586e4b-_0x1ef657,'top':_0x112340+_0x2b1e12,'height':_0x59ce15,'width':_0xbecad4,'fill':_0x10d06c||_0x6b71a[_0x36a736(0x33e)](_0x3fd9bb[_0x36a736(0x3f8)][_0x36a736(0x2f3)],0x0),'strokeWidth':_0x1ef657,'stroke':_0x15168f,'evented':!0x0});this['_anchor']=_0x4fd320,this['_scene'][_0x36a736(0x3fb)](_0x4fd320,_0x135541[_0x36a736(0x270)]);const _0x5ad5b2=new _0x6b71a['Rect'](_0x58475b+_0x3fd9bb[_0x36a736(0x3ca)](_0x5af5c7),{'left':_0x508c18+_0x586e4b-_0x1ef657,'top':_0x112340+_0x2b1e12-_0x2b9fdf/0x2,'height':_0x2b9fdf,'width':_0x2b9fdf,'fill':_0x10d06c||_0x6b71a[_0x36a736(0x33e)](_0x3fd9bb['COLORS'][_0x36a736(0x2f3)],0x0),'strokeWidth':0x0,'stroke':_0x10d06c||_0x6b71a[_0x36a736(0x33e)](_0x3fd9bb[_0x36a736(0x3f8)]['black'],0x0),'evented':!0x1});this[_0x36a736(0x1a0)]=_0x5ad5b2,this[_0x36a736(0x20a)]['addObject'](_0x5ad5b2,_0x135541[_0x36a736(0x270)]);const _0x11520f=new _0x461601(_0x58475b+_0x3fd9bb[_0x36a736(0x3ca)](_0x5af5c7),{'left':_0x508c18+_0x586e4b-_0x1ef657,'top':_0x112340+_0x2b1e12-_0x584ec4,'text':_0x4020d9,'color':_0x10d06c});this[_0x36a736(0x3a8)]=_0x11520f,this[_0x36a736(0x20a)]['addObject'](_0x11520f,_0x135541['TEXT_RANGE_LAYER_INDEX']),this[_0x36a736(0x241)]=!0x1;}[_0x367baf(0x1ed)](){const _0x20a86c=_0x367baf,_0x4fd623=this[_0x20a86c(0x27f)][_0x20a86c(0x379)][_0x20a86c(0x41b)](()=>{this['_hover']=!0x0;}),_0x278588=this['_anchor'][_0x20a86c(0x362)]['subscribeEvent'](()=>{const _0x2de75e=_0x20a86c;this[_0x2de75e(0x378)]&&clearTimeout(this['_hideTimer']),this[_0x2de75e(0x378)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1bd41b=_0x20a86c;_0x4fd623['unsubscribe'](),_0x278588[_0x1bd41b(0x324)]();};}[_0x367baf(0x176)](_0x5e3a64,_0x285e67,_0x38ab10,_0x10e715){const _0x116b71=_0x367baf,_0x3b90bc=new _0x3fd9bb['ColorKit'](_0x5e3a64)[_0x116b71(0x409)](0.2)[_0x116b71(0x37b)](),_0x1537a3=new _0x6b71a[(_0x116b71(0x1e8))](_0x55881f+_0x3fd9bb[_0x116b71(0x3ca)](_0x5af5c7),{'pointsGroup':_0x285e67,'fill':_0x3b90bc||_0x6b71a[_0x116b71(0x33e)](_0x3fd9bb[_0x116b71(0x3f8)][_0x116b71(0x2f3)],0.2),'left':_0x38ab10,'top':_0x10e715,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x116b71(0x221)](_0x1537a3),this[_0x116b71(0x20a)][_0x116b71(0x3fb)](_0x1537a3,_0x135541[_0x116b71(0x270)]);}[_0x367baf(0x311)](_0x45d6cc,_0x3b3ff5,_0x3f6a3d,_0x5ba5c5){const _0xa98ff0=_0x367baf,_0x3676c2=new _0x3fd9bb['ColorKit'](_0x45d6cc)[_0xa98ff0(0x409)](0.2)[_0xa98ff0(0x37b)](),_0x3ed880=new _0x6b71a[(_0xa98ff0(0x1e8))](_0x2d61b0+_0x3fd9bb[_0xa98ff0(0x3ca)](_0x5af5c7),{'pointsGroup':_0x3b3ff5,'fill':_0x3676c2||_0x6b71a['getColor'](_0x3fd9bb[_0xa98ff0(0x3f8)]['black'],0.2),'left':_0x3f6a3d,'top':_0x5ba5c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa98ff0(0x216)]['push'](_0x3ed880),this[_0xa98ff0(0x20a)][_0xa98ff0(0x3fb)](_0x3ed880,_0x135541[_0xa98ff0(0x270)]);}[_0x367baf(0x3e8)](_0xca8335){const _0x2278d8=_0xca8335[0x0],_0xd54e1d=_0x2278d8[0x0],_0x518d99=_0x2278d8[0x2],{x:_0x52bb69,y:_0x4ea47a}=_0xd54e1d,{x:_0x49122d,y:_0x18ec80}=_0x518d99;return{'left':_0x52bb69,'top':_0x4ea47a,'width':_0x49122d-_0x52bb69,'height':_0x18ec80-_0x4ea47a};}['_getScale'](){const _0x4be718=_0x367baf,{scaleX:_0x4437d4,scaleY:_0x11e111}=this['_scene']['getAncestorScale']();return Math[_0x4be718(0x3f6)](_0x4437d4,_0x11e111);}}var _0x3e0db5=Object[_0x367baf(0x3d2)],_0x348460=(_0x4bd291,_0x4d214f,_0x28b15e,_0xe97d2c)=>{const _0x4ddab2=_0x367baf;for(var _0x2b7cf9=_0xe97d2c>0x1?void 0x0:_0xe97d2c?_0x3e0db5(_0x4d214f,_0x28b15e):_0x4d214f,_0x2f305a=_0x4bd291[_0x4ddab2(0x1b5)]-0x1,_0x10b4bd;_0x2f305a>=0x0;_0x2f305a--)(_0x10b4bd=_0x4bd291[_0x2f305a])&&(_0x2b7cf9=_0x10b4bd(_0x2b7cf9)||_0x2b7cf9);return _0x2b7cf9;},_0x55e7c3=(_0x392474,_0x423b54)=>(_0xe7d781,_0x80f025)=>_0x423b54(_0xe7d781,_0x80f025,_0x392474);let _0x4e6b79=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x2b98f8,_0x3ad4b5,_0x56f0db,_0x4b5edf,_0x1455f4){const _0xfdbee4=_0x367baf;super(),_0xec7e10(this,_0xfdbee4(0x3a0),[]),_0xec7e10(this,_0xfdbee4(0x265),[]),(this['_context']=_0x2b98f8,this[_0xfdbee4(0x1ff)]=_0x3ad4b5,this[_0xfdbee4(0x272)]=_0x56f0db,this['_commandService']=_0x4b5edf,this[_0xfdbee4(0x1a3)]=_0x1455f4,this[_0xfdbee4(0x369)]());}[_0x367baf(0x369)](){const _0x1ec1af=_0x367baf,_0x3f6702=this[_0x1ec1af(0x1b8)][_0x1ec1af(0x1b6)],_0x1e4795=this['_docSkeletonManagerService'];this[_0x1ec1af(0x374)](_0x6f0731[_0x1ec1af(0x330)]([this['_collabCursorController'][_0x1ec1af(0x399)](_0x3f6702),this[_0x1ec1af(0x1a3)][_0x1ec1af(0x1c0)]])[_0x1ec1af(0x2ed)](_0x3f0ed8[_0x1ec1af(0x335)](([_0x5e055c,_0x4eaa4f])=>({'skeleton':_0x1e4795[_0x1ec1af(0x306)](),'cursors':[..._0x5e055c[_0x1ec1af(0x37f)]()][_0x1ec1af(0x346)](_0x43d8a2=>({..._0x43d8a2,'color':this['_themeService'][_0x1ec1af(0x316)](_0x43d8a2[_0x1ec1af(0x239)])}))})))['subscribe'](_0x150d2d=>{const _0x2e5986=_0x1ec1af;if(this[_0x2e5986(0x282)](),_0x150d2d){const {skeleton:_0xc97101,cursors:_0x1cb27b}=_0x150d2d;this[_0x2e5986(0x1da)](_0xc97101,_0x1cb27b);}})),this[_0x1ec1af(0x1fc)](),this[_0x1ec1af(0x19d)]();}[_0x367baf(0x1da)](_0x2f603c,_0x220f1b){const _0x5be57f=_0x367baf,{scene:_0x596b4a,mainComponent:_0x17f0a4}=this['_context'],_0x1f68e5=_0x220f1b[_0x5be57f(0x335)](_0xb32b05=>new _0x269a6b(_0xb32b05,_0x596b4a,_0x2f603c,_0x17f0a4));this[_0x5be57f(0x3a0)]=_0x1f68e5,this['_cursors']=_0x220f1b;}[_0x367baf(0x1f3)](){const _0x390df4=_0x367baf;this['_removeCollabCursors']();const {scene:_0x9403e9,mainComponent:_0x51a709}=this[_0x390df4(0x1b8)],_0x14676e=this[_0x390df4(0x1ff)][_0x390df4(0x306)](),_0x1765f0=this['_cursors'][_0x390df4(0x335)](_0x34d872=>new _0x269a6b(_0x34d872,_0x9403e9,_0x14676e,_0x51a709));this['_cursorShapes']=_0x1765f0;}['_removeCollabCursors'](){const _0xcd6b5e=_0x367baf;this[_0xcd6b5e(0x3a0)]['forEach'](_0x2af77a=>_0x2af77a['dispose']()),this['_cursorShapes']=[];}[_0x367baf(0x19d)](){const _0x5ae787=_0x367baf,_0x3ce366=[_0x135541[_0x5ae787(0x2ea)]['id']];this[_0x5ae787(0x374)](this[_0x5ae787(0x214)][_0x5ae787(0x29b)](_0x42ef78=>{const _0x56a170=_0x5ae787;_0x3ce366['includes'](_0x42ef78['id'])&&_0x42ef78['params'][_0x56a170(0x1b6)]===this[_0x56a170(0x1b8)][_0x56a170(0x1b6)]&&this[_0x56a170(0x1f3)]();}));}[_0x367baf(0x1fc)](){const _0x56c9a6=_0x367baf;this['disposeWithMe'](_0x3fd9bb[_0x56c9a6(0x406)](this['_context']['engine'][_0x56c9a6(0x336)])[_0x56c9a6(0x2ed)](_0x3f0ed8[_0x56c9a6(0x33c)](_0x2a6fe6=>_0x2a6fe6['type']===_0x6b71a[_0x56c9a6(0x229)][_0x56c9a6(0x2f4)]),_0x3f0ed8[_0x56c9a6(0x419)](0x10))[_0x56c9a6(0x21d)](()=>{this['_refreshCollabCursors']();}));}};_0x4e6b79=_0x348460([_0x55e7c3(0x1,_0x3fd9bb['Inject'](_0x57831b['DocSkeletonManagerService'])),_0x55e7c3(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x2a7630)),_0x55e7c3(0x3,_0x3fd9bb[_0x367baf(0x220)]),_0x55e7c3(0x4,_0x3fd9bb['Inject'](_0x3fd9bb[_0x367baf(0x287)]))],_0x4e6b79);const _0x2a385a=0x1,_0x556aef=1.5;class _0x34601e extends _0x6b71a[_0x367baf(0x1c4)]{constructor(_0x464e18,_0x2431b8){const _0x4a66a9=_0x367baf;super(_0x464e18,_0x2431b8),_0xec7e10(this,'_color'),_0xec7e10(this,'_hovered',!0x1),_0xec7e10(this,_0x4a66a9(0x2eb)),_0xec7e10(this,_0x4a66a9(0x24a),''),_0xec7e10(this,_0x4a66a9(0x2f1),_0x4a66a9(0x367)),_0xec7e10(this,_0x4a66a9(0x416)),(_0x2431b8&&this[_0x4a66a9(0x39d)](_0x2431b8),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x4a66a9(0x39d)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x146dcb){const _0x3bcf4f=_0x367baf;var _0x27ef76,_0x1d0ef0,_0x4c21f5,_0x1a0169,_0x1a32bf,_0x408290;this['_color']=(_0x27ef76=_0x146dcb[_0x3bcf4f(0x239)])!=null?_0x27ef76:this[_0x3bcf4f(0x21f)],this[_0x3bcf4f(0x269)]=(_0x1d0ef0=_0x146dcb['hovered'])!=null?_0x1d0ef0:this[_0x3bcf4f(0x269)],this['_range']=(_0x4c21f5=_0x146dcb[_0x3bcf4f(0x34d)])!=null?_0x4c21f5:this[_0x3bcf4f(0x2eb)],this[_0x3bcf4f(0x24a)]=(_0x1a0169=_0x146dcb[_0x3bcf4f(0x1b7)])!=null?_0x1a0169:this['_name'],this[_0x3bcf4f(0x2f1)]=(_0x1a32bf=_0x146dcb[_0x3bcf4f(0x36a)])!=null?_0x1a32bf:this[_0x3bcf4f(0x2f1)],this[_0x3bcf4f(0x416)]=(_0x408290=_0x146dcb['backgroundColor'])!=null?_0x408290:this[_0x3bcf4f(0x416)],this[_0x3bcf4f(0x2dc)]({'width':_0x146dcb[_0x3bcf4f(0x1a6)],'height':_0x146dcb[_0x3bcf4f(0x275)]});}[_0x367baf(0x1be)](_0x262991){const _0xf8e4be=_0x367baf,{row:_0x441332,column:_0x574fd0}=_0x262991;if(_0x441332>=this[_0xf8e4be(0x2eb)][_0xf8e4be(0x32a)]&&_0x441332<=this[_0xf8e4be(0x2eb)][_0xf8e4be(0x1d7)]&&_0x574fd0>=this[_0xf8e4be(0x2eb)][_0xf8e4be(0x203)]&&_0x574fd0<=this[_0xf8e4be(0x2eb)][_0xf8e4be(0x2cd)]){this[_0xf8e4be(0x39d)]({'hovered':!0x0});return;}this[_0xf8e4be(0x39d)]({'hovered':!0x1});}[_0x367baf(0x274)](_0x35370e){return!0x1;}['_draw'](_0x5baf05){const _0xb48734=_0x367baf;_0x6b71a['Rect'][_0xb48734(0x2f0)](_0x5baf05,{'width':this[_0xb48734(0x1a6)],'height':this['height'],'strokeWidth':_0x556aef,'stroke':this[_0xb48734(0x21f)],'evented':!0x1,'fill':this[_0xb48734(0x416)]}),this['_hovered']&&(_0x5baf05[_0xb48734(0x3fa)](),_0x5baf05[_0xb48734(0x3d6)](0x1,0x0,0x0,0x1,this[_0xb48734(0x1a6)],this['_labelPosition']===_0xb48734(0x3b3)?0x0:-_0x584ec4),_0x461601[_0xb48734(0x2f0)](_0x5baf05,{'text':this[_0xb48734(0x24a)],'color':this[_0xb48734(0x21f)]}),_0x5baf05['restore']());}}var _0x1b9de8=Object[_0x367baf(0x3d2)],_0x518cde=(_0x684f9,_0x2840c9,_0x4d0d0a,_0x37446a)=>{const _0x27c5ee=_0x367baf;for(var _0x5ed5d7=_0x37446a>0x1?void 0x0:_0x37446a?_0x1b9de8(_0x2840c9,_0x4d0d0a):_0x2840c9,_0x3868c8=_0x684f9[_0x27c5ee(0x1b5)]-0x1,_0x22b720;_0x3868c8>=0x0;_0x3868c8--)(_0x22b720=_0x684f9[_0x3868c8])&&(_0x5ed5d7=_0x22b720(_0x5ed5d7)||_0x5ed5d7);return _0x5ed5d7;},_0x2d65cb=(_0x349bab,_0x1c4acd)=>(_0x1afe11,_0x4553fe)=>_0x1c4acd(_0x1afe11,_0x4553fe,_0x349bab);const _0x398364=0x1389;let _0x1f8b46=class extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(_0x1b543d,_0x1e0d98,_0x556ae4,_0x28c699){const _0x5c0c12=_0x367baf;super(),_0xec7e10(this,_0x5c0c12(0x265),new Set()),_0xec7e10(this,_0x5c0c12(0x312),null),(this[_0x5c0c12(0x1b8)]=_0x1b543d,this[_0x5c0c12(0x300)]=_0x1e0d98,this[_0x5c0c12(0x272)]=_0x556ae4,this[_0x5c0c12(0x1a3)]=_0x28c699,this['_init']());}[_0x367baf(0x369)](){const _0x4a5c24=_0x367baf;this[_0x4a5c24(0x300)]['currentSkeleton$'][_0x4a5c24(0x2ed)](_0x3f0ed8[_0x4a5c24(0x1ef)](this[_0x4a5c24(0x196)]),_0x3f0ed8[_0x4a5c24(0x353)](_0x21ffa5=>{const _0x469721=_0x4a5c24;if(_0x21ffa5){const _0x1f41a1=_0x21ffa5['sheetId'];return _0x6f0731[_0x469721(0x330)](this['_collabCursorController'][_0x469721(0x399)](this[_0x469721(0x1b8)][_0x469721(0x1b6)]),this[_0x469721(0x1a3)][_0x469721(0x1c0)])['pipe'](_0x3f0ed8[_0x469721(0x335)](([_0x9f7cfd,_0x2fc4c5])=>{const _0x299ce1=_0x469721,_0xf5afff=new Map();return _0x9f7cfd[_0x299ce1(0x2b4)]((_0x4cac69,_0xef273f)=>{const _0x3d6eaa=_0x299ce1;if(_0x4cac69[_0x3d6eaa(0x268)]===_0x1f41a1){const _0x4831dd={..._0x4cac69};_0x4831dd[_0x3d6eaa(0x239)]=this[_0x3d6eaa(0x1a3)][_0x3d6eaa(0x316)](_0x4cac69['color']),_0xf5afff[_0x3d6eaa(0x28c)](_0xef273f,_0x4831dd);}}),{'skeleton':_0x21ffa5,'cursors':_0xf5afff};}));}return _0x6f0731['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a5c24(0x21d)](({skeleton:_0x5767b7,cursors:_0x448df6})=>{const _0x19bb9e=_0x4a5c24;this['_removeCollabCursors'](),_0x5767b7&&this[_0x19bb9e(0x1da)](_0x5767b7,_0x448df6);}),this['_sheetSkeletonManagerService'][_0x4a5c24(0x177)][_0x4a5c24(0x21d)](_0x2bfc27=>{const _0x412250=_0x4a5c24;if(_0x2bfc27==null)return;const {skeleton:_0x17a917}=_0x2bfc27,{scene:_0x721211}=this[_0x412250(0x1b8)];_0x721211[_0x412250(0x227)][_0x412250(0x41b)](_0x3fd9bb['debounce'](_0x3952a3=>{const _0x1aebbb=_0x412250;var _0x3beeab,_0x42c87b;const {offsetX:_0x23465d,offsetY:_0x318537}=_0x3952a3,{x:_0x2b6571,y:_0x36be8d}=_0x721211[_0x1aebbb(0x3e5)](_0x6b71a[_0x1aebbb(0x34c)][_0x1aebbb(0x254)]([_0x23465d,_0x318537])),{scaleX:_0x5e889b,scaleY:_0x27f64d}=_0x721211[_0x1aebbb(0x377)](),_0x246f29=_0x721211[_0x1aebbb(0x28e)](_0x6b71a[_0x1aebbb(0x36e)][_0x1aebbb(0x375)]),_0x2131bb=_0x721211[_0x1aebbb(0x36f)](_0x6b71a[_0x1aebbb(0x34c)][_0x1aebbb(0x254)]([_0x2b6571,_0x36be8d]),_0x246f29),_0x5b5c03=_0x17a917[_0x1aebbb(0x3b5)](_0x23465d,_0x318537,_0x5e889b,_0x27f64d,_0x2131bb);((_0x3beeab=this[_0x1aebbb(0x312)])==null?void 0x0:_0x3beeab[_0x1aebbb(0x298)])===_0x5b5c03[_0x1aebbb(0x298)]&&((_0x42c87b=this[_0x1aebbb(0x312)])==null?void 0x0:_0x42c87b[_0x1aebbb(0x432)])===_0x5b5c03['row']||this['_cursors']['forEach'](_0x4b13d9=>{_0x4b13d9['onMouseMove'](_0x5b5c03);});},0x64));});}[_0x367baf(0x1da)](_0x58d4b0,_0x34d8c5){const _0x5736ca=_0x367baf;var _0x1342a0;const _0x3db372=(_0x1342a0=this[_0x5736ca(0x300)]['getCurrent']())==null?void 0x0:_0x1342a0[_0x5736ca(0x286)];if(!_0x3db372)return;const _0x2850c1=this[_0x5736ca(0x168)]();if(!_0x2850c1)return;this[_0x5736ca(0x265)]['forEach'](_0x1ea594=>{const _0x1e04e6=_0x5736ca;_0x1ea594[_0x1e04e6(0x2c7)]();});const {scene:_0x29992a}=_0x2850c1,_0x12ad6a=_0xfa0ed8(Array[_0x5736ca(0x194)](_0x34d8c5[_0x5736ca(0x37f)]()))[_0x5736ca(0x335)](_0x485303=>{const _0x4a9c52=_0x5736ca,{color:_0x31124b,range:_0x2587dc,name:_0x32232f,selection:_0x3c993f,sheetID:_0x3ca9c2}=_0x485303,{startColumn:_0x1748d9,startRow:_0x56e308,endColumn:_0x5c985a,endRow:_0x1386d6}=_0x2587dc,_0x4d79b9=_0x3e7cf5[_0x4a9c52(0x19b)](_0x56e308,_0x1748d9,_0x29992a,_0x3db372),_0x121e91=_0x3e7cf5[_0x4a9c52(0x19b)](_0x1386d6,_0x5c985a,_0x29992a,_0x3db372),{columnHeaderHeightAndMarginTop:_0x2d12a1}=_0x3db372,{startX:_0x4311ab,startY:_0x362f9e}=_0x4d79b9,{endX:_0x5d5cf1,endY:_0x1927d8}=_0x121e91,_0x216523=_0x5d5cf1-_0x4311ab,_0xdf1920=_0x1927d8-_0x362f9e,_0x3a313d={'labelPosition':_0x362f9e-_0x2d12a1>=_0x584ec4?_0x4a9c52(0x367):_0x4a9c52(0x3b3),'sheetID':_0x3ca9c2,'range':_0x2587dc,'color':_0x31124b,'name':_0x32232f,'selection':_0x3c993f,'left':_0x4311ab,'top':_0x362f9e,'width':_0x216523,'height':_0xdf1920,'evented':!0x1,'zIndex':_0x398364};return new _0x34601e(_0x32232f,_0x3a313d);});_0x29992a['addObjects'](_0x12ad6a,_0x2a385a),this['_cursors']=new Set(_0x12ad6a);}[_0x367baf(0x282)](){const _0x1309e2=_0x367baf;var _0x218756;(_0x218756=this[_0x1309e2(0x265)])==null||_0x218756[_0x1309e2(0x2b4)](_0x366c77=>_0x366c77['dispose']());}[_0x367baf(0x168)](){const _0xf4dcb0=_0x367baf;return _0x3e7cf5[_0xf4dcb0(0x1f5)](this[_0xf4dcb0(0x1b8)]['unit'],this[_0xf4dcb0(0x1b8)]);}};_0x1f8b46=_0x518cde([_0x2d65cb(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x3e7cf5[_0x367baf(0x422)])),_0x2d65cb(0x2,_0x3fd9bb['Inject'](_0x2a7630)),_0x2d65cb(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb['ThemeService']))],_0x1f8b46);function _0xfa0ed8(_0x5982ac){const _0x4a3cf3=_0x367baf,_0x6a31ca=new Map();return _0x5982ac[_0x4a3cf3(0x2b4)](_0x4fca81=>{const _0x50adfa=_0x4a3cf3;if(_0x6a31ca[_0x50adfa(0x3e1)](_0x4fca81[_0x50adfa(0x1c5)])){const _0x546f87=_0x6a31ca['get'](_0x4fca81['selection']);_0x546f87[_0x50adfa(0x1b7)]+=',\x20'+_0x4fca81[_0x50adfa(0x1b7)];}else _0x6a31ca['set'](_0x4fca81[_0x50adfa(0x1c5)],_0x4fca81);}),Array[_0x4a3cf3(0x194)](_0x6a31ca[_0x4a3cf3(0x37f)]());}var _0x5f1fc5=Object[_0x367baf(0x3d2)],_0x527755=(_0x11b9a5,_0x195025,_0x23ccda,_0x390daa)=>{const _0x55e38c=_0x367baf;for(var _0xe65ef5=_0x390daa>0x1?void 0x0:_0x390daa?_0x5f1fc5(_0x195025,_0x23ccda):_0x195025,_0x4e92ab=_0x11b9a5[_0x55e38c(0x1b5)]-0x1,_0x536302;_0x4e92ab>=0x0;_0x4e92ab--)(_0x536302=_0x11b9a5[_0x4e92ab])&&(_0xe65ef5=_0x536302(_0xe65ef5)||_0xe65ef5);return _0xe65ef5;},_0x22b545=(_0x93a2ad,_0xfbf3cf)=>(_0x12f987,_0x4948b9)=>_0xfbf3cf(_0x12f987,_0x4948b9,_0x93a2ad);let _0x37ee5d=class extends _0x3fd9bb['Disposable']{constructor(_0x5955e9,_0x287fed,_0x1d422a,_0x36cba4,_0x5c0064,_0x3f16bf){const _0x17dc0b=_0x367baf;super(),this[_0x17dc0b(0x175)]=_0x5955e9,this['_localCacheService']=_0x287fed,this['_collaborationUIEventService']=_0x1d422a,this[_0x17dc0b(0x318)]=_0x36cba4,this[_0x17dc0b(0x3eb)]=_0x5c0064,this['_localeService']=_0x3f16bf,this['_setupBeforeClosingHandler'](),this[_0x17dc0b(0x359)]();}['_setupBeforeClosingHandler'](){const _0x4a6bb9=_0x367baf;this[_0x4a6bb9(0x374)](this[_0x4a6bb9(0x175)][_0x4a6bb9(0x258)](()=>{const _0x1dff00=_0x4a6bb9;if(this['_localCacheService'][_0x1dff00(0x2da)][_0x1dff00(0x30e)])return this[_0x1dff00(0x411)]['t'](_0x1dff00(0x23a));}));}['_initEvent'](){const _0x53cb4e=_0x367baf;this[_0x53cb4e(0x374)](this[_0x53cb4e(0x1ea)][_0x53cb4e(0x347)]['subscribe'](_0x681435=>{const _0x4efffa=_0x53cb4e;_0x681435['id']===_0x41a90e[_0x4efffa(0x167)][_0x4efffa(0x3b9)]&&this['_messageService'][_0x4efffa(0x37e)]({'type':_0x470fa0[_0x4efffa(0x273)]['Warning'],'content':this[_0x4efffa(0x411)]['t'](_0x4efffa(0x21c))}),_0x681435['id']===_0x41a90e[_0x4efffa(0x167)][_0x4efffa(0x1f7)]&&this[_0x4efffa(0x318)][_0x4efffa(0x37e)]({'type':_0x470fa0['MessageType'][_0x4efffa(0x2bc)],'content':this['_localeService']['t'](_0x4efffa(0x18c))}),_0x681435['id']===_0x41a90e[_0x4efffa(0x167)][_0x4efffa(0x22f)]&&this['_notificationService'][_0x4efffa(0x37e)]({'title':this[_0x4efffa(0x411)]['t'](_0x4efffa(0x2e1)),'content':this[_0x4efffa(0x411)]['t'](_0x4efffa(0x39e)),'type':_0x4efffa(0x15b),'duration':0x0}),_0x681435['id']===_0x41a90e[_0x4efffa(0x167)][_0x4efffa(0x407)]&&this[_0x4efffa(0x318)][_0x4efffa(0x37e)]({'type':_0x470fa0['MessageType'][_0x4efffa(0x17c)],'content':this[_0x4efffa(0x411)]['t']('collaboration.closeRoom')+'('+_0x681435['data']+')'}),_0x681435['id']===_0x41a90e[_0x4efffa(0x167)][_0x4efffa(0x19c)]&&this['_messageService'][_0x4efffa(0x37e)]({'type':_0x470fa0[_0x4efffa(0x273)][_0x4efffa(0x2bc)],'content':this[_0x4efffa(0x411)]['t'](_0x681435['data']||'')}),_0x681435['id']===_0x41a90e['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x4efffa(0x37e)]({'type':_0x470fa0[_0x4efffa(0x273)][_0x4efffa(0x2bc)],'content':this[_0x4efffa(0x411)]['t'](_0x4efffa(0x262))}),_0x681435['id']===_0x41a90e[_0x4efffa(0x167)]['SOCKET_FAILED']&&this[_0x4efffa(0x318)][_0x4efffa(0x37e)]({'type':_0x470fa0[_0x4efffa(0x273)][_0x4efffa(0x17c)],'content':this['_localeService']['t'](_0x4efffa(0x1e3))}),_0x681435['id']===_0x41a90e['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4efffa(0x318)]['show']({'type':_0x470fa0['MessageType']['Error'],'content':this['_localeService']['t'](_0x4efffa(0x193))});}));}};_0x37ee5d=_0x527755([_0x22b545(0x0,_0x1fce11[_0x367baf(0x1d4)]),_0x22b545(0x1,_0x41a90e[_0x367baf(0x31f)]),_0x22b545(0x2,_0x3fd9bb['Inject'](_0x41a90e[_0x367baf(0x1b2)])),_0x22b545(0x3,_0x1fce11[_0x367baf(0x3bb)]),_0x22b545(0x4,_0x1fce11[_0x367baf(0x1ec)]),_0x22b545(0x5,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x3a1)]))],_0x37ee5d);const _0x1fa5ab='collaboration-client-ui.config',_0x3f3087={};var _0x27b305=Object[_0x367baf(0x3d2)],_0x167d57=(_0x5e1270,_0x1df975,_0x3a140e,_0x2ea549)=>{const _0x2ba30e=_0x367baf;for(var _0x4f6e06=_0x2ea549>0x1?void 0x0:_0x2ea549?_0x27b305(_0x1df975,_0x3a140e):_0x1df975,_0x4706cd=_0x5e1270[_0x2ba30e(0x1b5)]-0x1,_0x42ca8c;_0x4706cd>=0x0;_0x4706cd--)(_0x42ca8c=_0x5e1270[_0x4706cd])&&(_0x4f6e06=_0x42ca8c(_0x4f6e06)||_0x4f6e06);return _0x4f6e06;},_0xea0452=(_0x1f67ee,_0x45487f)=>(_0x6d4c71,_0x2c559d)=>_0x45487f(_0x6d4c71,_0x2c559d,_0x1f67ee);let _0x5a10cf=class{constructor(_0x4b05ef,_0x3aea23){const _0x30ead4=_0x367baf;this[_0x30ead4(0x1f0)]=_0x4b05ef,this[_0x30ead4(0x191)]=_0x3aea23;}[_0x367baf(0x31a)](_0x3ea765){const _0x5c7352=_0x367baf;this[_0x5c7352(0x218)](_0x3ea765),this['_transformPreviousActiveRange'](_0x3ea765);}[_0x367baf(0x3dd)](_0x60103c){const _0x229209=_0x367baf,{unitID:_0xdd57c4}=_0x60103c,_0x45fe6e=this[_0x229209(0x191)][_0x229209(0x431)](_0xdd57c4)[_0x229209(0x3c9)](_0x135541[_0x229209(0x20d)]),{redoCache:_0x2a9fcb}=_0x45fe6e[_0x229209(0x2c8)]();if(_0x2a9fcb[_0x229209(0x1b5)]===0x0)return _0x60103c;let _0x493529=_0x3fd9bb[_0x229209(0x1b4)][_0x229209(0x35c)](_0x60103c[_0x229209(0x386)][0x0]);for(let _0x54882e=0x0;_0x54882e<_0x2a9fcb[_0x229209(0x1b5)];_0x54882e++){const _0x41a8c8={'id':_0x229209(0x171),'params':{..._0x2a9fcb[_0x54882e]}},_0x40a63f=this[_0x229209(0x1f0)]['transformMutation'](_0x493529,_0x41a8c8,!0x1);if(_0x4a209a[_0x229209(0x200)](_0x40a63f))throw _0x40a63f['error'];_0x493529=_0x40a63f[_0x229209(0x417)];}return{..._0x3fd9bb[_0x229209(0x1b4)]['deepClone'](_0x60103c),'mutations':[_0x493529]};}[_0x367baf(0x218)](_0x5ee706){const _0x3c9b08=_0x367baf,{unitID:_0x3d5514}=_0x5ee706,_0x245d1c=this[_0x3c9b08(0x191)]['getRenderById'](_0x3d5514)[_0x3c9b08(0x3c9)](_0x135541['DocIMEInputManagerService']),{undoCache:_0x230d1e,redoCache:_0x3ecd7f}=_0x245d1c[_0x3c9b08(0x2c8)]();if(_0x230d1e[_0x3c9b08(0x1b5)]===0x0||_0x3ecd7f['length']===0x0)return;const _0x4de819=[],_0x70990=[];let _0x341ba8=_0x3fd9bb['Tools'][_0x3c9b08(0x35c)](_0x5ee706[_0x3c9b08(0x386)][0x0]),_0x3d84ce=_0x3fd9bb['Tools'][_0x3c9b08(0x35c)](_0x5ee706[_0x3c9b08(0x386)][0x0]);for(let _0x44a6b4=_0x230d1e[_0x3c9b08(0x1b5)]-0x1;_0x44a6b4>=0x0;_0x44a6b4--){const _0x1fb906={'id':_0x3c9b08(0x171),'params':{..._0x230d1e[_0x44a6b4]}},_0x5b9e35={'id':'doc.mutation.rich-text-editing','params':{..._0x3ecd7f[_0x44a6b4]}},_0x7bbb74=this[_0x3c9b08(0x1f0)][_0x3c9b08(0x34a)](_0x341ba8,_0x1fb906,!0x1),_0x1baa15=this[_0x3c9b08(0x1f0)][_0x3c9b08(0x34a)](_0x3d84ce,_0x5b9e35,!0x1);if(_0x4a209a[_0x3c9b08(0x200)](_0x7bbb74))throw _0x7bbb74[_0x3c9b08(0x15b)];if(_0x4a209a[_0x3c9b08(0x200)](_0x1baa15))throw _0x1baa15[_0x3c9b08(0x15b)];_0x4de819[_0x3c9b08(0x271)](_0x7bbb74[_0x3c9b08(0x1eb)][_0x3c9b08(0x370)]),_0x70990[_0x3c9b08(0x271)](_0x1baa15[_0x3c9b08(0x1eb)]['params']),_0x341ba8=_0x7bbb74[_0x3c9b08(0x417)],_0x3d84ce=_0x1baa15[_0x3c9b08(0x417)];}_0x245d1c['setUndoRedoMutationParamsCache']({'undoCache':_0x4de819,'redoCache':_0x70990});}['_transformPreviousActiveRange'](_0xb262c3){const _0x3295d9=_0x367baf,{unitID:_0x7cb1f4}=_0xb262c3,_0x4450d0=this[_0x3295d9(0x191)][_0x3295d9(0x431)](_0x7cb1f4)[_0x3295d9(0x3c9)](_0x135541[_0x3295d9(0x20d)]),_0x54d7bb=_0x4450d0[_0x3295d9(0x3cb)]();if(_0x54d7bb==null)return;const _0x29c44d=[{'id':_0x3295d9(0x171),'params':{'unitId':_0xb262c3[_0x3295d9(0x267)],'actions':null,'textRanges':[_0x54d7bb]}}],_0x2dde1a=this[_0x3295d9(0x1f0)]['transformMutationsWithChangeset'](_0xb262c3,_0x29c44d);if(!_0x4a209a[_0x3295d9(0x180)](_0x2dde1a))throw _0x2dde1a[_0x3295d9(0x15b)];const _0x3c829d=_0x2dde1a['m2Prime'][0x0][_0x3295d9(0x370)][_0x3295d9(0x425)];Array[_0x3295d9(0x29a)](_0x3c829d)&&_0x3c829d[_0x3295d9(0x1b5)]&&_0x4450d0[_0x3295d9(0x33a)](_0x3c829d[0x0]);}};_0x5a10cf=_0x167d57([_0xea0452(0x0,_0x4a209a[_0x367baf(0x172)]),_0xea0452(0x1,_0x6b71a[_0x367baf(0x24c)])],_0x5a10cf);var _0x5a9443=Object[_0x367baf(0x3d2)],_0x15cedb=(_0x1e9ee9,_0x2130c4,_0x49ed92,_0x54c2cc)=>{const _0xb9e533=_0x367baf;for(var _0x565749=_0x54c2cc>0x1?void 0x0:_0x54c2cc?_0x5a9443(_0x2130c4,_0x49ed92):_0x2130c4,_0x4b8388=_0x1e9ee9[_0xb9e533(0x1b5)]-0x1,_0x3a4e8f;_0x4b8388>=0x0;_0x4b8388--)(_0x3a4e8f=_0x1e9ee9[_0x4b8388])&&(_0x565749=_0x3a4e8f(_0x565749)||_0x565749);return _0x565749;},_0x2a06b8=(_0x4e1846,_0x2b44a2)=>(_0x23ef61,_0x545797)=>_0x2b44a2(_0x23ef61,_0x545797,_0x4e1846);let _0x418798=class{constructor(_0x27c141,_0x418a35,_0x21136f){const _0x24e23b=_0x367baf;this[_0x24e23b(0x40a)]=_0x27c141,this['_transformService']=_0x418a35,this[_0x24e23b(0x2a9)]=_0x21136f;}[_0x367baf(0x352)](_0x26c137){const _0xaf60f9=_0x367baf;this[_0xaf60f9(0x197)](_0x26c137);}['transformRemoteChangeset'](_0x4be99d){const _0x54f9de=_0x367baf,{unitID:_0x587890}=_0x4be99d,{collaboration:_0x163b96}=this[_0x54f9de(0x2a9)][_0x54f9de(0x28a)](_0x587890);if(_0x163b96['length']===0x0)return _0x4be99d;let _0x3e7154=_0x3fd9bb[_0x54f9de(0x1b4)][_0x54f9de(0x35c)](_0x4be99d[_0x54f9de(0x386)][0x0]);for(let _0x3f2afa=0x0;_0x3f2afa<_0x163b96[_0x54f9de(0x1b5)];_0x3f2afa++){const _0x252302={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x163b96[_0x3f2afa]['unitId'],..._0x163b96[_0x3f2afa][_0x54f9de(0x1f2)]}},_0x1f0cc5=this[_0x54f9de(0x1f0)][_0x54f9de(0x34a)](_0x3e7154,_0x252302,!0x1);if(_0x4a209a[_0x54f9de(0x200)](_0x1f0cc5))throw _0x1f0cc5[_0x54f9de(0x15b)];_0x3e7154=_0x1f0cc5[_0x54f9de(0x417)];}return{..._0x3fd9bb[_0x54f9de(0x1b4)]['deepClone'](_0x4be99d),'mutations':[_0x3e7154]};}[_0x367baf(0x197)](_0x51877){const _0x3293c9=_0x367baf,{unitID:_0x56bc01}=_0x51877,{history:_0x4995fb,collaboration:_0x118c21}=this[_0x3293c9(0x2a9)]['getStateCache'](_0x56bc01);if(_0x4995fb[_0x3293c9(0x1b5)]===0x0&&_0x118c21[_0x3293c9(0x1b5)]===0x0)return;const _0x51776b=[],_0x25ce85=[];let _0x930719=_0x3fd9bb['Tools'][_0x3293c9(0x35c)](_0x51877[_0x3293c9(0x386)][0x0]),_0x2a6152=_0x3fd9bb[_0x3293c9(0x1b4)][_0x3293c9(0x35c)](_0x51877['mutations'][0x0]);for(let _0x58afe1=_0x4995fb['length']-0x1;_0x58afe1>=0x0;_0x58afe1--){const _0x4cc137={'id':_0x3293c9(0x171),'params':{'unitId':_0x4995fb[_0x58afe1][_0x3293c9(0x1b6)],..._0x4995fb[_0x58afe1][_0x3293c9(0x2d8)]}},_0x1817e3={'id':_0x3293c9(0x171),'params':{'unitId':_0x4995fb[_0x58afe1][_0x3293c9(0x1b6)],..._0x4995fb[_0x58afe1][_0x3293c9(0x1f2)]}},_0x327ad5=this[_0x3293c9(0x1f0)][_0x3293c9(0x34a)](_0x930719,_0x4cc137,!0x1),_0x390101=this[_0x3293c9(0x1f0)][_0x3293c9(0x34a)](_0x2a6152,_0x1817e3,!0x1);if(_0x4a209a['isTransformMutationFailure'](_0x327ad5))throw _0x327ad5['error'];if(_0x4a209a[_0x3293c9(0x200)](_0x390101))throw _0x390101[_0x3293c9(0x15b)];_0x51776b[_0x3293c9(0x271)]({..._0x4995fb[_0x58afe1],'undoState':_0x327ad5[_0x3293c9(0x1eb)][_0x3293c9(0x370)],'redoState':_0x390101[_0x3293c9(0x1eb)]['params']}),_0x930719=_0x327ad5[_0x3293c9(0x417)],_0x2a6152=_0x390101['m1Prime'];}_0x930719=_0x3fd9bb[_0x3293c9(0x1b4)][_0x3293c9(0x35c)](_0x51877[_0x3293c9(0x386)][0x0]),_0x2a6152=_0x3fd9bb[_0x3293c9(0x1b4)][_0x3293c9(0x35c)](_0x51877[_0x3293c9(0x386)][0x0]);for(let _0x9fe352=_0x118c21[_0x3293c9(0x1b5)]-0x1;_0x9fe352>=0x0;_0x9fe352--){const _0x5290c0={'id':_0x3293c9(0x171),'params':{'unitId':_0x118c21[_0x9fe352]['unitId'],..._0x118c21[_0x9fe352][_0x3293c9(0x2d8)]}},_0x1d4d9c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x118c21[_0x9fe352][_0x3293c9(0x1b6)],..._0x118c21[_0x9fe352][_0x3293c9(0x1f2)]}},_0x567863=this[_0x3293c9(0x1f0)][_0x3293c9(0x34a)](_0x930719,_0x5290c0,!0x1),_0x1f6798=this[_0x3293c9(0x1f0)][_0x3293c9(0x34a)](_0x2a6152,_0x1d4d9c,!0x1);if(_0x4a209a['isTransformMutationFailure'](_0x567863))throw _0x567863['error'];if(_0x4a209a[_0x3293c9(0x200)](_0x1f6798))throw _0x1f6798[_0x3293c9(0x15b)];_0x25ce85[_0x3293c9(0x271)]({..._0x118c21[_0x9fe352],'undoState':_0x567863[_0x3293c9(0x1eb)]['params'],'redoState':_0x1f6798[_0x3293c9(0x1eb)][_0x3293c9(0x370)]}),_0x930719=_0x567863[_0x3293c9(0x417)],_0x2a6152=_0x1f6798[_0x3293c9(0x417)];}this[_0x3293c9(0x2a9)][_0x3293c9(0x3de)](_0x56bc01,{'history':_0x51776b,'collaboration':_0x25ce85});}};_0x418798=_0x15cedb([_0x2a06b8(0x0,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb['Injector'])),_0x2a06b8(0x1,_0x4a209a[_0x367baf(0x172)]),_0x2a06b8(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x135541[_0x367baf(0x289)]))],_0x418798);var _0x5d5306=Object[_0x367baf(0x3d2)],_0x8129c8=(_0x296232,_0x21e74d,_0xb480d,_0x27e847)=>{const _0xe37f3d=_0x367baf;for(var _0x350ff3=_0x27e847>0x1?void 0x0:_0x27e847?_0x5d5306(_0x21e74d,_0xb480d):_0x21e74d,_0x3af914=_0x296232[_0xe37f3d(0x1b5)]-0x1,_0x4fd49b;_0x3af914>=0x0;_0x3af914--)(_0x4fd49b=_0x296232[_0x3af914])&&(_0x350ff3=_0x4fd49b(_0x350ff3)||_0x350ff3);return _0x350ff3;},_0xb5a5f5=(_0x10ac2e,_0x24e530)=>(_0x42634c,_0x442537)=>_0x24e530(_0x42634c,_0x442537,_0x10ac2e);let _0x553ec5=class{constructor(_0x54f77d,_0x2f6046){const _0x5d8b41=_0x367baf;this[_0x5d8b41(0x40a)]=_0x54f77d,this[_0x5d8b41(0x1f0)]=_0x2f6046;}['transformSelections'](_0x3740f6){const _0x39dd74=_0x367baf;var _0x1eb864;const _0x359c80=this[_0x39dd74(0x40a)][_0x39dd74(0x1fe)](_0x57831b[_0x39dd74(0x3cc)]),_0x301ab1=(_0x1eb864=_0x359c80[_0x39dd74(0x371)]())!=null?_0x1eb864:[];if(_0x301ab1[_0x39dd74(0x1b5)]===0x0)return;const _0x3ba14e=_0x3740f6[_0x39dd74(0x267)],_0x221d66=[{'id':_0x39dd74(0x171),'params':{'unitId':_0x3ba14e,'actions':null,'textRanges':_0x301ab1}}],_0x424c21=this['_transformService']['transformMutationsWithChangeset'](_0x3740f6,_0x221d66);if(!_0x4a209a[_0x39dd74(0x180)](_0x424c21))throw _0x424c21[_0x39dd74(0x15b)];const _0x11b0d8=_0x424c21[_0x39dd74(0x1eb)][0x0][_0x39dd74(0x370)][_0x39dd74(0x425)];Array[_0x39dd74(0x29a)](_0x11b0d8)&&_0x11b0d8[_0x39dd74(0x1b5)]&&_0x359c80[_0x39dd74(0x26d)](_0x11b0d8,{'unitId':_0x3ba14e,'subUnitId':_0x3ba14e},!0x1);}};_0x553ec5=_0x8129c8([_0xb5a5f5(0x0,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0xb5a5f5(0x1,_0x4a209a[_0x367baf(0x172)])],_0x553ec5);var _0x14f7d1=Object['getOwnPropertyDescriptor'],_0x443e39=(_0x47667b,_0x23eedd,_0x33f2ce,_0x35c34d)=>{const _0x358471=_0x367baf;for(var _0x515a7b=_0x35c34d>0x1?void 0x0:_0x35c34d?_0x14f7d1(_0x23eedd,_0x33f2ce):_0x23eedd,_0x31e0a0=_0x47667b[_0x358471(0x1b5)]-0x1,_0x356704;_0x31e0a0>=0x0;_0x31e0a0--)(_0x356704=_0x47667b[_0x31e0a0])&&(_0x515a7b=_0x356704(_0x515a7b)||_0x515a7b);return _0x515a7b;},_0x402700=(_0x37f2e7,_0x55b66f)=>(_0x659a93,_0x3e09e9)=>_0x55b66f(_0x659a93,_0x3e09e9,_0x37f2e7);let _0x22b6c2=class extends _0x3fd9bb[_0x367baf(0x264)]{constructor(_0x4bacc2,_0xdfe493,_0x1b2970,_0x85ae,_0x120847,_0x14f3b8,_0x36931e,_0x5a9418){const _0x509dd4=_0x367baf;super(),_0xec7e10(this,_0x509dd4(0x41f),new _0x6f0731['BehaviorSubject'](_0x41a90e['CollaborationStatus'][_0x509dd4(0x25c)])),(this[_0x509dd4(0x2a9)]=_0x4bacc2,this[_0x509dd4(0x42e)]=_0xdfe493,this[_0x509dd4(0x3ce)]=_0x1b2970,this[_0x509dd4(0x30a)]=_0x85ae,this['_docTransformSelectionsService']=_0x120847,this[_0x509dd4(0x38e)]=_0x14f3b8,this[_0x509dd4(0x318)]=_0x36931e,this[_0x509dd4(0x411)]=_0x5a9418,this['_initEntityListener']());}[_0x367baf(0x170)](){const _0x190a1b=_0x367baf;this[_0x190a1b(0x374)](this[_0x190a1b(0x42e)][_0x190a1b(0x187)][_0x190a1b(0x21d)](_0x27b89a=>{const _0x419fb6=_0x190a1b,_0x222f54=this[_0x419fb6(0x2a9)][_0x419fb6(0x24e)][_0x419fb6(0x21d)](_0x13e3c9=>{const _0x2134a0=_0x419fb6;if(_0x13e3c9==null)return;const {unitId:_0xb8b812,redoState:_0xdcbae0,commandId:_0x50bffa}=_0x13e3c9;if(_0xb8b812!==_0x27b89a[_0x2134a0(0x267)])return;const _0x21e64a={'id':_0x50bffa,'type':_0x3fd9bb[_0x2134a0(0x2be)][_0x2134a0(0x421)],'params':{'unitId':_0xb8b812,'actions':_0xdcbae0[_0x2134a0(0x2ff)],'textRanges':null}};_0x27b89a[_0x2134a0(0x192)](_0x21e64a);});if(_0x27b89a['disposeWithMe'](_0x222f54),_0x27b89a instanceof _0x41a90e[_0x419fb6(0x1cd)]){const _0x110b8c={'onTransformIME':_0x4dff13=>this[_0x419fb6(0x3ce)][_0x419fb6(0x31a)](_0x4dff13),'onTransformState':_0x2c8025=>this[_0x419fb6(0x30a)][_0x419fb6(0x352)](_0x2c8025),'onTransformSelections':_0x17649f=>this[_0x419fb6(0x414)][_0x419fb6(0x2b1)](_0x17649f),'onSyncEditingCollabCursor':_0x20cda5=>this[_0x419fb6(0x38e)][_0x419fb6(0x3af)](_0x20cda5),'onTransformRemoteChangesetByIMECache':_0x72d89e=>this[_0x419fb6(0x3ce)][_0x419fb6(0x3dd)](_0x72d89e),'onTransformRemoteChangesetByStateCache':_0x1ad263=>this[_0x419fb6(0x30a)][_0x419fb6(0x3dd)](_0x1ad263)};_0x27b89a['addHandlerCallback'](_0x110b8c);}}));}};_0x22b6c2=_0x443e39([_0x402700(0x0,_0x3fd9bb[_0x367baf(0x415)](_0x135541[_0x367baf(0x289)])),_0x402700(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x41a90e[_0x367baf(0x3ea)])),_0x402700(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x5a10cf)),_0x402700(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x418798)),_0x402700(0x4,_0x3fd9bb['Inject'](_0x553ec5)),_0x402700(0x5,_0x3fd9bb[_0x367baf(0x415)](_0x213664)),_0x402700(0x6,_0x1fce11[_0x367baf(0x3bb)]),_0x402700(0x7,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x3a1)]))],_0x22b6c2);var _0x49f8e8=(_0x4e5a8a=>(_0x4e5a8a[_0x4e5a8a[_0x367baf(0x33f)]=0x0]='UNDEFINED',_0x4e5a8a[_0x4e5a8a['OK']=0x1]='OK',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x232)]=0x2]='INTERNAL_ERROR',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x22f)]=0x3]=_0x367baf(0x22f),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2bd)]=0x4]=_0x367baf(0x2bd),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3d7)]=0x5]=_0x367baf(0x3d7),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3ac)]=0x6]=_0x367baf(0x3ac),_0x4e5a8a[_0x4e5a8a['INVALID_ARGUMENT']=0x7]=_0x367baf(0x325),_0x4e5a8a[_0x4e5a8a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2ef)]=0x9]=_0x367baf(0x2ef),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2fd)]=0xa]=_0x367baf(0x2fd),_0x4e5a8a[_0x4e5a8a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x367baf(0x261),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3f4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4e5a8a[_0x4e5a8a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x367baf(0x3a7),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x296)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4e5a8a[_0x4e5a8a['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x367baf(0x1c6),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x228)]=0x10]=_0x367baf(0x228),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3df)]=0x64]=_0x367baf(0x3df),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x166)]=0x65]=_0x367baf(0x166),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x186)]=0xc9]=_0x367baf(0x186),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2d2)]=0xca]=_0x367baf(0x2d2),_0x4e5a8a[_0x4e5a8a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x367baf(0x1fb),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x307)]=0x1771]=_0x367baf(0x307),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x245)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3ae)]=0x1773]=_0x367baf(0x3ae),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x237)]=0x1b59]=_0x367baf(0x237),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x420)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x1a4)]=0x1b5b]=_0x367baf(0x1a4),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2f5)]=0x1b5c]=_0x367baf(0x2f5),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x357)]=0x1b5d]=_0x367baf(0x357),_0x4e5a8a[_0x4e5a8a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x367baf(0x184),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x23c)]=0x2329]=_0x367baf(0x23c),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x1fd)]=0x232a]=_0x367baf(0x1fd),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2e4)]=0x232b]=_0x367baf(0x2e4),_0x4e5a8a[_0x4e5a8a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x367baf(0x285),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x26a)]=0x232d]=_0x367baf(0x26a),_0x4e5a8a[_0x4e5a8a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x367baf(0x32e),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x260)]=0x2712]=_0x367baf(0x260),_0x4e5a8a[_0x4e5a8a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x367baf(0x1cb),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x25d)]=0x2714]=_0x367baf(0x25d),_0x4e5a8a[_0x4e5a8a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x367baf(0x1a9),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x435)]=0x271b]=_0x367baf(0x435),_0x4e5a8a[_0x4e5a8a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x367baf(0x2cf),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2ac)]=0x271d]=_0x367baf(0x2ac),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x390)]=0x271e]=_0x367baf(0x390),_0x4e5a8a[_0x4e5a8a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x367baf(0x294),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2c9)]=0x2720]=_0x367baf(0x2c9),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x34f)]=0x2af9]=_0x367baf(0x34f),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x242)]=0x2ee1]=_0x367baf(0x242),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x309)]=0x2ee2]=_0x367baf(0x309),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2b5)]=0x2ee3]=_0x367baf(0x2b5),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x304)]=0x2ee4]=_0x367baf(0x304),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x164)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x313)]=0x32c9]=_0x367baf(0x313),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3d8)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3c4)]=0x32cb]=_0x367baf(0x3c4),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2ab)]=0x36b1]=_0x367baf(0x2ab),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x29c)]=0x36b2]=_0x367baf(0x29c),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x338)]=0x36b3]=_0x367baf(0x338),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2bb)]=0x36b4]=_0x367baf(0x2bb),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x41d)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x35a)]=0x3716]=_0x367baf(0x35a),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x23d)]=0x37dd]=_0x367baf(0x23d),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x1bc)]=0x3a99]=_0x367baf(0x1bc),_0x4e5a8a[_0x4e5a8a['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x367baf(0x39f),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x208)]=0x3a9b]=_0x367baf(0x208),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x3fe)]=0x3a9c]=_0x367baf(0x3fe),_0x4e5a8a[_0x4e5a8a[_0x367baf(0x160)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4e5a8a[_0x4e5a8a[_0x367baf(0x2f7)]=0x3a9e]=_0x367baf(0x2f7),_0x4e5a8a[_0x4e5a8a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x367baf(0x215),_0x4e5a8a[_0x4e5a8a['UNRECOGNIZED']=-0x1]=_0x367baf(0x321),_0x4e5a8a))(_0x49f8e8||{});function _0x22bd24(_0x10bf99){const _0x30e479=_0x367baf;var _0x166384,_0x55544b;const _0x96c556=(_0x166384=_0x10bf99[_0x30e479(0x35b)])==null?void 0x0:_0x166384[_0x30e479(0x3d3)],_0x57745e=((_0x55544b=_0x10bf99[_0x30e479(0x35b)])==null?void 0x0:_0x55544b[_0x30e479(0x2b3)])||0x0;return _0x96c556===_0x5abb34[_0x30e479(0x33b)][_0x30e479(0x3b4)]&&_0x57745e>0x0;}function _0x32be9b(_0x1559fb){const _0xac4fca=_0x367baf;return _0x1559fb[_0xac4fca(0x32c)]===_0x5abb34[_0xac4fca(0x3bd)][_0xac4fca(0x42f)];}var _0x57d34=Object['getOwnPropertyDescriptor'],_0x21c9c5=(_0xb34cb3,_0x27da9a,_0xef434c,_0x5a051c)=>{const _0x2aa804=_0x367baf;for(var _0x36d844=_0x5a051c>0x1?void 0x0:_0x5a051c?_0x57d34(_0x27da9a,_0xef434c):_0x27da9a,_0x562b90=_0xb34cb3[_0x2aa804(0x1b5)]-0x1,_0x2f64dc;_0x562b90>=0x0;_0x562b90--)(_0x2f64dc=_0xb34cb3[_0x562b90])&&(_0x36d844=_0x2f64dc(_0x36d844)||_0x36d844);return _0x36d844;},_0x36bcff=(_0x314b59,_0x1a8fc2)=>(_0x54a59c,_0x13886d)=>_0x1a8fc2(_0x54a59c,_0x13886d,_0x314b59);const _0x17bf10='/universer-api/license/formula/limit/status',_0x9deddf='/universer-api/license/formula/limit/start',_0x1970a8=_0x367baf(0x398);let _0x278aea=class extends _0x3fd9bb[_0x367baf(0x264)]{constructor(_0x42ad0e,_0x9c845,_0x23b47b,_0xfa0b17,_0x148b44,_0x48372a,_0x43e6df){const _0x5d5600=_0x367baf;super(),_0xec7e10(this,_0x5d5600(0x405),null),_0xec7e10(this,_0x5d5600(0x1f4),0x0),_0xec7e10(this,_0x5d5600(0x434),0x0),_0xec7e10(this,_0x5d5600(0x310),[]),_0xec7e10(this,_0x5d5600(0x19f),0x0),(this[_0x5d5600(0x318)]=_0x42ad0e,this[_0x5d5600(0x214)]=_0x9c845,this[_0x5d5600(0x276)]=_0x23b47b,this[_0x5d5600(0x1a8)]=_0xfa0b17,this[_0x5d5600(0x381)]=_0x148b44,this[_0x5d5600(0x233)]=_0x48372a,this[_0x5d5600(0x411)]=_0x43e6df,this['_initCommandInterceptor']());}[_0x367baf(0x3cd)](){const _0x397104=_0x367baf;this[_0x397104(0x374)](this['_commandService'][_0x397104(0x30f)]((_0x2f4a1a,_0x116e98)=>{const _0x38ef90=_0x397104;if(_0x2f4a1a['id']!==_0x5abb34['SetFormulaCalculationStartMutation']['id'])return;const _0x1baaca=_0x2f4a1a[_0x38ef90(0x370)];if(!this[_0x38ef90(0x20b)](_0x1baaca[_0x38ef90(0x430)]))return;if(!this[_0x38ef90(0x303)]())throw this[_0x38ef90(0x2cb)](_0x2f4a1a,_0x116e98),this[_0x38ef90(0x279)](),new _0x3fd9bb[(_0x38ef90(0x323))]();})),this['disposeWithMe'](this[_0x397104(0x214)][_0x397104(0x29b)]((_0x385269,_0x2a7d9e)=>{const _0x1b34c6=_0x397104;if(_0x385269['id']!==_0x5abb34[_0x1b34c6(0x225)]['id'])return;const _0x1a0b75=_0x385269[_0x1b34c6(0x370)];if(_0x22bd24(_0x1a0b75)){const _0x37a889=_0x3fd9bb[_0x1b34c6(0x3ca)]();this['_taskIds'][_0x1b34c6(0x221)](_0x37a889),this[_0x1b34c6(0x21e)](_0x37a889);}else{if(_0x32be9b(_0x1a0b75)&&this[_0x1b34c6(0x310)][_0x1b34c6(0x1b5)]>0x0){const _0x515749=this['_taskIds'][_0x1b34c6(0x394)]();this[_0x1b34c6(0x183)](_0x515749);}}}));}[_0x367baf(0x173)](){const _0x350fa2=_0x367baf;super['dispose'](),this['_clearPolling'](),this[_0x350fa2(0x310)]=[],this[_0x350fa2(0x434)]=0x0,this[_0x350fa2(0x1f4)]=0x0,this[_0x350fa2(0x19f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x9b7b56,_0x589d1d){const _0x58aa0d=_0x367baf;for(let _0x587046=0x0;_0x587046<0x1e;_0x587046++)try{if(await this[_0x58aa0d(0x334)](),this[_0x58aa0d(0x303)]()){this['_applyCommand'](_0x9b7b56,_0x589d1d),this[_0x58aa0d(0x318)]['show']({'content':this[_0x58aa0d(0x411)]['t'](_0x58aa0d(0x1d1)),'type':_0x470fa0[_0x58aa0d(0x273)][_0x58aa0d(0x333)]});return;}await new Promise(_0x4983b6=>{const _0x3d38aa=_0x58aa0d;this[_0x3d38aa(0x405)]=window[_0x3d38aa(0x408)](_0x4983b6,0x3e8);});}catch(_0x1fc979){this[_0x58aa0d(0x233)][_0x58aa0d(0x15b)](_0x1fc979);}this['_messageService'][_0x58aa0d(0x37e)]({'content':this[_0x58aa0d(0x411)]['t']('formula.calculation.unable'),'type':_0x470fa0[_0x58aa0d(0x273)][_0x58aa0d(0x17c)]});}[_0x367baf(0x22c)](_0x1566bb,_0x357487){const _0x4f61d5=_0x367baf;try{this[_0x4f61d5(0x214)]['executeCommand'](_0x1566bb['id'],_0x1566bb['params'],_0x357487);}catch(_0x197ffb){this[_0x4f61d5(0x233)][_0x4f61d5(0x15b)](_0x197ffb);}}[_0x367baf(0x337)](_0x22ca20,_0x4b857f){const _0x55534d=_0x367baf;_0x4b857f<this[_0x55534d(0x19f)]||(this[_0x55534d(0x19f)]=_0x4b857f,this['_maxFormulaLimit']=Number[_0x55534d(0x2b9)](_0x22ca20[_0x55534d(0x3ff)]),this[_0x55534d(0x434)]=Number[_0x55534d(0x2b9)](_0x22ca20[_0x55534d(0x181)]));}async[_0x367baf(0x21e)](_0xfe4869){const _0x487a60=_0x367baf;var _0x4a2099,_0x274694;const _0x5538c4=Date[_0x487a60(0x1c9)]();try{const _0x690185=((_0x4a2099=this[_0x487a60(0x276)][_0x487a60(0x41e)](_0x41a90e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a2099[_0x487a60(0x376)])||_0x9deddf,_0x1dacc0=(await this[_0x487a60(0x1a8)][_0x487a60(0x3e2)](_0x690185,{'body':JSON[_0x487a60(0x1dd)]({'taskId':_0xfe4869})}))[_0x487a60(0x2e8)];if(((_0x274694=_0x1dacc0[_0x487a60(0x15b)])==null?void 0x0:_0x274694[_0x487a60(0x35f)])!==_0x49f8e8['OK'])return;this[_0x487a60(0x337)](_0x1dacc0[_0x487a60(0x210)],_0x5538c4);}catch(_0x539f6a){this[_0x487a60(0x233)][_0x487a60(0x15b)](_0x539f6a);}}async['_getFormulaLimitStatus'](_0x3a63ed){const _0x5eac5d=_0x367baf;var _0x46708e,_0x5198eb;const _0x40a701=Date[_0x5eac5d(0x1c9)]();try{const _0x332506=((_0x46708e=this[_0x5eac5d(0x276)]['getConfig'](_0x41a90e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x46708e['getformulaLimitStatusUrl'])||_0x17bf10,_0x3154e6=_0x3a63ed?_0x332506+_0x5eac5d(0x2c3)+encodeURIComponent(_0x3a63ed):_0x332506,_0x255dbb=(await this[_0x5eac5d(0x1a8)][_0x5eac5d(0x1fe)](_0x3154e6))['body'];if(((_0x5198eb=_0x255dbb[_0x5eac5d(0x15b)])==null?void 0x0:_0x5198eb[_0x5eac5d(0x35f)])!==_0x49f8e8['OK'])return;this[_0x5eac5d(0x337)](_0x255dbb['limitInfo'],_0x40a701);}catch(_0x578a9e){this[_0x5eac5d(0x233)][_0x5eac5d(0x15b)](_0x578a9e);}}async[_0x367baf(0x183)](_0x3db3bf){const _0x589999=_0x367baf;var _0x19a6a2,_0x5bb819;const _0x25e6d9=Date[_0x589999(0x1c9)]();try{const _0x36a3d0=((_0x19a6a2=this[_0x589999(0x276)][_0x589999(0x41e)](_0x41a90e[_0x589999(0x2aa)]))==null?void 0x0:_0x19a6a2['releaseFormulaLimitUrl'])||_0x1970a8,_0x23e816=(await this[_0x589999(0x1a8)]['post'](_0x36a3d0,{'body':JSON['stringify']({'taskId':_0x3db3bf})}))[_0x589999(0x2e8)];if(((_0x5bb819=_0x23e816[_0x589999(0x15b)])==null?void 0x0:_0x5bb819['code'])!==_0x49f8e8['OK'])return;this['_setFormulaLimitStatus'](_0x23e816[_0x589999(0x210)],_0x25e6d9);}catch(_0x544359){this['_logService'][_0x589999(0x15b)](_0x544359);}}[_0x367baf(0x303)](){const _0x1ce4e4=_0x367baf;return this[_0x1ce4e4(0x1f4)]===0x0?!0x0:this[_0x1ce4e4(0x1f4)]-this[_0x1ce4e4(0x434)]>0x0;}[_0x367baf(0x284)](){const _0x34e68e=_0x367baf;this[_0x34e68e(0x405)]&&(clearTimeout(this[_0x34e68e(0x405)]),this['_pollingInterval']=null);}[_0x367baf(0x279)](){const _0x537849=_0x367baf;this[_0x537849(0x318)]['show']({'content':this[_0x537849(0x411)]['t'](_0x537849(0x297)),'type':_0x470fa0[_0x537849(0x273)][_0x537849(0x190)]});}[_0x367baf(0x20b)](_0x4b40aa){const _0x42a45d=_0x367baf;for(const _0x21ee40 of _0x4b40aa){const {unitId:_0xc18cc1,sheetId:_0x3dcd65,range:_0x39ee06}=_0x21ee40,_0xd970b0=this[_0x42a45d(0x381)][_0x42a45d(0x2ce)](_0xc18cc1);if(!_0xd970b0)continue;const _0x42d667=_0xd970b0[_0x42a45d(0x1bd)](_0x3dcd65);if(!_0x42d667)continue;const _0x4e96d0=_0x42d667['getCellMatrix']();for(let _0x154c51=_0x39ee06[_0x42a45d(0x32a)];_0x154c51<=_0x39ee06[_0x42a45d(0x1d7)];_0x154c51++)for(let _0x57a321=_0x39ee06[_0x42a45d(0x203)];_0x57a321<=_0x39ee06[_0x42a45d(0x2cd)];_0x57a321++){const _0x32f936=_0x4e96d0[_0x42a45d(0x341)](_0x154c51,_0x57a321);if(_0x32f936&&(_0x3fd9bb[_0x42a45d(0x3ab)](_0x32f936['f'])||_0x3fd9bb[_0x42a45d(0x2e2)](_0x32f936['si'])))return!0x0;}}return!0x1;}};_0x278aea=_0x21c9c5([_0x36bcff(0x0,_0x3fd9bb[_0x367baf(0x415)](_0x1fce11[_0x367baf(0x3bb)])),_0x36bcff(0x1,_0x3fd9bb[_0x367baf(0x220)]),_0x36bcff(0x2,_0x3fd9bb[_0x367baf(0x373)]),_0x36bcff(0x3,_0x3fd9bb[_0x367baf(0x415)](_0x161cdd[_0x367baf(0x25a)])),_0x36bcff(0x4,_0x3fd9bb[_0x367baf(0x18d)]),_0x36bcff(0x5,_0x3fd9bb[_0x367baf(0x283)]),_0x36bcff(0x6,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb['LocaleService']))],_0x278aea);var _0x5d845d=Object['getOwnPropertyDescriptor'],_0x32a488=(_0xf0e097,_0x1dc350,_0x2d438c,_0x50f56b)=>{for(var _0x7082ed=_0x50f56b>0x1?void 0x0:_0x50f56b?_0x5d845d(_0x1dc350,_0x2d438c):_0x1dc350,_0x413799=_0xf0e097['length']-0x1,_0x25ed63;_0x413799>=0x0;_0x413799--)(_0x25ed63=_0xf0e097[_0x413799])&&(_0x7082ed=_0x25ed63(_0x7082ed)||_0x7082ed);return _0x7082ed;},_0x5361cd=(_0x1d1213,_0x113340)=>(_0x40df97,_0x23cb21)=>_0x113340(_0x40df97,_0x23cb21,_0x1d1213);let _0x289678=class extends _0x3fd9bb[_0x367baf(0x264)]{constructor(_0x312d06,_0xa1c6e1,_0x410b2e){const _0x4f7026=_0x367baf;super(),_0xec7e10(this,_0x4f7026(0x16a),new Map()),_0xec7e10(this,_0x4f7026(0x212),new Map()),_0xec7e10(this,_0x4f7026(0x339),!0x1),(this[_0x4f7026(0x276)]=_0x312d06,this['_localStorageService']=_0xa1c6e1,this[_0x4f7026(0x280)]=_0x410b2e);}[_0x367baf(0x3d9)](){const _0x2157fe=_0x367baf;this[_0x2157fe(0x339)]=!0x0;}[_0x367baf(0x418)](){const _0x2689d7=_0x367baf;this[_0x2689d7(0x339)]=!0x1;}get['saveTaskMap'](){const _0x22704a=_0x367baf;return this[_0x22704a(0x212)];}[_0x367baf(0x173)](){const _0x5a7551=_0x367baf;this[_0x5a7551(0x1d3)]()[_0x5a7551(0x1ae)](()=>super[_0x5a7551(0x173)]());}async['loadOfflineData'](_0x5f1794){const _0x5c4e35=_0x367baf;return this[_0x5c4e35(0x339)]?null:this[_0x5c4e35(0x249)][_0x5c4e35(0x29d)](_0x41a90e[_0x5c4e35(0x372)](_0x5f1794));}async['saveOfflineData'](_0x595374,_0x69b578){const _0x4b139e=_0x367baf;return!!this[_0x4b139e(0x249)][_0x4b139e(0x2c0)](_0x595374,_0x69b578);}[_0x367baf(0x3a4)](_0x4f1ec7,_0x342391,_0x345d79,_0x346d33){const _0x572655=_0x367baf,_0x2f026d=this['_revisionService'][_0x572655(0x33d)](_0x4f1ec7);this[_0x572655(0x16a)]['set'](_0x4f1ec7,{'unitID':_0x4f1ec7,'type':_0x342391,'awaitingChangeset':_0x345d79,'mutations':_0x346d33,'rev':_0x2f026d}),this[_0x572655(0x212)][_0x572655(0x3e1)](_0x4f1ec7)||this[_0x572655(0x2d7)](_0x4f1ec7);}['_scheduleSaving'](_0x2ffb22){const _0x463a57=_0x367baf,_0x329e6b=this['_getSaveTimeout']();_0x329e6b===0x0?this[_0x463a57(0x198)](_0x2ffb22):this[_0x463a57(0x212)][_0x463a57(0x28c)](_0x2ffb22,setTimeout(()=>this[_0x463a57(0x198)](_0x2ffb22),_0x329e6b));}[_0x367baf(0x39a)](){const _0x5ca2c9=_0x367baf;var _0x30b369;return(_0x30b369=this[_0x5ca2c9(0x276)][_0x5ca2c9(0x41e)](_0x41a90e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x30b369:_0x41a90e[_0x5ca2c9(0x36c)];}[_0x367baf(0x198)](_0x18cfd1){const _0x29cb17=_0x367baf,_0x2304cc=this[_0x29cb17(0x212)][_0x29cb17(0x1fe)](_0x18cfd1);return _0x2304cc!==void 0x0&&window['clearTimeout'](_0x2304cc),this[_0x29cb17(0x249)][_0x29cb17(0x2c0)](_0x41a90e['getLocalCacheKey'](_0x18cfd1),this['_cachedData'][_0x29cb17(0x1fe)](_0x18cfd1))[_0x29cb17(0x1ae)](()=>this[_0x29cb17(0x212)]['delete'](_0x18cfd1));}async[_0x367baf(0x1d3)](){const _0x2b5926=_0x367baf,_0xb7612d=[];this[_0x2b5926(0x212)][_0x2b5926(0x2b4)]((_0x21db5b,_0x100c6d)=>{const _0x1c201c=_0x2b5926;window['clearTimeout'](_0x21db5b),_0xb7612d['push'](this[_0x1c201c(0x198)](_0x100c6d)['then'](()=>{const _0x4e9ae5=_0x1c201c;this[_0x4e9ae5(0x212)][_0x4e9ae5(0x3d1)](_0x100c6d);}));}),await Promise[_0x2b5926(0x1f6)](_0xb7612d);}};_0x289678=_0x32a488([_0x5361cd(0x0,_0x3fd9bb[_0x367baf(0x373)]),_0x5361cd(0x1,_0x3fd9bb[_0x367baf(0x31d)]),_0x5361cd(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x4a209a['RevisionService']))],_0x289678);class _0x2e0c9b extends _0x3fd9bb[_0x367baf(0x1bf)]{constructor(){const _0x2ed93f=_0x367baf;super(),_0xec7e10(this,_0x2ed93f(0x2a5)),this[_0x2ed93f(0x2a5)]=_0x6f0731[_0x2ed93f(0x26f)](window,_0x2ed93f(0x251))[_0x2ed93f(0x2ed)](_0x6f0731[_0x2ed93f(0x1ef)](this[_0x2ed93f(0x196)]),_0x6f0731[_0x2ed93f(0x3fd)](0x1),_0x6f0731[_0x2ed93f(0x250)](void 0x0));}['setParam'](_0x52e863,_0x2ca1bf,_0x37ad6d=!0x1){const _0x4c3c1c=_0x367baf,_0x2f6f3b=new URL(window['location'][_0x4c3c1c(0x2fc)]);_0x2f6f3b[_0x4c3c1c(0x3fc)][_0x4c3c1c(0x28c)](_0x52e863,_0x2ca1bf),_0x37ad6d?window[_0x4c3c1c(0x165)]['replaceState']('','',_0x2f6f3b[_0x4c3c1c(0x2a6)]()):window[_0x4c3c1c(0x165)][_0x4c3c1c(0x37d)]('','',_0x2f6f3b[_0x4c3c1c(0x2a6)]());}[_0x367baf(0x238)](_0x18e46b,_0x4e694b=!0x1){const _0x1ddd14=_0x367baf,_0x4b9144=new URL(window[_0x1ddd14(0x1c8)][_0x1ddd14(0x2fc)]);_0x4b9144[_0x1ddd14(0x3fc)][_0x1ddd14(0x3d1)](_0x18e46b),_0x4e694b?window[_0x1ddd14(0x165)][_0x1ddd14(0x2b0)]('','',_0x4b9144[_0x1ddd14(0x2a6)]()):window['history'][_0x1ddd14(0x37d)]('','',_0x4b9144[_0x1ddd14(0x2a6)]());}['getParam'](_0x3650f6){const _0x25ebc7=_0x367baf;var _0x1cda0c;return(_0x1cda0c=new URL(window['location'][_0x25ebc7(0x2fc)])[_0x25ebc7(0x3fc)][_0x25ebc7(0x1fe)](_0x3650f6))!=null?_0x1cda0c:void 0x0;}}var _0x2c3e1e=Object[_0x367baf(0x413)],_0x4607dd=Object[_0x367baf(0x3d2)],_0x1381a5=(_0x1646d1,_0x5218b5,_0x1f0e11)=>_0x5218b5 in _0x1646d1?_0x2c3e1e(_0x1646d1,_0x5218b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f0e11}):_0x1646d1[_0x5218b5]=_0x1f0e11,_0x29c46c=(_0x298cc7,_0x46e33c,_0xe77412,_0x55a57e)=>{const _0x1aa2fd=_0x367baf;for(var _0x328366=_0x55a57e>0x1?void 0x0:_0x55a57e?_0x4607dd(_0x46e33c,_0xe77412):_0x46e33c,_0x4f79ac=_0x298cc7[_0x1aa2fd(0x1b5)]-0x1,_0x105dbf;_0x4f79ac>=0x0;_0x4f79ac--)(_0x105dbf=_0x298cc7[_0x4f79ac])&&(_0x328366=_0x105dbf(_0x328366)||_0x328366);return _0x328366;},_0x2f9f54=(_0xa06028,_0x3ed4d0)=>(_0x1aabf1,_0x40f8dc)=>_0x3ed4d0(_0x1aabf1,_0x40f8dc,_0xa06028),_0x41cc59=(_0x1e1ac0,_0x500d8e,_0x4d5eab)=>_0x1381a5(_0x1e1ac0,_0x500d8e+'',_0x4d5eab);const _0x49afe5=_0x367baf(0x404);_0x3cd47d['UniverCollaborationClientUIPlugin']=class extends _0x3fd9bb[_0x367baf(0x2a3)]{constructor(_0x4a9f9d=_0x3f3087,_0xdba255,_0x2b98b4,_0x54b5f1){const _0xe0b5=_0x367baf;super(),this[_0xe0b5(0x1a5)]=_0x4a9f9d,this[_0xe0b5(0x191)]=_0xdba255,this['_injector']=_0x2b98b4,this[_0xe0b5(0x276)]=_0x54b5f1;const {..._0x53130d}=_0x3fd9bb[_0xe0b5(0x1b0)]({},_0x3f3087,this[_0xe0b5(0x1a5)]);this[_0xe0b5(0x276)]['setConfig'](_0x1fa5ab,_0x53130d);}[_0x367baf(0x25e)](){const _0x1305fd=_0x367baf;this[_0x1305fd(0x1ac)](),this['_initDependencies']();}['onRendered'](){const _0x5c348f=_0x367baf;this[_0x5c348f(0x3e0)]();}[_0x367baf(0x1ac)](){const _0x36709c=_0x367baf;var _0x4965aa;const _0x796afd=[[_0x1d4714],[_0x278aea],[_0x553ec5],[_0x5a10cf],[_0x418798],[_0x213664],[_0x54a73c,{'useClass':_0x2e0c9b}],[_0x161cdd[_0x36709c(0x2a4)],{'useClass':_0x161cdd['WebSocketService']}],[_0x41a90e['ILocalCacheService'],{'useClass':_0x289678}],[_0x3cd47d[_0x36709c(0x3d4)]],[_0x22b6c2],[_0x37ee5d],[_0x2a7630],[_0x18d8e9],[_0x3cd47d[_0x36709c(0x2d3)]]];_0x3fd9bb['registerDependencies'](this[_0x36709c(0x40a)],_0x3fd9bb[_0x36709c(0x3f5)](_0x796afd,(_0x4965aa=this[_0x36709c(0x1a5)])==null?void 0x0:_0x4965aa[_0x36709c(0x252)]));}[_0x367baf(0x3e0)](){const _0x1412b9=_0x367baf;this['disposeWithMe'](this[_0x1412b9(0x191)]['registerRenderModule'](_0x3fd9bb[_0x1412b9(0x3aa)][_0x1412b9(0x169)],[_0x4e6b79])),this['disposeWithMe'](this[_0x1412b9(0x191)][_0x1412b9(0x412)](_0x3fd9bb['UniverInstanceType'][_0x1412b9(0x2a0)],[_0x1f8b46]));}['_initDependencies'](){const _0x4cf436=_0x367baf;_0x3fd9bb[_0x4cf436(0x259)](this[_0x4cf436(0x40a)],[[_0x2a7630],[_0x3cd47d[_0x4cf436(0x3d4)]],[_0x22b6c2],[_0x37ee5d],[_0x3cd47d[_0x4cf436(0x2d3)]],[_0x278aea]]);}},_0x41cc59(_0x3cd47d[_0x367baf(0x1af)],_0x367baf(0x31c),_0x49afe5),_0x3cd47d[_0x367baf(0x1af)]=_0x29c46c([_0x3fd9bb[_0x367baf(0x1c3)](_0x41a90e['UniverCollaborationClientPlugin']),_0x2f9f54(0x1,_0x6b71a[_0x367baf(0x24c)]),_0x2f9f54(0x2,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0x2f9f54(0x3,_0x3fd9bb[_0x367baf(0x373)])],_0x3cd47d['UniverCollaborationClientUIPlugin']);var _0x345bda=Object[_0x367baf(0x3d2)],_0x3bc660=(_0x5406f4,_0x296556,_0x32078d,_0x27c2e1)=>{for(var _0x5a611b=_0x27c2e1>0x1?void 0x0:_0x27c2e1?_0x345bda(_0x296556,_0x32078d):_0x296556,_0x4f52d9=_0x5406f4['length']-0x1,_0x21fbea;_0x4f52d9>=0x0;_0x4f52d9--)(_0x21fbea=_0x5406f4[_0x4f52d9])&&(_0x5a611b=_0x21fbea(_0x5a611b)||_0x5a611b);return _0x5a611b;},_0x353716=(_0x2882f8,_0xd7d691)=>(_0x5e084b,_0x3c9ba7)=>_0xd7d691(_0x5e084b,_0x3c9ba7,_0x2882f8);_0x3cd47d['BrowserCollaborationSocketService']=class extends _0x41a90e[_0x367baf(0x2f8)]{constructor(_0x2111c8,_0x1a5a53,_0x4736cc,_0x373ee8,_0x2d1b1f){super(_0x2111c8,_0x1a5a53,_0x4736cc,_0x373ee8,_0x2d1b1f);}async[_0x367baf(0x320)](_0xb797f6){const _0x197d2f=_0x367baf,_0x5c8724=await this[_0x197d2f(0x3e4)](),_0x59efb0=this[_0x197d2f(0x246)](_0xb797f6,_0x5c8724);return this[_0x197d2f(0x299)](_0x59efb0);}[_0x367baf(0x246)](_0x1fdf05,_0x5c61fa){const _0xe6dfbe=_0x367baf,_0x366f23=typeof window>'u'?new URL(_0x1fdf05):new URL(_0x1fdf05,window[_0xe6dfbe(0x1c8)][_0xe6dfbe(0x18f)]);_0x366f23[_0xe6dfbe(0x3fc)][_0xe6dfbe(0x28c)](_0xe6dfbe(0x2e5),_0x5c61fa);const _0x522abd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe6dfbe(0x1c8)][_0xe6dfbe(0x1f8)]);return _0x522abd[_0xe6dfbe(0x1fe)](_0xe6dfbe(0x1bb))&&_0x366f23['searchParams']['set'](_0xe6dfbe(0x1bb),_0x522abd[_0xe6dfbe(0x1fe)]('runId')),_0x366f23[_0xe6dfbe(0x2a6)]();}async['_getSessionTicket'](){const _0x4819f8=_0x367baf;var _0x1b1b85,_0x30261d,_0x2a00bb;const _0x82cb7b=this[_0x4819f8(0x276)]['getConfig'](_0x41a90e[_0x4819f8(0x2aa)]),_0x5a751b=(_0x1b1b85=_0x82cb7b==null?void 0x0:_0x82cb7b[_0x4819f8(0x433)])!=null?_0x1b1b85:_0x41a90e[_0x4819f8(0x35d)];return(_0x2a00bb=(_0x30261d=(await this['_httpService'][_0x4819f8(0x1fe)](_0x5a751b,{'headers':{'Content-Type':_0x4819f8(0x344)}}))[_0x4819f8(0x2e8)])==null?void 0x0:_0x30261d[_0x4819f8(0x429)])!=null?_0x2a00bb:'';}},_0x3cd47d[_0x367baf(0x1e5)]=_0x3bc660([_0x353716(0x0,_0x3fd9bb[_0x367baf(0x415)](_0x3fd9bb[_0x367baf(0x24f)])),_0x353716(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x161cdd[_0x367baf(0x25a)])),_0x353716(0x2,_0x3fd9bb['IConfigService']),_0x353716(0x3,_0x3fd9bb[_0x367baf(0x283)]),_0x353716(0x4,_0x4a209a['ISnapshotServerService'])],_0x3cd47d[_0x367baf(0x1e5)]);var _0x10dcac=Object['getOwnPropertyDescriptor'],_0x508ed4=(_0xece360,_0x4a7dd2,_0xb1ef24,_0x356da6)=>{const _0x4f0096=_0x367baf;for(var _0x32992f=_0x356da6>0x1?void 0x0:_0x356da6?_0x10dcac(_0x4a7dd2,_0xb1ef24):_0x4a7dd2,_0x730285=_0xece360[_0x4f0096(0x1b5)]-0x1,_0x174173;_0x730285>=0x0;_0x730285--)(_0x174173=_0xece360[_0x730285])&&(_0x32992f=_0x174173(_0x32992f)||_0x32992f);return _0x32992f;},_0x37e8cf=(_0x2e5678,_0x2bf911)=>(_0x5d2f4c,_0x4447ed)=>_0x2bf911(_0x5d2f4c,_0x4447ed,_0x2e5678);_0x3cd47d[_0x367baf(0x42c)]=class extends _0x3fd9bb[_0x367baf(0x264)]{constructor(_0x3ce23f,_0x58d2cc,_0x58b506){const _0xdbe7f7=_0x367baf;super(),this[_0xdbe7f7(0x19a)]=_0x3ce23f,this[_0xdbe7f7(0x1a8)]=_0x58d2cc,this['_configService']=_0x58b506;}async[_0x367baf(0x291)](_0x26d30a,_0xaee74c,_0x35372d,..._0x1f6b4e){const _0x5264f8=_0x367baf;var _0x1c58c8,_0x14a8e5,_0x5c7c,_0x4ba6db;const _0x3b35c0=this[_0x5264f8(0x19a)][_0x5264f8(0x255)]();if(!_0x3b35c0)throw new Error(_0x5264f8(0x354));const _0x184785=((_0x1c58c8=this[_0x5264f8(0x276)][_0x5264f8(0x41e)](_0x41a90e[_0x5264f8(0x2ba)]))!=null?_0x1c58c8:_0x41a90e[_0x5264f8(0x329)])+'/'+_0x26d30a+_0x5264f8(0x355)+_0xaee74c,_0xa42737=new URL(window[_0x5264f8(0x1c8)]['href']),_0x354a17={'scriptId':_0x26d30a,'runId':(_0x14a8e5=_0xa42737[_0x5264f8(0x3fc)][_0x5264f8(0x1fe)]('runId'))!=null?_0x14a8e5:'','function':_0xaee74c,'unitId':_0x3b35c0[_0x5264f8(0x366)](),'argsOfFunction':JSON[_0x5264f8(0x1dd)](_0x1f6b4e),'invokeId':(_0x5c7c=_0x35372d[_0x5264f8(0x1e2)])!=null?_0x5c7c:'','executionId':(_0x4ba6db=_0x35372d[_0x5264f8(0x3f9)])!=null?_0x4ba6db:''};try{const _0x3cb74d=await this['_httpService'][_0x5264f8(0x3e2)](_0x184785,{'body':_0x354a17});return _0x3cb74d[_0x5264f8(0x2e8)]['error']&&_0x3cb74d[_0x5264f8(0x2e8)][_0x5264f8(0x15b)][_0x5264f8(0x35f)]!==_0x49f8e8['OK']?_0x5264f8(0x24d):_0x3cb74d[_0x5264f8(0x2e8)][_0x5264f8(0x25f)];}catch{return'Failed';}}},_0x3cd47d[_0x367baf(0x42c)]=_0x508ed4([_0x37e8cf(0x0,_0x3fd9bb[_0x367baf(0x18d)]),_0x37e8cf(0x1,_0x3fd9bb[_0x367baf(0x415)](_0x161cdd[_0x367baf(0x25a)])),_0x37e8cf(0x2,_0x3fd9bb['IConfigService'])],_0x3cd47d[_0x367baf(0x42c)]);const _0xfc6a90=0x7530,_0x4507a8='ACTIVE_UNIT_EVENT_CHANNEL';class _0x17c247 extends _0x3fd9bb[_0x367baf(0x264)]{constructor(){const _0x377c89=_0x367baf;super(),_0xec7e10(this,'_id',_0x3fd9bb['generateRandomId']()),_0xec7e10(this,_0x377c89(0x315),new Set()),_0xec7e10(this,'_unitOnClients',new Map()),_0xec7e10(this,_0x377c89(0x248),null),_0xec7e10(this,_0x377c89(0x288),new Map()),_0xec7e10(this,_0x377c89(0x178),new Map()),this['_init']();}[_0x367baf(0x173)](){const _0x421f13=_0x367baf;super[_0x421f13(0x173)](),this[_0x421f13(0x288)][_0x421f13(0x2b4)]((_0x30e890,_0x6736f1)=>this[_0x421f13(0x331)](_0x6736f1)),this[_0x421f13(0x248)]&&window[_0x421f13(0x29f)](this[_0x421f13(0x248)]);}[_0x367baf(0x3b7)](_0x1c79f5){const _0x197a5d=_0x367baf;return this[_0x197a5d(0x301)](_0x1c79f5)[_0x197a5d(0x2ed)](_0x6f0731[_0x197a5d(0x185)]());}[_0x367baf(0x3ba)](_0xdb6ec4){const _0x974c91=_0x367baf;this[_0x974c91(0x315)]['size']===0x0&&this[_0x974c91(0x3a3)](),this['_selfUnitIDs']['add'](_0xdb6ec4),this[_0x974c91(0x3dc)]({'type':0x0,'memberID':this[_0x974c91(0x207)],'unitIDs':[_0xdb6ec4],'isForwarded':!0x1});}[_0x367baf(0x2de)](_0x1e37eb){const _0x827006=_0x367baf;this['_selfUnitIDs'][_0x827006(0x3d1)](_0x1e37eb),this[_0x827006(0x315)][_0x827006(0x30e)]===0x0&&this[_0x827006(0x248)]&&window[_0x827006(0x29f)](this['_heartbeatTimer']);}[_0x367baf(0x369)](){const _0x265760=_0x367baf;this[_0x265760(0x374)](_0x3fd9bb['toDisposable'](_0x6f0731[_0x265760(0x26f)](window,'storage')[_0x265760(0x21d)](_0xa70a3c=>{const _0x2658e9=_0x265760;if(_0xa70a3c['key']!==_0x4507a8||!_0xa70a3c[_0x2658e9(0x42d)])return;const _0x591775=JSON['parse'](_0xa70a3c['newValue']);this['_handleEvent'](_0x591775);}))),window['addEventListener'](_0x265760(0x402),()=>this[_0x265760(0x3dc)]({'type':0x1,'memberID':this[_0x265760(0x207)],'unitIDs':Array['from'](this[_0x265760(0x315)])}));}[_0x367baf(0x428)](_0x58337b){const _0x1fa9a2=_0x367baf;switch(_0x58337b[_0x1fa9a2(0x385)]){case 0x0:this['_handleJoinEvent'](_0x58337b);break;case 0x1:this[_0x1fa9a2(0x3c1)](_0x58337b);break;case 0x2:this['_handleHeartbeatEvent'](_0x58337b);break;}}[_0x367baf(0x351)](_0x3b105d){const _0x30deae=_0x367baf,{unitIDs:_0x6c8969,memberID:_0x2fb688,isForwarded:_0x254a23}=_0x3b105d;_0x6c8969[_0x30deae(0x2b4)](_0x153150=>{const _0x22d5cd=_0x30deae;if(!_0x254a23&&this[_0x22d5cd(0x32f)][_0x22d5cd(0x3e1)](_0x153150)&&this[_0x22d5cd(0x301)](_0x153150)[_0x22d5cd(0x2c6)](_0x41a90e[_0x22d5cd(0x162)]['OTHER_CLIENTS_EDITING']),!this[_0x22d5cd(0x32f)][_0x22d5cd(0x3e1)](_0x153150)||!this[_0x22d5cd(0x32f)]['get'](_0x153150)['has'](_0x2fb688)){const _0x1472ac=this[_0x22d5cd(0x32f)][_0x22d5cd(0x1fe)](_0x153150)||new Set();_0x1472ac[_0x22d5cd(0x3ed)](_0x2fb688),this[_0x22d5cd(0x32f)]['set'](_0x153150,_0x1472ac),this['_scheduleClearOtherTimer'](_0x2fb688);}}),_0x254a23||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x30deae(0x315)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4a38fe){const _0xcec87c=_0x367baf;this[_0xcec87c(0x331)](_0x4a38fe);const _0x842935=window[_0xcec87c(0x408)](()=>{const _0x17ee52=_0xcec87c;this[_0x17ee52(0x32f)][_0x17ee52(0x2b4)](_0x51f9f0=>{const _0x2ea94b=_0x17ee52;_0x51f9f0[_0x2ea94b(0x3d1)](_0x4a38fe);});},_0xfc6a90*0x2);this['_clearOtherTimers']['set'](_0x4a38fe,_0x842935);}[_0x367baf(0x331)](_0x4cf613){const _0x50c0cd=_0x367baf;if(this['_clearOtherTimers'][_0x50c0cd(0x3e1)](_0x4cf613)){const _0x3c0927=this[_0x50c0cd(0x288)][_0x50c0cd(0x1fe)](_0x4cf613);_0x3c0927&&window['clearTimeout'](_0x3c0927),this[_0x50c0cd(0x288)]['set'](_0x4cf613,null);}}[_0x367baf(0x3c1)](_0x50d6cd){const _0xfb82aa=_0x367baf,{memberID:_0x19808d,unitIDs:_0xc33811}=_0x50d6cd;_0xc33811[_0xfb82aa(0x2b4)](_0x438f2b=>{const _0x407c68=_0xfb82aa;var _0x7e72cd;const _0x1d377c=this[_0x407c68(0x32f)][_0x407c68(0x1fe)](_0x438f2b);_0x1d377c&&(_0x1d377c['delete'](_0x19808d),(_0x7e72cd=this[_0x407c68(0x301)](_0x438f2b))==null||_0x7e72cd['next'](_0x1d377c['size']===0x0?_0x41a90e['UnitStatus'][_0x407c68(0x32b)]:_0x41a90e[_0x407c68(0x162)][_0x407c68(0x27b)]));}),this[_0xfb82aa(0x331)](_0x19808d);}[_0x367baf(0x17d)](_0x2d96c0){const _0x52e1d6=_0x367baf;this[_0x52e1d6(0x39c)](_0x2d96c0[_0x52e1d6(0x263)]);}[_0x367baf(0x3dc)](_0x1ad7d2){const _0x345b6b=_0x367baf;localStorage[_0x345b6b(0x2c0)](_0x4507a8,JSON[_0x345b6b(0x1dd)](_0x1ad7d2));}['_scheduleHeartbeat'](){const _0x214950=_0x367baf;this[_0x214950(0x248)]=window[_0x214950(0x189)](()=>{const _0x12043e=_0x214950;this[_0x12043e(0x3dc)]({'type':0x2,'memberID':this[_0x12043e(0x207)]});},_0xfc6a90);}[_0x367baf(0x301)](_0x32ef8a){const _0x471515=_0x367baf;return this[_0x471515(0x178)][_0x471515(0x3e1)](_0x32ef8a)||this[_0x471515(0x178)][_0x471515(0x28c)](_0x32ef8a,new _0x6f0731[(_0x471515(0x3e6))](_0x41a90e[_0x471515(0x162)][_0x471515(0x32b)])),this[_0x471515(0x178)][_0x471515(0x1fe)](_0x32ef8a);}}_0x3cd47d[_0x367baf(0x15f)]=_0x54a73c,_0x3cd47d[_0x367baf(0x3f7)]=_0x34601e,_0x3cd47d[_0x367baf(0x32d)]=_0x17c247,_0x3cd47d[_0x367baf(0x2e3)]=_0x2e0c9b,Object['defineProperty'](_0x3cd47d,Symbol[_0x367baf(0x423)],{'value':_0x367baf(0x28f)});}));function _0x4273(){const _0x30dd5d=['toDisposable','toRgbString','_onRefRangeChange','pushState','show','values','registerComponent','_univerInstanceService','getOffsetConfig','UniverProCollaborationClientUi','_drawAnchor','type','mutations','_onCursorDelete','_collabSessionService','handleInsertCol','getTypeOfUnitAdded$','round','handleInsertRow','_render','_docSyncEditingCollabCursorService','createInstance','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_colorAssignService','_session','fillRule','shift','getActiveSheet','_startSheetCollabCursor','translate(.97)','/universer-api/license/formula/limit/done','getCollabCursors$','_getSaveTimeout','http://www.w3.org/2000/svg','_scheduleClearOtherTimer','setShapeProps','permission.content','REDEMPTION_CODE_INACTIVE','_cursorShapes','LocaleService','fill','_scheduleHeartbeat','updateOfflineData','SetWorksheetActivateCommand','collabCursorState$','EMAIL_VERIFY_CODE_MISMATCH','_textBubble','IImageIoService','UniverInstanceType','isFormulaString','ALREADY_EXISTS','min','ENSURE_SNAPSHOT_EXECUTION','syncEditingCollabCursor','off-line-icon','collabStatus.conflict','_cursor','bottom','START_CALCULATION','getCellPositionByOffset','icon','getUnitStatus$','current','OTHER_CLIENT_EDITING','editingUnit','IMessageService','concat','FormulaExecutedStateType','status$','findNodePositionByCharIndex','subunit','_handleLeaveEvent','clipPath','arc','EMAIL_HAS_BEEN_BOUND','serializeRangeWithSheet','useDependency','Rect','whenReady','with','generateRandomId','getActiveRange','DocSelectionManagerService','_initCommandInterceptor','_docTransformIMECacheService','SheetsSelectionsService','white','delete','getOwnPropertyDescriptor','stage','DesktopCollaborationStatusDisplayController','handleDeleteRangeMoveUp','transform','UNAUTHENTICATED','MOBILE_HAS_BEEN_BOUND','disableLocalCache','@univerjs/engine-render','eventID','_send','transformRemoteChangeset','setStateCache','CURRENT_STATUS_CANNOT_OPERATE','_registerRenderDependencies','has','post','DeleteRangeMoveLeftCommandId','_getSessionTicket','getRelativeToViewportCoord','BehaviorSubject','startsWith','_getAnchorBounding','CollaborationStatus','CollaborationController','_notificationService','ranges','add','send','idSuffix','_dataLoaderService','@univerjs/drawing','forwardRef','getUnhiddenWorksheets','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mergeOverrideWithDependencies','max','SheetCollabCursorShape','COLORS','executionId','save','addObject','searchParams','shareReplay','REDEMPTION_CODE_NOT_STARTED','maxFormulaLimit','3000193nFTafs','_updateURLWithCurrentState','unload','getMemberID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_pollingInterval','fromEventSubject','CONFLICT','setTimeout','setAlpha','_injector','_colorIndex','CollaborationEvent','_toggleOffline','62170ndHPAz','url(#off-line-icon_clip0_910_343)','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_localeService','registerRenderModule','defineProperty','_docTransformSelectionsService','Inject','_backgroundColor','m1Prime','enableLocalCache','throttleTime','_initStatusListener','subscribeEvent','currentColor','ENTITLE_CHAT_LIMIT_EXCEED','getConfig','_status$','APPLY_NON_SEQUENTIAL_REVISION','MUTATION','SheetSkeletonManagerService','toStringTag','focused$','textRanges','object','DOC_RANGE_TYPE','_handleEvent','ticket','collabStatus.syncing','mask','RemoteUniscriptService','newValue','_collaborationController','SUCCESS','dirtyRanges','getRenderById','row','wsSessionTicketUrl','_currentUsage','YUUMI_ASYNCIO_CANCELLED','_eventUnsubscribe','split','isActive','error','getMember','UniverCore','PENDING','IURLService','REDEMPTION_USER_NOT_ELIGIBLE','0\x200\x2016\x2016','UnitStatus','includes','INVITE_CODE_ALREADY_BOUND','history','ERROR_AGAIN','CollaborationUIEventId','_getSheetObject','UNIVER_DOC','_cachedData','symbol','collab-text-range-','_getMergeRange','@univerjs/design','red.300','_initEntityListener','doc.mutation.rich-text-editing','ITransformService','dispose','extend','_beforeCloseService','_drawTextRange','currentSkeleton$','_unitStatus','handleInsertRangeMoveDown','svg','@univerjs/engine-formula','Error','_handleHeartbeatEvent','createElement','activeSheet$','isTransformMutationsWithChangesetSuccess','currentUsage','UniverEngineRender','_releaseCalculationLimit','CONNECTOR_DATA_TOO_LARGE','distinctUntilChanged','USER_NOT_FOUND','entityInit$','UniverUi','setInterval','@univerjs-pro/collaboration-client','getOwnPropertySymbols','collaboration.closeRoom','IUniverInstanceService','UniverProCollaboration','origin','Loading','_renderManagerService','onLocalMutation','session.collaboration-timeout','from','indexOf','dispose$','_transformHistoryAndStateStack','_saveCache','_imageIoService','_instanceService','getCoordByCell','JOIN_ROOM_FAILED','_initCommandExecutedListener','xlink:href','_lastResponseTimestamp','_anchorDot','string','EffectRefRangId','_themeService','APPLY_REVISION_CONFILICT','_config','width','yellow.400','_httpService','YUUMI_NO_CUBOID_FOR_QUESTION','rxjs/operators','reconnect','_registerDependencies','0\x200\x2017\x2016','then','UniverCollaborationClientUIPlugin','merge','FETCH_MISS','CollaborationUIEventService','TEXT','Tools','length','unitId','name','_context','prototype','cursorInfo$','runId','REDEMPTION_INVALID_CODE','getSheetBySheetId','onMouseMove','RxDisposable','currentTheme$','InsertRowCommandId','HEADER_MENU','DependentOn','Shape','selection','AUTHORIZE_CODE_ILLEGAL','isEditing','location','now','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','univer-flex\x20univer-items-center','DocCollaborationEntity','OFFLINE','none','214XoZaGU','formula.calculation.started','restore','exhaustSavingTask','IBeforeCloseService','Subject','_syncEditingCollabCursorService','endRow','_assignedColors','collab-text-anchor-','_updateCollabCursors','UniverSheets','659hkLtIy','stringify','beginPath','debounce','_docSkeleton','tag','invokeId','session.connection-failed','SetTextSelectionsOperation','BrowserCollaborationSocketService','getRangePointData','on-line-icon_clip0_910_349','RegularPolygon','rxjs','_collaborationUIEventService','m2Prime','INotificationService','_handleHover','defIds','takeUntil','_transformService','RemoveRowCommandId','redoState','_refreshCollabCursors','_maxFormulaLimit','getSheetObject','all','CLOSE_ROOM','search','1em','colorChannel1','CHANGESET_REVISION_CONFILICT','_initResize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','get','_docSkeletonManagerService','isTransformMutationFailure','call','defs','startColumn','UniverIcon','roomMembers','_startDocCollabCursor','_id','REDEMPTION_CODE_FULLY_REDEEMED','function','_scene','_hasFormulaInDirtyRanges','DisposableCollection','DocIMEInputManagerService','_entities','saveImage','limitInfo','@univerjs/docs-ui','_saveTaskMap','useRef','_commandService','REDEMPTION_CODE_HAS_BEEN_CREATED','_shapes','univerjs-icon\x20univerjs-icon-','_transformUndoRedoStack','blue.400','hasOwnProperty','Unknown\x20user','collaboration.single-unit.warning','subscribe','_startCalculationLimit','_color','ICommandService','push','UniverDrawing','uni.network.url-service','_onCursorUpdate','SetFormulaCalculationNotificationMutation','getMergeData','onPointerMove$','LOGIN_TOKEN_PROCESSING_FAILED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UPDATE_CURSOR','div','_applyCommand','collab-client.tooltip.reconnect','entries','PERMISSION_DENIED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_setupSubUnitSync','INTERNAL_ERROR','_logService','3255822XmtTnu','substring','ONLINE','APPLY_REJECT','removeParam','color','collaboration-client.offline-data-not-saved','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','ENTITLE_NEED_BILLING_ADDRESS','_document','IDocClipboardService','2975847ygBurk','_hover','INVITE_CODE_HAS_BEEN_UES','connectInjector','assign','SNAPSHOT_HAS_BEEN_REMOVED','_createSocketURL','164CwdatF','_heartbeatTimer','_localStorageService','_name','on-line-icon','IRenderManagerService','Failed','docStateChange$','Injector','mapTo','popstate','override','UniverRpc','FromArray','getFocusedUnit','Workbook','IRemoteInstanceService','registerBeforeClose','touchDependencies','HTTPService','init','NOT_COLLAB','YUUMI_SUBSCRIPTION_NOT_FOUND','onStarting','result','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_VERIFY_CODE_MISMATCH','session.will-retry','memberID','Disposable','_cursors','_uiPartsService','unitID','sheetID','_hovered','LICENSE_DISTRO_REJECTED','[CollaborationDataLoaderController]','data','replaceDocRanges','complete','fromEvent','TEXT_RANGE_LAYER_INDEX','unshift','_collabCursorController','MessageType','triggerDblclick','height','_configService','deserializeRangeWithSheet','debounceTime','_showGuardMessage','contains','OTHER_CLIENTS_EDITING','registerRefRange','loadUnit','UniverEngineFormula','_anchor','_revisionService','_initStatusComponent','_removeCollabCursors','ILogService','_clearPolling','LICENSE_EXPORT_SIZE_EXCEEDED','skeleton','ThemeService','_clearOtherTimers','DocStateChangeManagerService','getStateCache','@univerjs-pro/collaboration','set','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','getViewport','Module','CollaborationSessionService','runOnServer','url(#$1','_refRangeService','YUUMI_AI_RUN_FAILED','moveTo','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','formula.calculation.waiting','column','_doCreateSocket','isArray','onCommandExecuted','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getItem','className','clearInterval','UNIVER_SHEET','fillStyle','clsx','Plugin','ISocketService','urlChange$','toString','sessionStatus$','assignAColorForMemberID','_docStateChangeManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_ALL_TABLES_IS_INVALID','green.600','jsx','_collabCursorState$','replaceState','transformSelections','InsertRangeMoveRightCommandId','totalFormulasToCalculate','forEach','INVITE_CODE_REQUIRED','1992600SExIYN','MemberService','OffLineIcon','parseInt','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','Warning','NOT_FOUND','CommandType','SessionStatus','setItem','closePath','5328888TImwoj','?taskId=','collabStatus.notCollab','RemoveColCommandId','next','makeDirty','getUndoRedoMutationParamsCache','YUUMI_CONNECTOR_URL_NOT_FOUND','_online','_checkAndWaitForCalculationPermission','debug','endColumn','getUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/network','selections','USER_IS_ANONYMOUS','CollaborationDataLoaderController','UniverDocs','runRefRangeMutations','apply','_scheduleSaving','undoState','lineTo','saveTaskMap','UniverProCollaborationClient','transformByState','useObservable','disposeUnit','setParam','_draw','permission.title','isFormulaId','WebURLService','LICENSE_IMPORT_SIZE_EXCEEDED','sessionTicket','handleIRemoveCol','requireSession','body','getCurrentUnitForType','SetDocZoomRatioOperation','_range','SetSelectionsOperation','pipe','path','COMPLETION_FINISHED','drawWith','_labelPosition','attrs','black','resize','APPLY_PERMISSION_DENIED','asObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CollaborationSocketService','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','evenodd','href','LOGIN_FAILED','trim','actions','_sheetSkeletonManagerService','_ensureSubject','roomMembers$','_checkCalculationAvailable','USER_NOT_INVITED_CODE','measureText','getSkeleton','SNAPSHOT_INVALID_SNAPSHOT','_urlService','INVALID_INVITE_CODE','_docTransformStateCacheService','getCollabEntity$','replace','jsxs','size','beforeCommandExecuted','_taskIds','_drawRectRange','_lastPointer','WECHAT_HAS_BEEN_BOUND','_docClipboardService','_selfUnitIDs','getColorFromTheme','_toggleOnline','_messageService','Optional','transformIMECache','_roomMembers$','pluginName','ILocalStorageService','getParam','ILocalCacheService','createSocket','UNRECOGNIZED','RECT','CanceledError','unsubscribe','INVALID_ARGUMENT','handleIRemoveRow','_updateLocalCursor','AWAITING_WITH_PENDING','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startRow','NO_OTHER_CLIENTS_EDITING','functionsExecutedState','WebBrowserSingleActiveUnitService','YUUMI_UNABLE_LOAD_URL','_unitOnClients','combineLatest','_removeClearOtherTimer','executeCommand','Success','_getFormulaLimitStatus','map','onTransformChange$','_setFormulaLimitStatus','ENTITLE_DUP_SUBSCRIPTION','_disabled','setActiveRange','FormulaExecuteStageType','filter','getCurrentRevOfUnit','getColor','UNDEFINED','addClipboardHook','getValue','collab-rect-range-','_memberService','application/json','_updateSubUnitFromURLParams','flatMap','event$','propertyIsEnumerable','handleInsertRangeMoveRight','transformMutation','@univerjs/docs','Vector2','range','M0\x200H16V16H0z','PY_RUNTIME_SCRIPT_ERROR','RichTextEditingMutation','_handleJoinEvent','transformStateCache','switchMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','/run/','@univerjs/ui','APPLY_DUPLICATED','source','_initEvent','ENTITLE_REPORT_LIMIT_EXCEED','stageInfo','deepClone','DEFAULT_WS_SESSION_TICKET_URL','handleDeleteRangeMoveLeft','code','cursorInfo','purple.300','onPointerLeave$','React','displayName','_entityInit$','getUnitId','top','getSheetId','_init','labelPosition','NodePositionConvertToRectRange','LOCAL_CACHE_INTERVAL','OnLineIcon','SHEET_VIEWPORT_KEY','getVpScrollXYInfoByPosToVp','params','getDocRanges','getLocalCacheKey','IConfigService','disposeWithMe','VIEW_MAIN','startFormulaLimitUrl','getAncestorScale','_hideTimer','onPointerEnter$'];_0x4273=function(){return _0x30dd5d;};return _0x4273();}
|
|
1
|
+
function _0x513e(_0x1842c5,_0x2be88b){const _0x56dbb1=_0x56db();return _0x513e=function(_0x513ee6,_0x2d6fd6){_0x513ee6=_0x513ee6-0xed;let _0x2b4a16=_0x56dbb1[_0x513ee6];return _0x2b4a16;},_0x513e(_0x1842c5,_0x2be88b);}function _0x56db(){const _0x3e7259=['useObservable','_hideTimer','setActiveRange','_httpService','_config','override','TEXT','debounceTime','_document','_drawTextRange','isActive','clsx','lineTo','DocIMEInputManagerService','exports','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','forEach','_logService','_syncEditingCollabCursorService','getTypeOfUnitAdded$','setParam','round','WebSocketService','_showGuardMessage','params','dispose$','_injector','@univerjs/sheets-ui','entries','_dataLoaderService','unitId','length','_unitStatus','CanceledError','_removeCollabCursors','getViewport','RemoveColCommandId','activeSheet$','switchMap','#FFF','_handleLeaveEvent','closePath','UniverDocsUi','unit','currentColor','AUTHORIZE_CODE_ILLEGAL','stringify','onPointerEnter$','concat','_color','_revisionService','uni.network.url-service','none','some','OnLineIcon','2545450wqyeZW','mergeOverrideWithDependencies','ONLINE','getFocusedUnit','unload','touchDependencies','UNIVER_SHEET','cursorInfo$','newValue','collabStatus.fetchMiss','addClipboardHook','_onCursorUpdate','_toggleOnline','Module','IConfigService','RichTextEditingMutation','APPLY_PERMISSION_DENIED','redoState','object','deepClone','DisposableCollection','_getMergeRange','_initStatusComponent','Error','_scheduleHeartbeat','_collaborationController','executeCommand','_getScale','_startCalculationLimit','_updateCollabCursors','MOBILE_HAS_BEEN_BOUND','drawWith','YUUMI_AI_RUN_FAILED','_init','_cursors','getSheetObject','NOT_FOUND','moveTo','restore','searchParams','_setupBeforeClosingHandler','_transformPreviousActiveRange','RemoteUniscriptService','_range','_docTransformIMECacheService','INTERNAL_ERROR','USERS_LEAVE','onRendered','getStateCache','RxDisposable','collabStatus.synced','_registerRenderDependencies','@univerjs/docs','_hasFormulaInDirtyRanges','SessionStatus','REDEMPTION_USER_REDEEM_TIMES_EXCEED','translate(.97)','_labelPosition','_name','_selfUnitIDs','IURLService','history','top','_docStateChangeManagerService','React','_applyCommand','5278097VxXTrR','isFormulaId','height','parse','_cachedData','disposeWithMe','generateRandomId','defIds','_initResize','LICENSE_IMPORT_SIZE_EXCEEDED','RemoveRowCommandId','then','selection','useDependency','InsertRangeMoveRightCommandId','Failed','SetFormulaCalculationNotificationMutation','_context','getTypeOfUnitDisposed$','defineProperty','_initStatusListener','storage','DeleteRangeMoveUpCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getAncestorScale','_hovered','from','formula.calculation.waiting','prototype','0\x200\x2017\x2016','imageSourceType','JOIN_ROOM_FAILED','location','onPointerMove$','syncEditingCollabCursor','width','hide','@univerjs/design','ITransformService','getVpScrollXYInfoByPosToVp','setShapeProps','roomMembers','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','getColorFromTheme','loadUnit','getCoordByCell','setTimeout','_memberService','string','REDEMPTION_CODE_HAS_BEEN_CREATED','COLORS','CollaborationController','handleInsertRangeMoveDown','div','getOwnPropertyDescriptor','includes','fill','_toggleOffline','isTransformMutationFailure','_cursor','UniverInstanceType','getParam','_online','white','INVALID_ARGUMENT','MoveRangeCommandId','CLOSE_ROOM','runId','IMessageService','PAYMENT_CHANNEL_NOT_SUPPORT','substring','jsx','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','_getFormulaLimitStatus','NOT_COLLAB','getCurrentUnitForType','permission.content','WebURLService','pipe','IUniverInstanceService','OFFLINE','UniverIcon','collabStatus.offline','clearTimeout','LICENSE_DISTRO_REJECTED','_refreshCollabCursors','onPointerLeave$','send','combineLatest','getOwnPropertySymbols','startsWith','OTHER_CLIENT_EDITING','UniverDocs','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','actions','transformSelections','children','addHandlerCallback','skeleton','CollaborationDataLoaderController','resize','AWAITING_WITH_PENDING','exhaustSavingTask','[CollaborationDataLoaderController]','yellow.400','column','href','docStateChange$','_initEvent','CollaborationEvent','ERROR_AGAIN','mutations','assignAColorForMemberID','labelPosition','YUUMI_RATE_OVER_LIMIT','replaceState','LocaleService','formula.calculation.unable','_lastResponseTimestamp','_lastPointer','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','whenReady','231HUmPmS','REDEMPTION_INVALID_CODE','_scheduleClearOtherTimer','sheetID','EMAIL_VERIFY_CODE_MISMATCH','xlink:href','textRanges','collaboration-client-ui.config','_maxFormulaLimit','size','1em','selections','cursorInfo','className','createIdentifier','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','text','INotificationService','_collaborationUIEventService','addObject','values','_uiPartsService','_initCommandExecutedListener','font','_handleHeartbeatEvent','_initDependencies','getCurrentRevOfUnit','flatMap','SNAPSHOT_INVALID_SNAPSHOT','distinctUntilChanged','startRow','Success','1838aMoiBM','IImageIoService','getSkeleton','addEventListener','isArray','addObjects','disableLocalCache','getValue','_unitOnClients','_renderManagerService','ILocalCacheService','color','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','status$','_removeClearOtherTimer','_anchor','CONFLICT','ILogService','_transformUndoRedoStack','sheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_backgroundColor','transformMutation','getMergeData','_univerInstanceService','init','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','SetDocZoomRatioOperation','UNIVER_DOC','@univerjs/docs-ui','UniverSheets','find','setConfig','post','InsertRangeMoveDownCommandId','data','collabStatus.conflict','ENTITLE_NEED_BILLING_ADDRESS','event$','UniverDesign','set','replace','_assignedColors','onMouseMove','_docTransformSelectionsService','contains','_drawRectRange','11487XcLYrB','key','_send','engine','_disabled','YUUMI_CONNECTOR_URL_NOT_FOUND','AWAITING','code','APPLY_DUPLICATED','REDEMPTION_CODE_NOT_STARTED','UniverCollaborationClientUIPlugin','collabCursorState$','@univerjs/core','UPDATE_CURSOR','getCellPositionByOffset','saveImage','registerRenderModule','serializeRangeWithSheet','PENDING','name','@univerjs/rpc','delete','_registerDependencies','apply','attrs','symbol','on-line-icon_clip0_910_349','isTransformMutationsWithChangesetSuccess','createElement','_messageService','getLocalCacheKey','/universer-api/license/formula/limit/status','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','fillRule','UniverSheetsUi','CollaborationStatus','displayName','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','_getSheetObject','throttleTime','memberID','collab-client.tooltip.reconnect','UniverProCollaborationClientUi','_handleJoinEvent','_setupSubUnitSync','SheetsSelectionsService','call','subUnitId','CHANGESET_REVISION_CONFILICT','runOnServer','reconnect','function','with','InsertColCommandId','collab-text-range-','COMPLETION_FINISHED','_drawAnchor','now','requireSession','_clearOtherTimers','assign','Disposable','error','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/license/formula/limit/done','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ALREADY_EXISTS','FormulaExecuteStageType','ColorKit','currentSkeleton$','green.600','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','connectInjector','DocSelectionManagerService','RECT','startFormulaLimitUrl','SYNCED','getSheetBySheetId','getRenderById','CollaborationSocketService','getUnhiddenWorksheets','getCurrentSelections','stage','unitID','UniverCore','tag','transform','jsxs','@univerjs/network','BehaviorSubject','permission.title','EffectRefRangId','HTTPService','BrowserCollaborationSocketService','asObservable','_draw','shift','TRANSFORM_CHANGE_OBSERVABLE_TYPE','hovered','runRefRangeMutations','icon','mask','_status$','SNAPSHOT_HAS_BEEN_REMOVED','defs','_beforeCloseService','@univerjs/engine-formula','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','add','_roomMembers$','_saveTaskMap','_onRefRangeChange','getUndoRedoMutationParamsCache','_ensureSubject','MemberService','session.collaboration-timeout','UniverUi','rxjs','url(#off-line-icon_clip0_910_343)','Rectangle','CollaborationUIEventId','blue.400','collab-text-anchor-','setUndoRedoMutationParamsCache','NodePositionConvertToCursor','fromEvent','setAlpha','PERMISSION_DENIED','_docClipboardService','colorChannel1','getActiveSheet','svg','_onCursorDelete','M0\x200H16V16H0z','arc','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','toRgbString','random','_collabCursorController','currentTheme$','jiqing.500','_saveCache','takeUntil','dispose','getformulaLimitStatusUrl','popstate','CommandType','saveTaskMap','UniverDrawing','...','findNodePositionByCharIndex','m1Prime','undoState','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','SetWorksheetActivateCommand','_sheetSkeletonManagerService','on-line-icon','EMAIL_HAS_BEEN_BOUND','push','pushState','_transformService','handleMoveRange','INVITE_CODE_HAS_BEEN_UES','ILocalStorageService','totalFormulasToCalculate','Unknown\x20user','univer-flex\x20univer-items-center','getItem','entityInit$','REDEMPTION_USER_NOT_ELIGIBLE','mapTo','UniverProCollaborationClient','_id','transformByState','forwardRef','ENTITLE_CAN_NOT_BUY_LOWER_OTP','m2Prime','url(#$1','fillText','_localStorageService','FormulaExecutedStateType','black','_updateLocalCursor','_commandService','save','?taskId=','handleDeleteRangeMoveLeft','roomMembers$','SOCKET_FAILED','APPLY_REVISION_CONFILICT','CURRENT_STATUS_CANNOT_OPERATE','fillStyle','off-line-icon_clip0_910_343','clearInterval','enableLocalCache','START_CALCULATION','DOC_RANGE_TYPE','subscribeEvent','trim','ThemeService','_clearPolling','UniverEngineFormula','_pollingInterval','formula.calculation.started','USER_NOT_FOUND','getUnit','application/json','handleInsertCol','LICENSE_EXPORT_SIZE_EXCEEDED','_transformHistoryAndStateStack','handleIRemoveCol','eventID','_startSheetCollabCursor','onCommandExecuted','idSuffix','RevisionService','_collabSessionService','Injector','WECHAT_HAS_BEEN_BOUND','_updateURLWithCurrentState','parseInt','Subject','DeleteRangeMoveLeftCommandId','indexOf','@univerjs/ui','UniverRpc','evenodd','removeParam','getColor','rxjs/operators','off-line-icon','setStateCache','UNAUTHENTICATED','source','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','show','1188zRnZcZ','709bpWZmx','disposeUnit','_heartbeatTimer','NO_OTHER_CLIENTS_EDITING','next','_instanceService','_urlService','collaboration-client.offline-data-not-saved','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','shareReplay','MUTATION','beforeCommandExecuted','_currentUsage','_entities','DataLoaderService','subscribe','9umoBib','toStringTag','Inject','extend','operators','beginPath','351296uKNKpl','endRow','DesktopCollaborationStatusDisplayController','_handleEvent','path','createSocket','currentUsage','_scene','APPLY_REJECT','use','red.300','toDisposable','isFormulaString','clipPath','FETCH_MISS','OTHER_CLIENTS_EDITING','Vector2','focused$','_configService','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','limitInfo','_setFormulaLimitStatus','_releaseCalculationLimit','transformStateCache','sessionTicket','PY_RUNTIME_SCRIPT_ERROR','transformIMECache','univerjs-icon\x20univerjs-icon-','doc.mutation.rich-text-editing','has','WebBrowserSingleActiveUnitService','USER_IS_ANONYMOUS','_docTransformStateCacheService','DocStateChangeManagerService','type','getActiveRange','measureText','setItem','REDEMPTION_CODE_FULLY_REDEEMED','UnitStatus','complete','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Loading','subunit','react/jsx-runtime','getDocRanges','RefRangeService','_initEntityListener','Rect','_updateSubUnitFromURLParams','_docSyncEditingCollabCursorService','_taskIds','unshift','_notificationService','_initCommandInterceptor','onStarting','handleIRemoveRow','bottom','getMember','min','DependentOn','_handleHover','map','_localeService','ENTITLE_DUP_SUBSCRIPTION','Warning','TEXT_RANGE_LAYER_INDEX','debounce','UNRECOGNIZED','_colorIndex','_imageIoService','collaboration.closeRoom','origin','_session','13932ZLxsyc','getSheetId','FromArray','MessageType','getCollabCursors$','getUniverSheetInstance','_checkAndWaitForCalculationPermission','purple.300','hasOwnProperty','body','SetSelectionsOperation','INVALID_INVITE_CODE','Tools','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onLocalMutation','_entityInit$','SheetSkeletonManagerService','1942435BincxM','_hover','getUnitId','getCollabEntity$','_createSocketURL','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_cursorShapes','current','getConfig','max','_render','_getSaveTimeout','filter','ICommandService','toString','get','ISnapshotServerService','YUUMI_ALL_TABLES_IS_INVALID','ISocketService','SHEET_VIEWPORT_KEY','_refRangeService','_textBubble','_eventUnsubscribe','ENTITLE_CHAT_LIMIT_EXCEED','range','split','LOGIN_FAILED','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','LOGIN_TOKEN_PROCESSING_FAILED','endColumn','UniverProCollaboration','_docSkeletonManagerService','_docSkeleton','_getSessionTicket','CollaborationSessionService','unsubscribe','useCallback','_scheduleSaving','registerRefRange','_themeService','loadOfflineData','getMemberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x56db=function(){return _0x3e7259;};return _0x56db();}(function(_0x2b6456,_0x599088){const _0x372eaa=_0x513e,_0x56f19d=_0x2b6456();while(!![]){try{const _0x5c54cc=parseInt(_0x372eaa(0x260))/0x1*(parseInt(_0x372eaa(0x13c))/0x2)+parseInt(_0x372eaa(0x11c))/0x3*(-parseInt(_0x372eaa(0x2c0))/0x4)+-parseInt(_0x372eaa(0x2d2))/0x5+-parseInt(_0x372eaa(0x25f))/0x6*(-parseInt(_0x372eaa(0x16c))/0x7)+-parseInt(_0x372eaa(0x276))/0x8+parseInt(_0x372eaa(0x270))/0x9*(-parseInt(_0x372eaa(0x336))/0xa)+parseInt(_0x372eaa(0x378))/0xb;if(_0x5c54cc===_0x599088)break;else _0x56f19d['push'](_0x56f19d['shift']());}catch(_0xb684ab){_0x56f19d['push'](_0x56f19d['shift']());}}}(_0x56db,0x7a5bd),function(_0x35f860,_0x326eb1){const _0x45cdcf=_0x513e;typeof exports==_0x45cdcf(0x348)&&typeof module<'u'?_0x326eb1(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==_0x45cdcf(0x1a1)&&define['amd']?define([_0x45cdcf(0x30c),_0x45cdcf(0x2a2),'@univerjs-pro/collaboration-client',_0x45cdcf(0x178),_0x45cdcf(0x253),_0x45cdcf(0x1e6),_0x45cdcf(0x39d),'react',_0x45cdcf(0x180),'@univerjs/sheets','@univerjs/engine-render',_0x45cdcf(0x1c9),_0x45cdcf(0x15a),'@univerjs/drawing','@univerjs-pro/collaboration',_0x45cdcf(0x36a),_0x45cdcf(0x1db),_0x45cdcf(0x258),_0x45cdcf(0x31a)],_0x326eb1):(_0x35f860=typeof globalThis<'u'?globalThis:_0x35f860||self,_0x326eb1(_0x35f860[_0x45cdcf(0x198)]={},_0x35f860[_0x45cdcf(0x376)],_0x35f860[_0x45cdcf(0x21e)],_0x35f860[_0x45cdcf(0x1c5)],_0x35f860[_0x45cdcf(0x1e5)],_0x35f860[_0x45cdcf(0x1e6)],_0x35f860[_0x45cdcf(0x164)],_0x35f860['React'],_0x35f860[_0x45cdcf(0x254)],_0x35f860[_0x45cdcf(0x15b)],_0x35f860['UniverEngineRender'],_0x35f860['UniverNetwork'],_0x35f860[_0x45cdcf(0x329)],_0x35f860[_0x45cdcf(0x206)],_0x35f860[_0x45cdcf(0x2f1)],_0x35f860[_0x45cdcf(0xfc)],_0x35f860[_0x45cdcf(0x23c)],_0x35f860[_0x45cdcf(0x1e6)][_0x45cdcf(0x274)],_0x35f860[_0x45cdcf(0x18f)]));}(this,function(_0x1e0a34,_0x27d4ff,_0x24c19b,_0x20afdc,_0x351287,_0x388e9f,_0x1e0555,_0x333f4a,_0x44fd1d,_0xecf1fb,_0x314741,_0x12e6c2,_0x4c9f55,_0x515276,_0x5d9b62,_0x52be1c,_0x5892b7,_0x309597,_0x28415e){'use strict';const _0x1bfb44=_0x513e;var _0x585670=Object[_0x1bfb44(0x38b)],_0x2af35e=(_0x4af6ce,_0x4ffddf,_0x2db5c8)=>_0x4ffddf in _0x4af6ce?_0x585670(_0x4af6ce,_0x4ffddf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2db5c8}):_0x4af6ce[_0x4ffddf]=_0x2db5c8,_0x46e3b1=(_0x4264fc,_0x597ed3,_0x10f47a)=>_0x2af35e(_0x4264fc,typeof _0x597ed3!=_0x1bfb44(0x185)?_0x597ed3+'':_0x597ed3,_0x10f47a),_0x1245a4=function(){const _0x3460f3=_0x1bfb44;return _0x1245a4=Object['assign']||function(_0x300e71){const _0x2f0d55=_0x513e;for(var _0x3c8db5,_0x1b0786=0x1,_0x58f89f=arguments[_0x2f0d55(0x31e)];_0x1b0786<_0x58f89f;_0x1b0786++){_0x3c8db5=arguments[_0x1b0786];for(var _0x41175b in _0x3c8db5)Object[_0x2f0d55(0x394)][_0x2f0d55(0x2c8)][_0x2f0d55(0x19c)](_0x3c8db5,_0x41175b)&&(_0x300e71[_0x41175b]=_0x3c8db5[_0x41175b]);}return _0x300e71;},_0x1245a4[_0x3460f3(0x183)](this,arguments);},_0x568d81=function(_0x26ee96,_0x35096e){const _0x518cfa=_0x1bfb44;var _0x19cd26={};for(var _0xc2ae61 in _0x26ee96)Object[_0x518cfa(0x394)]['hasOwnProperty'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61)&&_0x35096e[_0x518cfa(0x252)](_0xc2ae61)<0x0&&(_0x19cd26[_0xc2ae61]=_0x26ee96[_0xc2ae61]);if(_0x26ee96!=null&&typeof Object[_0x518cfa(0xf9)]=='function'){for(var _0x4405e5=0x0,_0xc2ae61=Object[_0x518cfa(0xf9)](_0x26ee96);_0x4405e5<_0xc2ae61[_0x518cfa(0x31e)];_0x4405e5++)_0x35096e['indexOf'](_0xc2ae61[_0x4405e5])<0x0&&Object[_0x518cfa(0x394)]['propertyIsEnumerable'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61[_0x4405e5])&&(_0x19cd26[_0xc2ae61[_0x4405e5]]=_0x26ee96[_0xc2ae61[_0x4405e5]]);}return _0x19cd26;},_0x779480=_0x333f4a[_0x1bfb44(0x221)](function(_0x3cfcb2,_0x324e8d){const _0xdc6fc1=_0x1bfb44;var _0x14a97f=_0x3cfcb2[_0xdc6fc1(0x1d5)],_0x588588=_0x3cfcb2['id'],_0x1c9d6d=_0x3cfcb2[_0xdc6fc1(0x129)],_0x57b948=_0x3cfcb2[_0xdc6fc1(0x273)],_0x26c4c9=_0x568d81(_0x3cfcb2,[_0xdc6fc1(0x1d5),'id',_0xdc6fc1(0x129),_0xdc6fc1(0x273)]),_0xed4cd6=_0xdc6fc1(0x291)['concat'](_0x588588,'\x20')[_0xdc6fc1(0x32f)](_0x1c9d6d||'')[_0xdc6fc1(0x239)](),_0x46f398=_0x333f4a['useRef']('_'[_0xdc6fc1(0x32f)](_0x1783ae()));return _0x2b957b(_0x14a97f,''['concat'](_0x588588),{'defIds':_0x14a97f[_0xdc6fc1(0x37f)],'idSuffix':_0x46f398[_0xdc6fc1(0x2d9)]},_0x1245a4({'ref':_0x324e8d,'className':_0xed4cd6},_0x26c4c9),_0x57b948);});function _0x2b957b(_0x28d26b,_0x480a1c,_0x16ee47,_0x5203f9,_0x2fa80e){const _0x2893d3=_0x1bfb44;return _0x333f4a[_0x2893d3(0x188)](_0x28d26b[_0x2893d3(0x1c6)],_0x1245a4(_0x1245a4({'key':_0x480a1c},_0x174e4b(_0x28d26b,_0x16ee47,_0x2fa80e)),_0x5203f9),(_0x4be73d(_0x28d26b,_0x16ee47)[_0x2893d3(0x101)]||[])[_0x2893d3(0x2b4)](function(_0x369d28,_0x54c367){const _0x4602ed=_0x2893d3;return _0x2b957b(_0x369d28,''['concat'](_0x480a1c,'-')[_0x4602ed(0x32f)](_0x28d26b[_0x4602ed(0x1c6)],'-')[_0x4602ed(0x32f)](_0x54c367),_0x16ee47,void 0x0,_0x2fa80e);}));}function _0x174e4b(_0x3a2bcd,_0xb7d4b1,_0x4063af){const _0x1b73f5=_0x1bfb44;var _0x54cc4a=_0x1245a4({},_0x3a2bcd[_0x1b73f5(0x184)]);_0x4063af!=null&&_0x4063af[_0x1b73f5(0x1f2)]&&_0x54cc4a[_0x1b73f5(0x3b1)]==='colorChannel1'&&(_0x54cc4a[_0x1b73f5(0x3b1)]=_0x4063af[_0x1b73f5(0x1f2)]),_0x3a2bcd[_0x1b73f5(0x1c6)]===_0x1b73f5(0x1d6)&&_0x54cc4a['id']&&(_0x54cc4a['id']=_0x54cc4a['id']+_0xb7d4b1['idSuffix']),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x192256){const _0xcf27b5=_0x1b73f5;var _0xbcae7=_0x192256[0x0],_0x50306d=_0x192256[0x1];_0xbcae7===_0xcf27b5(0x1d6)&&typeof _0x50306d==_0xcf27b5(0x3a9)&&(_0x54cc4a[_0xbcae7]=_0x50306d['replace'](/url\(#(.*)\)/,_0xcf27b5(0x224)[_0xcf27b5(0x32f)](_0xb7d4b1[_0xcf27b5(0x249)],')')));});var _0x16a70f=_0xb7d4b1[_0x1b73f5(0x37f)];return!_0x16a70f||_0x16a70f[_0x1b73f5(0x31e)]===0x0||(_0x3a2bcd['tag']===_0x1b73f5(0x27f)&&_0x54cc4a[_0x1b73f5(0x121)]&&(_0x54cc4a[_0x1b73f5(0x121)]=_0x54cc4a[_0x1b73f5(0x121)]+_0xb7d4b1[_0x1b73f5(0x249)]),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x20d9ee){const _0x23a816=_0x1b73f5;var _0x85460c=_0x20d9ee[0x0],_0x25615e=_0x20d9ee[0x1];typeof _0x25615e==_0x23a816(0x3a9)&&(_0x54cc4a[_0x85460c]=_0x25615e[_0x23a816(0x166)](/url\(#(.*)\)/,'url(#$1'[_0x23a816(0x32f)](_0xb7d4b1[_0x23a816(0x249)],')')));})),_0x54cc4a;}function _0x4be73d(_0x2b0cfb,_0x32b618){const _0x740d7b=_0x1bfb44;var _0x3867ec,_0x54f9d6=_0x32b618[_0x740d7b(0x37f)];return!_0x54f9d6||_0x54f9d6[_0x740d7b(0x31e)]===0x0?_0x2b0cfb:_0x2b0cfb['tag']===_0x740d7b(0x1d9)&&(!((_0x3867ec=_0x2b0cfb[_0x740d7b(0x101)])===null||_0x3867ec===void 0x0)&&_0x3867ec['length'])?_0x1245a4(_0x1245a4({},_0x2b0cfb),{'children':_0x2b0cfb[_0x740d7b(0x101)][_0x740d7b(0x2b4)](function(_0x6125c9){const _0x49d529=_0x740d7b;return typeof _0x6125c9[_0x49d529(0x184)]['id']==_0x49d529(0x3a9)&&_0x54f9d6&&_0x54f9d6[_0x49d529(0x3b0)](_0x6125c9[_0x49d529(0x184)]['id'])?_0x1245a4(_0x1245a4({},_0x6125c9),{'attrs':_0x1245a4(_0x1245a4({},_0x6125c9['attrs']),{'id':_0x6125c9[_0x49d529(0x184)]['id']+_0x32b618['idSuffix']})}):_0x6125c9;})}):_0x2b0cfb;}function _0x1783ae(){const _0x26f8f5=_0x1bfb44;return Math[_0x26f8f5(0x1fb)]()[_0x26f8f5(0x2e0)](0x24)[_0x26f8f5(0x3bf)](0x2,0x8);}_0x779480['displayName']=_0x1bfb44(0xf1);var _0x34ed98={'tag':_0x1bfb44(0x1f4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':'0\x200\x2016\x2016','width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bfb44(0x1e7)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x289),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6)}}]}]}],'defIds':[_0x1bfb44(0x233)]},_0x558722=_0x333f4a['forwardRef'](function(_0x9c77a8,_0x513e15){const _0x10c70d=_0x1bfb44;return _0x333f4a['createElement'](_0x779480,Object[_0x10c70d(0x1aa)]({},_0x9c77a8,{'id':_0x10c70d(0x259),'ref':_0x513e15,'icon':_0x34ed98}));});_0x558722[_0x1bfb44(0x191)]='OffLineIcon';var _0x125f43={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':_0x1bfb44(0x395),'width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x25d),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':_0x1bfb44(0x1d9),'attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':_0x1bfb44(0x186)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6),'transform':_0x1bfb44(0x36e)}}]}]}],'defIds':[_0x1bfb44(0x186)]},_0x392f5f=_0x333f4a[_0x1bfb44(0x221)](function(_0x138b57,_0x1da675){const _0x576612=_0x1bfb44;return _0x333f4a[_0x576612(0x188)](_0x779480,Object['assign']({},_0x138b57,{'id':_0x576612(0x20f),'ref':_0x1da675,'icon':_0x125f43}));});_0x392f5f[_0x1bfb44(0x191)]=_0x1bfb44(0x335);function _0x1055ce(_0x5698fb){const _0x162ff3=_0x1bfb44;switch(_0x5698fb){case _0x24c19b['CollaborationStatus'][_0x162ff3(0xf0)]:return _0x162ff3(0xf2);case _0x24c19b[_0x162ff3(0x190)]['CONFLICT']:return _0x162ff3(0x161);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x284)]:return _0x162ff3(0x33f);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x3c4)]:return'collabStatus.notCollab';case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x172)]:case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x106)]:return'collabStatus.syncing';case _0x24c19b['CollaborationStatus'][_0x162ff3(0x1bd)]:case _0x24c19b['CollaborationStatus'][_0x162ff3(0x17e)]:return _0x162ff3(0x368);}}function _0x355a77(_0x1a5e6d){const _0x70f199=_0x1bfb44,{status$:_0x78194a}=_0x1a5e6d,_0x1a131b=_0x351287[_0x70f199(0x2fe)](_0x78194a,_0x24c19b[_0x70f199(0x190)][_0x70f199(0x3c4)]),_0x2547d1=_0x351287['useDependency'](_0x20afdc[_0x70f199(0x115)]),_0x32ecb7=_0x351287[_0x70f199(0x385)](_0x24c19b[_0x70f199(0x2f5)]),_0x3ba3dd=_0x1a131b!==_0x24c19b['CollaborationStatus']['OFFLINE'],_0x45eda7=_0x2547d1['t'](_0x1055ce(_0x1a131b)),_0x5ce372=_0x3ba3dd?_0x27d4ff['jsx'](_0x392f5f,{}):_0x27d4ff[_0x70f199(0x3c0)](_0x558722,{}),_0x2b5dc0=_0x333f4a[_0x70f199(0x2f7)](()=>{const _0x2d2bc6=_0x70f199;_0x3ba3dd||_0x32ecb7[_0x2d2bc6(0x1a0)]();},[_0x3ba3dd,_0x32ecb7]);function _0x5e551e(){const _0x1baf98=_0x70f199;return _0x27d4ff[_0x1baf98(0x1c8)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x219),'onClick':_0x2b5dc0,'children':[_0x27d4ff[_0x1baf98(0x3c0)]('div',{'className':_0x1e0555[_0x1baf98(0x309)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3ba3dd,'univer-text-red-500':!_0x3ba3dd}),'children':_0x5ce372}),_0x27d4ff[_0x1baf98(0x3c0)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x1dc),'children':_0x45eda7})]});}return _0x3ba3dd?_0x5e551e():_0x27d4ff['jsx'](_0x1e0555['Tooltip'],{'title':_0x2547d1['t'](_0x70f199(0x197)),'children':_0x5e551e()});}var _0x474dfe=Object['getOwnPropertyDescriptor'],_0x2a5508=(_0x3ebe2d,_0x54ae2b,_0x37da11,_0x26da89)=>{for(var _0x190f2b=_0x26da89>0x1?void 0x0:_0x26da89?_0x474dfe(_0x54ae2b,_0x37da11):_0x54ae2b,_0x5cf1bf=_0x3ebe2d['length']-0x1,_0x1f2970;_0x5cf1bf>=0x0;_0x5cf1bf--)(_0x1f2970=_0x3ebe2d[_0x5cf1bf])&&(_0x190f2b=_0x1f2970(_0x190f2b)||_0x190f2b);return _0x190f2b;},_0x3a8d27=(_0x43ad9e,_0x40cfe3)=>(_0x3525a3,_0x480187)=>_0x40cfe3(_0x3525a3,_0x480187,_0x43ad9e);_0x1e0a34[_0x1bfb44(0x278)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5aae33,_0xeafd68,_0x28df07,_0x35b576){const _0x229884=_0x1bfb44;super(),_0x46e3b1(this,_0x229884(0x1d7),new _0x388e9f[(_0x229884(0x1ca))](_0x24c19b[_0x229884(0x190)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5aae33,this[_0x229884(0x319)]=_0xeafd68,this['_collaborationController']=_0x28df07,this[_0x229884(0x131)]=_0x35b576,this[_0x229884(0x34c)](),this['_initStatusListener']());}[_0x1bfb44(0x38c)](){const _0xf1dfd6=_0x1bfb44;this[_0xf1dfd6(0x37d)](this[_0xf1dfd6(0x154)][_0xf1dfd6(0x287)][_0xf1dfd6(0xee)](_0x388e9f[_0xf1dfd6(0x325)](()=>{const _0x356f25=_0xf1dfd6,_0x3db1df=this[_0x356f25(0x154)][_0x356f25(0x339)]();return _0x3db1df?this['_collaborationController'][_0x356f25(0x2d5)](_0x3db1df[_0x356f25(0x2d4)]()):_0x388e9f['of'](null);}),_0x388e9f[_0xf1dfd6(0x325)](_0x534690=>_0x534690?_0x534690[_0xf1dfd6(0x149)]:_0x388e9f['of'](_0x24c19b[_0xf1dfd6(0x190)][_0xf1dfd6(0x3c4)])))[_0xf1dfd6(0x26f)](_0x18239b=>{const _0x19ee2e=_0xf1dfd6;this[_0x19ee2e(0x1d7)][_0x19ee2e(0x264)](_0x18239b);}));}[_0x1bfb44(0x34c)](){const _0x231947=_0x1bfb44;this[_0x231947(0x37d)](this[_0x231947(0x131)]['registerComponent'](_0x351287['BuiltInUIPart']['HEADER_MENU'],()=>_0x351287[_0x231947(0x1b9)](_0x2f844f({'status$':this['_status$'][_0x231947(0x1cf)]()}),this[_0x231947(0x319)])));}},_0x1e0a34[_0x1bfb44(0x278)]=_0x2a5508([_0x3a8d27(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x3a8d27(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x3a8d27(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x3ac)])),_0x3a8d27(0x3,_0x351287['IUIPartsService'])],_0x1e0a34['DesktopCollaborationStatusDisplayController']);function _0x2f844f(_0x77555a){const {status$:_0x5a6c35}=_0x77555a;return function(){const _0x18ffa5=_0x513e;return _0x27d4ff[_0x18ffa5(0x3c0)](_0x355a77,{'status$':_0x5a6c35});};}const _0x562000=_0x20afdc[_0x1bfb44(0x12a)](_0x1bfb44(0x332));var _0x4e6585=Object[_0x1bfb44(0x3af)],_0x5acf67=(_0x15814e,_0x560e8f,_0x6ca113,_0x404d23)=>{for(var _0x352f1a=_0x404d23>0x1?void 0x0:_0x404d23?_0x4e6585(_0x560e8f,_0x6ca113):_0x560e8f,_0x4bbd55=_0x15814e['length']-0x1,_0x431e0c;_0x4bbd55>=0x0;_0x4bbd55--)(_0x431e0c=_0x15814e[_0x4bbd55])&&(_0x352f1a=_0x431e0c(_0x352f1a)||_0x352f1a);return _0x352f1a;},_0x5380bc=(_0x3cfcd2,_0x10f03f)=>(_0x1190bf,_0x42fb55)=>_0x10f03f(_0x1190bf,_0x42fb55,_0x3cfcd2);_0x1e0a34[_0x1bfb44(0x104)]=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x30fbda,_0x62729,_0x93b189,_0x20336f,_0x269c34){const _0xbd2442=_0x1bfb44;super(),this[_0xbd2442(0x266)]=_0x30fbda,this[_0xbd2442(0x310)]=_0x62729,this[_0xbd2442(0x22a)]=_0x93b189,this['_dataLoaderService']=_0x20336f,_0x269c34?_0x269c34==null||_0x269c34[_0xbd2442(0x11b)]()['then'](()=>this['_init']()):(this[_0xbd2442(0x310)]['debug'](_0xbd2442(0x108),_0xbd2442(0x2ce)),this[_0xbd2442(0x357)]());}async['_init'](){const _0x33756f=_0x1bfb44,_0x224b89=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x32a)),_0x1895ea=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x298)),_0x144801=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x2a1));if(!_0x224b89||!_0x1895ea){this[_0x33756f(0x310)][_0x33756f(0x2cd)](_0x33756f(0x108),_0x33756f(0x2fd));return;}const _0x38d0eb=await this[_0x33756f(0x31c)][_0x33756f(0x3a5)](_0x224b89,Number(_0x1895ea),_0x144801);_0x38d0eb&&_0x38d0eb instanceof _0x20afdc['Workbook']&&this[_0x33756f(0x19a)](_0x38d0eb);}async[_0x1bfb44(0x19a)](_0x3d7072){const _0x12edfd=_0x1bfb44;await this[_0x12edfd(0x2a7)](_0x3d7072),_0x3d7072[_0x12edfd(0x324)][_0x12edfd(0xee)](_0x388e9f['takeUntil'](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](_0xfe2339=>{const _0x1b17c6=_0x12edfd;_0xfe2339&&this[_0x1b17c6(0x24e)](_0xfe2339);}),this[_0x12edfd(0x266)]['urlChange$'][_0x12edfd(0xee)](_0x388e9f[_0x12edfd(0x200)](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](()=>this[_0x12edfd(0x2a7)](_0x3d7072));}[_0x1bfb44(0x24e)](_0x13c54d,_0x3087d4=!0x1){const _0x5f2244=_0x1bfb44,_0x5c1385=this[_0x5f2244(0x266)][_0x5f2244(0x3b6)]('subunit');_0x13c54d[_0x5f2244(0x2c1)]()!==_0x5c1385&&this['_urlService'][_0x5f2244(0x313)](_0x5f2244(0x2a1),_0x13c54d['getSheetId'](),_0x3087d4);}async[_0x1bfb44(0x2a7)](_0x11a09d){const _0x2055e3=_0x1bfb44;var _0x16c45f;const _0xabead4=this[_0x2055e3(0x266)][_0x2055e3(0x3b6)](_0x2055e3(0x2a1));if(!_0xabead4||!_0x11a09d[_0x2055e3(0x1be)](_0xabead4)){const _0x371af4=_0x11a09d[_0x2055e3(0x1c1)]()[0x0],_0x3b6f56=_0x11a09d['getSheetBySheetId'](_0x371af4);if(!_0x3b6f56)return;this[_0x2055e3(0x24e)](_0x3b6f56,!0x0),await this[_0x2055e3(0x22a)][_0x2055e3(0x350)](_0xecf1fb[_0x2055e3(0x20d)]['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0x371af4});return;}((_0x16c45f=_0x11a09d[_0x2055e3(0x1f3)]())==null?void 0x0:_0x16c45f[_0x2055e3(0x2c1)]())!==_0xabead4&&await this['_commandService']['executeCommand'](_0xecf1fb['SetWorksheetActivateCommand']['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0xabead4});}},_0x1e0a34['CollaborationDataLoaderController']=_0x5acf67([_0x5380bc(0x0,_0x562000),_0x5380bc(0x1,_0x20afdc[_0x1bfb44(0x14d)]),_0x5380bc(0x2,_0x20afdc[_0x1bfb44(0x2df)]),_0x5380bc(0x3,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x26e)])),_0x5380bc(0x4,_0x20afdc['Optional'](_0x44fd1d['IRemoteInstanceService']))],_0x1e0a34[_0x1bfb44(0x104)]);var _0x20043c=Object['getOwnPropertyDescriptor'],_0xa17e77=(_0x271ecf,_0x4bed31,_0x4e5c7f,_0x34ad3a)=>{const _0x14e8f9=_0x1bfb44;for(var _0x459ab1=_0x34ad3a>0x1?void 0x0:_0x34ad3a?_0x20043c(_0x4bed31,_0x4e5c7f):_0x4bed31,_0x4f94ba=_0x271ecf[_0x14e8f9(0x31e)]-0x1,_0x194823;_0x4f94ba>=0x0;_0x4f94ba--)(_0x194823=_0x271ecf[_0x4f94ba])&&(_0x459ab1=_0x194823(_0x459ab1)||_0x459ab1);return _0x459ab1;},_0x8ca4fc=(_0x3f0068,_0x5e0b94)=>(_0x4c135e,_0x5efd8a)=>_0x5e0b94(_0x4c135e,_0x5efd8a,_0x3f0068);let _0xdd87ee=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x1fb7e4,_0x4b6c21){const _0x4b1136=_0x1bfb44;super(),this[_0x4b1136(0x1f1)]=_0x1fb7e4,this[_0x4b1136(0x2bc)]=_0x4b6c21,this[_0x4b1136(0x357)]();}[_0x1bfb44(0x357)](){const _0x516a82=_0x1bfb44,_0xea1424=this;this[_0x516a82(0x37d)](this['_docClipboardService'][_0x516a82(0x340)]({'onBeforePasteImage':async _0x1dc675=>{const _0x41c63d=_0x516a82,_0x5c76a7=await _0xea1424[_0x41c63d(0x2bc)][_0x41c63d(0x17b)](_0x1dc675);return _0x5c76a7?{'source':_0x5c76a7[_0x41c63d(0x25c)],'imageSourceType':_0x5c76a7[_0x41c63d(0x396)]}:null;}}));}};_0xdd87ee=_0xa17e77([_0x8ca4fc(0x0,_0x4c9f55['IDocClipboardService']),_0x8ca4fc(0x1,_0x515276[_0x1bfb44(0x13d)])],_0xdd87ee);const _0x5351e1=[_0x1bfb44(0x2c7),_0x1bfb44(0x1fe),_0x1bfb44(0x1b6),_0x1bfb44(0x280),_0x1bfb44(0x1ea),_0x1bfb44(0x109)];class _0x16366d extends _0x20afdc['Disposable']{constructor(){const _0xee93e=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0xee93e(0x167),new Map()),_0x46e3b1(this,_0xee93e(0x2bb),0x0);}[_0x1bfb44(0x111)](_0x1b8455){const _0x3c123d=_0x1bfb44;if(this['_assignedColors']['has'](_0x1b8455))return this[_0x3c123d(0x167)][_0x3c123d(0x2e1)](_0x1b8455);const _0x90ea94=_0x5351e1[this[_0x3c123d(0x2bb)]];return this[_0x3c123d(0x2bb)]=(this[_0x3c123d(0x2bb)]+0x1)%_0x5351e1['length'],this[_0x3c123d(0x167)]['set'](_0x1b8455,_0x90ea94),_0x90ea94;}}function _0x5290fc(_0x4930c4){let _0x192f66='';for(const _0x5dbeae of _0x4930c4){const {startOffset:_0x39ec3d,endOffset:_0x3005ba,isActive:_0x2154db,rangeType:_0x565cd8,segmentId:_0x260b4e,segmentPage:_0x5844d0}=_0x5dbeae;_0x192f66['length']&&(_0x192f66+=','),_0x192f66+=_0x39ec3d+':'+_0x3005ba+':'+(_0x2154db?'1':'0')+':'+_0x565cd8+':'+_0x260b4e+':'+_0x5844d0;}return _0x192f66;}function _0x240331(_0x1188b9){const _0x123698=_0x1bfb44,_0x19cd97=_0x1188b9[_0x123698(0x2eb)](','),_0xeb1d3b=[];for(const _0x2fb3c5 of _0x19cd97){const [_0x12e152,_0x304687,_0x568f45,_0x6dcd92,_0x7ba2fe,_0x357ed9]=_0x2fb3c5[_0x123698(0x2eb)](':');_0xeb1d3b['push']({'startOffset':Number(_0x12e152),'endOffset':Number(_0x304687),'collapsed':_0x12e152===_0x304687,'isActive':_0x568f45==='1','rangeType':_0x6dcd92===_0x20afdc['DOC_RANGE_TYPE']['TEXT']?_0x20afdc[_0x123698(0x237)][_0x123698(0x304)]:_0x20afdc['DOC_RANGE_TYPE'][_0x123698(0x1bb)],'segmentId':typeof _0x7ba2fe==_0x123698(0x3a9)?String(_0x7ba2fe):'','segmentPage':Number(_0x357ed9!=null?_0x357ed9:-0x1)});}return _0xeb1d3b[_0x123698(0x334)](_0x27920a=>_0x27920a[_0x123698(0x308)])||(_0xeb1d3b[0x0][_0x123698(0x308)]=!0x0),_0xeb1d3b;}class _0x2a0bd extends _0x20afdc[_0x1bfb44(0x367)]{constructor(){const _0x1ccc4c=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0x1ccc4c(0x3c2),new _0x388e9f[(_0x1ccc4c(0x1ca))](null)),_0x46e3b1(this,_0x1ccc4c(0x177),this[_0x1ccc4c(0x3c2)][_0x1ccc4c(0x1cf)]());}[_0x1bfb44(0x39a)](_0x239be9){const _0x396f72=_0x1bfb44,{unitID:_0x2c2e8b,memberID:_0x2580e8,textRanges:_0x1952aa}=_0x239be9,_0x336940=_0x5290fc(_0x1952aa);if(_0x336940==='')return;const _0x45b14c={'unitID':_0x2c2e8b,'memberID':_0x2580e8,'selection':_0x336940};this[_0x396f72(0x3c2)]['next'](_0x45b14c);}}var _0x33a76d=Object[_0x1bfb44(0x3af)],_0x3ee934=(_0x33addf,_0x44dea7,_0x206849,_0x9c6b9a)=>{const _0x2846a4=_0x1bfb44;for(var _0x19ef10=_0x9c6b9a>0x1?void 0x0:_0x9c6b9a?_0x33a76d(_0x44dea7,_0x206849):_0x44dea7,_0x1fe200=_0x33addf[_0x2846a4(0x31e)]-0x1,_0x5331cd;_0x1fe200>=0x0;_0x1fe200--)(_0x5331cd=_0x33addf[_0x1fe200])&&(_0x19ef10=_0x5331cd(_0x19ef10)||_0x19ef10);return _0x19ef10;},_0x585ae8=(_0x1cbe15,_0x5b4d7f)=>(_0x4d42d6,_0x12f76a)=>_0x5b4d7f(_0x4d42d6,_0x12f76a,_0x1cbe15);const _0x2519f8=0x12c,_0x489da2=0x64;let _0x12fca2=class extends _0x20afdc['RxDisposable']{constructor(_0x422092,_0xdf977,_0x22a791,_0x2e9a4f,_0x1087c1,_0x3a4b84,_0x32f478,_0x5ef077,_0x255972){const _0x679ec7=_0x1bfb44;super(),_0x46e3b1(this,_0x679ec7(0x3b7),!0x1),_0x46e3b1(this,_0x679ec7(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f[(_0x679ec7(0x1ca))](new Map())),_0x46e3b1(this,_0x679ec7(0x33d),this[_0x679ec7(0x1b8)][_0x679ec7(0x1cf)]()),_0x46e3b1(this,_0x679ec7(0x1de),new _0x388e9f[(_0x679ec7(0x1ca))]([])),_0x46e3b1(this,_0x679ec7(0x22e),this[_0x679ec7(0x1de)]['pipe'](_0x388e9f[_0x679ec7(0x305)](_0x2519f8))),_0x46e3b1(this,_0x679ec7(0x229),_0x20afdc['debounce'](_0x4bffe4=>{const _0x1943b3=_0x679ec7,_0x516138={'eventID':_0x5d9b62[_0x1943b3(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1943b3(0x1c4)],'memberID':this[_0x1943b3(0x2bf)]['getMemberID'](),'selection':_0x5290fc(_0x4bffe4)}};this[_0x1943b3(0x2bf)]['send'](_0x516138,this[_0x1943b3(0x1c4)]);},_0x489da2)),(this['unitID']=_0x422092,this[_0x679ec7(0x2bf)]=_0xdf977,this['_injector']=_0x22a791,this['_colorAssignService']=_0x2e9a4f,this[_0x679ec7(0x3a8)]=_0x1087c1,this[_0x679ec7(0x311)]=_0x3a4b84,this['_transformService']=_0x32f478,this[_0x679ec7(0x154)]=_0x5ef077,this['_commandService']=_0x255972);}get[_0x1bfb44(0x128)](){const _0x978d63=_0x1bfb44;return this[_0x978d63(0x1b8)][_0x978d63(0x143)]();}get[_0x1bfb44(0x3a1)](){const _0x53f3df=_0x1bfb44;return this[_0x53f3df(0x1de)]['getValue']();}[_0x1bfb44(0x201)](){const _0x2868c2=_0x1bfb44;super[_0x2868c2(0x201)](),this[_0x2868c2(0x1b8)][_0x2868c2(0x264)](new Map()),this[_0x2868c2(0x1b8)]['complete'](),this[_0x2868c2(0x1de)]['next']([]),this[_0x2868c2(0x1de)][_0x2868c2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x292ae6=_0x1bfb44;this[_0x292ae6(0x357)]||(this[_0x292ae6(0x357)]=!0x0,this['_session']['sessionStatus$'][_0x292ae6(0xee)](_0x388e9f['takeUntil'](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x204e78=>{const _0x2b2832=_0x292ae6;_0x204e78===_0x24c19b['SessionStatus'][_0x2b2832(0x338)]?this['_toggleOnline']():this[_0x2b2832(0x3b2)]();}),this['_session'][_0x292ae6(0x163)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x1675e2=>{const _0x2f006b=_0x292ae6,_0x22fdf8=_0x1675e2[_0x2f006b(0x246)];_0x22fdf8===_0x5d9b62['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2f006b(0x341)](_0x1675e2),_0x22fdf8===_0x5d9b62[_0x2f006b(0x10e)][_0x2f006b(0x364)]&&this[_0x2f006b(0x1f5)](_0x1675e2);}),this['disposeWithMe'](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x4ee0fd=>{const _0x4bc8f2=_0x292ae6,_0x581f92=_0x4ee0fd['params'];_0x581f92!=null&&this[_0x4bc8f2(0x3b7)]&&_0x4ee0fd['id']===_0x52be1c['SetTextSelectionsOperation']['id']&&_0x581f92[_0x4bc8f2(0x31d)]===this['unitID']&&_0x581f92['isEditing']===!0x1&&_0x581f92[_0x4bc8f2(0x1ad)]['length']>0x0&&this[_0x4bc8f2(0x229)](_0x581f92['ranges']);})),this[_0x292ae6(0x311)][_0x292ae6(0x177)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))['subscribe'](_0x268671=>{const _0x3c550c=_0x292ae6;if((_0x268671==null?void 0x0:_0x268671['unitID'])!==this[_0x3c550c(0x1c4)])return;const _0x31169a={'eventID':_0x5d9b62[_0x3c550c(0x10e)][_0x3c550c(0x179)],'data':_0x268671};this['_onCursorUpdate'](_0x31169a);}),this[_0x292ae6(0x37d)](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x245323=>{const _0x395377=_0x292ae6;if(_0x245323[_0x395377(0x317)]==null)return;const _0xdcf8a0=_0x245323[_0x395377(0x317)];if(_0x245323['id']!==_0x52be1c[_0x395377(0x345)]['id']||_0xdcf8a0['unitId']!==this[_0x395377(0x1c4)])return;const _0x3577d0={'id':'doc.mutation.rich-text-editing','params':_0xdcf8a0},_0xf1629b=this[_0x395377(0x128)];for(const [_0x462b4f,_0x338ee6]of _0xf1629b){const _0x567710={'id':_0x395377(0x292),'params':{'unitId':this[_0x395377(0x1c4)],'actions':null,'textRanges':_0x338ee6[_0x395377(0x1ad)]}},_0x476ddf=this[_0x395377(0x213)]['transformMutation'](_0x3577d0,_0x567710,!0x1);if(_0x5d9b62[_0x395377(0x3b3)](_0x476ddf))throw _0x476ddf['error'];_0xf1629b['set'](_0x462b4f,{..._0x338ee6,'ranges':_0x476ddf[_0x395377(0x223)][_0x395377(0x317)]['textRanges']});}queueMicrotask(()=>{const _0x276f8e=_0x395377;this[_0x276f8e(0x1b8)][_0x276f8e(0x264)](_0xf1629b);});})));}['_onCursorUpdate'](_0x3de0f4){const _0x452cd6=_0x1bfb44;var _0x3a1598,_0x12c96a;const {memberID:_0x5093d1,selection:_0x3e65db}=_0x3de0f4[_0x452cd6(0x160)],_0x3e7a58=_0x240331(_0x3e65db),_0x243fa1=(_0x12c96a=(_0x3a1598=this[_0x452cd6(0x3a8)][_0x452cd6(0x2b0)](this[_0x452cd6(0x1c4)],_0x5093d1))==null?void 0x0:_0x3a1598[_0x452cd6(0x17f)])!=null?_0x12c96a:_0x452cd6(0x218),_0x5ec1ac={'color':this[_0x452cd6(0x30d)][_0x452cd6(0x111)](_0x5093d1),'name':_0x243fa1,'ranges':_0x3e7a58},_0x5cfef0=this[_0x452cd6(0x128)];_0x5cfef0[_0x452cd6(0x165)](_0x5093d1,_0x5ec1ac),this[_0x452cd6(0x1b8)][_0x452cd6(0x264)](_0x5cfef0);}[_0x1bfb44(0x1f5)](_0x599d3d){const _0x2e3ca4=_0x1bfb44,{memberID:_0xaf1487}=_0x599d3d[_0x2e3ca4(0x160)],_0x119edf=this[_0x2e3ca4(0x128)];_0x119edf[_0x2e3ca4(0x181)](_0xaf1487),this[_0x2e3ca4(0x1b8)][_0x2e3ca4(0x264)](_0x119edf);}['_toggleOnline'](){const _0x3e8a0d=_0x1bfb44;var _0x37ce4b;if(this['_online']=!0x0,((_0x37ce4b=this[_0x3e8a0d(0x154)]['getFocusedUnit']())==null?void 0x0:_0x37ce4b[_0x3e8a0d(0x2d4)]())!==this[_0x3e8a0d(0x1c4)])return;const _0x4c853b=this['_injector']['get'](_0x52be1c['DocSelectionManagerService'])[_0x3e8a0d(0x2a3)]();Array[_0x3e8a0d(0x140)](_0x4c853b)&&_0x4c853b[_0x3e8a0d(0x31e)]>0x0&&this[_0x3e8a0d(0x229)](_0x4c853b);}[_0x1bfb44(0x3b2)](){const _0x11dbc7=_0x1bfb44;this[_0x11dbc7(0x3b7)]=!0x1;}};_0x12fca2=_0x3ee934([_0x585ae8(0x2,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x585ae8(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x16366d)),_0x585ae8(0x4,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x1e3)])),_0x585ae8(0x5,_0x20afdc[_0x1bfb44(0x272)](_0x2a0bd)),_0x585ae8(0x6,_0x5d9b62['ITransformService']),_0x585ae8(0x7,_0x20afdc[_0x1bfb44(0xef)]),_0x585ae8(0x8,_0x20afdc[_0x1bfb44(0x2df)])],_0x12fca2);var _0x352533=Object['getOwnPropertyDescriptor'],_0xbe3023=(_0x15ec3b,_0x59a2f1,_0x2cc58a,_0x3e807a)=>{const _0x2dd0cb=_0x1bfb44;for(var _0x6a4a3=_0x3e807a>0x1?void 0x0:_0x3e807a?_0x352533(_0x59a2f1,_0x2cc58a):_0x59a2f1,_0x113f75=_0x15ec3b[_0x2dd0cb(0x31e)]-0x1,_0x4280c8;_0x113f75>=0x0;_0x113f75--)(_0x4280c8=_0x15ec3b[_0x113f75])&&(_0x6a4a3=_0x4280c8(_0x6a4a3)||_0x6a4a3);return _0x6a4a3;},_0x485139=(_0xd6e9a5,_0x7d6e24)=>(_0x1e3bb7,_0x4442d9)=>_0x7d6e24(_0x1e3bb7,_0x4442d9,_0xd6e9a5);const _0x5f3c91=0x12c,_0x29d943=0x64,_0x4466a5=()=>{let _0x473bc8=[],_0x1d8f7b=!0x1;return _0x2b70da=>{const _0x550e2a=_0x513e;_0x473bc8[_0x550e2a(0x211)](_0x2b70da),_0x1d8f7b||(_0x1d8f7b=!0x0,setTimeout(()=>{_0x473bc8['forEach'](_0x4ae655=>_0x4ae655()),_0x473bc8=[],_0x1d8f7b=!0x1;}));};};let _0x547fbf=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x17a0bd,_0x4e9ad1,_0x98484,_0x590cba,_0x407d5d,_0x24f467,_0x5a30d1,_0x27d1a5){const _0x21b628=_0x1bfb44;super(),_0x46e3b1(this,_0x21b628(0x3b7),!0x1),_0x46e3b1(this,_0x21b628(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f['BehaviorSubject'](new Map())),_0x46e3b1(this,'cursorInfo$',this[_0x21b628(0x1b8)][_0x21b628(0x1cf)]()),_0x46e3b1(this,_0x21b628(0x1de),new _0x388e9f[(_0x21b628(0x1ca))]([])),_0x46e3b1(this,_0x21b628(0x22e),this[_0x21b628(0x1de)]['pipe'](_0x388e9f['debounceTime'](_0x5f3c91))),_0x46e3b1(this,_0x21b628(0x229),_0x20afdc[_0x21b628(0x2b9)]((_0x16b1ed,_0x46ac0e)=>{const _0xf8a319=_0x21b628,_0x1dbdd6={'eventID':_0x5d9b62[_0xf8a319(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xf8a319(0x1c4)],'memberID':this['_session'][_0xf8a319(0x2fc)](),'selection':_0x5892b7[_0xf8a319(0x17d)](_0x16b1ed,_0x46ac0e[_0xf8a319(0x2ea)])}};this[_0xf8a319(0x2bf)][_0xf8a319(0xf7)](_0x1dbdd6,this[_0xf8a319(0x1c4)]);},_0x29d943)),(this[_0x21b628(0x1c4)]=_0x17a0bd,this[_0x21b628(0x2bf)]=_0x4e9ad1,this[_0x21b628(0x319)]=_0x98484,this['_colorAssignService']=_0x590cba,this[_0x21b628(0x3a8)]=_0x407d5d,this['_univerInstanceService']=_0x24f467,this['_commandService']=_0x5a30d1,this[_0x21b628(0x2e6)]=_0x27d1a5);}get[_0x1bfb44(0x128)](){const _0x51fa36=_0x1bfb44;return this[_0x51fa36(0x1b8)]['getValue']();}get[_0x1bfb44(0x3a1)](){const _0x72155d=_0x1bfb44;return this[_0x72155d(0x1de)][_0x72155d(0x143)]();}[_0x1bfb44(0x201)](){const _0x40bbe2=_0x1bfb44;super[_0x40bbe2(0x201)](),this['_cursorInfo$'][_0x40bbe2(0x264)](new Map()),this[_0x40bbe2(0x1b8)][_0x40bbe2(0x29e)](),this['_roomMembers$'][_0x40bbe2(0x264)]([]),this[_0x40bbe2(0x1de)][_0x40bbe2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x22a327=_0x1bfb44;this[_0x22a327(0x357)]||(this[_0x22a327(0x357)]=!0x0,this[_0x22a327(0x2bf)]['sessionStatus$']['pipe'](_0x388e9f[_0x22a327(0x200)](this[_0x22a327(0x318)]))[_0x22a327(0x26f)](_0x2f6e66=>{const _0x513645=_0x22a327;_0x2f6e66===_0x24c19b[_0x513645(0x36c)][_0x513645(0x338)]?this[_0x513645(0x342)]():this[_0x513645(0x3b2)]();}),this['_session'][_0x22a327(0x163)][_0x22a327(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x22a327(0x26f)](_0x5d5931=>{const _0x4bda26=_0x22a327,_0x337f8c=_0x5d5931['eventID'];_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['UPDATE_CURSOR']&&this[_0x4bda26(0x341)](_0x5d5931),_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['USERS_LEAVE']&&this[_0x4bda26(0x1f5)](_0x5d5931);}),this[_0x22a327(0x1e0)](),this['disposeWithMe'](this[_0x22a327(0x22a)]['onCommandExecuted'](_0x298b02=>{const _0x160382=_0x22a327;if(this[_0x160382(0x3b7)]&&_0x298b02['id']===_0xecf1fb[_0x160382(0x2ca)]['id']&&_0x298b02[_0x160382(0x317)][_0x160382(0x31d)]===this['unitID']){const _0x26dcd7=_0x298b02[_0x160382(0x317)];this['_updateLocalCursor'](_0x26dcd7[_0x160382(0x19d)],_0x26dcd7[_0x160382(0x127)][0x0]);}})));}[_0x1bfb44(0x341)](_0x73dbcd){const _0x498b36=_0x1bfb44;var _0x5330e3,_0x30e40a;const {memberID:_0x1fc973,selection:_0x3f2f29}=_0x73dbcd[_0x498b36(0x160)],{sheetName:_0x5bd0c8,range:_0x1ca72e}=_0x5892b7['deserializeRangeWithSheet'](_0x3f2f29),_0x5cfef3={'name':(_0x30e40a=(_0x5330e3=this[_0x498b36(0x3a8)][_0x498b36(0x2b0)](this[_0x498b36(0x1c4)],_0x1fc973))==null?void 0x0:_0x5330e3[_0x498b36(0x17f)])!=null?_0x30e40a:_0x498b36(0x218),'range':this[_0x498b36(0x34b)](_0x5bd0c8,_0x1ca72e),'sheetID':_0x5bd0c8,'color':this[_0x498b36(0x30d)][_0x498b36(0x111)](_0x1fc973),'selection':_0x3f2f29},_0x2e636a=this[_0x498b36(0x128)];_0x2e636a[_0x498b36(0x165)](_0x1fc973,_0x5cfef3),this[_0x498b36(0x1b8)][_0x498b36(0x264)](_0x2e636a);}[_0x1bfb44(0x1f5)](_0x25afb9){const _0x36b2ba=_0x1bfb44,{memberID:_0x36392d}=_0x25afb9['data'],_0x4e7080=this[_0x36b2ba(0x128)];_0x4e7080[_0x36b2ba(0x181)](_0x36392d),this[_0x36b2ba(0x1b8)]['next'](_0x4e7080);}[_0x1bfb44(0x34b)](_0x390d23,_0x22be25){const _0x42ab3f=_0x1bfb44;var _0x4af6fd,_0x402c3e;const _0x1c3214=(_0x402c3e=(_0x4af6fd=this[_0x42ab3f(0x154)][_0x42ab3f(0x2c5)](this[_0x42ab3f(0x1c4)]))==null?void 0x0:_0x4af6fd[_0x42ab3f(0x1be)](_0x390d23))==null?void 0x0:_0x402c3e[_0x42ab3f(0x153)]();return(_0x1c3214==null?void 0x0:_0x1c3214[_0x42ab3f(0x15c)](_0x1ef7e3=>_0x20afdc[_0x42ab3f(0x1e8)][_0x42ab3f(0x16a)](_0x1ef7e3,_0x22be25)))||_0x22be25;}['_onRefRangeChange'](){const _0x5a519d=_0x1bfb44,_0x362ea9=new _0x20afdc[(_0x5a519d(0x34a))](),_0x16a691=_0x4466a5(),_0x1fd9f8=()=>{const _0x35a9dc=_0x5a519d;_0x362ea9['dispose']();const _0x442038=(_0x12df0a,_0x4dba01,_0x1a29ca,_0x3db296)=>{const _0x5eeba7=_0x513e;let _0x33c7de=[];switch(_0x12df0a['id']){case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x251)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x22d)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x38e)]:{_0x33c7de=_0xecf1fb['handleDeleteRangeMoveUp'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x1a3)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x242)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x15f)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x3ad)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x386)]:{_0x33c7de=_0xecf1fb['handleInsertRangeMoveRight'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)]['InsertRowCommandId']:{_0x33c7de=_0xecf1fb['handleInsertRow'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x3ba)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x214)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x323)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x245)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x382)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x2ae)](_0x12df0a,_0x3db296);break;}}const _0x43de92=_0xecf1fb[_0x5eeba7(0x1d4)](_0x33c7de,_0x3db296),_0xaad7ee=this[_0x5eeba7(0x128)][_0x5eeba7(0x2e1)](_0x4dba01);if(_0xaad7ee&&_0x43de92){const _0x55461f={..._0xaad7ee,'range':_0x43de92};this[_0x5eeba7(0x128)][_0x5eeba7(0x165)](_0x4dba01,_0x55461f),_0x16a691(()=>{const _0x11aa59=_0x5eeba7,_0x2dca33=this[_0x11aa59(0x2e6)]['registerRefRange'](_0x43de92,_0x3cb1cf=>(_0x2dca33[_0x11aa59(0x201)](),_0x442038(_0x3cb1cf,_0x4dba01,_0x1a29ca,_0x43de92)));_0x362ea9['add'](_0x2dca33);});}return{'redos':[],'undos':[]};};this[_0x35a9dc(0x128)][_0x35a9dc(0x30f)]((_0xa7f3dc,_0x450dc7)=>{const _0x136011=_0x35a9dc,{range:_0x1c9976,sheetID:_0x13ed3d}=_0xa7f3dc,_0x537f5b=this['_refRangeService'][_0x136011(0x2f9)](_0x1c9976,_0x2823c8=>(_0x537f5b['dispose'](),_0x442038(_0x2823c8,_0x450dc7,_0x13ed3d,_0x1c9976)));_0x362ea9['add'](_0x537f5b);});};this['disposeWithMe'](_0x20afdc[_0x5a519d(0x281)](this[_0x5a519d(0x1b8)][_0x5a519d(0x26f)](()=>{_0x1fd9f8();})));}[_0x1bfb44(0x342)](){const _0xbfd8f9=_0x1bfb44;var _0x25c2d2,_0x513571;if(this[_0xbfd8f9(0x3b7)]=!0x0,((_0x25c2d2=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x339)]())==null?void 0x0:_0x25c2d2[_0xbfd8f9(0x2d4)]())!==this['unitID'])return;const _0x1e71d7=(_0x513571=this[_0xbfd8f9(0x319)][_0xbfd8f9(0x2e1)](_0xecf1fb[_0xbfd8f9(0x19b)])[_0xbfd8f9(0x1c2)]())==null?void 0x0:_0x513571[0x0],_0x15f9c4=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x3c5)](_0x20afdc['UniverInstanceType'][_0xbfd8f9(0x33c)])[_0xbfd8f9(0x1f3)]();_0x1e71d7&&_0x15f9c4&&this[_0xbfd8f9(0x229)](_0x15f9c4[_0xbfd8f9(0x2c1)](),_0x1e71d7);}[_0x1bfb44(0x3b2)](){const _0x2c2bad=_0x1bfb44;this[_0x2c2bad(0x3b7)]=!0x1;}};_0x547fbf=_0xbe3023([_0x485139(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x485139(0x3,_0x20afdc['Inject'](_0x16366d)),_0x485139(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x1e3)])),_0x485139(0x5,_0x20afdc['IUniverInstanceService']),_0x485139(0x6,_0x20afdc[_0x1bfb44(0x2df)]),_0x485139(0x7,_0x20afdc['Inject'](_0xecf1fb[_0x1bfb44(0x2a4)]))],_0x547fbf);var _0x5eb0c0=Object[_0x1bfb44(0x3af)],_0x52f01e=(_0x427ae1,_0x5f3f21,_0x271523,_0x6c489f)=>{const _0x7e2710=_0x1bfb44;for(var _0x35ae5d=_0x6c489f>0x1?void 0x0:_0x6c489f?_0x5eb0c0(_0x5f3f21,_0x271523):_0x5f3f21,_0x4b5632=_0x427ae1[_0x7e2710(0x31e)]-0x1,_0x472d54;_0x4b5632>=0x0;_0x4b5632--)(_0x472d54=_0x427ae1[_0x4b5632])&&(_0x35ae5d=_0x472d54(_0x35ae5d)||_0x35ae5d);return _0x35ae5d;},_0x120587=(_0x1334ea,_0xb8480d)=>(_0x4d220a,_0x1e8d11)=>_0xb8480d(_0x4d220a,_0x1e8d11,_0x1334ea);let _0x43654b=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x187b00,_0x4b6c99,_0x3e614a){const _0x4229c5=_0x1bfb44;super(),_0x46e3b1(this,_0x4229c5(0x26d),new Map()),_0x46e3b1(this,_0x4229c5(0x2d0),new _0x388e9f[(_0x4229c5(0x250))]()),(this[_0x4229c5(0x154)]=_0x187b00,this['_injector']=_0x4b6c99,this[_0x4229c5(0x24b)]=_0x3e614a,this[_0x4229c5(0x357)]());}[_0x1bfb44(0x201)](){const _0x474617=_0x1bfb44;super['dispose'](),this['_entityInit$'][_0x474617(0x29e)](),this[_0x474617(0x26d)]['forEach'](_0x3b0faa=>_0x3b0faa[_0x474617(0x201)]());}[_0x1bfb44(0x2c4)](_0x31e0a7){const _0x1d072b=_0x1bfb44;return this['_entities'][_0x1d072b(0x293)](_0x31e0a7)?this['_entities']['get'](_0x31e0a7)[_0x1d072b(0x33d)]:this[_0x1d072b(0x2d0)]['pipe'](_0x388e9f[_0x1d072b(0x2de)](_0x3bb3ae=>_0x3bb3ae['unitID']===_0x31e0a7),_0x388e9f[_0x1d072b(0x325)](_0xb2cf68=>_0xb2cf68[_0x1d072b(0x33d)]));}['_init'](){const _0x405d2b=_0x1bfb44;this[_0x405d2b(0x154)][_0x405d2b(0x312)](_0x20afdc['UniverInstanceType'][_0x405d2b(0x33c)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))['subscribe'](async _0x3b1b13=>{const _0x17ed08=_0x405d2b,_0x1fd13a=_0x3b1b13['getUnitId'](),_0x4fb49b=await this[_0x17ed08(0x247)](_0x1fd13a);this[_0x17ed08(0x2d0)]['next'](_0x4fb49b),this['_entities'][_0x17ed08(0x165)](_0x1fd13a,_0x4fb49b);}),this[_0x405d2b(0x154)]['getTypeOfUnitAdded$'](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x405d2b(0xee)](_0x388e9f['filter'](_0x228b5f=>!_0x228b5f['getUnitId']()[_0x405d2b(0xfa)]('__')))[_0x405d2b(0x26f)](async _0x3a347e=>{const _0x2ca2f2=_0x405d2b,_0x5b18d3=_0x3a347e[_0x2ca2f2(0x2d4)](),_0x1ce250=await this['_startDocCollabCursor'](_0x5b18d3);this[_0x2ca2f2(0x2d0)][_0x2ca2f2(0x264)](_0x1ce250),this[_0x2ca2f2(0x26d)]['set'](_0x5b18d3,_0x1ce250);}),_0x388e9f['merge'](this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)]),this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x33c)]))[_0x405d2b(0xee)](_0x388e9f[_0x405d2b(0x200)](this[_0x405d2b(0x318)]))[_0x405d2b(0x26f)](_0x84d3d9=>{const _0x223e8d=_0x405d2b,_0x425097=_0x84d3d9[_0x223e8d(0x2d4)](),_0x45a002=this[_0x223e8d(0x26d)][_0x223e8d(0x2e1)](_0x425097);_0x45a002&&(_0x45a002[_0x223e8d(0x201)](),this[_0x223e8d(0x26d)][_0x223e8d(0x181)](_0x425097));});}async[_0x1bfb44(0x247)](_0x2c250b){const _0x237b10=_0x1bfb44,_0x2b84c5=await this[_0x237b10(0x24b)][_0x237b10(0x1a8)](_0x2c250b),_0x31a452=this[_0x237b10(0x319)]['createInstance'](_0x547fbf,_0x2c250b,_0x2b84c5);return _0x31a452['init'](),_0x31a452;}async['_startDocCollabCursor'](_0x549c64){const _0x38f01e=_0x1bfb44,_0x27f7ec=await this[_0x38f01e(0x24b)][_0x38f01e(0x1a8)](_0x549c64),_0x34dbc2=this[_0x38f01e(0x319)]['createInstance'](_0x12fca2,_0x549c64,_0x27f7ec);return _0x34dbc2[_0x38f01e(0x155)](),_0x34dbc2;}};_0x43654b=_0x52f01e([_0x120587(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x120587(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x120587(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x2f5)]))],_0x43654b);const _0x332cee=0x14,_0x469bcd=0xc8,_0x4c8ccb=0x4,_0x28c5fe=0x5;function _0x3d70a5(_0x359866,_0x5d8383){const _0x48532e=_0x1bfb44;let {radius:_0x5d8002,width:_0x1971be,height:_0x5cd273}=_0x5d8383;_0x5d8002=_0x5d8002!=null?_0x5d8002:0x0,_0x1971be=_0x1971be!=null?_0x1971be:0x1e,_0x5cd273=_0x5cd273!=null?_0x5cd273:0x1e;let _0x1fa036=0x0,_0x143f9e=0x0,_0x4a357a=0x0;_0x1fa036=_0x143f9e=_0x4a357a=Math[_0x48532e(0x2b1)](_0x5d8002,_0x1971be/0x2,_0x5cd273/0x2),_0x359866[_0x48532e(0x275)](),_0x359866[_0x48532e(0x35b)](_0x1fa036,0x0),_0x359866[_0x48532e(0x30a)](_0x1971be-_0x143f9e,0x0),_0x359866['arc'](_0x1971be-_0x143f9e,_0x143f9e,_0x143f9e,Math['PI']*0x3/0x2,0x0,!0x1),_0x359866[_0x48532e(0x30a)](_0x1971be,_0x5cd273-_0x4a357a),_0x359866[_0x48532e(0x1f7)](_0x1971be-_0x4a357a,_0x5cd273-_0x4a357a,_0x4a357a,0x0,Math['PI']/0x2,!0x1),_0x359866[_0x48532e(0x30a)](0x0,_0x5cd273),_0x359866['lineTo'](0x0,_0x1fa036),_0x359866['arc'](_0x1fa036,_0x1fa036,_0x1fa036,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x359866[_0x48532e(0x328)](),_0x5d8383[_0x48532e(0x3b1)]&&(_0x359866['save'](),_0x359866['fillStyle']=_0x5d8383[_0x48532e(0x3b1)],_0x5d8383[_0x48532e(0x18e)]===_0x48532e(0x255)?_0x359866[_0x48532e(0x3b1)]('evenodd'):_0x359866[_0x48532e(0x3b1)](),_0x359866[_0x48532e(0x35c)]());}class _0x47a55f extends _0x314741['Shape']{constructor(_0x14da08,_0x1ad252){const _0x1a87a6=_0x1bfb44;super(_0x14da08,_0x1ad252),_0x46e3b1(this,_0x1a87a6(0x147)),_0x46e3b1(this,'text'),(this[_0x1a87a6(0x147)]=_0x1ad252==null?void 0x0:_0x1ad252['color'],this['text']=_0x1ad252==null?void 0x0:_0x1ad252[_0x1a87a6(0x12c)]);}static[_0x1bfb44(0x355)](_0xa96a05,_0x3d4841){const _0x24c983=_0x1bfb44,{text:_0x3d9009,color:_0x4d660e}=_0x3d4841;_0xa96a05[_0x24c983(0x22b)](),_0xa96a05[_0x24c983(0x133)]=_0x24c983(0x148);const _0x299622=_0xa96a05[_0x24c983(0x29a)](_0x3d9009)['width'],_0x15c24f=Math[_0x24c983(0x2b1)](_0x299622+0x2*_0x4c8ccb,_0x469bcd);_0x3d70a5(_0xa96a05,{'height':_0x332cee,'radius':0x4,'width':_0x15c24f,'fill':_0x4d660e}),_0xa96a05[_0x24c983(0x232)]=_0x24c983(0x326);const _0x44fb63=_0x4c8ccb,_0x137659=_0x332cee-_0x28c5fe,_0x3022cf=_0x469bcd-0x2*_0x4c8ccb;if(_0x299622>_0x3022cf){let _0xaba69d='',_0x2fa8d1=0x0;for(const _0x13c074 of _0x3d9009){const _0xcb1dbc=_0xa96a05[_0x24c983(0x29a)](_0x13c074)[_0x24c983(0x39b)];if(_0x2fa8d1+_0xcb1dbc<=_0x3022cf-_0xa96a05['measureText'](_0x24c983(0x207))[_0x24c983(0x39b)])_0xaba69d+=_0x13c074,_0x2fa8d1+=_0xcb1dbc;else{_0xaba69d+=_0x24c983(0x207);break;}}_0xa96a05[_0x24c983(0x225)](_0xaba69d,_0x44fb63,_0x137659);}else _0xa96a05['fillText'](_0x3d9009,_0x44fb63,_0x137659);_0xa96a05[_0x24c983(0x35c)]();}['_draw'](_0x3a0b6b){const _0x42b75b=_0x1bfb44;_0x47a55f[_0x42b75b(0x355)](_0x3a0b6b,this);}}const _0x253773=_0x1bfb44(0x1eb),_0x2b2eaf=_0x1bfb44(0x1a4),_0x2cbf99='collab-rect-range-',_0x2181ba=0x6,_0xef2a66=1.5,_0x36ff2b=0x4,_0x4097b0=1.5,_0xa02184=_0x1bfb44(0x2ee);class _0xea52fe{constructor(_0x278743,_0x81d4d3,_0x2e03ca,_0x85f483){const _0x1ce0b4=_0x1bfb44;_0x46e3b1(this,_0x1ce0b4(0x192),[]),_0x46e3b1(this,'_anchor',null),_0x46e3b1(this,'_textBubble',null),_0x46e3b1(this,_0x1ce0b4(0x2ed),null),_0x46e3b1(this,_0x1ce0b4(0x2ff),null),_0x46e3b1(this,_0x1ce0b4(0x2e8),null),(this[_0x1ce0b4(0x3b4)]=_0x278743,this[_0x1ce0b4(0x27d)]=_0x81d4d3,this[_0x1ce0b4(0x2f3)]=_0x2e03ca,this[_0x1ce0b4(0x306)]=_0x85f483,this[_0x1ce0b4(0x2dc)]());}set['_hover'](_0x5b89b0){const _0x4d7924=_0x1bfb44;_0x5b89b0?(this[_0x4d7924(0x2ed)]&&this[_0x4d7924(0x2ed)][_0x4d7924(0x39c)](),this['_textBubble']&&this[_0x4d7924(0x2e7)]['show']()):(this[_0x4d7924(0x2ed)]&&this['_anchorDot']['show'](),this[_0x4d7924(0x2e7)]&&this[_0x4d7924(0x2e7)][_0x4d7924(0x39c)]());}[_0x1bfb44(0x201)](){const _0x57dd9c=_0x1bfb44;for(const _0x57929c of this[_0x57dd9c(0x192)])_0x57929c[_0x57dd9c(0x201)]();this[_0x57dd9c(0x2e7)]&&this['_textBubble'][_0x57dd9c(0x201)](),this[_0x57dd9c(0x2ed)]&&this[_0x57dd9c(0x2ed)][_0x57dd9c(0x201)](),this[_0x57dd9c(0x14b)]&&this[_0x57dd9c(0x14b)]['dispose'](),this[_0x57dd9c(0x2e8)]&&this[_0x57dd9c(0x2e8)]();}[_0x1bfb44(0x2dc)](){const _0x14ac46=_0x1bfb44;var _0x2b1eb8;const {_docSkeleton:_0x5ea63a,_document:_0xa2a48}=this,{color:_0x5cae2e,name:_0x14eba9,ranges:_0x459718}=this[_0x14ac46(0x3b4)],_0x1849dc=_0xa2a48['getOffsetConfig'](),{docsLeft:_0x80457c,docsTop:_0x1fe911}=_0x1849dc,_0x36f7c5=new _0x4c9f55[(_0x14ac46(0x1ed))](_0x1849dc,_0x5ea63a);for(const {startOffset:_0xb2bdcc,endOffset:_0x212943,rangeType:_0x2d885b,segmentId:_0x76af3e,segmentPage:_0x5b3922,collapsed:_0x214087,isActive:_0x98f8ce}of _0x459718){const _0x9eacc1=_0x5ea63a['findNodePositionByCharIndex'](_0xb2bdcc,!0x0,_0x76af3e,_0x5b3922);let _0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943,!0x0,_0x76af3e,_0x5b3922);if(_0x3760eb==null&&(_0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943-0x1,!0x1,_0x76af3e,_0x5b3922)),_0x98f8ce){const {contentBoxPointGroup:_0x3022dd}=_0x36f7c5['getRangePointData'](_0x3760eb,_0x3760eb);if(_0x3022dd[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x1a6)](_0x5cae2e,_0x3022dd,_0x80457c,_0x1fe911,_0x14eba9),this[_0x14ac46(0x2e8)]=this[_0x14ac46(0x2b3)]();}if(_0x9eacc1&&_0x3760eb){if(_0x2d885b===_0x20afdc[_0x14ac46(0x237)]['RECT']){const _0x222836=new _0x4c9f55['NodePositionConvertToRectRange'](_0x1849dc,_0x5ea63a),{pointGroup:_0x5b8acb}=(_0x2b1eb8=_0x222836['getRangePointData'](_0x9eacc1,_0x3760eb))!=null?_0x2b1eb8:{};if(_0x5b8acb==null||_0x5b8acb[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x16b)](_0x5cae2e,_0x5b8acb,_0x80457c,_0x1fe911);}else{if(!_0x214087){const {borderBoxPointGroup:_0x358f75}=_0x36f7c5['getRangePointData'](_0x9eacc1,_0x3760eb);if(_0x358f75['length']===0x0)continue;this[_0x14ac46(0x307)](_0x5cae2e,_0x358f75,_0x80457c,_0x1fe911);}}}}}[_0x1bfb44(0x1a6)](_0x11ac2a,_0x9c8b6,_0x373ee8,_0x559206,_0x459ead){const _0x4fbf67=_0x1bfb44,_0x3c6fec=this[_0x4fbf67(0x1f8)](_0x9c8b6),{left:_0x11858b,top:_0x1cc9ea,height:_0x448582}=_0x3c6fec,_0x4677b0=this[_0x4fbf67(0x351)](),_0x15a0ad=_0x4097b0/_0x4677b0,_0x333a27=new _0x314741['Rect'](_0x253773+_0x20afdc[_0x4fbf67(0x37e)](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206,'height':_0x448582,'width':_0xef2a66,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)]['black'],0x0),'strokeWidth':_0x15a0ad,'stroke':_0xa02184,'evented':!0x0});this[_0x4fbf67(0x14b)]=_0x333a27,this[_0x4fbf67(0x27d)][_0x4fbf67(0x12f)](_0x333a27,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x79fa9d=new _0x314741[(_0x4fbf67(0x2a6))](_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x36ff2b/0x2,'height':_0x36ff2b,'width':_0x36ff2b,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc['COLORS'][_0x4fbf67(0x228)],0x0),'strokeWidth':0x0,'stroke':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)][_0x4fbf67(0x228)],0x0),'evented':!0x1});this[_0x4fbf67(0x2ed)]=_0x79fa9d,this['_scene'][_0x4fbf67(0x12f)](_0x79fa9d,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x174ce8=new _0x47a55f(_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x332cee,'text':_0x459ead,'color':_0x11ac2a});this[_0x4fbf67(0x2e7)]=_0x174ce8,this['_scene'][_0x4fbf67(0x12f)](_0x174ce8,_0x4c9f55[_0x4fbf67(0x2b8)]),this[_0x4fbf67(0x2d3)]=!0x1;}['_handleHover'](){const _0x5b8db1=_0x1bfb44,_0x11131e=this[_0x5b8db1(0x14b)][_0x5b8db1(0x32e)]['subscribeEvent'](()=>{const _0x3a3fab=_0x5b8db1;this[_0x3a3fab(0x2d3)]=!0x0;}),_0x3a116b=this['_anchor']['onPointerLeave$'][_0x5b8db1(0x238)](()=>{const _0x533025=_0x5b8db1;this[_0x533025(0x2ff)]&&clearTimeout(this['_hideTimer']),this[_0x533025(0x2ff)]=setTimeout(()=>{const _0x1c99fb=_0x533025;this[_0x1c99fb(0x2d3)]=!0x1;},0x7d0);});return()=>{const _0x3436d7=_0x5b8db1;_0x11131e['unsubscribe'](),_0x3a116b[_0x3436d7(0x2f6)]();};}[_0x1bfb44(0x307)](_0x4ca095,_0x25d1b5,_0x1ebe4f,_0x43dc92){const _0xfeaa0=_0x1bfb44,_0x26a651=new _0x20afdc[(_0xfeaa0(0x1b4))](_0x4ca095)[_0xfeaa0(0x1ef)](0.2)[_0xfeaa0(0x1fa)](),_0x9aeaa8=new _0x314741['RegularPolygon'](_0x2b2eaf+_0x20afdc['generateRandomId'](_0x2181ba),{'pointsGroup':_0x25d1b5,'fill':_0x26a651||_0x314741[_0xfeaa0(0x257)](_0x20afdc['COLORS'][_0xfeaa0(0x228)],0.2),'left':_0x1ebe4f,'top':_0x43dc92,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfeaa0(0x192)][_0xfeaa0(0x211)](_0x9aeaa8),this[_0xfeaa0(0x27d)][_0xfeaa0(0x12f)](_0x9aeaa8,_0x4c9f55[_0xfeaa0(0x2b8)]);}[_0x1bfb44(0x16b)](_0x20ae41,_0x5ddc51,_0xc7041d,_0x1b2d1e){const _0x4e6f35=_0x1bfb44,_0x4d3d0b=new _0x20afdc['ColorKit'](_0x20ae41)['setAlpha'](0.2)[_0x4e6f35(0x1fa)](),_0xd5c53d=new _0x314741['RegularPolygon'](_0x2cbf99+_0x20afdc[_0x4e6f35(0x37e)](_0x2181ba),{'pointsGroup':_0x5ddc51,'fill':_0x4d3d0b||_0x314741[_0x4e6f35(0x257)](_0x20afdc[_0x4e6f35(0x3ab)][_0x4e6f35(0x228)],0.2),'left':_0xc7041d,'top':_0x1b2d1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e6f35(0x192)]['push'](_0xd5c53d),this['_scene'][_0x4e6f35(0x12f)](_0xd5c53d,_0x4c9f55[_0x4e6f35(0x2b8)]);}[_0x1bfb44(0x1f8)](_0x25785e){const _0x4924ea=_0x25785e[0x0],_0x57c11c=_0x4924ea[0x0],_0x1863e1=_0x4924ea[0x2],{x:_0x401619,y:_0x4da6ea}=_0x57c11c,{x:_0x2cabbc,y:_0x1f0626}=_0x1863e1;return{'left':_0x401619,'top':_0x4da6ea,'width':_0x2cabbc-_0x401619,'height':_0x1f0626-_0x4da6ea};}[_0x1bfb44(0x351)](){const _0x5b6803=_0x1bfb44,{scaleX:_0x5e1565,scaleY:_0x35a97f}=this['_scene']['getAncestorScale']();return Math[_0x5b6803(0x2db)](_0x5e1565,_0x35a97f);}}var _0x4c6ddf=Object[_0x1bfb44(0x3af)],_0x446495=(_0x4fecff,_0x32c363,_0x1d5b67,_0x282b49)=>{for(var _0x172664=_0x282b49>0x1?void 0x0:_0x282b49?_0x4c6ddf(_0x32c363,_0x1d5b67):_0x32c363,_0x32b8b3=_0x4fecff['length']-0x1,_0x55fa71;_0x32b8b3>=0x0;_0x32b8b3--)(_0x55fa71=_0x4fecff[_0x32b8b3])&&(_0x172664=_0x55fa71(_0x172664)||_0x172664);return _0x172664;},_0xfe6331=(_0x43da94,_0x771088)=>(_0x278b02,_0x267f04)=>_0x771088(_0x278b02,_0x267f04,_0x43da94);let _0x568f40=class extends _0x20afdc['RxDisposable']{constructor(_0x1d1402,_0x77ffba,_0x23a87c,_0x2cde07,_0x4215e5){const _0x2cf014=_0x1bfb44;super(),_0x46e3b1(this,_0x2cf014(0x2d8),[]),_0x46e3b1(this,_0x2cf014(0x358),[]),(this['_context']=_0x1d1402,this[_0x2cf014(0x2f2)]=_0x77ffba,this[_0x2cf014(0x1fc)]=_0x23a87c,this[_0x2cf014(0x22a)]=_0x2cde07,this[_0x2cf014(0x2fa)]=_0x4215e5,this['_init']());}[_0x1bfb44(0x357)](){const _0x912e6b=_0x1bfb44,_0x55d277=this[_0x912e6b(0x389)]['unitId'],_0x247905=this[_0x912e6b(0x2f2)];this[_0x912e6b(0x37d)](_0x388e9f[_0x912e6b(0xf8)]([this[_0x912e6b(0x1fc)][_0x912e6b(0x2c4)](_0x55d277),this['_themeService'][_0x912e6b(0x1fd)]])[_0x912e6b(0xee)](_0x309597['map'](([_0x21f558,_0x4b18d5])=>({'skeleton':_0x247905[_0x912e6b(0x13e)](),'cursors':[..._0x21f558['values']()][_0x912e6b(0x137)](_0x682853=>({..._0x682853,'color':this[_0x912e6b(0x2fa)][_0x912e6b(0x3a4)](_0x682853[_0x912e6b(0x147)])}))})))[_0x912e6b(0x26f)](_0x5a57c0=>{const _0x370342=_0x912e6b;if(this['_removeCollabCursors'](),_0x5a57c0){const {skeleton:_0x10d689,cursors:_0x2def86}=_0x5a57c0;this[_0x370342(0x353)](_0x10d689,_0x2def86);}})),this[_0x912e6b(0x380)](),this[_0x912e6b(0x132)]();}['_updateCollabCursors'](_0x4a39fa,_0x31a275){const _0x2fa2d6=_0x1bfb44,{scene:_0x40c358,mainComponent:_0x39d5f6}=this[_0x2fa2d6(0x389)],_0x3191f1=_0x31a275['map'](_0x32bda4=>new _0xea52fe(_0x32bda4,_0x40c358,_0x4a39fa,_0x39d5f6));this[_0x2fa2d6(0x2d8)]=_0x3191f1,this[_0x2fa2d6(0x358)]=_0x31a275;}[_0x1bfb44(0xf5)](){const _0x3806af=_0x1bfb44;this[_0x3806af(0x321)]();const {scene:_0x21a6ba,mainComponent:_0x39b593}=this[_0x3806af(0x389)],_0x5db4c3=this[_0x3806af(0x2f2)]['getSkeleton'](),_0x5a3477=this[_0x3806af(0x358)]['map'](_0x48da59=>new _0xea52fe(_0x48da59,_0x21a6ba,_0x5db4c3,_0x39b593));this['_cursorShapes']=_0x5a3477;}[_0x1bfb44(0x321)](){const _0x38c8c3=_0x1bfb44;this['_cursorShapes'][_0x38c8c3(0x30f)](_0x2d6c4c=>_0x2d6c4c['dispose']()),this[_0x38c8c3(0x2d8)]=[];}[_0x1bfb44(0x132)](){const _0x550ccd=_0x1bfb44,_0x25b6ea=[_0x4c9f55[_0x550ccd(0x158)]['id']];this[_0x550ccd(0x37d)](this['_commandService'][_0x550ccd(0x248)](_0x491ba=>{const _0x571e7d=_0x550ccd;_0x25b6ea[_0x571e7d(0x3b0)](_0x491ba['id'])&&_0x491ba[_0x571e7d(0x317)][_0x571e7d(0x31d)]===this[_0x571e7d(0x389)]['unitId']&&this[_0x571e7d(0xf5)]();}));}[_0x1bfb44(0x380)](){const _0x37659d=_0x1bfb44;this['disposeWithMe'](_0x20afdc['fromEventSubject'](this[_0x37659d(0x389)][_0x37659d(0x16f)]['onTransformChange$'])['pipe'](_0x309597['filter'](_0x1426b8=>_0x1426b8[_0x37659d(0x298)]===_0x314741[_0x37659d(0x1d2)][_0x37659d(0x105)]),_0x309597[_0x37659d(0x195)](0x10))[_0x37659d(0x26f)](()=>{const _0x25f3a2=_0x37659d;this[_0x25f3a2(0xf5)]();}));}};_0x568f40=_0x446495([_0xfe6331(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x52be1c['DocSkeletonManagerService'])),_0xfe6331(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x43654b)),_0xfe6331(0x3,_0x20afdc[_0x1bfb44(0x2df)]),_0xfe6331(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x568f40);const _0x1cdc0c=0x1,_0x1284ec=1.5;class _0x240cae extends _0x314741['Shape']{constructor(_0x7d79,_0x46479f){const _0x311eb7=_0x1bfb44;super(_0x7d79,_0x46479f),_0x46e3b1(this,_0x311eb7(0x330)),_0x46e3b1(this,_0x311eb7(0x391),!0x1),_0x46e3b1(this,_0x311eb7(0x361)),_0x46e3b1(this,_0x311eb7(0x370),''),_0x46e3b1(this,_0x311eb7(0x36f),_0x311eb7(0x374)),_0x46e3b1(this,'_backgroundColor'),(_0x46479f&&this[_0x311eb7(0x3a0)](_0x46479f),this[_0x311eb7(0x32e)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x0})),this[_0x311eb7(0xf6)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x1})));}['setShapeProps'](_0x387062){const _0xefdc7a=_0x1bfb44;var _0x502980,_0x54d9a9,_0x4af305,_0x53bdef,_0x576a16,_0x2187d4;this[_0xefdc7a(0x330)]=(_0x502980=_0x387062[_0xefdc7a(0x147)])!=null?_0x502980:this[_0xefdc7a(0x330)],this['_hovered']=(_0x54d9a9=_0x387062[_0xefdc7a(0x1d3)])!=null?_0x54d9a9:this[_0xefdc7a(0x391)],this[_0xefdc7a(0x361)]=(_0x4af305=_0x387062['range'])!=null?_0x4af305:this[_0xefdc7a(0x361)],this[_0xefdc7a(0x370)]=(_0x53bdef=_0x387062[_0xefdc7a(0x17f)])!=null?_0x53bdef:this[_0xefdc7a(0x370)],this[_0xefdc7a(0x36f)]=(_0x576a16=_0x387062[_0xefdc7a(0x112)])!=null?_0x576a16:this['_labelPosition'],this[_0xefdc7a(0x151)]=(_0x2187d4=_0x387062['backgroundColor'])!=null?_0x2187d4:this[_0xefdc7a(0x151)],this[_0xefdc7a(0x220)]({'width':_0x387062[_0xefdc7a(0x39b)],'height':_0x387062[_0xefdc7a(0x37a)]});}[_0x1bfb44(0x168)](_0x402285){const _0x3d7bc9=_0x1bfb44,{row:_0x5ee38f,column:_0x36afc4}=_0x402285;if(_0x5ee38f>=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x13a)]&&_0x5ee38f<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x277)]&&_0x36afc4>=this['_range'][_0x3d7bc9(0x1b1)]&&_0x36afc4<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x2f0)]){this[_0x3d7bc9(0x3a0)]({'hovered':!0x0});return;}this[_0x3d7bc9(0x3a0)]({'hovered':!0x1});}['triggerDblclick'](_0xa59dfd){return!0x1;}[_0x1bfb44(0x1d0)](_0x3977e5){const _0x2584e8=_0x1bfb44;_0x314741[_0x2584e8(0x2a6)][_0x2584e8(0x355)](_0x3977e5,{'width':this['width'],'height':this[_0x2584e8(0x37a)],'strokeWidth':_0x1284ec,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2584e8(0x151)]}),this['_hovered']&&(_0x3977e5[_0x2584e8(0x22b)](),_0x3977e5[_0x2584e8(0x1c7)](0x1,0x0,0x0,0x1,this[_0x2584e8(0x39b)],this[_0x2584e8(0x36f)]===_0x2584e8(0x2af)?0x0:-_0x332cee),_0x47a55f[_0x2584e8(0x355)](_0x3977e5,{'text':this[_0x2584e8(0x370)],'color':this[_0x2584e8(0x330)]}),_0x3977e5[_0x2584e8(0x35c)]());}}var _0x336c67=Object['getOwnPropertyDescriptor'],_0xd555f6=(_0x1e6169,_0x12afb5,_0x43aed7,_0x7db443)=>{const _0x3c7b0b=_0x1bfb44;for(var _0x6dd3a7=_0x7db443>0x1?void 0x0:_0x7db443?_0x336c67(_0x12afb5,_0x43aed7):_0x12afb5,_0x1f6a04=_0x1e6169[_0x3c7b0b(0x31e)]-0x1,_0x3c0870;_0x1f6a04>=0x0;_0x1f6a04--)(_0x3c0870=_0x1e6169[_0x1f6a04])&&(_0x6dd3a7=_0x3c0870(_0x6dd3a7)||_0x6dd3a7);return _0x6dd3a7;},_0x4f9af6=(_0x24082f,_0x2cf775)=>(_0x25e3e7,_0x510c81)=>_0x2cf775(_0x25e3e7,_0x510c81,_0x24082f);const _0x30b14f=0x1389;let _0x35edad=class extends _0x20afdc['RxDisposable']{constructor(_0x4212da,_0x503da9,_0x1d4714,_0x1c664b){const _0x40d23f=_0x1bfb44;super(),_0x46e3b1(this,_0x40d23f(0x358),new Set()),_0x46e3b1(this,'_lastPointer',null),(this['_context']=_0x4212da,this['_sheetSkeletonManagerService']=_0x503da9,this[_0x40d23f(0x1fc)]=_0x1d4714,this[_0x40d23f(0x2fa)]=_0x1c664b,this['_init']());}['_init'](){const _0x480505=_0x1bfb44;this[_0x480505(0x20e)][_0x480505(0x1b5)][_0x480505(0xee)](_0x309597[_0x480505(0x200)](this[_0x480505(0x318)]),_0x309597[_0x480505(0x325)](_0x18786b=>{const _0x153f77=_0x480505;if(_0x18786b){const _0x5af46a=_0x18786b[_0x153f77(0x14f)];return _0x388e9f['combineLatest'](this[_0x153f77(0x1fc)][_0x153f77(0x2c4)](this['_context'][_0x153f77(0x31d)]),this[_0x153f77(0x2fa)][_0x153f77(0x1fd)])[_0x153f77(0xee)](_0x309597['map'](([_0x5c2673,_0x5487e6])=>{const _0x3496dc=_0x153f77,_0x3d0da7=new Map();return _0x5c2673[_0x3496dc(0x30f)]((_0x306e64,_0x22152f)=>{const _0x464a0d=_0x3496dc;if(_0x306e64[_0x464a0d(0x11f)]===_0x5af46a){const _0x3a05f0={..._0x306e64};_0x3a05f0[_0x464a0d(0x147)]=this['_themeService'][_0x464a0d(0x3a4)](_0x306e64['color']),_0x3d0da7['set'](_0x22152f,_0x3a05f0);}}),{'skeleton':_0x18786b,'cursors':_0x3d0da7};}));}return _0x388e9f['of']({'skeleton':null,'cursors':new Map()});}))[_0x480505(0x26f)](({skeleton:_0x59e589,cursors:_0x91ca45})=>{const _0x261a2d=_0x480505;this[_0x261a2d(0x321)](),_0x59e589&&this[_0x261a2d(0x353)](_0x59e589,_0x91ca45);}),this['_sheetSkeletonManagerService'][_0x480505(0x1b5)][_0x480505(0x26f)](_0x1e915b=>{const _0x4a9f7e=_0x480505;if(_0x1e915b==null)return;const {skeleton:_0x4d05ce}=_0x1e915b,{scene:_0x29287b}=this['_context'];_0x29287b[_0x4a9f7e(0x399)][_0x4a9f7e(0x238)](_0x20afdc[_0x4a9f7e(0x2b9)](_0x5edc4b=>{const _0x10116d=_0x4a9f7e;var _0x5917e8,_0x3e693d;const {offsetX:_0x49d8ef,offsetY:_0x36e846}=_0x5edc4b,{x:_0x2f4b82,y:_0x56ffb3}=_0x29287b['getRelativeToViewportCoord'](_0x314741[_0x10116d(0x286)][_0x10116d(0x2c2)]([_0x49d8ef,_0x36e846])),{scaleX:_0x562c26,scaleY:_0x5f1ae3}=_0x29287b[_0x10116d(0x390)](),_0xbd6690=_0x29287b[_0x10116d(0x322)](_0x314741[_0x10116d(0x2e5)]['VIEW_MAIN']),_0x1eed14=_0x29287b[_0x10116d(0x39f)](_0x314741['Vector2'][_0x10116d(0x2c2)]([_0x2f4b82,_0x56ffb3]),_0xbd6690),_0x1435f2=_0x4d05ce[_0x10116d(0x17a)](_0x49d8ef,_0x36e846,_0x562c26,_0x5f1ae3,_0x1eed14);((_0x5917e8=this[_0x10116d(0x118)])==null?void 0x0:_0x5917e8[_0x10116d(0x10a)])===_0x1435f2[_0x10116d(0x10a)]&&((_0x3e693d=this[_0x10116d(0x118)])==null?void 0x0:_0x3e693d['row'])===_0x1435f2['row']||this[_0x10116d(0x358)]['forEach'](_0x347c9b=>{const _0x46adb0=_0x10116d;_0x347c9b[_0x46adb0(0x168)](_0x1435f2);});},0x64));});}[_0x1bfb44(0x353)](_0x2f95a1,_0x58d9a5){const _0x161b17=_0x1bfb44;var _0x43ceee;const _0x23a362=(_0x43ceee=this[_0x161b17(0x20e)]['getCurrent']())==null?void 0x0:_0x43ceee[_0x161b17(0x103)];if(!_0x23a362)return;const _0x48d93a=this[_0x161b17(0x194)]();if(!_0x48d93a)return;this['_cursors'][_0x161b17(0x30f)](_0x1d5862=>{_0x1d5862['makeDirty']();});const {scene:_0x2bae02}=_0x48d93a,_0x1f273e=_0x53df95(Array[_0x161b17(0x392)](_0x58d9a5[_0x161b17(0x130)]()))[_0x161b17(0x2b4)](_0x4d7ab7=>{const _0x119dcb=_0x161b17,{color:_0x265b73,range:_0x589f31,name:_0x7169b2,selection:_0xe7b0fb,sheetID:_0x277291}=_0x4d7ab7,{startColumn:_0x57ab63,startRow:_0x1d1c94,endColumn:_0x460722,endRow:_0x1eecf7}=_0x589f31,_0x437ca4=_0x28415e['getCoordByCell'](_0x1d1c94,_0x57ab63,_0x2bae02,_0x23a362),_0x27fd0a=_0x28415e[_0x119dcb(0x3a6)](_0x1eecf7,_0x460722,_0x2bae02,_0x23a362),{columnHeaderHeightAndMarginTop:_0xf27a9b}=_0x23a362,{startX:_0x11d1ac,startY:_0x3a198d}=_0x437ca4,{endX:_0x5ec242,endY:_0x16d00a}=_0x27fd0a,_0xffc53b=_0x5ec242-_0x11d1ac,_0x54aaf4=_0x16d00a-_0x3a198d,_0xcfb3e0={'labelPosition':_0x3a198d-_0xf27a9b>=_0x332cee?_0x119dcb(0x374):_0x119dcb(0x2af),'sheetID':_0x277291,'range':_0x589f31,'color':_0x265b73,'name':_0x7169b2,'selection':_0xe7b0fb,'left':_0x11d1ac,'top':_0x3a198d,'width':_0xffc53b,'height':_0x54aaf4,'evented':!0x1,'zIndex':_0x30b14f};return new _0x240cae(_0x7169b2,_0xcfb3e0);});_0x2bae02[_0x161b17(0x141)](_0x1f273e,_0x1cdc0c),this[_0x161b17(0x358)]=new Set(_0x1f273e);}[_0x1bfb44(0x321)](){const _0x5acd82=_0x1bfb44;var _0x2d5e0a;(_0x2d5e0a=this[_0x5acd82(0x358)])==null||_0x2d5e0a[_0x5acd82(0x30f)](_0x5518cd=>_0x5518cd[_0x5acd82(0x201)]());}[_0x1bfb44(0x194)](){const _0x10345e=_0x1bfb44;return _0x28415e[_0x10345e(0x359)](this[_0x10345e(0x389)][_0x10345e(0x32a)],this['_context']);}};_0x35edad=_0xd555f6([_0x4f9af6(0x1,_0x20afdc['Inject'](_0x28415e[_0x1bfb44(0x2d1)])),_0x4f9af6(0x2,_0x20afdc['Inject'](_0x43654b)),_0x4f9af6(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x35edad);function _0x53df95(_0x1a4622){const _0x22d543=_0x1bfb44,_0x765028=new Map();return _0x1a4622[_0x22d543(0x30f)](_0x52d5b1=>{const _0x36d69f=_0x22d543;if(_0x765028[_0x36d69f(0x293)](_0x52d5b1[_0x36d69f(0x384)])){const _0x16399f=_0x765028[_0x36d69f(0x2e1)](_0x52d5b1[_0x36d69f(0x384)]);_0x16399f[_0x36d69f(0x17f)]+=',\x20'+_0x52d5b1[_0x36d69f(0x17f)];}else _0x765028[_0x36d69f(0x165)](_0x52d5b1['selection'],_0x52d5b1);}),Array[_0x22d543(0x392)](_0x765028[_0x22d543(0x130)]());}var _0x39d27=Object[_0x1bfb44(0x3af)],_0x3b1d3b=(_0x1043dd,_0x3f70ea,_0x339f05,_0x137a72)=>{const _0x236235=_0x1bfb44;for(var _0x266184=_0x137a72>0x1?void 0x0:_0x137a72?_0x39d27(_0x3f70ea,_0x339f05):_0x3f70ea,_0x305f69=_0x1043dd[_0x236235(0x31e)]-0x1,_0x580bdd;_0x305f69>=0x0;_0x305f69--)(_0x580bdd=_0x1043dd[_0x305f69])&&(_0x266184=_0x580bdd(_0x266184)||_0x266184);return _0x266184;},_0x3ca687=(_0x2b3ae4,_0x44cc01)=>(_0x452cd7,_0x304fb6)=>_0x44cc01(_0x452cd7,_0x304fb6,_0x2b3ae4);let _0x2037e7=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x52075f,_0x223968,_0x3ec9ff,_0x566a1b,_0x4bd694,_0x265a15){const _0x4a2c3f=_0x1bfb44;super(),this[_0x4a2c3f(0x1da)]=_0x52075f,this[_0x4a2c3f(0x18d)]=_0x223968,this['_collaborationUIEventService']=_0x3ec9ff,this[_0x4a2c3f(0x189)]=_0x566a1b,this[_0x4a2c3f(0x2ab)]=_0x4bd694,this[_0x4a2c3f(0x2b5)]=_0x265a15,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1bfb44(0x35e)](){const _0x379920=_0x1bfb44;this['disposeWithMe'](this[_0x379920(0x1da)]['registerBeforeClose'](()=>{const _0x3047fb=_0x379920;if(this['_localCacheService'][_0x3047fb(0x205)][_0x3047fb(0x125)])return this[_0x3047fb(0x2b5)]['t'](_0x3047fb(0x267));}));}[_0x1bfb44(0x10d)](){const _0xb82c6b=_0x1bfb44;this[_0xb82c6b(0x37d)](this[_0xb82c6b(0x12e)][_0xb82c6b(0x163)][_0xb82c6b(0x26f)](_0x5d57d6=>{const _0x33a3ee=_0xb82c6b;_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0xfb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('collaboration.single-unit.warning')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x3bb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)]['Warning'],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x1f0)]&&this['_notificationService'][_0x33a3ee(0x25e)]({'title':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1cb)),'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x3c6)),'type':_0x33a3ee(0x1ac),'duration':0x0}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x14c)]&&this['_messageService']['show']({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))+'('+_0x5d57d6[_0x33a3ee(0x160)]+')'}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x397)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x5d57d6[_0x33a3ee(0x160)]||'')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x20b)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('session.will-retry')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x22f)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x11a)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1e4))});}));}};_0x2037e7=_0x3b1d3b([_0x3ca687(0x0,_0x351287['IBeforeCloseService']),_0x3ca687(0x1,_0x24c19b[_0x1bfb44(0x146)]),_0x3ca687(0x2,_0x20afdc['Inject'](_0x24c19b['CollaborationUIEventService'])),_0x3ca687(0x3,_0x351287[_0x1bfb44(0x3bd)]),_0x3ca687(0x4,_0x351287[_0x1bfb44(0x12d)]),_0x3ca687(0x5,_0x20afdc['Inject'](_0x20afdc['LocaleService']))],_0x2037e7);const _0x5db899=_0x1bfb44(0x123),_0x276987={};var _0x1a2635=Object[_0x1bfb44(0x3af)],_0x3037d7=(_0x11b53c,_0x1c3fef,_0x11dec0,_0x15f791)=>{const _0x5b36ed=_0x1bfb44;for(var _0x23218e=_0x15f791>0x1?void 0x0:_0x15f791?_0x1a2635(_0x1c3fef,_0x11dec0):_0x1c3fef,_0x48e64c=_0x11b53c[_0x5b36ed(0x31e)]-0x1,_0x4e788c;_0x48e64c>=0x0;_0x48e64c--)(_0x4e788c=_0x11b53c[_0x48e64c])&&(_0x23218e=_0x4e788c(_0x23218e)||_0x23218e);return _0x23218e;},_0x32b3a8=(_0x595fa1,_0x3cd4b4)=>(_0x2509e6,_0x202b2a)=>_0x3cd4b4(_0x2509e6,_0x202b2a,_0x595fa1);let _0x2cf8cc=class{constructor(_0x3b1110,_0x58da39){const _0x38f744=_0x1bfb44;this[_0x38f744(0x213)]=_0x3b1110,this[_0x38f744(0x145)]=_0x58da39;}['transformIMECache'](_0x1632e3){const _0x42b91b=_0x1bfb44;this[_0x42b91b(0x14e)](_0x1632e3),this[_0x42b91b(0x35f)](_0x1632e3);}['transformRemoteChangeset'](_0x1b043b){const _0x2f6b93=_0x1bfb44,{unitID:_0x5e597d}=_0x1b043b,_0x525a9a=this[_0x2f6b93(0x145)][_0x2f6b93(0x1bf)](_0x5e597d)[_0x2f6b93(0x1a2)](_0x4c9f55[_0x2f6b93(0x30b)]),{redoCache:_0x3f1dfc}=_0x525a9a[_0x2f6b93(0x1e1)]();if(_0x3f1dfc[_0x2f6b93(0x31e)]===0x0)return _0x1b043b;let _0xa5a271=_0x20afdc[_0x2f6b93(0x2cc)][_0x2f6b93(0x349)](_0x1b043b[_0x2f6b93(0x110)][0x0]);for(let _0x1533f7=0x0;_0x1533f7<_0x3f1dfc[_0x2f6b93(0x31e)];_0x1533f7++){const _0x17207e={'id':'doc.mutation.rich-text-editing','params':{..._0x3f1dfc[_0x1533f7]}},_0xd6f362=this[_0x2f6b93(0x213)][_0x2f6b93(0x152)](_0xa5a271,_0x17207e,!0x1);if(_0x5d9b62[_0x2f6b93(0x3b3)](_0xd6f362))throw _0xd6f362[_0x2f6b93(0x1ac)];_0xa5a271=_0xd6f362['m1Prime'];}return{..._0x20afdc[_0x2f6b93(0x2cc)]['deepClone'](_0x1b043b),'mutations':[_0xa5a271]};}[_0x1bfb44(0x14e)](_0x44a926){const _0x484ec0=_0x1bfb44,{unitID:_0x1d131a}=_0x44a926,_0x4607e9=this[_0x484ec0(0x145)][_0x484ec0(0x1bf)](_0x1d131a)[_0x484ec0(0x1a2)](_0x4c9f55[_0x484ec0(0x30b)]),{undoCache:_0x58dc9a,redoCache:_0x28fdf1}=_0x4607e9['getUndoRedoMutationParamsCache']();if(_0x58dc9a[_0x484ec0(0x31e)]===0x0||_0x28fdf1[_0x484ec0(0x31e)]===0x0)return;const _0x34775f=[],_0x462c43=[];let _0x3960bd=_0x20afdc[_0x484ec0(0x2cc)][_0x484ec0(0x349)](_0x44a926['mutations'][0x0]),_0xfe859f=_0x20afdc[_0x484ec0(0x2cc)]['deepClone'](_0x44a926['mutations'][0x0]);for(let _0x1c56c3=_0x58dc9a[_0x484ec0(0x31e)]-0x1;_0x1c56c3>=0x0;_0x1c56c3--){const _0x5b20cc={'id':'doc.mutation.rich-text-editing','params':{..._0x58dc9a[_0x1c56c3]}},_0x5a5cc2={'id':_0x484ec0(0x292),'params':{..._0x28fdf1[_0x1c56c3]}},_0x52881a=this[_0x484ec0(0x213)]['transformMutation'](_0x3960bd,_0x5b20cc,!0x1),_0x5a31ad=this['_transformService']['transformMutation'](_0xfe859f,_0x5a5cc2,!0x1);if(_0x5d9b62[_0x484ec0(0x3b3)](_0x52881a))throw _0x52881a[_0x484ec0(0x1ac)];if(_0x5d9b62[_0x484ec0(0x3b3)](_0x5a31ad))throw _0x5a31ad[_0x484ec0(0x1ac)];_0x34775f[_0x484ec0(0x2aa)](_0x52881a['m2Prime'][_0x484ec0(0x317)]),_0x462c43[_0x484ec0(0x2aa)](_0x5a31ad[_0x484ec0(0x223)]['params']),_0x3960bd=_0x52881a[_0x484ec0(0x209)],_0xfe859f=_0x5a31ad['m1Prime'];}_0x4607e9[_0x484ec0(0x1ec)]({'undoCache':_0x34775f,'redoCache':_0x462c43});}[_0x1bfb44(0x35f)](_0x540d9e){const _0x593ea6=_0x1bfb44,{unitID:_0x33dabb}=_0x540d9e,_0x3e0246=this[_0x593ea6(0x145)][_0x593ea6(0x1bf)](_0x33dabb)[_0x593ea6(0x1a2)](_0x4c9f55['DocIMEInputManagerService']),_0x4708d9=_0x3e0246[_0x593ea6(0x299)]();if(_0x4708d9==null)return;const _0x588abe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x540d9e[_0x593ea6(0x1c4)],'actions':null,'textRanges':[_0x4708d9]}}],_0x559ac9=this[_0x593ea6(0x213)]['transformMutationsWithChangeset'](_0x540d9e,_0x588abe);if(!_0x5d9b62['isTransformMutationsWithChangesetSuccess'](_0x559ac9))throw _0x559ac9[_0x593ea6(0x1ac)];const _0x432ded=_0x559ac9[_0x593ea6(0x223)][0x0][_0x593ea6(0x317)][_0x593ea6(0x122)];Array[_0x593ea6(0x140)](_0x432ded)&&_0x432ded[_0x593ea6(0x31e)]&&_0x3e0246[_0x593ea6(0x300)](_0x432ded[0x0]);}};_0x2cf8cc=_0x3037d7([_0x32b3a8(0x0,_0x5d9b62[_0x1bfb44(0x39e)]),_0x32b3a8(0x1,_0x314741['IRenderManagerService'])],_0x2cf8cc);var _0xbef7ed=Object[_0x1bfb44(0x3af)],_0x2812a4=(_0x4bc063,_0xbdb857,_0x114a5e,_0x449005)=>{const _0x322bd3=_0x1bfb44;for(var _0x409e60=_0x449005>0x1?void 0x0:_0x449005?_0xbef7ed(_0xbdb857,_0x114a5e):_0xbdb857,_0x21779b=_0x4bc063[_0x322bd3(0x31e)]-0x1,_0x29f54c;_0x21779b>=0x0;_0x21779b--)(_0x29f54c=_0x4bc063[_0x21779b])&&(_0x409e60=_0x29f54c(_0x409e60)||_0x409e60);return _0x409e60;},_0x5a5389=(_0x118a0c,_0x312d20)=>(_0x3d333a,_0xa0c366)=>_0x312d20(_0x3d333a,_0xa0c366,_0x118a0c);let _0x4c9bc9=class{constructor(_0x7fb203,_0x40bf05,_0x5cf54e){this['_injector']=_0x7fb203,this['_transformService']=_0x40bf05,this['_docStateChangeManagerService']=_0x5cf54e;}[_0x1bfb44(0x28d)](_0x4ea123){const _0x4f0337=_0x1bfb44;this[_0x4f0337(0x244)](_0x4ea123);}['transformRemoteChangeset'](_0x107547){const _0x5ba09d=_0x1bfb44,{unitID:_0x5bf846}=_0x107547,{collaboration:_0x2c897a}=this[_0x5ba09d(0x375)][_0x5ba09d(0x366)](_0x5bf846);if(_0x2c897a[_0x5ba09d(0x31e)]===0x0)return _0x107547;let _0x48dcb9=_0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547['mutations'][0x0]);for(let _0x4273e9=0x0;_0x4273e9<_0x2c897a[_0x5ba09d(0x31e)];_0x4273e9++){const _0x56f398={'id':_0x5ba09d(0x292),'params':{'unitId':_0x2c897a[_0x4273e9]['unitId'],..._0x2c897a[_0x4273e9]['redoState']}},_0x3e3a73=this['_transformService'][_0x5ba09d(0x152)](_0x48dcb9,_0x56f398,!0x1);if(_0x5d9b62[_0x5ba09d(0x3b3)](_0x3e3a73))throw _0x3e3a73[_0x5ba09d(0x1ac)];_0x48dcb9=_0x3e3a73[_0x5ba09d(0x209)];}return{..._0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547),'mutations':[_0x48dcb9]};}[_0x1bfb44(0x244)](_0x44946d){const _0x3947bc=_0x1bfb44,{unitID:_0x3aaab8}=_0x44946d,{history:_0x2df991,collaboration:_0x14f1e2}=this['_docStateChangeManagerService']['getStateCache'](_0x3aaab8);if(_0x2df991[_0x3947bc(0x31e)]===0x0&&_0x14f1e2[_0x3947bc(0x31e)]===0x0)return;const _0x3c6e87=[],_0x4fd18c=[];let _0x31fbe8=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x1a9f6d=_0x2df991[_0x3947bc(0x31e)]-0x1;_0x1a9f6d>=0x0;_0x1a9f6d--){const _0x31b10d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d]['undoState']}},_0x578bd3={'id':_0x3947bc(0x292),'params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d][_0x3947bc(0x347)]}},_0x5c2ccc=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x31fbe8,_0x31b10d,!0x1),_0x3e8409=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x1be736,_0x578bd3,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x5c2ccc))throw _0x5c2ccc[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x3e8409))throw _0x3e8409[_0x3947bc(0x1ac)];_0x3c6e87[_0x3947bc(0x2aa)]({..._0x2df991[_0x1a9f6d],'undoState':_0x5c2ccc[_0x3947bc(0x223)][_0x3947bc(0x317)],'redoState':_0x3e8409[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x5c2ccc[_0x3947bc(0x209)],_0x1be736=_0x3e8409[_0x3947bc(0x209)];}_0x31fbe8=_0x20afdc['Tools'][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x124da4=_0x14f1e2[_0x3947bc(0x31e)]-0x1;_0x124da4>=0x0;_0x124da4--){const _0x4a7f2a={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x20a)]}},_0x5045d7={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x347)]}},_0x1eb4f5=this[_0x3947bc(0x213)]['transformMutation'](_0x31fbe8,_0x4a7f2a,!0x1),_0x588361=this['_transformService'][_0x3947bc(0x152)](_0x1be736,_0x5045d7,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x1eb4f5))throw _0x1eb4f5[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x588361))throw _0x588361['error'];_0x4fd18c[_0x3947bc(0x2aa)]({..._0x14f1e2[_0x124da4],'undoState':_0x1eb4f5[_0x3947bc(0x223)]['params'],'redoState':_0x588361[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x1eb4f5[_0x3947bc(0x209)],_0x1be736=_0x588361[_0x3947bc(0x209)];}this[_0x3947bc(0x375)][_0x3947bc(0x25a)](_0x3aaab8,{'history':_0x3c6e87,'collaboration':_0x4fd18c});}};_0x4c9bc9=_0x2812a4([_0x5a5389(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x5a5389(0x1,_0x5d9b62[_0x1bfb44(0x39e)]),_0x5a5389(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)]))],_0x4c9bc9);var _0xaf92b8=Object['getOwnPropertyDescriptor'],_0x2496c3=(_0x3d129c,_0x1f94e1,_0x2c9431,_0x338116)=>{for(var _0x18a4c5=_0x338116>0x1?void 0x0:_0x338116?_0xaf92b8(_0x1f94e1,_0x2c9431):_0x1f94e1,_0x4df4a3=_0x3d129c['length']-0x1,_0x58f037;_0x4df4a3>=0x0;_0x4df4a3--)(_0x58f037=_0x3d129c[_0x4df4a3])&&(_0x18a4c5=_0x58f037(_0x18a4c5)||_0x18a4c5);return _0x18a4c5;},_0x1e06a2=(_0x4ff08d,_0x85e80a)=>(_0x1f0fb8,_0x2570fa)=>_0x85e80a(_0x1f0fb8,_0x2570fa,_0x4ff08d);let _0x34b5db=class{constructor(_0x173bcc,_0x24f4d1){const _0x292136=_0x1bfb44;this[_0x292136(0x319)]=_0x173bcc,this[_0x292136(0x213)]=_0x24f4d1;}[_0x1bfb44(0x100)](_0xa411c5){const _0x27a357=_0x1bfb44;var _0x4f3f1d;const _0x2e4a8c=this[_0x27a357(0x319)][_0x27a357(0x2e1)](_0x52be1c[_0x27a357(0x1ba)]),_0x53ea6c=(_0x4f3f1d=_0x2e4a8c[_0x27a357(0x2a3)]())!=null?_0x4f3f1d:[];if(_0x53ea6c[_0x27a357(0x31e)]===0x0)return;const _0x1b0668=_0xa411c5[_0x27a357(0x1c4)],_0x3d5b5f=[{'id':_0x27a357(0x292),'params':{'unitId':_0x1b0668,'actions':null,'textRanges':_0x53ea6c}}],_0x4cfd20=this[_0x27a357(0x213)]['transformMutationsWithChangeset'](_0xa411c5,_0x3d5b5f);if(!_0x5d9b62[_0x27a357(0x187)](_0x4cfd20))throw _0x4cfd20[_0x27a357(0x1ac)];const _0x40d85=_0x4cfd20[_0x27a357(0x223)][0x0]['params'][_0x27a357(0x122)];Array[_0x27a357(0x140)](_0x40d85)&&_0x40d85[_0x27a357(0x31e)]&&_0x2e4a8c['replaceDocRanges'](_0x40d85,{'unitId':_0x1b0668,'subUnitId':_0x1b0668},!0x1);}};_0x34b5db=_0x2496c3([_0x1e06a2(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x1e06a2(0x1,_0x5d9b62['ITransformService'])],_0x34b5db);var _0x315323=Object[_0x1bfb44(0x3af)],_0x385f06=(_0x205d4c,_0x356666,_0x5b681b,_0x1537a8)=>{const _0x2cf516=_0x1bfb44;for(var _0x2175ee=_0x1537a8>0x1?void 0x0:_0x1537a8?_0x315323(_0x356666,_0x5b681b):_0x356666,_0x5cf3c5=_0x205d4c[_0x2cf516(0x31e)]-0x1,_0x5757e7;_0x5cf3c5>=0x0;_0x5cf3c5--)(_0x5757e7=_0x205d4c[_0x5cf3c5])&&(_0x2175ee=_0x5757e7(_0x2175ee)||_0x2175ee);return _0x2175ee;},_0x4c2900=(_0x44dd1e,_0x46b8e0)=>(_0x5b99b1,_0x46474c)=>_0x46b8e0(_0x5b99b1,_0x46474c,_0x44dd1e);let _0x403fb4=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0xd4bd30,_0x37e784,_0x27e32d,_0x435e5b,_0x4b1c9e,_0x9aea9a,_0x1641c6,_0x4593b8){const _0x154550=_0x1bfb44;super(),_0x46e3b1(this,'_status$',new _0x388e9f[(_0x154550(0x1ca))](_0x24c19b[_0x154550(0x190)][_0x154550(0x3c4)])),(this[_0x154550(0x375)]=_0xd4bd30,this[_0x154550(0x34f)]=_0x37e784,this[_0x154550(0x362)]=_0x27e32d,this['_docTransformStateCacheService']=_0x435e5b,this[_0x154550(0x169)]=_0x4b1c9e,this['_docSyncEditingCollabCursorService']=_0x9aea9a,this[_0x154550(0x189)]=_0x1641c6,this[_0x154550(0x2b5)]=_0x4593b8,this[_0x154550(0x2a5)]());}[_0x1bfb44(0x2a5)](){const _0x3681e7=_0x1bfb44;this[_0x3681e7(0x37d)](this[_0x3681e7(0x34f)][_0x3681e7(0x21b)][_0x3681e7(0x26f)](_0x435070=>{const _0x724684=_0x3681e7,_0xa450f=this[_0x724684(0x375)][_0x724684(0x10c)][_0x724684(0x26f)](_0xcba65a=>{const _0x38fa48=_0x724684;if(_0xcba65a==null)return;const {unitId:_0x5c8438,redoState:_0x3c9d58,commandId:_0x48d3f5}=_0xcba65a;if(_0x5c8438!==_0x435070[_0x38fa48(0x1c4)])return;const _0x301729={'id':_0x48d3f5,'type':_0x20afdc[_0x38fa48(0x204)][_0x38fa48(0x26a)],'params':{'unitId':_0x5c8438,'actions':_0x3c9d58[_0x38fa48(0xff)],'textRanges':null}};_0x435070[_0x38fa48(0x2cf)](_0x301729);});if(_0x435070[_0x724684(0x37d)](_0xa450f),_0x435070 instanceof _0x24c19b['DocCollaborationEntity']){const _0x53f3f6={'onTransformIME':_0xc1663f=>this[_0x724684(0x362)][_0x724684(0x290)](_0xc1663f),'onTransformState':_0x439521=>this[_0x724684(0x296)][_0x724684(0x28d)](_0x439521),'onTransformSelections':_0x56180a=>this['_docTransformSelectionsService']['transformSelections'](_0x56180a),'onSyncEditingCollabCursor':_0x1281f0=>this[_0x724684(0x2a8)][_0x724684(0x39a)](_0x1281f0),'onTransformRemoteChangesetByIMECache':_0x155b57=>this[_0x724684(0x362)][_0x724684(0x3a2)](_0x155b57),'onTransformRemoteChangesetByStateCache':_0x5ded44=>this[_0x724684(0x296)][_0x724684(0x3a2)](_0x5ded44)};_0x435070[_0x724684(0x102)](_0x53f3f6);}}));}};_0x403fb4=_0x385f06([_0x4c2900(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)])),_0x4c2900(0x1,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x3ac)])),_0x4c2900(0x2,_0x20afdc['Inject'](_0x2cf8cc)),_0x4c2900(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x4c9bc9)),_0x4c2900(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x34b5db)),_0x4c2900(0x5,_0x20afdc['Inject'](_0x2a0bd)),_0x4c2900(0x6,_0x351287[_0x1bfb44(0x3bd)]),_0x4c2900(0x7,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x115)]))],_0x403fb4);var _0x18e87c=(_0x2a517d=>(_0x2a517d[_0x2a517d['UNDEFINED']=0x0]='UNDEFINED',_0x2a517d[_0x2a517d['OK']=0x1]='OK',_0x2a517d[_0x2a517d[_0x1bfb44(0x363)]=0x2]='INTERNAL_ERROR',_0x2a517d[_0x2a517d['PERMISSION_DENIED']=0x3]=_0x1bfb44(0x1f0),_0x2a517d[_0x2a517d[_0x1bfb44(0x35a)]=0x4]=_0x1bfb44(0x35a),_0x2a517d[_0x2a517d[_0x1bfb44(0x25b)]=0x5]=_0x1bfb44(0x25b),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b2)]=0x6]=_0x1bfb44(0x1b2),_0x2a517d[_0x2a517d[_0x1bfb44(0x3b9)]=0x7]='INVALID_ARGUMENT',_0x2a517d[_0x2a517d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2a517d[_0x2a517d['COMPLETION_FINISHED']=0x9]=_0x1bfb44(0x1a5),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ec)]=0xa]=_0x1bfb44(0x2ec),_0x2a517d[_0x2a517d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2a517d[_0x2a517d[_0x1bfb44(0x38f)]=0xc]=_0x1bfb44(0x38f),_0x2a517d[_0x2a517d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1bfb44(0x120),_0x2a517d[_0x2a517d[_0x1bfb44(0x29f)]=0xe]=_0x1bfb44(0x29f),_0x2a517d[_0x2a517d[_0x1bfb44(0x32c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2a517d[_0x2a517d['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1bfb44(0x2ef),_0x2a517d[_0x2a517d[_0x1bfb44(0x231)]=0x64]=_0x1bfb44(0x231),_0x2a517d[_0x2a517d['ERROR_AGAIN']=0x65]=_0x1bfb44(0x10f),_0x2a517d[_0x2a517d[_0x1bfb44(0x23f)]=0xc9]='USER_NOT_FOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x295)]=0xca]=_0x1bfb44(0x295),_0x2a517d[_0x2a517d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1bfb44(0x19e),_0x2a517d[_0x2a517d[_0x1bfb44(0x138)]=0x1771]=_0x1bfb44(0x138),_0x2a517d[_0x2a517d[_0x1bfb44(0x1d8)]=0x1772]=_0x1bfb44(0x1d8),_0x2a517d[_0x2a517d[_0x1bfb44(0xfe)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a517d[_0x2a517d[_0x1bfb44(0x27e)]=0x1b59]=_0x1bfb44(0x27e),_0x2a517d[_0x2a517d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bfb44(0x1f9),_0x2a517d[_0x2a517d[_0x1bfb44(0x230)]=0x1b5b]=_0x1bfb44(0x230),_0x2a517d[_0x2a517d[_0x1bfb44(0x346)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a517d[_0x2a517d[_0x1bfb44(0x174)]=0x1b5d]='APPLY_DUPLICATED',_0x2a517d[_0x2a517d[_0x1bfb44(0x3a3)]=0x1f41]=_0x1bfb44(0x3a3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b7)]=0x2329]=_0x1bfb44(0x1b7),_0x2a517d[_0x2a517d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x381)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x243)]=0x232c]=_0x1bfb44(0x243),_0x2a517d[_0x2a517d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1bfb44(0xf4),_0x2a517d[_0x2a517d[_0x1bfb44(0x119)]=0x2711]=_0x1bfb44(0x119),_0x2a517d[_0x2a517d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bfb44(0x1b0),_0x2a517d[_0x2a517d[_0x1bfb44(0x113)]=0x2713]=_0x1bfb44(0x113),_0x2a517d[_0x2a517d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2a517d[_0x2a517d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1bfb44(0x30e),_0x2a517d[_0x2a517d['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1bfb44(0x3c1),_0x2a517d[_0x2a517d[_0x1bfb44(0x150)]=0x271c]=_0x1bfb44(0x150),_0x2a517d[_0x2a517d[_0x1bfb44(0x2e3)]=0x271d]=_0x1bfb44(0x2e3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1ae)]=0x271e]=_0x1bfb44(0x1ae),_0x2a517d[_0x2a517d[_0x1bfb44(0x356)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2a517d[_0x2a517d[_0x1bfb44(0x171)]=0x2720]=_0x1bfb44(0x171),_0x2a517d[_0x2a517d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1bfb44(0x28f),_0x2a517d[_0x2a517d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1bfb44(0x215),_0x2a517d[_0x2a517d[_0x1bfb44(0x2cb)]=0x2ee2]=_0x1bfb44(0x2cb),_0x2a517d[_0x2a517d[_0x1bfb44(0x20c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a517d[_0x2a517d[_0x1bfb44(0x157)]=0x2ee4]=_0x1bfb44(0x157),_0x2a517d[_0x2a517d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x24d)]=0x32c9]=_0x1bfb44(0x24d),_0x2a517d[_0x2a517d[_0x1bfb44(0x354)]=0x32ca]=_0x1bfb44(0x354),_0x2a517d[_0x2a517d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1bfb44(0x210),_0x2a517d[_0x2a517d[_0x1bfb44(0x222)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2a517d[_0x2a517d['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1bfb44(0x2d7),_0x2a517d[_0x2a517d['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1bfb44(0x2b6),_0x2a517d[_0x2a517d['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1bfb44(0x3be),_0x2a517d[_0x2a517d['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1bfb44(0x2e9),_0x2a517d[_0x2a517d['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2a517d[_0x2a517d[_0x1bfb44(0x162)]=0x37dd]=_0x1bfb44(0x162),_0x2a517d[_0x2a517d[_0x1bfb44(0x11d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2a517d[_0x2a517d[_0x1bfb44(0x156)]=0x3a9a]=_0x1bfb44(0x156),_0x2a517d[_0x2a517d[_0x1bfb44(0x29c)]=0x3a9b]=_0x1bfb44(0x29c),_0x2a517d[_0x2a517d['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1bfb44(0x175),_0x2a517d[_0x2a517d[_0x1bfb44(0x21c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2a517d[_0x2a517d[_0x1bfb44(0x36d)]=0x3a9e]=_0x1bfb44(0x36d),_0x2a517d[_0x2a517d[_0x1bfb44(0x3aa)]=0x3a9f]=_0x1bfb44(0x3aa),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ba)]=-0x1]=_0x1bfb44(0x2ba),_0x2a517d))(_0x18e87c||{});function _0x256729(_0xfa959d){const _0x5075ae=_0x1bfb44;var _0x4482ee,_0x4ca36d;const _0x1fcb9d=(_0x4482ee=_0xfa959d['stageInfo'])==null?void 0x0:_0x4482ee[_0x5075ae(0x1c3)],_0x3be16e=((_0x4ca36d=_0xfa959d['stageInfo'])==null?void 0x0:_0x4ca36d[_0x5075ae(0x217)])||0x0;return _0x1fcb9d===_0x5892b7[_0x5075ae(0x1b3)][_0x5075ae(0x236)]&&_0x3be16e>0x0;}function _0x37d9f4(_0x306b6c){const _0x2fd559=_0x1bfb44;return _0x306b6c['functionsExecutedState']===_0x5892b7[_0x2fd559(0x227)]['SUCCESS'];}var _0x4be633=Object[_0x1bfb44(0x3af)],_0x3943b7=(_0x131637,_0x57d78d,_0x42f255,_0x5f5318)=>{for(var _0x57e3fa=_0x5f5318>0x1?void 0x0:_0x5f5318?_0x4be633(_0x57d78d,_0x42f255):_0x57d78d,_0xfb894f=_0x131637['length']-0x1,_0x458f83;_0xfb894f>=0x0;_0xfb894f--)(_0x458f83=_0x131637[_0xfb894f])&&(_0x57e3fa=_0x458f83(_0x57e3fa)||_0x57e3fa);return _0x57e3fa;},_0x5b4266=(_0x51d367,_0x1d21e0)=>(_0x5ced6c,_0x4684e4)=>_0x1d21e0(_0x5ced6c,_0x4684e4,_0x51d367);const _0x1fa58c=_0x1bfb44(0x18b),_0x199220='/universer-api/license/formula/limit/start',_0x6fef7=_0x1bfb44(0x1af);let _0x475265=class extends _0x20afdc['Disposable']{constructor(_0xd4d1e1,_0x134260,_0x2b4367,_0x19d797,_0x262157,_0x3d9b79,_0x38b69d){const _0x50068e=_0x1bfb44;super(),_0x46e3b1(this,_0x50068e(0x23d),null),_0x46e3b1(this,_0x50068e(0x124),0x0),_0x46e3b1(this,'_currentUsage',0x0),_0x46e3b1(this,_0x50068e(0x2a9),[]),_0x46e3b1(this,_0x50068e(0x117),0x0),(this['_messageService']=_0xd4d1e1,this[_0x50068e(0x22a)]=_0x134260,this[_0x50068e(0x288)]=_0x2b4367,this[_0x50068e(0x301)]=_0x19d797,this['_univerInstanceService']=_0x262157,this[_0x50068e(0x310)]=_0x3d9b79,this[_0x50068e(0x2b5)]=_0x38b69d,this[_0x50068e(0x2ac)]());}[_0x1bfb44(0x2ac)](){const _0x2b0297=_0x1bfb44;this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x26b)]((_0x34536b,_0x39a810)=>{const _0x2d585b=_0x2b0297;if(_0x34536b['id']!==_0x5892b7['SetFormulaCalculationStartMutation']['id'])return;const _0x1eefd9=_0x34536b[_0x2d585b(0x317)];if(!this[_0x2d585b(0x36b)](_0x1eefd9['dirtyRanges']))return;if(!this['_checkCalculationAvailable']())throw this[_0x2d585b(0x2c6)](_0x34536b,_0x39a810),this[_0x2d585b(0x316)](),new _0x20afdc[(_0x2d585b(0x320))]();})),this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x248)]((_0x147440,_0x9055f0)=>{const _0x59b8eb=_0x2b0297;if(_0x147440['id']!==_0x5892b7[_0x59b8eb(0x388)]['id'])return;const _0x44a398=_0x147440[_0x59b8eb(0x317)];if(_0x256729(_0x44a398)){const _0x50eaf6=_0x20afdc[_0x59b8eb(0x37e)]();this['_taskIds']['push'](_0x50eaf6),this[_0x59b8eb(0x352)](_0x50eaf6);}else{if(_0x37d9f4(_0x44a398)&&this['_taskIds']['length']>0x0){const _0x1587cd=this['_taskIds'][_0x59b8eb(0x1d1)]();this[_0x59b8eb(0x28c)](_0x1587cd);}}}));}['dispose'](){const _0x4bacd0=_0x1bfb44;super[_0x4bacd0(0x201)](),this[_0x4bacd0(0x23b)](),this[_0x4bacd0(0x2a9)]=[],this[_0x4bacd0(0x26c)]=0x0,this[_0x4bacd0(0x124)]=0x0,this[_0x4bacd0(0x117)]=0x0;}async[_0x1bfb44(0x2c6)](_0x4e248f,_0x193d55){const _0x2b00bd=_0x1bfb44;for(let _0x3dd9be=0x0;_0x3dd9be<0x1e;_0x3dd9be++)try{if(await this[_0x2b00bd(0x3c3)](),this['_checkCalculationAvailable']()){this[_0x2b00bd(0x377)](_0x4e248f,_0x193d55),this['_messageService'][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x23e)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x13b)]});return;}await new Promise(_0x5d7474=>{const _0x39f520=_0x2b00bd;this['_pollingInterval']=window[_0x39f520(0x3a7)](_0x5d7474,0x3e8);});}catch(_0x114e98){this['_logService'][_0x2b00bd(0x1ac)](_0x114e98);}this[_0x2b00bd(0x189)][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x116)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x34d)]});}['_applyCommand'](_0x37229b,_0x3b8240){const _0x3afcea=_0x1bfb44;try{this[_0x3afcea(0x22a)][_0x3afcea(0x350)](_0x37229b['id'],_0x37229b[_0x3afcea(0x317)],_0x3b8240);}catch(_0x5886f3){this['_logService'][_0x3afcea(0x1ac)](_0x5886f3);}}[_0x1bfb44(0x28b)](_0x330ff1,_0x4cd3a3){const _0x47a67c=_0x1bfb44;_0x4cd3a3<this[_0x47a67c(0x117)]||(this[_0x47a67c(0x117)]=_0x4cd3a3,this[_0x47a67c(0x124)]=Number['parseInt'](_0x330ff1['maxFormulaLimit']),this['_currentUsage']=Number[_0x47a67c(0x24f)](_0x330ff1[_0x47a67c(0x27c)]));}async['_startCalculationLimit'](_0x3333da){const _0x2ca902=_0x1bfb44;var _0x3523d2,_0x2308a6;const _0x515404=Date[_0x2ca902(0x1a7)]();try{const _0x5dbddc=((_0x3523d2=this[_0x2ca902(0x288)][_0x2ca902(0x2da)](_0x24c19b[_0x2ca902(0x268)]))==null?void 0x0:_0x3523d2[_0x2ca902(0x1bc)])||_0x199220,_0x1376e8=(await this[_0x2ca902(0x301)]['post'](_0x5dbddc,{'body':JSON[_0x2ca902(0x32d)]({'taskId':_0x3333da})}))[_0x2ca902(0x2c9)];if(((_0x2308a6=_0x1376e8['error'])==null?void 0x0:_0x2308a6[_0x2ca902(0x173)])!==_0x18e87c['OK'])return;this[_0x2ca902(0x28b)](_0x1376e8[_0x2ca902(0x28a)],_0x515404);}catch(_0x475d3e){this[_0x2ca902(0x310)]['error'](_0x475d3e);}}async[_0x1bfb44(0x3c3)](_0x4f93f3){const _0x17c4f6=_0x1bfb44;var _0x5270fa,_0x563203;const _0xe57dbf=Date[_0x17c4f6(0x1a7)]();try{const _0x26e3d2=((_0x5270fa=this[_0x17c4f6(0x288)]['getConfig'](_0x24c19b[_0x17c4f6(0x268)]))==null?void 0x0:_0x5270fa[_0x17c4f6(0x202)])||_0x1fa58c,_0x4e49ef=_0x4f93f3?_0x26e3d2+_0x17c4f6(0x22c)+encodeURIComponent(_0x4f93f3):_0x26e3d2,_0x4c0bc9=(await this[_0x17c4f6(0x301)]['get'](_0x4e49ef))[_0x17c4f6(0x2c9)];if(((_0x563203=_0x4c0bc9['error'])==null?void 0x0:_0x563203[_0x17c4f6(0x173)])!==_0x18e87c['OK'])return;this[_0x17c4f6(0x28b)](_0x4c0bc9[_0x17c4f6(0x28a)],_0xe57dbf);}catch(_0x15a4b3){this[_0x17c4f6(0x310)][_0x17c4f6(0x1ac)](_0x15a4b3);}}async[_0x1bfb44(0x28c)](_0xd72491){const _0x4b354b=_0x1bfb44;var _0x48fcb2,_0x96b177;const _0xcb29ba=Date[_0x4b354b(0x1a7)]();try{const _0x3ee0ba=((_0x48fcb2=this[_0x4b354b(0x288)][_0x4b354b(0x2da)](_0x24c19b[_0x4b354b(0x268)]))==null?void 0x0:_0x48fcb2['releaseFormulaLimitUrl'])||_0x6fef7,_0x26ac70=(await this[_0x4b354b(0x301)][_0x4b354b(0x15e)](_0x3ee0ba,{'body':JSON[_0x4b354b(0x32d)]({'taskId':_0xd72491})}))[_0x4b354b(0x2c9)];if(((_0x96b177=_0x26ac70[_0x4b354b(0x1ac)])==null?void 0x0:_0x96b177[_0x4b354b(0x173)])!==_0x18e87c['OK'])return;this[_0x4b354b(0x28b)](_0x26ac70[_0x4b354b(0x28a)],_0xcb29ba);}catch(_0x5173d7){this['_logService']['error'](_0x5173d7);}}['_checkCalculationAvailable'](){const _0x249912=_0x1bfb44;return this[_0x249912(0x124)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x249912(0x26c)]>0x0;}[_0x1bfb44(0x23b)](){const _0x49a9bc=_0x1bfb44;this[_0x49a9bc(0x23d)]&&(clearTimeout(this[_0x49a9bc(0x23d)]),this[_0x49a9bc(0x23d)]=null);}[_0x1bfb44(0x316)](){const _0x23a39f=_0x1bfb44;this[_0x23a39f(0x189)]['show']({'content':this['_localeService']['t'](_0x23a39f(0x393)),'type':_0x1e0555['MessageType'][_0x23a39f(0x2a0)]});}[_0x1bfb44(0x36b)](_0x87221b){const _0x3d6096=_0x1bfb44;for(const _0x1dd4d6 of _0x87221b){const {unitId:_0x1f678e,sheetId:_0x51348b,range:_0x2c0a9c}=_0x1dd4d6,_0x3871c9=this[_0x3d6096(0x154)][_0x3d6096(0x240)](_0x1f678e);if(!_0x3871c9)continue;const _0x28e81f=_0x3871c9[_0x3d6096(0x1be)](_0x51348b);if(!_0x28e81f)continue;const _0x4d78be=_0x28e81f['getCellMatrix']();for(let _0x4b008f=_0x2c0a9c[_0x3d6096(0x13a)];_0x4b008f<=_0x2c0a9c[_0x3d6096(0x277)];_0x4b008f++)for(let _0x5c32b4=_0x2c0a9c[_0x3d6096(0x1b1)];_0x5c32b4<=_0x2c0a9c[_0x3d6096(0x2f0)];_0x5c32b4++){const _0x48d834=_0x4d78be['getValue'](_0x4b008f,_0x5c32b4);if(_0x48d834&&(_0x20afdc[_0x3d6096(0x282)](_0x48d834['f'])||_0x20afdc[_0x3d6096(0x379)](_0x48d834['si'])))return!0x0;}}return!0x1;}};_0x475265=_0x3943b7([_0x5b4266(0x0,_0x20afdc['Inject'](_0x351287['IMessageService'])),_0x5b4266(0x1,_0x20afdc['ICommandService']),_0x5b4266(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x5b4266(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x5b4266(0x4,_0x20afdc[_0x1bfb44(0xef)]),_0x5b4266(0x5,_0x20afdc['ILogService']),_0x5b4266(0x6,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['LocaleService']))],_0x475265);var _0x5975fa=Object[_0x1bfb44(0x3af)],_0x16b62e=(_0x3458b5,_0x418b05,_0x4a15b2,_0x142d5c)=>{const _0x7a1da1=_0x1bfb44;for(var _0x42a0d3=_0x142d5c>0x1?void 0x0:_0x142d5c?_0x5975fa(_0x418b05,_0x4a15b2):_0x418b05,_0x4e7896=_0x3458b5[_0x7a1da1(0x31e)]-0x1,_0x943907;_0x4e7896>=0x0;_0x4e7896--)(_0x943907=_0x3458b5[_0x4e7896])&&(_0x42a0d3=_0x943907(_0x42a0d3)||_0x42a0d3);return _0x42a0d3;},_0x49ebd9=(_0x3e2fe3,_0x519487)=>(_0x258fd2,_0x3ee307)=>_0x519487(_0x258fd2,_0x3ee307,_0x3e2fe3);let _0x4b4544=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x4b2026,_0x296d89,_0x3ca479){const _0x3d9bf6=_0x1bfb44;super(),_0x46e3b1(this,'_cachedData',new Map()),_0x46e3b1(this,_0x3d9bf6(0x1df),new Map()),_0x46e3b1(this,_0x3d9bf6(0x170),!0x1),(this[_0x3d9bf6(0x288)]=_0x4b2026,this[_0x3d9bf6(0x226)]=_0x296d89,this[_0x3d9bf6(0x331)]=_0x3ca479);}[_0x1bfb44(0x142)](){const _0x377649=_0x1bfb44;this[_0x377649(0x170)]=!0x0;}[_0x1bfb44(0x235)](){const _0x356917=_0x1bfb44;this[_0x356917(0x170)]=!0x1;}get['saveTaskMap'](){const _0x6fa2d1=_0x1bfb44;return this[_0x6fa2d1(0x1df)];}['dispose'](){const _0x1afc50=_0x1bfb44;this[_0x1afc50(0x107)]()[_0x1afc50(0x383)](()=>super[_0x1afc50(0x201)]());}async[_0x1bfb44(0x2fb)](_0x110f5e){const _0x531662=_0x1bfb44;return this[_0x531662(0x170)]?null:this[_0x531662(0x226)][_0x531662(0x21a)](_0x24c19b[_0x531662(0x18a)](_0x110f5e));}async['saveOfflineData'](_0xa274c8,_0x42ccd6){const _0x1b123a=_0x1bfb44;return!!this['_localStorageService'][_0x1b123a(0x29b)](_0xa274c8,_0x42ccd6);}['updateOfflineData'](_0x202e86,_0x4f8a42,_0x46ea9f,_0x270884){const _0x435fd3=_0x1bfb44,_0x707fa8=this[_0x435fd3(0x331)][_0x435fd3(0x136)](_0x202e86);this[_0x435fd3(0x37c)]['set'](_0x202e86,{'unitID':_0x202e86,'type':_0x4f8a42,'awaitingChangeset':_0x46ea9f,'mutations':_0x270884,'rev':_0x707fa8}),this['_saveTaskMap']['has'](_0x202e86)||this[_0x435fd3(0x2f8)](_0x202e86);}['_scheduleSaving'](_0x7e368c){const _0x5ab97b=_0x1bfb44,_0x42f596=this['_getSaveTimeout']();_0x42f596===0x0?this[_0x5ab97b(0x1ff)](_0x7e368c):this['_saveTaskMap']['set'](_0x7e368c,setTimeout(()=>this['_saveCache'](_0x7e368c),_0x42f596));}[_0x1bfb44(0x2dd)](){const _0x5eb3e9=_0x1bfb44;var _0x84eb60;return(_0x84eb60=this[_0x5eb3e9(0x288)][_0x5eb3e9(0x2da)](_0x24c19b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x84eb60:_0x24c19b['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0xd0457d){const _0x426ed2=_0x1bfb44,_0x1d5696=this[_0x426ed2(0x1df)][_0x426ed2(0x2e1)](_0xd0457d);return _0x1d5696!==void 0x0&&window['clearTimeout'](_0x1d5696),this[_0x426ed2(0x226)][_0x426ed2(0x29b)](_0x24c19b['getLocalCacheKey'](_0xd0457d),this['_cachedData'][_0x426ed2(0x2e1)](_0xd0457d))['then'](()=>this[_0x426ed2(0x1df)][_0x426ed2(0x181)](_0xd0457d));}async['exhaustSavingTask'](){const _0x1bc425=_0x1bfb44,_0x212db1=[];this[_0x1bc425(0x1df)][_0x1bc425(0x30f)]((_0x11309b,_0x4de096)=>{const _0x41b0a1=_0x1bc425;window['clearTimeout'](_0x11309b),_0x212db1[_0x41b0a1(0x211)](this[_0x41b0a1(0x1ff)](_0x4de096)[_0x41b0a1(0x383)](()=>{const _0x1465c6=_0x41b0a1;this[_0x1465c6(0x1df)][_0x1465c6(0x181)](_0x4de096);}));}),await Promise['all'](_0x212db1);}};_0x4b4544=_0x16b62e([_0x49ebd9(0x0,_0x20afdc[_0x1bfb44(0x344)]),_0x49ebd9(0x1,_0x20afdc[_0x1bfb44(0x216)]),_0x49ebd9(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x5d9b62[_0x1bfb44(0x24a)]))],_0x4b4544);class _0x2cbf92 extends _0x20afdc['RxDisposable']{constructor(){const _0x5acc0c=_0x1bfb44;super(),_0x46e3b1(this,'urlChange$'),this['urlChange$']=_0x388e9f[_0x5acc0c(0x1ee)](window,_0x5acc0c(0x203))[_0x5acc0c(0xee)](_0x388e9f[_0x5acc0c(0x200)](this['dispose$']),_0x388e9f[_0x5acc0c(0x269)](0x1),_0x388e9f[_0x5acc0c(0x21d)](void 0x0));}[_0x1bfb44(0x313)](_0x339a0f,_0xc477bb,_0x532634=!0x1){const _0x2f9f20=_0x1bfb44,_0x373a2d=new URL(window[_0x2f9f20(0x398)][_0x2f9f20(0x10b)]);_0x373a2d[_0x2f9f20(0x35d)]['set'](_0x339a0f,_0xc477bb),_0x532634?window[_0x2f9f20(0x373)][_0x2f9f20(0x114)]('','',_0x373a2d[_0x2f9f20(0x2e0)]()):window[_0x2f9f20(0x373)][_0x2f9f20(0x212)]('','',_0x373a2d[_0x2f9f20(0x2e0)]());}[_0x1bfb44(0x256)](_0xad2d79,_0xe8914e=!0x1){const _0x3e9b9f=_0x1bfb44,_0x1bf492=new URL(window[_0x3e9b9f(0x398)][_0x3e9b9f(0x10b)]);_0x1bf492[_0x3e9b9f(0x35d)]['delete'](_0xad2d79),_0xe8914e?window[_0x3e9b9f(0x373)]['replaceState']('','',_0x1bf492[_0x3e9b9f(0x2e0)]()):window[_0x3e9b9f(0x373)][_0x3e9b9f(0x212)]('','',_0x1bf492[_0x3e9b9f(0x2e0)]());}['getParam'](_0x3f9d5f){const _0x4f3656=_0x1bfb44;var _0x3db832;return(_0x3db832=new URL(window[_0x4f3656(0x398)][_0x4f3656(0x10b)])[_0x4f3656(0x35d)][_0x4f3656(0x2e1)](_0x3f9d5f))!=null?_0x3db832:void 0x0;}}var _0x5152c2=Object[_0x1bfb44(0x38b)],_0x2b16f7=Object[_0x1bfb44(0x3af)],_0x3a65ce=(_0x50bf30,_0x364cae,_0x4c4f45)=>_0x364cae in _0x50bf30?_0x5152c2(_0x50bf30,_0x364cae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4f45}):_0x50bf30[_0x364cae]=_0x4c4f45,_0x9a3c67=(_0x5001ce,_0x36c71d,_0x4125e4,_0x28558d)=>{const _0x317ba5=_0x1bfb44;for(var _0x23a500=_0x28558d>0x1?void 0x0:_0x28558d?_0x2b16f7(_0x36c71d,_0x4125e4):_0x36c71d,_0x55027a=_0x5001ce[_0x317ba5(0x31e)]-0x1,_0x2096b5;_0x55027a>=0x0;_0x55027a--)(_0x2096b5=_0x5001ce[_0x55027a])&&(_0x23a500=_0x2096b5(_0x23a500)||_0x23a500);return _0x23a500;},_0x4f20c7=(_0x359722,_0x2e808d)=>(_0x4c16d2,_0x1c2b52)=>_0x2e808d(_0x4c16d2,_0x1c2b52,_0x359722),_0x3b367f=(_0x3dff46,_0x28eb93,_0x970eda)=>_0x3a65ce(_0x3dff46,_0x28eb93+'',_0x970eda);const _0x1524eb='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1e0a34[_0x1bfb44(0x176)]=class extends _0x20afdc['Plugin']{constructor(_0x3337ff=_0x276987,_0x46ed0d,_0x2a0d90,_0x53f429){const _0x3cceae=_0x1bfb44;super(),this[_0x3cceae(0x302)]=_0x3337ff,this[_0x3cceae(0x145)]=_0x46ed0d,this[_0x3cceae(0x319)]=_0x2a0d90,this[_0x3cceae(0x288)]=_0x53f429;const {..._0x3051cb}=_0x20afdc['merge']({},_0x276987,this[_0x3cceae(0x302)]);this['_configService'][_0x3cceae(0x15d)](_0x5db899,_0x3051cb);}[_0x1bfb44(0x2ad)](){const _0x2981bf=_0x1bfb44;this[_0x2981bf(0x182)](),this['_initDependencies']();}[_0x1bfb44(0x365)](){const _0x40b7d0=_0x1bfb44;this[_0x40b7d0(0x369)]();}[_0x1bfb44(0x182)](){const _0x52e6de=_0x1bfb44;var _0x2240d5;const _0x4811a9=[[_0x16366d],[_0x475265],[_0x34b5db],[_0x2cf8cc],[_0x4c9bc9],[_0x2a0bd],[_0x562000,{'useClass':_0x2cbf92}],[_0x12e6c2[_0x52e6de(0x2e4)],{'useClass':_0x12e6c2[_0x52e6de(0x315)]}],[_0x24c19b[_0x52e6de(0x146)],{'useClass':_0x4b4544}],[_0x1e0a34[_0x52e6de(0x278)]],[_0x403fb4],[_0x2037e7],[_0x43654b],[_0xdd87ee],[_0x1e0a34[_0x52e6de(0x104)]]];_0x20afdc['registerDependencies'](this[_0x52e6de(0x319)],_0x20afdc[_0x52e6de(0x337)](_0x4811a9,(_0x2240d5=this['_config'])==null?void 0x0:_0x2240d5[_0x52e6de(0x303)]));}[_0x1bfb44(0x369)](){const _0x1b0f54=_0x1bfb44;this[_0x1b0f54(0x37d)](this['_renderManagerService']['registerRenderModule'](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_DOC'],[_0x568f40])),this[_0x1b0f54(0x37d)](this['_renderManagerService'][_0x1b0f54(0x17c)](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_SHEET'],[_0x35edad]));}[_0x1bfb44(0x135)](){const _0xa7e220=_0x1bfb44;_0x20afdc[_0xa7e220(0x33b)](this['_injector'],[[_0x43654b],[_0x1e0a34['DesktopCollaborationStatusDisplayController']],[_0x403fb4],[_0x2037e7],[_0x1e0a34[_0xa7e220(0x104)]],[_0x475265]]);}},_0x3b367f(_0x1e0a34[_0x1bfb44(0x176)],'pluginName',_0x1524eb),_0x1e0a34[_0x1bfb44(0x176)]=_0x9a3c67([_0x20afdc[_0x1bfb44(0x2b2)](_0x24c19b['UniverCollaborationClientPlugin']),_0x4f20c7(0x1,_0x314741[_0x1bfb44(0xfd)]),_0x4f20c7(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x4f20c7(0x3,_0x20afdc['IConfigService'])],_0x1e0a34[_0x1bfb44(0x176)]);var _0x26e098=Object[_0x1bfb44(0x3af)],_0x43f8a7=(_0x3ac881,_0x4fde2b,_0x3baa5e,_0x3bd24e)=>{for(var _0x1b02ac=_0x3bd24e>0x1?void 0x0:_0x3bd24e?_0x26e098(_0x4fde2b,_0x3baa5e):_0x4fde2b,_0x3b5496=_0x3ac881['length']-0x1,_0x4d134e;_0x3b5496>=0x0;_0x3b5496--)(_0x4d134e=_0x3ac881[_0x3b5496])&&(_0x1b02ac=_0x4d134e(_0x1b02ac)||_0x1b02ac);return _0x1b02ac;},_0x2d9cbc=(_0x2b024b,_0x5952b8)=>(_0x440915,_0x92c035)=>_0x5952b8(_0x440915,_0x92c035,_0x2b024b);_0x1e0a34[_0x1bfb44(0x1ce)]=class extends _0x24c19b[_0x1bfb44(0x1c0)]{constructor(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a){super(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a);}async[_0x1bfb44(0x27b)](_0x288fed){const _0x608f2f=_0x1bfb44,_0x28bce7=await this['_getSessionTicket'](),_0x21ea2d=this[_0x608f2f(0x2d6)](_0x288fed,_0x28bce7);return this['_doCreateSocket'](_0x21ea2d);}[_0x1bfb44(0x2d6)](_0x5b915b,_0x3184eb){const _0x49e7fc=_0x1bfb44,_0x57ceb3=typeof window>'u'?new URL(_0x5b915b):new URL(_0x5b915b,window[_0x49e7fc(0x398)][_0x49e7fc(0x2be)]);_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)](_0x49e7fc(0x28e),_0x3184eb);const _0x5069c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x49e7fc(0x398)]['search']);return _0x5069c5[_0x49e7fc(0x2e1)]('runId')&&_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)]('runId',_0x5069c5[_0x49e7fc(0x2e1)](_0x49e7fc(0x3bc))),_0x57ceb3['toString']();}async[_0x1bfb44(0x2f4)](){const _0x1a2c9f=_0x1bfb44;var _0x129ad7,_0x399b31,_0x27021b;const _0x53d9e9=this[_0x1a2c9f(0x288)]['getConfig'](_0x24c19b[_0x1a2c9f(0x268)]),_0x192cf8=(_0x129ad7=_0x53d9e9==null?void 0x0:_0x53d9e9['wsSessionTicketUrl'])!=null?_0x129ad7:_0x24c19b[_0x1a2c9f(0x18c)];return(_0x27021b=(_0x399b31=(await this[_0x1a2c9f(0x301)]['get'](_0x192cf8,{'headers':{'Content-Type':_0x1a2c9f(0x241)}}))[_0x1a2c9f(0x2c9)])==null?void 0x0:_0x399b31['ticket'])!=null?_0x27021b:'';}},_0x1e0a34[_0x1bfb44(0x1ce)]=_0x43f8a7([_0x2d9cbc(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x2d9cbc(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2['HTTPService'])),_0x2d9cbc(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x2d9cbc(0x3,_0x20afdc['ILogService']),_0x2d9cbc(0x4,_0x5d9b62[_0x1bfb44(0x2e2)])],_0x1e0a34[_0x1bfb44(0x1ce)]);var _0x46911a=Object[_0x1bfb44(0x3af)],_0x533ec8=(_0x5b5f21,_0x3b5136,_0x14f461,_0x139441)=>{const _0x1ec924=_0x1bfb44;for(var _0x24f1f8=_0x139441>0x1?void 0x0:_0x139441?_0x46911a(_0x3b5136,_0x14f461):_0x3b5136,_0x16a64a=_0x5b5f21[_0x1ec924(0x31e)]-0x1,_0x6e4f23;_0x16a64a>=0x0;_0x16a64a--)(_0x6e4f23=_0x5b5f21[_0x16a64a])&&(_0x24f1f8=_0x6e4f23(_0x24f1f8)||_0x24f1f8);return _0x24f1f8;},_0x13b1fa=(_0x12ad88,_0x2e31e7)=>(_0x53adbe,_0x5d3132)=>_0x2e31e7(_0x53adbe,_0x5d3132,_0x12ad88);_0x1e0a34[_0x1bfb44(0x360)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5358b7,_0x1115a9,_0x1196c9){const _0xe521ad=_0x1bfb44;super(),this[_0xe521ad(0x265)]=_0x5358b7,this[_0xe521ad(0x301)]=_0x1115a9,this[_0xe521ad(0x288)]=_0x1196c9;}async[_0x1bfb44(0x19f)](_0x2d1b73,_0x107619,_0x206390,..._0x5c920e){const _0x533146=_0x1bfb44;var _0x13d323,_0x6bfdc8,_0x180956,_0x416913;const _0x18bed9=this[_0x533146(0x265)][_0x533146(0x339)]();if(!_0x18bed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3ef3bd=((_0x13d323=this['_configService']['getConfig'](_0x24c19b[_0x533146(0x12b)]))!=null?_0x13d323:_0x24c19b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d1b73+'/run/'+_0x107619,_0x2841f2=new URL(window[_0x533146(0x398)]['href']),_0x52f769={'scriptId':_0x2d1b73,'runId':(_0x6bfdc8=_0x2841f2[_0x533146(0x35d)][_0x533146(0x2e1)]('runId'))!=null?_0x6bfdc8:'','function':_0x107619,'unitId':_0x18bed9[_0x533146(0x2d4)](),'argsOfFunction':JSON[_0x533146(0x32d)](_0x5c920e),'invokeId':(_0x180956=_0x206390['invokeId'])!=null?_0x180956:'','executionId':(_0x416913=_0x206390['executionId'])!=null?_0x416913:''};try{const _0x17f941=await this[_0x533146(0x301)]['post'](_0x3ef3bd,{'body':_0x52f769});return _0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)]&&_0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)][_0x533146(0x173)]!==_0x18e87c['OK']?'Failed':_0x17f941[_0x533146(0x2c9)]['result'];}catch{return _0x533146(0x387);}}},_0x1e0a34['RemoteUniscriptService']=_0x533ec8([_0x13b1fa(0x0,_0x20afdc['IUniverInstanceService']),_0x13b1fa(0x1,_0x20afdc['Inject'](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x13b1fa(0x2,_0x20afdc[_0x1bfb44(0x344)])],_0x1e0a34[_0x1bfb44(0x360)]);const _0x2ba88d=0x7530,_0x3538da=_0x1bfb44(0x193);class _0x140673 extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(){const _0x59a55a=_0x1bfb44;super(),_0x46e3b1(this,_0x59a55a(0x21f),_0x20afdc[_0x59a55a(0x37e)]()),_0x46e3b1(this,_0x59a55a(0x371),new Set()),_0x46e3b1(this,_0x59a55a(0x144),new Map()),_0x46e3b1(this,'_heartbeatTimer',null),_0x46e3b1(this,'_clearOtherTimers',new Map()),_0x46e3b1(this,_0x59a55a(0x31f),new Map()),this[_0x59a55a(0x357)]();}[_0x1bfb44(0x201)](){const _0x636ccd=_0x1bfb44;super[_0x636ccd(0x201)](),this[_0x636ccd(0x1a9)][_0x636ccd(0x30f)]((_0x44eb3d,_0x5563bc)=>this['_removeClearOtherTimer'](_0x5563bc)),this['_heartbeatTimer']&&window[_0x636ccd(0x234)](this[_0x636ccd(0x262)]);}['getUnitStatus$'](_0x56da1b){const _0x5491ba=_0x1bfb44;return this[_0x5491ba(0x1e2)](_0x56da1b)[_0x5491ba(0xee)](_0x388e9f[_0x5491ba(0x139)]());}['editingUnit'](_0x3ccc70){const _0x453cf8=_0x1bfb44;this[_0x453cf8(0x371)][_0x453cf8(0x125)]===0x0&&this[_0x453cf8(0x34e)](),this[_0x453cf8(0x371)][_0x453cf8(0x1dd)](_0x3ccc70),this[_0x453cf8(0x16e)]({'type':0x0,'memberID':this[_0x453cf8(0x21f)],'unitIDs':[_0x3ccc70],'isForwarded':!0x1});}[_0x1bfb44(0x261)](_0x1eb6e8){const _0x2d9937=_0x1bfb44;this[_0x2d9937(0x371)][_0x2d9937(0x181)](_0x1eb6e8),this[_0x2d9937(0x371)][_0x2d9937(0x125)]===0x0&&this[_0x2d9937(0x262)]&&window[_0x2d9937(0x234)](this['_heartbeatTimer']);}[_0x1bfb44(0x357)](){const _0x1e6ca3=_0x1bfb44;this['disposeWithMe'](_0x20afdc['toDisposable'](_0x388e9f['fromEvent'](window,_0x1e6ca3(0x38d))[_0x1e6ca3(0x26f)](_0x6bd8e3=>{const _0x51efe2=_0x1e6ca3;if(_0x6bd8e3[_0x51efe2(0x16d)]!==_0x3538da||!_0x6bd8e3['newValue'])return;const _0x4665c5=JSON[_0x51efe2(0x37b)](_0x6bd8e3[_0x51efe2(0x33e)]);this[_0x51efe2(0x279)](_0x4665c5);}))),window[_0x1e6ca3(0x13f)](_0x1e6ca3(0x33a),()=>this['_send']({'type':0x1,'memberID':this[_0x1e6ca3(0x21f)],'unitIDs':Array[_0x1e6ca3(0x392)](this[_0x1e6ca3(0x371)])}));}[_0x1bfb44(0x279)](_0x466d3c){const _0x2a4423=_0x1bfb44;switch(_0x466d3c[_0x2a4423(0x298)]){case 0x0:this[_0x2a4423(0x199)](_0x466d3c);break;case 0x1:this[_0x2a4423(0x327)](_0x466d3c);break;case 0x2:this[_0x2a4423(0x134)](_0x466d3c);break;}}['_handleJoinEvent'](_0x1951f7){const _0x53cd82=_0x1bfb44,{unitIDs:_0x360c9c,memberID:_0x2ca68d,isForwarded:_0xca59cb}=_0x1951f7;_0x360c9c[_0x53cd82(0x30f)](_0x1c284e=>{const _0x5bbff8=_0x53cd82;if(!_0xca59cb&&this[_0x5bbff8(0x144)][_0x5bbff8(0x293)](_0x1c284e)&&this[_0x5bbff8(0x1e2)](_0x1c284e)[_0x5bbff8(0x264)](_0x24c19b[_0x5bbff8(0x29d)][_0x5bbff8(0x285)]),!this['_unitOnClients'][_0x5bbff8(0x293)](_0x1c284e)||!this['_unitOnClients'][_0x5bbff8(0x2e1)](_0x1c284e)[_0x5bbff8(0x293)](_0x2ca68d)){const _0x1b3a43=this[_0x5bbff8(0x144)][_0x5bbff8(0x2e1)](_0x1c284e)||new Set();_0x1b3a43['add'](_0x2ca68d),this[_0x5bbff8(0x144)][_0x5bbff8(0x165)](_0x1c284e,_0x1b3a43),this['_scheduleClearOtherTimer'](_0x2ca68d);}}),_0xca59cb||this[_0x53cd82(0x16e)]({'type':0x0,'memberID':this[_0x53cd82(0x21f)],'unitIDs':[...this[_0x53cd82(0x371)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1d3600){const _0x5d47fe=_0x1bfb44;this[_0x5d47fe(0x14a)](_0x1d3600);const _0x5caa86=window[_0x5d47fe(0x3a7)](()=>{const _0x5ba827=_0x5d47fe;this[_0x5ba827(0x144)][_0x5ba827(0x30f)](_0x1b53e8=>{_0x1b53e8['delete'](_0x1d3600);});},_0x2ba88d*0x2);this[_0x5d47fe(0x1a9)][_0x5d47fe(0x165)](_0x1d3600,_0x5caa86);}[_0x1bfb44(0x14a)](_0x56fd7d){const _0x1d7442=_0x1bfb44;if(this[_0x1d7442(0x1a9)][_0x1d7442(0x293)](_0x56fd7d)){const _0x100341=this[_0x1d7442(0x1a9)]['get'](_0x56fd7d);_0x100341&&window[_0x1d7442(0xf3)](_0x100341),this[_0x1d7442(0x1a9)][_0x1d7442(0x165)](_0x56fd7d,null);}}[_0x1bfb44(0x327)](_0x4f8dc7){const _0x3467d3=_0x1bfb44,{memberID:_0x2a61a1,unitIDs:_0x515b3a}=_0x4f8dc7;_0x515b3a[_0x3467d3(0x30f)](_0x163cd4=>{const _0x4a5fac=_0x3467d3;var _0x44d5da;const _0x4c7e83=this[_0x4a5fac(0x144)][_0x4a5fac(0x2e1)](_0x163cd4);_0x4c7e83&&(_0x4c7e83[_0x4a5fac(0x181)](_0x2a61a1),(_0x44d5da=this[_0x4a5fac(0x1e2)](_0x163cd4))==null||_0x44d5da[_0x4a5fac(0x264)](_0x4c7e83[_0x4a5fac(0x125)]===0x0?_0x24c19b['UnitStatus'][_0x4a5fac(0x263)]:_0x24c19b['UnitStatus'][_0x4a5fac(0x285)]));}),this[_0x3467d3(0x14a)](_0x2a61a1);}[_0x1bfb44(0x134)](_0x2a30e6){const _0x49d56b=_0x1bfb44;this[_0x49d56b(0x11e)](_0x2a30e6[_0x49d56b(0x196)]);}[_0x1bfb44(0x16e)](_0xedac9c){const _0xfff886=_0x1bfb44;localStorage['setItem'](_0x3538da,JSON[_0xfff886(0x32d)](_0xedac9c));}[_0x1bfb44(0x34e)](){const _0x8abf17=_0x1bfb44;this[_0x8abf17(0x262)]=window['setInterval'](()=>{const _0x114706=_0x8abf17;this[_0x114706(0x16e)]({'type':0x2,'memberID':this['_id']});},_0x2ba88d);}[_0x1bfb44(0x1e2)](_0x51aa8f){const _0x203cb6=_0x1bfb44;return this[_0x203cb6(0x31f)][_0x203cb6(0x293)](_0x51aa8f)||this[_0x203cb6(0x31f)][_0x203cb6(0x165)](_0x51aa8f,new _0x388e9f[(_0x203cb6(0x1ca))](_0x24c19b[_0x203cb6(0x29d)][_0x203cb6(0x263)])),this[_0x203cb6(0x31f)][_0x203cb6(0x2e1)](_0x51aa8f);}}_0x1e0a34[_0x1bfb44(0x372)]=_0x562000,_0x1e0a34['SheetCollabCursorShape']=_0x240cae,_0x1e0a34[_0x1bfb44(0x294)]=_0x140673,_0x1e0a34[_0x1bfb44(0xed)]=_0x2cbf92,Object[_0x1bfb44(0x38b)](_0x1e0a34,Symbol[_0x1bfb44(0x271)],{'value':_0x1bfb44(0x343)});}));
|