@univerjs-pro/collaboration-client-ui 1.2.0 → 1.3.0
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration-client-ui.controller.d.ts +13 -8
- package/lib/types/locale/en-US.d.ts +6 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x50cf(_0x4911d2,_0xe7403d){_0x4911d2=_0x4911d2-0xdb;const _0x354891=_0x3548();let _0x50cf07=_0x354891[_0x4911d2];return _0x50cf07;}(function(_0x282185,_0x149f68){const _0x51dbcd=_0x50cf,_0x439c4e=_0x282185();while(!![]){try{const _0x27140a=parseInt(_0x51dbcd(0x1f3))/0x1+-parseInt(_0x51dbcd(0x200))/0x2*(parseInt(_0x51dbcd(0x170))/0x3)+-parseInt(_0x51dbcd(0x260))/0x4+-parseInt(_0x51dbcd(0x392))/0x5+-parseInt(_0x51dbcd(0x14f))/0x6*(-parseInt(_0x51dbcd(0x3da))/0x7)+-parseInt(_0x51dbcd(0x14a))/0x8*(-parseInt(_0x51dbcd(0x2d7))/0x9)+-parseInt(_0x51dbcd(0x3bb))/0xa*(parseInt(_0x51dbcd(0x3c9))/0xb);if(_0x27140a===_0x149f68)break;else _0x439c4e['push'](_0x439c4e['shift']());}catch(_0x7ecc74){_0x439c4e['push'](_0x439c4e['shift']());}}}(_0x3548,0x32f09),function(_0x34a784,_0x1ac91f){const _0x3586e0=_0x50cf;typeof exports=='object'&&typeof module<'u'?_0x1ac91f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x3586e0(0x427)&&define['amd']?define([_0x3586e0(0x2f2),_0x3586e0(0x1e3),_0x3586e0(0x42b),_0x3586e0(0x26a),_0x3586e0(0x232),_0x3586e0(0x3e9),_0x3586e0(0x135),_0x3586e0(0x419),_0x3586e0(0x177),_0x3586e0(0xe1),_0x3586e0(0x1ff),_0x3586e0(0x19e),_0x3586e0(0x3e0),_0x3586e0(0x107),_0x3586e0(0x2ad),_0x3586e0(0x1b5),_0x3586e0(0x439),_0x3586e0(0x2d8),_0x3586e0(0x1ab)],_0x1ac91f):(_0x34a784=typeof globalThis<'u'?globalThis:_0x34a784||self,_0x1ac91f(_0x34a784[_0x3586e0(0x41e)]={},_0x34a784[_0x3586e0(0x361)],_0x34a784[_0x3586e0(0x3e4)],_0x34a784[_0x3586e0(0x176)],_0x34a784[_0x3586e0(0x232)],_0x34a784[_0x3586e0(0x232)][_0x3586e0(0x204)],_0x34a784[_0x3586e0(0x43e)],_0x34a784[_0x3586e0(0x1b6)],_0x34a784[_0x3586e0(0x1b6)],_0x34a784['UniverProCollaboration'],_0x34a784['UniverProLicense'],_0x34a784[_0x3586e0(0x2fc)],_0x34a784['UniverDocsUi'],_0x34a784[_0x3586e0(0x113)],_0x34a784['UniverNetwork'],_0x34a784[_0x3586e0(0x2c8)],_0x34a784[_0x3586e0(0x16c)],_0x34a784[_0x3586e0(0x13f)],_0x34a784[_0x3586e0(0x341)]));}(this,function(_0x109245,_0x1251ce,_0x4b216b,_0x3435d1,_0x5b1cc1,_0x50727f,_0x1b63e3,_0x240e71,_0x38639a,_0x42298e,_0x3adb52,_0xc4f75f,_0x826638,_0x3f3c56,_0x55eb2f,_0x59ce1c,_0x57fe53,_0x4c2276,_0x542348){const _0x1e774e=_0x50cf;Object[_0x1e774e(0x14e)](_0x109245,Symbol[_0x1e774e(0x349)],{'value':_0x1e774e(0x365)});function _0x4bc126({ref:_0x1794a8,..._0x416a74}){const _0x535a76=_0x1e774e;let {preserveStrokeWidth:_0x3f6221,icon:_0x44b5c4,id:_0x583854,className:_0x53f3cf,extend:_0x4ab5ae,..._0x220d94}=_0x416a74,_0xcbcee8=(_0x535a76(0x2c6)+_0x583854+'\x20'+(_0x53f3cf||''))['trim'](),_0x514673='_'+(0x0,_0x240e71[_0x535a76(0x39f)])(),_0x391f7b=(0x0,_0x240e71['useRef'])(null);return(0x0,_0x240e71[_0x535a76(0x2ee)])(_0x1794a8,()=>_0x391f7b[_0x535a76(0x2c1)]),(0x0,_0x240e71[_0x535a76(0xf1)])(()=>{const _0x2a964d=_0x535a76;if(_0x3f6221&&_0x391f7b[_0x2a964d(0x2c1)]&&_0x391f7b[_0x2a964d(0x2c1)][_0x2a964d(0x409)]===_0x44b5c4['tag'])return _0x1d52e0(_0x391f7b[_0x2a964d(0x2c1)]);},[_0x3f6221,_0x44b5c4]),_0x4c58eb(_0x44b5c4,''+_0x583854,{'defIds':_0x44b5c4['defIds'],'idSuffix':_0x514673},{'ref':_0x391f7b,'className':_0xcbcee8,..._0x220d94},_0x4ab5ae);}function _0x4c58eb(_0x2cb658,_0x1a8680,_0x16a66d,_0x2619d8,_0x538024){const _0x2e725d=_0x1e774e;return(0x0,_0x240e71[_0x2e725d(0x3f1)])(_0x2cb658[_0x2e725d(0x2dc)],{'key':_0x1a8680,..._0x21d890(_0x2cb658,_0x16a66d,_0x538024),..._0x2619d8},(_0x220c39(_0x2cb658,_0x16a66d)[_0x2e725d(0x30a)]||[])[_0x2e725d(0x2b5)]((_0x2dbd0e,_0x2c52d7)=>_0x4c58eb(_0x2dbd0e,_0x1a8680+'-'+_0x2cb658[_0x2e725d(0x2dc)]+'-'+_0x2c52d7,_0x16a66d,void 0x0,_0x538024)));}function _0x21d890(_0x476f4d,_0x5dbddc,_0x9b5af7){const _0x21e646=_0x1e774e;let _0x473492={..._0x476f4d[_0x21e646(0x38e)]};_0x9b5af7!=null&&_0x9b5af7[_0x21e646(0x360)]&&_0x473492[_0x21e646(0x190)]===_0x21e646(0x360)&&(_0x473492['fill']=_0x9b5af7['colorChannel1']),_0x9b5af7!=null&&_0x9b5af7['colorChannel1']&&_0x473492[_0x21e646(0x17b)]==='colorChannel1'&&(_0x473492[_0x21e646(0x17b)]=_0x9b5af7[_0x21e646(0x360)]),_0x476f4d['tag']===_0x21e646(0x173)&&_0x473492['id']&&(_0x473492['id']+=_0x5dbddc['idSuffix']),Object[_0x21e646(0x117)](_0x473492)[_0x21e646(0x1f1)](([_0x4df2b9,_0x2dcbdc])=>{const _0x15c4fc=_0x21e646;_0x4df2b9===_0x15c4fc(0x173)&&typeof _0x2dcbdc=='string'&&(_0x473492[_0x4df2b9]=_0x2dcbdc[_0x15c4fc(0x2f8)](/url\(#(.*)\)/,_0x15c4fc(0x2c4)+_0x5dbddc['idSuffix']+')'));});let {defIds:_0x404432}=_0x5dbddc;return!_0x404432||_0x404432[_0x21e646(0x31e)]===0x0||(_0x476f4d['tag']===_0x21e646(0x1cc)&&_0x473492[_0x21e646(0x3d2)]&&(_0x473492['xlink:href']+=_0x5dbddc['idSuffix']),Object[_0x21e646(0x117)](_0x473492)[_0x21e646(0x1f1)](([_0x207628,_0x5625d3])=>{const _0x56c2ae=_0x21e646;typeof _0x5625d3==_0x56c2ae(0x2f3)&&(_0x473492[_0x207628]=_0x5625d3[_0x56c2ae(0x2f8)](/url\(#(.*)\)/,_0x56c2ae(0x2c4)+_0x5dbddc[_0x56c2ae(0x106)]+')'));})),_0x473492;}function _0x220c39(_0xb363b2,_0x1163bf){const _0x4f15aa=_0x1e774e;var _0x400265;let {defIds:_0x244410}=_0x1163bf;return!_0x244410||_0x244410[_0x4f15aa(0x31e)]===0x0?_0xb363b2:_0xb363b2['tag']===_0x4f15aa(0x314)&&(_0x400265=_0xb363b2['children'])!=null&&_0x400265[_0x4f15aa(0x31e)]?{..._0xb363b2,'children':_0xb363b2[_0x4f15aa(0x30a)][_0x4f15aa(0x2b5)](_0x1879c5=>typeof _0x1879c5[_0x4f15aa(0x38e)]['id']==_0x4f15aa(0x2f3)&&_0x244410&&_0x244410[_0x4f15aa(0x1e1)](_0x1879c5['attrs']['id'])?{..._0x1879c5,'attrs':{..._0x1879c5[_0x4f15aa(0x38e)],'id':_0x1879c5[_0x4f15aa(0x38e)]['id']+_0x1163bf[_0x4f15aa(0x106)]}}:_0x1879c5)}:_0xb363b2;}function _0x1d52e0(_0x5388de){const _0xe6361f=_0x1e774e;let _0x50c139=_0x5388de[_0xe6361f(0x2b4)][_0xe6361f(0x220)],_0x316fe8=Math[_0xe6361f(0x37d)](_0x50c139['width'],_0x50c139['height']);if(!Number['isFinite'](_0x316fe8)||_0x316fe8<=0x0||_0x50c139[_0xe6361f(0x2a1)]<=0x0||_0x50c139[_0xe6361f(0x40d)]<=0x0)return()=>void 0x0;let _0x4df1df=0x10/_0x316fe8,_0x4a2576=Array['from'](_0x5388de[_0xe6361f(0x2ce)](_0xe6361f(0x1cf)))[_0xe6361f(0xef)](_0x19e222=>{const _0x336cf2=_0xe6361f;let _0x16e3db=getComputedStyle(_0x19e222),_0x4b2a64=Number[_0x336cf2(0x39e)](_0x16e3db['strokeWidth']);return _0x16e3db[_0x336cf2(0x17b)]===_0x336cf2(0x1aa)||Number[_0x336cf2(0x39e)](_0x16e3db[_0x336cf2(0x16d)])===0x0||_0x16e3db['vectorEffect']===_0x336cf2(0x2ea)||!Number[_0x336cf2(0x333)](_0x4b2a64)||_0x4b2a64<=0x0?[]:[{'element':_0x19e222,'hadStyleAttribute':_0x19e222[_0x336cf2(0x3ed)](_0x336cf2(0x157)),'originalStrokeWidth':_0x4b2a64,'strokeWidth':_0x50e14d(_0x19e222['style'],_0x336cf2(0x42e))}];})[_0xe6361f(0x2b5)](_0x20a216=>({'appliedStrokeWidth':null,'element':_0x20a216[_0xe6361f(0x440)],'hadStyleAttribute':_0x20a216['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x20a216[_0xe6361f(0x31b)],'strokeWidth':_0x20a216[_0xe6361f(0x19b)]}));if(_0x4a2576['length']===0x0)return()=>void 0x0;let _0x337b2f=(_0x3cc98a,_0x41e245)=>{const _0x347df9=_0xe6361f;if(_0x50c139[_0x347df9(0x2a1)]<=0x0||_0x50c139['height']<=0x0||_0x3cc98a<=0x0||_0x41e245<=0x0)return;let _0x4c2709=Math[_0x347df9(0x115)](_0x3cc98a/_0x50c139[_0x347df9(0x2a1)],_0x41e245/_0x50c139['height']);!Number[_0x347df9(0x333)](_0x4c2709)||_0x4c2709<=0x0||_0x4a2576['forEach'](_0x24b13f=>{const _0xb6f02e=_0x347df9;if(_0x24b13f[_0xb6f02e(0x256)])return;if(_0x24b13f['appliedStrokeWidth']!==null&&(_0x24b13f[_0xb6f02e(0x440)][_0xb6f02e(0x157)][_0xb6f02e(0x342)](_0xb6f02e(0x42e))!==_0x24b13f[_0xb6f02e(0x2eb)]||_0x24b13f[_0xb6f02e(0x440)]['style'][_0xb6f02e(0x286)](_0xb6f02e(0x42e))!==_0x24b13f[_0xb6f02e(0x19b)][_0xb6f02e(0x24d)])){_0x24b13f[_0xb6f02e(0x2eb)]=null,_0x24b13f[_0xb6f02e(0x256)]=!0x0;return;}let _0x1e143f=_0x24b13f[_0xb6f02e(0x31b)]*_0x4df1df/_0x4c2709,_0x55b862=Number(_0x1e143f[_0xb6f02e(0xf8)](0xc))+'px';_0x24b13f[_0xb6f02e(0x440)][_0xb6f02e(0x157)][_0xb6f02e(0x22b)](_0xb6f02e(0x42e),_0x55b862,_0x24b13f['strokeWidth'][_0xb6f02e(0x24d)]),_0x24b13f[_0xb6f02e(0x2eb)]=_0x55b862;});},_0x3c86ab=_0x5388de[_0xe6361f(0x296)]();_0x337b2f(_0x3c86ab['width'],_0x3c86ab[_0xe6361f(0x40d)]);let _0x2bfa9c=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x52970e=>{const _0x11aa98=_0xe6361f;if(_0x52970e[_0x11aa98(0xf4)](_0x2c18c1=>_0x2c18c1[_0x11aa98(0x275)]===_0x5388de)){let _0x1c7a99=_0x5388de[_0x11aa98(0x296)]();_0x337b2f(_0x1c7a99[_0x11aa98(0x2a1)],_0x1c7a99[_0x11aa98(0x40d)]);}});return _0x2bfa9c==null||_0x2bfa9c[_0xe6361f(0x169)](_0x5388de),()=>{_0x2bfa9c==null||_0x2bfa9c['disconnect'](),_0x4a2576['forEach'](_0xdef746=>{const _0x5454d6=_0x50cf;_0xdef746[_0x5454d6(0x2eb)]!==null&&(_0xa4e7e4(_0xdef746[_0x5454d6(0x440)]['style'],_0x5454d6(0x42e),_0xdef746[_0x5454d6(0x2eb)],_0xdef746['strokeWidth'][_0x5454d6(0x24d)],_0xdef746[_0x5454d6(0x19b)]),!_0xdef746[_0x5454d6(0x2e6)]&&_0xdef746['element']['style']['length']===0x0&&_0xdef746['element'][_0x5454d6(0x154)](_0x5454d6(0x157)));});};}function _0x50e14d(_0x1e9ed9,_0x23cfa2){const _0x1f18a3=_0x1e774e;return{'priority':_0x1e9ed9[_0x1f18a3(0x286)](_0x23cfa2),'value':_0x1e9ed9[_0x1f18a3(0x342)](_0x23cfa2)};}function _0xa4e7e4(_0x465fd2,_0x3d80ee,_0x5cd502,_0x1749f7,_0x307b6c){const _0xfe7d46=_0x1e774e;_0x465fd2[_0xfe7d46(0x342)](_0x3d80ee)===_0x5cd502&&_0x465fd2[_0xfe7d46(0x286)](_0x3d80ee)===_0x1749f7&&(_0x307b6c[_0xfe7d46(0x1a7)]?_0x465fd2[_0xfe7d46(0x22b)](_0x3d80ee,_0x307b6c['value'],_0x307b6c[_0xfe7d46(0x24d)]):_0x465fd2[_0xfe7d46(0x3a9)](_0x3d80ee));}_0x4bc126[_0x1e774e(0x293)]=_0x1e774e(0x2de);let _0x2c8551={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1e774e(0x1aa),'viewBox':_0x1e774e(0x271),'width':'1em','height':_0x1e774e(0x105)},'children':[{'tag':'g','attrs':{'clipPath':_0x1e774e(0xe4)},'children':[{'tag':_0x1e774e(0x2b0),'attrs':{'stroke':_0x1e774e(0x400),'d':_0x1e774e(0x1ae),'strokeLinecap':'round','strokeLinejoin':_0x1e774e(0x32c),'strokeWidth':1.2}}]},{'tag':_0x1e774e(0x314),'attrs':{},'children':[{'tag':_0x1e774e(0x15b),'attrs':{'id':_0x1e774e(0x336)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1e774e(0x13a)}}]}]}],'defIds':[_0x1e774e(0x336)]},_0x33bcf4=(0x0,_0x240e71['forwardRef'])(function(_0x229707,_0x53ce22){const _0x18cb86=_0x1e774e;return(0x0,_0x240e71['createElement'])(_0x4bc126,Object[_0x18cb86(0x284)]({},_0x229707,{'id':_0x18cb86(0x3b0),'ref':_0x53ce22,'icon':_0x2c8551}));});_0x33bcf4['displayName']=_0x1e774e(0x3df);let _0x3b6318={'tag':_0x1e774e(0x149),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1e774e(0x1aa),'viewBox':_0x1e774e(0x435),'width':_0x1e774e(0x105),'height':_0x1e774e(0x105)},'children':[{'tag':'g','attrs':{'clipPath':_0x1e774e(0x38f)},'children':[{'tag':'path','attrs':{'stroke':_0x1e774e(0x400),'d':_0x1e774e(0x1d1),'strokeLinecap':'round','strokeLinejoin':_0x1e774e(0x32c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1e774e(0x2f1)},'children':[{'tag':_0x1e774e(0x2b0),'attrs':{'fill':'white','d':_0x1e774e(0x13a),'transform':_0x1e774e(0x27d)}}]}]}],'defIds':[_0x1e774e(0x2f1)]},_0xd1e22b=(0x0,_0x240e71[_0x1e774e(0x3c0)])(function(_0x4cd9ba,_0x4e27c2){const _0x2e186e=_0x1e774e;return(0x0,_0x240e71[_0x2e186e(0x3f1)])(_0x4bc126,Object[_0x2e186e(0x284)]({},_0x4cd9ba,{'id':_0x2e186e(0x224),'ref':_0x4e27c2,'icon':_0x3b6318}));});_0xd1e22b['displayName']='OnLineIcon';let _0x4c08f6={'tag':_0x1e774e(0x149),'attrs':{'xmlns':_0x1e774e(0x3cf),'fill':_0x1e774e(0x1aa),'viewBox':_0x1e774e(0x271),'width':_0x1e774e(0x105),'height':'1em'},'children':[{'tag':_0x1e774e(0x2b0),'attrs':{'fill':_0x1e774e(0x400),'d':_0x1e774e(0x3e7),'fillRule':_0x1e774e(0x184),'clipRule':'evenodd'}}]},_0x3eeff5=(0x0,_0x240e71['forwardRef'])(function(_0x317d67,_0x5880c5){const _0x5d81bb=_0x1e774e;return(0x0,_0x240e71[_0x5d81bb(0x3f1)])(_0x4bc126,Object[_0x5d81bb(0x284)]({},_0x317d67,{'id':_0x5d81bb(0x343),'ref':_0x5880c5,'icon':_0x4c08f6}));});_0x3eeff5[_0x1e774e(0x293)]=_0x1e774e(0x1bb);let _0x18a42e={'tag':_0x1e774e(0x149),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1e774e(0x1aa),'viewBox':_0x1e774e(0x271),'width':_0x1e774e(0x105),'height':_0x1e774e(0x105)},'children':[{'tag':_0x1e774e(0x2b0),'attrs':{'fill':_0x1e774e(0x1ce),'d':_0x1e774e(0x168),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1e774e(0x184)}},{'tag':_0x1e774e(0x2b0),'attrs':{'fill':_0x1e774e(0x1ce),'d':_0x1e774e(0x33a),'fillRule':_0x1e774e(0x184),'clipRule':'evenodd'}}]},_0x5e449a=(0x0,_0x240e71[_0x1e774e(0x3c0)])(function(_0x4b0ec6,_0x231762){const _0x4c23a7=_0x1e774e;return(0x0,_0x240e71[_0x4c23a7(0x3f1)])(_0x4bc126,Object['assign']({},_0x4b0ec6,{'id':'loading-multi-icon','ref':_0x231762,'icon':_0x18a42e}));});_0x5e449a[_0x1e774e(0x293)]=_0x1e774e(0x12b);function _0x8404d5(_0x3bd11c){const _0x4089b3=_0x1e774e;switch(_0x3bd11c){case _0x1251ce['CollaborationStatus']['OFFLINE']:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0x33bcf4,{}),'colorClass':_0x4089b3(0x31d),'i18nKey':_0x4089b3(0x191),'tooltipKey':_0x4089b3(0x3cb),'clickable':!0x0,'indicator':_0x4089b3(0x2d0)};case _0x1251ce['CollaborationStatus']['CONFLICT']:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0x33bcf4,{}),'colorClass':'univer-text-orange-500','i18nKey':_0x4089b3(0x299),'clickable':!0x1,'indicator':_0x4089b3(0x2d0)};case _0x1251ce[_0x4089b3(0x24a)][_0x4089b3(0x3ad)]:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0x5e449a,{}),'colorClass':_0x4089b3(0x372),'i18nKey':_0x4089b3(0x18d),'clickable':!0x1,'indicator':_0x4089b3(0x28a)};case _0x1251ce['CollaborationStatus']['NOT_COLLAB']:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0xd1e22b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x4089b3(0x138),'clickable':!0x1,'indicator':_0x4089b3(0x2d0)};case _0x1251ce['CollaborationStatus'][_0x4089b3(0x332)]:case _0x1251ce[_0x4089b3(0x24a)][_0x4089b3(0x29c)]:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0x5e449a,{}),'colorClass':_0x4089b3(0x372),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0x1251ce[_0x4089b3(0x24a)]['PENDING']:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0x5e449a,{}),'colorClass':_0x4089b3(0x372),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0x1251ce[_0x4089b3(0x24a)][_0x4089b3(0x22a)]:return{'icon':(0x0,_0x38639a[_0x4089b3(0x223)])(_0xd1e22b,{}),'colorClass':_0x4089b3(0x226),'i18nKey':_0x4089b3(0x42f),'clickable':!0x1,'indicator':_0x4089b3(0x2d0)};}}function _0x2fec36(_0x30509b){const _0x8ade8b=_0x1e774e;let {status$:_0x7ae112}=_0x30509b,_0x30f76d=(0x0,_0x3435d1[_0x8ade8b(0x10c)])(_0x7ae112,_0x1251ce[_0x8ade8b(0x24a)][_0x8ade8b(0x34b)]),_0x176c7d=(0x0,_0x3435d1[_0x8ade8b(0x416)])(_0x4b216b[_0x8ade8b(0x390)]),_0x47c19d=(0x0,_0x3435d1[_0x8ade8b(0x416)])(_0x1251ce[_0x8ade8b(0x3b8)]),_0x5e76ec=(0x0,_0x240e71[_0x8ade8b(0x41f)])(()=>_0x8404d5(_0x30f76d),[_0x30f76d]),_0x5bf131=_0x30f76d!==_0x1251ce[_0x8ade8b(0x24a)]['OFFLINE'],_0x328881=_0x176c7d['t'](_0x5e76ec[_0x8ade8b(0x42c)]),_0x103637=_0x5e76ec[_0x8ade8b(0xea)]?_0x176c7d['t'](_0x5e76ec[_0x8ade8b(0xea)]):_0x328881,_0x4d815c=(0x0,_0x240e71[_0x8ade8b(0x3b9)])(()=>{const _0x573d36=_0x8ade8b;_0x5bf131||_0x47c19d[_0x573d36(0x3d8)]();},[_0x5bf131,_0x47c19d]),_0x3036a6=(0x0,_0x240e71[_0x8ade8b(0x3b9)])(_0x183d27=>{const _0x4f53cd=_0x8ade8b;!_0x5bf131&&(_0x183d27[_0x4f53cd(0x43c)]==='Enter'||_0x183d27['key']==='\x20')&&(_0x183d27[_0x4f53cd(0x292)](),_0x47c19d['reconnect']());},[_0x5bf131,_0x47c19d]),_0x2b8378=(0x0,_0x38639a['jsx'])(_0x8ade8b(0x30d),{'className':(0x0,_0x1b63e3['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x5e76ec['colorClass'],{'univer-animate-spin':_0x5e76ec[_0x8ade8b(0xe3)]===_0x8ade8b(0x28a),'univer-animate-pulse':_0x5e76ec[_0x8ade8b(0xe3)]===_0x8ade8b(0x206)}),'aria-hidden':_0x8ade8b(0x1ba),'children':_0x5e76ec[_0x8ade8b(0x1e8)]}),_0x656a17=(0x0,_0x38639a[_0x8ade8b(0x223)])(_0x8ade8b(0x30d),{'className':(0x0,_0x1b63e3['clsx'])(_0x8ade8b(0x3a0),_0x8ade8b(0x26f),_0x8ade8b(0x249),_0x8ade8b(0x318),_0x8ade8b(0x193),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x5e76ec[_0x8ade8b(0x2ec)],'univer-cursor-default':!_0x5e76ec[_0x8ade8b(0x2ec)]}),'children':_0x2b8378});return _0x5e76ec[_0x8ade8b(0x2ec)]?(0x0,_0x38639a['jsx'])(_0x1b63e3[_0x8ade8b(0x2a9)],{'title':_0x103637,'placement':'bottom','children':(0x0,_0x38639a['jsx'])('button',{'type':_0x8ade8b(0x148),'onClick':_0x4d815c,'onKeyDown':_0x3036a6,'className':(0x0,_0x1b63e3['clsx'])(_0x8ade8b(0x276),_0x8ade8b(0x21f),'univer-m-0\x20univer-p-0',_0x8ade8b(0x180)),'aria-label':_0x328881+_0x8ade8b(0x2af)+_0x103637,'role':'status','aria-live':'polite','aria-atomic':_0x8ade8b(0x1ba),'children':_0x656a17})}):(0x0,_0x38639a[_0x8ade8b(0x223)])(_0x1b63e3[_0x8ade8b(0x2a9)],{'title':_0x103637,'placement':_0x8ade8b(0x2d1),'children':(0x0,_0x38639a[_0x8ade8b(0x223)])(_0x8ade8b(0x19a),{'className':(0x0,_0x1b63e3[_0x8ade8b(0x219)])(_0x8ade8b(0x276),_0x8ade8b(0x21f),_0x8ade8b(0x384)),'aria-label':_0x328881,'role':_0x8ade8b(0x2e7),'aria-live':'polite','aria-atomic':_0x8ade8b(0x1ba),'children':_0x656a17})});}function _0x54add8(_0x5d9d0d){'@babel/helpers - typeof';const _0x49c5bb=_0x1e774e;return _0x54add8=typeof Symbol==_0x49c5bb(0x427)&&typeof Symbol[_0x49c5bb(0x1f8)]==_0x49c5bb(0x181)?function(_0x2320d0){return typeof _0x2320d0;}:function(_0x5c5387){const _0xaef31=_0x49c5bb;return _0x5c5387&&typeof Symbol==_0xaef31(0x427)&&_0x5c5387[_0xaef31(0x18e)]===Symbol&&_0x5c5387!==Symbol[_0xaef31(0x3cd)]?_0xaef31(0x181):typeof _0x5c5387;},_0x54add8(_0x5d9d0d);}function _0x1d2dc1(_0x1a5e77,_0x1bcbeb){const _0xd8b58c=_0x1e774e;if(_0x54add8(_0x1a5e77)!=_0xd8b58c(0x218)||!_0x1a5e77)return _0x1a5e77;var _0x461814=_0x1a5e77[Symbol[_0xd8b58c(0x35a)]];if(_0x461814!==void 0x0){var _0x40c599=_0x461814['call'](_0x1a5e77,_0x1bcbeb||_0xd8b58c(0x351));if(_0x54add8(_0x40c599)!=_0xd8b58c(0x218))return _0x40c599;throw TypeError(_0xd8b58c(0x3fa));}return(_0x1bcbeb===_0xd8b58c(0x2f3)?String:Number)(_0x1a5e77);}function _0x3b59dd(_0x317ea3){const _0x42e242=_0x1e774e;var _0x2f934a=_0x1d2dc1(_0x317ea3,'string');return _0x54add8(_0x2f934a)==_0x42e242(0x181)?_0x2f934a:_0x2f934a+'';}function _0x544f9f(_0x29050d,_0x53824c,_0x4ee66f){const _0x3ac6bb=_0x1e774e;return(_0x53824c=_0x3b59dd(_0x53824c))in _0x29050d?Object[_0x3ac6bb(0x14e)](_0x29050d,_0x53824c,{'value':_0x4ee66f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29050d[_0x53824c]=_0x4ee66f,_0x29050d;}function _0x4d56f5(_0x18fc68,_0x2b5192){return function(_0x418898,_0x29b65a){_0x2b5192(_0x418898,_0x29b65a,_0x18fc68);};}function _0x395511(_0x17e89a,_0x3335a4,_0x1db136,_0x2e1d15){const _0x3ec91f=_0x1e774e;var _0x3044e1=arguments['length'],_0x5f0b88=_0x3044e1<0x3?_0x3335a4:_0x2e1d15===null?_0x2e1d15=Object[_0x3ec91f(0x3b4)](_0x3335a4,_0x1db136):_0x2e1d15,_0x469d9a;if(typeof Reflect=='object'&&typeof Reflect[_0x3ec91f(0x3fd)]==_0x3ec91f(0x427))_0x5f0b88=Reflect['decorate'](_0x17e89a,_0x3335a4,_0x1db136,_0x2e1d15);else{for(var _0x34045d=_0x17e89a[_0x3ec91f(0x31e)]-0x1;_0x34045d>=0x0;_0x34045d--)(_0x469d9a=_0x17e89a[_0x34045d])&&(_0x5f0b88=(_0x3044e1<0x3?_0x469d9a(_0x5f0b88):_0x3044e1>0x3?_0x469d9a(_0x3335a4,_0x1db136,_0x5f0b88):_0x469d9a(_0x3335a4,_0x1db136))||_0x5f0b88);}return _0x3044e1>0x3&&_0x5f0b88&&Object[_0x3ec91f(0x14e)](_0x3335a4,_0x1db136,_0x5f0b88),_0x5f0b88;}let _0x673e97=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(_0x15bf14,_0x5cb2b3,_0x36022d,_0x370e52,_0x3e942d){const _0x395f1a=_0x1e774e;super(),this[_0x395f1a(0x1a6)]=_0x15bf14,this[_0x395f1a(0x15c)]=_0x5cb2b3,this[_0x395f1a(0x10f)]=_0x36022d,this[_0x395f1a(0x1f6)]=_0x370e52,this[_0x395f1a(0x28c)]=_0x3e942d,_0x544f9f(this,_0x395f1a(0x131),new _0x5b1cc1[(_0x395f1a(0x203))](_0x1251ce['CollaborationStatus'][_0x395f1a(0x34b)])),_0x544f9f(this,_0x395f1a(0x39b),new Map()),this[_0x395f1a(0x3d7)](),this['_initStatusListener'](),this['_initPresenceStatusComponents']();}[_0x1e774e(0x102)](){const _0x16058d=_0x1e774e;this[_0x16058d(0x39b)][_0x16058d(0x1f1)](_0x511080=>_0x511080['dispose']()),this['_presenceStatusRegistrations'][_0x16058d(0x348)](),this['_status$']['complete'](),super[_0x16058d(0x102)]();}[_0x1e774e(0x2a6)](){const _0x25dd2e=_0x1e774e;this['disposeWithMe']((0x0,_0x5b1cc1[_0x25dd2e(0x132)])(this[_0x25dd2e(0x1a6)]['focused$'],this['_univerInstanceService'][_0x25dd2e(0x17a)](_0x4b216b[_0x25dd2e(0x18c)][_0x25dd2e(0x124)]),this[_0x25dd2e(0x1a6)][_0x25dd2e(0x17a)](_0x4b216b[_0x25dd2e(0x18c)][_0x25dd2e(0x30e)]))['pipe']((0x0,_0x50727f['map'])(()=>_0x433e9f(this[_0x25dd2e(0x1a6)])),(0x0,_0x50727f[_0x25dd2e(0x3d9)])(),(0x0,_0x5b1cc1[_0x25dd2e(0x1c0)])(_0x4cfa8d=>_0x4cfa8d?this[_0x25dd2e(0x10f)]['getCollabEntity$'](_0x4cfa8d):(0x0,_0x5b1cc1['of'])(null)),(0x0,_0x5b1cc1[_0x25dd2e(0x1c0)])(_0x1f21ba=>_0x1f21ba?_0x1f21ba['status$']:(0x0,_0x5b1cc1['of'])(_0x1251ce[_0x25dd2e(0x24a)]['NOT_COLLAB'])))[_0x25dd2e(0x42d)](_0x122b22=>{const _0x5507c9=_0x25dd2e;this[_0x5507c9(0x131)][_0x5507c9(0x3a6)](_0x122b22);}));}[_0x1e774e(0x3d7)](){const _0x21e7fb=_0x1e774e;this[_0x21e7fb(0x109)](this[_0x21e7fb(0x1f6)][_0x21e7fb(0x3a4)](_0x3435d1[_0x21e7fb(0x2c9)]['HEADER_MENU'],()=>(0x0,_0x3435d1['connectInjector'])(_0x191726({'status$':this[_0x21e7fb(0x131)]['asObservable']()}),this[_0x21e7fb(0x15c)])));}['_initPresenceStatusComponents'](){const _0xfbb270=_0x1e774e;let _0x19d3c=this[_0xfbb270(0x28c)][_0xfbb270(0x1ac)][_0xfbb270(0x42d)](_0x33e96a=>{const _0x2b8ceb=_0xfbb270;this[_0x2b8ceb(0x182)](_0x33e96a);});this['disposeWithMe']((0x0,_0x4b216b[_0xfbb270(0x199)])(()=>_0x19d3c[_0xfbb270(0x29d)]()));}[_0x1e774e(0x182)](_0x372b05){const _0xf46cec=_0x1e774e;let _0x4becab=new Map(_0x372b05[_0xf46cec(0x3d3)](_0xd4fc55=>_0xd4fc55[_0xf46cec(0x21d)]!=null)[_0xf46cec(0x2b5)](_0x274488=>[_0x274488[_0xf46cec(0x41c)],_0x274488]));this['_presenceStatusRegistrations'][_0xf46cec(0x1f1)]((_0x3d127d,_0x51aadb)=>{const _0x272514=_0xf46cec;_0x4becab['has'](_0x51aadb)||(_0x3d127d[_0x272514(0x102)](),this[_0x272514(0x39b)][_0x272514(0x410)](_0x51aadb));}),_0x4becab[_0xf46cec(0x1f1)]((_0x52ec43,_0x410aea)=>{const _0x4de385=_0xf46cec;this[_0x4de385(0x39b)][_0x4de385(0x229)](_0x410aea)||this[_0x4de385(0x140)](_0x52ec43);});}['_registerPresenceStatusComponent'](_0x4152a9){const _0x43c3d7=_0x1e774e;let _0x578297=_0x4152a9[_0x43c3d7(0x21d)];if(!_0x578297)return;let _0x7b3a93=new _0x4b216b[(_0x43c3d7(0x425))](),_0x3f82dc=new _0x5b1cc1['BehaviorSubject'](_0x1251ce['CollaborationStatus']['NOT_COLLAB']);_0x7b3a93[_0x43c3d7(0x399)]((0x0,_0x4b216b[_0x43c3d7(0x199)])(()=>_0x3f82dc['complete']())),_0x7b3a93[_0x43c3d7(0x399)](this[_0x43c3d7(0x1f6)]['registerComponent'](_0x578297,()=>(0x0,_0x3435d1[_0x43c3d7(0x2aa)])(_0x191726({'status$':_0x3f82dc[_0x43c3d7(0x11c)]()}),this[_0x43c3d7(0x15c)])));let _0x2ded43=this[_0x43c3d7(0x1a6)][_0x43c3d7(0x17a)](_0x4152a9['unitType'])[_0x43c3d7(0x3fb)]((0x0,_0x50727f['map'])(_0x3f27ed=>(_0x3f27ed==null?void 0x0:_0x3f27ed['getUnitId']())??null),(0x0,_0x50727f[_0x43c3d7(0x3d9)])(),(0x0,_0x5b1cc1['switchMap'])(_0x3877fc=>_0x3877fc?this[_0x43c3d7(0x10f)]['getCollabEntity$'](_0x3877fc):(0x0,_0x5b1cc1['of'])(null)),(0x0,_0x5b1cc1['switchMap'])(_0x3ec6d0=>(_0x3ec6d0==null?void 0x0:_0x3ec6d0[_0x43c3d7(0x430)])??(0x0,_0x5b1cc1['of'])(_0x1251ce['CollaborationStatus'][_0x43c3d7(0x34b)])))['subscribe'](_0xe60334=>_0x3f82dc[_0x43c3d7(0x3a6)](_0xe60334));_0x7b3a93[_0x43c3d7(0x399)]((0x0,_0x4b216b['toDisposable'])(()=>_0x2ded43[_0x43c3d7(0x29d)]())),this[_0x43c3d7(0x39b)]['set'](_0x4152a9[_0x43c3d7(0x41c)],_0x7b3a93);}};_0x673e97=_0x395511([_0x4d56f5(0x0,_0x4b216b['IUniverInstanceService']),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce['CollaborationController'])),_0x4d56f5(0x3,_0x3435d1[_0x1e774e(0x13d)]),_0x4d56f5(0x4,(0x0,_0x4b216b['Inject'])(_0x3435d1[_0x1e774e(0x29a)]))],_0x673e97);function _0x433e9f(_0x26aadc){const _0x27b48c=_0x1e774e;let _0x41187c=_0x26aadc[_0x27b48c(0x1b9)](),_0x4c913d=_0x41187c==null?void 0x0:_0x41187c[_0x27b48c(0x1d2)]();if(_0x4c913d&&!(0x0,_0x4b216b[_0x27b48c(0xdf)])(_0x4c913d))return _0x4c913d;let _0x104ee5=_0x26aadc[_0x27b48c(0x2da)](_0x4b216b['UniverInstanceType'][_0x27b48c(0x124)]),_0x5e3b44=_0x104ee5==null?void 0x0:_0x104ee5['getUnitId']();if(_0x5e3b44&&!(0x0,_0x4b216b[_0x27b48c(0xdf)])(_0x5e3b44))return _0x5e3b44;let _0x48e971=_0x26aadc['getCurrentUnitOfType'](_0x4b216b['UniverInstanceType'][_0x27b48c(0x30e)]);if(_0x48e971)return _0x48e971[_0x27b48c(0x1d2)]();let _0x29b9e7=_0x26aadc[_0x27b48c(0x235)](_0x4b216b[_0x27b48c(0x18c)]['UNIVER_DOC'])[_0x27b48c(0x431)](_0x31429c=>!(0x0,_0x4b216b[_0x27b48c(0xdf)])(_0x31429c['getUnitId']()));return _0x29b9e7?_0x29b9e7[_0x27b48c(0x1d2)]():null;}function _0x191726(_0x52c298){let {status$:_0x4e3c2e}=_0x52c298;return function(){const _0x36ed2f=_0x50cf;return(0x0,_0x38639a[_0x36ed2f(0x223)])(_0x2fec36,{'status$':_0x4e3c2e});};}var _0x490b92=_0x1e774e(0x238),_0x4634bf=_0x1e774e(0x405);let _0x4b7a25={'id':'collaboration-client-ui.operation.update-remote-unit-presence','type':_0x4b216b[_0x1e774e(0x128)][_0x1e774e(0x29f)],'handler':(_0x44273e,_0x378b17)=>{const _0x13d8d7=_0x1e774e;let _0x32bffa=_0x44273e[_0x13d8d7(0x2d2)](_0x3435d1['IUnitPresenceUIAdapterRegistry'])['get'](_0x378b17['unitType']);if(!_0x32bffa)return!0x1;switch(_0x378b17[_0x13d8d7(0x1af)][_0x13d8d7(0x325)]){case _0x13d8d7(0x363):return _0x32bffa[_0x13d8d7(0x178)](_0x378b17['update'][_0x13d8d7(0x1bd)]),!0x0;case'remove':return _0x32bffa[_0x13d8d7(0x209)](_0x378b17[_0x13d8d7(0x1af)]['unitId'],_0x378b17[_0x13d8d7(0x1af)][_0x13d8d7(0x134)]),!0x0;case _0x13d8d7(0x348):return _0x32bffa[_0x13d8d7(0x208)](_0x378b17['update'][_0x13d8d7(0x40b)]),!0x0;default:return!0x1;}}},_0x203735={},_0x1f06d4=class extends _0x4b216b[_0x1e774e(0x1bc)]{constructor(_0x52f4de,_0x429140){const _0x14a58e=_0x1e774e;super(),this['_docClipboardService']=_0x52f4de,this[_0x14a58e(0x3ac)]=_0x429140,this[_0x14a58e(0x12a)]();}['_init'](){const _0x453d3f=_0x1e774e;let _0x1eb21c=this;this[_0x453d3f(0x109)](this[_0x453d3f(0x2fa)]['addClipboardHook']({'onBeforePasteImage':async _0xa58ec7=>{const _0x21c3c3=_0x453d3f;let _0x30424b=await _0x1eb21c[_0x21c3c3(0x3ac)]['saveImage'](_0xa58ec7);return _0x30424b?{'source':_0x30424b[_0x21c3c3(0x3a5)],'imageSourceType':_0x30424b[_0x21c3c3(0x282)]}:null;}}));}};_0x1f06d4=_0x395511([_0x4d56f5(0x0,_0x826638[_0x1e774e(0x258)]),_0x4d56f5(0x1,_0x4b216b[_0x1e774e(0x1d0)])],_0x1f06d4);let _0x536dd7=['purple.300','jiqing.500',_0x1e774e(0x1e5),_0x1e774e(0x2ca),'blue.400',_0x1e774e(0x352)];var _0x2937b1=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(..._0x2ade90){const _0x5abdbd=_0x1e774e;super(..._0x2ade90),_0x544f9f(this,_0x5abdbd(0x28e),new Map()),_0x544f9f(this,'_colorIndex',0x0);}[_0x1e774e(0x29b)](_0xbdd2bf){const _0x4a7076=_0x1e774e;if(this[_0x4a7076(0x28e)]['has'](_0xbdd2bf))return this[_0x4a7076(0x28e)][_0x4a7076(0x2d2)](_0xbdd2bf);let _0x25793a=_0x536dd7[this[_0x4a7076(0x2ff)]];return this[_0x4a7076(0x2ff)]=(this[_0x4a7076(0x2ff)]+0x1)%_0x536dd7[_0x4a7076(0x31e)],this['_assignedColors']['set'](_0xbdd2bf,_0x25793a),_0x25793a;}};function _0x39cebe(_0x36a856){const _0x384f53=_0x1e774e;let _0xcf9e74='';for(let _0x35536c of _0x36a856){let {startOffset:_0x523095,endOffset:_0x11c5b3,isActive:_0x56e493,rangeType:_0x15d7cf,segmentId:_0xfd447e,segmentPage:_0x43802d}=_0x35536c;_0xcf9e74[_0x384f53(0x31e)]&&(_0xcf9e74+=','),_0xcf9e74+=_0x523095+':'+_0x11c5b3+':'+(_0x56e493?'1':'0')+':'+_0x15d7cf+':'+_0xfd447e+':'+_0x43802d;}return _0xcf9e74;}function _0x25d09a(_0x2426d1){const _0x5746bc=_0x1e774e;let _0x16e02d=_0x2426d1[_0x5746bc(0x20a)](','),_0x4145a6=[];for(let _0x26c220 of _0x16e02d){let [_0xc2431,_0x480d9e,_0x498680,_0x3ec040,_0x2a3f37,_0x409f5c]=_0x26c220[_0x5746bc(0x20a)](':');_0x4145a6[_0x5746bc(0x137)]({'startOffset':Number(_0xc2431),'endOffset':Number(_0x480d9e),'collapsed':_0xc2431===_0x480d9e,'isActive':_0x498680==='1','rangeType':_0x3ec040===_0x4b216b['DOC_RANGE_TYPE'][_0x5746bc(0x3a3)]?_0x4b216b['DOC_RANGE_TYPE'][_0x5746bc(0x3a3)]:_0x4b216b[_0x5746bc(0x221)][_0x5746bc(0x183)],'segmentId':typeof _0x2a3f37==_0x5746bc(0x2f3)?String(_0x2a3f37):'','segmentPage':Number(_0x409f5c??-0x1)});}return _0x4145a6[_0x5746bc(0xf4)](_0x38dc41=>_0x38dc41[_0x5746bc(0x233)])||(_0x4145a6[0x0][_0x5746bc(0x233)]=!0x0),_0x4145a6;}var _0x3a2b46=class extends _0x4b216b[_0x1e774e(0x1bc)]{constructor(..._0x1b790e){const _0x595979=_0x1e774e;super(..._0x1b790e),_0x544f9f(this,'_collabCursorState$',new _0x5b1cc1[(_0x595979(0x203))](null)),_0x544f9f(this,'collabCursorState$',this[_0x595979(0x306)][_0x595979(0x11c)]());}[_0x1e774e(0x31a)](_0x156815){const _0x151646=_0x1e774e;let {unitID:_0x29e0b3,memberID:_0x3d6d3a,textRanges:_0x1caa9d}=_0x156815,_0x484fac=_0x39cebe(_0x1caa9d);if(_0x484fac==='')return;let _0x1deddb={'unitID':_0x29e0b3,'memberID':_0x3d6d3a,'selection':_0x484fac};this['_collabCursorState$'][_0x151646(0x3a6)](_0x1deddb);}};let _0x27b722=class extends _0x4b216b[_0x1e774e(0x1bc)]{get[_0x1e774e(0x20c)](){const _0xc8a119=_0x1e774e;return this['_cursorInfo$'][_0xc8a119(0x251)]();}get['roomMembers'](){const _0x123670=_0x1e774e;return this['_roomMembers$'][_0x123670(0x251)]();}constructor(_0x53a032,_0xbfa737,_0x2216c4,_0xef36ec,_0x4f1d96,_0x1f8148,_0x45ea1e,_0x2a3597,_0xe9a7e){const _0x5cd1d9=_0x1e774e;super(),this[_0x5cd1d9(0x337)]=_0x53a032,this[_0x5cd1d9(0x32a)]=_0xbfa737,this[_0x5cd1d9(0x15c)]=_0x2216c4,this['_colorAssignService']=_0xef36ec,this['_memberService']=_0x4f1d96,this[_0x5cd1d9(0x185)]=_0x1f8148,this['_transformService']=_0x45ea1e,this[_0x5cd1d9(0x1a6)]=_0x2a3597,this[_0x5cd1d9(0x339)]=_0xe9a7e,_0x544f9f(this,_0x5cd1d9(0x123),!0x1),_0x544f9f(this,_0x5cd1d9(0x12a),!0x1),_0x544f9f(this,_0x5cd1d9(0x175),new _0x5b1cc1[(_0x5cd1d9(0x203))](new Map())),_0x544f9f(this,_0x5cd1d9(0x1f0),this[_0x5cd1d9(0x175)][_0x5cd1d9(0x11c)]()),_0x544f9f(this,'_roomMembers$',new _0x5b1cc1[(_0x5cd1d9(0x203))]([])),_0x544f9f(this,_0x5cd1d9(0x393),this[_0x5cd1d9(0x374)][_0x5cd1d9(0x3fb)]((0x0,_0x5b1cc1[_0x5cd1d9(0x434)])(0x12c))),_0x544f9f(this,_0x5cd1d9(0x2b9),(0x0,_0x4b216b[_0x5cd1d9(0x214)])(_0x6f9c90=>{const _0xd0c8da=_0x5cd1d9;let _0x9b757e={'eventID':_0x42298e['CollaborationEvent'][_0xd0c8da(0x265)],'data':{'unitID':this['unitID'],'memberID':this[_0xd0c8da(0x32a)][_0xd0c8da(0x1f9)](),'selection':_0x39cebe(_0x6f9c90)}};this['_session'][_0xd0c8da(0x37b)](_0x9b757e,this[_0xd0c8da(0x337)]);},0x64));}[_0x1e774e(0x102)](){const _0x43305f=_0x1e774e;super[_0x43305f(0x102)](),this['_cursorInfo$'][_0x43305f(0x3a6)](new Map()),this['_cursorInfo$'][_0x43305f(0x3ab)](),this[_0x43305f(0x374)][_0x43305f(0x3a6)]([]),this[_0x43305f(0x374)][_0x43305f(0x3ab)]();}['init'](){const _0x573cb4=_0x1e774e;this[_0x573cb4(0x12a)]||(this[_0x573cb4(0x12a)]=!0x0,this[_0x573cb4(0x32a)][_0x573cb4(0x3e6)][_0x573cb4(0x3fb)]((0x0,_0x5b1cc1[_0x573cb4(0x2cc)])(this['dispose$']))[_0x573cb4(0x42d)](_0x2c514a=>{const _0x30f1d=_0x573cb4;_0x2c514a===_0x1251ce[_0x30f1d(0x162)][_0x30f1d(0x2f6)]?this[_0x30f1d(0x2a8)]():this[_0x30f1d(0x36d)]();}),this[_0x573cb4(0x32a)][_0x573cb4(0x12e)][_0x573cb4(0x3fb)]((0x0,_0x5b1cc1['takeUntil'])(this[_0x573cb4(0x1b7)]))['subscribe'](_0x4e5a5d=>{const _0x4ce82e=_0x573cb4;let _0x2e9485=_0x4e5a5d[_0x4ce82e(0x402)];_0x2e9485===_0x42298e['CollaborationEvent'][_0x4ce82e(0x265)]&&this['_onCursorUpdate'](_0x4e5a5d),_0x2e9485===_0x42298e[_0x4ce82e(0x355)][_0x4ce82e(0x39c)]&&this['_onCursorDelete'](_0x4e5a5d);}),this[_0x573cb4(0x109)](this['_commandService'][_0x573cb4(0x2be)](_0xaef165=>{const _0x404201=_0x573cb4;let _0x29862f=_0xaef165['params'];_0x29862f!=null&&this[_0x404201(0x123)]&&_0xaef165['id']===_0xc4f75f['SetTextSelectionsOperation']['id']&&_0x29862f[_0x404201(0x40b)]===this[_0x404201(0x337)]&&_0x29862f[_0x404201(0x17d)]===!0x1&&_0x29862f[_0x404201(0x20d)][_0x404201(0x31e)]>0x0&&this[_0x404201(0x2b9)](_0x29862f[_0x404201(0x20d)]);})),this[_0x573cb4(0x185)][_0x573cb4(0x373)][_0x573cb4(0x3fb)]((0x0,_0x5b1cc1[_0x573cb4(0x2cc)])(this[_0x573cb4(0x1b7)]))[_0x573cb4(0x42d)](_0x141eac=>{const _0x4ba84d=_0x573cb4;if((_0x141eac==null?void 0x0:_0x141eac[_0x4ba84d(0x337)])!==this[_0x4ba84d(0x337)])return;let _0xf207c1={'eventID':_0x42298e[_0x4ba84d(0x355)]['UPDATE_CURSOR'],'data':_0x141eac};this[_0x4ba84d(0x28d)](_0xf207c1);}),this[_0x573cb4(0x109)](this[_0x573cb4(0x339)][_0x573cb4(0x2be)](_0x381240=>{const _0x3e40a6=_0x573cb4;if(_0x381240[_0x3e40a6(0x2c3)]==null)return;let _0x2a1286=_0x381240[_0x3e40a6(0x2c3)];if(_0x381240['id']!==_0xc4f75f[_0x3e40a6(0x1e6)]['id']||_0x2a1286['unitId']!==this[_0x3e40a6(0x337)])return;let _0xf92e29={'id':_0x3e40a6(0x195),'params':_0x2a1286},_0xa08b7d=this[_0x3e40a6(0x20c)];for(let [_0x2ff842,_0x46ff53]of _0xa08b7d){let _0x37c768={'id':_0x3e40a6(0x195),'params':{'unitId':this[_0x3e40a6(0x337)],'actions':null,'textRanges':_0x46ff53[_0x3e40a6(0x20d)]}},_0x59f3a=this[_0x3e40a6(0x362)][_0x3e40a6(0x11f)](_0xf92e29,_0x37c768,!0x1);if((0x0,_0x42298e[_0x3e40a6(0x1fc)])(_0x59f3a))throw _0x59f3a[_0x3e40a6(0x2d3)];_0xa08b7d[_0x3e40a6(0x363)](_0x2ff842,{..._0x46ff53,'ranges':_0x59f3a['m2Prime'][_0x3e40a6(0x2c3)][_0x3e40a6(0x1a0)]});}queueMicrotask(()=>{const _0x43a260=_0x3e40a6;this[_0x43a260(0x175)][_0x43a260(0x3a6)](_0xa08b7d);});})));}[_0x1e774e(0x28d)](_0x16dd12){const _0x40c954=_0x1e774e;var _0x2538f5;let {memberID:_0x382e79,selection:_0x32e3da}=_0x16dd12[_0x40c954(0x2e2)],_0x1b38c9=_0x25d09a(_0x32e3da),_0x2163d0=((_0x2538f5=this['_memberService'][_0x40c954(0x3bf)](this[_0x40c954(0x337)],_0x382e79))==null?void 0x0:_0x2538f5[_0x40c954(0xe7)])??'Unknown\x20user',_0x17d094={'color':this[_0x40c954(0x356)]['assignAColorForMemberID'](_0x382e79),'name':_0x2163d0,'ranges':_0x1b38c9},_0x46edb0=this['cursorInfo'];_0x46edb0['set'](_0x382e79,_0x17d094),this[_0x40c954(0x175)][_0x40c954(0x3a6)](_0x46edb0);}['_onCursorDelete'](_0x1fe523){const _0x363da3=_0x1e774e;let {memberID:_0x1e2216}=_0x1fe523['data'],_0x5b9e62=this['cursorInfo'];_0x5b9e62['delete'](_0x1e2216),this['_cursorInfo$'][_0x363da3(0x3a6)](_0x5b9e62);}['_toggleOnline'](){const _0x1700bf=_0x1e774e;var _0xc35a6;if(this[_0x1700bf(0x123)]=!0x0,((_0xc35a6=this[_0x1700bf(0x1a6)]['getFocusedUnit']())==null?void 0x0:_0xc35a6['getUnitId']())!==this[_0x1700bf(0x337)])return;let _0x3228fd=this[_0x1700bf(0x15c)]['get'](_0xc4f75f[_0x1700bf(0x1c5)])[_0x1700bf(0x1b1)]();Array[_0x1700bf(0x24e)](_0x3228fd)&&_0x3228fd[_0x1700bf(0x31e)]>0x0&&this[_0x1700bf(0x2b9)](_0x3228fd);}[_0x1e774e(0x36d)](){const _0x4a4ef2=_0x1e774e;this[_0x4a4ef2(0x123)]=!0x1;}};_0x27b722=_0x395511([_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x2937b1)),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce[_0x1e774e(0x101)])),_0x4d56f5(0x5,(0x0,_0x4b216b['Inject'])(_0x3a2b46)),_0x4d56f5(0x6,_0x42298e[_0x1e774e(0x3bc)]),_0x4d56f5(0x7,_0x4b216b[_0x1e774e(0x1ec)]),_0x4d56f5(0x8,_0x4b216b[_0x1e774e(0x310)])],_0x27b722);let _0x329f57=()=>{let _0x3a86db=[],_0x18b8f5=!0x1;return _0x1866ae=>{const _0x1f4c43=_0x50cf;_0x3a86db[_0x1f4c43(0x137)](_0x1866ae),_0x18b8f5||(_0x18b8f5=!0x0,setTimeout(()=>{const _0x1628d0=_0x1f4c43;_0x3a86db[_0x1628d0(0x1f1)](_0x47295d=>_0x47295d()),_0x3a86db=[],_0x18b8f5=!0x1;}));};},_0x44c1cb=class extends _0x4b216b[_0x1e774e(0x1bc)]{get['cursorInfo'](){const _0x1ed976=_0x1e774e;return this[_0x1ed976(0x175)][_0x1ed976(0x251)]();}get[_0x1e774e(0x3ee)](){const _0x209bbe=_0x1e774e;return this[_0x209bbe(0x374)]['getValue']();}constructor(_0x3f50c1,_0x26c233,_0x4a8a10,_0xea0a22,_0x2c02c0,_0x4b67ab,_0x54438b,_0x5c332a){const _0x4e9dd8=_0x1e774e;super(),this[_0x4e9dd8(0x337)]=_0x3f50c1,this[_0x4e9dd8(0x32a)]=_0x26c233,this[_0x4e9dd8(0x15c)]=_0x4a8a10,this[_0x4e9dd8(0x356)]=_0xea0a22,this['_memberService']=_0x2c02c0,this[_0x4e9dd8(0x1a6)]=_0x4b67ab,this[_0x4e9dd8(0x339)]=_0x54438b,this[_0x4e9dd8(0x196)]=_0x5c332a,_0x544f9f(this,'_online',!0x1),_0x544f9f(this,'_init',!0x1),_0x544f9f(this,_0x4e9dd8(0x175),new _0x5b1cc1[(_0x4e9dd8(0x203))](new Map())),_0x544f9f(this,_0x4e9dd8(0x1f0),this['_cursorInfo$'][_0x4e9dd8(0x11c)]()),_0x544f9f(this,_0x4e9dd8(0x374),new _0x5b1cc1[(_0x4e9dd8(0x203))]([])),_0x544f9f(this,_0x4e9dd8(0x393),this[_0x4e9dd8(0x374)]['pipe']((0x0,_0x5b1cc1[_0x4e9dd8(0x434)])(0x12c))),_0x544f9f(this,_0x4e9dd8(0x2b9),(0x0,_0x4b216b['debounce'])((_0x5b3ab5,_0x37e22c)=>{const _0x30808f=_0x4e9dd8;let _0x1ccbed={'eventID':_0x42298e[_0x30808f(0x355)][_0x30808f(0x265)],'data':{'unitID':this['unitID'],'memberID':this[_0x30808f(0x32a)][_0x30808f(0x1f9)](),'selection':(0x0,_0x59ce1c['serializeRangeWithSheet'])(_0x5b3ab5,_0x37e22c['range'])}};this[_0x30808f(0x32a)][_0x30808f(0x37b)](_0x1ccbed,this['unitID']);},0x64));}[_0x1e774e(0x102)](){const _0x4feaf4=_0x1e774e;super['dispose'](),this[_0x4feaf4(0x175)]['next'](new Map()),this[_0x4feaf4(0x175)][_0x4feaf4(0x3ab)](),this[_0x4feaf4(0x374)][_0x4feaf4(0x3a6)]([]),this[_0x4feaf4(0x374)][_0x4feaf4(0x3ab)]();}[_0x1e774e(0x3b2)](){const _0x1bb872=_0x1e774e;this[_0x1bb872(0x12a)]||(this[_0x1bb872(0x12a)]=!0x0,this['_session']['sessionStatus$'][_0x1bb872(0x3fb)]((0x0,_0x5b1cc1[_0x1bb872(0x2cc)])(this[_0x1bb872(0x1b7)]))[_0x1bb872(0x42d)](_0x317ecd=>{const _0x3412c9=_0x1bb872;_0x317ecd===_0x1251ce[_0x3412c9(0x162)]['ONLINE']?this[_0x3412c9(0x2a8)]():this[_0x3412c9(0x36d)]();}),this[_0x1bb872(0x32a)]['event$']['pipe']((0x0,_0x5b1cc1[_0x1bb872(0x2cc)])(this['dispose$']))[_0x1bb872(0x42d)](_0x22e9aa=>{const _0x53c52e=_0x1bb872;let _0xc4c088=_0x22e9aa[_0x53c52e(0x402)];_0xc4c088===_0x42298e[_0x53c52e(0x355)][_0x53c52e(0x265)]&&this['_onCursorUpdate'](_0x22e9aa),_0xc4c088===_0x42298e[_0x53c52e(0x355)][_0x53c52e(0x39c)]&&this[_0x53c52e(0x40f)](_0x22e9aa);}),this[_0x1bb872(0x1df)](),this[_0x1bb872(0x109)](this[_0x1bb872(0x339)][_0x1bb872(0x2be)](_0x181b81=>{const _0x532f91=_0x1bb872;if(this[_0x532f91(0x123)]&&_0x181b81['id']===_0x57fe53[_0x532f91(0x3a2)]['id']&&_0x181b81[_0x532f91(0x2c3)][_0x532f91(0x40b)]===this[_0x532f91(0x337)]){let _0x27aeb6=_0x181b81[_0x532f91(0x2c3)];this[_0x532f91(0x2b9)](_0x27aeb6['subUnitId'],_0x27aeb6[_0x532f91(0x357)][0x0]);}})));}[_0x1e774e(0x28d)](_0x1f964c){const _0x4148af=_0x1e774e;var _0x1a4e1f;let {memberID:_0x2be5ec,selection:_0x4ee797}=_0x1f964c['data'],{sheetName:_0x294dee,range:_0x1fc67f}=(0x0,_0x59ce1c[_0x4148af(0x21b)])(_0x4ee797),_0x15b5a2={'name':((_0x1a4e1f=this[_0x4148af(0x189)]['getMember'](this[_0x4148af(0x337)],_0x2be5ec))==null?void 0x0:_0x1a4e1f[_0x4148af(0xe7)])??_0x4148af(0x385),'range':this[_0x4148af(0x243)](_0x294dee,_0x1fc67f),'sheetID':_0x294dee,'color':this[_0x4148af(0x356)]['assignAColorForMemberID'](_0x2be5ec),'selection':_0x4ee797},_0x1a18c2=this[_0x4148af(0x20c)];_0x1a18c2[_0x4148af(0x363)](_0x2be5ec,_0x15b5a2),this['_cursorInfo$'][_0x4148af(0x3a6)](_0x1a18c2);}[_0x1e774e(0x40f)](_0x24c267){const _0x1af24e=_0x1e774e;let {memberID:_0x230b21}=_0x24c267[_0x1af24e(0x2e2)],_0x367d81=this[_0x1af24e(0x20c)];_0x367d81[_0x1af24e(0x410)](_0x230b21),this[_0x1af24e(0x175)][_0x1af24e(0x3a6)](_0x367d81);}[_0x1e774e(0x243)](_0x4c26e0,_0x29b6aa){const _0x2f8e22=_0x1e774e;var _0x2c4980;let _0x5ec432=(_0x2c4980=this['_univerInstanceService']['getUnit'](this['unitID'],_0x4b216b['UniverInstanceType'][_0x2f8e22(0x30e)]))==null||(_0x2c4980=_0x2c4980[_0x2f8e22(0x408)](_0x4c26e0))==null?void 0x0:_0x2c4980['getMergeData']();return(_0x5ec432==null?void 0x0:_0x5ec432[_0x2f8e22(0x431)](_0x1c02ee=>_0x4b216b[_0x2f8e22(0x1b8)][_0x2f8e22(0x445)](_0x1c02ee,_0x29b6aa)))||_0x29b6aa;}[_0x1e774e(0x1df)](){const _0x2e95aa=_0x1e774e;let _0x1b3f45=new _0x4b216b['DisposableCollection'](),_0x1c8e0d=_0x329f57(),_0x5f6246=()=>{const _0x4df4b8=_0x50cf;_0x1b3f45['dispose']();let _0x17cf52=(_0x53143a,_0x4c6b63,_0x3a1836,_0x3351d2)=>{const _0x142541=_0x50cf;let _0x431f8c=[];switch(_0x53143a['id']){case _0x57fe53[_0x142541(0x33f)][_0x142541(0x17e)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x210)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)]['DeleteRangeMoveUpCommandId']:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x171)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)][_0x142541(0x396)]:_0x431f8c=(0x0,_0x57fe53['handleInsertCol'])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)][_0x142541(0x40c)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x2f9)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)][_0x142541(0x15e)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x3ba)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)][_0x142541(0x377)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x3ff)])(_0x53143a,_0x3351d2);break;case _0x57fe53['EffectRefRangId'][_0x142541(0x3fc)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x283)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)]['RemoveColCommandId']:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x344)])(_0x53143a,_0x3351d2);break;case _0x57fe53[_0x142541(0x33f)][_0x142541(0x1d6)]:_0x431f8c=(0x0,_0x57fe53[_0x142541(0x3be)])(_0x53143a,_0x3351d2);}let _0x3c2a60=(0x0,_0x57fe53[_0x142541(0x412)])(_0x431f8c,_0x3351d2),_0x1d0330=this[_0x142541(0x20c)][_0x142541(0x2d2)](_0x4c6b63);if(_0x1d0330&&_0x3c2a60){let _0x477b38={..._0x1d0330,'range':_0x3c2a60};this[_0x142541(0x20c)][_0x142541(0x363)](_0x4c6b63,_0x477b38),_0x1c8e0d(()=>{const _0x2b33ed=_0x142541;let _0x2f4853=this[_0x2b33ed(0x196)][_0x2b33ed(0x1c7)](_0x3c2a60,_0x5e609d=>(_0x2f4853[_0x2b33ed(0x102)](),_0x17cf52(_0x5e609d,_0x4c6b63,_0x3a1836,_0x3c2a60)));_0x1b3f45['add'](_0x2f4853);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4df4b8(0x1f1)]((_0x232ccd,_0x4170aa)=>{const _0x2b9d26=_0x4df4b8;let {range:_0x18067b,sheetID:_0x5621d2}=_0x232ccd,_0x59ffaa=this['_refRangeService'][_0x2b9d26(0x1c7)](_0x18067b,_0x4be3a3=>(_0x59ffaa[_0x2b9d26(0x102)](),_0x17cf52(_0x4be3a3,_0x4170aa,_0x5621d2,_0x18067b)));_0x1b3f45[_0x2b9d26(0x399)](_0x59ffaa);});};this['disposeWithMe']((0x0,_0x4b216b[_0x2e95aa(0x199)])(this[_0x2e95aa(0x175)]['subscribe'](()=>{_0x5f6246();})));}[_0x1e774e(0x2a8)](){const _0x4f47a4=_0x1e774e;var _0x262652,_0x591880;if(this[_0x4f47a4(0x123)]=!0x0,((_0x262652=this[_0x4f47a4(0x1a6)][_0x4f47a4(0x1b9)]())==null?void 0x0:_0x262652['getUnitId']())!==this[_0x4f47a4(0x337)])return;let _0x1de6fe=(_0x591880=this[_0x4f47a4(0x15c)][_0x4f47a4(0x2d2)](_0x57fe53['SheetsSelectionsService'])[_0x4f47a4(0x2f5)]())==null?void 0x0:_0x591880[0x0],_0x44df03=this[_0x4f47a4(0x1a6)][_0x4f47a4(0x2da)](_0x4b216b['UniverInstanceType'][_0x4f47a4(0x30e)])[_0x4f47a4(0x150)]();_0x1de6fe&&_0x44df03&&this['_updateLocalCursor'](_0x44df03[_0x4f47a4(0x1be)](),_0x1de6fe);}[_0x1e774e(0x36d)](){const _0x2fd569=_0x1e774e;this[_0x2fd569(0x123)]=!0x1;}};_0x44c1cb=_0x395511([_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x2937b1)),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce[_0x1e774e(0x101)])),_0x4d56f5(0x5,_0x4b216b['IUniverInstanceService']),_0x4d56f5(0x6,_0x4b216b[_0x1e774e(0x310)]),_0x4d56f5(0x7,(0x0,_0x4b216b['Inject'])(_0x57fe53['RefRangeService']))],_0x44c1cb);let _0x50ef3b=class extends _0x4b216b[_0x1e774e(0x1bc)]{constructor(_0x3640b8,_0x1883f4,_0x5ed7b5){const _0x387f59=_0x1e774e;super(),this[_0x387f59(0x1a6)]=_0x3640b8,this[_0x387f59(0x15c)]=_0x1883f4,this[_0x387f59(0x10b)]=_0x5ed7b5,_0x544f9f(this,_0x387f59(0x30f),new Map()),_0x544f9f(this,'_entityInit$',new _0x5b1cc1[(_0x387f59(0x43a))]()),this['_init']();}[_0x1e774e(0x102)](){const _0x157c38=_0x1e774e;super['dispose'](),this['_entityInit$'][_0x157c38(0x3ab)](),this[_0x157c38(0x30f)][_0x157c38(0x1f1)](_0x2769de=>_0x2769de[_0x157c38(0x102)]());}['getCollabCursors$'](_0x2305a2){const _0x41905a=_0x1e774e;let _0x5a785b=this[_0x41905a(0x30f)]['get'](_0x2305a2);return _0x5a785b?_0x5a785b[_0x41905a(0x1f0)]:this[_0x41905a(0x2d5)][_0x41905a(0x3fb)]((0x0,_0x5b1cc1[_0x41905a(0x3d3)])(_0x49cee3=>_0x49cee3['unitID']===_0x2305a2),(0x0,_0x5b1cc1[_0x41905a(0x1c0)])(_0x369d3d=>_0x369d3d[_0x41905a(0x1f0)]));}[_0x1e774e(0x12a)](){const _0x5d043e=_0x1e774e;this[_0x5d043e(0x1a6)][_0x5d043e(0x3e5)](_0x4b216b[_0x5d043e(0x18c)][_0x5d043e(0x30e)])[_0x5d043e(0x3fb)]((0x0,_0x5b1cc1['takeUntil'])(this['dispose$']))[_0x5d043e(0x42d)](async _0x570d00=>{const _0x491d6b=_0x5d043e;let _0x57c6ab=_0x570d00[_0x491d6b(0x139)][_0x491d6b(0x1d2)](),_0x2c2c7c=await this[_0x491d6b(0x3f7)](_0x57c6ab);this[_0x491d6b(0x2d5)][_0x491d6b(0x3a6)](_0x2c2c7c),this['_entities'][_0x491d6b(0x363)](_0x57c6ab,_0x2c2c7c);}),this['_univerInstanceService'][_0x5d043e(0x3e5)](_0x4b216b[_0x5d043e(0x18c)][_0x5d043e(0x124)])['pipe']((0x0,_0x5b1cc1[_0x5d043e(0x2cc)])(this[_0x5d043e(0x1b7)]))[_0x5d043e(0x3fb)]((0x0,_0x5b1cc1[_0x5d043e(0x3d3)])(_0x4f0177=>!_0x4f0177[_0x5d043e(0x139)][_0x5d043e(0x1d2)]()[_0x5d043e(0xec)]('__')))[_0x5d043e(0x42d)](async _0x1e7c93=>{const _0x11b30b=_0x5d043e;let {unit:_0x4fd7eb}=_0x1e7c93,_0x187e4e=_0x4fd7eb[_0x11b30b(0x1d2)](),_0x265fe8=await this[_0x11b30b(0xff)](_0x187e4e);this[_0x11b30b(0x2d5)][_0x11b30b(0x3a6)](_0x265fe8),this[_0x11b30b(0x30f)][_0x11b30b(0x363)](_0x187e4e,_0x265fe8);}),(0x0,_0x5b1cc1[_0x5d043e(0x132)])(this[_0x5d043e(0x1a6)][_0x5d043e(0x345)](_0x4b216b[_0x5d043e(0x18c)]['UNIVER_DOC']),this[_0x5d043e(0x1a6)]['getTypeOfUnitDisposed$'](_0x4b216b[_0x5d043e(0x18c)]['UNIVER_SHEET']))['pipe']((0x0,_0x5b1cc1['takeUntil'])(this[_0x5d043e(0x1b7)]))['subscribe'](_0x2e3c01=>{const _0x3d160a=_0x5d043e;let _0x3d31cc=_0x2e3c01[_0x3d160a(0x1d2)](),_0x2a0a8e=this[_0x3d160a(0x30f)][_0x3d160a(0x2d2)](_0x3d31cc);_0x2a0a8e&&(_0x2a0a8e['dispose'](),this[_0x3d160a(0x30f)][_0x3d160a(0x410)](_0x3d31cc));});}async[_0x1e774e(0x3f7)](_0x483e10){const _0x38a4a9=_0x1e774e;let _0x56b158=await this['_collabSessionService'][_0x38a4a9(0x1e7)](_0x483e10),_0x310e79=this[_0x38a4a9(0x15c)][_0x38a4a9(0x1de)](_0x44c1cb,_0x483e10,_0x56b158);return _0x310e79[_0x38a4a9(0x3b2)](),_0x310e79;}async[_0x1e774e(0xff)](_0x304a99){const _0x3361c7=_0x1e774e;let _0x19b1a5=await this[_0x3361c7(0x10b)]['requireSession'](_0x304a99),_0x2cc551=this[_0x3361c7(0x15c)][_0x3361c7(0x1de)](_0x27b722,_0x304a99,_0x19b1a5);return _0x2cc551['init'](),_0x2cc551;}};_0x50ef3b=_0x395511([_0x4d56f5(0x0,_0x4b216b[_0x1e774e(0x1ec)]),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b['Injector'])),_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x1251ce['CollaborationSessionService']))],_0x50ef3b);function _0x1f6f66(_0x38f80f,_0x382778){const _0x42e946=_0x1e774e;_0x38f80f[_0x42e946(0x32f)](),_0x38f80f[_0x42e946(0x39a)]='bold\x2013px\x20Arial,\x20sans-serif';let _0x34f223=_0x38f80f[_0x42e946(0x383)](_0x382778)[_0x42e946(0x2a1)];return _0x38f80f[_0x42e946(0x19f)](),Math['min'](_0x34f223+0x8,0xc8);}function _0x37f5eb(_0x1474c5,_0x550cd7){const _0x2057f0=_0x1e774e;let {radius:_0x457f19,width:_0x2565f9,height:_0x1d6327}=_0x550cd7;_0x457f19??=0x0,_0x2565f9??=0x1e,_0x1d6327??=0x1e;let _0x35d647=0x0,_0x1e06a7=0x0,_0x2abaa8=0x0;_0x35d647=_0x1e06a7=_0x2abaa8=Math[_0x2057f0(0x115)](_0x457f19,_0x2565f9/0x2,_0x1d6327/0x2),_0x1474c5[_0x2057f0(0x421)](),_0x1474c5[_0x2057f0(0xf7)](_0x35d647,0x0),_0x1474c5[_0x2057f0(0x17f)](_0x2565f9-_0x1e06a7,0x0),_0x1474c5['arc'](_0x2565f9-_0x1e06a7,_0x1e06a7,_0x1e06a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x1474c5[_0x2057f0(0x17f)](_0x2565f9,_0x1d6327-_0x2abaa8),_0x1474c5[_0x2057f0(0x237)](_0x2565f9-_0x2abaa8,_0x1d6327-_0x2abaa8,_0x2abaa8,0x0,Math['PI']/0x2,!0x1),_0x1474c5[_0x2057f0(0x17f)](0x0,_0x1d6327),_0x1474c5['lineTo'](0x0,_0x35d647),_0x1474c5['arc'](_0x35d647,_0x35d647,_0x35d647,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1474c5[_0x2057f0(0x32b)](),_0x550cd7[_0x2057f0(0x190)]&&(_0x1474c5[_0x2057f0(0x32f)](),_0x1474c5[_0x2057f0(0x26b)]=_0x550cd7['fill'],_0x550cd7[_0x2057f0(0x274)]===_0x2057f0(0x184)?_0x1474c5[_0x2057f0(0x190)](_0x2057f0(0x184)):_0x1474c5['fill'](),_0x1474c5[_0x2057f0(0x19f)]());}var _0x35eb46=class _0x47d03c extends _0x3f3c56['Shape']{constructor(_0x536b61,_0x3f7520){const _0x24c66f=_0x1e774e;super(_0x536b61,_0x3f7520),_0x544f9f(this,'color',void 0x0),_0x544f9f(this,_0x24c66f(0x3a1),void 0x0),this['color']=_0x3f7520==null?void 0x0:_0x3f7520[_0x24c66f(0x1db)],this['text']=_0x3f7520==null?void 0x0:_0x3f7520['text'];}static['drawWith'](_0x1e7a87,_0x461011){const _0x1610a0=_0x1e774e;let {text:_0xac2f55,color:_0x18bdf3}=_0x461011;_0x1e7a87['save'](),_0x1e7a87[_0x1610a0(0x39a)]=_0x1610a0(0x29e);let _0x3be56c=_0x1e7a87[_0x1610a0(0x383)](_0xac2f55)['width'];if(_0x37f5eb(_0x1e7a87,{'height':0x14,'radius':0x4,'width':_0x1f6f66(_0x1e7a87,_0xac2f55),'fill':_0x18bdf3,'evented':!0x1}),_0x1e7a87[_0x1610a0(0x26b)]='#FFF',_0x3be56c>0xc0){let _0x3e6baa='',_0x28d31=0x0;for(let _0x19013a of _0xac2f55){let _0x1128e1=_0x1e7a87[_0x1610a0(0x383)](_0x19013a)[_0x1610a0(0x2a1)];if(_0x28d31+_0x1128e1<=0xc0-_0x1e7a87[_0x1610a0(0x383)]('...')['width'])_0x3e6baa+=_0x19013a,_0x28d31+=_0x1128e1;else{_0x3e6baa+=_0x1610a0(0x370);break;}}_0x1e7a87[_0x1610a0(0x2a3)](_0x3e6baa,0x4,0xf);}else _0x1e7a87[_0x1610a0(0x2a3)](_0xac2f55,0x4,0xf);_0x1e7a87['restore']();}[_0x1e774e(0x23f)](_0x33c14){_0x47d03c['drawWith'](_0x33c14,this);}};let _0xddeb8a=_0x1e774e(0x1dc);var _0x4fa68f=class{constructor(_0x1be949,_0x50bc18,_0x1b8ee3,_0x58f05b){const _0x2a0931=_0x1e774e;this[_0x2a0931(0x1c9)]=_0x1be949,this[_0x2a0931(0x2ed)]=_0x50bc18,this[_0x2a0931(0x27c)]=_0x1b8ee3,this['_document']=_0x58f05b,_0x544f9f(this,'_shapes',[]),_0x544f9f(this,'_anchor',null),_0x544f9f(this,_0x2a0931(0x428),null),_0x544f9f(this,_0x2a0931(0x35c),null),_0x544f9f(this,_0x2a0931(0xed),null),_0x544f9f(this,_0x2a0931(0x36b),null),this[_0x2a0931(0x41a)]();}set[_0x1e774e(0x3ca)](_0x3b29e5){const _0x2759a2=_0x1e774e;_0x3b29e5?(this[_0x2759a2(0x35c)]&&this[_0x2759a2(0x35c)][_0x2759a2(0x36f)](),this['_textBubble']&&this[_0x2759a2(0x428)]['show']()):(this[_0x2759a2(0x35c)]&&this[_0x2759a2(0x35c)][_0x2759a2(0x186)](),this[_0x2759a2(0x428)]&&this['_textBubble'][_0x2759a2(0x36f)]());}[_0x1e774e(0x102)](){const _0x4be2cd=_0x1e774e;for(let _0x5c6b01 of this['_shapes'])_0x5c6b01[_0x4be2cd(0x102)]();this[_0x4be2cd(0x428)]&&this[_0x4be2cd(0x428)][_0x4be2cd(0x102)](),this['_anchorDot']&&this[_0x4be2cd(0x35c)][_0x4be2cd(0x102)](),this[_0x4be2cd(0x432)]&&this[_0x4be2cd(0x432)][_0x4be2cd(0x102)](),this[_0x4be2cd(0x36b)]&&this[_0x4be2cd(0x36b)]();}[_0x1e774e(0x41a)](){const _0x5dfb7d=_0x1e774e;let {_docSkeleton:_0x15c245,_document:_0xc359c3}=this,{color:_0x5e98e9,name:_0x237975,ranges:_0xdee199}=this[_0x5dfb7d(0x1c9)],_0x57e517=_0xc359c3[_0x5dfb7d(0x31c)](),{docsLeft:_0x4d6dfb,docsTop:_0x360a13}=_0x57e517,_0x7f6b83=new _0x826638[(_0x5dfb7d(0x2a0))](_0x57e517,_0x15c245);for(let {startOffset:_0x33d9a0,endOffset:_0x263110,rangeType:_0x51e76d,segmentId:_0xf523a9,segmentPage:_0x38d7be,collapsed:_0x48afa6,isActive:_0x34cc2d}of _0xdee199){let _0xfcd5ee=_0x15c245['findNodePositionByCharIndex'](_0x33d9a0,!0x0,_0xf523a9,_0x38d7be),_0x2531fd=_0x15c245[_0x5dfb7d(0x289)](_0x263110,!0x0,_0xf523a9,_0x38d7be);_0x2531fd??=_0x15c245[_0x5dfb7d(0x289)](_0x263110-0x1,!0x1,_0xf523a9,_0x38d7be);let _0x304f87=_0x540a8b(_0xfcd5ee,_0x2531fd);if(_0x34cc2d&&_0x304f87[_0x5dfb7d(0x382)]){let {contentBoxPointGroup:_0x5111c0}=_0x7f6b83['getRangePointData'](_0x2531fd,_0x2531fd);if(_0x5111c0[_0x5dfb7d(0x31e)]===0x0)continue;this[_0x5dfb7d(0x187)](_0x5e98e9,_0x5111c0,_0x4d6dfb,_0x360a13,_0x237975),this[_0x5dfb7d(0x36b)]=this[_0x5dfb7d(0x321)]();}if(_0xfcd5ee&&_0x2531fd){if(_0x51e76d===_0x4b216b['DOC_RANGE_TYPE']['RECT']){let {pointGroup:_0x14a42d}=new _0x826638['NodePositionConvertToRectRange'](_0x57e517,_0x15c245)[_0x5dfb7d(0x3dc)](_0xfcd5ee,_0x2531fd)??{};if(_0x14a42d==null||_0x14a42d[_0x5dfb7d(0x31e)]===0x0)continue;this[_0x5dfb7d(0x17c)](_0x5e98e9,_0x14a42d,_0x4d6dfb,_0x360a13);}else{if(!_0x48afa6&&_0x304f87['canRenderSelection']){let {borderBoxPointGroup:_0x302732}=_0x7f6b83[_0x5dfb7d(0x3dc)](_0xfcd5ee,_0x2531fd);if(_0x302732[_0x5dfb7d(0x31e)]===0x0)continue;this[_0x5dfb7d(0x1ca)](_0x5e98e9,_0x302732,_0x4d6dfb,_0x360a13);}}}}}[_0x1e774e(0x187)](_0x3c0c89,_0x3d605f,_0x491544,_0x2dacc1,_0x479e62){const _0x505c14=_0x1e774e;let {left:_0x4b41c5,top:_0x55b709,height:_0xdb0f1b}=this[_0x505c14(0x21c)](_0x3d605f),_0x10fa61=1.5/this['_getScale'](),_0x54163d=new _0x3f3c56['Rect'](_0xddeb8a+(0x0,_0x4b216b[_0x505c14(0x371)])(0x6),{'left':_0x4b41c5+_0x491544-_0x10fa61,'top':_0x55b709+_0x2dacc1,'height':_0xdb0f1b,'width':1.5,'fill':_0x3c0c89||(0x0,_0x3f3c56[_0x505c14(0x3e1)])(_0x4b216b[_0x505c14(0x391)][_0x505c14(0x15d)],0x0),'strokeWidth':_0x10fa61,'stroke':_0x505c14(0x22e),'evented':!0x0});this['_anchor']=_0x54163d,this[_0x505c14(0x2ed)][_0x505c14(0x23d)](_0x54163d,_0x826638[_0x505c14(0xf3)]);let _0x5a32bd=new _0x3f3c56[(_0x505c14(0x155))](_0xddeb8a+(0x0,_0x4b216b[_0x505c14(0x371)])(0x6),{'left':_0x4b41c5+_0x491544-_0x10fa61,'top':_0x55b709+_0x2dacc1-0x2,'height':0x4,'width':0x4,'fill':_0x3c0c89||(0x0,_0x3f3c56['getColor'])(_0x4b216b[_0x505c14(0x391)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3c0c89||(0x0,_0x3f3c56[_0x505c14(0x3e1)])(_0x4b216b['COLORS']['black'],0x0),'evented':!0x1});this[_0x505c14(0x35c)]=_0x5a32bd,this[_0x505c14(0x2ed)][_0x505c14(0x23d)](_0x5a32bd,_0x826638[_0x505c14(0xf3)]);let _0x4fd350=new _0x35eb46(_0xddeb8a+(0x0,_0x4b216b[_0x505c14(0x371)])(0x6),{'left':_0x4b41c5+_0x491544-_0x10fa61,'top':_0x55b709+_0x2dacc1-0x14,'text':_0x479e62,'color':_0x3c0c89});this['_textBubble']=_0x4fd350,this['_scene'][_0x505c14(0x23d)](_0x4fd350,_0x826638['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x1e774e(0x321)](){const _0x1cdaee=_0x1e774e;let _0x2ce08d=this[_0x1cdaee(0x432)][_0x1cdaee(0x446)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x4e9faa=this[_0x1cdaee(0x432)][_0x1cdaee(0x37c)]['subscribeEvent'](()=>{const _0x59546f=_0x1cdaee;this[_0x59546f(0xed)]&&clearTimeout(this['_hideTimer']),this[_0x59546f(0xed)]=setTimeout(()=>{const _0x315eaf=_0x59546f;this[_0x315eaf(0x3ca)]=!0x1;},0x7d0);});return()=>{_0x2ce08d['unsubscribe'](),_0x4e9faa['unsubscribe']();};}['_drawTextRange'](_0x5898bc,_0x429939,_0xfb248b,_0x9f4a0b){const _0x4eff85=_0x1e774e;let _0x155088=0.2,_0x3126d4=new _0x4b216b['ColorKit'](_0x5898bc)[_0x4eff85(0x322)](_0x155088)[_0x4eff85(0x257)](),_0x159cc1=new _0x3f3c56[(_0x4eff85(0x441))]('collab-text-range-'+(0x0,_0x4b216b[_0x4eff85(0x371)])(0x6),{'pointsGroup':_0x429939,'fill':_0x3126d4||(0x0,_0x3f3c56[_0x4eff85(0x3e1)])(_0x4b216b[_0x4eff85(0x391)][_0x4eff85(0x15d)],_0x155088),'left':_0xfb248b,'top':_0x9f4a0b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4eff85(0x3b1)][_0x4eff85(0x137)](_0x159cc1),this[_0x4eff85(0x2ed)][_0x4eff85(0x23d)](_0x159cc1,_0x826638['TEXT_RANGE_LAYER_INDEX']);}[_0x1e774e(0x17c)](_0x161891,_0x13b4e2,_0x4b6202,_0x2e04fb){const _0x4f5161=_0x1e774e;let _0x4df104=0.2,_0xb46e21=new _0x4b216b[(_0x4f5161(0x3c8))](_0x161891)[_0x4f5161(0x322)](_0x4df104)[_0x4f5161(0x257)](),_0x43385b=new _0x3f3c56['RegularPolygon'](_0x4f5161(0x3d4)+(0x0,_0x4b216b[_0x4f5161(0x371)])(0x6),{'pointsGroup':_0x13b4e2,'fill':_0xb46e21||(0x0,_0x3f3c56[_0x4f5161(0x3e1)])(_0x4b216b[_0x4f5161(0x391)][_0x4f5161(0x15d)],_0x4df104),'left':_0x4b6202,'top':_0x2e04fb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f5161(0x3b1)][_0x4f5161(0x137)](_0x43385b),this[_0x4f5161(0x2ed)][_0x4f5161(0x23d)](_0x43385b,_0x826638[_0x4f5161(0xf3)]);}[_0x1e774e(0x21c)](_0x130636){let _0x244b3c=_0x130636[0x0],_0x383078=_0x244b3c[0x0],_0x5eea14=_0x244b3c[0x2],{x:_0x4f4aeb,y:_0x2870bc}=_0x383078,{x:_0x5a7313,y:_0x12e4c8}=_0x5eea14;return{'left':_0x4f4aeb,'top':_0x2870bc,'width':_0x5a7313-_0x4f4aeb,'height':_0x12e4c8-_0x2870bc};}[_0x1e774e(0x158)](){const _0x48338b=_0x1e774e;let {scaleX:_0x335620,scaleY:_0x3f0618}=this['_scene']['getAncestorScale']();return Math[_0x48338b(0x37d)](_0x335620,_0x3f0618);}};function _0x540a8b(_0x55acaf,_0x1a7441){const _0x184b1c=_0x1e774e;if(!_0x1a7441)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x55acaf||_0x55acaf[_0x184b1c(0xe5)]!==_0x1a7441['pageType']||(_0x55acaf[_0x184b1c(0xe5)]===_0x3f3c56[_0x184b1c(0x1c4)][_0x184b1c(0x278)]||_0x55acaf[_0x184b1c(0xe5)]===_0x3f3c56[_0x184b1c(0x1c4)][_0x184b1c(0x241)])&&_0x55acaf[_0x184b1c(0x252)]!==_0x1a7441[_0x184b1c(0x252)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x750167=(0x0,_0x3f3c56[_0x184b1c(0x2bc)])(_0x55acaf),_0x55d11b=(0x0,_0x3f3c56['getDocumentSkeletonColumnPagePathInfo'])(_0x1a7441);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x750167==null||_0x55d11b==null?_0x750167==null&&_0x55d11b==null:_0x750167[_0x184b1c(0x216)]===_0x55d11b[_0x184b1c(0x216)]&&_0x750167[_0x184b1c(0x40a)]===_0x55d11b[_0x184b1c(0x40a)]&&_0x750167[_0x184b1c(0x2cb)]===_0x55d11b[_0x184b1c(0x2cb)]};}let _0x4403e5=class extends _0x4b216b['RxDisposable']{constructor(_0x2dd091,_0xa180da,_0x4cf9e2,_0x1dd20e,_0x19b32d){const _0x490e14=_0x1e774e;super(),this[_0x490e14(0x1ed)]=_0x2dd091,this['_docSkeletonManagerService']=_0xa180da,this[_0x490e14(0x436)]=_0x4cf9e2,this['_commandService']=_0x1dd20e,this[_0x490e14(0x411)]=_0x19b32d,_0x544f9f(this,_0x490e14(0x2ef),[]),_0x544f9f(this,_0x490e14(0x1d8),[]),this[_0x490e14(0x12a)]();}['_init'](){const _0x31da73=_0x1e774e;let _0x1a01d3=this[_0x31da73(0x1ed)][_0x31da73(0x40b)],_0x528ce4=this['_docSkeletonManagerService'];this['disposeWithMe']((0x0,_0x5b1cc1[_0x31da73(0x267)])([this['_collabCursorController'][_0x31da73(0x22d)](_0x1a01d3),this[_0x31da73(0x411)][_0x31da73(0x26c)]])[_0x31da73(0x3fb)]((0x0,_0x50727f['map'])(([_0x555b74,_0x1df591])=>({'skeleton':_0x528ce4[_0x31da73(0x1c2)](),'cursors':[..._0x555b74[_0x31da73(0x212)]()][_0x31da73(0xef)](_0x18e5aa=>({..._0x18e5aa,'color':this['_themeService'][_0x31da73(0x1ea)](_0x18e5aa['color'])}))})))[_0x31da73(0x42d)](_0x33bf37=>{const _0x448345=_0x31da73;if(this[_0x448345(0x280)](),_0x33bf37){let {skeleton:_0x3e9d5e,cursors:_0xfcf6f3}=_0x33bf37;this[_0x448345(0x166)](_0x3e9d5e,_0xfcf6f3);}})),this[_0x31da73(0x1cd)](),this[_0x31da73(0x1a2)]();}[_0x1e774e(0x166)](_0x5df1a9,_0x2f5760){const _0x715a24=_0x1e774e;let {scene:_0x277350,mainComponent:_0xf3c6b}=this[_0x715a24(0x1ed)],_0x32874c=_0x2f5760[_0x715a24(0x2b5)](_0xa16a28=>new _0x4fa68f(_0xa16a28,_0x277350,_0x5df1a9,_0xf3c6b));this[_0x715a24(0x2ef)]=_0x32874c,this[_0x715a24(0x1d8)]=_0x2f5760;}[_0x1e774e(0x211)](){const _0x36d458=_0x1e774e;this[_0x36d458(0x280)]();let {scene:_0x295a4a,mainComponent:_0x2f901f}=this[_0x36d458(0x1ed)],_0x35bd0e=this[_0x36d458(0x1d3)][_0x36d458(0x1c2)](),_0x4ecc13=this[_0x36d458(0x1d8)]['map'](_0x55d249=>new _0x4fa68f(_0x55d249,_0x295a4a,_0x35bd0e,_0x2f901f));this[_0x36d458(0x2ef)]=_0x4ecc13;}[_0x1e774e(0x280)](){const _0x48e712=_0x1e774e;this[_0x48e712(0x2ef)][_0x48e712(0x1f1)](_0xcf138e=>_0xcf138e[_0x48e712(0x102)]()),this[_0x48e712(0x2ef)]=[];}[_0x1e774e(0x1a2)](){const _0x2a2e2d=_0x1e774e;let _0x81245f=[_0x826638['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2a2e2d(0x339)][_0x2a2e2d(0x2be)](_0x10a696=>{const _0x50dcf0=_0x2a2e2d;_0x81245f[_0x50dcf0(0x1e1)](_0x10a696['id'])&&_0x10a696[_0x50dcf0(0x2c3)][_0x50dcf0(0x40b)]===this[_0x50dcf0(0x1ed)]['unitId']&&this[_0x50dcf0(0x211)]();}));}[_0x1e774e(0x1cd)](){const _0x566aec=_0x1e774e;this[_0x566aec(0x109)]((0x0,_0x4b216b['fromEventSubject'])(this[_0x566aec(0x1ed)][_0x566aec(0x20e)][_0x566aec(0x2e5)])[_0x566aec(0x3fb)]((0x0,_0x50727f[_0x566aec(0x3d3)])(_0x2fd183=>_0x2fd183['type']===_0x3f3c56['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),(0x0,_0x50727f['throttleTime'])(0x10))[_0x566aec(0x42d)](()=>{const _0x256c0b=_0x566aec;this[_0x256c0b(0x211)]();}));}};_0x4403e5=_0x395511([_0x4d56f5(0x1,(0x0,_0x4b216b['Inject'])(_0xc4f75f[_0x1e774e(0x403)])),_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x50ef3b)),_0x4d56f5(0x3,_0x4b216b[_0x1e774e(0x310)]),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x240)]))],_0x4403e5);var _0x2927aa=class extends _0x3f3c56['Shape']{constructor(_0x1a2f79,_0x3c3e74){const _0x1a848d=_0x1e774e;super(_0x1a2f79,_0x3c3e74),_0x544f9f(this,'_color',void 0x0),_0x544f9f(this,_0x1a848d(0x417),!0x1),_0x544f9f(this,'_range',void 0x0),_0x544f9f(this,_0x1a848d(0x263),''),_0x544f9f(this,_0x1a848d(0x3f4),_0x1a848d(0x110)),_0x544f9f(this,_0x1a848d(0x429),void 0x0),_0x544f9f(this,_0x1a848d(0x2db),void 0x0),_0x544f9f(this,_0x1a848d(0x2d6),void 0x0),_0x544f9f(this,_0x1a848d(0x2e0),0x4),_0x544f9f(this,_0x1a848d(0x420),void 0x0),_0x544f9f(this,_0x1a848d(0x3a8),void 0x0),_0x544f9f(this,_0x1a848d(0x247),!0x0),_0x544f9f(this,_0x1a848d(0x3f3),0x0),_0x544f9f(this,_0x1a848d(0x281),_0x1a848d(0x34d)),_0x3c3e74&&(this[_0x1a848d(0x423)](_0x3c3e74),_0x3c3e74[_0x1a848d(0x23c)]&&(_0x3c3e74[_0x1a848d(0x422)]??this[_0x1a848d(0x2e0)])&&this[_0x1a848d(0x121)](_0x3c3e74[_0x1a848d(0x422)]??this[_0x1a848d(0x2e0)])),this['onPointerEnter$'][_0x1a848d(0x1c1)](()=>this[_0x1a848d(0x423)]({'hovered':!0x0})),this[_0x1a848d(0x37c)][_0x1a848d(0x1c1)](()=>this[_0x1a848d(0x423)]({'hovered':!0x1}));}[_0x1e774e(0x389)](_0x597352){this['_offsetY']=_0x597352;}[_0x1e774e(0x423)](_0x3f5b83){const _0x2cc9f5=_0x1e774e;this['_color']=_0x3f5b83['color']??this[_0x2cc9f5(0x326)],this[_0x2cc9f5(0x417)]=_0x3f5b83['hovered']??this[_0x2cc9f5(0x417)],this['_range']=_0x3f5b83[_0x2cc9f5(0xe2)]??this[_0x2cc9f5(0x444)],this[_0x2cc9f5(0x263)]=_0x3f5b83[_0x2cc9f5(0xe7)]??this[_0x2cc9f5(0x263)],this[_0x2cc9f5(0x3f4)]=_0x3f5b83['labelPosition']??this[_0x2cc9f5(0x3f4)],this[_0x2cc9f5(0x429)]=_0x3f5b83[_0x2cc9f5(0x27b)]??this[_0x2cc9f5(0x429)],this[_0x2cc9f5(0x2db)]=_0x3f5b83[_0x2cc9f5(0x26e)]??this['_showText'],this[_0x2cc9f5(0x281)]=_0x3f5b83[_0x2cc9f5(0x43d)]??this[_0x2cc9f5(0x281)],_0x3f5b83['highlightSecond']!==void 0x0&&(this[_0x2cc9f5(0x2e0)]=_0x3f5b83[_0x2cc9f5(0x422)]),_0x3f5b83[_0x2cc9f5(0x23c)]!==void 0x0&&(this[_0x2cc9f5(0x2d6)]=_0x3f5b83['highlight']),_0x3f5b83[_0x2cc9f5(0x33c)]!==void 0x0&&(this[_0x2cc9f5(0x3f3)]=_0x3f5b83[_0x2cc9f5(0x33c)]),this[_0x2cc9f5(0x34c)]({'width':_0x3f5b83['width'],'height':_0x3f5b83[_0x2cc9f5(0x40d)]});}[_0x1e774e(0x2a4)](_0x30451d){const _0x1fcfc1=_0x1e774e;let {row:_0x589894,column:_0x231e13}=_0x30451d;_0x589894>=this[_0x1fcfc1(0x444)]['startRow']&&_0x589894<=this['_range']['endRow']&&_0x231e13>=this[_0x1fcfc1(0x444)][_0x1fcfc1(0x376)]&&_0x231e13<=this[_0x1fcfc1(0x444)][_0x1fcfc1(0x358)]?this['setShapeProps']({'hovered':!0x0}):this[_0x1fcfc1(0x423)]({'hovered':!0x1});}[_0x1e774e(0x121)](_0x53990c){const _0x59d544=_0x1e774e;this[_0x59d544(0xee)](),this[_0x59d544(0x247)]=!0x0,this['_blinkIntervalTimer']=window[_0x59d544(0x40e)](()=>{const _0x50f99f=_0x59d544;this[_0x50f99f(0x247)]=!this[_0x50f99f(0x247)],this[_0x50f99f(0x103)](!0x0);},0x1f4),this[_0x59d544(0x420)]=window['setTimeout'](()=>{const _0x57a10f=_0x59d544;this[_0x57a10f(0xee)](),this[_0x57a10f(0x247)]=!0x0,this[_0x57a10f(0x103)](!0x0);},_0x53990c*0x3e8);}[_0x1e774e(0xee)](){const _0x1e316a=_0x1e774e;this['_blinkIntervalTimer']&&=(window['clearInterval'](this[_0x1e316a(0x3a8)]),void 0x0),this['_blinkTimer']&&=(window[_0x1e316a(0x3c2)](this['_blinkTimer']),void 0x0);}[_0x1e774e(0x381)](_0x1ec400){return!0x1;}[_0x1e774e(0x102)](){this['_stopBlinking'](),super['dispose']();}[_0x1e774e(0x23f)](_0x59ee61){const _0x62a7f1=_0x1e774e;let _0x14a0c5=this[_0x62a7f1(0x326)],_0x78ec42=this[_0x62a7f1(0x429)];if(this['_highlight']&&!this['_isBlinkVisible']&&(_0x14a0c5=this['_getLighterColor'](this['_color']),_0x78ec42=this[_0x62a7f1(0x429)]?this['_getLighterColor'](this[_0x62a7f1(0x429)]):void 0x0),_0x3f3c56[_0x62a7f1(0x155)][_0x62a7f1(0x126)](_0x59ee61,{'width':this[_0x62a7f1(0x2a1)],'height':this[_0x62a7f1(0x40d)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x14a0c5,'evented':!0x1,'fill':_0x78ec42}),this[_0x62a7f1(0x417)]||this[_0x62a7f1(0x2db)]){_0x59ee61[_0x62a7f1(0x32f)]();let _0x18d3ac=this[_0x62a7f1(0x281)]==='left'?-_0x1f6f66(_0x59ee61,this[_0x62a7f1(0x263)]):this[_0x62a7f1(0x2a1)];_0x59ee61[_0x62a7f1(0x311)](0x1,0x0,0x0,0x1,_0x18d3ac,(this[_0x62a7f1(0x3f4)]===_0x62a7f1(0x2d1)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x35eb46[_0x62a7f1(0x126)](_0x59ee61,{'text':this['_name'],'color':_0x14a0c5}),_0x59ee61[_0x62a7f1(0x19f)]();}}[_0x1e774e(0x443)](_0x5ddd32){const _0x18df5b=_0x1e774e;return _0x5ddd32[_0x18df5b(0xec)]('#')?'rgba('+Number[_0x18df5b(0x239)](_0x5ddd32['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x18df5b(0x239)](_0x5ddd32[_0x18df5b(0x354)](0x3,0x5),0x10)+',\x20'+Number[_0x18df5b(0x239)](_0x5ddd32[_0x18df5b(0x354)](0x5,0x7),0x10)+_0x18df5b(0x179):_0x5ddd32['startsWith']('rgba')?_0x5ddd32['replace'](/[\d.]+\)$/g,_0x18df5b(0x38d)):_0x5ddd32['startsWith'](_0x18df5b(0x1d9))?_0x5ddd32[_0x18df5b(0x2f8)](_0x18df5b(0x1d9),_0x18df5b(0x300))[_0x18df5b(0x2f8)](')',_0x18df5b(0x179)):_0x5ddd32;}};let _0x4395ce=class extends _0x4b216b[_0x1e774e(0x1bc)]{constructor(_0x5a7d95,_0x2346e9,_0x41550c,_0x1065c8){const _0x1d4f51=_0x1e774e;super(),this[_0x1d4f51(0x1ed)]=_0x5a7d95,this['_sheetSkeletonManagerService']=_0x2346e9,this[_0x1d4f51(0x436)]=_0x41550c,this[_0x1d4f51(0x411)]=_0x1065c8,_0x544f9f(this,_0x1d4f51(0x1d8),new Set()),_0x544f9f(this,_0x1d4f51(0x379),null),_0x544f9f(this,_0x1d4f51(0x335),null),this[_0x1d4f51(0x12a)]();}['_init'](){const _0x4fe1d0=_0x1e774e;this[_0x4fe1d0(0x23b)][_0x4fe1d0(0x22c)]['pipe']((0x0,_0x50727f['takeUntil'])(this[_0x4fe1d0(0x1b7)]),(0x0,_0x50727f[_0x4fe1d0(0x1c0)])(_0x5298fa=>{const _0x2d9e94=_0x4fe1d0;if(_0x5298fa){let _0x2bc93d=_0x5298fa[_0x2d9e94(0x3c6)];return(0x0,_0x5b1cc1['combineLatest'])(this['_collabCursorController'][_0x2d9e94(0x22d)](this['_context'][_0x2d9e94(0x40b)]),this['_themeService'][_0x2d9e94(0x26c)])[_0x2d9e94(0x3fb)]((0x0,_0x50727f[_0x2d9e94(0x2b5)])(([_0x51b07f,_0x5608fd])=>{let _0x451492=new Map();return _0x51b07f['forEach']((_0x32f322,_0x133870)=>{const _0x21d9d7=_0x50cf;if(_0x32f322[_0x21d9d7(0x418)]===_0x2bc93d){let _0xc96ab8={..._0x32f322};_0xc96ab8[_0x21d9d7(0x1db)]=this[_0x21d9d7(0x411)]['getColorFromTheme'](_0x32f322['color']),_0x451492[_0x21d9d7(0x363)](_0x133870,_0xc96ab8);}}),{'skeleton':_0x5298fa,'cursors':_0x451492};}));}return(0x0,_0x5b1cc1['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3de648,cursors:_0x480d24})=>{const _0x1b7ed6=_0x4fe1d0;this[_0x1b7ed6(0x280)](),_0x3de648&&this['_updateCollabCursors'](_0x3de648,_0x480d24);}),this[_0x4fe1d0(0x109)](this[_0x4fe1d0(0x23b)][_0x4fe1d0(0x22c)][_0x4fe1d0(0x3fb)]((0x0,_0x50727f[_0x4fe1d0(0x2cc)])(this[_0x4fe1d0(0x1b7)]))[_0x4fe1d0(0x42d)](_0x2753c4=>{const _0x58d411=_0x4fe1d0;var _0x58666d;if(_0x2753c4==null)return;(_0x58666d=this['_pointerMoveDisposable'])==null||_0x58666d[_0x58d411(0x29d)](),this['_pointerMoveDisposable']=null;let {skeleton:_0x284c30}=_0x2753c4,{scene:_0x53784c}=this['_context'];this[_0x58d411(0x335)]=_0x53784c[_0x58d411(0x364)][_0x58d411(0x1c1)]((0x0,_0x4b216b[_0x58d411(0x214)])(_0x9acec6=>{const _0x1ef13b=_0x58d411;var _0x5e8c1b,_0x1cb73e;let {offsetX:_0xd13063,offsetY:_0x27ba64}=_0x9acec6,{x:_0x4e381b,y:_0x1c9174}=_0x53784c[_0x1ef13b(0x3e3)](_0x3f3c56['Vector2'][_0x1ef13b(0x142)]([_0xd13063,_0x27ba64])),{scaleX:_0x42bdff,scaleY:_0x5d060b}=_0x53784c[_0x1ef13b(0x1da)](),_0x284529=_0x53784c[_0x1ef13b(0x100)](_0x3f3c56[_0x1ef13b(0x3f0)][_0x1ef13b(0x2e4)]),_0xa67e42=_0x53784c[_0x1ef13b(0x18f)](_0x3f3c56[_0x1ef13b(0x10d)][_0x1ef13b(0x142)]([_0x4e381b,_0x1c9174]),_0x284529),_0x5a206d=_0x284c30['getCellIndexByOffset'](_0xd13063,_0x27ba64,_0x42bdff,_0x5d060b,_0xa67e42);(((_0x5e8c1b=this[_0x1ef13b(0x379)])==null?void 0x0:_0x5e8c1b[_0x1ef13b(0x2f4)])!==_0x5a206d[_0x1ef13b(0x2f4)]||((_0x1cb73e=this[_0x1ef13b(0x379)])==null?void 0x0:_0x1cb73e[_0x1ef13b(0x1a9)])!==_0x5a206d[_0x1ef13b(0x1a9)])&&this[_0x1ef13b(0x1d8)][_0x1ef13b(0x1f1)](_0x5eba32=>{const _0x424457=_0x1ef13b;_0x5eba32[_0x424457(0x2a4)](_0x5a206d);});},0x64));})),this[_0x4fe1d0(0x109)]((0x0,_0x4b216b[_0x4fe1d0(0x199)])(()=>{const _0x5038da=_0x4fe1d0;var _0xf3ba42;(_0xf3ba42=this[_0x5038da(0x335)])==null||_0xf3ba42[_0x5038da(0x29d)](),this[_0x5038da(0x335)]=null;}));}['_updateCollabCursors'](_0x12ffc6,_0x1ecfc2){const _0x5d3cfe=_0x1e774e;let _0x33b004=this['_sheetSkeletonManagerService']['getCurrentSkeleton']();if(!_0x33b004)return;let _0x4a1bcf=this['_getSheetObject']();if(!_0x4a1bcf)return;this['_cursors'][_0x5d3cfe(0x1f1)](_0x5d8a3d=>{const _0x537704=_0x5d3cfe;_0x5d8a3d[_0x537704(0x103)]();});let {scene:_0x18bff6}=_0x4a1bcf,_0x13d500=_0x399f1d(Array[_0x5d3cfe(0x227)](_0x1ecfc2[_0x5d3cfe(0x212)]()))[_0x5d3cfe(0x2b5)](_0x3d9d0c=>{const _0x3bf613=_0x5d3cfe;let {color:_0x43df8e,range:_0x240cc9,name:_0x367db5,selection:_0x4e0a9f,sheetID:_0x4fdb6f}=_0x3d9d0c,{startColumn:_0x3aed54,startRow:_0x33771c,endColumn:_0x39ca90,endRow:_0x59ea14}=_0x240cc9,_0x2715ed=(0x0,_0x4c2276[_0x3bf613(0x330)])(_0x33771c,_0x3aed54,_0x18bff6,_0x33b004),_0x1dd31a=(0x0,_0x4c2276[_0x3bf613(0x330)])(_0x59ea14,_0x39ca90,_0x18bff6,_0x33b004),{columnHeaderHeightAndMarginTop:_0x5b85eb}=_0x33b004,{startX:_0x53d310,startY:_0x58c974}=_0x2715ed,{endX:_0x5aa2f6,endY:_0x15e2d2}=_0x1dd31a,_0x249bdd=_0x5aa2f6-_0x53d310,_0x19860b=_0x15e2d2-_0x58c974;return new _0x2927aa(_0x367db5,{'labelPosition':_0x58c974-_0x5b85eb>=0x14?'top':_0x3bf613(0x2d1),'sheetID':_0x4fdb6f,'range':_0x240cc9,'color':_0x43df8e,'name':_0x367db5,'selection':_0x4e0a9f,'left':_0x53d310,'top':_0x58c974,'width':_0x249bdd,'height':_0x19860b,'evented':!0x1,'zIndex':0x1389});});_0x18bff6[_0x5d3cfe(0x43b)](_0x13d500,0x1),this[_0x5d3cfe(0x1d8)]=new Set(_0x13d500);}[_0x1e774e(0x280)](){const _0x5f1959=_0x1e774e;var _0x4451c1;(_0x4451c1=this[_0x5f1959(0x1d8)])==null||_0x4451c1[_0x5f1959(0x1f1)](_0x2225ef=>_0x2225ef[_0x5f1959(0x102)]());}['_getSheetObject'](){const _0x211f77=_0x1e774e;return(0x0,_0x4c2276[_0x211f77(0x1fe)])(this[_0x211f77(0x1ed)][_0x211f77(0x139)],this[_0x211f77(0x1ed)]);}};_0x4395ce=_0x395511([_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4c2276[_0x1e774e(0x163)])),_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x50ef3b)),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x240)]))],_0x4395ce);function _0x399f1d(_0x238858){const _0x3fecdd=_0x1e774e;let _0x462fc9=new Map();return _0x238858[_0x3fecdd(0x1f1)](_0x19d84b=>{const _0xbbf461=_0x3fecdd;if(_0x462fc9[_0xbbf461(0x229)](_0x19d84b['selection'])){let _0x4a60bc=_0x462fc9[_0xbbf461(0x2d2)](_0x19d84b['selection']);_0x4a60bc['name']+=',\x20'+_0x19d84b['name'];}else _0x462fc9[_0xbbf461(0x363)](_0x19d84b[_0xbbf461(0x13e)],_0x19d84b);}),Array['from'](_0x462fc9['values']());}function _0x10c390(_0x18ce6f){return typeof _0x18ce6f=='object'&&!!_0x18ce6f;}function _0x4d6dc1(_0x7432ad){const _0x24dc2f=_0x1e774e;return _0x7432ad[_0x24dc2f(0x402)]===_0x42298e[_0x24dc2f(0x355)][_0x24dc2f(0x265)]&&_0x24dc2f(0x2e2)in _0x7432ad&&_0x10c390(_0x7432ad[_0x24dc2f(0x2e2)])&&typeof _0x7432ad[_0x24dc2f(0x2e2)][_0x24dc2f(0x3a7)]==_0x24dc2f(0x2f3)&&typeof _0x7432ad['data'][_0x24dc2f(0x13e)]==_0x24dc2f(0x2f3);}function _0x3179ba(_0x419fc0){const _0x3585ab=_0x1e774e;return _0x419fc0[_0x3585ab(0x402)]===_0x42298e['CollaborationEvent'][_0x3585ab(0x39c)]&&_0x3585ab(0x2e2)in _0x419fc0&&_0x10c390(_0x419fc0[_0x3585ab(0x2e2)])&&typeof _0x419fc0[_0x3585ab(0x2e2)][_0x3585ab(0x3a7)]==_0x3585ab(0x2f3);}function _0x4faa79(_0x4a8d7f,_0x43daaf){const _0x50743b=_0x1e774e;let _0x3e7af1;try{_0x3e7af1=JSON['parse'](_0x4a8d7f);}catch{return null;}if(!_0x10c390(_0x3e7af1)||typeof _0x3e7af1[_0x50743b(0x25c)]!=_0x50743b(0x2f3)||typeof _0x3e7af1['unitId']!=_0x50743b(0x2f3)||typeof _0x3e7af1[_0x50743b(0x359)]!=_0x50743b(0x2f3))return null;let _0x18b6d3=typeof _0x3e7af1[_0x50743b(0x41c)]==_0x50743b(0x141)?_0x3e7af1[_0x50743b(0x41c)]:_0x43daaf;if(_0x18b6d3==null)return null;let _0x5c1e9f=_0x10c390(_0x3e7af1[_0x50743b(0x143)])&&typeof _0x3e7af1['pointer']['x']==_0x50743b(0x141)&&Number[_0x50743b(0x333)](_0x3e7af1['pointer']['x'])&&typeof _0x3e7af1['pointer']['y']==_0x50743b(0x141)&&Number[_0x50743b(0x333)](_0x3e7af1[_0x50743b(0x143)]['y'])?{'x':_0x3e7af1[_0x50743b(0x143)]['x'],'y':_0x3e7af1[_0x50743b(0x143)]['y']}:null;return{'kind':_0x3e7af1[_0x50743b(0x25c)],'unitType':_0x18b6d3,'unitId':_0x3e7af1[_0x50743b(0x40b)],'subUnitId':_0x3e7af1[_0x50743b(0x359)],'selectedIds':Array[_0x50743b(0x24e)](_0x3e7af1[_0x50743b(0x43f)])?_0x3e7af1['selectedIds'][_0x50743b(0x3d3)](_0x4bde10=>typeof _0x4bde10==_0x50743b(0x2f3)):[],'focusedId':typeof _0x3e7af1[_0x50743b(0x287)]==_0x50743b(0x2f3)?_0x3e7af1['focusedId']:null,'pointer':_0x5c1e9f};}function _0x72ec85(_0x540574,_0x371b18,_0x21b3b2){const _0x136079=_0x1e774e;return{'kind':_0x371b18,'unitType':_0x540574,'unitId':_0x21b3b2[_0x136079(0x40b)],'subUnitId':_0x21b3b2['subUnitId'],'selectedIds':Array[_0x136079(0x227)](_0x21b3b2[_0x136079(0x43f)]),'focusedId':_0x21b3b2[_0x136079(0x287)],'pointer':_0x21b3b2[_0x136079(0x143)]?{..._0x21b3b2[_0x136079(0x143)]}:null};}let _0xcf7626=class extends _0x4b216b['RxDisposable']{constructor(_0x53444e,_0x10890b,_0x4eb083,_0x4617aa,_0x421a3d,_0x2889f6){const _0x2bfadf=_0x1e774e;super(),this[_0x2bfadf(0x40b)]=_0x53444e,this['_session']=_0x10890b,this['_adapter']=_0x4eb083,this[_0x2bfadf(0x356)]=_0x4617aa,this[_0x2bfadf(0x189)]=_0x421a3d,this[_0x2bfadf(0x339)]=_0x2889f6,_0x544f9f(this,_0x2bfadf(0x123),!0x1),_0x544f9f(this,_0x2bfadf(0x1e0),!0x1);}get['unitType'](){const _0x556827=_0x1e774e;return this[_0x556827(0xe8)][_0x556827(0x41c)];}[_0x1e774e(0x102)](){const _0x30ab64=_0x1e774e;this[_0x30ab64(0x12c)](),super[_0x30ab64(0x102)]();}['init'](){const _0x2206c3=_0x1e774e;this[_0x2206c3(0x1e0)]||(this[_0x2206c3(0x1e0)]=!0x0,this[_0x2206c3(0x32a)][_0x2206c3(0x3e6)][_0x2206c3(0x3fb)]((0x0,_0x5b1cc1[_0x2206c3(0x2cc)])(this['dispose$']))['subscribe'](_0x4ac5a9=>{const _0x1b0d99=_0x2206c3;if(_0x4ac5a9===_0x1251ce['SessionStatus'][_0x1b0d99(0x2f6)]){this[_0x1b0d99(0x123)]=!0x0;let _0x259f69=this[_0x1b0d99(0xe8)][_0x1b0d99(0x2ae)](this[_0x1b0d99(0x40b)]);_0x259f69&&this['_sendLocalPresence'](_0x259f69);}else this['_online']=!0x1,this[_0x1b0d99(0x12c)]();}),this[_0x2206c3(0x32a)][_0x2206c3(0x12e)][_0x2206c3(0x3fb)]((0x0,_0x5b1cc1[_0x2206c3(0x2cc)])(this[_0x2206c3(0x1b7)]))[_0x2206c3(0x42d)](_0x3aebad=>{const _0x18b450=_0x2206c3;_0x4d6dc1(_0x3aebad)?this[_0x18b450(0xf5)](_0x3aebad):_0x3179ba(_0x3aebad)&&this[_0x18b450(0x302)](_0x3aebad[_0x18b450(0x2e2)]['memberID']);}),this[_0x2206c3(0xe8)]['localPresence$'][_0x2206c3(0x3fb)]((0x0,_0x5b1cc1['filter'])(_0x2a5718=>this['_online']&&_0x2a5718[_0x2206c3(0x40b)]===this[_0x2206c3(0x40b)]),(0x0,_0x5b1cc1[_0x2206c3(0x2fb)])(_0x1a0965=>(0x0,_0x5b1cc1[_0x2206c3(0x2a5)])(_0x1a0965[_0x2206c3(0xde)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x5b1cc1[_0x2206c3(0x2cc)])(this[_0x2206c3(0x1b7)]))['subscribe'](_0x423e70=>this['_sendLocalPresence'](_0x423e70)));}['_sendLocalPresence'](_0x421382){const _0x16800c=_0x1e774e;let _0x20c5e6=this[_0x16800c(0x32a)][_0x16800c(0x1f9)]();if(!_0x20c5e6||!this[_0x16800c(0x123)])return;let _0x16f8a7={'eventID':_0x42298e['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x16800c(0x40b)],'memberID':_0x20c5e6,'selection':JSON[_0x16800c(0xdd)](_0x72ec85(this[_0x16800c(0x41c)],this[_0x16800c(0xe8)]['presenceKind'],_0x421382))}};this[_0x16800c(0x32a)][_0x16800c(0x37b)](_0x16f8a7,this[_0x16800c(0x40b)])[_0x16800c(0x1b3)](()=>void 0x0);}[_0x1e774e(0xf5)](_0x5372b0){const _0x31137f=_0x1e774e;let {memberID:_0x11b636,selection:_0x51920c}=_0x5372b0[_0x31137f(0x2e2)];if(_0x11b636===this[_0x31137f(0x32a)][_0x31137f(0x1f9)]())return;let _0x46f47e=_0x4faa79(_0x51920c,this[_0x31137f(0x41c)]);if(!_0x46f47e||_0x46f47e[_0x31137f(0x25c)]!==this[_0x31137f(0xe8)][_0x31137f(0x152)]||_0x46f47e[_0x31137f(0x41c)]!==this['unitType']||_0x46f47e['unitId']!==this[_0x31137f(0x40b)])return;let _0xfaec85=this[_0x31137f(0x189)][_0x31137f(0x3bf)](this[_0x31137f(0x40b)],_0x11b636),_0xa3a978={'unitId':_0x46f47e[_0x31137f(0x40b)],'subUnitId':_0x46f47e[_0x31137f(0x359)],'selectedIds':_0x46f47e[_0x31137f(0x43f)],'focusedId':_0x46f47e['focusedId'],'pointer':_0x46f47e[_0x31137f(0x143)],'memberId':_0x11b636,'color':this[_0x31137f(0x356)][_0x31137f(0x29b)](_0x11b636),'name':(_0xfaec85==null?void 0x0:_0xfaec85[_0x31137f(0xe7)])??_0x11b636};this[_0x31137f(0x339)][_0x31137f(0x291)](_0x4b7a25['id'],{'unitType':this[_0x31137f(0x41c)],'update':{'type':_0x31137f(0x363),'state':_0xa3a978}})[_0x31137f(0x1b3)](()=>void 0x0);}[_0x1e774e(0x302)](_0x5aa599){const _0x4a06c5=_0x1e774e;this[_0x4a06c5(0x339)][_0x4a06c5(0x291)](_0x4b7a25['id'],{'unitType':this[_0x4a06c5(0x41c)],'update':{'type':_0x4a06c5(0x198),'unitId':this[_0x4a06c5(0x40b)],'memberId':_0x5aa599}})[_0x4a06c5(0x1b3)](()=>void 0x0);}[_0x1e774e(0x12c)](){const _0x582812=_0x1e774e;this[_0x582812(0x339)][_0x582812(0x291)](_0x4b7a25['id'],{'unitType':this[_0x582812(0x41c)],'update':{'type':_0x582812(0x348),'unitId':this['unitId']}})[_0x582812(0x1b3)](()=>void 0x0);}};_0xcf7626=_0x395511([_0x4d56f5(0x3,(0x0,_0x4b216b['Inject'])(_0x2937b1)),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce[_0x1e774e(0x101)])),_0x4d56f5(0x5,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x310)]))],_0xcf7626);let _0x23e74a=class extends _0x4b216b[_0x1e774e(0x1bc)]{constructor(_0x468cc9,_0x46fb60,_0x30d50a,_0x4eae17){const _0x17da1f=_0x1e774e;super(),this[_0x17da1f(0x1a6)]=_0x468cc9,this[_0x17da1f(0x15c)]=_0x46fb60,this['_collabSessionService']=_0x30d50a,this['_adapterRegistry']=_0x4eae17,_0x544f9f(this,_0x17da1f(0xfb),!0x1),_0x544f9f(this,_0x17da1f(0x30f),new Map()),_0x544f9f(this,_0x17da1f(0x1ef),new Map()),_0x544f9f(this,_0x17da1f(0x231),new Map()),this['_init']();}[_0x1e774e(0x102)](){const _0x194743=_0x1e774e;this['_isDisposed']=!0x0,this[_0x194743(0x231)]['forEach'](_0x155627=>_0x155627[_0x194743(0x102)]()),this[_0x194743(0x231)][_0x194743(0x348)](),this[_0x194743(0x30f)][_0x194743(0x1f1)](_0x5531df=>_0x5531df[_0x194743(0x102)]()),this[_0x194743(0x30f)][_0x194743(0x348)](),this['_pendingEntities'][_0x194743(0x348)](),super[_0x194743(0x102)]();}[_0x1e774e(0x12a)](){const _0x3073ff=_0x1e774e;this[_0x3073ff(0x15a)][_0x3073ff(0x1ac)][_0x3073ff(0x3fb)]((0x0,_0x5b1cc1[_0x3073ff(0x2cc)])(this[_0x3073ff(0x1b7)]))[_0x3073ff(0x42d)](_0x562bd9=>this[_0x3073ff(0x3d0)](_0x562bd9));}[_0x1e774e(0x3d0)](_0x513eb6){const _0x2afa43=_0x1e774e;let _0x196ff6=new Set(_0x513eb6[_0x2afa43(0x2b5)](_0x202bf7=>_0x202bf7[_0x2afa43(0x41c)]));this['_adapterDisposables'][_0x2afa43(0x1f1)]((_0x408cad,_0x2fb07b)=>{const _0x22b115=_0x2afa43;_0x196ff6['has'](_0x2fb07b)||(_0x408cad[_0x22b115(0x102)](),this['_adapterDisposables'][_0x22b115(0x410)](_0x2fb07b),this['_disposeEntitiesForType'](_0x2fb07b));}),_0x513eb6[_0x2afa43(0x1f1)](_0x5c6d1a=>{const _0x2a9eae=_0x2afa43;this['_adapterDisposables'][_0x2a9eae(0x229)](_0x5c6d1a[_0x2a9eae(0x41c)])||this[_0x2a9eae(0x312)](_0x5c6d1a);});}[_0x1e774e(0x312)](_0x38f220){const _0x4ee4ab=_0x1e774e;let _0x11882a=new _0x4b216b[(_0x4ee4ab(0x425))]();this[_0x4ee4ab(0x231)][_0x4ee4ab(0x363)](_0x38f220['unitType'],_0x11882a),_0x11882a[_0x4ee4ab(0x399)](_0x38f220[_0x4ee4ab(0x386)]()),this[_0x4ee4ab(0x1a6)][_0x4ee4ab(0x235)](_0x38f220[_0x4ee4ab(0x41c)])[_0x4ee4ab(0x1f1)](_0x1d738b=>this['_startEntity'](_0x1d738b[_0x4ee4ab(0x1d2)](),_0x38f220)[_0x4ee4ab(0x1b3)](()=>void 0x0));let _0x17bc64=this[_0x4ee4ab(0x1a6)][_0x4ee4ab(0x3e5)](_0x38f220['unitType'])[_0x4ee4ab(0x42d)](({unit:_0x3daa35})=>this['_startEntity'](_0x3daa35['getUnitId'](),_0x38f220)[_0x4ee4ab(0x1b3)](()=>void 0x0));_0x11882a[_0x4ee4ab(0x399)]((0x0,_0x4b216b[_0x4ee4ab(0x199)])(()=>_0x17bc64['unsubscribe']()));let _0xe8e6b4=this[_0x4ee4ab(0x1a6)][_0x4ee4ab(0x345)](_0x38f220[_0x4ee4ab(0x41c)])[_0x4ee4ab(0x42d)](_0x1cd097=>this[_0x4ee4ab(0x3af)](_0x1cd097[_0x4ee4ab(0x1d2)]()));_0x11882a[_0x4ee4ab(0x399)]((0x0,_0x4b216b[_0x4ee4ab(0x199)])(()=>_0xe8e6b4['unsubscribe']()));}async['_startEntity'](_0x5e43a3,_0x2dfa47){const _0x3fd3d9=_0x1e774e;if(this[_0x3fd3d9(0x30f)][_0x3fd3d9(0x229)](_0x5e43a3)||this[_0x3fd3d9(0x1ef)][_0x3fd3d9(0x229)](_0x5e43a3))return;let _0x4ac91a={};this['_pendingEntities'][_0x3fd3d9(0x363)](_0x5e43a3,_0x4ac91a);let _0xa45525=await this['_collabSessionService'][_0x3fd3d9(0x1e7)](_0x5e43a3)[_0x3fd3d9(0x1b3)](_0x1a1242=>{const _0x3b6f11=_0x3fd3d9;throw this[_0x3b6f11(0x1ef)][_0x3b6f11(0x2d2)](_0x5e43a3)===_0x4ac91a&&this[_0x3b6f11(0x1ef)][_0x3b6f11(0x410)](_0x5e43a3),_0x1a1242;});if(this[_0x3fd3d9(0xfb)]||this[_0x3fd3d9(0x1ef)][_0x3fd3d9(0x2d2)](_0x5e43a3)!==_0x4ac91a||this[_0x3fd3d9(0x15a)]['get'](_0x2dfa47[_0x3fd3d9(0x41c)])!==_0x2dfa47){this['_pendingEntities'][_0x3fd3d9(0x2d2)](_0x5e43a3)===_0x4ac91a&&this['_pendingEntities']['delete'](_0x5e43a3);return;}let _0x5e4a59=this['_injector'][_0x3fd3d9(0x1de)](_0xcf7626,_0x5e43a3,_0xa45525,_0x2dfa47);_0x5e4a59[_0x3fd3d9(0x3b2)](),this[_0x3fd3d9(0x1ef)][_0x3fd3d9(0x410)](_0x5e43a3),this['_entities']['set'](_0x5e43a3,_0x5e4a59);}[_0x1e774e(0x3af)](_0x18e186){const _0x169b1e=_0x1e774e;this['_pendingEntities'][_0x169b1e(0x410)](_0x18e186);let _0x4b571c=this[_0x169b1e(0x30f)][_0x169b1e(0x2d2)](_0x18e186);_0x4b571c&&(_0x4b571c[_0x169b1e(0x102)](),this['_entities'][_0x169b1e(0x410)](_0x18e186));}[_0x1e774e(0x2ba)](_0x275f64){const _0x2fc5ed=_0x1e774e;this[_0x2fc5ed(0x1a6)][_0x2fc5ed(0x235)](_0x275f64)['forEach'](_0x52c28f=>this['_pendingEntities'][_0x2fc5ed(0x410)](_0x52c28f['getUnitId']())),Array[_0x2fc5ed(0x227)](this[_0x2fc5ed(0x30f)][_0x2fc5ed(0x117)]())[_0x2fc5ed(0x1f1)](([_0xce86cf,_0x15740a])=>{const _0x41dcc3=_0x2fc5ed;_0x15740a[_0x41dcc3(0x41c)]===_0x275f64&&this[_0x41dcc3(0x3af)](_0xce86cf);});}};_0x23e74a=_0x395511([_0x4d56f5(0x0,_0x4b216b['IUniverInstanceService']),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b['Injector'])),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce['CollaborationSessionService'])),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x3435d1[_0x1e774e(0x29a)]))],_0x23e74a);let _0x4f28ef={'toast':_0x1e774e(0x3b5),'actionButton':_0x1e774e(0x2fe)},_0x1db576=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(_0x4a3db5,_0x131c4d,_0x2a70d3,_0x454fe2,_0x353819,_0xe78a04,_0x31e32d,_0x58211a){const _0x38c464=_0x1e774e;var _0x17dafe;super(),this[_0x38c464(0x316)]=_0x4a3db5,this[_0x38c464(0x108)]=_0x131c4d,this[_0x38c464(0x3eb)]=_0x2a70d3,this[_0x38c464(0x3ae)]=_0x454fe2,this[_0x38c464(0x130)]=_0x353819,this[_0x38c464(0x329)]=_0xe78a04,this['_collaborationController']=_0x31e32d,this['_configService']=_0x58211a,_0x544f9f(this,_0x38c464(0x2df),null),_0x544f9f(this,'_retryingConflictCacheUnitIDs',new Set()),_0x544f9f(this,_0x38c464(0x1eb),new Map()),this[_0x38c464(0x433)](),this[_0x38c464(0x340)](),this[_0x38c464(0x38b)](),((_0x17dafe=this['_configService'][_0x38c464(0x424)](_0x38c464(0x156)))==null?void 0x0:_0x17dafe[_0x38c464(0x12f)])!==!0x1&&this['_initConflictHandling']();}[_0x1e774e(0x102)](){const _0x4b45ce=_0x1e774e;var _0x347085;(_0x347085=this['_conflictNotification'])==null||_0x347085[_0x4b45ce(0x102)](),this[_0x4b45ce(0x2df)]=null,this[_0x4b45ce(0x1eb)][_0x4b45ce(0x1f1)](_0x570316=>_0x570316[_0x4b45ce(0x102)]()),this[_0x4b45ce(0x1eb)][_0x4b45ce(0x348)](),super['dispose']();}[_0x1e774e(0x38b)](){const _0x4c3dc2=_0x1e774e;let _0x4e68e4=_0x1a2302=>{const _0x50186a=_0x50cf;let _0xdfdc89=new _0x4b216b[(_0x50186a(0x425))]();_0xdfdc89[_0x50186a(0x399)]((0x0,_0x4b216b[_0x50186a(0x199)])(_0x1a2302[_0x50186a(0x21e)][_0x50186a(0x42d)]({'next':_0x43679c=>{const _0x37f4de=_0x50186a;_0x43679c[_0x37f4de(0x3c1)]>=0x4e20&&this[_0x37f4de(0x2e8)](_0x1a2302['unitID']);},'complete':()=>{const _0x2b4a6e=_0x50186a;this[_0x2b4a6e(0x1f5)](_0x1a2302[_0x2b4a6e(0x337)]),_0xdfdc89[_0x2b4a6e(0x102)]();}}))),_0xdfdc89[_0x50186a(0x399)]((0x0,_0x4b216b[_0x50186a(0x199)])(_0x1a2302['status$']['subscribe'](_0x2833fe=>{const _0x2e0d2c=_0x50186a;_0x2833fe!==_0x1251ce['CollaborationStatus']['AWAITING']&&_0x2833fe!==_0x1251ce[_0x2e0d2c(0x24a)][_0x2e0d2c(0x29c)]&&this[_0x2e0d2c(0x1f5)](_0x1a2302[_0x2e0d2c(0x337)]);}))),this[_0x50186a(0x109)](_0xdfdc89);};this[_0x4c3dc2(0x10f)][_0x4c3dc2(0x1a8)]()[_0x4c3dc2(0x1f1)](_0x4e68e4),this[_0x4c3dc2(0x109)]((0x0,_0x4b216b[_0x4c3dc2(0x199)])(this[_0x4c3dc2(0x10f)][_0x4c3dc2(0x3f8)][_0x4c3dc2(0x42d)](_0x4e68e4)));}['_showSaveTimedOutMessage'](_0x3b2469){const _0x3c06a8=_0x1e774e;this[_0x3c06a8(0x1eb)]['has'](_0x3b2469)||this['_saveTimedOutMessages']['set'](_0x3b2469,this['_notificationService']['show']({'title':this[_0x3c06a8(0x329)]['t'](_0x3c06a8(0x1e4)),'type':_0x3c06a8(0x2bd),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x1e774e(0x1f5)](_0x559da7){const _0x48e531=_0x1e774e;var _0x38c7e9;(_0x38c7e9=this[_0x48e531(0x1eb)][_0x48e531(0x2d2)](_0x559da7))==null||_0x38c7e9[_0x48e531(0x102)](),this['_saveTimedOutMessages'][_0x48e531(0x410)](_0x559da7);}[_0x1e774e(0x433)](){const _0x1c6fb3=_0x1e774e;this[_0x1c6fb3(0x109)](this['_beforeCloseService'][_0x1c6fb3(0x120)](()=>{const _0x400f57=_0x1c6fb3;if(this[_0x400f57(0x108)]['saveTaskMap'][_0x400f57(0x215)])return this[_0x400f57(0x329)]['t'](_0x400f57(0x308));}));}[_0x1e774e(0x415)](){const _0x4a06f1=_0x1e774e;let _0x4bf54a=_0x2ba018=>{const _0x11cd12=_0x50cf;this['disposeWithMe']((0x0,_0x4b216b[_0x11cd12(0x199)])(_0x2ba018['conflict$'][_0x11cd12(0x42d)](_0x3e4f9f=>this[_0x11cd12(0x160)](_0x3e4f9f))));};this[_0x4a06f1(0x10f)]['getCollabEntities']()[_0x4a06f1(0x1f1)](_0x4bf54a),this[_0x4a06f1(0x109)]((0x0,_0x4b216b[_0x4a06f1(0x199)])(this[_0x4a06f1(0x10f)][_0x4a06f1(0x3f8)][_0x4a06f1(0x42d)](_0x4bf54a)));}[_0x1e774e(0x160)](_0x106c1c){const _0x13bc28=_0x1e774e;if(!_0x106c1c[_0x13bc28(0x2bf)])return;let _0x2917a8=_0x106c1c['reason']==='remote_revert'?_0x13bc28(0x111):_0x106c1c[_0x13bc28(0x3b6)]==='permission_rejected'?'permission':_0x13bc28(0x34e);this[_0x13bc28(0x378)]({'title':this[_0x13bc28(0x329)]['t'](_0x13bc28(0x317)+_0x2917a8+_0x13bc28(0x298)),'content':this['_localeService']['t'](_0x13bc28(0x317)+_0x2917a8+_0x13bc28(0x366)),'type':_0x106c1c['reason']===_0x13bc28(0x20f)?'warning':_0x13bc28(0x2d3),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x4f28ef,'action':{'label':this[_0x13bc28(0x329)]['t'](_0x13bc28(0x34f)),'onClick':_0x304c10=>{const _0xd89bd4=_0x13bc28;_0x304c10[_0xd89bd4(0x292)](),this[_0xd89bd4(0x118)]();}}});}[_0x1e774e(0x118)](){const _0x32b1c3=_0x1e774e;window[_0x32b1c3(0x25d)][_0x32b1c3(0x2b6)]();}[_0x1e774e(0x340)](){const _0x58416e=_0x1e774e;this[_0x58416e(0x109)](this[_0x58416e(0x3eb)][_0x58416e(0x12e)]['subscribe'](_0x540f19=>{const _0x27a03b=_0x58416e;_0x540f19['id']===_0x1251ce[_0x27a03b(0x14c)][_0x27a03b(0x230)]&&this[_0x27a03b(0x3ae)][_0x27a03b(0x186)]({'type':_0x1b63e3['MessageType']['Warning'],'content':this[_0x27a03b(0x329)]['t'](_0x27a03b(0x116))}),_0x540f19['id']===_0x1251ce[_0x27a03b(0x14c)][_0x27a03b(0x346)]&&this[_0x27a03b(0x3ae)][_0x27a03b(0x186)]({'type':_0x1b63e3[_0x27a03b(0x2e3)][_0x27a03b(0x2d4)],'content':this[_0x27a03b(0x329)]['t'](_0x27a03b(0x127))}),_0x540f19['id']===_0x1251ce['CollaborationUIEventId']['CONFLICT_PROCESSING']&&this[_0x27a03b(0x301)](),_0x540f19['id']===_0x1251ce['CollaborationUIEventId']['CONFLICT_CACHE_CLEAR_FAILED']&&_0x540f19[_0x27a03b(0x337)]&&this['_showConflictCacheClearFailedNotification'](_0x540f19[_0x27a03b(0x337)],_0x540f19['userId']??''),_0x540f19['id']===_0x1251ce[_0x27a03b(0x14c)]['JOIN_ROOM_FAILED']&&this[_0x27a03b(0x3ae)][_0x27a03b(0x186)]({'type':_0x1b63e3[_0x27a03b(0x2e3)]['Warning'],'content':this[_0x27a03b(0x329)]['t'](_0x540f19[_0x27a03b(0x2e2)]||'')}),_0x540f19['id']===_0x1251ce[_0x27a03b(0x14c)]['SOCKET_FAILED_RETRY']&&this[_0x27a03b(0x3ae)][_0x27a03b(0x186)]({'type':_0x1b63e3['MessageType'][_0x27a03b(0x2d4)],'content':this[_0x27a03b(0x329)]['t']('collaboration-client-ui.session.will-retry')}),_0x540f19['id']===_0x1251ce[_0x27a03b(0x14c)][_0x27a03b(0x192)]&&this['_messageService'][_0x27a03b(0x186)]({'type':_0x1b63e3[_0x27a03b(0x2e3)][_0x27a03b(0x404)],'content':this[_0x27a03b(0x329)]['t'](_0x27a03b(0x270))});}));}['_showConflictProcessingNotification'](){const _0xc6ad47=_0x1e774e;this[_0xc6ad47(0x378)]({'title':this[_0xc6ad47(0x329)]['t'](_0xc6ad47(0x3ec)),'content':this['_localeService']['t']('collaboration-client-ui.conflict.processing'),'type':_0xc6ad47(0x1c3),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x1e774e(0x442)](_0xa530e7,_0x4af0e1){const _0x494588=_0x1e774e;this[_0x494588(0x378)]({'title':this[_0x494588(0x329)]['t'](_0x494588(0x3ec)),'content':this[_0x494588(0x329)]['t'](_0x494588(0x331)),'type':_0x494588(0x2d3),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x4f28ef,'action':{'label':this[_0x494588(0x329)]['t'](_0x494588(0x2ab)),'onClick':_0x3cbe63=>{const _0x448e32=_0x494588;_0x3cbe63['preventDefault'](),this[_0x448e32(0x2b8)](_0xa530e7,_0x4af0e1);}}});}[_0x1e774e(0x2b8)](_0x368209,_0x30acae){const _0x40a78c=_0x1e774e;let _0x1853ee=_0x368209+':'+(_0x30acae??'');this[_0x40a78c(0x2e1)]['has'](_0x1853ee)||(this[_0x40a78c(0x2e1)][_0x40a78c(0x399)](_0x1853ee),this['_showConflictProcessingNotification'](),this[_0x40a78c(0x108)][_0x40a78c(0x33e)](_0x368209,_0x30acae)[_0x40a78c(0x1ad)](()=>this[_0x40a78c(0x118)]())[_0x40a78c(0x1b3)](()=>this[_0x40a78c(0x442)](_0x368209,_0x30acae))[_0x40a78c(0x24c)](()=>this['_retryingConflictCacheUnitIDs'][_0x40a78c(0x410)](_0x1853ee)));}[_0x1e774e(0x378)](_0x5c09f8){const _0x125237=_0x1e774e;var _0x42e4c3;(_0x42e4c3=this[_0x125237(0x2df)])==null||_0x42e4c3['dispose'](),this[_0x125237(0x2df)]=this[_0x125237(0x130)][_0x125237(0x186)](_0x5c09f8);}};_0x1db576=_0x395511([_0x4d56f5(0x0,_0x3435d1[_0x1e774e(0x2c0)]),_0x4d56f5(0x1,_0x1251ce[_0x1e774e(0x328)]),_0x4d56f5(0x2,(0x0,_0x4b216b['Inject'])(_0x1251ce[_0x1e774e(0x2f7)])),_0x4d56f5(0x3,_0x3435d1[_0x1e774e(0x3d5)]),_0x4d56f5(0x4,_0x3435d1[_0x1e774e(0x277)]),_0x4d56f5(0x5,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x390)])),_0x4d56f5(0x6,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce['CollaborationController'])),_0x4d56f5(0x7,_0x4b216b[_0x1e774e(0x13c)])],_0x1db576);let _0x14a287=class{constructor(_0x403b40,_0x5532d5){const _0x311cd6=_0x1e774e;this[_0x311cd6(0x362)]=_0x403b40,this[_0x311cd6(0x2a2)]=_0x5532d5;}[_0x1e774e(0x407)](_0x4abc54){const _0x4e6f84=_0x1e774e;this[_0x4e6f84(0x3db)](_0x4abc54),this[_0x4e6f84(0x2fd)](_0x4abc54);}[_0x1e774e(0x1a3)](_0x4eebac){const _0x4910aa=_0x1e774e;let {unitID:_0x3c3337}=_0x4eebac,{redoCache:_0x27c250}=this[_0x4910aa(0x2a2)][_0x4910aa(0x268)](_0x3c3337)[_0x4910aa(0x2e9)](_0x826638['DocIMEInputManagerService'])[_0x4910aa(0x225)]();if(_0x27c250[_0x4910aa(0x31e)]===0x0)return _0x4eebac;let _0x2a3059=_0x4b216b[_0x4910aa(0x12d)][_0x4910aa(0x3d6)](_0x4eebac['mutations'][0x0]);for(let _0x5a1131=0x0;_0x5a1131<_0x27c250['length'];_0x5a1131++){let _0x1b3d1e={'id':_0x4910aa(0x195),'params':{..._0x27c250[_0x5a1131]}},_0x35bd4e=this['_transformService'][_0x4910aa(0x11f)](_0x2a3059,_0x1b3d1e,!0x1);if((0x0,_0x42298e[_0x4910aa(0x1fc)])(_0x35bd4e))throw _0x35bd4e[_0x4910aa(0x2d3)];_0x2a3059=_0x35bd4e['m1Prime'];}return{..._0x4b216b['Tools'][_0x4910aa(0x3d6)](_0x4eebac),'mutations':[_0x2a3059]};}['_transformUndoRedoStack'](_0x523050){const _0x23a059=_0x1e774e;let {unitID:_0x318464}=_0x523050,_0x1e505b=this[_0x23a059(0x2a2)][_0x23a059(0x268)](_0x318464)[_0x23a059(0x2e9)](_0x826638[_0x23a059(0x2cd)]),{undoCache:_0x27f7ec,redoCache:_0x1ac376}=_0x1e505b[_0x23a059(0x225)]();if(_0x27f7ec[_0x23a059(0x31e)]===0x0||_0x1ac376[_0x23a059(0x31e)]===0x0)return;let _0x201510=[],_0x5c49a8=[],_0xf8e46c=_0x4b216b[_0x23a059(0x12d)]['deepClone'](_0x523050[_0x23a059(0x32d)][0x0]),_0x90d1ab=_0x4b216b['Tools'][_0x23a059(0x3d6)](_0x523050['mutations'][0x0]);for(let _0x5d97db=_0x27f7ec['length']-0x1;_0x5d97db>=0x0;_0x5d97db--){let _0x7f4b90={'id':_0x23a059(0x195),'params':{..._0x27f7ec[_0x5d97db]}},_0xa4d674={'id':_0x23a059(0x195),'params':{..._0x1ac376[_0x5d97db]}},_0x2c2dbe=this['_transformService'][_0x23a059(0x11f)](_0xf8e46c,_0x7f4b90,!0x1),_0x5bd299=this[_0x23a059(0x362)]['transformMutation'](_0x90d1ab,_0xa4d674,!0x1);if((0x0,_0x42298e[_0x23a059(0x1fc)])(_0x2c2dbe))throw _0x2c2dbe[_0x23a059(0x2d3)];if((0x0,_0x42298e[_0x23a059(0x1fc)])(_0x5bd299))throw _0x5bd299[_0x23a059(0x2d3)];_0x201510['unshift'](_0x2c2dbe[_0x23a059(0x11b)]['params']),_0x5c49a8['unshift'](_0x5bd299[_0x23a059(0x11b)]['params']),_0xf8e46c=_0x2c2dbe[_0x23a059(0x1dd)],_0x90d1ab=_0x5bd299[_0x23a059(0x1dd)];}_0x1e505b[_0x23a059(0x3de)]({'undoCache':_0x201510,'redoCache':_0x5c49a8});}[_0x1e774e(0x2fd)](_0x15c068){const _0x10a406=_0x1e774e;let {unitID:_0xb530f4}=_0x15c068,_0x1c4faf=this[_0x10a406(0x2a2)][_0x10a406(0x268)](_0xb530f4)[_0x10a406(0x2e9)](_0x826638[_0x10a406(0x2cd)]),_0x2fc759=_0x1c4faf['getActiveRange']();if(_0x2fc759==null)return;let _0x5ad849=[{'id':_0x10a406(0x195),'params':{'unitId':_0x15c068[_0x10a406(0x337)],'actions':null,'textRanges':[_0x2fc759]}}],_0x309253=this['_transformService'][_0x10a406(0x165)](_0x15c068,_0x5ad849);if(!(0x0,_0x42298e['isTransformMutationsWithChangesetSuccess'])(_0x309253))throw _0x309253[_0x10a406(0x2d3)];let _0x3ecae6=_0x309253[_0x10a406(0x11b)][0x0][_0x10a406(0x2c3)][_0x10a406(0x1a0)];Array[_0x10a406(0x24e)](_0x3ecae6)&&_0x3ecae6[_0x10a406(0x31e)]&&_0x1c4faf[_0x10a406(0x1e9)](_0x3ecae6[0x0]);}};_0x14a287=_0x395511([_0x4d56f5(0x0,_0x42298e[_0x1e774e(0x3bc)]),_0x4d56f5(0x1,_0x3f3c56[_0x1e774e(0x327)])],_0x14a287);let _0x5284de=class{constructor(_0x5662c8,_0x244a2e,_0x584926){const _0x13599b=_0x1e774e;this[_0x13599b(0x15c)]=_0x5662c8,this['_transformService']=_0x244a2e,this[_0x13599b(0x24f)]=_0x584926;}[_0x1e774e(0x350)](_0x3f99c9){const _0x51041b=_0x1e774e;this[_0x51041b(0x35b)](_0x3f99c9);}[_0x1e774e(0x1a3)](_0x470a00){const _0x551bd0=_0x1e774e;let {unitID:_0x4fe1e2}=_0x470a00,{collaboration:_0x5ba8da}=this[_0x551bd0(0x24f)][_0x551bd0(0x246)](_0x4fe1e2);if(_0x5ba8da['length']===0x0)return _0x470a00;let _0x27b303=_0x4b216b['Tools'][_0x551bd0(0x3d6)](_0x470a00[_0x551bd0(0x32d)][0x0]);for(let _0x1c374f=0x0;_0x1c374f<_0x5ba8da['length'];_0x1c374f++){let _0x574ab8={'id':_0x551bd0(0x195),'params':{'unitId':_0x5ba8da[_0x1c374f]['unitId'],..._0x5ba8da[_0x1c374f][_0x551bd0(0x11a)]}},_0x44d04c=this['_transformService'][_0x551bd0(0x11f)](_0x27b303,_0x574ab8,!0x1);if((0x0,_0x42298e[_0x551bd0(0x1fc)])(_0x44d04c))throw _0x44d04c[_0x551bd0(0x2d3)];_0x27b303=_0x44d04c[_0x551bd0(0x1dd)];}return{..._0x4b216b[_0x551bd0(0x12d)][_0x551bd0(0x3d6)](_0x470a00),'mutations':[_0x27b303]};}[_0x1e774e(0x35b)](_0x5860b6){const _0xcf423d=_0x1e774e;let {unitID:_0x2ed9fc}=_0x5860b6,{history:_0x8d1b0a,collaboration:_0x5b8297}=this[_0xcf423d(0x24f)][_0xcf423d(0x246)](_0x2ed9fc);if(_0x8d1b0a[_0xcf423d(0x31e)]===0x0&&_0x5b8297[_0xcf423d(0x31e)]===0x0)return;let _0x4fc8bd=[],_0x574cbb=[],_0x5ac0bc=_0x4b216b['Tools']['deepClone'](_0x5860b6[_0xcf423d(0x32d)][0x0]),_0x549a66=_0x4b216b[_0xcf423d(0x12d)][_0xcf423d(0x3d6)](_0x5860b6[_0xcf423d(0x32d)][0x0]);for(let _0x2df988=_0x8d1b0a[_0xcf423d(0x31e)]-0x1;_0x2df988>=0x0;_0x2df988--){let _0x794567={'id':_0xcf423d(0x195),'params':{'unitId':_0x8d1b0a[_0x2df988]['unitId'],..._0x8d1b0a[_0x2df988][_0xcf423d(0xfa)]}},_0x51a053={'id':_0xcf423d(0x195),'params':{'unitId':_0x8d1b0a[_0x2df988]['unitId'],..._0x8d1b0a[_0x2df988]['redoState']}},_0x38b291=this['_transformService'][_0xcf423d(0x11f)](_0x5ac0bc,_0x794567,!0x1),_0x393250=this[_0xcf423d(0x362)][_0xcf423d(0x11f)](_0x549a66,_0x51a053,!0x1);if((0x0,_0x42298e['isTransformMutationFailure'])(_0x38b291))throw _0x38b291[_0xcf423d(0x2d3)];if((0x0,_0x42298e[_0xcf423d(0x1fc)])(_0x393250))throw _0x393250[_0xcf423d(0x2d3)];_0x4fc8bd[_0xcf423d(0x18b)]({..._0x8d1b0a[_0x2df988],'undoState':_0x38b291[_0xcf423d(0x11b)]['params'],'redoState':_0x393250[_0xcf423d(0x11b)]['params']}),_0x5ac0bc=_0x38b291[_0xcf423d(0x1dd)],_0x549a66=_0x393250[_0xcf423d(0x1dd)];}_0x5ac0bc=_0x4b216b['Tools'][_0xcf423d(0x3d6)](_0x5860b6['mutations'][0x0]),_0x549a66=_0x4b216b[_0xcf423d(0x12d)][_0xcf423d(0x3d6)](_0x5860b6[_0xcf423d(0x32d)][0x0]);for(let _0x23ef0e=_0x5b8297[_0xcf423d(0x31e)]-0x1;_0x23ef0e>=0x0;_0x23ef0e--){let _0x395641={'id':_0xcf423d(0x195),'params':{'unitId':_0x5b8297[_0x23ef0e][_0xcf423d(0x40b)],..._0x5b8297[_0x23ef0e][_0xcf423d(0xfa)]}},_0x123894={'id':_0xcf423d(0x195),'params':{'unitId':_0x5b8297[_0x23ef0e][_0xcf423d(0x40b)],..._0x5b8297[_0x23ef0e]['redoState']}},_0x79358b=this[_0xcf423d(0x362)][_0xcf423d(0x11f)](_0x5ac0bc,_0x395641,!0x1),_0x3c32eb=this['_transformService'][_0xcf423d(0x11f)](_0x549a66,_0x123894,!0x1);if((0x0,_0x42298e[_0xcf423d(0x1fc)])(_0x79358b))throw _0x79358b[_0xcf423d(0x2d3)];if((0x0,_0x42298e[_0xcf423d(0x1fc)])(_0x3c32eb))throw _0x3c32eb['error'];_0x574cbb[_0xcf423d(0x18b)]({..._0x5b8297[_0x23ef0e],'undoState':_0x79358b['m2Prime'][_0xcf423d(0x2c3)],'redoState':_0x3c32eb[_0xcf423d(0x11b)][_0xcf423d(0x2c3)]}),_0x5ac0bc=_0x79358b[_0xcf423d(0x1dd)],_0x549a66=_0x3c32eb['m1Prime'];}this[_0xcf423d(0x24f)][_0xcf423d(0x3ea)](_0x2ed9fc,{'history':_0x4fc8bd,'collaboration':_0x574cbb});}};_0x5284de=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b['Injector'])),_0x4d56f5(0x1,_0x42298e['ITransformService']),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0xc4f75f[_0x1e774e(0x24b)]))],_0x5284de);let _0x5dedc1=class{constructor(_0x552e2d,_0x2ecc2c){const _0x2d85b5=_0x1e774e;this[_0x2d85b5(0x3e8)]=_0x552e2d,this[_0x2d85b5(0x362)]=_0x2ecc2c;}['prepareTransformSelections'](_0x4ffe5b){const _0x2ba2e9=_0x1e774e;var _0x55b60b;let _0x2d5f8b=this[_0x2ba2e9(0x3e8)][_0x2ba2e9(0x1b1)]()??[],_0x1b6c14=this['_docSelectionManagerService'][_0x2ba2e9(0x2cf)]();if(_0x2d5f8b[_0x2ba2e9(0x31e)]===0x0||_0x1b6c14==null)return null;let _0x30aa70=_0x4ffe5b[_0x2ba2e9(0x337)],_0xfcfac1=[{'id':_0x2ba2e9(0x195),'params':{'unitId':_0x30aa70,'actions':null,'textRanges':_0x2d5f8b}}],_0x46575a=this[_0x2ba2e9(0x362)][_0x2ba2e9(0x165)](_0x4ffe5b,_0xfcfac1);if(!(0x0,_0x42298e[_0x2ba2e9(0x253)])(_0x46575a))throw _0x46575a['error'];let _0x4f1a24=(_0x55b60b=_0x46575a[_0x2ba2e9(0x11b)][0x0])==null?void 0x0:_0x55b60b[_0x2ba2e9(0x2c3)],_0x391cf6=_0x4f1a24&&typeof _0x4f1a24==_0x2ba2e9(0x218)&&'textRanges'in _0x4f1a24?_0x4f1a24[_0x2ba2e9(0x1a0)]:null;if(!_0xb85f6e(_0x391cf6))return null;let _0x5a51d8=_0x276342(_0x4ffe5b[_0x2ba2e9(0x32d)]['some'](_0x1c1c4d=>_0x319e26(_0x1c1c4d[_0x2ba2e9(0x2c3)]))?_0x391cf6[_0x2ba2e9(0x3d3)](_0x453b77=>!(_0x2ba2e9(0x16a)in _0x453b77)):_0x391cf6,{..._0x1b6c14,'options':_0x1b6c14[_0x2ba2e9(0x39d)]?{..._0x1b6c14['options'],'wholeDocument':!0x1}:void 0x0}),_0xacbc49={'unitId':_0x30aa70,'subUnitId':_0x30aa70};this[_0x2ba2e9(0x3e8)][_0x2ba2e9(0xdb)](_0x5a51d8,_0xacbc49);let _0x29309c=!0x0;return{'commit':()=>{_0x29309c=!0x1;},'rollback':()=>{const _0x4aa4da=_0x2ba2e9;_0x29309c&&(_0x29309c=!0x1,this[_0x4aa4da(0x3e8)][_0x4aa4da(0xdb)](_0x1b6c14,_0xacbc49));}};}};_0x5dedc1=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0xc4f75f[_0x1e774e(0x1c5)])),_0x4d56f5(0x1,_0x42298e[_0x1e774e(0x3bc)])],_0x5dedc1);function _0x276342(_0x3db353,_0xe54c6e){const _0x5f338b=_0x1e774e;let _0x22d20e=[],_0x3d1216=[];for(let _0x370575 of _0x3db353)_0x1e5a78(_0x370575)?_0x3d1216[_0x5f338b(0x137)](_0x370575):_0x22d20e[_0x5f338b(0x137)](_0x370575);return{..._0xe54c6e,'textRanges':_0x22d20e,'rectRanges':_0x3d1216};}function _0x1e5a78(_0x95aee2){const _0x113232=_0x1e774e;return _0x113232(0x16a)in _0x95aee2;}function _0xb85f6e(_0x1c7d7b){const _0x59b4c7=_0x1e774e;return Array[_0x59b4c7(0x24e)](_0x1c7d7b)&&_0x1c7d7b[_0x59b4c7(0x3fe)](_0x4b029e=>typeof _0x4b029e==_0x59b4c7(0x218)&&!!_0x4b029e&&'startOffset'in _0x4b029e&&_0x59b4c7(0x320)in _0x4b029e);}function _0x319e26(_0xf3a1d7){const _0xf795d4=_0x1e774e;return _0xf3a1d7==='tableSource'?!0x0:Array[_0xf795d4(0x24e)](_0xf3a1d7)?_0xf3a1d7['some'](_0x259136=>_0x319e26(_0x259136)):!_0xf3a1d7||typeof _0xf3a1d7!=_0xf795d4(0x218)?!0x1:Object[_0xf795d4(0x212)](_0xf3a1d7)[_0xf795d4(0xf4)](_0x4c8f2e=>_0x319e26(_0x4c8f2e));}let _0x1682fb=class extends _0x4b216b['Disposable']{constructor(_0x38933,_0x30ccf9,_0x286b26,_0x2f16ec,_0x5a70d0,_0x7360fd,_0x5808ee){const _0xf923e9=_0x1e774e;super(),this[_0xf923e9(0x10f)]=_0x38933,this[_0xf923e9(0x305)]=_0x30ccf9,this['_docTransformStateCacheService']=_0x286b26,this[_0xf923e9(0x25a)]=_0x2f16ec,this[_0xf923e9(0x10a)]=_0x5a70d0,this[_0xf923e9(0x3ae)]=_0x7360fd,this[_0xf923e9(0x329)]=_0x5808ee,_0x544f9f(this,_0xf923e9(0x131),new _0x5b1cc1[(_0xf923e9(0x203))](_0x1251ce[_0xf923e9(0x24a)][_0xf923e9(0x34b)])),this[_0xf923e9(0x426)]();}[_0x1e774e(0x426)](){const _0xa0b6d2=_0x1e774e;this['disposeWithMe'](this['_collaborationController'][_0xa0b6d2(0x3f8)][_0xa0b6d2(0x42d)](_0x31de1a=>{const _0x172c2e=_0xa0b6d2;_0x31de1a instanceof _0x1251ce[_0x172c2e(0x164)]&&_0x31de1a[_0x172c2e(0x202)]({'onTransformIME':_0x5b5732=>this[_0x172c2e(0x305)][_0x172c2e(0x407)](_0x5b5732),'onTransformState':_0x1d4ce9=>this['_docTransformStateCacheService'][_0x172c2e(0x350)](_0x1d4ce9),'onPrepareTransformSelections':_0x4b7106=>this[_0x172c2e(0x25a)][_0x172c2e(0x38a)](_0x4b7106),'onSyncEditingCollabCursor':_0xe6d2f7=>this[_0x172c2e(0x10a)][_0x172c2e(0x31a)](_0xe6d2f7),'onTransformRemoteChangesetByIMECache':_0x3ad201=>this[_0x172c2e(0x305)][_0x172c2e(0x1a3)](_0x3ad201),'onTransformRemoteChangesetByStateCache':_0x57c1ed=>this[_0x172c2e(0xe9)]['transformRemoteChangeset'](_0x57c1ed)});}));}};_0x1682fb=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce[_0x1e774e(0x2b3)])),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x14a287)),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x5284de)),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x5dedc1)),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x3a2b46)),_0x4d56f5(0x5,_0x3435d1[_0x1e774e(0x3d5)]),_0x4d56f5(0x6,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x390)]))],_0x1682fb);let _0x679195=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(_0x2f0f5a,_0x31ac1b,_0x3b4e4c,_0x2899b7){const _0x1abe13=_0x1e774e;super(),this['_injector']=_0x2f0f5a,this['_httpService']=_0x31ac1b,this[_0x1abe13(0x3dd)]=_0x3b4e4c,this[_0x1abe13(0x338)]=_0x2899b7,_0x544f9f(this,_0x1abe13(0x413),void 0x0),this['_init']();}[_0x1e774e(0x12a)](){const _0x28d69f=_0x1e774e;this[_0x28d69f(0x27e)](),this[_0x28d69f(0x104)](),this[_0x28d69f(0x3b3)](),this[_0x28d69f(0x31f)]();}[_0x1e774e(0x31f)](){const _0x3ddb0a=_0x1e774e;this[_0x3ddb0a(0x109)](this[_0x3ddb0a(0x338)]['socket$'][_0x3ddb0a(0x42d)](_0x2c8baf=>{const _0x31ebe1=_0x3ddb0a;this[_0x31ebe1(0x413)]=_0x2c8baf==null?void 0x0:_0x2c8baf[_0x31ebe1(0x3a7)];}));}[_0x1e774e(0x27e)](){const _0x57e6f7=_0x1e774e;let _0xf5e9c5=_0x3aaeaa=>{const _0xb3c120=_0x50cf;var _0x573bc7;this['_uploadLog'](_0xb3c120(0x2d3),_0xb3c120(0x26d)+_0x3aaeaa[_0xb3c120(0x27a)]+_0xb3c120(0x3e2)+_0x3aaeaa[_0xb3c120(0x1cb)]+':'+_0x3aaeaa[_0xb3c120(0x28f)]+':'+_0x3aaeaa[_0xb3c120(0x1e2)]+'\x0a'+(((_0x573bc7=_0x3aaeaa[_0xb3c120(0x2d3)])==null?void 0x0:_0x573bc7[_0xb3c120(0x14d)])||''));};window[_0x57e6f7(0x144)](_0x57e6f7(0x2d3),_0xf5e9c5),this['disposeWithMe'](()=>{const _0x3e202b=_0x57e6f7;window[_0x3e202b(0x1fd)](_0x3e202b(0x2d3),_0xf5e9c5);});}[_0x1e774e(0x104)](){const _0x5049f4=_0x1e774e;let _0x41ebd7=_0x3fde71=>{const _0x1b7895=_0x50cf;this[_0x1b7895(0x133)]('error',_0x1b7895(0x33d)+_0x3fde71[_0x1b7895(0x3b6)]);};window[_0x5049f4(0x144)]('unhandledrejection',_0x41ebd7),this[_0x5049f4(0x109)](()=>{const _0x50c2a7=_0x5049f4;window[_0x50c2a7(0x1fd)](_0x50c2a7(0x2ac),_0x41ebd7);});}[_0x1e774e(0x3b3)](){const _0x254271=_0x1e774e;let _0x4ccd8e=this[_0x254271(0x3dd)]['error'][_0x254271(0x10e)](this[_0x254271(0x3dd)]);this[_0x254271(0x3dd)][_0x254271(0x2d3)]=(..._0x4f036e)=>{const _0x10c031=_0x254271;let _0x1dff1c=_0x4f036e[_0x10c031(0x2b5)](_0x283ead=>_0x283ead instanceof Error?_0x283ead[_0x10c031(0x27a)]+'\x0a'+_0x283ead['stack']:String(_0x283ead))[_0x10c031(0x315)]('\x20');this[_0x10c031(0x133)]('error',_0x10c031(0xf6)+_0x1dff1c),_0x4ccd8e(..._0x4f036e);},this[_0x254271(0x109)](()=>{const _0x12047c=_0x254271;this[_0x12047c(0x3dd)][_0x12047c(0x2d3)]=_0x4ccd8e;});}[_0x1e774e(0x133)](_0x4031be,_0x32ff66){const _0x57b59b=_0x1e774e;try{let _0x37fdd3={'userId':this[_0x57b59b(0x413)],'logLabel':_0x4031be,'content':_0x32ff66};this[_0x57b59b(0x201)][_0x57b59b(0x414)](_0x57b59b(0x2f0),{'body':_0x37fdd3})['catch'](()=>{});}catch{}}};_0x679195=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b['Inject'])(_0x4b216b['Injector'])),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x55eb2f[_0x1e774e(0x375)])),_0x4d56f5(0x2,_0x4b216b['ILogService']),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x1251ce[_0x1e774e(0x3b8)]))],_0x679195);function _0xaa5b7a({state$:_0x98d14d}){const _0x4ee275=_0x1e774e;let _0x21fba3=(0x0,_0x3435d1[_0x4ee275(0x10c)])(_0x98d14d,null,!0x0);return _0x21fba3?(0x0,_0x38639a[_0x4ee275(0xf0)])(_0x4ee275(0x19a),{'data-u-comp':_0x4ee275(0x13b),'role':'alert','className':_0x4ee275(0x401),'children':[(0x0,_0x38639a[_0x4ee275(0x223)])(_0x3eeff5,{'className':_0x4ee275(0x16e)}),(0x0,_0x38639a[_0x4ee275(0x223)])('span',{'children':_0x21fba3[_0x4ee275(0x259)]}),(0x0,_0x38639a[_0x4ee275(0x223)])(_0x1b63e3[_0x4ee275(0x129)],{'size':'small','variant':_0x4ee275(0x406),'onClick':()=>window[_0x4ee275(0x25d)]['reload'](),'children':_0x21fba3['refreshLabel']})]}):null;}let _0x17ad1b=_0x1e774e(0x119),_0x295e2d=class extends _0x4b216b['Disposable']{constructor(_0x2f2dfb,_0x1e5970,_0x16d7c9,_0x4a24ac,_0x3500dd){const _0x2524ab=_0x1e774e;super(),this['_snapshotLoadingService']=_0x2f2dfb,this[_0x2524ab(0x3ae)]=_0x1e5970,this['_localeService']=_0x16d7c9,this[_0x2524ab(0x15c)]=_0x4a24ac,_0x544f9f(this,_0x2524ab(0x254),new _0x5b1cc1['BehaviorSubject'](null)),_0x544f9f(this,_0x2524ab(0x20b),new Set()),_0x544f9f(this,'_blockProgressWatches',new Map()),_0x544f9f(this,_0x2524ab(0x125),this[_0x2524ab(0x254)][_0x2524ab(0x11c)]());let _0x54fb67=()=>(0x0,_0x240e71[_0x2524ab(0x3f1)])(_0xaa5b7a,{'state$':this[_0x2524ab(0x125)]});this[_0x2524ab(0x109)](_0x3500dd[_0x2524ab(0x3a4)](_0x3435d1['BuiltInUIPart'][_0x2524ab(0x37e)],()=>(0x0,_0x3435d1[_0x2524ab(0x2aa)])(_0x54fb67,this['_injector']))),this['disposeWithMe'](this[_0x2524ab(0x395)][_0x2524ab(0x3d1)]['subscribe'](_0x2b3aeb=>{_0x2b3aeb['forEach'](_0x4f8c9b=>this['_updateMessage'](_0x4f8c9b));}));}[_0x1e774e(0x102)](){const _0xad25a3=_0x1e774e;this[_0xad25a3(0x20b)][_0xad25a3(0x1f1)](_0x484c93=>this[_0xad25a3(0x3ae)][_0xad25a3(0x198)](_0x484c93)),this[_0xad25a3(0x20b)]['clear'](),this[_0xad25a3(0x1b4)][_0xad25a3(0x1f1)](({timeoutId:_0x304440})=>clearTimeout(_0x304440)),this[_0xad25a3(0x1b4)][_0xad25a3(0x348)](),this['_timeoutState$'][_0xad25a3(0x3ab)](),super[_0xad25a3(0x102)]();}[_0x1e774e(0x228)](_0x1596f5){const _0x5c3d29=_0x1e774e;let _0x550c27=''+_0x17ad1b+_0x1596f5['unitId'];_0x1596f5[_0x5c3d29(0x42a)]===_0x42298e['SnapshotLoadStage'][_0x5c3d29(0x37f)]?(this[_0x5c3d29(0x288)](_0x1596f5[_0x5c3d29(0x40b)]),this[_0x5c3d29(0x1fb)](_0x1596f5[_0x5c3d29(0x40b)]),this['_messageService'][_0x5c3d29(0x198)](_0x550c27),this['_messageIds'][_0x5c3d29(0x410)](_0x550c27)):_0x1596f5['stage']===_0x42298e[_0x5c3d29(0x22f)][_0x5c3d29(0x167)]?(this[_0x5c3d29(0x288)](_0x1596f5[_0x5c3d29(0x40b)]),this[_0x5c3d29(0x1fb)](_0x1596f5[_0x5c3d29(0x40b)]),this[_0x5c3d29(0x3ae)][_0x5c3d29(0x186)]({'id':_0x550c27,'type':_0x1b63e3['MessageType']['Error'],'content':this[_0x5c3d29(0x329)]['t'](_0x5c3d29(0x270))}),this[_0x5c3d29(0x20b)]['delete'](_0x550c27)):_0x1596f5[_0x5c3d29(0x42a)]!==_0x42298e['SnapshotLoadStage'][_0x5c3d29(0xf2)]||_0x1596f5[_0x5c3d29(0x269)]<=0xa?(this[_0x5c3d29(0x288)](_0x1596f5[_0x5c3d29(0x40b)]),this[_0x5c3d29(0x3ae)][_0x5c3d29(0x198)](_0x550c27),this['_messageIds']['delete'](_0x550c27)):this[_0x5c3d29(0x194)](_0x1596f5)||(this['_messageService']['show']({'id':_0x550c27,'type':_0x1b63e3[_0x5c3d29(0x2e3)]['Loading'],'duration':0x1/0x0,'content':this[_0x5c3d29(0x329)]['t'](_0x5c3d29(0x18d))+'\x20'+_0x1596f5['loadedBlocks']+'/'+_0x1596f5[_0x5c3d29(0x269)]}),this[_0x5c3d29(0x20b)][_0x5c3d29(0x399)](_0x550c27));}[_0x1e774e(0x194)](_0x54ac86){const _0x27167f=_0x1e774e;let _0x33b71d=this[_0x27167f(0x1b4)][_0x27167f(0x2d2)](_0x54ac86[_0x27167f(0x40b)]);if((_0x33b71d==null?void 0x0:_0x33b71d[_0x27167f(0x122)])===_0x54ac86[_0x27167f(0x122)])return _0x33b71d['timedOut'];this['_clearBlockProgressWatch'](_0x54ac86[_0x27167f(0x40b)]);let _0xd29531=setTimeout(()=>{const _0x4791eb=_0x27167f;let _0x36ff0a=this['_blockProgressWatches'][_0x4791eb(0x2d2)](_0x54ac86[_0x4791eb(0x40b)]);if(!_0x36ff0a||_0x36ff0a[_0x4791eb(0x35d)]!==_0xd29531)return;_0x36ff0a['timedOut']=!0x0;let _0x475cbc=''+_0x17ad1b+_0x54ac86[_0x4791eb(0x40b)];this[_0x4791eb(0x3ae)][_0x4791eb(0x198)](_0x475cbc),this[_0x4791eb(0x20b)][_0x4791eb(0x410)](_0x475cbc),this['_timeoutState$'][_0x4791eb(0x3a6)]({'unitId':_0x54ac86[_0x4791eb(0x40b)],'content':this['_localeService']['t'](_0x4791eb(0x1c8),String(_0x54ac86[_0x4791eb(0x122)]),String(_0x54ac86[_0x4791eb(0x269)])),'refreshLabel':this[_0x4791eb(0x329)]['t'](_0x4791eb(0x34f))});},0xea60);return this[_0x27167f(0x1b4)]['set'](_0x54ac86[_0x27167f(0x40b)],{'loadedBlocks':_0x54ac86[_0x27167f(0x122)],'timedOut':!0x1,'timeoutId':_0xd29531}),!0x1;}['_clearBlockProgressWatch'](_0x3fbdf0){const _0x30aa5e=_0x1e774e;let _0x56450b=this[_0x30aa5e(0x1b4)][_0x30aa5e(0x2d2)](_0x3fbdf0);_0x56450b&&(clearTimeout(_0x56450b['timeoutId']),this[_0x30aa5e(0x1b4)][_0x30aa5e(0x410)](_0x3fbdf0),this[_0x30aa5e(0x1fb)](_0x3fbdf0));}[_0x1e774e(0x1fb)](_0x132e97){const _0x2557ce=_0x1e774e;var _0x44c02c;((_0x44c02c=this['_timeoutState$'][_0x2557ce(0x1a7)])==null?void 0x0:_0x44c02c[_0x2557ce(0x40b)])===_0x132e97&&this['_timeoutState$']['next'](null);}};_0x295e2d=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x42298e[_0x1e774e(0x367)])),_0x4d56f5(0x1,_0x3435d1[_0x1e774e(0x3d5)]),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x390)])),_0x4d56f5(0x3,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x4,_0x3435d1['IUIPartsService'])],_0x295e2d);let _0x2ca835=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(_0x4e5147,_0x59f15f,_0x578113,_0xb31954,_0x13b6d7){const _0x11b2e8=_0x1e774e;var _0x3f642b;super(),this[_0x11b2e8(0x324)]=_0x4e5147,this[_0x11b2e8(0x188)]=_0x59f15f,this[_0x11b2e8(0x347)]=_0x578113,this[_0x11b2e8(0x3dd)]=_0xb31954,this[_0x11b2e8(0x309)]=_0x13b6d7,_0x544f9f(this,'_cachedData',new Map()),_0x544f9f(this,_0x11b2e8(0x36c),new Map()),_0x544f9f(this,_0x11b2e8(0xf9),new Map()),_0x544f9f(this,'_disabled',!0x1),this[_0x11b2e8(0x244)]=!((_0x3f642b=this[_0x11b2e8(0x324)][_0x11b2e8(0x424)](_0x1251ce[_0x11b2e8(0x397)]))!=null&&_0x3f642b[_0x11b2e8(0x236)]);}[_0x1e774e(0x18a)](){const _0x596379=_0x1e774e;this[_0x596379(0x244)]=!0x0;}['enableLocalCache'](){const _0x11b09b=_0x1e774e;this[_0x11b09b(0x244)]=!0x1;}get[_0x1e774e(0x2d9)](){const _0x490832=_0x1e774e;let _0x22bf0a=new Map(this[_0x490832(0x36c)]);return this[_0x490832(0xf9)][_0x490832(0x1f1)]((_0x360afc,_0x30972d)=>{const _0x13655a=_0x490832;_0x22bf0a[_0x13655a(0x229)](_0x30972d)||_0x22bf0a[_0x13655a(0x363)](_0x30972d,0x0);}),_0x22bf0a;}[_0x1e774e(0x102)](){const _0xe68fc4=_0x1e774e;this[_0xe68fc4(0x2bb)]||(super[_0xe68fc4(0x102)](),this[_0xe68fc4(0x244)]=!0x0,this[_0xe68fc4(0x3f6)]()[_0xe68fc4(0x1b3)](_0x38ca90=>this[_0xe68fc4(0x3dd)][_0xe68fc4(0x2d3)](_0x38ca90)));}async[_0x1e774e(0x2c2)](_0x190627,_0x788103){const _0x20c791=_0x1e774e;if(this[_0x20c791(0x244)])return null;let _0x2b1384=this[_0x20c791(0x114)](_0x788103),_0x34afe5=await this[_0x20c791(0x188)][_0x20c791(0x2b1)]((0x0,_0x1251ce['getLocalCacheKey'])(_0x190627,_0x2b1384));return(_0x34afe5==null?void 0x0:_0x34afe5[_0x20c791(0x337)])===_0x190627&&this[_0x20c791(0x19c)](_0x34afe5[_0x20c791(0x3f9)])===_0x2b1384?_0x34afe5:null;}async[_0x1e774e(0x1d4)](_0x204021,_0x3b7e54,_0x16cfc4){const _0x2c550f=_0x1e774e;let _0x1231dc=this[_0x2c550f(0x114)](_0x16cfc4),_0x1f2429=(0x0,_0x1251ce[_0x2c550f(0x285)])(_0x204021,_0x1231dc),_0x23c833=this[_0x2c550f(0x188)][_0x2c550f(0x273)](_0x1f2429,{..._0x3b7e54,'unitID':_0x204021,'userId':_0x1231dc});return this[_0x2c550f(0xfe)](_0x1f2429,_0x23c833),!!await _0x23c833;}async[_0x1e774e(0x35f)](_0xf7f4c8,_0x4566f2,_0x18fb97){const _0x8ea68a=_0x1e774e;let _0x464d33=this[_0x8ea68a(0x114)](_0x18fb97),_0x52f777=(0x0,_0x1251ce[_0x8ea68a(0x285)])(_0xf7f4c8,_0x464d33),_0x3281e6=this[_0x8ea68a(0x234)]['get'](_0x52f777)??await this[_0x8ea68a(0x188)][_0x8ea68a(0x2b1)](_0x52f777);if(!_0x3281e6||this[_0x8ea68a(0x19c)](_0x3281e6[_0x8ea68a(0x3f9)])!==_0x464d33||_0x3281e6[_0x8ea68a(0x337)]!==_0xf7f4c8)return;let _0x241459=Date[_0x8ea68a(0x33b)](),_0x5ab070=new Date(_0x241459)[_0x8ea68a(0x205)]();await this[_0x8ea68a(0x188)][_0x8ea68a(0x273)](_0x52f777+':backup:'+_0x241459,{'reason':_0x4566f2,'createdAt':_0x5ab070,'data':_0x3281e6});}async[_0x1e774e(0x33e)](_0x36346f,_0x2637ec){const _0x8f75f8=_0x1e774e;let _0x377cd2=this[_0x8f75f8(0x114)](_0x2637ec),_0x14e062=(0x0,_0x1251ce[_0x8f75f8(0x285)])(_0x36346f,_0x377cd2),_0x1db512=this[_0x8f75f8(0x36c)][_0x8f75f8(0x2d2)](_0x14e062);_0x1db512!==void 0x0&&(window[_0x8f75f8(0x3c2)](_0x1db512),this[_0x8f75f8(0x36c)][_0x8f75f8(0x410)](_0x14e062));let _0x2d6a25=this[_0x8f75f8(0xf9)][_0x8f75f8(0x2d2)](_0x14e062);_0x2d6a25&&await Promise[_0x8f75f8(0x1f7)](_0x2d6a25),this[_0x8f75f8(0x234)][_0x8f75f8(0x410)](_0x14e062),await this['_localStorageService'][_0x8f75f8(0x222)](_0x14e062);}['updateOfflineData'](_0x5201a4,_0x4af2c0,_0x41396e,_0x21b5b7,_0x46056a){const _0x5b39d3=_0x1e774e;if(this[_0x5b39d3(0x2bb)])return;let _0x434a51=this['_getUserId'](_0x46056a),_0x34e6d6=(0x0,_0x1251ce[_0x5b39d3(0x285)])(_0x5201a4,_0x434a51),_0x3d306e=this[_0x5b39d3(0x347)][_0x5b39d3(0x3c4)](_0x5201a4);this['_cachedData'][_0x5b39d3(0x363)](_0x34e6d6,{'unitID':_0x5201a4,'userId':_0x434a51,'type':_0x4af2c0,'awaitingChangeset':_0x41396e,'mutations':_0x21b5b7,'rev':_0x3d306e}),this[_0x5b39d3(0x36c)][_0x5b39d3(0x229)](_0x34e6d6)||this[_0x5b39d3(0x11e)](_0x34e6d6);}[_0x1e774e(0x114)](_0x84785e=((()=>{var _0x52310b;return(_0x52310b=this['_userManagerService']['getCurrentUser']())==null?void 0x0:_0x52310b['userID'];})())){const _0x5a3feb=_0x1e774e;return this[_0x5a3feb(0x19c)](_0x84785e);}[_0x1e774e(0x19c)](_0x2679ae){return _0x2679ae===''||_0x2679ae==null?void 0x0:_0x2679ae;}['_scheduleSaving'](_0x2f35e6){const _0x2f761d=_0x1e774e;let _0xdbbd66=this['_getSaveTimeout']();_0xdbbd66===0x0?this[_0x2f761d(0x3f2)](_0x2f35e6)[_0x2f761d(0x1b3)](_0x337cf1=>this[_0x2f761d(0x3dd)][_0x2f761d(0x2d3)](_0x337cf1)):this[_0x2f761d(0x36c)]['set'](_0x2f35e6,window['setTimeout'](()=>{const _0x3ad616=_0x2f761d;this['_saveCache'](_0x2f35e6)['catch'](_0x39f1b8=>this[_0x3ad616(0x3dd)][_0x3ad616(0x2d3)](_0x39f1b8));},_0xdbbd66));}[_0x1e774e(0x1fa)](){const _0x155bd7=_0x1e774e;return this[_0x155bd7(0x324)]['getConfig'](_0x1251ce['LOCAL_CACHE_INTERVAL_KEY'])??_0x1251ce['LOCAL_CACHE_INTERVAL'];}[_0x1e774e(0x3f2)](_0x353bf5){const _0x114457=_0x1e774e;let _0x235134=this[_0x114457(0x36c)][_0x114457(0x2d2)](_0x353bf5);_0x235134!==void 0x0&&window['clearTimeout'](_0x235134);let _0x59379d=this[_0x114457(0x234)][_0x114457(0x2d2)](_0x353bf5);if(!_0x59379d)return Promise['resolve']();let _0x434e5e=this[_0x114457(0xf9)][_0x114457(0x2d2)](_0x353bf5),_0x502fd1=Promise['allSettled'](_0x434e5e?[..._0x434e5e]:[])[_0x114457(0x1ad)](()=>this[_0x114457(0x188)][_0x114457(0x273)](_0x353bf5,_0x59379d))['then'](()=>{const _0x5a75b2=_0x114457;_0x235134!==void 0x0&&this[_0x5a75b2(0x36c)][_0x5a75b2(0x2d2)](_0x353bf5)===_0x235134&&(this[_0x5a75b2(0x36c)]['delete'](_0x353bf5),!this['_disposed']&&this['_cachedData'][_0x5a75b2(0x2d2)](_0x353bf5)!==_0x59379d&&this[_0x5a75b2(0x11e)](_0x353bf5));});return this[_0x114457(0xfe)](_0x353bf5,_0x502fd1),_0x502fd1;}[_0x1e774e(0xfe)](_0x3b2891,_0x41a321){const _0xa17483=_0x1e774e;let _0x18add0=this[_0xa17483(0xf9)][_0xa17483(0x2d2)](_0x3b2891);_0x18add0||(_0x18add0=new Set(),this[_0xa17483(0xf9)]['set'](_0x3b2891,_0x18add0)),_0x18add0['add'](_0x41a321);let _0x3a155d=()=>{const _0x3155f9=_0xa17483;_0x18add0[_0x3155f9(0x410)](_0x41a321),_0x18add0[_0x3155f9(0x215)]===0x0&&this[_0x3155f9(0xf9)][_0x3155f9(0x410)](_0x3b2891);};_0x41a321[_0xa17483(0x1ad)](_0x3a155d,_0x3a155d);}async[_0x1e774e(0x3f6)](){const _0x577af5=_0x1e774e;let _0x85b9e=[...this[_0x577af5(0x36c)][_0x577af5(0x38c)]()]['map'](_0x1b6d53=>this[_0x577af5(0x3f2)](_0x1b6d53));for(let _0x59990a of this['_activeSaveTaskMap'][_0x577af5(0x212)]())_0x85b9e['push'](...[..._0x59990a][_0x577af5(0x2b5)](_0x333fe7=>_0x333fe7[_0x577af5(0x1ad)](()=>void 0x0)));await Promise[_0x577af5(0xe6)](_0x85b9e);}};_0x2ca835=_0x395511([_0x4d56f5(0x0,_0x4b216b[_0x1e774e(0x13c)]),_0x4d56f5(0x1,_0x4b216b[_0x1e774e(0x25f)]),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x42298e[_0x1e774e(0x1b0)])),_0x4d56f5(0x3,_0x4b216b['ILogService']),_0x4d56f5(0x4,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x2dd)]))],_0x2ca835);var _0x67c328=class extends _0x4b216b[_0x1e774e(0x146)]{get[_0x1e774e(0x3ef)](){const _0x3c348a=_0x1e774e;return this[_0x3c348a(0x2c5)][_0x3c348a(0x251)]();}constructor(){const _0x16180e=_0x1e774e;super(),_0x544f9f(this,'_online$',new _0x5b1cc1[(_0x16180e(0x203))](navigator[_0x16180e(0xeb)])),_0x544f9f(this,_0x16180e(0x159),this[_0x16180e(0x2c5)][_0x16180e(0x11c)]()),this[_0x16180e(0x197)](),this[_0x16180e(0x261)]();}[_0x1e774e(0x102)](){const _0x7e0c14=_0x1e774e;super[_0x7e0c14(0x102)](),this[_0x7e0c14(0x2c5)][_0x7e0c14(0x3ab)]();}[_0x1e774e(0x261)](){const _0x320fed=_0x1e774e;this['disposeWithMe']((0x0,_0x5b1cc1[_0x320fed(0x132)])((0x0,_0x5b1cc1[_0x320fed(0x1f4)])(window,_0x320fed(0x3ef)),(0x0,_0x5b1cc1[_0x320fed(0x1f4)])(window,'focus'),(0x0,_0x5b1cc1['fromEvent'])(document,'visibilitychange')[_0x320fed(0x3fb)]((0x0,_0x5b1cc1[_0x320fed(0x2b5)])(()=>document[_0x320fed(0x380)]===_0x320fed(0x279)),(0x0,_0x5b1cc1[_0x320fed(0x3d3)])(_0x46257a=>_0x46257a)))['pipe']((0x0,_0x5b1cc1[_0x320fed(0x3d3)])(()=>navigator[_0x320fed(0xeb)]))[_0x320fed(0x42d)](()=>this['_online$']['next'](!0x0)));}[_0x1e774e(0x197)](){const _0x43b5e2=_0x1e774e;this[_0x43b5e2(0x109)]((0x0,_0x5b1cc1[_0x43b5e2(0x1f4)])(window,_0x43b5e2(0x387))[_0x43b5e2(0x42d)](()=>this[_0x43b5e2(0x2c5)]['next'](!0x1)));}};let _0x405960=class extends _0x4b216b[_0x1e774e(0x14b)]{constructor(_0x2fe7a5=_0x203735,_0x35d74b,_0x32778d,_0x40ddca,_0x28f14a){const _0x4bc84a=_0x1e774e;super(),this['_config']=_0x2fe7a5,this[_0x4bc84a(0x2a2)]=_0x35d74b,this[_0x4bc84a(0x15c)]=_0x32778d,this['_configService']=_0x40ddca,this[_0x4bc84a(0x339)]=_0x28f14a;let {..._0x33e70a}=(0x0,_0x4b216b['merge'])({},_0x203735,this[_0x4bc84a(0x248)]);this['_configService'][_0x4bc84a(0x242)](_0x4bc84a(0x156),_0x33e70a);}[_0x1e774e(0x294)](){const _0x3a606c=_0x1e774e;this['_registerDependencies'](),this['disposeWithMe'](this[_0x3a606c(0x339)][_0x3a606c(0x1a5)](_0x4b7a25)),this['_initDependencies']();}['onRendered'](){const _0x3a8f7d=_0x1e774e;this[_0x3a8f7d(0x334)]();}[_0x1e774e(0x3bd)](){const _0x571e3f=_0x1e774e;var _0x7a107a;let _0x51713b=[[_0x2937b1],[_0x55eb2f[_0x571e3f(0xe0)],{'useClass':_0x55eb2f['WebSocketService']}],[_0x1251ce[_0x571e3f(0x328)],{'useClass':_0x2ca835}],[_0x1251ce['INetworkConditionService'],{'useClass':_0x67c328}],[_0x673e97],[_0x1db576],[_0x50ef3b],[_0x23e74a],[_0x295e2d]];this[_0x571e3f(0x248)][_0x571e3f(0x1a4)]!==!0x1&&_0x51713b['push']([_0x5dedc1],[_0x14a287],[_0x5284de],[_0x3a2b46],[_0x1682fb],[_0x1f06d4]),this[_0x571e3f(0x248)][_0x571e3f(0x28b)]&&_0x51713b[_0x571e3f(0x137)]([_0x679195]),(0x0,_0x4b216b[_0x571e3f(0x34a)])(this[_0x571e3f(0x15c)],(0x0,_0x4b216b[_0x571e3f(0x255)])(_0x51713b,(_0x7a107a=this[_0x571e3f(0x248)])==null?void 0x0:_0x7a107a['override']));}[_0x1e774e(0x334)](){const _0x2e6791=_0x1e774e;this[_0x2e6791(0x248)][_0x2e6791(0x1a4)]!==!0x1&&this['disposeWithMe'](this['_renderManagerService'][_0x2e6791(0x112)](_0x4b216b[_0x2e6791(0x18c)][_0x2e6791(0x124)],[_0x4403e5])),this[_0x2e6791(0x109)](this['_renderManagerService'][_0x2e6791(0x112)](_0x4b216b[_0x2e6791(0x18c)][_0x2e6791(0x30e)],[_0x4395ce]));}['_initDependencies'](){const _0x21e467=_0x1e774e;(0x0,_0x4b216b[_0x21e467(0x264)])(this['_injector'],[[_0x50ef3b],[_0x23e74a],[_0x673e97],[_0x1db576],[_0x295e2d]]),this['_config']['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x4b216b['touchDependencies'])(this['_injector'],[[_0x1682fb],[_0x1f06d4]]),this['_config'][_0x21e467(0x28b)]&&(0x0,_0x4b216b['touchDependencies'])(this[_0x21e467(0x15c)],[[_0x679195]]);}};_0x544f9f(_0x405960,_0x1e774e(0x307),_0x1e774e(0x217)),_0x544f9f(_0x405960,_0x1e774e(0x297),_0x490b92),_0x544f9f(_0x405960,_0x1e774e(0x1bf),_0x4634bf),_0x405960=_0x395511([(0x0,_0x4b216b[_0x1e774e(0x2b2)])(_0x3adb52[_0x1e774e(0x290)],_0xc4f75f[_0x1e774e(0x319)],_0x3f3c56['UniverRenderEnginePlugin'],_0x55eb2f[_0x1e774e(0xfd)],_0x42298e[_0x1e774e(0x2b7)],_0x826638[_0x1e774e(0x213)],_0x1251ce[_0x1e774e(0x153)]),_0x4d56f5(0x1,_0x3f3c56[_0x1e774e(0x327)]),_0x4d56f5(0x2,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x3,_0x4b216b[_0x1e774e(0x13c)]),_0x4d56f5(0x4,_0x4b216b[_0x1e774e(0x310)])],_0x405960);let _0xe71aea=class extends _0x1251ce[_0x1e774e(0x3ce)]{constructor(_0x2a3214,_0x14d8e4,_0x41505c,_0x406c15,_0x2a63e4){const _0xad871d=_0x1e774e;super(_0x2a3214,_0x14d8e4,_0x41505c,_0x406c15,_0x2a63e4),_0x544f9f(this,_0xad871d(0x2c7),new _0x5b1cc1[(_0xad871d(0x43a))]()),this['disposeWithMe'](()=>{const _0x57ec50=_0xad871d;this[_0x57ec50(0x2c7)][_0x57ec50(0x3a6)](),this[_0x57ec50(0x2c7)][_0x57ec50(0x3ab)]();});}async[_0x1e774e(0x136)](_0x3f0f4d){const _0x2601b5=_0x1e774e;let _0x391b38=await this[_0x2601b5(0x272)](),_0x5b75cb=this[_0x2601b5(0x174)](_0x3f0f4d,_0x391b38);return this[_0x2601b5(0x145)](_0x5b75cb);}[_0x1e774e(0x174)](_0x11d9ea,_0x2a13bb){const _0x25424b=_0x1e774e;let _0x32b45b=typeof window>'u'?new URL(_0x11d9ea):new URL(_0x11d9ea,window[_0x25424b(0x25d)][_0x25424b(0x147)]);_0x32b45b[_0x25424b(0x1d7)][_0x25424b(0x363)](_0x25424b(0x30b),_0x2a13bb);let _0x29b3f3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x25424b(0x25d)][_0x25424b(0x3c5)]);return _0x29b3f3[_0x25424b(0x2d2)]('runId')&&_0x32b45b[_0x25424b(0x1d7)][_0x25424b(0x363)](_0x25424b(0x15f),_0x29b3f3[_0x25424b(0x2d2)](_0x25424b(0x15f))),_0x32b45b[_0x25424b(0x3c3)]();}async['_getSessionTicket'](){const _0x44eb00=_0x1e774e;var _0xbcf86f;let _0x2390b1=this[_0x44eb00(0x324)][_0x44eb00(0x424)](_0x1251ce[_0x44eb00(0x397)]),_0x3410d1=(_0x2390b1==null?void 0x0:_0x2390b1[_0x44eb00(0x151)])??_0x1251ce[_0x44eb00(0x16b)];return((_0xbcf86f=(await(0x0,_0x5b1cc1[_0x44eb00(0x25e)])(this[_0x44eb00(0x201)][_0x44eb00(0x262)](_0x44eb00(0x37a),_0x3410d1,{'headers':{'Content-Type':_0x44eb00(0x1c6)}})['pipe']((0x0,_0x5b1cc1['filter'])(_0x442dbb=>_0x442dbb['type']===_0x55eb2f['HTTPEventType'][_0x44eb00(0x36a)]),(0x0,_0x5b1cc1['timeout'])(0x4e20),(0x0,_0x5b1cc1[_0x44eb00(0x2cc)])(this[_0x44eb00(0x2c7)]))))['body'])==null?void 0x0:_0xbcf86f[_0x44eb00(0x11d)])??'';}};_0xe71aea=_0x395511([_0x4d56f5(0x0,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x4b216b[_0x1e774e(0x3c7)])),_0x4d56f5(0x1,(0x0,_0x4b216b['Inject'])(_0x55eb2f[_0x1e774e(0x375)])),_0x4d56f5(0x2,_0x4b216b[_0x1e774e(0x13c)]),_0x4d56f5(0x3,_0x4b216b[_0x1e774e(0x207)]),_0x4d56f5(0x4,_0x42298e[_0x1e774e(0x313)])],_0xe71aea);let _0x21e2fe=class extends _0x4b216b['Disposable']{constructor(_0x202351,_0x1f576f,_0x3cef4d){const _0x29728d=_0x1e774e;super(),this[_0x29728d(0x19d)]=_0x202351,this[_0x29728d(0x201)]=_0x1f576f,this[_0x29728d(0x324)]=_0x3cef4d;}async['runOnServer'](_0x30138f,_0x5c380d,_0x240fa1,..._0x3a19a3){const _0x2f6df1=_0x1e774e;let _0x27a1e2=this[_0x2f6df1(0x19d)][_0x2f6df1(0x1b9)]();if(!_0x27a1e2)throw Error(_0x2f6df1(0x25b));let _0x297f72=(this['_configService'][_0x2f6df1(0x424)](_0x1251ce[_0x2f6df1(0x266)])??_0x1251ce[_0x2f6df1(0x398)])+'/'+_0x30138f+_0x2f6df1(0x41d)+_0x5c380d,_0x30327f={'scriptId':_0x30138f,'runId':new URL(window['location'][_0x2f6df1(0x303)])[_0x2f6df1(0x1d7)][_0x2f6df1(0x2d2)]('runId')??'','function':_0x5c380d,'unitId':_0x27a1e2[_0x2f6df1(0x1d2)](),'argsOfFunction':JSON['stringify'](_0x3a19a3),'invokeId':_0x240fa1[_0x2f6df1(0x323)]??'','executionId':_0x240fa1[_0x2f6df1(0x30c)]??''};try{let _0x2e3af5=await this[_0x2f6df1(0x201)][_0x2f6df1(0x414)](_0x297f72,{'body':_0x30327f});return _0x2e3af5[_0x2f6df1(0x368)][_0x2f6df1(0x2d3)]&&_0x2e3af5[_0x2f6df1(0x368)][_0x2f6df1(0x2d3)]['code']!==_0x542348[_0x2f6df1(0x394)]['OK']?_0x2f6df1(0x27f):_0x2e3af5[_0x2f6df1(0x368)][_0x2f6df1(0x16f)];}catch{return'Failed';}}};_0x21e2fe=_0x395511([_0x4d56f5(0x0,_0x4b216b[_0x1e774e(0x1ec)]),_0x4d56f5(0x1,(0x0,_0x4b216b[_0x1e774e(0x1a1)])(_0x55eb2f[_0x1e774e(0x375)])),_0x4d56f5(0x2,_0x4b216b['IConfigService'])],_0x21e2fe);let _0x182c13=0x7530,_0x32e5ec=_0x1e774e(0xfc);var _0x2afb9c=class extends _0x4b216b[_0x1e774e(0x146)]{constructor(){const _0x190696=_0x1e774e;super(),_0x544f9f(this,'_id',(0x0,_0x4b216b[_0x190696(0x371)])()),_0x544f9f(this,'_selfUnitIDs',new Set()),_0x544f9f(this,'_unitOnClients',new Map()),_0x544f9f(this,'_heartbeatTimer',null),_0x544f9f(this,'_clearOtherTimers',new Map()),_0x544f9f(this,'_unitStatus',new Map()),this[_0x190696(0x12a)]();}[_0x1e774e(0x102)](){const _0x474b75=_0x1e774e;super[_0x474b75(0x102)](),this['_clearOtherTimers'][_0x474b75(0x1f1)]((_0x30b5a6,_0x49e8dc)=>this[_0x474b75(0x295)](_0x49e8dc)),this[_0x474b75(0x369)]&&window[_0x474b75(0x36e)](this[_0x474b75(0x369)]);}[_0x1e774e(0x3b7)](_0xd2b9b){const _0x8740f7=_0x1e774e;return this[_0x8740f7(0x438)](_0xd2b9b)[_0x8740f7(0x3fb)]((0x0,_0x5b1cc1['distinctUntilChanged'])());}[_0x1e774e(0x1f2)](_0x239529){const _0x136609=_0x1e774e;this[_0x136609(0x353)][_0x136609(0x215)]===0x0&&this[_0x136609(0x161)](),this['_selfUnitIDs'][_0x136609(0x399)](_0x239529),this[_0x136609(0x172)]({'type':0x0,'memberID':this[_0x136609(0x21a)],'unitIDs':[_0x239529],'isForwarded':!0x1});}[_0x1e774e(0x245)](_0x3f8342){const _0x322025=_0x1e774e;this['_selfUnitIDs']['delete'](_0x3f8342),this[_0x322025(0x353)][_0x322025(0x215)]===0x0&&this[_0x322025(0x369)]&&window['clearInterval'](this[_0x322025(0x369)]);}[_0x1e774e(0x12a)](){const _0x22fc2b=_0x1e774e;this[_0x22fc2b(0x109)]((0x0,_0x4b216b['toDisposable'])((0x0,_0x5b1cc1[_0x22fc2b(0x1f4)])(window,_0x22fc2b(0x35e))[_0x22fc2b(0x42d)](_0x3b1aac=>{const _0x556dcc=_0x22fc2b;if(_0x3b1aac[_0x556dcc(0x43c)]!==_0x32e5ec||!_0x3b1aac[_0x556dcc(0x1d5)])return;let _0x38b9cb=JSON[_0x556dcc(0x1ee)](_0x3b1aac[_0x556dcc(0x1d5)]);this[_0x556dcc(0x437)](_0x38b9cb);}))),window[_0x22fc2b(0x144)]('unload',()=>this[_0x22fc2b(0x172)]({'type':0x1,'memberID':this[_0x22fc2b(0x21a)],'unitIDs':Array['from'](this[_0x22fc2b(0x353)])}));}[_0x1e774e(0x437)](_0x50b18f){const _0xb5c3f1=_0x1e774e;switch(_0x50b18f['type']){case 0x0:this[_0xb5c3f1(0x3aa)](_0x50b18f);break;case 0x1:this['_handleLeaveEvent'](_0x50b18f);break;case 0x2:this[_0xb5c3f1(0x3cc)](_0x50b18f);}}[_0x1e774e(0x3aa)](_0x56cc57){const _0xead498=_0x1e774e;let {unitIDs:_0x4fde01,memberID:_0x45cda0,isForwarded:_0x448a11}=_0x56cc57;_0x4fde01['forEach'](_0x8d6df4=>{const _0xc44970=_0x50cf;if(!_0x448a11&&this['_unitOnClients'][_0xc44970(0x229)](_0x8d6df4)&&this[_0xc44970(0x438)](_0x8d6df4)[_0xc44970(0x3a6)](_0x1251ce[_0xc44970(0x250)][_0xc44970(0x1b2)]),!this[_0xc44970(0xdc)][_0xc44970(0x229)](_0x8d6df4)||!this[_0xc44970(0xdc)][_0xc44970(0x2d2)](_0x8d6df4)['has'](_0x45cda0)){let _0x334eae=this[_0xc44970(0xdc)]['get'](_0x8d6df4)||new Set();_0x334eae['add'](_0x45cda0),this[_0xc44970(0xdc)][_0xc44970(0x363)](_0x8d6df4,_0x334eae),this[_0xc44970(0x23a)](_0x45cda0);}}),_0x448a11||this[_0xead498(0x172)]({'type':0x0,'memberID':this[_0xead498(0x21a)],'unitIDs':[...this[_0xead498(0x353)]],'isForwarded':!0x0});}[_0x1e774e(0x23a)](_0x34e227){const _0x58e7aa=_0x1e774e;this[_0x58e7aa(0x295)](_0x34e227);let _0x287da8=window[_0x58e7aa(0x32e)](()=>{const _0x46cdd4=_0x58e7aa;this[_0x46cdd4(0xdc)][_0x46cdd4(0x1f1)](_0x502b7b=>{_0x502b7b['delete'](_0x34e227);});},_0x182c13*0x2);this['_clearOtherTimers'][_0x58e7aa(0x363)](_0x34e227,_0x287da8);}['_removeClearOtherTimer'](_0x274d47){const _0x57c6b8=_0x1e774e;if(this[_0x57c6b8(0x3f5)][_0x57c6b8(0x229)](_0x274d47)){let _0x400b09=this[_0x57c6b8(0x3f5)][_0x57c6b8(0x2d2)](_0x274d47);_0x400b09&&window[_0x57c6b8(0x3c2)](_0x400b09),this[_0x57c6b8(0x3f5)][_0x57c6b8(0x363)](_0x274d47,null);}}['_handleLeaveEvent'](_0x4e3c7a){const _0x1a24f0=_0x1e774e;let {memberID:_0x29bb64,unitIDs:_0x5a7938}=_0x4e3c7a;_0x5a7938[_0x1a24f0(0x1f1)](_0x1f7269=>{const _0x59bda0=_0x1a24f0;var _0x5cd58d;let _0x1c662f=this[_0x59bda0(0xdc)][_0x59bda0(0x2d2)](_0x1f7269);_0x1c662f&&(_0x1c662f[_0x59bda0(0x410)](_0x29bb64),(_0x5cd58d=this[_0x59bda0(0x438)](_0x1f7269))==null||_0x5cd58d[_0x59bda0(0x3a6)](_0x1c662f[_0x59bda0(0x215)]===0x0?_0x1251ce['UnitStatus'][_0x59bda0(0x41b)]:_0x1251ce[_0x59bda0(0x250)][_0x59bda0(0x1b2)]));}),this[_0x1a24f0(0x295)](_0x29bb64);}[_0x1e774e(0x3cc)](_0x3fdf98){const _0x9b8c0a=_0x1e774e;this['_scheduleClearOtherTimer'](_0x3fdf98[_0x9b8c0a(0x3a7)]);}[_0x1e774e(0x172)](_0x3db2b6){const _0x21ffcc=_0x1e774e;localStorage[_0x21ffcc(0x273)](_0x32e5ec,JSON[_0x21ffcc(0xdd)](_0x3db2b6));}['_scheduleHeartbeat'](){const _0x537ae5=_0x1e774e;this['_heartbeatTimer']=window[_0x537ae5(0x40e)](()=>{const _0x27f19e=_0x537ae5;this[_0x27f19e(0x172)]({'type':0x2,'memberID':this['_id']});},_0x182c13);}['_ensureSubject'](_0x21a5b2){const _0x1dcc1f=_0x1e774e;return this[_0x1dcc1f(0x2a7)][_0x1dcc1f(0x229)](_0x21a5b2)||this['_unitStatus'][_0x1dcc1f(0x363)](_0x21a5b2,new _0x5b1cc1[(_0x1dcc1f(0x203))](_0x1251ce[_0x1dcc1f(0x250)][_0x1dcc1f(0x41b)])),this[_0x1dcc1f(0x2a7)][_0x1dcc1f(0x2d2)](_0x21a5b2);}};Object['defineProperty'](_0x109245,_0x1e774e(0x23e),{'enumerable':!0x0,'get':function(){return _0xe71aea;}}),Object[_0x1e774e(0x14e)](_0x109245,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x673e97;}}),Object['defineProperty'](_0x109245,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x21e2fe;}}),_0x109245['SheetCollabCursorShape']=_0x2927aa,Object['defineProperty'](_0x109245,_0x1e774e(0x304),{'enumerable':!0x0,'get':function(){return _0x405960;}}),_0x109245[_0x1e774e(0x388)]=_0x2afb9c;}));function _0x3548(){const _0x2f92ea=['send','onPointerLeave$','max','GLOBAL','COMPLETE','visibilityState','triggerDblclick','canRenderAnchor','measureText','univer-m-0\x20univer-p-0','Unknown\x20user','activate','offline','WebBrowserSingleActiveUnitService','setOffsetY','prepareTransformSelections','_initSaveTimedOutMessage','keys','0.2)','attrs','url(#on-line-icon_clip0_910_349)','LocaleService','COLORS','261845PMRhNt','roomMembers$','ErrorCode','_snapshotLoadingService','InsertColCommandId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','add','font','_presenceStatusRegistrations','USERS_LEAVE','options','parseFloat','useId','univer-flex\x20univer-items-center\x20univer-justify-center','text','SetSelectionsOperation','TEXT','registerComponent','source','next','memberID','_blinkIntervalTimer','removeProperty','_handleJoinEvent','complete','_imageIoService','FETCH_MISS','_messageService','_disposeEntity','off-line-icon','_shapes','init','_monkeyPatchLogService','getOwnPropertyDescriptor','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','reason','getUnitStatus$','CollaborationSessionService','useCallback','handleInsertRangeMoveRight','8140MxBlyl','ITransformService','_registerDependencies','handleIRemoveRow','getMember','forwardRef','elapsedMs','clearTimeout','toString','getCurrentRevOfUnit','search','sheetId','Injector','ColorKit','1507Ppyohx','_hover','collaboration-client-ui.collabClient.tooltip.reconnect','_handleHeartbeatEvent','prototype','CollaborationSocketService','http://www.w3.org/2000/svg','_syncAdapters','state$','xlink:href','filter','collab-rect-range-','IMessageService','deepClone','_initStatusComponent','reconnect','distinctUntilChanged','1901305nnIfWa','_transformUndoRedoStack','getRangePointData','_logService','setUndoRedoMutationParamsCache','OffLineIcon','@univerjs/docs-ui','getColor','\x20at\x20','getCoordRelativeToViewport','UniverCore','getTypeOfUnitAdded$','sessionStatus$','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','_docSelectionManagerService','rxjs/operators','setStateCache','_collaborationUIEventService','collaboration-client-ui.conflict.title','hasAttribute','roomMembers','online','SHEET_VIEWPORT_KEY','createElement','_saveCache','_offsetY','_labelPosition','_clearOtherTimers','exhaustSavingTask','_startSheetCollabCursor','entityInit$','userId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pipe','MoveRangeCommandId','decorate','every','handleInsertRow','currentColor','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','eventID','DocSkeletonManagerService','Error','1.2.0','primary','transformIMECache','getSheetBySheetId','localName','columnGroupId','unitId','InsertRangeMoveDownCommandId','height','setInterval','_onCursorDelete','delete','_themeService','runRefRangeMutations','_memberID','post','_initConflictHandling','useDependency','_hovered','sheetID','react','_render','NO_OTHER_CLIENTS_EDITING','unitType','/run/','UniverProCollaborationClientUi','useMemo','_blinkTimer','beginPath','highlightSecond','setShapeProps','getConfig','DisposableCollection','_initEntityListener','function','_textBubble','_backgroundColor','stage','@univerjs/core','i18nKey','subscribe','stroke-width','collaboration-client-ui.collabStatus.synced','status$','find','_anchor','_setupBeforeClosingHandler','debounceTime','0\x200\x2017\x2016','_collabCursorController','_handleEvent','_ensureSubject','@univerjs/sheets','Subject','addObjects','key','labelHorizontalPosition','UniverDesign','selectedIds','element','RegularPolygon','_showConflictCacheClearFailedNotification','_getLighterColor','_range','contains','onPointerEnter$','replaceSelectionInfoWithoutRefresh','_unitOnClients','stringify','shareInterval','isInternalEditorID','ISocketService','@univerjs-pro/collaboration','range','indicator','url(#off-line-icon_clip0_910_343)','pageType','all','name','_adapter','_docTransformStateCacheService','tooltipKey','onLine','startsWith','_hideTimer','_stopBlinking','flatMap','jsxs','useLayoutEffect','LOADING_BLOCKS','TEXT_RANGE_LAYER_INDEX','some','_handleCursorUpdate','[LogService\x20Error]:\x20','moveTo','toFixed','_activeSaveTaskMap','undoState','_isDisposed','ACTIVE_UNIT_EVENT_CHANNEL','UniverNetworkPlugin','_trackActiveSaveTask','_startDocCollabCursor','getViewport','MemberService','dispose','makeDirty','_initUnhandledRejectionListener','1em','idSuffix','@univerjs/engine-render','_localCacheService','disposeWithMe','_docSyncEditingCollabCursorService','_collabSessionService','useObservable','Vector2','bind','_collaborationController','top','remoteRevert','registerRenderModule','UniverEngineRender','_getUserId','min','collaboration-client-ui.collaboration.single-unit.warning','entries','_reloadPage','snapshot-loading-','redoState','m2Prime','asObservable','ticket','_scheduleSaving','transformMutation','registerBeforeClose','_startBlinking','loadedBlocks','_online','UNIVER_DOC','timeoutState$','drawWith','collaboration-client-ui.collaboration.closeRoom','CommandType','Button','_init','LoadingMultiIcon','_clearRemotePresences','Tools','event$','enableDefaultConflictUI','_notificationService','_status$','merge','_uploadLog','memberId','@univerjs/design','createSocket','push','collaboration-client-ui.collabStatus.notCollab','unit','M0\x200H16V16H0z','snapshot-loading-timeout','IConfigService','IUIPartsService','selection','UniverSheetsUi','_registerPresenceStatusComponent','number','FromArray','pointer','addEventListener','_doCreateSocket','Disposable','origin','button','svg','3144968pbynHd','Plugin','CollaborationUIEventId','stack','defineProperty','6BylicG','getActiveSheet','wsSessionTicketUrl','presenceKind','UniverCollaborationClientPlugin','removeAttribute','Rect','collaboration-client-ui.config','style','_getScale','online$','_adapterRegistry','clipPath','_injector','black','InsertRangeMoveRightCommandId','runId','_onConflict','_scheduleHeartbeat','SessionStatus','SheetSkeletonManagerService','DocCollaborationEntity','transformMutationsWithChangeset','_updateCollabCursors','ERROR','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','observe','tableId','DEFAULT_WS_SESSION_TICKET_URL','UniverSheets','strokeOpacity','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','result','388041hEkGxK','handleDeleteRangeMoveUp','_send','mask','_createSocketURL','_cursorInfo$','UniverUi','react/jsx-runtime','setRemotePresence',',\x200.2)','getCurrentTypeOfUnit$','stroke','_drawRectRange','isEditing','DeleteRangeMoveLeftCommandId','lineTo','univer-appearance-none','symbol','_syncPresenceStatusComponents','RECT','evenodd','_syncEditingCollabCursorService','show','_drawAnchor','_localStorageService','_memberService','disableLocalCache','unshift','UniverInstanceType','collaboration-client-ui.collabStatus.fetchMiss','constructor','getScrollXYInfoByViewport','fill','collaboration-client-ui.collabStatus.offline','SOCKET_FAILED','dark:focus:!univer-ring-offset-gray-800','_watchBlockProgress','doc.mutation.rich-text-editing','_refRangeService','_listenToOfflineEvent','remove','toDisposable','div','strokeWidth','_normalizeUserId','_instanceService','@univerjs/docs','restore','textRanges','Inject','_initCommandExecutedListener','transformRemoteChangeset','enableDocumentCollaborationUI','registerCommand','_univerInstanceService','value','getCollabEntities','row','none','@univerjs/protocol','adapters$','then','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','update','RevisionService','getDocRanges','OTHER_CLIENTS_EDITING','catch','_blockProgressWatches','@univerjs/engine-formula','React','dispose$','Rectangle','getFocusedUnit','true','WarningIcon','RxDisposable','state','getSheetId','version','switchMap','subscribeEvent','getSkeleton','loading','DocumentSkeletonPageType','DocSelectionManagerService','application/json','registerRefRange','collaboration-client-ui.snapshotLoading.timeout','_cursor','_drawTextRange','filename','use','_initResize','#0B9EFB','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','IImageIoService','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','getUnitId','_docSkeletonManagerService','saveOfflineData','newValue','RemoveRowCommandId','searchParams','_cursors','rgb','getAncestorScale','color','collab-text-anchor-','m1Prime','createInstance','_onRefRangeChange','_initialized','includes','colno','@univerjs-pro/collaboration-client','collaboration-client-ui.session.collaboration-timeout','green.600','RichTextEditingMutation','requireSession','icon','setActiveRange','getColorFromTheme','_saveTimedOutMessages','IUniverInstanceService','_context','parse','_pendingEntities','cursorInfo$','forEach','editingUnit','343721BPVoiN','fromEvent','_removeSaveTimedOutMessage','_uiPartsService','allSettled','iterator','getMemberID','_getSaveTimeout','_clearTimeoutState','isTransformMutationFailure','removeEventListener','getSheetObject','@univerjs-pro/license','4kYTueA','_httpService','addHandlerCallback','BehaviorSubject','operators','toISOString','pulse','ILogService','clearRemotePresences','removeRemotePresence','split','_messageIds','cursorInfo','ranges','engine','remote_revert','handleDeleteRangeMoveLeft','_refreshCollabCursors','values','UniverDocsUIPlugin','debounce','size','pageIndex','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','object','clsx','_id','deserializeRangeWithSheet','_getAnchorBounding','statusUIPart','changesetResend$','univer-border-none\x20univer-bg-transparent','baseVal','DOC_RANGE_TYPE','removeItem','jsx','on-line-icon','getUndoRedoMutationParamsCache','univer-text-green-500','from','_updateMessage','has','SYNCED','setProperty','currentSkeleton$','getCollabCursors$','rgba(255,\x20255,\x20255,\x200.01)','SnapshotLoadStage','OTHER_CLIENT_EDITING','_adapterDisposables','rxjs','isActive','_cachedData','getAllUnitsForType','enableOfflineEditing','arc','@univerjs-pro/collaboration-client-ui','parseInt','_scheduleClearOtherTimer','_sheetSkeletonManagerService','highlight','addObject','BrowserCollaborationSocketService','_draw','ThemeService','FOOTER','setConfig','_getMergeRange','_disabled','disposeUnit','getStateCache','_isBlinkVisible','_config','univer-transition-all\x20univer-duration-200','CollaborationStatus','DocStateChangeManagerService','finally','priority','isArray','_docStateChangeManagerService','UnitStatus','getValue','segmentPage','isTransformMutationsWithChangesetSuccess','_timeoutState$','mergeOverrideWithDependencies','isReleased','toRgbString','IDocClipboardService','content','_docTransformSelectionsService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','kind','location','firstValueFrom','ILocalStorageService','1508908iLwgYQ','_listenToOnlineEvent','stream','_name','touchDependencies','UPDATE_CURSOR','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','combineLatest','getRenderUnitById','totalBlocks','@univerjs/ui','fillStyle','currentTheme$','[Window\x20Error]:\x20','showText','univer-h-8\x20univer-w-8\x20univer-rounded-lg','collaboration-client-ui.session.connection-failed','0\x200\x2016\x2016','_getSessionTicket','setItem','fillRule','target','univer-inline-flex\x20univer-items-center\x20univer-justify-center','INotificationService','HEADER','visible','message','backgroundColor','_docSkeleton','translate(.97)','_initWindowErrorListener','Failed','_removeCollabCursors','_labelHorizontalPosition','imageSourceType','handleMoveRange','assign','getLocalCacheKey','getPropertyPriority','focusedId','_clearBlockProgressWatch','findNodePositionByCharIndex','spin','enableFrontendLog','_presenceAdapterRegistry','_onCursorUpdate','_assignedColors','lineno','UniverLicensePlugin','executeCommand','preventDefault','displayName','onStarting','_removeClearOtherTimer','getBoundingClientRect','packageName','.title','collaboration-client-ui.collabStatus.conflict','IUnitPresenceUIAdapterRegistry','assignAColorForMemberID','AWAITING_WITH_PENDING','unsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OPERATION','NodePositionConvertToCursor','width','_renderManagerService','fillText','onMouseMove','timer','_initStatusListener','_unitStatus','_toggleOnline','Tooltip','connectInjector','collaboration-client-ui.conflict.retry','unhandledrejection','@univerjs/network','getLocalPresence','\x20-\x20','path','getItem','DependentOn','CollaborationController','viewBox','map','reload','UniverCollaborationPlugin','_retryConflictCacheClear','_updateLocalCursor','_disposeEntitiesForType','_disposed','getDocumentSkeletonColumnPagePathInfo','warning','onCommandExecuted','cacheCleared','IBeforeCloseService','current','loadOfflineData','params','url(#$1','_online$','univerjs-icon\x20univerjs-icon-','_dispose$','UniverEngineFormula','BuiltInUIPart','red.300','columnIndex','takeUntil','DocIMEInputManagerService','querySelectorAll','getSelectionInfo','static','bottom','get','error','Warning','_entityInit$','_highlight','9kPvPUR','@univerjs/sheets-ui','saveTaskMap','getCurrentUnitOfType','_showText','tag','UserManagerService','UniverIcon','_conflictNotification','_highlightSecond','_retryingConflictCacheUnitIDs','data','MessageType','VIEW_MAIN','onTransformChange$','hadStyleAttribute','status','_showSaveTimedOutMessage','with','non-scaling-stroke','appliedStrokeWidth','clickable','_scene','useImperativeHandle','_cursorShapes','/universer-api/frontend/logs','on-line-icon_clip0_910_349','exports','string','column','getCurrentSelections','ONLINE','CollaborationUIEventService','replace','handleInsertRangeMoveDown','_docClipboardService','throttle','UniverDocs','_transformPreviousActiveRange','!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end','_colorIndex','rgba','_showConflictProcessingNotification','_removeRemotePresence','href','UniverCollaborationClientUIPlugin','_docTransformIMECacheService','_collabCursorState$','pluginName','collaboration-client-ui.collaboration.offline-data-not-saved','_userManagerService','children','sessionTicket','executionId','span','UNIVER_SHEET','_entities','ICommandService','transform','_bindAdapter','ISnapshotServerService','defs','join','_beforeCloseService','collaboration-client-ui.','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','UniverDocsPlugin','syncEditingCollabCursor','originalStrokeWidth','getOffsetConfig','univer-text-red-500','length','_initUserListener','endOffset','_handleHover','setAlpha','invokeId','_configService','type','_color','IRenderManagerService','ILocalCacheService','_localeService','_session','closePath','round','mutations','setTimeout','save','getCoordByCell','collaboration-client-ui.conflict.clearFailed','AWAITING','isFinite','_registerRenderDependencies','_pointerMoveDisposable','off-line-icon_clip0_910_343','unitID','_collaborationSessionService','_commandService','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','now','offsetY','[Unhandled\x20Rejection]:\x20','clearOfflineData','EffectRefRangId','_initEvent','UniverProtocol','getPropertyValue','warning-icon','handleIRemoveCol','getTypeOfUnitDisposed$','CLOSE_ROOM','_revisionService','clear','toStringTag','registerDependencies','NOT_COLLAB','transformByState','right','conflict','collaboration-client-ui.snapshotLoading.refresh','transformStateCache','default','yellow.400','_selfUnitIDs','slice','CollaborationEvent','_colorAssignService','selections','endColumn','subUnitId','toPrimitive','_transformHistoryAndStateStack','_anchorDot','timeoutId','storage','backupOfflineData','colorChannel1','UniverProCollaborationClient','_transformService','set','onPointerMove$','Module','.content','SnapshotLoadingService','body','_heartbeatTimer','Response','_eventUnsubscribe','_saveTaskMap','_toggleOffline','clearInterval','hide','...','generateRandomId','univer-text-blue-500','collabCursorState$','_roomMembers$','HTTPService','startColumn','InsertRowCommandId','_replaceConflictNotification','_lastPointer','GET'];_0x3548=function(){return _0x2f92ea;};return _0x3548();}
|
|
1
|
+
function _0x179a(_0x479317,_0x3e99b0){_0x479317=_0x479317-0x1ab;const _0x580bcf=_0x580b();let _0x179ab5=_0x580bcf[_0x479317];return _0x179ab5;}(function(_0x4c8c01,_0x997971){const _0x1b2ea8=_0x179a,_0xb3e823=_0x4c8c01();while(!![]){try{const _0x41e79c=-parseInt(_0x1b2ea8(0x22f))/0x1+parseInt(_0x1b2ea8(0x472))/0x2+-parseInt(_0x1b2ea8(0x37e))/0x3*(-parseInt(_0x1b2ea8(0x28c))/0x4)+parseInt(_0x1b2ea8(0x2cf))/0x5*(-parseInt(_0x1b2ea8(0x1bb))/0x6)+parseInt(_0x1b2ea8(0x2d3))/0x7+parseInt(_0x1b2ea8(0x35d))/0x8*(-parseInt(_0x1b2ea8(0x226))/0x9)+parseInt(_0x1b2ea8(0x1bd))/0xa*(-parseInt(_0x1b2ea8(0x2a4))/0xb);if(_0x41e79c===_0x997971)break;else _0xb3e823['push'](_0xb3e823['shift']());}catch(_0x4b2545){_0xb3e823['push'](_0xb3e823['shift']());}}}(_0x580b,0xede1f),function(_0x436f26,_0x33aacc){const _0x291b98=_0x179a;typeof exports==_0x291b98(0x2f2)&&typeof module<'u'?_0x33aacc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x291b98(0x2b5)&&define[_0x291b98(0x44d)]?define([_0x291b98(0x3d4),_0x291b98(0x49a),_0x291b98(0x4e3),_0x291b98(0x457),_0x291b98(0x504),'rxjs/operators',_0x291b98(0x4c8),_0x291b98(0x1e8),_0x291b98(0x303),_0x291b98(0x1ff),_0x291b98(0x4b2),_0x291b98(0x471),'@univerjs/docs-ui',_0x291b98(0x23e),_0x291b98(0x508),_0x291b98(0x3fe),_0x291b98(0x3cc),_0x291b98(0x44c),_0x291b98(0x40a)],_0x33aacc):(_0x436f26=typeof globalThis<'u'?globalThis:_0x436f26||self,_0x33aacc(_0x436f26['UniverProCollaborationClientUi']={},_0x436f26[_0x291b98(0x326)],_0x436f26[_0x291b98(0x2ff)],_0x436f26['UniverUi'],_0x436f26['rxjs'],_0x436f26[_0x291b98(0x504)][_0x291b98(0x4bf)],_0x436f26[_0x291b98(0x3b5)],_0x436f26[_0x291b98(0x420)],_0x436f26[_0x291b98(0x420)],_0x436f26['UniverProCollaboration'],_0x436f26[_0x291b98(0x450)],_0x436f26[_0x291b98(0x22a)],_0x436f26['UniverDocsUi'],_0x436f26[_0x291b98(0x3ff)],_0x436f26[_0x291b98(0x31c)],_0x436f26['UniverEngineFormula'],_0x436f26[_0x291b98(0x39d)],_0x436f26['UniverSheetsUi'],_0x436f26['UniverProtocol']));}(this,function(_0x47af61,_0xd6e6bc,_0x243ba8,_0x456aa1,_0x4089a3,_0x51dbfd,_0x5f3d5a,_0x3e61d0,_0x36a3fe,_0x2557fc,_0x1b5e47,_0x446a63,_0x40df28,_0x1df5c2,_0x512293,_0x2236c3,_0x416bc1,_0x3f07c4,_0x43cd06){const _0x3a95bf=_0x179a;Object[_0x3a95bf(0x2b2)](_0x47af61,Symbol[_0x3a95bf(0x4ea)],{'value':'Module'});function _0x2a3a45({ref:_0x17639a,..._0x4a59c6}){const _0x49a198=_0x3a95bf;let {preserveStrokeWidth:_0x34f03,icon:_0x495527,id:_0x544d0f,className:_0x233b92,extend:_0x41e49a,..._0x3a23bb}=_0x4a59c6,_0x16eea1=(_0x49a198(0x33d)+_0x544d0f+'\x20'+(_0x233b92||''))[_0x49a198(0x283)](),_0x2e1d75='_'+(0x0,_0x3e61d0[_0x49a198(0x4a8)])(),_0x2337df=(0x0,_0x3e61d0[_0x49a198(0x36c)])(null);return(0x0,_0x3e61d0[_0x49a198(0x4a6)])(_0x17639a,()=>_0x2337df[_0x49a198(0x1f6)]),(0x0,_0x3e61d0[_0x49a198(0x1cb)])(()=>{const _0x5de482=_0x49a198;if(_0x34f03&&_0x2337df[_0x5de482(0x1f6)]&&_0x2337df['current']['localName']===_0x495527[_0x5de482(0x416)])return _0x10ee8a(_0x2337df[_0x5de482(0x1f6)]);},[_0x34f03,_0x495527]),_0x4b067b(_0x495527,''+_0x544d0f,{'defIds':_0x495527[_0x49a198(0x494)],'idSuffix':_0x2e1d75},{'ref':_0x2337df,'className':_0x16eea1,..._0x3a23bb},_0x41e49a);}function _0x4b067b(_0x5df4b4,_0x502f26,_0x4f6d72,_0x3bab2c,_0x2437ff){const _0x389e6b=_0x3a95bf;return(0x0,_0x3e61d0[_0x389e6b(0x4a9)])(_0x5df4b4[_0x389e6b(0x416)],{'key':_0x502f26,..._0x32ceaf(_0x5df4b4,_0x4f6d72,_0x2437ff),..._0x3bab2c},(_0x1dfaa7(_0x5df4b4,_0x4f6d72)[_0x389e6b(0x204)]||[])['map']((_0x58f051,_0x241aab)=>_0x4b067b(_0x58f051,_0x502f26+'-'+_0x5df4b4[_0x389e6b(0x416)]+'-'+_0x241aab,_0x4f6d72,void 0x0,_0x2437ff)));}function _0x32ceaf(_0x27dbb9,_0x1708f6,_0x5a5950){const _0x563750=_0x3a95bf;let _0x453134={..._0x27dbb9[_0x563750(0x39c)]};_0x5a5950!=null&&_0x5a5950[_0x563750(0x4fd)]&&_0x453134[_0x563750(0x338)]==='colorChannel1'&&(_0x453134[_0x563750(0x338)]=_0x5a5950[_0x563750(0x4fd)]),_0x5a5950!=null&&_0x5a5950['colorChannel1']&&_0x453134[_0x563750(0x401)]==='colorChannel1'&&(_0x453134[_0x563750(0x401)]=_0x5a5950[_0x563750(0x4fd)]),_0x27dbb9[_0x563750(0x416)]===_0x563750(0x2ec)&&_0x453134['id']&&(_0x453134['id']+=_0x1708f6[_0x563750(0x1fa)]),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x26a938,_0x44dfb4])=>{const _0x51aea1=_0x563750;_0x26a938==='mask'&&typeof _0x44dfb4==_0x51aea1(0x4b1)&&(_0x453134[_0x26a938]=_0x44dfb4[_0x51aea1(0x4ca)](/url\(#(.*)\)/,_0x51aea1(0x23a)+_0x1708f6[_0x51aea1(0x1fa)]+')'));});let {defIds:_0x4117a7}=_0x1708f6;return!_0x4117a7||_0x4117a7['length']===0x0||(_0x27dbb9[_0x563750(0x416)]===_0x563750(0x3e1)&&_0x453134[_0x563750(0x233)]&&(_0x453134[_0x563750(0x233)]+=_0x1708f6['idSuffix']),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x54dc65,_0x224961])=>{const _0x3dc236=_0x563750;typeof _0x224961==_0x3dc236(0x4b1)&&(_0x453134[_0x54dc65]=_0x224961[_0x3dc236(0x4ca)](/url\(#(.*)\)/,_0x3dc236(0x23a)+_0x1708f6[_0x3dc236(0x1fa)]+')'));})),_0x453134;}function _0x1dfaa7(_0x2d6362,_0x1ce10c){const _0x1d4256=_0x3a95bf;var _0x33a5dd;let {defIds:_0x583cd7}=_0x1ce10c;return!_0x583cd7||_0x583cd7[_0x1d4256(0x510)]===0x0?_0x2d6362:_0x2d6362[_0x1d4256(0x416)]===_0x1d4256(0x3ec)&&(_0x33a5dd=_0x2d6362[_0x1d4256(0x204)])!=null&&_0x33a5dd['length']?{..._0x2d6362,'children':_0x2d6362[_0x1d4256(0x204)]['map'](_0x145bec=>typeof _0x145bec[_0x1d4256(0x39c)]['id']==_0x1d4256(0x4b1)&&_0x583cd7&&_0x583cd7['includes'](_0x145bec[_0x1d4256(0x39c)]['id'])?{..._0x145bec,'attrs':{..._0x145bec[_0x1d4256(0x39c)],'id':_0x145bec[_0x1d4256(0x39c)]['id']+_0x1ce10c[_0x1d4256(0x1fa)]}}:_0x145bec)}:_0x2d6362;}function _0x10ee8a(_0x4809be){const _0x1556f7=_0x3a95bf;let _0x471bb0=_0x4809be['viewBox'][_0x1556f7(0x1b4)],_0x14b84f=Math[_0x1556f7(0x3df)](_0x471bb0[_0x1556f7(0x40b)],_0x471bb0['height']);if(!Number[_0x1556f7(0x2bc)](_0x14b84f)||_0x14b84f<=0x0||_0x471bb0[_0x1556f7(0x40b)]<=0x0||_0x471bb0[_0x1556f7(0x350)]<=0x0)return()=>void 0x0;let _0x2176cc=0x10/_0x14b84f,_0x386db9=Array[_0x1556f7(0x292)](_0x4809be[_0x1556f7(0x39a)](_0x1556f7(0x3de)))['flatMap'](_0x16e211=>{const _0x12c4e3=_0x1556f7;let _0xcd328f=getComputedStyle(_0x16e211),_0x494748=Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x1b3)]);return _0xcd328f[_0x12c4e3(0x401)]===_0x12c4e3(0x300)||Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x260)])===0x0||_0xcd328f['vectorEffect']===_0x12c4e3(0x447)||!Number['isFinite'](_0x494748)||_0x494748<=0x0?[]:[{'element':_0x16e211,'hadStyleAttribute':_0x16e211[_0x12c4e3(0x506)](_0x12c4e3(0x257)),'originalStrokeWidth':_0x494748,'strokeWidth':_0x2d9b9d(_0x16e211['style'],_0x12c4e3(0x1e2))}];})['map'](_0x20c5e9=>({'appliedStrokeWidth':null,'element':_0x20c5e9['element'],'hadStyleAttribute':_0x20c5e9[_0x1556f7(0x391)],'isReleased':!0x1,'originalStrokeWidth':_0x20c5e9[_0x1556f7(0x2e5)],'strokeWidth':_0x20c5e9['strokeWidth']}));if(_0x386db9[_0x1556f7(0x510)]===0x0)return()=>void 0x0;let _0x2a598b=(_0x4ddb58,_0x41554e)=>{const _0x394fcc=_0x1556f7;if(_0x471bb0[_0x394fcc(0x40b)]<=0x0||_0x471bb0[_0x394fcc(0x350)]<=0x0||_0x4ddb58<=0x0||_0x41554e<=0x0)return;let _0x4e3753=Math[_0x394fcc(0x4db)](_0x4ddb58/_0x471bb0[_0x394fcc(0x40b)],_0x41554e/_0x471bb0[_0x394fcc(0x350)]);!Number[_0x394fcc(0x2bc)](_0x4e3753)||_0x4e3753<=0x0||_0x386db9[_0x394fcc(0x437)](_0x37e44c=>{const _0x1e2b32=_0x394fcc;if(_0x37e44c['isReleased'])return;if(_0x37e44c[_0x1e2b32(0x354)]!==null&&(_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)][_0x1e2b32(0x1b8)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x354)]||_0x37e44c[_0x1e2b32(0x1f5)]['style'][_0x1e2b32(0x301)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x1b3)][_0x1e2b32(0x266)])){_0x37e44c['appliedStrokeWidth']=null,_0x37e44c[_0x1e2b32(0x1b2)]=!0x0;return;}let _0x488fcf=_0x37e44c['originalStrokeWidth']*_0x2176cc/_0x4e3753,_0x426bfd=Number(_0x488fcf[_0x1e2b32(0x374)](0xc))+'px';_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)]['setProperty'](_0x1e2b32(0x1e2),_0x426bfd,_0x37e44c['strokeWidth'][_0x1e2b32(0x266)]),_0x37e44c[_0x1e2b32(0x354)]=_0x426bfd;});},_0x4a42df=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x4a42df['width'],_0x4a42df[_0x1556f7(0x350)]);let _0xe1971a=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x1ecf1d=>{const _0x121f67=_0x1556f7;if(_0x1ecf1d['some'](_0x467d80=>_0x467d80[_0x121f67(0x3b4)]===_0x4809be)){let _0x41ae89=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x41ae89['width'],_0x41ae89[_0x121f67(0x350)]);}});return _0xe1971a==null||_0xe1971a[_0x1556f7(0x3c4)](_0x4809be),()=>{const _0x1e04e9=_0x1556f7;_0xe1971a==null||_0xe1971a[_0x1e04e9(0x40d)](),_0x386db9['forEach'](_0x231d54=>{const _0x3f55de=_0x1e04e9;_0x231d54['appliedStrokeWidth']!==null&&(_0x2b8920(_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)],_0x3f55de(0x1e2),_0x231d54['appliedStrokeWidth'],_0x231d54[_0x3f55de(0x1b3)][_0x3f55de(0x266)],_0x231d54['strokeWidth']),!_0x231d54[_0x3f55de(0x391)]&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)][_0x3f55de(0x510)]===0x0&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x316)]('style'));});};}function _0x2d9b9d(_0x102cc2,_0x24d1cb){return{'priority':_0x102cc2['getPropertyPriority'](_0x24d1cb),'value':_0x102cc2['getPropertyValue'](_0x24d1cb)};}function _0x2b8920(_0x51c230,_0x156bce,_0x2ecd72,_0xcfc6a5,_0x42365d){const _0x381a9a=_0x3a95bf;_0x51c230['getPropertyValue'](_0x156bce)===_0x2ecd72&&_0x51c230[_0x381a9a(0x301)](_0x156bce)===_0xcfc6a5&&(_0x42365d[_0x381a9a(0x238)]?_0x51c230[_0x381a9a(0x30e)](_0x156bce,_0x42365d['value'],_0x42365d[_0x381a9a(0x266)]):_0x51c230['removeProperty'](_0x156bce));}_0x2a3a45['displayName']=_0x3a95bf(0x2da);let _0x5a94c7={'tag':'svg','attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':'none','viewBox':_0x3a95bf(0x1fd),'width':'1em','height':_0x3a95bf(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x1eb)},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'stroke':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x27a),'strokeLinecap':_0x3a95bf(0x341),'strokeLinejoin':_0x3a95bf(0x341),'strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':_0x3a95bf(0x3c6),'attrs':{'id':_0x3a95bf(0x498)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f)}}]}]}],'defIds':[_0x3a95bf(0x498)]},_0x4a9df0=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x502a7c,_0xb0a798){const _0x117eeb=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object['assign']({},_0x502a7c,{'id':_0x117eeb(0x4c2),'ref':_0xb0a798,'icon':_0x5a94c7}));});_0x4a9df0['displayName']='OffLineIcon';let _0x1d3380={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x46a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x281)},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a95bf(0x433)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f),'transform':_0x3a95bf(0x1f3)}}]}]}],'defIds':[_0x3a95bf(0x433)]},_0x413a17=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x3bd530,_0xd3addd){const _0x9526f5=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0x9526f5(0x353)]({},_0x3bd530,{'id':_0x9526f5(0x27e),'ref':_0xd3addd,'icon':_0x1d3380}));});_0x413a17['displayName']=_0x3a95bf(0x1c3);let _0x10bfd5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x225),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0xa2de88=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x1950eb,_0x10d781){const _0x561225=_0x3a95bf;return(0x0,_0x3e61d0[_0x561225(0x4a9)])(_0x2a3a45,Object[_0x561225(0x353)]({},_0x1950eb,{'id':_0x561225(0x276),'ref':_0x10d781,'icon':_0x10bfd5}));});_0xa2de88[_0x3a95bf(0x2fe)]=_0x3a95bf(0x323);let _0x4c9308={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x1fd),'width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x399),'d':_0x3a95bf(0x2ea),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':'#0B9EFB','d':_0x3a95bf(0x330),'fillRule':_0x3a95bf(0x4ec),'clipRule':_0x3a95bf(0x4ec)}}]},_0x12aada=(0x0,_0x3e61d0['forwardRef'])(function(_0x45719d,_0x29fecb){const _0xdda260=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0xdda260(0x353)]({},_0x45719d,{'id':_0xdda260(0x1b6),'ref':_0x29fecb,'icon':_0x4c9308}));});_0x12aada['displayName']=_0x3a95bf(0x21f);function _0x549cc9(_0x4be866){const _0x33b695=_0x3a95bf;switch(_0x4be866){case _0xd6e6bc['CollaborationStatus']['OFFLINE']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x4a9df0,{}),'colorClass':'univer-text-red-500','i18nKey':_0x33b695(0x4bc),'tooltipKey':_0x33b695(0x318),'clickable':!0x0,'indicator':_0x33b695(0x405)};case _0xd6e6bc[_0x33b695(0x3b8)]['CONFLICT']:return{'icon':(0x0,_0x36a3fe['jsx'])(_0x4a9df0,{}),'colorClass':_0x33b695(0x2eb),'i18nKey':_0x33b695(0x37c),'clickable':!0x1,'indicator':'static'};case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x476)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x33b695(0x2fc),'clickable':!0x1,'indicator':'spin'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x331)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x50b),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':'static'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x427)]:case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x3e2)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0xd6e6bc['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':_0x33b695(0x372),'i18nKey':_0x33b695(0x386),'clickable':!0x1,'indicator':_0x33b695(0x464)};case _0xd6e6bc[_0x33b695(0x3b8)]['SYNCED']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x25d),'i18nKey':_0x33b695(0x4c0),'clickable':!0x1,'indicator':_0x33b695(0x405)};}}function _0x13a467(_0x556a43){const _0x153bb5=_0x3a95bf;let {status$:_0x3b918f}=_0x556a43,_0x1e1a40=(0x0,_0x456aa1[_0x153bb5(0x202)])(_0x3b918f,_0xd6e6bc[_0x153bb5(0x3b8)]['NOT_COLLAB']),_0x3ee708=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0x243ba8[_0x153bb5(0x3e4)]),_0x1b0f0f=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0xd6e6bc['CollaborationSessionService']),_0x4d3de3=(0x0,_0x3e61d0['useMemo'])(()=>_0x549cc9(_0x1e1a40),[_0x1e1a40]),_0x3a90f6=_0x1e1a40!==_0xd6e6bc[_0x153bb5(0x3b8)][_0x153bb5(0x3d6)],_0x55ea41=_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x20f)]),_0x196383=_0x4d3de3['tooltipKey']?_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x328)]):_0x55ea41,_0x247e82=(0x0,_0x3e61d0[_0x153bb5(0x485)])(()=>{const _0x2c755c=_0x153bb5;_0x3a90f6||_0x1b0f0f[_0x2c755c(0x3b6)]();},[_0x3a90f6,_0x1b0f0f]),_0x2f4ead=(0x0,_0x3e61d0[_0x153bb5(0x485)])(_0x754e3a=>{const _0x57bc3a=_0x153bb5;!_0x3a90f6&&(_0x754e3a[_0x57bc3a(0x453)]===_0x57bc3a(0x247)||_0x754e3a[_0x57bc3a(0x453)]==='\x20')&&(_0x754e3a[_0x57bc3a(0x277)](),_0x1b0f0f[_0x57bc3a(0x3b6)]());},[_0x3a90f6,_0x1b0f0f]),_0x3b183e=(0x0,_0x36a3fe['jsx'])('span',{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x4d3de3[_0x153bb5(0x265)],{'univer-animate-spin':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x464),'univer-animate-pulse':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x445)}),'aria-hidden':_0x153bb5(0x1fc),'children':_0x4d3de3[_0x153bb5(0x355)]}),_0x33dea2=(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x43b),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x4f7),_0x153bb5(0x24d),_0x153bb5(0x2e4),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d3de3['clickable'],'univer-cursor-default':!_0x4d3de3[_0x153bb5(0x1f4)]}),'children':_0x3b183e});return _0x4d3de3['clickable']?(0x0,_0x36a3fe['jsx'])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':'bottom','children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x2c7),{'type':_0x153bb5(0x2c7),'onClick':_0x247e82,'onKeyDown':_0x2f4ead,'className':(0x0,_0x5f3d5a['clsx'])(_0x153bb5(0x221),_0x153bb5(0x24a),_0x153bb5(0x28a),'univer-appearance-none'),'aria-label':_0x55ea41+_0x153bb5(0x2ac)+_0x196383,'role':'status','aria-live':'polite','aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})}):(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':_0x153bb5(0x2b1),'children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x1d4),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x24a),'univer-m-0\x20univer-p-0'),'aria-label':_0x55ea41,'role':_0x153bb5(0x2a2),'aria-live':_0x153bb5(0x311),'aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})});}function _0x558da2(_0x25ab3d){'@babel/helpers - typeof';const _0x4d7342=_0x3a95bf;return _0x558da2=typeof Symbol==_0x4d7342(0x2b5)&&typeof Symbol[_0x4d7342(0x32a)]==_0x4d7342(0x33b)?function(_0x11d408){return typeof _0x11d408;}:function(_0xa6f5c8){const _0x2c65d4=_0x4d7342;return _0xa6f5c8&&typeof Symbol=='function'&&_0xa6f5c8[_0x2c65d4(0x298)]===Symbol&&_0xa6f5c8!==Symbol[_0x2c65d4(0x4b0)]?_0x2c65d4(0x33b):typeof _0xa6f5c8;},_0x558da2(_0x25ab3d);}function _0x3f5a13(_0x2a7cc2,_0x4bdaf5){const _0x4d34cd=_0x3a95bf;if(_0x558da2(_0x2a7cc2)!=_0x4d34cd(0x2f2)||!_0x2a7cc2)return _0x2a7cc2;var _0x197e2f=_0x2a7cc2[Symbol['toPrimitive']];if(_0x197e2f!==void 0x0){var _0x26934f=_0x197e2f['call'](_0x2a7cc2,_0x4bdaf5||_0x4d34cd(0x3f8));if(_0x558da2(_0x26934f)!=_0x4d34cd(0x2f2))return _0x26934f;throw TypeError(_0x4d34cd(0x4ed));}return(_0x4bdaf5==='string'?String:Number)(_0x2a7cc2);}function _0x1735f6(_0x42bbd9){const _0x29e9cf=_0x3a95bf;var _0x53a99b=_0x3f5a13(_0x42bbd9,_0x29e9cf(0x4b1));return _0x558da2(_0x53a99b)==_0x29e9cf(0x33b)?_0x53a99b:_0x53a99b+'';}function _0x538d20(_0x7087b0,_0x318a1f,_0x1c3588){const _0x52893d=_0x3a95bf;return(_0x318a1f=_0x1735f6(_0x318a1f))in _0x7087b0?Object[_0x52893d(0x2b2)](_0x7087b0,_0x318a1f,{'value':_0x1c3588,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7087b0[_0x318a1f]=_0x1c3588,_0x7087b0;}function _0x489cd3(_0x91dafe,_0x9f3caf){return function(_0x7cd885,_0x5988c3){_0x9f3caf(_0x7cd885,_0x5988c3,_0x91dafe);};}function _0x313369(_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663){const _0x328d28=_0x3a95bf;var _0x560434=arguments[_0x328d28(0x510)],_0x241b0d=_0x560434<0x3?_0x56e54d:_0x26c663===null?_0x26c663=Object['getOwnPropertyDescriptor'](_0x56e54d,_0x4af321):_0x26c663,_0x4bdb34;if(typeof Reflect=='object'&&typeof Reflect[_0x328d28(0x50e)]=='function')_0x241b0d=Reflect[_0x328d28(0x50e)](_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663);else{for(var _0x5adaae=_0x30d3f2['length']-0x1;_0x5adaae>=0x0;_0x5adaae--)(_0x4bdb34=_0x30d3f2[_0x5adaae])&&(_0x241b0d=(_0x560434<0x3?_0x4bdb34(_0x241b0d):_0x560434>0x3?_0x4bdb34(_0x56e54d,_0x4af321,_0x241b0d):_0x4bdb34(_0x56e54d,_0x4af321))||_0x241b0d);}return _0x560434>0x3&&_0x241b0d&&Object[_0x328d28(0x2b2)](_0x56e54d,_0x4af321,_0x241b0d),_0x241b0d;}let _0x504763=class extends _0x243ba8['Disposable']{constructor(_0x34667d,_0xbf88f2,_0x3fa4b8,_0x478004,_0x2dcf55){const _0x3df3a0=_0x3a95bf;super(),this[_0x3df3a0(0x31e)]=_0x34667d,this['_injector']=_0xbf88f2,this[_0x3df3a0(0x2a0)]=_0x3fa4b8,this[_0x3df3a0(0x4ee)]=_0x478004,this[_0x3df3a0(0x407)]=_0x2dcf55,_0x538d20(this,_0x3df3a0(0x25f),new _0x4089a3[(_0x3df3a0(0x43f))](_0xd6e6bc[_0x3df3a0(0x3b8)]['NOT_COLLAB'])),_0x538d20(this,_0x3df3a0(0x2be),new Map()),this[_0x3df3a0(0x3bf)](),this[_0x3df3a0(0x2b0)](),this[_0x3df3a0(0x4c7)]();}[_0x3a95bf(0x1f0)](){const _0x38d262=_0x3a95bf;this[_0x38d262(0x2be)][_0x38d262(0x437)](_0x5f5b8c=>_0x5f5b8c[_0x38d262(0x1f0)]()),this[_0x38d262(0x2be)]['clear'](),this[_0x38d262(0x25f)][_0x38d262(0x1c8)](),super['dispose']();}['_initStatusListener'](){const _0x5f20e4=_0x3a95bf;this[_0x5f20e4(0x359)]((0x0,_0x4089a3[_0x5f20e4(0x2e8)])(this[_0x5f20e4(0x31e)]['focused$'],this[_0x5f20e4(0x31e)]['getCurrentTypeOfUnit$'](_0x243ba8[_0x5f20e4(0x509)]['UNIVER_DOC']),this[_0x5f20e4(0x31e)][_0x5f20e4(0x431)](_0x243ba8[_0x5f20e4(0x509)][_0x5f20e4(0x295)]))[_0x5f20e4(0x325)]((0x0,_0x51dbfd[_0x5f20e4(0x3a2)])(()=>_0x2d9de6(this[_0x5f20e4(0x31e)])),(0x0,_0x51dbfd[_0x5f20e4(0x492)])(),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x3d7158=>_0x3d7158?this['_collaborationController']['getCollabEntity$'](_0x3d7158):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x4ebd56=>_0x4ebd56?_0x4ebd56[_0x5f20e4(0x4ce)]:(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x5f20e4(0x3b8)]['NOT_COLLAB'])))[_0x5f20e4(0x425)](_0x58ae1a=>{const _0x5d0755=_0x5f20e4;this[_0x5d0755(0x25f)][_0x5d0755(0x1e4)](_0x58ae1a);}));}[_0x3a95bf(0x3bf)](){const _0x203915=_0x3a95bf;this[_0x203915(0x359)](this[_0x203915(0x4ee)][_0x203915(0x32c)](_0x456aa1[_0x203915(0x1b0)][_0x203915(0x49f)],()=>(0x0,_0x456aa1['connectInjector'])(_0x24caa9({'status$':this['_status$'][_0x203915(0x1cd)]()}),this[_0x203915(0x4c9)])));}[_0x3a95bf(0x4c7)](){const _0x2a393a=_0x3a95bf;let _0x4b6cee=this[_0x2a393a(0x407)][_0x2a393a(0x2b6)][_0x2a393a(0x425)](_0x220584=>{const _0x265dc1=_0x2a393a;this[_0x265dc1(0x348)](_0x220584);});this[_0x2a393a(0x359)]((0x0,_0x243ba8['toDisposable'])(()=>_0x4b6cee['unsubscribe']()));}[_0x3a95bf(0x348)](_0x20ebc3){const _0x311e15=_0x3a95bf;let _0x292cc1=new Map(_0x20ebc3[_0x311e15(0x1d2)](_0x18a8e0=>_0x18a8e0[_0x311e15(0x454)]!=null)[_0x311e15(0x3a2)](_0x88074b=>[_0x88074b[_0x311e15(0x2b7)],_0x88074b]));this[_0x311e15(0x2be)]['forEach']((_0x3d5718,_0x5b8de5)=>{const _0x358c4a=_0x311e15;_0x292cc1[_0x358c4a(0x502)](_0x5b8de5)||(_0x3d5718[_0x358c4a(0x1f0)](),this[_0x358c4a(0x2be)][_0x358c4a(0x26e)](_0x5b8de5));}),_0x292cc1[_0x311e15(0x437)]((_0x23f1cd,_0x46c998)=>{const _0xd348de=_0x311e15;this[_0xd348de(0x2be)][_0xd348de(0x502)](_0x46c998)||this[_0xd348de(0x4f6)](_0x23f1cd);});}[_0x3a95bf(0x4f6)](_0x337d7a){const _0x4d350f=_0x3a95bf;let _0x224cec=_0x337d7a[_0x4d350f(0x454)];if(!_0x224cec)return;let _0x4bce12=new _0x243ba8[(_0x4d350f(0x278))](),_0x4b666e=new _0x4089a3[(_0x4d350f(0x43f))](_0xd6e6bc[_0x4d350f(0x3b8)]['NOT_COLLAB']);_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8[_0x4d350f(0x31b)])(()=>_0x4b666e['complete']())),_0x4bce12[_0x4d350f(0x299)](this[_0x4d350f(0x4ee)][_0x4d350f(0x32c)](_0x224cec,()=>(0x0,_0x456aa1[_0x4d350f(0x320)])(_0x24caa9({'status$':_0x4b666e[_0x4d350f(0x1cd)]()}),this[_0x4d350f(0x4c9)])));let _0x2daef6=this[_0x4d350f(0x31e)]['getCurrentTypeOfUnit$'](_0x337d7a['unitType'])[_0x4d350f(0x325)]((0x0,_0x51dbfd[_0x4d350f(0x3a2)])(_0x4166b5=>(_0x4166b5==null?void 0x0:_0x4166b5[_0x4d350f(0x4cd)]())??null),(0x0,_0x51dbfd['distinctUntilChanged'])(),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x8c31b0=>_0x8c31b0?this[_0x4d350f(0x2a0)][_0x4d350f(0x33e)](_0x8c31b0):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x35fc2b=>(_0x35fc2b==null?void 0x0:_0x35fc2b[_0x4d350f(0x4ce)])??(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x4d350f(0x3b8)][_0x4d350f(0x331)])))[_0x4d350f(0x425)](_0x1bda0e=>_0x4b666e[_0x4d350f(0x1e4)](_0x1bda0e));_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8['toDisposable'])(()=>_0x2daef6[_0x4d350f(0x3b2)]())),this[_0x4d350f(0x2be)][_0x4d350f(0x4b9)](_0x337d7a['unitType'],_0x4bce12);}};_0x504763=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x3,_0x456aa1['IUIPartsService']),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x504763);function _0x2d9de6(_0x5b62c5){const _0x464e5a=_0x3a95bf;let _0x332c1f=_0x5b62c5['getFocusedUnit'](),_0x430b59=_0x332c1f==null?void 0x0:_0x332c1f['getUnitId']();if(_0x430b59&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x430b59))return _0x430b59;let _0x1874b6=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)]),_0x45ee66=_0x1874b6==null?void 0x0:_0x1874b6[_0x464e5a(0x4cd)]();if(_0x45ee66&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x45ee66))return _0x45ee66;let _0x4f2d29=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x295)]);if(_0x4f2d29)return _0x4f2d29[_0x464e5a(0x4cd)]();let _0x31deed=_0x5b62c5['getAllUnitsForType'](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)])['find'](_0x490162=>!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x490162['getUnitId']()));return _0x31deed?_0x31deed[_0x464e5a(0x4cd)]():null;}function _0x24caa9(_0x6203ab){let {status$:_0x451873}=_0x6203ab;return function(){const _0x1c62ef=_0x179a;return(0x0,_0x36a3fe[_0x1c62ef(0x4a4)])(_0x13a467,{'status$':_0x451873});};}var _0x227a21='@univerjs-pro/collaboration-client-ui',_0xa76bd6=_0x3a95bf(0x290);let _0x574984={'id':'collaboration-client-ui.operation.update-remote-unit-presence','type':_0x243ba8[_0x3a95bf(0x356)][_0x3a95bf(0x3b3)],'handler':(_0x582a5b,_0x1e2004)=>{const _0x13d568=_0x3a95bf;let _0x3ca9b4=_0x582a5b[_0x13d568(0x26a)](_0x456aa1[_0x13d568(0x327)])[_0x13d568(0x26a)](_0x1e2004[_0x13d568(0x2b7)]);if(!_0x3ca9b4)return!0x1;switch(_0x1e2004[_0x13d568(0x4b7)]['type']){case _0x13d568(0x4b9):return _0x3ca9b4[_0x13d568(0x43c)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x439)]),!0x0;case _0x13d568(0x29c):return _0x3ca9b4[_0x13d568(0x459)](_0x1e2004[_0x13d568(0x4b7)]['unitId'],_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x297)]),!0x0;case _0x13d568(0x424):return _0x3ca9b4[_0x13d568(0x3eb)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x2a1)]),!0x0;default:return!0x1;}}},_0x17ec3a={},_0x217fc6=class extends _0x243ba8['RxDisposable']{constructor(_0x349e37,_0x12bafb){const _0x51848c=_0x3a95bf;super(),this[_0x51848c(0x365)]=_0x349e37,this[_0x51848c(0x332)]=_0x12bafb,this['_init']();}[_0x3a95bf(0x2bf)](){const _0x24cb20=_0x3a95bf;let _0x1a8c24=this;this['disposeWithMe'](this[_0x24cb20(0x365)][_0x24cb20(0x49b)]({'onBeforePasteImage':async _0x2298ec=>{const _0x88119f=_0x24cb20;let _0x5356c9=await _0x1a8c24['_imageIoService'][_0x88119f(0x2bb)](_0x2298ec);return _0x5356c9?{'source':_0x5356c9['source'],'imageSourceType':_0x5356c9['imageSourceType']}:null;}}));}};_0x217fc6=_0x313369([_0x489cd3(0x0,_0x40df28[_0x3a95bf(0x1cc)]),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x1ad)])],_0x217fc6);let _0x29c212=[_0x3a95bf(0x201),_0x3a95bf(0x37f),_0x3a95bf(0x24c),_0x3a95bf(0x43e),'blue.400','yellow.400'];var _0x566e73=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(..._0x3f3086){const _0x4e9b7f=_0x3a95bf;super(..._0x3f3086),_0x538d20(this,_0x4e9b7f(0x499),new Map()),_0x538d20(this,_0x4e9b7f(0x224),0x0);}[_0x3a95bf(0x2c1)](_0x295e12){const _0x51377e=_0x3a95bf;if(this[_0x51377e(0x499)]['has'](_0x295e12))return this[_0x51377e(0x499)][_0x51377e(0x26a)](_0x295e12);let _0x5ed0b8=_0x29c212[this[_0x51377e(0x224)]];return this[_0x51377e(0x224)]=(this['_colorIndex']+0x1)%_0x29c212['length'],this[_0x51377e(0x499)]['set'](_0x295e12,_0x5ed0b8),_0x5ed0b8;}};function _0x239a30(_0x5c4051){let _0x528633='';for(let _0x54774d of _0x5c4051){let {startOffset:_0x5e5a27,endOffset:_0x166516,isActive:_0x17786d,rangeType:_0x18e05e,segmentId:_0x3e87b3,segmentPage:_0x20b76c}=_0x54774d;_0x528633['length']&&(_0x528633+=','),_0x528633+=_0x5e5a27+':'+_0x166516+':'+(_0x17786d?'1':'0')+':'+_0x18e05e+':'+_0x3e87b3+':'+_0x20b76c;}return _0x528633;}function _0x2c6725(_0x297fc3){const _0x3f7cea=_0x3a95bf;let _0x1d7cd7=_0x297fc3[_0x3f7cea(0x34b)](','),_0x49d1a0=[];for(let _0x23c250 of _0x1d7cd7){let [_0x294d39,_0x27ab0d,_0x55c3a6,_0x1d071f,_0x31ad30,_0x8792f9]=_0x23c250[_0x3f7cea(0x34b)](':');_0x49d1a0[_0x3f7cea(0x50f)]({'startOffset':Number(_0x294d39),'endOffset':Number(_0x27ab0d),'collapsed':_0x294d39===_0x27ab0d,'isActive':_0x55c3a6==='1','rangeType':_0x1d071f===_0x243ba8[_0x3f7cea(0x44a)]['TEXT']?_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x434)]:_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x22e)],'segmentId':typeof _0x31ad30=='string'?String(_0x31ad30):'','segmentPage':Number(_0x8792f9??-0x1)});}return _0x49d1a0[_0x3f7cea(0x32d)](_0x211bb3=>_0x211bb3[_0x3f7cea(0x48f)])||(_0x49d1a0[0x0][_0x3f7cea(0x48f)]=!0x0),_0x49d1a0;}var _0x7cbc68=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(..._0x55d882){const _0x263454=_0x3a95bf;super(..._0x55d882),_0x538d20(this,'_collabCursorState$',new _0x4089a3['BehaviorSubject'](null)),_0x538d20(this,_0x263454(0x479),this['_collabCursorState$']['asObservable']());}[_0x3a95bf(0x273)](_0x269f12){const _0x3a596f=_0x3a95bf;let {unitID:_0x45f393,memberID:_0xbb8812,textRanges:_0x593053}=_0x269f12,_0x16b5d7=_0x239a30(_0x593053);if(_0x16b5d7==='')return;let _0x5f2788={'unitID':_0x45f393,'memberID':_0xbb8812,'selection':_0x16b5d7};this[_0x3a596f(0x3c3)]['next'](_0x5f2788);}};let _0x13964a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x2c3c94=_0x3a95bf;return this[_0x2c3c94(0x35b)][_0x2c3c94(0x2a6)]();}get[_0x3a95bf(0x404)](){const _0x1d9fcd=_0x3a95bf;return this['_roomMembers$'][_0x1d9fcd(0x2a6)]();}constructor(_0x3a4f1c,_0x5122ad,_0x5939ba,_0x425ccb,_0x25fe56,_0x406c11,_0x50cd9d,_0x425111,_0x5df8df){const _0x592c19=_0x3a95bf;super(),this[_0x592c19(0x259)]=_0x3a4f1c,this['_session']=_0x5122ad,this['_injector']=_0x5939ba,this[_0x592c19(0x440)]=_0x425ccb,this[_0x592c19(0x382)]=_0x25fe56,this['_syncEditingCollabCursorService']=_0x406c11,this[_0x592c19(0x481)]=_0x50cd9d,this[_0x592c19(0x31e)]=_0x425111,this['_commandService']=_0x5df8df,_0x538d20(this,'_online',!0x1),_0x538d20(this,_0x592c19(0x2bf),!0x1),_0x538d20(this,_0x592c19(0x35b),new _0x4089a3[(_0x592c19(0x43f))](new Map())),_0x538d20(this,_0x592c19(0x36f),this[_0x592c19(0x35b)][_0x592c19(0x1cd)]()),_0x538d20(this,_0x592c19(0x465),new _0x4089a3[(_0x592c19(0x43f))]([])),_0x538d20(this,_0x592c19(0x25a),this['_roomMembers$'][_0x592c19(0x325)]((0x0,_0x4089a3['debounceTime'])(0x12c))),_0x538d20(this,_0x592c19(0x250),(0x0,_0x243ba8[_0x592c19(0x234)])(_0x1fb840=>{const _0x4879a2=_0x592c19;let _0x4da85e={'eventID':_0x2557fc[_0x4879a2(0x4b3)][_0x4879a2(0x368)],'data':{'unitID':this['unitID'],'memberID':this[_0x4879a2(0x1c2)][_0x4879a2(0x30c)](),'selection':_0x239a30(_0x1fb840)}};this[_0x4879a2(0x1c2)]['send'](_0x4da85e,this['unitID']);},0x64));}['dispose'](){const _0x4d6f23=_0x3a95bf;super[_0x4d6f23(0x1f0)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x4d6f23(0x1c8)](),this[_0x4d6f23(0x465)][_0x4d6f23(0x1e4)]([]),this[_0x4d6f23(0x465)][_0x4d6f23(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x160d15=_0x3a95bf;this['_init']||(this[_0x160d15(0x2bf)]=!0x0,this[_0x160d15(0x1c2)][_0x160d15(0x2b3)][_0x160d15(0x325)]((0x0,_0x4089a3[_0x160d15(0x351)])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x544aab=>{const _0x35442b=_0x160d15;_0x544aab===_0xd6e6bc[_0x35442b(0x4a0)][_0x35442b(0x249)]?this[_0x35442b(0x403)]():this[_0x35442b(0x218)]();}),this['_session'][_0x160d15(0x388)][_0x160d15(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0x160d15(0x425)](_0x392af5=>{const _0x233b27=_0x160d15;let _0x4e5a9f=_0x392af5[_0x233b27(0x488)];_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x392af5),_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)][_0x233b27(0x1c0)]&&this[_0x233b27(0x3bb)](_0x392af5);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x698ffd=>{const _0x17d129=_0x160d15;let _0xf9e5d3=_0x698ffd[_0x17d129(0x3a4)];_0xf9e5d3!=null&&this[_0x17d129(0x4fe)]&&_0x698ffd['id']===_0x446a63[_0x17d129(0x3b9)]['id']&&_0xf9e5d3['unitId']===this['unitID']&&_0xf9e5d3[_0x17d129(0x42e)]===!0x1&&_0xf9e5d3[_0x17d129(0x2e6)]['length']>0x0&&this[_0x17d129(0x250)](_0xf9e5d3[_0x17d129(0x2e6)]);})),this[_0x160d15(0x2bd)][_0x160d15(0x479)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x455032=>{const _0x3e1774=_0x160d15;if((_0x455032==null?void 0x0:_0x455032[_0x3e1774(0x259)])!==this['unitID'])return;let _0x4fe38f={'eventID':_0x2557fc[_0x3e1774(0x4b3)][_0x3e1774(0x368)],'data':_0x455032};this[_0x3e1774(0x4af)](_0x4fe38f);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x5a17db=>{const _0x2b486b=_0x160d15;if(_0x5a17db[_0x2b486b(0x3a4)]==null)return;let _0x197f40=_0x5a17db[_0x2b486b(0x3a4)];if(_0x5a17db['id']!==_0x446a63[_0x2b486b(0x2c3)]['id']||_0x197f40[_0x2b486b(0x2a1)]!==this[_0x2b486b(0x259)])return;let _0x348a50={'id':_0x2b486b(0x474),'params':_0x197f40},_0x8b6f95=this[_0x2b486b(0x2ed)];for(let [_0x391a0c,_0x5794c2]of _0x8b6f95){let _0x278716={'id':_0x2b486b(0x474),'params':{'unitId':this[_0x2b486b(0x259)],'actions':null,'textRanges':_0x5794c2['ranges']}},_0xfad940=this['_transformService'][_0x2b486b(0x1fb)](_0x348a50,_0x278716,!0x1);if((0x0,_0x2557fc['isTransformMutationFailure'])(_0xfad940))throw _0xfad940[_0x2b486b(0x21d)];_0x8b6f95[_0x2b486b(0x4b9)](_0x391a0c,{..._0x5794c2,'ranges':_0xfad940[_0x2b486b(0x264)][_0x2b486b(0x3a4)][_0x2b486b(0x46d)]});}queueMicrotask(()=>{const _0x552d07=_0x2b486b;this[_0x552d07(0x35b)][_0x552d07(0x1e4)](_0x8b6f95);});})));}[_0x3a95bf(0x4af)](_0x3d4a37){const _0x1c28e7=_0x3a95bf;var _0x2cc615;let {memberID:_0x2a823e,selection:_0x5ad459}=_0x3d4a37[_0x1c28e7(0x4dc)],_0x4cb0c4=_0x2c6725(_0x5ad459),_0x3fe1b9=((_0x2cc615=this[_0x1c28e7(0x382)][_0x1c28e7(0x462)](this[_0x1c28e7(0x259)],_0x2a823e))==null?void 0x0:_0x2cc615[_0x1c28e7(0x335)])??_0x1c28e7(0x2f1),_0x17c67d={'color':this['_colorAssignService'][_0x1c28e7(0x2c1)](_0x2a823e),'name':_0x3fe1b9,'ranges':_0x4cb0c4},_0x5ef494=this[_0x1c28e7(0x2ed)];_0x5ef494[_0x1c28e7(0x4b9)](_0x2a823e,_0x17c67d),this[_0x1c28e7(0x35b)][_0x1c28e7(0x1e4)](_0x5ef494);}[_0x3a95bf(0x3bb)](_0x5b35c6){const _0x22cdb2=_0x3a95bf;let {memberID:_0x3be791}=_0x5b35c6[_0x22cdb2(0x4dc)],_0x281987=this['cursorInfo'];_0x281987[_0x22cdb2(0x26e)](_0x3be791),this['_cursorInfo$'][_0x22cdb2(0x1e4)](_0x281987);}['_toggleOnline'](){const _0xf81677=_0x3a95bf;var _0x17c425;if(this[_0xf81677(0x4fe)]=!0x0,((_0x17c425=this[_0xf81677(0x31e)][_0xf81677(0x384)]())==null?void 0x0:_0x17c425[_0xf81677(0x4cd)]())!==this['unitID'])return;let _0x2c88c1=this[_0xf81677(0x4c9)]['get'](_0x446a63[_0xf81677(0x3af)])[_0xf81677(0x4fb)]();Array['isArray'](_0x2c88c1)&&_0x2c88c1[_0xf81677(0x510)]>0x0&&this['_updateLocalCursor'](_0x2c88c1);}[_0x3a95bf(0x218)](){const _0x36c5c0=_0x3a95bf;this[_0x36c5c0(0x4fe)]=!0x1;}};_0x13964a=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x7cbc68)),_0x489cd3(0x6,_0x2557fc['ITransformService']),_0x489cd3(0x7,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x8,_0x243ba8[_0x3a95bf(0x4dd)])],_0x13964a);let _0x20e85a=()=>{let _0x469aa5=[],_0x2a6e2c=!0x1;return _0x3fd7cd=>{const _0x3ed1f9=_0x179a;_0x469aa5[_0x3ed1f9(0x50f)](_0x3fd7cd),_0x2a6e2c||(_0x2a6e2c=!0x0,setTimeout(()=>{_0x469aa5['forEach'](_0x48678e=>_0x48678e()),_0x469aa5=[],_0x2a6e2c=!0x1;}));};},_0x344853=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x4853ff=_0x3a95bf;return this[_0x4853ff(0x35b)]['getValue']();}get[_0x3a95bf(0x404)](){const _0x59a754=_0x3a95bf;return this[_0x59a754(0x465)][_0x59a754(0x2a6)]();}constructor(_0x227461,_0x1bd596,_0xc1f9e2,_0x1ca2d8,_0x458394,_0x180755,_0x4da1a6,_0x3502ad){const _0x1a3185=_0x3a95bf;super(),this['unitID']=_0x227461,this['_session']=_0x1bd596,this[_0x1a3185(0x4c9)]=_0xc1f9e2,this['_colorAssignService']=_0x1ca2d8,this[_0x1a3185(0x382)]=_0x458394,this[_0x1a3185(0x31e)]=_0x180755,this[_0x1a3185(0x40f)]=_0x4da1a6,this['_refRangeService']=_0x3502ad,_0x538d20(this,_0x1a3185(0x4fe),!0x1),_0x538d20(this,_0x1a3185(0x2bf),!0x1),_0x538d20(this,_0x1a3185(0x35b),new _0x4089a3[(_0x1a3185(0x43f))](new Map())),_0x538d20(this,_0x1a3185(0x36f),this[_0x1a3185(0x35b)]['asObservable']()),_0x538d20(this,_0x1a3185(0x465),new _0x4089a3['BehaviorSubject']([])),_0x538d20(this,'roomMembers$',this[_0x1a3185(0x465)][_0x1a3185(0x325)]((0x0,_0x4089a3[_0x1a3185(0x2aa)])(0x12c))),_0x538d20(this,_0x1a3185(0x250),(0x0,_0x243ba8['debounce'])((_0x4348de,_0x2f2f8c)=>{const _0x507255=_0x1a3185;let _0x5e5187={'eventID':_0x2557fc['CollaborationEvent'][_0x507255(0x368)],'data':{'unitID':this[_0x507255(0x259)],'memberID':this[_0x507255(0x1c2)][_0x507255(0x30c)](),'selection':(0x0,_0x2236c3['serializeRangeWithSheet'])(_0x4348de,_0x2f2f8c[_0x507255(0x3ef)])}};this[_0x507255(0x1c2)][_0x507255(0x2de)](_0x5e5187,this[_0x507255(0x259)]);},0x64));}[_0x3a95bf(0x1f0)](){const _0x4903c8=_0x3a95bf;super[_0x4903c8(0x1f0)](),this[_0x4903c8(0x35b)][_0x4903c8(0x1e4)](new Map()),this['_cursorInfo$'][_0x4903c8(0x1c8)](),this[_0x4903c8(0x465)][_0x4903c8(0x1e4)]([]),this['_roomMembers$'][_0x4903c8(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x1bb0c6=_0x3a95bf;this[_0x1bb0c6(0x2bf)]||(this['_init']=!0x0,this['_session'][_0x1bb0c6(0x2b3)][_0x1bb0c6(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))['subscribe'](_0x30207f=>{const _0x434de9=_0x1bb0c6;_0x30207f===_0xd6e6bc[_0x434de9(0x4a0)][_0x434de9(0x249)]?this['_toggleOnline']():this[_0x434de9(0x218)]();}),this[_0x1bb0c6(0x1c2)]['event$'][_0x1bb0c6(0x325)]((0x0,_0x4089a3[_0x1bb0c6(0x351)])(this[_0x1bb0c6(0x2f7)]))[_0x1bb0c6(0x425)](_0x1e4005=>{const _0xc58692=_0x1bb0c6;let _0x23d2e0=_0x1e4005[_0xc58692(0x488)];_0x23d2e0===_0x2557fc['CollaborationEvent'][_0xc58692(0x368)]&&this[_0xc58692(0x4af)](_0x1e4005),_0x23d2e0===_0x2557fc[_0xc58692(0x4b3)][_0xc58692(0x1c0)]&&this[_0xc58692(0x3bb)](_0x1e4005);}),this[_0x1bb0c6(0x473)](),this['disposeWithMe'](this['_commandService'][_0x1bb0c6(0x4de)](_0x243bb0=>{const _0x496973=_0x1bb0c6;if(this[_0x496973(0x4fe)]&&_0x243bb0['id']===_0x416bc1[_0x496973(0x1e1)]['id']&&_0x243bb0[_0x496973(0x3a4)][_0x496973(0x2a1)]===this[_0x496973(0x259)]){let _0x1fa35d=_0x243bb0[_0x496973(0x3a4)];this[_0x496973(0x250)](_0x1fa35d[_0x496973(0x4e2)],_0x1fa35d['selections'][0x0]);}})));}[_0x3a95bf(0x4af)](_0x5482c9){const _0x247a3d=_0x3a95bf;var _0x56ca03;let {memberID:_0x522559,selection:_0x5afd26}=_0x5482c9[_0x247a3d(0x4dc)],{sheetName:_0x228570,range:_0x34c14d}=(0x0,_0x2236c3[_0x247a3d(0x3a5)])(_0x5afd26),_0x530c53={'name':((_0x56ca03=this[_0x247a3d(0x382)][_0x247a3d(0x462)](this[_0x247a3d(0x259)],_0x522559))==null?void 0x0:_0x56ca03[_0x247a3d(0x335)])??'Unknown\x20user','range':this[_0x247a3d(0x293)](_0x228570,_0x34c14d),'sheetID':_0x228570,'color':this[_0x247a3d(0x440)][_0x247a3d(0x2c1)](_0x522559),'selection':_0x5afd26},_0x2a398e=this[_0x247a3d(0x2ed)];_0x2a398e[_0x247a3d(0x4b9)](_0x522559,_0x530c53),this[_0x247a3d(0x35b)][_0x247a3d(0x1e4)](_0x2a398e);}['_onCursorDelete'](_0x299581){const _0x291a59=_0x3a95bf;let {memberID:_0x2dc695}=_0x299581['data'],_0x41695c=this[_0x291a59(0x2ed)];_0x41695c[_0x291a59(0x26e)](_0x2dc695),this['_cursorInfo$'][_0x291a59(0x1e4)](_0x41695c);}[_0x3a95bf(0x293)](_0x4ddc5e,_0x406f3d){const _0x31e42f=_0x3a95bf;var _0x5087fa;let _0xf2b282=(_0x5087fa=this[_0x31e42f(0x31e)][_0x31e42f(0x2cd)](this[_0x31e42f(0x259)],_0x243ba8['UniverInstanceType']['UNIVER_SHEET']))==null||(_0x5087fa=_0x5087fa[_0x31e42f(0x46b)](_0x4ddc5e))==null?void 0x0:_0x5087fa['getMergeData']();return(_0xf2b282==null?void 0x0:_0xf2b282['find'](_0xe9478a=>_0x243ba8['Rectangle']['contains'](_0xe9478a,_0x406f3d)))||_0x406f3d;}[_0x3a95bf(0x473)](){const _0x325c85=_0x3a95bf;let _0x27d13b=new _0x243ba8[(_0x325c85(0x278))](),_0x310ba4=_0x20e85a(),_0x18c840=()=>{_0x27d13b['dispose']();let _0x26ec17=(_0x52f6d1,_0x1f1b20,_0xa15431,_0x3c86b7)=>{const _0x328b84=_0x179a;let _0x1dcf07=[];switch(_0x52f6d1['id']){case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x37a)]:_0x1dcf07=(0x0,_0x416bc1['handleDeleteRangeMoveLeft'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x1ca)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x229)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)]['InsertColCommandId']:_0x1dcf07=(0x0,_0x416bc1['handleInsertCol'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x4bd)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x248)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x1f7)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x333)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x2f8)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x42a)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x47d)]:_0x1dcf07=(0x0,_0x416bc1['handleMoveRange'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x27b)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x44f)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x269)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x383)])(_0x52f6d1,_0x3c86b7);}let _0xa18162=(0x0,_0x416bc1[_0x328b84(0x263)])(_0x1dcf07,_0x3c86b7),_0x214f2e=this['cursorInfo'][_0x328b84(0x26a)](_0x1f1b20);if(_0x214f2e&&_0xa18162){let _0x299b7e={..._0x214f2e,'range':_0xa18162};this[_0x328b84(0x2ed)]['set'](_0x1f1b20,_0x299b7e),_0x310ba4(()=>{const _0x533888=_0x328b84;let _0x5b7806=this[_0x533888(0x2ab)]['registerRefRange'](_0xa18162,_0x27bc59=>(_0x5b7806[_0x533888(0x1f0)](),_0x26ec17(_0x27bc59,_0x1f1b20,_0xa15431,_0xa18162)));_0x27d13b[_0x533888(0x299)](_0x5b7806);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3fa628,_0x49524a)=>{const _0x31b44d=_0x179a;let {range:_0x14bbcb,sheetID:_0x2eb548}=_0x3fa628,_0x2e8590=this[_0x31b44d(0x2ab)]['registerRefRange'](_0x14bbcb,_0x4fc355=>(_0x2e8590[_0x31b44d(0x1f0)](),_0x26ec17(_0x4fc355,_0x49524a,_0x2eb548,_0x14bbcb)));_0x27d13b['add'](_0x2e8590);});};this[_0x325c85(0x359)]((0x0,_0x243ba8[_0x325c85(0x31b)])(this[_0x325c85(0x35b)][_0x325c85(0x425)](()=>{_0x18c840();})));}[_0x3a95bf(0x403)](){const _0x2fa092=_0x3a95bf;var _0xf7887c,_0x28de86;if(this[_0x2fa092(0x4fe)]=!0x0,((_0xf7887c=this[_0x2fa092(0x31e)][_0x2fa092(0x384)]())==null?void 0x0:_0xf7887c['getUnitId']())!==this[_0x2fa092(0x259)])return;let _0xd522ef=(_0x28de86=this[_0x2fa092(0x4c9)][_0x2fa092(0x26a)](_0x416bc1[_0x2fa092(0x236)])[_0x2fa092(0x1f9)]())==null?void 0x0:_0x28de86[0x0],_0x5b61e4=this[_0x2fa092(0x31e)][_0x2fa092(0x2b9)](_0x243ba8[_0x2fa092(0x509)]['UNIVER_SHEET'])[_0x2fa092(0x339)]();_0xd522ef&&_0x5b61e4&&this[_0x2fa092(0x250)](_0x5b61e4['getSheetId'](),_0xd522ef);}['_toggleOffline'](){const _0x2c8849=_0x3a95bf;this[_0x2c8849(0x4fe)]=!0x1;}};_0x344853=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x6,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x7,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x416bc1[_0x3a95bf(0x4ae)]))],_0x344853);let _0x473810=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x3712eb,_0x407f62,_0x326c0c){const _0x248cd3=_0x3a95bf;super(),this[_0x248cd3(0x31e)]=_0x3712eb,this[_0x248cd3(0x4c9)]=_0x407f62,this[_0x248cd3(0x397)]=_0x326c0c,_0x538d20(this,_0x248cd3(0x4d4),new Map()),_0x538d20(this,_0x248cd3(0x45e),new _0x4089a3['Subject']()),this[_0x248cd3(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x42ff3b=_0x3a95bf;super['dispose'](),this[_0x42ff3b(0x45e)][_0x42ff3b(0x1c8)](),this[_0x42ff3b(0x4d4)][_0x42ff3b(0x437)](_0x2d5850=>_0x2d5850[_0x42ff3b(0x1f0)]());}[_0x3a95bf(0x2df)](_0x46818a){const _0x1c1ab8=_0x3a95bf;let _0x102921=this[_0x1c1ab8(0x4d4)][_0x1c1ab8(0x26a)](_0x46818a);return _0x102921?_0x102921[_0x1c1ab8(0x36f)]:this[_0x1c1ab8(0x45e)][_0x1c1ab8(0x325)]((0x0,_0x4089a3['filter'])(_0x38088f=>_0x38088f[_0x1c1ab8(0x259)]===_0x46818a),(0x0,_0x4089a3[_0x1c1ab8(0x20e)])(_0x3219a9=>_0x3219a9['cursorInfo$']));}[_0x3a95bf(0x2bf)](){const _0x1525a3=_0x3a95bf;this[_0x1525a3(0x31e)][_0x1525a3(0x3f9)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_SHEET'])[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this['dispose$']))[_0x1525a3(0x425)](async _0x10e438=>{const _0x436f94=_0x1525a3;let _0xd41ffc=_0x10e438['unit']['getUnitId'](),_0x519352=await this['_startSheetCollabCursor'](_0xd41ffc);this[_0x436f94(0x45e)][_0x436f94(0x1e4)](_0x519352),this[_0x436f94(0x4d4)][_0x436f94(0x4b9)](_0xd41ffc,_0x519352);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x2fb)])['pipe']((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['pipe']((0x0,_0x4089a3['filter'])(_0x41d919=>!_0x41d919[_0x1525a3(0x231)][_0x1525a3(0x4cd)]()[_0x1525a3(0x4f5)]('__')))[_0x1525a3(0x425)](async _0x4216d9=>{const _0x6a3984=_0x1525a3;let {unit:_0xe21320}=_0x4216d9,_0x4e42cb=_0xe21320[_0x6a3984(0x4cd)](),_0x266177=await this[_0x6a3984(0x1e5)](_0x4e42cb);this[_0x6a3984(0x45e)][_0x6a3984(0x1e4)](_0x266177),this[_0x6a3984(0x4d4)][_0x6a3984(0x4b9)](_0x4e42cb,_0x266177);}),(0x0,_0x4089a3[_0x1525a3(0x2e8)])(this[_0x1525a3(0x31e)][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_DOC']),this['_univerInstanceService'][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x295)]))[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['subscribe'](_0x3ff3b9=>{const _0x472488=_0x1525a3;let _0x261580=_0x3ff3b9[_0x472488(0x4cd)](),_0x5aa0a4=this['_entities'][_0x472488(0x26a)](_0x261580);_0x5aa0a4&&(_0x5aa0a4[_0x472488(0x1f0)](),this['_entities'][_0x472488(0x26e)](_0x261580));});}async['_startSheetCollabCursor'](_0x4e4c35){const _0x5324c8=_0x3a95bf;let _0x4d4780=await this[_0x5324c8(0x397)][_0x5324c8(0x4d7)](_0x4e4c35),_0x5ed031=this[_0x5324c8(0x4c9)][_0x5324c8(0x480)](_0x344853,_0x4e4c35,_0x4d4780);return _0x5ed031[_0x5324c8(0x208)](),_0x5ed031;}async[_0x3a95bf(0x1e5)](_0x309ba4){const _0x5f7c24=_0x3a95bf;let _0xc17874=await this['_collabSessionService'][_0x5f7c24(0x4d7)](_0x309ba4),_0x2f6bd3=this['_injector'][_0x5f7c24(0x480)](_0x13964a,_0x309ba4,_0xc17874);return _0x2f6bd3[_0x5f7c24(0x208)](),_0x2f6bd3;}};_0x473810=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationSessionService']))],_0x473810);function _0x9ae28b(_0x5dc3c7,_0x595eb0){const _0x20ecab=_0x3a95bf;_0x5dc3c7['save'](),_0x5dc3c7[_0x20ecab(0x2ad)]=_0x20ecab(0x200);let _0x5f5084=_0x5dc3c7[_0x20ecab(0x413)](_0x595eb0)[_0x20ecab(0x40b)];return _0x5dc3c7[_0x20ecab(0x495)](),Math[_0x20ecab(0x4db)](_0x5f5084+0x8,0xc8);}function _0x8e66bd(_0x3cc0ec,_0x3a051f){const _0x145840=_0x3a95bf;let {radius:_0x203ec9,width:_0x4149ac,height:_0x51b6ab}=_0x3a051f;_0x203ec9??=0x0,_0x4149ac??=0x1e,_0x51b6ab??=0x1e;let _0x167bd3=0x0,_0x1856ce=0x0,_0x2b5cea=0x0;_0x167bd3=_0x1856ce=_0x2b5cea=Math['min'](_0x203ec9,_0x4149ac/0x2,_0x51b6ab/0x2),_0x3cc0ec['beginPath'](),_0x3cc0ec[_0x145840(0x314)](_0x167bd3,0x0),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac-_0x1856ce,0x0),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x1856ce,_0x1856ce,_0x1856ce,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac,_0x51b6ab-_0x2b5cea),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x2b5cea,_0x51b6ab-_0x2b5cea,_0x2b5cea,0x0,Math['PI']/0x2,!0x1),_0x3cc0ec[_0x145840(0x2dc)](0x0,_0x51b6ab),_0x3cc0ec['lineTo'](0x0,_0x167bd3),_0x3cc0ec[_0x145840(0x4c5)](_0x167bd3,_0x167bd3,_0x167bd3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc0ec[_0x145840(0x255)](),_0x3a051f[_0x145840(0x338)]&&(_0x3cc0ec[_0x145840(0x49d)](),_0x3cc0ec[_0x145840(0x4f3)]=_0x3a051f[_0x145840(0x338)],_0x3a051f[_0x145840(0x466)]===_0x145840(0x4ec)?_0x3cc0ec[_0x145840(0x338)](_0x145840(0x4ec)):_0x3cc0ec[_0x145840(0x338)](),_0x3cc0ec[_0x145840(0x495)]());}var _0x40afbe=class _0xbd470d extends _0x1df5c2['Shape']{constructor(_0x5e318c,_0x4cba28){const _0x3b4f69=_0x3a95bf;super(_0x5e318c,_0x4cba28),_0x538d20(this,_0x3b4f69(0x222),void 0x0),_0x538d20(this,_0x3b4f69(0x209),void 0x0),this[_0x3b4f69(0x222)]=_0x4cba28==null?void 0x0:_0x4cba28['color'],this['text']=_0x4cba28==null?void 0x0:_0x4cba28[_0x3b4f69(0x209)];}static[_0x3a95bf(0x47c)](_0x45cb9c,_0x1f3e96){const _0x8d8b8c=_0x3a95bf;let {text:_0x56d62f,color:_0x3d2169}=_0x1f3e96;_0x45cb9c[_0x8d8b8c(0x49d)](),_0x45cb9c[_0x8d8b8c(0x2ad)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x50e49d=_0x45cb9c[_0x8d8b8c(0x413)](_0x56d62f)['width'];if(_0x8e66bd(_0x45cb9c,{'height':0x14,'radius':0x4,'width':_0x9ae28b(_0x45cb9c,_0x56d62f),'fill':_0x3d2169,'evented':!0x1}),_0x45cb9c[_0x8d8b8c(0x4f3)]=_0x8d8b8c(0x4e0),_0x50e49d>0xc0){let _0x2870f5='',_0x5ec2f1=0x0;for(let _0x31ed1d of _0x56d62f){let _0xb3e07f=_0x45cb9c[_0x8d8b8c(0x413)](_0x31ed1d)[_0x8d8b8c(0x40b)];if(_0x5ec2f1+_0xb3e07f<=0xc0-_0x45cb9c['measureText']('...')[_0x8d8b8c(0x40b)])_0x2870f5+=_0x31ed1d,_0x5ec2f1+=_0xb3e07f;else{_0x2870f5+=_0x8d8b8c(0x1c4);break;}}_0x45cb9c[_0x8d8b8c(0x31a)](_0x2870f5,0x4,0xf);}else _0x45cb9c[_0x8d8b8c(0x31a)](_0x56d62f,0x4,0xf);_0x45cb9c[_0x8d8b8c(0x495)]();}['_draw'](_0x564733){const _0x1922ab=_0x3a95bf;_0xbd470d[_0x1922ab(0x47c)](_0x564733,this);}};let _0x4c582b=_0x3a95bf(0x3f1);var _0x570943=class{constructor(_0x3e65f5,_0x2a12cb,_0x1e8b8b,_0x4164f7){const _0x59c6ac=_0x3a95bf;this[_0x59c6ac(0x3f2)]=_0x3e65f5,this[_0x59c6ac(0x20c)]=_0x2a12cb,this[_0x59c6ac(0x39f)]=_0x1e8b8b,this['_document']=_0x4164f7,_0x538d20(this,_0x59c6ac(0x412),[]),_0x538d20(this,'_anchor',null),_0x538d20(this,_0x59c6ac(0x29b),null),_0x538d20(this,_0x59c6ac(0x26f),null),_0x538d20(this,_0x59c6ac(0x36b),null),_0x538d20(this,_0x59c6ac(0x4b4),null),this[_0x59c6ac(0x429)]();}set[_0x3a95bf(0x270)](_0x4836bc){const _0x2827aa=_0x3a95bf;_0x4836bc?(this[_0x2827aa(0x26f)]&&this['_anchorDot']['hide'](),this[_0x2827aa(0x29b)]&&this[_0x2827aa(0x29b)][_0x2827aa(0x3ee)]()):(this[_0x2827aa(0x26f)]&&this[_0x2827aa(0x26f)][_0x2827aa(0x3ee)](),this[_0x2827aa(0x29b)]&&this['_textBubble'][_0x2827aa(0x505)]());}[_0x3a95bf(0x1f0)](){const _0x2afefa=_0x3a95bf;for(let _0xdd4325 of this[_0x2afefa(0x412)])_0xdd4325[_0x2afefa(0x1f0)]();this[_0x2afefa(0x29b)]&&this[_0x2afefa(0x29b)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x26f)]&&this['_anchorDot'][_0x2afefa(0x1f0)](),this[_0x2afefa(0x43a)]&&this[_0x2afefa(0x43a)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x4b4)]&&this[_0x2afefa(0x4b4)]();}[_0x3a95bf(0x429)](){const _0x21cc32=_0x3a95bf;let {_docSkeleton:_0x4f4092,_document:_0x179d93}=this,{color:_0x4d9618,name:_0x47abdc,ranges:_0x4e919b}=this['_cursor'],_0x1a2271=_0x179d93[_0x21cc32(0x482)](),{docsLeft:_0x10004c,docsTop:_0x3a37ad}=_0x1a2271,_0x8b3448=new _0x40df28[(_0x21cc32(0x4d0))](_0x1a2271,_0x4f4092);for(let {startOffset:_0x2fbd9e,endOffset:_0x3cc6fc,rangeType:_0x20a773,segmentId:_0xc1a99a,segmentPage:_0x46f5b3,collapsed:_0x181305,isActive:_0x3d81ac}of _0x4e919b){let _0x30d7e0=_0x4f4092[_0x21cc32(0x363)](_0x2fbd9e,!0x0,_0xc1a99a,_0x46f5b3),_0x3f32c4=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc,!0x0,_0xc1a99a,_0x46f5b3);_0x3f32c4??=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc-0x1,!0x1,_0xc1a99a,_0x46f5b3);let _0x6441cb=_0x40cba6(_0x30d7e0,_0x3f32c4);if(_0x3d81ac&&_0x6441cb[_0x21cc32(0x3cb)]){let {contentBoxPointGroup:_0x6a1d70}=_0x8b3448[_0x21cc32(0x409)](_0x3f32c4,_0x3f32c4);if(_0x6a1d70[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x3da)](_0x4d9618,_0x6a1d70,_0x10004c,_0x3a37ad,_0x47abdc),this[_0x21cc32(0x4b4)]=this[_0x21cc32(0x389)]();}if(_0x30d7e0&&_0x3f32c4){if(_0x20a773===_0x243ba8[_0x21cc32(0x44a)]['RECT']){let {pointGroup:_0x51e01d}=new _0x40df28[(_0x21cc32(0x1c6))](_0x1a2271,_0x4f4092)['getRangePointData'](_0x30d7e0,_0x3f32c4)??{};if(_0x51e01d==null||_0x51e01d[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x1cf)](_0x4d9618,_0x51e01d,_0x10004c,_0x3a37ad);}else{if(!_0x181305&&_0x6441cb[_0x21cc32(0x3d7)]){let {borderBoxPointGroup:_0x215ec4}=_0x8b3448[_0x21cc32(0x409)](_0x30d7e0,_0x3f32c4);if(_0x215ec4[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x280)](_0x4d9618,_0x215ec4,_0x10004c,_0x3a37ad);}}}}}[_0x3a95bf(0x3da)](_0x3b87e6,_0x4ad719,_0x5631b2,_0x15d927,_0x3a0bd5){const _0x53ccb1=_0x3a95bf;let {left:_0x3e9dee,top:_0x5ce187,height:_0x427b86}=this[_0x53ccb1(0x239)](_0x4ad719),_0x5802b3=1.5/this[_0x53ccb1(0x467)](),_0x585f6f=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927,'height':_0x427b86,'width':1.5,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':_0x5802b3,'stroke':_0x53ccb1(0x1da),'evented':!0x0});this['_anchor']=_0x585f6f,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0x585f6f,_0x40df28[_0x53ccb1(0x2f0)]);let _0xab4882=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x2,'height':0x4,'width':0x4,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':0x0,'stroke':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8['COLORS']['black'],0x0),'evented':!0x1});this[_0x53ccb1(0x26f)]=_0xab4882,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0xab4882,_0x40df28[_0x53ccb1(0x2f0)]);let _0x434388=new _0x40afbe(_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x14,'text':_0x3a0bd5,'color':_0x3b87e6});this[_0x53ccb1(0x29b)]=_0x434388,this['_scene'][_0x53ccb1(0x3fa)](_0x434388,_0x40df28[_0x53ccb1(0x2f0)]),this[_0x53ccb1(0x270)]=!0x1;}[_0x3a95bf(0x389)](){const _0x368968=_0x3a95bf;let _0x203907=this[_0x368968(0x43a)][_0x368968(0x307)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x351661=this['_anchor'][_0x368968(0x4f0)][_0x368968(0x1c1)](()=>{const _0x1c31f1=_0x368968;this[_0x1c31f1(0x36b)]&&clearTimeout(this[_0x1c31f1(0x36b)]),this[_0x1c31f1(0x36b)]=setTimeout(()=>{const _0x26ca4f=_0x1c31f1;this[_0x26ca4f(0x270)]=!0x1;},0x7d0);});return()=>{const _0x4bf5b6=_0x368968;_0x203907[_0x4bf5b6(0x3b2)](),_0x351661[_0x4bf5b6(0x3b2)]();};}['_drawTextRange'](_0x45ce84,_0x4b0b04,_0x1fcc58,_0x4f9a5d){const _0x28f64e=_0x3a95bf;let _0x2e12ea=0.2,_0x42f2b0=new _0x243ba8[(_0x28f64e(0x38e))](_0x45ce84)[_0x28f64e(0x496)](_0x2e12ea)[_0x28f64e(0x2c4)](),_0x31c833=new _0x1df5c2[(_0x28f64e(0x3bc))](_0x28f64e(0x42d)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x4b0b04,'fill':_0x42f2b0||(0x0,_0x1df5c2['getColor'])(_0x243ba8[_0x28f64e(0x282)][_0x28f64e(0x2a8)],_0x2e12ea),'left':_0x1fcc58,'top':_0x4f9a5d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28f64e(0x50f)](_0x31c833),this[_0x28f64e(0x20c)][_0x28f64e(0x3fa)](_0x31c833,_0x40df28[_0x28f64e(0x2f0)]);}[_0x3a95bf(0x1cf)](_0x182a0a,_0x3f94a3,_0x3b48ce,_0x46e1e2){const _0x3f2835=_0x3a95bf;let _0x28c256=0.2,_0x69c224=new _0x243ba8[(_0x3f2835(0x38e))](_0x182a0a)[_0x3f2835(0x496)](_0x28c256)[_0x3f2835(0x2c4)](),_0x2db78c=new _0x1df5c2['RegularPolygon'](_0x3f2835(0x3a1)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x3f94a3,'fill':_0x69c224||(0x0,_0x1df5c2[_0x3f2835(0x3b7)])(_0x243ba8[_0x3f2835(0x282)][_0x3f2835(0x2a8)],_0x28c256),'left':_0x3b48ce,'top':_0x46e1e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f2835(0x412)][_0x3f2835(0x50f)](_0x2db78c),this[_0x3f2835(0x20c)][_0x3f2835(0x3fa)](_0x2db78c,_0x40df28[_0x3f2835(0x2f0)]);}['_getAnchorBounding'](_0x45f30a){let _0x5c3906=_0x45f30a[0x0],_0x5bed4a=_0x5c3906[0x0],_0xfb2bc8=_0x5c3906[0x2],{x:_0x4aca98,y:_0x20f64b}=_0x5bed4a,{x:_0x43a9f4,y:_0x3e132a}=_0xfb2bc8;return{'left':_0x4aca98,'top':_0x20f64b,'width':_0x43a9f4-_0x4aca98,'height':_0x3e132a-_0x20f64b};}[_0x3a95bf(0x467)](){const _0x53feff=_0x3a95bf;let {scaleX:_0x146339,scaleY:_0x4a2c2a}=this[_0x53feff(0x20c)]['getAncestorScale']();return Math[_0x53feff(0x3df)](_0x146339,_0x4a2c2a);}};function _0x40cba6(_0x50570d,_0x3f0c37){const _0x3f6eb0=_0x3a95bf;if(!_0x3f0c37)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x50570d||_0x50570d[_0x3f6eb0(0x2d9)]!==_0x3f0c37[_0x3f6eb0(0x2d9)]||(_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x1dd)]||_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x2ae)])&&_0x50570d[_0x3f6eb0(0x253)]!==_0x3f0c37[_0x3f6eb0(0x253)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x588646=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x50570d),_0x426e43=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x3f0c37);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x588646==null||_0x426e43==null?_0x588646==null&&_0x426e43==null:_0x588646[_0x3f6eb0(0x486)]===_0x426e43[_0x3f6eb0(0x486)]&&_0x588646[_0x3f6eb0(0x29a)]===_0x426e43[_0x3f6eb0(0x29a)]&&_0x588646[_0x3f6eb0(0x400)]===_0x426e43[_0x3f6eb0(0x400)]};}let _0x247d79=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x23d96c,_0x2e9979,_0x2615f4,_0x24c458,_0x124b2a){const _0x4e860d=_0x3a95bf;super(),this[_0x4e860d(0x203)]=_0x23d96c,this[_0x4e860d(0x4d6)]=_0x2e9979,this[_0x4e860d(0x39e)]=_0x2615f4,this[_0x4e860d(0x40f)]=_0x24c458,this[_0x4e860d(0x3e6)]=_0x124b2a,_0x538d20(this,_0x4e860d(0x360),[]),_0x538d20(this,_0x4e860d(0x357),[]),this['_init']();}[_0x3a95bf(0x2bf)](){const _0xd525a7=_0x3a95bf;let _0x1574c2=this[_0xd525a7(0x203)]['unitId'],_0x31a67f=this['_docSkeletonManagerService'];this[_0xd525a7(0x359)]((0x0,_0x4089a3[_0xd525a7(0x29e)])([this['_collabCursorController'][_0xd525a7(0x2df)](_0x1574c2),this['_themeService']['currentTheme$']])['pipe']((0x0,_0x51dbfd[_0xd525a7(0x3a2)])(([_0x515369,_0x173e46])=>({'skeleton':_0x31a67f[_0xd525a7(0x344)](),'cursors':[..._0x515369[_0xd525a7(0x22c)]()][_0xd525a7(0x2d4)](_0x18c392=>({..._0x18c392,'color':this[_0xd525a7(0x3e6)][_0xd525a7(0x1af)](_0x18c392['color'])}))})))['subscribe'](_0x45829d=>{const _0x3138a0=_0xd525a7;if(this['_removeCollabCursors'](),_0x45829d){let {skeleton:_0xa5e5b6,cursors:_0x3e43e6}=_0x45829d;this[_0x3138a0(0x460)](_0xa5e5b6,_0x3e43e6);}})),this[_0xd525a7(0x251)](),this[_0xd525a7(0x1c7)]();}[_0x3a95bf(0x460)](_0x342486,_0xd09a73){const _0x15f3bf=_0x3a95bf;let {scene:_0x182f86,mainComponent:_0x1eb62b}=this['_context'],_0x2001e0=_0xd09a73['map'](_0x10a5f2=>new _0x570943(_0x10a5f2,_0x182f86,_0x342486,_0x1eb62b));this[_0x15f3bf(0x360)]=_0x2001e0,this[_0x15f3bf(0x357)]=_0xd09a73;}[_0x3a95bf(0x29d)](){const _0x102101=_0x3a95bf;this[_0x102101(0x396)]();let {scene:_0x18b5fb,mainComponent:_0x456211}=this[_0x102101(0x203)],_0x17d95b=this[_0x102101(0x4d6)][_0x102101(0x344)](),_0x144a9a=this[_0x102101(0x357)][_0x102101(0x3a2)](_0x4a4c0a=>new _0x570943(_0x4a4c0a,_0x18b5fb,_0x17d95b,_0x456211));this['_cursorShapes']=_0x144a9a;}[_0x3a95bf(0x396)](){const _0x42b05f=_0x3a95bf;this[_0x42b05f(0x360)][_0x42b05f(0x437)](_0x17795a=>_0x17795a[_0x42b05f(0x1f0)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x164003=_0x3a95bf;let _0x3f03f9=[_0x40df28[_0x164003(0x3a7)]['id']];this['disposeWithMe'](this[_0x164003(0x40f)]['onCommandExecuted'](_0xeffb3e=>{const _0x34eb1c=_0x164003;_0x3f03f9[_0x34eb1c(0x2c0)](_0xeffb3e['id'])&&_0xeffb3e[_0x34eb1c(0x3a4)][_0x34eb1c(0x2a1)]===this[_0x34eb1c(0x203)][_0x34eb1c(0x2a1)]&&this[_0x34eb1c(0x29d)]();}));}[_0x3a95bf(0x251)](){const _0x527c54=_0x3a95bf;this[_0x527c54(0x359)]((0x0,_0x243ba8[_0x527c54(0x370)])(this[_0x527c54(0x203)]['engine'][_0x527c54(0x4d8)])[_0x527c54(0x325)]((0x0,_0x51dbfd['filter'])(_0x420c79=>_0x420c79[_0x527c54(0x30d)]===_0x1df5c2[_0x527c54(0x27f)]['resize']),(0x0,_0x51dbfd[_0x527c54(0x4f2)])(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x247d79=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x446a63['DocSkeletonManagerService'])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x247d79);var _0x13957a=class extends _0x1df5c2[_0x3a95bf(0x343)]{constructor(_0x1728da,_0x14e04d){const _0x3f83ae=_0x3a95bf;super(_0x1728da,_0x14e04d),_0x538d20(this,_0x3f83ae(0x272),void 0x0),_0x538d20(this,_0x3f83ae(0x435),!0x1),_0x538d20(this,_0x3f83ae(0x3a3),void 0x0),_0x538d20(this,_0x3f83ae(0x240),''),_0x538d20(this,_0x3f83ae(0x4d2),_0x3f83ae(0x21a)),_0x538d20(this,'_backgroundColor',void 0x0),_0x538d20(this,_0x3f83ae(0x3ac),void 0x0),_0x538d20(this,_0x3f83ae(0x1f8),void 0x0),_0x538d20(this,_0x3f83ae(0x313),0x4),_0x538d20(this,_0x3f83ae(0x1ba),void 0x0),_0x538d20(this,_0x3f83ae(0x34f),void 0x0),_0x538d20(this,'_isBlinkVisible',!0x0),_0x538d20(this,_0x3f83ae(0x47a),0x0),_0x538d20(this,'_labelHorizontalPosition',_0x3f83ae(0x47b)),_0x14e04d&&(this[_0x3f83ae(0x1ec)](_0x14e04d),_0x14e04d[_0x3f83ae(0x390)]&&(_0x14e04d['highlightSecond']??this[_0x3f83ae(0x313)])&&this[_0x3f83ae(0x446)](_0x14e04d['highlightSecond']??this['_highlightSecond'])),this[_0x3f83ae(0x307)][_0x3f83ae(0x1c1)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3f83ae(0x1c1)](()=>this[_0x3f83ae(0x1ec)]({'hovered':!0x1}));}[_0x3a95bf(0x358)](_0x1945b5){const _0x530c7e=_0x3a95bf;this[_0x530c7e(0x47a)]=_0x1945b5;}['setShapeProps'](_0x4f800b){const _0x52b411=_0x3a95bf;this[_0x52b411(0x272)]=_0x4f800b[_0x52b411(0x222)]??this[_0x52b411(0x272)],this[_0x52b411(0x435)]=_0x4f800b[_0x52b411(0x50a)]??this[_0x52b411(0x435)],this[_0x52b411(0x3a3)]=_0x4f800b[_0x52b411(0x3ef)]??this[_0x52b411(0x3a3)],this[_0x52b411(0x240)]=_0x4f800b['name']??this['_name'],this[_0x52b411(0x4d2)]=_0x4f800b[_0x52b411(0x306)]??this[_0x52b411(0x4d2)],this[_0x52b411(0x3c5)]=_0x4f800b[_0x52b411(0x291)]??this[_0x52b411(0x3c5)],this[_0x52b411(0x3ac)]=_0x4f800b[_0x52b411(0x30a)]??this[_0x52b411(0x3ac)],this[_0x52b411(0x3ba)]=_0x4f800b[_0x52b411(0x2d5)]??this['_labelHorizontalPosition'],_0x4f800b[_0x52b411(0x3f0)]!==void 0x0&&(this[_0x52b411(0x313)]=_0x4f800b[_0x52b411(0x3f0)]),_0x4f800b[_0x52b411(0x390)]!==void 0x0&&(this[_0x52b411(0x1f8)]=_0x4f800b[_0x52b411(0x390)]),_0x4f800b['offsetY']!==void 0x0&&(this[_0x52b411(0x47a)]=_0x4f800b['offsetY']),this[_0x52b411(0x322)]({'width':_0x4f800b[_0x52b411(0x40b)],'height':_0x4f800b[_0x52b411(0x350)]});}['onMouseMove'](_0x5ac8ea){const _0x272bc2=_0x3a95bf;let {row:_0x323390,column:_0x51e557}=_0x5ac8ea;_0x323390>=this[_0x272bc2(0x3a3)][_0x272bc2(0x361)]&&_0x323390<=this[_0x272bc2(0x3a3)][_0x272bc2(0x379)]&&_0x51e557>=this[_0x272bc2(0x3a3)][_0x272bc2(0x4da)]&&_0x51e557<=this[_0x272bc2(0x3a3)][_0x272bc2(0x500)]?this[_0x272bc2(0x1ec)]({'hovered':!0x0}):this[_0x272bc2(0x1ec)]({'hovered':!0x1});}['_startBlinking'](_0x4b37dc){const _0x5b61ab=_0x3a95bf;this[_0x5b61ab(0x410)](),this[_0x5b61ab(0x2f3)]=!0x0,this[_0x5b61ab(0x34f)]=window['setInterval'](()=>{const _0x45c1e4=_0x5b61ab;this[_0x45c1e4(0x2f3)]=!this[_0x45c1e4(0x2f3)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x5b61ab(0x35e)](()=>{const _0x3aa733=_0x5b61ab;this[_0x3aa733(0x410)](),this['_isBlinkVisible']=!0x0,this['makeDirty'](!0x0);},_0x4b37dc*0x3e8);}[_0x3a95bf(0x410)](){const _0x263520=_0x3a95bf;this['_blinkIntervalTimer']&&=(window['clearInterval'](this[_0x263520(0x34f)]),void 0x0),this[_0x263520(0x1ba)]&&=(window[_0x263520(0x3d8)](this[_0x263520(0x1ba)]),void 0x0);}[_0x3a95bf(0x3c2)](_0x51d514){return!0x1;}[_0x3a95bf(0x1f0)](){const _0x2865c6=_0x3a95bf;this['_stopBlinking'](),super[_0x2865c6(0x1f0)]();}['_draw'](_0x377f00){const _0x43a968=_0x3a95bf;let _0x52cc20=this[_0x43a968(0x272)],_0x42d656=this[_0x43a968(0x3c5)];if(this['_highlight']&&!this[_0x43a968(0x2f3)]&&(_0x52cc20=this[_0x43a968(0x50d)](this[_0x43a968(0x272)]),_0x42d656=this['_backgroundColor']?this[_0x43a968(0x50d)](this[_0x43a968(0x3c5)]):void 0x0),_0x1df5c2['Rect'][_0x43a968(0x47c)](_0x377f00,{'width':this[_0x43a968(0x40b)],'height':this['height'],'strokeWidth':this[_0x43a968(0x1b3)]||1.5,'stroke':_0x52cc20,'evented':!0x1,'fill':_0x42d656}),this['_hovered']||this[_0x43a968(0x3ac)]){_0x377f00[_0x43a968(0x49d)]();let _0x333a31=this[_0x43a968(0x3ba)]===_0x43a968(0x2c6)?-_0x9ae28b(_0x377f00,this[_0x43a968(0x240)]):this['width'];_0x377f00[_0x43a968(0x48a)](0x1,0x0,0x0,0x1,_0x333a31,(this[_0x43a968(0x4d2)]===_0x43a968(0x2b1)?0x0:-0x14)+(this[_0x43a968(0x47a)]??0x0)),_0x40afbe[_0x43a968(0x47c)](_0x377f00,{'text':this[_0x43a968(0x240)],'color':_0x52cc20}),_0x377f00[_0x43a968(0x495)]();}}[_0x3a95bf(0x50d)](_0x51f2da){const _0x54e962=_0x3a95bf;return _0x51f2da[_0x54e962(0x4f5)]('#')?_0x54e962(0x475)+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x1,0x3),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x3,0x5),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da['slice'](0x5,0x7),0x10)+',\x200.2)':_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x443))?_0x51f2da[_0x54e962(0x4ca)](/[\d.]+\)$/g,_0x54e962(0x2c8)):_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x26c))?_0x51f2da['replace'](_0x54e962(0x26c),'rgba')['replace'](')',_0x54e962(0x3c7)):_0x51f2da;}};let _0x7fdc90=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x176c8b,_0x3ca0ac,_0x213888,_0x25278f){const _0x4623cd=_0x3a95bf;super(),this[_0x4623cd(0x203)]=_0x176c8b,this[_0x4623cd(0x4ad)]=_0x3ca0ac,this[_0x4623cd(0x39e)]=_0x213888,this[_0x4623cd(0x3e6)]=_0x25278f,_0x538d20(this,_0x4623cd(0x357),new Set()),_0x538d20(this,_0x4623cd(0x28d),null),_0x538d20(this,_0x4623cd(0x419),null),this[_0x4623cd(0x2bf)]();}[_0x3a95bf(0x2bf)](){const _0x114391=_0x3a95bf;this[_0x114391(0x4ad)][_0x114391(0x235)]['pipe']((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]),(0x0,_0x51dbfd['switchMap'])(_0xa77e84=>{const _0x4c802a=_0x114391;if(_0xa77e84){let _0x151fe8=_0xa77e84[_0x4c802a(0x2a7)];return(0x0,_0x4089a3[_0x4c802a(0x29e)])(this[_0x4c802a(0x39e)][_0x4c802a(0x2df)](this[_0x4c802a(0x203)]['unitId']),this['_themeService'][_0x4c802a(0x237)])[_0x4c802a(0x325)]((0x0,_0x51dbfd[_0x4c802a(0x3a2)])(([_0x2d08ae,_0x390c36])=>{const _0x30d7f2=_0x4c802a;let _0x5a1686=new Map();return _0x2d08ae[_0x30d7f2(0x437)]((_0x1777ee,_0x59f63b)=>{const _0x418987=_0x30d7f2;if(_0x1777ee[_0x418987(0x29f)]===_0x151fe8){let _0x59f854={..._0x1777ee};_0x59f854[_0x418987(0x222)]=this[_0x418987(0x3e6)][_0x418987(0x1af)](_0x1777ee[_0x418987(0x222)]),_0x5a1686[_0x418987(0x4b9)](_0x59f63b,_0x59f854);}}),{'skeleton':_0xa77e84,'cursors':_0x5a1686};}));}return(0x0,_0x4089a3['of'])({'skeleton':null,'cursors':new Map()});}))[_0x114391(0x425)](({skeleton:_0x1140ec,cursors:_0x206527})=>{const _0x3f574a=_0x114391;this['_removeCollabCursors'](),_0x1140ec&&this[_0x3f574a(0x460)](_0x1140ec,_0x206527);}),this['disposeWithMe'](this[_0x114391(0x4ad)]['currentSkeleton$'][_0x114391(0x325)]((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]))[_0x114391(0x425)](_0x40dc3d=>{const _0x14a077=_0x114391;var _0x5060f7;if(_0x40dc3d==null)return;(_0x5060f7=this[_0x14a077(0x419)])==null||_0x5060f7[_0x14a077(0x3b2)](),this[_0x14a077(0x419)]=null;let {skeleton:_0x2bd1a8}=_0x40dc3d,{scene:_0x1d5e11}=this['_context'];this[_0x14a077(0x419)]=_0x1d5e11['onPointerMove$'][_0x14a077(0x1c1)]((0x0,_0x243ba8[_0x14a077(0x234)])(_0x56feb5=>{const _0x1415b7=_0x14a077;var _0x121403,_0x4ce1c7;let {offsetX:_0x4982ae,offsetY:_0x12fb50}=_0x56feb5,{x:_0x25a875,y:_0x209cb7}=_0x1d5e11[_0x1415b7(0x3bd)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x4982ae,_0x12fb50])),{scaleX:_0xba655a,scaleY:_0x3758ec}=_0x1d5e11[_0x1415b7(0x227)](),_0x544d7c=_0x1d5e11['getViewport'](_0x1df5c2[_0x1415b7(0x312)][_0x1415b7(0x4e6)]),_0x449190=_0x1d5e11[_0x1415b7(0x3e8)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x25a875,_0x209cb7]),_0x544d7c),_0x365a25=_0x2bd1a8[_0x1415b7(0x4d3)](_0x4982ae,_0x12fb50,_0xba655a,_0x3758ec,_0x449190);(((_0x121403=this[_0x1415b7(0x28d)])==null?void 0x0:_0x121403['column'])!==_0x365a25[_0x1415b7(0x304)]||((_0x4ce1c7=this[_0x1415b7(0x28d)])==null?void 0x0:_0x4ce1c7[_0x1415b7(0x31d)])!==_0x365a25[_0x1415b7(0x31d)])&&this['_cursors']['forEach'](_0x3e8b4b=>{_0x3e8b4b['onMouseMove'](_0x365a25);});},0x64));})),this['disposeWithMe']((0x0,_0x243ba8[_0x114391(0x31b)])(()=>{const _0x187cfa=_0x114391;var _0x4cfd49;(_0x4cfd49=this[_0x187cfa(0x419)])==null||_0x4cfd49[_0x187cfa(0x3b2)](),this['_pointerMoveDisposable']=null;}));}[_0x3a95bf(0x460)](_0x4aff4e,_0x2fde71){const _0x5edde5=_0x3a95bf;let _0x475d36=this['_sheetSkeletonManagerService'][_0x5edde5(0x436)]();if(!_0x475d36)return;let _0xa23e4b=this[_0x5edde5(0x340)]();if(!_0xa23e4b)return;this[_0x5edde5(0x357)]['forEach'](_0x386dc0=>{const _0x1256e8=_0x5edde5;_0x386dc0[_0x1256e8(0x1ce)]();});let {scene:_0x320628}=_0xa23e4b,_0x24d6d0=_0x2ccdc8(Array[_0x5edde5(0x292)](_0x2fde71['values']()))[_0x5edde5(0x3a2)](_0x1dd36c=>{const _0xf454e6=_0x5edde5;let {color:_0x56c69e,range:_0x59788c,name:_0xe52f51,selection:_0x72705d,sheetID:_0x2c46c5}=_0x1dd36c,{startColumn:_0x5013e7,startRow:_0x20d529,endColumn:_0x1bbbda,endRow:_0x36ed48}=_0x59788c,_0xb66719=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x20d529,_0x5013e7,_0x320628,_0x475d36),_0x36686f=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x36ed48,_0x1bbbda,_0x320628,_0x475d36),{columnHeaderHeightAndMarginTop:_0x2948a9}=_0x475d36,{startX:_0x496e0b,startY:_0xa94bab}=_0xb66719,{endX:_0x89211e,endY:_0x2b4bb9}=_0x36686f,_0x1ddaf7=_0x89211e-_0x496e0b,_0x39bab5=_0x2b4bb9-_0xa94bab;return new _0x13957a(_0xe52f51,{'labelPosition':_0xa94bab-_0x2948a9>=0x14?'top':_0xf454e6(0x2b1),'sheetID':_0x2c46c5,'range':_0x59788c,'color':_0x56c69e,'name':_0xe52f51,'selection':_0x72705d,'left':_0x496e0b,'top':_0xa94bab,'width':_0x1ddaf7,'height':_0x39bab5,'evented':!0x1,'zIndex':0x1389});});_0x320628[_0x5edde5(0x216)](_0x24d6d0,0x1),this[_0x5edde5(0x357)]=new Set(_0x24d6d0);}[_0x3a95bf(0x396)](){const _0xa50db1=_0x3a95bf;var _0x45ca73;(_0x45ca73=this[_0xa50db1(0x357)])==null||_0x45ca73['forEach'](_0x475cf9=>_0x475cf9[_0xa50db1(0x1f0)]());}[_0x3a95bf(0x340)](){const _0x426d28=_0x3a95bf;return(0x0,_0x3f07c4['getSheetObject'])(this[_0x426d28(0x203)][_0x426d28(0x231)],this[_0x426d28(0x203)]);}};_0x7fdc90=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3f07c4[_0x3a95bf(0x213)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x7fdc90);function _0x2ccdc8(_0x393e98){const _0xd7d1c=_0x3a95bf;let _0x1bbd86=new Map();return _0x393e98[_0xd7d1c(0x437)](_0x4c55d2=>{const _0x5c40a6=_0xd7d1c;if(_0x1bbd86[_0x5c40a6(0x502)](_0x4c55d2[_0x5c40a6(0x1b9)])){let _0x3b7d15=_0x1bbd86['get'](_0x4c55d2['selection']);_0x3b7d15['name']+=',\x20'+_0x4c55d2[_0x5c40a6(0x335)];}else _0x1bbd86[_0x5c40a6(0x4b9)](_0x4c55d2['selection'],_0x4c55d2);}),Array[_0xd7d1c(0x292)](_0x1bbd86['values']());}function _0x438fdf(_0x11f699){const _0x5f3473=_0x3a95bf;return typeof _0x11f699==_0x5f3473(0x2f2)&&!!_0x11f699;}function _0x2d0493(_0x233fb6){const _0x2837f7=_0x3a95bf;return _0x233fb6[_0x2837f7(0x488)]===_0x2557fc[_0x2837f7(0x4b3)][_0x2837f7(0x368)]&&_0x2837f7(0x4dc)in _0x233fb6&&_0x438fdf(_0x233fb6[_0x2837f7(0x4dc)])&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x4e8)]==_0x2837f7(0x4b1)&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x1b9)]=='string';}function _0x391eee(_0x27401a){const _0x57c412=_0x3a95bf;return _0x27401a[_0x57c412(0x488)]===_0x2557fc['CollaborationEvent'][_0x57c412(0x1c0)]&&_0x57c412(0x4dc)in _0x27401a&&_0x438fdf(_0x27401a['data'])&&typeof _0x27401a[_0x57c412(0x4dc)][_0x57c412(0x4e8)]==_0x57c412(0x4b1);}function _0x506869(_0xf48f5,_0x1cbd6b){const _0x47707e=_0x3a95bf;let _0x5e21e3;try{_0x5e21e3=JSON[_0x47707e(0x4ff)](_0xf48f5);}catch{return null;}if(!_0x438fdf(_0x5e21e3)||typeof _0x5e21e3[_0x47707e(0x2b8)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x2a1)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x4e2)]!=_0x47707e(0x4b1))return null;let _0x126eb6=typeof _0x5e21e3[_0x47707e(0x2b7)]==_0x47707e(0x4aa)?_0x5e21e3[_0x47707e(0x2b7)]:_0x1cbd6b;if(_0x126eb6==null)return null;let _0x33d471=_0x438fdf(_0x5e21e3['pointer'])&&typeof _0x5e21e3['pointer']['x']=='number'&&Number['isFinite'](_0x5e21e3[_0x47707e(0x315)]['x'])&&typeof _0x5e21e3[_0x47707e(0x315)]['y']=='number'&&Number[_0x47707e(0x2bc)](_0x5e21e3['pointer']['y'])?{'x':_0x5e21e3[_0x47707e(0x315)]['x'],'y':_0x5e21e3[_0x47707e(0x315)]['y']}:null;return{'kind':_0x5e21e3['kind'],'unitType':_0x126eb6,'unitId':_0x5e21e3[_0x47707e(0x2a1)],'subUnitId':_0x5e21e3['subUnitId'],'selectedIds':Array[_0x47707e(0x279)](_0x5e21e3[_0x47707e(0x2d1)])?_0x5e21e3[_0x47707e(0x2d1)][_0x47707e(0x1d2)](_0x33e317=>typeof _0x33e317=='string'):[],'focusedId':typeof _0x5e21e3['focusedId']==_0x47707e(0x4b1)?_0x5e21e3[_0x47707e(0x4eb)]:null,'pointer':_0x33d471};}function _0x4fba5e(_0x5a46b1,_0x54cf3c,_0x19ecf0){const _0x311cb6=_0x3a95bf;return{'kind':_0x54cf3c,'unitType':_0x5a46b1,'unitId':_0x19ecf0[_0x311cb6(0x2a1)],'subUnitId':_0x19ecf0[_0x311cb6(0x4e2)],'selectedIds':Array['from'](_0x19ecf0[_0x311cb6(0x2d1)]),'focusedId':_0x19ecf0[_0x311cb6(0x4eb)],'pointer':_0x19ecf0[_0x311cb6(0x315)]?{..._0x19ecf0[_0x311cb6(0x315)]}:null};}let _0x279a52=class extends _0x243ba8['RxDisposable']{constructor(_0x408c8d,_0x4ed21a,_0x9e04e0,_0x2f51fc,_0x557f4d,_0x2d8d07){const _0x403c7d=_0x3a95bf;super(),this['unitId']=_0x408c8d,this[_0x403c7d(0x1c2)]=_0x4ed21a,this[_0x403c7d(0x309)]=_0x9e04e0,this[_0x403c7d(0x440)]=_0x2f51fc,this[_0x403c7d(0x382)]=_0x557f4d,this[_0x403c7d(0x40f)]=_0x2d8d07,_0x538d20(this,_0x403c7d(0x4fe),!0x1),_0x538d20(this,_0x403c7d(0x503),!0x1);}get[_0x3a95bf(0x2b7)](){const _0x368aba=_0x3a95bf;return this[_0x368aba(0x309)][_0x368aba(0x2b7)];}[_0x3a95bf(0x1f0)](){const _0x2d6bc3=_0x3a95bf;this['_clearRemotePresences'](),super[_0x2d6bc3(0x1f0)]();}[_0x3a95bf(0x208)](){const _0xfb5b28=_0x3a95bf;this[_0xfb5b28(0x503)]||(this[_0xfb5b28(0x503)]=!0x0,this['_session'][_0xfb5b28(0x2b3)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0xfb5b28(0x425)](_0x47fae9=>{const _0x18ab62=_0xfb5b28;if(_0x47fae9===_0xd6e6bc['SessionStatus']['ONLINE']){this['_online']=!0x0;let _0xd855aa=this[_0x18ab62(0x309)][_0x18ab62(0x45a)](this[_0x18ab62(0x2a1)]);_0xd855aa&&this[_0x18ab62(0x223)](_0xd855aa);}else this[_0x18ab62(0x4fe)]=!0x1,this['_clearRemotePresences']();}),this[_0xfb5b28(0x1c2)][_0xfb5b28(0x388)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this[_0xfb5b28(0x2f7)]))['subscribe'](_0xfcf8a1=>{const _0x588db1=_0xfb5b28;_0x2d0493(_0xfcf8a1)?this[_0x588db1(0x2c9)](_0xfcf8a1):_0x391eee(_0xfcf8a1)&&this[_0x588db1(0x244)](_0xfcf8a1[_0x588db1(0x4dc)][_0x588db1(0x4e8)]);}),this[_0xfb5b28(0x309)][_0xfb5b28(0x288)]['pipe']((0x0,_0x4089a3[_0xfb5b28(0x1d2)])(_0x5ed596=>this['_online']&&_0x5ed596[_0xfb5b28(0x2a1)]===this['unitId']),(0x0,_0x4089a3['throttle'])(_0x4089a2=>(0x0,_0x4089a3[_0xfb5b28(0x371)])(_0x4089a2[_0xfb5b28(0x42f)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x4089a3[_0xfb5b28(0x351)])(this[_0xfb5b28(0x2f7)]))[_0xfb5b28(0x425)](_0x239bac=>this[_0xfb5b28(0x223)](_0x239bac)));}[_0x3a95bf(0x223)](_0x4210bd){const _0x372066=_0x3a95bf;let _0x43fc1c=this[_0x372066(0x1c2)][_0x372066(0x30c)]();if(!_0x43fc1c||!this[_0x372066(0x4fe)])return;let _0x575d03={'eventID':_0x2557fc[_0x372066(0x4b3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x372066(0x2a1)],'memberID':_0x43fc1c,'selection':JSON['stringify'](_0x4fba5e(this[_0x372066(0x2b7)],this[_0x372066(0x309)][_0x372066(0x33a)],_0x4210bd))}};this[_0x372066(0x1c2)][_0x372066(0x2de)](_0x575d03,this[_0x372066(0x2a1)])[_0x372066(0x37b)](()=>void 0x0);}['_handleCursorUpdate'](_0xe9b1d2){const _0x47c2da=_0x3a95bf;let {memberID:_0x275398,selection:_0x5c273f}=_0xe9b1d2['data'];if(_0x275398===this[_0x47c2da(0x1c2)]['getMemberID']())return;let _0x12f880=_0x506869(_0x5c273f,this[_0x47c2da(0x2b7)]);if(!_0x12f880||_0x12f880['kind']!==this['_adapter'][_0x47c2da(0x33a)]||_0x12f880[_0x47c2da(0x2b7)]!==this['unitType']||_0x12f880['unitId']!==this[_0x47c2da(0x2a1)])return;let _0x3f31a8=this[_0x47c2da(0x382)][_0x47c2da(0x462)](this['unitId'],_0x275398),_0x5ee66f={'unitId':_0x12f880['unitId'],'subUnitId':_0x12f880['subUnitId'],'selectedIds':_0x12f880[_0x47c2da(0x2d1)],'focusedId':_0x12f880['focusedId'],'pointer':_0x12f880[_0x47c2da(0x315)],'memberId':_0x275398,'color':this['_colorAssignService'][_0x47c2da(0x2c1)](_0x275398),'name':(_0x3f31a8==null?void 0x0:_0x3f31a8[_0x47c2da(0x335)])??_0x275398};this[_0x47c2da(0x40f)][_0x47c2da(0x211)](_0x574984['id'],{'unitType':this[_0x47c2da(0x2b7)],'update':{'type':_0x47c2da(0x4b9),'state':_0x5ee66f}})[_0x47c2da(0x37b)](()=>void 0x0);}[_0x3a95bf(0x244)](_0x54fd15){const _0x14b08d=_0x3a95bf;this[_0x14b08d(0x40f)][_0x14b08d(0x211)](_0x574984['id'],{'unitType':this[_0x14b08d(0x2b7)],'update':{'type':_0x14b08d(0x29c),'unitId':this['unitId'],'memberId':_0x54fd15}})[_0x14b08d(0x37b)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1e8f55=_0x3a95bf;this[_0x1e8f55(0x40f)][_0x1e8f55(0x211)](_0x574984['id'],{'unitType':this['unitType'],'update':{'type':_0x1e8f55(0x424),'unitId':this[_0x1e8f55(0x2a1)]}})['catch'](()=>void 0x0);}};_0x279a52=_0x313369([_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4dd)]))],_0x279a52);let _0x54df2a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x1d4412,_0x2d5dfa,_0x416f34,_0x6ea5fb){const _0x5ed79f=_0x3a95bf;super(),this[_0x5ed79f(0x31e)]=_0x1d4412,this[_0x5ed79f(0x4c9)]=_0x2d5dfa,this['_collabSessionService']=_0x416f34,this[_0x5ed79f(0x1f1)]=_0x6ea5fb,_0x538d20(this,_0x5ed79f(0x33f),!0x1),_0x538d20(this,_0x5ed79f(0x4d4),new Map()),_0x538d20(this,'_pendingEntities',new Map()),_0x538d20(this,_0x5ed79f(0x387),new Map()),this[_0x5ed79f(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x4499ac=_0x3a95bf;this[_0x4499ac(0x33f)]=!0x0,this[_0x4499ac(0x387)][_0x4499ac(0x437)](_0x25a066=>_0x25a066[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x387)][_0x4499ac(0x424)](),this[_0x4499ac(0x4d4)][_0x4499ac(0x437)](_0x28d9e0=>_0x28d9e0[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x4d4)]['clear'](),this['_pendingEntities'][_0x4499ac(0x424)](),super[_0x4499ac(0x1f0)]();}[_0x3a95bf(0x2bf)](){const _0x47ad2e=_0x3a95bf;this[_0x47ad2e(0x1f1)][_0x47ad2e(0x2b6)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x47ad2e(0x2f7)]))['subscribe'](_0x21a79e=>this['_syncAdapters'](_0x21a79e));}['_syncAdapters'](_0x1873d5){const _0x24b40=_0x3a95bf;let _0x6da2b5=new Set(_0x1873d5[_0x24b40(0x3a2)](_0xf3cab7=>_0xf3cab7[_0x24b40(0x2b7)]));this[_0x24b40(0x387)][_0x24b40(0x437)]((_0x41e5ea,_0x299837)=>{const _0x2c53cb=_0x24b40;_0x6da2b5[_0x2c53cb(0x502)](_0x299837)||(_0x41e5ea[_0x2c53cb(0x1f0)](),this['_adapterDisposables'][_0x2c53cb(0x26e)](_0x299837),this[_0x2c53cb(0x349)](_0x299837));}),_0x1873d5[_0x24b40(0x437)](_0x4797de=>{const _0x3396cd=_0x24b40;this[_0x3396cd(0x387)]['has'](_0x4797de[_0x3396cd(0x2b7)])||this[_0x3396cd(0x275)](_0x4797de);});}[_0x3a95bf(0x275)](_0x49e545){const _0x3d566b=_0x3a95bf;let _0x100d41=new _0x243ba8[(_0x3d566b(0x278))]();this[_0x3d566b(0x387)]['set'](_0x49e545[_0x3d566b(0x2b7)],_0x100d41),_0x100d41[_0x3d566b(0x299)](_0x49e545[_0x3d566b(0x463)]()),this['_univerInstanceService'][_0x3d566b(0x491)](_0x49e545['unitType'])[_0x3d566b(0x437)](_0x496bdb=>this[_0x3d566b(0x47f)](_0x496bdb[_0x3d566b(0x4cd)](),_0x49e545)[_0x3d566b(0x37b)](()=>void 0x0));let _0x3ee0a3=this[_0x3d566b(0x31e)][_0x3d566b(0x3f9)](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](({unit:_0x2f4171})=>this[_0x3d566b(0x47f)](_0x2f4171[_0x3d566b(0x4cd)](),_0x49e545)['catch'](()=>void 0x0));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x3ee0a3[_0x3d566b(0x3b2)]()));let _0x30ee49=this[_0x3d566b(0x31e)]['getTypeOfUnitDisposed$'](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](_0x39fe64=>this['_disposeEntity'](_0x39fe64[_0x3d566b(0x4cd)]()));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x30ee49[_0x3d566b(0x3b2)]()));}async[_0x3a95bf(0x47f)](_0x1fa2cd,_0x145265){const _0x49ba17=_0x3a95bf;if(this[_0x49ba17(0x4d4)]['has'](_0x1fa2cd)||this[_0x49ba17(0x3f5)]['has'](_0x1fa2cd))return;let _0x28f589={};this[_0x49ba17(0x3f5)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x28f589);let _0x1e8141=await this[_0x49ba17(0x397)][_0x49ba17(0x4d7)](_0x1fa2cd)[_0x49ba17(0x37b)](_0x78e22e=>{const _0x5a69cb=_0x49ba17;throw this[_0x5a69cb(0x3f5)]['get'](_0x1fa2cd)===_0x28f589&&this[_0x5a69cb(0x3f5)]['delete'](_0x1fa2cd),_0x78e22e;});if(this[_0x49ba17(0x33f)]||this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)!==_0x28f589||this[_0x49ba17(0x1f1)][_0x49ba17(0x26a)](_0x145265['unitType'])!==_0x145265){this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)===_0x28f589&&this[_0x49ba17(0x3f5)]['delete'](_0x1fa2cd);return;}let _0x431b1e=this['_injector'][_0x49ba17(0x480)](_0x279a52,_0x1fa2cd,_0x1e8141,_0x145265);_0x431b1e[_0x49ba17(0x208)](),this[_0x49ba17(0x3f5)][_0x49ba17(0x26e)](_0x1fa2cd),this[_0x49ba17(0x4d4)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x431b1e);}[_0x3a95bf(0x1d8)](_0x46a1bd){const _0x400e96=_0x3a95bf;this[_0x400e96(0x3f5)][_0x400e96(0x26e)](_0x46a1bd);let _0x4e9c1a=this['_entities'][_0x400e96(0x26a)](_0x46a1bd);_0x4e9c1a&&(_0x4e9c1a[_0x400e96(0x1f0)](),this['_entities']['delete'](_0x46a1bd));}[_0x3a95bf(0x349)](_0x1bd535){const _0x4193da=_0x3a95bf;this[_0x4193da(0x31e)]['getAllUnitsForType'](_0x1bd535)[_0x4193da(0x437)](_0x20a071=>this[_0x4193da(0x3f5)][_0x4193da(0x26e)](_0x20a071[_0x4193da(0x4cd)]())),Array['from'](this[_0x4193da(0x4d4)][_0x4193da(0x321)]())['forEach'](([_0x313750,_0x279ddc])=>{const _0x54dabb=_0x4193da;_0x279ddc['unitType']===_0x1bd535&&this[_0x54dabb(0x1d8)](_0x313750);});}};_0x54df2a=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)])),_0x489cd3(0x3,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x54df2a);let _0x301d60={'toast':_0x3a95bf(0x36a),'actionButton':'!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end'},_0x5ffa5e={'title':'collaboration-client-ui.conflict.title','content':_0x3a95bf(0x449),'type':_0x3a95bf(0x21d)},_0x166990={'permission_rejected':{'title':'collaboration-client-ui.permission.title','content':'collaboration-client-ui.permission.content','type':_0x3a95bf(0x21d)},'license_unit_type_rejected':{'title':_0x3a95bf(0x296),'content':'collaboration-client-ui.license.unit-type-rejected','type':_0x3a95bf(0x21d)},'remote_revert':{'title':_0x3a95bf(0x4be),'content':_0x3a95bf(0x38c),'type':_0x3a95bf(0x2db)}},_0x5e6afd=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x2ee162,_0x53e464,_0x596c90,_0x4ce8ce,_0x33bea5,_0x1b5a59,_0x2809e3,_0x1b960b){const _0x25fd13=_0x3a95bf;var _0xd40fd2;super(),this[_0x25fd13(0x451)]=_0x2ee162,this[_0x25fd13(0x41f)]=_0x53e464,this['_collaborationUIEventService']=_0x596c90,this[_0x25fd13(0x346)]=_0x4ce8ce,this[_0x25fd13(0x2d0)]=_0x33bea5,this[_0x25fd13(0x243)]=_0x1b5a59,this['_collaborationController']=_0x2809e3,this[_0x25fd13(0x45c)]=_0x1b960b,_0x538d20(this,_0x25fd13(0x1ef),null),_0x538d20(this,_0x25fd13(0x1df),new Set()),_0x538d20(this,_0x25fd13(0x286),new Map()),_0x538d20(this,_0x25fd13(0x490),new Map()),this[_0x25fd13(0x210)](),this[_0x25fd13(0x411)](),this[_0x25fd13(0x2f6)](),((_0xd40fd2=this[_0x25fd13(0x45c)][_0x25fd13(0x256)](_0x25fd13(0x44e)))==null?void 0x0:_0xd40fd2['enableDefaultConflictUI'])!==!0x1&&this['_initConflictHandling']();}[_0x3a95bf(0x1f0)](){const _0x4609ec=_0x3a95bf;var _0x5e0ffa;(_0x5e0ffa=this[_0x4609ec(0x1ef)])==null||_0x5e0ffa[_0x4609ec(0x1f0)](),this[_0x4609ec(0x1ef)]=null;for(let _0x38e547 of[this[_0x4609ec(0x286)],this['_editingConnectionsExceededNotices']])_0x38e547[_0x4609ec(0x437)](_0x1ce862=>_0x1ce862[_0x4609ec(0x1f0)]()),_0x38e547[_0x4609ec(0x424)]();super[_0x4609ec(0x1f0)]();}[_0x3a95bf(0x2f6)](){const _0x4d321e=_0x3a95bf;let _0x4a5f40=_0xc0620e=>{const _0x247ab2=_0x179a;let _0x523469=new _0x243ba8['DisposableCollection']();_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x1d9)]['subscribe']({'next':_0x3653fb=>{const _0x46d9e4=_0x247ab2;_0x3653fb['elapsedMs']>=0x4e20&&this[_0x46d9e4(0x44b)](this[_0x46d9e4(0x286)],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x21b)),_0x3653fb['reason']===_0x46d9e4(0x470)&&this[_0x46d9e4(0x44b)](this['_editingConnectionsExceededNotices'],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x2d8));},'complete':()=>{const _0x508c0d=_0x247ab2;this['_removeAwaitingNotices'](_0xc0620e[_0x508c0d(0x259)]),_0x523469[_0x508c0d(0x1f0)]();}}))),_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x4ce)]['subscribe'](_0x30a735=>{const _0x365ac4=_0x247ab2;_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x427)]&&_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x3e2)]&&this[_0x365ac4(0x381)](_0xc0620e[_0x365ac4(0x259)]);}))),this[_0x247ab2(0x359)](_0x523469);};this[_0x4d321e(0x2a0)][_0x4d321e(0x4c3)]()[_0x4d321e(0x437)](_0x4a5f40),this[_0x4d321e(0x359)]((0x0,_0x243ba8[_0x4d321e(0x31b)])(this['_collaborationController'][_0x4d321e(0x28e)][_0x4d321e(0x425)](_0x4a5f40)));}['_showAwaitingNotice'](_0x2463f0,_0x3ca09b,_0xb740b6){const _0x487221=_0x3a95bf;_0x2463f0[_0x487221(0x502)](_0x3ca09b)||_0x2463f0[_0x487221(0x4b9)](_0x3ca09b,this[_0x487221(0x2d0)][_0x487221(0x3ee)]({'title':this[_0x487221(0x243)]['t'](_0xb740b6),'type':_0x487221(0x2db),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x3a95bf(0x381)](_0x1ce333){const _0x20711d=_0x3a95bf;for(let _0x1fa77b of[this[_0x20711d(0x286)],this[_0x20711d(0x490)]]){var _0x4e434c;(_0x4e434c=_0x1fa77b[_0x20711d(0x26a)](_0x1ce333))==null||_0x4e434c[_0x20711d(0x1f0)](),_0x1fa77b['delete'](_0x1ce333);}}[_0x3a95bf(0x210)](){const _0x556e12=_0x3a95bf;this[_0x556e12(0x359)](this['_beforeCloseService'][_0x556e12(0x1d6)](()=>{const _0x76a4e2=_0x556e12;if(this[_0x76a4e2(0x41f)][_0x76a4e2(0x4a3)][_0x76a4e2(0x267)])return this['_localeService']['t'](_0x76a4e2(0x261));}));}['_initConflictHandling'](){const _0xe61db2=_0x3a95bf;let _0x32bd7e=_0x5488a7=>{const _0x46bc07=_0x179a;this['disposeWithMe']((0x0,_0x243ba8[_0x46bc07(0x31b)])(_0x5488a7[_0x46bc07(0x2ca)][_0x46bc07(0x425)](_0x35729a=>this[_0x46bc07(0x228)](_0x35729a))));};this[_0xe61db2(0x2a0)][_0xe61db2(0x4c3)]()[_0xe61db2(0x437)](_0x32bd7e),this[_0xe61db2(0x359)]((0x0,_0x243ba8[_0xe61db2(0x31b)])(this[_0xe61db2(0x2a0)][_0xe61db2(0x28e)][_0xe61db2(0x425)](_0x32bd7e)));}[_0x3a95bf(0x228)](_0x2555fe){const _0x90453e=_0x3a95bf;if(!_0x2555fe[_0x90453e(0x25e)])return;let _0x4a86ee=_0x166990[_0x2555fe[_0x90453e(0x432)]]??_0x5ffa5e;this[_0x90453e(0x3d0)]({'title':this[_0x90453e(0x243)]['t'](_0x4a86ee['title']),'content':this[_0x90453e(0x243)]['t'](_0x4a86ee[_0x90453e(0x2f4)]),'type':_0x4a86ee['type'],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0x90453e(0x243)]['t'](_0x90453e(0x1f2)),'onClick':_0x405f86=>{const _0x5b7a49=_0x90453e;_0x405f86['preventDefault'](),this[_0x5b7a49(0x2af)]();}}});}[_0x3a95bf(0x2af)](){const _0x46e7a0=_0x3a95bf;window[_0x46e7a0(0x2f9)]['reload']();}['_initEvent'](){const _0x4e4a67=_0x3a95bf;this['disposeWithMe'](this[_0x4e4a67(0x1e9)][_0x4e4a67(0x388)][_0x4e4a67(0x425)](_0x4ef71f=>{const _0x1ae48f=_0x4e4a67;_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x1b7)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x1bc))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x1ac)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this['_localeService']['t'](_0x1ae48f(0x501))}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)]['CONFLICT_PROCESSING']&&this[_0x1ae48f(0x271)](),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId']['CONFLICT_CACHE_CLEAR_FAILED']&&_0x4ef71f['unitID']&&this[_0x1ae48f(0x35c)](_0x4ef71f[_0x1ae48f(0x259)],_0x4ef71f['userId']??''),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x22d)]&&this['_messageService'][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x4ef71f['data']||'')}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x487)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t']('collaboration-client-ui.session.will-retry')}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x428)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x3ae))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x4b6)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x456))});}));}[_0x3a95bf(0x271)](){const _0x516526=_0x3a95bf;this[_0x516526(0x3d0)]({'title':this[_0x516526(0x243)]['t'](_0x516526(0x398)),'content':this[_0x516526(0x243)]['t'](_0x516526(0x217)),'type':_0x516526(0x392),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x3a95bf(0x35c)](_0x25c901,_0xb47332){const _0xcad680=_0x3a95bf;this[_0xcad680(0x3d0)]({'title':this['_localeService']['t'](_0xcad680(0x398)),'content':this['_localeService']['t'](_0xcad680(0x32e)),'type':_0xcad680(0x21d),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0xcad680(0x243)]['t'](_0xcad680(0x458)),'onClick':_0x4bffcb=>{const _0x214980=_0xcad680;_0x4bffcb[_0x214980(0x277)](),this['_retryConflictCacheClear'](_0x25c901,_0xb47332);}}});}[_0x3a95bf(0x376)](_0x41dd56,_0x2d464a){const _0x1ab71b=_0x3a95bf;let _0x5c2b71=_0x41dd56+':'+(_0x2d464a??'');this[_0x1ab71b(0x1df)]['has'](_0x5c2b71)||(this['_retryingConflictCacheUnitIDs'][_0x1ab71b(0x299)](_0x5c2b71),this[_0x1ab71b(0x271)](),this[_0x1ab71b(0x41f)][_0x1ab71b(0x423)](_0x41dd56,_0x2d464a)[_0x1ab71b(0x373)](()=>this[_0x1ab71b(0x2af)]())[_0x1ab71b(0x37b)](()=>this[_0x1ab71b(0x35c)](_0x41dd56,_0x2d464a))[_0x1ab71b(0x2cb)](()=>this[_0x1ab71b(0x1df)]['delete'](_0x5c2b71)));}[_0x3a95bf(0x3d0)](_0x515e4f){const _0x302d96=_0x3a95bf;var _0x2bb980;(_0x2bb980=this[_0x302d96(0x1ef)])==null||_0x2bb980[_0x302d96(0x1f0)](),this[_0x302d96(0x1ef)]=this[_0x302d96(0x2d0)][_0x302d96(0x3ee)](_0x515e4f);}};_0x5e6afd=_0x313369([_0x489cd3(0x0,_0x456aa1[_0x3a95bf(0x23b)]),_0x489cd3(0x1,_0xd6e6bc[_0x3a95bf(0x421)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationUIEventService'])),_0x489cd3(0x3,_0x456aa1['IMessageService']),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x377)]),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x6,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x7,_0x243ba8[_0x3a95bf(0x2e0)])],_0x5e6afd);let _0x3973e6=class{constructor(_0x1ef2b6,_0x8c2002){const _0x33e9da=_0x3a95bf;this[_0x33e9da(0x481)]=_0x1ef2b6,this[_0x33e9da(0x4f4)]=_0x8c2002;}[_0x3a95bf(0x4fc)](_0x37c96c){const _0x3567cd=_0x3a95bf;this[_0x3567cd(0x406)](_0x37c96c),this[_0x3567cd(0x4a2)](_0x37c96c);}[_0x3a95bf(0x305)](_0x30133c){const _0x35f1df=_0x3a95bf;let {unitID:_0x10b88e}=_0x30133c,{redoCache:_0x438c0b}=this[_0x35f1df(0x4f4)][_0x35f1df(0x38b)](_0x10b88e)[_0x35f1df(0x3e5)](_0x40df28[_0x35f1df(0x378)])['getUndoRedoMutationParamsCache']();if(_0x438c0b['length']===0x0)return _0x30133c;let _0xc891b=_0x243ba8['Tools'][_0x35f1df(0x422)](_0x30133c[_0x35f1df(0x2a9)][0x0]);for(let _0x24a013=0x0;_0x24a013<_0x438c0b[_0x35f1df(0x510)];_0x24a013++){let _0x277458={'id':'doc.mutation.rich-text-editing','params':{..._0x438c0b[_0x24a013]}},_0x65a77d=this[_0x35f1df(0x481)][_0x35f1df(0x1fb)](_0xc891b,_0x277458,!0x1);if((0x0,_0x2557fc[_0x35f1df(0x3a0)])(_0x65a77d))throw _0x65a77d[_0x35f1df(0x21d)];_0xc891b=_0x65a77d[_0x35f1df(0x3c0)];}return{..._0x243ba8[_0x35f1df(0x3ca)][_0x35f1df(0x422)](_0x30133c),'mutations':[_0xc891b]};}['_transformUndoRedoStack'](_0x1532ca){const _0x1ee6d9=_0x3a95bf;let {unitID:_0x98f830}=_0x1532ca,_0x4ae352=this[_0x1ee6d9(0x4f4)]['getRenderUnitById'](_0x98f830)[_0x1ee6d9(0x3e5)](_0x40df28[_0x1ee6d9(0x378)]),{undoCache:_0x492c6e,redoCache:_0x2f2498}=_0x4ae352[_0x1ee6d9(0x511)]();if(_0x492c6e[_0x1ee6d9(0x510)]===0x0||_0x2f2498[_0x1ee6d9(0x510)]===0x0)return;let _0x569b79=[],_0x5915ee=[],_0xbbd898=_0x243ba8[_0x1ee6d9(0x3ca)][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]),_0x5b22ce=_0x243ba8['Tools'][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]);for(let _0x5e45ff=_0x492c6e[_0x1ee6d9(0x510)]-0x1;_0x5e45ff>=0x0;_0x5e45ff--){let _0x2058df={'id':_0x1ee6d9(0x474),'params':{..._0x492c6e[_0x5e45ff]}},_0x1ef97a={'id':_0x1ee6d9(0x474),'params':{..._0x2f2498[_0x5e45ff]}},_0xc82db7=this['_transformService'][_0x1ee6d9(0x1fb)](_0xbbd898,_0x2058df,!0x1),_0x19de10=this['_transformService'][_0x1ee6d9(0x1fb)](_0x5b22ce,_0x1ef97a,!0x1);if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0xc82db7))throw _0xc82db7[_0x1ee6d9(0x21d)];if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0x19de10))throw _0x19de10['error'];_0x569b79[_0x1ee6d9(0x214)](_0xc82db7[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0x5915ee[_0x1ee6d9(0x214)](_0x19de10[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0xbbd898=_0xc82db7[_0x1ee6d9(0x3c0)],_0x5b22ce=_0x19de10[_0x1ee6d9(0x3c0)];}_0x4ae352['setUndoRedoMutationParamsCache']({'undoCache':_0x569b79,'redoCache':_0x5915ee});}['_transformPreviousActiveRange'](_0x2bc14a){const _0x3d6c8c=_0x3a95bf;let {unitID:_0x4911e2}=_0x2bc14a,_0x36afa3=this[_0x3d6c8c(0x4f4)][_0x3d6c8c(0x38b)](_0x4911e2)['with'](_0x40df28[_0x3d6c8c(0x378)]),_0x4611a4=_0x36afa3[_0x3d6c8c(0x50c)]();if(_0x4611a4==null)return;let _0x4a565e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bc14a[_0x3d6c8c(0x259)],'actions':null,'textRanges':[_0x4611a4]}}],_0x56710e=this[_0x3d6c8c(0x481)][_0x3d6c8c(0x366)](_0x2bc14a,_0x4a565e);if(!(0x0,_0x2557fc[_0x3d6c8c(0x489)])(_0x56710e))throw _0x56710e['error'];let _0x1ce761=_0x56710e[_0x3d6c8c(0x264)][0x0][_0x3d6c8c(0x3a4)]['textRanges'];Array['isArray'](_0x1ce761)&&_0x1ce761[_0x3d6c8c(0x510)]&&_0x36afa3[_0x3d6c8c(0x46c)](_0x1ce761[0x0]);}};_0x3973e6=_0x313369([_0x489cd3(0x0,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)])],_0x3973e6);let _0x5b4446=class{constructor(_0x1ddef8,_0x266818,_0x2cf46e){const _0x732edf=_0x3a95bf;this[_0x732edf(0x4c9)]=_0x1ddef8,this[_0x732edf(0x481)]=_0x266818,this[_0x732edf(0x3f3)]=_0x2cf46e;}['transformStateCache'](_0x1520cc){const _0x97e628=_0x3a95bf;this[_0x97e628(0x2fd)](_0x1520cc);}[_0x3a95bf(0x305)](_0x489a25){const _0x4940d1=_0x3a95bf;let {unitID:_0x3dcf0e}=_0x489a25,{collaboration:_0x22e418}=this[_0x4940d1(0x3f3)]['getStateCache'](_0x3dcf0e);if(_0x22e418[_0x4940d1(0x510)]===0x0)return _0x489a25;let _0x4fd785=_0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25[_0x4940d1(0x2a9)][0x0]);for(let _0x2e535a=0x0;_0x2e535a<_0x22e418[_0x4940d1(0x510)];_0x2e535a++){let _0x15dd0f={'id':_0x4940d1(0x474),'params':{'unitId':_0x22e418[_0x2e535a]['unitId'],..._0x22e418[_0x2e535a]['redoState']}},_0x21e51a=this[_0x4940d1(0x481)][_0x4940d1(0x1fb)](_0x4fd785,_0x15dd0f,!0x1);if((0x0,_0x2557fc[_0x4940d1(0x3a0)])(_0x21e51a))throw _0x21e51a['error'];_0x4fd785=_0x21e51a[_0x4940d1(0x3c0)];}return{..._0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25),'mutations':[_0x4fd785]};}[_0x3a95bf(0x2fd)](_0x459f29){const _0x288ba4=_0x3a95bf;let {unitID:_0x2fcd98}=_0x459f29,{history:_0x42bfac,collaboration:_0x311c13}=this['_docStateChangeManagerService'][_0x288ba4(0x375)](_0x2fcd98);if(_0x42bfac[_0x288ba4(0x510)]===0x0&&_0x311c13['length']===0x0)return;let _0x399590=[],_0x4bad16=[],_0x595ae4=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]);for(let _0x414ca6=_0x42bfac[_0x288ba4(0x510)]-0x1;_0x414ca6>=0x0;_0x414ca6--){let _0x5e71b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x43d)]}},_0x5ca957={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x497)]}},_0x1c0377=this[_0x288ba4(0x481)]['transformMutation'](_0x595ae4,_0x5e71b8,!0x1),_0x5b1f1a=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x4b746b,_0x5ca957,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x1c0377))throw _0x1c0377[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x5b1f1a))throw _0x5b1f1a['error'];_0x399590[_0x288ba4(0x214)]({..._0x42bfac[_0x414ca6],'undoState':_0x1c0377[_0x288ba4(0x264)]['params'],'redoState':_0x5b1f1a[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x1c0377[_0x288ba4(0x3c0)],_0x4b746b=_0x5b1f1a[_0x288ba4(0x3c0)];}_0x595ae4=_0x243ba8['Tools'][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]);for(let _0x1f285f=_0x311c13[_0x288ba4(0x510)]-0x1;_0x1f285f>=0x0;_0x1f285f--){let _0x3bdcc3={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x43d)]}},_0x2ccef1={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x497)]}},_0x3a3947=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x595ae4,_0x3bdcc3,!0x1),_0xf4c672=this['_transformService']['transformMutation'](_0x4b746b,_0x2ccef1,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x3a3947))throw _0x3a3947[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0xf4c672))throw _0xf4c672[_0x288ba4(0x21d)];_0x4bad16[_0x288ba4(0x214)]({..._0x311c13[_0x1f285f],'undoState':_0x3a3947[_0x288ba4(0x264)][_0x288ba4(0x3a4)],'redoState':_0xf4c672[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x3a3947['m1Prime'],_0x4b746b=_0xf4c672[_0x288ba4(0x3c0)];}this[_0x288ba4(0x3f3)][_0x288ba4(0x352)](_0x2fcd98,{'history':_0x399590,'collaboration':_0x4bad16});}};_0x5b4446=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x4ac)]))],_0x5b4446);let _0x46a30d=class{constructor(_0x55e2a7,_0x3e163b){const _0x11090f=_0x3a95bf;this[_0x11090f(0x448)]=_0x55e2a7,this['_transformService']=_0x3e163b;}[_0x3a95bf(0x42c)](_0x4993c1){const _0x3aeee0=_0x3a95bf;var _0x3d8bf4;let _0xb2b1d5=this[_0x3aeee0(0x448)]['getDocRanges']()??[],_0x5ad499=this[_0x3aeee0(0x448)]['getSelectionInfo']();if(_0xb2b1d5[_0x3aeee0(0x510)]===0x0||_0x5ad499==null)return null;let _0x37510b=_0x4993c1[_0x3aeee0(0x259)],_0x4c53b1=[{'id':_0x3aeee0(0x474),'params':{'unitId':_0x37510b,'actions':null,'textRanges':_0xb2b1d5}}],_0x22e690=this[_0x3aeee0(0x481)][_0x3aeee0(0x366)](_0x4993c1,_0x4c53b1);if(!(0x0,_0x2557fc[_0x3aeee0(0x489)])(_0x22e690))throw _0x22e690[_0x3aeee0(0x21d)];let _0x4d0bf0=(_0x3d8bf4=_0x22e690[_0x3aeee0(0x264)][0x0])==null?void 0x0:_0x3d8bf4[_0x3aeee0(0x3a4)],_0x1915e7=_0x4d0bf0&&typeof _0x4d0bf0==_0x3aeee0(0x2f2)&&_0x3aeee0(0x46d)in _0x4d0bf0?_0x4d0bf0[_0x3aeee0(0x46d)]:null;if(!_0x2dc9ef(_0x1915e7))return null;let _0x426dbe=_0x1f9827(_0x4993c1[_0x3aeee0(0x2a9)]['some'](_0x22872c=>_0x4bdfd5(_0x22872c[_0x3aeee0(0x3a4)]))?_0x1915e7['filter'](_0x3567d5=>!('tableId'in _0x3567d5)):_0x1915e7,{..._0x5ad499,'options':_0x5ad499[_0x3aeee0(0x3ab)]?{..._0x5ad499[_0x3aeee0(0x3ab)],'wholeDocument':!0x1}:void 0x0}),_0x256a82={'unitId':_0x37510b,'subUnitId':_0x37510b};this[_0x3aeee0(0x448)]['replaceSelectionInfoWithoutRefresh'](_0x426dbe,_0x256a82);let _0x13f3d7=!0x0;return{'commit':()=>{_0x13f3d7=!0x1;},'rollback':()=>{const _0x372eab=_0x3aeee0;_0x13f3d7&&(_0x13f3d7=!0x1,this[_0x372eab(0x448)][_0x372eab(0x3cd)](_0x5ad499,_0x256a82));}};}};_0x46a30d=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x3af)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)])],_0x46a30d);function _0x1f9827(_0x3236a5,_0x125c43){const _0x19f947=_0x3a95bf;let _0x2bf381=[],_0x4833bf=[];for(let _0x344902 of _0x3236a5)_0x44aff2(_0x344902)?_0x4833bf[_0x19f947(0x50f)](_0x344902):_0x2bf381[_0x19f947(0x50f)](_0x344902);return{..._0x125c43,'textRanges':_0x2bf381,'rectRanges':_0x4833bf};}function _0x44aff2(_0x4ef5ff){const _0xc54528=_0x3a95bf;return _0xc54528(0x3fd)in _0x4ef5ff;}function _0x2dc9ef(_0x29a73f){const _0x367fea=_0x3a95bf;return Array[_0x367fea(0x279)](_0x29a73f)&&_0x29a73f['every'](_0x17993e=>typeof _0x17993e==_0x367fea(0x2f2)&&!!_0x17993e&&'startOffset'in _0x17993e&&_0x367fea(0x38d)in _0x17993e);}function _0x4bdfd5(_0x46aece){const _0x41ea0d=_0x3a95bf;return _0x46aece==='tableSource'?!0x0:Array['isArray'](_0x46aece)?_0x46aece[_0x41ea0d(0x32d)](_0x2c7c04=>_0x4bdfd5(_0x2c7c04)):!_0x46aece||typeof _0x46aece!='object'?!0x1:Object[_0x41ea0d(0x22c)](_0x46aece)[_0x41ea0d(0x32d)](_0x567223=>_0x4bdfd5(_0x567223));}let _0x523c38=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3f05e1,_0xdc44e7,_0x4e9620,_0xfecc73,_0x348f35,_0x238f93,_0xf44149){const _0x244e30=_0x3a95bf;super(),this[_0x244e30(0x2a0)]=_0x3f05e1,this[_0x244e30(0x294)]=_0xdc44e7,this[_0x244e30(0x4e7)]=_0x4e9620,this[_0x244e30(0x26d)]=_0xfecc73,this['_docSyncEditingCollabCursorService']=_0x348f35,this[_0x244e30(0x346)]=_0x238f93,this[_0x244e30(0x243)]=_0xf44149,_0x538d20(this,_0x244e30(0x25f),new _0x4089a3[(_0x244e30(0x43f))](_0xd6e6bc[_0x244e30(0x3b8)][_0x244e30(0x331)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x5a1cda=_0x3a95bf;this[_0x5a1cda(0x359)](this[_0x5a1cda(0x2a0)]['entityInit$']['subscribe'](_0x3e7307=>{const _0x101525=_0x5a1cda;_0x3e7307 instanceof _0xd6e6bc['DocCollaborationEntity']&&_0x3e7307[_0x101525(0x4e4)]({'onTransformIME':_0x54d2f0=>this['_docTransformIMECacheService'][_0x101525(0x4fc)](_0x54d2f0),'onTransformState':_0x1259ba=>this[_0x101525(0x4e7)][_0x101525(0x3c9)](_0x1259ba),'onPrepareTransformSelections':_0xe8916=>this[_0x101525(0x26d)][_0x101525(0x42c)](_0xe8916),'onSyncEditingCollabCursor':_0x4a6e42=>this[_0x101525(0x37d)][_0x101525(0x273)](_0x4a6e42),'onTransformRemoteChangesetByIMECache':_0x34dd52=>this['_docTransformIMECacheService'][_0x101525(0x305)](_0x34dd52),'onTransformRemoteChangesetByStateCache':_0x55eba9=>this[_0x101525(0x4e7)]['transformRemoteChangeset'](_0x55eba9)});}));}};_0x523c38=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3973e6)),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x5b4446)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x46a30d)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x7cbc68)),_0x489cd3(0x5,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x6,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)]))],_0x523c38);let _0x4176b4=class extends _0x243ba8['Disposable']{constructor(_0x39e07e,_0xa1ee64,_0xf7d028,_0x479040){const _0x17a42d=_0x3a95bf;super(),this[_0x17a42d(0x4c9)]=_0x39e07e,this['_httpService']=_0xa1ee64,this['_logService']=_0xf7d028,this['_collaborationSessionService']=_0x479040,_0x538d20(this,_0x17a42d(0x3e7),void 0x0),this[_0x17a42d(0x2bf)]();}['_init'](){const _0x43609f=_0x3a95bf;this['_initWindowErrorListener'](),this[_0x43609f(0x41a)](),this[_0x43609f(0x45b)](),this[_0x43609f(0x4e9)]();}[_0x3a95bf(0x4e9)](){const _0x376d31=_0x3a95bf;this[_0x376d31(0x359)](this[_0x376d31(0x4e1)][_0x376d31(0x347)]['subscribe'](_0x593b9c=>{const _0x82805c=_0x376d31;this[_0x82805c(0x3e7)]=_0x593b9c==null?void 0x0:_0x593b9c['memberID'];}));}[_0x3a95bf(0x1b1)](){const _0x1b65c4=_0x3a95bf;let _0x1caa7e=_0x4cfa54=>{const _0x5e0794=_0x179a;var _0x356ef6;this[_0x5e0794(0x438)](_0x5e0794(0x21d),_0x5e0794(0x367)+_0x4cfa54[_0x5e0794(0x4f8)]+_0x5e0794(0x444)+_0x4cfa54['filename']+':'+_0x4cfa54['lineno']+':'+_0x4cfa54[_0x5e0794(0x408)]+'\x0a'+(((_0x356ef6=_0x4cfa54[_0x5e0794(0x21d)])==null?void 0x0:_0x356ef6['stack'])||''));};window[_0x1b65c4(0x329)]('error',_0x1caa7e),this[_0x1b65c4(0x359)](()=>{const _0x30fea2=_0x1b65c4;window['removeEventListener'](_0x30fea2(0x21d),_0x1caa7e);});}[_0x3a95bf(0x41a)](){const _0x34d34a=_0x3a95bf;let _0x5e817e=_0x18d010=>{const _0x14cf8d=_0x179a;this[_0x14cf8d(0x438)](_0x14cf8d(0x21d),_0x14cf8d(0x441)+_0x18d010['reason']);};window[_0x34d34a(0x329)](_0x34d34a(0x2ce),_0x5e817e),this[_0x34d34a(0x359)](()=>{const _0x284aac=_0x34d34a;window['removeEventListener'](_0x284aac(0x2ce),_0x5e817e);});}[_0x3a95bf(0x45b)](){const _0x3cee22=_0x3a95bf;let _0x47a47a=this[_0x3cee22(0x287)][_0x3cee22(0x21d)][_0x3cee22(0x1e6)](this[_0x3cee22(0x287)]);this[_0x3cee22(0x287)][_0x3cee22(0x21d)]=(..._0x293143)=>{const _0x1e9d8d=_0x3cee22;let _0x114aaf=_0x293143[_0x1e9d8d(0x3a2)](_0x548fc0=>_0x548fc0 instanceof Error?_0x548fc0['message']+'\x0a'+_0x548fc0[_0x1e9d8d(0x3f4)]:String(_0x548fc0))[_0x1e9d8d(0x2a3)]('\x20');this[_0x1e9d8d(0x438)]('error',_0x1e9d8d(0x4a7)+_0x114aaf),_0x47a47a(..._0x293143);},this['disposeWithMe'](()=>{const _0x51652f=_0x3cee22;this[_0x51652f(0x287)][_0x51652f(0x21d)]=_0x47a47a;});}[_0x3a95bf(0x438)](_0x5dc79b,_0x40cef8){const _0x506b21=_0x3a95bf;try{let _0x138c4d={'userId':this[_0x506b21(0x3e7)],'logLabel':_0x5dc79b,'content':_0x40cef8};this[_0x506b21(0x25c)][_0x506b21(0x394)](_0x506b21(0x418),{'body':_0x138c4d})[_0x506b21(0x37b)](()=>{});}catch{}}};_0x4176b4=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8['ILogService']),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)]))],_0x4176b4);function _0x44e0dd({state$:_0x4891d7}){const _0x392af3=_0x3a95bf;let _0x5cce6a=(0x0,_0x456aa1['useObservable'])(_0x4891d7,null,!0x0);return _0x5cce6a?(0x0,_0x36a3fe[_0x392af3(0x36e)])('div',{'data-u-comp':_0x392af3(0x2d6),'role':_0x392af3(0x417),'className':_0x392af3(0x38f),'children':[(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0xa2de88,{'className':_0x392af3(0x3aa)}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])('span',{'children':_0x5cce6a[_0x392af3(0x2f4)]}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0x5f3d5a[_0x392af3(0x2e9)],{'size':_0x392af3(0x274),'variant':'primary','onClick':()=>window[_0x392af3(0x2f9)][_0x392af3(0x461)](),'children':_0x5cce6a['refreshLabel']})]}):null;}let _0xe73be6=_0x3a95bf(0x48d),_0x3bd9e2=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3fd99e,_0x39d292,_0x5e5b25,_0x3bc499,_0x2ef7e2){const _0x3f7313=_0x3a95bf;super(),this[_0x3f7313(0x4cc)]=_0x3fd99e,this[_0x3f7313(0x346)]=_0x39d292,this[_0x3f7313(0x243)]=_0x5e5b25,this['_injector']=_0x3bc499,_0x538d20(this,_0x3f7313(0x254),new _0x4089a3[(_0x3f7313(0x43f))](null)),_0x538d20(this,_0x3f7313(0x512),new Set()),_0x538d20(this,_0x3f7313(0x4d9),new Map()),_0x538d20(this,_0x3f7313(0x2c5),this[_0x3f7313(0x254)][_0x3f7313(0x1cd)]());let _0x51eadf=()=>(0x0,_0x3e61d0[_0x3f7313(0x4a9)])(_0x44e0dd,{'state$':this[_0x3f7313(0x2c5)]});this[_0x3f7313(0x359)](_0x2ef7e2[_0x3f7313(0x32c)](_0x456aa1[_0x3f7313(0x1b0)][_0x3f7313(0x469)],()=>(0x0,_0x456aa1[_0x3f7313(0x320)])(_0x51eadf,this[_0x3f7313(0x4c9)]))),this[_0x3f7313(0x359)](this[_0x3f7313(0x4cc)][_0x3f7313(0x3ce)]['subscribe'](_0x5d2893=>{const _0x2df288=_0x3f7313;_0x5d2893[_0x2df288(0x437)](_0x3b6c98=>this['_updateMessage'](_0x3b6c98));}));}[_0x3a95bf(0x1f0)](){const _0x2cdbda=_0x3a95bf;this[_0x2cdbda(0x512)][_0x2cdbda(0x437)](_0x2dc87c=>this['_messageService'][_0x2cdbda(0x29c)](_0x2dc87c)),this[_0x2cdbda(0x512)]['clear'](),this[_0x2cdbda(0x4d9)][_0x2cdbda(0x437)](({timeoutId:_0x19d3c3})=>clearTimeout(_0x19d3c3)),this['_blockProgressWatches'][_0x2cdbda(0x424)](),this[_0x2cdbda(0x254)][_0x2cdbda(0x1c8)](),super['dispose']();}[_0x3a95bf(0x345)](_0x48d7e7){const _0x2e5501=_0x3a95bf;let _0x5b8356=''+_0xe73be6+_0x48d7e7[_0x2e5501(0x2a1)];_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)]['COMPLETE']?(this['_clearBlockProgressWatch'](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x3f6)](_0x48d7e7[_0x2e5501(0x2a1)]),this['_messageService'][_0x2e5501(0x29c)](_0x5b8356),this['_messageIds'][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)][_0x2e5501(0x2d2)]?(this['_clearBlockProgressWatch'](_0x48d7e7['unitId']),this['_clearTimeoutState'](_0x48d7e7['unitId']),this[_0x2e5501(0x346)][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x34c)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]!==_0x2557fc['SnapshotLoadStage'][_0x2e5501(0x2c2)]||_0x48d7e7['totalBlocks']<=0xa?(this[_0x2e5501(0x4ab)](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x346)][_0x2e5501(0x29c)](_0x5b8356),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):this[_0x2e5501(0x4cb)](_0x48d7e7)||(this['_messageService'][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x1dc)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x48d7e7['loadedBlocks']+'/'+_0x48d7e7[_0x2e5501(0x2f5)]}),this[_0x2e5501(0x512)]['add'](_0x5b8356));}[_0x3a95bf(0x4cb)](_0x579ba1){const _0x3a8d81=_0x3a95bf;let _0x59e903=this[_0x3a8d81(0x4d9)][_0x3a8d81(0x26a)](_0x579ba1[_0x3a8d81(0x2a1)]);if((_0x59e903==null?void 0x0:_0x59e903[_0x3a8d81(0x3ed)])===_0x579ba1[_0x3a8d81(0x3ed)])return _0x59e903[_0x3a8d81(0x20b)];this[_0x3a8d81(0x4ab)](_0x579ba1[_0x3a8d81(0x2a1)]);let _0x27d225=setTimeout(()=>{const _0x3c4ccf=_0x3a8d81;let _0x5e6506=this[_0x3c4ccf(0x4d9)]['get'](_0x579ba1[_0x3c4ccf(0x2a1)]);if(!_0x5e6506||_0x5e6506['timeoutId']!==_0x27d225)return;_0x5e6506[_0x3c4ccf(0x20b)]=!0x0;let _0x311ca0=''+_0xe73be6+_0x579ba1[_0x3c4ccf(0x2a1)];this[_0x3c4ccf(0x346)][_0x3c4ccf(0x29c)](_0x311ca0),this[_0x3c4ccf(0x512)][_0x3c4ccf(0x26e)](_0x311ca0),this[_0x3c4ccf(0x254)][_0x3c4ccf(0x1e4)]({'unitId':_0x579ba1['unitId'],'content':this['_localeService']['t'](_0x3c4ccf(0x20a),String(_0x579ba1[_0x3c4ccf(0x3ed)]),String(_0x579ba1[_0x3c4ccf(0x2f5)])),'refreshLabel':this[_0x3c4ccf(0x243)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this['_blockProgressWatches']['set'](_0x579ba1[_0x3a8d81(0x2a1)],{'loadedBlocks':_0x579ba1['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x27d225}),!0x1;}[_0x3a95bf(0x4ab)](_0xdeaed6){const _0x260aa3=_0x3a95bf;let _0x18991e=this[_0x260aa3(0x4d9)][_0x260aa3(0x26a)](_0xdeaed6);_0x18991e&&(clearTimeout(_0x18991e[_0x260aa3(0x3c8)]),this[_0x260aa3(0x4d9)][_0x260aa3(0x26e)](_0xdeaed6),this['_clearTimeoutState'](_0xdeaed6));}['_clearTimeoutState'](_0x1c9118){const _0x8a85ed=_0x3a95bf;var _0x3770cd;((_0x3770cd=this['_timeoutState$'][_0x8a85ed(0x238)])==null?void 0x0:_0x3770cd[_0x8a85ed(0x2a1)])===_0x1c9118&&this[_0x8a85ed(0x254)][_0x8a85ed(0x1e4)](null);}};_0x3bd9e2=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x3d9)])),_0x489cd3(0x1,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x3a8)])],_0x3bd9e2);let _0x5ddc8b=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x192420,_0x1181d9,_0x4d0153,_0x25b117,_0x3cde9d){const _0x1cd0ee=_0x3a95bf;var _0x107dfe;super(),this[_0x1cd0ee(0x45c)]=_0x192420,this[_0x1cd0ee(0x4a5)]=_0x1181d9,this['_revisionService']=_0x4d0153,this['_logService']=_0x25b117,this[_0x1cd0ee(0x4bb)]=_0x3cde9d,_0x538d20(this,_0x1cd0ee(0x455),new Map()),_0x538d20(this,_0x1cd0ee(0x3a9),new Map()),_0x538d20(this,_0x1cd0ee(0x393),new Map()),_0x538d20(this,_0x1cd0ee(0x452),!0x1),this[_0x1cd0ee(0x452)]=!((_0x107dfe=this[_0x1cd0ee(0x45c)]['getConfig'](_0xd6e6bc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))!=null&&_0x107dfe['enableOfflineEditing']);}[_0x3a95bf(0x262)](){const _0x433294=_0x3a95bf;this[_0x433294(0x452)]=!0x0;}['enableLocalCache'](){const _0xb6034a=_0x3a95bf;this[_0xb6034a(0x452)]=!0x1;}get['saveTaskMap'](){const _0xb7867b=_0x3a95bf;let _0x351213=new Map(this[_0xb7867b(0x3a9)]);return this[_0xb7867b(0x393)]['forEach']((_0x5e9a9d,_0x2d7ed5)=>{const _0xe1550d=_0xb7867b;_0x351213[_0xe1550d(0x502)](_0x2d7ed5)||_0x351213[_0xe1550d(0x4b9)](_0x2d7ed5,0x0);}),_0x351213;}['dispose'](){const _0x7bfe92=_0x3a95bf;this[_0x7bfe92(0x2ee)]||(super[_0x7bfe92(0x1f0)](),this[_0x7bfe92(0x452)]=!0x0,this['exhaustSavingTask']()[_0x7bfe92(0x37b)](_0xde864f=>this[_0x7bfe92(0x287)][_0x7bfe92(0x21d)](_0xde864f)));}async[_0x3a95bf(0x4c1)](_0x2164ea,_0x1ea56f){const _0x2cecb8=_0x3a95bf;if(this[_0x2cecb8(0x452)])return null;let _0x365ebb=this['_getUserId'](_0x1ea56f),_0x59c2b3=await this[_0x2cecb8(0x4a5)][_0x2cecb8(0x41e)]((0x0,_0xd6e6bc['getLocalCacheKey'])(_0x2164ea,_0x365ebb));return(_0x59c2b3==null?void 0x0:_0x59c2b3[_0x2cecb8(0x259)])===_0x2164ea&&this['_normalizeUserId'](_0x59c2b3[_0x2cecb8(0x30b)])===_0x365ebb?_0x59c2b3:null;}async[_0x3a95bf(0x41b)](_0x5c7f83,_0x4cda62,_0x42b251){const _0x56ed3a=_0x3a95bf;let _0x5e3b3f=this[_0x56ed3a(0x3a6)](_0x42b251),_0xa08ffc=(0x0,_0xd6e6bc[_0x56ed3a(0x478)])(_0x5c7f83,_0x5e3b3f),_0xdacbd5=this[_0x56ed3a(0x4a5)]['setItem'](_0xa08ffc,{..._0x4cda62,'unitID':_0x5c7f83,'userId':_0x5e3b3f});return this[_0x56ed3a(0x24e)](_0xa08ffc,_0xdacbd5),!!await _0xdacbd5;}async[_0x3a95bf(0x27c)](_0x477217,_0x54df9a,_0x5f2927){const _0x2b77e5=_0x3a95bf;let _0x31d7e8=this['_getUserId'](_0x5f2927),_0x47a593=(0x0,_0xd6e6bc[_0x2b77e5(0x478)])(_0x477217,_0x31d7e8),_0x18eafe=this[_0x2b77e5(0x455)]['get'](_0x47a593)??await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x41e)](_0x47a593);if(!_0x18eafe||this['_normalizeUserId'](_0x18eafe[_0x2b77e5(0x30b)])!==_0x31d7e8||_0x18eafe[_0x2b77e5(0x259)]!==_0x477217)return;let _0x37e6ff=Date[_0x2b77e5(0x2ba)](),_0x18f7f0=new Date(_0x37e6ff)[_0x2b77e5(0x3d1)]();await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x3fb)](_0x47a593+_0x2b77e5(0x49c)+_0x37e6ff,{'reason':_0x54df9a,'createdAt':_0x18f7f0,'data':_0x18eafe});}async[_0x3a95bf(0x423)](_0x26d244,_0x3656c2){const _0x506381=_0x3a95bf;let _0x5ef309=this[_0x506381(0x3a6)](_0x3656c2),_0x479338=(0x0,_0xd6e6bc[_0x506381(0x478)])(_0x26d244,_0x5ef309),_0xf87399=this[_0x506381(0x3a9)][_0x506381(0x26a)](_0x479338);_0xf87399!==void 0x0&&(window[_0x506381(0x3d8)](_0xf87399),this[_0x506381(0x3a9)]['delete'](_0x479338));let _0x3ab023=this[_0x506381(0x393)][_0x506381(0x26a)](_0x479338);_0x3ab023&&await Promise[_0x506381(0x1ed)](_0x3ab023),this[_0x506381(0x455)][_0x506381(0x26e)](_0x479338),await this[_0x506381(0x4a5)][_0x506381(0x493)](_0x479338);}[_0x3a95bf(0x22b)](_0x3e3f47,_0x1fe54f,_0x122df9,_0x4cb561,_0x151240){const _0x73b08a=_0x3a95bf;if(this[_0x73b08a(0x2ee)])return;let _0xd84380=this['_getUserId'](_0x151240),_0x4d7ec6=(0x0,_0xd6e6bc['getLocalCacheKey'])(_0x3e3f47,_0xd84380),_0x3adc63=this[_0x73b08a(0x252)][_0x73b08a(0x3d2)](_0x3e3f47);this[_0x73b08a(0x455)]['set'](_0x4d7ec6,{'unitID':_0x3e3f47,'userId':_0xd84380,'type':_0x1fe54f,'awaitingChangeset':_0x122df9,'mutations':_0x4cb561,'rev':_0x3adc63}),this[_0x73b08a(0x3a9)][_0x73b08a(0x502)](_0x4d7ec6)||this[_0x73b08a(0x40e)](_0x4d7ec6);}[_0x3a95bf(0x3a6)](_0x153aa0=((()=>{const _0x5c8408=_0x3a95bf;var _0x1d9423;return(_0x1d9423=this[_0x5c8408(0x4bb)][_0x5c8408(0x337)]())==null?void 0x0:_0x1d9423[_0x5c8408(0x3cf)];})())){return this['_normalizeUserId'](_0x153aa0);}[_0x3a95bf(0x1ab)](_0x270768){return _0x270768===''||_0x270768==null?void 0x0:_0x270768;}[_0x3a95bf(0x40e)](_0x2fd370){const _0x5baa38=_0x3a95bf;let _0xe67835=this[_0x5baa38(0x2b4)]();_0xe67835===0x0?this['_saveCache'](_0x2fd370)[_0x5baa38(0x37b)](_0x506a21=>this[_0x5baa38(0x287)]['error'](_0x506a21)):this['_saveTaskMap'][_0x5baa38(0x4b9)](_0x2fd370,window['setTimeout'](()=>{const _0x206d48=_0x5baa38;this['_saveCache'](_0x2fd370)['catch'](_0x3f69a7=>this['_logService'][_0x206d48(0x21d)](_0x3f69a7));},_0xe67835));}[_0x3a95bf(0x2b4)](){const _0x1809ab=_0x3a95bf;return this['_configService']['getConfig'](_0xd6e6bc[_0x1809ab(0x3ad)])??_0xd6e6bc[_0x1809ab(0x1bf)];}[_0x3a95bf(0x483)](_0x4cd9b8){const _0x4d7349=_0x3a95bf;let _0x42f5ed=this[_0x4d7349(0x3a9)][_0x4d7349(0x26a)](_0x4cd9b8);_0x42f5ed!==void 0x0&&window[_0x4d7349(0x3d8)](_0x42f5ed);let _0x2ede63=this[_0x4d7349(0x455)][_0x4d7349(0x26a)](_0x4cd9b8);if(!_0x2ede63)return Promise['resolve']();let _0x475647=this['_activeSaveTaskMap'][_0x4d7349(0x26a)](_0x4cd9b8),_0x4fee23=Promise[_0x4d7349(0x1ed)](_0x475647?[..._0x475647]:[])[_0x4d7349(0x373)](()=>this['_localStorageService']['setItem'](_0x4cd9b8,_0x2ede63))[_0x4d7349(0x373)](()=>{const _0x15308d=_0x4d7349;_0x42f5ed!==void 0x0&&this[_0x15308d(0x3a9)][_0x15308d(0x26a)](_0x4cd9b8)===_0x42f5ed&&(this['_saveTaskMap'][_0x15308d(0x26e)](_0x4cd9b8),!this[_0x15308d(0x2ee)]&&this['_cachedData']['get'](_0x4cd9b8)!==_0x2ede63&&this[_0x15308d(0x40e)](_0x4cd9b8));});return this[_0x4d7349(0x24e)](_0x4cd9b8,_0x4fee23),_0x4fee23;}[_0x3a95bf(0x24e)](_0x1bd231,_0x55641e){const _0x3838c5=_0x3a95bf;let _0x2edbaf=this[_0x3838c5(0x393)][_0x3838c5(0x26a)](_0x1bd231);_0x2edbaf||(_0x2edbaf=new Set(),this[_0x3838c5(0x393)][_0x3838c5(0x4b9)](_0x1bd231,_0x2edbaf)),_0x2edbaf[_0x3838c5(0x299)](_0x55641e);let _0x3ba7e9=()=>{const _0xc91625=_0x3838c5;_0x2edbaf[_0xc91625(0x26e)](_0x55641e),_0x2edbaf[_0xc91625(0x267)]===0x0&&this['_activeSaveTaskMap']['delete'](_0x1bd231);};_0x55641e[_0x3838c5(0x373)](_0x3ba7e9,_0x3ba7e9);}async[_0x3a95bf(0x2e7)](){const _0x380f78=_0x3a95bf;let _0x5b5f91=[...this[_0x380f78(0x3a9)][_0x380f78(0x47e)]()][_0x380f78(0x3a2)](_0x5aa2df=>this[_0x380f78(0x483)](_0x5aa2df));for(let _0x5d590f of this['_activeSaveTaskMap'][_0x380f78(0x22c)]())_0x5b5f91['push'](...[..._0x5d590f][_0x380f78(0x3a2)](_0x15bf49=>_0x15bf49[_0x380f78(0x373)](()=>void 0x0)));await Promise[_0x380f78(0x219)](_0x5b5f91);}};_0x5ddc8b=_0x313369([_0x489cd3(0x0,_0x243ba8['IConfigService']),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x3dc)]),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x507)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x232)]))],_0x5ddc8b);var _0x370175=class extends _0x243ba8['Disposable']{get[_0x3a95bf(0x334)](){const _0x76bf94=_0x3a95bf;return this[_0x76bf94(0x414)][_0x76bf94(0x2a6)]();}constructor(){const _0x16efbf=_0x3a95bf;super(),_0x538d20(this,'_online$',new _0x4089a3['BehaviorSubject'](navigator[_0x16efbf(0x26b)])),_0x538d20(this,'online$',this[_0x16efbf(0x414)][_0x16efbf(0x1cd)]()),this[_0x16efbf(0x3dd)](),this[_0x16efbf(0x31f)]();}[_0x3a95bf(0x1f0)](){const _0x3c23d5=_0x3a95bf;super[_0x3c23d5(0x1f0)](),this[_0x3c23d5(0x414)]['complete']();}[_0x3a95bf(0x31f)](){const _0x4f41fb=_0x3a95bf;this['disposeWithMe']((0x0,_0x4089a3[_0x4f41fb(0x2e8)])((0x0,_0x4089a3[_0x4f41fb(0x246)])(window,'online'),(0x0,_0x4089a3[_0x4f41fb(0x246)])(window,_0x4f41fb(0x4f9)),(0x0,_0x4089a3['fromEvent'])(document,_0x4f41fb(0x3d5))[_0x4f41fb(0x325)]((0x0,_0x4089a3[_0x4f41fb(0x3a2)])(()=>document[_0x4f41fb(0x477)]===_0x4f41fb(0x48b)),(0x0,_0x4089a3[_0x4f41fb(0x1d2)])(_0x2a2a91=>_0x2a2a91)))[_0x4f41fb(0x325)]((0x0,_0x4089a3['filter'])(()=>navigator[_0x4f41fb(0x26b)]))['subscribe'](()=>this[_0x4f41fb(0x414)][_0x4f41fb(0x1e4)](!0x0)));}['_listenToOfflineEvent'](){const _0x507ce8=_0x3a95bf;this[_0x507ce8(0x359)]((0x0,_0x4089a3[_0x507ce8(0x246)])(window,'offline')[_0x507ce8(0x425)](()=>this['_online$'][_0x507ce8(0x1e4)](!0x1)));}};let _0x5e3600=class extends _0x243ba8[_0x3a95bf(0x45d)]{constructor(_0x48430d=_0x17ec3a,_0x4b4256,_0x2c6192,_0xedc414,_0x37e7c6){const _0x57a49f=_0x3a95bf;super(),this[_0x57a49f(0x220)]=_0x48430d,this[_0x57a49f(0x4f4)]=_0x4b4256,this[_0x57a49f(0x4c9)]=_0x2c6192,this[_0x57a49f(0x45c)]=_0xedc414,this[_0x57a49f(0x40f)]=_0x37e7c6;let {..._0x27b138}=(0x0,_0x243ba8['merge'])({},_0x17ec3a,this[_0x57a49f(0x220)]);this[_0x57a49f(0x45c)]['setConfig'](_0x57a49f(0x44e),_0x27b138);}[_0x3a95bf(0x1e7)](){const _0x1d0809=_0x3a95bf;this['_registerDependencies'](),this[_0x1d0809(0x359)](this['_commandService']['registerCommand'](_0x574984)),this[_0x1d0809(0x3b0)]();}[_0x3a95bf(0x45f)](){const _0x23c38f=_0x3a95bf;this[_0x23c38f(0x1ee)]();}['_registerDependencies'](){const _0xb978ba=_0x3a95bf;var _0x3ce449;let _0x328b71=[[_0x566e73],[_0x512293[_0xb978ba(0x268)],{'useClass':_0x512293[_0xb978ba(0x21c)]}],[_0xd6e6bc[_0xb978ba(0x421)],{'useClass':_0x5ddc8b}],[_0xd6e6bc[_0xb978ba(0x34e)],{'useClass':_0x370175}],[_0x504763],[_0x5e6afd],[_0x473810],[_0x54df2a],[_0x3bd9e2]];this[_0xb978ba(0x220)][_0xb978ba(0x24b)]!==!0x1&&_0x328b71[_0xb978ba(0x50f)]([_0x46a30d],[_0x3973e6],[_0x5b4446],[_0x7cbc68],[_0x523c38],[_0x217fc6]),this['_config']['enableFrontendLog']&&_0x328b71['push']([_0x4176b4]),(0x0,_0x243ba8[_0xb978ba(0x484)])(this[_0xb978ba(0x4c9)],(0x0,_0x243ba8['mergeOverrideWithDependencies'])(_0x328b71,(_0x3ce449=this['_config'])==null?void 0x0:_0x3ce449[_0xb978ba(0x4a1)]));}[_0x3a95bf(0x1ee)](){const _0x10fed1=_0x3a95bf;this[_0x10fed1(0x220)][_0x10fed1(0x24b)]!==!0x1&&this[_0x10fed1(0x359)](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)]['UNIVER_DOC'],[_0x247d79])),this['disposeWithMe'](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)][_0x10fed1(0x295)],[_0x7fdc90]));}[_0x3a95bf(0x3b0)](){const _0x41cab1=_0x3a95bf;(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x473810],[_0x54df2a],[_0x504763],[_0x5e6afd],[_0x3bd9e2]]),this[_0x41cab1(0x220)][_0x41cab1(0x24b)]!==!0x1&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x523c38],[_0x217fc6]]),this['_config']['enableFrontendLog']&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x4176b4]]);}};_0x538d20(_0x5e3600,_0x3a95bf(0x3fc),_0x3a95bf(0x241)),_0x538d20(_0x5e3600,_0x3a95bf(0x3be),_0x227a21),_0x538d20(_0x5e3600,_0x3a95bf(0x2a5),_0xa76bd6),_0x5e3600=_0x313369([(0x0,_0x243ba8[_0x3a95bf(0x3e9)])(_0x1b5e47[_0x3a95bf(0x34a)],_0x446a63[_0x3a95bf(0x1d3)],_0x1df5c2[_0x3a95bf(0x28f)],_0x512293[_0x3a95bf(0x1d1)],_0x2557fc[_0x3a95bf(0x212)],_0x40df28['UniverDocsUIPlugin'],_0xd6e6bc[_0x3a95bf(0x207)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x4,_0x243ba8[_0x3a95bf(0x4dd)])],_0x5e3600);let _0x22f686=class extends _0xd6e6bc[_0x3a95bf(0x285)]{constructor(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c){const _0x59f740=_0x3a95bf;super(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c),_0x538d20(this,_0x59f740(0x4b5),new _0x4089a3[(_0x59f740(0x3db))]()),this[_0x59f740(0x359)](()=>{const _0x265225=_0x59f740;this[_0x265225(0x4b5)][_0x265225(0x1e4)](),this['_dispose$']['complete']();});}async['createSocket'](_0x111178){const _0x50b2b8=_0x3a95bf;let _0x10a85a=await this[_0x50b2b8(0x319)](),_0x584043=this[_0x50b2b8(0x308)](_0x111178,_0x10a85a);return this[_0x50b2b8(0x46e)](_0x584043);}[_0x3a95bf(0x308)](_0x448e8f,_0x12767d){const _0x20c427=_0x3a95bf;let _0x1909ac=typeof window>'u'?new URL(_0x448e8f):new URL(_0x448e8f,window[_0x20c427(0x2f9)][_0x20c427(0x2fa)]);_0x1909ac[_0x20c427(0x2e1)]['set'](_0x20c427(0x24f),_0x12767d);let _0x58b876=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20c427(0x2f9)][_0x20c427(0x3c1)]);return _0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))&&_0x1909ac[_0x20c427(0x2e1)][_0x20c427(0x4b9)](_0x20c427(0x35f),_0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))),_0x1909ac[_0x20c427(0x1c5)]();}async['_getSessionTicket'](){const _0xdc1146=_0x3a95bf;var _0x2898f0;let _0x1e977b=this[_0xdc1146(0x45c)]['getConfig'](_0xd6e6bc[_0xdc1146(0x33c)]),_0x1e0e0a=(_0x1e977b==null?void 0x0:_0x1e977b['wsSessionTicketUrl'])??_0xd6e6bc['DEFAULT_WS_SESSION_TICKET_URL'];return((_0x2898f0=(await(0x0,_0x4089a3['firstValueFrom'])(this['_httpService'][_0xdc1146(0x302)](_0xdc1146(0x1db),_0x1e0e0a,{'headers':{'Content-Type':_0xdc1146(0x362)}})[_0xdc1146(0x325)]((0x0,_0x4089a3['filter'])(_0x47cd42=>_0x47cd42[_0xdc1146(0x30d)]===_0x512293['HTTPEventType'][_0xdc1146(0x4c4)]),(0x0,_0x4089a3[_0xdc1146(0x205)])(0x4e20),(0x0,_0x4089a3['takeUntil'])(this[_0xdc1146(0x4b5)]))))['body'])==null?void 0x0:_0x2898f0[_0xdc1146(0x23c)])??'';}};_0x22f686=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,_0x2557fc['ISnapshotServerService'])],_0x22f686);let _0x56acbf=class extends _0x243ba8['Disposable']{constructor(_0x3085ca,_0x63ea1e,_0x1a9f98){const _0x1acab3=_0x3a95bf;super(),this[_0x1acab3(0x1be)]=_0x3085ca,this[_0x1acab3(0x25c)]=_0x63ea1e,this[_0x1acab3(0x45c)]=_0x1a9f98;}async['runOnServer'](_0x4e7492,_0xeac133,_0xcac384,..._0x54ada1){const _0x8c07c7=_0x3a95bf;let _0x16354b=this[_0x8c07c7(0x1be)][_0x8c07c7(0x384)]();if(!_0x16354b)throw Error(_0x8c07c7(0x23d));let _0x133cc6=(this[_0x8c07c7(0x45c)]['getConfig'](_0xd6e6bc[_0x8c07c7(0x34d)])??_0xd6e6bc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4e7492+'/run/'+_0xeac133,_0x28c933={'scriptId':_0x4e7492,'runId':new URL(window[_0x8c07c7(0x2f9)]['href'])[_0x8c07c7(0x2e1)][_0x8c07c7(0x26a)]('runId')??'','function':_0xeac133,'unitId':_0x16354b[_0x8c07c7(0x4cd)](),'argsOfFunction':JSON[_0x8c07c7(0x215)](_0x54ada1),'invokeId':_0xcac384[_0x8c07c7(0x1e0)]??'','executionId':_0xcac384[_0x8c07c7(0x27d)]??''};try{let _0x31b816=await this[_0x8c07c7(0x25c)][_0x8c07c7(0x394)](_0x133cc6,{'body':_0x28c933});return _0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)]&&_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)][_0x8c07c7(0x310)]!==_0x43cd06['ErrorCode']['OK']?_0x8c07c7(0x2e2):_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x4ef)];}catch{return _0x8c07c7(0x2e2);}}};_0x56acbf=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)])],_0x56acbf);let _0x564508=0x7530,_0x5b4a02=_0x3a95bf(0x1e3);var _0xbb94ec=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(){const _0x49bd62=_0x3a95bf;super(),_0x538d20(this,_0x49bd62(0x342),(0x0,_0x243ba8['generateRandomId'])()),_0x538d20(this,_0x49bd62(0x3e0),new Set()),_0x538d20(this,_0x49bd62(0x402),new Map()),_0x538d20(this,_0x49bd62(0x324),null),_0x538d20(this,'_clearOtherTimers',new Map()),_0x538d20(this,_0x49bd62(0x3d3),new Map()),this['_init']();}[_0x3a95bf(0x1f0)](){const _0x3130db=_0x3a95bf;super[_0x3130db(0x1f0)](),this[_0x3130db(0x32b)]['forEach']((_0xe5e3c,_0x403f9b)=>this[_0x3130db(0x1d7)](_0x403f9b)),this[_0x3130db(0x324)]&&window[_0x3130db(0x4fa)](this[_0x3130db(0x324)]);}['getUnitStatus$'](_0x222e49){const _0x252651=_0x3a95bf;return this[_0x252651(0x4cf)](_0x222e49)[_0x252651(0x325)]((0x0,_0x4089a3[_0x252651(0x492)])());}[_0x3a95bf(0x369)](_0x70f7ef){const _0x2bb846=_0x3a95bf;this[_0x2bb846(0x3e0)][_0x2bb846(0x267)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2bb846(0x3e0)][_0x2bb846(0x299)](_0x70f7ef),this[_0x2bb846(0x206)]({'type':0x0,'memberID':this[_0x2bb846(0x342)],'unitIDs':[_0x70f7ef],'isForwarded':!0x1});}[_0x3a95bf(0x2d7)](_0x4d4aef){const _0x1005b9=_0x3a95bf;this[_0x1005b9(0x3e0)]['delete'](_0x4d4aef),this[_0x1005b9(0x3e0)][_0x1005b9(0x267)]===0x0&&this[_0x1005b9(0x324)]&&window[_0x1005b9(0x4fa)](this['_heartbeatTimer']);}[_0x3a95bf(0x2bf)](){const _0x20a38c=_0x3a95bf;this['disposeWithMe']((0x0,_0x243ba8[_0x20a38c(0x31b)])((0x0,_0x4089a3[_0x20a38c(0x246)])(window,_0x20a38c(0x1d5))[_0x20a38c(0x425)](_0x1f9dbe=>{const _0x16d3ef=_0x20a38c;if(_0x1f9dbe[_0x16d3ef(0x453)]!==_0x5b4a02||!_0x1f9dbe['newValue'])return;let _0x95fbf2=JSON[_0x16d3ef(0x4ff)](_0x1f9dbe[_0x16d3ef(0x1ea)]);this[_0x16d3ef(0x21e)](_0x95fbf2);}))),window[_0x20a38c(0x329)](_0x20a38c(0x230),()=>this[_0x20a38c(0x206)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x20a38c(0x292)](this[_0x20a38c(0x3e0)])}));}[_0x3a95bf(0x21e)](_0x27a193){const _0x51febb=_0x3a95bf;switch(_0x27a193['type']){case 0x0:this[_0x51febb(0x242)](_0x27a193);break;case 0x1:this[_0x51febb(0x1c9)](_0x27a193);break;case 0x2:this['_handleHeartbeatEvent'](_0x27a193);}}['_handleJoinEvent'](_0x442c21){const _0x24f8b9=_0x3a95bf;let {unitIDs:_0x222955,memberID:_0x1239a2,isForwarded:_0x10ea3f}=_0x442c21;_0x222955[_0x24f8b9(0x437)](_0x1fa644=>{const _0x7423a7=_0x24f8b9;if(!_0x10ea3f&&this[_0x7423a7(0x402)]['has'](_0x1fa644)&&this[_0x7423a7(0x4cf)](_0x1fa644)[_0x7423a7(0x1e4)](_0xd6e6bc[_0x7423a7(0x35a)][_0x7423a7(0x4d1)]),!this[_0x7423a7(0x402)]['has'](_0x1fa644)||!this['_unitOnClients'][_0x7423a7(0x26a)](_0x1fa644)[_0x7423a7(0x502)](_0x1239a2)){let _0x1b349d=this[_0x7423a7(0x402)][_0x7423a7(0x26a)](_0x1fa644)||new Set();_0x1b349d[_0x7423a7(0x299)](_0x1239a2),this['_unitOnClients'][_0x7423a7(0x4b9)](_0x1fa644,_0x1b349d),this[_0x7423a7(0x41d)](_0x1239a2);}}),_0x10ea3f||this['_send']({'type':0x0,'memberID':this[_0x24f8b9(0x342)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a95bf(0x41d)](_0x3697a6){const _0x2d4cd5=_0x3a95bf;this[_0x2d4cd5(0x1d7)](_0x3697a6);let _0x60031=window[_0x2d4cd5(0x35e)](()=>{const _0x2f6407=_0x2d4cd5;this[_0x2f6407(0x402)]['forEach'](_0xfb9730=>{const _0x2a5bcd=_0x2f6407;_0xfb9730[_0x2a5bcd(0x26e)](_0x3697a6);});},_0x564508*0x2);this[_0x2d4cd5(0x32b)]['set'](_0x3697a6,_0x60031);}[_0x3a95bf(0x1d7)](_0x571e52){const _0x5623bc=_0x3a95bf;if(this[_0x5623bc(0x32b)][_0x5623bc(0x502)](_0x571e52)){let _0x349423=this['_clearOtherTimers'][_0x5623bc(0x26a)](_0x571e52);_0x349423&&window['clearTimeout'](_0x349423),this[_0x5623bc(0x32b)]['set'](_0x571e52,null);}}[_0x3a95bf(0x1c9)](_0x290719){const _0x564cc7=_0x3a95bf;let {memberID:_0x4ec65d,unitIDs:_0xedd814}=_0x290719;_0xedd814[_0x564cc7(0x437)](_0x16181e=>{const _0x31ecae=_0x564cc7;var _0x48f231;let _0x27e247=this[_0x31ecae(0x402)][_0x31ecae(0x26a)](_0x16181e);_0x27e247&&(_0x27e247['delete'](_0x4ec65d),(_0x48f231=this['_ensureSubject'](_0x16181e))==null||_0x48f231[_0x31ecae(0x1e4)](_0x27e247[_0x31ecae(0x267)]===0x0?_0xd6e6bc[_0x31ecae(0x35a)][_0x31ecae(0x48e)]:_0xd6e6bc['UnitStatus'][_0x31ecae(0x4d1)]));}),this[_0x564cc7(0x1d7)](_0x4ec65d);}[_0x3a95bf(0x1de)](_0x366b35){const _0xc2e719=_0x3a95bf;this[_0xc2e719(0x41d)](_0x366b35[_0xc2e719(0x4e8)]);}['_send'](_0x15f80c){const _0xb1c6c3=_0x3a95bf;localStorage[_0xb1c6c3(0x3fb)](_0x5b4a02,JSON[_0xb1c6c3(0x215)](_0x15f80c));}['_scheduleHeartbeat'](){const _0x8e741f=_0x3a95bf;this[_0x8e741f(0x324)]=window['setInterval'](()=>{const _0x31eadc=_0x8e741f;this['_send']({'type':0x2,'memberID':this[_0x31eadc(0x342)]});},_0x564508);}[_0x3a95bf(0x4cf)](_0x1c21e7){const _0x3a164a=_0x3a95bf;return this[_0x3a164a(0x3d3)][_0x3a164a(0x502)](_0x1c21e7)||this[_0x3a164a(0x3d3)][_0x3a164a(0x4b9)](_0x1c21e7,new _0x4089a3[(_0x3a164a(0x43f))](_0xd6e6bc[_0x3a164a(0x35a)][_0x3a164a(0x48e)])),this[_0x3a164a(0x3d3)][_0x3a164a(0x26a)](_0x1c21e7);}};Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x245),{'enumerable':!0x0,'get':function(){return _0x22f686;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x2dd),{'enumerable':!0x0,'get':function(){return _0x504763;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x3f7),{'enumerable':!0x0,'get':function(){return _0x56acbf;}}),_0x47af61['SheetCollabCursorShape']=_0x13957a,Object[_0x3a95bf(0x2b2)](_0x47af61,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x5e3600;}}),_0x47af61['WebBrowserSingleActiveUnitService']=_0xbb94ec;}));function _0x580b(){const _0x4a21bb=['attrs','UniverSheets','_collabCursorController','_docSkeleton','isTransformMutationFailure','collab-rect-range-','map','_range','params','deserializeRangeWithSheet','_getUserId','SetDocZoomRatioOperation','IUIPartsService','_saveTaskMap','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','options','_showText','LOCAL_CACHE_INTERVAL_KEY','collaboration-client-ui.session.connection-failed','DocSelectionManagerService','_initDependencies','RxDisposable','unsubscribe','OPERATION','target','UniverDesign','reconnect','getColor','CollaborationStatus','SetTextSelectionsOperation','_labelHorizontalPosition','_onCursorDelete','RegularPolygon','getCoordRelativeToViewport','packageName','_initStatusComponent','m1Prime','search','triggerDblclick','_collabCursorState$','observe','_backgroundColor','clipPath',',\x200.2)','timeoutId','transformStateCache','Tools','canRenderAnchor','@univerjs/sheets','replaceSelectionInfoWithoutRefresh','state$','userID','_replaceConflictNotification','toISOString','getCurrentRevOfUnit','_unitStatus','exports','visibilitychange','OFFLINE','canRenderSelection','clearTimeout','SnapshotLoadingService','_drawAnchor','Subject','ILocalStorageService','_listenToOfflineEvent','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','max','_selfUnitIDs','use','AWAITING_WITH_PENDING','1em','LocaleService','with','_themeService','_memberID','getScrollXYInfoByViewport','DependentOn','ITransformService','clearRemotePresences','defs','loadedBlocks','show','range','highlightSecond','collab-text-anchor-','_cursor','_docStateChangeManagerService','stack','_pendingEntities','_clearTimeoutState','RemoteUniscriptService','default','getTypeOfUnitAdded$','addObject','setItem','pluginName','tableId','@univerjs/engine-formula','UniverEngineRender','columnIndex','stroke','_unitOnClients','_toggleOnline','roomMembers','static','_transformUndoRedoStack','_presenceAdapterRegistry','colno','getRangePointData','@univerjs/protocol','width','CollaborationSessionService','disconnect','_scheduleSaving','_commandService','_stopBlinking','_initEvent','_shapes','measureText','_online$','body','tag','alert','/universer-api/frontend/logs','_pointerMoveDisposable','_initUnhandledRejectionListener','saveOfflineData','MessageType','_scheduleClearOtherTimer','getItem','_localCacheService','React','ILocalCacheService','deepClone','clearOfflineData','clear','subscribe','slice','AWAITING','SOCKET_FAILED','_render','handleInsertRow','CollaborationUIEventId','prepareTransformSelections','collab-text-range-','isEditing','shareInterval','parseInt','getCurrentTypeOfUnit$','reason','on-line-icon_clip0_910_349','TEXT','_hovered','getCurrentSkeleton','forEach','_uploadLog','state','_anchor','span','setRemotePresence','undoState','red.300','BehaviorSubject','_colorAssignService','[Unhandled\x20Rejection]:\x20','CollaborationController','rgba','\x20at\x20','pulse','_startBlinking','non-scaling-stroke','_docSelectionManagerService','collaboration-client-ui.conflict.content','DOC_RANGE_TYPE','_showAwaitingNotice','@univerjs/sheets-ui','amd','collaboration-client-ui.config','handleIRemoveCol','UniverProLicense','_beforeCloseService','_disabled','key','statusUIPart','_cachedData','collaboration-client-ui.license.domain-rejected','@univerjs/ui','collaboration-client-ui.conflict.retry','removeRemotePresence','getLocalPresence','_monkeyPatchLogService','_configService','Plugin','_entityInit$','onRendered','_updateCollabCursors','reload','getMember','activate','spin','_roomMembers$','fillRule','_getScale','getCoordByCell','GLOBAL','0\x200\x2017\x2016','getSheetBySheetId','setActiveRange','textRanges','_doCreateSocket','M0\x200H16V16H0z','license_editing_connections_exceeded','@univerjs/docs','3422914pwJiCl','_onRefRangeChange','doc.mutation.rich-text-editing','rgba(','FETCH_MISS','visibilityState','getLocalCacheKey','collabCursorState$','_offsetY','right','drawWith','MoveRangeCommandId','keys','_startEntity','createInstance','_transformService','getOffsetConfig','_saveCache','registerDependencies','useCallback','pageIndex','SOCKET_FAILED_RETRY','eventID','isTransformMutationsWithChangesetSuccess','transform','visible','useDependency','snapshot-loading-','NO_OTHER_CLIENTS_EDITING','isActive','_editingConnectionsExceededNotices','getAllUnitsForType','distinctUntilChanged','removeItem','defIds','restore','setAlpha','redoState','off-line-icon_clip0_910_343','_assignedColors','@univerjs-pro/collaboration-client','addClipboardHook',':backup:','save','IRenderManagerService','HEADER_MENU','SessionStatus','override','_transformPreviousActiveRange','saveTaskMap','jsx','_localStorageService','useImperativeHandle','[LogService\x20Error]:\x20','useId','createElement','number','_clearBlockProgressWatch','DocStateChangeManagerService','_sheetSkeletonManagerService','RefRangeService','_onCursorUpdate','prototype','string','@univerjs-pro/license','CollaborationEvent','_eventUnsubscribe','_dispose$','LICENSE_DOMAIN_REJECTED','update','FromArray','set','IUniverInstanceService','_userManagerService','collaboration-client-ui.collabStatus.offline','InsertRangeMoveDownCommandId','collaboration-client-ui.remoteRevert.title','operators','collaboration-client-ui.collabStatus.synced','loadOfflineData','off-line-icon','getCollabEntities','Response','arc','ThemeService','_initPresenceStatusComponents','@univerjs/design','_injector','replace','_watchBlockProgress','_snapshotLoadingService','getUnitId','status$','_ensureSubject','NodePositionConvertToCursor','OTHER_CLIENTS_EDITING','_labelPosition','getCellIndexByOffset','_entities','MemberService','_docSkeletonManagerService','requireSession','onTransformChange$','_blockProgressWatches','startColumn','min','data','ICommandService','onCommandExecuted','white','#FFF','_collaborationSessionService','subUnitId','@univerjs/core','addHandlerCallback','Tooltip','VIEW_MAIN','_docTransformStateCacheService','memberID','_initUserListener','toStringTag','focusedId','evenodd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_uiPartsService','result','onPointerLeave$','currentColor','throttleTime','fillStyle','_renderManagerService','startsWith','_registerPresenceStatusComponent','univer-h-8\x20univer-w-8\x20univer-rounded-lg','message','focus','clearInterval','getDocRanges','transformIMECache','colorChannel1','_online','parse','endColumn','collaboration-client-ui.collaboration.closeRoom','has','_initialized','rxjs','hide','hasAttribute','RevisionService','@univerjs/network','UniverInstanceType','hovered','univer-text-gray-400','getActiveRange','_getLighterColor','decorate','push','length','getUndoRedoMutationParamsCache','_messageIds','_normalizeUserId','CLOSE_ROOM','IImageIoService','DocumentSkeletonPageType','getColorFromTheme','BuiltInUIPart','_initWindowErrorListener','isReleased','strokeWidth','baseVal','Warning','loading-multi-icon','OTHER_CLIENT_EDITING','getPropertyValue','selection','_blinkTimer','30IZcnMq','collaboration-client-ui.collaboration.single-unit.warning','940GakUHf','_instanceService','LOCAL_CACHE_INTERVAL','USERS_LEAVE','subscribeEvent','_session','OnLineIcon','...','toString','NodePositionConvertToRectRange','_initCommandExecutedListener','complete','_handleLeaveEvent','DeleteRangeMoveUpCommandId','useLayoutEffect','IDocClipboardService','asObservable','makeDirty','_drawRectRange','IMessageService','UniverNetworkPlugin','filter','UniverDocsPlugin','div','storage','registerBeforeClose','_removeClearOtherTimer','_disposeEntity','changesetResend$','rgba(255,\x20255,\x20255,\x200.01)','GET','Loading','HEADER','_handleHeartbeatEvent','_retryingConflictCacheUnitIDs','invokeId','SetSelectionsOperation','stroke-width','ACTIVE_UNIT_EVENT_CHANNEL','next','_startDocCollabCursor','bind','onStarting','react','_collaborationUIEventService','newValue','url(#off-line-icon_clip0_910_343)','setShapeProps','allSettled','_registerRenderDependencies','_conflictNotification','dispose','_adapterRegistry','collaboration-client-ui.snapshotLoading.refresh','translate(.97)','clickable','element','current','InsertRangeMoveRightCommandId','_highlight','getCurrentSelections','idSuffix','transformMutation','true','0\x200\x2016\x2016','registerRenderModule','@univerjs-pro/collaboration','bold\x2013px\x20Arial,\x20sans-serif','purple.300','useObservable','_context','children','timeout','_send','UniverCollaborationClientPlugin','init','text','collaboration-client-ui.snapshotLoading.timeout','timedOut','_scene','ILogService','switchMap','i18nKey','_setupBeforeClosingHandler','executeCommand','UniverCollaborationPlugin','SheetSkeletonManagerService','unshift','stringify','addObjects','collaboration-client-ui.conflict.processing','_toggleOffline','all','top','collaboration-client-ui.session.collaboration-timeout','WebSocketService','error','_handleEvent','LoadingMultiIcon','_config','univer-inline-flex\x20univer-items-center\x20univer-justify-center','color','_sendLocalPresence','_colorIndex','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','9Lbjqwx','getAncestorScale','_onConflict','handleDeleteRangeMoveUp','UniverDocs','updateOfflineData','values','JOIN_ROOM_FAILED','RECT','494285UzwsWU','unload','unit','UserManagerService','xlink:href','debounce','currentSkeleton$','SheetsSelectionsService','currentTheme$','value','_getAnchorBounding','url(#$1','IBeforeCloseService','ticket','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/engine-render','stage','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleJoinEvent','_localeService','_removeRemotePresence','BrowserCollaborationSocketService','fromEvent','Enter','handleInsertRangeMoveDown','ONLINE','univer-border-none\x20univer-bg-transparent','enableDocumentCollaborationUI','green.600','univer-transition-all\x20univer-duration-200','_trackActiveSaveTask','sessionTicket','_updateLocalCursor','_initResize','_revisionService','segmentPage','_timeoutState$','closePath','getConfig','style','indicator','unitID','roomMembers$','HTTPService','_httpService','univer-text-green-500','cacheCleared','_status$','strokeOpacity','collaboration-client-ui.collaboration.offline-data-not-saved','disableLocalCache','runRefRangeMutations','m2Prime','colorClass','priority','size','ISocketService','RemoveRowCommandId','get','onLine','rgb','_docTransformSelectionsService','delete','_anchorDot','_hover','_showConflictProcessingNotification','_color','syncEditingCollabCursor','small','_bindAdapter','warning-icon','preventDefault','DisposableCollection','isArray','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','RemoveColCommandId','backupOfflineData','executionId','on-line-icon','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_drawTextRange','url(#on-line-icon_clip0_910_349)','COLORS','trim','Inject','CollaborationSocketService','_saveTimedOutNotices','_logService','localPresence$','EffectRefRangId','univer-m-0\x20univer-p-0','SnapshotLoadStage','739604ckhSBS','_lastPointer','entityInit$','UniverRenderEnginePlugin','1.3.0','backgroundColor','from','_getMergeRange','_docTransformIMECacheService','UNIVER_SHEET','collaboration-client-ui.license.title','memberId','constructor','add','columnGroupId','_textBubble','remove','_refreshCollabCursors','combineLatest','sheetID','_collaborationController','unitId','status','join','95194YBduuv','version','getValue','sheetId','black','mutations','debounceTime','_refRangeService','\x20-\x20','font','FOOTER','_reloadPage','_initStatusListener','bottom','defineProperty','sessionStatus$','_getSaveTimeout','function','adapters$','unitType','kind','getCurrentUnitOfType','now','saveImage','isFinite','_syncEditingCollabCursorService','_presenceStatusRegistrations','_init','includes','assignAColorForMemberID','LOADING_BLOCKS','RichTextEditingMutation','toRgbString','timeoutState$','left','button','0.2)','_handleCursorUpdate','conflict$','finally','parseFloat','getUnit','unhandledrejection','536280gGwIGh','_notificationService','selectedIds','ERROR','9812474mgPYVG','flatMap','labelHorizontalPosition','snapshot-loading-timeout','disposeUnit','collaboration-client-ui.license.editing-connections-exceeded','pageType','UniverIcon','warning','lineTo','DesktopCollaborationStatusDisplayController','send','getCollabCursors$','IConfigService','searchParams','Failed','http://www.w3.org/2000/svg','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','originalStrokeWidth','ranges','exhaustSavingTask','merge','Button','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','univer-text-orange-500','mask','cursorInfo','_disposed','path','TEXT_RANGE_LAYER_INDEX','Unknown\x20user','object','_isBlinkVisible','content','totalBlocks','_initAwaitingNotices','dispose$','InsertRowCommandId','location','origin','UNIVER_DOC','collaboration-client-ui.collabStatus.fetchMiss','_transformHistoryAndStateStack','displayName','UniverCore','none','getPropertyPriority','stream','react/jsx-runtime','column','transformRemoteChangeset','labelPosition','onPointerEnter$','_createSocketURL','_adapter','showText','userId','getMemberID','type','setProperty','touchDependencies','code','polite','SHEET_VIEWPORT_KEY','_highlightSecond','moveTo','pointer','removeAttribute','clsx','collaboration-client-ui.collabClient.tooltip.reconnect','_getSessionTicket','fillText','toDisposable','UniverNetwork','row','_univerInstanceService','_listenToOnlineEvent','connectInjector','entries','transformByState','WarningIcon','_heartbeatTimer','pipe','UniverProCollaborationClient','IUnitPresenceUIAdapterRegistry','tooltipKey','addEventListener','iterator','_clearOtherTimers','registerComponent','some','collaboration-client-ui.conflict.clearFailed','generateRandomId','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','NOT_COLLAB','_imageIoService','handleInsertRangeMoveRight','online','name','Disposable','getCurrentUser','fill','getActiveSheet','presenceKind','symbol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univerjs-icon\x20univerjs-icon-','getCollabEntity$','_isDisposed','_getSheetObject','round','_id','Shape','getSkeleton','_updateMessage','_messageService','socket$','_syncPresenceStatusComponents','_disposeEntitiesForType','UniverLicensePlugin','split','Error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INetworkConditionService','_blinkIntervalTimer','height','takeUntil','setStateCache','assign','appliedStrokeWidth','icon','CommandType','_cursors','setOffsetY','disposeWithMe','UnitStatus','_cursorInfo$','_showConflictCacheClearFailedNotification','5317064NtoXrA','setTimeout','runId','_cursorShapes','startRow','application/json','findNodePositionByCharIndex','getTypeOfUnitDisposed$','_docClipboardService','transformMutationsWithChangeset','[Window\x20Error]:\x20','UPDATE_CURSOR','editingUnit','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','_hideTimer','useRef','forwardRef','jsxs','cursorInfo$','fromEventSubject','timer','univer-text-blue-500','then','toFixed','getStateCache','_retryConflictCacheClear','INotificationService','DocIMEInputManagerService','endRow','DeleteRangeMoveLeftCommandId','catch','collaboration-client-ui.collabStatus.conflict','_docSyncEditingCollabCursorService','6IMxuiO','jiqing.500','Injector','_removeAwaitingNotices','_memberService','handleIRemoveRow','getFocusedUnit','getDocumentSkeletonColumnPagePathInfo','collaboration-client-ui.collabStatus.syncing','_adapterDisposables','event$','_handleHover','Vector2','getRenderUnitById','collaboration-client-ui.remoteRevert.content','endOffset','ColorKit','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','highlight','hadStyleAttribute','loading','_activeSaveTaskMap','post','isInternalEditorID','_removeCollabCursors','_collabSessionService','collaboration-client-ui.conflict.title','#0B9EFB','querySelectorAll','svg'];_0x580b=function(){return _0x4a21bb;};return _0x580b();}
|