@univerjs-pro/collaboration-client-ui 0.10.5-nightly.202508290716 → 0.10.6-experimental.20250903-f52e3bf
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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x10803e,_0x16a4a1){const _0x54bda4=_0xb97a,_0x546d9c=_0x10803e();while(!![]){try{const _0x533741=-parseInt(_0x54bda4(0x24e))/0x1*(-parseInt(_0x54bda4(0x254))/0x2)+-parseInt(_0x54bda4(0xdc))/0x3*(parseInt(_0x54bda4(0x100))/0x4)+-parseInt(_0x54bda4(0x2b0))/0x5+-parseInt(_0x54bda4(0x259))/0x6+parseInt(_0x54bda4(0x2cc))/0x7+parseInt(_0x54bda4(0x261))/0x8*(-parseInt(_0x54bda4(0x271))/0x9)+-parseInt(_0x54bda4(0x275))/0xa*(-parseInt(_0x54bda4(0x283))/0xb);if(_0x533741===_0x16a4a1)break;else _0x546d9c['push'](_0x546d9c['shift']());}catch(_0x472849){_0x546d9c['push'](_0x546d9c['shift']());}}}(_0x1e7c,0x85103),function(_0x1d3a52,_0xac5bb3){const _0x5050a2=_0xb97a;typeof exports==_0x5050a2(0x32c)&&typeof module<'u'?_0xac5bb3(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==_0x5050a2(0x2fe)&&define[_0x5050a2(0x1ca)]?define(['exports',_0x5050a2(0x291),'@univerjs-pro/collaboration-client','@univerjs/core',_0x5050a2(0xcb),_0x5050a2(0x298),'@univerjs/design',_0x5050a2(0x105),_0x5050a2(0x31f),_0x5050a2(0x214),'@univerjs/engine-render',_0x5050a2(0x2c3),_0x5050a2(0x181),'@univerjs/drawing','@univerjs-pro/collaboration',_0x5050a2(0xf0),_0x5050a2(0x12b),_0x5050a2(0x130),_0x5050a2(0x128)],_0xac5bb3):(_0x1d3a52=typeof globalThis<'u'?globalThis:_0x1d3a52||self,_0xac5bb3(_0x1d3a52[_0x5050a2(0x14d)]={},_0x1d3a52[_0x5050a2(0x252)],_0x1d3a52[_0x5050a2(0x2ff)],_0x1d3a52[_0x5050a2(0x22d)],_0x1d3a52[_0x5050a2(0x123)],_0x1d3a52[_0x5050a2(0x298)],_0x1d3a52[_0x5050a2(0x256)],_0x1d3a52[_0x5050a2(0x252)],_0x1d3a52[_0x5050a2(0x278)],_0x1d3a52[_0x5050a2(0x24a)],_0x1d3a52[_0x5050a2(0x2e1)],_0x1d3a52[_0x5050a2(0x342)],_0x1d3a52[_0x5050a2(0x10e)],_0x1d3a52[_0x5050a2(0x2a4)],_0x1d3a52[_0x5050a2(0x1e1)],_0x1d3a52[_0x5050a2(0x19e)],_0x1d3a52['UniverEngineFormula'],_0x1d3a52[_0x5050a2(0x298)]['operators'],_0x1d3a52[_0x5050a2(0x2e2)]));}(this,function(_0x586957,_0x563678,_0x4bd9c3,_0x4a4808,_0x2ace11,_0x40989e,_0x217bfe,_0x487fc7,_0x51b2f9,_0x38d5ed,_0x545a9a,_0x441f4f,_0x5ab035,_0x11f340,_0xc6a6b,_0x83313,_0x4aea54,_0x27cbf7,_0x18d5a0){'use strict';const _0xc3c9ed=_0xb97a;var _0x1aee57=Object[_0xc3c9ed(0x15b)],_0x4f7236=(_0x38d2c6,_0x51151f,_0x11151c)=>_0x51151f in _0x38d2c6?_0x1aee57(_0x38d2c6,_0x51151f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11151c}):_0x38d2c6[_0x51151f]=_0x11151c,_0xc598b2=(_0x572b3d,_0x292250,_0xc6f74d)=>_0x4f7236(_0x572b3d,typeof _0x292250!=_0xc3c9ed(0x2a8)?_0x292250+'':_0x292250,_0xc6f74d),_0x4a0796=function(){const _0x3f1bc7=_0xc3c9ed;return _0x4a0796=Object[_0x3f1bc7(0x306)]||function(_0x418b71){const _0x3bae90=_0x3f1bc7;for(var _0x41b1f3,_0x296699=0x1,_0x34450e=arguments[_0x3bae90(0x1f5)];_0x296699<_0x34450e;_0x296699++){_0x41b1f3=arguments[_0x296699];for(var _0x379c33 in _0x41b1f3)Object[_0x3bae90(0x2c0)][_0x3bae90(0x281)][_0x3bae90(0x116)](_0x41b1f3,_0x379c33)&&(_0x418b71[_0x379c33]=_0x41b1f3[_0x379c33]);}return _0x418b71;},_0x4a0796[_0x3f1bc7(0x175)](this,arguments);},_0x542f4c=function(_0xaca38d,_0xf968be){const _0x371dda=_0xc3c9ed;var _0x3f4cff={};for(var _0x24c9fc in _0xaca38d)Object[_0x371dda(0x2c0)]['hasOwnProperty']['call'](_0xaca38d,_0x24c9fc)&&_0xf968be[_0x371dda(0x239)](_0x24c9fc)<0x0&&(_0x3f4cff[_0x24c9fc]=_0xaca38d[_0x24c9fc]);if(_0xaca38d!=null&&typeof Object[_0x371dda(0x1cd)]==_0x371dda(0x2fe)){for(var _0x3c1c2c=0x0,_0x24c9fc=Object[_0x371dda(0x1cd)](_0xaca38d);_0x3c1c2c<_0x24c9fc[_0x371dda(0x1f5)];_0x3c1c2c++)_0xf968be[_0x371dda(0x239)](_0x24c9fc[_0x3c1c2c])<0x0&&Object[_0x371dda(0x2c0)][_0x371dda(0x154)][_0x371dda(0x116)](_0xaca38d,_0x24c9fc[_0x3c1c2c])&&(_0x3f4cff[_0x24c9fc[_0x3c1c2c]]=_0xaca38d[_0x24c9fc[_0x3c1c2c]]);}return _0x3f4cff;},_0x5aa65e=_0x487fc7[_0xc3c9ed(0x338)](function(_0x342f3b,_0x437264){const _0x24962d=_0xc3c9ed;var _0x18c5a9=_0x342f3b[_0x24962d(0x26c)],_0x2869f5=_0x342f3b['id'],_0x3c16a5=_0x342f3b[_0x24962d(0xe6)],_0xa54584=_0x342f3b[_0x24962d(0x1f9)],_0x16d264=_0x542f4c(_0x342f3b,['icon','id','className','extend']),_0x570e9e='univerjs-icon\x20univerjs-icon-'[_0x24962d(0xc2)](_0x2869f5,'\x20')[_0x24962d(0xc2)](_0x3c16a5||'')[_0x24962d(0x217)](),_0x34fef4=_0x487fc7[_0x24962d(0x104)]('_'[_0x24962d(0xc2)](_0x1ba6c7()));return _0x2eaf39(_0x18c5a9,''[_0x24962d(0xc2)](_0x2869f5),{'defIds':_0x18c5a9[_0x24962d(0x146)],'idSuffix':_0x34fef4[_0x24962d(0x345)]},_0x4a0796({'ref':_0x437264,'className':_0x570e9e},_0x16d264),_0xa54584);});function _0x2eaf39(_0xed3c35,_0x4eba84,_0x45de7e,_0x1905ff,_0x2bcdb0){const _0x1a05ee=_0xc3c9ed;return _0x487fc7[_0x1a05ee(0xd6)](_0xed3c35[_0x1a05ee(0x2ba)],_0x4a0796(_0x4a0796({'key':_0x4eba84},_0x224008(_0xed3c35,_0x45de7e,_0x2bcdb0)),_0x1905ff),(_0xbe03f2(_0xed3c35,_0x45de7e)[_0x1a05ee(0x28c)]||[])[_0x1a05ee(0x22b)](function(_0x119f98,_0x6add25){const _0x308e99=_0x1a05ee;return _0x2eaf39(_0x119f98,''[_0x308e99(0xc2)](_0x4eba84,'-')[_0x308e99(0xc2)](_0xed3c35[_0x308e99(0x2ba)],'-')[_0x308e99(0xc2)](_0x6add25),_0x45de7e,void 0x0,_0x2bcdb0);}));}function _0x224008(_0x464726,_0x4341a8,_0x3c3c24){const _0x463548=_0xc3c9ed;var _0x1bd4f4=_0x4a0796({},_0x464726[_0x463548(0x151)]);_0x3c3c24!=null&&_0x3c3c24[_0x463548(0x19c)]&&_0x1bd4f4['fill']===_0x463548(0x19c)&&(_0x1bd4f4[_0x463548(0x233)]=_0x3c3c24[_0x463548(0x19c)]),_0x464726[_0x463548(0x2ba)]==='mask'&&_0x1bd4f4['id']&&(_0x1bd4f4['id']=_0x1bd4f4['id']+_0x4341a8[_0x463548(0xc7)]),Object['entries'](_0x1bd4f4)[_0x463548(0x2ca)](function(_0x30ba35){const _0x196c75=_0x463548;var _0x330b7c=_0x30ba35[0x0],_0x4f7ffb=_0x30ba35[0x1];_0x330b7c===_0x196c75(0x1da)&&typeof _0x4f7ffb==_0x196c75(0x188)&&(_0x1bd4f4[_0x330b7c]=_0x4f7ffb[_0x196c75(0x1af)](/url\(#(.*)\)/,'url(#$1'[_0x196c75(0xc2)](_0x4341a8[_0x196c75(0xc7)],')')));});var _0x429418=_0x4341a8[_0x463548(0x146)];return!_0x429418||_0x429418[_0x463548(0x1f5)]===0x0||(_0x464726[_0x463548(0x2ba)]===_0x463548(0x11e)&&_0x1bd4f4[_0x463548(0x186)]&&(_0x1bd4f4[_0x463548(0x186)]=_0x1bd4f4[_0x463548(0x186)]+_0x4341a8[_0x463548(0xc7)]),Object[_0x463548(0x2e7)](_0x1bd4f4)[_0x463548(0x2ca)](function(_0x3503ac){const _0xeb2541=_0x463548;var _0x77eae0=_0x3503ac[0x0],_0xf13268=_0x3503ac[0x1];typeof _0xf13268==_0xeb2541(0x188)&&(_0x1bd4f4[_0x77eae0]=_0xf13268['replace'](/url\(#(.*)\)/,_0xeb2541(0x178)[_0xeb2541(0xc2)](_0x4341a8[_0xeb2541(0xc7)],')')));})),_0x1bd4f4;}function _0xbe03f2(_0x40639c,_0x386caa){const _0x14b256=_0xc3c9ed;var _0x4c6dc3,_0x1e8898=_0x386caa[_0x14b256(0x146)];return!_0x1e8898||_0x1e8898[_0x14b256(0x1f5)]===0x0?_0x40639c:_0x40639c[_0x14b256(0x2ba)]===_0x14b256(0x1c5)&&(!((_0x4c6dc3=_0x40639c[_0x14b256(0x28c)])===null||_0x4c6dc3===void 0x0)&&_0x4c6dc3[_0x14b256(0x1f5)])?_0x4a0796(_0x4a0796({},_0x40639c),{'children':_0x40639c[_0x14b256(0x28c)][_0x14b256(0x22b)](function(_0xe829f5){const _0x38afe0=_0x14b256;return typeof _0xe829f5[_0x38afe0(0x151)]['id']=='string'&&_0x1e8898&&_0x1e8898[_0x38afe0(0x10c)](_0xe829f5['attrs']['id'])?_0x4a0796(_0x4a0796({},_0xe829f5),{'attrs':_0x4a0796(_0x4a0796({},_0xe829f5[_0x38afe0(0x151)]),{'id':_0xe829f5[_0x38afe0(0x151)]['id']+_0x386caa[_0x38afe0(0xc7)]})}):_0xe829f5;})}):_0x40639c;}function _0x1ba6c7(){const _0x46fc86=_0xc3c9ed;return Math[_0x46fc86(0x339)]()['toString'](0x24)[_0x46fc86(0x2ee)](0x2,0x8);}_0x5aa65e['displayName']=_0xc3c9ed(0x1fa);var _0x15d015={'tag':_0xc3c9ed(0x1b7),'attrs':{'xmlns':_0xc3c9ed(0x215),'fill':_0xc3c9ed(0x12d),'viewBox':'0\x200\x2016\x2016','width':_0xc3c9ed(0x164),'height':_0xc3c9ed(0x164)},'children':[{'tag':'g','attrs':{'clipPath':_0xc3c9ed(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0xc3c9ed(0x27c),'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':_0xc3c9ed(0x24b),'strokeLinejoin':_0xc3c9ed(0x24b),'strokeWidth':1.2}}]},{'tag':_0xc3c9ed(0x1c5),'attrs':{},'children':[{'tag':_0xc3c9ed(0x346),'attrs':{'id':_0xc3c9ed(0x294)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'fill':_0xc3c9ed(0x299),'d':_0xc3c9ed(0x173)}}]}]}],'defIds':[_0xc3c9ed(0x294)]},_0x477824=_0x487fc7[_0xc3c9ed(0x338)](function(_0x48be34,_0x218ce2){const _0x3c1ec5=_0xc3c9ed;return _0x487fc7['createElement'](_0x5aa65e,Object[_0x3c1ec5(0x306)]({},_0x48be34,{'id':_0x3c1ec5(0x34c),'ref':_0x218ce2,'icon':_0x15d015}));});_0x477824[_0xc3c9ed(0x279)]=_0xc3c9ed(0x29f);var _0x26ec6e={'tag':_0xc3c9ed(0x1b7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xc3c9ed(0x102),'width':'1em','height':_0xc3c9ed(0x164)},'children':[{'tag':'g','attrs':{'clipPath':_0xc3c9ed(0xea)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'stroke':'currentColor','d':_0xc3c9ed(0x141),'strokeLinecap':_0xc3c9ed(0x24b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc3c9ed(0x1c5),'attrs':{},'children':[{'tag':_0xc3c9ed(0x346),'attrs':{'id':_0xc3c9ed(0x351)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'fill':_0xc3c9ed(0x299),'d':_0xc3c9ed(0x173),'transform':_0xc3c9ed(0x295)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x556dbe=_0x487fc7[_0xc3c9ed(0x338)](function(_0x1d82c6,_0x23accb){const _0x566c3b=_0xc3c9ed;return _0x487fc7[_0x566c3b(0xd6)](_0x5aa65e,Object[_0x566c3b(0x306)]({},_0x1d82c6,{'id':_0x566c3b(0x20e),'ref':_0x23accb,'icon':_0x26ec6e}));});_0x556dbe[_0xc3c9ed(0x279)]=_0xc3c9ed(0x289);function _0x3cadb8(_0x252a7e){const _0x357d8b=_0xc3c9ed;switch(_0x252a7e){case _0x4bd9c3[_0x357d8b(0x1f2)]['OFFLINE']:return _0x357d8b(0x20f);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x147)]:return _0x357d8b(0x262);case _0x4bd9c3[_0x357d8b(0x1f2)]['FETCH_MISS']:return _0x357d8b(0x26f);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x205)]:return _0x357d8b(0x241);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x234)]:case _0x4bd9c3[_0x357d8b(0x1f2)]['AWAITING_WITH_PENDING']:return _0x357d8b(0x1b3);case _0x4bd9c3['CollaborationStatus'][_0x357d8b(0x1be)]:case _0x4bd9c3[_0x357d8b(0x1f2)]['PENDING']:return _0x357d8b(0x2c6);}}function _0x4b7daf(_0x15c2dc){const _0x31506c=_0xc3c9ed,{status$:_0x18f3f5}=_0x15c2dc,_0x2a2c52=_0x2ace11['useObservable'](_0x18f3f5,_0x4bd9c3[_0x31506c(0x1f2)][_0x31506c(0x205)]),_0x181587=_0x2ace11['useDependency'](_0x4a4808[_0x31506c(0x328)]),_0x392646=_0x2ace11['useDependency'](_0x4bd9c3[_0x31506c(0x2bc)]),_0x3bb675=_0x2a2c52!==_0x4bd9c3[_0x31506c(0x1f2)][_0x31506c(0x171)],_0x4e0da4=_0x181587['t'](_0x3cadb8(_0x2a2c52)),_0x3936e6=_0x3bb675?_0x563678['jsx'](_0x556dbe,{}):_0x563678['jsx'](_0x477824,{}),_0x240c10=_0x487fc7[_0x31506c(0x2a9)](()=>{const _0x2b2f41=_0x31506c;_0x3bb675||_0x392646[_0x2b2f41(0x140)]();},[_0x3bb675,_0x392646]);function _0x11aa27(){const _0x4d9222=_0x31506c;return _0x563678[_0x4d9222(0x13b)]('div',{'className':_0x4d9222(0x1a2),'onClick':_0x240c10,'children':[_0x563678[_0x4d9222(0x220)]('div',{'className':_0x217bfe[_0x4d9222(0x25a)](_0x4d9222(0x202),{'univer-text-green-500':_0x3bb675,'univer-text-red-500':!_0x3bb675}),'children':_0x3936e6}),_0x563678[_0x4d9222(0x220)](_0x4d9222(0x341),{'className':_0x4d9222(0x17b),'children':_0x4e0da4})]});}return _0x3bb675?_0x11aa27():_0x563678[_0x31506c(0x220)](_0x217bfe[_0x31506c(0x2a5)],{'title':_0x181587['t'](_0x31506c(0xcd)),'children':_0x11aa27()});}var _0x359ca9=Object[_0xc3c9ed(0x25e)],_0x19214b=(_0x2b2d8a,_0x1a069c,_0x549c77,_0x5dc202)=>{for(var _0x132c37=_0x5dc202>0x1?void 0x0:_0x5dc202?_0x359ca9(_0x1a069c,_0x549c77):_0x1a069c,_0x3edf00=_0x2b2d8a['length']-0x1,_0x5ff8c6;_0x3edf00>=0x0;_0x3edf00--)(_0x5ff8c6=_0x2b2d8a[_0x3edf00])&&(_0x132c37=_0x5ff8c6(_0x132c37)||_0x132c37);return _0x132c37;},_0x1f3564=(_0x2b37b8,_0x19400f)=>(_0x316b8f,_0x6a53d2)=>_0x19400f(_0x316b8f,_0x6a53d2,_0x2b37b8);_0x586957[_0xc3c9ed(0x34e)]=class extends _0x4a4808['Disposable']{constructor(_0x4a2a5e,_0x275795,_0x5eaf45,_0x564bd2){const _0x23e58b=_0xc3c9ed;super(),_0xc598b2(this,'_status$',new _0x40989e[(_0x23e58b(0x2d1))](_0x4bd9c3[_0x23e58b(0x1f2)]['NOT_COLLAB'])),(this[_0x23e58b(0xd2)]=_0x4a2a5e,this['_injector']=_0x275795,this[_0x23e58b(0x337)]=_0x5eaf45,this[_0x23e58b(0x2bb)]=_0x564bd2,this[_0x23e58b(0x14b)](),this[_0x23e58b(0x2e6)]());}[_0xc3c9ed(0x2e6)](){const _0x2a94e6=_0xc3c9ed;this['disposeWithMe'](this[_0x2a94e6(0xd2)][_0x2a94e6(0x282)]['pipe'](_0x40989e[_0x2a94e6(0xb8)](()=>{const _0x28d9ab=_0x2a94e6,_0x3600fd=this[_0x28d9ab(0xd2)]['getFocusedUnit']();return _0x3600fd?this[_0x28d9ab(0x337)][_0x28d9ab(0x24d)](_0x3600fd['getUnitId']()):_0x40989e['of'](null);}),_0x40989e[_0x2a94e6(0xb8)](_0xd333ac=>_0xd333ac?_0xd333ac[_0x2a94e6(0x19b)]:_0x40989e['of'](_0x4bd9c3[_0x2a94e6(0x1f2)][_0x2a94e6(0x205)])))['subscribe'](_0x4eb960=>{const _0x5f4c30=_0x2a94e6;this[_0x5f4c30(0xc5)][_0x5f4c30(0x33f)](_0x4eb960);}));}['_initStatusComponent'](){const _0x56b6c=_0xc3c9ed;this[_0x56b6c(0x1fb)](this[_0x56b6c(0x2bb)][_0x56b6c(0xbe)](_0x2ace11[_0x56b6c(0x2a7)][_0x56b6c(0x17d)],()=>_0x2ace11[_0x56b6c(0x29a)](_0xd203e3({'status$':this[_0x56b6c(0xc5)][_0x56b6c(0xf5)]()}),this[_0x56b6c(0x11a)])));}},_0x586957['DesktopCollaborationStatusDisplayController']=_0x19214b([_0x1f3564(0x0,_0x4a4808['IUniverInstanceService']),_0x1f3564(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x1f3564(0x2,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x269)])),_0x1f3564(0x3,_0x2ace11[_0xc3c9ed(0x13d)])],_0x586957[_0xc3c9ed(0x34e)]);function _0xd203e3(_0x2af514){const {status$:_0x5182b8}=_0x2af514;return function(){const _0x48e4d4=_0xb97a;return _0x563678[_0x48e4d4(0x220)](_0x4b7daf,{'status$':_0x5182b8});};}const _0x5a759b=_0x4a4808['createIdentifier']('uni.network.url-service');var _0x2145a2=Object[_0xc3c9ed(0x25e)],_0x2b503d=(_0x3b9bd8,_0x1693aa,_0x52d2e8,_0x16bd10)=>{for(var _0x49272e=_0x16bd10>0x1?void 0x0:_0x16bd10?_0x2145a2(_0x1693aa,_0x52d2e8):_0x1693aa,_0x3eda82=_0x3b9bd8['length']-0x1,_0x301e46;_0x3eda82>=0x0;_0x3eda82--)(_0x301e46=_0x3b9bd8[_0x3eda82])&&(_0x49272e=_0x301e46(_0x49272e)||_0x49272e);return _0x49272e;},_0x46430e=(_0x3326b8,_0x56bf95)=>(_0x1bcb79,_0x37c9cb)=>_0x56bf95(_0x1bcb79,_0x37c9cb,_0x3326b8);_0x586957[_0xc3c9ed(0x332)]=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x268519,_0x3fc2f6,_0x1787ad,_0x491d5e,_0x1a2b0d){const _0x33c401=_0xc3c9ed;super(),this[_0x33c401(0x1e4)]=_0x268519,this[_0x33c401(0x1ab)]=_0x3fc2f6,this[_0x33c401(0x235)]=_0x1787ad,this['_dataLoaderService']=_0x491d5e,_0x1a2b0d?_0x1a2b0d==null||_0x1a2b0d[_0x33c401(0x1c1)]()['then'](()=>this[_0x33c401(0x2f4)]()):(this[_0x33c401(0x1ab)][_0x33c401(0x292)](_0x33c401(0x204),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33c401(0x2f4)]());}async[_0xc3c9ed(0x2f4)](){const _0x209344=_0xc3c9ed,_0x39e4bf=this[_0x209344(0x1e4)]['getParam'](_0x209344(0x1ce)),_0x390de7=this['_urlService']['getParam'](_0x209344(0x196)),_0x2fdf87=this['_urlService'][_0x209344(0x209)](_0x209344(0xfb));if(!_0x39e4bf||!_0x390de7){this[_0x209344(0x1ab)][_0x209344(0x292)](_0x209344(0x204),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3a179f=await this[_0x209344(0x2d0)]['loadUnit'](_0x39e4bf,Number(_0x390de7),_0x2fdf87);_0x3a179f&&_0x3a179f instanceof _0x4a4808[_0x209344(0x28d)]&&this[_0x209344(0x115)](_0x3a179f);}async[_0xc3c9ed(0x115)](_0x1288eb){const _0x521ec1=_0xc3c9ed;await this['_updateSubUnitFromURLParams'](_0x1288eb),_0x1288eb[_0x521ec1(0x117)][_0x521ec1(0x10b)](_0x40989e[_0x521ec1(0x183)](this[_0x521ec1(0x27b)]))[_0x521ec1(0x16e)](_0x9d95e2=>{const _0xf3762=_0x521ec1;_0x9d95e2&&this[_0xf3762(0xfa)](_0x9d95e2);}),this[_0x521ec1(0x1e4)][_0x521ec1(0x161)][_0x521ec1(0x10b)](_0x40989e['takeUntil'](this[_0x521ec1(0x27b)]))[_0x521ec1(0x16e)](()=>this[_0x521ec1(0x15d)](_0x1288eb));}[_0xc3c9ed(0xfa)](_0x4b6ec6,_0x182ac5=!0x1){const _0x3441ab=_0xc3c9ed,_0x47058c=this[_0x3441ab(0x1e4)][_0x3441ab(0x209)]('subunit');_0x4b6ec6['getSheetId']()!==_0x47058c&&this['_urlService']['setParam'](_0x3441ab(0xfb),_0x4b6ec6[_0x3441ab(0x227)](),_0x182ac5);}async[_0xc3c9ed(0x15d)](_0x2565db){const _0x830afb=_0xc3c9ed;var _0x1cb5f1;const _0x25d773=this[_0x830afb(0x1e4)][_0x830afb(0x209)](_0x830afb(0xfb));if(!_0x25d773||!_0x2565db['getSheetBySheetId'](_0x25d773)){const _0x4df579=_0x2565db['getUnhiddenWorksheets']()[0x0],_0x1ed153=_0x2565db[_0x830afb(0x18f)](_0x4df579);if(!_0x1ed153)return;this[_0x830afb(0xfa)](_0x1ed153,!0x0),await this[_0x830afb(0x235)]['executeCommand'](_0x38d5ed['SetWorksheetActivateCommand']['id'],{'unitId':_0x2565db[_0x830afb(0x1de)](),'subUnitId':_0x4df579});return;}((_0x1cb5f1=_0x2565db[_0x830afb(0x255)]())==null?void 0x0:_0x1cb5f1[_0x830afb(0x227)]())!==_0x25d773&&await this[_0x830afb(0x235)][_0x830afb(0x211)](_0x38d5ed[_0x830afb(0x32a)]['id'],{'unitId':_0x2565db['getUnitId'](),'subUnitId':_0x25d773});}},_0x586957['CollaborationDataLoaderController']=_0x2b503d([_0x46430e(0x0,_0x5a759b),_0x46430e(0x1,_0x4a4808[_0xc3c9ed(0x25c)]),_0x46430e(0x2,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x46430e(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3[_0xc3c9ed(0x10a)])),_0x46430e(0x4,_0x4a4808['Optional'](_0x51b2f9[_0xc3c9ed(0x1fd)]))],_0x586957[_0xc3c9ed(0x332)]);var _0x175028=Object['getOwnPropertyDescriptor'],_0xa018f=(_0x3c5f95,_0x17bc3a,_0x97b0b8,_0x55001a)=>{const _0x8e291=_0xc3c9ed;for(var _0xea1ae5=_0x55001a>0x1?void 0x0:_0x55001a?_0x175028(_0x17bc3a,_0x97b0b8):_0x17bc3a,_0x152bf0=_0x3c5f95[_0x8e291(0x1f5)]-0x1,_0x309ff9;_0x152bf0>=0x0;_0x152bf0--)(_0x309ff9=_0x3c5f95[_0x152bf0])&&(_0xea1ae5=_0x309ff9(_0xea1ae5)||_0xea1ae5);return _0xea1ae5;},_0x4e4b10=(_0x2deac9,_0x1ec300)=>(_0x501259,_0x2a023f)=>_0x1ec300(_0x501259,_0x2a023f,_0x2deac9);let _0x22b7b7=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x5c178f,_0x20eb3d){const _0x63d0fd=_0xc3c9ed;super(),this[_0x63d0fd(0x1f7)]=_0x5c178f,this[_0x63d0fd(0x30f)]=_0x20eb3d,this[_0x63d0fd(0x2f4)]();}[_0xc3c9ed(0x2f4)](){const _0x51209f=_0xc3c9ed,_0x272faa=this;this['disposeWithMe'](this[_0x51209f(0x1f7)]['addClipboardHook']({'onBeforePasteImage':async _0x2942b0=>{const _0xf74b13=_0x51209f,_0x56e759=await _0x272faa[_0xf74b13(0x30f)][_0xf74b13(0x1ae)](_0x2942b0);return _0x56e759?{'source':_0x56e759[_0xf74b13(0x280)],'imageSourceType':_0x56e759[_0xf74b13(0xe3)]}:null;}}));}};_0x22b7b7=_0xa018f([_0x4e4b10(0x0,_0x5ab035[_0xc3c9ed(0x225)]),_0x4e4b10(0x1,_0x11f340[_0xc3c9ed(0x1eb)])],_0x22b7b7);const _0x3d6707=[_0xc3c9ed(0xdd),_0xc3c9ed(0x243),'green.600',_0xc3c9ed(0x1f0),_0xc3c9ed(0x34a),_0xc3c9ed(0xd8)];class _0x12959a extends _0x4a4808['Disposable']{constructor(){const _0x1e355a=_0xc3c9ed;super(...arguments),_0xc598b2(this,_0x1e355a(0x101),new Map()),_0xc598b2(this,'_colorIndex',0x0);}[_0xc3c9ed(0x2e3)](_0x1bfdb1){const _0x1b5057=_0xc3c9ed;if(this[_0x1b5057(0x101)]['has'](_0x1bfdb1))return this[_0x1b5057(0x101)][_0x1b5057(0x302)](_0x1bfdb1);const _0x4ba99a=_0x3d6707[this['_colorIndex']];return this[_0x1b5057(0x2a3)]=(this['_colorIndex']+0x1)%_0x3d6707[_0x1b5057(0x1f5)],this[_0x1b5057(0x101)][_0x1b5057(0x1e7)](_0x1bfdb1,_0x4ba99a),_0x4ba99a;}}function _0xdef727(_0xaa14f){let _0x5ed4d7='';for(const _0x2bc5e3 of _0xaa14f){const {startOffset:_0x4b6cb0,endOffset:_0x1d94ba,isActive:_0x12fe35,rangeType:_0x2fd849,segmentId:_0x14957b,segmentPage:_0x3f7c91}=_0x2bc5e3;_0x5ed4d7['length']&&(_0x5ed4d7+=','),_0x5ed4d7+=_0x4b6cb0+':'+_0x1d94ba+':'+(_0x12fe35?'1':'0')+':'+_0x2fd849+':'+_0x14957b+':'+_0x3f7c91;}return _0x5ed4d7;}function _0x4f5d80(_0x2a0e73){const _0x3e97b5=_0xc3c9ed,_0x1b641a=_0x2a0e73[_0x3e97b5(0x290)](','),_0x32ee76=[];for(const _0x3bcafb of _0x1b641a){const [_0x5153cd,_0x460bb1,_0x490294,_0x53acfc,_0x52465c,_0x30a94a]=_0x3bcafb[_0x3e97b5(0x290)](':');_0x32ee76[_0x3e97b5(0x286)]({'startOffset':Number(_0x5153cd),'endOffset':Number(_0x460bb1),'collapsed':_0x5153cd===_0x460bb1,'isActive':_0x490294==='1','rangeType':_0x53acfc===_0x4a4808[_0x3e97b5(0x2f9)]['TEXT']?_0x4a4808[_0x3e97b5(0x2f9)][_0x3e97b5(0xd5)]:_0x4a4808[_0x3e97b5(0x2f9)][_0x3e97b5(0x246)],'segmentId':typeof _0x52465c=='string'?String(_0x52465c):'','segmentPage':Number(_0x30a94a!=null?_0x30a94a:-0x1)});}return _0x32ee76[_0x3e97b5(0x10f)](_0x8ec76a=>_0x8ec76a[_0x3e97b5(0x311)])||(_0x32ee76[0x0][_0x3e97b5(0x311)]=!0x0),_0x32ee76;}class _0x5cb308 extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(){const _0x5a0a83=_0xc3c9ed;super(...arguments),_0xc598b2(this,'_collabCursorState$',new _0x40989e[(_0x5a0a83(0x2d1))](null)),_0xc598b2(this,_0x5a0a83(0x240),this[_0x5a0a83(0x343)]['asObservable']());}['syncEditingCollabCursor'](_0x3bc3fa){const _0x815c4b=_0xc3c9ed,{unitID:_0x17930b,memberID:_0x377cb4,textRanges:_0x113b5c}=_0x3bc3fa,_0xf5482a=_0xdef727(_0x113b5c);if(_0xf5482a==='')return;const _0x315313={'unitID':_0x17930b,'memberID':_0x377cb4,'selection':_0xf5482a};this[_0x815c4b(0x343)]['next'](_0x315313);}}var _0x331617=Object[_0xc3c9ed(0x25e)],_0x4d6d96=(_0xd45842,_0x933ab3,_0x13f8a7,_0x5b4146)=>{const _0x5cca4b=_0xc3c9ed;for(var _0x30d7cb=_0x5b4146>0x1?void 0x0:_0x5b4146?_0x331617(_0x933ab3,_0x13f8a7):_0x933ab3,_0x59ef73=_0xd45842[_0x5cca4b(0x1f5)]-0x1,_0x4d5b7f;_0x59ef73>=0x0;_0x59ef73--)(_0x4d5b7f=_0xd45842[_0x59ef73])&&(_0x30d7cb=_0x4d5b7f(_0x30d7cb)||_0x30d7cb);return _0x30d7cb;},_0x594e13=(_0x39abb7,_0xee0018)=>(_0x475d27,_0x305836)=>_0xee0018(_0x475d27,_0x305836,_0x39abb7);const _0x565d7a=0x12c,_0x4ba459=0x64;let _0x4e614f=class extends _0x4a4808['RxDisposable']{constructor(_0x107eb5,_0x2da061,_0x4f7ae3,_0x56d0b9,_0x4113cf,_0x493e5e,_0x3aa977,_0x4f9549,_0x14f994){const _0xc9f577=_0xc3c9ed;super(),_0xc598b2(this,'_online',!0x1),_0xc598b2(this,'_init',!0x1),_0xc598b2(this,_0xc9f577(0xef),new _0x40989e[(_0xc9f577(0x2d1))](new Map())),_0xc598b2(this,'cursorInfo$',this[_0xc9f577(0xef)][_0xc9f577(0xf5)]()),_0xc598b2(this,_0xc9f577(0x1cf),new _0x40989e[(_0xc9f577(0x2d1))]([])),_0xc598b2(this,'roomMembers$',this[_0xc9f577(0x1cf)][_0xc9f577(0x10b)](_0x40989e[_0xc9f577(0xf9)](_0x565d7a))),_0xc598b2(this,_0xc9f577(0x326),_0x4a4808[_0xc9f577(0x325)](_0x473da4=>{const _0x15962c=_0xc9f577,_0x3596ab={'eventID':_0xc6a6b['CollaborationEvent'][_0x15962c(0xf8)],'data':{'unitID':this[_0x15962c(0x314)],'memberID':this['_session']['getMemberID'](),'selection':_0xdef727(_0x473da4)}};this['_session'][_0x15962c(0x21f)](_0x3596ab,this['unitID']);},_0x4ba459)),(this[_0xc9f577(0x314)]=_0x107eb5,this[_0xc9f577(0x272)]=_0x2da061,this['_injector']=_0x4f7ae3,this[_0xc9f577(0x2aa)]=_0x56d0b9,this[_0xc9f577(0x303)]=_0x4113cf,this[_0xc9f577(0x285)]=_0x493e5e,this['_transformService']=_0x3aa977,this[_0xc9f577(0xd2)]=_0x4f9549,this['_commandService']=_0x14f994);}get[_0xc3c9ed(0x201)](){const _0x375a25=_0xc3c9ed;return this[_0x375a25(0xef)][_0x375a25(0x28f)]();}get[_0xc3c9ed(0x288)](){const _0x1121c4=_0xc3c9ed;return this['_roomMembers$'][_0x1121c4(0x28f)]();}[_0xc3c9ed(0x2c9)](){const _0x20111c=_0xc3c9ed;super[_0x20111c(0x2c9)](),this[_0x20111c(0xef)][_0x20111c(0x33f)](new Map()),this['_cursorInfo$']['complete'](),this[_0x20111c(0x1cf)]['next']([]),this[_0x20111c(0x1cf)][_0x20111c(0x210)]();}[_0xc3c9ed(0x249)](){const _0x3a574d=_0xc3c9ed;this[_0x3a574d(0x2f4)]||(this[_0x3a574d(0x2f4)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x40989e['takeUntil'](this[_0x3a574d(0x27b)]))[_0x3a574d(0x16e)](_0x2117a2=>{const _0x441df2=_0x3a574d;_0x2117a2===_0x4bd9c3[_0x441df2(0x1bd)]['ONLINE']?this[_0x441df2(0xbc)]():this[_0x441df2(0x1e5)]();}),this['_session'][_0x3a574d(0x150)][_0x3a574d(0x10b)](_0x40989e[_0x3a574d(0x183)](this[_0x3a574d(0x27b)]))['subscribe'](_0x51c783=>{const _0x4088f4=_0x3a574d,_0x45ed29=_0x51c783[_0x4088f4(0x26d)];_0x45ed29===_0xc6a6b[_0x4088f4(0x34b)][_0x4088f4(0xf8)]&&this['_onCursorUpdate'](_0x51c783),_0x45ed29===_0xc6a6b[_0x4088f4(0x34b)][_0x4088f4(0x121)]&&this[_0x4088f4(0x33d)](_0x51c783);}),this[_0x3a574d(0x1fb)](this[_0x3a574d(0x235)][_0x3a574d(0x1d8)](_0x59e5ce=>{const _0xe02d52=_0x3a574d,_0x302bf0=_0x59e5ce[_0xe02d52(0x190)];_0x302bf0!=null&&this[_0xe02d52(0x2da)]&&_0x59e5ce['id']===_0x83313[_0xe02d52(0x251)]['id']&&_0x302bf0[_0xe02d52(0x1dd)]===this['unitID']&&_0x302bf0['isEditing']===!0x1&&_0x302bf0[_0xe02d52(0xe5)]['length']>0x0&&this[_0xe02d52(0x326)](_0x302bf0[_0xe02d52(0xe5)]);})),this[_0x3a574d(0x285)][_0x3a574d(0x240)][_0x3a574d(0x10b)](_0x40989e[_0x3a574d(0x183)](this[_0x3a574d(0x27b)]))[_0x3a574d(0x16e)](_0x4c9589=>{const _0x437e86=_0x3a574d;if((_0x4c9589==null?void 0x0:_0x4c9589['unitID'])!==this[_0x437e86(0x314)])return;const _0x3e0e72={'eventID':_0xc6a6b['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x4c9589};this[_0x437e86(0x30c)](_0x3e0e72);}),this[_0x3a574d(0x1fb)](this[_0x3a574d(0x235)][_0x3a574d(0x1d8)](_0xd91696=>{const _0x3ede4b=_0x3a574d;if(_0xd91696[_0x3ede4b(0x190)]==null)return;const _0x1cc117=_0xd91696['params'];if(_0xd91696['id']!==_0x83313[_0x3ede4b(0x114)]['id']||_0x1cc117['unitId']!==this[_0x3ede4b(0x314)])return;const _0x59db8d={'id':'doc.mutation.rich-text-editing','params':_0x1cc117},_0x345394=this['cursorInfo'];for(const [_0x2d7810,_0x5c50b4]of _0x345394){const _0x3af5e5={'id':_0x3ede4b(0xf2),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5c50b4[_0x3ede4b(0xe5)]}},_0x1cdf99=this['_transformService'][_0x3ede4b(0x23a)](_0x59db8d,_0x3af5e5,!0x1);if(_0xc6a6b[_0x3ede4b(0x2f3)](_0x1cdf99))throw _0x1cdf99[_0x3ede4b(0x21c)];_0x345394[_0x3ede4b(0x1e7)](_0x2d7810,{..._0x5c50b4,'ranges':_0x1cdf99['m2Prime'][_0x3ede4b(0x190)][_0x3ede4b(0x12e)]});}queueMicrotask(()=>{const _0x543387=_0x3ede4b;this[_0x543387(0xef)][_0x543387(0x33f)](_0x345394);});})));}[_0xc3c9ed(0x30c)](_0x13fb74){const _0x3617f2=_0xc3c9ed;var _0x1b2920,_0x52b894;const {memberID:_0x30efa2,selection:_0x1d89f5}=_0x13fb74[_0x3617f2(0x2f2)],_0x42c024=_0x4f5d80(_0x1d89f5),_0x471e53=(_0x52b894=(_0x1b2920=this[_0x3617f2(0x303)][_0x3617f2(0x1bb)](this[_0x3617f2(0x314)],_0x30efa2))==null?void 0x0:_0x1b2920[_0x3617f2(0x10d)])!=null?_0x52b894:_0x3617f2(0x158),_0x44a2b2={'color':this[_0x3617f2(0x2aa)][_0x3617f2(0x2e3)](_0x30efa2),'name':_0x471e53,'ranges':_0x42c024},_0xbb6bb6=this['cursorInfo'];_0xbb6bb6[_0x3617f2(0x1e7)](_0x30efa2,_0x44a2b2),this['_cursorInfo$'][_0x3617f2(0x33f)](_0xbb6bb6);}[_0xc3c9ed(0x33d)](_0x1a0ae5){const _0x41c19b=_0xc3c9ed,{memberID:_0x40d535}=_0x1a0ae5[_0x41c19b(0x2f2)],_0x29fcd2=this[_0x41c19b(0x201)];_0x29fcd2[_0x41c19b(0xc9)](_0x40d535),this[_0x41c19b(0xef)][_0x41c19b(0x33f)](_0x29fcd2);}[_0xc3c9ed(0xbc)](){const _0x337ad5=_0xc3c9ed;var _0x362632;if(this['_online']=!0x0,((_0x362632=this[_0x337ad5(0xd2)][_0x337ad5(0x1d1)]())==null?void 0x0:_0x362632[_0x337ad5(0x1de)]())!==this[_0x337ad5(0x314)])return;const _0x645041=this['_injector']['get'](_0x83313[_0x337ad5(0x23c)])['getDocRanges']();Array[_0x337ad5(0x1b2)](_0x645041)&&_0x645041[_0x337ad5(0x1f5)]>0x0&&this[_0x337ad5(0x326)](_0x645041);}[_0xc3c9ed(0x1e5)](){const _0x362285=_0xc3c9ed;this[_0x362285(0x2da)]=!0x1;}};_0x4e614f=_0x4d6d96([_0x594e13(0x2,_0x4a4808['Inject'](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x594e13(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x12959a)),_0x594e13(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3['MemberService'])),_0x594e13(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x5cb308)),_0x594e13(0x6,_0xc6a6b[_0xc3c9ed(0x179)]),_0x594e13(0x7,_0x4a4808['IUniverInstanceService']),_0x594e13(0x8,_0x4a4808['ICommandService'])],_0x4e614f);var _0x1b7424=Object['getOwnPropertyDescriptor'],_0x40b78d=(_0x2291d9,_0x56ea7b,_0xfeb36,_0x257472)=>{for(var _0x33308e=_0x257472>0x1?void 0x0:_0x257472?_0x1b7424(_0x56ea7b,_0xfeb36):_0x56ea7b,_0x37d3bf=_0x2291d9['length']-0x1,_0x45f036;_0x37d3bf>=0x0;_0x37d3bf--)(_0x45f036=_0x2291d9[_0x37d3bf])&&(_0x33308e=_0x45f036(_0x33308e)||_0x33308e);return _0x33308e;},_0x346dfb=(_0x5d20c0,_0x4c4b65)=>(_0x4c7fc6,_0x273c92)=>_0x4c4b65(_0x4c7fc6,_0x273c92,_0x5d20c0);const _0x4bb4e1=0x12c,_0x571833=0x64,_0x4207f6=()=>{let _0x5a5561=[],_0x4f4d0f=!0x1;return _0x322966=>{const _0x932293=_0xb97a;_0x5a5561[_0x932293(0x286)](_0x322966),_0x4f4d0f||(_0x4f4d0f=!0x0,setTimeout(()=>{const _0x58e563=_0x932293;_0x5a5561[_0x58e563(0x2ca)](_0x5ea9b4=>_0x5ea9b4()),_0x5a5561=[],_0x4f4d0f=!0x1;}));};};let _0x1ca7a2=class extends _0x4a4808['RxDisposable']{constructor(_0x50ce20,_0x2b2b77,_0x261e35,_0x302cdd,_0x537066,_0x24271a,_0x59d7d3,_0x1a5701){const _0xd6fb14=_0xc3c9ed;super(),_0xc598b2(this,_0xd6fb14(0x2da),!0x1),_0xc598b2(this,'_init',!0x1),_0xc598b2(this,_0xd6fb14(0xef),new _0x40989e['BehaviorSubject'](new Map())),_0xc598b2(this,_0xd6fb14(0x180),this[_0xd6fb14(0xef)]['asObservable']()),_0xc598b2(this,'_roomMembers$',new _0x40989e[(_0xd6fb14(0x2d1))]([])),_0xc598b2(this,_0xd6fb14(0x32d),this[_0xd6fb14(0x1cf)]['pipe'](_0x40989e['debounceTime'](_0x4bb4e1))),_0xc598b2(this,_0xd6fb14(0x326),_0x4a4808[_0xd6fb14(0x325)]((_0x56f079,_0x1c3af9)=>{const _0x3c7e0f=_0xd6fb14,_0xcbb763={'eventID':_0xc6a6b[_0x3c7e0f(0x34b)][_0x3c7e0f(0xf8)],'data':{'unitID':this[_0x3c7e0f(0x314)],'memberID':this[_0x3c7e0f(0x272)]['getMemberID'](),'selection':_0x4aea54[_0x3c7e0f(0x129)](_0x56f079,_0x1c3af9['range'])}};this[_0x3c7e0f(0x272)]['send'](_0xcbb763,this[_0x3c7e0f(0x314)]);},_0x571833)),(this[_0xd6fb14(0x314)]=_0x50ce20,this[_0xd6fb14(0x272)]=_0x2b2b77,this[_0xd6fb14(0x11a)]=_0x261e35,this[_0xd6fb14(0x2aa)]=_0x302cdd,this['_memberService']=_0x537066,this[_0xd6fb14(0xd2)]=_0x24271a,this[_0xd6fb14(0x235)]=_0x59d7d3,this['_refRangeService']=_0x1a5701);}get[_0xc3c9ed(0x201)](){const _0x3c4e73=_0xc3c9ed;return this[_0x3c4e73(0xef)][_0x3c4e73(0x28f)]();}get['roomMembers'](){const _0x5591ac=_0xc3c9ed;return this[_0x5591ac(0x1cf)][_0x5591ac(0x28f)]();}['dispose'](){const _0x4a54c4=_0xc3c9ed;super[_0x4a54c4(0x2c9)](),this[_0x4a54c4(0xef)][_0x4a54c4(0x33f)](new Map()),this[_0x4a54c4(0xef)][_0x4a54c4(0x210)](),this[_0x4a54c4(0x1cf)][_0x4a54c4(0x33f)]([]),this[_0x4a54c4(0x1cf)][_0x4a54c4(0x210)]();}[_0xc3c9ed(0x249)](){const _0x227a5b=_0xc3c9ed;this['_init']||(this[_0x227a5b(0x2f4)]=!0x0,this[_0x227a5b(0x272)][_0x227a5b(0x1b9)][_0x227a5b(0x10b)](_0x40989e[_0x227a5b(0x183)](this[_0x227a5b(0x27b)]))[_0x227a5b(0x16e)](_0x2073eb=>{const _0x3e5bba=_0x227a5b;_0x2073eb===_0x4bd9c3['SessionStatus'][_0x3e5bba(0x26b)]?this[_0x3e5bba(0xbc)]():this['_toggleOffline']();}),this['_session'][_0x227a5b(0x150)]['pipe'](_0x40989e[_0x227a5b(0x183)](this[_0x227a5b(0x27b)]))['subscribe'](_0x363699=>{const _0xc7d7e=_0x227a5b,_0x32da9d=_0x363699[_0xc7d7e(0x26d)];_0x32da9d===_0xc6a6b[_0xc7d7e(0x34b)][_0xc7d7e(0xf8)]&&this[_0xc7d7e(0x30c)](_0x363699),_0x32da9d===_0xc6a6b[_0xc7d7e(0x34b)][_0xc7d7e(0x121)]&&this[_0xc7d7e(0x33d)](_0x363699);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x227a5b(0x235)][_0x227a5b(0x1d8)](_0x3ebb15=>{const _0x2340d2=_0x227a5b;if(this[_0x2340d2(0x2da)]&&_0x3ebb15['id']===_0x38d5ed['SetSelectionsOperation']['id']&&_0x3ebb15[_0x2340d2(0x190)][_0x2340d2(0x1dd)]===this[_0x2340d2(0x314)]){const _0x5492b0=_0x3ebb15['params'];this[_0x2340d2(0x326)](_0x5492b0[_0x2340d2(0x2be)],_0x5492b0[_0x2340d2(0xe9)][0x0]);}})));}[_0xc3c9ed(0x30c)](_0x3731e0){const _0x76cb94=_0xc3c9ed;var _0x4afe22,_0x3828a4;const {memberID:_0x3ed76c,selection:_0x5cbafa}=_0x3731e0[_0x76cb94(0x2f2)],{sheetName:_0x2f69b7,range:_0x294970}=_0x4aea54[_0x76cb94(0xfc)](_0x5cbafa),_0x325f61={'name':(_0x3828a4=(_0x4afe22=this[_0x76cb94(0x303)][_0x76cb94(0x1bb)](this[_0x76cb94(0x314)],_0x3ed76c))==null?void 0x0:_0x4afe22[_0x76cb94(0x10d)])!=null?_0x3828a4:'Unknown\x20user','range':this[_0x76cb94(0xc6)](_0x2f69b7,_0x294970),'sheetID':_0x2f69b7,'color':this[_0x76cb94(0x2aa)][_0x76cb94(0x2e3)](_0x3ed76c),'selection':_0x5cbafa},_0x4f6037=this[_0x76cb94(0x201)];_0x4f6037[_0x76cb94(0x1e7)](_0x3ed76c,_0x325f61),this[_0x76cb94(0xef)][_0x76cb94(0x33f)](_0x4f6037);}[_0xc3c9ed(0x33d)](_0x2038f8){const _0x2dfa9d=_0xc3c9ed,{memberID:_0x588dad}=_0x2038f8[_0x2dfa9d(0x2f2)],_0x396ae7=this[_0x2dfa9d(0x201)];_0x396ae7[_0x2dfa9d(0xc9)](_0x588dad),this[_0x2dfa9d(0xef)]['next'](_0x396ae7);}[_0xc3c9ed(0xc6)](_0x26d302,_0x3cd12c){const _0x5ab807=_0xc3c9ed;var _0xe7da50,_0x350c50;const _0x18f577=(_0x350c50=(_0xe7da50=this[_0x5ab807(0xd2)]['getUniverSheetInstance'](this[_0x5ab807(0x314)]))==null?void 0x0:_0xe7da50[_0x5ab807(0x18f)](_0x26d302))==null?void 0x0:_0x350c50[_0x5ab807(0x2d3)]();return(_0x18f577==null?void 0x0:_0x18f577[_0x5ab807(0x315)](_0x3d6b4d=>_0x4a4808[_0x5ab807(0x165)]['contains'](_0x3d6b4d,_0x3cd12c)))||_0x3cd12c;}[_0xc3c9ed(0x1c8)](){const _0x5919ca=_0xc3c9ed,_0x206f00=new _0x4a4808[(_0x5919ca(0x2c7))](),_0x22d19e=_0x4207f6(),_0x330479=()=>{const _0x4729b0=_0x5919ca;_0x206f00[_0x4729b0(0x2c9)]();const _0x14f8d6=(_0x26447c,_0xe69bfe,_0x2e5754,_0x245687)=>{const _0x143125=_0x4729b0;let _0x31db41=[];switch(_0x26447c['id']){case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x25d)]:{_0x31db41=_0x38d5ed[_0x143125(0x20d)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x1bc)]:{_0x31db41=_0x38d5ed[_0x143125(0x228)](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId'][_0x143125(0x19f)]:{_0x31db41=_0x38d5ed[_0x143125(0x32e)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['InsertRangeMoveDownCommandId']:{_0x31db41=_0x38d5ed['handleInsertRangeMoveDown'](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x2c8)]:{_0x31db41=_0x38d5ed[_0x143125(0x334)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['InsertRowCommandId']:{_0x31db41=_0x38d5ed[_0x143125(0x168)](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId']['MoveRangeCommandId']:{_0x31db41=_0x38d5ed['handleMoveRange'](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId'][_0x143125(0x320)]:{_0x31db41=_0x38d5ed[_0x143125(0x136)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['RemoveRowCommandId']:{_0x31db41=_0x38d5ed['handleIRemoveRow'](_0x26447c,_0x245687);break;}}const _0x3c3661=_0x38d5ed[_0x143125(0x1c6)](_0x31db41,_0x245687),_0x37203f=this['cursorInfo'][_0x143125(0x302)](_0xe69bfe);if(_0x37203f&&_0x3c3661){const _0x5348ad={..._0x37203f,'range':_0x3c3661};this[_0x143125(0x201)][_0x143125(0x1e7)](_0xe69bfe,_0x5348ad),_0x22d19e(()=>{const _0x41c2f1=_0x143125,_0x27b5c1=this[_0x41c2f1(0x31b)][_0x41c2f1(0x197)](_0x3c3661,_0x209874=>(_0x27b5c1[_0x41c2f1(0x2c9)](),_0x14f8d6(_0x209874,_0xe69bfe,_0x2e5754,_0x3c3661)));_0x206f00[_0x41c2f1(0xf6)](_0x27b5c1);});}return{'redos':[],'undos':[]};};this[_0x4729b0(0x201)][_0x4729b0(0x2ca)]((_0x260491,_0x55fb5f)=>{const _0x14d7ef=_0x4729b0,{range:_0x2d7e8c,sheetID:_0x16ea3a}=_0x260491,_0x15df1c=this[_0x14d7ef(0x31b)]['registerRefRange'](_0x2d7e8c,_0x49f9a8=>(_0x15df1c[_0x14d7ef(0x2c9)](),_0x14f8d6(_0x49f9a8,_0x55fb5f,_0x16ea3a,_0x2d7e8c)));_0x206f00[_0x14d7ef(0xf6)](_0x15df1c);});};this['disposeWithMe'](_0x4a4808['toDisposable'](this[_0x5919ca(0xef)][_0x5919ca(0x16e)](()=>{_0x330479();})));}['_toggleOnline'](){const _0x56182b=_0xc3c9ed;var _0x75288e,_0x4398dd;if(this[_0x56182b(0x2da)]=!0x0,((_0x75288e=this[_0x56182b(0xd2)][_0x56182b(0x1d1)]())==null?void 0x0:_0x75288e[_0x56182b(0x1de)]())!==this[_0x56182b(0x314)])return;const _0x106434=(_0x4398dd=this['_injector']['get'](_0x38d5ed[_0x56182b(0x135)])['getCurrentSelections']())==null?void 0x0:_0x4398dd[0x0],_0x409b61=this[_0x56182b(0xd2)][_0x56182b(0xbd)](_0x4a4808[_0x56182b(0x29e)][_0x56182b(0x301)])['getActiveSheet']();_0x106434&&_0x409b61&&this[_0x56182b(0x326)](_0x409b61[_0x56182b(0x227)](),_0x106434);}[_0xc3c9ed(0x1e5)](){const _0x549029=_0xc3c9ed;this[_0x549029(0x2da)]=!0x1;}};_0x1ca7a2=_0x40b78d([_0x346dfb(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x346dfb(0x3,_0x4a4808['Inject'](_0x12959a)),_0x346dfb(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3['MemberService'])),_0x346dfb(0x5,_0x4a4808[_0xc3c9ed(0x2f7)]),_0x346dfb(0x6,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x346dfb(0x7,_0x4a4808[_0xc3c9ed(0x113)](_0x38d5ed[_0xc3c9ed(0x2ad)]))],_0x1ca7a2);var _0x104f5a=Object[_0xc3c9ed(0x25e)],_0x3891d7=(_0x45404c,_0x66729c,_0x1f618e,_0x1dda94)=>{const _0x500c69=_0xc3c9ed;for(var _0x46ad4e=_0x1dda94>0x1?void 0x0:_0x1dda94?_0x104f5a(_0x66729c,_0x1f618e):_0x66729c,_0x826630=_0x45404c[_0x500c69(0x1f5)]-0x1,_0x542835;_0x826630>=0x0;_0x826630--)(_0x542835=_0x45404c[_0x826630])&&(_0x46ad4e=_0x542835(_0x46ad4e)||_0x46ad4e);return _0x46ad4e;},_0x3316f3=(_0xe36cf6,_0x4653fa)=>(_0x531470,_0x591896)=>_0x4653fa(_0x531470,_0x591896,_0xe36cf6);let _0x4e56a8=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x4a951c,_0x28a655,_0x542cd8){const _0x9e5576=_0xc3c9ed;super(),_0xc598b2(this,'_entities',new Map()),_0xc598b2(this,_0x9e5576(0x2e8),new _0x40989e[(_0x9e5576(0xd9))]()),(this[_0x9e5576(0xd2)]=_0x4a951c,this['_injector']=_0x28a655,this[_0x9e5576(0x111)]=_0x542cd8,this['_init']());}[_0xc3c9ed(0x2c9)](){const _0x51cab4=_0xc3c9ed;super[_0x51cab4(0x2c9)](),this['_entityInit$'][_0x51cab4(0x210)](),this[_0x51cab4(0x349)][_0x51cab4(0x2ca)](_0x4ffad0=>_0x4ffad0[_0x51cab4(0x2c9)]());}[_0xc3c9ed(0x25b)](_0x56915f){const _0x17d17d=_0xc3c9ed;return this[_0x17d17d(0x349)]['has'](_0x56915f)?this[_0x17d17d(0x349)]['get'](_0x56915f)['cursorInfo$']:this[_0x17d17d(0x2e8)]['pipe'](_0x40989e[_0x17d17d(0xba)](_0x237d11=>_0x237d11[_0x17d17d(0x314)]===_0x56915f),_0x40989e[_0x17d17d(0xb8)](_0x40aaef=>_0x40aaef[_0x17d17d(0x180)]));}[_0xc3c9ed(0x2f4)](){const _0x283640=_0xc3c9ed;this[_0x283640(0xd2)][_0x283640(0x13a)](_0x4a4808[_0x283640(0x29e)][_0x283640(0x301)])[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this['dispose$']))['subscribe'](async _0x912ac8=>{const _0x3a6a3b=_0x283640,_0x1013bb=_0x912ac8[_0x3a6a3b(0x1de)](),_0x30f337=await this['_startSheetCollabCursor'](_0x1013bb);this['_entityInit$'][_0x3a6a3b(0x33f)](_0x30f337),this[_0x3a6a3b(0x349)][_0x3a6a3b(0x1e7)](_0x1013bb,_0x30f337);}),this[_0x283640(0xd2)][_0x283640(0x13a)](_0x4a4808['UniverInstanceType'][_0x283640(0x30b)])[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this['dispose$']))[_0x283640(0x10b)](_0x40989e[_0x283640(0xba)](_0x48c965=>!_0x48c965[_0x283640(0x1de)]()['startsWith']('__')))[_0x283640(0x16e)](async _0x54d530=>{const _0x171cd9=_0x283640,_0x4d6e32=_0x54d530[_0x171cd9(0x1de)](),_0x9926ae=await this[_0x171cd9(0xbb)](_0x4d6e32);this[_0x171cd9(0x2e8)][_0x171cd9(0x33f)](_0x9926ae),this[_0x171cd9(0x349)][_0x171cd9(0x1e7)](_0x4d6e32,_0x9926ae);}),_0x40989e[_0x283640(0x2db)](this[_0x283640(0xd2)]['getTypeOfUnitDisposed$'](_0x4a4808[_0x283640(0x29e)][_0x283640(0x30b)]),this['_univerInstanceService'][_0x283640(0x331)](_0x4a4808[_0x283640(0x29e)][_0x283640(0x301)]))[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this[_0x283640(0x27b)]))[_0x283640(0x16e)](_0x2d3f31=>{const _0x54829e=_0x283640,_0x5a91fc=_0x2d3f31[_0x54829e(0x1de)](),_0x5ac906=this[_0x54829e(0x349)][_0x54829e(0x302)](_0x5a91fc);_0x5ac906&&(_0x5ac906[_0x54829e(0x2c9)](),this[_0x54829e(0x349)]['delete'](_0x5a91fc));});}async[_0xc3c9ed(0x22c)](_0x36569e){const _0x2cbfd7=_0xc3c9ed,_0x57414a=await this[_0x2cbfd7(0x111)][_0x2cbfd7(0x1d6)](_0x36569e),_0x4805bf=this[_0x2cbfd7(0x11a)]['createInstance'](_0x1ca7a2,_0x36569e,_0x57414a);return _0x4805bf[_0x2cbfd7(0x249)](),_0x4805bf;}async['_startDocCollabCursor'](_0x41e364){const _0x15e253=_0xc3c9ed,_0x40a10d=await this[_0x15e253(0x111)][_0x15e253(0x1d6)](_0x41e364),_0x59fee8=this[_0x15e253(0x11a)][_0x15e253(0x1c2)](_0x4e614f,_0x41e364,_0x40a10d);return _0x59fee8[_0x15e253(0x249)](),_0x59fee8;}};_0x4e56a8=_0x3891d7([_0x3316f3(0x0,_0x4a4808['IUniverInstanceService']),_0x3316f3(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x3316f3(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3[_0xc3c9ed(0x2bc)]))],_0x4e56a8);const _0xd763e1=0x14,_0x3f5997=0xc8,_0x36745d=0x4,_0x21d6d3=0x5;function _0x11dd55(_0x52191b,_0x5a27cc){const _0x2df5d6=_0xc3c9ed;let {radius:_0x2d7fb2,width:_0x30c3a2,height:_0x2a0fc2}=_0x5a27cc;_0x2d7fb2=_0x2d7fb2!=null?_0x2d7fb2:0x0,_0x30c3a2=_0x30c3a2!=null?_0x30c3a2:0x1e,_0x2a0fc2=_0x2a0fc2!=null?_0x2a0fc2:0x1e;let _0x10f2db=0x0,_0xf949df=0x0,_0x3f7473=0x0;_0x10f2db=_0xf949df=_0x3f7473=Math[_0x2df5d6(0xcf)](_0x2d7fb2,_0x30c3a2/0x2,_0x2a0fc2/0x2),_0x52191b[_0x2df5d6(0x2b8)](),_0x52191b['moveTo'](_0x10f2db,0x0),_0x52191b[_0x2df5d6(0x247)](_0x30c3a2-_0xf949df,0x0),_0x52191b[_0x2df5d6(0xe7)](_0x30c3a2-_0xf949df,_0xf949df,_0xf949df,Math['PI']*0x3/0x2,0x0,!0x1),_0x52191b[_0x2df5d6(0x247)](_0x30c3a2,_0x2a0fc2-_0x3f7473),_0x52191b[_0x2df5d6(0xe7)](_0x30c3a2-_0x3f7473,_0x2a0fc2-_0x3f7473,_0x3f7473,0x0,Math['PI']/0x2,!0x1),_0x52191b['lineTo'](0x0,_0x2a0fc2),_0x52191b[_0x2df5d6(0x247)](0x0,_0x10f2db),_0x52191b[_0x2df5d6(0xe7)](_0x10f2db,_0x10f2db,_0x10f2db,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52191b[_0x2df5d6(0x270)](),_0x5a27cc[_0x2df5d6(0x233)]&&(_0x52191b['save'](),_0x52191b[_0x2df5d6(0x2df)]=_0x5a27cc[_0x2df5d6(0x233)],_0x5a27cc[_0x2df5d6(0x14f)]===_0x2df5d6(0x31a)?_0x52191b[_0x2df5d6(0x233)](_0x2df5d6(0x31a)):_0x52191b['fill'](),_0x52191b[_0x2df5d6(0x32b)]());}class _0xe282fe extends _0x545a9a[_0xc3c9ed(0xee)]{constructor(_0x1b4c87,_0x542fb9){const _0x1ec7c8=_0xc3c9ed;super(_0x1b4c87,_0x542fb9),_0xc598b2(this,_0x1ec7c8(0x2a1)),_0xc598b2(this,_0x1ec7c8(0x2f5)),(this[_0x1ec7c8(0x2a1)]=_0x542fb9==null?void 0x0:_0x542fb9['color'],this['text']=_0x542fb9==null?void 0x0:_0x542fb9[_0x1ec7c8(0x2f5)]);}static['drawWith'](_0x3b6593,_0x5ec62a){const _0x5577d9=_0xc3c9ed,{text:_0x5c0fc2,color:_0x386d2a}=_0x5ec62a;_0x3b6593['save'](),_0x3b6593['font']=_0x5577d9(0x16b);const _0x22beda=_0x3b6593['measureText'](_0x5c0fc2)[_0x5577d9(0xd3)],_0xecc016=Math[_0x5577d9(0xcf)](_0x22beda+0x2*_0x36745d,_0x3f5997);_0x11dd55(_0x3b6593,{'height':_0xd763e1,'radius':0x4,'width':_0xecc016,'fill':_0x386d2a}),_0x3b6593['fillStyle']=_0x5577d9(0x2c2);const _0x36c391=_0x36745d,_0x4dc84c=_0xd763e1-_0x21d6d3,_0xf8423d=_0x3f5997-0x2*_0x36745d;if(_0x22beda>_0xf8423d){let _0x505ea0='',_0x3b137a=0x0;for(const _0x27d3a3 of _0x5c0fc2){const _0x27e713=_0x3b6593['measureText'](_0x27d3a3)['width'];if(_0x3b137a+_0x27e713<=_0xf8423d-_0x3b6593[_0x5577d9(0x2ea)](_0x5577d9(0x2dd))['width'])_0x505ea0+=_0x27d3a3,_0x3b137a+=_0x27e713;else{_0x505ea0+=_0x5577d9(0x2dd);break;}}_0x3b6593[_0x5577d9(0x176)](_0x505ea0,_0x36c391,_0x4dc84c);}else _0x3b6593[_0x5577d9(0x176)](_0x5c0fc2,_0x36c391,_0x4dc84c);_0x3b6593['restore']();}[_0xc3c9ed(0x322)](_0x4a7c48){_0xe282fe['drawWith'](_0x4a7c48,this);}}const _0x4d8ec2='collab-text-anchor-',_0x1caa4e='collab-text-range-',_0x108840='collab-rect-range-',_0x547c39=0x6,_0x2a2f3f=1.5,_0x2a69a4=0x4,_0x186ac0=1.5,_0x5bf845='rgba(255,\x20255,\x20255,\x200.01)';class _0x5b03cd{constructor(_0x4d9ecf,_0x11eb99,_0x2e925b,_0xc8c8ef){const _0x6a1c86=_0xc3c9ed;_0xc598b2(this,_0x6a1c86(0x17f),[]),_0xc598b2(this,'_anchor',null),_0xc598b2(this,'_textBubble',null),_0xc598b2(this,_0x6a1c86(0x1b0),null),_0xc598b2(this,_0x6a1c86(0x287),null),_0xc598b2(this,'_eventUnsubscribe',null),(this[_0x6a1c86(0x193)]=_0x4d9ecf,this[_0x6a1c86(0x20a)]=_0x11eb99,this[_0x6a1c86(0x184)]=_0x2e925b,this['_document']=_0xc8c8ef,this['_render']());}set['_hover'](_0x598796){const _0x3239db=_0xc3c9ed;_0x598796?(this[_0x3239db(0x1b0)]&&this['_anchorDot'][_0x3239db(0xc3)](),this[_0x3239db(0x212)]&&this[_0x3239db(0x212)]['show']()):(this['_anchorDot']&&this[_0x3239db(0x1b0)]['show'](),this[_0x3239db(0x212)]&&this['_textBubble'][_0x3239db(0xc3)]());}[_0xc3c9ed(0x2c9)](){const _0x33bf0f=_0xc3c9ed;for(const _0x278bc2 of this[_0x33bf0f(0x17f)])_0x278bc2[_0x33bf0f(0x2c9)]();this[_0x33bf0f(0x212)]&&this[_0x33bf0f(0x212)]['dispose'](),this[_0x33bf0f(0x1b0)]&&this[_0x33bf0f(0x1b0)][_0x33bf0f(0x2c9)](),this[_0x33bf0f(0x2e5)]&&this[_0x33bf0f(0x2e5)]['dispose'](),this[_0x33bf0f(0x319)]&&this['_eventUnsubscribe']();}[_0xc3c9ed(0x2cd)](){const _0x2f47ae=_0xc3c9ed;var _0x2ae58a;const {_docSkeleton:_0x1989d6,_document:_0xacf329}=this,{color:_0x4398ca,name:_0x5721d3,ranges:_0x38f038}=this['_cursor'],_0x209450=_0xacf329[_0x2f47ae(0x19d)](),{docsLeft:_0xf2cb2a,docsTop:_0x3f56c4}=_0x209450,_0x1b77b4=new _0x5ab035[(_0x2f47ae(0x1d0))](_0x209450,_0x1989d6);for(const {startOffset:_0x19ca68,endOffset:_0x3599ac,rangeType:_0x26c49d,segmentId:_0x54c86f,segmentPage:_0xb0ba15,collapsed:_0x5594c2,isActive:_0x1bd09f}of _0x38f038){const _0x37d34e=_0x1989d6[_0x2f47ae(0xf7)](_0x19ca68,!0x0,_0x54c86f,_0xb0ba15);let _0xdd16f7=_0x1989d6[_0x2f47ae(0xf7)](_0x3599ac,!0x0,_0x54c86f,_0xb0ba15);if(_0xdd16f7==null&&(_0xdd16f7=_0x1989d6[_0x2f47ae(0xf7)](_0x3599ac-0x1,!0x1,_0x54c86f,_0xb0ba15)),_0x1bd09f){const {contentBoxPointGroup:_0x5c858c}=_0x1b77b4[_0x2f47ae(0x258)](_0xdd16f7,_0xdd16f7);if(_0x5c858c[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x29d)](_0x4398ca,_0x5c858c,_0xf2cb2a,_0x3f56c4,_0x5721d3),this[_0x2f47ae(0x319)]=this[_0x2f47ae(0x120)]();}if(_0x37d34e&&_0xdd16f7){if(_0x26c49d===_0x4a4808[_0x2f47ae(0x2f9)][_0x2f47ae(0x246)]){const _0x35fff8=new _0x5ab035['NodePositionConvertToRectRange'](_0x209450,_0x1989d6),{pointGroup:_0x7e27d0}=(_0x2ae58a=_0x35fff8['getRangePointData'](_0x37d34e,_0xdd16f7))!=null?_0x2ae58a:{};if(_0x7e27d0==null||_0x7e27d0[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x305)](_0x4398ca,_0x7e27d0,_0xf2cb2a,_0x3f56c4);}else{if(!_0x5594c2){const {borderBoxPointGroup:_0xbfd940}=_0x1b77b4['getRangePointData'](_0x37d34e,_0xdd16f7);if(_0xbfd940[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x2af)](_0x4398ca,_0xbfd940,_0xf2cb2a,_0x3f56c4);}}}}}[_0xc3c9ed(0x29d)](_0x54129e,_0x24be11,_0x16e6ec,_0x3becfc,_0x1f8a96){const _0x78c9b5=_0xc3c9ed,_0x38b77f=this[_0x78c9b5(0x20c)](_0x24be11),{left:_0x5594ee,top:_0x1969a2,height:_0x59444c}=_0x38b77f,_0x249349=this['_getScale'](),_0x2ef480=_0x186ac0/_0x249349,_0x2fada0=new _0x545a9a['Rect'](_0x4d8ec2+_0x4a4808[_0x78c9b5(0x166)](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc,'height':_0x59444c,'width':_0x2a2f3f,'fill':_0x54129e||_0x545a9a[_0x78c9b5(0x1ff)](_0x4a4808[_0x78c9b5(0x223)][_0x78c9b5(0xda)],0x0),'strokeWidth':_0x2ef480,'stroke':_0x5bf845,'evented':!0x0});this[_0x78c9b5(0x2e5)]=_0x2fada0,this[_0x78c9b5(0x20a)][_0x78c9b5(0xc1)](_0x2fada0,_0x5ab035[_0x78c9b5(0x11f)]);const _0x19ca4e=new _0x545a9a[(_0x78c9b5(0x21e))](_0x4d8ec2+_0x4a4808['generateRandomId'](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc-_0x2a69a4/0x2,'height':_0x2a69a4,'width':_0x2a69a4,'fill':_0x54129e||_0x545a9a['getColor'](_0x4a4808[_0x78c9b5(0x223)][_0x78c9b5(0xda)],0x0),'strokeWidth':0x0,'stroke':_0x54129e||_0x545a9a[_0x78c9b5(0x1ff)](_0x4a4808['COLORS'][_0x78c9b5(0xda)],0x0),'evented':!0x1});this['_anchorDot']=_0x19ca4e,this['_scene'][_0x78c9b5(0xc1)](_0x19ca4e,_0x5ab035['TEXT_RANGE_LAYER_INDEX']);const _0x11f33d=new _0xe282fe(_0x4d8ec2+_0x4a4808[_0x78c9b5(0x166)](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc-_0xd763e1,'text':_0x1f8a96,'color':_0x54129e});this[_0x78c9b5(0x212)]=_0x11f33d,this[_0x78c9b5(0x20a)][_0x78c9b5(0xc1)](_0x11f33d,_0x5ab035['TEXT_RANGE_LAYER_INDEX']),this[_0x78c9b5(0x1d2)]=!0x1;}[_0xc3c9ed(0x120)](){const _0x4904de=_0xc3c9ed,_0x257afa=this['_anchor'][_0x4904de(0x15a)][_0x4904de(0x1fe)](()=>{const _0x17ff32=_0x4904de;this[_0x17ff32(0x1d2)]=!0x0;}),_0x252315=this['_anchor'][_0x4904de(0x126)][_0x4904de(0x1fe)](()=>{const _0x1ca678=_0x4904de;this[_0x1ca678(0x287)]&&clearTimeout(this[_0x1ca678(0x287)]),this[_0x1ca678(0x287)]=setTimeout(()=>{const _0x1867f0=_0x1ca678;this[_0x1867f0(0x1d2)]=!0x1;},0x7d0);});return()=>{const _0x347a86=_0x4904de;_0x257afa[_0x347a86(0x16f)](),_0x252315[_0x347a86(0x16f)]();};}[_0xc3c9ed(0x2af)](_0xbd039e,_0x39855b,_0x563a5e,_0x34e67e){const _0x33689b=_0xc3c9ed,_0x584e54=new _0x4a4808['ColorKit'](_0xbd039e)[_0x33689b(0x2e0)](0.2)[_0x33689b(0x1df)](),_0x10188f=new _0x545a9a[(_0x33689b(0x1db))](_0x1caa4e+_0x4a4808[_0x33689b(0x166)](_0x547c39),{'pointsGroup':_0x39855b,'fill':_0x584e54||_0x545a9a[_0x33689b(0x1ff)](_0x4a4808[_0x33689b(0x223)]['black'],0.2),'left':_0x563a5e,'top':_0x34e67e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33689b(0x286)](_0x10188f),this[_0x33689b(0x20a)][_0x33689b(0xc1)](_0x10188f,_0x5ab035[_0x33689b(0x11f)]);}[_0xc3c9ed(0x305)](_0xe1bc0,_0x49cab4,_0x57cdbf,_0x3445b4){const _0x3387aa=_0xc3c9ed,_0x3e00fe=new _0x4a4808[(_0x3387aa(0x2ce))](_0xe1bc0)[_0x3387aa(0x2e0)](0.2)[_0x3387aa(0x1df)](),_0xb83ae3=new _0x545a9a[(_0x3387aa(0x1db))](_0x108840+_0x4a4808[_0x3387aa(0x166)](_0x547c39),{'pointsGroup':_0x49cab4,'fill':_0x3e00fe||_0x545a9a['getColor'](_0x4a4808[_0x3387aa(0x223)]['black'],0.2),'left':_0x57cdbf,'top':_0x3445b4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3387aa(0x17f)][_0x3387aa(0x286)](_0xb83ae3),this[_0x3387aa(0x20a)][_0x3387aa(0xc1)](_0xb83ae3,_0x5ab035['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x494a98){const _0x9827e7=_0x494a98[0x0],_0x37ea96=_0x9827e7[0x0],_0x4ce9e4=_0x9827e7[0x2],{x:_0x7c5579,y:_0x2b7bce}=_0x37ea96,{x:_0x1811d5,y:_0x54ff1b}=_0x4ce9e4;return{'left':_0x7c5579,'top':_0x2b7bce,'width':_0x1811d5-_0x7c5579,'height':_0x54ff1b-_0x2b7bce};}['_getScale'](){const _0x215459=_0xc3c9ed,{scaleX:_0xfb1e59,scaleY:_0x1ab592}=this[_0x215459(0x20a)][_0x215459(0xeb)]();return Math[_0x215459(0x159)](_0xfb1e59,_0x1ab592);}}var _0x28f6aa=Object['getOwnPropertyDescriptor'],_0x45515a=(_0x15c2cf,_0x2c0082,_0x4fb637,_0x3d1fb6)=>{const _0x46bf76=_0xc3c9ed;for(var _0x52c947=_0x3d1fb6>0x1?void 0x0:_0x3d1fb6?_0x28f6aa(_0x2c0082,_0x4fb637):_0x2c0082,_0x33711c=_0x15c2cf[_0x46bf76(0x1f5)]-0x1,_0x133b80;_0x33711c>=0x0;_0x33711c--)(_0x133b80=_0x15c2cf[_0x33711c])&&(_0x52c947=_0x133b80(_0x52c947)||_0x52c947);return _0x52c947;},_0x162366=(_0x2d615f,_0x4c86bc)=>(_0x2ac8f4,_0x1956f9)=>_0x4c86bc(_0x2ac8f4,_0x1956f9,_0x2d615f);let _0xf88ddf=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x2af951,_0x29cf09,_0x47578c,_0x40bb0f,_0x587deb){const _0x4f2c5c=_0xc3c9ed;super(),_0xc598b2(this,_0x4f2c5c(0x22f),[]),_0xc598b2(this,_0x4f2c5c(0x18b),[]),(this[_0x4f2c5c(0x12f)]=_0x2af951,this[_0x4f2c5c(0xec)]=_0x29cf09,this[_0x4f2c5c(0xe0)]=_0x47578c,this[_0x4f2c5c(0x235)]=_0x40bb0f,this[_0x4f2c5c(0xdb)]=_0x587deb,this[_0x4f2c5c(0x2f4)]());}[_0xc3c9ed(0x2f4)](){const _0x40f743=_0xc3c9ed,_0x406b47=this[_0x40f743(0x12f)][_0x40f743(0x1dd)],_0x3974d5=this[_0x40f743(0xec)];this[_0x40f743(0x1fb)](_0x40989e[_0x40f743(0x15f)]([this[_0x40f743(0xe0)][_0x40f743(0x25b)](_0x406b47),this['_themeService'][_0x40f743(0x144)]])[_0x40f743(0x10b)](_0x27cbf7[_0x40f743(0x22b)](([_0x40471d,_0x196b8a])=>({'skeleton':_0x3974d5[_0x40f743(0x309)](),'cursors':[..._0x40471d[_0x40f743(0x13c)]()]['flatMap'](_0x2edce6=>({..._0x2edce6,'color':this['_themeService'][_0x40f743(0x124)](_0x2edce6[_0x40f743(0x2a1)])}))})))[_0x40f743(0x16e)](_0x34db45=>{if(this['_removeCollabCursors'](),_0x34db45){const {skeleton:_0x3f2f8b,cursors:_0x369a8b}=_0x34db45;this['_updateCollabCursors'](_0x3f2f8b,_0x369a8b);}})),this[_0x40f743(0x172)](),this[_0x40f743(0x1a9)]();}['_updateCollabCursors'](_0x6bd017,_0x4b956b){const _0x257d06=_0xc3c9ed,{scene:_0x2361d7,mainComponent:_0x4de909}=this[_0x257d06(0x12f)],_0x2ef948=_0x4b956b[_0x257d06(0x22b)](_0x39496f=>new _0x5b03cd(_0x39496f,_0x2361d7,_0x6bd017,_0x4de909));this[_0x257d06(0x22f)]=_0x2ef948,this['_cursors']=_0x4b956b;}['_refreshCollabCursors'](){const _0x5e5ff4=_0xc3c9ed;this[_0x5e5ff4(0x2fd)]();const {scene:_0x55bae1,mainComponent:_0x5ebe5f}=this[_0x5e5ff4(0x12f)],_0x249fe1=this[_0x5e5ff4(0xec)][_0x5e5ff4(0x309)](),_0x26631e=this[_0x5e5ff4(0x18b)][_0x5e5ff4(0x22b)](_0x300b2c=>new _0x5b03cd(_0x300b2c,_0x55bae1,_0x249fe1,_0x5ebe5f));this['_cursorShapes']=_0x26631e;}[_0xc3c9ed(0x2fd)](){const _0x8b936a=_0xc3c9ed;this['_cursorShapes'][_0x8b936a(0x2ca)](_0x40105e=>_0x40105e[_0x8b936a(0x2c9)]()),this['_cursorShapes']=[];}[_0xc3c9ed(0x1a9)](){const _0x457d02=_0xc3c9ed,_0xba3475=[_0x5ab035[_0x457d02(0x264)]['id']];this['disposeWithMe'](this[_0x457d02(0x235)][_0x457d02(0x1d8)](_0x3f3d50=>{const _0x4c7762=_0x457d02;_0xba3475[_0x4c7762(0x10c)](_0x3f3d50['id'])&&_0x3f3d50[_0x4c7762(0x190)][_0x4c7762(0x1dd)]===this['_context']['unitId']&&this[_0x4c7762(0x1f1)]();}));}[_0xc3c9ed(0x172)](){const _0x27a847=_0xc3c9ed;this[_0x27a847(0x1fb)](_0x4a4808[_0x27a847(0x2c5)](this[_0x27a847(0x12f)][_0x27a847(0x29c)][_0x27a847(0x329)])['pipe'](_0x27cbf7[_0x27a847(0xba)](_0x4c8485=>_0x4c8485['type']===_0x545a9a[_0x27a847(0x112)]['resize']),_0x27cbf7[_0x27a847(0x137)](0x10))[_0x27a847(0x16e)](()=>{const _0x43ac85=_0x27a847;this[_0x43ac85(0x1f1)]();}));}};_0xf88ddf=_0x45515a([_0x162366(0x1,_0x4a4808['Inject'](_0x83313[_0xc3c9ed(0x23b)])),_0x162366(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4e56a8)),_0x162366(0x3,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x162366(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x24f)]))],_0xf88ddf);const _0x57a89e=0x1,_0x599c36=1.5;class _0x464aa0 extends _0x545a9a[_0xc3c9ed(0xee)]{constructor(_0x10adbc,_0x55ad5f){const _0x1de105=_0xc3c9ed;super(_0x10adbc,_0x55ad5f),_0xc598b2(this,_0x1de105(0x2cb)),_0xc598b2(this,'_hovered',!0x1),_0xc598b2(this,_0x1de105(0x2c1)),_0xc598b2(this,'_name',''),_0xc598b2(this,_0x1de105(0x25f),_0x1de105(0x22a)),_0xc598b2(this,_0x1de105(0x347)),(_0x55ad5f&&this['setShapeProps'](_0x55ad5f),this['onPointerEnter$'][_0x1de105(0x1fe)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1de105(0x126)][_0x1de105(0x1fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xc3c9ed(0x230)](_0x2aaa33){const _0x3e6dfb=_0xc3c9ed;var _0x462e01,_0x40b151,_0x241e01,_0x449208,_0xa529f5,_0x4bfe19;this[_0x3e6dfb(0x2cb)]=(_0x462e01=_0x2aaa33['color'])!=null?_0x462e01:this[_0x3e6dfb(0x2cb)],this[_0x3e6dfb(0x242)]=(_0x40b151=_0x2aaa33['hovered'])!=null?_0x40b151:this['_hovered'],this[_0x3e6dfb(0x2c1)]=(_0x241e01=_0x2aaa33['range'])!=null?_0x241e01:this[_0x3e6dfb(0x2c1)],this[_0x3e6dfb(0x2fc)]=(_0x449208=_0x2aaa33[_0x3e6dfb(0x10d)])!=null?_0x449208:this[_0x3e6dfb(0x2fc)],this[_0x3e6dfb(0x25f)]=(_0xa529f5=_0x2aaa33['labelPosition'])!=null?_0xa529f5:this[_0x3e6dfb(0x25f)],this[_0x3e6dfb(0x347)]=(_0x4bfe19=_0x2aaa33['backgroundColor'])!=null?_0x4bfe19:this[_0x3e6dfb(0x347)],this[_0x3e6dfb(0x1d4)]({'width':_0x2aaa33[_0x3e6dfb(0xd3)],'height':_0x2aaa33['height']});}[_0xc3c9ed(0xc4)](_0x443e7f){const _0x10b6ea=_0xc3c9ed,{row:_0x2b8498,column:_0xcfc112}=_0x443e7f;if(_0x2b8498>=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x1ba)]&&_0x2b8498<=this[_0x10b6ea(0x2c1)]['endRow']&&_0xcfc112>=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x2a2)]&&_0xcfc112<=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x2fb)]){this[_0x10b6ea(0x230)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xc3c9ed(0x174)](_0x16d980){return!0x1;}[_0xc3c9ed(0x322)](_0x18a36e){const _0x30a55c=_0xc3c9ed;_0x545a9a[_0x30a55c(0x21e)]['drawWith'](_0x18a36e,{'width':this[_0x30a55c(0xd3)],'height':this['height'],'strokeWidth':_0x599c36,'stroke':this[_0x30a55c(0x2cb)],'evented':!0x1,'fill':this[_0x30a55c(0x347)]}),this['_hovered']&&(_0x18a36e[_0x30a55c(0x2d4)](),_0x18a36e['transform'](0x1,0x0,0x0,0x1,this[_0x30a55c(0xd3)],this['_labelPosition']==='bottom'?0x0:-_0xd763e1),_0xe282fe[_0x30a55c(0x191)](_0x18a36e,{'text':this[_0x30a55c(0x2fc)],'color':this['_color']}),_0x18a36e[_0x30a55c(0x32b)]());}}var _0x1ccc79=Object[_0xc3c9ed(0x25e)],_0x20fedc=(_0x4b7259,_0x5dc9a1,_0x2937dd,_0x327f47)=>{for(var _0x267428=_0x327f47>0x1?void 0x0:_0x327f47?_0x1ccc79(_0x5dc9a1,_0x2937dd):_0x5dc9a1,_0x36aeda=_0x4b7259['length']-0x1,_0x37a34a;_0x36aeda>=0x0;_0x36aeda--)(_0x37a34a=_0x4b7259[_0x36aeda])&&(_0x267428=_0x37a34a(_0x267428)||_0x267428);return _0x267428;},_0xc14d25=(_0x56b6a4,_0x121573)=>(_0x5d3e1c,_0xd764ea)=>_0x121573(_0x5d3e1c,_0xd764ea,_0x56b6a4);const _0x5a7645=0x1389;let _0x4c423e=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x583682,_0x233684,_0x1b6e43,_0x43b3df){const _0x12fb1f=_0xc3c9ed;super(),_0xc598b2(this,_0x12fb1f(0x18b),new Set()),_0xc598b2(this,_0x12fb1f(0x340),null),(this[_0x12fb1f(0x12f)]=_0x583682,this['_sheetSkeletonManagerService']=_0x233684,this[_0x12fb1f(0xe0)]=_0x1b6e43,this[_0x12fb1f(0xdb)]=_0x43b3df,this[_0x12fb1f(0x2f4)]());}[_0xc3c9ed(0x2f4)](){const _0x45375f=_0xc3c9ed;this[_0x45375f(0xcc)]['currentSkeleton$'][_0x45375f(0x10b)](_0x27cbf7[_0x45375f(0x183)](this[_0x45375f(0x27b)]),_0x27cbf7[_0x45375f(0xb8)](_0x2cc45e=>{const _0x139727=_0x45375f;if(_0x2cc45e){const _0x4ecc03=_0x2cc45e[_0x139727(0x23e)];return _0x40989e[_0x139727(0x15f)](this['_collabCursorController']['getCollabCursors$'](this[_0x139727(0x12f)]['unitId']),this['_themeService'][_0x139727(0x144)])[_0x139727(0x10b)](_0x27cbf7[_0x139727(0x22b)](([_0x4134ac,_0x1bde83])=>{const _0x1a8623=new Map();return _0x4134ac['forEach']((_0x1dd201,_0x505ddd)=>{const _0x756cda=_0xb97a;if(_0x1dd201[_0x756cda(0x170)]===_0x4ecc03){const _0x8ec2ae={..._0x1dd201};_0x8ec2ae['color']=this[_0x756cda(0xdb)]['getColorFromTheme'](_0x1dd201[_0x756cda(0x2a1)]),_0x1a8623[_0x756cda(0x1e7)](_0x505ddd,_0x8ec2ae);}}),{'skeleton':_0x2cc45e,'cursors':_0x1a8623};}));}return _0x40989e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x259fd6,cursors:_0x14ab02})=>{const _0x78ea84=_0x45375f;this['_removeCollabCursors'](),_0x259fd6&&this[_0x78ea84(0x28b)](_0x259fd6,_0x14ab02);}),this['_sheetSkeletonManagerService'][_0x45375f(0xf1)][_0x45375f(0x16e)](_0x545f63=>{const _0x554116=_0x45375f;if(_0x545f63==null)return;const {skeleton:_0x41df02}=_0x545f63,{scene:_0x2b76c1}=this[_0x554116(0x12f)];_0x2b76c1['onPointerMove$'][_0x554116(0x1fe)](_0x4a4808[_0x554116(0x325)](_0x428f55=>{const _0x607fdc=_0x554116;var _0x174071,_0x2bcd72;const {offsetX:_0xeadab7,offsetY:_0xa0299a}=_0x428f55,{x:_0x309bf8,y:_0x4e69c7}=_0x2b76c1['getRelativeToViewportCoord'](_0x545a9a[_0x607fdc(0x2d6)][_0x607fdc(0x31e)]([_0xeadab7,_0xa0299a])),{scaleX:_0x38a462,scaleY:_0x580280}=_0x2b76c1[_0x607fdc(0xeb)](),_0x5010c3=_0x2b76c1[_0x607fdc(0x2f8)](_0x545a9a[_0x607fdc(0x13e)][_0x607fdc(0x317)]),_0x5db256=_0x2b76c1[_0x607fdc(0x244)](_0x545a9a[_0x607fdc(0x2d6)][_0x607fdc(0x31e)]([_0x309bf8,_0x4e69c7]),_0x5010c3),_0x796ccf=_0x41df02['getCellPositionByOffset'](_0xeadab7,_0xa0299a,_0x38a462,_0x580280,_0x5db256);((_0x174071=this['_lastPointer'])==null?void 0x0:_0x174071['column'])===_0x796ccf[_0x607fdc(0x2ab)]&&((_0x2bcd72=this[_0x607fdc(0x340)])==null?void 0x0:_0x2bcd72[_0x607fdc(0x26a)])===_0x796ccf['row']||this[_0x607fdc(0x18b)]['forEach'](_0x511652=>{const _0x361695=_0x607fdc;_0x511652[_0x361695(0xc4)](_0x796ccf);});},0x64));});}['_updateCollabCursors'](_0x3c5678,_0x48ce74){const _0x300fd6=_0xc3c9ed;var _0x34465d;const _0x444f87=(_0x34465d=this[_0x300fd6(0xcc)]['getCurrent']())==null?void 0x0:_0x34465d['skeleton'];if(!_0x444f87)return;const _0x1262c7=this[_0x300fd6(0x229)]();if(!_0x1262c7)return;this[_0x300fd6(0x18b)][_0x300fd6(0x2ca)](_0x1ce5be=>{const _0x2e7b97=_0x300fd6;_0x1ce5be[_0x2e7b97(0x1ef)]();});const {scene:_0x16dcfc}=_0x1262c7,_0xc8d64e=_0x2b4c51(Array[_0x300fd6(0x207)](_0x48ce74[_0x300fd6(0x13c)]()))['map'](_0x5cc7e4=>{const _0x2e3434=_0x300fd6,{color:_0x59e9ad,range:_0x525512,name:_0x45cc95,selection:_0x54a788,sheetID:_0x146173}=_0x5cc7e4,{startColumn:_0x31b6d9,startRow:_0x1164d1,endColumn:_0x288397,endRow:_0x11103f}=_0x525512,_0x543db1=_0x18d5a0['getCoordByCell'](_0x1164d1,_0x31b6d9,_0x16dcfc,_0x444f87),_0x3dd358=_0x18d5a0[_0x2e3434(0x31c)](_0x11103f,_0x288397,_0x16dcfc,_0x444f87),{columnHeaderHeightAndMarginTop:_0x1cb058}=_0x444f87,{startX:_0x3027aa,startY:_0x400b0f}=_0x543db1,{endX:_0x4f2452,endY:_0x323817}=_0x3dd358,_0x1a7992=_0x4f2452-_0x3027aa,_0x2cbeb3=_0x323817-_0x400b0f,_0x27e4de={'labelPosition':_0x400b0f-_0x1cb058>=_0xd763e1?_0x2e3434(0x22a):_0x2e3434(0x238),'sheetID':_0x146173,'range':_0x525512,'color':_0x59e9ad,'name':_0x45cc95,'selection':_0x54a788,'left':_0x3027aa,'top':_0x400b0f,'width':_0x1a7992,'height':_0x2cbeb3,'evented':!0x1,'zIndex':_0x5a7645};return new _0x464aa0(_0x45cc95,_0x27e4de);});_0x16dcfc['addObjects'](_0xc8d64e,_0x57a89e),this['_cursors']=new Set(_0xc8d64e);}[_0xc3c9ed(0x2fd)](){const _0x3bcb38=_0xc3c9ed;var _0x5d9c9a;(_0x5d9c9a=this[_0x3bcb38(0x18b)])==null||_0x5d9c9a[_0x3bcb38(0x2ca)](_0x57cfd0=>_0x57cfd0['dispose']());}['_getSheetObject'](){const _0x29c1dc=_0xc3c9ed;return _0x18d5a0['getSheetObject'](this[_0x29c1dc(0x12f)][_0x29c1dc(0x1ce)],this[_0x29c1dc(0x12f)]);}};_0x4c423e=_0x20fedc([_0xc14d25(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x18d5a0[_0xc3c9ed(0x167)])),_0xc14d25(0x2,_0x4a4808['Inject'](_0x4e56a8)),_0xc14d25(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x24f)]))],_0x4c423e);function _0x2b4c51(_0x194b8d){const _0x309541=_0xc3c9ed,_0x232168=new Map();return _0x194b8d[_0x309541(0x2ca)](_0x22d0e0=>{const _0x23a724=_0x309541;if(_0x232168[_0x23a724(0x119)](_0x22d0e0[_0x23a724(0x350)])){const _0x24fe06=_0x232168[_0x23a724(0x302)](_0x22d0e0['selection']);_0x24fe06['name']+=',\x20'+_0x22d0e0[_0x23a724(0x10d)];}else _0x232168['set'](_0x22d0e0[_0x23a724(0x350)],_0x22d0e0);}),Array['from'](_0x232168[_0x309541(0x13c)]());}var _0x49e311=Object[_0xc3c9ed(0x25e)],_0x42530b=(_0xc27427,_0x20e2cf,_0x2f583e,_0x4bcca1)=>{for(var _0x33f1c5=_0x4bcca1>0x1?void 0x0:_0x4bcca1?_0x49e311(_0x20e2cf,_0x2f583e):_0x20e2cf,_0x4f0769=_0xc27427['length']-0x1,_0x55fa24;_0x4f0769>=0x0;_0x4f0769--)(_0x55fa24=_0xc27427[_0x4f0769])&&(_0x33f1c5=_0x55fa24(_0x33f1c5)||_0x33f1c5);return _0x33f1c5;},_0x36a07c=(_0x4cea43,_0x31f42c)=>(_0x2133b5,_0x54fc72)=>_0x31f42c(_0x2133b5,_0x54fc72,_0x4cea43);let _0x5ad52c=class extends _0x4a4808['Disposable']{constructor(_0x2153f4,_0x59c0d8,_0x50b9c4,_0x2bd280,_0x4fc5fb,_0x7a462c){const _0x3bdc56=_0xc3c9ed;super(),this['_beforeCloseService']=_0x2153f4,this[_0x3bdc56(0x1c0)]=_0x59c0d8,this['_collaborationUIEventService']=_0x50b9c4,this['_messageService']=_0x2bd280,this[_0x3bdc56(0x2b3)]=_0x4fc5fb,this[_0x3bdc56(0x1e8)]=_0x7a462c,this[_0x3bdc56(0xf4)](),this[_0x3bdc56(0xc8)]();}[_0xc3c9ed(0xf4)](){const _0x585a00=_0xc3c9ed;this[_0x585a00(0x1fb)](this['_beforeCloseService'][_0x585a00(0x267)](()=>{const _0x49d1fd=_0x585a00;if(this[_0x49d1fd(0x1c0)]['saveTaskMap'][_0x49d1fd(0x2d8)])return this[_0x49d1fd(0x1e8)]['t'](_0x49d1fd(0x206));}));}[_0xc3c9ed(0xc8)](){const _0x2738e0=_0xc3c9ed;this[_0x2738e0(0x1fb)](this['_collaborationUIEventService'][_0x2738e0(0x150)][_0x2738e0(0x16e)](_0x52fd01=>{const _0xb12c06=_0x2738e0;_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x2ac)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x103))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x297)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x163))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x304)]&&this['_notificationService'][_0xb12c06(0x1b6)]({'title':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0xbf)),'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x11c)),'type':_0xb12c06(0x21c),'duration':0x0}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x147)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x163))+'('+_0x52fd01[_0xb12c06(0x2f2)]+')'}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)]['JOIN_ROOM_FAILED']&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)]['Warning'],'content':this[_0xb12c06(0x1e8)]['t'](_0x52fd01['data']||'')}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x1e6)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t']('session.will-retry')}),_0x52fd01['id']===_0x4bd9c3['CollaborationUIEventId'][_0xb12c06(0x2d2)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this['_localeService']['t'](_0xb12c06(0x15e))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x132)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x106))});}));}};_0x5ad52c=_0x42530b([_0x36a07c(0x0,_0x2ace11['IBeforeCloseService']),_0x36a07c(0x1,_0x4bd9c3[_0xc3c9ed(0x313)]),_0x36a07c(0x2,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x134)])),_0x36a07c(0x3,_0x2ace11[_0xc3c9ed(0x138)]),_0x36a07c(0x4,_0x2ace11[_0xc3c9ed(0x34f)]),_0x36a07c(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['LocaleService']))],_0x5ad52c);const _0x63d56e=_0xc3c9ed(0x2eb),_0x2c650={};var _0x40d755=Object[_0xc3c9ed(0x25e)],_0x5d76c6=(_0x55f69c,_0x2b963c,_0x39b1ff,_0x5f4220)=>{for(var _0x17fb60=_0x5f4220>0x1?void 0x0:_0x5f4220?_0x40d755(_0x2b963c,_0x39b1ff):_0x2b963c,_0x54a997=_0x55f69c['length']-0x1,_0x367337;_0x54a997>=0x0;_0x54a997--)(_0x367337=_0x55f69c[_0x54a997])&&(_0x17fb60=_0x367337(_0x17fb60)||_0x17fb60);return _0x17fb60;},_0x9d11de=(_0x4aac09,_0x3d8790)=>(_0x59b722,_0x278ebd)=>_0x3d8790(_0x59b722,_0x278ebd,_0x4aac09);let _0x1e02f8=class{constructor(_0x367dcb,_0x4bcf22){const _0x37fe2a=_0xc3c9ed;this[_0x37fe2a(0x2c4)]=_0x367dcb,this['_renderManagerService']=_0x4bcf22;}['transformIMECache'](_0x4f491d){const _0x28c4df=_0xc3c9ed;this[_0x28c4df(0x1cb)](_0x4f491d),this['_transformPreviousActiveRange'](_0x4f491d);}[_0xc3c9ed(0x127)](_0x13cfa5){const _0x5c3f07=_0xc3c9ed,{unitID:_0xbb33a0}=_0x13cfa5,_0x28fe03=this['_renderManagerService'][_0x5c3f07(0x18c)](_0xbb33a0)[_0x5c3f07(0x1ed)](_0x5ab035[_0x5c3f07(0x1a5)]),{redoCache:_0x3b6983}=_0x28fe03[_0x5c3f07(0x1ec)]();if(_0x3b6983[_0x5c3f07(0x1f5)]===0x0)return _0x13cfa5;let _0x4d1286=_0x4a4808[_0x5c3f07(0x260)][_0x5c3f07(0x226)](_0x13cfa5[_0x5c3f07(0xed)][0x0]);for(let _0x4ba42c=0x0;_0x4ba42c<_0x3b6983[_0x5c3f07(0x1f5)];_0x4ba42c++){const _0x78d33c={'id':_0x5c3f07(0xf2),'params':{..._0x3b6983[_0x4ba42c]}},_0x5b3cde=this[_0x5c3f07(0x2c4)][_0x5c3f07(0x23a)](_0x4d1286,_0x78d33c,!0x1);if(_0xc6a6b['isTransformMutationFailure'](_0x5b3cde))throw _0x5b3cde[_0x5c3f07(0x21c)];_0x4d1286=_0x5b3cde[_0x5c3f07(0x323)];}return{..._0x4a4808[_0x5c3f07(0x260)]['deepClone'](_0x13cfa5),'mutations':[_0x4d1286]};}[_0xc3c9ed(0x1cb)](_0x23b56e){const _0x460bf5=_0xc3c9ed,{unitID:_0x484a76}=_0x23b56e,_0x40d94b=this[_0x460bf5(0x2b5)][_0x460bf5(0x18c)](_0x484a76)[_0x460bf5(0x1ed)](_0x5ab035[_0x460bf5(0x1a5)]),{undoCache:_0x1ff3e2,redoCache:_0x2ff894}=_0x40d94b[_0x460bf5(0x1ec)]();if(_0x1ff3e2['length']===0x0||_0x2ff894[_0x460bf5(0x1f5)]===0x0)return;const _0x3f8b7f=[],_0x39f0fd=[];let _0x482ef7=_0x4a4808[_0x460bf5(0x260)]['deepClone'](_0x23b56e[_0x460bf5(0xed)][0x0]),_0x2bafd7=_0x4a4808['Tools'][_0x460bf5(0x226)](_0x23b56e['mutations'][0x0]);for(let _0x57c871=_0x1ff3e2[_0x460bf5(0x1f5)]-0x1;_0x57c871>=0x0;_0x57c871--){const _0x1e0f17={'id':_0x460bf5(0xf2),'params':{..._0x1ff3e2[_0x57c871]}},_0x5566e3={'id':'doc.mutation.rich-text-editing','params':{..._0x2ff894[_0x57c871]}},_0x229f0c=this[_0x460bf5(0x2c4)][_0x460bf5(0x23a)](_0x482ef7,_0x1e0f17,!0x1),_0x504888=this[_0x460bf5(0x2c4)]['transformMutation'](_0x2bafd7,_0x5566e3,!0x1);if(_0xc6a6b[_0x460bf5(0x2f3)](_0x229f0c))throw _0x229f0c[_0x460bf5(0x21c)];if(_0xc6a6b[_0x460bf5(0x2f3)](_0x504888))throw _0x504888[_0x460bf5(0x21c)];_0x3f8b7f[_0x460bf5(0x118)](_0x229f0c[_0x460bf5(0x2e4)][_0x460bf5(0x190)]),_0x39f0fd['unshift'](_0x504888[_0x460bf5(0x2e4)][_0x460bf5(0x190)]),_0x482ef7=_0x229f0c[_0x460bf5(0x323)],_0x2bafd7=_0x504888['m1Prime'];}_0x40d94b[_0x460bf5(0x253)]({'undoCache':_0x3f8b7f,'redoCache':_0x39f0fd});}['_transformPreviousActiveRange'](_0x33c4a3){const _0x256c6f=_0xc3c9ed,{unitID:_0x415627}=_0x33c4a3,_0x1e3b39=this[_0x256c6f(0x2b5)][_0x256c6f(0x18c)](_0x415627)['with'](_0x5ab035[_0x256c6f(0x1a5)]),_0x1dafe9=_0x1e3b39[_0x256c6f(0x13f)]();if(_0x1dafe9==null)return;const _0x4bf31a=[{'id':_0x256c6f(0xf2),'params':{'unitId':_0x33c4a3['unitID'],'actions':null,'textRanges':[_0x1dafe9]}}],_0x3fd394=this['_transformService'][_0x256c6f(0x1b1)](_0x33c4a3,_0x4bf31a);if(!_0xc6a6b[_0x256c6f(0x160)](_0x3fd394))throw _0x3fd394['error'];const _0x3d31ae=_0x3fd394[_0x256c6f(0x2e4)][0x0][_0x256c6f(0x190)][_0x256c6f(0x12e)];Array[_0x256c6f(0x1b2)](_0x3d31ae)&&_0x3d31ae[_0x256c6f(0x1f5)]&&_0x1e3b39[_0x256c6f(0xe1)](_0x3d31ae[0x0]);}};_0x1e02f8=_0x5d76c6([_0x9d11de(0x0,_0xc6a6b[_0xc3c9ed(0x179)]),_0x9d11de(0x1,_0x545a9a[_0xc3c9ed(0x1a1)])],_0x1e02f8);var _0x4c7c48=Object[_0xc3c9ed(0x25e)],_0x4110f6=(_0x57b89b,_0x4fd5d5,_0x31c5c6,_0x20485f)=>{const _0x12f98a=_0xc3c9ed;for(var _0x239442=_0x20485f>0x1?void 0x0:_0x20485f?_0x4c7c48(_0x4fd5d5,_0x31c5c6):_0x4fd5d5,_0x3046b8=_0x57b89b[_0x12f98a(0x1f5)]-0x1,_0xa5e521;_0x3046b8>=0x0;_0x3046b8--)(_0xa5e521=_0x57b89b[_0x3046b8])&&(_0x239442=_0xa5e521(_0x239442)||_0x239442);return _0x239442;},_0x10e5f9=(_0x12f6ea,_0x2bab04)=>(_0x4b3f9d,_0x33cc8c)=>_0x2bab04(_0x4b3f9d,_0x33cc8c,_0x12f6ea);let _0x243af4=class{constructor(_0x3517a5,_0x2f65e4,_0x1d74aa){const _0x49f136=_0xc3c9ed;this[_0x49f136(0x11a)]=_0x3517a5,this[_0x49f136(0x2c4)]=_0x2f65e4,this['_docStateChangeManagerService']=_0x1d74aa;}['transformStateCache'](_0x1bef2c){const _0x1c67f8=_0xc3c9ed;this[_0x1c67f8(0x182)](_0x1bef2c);}['transformRemoteChangeset'](_0x4950f0){const _0x3f54eb=_0xc3c9ed,{unitID:_0x577dd0}=_0x4950f0,{collaboration:_0x167cef}=this['_docStateChangeManagerService'][_0x3f54eb(0x32f)](_0x577dd0);if(_0x167cef[_0x3f54eb(0x1f5)]===0x0)return _0x4950f0;let _0x279e83=_0x4a4808[_0x3f54eb(0x260)][_0x3f54eb(0x226)](_0x4950f0[_0x3f54eb(0xed)][0x0]);for(let _0x3548d1=0x0;_0x3548d1<_0x167cef['length'];_0x3548d1++){const _0x3e924c={'id':_0x3f54eb(0xf2),'params':{'unitId':_0x167cef[_0x3548d1][_0x3f54eb(0x1dd)],..._0x167cef[_0x3548d1][_0x3f54eb(0x2dc)]}},_0x88546e=this[_0x3f54eb(0x2c4)][_0x3f54eb(0x23a)](_0x279e83,_0x3e924c,!0x1);if(_0xc6a6b[_0x3f54eb(0x2f3)](_0x88546e))throw _0x88546e[_0x3f54eb(0x21c)];_0x279e83=_0x88546e[_0x3f54eb(0x323)];}return{..._0x4a4808[_0x3f54eb(0x260)]['deepClone'](_0x4950f0),'mutations':[_0x279e83]};}[_0xc3c9ed(0x182)](_0x503229){const _0xdac9ff=_0xc3c9ed,{unitID:_0x13be28}=_0x503229,{history:_0x25dce0,collaboration:_0x5815d8}=this[_0xdac9ff(0x1a7)][_0xdac9ff(0x32f)](_0x13be28);if(_0x25dce0[_0xdac9ff(0x1f5)]===0x0&&_0x5815d8[_0xdac9ff(0x1f5)]===0x0)return;const _0x1aa9c1=[],_0x1377f0=[];let _0x5114bf=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]),_0x493a5b=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]);for(let _0x104757=_0x25dce0['length']-0x1;_0x104757>=0x0;_0x104757--){const _0xb46ace={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x25dce0[_0x104757][_0xdac9ff(0x1dd)],..._0x25dce0[_0x104757][_0xdac9ff(0x2f1)]}},_0x275283={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x25dce0[_0x104757][_0xdac9ff(0x1dd)],..._0x25dce0[_0x104757][_0xdac9ff(0x2dc)]}},_0x310d8d=this[_0xdac9ff(0x2c4)][_0xdac9ff(0x23a)](_0x5114bf,_0xb46ace,!0x1),_0x20dbc3=this['_transformService']['transformMutation'](_0x493a5b,_0x275283,!0x1);if(_0xc6a6b[_0xdac9ff(0x2f3)](_0x310d8d))throw _0x310d8d[_0xdac9ff(0x21c)];if(_0xc6a6b['isTransformMutationFailure'](_0x20dbc3))throw _0x20dbc3[_0xdac9ff(0x21c)];_0x1aa9c1[_0xdac9ff(0x118)]({..._0x25dce0[_0x104757],'undoState':_0x310d8d[_0xdac9ff(0x2e4)][_0xdac9ff(0x190)],'redoState':_0x20dbc3['m2Prime'][_0xdac9ff(0x190)]}),_0x5114bf=_0x310d8d[_0xdac9ff(0x323)],_0x493a5b=_0x20dbc3[_0xdac9ff(0x323)];}_0x5114bf=_0x4a4808['Tools'][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]),_0x493a5b=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]);for(let _0x2e656c=_0x5815d8[_0xdac9ff(0x1f5)]-0x1;_0x2e656c>=0x0;_0x2e656c--){const _0x13e6af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5815d8[_0x2e656c][_0xdac9ff(0x1dd)],..._0x5815d8[_0x2e656c]['undoState']}},_0x9f289e={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x5815d8[_0x2e656c][_0xdac9ff(0x1dd)],..._0x5815d8[_0x2e656c][_0xdac9ff(0x2dc)]}},_0x168e2b=this[_0xdac9ff(0x2c4)]['transformMutation'](_0x5114bf,_0x13e6af,!0x1),_0xad7c5e=this[_0xdac9ff(0x2c4)]['transformMutation'](_0x493a5b,_0x9f289e,!0x1);if(_0xc6a6b['isTransformMutationFailure'](_0x168e2b))throw _0x168e2b['error'];if(_0xc6a6b['isTransformMutationFailure'](_0xad7c5e))throw _0xad7c5e['error'];_0x1377f0[_0xdac9ff(0x118)]({..._0x5815d8[_0x2e656c],'undoState':_0x168e2b[_0xdac9ff(0x2e4)][_0xdac9ff(0x190)],'redoState':_0xad7c5e[_0xdac9ff(0x2e4)]['params']}),_0x5114bf=_0x168e2b['m1Prime'],_0x493a5b=_0xad7c5e[_0xdac9ff(0x323)];}this[_0xdac9ff(0x1a7)][_0xdac9ff(0x2e9)](_0x13be28,{'history':_0x1aa9c1,'collaboration':_0x1377f0});}};_0x243af4=_0x4110f6([_0x10e5f9(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x10e5f9(0x1,_0xc6a6b[_0xc3c9ed(0x179)]),_0x10e5f9(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x5ab035[_0xc3c9ed(0x1a6)]))],_0x243af4);var _0x3344c7=Object['getOwnPropertyDescriptor'],_0x2c14e4=(_0x319ecc,_0x47a59b,_0x30215e,_0x2d3b31)=>{const _0x25b06b=_0xc3c9ed;for(var _0x434125=_0x2d3b31>0x1?void 0x0:_0x2d3b31?_0x3344c7(_0x47a59b,_0x30215e):_0x47a59b,_0x182c87=_0x319ecc[_0x25b06b(0x1f5)]-0x1,_0x5bc1cc;_0x182c87>=0x0;_0x182c87--)(_0x5bc1cc=_0x319ecc[_0x182c87])&&(_0x434125=_0x5bc1cc(_0x434125)||_0x434125);return _0x434125;},_0x3480df=(_0x248e63,_0x4e5c95)=>(_0xe99820,_0x3ac160)=>_0x4e5c95(_0xe99820,_0x3ac160,_0x248e63);let _0x52d36f=class{constructor(_0x3f44c0,_0x264aba){const _0x6f133f=_0xc3c9ed;this[_0x6f133f(0x11a)]=_0x3f44c0,this[_0x6f133f(0x2c4)]=_0x264aba;}[_0xc3c9ed(0x177)](_0x5a7ec4){const _0x181648=_0xc3c9ed;var _0x2f3e30;const _0xf5f72e=this[_0x181648(0x11a)][_0x181648(0x302)](_0x83313['DocSelectionManagerService']),_0xd5dd2c=(_0x2f3e30=_0xf5f72e[_0x181648(0x1d9)]())!=null?_0x2f3e30:[];if(_0xd5dd2c[_0x181648(0x1f5)]===0x0)return;const _0x55176f=_0x5a7ec4['unitID'],_0x110d0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55176f,'actions':null,'textRanges':_0xd5dd2c}}],_0x27fa57=this[_0x181648(0x2c4)][_0x181648(0x1b1)](_0x5a7ec4,_0x110d0c);if(!_0xc6a6b[_0x181648(0x160)](_0x27fa57))throw _0x27fa57[_0x181648(0x21c)];const _0xdc48b8=_0x27fa57[_0x181648(0x2e4)][0x0]['params'][_0x181648(0x12e)];Array[_0x181648(0x1b2)](_0xdc48b8)&&_0xdc48b8[_0x181648(0x1f5)]&&_0xf5f72e[_0x181648(0x27f)](_0xdc48b8,{'unitId':_0x55176f,'subUnitId':_0x55176f},!0x1);}};_0x52d36f=_0x2c14e4([_0x3480df(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['Injector'])),_0x3480df(0x1,_0xc6a6b[_0xc3c9ed(0x179)])],_0x52d36f);var _0x1f34f8=Object[_0xc3c9ed(0x25e)],_0x3d0df3=(_0x241d63,_0x1536bf,_0x4d2ece,_0x530fb2)=>{for(var _0x199c86=_0x530fb2>0x1?void 0x0:_0x530fb2?_0x1f34f8(_0x1536bf,_0x4d2ece):_0x1536bf,_0x2e2517=_0x241d63['length']-0x1,_0x5324cc;_0x2e2517>=0x0;_0x2e2517--)(_0x5324cc=_0x241d63[_0x2e2517])&&(_0x199c86=_0x5324cc(_0x199c86)||_0x199c86);return _0x199c86;},_0x30cc2c=(_0x2f7787,_0x269c9b)=>(_0x3dc9dc,_0x4095be)=>_0x269c9b(_0x3dc9dc,_0x4095be,_0x2f7787);let _0x140d95=class extends _0x4a4808['Disposable']{constructor(_0x256a6b,_0x1868a9,_0x727578,_0x52ace5,_0x5ca1d0,_0x37cdb1,_0x2f043a,_0x4ef43c){const _0x374934=_0xc3c9ed;super(),_0xc598b2(this,_0x374934(0xc5),new _0x40989e[(_0x374934(0x2d1))](_0x4bd9c3['CollaborationStatus'][_0x374934(0x205)])),(this[_0x374934(0x1a7)]=_0x256a6b,this[_0x374934(0x337)]=_0x1868a9,this['_docTransformIMECacheService']=_0x727578,this[_0x374934(0x2d9)]=_0x52ace5,this[_0x374934(0x34d)]=_0x5ca1d0,this[_0x374934(0x277)]=_0x37cdb1,this[_0x374934(0x1f3)]=_0x2f043a,this[_0x374934(0x1e8)]=_0x4ef43c,this[_0x374934(0x17a)]());}[_0xc3c9ed(0x17a)](){const _0x56243e=_0xc3c9ed;this[_0x56243e(0x1fb)](this[_0x56243e(0x337)][_0x56243e(0x1c7)][_0x56243e(0x16e)](_0x7db3c6=>{const _0x1c0335=_0x56243e,_0x226069=this[_0x1c0335(0x1a7)][_0x1c0335(0x125)]['subscribe'](_0x32c309=>{const _0x8715e=_0x1c0335;if(_0x32c309==null)return;const {unitId:_0x2d49e3,redoState:_0x12b7c8,commandId:_0x15c4e8}=_0x32c309;if(_0x2d49e3!==_0x7db3c6[_0x8715e(0x314)])return;const _0x3b67a3={'id':_0x15c4e8,'type':_0x4a4808['CommandType'][_0x8715e(0x1c4)],'params':{'unitId':_0x2d49e3,'actions':_0x12b7c8[_0x8715e(0x293)],'textRanges':null}};_0x7db3c6[_0x8715e(0x23d)](_0x3b67a3);});if(_0x7db3c6[_0x1c0335(0x1fb)](_0x226069),_0x7db3c6 instanceof _0x4bd9c3[_0x1c0335(0x2ef)]){const _0x55571a={'onTransformIME':_0x14668b=>this['_docTransformIMECacheService']['transformIMECache'](_0x14668b),'onTransformState':_0xa280d=>this[_0x1c0335(0x2d9)][_0x1c0335(0x2a6)](_0xa280d),'onTransformSelections':_0x7964f2=>this[_0x1c0335(0x34d)][_0x1c0335(0x177)](_0x7964f2),'onSyncEditingCollabCursor':_0x57196d=>this['_docSyncEditingCollabCursorService'][_0x1c0335(0x185)](_0x57196d),'onTransformRemoteChangesetByIMECache':_0xfdcf35=>this['_docTransformIMECacheService'][_0x1c0335(0x127)](_0xfdcf35),'onTransformRemoteChangesetByStateCache':_0x219fec=>this['_docTransformStateCacheService'][_0x1c0335(0x127)](_0x219fec)};_0x7db3c6[_0x1c0335(0x148)](_0x55571a);}}));}};_0x140d95=_0x3d0df3([_0x30cc2c(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x5ab035[_0xc3c9ed(0x1a6)])),_0x30cc2c(0x1,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x269)])),_0x30cc2c(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x1e02f8)),_0x30cc2c(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x243af4)),_0x30cc2c(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x52d36f)),_0x30cc2c(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x5cb308)),_0x30cc2c(0x6,_0x2ace11[_0xc3c9ed(0x138)]),_0x30cc2c(0x7,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['LocaleService']))],_0x140d95);var _0x1a39ef=Object[_0xc3c9ed(0x25e)],_0x4f0350=(_0x5cdf1e,_0x128d77,_0x26f845,_0xc50bfe)=>{const _0x488a18=_0xc3c9ed;for(var _0x218ec7=_0xc50bfe>0x1?void 0x0:_0xc50bfe?_0x1a39ef(_0x128d77,_0x26f845):_0x128d77,_0x223eb3=_0x5cdf1e[_0x488a18(0x1f5)]-0x1,_0x47c6c6;_0x223eb3>=0x0;_0x223eb3--)(_0x47c6c6=_0x5cdf1e[_0x223eb3])&&(_0x218ec7=_0x47c6c6(_0x218ec7)||_0x218ec7);return _0x218ec7;},_0x27eca3=(_0xfc350b,_0x5cc140)=>(_0x3b3b73,_0x5c6fd6)=>_0x5cc140(_0x3b3b73,_0x5c6fd6,_0xfc350b);let _0x4eae0a=class extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(_0x194bd6,_0x1359dd,_0x30a001){const _0x55ac2a=_0xc3c9ed;super(),_0xc598b2(this,_0x55ac2a(0x236),new Map()),_0xc598b2(this,_0x55ac2a(0x198),new Map()),_0xc598b2(this,_0x55ac2a(0x1a4),!0x1),(this[_0x55ac2a(0x17e)]=_0x194bd6,this['_localStorageService']=_0x1359dd,this[_0x55ac2a(0xd0)]=_0x30a001);}[_0xc3c9ed(0x157)](){const _0x5942a4=_0xc3c9ed;this[_0x5942a4(0x1a4)]=!0x0;}[_0xc3c9ed(0x352)](){const _0x55cdfe=_0xc3c9ed;this[_0x55cdfe(0x1a4)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x556cbd=_0xc3c9ed;this['exhaustSavingTask']()[_0x556cbd(0x30d)](()=>super[_0x556cbd(0x2c9)]());}async['loadOfflineData'](_0x35b756){const _0x43b571=_0xc3c9ed;return this[_0x43b571(0x1a4)]?null:this[_0x43b571(0x11d)]['getItem'](_0x4bd9c3['getLocalCacheKey'](_0x35b756));}async[_0xc3c9ed(0x149)](_0x2f1e2f,_0x24845a){const _0x1b3583=_0xc3c9ed;return!!this[_0x1b3583(0x11d)]['setItem'](_0x2f1e2f,_0x24845a);}[_0xc3c9ed(0x2bf)](_0x5359cd,_0x3a2705,_0x2dcbe5,_0x239805){const _0x9bbda3=_0xc3c9ed,_0x31313f=this[_0x9bbda3(0xd0)]['getCurrentRevOfUnit'](_0x5359cd);this['_cachedData'][_0x9bbda3(0x1e7)](_0x5359cd,{'unitID':_0x5359cd,'type':_0x3a2705,'awaitingChangeset':_0x2dcbe5,'mutations':_0x239805,'rev':_0x31313f}),this[_0x9bbda3(0x198)][_0x9bbda3(0x119)](_0x5359cd)||this[_0x9bbda3(0x28a)](_0x5359cd);}['_scheduleSaving'](_0x1d2bb7){const _0x21060e=_0xc3c9ed,_0x1dd3b4=this[_0x21060e(0x224)]();_0x1dd3b4===0x0?this[_0x21060e(0x333)](_0x1d2bb7):this[_0x21060e(0x198)][_0x21060e(0x1e7)](_0x1d2bb7,setTimeout(()=>this[_0x21060e(0x333)](_0x1d2bb7),_0x1dd3b4));}[_0xc3c9ed(0x224)](){const _0x2bdb86=_0xc3c9ed;var _0x269378;return(_0x269378=this[_0x2bdb86(0x17e)]['getConfig'](_0x4bd9c3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x269378:_0x4bd9c3[_0x2bdb86(0x257)];}[_0xc3c9ed(0x333)](_0x64fe66){const _0x279524=_0xc3c9ed,_0x5741b1=this[_0x279524(0x198)]['get'](_0x64fe66);return _0x5741b1!==void 0x0&&window['clearTimeout'](_0x5741b1),this[_0x279524(0x11d)][_0x279524(0x2ec)](_0x4bd9c3[_0x279524(0x2fa)](_0x64fe66),this[_0x279524(0x236)][_0x279524(0x302)](_0x64fe66))['then'](()=>this[_0x279524(0x198)][_0x279524(0xc9)](_0x64fe66));}async[_0xc3c9ed(0x318)](){const _0x25fc46=_0xc3c9ed,_0x4724d2=[];this['_saveTaskMap'][_0x25fc46(0x2ca)]((_0x515c7c,_0x1a0c8f)=>{const _0x74a2b8=_0x25fc46;window[_0x74a2b8(0x133)](_0x515c7c),_0x4724d2['push'](this['_saveCache'](_0x1a0c8f)['then'](()=>{const _0x2e1a36=_0x74a2b8;this['_saveTaskMap'][_0x2e1a36(0xc9)](_0x1a0c8f);}));}),await Promise[_0x25fc46(0x122)](_0x4724d2);}};_0x4eae0a=_0x4f0350([_0x27eca3(0x0,_0x4a4808[_0xc3c9ed(0x221)]),_0x27eca3(0x1,_0x4a4808[_0xc3c9ed(0x169)]),_0x27eca3(0x2,_0x4a4808['Inject'](_0xc6a6b['RevisionService']))],_0x4eae0a);class _0xc00ad0 extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(){const _0x568f7f=_0xc3c9ed;super(),_0xc598b2(this,_0x568f7f(0x161)),this[_0x568f7f(0x161)]=_0x40989e['fromEvent'](window,_0x568f7f(0x155))[_0x568f7f(0x10b)](_0x40989e[_0x568f7f(0x183)](this['dispose$']),_0x40989e[_0x568f7f(0x131)](0x1),_0x40989e[_0x568f7f(0xb9)](void 0x0));}[_0xc3c9ed(0x1f8)](_0x31b614,_0x24248f,_0x38ba38=!0x1){const _0x21fb74=_0xc3c9ed,_0x3f440a=new URL(window['location'][_0x21fb74(0x18d)]);_0x3f440a[_0x21fb74(0x17c)]['set'](_0x31b614,_0x24248f),_0x38ba38?window['history'][_0x21fb74(0x143)]('','',_0x3f440a[_0x21fb74(0x327)]()):window[_0x21fb74(0x284)][_0x21fb74(0x1f6)]('','',_0x3f440a[_0x21fb74(0x327)]());}['removeParam'](_0x2a8c4a,_0x2fe183=!0x1){const _0x573c51=_0xc3c9ed,_0x3222a2=new URL(window[_0x573c51(0x1a3)][_0x573c51(0x18d)]);_0x3222a2[_0x573c51(0x17c)][_0x573c51(0xc9)](_0x2a8c4a),_0x2fe183?window[_0x573c51(0x284)]['replaceState']('','',_0x3222a2[_0x573c51(0x327)]()):window['history'][_0x573c51(0x1f6)]('','',_0x3222a2[_0x573c51(0x327)]());}[_0xc3c9ed(0x209)](_0x46420b){const _0x37b8ea=_0xc3c9ed;var _0x473d81;return(_0x473d81=new URL(window['location'][_0x37b8ea(0x18d)])[_0x37b8ea(0x17c)]['get'](_0x46420b))!=null?_0x473d81:void 0x0;}}var _0x34e103=Object['defineProperty'],_0x4fa224=Object[_0xc3c9ed(0x25e)],_0x5520c1=(_0x3279cb,_0x380f15,_0x503efc)=>_0x380f15 in _0x3279cb?_0x34e103(_0x3279cb,_0x380f15,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x503efc}):_0x3279cb[_0x380f15]=_0x503efc,_0x10df3f=(_0x4023d9,_0x40c428,_0x12e35e,_0x54aa56)=>{const _0x1c689f=_0xc3c9ed;for(var _0x3bdc87=_0x54aa56>0x1?void 0x0:_0x54aa56?_0x4fa224(_0x40c428,_0x12e35e):_0x40c428,_0x2c9e6b=_0x4023d9[_0x1c689f(0x1f5)]-0x1,_0x5b4d13;_0x2c9e6b>=0x0;_0x2c9e6b--)(_0x5b4d13=_0x4023d9[_0x2c9e6b])&&(_0x3bdc87=_0x5b4d13(_0x3bdc87)||_0x3bdc87);return _0x3bdc87;},_0x4f8916=(_0x387792,_0x5d192d)=>(_0x289dc4,_0x5cb732)=>_0x5d192d(_0x289dc4,_0x5cb732,_0x387792),_0xfcf6bb=(_0x332cc9,_0x54cd8a,_0x3be323)=>_0x5520c1(_0x332cc9,_0x54cd8a+'',_0x3be323);const _0x21486e=_0xc3c9ed(0x276);_0x586957[_0xc3c9ed(0x16d)]=class extends _0x4a4808['Plugin']{constructor(_0x4f8b7e=_0x2c650,_0x1f7047,_0x22cb5b,_0x19e239){const _0x5b71e6=_0xc3c9ed;super(),this['_config']=_0x4f8b7e,this['_renderManagerService']=_0x1f7047,this['_injector']=_0x22cb5b,this['_configService']=_0x19e239;const {..._0x34f355}=_0x4a4808[_0x5b71e6(0x2db)]({},_0x2c650,this[_0x5b71e6(0x153)]);this[_0x5b71e6(0x17e)][_0x5b71e6(0x2ae)](_0x63d56e,_0x34f355);}['onStarting'](){const _0x5e33fe=_0xc3c9ed;this[_0x5e33fe(0x33e)](),this['_initDependencies']();}[_0xc3c9ed(0xd7)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3330c7=_0xc3c9ed;var _0x299358;const _0x1e020f=[[_0x12959a],[_0x52d36f],[_0x1e02f8],[_0x243af4],[_0x5cb308],[_0x5a759b,{'useClass':_0xc00ad0}],[_0x441f4f[_0x3330c7(0x22e)],{'useClass':_0x441f4f[_0x3330c7(0x222)]}],[_0x4bd9c3[_0x3330c7(0x313)],{'useClass':_0x4eae0a}],[_0x586957[_0x3330c7(0x34e)]],[_0x140d95],[_0x5ad52c],[_0x4e56a8],[_0x22b7b7],[_0x586957[_0x3330c7(0x332)]]];_0x4a4808[_0x3330c7(0x1dc)](this[_0x3330c7(0x11a)],_0x4a4808[_0x3330c7(0x1b5)](_0x1e020f,(_0x299358=this[_0x3330c7(0x153)])==null?void 0x0:_0x299358[_0x3330c7(0x139)]));}[_0xc3c9ed(0x14c)](){const _0x5f87f7=_0xc3c9ed;this[_0x5f87f7(0x1fb)](this['_renderManagerService'][_0x5f87f7(0x2f6)](_0x4a4808[_0x5f87f7(0x29e)][_0x5f87f7(0x30b)],[_0xf88ddf])),this[_0x5f87f7(0x1fb)](this[_0x5f87f7(0x2b5)]['registerRenderModule'](_0x4a4808[_0x5f87f7(0x29e)][_0x5f87f7(0x301)],[_0x4c423e]));}['_initDependencies'](){const _0x5769bf=_0xc3c9ed;_0x4a4808[_0x5769bf(0x263)](this['_injector'],[[_0x4e56a8],[_0x586957[_0x5769bf(0x34e)]],[_0x140d95],[_0x5ad52c],[_0x586957[_0x5769bf(0x332)]]]);}},_0xfcf6bb(_0x586957['UniverCollaborationClientUIPlugin'],'pluginName',_0x21486e),_0x586957['UniverCollaborationClientUIPlugin']=_0x10df3f([_0x4a4808[_0xc3c9ed(0x107)](_0x4bd9c3[_0xc3c9ed(0x316)]),_0x4f8916(0x1,_0x545a9a[_0xc3c9ed(0x1a1)]),_0x4f8916(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['Injector'])),_0x4f8916(0x3,_0x4a4808['IConfigService'])],_0x586957[_0xc3c9ed(0x16d)]);var _0x172470=Object[_0xc3c9ed(0x25e)],_0x4674ca=(_0x370435,_0x551c09,_0x363106,_0xd27427)=>{const _0x4f7865=_0xc3c9ed;for(var _0x5d5b4d=_0xd27427>0x1?void 0x0:_0xd27427?_0x172470(_0x551c09,_0x363106):_0x551c09,_0x183a20=_0x370435[_0x4f7865(0x1f5)]-0x1,_0x3aaed8;_0x183a20>=0x0;_0x183a20--)(_0x3aaed8=_0x370435[_0x183a20])&&(_0x5d5b4d=_0x3aaed8(_0x5d5b4d)||_0x5d5b4d);return _0x5d5b4d;},_0x453a2e=(_0x1243f1,_0x34f8e7)=>(_0x5c45a3,_0x38412b)=>_0x34f8e7(_0x5c45a3,_0x38412b,_0x1243f1);_0x586957[_0xc3c9ed(0x310)]=class extends _0x4bd9c3[_0xc3c9ed(0x1a0)]{constructor(_0x1e86ed,_0x4c7248,_0x5a30b9,_0x5ecd04,_0x227866){super(_0x1e86ed,_0x4c7248,_0x5a30b9,_0x5ecd04,_0x227866);}async[_0xc3c9ed(0x1f4)](_0x4e5bf9){const _0xe3fba8=_0xc3c9ed,_0x339f55=await this['_getSessionTicket'](),_0x41e843=this[_0xe3fba8(0x1ea)](_0x4e5bf9,_0x339f55);return this[_0xe3fba8(0x1b8)](_0x41e843);}['_createSocketURL'](_0x48cc2e,_0x3ce836){const _0x3d047a=_0xc3c9ed,_0x4d4dfd=typeof window>'u'?new URL(_0x48cc2e):new URL(_0x48cc2e,window[_0x3d047a(0x1a3)]['origin']);_0x4d4dfd[_0x3d047a(0x17c)]['set']('sessionTicket',_0x3ce836);const _0xecc41e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3d047a(0xe8)]);return _0xecc41e[_0x3d047a(0x302)]('runId')&&_0x4d4dfd['searchParams']['set']('runId',_0xecc41e[_0x3d047a(0x302)](_0x3d047a(0x1d7))),_0x4d4dfd[_0x3d047a(0x327)]();}async[_0xc3c9ed(0xf3)](){const _0xa2e5e6=_0xc3c9ed;var _0x1c0cfc,_0x4dcb83,_0x1c5b99;const _0x30e499=this[_0xa2e5e6(0x17e)][_0xa2e5e6(0x194)](_0x4bd9c3[_0xa2e5e6(0x265)]),_0x34280c=(_0x1c0cfc=_0x30e499==null?void 0x0:_0x30e499[_0xa2e5e6(0x336)])!=null?_0x1c0cfc:_0x4bd9c3['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1c5b99=(_0x4dcb83=(await this['_httpService'][_0xa2e5e6(0x302)](_0x34280c,{'headers':{'Content-Type':_0xa2e5e6(0x187)}}))[_0xa2e5e6(0x1e2)])==null?void 0x0:_0x4dcb83[_0xa2e5e6(0x162)])!=null?_0x1c5b99:'';}},_0x586957['BrowserCollaborationSocketService']=_0x4674ca([_0x453a2e(0x0,_0x4a4808['Inject'](_0x4a4808['Injector'])),_0x453a2e(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x441f4f[_0xc3c9ed(0xdf)])),_0x453a2e(0x2,_0x4a4808[_0xc3c9ed(0x221)]),_0x453a2e(0x3,_0x4a4808[_0xc3c9ed(0x25c)]),_0x453a2e(0x4,_0xc6a6b[_0xc3c9ed(0x16a)])],_0x586957[_0xc3c9ed(0x310)]);var _0x392353=(_0x2fa93a=>(_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x30e)]=0x0]=_0xc3c9ed(0x30e),_0x2fa93a[_0x2fa93a['OK']=0x1]='OK',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x192)]=0x2]=_0xc3c9ed(0x192),_0x2fa93a[_0x2fa93a['PERMISSION_DENIED']=0x3]=_0xc3c9ed(0x304),_0x2fa93a[_0x2fa93a['NOT_FOUND']=0x4]='NOT_FOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x273)]=0x5]=_0xc3c9ed(0x273),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1cc)]=0x6]=_0xc3c9ed(0x1cc),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xe2)]=0x7]='INVALID_ARGUMENT',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x2b7)]=0x8]='TOO_MANY_REQUESTS',_0x2fa93a[_0x2fa93a['COMPLETION_FINISHED']=0x9]=_0xc3c9ed(0x324),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x26e)]=0xa]=_0xc3c9ed(0x26e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x28e)]=0xb]=_0xc3c9ed(0x28e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x21a)]=0xc]=_0xc3c9ed(0x21a),_0x2fa93a[_0x2fa93a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xc3c9ed(0x2bd),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xe4)]=0xe]=_0xc3c9ed(0xe4),_0x2fa93a[_0x2fa93a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xc3c9ed(0x1d5),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x208)]=0x1771]=_0xc3c9ed(0x208),_0x2fa93a[_0x2fa93a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x330)]=0x1773]=_0xc3c9ed(0x330),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1e3)]=0x1b59]=_0xc3c9ed(0x1e3),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x109)]=0x1b5a]=_0xc3c9ed(0x109),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x218)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2fa93a[_0x2fa93a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xc3c9ed(0x195),_0x2fa93a[_0x2fa93a['APPLY_DUPLICATED']=0x1b5d]=_0xc3c9ed(0x21d),_0x2fa93a[_0x2fa93a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xc3c9ed(0x344),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x21b)]=0x2329]=_0xc3c9ed(0x21b),_0x2fa93a[_0x2fa93a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xc3c9ed(0x308),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x33b)]=0x232b]=_0xc3c9ed(0x33b),_0x2fa93a[_0x2fa93a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xc3c9ed(0x29b),_0x2fa93a[_0x2fa93a['LICENSE_DISTRO_REJECTED']=0x232d]=_0xc3c9ed(0x266),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x200)]=0x2711]=_0xc3c9ed(0x200),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x27d)]=0x2712]=_0xc3c9ed(0x27d),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x189)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2fa93a[_0x2fa93a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xc3c9ed(0x27a),_0x2fa93a[_0x2fa93a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xc3c9ed(0x2b2),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x312)]=0x271b]=_0xc3c9ed(0x312),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x156)]=0x271c]=_0xc3c9ed(0x156),_0x2fa93a[_0x2fa93a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xc3c9ed(0xca),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x2a0)]=0x271e]=_0xc3c9ed(0x2a0),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x27e)]=0x271f]=_0xc3c9ed(0x27e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1e9)]=0x2720]=_0xc3c9ed(0x1e9),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xc0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x145)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2fa93a[_0x2fa93a['INVALID_INVITE_CODE']=0x2ee2]=_0xc3c9ed(0x335),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xff)]=0x2ee3]=_0xc3c9ed(0xff),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x15c)]=0x2ee4]=_0xc3c9ed(0x15c),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x110)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x14e)]=0x32c9]=_0xc3c9ed(0x14e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x18a)]=0x32ca]=_0xc3c9ed(0x18a),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x199)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x11b)]=-0x1]=_0xc3c9ed(0x11b),_0x2fa93a))(_0x392353||{}),_0x44f423=Object['getOwnPropertyDescriptor'],_0x802fc7=(_0x313e87,_0x3ae97c,_0x2c47e2,_0xd9b505)=>{const _0x6cc5c4=_0xc3c9ed;for(var _0x5d31c4=_0xd9b505>0x1?void 0x0:_0xd9b505?_0x44f423(_0x3ae97c,_0x2c47e2):_0x3ae97c,_0x1e9a5a=_0x313e87[_0x6cc5c4(0x1f5)]-0x1,_0x274272;_0x1e9a5a>=0x0;_0x1e9a5a--)(_0x274272=_0x313e87[_0x1e9a5a])&&(_0x5d31c4=_0x274272(_0x5d31c4)||_0x5d31c4);return _0x5d31c4;},_0xf342f8=(_0xf37b9,_0x12096a)=>(_0x11bf6c,_0x5843a8)=>_0x12096a(_0x11bf6c,_0x5843a8,_0xf37b9);_0x586957[_0xc3c9ed(0x1bf)]=class extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(_0x53ed19,_0x1c2655,_0x39caf2){const _0x4e026d=_0xc3c9ed;super(),this[_0x4e026d(0x24c)]=_0x53ed19,this[_0x4e026d(0xd4)]=_0x1c2655,this[_0x4e026d(0x17e)]=_0x39caf2;}async[_0xc3c9ed(0x219)](_0x123155,_0x3a361e,_0x377263,..._0x313c46){const _0x26ecc8=_0xc3c9ed;var _0x37aa42,_0x5093d6,_0x471af7,_0x3260cd;const _0x13d35c=this[_0x26ecc8(0x24c)][_0x26ecc8(0x1d1)]();if(!_0x13d35c)throw new Error(_0x26ecc8(0x2d5));const _0x3d00d1=((_0x37aa42=this[_0x26ecc8(0x17e)][_0x26ecc8(0x194)](_0x4bd9c3[_0x26ecc8(0x203)]))!=null?_0x37aa42:_0x4bd9c3['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x123155+_0x26ecc8(0x1ad)+_0x3a361e,_0x34bc9f=new URL(window['location'][_0x26ecc8(0x18d)]),_0x211ba5={'scriptId':_0x123155,'runId':(_0x5093d6=_0x34bc9f['searchParams'][_0x26ecc8(0x302)](_0x26ecc8(0x1d7)))!=null?_0x5093d6:'','function':_0x3a361e,'unitId':_0x13d35c['getUnitId'](),'argsOfFunction':JSON[_0x26ecc8(0x237)](_0x313c46),'invokeId':(_0x471af7=_0x377263[_0x26ecc8(0x216)])!=null?_0x471af7:'','executionId':(_0x3260cd=_0x377263[_0x26ecc8(0x268)])!=null?_0x3260cd:''};try{const _0x1d742d=await this[_0x26ecc8(0xd4)][_0x26ecc8(0x1ee)](_0x3d00d1,{'body':_0x211ba5});return _0x1d742d[_0x26ecc8(0x1e2)][_0x26ecc8(0x21c)]&&_0x1d742d['body']['error']['code']!==_0x392353['OK']?_0x26ecc8(0x1fc):_0x1d742d[_0x26ecc8(0x1e2)][_0x26ecc8(0x33a)];}catch{return _0x26ecc8(0x1fc);}}},_0x586957[_0xc3c9ed(0x1bf)]=_0x802fc7([_0xf342f8(0x0,_0x4a4808[_0xc3c9ed(0x2f7)]),_0xf342f8(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x441f4f[_0xc3c9ed(0xdf)])),_0xf342f8(0x2,_0x4a4808[_0xc3c9ed(0x221)])],_0x586957['RemoteUniscriptService']);const _0x5a6ba8=0x7530,_0x4ba479='ACTIVE_UNIT_EVENT_CHANNEL';class _0x36a97e extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(){const _0x2ac2c7=_0xc3c9ed;super(),_0xc598b2(this,_0x2ac2c7(0x307),_0x4a4808[_0x2ac2c7(0x166)]()),_0xc598b2(this,_0x2ac2c7(0x19a),new Set()),_0xc598b2(this,_0x2ac2c7(0x2b9),new Map()),_0xc598b2(this,'_heartbeatTimer',null),_0xc598b2(this,_0x2ac2c7(0x2d7),new Map()),_0xc598b2(this,_0x2ac2c7(0x31d),new Map()),this[_0x2ac2c7(0x2f4)]();}[_0xc3c9ed(0x2c9)](){const _0x46c46a=_0xc3c9ed;super[_0x46c46a(0x2c9)](),this[_0x46c46a(0x2d7)]['forEach']((_0x1900a6,_0x1b5a53)=>this[_0x46c46a(0xfe)](_0x1b5a53)),this['_heartbeatTimer']&&window[_0x46c46a(0x2de)](this[_0x46c46a(0x1d3)]);}['getUnitStatus$'](_0x4f32e8){const _0x266dbc=_0xc3c9ed;return this[_0x266dbc(0x321)](_0x4f32e8)[_0x266dbc(0x10b)](_0x40989e[_0x266dbc(0xd1)]());}[_0xc3c9ed(0xde)](_0x5948aa){const _0x3c2425=_0xc3c9ed;this[_0x3c2425(0x19a)][_0x3c2425(0x2d8)]===0x0&&this[_0x3c2425(0x18e)](),this[_0x3c2425(0x19a)]['add'](_0x5948aa),this['_send']({'type':0x0,'memberID':this[_0x3c2425(0x307)],'unitIDs':[_0x5948aa],'isForwarded':!0x1});}[_0xc3c9ed(0x2ed)](_0x1288f4){const _0x49a041=_0xc3c9ed;this[_0x49a041(0x19a)][_0x49a041(0xc9)](_0x1288f4),this[_0x49a041(0x19a)][_0x49a041(0x2d8)]===0x0&&this[_0x49a041(0x1d3)]&&window['clearInterval'](this[_0x49a041(0x1d3)]);}[_0xc3c9ed(0x2f4)](){const _0x31be03=_0xc3c9ed;this[_0x31be03(0x1fb)](_0x4a4808[_0x31be03(0x23f)](_0x40989e['fromEvent'](window,_0x31be03(0x348))[_0x31be03(0x16e)](_0x4a7c85=>{const _0x5d1b40=_0x31be03;if(_0x4a7c85[_0x5d1b40(0x33c)]!==_0x4ba479||!_0x4a7c85['newValue'])return;const _0x31ee81=JSON[_0x5d1b40(0x1a8)](_0x4a7c85[_0x5d1b40(0x20b)]);this[_0x5d1b40(0x1c3)](_0x31ee81);}))),window[_0x31be03(0x2b1)]('unload',()=>this[_0x31be03(0x12c)]({'type':0x1,'memberID':this[_0x31be03(0x307)],'unitIDs':Array[_0x31be03(0x207)](this[_0x31be03(0x19a)])}));}[_0xc3c9ed(0x1c3)](_0x1dd2a6){const _0x55fd7a=_0xc3c9ed;switch(_0x1dd2a6[_0x55fd7a(0x196)]){case 0x0:this[_0x55fd7a(0x14a)](_0x1dd2a6);break;case 0x1:this[_0x55fd7a(0x12a)](_0x1dd2a6);break;case 0x2:this['_handleHeartbeatEvent'](_0x1dd2a6);break;}}[_0xc3c9ed(0x14a)](_0x101cf4){const _0x38baea=_0xc3c9ed,{unitIDs:_0x441ce5,memberID:_0x48d0c7,isForwarded:_0x496fad}=_0x101cf4;_0x441ce5['forEach'](_0x256357=>{const _0x1651e2=_0xb97a;if(!_0x496fad&&this[_0x1651e2(0x2b9)][_0x1651e2(0x119)](_0x256357)&&this[_0x1651e2(0x321)](_0x256357)['next'](_0x4bd9c3['UnitStatus'][_0x1651e2(0xce)]),!this[_0x1651e2(0x2b9)][_0x1651e2(0x119)](_0x256357)||!this[_0x1651e2(0x2b9)][_0x1651e2(0x302)](_0x256357)[_0x1651e2(0x119)](_0x48d0c7)){const _0x1cc14e=this['_unitOnClients']['get'](_0x256357)||new Set();_0x1cc14e[_0x1651e2(0xf6)](_0x48d0c7),this[_0x1651e2(0x2b9)]['set'](_0x256357,_0x1cc14e),this[_0x1651e2(0x30a)](_0x48d0c7);}}),_0x496fad||this[_0x38baea(0x12c)]({'type':0x0,'memberID':this[_0x38baea(0x307)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x27e084){const _0x4558c0=_0xc3c9ed;this[_0x4558c0(0xfe)](_0x27e084);const _0x12c40c=window[_0x4558c0(0xfd)](()=>{this['_unitOnClients']['forEach'](_0x5d5111=>{const _0x5ed4ed=_0xb97a;_0x5d5111[_0x5ed4ed(0xc9)](_0x27e084);});},_0x5a6ba8*0x2);this['_clearOtherTimers'][_0x4558c0(0x1e7)](_0x27e084,_0x12c40c);}[_0xc3c9ed(0xfe)](_0x14392a){const _0x2bbc4b=_0xc3c9ed;if(this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x119)](_0x14392a)){const _0x36c82c=this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x302)](_0x14392a);_0x36c82c&&window[_0x2bbc4b(0x133)](_0x36c82c),this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x1e7)](_0x14392a,null);}}['_handleLeaveEvent'](_0x978fe1){const _0xaacdc1=_0xc3c9ed,{memberID:_0x1c2309,unitIDs:_0x215742}=_0x978fe1;_0x215742[_0xaacdc1(0x2ca)](_0x3ab0ec=>{const _0x68ddd6=_0xaacdc1;var _0x16de52;const _0x31b8f1=this[_0x68ddd6(0x2b9)][_0x68ddd6(0x302)](_0x3ab0ec);_0x31b8f1&&(_0x31b8f1[_0x68ddd6(0xc9)](_0x1c2309),(_0x16de52=this['_ensureSubject'](_0x3ab0ec))==null||_0x16de52[_0x68ddd6(0x33f)](_0x31b8f1[_0x68ddd6(0x2d8)]===0x0?_0x4bd9c3[_0x68ddd6(0x232)][_0x68ddd6(0x300)]:_0x4bd9c3[_0x68ddd6(0x232)][_0x68ddd6(0xce)]));}),this[_0xaacdc1(0xfe)](_0x1c2309);}[_0xc3c9ed(0x1c9)](_0x1ab50d){const _0x5ac786=_0xc3c9ed;this[_0x5ac786(0x30a)](_0x1ab50d[_0x5ac786(0x2cf)]);}[_0xc3c9ed(0x12c)](_0x50c18e){const _0x258d43=_0xc3c9ed;localStorage[_0x258d43(0x2ec)](_0x4ba479,JSON[_0x258d43(0x237)](_0x50c18e));}['_scheduleHeartbeat'](){const _0x80b401=_0xc3c9ed;this[_0x80b401(0x1d3)]=window[_0x80b401(0x245)](()=>{const _0x308b28=_0x80b401;this['_send']({'type':0x2,'memberID':this[_0x308b28(0x307)]});},_0x5a6ba8);}[_0xc3c9ed(0x321)](_0x1e1df1){const _0x4da432=_0xc3c9ed;return this[_0x4da432(0x31d)]['has'](_0x1e1df1)||this['_unitStatus']['set'](_0x1e1df1,new _0x40989e[(_0x4da432(0x2d1))](_0x4bd9c3[_0x4da432(0x232)][_0x4da432(0x300)])),this[_0x4da432(0x31d)][_0x4da432(0x302)](_0x1e1df1);}}_0x586957[_0xc3c9ed(0x250)]=_0x5a759b,_0x586957[_0xc3c9ed(0x1ac)]=_0x464aa0,_0x586957[_0xc3c9ed(0x274)]=_0x36a97e,_0x586957[_0xc3c9ed(0x2f0)]=_0xc00ad0,Object[_0xc3c9ed(0x15b)](_0x586957,Symbol[_0xc3c9ed(0x1e0)],{'value':_0xc3c9ed(0x152)});}));function _0xb97a(_0x136152,_0x11418a){const _0x1e7c28=_0x1e7c();return _0xb97a=function(_0xb97a79,_0x436e75){_0xb97a79=_0xb97a79-0xb8;let _0x250b23=_0x1e7c28[_0xb97a79];return _0x250b23;},_0xb97a(_0x136152,_0x11418a);}function _0x1e7c(){const _0x558dde=['xlink:href','application/json','string','YUUMI_RATE_OVER_LIMIT','MOBILE_HAS_BEEN_BOUND','_cursors','getRenderById','href','_scheduleHeartbeat','getSheetBySheetId','params','drawWith','INTERNAL_ERROR','_cursor','getConfig','APPLY_PERMISSION_DENIED','type','registerRefRange','_saveTaskMap','EMAIL_HAS_BEEN_BOUND','_selfUnitIDs','status$','colorChannel1','getOffsetConfig','UniverDocs','InsertColCommandId','CollaborationSocketService','IRenderManagerService','univer-flex\x20univer-items-center','location','_disabled','DocIMEInputManagerService','DocStateChangeManagerService','_docStateChangeManagerService','parse','_initCommandExecutedListener','EffectRefRangId','_logService','SheetCollabCursorShape','/run/','saveImage','replace','_anchorDot','transformMutationsWithChangeset','isArray','collabStatus.syncing','ICommandService','mergeOverrideWithDependencies','show','svg','_doCreateSocket','sessionStatus$','startRow','getMember','DeleteRangeMoveUpCommandId','SessionStatus','SYNCED','RemoteUniscriptService','_localCacheService','whenReady','createInstance','_handleEvent','MUTATION','defs','runRefRangeMutations','entityInit$','_onRefRangeChange','_handleHeartbeatEvent','amd','_transformUndoRedoStack','ALREADY_EXISTS','getOwnPropertySymbols','unit','_roomMembers$','NodePositionConvertToCursor','getFocusedUnit','_hover','_heartbeatTimer','transformByState','CHANGESET_REVISION_CONFILICT','requireSession','runId','onCommandExecuted','getDocRanges','mask','RegularPolygon','registerDependencies','unitId','getUnitId','toRgbString','toStringTag','UniverProCollaboration','body','APPLY_REJECT','_urlService','_toggleOffline','SOCKET_FAILED_RETRY','set','_localeService','YUUMI_CONNECTOR_URL_NOT_FOUND','_createSocketURL','IImageIoService','getUndoRedoMutationParamsCache','with','post','makeDirty','red.300','_refreshCollabCursors','CollaborationStatus','_messageService','createSocket','length','pushState','_docClipboardService','setParam','extend','UniverIcon','disposeWithMe','Failed','IRemoteInstanceService','subscribeEvent','getColor','YUUMI_UNABLE_LOAD_URL','cursorInfo','univer-mr-2\x20univer-flex\x20univer-text-xl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[CollaborationDataLoaderController]','NOT_COLLAB','collaboration-client.offline-data-not-saved','from','SNAPSHOT_INVALID_SNAPSHOT','getParam','_scene','newValue','_getAnchorBounding','handleDeleteRangeMoveLeft','on-line-icon','collabStatus.offline','complete','executeCommand','_textBubble','RxDisposable','@univerjs/sheets','http://www.w3.org/2000/svg','invokeId','trim','APPLY_REVISION_CONFILICT','runOnServer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_MAX_UNITS_EXCEEDED','error','APPLY_DUPLICATED','Rect','send','jsx','IConfigService','WebSocketService','COLORS','_getSaveTimeout','IDocClipboardService','deepClone','getSheetId','handleDeleteRangeMoveUp','_getSheetObject','top','map','_startSheetCollabCursor','UniverCore','ISocketService','_cursorShapes','setShapeProps','url(#off-line-icon_clip0_910_343)','UnitStatus','fill','AWAITING','_commandService','_cachedData','stringify','bottom','indexOf','transformMutation','DocSkeletonManagerService','DocSelectionManagerService','onLocalMutation','sheetId','toDisposable','collabCursorState$','collabStatus.notCollab','_hovered','jiqing.500','getVpScrollXYInfoByPosToVp','setInterval','RECT','lineTo','CollaborationUIEventId','init','UniverSheets','round','_instanceService','getCollabEntity$','9wBIzLj','ThemeService','IURLService','SetTextSelectionsOperation','React','setUndoRedoMutationParamsCache','211026xBsYty','getActiveSheet','UniverDesign','LOCAL_CACHE_INTERVAL','getRangePointData','11742xhFKcT','clsx','getCollabCursors$','ILogService','DeleteRangeMoveLeftCommandId','getOwnPropertyDescriptor','_labelPosition','Tools','8QjktQX','collabStatus.conflict','touchDependencies','SetDocZoomRatioOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_DISTRO_REJECTED','registerBeforeClose','executionId','CollaborationController','row','ONLINE','icon','eventID','LOGIN_FAILED','collabStatus.fetchMiss','closePath','6593274lsWLmK','_session','UNAUTHENTICATED','WebBrowserSingleActiveUnitService','23510IgxlkI','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docSyncEditingCollabCursorService','UniverRpc','displayName','YUUMI_SUBSCRIPTION_NOT_FOUND','dispose$','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_AI_RUN_FAILED','replaceDocRanges','source','hasOwnProperty','focused$','2981wBArva','history','_syncEditingCollabCursorService','push','_hideTimer','roomMembers','OnLineIcon','_scheduleSaving','_updateCollabCursors','children','Workbook','MOBILE_VERIFY_CODE_MISMATCH','getValue','split','react/jsx-runtime','debug','actions','off-line-icon_clip0_910_343','translate(.97)','Error','CLOSE_ROOM','rxjs','white','connectInjector','LICENSE_EXPORT_SIZE_EXCEEDED','engine','_drawAnchor','UniverInstanceType','OffLineIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','color','startColumn','_colorIndex','UniverDrawing','Tooltip','transformStateCache','BuiltInUIPart','symbol','useCallback','_colorAssignService','column','OTHER_CLIENT_EDITING','RefRangeService','setConfig','_drawTextRange','2785650rEFwGW','addEventListener','YUUMI_NO_CUBOID_FOR_QUESTION','_notificationService','Injector','_renderManagerService','Warning','TOO_MANY_REQUESTS','beginPath','_unitOnClients','tag','_uiPartsService','CollaborationSessionService','EMAIL_VERIFY_CODE_MISMATCH','subUnitId','updateOfflineData','prototype','_range','#FFF','@univerjs/network','_transformService','fromEventSubject','collabStatus.synced','DisposableCollection','InsertRangeMoveRightCommandId','dispose','forEach','_color','4999666OsLFwT','_render','ColorKit','memberID','_dataLoaderService','BehaviorSubject','SOCKET_FAILED','getMergeData','save','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Vector2','_clearOtherTimers','size','_docTransformStateCacheService','_online','merge','redoState','...','clearInterval','fillStyle','setAlpha','UniverEngineRender','UniverSheetsUi','assignAColorForMemberID','m2Prime','_anchor','_initStatusListener','entries','_entityInit$','setStateCache','measureText','collaboration-client-ui.config','setItem','disposeUnit','substring','DocCollaborationEntity','WebURLService','undoState','data','isTransformMutationFailure','_init','text','registerRenderModule','IUniverInstanceService','getViewport','DOC_RANGE_TYPE','getLocalCacheKey','endColumn','_name','_removeCollabCursors','function','UniverProCollaborationClient','NO_OTHER_CLIENTS_EDITING','UNIVER_SHEET','get','_memberService','PERMISSION_DENIED','_drawRectRange','assign','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','_scheduleClearOtherTimer','UNIVER_DOC','_onCursorUpdate','then','UNDEFINED','_imageIoService','BrowserCollaborationSocketService','isActive','YUUMI_ASYNCIO_CANCELLED','ILocalCacheService','unitID','find','UniverCollaborationClientPlugin','VIEW_MAIN','exhaustSavingTask','_eventUnsubscribe','evenodd','_refRangeService','getCoordByCell','_unitStatus','FromArray','@univerjs/rpc','RemoveColCommandId','_ensureSubject','_draw','m1Prime','COMPLETION_FINISHED','debounce','_updateLocalCursor','toString','LocaleService','onTransformChange$','SetWorksheetActivateCommand','restore','object','roomMembers$','handleInsertCol','getStateCache','ENSURE_SNAPSHOT_EXECUTION','getTypeOfUnitDisposed$','CollaborationDataLoaderController','_saveCache','handleInsertRangeMoveRight','INVALID_INVITE_CODE','wsSessionTicketUrl','_collaborationController','forwardRef','random','result','LICENSE_IMPORT_SIZE_EXCEEDED','key','_onCursorDelete','_registerDependencies','next','_lastPointer','div','UniverNetwork','_collabCursorState$','CONNECTOR_DATA_TOO_LARGE','current','clipPath','_backgroundColor','storage','_entities','blue.400','CollaborationEvent','off-line-icon','_docTransformSelectionsService','DesktopCollaborationStatusDisplayController','INotificationService','selection','on-line-icon_clip0_910_349','enableLocalCache','switchMap','mapTo','filter','_startDocCollabCursor','_toggleOnline','getCurrentUnitForType','registerComponent','permission.title','PY_RUNTIME_SCRIPT_ERROR','addObject','concat','hide','onMouseMove','_status$','_getMergeRange','idSuffix','_initEvent','delete','YUUMI_ALL_TABLES_IS_INVALID','@univerjs/ui','_sheetSkeletonManagerService','collab-client.tooltip.reconnect','OTHER_CLIENTS_EDITING','min','_revisionService','distinctUntilChanged','_univerInstanceService','width','_httpService','TEXT','createElement','onRendered','yellow.400','Subject','black','_themeService','348207ePnawT','purple.300','editingUnit','HTTPService','_collabCursorController','setActiveRange','INVALID_ARGUMENT','imageSourceType','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ranges','className','arc','search','selections','url(#on-line-icon_clip0_910_349)','getAncestorScale','_docSkeletonManagerService','mutations','Shape','_cursorInfo$','@univerjs/docs','currentSkeleton$','doc.mutation.rich-text-editing','_getSessionTicket','_setupBeforeClosingHandler','asObservable','add','findNodePositionByCharIndex','UPDATE_CURSOR','debounceTime','_updateURLWithCurrentState','subunit','deserializeRangeWithSheet','setTimeout','_removeClearOtherTimer','INVITE_CODE_REQUIRED','16gePVoc','_assignedColors','0\x200\x2017\x2016','collaboration.single-unit.warning','useRef','react','session.collaboration-timeout','DependentOn','path','APPLY_NON_SEQUENTIAL_REVISION','DataLoaderService','pipe','includes','name','UniverDocsUi','some','INVITE_CODE_ALREADY_BOUND','_collabSessionService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Inject','RichTextEditingMutation','_setupSubUnitSync','call','activeSheet$','unshift','has','_injector','UNRECOGNIZED','permission.content','_localStorageService','use','TEXT_RANGE_LAYER_INDEX','_handleHover','USERS_LEAVE','all','UniverUi','getColorFromTheme','docStateChange$','onPointerLeave$','transformRemoteChangeset','@univerjs/sheets-ui','serializeRangeWithSheet','_handleLeaveEvent','@univerjs/engine-formula','_send','none','textRanges','_context','rxjs/operators','shareReplay','SUBMIT_CHANGESET_TIMEOUT','clearTimeout','CollaborationUIEventService','SheetsSelectionsService','handleIRemoveCol','throttleTime','IMessageService','override','getTypeOfUnitAdded$','jsxs','values','IUIPartsService','SHEET_VIEWPORT_KEY','getActiveRange','reconnect','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','MessageType','replaceState','currentTheme$','INVITE_CODE_HAS_BEEN_UES','defIds','CONFLICT','addHandlerCallback','saveOfflineData','_handleJoinEvent','_initStatusComponent','_registerRenderDependencies','UniverProCollaborationClientUi','WECHAT_HAS_BEEN_BOUND','fillRule','event$','attrs','Module','_config','propertyIsEnumerable','popstate','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disableLocalCache','Unknown\x20user','max','onPointerEnter$','defineProperty','USER_NOT_INVITED_CODE','_updateSubUnitFromURLParams','session.connection-failed','combineLatest','isTransformMutationsWithChangesetSuccess','urlChange$','ticket','collaboration.closeRoom','1em','Rectangle','generateRandomId','SheetSkeletonManagerService','handleInsertRow','ILocalStorageService','ISnapshotServerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Disposable','UniverCollaborationClientUIPlugin','subscribe','unsubscribe','sheetID','OFFLINE','_initResize','M0\x200H16V16H0z','triggerDblclick','apply','fillText','transformSelections','url(#$1','ITransformService','_initEntityListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','searchParams','HEADER_MENU','_configService','_shapes','cursorInfo$','@univerjs/docs-ui','_transformHistoryAndStateStack','takeUntil','_docSkeleton','syncEditingCollabCursor'];_0x1e7c=function(){return _0x558dde;};return _0x1e7c();}
|
|
1
|
+
function _0x31db(_0x39900b,_0x3a5b87){const _0x48d2f5=_0x48d2();return _0x31db=function(_0x31dba7,_0x29589f){_0x31dba7=_0x31dba7-0xeb;let _0x1e2c25=_0x48d2f5[_0x31dba7];return _0x1e2c25;},_0x31db(_0x39900b,_0x3a5b87);}function _0x48d2(){const _0x3a5de7=['INTERNAL_ERROR','delete','_updateLocalCursor','FETCH_MISS','YUUMI_ASYNCIO_CANCELLED','div','m1Prime','onCommandExecuted','@univerjs/design','round','top','_textBubble','saveImage','distinctUntilChanged','UNIVER_SHEET','stringify','_clearOtherTimers','debounce','icon','_lastPointer','InsertColCommandId','APPLY_NON_SEQUENTIAL_REVISION','with','_docSkeleton','wsSessionTicketUrl','LOCAL_CACHE_INTERVAL_KEY','session.collaboration-timeout','on-line-icon_clip0_910_349','endColumn','min','_colorAssignService','getRelativeToViewportCoord','getConfig','LICENSE_DISTRO_REJECTED','_urlService','_collabSessionService','InsertRangeMoveDownCommandId','getTypeOfUnitDisposed$','CollaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getUnitStatus$','IURLService','_getScale','newValue','searchParams','_createSocketURL','extend','WECHAT_HAS_BEEN_BOUND','MOBILE_HAS_BEEN_BOUND','invokeId','Disposable','fillStyle','getCurrent','measureText','_memberService','currentSkeleton$','_toggleOnline','_handleEvent','UniverIcon','_range','_syncEditingCollabCursorService','SOCKET_FAILED','post','OffLineIcon','CommandType','_initEntityListener','current','redoState','font','YUUMI_SUBSCRIPTION_NOT_FOUND','Injector','getCoordByCell','green.600','colorChannel1','_disabled','values','_name','CollaborationSocketService','getSheetId','@univerjs/engine-formula','combineLatest','10POzwVY','enableLocalCache','function','5390464nMWKaE','IImageIoService','apply','transform','onPointerEnter$','replace','imageSourceType','BehaviorSubject','displayName','3620372FWYmpW','_scene','amd','ALREADY_EXISTS','mutations','collaboration.single-unit.warning','createSocket','contains','NodePositionConvertToRectRange','_refRangeService','DocStateChangeManagerService','_getMergeRange','editingUnit','getColor','DataLoaderService','APPLY_DUPLICATED','_labelPosition','_notificationService','_sheetSkeletonManagerService','type','_docTransformStateCacheService','getUndoRedoMutationParamsCache','registerDependencies','unsubscribe','onTransformChange$','startRow','updateOfflineData','_cursor','red.300','1em','_color','save','then','hasOwnProperty','_init','UNAUTHENTICATED','_config','roomMembers$','MemberService','_docSyncEditingCollabCursorService','getSheetBySheetId','_hovered','45KRSvpL','triggerDblclick','executionId','exhaustSavingTask','mask','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','SNAPSHOT_HAS_BEEN_REMOVED','IUniverInstanceService','white','findNodePositionByCharIndex','setActiveRange','ITransformService','session.will-retry','CollaborationSessionService','VIEW_MAIN','className','on-line-icon','ICommandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_localCacheService','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_MISMATCH','width','ticket','registerRenderModule','clearTimeout','_getAnchorBounding','location','NOT_FOUND','createIdentifier','rxjs','_revisionService','UniverInstanceType','_context','_docTransformIMECacheService','ISocketService','UniverCollaborationClientPlugin','UniverCore','split','_commandService','_render','LICENSE_MAX_UNITS_EXCEEDED','_ensureSubject','_drawAnchor','propertyIsEnumerable','syncEditingCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','string','undoState','currentColor','trim','_hover','pluginName','_scheduleSaving','currentTheme$','CLOSE_ROOM','CollaborationController','_setupBeforeClosingHandler','replaceDocRanges','_colorIndex','UniverProCollaborationClient','DOC_RANGE_TYPE','toDisposable','IDocClipboardService','getLocalCacheKey','getCollabCursors$','_cursorShapes','18OdDarX','_drawRectRange','useRef','_removeCollabCursors','fromEvent','collabCursorState$','height','BrowserCollaborationSocketService','_online','LOGIN_FAILED','getDocRanges','flatMap','DocSelectionManagerService','getSkeleton','_injector','setTimeout','_unitOnClients','BuiltInUIPart','defIds','runRefRangeMutations','mapTo','getUnitId','executeCommand','collabStatus.offline','setParam','setItem','_initStatusListener','storage','lineTo','@univerjs/rpc','CONFLICT','handleIRemoveRow','_anchor','collabStatus.synced','_unitStatus','@univerjs/drawing','UniverSheets','_entities','CollaborationUIEventId','_renderManagerService','FromArray','getMember','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/sheets-ui','_eventUnsubscribe','WebSocketService','MUTATION','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','restore','_cachedData','APPLY_REJECT','activeSheet$','generateRandomId','UniverDocsUi','toRgbString','_saveCache','mergeOverrideWithDependencies','collaboration-client.offline-data-not-saved','PY_RUNTIME_SCRIPT_ERROR','debounceTime','_transformPreviousActiveRange','DisposableCollection','collab-rect-range-','next','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','init','_updateSubUnitFromURLParams','RemoveColCommandId','_collabCursorController','object','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','_entityInit$','MoveRangeCommandId','path','103058WOpeWS','transformStateCache','_onCursorUpdate','onPointerLeave$','result','translate(.97)','entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unitId','connectInjector','merge','EMAIL_HAS_BEEN_BOUND','setAlpha','_setupSubUnitSync','DocIMEInputManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','540354qhdPli','color','INVITE_CODE_ALREADY_BOUND','0\x200\x2017\x2016','getViewport','unshift','bottom','UniverCollaborationClientUIPlugin','_collabCursorState$','getFocusedUnit','@univerjs/sheets','_refreshCollabCursors','UPDATE_CURSOR','RichTextEditingMutation','getActiveSheet','SetTextSelectionsOperation','_instanceService','IMessageService','entries','dispose','sessionStatus$','COLORS','whenReady','makeDirty','YUUMI_RATE_OVER_LIMIT','TEXT_RANGE_LAYER_INDEX','handleMoveRange','DEFAULT_WS_SESSION_TICKET_URL','APPLY_PERMISSION_DENIED','runId','getParam','setShapeProps','_startSheetCollabCursor','asObservable','yellow.400','getOwnPropertyDescriptor','55ybHkzK','defs','column','SetDocZoomRatioOperation','ILocalCacheService','operators','COMPLETION_FINISHED','handleInsertRangeMoveDown','handleDeleteRangeMoveUp','_roomMembers$','Module','replaceState','_localeService','Subject','getActiveRange','UNDEFINED','range','getTypeOfUnitAdded$','#FFF','deserializeRangeWithSheet','react','ILogService','registerBeforeClose','push','SheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','onPointerMove$','getValue','closePath','_transformHistoryAndStateStack','react/jsx-runtime','getColorFromTheme','show','getCellPositionByOffset','beginPath','getCurrentSelections','_assignedColors','has','_hideTimer','onStarting','UniverNetwork','switchMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverDrawing','_configService','unload','call','RemoteUniscriptService','_uiPartsService','application/json','UniverUi','subscribe','_id','_docTransformSelectionsService','PERMISSION_DENIED','_httpService','Vector2','assign','reconnect','_heartbeatTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverRpc','SheetsSelectionsService','_messageService','OnLineIcon','pushState','Unknown\x20user','createElement','UnitStatus','isActive','IRenderManagerService','assignAColorForMemberID','SHEET_VIEWPORT_KEY','getOwnPropertySymbols','unit','map','get','none','@univerjs/network','send','selection','origin','addObject','href','SetWorksheetActivateCommand','getMergeData','dispose$','_univerInstanceService','Failed','prototype','Rect','IBeforeCloseService','useDependency','IRemoteInstanceService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','DeleteRangeMoveUpCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','_status$','black','saveOfflineData','APPLY_REVISION_CONFILICT','_cursorInfo$','cursorInfo','_scheduleHeartbeat','clipPath','OFFLINE','@univerjs/core','_initEvent','RegularPolygon','YUUMI_AI_RUN_FAILED','_collaborationController','_getSheetObject','_anchorDot','purple.300','Shape','pipe','requireSession','event$','text','_transformUndoRedoStack','addClipboardHook','@univerjs-pro/collaboration-client','660240WgBBOE','fill','USERS_LEAVE','collabStatus.conflict','isTransformMutationsWithChangesetSuccess','handleInsertCol','getCollabEntity$','startsWith','NO_OTHER_CLIENTS_EDITING','Inject','Warning','toString','_initStatusComponent','_beforeCloseService','data','disposeWithMe','setInterval','key','_shapes','fillRule','_handleLeaveEvent','collabStatus.fetchMiss','[CollaborationDataLoaderController]','collab-text-range-','SetSelectionsOperation','InsertRowCommandId','resize','createInstance','...','_logService','CollaborationStatus','RemoveRowCommandId','getItem','_localStorageService','IUIPartsService','transformIMECache','error','getOffsetConfig','evenodd','jsxs','_saveTaskMap','_updateURLWithCurrentState','length','SNAPSHOT_INVALID_SNAPSHOT','NodePositionConvertToCursor','runOnServer','transformMutationsWithChangeset','_session','xlink:href','RxDisposable','off-line-icon_clip0_910_343','_selfUnitIDs','addObjects','params','row','INotificationService','deepClone','ColorKit','throttleTime','onRendered','isArray','_initResize','engine','RECT','ranges','url(#$1','onLocalMutation','Error','size','transformMutation','complete','UniverSheetsUi','uni.network.url-service','defineProperty','removeParam','_dataLoaderService','symbol','rxjs/operators','MessageType','all','set','clearInterval','registerComponent','INVALID_ARGUMENT','_onRefRangeChange','getMemberID','809256woFcIb','getRenderById','_startDocCollabCursor','url(#on-line-icon_clip0_910_349)','exports','Rectangle','hide','actions','history','add','url(#off-line-icon_clip0_910_343)','includes','_cursors','EffectRefRangId','_removeClearOtherTimer','_onCursorDelete','filter','indexOf','from','UniverEngineRender','RevisionService','_transformService','fromEventSubject','transformRemoteChangeset','NOT_COLLAB','disposeUnit','registerRefRange','getSheetObject','8495674rmKlfN','UniverProCollaborationClientUi','OTHER_CLIENTS_EDITING','SYNCED','fillText','_imageIoService','status$','forEach','drawWith','ONLINE','_scheduleClearOtherTimer','docStateChange$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_toggleOffline','children','DesktopCollaborationStatusDisplayController','attrs','toStringTag','handleInsertRangeMoveRight','PENDING','takeUntil','collaboration.closeRoom','hovered','idSuffix','CollaborationEvent','subscribeEvent','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','HTTPService','@univerjs/ui','UniverProCollaboration','_themeService','urlChange$','@univerjs/docs','LocaleService','_backgroundColor','Tools','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_INVITE_CODE','_initDependencies','_registerRenderDependencies','UNIVER_DOC','CONNECTOR_DATA_TOO_LARGE','find','forwardRef','_handleHover','onMouseMove','random','Workbook','touchDependencies','session.connection-failed','transformSelections','_docStateChangeManagerService','eventID','http://www.w3.org/2000/svg','TEXT','_send','_document','sheetId','UniverDesign','code','CollaborationDataLoaderController','unitID','isEditing','isTransformMutationFailure','SOCKET_FAILED_RETRY','body','_getSaveTimeout','INVITE_CODE_REQUIRED','getRangePointData','labelPosition','DeleteRangeMoveLeftCommandId','AWAITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','@univerjs/engine-render','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','name','DependentOn','doc.mutation.rich-text-editing','roomMembers','tag','_updateCollabCursors','IConfigService','Tooltip','_collaborationUIEventService','InsertRangeMoveRightCommandId','UNRECOGNIZED','skeleton','serializeRangeWithSheet','M0\x200H16V16H0z','concat','jsx','YUUMI_ALL_TABLES_IS_INVALID','debug','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','_registerDependencies','disableLocalCache','_docSkeletonManagerService','SessionStatus','subunit','cursorInfo$','_drawTextRange','INVITE_CODE_HAS_BEEN_UES','m2Prime'];_0x48d2=function(){return _0x3a5de7;};return _0x48d2();}(function(_0x45e85c,_0x396565){const _0x106bc3=_0x31db,_0x1d7b99=_0x45e85c();while(!![]){try{const _0x4c6747=parseInt(_0x106bc3(0x167))/0x1+parseInt(_0x106bc3(0x157))/0x2*(-parseInt(_0x106bc3(0x36a))/0x3)+parseInt(_0x106bc3(0x337))/0x4+-parseInt(_0x106bc3(0x18b))/0x5*(parseInt(_0x106bc3(0x25c))/0x6)+parseInt(_0x106bc3(0x340))/0x7+-parseInt(_0x106bc3(0x206))/0x8*(parseInt(_0x106bc3(0x108))/0x9)+parseInt(_0x106bc3(0x334))/0xa*(parseInt(_0x106bc3(0x278))/0xb);if(_0x4c6747===_0x396565)break;else _0x1d7b99['push'](_0x1d7b99['shift']());}catch(_0x1a1fd2){_0x1d7b99['push'](_0x1d7b99['shift']());}}}(_0x48d2,0xb889d),function(_0x32fff8,_0x2711d9){const _0x344b86=_0x31db;typeof exports==_0x344b86(0x151)&&typeof module<'u'?_0x2711d9(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==_0x344b86(0x336)&&define[_0x344b86(0x342)]?define([_0x344b86(0x260),_0x344b86(0x1a9),_0x344b86(0x205),_0x344b86(0x1f6),_0x344b86(0x295),_0x344b86(0x389),_0x344b86(0x2eb),_0x344b86(0x19f),_0x344b86(0x125),_0x344b86(0x171),_0x344b86(0x2c4),_0x344b86(0x1d9),'@univerjs/docs-ui',_0x344b86(0x12b),'@univerjs-pro/collaboration',_0x344b86(0x299),_0x344b86(0x332),_0x344b86(0x253),_0x344b86(0x133)],_0x2711d9):(_0x32fff8=typeof globalThis<'u'?globalThis:_0x32fff8||self,_0x2711d9(_0x32fff8[_0x344b86(0x279)]={},_0x32fff8['React'],_0x32fff8[_0x344b86(0x101)],_0x32fff8[_0x344b86(0x390)],_0x32fff8[_0x344b86(0x1bd)],_0x32fff8['rxjs'],_0x32fff8[_0x344b86(0x2b3)],_0x32fff8['React'],_0x32fff8[_0x344b86(0x1c8)],_0x32fff8[_0x344b86(0x12c)],_0x32fff8[_0x344b86(0x26f)],_0x32fff8[_0x344b86(0x1b3)],_0x32fff8[_0x344b86(0x13e)],_0x32fff8[_0x344b86(0x1b6)],_0x32fff8[_0x344b86(0x296)],_0x32fff8['UniverDocs'],_0x32fff8['UniverEngineFormula'],_0x32fff8[_0x344b86(0x389)][_0x344b86(0x190)],_0x32fff8[_0x344b86(0x24d)]));}(this,function(_0x427b6e,_0x219e43,_0x14cc37,_0x233149,_0x5ec1c1,_0x12fec3,_0x14667c,_0x4595a8,_0x467414,_0x21b9bf,_0x5ee778,_0xabfec4,_0x35cd67,_0xae7fbc,_0x16f706,_0x31d980,_0x1df0d9,_0x493a5f,_0xcb2717){'use strict';const _0x3e20bb=_0x31db;var _0x155d57=Object['defineProperty'],_0x254438=(_0x135f32,_0x590a8d,_0x5b1937)=>_0x590a8d in _0x135f32?_0x155d57(_0x135f32,_0x590a8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1937}):_0x135f32[_0x590a8d]=_0x5b1937,_0x18ecd9=(_0x2257e9,_0x54fd78,_0x34a7e8)=>_0x254438(_0x2257e9,typeof _0x54fd78!=_0x3e20bb(0x252)?_0x54fd78+'':_0x54fd78,_0x34a7e8),_0x59efa0=function(){const _0x25ef9b=_0x3e20bb;return _0x59efa0=Object[_0x25ef9b(0x1c4)]||function(_0x38e6aa){const _0x3e2af7=_0x25ef9b;for(var _0x29310d,_0x25729e=0x1,_0x4c32bc=arguments['length'];_0x25729e<_0x4c32bc;_0x25729e++){_0x29310d=arguments[_0x25729e];for(var _0xd269dd in _0x29310d)Object[_0x3e2af7(0x1e4)][_0x3e2af7(0x361)]['call'](_0x29310d,_0xd269dd)&&(_0x38e6aa[_0xd269dd]=_0x29310d[_0xd269dd]);}return _0x38e6aa;},_0x59efa0[_0x25ef9b(0x339)](this,arguments);},_0x16e51f=function(_0x434cde,_0x2a1af4){const _0x13584e=_0x3e20bb;var _0x2cd0f2={};for(var _0x1bcd8b in _0x434cde)Object['prototype'][_0x13584e(0x361)][_0x13584e(0x1b9)](_0x434cde,_0x1bcd8b)&&_0x2a1af4['indexOf'](_0x1bcd8b)<0x0&&(_0x2cd0f2[_0x1bcd8b]=_0x434cde[_0x1bcd8b]);if(_0x434cde!=null&&typeof Object[_0x13584e(0x1d4)]==_0x13584e(0x336)){for(var _0x3d1111=0x0,_0x1bcd8b=Object[_0x13584e(0x1d4)](_0x434cde);_0x3d1111<_0x1bcd8b['length'];_0x3d1111++)_0x2a1af4[_0x13584e(0x26d)](_0x1bcd8b[_0x3d1111])<0x0&&Object[_0x13584e(0x1e4)][_0x13584e(0xf1)]['call'](_0x434cde,_0x1bcd8b[_0x3d1111])&&(_0x2cd0f2[_0x1bcd8b[_0x3d1111]]=_0x434cde[_0x1bcd8b[_0x3d1111]]);}return _0x2cd0f2;},_0xbdc5ab=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x521f61,_0x3b2019){const _0x168922=_0x3e20bb;var _0x218b04=_0x521f61[_0x168922(0x2f5)],_0x488bf7=_0x521f61['id'],_0x294db8=_0x521f61[_0x168922(0x379)],_0x1e8a7d=_0x521f61['extend'],_0x41c6a2=_0x16e51f(_0x521f61,[_0x168922(0x2f5),'id',_0x168922(0x379),_0x168922(0x311)]),_0xee763d=_0x168922(0x149)[_0x168922(0x2d4)](_0x488bf7,'\x20')[_0x168922(0x2d4)](_0x294db8||'')[_0x168922(0xf7)](),_0xdf810b=_0x4595a8[_0x168922(0x10a)]('_'[_0x168922(0x2d4)](_0x2195ab()));return _0x5ea65c(_0x218b04,''[_0x168922(0x2d4)](_0x488bf7),{'defIds':_0x218b04[_0x168922(0x11a)],'idSuffix':_0xdf810b[_0x168922(0x325)]},_0x59efa0({'ref':_0x3b2019,'className':_0xee763d},_0x41c6a2),_0x1e8a7d);});function _0x5ea65c(_0x543eec,_0x44eb3b,_0xcd186d,_0x1087ce,_0x14cef7){const _0x44f0b1=_0x3e20bb;return _0x4595a8[_0x44f0b1(0x1ce)](_0x543eec[_0x44f0b1(0x2ca)],_0x59efa0(_0x59efa0({'key':_0x44eb3b},_0x4d355f(_0x543eec,_0xcd186d,_0x14cef7)),_0x1087ce),(_0x266576(_0x543eec,_0xcd186d)[_0x44f0b1(0x286)]||[])[_0x44f0b1(0x1d6)](function(_0xe66770,_0x4e1ebf){const _0x278c89=_0x44f0b1;return _0x5ea65c(_0xe66770,''[_0x278c89(0x2d4)](_0x44eb3b,'-')[_0x278c89(0x2d4)](_0x543eec[_0x278c89(0x2ca)],'-')[_0x278c89(0x2d4)](_0x4e1ebf),_0xcd186d,void 0x0,_0x14cef7);}));}function _0x4d355f(_0x106e65,_0x256467,_0x44cb3a){const _0x47c64d=_0x3e20bb;var _0x4a12ea=_0x59efa0({},_0x106e65['attrs']);_0x44cb3a!=null&&_0x44cb3a[_0x47c64d(0x32c)]&&_0x4a12ea[_0x47c64d(0x207)]===_0x47c64d(0x32c)&&(_0x4a12ea[_0x47c64d(0x207)]=_0x44cb3a[_0x47c64d(0x32c)]),_0x106e65['tag']===_0x47c64d(0x36e)&&_0x4a12ea['id']&&(_0x4a12ea['id']=_0x4a12ea['id']+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)['forEach'](function(_0xd92bb7){const _0x4e800a=_0x47c64d;var _0x325e52=_0xd92bb7[0x0],_0x38e84b=_0xd92bb7[0x1];_0x325e52===_0x4e800a(0x36e)&&typeof _0x38e84b=='string'&&(_0x4a12ea[_0x325e52]=_0x38e84b[_0x4e800a(0x33c)](/url\(#(.*)\)/,_0x4e800a(0x247)[_0x4e800a(0x2d4)](_0x256467[_0x4e800a(0x28f)],')')));});var _0x476e53=_0x256467['defIds'];return!_0x476e53||_0x476e53['length']===0x0||(_0x106e65[_0x47c64d(0x2ca)]==='use'&&_0x4a12ea[_0x47c64d(0x236)]&&(_0x4a12ea[_0x47c64d(0x236)]=_0x4a12ea[_0x47c64d(0x236)]+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)[_0x47c64d(0x27f)](function(_0x40d9ca){const _0x261aa9=_0x47c64d;var _0x8cfcbb=_0x40d9ca[0x0],_0x474ba2=_0x40d9ca[0x1];typeof _0x474ba2==_0x261aa9(0xf4)&&(_0x4a12ea[_0x8cfcbb]=_0x474ba2[_0x261aa9(0x33c)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x256467[_0x261aa9(0x28f)],')')));})),_0x4a12ea;}function _0x266576(_0x27c76b,_0x278bff){const _0x53b9c8=_0x3e20bb;var _0xc4df0a,_0x383c11=_0x278bff[_0x53b9c8(0x11a)];return!_0x383c11||_0x383c11[_0x53b9c8(0x230)]===0x0?_0x27c76b:_0x27c76b[_0x53b9c8(0x2ca)]===_0x53b9c8(0x18c)&&(!((_0xc4df0a=_0x27c76b['children'])===null||_0xc4df0a===void 0x0)&&_0xc4df0a[_0x53b9c8(0x230)])?_0x59efa0(_0x59efa0({},_0x27c76b),{'children':_0x27c76b['children'][_0x53b9c8(0x1d6)](function(_0x39bb9d){const _0x2e5f66=_0x53b9c8;return typeof _0x39bb9d['attrs']['id']==_0x2e5f66(0xf4)&&_0x383c11&&_0x383c11[_0x2e5f66(0x267)](_0x39bb9d[_0x2e5f66(0x288)]['id'])?_0x59efa0(_0x59efa0({},_0x39bb9d),{'attrs':_0x59efa0(_0x59efa0({},_0x39bb9d[_0x2e5f66(0x288)]),{'id':_0x39bb9d[_0x2e5f66(0x288)]['id']+_0x278bff['idSuffix']})}):_0x39bb9d;})}):_0x27c76b;}function _0x2195ab(){const _0x1e523a=_0x3e20bb;return Math[_0x1e523a(0x2a7)]()[_0x1e523a(0x211)](0x24)['substring'](0x2,0x8);}_0xbdc5ab[_0x3e20bb(0x33f)]=_0x3e20bb(0x31d);var _0x430e28={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e20bb(0x1d8),'viewBox':_0x3e20bb(0x153),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x266)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x36f),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':_0x3e20bb(0x18c),'attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':_0x3e20bb(0x238)},'children':[{'tag':'path','attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3)}}]}]}],'defIds':[_0x3e20bb(0x238)]},_0x56f6b9=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x29549b,_0x927fb6){const _0x252393=_0x3e20bb;return _0x4595a8[_0x252393(0x1ce)](_0xbdc5ab,Object[_0x252393(0x1c4)]({},_0x29549b,{'id':'off-line-icon','ref':_0x927fb6,'icon':_0x430e28}));});_0x56f6b9[_0x3e20bb(0x33f)]=_0x3e20bb(0x322);var _0x76c0f5={'tag':'svg','attrs':{'xmlns':_0x3e20bb(0x2ae),'fill':'none','viewBox':_0x3e20bb(0x16a),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x25f)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x2c5),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3),'transform':_0x3e20bb(0x15c)}}]}]}],'defIds':[_0x3e20bb(0x2fe)]},_0x4f9221=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x5379db,_0x422cb0){const _0x3561e4=_0x3e20bb;return _0x4595a8['createElement'](_0xbdc5ab,Object[_0x3561e4(0x1c4)]({},_0x5379db,{'id':_0x3561e4(0x37a),'ref':_0x422cb0,'icon':_0x76c0f5}));});_0x4f9221[_0x3e20bb(0x33f)]=_0x3e20bb(0x1cb);function _0xc96513(_0x58c297){const _0x1d52d9=_0x3e20bb;switch(_0x58c297){case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x1f5)]:return _0x1d52d9(0x11f);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x126)]:return _0x1d52d9(0x209);case _0x14cc37['CollaborationStatus'][_0x1d52d9(0x2e6)]:return _0x1d52d9(0x21b);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x274)]:return'collabStatus.notCollab';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x2c0)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x37f)]:return'collabStatus.syncing';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x27b)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x28b)]:return _0x1d52d9(0x129);}}function _0x501983(_0x195a3e){const _0xab2826=_0x3e20bb,{status$:_0x4c99ce}=_0x195a3e,_0x39d167=_0x5ec1c1['useObservable'](_0x4c99ce,_0x14cc37[_0xab2826(0x224)][_0xab2826(0x274)]),_0x22d9de=_0x5ec1c1[_0xab2826(0x1e7)](_0x233149[_0xab2826(0x29a)]),_0x17eb4f=_0x5ec1c1[_0xab2826(0x1e7)](_0x14cc37[_0xab2826(0x377)]),_0x10fa59=_0x39d167!==_0x14cc37[_0xab2826(0x224)][_0xab2826(0x1f5)],_0x5c8115=_0x22d9de['t'](_0xc96513(_0x39d167)),_0x172e75=_0x10fa59?_0x219e43[_0xab2826(0x2d5)](_0x4f9221,{}):_0x219e43[_0xab2826(0x2d5)](_0x56f6b9,{}),_0x192f6c=_0x4595a8['useCallback'](()=>{const _0x4367a2=_0xab2826;_0x10fa59||_0x17eb4f[_0x4367a2(0x1c5)]();},[_0x10fa59,_0x17eb4f]);function _0x596542(){const _0x4ef73c=_0xab2826;return _0x219e43[_0x4ef73c(0x22d)](_0x4ef73c(0x2e8),{'className':'univer-flex\x20univer-items-center','onClick':_0x192f6c,'children':[_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':_0x14667c['clsx'](_0x4ef73c(0x166),{'univer-text-green-500':_0x10fa59,'univer-text-red-500':!_0x10fa59}),'children':_0x172e75}),_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c8115})]});}return _0x10fa59?_0x596542():_0x219e43['jsx'](_0x14667c[_0xab2826(0x2cd)],{'title':_0x22d9de['t']('collab-client.tooltip.reconnect'),'children':_0x596542()});}var _0x23f172=Object[_0x3e20bb(0x18a)],_0x8b857=(_0x95c8ed,_0x1ef2c3,_0x70e9b6,_0xd37eae)=>{const _0xac3195=_0x3e20bb;for(var _0x1e2132=_0xd37eae>0x1?void 0x0:_0xd37eae?_0x23f172(_0x1ef2c3,_0x70e9b6):_0x1ef2c3,_0x2597da=_0x95c8ed[_0xac3195(0x230)]-0x1,_0x72cbb4;_0x2597da>=0x0;_0x2597da--)(_0x72cbb4=_0x95c8ed[_0x2597da])&&(_0x1e2132=_0x72cbb4(_0x1e2132)||_0x1e2132);return _0x1e2132;},_0x58f005=(_0x401fbc,_0x4ee871)=>(_0x4c5601,_0x4acf00)=>_0x4ee871(_0x4c5601,_0x4acf00,_0x401fbc);_0x427b6e[_0x3e20bb(0x287)]=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1376a4,_0x1ed376,_0x1fc2ee,_0x4c55de){const _0x665207=_0x3e20bb;super(),_0x18ecd9(this,_0x665207(0x1ed),new _0x12fec3[(_0x665207(0x33e))](_0x14cc37[_0x665207(0x224)][_0x665207(0x274)])),(this[_0x665207(0x1e2)]=_0x1376a4,this[_0x665207(0x116)]=_0x1ed376,this['_collaborationController']=_0x1fc2ee,this[_0x665207(0x1bb)]=_0x4c55de,this[_0x665207(0x212)](),this[_0x665207(0x122)]());}[_0x3e20bb(0x122)](){const _0x48ee94=_0x3e20bb;this[_0x48ee94(0x215)](this[_0x48ee94(0x1e2)]['focused$']['pipe'](_0x12fec3[_0x48ee94(0x1b4)](()=>{const _0x1e5644=_0x48ee94,_0x23f464=this[_0x1e5644(0x1e2)][_0x1e5644(0x170)]();return _0x23f464?this[_0x1e5644(0x1fa)][_0x1e5644(0x20c)](_0x23f464[_0x1e5644(0x11d)]()):_0x12fec3['of'](null);}),_0x12fec3[_0x48ee94(0x1b4)](_0x1ade6b=>_0x1ade6b?_0x1ade6b[_0x48ee94(0x27e)]:_0x12fec3['of'](_0x14cc37[_0x48ee94(0x224)]['NOT_COLLAB'])))['subscribe'](_0xd90a4f=>{const _0x4f4df6=_0x48ee94;this[_0x4f4df6(0x1ed)][_0x4f4df6(0x148)](_0xd90a4f);}));}[_0x3e20bb(0x212)](){const _0x10b8cd=_0x3e20bb;this[_0x10b8cd(0x215)](this[_0x10b8cd(0x1bb)][_0x10b8cd(0x258)](_0x5ec1c1[_0x10b8cd(0x119)]['HEADER_MENU'],()=>_0x5ec1c1[_0x10b8cd(0x160)](_0x388978({'status$':this[_0x10b8cd(0x1ed)]['asObservable']()}),this[_0x10b8cd(0x116)])));}},_0x427b6e[_0x3e20bb(0x287)]=_0x8b857([_0x58f005(0x0,_0x233149[_0x3e20bb(0x371)]),_0x58f005(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x58f005(0x2,_0x233149['Inject'](_0x14cc37['CollaborationController'])),_0x58f005(0x3,_0x5ec1c1[_0x3e20bb(0x228)])],_0x427b6e[_0x3e20bb(0x287)]);function _0x388978(_0x52bc6d){const {status$:_0x3c6136}=_0x52bc6d;return function(){return _0x219e43['jsx'](_0x501983,{'status$':_0x3c6136});};}const _0x172ebe=_0x233149[_0x3e20bb(0x388)](_0x3e20bb(0x24e));var _0x38a100=Object[_0x3e20bb(0x18a)],_0x571fb9=(_0x2da5c6,_0x392b4f,_0x1de91e,_0xf1e008)=>{for(var _0x324d4a=_0xf1e008>0x1?void 0x0:_0xf1e008?_0x38a100(_0x392b4f,_0x1de91e):_0x392b4f,_0x49b976=_0x2da5c6['length']-0x1,_0x1d0de8;_0x49b976>=0x0;_0x49b976--)(_0x1d0de8=_0x2da5c6[_0x49b976])&&(_0x324d4a=_0x1d0de8(_0x324d4a)||_0x324d4a);return _0x324d4a;},_0x505369=(_0xeb2ce2,_0x25e5dd)=>(_0x596712,_0x3f85ea)=>_0x25e5dd(_0x596712,_0x3f85ea,_0xeb2ce2);_0x427b6e[_0x3e20bb(0x2b5)]=class extends _0x233149['RxDisposable']{constructor(_0xf52437,_0x5f4de9,_0x48386b,_0x369b45,_0x3dd12b){const _0x33475b=_0x3e20bb;super(),this[_0x33475b(0x305)]=_0xf52437,this[_0x33475b(0x223)]=_0x5f4de9,this['_commandService']=_0x48386b,this[_0x33475b(0x251)]=_0x369b45,_0x3dd12b?_0x3dd12b==null||_0x3dd12b[_0x33475b(0x17d)]()[_0x33475b(0x360)](()=>this['_init']()):(this[_0x33475b(0x223)][_0x33475b(0x2d7)](_0x33475b(0x21c),_0x33475b(0x14b)),this[_0x33475b(0x362)]());}async['_init'](){const _0x1ecb65=_0x3e20bb,_0x2c7ce6=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x1d5)),_0x397baf=this[_0x1ecb65(0x305)][_0x1ecb65(0x185)]('type'),_0x5736d2=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x2de));if(!_0x2c7ce6||!_0x397baf){this[_0x1ecb65(0x223)]['debug']('[CollaborationDataLoaderController]',_0x1ecb65(0x1b5));return;}const _0x103e68=await this[_0x1ecb65(0x251)]['loadUnit'](_0x2c7ce6,Number(_0x397baf),_0x5736d2);_0x103e68&&_0x103e68 instanceof _0x233149[_0x1ecb65(0x2a8)]&&this[_0x1ecb65(0x164)](_0x103e68);}async['_setupSubUnitSync'](_0x595f61){const _0x5812bc=_0x3e20bb;await this[_0x5812bc(0x14e)](_0x595f61),_0x595f61[_0x5812bc(0x13c)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](_0x1695ec=>{_0x1695ec&&this['_updateURLWithCurrentState'](_0x1695ec);}),this[_0x5812bc(0x305)][_0x5812bc(0x298)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](()=>this[_0x5812bc(0x14e)](_0x595f61));}[_0x3e20bb(0x22f)](_0x3bfad3,_0x5e585c=!0x1){const _0x4a318c=_0x3e20bb,_0x3096ab=this[_0x4a318c(0x305)][_0x4a318c(0x185)]('subunit');_0x3bfad3['getSheetId']()!==_0x3096ab&&this['_urlService'][_0x4a318c(0x120)]('subunit',_0x3bfad3[_0x4a318c(0x331)](),_0x5e585c);}async[_0x3e20bb(0x14e)](_0xdbbf0){const _0x18fe32=_0x3e20bb;var _0x18b595;const _0x147624=this[_0x18fe32(0x305)][_0x18fe32(0x185)](_0x18fe32(0x2de));if(!_0x147624||!_0xdbbf0[_0x18fe32(0x368)](_0x147624)){const _0x7b9e04=_0xdbbf0['getUnhiddenWorksheets']()[0x0],_0x3042a8=_0xdbbf0[_0x18fe32(0x368)](_0x7b9e04);if(!_0x3042a8)return;this[_0x18fe32(0x22f)](_0x3042a8,!0x0),await this[_0x18fe32(0xec)][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x7b9e04});return;}((_0x18b595=_0xdbbf0[_0x18fe32(0x175)]())==null?void 0x0:_0x18b595['getSheetId']())!==_0x147624&&await this['_commandService'][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x147624});}},_0x427b6e[_0x3e20bb(0x2b5)]=_0x571fb9([_0x505369(0x0,_0x172ebe),_0x505369(0x1,_0x233149[_0x3e20bb(0x1a0)]),_0x505369(0x2,_0x233149[_0x3e20bb(0x37b)]),_0x505369(0x3,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x34e)])),_0x505369(0x4,_0x233149['Optional'](_0x467414[_0x3e20bb(0x1e8)]))],_0x427b6e[_0x3e20bb(0x2b5)]);var _0x4c9944=Object['getOwnPropertyDescriptor'],_0x2c21c5=(_0x2a765e,_0x512d18,_0x303ca4,_0x5ccfa4)=>{const _0x1d3d7b=_0x3e20bb;for(var _0x107048=_0x5ccfa4>0x1?void 0x0:_0x5ccfa4?_0x4c9944(_0x512d18,_0x303ca4):_0x512d18,_0x3c02d8=_0x2a765e[_0x1d3d7b(0x230)]-0x1,_0x3e1dd3;_0x3c02d8>=0x0;_0x3c02d8--)(_0x3e1dd3=_0x2a765e[_0x3c02d8])&&(_0x107048=_0x3e1dd3(_0x107048)||_0x107048);return _0x107048;},_0x5717d9=(_0x24ed14,_0x3cc2a7)=>(_0x44a55f,_0x24b1f0)=>_0x3cc2a7(_0x44a55f,_0x24b1f0,_0x24ed14);let _0xdff79c=class extends _0x233149['RxDisposable']{constructor(_0x2b0dee,_0x613d93){const _0x476578=_0x3e20bb;super(),this[_0x476578(0x2d9)]=_0x2b0dee,this[_0x476578(0x27d)]=_0x613d93,this[_0x476578(0x362)]();}[_0x3e20bb(0x362)](){const _0x13cb43=_0x3e20bb,_0x3b66e3=this;this[_0x13cb43(0x215)](this[_0x13cb43(0x2d9)][_0x13cb43(0x204)]({'onBeforePasteImage':async _0x1577f5=>{const _0x1aa227=_0x13cb43,_0xdad086=await _0x3b66e3[_0x1aa227(0x27d)][_0x1aa227(0x2ef)](_0x1577f5);return _0xdad086?{'source':_0xdad086['source'],'imageSourceType':_0xdad086[_0x1aa227(0x33d)]}:null;}}));}};_0xdff79c=_0x2c21c5([_0x5717d9(0x0,_0x35cd67[_0x3e20bb(0x104)]),_0x5717d9(0x1,_0xae7fbc[_0x3e20bb(0x338)])],_0xdff79c);const _0x215996=[_0x3e20bb(0x1fd),'jiqing.500',_0x3e20bb(0x32b),_0x3e20bb(0x35c),'blue.400',_0x3e20bb(0x189)];class _0xc47850 extends _0x233149[_0x3e20bb(0x315)]{constructor(){const _0x4821c0=_0x3e20bb;super(...arguments),_0x18ecd9(this,_0x4821c0(0x1af),new Map()),_0x18ecd9(this,_0x4821c0(0x100),0x0);}[_0x3e20bb(0x1d2)](_0x3ee981){const _0x131cf2=_0x3e20bb;if(this[_0x131cf2(0x1af)][_0x131cf2(0x1b0)](_0x3ee981))return this[_0x131cf2(0x1af)][_0x131cf2(0x1d7)](_0x3ee981);const _0x408af1=_0x215996[this[_0x131cf2(0x100)]];return this['_colorIndex']=(this[_0x131cf2(0x100)]+0x1)%_0x215996[_0x131cf2(0x230)],this[_0x131cf2(0x1af)][_0x131cf2(0x256)](_0x3ee981,_0x408af1),_0x408af1;}}function _0x29940a(_0x3d55e3){const _0x1c19e0=_0x3e20bb;let _0x386d0c='';for(const _0x4c4b28 of _0x3d55e3){const {startOffset:_0x433c29,endOffset:_0x206e73,isActive:_0x3f7b20,rangeType:_0x233da3,segmentId:_0x4be929,segmentPage:_0x30b56e}=_0x4c4b28;_0x386d0c[_0x1c19e0(0x230)]&&(_0x386d0c+=','),_0x386d0c+=_0x433c29+':'+_0x206e73+':'+(_0x3f7b20?'1':'0')+':'+_0x233da3+':'+_0x4be929+':'+_0x30b56e;}return _0x386d0c;}function _0x154183(_0xf8dd65){const _0x22a182=_0x3e20bb,_0xb88db1=_0xf8dd65['split'](','),_0x189716=[];for(const _0x3b99d9 of _0xb88db1){const [_0x82a4f2,_0xa657e2,_0x1e63af,_0x38035b,_0x485e19,_0x5b6929]=_0x3b99d9[_0x22a182(0xeb)](':');_0x189716[_0x22a182(0x1a2)]({'startOffset':Number(_0x82a4f2),'endOffset':Number(_0xa657e2),'collapsed':_0x82a4f2===_0xa657e2,'isActive':_0x1e63af==='1','rangeType':_0x38035b===_0x233149['DOC_RANGE_TYPE'][_0x22a182(0x2af)]?_0x233149[_0x22a182(0x102)]['TEXT']:_0x233149[_0x22a182(0x102)][_0x22a182(0x245)],'segmentId':typeof _0x485e19==_0x22a182(0xf4)?String(_0x485e19):'','segmentPage':Number(_0x5b6929!=null?_0x5b6929:-0x1)});}return _0x189716['some'](_0x10f900=>_0x10f900[_0x22a182(0x1d0)])||(_0x189716[0x0][_0x22a182(0x1d0)]=!0x0),_0x189716;}class _0x573383 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0xce7490=_0x3e20bb;super(...arguments),_0x18ecd9(this,'_collabCursorState$',new _0x12fec3[(_0xce7490(0x33e))](null)),_0x18ecd9(this,'collabCursorState$',this[_0xce7490(0x16f)]['asObservable']());}['syncEditingCollabCursor'](_0x59dd3a){const _0x24eca2=_0x3e20bb,{unitID:_0x3f1728,memberID:_0x1e0273,textRanges:_0x4a4d37}=_0x59dd3a,_0x36d33b=_0x29940a(_0x4a4d37);if(_0x36d33b==='')return;const _0x31f55c={'unitID':_0x3f1728,'memberID':_0x1e0273,'selection':_0x36d33b};this[_0x24eca2(0x16f)][_0x24eca2(0x148)](_0x31f55c);}}var _0x297c0b=Object[_0x3e20bb(0x18a)],_0x2d45c4=(_0x3a33fa,_0x159b09,_0x101bce,_0x45bce4)=>{for(var _0x39623b=_0x45bce4>0x1?void 0x0:_0x45bce4?_0x297c0b(_0x159b09,_0x101bce):_0x159b09,_0x10f271=_0x3a33fa['length']-0x1,_0x2742a2;_0x10f271>=0x0;_0x10f271--)(_0x2742a2=_0x3a33fa[_0x10f271])&&(_0x39623b=_0x2742a2(_0x39623b)||_0x39623b);return _0x39623b;},_0x108360=(_0x5eab3f,_0x247ec6)=>(_0x2739da,_0x466e58)=>_0x247ec6(_0x2739da,_0x466e58,_0x5eab3f);const _0x45783c=0x12c,_0xfb2bf=0x64;let _0x2da733=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x283c67,_0x35b6ca,_0x3c8385,_0x4fa244,_0x2c5a51,_0x553bc8,_0x354a81,_0x5cd041,_0x30a186){const _0x2dd0cc=_0x3e20bb;super(),_0x18ecd9(this,_0x2dd0cc(0x110),!0x1),_0x18ecd9(this,_0x2dd0cc(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x2dd0cc(0x33e))](new Map())),_0x18ecd9(this,'cursorInfo$',this[_0x2dd0cc(0x1f1)]['asObservable']()),_0x18ecd9(this,'_roomMembers$',new _0x12fec3[(_0x2dd0cc(0x33e))]([])),_0x18ecd9(this,_0x2dd0cc(0x365),this[_0x2dd0cc(0x194)][_0x2dd0cc(0x1ff)](_0x12fec3['debounceTime'](_0x45783c))),_0x18ecd9(this,_0x2dd0cc(0x2e5),_0x233149[_0x2dd0cc(0x2f4)](_0x1dee2a=>{const _0x5d0f58=_0x2dd0cc,_0x1361ce={'eventID':_0x16f706['CollaborationEvent'][_0x5d0f58(0x173)],'data':{'unitID':this[_0x5d0f58(0x2b6)],'memberID':this['_session'][_0x5d0f58(0x25b)](),'selection':_0x29940a(_0x1dee2a)}};this['_session'][_0x5d0f58(0x1da)](_0x1361ce,this[_0x5d0f58(0x2b6)]);},_0xfb2bf)),(this['unitID']=_0x283c67,this[_0x2dd0cc(0x235)]=_0x35b6ca,this[_0x2dd0cc(0x116)]=_0x3c8385,this[_0x2dd0cc(0x301)]=_0x4fa244,this['_memberService']=_0x2c5a51,this[_0x2dd0cc(0x31f)]=_0x553bc8,this[_0x2dd0cc(0x271)]=_0x354a81,this[_0x2dd0cc(0x1e2)]=_0x5cd041,this['_commandService']=_0x30a186);}get['cursorInfo'](){const _0xe613a0=_0x3e20bb;return this[_0xe613a0(0x1f1)]['getValue']();}get['roomMembers'](){const _0x53f91e=_0x3e20bb;return this['_roomMembers$'][_0x53f91e(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0x451356=_0x3e20bb;super[_0x451356(0x17a)](),this[_0x451356(0x1f1)][_0x451356(0x148)](new Map()),this[_0x451356(0x1f1)][_0x451356(0x24c)](),this[_0x451356(0x194)][_0x451356(0x148)]([]),this[_0x451356(0x194)][_0x451356(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x10d7fa=_0x3e20bb;this[_0x10d7fa(0x362)]||(this[_0x10d7fa(0x362)]=!0x0,this[_0x10d7fa(0x235)][_0x10d7fa(0x17b)]['pipe'](_0x12fec3['takeUntil'](this[_0x10d7fa(0x1e1)]))['subscribe'](_0x401f87=>{const _0x36db83=_0x10d7fa;_0x401f87===_0x14cc37[_0x36db83(0x2dd)][_0x36db83(0x281)]?this[_0x36db83(0x31b)]():this[_0x36db83(0x285)]();}),this[_0x10d7fa(0x235)][_0x10d7fa(0x201)][_0x10d7fa(0x1ff)](_0x12fec3[_0x10d7fa(0x28c)](this[_0x10d7fa(0x1e1)]))[_0x10d7fa(0x1be)](_0x4ce6a0=>{const _0x4280e5=_0x10d7fa,_0x3d5bcd=_0x4ce6a0['eventID'];_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x173)]&&this[_0x4280e5(0x159)](_0x4ce6a0),_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x208)]&&this[_0x4280e5(0x26b)](_0x4ce6a0);}),this['disposeWithMe'](this['_commandService'][_0x10d7fa(0x2ea)](_0x279c4d=>{const _0x4f5804=_0x10d7fa,_0x5c3d24=_0x279c4d[_0x4f5804(0x23b)];_0x5c3d24!=null&&this['_online']&&_0x279c4d['id']===_0x31d980[_0x4f5804(0x176)]['id']&&_0x5c3d24[_0x4f5804(0x15f)]===this[_0x4f5804(0x2b6)]&&_0x5c3d24[_0x4f5804(0x2b7)]===!0x1&&_0x5c3d24[_0x4f5804(0x246)][_0x4f5804(0x230)]>0x0&&this[_0x4f5804(0x2e5)](_0x5c3d24[_0x4f5804(0x246)]);})),this['_syncEditingCollabCursorService'][_0x10d7fa(0x10d)][_0x10d7fa(0x1ff)](_0x12fec3['takeUntil'](this['dispose$']))[_0x10d7fa(0x1be)](_0xa5dce5=>{const _0x31bbb0=_0x10d7fa;if((_0xa5dce5==null?void 0x0:_0xa5dce5['unitID'])!==this[_0x31bbb0(0x2b6)])return;const _0xb26631={'eventID':_0x16f706['CollaborationEvent'][_0x31bbb0(0x173)],'data':_0xa5dce5};this['_onCursorUpdate'](_0xb26631);}),this[_0x10d7fa(0x215)](this[_0x10d7fa(0xec)][_0x10d7fa(0x2ea)](_0x169892=>{const _0x4b806c=_0x10d7fa;if(_0x169892['params']==null)return;const _0x25c00f=_0x169892[_0x4b806c(0x23b)];if(_0x169892['id']!==_0x31d980[_0x4b806c(0x174)]['id']||_0x25c00f[_0x4b806c(0x15f)]!==this[_0x4b806c(0x2b6)])return;const _0xf7156={'id':_0x4b806c(0x2c8),'params':_0x25c00f},_0x21c0d1=this[_0x4b806c(0x1f2)];for(const [_0x40ad43,_0x158e6b]of _0x21c0d1){const _0x17d6c0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x158e6b[_0x4b806c(0x246)]}},_0x247cdb=this[_0x4b806c(0x271)][_0x4b806c(0x24b)](_0xf7156,_0x17d6c0,!0x1);if(_0x16f706[_0x4b806c(0x2b8)](_0x247cdb))throw _0x247cdb['error'];_0x21c0d1['set'](_0x40ad43,{..._0x158e6b,'ranges':_0x247cdb[_0x4b806c(0x2e2)][_0x4b806c(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x507f2b=_0x4b806c;this[_0x507f2b(0x1f1)][_0x507f2b(0x148)](_0x21c0d1);});})));}['_onCursorUpdate'](_0x141c04){const _0x22231d=_0x3e20bb;var _0x37752f,_0x4041ae;const {memberID:_0x1fa24a,selection:_0x381f01}=_0x141c04[_0x22231d(0x214)],_0x34caa5=_0x154183(_0x381f01),_0xa055f6=(_0x4041ae=(_0x37752f=this[_0x22231d(0x319)]['getMember'](this[_0x22231d(0x2b6)],_0x1fa24a))==null?void 0x0:_0x37752f[_0x22231d(0x2c6)])!=null?_0x4041ae:_0x22231d(0x1cd),_0x2a9ba5={'color':this[_0x22231d(0x301)][_0x22231d(0x1d2)](_0x1fa24a),'name':_0xa055f6,'ranges':_0x34caa5},_0x411f23=this['cursorInfo'];_0x411f23[_0x22231d(0x256)](_0x1fa24a,_0x2a9ba5),this[_0x22231d(0x1f1)][_0x22231d(0x148)](_0x411f23);}[_0x3e20bb(0x26b)](_0x2b0393){const _0xbf206a=_0x3e20bb,{memberID:_0x46c890}=_0x2b0393['data'],_0x22a683=this[_0xbf206a(0x1f2)];_0x22a683['delete'](_0x46c890),this[_0xbf206a(0x1f1)]['next'](_0x22a683);}[_0x3e20bb(0x31b)](){const _0x3f57f3=_0x3e20bb;var _0x25c486;if(this[_0x3f57f3(0x110)]=!0x0,((_0x25c486=this[_0x3f57f3(0x1e2)][_0x3f57f3(0x170)]())==null?void 0x0:_0x25c486['getUnitId']())!==this['unitID'])return;const _0xd5679f=this['_injector'][_0x3f57f3(0x1d7)](_0x31d980[_0x3f57f3(0x114)])[_0x3f57f3(0x112)]();Array[_0x3f57f3(0x242)](_0xd5679f)&&_0xd5679f[_0x3f57f3(0x230)]>0x0&&this[_0x3f57f3(0x2e5)](_0xd5679f);}[_0x3e20bb(0x285)](){const _0xe0c81e=_0x3e20bb;this[_0xe0c81e(0x110)]=!0x1;}};_0x2da733=_0x2d45c4([_0x108360(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x108360(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x108360(0x4,_0x233149['Inject'](_0x14cc37[_0x3e20bb(0x366)])),_0x108360(0x5,_0x233149['Inject'](_0x573383)),_0x108360(0x6,_0x16f706['ITransformService']),_0x108360(0x7,_0x233149[_0x3e20bb(0x371)]),_0x108360(0x8,_0x233149['ICommandService'])],_0x2da733);var _0x2e19dd=Object['getOwnPropertyDescriptor'],_0x331924=(_0x3c500b,_0x217205,_0x37e164,_0x1e230d)=>{const _0x568355=_0x3e20bb;for(var _0x4ede28=_0x1e230d>0x1?void 0x0:_0x1e230d?_0x2e19dd(_0x217205,_0x37e164):_0x217205,_0x57eb7e=_0x3c500b[_0x568355(0x230)]-0x1,_0x331100;_0x57eb7e>=0x0;_0x57eb7e--)(_0x331100=_0x3c500b[_0x57eb7e])&&(_0x4ede28=_0x331100(_0x4ede28)||_0x4ede28);return _0x4ede28;},_0x470f34=(_0x4cbe8c,_0xd5c620)=>(_0x56f4b5,_0x5f0a62)=>_0xd5c620(_0x56f4b5,_0x5f0a62,_0x4cbe8c);const _0x396a68=0x12c,_0x365bd6=0x64,_0x36ef6b=()=>{let _0x40bda3=[],_0x4b521e=!0x1;return _0x1030a7=>{_0x40bda3['push'](_0x1030a7),_0x4b521e||(_0x4b521e=!0x0,setTimeout(()=>{const _0x2f9980=_0x31db;_0x40bda3[_0x2f9980(0x27f)](_0x288056=>_0x288056()),_0x40bda3=[],_0x4b521e=!0x1;}));};};let _0x29051=class extends _0x233149['RxDisposable']{constructor(_0x2bf1b9,_0x34d65a,_0x54180f,_0x5c876d,_0x24d5b7,_0x65b49e,_0x55e0c8,_0x21ec8e){const _0x5bf799=_0x3e20bb;super(),_0x18ecd9(this,'_online',!0x1),_0x18ecd9(this,_0x5bf799(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x5bf799(0x33e))](new Map())),_0x18ecd9(this,_0x5bf799(0x2df),this[_0x5bf799(0x1f1)][_0x5bf799(0x188)]()),_0x18ecd9(this,_0x5bf799(0x194),new _0x12fec3['BehaviorSubject']([])),_0x18ecd9(this,_0x5bf799(0x365),this[_0x5bf799(0x194)][_0x5bf799(0x1ff)](_0x12fec3[_0x5bf799(0x144)](_0x396a68))),_0x18ecd9(this,'_updateLocalCursor',_0x233149['debounce']((_0xa1e172,_0x4282dc)=>{const _0x4a683d=_0x5bf799,_0x3ce4b4={'eventID':_0x16f706['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x4a683d(0x2b6)],'memberID':this[_0x4a683d(0x235)][_0x4a683d(0x25b)](),'selection':_0x1df0d9[_0x4a683d(0x2d2)](_0xa1e172,_0x4282dc[_0x4a683d(0x19b)])}};this['_session']['send'](_0x3ce4b4,this[_0x4a683d(0x2b6)]);},_0x365bd6)),(this[_0x5bf799(0x2b6)]=_0x2bf1b9,this['_session']=_0x34d65a,this[_0x5bf799(0x116)]=_0x54180f,this[_0x5bf799(0x301)]=_0x5c876d,this[_0x5bf799(0x319)]=_0x24d5b7,this[_0x5bf799(0x1e2)]=_0x65b49e,this['_commandService']=_0x55e0c8,this[_0x5bf799(0x349)]=_0x21ec8e);}get['cursorInfo'](){const _0x34fcaf=_0x3e20bb;return this[_0x34fcaf(0x1f1)]['getValue']();}get[_0x3e20bb(0x2c9)](){const _0xee2f28=_0x3e20bb;return this[_0xee2f28(0x194)][_0xee2f28(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0xca7f28=_0x3e20bb;super['dispose'](),this[_0xca7f28(0x1f1)][_0xca7f28(0x148)](new Map()),this[_0xca7f28(0x1f1)][_0xca7f28(0x24c)](),this[_0xca7f28(0x194)][_0xca7f28(0x148)]([]),this[_0xca7f28(0x194)][_0xca7f28(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x31e29b=_0x3e20bb;this[_0x31e29b(0x362)]||(this[_0x31e29b(0x362)]=!0x0,this['_session'][_0x31e29b(0x17b)][_0x31e29b(0x1ff)](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x3113d4=>{const _0x2a61c8=_0x31e29b;_0x3113d4===_0x14cc37[_0x2a61c8(0x2dd)][_0x2a61c8(0x281)]?this['_toggleOnline']():this[_0x2a61c8(0x285)]();}),this[_0x31e29b(0x235)][_0x31e29b(0x201)]['pipe'](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x450302=>{const _0x2f0d97=_0x31e29b,_0x4c93d0=_0x450302[_0x2f0d97(0x2ad)];_0x4c93d0===_0x16f706[_0x2f0d97(0x290)]['UPDATE_CURSOR']&&this[_0x2f0d97(0x159)](_0x450302),_0x4c93d0===_0x16f706['CollaborationEvent']['USERS_LEAVE']&&this[_0x2f0d97(0x26b)](_0x450302);}),this[_0x31e29b(0x25a)](),this[_0x31e29b(0x215)](this[_0x31e29b(0xec)][_0x31e29b(0x2ea)](_0xf6578c=>{const _0x3736f4=_0x31e29b;if(this[_0x3736f4(0x110)]&&_0xf6578c['id']===_0x21b9bf[_0x3736f4(0x21e)]['id']&&_0xf6578c[_0x3736f4(0x23b)][_0x3736f4(0x15f)]===this[_0x3736f4(0x2b6)]){const _0x1c7346=_0xf6578c[_0x3736f4(0x23b)];this[_0x3736f4(0x2e5)](_0x1c7346['subUnitId'],_0x1c7346['selections'][0x0]);}})));}[_0x3e20bb(0x159)](_0x3c13bf){const _0xf1c010=_0x3e20bb;var _0x4a3a0b,_0x5488a3;const {memberID:_0x20c82c,selection:_0x173efb}=_0x3c13bf[_0xf1c010(0x214)],{sheetName:_0x5f01d4,range:_0x134e3b}=_0x1df0d9[_0xf1c010(0x19e)](_0x173efb),_0x335a2d={'name':(_0x5488a3=(_0x4a3a0b=this[_0xf1c010(0x319)][_0xf1c010(0x131)](this[_0xf1c010(0x2b6)],_0x20c82c))==null?void 0x0:_0x4a3a0b[_0xf1c010(0x2c6)])!=null?_0x5488a3:_0xf1c010(0x1cd),'range':this[_0xf1c010(0x34b)](_0x5f01d4,_0x134e3b),'sheetID':_0x5f01d4,'color':this['_colorAssignService'][_0xf1c010(0x1d2)](_0x20c82c),'selection':_0x173efb},_0x5e1e50=this[_0xf1c010(0x1f2)];_0x5e1e50[_0xf1c010(0x256)](_0x20c82c,_0x335a2d),this['_cursorInfo$'][_0xf1c010(0x148)](_0x5e1e50);}['_onCursorDelete'](_0x27dd01){const _0x526fdc=_0x3e20bb,{memberID:_0x40716f}=_0x27dd01[_0x526fdc(0x214)],_0x3c7bf2=this['cursorInfo'];_0x3c7bf2[_0x526fdc(0x2e4)](_0x40716f),this[_0x526fdc(0x1f1)][_0x526fdc(0x148)](_0x3c7bf2);}[_0x3e20bb(0x34b)](_0x330813,_0x4865d8){const _0x49e966=_0x3e20bb;var _0x4ebc61,_0x3a6071;const _0x56b22d=(_0x3a6071=(_0x4ebc61=this[_0x49e966(0x1e2)]['getUniverSheetInstance'](this[_0x49e966(0x2b6)]))==null?void 0x0:_0x4ebc61['getSheetBySheetId'](_0x330813))==null?void 0x0:_0x3a6071[_0x49e966(0x1e0)]();return(_0x56b22d==null?void 0x0:_0x56b22d[_0x49e966(0x2a3)](_0x4810de=>_0x233149[_0x49e966(0x261)][_0x49e966(0x347)](_0x4810de,_0x4865d8)))||_0x4865d8;}[_0x3e20bb(0x25a)](){const _0x2e26b2=_0x3e20bb,_0x3e7d19=new _0x233149[(_0x2e26b2(0x146))](),_0x21d5bc=_0x36ef6b(),_0x3b1a4d=()=>{const _0x28a8d6=_0x2e26b2;_0x3e7d19[_0x28a8d6(0x17a)]();const _0x550944=(_0x105487,_0x5dff11,_0x1a180b,_0x2e899a)=>{const _0x5c965f=_0x28a8d6;let _0x4e430f=[];switch(_0x105487['id']){case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2bf)]:{_0x4e430f=_0x21b9bf['handleDeleteRangeMoveLeft'](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x1eb)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x193)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2f7)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x20b)](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x307)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x192)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2cf)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x28a)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x21f)]:{_0x4e430f=_0x21b9bf['handleInsertRow'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x155)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x181)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x14f)]:{_0x4e430f=_0x21b9bf['handleIRemoveCol'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x225)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x127)](_0x105487,_0x2e899a);break;}}const _0xa429da=_0x21b9bf[_0x5c965f(0x11b)](_0x4e430f,_0x2e899a),_0x19187c=this['cursorInfo'][_0x5c965f(0x1d7)](_0x5dff11);if(_0x19187c&&_0xa429da){const _0x39cf7b={..._0x19187c,'range':_0xa429da};this['cursorInfo']['set'](_0x5dff11,_0x39cf7b),_0x21d5bc(()=>{const _0x2827ac=_0x5c965f,_0x59c4f4=this['_refRangeService'][_0x2827ac(0x276)](_0xa429da,_0x45182f=>(_0x59c4f4[_0x2827ac(0x17a)](),_0x550944(_0x45182f,_0x5dff11,_0x1a180b,_0xa429da)));_0x3e7d19[_0x2827ac(0x265)](_0x59c4f4);});}return{'redos':[],'undos':[]};};this[_0x28a8d6(0x1f2)][_0x28a8d6(0x27f)]((_0x4840f3,_0x2732b3)=>{const _0x57228a=_0x28a8d6,{range:_0x55e9b3,sheetID:_0x3d4074}=_0x4840f3,_0x24dee9=this[_0x57228a(0x349)][_0x57228a(0x276)](_0x55e9b3,_0x3e17db=>(_0x24dee9['dispose'](),_0x550944(_0x3e17db,_0x2732b3,_0x3d4074,_0x55e9b3)));_0x3e7d19[_0x57228a(0x265)](_0x24dee9);});};this[_0x2e26b2(0x215)](_0x233149[_0x2e26b2(0x103)](this[_0x2e26b2(0x1f1)]['subscribe'](()=>{_0x3b1a4d();})));}[_0x3e20bb(0x31b)](){const _0x8dc629=_0x3e20bb;var _0x53b2d7,_0x3abb80;if(this[_0x8dc629(0x110)]=!0x0,((_0x53b2d7=this[_0x8dc629(0x1e2)][_0x8dc629(0x170)]())==null?void 0x0:_0x53b2d7[_0x8dc629(0x11d)]())!==this['unitID'])return;const _0x50de8c=(_0x3abb80=this[_0x8dc629(0x116)]['get'](_0x21b9bf[_0x8dc629(0x1c9)])[_0x8dc629(0x1ae)]())==null?void 0x0:_0x3abb80[0x0],_0x5dbf51=this[_0x8dc629(0x1e2)]['getCurrentUnitForType'](_0x233149[_0x8dc629(0x38b)][_0x8dc629(0x2f1)])[_0x8dc629(0x175)]();_0x50de8c&&_0x5dbf51&&this[_0x8dc629(0x2e5)](_0x5dbf51[_0x8dc629(0x331)](),_0x50de8c);}['_toggleOffline'](){const _0x4752ad=_0x3e20bb;this[_0x4752ad(0x110)]=!0x1;}};_0x29051=_0x331924([_0x470f34(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x470f34(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x470f34(0x4,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x366)])),_0x470f34(0x5,_0x233149[_0x3e20bb(0x371)]),_0x470f34(0x6,_0x233149[_0x3e20bb(0x37b)]),_0x470f34(0x7,_0x233149[_0x3e20bb(0x20f)](_0x21b9bf['RefRangeService']))],_0x29051);var _0x2a095a=Object[_0x3e20bb(0x18a)],_0x5d24e5=(_0x3d5cca,_0x1ef3bf,_0x869ade,_0x3eaf15)=>{const _0x24b0e0=_0x3e20bb;for(var _0xf0a1dc=_0x3eaf15>0x1?void 0x0:_0x3eaf15?_0x2a095a(_0x1ef3bf,_0x869ade):_0x1ef3bf,_0xa1f8fe=_0x3d5cca[_0x24b0e0(0x230)]-0x1,_0x3b15ae;_0xa1f8fe>=0x0;_0xa1f8fe--)(_0x3b15ae=_0x3d5cca[_0xa1f8fe])&&(_0xf0a1dc=_0x3b15ae(_0xf0a1dc)||_0xf0a1dc);return _0xf0a1dc;},_0x5353b1=(_0x2d54bb,_0x51e532)=>(_0x3c928f,_0x3ef198)=>_0x51e532(_0x3c928f,_0x3ef198,_0x2d54bb);let _0x221bad=class extends _0x233149['RxDisposable']{constructor(_0x3be1b6,_0x2a19eb,_0x20b8fb){const _0x8af46=_0x3e20bb;super(),_0x18ecd9(this,_0x8af46(0x12d),new Map()),_0x18ecd9(this,_0x8af46(0x154),new _0x12fec3[(_0x8af46(0x198))]()),(this[_0x8af46(0x1e2)]=_0x3be1b6,this[_0x8af46(0x116)]=_0x2a19eb,this[_0x8af46(0x306)]=_0x20b8fb,this[_0x8af46(0x362)]());}[_0x3e20bb(0x17a)](){const _0x5869f0=_0x3e20bb;super[_0x5869f0(0x17a)](),this['_entityInit$'][_0x5869f0(0x24c)](),this[_0x5869f0(0x12d)][_0x5869f0(0x27f)](_0x3cdd92=>_0x3cdd92[_0x5869f0(0x17a)]());}[_0x3e20bb(0x106)](_0x1ff441){const _0x2fc853=_0x3e20bb;return this[_0x2fc853(0x12d)][_0x2fc853(0x1b0)](_0x1ff441)?this[_0x2fc853(0x12d)][_0x2fc853(0x1d7)](_0x1ff441)[_0x2fc853(0x2df)]:this[_0x2fc853(0x154)][_0x2fc853(0x1ff)](_0x12fec3[_0x2fc853(0x26c)](_0x2920b8=>_0x2920b8[_0x2fc853(0x2b6)]===_0x1ff441),_0x12fec3['switchMap'](_0x38b525=>_0x38b525[_0x2fc853(0x2df)]));}[_0x3e20bb(0x362)](){const _0x21af4c=_0x3e20bb;this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)])[_0x21af4c(0x1ff)](_0x12fec3[_0x21af4c(0x28c)](this['dispose$']))[_0x21af4c(0x1be)](async _0x67969e=>{const _0x53e125=_0x21af4c,_0x3c32ed=_0x67969e[_0x53e125(0x11d)](),_0x1cd55c=await this[_0x53e125(0x187)](_0x3c32ed);this[_0x53e125(0x154)]['next'](_0x1cd55c),this[_0x53e125(0x12d)]['set'](_0x3c32ed,_0x1cd55c);}),this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)])[_0x21af4c(0x1ff)](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['pipe'](_0x12fec3['filter'](_0x3eba12=>!_0x3eba12['getUnitId']()[_0x21af4c(0x20d)]('__')))[_0x21af4c(0x1be)](async _0x265abc=>{const _0x153a69=_0x21af4c,_0x5d2543=_0x265abc[_0x153a69(0x11d)](),_0x460da0=await this[_0x153a69(0x25e)](_0x5d2543);this[_0x153a69(0x154)][_0x153a69(0x148)](_0x460da0),this['_entities']['set'](_0x5d2543,_0x460da0);}),_0x12fec3[_0x21af4c(0x161)](this[_0x21af4c(0x1e2)]['getTypeOfUnitDisposed$'](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)]),this[_0x21af4c(0x1e2)][_0x21af4c(0x308)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)]))['pipe'](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['subscribe'](_0x20af7b=>{const _0x27cbcd=_0x21af4c,_0x1c8c86=_0x20af7b['getUnitId'](),_0x12b606=this['_entities'][_0x27cbcd(0x1d7)](_0x1c8c86);_0x12b606&&(_0x12b606[_0x27cbcd(0x17a)](),this['_entities'][_0x27cbcd(0x2e4)](_0x1c8c86));});}async[_0x3e20bb(0x187)](_0x56d930){const _0x2c8d70=_0x3e20bb,_0x5bdd78=await this[_0x2c8d70(0x306)][_0x2c8d70(0x200)](_0x56d930),_0x4f80dc=this['_injector'][_0x2c8d70(0x221)](_0x29051,_0x56d930,_0x5bdd78);return _0x4f80dc['init'](),_0x4f80dc;}async[_0x3e20bb(0x25e)](_0x1b712e){const _0x3cbc84=_0x3e20bb,_0x20b7d6=await this[_0x3cbc84(0x306)][_0x3cbc84(0x200)](_0x1b712e),_0x9a814a=this[_0x3cbc84(0x116)][_0x3cbc84(0x221)](_0x2da733,_0x1b712e,_0x20b7d6);return _0x9a814a[_0x3cbc84(0x14d)](),_0x9a814a;}};_0x221bad=_0x5d24e5([_0x5353b1(0x0,_0x233149[_0x3e20bb(0x371)]),_0x5353b1(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5353b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x377)]))],_0x221bad);const _0x17f2f0=0x14,_0x3f9796=0xc8,_0x34f942=0x4,_0x50e9a2=0x5;function _0x2bf7ca(_0x46ed8d,_0xddb40e){const _0x20a5b8=_0x3e20bb;let {radius:_0x174c9c,width:_0x347899,height:_0x2c93c9}=_0xddb40e;_0x174c9c=_0x174c9c!=null?_0x174c9c:0x0,_0x347899=_0x347899!=null?_0x347899:0x1e,_0x2c93c9=_0x2c93c9!=null?_0x2c93c9:0x1e;let _0x497401=0x0,_0x551130=0x0,_0x352bdc=0x0;_0x497401=_0x551130=_0x352bdc=Math['min'](_0x174c9c,_0x347899/0x2,_0x2c93c9/0x2),_0x46ed8d[_0x20a5b8(0x1ad)](),_0x46ed8d['moveTo'](_0x497401,0x0),_0x46ed8d[_0x20a5b8(0x124)](_0x347899-_0x551130,0x0),_0x46ed8d['arc'](_0x347899-_0x551130,_0x551130,_0x551130,Math['PI']*0x3/0x2,0x0,!0x1),_0x46ed8d[_0x20a5b8(0x124)](_0x347899,_0x2c93c9-_0x352bdc),_0x46ed8d['arc'](_0x347899-_0x352bdc,_0x2c93c9-_0x352bdc,_0x352bdc,0x0,Math['PI']/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x124)](0x0,_0x2c93c9),_0x46ed8d['lineTo'](0x0,_0x497401),_0x46ed8d['arc'](_0x497401,_0x497401,_0x497401,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x1a7)](),_0xddb40e['fill']&&(_0x46ed8d[_0x20a5b8(0x35f)](),_0x46ed8d[_0x20a5b8(0x316)]=_0xddb40e['fill'],_0xddb40e[_0x20a5b8(0x219)]===_0x20a5b8(0x22c)?_0x46ed8d[_0x20a5b8(0x207)]('evenodd'):_0x46ed8d[_0x20a5b8(0x207)](),_0x46ed8d['restore']());}class _0x43793b extends _0x5ee778[_0x3e20bb(0x1fe)]{constructor(_0x452243,_0x5813da){const _0x584e2c=_0x3e20bb;super(_0x452243,_0x5813da),_0x18ecd9(this,'color'),_0x18ecd9(this,_0x584e2c(0x202)),(this['color']=_0x5813da==null?void 0x0:_0x5813da['color'],this[_0x584e2c(0x202)]=_0x5813da==null?void 0x0:_0x5813da[_0x584e2c(0x202)]);}static['drawWith'](_0x5c5291,_0x1511d0){const _0x3098f9=_0x3e20bb,{text:_0xb29c6d,color:_0x11f56e}=_0x1511d0;_0x5c5291['save'](),_0x5c5291[_0x3098f9(0x327)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x382022=_0x5c5291[_0x3098f9(0x318)](_0xb29c6d)[_0x3098f9(0x381)],_0xf18259=Math[_0x3098f9(0x300)](_0x382022+0x2*_0x34f942,_0x3f9796);_0x2bf7ca(_0x5c5291,{'height':_0x17f2f0,'radius':0x4,'width':_0xf18259,'fill':_0x11f56e}),_0x5c5291[_0x3098f9(0x316)]=_0x3098f9(0x19d);const _0xf76f1f=_0x34f942,_0x1b1a89=_0x17f2f0-_0x50e9a2,_0x4771c0=_0x3f9796-0x2*_0x34f942;if(_0x382022>_0x4771c0){let _0x5cf794='',_0x4e8670=0x0;for(const _0x57ee9f of _0xb29c6d){const _0x50588c=_0x5c5291['measureText'](_0x57ee9f)[_0x3098f9(0x381)];if(_0x4e8670+_0x50588c<=_0x4771c0-_0x5c5291[_0x3098f9(0x318)]('...')['width'])_0x5cf794+=_0x57ee9f,_0x4e8670+=_0x50588c;else{_0x5cf794+=_0x3098f9(0x222);break;}}_0x5c5291[_0x3098f9(0x27c)](_0x5cf794,_0xf76f1f,_0x1b1a89);}else _0x5c5291[_0x3098f9(0x27c)](_0xb29c6d,_0xf76f1f,_0x1b1a89);_0x5c5291[_0x3098f9(0x139)]();}[_0x3e20bb(0x292)](_0x3d9672){const _0x5efd07=_0x3e20bb;_0x43793b[_0x5efd07(0x280)](_0x3d9672,this);}}const _0x81696a='collab-text-anchor-',_0x5b31fc=_0x3e20bb(0x21d),_0x4f7ed6=_0x3e20bb(0x147),_0x15725b=0x6,_0x5aad7a=1.5,_0x25a9c8=0x4,_0x3ddfab=1.5,_0x4c5a74=_0x3e20bb(0x30a);class _0x40ca3c{constructor(_0x44f0a7,_0x5741cb,_0x55fe31,_0x3a0739){const _0x16e44e=_0x3e20bb;_0x18ecd9(this,_0x16e44e(0x218),[]),_0x18ecd9(this,_0x16e44e(0x128),null),_0x18ecd9(this,_0x16e44e(0x2ee),null),_0x18ecd9(this,_0x16e44e(0x1fc),null),_0x18ecd9(this,_0x16e44e(0x1b1),null),_0x18ecd9(this,'_eventUnsubscribe',null),(this[_0x16e44e(0x35b)]=_0x44f0a7,this[_0x16e44e(0x341)]=_0x5741cb,this[_0x16e44e(0x2fa)]=_0x55fe31,this[_0x16e44e(0x2b1)]=_0x3a0739,this[_0x16e44e(0xed)]());}set[_0x3e20bb(0xf8)](_0x9e30aa){const _0x3f0e55=_0x3e20bb;_0x9e30aa?(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x262)](),this[_0x3f0e55(0x2ee)]&&this['_textBubble'][_0x3f0e55(0x1ab)]()):(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x1ab)](),this['_textBubble']&&this[_0x3f0e55(0x2ee)][_0x3f0e55(0x262)]());}[_0x3e20bb(0x17a)](){const _0x49bf0a=_0x3e20bb;for(const _0x3ad9ea of this['_shapes'])_0x3ad9ea[_0x49bf0a(0x17a)]();this[_0x49bf0a(0x2ee)]&&this[_0x49bf0a(0x2ee)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x1fc)]&&this[_0x49bf0a(0x1fc)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x128)]&&this[_0x49bf0a(0x128)][_0x49bf0a(0x17a)](),this['_eventUnsubscribe']&&this[_0x49bf0a(0x134)]();}[_0x3e20bb(0xed)](){const _0x554a66=_0x3e20bb;var _0x4144c7;const {_docSkeleton:_0x1cc711,_document:_0x12b793}=this,{color:_0x5715e4,name:_0x44832d,ranges:_0x1dac6f}=this[_0x554a66(0x35b)],_0x1b8254=_0x12b793[_0x554a66(0x22b)](),{docsLeft:_0x4d68a2,docsTop:_0x12b542}=_0x1b8254,_0x2812a2=new _0x35cd67[(_0x554a66(0x232))](_0x1b8254,_0x1cc711);for(const {startOffset:_0x1d2d7b,endOffset:_0x4d2390,rangeType:_0x2f3d9f,segmentId:_0x5ac905,segmentPage:_0x48d5b5,collapsed:_0x58c112,isActive:_0xdd3c0f}of _0x1dac6f){const _0x2186e8=_0x1cc711[_0x554a66(0x373)](_0x1d2d7b,!0x0,_0x5ac905,_0x48d5b5);let _0x46b827=_0x1cc711['findNodePositionByCharIndex'](_0x4d2390,!0x0,_0x5ac905,_0x48d5b5);if(_0x46b827==null&&(_0x46b827=_0x1cc711[_0x554a66(0x373)](_0x4d2390-0x1,!0x1,_0x5ac905,_0x48d5b5)),_0xdd3c0f){const {contentBoxPointGroup:_0x15d388}=_0x2812a2['getRangePointData'](_0x46b827,_0x46b827);if(_0x15d388[_0x554a66(0x230)]===0x0)continue;this['_drawAnchor'](_0x5715e4,_0x15d388,_0x4d68a2,_0x12b542,_0x44832d),this[_0x554a66(0x134)]=this[_0x554a66(0x2a5)]();}if(_0x2186e8&&_0x46b827){if(_0x2f3d9f===_0x233149[_0x554a66(0x102)][_0x554a66(0x245)]){const _0x38fa48=new _0x35cd67[(_0x554a66(0x348))](_0x1b8254,_0x1cc711),{pointGroup:_0x4620d5}=(_0x4144c7=_0x38fa48[_0x554a66(0x2bd)](_0x2186e8,_0x46b827))!=null?_0x4144c7:{};if(_0x4620d5==null||_0x4620d5[_0x554a66(0x230)]===0x0)continue;this[_0x554a66(0x109)](_0x5715e4,_0x4620d5,_0x4d68a2,_0x12b542);}else{if(!_0x58c112){const {borderBoxPointGroup:_0x2481b1}=_0x2812a2['getRangePointData'](_0x2186e8,_0x46b827);if(_0x2481b1['length']===0x0)continue;this[_0x554a66(0x2e0)](_0x5715e4,_0x2481b1,_0x4d68a2,_0x12b542);}}}}}[_0x3e20bb(0xf0)](_0x49d3ad,_0x4da1ee,_0x131f91,_0x31a3cc,_0x483a0e){const _0x462824=_0x3e20bb,_0x4770bc=this[_0x462824(0x385)](_0x4da1ee),{left:_0x1822bb,top:_0x3a1517,height:_0x205aa5}=_0x4770bc,_0x118bd7=this[_0x462824(0x30d)](),_0x166979=_0x3ddfab/_0x118bd7,_0x1fbaed=new _0x5ee778['Rect'](_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc,'height':_0x205aa5,'width':_0x5aad7a,'fill':_0x49d3ad||_0x5ee778['getColor'](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':_0x166979,'stroke':_0x4c5a74,'evented':!0x0});this[_0x462824(0x128)]=_0x1fbaed,this['_scene'][_0x462824(0x1dd)](_0x1fbaed,_0x35cd67[_0x462824(0x180)]);const _0x5d9ef6=new _0x5ee778[(_0x462824(0x1e5))](_0x81696a+_0x233149['generateRandomId'](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x25a9c8/0x2,'height':_0x25a9c8,'width':_0x25a9c8,'fill':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':0x0,'stroke':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'evented':!0x1});this[_0x462824(0x1fc)]=_0x5d9ef6,this[_0x462824(0x341)][_0x462824(0x1dd)](_0x5d9ef6,_0x35cd67['TEXT_RANGE_LAYER_INDEX']);const _0x238962=new _0x43793b(_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x17f2f0,'text':_0x483a0e,'color':_0x49d3ad});this[_0x462824(0x2ee)]=_0x238962,this['_scene']['addObject'](_0x238962,_0x35cd67[_0x462824(0x180)]),this[_0x462824(0xf8)]=!0x1;}[_0x3e20bb(0x2a5)](){const _0x2efbed=_0x3e20bb,_0x32defb=this[_0x2efbed(0x128)][_0x2efbed(0x33b)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x35d051=this[_0x2efbed(0x128)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x372ca2=_0x2efbed;this[_0x372ca2(0x1b1)]&&clearTimeout(this[_0x372ca2(0x1b1)]),this[_0x372ca2(0x1b1)]=setTimeout(()=>{const _0x2ca0e8=_0x372ca2;this[_0x2ca0e8(0xf8)]=!0x1;},0x7d0);});return()=>{const _0x3c5ca0=_0x2efbed;_0x32defb[_0x3c5ca0(0x357)](),_0x35d051[_0x3c5ca0(0x357)]();};}[_0x3e20bb(0x2e0)](_0x4d2bb4,_0x159b7c,_0x3fca66,_0x3b3a14){const _0xf540bf=_0x3e20bb,_0x39f233=new _0x233149[(_0xf540bf(0x23f))](_0x4d2bb4)['setAlpha'](0.2)[_0xf540bf(0x13f)](),_0x2e72ae=new _0x5ee778[(_0xf540bf(0x1f8))](_0x5b31fc+_0x233149['generateRandomId'](_0x15725b),{'pointsGroup':_0x159b7c,'fill':_0x39f233||_0x5ee778['getColor'](_0x233149['COLORS']['black'],0.2),'left':_0x3fca66,'top':_0x3b3a14,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf540bf(0x1a2)](_0x2e72ae),this['_scene'][_0xf540bf(0x1dd)](_0x2e72ae,_0x35cd67[_0xf540bf(0x180)]);}[_0x3e20bb(0x109)](_0x4a66ca,_0x1b0167,_0x4e68cf,_0xf09205){const _0x307a80=_0x3e20bb,_0x195cc6=new _0x233149[(_0x307a80(0x23f))](_0x4a66ca)[_0x307a80(0x163)](0.2)[_0x307a80(0x13f)](),_0x1dcaa7=new _0x5ee778[(_0x307a80(0x1f8))](_0x4f7ed6+_0x233149[_0x307a80(0x13d)](_0x15725b),{'pointsGroup':_0x1b0167,'fill':_0x195cc6||_0x5ee778[_0x307a80(0x34d)](_0x233149[_0x307a80(0x17c)][_0x307a80(0x1ee)],0.2),'left':_0x4e68cf,'top':_0xf09205,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x307a80(0x1a2)](_0x1dcaa7),this[_0x307a80(0x341)][_0x307a80(0x1dd)](_0x1dcaa7,_0x35cd67[_0x307a80(0x180)]);}[_0x3e20bb(0x385)](_0x1ffe7c){const _0x4e5011=_0x1ffe7c[0x0],_0x5998a5=_0x4e5011[0x0],_0x3e89d6=_0x4e5011[0x2],{x:_0x56e6ee,y:_0x5a1f82}=_0x5998a5,{x:_0x57d936,y:_0x5e8d55}=_0x3e89d6;return{'left':_0x56e6ee,'top':_0x5a1f82,'width':_0x57d936-_0x56e6ee,'height':_0x5e8d55-_0x5a1f82};}[_0x3e20bb(0x30d)](){const {scaleX:_0xfeca74,scaleY:_0x5b78f0}=this['_scene']['getAncestorScale']();return Math['max'](_0xfeca74,_0x5b78f0);}}var _0x192322=Object['getOwnPropertyDescriptor'],_0x218169=(_0x199061,_0x53b2ba,_0x5589b2,_0x4bde0c)=>{const _0x27d726=_0x3e20bb;for(var _0x38092b=_0x4bde0c>0x1?void 0x0:_0x4bde0c?_0x192322(_0x53b2ba,_0x5589b2):_0x53b2ba,_0x4e52e9=_0x199061[_0x27d726(0x230)]-0x1,_0x2d4cb3;_0x4e52e9>=0x0;_0x4e52e9--)(_0x2d4cb3=_0x199061[_0x4e52e9])&&(_0x38092b=_0x2d4cb3(_0x38092b)||_0x38092b);return _0x38092b;},_0x2df0e5=(_0x85529f,_0x41b114)=>(_0x2cae13,_0x1ad55b)=>_0x41b114(_0x2cae13,_0x1ad55b,_0x85529f);let _0x33ecbd=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x2ea58b,_0x287f08,_0x5534ef,_0x598cfb,_0x2b619b){const _0x753f09=_0x3e20bb;super(),_0x18ecd9(this,'_cursorShapes',[]),_0x18ecd9(this,_0x753f09(0x268),[]),(this[_0x753f09(0x38c)]=_0x2ea58b,this['_docSkeletonManagerService']=_0x287f08,this['_collabCursorController']=_0x5534ef,this[_0x753f09(0xec)]=_0x598cfb,this[_0x753f09(0x297)]=_0x2b619b,this[_0x753f09(0x362)]());}[_0x3e20bb(0x362)](){const _0x2ed4e4=_0x3e20bb,_0x26c481=this[_0x2ed4e4(0x38c)][_0x2ed4e4(0x15f)],_0x1c8d7e=this[_0x2ed4e4(0x2dc)];this['disposeWithMe'](_0x12fec3[_0x2ed4e4(0x333)]([this['_collabCursorController'][_0x2ed4e4(0x106)](_0x26c481),this[_0x2ed4e4(0x297)][_0x2ed4e4(0xfb)]])['pipe'](_0x493a5f['map'](([_0x1dea28,_0x58d1b3])=>({'skeleton':_0x1c8d7e[_0x2ed4e4(0x115)](),'cursors':[..._0x1dea28[_0x2ed4e4(0x32e)]()][_0x2ed4e4(0x113)](_0x400af3=>({..._0x400af3,'color':this[_0x2ed4e4(0x297)]['getColorFromTheme'](_0x400af3[_0x2ed4e4(0x168)])}))})))['subscribe'](_0x1d011d=>{const _0x488b57=_0x2ed4e4;if(this[_0x488b57(0x10b)](),_0x1d011d){const {skeleton:_0xeefece,cursors:_0x4fd4ea}=_0x1d011d;this[_0x488b57(0x2cb)](_0xeefece,_0x4fd4ea);}})),this[_0x2ed4e4(0x243)](),this['_initCommandExecutedListener']();}[_0x3e20bb(0x2cb)](_0x5445af,_0x542794){const _0x168b5e=_0x3e20bb,{scene:_0x1a82ba,mainComponent:_0x51c774}=this[_0x168b5e(0x38c)],_0x126d1b=_0x542794[_0x168b5e(0x1d6)](_0x44806b=>new _0x40ca3c(_0x44806b,_0x1a82ba,_0x5445af,_0x51c774));this[_0x168b5e(0x107)]=_0x126d1b,this[_0x168b5e(0x268)]=_0x542794;}['_refreshCollabCursors'](){const _0x2225f1=_0x3e20bb;this[_0x2225f1(0x10b)]();const {scene:_0x5a64cb,mainComponent:_0x1850db}=this[_0x2225f1(0x38c)],_0x456dbe=this[_0x2225f1(0x2dc)]['getSkeleton'](),_0xa2b7d7=this['_cursors'][_0x2225f1(0x1d6)](_0x14fb86=>new _0x40ca3c(_0x14fb86,_0x5a64cb,_0x456dbe,_0x1850db));this[_0x2225f1(0x107)]=_0xa2b7d7;}[_0x3e20bb(0x10b)](){const _0xa17afd=_0x3e20bb;this[_0xa17afd(0x107)][_0xa17afd(0x27f)](_0x2bff92=>_0x2bff92['dispose']()),this[_0xa17afd(0x107)]=[];}['_initCommandExecutedListener'](){const _0x57fde8=_0x3e20bb,_0x99995e=[_0x35cd67[_0x57fde8(0x18e)]['id']];this[_0x57fde8(0x215)](this[_0x57fde8(0xec)][_0x57fde8(0x2ea)](_0x17ad98=>{const _0x456e8f=_0x57fde8;_0x99995e[_0x456e8f(0x267)](_0x17ad98['id'])&&_0x17ad98[_0x456e8f(0x23b)]['unitId']===this[_0x456e8f(0x38c)][_0x456e8f(0x15f)]&&this[_0x456e8f(0x172)]();}));}[_0x3e20bb(0x243)](){const _0x241718=_0x3e20bb;this[_0x241718(0x215)](_0x233149[_0x241718(0x272)](this[_0x241718(0x38c)][_0x241718(0x244)][_0x241718(0x358)])[_0x241718(0x1ff)](_0x493a5f['filter'](_0x4d54f=>_0x4d54f[_0x241718(0x353)]===_0x5ee778[_0x241718(0x284)][_0x241718(0x220)]),_0x493a5f[_0x241718(0x240)](0x10))[_0x241718(0x1be)](()=>{const _0x4a6d4f=_0x241718;this[_0x4a6d4f(0x172)]();}));}};_0x33ecbd=_0x218169([_0x2df0e5(0x1,_0x233149[_0x3e20bb(0x20f)](_0x31d980['DocSkeletonManagerService'])),_0x2df0e5(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x2df0e5(0x3,_0x233149[_0x3e20bb(0x37b)]),_0x2df0e5(0x4,_0x233149[_0x3e20bb(0x20f)](_0x233149['ThemeService']))],_0x33ecbd);const _0x4ee69b=0x1,_0x49aeed=1.5;class _0x3b379f extends _0x5ee778['Shape']{constructor(_0x1dbea5,_0x3308ee){const _0x481fa6=_0x3e20bb;super(_0x1dbea5,_0x3308ee),_0x18ecd9(this,'_color'),_0x18ecd9(this,'_hovered',!0x1),_0x18ecd9(this,'_range'),_0x18ecd9(this,_0x481fa6(0x32f),''),_0x18ecd9(this,_0x481fa6(0x350),_0x481fa6(0x2ed)),_0x18ecd9(this,'_backgroundColor'),(_0x3308ee&&this['setShapeProps'](_0x3308ee),this[_0x481fa6(0x33b)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x0})),this[_0x481fa6(0x15a)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x1})));}[_0x3e20bb(0x186)](_0x5a1fe5){const _0x73baf4=_0x3e20bb;var _0x4be165,_0x4e0dbc,_0x5474fe,_0x46d7a1,_0x5c7d77,_0x4cd220;this['_color']=(_0x4be165=_0x5a1fe5[_0x73baf4(0x168)])!=null?_0x4be165:this[_0x73baf4(0x35e)],this[_0x73baf4(0x369)]=(_0x4e0dbc=_0x5a1fe5[_0x73baf4(0x28e)])!=null?_0x4e0dbc:this['_hovered'],this[_0x73baf4(0x31e)]=(_0x5474fe=_0x5a1fe5[_0x73baf4(0x19b)])!=null?_0x5474fe:this[_0x73baf4(0x31e)],this[_0x73baf4(0x32f)]=(_0x46d7a1=_0x5a1fe5[_0x73baf4(0x2c6)])!=null?_0x46d7a1:this[_0x73baf4(0x32f)],this[_0x73baf4(0x350)]=(_0x5c7d77=_0x5a1fe5[_0x73baf4(0x2be)])!=null?_0x5c7d77:this['_labelPosition'],this['_backgroundColor']=(_0x4cd220=_0x5a1fe5['backgroundColor'])!=null?_0x4cd220:this[_0x73baf4(0x29b)],this['transformByState']({'width':_0x5a1fe5['width'],'height':_0x5a1fe5[_0x73baf4(0x10e)]});}[_0x3e20bb(0x2a6)](_0x581ed9){const _0x23c614=_0x3e20bb,{row:_0x446874,column:_0x4b02c1}=_0x581ed9;if(_0x446874>=this[_0x23c614(0x31e)][_0x23c614(0x359)]&&_0x446874<=this['_range']['endRow']&&_0x4b02c1>=this[_0x23c614(0x31e)]['startColumn']&&_0x4b02c1<=this['_range'][_0x23c614(0x2ff)]){this[_0x23c614(0x186)]({'hovered':!0x0});return;}this[_0x23c614(0x186)]({'hovered':!0x1});}[_0x3e20bb(0x36b)](_0x2d1ed6){return!0x1;}[_0x3e20bb(0x292)](_0x4d4df8){const _0x4dcca4=_0x3e20bb;_0x5ee778[_0x4dcca4(0x1e5)]['drawWith'](_0x4d4df8,{'width':this['width'],'height':this[_0x4dcca4(0x10e)],'strokeWidth':_0x49aeed,'stroke':this[_0x4dcca4(0x35e)],'evented':!0x1,'fill':this[_0x4dcca4(0x29b)]}),this[_0x4dcca4(0x369)]&&(_0x4d4df8[_0x4dcca4(0x35f)](),_0x4d4df8[_0x4dcca4(0x33a)](0x1,0x0,0x0,0x1,this['width'],this[_0x4dcca4(0x350)]==='bottom'?0x0:-_0x17f2f0),_0x43793b['drawWith'](_0x4d4df8,{'text':this[_0x4dcca4(0x32f)],'color':this[_0x4dcca4(0x35e)]}),_0x4d4df8['restore']());}}var _0x2c7ff8=Object[_0x3e20bb(0x18a)],_0x246849=(_0x2a1826,_0x32c17a,_0x3346d3,_0x4f69de)=>{for(var _0x3ac230=_0x4f69de>0x1?void 0x0:_0x4f69de?_0x2c7ff8(_0x32c17a,_0x3346d3):_0x32c17a,_0x2e4f47=_0x2a1826['length']-0x1,_0x383151;_0x2e4f47>=0x0;_0x2e4f47--)(_0x383151=_0x2a1826[_0x2e4f47])&&(_0x3ac230=_0x383151(_0x3ac230)||_0x3ac230);return _0x3ac230;},_0x57920a=(_0x5ab0c7,_0xe0c7e7)=>(_0x4e1afa,_0x1ebee2)=>_0xe0c7e7(_0x4e1afa,_0x1ebee2,_0x5ab0c7);const _0x25c630=0x1389;let _0x1c14f5=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x1c7cfb,_0x17429f,_0x1b7533,_0x3a2961){const _0x2c6f86=_0x3e20bb;super(),_0x18ecd9(this,'_cursors',new Set()),_0x18ecd9(this,'_lastPointer',null),(this[_0x2c6f86(0x38c)]=_0x1c7cfb,this[_0x2c6f86(0x352)]=_0x17429f,this['_collabCursorController']=_0x1b7533,this[_0x2c6f86(0x297)]=_0x3a2961,this['_init']());}[_0x3e20bb(0x362)](){const _0x316117=_0x3e20bb;this['_sheetSkeletonManagerService'][_0x316117(0x31a)]['pipe'](_0x493a5f[_0x316117(0x28c)](this[_0x316117(0x1e1)]),_0x493a5f[_0x316117(0x1b4)](_0x1fb6ee=>{const _0x20848b=_0x316117;if(_0x1fb6ee){const _0x40cecf=_0x1fb6ee[_0x20848b(0x2b2)];return _0x12fec3['combineLatest'](this[_0x20848b(0x150)][_0x20848b(0x106)](this[_0x20848b(0x38c)]['unitId']),this[_0x20848b(0x297)][_0x20848b(0xfb)])[_0x20848b(0x1ff)](_0x493a5f[_0x20848b(0x1d6)](([_0x180b72,_0x35f6aa])=>{const _0x3be043=_0x20848b,_0x2f2a11=new Map();return _0x180b72[_0x3be043(0x27f)]((_0x1c1b87,_0x5e5693)=>{const _0x127418=_0x3be043;if(_0x1c1b87['sheetID']===_0x40cecf){const _0x4dd9e0={..._0x1c1b87};_0x4dd9e0[_0x127418(0x168)]=this[_0x127418(0x297)][_0x127418(0x1aa)](_0x1c1b87[_0x127418(0x168)]),_0x2f2a11[_0x127418(0x256)](_0x5e5693,_0x4dd9e0);}}),{'skeleton':_0x1fb6ee,'cursors':_0x2f2a11};}));}return _0x12fec3['of']({'skeleton':null,'cursors':new Map()});}))[_0x316117(0x1be)](({skeleton:_0x5c4179,cursors:_0x437c66})=>{const _0x1a4e7f=_0x316117;this[_0x1a4e7f(0x10b)](),_0x5c4179&&this[_0x1a4e7f(0x2cb)](_0x5c4179,_0x437c66);}),this[_0x316117(0x352)][_0x316117(0x31a)][_0x316117(0x1be)](_0x10d1ef=>{const _0x318670=_0x316117;if(_0x10d1ef==null)return;const {skeleton:_0x2a1ce3}=_0x10d1ef,{scene:_0x53d887}=this[_0x318670(0x38c)];_0x53d887[_0x318670(0x1a5)][_0x318670(0x291)](_0x233149['debounce'](_0x2a015d=>{const _0x488a5b=_0x318670;var _0x2a506a,_0x4a5b0a;const {offsetX:_0x4a72bf,offsetY:_0x41dc46}=_0x2a015d,{x:_0x3767ff,y:_0x32137a}=_0x53d887[_0x488a5b(0x302)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x4a72bf,_0x41dc46])),{scaleX:_0x215b71,scaleY:_0x4d32a8}=_0x53d887['getAncestorScale'](),_0x1d7603=_0x53d887[_0x488a5b(0x16b)](_0x5ee778[_0x488a5b(0x1d3)][_0x488a5b(0x378)]),_0x2ccabe=_0x53d887[_0x488a5b(0x1a4)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x3767ff,_0x32137a]),_0x1d7603),_0x58469b=_0x2a1ce3[_0x488a5b(0x1ac)](_0x4a72bf,_0x41dc46,_0x215b71,_0x4d32a8,_0x2ccabe);((_0x2a506a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x2a506a[_0x488a5b(0x18d)])===_0x58469b[_0x488a5b(0x18d)]&&((_0x4a5b0a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x4a5b0a[_0x488a5b(0x23c)])===_0x58469b[_0x488a5b(0x23c)]||this[_0x488a5b(0x268)][_0x488a5b(0x27f)](_0x374ad8=>{const _0x31f795=_0x488a5b;_0x374ad8[_0x31f795(0x2a6)](_0x58469b);});},0x64));});}[_0x3e20bb(0x2cb)](_0x14729e,_0x4223c4){const _0x163727=_0x3e20bb;var _0x384d8d;const _0x54774f=(_0x384d8d=this['_sheetSkeletonManagerService'][_0x163727(0x317)]())==null?void 0x0:_0x384d8d[_0x163727(0x2d1)];if(!_0x54774f)return;const _0x19eeb1=this[_0x163727(0x1fb)]();if(!_0x19eeb1)return;this[_0x163727(0x268)][_0x163727(0x27f)](_0x541d4d=>{const _0x95aa17=_0x163727;_0x541d4d[_0x95aa17(0x17e)]();});const {scene:_0xea81ec}=_0x19eeb1,_0x7a7042=_0x55705a(Array[_0x163727(0x26e)](_0x4223c4[_0x163727(0x32e)]()))['map'](_0x372578=>{const _0x117bd5=_0x163727,{color:_0x406186,range:_0x2e2bf7,name:_0x175662,selection:_0x39de9f,sheetID:_0x2d343f}=_0x372578,{startColumn:_0xf5ba07,startRow:_0xb7366a,endColumn:_0x4a88e3,endRow:_0x4ffa82}=_0x2e2bf7,_0x10bc94=_0xcb2717[_0x117bd5(0x32a)](_0xb7366a,_0xf5ba07,_0xea81ec,_0x54774f),_0x51d976=_0xcb2717[_0x117bd5(0x32a)](_0x4ffa82,_0x4a88e3,_0xea81ec,_0x54774f),{columnHeaderHeightAndMarginTop:_0xc1575b}=_0x54774f,{startX:_0xd7ffe5,startY:_0x4cd6db}=_0x10bc94,{endX:_0x418d5c,endY:_0x271bf3}=_0x51d976,_0x981ff4=_0x418d5c-_0xd7ffe5,_0x4e60d8=_0x271bf3-_0x4cd6db,_0x46b258={'labelPosition':_0x4cd6db-_0xc1575b>=_0x17f2f0?_0x117bd5(0x2ed):_0x117bd5(0x16d),'sheetID':_0x2d343f,'range':_0x2e2bf7,'color':_0x406186,'name':_0x175662,'selection':_0x39de9f,'left':_0xd7ffe5,'top':_0x4cd6db,'width':_0x981ff4,'height':_0x4e60d8,'evented':!0x1,'zIndex':_0x25c630};return new _0x3b379f(_0x175662,_0x46b258);});_0xea81ec[_0x163727(0x23a)](_0x7a7042,_0x4ee69b),this['_cursors']=new Set(_0x7a7042);}['_removeCollabCursors'](){const _0x10ee18=_0x3e20bb;var _0x1973cd;(_0x1973cd=this[_0x10ee18(0x268)])==null||_0x1973cd[_0x10ee18(0x27f)](_0x3d99d4=>_0x3d99d4[_0x10ee18(0x17a)]());}[_0x3e20bb(0x1fb)](){const _0x23a167=_0x3e20bb;return _0xcb2717[_0x23a167(0x277)](this[_0x23a167(0x38c)]['unit'],this[_0x23a167(0x38c)]);}};_0x1c14f5=_0x246849([_0x57920a(0x1,_0x233149['Inject'](_0xcb2717[_0x3e20bb(0x1a3)])),_0x57920a(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x57920a(0x3,_0x233149['Inject'](_0x233149['ThemeService']))],_0x1c14f5);function _0x55705a(_0x10c2b6){const _0x2265b2=_0x3e20bb,_0x2aa13e=new Map();return _0x10c2b6[_0x2265b2(0x27f)](_0x4607b1=>{const _0x17639c=_0x2265b2;if(_0x2aa13e[_0x17639c(0x1b0)](_0x4607b1[_0x17639c(0x1db)])){const _0x4e0a91=_0x2aa13e[_0x17639c(0x1d7)](_0x4607b1[_0x17639c(0x1db)]);_0x4e0a91['name']+=',\x20'+_0x4607b1['name'];}else _0x2aa13e[_0x17639c(0x256)](_0x4607b1['selection'],_0x4607b1);}),Array[_0x2265b2(0x26e)](_0x2aa13e[_0x2265b2(0x32e)]());}var _0x512ee3=Object[_0x3e20bb(0x18a)],_0x392f5b=(_0x40b1ce,_0x268193,_0x152845,_0x1ca9f2)=>{const _0x1e4514=_0x3e20bb;for(var _0x4f2613=_0x1ca9f2>0x1?void 0x0:_0x1ca9f2?_0x512ee3(_0x268193,_0x152845):_0x268193,_0x950b57=_0x40b1ce[_0x1e4514(0x230)]-0x1,_0x335df3;_0x950b57>=0x0;_0x950b57--)(_0x335df3=_0x40b1ce[_0x950b57])&&(_0x4f2613=_0x335df3(_0x4f2613)||_0x4f2613);return _0x4f2613;},_0xce51b1=(_0xe1ff6d,_0x2a1083)=>(_0x4929b0,_0x58fb11)=>_0x2a1083(_0x4929b0,_0x58fb11,_0xe1ff6d);let _0x51fdcb=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x46650f,_0x37e302,_0x3b9fe2,_0x955576,_0x639383,_0x500075){const _0x4c8d31=_0x3e20bb;super(),this['_beforeCloseService']=_0x46650f,this[_0x4c8d31(0x37e)]=_0x37e302,this['_collaborationUIEventService']=_0x3b9fe2,this[_0x4c8d31(0x1ca)]=_0x955576,this[_0x4c8d31(0x351)]=_0x639383,this['_localeService']=_0x500075,this[_0x4c8d31(0xfe)](),this[_0x4c8d31(0x1f7)]();}[_0x3e20bb(0xfe)](){const _0x49687e=_0x3e20bb;this['disposeWithMe'](this[_0x49687e(0x213)][_0x49687e(0x1a1)](()=>{const _0x39f163=_0x49687e;if(this[_0x39f163(0x37e)]['saveTaskMap'][_0x39f163(0x24a)])return this[_0x39f163(0x197)]['t'](_0x39f163(0x142));}));}[_0x3e20bb(0x1f7)](){const _0x1223dc=_0x3e20bb;this[_0x1223dc(0x215)](this[_0x1223dc(0x2ce)]['event$'][_0x1223dc(0x1be)](_0x14aec2=>{const _0x4a5d77=_0x1223dc;_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['OTHER_CLIENT_EDITING']&&this[_0x4a5d77(0x1ca)][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x345))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0xfc)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x28d))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['PERMISSION_DENIED']&&this[_0x4a5d77(0x351)][_0x4a5d77(0x1ab)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x14c)),'type':_0x4a5d77(0x22a),'duration':0x0}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x126)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x28d))+'('+_0x14aec2[_0x4a5d77(0x214)]+')'}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['JOIN_ROOM_FAILED']&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x210)],'content':this['_localeService']['t'](_0x14aec2[_0x4a5d77(0x214)]||'')}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x2b9)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)]['Warning'],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x376))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x320)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x2aa))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x249)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x2fd))});}));}};_0x51fdcb=_0x392f5b([_0xce51b1(0x0,_0x5ec1c1[_0x3e20bb(0x1e6)]),_0xce51b1(0x1,_0x14cc37['ILocalCacheService']),_0xce51b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x309)])),_0xce51b1(0x3,_0x5ec1c1[_0x3e20bb(0x178)]),_0xce51b1(0x4,_0x5ec1c1[_0x3e20bb(0x23d)]),_0xce51b1(0x5,_0x233149['Inject'](_0x233149['LocaleService']))],_0x51fdcb);const _0xb605fd='collaboration-client-ui.config',_0x202710={};var _0x454336=Object[_0x3e20bb(0x18a)],_0x1ad895=(_0xd853c2,_0x4f9752,_0x27282b,_0x4a7b35)=>{const _0x50e620=_0x3e20bb;for(var _0x33270c=_0x4a7b35>0x1?void 0x0:_0x4a7b35?_0x454336(_0x4f9752,_0x27282b):_0x4f9752,_0x4980f7=_0xd853c2[_0x50e620(0x230)]-0x1,_0x292d70;_0x4980f7>=0x0;_0x4980f7--)(_0x292d70=_0xd853c2[_0x4980f7])&&(_0x33270c=_0x292d70(_0x33270c)||_0x33270c);return _0x33270c;},_0x245597=(_0x99cfff,_0x5e6b88)=>(_0x334b81,_0x5422aa)=>_0x5e6b88(_0x334b81,_0x5422aa,_0x99cfff);let _0x2985fb=class{constructor(_0x29fc17,_0x2de1d2){const _0x426f3b=_0x3e20bb;this[_0x426f3b(0x271)]=_0x29fc17,this[_0x426f3b(0x12f)]=_0x2de1d2;}[_0x3e20bb(0x229)](_0x4b85d8){const _0x1cdb66=_0x3e20bb;this[_0x1cdb66(0x203)](_0x4b85d8),this['_transformPreviousActiveRange'](_0x4b85d8);}[_0x3e20bb(0x273)](_0x2f5622){const _0x51104a=_0x3e20bb,{unitID:_0x37459d}=_0x2f5622,_0xa70ef=this[_0x51104a(0x12f)]['getRenderById'](_0x37459d)['with'](_0x35cd67['DocIMEInputManagerService']),{redoCache:_0x1536ce}=_0xa70ef[_0x51104a(0x355)]();if(_0x1536ce['length']===0x0)return _0x2f5622;let _0x1c68c5=_0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622[_0x51104a(0x344)][0x0]);for(let _0x2fd5f8=0x0;_0x2fd5f8<_0x1536ce[_0x51104a(0x230)];_0x2fd5f8++){const _0x5641c6={'id':'doc.mutation.rich-text-editing','params':{..._0x1536ce[_0x2fd5f8]}},_0x207721=this[_0x51104a(0x271)]['transformMutation'](_0x1c68c5,_0x5641c6,!0x1);if(_0x16f706[_0x51104a(0x2b8)](_0x207721))throw _0x207721[_0x51104a(0x22a)];_0x1c68c5=_0x207721[_0x51104a(0x2e9)];}return{..._0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622),'mutations':[_0x1c68c5]};}[_0x3e20bb(0x203)](_0x2870bf){const _0x4543db=_0x3e20bb,{unitID:_0x242856}=_0x2870bf,_0x33d18=this[_0x4543db(0x12f)]['getRenderById'](_0x242856)[_0x4543db(0x2f9)](_0x35cd67[_0x4543db(0x165)]),{undoCache:_0x1c2923,redoCache:_0xc6535d}=_0x33d18[_0x4543db(0x355)]();if(_0x1c2923[_0x4543db(0x230)]===0x0||_0xc6535d['length']===0x0)return;const _0x3e1d50=[],_0xeb02a2=[];let _0x2efc6b=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf['mutations'][0x0]),_0x500cc5=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf[_0x4543db(0x344)][0x0]);for(let _0x3e410b=_0x1c2923[_0x4543db(0x230)]-0x1;_0x3e410b>=0x0;_0x3e410b--){const _0x34d535={'id':_0x4543db(0x2c8),'params':{..._0x1c2923[_0x3e410b]}},_0x4ae441={'id':_0x4543db(0x2c8),'params':{..._0xc6535d[_0x3e410b]}},_0x4cd39d=this[_0x4543db(0x271)]['transformMutation'](_0x2efc6b,_0x34d535,!0x1),_0xf286a6=this['_transformService'][_0x4543db(0x24b)](_0x500cc5,_0x4ae441,!0x1);if(_0x16f706[_0x4543db(0x2b8)](_0x4cd39d))throw _0x4cd39d[_0x4543db(0x22a)];if(_0x16f706[_0x4543db(0x2b8)](_0xf286a6))throw _0xf286a6['error'];_0x3e1d50['unshift'](_0x4cd39d['m2Prime'][_0x4543db(0x23b)]),_0xeb02a2['unshift'](_0xf286a6[_0x4543db(0x2e2)]['params']),_0x2efc6b=_0x4cd39d[_0x4543db(0x2e9)],_0x500cc5=_0xf286a6[_0x4543db(0x2e9)];}_0x33d18['setUndoRedoMutationParamsCache']({'undoCache':_0x3e1d50,'redoCache':_0xeb02a2});}[_0x3e20bb(0x145)](_0x2f36c3){const _0x1d5d5d=_0x3e20bb,{unitID:_0x581393}=_0x2f36c3,_0x2ac7ba=this[_0x1d5d5d(0x12f)][_0x1d5d5d(0x25d)](_0x581393)[_0x1d5d5d(0x2f9)](_0x35cd67[_0x1d5d5d(0x165)]),_0x2f229f=_0x2ac7ba[_0x1d5d5d(0x199)]();if(_0x2f229f==null)return;const _0x3e2057=[{'id':_0x1d5d5d(0x2c8),'params':{'unitId':_0x2f36c3['unitID'],'actions':null,'textRanges':[_0x2f229f]}}],_0x2d33a3=this[_0x1d5d5d(0x271)]['transformMutationsWithChangeset'](_0x2f36c3,_0x3e2057);if(!_0x16f706['isTransformMutationsWithChangesetSuccess'](_0x2d33a3))throw _0x2d33a3[_0x1d5d5d(0x22a)];const _0x451a8e=_0x2d33a3[_0x1d5d5d(0x2e2)][0x0][_0x1d5d5d(0x23b)]['textRanges'];Array['isArray'](_0x451a8e)&&_0x451a8e[_0x1d5d5d(0x230)]&&_0x2ac7ba[_0x1d5d5d(0x374)](_0x451a8e[0x0]);}};_0x2985fb=_0x1ad895([_0x245597(0x0,_0x16f706[_0x3e20bb(0x375)]),_0x245597(0x1,_0x5ee778[_0x3e20bb(0x1d1)])],_0x2985fb);var _0x345349=Object['getOwnPropertyDescriptor'],_0x923728=(_0x3ac6b1,_0x198401,_0x4dabcb,_0x472ea5)=>{const _0x163325=_0x3e20bb;for(var _0x1d08a7=_0x472ea5>0x1?void 0x0:_0x472ea5?_0x345349(_0x198401,_0x4dabcb):_0x198401,_0x4d77cc=_0x3ac6b1[_0x163325(0x230)]-0x1,_0x38665a;_0x4d77cc>=0x0;_0x4d77cc--)(_0x38665a=_0x3ac6b1[_0x4d77cc])&&(_0x1d08a7=_0x38665a(_0x1d08a7)||_0x1d08a7);return _0x1d08a7;},_0x240b13=(_0x1e382f,_0xf6c3c6)=>(_0x49b186,_0x54abe1)=>_0xf6c3c6(_0x49b186,_0x54abe1,_0x1e382f);let _0x29d91d=class{constructor(_0x4c709e,_0x1cc17e,_0x521425){const _0x1cf607=_0x3e20bb;this['_injector']=_0x4c709e,this[_0x1cf607(0x271)]=_0x1cc17e,this[_0x1cf607(0x2ac)]=_0x521425;}[_0x3e20bb(0x158)](_0x104b86){const _0x2fd9f2=_0x3e20bb;this[_0x2fd9f2(0x1a8)](_0x104b86);}['transformRemoteChangeset'](_0xa657e1){const _0x204ca5=_0x3e20bb,{unitID:_0x14388c}=_0xa657e1,{collaboration:_0x1a0e48}=this['_docStateChangeManagerService']['getStateCache'](_0x14388c);if(_0x1a0e48[_0x204ca5(0x230)]===0x0)return _0xa657e1;let _0x54aaa4=_0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1[_0x204ca5(0x344)][0x0]);for(let _0x51fc1d=0x0;_0x51fc1d<_0x1a0e48[_0x204ca5(0x230)];_0x51fc1d++){const _0x3de456={'id':_0x204ca5(0x2c8),'params':{'unitId':_0x1a0e48[_0x51fc1d]['unitId'],..._0x1a0e48[_0x51fc1d][_0x204ca5(0x326)]}},_0x193e39=this[_0x204ca5(0x271)][_0x204ca5(0x24b)](_0x54aaa4,_0x3de456,!0x1);if(_0x16f706[_0x204ca5(0x2b8)](_0x193e39))throw _0x193e39[_0x204ca5(0x22a)];_0x54aaa4=_0x193e39[_0x204ca5(0x2e9)];}return{..._0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1),'mutations':[_0x54aaa4]};}['_transformHistoryAndStateStack'](_0x38e3f5){const _0x122ef7=_0x3e20bb,{unitID:_0x335b04}=_0x38e3f5,{history:_0xe8a1b2,collaboration:_0x25135b}=this[_0x122ef7(0x2ac)]['getStateCache'](_0x335b04);if(_0xe8a1b2[_0x122ef7(0x230)]===0x0&&_0x25135b[_0x122ef7(0x230)]===0x0)return;const _0x2db9d4=[],_0x48bf7c=[];let _0x430f6f=_0x233149[_0x122ef7(0x29c)][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5['mutations'][0x0]);for(let _0x215b4a=_0xe8a1b2['length']-0x1;_0x215b4a>=0x0;_0x215b4a--){const _0x5e0532={'id':_0x122ef7(0x2c8),'params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a]['undoState']}},_0x2d1f5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a][_0x122ef7(0x326)]}},_0x29f365=this[_0x122ef7(0x271)]['transformMutation'](_0x430f6f,_0x5e0532,!0x1),_0x171a21=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x31e88b,_0x2d1f5b,!0x1);if(_0x16f706['isTransformMutationFailure'](_0x29f365))throw _0x29f365['error'];if(_0x16f706[_0x122ef7(0x2b8)](_0x171a21))throw _0x171a21['error'];_0x2db9d4[_0x122ef7(0x16c)]({..._0xe8a1b2[_0x215b4a],'undoState':_0x29f365[_0x122ef7(0x2e2)][_0x122ef7(0x23b)],'redoState':_0x171a21['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x29f365[_0x122ef7(0x2e9)],_0x31e88b=_0x171a21[_0x122ef7(0x2e9)];}_0x430f6f=_0x233149[_0x122ef7(0x29c)]['deepClone'](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]);for(let _0x5dd168=_0x25135b[_0x122ef7(0x230)]-0x1;_0x5dd168>=0x0;_0x5dd168--){const _0x44caf5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0xf5)]}},_0x4fd7b2={'id':_0x122ef7(0x2c8),'params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0x326)]}},_0x474212=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x430f6f,_0x44caf5,!0x1),_0x389d69=this['_transformService'][_0x122ef7(0x24b)](_0x31e88b,_0x4fd7b2,!0x1);if(_0x16f706[_0x122ef7(0x2b8)](_0x474212))throw _0x474212[_0x122ef7(0x22a)];if(_0x16f706[_0x122ef7(0x2b8)](_0x389d69))throw _0x389d69[_0x122ef7(0x22a)];_0x48bf7c[_0x122ef7(0x16c)]({..._0x25135b[_0x5dd168],'undoState':_0x474212['m2Prime']['params'],'redoState':_0x389d69['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x474212[_0x122ef7(0x2e9)],_0x31e88b=_0x389d69['m1Prime'];}this[_0x122ef7(0x2ac)]['setStateCache'](_0x335b04,{'history':_0x2db9d4,'collaboration':_0x48bf7c});}};_0x29d91d=_0x923728([_0x240b13(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x240b13(0x1,_0x16f706[_0x3e20bb(0x375)]),_0x240b13(0x2,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)]))],_0x29d91d);var _0x4ff3ab=Object[_0x3e20bb(0x18a)],_0x5b0256=(_0x3e94e4,_0x7f19f1,_0x1b7c6e,_0x1c95de)=>{const _0x187019=_0x3e20bb;for(var _0x3d2c3f=_0x1c95de>0x1?void 0x0:_0x1c95de?_0x4ff3ab(_0x7f19f1,_0x1b7c6e):_0x7f19f1,_0x40c23e=_0x3e94e4[_0x187019(0x230)]-0x1,_0x2e1715;_0x40c23e>=0x0;_0x40c23e--)(_0x2e1715=_0x3e94e4[_0x40c23e])&&(_0x3d2c3f=_0x2e1715(_0x3d2c3f)||_0x3d2c3f);return _0x3d2c3f;},_0x448f1f=(_0x4ac14d,_0x15691e)=>(_0x5556ed,_0x4f91be)=>_0x15691e(_0x5556ed,_0x4f91be,_0x4ac14d);let _0x3a9659=class{constructor(_0x479c3a,_0x25dd70){const _0x4c2321=_0x3e20bb;this['_injector']=_0x479c3a,this[_0x4c2321(0x271)]=_0x25dd70;}[_0x3e20bb(0x2ab)](_0xfe4b1f){const _0x189d82=_0x3e20bb;var _0x380d8c;const _0x57472a=this[_0x189d82(0x116)]['get'](_0x31d980['DocSelectionManagerService']),_0x367b6e=(_0x380d8c=_0x57472a[_0x189d82(0x112)]())!=null?_0x380d8c:[];if(_0x367b6e[_0x189d82(0x230)]===0x0)return;const _0x4a5b6a=_0xfe4b1f[_0x189d82(0x2b6)],_0x56673a=[{'id':_0x189d82(0x2c8),'params':{'unitId':_0x4a5b6a,'actions':null,'textRanges':_0x367b6e}}],_0x2da9e7=this['_transformService'][_0x189d82(0x234)](_0xfe4b1f,_0x56673a);if(!_0x16f706[_0x189d82(0x20a)](_0x2da9e7))throw _0x2da9e7[_0x189d82(0x22a)];const _0x1048da=_0x2da9e7[_0x189d82(0x2e2)][0x0]['params']['textRanges'];Array[_0x189d82(0x242)](_0x1048da)&&_0x1048da['length']&&_0x57472a[_0x189d82(0xff)](_0x1048da,{'unitId':_0x4a5b6a,'subUnitId':_0x4a5b6a},!0x1);}};_0x3a9659=_0x5b0256([_0x448f1f(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x448f1f(0x1,_0x16f706[_0x3e20bb(0x375)])],_0x3a9659);var _0x37f184=Object[_0x3e20bb(0x18a)],_0x2734d1=(_0x2e6c2f,_0x1e0ec8,_0x1aa7f5,_0x1f8570)=>{const _0x162f71=_0x3e20bb;for(var _0x1d3ad3=_0x1f8570>0x1?void 0x0:_0x1f8570?_0x37f184(_0x1e0ec8,_0x1aa7f5):_0x1e0ec8,_0x5b89f2=_0x2e6c2f[_0x162f71(0x230)]-0x1,_0x3eafd1;_0x5b89f2>=0x0;_0x5b89f2--)(_0x3eafd1=_0x2e6c2f[_0x5b89f2])&&(_0x1d3ad3=_0x3eafd1(_0x1d3ad3)||_0x1d3ad3);return _0x1d3ad3;},_0x273a8d=(_0xa18d61,_0x1eff5e)=>(_0x2dcbaf,_0x1e9f22)=>_0x1eff5e(_0x2dcbaf,_0x1e9f22,_0xa18d61);let _0xe02291=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1fa242,_0x55f716,_0x5a945e,_0x10edde,_0x100b63,_0xbf47c1,_0x268a92,_0x4421c8){const _0xe08b33=_0x3e20bb;super(),_0x18ecd9(this,_0xe08b33(0x1ed),new _0x12fec3[(_0xe08b33(0x33e))](_0x14cc37[_0xe08b33(0x224)][_0xe08b33(0x274)])),(this[_0xe08b33(0x2ac)]=_0x1fa242,this[_0xe08b33(0x1fa)]=_0x55f716,this[_0xe08b33(0x38d)]=_0x5a945e,this[_0xe08b33(0x354)]=_0x10edde,this['_docTransformSelectionsService']=_0x100b63,this[_0xe08b33(0x367)]=_0xbf47c1,this[_0xe08b33(0x1ca)]=_0x268a92,this[_0xe08b33(0x197)]=_0x4421c8,this[_0xe08b33(0x324)]());}[_0x3e20bb(0x324)](){const _0x56fa0a=_0x3e20bb;this['disposeWithMe'](this['_collaborationController'][_0x56fa0a(0x15d)][_0x56fa0a(0x1be)](_0x166f3c=>{const _0x4d2805=_0x56fa0a,_0x41e7a5=this[_0x4d2805(0x2ac)][_0x4d2805(0x283)][_0x4d2805(0x1be)](_0x23a686=>{const _0x17831a=_0x4d2805;if(_0x23a686==null)return;const {unitId:_0x467d74,redoState:_0x376207,commandId:_0x11ec08}=_0x23a686;if(_0x467d74!==_0x166f3c['unitID'])return;const _0x4602ab={'id':_0x11ec08,'type':_0x233149[_0x17831a(0x323)][_0x17831a(0x136)],'params':{'unitId':_0x467d74,'actions':_0x376207[_0x17831a(0x263)],'textRanges':null}};_0x166f3c[_0x17831a(0x248)](_0x4602ab);});if(_0x166f3c[_0x4d2805(0x215)](_0x41e7a5),_0x166f3c instanceof _0x14cc37['DocCollaborationEntity']){const _0x5addcf={'onTransformIME':_0x5be3c9=>this['_docTransformIMECacheService'][_0x4d2805(0x229)](_0x5be3c9),'onTransformState':_0xdc5147=>this['_docTransformStateCacheService'][_0x4d2805(0x158)](_0xdc5147),'onTransformSelections':_0x442456=>this[_0x4d2805(0x1c0)][_0x4d2805(0x2ab)](_0x442456),'onSyncEditingCollabCursor':_0x5e55ba=>this[_0x4d2805(0x367)][_0x4d2805(0xf2)](_0x5e55ba),'onTransformRemoteChangesetByIMECache':_0x3ce7c8=>this[_0x4d2805(0x38d)]['transformRemoteChangeset'](_0x3ce7c8),'onTransformRemoteChangesetByStateCache':_0x51828b=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x51828b)};_0x166f3c['addHandlerCallback'](_0x5addcf);}}));}};_0xe02291=_0x2734d1([_0x273a8d(0x0,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)])),_0x273a8d(0x1,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0xfd)])),_0x273a8d(0x2,_0x233149[_0x3e20bb(0x20f)](_0x2985fb)),_0x273a8d(0x3,_0x233149[_0x3e20bb(0x20f)](_0x29d91d)),_0x273a8d(0x4,_0x233149[_0x3e20bb(0x20f)](_0x3a9659)),_0x273a8d(0x5,_0x233149[_0x3e20bb(0x20f)](_0x573383)),_0x273a8d(0x6,_0x5ec1c1[_0x3e20bb(0x178)]),_0x273a8d(0x7,_0x233149['Inject'](_0x233149['LocaleService']))],_0xe02291);var _0x2988a2=Object[_0x3e20bb(0x18a)],_0x1600de=(_0x1d336e,_0x5bb4ba,_0x35d0a5,_0x14b54a)=>{const _0x516a5f=_0x3e20bb;for(var _0x530ad9=_0x14b54a>0x1?void 0x0:_0x14b54a?_0x2988a2(_0x5bb4ba,_0x35d0a5):_0x5bb4ba,_0x51774f=_0x1d336e[_0x516a5f(0x230)]-0x1,_0x49debe;_0x51774f>=0x0;_0x51774f--)(_0x49debe=_0x1d336e[_0x51774f])&&(_0x530ad9=_0x49debe(_0x530ad9)||_0x530ad9);return _0x530ad9;},_0x4ca594=(_0x57ebec,_0x59f95f)=>(_0x527a4b,_0x3add92)=>_0x59f95f(_0x527a4b,_0x3add92,_0x57ebec);let _0x428e38=class extends _0x233149['Disposable']{constructor(_0x1cf781,_0x2fca2c,_0x13aed8){const _0x87666a=_0x3e20bb;super(),_0x18ecd9(this,_0x87666a(0x13a),new Map()),_0x18ecd9(this,'_saveTaskMap',new Map()),_0x18ecd9(this,_0x87666a(0x32d),!0x1),(this[_0x87666a(0x1b7)]=_0x1cf781,this['_localStorageService']=_0x2fca2c,this[_0x87666a(0x38a)]=_0x13aed8);}[_0x3e20bb(0x2db)](){const _0x4db0d7=_0x3e20bb;this[_0x4db0d7(0x32d)]=!0x0;}[_0x3e20bb(0x335)](){const _0x1ca744=_0x3e20bb;this[_0x1ca744(0x32d)]=!0x1;}get['saveTaskMap'](){const _0x23cfac=_0x3e20bb;return this[_0x23cfac(0x22e)];}['dispose'](){const _0x5eeae2=_0x3e20bb;this['exhaustSavingTask']()[_0x5eeae2(0x360)](()=>super[_0x5eeae2(0x17a)]());}async['loadOfflineData'](_0x4f4204){const _0x14a260=_0x3e20bb;return this['_disabled']?null:this[_0x14a260(0x227)][_0x14a260(0x226)](_0x14cc37[_0x14a260(0x105)](_0x4f4204));}async[_0x3e20bb(0x1ef)](_0x25b436,_0x4f9256){const _0x50f340=_0x3e20bb;return!!this[_0x50f340(0x227)][_0x50f340(0x121)](_0x25b436,_0x4f9256);}[_0x3e20bb(0x35a)](_0x5eaa34,_0x28c472,_0x23d69c,_0x2812dd){const _0x276518=_0x3e20bb,_0x583934=this[_0x276518(0x38a)]['getCurrentRevOfUnit'](_0x5eaa34);this[_0x276518(0x13a)]['set'](_0x5eaa34,{'unitID':_0x5eaa34,'type':_0x28c472,'awaitingChangeset':_0x23d69c,'mutations':_0x2812dd,'rev':_0x583934}),this[_0x276518(0x22e)]['has'](_0x5eaa34)||this[_0x276518(0xfa)](_0x5eaa34);}[_0x3e20bb(0xfa)](_0x360a43){const _0x217006=_0x3e20bb,_0x2b9771=this[_0x217006(0x2bb)]();_0x2b9771===0x0?this[_0x217006(0x140)](_0x360a43):this[_0x217006(0x22e)][_0x217006(0x256)](_0x360a43,setTimeout(()=>this[_0x217006(0x140)](_0x360a43),_0x2b9771));}[_0x3e20bb(0x2bb)](){const _0x3cd56f=_0x3e20bb;var _0x4af89f;return(_0x4af89f=this[_0x3cd56f(0x1b7)][_0x3cd56f(0x303)](_0x14cc37[_0x3cd56f(0x2fc)]))!=null?_0x4af89f:_0x14cc37['LOCAL_CACHE_INTERVAL'];}[_0x3e20bb(0x140)](_0x161e3a){const _0x11092e=_0x3e20bb,_0x52b9f0=this[_0x11092e(0x22e)]['get'](_0x161e3a);return _0x52b9f0!==void 0x0&&window[_0x11092e(0x384)](_0x52b9f0),this['_localStorageService'][_0x11092e(0x121)](_0x14cc37[_0x11092e(0x105)](_0x161e3a),this['_cachedData'][_0x11092e(0x1d7)](_0x161e3a))['then'](()=>this[_0x11092e(0x22e)][_0x11092e(0x2e4)](_0x161e3a));}async[_0x3e20bb(0x36d)](){const _0x2b36a7=_0x3e20bb,_0x2da330=[];this['_saveTaskMap'][_0x2b36a7(0x27f)]((_0x31ebe2,_0x1099bd)=>{const _0x34e7f3=_0x2b36a7;window['clearTimeout'](_0x31ebe2),_0x2da330['push'](this[_0x34e7f3(0x140)](_0x1099bd)[_0x34e7f3(0x360)](()=>{const _0x2baad0=_0x34e7f3;this[_0x2baad0(0x22e)][_0x2baad0(0x2e4)](_0x1099bd);}));}),await Promise[_0x2b36a7(0x255)](_0x2da330);}};_0x428e38=_0x1600de([_0x4ca594(0x0,_0x233149['IConfigService']),_0x4ca594(0x1,_0x233149['ILocalStorageService']),_0x4ca594(0x2,_0x233149[_0x3e20bb(0x20f)](_0x16f706[_0x3e20bb(0x270)]))],_0x428e38);class _0x135873 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0x44182d=_0x3e20bb;super(),_0x18ecd9(this,'urlChange$'),this['urlChange$']=_0x12fec3[_0x44182d(0x10c)](window,'popstate')[_0x44182d(0x1ff)](_0x12fec3['takeUntil'](this[_0x44182d(0x1e1)]),_0x12fec3['shareReplay'](0x1),_0x12fec3[_0x44182d(0x11c)](void 0x0));}[_0x3e20bb(0x120)](_0x138494,_0x5f3c86,_0x8b2f66=!0x1){const _0xd3527b=_0x3e20bb,_0x164626=new URL(window[_0xd3527b(0x386)]['href']);_0x164626[_0xd3527b(0x30f)][_0xd3527b(0x256)](_0x138494,_0x5f3c86),_0x8b2f66?window[_0xd3527b(0x264)]['replaceState']('','',_0x164626[_0xd3527b(0x211)]()):window[_0xd3527b(0x264)]['pushState']('','',_0x164626[_0xd3527b(0x211)]());}[_0x3e20bb(0x250)](_0x28b568,_0x2a0d31=!0x1){const _0x2fee45=_0x3e20bb,_0x44bf66=new URL(window[_0x2fee45(0x386)][_0x2fee45(0x1de)]);_0x44bf66['searchParams']['delete'](_0x28b568),_0x2a0d31?window['history'][_0x2fee45(0x196)]('','',_0x44bf66[_0x2fee45(0x211)]()):window[_0x2fee45(0x264)][_0x2fee45(0x1cc)]('','',_0x44bf66[_0x2fee45(0x211)]());}[_0x3e20bb(0x185)](_0x5ba964){const _0x1ff161=_0x3e20bb;var _0x2c00fb;return(_0x2c00fb=new URL(window['location']['href'])[_0x1ff161(0x30f)][_0x1ff161(0x1d7)](_0x5ba964))!=null?_0x2c00fb:void 0x0;}}var _0x40ea95=Object[_0x3e20bb(0x24f)],_0x399a16=Object[_0x3e20bb(0x18a)],_0x2d6186=(_0x4412d7,_0x4b144b,_0x229974)=>_0x4b144b in _0x4412d7?_0x40ea95(_0x4412d7,_0x4b144b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x229974}):_0x4412d7[_0x4b144b]=_0x229974,_0x1256dd=(_0x2065b8,_0x4776f6,_0x398557,_0x3a29c6)=>{const _0x4e2596=_0x3e20bb;for(var _0x574d45=_0x3a29c6>0x1?void 0x0:_0x3a29c6?_0x399a16(_0x4776f6,_0x398557):_0x4776f6,_0x15d0f7=_0x2065b8[_0x4e2596(0x230)]-0x1,_0x1dec44;_0x15d0f7>=0x0;_0x15d0f7--)(_0x1dec44=_0x2065b8[_0x15d0f7])&&(_0x574d45=_0x1dec44(_0x574d45)||_0x574d45);return _0x574d45;},_0x167d1c=(_0x53ccfd,_0x50c6e0)=>(_0x13815c,_0xf7e305)=>_0x50c6e0(_0x13815c,_0xf7e305,_0x53ccfd),_0x36eb2f=(_0x21e3b8,_0x508b5b,_0x1ff430)=>_0x2d6186(_0x21e3b8,_0x508b5b+'',_0x1ff430);const _0x48d124=_0x3e20bb(0x15e);_0x427b6e[_0x3e20bb(0x16e)]=class extends _0x233149['Plugin']{constructor(_0xda5660=_0x202710,_0x3cc0f3,_0x3c11fc,_0x56953d){const _0x50d251=_0x3e20bb;super(),this[_0x50d251(0x364)]=_0xda5660,this[_0x50d251(0x12f)]=_0x3cc0f3,this[_0x50d251(0x116)]=_0x3c11fc,this['_configService']=_0x56953d;const {..._0xd0e3d5}=_0x233149['merge']({},_0x202710,this['_config']);this['_configService']['setConfig'](_0xb605fd,_0xd0e3d5);}[_0x3e20bb(0x1b2)](){const _0x3fe067=_0x3e20bb;this[_0x3fe067(0x2da)](),this[_0x3fe067(0x29f)]();}[_0x3e20bb(0x241)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x164f5b=_0x3e20bb;var _0x552fed;const _0x15657f=[[_0xc47850],[_0x3a9659],[_0x2985fb],[_0x29d91d],[_0x573383],[_0x172ebe,{'useClass':_0x135873}],[_0xabfec4[_0x164f5b(0x38e)],{'useClass':_0xabfec4[_0x164f5b(0x135)]}],[_0x14cc37[_0x164f5b(0x18f)],{'useClass':_0x428e38}],[_0x427b6e['DesktopCollaborationStatusDisplayController']],[_0xe02291],[_0x51fdcb],[_0x221bad],[_0xdff79c],[_0x427b6e[_0x164f5b(0x2b5)]]];_0x233149[_0x164f5b(0x356)](this[_0x164f5b(0x116)],_0x233149[_0x164f5b(0x141)](_0x15657f,(_0x552fed=this[_0x164f5b(0x364)])==null?void 0x0:_0x552fed['override']));}[_0x3e20bb(0x2a0)](){const _0x119707=_0x3e20bb;this['disposeWithMe'](this[_0x119707(0x12f)]['registerRenderModule'](_0x233149['UniverInstanceType'][_0x119707(0x2a1)],[_0x33ecbd])),this[_0x119707(0x215)](this[_0x119707(0x12f)][_0x119707(0x383)](_0x233149['UniverInstanceType'][_0x119707(0x2f1)],[_0x1c14f5]));}[_0x3e20bb(0x29f)](){const _0x421e91=_0x3e20bb;_0x233149[_0x421e91(0x2a9)](this[_0x421e91(0x116)],[[_0x221bad],[_0x427b6e[_0x421e91(0x287)]],[_0xe02291],[_0x51fdcb],[_0x427b6e[_0x421e91(0x2b5)]]]);}},_0x36eb2f(_0x427b6e['UniverCollaborationClientUIPlugin'],_0x3e20bb(0xf9),_0x48d124),_0x427b6e[_0x3e20bb(0x16e)]=_0x1256dd([_0x233149[_0x3e20bb(0x2c7)](_0x14cc37[_0x3e20bb(0x38f)]),_0x167d1c(0x1,_0x5ee778[_0x3e20bb(0x1d1)]),_0x167d1c(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x167d1c(0x3,_0x233149['IConfigService'])],_0x427b6e[_0x3e20bb(0x16e)]);var _0x12a4ca=Object[_0x3e20bb(0x18a)],_0x40ecad=(_0x3da1a3,_0x52ebb1,_0xffb7b6,_0x557dd2)=>{for(var _0x2b6308=_0x557dd2>0x1?void 0x0:_0x557dd2?_0x12a4ca(_0x52ebb1,_0xffb7b6):_0x52ebb1,_0x1f0468=_0x3da1a3['length']-0x1,_0x1c8a99;_0x1f0468>=0x0;_0x1f0468--)(_0x1c8a99=_0x3da1a3[_0x1f0468])&&(_0x2b6308=_0x1c8a99(_0x2b6308)||_0x2b6308);return _0x2b6308;},_0x5abbb6=(_0x582116,_0x299cdc)=>(_0x58d2f5,_0x5b7c10)=>_0x299cdc(_0x58d2f5,_0x5b7c10,_0x582116);_0x427b6e[_0x3e20bb(0x10f)]=class extends _0x14cc37[_0x3e20bb(0x330)]{constructor(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5){super(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5);}async[_0x3e20bb(0x346)](_0x31fe6f){const _0x166dbe=_0x3e20bb,_0x317a61=await this['_getSessionTicket'](),_0x4d9ff6=this[_0x166dbe(0x310)](_0x31fe6f,_0x317a61);return this[_0x166dbe(0x137)](_0x4d9ff6);}[_0x3e20bb(0x310)](_0x47d80e,_0x8bf0ef){const _0x5e45d0=_0x3e20bb,_0x1e35d6=typeof window>'u'?new URL(_0x47d80e):new URL(_0x47d80e,window[_0x5e45d0(0x386)][_0x5e45d0(0x1dc)]);_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)]('sessionTicket',_0x8bf0ef);const _0x7c6b01=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x7c6b01[_0x5e45d0(0x1d7)](_0x5e45d0(0x184))&&_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)](_0x5e45d0(0x184),_0x7c6b01['get'](_0x5e45d0(0x184))),_0x1e35d6['toString']();}async['_getSessionTicket'](){const _0x5d167d=_0x3e20bb;var _0x30b9f9,_0xe7633f,_0x30db71;const _0x58d362=this[_0x5d167d(0x1b7)][_0x5d167d(0x303)](_0x14cc37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x8c053e=(_0x30b9f9=_0x58d362==null?void 0x0:_0x58d362[_0x5d167d(0x2fb)])!=null?_0x30b9f9:_0x14cc37[_0x5d167d(0x182)];return(_0x30db71=(_0xe7633f=(await this[_0x5d167d(0x1c2)][_0x5d167d(0x1d7)](_0x8c053e,{'headers':{'Content-Type':_0x5d167d(0x1bc)}}))[_0x5d167d(0x2ba)])==null?void 0x0:_0xe7633f[_0x5d167d(0x382)])!=null?_0x30db71:'';}},_0x427b6e[_0x3e20bb(0x10f)]=_0x40ecad([_0x5abbb6(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5abbb6(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x5abbb6(0x2,_0x233149[_0x3e20bb(0x2cc)]),_0x5abbb6(0x3,_0x233149['ILogService']),_0x5abbb6(0x4,_0x16f706['ISnapshotServerService'])],_0x427b6e[_0x3e20bb(0x10f)]);var _0x5eca67=(_0x9f2a41=>(_0x9f2a41[_0x9f2a41[_0x3e20bb(0x19a)]=0x0]=_0x3e20bb(0x19a),_0x9f2a41[_0x9f2a41['OK']=0x1]='OK',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2e3)]=0x2]='INTERNAL_ERROR',_0x9f2a41[_0x9f2a41['PERMISSION_DENIED']=0x3]=_0x3e20bb(0x1c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x387)]=0x4]=_0x3e20bb(0x387),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x363)]=0x5]=_0x3e20bb(0x363),_0x9f2a41[_0x9f2a41['ALREADY_EXISTS']=0x6]=_0x3e20bb(0x343),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x259)]=0x7]='INVALID_ARGUMENT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x14a)]=0x8]=_0x3e20bb(0x14a),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x191)]=0x9]='COMPLETION_FINISHED',_0x9f2a41[_0x9f2a41['LOGIN_FAILED']=0xa]=_0x3e20bb(0x111),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x380)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c1)]=0xc]=_0x3e20bb(0x2c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x132)]=0xd]=_0x3e20bb(0x132),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xf3)]=0xe]=_0x3e20bb(0xf3),_0x9f2a41[_0x9f2a41['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x231)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x370)]=0x1772]=_0x3e20bb(0x370),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x138)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x9f2a41[_0x9f2a41['APPLY_REJECT']=0x1b59]=_0x3e20bb(0x13b),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2f8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f0)]=0x1b5b]=_0x3e20bb(0x1f0),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x183)]=0x1b5c]=_0x3e20bb(0x183),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x34f)]=0x1b5d]=_0x3e20bb(0x34f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2a2)]=0x1f41]=_0x3e20bb(0x2a2),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xee)]=0x2329]=_0x3e20bb(0xee),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x37c)]=0x232a]=_0x3e20bb(0x37c),_0x9f2a41[_0x9f2a41['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3e20bb(0x37d),_0x9f2a41[_0x9f2a41['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3e20bb(0x293),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x304)]=0x232d]=_0x3e20bb(0x304),_0x9f2a41[_0x9f2a41['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x9f2a41[_0x9f2a41['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3e20bb(0x2d8),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x17f)]=0x2713]=_0x3e20bb(0x17f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x328)]=0x2714]=_0x3e20bb(0x328),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x152)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9f2a41[_0x9f2a41['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3e20bb(0x2e7),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29d)]=0x271c]=_0x3e20bb(0x29d),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c2)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f9)]=0x271f]=_0x3e20bb(0x1f9),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ec)]=0x2720]=_0x3e20bb(0x1ec),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x143)]=0x2af9]=_0x3e20bb(0x143),_0x9f2a41[_0x9f2a41['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3e20bb(0x2e1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29e)]=0x2ee2]=_0x3e20bb(0x29e),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2bc)]=0x2ee3]=_0x3e20bb(0x2bc),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ea)]=0x2ee4]=_0x3e20bb(0x1ea),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x169)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x312)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x313)]=0x32ca]=_0x3e20bb(0x313),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x162)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d0)]=-0x1]='UNRECOGNIZED',_0x9f2a41))(_0x5eca67||{}),_0x14c998=Object['getOwnPropertyDescriptor'],_0x3aa02d=(_0x107370,_0x14c5ae,_0x24983d,_0xeb1797)=>{const _0x1e36e2=_0x3e20bb;for(var _0x9e7950=_0xeb1797>0x1?void 0x0:_0xeb1797?_0x14c998(_0x14c5ae,_0x24983d):_0x14c5ae,_0x2cdf82=_0x107370[_0x1e36e2(0x230)]-0x1,_0x500811;_0x2cdf82>=0x0;_0x2cdf82--)(_0x500811=_0x107370[_0x2cdf82])&&(_0x9e7950=_0x500811(_0x9e7950)||_0x9e7950);return _0x9e7950;},_0x26fd4b=(_0x15c66f,_0x36c444)=>(_0x1e7fa7,_0x59d398)=>_0x36c444(_0x1e7fa7,_0x59d398,_0x15c66f);_0x427b6e['RemoteUniscriptService']=class extends _0x233149['Disposable']{constructor(_0x30eae9,_0x1bf9b7,_0x2736bc){const _0xd8d127=_0x3e20bb;super(),this[_0xd8d127(0x177)]=_0x30eae9,this['_httpService']=_0x1bf9b7,this[_0xd8d127(0x1b7)]=_0x2736bc;}async[_0x3e20bb(0x233)](_0x5eaff7,_0x22e18a,_0x4234e6,..._0x12a944){const _0x2946cf=_0x3e20bb;var _0x57062b,_0x1b401a,_0x22eaae,_0x334907;const _0x496f86=this[_0x2946cf(0x177)][_0x2946cf(0x170)]();if(!_0x496f86)throw new Error(_0x2946cf(0x1e9));const _0x153b8c=((_0x57062b=this[_0x2946cf(0x1b7)][_0x2946cf(0x303)](_0x14cc37['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x57062b:_0x14cc37[_0x2946cf(0x1c7)])+'/'+_0x5eaff7+'/run/'+_0x22e18a,_0x265c06=new URL(window[_0x2946cf(0x386)][_0x2946cf(0x1de)]),_0x43f801={'scriptId':_0x5eaff7,'runId':(_0x1b401a=_0x265c06['searchParams'][_0x2946cf(0x1d7)]('runId'))!=null?_0x1b401a:'','function':_0x22e18a,'unitId':_0x496f86[_0x2946cf(0x11d)](),'argsOfFunction':JSON[_0x2946cf(0x2f2)](_0x12a944),'invokeId':(_0x22eaae=_0x4234e6[_0x2946cf(0x314)])!=null?_0x22eaae:'','executionId':(_0x334907=_0x4234e6[_0x2946cf(0x36c)])!=null?_0x334907:''};try{const _0x2f2901=await this[_0x2946cf(0x1c2)][_0x2946cf(0x321)](_0x153b8c,{'body':_0x43f801});return _0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)]&&_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)][_0x2946cf(0x2b4)]!==_0x5eca67['OK']?_0x2946cf(0x1e3):_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x15b)];}catch{return _0x2946cf(0x1e3);}}},_0x427b6e[_0x3e20bb(0x1ba)]=_0x3aa02d([_0x26fd4b(0x0,_0x233149[_0x3e20bb(0x371)]),_0x26fd4b(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x26fd4b(0x2,_0x233149[_0x3e20bb(0x2cc)])],_0x427b6e['RemoteUniscriptService']);const _0x579af8=0x7530,_0x4beeda='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4a273a extends _0x233149['Disposable']{constructor(){const _0x450394=_0x3e20bb;super(),_0x18ecd9(this,_0x450394(0x1bf),_0x233149[_0x450394(0x13d)]()),_0x18ecd9(this,_0x450394(0x239),new Set()),_0x18ecd9(this,_0x450394(0x118),new Map()),_0x18ecd9(this,'_heartbeatTimer',null),_0x18ecd9(this,_0x450394(0x2f3),new Map()),_0x18ecd9(this,_0x450394(0x12a),new Map()),this['_init']();}[_0x3e20bb(0x17a)](){const _0x130343=_0x3e20bb;super[_0x130343(0x17a)](),this[_0x130343(0x2f3)][_0x130343(0x27f)]((_0x200450,_0x58df6d)=>this[_0x130343(0x26a)](_0x58df6d)),this[_0x130343(0x1c6)]&&window[_0x130343(0x257)](this['_heartbeatTimer']);}[_0x3e20bb(0x30b)](_0x52df7f){const _0x401a94=_0x3e20bb;return this[_0x401a94(0xef)](_0x52df7f)[_0x401a94(0x1ff)](_0x12fec3[_0x401a94(0x2f0)]());}[_0x3e20bb(0x34c)](_0x30237b){const _0x347dff=_0x3e20bb;this[_0x347dff(0x239)][_0x347dff(0x24a)]===0x0&&this[_0x347dff(0x1f3)](),this[_0x347dff(0x239)][_0x347dff(0x265)](_0x30237b),this[_0x347dff(0x2b0)]({'type':0x0,'memberID':this[_0x347dff(0x1bf)],'unitIDs':[_0x30237b],'isForwarded':!0x1});}[_0x3e20bb(0x275)](_0x1f510f){const _0x451d66=_0x3e20bb;this['_selfUnitIDs'][_0x451d66(0x2e4)](_0x1f510f),this['_selfUnitIDs'][_0x451d66(0x24a)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x451d66(0x1c6)]);}[_0x3e20bb(0x362)](){const _0x371d46=_0x3e20bb;this[_0x371d46(0x215)](_0x233149[_0x371d46(0x103)](_0x12fec3['fromEvent'](window,_0x371d46(0x123))[_0x371d46(0x1be)](_0x38ab8=>{const _0x2bec00=_0x371d46;if(_0x38ab8[_0x2bec00(0x217)]!==_0x4beeda||!_0x38ab8[_0x2bec00(0x30e)])return;const _0x424c89=JSON['parse'](_0x38ab8[_0x2bec00(0x30e)]);this[_0x2bec00(0x31c)](_0x424c89);}))),window['addEventListener'](_0x371d46(0x1b8),()=>this['_send']({'type':0x1,'memberID':this[_0x371d46(0x1bf)],'unitIDs':Array[_0x371d46(0x26e)](this[_0x371d46(0x239)])}));}[_0x3e20bb(0x31c)](_0x14c512){const _0x332e89=_0x3e20bb;switch(_0x14c512[_0x332e89(0x353)]){case 0x0:this['_handleJoinEvent'](_0x14c512);break;case 0x1:this[_0x332e89(0x21a)](_0x14c512);break;case 0x2:this[_0x332e89(0x2c3)](_0x14c512);break;}}['_handleJoinEvent'](_0x4288b7){const _0x1c2e7f=_0x3e20bb,{unitIDs:_0x396d5a,memberID:_0x34a044,isForwarded:_0x201c64}=_0x4288b7;_0x396d5a[_0x1c2e7f(0x27f)](_0x3430d2=>{const _0xead7d9=_0x1c2e7f;if(!_0x201c64&&this[_0xead7d9(0x118)][_0xead7d9(0x1b0)](_0x3430d2)&&this[_0xead7d9(0xef)](_0x3430d2)['next'](_0x14cc37[_0xead7d9(0x1cf)][_0xead7d9(0x27a)]),!this['_unitOnClients']['has'](_0x3430d2)||!this[_0xead7d9(0x118)][_0xead7d9(0x1d7)](_0x3430d2)[_0xead7d9(0x1b0)](_0x34a044)){const _0x273f56=this[_0xead7d9(0x118)]['get'](_0x3430d2)||new Set();_0x273f56[_0xead7d9(0x265)](_0x34a044),this[_0xead7d9(0x118)][_0xead7d9(0x256)](_0x3430d2,_0x273f56),this[_0xead7d9(0x282)](_0x34a044);}}),_0x201c64||this['_send']({'type':0x0,'memberID':this[_0x1c2e7f(0x1bf)],'unitIDs':[...this[_0x1c2e7f(0x239)]],'isForwarded':!0x0});}[_0x3e20bb(0x282)](_0x2f23d0){const _0x557c9e=_0x3e20bb;this[_0x557c9e(0x26a)](_0x2f23d0);const _0x3f7344=window[_0x557c9e(0x117)](()=>{const _0x268c1e=_0x557c9e;this[_0x268c1e(0x118)]['forEach'](_0x14e8ac=>{const _0x56e221=_0x268c1e;_0x14e8ac[_0x56e221(0x2e4)](_0x2f23d0);});},_0x579af8*0x2);this['_clearOtherTimers'][_0x557c9e(0x256)](_0x2f23d0,_0x3f7344);}[_0x3e20bb(0x26a)](_0x2a2a9d){const _0x352551=_0x3e20bb;if(this['_clearOtherTimers'][_0x352551(0x1b0)](_0x2a2a9d)){const _0x40f57e=this[_0x352551(0x2f3)][_0x352551(0x1d7)](_0x2a2a9d);_0x40f57e&&window[_0x352551(0x384)](_0x40f57e),this[_0x352551(0x2f3)][_0x352551(0x256)](_0x2a2a9d,null);}}['_handleLeaveEvent'](_0x1ec692){const _0x312eb4=_0x3e20bb,{memberID:_0x355eb8,unitIDs:_0x4933f4}=_0x1ec692;_0x4933f4[_0x312eb4(0x27f)](_0x414183=>{const _0x33f334=_0x312eb4;var _0x4928d2;const _0xea251b=this[_0x33f334(0x118)]['get'](_0x414183);_0xea251b&&(_0xea251b[_0x33f334(0x2e4)](_0x355eb8),(_0x4928d2=this['_ensureSubject'](_0x414183))==null||_0x4928d2[_0x33f334(0x148)](_0xea251b['size']===0x0?_0x14cc37[_0x33f334(0x1cf)][_0x33f334(0x20e)]:_0x14cc37['UnitStatus'][_0x33f334(0x27a)]));}),this[_0x312eb4(0x26a)](_0x355eb8);}[_0x3e20bb(0x2c3)](_0xff7049){const _0x2ea13f=_0x3e20bb;this[_0x2ea13f(0x282)](_0xff7049['memberID']);}[_0x3e20bb(0x2b0)](_0x5452d1){const _0x232fe3=_0x3e20bb;localStorage[_0x232fe3(0x121)](_0x4beeda,JSON[_0x232fe3(0x2f2)](_0x5452d1));}[_0x3e20bb(0x1f3)](){const _0x12159f=_0x3e20bb;this[_0x12159f(0x1c6)]=window[_0x12159f(0x216)](()=>{const _0x3436ae=_0x12159f;this[_0x3436ae(0x2b0)]({'type':0x2,'memberID':this['_id']});},_0x579af8);}[_0x3e20bb(0xef)](_0x3f026a){const _0x2f6903=_0x3e20bb;return this[_0x2f6903(0x12a)][_0x2f6903(0x1b0)](_0x3f026a)||this[_0x2f6903(0x12a)][_0x2f6903(0x256)](_0x3f026a,new _0x12fec3[(_0x2f6903(0x33e))](_0x14cc37[_0x2f6903(0x1cf)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x2f6903(0x1d7)](_0x3f026a);}}_0x427b6e[_0x3e20bb(0x30c)]=_0x172ebe,_0x427b6e['SheetCollabCursorShape']=_0x3b379f,_0x427b6e['WebBrowserSingleActiveUnitService']=_0x4a273a,_0x427b6e['WebURLService']=_0x135873,Object[_0x3e20bb(0x24f)](_0x427b6e,Symbol[_0x3e20bb(0x289)],{'value':_0x3e20bb(0x195)});}));
|