@univerjs-pro/collaboration-client-ui 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614
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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5dcf(_0x311953,_0x9dde3d){const _0x22d0e9=_0x22d0();return _0x5dcf=function(_0x5dcff9,_0x2edb20){_0x5dcff9=_0x5dcff9-0xce;let _0x20bb62=_0x22d0e9[_0x5dcff9];return _0x20bb62;},_0x5dcf(_0x311953,_0x9dde3d);}(function(_0x2d55d3,_0x46f19a){const _0x411f57=_0x5dcf,_0x4d3bc3=_0x2d55d3();while(!![]){try{const _0x353dc1=-parseInt(_0x411f57(0x288))/0x1+parseInt(_0x411f57(0x22a))/0x2+parseInt(_0x411f57(0x18b))/0x3+parseInt(_0x411f57(0x35b))/0x4+-parseInt(_0x411f57(0x297))/0x5+-parseInt(_0x411f57(0x2a9))/0x6*(-parseInt(_0x411f57(0x136))/0x7)+-parseInt(_0x411f57(0x257))/0x8*(parseInt(_0x411f57(0x2cf))/0x9);if(_0x353dc1===_0x46f19a)break;else _0x4d3bc3['push'](_0x4d3bc3['shift']());}catch(_0xdf413c){_0x4d3bc3['push'](_0x4d3bc3['shift']());}}}(_0x22d0,0x9a0ba),function(_0xc64f51,_0x4224e9){const _0x3f113f=_0x5dcf;typeof exports==_0x3f113f(0x356)&&typeof module<'u'?_0x4224e9(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==_0x3f113f(0x276)&&define[_0x3f113f(0x139)]?define([_0x3f113f(0x28e),_0x3f113f(0x211),_0x3f113f(0x160),_0x3f113f(0x11c),_0x3f113f(0x2a8),_0x3f113f(0x34f),_0x3f113f(0x2a6),_0x3f113f(0x1b3),_0x3f113f(0x1d5),'@univerjs/sheets',_0x3f113f(0x264),'@univerjs/network',_0x3f113f(0x183),_0x3f113f(0x2ef),_0x3f113f(0x138),_0x3f113f(0x201),_0x3f113f(0x214),_0x3f113f(0xe8),_0x3f113f(0x32a)],_0x4224e9):(_0xc64f51=typeof globalThis<'u'?globalThis:_0xc64f51||self,_0x4224e9(_0xc64f51[_0x3f113f(0x1e4)]={},_0xc64f51[_0x3f113f(0x2fd)],_0xc64f51['UniverProCollaborationClient'],_0xc64f51[_0x3f113f(0x208)],_0xc64f51[_0x3f113f(0x24f)],_0xc64f51[_0x3f113f(0x34f)],_0xc64f51[_0x3f113f(0x354)],_0xc64f51['React'],_0xc64f51[_0x3f113f(0x2b5)],_0xc64f51[_0x3f113f(0x234)],_0xc64f51['UniverEngineRender'],_0xc64f51[_0x3f113f(0x321)],_0xc64f51['UniverDocsUi'],_0xc64f51[_0x3f113f(0xe6)],_0xc64f51['UniverProCollaboration'],_0xc64f51[_0x3f113f(0x251)],_0xc64f51['UniverEngineFormula'],_0xc64f51[_0x3f113f(0x34f)][_0x3f113f(0x10e)],_0xc64f51[_0x3f113f(0x197)]));}(this,function(_0x3cd9e3,_0x1515b2,_0x258ad3,_0x29d25c,_0x33cb29,_0x13e5fb,_0x39cbfa,_0x5bb9c9,_0x530a1d,_0x15c0ff,_0x5b1b15,_0x448633,_0x1e213a,_0x1cda26,_0x567a1f,_0x13c858,_0x36dc2f,_0x25fe30,_0x4fb956){'use strict';const _0x41d4e7=_0x5dcf;var _0x5eb7e0=Object['defineProperty'],_0x3658ea=(_0x43597c,_0x33431e,_0x1ed757)=>_0x33431e in _0x43597c?_0x5eb7e0(_0x43597c,_0x33431e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ed757}):_0x43597c[_0x33431e]=_0x1ed757,_0x52c81f=(_0x1ea60a,_0x327d71,_0x238de5)=>_0x3658ea(_0x1ea60a,typeof _0x327d71!=_0x41d4e7(0x30c)?_0x327d71+'':_0x327d71,_0x238de5),_0x62708=function(){const _0x52b102=_0x41d4e7;return _0x62708=Object[_0x52b102(0x325)]||function(_0x8c9415){const _0x5a1117=_0x52b102;for(var _0x5e16c7,_0x3472a7=0x1,_0x342b8e=arguments['length'];_0x3472a7<_0x342b8e;_0x3472a7++){_0x5e16c7=arguments[_0x3472a7];for(var _0x1f3d63 in _0x5e16c7)Object['prototype'][_0x5a1117(0x1b1)][_0x5a1117(0x156)](_0x5e16c7,_0x1f3d63)&&(_0x8c9415[_0x1f3d63]=_0x5e16c7[_0x1f3d63]);}return _0x8c9415;},_0x62708[_0x52b102(0x362)](this,arguments);},_0x2b5fd7=function(_0x9eab9f,_0x3dbc24){const _0x3e64f2=_0x41d4e7;var _0x4f6a0c={};for(var _0x1fd55a in _0x9eab9f)Object[_0x3e64f2(0xfb)][_0x3e64f2(0x1b1)][_0x3e64f2(0x156)](_0x9eab9f,_0x1fd55a)&&_0x3dbc24['indexOf'](_0x1fd55a)<0x0&&(_0x4f6a0c[_0x1fd55a]=_0x9eab9f[_0x1fd55a]);if(_0x9eab9f!=null&&typeof Object[_0x3e64f2(0x178)]=='function'){for(var _0x312230=0x0,_0x1fd55a=Object[_0x3e64f2(0x178)](_0x9eab9f);_0x312230<_0x1fd55a[_0x3e64f2(0x282)];_0x312230++)_0x3dbc24[_0x3e64f2(0x260)](_0x1fd55a[_0x312230])<0x0&&Object[_0x3e64f2(0xfb)]['propertyIsEnumerable'][_0x3e64f2(0x156)](_0x9eab9f,_0x1fd55a[_0x312230])&&(_0x4f6a0c[_0x1fd55a[_0x312230]]=_0x9eab9f[_0x1fd55a[_0x312230]]);}return _0x4f6a0c;},_0x5dafde=_0x5bb9c9[_0x41d4e7(0x1ba)](function(_0x4c8f52,_0x357693){const _0x38dc96=_0x41d4e7;var _0x27d205=_0x4c8f52[_0x38dc96(0x266)],_0x3184b4=_0x4c8f52['id'],_0xcafb81=_0x4c8f52[_0x38dc96(0x286)],_0x50ea54=_0x4c8f52[_0x38dc96(0x31f)],_0x507dd3=_0x2b5fd7(_0x4c8f52,['icon','id',_0x38dc96(0x286),'extend']),_0x42d34c=_0x38dc96(0x244)[_0x38dc96(0x35f)](_0x3184b4,'\x20')[_0x38dc96(0x35f)](_0xcafb81||'')[_0x38dc96(0x1df)](),_0x187ec1=_0x5bb9c9[_0x38dc96(0x20b)]('_'[_0x38dc96(0x35f)](_0x5ca639()));return _0x219889(_0x27d205,''['concat'](_0x3184b4),{'defIds':_0x27d205[_0x38dc96(0x102)],'idSuffix':_0x187ec1[_0x38dc96(0x131)]},_0x62708({'ref':_0x357693,'className':_0x42d34c},_0x507dd3),_0x50ea54);});function _0x219889(_0x3702e7,_0x27225d,_0x45233c,_0x52d1d9,_0x58f122){const _0x1675d1=_0x41d4e7;return _0x5bb9c9[_0x1675d1(0xdf)](_0x3702e7['tag'],_0x62708(_0x62708({'key':_0x27225d},_0x39ac5f(_0x3702e7,_0x45233c,_0x58f122)),_0x52d1d9),(_0x4cdfc8(_0x3702e7,_0x45233c)[_0x1675d1(0x1c9)]||[])['map'](function(_0xfda3bc,_0x444a7b){const _0x19ae8a=_0x1675d1;return _0x219889(_0xfda3bc,''[_0x19ae8a(0x35f)](_0x27225d,'-')['concat'](_0x3702e7[_0x19ae8a(0x1c2)],'-')[_0x19ae8a(0x35f)](_0x444a7b),_0x45233c,void 0x0,_0x58f122);}));}function _0x39ac5f(_0x148279,_0x3694c6,_0x2b6386){const _0x1c9180=_0x41d4e7;var _0x52c073=_0x62708({},_0x148279[_0x1c9180(0x14f)]);_0x2b6386!=null&&_0x2b6386[_0x1c9180(0x108)]&&_0x52c073[_0x1c9180(0x32d)]===_0x1c9180(0x108)&&(_0x52c073[_0x1c9180(0x32d)]=_0x2b6386[_0x1c9180(0x108)]),_0x148279[_0x1c9180(0x1c2)]==='mask'&&_0x52c073['id']&&(_0x52c073['id']=_0x52c073['id']+_0x3694c6['idSuffix']),Object['entries'](_0x52c073)[_0x1c9180(0x267)](function(_0x38504d){const _0x4faf07=_0x1c9180;var _0x4aca3f=_0x38504d[0x0],_0x21ad9a=_0x38504d[0x1];_0x4aca3f===_0x4faf07(0x2de)&&typeof _0x21ad9a==_0x4faf07(0xe7)&&(_0x52c073[_0x4aca3f]=_0x21ad9a[_0x4faf07(0x18a)](/url\(#(.*)\)/,_0x4faf07(0x33b)[_0x4faf07(0x35f)](_0x3694c6[_0x4faf07(0x2a1)],')')));});var _0x1f5985=_0x3694c6[_0x1c9180(0x102)];return!_0x1f5985||_0x1f5985[_0x1c9180(0x282)]===0x0||(_0x148279[_0x1c9180(0x1c2)]===_0x1c9180(0x341)&&_0x52c073['xlink:href']&&(_0x52c073[_0x1c9180(0x2e4)]=_0x52c073[_0x1c9180(0x2e4)]+_0x3694c6[_0x1c9180(0x2a1)]),Object['entries'](_0x52c073)[_0x1c9180(0x267)](function(_0x3bf954){const _0x2dde93=_0x1c9180;var _0x24137f=_0x3bf954[0x0],_0x24b1f0=_0x3bf954[0x1];typeof _0x24b1f0==_0x2dde93(0xe7)&&(_0x52c073[_0x24137f]=_0x24b1f0['replace'](/url\(#(.*)\)/,'url(#$1'[_0x2dde93(0x35f)](_0x3694c6[_0x2dde93(0x2a1)],')')));})),_0x52c073;}function _0x4cdfc8(_0x1dedd5,_0x297409){const _0x5c3396=_0x41d4e7;var _0x105dd7,_0x369af4=_0x297409[_0x5c3396(0x102)];return!_0x369af4||_0x369af4[_0x5c3396(0x282)]===0x0?_0x1dedd5:_0x1dedd5[_0x5c3396(0x1c2)]==='defs'&&(!((_0x105dd7=_0x1dedd5['children'])===null||_0x105dd7===void 0x0)&&_0x105dd7[_0x5c3396(0x282)])?_0x62708(_0x62708({},_0x1dedd5),{'children':_0x1dedd5['children'][_0x5c3396(0x19d)](function(_0x55b4fd){const _0x18d94c=_0x5c3396;return typeof _0x55b4fd[_0x18d94c(0x14f)]['id']==_0x18d94c(0xe7)&&_0x369af4&&_0x369af4[_0x18d94c(0x1f3)](_0x55b4fd[_0x18d94c(0x14f)]['id'])?_0x62708(_0x62708({},_0x55b4fd),{'attrs':_0x62708(_0x62708({},_0x55b4fd[_0x18d94c(0x14f)]),{'id':_0x55b4fd['attrs']['id']+_0x297409[_0x18d94c(0x2a1)]})}):_0x55b4fd;})}):_0x1dedd5;}function _0x5ca639(){const _0x825652=_0x41d4e7;return Math[_0x825652(0x2f0)]()[_0x825652(0x2ba)](0x24)[_0x825652(0x277)](0x2,0x8);}_0x5dafde[_0x41d4e7(0x227)]=_0x41d4e7(0x349);var _0x51337a={'tag':'svg','attrs':{'xmlns':_0x41d4e7(0x240),'fill':'none','viewBox':_0x41d4e7(0x305),'width':_0x41d4e7(0x122),'height':_0x41d4e7(0x122)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x41d4e7(0x280),'attrs':{'stroke':_0x41d4e7(0x15d),'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':_0x41d4e7(0x339),'strokeLinejoin':_0x41d4e7(0x339),'strokeWidth':1.2}}]},{'tag':_0x41d4e7(0x120),'attrs':{},'children':[{'tag':_0x41d4e7(0x232),'attrs':{'id':_0x41d4e7(0x2d2)},'children':[{'tag':_0x41d4e7(0x280),'attrs':{'fill':_0x41d4e7(0x16c),'d':_0x41d4e7(0x14e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x59c139=_0x5bb9c9['forwardRef'](function(_0x2e2361,_0x35eb74){const _0x271d09=_0x41d4e7;return _0x5bb9c9['createElement'](_0x5dafde,Object[_0x271d09(0x325)]({},_0x2e2361,{'id':_0x271d09(0x31b),'ref':_0x35eb74,'icon':_0x51337a}));});_0x59c139[_0x41d4e7(0x227)]=_0x41d4e7(0x2e0);var _0x16d242={'tag':_0x41d4e7(0x32c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41d4e7(0x10a)},'children':[{'tag':_0x41d4e7(0x280),'attrs':{'stroke':_0x41d4e7(0x15d),'d':_0x41d4e7(0x25f),'strokeLinecap':_0x41d4e7(0x339),'strokeLinejoin':_0x41d4e7(0x339),'strokeWidth':1.2}}]},{'tag':_0x41d4e7(0x120),'attrs':{},'children':[{'tag':_0x41d4e7(0x232),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x41d4e7(0x280),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x333cd0=_0x5bb9c9[_0x41d4e7(0x1ba)](function(_0x3d3fbb,_0x46dbb5){const _0x414d96=_0x41d4e7;return _0x5bb9c9[_0x414d96(0xdf)](_0x5dafde,Object[_0x414d96(0x325)]({},_0x3d3fbb,{'id':_0x414d96(0x331),'ref':_0x46dbb5,'icon':_0x16d242}));});_0x333cd0[_0x41d4e7(0x227)]=_0x41d4e7(0x306);function _0x118f00(_0x160f90){const _0x40d070=_0x41d4e7;switch(_0x160f90){case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x367)]:return _0x40d070(0x149);case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x273)]:return _0x40d070(0x26e);case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x121)]:return'collabStatus.fetchMiss';case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x324)]:return'collabStatus.notCollab';case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x125)]:case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x2d3)]:return _0x40d070(0x2a5);case _0x258ad3[_0x40d070(0x2d9)]['SYNCED']:case _0x258ad3[_0x40d070(0x2d9)][_0x40d070(0x291)]:return'collabStatus.synced';}}function _0x57283b(_0x5a9d32){const _0x53b9d8=_0x41d4e7,{status$:_0x484204}=_0x5a9d32,_0x358fda=_0x33cb29[_0x53b9d8(0x206)](_0x484204,_0x258ad3[_0x53b9d8(0x2d9)][_0x53b9d8(0x324)]),_0x2de4e9=_0x33cb29[_0x53b9d8(0xed)](_0x29d25c[_0x53b9d8(0xe1)]),_0x33ceb3=_0x33cb29[_0x53b9d8(0xed)](_0x258ad3[_0x53b9d8(0x143)]),_0x1c2772=_0x358fda!==_0x258ad3[_0x53b9d8(0x2d9)][_0x53b9d8(0x367)],_0xf64404=_0x2de4e9['t'](_0x118f00(_0x358fda)),_0x332dd3=_0x1c2772?_0x1515b2[_0x53b9d8(0x163)](_0x333cd0,{}):_0x1515b2[_0x53b9d8(0x163)](_0x59c139,{}),_0x453a1c=_0x5bb9c9[_0x53b9d8(0x21e)](()=>{const _0x5987a2=_0x53b9d8;_0x1c2772||_0x33ceb3[_0x5987a2(0x363)]();},[_0x1c2772,_0x33ceb3]);function _0x29a750(){const _0x3a7099=_0x53b9d8;return _0x1515b2['jsxs'](_0x3a7099(0x1a9),{'className':_0x3a7099(0x2b8),'onClick':_0x453a1c,'children':[_0x1515b2[_0x3a7099(0x163)](_0x3a7099(0x1a9),{'className':_0x39cbfa[_0x3a7099(0x275)](_0x3a7099(0x196),{'univer-text-green-500':_0x1c2772,'univer-text-red-500':!_0x1c2772}),'children':_0x332dd3}),_0x1515b2[_0x3a7099(0x163)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xf64404})]});}return _0x1c2772?_0x29a750():_0x1515b2[_0x53b9d8(0x163)](_0x39cbfa['Tooltip'],{'title':_0x2de4e9['t'](_0x53b9d8(0x17c)),'children':_0x29a750()});}var _0x101127=Object[_0x41d4e7(0x21b)],_0x25fc5e=(_0x2d26a5,_0x2e8e6b,_0x121667,_0x56e4a2)=>{const _0x1f0afa=_0x41d4e7;for(var _0x14835d=_0x56e4a2>0x1?void 0x0:_0x56e4a2?_0x101127(_0x2e8e6b,_0x121667):_0x2e8e6b,_0x517eeb=_0x2d26a5[_0x1f0afa(0x282)]-0x1,_0x585c91;_0x517eeb>=0x0;_0x517eeb--)(_0x585c91=_0x2d26a5[_0x517eeb])&&(_0x14835d=_0x585c91(_0x14835d)||_0x14835d);return _0x14835d;},_0x10155c=(_0x327711,_0x5b0176)=>(_0x37219a,_0x4b2be8)=>_0x5b0176(_0x37219a,_0x4b2be8,_0x327711);_0x3cd9e3['DesktopCollaborationStatusDisplayController']=class extends _0x29d25c[_0x41d4e7(0x1cb)]{constructor(_0x58199d,_0x32d0e3,_0x46f3df,_0xa7e6e0){const _0x3e439a=_0x41d4e7;super(),_0x52c81f(this,'_status$',new _0x13e5fb['BehaviorSubject'](_0x258ad3[_0x3e439a(0x2d9)][_0x3e439a(0x324)])),(this[_0x3e439a(0x36a)]=_0x58199d,this[_0x3e439a(0x26a)]=_0x32d0e3,this[_0x3e439a(0x274)]=_0x46f3df,this[_0x3e439a(0x337)]=_0xa7e6e0,this[_0x3e439a(0x35d)](),this[_0x3e439a(0x2a0)]());}[_0x41d4e7(0x2a0)](){const _0x3b9bc1=_0x41d4e7;this[_0x3b9bc1(0x2fc)](this[_0x3b9bc1(0x36a)][_0x3b9bc1(0x313)]['pipe'](_0x13e5fb[_0x3b9bc1(0x1f9)](()=>{const _0x4716d4=_0x3b9bc1,_0x1f11d1=this[_0x4716d4(0x36a)]['getFocusedUnit']();return _0x1f11d1?this[_0x4716d4(0x274)][_0x4716d4(0x34a)](_0x1f11d1[_0x4716d4(0x2d4)]()):_0x13e5fb['of'](null);}),_0x13e5fb[_0x3b9bc1(0x1f9)](_0xb5970d=>_0xb5970d?_0xb5970d[_0x3b9bc1(0x142)]:_0x13e5fb['of'](_0x258ad3[_0x3b9bc1(0x2d9)][_0x3b9bc1(0x324)])))['subscribe'](_0x153764=>{const _0x50d7da=_0x3b9bc1;this[_0x50d7da(0x36d)]['next'](_0x153764);}));}[_0x41d4e7(0x35d)](){const _0x5ecdd1=_0x41d4e7;this[_0x5ecdd1(0x2fc)](this[_0x5ecdd1(0x337)][_0x5ecdd1(0x104)](_0x33cb29[_0x5ecdd1(0x35c)][_0x5ecdd1(0x225)],()=>_0x33cb29['connectInjector'](_0x1f9057({'status$':this[_0x5ecdd1(0x36d)]['asObservable']()}),this['_injector'])));}},_0x3cd9e3[_0x41d4e7(0x310)]=_0x25fc5e([_0x10155c(0x0,_0x29d25c['IUniverInstanceService']),_0x10155c(0x1,_0x29d25c['Inject'](_0x29d25c[_0x41d4e7(0x2a4)])),_0x10155c(0x2,_0x29d25c['Inject'](_0x258ad3[_0x41d4e7(0x2ee)])),_0x10155c(0x3,_0x33cb29[_0x41d4e7(0x1f6)])],_0x3cd9e3['DesktopCollaborationStatusDisplayController']);function _0x1f9057(_0x42dd55){const {status$:_0x5badf1}=_0x42dd55;return function(){const _0x1bd955=_0x5dcf;return _0x1515b2[_0x1bd955(0x163)](_0x57283b,{'status$':_0x5badf1});};}const _0x44fd1c=_0x29d25c[_0x41d4e7(0x1ac)](_0x41d4e7(0xe4));var _0x804186=Object[_0x41d4e7(0x21b)],_0x512332=(_0x3d01a6,_0x35df43,_0x18cbaf,_0x4f9a49)=>{const _0x41467d=_0x41d4e7;for(var _0x1e70f0=_0x4f9a49>0x1?void 0x0:_0x4f9a49?_0x804186(_0x35df43,_0x18cbaf):_0x35df43,_0x1f5134=_0x3d01a6[_0x41467d(0x282)]-0x1,_0x33be3a;_0x1f5134>=0x0;_0x1f5134--)(_0x33be3a=_0x3d01a6[_0x1f5134])&&(_0x1e70f0=_0x33be3a(_0x1e70f0)||_0x1e70f0);return _0x1e70f0;},_0x53e00a=(_0x3d315a,_0x483812)=>(_0x5b0a40,_0x2382c7)=>_0x483812(_0x5b0a40,_0x2382c7,_0x3d315a);_0x3cd9e3[_0x41d4e7(0x2e7)]=class extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(_0x446069,_0x310b95,_0x2b66b3,_0x2fba98,_0x12471f){const _0x3a5c8e=_0x41d4e7;super(),this[_0x3a5c8e(0x2b6)]=_0x446069,this['_logService']=_0x310b95,this[_0x3a5c8e(0x335)]=_0x2b66b3,this[_0x3a5c8e(0x26f)]=_0x2fba98,_0x12471f?_0x12471f==null||_0x12471f[_0x3a5c8e(0x14d)]()['then'](()=>this['_init']()):(this[_0x3a5c8e(0x248)][_0x3a5c8e(0x159)]('[CollaborationDataLoaderController]',_0x3a5c8e(0x24e)),this[_0x3a5c8e(0x112)]());}async['_init'](){const _0x341d89=_0x41d4e7,_0x5921b3=this[_0x341d89(0x2b6)]['getParam']('unit'),_0x2566f8=this[_0x341d89(0x2b6)][_0x341d89(0x348)](_0x341d89(0x23e)),_0x4cac5d=this[_0x341d89(0x2b6)][_0x341d89(0x348)](_0x341d89(0x10c));if(!_0x5921b3||!_0x2566f8){this[_0x341d89(0x248)]['debug']('[CollaborationDataLoaderController]',_0x341d89(0x318));return;}const _0x64a992=await this[_0x341d89(0x26f)]['loadUnit'](_0x5921b3,Number(_0x2566f8),_0x4cac5d);_0x64a992&&_0x64a992 instanceof _0x29d25c['Workbook']&&this[_0x341d89(0xec)](_0x64a992);}async[_0x41d4e7(0xec)](_0x33bc24){const _0x2661fc=_0x41d4e7;await this['_updateSubUnitFromURLParams'](_0x33bc24),_0x33bc24[_0x2661fc(0x2da)][_0x2661fc(0xfc)](_0x13e5fb[_0x2661fc(0x2e2)](this[_0x2661fc(0x114)]))[_0x2661fc(0x262)](_0xf23971=>{const _0x40d556=_0x2661fc;_0xf23971&&this[_0x40d556(0x1c6)](_0xf23971);}),this[_0x2661fc(0x2b6)][_0x2661fc(0x172)][_0x2661fc(0xfc)](_0x13e5fb[_0x2661fc(0x2e2)](this[_0x2661fc(0x114)]))[_0x2661fc(0x262)](()=>this[_0x2661fc(0x25b)](_0x33bc24));}[_0x41d4e7(0x1c6)](_0x3f6e68,_0x24989b=!0x1){const _0x45712e=_0x41d4e7,_0x2f81cd=this[_0x45712e(0x2b6)][_0x45712e(0x348)](_0x45712e(0x10c));_0x3f6e68[_0x45712e(0x268)]()!==_0x2f81cd&&this[_0x45712e(0x2b6)][_0x45712e(0x1dd)](_0x45712e(0x10c),_0x3f6e68['getSheetId'](),_0x24989b);}async['_updateSubUnitFromURLParams'](_0x183c11){const _0x37bce3=_0x41d4e7;var _0x86ee13;const _0x41937d=this[_0x37bce3(0x2b6)][_0x37bce3(0x348)](_0x37bce3(0x10c));if(!_0x41937d||!_0x183c11[_0x37bce3(0x1e7)](_0x41937d)){const _0x3c9188=_0x183c11[_0x37bce3(0x1ee)]()[0x0],_0x388eef=_0x183c11['getSheetBySheetId'](_0x3c9188);if(!_0x388eef)return;this[_0x37bce3(0x1c6)](_0x388eef,!0x0),await this[_0x37bce3(0x335)]['executeCommand'](_0x15c0ff['SetWorksheetActivateCommand']['id'],{'unitId':_0x183c11['getUnitId'](),'subUnitId':_0x3c9188});return;}((_0x86ee13=_0x183c11[_0x37bce3(0x28d)]())==null?void 0x0:_0x86ee13[_0x37bce3(0x268)]())!==_0x41937d&&await this[_0x37bce3(0x335)]['executeCommand'](_0x15c0ff[_0x37bce3(0x1db)]['id'],{'unitId':_0x183c11[_0x37bce3(0x2d4)](),'subUnitId':_0x41937d});}},_0x3cd9e3[_0x41d4e7(0x2e7)]=_0x512332([_0x53e00a(0x0,_0x44fd1c),_0x53e00a(0x1,_0x29d25c[_0x41d4e7(0x199)]),_0x53e00a(0x2,_0x29d25c[_0x41d4e7(0x309)]),_0x53e00a(0x3,_0x29d25c[_0x41d4e7(0x181)](_0x258ad3['DataLoaderService'])),_0x53e00a(0x4,_0x29d25c[_0x41d4e7(0x2e3)](_0x530a1d[_0x41d4e7(0x1d2)]))],_0x3cd9e3[_0x41d4e7(0x2e7)]);var _0x5f391b=Object[_0x41d4e7(0x21b)],_0x14432d=(_0x4efec1,_0x421b97,_0x19e7ad,_0x546de8)=>{const _0x3968ad=_0x41d4e7;for(var _0x32035b=_0x546de8>0x1?void 0x0:_0x546de8?_0x5f391b(_0x421b97,_0x19e7ad):_0x421b97,_0xeebd6e=_0x4efec1[_0x3968ad(0x282)]-0x1,_0xd75df;_0xeebd6e>=0x0;_0xeebd6e--)(_0xd75df=_0x4efec1[_0xeebd6e])&&(_0x32035b=_0xd75df(_0x32035b)||_0x32035b);return _0x32035b;},_0x2bec10=(_0x17ca70,_0x41e855)=>(_0x272f98,_0x31be39)=>_0x41e855(_0x272f98,_0x31be39,_0x17ca70);let _0x3dba0b=class extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(_0x3ee072,_0x2a59ea){const _0x12e84c=_0x41d4e7;super(),this[_0x12e84c(0x203)]=_0x3ee072,this[_0x12e84c(0x22c)]=_0x2a59ea,this[_0x12e84c(0x112)]();}[_0x41d4e7(0x112)](){const _0x5c073d=_0x41d4e7,_0xc401=this;this[_0x5c073d(0x2fc)](this[_0x5c073d(0x203)][_0x5c073d(0x2d6)]({'onBeforePasteImage':async _0x4c9ff=>{const _0xd83682=_0x5c073d,_0x37e7be=await _0xc401['_imageIoService'][_0xd83682(0x151)](_0x4c9ff);return _0x37e7be?{'source':_0x37e7be['source'],'imageSourceType':_0x37e7be[_0xd83682(0x116)]}:null;}}));}};_0x3dba0b=_0x14432d([_0x2bec10(0x0,_0x1e213a[_0x41d4e7(0x29a)]),_0x2bec10(0x1,_0x1cda26[_0x41d4e7(0x20e)])],_0x3dba0b);const _0x518d28=[_0x41d4e7(0xe2),_0x41d4e7(0x364),_0x41d4e7(0x1fb),'red.300',_0x41d4e7(0x345),_0x41d4e7(0x1e5)];class _0x4cc29d extends _0x29d25c[_0x41d4e7(0x1cb)]{constructor(){const _0x16090c=_0x41d4e7;super(...arguments),_0x52c81f(this,'_assignedColors',new Map()),_0x52c81f(this,_0x16090c(0x144),0x0);}[_0x41d4e7(0x2e6)](_0x563888){const _0x576e8c=_0x41d4e7;if(this[_0x576e8c(0x2a7)]['has'](_0x563888))return this[_0x576e8c(0x2a7)][_0x576e8c(0xef)](_0x563888);const _0x4f440e=_0x518d28[this[_0x576e8c(0x144)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x518d28[_0x576e8c(0x282)],this[_0x576e8c(0x2a7)][_0x576e8c(0x32f)](_0x563888,_0x4f440e),_0x4f440e;}}function _0x1dc668(_0x6bb971){const _0x5e71ba=_0x41d4e7;let _0x1cd692='';for(const _0x454a92 of _0x6bb971){const {startOffset:_0x5351ab,endOffset:_0x23ed3a,isActive:_0x3c3c21,rangeType:_0x1576d2,segmentId:_0x2aed11,segmentPage:_0x411883}=_0x454a92;_0x1cd692[_0x5e71ba(0x282)]&&(_0x1cd692+=','),_0x1cd692+=_0x5351ab+':'+_0x23ed3a+':'+(_0x3c3c21?'1':'0')+':'+_0x1576d2+':'+_0x2aed11+':'+_0x411883;}return _0x1cd692;}function _0x140384(_0x13b948){const _0x4afcca=_0x41d4e7,_0x2f6f00=_0x13b948[_0x4afcca(0x18d)](','),_0x2fac57=[];for(const _0x5681da of _0x2f6f00){const [_0x294bde,_0x248075,_0x3ebc6f,_0x5ca1a3,_0x1a261c,_0x430927]=_0x5681da[_0x4afcca(0x18d)](':');_0x2fac57[_0x4afcca(0xe5)]({'startOffset':Number(_0x294bde),'endOffset':Number(_0x248075),'collapsed':_0x294bde===_0x248075,'isActive':_0x3ebc6f==='1','rangeType':_0x5ca1a3===_0x29d25c[_0x4afcca(0x25e)][_0x4afcca(0x2f9)]?_0x29d25c[_0x4afcca(0x25e)][_0x4afcca(0x2f9)]:_0x29d25c['DOC_RANGE_TYPE'][_0x4afcca(0x330)],'segmentId':typeof _0x1a261c==_0x4afcca(0xe7)?String(_0x1a261c):'','segmentPage':Number(_0x430927!=null?_0x430927:-0x1)});}return _0x2fac57[_0x4afcca(0xd9)](_0x2d89d=>_0x2d89d['isActive'])||(_0x2fac57[0x0][_0x4afcca(0x311)]=!0x0),_0x2fac57;}class _0x115879 extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(){const _0x1e3f78=_0x41d4e7;super(...arguments),_0x52c81f(this,_0x1e3f78(0x2c2),new _0x13e5fb['BehaviorSubject'](null)),_0x52c81f(this,_0x1e3f78(0x270),this[_0x1e3f78(0x2c2)][_0x1e3f78(0x31d)]());}['syncEditingCollabCursor'](_0xd51662){const _0x6443=_0x41d4e7,{unitID:_0x43ee3a,memberID:_0x32fcae,textRanges:_0x11e2b2}=_0xd51662,_0x32d9bf=_0x1dc668(_0x11e2b2);if(_0x32d9bf==='')return;const _0x491901={'unitID':_0x43ee3a,'memberID':_0x32fcae,'selection':_0x32d9bf};this['_collabCursorState$'][_0x6443(0x26c)](_0x491901);}}var _0x17e2bc=Object[_0x41d4e7(0x21b)],_0x25bf09=(_0x5cd03b,_0x11be8c,_0x37b5b7,_0x3fa1eb)=>{for(var _0x27d174=_0x3fa1eb>0x1?void 0x0:_0x3fa1eb?_0x17e2bc(_0x11be8c,_0x37b5b7):_0x11be8c,_0x2dc0a1=_0x5cd03b['length']-0x1,_0x18976e;_0x2dc0a1>=0x0;_0x2dc0a1--)(_0x18976e=_0x5cd03b[_0x2dc0a1])&&(_0x27d174=_0x18976e(_0x27d174)||_0x27d174);return _0x27d174;},_0x409c77=(_0x277c06,_0x4fdebc)=>(_0xff878,_0x11bacd)=>_0x4fdebc(_0xff878,_0x11bacd,_0x277c06);const _0x43c9d8=0x12c,_0x208fa0=0x64;let _0x22b2b8=class extends _0x29d25c['RxDisposable']{constructor(_0x15907a,_0x40ddd7,_0x2cd6f8,_0x2f5ff6,_0x206b51,_0x531ea6,_0x20917b,_0x1ca230,_0x195eb6){const _0x44bd72=_0x41d4e7;super(),_0x52c81f(this,_0x44bd72(0x1ed),!0x1),_0x52c81f(this,_0x44bd72(0x112),!0x1),_0x52c81f(this,_0x44bd72(0x1a0),new _0x13e5fb[(_0x44bd72(0x359))](new Map())),_0x52c81f(this,_0x44bd72(0x303),this[_0x44bd72(0x1a0)]['asObservable']()),_0x52c81f(this,_0x44bd72(0x193),new _0x13e5fb[(_0x44bd72(0x359))]([])),_0x52c81f(this,'roomMembers$',this['_roomMembers$'][_0x44bd72(0xfc)](_0x13e5fb[_0x44bd72(0x192)](_0x43c9d8))),_0x52c81f(this,_0x44bd72(0x315),_0x29d25c['debounce'](_0x45a5ef=>{const _0x2019c1=_0x44bd72,_0xd1d2f0={'eventID':_0x567a1f[_0x2019c1(0x162)][_0x2019c1(0x2b1)],'data':{'unitID':this[_0x2019c1(0x115)],'memberID':this['_session'][_0x2019c1(0x186)](),'selection':_0x1dc668(_0x45a5ef)}};this['_session'][_0x2019c1(0x105)](_0xd1d2f0,this['unitID']);},_0x208fa0)),(this[_0x44bd72(0x115)]=_0x15907a,this['_session']=_0x40ddd7,this['_injector']=_0x2cd6f8,this[_0x44bd72(0x1c3)]=_0x2f5ff6,this[_0x44bd72(0x2c0)]=_0x206b51,this[_0x44bd72(0x2f5)]=_0x531ea6,this[_0x44bd72(0x145)]=_0x20917b,this[_0x44bd72(0x36a)]=_0x1ca230,this[_0x44bd72(0x335)]=_0x195eb6);}get[_0x41d4e7(0x12a)](){const _0xfc8cf3=_0x41d4e7;return this[_0xfc8cf3(0x1a0)][_0xfc8cf3(0x124)]();}get[_0x41d4e7(0x147)](){const _0x5847f0=_0x41d4e7;return this['_roomMembers$'][_0x5847f0(0x124)]();}['dispose'](){const _0x42e75e=_0x41d4e7;super[_0x42e75e(0x29c)](),this['_cursorInfo$']['next'](new Map()),this[_0x42e75e(0x1a0)]['complete'](),this['_roomMembers$'][_0x42e75e(0x26c)]([]),this[_0x42e75e(0x193)][_0x42e75e(0x301)]();}['init'](){const _0x584e12=_0x41d4e7;this[_0x584e12(0x112)]||(this['_init']=!0x0,this[_0x584e12(0x296)][_0x584e12(0x15e)][_0x584e12(0xfc)](_0x13e5fb[_0x584e12(0x2e2)](this['dispose$']))['subscribe'](_0x555afd=>{const _0x459765=_0x584e12;_0x555afd===_0x258ad3[_0x459765(0x14b)][_0x459765(0xe9)]?this[_0x459765(0x100)]():this['_toggleOffline']();}),this[_0x584e12(0x296)][_0x584e12(0x1d3)][_0x584e12(0xfc)](_0x13e5fb[_0x584e12(0x2e2)](this[_0x584e12(0x114)]))[_0x584e12(0x262)](_0x471b88=>{const _0x4a6ad1=_0x584e12,_0x3cd712=_0x471b88['eventID'];_0x3cd712===_0x567a1f[_0x4a6ad1(0x162)][_0x4a6ad1(0x2b1)]&&this[_0x4a6ad1(0x1ae)](_0x471b88),_0x3cd712===_0x567a1f[_0x4a6ad1(0x162)][_0x4a6ad1(0x293)]&&this[_0x4a6ad1(0x2c8)](_0x471b88);}),this[_0x584e12(0x2fc)](this[_0x584e12(0x335)][_0x584e12(0x369)](_0x2aad0e=>{const _0x47bc69=_0x584e12,_0x32d915=_0x2aad0e[_0x47bc69(0x190)];_0x32d915!=null&&this[_0x47bc69(0x1ed)]&&_0x2aad0e['id']===_0x13c858[_0x47bc69(0x314)]['id']&&_0x32d915['unitId']===this[_0x47bc69(0x115)]&&_0x32d915[_0x47bc69(0x2b7)]===!0x1&&_0x32d915['ranges'][_0x47bc69(0x282)]>0x0&&this['_updateLocalCursor'](_0x32d915[_0x47bc69(0x185)]);})),this['_syncEditingCollabCursorService'][_0x584e12(0x270)][_0x584e12(0xfc)](_0x13e5fb[_0x584e12(0x2e2)](this[_0x584e12(0x114)]))[_0x584e12(0x262)](_0x2877a1=>{const _0x35397b=_0x584e12;if((_0x2877a1==null?void 0x0:_0x2877a1['unitID'])!==this['unitID'])return;const _0x6fec7a={'eventID':_0x567a1f[_0x35397b(0x162)][_0x35397b(0x2b1)],'data':_0x2877a1};this['_onCursorUpdate'](_0x6fec7a);}),this[_0x584e12(0x2fc)](this[_0x584e12(0x335)][_0x584e12(0x369)](_0x510fda=>{const _0x5f08f4=_0x584e12;if(_0x510fda[_0x5f08f4(0x190)]==null)return;const _0x582f30=_0x510fda[_0x5f08f4(0x190)];if(_0x510fda['id']!==_0x13c858[_0x5f08f4(0x236)]['id']||_0x582f30[_0x5f08f4(0x155)]!==this[_0x5f08f4(0x115)])return;const _0x2011cb={'id':_0x5f08f4(0x338),'params':_0x582f30},_0x4ba318=this['cursorInfo'];for(const [_0x40577f,_0x432564]of _0x4ba318){const _0x11a0c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5f08f4(0x115)],'actions':null,'textRanges':_0x432564['ranges']}},_0x217228=this[_0x5f08f4(0x145)][_0x5f08f4(0x16b)](_0x2011cb,_0x11a0c8,!0x1);if(_0x567a1f[_0x5f08f4(0x15f)](_0x217228))throw _0x217228['error'];_0x4ba318[_0x5f08f4(0x32f)](_0x40577f,{..._0x432564,'ranges':_0x217228[_0x5f08f4(0x1a2)]['params'][_0x5f08f4(0x2cc)]});}queueMicrotask(()=>{const _0xd4cdcb=_0x5f08f4;this['_cursorInfo$'][_0xd4cdcb(0x26c)](_0x4ba318);});})));}['_onCursorUpdate'](_0x1f364d){const _0x1f2c24=_0x41d4e7;var _0x2c3ee0,_0x468086;const {memberID:_0x36d6a0,selection:_0x4054dc}=_0x1f364d[_0x1f2c24(0x19c)],_0x18ec07=_0x140384(_0x4054dc),_0x5b9ed2=(_0x468086=(_0x2c3ee0=this[_0x1f2c24(0x2c0)]['getMember'](this['unitID'],_0x36d6a0))==null?void 0x0:_0x2c3ee0[_0x1f2c24(0x33a)])!=null?_0x468086:_0x1f2c24(0x35e),_0x238b7e={'color':this[_0x1f2c24(0x1c3)][_0x1f2c24(0x2e6)](_0x36d6a0),'name':_0x5b9ed2,'ranges':_0x18ec07},_0x500ec8=this[_0x1f2c24(0x12a)];_0x500ec8[_0x1f2c24(0x32f)](_0x36d6a0,_0x238b7e),this[_0x1f2c24(0x1a0)]['next'](_0x500ec8);}[_0x41d4e7(0x2c8)](_0x438eb6){const _0x46f2f7=_0x41d4e7,{memberID:_0x10bb0a}=_0x438eb6[_0x46f2f7(0x19c)],_0x5e18e3=this['cursorInfo'];_0x5e18e3[_0x46f2f7(0x32e)](_0x10bb0a),this[_0x46f2f7(0x1a0)]['next'](_0x5e18e3);}[_0x41d4e7(0x100)](){const _0x1e7c0f=_0x41d4e7;var _0x11edaf;if(this[_0x1e7c0f(0x1ed)]=!0x0,((_0x11edaf=this[_0x1e7c0f(0x36a)]['getFocusedUnit']())==null?void 0x0:_0x11edaf[_0x1e7c0f(0x2d4)]())!==this[_0x1e7c0f(0x115)])return;const _0x2d4db5=this['_injector']['get'](_0x13c858[_0x1e7c0f(0x182)])[_0x1e7c0f(0x26d)]();Array[_0x1e7c0f(0xf4)](_0x2d4db5)&&_0x2d4db5[_0x1e7c0f(0x282)]>0x0&&this[_0x1e7c0f(0x315)](_0x2d4db5);}[_0x41d4e7(0x316)](){const _0x112bc6=_0x41d4e7;this[_0x112bc6(0x1ed)]=!0x1;}};_0x22b2b8=_0x25bf09([_0x409c77(0x2,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c['Injector'])),_0x409c77(0x3,_0x29d25c['Inject'](_0x4cc29d)),_0x409c77(0x4,_0x29d25c[_0x41d4e7(0x181)](_0x258ad3['MemberService'])),_0x409c77(0x5,_0x29d25c['Inject'](_0x115879)),_0x409c77(0x6,_0x567a1f[_0x41d4e7(0xe3)]),_0x409c77(0x7,_0x29d25c['IUniverInstanceService']),_0x409c77(0x8,_0x29d25c[_0x41d4e7(0x309)])],_0x22b2b8);var _0x10d051=Object[_0x41d4e7(0x21b)],_0x4be0c4=(_0x5400dc,_0x350bb9,_0x586d06,_0x61704c)=>{for(var _0x4b5beb=_0x61704c>0x1?void 0x0:_0x61704c?_0x10d051(_0x350bb9,_0x586d06):_0x350bb9,_0x314c04=_0x5400dc['length']-0x1,_0xa71a94;_0x314c04>=0x0;_0x314c04--)(_0xa71a94=_0x5400dc[_0x314c04])&&(_0x4b5beb=_0xa71a94(_0x4b5beb)||_0x4b5beb);return _0x4b5beb;},_0x9971cf=(_0x46e1bd,_0x364889)=>(_0x5975f2,_0xa14f66)=>_0x364889(_0x5975f2,_0xa14f66,_0x46e1bd);const _0x2863b3=0x12c,_0x4def0c=0x64,_0x1cce35=()=>{let _0x1e2ea0=[],_0x578d7c=!0x1;return _0x12d53a=>{const _0x4815ee=_0x5dcf;_0x1e2ea0[_0x4815ee(0xe5)](_0x12d53a),_0x578d7c||(_0x578d7c=!0x0,setTimeout(()=>{const _0x193f33=_0x4815ee;_0x1e2ea0[_0x193f33(0x267)](_0x43dfa5=>_0x43dfa5()),_0x1e2ea0=[],_0x578d7c=!0x1;}));};};let _0x44a646=class extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(_0x40e3ff,_0x4ecb66,_0x898399,_0x2db1e0,_0x2dc48a,_0x342b9f,_0x5f5ccf,_0x161a5e){const _0x5b6426=_0x41d4e7;super(),_0x52c81f(this,'_online',!0x1),_0x52c81f(this,'_init',!0x1),_0x52c81f(this,_0x5b6426(0x1a0),new _0x13e5fb[(_0x5b6426(0x359))](new Map())),_0x52c81f(this,_0x5b6426(0x303),this[_0x5b6426(0x1a0)][_0x5b6426(0x31d)]()),_0x52c81f(this,_0x5b6426(0x193),new _0x13e5fb[(_0x5b6426(0x359))]([])),_0x52c81f(this,_0x5b6426(0x2ec),this[_0x5b6426(0x193)][_0x5b6426(0xfc)](_0x13e5fb['debounceTime'](_0x2863b3))),_0x52c81f(this,_0x5b6426(0x315),_0x29d25c[_0x5b6426(0x1fe)]((_0x563370,_0x57a9a9)=>{const _0x5409aa=_0x5b6426,_0x1d5b6a={'eventID':_0x567a1f['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x5409aa(0x115)],'memberID':this['_session'][_0x5409aa(0x186)](),'selection':_0x36dc2f['serializeRangeWithSheet'](_0x563370,_0x57a9a9['range'])}};this[_0x5409aa(0x296)][_0x5409aa(0x105)](_0x1d5b6a,this['unitID']);},_0x4def0c)),(this['unitID']=_0x40e3ff,this[_0x5b6426(0x296)]=_0x4ecb66,this['_injector']=_0x898399,this[_0x5b6426(0x1c3)]=_0x2db1e0,this['_memberService']=_0x2dc48a,this['_univerInstanceService']=_0x342b9f,this[_0x5b6426(0x335)]=_0x5f5ccf,this['_refRangeService']=_0x161a5e);}get['cursorInfo'](){const _0x45ef32=_0x41d4e7;return this[_0x45ef32(0x1a0)]['getValue']();}get[_0x41d4e7(0x147)](){const _0x37edff=_0x41d4e7;return this[_0x37edff(0x193)][_0x37edff(0x124)]();}['dispose'](){const _0x93fedd=_0x41d4e7;super['dispose'](),this[_0x93fedd(0x1a0)][_0x93fedd(0x26c)](new Map()),this['_cursorInfo$'][_0x93fedd(0x301)](),this[_0x93fedd(0x193)][_0x93fedd(0x26c)]([]),this['_roomMembers$'][_0x93fedd(0x301)]();}[_0x41d4e7(0x15a)](){const _0x272bf0=_0x41d4e7;this[_0x272bf0(0x112)]||(this[_0x272bf0(0x112)]=!0x0,this[_0x272bf0(0x296)][_0x272bf0(0x15e)]['pipe'](_0x13e5fb['takeUntil'](this[_0x272bf0(0x114)]))['subscribe'](_0x2e99af=>{const _0x1c9e96=_0x272bf0;_0x2e99af===_0x258ad3[_0x1c9e96(0x14b)][_0x1c9e96(0xe9)]?this[_0x1c9e96(0x100)]():this[_0x1c9e96(0x316)]();}),this[_0x272bf0(0x296)][_0x272bf0(0x1d3)][_0x272bf0(0xfc)](_0x13e5fb[_0x272bf0(0x2e2)](this[_0x272bf0(0x114)]))['subscribe'](_0x547d5f=>{const _0x42471c=_0x272bf0,_0x4c39e2=_0x547d5f['eventID'];_0x4c39e2===_0x567a1f[_0x42471c(0x162)][_0x42471c(0x2b1)]&&this[_0x42471c(0x1ae)](_0x547d5f),_0x4c39e2===_0x567a1f[_0x42471c(0x162)][_0x42471c(0x293)]&&this[_0x42471c(0x2c8)](_0x547d5f);}),this[_0x272bf0(0x21f)](),this[_0x272bf0(0x2fc)](this[_0x272bf0(0x335)][_0x272bf0(0x369)](_0x406936=>{const _0x33067b=_0x272bf0;if(this[_0x33067b(0x1ed)]&&_0x406936['id']===_0x15c0ff[_0x33067b(0x2f6)]['id']&&_0x406936['params'][_0x33067b(0x155)]===this[_0x33067b(0x115)]){const _0x16b47b=_0x406936['params'];this[_0x33067b(0x315)](_0x16b47b[_0x33067b(0x187)],_0x16b47b[_0x33067b(0x117)][0x0]);}})));}['_onCursorUpdate'](_0x7fc62f){const _0x3a4a55=_0x41d4e7;var _0x51ef16,_0xe72354;const {memberID:_0x3766e3,selection:_0x598e84}=_0x7fc62f[_0x3a4a55(0x19c)],{sheetName:_0xd7eb8b,range:_0x1e3d77}=_0x36dc2f[_0x3a4a55(0x2fb)](_0x598e84),_0x39b528={'name':(_0xe72354=(_0x51ef16=this[_0x3a4a55(0x2c0)][_0x3a4a55(0x346)](this['unitID'],_0x3766e3))==null?void 0x0:_0x51ef16[_0x3a4a55(0x33a)])!=null?_0xe72354:_0x3a4a55(0x35e),'range':this[_0x3a4a55(0x1d0)](_0xd7eb8b,_0x1e3d77),'sheetID':_0xd7eb8b,'color':this[_0x3a4a55(0x1c3)]['assignAColorForMemberID'](_0x3766e3),'selection':_0x598e84},_0x1a6e63=this[_0x3a4a55(0x12a)];_0x1a6e63[_0x3a4a55(0x32f)](_0x3766e3,_0x39b528),this[_0x3a4a55(0x1a0)][_0x3a4a55(0x26c)](_0x1a6e63);}[_0x41d4e7(0x2c8)](_0x5c606d){const _0x4b6d3f=_0x41d4e7,{memberID:_0x174efc}=_0x5c606d[_0x4b6d3f(0x19c)],_0xd19119=this[_0x4b6d3f(0x12a)];_0xd19119[_0x4b6d3f(0x32e)](_0x174efc),this[_0x4b6d3f(0x1a0)][_0x4b6d3f(0x26c)](_0xd19119);}[_0x41d4e7(0x1d0)](_0x4838f2,_0x53f242){const _0x443c3b=_0x41d4e7;var _0x1a24f2,_0x480310;const _0x560349=(_0x480310=(_0x1a24f2=this[_0x443c3b(0x36a)][_0x443c3b(0x2c7)](this['unitID']))==null?void 0x0:_0x1a24f2['getSheetBySheetId'](_0x4838f2))==null?void 0x0:_0x480310['getMergeData']();return(_0x560349==null?void 0x0:_0x560349[_0x443c3b(0x2c4)](_0x409a4d=>_0x29d25c[_0x443c3b(0x342)]['contains'](_0x409a4d,_0x53f242)))||_0x53f242;}[_0x41d4e7(0x21f)](){const _0x40f15f=_0x41d4e7,_0x1b29d2=new _0x29d25c[(_0x40f15f(0x29e))](),_0x6fbc02=_0x1cce35(),_0x3d81c4=()=>{const _0x31a785=_0x40f15f;_0x1b29d2[_0x31a785(0x29c)]();const _0xba76c1=(_0x4a2a7b,_0x28214f,_0x15d6dc,_0x1407fa)=>{const _0x5634af=_0x31a785;let _0x2a1809=[];switch(_0x4a2a7b['id']){case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x2f8)]:{_0x2a1809=_0x15c0ff[_0x5634af(0x12c)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x220)]:{_0x2a1809=_0x15c0ff[_0x5634af(0x343)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x22e)]:{_0x2a1809=_0x15c0ff[_0x5634af(0xf2)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x299)]:{_0x2a1809=_0x15c0ff['handleInsertRangeMoveDown'](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff['EffectRefRangId'][_0x5634af(0x1eb)]:{_0x2a1809=_0x15c0ff[_0x5634af(0xfe)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x20d)]:{_0x2a1809=_0x15c0ff[_0x5634af(0x230)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff['EffectRefRangId']['MoveRangeCommandId']:{_0x2a1809=_0x15c0ff[_0x5634af(0x344)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff[_0x5634af(0xf7)][_0x5634af(0x36f)]:{_0x2a1809=_0x15c0ff[_0x5634af(0x215)](_0x4a2a7b,_0x1407fa);break;}case _0x15c0ff['EffectRefRangId']['RemoveRowCommandId']:{_0x2a1809=_0x15c0ff['handleIRemoveRow'](_0x4a2a7b,_0x1407fa);break;}}const _0x2f082c=_0x15c0ff[_0x5634af(0x2ac)](_0x2a1809,_0x1407fa),_0x190187=this['cursorInfo']['get'](_0x28214f);if(_0x190187&&_0x2f082c){const _0x588848={..._0x190187,'range':_0x2f082c};this[_0x5634af(0x12a)]['set'](_0x28214f,_0x588848),_0x6fbc02(()=>{const _0x1ecd68=_0x5634af,_0x216d2e=this[_0x1ecd68(0x168)]['registerRefRange'](_0x2f082c,_0x311918=>(_0x216d2e[_0x1ecd68(0x29c)](),_0xba76c1(_0x311918,_0x28214f,_0x15d6dc,_0x2f082c)));_0x1b29d2['add'](_0x216d2e);});}return{'redos':[],'undos':[]};};this[_0x31a785(0x12a)]['forEach']((_0x58042c,_0x332c4a)=>{const _0x27e59b=_0x31a785,{range:_0x2f1889,sheetID:_0xbd7601}=_0x58042c,_0x37b869=this['_refRangeService'][_0x27e59b(0x27c)](_0x2f1889,_0x1b3a93=>(_0x37b869[_0x27e59b(0x29c)](),_0xba76c1(_0x1b3a93,_0x332c4a,_0xbd7601,_0x2f1889)));_0x1b29d2['add'](_0x37b869);});};this['disposeWithMe'](_0x29d25c['toDisposable'](this[_0x40f15f(0x1a0)][_0x40f15f(0x262)](()=>{_0x3d81c4();})));}[_0x41d4e7(0x100)](){const _0x326ad6=_0x41d4e7;var _0x3446c6,_0x3e55be;if(this[_0x326ad6(0x1ed)]=!0x0,((_0x3446c6=this['_univerInstanceService'][_0x326ad6(0xce)]())==null?void 0x0:_0x3446c6[_0x326ad6(0x2d4)]())!==this[_0x326ad6(0x115)])return;const _0xefaaf6=(_0x3e55be=this['_injector'][_0x326ad6(0xef)](_0x15c0ff['SheetsSelectionsService'])[_0x326ad6(0x167)]())==null?void 0x0:_0x3e55be[0x0],_0x46fc34=this[_0x326ad6(0x36a)][_0x326ad6(0x283)](_0x29d25c[_0x326ad6(0x1e1)]['UNIVER_SHEET'])[_0x326ad6(0x28d)]();_0xefaaf6&&_0x46fc34&&this[_0x326ad6(0x315)](_0x46fc34[_0x326ad6(0x268)](),_0xefaaf6);}[_0x41d4e7(0x316)](){const _0x5af6f7=_0x41d4e7;this[_0x5af6f7(0x1ed)]=!0x1;}};_0x44a646=_0x4be0c4([_0x9971cf(0x2,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x2a4)])),_0x9971cf(0x3,_0x29d25c[_0x41d4e7(0x181)](_0x4cc29d)),_0x9971cf(0x4,_0x29d25c[_0x41d4e7(0x181)](_0x258ad3[_0x41d4e7(0x184)])),_0x9971cf(0x5,_0x29d25c[_0x41d4e7(0x218)]),_0x9971cf(0x6,_0x29d25c['ICommandService']),_0x9971cf(0x7,_0x29d25c[_0x41d4e7(0x181)](_0x15c0ff[_0x41d4e7(0x2b9)]))],_0x44a646);var _0x169eb0=Object[_0x41d4e7(0x21b)],_0x41f13f=(_0x2a1d63,_0xe75383,_0x552ef2,_0xbc5c03)=>{const _0x5d6e05=_0x41d4e7;for(var _0xfbadbf=_0xbc5c03>0x1?void 0x0:_0xbc5c03?_0x169eb0(_0xe75383,_0x552ef2):_0xe75383,_0xd63b1=_0x2a1d63[_0x5d6e05(0x282)]-0x1,_0x4e88a0;_0xd63b1>=0x0;_0xd63b1--)(_0x4e88a0=_0x2a1d63[_0xd63b1])&&(_0xfbadbf=_0x4e88a0(_0xfbadbf)||_0xfbadbf);return _0xfbadbf;},_0x1d0829=(_0x4476c2,_0x1c1505)=>(_0x1da57a,_0x232487)=>_0x1c1505(_0x1da57a,_0x232487,_0x4476c2);let _0x5cc28d=class extends _0x29d25c['RxDisposable']{constructor(_0x2ca725,_0x2861ac,_0x5a4ada){const _0x170d42=_0x41d4e7;super(),_0x52c81f(this,'_entities',new Map()),_0x52c81f(this,_0x170d42(0x27e),new _0x13e5fb[(_0x170d42(0xfd))]()),(this['_univerInstanceService']=_0x2ca725,this[_0x170d42(0x26a)]=_0x2861ac,this[_0x170d42(0x347)]=_0x5a4ada,this[_0x170d42(0x112)]());}['dispose'](){const _0x49b5f5=_0x41d4e7;super[_0x49b5f5(0x29c)](),this[_0x49b5f5(0x27e)]['complete'](),this[_0x49b5f5(0x284)][_0x49b5f5(0x267)](_0x2eaf1f=>_0x2eaf1f[_0x49b5f5(0x29c)]());}[_0x41d4e7(0x207)](_0x2c2b9b){const _0xdfdf63=_0x41d4e7;return this[_0xdfdf63(0x284)]['has'](_0x2c2b9b)?this[_0xdfdf63(0x284)][_0xdfdf63(0xef)](_0x2c2b9b)[_0xdfdf63(0x303)]:this[_0xdfdf63(0x27e)][_0xdfdf63(0xfc)](_0x13e5fb[_0xdfdf63(0x20c)](_0x5413b6=>_0x5413b6['unitID']===_0x2c2b9b),_0x13e5fb[_0xdfdf63(0x1f9)](_0x3976ee=>_0x3976ee['cursorInfo$']));}[_0x41d4e7(0x112)](){const _0x3da8a2=_0x41d4e7;this['_univerInstanceService'][_0x3da8a2(0x32b)](_0x29d25c[_0x3da8a2(0x1e1)][_0x3da8a2(0x352)])[_0x3da8a2(0xfc)](_0x13e5fb[_0x3da8a2(0x2e2)](this[_0x3da8a2(0x114)]))[_0x3da8a2(0x262)](async _0x552be2=>{const _0x29be88=_0x3da8a2,_0x4387ce=_0x552be2[_0x29be88(0x2d4)](),_0x55e88a=await this[_0x29be88(0x1aa)](_0x4387ce);this[_0x29be88(0x27e)][_0x29be88(0x26c)](_0x55e88a),this[_0x29be88(0x284)][_0x29be88(0x32f)](_0x4387ce,_0x55e88a);}),this[_0x3da8a2(0x36a)][_0x3da8a2(0x32b)](_0x29d25c[_0x3da8a2(0x1e1)][_0x3da8a2(0x135)])[_0x3da8a2(0xfc)](_0x13e5fb['takeUntil'](this[_0x3da8a2(0x114)]))[_0x3da8a2(0xfc)](_0x13e5fb['filter'](_0x423e96=>!_0x423e96['getUnitId']()[_0x3da8a2(0x336)]('__')))['subscribe'](async _0x521919=>{const _0x2277c7=_0x3da8a2,_0x2d8a73=_0x521919[_0x2277c7(0x2d4)](),_0x3d90d2=await this[_0x2277c7(0x2e1)](_0x2d8a73);this[_0x2277c7(0x27e)][_0x2277c7(0x26c)](_0x3d90d2),this[_0x2277c7(0x284)][_0x2277c7(0x32f)](_0x2d8a73,_0x3d90d2);}),_0x13e5fb[_0x3da8a2(0x334)](this[_0x3da8a2(0x36a)][_0x3da8a2(0x17d)](_0x29d25c['UniverInstanceType'][_0x3da8a2(0x135)]),this[_0x3da8a2(0x36a)][_0x3da8a2(0x17d)](_0x29d25c[_0x3da8a2(0x1e1)]['UNIVER_SHEET']))[_0x3da8a2(0xfc)](_0x13e5fb[_0x3da8a2(0x2e2)](this['dispose$']))['subscribe'](_0x37a6de=>{const _0x4e768c=_0x3da8a2,_0xea8825=_0x37a6de[_0x4e768c(0x2d4)](),_0x2c2a7d=this[_0x4e768c(0x284)][_0x4e768c(0xef)](_0xea8825);_0x2c2a7d&&(_0x2c2a7d['dispose'](),this[_0x4e768c(0x284)][_0x4e768c(0x32e)](_0xea8825));});}async['_startSheetCollabCursor'](_0x5a1b4c){const _0x29874a=_0x41d4e7,_0x263bb8=await this['_collabSessionService'][_0x29874a(0x205)](_0x5a1b4c),_0x4fc483=this['_injector'][_0x29874a(0x2dc)](_0x44a646,_0x5a1b4c,_0x263bb8);return _0x4fc483[_0x29874a(0x15a)](),_0x4fc483;}async[_0x41d4e7(0x2e1)](_0x10e117){const _0x1b6a42=_0x41d4e7,_0xd5b8ed=await this[_0x1b6a42(0x347)][_0x1b6a42(0x205)](_0x10e117),_0x5dc443=this['_injector'][_0x1b6a42(0x2dc)](_0x22b2b8,_0x10e117,_0xd5b8ed);return _0x5dc443[_0x1b6a42(0x15a)](),_0x5dc443;}};_0x5cc28d=_0x41f13f([_0x1d0829(0x0,_0x29d25c[_0x41d4e7(0x218)]),_0x1d0829(0x1,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x2a4)])),_0x1d0829(0x2,_0x29d25c[_0x41d4e7(0x181)](_0x258ad3['CollaborationSessionService']))],_0x5cc28d);const _0x44b9d8=0x14,_0x2ee2ef=0xc8,_0x4be616=0x4,_0x14acf0=0x5;function _0x13eaf9(_0x5a926a,_0x3236b8){const _0x1978c9=_0x41d4e7;let {radius:_0x458d7b,width:_0x5a4506,height:_0x4f907}=_0x3236b8;_0x458d7b=_0x458d7b!=null?_0x458d7b:0x0,_0x5a4506=_0x5a4506!=null?_0x5a4506:0x1e,_0x4f907=_0x4f907!=null?_0x4f907:0x1e;let _0x50304e=0x0,_0x37b655=0x0,_0x590bef=0x0;_0x50304e=_0x37b655=_0x590bef=Math[_0x1978c9(0x19b)](_0x458d7b,_0x5a4506/0x2,_0x4f907/0x2),_0x5a926a[_0x1978c9(0x137)](),_0x5a926a[_0x1978c9(0x23a)](_0x50304e,0x0),_0x5a926a[_0x1978c9(0x263)](_0x5a4506-_0x37b655,0x0),_0x5a926a['arc'](_0x5a4506-_0x37b655,_0x37b655,_0x37b655,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a926a['lineTo'](_0x5a4506,_0x4f907-_0x590bef),_0x5a926a['arc'](_0x5a4506-_0x590bef,_0x4f907-_0x590bef,_0x590bef,0x0,Math['PI']/0x2,!0x1),_0x5a926a[_0x1978c9(0x263)](0x0,_0x4f907),_0x5a926a[_0x1978c9(0x263)](0x0,_0x50304e),_0x5a926a[_0x1978c9(0x2ae)](_0x50304e,_0x50304e,_0x50304e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a926a[_0x1978c9(0x26b)](),_0x3236b8['fill']&&(_0x5a926a[_0x1978c9(0x350)](),_0x5a926a[_0x1978c9(0x2f2)]=_0x3236b8[_0x1978c9(0x32d)],_0x3236b8[_0x1978c9(0x265)]===_0x1978c9(0x292)?_0x5a926a[_0x1978c9(0x32d)](_0x1978c9(0x292)):_0x5a926a['fill'](),_0x5a926a[_0x1978c9(0x2d8)]());}class _0x1e8257 extends _0x5b1b15[_0x41d4e7(0x2c5)]{constructor(_0x59ba2d,_0xcca41f){const _0x2a96cb=_0x41d4e7;super(_0x59ba2d,_0xcca41f),_0x52c81f(this,_0x2a96cb(0x1e9)),_0x52c81f(this,_0x2a96cb(0x307)),(this['color']=_0xcca41f==null?void 0x0:_0xcca41f[_0x2a96cb(0x1e9)],this[_0x2a96cb(0x307)]=_0xcca41f==null?void 0x0:_0xcca41f[_0x2a96cb(0x307)]);}static[_0x41d4e7(0xda)](_0x439f51,_0x58703e){const _0x17f23b=_0x41d4e7,{text:_0x200248,color:_0x59c209}=_0x58703e;_0x439f51[_0x17f23b(0x350)](),_0x439f51['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x300a56=_0x439f51[_0x17f23b(0x358)](_0x200248)[_0x17f23b(0x2d1)],_0x26047d=Math[_0x17f23b(0x19b)](_0x300a56+0x2*_0x4be616,_0x2ee2ef);_0x13eaf9(_0x439f51,{'height':_0x44b9d8,'radius':0x4,'width':_0x26047d,'fill':_0x59c209}),_0x439f51[_0x17f23b(0x2f2)]=_0x17f23b(0x150);const _0x6ad408=_0x4be616,_0x303c81=_0x44b9d8-_0x14acf0,_0x5db082=_0x2ee2ef-0x2*_0x4be616;if(_0x300a56>_0x5db082){let _0x231212='',_0x18874e=0x0;for(const _0x1a983c of _0x200248){const _0x42542c=_0x439f51[_0x17f23b(0x358)](_0x1a983c)[_0x17f23b(0x2d1)];if(_0x18874e+_0x42542c<=_0x5db082-_0x439f51[_0x17f23b(0x358)](_0x17f23b(0x23b))[_0x17f23b(0x2d1)])_0x231212+=_0x1a983c,_0x18874e+=_0x42542c;else{_0x231212+=_0x17f23b(0x23b);break;}}_0x439f51['fillText'](_0x231212,_0x6ad408,_0x303c81);}else _0x439f51[_0x17f23b(0x326)](_0x200248,_0x6ad408,_0x303c81);_0x439f51[_0x17f23b(0x2d8)]();}[_0x41d4e7(0x128)](_0xd031db){const _0x2ada63=_0x41d4e7;_0x1e8257[_0x2ada63(0xda)](_0xd031db,this);}}const _0x41d584='collab-text-anchor-',_0x19381b='collab-text-range-',_0x24e67f=_0x41d4e7(0x107),_0x21f9cc=0x6,_0x11ee3c=1.5,_0x1fdb0a=0x4,_0x1e4621=1.5,_0x2c45aa=_0x41d4e7(0x189);class _0x39a3eb{constructor(_0x34176b,_0x9e2325,_0xc3617d,_0x46f09f){const _0x2fe754=_0x41d4e7;_0x52c81f(this,'_shapes',[]),_0x52c81f(this,'_anchor',null),_0x52c81f(this,_0x2fe754(0x213),null),_0x52c81f(this,_0x2fe754(0x169),null),_0x52c81f(this,_0x2fe754(0x320),null),_0x52c81f(this,'_eventUnsubscribe',null),(this[_0x2fe754(0x174)]=_0x34176b,this['_scene']=_0x9e2325,this['_docSkeleton']=_0xc3617d,this[_0x2fe754(0x2ce)]=_0x46f09f,this[_0x2fe754(0x259)]());}set[_0x41d4e7(0x2eb)](_0x4d433d){const _0x383c0e=_0x41d4e7;_0x4d433d?(this[_0x383c0e(0x169)]&&this[_0x383c0e(0x169)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x383c0e(0x2cd)]()):(this[_0x383c0e(0x169)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x383c0e(0x213)][_0x383c0e(0x298)]());}[_0x41d4e7(0x29c)](){const _0x373f41=_0x41d4e7;for(const _0x129bcd of this[_0x373f41(0x34b)])_0x129bcd[_0x373f41(0x29c)]();this[_0x373f41(0x213)]&&this['_textBubble'][_0x373f41(0x29c)](),this[_0x373f41(0x169)]&&this['_anchorDot'][_0x373f41(0x29c)](),this[_0x373f41(0x312)]&&this[_0x373f41(0x312)][_0x373f41(0x29c)](),this['_eventUnsubscribe']&&this[_0x373f41(0x2bf)]();}[_0x41d4e7(0x259)](){const _0x96cd1f=_0x41d4e7;var _0x4b1fa8;const {_docSkeleton:_0x59909e,_document:_0x152aac}=this,{color:_0x721f13,name:_0x597b03,ranges:_0x35654e}=this['_cursor'],_0x404ecb=_0x152aac[_0x96cd1f(0x24d)](),{docsLeft:_0xb54ae,docsTop:_0x46a147}=_0x404ecb,_0x842d8=new _0x1e213a['NodePositionConvertToCursor'](_0x404ecb,_0x59909e);for(const {startOffset:_0x41bbcd,endOffset:_0x5b2b07,rangeType:_0x1a0336,segmentId:_0x5599c8,segmentPage:_0x33fee4,collapsed:_0x3207b2,isActive:_0x43eba8}of _0x35654e){const _0x13c117=_0x59909e[_0x96cd1f(0x332)](_0x41bbcd,!0x0,_0x5599c8,_0x33fee4);let _0x32854f=_0x59909e[_0x96cd1f(0x332)](_0x5b2b07,!0x0,_0x5599c8,_0x33fee4);if(_0x32854f==null&&(_0x32854f=_0x59909e[_0x96cd1f(0x332)](_0x5b2b07-0x1,!0x1,_0x5599c8,_0x33fee4)),_0x43eba8){const {contentBoxPointGroup:_0xca9594}=_0x842d8[_0x96cd1f(0x1b5)](_0x32854f,_0x32854f);if(_0xca9594[_0x96cd1f(0x282)]===0x0)continue;this['_drawAnchor'](_0x721f13,_0xca9594,_0xb54ae,_0x46a147,_0x597b03),this[_0x96cd1f(0x2bf)]=this[_0x96cd1f(0x1a7)]();}if(_0x13c117&&_0x32854f){if(_0x1a0336===_0x29d25c[_0x96cd1f(0x25e)][_0x96cd1f(0x330)]){const _0x3486a3=new _0x1e213a['NodePositionConvertToRectRange'](_0x404ecb,_0x59909e),{pointGroup:_0x52bb08}=(_0x4b1fa8=_0x3486a3['getRangePointData'](_0x13c117,_0x32854f))!=null?_0x4b1fa8:{};if(_0x52bb08==null||_0x52bb08[_0x96cd1f(0x282)]===0x0)continue;this[_0x96cd1f(0x1af)](_0x721f13,_0x52bb08,_0xb54ae,_0x46a147);}else{if(!_0x3207b2){const {borderBoxPointGroup:_0x125b1a}=_0x842d8[_0x96cd1f(0x1b5)](_0x13c117,_0x32854f);if(_0x125b1a[_0x96cd1f(0x282)]===0x0)continue;this['_drawTextRange'](_0x721f13,_0x125b1a,_0xb54ae,_0x46a147);}}}}}[_0x41d4e7(0x1d1)](_0x23ca96,_0x33d0fd,_0x41706d,_0x2741e3,_0x15f608){const _0x38a9b7=_0x41d4e7,_0x328acd=this[_0x38a9b7(0x11a)](_0x33d0fd),{left:_0x533b75,top:_0x4056f6,height:_0x15fe20}=_0x328acd,_0x49bf78=this[_0x38a9b7(0x188)](),_0x52318b=_0x1e4621/_0x49bf78,_0x3bfbe7=new _0x5b1b15['Rect'](_0x41d584+_0x29d25c['generateRandomId'](_0x21f9cc),{'left':_0x533b75+_0x41706d-_0x52318b,'top':_0x4056f6+_0x2741e3,'height':_0x15fe20,'width':_0x11ee3c,'fill':_0x23ca96||_0x5b1b15[_0x38a9b7(0xd6)](_0x29d25c['COLORS'][_0x38a9b7(0x231)],0x0),'strokeWidth':_0x52318b,'stroke':_0x2c45aa,'evented':!0x0});this[_0x38a9b7(0x312)]=_0x3bfbe7,this['_scene'][_0x38a9b7(0x261)](_0x3bfbe7,_0x1e213a[_0x38a9b7(0x173)]);const _0x3dc7e6=new _0x5b1b15[(_0x38a9b7(0x1bd))](_0x41d584+_0x29d25c[_0x38a9b7(0x171)](_0x21f9cc),{'left':_0x533b75+_0x41706d-_0x52318b,'top':_0x4056f6+_0x2741e3-_0x1fdb0a/0x2,'height':_0x1fdb0a,'width':_0x1fdb0a,'fill':_0x23ca96||_0x5b1b15[_0x38a9b7(0xd6)](_0x29d25c[_0x38a9b7(0x23f)][_0x38a9b7(0x231)],0x0),'strokeWidth':0x0,'stroke':_0x23ca96||_0x5b1b15[_0x38a9b7(0xd6)](_0x29d25c[_0x38a9b7(0x23f)][_0x38a9b7(0x231)],0x0),'evented':!0x1});this[_0x38a9b7(0x169)]=_0x3dc7e6,this[_0x38a9b7(0x119)][_0x38a9b7(0x261)](_0x3dc7e6,_0x1e213a['TEXT_RANGE_LAYER_INDEX']);const _0x5dd6c6=new _0x1e8257(_0x41d584+_0x29d25c['generateRandomId'](_0x21f9cc),{'left':_0x533b75+_0x41706d-_0x52318b,'top':_0x4056f6+_0x2741e3-_0x44b9d8,'text':_0x15f608,'color':_0x23ca96});this[_0x38a9b7(0x213)]=_0x5dd6c6,this[_0x38a9b7(0x119)][_0x38a9b7(0x261)](_0x5dd6c6,_0x1e213a['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x53826b=_0x41d4e7,_0x475543=this[_0x53826b(0x312)][_0x53826b(0x1b9)][_0x53826b(0x1bc)](()=>{const _0x2071a4=_0x53826b;this[_0x2071a4(0x2eb)]=!0x0;}),_0x2fc85c=this[_0x53826b(0x312)][_0x53826b(0x14c)]['subscribeEvent'](()=>{const _0x18653e=_0x53826b;this['_hideTimer']&&clearTimeout(this[_0x18653e(0x320)]),this[_0x18653e(0x320)]=setTimeout(()=>{const _0xc25673=_0x18653e;this[_0xc25673(0x2eb)]=!0x1;},0x7d0);});return()=>{const _0x443615=_0x53826b;_0x475543[_0x443615(0x31a)](),_0x2fc85c[_0x443615(0x31a)]();};}[_0x41d4e7(0xdd)](_0x51c066,_0x300746,_0x40657f,_0x19df1c){const _0x4c1108=_0x41d4e7,_0x4a7595=new _0x29d25c[(_0x4c1108(0x2b4))](_0x51c066)[_0x4c1108(0x322)](0.2)['toRgbString'](),_0x5d8b8c=new _0x5b1b15[(_0x4c1108(0x2e5))](_0x19381b+_0x29d25c['generateRandomId'](_0x21f9cc),{'pointsGroup':_0x300746,'fill':_0x4a7595||_0x5b1b15[_0x4c1108(0xd6)](_0x29d25c[_0x4c1108(0x23f)][_0x4c1108(0x231)],0.2),'left':_0x40657f,'top':_0x19df1c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c1108(0xe5)](_0x5d8b8c),this[_0x4c1108(0x119)]['addObject'](_0x5d8b8c,_0x1e213a[_0x4c1108(0x173)]);}[_0x41d4e7(0x1af)](_0x44efe3,_0x58db8c,_0x323e8f,_0x4cb689){const _0x177b8e=_0x41d4e7,_0x3a76c1=new _0x29d25c['ColorKit'](_0x44efe3)[_0x177b8e(0x322)](0.2)[_0x177b8e(0x2bc)](),_0x538983=new _0x5b1b15[(_0x177b8e(0x2e5))](_0x24e67f+_0x29d25c[_0x177b8e(0x171)](_0x21f9cc),{'pointsGroup':_0x58db8c,'fill':_0x3a76c1||_0x5b1b15['getColor'](_0x29d25c[_0x177b8e(0x23f)][_0x177b8e(0x231)],0.2),'left':_0x323e8f,'top':_0x4cb689,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x177b8e(0x34b)][_0x177b8e(0xe5)](_0x538983),this['_scene'][_0x177b8e(0x261)](_0x538983,_0x1e213a[_0x177b8e(0x173)]);}[_0x41d4e7(0x11a)](_0x1cb6f8){const _0x5d0659=_0x1cb6f8[0x0],_0x4a6f28=_0x5d0659[0x0],_0x379cac=_0x5d0659[0x2],{x:_0xf0167,y:_0x2d94d7}=_0x4a6f28,{x:_0x1cf578,y:_0x5acfe5}=_0x379cac;return{'left':_0xf0167,'top':_0x2d94d7,'width':_0x1cf578-_0xf0167,'height':_0x5acfe5-_0x2d94d7};}[_0x41d4e7(0x188)](){const _0x4531d7=_0x41d4e7,{scaleX:_0x267fad,scaleY:_0x1e9e43}=this[_0x4531d7(0x119)][_0x4531d7(0x2c1)]();return Math['max'](_0x267fad,_0x1e9e43);}}var _0x4a69c4=Object['getOwnPropertyDescriptor'],_0x40986b=(_0x19375a,_0x14adf4,_0x4fb87d,_0x2eb6ac)=>{const _0x4653d9=_0x41d4e7;for(var _0x24af01=_0x2eb6ac>0x1?void 0x0:_0x2eb6ac?_0x4a69c4(_0x14adf4,_0x4fb87d):_0x14adf4,_0x183b4f=_0x19375a[_0x4653d9(0x282)]-0x1,_0xdfcea0;_0x183b4f>=0x0;_0x183b4f--)(_0xdfcea0=_0x19375a[_0x183b4f])&&(_0x24af01=_0xdfcea0(_0x24af01)||_0x24af01);return _0x24af01;},_0x1d032e=(_0x2c6c9b,_0x343665)=>(_0x5ee005,_0x3b3121)=>_0x343665(_0x5ee005,_0x3b3121,_0x2c6c9b);let _0x3840c2=class extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(_0x4f00ce,_0x5b3019,_0x37fb99,_0x1b478a,_0x59457e){const _0x2009c9=_0x41d4e7;super(),_0x52c81f(this,_0x2009c9(0x1bb),[]),_0x52c81f(this,_0x2009c9(0xe0),[]),(this[_0x2009c9(0x237)]=_0x4f00ce,this[_0x2009c9(0x127)]=_0x5b3019,this[_0x2009c9(0x1b0)]=_0x37fb99,this[_0x2009c9(0x335)]=_0x1b478a,this[_0x2009c9(0x13c)]=_0x59457e,this[_0x2009c9(0x112)]());}[_0x41d4e7(0x112)](){const _0x225d9d=_0x41d4e7,_0x5deedc=this[_0x225d9d(0x237)][_0x225d9d(0x155)],_0x1b6cf9=this[_0x225d9d(0x127)];this['disposeWithMe'](_0x13e5fb[_0x225d9d(0x2f7)]([this[_0x225d9d(0x1b0)][_0x225d9d(0x207)](_0x5deedc),this[_0x225d9d(0x13c)][_0x225d9d(0x12d)]])[_0x225d9d(0xfc)](_0x25fe30['map'](([_0x28064b,_0x1d258f])=>({'skeleton':_0x1b6cf9['getSkeleton'](),'cursors':[..._0x28064b[_0x225d9d(0x103)]()][_0x225d9d(0x29f)](_0x3708de=>({..._0x3708de,'color':this[_0x225d9d(0x13c)]['getColorFromTheme'](_0x3708de['color'])}))})))[_0x225d9d(0x262)](_0x26ba2a=>{const _0x106a66=_0x225d9d;if(this[_0x106a66(0x35a)](),_0x26ba2a){const {skeleton:_0x297951,cursors:_0x47926b}=_0x26ba2a;this['_updateCollabCursors'](_0x297951,_0x47926b);}})),this[_0x225d9d(0x2aa)](),this[_0x225d9d(0x2be)]();}['_updateCollabCursors'](_0x3a6581,_0x23159a){const _0x400075=_0x41d4e7,{scene:_0x4c52cc,mainComponent:_0x127169}=this[_0x400075(0x237)],_0x241e61=_0x23159a[_0x400075(0x19d)](_0x4aa2d0=>new _0x39a3eb(_0x4aa2d0,_0x4c52cc,_0x3a6581,_0x127169));this['_cursorShapes']=_0x241e61,this[_0x400075(0xe0)]=_0x23159a;}[_0x41d4e7(0x113)](){const _0xda828d=_0x41d4e7;this[_0xda828d(0x35a)]();const {scene:_0x425a45,mainComponent:_0xe0ff85}=this[_0xda828d(0x237)],_0x5209da=this[_0xda828d(0x127)][_0xda828d(0x18c)](),_0x4d0b2f=this[_0xda828d(0xe0)]['map'](_0x5c0c80=>new _0x39a3eb(_0x5c0c80,_0x425a45,_0x5209da,_0xe0ff85));this[_0xda828d(0x1bb)]=_0x4d0b2f;}['_removeCollabCursors'](){const _0x42b7ad=_0x41d4e7;this[_0x42b7ad(0x1bb)][_0x42b7ad(0x267)](_0x28d415=>_0x28d415[_0x42b7ad(0x29c)]()),this[_0x42b7ad(0x1bb)]=[];}[_0x41d4e7(0x2be)](){const _0x234826=_0x41d4e7,_0x26e66f=[_0x1e213a[_0x234826(0x33c)]['id']];this[_0x234826(0x2fc)](this[_0x234826(0x335)][_0x234826(0x369)](_0x5db20f=>{const _0x1c8220=_0x234826;_0x26e66f[_0x1c8220(0x1f3)](_0x5db20f['id'])&&_0x5db20f[_0x1c8220(0x190)]['unitId']===this[_0x1c8220(0x237)][_0x1c8220(0x155)]&&this[_0x1c8220(0x113)]();}));}[_0x41d4e7(0x2aa)](){const _0x4fe58b=_0x41d4e7;this[_0x4fe58b(0x2fc)](_0x29d25c[_0x4fe58b(0x2b3)](this['_context'][_0x4fe58b(0x1b8)][_0x4fe58b(0x290)])[_0x4fe58b(0xfc)](_0x25fe30[_0x4fe58b(0x20c)](_0x2baade=>_0x2baade[_0x4fe58b(0x23e)]===_0x5b1b15[_0x4fe58b(0x329)][_0x4fe58b(0x250)]),_0x25fe30['throttleTime'](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3840c2=_0x40986b([_0x1d032e(0x1,_0x29d25c['Inject'](_0x13c858['DocSkeletonManagerService'])),_0x1d032e(0x2,_0x29d25c['Inject'](_0x5cc28d)),_0x1d032e(0x3,_0x29d25c['ICommandService']),_0x1d032e(0x4,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x11e)]))],_0x3840c2);const _0x5ea0d0=0x1,_0x2b8dbb=1.5;class _0x1bbecd extends _0x5b1b15[_0x41d4e7(0x2c5)]{constructor(_0x2f6aa5,_0x1ba8c2){const _0x16c7d6=_0x41d4e7;super(_0x2f6aa5,_0x1ba8c2),_0x52c81f(this,'_color'),_0x52c81f(this,_0x16c7d6(0x269),!0x1),_0x52c81f(this,_0x16c7d6(0x224)),_0x52c81f(this,_0x16c7d6(0x281),''),_0x52c81f(this,_0x16c7d6(0x1fd),'top'),_0x52c81f(this,_0x16c7d6(0x2a2)),(_0x1ba8c2&&this[_0x16c7d6(0x28f)](_0x1ba8c2),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x16c7d6(0x14c)][_0x16c7d6(0x1bc)](()=>this[_0x16c7d6(0x28f)]({'hovered':!0x1})));}[_0x41d4e7(0x28f)](_0x3d778d){const _0x5b9b80=_0x41d4e7;var _0x551667,_0x2df3dd,_0x4b5323,_0x14b7a3,_0x5aed9e,_0x13229d;this[_0x5b9b80(0x1c5)]=(_0x551667=_0x3d778d['color'])!=null?_0x551667:this[_0x5b9b80(0x1c5)],this[_0x5b9b80(0x269)]=(_0x2df3dd=_0x3d778d[_0x5b9b80(0x223)])!=null?_0x2df3dd:this[_0x5b9b80(0x269)],this[_0x5b9b80(0x224)]=(_0x4b5323=_0x3d778d['range'])!=null?_0x4b5323:this[_0x5b9b80(0x224)],this[_0x5b9b80(0x281)]=(_0x14b7a3=_0x3d778d[_0x5b9b80(0x33a)])!=null?_0x14b7a3:this['_name'],this[_0x5b9b80(0x1fd)]=(_0x5aed9e=_0x3d778d['labelPosition'])!=null?_0x5aed9e:this[_0x5b9b80(0x1fd)],this[_0x5b9b80(0x2a2)]=(_0x13229d=_0x3d778d[_0x5b9b80(0x1e3)])!=null?_0x13229d:this['_backgroundColor'],this[_0x5b9b80(0x194)]({'width':_0x3d778d[_0x5b9b80(0x2d1)],'height':_0x3d778d[_0x5b9b80(0x239)]});}['onMouseMove'](_0xe4511d){const _0x4b92fc=_0x41d4e7,{row:_0x4fd50a,column:_0x2bb982}=_0xe4511d;if(_0x4fd50a>=this['_range'][_0x4b92fc(0x200)]&&_0x4fd50a<=this[_0x4b92fc(0x224)]['endRow']&&_0x2bb982>=this[_0x4b92fc(0x224)][_0x4b92fc(0x30a)]&&_0x2bb982<=this['_range'][_0x4b92fc(0x1f5)]){this[_0x4b92fc(0x28f)]({'hovered':!0x0});return;}this[_0x4b92fc(0x28f)]({'hovered':!0x1});}['triggerDblclick'](_0x516906){return!0x1;}['_draw'](_0x3abaa6){const _0x1beb6a=_0x41d4e7;_0x5b1b15[_0x1beb6a(0x1bd)]['drawWith'](_0x3abaa6,{'width':this[_0x1beb6a(0x2d1)],'height':this[_0x1beb6a(0x239)],'strokeWidth':_0x2b8dbb,'stroke':this[_0x1beb6a(0x1c5)],'evented':!0x1,'fill':this[_0x1beb6a(0x2a2)]}),this['_hovered']&&(_0x3abaa6[_0x1beb6a(0x350)](),_0x3abaa6[_0x1beb6a(0x2d7)](0x1,0x0,0x0,0x1,this[_0x1beb6a(0x2d1)],this[_0x1beb6a(0x1fd)]===_0x1beb6a(0xd3)?0x0:-_0x44b9d8),_0x1e8257[_0x1beb6a(0xda)](_0x3abaa6,{'text':this[_0x1beb6a(0x281)],'color':this[_0x1beb6a(0x1c5)]}),_0x3abaa6[_0x1beb6a(0x2d8)]());}}var _0x199cb1=Object[_0x41d4e7(0x21b)],_0x3c1273=(_0x2f01ae,_0x3f5337,_0x2922f8,_0x2bb018)=>{const _0x3f1202=_0x41d4e7;for(var _0x147f2f=_0x2bb018>0x1?void 0x0:_0x2bb018?_0x199cb1(_0x3f5337,_0x2922f8):_0x3f5337,_0x3eac7a=_0x2f01ae[_0x3f1202(0x282)]-0x1,_0x93d0c0;_0x3eac7a>=0x0;_0x3eac7a--)(_0x93d0c0=_0x2f01ae[_0x3eac7a])&&(_0x147f2f=_0x93d0c0(_0x147f2f)||_0x147f2f);return _0x147f2f;},_0xee4e83=(_0x3a79f7,_0x26dedb)=>(_0x296443,_0x352fd0)=>_0x26dedb(_0x296443,_0x352fd0,_0x3a79f7);const _0x35a756=0x1389;let _0x4bcda1=class extends _0x29d25c['RxDisposable']{constructor(_0x4bfa0a,_0x3ee54d,_0x1b312c,_0x4555be){const _0x327a1f=_0x41d4e7;super(),_0x52c81f(this,_0x327a1f(0xe0),new Set()),_0x52c81f(this,_0x327a1f(0x118),null),(this['_context']=_0x4bfa0a,this[_0x327a1f(0x1ca)]=_0x3ee54d,this[_0x327a1f(0x1b0)]=_0x1b312c,this[_0x327a1f(0x13c)]=_0x4555be,this[_0x327a1f(0x112)]());}['_init'](){const _0x31788e=_0x41d4e7;this[_0x31788e(0x1ca)][_0x31788e(0x1ef)][_0x31788e(0xfc)](_0x25fe30['takeUntil'](this[_0x31788e(0x114)]),_0x25fe30[_0x31788e(0x1f9)](_0x65ff6a=>{const _0x3174b2=_0x31788e;if(_0x65ff6a){const _0x1ccc26=_0x65ff6a[_0x3174b2(0x1b4)];return _0x13e5fb[_0x3174b2(0x2f7)](this[_0x3174b2(0x1b0)][_0x3174b2(0x207)](this['_context'][_0x3174b2(0x155)]),this['_themeService']['currentTheme$'])[_0x3174b2(0xfc)](_0x25fe30[_0x3174b2(0x19d)](([_0x246bbe,_0x47730f])=>{const _0x10fd1f=_0x3174b2,_0x48cad5=new Map();return _0x246bbe[_0x10fd1f(0x267)]((_0xe0e701,_0x26e713)=>{const _0x5740ce=_0x10fd1f;if(_0xe0e701[_0x5740ce(0x31e)]===_0x1ccc26){const _0xce3927={..._0xe0e701};_0xce3927['color']=this[_0x5740ce(0x13c)][_0x5740ce(0x285)](_0xe0e701[_0x5740ce(0x1e9)]),_0x48cad5[_0x5740ce(0x32f)](_0x26e713,_0xce3927);}}),{'skeleton':_0x65ff6a,'cursors':_0x48cad5};}));}return _0x13e5fb['of']({'skeleton':null,'cursors':new Map()});}))[_0x31788e(0x262)](({skeleton:_0x3f1b4a,cursors:_0x4a836d})=>{const _0x390ba9=_0x31788e;this[_0x390ba9(0x35a)](),_0x3f1b4a&&this[_0x390ba9(0x300)](_0x3f1b4a,_0x4a836d);}),this['_sheetSkeletonManagerService'][_0x31788e(0x1ef)][_0x31788e(0x262)](_0x5daeee=>{const _0x112ff2=_0x31788e;if(_0x5daeee==null)return;const {skeleton:_0x3f4579}=_0x5daeee,{scene:_0x539356}=this[_0x112ff2(0x237)];_0x539356['onPointerMove$'][_0x112ff2(0x1bc)](_0x29d25c[_0x112ff2(0x1fe)](_0x50178a=>{const _0x5c5255=_0x112ff2;var _0x43de0a,_0x3c928d;const {offsetX:_0x4db639,offsetY:_0x15b784}=_0x50178a,{x:_0x256717,y:_0x16cc0a}=_0x539356[_0x5c5255(0x1a8)](_0x5b1b15[_0x5c5255(0x2ff)]['FromArray']([_0x4db639,_0x15b784])),{scaleX:_0x188e0d,scaleY:_0x1987ce}=_0x539356['getAncestorScale'](),_0x3cd6d5=_0x539356[_0x5c5255(0x272)](_0x5b1b15[_0x5c5255(0x2ea)][_0x5c5255(0x164)]),_0x34e192=_0x539356[_0x5c5255(0x238)](_0x5b1b15[_0x5c5255(0x2ff)]['FromArray']([_0x256717,_0x16cc0a]),_0x3cd6d5),_0x379b1d=_0x3f4579[_0x5c5255(0x177)](_0x4db639,_0x15b784,_0x188e0d,_0x1987ce,_0x34e192);((_0x43de0a=this[_0x5c5255(0x118)])==null?void 0x0:_0x43de0a[_0x5c5255(0x1da)])===_0x379b1d[_0x5c5255(0x1da)]&&((_0x3c928d=this[_0x5c5255(0x118)])==null?void 0x0:_0x3c928d[_0x5c5255(0x21c)])===_0x379b1d[_0x5c5255(0x21c)]||this[_0x5c5255(0xe0)][_0x5c5255(0x267)](_0xa6b2bd=>{const _0x3b1307=_0x5c5255;_0xa6b2bd[_0x3b1307(0x19a)](_0x379b1d);});},0x64));});}[_0x41d4e7(0x300)](_0x189293,_0x54c14a){const _0x5759d4=_0x41d4e7;var _0x1ab5e4;const _0x494827=(_0x1ab5e4=this[_0x5759d4(0x1ca)][_0x5759d4(0x1e6)]())==null?void 0x0:_0x1ab5e4[_0x5759d4(0x246)];if(!_0x494827)return;const _0x1c2efe=this['_getSheetObject']();if(!_0x1c2efe)return;this['_cursors'][_0x5759d4(0x267)](_0x1bec65=>{const _0x187c87=_0x5759d4;_0x1bec65[_0x187c87(0x16d)]();});const {scene:_0x352545}=_0x1c2efe,_0x4f7554=_0x24c9ba(Array[_0x5759d4(0x179)](_0x54c14a['values']()))[_0x5759d4(0x19d)](_0x3c7651=>{const _0x385c56=_0x5759d4,{color:_0x4cb6d8,range:_0x5047b2,name:_0x26bcfb,selection:_0x27f86d,sheetID:_0x421be1}=_0x3c7651,{startColumn:_0x25f695,startRow:_0x287c61,endColumn:_0x2e3e76,endRow:_0xb48878}=_0x5047b2,_0x11cc12=_0x4fb956['getCoordByCell'](_0x287c61,_0x25f695,_0x352545,_0x494827),_0x5297fd=_0x4fb956[_0x385c56(0x2d0)](_0xb48878,_0x2e3e76,_0x352545,_0x494827),{columnHeaderHeightAndMarginTop:_0x136eca}=_0x494827,{startX:_0x23c2c7,startY:_0x49cafa}=_0x11cc12,{endX:_0x184155,endY:_0x263ef6}=_0x5297fd,_0x107f39=_0x184155-_0x23c2c7,_0x2d4a93=_0x263ef6-_0x49cafa,_0x39e09b={'labelPosition':_0x49cafa-_0x136eca>=_0x44b9d8?_0x385c56(0x191):_0x385c56(0xd3),'sheetID':_0x421be1,'range':_0x5047b2,'color':_0x4cb6d8,'name':_0x26bcfb,'selection':_0x27f86d,'left':_0x23c2c7,'top':_0x49cafa,'width':_0x107f39,'height':_0x2d4a93,'evented':!0x1,'zIndex':_0x35a756};return new _0x1bbecd(_0x26bcfb,_0x39e09b);});_0x352545[_0x5759d4(0x31c)](_0x4f7554,_0x5ea0d0),this[_0x5759d4(0xe0)]=new Set(_0x4f7554);}['_removeCollabCursors'](){const _0x4e6da9=_0x41d4e7;var _0x4aa57a;(_0x4aa57a=this[_0x4e6da9(0xe0)])==null||_0x4aa57a['forEach'](_0x3f2884=>_0x3f2884['dispose']());}['_getSheetObject'](){const _0x56ded4=_0x41d4e7;return _0x4fb956['getSheetObject'](this[_0x56ded4(0x237)]['unit'],this[_0x56ded4(0x237)]);}};_0x4bcda1=_0x3c1273([_0xee4e83(0x1,_0x29d25c[_0x41d4e7(0x181)](_0x4fb956['SheetSkeletonManagerService'])),_0xee4e83(0x2,_0x29d25c[_0x41d4e7(0x181)](_0x5cc28d)),_0xee4e83(0x3,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x11e)]))],_0x4bcda1);function _0x24c9ba(_0x551b40){const _0x2784de=_0x41d4e7,_0x242561=new Map();return _0x551b40[_0x2784de(0x267)](_0x263ca7=>{const _0x4c3b80=_0x2784de;if(_0x242561['has'](_0x263ca7[_0x4c3b80(0x27d)])){const _0x246e1f=_0x242561[_0x4c3b80(0xef)](_0x263ca7['selection']);_0x246e1f[_0x4c3b80(0x33a)]+=',\x20'+_0x263ca7[_0x4c3b80(0x33a)];}else _0x242561[_0x4c3b80(0x32f)](_0x263ca7['selection'],_0x263ca7);}),Array[_0x2784de(0x179)](_0x242561['values']());}var _0x41698d=Object[_0x41d4e7(0x21b)],_0x1cda25=(_0x15eb09,_0x34be22,_0x1116e1,_0x65069c)=>{const _0x3a5e73=_0x41d4e7;for(var _0x34e861=_0x65069c>0x1?void 0x0:_0x65069c?_0x41698d(_0x34be22,_0x1116e1):_0x34be22,_0x501f40=_0x15eb09[_0x3a5e73(0x282)]-0x1,_0x26f15c;_0x501f40>=0x0;_0x501f40--)(_0x26f15c=_0x15eb09[_0x501f40])&&(_0x34e861=_0x26f15c(_0x34e861)||_0x34e861);return _0x34e861;},_0x35aed9=(_0x34b024,_0x291a40)=>(_0x3d9b9d,_0x19ac2f)=>_0x291a40(_0x3d9b9d,_0x19ac2f,_0x34b024);let _0x427f75=class extends _0x29d25c['Disposable']{constructor(_0x490930,_0x571a89,_0x48c82a,_0x4f66af,_0x24727e,_0x156e7f){const _0x48e550=_0x41d4e7;super(),this[_0x48e550(0x1a4)]=_0x490930,this[_0x48e550(0x217)]=_0x571a89,this[_0x48e550(0xd0)]=_0x48c82a,this[_0x48e550(0x247)]=_0x4f66af,this['_notificationService']=_0x24727e,this['_localeService']=_0x156e7f,this[_0x48e550(0x210)](),this[_0x48e550(0x2e8)]();}[_0x41d4e7(0x210)](){const _0x5750d6=_0x41d4e7;this[_0x5750d6(0x2fc)](this[_0x5750d6(0x1a4)][_0x5750d6(0x2db)](()=>{const _0x37e53c=_0x5750d6;if(this[_0x37e53c(0x217)][_0x37e53c(0x357)][_0x37e53c(0x23c)])return this['_localeService']['t'](_0x37e53c(0x1be));}));}['_initEvent'](){const _0x528e95=_0x41d4e7;this[_0x528e95(0x2fc)](this[_0x528e95(0xd0)][_0x528e95(0x1d3)][_0x528e95(0x262)](_0x366f9b=>{const _0x31f33c=_0x528e95;_0x366f9b['id']===_0x258ad3['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x31f33c(0x247)]['show']({'type':_0x39cbfa[_0x31f33c(0x30d)][_0x31f33c(0xf1)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x1ec)]&&this[_0x31f33c(0x247)][_0x31f33c(0x2cd)]({'type':_0x39cbfa[_0x31f33c(0x30d)]['Warning'],'content':this[_0x31f33c(0xdc)]['t']('collaboration.closeRoom')}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x209)]&&this[_0x31f33c(0x33e)][_0x31f33c(0x2cd)]({'title':this[_0x31f33c(0xdc)]['t'](_0x31f33c(0x1d8)),'content':this[_0x31f33c(0xdc)]['t']('permission.content'),'type':_0x31f33c(0x19e),'duration':0x0}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x273)]&&this[_0x31f33c(0x247)][_0x31f33c(0x2cd)]({'type':_0x39cbfa[_0x31f33c(0x30d)]['Error'],'content':this[_0x31f33c(0xdc)]['t'](_0x31f33c(0x12b))+'('+_0x366f9b['data']+')'}),_0x366f9b['id']===_0x258ad3['CollaborationUIEventId'][_0x31f33c(0x12f)]&&this['_messageService'][_0x31f33c(0x2cd)]({'type':_0x39cbfa[_0x31f33c(0x30d)][_0x31f33c(0xf1)],'content':this[_0x31f33c(0xdc)]['t'](_0x366f9b[_0x31f33c(0x19c)]||'')}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x2a3)]&&this[_0x31f33c(0x247)][_0x31f33c(0x2cd)]({'type':_0x39cbfa[_0x31f33c(0x30d)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x27f)]&&this[_0x31f33c(0x247)][_0x31f33c(0x2cd)]({'type':_0x39cbfa[_0x31f33c(0x30d)]['Error'],'content':this[_0x31f33c(0xdc)]['t'](_0x31f33c(0x319))}),_0x366f9b['id']===_0x258ad3[_0x31f33c(0x216)][_0x31f33c(0x13d)]&&this[_0x31f33c(0x247)]['show']({'type':_0x39cbfa[_0x31f33c(0x30d)][_0x31f33c(0x1c1)],'content':this[_0x31f33c(0xdc)]['t'](_0x31f33c(0x20f))});}));}};_0x427f75=_0x1cda25([_0x35aed9(0x0,_0x33cb29['IBeforeCloseService']),_0x35aed9(0x1,_0x258ad3[_0x41d4e7(0x204)]),_0x35aed9(0x2,_0x29d25c['Inject'](_0x258ad3[_0x41d4e7(0x253)])),_0x35aed9(0x3,_0x33cb29[_0x41d4e7(0x2ad)]),_0x35aed9(0x4,_0x33cb29['INotificationService']),_0x35aed9(0x5,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0xe1)]))],_0x427f75);const _0x4d539e='collaboration-client-ui.config',_0x34e1c9={};var _0x4bba5c=Object[_0x41d4e7(0x21b)],_0x2a975d=(_0x53d65a,_0x550627,_0x4daaa6,_0x448be9)=>{const _0x2d14d5=_0x41d4e7;for(var _0x5a7187=_0x448be9>0x1?void 0x0:_0x448be9?_0x4bba5c(_0x550627,_0x4daaa6):_0x550627,_0x13f5a1=_0x53d65a[_0x2d14d5(0x282)]-0x1,_0x3de7d7;_0x13f5a1>=0x0;_0x13f5a1--)(_0x3de7d7=_0x53d65a[_0x13f5a1])&&(_0x5a7187=_0x3de7d7(_0x5a7187)||_0x5a7187);return _0x5a7187;},_0x5774f2=(_0x4c65c0,_0x453eab)=>(_0x2aca12,_0x31a574)=>_0x453eab(_0x2aca12,_0x31a574,_0x4c65c0);let _0x22bab2=class{constructor(_0x89d7be,_0x104c35){const _0x1a3d53=_0x41d4e7;this[_0x1a3d53(0x145)]=_0x89d7be,this[_0x1a3d53(0x166)]=_0x104c35;}[_0x41d4e7(0x1d6)](_0x56d6ce){const _0x4a6bb5=_0x41d4e7;this[_0x4a6bb5(0x2c3)](_0x56d6ce),this[_0x4a6bb5(0x2ca)](_0x56d6ce);}['transformRemoteChangeset'](_0x4a96bc){const _0x1abd0b=_0x41d4e7,{unitID:_0x3529d8}=_0x4a96bc,_0x2a987d=this[_0x1abd0b(0x166)][_0x1abd0b(0x175)](_0x3529d8)[_0x1abd0b(0x1b7)](_0x1e213a[_0x1abd0b(0x327)]),{redoCache:_0x14a06e}=_0x2a987d['getUndoRedoMutationParamsCache']();if(_0x14a06e['length']===0x0)return _0x4a96bc;let _0x5b3ab0=_0x29d25c['Tools'][_0x1abd0b(0x279)](_0x4a96bc[_0x1abd0b(0x146)][0x0]);for(let _0x1d1132=0x0;_0x1d1132<_0x14a06e['length'];_0x1d1132++){const _0x2d3a7f={'id':_0x1abd0b(0x338),'params':{..._0x14a06e[_0x1d1132]}},_0x5b7b02=this['_transformService'][_0x1abd0b(0x16b)](_0x5b3ab0,_0x2d3a7f,!0x1);if(_0x567a1f['isTransformMutationFailure'](_0x5b7b02))throw _0x5b7b02[_0x1abd0b(0x19e)];_0x5b3ab0=_0x5b7b02[_0x1abd0b(0x2af)];}return{..._0x29d25c[_0x1abd0b(0x1b2)][_0x1abd0b(0x279)](_0x4a96bc),'mutations':[_0x5b3ab0]};}[_0x41d4e7(0x2c3)](_0x38ed90){const _0x51f8a0=_0x41d4e7,{unitID:_0x56184a}=_0x38ed90,_0x1a7038=this[_0x51f8a0(0x166)]['getRenderById'](_0x56184a)[_0x51f8a0(0x1b7)](_0x1e213a[_0x51f8a0(0x327)]),{undoCache:_0x6f73a2,redoCache:_0x341b67}=_0x1a7038[_0x51f8a0(0x12e)]();if(_0x6f73a2['length']===0x0||_0x341b67['length']===0x0)return;const _0x3c9702=[],_0x2dd732=[];let _0x4cf1cd=_0x29d25c[_0x51f8a0(0x1b2)][_0x51f8a0(0x279)](_0x38ed90[_0x51f8a0(0x146)][0x0]),_0x100c53=_0x29d25c['Tools']['deepClone'](_0x38ed90[_0x51f8a0(0x146)][0x0]);for(let _0x4d90c4=_0x6f73a2[_0x51f8a0(0x282)]-0x1;_0x4d90c4>=0x0;_0x4d90c4--){const _0x40becb={'id':'doc.mutation.rich-text-editing','params':{..._0x6f73a2[_0x4d90c4]}},_0x1a38ff={'id':_0x51f8a0(0x338),'params':{..._0x341b67[_0x4d90c4]}},_0x36dbb7=this[_0x51f8a0(0x145)][_0x51f8a0(0x16b)](_0x4cf1cd,_0x40becb,!0x1),_0x13bff4=this['_transformService'][_0x51f8a0(0x16b)](_0x100c53,_0x1a38ff,!0x1);if(_0x567a1f[_0x51f8a0(0x15f)](_0x36dbb7))throw _0x36dbb7[_0x51f8a0(0x19e)];if(_0x567a1f['isTransformMutationFailure'](_0x13bff4))throw _0x13bff4[_0x51f8a0(0x19e)];_0x3c9702['unshift'](_0x36dbb7[_0x51f8a0(0x1a2)][_0x51f8a0(0x190)]),_0x2dd732[_0x51f8a0(0x34d)](_0x13bff4['m2Prime'][_0x51f8a0(0x190)]),_0x4cf1cd=_0x36dbb7[_0x51f8a0(0x2af)],_0x100c53=_0x13bff4[_0x51f8a0(0x2af)];}_0x1a7038['setUndoRedoMutationParamsCache']({'undoCache':_0x3c9702,'redoCache':_0x2dd732});}['_transformPreviousActiveRange'](_0x1c2ccf){const _0x4e9a51=_0x41d4e7,{unitID:_0x4df37d}=_0x1c2ccf,_0x521a59=this[_0x4e9a51(0x166)][_0x4e9a51(0x175)](_0x4df37d)[_0x4e9a51(0x1b7)](_0x1e213a[_0x4e9a51(0x327)]),_0x250893=_0x521a59[_0x4e9a51(0xcf)]();if(_0x250893==null)return;const _0x26a863=[{'id':_0x4e9a51(0x338),'params':{'unitId':_0x1c2ccf['unitID'],'actions':null,'textRanges':[_0x250893]}}],_0x42e962=this[_0x4e9a51(0x145)]['transformMutationsWithChangeset'](_0x1c2ccf,_0x26a863);if(!_0x567a1f[_0x4e9a51(0x111)](_0x42e962))throw _0x42e962[_0x4e9a51(0x19e)];const _0x5b143d=_0x42e962[_0x4e9a51(0x1a2)][0x0][_0x4e9a51(0x190)][_0x4e9a51(0x2cc)];Array[_0x4e9a51(0xf4)](_0x5b143d)&&_0x5b143d[_0x4e9a51(0x282)]&&_0x521a59[_0x4e9a51(0x1f7)](_0x5b143d[0x0]);}};_0x22bab2=_0x2a975d([_0x5774f2(0x0,_0x567a1f[_0x41d4e7(0xe3)]),_0x5774f2(0x1,_0x5b1b15[_0x41d4e7(0x18e)])],_0x22bab2);var _0x32a975=Object[_0x41d4e7(0x21b)],_0xf28558=(_0x2d857a,_0x357585,_0x174c86,_0x50df16)=>{for(var _0x36fa3e=_0x50df16>0x1?void 0x0:_0x50df16?_0x32a975(_0x357585,_0x174c86):_0x357585,_0x106789=_0x2d857a['length']-0x1,_0x181153;_0x106789>=0x0;_0x106789--)(_0x181153=_0x2d857a[_0x106789])&&(_0x36fa3e=_0x181153(_0x36fa3e)||_0x36fa3e);return _0x36fa3e;},_0x153444=(_0x109d2a,_0x16fd41)=>(_0x4fb8ef,_0x4d95d5)=>_0x16fd41(_0x4fb8ef,_0x4d95d5,_0x109d2a);let _0x27d669=class{constructor(_0xe3821,_0x1ac828,_0x593e81){const _0x30ab59=_0x41d4e7;this[_0x30ab59(0x26a)]=_0xe3821,this['_transformService']=_0x1ac828,this['_docStateChangeManagerService']=_0x593e81;}[_0x41d4e7(0x1a5)](_0x14eb21){const _0x5a0b94=_0x41d4e7;this[_0x5a0b94(0x355)](_0x14eb21);}[_0x41d4e7(0x295)](_0x2b6f7e){const _0x559442=_0x41d4e7,{unitID:_0x1e9aa4}=_0x2b6f7e,{collaboration:_0x1f423d}=this[_0x559442(0x333)][_0x559442(0x34e)](_0x1e9aa4);if(_0x1f423d[_0x559442(0x282)]===0x0)return _0x2b6f7e;let _0x3ae6ee=_0x29d25c['Tools'][_0x559442(0x279)](_0x2b6f7e[_0x559442(0x146)][0x0]);for(let _0x198f57=0x0;_0x198f57<_0x1f423d[_0x559442(0x282)];_0x198f57++){const _0x15decd={'id':_0x559442(0x338),'params':{'unitId':_0x1f423d[_0x198f57][_0x559442(0x155)],..._0x1f423d[_0x198f57][_0x559442(0xd2)]}},_0x5ea6ab=this[_0x559442(0x145)][_0x559442(0x16b)](_0x3ae6ee,_0x15decd,!0x1);if(_0x567a1f[_0x559442(0x15f)](_0x5ea6ab))throw _0x5ea6ab[_0x559442(0x19e)];_0x3ae6ee=_0x5ea6ab[_0x559442(0x2af)];}return{..._0x29d25c[_0x559442(0x1b2)][_0x559442(0x279)](_0x2b6f7e),'mutations':[_0x3ae6ee]};}[_0x41d4e7(0x355)](_0x3eb85a){const _0x524280=_0x41d4e7,{unitID:_0x2b5c5a}=_0x3eb85a,{history:_0x1bb08f,collaboration:_0x1bd0ff}=this[_0x524280(0x333)][_0x524280(0x34e)](_0x2b5c5a);if(_0x1bb08f[_0x524280(0x282)]===0x0&&_0x1bd0ff['length']===0x0)return;const _0x4fa5dc=[],_0x33698c=[];let _0x26c50b=_0x29d25c[_0x524280(0x1b2)][_0x524280(0x279)](_0x3eb85a[_0x524280(0x146)][0x0]),_0x1a3676=_0x29d25c['Tools']['deepClone'](_0x3eb85a[_0x524280(0x146)][0x0]);for(let _0x259b9a=_0x1bb08f[_0x524280(0x282)]-0x1;_0x259b9a>=0x0;_0x259b9a--){const _0x43c6c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bb08f[_0x259b9a][_0x524280(0x155)],..._0x1bb08f[_0x259b9a][_0x524280(0x132)]}},_0x4af094={'id':_0x524280(0x338),'params':{'unitId':_0x1bb08f[_0x259b9a]['unitId'],..._0x1bb08f[_0x259b9a]['redoState']}},_0x31d952=this['_transformService'][_0x524280(0x16b)](_0x26c50b,_0x43c6c2,!0x1),_0x13ead7=this['_transformService'][_0x524280(0x16b)](_0x1a3676,_0x4af094,!0x1);if(_0x567a1f[_0x524280(0x15f)](_0x31d952))throw _0x31d952[_0x524280(0x19e)];if(_0x567a1f[_0x524280(0x15f)](_0x13ead7))throw _0x13ead7[_0x524280(0x19e)];_0x4fa5dc[_0x524280(0x34d)]({..._0x1bb08f[_0x259b9a],'undoState':_0x31d952[_0x524280(0x1a2)][_0x524280(0x190)],'redoState':_0x13ead7[_0x524280(0x1a2)]['params']}),_0x26c50b=_0x31d952[_0x524280(0x2af)],_0x1a3676=_0x13ead7[_0x524280(0x2af)];}_0x26c50b=_0x29d25c[_0x524280(0x1b2)][_0x524280(0x279)](_0x3eb85a[_0x524280(0x146)][0x0]),_0x1a3676=_0x29d25c[_0x524280(0x1b2)][_0x524280(0x279)](_0x3eb85a[_0x524280(0x146)][0x0]);for(let _0x6ba21=_0x1bd0ff[_0x524280(0x282)]-0x1;_0x6ba21>=0x0;_0x6ba21--){const _0x4befd2={'id':_0x524280(0x338),'params':{'unitId':_0x1bd0ff[_0x6ba21][_0x524280(0x155)],..._0x1bd0ff[_0x6ba21][_0x524280(0x132)]}},_0x201a34={'id':_0x524280(0x338),'params':{'unitId':_0x1bd0ff[_0x6ba21][_0x524280(0x155)],..._0x1bd0ff[_0x6ba21][_0x524280(0xd2)]}},_0x1b7e77=this[_0x524280(0x145)]['transformMutation'](_0x26c50b,_0x4befd2,!0x1),_0x1b7880=this[_0x524280(0x145)][_0x524280(0x16b)](_0x1a3676,_0x201a34,!0x1);if(_0x567a1f['isTransformMutationFailure'](_0x1b7e77))throw _0x1b7e77[_0x524280(0x19e)];if(_0x567a1f['isTransformMutationFailure'](_0x1b7880))throw _0x1b7880['error'];_0x33698c[_0x524280(0x34d)]({..._0x1bd0ff[_0x6ba21],'undoState':_0x1b7e77[_0x524280(0x1a2)]['params'],'redoState':_0x1b7880[_0x524280(0x1a2)][_0x524280(0x190)]}),_0x26c50b=_0x1b7e77[_0x524280(0x2af)],_0x1a3676=_0x1b7880[_0x524280(0x2af)];}this['_docStateChangeManagerService']['setStateCache'](_0x2b5c5a,{'history':_0x4fa5dc,'collaboration':_0x33698c});}};_0x27d669=_0xf28558([_0x153444(0x0,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x2a4)])),_0x153444(0x1,_0x567a1f['ITransformService']),_0x153444(0x2,_0x29d25c['Inject'](_0x1e213a[_0x41d4e7(0x148)]))],_0x27d669);var _0x2392d6=Object['getOwnPropertyDescriptor'],_0x1727c5=(_0x33e59c,_0x3cbcea,_0x5c1390,_0x442db4)=>{for(var _0x3bd608=_0x442db4>0x1?void 0x0:_0x442db4?_0x2392d6(_0x3cbcea,_0x5c1390):_0x3cbcea,_0x2d831d=_0x33e59c['length']-0x1,_0x110e1b;_0x2d831d>=0x0;_0x2d831d--)(_0x110e1b=_0x33e59c[_0x2d831d])&&(_0x3bd608=_0x110e1b(_0x3bd608)||_0x3bd608);return _0x3bd608;},_0x4db556=(_0x3ba1f4,_0x414937)=>(_0x1dcab5,_0x200b11)=>_0x414937(_0x1dcab5,_0x200b11,_0x3ba1f4);let _0x505c1e=class{constructor(_0x27d11d,_0x377192){const _0x50d185=_0x41d4e7;this[_0x50d185(0x26a)]=_0x27d11d,this['_transformService']=_0x377192;}[_0x41d4e7(0x141)](_0x2425b8){const _0x1e90e3=_0x41d4e7;var _0xcb2c9e;const _0x4dfa4f=this[_0x1e90e3(0x26a)]['get'](_0x13c858[_0x1e90e3(0x182)]),_0x1ffc77=(_0xcb2c9e=_0x4dfa4f[_0x1e90e3(0x26d)]())!=null?_0xcb2c9e:[];if(_0x1ffc77[_0x1e90e3(0x282)]===0x0)return;const _0x11d6fb=_0x2425b8[_0x1e90e3(0x115)],_0xab724e=[{'id':_0x1e90e3(0x338),'params':{'unitId':_0x11d6fb,'actions':null,'textRanges':_0x1ffc77}}],_0x5eb087=this['_transformService'][_0x1e90e3(0x11f)](_0x2425b8,_0xab724e);if(!_0x567a1f[_0x1e90e3(0x111)](_0x5eb087))throw _0x5eb087['error'];const _0x419e19=_0x5eb087[_0x1e90e3(0x1a2)][0x0][_0x1e90e3(0x190)][_0x1e90e3(0x2cc)];Array[_0x1e90e3(0xf4)](_0x419e19)&&_0x419e19[_0x1e90e3(0x282)]&&_0x4dfa4f['replaceDocRanges'](_0x419e19,{'unitId':_0x11d6fb,'subUnitId':_0x11d6fb},!0x1);}};_0x505c1e=_0x1727c5([_0x4db556(0x0,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c[_0x41d4e7(0x2a4)])),_0x4db556(0x1,_0x567a1f[_0x41d4e7(0xe3)])],_0x505c1e);var _0x21bf4d=Object[_0x41d4e7(0x21b)],_0x16ec1b=(_0x158cf4,_0x3017b0,_0x5ac3d0,_0x29424b)=>{const _0x3cccf7=_0x41d4e7;for(var _0x1a7963=_0x29424b>0x1?void 0x0:_0x29424b?_0x21bf4d(_0x3017b0,_0x5ac3d0):_0x3017b0,_0x1a57b4=_0x158cf4[_0x3cccf7(0x282)]-0x1,_0x13c90f;_0x1a57b4>=0x0;_0x1a57b4--)(_0x13c90f=_0x158cf4[_0x1a57b4])&&(_0x1a7963=_0x13c90f(_0x1a7963)||_0x1a7963);return _0x1a7963;},_0x452dca=(_0x9861b9,_0x2a122d)=>(_0x4bbd5a,_0x347d6d)=>_0x2a122d(_0x4bbd5a,_0x347d6d,_0x9861b9);let _0x3e0f25=class extends _0x29d25c[_0x41d4e7(0x1cb)]{constructor(_0x10def8,_0x942d78,_0x447c6b,_0x4fc4f6,_0x325465,_0x5dc2f6,_0x5ced69,_0x520db8){const _0x453c78=_0x41d4e7;super(),_0x52c81f(this,_0x453c78(0x36d),new _0x13e5fb[(_0x453c78(0x359))](_0x258ad3['CollaborationStatus'][_0x453c78(0x324)])),(this[_0x453c78(0x333)]=_0x10def8,this[_0x453c78(0x274)]=_0x942d78,this[_0x453c78(0x16a)]=_0x447c6b,this[_0x453c78(0x1f4)]=_0x4fc4f6,this['_docTransformSelectionsService']=_0x325465,this['_docSyncEditingCollabCursorService']=_0x5dc2f6,this[_0x453c78(0x247)]=_0x5ced69,this['_localeService']=_0x520db8,this[_0x453c78(0x2f4)]());}[_0x41d4e7(0x2f4)](){const _0x3debc5=_0x41d4e7;this[_0x3debc5(0x2fc)](this['_collaborationController'][_0x3debc5(0x10f)][_0x3debc5(0x262)](_0xc116b5=>{const _0xcc6d7d=_0x3debc5,_0x42443f=this[_0xcc6d7d(0x333)]['docStateChange$'][_0xcc6d7d(0x262)](_0x1bce7d=>{const _0x30da1=_0xcc6d7d;if(_0x1bce7d==null)return;const {unitId:_0x435fdb,redoState:_0x42bfef,commandId:_0x558a82}=_0x1bce7d;if(_0x435fdb!==_0xc116b5[_0x30da1(0x115)])return;const _0x198b91={'id':_0x558a82,'type':_0x29d25c[_0x30da1(0x24b)][_0x30da1(0x1cf)],'params':{'unitId':_0x435fdb,'actions':_0x42bfef[_0x30da1(0x29d)],'textRanges':null}};_0xc116b5[_0x30da1(0x219)](_0x198b91);});if(_0xc116b5[_0xcc6d7d(0x2fc)](_0x42443f),_0xc116b5 instanceof _0x258ad3[_0xcc6d7d(0x252)]){const _0x5e9e49={'onTransformIME':_0x3482d6=>this['_docTransformIMECacheService']['transformIMECache'](_0x3482d6),'onTransformState':_0x156e1c=>this[_0xcc6d7d(0x1f4)][_0xcc6d7d(0x1a5)](_0x156e1c),'onTransformSelections':_0xa35210=>this[_0xcc6d7d(0x1ce)]['transformSelections'](_0xa35210),'onSyncEditingCollabCursor':_0x2d420d=>this[_0xcc6d7d(0x158)][_0xcc6d7d(0x152)](_0x2d420d),'onTransformRemoteChangesetByIMECache':_0x58f1dc=>this[_0xcc6d7d(0x16a)]['transformRemoteChangeset'](_0x58f1dc),'onTransformRemoteChangesetByStateCache':_0x1248a2=>this[_0xcc6d7d(0x1f4)]['transformRemoteChangeset'](_0x1248a2)};_0xc116b5['addHandlerCallback'](_0x5e9e49);}}));}};_0x3e0f25=_0x16ec1b([_0x452dca(0x0,_0x29d25c[_0x41d4e7(0x181)](_0x1e213a[_0x41d4e7(0x148)])),_0x452dca(0x1,_0x29d25c[_0x41d4e7(0x181)](_0x258ad3['CollaborationController'])),_0x452dca(0x2,_0x29d25c['Inject'](_0x22bab2)),_0x452dca(0x3,_0x29d25c[_0x41d4e7(0x181)](_0x27d669)),_0x452dca(0x4,_0x29d25c['Inject'](_0x505c1e)),_0x452dca(0x5,_0x29d25c[_0x41d4e7(0x181)](_0x115879)),_0x452dca(0x6,_0x33cb29[_0x41d4e7(0x2ad)]),_0x452dca(0x7,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c['LocaleService']))],_0x3e0f25);var _0x35be00=Object[_0x41d4e7(0x21b)],_0x38bb9d=(_0x1554d8,_0xb84350,_0x3e5cf4,_0x380784)=>{const _0x5dad6f=_0x41d4e7;for(var _0x2faa45=_0x380784>0x1?void 0x0:_0x380784?_0x35be00(_0xb84350,_0x3e5cf4):_0xb84350,_0x599f29=_0x1554d8[_0x5dad6f(0x282)]-0x1,_0x2666ef;_0x599f29>=0x0;_0x599f29--)(_0x2666ef=_0x1554d8[_0x599f29])&&(_0x2faa45=_0x2666ef(_0x2faa45)||_0x2faa45);return _0x2faa45;},_0x2cbeef=(_0x4b616b,_0x38d828)=>(_0x64346a,_0x3f77a1)=>_0x38d828(_0x64346a,_0x3f77a1,_0x4b616b);let _0x1d7f4c=class extends _0x29d25c['Disposable']{constructor(_0x25a21f,_0x49452b,_0x2bf501){const _0x266230=_0x41d4e7;super(),_0x52c81f(this,_0x266230(0x13a),new Map()),_0x52c81f(this,_0x266230(0x2df),new Map()),_0x52c81f(this,_0x266230(0x13b),!0x1),(this[_0x266230(0x28b)]=_0x25a21f,this[_0x266230(0x17e)]=_0x49452b,this[_0x266230(0x30b)]=_0x2bf501);}[_0x41d4e7(0x134)](){this['_disabled']=!0x0;}[_0x41d4e7(0x1cc)](){const _0x2fa1dc=_0x41d4e7;this[_0x2fa1dc(0x13b)]=!0x1;}get[_0x41d4e7(0x357)](){const _0x3a20ec=_0x41d4e7;return this[_0x3a20ec(0x2df)];}[_0x41d4e7(0x29c)](){const _0x74cc7c=_0x41d4e7;this['exhaustSavingTask']()[_0x74cc7c(0x304)](()=>super[_0x74cc7c(0x29c)]());}async[_0x41d4e7(0x212)](_0x195a85){const _0x3af2ae=_0x41d4e7;return this['_disabled']?null:this[_0x3af2ae(0x17e)]['getItem'](_0x258ad3[_0x3af2ae(0x2bd)](_0x195a85));}async[_0x41d4e7(0x110)](_0x3d280b,_0x36ad1d){const _0x5568e9=_0x41d4e7;return!!this[_0x5568e9(0x17e)][_0x5568e9(0x229)](_0x3d280b,_0x36ad1d);}['updateOfflineData'](_0x2a4196,_0x49f81c,_0x356bc5,_0x2ee9ea){const _0x5d102e=_0x41d4e7,_0x25772d=this[_0x5d102e(0x30b)][_0x5d102e(0x133)](_0x2a4196);this[_0x5d102e(0x13a)][_0x5d102e(0x32f)](_0x2a4196,{'unitID':_0x2a4196,'type':_0x49f81c,'awaitingChangeset':_0x356bc5,'mutations':_0x2ee9ea,'rev':_0x25772d}),this[_0x5d102e(0x2df)][_0x5d102e(0x123)](_0x2a4196)||this[_0x5d102e(0x243)](_0x2a4196);}['_scheduleSaving'](_0x114b7b){const _0x3a9cbe=_0x41d4e7,_0x200ae5=this[_0x3a9cbe(0x2cb)]();_0x200ae5===0x0?this[_0x3a9cbe(0x16e)](_0x114b7b):this['_saveTaskMap'][_0x3a9cbe(0x32f)](_0x114b7b,setTimeout(()=>this[_0x3a9cbe(0x16e)](_0x114b7b),_0x200ae5));}[_0x41d4e7(0x2cb)](){const _0x420fa6=_0x41d4e7;var _0xbafc52;return(_0xbafc52=this['_configService'][_0x420fa6(0x27b)](_0x258ad3[_0x420fa6(0x24c)]))!=null?_0xbafc52:_0x258ad3[_0x420fa6(0x317)];}[_0x41d4e7(0x16e)](_0x3f81bb){const _0x4dcc99=_0x41d4e7,_0x104ac9=this['_saveTaskMap'][_0x4dcc99(0xef)](_0x3f81bb);return _0x104ac9!==void 0x0&&window[_0x4dcc99(0x365)](_0x104ac9),this[_0x4dcc99(0x17e)][_0x4dcc99(0x229)](_0x258ad3['getLocalCacheKey'](_0x3f81bb),this['_cachedData']['get'](_0x3f81bb))[_0x4dcc99(0x304)](()=>this[_0x4dcc99(0x2df)][_0x4dcc99(0x32e)](_0x3f81bb));}async[_0x41d4e7(0x22f)](){const _0x3ffc61=_0x41d4e7,_0x49b643=[];this['_saveTaskMap'][_0x3ffc61(0x267)]((_0xd7a424,_0x32969c)=>{const _0x4b609e=_0x3ffc61;window[_0x4b609e(0x365)](_0xd7a424),_0x49b643['push'](this['_saveCache'](_0x32969c)[_0x4b609e(0x304)](()=>{const _0x531da7=_0x4b609e;this[_0x531da7(0x2df)][_0x531da7(0x32e)](_0x32969c);}));}),await Promise[_0x3ffc61(0x1f8)](_0x49b643);}};_0x1d7f4c=_0x38bb9d([_0x2cbeef(0x0,_0x29d25c[_0x41d4e7(0x2f1)]),_0x2cbeef(0x1,_0x29d25c[_0x41d4e7(0x13f)]),_0x2cbeef(0x2,_0x29d25c['Inject'](_0x567a1f[_0x41d4e7(0x254)]))],_0x1d7f4c);class _0x2bb77c extends _0x29d25c[_0x41d4e7(0x1c8)]{constructor(){const _0xa2cb8a=_0x41d4e7;super(),_0x52c81f(this,_0xa2cb8a(0x172)),this[_0xa2cb8a(0x172)]=_0x13e5fb[_0xa2cb8a(0xd8)](window,_0xa2cb8a(0xd5))[_0xa2cb8a(0xfc)](_0x13e5fb[_0xa2cb8a(0x2e2)](this[_0xa2cb8a(0x114)]),_0x13e5fb[_0xa2cb8a(0x1f2)](0x1),_0x13e5fb[_0xa2cb8a(0x1e8)](void 0x0));}[_0x41d4e7(0x1dd)](_0x171a13,_0x483788,_0x3e07d3=!0x1){const _0x22749e=_0x41d4e7,_0x12a2c1=new URL(window['location'][_0x22749e(0x202)]);_0x12a2c1['searchParams']['set'](_0x171a13,_0x483788),_0x3e07d3?window[_0x22749e(0x22b)][_0x22749e(0x1c7)]('','',_0x12a2c1[_0x22749e(0x2ba)]()):window[_0x22749e(0x22b)][_0x22749e(0x33d)]('','',_0x12a2c1[_0x22749e(0x2ba)]());}[_0x41d4e7(0x1ff)](_0x3121dc,_0x1d9847=!0x1){const _0xfc4cdc=_0x41d4e7,_0x1b7960=new URL(window[_0xfc4cdc(0x165)][_0xfc4cdc(0x202)]);_0x1b7960[_0xfc4cdc(0x29b)][_0xfc4cdc(0x32e)](_0x3121dc),_0x1d9847?window[_0xfc4cdc(0x22b)][_0xfc4cdc(0x1c7)]('','',_0x1b7960[_0xfc4cdc(0x2ba)]()):window['history'][_0xfc4cdc(0x33d)]('','',_0x1b7960[_0xfc4cdc(0x2ba)]());}[_0x41d4e7(0x348)](_0x4d0abd){const _0x6dc36f=_0x41d4e7;var _0x2bdc85;return(_0x2bdc85=new URL(window[_0x6dc36f(0x165)]['href'])[_0x6dc36f(0x29b)]['get'](_0x4d0abd))!=null?_0x2bdc85:void 0x0;}}var _0x124fc9=Object[_0x41d4e7(0x353)],_0x1756dd=Object[_0x41d4e7(0x21b)],_0x3a2110=(_0x1abbab,_0x5c4766,_0x574f19)=>_0x5c4766 in _0x1abbab?_0x124fc9(_0x1abbab,_0x5c4766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x574f19}):_0x1abbab[_0x5c4766]=_0x574f19,_0x9bd31a=(_0x5aa099,_0x86e68d,_0x5a094d,_0x36d75a)=>{const _0x40e316=_0x41d4e7;for(var _0x2422de=_0x36d75a>0x1?void 0x0:_0x36d75a?_0x1756dd(_0x86e68d,_0x5a094d):_0x86e68d,_0x4b6589=_0x5aa099[_0x40e316(0x282)]-0x1,_0x254f5a;_0x4b6589>=0x0;_0x4b6589--)(_0x254f5a=_0x5aa099[_0x4b6589])&&(_0x2422de=_0x254f5a(_0x2422de)||_0x2422de);return _0x2422de;},_0x5b5471=(_0x192ee0,_0x273095)=>(_0x4b6787,_0x840ea8)=>_0x273095(_0x4b6787,_0x840ea8,_0x192ee0),_0x1727a0=(_0x42030c,_0x225b6a,_0x17d5c9)=>_0x3a2110(_0x42030c,_0x225b6a+'',_0x17d5c9);const _0xf048f0=_0x41d4e7(0x126);_0x3cd9e3[_0x41d4e7(0x1d9)]=class extends _0x29d25c[_0x41d4e7(0x25d)]{constructor(_0x2a8801=_0x34e1c9,_0x27f72e,_0x3f82da,_0x33901b){const _0x5089b0=_0x41d4e7;super(),this[_0x5089b0(0x245)]=_0x2a8801,this[_0x5089b0(0x166)]=_0x27f72e,this[_0x5089b0(0x26a)]=_0x3f82da,this[_0x5089b0(0x28b)]=_0x33901b;const {..._0x189bdc}=_0x29d25c['merge']({},_0x34e1c9,this[_0x5089b0(0x245)]);this['_configService'][_0x5089b0(0x130)](_0x4d539e,_0x189bdc);}[_0x41d4e7(0x19f)](){const _0x49551d=_0x41d4e7;this[_0x49551d(0x1c4)](),this[_0x49551d(0x36b)]();}['onRendered'](){const _0x3bfe6d=_0x41d4e7;this[_0x3bfe6d(0x249)]();}[_0x41d4e7(0x1c4)](){const _0x3ff0e2=_0x41d4e7;var _0x35aa19;const _0xe00145=[[_0x4cc29d],[_0x505c1e],[_0x22bab2],[_0x27d669],[_0x115879],[_0x44fd1c,{'useClass':_0x2bb77c}],[_0x448633[_0x3ff0e2(0x1ea)],{'useClass':_0x448633[_0x3ff0e2(0x1a6)]}],[_0x258ad3[_0x3ff0e2(0x204)],{'useClass':_0x1d7f4c}],[_0x3cd9e3['DesktopCollaborationStatusDisplayController']],[_0x3e0f25],[_0x427f75],[_0x5cc28d],[_0x3dba0b],[_0x3cd9e3['CollaborationDataLoaderController']]];_0x29d25c[_0x3ff0e2(0xd7)](this['_injector'],_0x29d25c[_0x3ff0e2(0x21a)](_0xe00145,(_0x35aa19=this[_0x3ff0e2(0x245)])==null?void 0x0:_0x35aa19[_0x3ff0e2(0x34c)]));}[_0x41d4e7(0x249)](){const _0xd7302d=_0x41d4e7;this[_0xd7302d(0x2fc)](this[_0xd7302d(0x166)][_0xd7302d(0x340)](_0x29d25c[_0xd7302d(0x1e1)]['UNIVER_DOC'],[_0x3840c2])),this[_0xd7302d(0x2fc)](this['_renderManagerService'][_0xd7302d(0x340)](_0x29d25c[_0xd7302d(0x1e1)][_0xd7302d(0x352)],[_0x4bcda1]));}['_initDependencies'](){const _0x5270d8=_0x41d4e7;_0x29d25c[_0x5270d8(0x15c)](this[_0x5270d8(0x26a)],[[_0x5cc28d],[_0x3cd9e3[_0x5270d8(0x310)]],[_0x3e0f25],[_0x427f75],[_0x3cd9e3[_0x5270d8(0x2e7)]]]);}},_0x1727a0(_0x3cd9e3[_0x41d4e7(0x1d9)],'pluginName',_0xf048f0),_0x3cd9e3[_0x41d4e7(0x1d9)]=_0x9bd31a([_0x29d25c[_0x41d4e7(0x360)](_0x258ad3['UniverCollaborationClientPlugin']),_0x5b5471(0x1,_0x5b1b15[_0x41d4e7(0x18e)]),_0x5b5471(0x2,_0x29d25c[_0x41d4e7(0x181)](_0x29d25c['Injector'])),_0x5b5471(0x3,_0x29d25c[_0x41d4e7(0x2f1)])],_0x3cd9e3['UniverCollaborationClientUIPlugin']);var _0x374f8b=Object[_0x41d4e7(0x21b)],_0xb40a56=(_0x418aa1,_0x96915c,_0xb42ef3,_0x425677)=>{for(var _0xfa965e=_0x425677>0x1?void 0x0:_0x425677?_0x374f8b(_0x96915c,_0xb42ef3):_0x96915c,_0x584b33=_0x418aa1['length']-0x1,_0x2cdb2e;_0x584b33>=0x0;_0x584b33--)(_0x2cdb2e=_0x418aa1[_0x584b33])&&(_0xfa965e=_0x2cdb2e(_0xfa965e)||_0xfa965e);return _0xfa965e;},_0x5467c4=(_0x67537,_0x50127e)=>(_0x4c2f59,_0x56c439)=>_0x50127e(_0x4c2f59,_0x56c439,_0x67537);_0x3cd9e3[_0x41d4e7(0x302)]=class extends _0x258ad3[_0x41d4e7(0x366)]{constructor(_0x5b33a1,_0x1da588,_0x26b35c,_0x3fb4e4,_0x44f0fc){super(_0x5b33a1,_0x1da588,_0x26b35c,_0x3fb4e4,_0x44f0fc);}async[_0x41d4e7(0x271)](_0x23cd56){const _0x78f595=_0x41d4e7,_0x52a3b8=await this[_0x78f595(0x30f)](),_0x343c4c=this[_0x78f595(0x15b)](_0x23cd56,_0x52a3b8);return this['_doCreateSocket'](_0x343c4c);}[_0x41d4e7(0x15b)](_0x9a955d,_0x33d66f){const _0x1c36c8=_0x41d4e7,_0x7f7a4b=typeof window>'u'?new URL(_0x9a955d):new URL(_0x9a955d,window[_0x1c36c8(0x165)][_0x1c36c8(0x328)]);_0x7f7a4b['searchParams'][_0x1c36c8(0x32f)]('sessionTicket',_0x33d66f);const _0x518007=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1c36c8(0x289)]);return _0x518007[_0x1c36c8(0xef)](_0x1c36c8(0x17b))&&_0x7f7a4b[_0x1c36c8(0x29b)][_0x1c36c8(0x32f)]('runId',_0x518007[_0x1c36c8(0xef)](_0x1c36c8(0x17b))),_0x7f7a4b[_0x1c36c8(0x2ba)]();}async[_0x41d4e7(0x30f)](){const _0x5728a5=_0x41d4e7;var _0x5018fc,_0x5c0822,_0x317d4a;const _0x5a22fd=this[_0x5728a5(0x28b)][_0x5728a5(0x27b)](_0x258ad3[_0x5728a5(0x140)]),_0x323dd3=(_0x5018fc=_0x5a22fd==null?void 0x0:_0x5a22fd[_0x5728a5(0x20a)])!=null?_0x5018fc:_0x258ad3[_0x5728a5(0xf9)];return(_0x317d4a=(_0x5c0822=(await this[_0x5728a5(0x2fa)][_0x5728a5(0xef)](_0x323dd3,{'headers':{'Content-Type':_0x5728a5(0x323)}}))[_0x5728a5(0x1cd)])==null?void 0x0:_0x5c0822[_0x5728a5(0xf8)])!=null?_0x317d4a:'';}},_0x3cd9e3['BrowserCollaborationSocketService']=_0xb40a56([_0x5467c4(0x0,_0x29d25c['Inject'](_0x29d25c[_0x41d4e7(0x2a4)])),_0x5467c4(0x1,_0x29d25c['Inject'](_0x448633[_0x41d4e7(0x221)])),_0x5467c4(0x2,_0x29d25c['IConfigService']),_0x5467c4(0x3,_0x29d25c[_0x41d4e7(0x199)]),_0x5467c4(0x4,_0x567a1f[_0x41d4e7(0xdb)])],_0x3cd9e3[_0x41d4e7(0x302)]);var _0x471710=(_0x3acb86=>(_0x3acb86[_0x3acb86[_0x41d4e7(0x33f)]=0x0]=_0x41d4e7(0x33f),_0x3acb86[_0x3acb86['OK']=0x1]='OK',_0x3acb86[_0x3acb86['INTERNAL_ERROR']=0x2]=_0x41d4e7(0x11d),_0x3acb86[_0x3acb86[_0x41d4e7(0x209)]=0x3]=_0x41d4e7(0x209),_0x3acb86[_0x3acb86[_0x41d4e7(0x36c)]=0x4]=_0x41d4e7(0x36c),_0x3acb86[_0x3acb86[_0x41d4e7(0x308)]=0x5]='UNAUTHENTICATED',_0x3acb86[_0x3acb86[_0x41d4e7(0x2c6)]=0x6]=_0x41d4e7(0x2c6),_0x3acb86[_0x3acb86[_0x41d4e7(0x2f3)]=0x7]=_0x41d4e7(0x2f3),_0x3acb86[_0x3acb86['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3acb86[_0x3acb86[_0x41d4e7(0xd1)]=0x9]=_0x41d4e7(0xd1),_0x3acb86[_0x3acb86[_0x41d4e7(0x11b)]=0xa]=_0x41d4e7(0x11b),_0x3acb86[_0x3acb86[_0x41d4e7(0x228)]=0xb]=_0x41d4e7(0x228),_0x3acb86[_0x3acb86[_0x41d4e7(0x1fc)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3acb86[_0x3acb86[_0x41d4e7(0x1e2)]=0xd]=_0x41d4e7(0x1e2),_0x3acb86[_0x3acb86[_0x41d4e7(0x176)]=0xe]=_0x41d4e7(0x176),_0x3acb86[_0x3acb86[_0x41d4e7(0xfa)]=0x1389]=_0x41d4e7(0xfa),_0x3acb86[_0x3acb86[_0x41d4e7(0x226)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3acb86[_0x3acb86[_0x41d4e7(0x222)]=0x1772]=_0x41d4e7(0x222),_0x3acb86[_0x3acb86['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x41d4e7(0xf6),_0x3acb86[_0x3acb86['APPLY_REJECT']=0x1b59]=_0x41d4e7(0x368),_0x3acb86[_0x3acb86[_0x41d4e7(0x30e)]=0x1b5a]=_0x41d4e7(0x30e),_0x3acb86[_0x3acb86[_0x41d4e7(0x161)]=0x1b5b]=_0x41d4e7(0x161),_0x3acb86[_0x3acb86[_0x41d4e7(0x24a)]=0x1b5c]=_0x41d4e7(0x24a),_0x3acb86[_0x3acb86[_0x41d4e7(0x10b)]=0x1b5d]=_0x41d4e7(0x10b),_0x3acb86[_0x3acb86[_0x41d4e7(0x1ab)]=0x1f41]=_0x41d4e7(0x1ab),_0x3acb86[_0x3acb86[_0x41d4e7(0x1a3)]=0x2329]=_0x41d4e7(0x1a3),_0x3acb86[_0x3acb86['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41d4e7(0xee),_0x3acb86[_0x3acb86[_0x41d4e7(0x25a)]=0x232b]=_0x41d4e7(0x25a),_0x3acb86[_0x3acb86[_0x41d4e7(0x1f1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3acb86[_0x3acb86[_0x41d4e7(0x241)]=0x232d]=_0x41d4e7(0x241),_0x3acb86[_0x3acb86['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41d4e7(0x2e9),_0x3acb86[_0x3acb86[_0x41d4e7(0x153)]=0x2712]=_0x41d4e7(0x153),_0x3acb86[_0x3acb86[_0x41d4e7(0xf0)]=0x2713]=_0x41d4e7(0xf0),_0x3acb86[_0x3acb86[_0x41d4e7(0x195)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3acb86[_0x3acb86['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3acb86[_0x3acb86[_0x41d4e7(0x198)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3acb86[_0x3acb86['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x41d4e7(0x1d4),_0x3acb86[_0x3acb86[_0x41d4e7(0x1fa)]=0x271d]=_0x41d4e7(0x1fa),_0x3acb86[_0x3acb86[_0x41d4e7(0x255)]=0x271e]=_0x41d4e7(0x255),_0x3acb86[_0x3acb86[_0x41d4e7(0xea)]=0x271f]=_0x41d4e7(0xea),_0x3acb86[_0x3acb86[_0x41d4e7(0x21d)]=0x2720]=_0x41d4e7(0x21d),_0x3acb86[_0x3acb86['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3acb86[_0x3acb86['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x41d4e7(0x17f),_0x3acb86[_0x3acb86['INVALID_INVITE_CODE']=0x2ee2]=_0x41d4e7(0x2c9),_0x3acb86[_0x3acb86[_0x41d4e7(0x22d)]=0x2ee3]=_0x41d4e7(0x22d),_0x3acb86[_0x3acb86['USER_NOT_INVITED_CODE']=0x2ee4]=_0x41d4e7(0x25c),_0x3acb86[_0x3acb86[_0x41d4e7(0x1e0)]=0x2ee5]=_0x41d4e7(0x1e0),_0x3acb86[_0x3acb86[_0x41d4e7(0x109)]=0x32c9]=_0x41d4e7(0x109),_0x3acb86[_0x3acb86[_0x41d4e7(0x36e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3acb86[_0x3acb86['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x41d4e7(0x1f0),_0x3acb86[_0x3acb86['UNRECOGNIZED']=-0x1]=_0x41d4e7(0xd4),_0x3acb86))(_0x471710||{}),_0x25d05b=Object[_0x41d4e7(0x21b)],_0x1987de=(_0x2a91e6,_0x32691a,_0x1b79bc,_0x3edc15)=>{for(var _0x138293=_0x3edc15>0x1?void 0x0:_0x3edc15?_0x25d05b(_0x32691a,_0x1b79bc):_0x32691a,_0x3e851c=_0x2a91e6['length']-0x1,_0x24159c;_0x3e851c>=0x0;_0x3e851c--)(_0x24159c=_0x2a91e6[_0x3e851c])&&(_0x138293=_0x24159c(_0x138293)||_0x138293);return _0x138293;},_0x3ef791=(_0x13118c,_0x34c8cc)=>(_0x1ea6e8,_0x37d40f)=>_0x34c8cc(_0x1ea6e8,_0x37d40f,_0x13118c);_0x3cd9e3['RemoteUniscriptService']=class extends _0x29d25c[_0x41d4e7(0x1cb)]{constructor(_0x1b5c47,_0x1f67dc,_0x4446e6){super(),this['_instanceService']=_0x1b5c47,this['_httpService']=_0x1f67dc,this['_configService']=_0x4446e6;}async['runOnServer'](_0x21c2d1,_0x213898,_0x22a3ee,..._0x48fe1a){const _0x1e699e=_0x41d4e7;var _0x1e24e7,_0x5ea55f,_0x25eadc,_0x6b5215;const _0x235653=this[_0x1e699e(0x1d7)][_0x1e699e(0xce)]();if(!_0x235653)throw new Error(_0x1e699e(0x10d));const _0x1db916=((_0x1e24e7=this[_0x1e699e(0x28b)][_0x1e699e(0x27b)](_0x258ad3[_0x1e699e(0x129)]))!=null?_0x1e24e7:_0x258ad3[_0x1e699e(0x2b0)])+'/'+_0x21c2d1+_0x1e699e(0x233)+_0x213898,_0x34788c=new URL(window[_0x1e699e(0x165)][_0x1e699e(0x202)]),_0x70b723={'scriptId':_0x21c2d1,'runId':(_0x5ea55f=_0x34788c[_0x1e699e(0x29b)][_0x1e699e(0xef)](_0x1e699e(0x17b)))!=null?_0x5ea55f:'','function':_0x213898,'unitId':_0x235653[_0x1e699e(0x2d4)](),'argsOfFunction':JSON[_0x1e699e(0x16f)](_0x48fe1a),'invokeId':(_0x25eadc=_0x22a3ee['invokeId'])!=null?_0x25eadc:'','executionId':(_0x6b5215=_0x22a3ee[_0x1e699e(0x361)])!=null?_0x6b5215:''};try{const _0x4a8be7=await this['_httpService'][_0x1e699e(0x2fe)](_0x1db916,{'body':_0x70b723});return _0x4a8be7[_0x1e699e(0x1cd)][_0x1e699e(0x19e)]&&_0x4a8be7['body']['error'][_0x1e699e(0x351)]!==_0x471710['OK']?_0x1e699e(0x256):_0x4a8be7[_0x1e699e(0x1cd)][_0x1e699e(0x2b2)];}catch{return _0x1e699e(0x256);}}},_0x3cd9e3[_0x41d4e7(0x23d)]=_0x1987de([_0x3ef791(0x0,_0x29d25c[_0x41d4e7(0x218)]),_0x3ef791(0x1,_0x29d25c[_0x41d4e7(0x181)](_0x448633[_0x41d4e7(0x221)])),_0x3ef791(0x2,_0x29d25c['IConfigService'])],_0x3cd9e3['RemoteUniscriptService']);const _0x480dee=0x7530,_0xfa782e=_0x41d4e7(0x101);class _0x10865a extends _0x29d25c[_0x41d4e7(0x1cb)]{constructor(){const _0x54eda5=_0x41d4e7;super(),_0x52c81f(this,_0x54eda5(0x1c0),_0x29d25c[_0x54eda5(0x171)]()),_0x52c81f(this,_0x54eda5(0x242),new Set()),_0x52c81f(this,_0x54eda5(0x18f),new Map()),_0x52c81f(this,_0x54eda5(0x17a),null),_0x52c81f(this,_0x54eda5(0x278),new Map()),_0x52c81f(this,_0x54eda5(0x1ad),new Map()),this['_init']();}['dispose'](){const _0x31cfd1=_0x41d4e7;super[_0x31cfd1(0x29c)](),this[_0x31cfd1(0x278)][_0x31cfd1(0x267)]((_0x5a815c,_0x399291)=>this[_0x31cfd1(0x13e)](_0x399291)),this['_heartbeatTimer']&&window[_0x31cfd1(0x2bb)](this[_0x31cfd1(0x17a)]);}['getUnitStatus$'](_0x584288){const _0x2484d4=_0x41d4e7;return this['_ensureSubject'](_0x584288)[_0x2484d4(0xfc)](_0x13e5fb[_0x2484d4(0x287)]());}['editingUnit'](_0x53ed6f){const _0x185ae0=_0x41d4e7;this['_selfUnitIDs'][_0x185ae0(0x23c)]===0x0&&this[_0x185ae0(0x1dc)](),this[_0x185ae0(0x242)]['add'](_0x53ed6f),this['_send']({'type':0x0,'memberID':this[_0x185ae0(0x1c0)],'unitIDs':[_0x53ed6f],'isForwarded':!0x1});}[_0x41d4e7(0x28a)](_0x274431){const _0x54f41f=_0x41d4e7;this['_selfUnitIDs']['delete'](_0x274431),this['_selfUnitIDs'][_0x54f41f(0x23c)]===0x0&&this['_heartbeatTimer']&&window[_0x54f41f(0x2bb)](this[_0x54f41f(0x17a)]);}[_0x41d4e7(0x112)](){const _0x1af19a=_0x41d4e7;this[_0x1af19a(0x2fc)](_0x29d25c['toDisposable'](_0x13e5fb[_0x1af19a(0xd8)](window,_0x1af19a(0x294))[_0x1af19a(0x262)](_0x16c27a=>{const _0x5da19a=_0x1af19a;if(_0x16c27a[_0x5da19a(0x2ab)]!==_0xfa782e||!_0x16c27a[_0x5da19a(0x1de)])return;const _0x542436=JSON[_0x5da19a(0x106)](_0x16c27a[_0x5da19a(0x1de)]);this[_0x5da19a(0x1b6)](_0x542436);}))),window[_0x1af19a(0x154)]('unload',()=>this[_0x1af19a(0x2ed)]({'type':0x1,'memberID':this[_0x1af19a(0x1c0)],'unitIDs':Array[_0x1af19a(0x179)](this[_0x1af19a(0x242)])}));}[_0x41d4e7(0x1b6)](_0x312d9e){const _0x223a42=_0x41d4e7;switch(_0x312d9e[_0x223a42(0x23e)]){case 0x0:this[_0x223a42(0x2dd)](_0x312d9e);break;case 0x1:this[_0x223a42(0x1a1)](_0x312d9e);break;case 0x2:this[_0x223a42(0x157)](_0x312d9e);break;}}[_0x41d4e7(0x2dd)](_0x2f939d){const _0x564896=_0x41d4e7,{unitIDs:_0x82195a,memberID:_0x5375ca,isForwarded:_0x494127}=_0x2f939d;_0x82195a[_0x564896(0x267)](_0x89759e=>{const _0x20da91=_0x564896;if(!_0x494127&&this['_unitOnClients'][_0x20da91(0x123)](_0x89759e)&&this['_ensureSubject'](_0x89759e)[_0x20da91(0x26c)](_0x258ad3['UnitStatus'][_0x20da91(0x1bf)]),!this[_0x20da91(0x18f)][_0x20da91(0x123)](_0x89759e)||!this[_0x20da91(0x18f)][_0x20da91(0xef)](_0x89759e)['has'](_0x5375ca)){const _0x1c0d20=this[_0x20da91(0x18f)][_0x20da91(0xef)](_0x89759e)||new Set();_0x1c0d20[_0x20da91(0xff)](_0x5375ca),this[_0x20da91(0x18f)]['set'](_0x89759e,_0x1c0d20),this[_0x20da91(0x170)](_0x5375ca);}}),_0x494127||this[_0x564896(0x2ed)]({'type':0x0,'memberID':this[_0x564896(0x1c0)],'unitIDs':[...this[_0x564896(0x242)]],'isForwarded':!0x0});}[_0x41d4e7(0x170)](_0x301d71){const _0x45357d=_0x41d4e7;this[_0x45357d(0x13e)](_0x301d71);const _0x2d1888=window[_0x45357d(0x14a)](()=>{const _0xff598=_0x45357d;this[_0xff598(0x18f)][_0xff598(0x267)](_0xcf3487=>{_0xcf3487['delete'](_0x301d71);});},_0x480dee*0x2);this[_0x45357d(0x278)][_0x45357d(0x32f)](_0x301d71,_0x2d1888);}['_removeClearOtherTimer'](_0x35bb1c){const _0x4aea1c=_0x41d4e7;if(this[_0x4aea1c(0x278)][_0x4aea1c(0x123)](_0x35bb1c)){const _0x11cd2c=this[_0x4aea1c(0x278)][_0x4aea1c(0xef)](_0x35bb1c);_0x11cd2c&&window[_0x4aea1c(0x365)](_0x11cd2c),this[_0x4aea1c(0x278)][_0x4aea1c(0x32f)](_0x35bb1c,null);}}['_handleLeaveEvent'](_0x11a26e){const _0x47b94b=_0x41d4e7,{memberID:_0x13e05f,unitIDs:_0x5a8967}=_0x11a26e;_0x5a8967[_0x47b94b(0x267)](_0x4024d9=>{const _0x41c17c=_0x47b94b;var _0x45ee28;const _0x5cb600=this[_0x41c17c(0x18f)]['get'](_0x4024d9);_0x5cb600&&(_0x5cb600[_0x41c17c(0x32e)](_0x13e05f),(_0x45ee28=this[_0x41c17c(0x258)](_0x4024d9))==null||_0x45ee28[_0x41c17c(0x26c)](_0x5cb600[_0x41c17c(0x23c)]===0x0?_0x258ad3['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x258ad3['UnitStatus'][_0x41c17c(0x1bf)]));}),this['_removeClearOtherTimer'](_0x13e05f);}[_0x41d4e7(0x157)](_0x1bdac4){const _0x5ba023=_0x41d4e7;this[_0x5ba023(0x170)](_0x1bdac4['memberID']);}[_0x41d4e7(0x2ed)](_0x542ecd){const _0x3d9192=_0x41d4e7;localStorage[_0x3d9192(0x229)](_0xfa782e,JSON[_0x3d9192(0x16f)](_0x542ecd));}[_0x41d4e7(0x1dc)](){const _0x9db7e2=_0x41d4e7;this[_0x9db7e2(0x17a)]=window[_0x9db7e2(0x235)](()=>{const _0x3b9993=_0x9db7e2;this[_0x3b9993(0x2ed)]({'type':0x2,'memberID':this[_0x3b9993(0x1c0)]});},_0x480dee);}['_ensureSubject'](_0x1e8a06){const _0x43fea9=_0x41d4e7;return this[_0x43fea9(0x1ad)][_0x43fea9(0x123)](_0x1e8a06)||this['_unitStatus'][_0x43fea9(0x32f)](_0x1e8a06,new _0x13e5fb[(_0x43fea9(0x359))](_0x258ad3[_0x43fea9(0x27a)][_0x43fea9(0x180)])),this[_0x43fea9(0x1ad)][_0x43fea9(0xef)](_0x1e8a06);}}_0x3cd9e3[_0x41d4e7(0x2d5)]=_0x44fd1c,_0x3cd9e3[_0x41d4e7(0xde)]=_0x1bbecd,_0x3cd9e3[_0x41d4e7(0xf3)]=_0x10865a,_0x3cd9e3[_0x41d4e7(0x28c)]=_0x2bb77c,Object[_0x41d4e7(0x353)](_0x3cd9e3,Symbol[_0x41d4e7(0xf5)],{'value':_0x41d4e7(0xeb)});}));function _0x22d0(){const _0x260b18=['clearInterval','toRgbString','getLocalCacheKey','_initCommandExecutedListener','_eventUnsubscribe','_memberService','getAncestorScale','_collabCursorState$','_transformUndoRedoStack','find','Shape','ALREADY_EXISTS','getUniverSheetInstance','_onCursorDelete','INVALID_INVITE_CODE','_transformPreviousActiveRange','_getSaveTimeout','textRanges','show','_document','2414034BLSbKm','getCoordByCell','width','off-line-icon_clip0_910_343','AWAITING_WITH_PENDING','getUnitId','IURLService','addClipboardHook','transform','restore','CollaborationStatus','activeSheet$','registerBeforeClose','createInstance','_handleJoinEvent','mask','_saveTaskMap','OffLineIcon','_startDocCollabCursor','takeUntil','Optional','xlink:href','RegularPolygon','assignAColorForMemberID','CollaborationDataLoaderController','_initEvent','YUUMI_UNABLE_LOAD_URL','SHEET_VIEWPORT_KEY','_hover','roomMembers$','_send','CollaborationController','@univerjs/drawing','random','IConfigService','fillStyle','INVALID_ARGUMENT','_initEntityListener','_syncEditingCollabCursorService','SetSelectionsOperation','combineLatest','DeleteRangeMoveLeftCommandId','TEXT','_httpService','deserializeRangeWithSheet','disposeWithMe','React','post','Vector2','_updateCollabCursors','complete','BrowserCollaborationSocketService','cursorInfo$','then','0\x200\x2016\x2016','OnLineIcon','text','UNAUTHENTICATED','ICommandService','startColumn','_revisionService','symbol','MessageType','APPLY_NON_SEQUENTIAL_REVISION','_getSessionTicket','DesktopCollaborationStatusDisplayController','isActive','_anchor','focused$','SetTextSelectionsOperation','_updateLocalCursor','_toggleOffline','LOCAL_CACHE_INTERVAL','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.connection-failed','unsubscribe','off-line-icon','addObjects','asObservable','sheetID','extend','_hideTimer','UniverNetwork','setAlpha','application/json','NOT_COLLAB','assign','fillText','DocIMEInputManagerService','origin','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/sheets-ui','getTypeOfUnitAdded$','svg','fill','delete','set','RECT','on-line-icon','findNodePositionByCharIndex','_docStateChangeManagerService','merge','_commandService','startsWith','_uiPartsService','doc.mutation.rich-text-editing','round','name','url(#$1','SetDocZoomRatioOperation','pushState','_notificationService','UNDEFINED','registerRenderModule','use','Rectangle','handleDeleteRangeMoveUp','handleMoveRange','blue.400','getMember','_collabSessionService','getParam','UniverIcon','getCollabEntity$','_shapes','override','unshift','getStateCache','rxjs','save','code','UNIVER_SHEET','defineProperty','UniverDesign','_transformHistoryAndStateStack','object','saveTaskMap','measureText','BehaviorSubject','_removeCollabCursors','1233240maTjxm','BuiltInUIPart','_initStatusComponent','Unknown\x20user','concat','DependentOn','executionId','apply','reconnect','jiqing.500','clearTimeout','CollaborationSocketService','OFFLINE','APPLY_REJECT','onCommandExecuted','_univerInstanceService','_initDependencies','NOT_FOUND','_status$','MOBILE_HAS_BEEN_BOUND','RemoveColCommandId','getFocusedUnit','getActiveRange','_collaborationUIEventService','COMPLETION_FINISHED','redoState','bottom','UNRECOGNIZED','popstate','getColor','registerDependencies','fromEvent','some','drawWith','ISnapshotServerService','_localeService','_drawTextRange','SheetCollabCursorShape','createElement','_cursors','LocaleService','purple.300','ITransformService','uni.network.url-service','push','UniverDrawing','string','rxjs/operators','ONLINE','YUUMI_AI_RUN_FAILED','Module','_setupSubUnitSync','useDependency','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','get','YUUMI_RATE_OVER_LIMIT','Warning','handleInsertCol','WebBrowserSingleActiveUnitService','isArray','toStringTag','ENSURE_SNAPSHOT_EXECUTION','EffectRefRangId','ticket','DEFAULT_WS_SESSION_TICKET_URL','CHANGESET_REVISION_CONFILICT','prototype','pipe','Subject','handleInsertRangeMoveRight','add','_toggleOnline','ACTIVE_UNIT_EVENT_CHANNEL','defIds','values','registerComponent','send','parse','collab-rect-range-','colorChannel1','WECHAT_HAS_BEEN_BOUND','url(#on-line-icon_clip0_910_349)','APPLY_DUPLICATED','subunit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','operators','entityInit$','saveOfflineData','isTransformMutationsWithChangesetSuccess','_init','_refreshCollabCursors','dispose$','unitID','imageSourceType','selections','_lastPointer','_scene','_getAnchorBounding','LOGIN_FAILED','@univerjs/core','INTERNAL_ERROR','ThemeService','transformMutationsWithChangeset','defs','FETCH_MISS','1em','has','getValue','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docSkeletonManagerService','_draw','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','cursorInfo','collaboration.closeRoom','handleDeleteRangeMoveLeft','currentTheme$','getUndoRedoMutationParamsCache','JOIN_ROOM_FAILED','setConfig','current','undoState','getCurrentRevOfUnit','disableLocalCache','UNIVER_DOC','1442fNGtis','beginPath','@univerjs-pro/collaboration','amd','_cachedData','_disabled','_themeService','SUBMIT_CHANGESET_TIMEOUT','_removeClearOtherTimer','ILocalStorageService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transformSelections','status$','CollaborationSessionService','_colorIndex','_transformService','mutations','roomMembers','DocStateChangeManagerService','collabStatus.offline','setTimeout','SessionStatus','onPointerLeave$','whenReady','M0\x200H16V16H0z','attrs','#FFF','saveImage','syncEditingCollabCursor','YUUMI_URL_COL_OUT_OF_RANGE','addEventListener','unitId','call','_handleHeartbeatEvent','_docSyncEditingCollabCursorService','debug','init','_createSocketURL','touchDependencies','currentColor','sessionStatus$','isTransformMutationFailure','@univerjs-pro/collaboration-client','APPLY_REVISION_CONFILICT','CollaborationEvent','jsx','VIEW_MAIN','location','_renderManagerService','getCurrentSelections','_refRangeService','_anchorDot','_docTransformIMECacheService','transformMutation','white','makeDirty','_saveCache','stringify','_scheduleClearOtherTimer','generateRandomId','urlChange$','TEXT_RANGE_LAYER_INDEX','_cursor','getRenderById','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCellPositionByOffset','getOwnPropertySymbols','from','_heartbeatTimer','runId','collab-client.tooltip.reconnect','getTypeOfUnitDisposed$','_localStorageService','INVITE_CODE_HAS_BEEN_UES','NO_OTHER_CLIENTS_EDITING','Inject','DocSelectionManagerService','@univerjs/docs-ui','MemberService','ranges','getMemberID','subUnitId','_getScale','rgba(255,\x20255,\x20255,\x200.01)','replace','2546406ZoMLjA','getSkeleton','split','IRenderManagerService','_unitOnClients','params','top','debounceTime','_roomMembers$','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverSheetsUi','YUUMI_ASYNCIO_CANCELLED','ILogService','onMouseMove','min','data','map','error','onStarting','_cursorInfo$','_handleLeaveEvent','m2Prime','LICENSE_MAX_UNITS_EXCEEDED','_beforeCloseService','transformStateCache','WebSocketService','_handleHover','getRelativeToViewportCoord','div','_startSheetCollabCursor','CONNECTOR_DATA_TOO_LARGE','createIdentifier','_unitStatus','_onCursorUpdate','_drawRectRange','_collabCursorController','hasOwnProperty','Tools','react','sheetId','getRangePointData','_handleEvent','with','engine','onPointerEnter$','forwardRef','_cursorShapes','subscribeEvent','Rect','collaboration-client.offline-data-not-saved','OTHER_CLIENTS_EDITING','_id','Error','tag','_colorAssignService','_registerDependencies','_color','_updateURLWithCurrentState','replaceState','RxDisposable','children','_sheetSkeletonManagerService','Disposable','enableLocalCache','body','_docTransformSelectionsService','MUTATION','_getMergeRange','_drawAnchor','IRemoteInstanceService','event$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/rpc','transformIMECache','_instanceService','permission.title','UniverCollaborationClientUIPlugin','column','SetWorksheetActivateCommand','_scheduleHeartbeat','setParam','newValue','trim','INVITE_CODE_ALREADY_BOUND','UniverInstanceType','EMAIL_VERIFY_CODE_MISMATCH','backgroundColor','UniverProCollaborationClientUi','yellow.400','getCurrent','getSheetBySheetId','mapTo','color','ISocketService','InsertRangeMoveRightCommandId','CLOSE_ROOM','_online','getUnhiddenWorksheets','currentSkeleton$','EMAIL_HAS_BEEN_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','shareReplay','includes','_docTransformStateCacheService','endColumn','IUIPartsService','setActiveRange','all','switchMap','YUUMI_ALL_TABLES_IS_INVALID','green.600','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_labelPosition','debounce','removeParam','startRow','@univerjs/docs','href','_docClipboardService','ILocalCacheService','requireSession','useObservable','getCollabCursors$','UniverCore','PERMISSION_DENIED','wsSessionTicketUrl','useRef','filter','InsertRowCommandId','IImageIoService','session.collaboration-timeout','_setupBeforeClosingHandler','react/jsx-runtime','loadOfflineData','_textBubble','@univerjs/engine-formula','handleIRemoveCol','CollaborationUIEventId','_localCacheService','IUniverInstanceService','onLocalMutation','mergeOverrideWithDependencies','getOwnPropertyDescriptor','row','YUUMI_CONNECTOR_URL_NOT_FOUND','useCallback','_onRefRangeChange','DeleteRangeMoveUpCommandId','HTTPService','SNAPSHOT_HAS_BEEN_REMOVED','hovered','_range','HEADER_MENU','SNAPSHOT_INVALID_SNAPSHOT','displayName','MOBILE_VERIFY_CODE_MISMATCH','setItem','1033456XQWyHh','history','_imageIoService','INVITE_CODE_REQUIRED','InsertColCommandId','exhaustSavingTask','handleInsertRow','black','clipPath','/run/','UniverSheets','setInterval','RichTextEditingMutation','_context','getVpScrollXYInfoByPosToVp','height','moveTo','...','size','RemoteUniscriptService','type','COLORS','http://www.w3.org/2000/svg','LICENSE_DISTRO_REJECTED','_selfUnitIDs','_scheduleSaving','univerjs-icon\x20univerjs-icon-','_config','skeleton','_messageService','_logService','_registerRenderDependencies','APPLY_PERMISSION_DENIED','CommandType','LOCAL_CACHE_INTERVAL_KEY','getOffsetConfig','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverUi','resize','UniverDocs','DocCollaborationEntity','CollaborationUIEventService','RevisionService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Failed','24QOcJdl','_ensureSubject','_render','LICENSE_IMPORT_SIZE_EXCEEDED','_updateSubUnitFromURLParams','USER_NOT_INVITED_CODE','Plugin','DOC_RANGE_TYPE','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','indexOf','addObject','subscribe','lineTo','@univerjs/engine-render','fillRule','icon','forEach','getSheetId','_hovered','_injector','closePath','next','getDocRanges','collabStatus.conflict','_dataLoaderService','collabCursorState$','createSocket','getViewport','CONFLICT','_collaborationController','clsx','function','substring','_clearOtherTimers','deepClone','UnitStatus','getConfig','registerRefRange','selection','_entityInit$','SOCKET_FAILED','path','_name','length','getCurrentUnitForType','_entities','getColorFromTheme','className','distinctUntilChanged','214677zvxLYw','search','disposeUnit','_configService','WebURLService','getActiveSheet','exports','setShapeProps','onTransformChange$','PENDING','evenodd','USERS_LEAVE','storage','transformRemoteChangeset','_session','801495vHXuhL','hide','InsertRangeMoveDownCommandId','IDocClipboardService','searchParams','dispose','actions','DisposableCollection','flatMap','_initStatusListener','idSuffix','_backgroundColor','SOCKET_FAILED_RETRY','Injector','collabStatus.syncing','@univerjs/design','_assignedColors','@univerjs/ui','3984ZGJIFs','_initResize','key','runRefRangeMutations','IMessageService','arc','m1Prime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UPDATE_CURSOR','result','fromEventSubject','ColorKit','UniverRpc','_urlService','isEditing','univer-flex\x20univer-items-center','RefRangeService','toString'];_0x22d0=function(){return _0x260b18;};return _0x22d0();}
|
|
1
|
+
function _0x1235(){const _0x29b294=['getMember','INTERNAL_ERROR','handleInsertCol','_uiPartsService','transformRemoteChangeset','ticket','currentSkeleton$','colorChannel1','ILogService','apply','redoState','disposeWithMe','_shapes','icon','ENSURE_SNAPSHOT_EXECUTION','tag','getViewport','_unitStatus','_labelPosition','transformSelections','UNDEFINED','_beforeCloseService','_hideTimer','ranges','blue.400','cursorInfo$','asObservable','onPointerEnter$','addEventListener','arc','handleDeleteRangeMoveUp','@univerjs/docs','reconnect','UNIVER_SHEET','UniverDesign','error','UPDATE_CURSOR','onMouseMove','SNAPSHOT_INVALID_SNAPSHOT','_memberService','onPointerLeave$','defs','_transformHistoryAndStateStack','red.300','popstate','_themeService','_cursorInfo$','_ensureSubject','replaceDocRanges','black','_initStatusComponent','TOO_MANY_REQUESTS','ALREADY_EXISTS','_collabCursorState$','updateOfflineData','onStarting','collaboration.closeRoom','_entities','_messageService','saveTaskMap','entries','BrowserCollaborationSocketService','show','Rect','addObjects','rgba(255,\x20255,\x20255,\x200.01)','InsertRangeMoveDownCommandId','_httpService','_refRangeService','generateRandomId','WECHAT_HAS_BEEN_BOUND','_session','_collaborationController','urlChange$','actions','_updateURLWithCurrentState','endRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','dispose','string','transformStateCache','undoState','merge','startColumn','call','UniverRpc','createInstance','getItem','displayName','roomMembers','PERMISSION_DENIED','fillRule','useDependency','docStateChange$','react','loadOfflineData','getUndoRedoMutationParamsCache','UNRECOGNIZED','connectInjector','Tools','beginPath','pipe','EffectRefRangId','_init','setActiveRange','exports','_refreshCollabCursors','UniverIcon','LOCAL_CACHE_INTERVAL_KEY','SetSelectionsOperation','resize','subunit','currentColor','children','_scene','createElement','UniverInstanceType','from','className','TRANSFORM_CHANGE_OBSERVABLE_TYPE','drawWith','svg','getDocRanges','_localCacheService','findNodePositionByCharIndex','textRanges','_drawTextRange','use','MessageType','IRenderManagerService','jsxs','3520779iGwRhg','clsx','univer-flex\x20univer-items-center','SheetsSelectionsService','runRefRangeMutations','getActiveSheet','NodePositionConvertToRectRange','unshift','collaboration-client-ui.config','origin','clearInterval','isArray','UniverSheetsUi','WebSocketService','LICENSE_DISTRO_REJECTED','getOffsetConfig','_setupBeforeClosingHandler','@univerjs-pro/collaboration','USERS_LEAVE','_getAnchorBounding','function','...','_initDependencies','pushState','[CollaborationDataLoaderController]','_selfUnitIDs','CollaborationUIEventId','APPLY_NON_SEQUENTIAL_REVISION','name','IUIPartsService','ICommandService','path','_cursors','EMAIL_VERIFY_CODE_MISMATCH','RichTextEditingMutation','RECT','IBeforeCloseService','flatMap','_online','RemoteUniscriptService','DocIMEInputManagerService','measureText','@univerjs-pro/collaboration-client','object','SetDocZoomRatioOperation','COMPLETION_FINISHED','UNIVER_DOC','getActiveRange','8KMsXOS','@univerjs/core','_backgroundColor','enableLocalCache','UniverEngineFormula','setParam','debug','ITransformService','result','currentTheme$','CONFLICT','http://www.w3.org/2000/svg','1em','startsWith','UniverProCollaborationClientUi','jiqing.500','_drawRectRange','unsubscribe','getCurrentSelections','replace','runOnServer','_docSkeletonManagerService','toDisposable','event$','skeleton','unitID','split','none','UniverNetwork','wsSessionTicketUrl','IUniverInstanceService','hasOwnProperty','requireSession','sessionStatus$','_entityInit$','_getMergeRange','_docSyncEditingCollabCursorService','RegularPolygon','_imageIoService','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REVISION_CONFILICT','onRendered','current','getCoordByCell','on-line-icon_clip0_910_349','_handleEvent','off-line-icon','fillText','debounce','transform','transformByState','post','source','getConfig','_startDocCollabCursor','m1Prime','Plugin','addHandlerCallback','mutations','backgroundColor','Inject','_anchorDot','788928gDdJrv','doc.mutation.rich-text-editing','NodePositionConvertToCursor','getStateCache','collabStatus.offline','_docTransformSelectionsService','_logService','HEADER_MENU','React','_registerRenderDependencies','_disabled','@univerjs/network','getCurrentUnitForType','RefRangeService','_colorIndex','substring','DeleteRangeMoveUpCommandId','newValue','transformMutationsWithChangeset','replaceState','_updateSubUnitFromURLParams','useRef','_send','FETCH_MISS','1851111AUdBFz','off-line-icon_clip0_910_343','onCommandExecuted','_initCommandExecutedListener','_colorAssignService','2rlfEar','unit','_anchor','labelPosition','SOCKET_FAILED','exhaustSavingTask','_univerInstanceService','with','YUUMI_RATE_OVER_LIMIT','_lastPointer','fillStyle','getParam','handleIRemoveRow','_updateLocalCursor','roomMembers$','getSheetId','focused$','INVALID_ARGUMENT','saveImage','_collabCursorController','_notificationService','_roomMembers$','add','searchParams','unload','4900400AFKpXY','application/json','Module','getUnhiddenWorksheets','_scheduleSaving','registerBeforeClose','getRenderById','CollaborationSessionService','assign','size','_render','_instanceService','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','takeUntil','_getSessionTicket','session.collaboration-timeout','debounceTime','_updateCollabCursors','sheetID','PENDING','defineProperty','getValue','Shape','getRangePointData','values','0\x200\x2017\x2016','RemoveColCommandId','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL','_color','createSocket','location','_dataLoaderService','SheetCollabCursorShape','makeDirty','_status$','hide','_range','_textBubble','APPLY_DUPLICATED','@univerjs/engine-formula','_hover','SheetSkeletonManagerService','whenReady','handleDeleteRangeMoveLeft','LICENSE_MAX_UNITS_EXCEEDED','IConfigService','SessionStatus','_onCursorUpdate','AWAITING_WITH_PENDING','length','ColorKit','_revisionService','UniverEngineRender','range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','m2Prime','startRow','href','INVITE_CODE_ALREADY_BOUND','RxDisposable','forwardRef','setAlpha','transformMutation','1132VMWyVS','DisposableCollection','NOT_COLLAB','SetTextSelectionsOperation','registerComponent','loadUnit','save','SOCKET_FAILED_RETRY','_toggleOnline','fromEventSubject','min','prototype','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DeleteRangeMoveLeftCommandId','getSheetBySheetId','12965xuzhRR','setConfig','UniverCollaborationClientPlugin','concat','ONLINE','mergeOverrideWithDependencies','MOBILE_HAS_BEEN_BOUND','CollaborationStatus','Error','CommandType','_handleJoinEvent','_clearOtherTimers','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getCollabEntity$','_injector','_initStatusListener','dispose$','getMemberID','INVITE_CODE_REQUIRED','eventID','@univerjs/rpc','clearTimeout','OnLineIcon','UniverProCollaboration','_sheetSkeletonManagerService','color','fill','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveDown','collaboration.single-unit.warning','getColor','hovered','ThemeService','_removeCollabCursors','disableLocalCache','5734044vnxdBW','delete','stringify','_scheduleClearOtherTimer','_context','_docStateChangeManagerService','getUniverSheetInstance','search','_urlService','CollaborationUIEventService','_localStorageService','MOBILE_VERIFY_CODE_MISMATCH','override','CollaborationEvent','TEXT','_assignedColors','collab-text-anchor-','symbol','@univerjs/engine-render','width','mask','executeCommand','removeParam','_id','TEXT_RANGE_LAYER_INDEX','_docSkeleton','_transformService','clipPath','trim','session.will-retry','SYNCED','INVITE_CODE_HAS_BEEN_UES','BuiltInUIPart','APPLY_PERMISSION_DENIED','@univerjs/sheets','includes','switchMap','_docTransformIMECacheService','IRemoteInstanceService','getColorFromTheme','throttleTime','text','forEach','fromEvent','invokeId','Disposable','lineTo','div','RemoveRowCommandId','round','_unitOnClients','collabCursorState$','YUUMI_NO_CUBOID_FOR_QUESTION','_initEvent','YUUMI_AI_RUN_FAILED','COLORS','indexOf','permission.title','LICENSE_IMPORT_SIZE_EXCEEDED','propertyIsEnumerable','distinctUntilChanged','sheetId','syncEditingCollabCursor','UNAUTHENTICATED','collaboration-client.offline-data-not-saved','Rectangle','CONNECTOR_DATA_TOO_LARGE','restore','VIEW_MAIN','M0\x200H16V16H0z','HTTPService','_transformPreviousActiveRange','_handleHover','idSuffix','url(#$1','params','_cursorShapes','init','_syncEditingCollabCursorService','_transformUndoRedoStack','evenodd','OffLineIcon','onPointerMove$','getVpScrollXYInfoByPosToVp','isActive','YUUMI_CONNECTOR_URL_NOT_FOUND','_eventUnsubscribe','assignAColorForMemberID','CollaborationController','_heartbeatTimer','LocaleService','setShapeProps','MUTATION','IMessageService','_cursor','_onCursorDelete','Warning','getTypeOfUnitDisposed$','isTransformMutationsWithChangesetSuccess','_startSheetCollabCursor','LOGIN_FAILED','map','data','@univerjs/ui','_toggleOffline','InsertRangeMoveRightCommandId','_name','toStringTag','UniverSheets','_commandService','UniverCollaborationClientUIPlugin','closePath','DataLoaderService','SetWorksheetActivateCommand','setTimeout','collabStatus.notCollab','_cachedData','combineLatest','MemberService','height','SNAPSHOT_HAS_BEEN_REMOVED','next','translate(.97)','ISnapshotServerService','getCurrentRevOfUnit','disposeUnit','CLOSE_ROOM','serializeRangeWithSheet','key','_scheduleHeartbeat','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REJECT','then','getOwnPropertyDescriptor','defIds','DesktopCollaborationStatusDisplayController','Unknown\x20user','EMAIL_HAS_BEEN_BOUND','OFFLINE','getSkeleton','operators','selection','InsertRowCommandId','on-line-icon','setStateCache','handleInsertRangeMoveRight','registerRefRange','collab-rect-range-','SHEET_VIEWPORT_KEY','YUUMI_ALL_TABLES_IS_INVALID','row','_saveCache','contains','attrs','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','pluginName','push','IURLService','subscribe','filter','_initEntityListener','USER_NOT_INVITED_CODE','handleIRemoveCol','CollaborationSocketService','runId','handleInsertRow','isEditing','_hovered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribeEvent','_collaborationUIEventService','_configService','/run/','getUnitId','jsx','_handleLeaveEvent','deepClone','send','body','has','unitId','getRelativeToViewportCoord','setUndoRedoMutationParamsCache','Failed','cursorInfo','session.connection-failed','CollaborationDataLoaderController','collabStatus.syncing','BehaviorSubject','green.600','top','all','getCurrent','Tooltip','set','_collabSessionService','extend','YUUMI_ASYNCIO_CANCELLED','setItem','FromArray','OTHER_CLIENTS_EDITING','DocStateChangeManagerService','_getSheetObject','_onRefRangeChange','rxjs','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_SUBSCRIPTION_NOT_FOUND','xlink:href','onLocalMutation','UniverDrawing','INVALID_INVITE_CODE','_renderManagerService','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','bottom','getCollabCursors$','#FFF','addObject','AWAITING','getFocusedUnit','_getSaveTimeout','1266306JzYOIg','touchDependencies','Injector','@univerjs/sheets-ui','isTransformMutationFailure','_removeClearOtherTimer','column','getSheetObject','UniverProCollaborationClient','YUUMI_TABLE_NOT_FOUND_IN_UNIT','type','getUnitStatus$','subUnitId','_registerDependencies','toString','url(#on-line-icon_clip0_910_349)','_drawAnchor','CHANGESET_REVISION_CONFILICT','UnitStatus','white','_draw','_saveTaskMap','getTypeOfUnitAdded$','permission.content','DocSkeletonManagerService','storage','_setupSubUnitSync','getLocalCacheKey','useCallback','get','LICENSE_EXPORT_SIZE_EXCEEDED','DOC_RANGE_TYPE','_localeService','purple.300','history','_config','shareReplay','collabStatus.synced','transformIMECache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getScale','PY_RUNTIME_SCRIPT_ERROR'];_0x1235=function(){return _0x29b294;};return _0x1235();}function _0x1d10(_0x2147b7,_0x56e149){const _0x12353a=_0x1235();return _0x1d10=function(_0x1d1008,_0x4711bb){_0x1d1008=_0x1d1008-0xb5;let _0x933041=_0x12353a[_0x1d1008];return _0x933041;},_0x1d10(_0x2147b7,_0x56e149);}(function(_0x5e4610,_0x2d1406){const _0x2eb016=_0x1d10,_0x1602dc=_0x5e4610();while(!![]){try{const _0x1760b7=-parseInt(_0x2eb016(0x126))/0x1*(parseInt(_0x2eb016(0x292))/0x2)+parseInt(_0x2eb016(0x33f))/0x3+-parseInt(_0x2eb016(0x181))/0x4*(-parseInt(_0x2eb016(0x190))/0x5)+parseInt(_0x2eb016(0x1b4))/0x6+-parseInt(_0x2eb016(0x109))/0x7+-parseInt(_0x2eb016(0xca))/0x8*(parseInt(_0x2eb016(0x121))/0x9)+-parseInt(_0x2eb016(0x13f))/0xa;if(_0x1760b7===_0x2d1406)break;else _0x1602dc['push'](_0x1602dc['shift']());}catch(_0x193ec4){_0x1602dc['push'](_0x1602dc['shift']());}}}(_0x1235,0xc0785),function(_0x32f92f,_0x418ceb){const _0x567452=_0x1d10;typeof exports==_0x567452(0xc5)&&typeof module<'u'?_0x418ceb(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==_0x567452(0x353)&&define['amd']?define([_0x567452(0x325),'react/jsx-runtime',_0x567452(0xc4),_0x567452(0xcb),_0x567452(0x21b),_0x567452(0x281),'@univerjs/design',_0x567452(0x31a),_0x567452(0x1a5),_0x567452(0x1d6),_0x567452(0x1c6),_0x567452(0x114),_0x567452(0xf1),'@univerjs/drawing',_0x567452(0x350),_0x567452(0x2db),_0x567452(0x167),'rxjs/operators',_0x567452(0x295)],_0x418ceb):(_0x32f92f=typeof globalThis<'u'?globalThis:_0x32f92f||self,_0x418ceb(_0x32f92f[_0x567452(0xd8)]={},_0x32f92f['React'],_0x32f92f[_0x567452(0x29a)],_0x32f92f['UniverCore'],_0x32f92f['UniverUi'],_0x32f92f[_0x567452(0x281)],_0x32f92f[_0x567452(0x2de)],_0x32f92f[_0x567452(0x111)],_0x32f92f[_0x567452(0x311)],_0x32f92f[_0x567452(0x220)],_0x32f92f[_0x567452(0x174)],_0x32f92f[_0x567452(0xe6)],_0x32f92f['UniverDocsUi'],_0x32f92f[_0x567452(0x286)],_0x32f92f[_0x567452(0x1a8)],_0x32f92f['UniverDocs'],_0x32f92f[_0x567452(0xce)],_0x32f92f[_0x567452(0x281)][_0x567452(0x240)],_0x32f92f[_0x567452(0x34b)]));}(this,function(_0x4853c8,_0x5beb6b,_0x250f51,_0x31c42f,_0x603ca7,_0x19f1b5,_0x4612e3,_0x1beb2f,_0x337fcc,_0x56db06,_0x1f1202,_0x294bf6,_0x5e24e0,_0xa7fa11,_0x180e29,_0x3f505f,_0x3cb4df,_0x456c9e,_0x5432d7){'use strict';const _0x5a505c=_0x1d10;var _0x3e952b=Object[_0x5a505c(0x153)],_0x3db9ed=(_0x1a45b6,_0x23e5eb,_0x23b496)=>_0x23e5eb in _0x1a45b6?_0x3e952b(_0x1a45b6,_0x23e5eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b496}):_0x1a45b6[_0x23e5eb]=_0x23b496,_0x5c9071=(_0x5a2d75,_0x222c44,_0x3c429e)=>_0x3db9ed(_0x5a2d75,typeof _0x222c44!=_0x5a505c(0x1c5)?_0x222c44+'':_0x222c44,_0x3c429e),_0x418fff=function(){const _0x3f53bf=_0x5a505c;return _0x418fff=Object[_0x3f53bf(0x147)]||function(_0xe7122e){const _0x19f106=_0x3f53bf;for(var _0x183252,_0x7a9aa7=0x1,_0x4f214b=arguments[_0x19f106(0x171)];_0x7a9aa7<_0x4f214b;_0x7a9aa7++){_0x183252=arguments[_0x7a9aa7];for(var _0xc18be2 in _0x183252)Object[_0x19f106(0x18c)][_0x19f106(0xe9)][_0x19f106(0x310)](_0x183252,_0xc18be2)&&(_0xe7122e[_0xc18be2]=_0x183252[_0xc18be2]);}return _0xe7122e;},_0x418fff[_0x3f53bf(0x2c5)](this,arguments);},_0x413fef=function(_0x16bcd4,_0x1d7e7d){const _0x51ebac=_0x5a505c;var _0x36853f={};for(var _0x1451e3 in _0x16bcd4)Object['prototype'][_0x51ebac(0xe9)]['call'](_0x16bcd4,_0x1451e3)&&_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3)<0x0&&(_0x36853f[_0x1451e3]=_0x16bcd4[_0x1451e3]);if(_0x16bcd4!=null&&typeof Object['getOwnPropertySymbols']==_0x51ebac(0x353)){for(var _0x3b01f0=0x0,_0x1451e3=Object['getOwnPropertySymbols'](_0x16bcd4);_0x3b01f0<_0x1451e3[_0x51ebac(0x171)];_0x3b01f0++)_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3[_0x3b01f0])<0x0&&Object[_0x51ebac(0x18c)][_0x51ebac(0x1ef)][_0x51ebac(0x310)](_0x16bcd4,_0x1451e3[_0x3b01f0])&&(_0x36853f[_0x1451e3[_0x3b01f0]]=_0x16bcd4[_0x1451e3[_0x3b01f0]]);}return _0x36853f;},_0x5b8ef9=_0x1beb2f['forwardRef'](function(_0x431bc2,_0x3ef17d){const _0x42235d=_0x5a505c;var _0x2b86dd=_0x431bc2['icon'],_0x17f815=_0x431bc2['id'],_0xcf57bc=_0x431bc2[_0x42235d(0x332)],_0x54eab7=_0x431bc2[_0x42235d(0x279)],_0x1021bc=_0x413fef(_0x431bc2,[_0x42235d(0x2c9),'id',_0x42235d(0x332),_0x42235d(0x279)]),_0x1b6323='univerjs-icon\x20univerjs-icon-'[_0x42235d(0x193)](_0x17f815,'\x20')['concat'](_0xcf57bc||'')[_0x42235d(0x1d0)](),_0x3918da=_0x1beb2f[_0x42235d(0x11e)]('_'[_0x42235d(0x193)](_0x45e795()));return _0x4cdb86(_0x2b86dd,''[_0x42235d(0x193)](_0x17f815),{'defIds':_0x2b86dd[_0x42235d(0x23a)],'idSuffix':_0x3918da[_0x42235d(0xf5)]},_0x418fff({'ref':_0x3ef17d,'className':_0x1b6323},_0x1021bc),_0x54eab7);});function _0x4cdb86(_0x25c939,_0x26585d,_0x2731d7,_0x3b0db3,_0x2f814b){const _0x1e40b7=_0x5a505c;return _0x1beb2f[_0x1e40b7(0x32f)](_0x25c939['tag'],_0x418fff(_0x418fff({'key':_0x26585d},_0x44ed48(_0x25c939,_0x2731d7,_0x2f814b)),_0x3b0db3),(_0x384a90(_0x25c939,_0x2731d7)[_0x1e40b7(0x32d)]||[])['map'](function(_0x377c4b,_0x1f8120){const _0x1c29e7=_0x1e40b7;return _0x4cdb86(_0x377c4b,''[_0x1c29e7(0x193)](_0x26585d,'-')[_0x1c29e7(0x193)](_0x25c939[_0x1c29e7(0x2cb)],'-')['concat'](_0x1f8120),_0x2731d7,void 0x0,_0x2f814b);}));}function _0x44ed48(_0x120f43,_0x1521ce,_0x56a906){const _0x41d5cc=_0x5a505c;var _0x42f115=_0x418fff({},_0x120f43[_0x41d5cc(0x24d)]);_0x56a906!=null&&_0x56a906[_0x41d5cc(0x2c3)]&&_0x42f115[_0x41d5cc(0x1ab)]===_0x41d5cc(0x2c3)&&(_0x42f115[_0x41d5cc(0x1ab)]=_0x56a906[_0x41d5cc(0x2c3)]),_0x120f43[_0x41d5cc(0x2cb)]===_0x41d5cc(0x1c8)&&_0x42f115['id']&&(_0x42f115['id']=_0x42f115['id']+_0x1521ce[_0x41d5cc(0x1fd)]),Object[_0x41d5cc(0x2f8)](_0x42f115)[_0x41d5cc(0x1de)](function(_0x90ce17){const _0x5f12eb=_0x41d5cc;var _0x2832e6=_0x90ce17[0x0],_0x13f7dd=_0x90ce17[0x1];_0x2832e6==='mask'&&typeof _0x13f7dd=='string'&&(_0x42f115[_0x2832e6]=_0x13f7dd['replace'](/url\(#(.*)\)/,_0x5f12eb(0x1fe)[_0x5f12eb(0x193)](_0x1521ce[_0x5f12eb(0x1fd)],')')));});var _0x3ddb3e=_0x1521ce[_0x41d5cc(0x23a)];return!_0x3ddb3e||_0x3ddb3e['length']===0x0||(_0x120f43['tag']===_0x41d5cc(0x33b)&&_0x42f115[_0x41d5cc(0x284)]&&(_0x42f115['xlink:href']=_0x42f115[_0x41d5cc(0x284)]+_0x1521ce[_0x41d5cc(0x1fd)]),Object['entries'](_0x42f115)[_0x41d5cc(0x1de)](function(_0xd936e8){const _0x22c851=_0x41d5cc;var _0x3f61ca=_0xd936e8[0x0],_0x1ea4ae=_0xd936e8[0x1];typeof _0x1ea4ae=='string'&&(_0x42f115[_0x3f61ca]=_0x1ea4ae[_0x22c851(0xdd)](/url\(#(.*)\)/,_0x22c851(0x1fe)[_0x22c851(0x193)](_0x1521ce[_0x22c851(0x1fd)],')')));})),_0x42f115;}function _0x384a90(_0x5b962a,_0xc1a740){const _0x512a22=_0x5a505c;var _0x2fbc3b,_0x1b33f0=_0xc1a740[_0x512a22(0x23a)];return!_0x1b33f0||_0x1b33f0[_0x512a22(0x171)]===0x0?_0x5b962a:_0x5b962a[_0x512a22(0x2cb)]===_0x512a22(0x2e5)&&(!((_0x2fbc3b=_0x5b962a[_0x512a22(0x32d)])===null||_0x2fbc3b===void 0x0)&&_0x2fbc3b['length'])?_0x418fff(_0x418fff({},_0x5b962a),{'children':_0x5b962a[_0x512a22(0x32d)][_0x512a22(0x219)](function(_0x3fe37b){const _0x5db623=_0x512a22;return typeof _0x3fe37b[_0x5db623(0x24d)]['id']==_0x5db623(0x30b)&&_0x1b33f0&&_0x1b33f0['includes'](_0x3fe37b['attrs']['id'])?_0x418fff(_0x418fff({},_0x3fe37b),{'attrs':_0x418fff(_0x418fff({},_0x3fe37b[_0x5db623(0x24d)]),{'id':_0x3fe37b[_0x5db623(0x24d)]['id']+_0xc1a740[_0x5db623(0x1fd)]})}):_0x3fe37b;})}):_0x5b962a;}function _0x45e795(){const _0x159c65=_0x5a505c;return Math['random']()[_0x159c65(0x2a0)](0x24)[_0x159c65(0x118)](0x2,0x8);}_0x5b8ef9[_0x5a505c(0x314)]=_0x5a505c(0x327);var _0xd7cb74={'tag':_0x5a505c(0x335),'attrs':{'xmlns':_0x5a505c(0xd5),'fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x15a),'width':'1em','height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':_0x5a505c(0x32c),'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':_0x5a505c(0x1e5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':_0x5a505c(0x122)},'children':[{'tag':'path','attrs':{'fill':_0x5a505c(0x2a5),'d':_0x5a505c(0x1f9)}}]}]}],'defIds':[_0x5a505c(0x122)]},_0x5ae184=_0x1beb2f[_0x5a505c(0x17e)](function(_0x4548e9,_0xcd9999){const _0x1a0037=_0x5a505c;return _0x1beb2f[_0x1a0037(0x32f)](_0x5b8ef9,Object[_0x1a0037(0x147)]({},_0x4548e9,{'id':_0x1a0037(0xf9),'ref':_0xcd9999,'icon':_0xd7cb74}));});_0x5ae184[_0x5a505c(0x314)]=_0x5a505c(0x205);var _0x1f2e0e={'tag':_0x5a505c(0x335),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x158),'width':_0x5a505c(0xd6),'height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a505c(0x2a1)},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':'currentColor','d':_0x5a505c(0x14b),'strokeLinecap':_0x5a505c(0x1e5),'strokeLinejoin':_0x5a505c(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'fill':_0x5a505c(0x2a5),'d':'M0\x200H16V16H0z','transform':_0x5a505c(0x22e)}}]}]}],'defIds':[_0x5a505c(0xf7)]},_0x350aa3=_0x1beb2f[_0x5a505c(0x17e)](function(_0x528d5e,_0x4e0e4a){const _0xaa9822=_0x5a505c;return _0x1beb2f['createElement'](_0x5b8ef9,Object[_0xaa9822(0x147)]({},_0x528d5e,{'id':_0xaa9822(0x243),'ref':_0x4e0e4a,'icon':_0x1f2e0e}));});_0x350aa3[_0x5a505c(0x314)]=_0x5a505c(0x1a7);function _0x295060(_0x4decdc){const _0x303065=_0x5a505c;switch(_0x4decdc){case _0x250f51[_0x303065(0x197)][_0x303065(0x23e)]:return _0x303065(0x10d);case _0x250f51[_0x303065(0x197)][_0x303065(0xd4)]:return'collabStatus.conflict';case _0x250f51[_0x303065(0x197)][_0x303065(0x120)]:return'collabStatus.fetchMiss';case _0x250f51[_0x303065(0x197)][_0x303065(0x183)]:return _0x303065(0x227);case _0x250f51['CollaborationStatus'][_0x303065(0x28f)]:case _0x250f51['CollaborationStatus'][_0x303065(0x170)]:return _0x303065(0x270);case _0x250f51[_0x303065(0x197)][_0x303065(0x1d2)]:case _0x250f51[_0x303065(0x197)][_0x303065(0x152)]:return _0x303065(0x2b7);}}function _0x13383e(_0x3371bb){const _0x19dd28=_0x5a505c,{status$:_0x1d4b45}=_0x3371bb,_0x46dd67=_0x603ca7['useObservable'](_0x1d4b45,_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x183)]),_0x1c3896=_0x603ca7[_0x19dd28(0x318)](_0x31c42f[_0x19dd28(0x20e)]),_0x1c9662=_0x603ca7[_0x19dd28(0x318)](_0x250f51[_0x19dd28(0x146)]),_0x6a7fa=_0x46dd67!==_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x23e)],_0x35b5f6=_0x1c3896['t'](_0x295060(_0x46dd67)),_0x5c5f3a=_0x6a7fa?_0x5beb6b[_0x19dd28(0x263)](_0x350aa3,{}):_0x5beb6b[_0x19dd28(0x263)](_0x5ae184,{}),_0x1b62c6=_0x1beb2f[_0x19dd28(0x2ae)](()=>{const _0x761aeb=_0x19dd28;_0x6a7fa||_0x1c9662[_0x761aeb(0x2dc)]();},[_0x6a7fa,_0x1c9662]);function _0x2a3ab9(){const _0x2694b2=_0x19dd28;return _0x5beb6b[_0x2694b2(0x33e)](_0x2694b2(0x1e3),{'className':_0x2694b2(0x341),'onClick':_0x1b62c6,'children':[_0x5beb6b[_0x2694b2(0x263)]('div',{'className':_0x4612e3[_0x2694b2(0x340)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x6a7fa,'univer-text-red-500':!_0x6a7fa}),'children':_0x5c5f3a}),_0x5beb6b['jsx'](_0x2694b2(0x1e3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x35b5f6})]});}return _0x6a7fa?_0x2a3ab9():_0x5beb6b['jsx'](_0x4612e3[_0x19dd28(0x276)],{'title':_0x1c3896['t']('collab-client.tooltip.reconnect'),'children':_0x2a3ab9()});}var _0x3448a8=Object[_0x5a505c(0x239)],_0xd37d93=(_0x1f1ee4,_0x4edac4,_0x10f514,_0x265a69)=>{for(var _0x255eee=_0x265a69>0x1?void 0x0:_0x265a69?_0x3448a8(_0x4edac4,_0x10f514):_0x4edac4,_0x1838d7=_0x1f1ee4['length']-0x1,_0x69b869;_0x1838d7>=0x0;_0x1838d7--)(_0x69b869=_0x1f1ee4[_0x1838d7])&&(_0x255eee=_0x69b869(_0x255eee)||_0x255eee);return _0x255eee;},_0x22abda=(_0x4178ef,_0xf42c33)=>(_0x2c0cd7,_0x23b884)=>_0xf42c33(_0x2c0cd7,_0x23b884,_0x4178ef);_0x4853c8['DesktopCollaborationStatusDisplayController']=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57937a,_0x14a339,_0x59d017,_0x3fdf1a){const _0x257518=_0x5a505c;super(),_0x5c9071(this,'_status$',new _0x19f1b5[(_0x257518(0x271))](_0x250f51[_0x257518(0x197)][_0x257518(0x183)])),(this[_0x257518(0x12c)]=_0x57937a,this[_0x257518(0x19f)]=_0x14a339,this[_0x257518(0x304)]=_0x59d017,this[_0x257518(0x2bf)]=_0x3fdf1a,this[_0x257518(0x2ee)](),this[_0x257518(0x1a0)]());}[_0x5a505c(0x1a0)](){const _0x225590=_0x5a505c;this[_0x225590(0x2c7)](this[_0x225590(0x12c)][_0x225590(0x136)][_0x225590(0x321)](_0x19f1b5[_0x225590(0x1d8)](()=>{const _0xd79307=_0x225590,_0xcb865f=this[_0xd79307(0x12c)][_0xd79307(0x290)]();return _0xcb865f?this[_0xd79307(0x304)][_0xd79307(0x19e)](_0xcb865f[_0xd79307(0x262)]()):_0x19f1b5['of'](null);}),_0x19f1b5['switchMap'](_0x98a46e=>_0x98a46e?_0x98a46e[_0x225590(0x289)]:_0x19f1b5['of'](_0x250f51['CollaborationStatus'][_0x225590(0x183)])))[_0x225590(0x253)](_0x25d9b4=>{const _0x505b8c=_0x225590;this[_0x505b8c(0x162)][_0x505b8c(0x22d)](_0x25d9b4);}));}['_initStatusComponent'](){const _0x16c78a=_0x5a505c;this[_0x16c78a(0x2c7)](this[_0x16c78a(0x2bf)][_0x16c78a(0x185)](_0x603ca7[_0x16c78a(0x1d4)][_0x16c78a(0x110)],()=>_0x603ca7[_0x16c78a(0x31e)](_0x15e10a({'status$':this[_0x16c78a(0x162)][_0x16c78a(0x2d6)]()}),this[_0x16c78a(0x19f)])));}},_0x4853c8['DesktopCollaborationStatusDisplayController']=_0xd37d93([_0x22abda(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x22abda(0x1,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x22abda(0x2,_0x31c42f['Inject'](_0x250f51[_0x5a505c(0x20c)])),_0x22abda(0x3,_0x603ca7[_0x5a505c(0xb7)])],_0x4853c8['DesktopCollaborationStatusDisplayController']);function _0x15e10a(_0x377489){const {status$:_0x41ad6f}=_0x377489;return function(){const _0x51efeb=_0x1d10;return _0x5beb6b[_0x51efeb(0x263)](_0x13383e,{'status$':_0x41ad6f});};}const _0x2b3810=_0x31c42f['createIdentifier']('uni.network.url-service');var _0x5a7b11=Object['getOwnPropertyDescriptor'],_0x505d25=(_0x4de4cd,_0x4151d4,_0x599760,_0x2a7931)=>{const _0x1930a3=_0x5a505c;for(var _0x3cb415=_0x2a7931>0x1?void 0x0:_0x2a7931?_0x5a7b11(_0x4151d4,_0x599760):_0x4151d4,_0x12b17d=_0x4de4cd[_0x1930a3(0x171)]-0x1,_0x1bc9d2;_0x12b17d>=0x0;_0x12b17d--)(_0x1bc9d2=_0x4de4cd[_0x12b17d])&&(_0x3cb415=_0x1bc9d2(_0x3cb415)||_0x3cb415);return _0x3cb415;},_0x12c263=(_0x462925,_0x464046)=>(_0x5ca2b9,_0x104768)=>_0x464046(_0x5ca2b9,_0x104768,_0x462925);_0x4853c8[_0x5a505c(0x26f)]=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x91401f,_0x1a1b41,_0xef8160,_0x14c746,_0x34cb0d){const _0xd70bb8=_0x5a505c;super(),this[_0xd70bb8(0x1bc)]=_0x91401f,this[_0xd70bb8(0x10f)]=_0x1a1b41,this[_0xd70bb8(0x221)]=_0xef8160,this[_0xd70bb8(0x15f)]=_0x14c746,_0x34cb0d?_0x34cb0d==null||_0x34cb0d[_0xd70bb8(0x16a)]()['then'](()=>this['_init']()):(this[_0xd70bb8(0x10f)][_0xd70bb8(0xd0)]('[CollaborationDataLoaderController]',_0xd70bb8(0x18d)),this[_0xd70bb8(0x323)]());}async[_0x5a505c(0x323)](){const _0xe7337b=_0x5a505c,_0x3287d1=this['_urlService'][_0xe7337b(0x131)](_0xe7337b(0x127)),_0x3ce721=this[_0xe7337b(0x1bc)][_0xe7337b(0x131)](_0xe7337b(0x29c)),_0x34f3d0=this['_urlService'][_0xe7337b(0x131)]('subunit');if(!_0x3287d1||!_0x3ce721){this['_logService'][_0xe7337b(0xd0)](_0xe7337b(0x357),_0xe7337b(0x176));return;}const _0x29fa41=await this[_0xe7337b(0x15f)][_0xe7337b(0x186)](_0x3287d1,Number(_0x3ce721),_0x34f3d0);_0x29fa41&&_0x29fa41 instanceof _0x31c42f['Workbook']&&this[_0xe7337b(0x2ac)](_0x29fa41);}async[_0x5a505c(0x2ac)](_0x1a4877){const _0x21c45b=_0x5a505c;await this[_0x21c45b(0x11d)](_0x1a4877),_0x1a4877['activeSheet$'][_0x21c45b(0x321)](_0x19f1b5[_0x21c45b(0x14c)](this[_0x21c45b(0x1a1)]))['subscribe'](_0xf713d4=>{const _0x300cab=_0x21c45b;_0xf713d4&&this[_0x300cab(0x307)](_0xf713d4);}),this['_urlService'][_0x21c45b(0x305)]['pipe'](_0x19f1b5[_0x21c45b(0x14c)](this['dispose$']))[_0x21c45b(0x253)](()=>this[_0x21c45b(0x11d)](_0x1a4877));}[_0x5a505c(0x307)](_0x374b7c,_0x462870=!0x1){const _0x2f7656=_0x5a505c,_0x15aad2=this['_urlService'][_0x2f7656(0x131)]('subunit');_0x374b7c['getSheetId']()!==_0x15aad2&&this['_urlService'][_0x2f7656(0xcf)](_0x2f7656(0x32b),_0x374b7c[_0x2f7656(0x135)](),_0x462870);}async['_updateSubUnitFromURLParams'](_0xa96941){const _0x1b6772=_0x5a505c;var _0x5d749a;const _0x4fc430=this['_urlService'][_0x1b6772(0x131)](_0x1b6772(0x32b));if(!_0x4fc430||!_0xa96941[_0x1b6772(0x18f)](_0x4fc430)){const _0x19c86a=_0xa96941[_0x1b6772(0x142)]()[0x0],_0x211f10=_0xa96941[_0x1b6772(0x18f)](_0x19c86a);if(!_0x211f10)return;this[_0x1b6772(0x307)](_0x211f10,!0x0),await this[_0x1b6772(0x221)][_0x1b6772(0x1c9)](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x19c86a});return;}((_0x5d749a=_0xa96941[_0x1b6772(0x344)]())==null?void 0x0:_0x5d749a['getSheetId']())!==_0x4fc430&&await this[_0x1b6772(0x221)]['executeCommand'](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x4fc430});}},_0x4853c8['CollaborationDataLoaderController']=_0x505d25([_0x12c263(0x0,_0x2b3810),_0x12c263(0x1,_0x31c42f[_0x5a505c(0x2c4)]),_0x12c263(0x2,_0x31c42f[_0x5a505c(0xb8)]),_0x12c263(0x3,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x224)])),_0x12c263(0x4,_0x31c42f['Optional'](_0x337fcc[_0x5a505c(0x1da)]))],_0x4853c8['CollaborationDataLoaderController']);var _0x1e96e0=Object[_0x5a505c(0x239)],_0x1841aa=(_0x51dba2,_0x32afd3,_0x97e583,_0x3f40ec)=>{const _0x16086b=_0x5a505c;for(var _0x3b553b=_0x3f40ec>0x1?void 0x0:_0x3f40ec?_0x1e96e0(_0x32afd3,_0x97e583):_0x32afd3,_0xa2668c=_0x51dba2[_0x16086b(0x171)]-0x1,_0x53faeb;_0xa2668c>=0x0;_0xa2668c--)(_0x53faeb=_0x51dba2[_0xa2668c])&&(_0x3b553b=_0x53faeb(_0x3b553b)||_0x3b553b);return _0x3b553b;},_0x4234af=(_0x8ba742,_0x32ddeb)=>(_0x38a579,_0x14a9e4)=>_0x32ddeb(_0x38a579,_0x14a9e4,_0x8ba742);let _0x4c41fe=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x2a77d6,_0x4dcf1f){const _0x1f11ea=_0x5a505c;super(),this['_docClipboardService']=_0x2a77d6,this[_0x1f11ea(0xf0)]=_0x4dcf1f,this[_0x1f11ea(0x323)]();}[_0x5a505c(0x323)](){const _0x206239=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2351ea=>{const _0x2f8691=_0x1d10,_0x23a4ab=await _0x206239[_0x2f8691(0xf0)][_0x2f8691(0x138)](_0x2351ea);return _0x23a4ab?{'source':_0x23a4ab[_0x2f8691(0xff)],'imageSourceType':_0x23a4ab['imageSourceType']}:null;}}));}};_0x4c41fe=_0x1841aa([_0x4234af(0x0,_0x5e24e0['IDocClipboardService']),_0x4234af(0x1,_0xa7fa11['IImageIoService'])],_0x4c41fe);const _0x1b89e0=[_0x5a505c(0x2b3),_0x5a505c(0xd9),_0x5a505c(0x272),_0x5a505c(0x2e7),_0x5a505c(0x2d4),'yellow.400'];class _0x237c9d extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x509d12=_0x5a505c;super(...arguments),_0x5c9071(this,_0x509d12(0x1c3),new Map()),_0x5c9071(this,'_colorIndex',0x0);}[_0x5a505c(0x20b)](_0x3a8235){const _0x1624ca=_0x5a505c;if(this[_0x1624ca(0x1c3)]['has'](_0x3a8235))return this[_0x1624ca(0x1c3)][_0x1624ca(0x2af)](_0x3a8235);const _0x3c93a3=_0x1b89e0[this[_0x1624ca(0x117)]];return this[_0x1624ca(0x117)]=(this[_0x1624ca(0x117)]+0x1)%_0x1b89e0['length'],this[_0x1624ca(0x1c3)][_0x1624ca(0x277)](_0x3a8235,_0x3c93a3),_0x3c93a3;}}function _0x18315f(_0x361ce4){const _0x6147f8=_0x5a505c;let _0x4038ef='';for(const _0x516fc6 of _0x361ce4){const {startOffset:_0x465114,endOffset:_0x37a637,isActive:_0x560a2d,rangeType:_0x1b7549,segmentId:_0x51cee5,segmentPage:_0x3d170b}=_0x516fc6;_0x4038ef[_0x6147f8(0x171)]&&(_0x4038ef+=','),_0x4038ef+=_0x465114+':'+_0x37a637+':'+(_0x560a2d?'1':'0')+':'+_0x1b7549+':'+_0x51cee5+':'+_0x3d170b;}return _0x4038ef;}function _0x269ae1(_0x31c989){const _0x1c5fc5=_0x5a505c,_0x117fc5=_0x31c989[_0x1c5fc5(0xe4)](','),_0x39e593=[];for(const _0x3d1dea of _0x117fc5){const [_0x30f3a2,_0x2768b2,_0x3f9817,_0x503266,_0x42e1b3,_0x5b7030]=_0x3d1dea[_0x1c5fc5(0xe4)](':');_0x39e593[_0x1c5fc5(0x251)]({'startOffset':Number(_0x30f3a2),'endOffset':Number(_0x2768b2),'collapsed':_0x30f3a2===_0x2768b2,'isActive':_0x3f9817==='1','rangeType':_0x503266===_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]?_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]:_0x31c42f['DOC_RANGE_TYPE'][_0x1c5fc5(0xbd)],'segmentId':typeof _0x42e1b3=='string'?String(_0x42e1b3):'','segmentPage':Number(_0x5b7030!=null?_0x5b7030:-0x1)});}return _0x39e593['some'](_0x1da38c=>_0x1da38c[_0x1c5fc5(0x208)])||(_0x39e593[0x0][_0x1c5fc5(0x208)]=!0x0),_0x39e593;}class _0x17e7cc extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x75ba08=_0x5a505c;super(...arguments),_0x5c9071(this,_0x75ba08(0x2f1),new _0x19f1b5[(_0x75ba08(0x271))](null)),_0x5c9071(this,_0x75ba08(0x1e7),this['_collabCursorState$']['asObservable']());}[_0x5a505c(0x1f2)](_0x3c84f4){const _0x19bd99=_0x5a505c,{unitID:_0xd754d7,memberID:_0x3d8823,textRanges:_0x1849e1}=_0x3c84f4,_0x3aef14=_0x18315f(_0x1849e1);if(_0x3aef14==='')return;const _0x1c8e5b={'unitID':_0xd754d7,'memberID':_0x3d8823,'selection':_0x3aef14};this['_collabCursorState$'][_0x19bd99(0x22d)](_0x1c8e5b);}}var _0x4431db=Object[_0x5a505c(0x239)],_0x159b72=(_0x26518a,_0x52741c,_0x56674d,_0x4767ae)=>{const _0x382262=_0x5a505c;for(var _0x4e4349=_0x4767ae>0x1?void 0x0:_0x4767ae?_0x4431db(_0x52741c,_0x56674d):_0x52741c,_0x52267f=_0x26518a[_0x382262(0x171)]-0x1,_0x4ac651;_0x52267f>=0x0;_0x52267f--)(_0x4ac651=_0x26518a[_0x52267f])&&(_0x4e4349=_0x4ac651(_0x4e4349)||_0x4e4349);return _0x4e4349;},_0xa6491c=(_0x4b4008,_0x5a0042)=>(_0x1351f2,_0x902843)=>_0x5a0042(_0x1351f2,_0x902843,_0x4b4008);const _0x4d2c45=0x12c,_0x50d0d4=0x64;let _0x28eeff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x4f67ba,_0x3b02b1,_0x25bca8,_0x16673c,_0x430e3e,_0xf71fb4,_0x4d7820,_0x2c60ba,_0x27f83c){const _0x241209=_0x5a505c;super(),_0x5c9071(this,_0x241209(0xc0),!0x1),_0x5c9071(this,_0x241209(0x323),!0x1),_0x5c9071(this,_0x241209(0x2ea),new _0x19f1b5[(_0x241209(0x271))](new Map())),_0x5c9071(this,_0x241209(0x2d5),this[_0x241209(0x2ea)][_0x241209(0x2d6)]()),_0x5c9071(this,_0x241209(0x13b),new _0x19f1b5[(_0x241209(0x271))]([])),_0x5c9071(this,_0x241209(0x134),this['_roomMembers$'][_0x241209(0x321)](_0x19f1b5[_0x241209(0x14f)](_0x4d2c45))),_0x5c9071(this,_0x241209(0x133),_0x31c42f[_0x241209(0xfb)](_0x3da83f=>{const _0x47275f=_0x241209,_0x477256={'eventID':_0x180e29[_0x47275f(0x1c1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x47275f(0xe3)],'memberID':this['_session'][_0x47275f(0x1a2)](),'selection':_0x18315f(_0x3da83f)}};this['_session']['send'](_0x477256,this[_0x47275f(0xe3)]);},_0x50d0d4)),(this[_0x241209(0xe3)]=_0x4f67ba,this[_0x241209(0x303)]=_0x3b02b1,this[_0x241209(0x19f)]=_0x25bca8,this[_0x241209(0x125)]=_0x16673c,this['_memberService']=_0x430e3e,this[_0x241209(0x202)]=_0xf71fb4,this['_transformService']=_0x4d7820,this['_univerInstanceService']=_0x2c60ba,this[_0x241209(0x221)]=_0x27f83c);}get[_0x5a505c(0x26d)](){const _0x21410d=_0x5a505c;return this[_0x21410d(0x2ea)][_0x21410d(0x154)]();}get[_0x5a505c(0x315)](){const _0x5b4eef=_0x5a505c;return this['_roomMembers$'][_0x5b4eef(0x154)]();}[_0x5a505c(0x30a)](){const _0x4e343=_0x5a505c;super[_0x4e343(0x30a)](),this[_0x4e343(0x2ea)][_0x4e343(0x22d)](new Map()),this['_cursorInfo$']['complete'](),this[_0x4e343(0x13b)]['next']([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x337ec8=_0x5a505c;this[_0x337ec8(0x323)]||(this[_0x337ec8(0x323)]=!0x0,this[_0x337ec8(0x303)][_0x337ec8(0xeb)][_0x337ec8(0x321)](_0x19f1b5['takeUntil'](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0x25c1ab=>{const _0x147945=_0x337ec8;_0x25c1ab===_0x250f51[_0x147945(0x16e)]['ONLINE']?this[_0x147945(0x189)]():this[_0x147945(0x21c)]();}),this[_0x337ec8(0x303)]['event$'][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this['dispose$']))[_0x337ec8(0x253)](_0x4ba30f=>{const _0x4b1d1d=_0x337ec8,_0x1232af=_0x4ba30f['eventID'];_0x1232af===_0x180e29['CollaborationEvent'][_0x4b1d1d(0x2e0)]&&this[_0x4b1d1d(0x16f)](_0x4ba30f),_0x1232af===_0x180e29[_0x4b1d1d(0x1c1)]['USERS_LEAVE']&&this[_0x4b1d1d(0x213)](_0x4ba30f);}),this['disposeWithMe'](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x16d82e=>{const _0x171c19=_0x337ec8,_0x3bc003=_0x16d82e[_0x171c19(0x1ff)];_0x3bc003!=null&&this[_0x171c19(0xc0)]&&_0x16d82e['id']===_0x3f505f[_0x171c19(0x184)]['id']&&_0x3bc003[_0x171c19(0x269)]===this[_0x171c19(0xe3)]&&_0x3bc003[_0x171c19(0x25b)]===!0x1&&_0x3bc003['ranges'][_0x171c19(0x171)]>0x0&&this['_updateLocalCursor'](_0x3bc003['ranges']);})),this[_0x337ec8(0x202)][_0x337ec8(0x1e7)][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0xbd9ee4=>{const _0x3cef11=_0x337ec8;if((_0xbd9ee4==null?void 0x0:_0xbd9ee4[_0x3cef11(0xe3)])!==this['unitID'])return;const _0x26be10={'eventID':_0x180e29['CollaborationEvent'][_0x3cef11(0x2e0)],'data':_0xbd9ee4};this[_0x3cef11(0x16f)](_0x26be10);}),this[_0x337ec8(0x2c7)](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x419549=>{const _0x422577=_0x337ec8;if(_0x419549[_0x422577(0x1ff)]==null)return;const _0x58bb18=_0x419549[_0x422577(0x1ff)];if(_0x419549['id']!==_0x3f505f[_0x422577(0xbc)]['id']||_0x58bb18[_0x422577(0x269)]!==this['unitID'])return;const _0xfc7473={'id':_0x422577(0x10a),'params':_0x58bb18},_0x2677ff=this[_0x422577(0x26d)];for(const [_0x56bba9,_0x2c2cb9]of _0x2677ff){const _0xd49dc7={'id':_0x422577(0x10a),'params':{'unitId':this[_0x422577(0xe3)],'actions':null,'textRanges':_0x2c2cb9[_0x422577(0x2d3)]}},_0x312693=this[_0x422577(0x1ce)][_0x422577(0x180)](_0xfc7473,_0xd49dc7,!0x1);if(_0x180e29[_0x422577(0x296)](_0x312693))throw _0x312693[_0x422577(0x2df)];_0x2677ff[_0x422577(0x277)](_0x56bba9,{..._0x2c2cb9,'ranges':_0x312693[_0x422577(0x179)][_0x422577(0x1ff)][_0x422577(0x339)]});}queueMicrotask(()=>{const _0x47018a=_0x422577;this[_0x47018a(0x2ea)]['next'](_0x2677ff);});})));}[_0x5a505c(0x16f)](_0x53ab0b){const _0x29fba7=_0x5a505c;var _0x3f15f2,_0x2c8ada;const {memberID:_0x47e4b2,selection:_0x362a68}=_0x53ab0b[_0x29fba7(0x21a)],_0x5ee4b3=_0x269ae1(_0x362a68),_0x3893c9=(_0x2c8ada=(_0x3f15f2=this['_memberService']['getMember'](this[_0x29fba7(0xe3)],_0x47e4b2))==null?void 0x0:_0x3f15f2[_0x29fba7(0xb6)])!=null?_0x2c8ada:_0x29fba7(0x23c),_0x3b8a01={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x47e4b2),'name':_0x3893c9,'ranges':_0x5ee4b3},_0x5ce2e9=this[_0x29fba7(0x26d)];_0x5ce2e9['set'](_0x47e4b2,_0x3b8a01),this[_0x29fba7(0x2ea)][_0x29fba7(0x22d)](_0x5ce2e9);}[_0x5a505c(0x213)](_0xacf0eb){const _0x5b13a6=_0x5a505c,{memberID:_0x914be5}=_0xacf0eb[_0x5b13a6(0x21a)],_0x49f7da=this[_0x5b13a6(0x26d)];_0x49f7da[_0x5b13a6(0x1b5)](_0x914be5),this[_0x5b13a6(0x2ea)]['next'](_0x49f7da);}[_0x5a505c(0x189)](){const _0xe1c7ea=_0x5a505c;var _0x24b448;if(this[_0xe1c7ea(0xc0)]=!0x0,((_0x24b448=this[_0xe1c7ea(0x12c)]['getFocusedUnit']())==null?void 0x0:_0x24b448[_0xe1c7ea(0x262)]())!==this[_0xe1c7ea(0xe3)])return;const _0x131c1e=this[_0xe1c7ea(0x19f)][_0xe1c7ea(0x2af)](_0x3f505f['DocSelectionManagerService'])[_0xe1c7ea(0x336)]();Array[_0xe1c7ea(0x34a)](_0x131c1e)&&_0x131c1e['length']>0x0&&this[_0xe1c7ea(0x133)](_0x131c1e);}[_0x5a505c(0x21c)](){const _0x715e21=_0x5a505c;this[_0x715e21(0xc0)]=!0x1;}};_0x28eeff=_0x159b72([_0xa6491c(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0xa6491c(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0xa6491c(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0xa6491c(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0xa6491c(0x6,_0x180e29['ITransformService']),_0xa6491c(0x7,_0x31c42f[_0x5a505c(0xe8)]),_0xa6491c(0x8,_0x31c42f[_0x5a505c(0xb8)])],_0x28eeff);var _0x2ac6e1=Object['getOwnPropertyDescriptor'],_0x397afe=(_0x32ecca,_0x34b172,_0xb3db75,_0x1a6776)=>{const _0x46f1a3=_0x5a505c;for(var _0x4d2ded=_0x1a6776>0x1?void 0x0:_0x1a6776?_0x2ac6e1(_0x34b172,_0xb3db75):_0x34b172,_0x4819e1=_0x32ecca[_0x46f1a3(0x171)]-0x1,_0x1aad7;_0x4819e1>=0x0;_0x4819e1--)(_0x1aad7=_0x32ecca[_0x4819e1])&&(_0x4d2ded=_0x1aad7(_0x4d2ded)||_0x4d2ded);return _0x4d2ded;},_0x462372=(_0x3e81a0,_0x5ab8d2)=>(_0x4362e9,_0x2c5b8b)=>_0x5ab8d2(_0x4362e9,_0x2c5b8b,_0x3e81a0);const _0x2c5d28=0x12c,_0x231b85=0x64,_0x1e383f=()=>{let _0x524388=[],_0x16d50f=!0x1;return _0x2852b7=>{const _0x4b643a=_0x1d10;_0x524388[_0x4b643a(0x251)](_0x2852b7),_0x16d50f||(_0x16d50f=!0x0,setTimeout(()=>{const _0x7b2ea3=_0x4b643a;_0x524388[_0x7b2ea3(0x1de)](_0x5970d6=>_0x5970d6()),_0x524388=[],_0x16d50f=!0x1;}));};};let _0x4697a2=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1d7a8a,_0x3befc0,_0x1a6bb1,_0x44221d,_0x1380d8,_0x194ee0,_0x4033cb,_0xd2e1b3){const _0x393ec9=_0x5a505c;super(),_0x5c9071(this,_0x393ec9(0xc0),!0x1),_0x5c9071(this,_0x393ec9(0x323),!0x1),_0x5c9071(this,_0x393ec9(0x2ea),new _0x19f1b5[(_0x393ec9(0x271))](new Map())),_0x5c9071(this,_0x393ec9(0x2d5),this[_0x393ec9(0x2ea)]['asObservable']()),_0x5c9071(this,_0x393ec9(0x13b),new _0x19f1b5[(_0x393ec9(0x271))]([])),_0x5c9071(this,'roomMembers$',this[_0x393ec9(0x13b)][_0x393ec9(0x321)](_0x19f1b5[_0x393ec9(0x14f)](_0x2c5d28))),_0x5c9071(this,_0x393ec9(0x133),_0x31c42f['debounce']((_0x1eea1b,_0x262a5c)=>{const _0x4981d4=_0x393ec9,_0x411038={'eventID':_0x180e29[_0x4981d4(0x1c1)][_0x4981d4(0x2e0)],'data':{'unitID':this[_0x4981d4(0xe3)],'memberID':this[_0x4981d4(0x303)][_0x4981d4(0x1a2)](),'selection':_0x3cb4df[_0x4981d4(0x233)](_0x1eea1b,_0x262a5c[_0x4981d4(0x175)])}};this[_0x4981d4(0x303)][_0x4981d4(0x266)](_0x411038,this['unitID']);},_0x231b85)),(this['unitID']=_0x1d7a8a,this[_0x393ec9(0x303)]=_0x3befc0,this[_0x393ec9(0x19f)]=_0x1a6bb1,this[_0x393ec9(0x125)]=_0x44221d,this['_memberService']=_0x1380d8,this[_0x393ec9(0x12c)]=_0x194ee0,this[_0x393ec9(0x221)]=_0x4033cb,this[_0x393ec9(0x300)]=_0xd2e1b3);}get['cursorInfo'](){const _0x4f9395=_0x5a505c;return this[_0x4f9395(0x2ea)]['getValue']();}get[_0x5a505c(0x315)](){const _0x13cbd1=_0x5a505c;return this['_roomMembers$'][_0x13cbd1(0x154)]();}[_0x5a505c(0x30a)](){const _0x51a50e=_0x5a505c;super['dispose'](),this[_0x51a50e(0x2ea)]['next'](new Map()),this[_0x51a50e(0x2ea)]['complete'](),this['_roomMembers$'][_0x51a50e(0x22d)]([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x4a36ef=_0x5a505c;this['_init']||(this[_0x4a36ef(0x323)]=!0x0,this[_0x4a36ef(0x303)]['sessionStatus$'][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this[_0x4a36ef(0x1a1)]))['subscribe'](_0x1b2785=>{const _0x40f762=_0x4a36ef;_0x1b2785===_0x250f51['SessionStatus'][_0x40f762(0x194)]?this[_0x40f762(0x189)]():this[_0x40f762(0x21c)]();}),this[_0x4a36ef(0x303)][_0x4a36ef(0xe1)][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this['dispose$']))[_0x4a36ef(0x253)](_0x261e06=>{const _0x4f4599=_0x4a36ef,_0x590580=_0x261e06[_0x4f4599(0x1a4)];_0x590580===_0x180e29[_0x4f4599(0x1c1)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x261e06),_0x590580===_0x180e29['CollaborationEvent'][_0x4f4599(0x351)]&&this[_0x4f4599(0x213)](_0x261e06);}),this[_0x4a36ef(0x280)](),this[_0x4a36ef(0x2c7)](this['_commandService'][_0x4a36ef(0x123)](_0x41e7fa=>{const _0x152322=_0x4a36ef;if(this[_0x152322(0xc0)]&&_0x41e7fa['id']===_0x56db06[_0x152322(0x329)]['id']&&_0x41e7fa[_0x152322(0x1ff)][_0x152322(0x269)]===this[_0x152322(0xe3)]){const _0x71dc04=_0x41e7fa[_0x152322(0x1ff)];this[_0x152322(0x133)](_0x71dc04[_0x152322(0x29e)],_0x71dc04['selections'][0x0]);}})));}[_0x5a505c(0x16f)](_0x4cc19a){const _0x34520b=_0x5a505c;var _0x15fad7,_0x5b6b82;const {memberID:_0x406397,selection:_0x9ef882}=_0x4cc19a[_0x34520b(0x21a)],{sheetName:_0x594d33,range:_0x150996}=_0x3cb4df['deserializeRangeWithSheet'](_0x9ef882),_0x51bbb9={'name':(_0x5b6b82=(_0x15fad7=this[_0x34520b(0x2e3)][_0x34520b(0x2bc)](this[_0x34520b(0xe3)],_0x406397))==null?void 0x0:_0x15fad7[_0x34520b(0xb6)])!=null?_0x5b6b82:'Unknown\x20user','range':this[_0x34520b(0xed)](_0x594d33,_0x150996),'sheetID':_0x594d33,'color':this[_0x34520b(0x125)]['assignAColorForMemberID'](_0x406397),'selection':_0x9ef882},_0x448c0d=this[_0x34520b(0x26d)];_0x448c0d['set'](_0x406397,_0x51bbb9),this[_0x34520b(0x2ea)][_0x34520b(0x22d)](_0x448c0d);}[_0x5a505c(0x213)](_0x38383f){const _0x4d7dac=_0x5a505c,{memberID:_0xe72bb0}=_0x38383f['data'],_0x4f8599=this[_0x4d7dac(0x26d)];_0x4f8599[_0x4d7dac(0x1b5)](_0xe72bb0),this[_0x4d7dac(0x2ea)][_0x4d7dac(0x22d)](_0x4f8599);}[_0x5a505c(0xed)](_0x30e38c,_0x40a18e){const _0x28b7c9=_0x5a505c;var _0xb1e571,_0x5c5b8c;const _0x454e07=(_0x5c5b8c=(_0xb1e571=this['_univerInstanceService'][_0x28b7c9(0x1ba)](this[_0x28b7c9(0xe3)]))==null?void 0x0:_0xb1e571[_0x28b7c9(0x18f)](_0x30e38c))==null?void 0x0:_0x5c5b8c['getMergeData']();return(_0x454e07==null?void 0x0:_0x454e07['find'](_0x2d27db=>_0x31c42f[_0x28b7c9(0x1f5)][_0x28b7c9(0x24c)](_0x2d27db,_0x40a18e)))||_0x40a18e;}['_onRefRangeChange'](){const _0x4fd27f=_0x5a505c,_0x4a611d=new _0x31c42f[(_0x4fd27f(0x182))](),_0x2fb9d9=_0x1e383f(),_0x2e5383=()=>{const _0x1f447c=_0x4fd27f;_0x4a611d['dispose']();const _0x3d7459=(_0x13d41f,_0x29c00f,_0x18fc7a,_0x731c2a)=>{const _0x373f1c=_0x1d10;let _0x200ca5=[];switch(_0x13d41f['id']){case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x18e)]:{_0x200ca5=_0x56db06[_0x373f1c(0x16b)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x119)]:{_0x200ca5=_0x56db06[_0x373f1c(0x2da)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId']['InsertColCommandId']:{_0x200ca5=_0x56db06[_0x373f1c(0x2be)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x2fe)]:{_0x200ca5=_0x56db06[_0x373f1c(0x1ad)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x21d)]:{_0x200ca5=_0x56db06[_0x373f1c(0x245)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x242)]:{_0x200ca5=_0x56db06[_0x373f1c(0x25a)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)]['MoveRangeCommandId']:{_0x200ca5=_0x56db06['handleMoveRange'](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x159)]:{_0x200ca5=_0x56db06[_0x373f1c(0x257)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x1e4)]:{_0x200ca5=_0x56db06[_0x373f1c(0x132)](_0x13d41f,_0x731c2a);break;}}const _0x2e3127=_0x56db06[_0x373f1c(0x343)](_0x200ca5,_0x731c2a),_0xf95e8=this[_0x373f1c(0x26d)][_0x373f1c(0x2af)](_0x29c00f);if(_0xf95e8&&_0x2e3127){const _0x52c30a={..._0xf95e8,'range':_0x2e3127};this[_0x373f1c(0x26d)][_0x373f1c(0x277)](_0x29c00f,_0x52c30a),_0x2fb9d9(()=>{const _0x647725=_0x373f1c,_0xcf91cb=this[_0x647725(0x300)]['registerRefRange'](_0x2e3127,_0x1bec3a=>(_0xcf91cb['dispose'](),_0x3d7459(_0x1bec3a,_0x29c00f,_0x18fc7a,_0x2e3127)));_0x4a611d['add'](_0xcf91cb);});}return{'redos':[],'undos':[]};};this[_0x1f447c(0x26d)][_0x1f447c(0x1de)]((_0x59981c,_0x138b56)=>{const _0x36c8fe=_0x1f447c,{range:_0x1307ad,sheetID:_0x4226af}=_0x59981c,_0x17af67=this[_0x36c8fe(0x300)][_0x36c8fe(0x246)](_0x1307ad,_0x4d5311=>(_0x17af67[_0x36c8fe(0x30a)](),_0x3d7459(_0x4d5311,_0x138b56,_0x4226af,_0x1307ad)));_0x4a611d[_0x36c8fe(0x13c)](_0x17af67);});};this[_0x4fd27f(0x2c7)](_0x31c42f['toDisposable'](this['_cursorInfo$'][_0x4fd27f(0x253)](()=>{_0x2e5383();})));}[_0x5a505c(0x189)](){const _0x4f33bd=_0x5a505c;var _0x16dd91,_0xe78d41;if(this['_online']=!0x0,((_0x16dd91=this[_0x4f33bd(0x12c)][_0x4f33bd(0x290)]())==null?void 0x0:_0x16dd91[_0x4f33bd(0x262)]())!==this[_0x4f33bd(0xe3)])return;const _0x3c56f1=(_0xe78d41=this[_0x4f33bd(0x19f)]['get'](_0x56db06[_0x4f33bd(0x342)])[_0x4f33bd(0xdc)]())==null?void 0x0:_0xe78d41[0x0],_0x5eb7af=this[_0x4f33bd(0x12c)][_0x4f33bd(0x115)](_0x31c42f[_0x4f33bd(0x330)][_0x4f33bd(0x2dd)])[_0x4f33bd(0x344)]();_0x3c56f1&&_0x5eb7af&&this[_0x4f33bd(0x133)](_0x5eb7af['getSheetId'](),_0x3c56f1);}[_0x5a505c(0x21c)](){const _0xb91fc7=_0x5a505c;this[_0xb91fc7(0xc0)]=!0x1;}};_0x4697a2=_0x397afe([_0x462372(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0x462372(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0x462372(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0x462372(0x5,_0x31c42f['IUniverInstanceService']),_0x462372(0x6,_0x31c42f[_0x5a505c(0xb8)]),_0x462372(0x7,_0x31c42f[_0x5a505c(0x107)](_0x56db06[_0x5a505c(0x116)]))],_0x4697a2);var _0x3f0257=Object[_0x5a505c(0x239)],_0x24b0d7=(_0x15a1a8,_0x3d5b94,_0x395e0e,_0xdbf5dc)=>{for(var _0x102456=_0xdbf5dc>0x1?void 0x0:_0xdbf5dc?_0x3f0257(_0x3d5b94,_0x395e0e):_0x3d5b94,_0x1535c6=_0x15a1a8['length']-0x1,_0x4865e3;_0x1535c6>=0x0;_0x1535c6--)(_0x4865e3=_0x15a1a8[_0x1535c6])&&(_0x102456=_0x4865e3(_0x102456)||_0x102456);return _0x102456;},_0x177f3f=(_0x2419b7,_0x131228)=>(_0x58745b,_0x2df040)=>_0x131228(_0x58745b,_0x2df040,_0x2419b7);let _0x53c0b4=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1f683c,_0x124417,_0x4c1784){const _0x3efab4=_0x5a505c;super(),_0x5c9071(this,_0x3efab4(0x2f5),new Map()),_0x5c9071(this,_0x3efab4(0xec),new _0x19f1b5['Subject']()),(this['_univerInstanceService']=_0x1f683c,this[_0x3efab4(0x19f)]=_0x124417,this['_collabSessionService']=_0x4c1784,this[_0x3efab4(0x323)]());}[_0x5a505c(0x30a)](){const _0x389e0f=_0x5a505c;super[_0x389e0f(0x30a)](),this[_0x389e0f(0xec)]['complete'](),this[_0x389e0f(0x2f5)][_0x389e0f(0x1de)](_0x28935b=>_0x28935b[_0x389e0f(0x30a)]());}[_0x5a505c(0x28c)](_0x5dc6e7){const _0x43ac23=_0x5a505c;return this[_0x43ac23(0x2f5)]['has'](_0x5dc6e7)?this[_0x43ac23(0x2f5)][_0x43ac23(0x2af)](_0x5dc6e7)[_0x43ac23(0x2d5)]:this['_entityInit$'][_0x43ac23(0x321)](_0x19f1b5[_0x43ac23(0x254)](_0x305871=>_0x305871['unitID']===_0x5dc6e7),_0x19f1b5[_0x43ac23(0x1d8)](_0x1cc1da=>_0x1cc1da[_0x43ac23(0x2d5)]));}[_0x5a505c(0x323)](){const _0x3c37f1=_0x5a505c;this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)])[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](async _0x48bfa7=>{const _0x34757c=_0x3c37f1,_0x2b1b97=_0x48bfa7[_0x34757c(0x262)](),_0x7e5c51=await this[_0x34757c(0x217)](_0x2b1b97);this['_entityInit$'][_0x34757c(0x22d)](_0x7e5c51),this['_entities']['set'](_0x2b1b97,_0x7e5c51);}),this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)])['pipe'](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x254)](_0x26b33e=>!_0x26b33e[_0x3c37f1(0x262)]()[_0x3c37f1(0xd7)]('__')))['subscribe'](async _0x127ac5=>{const _0x319835=_0x3c37f1,_0x2af863=_0x127ac5[_0x319835(0x262)](),_0x1fc11d=await this[_0x319835(0x101)](_0x2af863);this[_0x319835(0xec)][_0x319835(0x22d)](_0x1fc11d),this[_0x319835(0x2f5)]['set'](_0x2af863,_0x1fc11d);}),_0x19f1b5['merge'](this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)]),this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](_0x5e61ef=>{const _0x37f33d=_0x3c37f1,_0x5c25e9=_0x5e61ef[_0x37f33d(0x262)](),_0x58cb19=this[_0x37f33d(0x2f5)][_0x37f33d(0x2af)](_0x5c25e9);_0x58cb19&&(_0x58cb19[_0x37f33d(0x30a)](),this[_0x37f33d(0x2f5)]['delete'](_0x5c25e9));});}async['_startSheetCollabCursor'](_0x288e98){const _0x5f276c=_0x5a505c,_0x56e9cb=await this[_0x5f276c(0x278)][_0x5f276c(0xea)](_0x288e98),_0x1b4704=this[_0x5f276c(0x19f)][_0x5f276c(0x312)](_0x4697a2,_0x288e98,_0x56e9cb);return _0x1b4704[_0x5f276c(0x201)](),_0x1b4704;}async[_0x5a505c(0x101)](_0x6c854b){const _0x45191e=_0x5a505c,_0x663ea8=await this[_0x45191e(0x278)][_0x45191e(0xea)](_0x6c854b),_0x2142ad=this['_injector']['createInstance'](_0x28eeff,_0x6c854b,_0x663ea8);return _0x2142ad[_0x45191e(0x201)](),_0x2142ad;}};_0x53c0b4=_0x24b0d7([_0x177f3f(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x177f3f(0x1,_0x31c42f['Inject'](_0x31c42f['Injector'])),_0x177f3f(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x146)]))],_0x53c0b4);const _0x1beee5=0x14,_0x598b09=0xc8,_0x47120a=0x4,_0x40eb52=0x5;function _0x14a70a(_0x3aa3c7,_0x4f5cb5){const _0x47093a=_0x5a505c;let {radius:_0x25222f,width:_0x26d51f,height:_0x53441a}=_0x4f5cb5;_0x25222f=_0x25222f!=null?_0x25222f:0x0,_0x26d51f=_0x26d51f!=null?_0x26d51f:0x1e,_0x53441a=_0x53441a!=null?_0x53441a:0x1e;let _0x32538c=0x0,_0x5f2ddf=0x0,_0x480e93=0x0;_0x32538c=_0x5f2ddf=_0x480e93=Math[_0x47093a(0x18b)](_0x25222f,_0x26d51f/0x2,_0x53441a/0x2),_0x3aa3c7[_0x47093a(0x320)](),_0x3aa3c7['moveTo'](_0x32538c,0x0),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f-_0x5f2ddf,0x0),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x5f2ddf,_0x5f2ddf,_0x5f2ddf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f,_0x53441a-_0x480e93),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x480e93,_0x53441a-_0x480e93,_0x480e93,0x0,Math['PI']/0x2,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x53441a),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x32538c),_0x3aa3c7[_0x47093a(0x2d9)](_0x32538c,_0x32538c,_0x32538c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aa3c7[_0x47093a(0x223)](),_0x4f5cb5[_0x47093a(0x1ab)]&&(_0x3aa3c7[_0x47093a(0x187)](),_0x3aa3c7[_0x47093a(0x130)]=_0x4f5cb5[_0x47093a(0x1ab)],_0x4f5cb5[_0x47093a(0x317)]===_0x47093a(0x204)?_0x3aa3c7[_0x47093a(0x1ab)]('evenodd'):_0x3aa3c7[_0x47093a(0x1ab)](),_0x3aa3c7[_0x47093a(0x1f7)]());}class _0x5199f8 extends _0x1f1202['Shape']{constructor(_0x18a5cc,_0xfb42ad){const _0x263f79=_0x5a505c;super(_0x18a5cc,_0xfb42ad),_0x5c9071(this,_0x263f79(0x1aa)),_0x5c9071(this,_0x263f79(0x1dd)),(this[_0x263f79(0x1aa)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1aa)],this[_0x263f79(0x1dd)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1dd)]);}static[_0x5a505c(0x334)](_0x4880aa,_0x28971b){const _0x316f1e=_0x5a505c,{text:_0x59e42b,color:_0x4fec8b}=_0x28971b;_0x4880aa['save'](),_0x4880aa['font']=_0x316f1e(0x236);const _0x47f5b5=_0x4880aa['measureText'](_0x59e42b)[_0x316f1e(0x1c7)],_0x5f521e=Math[_0x316f1e(0x18b)](_0x47f5b5+0x2*_0x47120a,_0x598b09);_0x14a70a(_0x4880aa,{'height':_0x1beee5,'radius':0x4,'width':_0x5f521e,'fill':_0x4fec8b}),_0x4880aa[_0x316f1e(0x130)]=_0x316f1e(0x28d);const _0x365f7d=_0x47120a,_0x4e10ef=_0x1beee5-_0x40eb52,_0x38b471=_0x598b09-0x2*_0x47120a;if(_0x47f5b5>_0x38b471){let _0x4d0d78='',_0x353469=0x0;for(const _0x3d2010 of _0x59e42b){const _0xfe8345=_0x4880aa[_0x316f1e(0xc3)](_0x3d2010)['width'];if(_0x353469+_0xfe8345<=_0x38b471-_0x4880aa[_0x316f1e(0xc3)](_0x316f1e(0x354))[_0x316f1e(0x1c7)])_0x4d0d78+=_0x3d2010,_0x353469+=_0xfe8345;else{_0x4d0d78+=_0x316f1e(0x354);break;}}_0x4880aa[_0x316f1e(0xfa)](_0x4d0d78,_0x365f7d,_0x4e10ef);}else _0x4880aa['fillText'](_0x59e42b,_0x365f7d,_0x4e10ef);_0x4880aa[_0x316f1e(0x1f7)]();}[_0x5a505c(0x2a6)](_0x2d8fb1){const _0x441901=_0x5a505c;_0x5199f8[_0x441901(0x334)](_0x2d8fb1,this);}}const _0x59ee6a=_0x5a505c(0x1c4),_0xf5cea0='collab-text-range-',_0xa6cfd7=_0x5a505c(0x247),_0x478c75=0x6,_0x42d9c0=1.5,_0x51eede=0x4,_0xad25d=1.5,_0x5ec35b=_0x5a505c(0x2fd);class _0x4c24ee{constructor(_0x21cedb,_0x3bef14,_0x4fbfef,_0x5640bb){const _0x56e63f=_0x5a505c;_0x5c9071(this,_0x56e63f(0x2c8),[]),_0x5c9071(this,'_anchor',null),_0x5c9071(this,_0x56e63f(0x165),null),_0x5c9071(this,_0x56e63f(0x108),null),_0x5c9071(this,_0x56e63f(0x2d2),null),_0x5c9071(this,_0x56e63f(0x20a),null),(this[_0x56e63f(0x212)]=_0x21cedb,this[_0x56e63f(0x32e)]=_0x3bef14,this[_0x56e63f(0x1cd)]=_0x4fbfef,this['_document']=_0x5640bb,this[_0x56e63f(0x149)]());}set[_0x5a505c(0x168)](_0xe2bc5e){const _0x57417f=_0x5a505c;_0xe2bc5e?(this[_0x57417f(0x108)]&&this[_0x57417f(0x108)][_0x57417f(0x163)](),this[_0x57417f(0x165)]&&this['_textBubble'][_0x57417f(0x2fa)]()):(this[_0x57417f(0x108)]&&this['_anchorDot'][_0x57417f(0x2fa)](),this[_0x57417f(0x165)]&&this[_0x57417f(0x165)][_0x57417f(0x163)]());}[_0x5a505c(0x30a)](){const _0x480fe9=_0x5a505c;for(const _0x1fb038 of this[_0x480fe9(0x2c8)])_0x1fb038['dispose']();this[_0x480fe9(0x165)]&&this[_0x480fe9(0x165)][_0x480fe9(0x30a)](),this[_0x480fe9(0x108)]&&this[_0x480fe9(0x108)]['dispose'](),this[_0x480fe9(0x128)]&&this['_anchor']['dispose'](),this[_0x480fe9(0x20a)]&&this['_eventUnsubscribe']();}[_0x5a505c(0x149)](){const _0x3fc4d2=_0x5a505c;var _0xad8587;const {_docSkeleton:_0x54fb93,_document:_0x1e2a20}=this,{color:_0x54b018,name:_0x34ada6,ranges:_0x26f7b2}=this[_0x3fc4d2(0x212)],_0x41410a=_0x1e2a20[_0x3fc4d2(0x34e)](),{docsLeft:_0xab54cb,docsTop:_0xfd53b9}=_0x41410a,_0x52779b=new _0x5e24e0[(_0x3fc4d2(0x10b))](_0x41410a,_0x54fb93);for(const {startOffset:_0x3503eb,endOffset:_0x2ad368,rangeType:_0x3498d0,segmentId:_0x4a6ea4,segmentPage:_0x3a0a6e,collapsed:_0x16f12a,isActive:_0x11b2ff}of _0x26f7b2){const _0x5c9360=_0x54fb93[_0x3fc4d2(0x338)](_0x3503eb,!0x0,_0x4a6ea4,_0x3a0a6e);let _0x3071df=_0x54fb93[_0x3fc4d2(0x338)](_0x2ad368,!0x0,_0x4a6ea4,_0x3a0a6e);if(_0x3071df==null&&(_0x3071df=_0x54fb93['findNodePositionByCharIndex'](_0x2ad368-0x1,!0x1,_0x4a6ea4,_0x3a0a6e)),_0x11b2ff){const {contentBoxPointGroup:_0x644a8}=_0x52779b[_0x3fc4d2(0x156)](_0x3071df,_0x3071df);if(_0x644a8[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x2a2)](_0x54b018,_0x644a8,_0xab54cb,_0xfd53b9,_0x34ada6),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x5c9360&&_0x3071df){if(_0x3498d0===_0x31c42f[_0x3fc4d2(0x2b1)][_0x3fc4d2(0xbd)]){const _0x1a6b01=new _0x5e24e0[(_0x3fc4d2(0x345))](_0x41410a,_0x54fb93),{pointGroup:_0x26d7e2}=(_0xad8587=_0x1a6b01['getRangePointData'](_0x5c9360,_0x3071df))!=null?_0xad8587:{};if(_0x26d7e2==null||_0x26d7e2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0xda)](_0x54b018,_0x26d7e2,_0xab54cb,_0xfd53b9);}else{if(!_0x16f12a){const {borderBoxPointGroup:_0x2cfad2}=_0x52779b['getRangePointData'](_0x5c9360,_0x3071df);if(_0x2cfad2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x33a)](_0x54b018,_0x2cfad2,_0xab54cb,_0xfd53b9);}}}}}[_0x5a505c(0x2a2)](_0x1c47b2,_0x574007,_0x17dd68,_0x231aaf,_0x20c290){const _0x51d47c=_0x5a505c,_0x263e3c=this['_getAnchorBounding'](_0x574007),{left:_0x1f8022,top:_0x4689db,height:_0x43dbe3}=_0x263e3c,_0x1b0255=this[_0x51d47c(0x2ba)](),_0x386cf9=_0xad25d/_0x1b0255,_0x779208=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf,'height':_0x43dbe3,'width':_0x42d9c0,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'strokeWidth':_0x386cf9,'stroke':_0x5ec35b,'evented':!0x0});this['_anchor']=_0x779208,this['_scene'][_0x51d47c(0x28e)](_0x779208,_0x5e24e0['TEXT_RANGE_LAYER_INDEX']);const _0x1daec1=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x51eede/0x2,'height':_0x51eede,'width':_0x51eede,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f['COLORS'][_0x51d47c(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0x1c47b2||_0x1f1202[_0x51d47c(0x1af)](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1daec1,this[_0x51d47c(0x32e)][_0x51d47c(0x28e)](_0x1daec1,_0x5e24e0[_0x51d47c(0x1cc)]);const _0x41b41d=new _0x5199f8(_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x1beee5,'text':_0x20c290,'color':_0x1c47b2});this[_0x51d47c(0x165)]=_0x41b41d,this['_scene']['addObject'](_0x41b41d,_0x5e24e0[_0x51d47c(0x1cc)]),this[_0x51d47c(0x168)]=!0x1;}[_0x5a505c(0x1fc)](){const _0x492a93=_0x5a505c,_0x3fc276=this['_anchor'][_0x492a93(0x2d7)][_0x492a93(0x25e)](()=>{this['_hover']=!0x0;}),_0x2960df=this[_0x492a93(0x128)][_0x492a93(0x2e4)][_0x492a93(0x25e)](()=>{const _0x5e1b12=_0x492a93;this[_0x5e1b12(0x2d2)]&&clearTimeout(this[_0x5e1b12(0x2d2)]),this[_0x5e1b12(0x2d2)]=setTimeout(()=>{const _0x4cec20=_0x5e1b12;this[_0x4cec20(0x168)]=!0x1;},0x7d0);});return()=>{const _0x5d742d=_0x492a93;_0x3fc276['unsubscribe'](),_0x2960df[_0x5d742d(0xdb)]();};}[_0x5a505c(0x33a)](_0x372705,_0x541939,_0x7e9b3f,_0x7ac1ed){const _0x198175=_0x5a505c,_0x3e087c=new _0x31c42f[(_0x198175(0x172))](_0x372705)['setAlpha'](0.2)['toRgbString'](),_0x50f91d=new _0x1f1202[(_0x198175(0xef))](_0xf5cea0+_0x31c42f[_0x198175(0x301)](_0x478c75),{'pointsGroup':_0x541939,'fill':_0x3e087c||_0x1f1202[_0x198175(0x1af)](_0x31c42f[_0x198175(0x1eb)][_0x198175(0x2ed)],0.2),'left':_0x7e9b3f,'top':_0x7ac1ed,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x50f91d),this[_0x198175(0x32e)][_0x198175(0x28e)](_0x50f91d,_0x5e24e0[_0x198175(0x1cc)]);}[_0x5a505c(0xda)](_0x43c4a4,_0xeb14d6,_0x2b2d6c,_0x4fbd66){const _0xdf71f3=_0x5a505c,_0x551df0=new _0x31c42f[(_0xdf71f3(0x172))](_0x43c4a4)[_0xdf71f3(0x17f)](0.2)['toRgbString'](),_0xdf816=new _0x1f1202[(_0xdf71f3(0xef))](_0xa6cfd7+_0x31c42f[_0xdf71f3(0x301)](_0x478c75),{'pointsGroup':_0xeb14d6,'fill':_0x551df0||_0x1f1202['getColor'](_0x31c42f[_0xdf71f3(0x1eb)][_0xdf71f3(0x2ed)],0.2),'left':_0x2b2d6c,'top':_0x4fbd66,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdf71f3(0x2c8)][_0xdf71f3(0x251)](_0xdf816),this[_0xdf71f3(0x32e)][_0xdf71f3(0x28e)](_0xdf816,_0x5e24e0[_0xdf71f3(0x1cc)]);}[_0x5a505c(0x352)](_0x2a4065){const _0x186891=_0x2a4065[0x0],_0x59f1e3=_0x186891[0x0],_0x46c6ff=_0x186891[0x2],{x:_0x44bfb5,y:_0x5325e1}=_0x59f1e3,{x:_0x302087,y:_0x174fea}=_0x46c6ff;return{'left':_0x44bfb5,'top':_0x5325e1,'width':_0x302087-_0x44bfb5,'height':_0x174fea-_0x5325e1};}[_0x5a505c(0x2ba)](){const _0x39a5c7=_0x5a505c,{scaleX:_0x3f1cea,scaleY:_0x2683a6}=this[_0x39a5c7(0x32e)]['getAncestorScale']();return Math['max'](_0x3f1cea,_0x2683a6);}}var _0x1e789e=Object['getOwnPropertyDescriptor'],_0x1f619e=(_0x2e3119,_0x34cff4,_0x232eab,_0x523334)=>{const _0x448efd=_0x5a505c;for(var _0x4e0aff=_0x523334>0x1?void 0x0:_0x523334?_0x1e789e(_0x34cff4,_0x232eab):_0x34cff4,_0x3d5a06=_0x2e3119[_0x448efd(0x171)]-0x1,_0xd62b6d;_0x3d5a06>=0x0;_0x3d5a06--)(_0xd62b6d=_0x2e3119[_0x3d5a06])&&(_0x4e0aff=_0xd62b6d(_0x4e0aff)||_0x4e0aff);return _0x4e0aff;},_0x24fbd9=(_0x294076,_0x9dc97c)=>(_0xbc5d1d,_0x3e0a76)=>_0x9dc97c(_0xbc5d1d,_0x3e0a76,_0x294076);let _0x30fd5f=class extends _0x31c42f['RxDisposable']{constructor(_0x5823e4,_0x516b7d,_0x2af84d,_0x25dd12,_0x232c0a){const _0x3cb8f0=_0x5a505c;super(),_0x5c9071(this,'_cursorShapes',[]),_0x5c9071(this,_0x3cb8f0(0xba),[]),(this[_0x3cb8f0(0x1b8)]=_0x5823e4,this[_0x3cb8f0(0xdf)]=_0x516b7d,this[_0x3cb8f0(0x139)]=_0x2af84d,this['_commandService']=_0x25dd12,this[_0x3cb8f0(0x2e9)]=_0x232c0a,this[_0x3cb8f0(0x323)]());}['_init'](){const _0x26393f=_0x5a505c,_0x1c22e5=this[_0x26393f(0x1b8)][_0x26393f(0x269)],_0xc157af=this[_0x26393f(0xdf)];this['disposeWithMe'](_0x19f1b5[_0x26393f(0x229)]([this['_collabCursorController']['getCollabCursors$'](_0x1c22e5),this[_0x26393f(0x2e9)][_0x26393f(0xd3)]])[_0x26393f(0x321)](_0x456c9e['map'](([_0xd503fd,_0x47b755])=>({'skeleton':_0xc157af['getSkeleton'](),'cursors':[..._0xd503fd[_0x26393f(0x157)]()][_0x26393f(0xbf)](_0x3095ba=>({..._0x3095ba,'color':this['_themeService'][_0x26393f(0x1db)](_0x3095ba[_0x26393f(0x1aa)])}))})))[_0x26393f(0x253)](_0x4489e7=>{const _0x139aef=_0x26393f;if(this[_0x139aef(0x1b2)](),_0x4489e7){const {skeleton:_0x5aba19,cursors:_0x5b3fcd}=_0x4489e7;this[_0x139aef(0x150)](_0x5aba19,_0x5b3fcd);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x5a505c(0x150)](_0x3470d9,_0x14cc78){const _0x4c8370=_0x5a505c,{scene:_0x18d7b7,mainComponent:_0x16a8a5}=this[_0x4c8370(0x1b8)],_0x55a7ae=_0x14cc78[_0x4c8370(0x219)](_0x104752=>new _0x4c24ee(_0x104752,_0x18d7b7,_0x3470d9,_0x16a8a5));this[_0x4c8370(0x200)]=_0x55a7ae,this[_0x4c8370(0xba)]=_0x14cc78;}[_0x5a505c(0x326)](){const _0x47939f=_0x5a505c;this[_0x47939f(0x1b2)]();const {scene:_0x4cc1f5,mainComponent:_0x5a9d43}=this[_0x47939f(0x1b8)],_0x19413d=this[_0x47939f(0xdf)][_0x47939f(0x23f)](),_0x138754=this[_0x47939f(0xba)][_0x47939f(0x219)](_0x29a0e4=>new _0x4c24ee(_0x29a0e4,_0x4cc1f5,_0x19413d,_0x5a9d43));this[_0x47939f(0x200)]=_0x138754;}[_0x5a505c(0x1b2)](){const _0x49586d=_0x5a505c;this[_0x49586d(0x200)]['forEach'](_0x413d33=>_0x413d33[_0x49586d(0x30a)]()),this[_0x49586d(0x200)]=[];}[_0x5a505c(0x124)](){const _0x32ff7e=_0x5a505c,_0x133589=[_0x5e24e0[_0x32ff7e(0xc6)]['id']];this[_0x32ff7e(0x2c7)](this[_0x32ff7e(0x221)][_0x32ff7e(0x123)](_0x170086=>{const _0x3e1fb0=_0x32ff7e;_0x133589[_0x3e1fb0(0x1d7)](_0x170086['id'])&&_0x170086[_0x3e1fb0(0x1ff)][_0x3e1fb0(0x269)]===this[_0x3e1fb0(0x1b8)][_0x3e1fb0(0x269)]&&this[_0x3e1fb0(0x326)]();}));}['_initResize'](){const _0x4ad390=_0x5a505c;this[_0x4ad390(0x2c7)](_0x31c42f[_0x4ad390(0x18a)](this[_0x4ad390(0x1b8)]['engine']['onTransformChange$'])['pipe'](_0x456c9e[_0x4ad390(0x254)](_0x255a0c=>_0x255a0c[_0x4ad390(0x29c)]===_0x1f1202[_0x4ad390(0x333)][_0x4ad390(0x32a)]),_0x456c9e[_0x4ad390(0x1dc)](0x10))[_0x4ad390(0x253)](()=>{const _0x454c47=_0x4ad390;this[_0x454c47(0x326)]();}));}};_0x30fd5f=_0x1f619e([_0x24fbd9(0x1,_0x31c42f['Inject'](_0x3f505f[_0x5a505c(0x2aa)])),_0x24fbd9(0x2,_0x31c42f['Inject'](_0x53c0b4)),_0x24fbd9(0x3,_0x31c42f[_0x5a505c(0xb8)]),_0x24fbd9(0x4,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['ThemeService']))],_0x30fd5f);const _0x4b5a59=0x1,_0x42e9d3=1.5;class _0x2dccfc extends _0x1f1202[_0x5a505c(0x155)]{constructor(_0x19fee8,_0x260568){const _0x7f2b98=_0x5a505c;super(_0x19fee8,_0x260568),_0x5c9071(this,_0x7f2b98(0x15c)),_0x5c9071(this,_0x7f2b98(0x25c),!0x1),_0x5c9071(this,'_range'),_0x5c9071(this,_0x7f2b98(0x21e),''),_0x5c9071(this,_0x7f2b98(0x2ce),_0x7f2b98(0x273)),_0x5c9071(this,_0x7f2b98(0xcc)),(_0x260568&&this[_0x7f2b98(0x20f)](_0x260568),this[_0x7f2b98(0x2d7)][_0x7f2b98(0x25e)](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x0})),this[_0x7f2b98(0x2e4)]['subscribeEvent'](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x1})));}[_0x5a505c(0x20f)](_0x25caea){const _0x27cb91=_0x5a505c;var _0x52d461,_0x2dc199,_0x5d70fc,_0x2d2cd7,_0x412eab,_0x326c71;this['_color']=(_0x52d461=_0x25caea[_0x27cb91(0x1aa)])!=null?_0x52d461:this[_0x27cb91(0x15c)],this[_0x27cb91(0x25c)]=(_0x2dc199=_0x25caea[_0x27cb91(0x1b0)])!=null?_0x2dc199:this[_0x27cb91(0x25c)],this[_0x27cb91(0x164)]=(_0x5d70fc=_0x25caea['range'])!=null?_0x5d70fc:this['_range'],this['_name']=(_0x2d2cd7=_0x25caea['name'])!=null?_0x2d2cd7:this[_0x27cb91(0x21e)],this[_0x27cb91(0x2ce)]=(_0x412eab=_0x25caea[_0x27cb91(0x129)])!=null?_0x412eab:this[_0x27cb91(0x2ce)],this['_backgroundColor']=(_0x326c71=_0x25caea[_0x27cb91(0x106)])!=null?_0x326c71:this['_backgroundColor'],this[_0x27cb91(0xfd)]({'width':_0x25caea[_0x27cb91(0x1c7)],'height':_0x25caea[_0x27cb91(0x22b)]});}['onMouseMove'](_0x4c4cea){const _0xd517a5=_0x5a505c,{row:_0x20148c,column:_0x277603}=_0x4c4cea;if(_0x20148c>=this[_0xd517a5(0x164)][_0xd517a5(0x17a)]&&_0x20148c<=this[_0xd517a5(0x164)][_0xd517a5(0x308)]&&_0x277603>=this['_range'][_0xd517a5(0x30f)]&&_0x277603<=this[_0xd517a5(0x164)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xd517a5(0x20f)]({'hovered':!0x1});}['triggerDblclick'](_0x220ebe){return!0x1;}['_draw'](_0x448418){const _0x5c7b5f=_0x5a505c;_0x1f1202[_0x5c7b5f(0x2fb)][_0x5c7b5f(0x334)](_0x448418,{'width':this[_0x5c7b5f(0x1c7)],'height':this[_0x5c7b5f(0x22b)],'strokeWidth':_0x42e9d3,'stroke':this[_0x5c7b5f(0x15c)],'evented':!0x1,'fill':this[_0x5c7b5f(0xcc)]}),this[_0x5c7b5f(0x25c)]&&(_0x448418[_0x5c7b5f(0x187)](),_0x448418[_0x5c7b5f(0xfc)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c7b5f(0x2ce)]===_0x5c7b5f(0x28b)?0x0:-_0x1beee5),_0x5199f8['drawWith'](_0x448418,{'text':this[_0x5c7b5f(0x21e)],'color':this[_0x5c7b5f(0x15c)]}),_0x448418[_0x5c7b5f(0x1f7)]());}}var _0x6f5e44=Object['getOwnPropertyDescriptor'],_0xfec76b=(_0x52faf4,_0x3474d8,_0x376627,_0x3ce35f)=>{const _0x35e74d=_0x5a505c;for(var _0x5c2b33=_0x3ce35f>0x1?void 0x0:_0x3ce35f?_0x6f5e44(_0x3474d8,_0x376627):_0x3474d8,_0x5765d1=_0x52faf4[_0x35e74d(0x171)]-0x1,_0x41b83f;_0x5765d1>=0x0;_0x5765d1--)(_0x41b83f=_0x52faf4[_0x5765d1])&&(_0x5c2b33=_0x41b83f(_0x5c2b33)||_0x5c2b33);return _0x5c2b33;},_0x431394=(_0x2dd1dc,_0x466b42)=>(_0x32bb9f,_0x5761d9)=>_0x466b42(_0x32bb9f,_0x5761d9,_0x2dd1dc);const _0x420a2a=0x1389;let _0x43f2ff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x583301,_0x226635,_0x4ae004,_0x54ce72){const _0x2a8b8b=_0x5a505c;super(),_0x5c9071(this,'_cursors',new Set()),_0x5c9071(this,_0x2a8b8b(0x12f),null),(this['_context']=_0x583301,this[_0x2a8b8b(0x1a9)]=_0x226635,this[_0x2a8b8b(0x139)]=_0x4ae004,this[_0x2a8b8b(0x2e9)]=_0x54ce72,this[_0x2a8b8b(0x323)]());}[_0x5a505c(0x323)](){const _0x3472aa=_0x5a505c;this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)][_0x3472aa(0x321)](_0x456c9e['takeUntil'](this[_0x3472aa(0x1a1)]),_0x456c9e['switchMap'](_0x477380=>{const _0x2f81cb=_0x3472aa;if(_0x477380){const _0x390d8a=_0x477380[_0x2f81cb(0x1f1)];return _0x19f1b5[_0x2f81cb(0x229)](this[_0x2f81cb(0x139)]['getCollabCursors$'](this['_context'][_0x2f81cb(0x269)]),this[_0x2f81cb(0x2e9)][_0x2f81cb(0xd3)])[_0x2f81cb(0x321)](_0x456c9e[_0x2f81cb(0x219)](([_0x2ca702,_0x55b2f3])=>{const _0x54854b=new Map();return _0x2ca702['forEach']((_0x4005d3,_0x19a3ef)=>{const _0x180ad6=_0x1d10;if(_0x4005d3[_0x180ad6(0x151)]===_0x390d8a){const _0x2f21d5={..._0x4005d3};_0x2f21d5[_0x180ad6(0x1aa)]=this[_0x180ad6(0x2e9)]['getColorFromTheme'](_0x4005d3[_0x180ad6(0x1aa)]),_0x54854b[_0x180ad6(0x277)](_0x19a3ef,_0x2f21d5);}}),{'skeleton':_0x477380,'cursors':_0x54854b};}));}return _0x19f1b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x3472aa(0x253)](({skeleton:_0x17e80d,cursors:_0x30cea2})=>{const _0x5bf3cc=_0x3472aa;this[_0x5bf3cc(0x1b2)](),_0x17e80d&&this[_0x5bf3cc(0x150)](_0x17e80d,_0x30cea2);}),this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)]['subscribe'](_0x2204e9=>{const _0x5576ad=_0x3472aa;if(_0x2204e9==null)return;const {skeleton:_0x515400}=_0x2204e9,{scene:_0x471790}=this['_context'];_0x471790[_0x5576ad(0x206)][_0x5576ad(0x25e)](_0x31c42f[_0x5576ad(0xfb)](_0x44b8f3=>{const _0x16fab1=_0x5576ad;var _0x53b971,_0x35b0a4;const {offsetX:_0x15f87,offsetY:_0x1888f8}=_0x44b8f3,{x:_0x40635c,y:_0x4987be}=_0x471790[_0x16fab1(0x26a)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x15f87,_0x1888f8])),{scaleX:_0x56e17d,scaleY:_0x5acd94}=_0x471790['getAncestorScale'](),_0x41e526=_0x471790[_0x16fab1(0x2cc)](_0x1f1202[_0x16fab1(0x248)][_0x16fab1(0x1f8)]),_0x38d864=_0x471790[_0x16fab1(0x207)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x40635c,_0x4987be]),_0x41e526),_0x423886=_0x515400['getCellPositionByOffset'](_0x15f87,_0x1888f8,_0x56e17d,_0x5acd94,_0x38d864);((_0x53b971=this[_0x16fab1(0x12f)])==null?void 0x0:_0x53b971[_0x16fab1(0x298)])===_0x423886[_0x16fab1(0x298)]&&((_0x35b0a4=this[_0x16fab1(0x12f)])==null?void 0x0:_0x35b0a4[_0x16fab1(0x24a)])===_0x423886['row']||this['_cursors'][_0x16fab1(0x1de)](_0x244fc8=>{const _0x556b83=_0x16fab1;_0x244fc8[_0x556b83(0x2e1)](_0x423886);});},0x64));});}['_updateCollabCursors'](_0x4d5f2c,_0x28edb3){const _0x168f06=_0x5a505c;var _0x3a7084;const _0xf6fd06=(_0x3a7084=this[_0x168f06(0x1a9)][_0x168f06(0x275)]())==null?void 0x0:_0x3a7084[_0x168f06(0xe2)];if(!_0xf6fd06)return;const _0x1e5327=this[_0x168f06(0x27f)]();if(!_0x1e5327)return;this[_0x168f06(0xba)][_0x168f06(0x1de)](_0x3cd357=>{const _0x242207=_0x168f06;_0x3cd357[_0x242207(0x161)]();});const {scene:_0x38ff11}=_0x1e5327,_0xd9098=_0x5ad663(Array[_0x168f06(0x331)](_0x28edb3[_0x168f06(0x157)]()))['map'](_0x39c3c1=>{const _0x500317=_0x168f06,{color:_0x144c97,range:_0x225c97,name:_0x3c0feb,selection:_0x5ae566,sheetID:_0x1625b9}=_0x39c3c1,{startColumn:_0x64c39d,startRow:_0x51e0fa,endColumn:_0x291476,endRow:_0x8a04f9}=_0x225c97,_0x44f4a2=_0x5432d7[_0x500317(0xf6)](_0x51e0fa,_0x64c39d,_0x38ff11,_0xf6fd06),_0xe0c74c=_0x5432d7[_0x500317(0xf6)](_0x8a04f9,_0x291476,_0x38ff11,_0xf6fd06),{columnHeaderHeightAndMarginTop:_0x4cac29}=_0xf6fd06,{startX:_0x502c7c,startY:_0x550cfc}=_0x44f4a2,{endX:_0x50ccf1,endY:_0xa934f7}=_0xe0c74c,_0x35b825=_0x50ccf1-_0x502c7c,_0x32e5d1=_0xa934f7-_0x550cfc,_0x3ad685={'labelPosition':_0x550cfc-_0x4cac29>=_0x1beee5?'top':_0x500317(0x28b),'sheetID':_0x1625b9,'range':_0x225c97,'color':_0x144c97,'name':_0x3c0feb,'selection':_0x5ae566,'left':_0x502c7c,'top':_0x550cfc,'width':_0x35b825,'height':_0x32e5d1,'evented':!0x1,'zIndex':_0x420a2a};return new _0x2dccfc(_0x3c0feb,_0x3ad685);});_0x38ff11[_0x168f06(0x2fc)](_0xd9098,_0x4b5a59),this[_0x168f06(0xba)]=new Set(_0xd9098);}[_0x5a505c(0x1b2)](){const _0x1d70f5=_0x5a505c;var _0x4baa66;(_0x4baa66=this[_0x1d70f5(0xba)])==null||_0x4baa66[_0x1d70f5(0x1de)](_0x2298db=>_0x2298db[_0x1d70f5(0x30a)]());}[_0x5a505c(0x27f)](){const _0x185c36=_0x5a505c;return _0x5432d7[_0x185c36(0x299)](this[_0x185c36(0x1b8)][_0x185c36(0x127)],this[_0x185c36(0x1b8)]);}};_0x43f2ff=_0xfec76b([_0x431394(0x1,_0x31c42f[_0x5a505c(0x107)](_0x5432d7[_0x5a505c(0x169)])),_0x431394(0x2,_0x31c42f[_0x5a505c(0x107)](_0x53c0b4)),_0x431394(0x3,_0x31c42f['Inject'](_0x31c42f[_0x5a505c(0x1b1)]))],_0x43f2ff);function _0x5ad663(_0x6639bd){const _0x39a260=_0x5a505c,_0x182959=new Map();return _0x6639bd[_0x39a260(0x1de)](_0x83fa72=>{const _0x1d0c1e=_0x39a260;if(_0x182959[_0x1d0c1e(0x268)](_0x83fa72[_0x1d0c1e(0x241)])){const _0x37aa2d=_0x182959[_0x1d0c1e(0x2af)](_0x83fa72[_0x1d0c1e(0x241)]);_0x37aa2d['name']+=',\x20'+_0x83fa72[_0x1d0c1e(0xb6)];}else _0x182959[_0x1d0c1e(0x277)](_0x83fa72['selection'],_0x83fa72);}),Array['from'](_0x182959[_0x39a260(0x157)]());}var _0xcac6e0=Object['getOwnPropertyDescriptor'],_0x6a30a6=(_0x2ddf64,_0x4570,_0x39f4fd,_0x46655a)=>{const _0x1fc400=_0x5a505c;for(var _0x1b19cb=_0x46655a>0x1?void 0x0:_0x46655a?_0xcac6e0(_0x4570,_0x39f4fd):_0x4570,_0x44a9c4=_0x2ddf64[_0x1fc400(0x171)]-0x1,_0x15e9c4;_0x44a9c4>=0x0;_0x44a9c4--)(_0x15e9c4=_0x2ddf64[_0x44a9c4])&&(_0x1b19cb=_0x15e9c4(_0x1b19cb)||_0x1b19cb);return _0x1b19cb;},_0x580b3a=(_0x284525,_0x44f353)=>(_0x34ee47,_0x18e1d2)=>_0x44f353(_0x34ee47,_0x18e1d2,_0x284525);let _0x30b96d=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x439c60,_0x2d9fbb,_0x44cd90,_0x469e92,_0x172bc2,_0x145ef0){const _0x1cb4c7=_0x5a505c;super(),this['_beforeCloseService']=_0x439c60,this[_0x1cb4c7(0x337)]=_0x2d9fbb,this[_0x1cb4c7(0x25f)]=_0x44cd90,this['_messageService']=_0x469e92,this[_0x1cb4c7(0x13a)]=_0x172bc2,this['_localeService']=_0x145ef0,this[_0x1cb4c7(0x34f)](),this[_0x1cb4c7(0x1e9)]();}[_0x5a505c(0x34f)](){const _0x5c5edc=_0x5a505c;this['disposeWithMe'](this[_0x5c5edc(0x2d1)][_0x5c5edc(0x144)](()=>{const _0x164c86=_0x5c5edc;if(this[_0x164c86(0x337)][_0x164c86(0x2f7)]['size'])return this[_0x164c86(0x2b2)]['t'](_0x164c86(0x1f4));}));}[_0x5a505c(0x1e9)](){const _0x3a11a5=_0x5a505c;this[_0x3a11a5(0x2c7)](this[_0x3a11a5(0x25f)]['event$'][_0x3a11a5(0x253)](_0x23b136=>{const _0x338820=_0x3a11a5;_0x23b136['id']===_0x250f51[_0x338820(0x359)]['OTHER_CLIENT_EDITING']&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)]['Warning'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1ae))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x232)]&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this['_localeService']['t'](_0x338820(0x2f4))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x316)]&&this[_0x338820(0x13a)][_0x338820(0x2fa)]({'title':this['_localeService']['t'](_0x338820(0x1ed)),'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2a9)),'type':_0x338820(0x2df),'duration':0x0}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0xd4)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2f4))+'('+_0x23b136['data']+')'}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x23b136['data']||'')}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x188)]&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1d1))}),_0x23b136['id']===_0x250f51['CollaborationUIEventId'][_0x338820(0x12a)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x26e))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x338820(0x2f6)][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)]['Error'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x14e))});}));}};_0x30b96d=_0x6a30a6([_0x580b3a(0x0,_0x603ca7[_0x5a505c(0xbe)]),_0x580b3a(0x1,_0x250f51['ILocalCacheService']),_0x580b3a(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x1bd)])),_0x580b3a(0x3,_0x603ca7['IMessageService']),_0x580b3a(0x4,_0x603ca7['INotificationService']),_0x580b3a(0x5,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x30b96d);const _0x4ea5d3=_0x5a505c(0x347),_0x508322={};var _0x549ab2=Object[_0x5a505c(0x239)],_0x33e03a=(_0x57947b,_0x435cd8,_0x4dff83,_0x69f37b)=>{const _0x486bdc=_0x5a505c;for(var _0x4ddfa1=_0x69f37b>0x1?void 0x0:_0x69f37b?_0x549ab2(_0x435cd8,_0x4dff83):_0x435cd8,_0xefeb4=_0x57947b[_0x486bdc(0x171)]-0x1,_0x3f8b72;_0xefeb4>=0x0;_0xefeb4--)(_0x3f8b72=_0x57947b[_0xefeb4])&&(_0x4ddfa1=_0x3f8b72(_0x4ddfa1)||_0x4ddfa1);return _0x4ddfa1;},_0x3d9fce=(_0x27109c,_0x103b97)=>(_0x2a9ee0,_0x3bbcc7)=>_0x103b97(_0x2a9ee0,_0x3bbcc7,_0x27109c);let _0x32157d=class{constructor(_0x114abb,_0x3067b9){const _0x42b98a=_0x5a505c;this['_transformService']=_0x114abb,this[_0x42b98a(0x288)]=_0x3067b9;}[_0x5a505c(0x2b8)](_0x213209){const _0xd756ae=_0x5a505c;this[_0xd756ae(0x203)](_0x213209),this['_transformPreviousActiveRange'](_0x213209);}[_0x5a505c(0x2c0)](_0x5c6a0c){const _0x3e73ca=_0x5a505c,{unitID:_0x4fc982}=_0x5c6a0c,_0x449a80=this[_0x3e73ca(0x288)][_0x3e73ca(0x145)](_0x4fc982)[_0x3e73ca(0x12d)](_0x5e24e0['DocIMEInputManagerService']),{redoCache:_0x10086a}=_0x449a80['getUndoRedoMutationParamsCache']();if(_0x10086a[_0x3e73ca(0x171)]===0x0)return _0x5c6a0c;let _0x3d1d0d=_0x31c42f[_0x3e73ca(0x31f)]['deepClone'](_0x5c6a0c[_0x3e73ca(0x105)][0x0]);for(let _0x3af371=0x0;_0x3af371<_0x10086a['length'];_0x3af371++){const _0x4d4d49={'id':_0x3e73ca(0x10a),'params':{..._0x10086a[_0x3af371]}},_0x28dce4=this['_transformService'][_0x3e73ca(0x180)](_0x3d1d0d,_0x4d4d49,!0x1);if(_0x180e29[_0x3e73ca(0x296)](_0x28dce4))throw _0x28dce4[_0x3e73ca(0x2df)];_0x3d1d0d=_0x28dce4['m1Prime'];}return{..._0x31c42f[_0x3e73ca(0x31f)][_0x3e73ca(0x265)](_0x5c6a0c),'mutations':[_0x3d1d0d]};}[_0x5a505c(0x203)](_0x494c17){const _0x3151a9=_0x5a505c,{unitID:_0x1adc94}=_0x494c17,_0x46665d=this['_renderManagerService'][_0x3151a9(0x145)](_0x1adc94)['with'](_0x5e24e0[_0x3151a9(0xc2)]),{undoCache:_0x4dfeb7,redoCache:_0x101446}=_0x46665d[_0x3151a9(0x31c)]();if(_0x4dfeb7['length']===0x0||_0x101446[_0x3151a9(0x171)]===0x0)return;const _0x1ee615=[],_0x35f5cf=[];let _0x19de98=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]),_0x5d3a13=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]);for(let _0x402ce2=_0x4dfeb7[_0x3151a9(0x171)]-0x1;_0x402ce2>=0x0;_0x402ce2--){const _0x51b7b1={'id':_0x3151a9(0x10a),'params':{..._0x4dfeb7[_0x402ce2]}},_0x41fd78={'id':_0x3151a9(0x10a),'params':{..._0x101446[_0x402ce2]}},_0x23f3c4=this[_0x3151a9(0x1ce)]['transformMutation'](_0x19de98,_0x51b7b1,!0x1),_0x454673=this[_0x3151a9(0x1ce)][_0x3151a9(0x180)](_0x5d3a13,_0x41fd78,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x23f3c4))throw _0x23f3c4['error'];if(_0x180e29['isTransformMutationFailure'](_0x454673))throw _0x454673[_0x3151a9(0x2df)];_0x1ee615['unshift'](_0x23f3c4[_0x3151a9(0x179)][_0x3151a9(0x1ff)]),_0x35f5cf[_0x3151a9(0x346)](_0x454673['m2Prime'][_0x3151a9(0x1ff)]),_0x19de98=_0x23f3c4['m1Prime'],_0x5d3a13=_0x454673[_0x3151a9(0x102)];}_0x46665d[_0x3151a9(0x26b)]({'undoCache':_0x1ee615,'redoCache':_0x35f5cf});}[_0x5a505c(0x1fb)](_0x5ef57c){const _0xd7614e=_0x5a505c,{unitID:_0x274126}=_0x5ef57c,_0x3dd986=this[_0xd7614e(0x288)][_0xd7614e(0x145)](_0x274126)['with'](_0x5e24e0['DocIMEInputManagerService']),_0x212aff=_0x3dd986[_0xd7614e(0xc9)]();if(_0x212aff==null)return;const _0x51a7db=[{'id':_0xd7614e(0x10a),'params':{'unitId':_0x5ef57c[_0xd7614e(0xe3)],'actions':null,'textRanges':[_0x212aff]}}],_0x47307b=this[_0xd7614e(0x1ce)][_0xd7614e(0x11b)](_0x5ef57c,_0x51a7db);if(!_0x180e29[_0xd7614e(0x216)](_0x47307b))throw _0x47307b['error'];const _0x22128c=_0x47307b['m2Prime'][0x0][_0xd7614e(0x1ff)][_0xd7614e(0x339)];Array['isArray'](_0x22128c)&&_0x22128c['length']&&_0x3dd986[_0xd7614e(0x324)](_0x22128c[0x0]);}};_0x32157d=_0x33e03a([_0x3d9fce(0x0,_0x180e29[_0x5a505c(0xd1)]),_0x3d9fce(0x1,_0x1f1202[_0x5a505c(0x33d)])],_0x32157d);var _0x41b817=Object[_0x5a505c(0x239)],_0x362a86=(_0x113bee,_0x557d20,_0x1bc67f,_0x19f3f8)=>{const _0x41a6f5=_0x5a505c;for(var _0x445b00=_0x19f3f8>0x1?void 0x0:_0x19f3f8?_0x41b817(_0x557d20,_0x1bc67f):_0x557d20,_0x1252f1=_0x113bee[_0x41a6f5(0x171)]-0x1,_0x1539fe;_0x1252f1>=0x0;_0x1252f1--)(_0x1539fe=_0x113bee[_0x1252f1])&&(_0x445b00=_0x1539fe(_0x445b00)||_0x445b00);return _0x445b00;},_0xc8f9a4=(_0x32b83f,_0x5029ee)=>(_0x16f251,_0x50215c)=>_0x5029ee(_0x16f251,_0x50215c,_0x32b83f);let _0x4ae234=class{constructor(_0x595d35,_0x5abc86,_0x1f85bc){const _0x4ac243=_0x5a505c;this[_0x4ac243(0x19f)]=_0x595d35,this[_0x4ac243(0x1ce)]=_0x5abc86,this[_0x4ac243(0x1b9)]=_0x1f85bc;}[_0x5a505c(0x30c)](_0x48ec99){const _0xf899d6=_0x5a505c;this[_0xf899d6(0x2e6)](_0x48ec99);}[_0x5a505c(0x2c0)](_0xd6164d){const _0x39d4cb=_0x5a505c,{unitID:_0x900bff}=_0xd6164d,{collaboration:_0x74e2f5}=this['_docStateChangeManagerService'][_0x39d4cb(0x10c)](_0x900bff);if(_0x74e2f5['length']===0x0)return _0xd6164d;let _0x5b00be=_0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d['mutations'][0x0]);for(let _0x459fcd=0x0;_0x459fcd<_0x74e2f5[_0x39d4cb(0x171)];_0x459fcd++){const _0x450118={'id':_0x39d4cb(0x10a),'params':{'unitId':_0x74e2f5[_0x459fcd]['unitId'],..._0x74e2f5[_0x459fcd]['redoState']}},_0x2f9995=this[_0x39d4cb(0x1ce)][_0x39d4cb(0x180)](_0x5b00be,_0x450118,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x2f9995))throw _0x2f9995[_0x39d4cb(0x2df)];_0x5b00be=_0x2f9995[_0x39d4cb(0x102)];}return{..._0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d),'mutations':[_0x5b00be]};}[_0x5a505c(0x2e6)](_0x7e1497){const _0x2da14b=_0x5a505c,{unitID:_0x35868b}=_0x7e1497,{history:_0x23ac1a,collaboration:_0x4b4fc3}=this[_0x2da14b(0x1b9)]['getStateCache'](_0x35868b);if(_0x23ac1a[_0x2da14b(0x171)]===0x0&&_0x4b4fc3[_0x2da14b(0x171)]===0x0)return;const _0x547645=[],_0x2747cc=[];let _0x449696=_0x31c42f['Tools'][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]);for(let _0x58ac6d=_0x23ac1a[_0x2da14b(0x171)]-0x1;_0x58ac6d>=0x0;_0x58ac6d--){const _0x2eb67b={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['undoState']}},_0x5413f7={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['redoState']}},_0x7488c3=this['_transformService'][_0x2da14b(0x180)](_0x449696,_0x2eb67b,!0x1),_0x3777fc=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x2858b9,_0x5413f7,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x7488c3))throw _0x7488c3['error'];if(_0x180e29['isTransformMutationFailure'](_0x3777fc))throw _0x3777fc[_0x2da14b(0x2df)];_0x547645[_0x2da14b(0x346)]({..._0x23ac1a[_0x58ac6d],'undoState':_0x7488c3[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x3777fc['m2Prime'][_0x2da14b(0x1ff)]}),_0x449696=_0x7488c3['m1Prime'],_0x2858b9=_0x3777fc['m1Prime'];}_0x449696=_0x31c42f['Tools']['deepClone'](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497['mutations'][0x0]);for(let _0x31f992=_0x4b4fc3[_0x2da14b(0x171)]-0x1;_0x31f992>=0x0;_0x31f992--){const _0xecff2f={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x30d)]}},_0x11ef14={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x2c6)]}},_0x34fb62=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x449696,_0xecff2f,!0x1),_0x1b1d8f=this['_transformService']['transformMutation'](_0x2858b9,_0x11ef14,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x34fb62))throw _0x34fb62[_0x2da14b(0x2df)];if(_0x180e29['isTransformMutationFailure'](_0x1b1d8f))throw _0x1b1d8f[_0x2da14b(0x2df)];_0x2747cc[_0x2da14b(0x346)]({..._0x4b4fc3[_0x31f992],'undoState':_0x34fb62[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x1b1d8f[_0x2da14b(0x179)][_0x2da14b(0x1ff)]}),_0x449696=_0x34fb62[_0x2da14b(0x102)],_0x2858b9=_0x1b1d8f['m1Prime'];}this[_0x2da14b(0x1b9)][_0x2da14b(0x244)](_0x35868b,{'history':_0x547645,'collaboration':_0x2747cc});}};_0x4ae234=_0x362a86([_0xc8f9a4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0xc8f9a4(0x1,_0x180e29[_0x5a505c(0xd1)]),_0xc8f9a4(0x2,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)]))],_0x4ae234);var _0x330b72=Object[_0x5a505c(0x239)],_0x533161=(_0x2cb5ca,_0x22b123,_0x5baa84,_0x10925e)=>{const _0x2d529=_0x5a505c;for(var _0x2d1df4=_0x10925e>0x1?void 0x0:_0x10925e?_0x330b72(_0x22b123,_0x5baa84):_0x22b123,_0x257d42=_0x2cb5ca[_0x2d529(0x171)]-0x1,_0x5d565d;_0x257d42>=0x0;_0x257d42--)(_0x5d565d=_0x2cb5ca[_0x257d42])&&(_0x2d1df4=_0x5d565d(_0x2d1df4)||_0x2d1df4);return _0x2d1df4;},_0x570a6f=(_0x2f3ee6,_0x117b26)=>(_0x33c073,_0xf43e54)=>_0x117b26(_0x33c073,_0xf43e54,_0x2f3ee6);let _0x2a0891=class{constructor(_0x2fb91e,_0x530d9e){const _0x21a821=_0x5a505c;this[_0x21a821(0x19f)]=_0x2fb91e,this[_0x21a821(0x1ce)]=_0x530d9e;}['transformSelections'](_0xb5e032){const _0x3e6923=_0x5a505c;var _0x18d3b5;const _0x403adb=this[_0x3e6923(0x19f)][_0x3e6923(0x2af)](_0x3f505f['DocSelectionManagerService']),_0xc3a1d7=(_0x18d3b5=_0x403adb['getDocRanges']())!=null?_0x18d3b5:[];if(_0xc3a1d7['length']===0x0)return;const _0x4c5577=_0xb5e032[_0x3e6923(0xe3)],_0x4a5b61=[{'id':_0x3e6923(0x10a),'params':{'unitId':_0x4c5577,'actions':null,'textRanges':_0xc3a1d7}}],_0xf00f3c=this[_0x3e6923(0x1ce)]['transformMutationsWithChangeset'](_0xb5e032,_0x4a5b61);if(!_0x180e29['isTransformMutationsWithChangesetSuccess'](_0xf00f3c))throw _0xf00f3c['error'];const _0x4816a4=_0xf00f3c[_0x3e6923(0x179)][0x0][_0x3e6923(0x1ff)][_0x3e6923(0x339)];Array[_0x3e6923(0x34a)](_0x4816a4)&&_0x4816a4['length']&&_0x403adb[_0x3e6923(0x2ec)](_0x4816a4,{'unitId':_0x4c5577,'subUnitId':_0x4c5577},!0x1);}};_0x2a0891=_0x533161([_0x570a6f(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x570a6f(0x1,_0x180e29['ITransformService'])],_0x2a0891);var _0x1a616b=Object[_0x5a505c(0x239)],_0xe50f0e=(_0x52f3da,_0x2a58f5,_0x1de67f,_0x31b424)=>{const _0x528684=_0x5a505c;for(var _0x137c8c=_0x31b424>0x1?void 0x0:_0x31b424?_0x1a616b(_0x2a58f5,_0x1de67f):_0x2a58f5,_0x19f1a9=_0x52f3da[_0x528684(0x171)]-0x1,_0x3cd398;_0x19f1a9>=0x0;_0x19f1a9--)(_0x3cd398=_0x52f3da[_0x19f1a9])&&(_0x137c8c=_0x3cd398(_0x137c8c)||_0x137c8c);return _0x137c8c;},_0x1da2d6=(_0x4c4c78,_0x56690a)=>(_0x30c5b8,_0x5ec0dc)=>_0x56690a(_0x30c5b8,_0x5ec0dc,_0x4c4c78);let _0x154ed0=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x7df959,_0x48af7a,_0x2acd30,_0x2276cd,_0x8ae605,_0x1ab72e,_0xaa59c2,_0x5410fb){const _0xe43177=_0x5a505c;super(),_0x5c9071(this,_0xe43177(0x162),new _0x19f1b5[(_0xe43177(0x271))](_0x250f51['CollaborationStatus'][_0xe43177(0x183)])),(this[_0xe43177(0x1b9)]=_0x7df959,this['_collaborationController']=_0x48af7a,this[_0xe43177(0x1d9)]=_0x2acd30,this['_docTransformStateCacheService']=_0x2276cd,this[_0xe43177(0x10e)]=_0x8ae605,this[_0xe43177(0xee)]=_0x1ab72e,this[_0xe43177(0x2f6)]=_0xaa59c2,this[_0xe43177(0x2b2)]=_0x5410fb,this[_0xe43177(0x255)]());}['_initEntityListener'](){const _0x5bb781=_0x5a505c;this[_0x5bb781(0x2c7)](this['_collaborationController']['entityInit$'][_0x5bb781(0x253)](_0x132443=>{const _0x3ef345=_0x5bb781,_0x35c3a9=this['_docStateChangeManagerService'][_0x3ef345(0x319)][_0x3ef345(0x253)](_0x212f8c=>{const _0x2477d3=_0x3ef345;if(_0x212f8c==null)return;const {unitId:_0x3151b3,redoState:_0x3196f6,commandId:_0x22c9a7}=_0x212f8c;if(_0x3151b3!==_0x132443[_0x2477d3(0xe3)])return;const _0x43958a={'id':_0x22c9a7,'type':_0x31c42f[_0x2477d3(0x199)][_0x2477d3(0x210)],'params':{'unitId':_0x3151b3,'actions':_0x3196f6[_0x2477d3(0x306)],'textRanges':null}};_0x132443[_0x2477d3(0x285)](_0x43958a);});if(_0x132443[_0x3ef345(0x2c7)](_0x35c3a9),_0x132443 instanceof _0x250f51['DocCollaborationEntity']){const _0x5cf4e4={'onTransformIME':_0x57b7ab=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2b8)](_0x57b7ab),'onTransformState':_0x13a484=>this['_docTransformStateCacheService']['transformStateCache'](_0x13a484),'onTransformSelections':_0x281482=>this['_docTransformSelectionsService'][_0x3ef345(0x2cf)](_0x281482),'onSyncEditingCollabCursor':_0x2ef368=>this['_docSyncEditingCollabCursorService'][_0x3ef345(0x1f2)](_0x2ef368),'onTransformRemoteChangesetByIMECache':_0x4b3d6a=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2c0)](_0x4b3d6a),'onTransformRemoteChangesetByStateCache':_0x3b433a=>this['_docTransformStateCacheService'][_0x3ef345(0x2c0)](_0x3b433a)};_0x132443[_0x3ef345(0x104)](_0x5cf4e4);}}));}};_0x154ed0=_0xe50f0e([_0x1da2d6(0x0,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)])),_0x1da2d6(0x1,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x20c)])),_0x1da2d6(0x2,_0x31c42f[_0x5a505c(0x107)](_0x32157d)),_0x1da2d6(0x3,_0x31c42f[_0x5a505c(0x107)](_0x4ae234)),_0x1da2d6(0x4,_0x31c42f[_0x5a505c(0x107)](_0x2a0891)),_0x1da2d6(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0x1da2d6(0x6,_0x603ca7[_0x5a505c(0x211)]),_0x1da2d6(0x7,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x154ed0);var _0x77052d=Object[_0x5a505c(0x239)],_0x5250e9=(_0x249c77,_0x3a2975,_0x3f6edc,_0x4293e3)=>{const _0x51cca7=_0x5a505c;for(var _0x287c4f=_0x4293e3>0x1?void 0x0:_0x4293e3?_0x77052d(_0x3a2975,_0x3f6edc):_0x3a2975,_0x24d42e=_0x249c77[_0x51cca7(0x171)]-0x1,_0x2056c2;_0x24d42e>=0x0;_0x24d42e--)(_0x2056c2=_0x249c77[_0x24d42e])&&(_0x287c4f=_0x2056c2(_0x287c4f)||_0x287c4f);return _0x287c4f;},_0x1145da=(_0x4fb2f7,_0x5bba3f)=>(_0x2b19b4,_0x367698)=>_0x5bba3f(_0x2b19b4,_0x367698,_0x4fb2f7);let _0x17ecf9=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57cff2,_0x5ddcae,_0x50c854){const _0x58bad1=_0x5a505c;super(),_0x5c9071(this,_0x58bad1(0x228),new Map()),_0x5c9071(this,'_saveTaskMap',new Map()),_0x5c9071(this,_0x58bad1(0x113),!0x1),(this['_configService']=_0x57cff2,this[_0x58bad1(0x1be)]=_0x5ddcae,this['_revisionService']=_0x50c854);}[_0x5a505c(0x1b3)](){const _0x4a2c0c=_0x5a505c;this[_0x4a2c0c(0x113)]=!0x0;}[_0x5a505c(0xcd)](){this['_disabled']=!0x1;}get[_0x5a505c(0x2f7)](){const _0x7baf15=_0x5a505c;return this[_0x7baf15(0x2a7)];}['dispose'](){const _0x377c76=_0x5a505c;this[_0x377c76(0x12b)]()[_0x377c76(0x238)](()=>super[_0x377c76(0x30a)]());}async[_0x5a505c(0x31b)](_0x34e893){const _0x2dbca9=_0x5a505c;return this[_0x2dbca9(0x113)]?null:this[_0x2dbca9(0x1be)][_0x2dbca9(0x313)](_0x250f51[_0x2dbca9(0x2ad)](_0x34e893));}async['saveOfflineData'](_0xc65252,_0x5412c1){const _0x300392=_0x5a505c;return!!this[_0x300392(0x1be)][_0x300392(0x27b)](_0xc65252,_0x5412c1);}[_0x5a505c(0x2f2)](_0x39a1bd,_0xcb39f7,_0x2f970b,_0x11f4f7){const _0x1415ac=_0x5a505c,_0x2ddf5e=this[_0x1415ac(0x173)][_0x1415ac(0x230)](_0x39a1bd);this['_cachedData'][_0x1415ac(0x277)](_0x39a1bd,{'unitID':_0x39a1bd,'type':_0xcb39f7,'awaitingChangeset':_0x2f970b,'mutations':_0x11f4f7,'rev':_0x2ddf5e}),this['_saveTaskMap'][_0x1415ac(0x268)](_0x39a1bd)||this[_0x1415ac(0x143)](_0x39a1bd);}[_0x5a505c(0x143)](_0x4ebc79){const _0x2cb127=_0x5a505c,_0x366c2a=this['_getSaveTimeout']();_0x366c2a===0x0?this[_0x2cb127(0x24b)](_0x4ebc79):this['_saveTaskMap'][_0x2cb127(0x277)](_0x4ebc79,setTimeout(()=>this[_0x2cb127(0x24b)](_0x4ebc79),_0x366c2a));}[_0x5a505c(0x291)](){const _0x53faa0=_0x5a505c;var _0x3e1f25;return(_0x3e1f25=this[_0x53faa0(0x260)][_0x53faa0(0x100)](_0x250f51[_0x53faa0(0x328)]))!=null?_0x3e1f25:_0x250f51[_0x53faa0(0x15b)];}['_saveCache'](_0x2e15af){const _0x9ce3e=_0x5a505c,_0x52b6a6=this['_saveTaskMap'][_0x9ce3e(0x2af)](_0x2e15af);return _0x52b6a6!==void 0x0&&window[_0x9ce3e(0x1a6)](_0x52b6a6),this[_0x9ce3e(0x1be)]['setItem'](_0x250f51[_0x9ce3e(0x2ad)](_0x2e15af),this[_0x9ce3e(0x228)]['get'](_0x2e15af))[_0x9ce3e(0x238)](()=>this[_0x9ce3e(0x2a7)][_0x9ce3e(0x1b5)](_0x2e15af));}async[_0x5a505c(0x12b)](){const _0xf89149=_0x5a505c,_0x1318b4=[];this[_0xf89149(0x2a7)][_0xf89149(0x1de)]((_0x3c14ed,_0x563537)=>{const _0x3ddeec=_0xf89149;window[_0x3ddeec(0x1a6)](_0x3c14ed),_0x1318b4[_0x3ddeec(0x251)](this[_0x3ddeec(0x24b)](_0x563537)['then'](()=>{const _0x5575a6=_0x3ddeec;this['_saveTaskMap'][_0x5575a6(0x1b5)](_0x563537);}));}),await Promise[_0xf89149(0x274)](_0x1318b4);}};_0x17ecf9=_0x5250e9([_0x1145da(0x0,_0x31c42f[_0x5a505c(0x16d)]),_0x1145da(0x1,_0x31c42f['ILocalStorageService']),_0x1145da(0x2,_0x31c42f[_0x5a505c(0x107)](_0x180e29[_0x5a505c(0x177)]))],_0x17ecf9);class _0x323909 extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x425415=_0x5a505c;super(),_0x5c9071(this,_0x425415(0x305)),this[_0x425415(0x305)]=_0x19f1b5[_0x425415(0x1df)](window,_0x425415(0x2e8))[_0x425415(0x321)](_0x19f1b5[_0x425415(0x14c)](this[_0x425415(0x1a1)]),_0x19f1b5[_0x425415(0x2b6)](0x1),_0x19f1b5['mapTo'](void 0x0));}[_0x5a505c(0xcf)](_0x4e69e5,_0x4077e0,_0x21aa65=!0x1){const _0x39217f=_0x5a505c,_0x398c99=new URL(window[_0x39217f(0x15e)][_0x39217f(0x17b)]);_0x398c99[_0x39217f(0x13d)][_0x39217f(0x277)](_0x4e69e5,_0x4077e0),_0x21aa65?window[_0x39217f(0x2b4)][_0x39217f(0x11c)]('','',_0x398c99[_0x39217f(0x2a0)]()):window[_0x39217f(0x2b4)][_0x39217f(0x356)]('','',_0x398c99[_0x39217f(0x2a0)]());}[_0x5a505c(0x1ca)](_0x39c32e,_0x49ad4d=!0x1){const _0xe5c6a1=_0x5a505c,_0x5a355f=new URL(window[_0xe5c6a1(0x15e)]['href']);_0x5a355f[_0xe5c6a1(0x13d)]['delete'](_0x39c32e),_0x49ad4d?window['history'][_0xe5c6a1(0x11c)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]()):window[_0xe5c6a1(0x2b4)][_0xe5c6a1(0x356)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]());}[_0x5a505c(0x131)](_0xcf5707){const _0x34fa90=_0x5a505c;var _0x838a0;return(_0x838a0=new URL(window['location'][_0x34fa90(0x17b)])[_0x34fa90(0x13d)][_0x34fa90(0x2af)](_0xcf5707))!=null?_0x838a0:void 0x0;}}var _0x144a53=Object[_0x5a505c(0x153)],_0x3b87de=Object[_0x5a505c(0x239)],_0x1a8928=(_0x59439c,_0x24a89f,_0x3f3df6)=>_0x24a89f in _0x59439c?_0x144a53(_0x59439c,_0x24a89f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f3df6}):_0x59439c[_0x24a89f]=_0x3f3df6,_0x28f7dd=(_0x1895a7,_0x1841fb,_0x5855ba,_0x2f380c)=>{for(var _0x19230a=_0x2f380c>0x1?void 0x0:_0x2f380c?_0x3b87de(_0x1841fb,_0x5855ba):_0x1841fb,_0xc129a0=_0x1895a7['length']-0x1,_0x415e50;_0xc129a0>=0x0;_0xc129a0--)(_0x415e50=_0x1895a7[_0xc129a0])&&(_0x19230a=_0x415e50(_0x19230a)||_0x19230a);return _0x19230a;},_0x474895=(_0x540d01,_0x13e7bc)=>(_0x2153a0,_0x5bf607)=>_0x13e7bc(_0x2153a0,_0x5bf607,_0x540d01),_0x2f1983=(_0x1d0585,_0x23d979,_0x192176)=>_0x1a8928(_0x1d0585,_0x23d979+'',_0x192176);const _0x5a3036=_0x5a505c(0x309);_0x4853c8[_0x5a505c(0x222)]=class extends _0x31c42f[_0x5a505c(0x103)]{constructor(_0xf8df95=_0x508322,_0x54615b,_0xbffd3a,_0x5e6573){const _0x137720=_0x5a505c;super(),this[_0x137720(0x2b5)]=_0xf8df95,this[_0x137720(0x288)]=_0x54615b,this[_0x137720(0x19f)]=_0xbffd3a,this[_0x137720(0x260)]=_0x5e6573;const {..._0x4d6803}=_0x31c42f[_0x137720(0x30e)]({},_0x508322,this[_0x137720(0x2b5)]);this[_0x137720(0x260)][_0x137720(0x191)](_0x4ea5d3,_0x4d6803);}[_0x5a505c(0x2f3)](){const _0x18f11f=_0x5a505c;this[_0x18f11f(0x29f)](),this[_0x18f11f(0x355)]();}[_0x5a505c(0xf4)](){const _0x2661aa=_0x5a505c;this[_0x2661aa(0x112)]();}['_registerDependencies'](){const _0x4462b3=_0x5a505c;var _0x16658a;const _0x531b53=[[_0x237c9d],[_0x2a0891],[_0x32157d],[_0x4ae234],[_0x17e7cc],[_0x2b3810,{'useClass':_0x323909}],[_0x294bf6['ISocketService'],{'useClass':_0x294bf6[_0x4462b3(0x34c)]}],[_0x250f51['ILocalCacheService'],{'useClass':_0x17ecf9}],[_0x4853c8[_0x4462b3(0x23b)]],[_0x154ed0],[_0x30b96d],[_0x53c0b4],[_0x4c41fe],[_0x4853c8[_0x4462b3(0x26f)]]];_0x31c42f['registerDependencies'](this[_0x4462b3(0x19f)],_0x31c42f[_0x4462b3(0x195)](_0x531b53,(_0x16658a=this['_config'])==null?void 0x0:_0x16658a[_0x4462b3(0x1c0)]));}['_registerRenderDependencies'](){const _0x4ec0d0=_0x5a505c;this[_0x4ec0d0(0x2c7)](this[_0x4ec0d0(0x288)]['registerRenderModule'](_0x31c42f[_0x4ec0d0(0x330)][_0x4ec0d0(0xc8)],[_0x30fd5f])),this[_0x4ec0d0(0x2c7)](this['_renderManagerService']['registerRenderModule'](_0x31c42f['UniverInstanceType'][_0x4ec0d0(0x2dd)],[_0x43f2ff]));}[_0x5a505c(0x355)](){const _0x4e786c=_0x5a505c;_0x31c42f[_0x4e786c(0x293)](this[_0x4e786c(0x19f)],[[_0x53c0b4],[_0x4853c8['DesktopCollaborationStatusDisplayController']],[_0x154ed0],[_0x30b96d],[_0x4853c8['CollaborationDataLoaderController']]]);}},_0x2f1983(_0x4853c8[_0x5a505c(0x222)],_0x5a505c(0x250),_0x5a3036),_0x4853c8[_0x5a505c(0x222)]=_0x28f7dd([_0x31c42f['DependentOn'](_0x250f51[_0x5a505c(0x192)]),_0x474895(0x1,_0x1f1202['IRenderManagerService']),_0x474895(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x474895(0x3,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8['UniverCollaborationClientUIPlugin']);var _0x2849f5=Object[_0x5a505c(0x239)],_0x4d2850=(_0x354dd7,_0x565ef8,_0x15a0e0,_0x18f3c8)=>{for(var _0x690a4e=_0x18f3c8>0x1?void 0x0:_0x18f3c8?_0x2849f5(_0x565ef8,_0x15a0e0):_0x565ef8,_0x511e70=_0x354dd7['length']-0x1,_0x16cb20;_0x511e70>=0x0;_0x511e70--)(_0x16cb20=_0x354dd7[_0x511e70])&&(_0x690a4e=_0x16cb20(_0x690a4e)||_0x690a4e);return _0x690a4e;},_0x7ef8e4=(_0xa1157e,_0x160ef0)=>(_0x1a2bda,_0x188dd5)=>_0x160ef0(_0x1a2bda,_0x188dd5,_0xa1157e);_0x4853c8[_0x5a505c(0x2f9)]=class extends _0x250f51[_0x5a505c(0x258)]{constructor(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2){super(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2);}async[_0x5a505c(0x15d)](_0x46dde1){const _0x164f78=_0x5a505c,_0x54d6ca=await this[_0x164f78(0x14d)](),_0x35ffdd=this['_createSocketURL'](_0x46dde1,_0x54d6ca);return this['_doCreateSocket'](_0x35ffdd);}['_createSocketURL'](_0x396f24,_0x1dfcf3){const _0x345c3b=_0x5a505c,_0x233e69=typeof window>'u'?new URL(_0x396f24):new URL(_0x396f24,window[_0x345c3b(0x15e)][_0x345c3b(0x348)]);_0x233e69['searchParams'][_0x345c3b(0x277)]('sessionTicket',_0x1dfcf3);const _0x52d832=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x345c3b(0x15e)][_0x345c3b(0x1bb)]);return _0x52d832['get'](_0x345c3b(0x259))&&_0x233e69['searchParams'][_0x345c3b(0x277)](_0x345c3b(0x259),_0x52d832[_0x345c3b(0x2af)](_0x345c3b(0x259))),_0x233e69[_0x345c3b(0x2a0)]();}async['_getSessionTicket'](){const _0x24997e=_0x5a505c;var _0xcc85b,_0x2eb047,_0x160062;const _0x4c70f6=this[_0x24997e(0x260)][_0x24997e(0x100)](_0x250f51['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5c915e=(_0xcc85b=_0x4c70f6==null?void 0x0:_0x4c70f6[_0x24997e(0xe7)])!=null?_0xcc85b:_0x250f51[_0x24997e(0x282)];return(_0x160062=(_0x2eb047=(await this['_httpService'][_0x24997e(0x2af)](_0x5c915e,{'headers':{'Content-Type':_0x24997e(0x140)}}))[_0x24997e(0x267)])==null?void 0x0:_0x2eb047[_0x24997e(0x2c1)])!=null?_0x160062:'';}},_0x4853c8['BrowserCollaborationSocketService']=_0x4d2850([_0x7ef8e4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x7ef8e4(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x7ef8e4(0x2,_0x31c42f[_0x5a505c(0x16d)]),_0x7ef8e4(0x3,_0x31c42f[_0x5a505c(0x2c4)]),_0x7ef8e4(0x4,_0x180e29[_0x5a505c(0x22f)])],_0x4853c8['BrowserCollaborationSocketService']);var _0x28bea2=(_0x34eeac=>(_0x34eeac[_0x34eeac['UNDEFINED']=0x0]=_0x5a505c(0x2d0),_0x34eeac[_0x34eeac['OK']=0x1]='OK',_0x34eeac[_0x34eeac[_0x5a505c(0x2bd)]=0x2]=_0x5a505c(0x2bd),_0x34eeac[_0x34eeac['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x34eeac[_0x34eeac['NOT_FOUND']=0x4]='NOT_FOUND',_0x34eeac[_0x34eeac[_0x5a505c(0x1f3)]=0x5]=_0x5a505c(0x1f3),_0x34eeac[_0x34eeac[_0x5a505c(0x2f0)]=0x6]=_0x5a505c(0x2f0),_0x34eeac[_0x34eeac[_0x5a505c(0x137)]=0x7]=_0x5a505c(0x137),_0x34eeac[_0x34eeac[_0x5a505c(0x2ef)]=0x8]=_0x5a505c(0x2ef),_0x34eeac[_0x34eeac[_0x5a505c(0xc7)]=0x9]=_0x5a505c(0xc7),_0x34eeac[_0x34eeac[_0x5a505c(0x218)]=0xa]=_0x5a505c(0x218),_0x34eeac[_0x34eeac[_0x5a505c(0x1bf)]=0xb]=_0x5a505c(0x1bf),_0x34eeac[_0x34eeac[_0x5a505c(0x24e)]=0xc]=_0x5a505c(0x24e),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5a505c(0xbb),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5a505c(0xf2),_0x34eeac[_0x34eeac[_0x5a505c(0x2a3)]=0x1389]=_0x5a505c(0x2a3),_0x34eeac[_0x34eeac[_0x5a505c(0x2e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x34eeac[_0x34eeac[_0x5a505c(0x22c)]=0x1772]=_0x5a505c(0x22c),_0x34eeac[_0x34eeac[_0x5a505c(0x2ca)]=0x1773]=_0x5a505c(0x2ca),_0x34eeac[_0x34eeac[_0x5a505c(0x237)]=0x1b59]=_0x5a505c(0x237),_0x34eeac[_0x34eeac[_0x5a505c(0xb5)]=0x1b5a]=_0x5a505c(0xb5),_0x34eeac[_0x34eeac['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a505c(0xf3),_0x34eeac[_0x34eeac[_0x5a505c(0x1d5)]=0x1b5c]=_0x5a505c(0x1d5),_0x34eeac[_0x34eeac[_0x5a505c(0x166)]=0x1b5d]=_0x5a505c(0x166),_0x34eeac[_0x34eeac['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5a505c(0x1f6),_0x34eeac[_0x34eeac[_0x5a505c(0x16c)]=0x2329]=_0x5a505c(0x16c),_0x34eeac[_0x34eeac[_0x5a505c(0x25d)]=0x232a]=_0x5a505c(0x25d),_0x34eeac[_0x34eeac['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a505c(0x1ee),_0x34eeac[_0x34eeac[_0x5a505c(0x2b0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x34d)]=0x232d]=_0x5a505c(0x34d),_0x34eeac[_0x34eeac['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x34eeac[_0x34eeac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x34eeac[_0x34eeac[_0x5a505c(0x12e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34eeac[_0x34eeac[_0x5a505c(0x283)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34eeac[_0x34eeac['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5a505c(0x1e8),_0x34eeac[_0x34eeac[_0x5a505c(0x27a)]=0x271b]=_0x5a505c(0x27a),_0x34eeac[_0x34eeac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5a505c(0x29b),_0x34eeac[_0x34eeac[_0x5a505c(0x249)]=0x271d]=_0x5a505c(0x249),_0x34eeac[_0x34eeac[_0x5a505c(0x24f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x1ea)]=0x271f]=_0x5a505c(0x1ea),_0x34eeac[_0x34eeac['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5a505c(0x209),_0x34eeac[_0x34eeac[_0x5a505c(0x2bb)]=0x2af9]=_0x5a505c(0x2bb),_0x34eeac[_0x34eeac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5a505c(0x1d3),_0x34eeac[_0x34eeac[_0x5a505c(0x287)]=0x2ee2]=_0x5a505c(0x287),_0x34eeac[_0x34eeac[_0x5a505c(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34eeac[_0x34eeac[_0x5a505c(0x256)]=0x2ee4]=_0x5a505c(0x256),_0x34eeac[_0x34eeac[_0x5a505c(0x17c)]=0x2ee5]=_0x5a505c(0x17c),_0x34eeac[_0x34eeac[_0x5a505c(0x302)]=0x32c9]=_0x5a505c(0x302),_0x34eeac[_0x34eeac[_0x5a505c(0x196)]=0x32ca]=_0x5a505c(0x196),_0x34eeac[_0x34eeac[_0x5a505c(0x23d)]=0x32cb]=_0x5a505c(0x23d),_0x34eeac[_0x34eeac[_0x5a505c(0x31d)]=-0x1]='UNRECOGNIZED',_0x34eeac))(_0x28bea2||{}),_0x396c8c=Object[_0x5a505c(0x239)],_0x239ef1=(_0x183649,_0x3fb6f9,_0x11e450,_0x25068b)=>{const _0x12a1a7=_0x5a505c;for(var _0x278ea9=_0x25068b>0x1?void 0x0:_0x25068b?_0x396c8c(_0x3fb6f9,_0x11e450):_0x3fb6f9,_0x38e045=_0x183649[_0x12a1a7(0x171)]-0x1,_0x5d7efd;_0x38e045>=0x0;_0x38e045--)(_0x5d7efd=_0x183649[_0x38e045])&&(_0x278ea9=_0x5d7efd(_0x278ea9)||_0x278ea9);return _0x278ea9;},_0x19953d=(_0x423441,_0x4136b2)=>(_0x4d64dc,_0x52608a)=>_0x4136b2(_0x4d64dc,_0x52608a,_0x423441);_0x4853c8[_0x5a505c(0xc1)]=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x5b000e,_0x55b398,_0x347379){const _0x2232e8=_0x5a505c;super(),this[_0x2232e8(0x14a)]=_0x5b000e,this[_0x2232e8(0x2ff)]=_0x55b398,this[_0x2232e8(0x260)]=_0x347379;}async[_0x5a505c(0xde)](_0x185176,_0x3ebaa7,_0x1d6f28,..._0x5ec1d9){const _0x196ac3=_0x5a505c;var _0x12ae36,_0x17cc19,_0x5c1233,_0x280201;const _0x41d580=this[_0x196ac3(0x14a)][_0x196ac3(0x290)]();if(!_0x41d580)throw new Error(_0x196ac3(0x2b9));const _0x147419=((_0x12ae36=this[_0x196ac3(0x260)][_0x196ac3(0x100)](_0x250f51[_0x196ac3(0x28a)]))!=null?_0x12ae36:_0x250f51[_0x196ac3(0x178)])+'/'+_0x185176+_0x196ac3(0x261)+_0x3ebaa7,_0x51cccd=new URL(window[_0x196ac3(0x15e)][_0x196ac3(0x17b)]),_0x2a3bed={'scriptId':_0x185176,'runId':(_0x17cc19=_0x51cccd[_0x196ac3(0x13d)]['get'](_0x196ac3(0x259)))!=null?_0x17cc19:'','function':_0x3ebaa7,'unitId':_0x41d580[_0x196ac3(0x262)](),'argsOfFunction':JSON[_0x196ac3(0x1b6)](_0x5ec1d9),'invokeId':(_0x5c1233=_0x1d6f28[_0x196ac3(0x1e0)])!=null?_0x5c1233:'','executionId':(_0x280201=_0x1d6f28['executionId'])!=null?_0x280201:''};try{const _0x699f81=await this['_httpService'][_0x196ac3(0xfe)](_0x147419,{'body':_0x2a3bed});return _0x699f81[_0x196ac3(0x267)][_0x196ac3(0x2df)]&&_0x699f81['body']['error']['code']!==_0x28bea2['OK']?_0x196ac3(0x26c):_0x699f81[_0x196ac3(0x267)][_0x196ac3(0xd2)];}catch{return _0x196ac3(0x26c);}}},_0x4853c8[_0x5a505c(0xc1)]=_0x239ef1([_0x19953d(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x19953d(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x19953d(0x2,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8[_0x5a505c(0xc1)]);const _0x435408=0x7530,_0x3aff14=_0x5a505c(0x19d);class _0x5b753a extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x3fb5ba=_0x5a505c;super(),_0x5c9071(this,'_id',_0x31c42f[_0x3fb5ba(0x301)]()),_0x5c9071(this,_0x3fb5ba(0x358),new Set()),_0x5c9071(this,_0x3fb5ba(0x1e6),new Map()),_0x5c9071(this,_0x3fb5ba(0x20d),null),_0x5c9071(this,_0x3fb5ba(0x19b),new Map()),_0x5c9071(this,'_unitStatus',new Map()),this[_0x3fb5ba(0x323)]();}['dispose'](){const _0x3f8090=_0x5a505c;super[_0x3f8090(0x30a)](),this[_0x3f8090(0x19b)]['forEach']((_0x15fb6b,_0x3b2e14)=>this[_0x3f8090(0x297)](_0x3b2e14)),this['_heartbeatTimer']&&window[_0x3f8090(0x349)](this[_0x3f8090(0x20d)]);}[_0x5a505c(0x29d)](_0x39e84a){const _0x18efdd=_0x5a505c;return this['_ensureSubject'](_0x39e84a)['pipe'](_0x19f1b5[_0x18efdd(0x1f0)]());}['editingUnit'](_0x5f3aea){const _0x4fe7c1=_0x5a505c;this['_selfUnitIDs']['size']===0x0&&this[_0x4fe7c1(0x235)](),this[_0x4fe7c1(0x358)][_0x4fe7c1(0x13c)](_0x5f3aea),this[_0x4fe7c1(0x11f)]({'type':0x0,'memberID':this[_0x4fe7c1(0x1cb)],'unitIDs':[_0x5f3aea],'isForwarded':!0x1});}[_0x5a505c(0x231)](_0x47cca0){const _0x23c92d=_0x5a505c;this[_0x23c92d(0x358)][_0x23c92d(0x1b5)](_0x47cca0),this[_0x23c92d(0x358)]['size']===0x0&&this[_0x23c92d(0x20d)]&&window[_0x23c92d(0x349)](this[_0x23c92d(0x20d)]);}[_0x5a505c(0x323)](){const _0x49c156=_0x5a505c;this[_0x49c156(0x2c7)](_0x31c42f[_0x49c156(0xe0)](_0x19f1b5[_0x49c156(0x1df)](window,_0x49c156(0x2ab))['subscribe'](_0x60786=>{const _0x294efd=_0x49c156;if(_0x60786[_0x294efd(0x234)]!==_0x3aff14||!_0x60786[_0x294efd(0x11a)])return;const _0x22dec2=JSON['parse'](_0x60786[_0x294efd(0x11a)]);this[_0x294efd(0xf8)](_0x22dec2);}))),window[_0x49c156(0x2d8)](_0x49c156(0x13e),()=>this[_0x49c156(0x11f)]({'type':0x1,'memberID':this[_0x49c156(0x1cb)],'unitIDs':Array[_0x49c156(0x331)](this[_0x49c156(0x358)])}));}[_0x5a505c(0xf8)](_0x55136d){const _0x2ccb06=_0x5a505c;switch(_0x55136d[_0x2ccb06(0x29c)]){case 0x0:this[_0x2ccb06(0x19a)](_0x55136d);break;case 0x1:this[_0x2ccb06(0x264)](_0x55136d);break;case 0x2:this['_handleHeartbeatEvent'](_0x55136d);break;}}[_0x5a505c(0x19a)](_0xb125a4){const {unitIDs:_0x36ddcb,memberID:_0x200746,isForwarded:_0x52c4d6}=_0xb125a4;_0x36ddcb['forEach'](_0x4906fe=>{const _0x3e8b0a=_0x1d10;if(!_0x52c4d6&&this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x268)](_0x4906fe)&&this[_0x3e8b0a(0x2eb)](_0x4906fe)[_0x3e8b0a(0x22d)](_0x250f51[_0x3e8b0a(0x2a4)][_0x3e8b0a(0x27d)]),!this['_unitOnClients'][_0x3e8b0a(0x268)](_0x4906fe)||!this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x2af)](_0x4906fe)[_0x3e8b0a(0x268)](_0x200746)){const _0x366231=this['_unitOnClients'][_0x3e8b0a(0x2af)](_0x4906fe)||new Set();_0x366231[_0x3e8b0a(0x13c)](_0x200746),this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x277)](_0x4906fe,_0x366231),this[_0x3e8b0a(0x1b7)](_0x200746);}}),_0x52c4d6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a505c(0x1b7)](_0x55c4b6){const _0x293076=_0x5a505c;this[_0x293076(0x297)](_0x55c4b6);const _0x544be9=window[_0x293076(0x226)](()=>{const _0x1d877c=_0x293076;this[_0x1d877c(0x1e6)][_0x1d877c(0x1de)](_0xd621d=>{const _0x1dd71f=_0x1d877c;_0xd621d[_0x1dd71f(0x1b5)](_0x55c4b6);});},_0x435408*0x2);this[_0x293076(0x19b)]['set'](_0x55c4b6,_0x544be9);}[_0x5a505c(0x297)](_0x1fa57f){const _0xb39406=_0x5a505c;if(this[_0xb39406(0x19b)][_0xb39406(0x268)](_0x1fa57f)){const _0xcc7eba=this[_0xb39406(0x19b)][_0xb39406(0x2af)](_0x1fa57f);_0xcc7eba&&window[_0xb39406(0x1a6)](_0xcc7eba),this[_0xb39406(0x19b)][_0xb39406(0x277)](_0x1fa57f,null);}}[_0x5a505c(0x264)](_0x4519eb){const _0x54907b=_0x5a505c,{memberID:_0x5e9aa3,unitIDs:_0xbae276}=_0x4519eb;_0xbae276[_0x54907b(0x1de)](_0x17bec5=>{const _0x3d58b7=_0x54907b;var _0x321aad;const _0x3b0ca7=this['_unitOnClients'][_0x3d58b7(0x2af)](_0x17bec5);_0x3b0ca7&&(_0x3b0ca7[_0x3d58b7(0x1b5)](_0x5e9aa3),(_0x321aad=this[_0x3d58b7(0x2eb)](_0x17bec5))==null||_0x321aad['next'](_0x3b0ca7[_0x3d58b7(0x148)]===0x0?_0x250f51[_0x3d58b7(0x2a4)][_0x3d58b7(0x1ac)]:_0x250f51[_0x3d58b7(0x2a4)]['OTHER_CLIENTS_EDITING']));}),this[_0x54907b(0x297)](_0x5e9aa3);}['_handleHeartbeatEvent'](_0x30bdaf){this['_scheduleClearOtherTimer'](_0x30bdaf['memberID']);}['_send'](_0x58b3f0){const _0x535448=_0x5a505c;localStorage['setItem'](_0x3aff14,JSON[_0x535448(0x1b6)](_0x58b3f0));}[_0x5a505c(0x235)](){const _0x14023c=_0x5a505c;this[_0x14023c(0x20d)]=window['setInterval'](()=>{const _0x1b2a9e=_0x14023c;this['_send']({'type':0x2,'memberID':this[_0x1b2a9e(0x1cb)]});},_0x435408);}[_0x5a505c(0x2eb)](_0x47404e){const _0x59f408=_0x5a505c;return this[_0x59f408(0x2cd)][_0x59f408(0x268)](_0x47404e)||this[_0x59f408(0x2cd)][_0x59f408(0x277)](_0x47404e,new _0x19f1b5[(_0x59f408(0x271))](_0x250f51[_0x59f408(0x2a4)][_0x59f408(0x1ac)])),this[_0x59f408(0x2cd)][_0x59f408(0x2af)](_0x47404e);}}_0x4853c8[_0x5a505c(0x252)]=_0x2b3810,_0x4853c8[_0x5a505c(0x160)]=_0x2dccfc,_0x4853c8['WebBrowserSingleActiveUnitService']=_0x5b753a,_0x4853c8['WebURLService']=_0x323909,Object[_0x5a505c(0x153)](_0x4853c8,Symbol[_0x5a505c(0x21f)],{'value':_0x5a505c(0x141)});}));
|