@univerjs-pro/collaboration-client-ui 1.0.0-alpha.3 → 1.0.0-alpha.4
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.css +87 -0
- 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/snapshot-loading/snapshot-loading.controller.d.ts +36 -0
- package/lib/types/locale/en-US.d.ts +5 -0
- package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +15 -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 +22 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x7aae(_0x3b59d1,_0x4be9f9){_0x3b59d1=_0x3b59d1-0xff;const _0x32c884=_0x32c8();let _0x7aae8f=_0x32c884[_0x3b59d1];return _0x7aae8f;}(function(_0x43d3a0,_0x4943e3){const _0x1fdc48=_0x7aae,_0x2f8c26=_0x43d3a0();while(!![]){try{const _0xb8b9b1=parseInt(_0x1fdc48(0x193))/0x1+-parseInt(_0x1fdc48(0x11f))/0x2+-parseInt(_0x1fdc48(0x3b8))/0x3*(parseInt(_0x1fdc48(0x183))/0x4)+parseInt(_0x1fdc48(0x17a))/0x5*(-parseInt(_0x1fdc48(0x3cb))/0x6)+parseInt(_0x1fdc48(0x1a6))/0x7*(parseInt(_0x1fdc48(0x17e))/0x8)+-parseInt(_0x1fdc48(0x2ab))/0x9+-parseInt(_0x1fdc48(0x262))/0xa*(-parseInt(_0x1fdc48(0x161))/0xb);if(_0xb8b9b1===_0x4943e3)break;else _0x2f8c26['push'](_0x2f8c26['shift']());}catch(_0x4a6dbf){_0x2f8c26['push'](_0x2f8c26['shift']());}}}(_0x32c8,0x250f6),function(_0x3eb93f,_0x5c09e3){const _0x5ab343=_0x7aae;typeof exports==_0x5ab343(0x361)&&typeof module<'u'?_0x5c09e3(exports,require('@univerjs-pro/boards-ui'),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/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x5ab343(0x3a2)&&define[_0x5ab343(0x1fe)]?define([_0x5ab343(0x2f5),_0x5ab343(0x101),_0x5ab343(0x1cc),'@univerjs/core',_0x5ab343(0x362),'rxjs','rxjs/operators',_0x5ab343(0x2b9),_0x5ab343(0x302),'react/jsx-runtime',_0x5ab343(0x352),_0x5ab343(0x3c1),_0x5ab343(0x155),_0x5ab343(0x3e9),_0x5ab343(0x198),'@univerjs/engine-formula',_0x5ab343(0x1f9),_0x5ab343(0x13c),'@univerjs/sheets-ui','@univerjs/rpc',_0x5ab343(0x3d0)],_0x5c09e3):(_0x3eb93f=typeof globalThis<'u'?globalThis:_0x3eb93f||self,_0x5c09e3(_0x3eb93f[_0x5ab343(0x126)]={},_0x3eb93f[_0x5ab343(0x20b)],_0x3eb93f[_0x5ab343(0x34c)],_0x3eb93f['UniverCore'],_0x3eb93f[_0x5ab343(0x32a)],_0x3eb93f[_0x5ab343(0x2ca)],_0x3eb93f[_0x5ab343(0x2ca)][_0x5ab343(0x347)],_0x3eb93f[_0x5ab343(0x3f4)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x280)],_0x3eb93f['UniverNetwork'],_0x3eb93f[_0x5ab343(0x26e)],_0x3eb93f[_0x5ab343(0x11b)],_0x3eb93f['UniverDocs'],_0x3eb93f['UniverEngineFormula'],_0x3eb93f[_0x5ab343(0x3f8)],_0x3eb93f[_0x5ab343(0x26c)],_0x3eb93f[_0x5ab343(0x1e9)],_0x3eb93f[_0x5ab343(0x31a)],_0x3eb93f['UniverProtocol']));}(this,function(_0x158154,_0x512abf,_0x35fa89,_0x2b0173,_0x161125,_0xc05c0c,_0x4be982,_0x96a8b5,_0x34db69,_0x140dd6,_0x15ed3a,_0x5499b2,_0x56f9a3,_0xd76d4d,_0x3ad445,_0x170b1c,_0x384008,_0x304b4c,_0x50b664,_0x3ab178,_0x2e0273){const _0x1a58e5=_0x7aae;Object['defineProperty'](_0x158154,Symbol[_0x1a58e5(0x106)],{'value':_0x1a58e5(0x234)});function _0x36d807({ref:_0x49adfb,..._0x5226ec}){const _0x304a82=_0x1a58e5;let {icon:_0x3d7c62,id:_0xd3bb0e,className:_0x499c77,extend:_0x1cb60d,..._0x909d9f}=_0x5226ec,_0x5e9aa4=(_0x304a82(0x3ff)+_0xd3bb0e+'\x20'+(_0x499c77||''))['trim'](),_0x2f9472=(0x0,_0x34db69[_0x304a82(0x296)])('_'+_0x63cd74());return _0x340f0b(_0x3d7c62,''+_0xd3bb0e,{'defIds':_0x3d7c62[_0x304a82(0x120)],'idSuffix':_0x2f9472[_0x304a82(0x390)]},{'ref':_0x49adfb,'className':_0x5e9aa4,..._0x909d9f},_0x1cb60d);}function _0x340f0b(_0x344b63,_0x539729,_0x3001bb,_0x5b207d,_0x32dee4){const _0x1423f1=_0x1a58e5;return(0x0,_0x34db69[_0x1423f1(0x185)])(_0x344b63[_0x1423f1(0x1f6)],{'key':_0x539729,..._0x30d6ef(_0x344b63,_0x3001bb,_0x32dee4),..._0x5b207d},(_0x3b7ba8(_0x344b63,_0x3001bb)[_0x1423f1(0x2bc)]||[])[_0x1423f1(0x230)]((_0x5dba94,_0x4b9b0d)=>_0x340f0b(_0x5dba94,_0x539729+'-'+_0x344b63[_0x1423f1(0x1f6)]+'-'+_0x4b9b0d,_0x3001bb,void 0x0,_0x32dee4)));}function _0x30d6ef(_0x2b1f0e,_0x52a5b,_0x14f9d8){const _0x4cb442=_0x1a58e5;let _0x2adc5f={..._0x2b1f0e[_0x4cb442(0x27e)]};_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f['fill']==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x2ec)]=_0x14f9d8[_0x4cb442(0x207)]),_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f[_0x4cb442(0x27b)]==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x27b)]=_0x14f9d8['colorChannel1']),_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x171)&&_0x2adc5f['id']&&(_0x2adc5f['id']+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1812ee,_0x49fa14])=>{const _0x1d4f84=_0x4cb442;_0x1812ee===_0x1d4f84(0x171)&&typeof _0x49fa14=='string'&&(_0x2adc5f[_0x1812ee]=_0x49fa14[_0x1d4f84(0x2e5)](/url\(#(.*)\)/,_0x1d4f84(0x16b)+_0x52a5b[_0x1d4f84(0x373)]+')'));});let {defIds:_0x1537c2}=_0x52a5b;return!_0x1537c2||_0x1537c2[_0x4cb442(0x371)]===0x0?_0x2adc5f:(_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x414)&&_0x2adc5f[_0x4cb442(0x1c1)]&&(_0x2adc5f[_0x4cb442(0x1c1)]+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1fc631,_0x6ea999])=>{const _0x1ce03b=_0x4cb442;typeof _0x6ea999==_0x1ce03b(0x31b)&&(_0x2adc5f[_0x1fc631]=_0x6ea999[_0x1ce03b(0x2e5)](/url\(#(.*)\)/,'url(#$1'+_0x52a5b[_0x1ce03b(0x373)]+')'));}),_0x2adc5f);}function _0x3b7ba8(_0x55600b,_0x9c5c58){const _0x57254e=_0x1a58e5;var _0x25a2fc;let {defIds:_0x4ac828}=_0x9c5c58;return!_0x4ac828||_0x4ac828[_0x57254e(0x371)]===0x0?_0x55600b:_0x55600b['tag']===_0x57254e(0x300)&&(_0x25a2fc=_0x55600b[_0x57254e(0x2bc)])!=null&&_0x25a2fc['length']?{..._0x55600b,'children':_0x55600b['children'][_0x57254e(0x230)](_0x1eb002=>typeof _0x1eb002[_0x57254e(0x27e)]['id']==_0x57254e(0x31b)&&_0x4ac828&&_0x4ac828[_0x57254e(0x39c)](_0x1eb002[_0x57254e(0x27e)]['id'])?{..._0x1eb002,'attrs':{..._0x1eb002[_0x57254e(0x27e)],'id':_0x1eb002[_0x57254e(0x27e)]['id']+_0x9c5c58['idSuffix']}}:_0x1eb002)}:_0x55600b;}function _0x63cd74(){const _0x46dfa5=_0x1a58e5;return Math[_0x46dfa5(0x38c)]()[_0x46dfa5(0x3d4)](0x24)[_0x46dfa5(0x1fb)](0x2,0x8);}_0x36d807[_0x1a58e5(0x2f8)]='UniverIcon';let _0x1b3dfa={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x405)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1a58e5(0x16e),'strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x25d)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1a58e5(0x25d)]},_0x291369=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x1f4975,_0x9214ac){const _0x362306=_0x1a58e5;return(0x0,_0x34db69[_0x362306(0x185)])(_0x36d807,Object['assign']({},_0x1f4975,{'id':'off-line-icon','ref':_0x9214ac,'icon':_0x1b3dfa}));});_0x291369[_0x1a58e5(0x2f8)]='OffLineIcon';let _0x26d5ae={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':'0\x200\x2017\x2016','width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x270)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'d':_0x1a58e5(0x30c),'strokeLinecap':'round','strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x3c3)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':_0x1a58e5(0x2ed),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x32fe5e=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0xf8d936,_0x194a4d){const _0x2137f1=_0x1a58e5;return(0x0,_0x34db69[_0x2137f1(0x185)])(_0x36d807,Object['assign']({},_0xf8d936,{'id':'on-line-icon','ref':_0x194a4d,'icon':_0x26d5ae}));});_0x32fe5e[_0x1a58e5(0x2f8)]=_0x1a58e5(0x3fc);let _0x2efdf4={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':'none','viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'path','attrs':{'fill':_0x1a58e5(0x2de),'d':_0x1a58e5(0x2fb),'fillOpacity':0.2,'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}},{'tag':_0x1a58e5(0x239),'attrs':{'fill':'#0B9EFB','d':_0x1a58e5(0x1bf),'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}}]},_0x318625=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x2d7c2b,_0x19d94d){const _0x557a30=_0x1a58e5;return(0x0,_0x34db69['createElement'])(_0x36d807,Object[_0x557a30(0x208)]({},_0x2d7c2b,{'id':_0x557a30(0x189),'ref':_0x19d94d,'icon':_0x2efdf4}));});_0x318625[_0x1a58e5(0x2f8)]=_0x1a58e5(0x14f);function _0x17446a(_0x1a6f29){const _0xea4c73=_0x1a58e5;switch(_0x1a6f29){case _0x35fa89[_0xea4c73(0x315)]['OFFLINE']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x1f8),'i18nKey':_0xea4c73(0x18b),'tooltipKey':_0xea4c73(0x3da),'clickable':!0x0,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)]['CONFLICT']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x38a),'i18nKey':_0xea4c73(0x181),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x413)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x1ab),'clickable':!0x1,'indicator':_0xea4c73(0x2f2)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x3b3)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':_0xea4c73(0x14a),'i18nKey':_0xea4c73(0x19f),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89['CollaborationStatus'][_0xea4c73(0x37f)]:case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x111)]:return{'icon':(0x0,_0x140dd6['jsx'])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)]['PENDING']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x1b2)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':'univer-text-green-500','i18nKey':_0xea4c73(0x2aa),'clickable':!0x1,'indicator':'static'};}}function _0x1f9c87(_0x3cc3c9){const _0x40965f=_0x1a58e5;let {status$:_0x3a47d7}=_0x3cc3c9,_0x49f279=(0x0,_0x161125[_0x40965f(0x22a)])(_0x3a47d7,_0x35fa89[_0x40965f(0x315)][_0x40965f(0x3b3)]),_0xca0dc2=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x2b0173['LocaleService']),_0x2af5e5=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x35fa89[_0x40965f(0x122)]),_0x4d95d0=(0x0,_0x34db69[_0x40965f(0x199)])(()=>_0x17446a(_0x49f279),[_0x49f279]),_0x365ab9=_0x49f279!==_0x35fa89[_0x40965f(0x315)][_0x40965f(0x29d)],_0x1510ce=_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x21c)]),_0xaa0bc5=_0x4d95d0[_0x40965f(0x1e5)]?_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x1e5)]):_0x1510ce,_0x436c9e=(0x0,_0x34db69[_0x40965f(0x3ad)])(()=>{const _0x2c43cd=_0x40965f;_0x365ab9||_0x2af5e5[_0x2c43cd(0x370)]();},[_0x365ab9,_0x2af5e5]),_0x84fc48=(0x0,_0x34db69[_0x40965f(0x3ad)])(_0x24c1f2=>{const _0x45de9c=_0x40965f;!_0x365ab9&&(_0x24c1f2[_0x45de9c(0x2cd)]===_0x45de9c(0x284)||_0x24c1f2['key']==='\x20')&&(_0x24c1f2['preventDefault'](),_0x2af5e5[_0x45de9c(0x370)]());},[_0x365ab9,_0x2af5e5]),_0x1fc46a=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x1bd),_0x40965f(0x22f),_0x4d95d0[_0x40965f(0x2ef)],{'univer-animate-spin':_0x4d95d0[_0x40965f(0x38e)]==='spin','univer-animate-pulse':_0x4d95d0['indicator']===_0x40965f(0x283)}),'aria-hidden':'true','children':_0x4d95d0[_0x40965f(0x115)]}),_0x51368b=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x327),'univer-transition-all\x20univer-duration-200',_0x40965f(0x36f),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d95d0[_0x40965f(0x241)],'univer-cursor-default':!_0x4d95d0[_0x40965f(0x241)]}),'children':_0x1fc46a});return _0x4d95d0[_0x40965f(0x241)]?(0x0,_0x140dd6['jsx'])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x11c),{'type':_0x40965f(0x11c),'onClick':_0x436c9e,'onKeyDown':_0x84fc48,'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x118),'univer-border-none\x20univer-bg-transparent',_0x40965f(0x2f1),_0x40965f(0x22c)),'aria-label':_0x1510ce+_0x40965f(0x2df)+_0xaa0bc5,'role':'status','aria-live':'polite','aria-atomic':_0x40965f(0x233),'children':_0x51368b})}):(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6['jsx'])('div',{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x281),_0x40965f(0x2f1)),'aria-label':_0x1510ce,'role':_0x40965f(0x314),'aria-live':_0x40965f(0x243),'aria-atomic':_0x40965f(0x233),'children':_0x51368b})});}function _0x41ef2b(_0x4bd265){'@babel/helpers - typeof';const _0x1d0fe8=_0x1a58e5;return _0x41ef2b=typeof Symbol==_0x1d0fe8(0x3a2)&&typeof Symbol['iterator']=='symbol'?function(_0xc4afa5){return typeof _0xc4afa5;}:function(_0x3d74cc){const _0x47bff6=_0x1d0fe8;return _0x3d74cc&&typeof Symbol==_0x47bff6(0x3a2)&&_0x3d74cc[_0x47bff6(0x1df)]===Symbol&&_0x3d74cc!==Symbol['prototype']?_0x47bff6(0x3a6):typeof _0x3d74cc;},_0x41ef2b(_0x4bd265);}function _0x345895(_0x4d88ad,_0x149574){const _0x2c72da=_0x1a58e5;if(_0x41ef2b(_0x4d88ad)!='object'||!_0x4d88ad)return _0x4d88ad;var _0x2f191c=_0x4d88ad[Symbol[_0x2c72da(0x331)]];if(_0x2f191c!==void 0x0){var _0x14e4d7=_0x2f191c[_0x2c72da(0x213)](_0x4d88ad,_0x149574||_0x2c72da(0x2c3));if(_0x41ef2b(_0x14e4d7)!='object')return _0x14e4d7;throw TypeError(_0x2c72da(0x1c7));}return(_0x149574===_0x2c72da(0x31b)?String:Number)(_0x4d88ad);}function _0x2f4b2e(_0x17b27b){const _0x5c69b6=_0x1a58e5;var _0x1c5603=_0x345895(_0x17b27b,_0x5c69b6(0x31b));return _0x41ef2b(_0x1c5603)=='symbol'?_0x1c5603:_0x1c5603+'';}function _0x42526d(_0x516cce,_0x5b59c1,_0x44f824){return(_0x5b59c1=_0x2f4b2e(_0x5b59c1))in _0x516cce?Object['defineProperty'](_0x516cce,_0x5b59c1,{'value':_0x44f824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x516cce[_0x5b59c1]=_0x44f824,_0x516cce;}function _0x215337(_0x21b792,_0x330a26){return function(_0x5cfaf5,_0x3dade7){_0x330a26(_0x5cfaf5,_0x3dade7,_0x21b792);};}function _0x202e73(_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b){const _0x5c0af3=_0x1a58e5;var _0x5157bb=arguments['length'],_0x252d0f=_0x5157bb<0x3?_0x3d35aa:_0x253f8b===null?_0x253f8b=Object['getOwnPropertyDescriptor'](_0x3d35aa,_0xa68d67):_0x253f8b,_0x2c5b21;if(typeof Reflect==_0x5c0af3(0x361)&&typeof Reflect['decorate']==_0x5c0af3(0x3a2))_0x252d0f=Reflect[_0x5c0af3(0x28f)](_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b);else{for(var _0x43310=_0x8b3fb6[_0x5c0af3(0x371)]-0x1;_0x43310>=0x0;_0x43310--)(_0x2c5b21=_0x8b3fb6[_0x43310])&&(_0x252d0f=(_0x5157bb<0x3?_0x2c5b21(_0x252d0f):_0x5157bb>0x3?_0x2c5b21(_0x3d35aa,_0xa68d67,_0x252d0f):_0x2c5b21(_0x3d35aa,_0xa68d67))||_0x252d0f);}return _0x5157bb>0x3&&_0x252d0f&&Object[_0x5c0af3(0x2cf)](_0x3d35aa,_0xa68d67,_0x252d0f),_0x252d0f;}let _0x1f1a4f=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x38235d,_0x2b9be8,_0x1d5d6b,_0x148656){const _0x212a11=_0x1a58e5;super(),this['_univerInstanceService']=_0x38235d,this[_0x212a11(0x412)]=_0x2b9be8,this['_collaborationController']=_0x1d5d6b,this['_uiPartsService']=_0x148656,_0x42526d(this,_0x212a11(0x297),new _0xc05c0c[(_0x212a11(0x334))](_0x35fa89['CollaborationStatus'][_0x212a11(0x3b3)])),this[_0x212a11(0x404)](),this[_0x212a11(0x130)]();}[_0x1a58e5(0x130)](){const _0x4e9338=_0x1a58e5;this[_0x4e9338(0x119)]((0x0,_0xc05c0c['merge'])(this[_0x4e9338(0x3e5)][_0x4e9338(0x188)],this[_0x4e9338(0x3e5)][_0x4e9338(0x38b)](_0x2b0173['UniverInstanceType'][_0x4e9338(0x313)]),this[_0x4e9338(0x3e5)]['getCurrentTypeOfUnit$'](_0x2b0173['UniverInstanceType'][_0x4e9338(0x104)]))[_0x4e9338(0x154)]((0x0,_0x4be982[_0x4e9338(0x230)])(()=>_0x5bc8a8(this[_0x4e9338(0x3e5)])),(0x0,_0x4be982[_0x4e9338(0x342)])(),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x2c22d0=>_0x2c22d0?this[_0x4e9338(0x191)][_0x4e9338(0x19d)](_0x2c22d0):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x36f993=>_0x36f993?_0x36f993['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x4e9338(0x3b3)])))['subscribe'](_0x32f733=>{const _0x29d329=_0x4e9338;this[_0x29d329(0x297)][_0x29d329(0x3b0)](_0x32f733);}));}[_0x1a58e5(0x404)](){const _0x1ac7f9=_0x1a58e5;this[_0x1ac7f9(0x119)](this[_0x1ac7f9(0x220)][_0x1ac7f9(0x2dc)](_0x161125[_0x1ac7f9(0x377)][_0x1ac7f9(0x376)],()=>(0x0,_0x161125[_0x1ac7f9(0x3eb)])(_0x4d4f4a({'status$':this[_0x1ac7f9(0x297)][_0x1ac7f9(0x2c9)]()}),this[_0x1ac7f9(0x412)])));}};_0x1f1a4f=_0x202e73([_0x215337(0x0,_0x2b0173['IUniverInstanceService']),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x1f1a4f);let _0x380180=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x55b6e5,_0x21cae3,_0x3478d3,_0x2fb759){const _0x5bff9d=_0x1a58e5;super(),this['_univerInstanceService']=_0x55b6e5,this[_0x5bff9d(0x412)]=_0x21cae3,this[_0x5bff9d(0x191)]=_0x3478d3,this[_0x5bff9d(0x220)]=_0x2fb759,_0x42526d(this,_0x5bff9d(0x297),new _0xc05c0c[(_0x5bff9d(0x334))](_0x35fa89[_0x5bff9d(0x315)]['NOT_COLLAB'])),this[_0x5bff9d(0x404)](),this[_0x5bff9d(0x130)]();}[_0x1a58e5(0x130)](){const _0x371785=_0x1a58e5;this[_0x371785(0x119)]((0x0,_0xc05c0c['merge'])((0x0,_0xc05c0c['of'])(null),this[_0x371785(0x3e5)][_0x371785(0x38b)](_0x2b0173[_0x371785(0x102)][_0x371785(0x217)]))[_0x371785(0x154)]((0x0,_0x4be982['map'])(()=>_0x1e65fc(this[_0x371785(0x3e5)])),(0x0,_0x4be982[_0x371785(0x342)])(),(0x0,_0xc05c0c['switchMap'])(_0x5d6d1f=>_0x5d6d1f?this['_collaborationController'][_0x371785(0x19d)](_0x5d6d1f):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x371785(0x310)])(_0x102012=>_0x102012?_0x102012['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x371785(0x3b3)])))[_0x371785(0x224)](_0x1afd1a=>{const _0x16c137=_0x371785;this[_0x16c137(0x297)][_0x16c137(0x3b0)](_0x1afd1a);}));}['_initStatusComponent'](){const _0x5b74cb=_0x1a58e5;this[_0x5b74cb(0x119)](this[_0x5b74cb(0x220)][_0x5b74cb(0x2dc)](_0x512abf[_0x5b74cb(0x3bf)],()=>(0x0,_0x161125[_0x5b74cb(0x3eb)])(_0x4d4f4a({'status$':this['_status$'][_0x5b74cb(0x2c9)]()}),this[_0x5b74cb(0x412)])));}};_0x380180=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x380180);function _0x5bc8a8(_0x1086d4){const _0x38ddcf=_0x1a58e5;let _0xba779c=_0x1086d4[_0x38ddcf(0x215)](),_0x1283e4=_0xba779c==null?void 0x0:_0xba779c[_0x38ddcf(0x36d)]();if(_0x1283e4&&!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1283e4))return _0x1283e4;let _0x1a79e0=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173['UniverInstanceType'][_0x38ddcf(0x313)]),_0x2b3d1=_0x1a79e0==null?void 0x0:_0x1a79e0[_0x38ddcf(0x36d)]();if(_0x2b3d1&&!(0x0,_0x2b0173['isInternalEditorID'])(_0x2b3d1))return _0x2b3d1;let _0x59c4d5=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x104)]);if(_0x59c4d5)return _0x59c4d5[_0x38ddcf(0x36d)]();let _0x5eab54=_0x1086d4['getAllUnitsForType'](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x313)])[_0x38ddcf(0x3e3)](_0x1d270b=>!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1d270b[_0x38ddcf(0x36d)]()));return _0x5eab54?_0x5eab54[_0x38ddcf(0x36d)]():null;}function _0x1e65fc(_0x4c66a7){const _0x1ff003=_0x1a58e5;var _0x447bdc;let _0xacfe6f=_0x4c66a7['getCurrentUnitOfType'](_0x2b0173[_0x1ff003(0x102)][_0x1ff003(0x217)]);return(_0x447bdc=_0xacfe6f==null?void 0x0:_0xacfe6f[_0x1ff003(0x36d)]())==null?null:_0x447bdc;}function _0x4d4f4a(_0x3773e4){let {status$:_0x48d63f}=_0x3773e4;return function(){const _0x6a2480=_0x7aae;return(0x0,_0x140dd6[_0x6a2480(0x36e)])(_0x1f9c87,{'status$':_0x48d63f});};}var _0x546ec3='@univerjs-pro/collaboration-client-ui',_0x5d8e38='1.0.0-alpha.3';let _0x494f70={},_0x5b162a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x16867d,_0x5f4b8e){const _0xd75a0=_0x1a58e5;super(),this[_0xd75a0(0x275)]=_0x16867d,this[_0xd75a0(0x1e1)]=_0x5f4b8e,this['_init']();}[_0x1a58e5(0x1ec)](){const _0x529809=_0x1a58e5;let _0x4ff768=this;this['disposeWithMe'](this[_0x529809(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x340893=>{const _0x1cf406=_0x529809;let _0x2de66b=await _0x4ff768[_0x1cf406(0x1e1)][_0x1cf406(0x177)](_0x340893);return _0x2de66b?{'source':_0x2de66b[_0x1cf406(0x164)],'imageSourceType':_0x2de66b[_0x1cf406(0x282)]}:null;}}));}};_0x5b162a=_0x202e73([_0x215337(0x0,_0x56f9a3[_0x1a58e5(0x24e)]),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x1aa)])],_0x5b162a);function _0x366aaa(_0x10e5be,_0x27bc3e){const _0x3ba316=_0x1a58e5;_0x10e5be[_0x3ba316(0x304)](),_0x10e5be[_0x3ba316(0x1bc)]=_0x3ba316(0x357);let _0x1ab46c=_0x10e5be[_0x3ba316(0x218)](_0x27bc3e)['width'];return _0x10e5be['restore'](),Math[_0x3ba316(0x339)](_0x1ab46c+0x8,0xc8);}function _0x159f9c(_0x253969,_0x1fe74d){const _0x37d559=_0x1a58e5;var _0x329df3,_0x2a9121,_0x2daae1;let {radius:_0x506539,width:_0x22ef22,height:_0x519bbe}=_0x1fe74d;_0x506539=(_0x329df3=_0x506539)==null?0x0:_0x329df3,_0x22ef22=(_0x2a9121=_0x22ef22)==null?0x1e:_0x2a9121,_0x519bbe=(_0x2daae1=_0x519bbe)==null?0x1e:_0x2daae1;let _0x879df0=0x0,_0x3e9a95=0x0,_0x12d16f=0x0;_0x879df0=_0x3e9a95=_0x12d16f=Math['min'](_0x506539,_0x22ef22/0x2,_0x519bbe/0x2),_0x253969[_0x37d559(0x1a1)](),_0x253969['moveTo'](_0x879df0,0x0),_0x253969[_0x37d559(0x3e6)](_0x22ef22-_0x3e9a95,0x0),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x3e9a95,_0x3e9a95,_0x3e9a95,Math['PI']*0x3/0x2,0x0,!0x1),_0x253969[_0x37d559(0x3e6)](_0x22ef22,_0x519bbe-_0x12d16f),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x12d16f,_0x519bbe-_0x12d16f,_0x12d16f,0x0,Math['PI']/0x2,!0x1),_0x253969['lineTo'](0x0,_0x519bbe),_0x253969[_0x37d559(0x3e6)](0x0,_0x879df0),_0x253969[_0x37d559(0x210)](_0x879df0,_0x879df0,_0x879df0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x253969[_0x37d559(0x35b)](),_0x1fe74d[_0x37d559(0x2ec)]&&(_0x253969[_0x37d559(0x304)](),_0x253969[_0x37d559(0x21d)]=_0x1fe74d[_0x37d559(0x2ec)],_0x1fe74d['fillRule']===_0x37d559(0x2fa)?_0x253969['fill'](_0x37d559(0x2fa)):_0x253969[_0x37d559(0x2ec)](),_0x253969[_0x37d559(0x31f)]());}var _0x548107=class _0x1a657a extends _0x15ed3a['Shape']{constructor(_0x4a66df,_0x41cfa5){const _0xe40a59=_0x1a58e5;super(_0x4a66df,_0x41cfa5),_0x42526d(this,_0xe40a59(0x1e2),void 0x0),_0x42526d(this,'text',void 0x0),this[_0xe40a59(0x1e2)]=_0x41cfa5==null?void 0x0:_0x41cfa5[_0xe40a59(0x1e2)],this[_0xe40a59(0x174)]=_0x41cfa5==null?void 0x0:_0x41cfa5['text'];}static[_0x1a58e5(0x160)](_0x12306a,_0x33f14a){const _0x355652=_0x1a58e5;let {text:_0x2c0942,color:_0x2b5ced}=_0x33f14a;_0x12306a[_0x355652(0x304)](),_0x12306a[_0x355652(0x1bc)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x463d23=_0x12306a['measureText'](_0x2c0942)[_0x355652(0x381)];if(_0x159f9c(_0x12306a,{'height':0x14,'radius':0x4,'width':_0x366aaa(_0x12306a,_0x2c0942),'fill':_0x2b5ced,'evented':!0x1}),_0x12306a[_0x355652(0x21d)]=_0x355652(0x2e7),_0x463d23>0xc0){let _0x5782fe='',_0x1709cd=0x0;for(let _0x322978 of _0x2c0942){let _0x2583df=_0x12306a[_0x355652(0x218)](_0x322978)[_0x355652(0x381)];if(_0x1709cd+_0x2583df<=0xc0-_0x12306a[_0x355652(0x218)](_0x355652(0x3a4))[_0x355652(0x381)])_0x5782fe+=_0x322978,_0x1709cd+=_0x2583df;else{_0x5782fe+=_0x355652(0x3a4);break;}}_0x12306a[_0x355652(0x228)](_0x5782fe,0x4,0xf);}else _0x12306a['fillText'](_0x2c0942,0x4,0xf);_0x12306a[_0x355652(0x31f)]();}[_0x1a58e5(0x363)](_0x4cd40c){_0x1a657a['drawWith'](_0x4cd40c,this);}};let _0x19234f=0x138a;var _0x28af6f=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x2c4ce9,_0x10d235){const _0x10a591=_0x1a58e5;super(_0x2c4ce9,{..._0x10d235,'evented':!0x1}),_0x42526d(this,'_color','#4f46e5'),_0x42526d(this,'_name',''),_0x42526d(this,_0x10a591(0x3f3),!0x0),_0x10d235&&this[_0x10a591(0x317)](_0x10d235);}['setShapeProps'](_0xd8c7d5){const _0x292fe4=_0x1a58e5;var _0x44c5fa,_0x36ea5d,_0x3811ee,_0x2c8f60,_0xd985cd,_0x49ca49,_0x5450b6,_0x151b7c;this[_0x292fe4(0x1c8)]=(_0x44c5fa=_0xd8c7d5[_0x292fe4(0x1e2)])==null?this['_color']:_0x44c5fa,this[_0x292fe4(0x1f4)]=(_0x36ea5d=_0xd8c7d5['name'])==null?this[_0x292fe4(0x1f4)]:_0x36ea5d,this[_0x292fe4(0x3f3)]=(_0x3811ee=_0xd8c7d5[_0x292fe4(0x23c)])==null?this[_0x292fe4(0x3f3)]:_0x3811ee,this[_0x292fe4(0x20a)]=!0x1,this[_0x292fe4(0x30d)]({'left':(_0x2c8f60=_0xd8c7d5[_0x292fe4(0x1e7)])==null?this['left']:_0x2c8f60,'top':(_0xd985cd=_0xd8c7d5[_0x292fe4(0x132)])==null?this['top']:_0xd985cd,'width':(_0x49ca49=_0xd8c7d5[_0x292fe4(0x381)])==null?this[_0x292fe4(0x381)]:_0x49ca49,'height':(_0x5450b6=_0xd8c7d5[_0x292fe4(0x2f9)])==null?this[_0x292fe4(0x2f9)]:_0x5450b6,'angle':(_0x151b7c=_0xd8c7d5[_0x292fe4(0x33b)])==null?this[_0x292fe4(0x33b)]:_0x151b7c});}['_draw'](_0x4ce686){const _0x50e9ae=_0x1a58e5;_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686[_0x50e9ae(0x3e2)]=this[_0x50e9ae(0x1c8)],_0x4ce686[_0x50e9ae(0x3e1)]=this[_0x50e9ae(0x3fa)]||1.5,_0x4ce686[_0x50e9ae(0x388)]([0x6,0x4]),_0x4ce686[_0x50e9ae(0x290)](0x0,0x0,this[_0x50e9ae(0x381)],this[_0x50e9ae(0x2f9)]),_0x4ce686[_0x50e9ae(0x31f)](),this[_0x50e9ae(0x3f3)]&&(_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686['transform'](0x1,0x0,0x0,0x1,this[_0x50e9ae(0x381)],-0x14),_0x548107['drawWith'](_0x4ce686,{'text':this[_0x50e9ae(0x1f4)],'color':this[_0x50e9ae(0x1c8)]}),_0x4ce686[_0x50e9ae(0x31f)]());}};let _0x59df71=[_0x1a58e5(0x1ca),'jiqing.500',_0x1a58e5(0x1c4),_0x1a58e5(0x348),'blue.400',_0x1a58e5(0x1d4)];var _0x2fe220=class extends _0x2b0173['Disposable']{constructor(..._0x4e6b86){const _0x31acbc=_0x1a58e5;super(..._0x4e6b86),_0x42526d(this,_0x31acbc(0x303),new Map()),_0x42526d(this,_0x31acbc(0x307),0x0);}['assignAColorForMemberID'](_0x2fd879){const _0x2b48a4=_0x1a58e5;if(this[_0x2b48a4(0x303)][_0x2b48a4(0x2c2)](_0x2fd879))return this[_0x2b48a4(0x303)][_0x2b48a4(0x1db)](_0x2fd879);let _0x162afa=_0x59df71[this[_0x2b48a4(0x307)]];return this[_0x2b48a4(0x307)]=(this[_0x2b48a4(0x307)]+0x1)%_0x59df71[_0x2b48a4(0x371)],this[_0x2b48a4(0x303)]['set'](_0x2fd879,_0x162afa),_0x162afa;}};function _0x13324f(_0x47474c){const _0x4ff495=_0x1a58e5;let _0x48bf3c;try{_0x48bf3c=JSON[_0x4ff495(0x26f)](_0x47474c);}catch{return null;}if(typeof _0x48bf3c!=_0x4ff495(0x361)||!_0x48bf3c)return null;let _0x3da962=_0x48bf3c;if(_0x3da962[_0x4ff495(0x2d7)]!==_0x4ff495(0x385)||typeof _0x3da962[_0x4ff495(0x268)]!=_0x4ff495(0x31b)||typeof _0x3da962[_0x4ff495(0x149)]!=_0x4ff495(0x31b))return null;let _0x1a8ae1=Array[_0x4ff495(0x3bc)](_0x3da962['selectedIds'])?_0x3da962['selectedIds'][_0x4ff495(0x409)](_0x5f4d90=>typeof _0x5f4d90==_0x4ff495(0x31b)):[],_0xf5bf2=typeof _0x3da962[_0x4ff495(0x36c)]==_0x4ff495(0x31b)?_0x3da962[_0x4ff495(0x36c)]:null;return{'kind':_0x4ff495(0x385),'unitId':_0x3da962['unitId'],'subUnitId':_0x3da962[_0x4ff495(0x149)],'selectedIds':_0x1a8ae1,'focusedId':_0xf5bf2};}let _0x12a7db=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x1f09e0=_0x1a58e5;return this[_0x1f09e0(0x33e)][_0x1f09e0(0x35c)]();}get['roomMembers'](){const _0xa969be=_0x1a58e5;return this[_0xa969be(0x3f5)]['getValue']();}constructor(_0x25ff3c,_0x328ed7,_0x1147dc,_0x1d6f4e,_0xdd168c){const _0xb1193=_0x1a58e5;super(),this[_0xb1193(0x3a0)]=_0x25ff3c,this[_0xb1193(0x26b)]=_0x328ed7,this[_0xb1193(0x1cd)]=_0x1147dc,this[_0xb1193(0x24b)]=_0x1d6f4e,this['_boardElementStateService']=_0xdd168c,_0x42526d(this,_0xb1193(0x169),!0x1),_0x42526d(this,_0xb1193(0x1ec),!0x1),_0x42526d(this,_0xb1193(0x33e),new _0xc05c0c['BehaviorSubject'](new Map())),_0x42526d(this,_0xb1193(0x3c9),this[_0xb1193(0x33e)][_0xb1193(0x2c9)]()),_0x42526d(this,_0xb1193(0x3f5),new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,_0xb1193(0x367),this['_roomMembers$'][_0xb1193(0x154)]((0x0,_0xc05c0c[_0xb1193(0x24d)])(0x12c))),_0x42526d(this,_0xb1193(0x294),(0x0,_0x2b0173[_0xb1193(0x186)])(_0x2b3fdf=>{const _0x2e247b=_0xb1193;let _0x27078f=_0x2b3fdf[_0x2e247b(0x250)];if(!_0x27078f||_0x27078f[_0x2e247b(0x268)]!==this[_0x2e247b(0x3a0)])return;let _0x288ff5={'kind':_0x2e247b(0x385),'unitId':_0x27078f[_0x2e247b(0x268)],'subUnitId':_0x27078f[_0x2e247b(0x149)],'selectedIds':_0x2b3fdf[_0x2e247b(0x3c8)][_0x2e247b(0x409)](_0x323e5a=>typeof _0x323e5a==_0x2e247b(0x31b)),'focusedId':_0x2b3fdf[_0x2e247b(0x36c)]},_0x1302d4={'eventID':_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2e247b(0x26b)][_0x2e247b(0x192)](),'selection':JSON[_0x2e247b(0x249)](_0x288ff5)}};this['_session'][_0x2e247b(0x190)](_0x1302d4,this[_0x2e247b(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x2e4740=_0x1a58e5;super[_0x2e4740(0x34f)](),this['_cursorInfo$']['next'](new Map()),this[_0x2e4740(0x33e)]['complete'](),this[_0x2e4740(0x3f5)][_0x2e4740(0x3b0)]([]),this[_0x2e4740(0x3f5)][_0x2e4740(0x1c0)]();}['init'](){const _0x57a7f5=_0x1a58e5;this['_init']||(this[_0x57a7f5(0x1ec)]=!0x0,this[_0x57a7f5(0x26b)]['sessionStatus$'][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x5efb4e=>{const _0x411150=_0x57a7f5;_0x5efb4e===_0x35fa89['SessionStatus']['ONLINE']?this[_0x411150(0x2db)]():this['_toggleOffline']();}),this[_0x57a7f5(0x26b)][_0x57a7f5(0x3f2)]['pipe']((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x466e24=>{const _0x3603c5=_0x57a7f5;let _0x403de1=_0x466e24[_0x3603c5(0x231)];_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x2b4)]&&this['_onCursorUpdate'](_0x466e24),_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x386)]&&this[_0x3603c5(0x1a0)](_0x466e24);}),this[_0x57a7f5(0x311)][_0x57a7f5(0x2f4)][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))['subscribe'](_0x277d90=>{const _0x80e686=_0x57a7f5;this[_0x80e686(0x169)]&&this[_0x80e686(0x294)](_0x277d90);}));}[_0x1a58e5(0x2ae)](_0xcada28){const _0x418ed3=_0x1a58e5;var _0xbe4d72,_0xba964d,_0x53d8cb,_0x2dc0c0;let {memberID:_0x3f0047,selection:_0x564e26}=_0xcada28['data'];if(_0x3f0047===((_0xbe4d72=(_0xba964d=this[_0x418ed3(0x26b)])['getMemberID'])==null?void 0x0:_0xbe4d72[_0x418ed3(0x213)](_0xba964d)))return;let _0x137100=_0x13324f(_0x564e26);if(!_0x137100||_0x137100['unitId']!==this['unitID'])return;let _0x26e212=(_0x53d8cb=(_0x2dc0c0=this[_0x418ed3(0x24b)][_0x418ed3(0x3a8)](this[_0x418ed3(0x3a0)],_0x3f0047))==null?void 0x0:_0x2dc0c0['name'])==null?_0x418ed3(0x3d7):_0x53d8cb,_0x26af07={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3f0047),'name':_0x26e212,'unitId':_0x137100[_0x418ed3(0x268)],'subUnitId':_0x137100[_0x418ed3(0x149)],'selectedIds':_0x137100[_0x418ed3(0x3c8)],'focusedId':_0x137100[_0x418ed3(0x36c)],'selection':_0x564e26},_0x1074d6=new Map(this['cursorInfo']);_0x1074d6['set'](_0x3f0047,_0x26af07),this[_0x418ed3(0x33e)]['next'](_0x1074d6);}[_0x1a58e5(0x1a0)](_0x282666){const _0x599a73=_0x1a58e5;let {memberID:_0x1cd181}=_0x282666['data'],_0x4f8aad=new Map(this[_0x599a73(0x2af)]);_0x4f8aad[_0x599a73(0x182)](_0x1cd181),this[_0x599a73(0x33e)][_0x599a73(0x3b0)](_0x4f8aad);}['_toggleOnline'](){const _0x5be26c=_0x1a58e5;this[_0x5be26c(0x169)]=!0x0,this[_0x5be26c(0x294)](this[_0x5be26c(0x311)]['getSnapshot']());}[_0x1a58e5(0x206)](){this['_online']=!0x1;}};_0x12a7db=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x512abf[_0x1a58e5(0x295)]))],_0x12a7db);function _0x14245(_0x3da0ef){let _0x743c41='';for(let _0x5483aa of _0x3da0ef){let {startOffset:_0x3e7b71,endOffset:_0xe9ec2e,isActive:_0x273553,rangeType:_0x53b528,segmentId:_0x5629a0,segmentPage:_0x43a7ea}=_0x5483aa;_0x743c41['length']&&(_0x743c41+=','),_0x743c41+=_0x3e7b71+':'+_0xe9ec2e+':'+(_0x273553?'1':'0')+':'+_0x53b528+':'+_0x5629a0+':'+_0x43a7ea;}return _0x743c41;}function _0x3078aa(_0x401b3c){const _0x52dfeb=_0x1a58e5;let _0x4d8d9d=_0x401b3c[_0x52dfeb(0x3ec)](','),_0x5ddfa2=[];for(let _0x576868 of _0x4d8d9d){let [_0x17ba14,_0x1e4df1,_0x472485,_0x4c7a71,_0x424edd,_0x343ae7]=_0x576868[_0x52dfeb(0x3ec)](':');_0x5ddfa2[_0x52dfeb(0x285)]({'startOffset':Number(_0x17ba14),'endOffset':Number(_0x1e4df1),'collapsed':_0x17ba14===_0x1e4df1,'isActive':_0x472485==='1','rangeType':_0x4c7a71===_0x2b0173[_0x52dfeb(0x13e)][_0x52dfeb(0x245)]?_0x2b0173['DOC_RANGE_TYPE']['TEXT']:_0x2b0173['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x424edd==_0x52dfeb(0x31b)?String(_0x424edd):'','segmentPage':Number(_0x343ae7==null?-0x1:_0x343ae7)});}return _0x5ddfa2[_0x52dfeb(0x335)](_0x44591c=>_0x44591c[_0x52dfeb(0x349)])||(_0x5ddfa2[0x0][_0x52dfeb(0x349)]=!0x0),_0x5ddfa2;}var _0x50b94c=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(..._0x1e840f){const _0x117e48=_0x1a58e5;super(..._0x1e840f),_0x42526d(this,_0x117e48(0x29a),new _0xc05c0c['BehaviorSubject'](null)),_0x42526d(this,_0x117e48(0x1ee),this['_collabCursorState$'][_0x117e48(0x2c9)]());}[_0x1a58e5(0x14e)](_0x10b938){const _0xf5c949=_0x1a58e5;let {unitID:_0x2cc091,memberID:_0x329493,textRanges:_0x494f92}=_0x10b938,_0x2892e5=_0x14245(_0x494f92);if(_0x2892e5==='')return;let _0x52f88b={'unitID':_0x2cc091,'memberID':_0x329493,'selection':_0x2892e5};this[_0xf5c949(0x29a)][_0xf5c949(0x3b0)](_0x52f88b);}};let _0x254aea=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x31e79b=_0x1a58e5;return this['_cursorInfo$'][_0x31e79b(0x35c)]();}get[_0x1a58e5(0x2c8)](){const _0x38b445=_0x1a58e5;return this[_0x38b445(0x3f5)][_0x38b445(0x35c)]();}constructor(_0x1cae14,_0xb46557,_0x3f03e4,_0x31eb53,_0x24b1fd,_0x347b7b,_0x219cbe,_0x5b0088,_0x4a03ae){const _0x2b39d1=_0x1a58e5;super(),this[_0x2b39d1(0x3a0)]=_0x1cae14,this[_0x2b39d1(0x26b)]=_0xb46557,this[_0x2b39d1(0x412)]=_0x3f03e4,this[_0x2b39d1(0x1cd)]=_0x31eb53,this[_0x2b39d1(0x24b)]=_0x24b1fd,this[_0x2b39d1(0x21a)]=_0x347b7b,this[_0x2b39d1(0x3aa)]=_0x219cbe,this[_0x2b39d1(0x3e5)]=_0x5b0088,this[_0x2b39d1(0x2d5)]=_0x4a03ae,_0x42526d(this,_0x2b39d1(0x169),!0x1),_0x42526d(this,_0x2b39d1(0x1ec),!0x1),_0x42526d(this,'_cursorInfo$',new _0xc05c0c[(_0x2b39d1(0x334))](new Map())),_0x42526d(this,'cursorInfo$',this[_0x2b39d1(0x33e)][_0x2b39d1(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c[(_0x2b39d1(0x334))]([])),_0x42526d(this,_0x2b39d1(0x367),this['_roomMembers$'][_0x2b39d1(0x154)]((0x0,_0xc05c0c[_0x2b39d1(0x24d)])(0x12c))),_0x42526d(this,_0x2b39d1(0x294),(0x0,_0x2b0173['debounce'])(_0x1b4e60=>{const _0x11fc11=_0x2b39d1;let _0x897e48={'eventID':_0xd76d4d[_0x11fc11(0x3df)][_0x11fc11(0x2b4)],'data':{'unitID':this[_0x11fc11(0x3a0)],'memberID':this[_0x11fc11(0x26b)][_0x11fc11(0x192)](),'selection':_0x14245(_0x1b4e60)}};this[_0x11fc11(0x26b)]['send'](_0x897e48,this[_0x11fc11(0x3a0)]);},0x64));}['dispose'](){const _0x57789a=_0x1a58e5;super[_0x57789a(0x34f)](),this[_0x57789a(0x33e)][_0x57789a(0x3b0)](new Map()),this['_cursorInfo$'][_0x57789a(0x1c0)](),this['_roomMembers$']['next']([]),this[_0x57789a(0x3f5)][_0x57789a(0x1c0)]();}['init'](){const _0x348949=_0x1a58e5;this[_0x348949(0x1ec)]||(this[_0x348949(0x1ec)]=!0x0,this[_0x348949(0x26b)]['sessionStatus$']['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x16b3c2=>{const _0x5328a9=_0x348949;_0x16b3c2===_0x35fa89['SessionStatus'][_0x5328a9(0x3d3)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x348949(0x26b)]['event$'][_0x348949(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x280c3e=>{const _0x3d0200=_0x348949;let _0x1676ac=_0x280c3e[_0x3d0200(0x231)];_0x1676ac===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3d0200(0x2ae)](_0x280c3e),_0x1676ac===_0xd76d4d[_0x3d0200(0x3df)][_0x3d0200(0x386)]&&this[_0x3d0200(0x1a0)](_0x280c3e);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)]['onCommandExecuted'](_0x3f8e69=>{const _0x2d3483=_0x348949;let _0x368af1=_0x3f8e69[_0x2d3483(0x3fb)];_0x368af1!=null&&this[_0x2d3483(0x169)]&&_0x3f8e69['id']===_0x3ad445[_0x2d3483(0x2e4)]['id']&&_0x368af1[_0x2d3483(0x268)]===this[_0x2d3483(0x3a0)]&&_0x368af1['isEditing']===!0x1&&_0x368af1[_0x2d3483(0x237)][_0x2d3483(0x371)]>0x0&&this[_0x2d3483(0x294)](_0x368af1[_0x2d3483(0x237)]);})),this['_syncEditingCollabCursorService'][_0x348949(0x1ee)]['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this['dispose$']))[_0x348949(0x224)](_0x32bc00=>{const _0x4c6845=_0x348949;if((_0x32bc00==null?void 0x0:_0x32bc00[_0x4c6845(0x3a0)])!==this[_0x4c6845(0x3a0)])return;let _0x1619b9={'eventID':_0xd76d4d['CollaborationEvent'][_0x4c6845(0x2b4)],'data':_0x32bc00};this[_0x4c6845(0x2ae)](_0x1619b9);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)][_0x348949(0x157)](_0x3da3c9=>{const _0x3e28ff=_0x348949;if(_0x3da3c9['params']==null)return;let _0x4316a7=_0x3da3c9[_0x3e28ff(0x3fb)];if(_0x3da3c9['id']!==_0x3ad445[_0x3e28ff(0x18d)]['id']||_0x4316a7[_0x3e28ff(0x268)]!==this['unitID'])return;let _0x5a5990={'id':_0x3e28ff(0x37b),'params':_0x4316a7},_0x51e411=this['cursorInfo'];for(let [_0x2964c6,_0x2adf1a]of _0x51e411){let _0x4e7699={'id':_0x3e28ff(0x37b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2adf1a['ranges']}},_0x5bd1b6=this[_0x3e28ff(0x3aa)][_0x3e28ff(0x22d)](_0x5a5990,_0x4e7699,!0x1);if((0x0,_0xd76d4d[_0x3e28ff(0x3a1)])(_0x5bd1b6))throw _0x5bd1b6['error'];_0x51e411[_0x3e28ff(0x148)](_0x2964c6,{..._0x2adf1a,'ranges':_0x5bd1b6[_0x3e28ff(0x1a5)][_0x3e28ff(0x3fb)][_0x3e28ff(0x1ac)]});}queueMicrotask(()=>{const _0x589d6f=_0x3e28ff;this[_0x589d6f(0x33e)][_0x589d6f(0x3b0)](_0x51e411);});})));}['_onCursorUpdate'](_0x55b48b){const _0x292b42=_0x1a58e5;var _0x2286ff,_0x21c898;let {memberID:_0x40dafb,selection:_0x3bf23f}=_0x55b48b['data'],_0x1c7339=_0x3078aa(_0x3bf23f),_0x30c9c7=(_0x2286ff=(_0x21c898=this[_0x292b42(0x24b)]['getMember'](this[_0x292b42(0x3a0)],_0x40dafb))==null?void 0x0:_0x21c898[_0x292b42(0x3d5)])==null?_0x292b42(0x3d7):_0x2286ff,_0x4bcb5f={'color':this[_0x292b42(0x1cd)][_0x292b42(0x263)](_0x40dafb),'name':_0x30c9c7,'ranges':_0x1c7339},_0x44ccd1=this[_0x292b42(0x2af)];_0x44ccd1[_0x292b42(0x148)](_0x40dafb,_0x4bcb5f),this['_cursorInfo$'][_0x292b42(0x3b0)](_0x44ccd1);}['_onCursorDelete'](_0x12d6f2){const _0x5e59e9=_0x1a58e5;let {memberID:_0x157f52}=_0x12d6f2[_0x5e59e9(0x3d8)],_0x19fb9e=this['cursorInfo'];_0x19fb9e[_0x5e59e9(0x182)](_0x157f52),this['_cursorInfo$'][_0x5e59e9(0x3b0)](_0x19fb9e);}['_toggleOnline'](){const _0x59ac5f=_0x1a58e5;var _0x3c1f53;if(this[_0x59ac5f(0x169)]=!0x0,((_0x3c1f53=this[_0x59ac5f(0x3e5)][_0x59ac5f(0x215)]())==null?void 0x0:_0x3c1f53[_0x59ac5f(0x36d)]())!==this[_0x59ac5f(0x3a0)])return;let _0x1066a1=this['_injector'][_0x59ac5f(0x1db)](_0x3ad445['DocSelectionManagerService'])['getDocRanges']();Array[_0x59ac5f(0x3bc)](_0x1066a1)&&_0x1066a1[_0x59ac5f(0x371)]>0x0&&this[_0x59ac5f(0x294)](_0x1066a1);}[_0x1a58e5(0x206)](){const _0x2e13d7=_0x1a58e5;this[_0x2e13d7(0x169)]=!0x1;}};_0x254aea=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x50b94c)),_0x215337(0x6,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x7,_0x2b0173['IUniverInstanceService']),_0x215337(0x8,_0x2b0173['ICommandService'])],_0x254aea);let _0x3e2259=()=>{let _0x4d9aaf=[],_0x5d34e8=!0x1;return _0x191424=>{_0x4d9aaf['push'](_0x191424),_0x5d34e8||(_0x5d34e8=!0x0,setTimeout(()=>{const _0x47d948=_0x7aae;_0x4d9aaf[_0x47d948(0xff)](_0x3acd35=>_0x3acd35()),_0x4d9aaf=[],_0x5d34e8=!0x1;}));};},_0x43b780=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1a58e5(0x2c8)](){const _0xeb2a21=_0x1a58e5;return this[_0xeb2a21(0x3f5)][_0xeb2a21(0x35c)]();}constructor(_0x3db930,_0x30a134,_0x295919,_0x3e2a39,_0x3ab3f5,_0x28ea00,_0x204f29,_0x22b04d){const _0x5255e4=_0x1a58e5;super(),this[_0x5255e4(0x3a0)]=_0x3db930,this[_0x5255e4(0x26b)]=_0x30a134,this[_0x5255e4(0x412)]=_0x295919,this[_0x5255e4(0x1cd)]=_0x3e2a39,this['_memberService']=_0x3ab3f5,this[_0x5255e4(0x3e5)]=_0x28ea00,this[_0x5255e4(0x2d5)]=_0x204f29,this['_refRangeService']=_0x22b04d,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x5255e4(0x33e),new _0xc05c0c[(_0x5255e4(0x334))](new Map())),_0x42526d(this,_0x5255e4(0x3c9),this[_0x5255e4(0x33e)][_0x5255e4(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,'roomMembers$',this['_roomMembers$'][_0x5255e4(0x154)]((0x0,_0xc05c0c[_0x5255e4(0x24d)])(0x12c))),_0x42526d(this,_0x5255e4(0x294),(0x0,_0x2b0173[_0x5255e4(0x186)])((_0x21e243,_0x2f42bf)=>{const _0x262c1a=_0x5255e4;let _0x12ce93={'eventID':_0xd76d4d[_0x262c1a(0x3df)][_0x262c1a(0x2b4)],'data':{'unitID':this[_0x262c1a(0x3a0)],'memberID':this[_0x262c1a(0x26b)]['getMemberID'](),'selection':(0x0,_0x170b1c[_0x262c1a(0x340)])(_0x21e243,_0x2f42bf[_0x262c1a(0x2fc)])}};this[_0x262c1a(0x26b)][_0x262c1a(0x190)](_0x12ce93,this[_0x262c1a(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x3ce9b3=_0x1a58e5;super['dispose'](),this[_0x3ce9b3(0x33e)]['next'](new Map()),this['_cursorInfo$'][_0x3ce9b3(0x1c0)](),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x3b0)]([]),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x2ff710=_0x1a58e5;this[_0x2ff710(0x1ec)]||(this['_init']=!0x0,this[_0x2ff710(0x26b)][_0x2ff710(0x168)][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))['subscribe'](_0x584167=>{const _0x265a7f=_0x2ff710;_0x584167===_0x35fa89['SessionStatus'][_0x265a7f(0x3d3)]?this[_0x265a7f(0x2db)]():this[_0x265a7f(0x206)]();}),this[_0x2ff710(0x26b)]['event$'][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))[_0x2ff710(0x224)](_0x3a72fb=>{const _0x58f5e3=_0x2ff710;let _0xd3bc41=_0x3a72fb['eventID'];_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x2b4)]&&this[_0x58f5e3(0x2ae)](_0x3a72fb),_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x386)]&&this[_0x58f5e3(0x1a0)](_0x3a72fb);}),this['_onRefRangeChange'](),this[_0x2ff710(0x119)](this[_0x2ff710(0x2d5)][_0x2ff710(0x157)](_0xb06f29=>{const _0x589891=_0x2ff710;if(this[_0x589891(0x169)]&&_0xb06f29['id']===_0x384008[_0x589891(0x24a)]['id']&&_0xb06f29['params'][_0x589891(0x268)]===this[_0x589891(0x3a0)]){let _0x436b93=_0xb06f29[_0x589891(0x3fb)];this[_0x589891(0x294)](_0x436b93[_0x589891(0x149)],_0x436b93['selections'][0x0]);}})));}[_0x1a58e5(0x2ae)](_0x2801b9){const _0x1513b=_0x1a58e5;var _0x3f859f,_0x290748;let {memberID:_0x5978e5,selection:_0x56012f}=_0x2801b9[_0x1513b(0x3d8)],{sheetName:_0x8c5d01,range:_0x4451d0}=(0x0,_0x170b1c[_0x1513b(0x173)])(_0x56012f),_0xd99540={'name':(_0x3f859f=(_0x290748=this['_memberService']['getMember'](this[_0x1513b(0x3a0)],_0x5978e5))==null?void 0x0:_0x290748[_0x1513b(0x3d5)])==null?'Unknown\x20user':_0x3f859f,'range':this[_0x1513b(0x3a3)](_0x8c5d01,_0x4451d0),'sheetID':_0x8c5d01,'color':this[_0x1513b(0x1cd)][_0x1513b(0x263)](_0x5978e5),'selection':_0x56012f},_0x1cf4fb=this[_0x1513b(0x2af)];_0x1cf4fb[_0x1513b(0x148)](_0x5978e5,_0xd99540),this[_0x1513b(0x33e)][_0x1513b(0x3b0)](_0x1cf4fb);}[_0x1a58e5(0x1a0)](_0x7818bc){const _0x21c7f8=_0x1a58e5;let {memberID:_0x320e65}=_0x7818bc[_0x21c7f8(0x3d8)],_0x48dabf=this[_0x21c7f8(0x2af)];_0x48dabf[_0x21c7f8(0x182)](_0x320e65),this[_0x21c7f8(0x33e)]['next'](_0x48dabf);}[_0x1a58e5(0x3a3)](_0x4876c3,_0x3b613f){const _0x38b190=_0x1a58e5;var _0x3f4397;let _0x225f9c=(_0x3f4397=this[_0x38b190(0x3e5)][_0x38b190(0x28a)](this[_0x38b190(0x3a0)]))==null||(_0x3f4397=_0x3f4397[_0x38b190(0x20c)](_0x4876c3))==null?void 0x0:_0x3f4397[_0x38b190(0x3c7)]();return(_0x225f9c==null?void 0x0:_0x225f9c[_0x38b190(0x3e3)](_0x3932fb=>_0x2b0173[_0x38b190(0x121)][_0x38b190(0x3fe)](_0x3932fb,_0x3b613f)))||_0x3b613f;}[_0x1a58e5(0x40b)](){const _0x131c4e=_0x1a58e5;let _0x1c4992=new _0x2b0173[(_0x131c4e(0x392))](),_0x1d8fa7=_0x3e2259(),_0x4a62d4=()=>{const _0x2a06a4=_0x131c4e;_0x1c4992[_0x2a06a4(0x34f)]();let _0x139844=(_0x97c0f2,_0x35a595,_0x1f4afc,_0x2343e3)=>{const _0x10ea41=_0x2a06a4;let _0x208a64=[];switch(_0x97c0f2['id']){case _0x384008['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x394)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x15e)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x396)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x167)]:_0x208a64=(0x0,_0x384008['handleInsertCol'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveDownCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveDown'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveRightCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveRight'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x19a)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x271)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x2f3)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x252)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveColCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x34d)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveRowCommandId']:_0x208a64=(0x0,_0x384008['handleIRemoveRow'])(_0x97c0f2,_0x2343e3);break;}let _0x4bef05=(0x0,_0x384008[_0x10ea41(0x1af)])(_0x208a64,_0x2343e3),_0x38a0cd=this[_0x10ea41(0x2af)][_0x10ea41(0x1db)](_0x35a595);if(_0x38a0cd&&_0x4bef05){let _0x582b16={..._0x38a0cd,'range':_0x4bef05};this['cursorInfo'][_0x10ea41(0x148)](_0x35a595,_0x582b16),_0x1d8fa7(()=>{const _0x293589=_0x10ea41;let _0x2a2f64=this[_0x293589(0x117)][_0x293589(0x3ca)](_0x4bef05,_0x28f3f4=>(_0x2a2f64[_0x293589(0x34f)](),_0x139844(_0x28f3f4,_0x35a595,_0x1f4afc,_0x4bef05)));_0x1c4992[_0x293589(0x10e)](_0x2a2f64);});}return{'redos':[],'undos':[]};};this[_0x2a06a4(0x2af)]['forEach']((_0x16405d,_0x35e2d6)=>{const _0x597574=_0x2a06a4;let {range:_0x5e8e7c,sheetID:_0x2e0f04}=_0x16405d,_0x441b27=this[_0x597574(0x117)][_0x597574(0x3ca)](_0x5e8e7c,_0x5294c3=>(_0x441b27[_0x597574(0x34f)](),_0x139844(_0x5294c3,_0x35e2d6,_0x2e0f04,_0x5e8e7c)));_0x1c4992['add'](_0x441b27);});};this['disposeWithMe']((0x0,_0x2b0173[_0x131c4e(0x399)])(this[_0x131c4e(0x33e)][_0x131c4e(0x224)](()=>{_0x4a62d4();})));}[_0x1a58e5(0x2db)](){const _0x1434ef=_0x1a58e5;var _0x20bde3,_0x1d34b7;if(this[_0x1434ef(0x169)]=!0x0,((_0x20bde3=this[_0x1434ef(0x3e5)][_0x1434ef(0x215)]())==null?void 0x0:_0x20bde3['getUnitId']())!==this['unitID'])return;let _0x4668d8=(_0x1d34b7=this[_0x1434ef(0x412)][_0x1434ef(0x1db)](_0x384008['SheetsSelectionsService'])[_0x1434ef(0x2a8)]())==null?void 0x0:_0x1d34b7[0x0],_0x2181e6=this[_0x1434ef(0x3e5)][_0x1434ef(0x163)](_0x2b0173[_0x1434ef(0x102)][_0x1434ef(0x104)])[_0x1434ef(0x20d)]();_0x4668d8&&_0x2181e6&&this[_0x1434ef(0x294)](_0x2181e6['getSheetId'](),_0x4668d8);}['_toggleOffline'](){const _0x483df9=_0x1a58e5;this[_0x483df9(0x169)]=!0x1;}};_0x43b780=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,_0x2b0173['IUniverInstanceService']),_0x215337(0x6,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x7,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x384008['RefRangeService']))],_0x43b780);function _0x3cc1b7(_0x22624b){const _0x235280=_0x1a58e5;let _0x30d194;try{_0x30d194=JSON[_0x235280(0x26f)](_0x22624b);}catch{return null;}if(typeof _0x30d194!=_0x235280(0x361)||!_0x30d194)return null;let _0x278706=_0x30d194;if(_0x278706[_0x235280(0x2d7)]!==_0x235280(0x365)||typeof _0x278706['unitId']!='string'||typeof _0x278706[_0x235280(0x149)]!=_0x235280(0x31b))return null;let _0x4692fa=Array[_0x235280(0x3bc)](_0x278706[_0x235280(0x3c8)])?_0x278706[_0x235280(0x3c8)]['filter'](_0x38171f=>typeof _0x38171f==_0x235280(0x31b)):[],_0x427b3b=typeof _0x278706[_0x235280(0x36c)]==_0x235280(0x31b)?_0x278706['focusedId']:null;return{'kind':_0x235280(0x365),'unitId':_0x278706['unitId'],'subUnitId':_0x278706[_0x235280(0x149)],'selectedIds':_0x4692fa,'focusedId':_0x427b3b};}let _0x31b8fb=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){const _0x13f39b=_0x1a58e5;return this[_0x13f39b(0x33e)][_0x13f39b(0x35c)]();}get['roomMembers'](){const _0x12b0d5=_0x1a58e5;return this[_0x12b0d5(0x3f5)]['getValue']();}constructor(_0x5108b7,_0x45d257,_0x17237d,_0x4cca78,_0x153b6e){const _0x518a32=_0x1a58e5;super(),this['unitID']=_0x5108b7,this['_session']=_0x45d257,this[_0x518a32(0x1cd)]=_0x17237d,this[_0x518a32(0x24b)]=_0x4cca78,this['_slideDrawingStateService']=_0x153b6e,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x518a32(0x33e),new _0xc05c0c[(_0x518a32(0x334))](new Map())),_0x42526d(this,_0x518a32(0x3c9),this[_0x518a32(0x33e)][_0x518a32(0x2c9)]()),_0x42526d(this,_0x518a32(0x3f5),new _0xc05c0c[(_0x518a32(0x334))]([])),_0x42526d(this,_0x518a32(0x367),this[_0x518a32(0x3f5)][_0x518a32(0x154)]((0x0,_0xc05c0c[_0x518a32(0x24d)])(0x12c))),_0x42526d(this,'_updateLocalCursor',(0x0,_0x2b0173['debounce'])(_0x421194=>{const _0x55ee88=_0x518a32;let _0x4a83e4=_0x421194[_0x55ee88(0x250)];if(!_0x4a83e4||_0x4a83e4[_0x55ee88(0x268)]!==this[_0x55ee88(0x3a0)])return;let _0x59dfbc={'kind':_0x55ee88(0x365),'unitId':_0x4a83e4[_0x55ee88(0x268)],'subUnitId':_0x4a83e4[_0x55ee88(0x149)],'selectedIds':_0x421194['selectedIds'][_0x55ee88(0x409)](_0x1d3c9a=>typeof _0x1d3c9a==_0x55ee88(0x31b)),'focusedId':_0x421194[_0x55ee88(0x36c)]},_0x3a728a={'eventID':_0xd76d4d[_0x55ee88(0x3df)][_0x55ee88(0x2b4)],'data':{'unitID':this[_0x55ee88(0x3a0)],'memberID':this[_0x55ee88(0x26b)][_0x55ee88(0x192)](),'selection':JSON['stringify'](_0x59dfbc)}};this['_session']['send'](_0x3a728a,this[_0x55ee88(0x3a0)]);},0x64));}['dispose'](){const _0x106310=_0x1a58e5;super[_0x106310(0x34f)](),this['_cursorInfo$'][_0x106310(0x3b0)](new Map()),this[_0x106310(0x33e)][_0x106310(0x1c0)](),this[_0x106310(0x3f5)][_0x106310(0x3b0)]([]),this[_0x106310(0x3f5)][_0x106310(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x4c98ad=_0x1a58e5;this[_0x4c98ad(0x1ec)]||(this['_init']=!0x0,this[_0x4c98ad(0x26b)][_0x4c98ad(0x168)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x48c778=>{const _0x45464b=_0x4c98ad;_0x48c778===_0x35fa89['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x45464b(0x206)]();}),this[_0x4c98ad(0x26b)][_0x4c98ad(0x3f2)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x556232=>{const _0x3a826d=_0x4c98ad;let _0x4db99f=_0x556232[_0x3a826d(0x231)];_0x4db99f===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3a826d(0x2ae)](_0x556232),_0x4db99f===_0xd76d4d[_0x3a826d(0x3df)][_0x3a826d(0x386)]&&this[_0x3a826d(0x1a0)](_0x556232);}),this['_slideDrawingStateService'][_0x4c98ad(0x2f4)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))['subscribe'](_0x371253=>{const _0x3f1bc0=_0x4c98ad;this[_0x3f1bc0(0x169)]&&this[_0x3f1bc0(0x294)](_0x371253);}));}[_0x1a58e5(0x2ae)](_0x4314d2){const _0x5f355e=_0x1a58e5;var _0x28ae70,_0x16578b,_0x527354,_0x3d2a27;let {memberID:_0x3a0111,selection:_0x451f85}=_0x4314d2[_0x5f355e(0x3d8)];if(_0x3a0111===((_0x28ae70=(_0x16578b=this['_session'])[_0x5f355e(0x192)])==null?void 0x0:_0x28ae70['call'](_0x16578b)))return;let _0x8470ee=_0x3cc1b7(_0x451f85);if(!_0x8470ee||_0x8470ee[_0x5f355e(0x268)]!==this['unitID'])return;let _0x512c58=(_0x527354=(_0x3d2a27=this[_0x5f355e(0x24b)][_0x5f355e(0x3a8)](this[_0x5f355e(0x3a0)],_0x3a0111))==null?void 0x0:_0x3d2a27[_0x5f355e(0x3d5)])==null?_0x5f355e(0x3d7):_0x527354,_0x1e033d={'color':this[_0x5f355e(0x1cd)][_0x5f355e(0x263)](_0x3a0111),'name':_0x512c58,'unitId':_0x8470ee[_0x5f355e(0x268)],'subUnitId':_0x8470ee[_0x5f355e(0x149)],'selectedIds':_0x8470ee[_0x5f355e(0x3c8)],'focusedId':_0x8470ee[_0x5f355e(0x36c)],'selection':_0x451f85},_0x3d3b62=new Map(this[_0x5f355e(0x2af)]);_0x3d3b62['set'](_0x3a0111,_0x1e033d),this[_0x5f355e(0x33e)]['next'](_0x3d3b62);}['_onCursorDelete'](_0x5731e2){const _0x236817=_0x1a58e5;let {memberID:_0x2ac2d9}=_0x5731e2['data'],_0x4a6f7a=new Map(this[_0x236817(0x2af)]);_0x4a6f7a[_0x236817(0x182)](_0x2ac2d9),this[_0x236817(0x33e)]['next'](_0x4a6f7a);}[_0x1a58e5(0x2db)](){const _0x25a71b=_0x1a58e5;this[_0x25a71b(0x169)]=!0x0,this[_0x25a71b(0x294)](this['_slideDrawingStateService'][_0x25a71b(0x278)]());}[_0x1a58e5(0x206)](){const _0x161270=_0x1a58e5;this[_0x161270(0x169)]=!0x1;}};_0x31b8fb=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x304b4c[_0x1a58e5(0x180)]))],_0x31b8fb);let _0x5077b=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x26e90c,_0x5ea519,_0x232de2){const _0x2bc052=_0x1a58e5;super(),this[_0x2bc052(0x3e5)]=_0x26e90c,this[_0x2bc052(0x412)]=_0x5ea519,this[_0x2bc052(0x330)]=_0x232de2,_0x42526d(this,_0x2bc052(0x29b),new Map()),_0x42526d(this,_0x2bc052(0x246),new _0xc05c0c[(_0x2bc052(0x3e4))]()),this[_0x2bc052(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x23fdb6=_0x1a58e5;super['dispose'](),this[_0x23fdb6(0x246)][_0x23fdb6(0x1c0)](),this['_entities'][_0x23fdb6(0xff)](_0x38b173=>_0x38b173[_0x23fdb6(0x34f)]());}[_0x1a58e5(0x3ab)](_0x1b755e){const _0xe7b204=_0x1a58e5;return this[_0xe7b204(0x29b)]['has'](_0x1b755e)?this[_0xe7b204(0x29b)][_0xe7b204(0x1db)](_0x1b755e)[_0xe7b204(0x3c9)]:this[_0xe7b204(0x246)]['pipe']((0x0,_0xc05c0c[_0xe7b204(0x409)])(_0x596c18=>_0x596c18[_0xe7b204(0x3a0)]===_0x1b755e),(0x0,_0xc05c0c[_0xe7b204(0x310)])(_0x55a257=>_0x55a257[_0xe7b204(0x3c9)]));}['_init'](){const _0x178b4b=_0x1a58e5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2b0173['UniverInstanceType'][_0x178b4b(0x104)])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this['dispose$']))[_0x178b4b(0x224)](async _0x241f6e=>{const _0x560137=_0x178b4b;let _0x5a1b42=_0x241f6e['unit']['getUnitId'](),_0x40ca4b=await this[_0x560137(0x2b8)](_0x5a1b42);this[_0x560137(0x246)][_0x560137(0x3b0)](_0x40ca4b),this[_0x560137(0x29b)][_0x560137(0x148)](_0x5a1b42,_0x40ca4b);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)]['UNIVER_DOC'])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x409)])(_0xdc2a2e=>!_0xdc2a2e[_0x178b4b(0x29f)][_0x178b4b(0x36d)]()[_0x178b4b(0x1ea)]('__')))['subscribe'](async _0xa8bdbb=>{const _0x111489=_0x178b4b;let {unit:_0x68b94a}=_0xa8bdbb,_0x707b40=_0x68b94a[_0x111489(0x36d)](),_0x22ddbf=await this[_0x111489(0x39e)](_0x707b40);this['_entityInit$'][_0x111489(0x3b0)](_0x22ddbf),this[_0x111489(0x29b)]['set'](_0x707b40,_0x22ddbf);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x175)])['pipe']((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))['subscribe'](async _0x39229a=>{const _0x1eac9d=_0x178b4b;let _0x32cbbd=_0x39229a[_0x1eac9d(0x29f)][_0x1eac9d(0x36d)](),_0x3cf1a0=await this[_0x1eac9d(0x416)](_0x32cbbd);this[_0x1eac9d(0x246)][_0x1eac9d(0x3b0)](_0x3cf1a0),this['_entities']['set'](_0x32cbbd,_0x3cf1a0);}),this['_univerInstanceService'][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x217)])['pipe']((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](async _0x34c9ba=>{const _0x9ccd6d=_0x178b4b;let _0x50c514=_0x34c9ba['unit'][_0x9ccd6d(0x36d)](),_0x4c315f=await this[_0x9ccd6d(0x1be)](_0x50c514);this[_0x9ccd6d(0x246)][_0x9ccd6d(0x3b0)](_0x4c315f),this[_0x9ccd6d(0x29b)][_0x9ccd6d(0x148)](_0x50c514,_0x4c315f);}),(0x0,_0xc05c0c['merge'])(this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x313)]),this['_univerInstanceService'][_0x178b4b(0x298)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x104)]),this[_0x178b4b(0x3e5)]['getTypeOfUnitDisposed$'](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x175)]),this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x217)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](_0x4ccc65=>{const _0x59d9bc=_0x178b4b;let _0x3255f1=_0x4ccc65[_0x59d9bc(0x36d)](),_0x354022=this[_0x59d9bc(0x29b)][_0x59d9bc(0x1db)](_0x3255f1);_0x354022&&(_0x354022['dispose'](),this[_0x59d9bc(0x29b)][_0x59d9bc(0x182)](_0x3255f1));});}async['_startSheetCollabCursor'](_0x375e7f){const _0x3fce2f=_0x1a58e5;let _0x56c609=await this[_0x3fce2f(0x330)][_0x3fce2f(0x267)](_0x375e7f),_0x57a89f=this[_0x3fce2f(0x412)]['createInstance'](_0x43b780,_0x375e7f,_0x56c609);return _0x57a89f['init'](),_0x57a89f;}async['_startDocCollabCursor'](_0xcf10d2){const _0x30a54d=_0x1a58e5;let _0x4b7bf6=await this[_0x30a54d(0x330)][_0x30a54d(0x267)](_0xcf10d2),_0x21e11f=this['_injector']['createInstance'](_0x254aea,_0xcf10d2,_0x4b7bf6);return _0x21e11f[_0x30a54d(0x145)](),_0x21e11f;}async[_0x1a58e5(0x416)](_0xdb5443){const _0x2a4486=_0x1a58e5;let _0x387b25=await this[_0x2a4486(0x330)][_0x2a4486(0x267)](_0xdb5443),_0x199de1=this[_0x2a4486(0x412)][_0x2a4486(0x3ef)](_0x31b8fb,_0xdb5443,_0x387b25);return _0x199de1[_0x2a4486(0x145)](),_0x199de1;}async[_0x1a58e5(0x1be)](_0x2605e1){const _0x30ec13=_0x1a58e5;let _0x8ff312=await this[_0x30ec13(0x330)][_0x30ec13(0x267)](_0x2605e1),_0x589dd2=this[_0x30ec13(0x412)][_0x30ec13(0x3ef)](_0x12a7db,_0x2605e1,_0x8ff312);return _0x589dd2[_0x30ec13(0x145)](),_0x589dd2;}};_0x5077b=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x122)]))],_0x5077b);let _0x57e97e=class extends _0x2b0173['RxDisposable']{constructor(_0x4da14c,_0xd603f1,_0x7bd45c){const _0x791b3f=_0x1a58e5;super(),this[_0x791b3f(0x356)]=_0x4da14c,this[_0x791b3f(0x23e)]=_0xd603f1,this[_0x791b3f(0x103)]=_0x7bd45c,_0x42526d(this,_0x791b3f(0x226),new Set()),_0x42526d(this,_0x791b3f(0x10b),!0x1),_0x42526d(this,_0x791b3f(0x16f),!0x1),_0x42526d(this,'_latestCursors',new Map()),this[_0x791b3f(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x33a7ed=_0x1a58e5;this[_0x33a7ed(0x35e)](),super['dispose']();}['_init'](){const _0x31c4a5=_0x1a58e5;let _0x1f1c22=this[_0x31c4a5(0x23e)][_0x31c4a5(0x3ab)](this[_0x31c4a5(0x356)][_0x31c4a5(0x268)]);this[_0x31c4a5(0x119)]((0x0,_0x2b0173[_0x31c4a5(0x399)])((0x0,_0xc05c0c[_0x31c4a5(0x1ce)])([_0x1f1c22,this[_0x31c4a5(0x356)]['unit'][_0x31c4a5(0x333)],this[_0x31c4a5(0x103)][_0x31c4a5(0x2d6)]])[_0x31c4a5(0x154)]((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](([_0x578119])=>{const _0x2030ad=_0x31c4a5;let _0x5da1bd=this['_context'][_0x2030ad(0x29f)][_0x2030ad(0x1c5)](),_0xcbefa3=new Map();_0x578119[_0x2030ad(0xff)]((_0x39c134,_0x535743)=>{const _0x73c67d=_0x2030ad;_0x39c134[_0x73c67d(0x149)]===_0x5da1bd&&_0xcbefa3[_0x73c67d(0x148)](_0x535743,{..._0x39c134,'color':this[_0x73c67d(0x103)]['getColorFromTheme'](_0x39c134[_0x73c67d(0x1e2)])});}),this[_0x2030ad(0x1f5)]=_0xcbefa3,this[_0x2030ad(0x3b4)]();})));let _0x3e04b4=this[_0x31c4a5(0x356)]['scene'];this['disposeWithMe']((0x0,_0x2b0173[_0x31c4a5(0x399)])(_0x3e04b4[_0x31c4a5(0x293)]['pipe']((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](()=>{const _0x4d3813=_0x31c4a5;this[_0x4d3813(0x16f)]||this[_0x4d3813(0x3b4)]();})));}[_0x1a58e5(0x3b4)](){const _0x3ac3bf=_0x1a58e5;this[_0x3ac3bf(0x10b)]||(this['_renderScheduled']=!0x0,Promise['resolve']()['then'](()=>{const _0x5436ae=_0x3ac3bf;this[_0x5436ae(0x10b)]=!0x1,this[_0x5436ae(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x22001a=_0x1a58e5;this['_removeCollabCursors']();let _0x179df2=this[_0x22001a(0x356)]['unit']['getActivePageId'](),_0x4a740e=[];if(this[_0x22001a(0x1f5)][_0x22001a(0xff)]((_0x5397c1,_0x3ab8fe)=>{const _0x1c12ce=_0x22001a;_0x5397c1[_0x1c12ce(0x149)]===_0x179df2&&_0x5397c1['selectedIds']['forEach'](_0x340fee=>{const _0x44e8ed=_0x1c12ce;let _0x43ea1c=(0x0,_0x512abf[_0x44e8ed(0x2e2)])(_0x5397c1[_0x44e8ed(0x268)],_0x340fee),_0xe7fabc=this[_0x44e8ed(0x36a)](_0x43ea1c);if(!_0xe7fabc)return;let _0x5959d8=this[_0x44e8ed(0x152)](_0xe7fabc);_0x4a740e[_0x44e8ed(0x285)](new _0x28af6f(_0x44e8ed(0x23f)+_0x3ab8fe+'-'+_0x340fee,{..._0x5397c1,'left':_0x5959d8['left'],'top':_0x5959d8[_0x44e8ed(0x132)],'width':_0x5959d8[_0x44e8ed(0x381)],'height':_0x5959d8['height'],'angle':_0xe7fabc['angle'],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x4a740e['length']===0x0){this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);return;}this[_0x22001a(0x16f)]=!0x0,this['_context'][_0x22001a(0x258)][_0x22001a(0x2e1)](_0x4a740e,_0x19234f),this[_0x22001a(0x16f)]=!0x1,this[_0x22001a(0x226)]=new Set(_0x4a740e),this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x4212d7=_0x1a58e5;let _0x3c6818=Array[_0x4212d7(0x2bb)](this[_0x4212d7(0x226)]);if(_0x3c6818[_0x4212d7(0x371)]===0x0)return;let _0x105917=this[_0x4212d7(0x356)][_0x4212d7(0x258)];'removeObjects'in _0x105917&&typeof _0x105917[_0x4212d7(0x3ba)]==_0x4212d7(0x3a2)?_0x105917[_0x4212d7(0x3ba)](_0x3c6818):_0x3c6818['forEach'](_0x53503b=>{const _0x28bffc=_0x4212d7;_0x28bffc(0x15f)in _0x105917&&typeof _0x105917[_0x28bffc(0x15f)]==_0x28bffc(0x3a2)?_0x105917['removeObject'](_0x53503b):_0x53503b[_0x28bffc(0x34f)]();}),this[_0x4212d7(0x226)]['clear'](),_0x105917[_0x4212d7(0x14d)](!0x0);}['_getSceneObjectByKey'](_0x1ff434){const _0x40c049=_0x1a58e5;var _0x45c3b0,_0xe2a432,_0x5e0595;let _0x1147db=this[_0x40c049(0x356)][_0x40c049(0x258)];return(_0x45c3b0=(_0xe2a432=(_0x5e0595=_0x1147db[_0x40c049(0x3ea)])==null?void 0x0:_0x5e0595[_0x40c049(0x213)](_0x1147db,_0x1ff434))==null?_0x1147db[_0x40c049(0x1b4)](_0x1ff434):_0xe2a432)==null?null:_0x45c3b0;}['_getObjectBounds'](_0x7bf56f){const _0x3ef410=_0x1a58e5;var _0x212f7a,_0xf7adce;let _0x72a448=_0x7bf56f;return(_0x212f7a=(_0xf7adce=_0x72a448['getRealBound'])==null?void 0x0:_0xf7adce['call'](_0x72a448))==null?{'left':_0x7bf56f[_0x3ef410(0x1e7)],'top':_0x7bf56f[_0x3ef410(0x132)],'width':_0x7bf56f[_0x3ef410(0x381)],'height':_0x7bf56f[_0x3ef410(0x2f9)]}:_0x212f7a;}};_0x57e97e=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x57e97e);let _0x5bc9fb=_0x1a58e5(0x322);var _0x23a650=class{constructor(_0x248536,_0x2c6f5a,_0x2f84cc,_0x2d499d){const _0x5e43f7=_0x1a58e5;this['_cursor']=_0x248536,this['_scene']=_0x2c6f5a,this['_docSkeleton']=_0x2f84cc,this[_0x5e43f7(0x10a)]=_0x2d499d,_0x42526d(this,_0x5e43f7(0x2a9),[]),_0x42526d(this,_0x5e43f7(0x143),null),_0x42526d(this,_0x5e43f7(0x133),null),_0x42526d(this,_0x5e43f7(0x407),null),_0x42526d(this,_0x5e43f7(0x13b),null),_0x42526d(this,_0x5e43f7(0x2a4),null),this[_0x5e43f7(0x3c5)]();}set[_0x1a58e5(0x11d)](_0x42ae18){const _0x38ccae=_0x1a58e5;_0x42ae18?(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x1dd)](),this[_0x38ccae(0x133)]&&this[_0x38ccae(0x133)][_0x38ccae(0x265)]()):(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x265)](),this['_textBubble']&&this['_textBubble'][_0x38ccae(0x1dd)]());}[_0x1a58e5(0x34f)](){const _0x1a0d1f=_0x1a58e5;for(let _0x4f7642 of this[_0x1a0d1f(0x2a9)])_0x4f7642[_0x1a0d1f(0x34f)]();this[_0x1a0d1f(0x133)]&&this[_0x1a0d1f(0x133)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x407)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x1a0d1f(0x143)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x2a4)]&&this[_0x1a0d1f(0x2a4)]();}[_0x1a58e5(0x3c5)](){const _0x46fe1a=_0x1a58e5;let {_docSkeleton:_0xc53a47,_document:_0x524338}=this,{color:_0x47fc08,name:_0x33a058,ranges:_0x3ae69b}=this[_0x46fe1a(0x40e)],_0x45df8c=_0x524338[_0x46fe1a(0x39d)](),{docsLeft:_0x284811,docsTop:_0x3ceeaa}=_0x45df8c,_0x371983=new _0x56f9a3[(_0x46fe1a(0x14b))](_0x45df8c,_0xc53a47);for(let {startOffset:_0x1e7c85,endOffset:_0x1682fc,rangeType:_0x3c0061,segmentId:_0x42f315,segmentPage:_0x20127b,collapsed:_0x5792a9,isActive:_0x1ad347}of _0x3ae69b){let _0x3189ff=_0xc53a47[_0x46fe1a(0x3ae)](_0x1e7c85,!0x0,_0x42f315,_0x20127b),_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc,!0x0,_0x42f315,_0x20127b);if(_0x3c22e4==null&&(_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc-0x1,!0x1,_0x42f315,_0x20127b)),_0x1ad347){let {contentBoxPointGroup:_0x24f432}=_0x371983[_0x46fe1a(0x3cc)](_0x3c22e4,_0x3c22e4);if(_0x24f432[_0x46fe1a(0x371)]===0x0)continue;this['_drawAnchor'](_0x47fc08,_0x24f432,_0x284811,_0x3ceeaa,_0x33a058),this[_0x46fe1a(0x2a4)]=this[_0x46fe1a(0x12e)]();}if(_0x3189ff&&_0x3c22e4){if(_0x3c0061===_0x2b0173[_0x46fe1a(0x13e)]['RECT']){var _0x53bc3e;let {pointGroup:_0x4b7dc6}=(_0x53bc3e=new _0x56f9a3['NodePositionConvertToRectRange'](_0x45df8c,_0xc53a47)[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4))==null?{}:_0x53bc3e;if(_0x4b7dc6==null||_0x4b7dc6[_0x46fe1a(0x371)]===0x0)continue;this[_0x46fe1a(0x28e)](_0x47fc08,_0x4b7dc6,_0x284811,_0x3ceeaa);}else{if(!_0x5792a9){let {borderBoxPointGroup:_0x1e1411}=_0x371983[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4);if(_0x1e1411['length']===0x0)continue;this[_0x46fe1a(0x306)](_0x47fc08,_0x1e1411,_0x284811,_0x3ceeaa);}}}}}[_0x1a58e5(0x3b1)](_0x36cbfd,_0xf2509f,_0x312f39,_0x19d35e,_0x4a072d){const _0xc03012=_0x1a58e5;let {left:_0x353c14,top:_0x57a24b,height:_0x1a992f}=this['_getAnchorBounding'](_0xf2509f),_0x19253b=1.5/this[_0xc03012(0x260)](),_0x299bfe=new _0x15ed3a['Rect'](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e,'height':_0x1a992f,'width':1.5,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)][_0xc03012(0x1e6)],0x0),'strokeWidth':_0x19253b,'stroke':_0xc03012(0x112),'evented':!0x0});this[_0xc03012(0x143)]=_0x299bfe,this[_0xc03012(0x13f)]['addObject'](_0x299bfe,_0x56f9a3[_0xc03012(0x1d6)]);let _0x4288e1=new _0x15ed3a[(_0xc03012(0x141))](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'evented':!0x1});this[_0xc03012(0x407)]=_0x4288e1,this['_scene']['addObject'](_0x4288e1,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']);let _0x39c507=new _0x548107(_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x14,'text':_0x4a072d,'color':_0x36cbfd});this['_textBubble']=_0x39c507,this[_0xc03012(0x13f)][_0xc03012(0x21e)](_0x39c507,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']),this[_0xc03012(0x11d)]=!0x1;}['_handleHover'](){const _0x47ed86=_0x1a58e5;let _0x97ff6b=this[_0x47ed86(0x143)]['onPointerEnter$'][_0x47ed86(0x351)](()=>{const _0x210a67=_0x47ed86;this[_0x210a67(0x11d)]=!0x0;}),_0x3c46e3=this['_anchor'][_0x47ed86(0x1e8)][_0x47ed86(0x351)](()=>{const _0xf86586=_0x47ed86;this[_0xf86586(0x13b)]&&clearTimeout(this[_0xf86586(0x13b)]),this[_0xf86586(0x13b)]=setTimeout(()=>{const _0x5d970a=_0xf86586;this[_0x5d970a(0x11d)]=!0x1;},0x7d0);});return()=>{const _0x4b57d4=_0x47ed86;_0x97ff6b[_0x4b57d4(0x27a)](),_0x3c46e3[_0x4b57d4(0x27a)]();};}[_0x1a58e5(0x306)](_0x45598b,_0x3ee306,_0x199ff2,_0x2f9d66){const _0x28ebbb=_0x1a58e5;let _0x1bb545=0.2,_0x4b4c6f=new _0x2b0173['ColorKit'](_0x45598b)[_0x28ebbb(0x184)](_0x1bb545)['toRgbString'](),_0x506151=new _0x15ed3a[(_0x28ebbb(0x35d))](_0x28ebbb(0x34b)+(0x0,_0x2b0173[_0x28ebbb(0x1b9)])(0x6),{'pointsGroup':_0x3ee306,'fill':_0x4b4c6f||(0x0,_0x15ed3a[_0x28ebbb(0x1d7)])(_0x2b0173['COLORS'][_0x28ebbb(0x1e6)],_0x1bb545),'left':_0x199ff2,'top':_0x2f9d66,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28ebbb(0x285)](_0x506151),this[_0x28ebbb(0x13f)][_0x28ebbb(0x21e)](_0x506151,_0x56f9a3[_0x28ebbb(0x1d6)]);}[_0x1a58e5(0x28e)](_0x60347,_0x44b8f2,_0x17e3b8,_0x4269a6){const _0x1cbc13=_0x1a58e5;let _0x11e43b=0.2,_0x23c155=new _0x2b0173[(_0x1cbc13(0x3f7))](_0x60347)['setAlpha'](_0x11e43b)[_0x1cbc13(0x3cf)](),_0x422a1d=new _0x15ed3a[(_0x1cbc13(0x35d))](_0x1cbc13(0x1a3)+(0x0,_0x2b0173[_0x1cbc13(0x1b9)])(0x6),{'pointsGroup':_0x44b8f2,'fill':_0x23c155||(0x0,_0x15ed3a[_0x1cbc13(0x1d7)])(_0x2b0173[_0x1cbc13(0x2d4)]['black'],_0x11e43b),'left':_0x17e3b8,'top':_0x4269a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1cbc13(0x285)](_0x422a1d),this[_0x1cbc13(0x13f)][_0x1cbc13(0x21e)](_0x422a1d,_0x56f9a3[_0x1cbc13(0x1d6)]);}[_0x1a58e5(0x235)](_0x562a5a){let _0x32e92b=_0x562a5a[0x0],_0x747c12=_0x32e92b[0x0],_0x3e4f13=_0x32e92b[0x2],{x:_0x3697a0,y:_0x37e77d}=_0x747c12,{x:_0x44050a,y:_0x2379cd}=_0x3e4f13;return{'left':_0x3697a0,'top':_0x37e77d,'width':_0x44050a-_0x3697a0,'height':_0x2379cd-_0x37e77d};}[_0x1a58e5(0x260)](){const _0x1e3d64=_0x1a58e5;let {scaleX:_0x1b19ef,scaleY:_0x4af04f}=this[_0x1e3d64(0x13f)]['getAncestorScale']();return Math[_0x1e3d64(0x3a7)](_0x1b19ef,_0x4af04f);}};let _0x2ec85a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x1fd444,_0x2b0761,_0x424ec6,_0x7e7d04,_0x356f4d){const _0x2d915c=_0x1a58e5;super(),this[_0x2d915c(0x356)]=_0x1fd444,this[_0x2d915c(0x40d)]=_0x2b0761,this[_0x2d915c(0x23e)]=_0x424ec6,this[_0x2d915c(0x2d5)]=_0x7e7d04,this['_themeService']=_0x356f4d,_0x42526d(this,_0x2d915c(0x380),[]),_0x42526d(this,_0x2d915c(0x226),[]),this['_init']();}['_init'](){const _0x468028=_0x1a58e5;let _0x122182=this[_0x468028(0x356)][_0x468028(0x268)],_0xeae8da=this[_0x468028(0x40d)];this['disposeWithMe']((0x0,_0xc05c0c[_0x468028(0x1ce)])([this[_0x468028(0x23e)][_0x468028(0x3ab)](_0x122182),this[_0x468028(0x103)][_0x468028(0x2d6)]])[_0x468028(0x154)]((0x0,_0x4be982[_0x468028(0x230)])(([_0x6e4dd9,_0x58831c])=>({'skeleton':_0xeae8da[_0x468028(0x28d)](),'cursors':[..._0x6e4dd9[_0x468028(0x30e)]()][_0x468028(0x346)](_0x3bbe5f=>({..._0x3bbe5f,'color':this[_0x468028(0x103)]['getColorFromTheme'](_0x3bbe5f[_0x468028(0x1e2)])}))})))['subscribe'](_0x596f74=>{const _0x5c1b96=_0x468028;if(this[_0x5c1b96(0x35e)](),_0x596f74){let {skeleton:_0x40af95,cursors:_0x5add0d}=_0x596f74;this[_0x5c1b96(0x151)](_0x40af95,_0x5add0d);}})),this[_0x468028(0x2a6)](),this[_0x468028(0x292)]();}['_updateCollabCursors'](_0x41cf18,_0x2d9be4){const _0x35a944=_0x1a58e5;let {scene:_0xf50fa5,mainComponent:_0xebb05a}=this[_0x35a944(0x356)],_0x3870c1=_0x2d9be4[_0x35a944(0x230)](_0x2fc414=>new _0x23a650(_0x2fc414,_0xf50fa5,_0x41cf18,_0xebb05a));this['_cursorShapes']=_0x3870c1,this['_cursors']=_0x2d9be4;}[_0x1a58e5(0x39b)](){const _0x15204b=_0x1a58e5;this[_0x15204b(0x35e)]();let {scene:_0x1b5c1d,mainComponent:_0x59be67}=this[_0x15204b(0x356)],_0x1becc3=this[_0x15204b(0x40d)][_0x15204b(0x28d)](),_0x5076f7=this[_0x15204b(0x226)][_0x15204b(0x230)](_0x1e8485=>new _0x23a650(_0x1e8485,_0x1b5c1d,_0x1becc3,_0x59be67));this['_cursorShapes']=_0x5076f7;}[_0x1a58e5(0x35e)](){const _0x4aec9d=_0x1a58e5;this[_0x4aec9d(0x380)][_0x4aec9d(0xff)](_0x36474a=>_0x36474a[_0x4aec9d(0x34f)]()),this[_0x4aec9d(0x380)]=[];}[_0x1a58e5(0x292)](){const _0x47b206=_0x1a58e5;let _0xf39875=[_0x56f9a3['SetDocZoomRatioOperation']['id']];this[_0x47b206(0x119)](this[_0x47b206(0x2d5)][_0x47b206(0x157)](_0x75ba0d=>{const _0x4e9a2e=_0x47b206;_0xf39875[_0x4e9a2e(0x39c)](_0x75ba0d['id'])&&_0x75ba0d[_0x4e9a2e(0x3fb)]['unitId']===this[_0x4e9a2e(0x356)][_0x4e9a2e(0x268)]&&this[_0x4e9a2e(0x39b)]();}));}['_initResize'](){const _0x397daa=_0x1a58e5;this[_0x397daa(0x119)]((0x0,_0x2b0173[_0x397daa(0x379)])(this[_0x397daa(0x356)]['engine'][_0x397daa(0x158)])[_0x397daa(0x154)]((0x0,_0x4be982[_0x397daa(0x409)])(_0x5db2ad=>_0x5db2ad[_0x397daa(0x350)]===_0x15ed3a[_0x397daa(0x2eb)][_0x397daa(0x21b)]),(0x0,_0x4be982[_0x397daa(0x1cf)])(0x10))[_0x397daa(0x224)](()=>{const _0x295392=_0x397daa;this[_0x295392(0x39b)]();}));}};_0x2ec85a=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x29c)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x2ec85a);var _0x4e747a=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x39e4b2,_0x4422cc){const _0x18ac29=_0x1a58e5;if(super(_0x39e4b2,_0x4422cc),_0x42526d(this,_0x18ac29(0x1c8),void 0x0),_0x42526d(this,_0x18ac29(0x39a),!0x1),_0x42526d(this,_0x18ac29(0x309),void 0x0),_0x42526d(this,'_name',''),_0x42526d(this,_0x18ac29(0x2a3),_0x18ac29(0x132)),_0x42526d(this,'_backgroundColor',void 0x0),_0x42526d(this,_0x18ac29(0x3f3),void 0x0),_0x42526d(this,_0x18ac29(0x194),void 0x0),_0x42526d(this,_0x18ac29(0x2c0),0x4),_0x42526d(this,_0x18ac29(0x1ef),void 0x0),_0x42526d(this,'_blinkIntervalTimer',void 0x0),_0x42526d(this,_0x18ac29(0x23d),!0x0),_0x42526d(this,'_offsetY',0x0),_0x42526d(this,_0x18ac29(0x40a),_0x18ac29(0x34a)),_0x4422cc){var _0x1c2ad3;if(this[_0x18ac29(0x317)](_0x4422cc),_0x4422cc[_0x18ac29(0x147)]&&((_0x1c2ad3=_0x4422cc[_0x18ac29(0x3b7)])==null?this[_0x18ac29(0x2c0)]:_0x1c2ad3)){var _0x204460;this[_0x18ac29(0x360)]((_0x204460=_0x4422cc['highlightSecond'])==null?this[_0x18ac29(0x2c0)]:_0x204460);}}this[_0x18ac29(0x1cb)][_0x18ac29(0x351)](()=>this[_0x18ac29(0x317)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x18ac29(0x317)]({'hovered':!0x1}));}[_0x1a58e5(0x232)](_0x5b1866){const _0x2f26ed=_0x1a58e5;this[_0x2f26ed(0x336)]=_0x5b1866;}[_0x1a58e5(0x317)](_0x2d13f2){const _0x2bf17e=_0x1a58e5;var _0x5abc80,_0x482aca,_0x55a1cd,_0x45920a,_0x4a5b66,_0x582b78,_0x8697eb,_0x114958;this[_0x2bf17e(0x1c8)]=(_0x5abc80=_0x2d13f2[_0x2bf17e(0x1e2)])==null?this[_0x2bf17e(0x1c8)]:_0x5abc80,this[_0x2bf17e(0x39a)]=(_0x482aca=_0x2d13f2[_0x2bf17e(0x1da)])==null?this[_0x2bf17e(0x39a)]:_0x482aca,this[_0x2bf17e(0x309)]=(_0x55a1cd=_0x2d13f2[_0x2bf17e(0x2fc)])==null?this[_0x2bf17e(0x309)]:_0x55a1cd,this[_0x2bf17e(0x1f4)]=(_0x45920a=_0x2d13f2['name'])==null?this[_0x2bf17e(0x1f4)]:_0x45920a,this[_0x2bf17e(0x2a3)]=(_0x4a5b66=_0x2d13f2[_0x2bf17e(0x1c3)])==null?this['_labelPosition']:_0x4a5b66,this[_0x2bf17e(0x1a7)]=(_0x582b78=_0x2d13f2[_0x2bf17e(0x166)])==null?this['_backgroundColor']:_0x582b78,this['_showText']=(_0x8697eb=_0x2d13f2[_0x2bf17e(0x23c)])==null?this[_0x2bf17e(0x3f3)]:_0x8697eb,this[_0x2bf17e(0x40a)]=(_0x114958=_0x2d13f2['labelHorizontalPosition'])==null?this['_labelHorizontalPosition']:_0x114958,_0x2d13f2[_0x2bf17e(0x3b7)]!==void 0x0&&(this['_highlightSecond']=_0x2d13f2[_0x2bf17e(0x3b7)]),_0x2d13f2[_0x2bf17e(0x147)]!==void 0x0&&(this[_0x2bf17e(0x194)]=_0x2d13f2[_0x2bf17e(0x147)]),_0x2d13f2[_0x2bf17e(0x2b5)]!==void 0x0&&(this[_0x2bf17e(0x336)]=_0x2d13f2[_0x2bf17e(0x2b5)]),this[_0x2bf17e(0x30d)]({'width':_0x2d13f2['width'],'height':_0x2d13f2[_0x2bf17e(0x2f9)]});}[_0x1a58e5(0x261)](_0x2e895c){const _0x4445cb=_0x1a58e5;let {row:_0x4c3fcf,column:_0xecf80f}=_0x2e895c;if(_0x4c3fcf>=this[_0x4445cb(0x309)][_0x4445cb(0x30b)]&&_0x4c3fcf<=this[_0x4445cb(0x309)]['endRow']&&_0xecf80f>=this[_0x4445cb(0x309)][_0x4445cb(0x2b0)]&&_0xecf80f<=this[_0x4445cb(0x309)][_0x4445cb(0x341)]){this[_0x4445cb(0x317)]({'hovered':!0x0});return;}this[_0x4445cb(0x317)]({'hovered':!0x1});}[_0x1a58e5(0x360)](_0x2fa9b5){const _0x2c4a5a=_0x1a58e5;this['_stopBlinking'](),this[_0x2c4a5a(0x23d)]=!0x0,this['_blinkIntervalTimer']=window[_0x2c4a5a(0x34e)](()=>{const _0xb803b3=_0x2c4a5a;this[_0xb803b3(0x23d)]=!this[_0xb803b3(0x23d)],this['makeDirty'](!0x0);},0x1f4),this[_0x2c4a5a(0x1ef)]=window['setTimeout'](()=>{const _0x4bda23=_0x2c4a5a;this[_0x4bda23(0x3e8)](),this[_0x4bda23(0x23d)]=!0x0,this[_0x4bda23(0x14d)](!0x0);},_0x2fa9b5*0x3e8);}[_0x1a58e5(0x3e8)](){const _0x89b3a6=_0x1a58e5;this[_0x89b3a6(0x1fc)]&&(window[_0x89b3a6(0x40f)](this[_0x89b3a6(0x1fc)]),this['_blinkIntervalTimer']=void 0x0),this[_0x89b3a6(0x1ef)]&&(window[_0x89b3a6(0x12b)](this[_0x89b3a6(0x1ef)]),this[_0x89b3a6(0x1ef)]=void 0x0);}[_0x1a58e5(0x274)](_0x4797e5){return!0x1;}['dispose'](){const _0x4bfe4e=_0x1a58e5;this[_0x4bfe4e(0x3e8)](),super[_0x4bfe4e(0x34f)]();}[_0x1a58e5(0x363)](_0x2af928){const _0x7cfd5e=_0x1a58e5;let _0x5b334c=this['_color'],_0xd3707c=this['_backgroundColor'];if(this[_0x7cfd5e(0x194)]&&!this['_isBlinkVisible']&&(_0x5b334c=this['_getLighterColor'](this[_0x7cfd5e(0x1c8)]),_0xd3707c=this[_0x7cfd5e(0x1a7)]?this['_getLighterColor'](this[_0x7cfd5e(0x1a7)]):void 0x0),_0x15ed3a[_0x7cfd5e(0x141)][_0x7cfd5e(0x160)](_0x2af928,{'width':this[_0x7cfd5e(0x381)],'height':this[_0x7cfd5e(0x2f9)],'strokeWidth':this[_0x7cfd5e(0x3fa)]||1.5,'stroke':_0x5b334c,'evented':!0x1,'fill':_0xd3707c}),this['_hovered']||this[_0x7cfd5e(0x3f3)]){var _0x4ca40c;_0x2af928['save']();let _0x1d4995=this[_0x7cfd5e(0x40a)]==='left'?-_0x366aaa(_0x2af928,this[_0x7cfd5e(0x1f4)]):this[_0x7cfd5e(0x381)];_0x2af928[_0x7cfd5e(0x375)](0x1,0x0,0x0,0x1,_0x1d4995,(this[_0x7cfd5e(0x2a3)]===_0x7cfd5e(0x37e)?0x0:-0x14)+((_0x4ca40c=this[_0x7cfd5e(0x336)])==null?0x0:_0x4ca40c)),_0x548107[_0x7cfd5e(0x160)](_0x2af928,{'text':this[_0x7cfd5e(0x1f4)],'color':_0x5b334c}),_0x2af928[_0x7cfd5e(0x31f)]();}}['_getLighterColor'](_0x5de73b){const _0xd9d651=_0x1a58e5;return _0x5de73b['startsWith']('#')?_0xd9d651(0x200)+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x1,0x3),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x3,0x5),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b['slice'](0x5,0x7),0x10)+_0xd9d651(0x40c):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x15c))?_0x5de73b[_0xd9d651(0x2e5)](/[\d.]+\)$/g,_0xd9d651(0x3be)):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x257))?_0x5de73b[_0xd9d651(0x2e5)](_0xd9d651(0x257),_0xd9d651(0x15c))['replace'](')',_0xd9d651(0x40c)):_0x5de73b;}};let _0x31b326=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x5e4da3,_0x1c7f1e,_0x30a91b,_0x292ad5){const _0x2d6e65=_0x1a58e5;super(),this[_0x2d6e65(0x356)]=_0x5e4da3,this['_sheetSkeletonManagerService']=_0x1c7f1e,this[_0x2d6e65(0x23e)]=_0x30a91b,this['_themeService']=_0x292ad5,_0x42526d(this,'_cursors',new Set()),_0x42526d(this,'_lastPointer',null),_0x42526d(this,_0x2d6e65(0x1e3),null),this[_0x2d6e65(0x1ec)]();}[_0x1a58e5(0x1ec)](){const _0x308cff=_0x1a58e5;this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982[_0x308cff(0x1d1)])(this['dispose$']),(0x0,_0x4be982[_0x308cff(0x310)])(_0x7625cc=>{const _0x2fa97a=_0x308cff;if(_0x7625cc){let _0x5c8eac=_0x7625cc[_0x2fa97a(0x24f)];return(0x0,_0xc05c0c[_0x2fa97a(0x1ce)])(this[_0x2fa97a(0x23e)][_0x2fa97a(0x3ab)](this['_context'][_0x2fa97a(0x268)]),this[_0x2fa97a(0x103)][_0x2fa97a(0x2d6)])[_0x2fa97a(0x154)]((0x0,_0x4be982[_0x2fa97a(0x230)])(([_0x1fd01b,_0x2eb683])=>{const _0x568fe6=_0x2fa97a;let _0x3a6aa5=new Map();return _0x1fd01b[_0x568fe6(0xff)]((_0x5f5718,_0x3d7d26)=>{const _0x2e9d40=_0x568fe6;if(_0x5f5718[_0x2e9d40(0x162)]===_0x5c8eac){let _0x14be16={..._0x5f5718};_0x14be16[_0x2e9d40(0x1e2)]=this[_0x2e9d40(0x103)][_0x2e9d40(0x401)](_0x5f5718[_0x2e9d40(0x1e2)]),_0x3a6aa5[_0x2e9d40(0x148)](_0x3d7d26,_0x14be16);}}),{'skeleton':_0x7625cc,'cursors':_0x3a6aa5};}));}return(0x0,_0xc05c0c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x308cff(0x224)](({skeleton:_0x7e6e33,cursors:_0x4b61ec})=>{const _0x10d2fc=_0x308cff;this[_0x10d2fc(0x35e)](),_0x7e6e33&&this[_0x10d2fc(0x151)](_0x7e6e33,_0x4b61ec);}),this['disposeWithMe'](this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982['takeUntil'])(this[_0x308cff(0x195)]))[_0x308cff(0x224)](_0x3195db=>{const _0x21d486=_0x308cff;var _0x480573;if(_0x3195db==null)return;(_0x480573=this[_0x21d486(0x1e3)])==null||_0x480573[_0x21d486(0x27a)](),this[_0x21d486(0x1e3)]=null;let {skeleton:_0x47ef24}=_0x3195db,{scene:_0x3fe4e6}=this['_context'];this[_0x21d486(0x1e3)]=_0x3fe4e6['onPointerMove$'][_0x21d486(0x351)]((0x0,_0x2b0173[_0x21d486(0x186)])(_0x292f43=>{const _0x40a4f2=_0x21d486;var _0x3325ac,_0x5e6ea2;let {offsetX:_0x1d6411,offsetY:_0x1666d9}=_0x292f43,{x:_0x59451f,y:_0x5a50d9}=_0x3fe4e6['getRelativeToViewportCoord'](_0x15ed3a[_0x40a4f2(0x2f0)]['FromArray']([_0x1d6411,_0x1666d9])),{scaleX:_0x51b194,scaleY:_0x3502cd}=_0x3fe4e6[_0x40a4f2(0x1eb)](),_0x38ed53=_0x3fe4e6['getViewport'](_0x15ed3a[_0x40a4f2(0x136)][_0x40a4f2(0x3ac)]),_0x47413f=_0x3fe4e6[_0x40a4f2(0x2c4)](_0x15ed3a[_0x40a4f2(0x2f0)][_0x40a4f2(0x2da)]([_0x59451f,_0x5a50d9]),_0x38ed53),_0x3c7110=_0x47ef24[_0x40a4f2(0x1d5)](_0x1d6411,_0x1666d9,_0x51b194,_0x3502cd,_0x47413f);((_0x3325ac=this[_0x40a4f2(0x3b5)])==null?void 0x0:_0x3325ac[_0x40a4f2(0x24c)])===_0x3c7110[_0x40a4f2(0x24c)]&&((_0x5e6ea2=this['_lastPointer'])==null?void 0x0:_0x5e6ea2[_0x40a4f2(0x1f3)])===_0x3c7110['row']||this[_0x40a4f2(0x226)][_0x40a4f2(0xff)](_0x468054=>{const _0x578f55=_0x40a4f2;_0x468054[_0x578f55(0x261)](_0x3c7110);});},0x64));})),this[_0x308cff(0x119)]((0x0,_0x2b0173[_0x308cff(0x399)])(()=>{const _0xfb46d0=_0x308cff;var _0xbf7f26;(_0xbf7f26=this[_0xfb46d0(0x1e3)])==null||_0xbf7f26[_0xfb46d0(0x27a)](),this[_0xfb46d0(0x1e3)]=null;}));}['_updateCollabCursors'](_0x2ae794,_0x19a20b){const _0x53ce93=_0x1a58e5;let _0x484c21=this[_0x53ce93(0x2bf)][_0x53ce93(0x391)]();if(!_0x484c21)return;let _0x57aef2=this[_0x53ce93(0x359)]();if(!_0x57aef2)return;this[_0x53ce93(0x226)][_0x53ce93(0xff)](_0x28ffa2=>{const _0xae3278=_0x53ce93;_0x28ffa2[_0xae3278(0x14d)]();});let {scene:_0x130be9}=_0x57aef2,_0x12bb29=_0x419c5a(Array['from'](_0x19a20b[_0x53ce93(0x30e)]()))['map'](_0x4e1f96=>{const _0xab7c97=_0x53ce93;let {color:_0x1d4f3e,range:_0x322de3,name:_0x4c5799,selection:_0x5c2eca,sheetID:_0x12c178}=_0x4e1f96,{startColumn:_0x2759a3,startRow:_0x2aa54f,endColumn:_0x1b3df3,endRow:_0x2bb82b}=_0x322de3,_0x196465=(0x0,_0x50b664['getCoordByCell'])(_0x2aa54f,_0x2759a3,_0x130be9,_0x484c21),_0x429915=(0x0,_0x50b664[_0xab7c97(0x364)])(_0x2bb82b,_0x1b3df3,_0x130be9,_0x484c21),{columnHeaderHeightAndMarginTop:_0x360fa9}=_0x484c21,{startX:_0x2eb164,startY:_0x1fd0ae}=_0x196465,{endX:_0x37af65,endY:_0x31a541}=_0x429915,_0x59f6d7=_0x37af65-_0x2eb164,_0x5d26e9=_0x31a541-_0x1fd0ae;return new _0x4e747a(_0x4c5799,{'labelPosition':_0x1fd0ae-_0x360fa9>=0x14?_0xab7c97(0x132):_0xab7c97(0x37e),'sheetID':_0x12c178,'range':_0x322de3,'color':_0x1d4f3e,'name':_0x4c5799,'selection':_0x5c2eca,'left':_0x2eb164,'top':_0x1fd0ae,'width':_0x59f6d7,'height':_0x5d26e9,'evented':!0x1,'zIndex':0x1389});});_0x130be9['addObjects'](_0x12bb29,0x1),this[_0x53ce93(0x226)]=new Set(_0x12bb29);}[_0x1a58e5(0x35e)](){const _0x1ba97e=_0x1a58e5;var _0xd88968;(_0xd88968=this['_cursors'])==null||_0xd88968[_0x1ba97e(0xff)](_0x221a8d=>_0x221a8d['dispose']());}[_0x1a58e5(0x359)](){const _0x2782ab=_0x1a58e5;return(0x0,_0x50b664[_0x2782ab(0x1fa)])(this[_0x2782ab(0x356)][_0x2782ab(0x29f)],this[_0x2782ab(0x356)]);}};_0x31b326=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x50b664[_0x1a58e5(0x393)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x31b326);function _0x419c5a(_0x125b9c){const _0x23a246=_0x1a58e5;let _0x23f9aa=new Map();return _0x125b9c[_0x23a246(0xff)](_0x49a6e7=>{const _0x4b3c6c=_0x23a246;if(_0x23f9aa['has'](_0x49a6e7[_0x4b3c6c(0x272)])){let _0x45ce9a=_0x23f9aa[_0x4b3c6c(0x1db)](_0x49a6e7['selection']);_0x45ce9a[_0x4b3c6c(0x3d5)]+=',\x20'+_0x49a6e7[_0x4b3c6c(0x3d5)];}else _0x23f9aa[_0x4b3c6c(0x148)](_0x49a6e7['selection'],_0x49a6e7);}),Array[_0x23a246(0x2bb)](_0x23f9aa['values']());}let _0x85e88f=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x8ec372,_0x4edc98,_0xe0836e){const _0x4aae30=_0x1a58e5;super(),this[_0x4aae30(0x356)]=_0x8ec372,this[_0x4aae30(0x23e)]=_0x4edc98,this[_0x4aae30(0x103)]=_0xe0836e,_0x42526d(this,_0x4aae30(0x226),new Set()),_0x42526d(this,'_renderScheduled',!0x1),_0x42526d(this,_0x4aae30(0x16f),!0x1),_0x42526d(this,_0x4aae30(0x1f5),new Map()),this[_0x4aae30(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x2da4b3=_0x1a58e5;this[_0x2da4b3(0x35e)](),super[_0x2da4b3(0x34f)]();}[_0x1a58e5(0x1ec)](){const _0x87a222=_0x1a58e5;let _0x33e4f3=this[_0x87a222(0x356)][_0x87a222(0x29f)][_0x87a222(0x33a)]['activeSlideId$'],_0xd84650=this[_0x87a222(0x23e)][_0x87a222(0x3ab)](this[_0x87a222(0x356)][_0x87a222(0x268)]);this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])((0x0,_0xc05c0c[_0x87a222(0x1ce)])([_0xd84650,_0x33e4f3,this[_0x87a222(0x103)][_0x87a222(0x2d6)]])['pipe']((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this[_0x87a222(0x195)]))['subscribe'](([_0x254cf2,_0x2210a5])=>{const _0x445470=_0x87a222;let _0x3e4359=new Map();_0x254cf2[_0x445470(0xff)]((_0x26f5b4,_0x3b2145)=>{const _0x225982=_0x445470;_0x26f5b4[_0x225982(0x149)]===_0x2210a5&&_0x3e4359['set'](_0x3b2145,{..._0x26f5b4,'color':this[_0x225982(0x103)][_0x225982(0x401)](_0x26f5b4[_0x225982(0x1e2)])});}),this[_0x445470(0x1f5)]=_0x3e4359,this[_0x445470(0x3b4)]();})));let _0x3ce575=this[_0x87a222(0x356)][_0x87a222(0x258)];this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])(_0x3ce575[_0x87a222(0x293)][_0x87a222(0x154)]((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this['dispose$']))[_0x87a222(0x224)](()=>{const _0x522af8=_0x87a222;this[_0x522af8(0x16f)]||this['_scheduleRender']();})));}[_0x1a58e5(0x3b4)](){const _0x5c888b=_0x1a58e5;this[_0x5c888b(0x10b)]||(this['_renderScheduled']=!0x0,Promise[_0x5c888b(0x2c6)]()[_0x5c888b(0x12c)](()=>{const _0x27a356=_0x5c888b;this[_0x27a356(0x10b)]=!0x1,this[_0x27a356(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x14889f=_0x1a58e5;var _0x2b47d1;this[_0x14889f(0x35e)]();let _0xe3f0ad=(_0x2b47d1=this[_0x14889f(0x356)]['unit'][_0x14889f(0x33a)]['getActiveSlide']())==null?void 0x0:_0x2b47d1[_0x14889f(0x1a9)]();if(!_0xe3f0ad)return;let _0x40f694=[];if(this[_0x14889f(0x1f5)][_0x14889f(0xff)]((_0x3808db,_0x55e7fa)=>{const _0x348eb7=_0x14889f;_0x3808db[_0x348eb7(0x149)]===_0xe3f0ad&&_0x3808db['selectedIds'][_0x348eb7(0xff)](_0x4af52e=>{const _0xa72eb1=_0x348eb7;let _0x21be7d=(0x0,_0x304b4c[_0xa72eb1(0x3e7)])(_0x3808db['unitId'],_0x3808db[_0xa72eb1(0x149)],_0x4af52e),_0x4e8508=this[_0xa72eb1(0x36a)](_0x21be7d);if(!_0x4e8508)return;let _0x133adf=this['_getObjectBounds'](_0x4e8508);_0x40f694[_0xa72eb1(0x285)](new _0x28af6f('slide-collab-cursor-'+_0x55e7fa+'-'+_0x4af52e,{..._0x3808db,'left':_0x133adf[_0xa72eb1(0x1e7)],'top':_0x133adf[_0xa72eb1(0x132)],'width':_0x133adf[_0xa72eb1(0x381)],'height':_0x133adf[_0xa72eb1(0x2f9)],'angle':_0x4e8508[_0xa72eb1(0x33b)],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x40f694[_0x14889f(0x371)]===0x0){this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);return;}this[_0x14889f(0x16f)]=!0x0,this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x2e1)](_0x40f694,_0x19234f),this[_0x14889f(0x16f)]=!0x1,this[_0x14889f(0x226)]=new Set(_0x40f694),this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x20c736=_0x1a58e5;let _0x1c7274=Array['from'](this[_0x20c736(0x226)]);if(_0x1c7274[_0x20c736(0x371)]===0x0)return;let _0x5b8203=this[_0x20c736(0x356)][_0x20c736(0x258)];'removeObjects'in _0x5b8203&&typeof _0x5b8203[_0x20c736(0x3ba)]==_0x20c736(0x3a2)?_0x5b8203['removeObjects'](_0x1c7274):_0x1c7274[_0x20c736(0xff)](_0x45164f=>{const _0x39a295=_0x20c736;_0x39a295(0x15f)in _0x5b8203&&typeof _0x5b8203[_0x39a295(0x15f)]==_0x39a295(0x3a2)?_0x5b8203[_0x39a295(0x15f)](_0x45164f):_0x45164f[_0x39a295(0x34f)]();}),this[_0x20c736(0x226)][_0x20c736(0x3ce)](),_0x5b8203[_0x20c736(0x14d)](!0x0);}[_0x1a58e5(0x36a)](_0x2fe4fd){const _0x5998a8=_0x1a58e5;var _0x299f57,_0x39a1c1,_0x14d53e;let _0x3f9c39=this['_context'][_0x5998a8(0x258)];return(_0x299f57=(_0x39a1c1=(_0x14d53e=_0x3f9c39[_0x5998a8(0x3ea)])==null?void 0x0:_0x14d53e['call'](_0x3f9c39,_0x2fe4fd))==null?_0x3f9c39[_0x5998a8(0x1b4)](_0x2fe4fd):_0x39a1c1)==null?null:_0x299f57;}[_0x1a58e5(0x152)](_0x463ab0){const _0x341d57=_0x1a58e5;var _0x1d7e9c,_0x2792dc;let _0x2cc72b=_0x463ab0;return(_0x1d7e9c=(_0x2792dc=_0x2cc72b[_0x341d57(0x12d)])==null?void 0x0:_0x2792dc['call'](_0x2cc72b))==null?{'left':_0x463ab0[_0x341d57(0x1e7)],'top':_0x463ab0[_0x341d57(0x132)],'width':_0x463ab0[_0x341d57(0x381)],'height':_0x463ab0[_0x341d57(0x2f9)]}:_0x1d7e9c;}};_0x85e88f=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x85e88f);let _0x3a5ab5=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x185dbb,_0x18d3bf,_0x276aa2,_0x5f5579,_0x51ebd8,_0x5ca185){const _0x8a5279=_0x1a58e5;super(),this[_0x8a5279(0x355)]=_0x185dbb,this['_localCacheService']=_0x18d3bf,this['_collaborationUIEventService']=_0x276aa2,this[_0x8a5279(0x39f)]=_0x5f5579,this[_0x8a5279(0x25a)]=_0x51ebd8,this[_0x8a5279(0x135)]=_0x5ca185,this['_setupBeforeClosingHandler'](),this[_0x8a5279(0x320)]();}['_setupBeforeClosingHandler'](){const _0x47f06f=_0x1a58e5;this[_0x47f06f(0x119)](this['_beforeCloseService'][_0x47f06f(0x16c)](()=>{const _0x24e26e=_0x47f06f;if(this[_0x24e26e(0x312)][_0x24e26e(0x2d8)][_0x24e26e(0x332)])return this['_localeService']['t'](_0x24e26e(0x316));}));}[_0x1a58e5(0x320)](){const _0x5016de=_0x1a58e5;this[_0x5016de(0x119)](this['_collaborationUIEventService'][_0x5016de(0x3f2)][_0x5016de(0x224)](_0x4c886e=>{const _0x3a11f0=_0x5016de;_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x3a11f0(0x197))}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x19b)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x140)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x259)),'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.permission.content'),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x37d)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t'](_0x3a11f0(0x35a)),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0x3a11f0(0x39f)]['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x4c886e[_0x3a11f0(0x3d8)]||'')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x238)]&&this['_messageService'][_0x3a11f0(0x265)]({'type':_0x96a8b5['MessageType'][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.session.will-retry')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x205)]&&this['_messageService']['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)]['Error'],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x139))}),_0x4c886e['id']===_0x35fa89['CollaborationUIEventId'][_0x3a11f0(0x146)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x14c)],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x26a))});}));}};_0x3a5ab5=_0x202e73([_0x215337(0x0,_0x161125[_0x1a58e5(0x1c6)]),_0x215337(0x1,_0x35fa89['ILocalCacheService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x269)])),_0x215337(0x3,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x4,_0x161125[_0x1a58e5(0x299)]),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x3a5ab5);let _0x1ccd84=(0x0,_0x2b0173['createIdentifier'])('uni.network.url-service'),_0x2dbe21=class extends _0x2b0173['RxDisposable']{constructor(_0x33a687,_0x503d74,_0x4729cc,_0x5bb035,_0x16907e){const _0x241a59=_0x1a58e5;super(),this[_0x241a59(0x397)]=_0x33a687,this[_0x241a59(0x3d6)]=_0x503d74,this[_0x241a59(0x2d5)]=_0x4729cc,this[_0x241a59(0x178)]=_0x5bb035,_0x16907e?_0x16907e==null||_0x16907e[_0x241a59(0x1ae)]()[_0x241a59(0x12c)](()=>this['_init']()):(this[_0x241a59(0x3d6)][_0x241a59(0x17f)](_0x241a59(0x114),_0x241a59(0x15b)),this['_init']());}async['_init'](){const _0x3fa58e=_0x1a58e5;let _0x532aa5=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x29f)),_0xe9598a=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x350)),_0x590ad6=this[_0x3fa58e(0x397)][_0x3fa58e(0x410)](_0x3fa58e(0x203));if(!_0x532aa5||!_0xe9598a){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x3fa58e(0x3f0));return;}let _0x66a0bb=await this[_0x3fa58e(0x178)][_0x3fa58e(0x123)](_0x532aa5,Number(_0xe9598a),_0x590ad6);_0x66a0bb&&_0x66a0bb instanceof _0x2b0173[_0x3fa58e(0x1dc)]&&this['_setupSubUnitSync'](_0x66a0bb);}async['_setupSubUnitSync'](_0x1502f0){const _0x84616e=_0x1a58e5;await this[_0x84616e(0x2fe)](_0x1502f0),_0x1502f0[_0x84616e(0x138)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](_0x34b824=>{_0x34b824&&this['_updateURLWithCurrentState'](_0x34b824);}),this['_urlService'][_0x84616e(0x328)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](()=>this[_0x84616e(0x2fe)](_0x1502f0));}[_0x1a58e5(0x1b3)](_0x4db077,_0x20cc43=!0x1){const _0x135fff=_0x1a58e5;let _0x1fe6d7=this[_0x135fff(0x397)]['getParam'](_0x135fff(0x203));_0x4db077[_0x135fff(0x3dc)]()!==_0x1fe6d7&&this['_urlService'][_0x135fff(0x288)](_0x135fff(0x203),_0x4db077[_0x135fff(0x3dc)](),_0x20cc43);}async[_0x1a58e5(0x2fe)](_0x396e24){const _0xecd83=_0x1a58e5;var _0x26e140;let _0x4ca536=this[_0xecd83(0x397)][_0xecd83(0x410)](_0xecd83(0x203));if(!_0x4ca536||!_0x396e24['getSheetBySheetId'](_0x4ca536)){let _0x37e315=_0x396e24[_0xecd83(0x35f)]()[0x0],_0x29f1d9=_0x396e24[_0xecd83(0x20c)](_0x37e315);if(!_0x29f1d9)return;this[_0xecd83(0x1b3)](_0x29f1d9,!0x0),await this['_commandService']['executeCommand'](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x37e315});return;}((_0x26e140=_0x396e24[_0xecd83(0x20d)]())==null?void 0x0:_0x26e140[_0xecd83(0x3dc)]())!==_0x4ca536&&await this[_0xecd83(0x2d5)][_0xecd83(0x37a)](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x4ca536});}};_0x2dbe21=_0x202e73([_0x215337(0x0,_0x1ccd84),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['DataLoaderService'])),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x287)])(_0x3ab178[_0x1a58e5(0x204)]))],_0x2dbe21);let _0x3f2545=class{constructor(_0x39cf4e,_0x3aa094){const _0x59e22c=_0x1a58e5;this[_0x59e22c(0x3aa)]=_0x39cf4e,this[_0x59e22c(0x1f1)]=_0x3aa094;}[_0x1a58e5(0x150)](_0x435f46){const _0x23b937=_0x1a58e5;this[_0x23b937(0x244)](_0x435f46),this[_0x23b937(0x1b7)](_0x435f46);}[_0x1a58e5(0x417)](_0x46b1d0){const _0x372158=_0x1a58e5;let {unitID:_0xdf5fdb}=_0x46b1d0,{redoCache:_0x4dbfcc}=this[_0x372158(0x1f1)][_0x372158(0x170)](_0xdf5fdb)[_0x372158(0x2e0)](_0x56f9a3[_0x372158(0x165)])[_0x372158(0x134)]();if(_0x4dbfcc[_0x372158(0x371)]===0x0)return _0x46b1d0;let _0x19ba44=_0x2b0173[_0x372158(0x20f)][_0x372158(0x403)](_0x46b1d0['mutations'][0x0]);for(let _0x450381=0x0;_0x450381<_0x4dbfcc[_0x372158(0x371)];_0x450381++){let _0x49d4a9={'id':_0x372158(0x37b),'params':{..._0x4dbfcc[_0x450381]}},_0x21351b=this[_0x372158(0x3aa)][_0x372158(0x22d)](_0x19ba44,_0x49d4a9,!0x1);if((0x0,_0xd76d4d[_0x372158(0x3a1)])(_0x21351b))throw _0x21351b[_0x372158(0x3cd)];_0x19ba44=_0x21351b[_0x372158(0x125)];}return{..._0x2b0173[_0x372158(0x20f)]['deepClone'](_0x46b1d0),'mutations':[_0x19ba44]};}['_transformUndoRedoStack'](_0x220513){const _0x2a8a89=_0x1a58e5;let {unitID:_0x416f5b}=_0x220513,_0x4aa108=this[_0x2a8a89(0x1f1)][_0x2a8a89(0x170)](_0x416f5b)[_0x2a8a89(0x2e0)](_0x56f9a3[_0x2a8a89(0x165)]),{undoCache:_0x42df81,redoCache:_0x3d6cc8}=_0x4aa108['getUndoRedoMutationParamsCache']();if(_0x42df81[_0x2a8a89(0x371)]===0x0||_0x3d6cc8[_0x2a8a89(0x371)]===0x0)return;let _0x2d5f99=[],_0x305d9f=[],_0x52142d=_0x2b0173[_0x2a8a89(0x20f)][_0x2a8a89(0x403)](_0x220513[_0x2a8a89(0x264)][0x0]),_0x5d39d7=_0x2b0173[_0x2a8a89(0x20f)]['deepClone'](_0x220513[_0x2a8a89(0x264)][0x0]);for(let _0x3afc48=_0x42df81[_0x2a8a89(0x371)]-0x1;_0x3afc48>=0x0;_0x3afc48--){let _0x304157={'id':_0x2a8a89(0x37b),'params':{..._0x42df81[_0x3afc48]}},_0x15c567={'id':_0x2a8a89(0x37b),'params':{..._0x3d6cc8[_0x3afc48]}},_0x218bc5=this[_0x2a8a89(0x3aa)][_0x2a8a89(0x22d)](_0x52142d,_0x304157,!0x1),_0x6f6141=this[_0x2a8a89(0x3aa)]['transformMutation'](_0x5d39d7,_0x15c567,!0x1);if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x218bc5))throw _0x218bc5[_0x2a8a89(0x3cd)];if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x6f6141))throw _0x6f6141[_0x2a8a89(0x3cd)];_0x2d5f99[_0x2a8a89(0x10f)](_0x218bc5['m2Prime']['params']),_0x305d9f[_0x2a8a89(0x10f)](_0x6f6141[_0x2a8a89(0x1a5)]['params']),_0x52142d=_0x218bc5[_0x2a8a89(0x125)],_0x5d39d7=_0x6f6141[_0x2a8a89(0x125)];}_0x4aa108[_0x2a8a89(0x236)]({'undoCache':_0x2d5f99,'redoCache':_0x305d9f});}[_0x1a58e5(0x1b7)](_0x338506){const _0x478014=_0x1a58e5;let {unitID:_0x41f66e}=_0x338506,_0xb700be=this[_0x478014(0x1f1)]['getRenderById'](_0x41f66e)[_0x478014(0x2e0)](_0x56f9a3[_0x478014(0x165)]),_0x32b7bd=_0xb700be['getActiveRange']();if(_0x32b7bd==null)return;let _0x45ce37=[{'id':_0x478014(0x37b),'params':{'unitId':_0x338506[_0x478014(0x3a0)],'actions':null,'textRanges':[_0x32b7bd]}}],_0x4db9eb=this['_transformService']['transformMutationsWithChangeset'](_0x338506,_0x45ce37);if(!(0x0,_0xd76d4d[_0x478014(0x12a)])(_0x4db9eb))throw _0x4db9eb[_0x478014(0x3cd)];let _0x2ebf6a=_0x4db9eb[_0x478014(0x1a5)][0x0][_0x478014(0x3fb)]['textRanges'];Array[_0x478014(0x3bc)](_0x2ebf6a)&&_0x2ebf6a[_0x478014(0x371)]&&_0xb700be['setActiveRange'](_0x2ebf6a[0x0]);}};_0x3f2545=_0x202e73([_0x215337(0x0,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)])],_0x3f2545);let _0x2875ec=class{constructor(_0x39f9a5,_0x363765,_0x2e5b02){const _0x40cc9b=_0x1a58e5;this[_0x40cc9b(0x412)]=_0x39f9a5,this['_transformService']=_0x363765,this[_0x40cc9b(0x124)]=_0x2e5b02;}['transformStateCache'](_0x2b4e29){const _0x4259c1=_0x1a58e5;this[_0x4259c1(0x253)](_0x2b4e29);}[_0x1a58e5(0x417)](_0x1be348){const _0x3fc910=_0x1a58e5;let {unitID:_0x9f5c6d}=_0x1be348,{collaboration:_0x40d9dc}=this[_0x3fc910(0x124)][_0x3fc910(0x30a)](_0x9f5c6d);if(_0x40d9dc[_0x3fc910(0x371)]===0x0)return _0x1be348;let _0x1a2d74=_0x2b0173['Tools']['deepClone'](_0x1be348[_0x3fc910(0x264)][0x0]);for(let _0x12e047=0x0;_0x12e047<_0x40d9dc[_0x3fc910(0x371)];_0x12e047++){let _0x53403f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d9dc[_0x12e047][_0x3fc910(0x268)],..._0x40d9dc[_0x12e047][_0x3fc910(0x366)]}},_0x104533=this['_transformService'][_0x3fc910(0x22d)](_0x1a2d74,_0x53403f,!0x1);if((0x0,_0xd76d4d[_0x3fc910(0x3a1)])(_0x104533))throw _0x104533[_0x3fc910(0x3cd)];_0x1a2d74=_0x104533[_0x3fc910(0x125)];}return{..._0x2b0173[_0x3fc910(0x20f)][_0x3fc910(0x403)](_0x1be348),'mutations':[_0x1a2d74]};}[_0x1a58e5(0x253)](_0x2684e4){const _0x4d27be=_0x1a58e5;let {unitID:_0x4e1fd3}=_0x2684e4,{history:_0x595ac5,collaboration:_0x15aa25}=this[_0x4d27be(0x124)][_0x4d27be(0x30a)](_0x4e1fd3);if(_0x595ac5['length']===0x0&&_0x15aa25[_0x4d27be(0x371)]===0x0)return;let _0x14280f=[],_0x51bcc5=[],_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x51f8eb=_0x595ac5[_0x4d27be(0x371)]-0x1;_0x51f8eb>=0x0;_0x51f8eb--){let _0xf9d72d={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb]['unitId'],..._0x595ac5[_0x51f8eb]['undoState']}},_0x121fcb={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb][_0x4d27be(0x268)],..._0x595ac5[_0x51f8eb]['redoState']}},_0x19fdf6=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0x3d0dba,_0xf9d72d,!0x1),_0x340094=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x121fcb,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x19fdf6))throw _0x19fdf6['error'];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x340094))throw _0x340094[_0x4d27be(0x3cd)];_0x14280f[_0x4d27be(0x10f)]({..._0x595ac5[_0x51f8eb],'undoState':_0x19fdf6[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x340094['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x19fdf6[_0x4d27be(0x125)],_0xe1edbd=_0x340094[_0x4d27be(0x125)];}_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x4221fb=_0x15aa25['length']-0x1;_0x4221fb>=0x0;_0x4221fb--){let _0x562f11={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['undoState']}},_0x272aa3={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['redoState']}},_0x342680=this[_0x4d27be(0x3aa)]['transformMutation'](_0x3d0dba,_0x562f11,!0x1),_0x2be9b3=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x272aa3,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x342680))throw _0x342680[_0x4d27be(0x3cd)];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x2be9b3))throw _0x2be9b3[_0x4d27be(0x3cd)];_0x51bcc5[_0x4d27be(0x10f)]({..._0x15aa25[_0x4221fb],'undoState':_0x342680[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x2be9b3['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x342680[_0x4d27be(0x125)],_0xe1edbd=_0x2be9b3[_0x4d27be(0x125)];}this[_0x4d27be(0x124)]['setStateCache'](_0x4e1fd3,{'history':_0x14280f,'collaboration':_0x51bcc5});}};_0x2875ec=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x395)]))],_0x2875ec);let _0x583759=class{constructor(_0x1cd0bd,_0x3a9287){const _0x4b3f15=_0x1a58e5;this[_0x4b3f15(0x412)]=_0x1cd0bd,this[_0x4b3f15(0x3aa)]=_0x3a9287;}[_0x1a58e5(0x289)](_0xadde0d){const _0x31f24f=_0x1a58e5;var _0xbab3f;let _0x3ff305=this[_0x31f24f(0x412)][_0x31f24f(0x1db)](_0x3ad445[_0x31f24f(0x196)]),_0x22e820=(_0xbab3f=_0x3ff305['getDocRanges']())==null?[]:_0xbab3f;if(_0x22e820[_0x31f24f(0x371)]===0x0)return;let _0x43524d=_0xadde0d[_0x31f24f(0x3a0)],_0x27826a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43524d,'actions':null,'textRanges':_0x22e820}}],_0x48c69e=this[_0x31f24f(0x3aa)][_0x31f24f(0x358)](_0xadde0d,_0x27826a);if(!(0x0,_0xd76d4d[_0x31f24f(0x12a)])(_0x48c69e))throw _0x48c69e['error'];let _0x2e2857=_0x48c69e['m2Prime'][0x0][_0x31f24f(0x3fb)]['textRanges'];Array[_0x31f24f(0x3bc)](_0x2e2857)&&_0x2e2857[_0x31f24f(0x371)]&&_0x3ff305['replaceDocRanges'](_0x2e2857,{'unitId':_0x43524d,'subUnitId':_0x43524d},!0x1);}};_0x583759=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d['ITransformService'])],_0x583759);let _0x4c54e4=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x36d1b5,_0x1c6737,_0x1f74d5,_0x9aa207,_0x45c679,_0x175a09,_0x261807){const _0x3ee91b=_0x1a58e5;super(),this[_0x3ee91b(0x191)]=_0x36d1b5,this['_docTransformIMECacheService']=_0x1c6737,this[_0x3ee91b(0x2b6)]=_0x1f74d5,this[_0x3ee91b(0x251)]=_0x9aa207,this[_0x3ee91b(0x276)]=_0x45c679,this[_0x3ee91b(0x39f)]=_0x175a09,this[_0x3ee91b(0x135)]=_0x261807,_0x42526d(this,_0x3ee91b(0x297),new _0xc05c0c[(_0x3ee91b(0x334))](_0x35fa89[_0x3ee91b(0x315)]['NOT_COLLAB'])),this[_0x3ee91b(0x212)]();}[_0x1a58e5(0x212)](){const _0x568f32=_0x1a58e5;this[_0x568f32(0x119)](this['_collaborationController']['entityInit$']['subscribe'](_0x11256e=>{const _0x378d7f=_0x568f32;_0x11256e instanceof _0x35fa89['DocCollaborationEntity']&&_0x11256e['addHandlerCallback']({'onTransformIME':_0xc215de=>this[_0x378d7f(0x23b)][_0x378d7f(0x150)](_0xc215de),'onTransformState':_0x4a83b3=>this[_0x378d7f(0x2b6)]['transformStateCache'](_0x4a83b3),'onTransformSelections':_0x14f8fb=>this[_0x378d7f(0x251)]['transformSelections'](_0x14f8fb),'onSyncEditingCollabCursor':_0x144f80=>this[_0x378d7f(0x276)][_0x378d7f(0x14e)](_0x144f80),'onTransformRemoteChangesetByIMECache':_0x2040f6=>this[_0x378d7f(0x23b)]['transformRemoteChangeset'](_0x2040f6),'onTransformRemoteChangesetByStateCache':_0x4f6bf3=>this[_0x378d7f(0x2b6)][_0x378d7f(0x417)](_0x4f6bf3)});}));}};_0x4c54e4=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3e0)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3f2545)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2875ec)),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x583759)),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x50b94c)),_0x215337(0x5,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x6,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x4c54e4);let _0x36cace=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x32b9c4,_0x539fc0,_0x4d0c77,_0x3961d6){const _0x341621=_0x1a58e5;super(),this[_0x341621(0x412)]=_0x32b9c4,this[_0x341621(0x255)]=_0x539fc0,this['_logService']=_0x4d0c77,this[_0x341621(0x16d)]=_0x3961d6,_0x42526d(this,_0x341621(0x2e9),void 0x0),this['_init']();}[_0x1a58e5(0x1ec)](){const _0x3ea77d=_0x1a58e5;this[_0x3ea77d(0x221)](),this[_0x3ea77d(0x2c5)](),this['_monkeyPatchLogService'](),this[_0x3ea77d(0x3d2)]();}[_0x1a58e5(0x3d2)](){const _0x2151d1=_0x1a58e5;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x2151d1(0x224)](_0x3962b0=>{const _0x51dcd3=_0x2151d1;this[_0x51dcd3(0x2e9)]=_0x3962b0==null?void 0x0:_0x3962b0[_0x51dcd3(0x3f6)];}));}[_0x1a58e5(0x221)](){const _0x265d0b=_0x1a58e5;let _0xb2d539=_0x4e30a5=>{const _0x56ab8f=_0x7aae;var _0x58f585;this[_0x56ab8f(0x1b5)](_0x56ab8f(0x3cd),_0x56ab8f(0x266)+_0x4e30a5[_0x56ab8f(0x321)]+_0x56ab8f(0x33d)+_0x4e30a5['filename']+':'+_0x4e30a5[_0x56ab8f(0x2f6)]+':'+_0x4e30a5[_0x56ab8f(0x3c0)]+'\x0a'+(((_0x58f585=_0x4e30a5[_0x56ab8f(0x3cd)])==null?void 0x0:_0x58f585[_0x56ab8f(0x1a8)])||''));};window['addEventListener'](_0x265d0b(0x3cd),_0xb2d539),this[_0x265d0b(0x119)](()=>{const _0x2ae11c=_0x265d0b;window[_0x2ae11c(0x22e)]('error',_0xb2d539);});}[_0x1a58e5(0x2c5)](){const _0x2a0533=_0x1a58e5;let _0x566ff6=_0x5ba781=>{const _0x20ccc1=_0x7aae;this['_uploadLog'](_0x20ccc1(0x3cd),_0x20ccc1(0x19e)+_0x5ba781[_0x20ccc1(0x3bd)]);};window[_0x2a0533(0x219)](_0x2a0533(0x18f),_0x566ff6),this[_0x2a0533(0x119)](()=>{const _0x53ca11=_0x2a0533;window[_0x53ca11(0x22e)](_0x53ca11(0x18f),_0x566ff6);});}[_0x1a58e5(0x398)](){const _0x3b1809=_0x1a58e5;let _0x400070=this[_0x3b1809(0x3d6)]['error'][_0x3b1809(0x3d9)](this[_0x3b1809(0x3d6)]);this[_0x3b1809(0x3d6)][_0x3b1809(0x3cd)]=(..._0x219e8f)=>{const _0x3e9742=_0x3b1809;let _0x399c19=_0x219e8f[_0x3e9742(0x230)](_0x56ee83=>_0x56ee83 instanceof Error?_0x56ee83[_0x3e9742(0x321)]+'\x0a'+_0x56ee83['stack']:String(_0x56ee83))[_0x3e9742(0x3f1)]('\x20');this['_uploadLog'](_0x3e9742(0x3cd),_0x3e9742(0x1d0)+_0x399c19),_0x400070(..._0x219e8f);},this['disposeWithMe'](()=>{const _0x5e525e=_0x3b1809;this['_logService'][_0x5e525e(0x3cd)]=_0x400070;});}[_0x1a58e5(0x1b5)](_0x141760,_0x16507c){const _0x411b5d=_0x1a58e5;try{let _0x713851={'userId':this[_0x411b5d(0x2e9)],'logLabel':_0x141760,'content':_0x16507c};this[_0x411b5d(0x255)][_0x411b5d(0x387)](_0x411b5d(0x291),{'body':_0x713851})['catch'](()=>{});}catch{}}};_0x36cace=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x35fa89[_0x1a58e5(0x122)]))],_0x36cace);function _0x43b16e(_0x5b90eb){const _0x180376=_0x1a58e5;var _0x1b6d80,_0x1bea0f;let _0x2b7d79=(_0x1b6d80=_0x5b90eb['stageInfo'])==null?void 0x0:_0x1b6d80[_0x180376(0x3ed)],_0x950fea=((_0x1bea0f=_0x5b90eb[_0x180376(0x15d)])==null?void 0x0:_0x1bea0f[_0x180376(0x3f9)])||0x0;return _0x2b7d79===_0x170b1c['FormulaExecuteStageType']['START_CALCULATION']&&_0x950fea>0x0;}function _0x59acf9(_0x2413a3){const _0x350155=_0x1a58e5;return _0x2413a3['functionsExecutedState']===_0x170b1c[_0x350155(0x1f7)][_0x350155(0x2ad)];}let _0x15068b=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x4f21cf,_0x7ed08c,_0x1c45c7,_0x569fd2,_0x52dabe,_0x34b35f,_0x2c2439){const _0x3e0306=_0x1a58e5;super(),this[_0x3e0306(0x39f)]=_0x4f21cf,this[_0x3e0306(0x2d5)]=_0x7ed08c,this[_0x3e0306(0x2ac)]=_0x1c45c7,this[_0x3e0306(0x255)]=_0x569fd2,this[_0x3e0306(0x3e5)]=_0x52dabe,this[_0x3e0306(0x3d6)]=_0x34b35f,this[_0x3e0306(0x135)]=_0x2c2439,_0x42526d(this,_0x3e0306(0x1ff),null),_0x42526d(this,_0x3e0306(0x3af),0x0),_0x42526d(this,'_currentUsage',0x0),_0x42526d(this,'_taskIds',[]),_0x42526d(this,_0x3e0306(0x18c),0x0),this['_initCommandInterceptor']();}[_0x1a58e5(0x21f)](){const _0x2e8579=_0x1a58e5;this[_0x2e8579(0x119)](this[_0x2e8579(0x2d5)][_0x2e8579(0x2ce)]((_0x126226,_0x1769ad)=>{const _0x4b7be4=_0x2e8579;var _0x2090cc;if(_0x126226['id']!==_0x170b1c[_0x4b7be4(0x2e6)]['id'])return;let _0x372619=_0x126226[_0x4b7be4(0x3fb)];if(this['_hasFormulaInDirtyRanges']((_0x2090cc=_0x372619[_0x4b7be4(0x1d3)])==null?[]:_0x2090cc)&&!this['_checkCalculationAvailable']())throw this[_0x4b7be4(0x2e8)](_0x126226,_0x1769ad),this[_0x4b7be4(0x38d)](),new _0x2b0173[(_0x4b7be4(0x319))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x24aec5,_0x108cfe)=>{const _0x27a893=_0x2e8579;if(_0x24aec5['id']!==_0x170b1c[_0x27a893(0x25b)]['id'])return;let _0x17a8d5=_0x24aec5[_0x27a893(0x3fb)];if(_0x43b16e(_0x17a8d5)){let _0x52731b=(0x0,_0x2b0173[_0x27a893(0x1b9)])();this['_taskIds'][_0x27a893(0x285)](_0x52731b),this[_0x27a893(0x137)](_0x52731b);}else{if(_0x59acf9(_0x17a8d5)&&this[_0x27a893(0x3bb)]['length']>0x0){let _0x52cc7a=this[_0x27a893(0x3bb)][_0x27a893(0x19c)]();this[_0x27a893(0x343)](_0x52cc7a);}}}));}['dispose'](){const _0x3a5b2f=_0x1a58e5;super['dispose'](),this[_0x3a5b2f(0x187)](),this[_0x3a5b2f(0x3bb)]=[],this[_0x3a5b2f(0x3a9)]=0x0,this[_0x3a5b2f(0x3af)]=0x0,this[_0x3a5b2f(0x18c)]=0x0;}async[_0x1a58e5(0x2e8)](_0x345f28,_0x557750){const _0x5d99eb=_0x1a58e5;for(let _0x3d1521=0x0;_0x3d1521<0x1e;_0x3d1521++)try{if(await this[_0x5d99eb(0x2b2)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x345f28,_0x557750),this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this[_0x5d99eb(0x135)]['t'](_0x5d99eb(0x411)),'type':_0x96a8b5[_0x5d99eb(0x2ff)][_0x5d99eb(0x301)]});return;}await new Promise(_0x120fcc=>{const _0x3d81f7=_0x5d99eb;this[_0x3d81f7(0x1ff)]=window[_0x3d81f7(0x3de)](_0x120fcc,0x3e8);});}catch(_0x348b18){this[_0x5d99eb(0x3d6)][_0x5d99eb(0x3cd)](_0x348b18);}this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this['_localeService']['t'](_0x5d99eb(0x2cc)),'type':_0x96a8b5['MessageType'][_0x5d99eb(0x14c)]});}[_0x1a58e5(0x10d)](_0x8f68b7,_0x244b1b){const _0x29c3f4=_0x1a58e5;try{this['_commandService'][_0x29c3f4(0x37a)](_0x8f68b7['id'],_0x8f68b7[_0x29c3f4(0x3fb)],_0x244b1b);}catch(_0x504b82){this['_logService'][_0x29c3f4(0x3cd)](_0x504b82);}}[_0x1a58e5(0x142)](_0x22cddb,_0x3dac2d){const _0xa3ab06=_0x1a58e5;_0x3dac2d<this['_lastResponseTimestamp']||(this[_0xa3ab06(0x18c)]=_0x3dac2d,this[_0xa3ab06(0x3af)]=Number[_0xa3ab06(0x23a)](_0x22cddb[_0xa3ab06(0x1ed)]),this['_currentUsage']=Number['parseInt'](_0x22cddb['currentUsage']));}async[_0x1a58e5(0x137)](_0x35bdbd){const _0xb163f6=_0x1a58e5;let _0x213e39=Date[_0xb163f6(0x33c)]();try{var _0x1ab2e4,_0x5f4f1d;let _0x38c2bd=((_0x1ab2e4=this[_0xb163f6(0x2ac)]['getConfig'](_0x35fa89[_0xb163f6(0x108)]))==null?void 0x0:_0x1ab2e4[_0xb163f6(0x1bb)])||_0xb163f6(0x100),_0x29b52b=(await this['_httpService'][_0xb163f6(0x387)](_0x38c2bd,{'body':JSON['stringify']({'taskId':_0x35bdbd})}))[_0xb163f6(0x2b3)];if(((_0x5f4f1d=_0x29b52b[_0xb163f6(0x3cd)])==null?void 0x0:_0x5f4f1d[_0xb163f6(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0xb163f6(0x142)](_0x29b52b[_0xb163f6(0x227)],_0x213e39);}catch(_0x3f14ad){this[_0xb163f6(0x3d6)]['error'](_0x3f14ad);}}async[_0x1a58e5(0x2b2)](_0x32b690){const _0x26fdcf=_0x1a58e5;let _0x27ff19=Date['now']();try{var _0x38043e,_0x50c4c6;let _0x1a5435=((_0x38043e=this[_0x26fdcf(0x2ac)]['getConfig'](_0x35fa89[_0x26fdcf(0x108)]))==null?void 0x0:_0x38043e[_0x26fdcf(0x3ee)])||_0x26fdcf(0x382),_0x53876f=_0x32b690?_0x1a5435+_0x26fdcf(0x254)+encodeURIComponent(_0x32b690):_0x1a5435,_0x6ac372=(await this['_httpService'][_0x26fdcf(0x1db)](_0x53876f))[_0x26fdcf(0x2b3)];if(((_0x50c4c6=_0x6ac372[_0x26fdcf(0x3cd)])==null?void 0x0:_0x50c4c6[_0x26fdcf(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x26fdcf(0x142)](_0x6ac372[_0x26fdcf(0x227)],_0x27ff19);}catch(_0x2da344){this['_logService'][_0x26fdcf(0x3cd)](_0x2da344);}}async[_0x1a58e5(0x343)](_0x2b74df){const _0x331970=_0x1a58e5;let _0x4d8701=Date[_0x331970(0x33c)]();try{var _0x54e6d5,_0xc40a5f;let _0x387e21=((_0x54e6d5=this[_0x331970(0x2ac)][_0x331970(0x2c1)](_0x35fa89[_0x331970(0x108)]))==null?void 0x0:_0x54e6d5[_0x331970(0x372)])||_0x331970(0x216),_0x1396ab=(await this[_0x331970(0x255)]['post'](_0x387e21,{'body':JSON[_0x331970(0x249)]({'taskId':_0x2b74df})}))[_0x331970(0x2b3)];if(((_0xc40a5f=_0x1396ab['error'])==null?void 0x0:_0xc40a5f[_0x331970(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x331970(0x142)](_0x1396ab[_0x331970(0x227)],_0x4d8701);}catch(_0x4457d1){this[_0x331970(0x3d6)][_0x331970(0x3cd)](_0x4457d1);}}[_0x1a58e5(0x2d0)](){const _0x31e091=_0x1a58e5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x31e091(0x3af)]-this[_0x31e091(0x3a9)]>0x0;}[_0x1a58e5(0x187)](){const _0x435767=_0x1a58e5;this[_0x435767(0x1ff)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1a58e5(0x38d)](){const _0x320760=_0x1a58e5;this['_messageService'][_0x320760(0x265)]({'content':this[_0x320760(0x135)]['t'](_0x320760(0x3b6)),'type':_0x96a8b5['MessageType'][_0x320760(0x2bd)]});}[_0x1a58e5(0x2fd)](_0x4fe9b0){const _0x170612=_0x1a58e5;for(let _0x330af3 of _0x4fe9b0){let {unitId:_0x1ace26,sheetId:_0xefedf1,range:_0x1a3965}=_0x330af3,_0x58c16e=this['_univerInstanceService']['getUnit'](_0x1ace26);if(!_0x58c16e)continue;let _0x484c30=_0x58c16e[_0x170612(0x20c)](_0xefedf1);if(!_0x484c30)continue;let _0x4c00bf=_0x484c30[_0x170612(0x277)]();for(let _0x5ee622=_0x1a3965[_0x170612(0x30b)];_0x5ee622<=_0x1a3965['endRow'];_0x5ee622++)for(let _0x25a929=_0x1a3965[_0x170612(0x2b0)];_0x25a929<=_0x1a3965[_0x170612(0x341)];_0x25a929++){let _0x27ca54=_0x4c00bf['getValue'](_0x5ee622,_0x25a929);if(_0x27ca54&&((0x0,_0x2b0173['isFormulaString'])(_0x27ca54['f'])||(0x0,_0x2b0173[_0x170612(0x12f)])(_0x27ca54['si'])))return!0x0;}}return!0x1;}};_0x15068b=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x161125[_0x1a58e5(0x32b)])),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x4,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x5,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x6,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x15068b);let _0x54825a=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x5b294b,_0x1a310a,_0xc697d8){const _0x4e5f10=_0x1a58e5;super(),this['_configService']=_0x5b294b,this[_0x4e5f10(0x2f7)]=_0x1a310a,this[_0x4e5f10(0x369)]=_0xc697d8,_0x42526d(this,'_cachedData',new Map()),_0x42526d(this,_0x4e5f10(0x1de),new Map()),_0x42526d(this,'_disabled',!0x1);}['disableLocalCache'](){const _0x14c958=_0x1a58e5;this[_0x14c958(0x2e3)]=!0x0;}[_0x1a58e5(0x305)](){const _0x4504de=_0x1a58e5;this[_0x4504de(0x2e3)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1a58e5(0x34f)](){const _0x52b52c=_0x1a58e5;this[_0x52b52c(0x384)]()['then'](()=>super['dispose']());}async[_0x1a58e5(0x11a)](_0x2ad414){const _0x1fa5c3=_0x1a58e5;return this['_disabled']?null:this[_0x1fa5c3(0x2f7)]['getItem']((0x0,_0x35fa89[_0x1fa5c3(0x273)])(_0x2ad414));}async[_0x1a58e5(0x3b9)](_0x10b76b,_0x128b57){const _0x55cdb0=_0x1a58e5;return!!this[_0x55cdb0(0x2f7)][_0x55cdb0(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x10b76b),_0x128b57);}async[_0x1a58e5(0x248)](_0x18862f,_0x1b97f1){const _0x26b690=_0x1a58e5;var _0x5060d6;let _0x266654=(_0x5060d6=this[_0x26b690(0x31e)][_0x26b690(0x1db)](_0x18862f))==null?await this[_0x26b690(0x2f7)]['getItem']((0x0,_0x35fa89[_0x26b690(0x273)])(_0x18862f)):_0x5060d6;if(!_0x266654)return;let _0x7e7dd8=Date[_0x26b690(0x33c)](),_0x369aa4=new Date(_0x7e7dd8)[_0x26b690(0x32f)]();await this[_0x26b690(0x2f7)][_0x26b690(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x18862f)+_0x26b690(0x13d)+_0x7e7dd8,{'reason':_0x1b97f1,'createdAt':_0x369aa4,'data':_0x266654});}[_0x1a58e5(0x329)](_0x4068da,_0x4f06a6,_0xde1b70,_0x22b819){const _0x3b7176=_0x1a58e5;let _0x247c8f=this[_0x3b7176(0x369)][_0x3b7176(0x201)](_0x4068da);this['_cachedData'][_0x3b7176(0x148)](_0x4068da,{'unitID':_0x4068da,'type':_0x4f06a6,'awaitingChangeset':_0xde1b70,'mutations':_0x22b819,'rev':_0x247c8f}),this[_0x3b7176(0x1de)][_0x3b7176(0x2c2)](_0x4068da)||this['_scheduleSaving'](_0x4068da);}[_0x1a58e5(0x2a7)](_0x2769f7){const _0x50e2be=_0x1a58e5;let _0x509e94=this[_0x50e2be(0x1e4)]();_0x509e94===0x0?this[_0x50e2be(0x1d8)](_0x2769f7):this[_0x50e2be(0x1de)][_0x50e2be(0x148)](_0x2769f7,window[_0x50e2be(0x3de)](()=>this['_saveCache'](_0x2769f7),_0x509e94));}[_0x1a58e5(0x1e4)](){const _0x319b48=_0x1a58e5;var _0xe927cc;return(_0xe927cc=this['_configService']['getConfig'](_0x35fa89[_0x319b48(0x2d3)]))==null?_0x35fa89[_0x319b48(0x353)]:_0xe927cc;}[_0x1a58e5(0x1d8)](_0x119d7d){const _0x37e300=_0x1a58e5;let _0x584dc6=this['_saveTaskMap'][_0x37e300(0x1db)](_0x119d7d);return _0x584dc6!==void 0x0&&window[_0x37e300(0x12b)](_0x584dc6),this[_0x37e300(0x2f7)][_0x37e300(0x344)]((0x0,_0x35fa89[_0x37e300(0x273)])(_0x119d7d),this[_0x37e300(0x31e)][_0x37e300(0x1db)](_0x119d7d))['then'](()=>this[_0x37e300(0x1de)][_0x37e300(0x182)](_0x119d7d));}async['exhaustSavingTask'](){const _0x2c524d=_0x1a58e5;let _0x3d21c9=[];this['_saveTaskMap'][_0x2c524d(0xff)]((_0x5c5382,_0x179c61)=>{const _0x127991=_0x2c524d;window['clearTimeout'](_0x5c5382),_0x3d21c9[_0x127991(0x285)](this[_0x127991(0x1d8)](_0x179c61)['then'](()=>{const _0x2f5947=_0x127991;this[_0x2f5947(0x1de)][_0x2f5947(0x182)](_0x179c61);}));}),await Promise[_0x2c524d(0x378)](_0x3d21c9);}};_0x54825a=_0x202e73([_0x215337(0x0,_0x2b0173['IConfigService']),_0x215337(0x1,_0x2b0173['ILocalStorageService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0xd76d4d[_0x1a58e5(0x1a4)]))],_0x54825a);var _0x55ff9c=class extends _0x2b0173['RxDisposable']{constructor(){const _0x171b72=_0x1a58e5;super(),_0x42526d(this,_0x171b72(0x328),void 0x0),this[_0x171b72(0x328)]=(0x0,_0xc05c0c[_0x171b72(0x3dd)])(window,_0x171b72(0x32d))[_0x171b72(0x154)]((0x0,_0xc05c0c[_0x171b72(0x1d1)])(this[_0x171b72(0x195)]),(0x0,_0xc05c0c['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0xc05c0c['mapTo'])(void 0x0));}['setParam'](_0xa744f0,_0x26cdd4,_0x31efe5=!0x1){const _0x4365e3=_0x1a58e5;let _0xc4e830=new URL(window[_0x4365e3(0x286)][_0x4365e3(0x15a)]);_0xc4e830[_0x4365e3(0x28c)][_0x4365e3(0x148)](_0xa744f0,_0x26cdd4),_0x31efe5?window[_0x4365e3(0x27c)]['replaceState']('','',_0xc4e830[_0x4365e3(0x3d4)]()):window[_0x4365e3(0x27c)][_0x4365e3(0x172)]('','',_0xc4e830[_0x4365e3(0x3d4)]());}[_0x1a58e5(0x37c)](_0x4edd96,_0x3f1071=!0x1){const _0x1a0802=_0x1a58e5;let _0x1b4219=new URL(window[_0x1a0802(0x286)][_0x1a0802(0x15a)]);_0x1b4219[_0x1a0802(0x28c)][_0x1a0802(0x182)](_0x4edd96),_0x3f1071?window['history']['replaceState']('','',_0x1b4219['toString']()):window['history']['pushState']('','',_0x1b4219[_0x1a0802(0x3d4)]());}['getParam'](_0x19648a){const _0x17f864=_0x1a58e5;var _0x1426a7;return(_0x1426a7=new URL(window[_0x17f864(0x286)][_0x17f864(0x15a)])[_0x17f864(0x28c)][_0x17f864(0x1db)](_0x19648a))==null?void 0x0:_0x1426a7;}};let _0x24efbb=class extends _0x2b0173['Plugin']{constructor(_0x4e056c=_0x494f70,_0x52e43f,_0xbb52d,_0x32819b){const _0x3c4470=_0x1a58e5;super(),this[_0x3c4470(0x1a2)]=_0x4e056c,this[_0x3c4470(0x1f1)]=_0x52e43f,this[_0x3c4470(0x412)]=_0xbb52d,this[_0x3c4470(0x2ac)]=_0x32819b;let {..._0x23e066}=(0x0,_0x2b0173[_0x3c4470(0x10c)])({},_0x494f70,this[_0x3c4470(0x1a2)]);this[_0x3c4470(0x2ac)][_0x3c4470(0x2a5)](_0x3c4470(0x110),_0x23e066);}[_0x1a58e5(0x368)](){const _0x5651be=_0x1a58e5;this[_0x5651be(0x308)](),this['_initDependencies']();}['onRendered'](){const _0x18ad66=_0x1a58e5;this[_0x18ad66(0x107)]();}[_0x1a58e5(0x308)](){const _0xeb28b9=_0x1a58e5;var _0x19a508;let _0x562306=[[_0x2fe220],[_0x15068b],[_0x1ccd84,{'useClass':_0x55ff9c}],[_0x5499b2[_0xeb28b9(0x2a0)],{'useClass':_0x5499b2[_0xeb28b9(0x225)]}],[_0x35fa89[_0xeb28b9(0x128)],{'useClass':_0x54825a}],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x5077b],[_0x2dbe21]];this[_0xeb28b9(0x1a2)][_0xeb28b9(0x109)]!==!0x1&&_0x562306[_0xeb28b9(0x285)]([_0x583759],[_0x3f2545],[_0x2875ec],[_0x50b94c],[_0x4c54e4],[_0x5b162a]),this['_config']['enableFrontendLog']&&_0x562306[_0xeb28b9(0x285)]([_0x36cace]),(0x0,_0x2b0173[_0xeb28b9(0x222)])(this[_0xeb28b9(0x412)],(0x0,_0x2b0173[_0xeb28b9(0x324)])(_0x562306,(_0x19a508=this[_0xeb28b9(0x1a2)])==null?void 0x0:_0x19a508['override']));}[_0x1a58e5(0x107)](){const _0x30020b=_0x1a58e5;this['_config']['enableDocumentCollaborationUI']!==!0x1&&this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x2b0173['UniverInstanceType'][_0x30020b(0x313)],[_0x2ec85a])),this[_0x30020b(0x119)](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x104)],[_0x31b326])),this[_0x30020b(0x119)](this['_renderManagerService']['registerRenderModule'](_0x2b0173[_0x30020b(0x102)]['UNIVER_SLIDE'],[_0x85e88f])),this['disposeWithMe'](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x217)],[_0x57e97e]));}[_0x1a58e5(0x2a2)](){const _0x300382=_0x1a58e5;(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x5077b],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x2dbe21],[_0x15068b]]),this[_0x300382(0x1a2)][_0x300382(0x109)]!==!0x1&&(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x4c54e4],[_0x5b162a]]),this[_0x300382(0x1a2)][_0x300382(0x17d)]&&(0x0,_0x2b0173[_0x300382(0x13a)])(this['_injector'],[[_0x36cace]]);}};_0x42526d(_0x24efbb,_0x1a58e5(0x374),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x42526d(_0x24efbb,_0x1a58e5(0x223),_0x546ec3),_0x42526d(_0x24efbb,_0x1a58e5(0x318),_0x5d8e38),_0x24efbb=_0x202e73([(0x0,_0x2b0173[_0x1a58e5(0x383)])(_0x35fa89[_0x1a58e5(0x256)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)]),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x2a1)])],_0x24efbb);let _0x37fffa=class extends _0x35fa89[_0x1a58e5(0x144)]{constructor(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6){super(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6);}async[_0x1a58e5(0x17c)](_0x5839cd){const _0x504d68=_0x1a58e5;let _0x2840de=await this['_getSessionTicket'](),_0x363042=this[_0x504d68(0x26d)](_0x5839cd,_0x2840de);return this[_0x504d68(0x1e0)](_0x363042);}[_0x1a58e5(0x26d)](_0x384a1b,_0x2d37eb){const _0x3b860a=_0x1a58e5;let _0x151a48=typeof window>'u'?new URL(_0x384a1b):new URL(_0x384a1b,window['location'][_0x3b860a(0x2d9)]);_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x129),_0x2d37eb);let _0x463c0b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3b860a(0x286)][_0x3b860a(0x211)]);return _0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))&&_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x31d),_0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))),_0x151a48['toString']();}async[_0x1a58e5(0x1b8)](){const _0x273069=_0x1a58e5;var _0x3e84b5,_0x35c0c2,_0x232bef;let _0x4c042c=this[_0x273069(0x2ac)][_0x273069(0x2c1)](_0x35fa89[_0x273069(0x108)]),_0x8920ef=(_0x3e84b5=_0x4c042c==null?void 0x0:_0x4c042c[_0x273069(0x27d)])==null?_0x35fa89['DEFAULT_WS_SESSION_TICKET_URL']:_0x3e84b5;return(_0x35c0c2=(_0x232bef=(await this[_0x273069(0x255)][_0x273069(0x1db)](_0x8920ef,{'headers':{'Content-Type':_0x273069(0x36b)}}))[_0x273069(0x2b3)])==null?void 0x0:_0x232bef[_0x273069(0x3c6)])==null?'':_0x35c0c2;}};_0x37fffa=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2['HTTPService'])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x4,_0xd76d4d[_0x1a58e5(0x159)])],_0x37fffa);let _0x124024=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x504b27,_0x16f56e,_0x27bd9e){const _0x4b5e5a=_0x1a58e5;super(),this[_0x4b5e5a(0x176)]=_0x504b27,this[_0x4b5e5a(0x255)]=_0x16f56e,this['_configService']=_0x27bd9e;}async[_0x1a58e5(0x105)](_0x76f06d,_0x291ca3,_0xefdff2,..._0x48e3c5){const _0x5cadf8=_0x1a58e5;var _0xf7eecf,_0x410231,_0x7d9256,_0x12974e;let _0x3f2817=this[_0x5cadf8(0x176)][_0x5cadf8(0x215)]();if(!_0x3f2817)throw Error(_0x5cadf8(0x1f2));let _0x178624=((_0xf7eecf=this[_0x5cadf8(0x2ac)][_0x5cadf8(0x2c1)](_0x35fa89[_0x5cadf8(0x345)]))==null?_0x35fa89[_0x5cadf8(0x406)]:_0xf7eecf)+'/'+_0x76f06d+_0x5cadf8(0x20e)+_0x291ca3,_0x1d9916={'scriptId':_0x76f06d,'runId':(_0x410231=new URL(window['location'][_0x5cadf8(0x15a)])['searchParams']['get'](_0x5cadf8(0x31d)))==null?'':_0x410231,'function':_0x291ca3,'unitId':_0x3f2817[_0x5cadf8(0x36d)](),'argsOfFunction':JSON[_0x5cadf8(0x249)](_0x48e3c5),'invokeId':(_0x7d9256=_0xefdff2[_0x5cadf8(0x22b)])==null?'':_0x7d9256,'executionId':(_0x12974e=_0xefdff2[_0x5cadf8(0x1b0)])==null?'':_0x12974e};try{let _0x1b1ed8=await this[_0x5cadf8(0x255)][_0x5cadf8(0x387)](_0x178624,{'body':_0x1d9916});return _0x1b1ed8['body']['error']&&_0x1b1ed8[_0x5cadf8(0x2b3)][_0x5cadf8(0x3cd)][_0x5cadf8(0x2be)]!==_0x2e0273[_0x5cadf8(0x113)]['OK']?_0x5cadf8(0x179):_0x1b1ed8['body'][_0x5cadf8(0x240)];}catch{return _0x5cadf8(0x179);}}};_0x124024=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173['IConfigService'])],_0x124024);let _0x5bfddd=0x7530,_0x10b693='ACTIVE_UNIT_EVENT_CHANNEL';var _0x5a01e1=class extends _0x2b0173['Disposable']{constructor(){const _0xc5afa7=_0x1a58e5;super(),_0x42526d(this,_0xc5afa7(0x3a5),(0x0,_0x2b0173[_0xc5afa7(0x1b9)])()),_0x42526d(this,_0xc5afa7(0x1c9),new Set()),_0x42526d(this,'_unitOnClients',new Map()),_0x42526d(this,_0xc5afa7(0x131),null),_0x42526d(this,'_clearOtherTimers',new Map()),_0x42526d(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x3352ff=_0x1a58e5;super['dispose'](),this[_0x3352ff(0x2cb)]['forEach']((_0x297acf,_0x2ac88a)=>this[_0x3352ff(0x29e)](_0x2ac88a)),this['_heartbeatTimer']&&window[_0x3352ff(0x40f)](this[_0x3352ff(0x131)]);}[_0x1a58e5(0x116)](_0x517761){const _0x3c4e91=_0x1a58e5;return this['_ensureSubject'](_0x517761)[_0x3c4e91(0x154)]((0x0,_0xc05c0c[_0x3c4e91(0x342)])());}[_0x1a58e5(0x338)](_0x5cb948){const _0x3b8932=_0x1a58e5;this[_0x3b8932(0x1c9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3b8932(0x1c9)]['add'](_0x5cb948),this[_0x3b8932(0x242)]({'type':0x0,'memberID':this[_0x3b8932(0x3a5)],'unitIDs':[_0x5cb948],'isForwarded':!0x1});}[_0x1a58e5(0x17b)](_0x12fa77){const _0xfe222=_0x1a58e5;this[_0xfe222(0x1c9)][_0xfe222(0x182)](_0x12fa77),this['_selfUnitIDs'][_0xfe222(0x332)]===0x0&&this[_0xfe222(0x131)]&&window[_0xfe222(0x40f)](this['_heartbeatTimer']);}['_init'](){const _0x2819ea=_0x1a58e5;this['disposeWithMe']((0x0,_0x2b0173[_0x2819ea(0x399)])((0x0,_0xc05c0c[_0x2819ea(0x3dd)])(window,_0x2819ea(0x402))[_0x2819ea(0x224)](_0x41941b=>{const _0x477879=_0x2819ea;if(_0x41941b[_0x477879(0x2cd)]!==_0x10b693||!_0x41941b[_0x477879(0x25c)])return;let _0x5857f0=JSON['parse'](_0x41941b[_0x477879(0x25c)]);this[_0x477879(0x3fd)](_0x5857f0);}))),window[_0x2819ea(0x219)]('unload',()=>this[_0x2819ea(0x242)]({'type':0x1,'memberID':this[_0x2819ea(0x3a5)],'unitIDs':Array[_0x2819ea(0x2bb)](this[_0x2819ea(0x1c9)])}));}['_handleEvent'](_0x5cb023){const _0x53ac1f=_0x1a58e5;switch(_0x5cb023[_0x53ac1f(0x350)]){case 0x0:this['_handleJoinEvent'](_0x5cb023);break;case 0x1:this[_0x53ac1f(0x127)](_0x5cb023);break;case 0x2:this[_0x53ac1f(0x1ad)](_0x5cb023);break;}}[_0x1a58e5(0x3d1)](_0x22f4ef){const _0x495808=_0x1a58e5;let {unitIDs:_0x55c31f,memberID:_0x5bdc42,isForwarded:_0x855e19}=_0x22f4ef;_0x55c31f['forEach'](_0x4fca97=>{const _0x24e2eb=_0x7aae;if(!_0x855e19&&this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)&&this[_0x24e2eb(0x1b1)](_0x4fca97)['next'](_0x35fa89[_0x24e2eb(0x3c4)][_0x24e2eb(0x16a)]),!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)||!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)['has'](_0x5bdc42)){let _0x1ec68a=this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)||new Set();_0x1ec68a['add'](_0x5bdc42),this[_0x24e2eb(0x2c7)][_0x24e2eb(0x148)](_0x4fca97,_0x1ec68a),this[_0x24e2eb(0x337)](_0x5bdc42);}}),_0x855e19||this['_send']({'type':0x0,'memberID':this[_0x495808(0x3a5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a58e5(0x337)](_0x327b0b){const _0x48cc8f=_0x1a58e5;this[_0x48cc8f(0x29e)](_0x327b0b);let _0x1f06a8=window[_0x48cc8f(0x3de)](()=>{const _0xf70d92=_0x48cc8f;this[_0xf70d92(0x2c7)][_0xf70d92(0xff)](_0x2e11c4=>{const _0x17283e=_0xf70d92;_0x2e11c4[_0x17283e(0x182)](_0x327b0b);});},_0x5bfddd*0x2);this['_clearOtherTimers'][_0x48cc8f(0x148)](_0x327b0b,_0x1f06a8);}[_0x1a58e5(0x29e)](_0xcdb2a2){const _0x507515=_0x1a58e5;if(this[_0x507515(0x2cb)][_0x507515(0x2c2)](_0xcdb2a2)){let _0x303682=this[_0x507515(0x2cb)][_0x507515(0x1db)](_0xcdb2a2);_0x303682&&window['clearTimeout'](_0x303682),this['_clearOtherTimers']['set'](_0xcdb2a2,null);}}[_0x1a58e5(0x127)](_0x4c6ef3){const _0x9cd4f4=_0x1a58e5;let {memberID:_0x209f45,unitIDs:_0x1743b1}=_0x4c6ef3;_0x1743b1[_0x9cd4f4(0xff)](_0x25359f=>{const _0xc751ab=_0x9cd4f4;var _0x3d8f0a;let _0x244ded=this[_0xc751ab(0x2c7)]['get'](_0x25359f);_0x244ded&&(_0x244ded['delete'](_0x209f45),(_0x3d8f0a=this[_0xc751ab(0x1b1)](_0x25359f))==null||_0x3d8f0a[_0xc751ab(0x3b0)](_0x244ded['size']===0x0?_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x3db)]:_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x16a)]));}),this[_0x9cd4f4(0x29e)](_0x209f45);}['_handleHeartbeatEvent'](_0x241f54){const _0x12c572=_0x1a58e5;this[_0x12c572(0x337)](_0x241f54[_0x12c572(0x3f6)]);}['_send'](_0x54513d){const _0x46cdf2=_0x1a58e5;localStorage[_0x46cdf2(0x344)](_0x10b693,JSON['stringify'](_0x54513d));}['_scheduleHeartbeat'](){const _0x411ae8=_0x1a58e5;this[_0x411ae8(0x131)]=window[_0x411ae8(0x34e)](()=>{const _0x18733c=_0x411ae8;this['_send']({'type':0x2,'memberID':this[_0x18733c(0x3a5)]});},_0x5bfddd);}['_ensureSubject'](_0x51a02f){const _0x4a4833=_0x1a58e5;return this[_0x4a4833(0x389)]['has'](_0x51a02f)||this[_0x4a4833(0x389)][_0x4a4833(0x148)](_0x51a02f,new _0xc05c0c[(_0x4a4833(0x334))](_0x35fa89['UnitStatus'][_0x4a4833(0x3db)])),this[_0x4a4833(0x389)][_0x4a4833(0x1db)](_0x51a02f);}};Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x400),{'enumerable':!0x0,'get':function(){return _0x37fffa;}}),Object['defineProperty'](_0x158154,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x1f1a4f;}}),_0x158154['IURLService']=_0x1ccd84,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x18a),{'enumerable':!0x0,'get':function(){return _0x124024;}}),_0x158154[_0x1a58e5(0x214)]=_0x4e747a,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x354),{'enumerable':!0x0,'get':function(){return _0x24efbb;}}),_0x158154['WebBrowserSingleActiveUnitService']=_0x5a01e1;}));function _0x32c8(){const _0x374349=['useRef','_status$','getTypeOfUnitDisposed$','INotificationService','_collabCursorState$','_entities','DocSkeletonManagerService','OFFLINE','_removeClearOtherTimer','unit','ISocketService','IConfigService','_initDependencies','_labelPosition','_eventUnsubscribe','setConfig','_initResize','_scheduleSaving','getCurrentSelections','_shapes','collaboration-client-ui.collabStatus.synced','2423088YgsyaZ','_configService','SUCCESS','_onCursorUpdate','cursorInfo','startColumn','http://www.w3.org/2000/svg','_getFormulaLimitStatus','body','UPDATE_CURSOR','offsetY','_docTransformStateCacheService','Injector','_startSheetCollabCursor','@univerjs/design','clipPath','from','children','Loading','code','_sheetSkeletonManagerService','_highlightSecond','getConfig','has','default','getVpScrollXYInfoByPosToVp','_initUnhandledRejectionListener','resolve','_unitOnClients','roomMembers','asObservable','rxjs','_clearOtherTimers','collaboration-client-ui.formula.calculation.unable','key','beforeCommandExecuted','defineProperty','_checkCalculationAvailable','0\x200\x2016\x2016','React','LOCAL_CACHE_INTERVAL_KEY','COLORS','_commandService','currentTheme$','kind','saveTaskMap','origin','FromArray','_toggleOnline','registerComponent','Tooltip','#0B9EFB','\x20-\x20','with','addObjects','getBoardElementRenderObjectKey','_disabled','SetTextSelectionsOperation','replace','SetFormulaCalculationStartMutation','#FFF','_checkAndWaitForCalculationPermission','_memberID','useDependency','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fill','M0\x200H16V16H0z','SetWorksheetActivateCommand','colorClass','Vector2','univer-m-0\x20univer-p-0','spin','MoveRangeCommandId','state$','exports','lineno','_localStorageService','displayName','height','evenodd','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','range','_hasFormulaInDirtyRanges','_updateSubUnitFromURLParams','MessageType','defs','Success','react','_assignedColors','save','enableLocalCache','_drawTextRange','_colorIndex','_registerDependencies','_range','getStateCache','startRow','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','transformByState','values','Warning','switchMap','_boardElementStateService','_localCacheService','UNIVER_DOC','status','CollaborationStatus','collaboration-client-ui.collaboration.offline-data-not-saved','setShapeProps','version','CanceledError','UniverRpc','string','IUniverInstanceService','runId','_cachedData','restore','_initEvent','message','collab-text-anchor-','RxDisposable','mergeOverrideWithDependencies','univer-text-blue-500','HTTPService','univer-h-8\x20univer-w-8\x20univer-rounded-lg','urlChange$','updateOfflineData','UniverUi','IMessageService','clsx','popstate','IRenderManagerService','toISOString','_collabSessionService','toPrimitive','size','theme$','BehaviorSubject','some','_offsetY','_scheduleClearOtherTimer','editingUnit','min','pageManager','angle','now','\x20at\x20','_cursorInfo$','white','serializeRangeWithSheet','endColumn','distinctUntilChanged','_releaseCalculationLimit','setItem','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','flatMap','operators','red.300','isActive','right','collab-text-range-','UniverProCollaborationClient','handleIRemoveCol','setInterval','dispose','type','subscribeEvent','@univerjs/engine-render','LOCAL_CACHE_INTERVAL','UniverCollaborationClientUIPlugin','_beforeCloseService','_context','bold\x2013px\x20Arial,\x20sans-serif','transformMutationsWithChangeset','_getSheetObject','collaboration-client-ui.conflict.content','closePath','getValue','RegularPolygon','_removeCollabCursors','getUnhiddenWorksheets','_startBlinking','object','@univerjs/ui','_draw','getCoordByCell','slide-element-selection','redoState','roomMembers$','onStarting','_revisionService','_getSceneObjectByKey','application/json','focusedId','getUnitId','jsx','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','reconnect','length','releaseFormulaLimitUrl','idSuffix','pluginName','transform','HEADER_MENU','BuiltInUIPart','all','fromEventSubject','executeCommand','doc.mutation.rich-text-editing','removeParam','CONFLICT','bottom','AWAITING','_cursorShapes','width','/universer-api/license/formula/limit/status','DependentOn','exhaustSavingTask','board-element-selection','USERS_LEAVE','post','setLineDash','_unitStatus','univer-text-orange-500','getCurrentTypeOfUnit$','random','_showGuardMessage','indicator','none','current','getCurrentSkeleton','DisposableCollection','SheetSkeletonManagerService','handleDeleteRangeMoveLeft','DocStateChangeManagerService','handleDeleteRangeMoveUp','_urlService','_monkeyPatchLogService','toDisposable','_hovered','_refreshCollabCursors','includes','getOffsetConfig','_startDocCollabCursor','_messageService','unitID','isTransformMutationFailure','function','_getMergeRange','...','_id','symbol','max','getMember','_currentUsage','_transformService','getCollabCursors$','VIEW_MAIN','useCallback','findNodePositionByCharIndex','_maxFormulaLimit','next','_drawAnchor','1em','NOT_COLLAB','_scheduleRender','_lastPointer','collaboration-client-ui.formula.calculation.waiting','highlightSecond','684gKZhYj','saveOfflineData','removeObjects','_taskIds','isArray','reason','0.2)','BOARD_TOP_RIGHT_MENU_LEADING_PART','colno','@univerjs/network','MemberService','on-line-icon_clip0_910_349','UnitStatus','_render','ticket','getMergeData','selectedIds','cursorInfo$','registerRefRange','6RDBTvc','getRangePointData','error','clear','toRgbString','@univerjs/protocol','_handleJoinEvent','_initUserListener','ONLINE','toString','name','_logService','Unknown\x20user','data','bind','collaboration-client-ui.collabClient.tooltip.reconnect','NO_OTHER_CLIENTS_EDITING','getSheetId','fromEvent','setTimeout','CollaborationEvent','CollaborationController','lineWidth','strokeStyle','find','Subject','_univerInstanceService','lineTo','buildDrawingOKey','_stopBlinking','@univerjs-pro/collaboration','getObjectIncludeInGroup','connectInjector','split','stage','getFormulaLimitStatusUrl','createInstance','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','join','event$','_showText','UniverDesign','_roomMembers$','memberID','ColorKit','UniverSheets','totalFormulasToCalculate','strokeWidth','params','OnLineIcon','_handleEvent','contains','univerjs-icon\x20univerjs-icon-','BrowserCollaborationSocketService','getColorFromTheme','storage','deepClone','_initStatusComponent','url(#off-line-icon_clip0_910_343)','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_anchorDot','svg','filter','_labelHorizontalPosition','_onRefRangeChange',',\x200.2)','_docSkeletonManagerService','_cursor','clearInterval','getParam','collaboration-client-ui.formula.calculation.started','_injector','FETCH_MISS','use','EffectRefRangId','_startSlideCollabCursor','transformRemoteChangeset','forEach','/universer-api/license/formula/limit/start','@univerjs-pro/boards-ui','UniverInstanceType','_themeService','UNIVER_SHEET','runOnServer','toStringTag','_registerRenderDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','enableDocumentCollaborationUI','_document','_renderScheduled','merge','_applyCommand','add','unshift','collaboration-client-ui.config','AWAITING_WITH_PENDING','rgba(255,\x20255,\x20255,\x200.01)','ErrorCode','[CollaborationDataLoaderController]','icon','getUnitStatus$','_refRangeService','univer-inline-flex\x20univer-items-center\x20univer-justify-center','disposeWithMe','loadOfflineData','UniverProCollaboration','button','_hover','collaboration-client-ui.collabStatus.syncing','410898xNIGLv','defIds','Rectangle','CollaborationSessionService','loadUnit','_docStateChangeManagerService','m1Prime','UniverProCollaborationClientUi','_handleLeaveEvent','ILocalCacheService','sessionTicket','isTransformMutationsWithChangesetSuccess','clearTimeout','then','getRealBound','_handleHover','isFormulaId','_initStatusListener','_heartbeatTimer','top','_textBubble','getUndoRedoMutationParamsCache','_localeService','SHEET_VIEWPORT_KEY','_startCalculationLimit','activeSheet$','collaboration-client-ui.session.connection-failed','touchDependencies','_hideTimer','@univerjs-pro/slides-ui',':backup:','DOC_RANGE_TYPE','_scene','PERMISSION_DENIED','Rect','_setFormulaLimitStatus','_anchor','CollaborationSocketService','init','SUBMIT_CHANGESET_TIMEOUT','highlight','set','subUnitId','univer-text-gray-400','NodePositionConvertToCursor','Error','makeDirty','syncEditingCollabCursor','LoadingMultiIcon','transformIMECache','_updateCollabCursors','_getObjectBounds','Disposable','pipe','@univerjs/docs-ui','getTypeOfUnitAdded$','onCommandExecuted','onTransformChange$','ISnapshotServerService','href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','rgba','stageInfo','DeleteRangeMoveUpCommandId','removeObject','drawWith','1804uVChBY','sheetID','getCurrentUnitOfType','source','DocIMEInputManagerService','backgroundColor','InsertColCommandId','sessionStatus$','_online','OTHER_CLIENTS_EDITING','url(#$1','registerBeforeClose','_collaborationSessionService','round','_isApplyingOverlays','getRenderById','mask','pushState','deserializeRangeWithSheet','text','UNIVER_SLIDE','_instanceService','saveImage','_dataLoaderService','Failed','1384185COFcID','disposeUnit','createSocket','enableFrontendLog','56vYqBGQ','debug','ISlideDrawingStateService','collaboration-client-ui.collabStatus.conflict','delete','4280HmpbMs','setAlpha','createElement','debounce','_clearPolling','focused$','loading-multi-icon','RemoteUniscriptService','collaboration-client-ui.collabStatus.offline','_lastResponseTimestamp','RichTextEditingMutation','currentSkeleton$','unhandledrejection','send','_collaborationController','getMemberID','109913sKbNgw','_highlight','dispose$','DocSelectionManagerService','collaboration-client-ui.collaboration.single-unit.warning','@univerjs/docs','useMemo','InsertRowCommandId','CLOSE_ROOM','shift','getCollabEntity$','[Unhandled\x20Rejection]:\x20','collaboration-client-ui.collabStatus.notCollab','_onCursorDelete','beginPath','_config','collab-rect-range-','RevisionService','m2Prime','257215yjlSPL','_backgroundColor','stack','getId','IImageIoService','collaboration-client-ui.collabStatus.fetchMiss','textRanges','_handleHeartbeatEvent','whenReady','runRefRangeMutations','executionId','_ensureSubject','SYNCED','_updateURLWithCurrentState','getObject','_uploadLog','ThemeService','_transformPreviousActiveRange','_getSessionTicket','generateRandomId','isInternalEditorID','startFormulaLimitUrl','font','univer-flex\x20univer-items-center\x20univer-justify-center','_startBoardCollabCursor','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','complete','xlink:href','forwardRef','labelPosition','green.600','getActivePageId','IBeforeCloseService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_color','_selfUnitIDs','purple.300','onPointerEnter$','@univerjs-pro/collaboration-client','_colorAssignService','combineLatest','throttleTime','[LogService\x20Error]:\x20','takeUntil','Shape','dirtyRanges','yellow.400','getCellPositionByOffset','TEXT_RANGE_LAYER_INDEX','getColor','_saveCache','CollaborationUIEventId','hovered','get','Workbook','hide','_saveTaskMap','constructor','_doCreateSocket','_imageIoService','color','_pointerMoveDisposable','_getSaveTimeout','tooltipKey','black','left','onPointerLeave$','UniverSheetsUi','startsWith','getAncestorScale','_init','maxFormulaLimit','collabCursorState$','_blinkTimer','slice','_renderManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','_name','_latestCursors','tag','FormulaExecutedStateType','univer-text-red-500','@univerjs/sheets','getSheetObject','substring','_blinkIntervalTimer','entries','amd','_pollingInterval','rgba(','getCurrentRevOfUnit','ICommandService','subunit','IRemoteInstanceService','SOCKET_FAILED','_toggleOffline','colorChannel1','assign','span','evented','UniverProBoardsUi','getSheetBySheetId','getActiveSheet','/run/','Tools','arc','search','_initEntityListener','call','SheetCollabCursorShape','getFocusedUnit','/universer-api/license/formula/limit/done','UNIVER_BOARD','measureText','addEventListener','_syncEditingCollabCursorService','resize','i18nKey','fillStyle','addObject','_initCommandInterceptor','_uiPartsService','_initWindowErrorListener','registerDependencies','packageName','subscribe','WebSocketService','_cursors','limitInfo','fillText','registerRenderModule','useObservable','invokeId','univer-appearance-none','transformMutation','removeEventListener','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','map','eventID','setOffsetY','true','Module','_getAnchorBounding','setUndoRedoMutationParamsCache','ranges','SOCKET_FAILED_RETRY','path','parseInt','_docTransformIMECacheService','showText','_isBlinkVisible','_collabCursorController','board-collab-cursor-','result','clickable','_send','polite','_transformUndoRedoStack','TEXT','_entityInit$','Inject','backupOfflineData','stringify','SetSelectionsOperation','_memberService','column','debounceTime','IDocClipboardService','sheetId','context','_docTransformSelectionsService','handleMoveRange','_transformHistoryAndStateStack','?taskId=','_httpService','UniverCollaborationClientPlugin','rgb','scene','collaboration-client-ui.permission.title','_notificationService','SetFormulaCalculationNotificationMutation','newValue','off-line-icon_clip0_910_343','ILogService','LocaleService','_getScale','onMouseMove','47570KEYzXf','assignAColorForMemberID','mutations','show','[Window\x20Error]:\x20','requireSession','unitId','CollaborationUIEventService','collaboration-client-ui.session.collaboration-timeout','_session','UniverProSlidesUi','_createSocketURL','UniverDocsUi','parse','url(#on-line-icon_clip0_910_349)','handleInsertRow','selection','getLocalCacheKey','triggerDblclick','_docClipboardService','_docSyncEditingCollabCursorService','getCellMatrix','getSnapshot','static','unsubscribe','stroke','history','wsSessionTicketUrl','attrs','currentColor','UniverEngineRender','univer-border-none\x20univer-bg-transparent','imageSourceType','pulse','Enter','push','location','Optional','setParam','transformSelections','getUniverSheetInstance','ITransformService','searchParams','getSkeleton','_drawRectRange','decorate','strokeRect','/universer-api/frontend/logs','_initCommandExecutedListener','addObject$','_updateLocalCursor','IBoardElementStateService'];_0x32c8=function(){return _0x374349;};return _0x32c8();}
|
|
1
|
+
function _0x2ff8(_0x7a030a,_0x1a59c0){_0x7a030a=_0x7a030a-0x188;const _0xbcae55=_0xbcae();let _0x2ff868=_0xbcae55[_0x7a030a];return _0x2ff868;}(function(_0x23d0a6,_0x434222){const _0x3dc0ae=_0x2ff8,_0xd24b8b=_0x23d0a6();while(!![]){try{const _0x216b7e=-parseInt(_0x3dc0ae(0x1c8))/0x1*(parseInt(_0x3dc0ae(0x300))/0x2)+parseInt(_0x3dc0ae(0x4b4))/0x3+-parseInt(_0x3dc0ae(0x3ba))/0x4+parseInt(_0x3dc0ae(0x23b))/0x5*(parseInt(_0x3dc0ae(0x422))/0x6)+-parseInt(_0x3dc0ae(0x3e0))/0x7*(-parseInt(_0x3dc0ae(0x302))/0x8)+-parseInt(_0x3dc0ae(0x1d2))/0x9*(parseInt(_0x3dc0ae(0x1ad))/0xa)+parseInt(_0x3dc0ae(0x1ba))/0xb*(parseInt(_0x3dc0ae(0x420))/0xc);if(_0x216b7e===_0x434222)break;else _0xd24b8b['push'](_0xd24b8b['shift']());}catch(_0x5666e1){_0xd24b8b['push'](_0xd24b8b['shift']());}}}(_0xbcae,0xaca7e),function(_0x2f0678,_0x416ce1){const _0x2717b6=_0x2ff8;typeof exports==_0x2717b6(0x224)&&typeof module<'u'?_0x416ce1(exports,require('@univerjs-pro/boards-ui'),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/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x2717b6(0x22d)&&define[_0x2717b6(0x18e)]?define([_0x2717b6(0x481),'@univerjs-pro/boards-ui',_0x2717b6(0x34e),'@univerjs/core',_0x2717b6(0x231),_0x2717b6(0x4b9),_0x2717b6(0x1e6),_0x2717b6(0x394),_0x2717b6(0x494),_0x2717b6(0x408),'@univerjs/engine-render','@univerjs/network',_0x2717b6(0x214),_0x2717b6(0x25b),_0x2717b6(0x20c),_0x2717b6(0x4e9),'@univerjs/sheets',_0x2717b6(0x294),_0x2717b6(0x290),'@univerjs/rpc',_0x2717b6(0x459)],_0x416ce1):(_0x2f0678=typeof globalThis<'u'?globalThis:_0x2f0678||self,_0x416ce1(_0x2f0678[_0x2717b6(0x495)]={},_0x2f0678[_0x2717b6(0x312)],_0x2f0678['UniverProCollaborationClient'],_0x2f0678['UniverCore'],_0x2f0678['UniverUi'],_0x2f0678['rxjs'],_0x2f0678[_0x2717b6(0x4b9)]['operators'],_0x2f0678[_0x2717b6(0x4ea)],_0x2f0678[_0x2717b6(0x4c4)],_0x2f0678['React'],_0x2f0678[_0x2717b6(0x2b7)],_0x2f0678[_0x2717b6(0x3d8)],_0x2f0678[_0x2717b6(0x439)],_0x2f0678[_0x2717b6(0x45e)],_0x2f0678['UniverDocs'],_0x2f0678[_0x2717b6(0x46b)],_0x2f0678[_0x2717b6(0x315)],_0x2f0678[_0x2717b6(0x1e4)],_0x2f0678[_0x2717b6(0x257)],_0x2f0678[_0x2717b6(0x3e4)],_0x2f0678['UniverProtocol']));}(this,function(_0x360d56,_0x5a835b,_0x39299b,_0x54099e,_0x3a2e6e,_0x541406,_0x51a8f2,_0x230545,_0x41f98f,_0x2ee138,_0x36fb2d,_0x5a1033,_0xc39b36,_0x37a654,_0x2433e3,_0x29b436,_0x13da0d,_0x339c27,_0x189f64,_0xbfbef5,_0x19a70a){const _0x529b57=_0x2ff8;Object[_0x529b57(0x2bf)](_0x360d56,Symbol[_0x529b57(0x1b5)],{'value':_0x529b57(0x1c5)});function _0x3d00fd({ref:_0x1c11e1,..._0x6b14be}){const _0x2267b7=_0x529b57;let {icon:_0x1ebce3,id:_0x15d4f6,className:_0x22da69,extend:_0x50d961,..._0x3c6633}=_0x6b14be,_0x245008=(_0x2267b7(0x3be)+_0x15d4f6+'\x20'+(_0x22da69||''))[_0x2267b7(0x2ac)](),_0x1a8b01=(0x0,_0x41f98f[_0x2267b7(0x280)])('_'+_0x1cca49());return _0x361d1e(_0x1ebce3,''+_0x15d4f6,{'defIds':_0x1ebce3[_0x2267b7(0x344)],'idSuffix':_0x1a8b01[_0x2267b7(0x38f)]},{'ref':_0x1c11e1,'className':_0x245008,..._0x3c6633},_0x50d961);}function _0x361d1e(_0x2019a5,_0x46847c,_0x1b1d97,_0x5eb222,_0x3efe56){const _0x5ea4de=_0x529b57;return(0x0,_0x41f98f[_0x5ea4de(0x39a)])(_0x2019a5['tag'],{'key':_0x46847c,..._0x80e8e9(_0x2019a5,_0x1b1d97,_0x3efe56),..._0x5eb222},(_0x1b582f(_0x2019a5,_0x1b1d97)[_0x5ea4de(0x277)]||[])[_0x5ea4de(0x4d9)]((_0x3c1a25,_0x537987)=>_0x361d1e(_0x3c1a25,_0x46847c+'-'+_0x2019a5[_0x5ea4de(0x18d)]+'-'+_0x537987,_0x1b1d97,void 0x0,_0x3efe56)));}function _0x80e8e9(_0x3cdebd,_0xd7ec5c,_0x65dd6e){const _0x41ad89=_0x529b57;let _0x52977f={..._0x3cdebd[_0x41ad89(0x441)]};_0x65dd6e!=null&&_0x65dd6e['colorChannel1']&&_0x52977f['fill']===_0x41ad89(0x493)&&(_0x52977f[_0x41ad89(0x386)]=_0x65dd6e[_0x41ad89(0x493)]),_0x65dd6e!=null&&_0x65dd6e[_0x41ad89(0x493)]&&_0x52977f['stroke']===_0x41ad89(0x493)&&(_0x52977f[_0x41ad89(0x2b4)]=_0x65dd6e['colorChannel1']),_0x3cdebd['tag']===_0x41ad89(0x223)&&_0x52977f['id']&&(_0x52977f['id']+=_0xd7ec5c['idSuffix']),Object[_0x41ad89(0x27a)](_0x52977f)[_0x41ad89(0x27d)](([_0x1f84e5,_0x4e5cf5])=>{const _0x104b80=_0x41ad89;_0x1f84e5===_0x104b80(0x223)&&typeof _0x4e5cf5==_0x104b80(0x49d)&&(_0x52977f[_0x1f84e5]=_0x4e5cf5[_0x104b80(0x201)](/url\(#(.*)\)/,_0x104b80(0x21d)+_0xd7ec5c['idSuffix']+')'));});let {defIds:_0x33fac9}=_0xd7ec5c;return!_0x33fac9||_0x33fac9['length']===0x0?_0x52977f:(_0x3cdebd[_0x41ad89(0x18d)]===_0x41ad89(0x2dc)&&_0x52977f['xlink:href']&&(_0x52977f[_0x41ad89(0x42f)]+=_0xd7ec5c[_0x41ad89(0x4b1)]),Object[_0x41ad89(0x27a)](_0x52977f)[_0x41ad89(0x27d)](([_0x110c0b,_0x4d43e1])=>{const _0x3ffb8c=_0x41ad89;typeof _0x4d43e1==_0x3ffb8c(0x49d)&&(_0x52977f[_0x110c0b]=_0x4d43e1['replace'](/url\(#(.*)\)/,'url(#$1'+_0xd7ec5c[_0x3ffb8c(0x4b1)]+')'));}),_0x52977f);}function _0x1b582f(_0x19088d,_0x4dfb72){const _0x53b5e8=_0x529b57;var _0x2d893d;let {defIds:_0x1f541d}=_0x4dfb72;return!_0x1f541d||_0x1f541d[_0x53b5e8(0x354)]===0x0?_0x19088d:_0x19088d[_0x53b5e8(0x18d)]===_0x53b5e8(0x2ba)&&(_0x2d893d=_0x19088d[_0x53b5e8(0x277)])!=null&&_0x2d893d[_0x53b5e8(0x354)]?{..._0x19088d,'children':_0x19088d['children']['map'](_0x2df540=>typeof _0x2df540['attrs']['id']==_0x53b5e8(0x49d)&&_0x1f541d&&_0x1f541d[_0x53b5e8(0x2df)](_0x2df540[_0x53b5e8(0x441)]['id'])?{..._0x2df540,'attrs':{..._0x2df540[_0x53b5e8(0x441)],'id':_0x2df540[_0x53b5e8(0x441)]['id']+_0x4dfb72[_0x53b5e8(0x4b1)]}}:_0x2df540)}:_0x19088d;}function _0x1cca49(){const _0x4da9b5=_0x529b57;return Math[_0x4da9b5(0x489)]()[_0x4da9b5(0x436)](0x24)[_0x4da9b5(0x2d5)](0x2,0x8);}_0x3d00fd[_0x529b57(0x2b0)]=_0x529b57(0x4bb);let _0xea492d={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'g','attrs':{'clipPath':_0x529b57(0x4e5)},'children':[{'tag':_0x529b57(0x350),'attrs':{'stroke':_0x529b57(0x27b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x529b57(0x2bd),'strokeLinejoin':_0x529b57(0x2bd),'strokeWidth':1.2}}]},{'tag':_0x529b57(0x2ba),'attrs':{},'children':[{'tag':_0x529b57(0x421),'attrs':{'id':_0x529b57(0x2e4)},'children':[{'tag':'path','attrs':{'fill':_0x529b57(0x1b1),'d':_0x529b57(0x32c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1c47f0=(0x0,_0x41f98f['forwardRef'])(function(_0x467143,_0x3ca9bc){const _0x3fc7b5=_0x529b57;return(0x0,_0x41f98f[_0x3fc7b5(0x39a)])(_0x3d00fd,Object[_0x3fc7b5(0x29f)]({},_0x467143,{'id':_0x3fc7b5(0x303),'ref':_0x3ca9bc,'icon':_0xea492d}));});_0x1c47f0['displayName']=_0x529b57(0x1ac);let _0x2b8cc7={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x334),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x529b57(0x350),'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':_0x529b57(0x2bd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x529b57(0x2ba),'attrs':{},'children':[{'tag':_0x529b57(0x421),'attrs':{'id':_0x529b57(0x387)},'children':[{'tag':_0x529b57(0x350),'attrs':{'fill':_0x529b57(0x1b1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x529b57(0x387)]},_0xdc4f99=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0xd68585,_0xbe57f6){const _0x4f5e86=_0x529b57;return(0x0,_0x41f98f['createElement'])(_0x3d00fd,Object[_0x4f5e86(0x29f)]({},_0xd68585,{'id':'on-line-icon','ref':_0xbe57f6,'icon':_0x2b8cc7}));});_0xdc4f99['displayName']=_0x529b57(0x474);let _0x4c1b73={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'path','attrs':{'fill':_0x529b57(0x27b),'d':_0x529b57(0x3f8),'fillRule':_0x529b57(0x2a0),'clipRule':_0x529b57(0x2a0)}}]},_0x2a0dff=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0x4465dd,_0xbaab00){const _0xae3d0=_0x529b57;return(0x0,_0x41f98f[_0xae3d0(0x39a)])(_0x3d00fd,Object[_0xae3d0(0x29f)]({},_0x4465dd,{'id':_0xae3d0(0x461),'ref':_0xbaab00,'icon':_0x4c1b73}));});_0x2a0dff['displayName']=_0x529b57(0x1ab);let _0x34fdb7={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':_0x529b57(0x350),'attrs':{'fill':'#0B9EFB','d':_0x529b57(0x1f6),'fillOpacity':0.2,'fillRule':_0x529b57(0x2a0),'clipRule':'evenodd'}},{'tag':_0x529b57(0x350),'attrs':{'fill':_0x529b57(0x1f9),'d':_0x529b57(0x1f7),'fillRule':_0x529b57(0x2a0),'clipRule':_0x529b57(0x2a0)}}]},_0x1787db=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0x5cc019,_0x542be7){const _0x62f75b=_0x529b57;return(0x0,_0x41f98f[_0x62f75b(0x39a)])(_0x3d00fd,Object[_0x62f75b(0x29f)]({},_0x5cc019,{'id':_0x62f75b(0x1b2),'ref':_0x542be7,'icon':_0x34fdb7}));});_0x1787db[_0x529b57(0x2b0)]=_0x529b57(0x3b4);function _0x1ac24a(_0x85bb77){const _0x5f3afc=_0x529b57;switch(_0x85bb77){case _0x39299b['CollaborationStatus'][_0x5f3afc(0x468)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1c47f0,{}),'colorClass':_0x5f3afc(0x210),'i18nKey':_0x5f3afc(0x1e2),'tooltipKey':_0x5f3afc(0x465),'clickable':!0x0,'indicator':_0x5f3afc(0x3de)};case _0x39299b['CollaborationStatus'][_0x5f3afc(0x2bc)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1c47f0,{}),'colorClass':_0x5f3afc(0x462),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x5f3afc(0x3de)};case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x3a0)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x5f3afc(0x204)};case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x4de)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0xdc4f99,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x5f3afc(0x410),'clickable':!0x1,'indicator':_0x5f3afc(0x3de)};case _0x39299b[_0x5f3afc(0x203)]['AWAITING']:case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x348)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':_0x5f3afc(0x32b),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0x39299b[_0x5f3afc(0x203)]['PENDING']:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x5f3afc(0x204)};case _0x39299b[_0x5f3afc(0x203)]['SYNCED']:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0xdc4f99,{}),'colorClass':'univer-text-green-500','i18nKey':_0x5f3afc(0x291),'clickable':!0x1,'indicator':_0x5f3afc(0x3de)};}}function _0x4ee807(_0x41eaf6){const _0x52ad5d=_0x529b57;let {status$:_0x18e78a}=_0x41eaf6,_0xd4c018=(0x0,_0x3a2e6e[_0x52ad5d(0x2b8)])(_0x18e78a,_0x39299b[_0x52ad5d(0x203)][_0x52ad5d(0x4de)]),_0x1efd97=(0x0,_0x3a2e6e[_0x52ad5d(0x41c)])(_0x54099e[_0x52ad5d(0x381)]),_0x502361=(0x0,_0x3a2e6e['useDependency'])(_0x39299b[_0x52ad5d(0x3a7)]),_0x2895ec=(0x0,_0x41f98f[_0x52ad5d(0x3b8)])(()=>_0x1ac24a(_0xd4c018),[_0xd4c018]),_0x3b701a=_0xd4c018!==_0x39299b[_0x52ad5d(0x203)][_0x52ad5d(0x468)],_0xc2c484=_0x1efd97['t'](_0x2895ec[_0x52ad5d(0x1bc)]),_0x3cfeeb=_0x2895ec[_0x52ad5d(0x22f)]?_0x1efd97['t'](_0x2895ec[_0x52ad5d(0x22f)]):_0xc2c484,_0x1f2fae=(0x0,_0x41f98f[_0x52ad5d(0x4c9)])(()=>{const _0xfcd13e=_0x52ad5d;_0x3b701a||_0x502361[_0xfcd13e(0x221)]();},[_0x3b701a,_0x502361]),_0x115412=(0x0,_0x41f98f[_0x52ad5d(0x4c9)])(_0x4a5ec3=>{const _0x2c5f9f=_0x52ad5d;!_0x3b701a&&(_0x4a5ec3['key']===_0x2c5f9f(0x478)||_0x4a5ec3[_0x2c5f9f(0x332)]==='\x20')&&(_0x4a5ec3[_0x2c5f9f(0x455)](),_0x502361['reconnect']());},[_0x3b701a,_0x502361]),_0x3ab703=(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x3e9),{'className':(0x0,_0x230545['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x2895ec[_0x52ad5d(0x2f9)],{'univer-animate-spin':_0x2895ec[_0x52ad5d(0x4d6)]===_0x52ad5d(0x204),'univer-animate-pulse':_0x2895ec[_0x52ad5d(0x4d6)]==='pulse'}),'aria-hidden':_0x52ad5d(0x433),'children':_0x2895ec[_0x52ad5d(0x2fa)]}),_0x325fdd=(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x3e9),{'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x2f7),_0x52ad5d(0x2d2),_0x52ad5d(0x3d9),_0x52ad5d(0x426),_0x52ad5d(0x3da),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2895ec[_0x52ad5d(0x4a6)],'univer-cursor-default':!_0x2895ec[_0x52ad5d(0x4a6)]}),'children':_0x3ab703});return _0x2895ec[_0x52ad5d(0x4a6)]?(0x0,_0x2ee138[_0x52ad5d(0x1d3)])(_0x230545[_0x52ad5d(0x1dc)],{'title':_0x3cfeeb,'placement':_0x52ad5d(0x376),'children':(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x296),{'type':'button','onClick':_0x1f2fae,'onKeyDown':_0x115412,'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x358),_0x52ad5d(0x492),_0x52ad5d(0x40b),_0x52ad5d(0x369)),'aria-label':_0xc2c484+_0x52ad5d(0x385)+_0x3cfeeb,'role':_0x52ad5d(0x28d),'aria-live':_0x52ad5d(0x18c),'aria-atomic':_0x52ad5d(0x433),'children':_0x325fdd})}):(0x0,_0x2ee138[_0x52ad5d(0x1d3)])(_0x230545[_0x52ad5d(0x1dc)],{'title':_0x3cfeeb,'placement':_0x52ad5d(0x376),'children':(0x0,_0x2ee138[_0x52ad5d(0x1d3)])('div',{'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x358),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0'),'aria-label':_0xc2c484,'role':_0x52ad5d(0x28d),'aria-live':'polite','aria-atomic':'true','children':_0x325fdd})});}function _0x3ba748(_0x58b338){'@babel/helpers - typeof';const _0xd6b647=_0x529b57;return _0x3ba748=typeof Symbol==_0xd6b647(0x22d)&&typeof Symbol[_0xd6b647(0x487)]==_0xd6b647(0x3b0)?function(_0x38a596){return typeof _0x38a596;}:function(_0x27444d){const _0x3f6cd0=_0xd6b647;return _0x27444d&&typeof Symbol==_0x3f6cd0(0x22d)&&_0x27444d[_0x3f6cd0(0x1d8)]===Symbol&&_0x27444d!==Symbol[_0x3f6cd0(0x2d6)]?'symbol':typeof _0x27444d;},_0x3ba748(_0x58b338);}function _0x573a88(_0x4d68bc,_0x1ee563){const _0x12bd6e=_0x529b57;if(_0x3ba748(_0x4d68bc)!=_0x12bd6e(0x224)||!_0x4d68bc)return _0x4d68bc;var _0x2e6552=_0x4d68bc[Symbol[_0x12bd6e(0x49e)]];if(_0x2e6552!==void 0x0){var _0x41671c=_0x2e6552[_0x12bd6e(0x2f2)](_0x4d68bc,_0x1ee563||'default');if(_0x3ba748(_0x41671c)!=_0x12bd6e(0x224))return _0x41671c;throw TypeError(_0x12bd6e(0x447));}return(_0x1ee563==='string'?String:Number)(_0x4d68bc);}function _0x40eace(_0x1644b3){var _0x1f8075=_0x573a88(_0x1644b3,'string');return _0x3ba748(_0x1f8075)=='symbol'?_0x1f8075:_0x1f8075+'';}function _0x77e721(_0x24dec7,_0x20e25b,_0x9b1f45){const _0x17a223=_0x529b57;return(_0x20e25b=_0x40eace(_0x20e25b))in _0x24dec7?Object[_0x17a223(0x2bf)](_0x24dec7,_0x20e25b,{'value':_0x9b1f45,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x24dec7[_0x20e25b]=_0x9b1f45,_0x24dec7;}function _0x3c6f51(_0x3ec596,_0x3b3bc3){return function(_0x24eb93,_0x5985d2){_0x3b3bc3(_0x24eb93,_0x5985d2,_0x3ec596);};}function _0x5949f5(_0x19ff38,_0x202409,_0x324e3,_0x4cf168){const _0x49f7b2=_0x529b57;var _0x1bbeec=arguments[_0x49f7b2(0x354)],_0x412012=_0x1bbeec<0x3?_0x202409:_0x4cf168===null?_0x4cf168=Object[_0x49f7b2(0x236)](_0x202409,_0x324e3):_0x4cf168,_0xf40ee2;if(typeof Reflect==_0x49f7b2(0x224)&&typeof Reflect[_0x49f7b2(0x374)]==_0x49f7b2(0x22d))_0x412012=Reflect[_0x49f7b2(0x374)](_0x19ff38,_0x202409,_0x324e3,_0x4cf168);else{for(var _0x46faab=_0x19ff38[_0x49f7b2(0x354)]-0x1;_0x46faab>=0x0;_0x46faab--)(_0xf40ee2=_0x19ff38[_0x46faab])&&(_0x412012=(_0x1bbeec<0x3?_0xf40ee2(_0x412012):_0x1bbeec>0x3?_0xf40ee2(_0x202409,_0x324e3,_0x412012):_0xf40ee2(_0x202409,_0x324e3))||_0x412012);}return _0x1bbeec>0x3&&_0x412012&&Object[_0x49f7b2(0x2bf)](_0x202409,_0x324e3,_0x412012),_0x412012;}let _0x102dbb=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x5d0f9e,_0xd93c34,_0x4b0079,_0x45bbf2){const _0x5b56d9=_0x529b57;super(),this['_univerInstanceService']=_0x5d0f9e,this[_0x5b56d9(0x309)]=_0xd93c34,this[_0x5b56d9(0x329)]=_0x4b0079,this[_0x5b56d9(0x4dd)]=_0x45bbf2,_0x77e721(this,_0x5b56d9(0x4cb),new _0x541406['BehaviorSubject'](_0x39299b[_0x5b56d9(0x203)][_0x5b56d9(0x4de)])),this[_0x5b56d9(0x451)](),this[_0x5b56d9(0x357)]();}[_0x529b57(0x357)](){const _0x1fa2cc=_0x529b57;this['disposeWithMe']((0x0,_0x541406['merge'])(this['_univerInstanceService'][_0x1fa2cc(0x4e7)],this[_0x1fa2cc(0x471)][_0x1fa2cc(0x197)](_0x54099e[_0x1fa2cc(0x1d1)][_0x1fa2cc(0x42a)]),this[_0x1fa2cc(0x471)][_0x1fa2cc(0x197)](_0x54099e['UniverInstanceType'][_0x1fa2cc(0x1d9)]))[_0x1fa2cc(0x2a7)]((0x0,_0x51a8f2[_0x1fa2cc(0x4d9)])(()=>_0x2c4ce4(this[_0x1fa2cc(0x471)])),(0x0,_0x51a8f2[_0x1fa2cc(0x2e6)])(),(0x0,_0x541406['switchMap'])(_0x1b7021=>_0x1b7021?this[_0x1fa2cc(0x329)]['getCollabEntity$'](_0x1b7021):(0x0,_0x541406['of'])(null)),(0x0,_0x541406[_0x1fa2cc(0x19a)])(_0x4eadab=>_0x4eadab?_0x4eadab[_0x1fa2cc(0x2eb)]:(0x0,_0x541406['of'])(_0x39299b['CollaborationStatus'][_0x1fa2cc(0x4de)])))[_0x1fa2cc(0x1a7)](_0x13e018=>{const _0x195c12=_0x1fa2cc;this[_0x195c12(0x4cb)][_0x195c12(0x366)](_0x13e018);}));}[_0x529b57(0x451)](){const _0x57170b=_0x529b57;this[_0x57170b(0x1a1)](this['_uiPartsService'][_0x57170b(0x473)](_0x3a2e6e[_0x57170b(0x1ea)][_0x57170b(0x21f)],()=>(0x0,_0x3a2e6e[_0x57170b(0x18a)])(_0x591779({'status$':this['_status$'][_0x57170b(0x24b)]()}),this[_0x57170b(0x309)])));}};_0x102dbb=_0x5949f5([_0x3c6f51(0x0,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1f0)])],_0x102dbb);let _0x3db145=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x23ffdf,_0x46f02a,_0x281bc5,_0x16732a){const _0x1f853c=_0x529b57;super(),this[_0x1f853c(0x471)]=_0x23ffdf,this['_injector']=_0x46f02a,this[_0x1f853c(0x329)]=_0x281bc5,this[_0x1f853c(0x4dd)]=_0x16732a,_0x77e721(this,_0x1f853c(0x4cb),new _0x541406[(_0x1f853c(0x225))](_0x39299b[_0x1f853c(0x203)][_0x1f853c(0x4de)])),this['_initStatusComponent'](),this[_0x1f853c(0x357)]();}['_initStatusListener'](){const _0x2c76d6=_0x529b57;this['disposeWithMe']((0x0,_0x541406[_0x2c76d6(0x3c0)])((0x0,_0x541406['of'])(null),this[_0x2c76d6(0x471)][_0x2c76d6(0x197)](_0x54099e[_0x2c76d6(0x1d1)][_0x2c76d6(0x195)]))[_0x2c76d6(0x2a7)]((0x0,_0x51a8f2[_0x2c76d6(0x4d9)])(()=>_0x4a9a09(this[_0x2c76d6(0x471)])),(0x0,_0x51a8f2[_0x2c76d6(0x2e6)])(),(0x0,_0x541406['switchMap'])(_0x483a8f=>_0x483a8f?this['_collaborationController'][_0x2c76d6(0x4e2)](_0x483a8f):(0x0,_0x541406['of'])(null)),(0x0,_0x541406[_0x2c76d6(0x19a)])(_0x27f8fd=>_0x27f8fd?_0x27f8fd[_0x2c76d6(0x2eb)]:(0x0,_0x541406['of'])(_0x39299b[_0x2c76d6(0x203)][_0x2c76d6(0x4de)])))[_0x2c76d6(0x1a7)](_0xbb821b=>{const _0x55de28=_0x2c76d6;this[_0x55de28(0x4cb)][_0x55de28(0x366)](_0xbb821b);}));}[_0x529b57(0x451)](){const _0x5b827f=_0x529b57;this['disposeWithMe'](this[_0x5b827f(0x4dd)][_0x5b827f(0x473)](_0x5a835b['BOARD_TOP_RIGHT_MENU_LEADING_PART'],()=>(0x0,_0x3a2e6e['connectInjector'])(_0x591779({'status$':this[_0x5b827f(0x4cb)]['asObservable']()}),this[_0x5b827f(0x309)])));}};_0x3db145=_0x5949f5([_0x3c6f51(0x0,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1f0)])],_0x3db145);function _0x2c4ce4(_0x5d6dc1){const _0x2bab4e=_0x529b57;let _0x50472b=_0x5d6dc1['getFocusedUnit'](),_0x217d57=_0x50472b==null?void 0x0:_0x50472b['getUnitId']();if(_0x217d57&&!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x217d57))return _0x217d57;let _0xfc3305=_0x5d6dc1[_0x2bab4e(0x1e3)](_0x54099e[_0x2bab4e(0x1d1)][_0x2bab4e(0x42a)]),_0x55e2bc=_0xfc3305==null?void 0x0:_0xfc3305['getUnitId']();if(_0x55e2bc&&!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x55e2bc))return _0x55e2bc;let _0x13afdf=_0x5d6dc1[_0x2bab4e(0x1e3)](_0x54099e[_0x2bab4e(0x1d1)]['UNIVER_SHEET']);if(_0x13afdf)return _0x13afdf[_0x2bab4e(0x2b5)]();let _0x26f762=_0x5d6dc1[_0x2bab4e(0x42d)](_0x54099e[_0x2bab4e(0x1d1)][_0x2bab4e(0x42a)])[_0x2bab4e(0x452)](_0x2cfb71=>!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x2cfb71[_0x2bab4e(0x2b5)]()));return _0x26f762?_0x26f762['getUnitId']():null;}function _0x4a9a09(_0x5bf4f4){const _0x31aaf5=_0x529b57;var _0x29f6cc;let _0x1d62d7=_0x5bf4f4[_0x31aaf5(0x1e3)](_0x54099e[_0x31aaf5(0x1d1)][_0x31aaf5(0x195)]);return(_0x29f6cc=_0x1d62d7==null?void 0x0:_0x1d62d7['getUnitId']())==null?null:_0x29f6cc;}function _0x591779(_0x3aba96){let {status$:_0x48c1a1}=_0x3aba96;return function(){const _0x578569=_0x2ff8;return(0x0,_0x2ee138[_0x578569(0x1d3)])(_0x4ee807,{'status$':_0x48c1a1});};}var _0x28f35d='@univerjs-pro/collaboration-client-ui',_0x2126b2=_0x529b57(0x4a8);let _0x3260b8={},_0x29a900=class extends _0x54099e['RxDisposable']{constructor(_0x170ec3,_0x325e30){const _0x1c61d1=_0x529b57;super(),this['_docClipboardService']=_0x170ec3,this['_imageIoService']=_0x325e30,this[_0x1c61d1(0x2cb)]();}[_0x529b57(0x2cb)](){const _0x253c40=_0x529b57;let _0x3c6597=this;this[_0x253c40(0x1a1)](this[_0x253c40(0x384)]['addClipboardHook']({'onBeforePasteImage':async _0x1a06cb=>{const _0x4a4633=_0x253c40;let _0x417759=await _0x3c6597['_imageIoService'][_0x4a4633(0x484)](_0x1a06cb);return _0x417759?{'source':_0x417759[_0x4a4633(0x42c)],'imageSourceType':_0x417759['imageSourceType']}:null;}}));}};_0x29a900=_0x5949f5([_0x3c6f51(0x0,_0xc39b36[_0x529b57(0x4be)]),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2b1)])],_0x29a900);function _0x3f192e(_0x26b229,_0x30b341){const _0x5e63f6=_0x529b57;_0x26b229[_0x5e63f6(0x428)](),_0x26b229['font']=_0x5e63f6(0x349);let _0x481d60=_0x26b229[_0x5e63f6(0x207)](_0x30b341)[_0x5e63f6(0x1c1)];return _0x26b229[_0x5e63f6(0x450)](),Math[_0x5e63f6(0x275)](_0x481d60+0x8,0xc8);}function _0x4f1996(_0x109fc1,_0x116d2c){const _0x5910be=_0x529b57;var _0x3748fd,_0x13c894,_0x30c7b2;let {radius:_0x29d02c,width:_0x5d37bb,height:_0x4dcc25}=_0x116d2c;_0x29d02c=(_0x3748fd=_0x29d02c)==null?0x0:_0x3748fd,_0x5d37bb=(_0x13c894=_0x5d37bb)==null?0x1e:_0x13c894,_0x4dcc25=(_0x30c7b2=_0x4dcc25)==null?0x1e:_0x30c7b2;let _0xecadd0=0x0,_0x374a6c=0x0,_0x3981cb=0x0;_0xecadd0=_0x374a6c=_0x3981cb=Math[_0x5910be(0x275)](_0x29d02c,_0x5d37bb/0x2,_0x4dcc25/0x2),_0x109fc1[_0x5910be(0x43f)](),_0x109fc1[_0x5910be(0x40f)](_0xecadd0,0x0),_0x109fc1['lineTo'](_0x5d37bb-_0x374a6c,0x0),_0x109fc1[_0x5910be(0x355)](_0x5d37bb-_0x374a6c,_0x374a6c,_0x374a6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x109fc1['lineTo'](_0x5d37bb,_0x4dcc25-_0x3981cb),_0x109fc1[_0x5910be(0x355)](_0x5d37bb-_0x3981cb,_0x4dcc25-_0x3981cb,_0x3981cb,0x0,Math['PI']/0x2,!0x1),_0x109fc1['lineTo'](0x0,_0x4dcc25),_0x109fc1[_0x5910be(0x283)](0x0,_0xecadd0),_0x109fc1[_0x5910be(0x355)](_0xecadd0,_0xecadd0,_0xecadd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x109fc1[_0x5910be(0x2ee)](),_0x116d2c['fill']&&(_0x109fc1[_0x5910be(0x428)](),_0x109fc1[_0x5910be(0x37c)]=_0x116d2c[_0x5910be(0x386)],_0x116d2c[_0x5910be(0x2b9)]==='evenodd'?_0x109fc1[_0x5910be(0x386)](_0x5910be(0x2a0)):_0x109fc1['fill'](),_0x109fc1[_0x5910be(0x450)]());}var _0xbc2002=class _0x66d344 extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x5f03f5,_0xb95b86){const _0x22fd92=_0x529b57;super(_0x5f03f5,_0xb95b86),_0x77e721(this,_0x22fd92(0x4c8),void 0x0),_0x77e721(this,'text',void 0x0),this['color']=_0xb95b86==null?void 0x0:_0xb95b86[_0x22fd92(0x4c8)],this[_0x22fd92(0x1af)]=_0xb95b86==null?void 0x0:_0xb95b86[_0x22fd92(0x1af)];}static[_0x529b57(0x284)](_0x4ee2dc,_0x4ec495){const _0x4c74c2=_0x529b57;let {text:_0x326aad,color:_0xe92bbc}=_0x4ec495;_0x4ee2dc[_0x4c74c2(0x428)](),_0x4ee2dc[_0x4c74c2(0x338)]=_0x4c74c2(0x1cc);let _0x1975b4=_0x4ee2dc[_0x4c74c2(0x207)](_0x326aad)[_0x4c74c2(0x1c1)];if(_0x4f1996(_0x4ee2dc,{'height':0x14,'radius':0x4,'width':_0x3f192e(_0x4ee2dc,_0x326aad),'fill':_0xe92bbc,'evented':!0x1}),_0x4ee2dc[_0x4c74c2(0x37c)]='#FFF',_0x1975b4>0xc0){let _0x1795a3='',_0x259e7a=0x0;for(let _0x5b47b3 of _0x326aad){let _0x43ca5e=_0x4ee2dc[_0x4c74c2(0x207)](_0x5b47b3)[_0x4c74c2(0x1c1)];if(_0x259e7a+_0x43ca5e<=0xc0-_0x4ee2dc[_0x4c74c2(0x207)](_0x4c74c2(0x2f6))[_0x4c74c2(0x1c1)])_0x1795a3+=_0x5b47b3,_0x259e7a+=_0x43ca5e;else{_0x1795a3+=_0x4c74c2(0x2f6);break;}}_0x4ee2dc[_0x4c74c2(0x35e)](_0x1795a3,0x4,0xf);}else _0x4ee2dc[_0x4c74c2(0x35e)](_0x326aad,0x4,0xf);_0x4ee2dc['restore']();}[_0x529b57(0x427)](_0x4a878d){const _0x299375=_0x529b57;_0x66d344[_0x299375(0x284)](_0x4a878d,this);}};let _0x413c21=0x138a;var _0x496379=class extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x306f73,_0x30ad37){const _0x43d9b1=_0x529b57;super(_0x306f73,{..._0x30ad37,'evented':!0x1}),_0x77e721(this,_0x43d9b1(0x240),_0x43d9b1(0x1fc)),_0x77e721(this,'_name',''),_0x77e721(this,'_showText',!0x0),_0x30ad37&&this[_0x43d9b1(0x4bf)](_0x30ad37);}[_0x529b57(0x4bf)](_0x30ae88){const _0x1e9c47=_0x529b57;var _0x42c24d,_0x52f1c3,_0x41cecb,_0x1535c4,_0x2622aa,_0x5e236a,_0x2e06c5,_0x4e56bd;this[_0x1e9c47(0x240)]=(_0x42c24d=_0x30ae88[_0x1e9c47(0x4c8)])==null?this[_0x1e9c47(0x240)]:_0x42c24d,this[_0x1e9c47(0x2c1)]=(_0x52f1c3=_0x30ae88[_0x1e9c47(0x2ab)])==null?this[_0x1e9c47(0x2c1)]:_0x52f1c3,this[_0x1e9c47(0x4a3)]=(_0x41cecb=_0x30ae88[_0x1e9c47(0x314)])==null?this['_showText']:_0x41cecb,this[_0x1e9c47(0x3cf)]=!0x1,this['transformByState']({'left':(_0x1535c4=_0x30ae88[_0x1e9c47(0x3c4)])==null?this[_0x1e9c47(0x3c4)]:_0x1535c4,'top':(_0x2622aa=_0x30ae88['top'])==null?this['top']:_0x2622aa,'width':(_0x5e236a=_0x30ae88[_0x1e9c47(0x1c1)])==null?this[_0x1e9c47(0x1c1)]:_0x5e236a,'height':(_0x2e06c5=_0x30ae88[_0x1e9c47(0x1ef)])==null?this[_0x1e9c47(0x1ef)]:_0x2e06c5,'angle':(_0x4e56bd=_0x30ae88[_0x1e9c47(0x43b)])==null?this[_0x1e9c47(0x43b)]:_0x4e56bd});}['_draw'](_0x1d6dd7){const _0x2a8187=_0x529b57;_0x1d6dd7['save'](),_0x1d6dd7[_0x2a8187(0x31c)]=this['_color'],_0x1d6dd7['lineWidth']=this['strokeWidth']||1.5,_0x1d6dd7[_0x2a8187(0x2a5)]([0x6,0x4]),_0x1d6dd7['strokeRect'](0x0,0x0,this[_0x2a8187(0x1c1)],this[_0x2a8187(0x1ef)]),_0x1d6dd7[_0x2a8187(0x450)](),this[_0x2a8187(0x4a3)]&&(_0x1d6dd7['save'](),_0x1d6dd7[_0x2a8187(0x222)](0x1,0x0,0x0,0x1,this['width'],-0x14),_0xbc2002['drawWith'](_0x1d6dd7,{'text':this[_0x2a8187(0x2c1)],'color':this[_0x2a8187(0x240)]}),_0x1d6dd7[_0x2a8187(0x450)]());}};let _0x5a565c=[_0x529b57(0x3ee),_0x529b57(0x1fa),_0x529b57(0x30e),_0x529b57(0x298),'blue.400',_0x529b57(0x307)];var _0x4d357d=class extends _0x54099e[_0x529b57(0x45b)]{constructor(..._0x48bd4d){const _0x449b90=_0x529b57;super(..._0x48bd4d),_0x77e721(this,'_assignedColors',new Map()),_0x77e721(this,_0x449b90(0x3a1),0x0);}['assignAColorForMemberID'](_0x222663){const _0x146443=_0x529b57;if(this[_0x146443(0x429)][_0x146443(0x4d8)](_0x222663))return this[_0x146443(0x429)]['get'](_0x222663);let _0x268417=_0x5a565c[this['_colorIndex']];return this[_0x146443(0x3a1)]=(this['_colorIndex']+0x1)%_0x5a565c['length'],this['_assignedColors'][_0x146443(0x340)](_0x222663,_0x268417),_0x268417;}};function _0x3a235c(_0xdb919c){const _0x57e3e4=_0x529b57;let _0x2b336;try{_0x2b336=JSON[_0x57e3e4(0x49b)](_0xdb919c);}catch{return null;}if(typeof _0x2b336!=_0x57e3e4(0x224)||!_0x2b336)return null;let _0x54952f=_0x2b336;if(_0x54952f[_0x57e3e4(0x218)]!==_0x57e3e4(0x371)||typeof _0x54952f['unitId']!=_0x57e3e4(0x49d)||typeof _0x54952f[_0x57e3e4(0x2ec)]!=_0x57e3e4(0x49d))return null;let _0x590dfb=Array[_0x57e3e4(0x36f)](_0x54952f[_0x57e3e4(0x2ea)])?_0x54952f[_0x57e3e4(0x2ea)][_0x57e3e4(0x21a)](_0x21c0a2=>typeof _0x21c0a2==_0x57e3e4(0x49d)):[],_0x477e44=typeof _0x54952f[_0x57e3e4(0x442)]==_0x57e3e4(0x49d)?_0x54952f[_0x57e3e4(0x442)]:null;return{'kind':_0x57e3e4(0x371),'unitId':_0x54952f[_0x57e3e4(0x29e)],'subUnitId':_0x54952f[_0x57e3e4(0x2ec)],'selectedIds':_0x590dfb,'focusedId':_0x477e44};}let _0x587e62=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x3dea0e=_0x529b57;return this[_0x3dea0e(0x24e)][_0x3dea0e(0x36e)]();}get[_0x529b57(0x2e8)](){return this['_roomMembers$']['getValue']();}constructor(_0x10ae93,_0x1ed245,_0x5e726e,_0x350cf8,_0x57c070){const _0x2d5915=_0x529b57;super(),this[_0x2d5915(0x4b5)]=_0x10ae93,this['_session']=_0x1ed245,this[_0x2d5915(0x437)]=_0x5e726e,this['_memberService']=_0x350cf8,this[_0x2d5915(0x3a5)]=_0x57c070,_0x77e721(this,_0x2d5915(0x486),!0x1),_0x77e721(this,'_init',!0x1),_0x77e721(this,_0x2d5915(0x24e),new _0x541406[(_0x2d5915(0x225))](new Map())),_0x77e721(this,'cursorInfo$',this[_0x2d5915(0x24e)][_0x2d5915(0x24b)]()),_0x77e721(this,_0x2d5915(0x3e3),new _0x541406[(_0x2d5915(0x225))]([])),_0x77e721(this,_0x2d5915(0x198),this['_roomMembers$'][_0x2d5915(0x2a7)]((0x0,_0x541406['debounceTime'])(0x12c))),_0x77e721(this,_0x2d5915(0x234),(0x0,_0x54099e[_0x2d5915(0x322)])(_0x51f25a=>{const _0x6e9099=_0x2d5915;let _0x2fd5ec=_0x51f25a['context'];if(!_0x2fd5ec||_0x2fd5ec[_0x6e9099(0x29e)]!==this['unitID'])return;let _0x4e3386={'kind':'board-element-selection','unitId':_0x2fd5ec[_0x6e9099(0x29e)],'subUnitId':_0x2fd5ec[_0x6e9099(0x2ec)],'selectedIds':_0x51f25a['selectedIds']['filter'](_0xc88d27=>typeof _0xc88d27==_0x6e9099(0x49d)),'focusedId':_0x51f25a[_0x6e9099(0x442)]},_0x4e33ab={'eventID':_0x37a654['CollaborationEvent'][_0x6e9099(0x301)],'data':{'unitID':this['unitID'],'memberID':this[_0x6e9099(0x200)][_0x6e9099(0x31f)](),'selection':JSON[_0x6e9099(0x2d8)](_0x4e3386)}};this[_0x6e9099(0x200)][_0x6e9099(0x409)](_0x4e33ab,this[_0x6e9099(0x4b5)]);},0x64));}['dispose'](){const _0x9bf883=_0x529b57;super['dispose'](),this[_0x9bf883(0x24e)][_0x9bf883(0x366)](new Map()),this[_0x9bf883(0x24e)]['complete'](),this[_0x9bf883(0x3e3)][_0x9bf883(0x366)]([]),this[_0x9bf883(0x3e3)][_0x9bf883(0x32e)]();}[_0x529b57(0x318)](){const _0x419eea=_0x529b57;this[_0x419eea(0x2cb)]||(this[_0x419eea(0x2cb)]=!0x0,this[_0x419eea(0x200)][_0x419eea(0x3b2)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))[_0x419eea(0x1a7)](_0x7ce55a=>{const _0x245fd4=_0x419eea;_0x7ce55a===_0x39299b[_0x245fd4(0x4ae)]['ONLINE']?this[_0x245fd4(0x4c2)]():this[_0x245fd4(0x25f)]();}),this['_session'][_0x419eea(0x2dd)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))['subscribe'](_0x59cedc=>{const _0x44f5a5=_0x419eea;let _0x240d9c=_0x59cedc[_0x44f5a5(0x26b)];_0x240d9c===_0x37a654[_0x44f5a5(0x269)][_0x44f5a5(0x301)]&&this['_onCursorUpdate'](_0x59cedc),_0x240d9c===_0x37a654['CollaborationEvent']['USERS_LEAVE']&&this[_0x44f5a5(0x398)](_0x59cedc);}),this['_boardElementStateService'][_0x419eea(0x39b)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))[_0x419eea(0x1a7)](_0x17be11=>{const _0xc18373=_0x419eea;this[_0xc18373(0x486)]&&this['_updateLocalCursor'](_0x17be11);}));}[_0x529b57(0x33d)](_0x5afc4a){const _0xa60920=_0x529b57;var _0x5dc539,_0x3a540a,_0x265c7b,_0x56295a;let {memberID:_0x2d2084,selection:_0x2f4a58}=_0x5afc4a[_0xa60920(0x482)];if(_0x2d2084===((_0x5dc539=(_0x3a540a=this['_session'])[_0xa60920(0x31f)])==null?void 0x0:_0x5dc539[_0xa60920(0x2f2)](_0x3a540a)))return;let _0x5b58d4=_0x3a235c(_0x2f4a58);if(!_0x5b58d4||_0x5b58d4[_0xa60920(0x29e)]!==this[_0xa60920(0x4b5)])return;let _0x326899=(_0x265c7b=(_0x56295a=this[_0xa60920(0x4d1)][_0xa60920(0x1e1)](this['unitID'],_0x2d2084))==null?void 0x0:_0x56295a[_0xa60920(0x2ab)])==null?_0xa60920(0x313):_0x265c7b,_0x202125={'color':this[_0xa60920(0x437)]['assignAColorForMemberID'](_0x2d2084),'name':_0x326899,'unitId':_0x5b58d4[_0xa60920(0x29e)],'subUnitId':_0x5b58d4[_0xa60920(0x2ec)],'selectedIds':_0x5b58d4[_0xa60920(0x2ea)],'focusedId':_0x5b58d4[_0xa60920(0x442)],'selection':_0x2f4a58},_0x20e859=new Map(this[_0xa60920(0x36c)]);_0x20e859['set'](_0x2d2084,_0x202125),this['_cursorInfo$'][_0xa60920(0x366)](_0x20e859);}['_onCursorDelete'](_0x4a11ec){const _0x31c592=_0x529b57;let {memberID:_0x48c2b3}=_0x4a11ec[_0x31c592(0x482)],_0x22438c=new Map(this[_0x31c592(0x36c)]);_0x22438c['delete'](_0x48c2b3),this['_cursorInfo$']['next'](_0x22438c);}['_toggleOnline'](){const _0x5174a4=_0x529b57;this[_0x5174a4(0x486)]=!0x0,this['_updateLocalCursor'](this[_0x5174a4(0x3a5)][_0x5174a4(0x3aa)]());}[_0x529b57(0x25f)](){const _0x14b60b=_0x529b57;this[_0x14b60b(0x486)]=!0x1;}};_0x587e62=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a835b['IBoardElementStateService']))],_0x587e62);function _0xc456d1(_0x1d8f86){const _0x3a6d5d=_0x529b57;let _0x184fb5='';for(let _0x4c4a6b of _0x1d8f86){let {startOffset:_0x4fcc99,endOffset:_0x1f93f7,isActive:_0x4210ea,rangeType:_0x3a653c,segmentId:_0xa312d8,segmentPage:_0x27b033}=_0x4c4a6b;_0x184fb5[_0x3a6d5d(0x354)]&&(_0x184fb5+=','),_0x184fb5+=_0x4fcc99+':'+_0x1f93f7+':'+(_0x4210ea?'1':'0')+':'+_0x3a653c+':'+_0xa312d8+':'+_0x27b033;}return _0x184fb5;}function _0x4370a8(_0x3f073b){const _0x397c15=_0x529b57;let _0x2b0381=_0x3f073b[_0x397c15(0x31e)](','),_0x38dae8=[];for(let _0x49f76b of _0x2b0381){let [_0x7b72a9,_0x5732f5,_0x47f69d,_0x3c28c4,_0x1eda0b,_0x46e5d6]=_0x49f76b[_0x397c15(0x31e)](':');_0x38dae8['push']({'startOffset':Number(_0x7b72a9),'endOffset':Number(_0x5732f5),'collapsed':_0x7b72a9===_0x5732f5,'isActive':_0x47f69d==='1','rangeType':_0x3c28c4===_0x54099e[_0x397c15(0x3fa)]['TEXT']?_0x54099e[_0x397c15(0x3fa)][_0x397c15(0x419)]:_0x54099e[_0x397c15(0x3fa)]['RECT'],'segmentId':typeof _0x1eda0b==_0x397c15(0x49d)?String(_0x1eda0b):'','segmentPage':Number(_0x46e5d6==null?-0x1:_0x46e5d6)});}return _0x38dae8['some'](_0x2bd1a9=>_0x2bd1a9[_0x397c15(0x196)])||(_0x38dae8[0x0][_0x397c15(0x196)]=!0x0),_0x38dae8;}var _0x3d8da4=class extends _0x54099e['RxDisposable']{constructor(..._0x309b33){const _0x48d449=_0x529b57;super(..._0x309b33),_0x77e721(this,_0x48d449(0x1bb),new _0x541406[(_0x48d449(0x225))](null)),_0x77e721(this,_0x48d449(0x1f1),this[_0x48d449(0x1bb)][_0x48d449(0x24b)]());}[_0x529b57(0x19c)](_0x509f0f){const _0x42a5eb=_0x529b57;let {unitID:_0xe7a86f,memberID:_0x153f91,textRanges:_0x53344a}=_0x509f0f,_0xd5600b=_0xc456d1(_0x53344a);if(_0xd5600b==='')return;let _0x245527={'unitID':_0xe7a86f,'memberID':_0x153f91,'selection':_0xd5600b};this[_0x42a5eb(0x1bb)]['next'](_0x245527);}};let _0x2e2c39=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x3da8ff=_0x529b57;return this['_cursorInfo$'][_0x3da8ff(0x36e)]();}get[_0x529b57(0x2e8)](){const _0x2bb648=_0x529b57;return this['_roomMembers$'][_0x2bb648(0x36e)]();}constructor(_0x3b4821,_0x2e8121,_0x28c930,_0x5e4367,_0x34df68,_0x1cb629,_0x41b4d2,_0x3fc588,_0x2d08ce){const _0x13d046=_0x529b57;super(),this[_0x13d046(0x4b5)]=_0x3b4821,this[_0x13d046(0x200)]=_0x2e8121,this[_0x13d046(0x309)]=_0x28c930,this[_0x13d046(0x437)]=_0x5e4367,this[_0x13d046(0x4d1)]=_0x34df68,this[_0x13d046(0x3fd)]=_0x1cb629,this['_transformService']=_0x41b4d2,this['_univerInstanceService']=_0x3fc588,this[_0x13d046(0x48e)]=_0x2d08ce,_0x77e721(this,_0x13d046(0x486),!0x1),_0x77e721(this,_0x13d046(0x2cb),!0x1),_0x77e721(this,_0x13d046(0x24e),new _0x541406[(_0x13d046(0x225))](new Map())),_0x77e721(this,_0x13d046(0x3d3),this['_cursorInfo$'][_0x13d046(0x24b)]()),_0x77e721(this,_0x13d046(0x3e3),new _0x541406[(_0x13d046(0x225))]([])),_0x77e721(this,_0x13d046(0x198),this['_roomMembers$'][_0x13d046(0x2a7)]((0x0,_0x541406[_0x13d046(0x2a9)])(0x12c))),_0x77e721(this,_0x13d046(0x234),(0x0,_0x54099e[_0x13d046(0x322)])(_0x4134a9=>{const _0x1afcc1=_0x13d046;let _0x40a6ad={'eventID':_0x37a654[_0x1afcc1(0x269)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1afcc1(0x4b5)],'memberID':this[_0x1afcc1(0x200)][_0x1afcc1(0x31f)](),'selection':_0xc456d1(_0x4134a9)}};this['_session'][_0x1afcc1(0x409)](_0x40a6ad,this[_0x1afcc1(0x4b5)]);},0x64));}[_0x529b57(0x1c0)](){const _0x2aa8fb=_0x529b57;super[_0x2aa8fb(0x1c0)](),this[_0x2aa8fb(0x24e)][_0x2aa8fb(0x366)](new Map()),this[_0x2aa8fb(0x24e)][_0x2aa8fb(0x32e)](),this[_0x2aa8fb(0x3e3)][_0x2aa8fb(0x366)]([]),this[_0x2aa8fb(0x3e3)]['complete']();}[_0x529b57(0x318)](){const _0x942d42=_0x529b57;this[_0x942d42(0x2cb)]||(this['_init']=!0x0,this[_0x942d42(0x200)][_0x942d42(0x3b2)][_0x942d42(0x2a7)]((0x0,_0x541406[_0x942d42(0x39f)])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x46dcc6=>{const _0x2d3d03=_0x942d42;_0x46dcc6===_0x39299b['SessionStatus'][_0x2d3d03(0x34f)]?this[_0x2d3d03(0x4c2)]():this['_toggleOffline']();}),this[_0x942d42(0x200)]['event$'][_0x942d42(0x2a7)]((0x0,_0x541406[_0x942d42(0x39f)])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x4f5cf2=>{const _0x28251a=_0x942d42;let _0x349c09=_0x4f5cf2[_0x28251a(0x26b)];_0x349c09===_0x37a654['CollaborationEvent'][_0x28251a(0x301)]&&this[_0x28251a(0x33d)](_0x4f5cf2),_0x349c09===_0x37a654[_0x28251a(0x269)][_0x28251a(0x3f6)]&&this['_onCursorDelete'](_0x4f5cf2);}),this[_0x942d42(0x1a1)](this['_commandService']['onCommandExecuted'](_0x31b5a5=>{const _0x51b2fb=_0x942d42;let _0x2e3a65=_0x31b5a5[_0x51b2fb(0x4bc)];_0x2e3a65!=null&&this['_online']&&_0x31b5a5['id']===_0x2433e3[_0x51b2fb(0x4e1)]['id']&&_0x2e3a65[_0x51b2fb(0x29e)]===this[_0x51b2fb(0x4b5)]&&_0x2e3a65[_0x51b2fb(0x497)]===!0x1&&_0x2e3a65['ranges'][_0x51b2fb(0x354)]>0x0&&this[_0x51b2fb(0x234)](_0x2e3a65[_0x51b2fb(0x245)]);})),this[_0x942d42(0x3fd)][_0x942d42(0x1f1)][_0x942d42(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x5225fa=>{const _0x260054=_0x942d42;if((_0x5225fa==null?void 0x0:_0x5225fa[_0x260054(0x4b5)])!==this[_0x260054(0x4b5)])return;let _0x26c174={'eventID':_0x37a654['CollaborationEvent'][_0x260054(0x301)],'data':_0x5225fa};this[_0x260054(0x33d)](_0x26c174);}),this[_0x942d42(0x1a1)](this[_0x942d42(0x48e)]['onCommandExecuted'](_0x5b8f93=>{const _0x27fbe4=_0x942d42;if(_0x5b8f93['params']==null)return;let _0x3e9bbc=_0x5b8f93[_0x27fbe4(0x4bc)];if(_0x5b8f93['id']!==_0x2433e3[_0x27fbe4(0x44e)]['id']||_0x3e9bbc[_0x27fbe4(0x29e)]!==this[_0x27fbe4(0x4b5)])return;let _0x2f83fb={'id':'doc.mutation.rich-text-editing','params':_0x3e9bbc},_0x1c0475=this[_0x27fbe4(0x36c)];for(let [_0x21972d,_0x58479a]of _0x1c0475){let _0x4ee038={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x58479a[_0x27fbe4(0x245)]}},_0x1e5ddb=this[_0x27fbe4(0x227)][_0x27fbe4(0x25e)](_0x2f83fb,_0x4ee038,!0x1);if((0x0,_0x37a654[_0x27fbe4(0x20b)])(_0x1e5ddb))throw _0x1e5ddb[_0x27fbe4(0x1df)];_0x1c0475['set'](_0x21972d,{..._0x58479a,'ranges':_0x1e5ddb[_0x27fbe4(0x1c7)][_0x27fbe4(0x4bc)]['textRanges']});}queueMicrotask(()=>{const _0x3a5e88=_0x27fbe4;this[_0x3a5e88(0x24e)]['next'](_0x1c0475);});})));}[_0x529b57(0x33d)](_0x3c11ee){const _0xf6399f=_0x529b57;var _0x202c0c,_0xfda35c;let {memberID:_0x8b7c73,selection:_0x22a2c6}=_0x3c11ee[_0xf6399f(0x482)],_0x40d309=_0x4370a8(_0x22a2c6),_0x15aeb6=(_0x202c0c=(_0xfda35c=this[_0xf6399f(0x4d1)][_0xf6399f(0x1e1)](this[_0xf6399f(0x4b5)],_0x8b7c73))==null?void 0x0:_0xfda35c[_0xf6399f(0x2ab)])==null?_0xf6399f(0x313):_0x202c0c,_0x49ea1c={'color':this[_0xf6399f(0x437)][_0xf6399f(0x1d5)](_0x8b7c73),'name':_0x15aeb6,'ranges':_0x40d309},_0x508e35=this[_0xf6399f(0x36c)];_0x508e35[_0xf6399f(0x340)](_0x8b7c73,_0x49ea1c),this[_0xf6399f(0x24e)][_0xf6399f(0x366)](_0x508e35);}[_0x529b57(0x398)](_0x2fdcfa){const _0x5c1b4f=_0x529b57;let {memberID:_0x3741ed}=_0x2fdcfa[_0x5c1b4f(0x482)],_0xe076f9=this[_0x5c1b4f(0x36c)];_0xe076f9[_0x5c1b4f(0x472)](_0x3741ed),this['_cursorInfo$']['next'](_0xe076f9);}[_0x529b57(0x4c2)](){const _0x419dfc=_0x529b57;var _0x557af2;if(this[_0x419dfc(0x486)]=!0x0,((_0x557af2=this[_0x419dfc(0x471)][_0x419dfc(0x496)]())==null?void 0x0:_0x557af2[_0x419dfc(0x2b5)]())!==this['unitID'])return;let _0x1a922e=this[_0x419dfc(0x309)][_0x419dfc(0x480)](_0x2433e3[_0x419dfc(0x415)])[_0x419dfc(0x2aa)]();Array[_0x419dfc(0x36f)](_0x1a922e)&&_0x1a922e[_0x419dfc(0x354)]>0x0&&this[_0x419dfc(0x234)](_0x1a922e);}[_0x529b57(0x25f)](){this['_online']=!0x1;}};_0x2e2c39=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x5,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x3d8da4)),_0x3c6f51(0x6,_0x37a654['ITransformService']),_0x3c6f51(0x7,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x8,_0x54099e[_0x529b57(0x2e1)])],_0x2e2c39);let _0x452724=()=>{let _0x75d6bb=[],_0x23277b=!0x1;return _0x32908f=>{_0x75d6bb['push'](_0x32908f),_0x23277b||(_0x23277b=!0x0,setTimeout(()=>{const _0x5b3fe9=_0x2ff8;_0x75d6bb[_0x5b3fe9(0x27d)](_0x49f78b=>_0x49f78b()),_0x75d6bb=[],_0x23277b=!0x1;}));};},_0x4bca1d=class extends _0x54099e['RxDisposable']{get['cursorInfo'](){const _0x4d9393=_0x529b57;return this[_0x4d9393(0x24e)]['getValue']();}get['roomMembers'](){const _0x2d8716=_0x529b57;return this['_roomMembers$'][_0x2d8716(0x36e)]();}constructor(_0x65a0,_0x3accfb,_0x4624d4,_0x39f228,_0x12d518,_0x30b48a,_0x2300b2,_0x2ea3fb){const _0x175564=_0x529b57;super(),this['unitID']=_0x65a0,this['_session']=_0x3accfb,this['_injector']=_0x4624d4,this['_colorAssignService']=_0x39f228,this[_0x175564(0x4d1)]=_0x12d518,this[_0x175564(0x471)]=_0x30b48a,this[_0x175564(0x48e)]=_0x2300b2,this[_0x175564(0x1f8)]=_0x2ea3fb,_0x77e721(this,_0x175564(0x486),!0x1),_0x77e721(this,_0x175564(0x2cb),!0x1),_0x77e721(this,'_cursorInfo$',new _0x541406[(_0x175564(0x225))](new Map())),_0x77e721(this,_0x175564(0x3d3),this['_cursorInfo$'][_0x175564(0x24b)]()),_0x77e721(this,_0x175564(0x3e3),new _0x541406[(_0x175564(0x225))]([])),_0x77e721(this,_0x175564(0x198),this[_0x175564(0x3e3)][_0x175564(0x2a7)]((0x0,_0x541406[_0x175564(0x2a9)])(0x12c))),_0x77e721(this,'_updateLocalCursor',(0x0,_0x54099e[_0x175564(0x322)])((_0x4c29ec,_0x3625ff)=>{const _0xb93447=_0x175564;let _0x5b8ad9={'eventID':_0x37a654[_0xb93447(0x269)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb93447(0x4b5)],'memberID':this[_0xb93447(0x200)][_0xb93447(0x31f)](),'selection':(0x0,_0x29b436[_0xb93447(0x445)])(_0x4c29ec,_0x3625ff[_0xb93447(0x2e5)])}};this[_0xb93447(0x200)][_0xb93447(0x409)](_0x5b8ad9,this[_0xb93447(0x4b5)]);},0x64));}['dispose'](){const _0x42258b=_0x529b57;super[_0x42258b(0x1c0)](),this[_0x42258b(0x24e)][_0x42258b(0x366)](new Map()),this[_0x42258b(0x24e)][_0x42258b(0x32e)](),this[_0x42258b(0x3e3)]['next']([]),this[_0x42258b(0x3e3)][_0x42258b(0x32e)]();}[_0x529b57(0x318)](){const _0x27bc33=_0x529b57;this['_init']||(this['_init']=!0x0,this[_0x27bc33(0x200)][_0x27bc33(0x3b2)][_0x27bc33(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0x27bc33(0x2e2)]))[_0x27bc33(0x1a7)](_0xdcc84=>{const _0x588d95=_0x27bc33;_0xdcc84===_0x39299b[_0x588d95(0x4ae)][_0x588d95(0x34f)]?this['_toggleOnline']():this[_0x588d95(0x25f)]();}),this[_0x27bc33(0x200)][_0x27bc33(0x2dd)][_0x27bc33(0x2a7)]((0x0,_0x541406[_0x27bc33(0x39f)])(this[_0x27bc33(0x2e2)]))['subscribe'](_0x12546c=>{const _0xaf5b2f=_0x27bc33;let _0x27b3cf=_0x12546c[_0xaf5b2f(0x26b)];_0x27b3cf===_0x37a654['CollaborationEvent'][_0xaf5b2f(0x301)]&&this[_0xaf5b2f(0x33d)](_0x12546c),_0x27b3cf===_0x37a654[_0xaf5b2f(0x269)]['USERS_LEAVE']&&this[_0xaf5b2f(0x398)](_0x12546c);}),this['_onRefRangeChange'](),this[_0x27bc33(0x1a1)](this['_commandService'][_0x27bc33(0x311)](_0x32ed3b=>{const _0x39accc=_0x27bc33;if(this[_0x39accc(0x486)]&&_0x32ed3b['id']===_0x13da0d[_0x39accc(0x274)]['id']&&_0x32ed3b[_0x39accc(0x4bc)][_0x39accc(0x29e)]===this['unitID']){let _0x1ce884=_0x32ed3b[_0x39accc(0x4bc)];this[_0x39accc(0x234)](_0x1ce884[_0x39accc(0x2ec)],_0x1ce884['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3131ad){const _0x4372f3=_0x529b57;var _0x3ed73d,_0x608a7b;let {memberID:_0x4ec824,selection:_0x2272d3}=_0x3131ad[_0x4372f3(0x482)],{sheetName:_0xb2304c,range:_0x131581}=(0x0,_0x29b436['deserializeRangeWithSheet'])(_0x2272d3),_0x13398a={'name':(_0x3ed73d=(_0x608a7b=this['_memberService'][_0x4372f3(0x1e1)](this[_0x4372f3(0x4b5)],_0x4ec824))==null?void 0x0:_0x608a7b[_0x4372f3(0x2ab)])==null?_0x4372f3(0x313):_0x3ed73d,'range':this['_getMergeRange'](_0xb2304c,_0x131581),'sheetID':_0xb2304c,'color':this[_0x4372f3(0x437)][_0x4372f3(0x1d5)](_0x4ec824),'selection':_0x2272d3},_0x74a725=this[_0x4372f3(0x36c)];_0x74a725['set'](_0x4ec824,_0x13398a),this[_0x4372f3(0x24e)][_0x4372f3(0x366)](_0x74a725);}[_0x529b57(0x398)](_0x518b3a){const _0x5b130f=_0x529b57;let {memberID:_0x485132}=_0x518b3a[_0x5b130f(0x482)],_0xf1c36e=this[_0x5b130f(0x36c)];_0xf1c36e['delete'](_0x485132),this[_0x5b130f(0x24e)][_0x5b130f(0x366)](_0xf1c36e);}['_getMergeRange'](_0x4620ee,_0x213ab7){const _0x508270=_0x529b57;var _0x5cb988;let _0x21adcf=(_0x5cb988=this['_univerInstanceService'][_0x508270(0x3a3)](this[_0x508270(0x4b5)]))==null||(_0x5cb988=_0x5cb988[_0x508270(0x425)](_0x4620ee))==null?void 0x0:_0x5cb988[_0x508270(0x4c0)]();return(_0x21adcf==null?void 0x0:_0x21adcf[_0x508270(0x452)](_0x2dfaba=>_0x54099e[_0x508270(0x382)]['contains'](_0x2dfaba,_0x213ab7)))||_0x213ab7;}['_onRefRangeChange'](){const _0x35c829=_0x529b57;let _0x218b15=new _0x54099e[(_0x35c829(0x317))](),_0x3d3dec=_0x452724(),_0x1b3014=()=>{const _0x3c57e4=_0x35c829;_0x218b15[_0x3c57e4(0x1c0)]();let _0x5a9b64=(_0x31ede7,_0x4b5cf4,_0x20bea1,_0xc4a00)=>{const _0x118e3d=_0x3c57e4;let _0x370d19=[];switch(_0x31ede7['id']){case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x190)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x47d)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x444)]:_0x370d19=(0x0,_0x13da0d['handleDeleteRangeMoveUp'])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x2d1)]:_0x370d19=(0x0,_0x13da0d['handleInsertCol'])(_0x31ede7,_0xc4a00);break;case _0x13da0d['EffectRefRangId']['InsertRangeMoveDownCommandId']:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x3b1)])(_0x31ede7,_0xc4a00);break;case _0x13da0d['EffectRefRangId'][_0x118e3d(0x331)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x353)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x336)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x323)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x27c)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x3fb)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)]['RemoveColCommandId']:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x30c)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x3e2)]:_0x370d19=(0x0,_0x13da0d['handleIRemoveRow'])(_0x31ede7,_0xc4a00);break;}let _0x1f97b4=(0x0,_0x13da0d[_0x118e3d(0x3ad)])(_0x370d19,_0xc4a00),_0x5721ed=this['cursorInfo'][_0x118e3d(0x480)](_0x4b5cf4);if(_0x5721ed&&_0x1f97b4){let _0x348ab2={..._0x5721ed,'range':_0x1f97b4};this[_0x118e3d(0x36c)][_0x118e3d(0x340)](_0x4b5cf4,_0x348ab2),_0x3d3dec(()=>{let _0x8148a6=this['_refRangeService']['registerRefRange'](_0x1f97b4,_0x3d68b5=>(_0x8148a6['dispose'](),_0x5a9b64(_0x3d68b5,_0x4b5cf4,_0x20bea1,_0x1f97b4)));_0x218b15['add'](_0x8148a6);});}return{'redos':[],'undos':[]};};this[_0x3c57e4(0x36c)][_0x3c57e4(0x27d)]((_0x53bba3,_0x898934)=>{const _0x3da5af=_0x3c57e4;let {range:_0x28e46d,sheetID:_0x259a75}=_0x53bba3,_0x588d3f=this[_0x3da5af(0x1f8)][_0x3da5af(0x37f)](_0x28e46d,_0x2dd56e=>(_0x588d3f[_0x3da5af(0x1c0)](),_0x5a9b64(_0x2dd56e,_0x898934,_0x259a75,_0x28e46d)));_0x218b15[_0x3da5af(0x293)](_0x588d3f);});};this[_0x35c829(0x1a1)]((0x0,_0x54099e[_0x35c829(0x1d4)])(this[_0x35c829(0x24e)][_0x35c829(0x1a7)](()=>{_0x1b3014();})));}[_0x529b57(0x4c2)](){const _0x354ad2=_0x529b57;var _0x44bed1,_0x151278;if(this[_0x354ad2(0x486)]=!0x0,((_0x44bed1=this['_univerInstanceService'][_0x354ad2(0x496)]())==null?void 0x0:_0x44bed1[_0x354ad2(0x2b5)]())!==this['unitID'])return;let _0x13dedd=(_0x151278=this[_0x354ad2(0x309)][_0x354ad2(0x480)](_0x13da0d['SheetsSelectionsService'])[_0x354ad2(0x392)]())==null?void 0x0:_0x151278[0x0],_0x185a94=this['_univerInstanceService'][_0x354ad2(0x1e3)](_0x54099e[_0x354ad2(0x1d1)][_0x354ad2(0x1d9)])[_0x354ad2(0x41b)]();_0x13dedd&&_0x185a94&&this[_0x354ad2(0x234)](_0x185a94[_0x354ad2(0x2a3)](),_0x13dedd);}[_0x529b57(0x25f)](){const _0x5986d7=_0x529b57;this[_0x5986d7(0x486)]=!0x1;}};_0x4bca1d=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x5,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x6,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x7,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x13da0d[_0x529b57(0x1b0)]))],_0x4bca1d);function _0x311c62(_0x17c6b7){const _0x50dedd=_0x529b57;let _0x537f94;try{_0x537f94=JSON[_0x50dedd(0x49b)](_0x17c6b7);}catch{return null;}if(typeof _0x537f94!=_0x50dedd(0x224)||!_0x537f94)return null;let _0x346046=_0x537f94;if(_0x346046[_0x50dedd(0x218)]!==_0x50dedd(0x388)||typeof _0x346046[_0x50dedd(0x29e)]!=_0x50dedd(0x49d)||typeof _0x346046[_0x50dedd(0x2ec)]!=_0x50dedd(0x49d))return null;let _0x546900=Array['isArray'](_0x346046['selectedIds'])?_0x346046[_0x50dedd(0x2ea)][_0x50dedd(0x21a)](_0x4c0acb=>typeof _0x4c0acb==_0x50dedd(0x49d)):[],_0x318d0f=typeof _0x346046[_0x50dedd(0x442)]==_0x50dedd(0x49d)?_0x346046[_0x50dedd(0x442)]:null;return{'kind':_0x50dedd(0x388),'unitId':_0x346046[_0x50dedd(0x29e)],'subUnitId':_0x346046[_0x50dedd(0x2ec)],'selectedIds':_0x546900,'focusedId':_0x318d0f};}let _0x3eae39=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x543d1a=_0x529b57;return this[_0x543d1a(0x24e)][_0x543d1a(0x36e)]();}get[_0x529b57(0x2e8)](){const _0x471f33=_0x529b57;return this[_0x471f33(0x3e3)][_0x471f33(0x36e)]();}constructor(_0x5e5036,_0x13a350,_0x48de18,_0x397813,_0x212ab8){const _0x48f40d=_0x529b57;super(),this['unitID']=_0x5e5036,this['_session']=_0x13a350,this[_0x48f40d(0x437)]=_0x48de18,this[_0x48f40d(0x4d1)]=_0x397813,this[_0x48f40d(0x33f)]=_0x212ab8,_0x77e721(this,'_online',!0x1),_0x77e721(this,'_init',!0x1),_0x77e721(this,_0x48f40d(0x24e),new _0x541406['BehaviorSubject'](new Map())),_0x77e721(this,_0x48f40d(0x3d3),this[_0x48f40d(0x24e)][_0x48f40d(0x24b)]()),_0x77e721(this,_0x48f40d(0x3e3),new _0x541406[(_0x48f40d(0x225))]([])),_0x77e721(this,_0x48f40d(0x198),this['_roomMembers$'][_0x48f40d(0x2a7)]((0x0,_0x541406['debounceTime'])(0x12c))),_0x77e721(this,_0x48f40d(0x234),(0x0,_0x54099e[_0x48f40d(0x322)])(_0x25588f=>{const _0x5d3fe6=_0x48f40d;let _0x2181dd=_0x25588f[_0x5d3fe6(0x3b5)];if(!_0x2181dd||_0x2181dd[_0x5d3fe6(0x29e)]!==this['unitID'])return;let _0x34fa47={'kind':_0x5d3fe6(0x388),'unitId':_0x2181dd[_0x5d3fe6(0x29e)],'subUnitId':_0x2181dd[_0x5d3fe6(0x2ec)],'selectedIds':_0x25588f[_0x5d3fe6(0x2ea)]['filter'](_0x117e40=>typeof _0x117e40==_0x5d3fe6(0x49d)),'focusedId':_0x25588f[_0x5d3fe6(0x442)]},_0x4d9a95={'eventID':_0x37a654[_0x5d3fe6(0x269)][_0x5d3fe6(0x301)],'data':{'unitID':this[_0x5d3fe6(0x4b5)],'memberID':this[_0x5d3fe6(0x200)][_0x5d3fe6(0x31f)](),'selection':JSON[_0x5d3fe6(0x2d8)](_0x34fa47)}};this[_0x5d3fe6(0x200)]['send'](_0x4d9a95,this[_0x5d3fe6(0x4b5)]);},0x64));}[_0x529b57(0x1c0)](){const _0x161265=_0x529b57;super[_0x161265(0x1c0)](),this['_cursorInfo$'][_0x161265(0x366)](new Map()),this[_0x161265(0x24e)][_0x161265(0x32e)](),this['_roomMembers$'][_0x161265(0x366)]([]),this[_0x161265(0x3e3)][_0x161265(0x32e)]();}[_0x529b57(0x318)](){const _0x253d40=_0x529b57;this[_0x253d40(0x2cb)]||(this[_0x253d40(0x2cb)]=!0x0,this[_0x253d40(0x200)][_0x253d40(0x3b2)]['pipe']((0x0,_0x541406['takeUntil'])(this[_0x253d40(0x2e2)]))[_0x253d40(0x1a7)](_0x332bb4=>{const _0xb712e=_0x253d40;_0x332bb4===_0x39299b[_0xb712e(0x4ae)]['ONLINE']?this[_0xb712e(0x4c2)]():this[_0xb712e(0x25f)]();}),this[_0x253d40(0x200)][_0x253d40(0x2dd)][_0x253d40(0x2a7)]((0x0,_0x541406['takeUntil'])(this['dispose$']))[_0x253d40(0x1a7)](_0x4110a5=>{const _0x3accf2=_0x253d40;let _0x2d0d7a=_0x4110a5['eventID'];_0x2d0d7a===_0x37a654['CollaborationEvent'][_0x3accf2(0x301)]&&this[_0x3accf2(0x33d)](_0x4110a5),_0x2d0d7a===_0x37a654[_0x3accf2(0x269)][_0x3accf2(0x3f6)]&&this['_onCursorDelete'](_0x4110a5);}),this[_0x253d40(0x33f)][_0x253d40(0x39b)][_0x253d40(0x2a7)]((0x0,_0x541406[_0x253d40(0x39f)])(this[_0x253d40(0x2e2)]))[_0x253d40(0x1a7)](_0x323b29=>{const _0x3d1e30=_0x253d40;this[_0x3d1e30(0x486)]&&this[_0x3d1e30(0x234)](_0x323b29);}));}[_0x529b57(0x33d)](_0x4dc71d){const _0x349f4d=_0x529b57;var _0x11fce4,_0x500d66,_0x2d70ce,_0x59104e;let {memberID:_0x16eb80,selection:_0x2085ea}=_0x4dc71d[_0x349f4d(0x482)];if(_0x16eb80===((_0x11fce4=(_0x500d66=this[_0x349f4d(0x200)])[_0x349f4d(0x31f)])==null?void 0x0:_0x11fce4[_0x349f4d(0x2f2)](_0x500d66)))return;let _0x5cfc2f=_0x311c62(_0x2085ea);if(!_0x5cfc2f||_0x5cfc2f[_0x349f4d(0x29e)]!==this['unitID'])return;let _0x3735e9=(_0x2d70ce=(_0x59104e=this[_0x349f4d(0x4d1)]['getMember'](this[_0x349f4d(0x4b5)],_0x16eb80))==null?void 0x0:_0x59104e['name'])==null?_0x349f4d(0x313):_0x2d70ce,_0x49f65e={'color':this[_0x349f4d(0x437)][_0x349f4d(0x1d5)](_0x16eb80),'name':_0x3735e9,'unitId':_0x5cfc2f[_0x349f4d(0x29e)],'subUnitId':_0x5cfc2f['subUnitId'],'selectedIds':_0x5cfc2f[_0x349f4d(0x2ea)],'focusedId':_0x5cfc2f[_0x349f4d(0x442)],'selection':_0x2085ea},_0x98782=new Map(this['cursorInfo']);_0x98782[_0x349f4d(0x340)](_0x16eb80,_0x49f65e),this['_cursorInfo$'][_0x349f4d(0x366)](_0x98782);}['_onCursorDelete'](_0x2cf4a4){const _0xe376ee=_0x529b57;let {memberID:_0xebf014}=_0x2cf4a4[_0xe376ee(0x482)],_0x3debb5=new Map(this['cursorInfo']);_0x3debb5[_0xe376ee(0x472)](_0xebf014),this[_0xe376ee(0x24e)][_0xe376ee(0x366)](_0x3debb5);}['_toggleOnline'](){const _0x4200a0=_0x529b57;this[_0x4200a0(0x486)]=!0x0,this[_0x4200a0(0x234)](this[_0x4200a0(0x33f)][_0x4200a0(0x3aa)]());}['_toggleOffline'](){const _0x40a635=_0x529b57;this[_0x40a635(0x486)]=!0x1;}};_0x3eae39=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x339c27[_0x529b57(0x192)]))],_0x3eae39);let _0x1776e9=class extends _0x54099e['RxDisposable']{constructor(_0x88bc50,_0xb7c3b5,_0x2fe1ec){const _0x2c785b=_0x529b57;super(),this[_0x2c785b(0x471)]=_0x88bc50,this[_0x2c785b(0x309)]=_0xb7c3b5,this[_0x2c785b(0x351)]=_0x2fe1ec,_0x77e721(this,'_entities',new Map()),_0x77e721(this,_0x2c785b(0x1e5),new _0x541406[(_0x2c785b(0x37d))]()),this[_0x2c785b(0x2cb)]();}[_0x529b57(0x1c0)](){const _0x28489c=_0x529b57;super['dispose'](),this['_entityInit$'][_0x28489c(0x32e)](),this['_entities']['forEach'](_0x896909=>_0x896909[_0x28489c(0x1c0)]());}['getCollabCursors$'](_0x45b56b){const _0x4239ee=_0x529b57;return this[_0x4239ee(0x29b)][_0x4239ee(0x4d8)](_0x45b56b)?this[_0x4239ee(0x29b)][_0x4239ee(0x480)](_0x45b56b)['cursorInfo$']:this[_0x4239ee(0x1e5)][_0x4239ee(0x2a7)]((0x0,_0x541406[_0x4239ee(0x21a)])(_0x4f9b8d=>_0x4f9b8d[_0x4239ee(0x4b5)]===_0x45b56b),(0x0,_0x541406[_0x4239ee(0x19a)])(_0x2525ba=>_0x2525ba[_0x4239ee(0x3d3)]));}['_init'](){const _0x5c2f23=_0x529b57;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x1d9)])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['subscribe'](async _0x8d9841=>{const _0xc68190=_0x5c2f23;let _0xe7cc9e=_0x8d9841[_0xc68190(0x45f)][_0xc68190(0x2b5)](),_0x3d5a85=await this[_0xc68190(0x4b8)](_0xe7cc9e);this[_0xc68190(0x1e5)][_0xc68190(0x366)](_0x3d5a85),this[_0xc68190(0x29b)][_0xc68190(0x340)](_0xe7cc9e,_0x3d5a85);}),this[_0x5c2f23(0x471)]['getTypeOfUnitAdded$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x42a)])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['pipe']((0x0,_0x541406[_0x5c2f23(0x21a)])(_0x19005f=>!_0x19005f['unit']['getUnitId']()['startsWith']('__')))[_0x5c2f23(0x1a7)](async _0x3a24fe=>{const _0x487475=_0x5c2f23;let {unit:_0x26dd4b}=_0x3a24fe,_0x149efb=_0x26dd4b[_0x487475(0x2b5)](),_0x229155=await this[_0x487475(0x4a0)](_0x149efb);this['_entityInit$'][_0x487475(0x366)](_0x229155),this['_entities'][_0x487475(0x340)](_0x149efb,_0x229155);}),this['_univerInstanceService'][_0x5c2f23(0x431)](_0x54099e['UniverInstanceType'][_0x5c2f23(0x3f5)])[_0x5c2f23(0x2a7)]((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))[_0x5c2f23(0x1a7)](async _0x3bd5e6=>{const _0x3e6e4d=_0x5c2f23;let _0x283168=_0x3bd5e6[_0x3e6e4d(0x45f)][_0x3e6e4d(0x2b5)](),_0x7fb65=await this['_startSlideCollabCursor'](_0x283168);this[_0x3e6e4d(0x1e5)]['next'](_0x7fb65),this[_0x3e6e4d(0x29b)][_0x3e6e4d(0x340)](_0x283168,_0x7fb65);}),this[_0x5c2f23(0x471)][_0x5c2f23(0x431)](_0x54099e[_0x5c2f23(0x1d1)]['UNIVER_BOARD'])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['subscribe'](async _0x35ad27=>{const _0xe11869=_0x5c2f23;let _0x340b56=_0x35ad27[_0xe11869(0x45f)]['getUnitId'](),_0x3553df=await this[_0xe11869(0x458)](_0x340b56);this['_entityInit$']['next'](_0x3553df),this[_0xe11869(0x29b)][_0xe11869(0x340)](_0x340b56,_0x3553df);}),(0x0,_0x541406[_0x5c2f23(0x3c0)])(this['_univerInstanceService'][_0x5c2f23(0x191)](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x42a)]),this[_0x5c2f23(0x471)]['getTypeOfUnitDisposed$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x1d9)]),this[_0x5c2f23(0x471)]['getTypeOfUnitDisposed$'](_0x54099e['UniverInstanceType']['UNIVER_SLIDE']),this[_0x5c2f23(0x471)][_0x5c2f23(0x191)](_0x54099e['UniverInstanceType'][_0x5c2f23(0x195)]))[_0x5c2f23(0x2a7)]((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))[_0x5c2f23(0x1a7)](_0xcb8fe9=>{const _0x537609=_0x5c2f23;let _0x1742ca=_0xcb8fe9[_0x537609(0x2b5)](),_0x4f4d57=this[_0x537609(0x29b)]['get'](_0x1742ca);_0x4f4d57&&(_0x4f4d57['dispose'](),this[_0x537609(0x29b)][_0x537609(0x472)](_0x1742ca));});}async[_0x529b57(0x4b8)](_0x2a7f96){const _0x8ae913=_0x529b57;let _0x5beed8=await this[_0x8ae913(0x351)][_0x8ae913(0x3d5)](_0x2a7f96),_0x17e049=this['_injector'][_0x8ae913(0x206)](_0x4bca1d,_0x2a7f96,_0x5beed8);return _0x17e049[_0x8ae913(0x318)](),_0x17e049;}async[_0x529b57(0x4a0)](_0x5108fe){const _0x4054c9=_0x529b57;let _0x59df07=await this['_collabSessionService']['requireSession'](_0x5108fe),_0x46cfad=this['_injector']['createInstance'](_0x2e2c39,_0x5108fe,_0x59df07);return _0x46cfad[_0x4054c9(0x318)](),_0x46cfad;}async['_startSlideCollabCursor'](_0x10a90b){const _0x458522=_0x529b57;let _0x4a29cb=await this[_0x458522(0x351)][_0x458522(0x3d5)](_0x10a90b),_0x15da00=this['_injector']['createInstance'](_0x3eae39,_0x10a90b,_0x4a29cb);return _0x15da00[_0x458522(0x318)](),_0x15da00;}async[_0x529b57(0x458)](_0xc4f416){const _0x2950fb=_0x529b57;let _0x59e9f4=await this[_0x2950fb(0x351)][_0x2950fb(0x3d5)](_0xc4f416),_0x323ca1=this[_0x2950fb(0x309)][_0x2950fb(0x206)](_0x587e62,_0xc4f416,_0x59e9f4);return _0x323ca1[_0x2950fb(0x318)](),_0x323ca1;}};_0x1776e9=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IUniverInstanceService']),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['Injector'])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x3a7)]))],_0x1776e9);let _0x501055=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x3aad2f,_0x2a474c,_0x36ddab){const _0x973d7d=_0x529b57;super(),this[_0x973d7d(0x47e)]=_0x3aad2f,this['_collabCursorController']=_0x2a474c,this[_0x973d7d(0x37b)]=_0x36ddab,_0x77e721(this,_0x973d7d(0x2a4),new Set()),_0x77e721(this,_0x973d7d(0x3ce),!0x1),_0x77e721(this,_0x973d7d(0x265),!0x1),_0x77e721(this,'_latestCursors',new Map()),this['_init']();}[_0x529b57(0x1c0)](){const _0x1001cf=_0x529b57;this[_0x1001cf(0x3bc)](),super[_0x1001cf(0x1c0)]();}[_0x529b57(0x2cb)](){const _0x36ab67=_0x529b57;let _0x443b45=this[_0x36ab67(0x233)][_0x36ab67(0x1a3)](this['_context'][_0x36ab67(0x29e)]);this[_0x36ab67(0x1a1)]((0x0,_0x54099e[_0x36ab67(0x1d4)])((0x0,_0x541406[_0x36ab67(0x2a8)])([_0x443b45,this[_0x36ab67(0x47e)][_0x36ab67(0x45f)][_0x36ab67(0x26e)],this[_0x36ab67(0x37b)][_0x36ab67(0x1c3)]])[_0x36ab67(0x2a7)]((0x0,_0x541406['takeUntil'])(this['dispose$']))[_0x36ab67(0x1a7)](([_0x572504])=>{const _0x32ee6e=_0x36ab67;let _0x5c5ea3=this[_0x32ee6e(0x47e)][_0x32ee6e(0x45f)][_0x32ee6e(0x40d)](),_0x19f229=new Map();_0x572504['forEach']((_0x54b3eb,_0x43856f)=>{const _0x346daf=_0x32ee6e;_0x54b3eb[_0x346daf(0x2ec)]===_0x5c5ea3&&_0x19f229[_0x346daf(0x340)](_0x43856f,{..._0x54b3eb,'color':this['_themeService'][_0x346daf(0x211)](_0x54b3eb['color'])});}),this['_latestCursors']=_0x19f229,this[_0x32ee6e(0x3bb)]();})));let _0x45fc86=this[_0x36ab67(0x47e)][_0x36ab67(0x31d)];this[_0x36ab67(0x1a1)]((0x0,_0x54099e[_0x36ab67(0x1d4)])(_0x45fc86[_0x36ab67(0x41e)][_0x36ab67(0x2a7)]((0x0,_0x541406[_0x36ab67(0x39f)])(this[_0x36ab67(0x2e2)]))[_0x36ab67(0x1a7)](()=>{const _0x4620df=_0x36ab67;this[_0x4620df(0x265)]||this[_0x4620df(0x3bb)]();})));}['_scheduleRender'](){const _0x1db1d4=_0x529b57;this[_0x1db1d4(0x3ce)]||(this[_0x1db1d4(0x3ce)]=!0x0,Promise[_0x1db1d4(0x4cd)]()[_0x1db1d4(0x2ff)](()=>{const _0x3cace9=_0x1db1d4;this['_renderScheduled']=!0x1,this[_0x3cace9(0x368)]();}));}['_render'](){const _0x57c181=_0x529b57;this[_0x57c181(0x3bc)]();let _0xeca473=this[_0x57c181(0x47e)][_0x57c181(0x45f)][_0x57c181(0x40d)](),_0x1fa773=[];if(this[_0x57c181(0x3f4)][_0x57c181(0x27d)]((_0x213b09,_0x10e1cc)=>{const _0x53ff63=_0x57c181;_0x213b09[_0x53ff63(0x2ec)]===_0xeca473&&_0x213b09['selectedIds'][_0x53ff63(0x27d)](_0x26a8f4=>{const _0xea3a28=_0x53ff63;let _0x14c0dd=(0x0,_0x5a835b[_0xea3a28(0x40c)])(_0x213b09[_0xea3a28(0x29e)],_0x26a8f4),_0x183ca0=this[_0xea3a28(0x1a5)](_0x14c0dd);if(!_0x183ca0)return;let _0x530db3=this['_getObjectBounds'](_0x183ca0);_0x1fa773['push'](new _0x496379('board-collab-cursor-'+_0x10e1cc+'-'+_0x26a8f4,{..._0x213b09,'left':_0x530db3['left'],'top':_0x530db3[_0xea3a28(0x261)],'width':_0x530db3[_0xea3a28(0x1c1)],'height':_0x530db3[_0xea3a28(0x1ef)],'angle':_0x183ca0['angle'],'evented':!0x1,'zIndex':_0x413c21}));});}),_0x1fa773[_0x57c181(0x354)]===0x0){this['_context'][_0x57c181(0x31d)][_0x57c181(0x373)](!0x0);return;}this[_0x57c181(0x265)]=!0x0,this[_0x57c181(0x47e)][_0x57c181(0x31d)][_0x57c181(0x3f9)](_0x1fa773,_0x413c21),this[_0x57c181(0x265)]=!0x1,this['_cursors']=new Set(_0x1fa773),this[_0x57c181(0x47e)][_0x57c181(0x31d)]['makeDirty'](!0x0);}[_0x529b57(0x3bc)](){const _0x36338a=_0x529b57;let _0x4f8134=Array[_0x36338a(0x1d6)](this[_0x36338a(0x2a4)]);if(_0x4f8134[_0x36338a(0x354)]===0x0)return;let _0x251dc7=this[_0x36338a(0x47e)][_0x36338a(0x31d)];_0x36338a(0x2c6)in _0x251dc7&&typeof _0x251dc7[_0x36338a(0x2c6)]==_0x36338a(0x22d)?_0x251dc7['removeObjects'](_0x4f8134):_0x4f8134['forEach'](_0x1802d6=>{const _0x5812bf=_0x36338a;_0x5812bf(0x1c6)in _0x251dc7&&typeof _0x251dc7['removeObject']==_0x5812bf(0x22d)?_0x251dc7[_0x5812bf(0x1c6)](_0x1802d6):_0x1802d6['dispose']();}),this[_0x36338a(0x2a4)]['clear'](),_0x251dc7[_0x36338a(0x373)](!0x0);}['_getSceneObjectByKey'](_0x7b36e4){const _0x396d54=_0x529b57;var _0x59bc7c,_0x1d33ba,_0x1f52e4;let _0xcbbe5e=this['_context'][_0x396d54(0x31d)];return(_0x59bc7c=(_0x1d33ba=(_0x1f52e4=_0xcbbe5e[_0x396d54(0x464)])==null?void 0x0:_0x1f52e4[_0x396d54(0x2f2)](_0xcbbe5e,_0x7b36e4))==null?_0xcbbe5e[_0x396d54(0x3e8)](_0x7b36e4):_0x1d33ba)==null?null:_0x59bc7c;}['_getObjectBounds'](_0x131bf1){const _0x122a14=_0x529b57;var _0x30a87b,_0x173d2d;let _0x5f1e93=_0x131bf1;return(_0x30a87b=(_0x173d2d=_0x5f1e93[_0x122a14(0x356)])==null?void 0x0:_0x173d2d[_0x122a14(0x2f2)](_0x5f1e93))==null?{'left':_0x131bf1[_0x122a14(0x3c4)],'top':_0x131bf1[_0x122a14(0x261)],'width':_0x131bf1[_0x122a14(0x1c1)],'height':_0x131bf1[_0x122a14(0x1ef)]}:_0x30a87b;}};_0x501055=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x19e)]))],_0x501055);let _0x25f51b=_0x529b57(0x4e3);var _0x302a26=class{constructor(_0x3c313e,_0x1b7310,_0x39dcad,_0x17d76a){const _0x383ded=_0x529b57;this['_cursor']=_0x3c313e,this['_scene']=_0x1b7310,this['_docSkeleton']=_0x39dcad,this['_document']=_0x17d76a,_0x77e721(this,'_shapes',[]),_0x77e721(this,_0x383ded(0x22c),null),_0x77e721(this,_0x383ded(0x260),null),_0x77e721(this,_0x383ded(0x1b8),null),_0x77e721(this,_0x383ded(0x4c5),null),_0x77e721(this,'_eventUnsubscribe',null),this[_0x383ded(0x368)]();}set['_hover'](_0x4cf9a1){const _0x95907c=_0x529b57;_0x4cf9a1?(this[_0x95907c(0x1b8)]&&this[_0x95907c(0x1b8)]['hide'](),this[_0x95907c(0x260)]&&this[_0x95907c(0x260)][_0x95907c(0x23d)]()):(this['_anchorDot']&&this[_0x95907c(0x1b8)][_0x95907c(0x23d)](),this[_0x95907c(0x260)]&&this[_0x95907c(0x260)]['hide']());}[_0x529b57(0x1c0)](){const _0x229ecc=_0x529b57;for(let _0x5519db of this[_0x229ecc(0x28b)])_0x5519db[_0x229ecc(0x1c0)]();this[_0x229ecc(0x260)]&&this[_0x229ecc(0x260)][_0x229ecc(0x1c0)](),this[_0x229ecc(0x1b8)]&&this[_0x229ecc(0x1b8)]['dispose'](),this[_0x229ecc(0x22c)]&&this[_0x229ecc(0x22c)][_0x229ecc(0x1c0)](),this[_0x229ecc(0x397)]&&this['_eventUnsubscribe']();}[_0x529b57(0x368)](){const _0x260269=_0x529b57;let {_docSkeleton:_0x12f4b6,_document:_0x56bef7}=this,{color:_0x2b0450,name:_0x4b2576,ranges:_0x447f06}=this[_0x260269(0x19d)],_0x43de4f=_0x56bef7['getOffsetConfig'](),{docsLeft:_0x8f24e4,docsTop:_0x2c1397}=_0x43de4f,_0xcbb929=new _0xc39b36[(_0x260269(0x3ca))](_0x43de4f,_0x12f4b6);for(let {startOffset:_0x514d5b,endOffset:_0x5cb697,rangeType:_0x4fecef,segmentId:_0x21b348,segmentPage:_0x16021e,collapsed:_0x3273ae,isActive:_0x1e362d}of _0x447f06){let _0xe75bc3=_0x12f4b6[_0x260269(0x308)](_0x514d5b,!0x0,_0x21b348,_0x16021e),_0x534c3b=_0x12f4b6[_0x260269(0x308)](_0x5cb697,!0x0,_0x21b348,_0x16021e);if(_0x534c3b==null&&(_0x534c3b=_0x12f4b6[_0x260269(0x308)](_0x5cb697-0x1,!0x1,_0x21b348,_0x16021e)),_0x1e362d){let {contentBoxPointGroup:_0x31e127}=_0xcbb929['getRangePointData'](_0x534c3b,_0x534c3b);if(_0x31e127[_0x260269(0x354)]===0x0)continue;this[_0x260269(0x327)](_0x2b0450,_0x31e127,_0x8f24e4,_0x2c1397,_0x4b2576),this['_eventUnsubscribe']=this[_0x260269(0x339)]();}if(_0xe75bc3&&_0x534c3b){if(_0x4fecef===_0x54099e[_0x260269(0x3fa)][_0x260269(0x38d)]){var _0x4e95d5;let {pointGroup:_0x4ecf86}=(_0x4e95d5=new _0xc39b36[(_0x260269(0x217))](_0x43de4f,_0x12f4b6)[_0x260269(0x337)](_0xe75bc3,_0x534c3b))==null?{}:_0x4e95d5;if(_0x4ecf86==null||_0x4ecf86['length']===0x0)continue;this[_0x260269(0x4df)](_0x2b0450,_0x4ecf86,_0x8f24e4,_0x2c1397);}else{if(!_0x3273ae){let {borderBoxPointGroup:_0x4f44e7}=_0xcbb929[_0x260269(0x337)](_0xe75bc3,_0x534c3b);if(_0x4f44e7[_0x260269(0x354)]===0x0)continue;this[_0x260269(0x28f)](_0x2b0450,_0x4f44e7,_0x8f24e4,_0x2c1397);}}}}}[_0x529b57(0x327)](_0x4a61b4,_0x17e6f6,_0x4e336b,_0x2150fa,_0x2df8f6){const _0x10f334=_0x529b57;let {left:_0x1e0e5f,top:_0x351cea,height:_0x5b0f98}=this[_0x10f334(0x235)](_0x17e6f6),_0x30f0f6=1.5/this[_0x10f334(0x2c2)](),_0x18d030=new _0x36fb2d[(_0x10f334(0x1a6))](_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa,'height':_0x5b0f98,'width':1.5,'fill':_0x4a61b4||(0x0,_0x36fb2d['getColor'])(_0x54099e[_0x10f334(0x470)][_0x10f334(0x485)],0x0),'strokeWidth':_0x30f0f6,'stroke':_0x10f334(0x287),'evented':!0x0});this[_0x10f334(0x22c)]=_0x18d030,this[_0x10f334(0x248)][_0x10f334(0x3f0)](_0x18d030,_0xc39b36[_0x10f334(0x1a8)]);let _0x267609=new _0x36fb2d['Rect'](_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x4a61b4||(0x0,_0x36fb2d[_0x10f334(0x2f4)])(_0x54099e['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x4a61b4||(0x0,_0x36fb2d['getColor'])(_0x54099e['COLORS'][_0x10f334(0x485)],0x0),'evented':!0x1});this[_0x10f334(0x1b8)]=_0x267609,this[_0x10f334(0x248)][_0x10f334(0x3f0)](_0x267609,_0xc39b36[_0x10f334(0x1a8)]);let _0x4dd72e=new _0xbc2002(_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa-0x14,'text':_0x2df8f6,'color':_0x4a61b4});this[_0x10f334(0x260)]=_0x4dd72e,this['_scene']['addObject'](_0x4dd72e,_0xc39b36[_0x10f334(0x1a8)]),this[_0x10f334(0x2d9)]=!0x1;}[_0x529b57(0x339)](){const _0x57f3f0=_0x529b57;let _0x54a313=this[_0x57f3f0(0x22c)][_0x57f3f0(0x2e7)][_0x57f3f0(0x305)](()=>{const _0x3d37ff=_0x57f3f0;this[_0x3d37ff(0x2d9)]=!0x0;}),_0x3fbb83=this['_anchor'][_0x57f3f0(0x46c)]['subscribeEvent'](()=>{const _0x452d49=_0x57f3f0;this[_0x452d49(0x4c5)]&&clearTimeout(this[_0x452d49(0x4c5)]),this[_0x452d49(0x4c5)]=setTimeout(()=>{const _0x2a9d8f=_0x452d49;this[_0x2a9d8f(0x2d9)]=!0x1;},0x7d0);});return()=>{const _0x2439e3=_0x57f3f0;_0x54a313[_0x2439e3(0x310)](),_0x3fbb83[_0x2439e3(0x310)]();};}[_0x529b57(0x28f)](_0x3d22b6,_0x37a528,_0x5e74d0,_0x377fc5){const _0x1bf485=_0x529b57;let _0x36f322=0.2,_0x49a118=new _0x54099e['ColorKit'](_0x3d22b6)[_0x1bf485(0x2f8)](_0x36f322)[_0x1bf485(0x488)](),_0x25f910=new _0x36fb2d[(_0x1bf485(0x36a))](_0x1bf485(0x20e)+(0x0,_0x54099e[_0x1bf485(0x3c3)])(0x6),{'pointsGroup':_0x37a528,'fill':_0x49a118||(0x0,_0x36fb2d[_0x1bf485(0x2f4)])(_0x54099e[_0x1bf485(0x470)][_0x1bf485(0x485)],_0x36f322),'left':_0x5e74d0,'top':_0x377fc5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1bf485(0x29a)](_0x25f910),this[_0x1bf485(0x248)]['addObject'](_0x25f910,_0xc39b36[_0x1bf485(0x1a8)]);}[_0x529b57(0x4df)](_0x313282,_0x138173,_0xd6b677,_0x11840d){const _0x46e7c2=_0x529b57;let _0x3c3632=0.2,_0x125603=new _0x54099e['ColorKit'](_0x313282)[_0x46e7c2(0x2f8)](_0x3c3632)['toRgbString'](),_0xf18b27=new _0x36fb2d[(_0x46e7c2(0x36a))](_0x46e7c2(0x24d)+(0x0,_0x54099e['generateRandomId'])(0x6),{'pointsGroup':_0x138173,'fill':_0x125603||(0x0,_0x36fb2d[_0x46e7c2(0x2f4)])(_0x54099e[_0x46e7c2(0x470)][_0x46e7c2(0x485)],_0x3c3632),'left':_0xd6b677,'top':_0x11840d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46e7c2(0x28b)]['push'](_0xf18b27),this[_0x46e7c2(0x248)]['addObject'](_0xf18b27,_0xc39b36[_0x46e7c2(0x1a8)]);}[_0x529b57(0x235)](_0x9fcc33){let _0x1b3194=_0x9fcc33[0x0],_0x5594e5=_0x1b3194[0x0],_0x4bd097=_0x1b3194[0x2],{x:_0x15f2ac,y:_0x2db4a8}=_0x5594e5,{x:_0x5546a3,y:_0x5be3ba}=_0x4bd097;return{'left':_0x15f2ac,'top':_0x2db4a8,'width':_0x5546a3-_0x15f2ac,'height':_0x5be3ba-_0x2db4a8};}[_0x529b57(0x2c2)](){const _0x635a3c=_0x529b57;let {scaleX:_0x168b2c,scaleY:_0x578f41}=this[_0x635a3c(0x248)][_0x635a3c(0x32a)]();return Math[_0x635a3c(0x2ed)](_0x168b2c,_0x578f41);}};let _0x1e89c5=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x5be51e,_0x1ea334,_0x2e20f6,_0x5e8aca,_0x3cb8d5){const _0x14d00c=_0x529b57;super(),this[_0x14d00c(0x47e)]=_0x5be51e,this['_docSkeletonManagerService']=_0x1ea334,this[_0x14d00c(0x233)]=_0x2e20f6,this[_0x14d00c(0x48e)]=_0x5e8aca,this[_0x14d00c(0x37b)]=_0x3cb8d5,_0x77e721(this,_0x14d00c(0x3cc),[]),_0x77e721(this,_0x14d00c(0x2a4),[]),this[_0x14d00c(0x2cb)]();}[_0x529b57(0x2cb)](){const _0xa80959=_0x529b57;let _0x523c0f=this[_0xa80959(0x47e)]['unitId'],_0xd3f560=this[_0xa80959(0x2c3)];this[_0xa80959(0x1a1)]((0x0,_0x541406[_0xa80959(0x2a8)])([this[_0xa80959(0x233)][_0xa80959(0x1a3)](_0x523c0f),this[_0xa80959(0x37b)][_0xa80959(0x1c3)]])[_0xa80959(0x2a7)]((0x0,_0x51a8f2[_0xa80959(0x4d9)])(([_0x409747,_0xad78da])=>({'skeleton':_0xd3f560['getSkeleton'](),'cursors':[..._0x409747[_0xa80959(0x326)]()][_0xa80959(0x476)](_0x12ac60=>({..._0x12ac60,'color':this[_0xa80959(0x37b)]['getColorFromTheme'](_0x12ac60[_0xa80959(0x4c8)])}))})))[_0xa80959(0x1a7)](_0x37c436=>{const _0x31a4c6=_0xa80959;if(this[_0x31a4c6(0x3bc)](),_0x37c436){let {skeleton:_0x56c633,cursors:_0xb679fd}=_0x37c436;this[_0x31a4c6(0x2fe)](_0x56c633,_0xb679fd);}})),this[_0xa80959(0x35b)](),this[_0xa80959(0x370)]();}[_0x529b57(0x2fe)](_0x250818,_0x4abed9){const _0x49ffc9=_0x529b57;let {scene:_0x3ba5ad,mainComponent:_0x1e35fc}=this[_0x49ffc9(0x47e)],_0x2c0f62=_0x4abed9[_0x49ffc9(0x4d9)](_0x4d19e1=>new _0x302a26(_0x4d19e1,_0x3ba5ad,_0x250818,_0x1e35fc));this['_cursorShapes']=_0x2c0f62,this['_cursors']=_0x4abed9;}[_0x529b57(0x262)](){const _0x3f35ab=_0x529b57;this['_removeCollabCursors']();let {scene:_0x285918,mainComponent:_0x21828f}=this[_0x3f35ab(0x47e)],_0x25a034=this[_0x3f35ab(0x2c3)]['getSkeleton'](),_0x2155ba=this[_0x3f35ab(0x2a4)][_0x3f35ab(0x4d9)](_0x3b23ba=>new _0x302a26(_0x3b23ba,_0x285918,_0x25a034,_0x21828f));this[_0x3f35ab(0x3cc)]=_0x2155ba;}[_0x529b57(0x3bc)](){const _0x30c5fd=_0x529b57;this['_cursorShapes'][_0x30c5fd(0x27d)](_0x36ccbd=>_0x36ccbd[_0x30c5fd(0x1c0)]()),this[_0x30c5fd(0x3cc)]=[];}[_0x529b57(0x370)](){const _0x36517f=_0x529b57;let _0x34b820=[_0xc39b36[_0x36517f(0x4e6)]['id']];this[_0x36517f(0x1a1)](this[_0x36517f(0x48e)][_0x36517f(0x311)](_0x1346eb=>{const _0x176d43=_0x36517f;_0x34b820['includes'](_0x1346eb['id'])&&_0x1346eb[_0x176d43(0x4bc)][_0x176d43(0x29e)]===this[_0x176d43(0x47e)][_0x176d43(0x29e)]&&this[_0x176d43(0x262)]();}));}['_initResize'](){const _0x2792db=_0x529b57;this[_0x2792db(0x1a1)]((0x0,_0x54099e[_0x2792db(0x3b6)])(this[_0x2792db(0x47e)]['engine']['onTransformChange$'])['pipe']((0x0,_0x51a8f2[_0x2792db(0x21a)])(_0x3127a9=>_0x3127a9[_0x2792db(0x3c7)]===_0x36fb2d[_0x2792db(0x48f)][_0x2792db(0x324)]),(0x0,_0x51a8f2['throttleTime'])(0x10))[_0x2792db(0x1a7)](()=>{const _0x3a7432=_0x2792db;this[_0x3a7432(0x262)]();}));}};_0x1e89c5=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2433e3[_0x529b57(0x380)])),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x19e)]))],_0x1e89c5);var _0x363829=class extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x3e1d16,_0x8d8f1e){const _0x370d24=_0x529b57;if(super(_0x3e1d16,_0x8d8f1e),_0x77e721(this,_0x370d24(0x240),void 0x0),_0x77e721(this,'_hovered',!0x1),_0x77e721(this,_0x370d24(0x3e5),void 0x0),_0x77e721(this,'_name',''),_0x77e721(this,_0x370d24(0x345),_0x370d24(0x261)),_0x77e721(this,_0x370d24(0x424),void 0x0),_0x77e721(this,_0x370d24(0x4a3),void 0x0),_0x77e721(this,_0x370d24(0x3e1),void 0x0),_0x77e721(this,_0x370d24(0x205),0x4),_0x77e721(this,_0x370d24(0x25c),void 0x0),_0x77e721(this,_0x370d24(0x28e),void 0x0),_0x77e721(this,_0x370d24(0x1ae),!0x0),_0x77e721(this,'_offsetY',0x0),_0x77e721(this,_0x370d24(0x395),_0x370d24(0x263)),_0x8d8f1e){var _0x22b94f;if(this['setShapeProps'](_0x8d8f1e),_0x8d8f1e[_0x370d24(0x199)]&&((_0x22b94f=_0x8d8f1e[_0x370d24(0x1b9)])==null?this['_highlightSecond']:_0x22b94f)){var _0x127f80;this[_0x370d24(0x18b)]((_0x127f80=_0x8d8f1e[_0x370d24(0x1b9)])==null?this['_highlightSecond']:_0x127f80);}}this[_0x370d24(0x2e7)]['subscribeEvent'](()=>this[_0x370d24(0x4bf)]({'hovered':!0x0})),this[_0x370d24(0x46c)][_0x370d24(0x305)](()=>this[_0x370d24(0x4bf)]({'hovered':!0x1}));}[_0x529b57(0x391)](_0x13937c){const _0x31c22e=_0x529b57;this[_0x31c22e(0x352)]=_0x13937c;}[_0x529b57(0x4bf)](_0x289e42){const _0x4839a0=_0x529b57;var _0x3f7bc0,_0x2a69ec,_0x56d6e2,_0x30e936,_0x186bbb,_0x1dd7a7,_0x90adc2,_0x1191f3;this[_0x4839a0(0x240)]=(_0x3f7bc0=_0x289e42[_0x4839a0(0x4c8)])==null?this['_color']:_0x3f7bc0,this[_0x4839a0(0x39e)]=(_0x2a69ec=_0x289e42['hovered'])==null?this[_0x4839a0(0x39e)]:_0x2a69ec,this['_range']=(_0x56d6e2=_0x289e42['range'])==null?this[_0x4839a0(0x3e5)]:_0x56d6e2,this['_name']=(_0x30e936=_0x289e42[_0x4839a0(0x2ab)])==null?this['_name']:_0x30e936,this[_0x4839a0(0x345)]=(_0x186bbb=_0x289e42[_0x4839a0(0x446)])==null?this['_labelPosition']:_0x186bbb,this['_backgroundColor']=(_0x1dd7a7=_0x289e42[_0x4839a0(0x2b6)])==null?this['_backgroundColor']:_0x1dd7a7,this[_0x4839a0(0x4a3)]=(_0x90adc2=_0x289e42[_0x4839a0(0x314)])==null?this[_0x4839a0(0x4a3)]:_0x90adc2,this[_0x4839a0(0x395)]=(_0x1191f3=_0x289e42[_0x4839a0(0x438)])==null?this[_0x4839a0(0x395)]:_0x1191f3,_0x289e42[_0x4839a0(0x1b9)]!==void 0x0&&(this[_0x4839a0(0x205)]=_0x289e42[_0x4839a0(0x1b9)]),_0x289e42[_0x4839a0(0x199)]!==void 0x0&&(this['_highlight']=_0x289e42[_0x4839a0(0x199)]),_0x289e42['offsetY']!==void 0x0&&(this['_offsetY']=_0x289e42[_0x4839a0(0x286)]),this[_0x4839a0(0x229)]({'width':_0x289e42[_0x4839a0(0x1c1)],'height':_0x289e42[_0x4839a0(0x1ef)]});}[_0x529b57(0x256)](_0x3718a6){const _0x11f13c=_0x529b57;let {row:_0x140759,column:_0x7e6040}=_0x3718a6;if(_0x140759>=this[_0x11f13c(0x3e5)][_0x11f13c(0x4ad)]&&_0x140759<=this[_0x11f13c(0x3e5)]['endRow']&&_0x7e6040>=this['_range'][_0x11f13c(0x45a)]&&_0x7e6040<=this[_0x11f13c(0x3e5)][_0x11f13c(0x243)]){this[_0x11f13c(0x4bf)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x529b57(0x18b)](_0x2333c4){const _0x3987e7=_0x529b57;this[_0x3987e7(0x4b2)](),this['_isBlinkVisible']=!0x0,this[_0x3987e7(0x28e)]=window[_0x3987e7(0x249)](()=>{const _0x173db3=_0x3987e7;this['_isBlinkVisible']=!this[_0x173db3(0x1ae)],this[_0x173db3(0x373)](!0x0);},0x1f4),this[_0x3987e7(0x25c)]=window[_0x3987e7(0x38a)](()=>{const _0x2f7b96=_0x3987e7;this[_0x2f7b96(0x4b2)](),this[_0x2f7b96(0x1ae)]=!0x0,this[_0x2f7b96(0x373)](!0x0);},_0x2333c4*0x3e8);}['_stopBlinking'](){const _0x1e3dd1=_0x529b57;this['_blinkIntervalTimer']&&(window[_0x1e3dd1(0x30b)](this[_0x1e3dd1(0x28e)]),this[_0x1e3dd1(0x28e)]=void 0x0),this[_0x1e3dd1(0x25c)]&&(window[_0x1e3dd1(0x20a)](this['_blinkTimer']),this[_0x1e3dd1(0x25c)]=void 0x0);}[_0x529b57(0x490)](_0x1e65be){return!0x1;}['dispose'](){this['_stopBlinking'](),super['dispose']();}[_0x529b57(0x427)](_0x5cbc3f){const _0x156cc2=_0x529b57;let _0x3e524f=this[_0x156cc2(0x240)],_0x313544=this[_0x156cc2(0x424)];if(this[_0x156cc2(0x3e1)]&&!this[_0x156cc2(0x1ae)]&&(_0x3e524f=this['_getLighterColor'](this[_0x156cc2(0x240)]),_0x313544=this[_0x156cc2(0x424)]?this[_0x156cc2(0x18f)](this[_0x156cc2(0x424)]):void 0x0),_0x36fb2d[_0x156cc2(0x1a6)][_0x156cc2(0x284)](_0x5cbc3f,{'width':this[_0x156cc2(0x1c1)],'height':this[_0x156cc2(0x1ef)],'strokeWidth':this[_0x156cc2(0x23c)]||1.5,'stroke':_0x3e524f,'evented':!0x1,'fill':_0x313544}),this[_0x156cc2(0x39e)]||this[_0x156cc2(0x4a3)]){var _0x1e79c1;_0x5cbc3f[_0x156cc2(0x428)]();let _0x140de7=this['_labelHorizontalPosition']===_0x156cc2(0x3c4)?-_0x3f192e(_0x5cbc3f,this[_0x156cc2(0x2c1)]):this['width'];_0x5cbc3f['transform'](0x1,0x0,0x0,0x1,_0x140de7,(this[_0x156cc2(0x345)]===_0x156cc2(0x376)?0x0:-0x14)+((_0x1e79c1=this[_0x156cc2(0x352)])==null?0x0:_0x1e79c1)),_0xbc2002[_0x156cc2(0x284)](_0x5cbc3f,{'text':this[_0x156cc2(0x2c1)],'color':_0x3e524f}),_0x5cbc3f[_0x156cc2(0x450)]();}}[_0x529b57(0x18f)](_0x436260){const _0x3d6058=_0x529b57;return _0x436260['startsWith']('#')?'rgba('+Number['parseInt'](_0x436260[_0x3d6058(0x4d7)](0x1,0x3),0x10)+',\x20'+Number[_0x3d6058(0x4db)](_0x436260[_0x3d6058(0x4d7)](0x3,0x5),0x10)+',\x20'+Number[_0x3d6058(0x4db)](_0x436260[_0x3d6058(0x4d7)](0x5,0x7),0x10)+_0x3d6058(0x2be):_0x436260[_0x3d6058(0x289)](_0x3d6058(0x3d7))?_0x436260[_0x3d6058(0x201)](/[\d.]+\)$/g,_0x3d6058(0x1c4)):_0x436260[_0x3d6058(0x289)](_0x3d6058(0x4b0))?_0x436260[_0x3d6058(0x201)](_0x3d6058(0x4b0),_0x3d6058(0x3d7))[_0x3d6058(0x201)](')',_0x3d6058(0x2be)):_0x436260;}};let _0x5e3dfd=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x205f9e,_0x541158,_0x2a67b8,_0xb0dca1){const _0x3f7cf4=_0x529b57;super(),this[_0x3f7cf4(0x47e)]=_0x205f9e,this[_0x3f7cf4(0x325)]=_0x541158,this['_collabCursorController']=_0x2a67b8,this[_0x3f7cf4(0x37b)]=_0xb0dca1,_0x77e721(this,'_cursors',new Set()),_0x77e721(this,_0x3f7cf4(0x3ac),null),_0x77e721(this,_0x3f7cf4(0x333),null),this[_0x3f7cf4(0x2cb)]();}[_0x529b57(0x2cb)](){const _0x1cee55=_0x529b57;this[_0x1cee55(0x325)][_0x1cee55(0x4bd)][_0x1cee55(0x2a7)]((0x0,_0x51a8f2[_0x1cee55(0x39f)])(this[_0x1cee55(0x2e2)]),(0x0,_0x51a8f2[_0x1cee55(0x19a)])(_0x5098df=>{const _0x1789de=_0x1cee55;if(_0x5098df){let _0x50baad=_0x5098df[_0x1789de(0x264)];return(0x0,_0x541406['combineLatest'])(this[_0x1789de(0x233)][_0x1789de(0x1a3)](this[_0x1789de(0x47e)][_0x1789de(0x29e)]),this[_0x1789de(0x37b)][_0x1789de(0x1c3)])['pipe']((0x0,_0x51a8f2[_0x1789de(0x4d9)])(([_0x44440b,_0x22f3ad])=>{const _0x10f8bf=_0x1789de;let _0x1f0afb=new Map();return _0x44440b[_0x10f8bf(0x27d)]((_0x37c463,_0x294dc7)=>{const _0x2772a8=_0x10f8bf;if(_0x37c463[_0x2772a8(0x491)]===_0x50baad){let _0x18ca18={..._0x37c463};_0x18ca18[_0x2772a8(0x4c8)]=this['_themeService'][_0x2772a8(0x211)](_0x37c463['color']),_0x1f0afb[_0x2772a8(0x340)](_0x294dc7,_0x18ca18);}}),{'skeleton':_0x5098df,'cursors':_0x1f0afb};}));}return(0x0,_0x541406['of'])({'skeleton':null,'cursors':new Map()});}))[_0x1cee55(0x1a7)](({skeleton:_0x42ae27,cursors:_0x368b4e})=>{const _0x508f09=_0x1cee55;this[_0x508f09(0x3bc)](),_0x42ae27&&this[_0x508f09(0x2fe)](_0x42ae27,_0x368b4e);}),this[_0x1cee55(0x1a1)](this[_0x1cee55(0x325)][_0x1cee55(0x4bd)]['pipe']((0x0,_0x51a8f2['takeUntil'])(this[_0x1cee55(0x2e2)]))['subscribe'](_0x37fde7=>{const _0x59947e=_0x1cee55;var _0x308ebd;if(_0x37fde7==null)return;(_0x308ebd=this[_0x59947e(0x333)])==null||_0x308ebd[_0x59947e(0x310)](),this[_0x59947e(0x333)]=null;let {skeleton:_0x26b240}=_0x37fde7,{scene:_0x188784}=this[_0x59947e(0x47e)];this['_pointerMoveDisposable']=_0x188784['onPointerMove$'][_0x59947e(0x305)]((0x0,_0x54099e['debounce'])(_0x5c8fbf=>{const _0x24230e=_0x59947e;var _0x27181b,_0x280dbf;let {offsetX:_0xcf2e53,offsetY:_0x550ff1}=_0x5c8fbf,{x:_0x547aa3,y:_0x2fd5b0}=_0x188784['getRelativeToViewportCoord'](_0x36fb2d[_0x24230e(0x2f1)][_0x24230e(0x3d0)]([_0xcf2e53,_0x550ff1])),{scaleX:_0x1dc3cb,scaleY:_0x49500a}=_0x188784[_0x24230e(0x32a)](),_0x4327a9=_0x188784[_0x24230e(0x33b)](_0x36fb2d[_0x24230e(0x393)][_0x24230e(0x2bb)]),_0x45c3f3=_0x188784[_0x24230e(0x4ca)](_0x36fb2d['Vector2'][_0x24230e(0x3d0)]([_0x547aa3,_0x2fd5b0]),_0x4327a9),_0x308366=_0x26b240[_0x24230e(0x1e9)](_0xcf2e53,_0x550ff1,_0x1dc3cb,_0x49500a,_0x45c3f3);((_0x27181b=this['_lastPointer'])==null?void 0x0:_0x27181b[_0x24230e(0x33e)])===_0x308366[_0x24230e(0x33e)]&&((_0x280dbf=this[_0x24230e(0x3ac)])==null?void 0x0:_0x280dbf[_0x24230e(0x226)])===_0x308366[_0x24230e(0x226)]||this[_0x24230e(0x2a4)][_0x24230e(0x27d)](_0x30fa6d=>{const _0x5964c1=_0x24230e;_0x30fa6d[_0x5964c1(0x256)](_0x308366);});},0x64));})),this[_0x1cee55(0x1a1)]((0x0,_0x54099e[_0x1cee55(0x1d4)])(()=>{const _0x5014c0=_0x1cee55;var _0x48fb66;(_0x48fb66=this[_0x5014c0(0x333)])==null||_0x48fb66[_0x5014c0(0x310)](),this['_pointerMoveDisposable']=null;}));}['_updateCollabCursors'](_0x3c3840,_0x35aeed){const _0x18ac51=_0x529b57;let _0xeefb5a=this[_0x18ac51(0x325)][_0x18ac51(0x23a)]();if(!_0xeefb5a)return;let _0x4273a5=this[_0x18ac51(0x272)]();if(!_0x4273a5)return;this['_cursors']['forEach'](_0x5c1a51=>{const _0x56825c=_0x18ac51;_0x5c1a51[_0x56825c(0x373)]();});let {scene:_0x364470}=_0x4273a5,_0x979c26=_0x403a3a(Array[_0x18ac51(0x1d6)](_0x35aeed[_0x18ac51(0x326)]()))[_0x18ac51(0x4d9)](_0x499ddd=>{const _0x537dde=_0x18ac51;let {color:_0x37eba0,range:_0x52d0c9,name:_0x5b864c,selection:_0x2cb62b,sheetID:_0x2ae34a}=_0x499ddd,{startColumn:_0x3aa852,startRow:_0x23a2d9,endColumn:_0xac5390,endRow:_0x4138ce}=_0x52d0c9,_0x1b730f=(0x0,_0x189f64['getCoordByCell'])(_0x23a2d9,_0x3aa852,_0x364470,_0xeefb5a),_0x455875=(0x0,_0x189f64[_0x537dde(0x3df)])(_0x4138ce,_0xac5390,_0x364470,_0xeefb5a),{columnHeaderHeightAndMarginTop:_0x1d7a01}=_0xeefb5a,{startX:_0x2aa598,startY:_0x434c5b}=_0x1b730f,{endX:_0x4a8cb5,endY:_0x5b46ba}=_0x455875,_0x5d6345=_0x4a8cb5-_0x2aa598,_0x190c1c=_0x5b46ba-_0x434c5b;return new _0x363829(_0x5b864c,{'labelPosition':_0x434c5b-_0x1d7a01>=0x14?_0x537dde(0x261):_0x537dde(0x376),'sheetID':_0x2ae34a,'range':_0x52d0c9,'color':_0x37eba0,'name':_0x5b864c,'selection':_0x2cb62b,'left':_0x2aa598,'top':_0x434c5b,'width':_0x5d6345,'height':_0x190c1c,'evented':!0x1,'zIndex':0x1389});});_0x364470[_0x18ac51(0x3f9)](_0x979c26,0x1),this[_0x18ac51(0x2a4)]=new Set(_0x979c26);}[_0x529b57(0x3bc)](){const _0x7af3c4=_0x529b57;var _0x325e70;(_0x325e70=this[_0x7af3c4(0x2a4)])==null||_0x325e70[_0x7af3c4(0x27d)](_0x159bac=>_0x159bac[_0x7af3c4(0x1c0)]());}['_getSheetObject'](){const _0x366783=_0x529b57;return(0x0,_0x189f64[_0x366783(0x32f)])(this[_0x366783(0x47e)]['unit'],this['_context']);}};_0x5e3dfd=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x189f64[_0x529b57(0x2ca)])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x1776e9)),_0x3c6f51(0x3,(0x0,_0x54099e['Inject'])(_0x54099e['ThemeService']))],_0x5e3dfd);function _0x403a3a(_0x5a3f9b){const _0x1c179b=_0x529b57;let _0x31e654=new Map();return _0x5a3f9b[_0x1c179b(0x27d)](_0x2916c9=>{const _0x32a4fb=_0x1c179b;if(_0x31e654['has'](_0x2916c9[_0x32a4fb(0x242)])){let _0x5c9575=_0x31e654['get'](_0x2916c9[_0x32a4fb(0x242)]);_0x5c9575[_0x32a4fb(0x2ab)]+=',\x20'+_0x2916c9[_0x32a4fb(0x2ab)];}else _0x31e654[_0x32a4fb(0x340)](_0x2916c9[_0x32a4fb(0x242)],_0x2916c9);}),Array['from'](_0x31e654['values']());}let _0x547da7=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x1a1cfb,_0x44a643,_0x1a16dc){const _0xf92092=_0x529b57;super(),this[_0xf92092(0x47e)]=_0x1a1cfb,this['_collabCursorController']=_0x44a643,this[_0xf92092(0x37b)]=_0x1a16dc,_0x77e721(this,'_cursors',new Set()),_0x77e721(this,_0xf92092(0x3ce),!0x1),_0x77e721(this,_0xf92092(0x265),!0x1),_0x77e721(this,_0xf92092(0x3f4),new Map()),this[_0xf92092(0x2cb)]();}['dispose'](){const _0x9bcdb=_0x529b57;this[_0x9bcdb(0x3bc)](),super[_0x9bcdb(0x1c0)]();}[_0x529b57(0x2cb)](){const _0x4851c2=_0x529b57;let _0x115529=this[_0x4851c2(0x47e)][_0x4851c2(0x45f)][_0x4851c2(0x2db)][_0x4851c2(0x423)],_0x46fb54=this[_0x4851c2(0x233)][_0x4851c2(0x1a3)](this['_context']['unitId']);this['disposeWithMe']((0x0,_0x54099e[_0x4851c2(0x1d4)])((0x0,_0x541406[_0x4851c2(0x2a8)])([_0x46fb54,_0x115529,this['_themeService'][_0x4851c2(0x1c3)]])[_0x4851c2(0x2a7)]((0x0,_0x541406[_0x4851c2(0x39f)])(this[_0x4851c2(0x2e2)]))[_0x4851c2(0x1a7)](([_0x2b712e,_0x1d0070])=>{const _0x2d8e88=_0x4851c2;let _0xf52315=new Map();_0x2b712e[_0x2d8e88(0x27d)]((_0xc15561,_0x163630)=>{const _0x4a49be=_0x2d8e88;_0xc15561[_0x4a49be(0x2ec)]===_0x1d0070&&_0xf52315[_0x4a49be(0x340)](_0x163630,{..._0xc15561,'color':this[_0x4a49be(0x37b)][_0x4a49be(0x211)](_0xc15561[_0x4a49be(0x4c8)])});}),this[_0x2d8e88(0x3f4)]=_0xf52315,this[_0x2d8e88(0x3bb)]();})));let _0x3fef73=this[_0x4851c2(0x47e)][_0x4851c2(0x31d)];this[_0x4851c2(0x1a1)]((0x0,_0x54099e['toDisposable'])(_0x3fef73['addObject$']['pipe']((0x0,_0x541406[_0x4851c2(0x39f)])(this[_0x4851c2(0x2e2)]))[_0x4851c2(0x1a7)](()=>{const _0x4fb7f4=_0x4851c2;this[_0x4fb7f4(0x265)]||this[_0x4fb7f4(0x3bb)]();})));}['_scheduleRender'](){const _0x2261d0=_0x529b57;this[_0x2261d0(0x3ce)]||(this[_0x2261d0(0x3ce)]=!0x0,Promise[_0x2261d0(0x4cd)]()[_0x2261d0(0x2ff)](()=>{const _0x913d93=_0x2261d0;this[_0x913d93(0x3ce)]=!0x1,this['_render']();}));}[_0x529b57(0x368)](){const _0x48b9d9=_0x529b57;var _0x230bdb;this[_0x48b9d9(0x3bc)]();let _0x52f3c3=(_0x230bdb=this[_0x48b9d9(0x47e)][_0x48b9d9(0x45f)][_0x48b9d9(0x2db)][_0x48b9d9(0x3f3)]())==null?void 0x0:_0x230bdb[_0x48b9d9(0x3c8)]();if(!_0x52f3c3)return;let _0x33f1eb=[];if(this['_latestCursors'][_0x48b9d9(0x27d)]((_0x512e50,_0x76082c)=>{const _0x23bea2=_0x48b9d9;_0x512e50[_0x23bea2(0x2ec)]===_0x52f3c3&&_0x512e50[_0x23bea2(0x2ea)][_0x23bea2(0x27d)](_0x51212a=>{const _0x11f160=_0x23bea2;let _0x59acba=(0x0,_0x339c27[_0x11f160(0x34a)])(_0x512e50[_0x11f160(0x29e)],_0x512e50[_0x11f160(0x2ec)],_0x51212a),_0x2b2656=this[_0x11f160(0x1a5)](_0x59acba);if(!_0x2b2656)return;let _0x21faa5=this[_0x11f160(0x2cf)](_0x2b2656);_0x33f1eb[_0x11f160(0x29a)](new _0x496379(_0x11f160(0x2de)+_0x76082c+'-'+_0x51212a,{..._0x512e50,'left':_0x21faa5['left'],'top':_0x21faa5['top'],'width':_0x21faa5[_0x11f160(0x1c1)],'height':_0x21faa5['height'],'angle':_0x2b2656[_0x11f160(0x43b)],'evented':!0x1,'zIndex':_0x413c21}));});}),_0x33f1eb[_0x48b9d9(0x354)]===0x0){this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x373)](!0x0);return;}this[_0x48b9d9(0x265)]=!0x0,this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x3f9)](_0x33f1eb,_0x413c21),this[_0x48b9d9(0x265)]=!0x1,this[_0x48b9d9(0x2a4)]=new Set(_0x33f1eb),this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x373)](!0x0);}[_0x529b57(0x3bc)](){const _0x5310c5=_0x529b57;let _0xc05074=Array[_0x5310c5(0x1d6)](this[_0x5310c5(0x2a4)]);if(_0xc05074[_0x5310c5(0x354)]===0x0)return;let _0x56fe27=this[_0x5310c5(0x47e)][_0x5310c5(0x31d)];_0x5310c5(0x2c6)in _0x56fe27&&typeof _0x56fe27[_0x5310c5(0x2c6)]=='function'?_0x56fe27[_0x5310c5(0x2c6)](_0xc05074):_0xc05074[_0x5310c5(0x27d)](_0x535678=>{const _0x1725e0=_0x5310c5;_0x1725e0(0x1c6)in _0x56fe27&&typeof _0x56fe27[_0x1725e0(0x1c6)]==_0x1725e0(0x22d)?_0x56fe27[_0x1725e0(0x1c6)](_0x535678):_0x535678[_0x1725e0(0x1c0)]();}),this[_0x5310c5(0x2a4)][_0x5310c5(0x2d3)](),_0x56fe27[_0x5310c5(0x373)](!0x0);}[_0x529b57(0x1a5)](_0x59a19e){const _0x4ecf22=_0x529b57;var _0x435f10,_0x49fd16,_0x33a9da;let _0x352876=this['_context'][_0x4ecf22(0x31d)];return(_0x435f10=(_0x49fd16=(_0x33a9da=_0x352876[_0x4ecf22(0x464)])==null?void 0x0:_0x33a9da[_0x4ecf22(0x2f2)](_0x352876,_0x59a19e))==null?_0x352876[_0x4ecf22(0x3e8)](_0x59a19e):_0x49fd16)==null?null:_0x435f10;}['_getObjectBounds'](_0x1740e1){const _0x4cd64b=_0x529b57;var _0x365af6,_0x21a047;let _0x1d3577=_0x1740e1;return(_0x365af6=(_0x21a047=_0x1d3577[_0x4cd64b(0x356)])==null?void 0x0:_0x21a047[_0x4cd64b(0x2f2)](_0x1d3577))==null?{'left':_0x1740e1['left'],'top':_0x1740e1[_0x4cd64b(0x261)],'width':_0x1740e1[_0x4cd64b(0x1c1)],'height':_0x1740e1['height']}:_0x365af6;}};_0x547da7=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x19e)]))],_0x547da7);let _0x381878=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x49ccd1,_0xa80adb,_0x589aef,_0x5e76dd,_0x1106ed,_0x28afbb){const _0x4ef84e=_0x529b57;super(),this[_0x4ef84e(0x40e)]=_0x49ccd1,this[_0x4ef84e(0x2d0)]=_0xa80adb,this['_collaborationUIEventService']=_0x589aef,this[_0x4ef84e(0x1b6)]=_0x5e76dd,this['_notificationService']=_0x1106ed,this[_0x4ef84e(0x20d)]=_0x28afbb,this['_setupBeforeClosingHandler'](),this[_0x4ef84e(0x342)]();}[_0x529b57(0x2cd)](){const _0x2e2ad6=_0x529b57;this[_0x2e2ad6(0x1a1)](this[_0x2e2ad6(0x40e)]['registerBeforeClose'](()=>{const _0x4d39b1=_0x2e2ad6;if(this[_0x4d39b1(0x2d0)][_0x4d39b1(0x2a6)][_0x4d39b1(0x1ff)])return this[_0x4d39b1(0x20d)]['t'](_0x4d39b1(0x279));}));}['_initEvent'](){const _0xc3c208=_0x529b57;this[_0xc3c208(0x1a1)](this[_0xc3c208(0x1cf)]['event$']['subscribe'](_0x177ccb=>{const _0x2bd2d7=_0xc3c208;_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x39c)]&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x25d))}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x3ed)]&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Warning'],'content':this['_localeService']['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x1ed)]&&this[_0x2bd2d7(0x24a)]['show']({'title':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x3d4)),'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x3af)),'type':_0x2bd2d7(0x1df),'duration':0x0}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x2bc)]&&this[_0x2bd2d7(0x24a)][_0x2bd2d7(0x23d)]({'title':this[_0x2bd2d7(0x20d)]['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':_0x2bd2d7(0x1df),'duration':0x0}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t'](_0x177ccb['data']||'')}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x2bd2d7(0x1b6)][_0x2bd2d7(0x23d)]({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t']('collaboration-client-ui.session.will-retry')}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x36b)]&&this[_0x2bd2d7(0x1b6)]['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Error'],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x267))}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2bd2d7(0x1b6)]['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Error'],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x1da))});}));}};_0x381878=_0x5949f5([_0x3c6f51(0x0,_0x3a2e6e[_0x529b57(0x4a2)]),_0x3c6f51(0x1,_0x39299b[_0x529b57(0x27f)]),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x39299b['CollaborationUIEventService'])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x4,_0x3a2e6e['INotificationService']),_0x3c6f51(0x5,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['LocaleService']))],_0x381878);let _0x47fac2=(0x0,_0x54099e[_0x529b57(0x4af)])(_0x529b57(0x22b)),_0x1ecd17=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x579350,_0x4924b1,_0x45afa7,_0x4f45ea,_0x3ad09a){const _0x1dadc7=_0x529b57;super(),this[_0x1dadc7(0x32d)]=_0x579350,this['_logService']=_0x4924b1,this[_0x1dadc7(0x48e)]=_0x45afa7,this[_0x1dadc7(0x453)]=_0x4f45ea,_0x3ad09a?_0x3ad09a[_0x1dadc7(0x38c)]()[_0x1dadc7(0x2ff)](()=>this[_0x1dadc7(0x2cb)]()):(this[_0x1dadc7(0x1fd)][_0x1dadc7(0x241)](_0x1dadc7(0x2d7),_0x1dadc7(0x4a4)),this[_0x1dadc7(0x2cb)]());}async[_0x529b57(0x2cb)](){const _0x4797f7=_0x529b57;let _0x185aca=this[_0x4797f7(0x32d)]['getParam'](_0x4797f7(0x45f)),_0x49fc22=this[_0x4797f7(0x32d)][_0x4797f7(0x26f)](_0x4797f7(0x3c7)),_0x51ee72=this[_0x4797f7(0x32d)][_0x4797f7(0x26f)](_0x4797f7(0x2c8));if(!_0x185aca||!_0x49fc22){this[_0x4797f7(0x1fd)]['debug'](_0x4797f7(0x2d7),_0x4797f7(0x418));return;}let _0x4033d3=await this[_0x4797f7(0x453)][_0x4797f7(0x46e)](_0x185aca,Number(_0x49fc22),_0x51ee72);_0x4033d3&&_0x4033d3 instanceof _0x54099e[_0x4797f7(0x448)]&&this[_0x4797f7(0x24c)](_0x4033d3);}async[_0x529b57(0x24c)](_0x1c2364){const _0xbfd1ec=_0x529b57;await this[_0xbfd1ec(0x3d1)](_0x1c2364),_0x1c2364[_0xbfd1ec(0x292)][_0xbfd1ec(0x2a7)]((0x0,_0x541406[_0xbfd1ec(0x39f)])(this[_0xbfd1ec(0x2e2)]))[_0xbfd1ec(0x1a7)](_0x5f1200=>{_0x5f1200&&this['_updateURLWithCurrentState'](_0x5f1200);}),this[_0xbfd1ec(0x32d)][_0xbfd1ec(0x237)][_0xbfd1ec(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0xbfd1ec(0x2e2)]))[_0xbfd1ec(0x1a7)](()=>this['_updateSubUnitFromURLParams'](_0x1c2364));}[_0x529b57(0x389)](_0x564199,_0xd982d4=!0x1){const _0x393913=_0x529b57;let _0x37045c=this['_urlService'][_0x393913(0x26f)]('subunit');_0x564199[_0x393913(0x2a3)]()!==_0x37045c&&this[_0x393913(0x32d)][_0x393913(0x3fc)](_0x393913(0x2c8),_0x564199[_0x393913(0x2a3)](),_0xd982d4);}async[_0x529b57(0x3d1)](_0x3a3f4f){const _0x53b623=_0x529b57;var _0x4a602e;let _0x35be2e=this[_0x53b623(0x32d)][_0x53b623(0x26f)](_0x53b623(0x2c8));if(!_0x35be2e||!_0x3a3f4f[_0x53b623(0x425)](_0x35be2e)){let _0x314202=_0x3a3f4f['getUnhiddenWorksheets']()[0x0],_0x88ca6c=_0x3a3f4f[_0x53b623(0x425)](_0x314202);if(!_0x88ca6c)return;this[_0x53b623(0x389)](_0x88ca6c,!0x0),await this['_commandService'][_0x53b623(0x1f4)](_0x13da0d[_0x53b623(0x281)]['id'],{'unitId':_0x3a3f4f[_0x53b623(0x2b5)](),'subUnitId':_0x314202});return;}((_0x4a602e=_0x3a3f4f[_0x53b623(0x41b)]())==null?void 0x0:_0x4a602e[_0x53b623(0x2a3)]())!==_0x35be2e&&await this[_0x53b623(0x48e)][_0x53b623(0x1f4)](_0x13da0d[_0x53b623(0x281)]['id'],{'unitId':_0x3a3f4f[_0x53b623(0x2b5)](),'subUnitId':_0x35be2e});}};_0x1ecd17=_0x5949f5([_0x3c6f51(0x0,_0x47fac2),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x3,(0x0,_0x54099e['Inject'])(_0x39299b[_0x529b57(0x4cc)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x254)])(_0xbfbef5['IRemoteInstanceService']))],_0x1ecd17);let _0x2d6dea=class{constructor(_0x34203d,_0xec58f1){const _0x172f9f=_0x529b57;this[_0x172f9f(0x227)]=_0x34203d,this[_0x172f9f(0x3f7)]=_0xec58f1;}['transformIMECache'](_0x2a9fad){const _0x1b12c4=_0x529b57;this[_0x1b12c4(0x2fd)](_0x2a9fad),this['_transformPreviousActiveRange'](_0x2a9fad);}[_0x529b57(0x4ba)](_0x272a0d){const _0x32db79=_0x529b57;let {unitID:_0x3ac386}=_0x272a0d,{redoCache:_0x101018}=this[_0x32db79(0x3f7)][_0x32db79(0x33c)](_0x3ac386)['with'](_0xc39b36[_0x32db79(0x1ca)])[_0x32db79(0x457)]();if(_0x101018[_0x32db79(0x354)]===0x0)return _0x272a0d;let _0x16e47c=_0x54099e[_0x32db79(0x3ef)][_0x32db79(0x24f)](_0x272a0d[_0x32db79(0x22e)][0x0]);for(let _0x58e0c8=0x0;_0x58e0c8<_0x101018[_0x32db79(0x354)];_0x58e0c8++){let _0x406121={'id':_0x32db79(0x188),'params':{..._0x101018[_0x58e0c8]}},_0x184098=this[_0x32db79(0x227)]['transformMutation'](_0x16e47c,_0x406121,!0x1);if((0x0,_0x37a654['isTransformMutationFailure'])(_0x184098))throw _0x184098[_0x32db79(0x1df)];_0x16e47c=_0x184098[_0x32db79(0x2af)];}return{..._0x54099e['Tools'][_0x32db79(0x24f)](_0x272a0d),'mutations':[_0x16e47c]};}[_0x529b57(0x2fd)](_0x29a8cf){const _0x5b95f2=_0x529b57;let {unitID:_0xbd4f8c}=_0x29a8cf,_0x99e744=this[_0x5b95f2(0x3f7)][_0x5b95f2(0x33c)](_0xbd4f8c)[_0x5b95f2(0x37a)](_0xc39b36[_0x5b95f2(0x1ca)]),{undoCache:_0x45c8fc,redoCache:_0x5e6f90}=_0x99e744[_0x5b95f2(0x457)]();if(_0x45c8fc[_0x5b95f2(0x354)]===0x0||_0x5e6f90[_0x5b95f2(0x354)]===0x0)return;let _0x35b229=[],_0x37ff9f=[],_0x329712=_0x54099e[_0x5b95f2(0x3ef)][_0x5b95f2(0x24f)](_0x29a8cf[_0x5b95f2(0x22e)][0x0]),_0x1405a6=_0x54099e[_0x5b95f2(0x3ef)]['deepClone'](_0x29a8cf[_0x5b95f2(0x22e)][0x0]);for(let _0x2e32a5=_0x45c8fc['length']-0x1;_0x2e32a5>=0x0;_0x2e32a5--){let _0x1a48c5={'id':_0x5b95f2(0x188),'params':{..._0x45c8fc[_0x2e32a5]}},_0x42fcd2={'id':_0x5b95f2(0x188),'params':{..._0x5e6f90[_0x2e32a5]}},_0x57583b=this['_transformService'][_0x5b95f2(0x25e)](_0x329712,_0x1a48c5,!0x1),_0x3fab97=this['_transformService'][_0x5b95f2(0x25e)](_0x1405a6,_0x42fcd2,!0x1);if((0x0,_0x37a654[_0x5b95f2(0x20b)])(_0x57583b))throw _0x57583b[_0x5b95f2(0x1df)];if((0x0,_0x37a654[_0x5b95f2(0x20b)])(_0x3fab97))throw _0x3fab97[_0x5b95f2(0x1df)];_0x35b229[_0x5b95f2(0x30f)](_0x57583b[_0x5b95f2(0x1c7)][_0x5b95f2(0x4bc)]),_0x37ff9f[_0x5b95f2(0x30f)](_0x3fab97[_0x5b95f2(0x1c7)][_0x5b95f2(0x4bc)]),_0x329712=_0x57583b[_0x5b95f2(0x2af)],_0x1405a6=_0x3fab97[_0x5b95f2(0x2af)];}_0x99e744[_0x5b95f2(0x405)]({'undoCache':_0x35b229,'redoCache':_0x37ff9f});}[_0x529b57(0x406)](_0x43ac19){const _0x1534a4=_0x529b57;let {unitID:_0x148ccf}=_0x43ac19,_0x534e83=this[_0x1534a4(0x3f7)]['getRenderById'](_0x148ccf)[_0x1534a4(0x37a)](_0xc39b36[_0x1534a4(0x1ca)]),_0x811f34=_0x534e83['getActiveRange']();if(_0x811f34==null)return;let _0x336637=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43ac19['unitID'],'actions':null,'textRanges':[_0x811f34]}}],_0x3ba168=this[_0x1534a4(0x227)]['transformMutationsWithChangeset'](_0x43ac19,_0x336637);if(!(0x0,_0x37a654['isTransformMutationsWithChangesetSuccess'])(_0x3ba168))throw _0x3ba168[_0x1534a4(0x1df)];let _0x3c97c0=_0x3ba168['m2Prime'][0x0][_0x1534a4(0x4bc)]['textRanges'];Array[_0x1534a4(0x36f)](_0x3c97c0)&&_0x3c97c0[_0x1534a4(0x354)]&&_0x534e83[_0x1534a4(0x23e)](_0x3c97c0[0x0]);}};_0x2d6dea=_0x5949f5([_0x3c6f51(0x0,_0x37a654['ITransformService']),_0x3c6f51(0x1,_0x36fb2d['IRenderManagerService'])],_0x2d6dea);let _0xa482d8=class{constructor(_0x20d97c,_0x4e19dc,_0x181167){const _0x465d67=_0x529b57;this[_0x465d67(0x309)]=_0x20d97c,this[_0x465d67(0x227)]=_0x4e19dc,this[_0x465d67(0x417)]=_0x181167;}[_0x529b57(0x3cb)](_0x117572){this['_transformHistoryAndStateStack'](_0x117572);}[_0x529b57(0x4ba)](_0x554710){const _0x54a836=_0x529b57;let {unitID:_0x24f101}=_0x554710,{collaboration:_0x31af52}=this['_docStateChangeManagerService'][_0x54a836(0x41f)](_0x24f101);if(_0x31af52[_0x54a836(0x354)]===0x0)return _0x554710;let _0x186168=_0x54099e['Tools'][_0x54a836(0x24f)](_0x554710[_0x54a836(0x22e)][0x0]);for(let _0x1c3bbf=0x0;_0x1c3bbf<_0x31af52[_0x54a836(0x354)];_0x1c3bbf++){let _0x2550fc={'id':_0x54a836(0x188),'params':{'unitId':_0x31af52[_0x1c3bbf][_0x54a836(0x29e)],..._0x31af52[_0x1c3bbf][_0x54a836(0x30a)]}},_0x1f9dd5=this[_0x54a836(0x227)][_0x54a836(0x25e)](_0x186168,_0x2550fc,!0x1);if((0x0,_0x37a654[_0x54a836(0x20b)])(_0x1f9dd5))throw _0x1f9dd5[_0x54a836(0x1df)];_0x186168=_0x1f9dd5['m1Prime'];}return{..._0x54099e[_0x54a836(0x3ef)][_0x54a836(0x24f)](_0x554710),'mutations':[_0x186168]};}[_0x529b57(0x1ce)](_0x42f2f7){const _0x4f026c=_0x529b57;let {unitID:_0x20abc0}=_0x42f2f7,{history:_0x6088f6,collaboration:_0x4aa362}=this['_docStateChangeManagerService'][_0x4f026c(0x41f)](_0x20abc0);if(_0x6088f6[_0x4f026c(0x354)]===0x0&&_0x4aa362[_0x4f026c(0x354)]===0x0)return;let _0x4ed287=[],_0x2f2702=[],_0x5ea6dc=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]),_0x2665df=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7[_0x4f026c(0x22e)][0x0]);for(let _0x120165=_0x6088f6[_0x4f026c(0x354)]-0x1;_0x120165>=0x0;_0x120165--){let _0x59d7f0={'id':_0x4f026c(0x188),'params':{'unitId':_0x6088f6[_0x120165][_0x4f026c(0x29e)],..._0x6088f6[_0x120165][_0x4f026c(0x1cd)]}},_0x1cc1eb={'id':_0x4f026c(0x188),'params':{'unitId':_0x6088f6[_0x120165][_0x4f026c(0x29e)],..._0x6088f6[_0x120165][_0x4f026c(0x30a)]}},_0x472922=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x5ea6dc,_0x59d7f0,!0x1),_0x16b30d=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x2665df,_0x1cc1eb,!0x1);if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x472922))throw _0x472922[_0x4f026c(0x1df)];if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x16b30d))throw _0x16b30d[_0x4f026c(0x1df)];_0x4ed287[_0x4f026c(0x30f)]({..._0x6088f6[_0x120165],'undoState':_0x472922[_0x4f026c(0x1c7)]['params'],'redoState':_0x16b30d[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)]}),_0x5ea6dc=_0x472922[_0x4f026c(0x2af)],_0x2665df=_0x16b30d['m1Prime'];}_0x5ea6dc=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]),_0x2665df=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]);for(let _0x460e71=_0x4aa362[_0x4f026c(0x354)]-0x1;_0x460e71>=0x0;_0x460e71--){let _0x430abd={'id':_0x4f026c(0x188),'params':{'unitId':_0x4aa362[_0x460e71][_0x4f026c(0x29e)],..._0x4aa362[_0x460e71][_0x4f026c(0x1cd)]}},_0x384888={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aa362[_0x460e71][_0x4f026c(0x29e)],..._0x4aa362[_0x460e71]['redoState']}},_0x12c025=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x5ea6dc,_0x430abd,!0x1),_0x2236ca=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x2665df,_0x384888,!0x1);if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x12c025))throw _0x12c025[_0x4f026c(0x1df)];if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x2236ca))throw _0x2236ca[_0x4f026c(0x1df)];_0x2f2702[_0x4f026c(0x30f)]({..._0x4aa362[_0x460e71],'undoState':_0x12c025[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)],'redoState':_0x2236ca[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)]}),_0x5ea6dc=_0x12c025[_0x4f026c(0x2af)],_0x2665df=_0x2236ca[_0x4f026c(0x2af)];}this[_0x4f026c(0x417)][_0x4f026c(0x319)](_0x20abc0,{'history':_0x4ed287,'collaboration':_0x2f2702});}};_0xa482d8=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,_0x37a654['ITransformService']),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2433e3[_0x529b57(0x21b)]))],_0xa482d8);let _0x45a25a=class{constructor(_0x53c00e,_0x31df09){const _0xa22486=_0x529b57;this[_0xa22486(0x309)]=_0x53c00e,this['_transformService']=_0x31df09;}[_0x529b57(0x3a9)](_0x13dc7e){const _0x9fb2c5=_0x529b57;var _0x393f6e;let _0x384d1c=this[_0x9fb2c5(0x309)]['get'](_0x2433e3['DocSelectionManagerService']),_0x1e0a0f=(_0x393f6e=_0x384d1c[_0x9fb2c5(0x2aa)]())==null?[]:_0x393f6e;if(_0x1e0a0f['length']===0x0)return;let _0x1caf6e=_0x13dc7e[_0x9fb2c5(0x4b5)],_0x5155ba=[{'id':_0x9fb2c5(0x188),'params':{'unitId':_0x1caf6e,'actions':null,'textRanges':_0x1e0a0f}}],_0x2ddd93=this[_0x9fb2c5(0x227)][_0x9fb2c5(0x4d5)](_0x13dc7e,_0x5155ba);if(!(0x0,_0x37a654['isTransformMutationsWithChangesetSuccess'])(_0x2ddd93))throw _0x2ddd93[_0x9fb2c5(0x1df)];let _0xe255e0=_0x2ddd93['m2Prime'][0x0][_0x9fb2c5(0x4bc)][_0x9fb2c5(0x29d)];Array[_0x9fb2c5(0x36f)](_0xe255e0)&&_0xe255e0[_0x9fb2c5(0x354)]&&_0x384d1c[_0x9fb2c5(0x390)](_0xe255e0,{'unitId':_0x1caf6e,'subUnitId':_0x1caf6e},!0x1);}};_0x45a25a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,_0x37a654[_0x529b57(0x194)])],_0x45a25a);let _0x53fd1a=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x26f880,_0x24be17,_0x3404f6,_0x421574,_0x26a0f4,_0x45ac20,_0x2e9c14){const _0x3a0918=_0x529b57;super(),this[_0x3a0918(0x329)]=_0x26f880,this[_0x3a0918(0x1d7)]=_0x24be17,this[_0x3a0918(0x306)]=_0x3404f6,this['_docTransformSelectionsService']=_0x421574,this[_0x3a0918(0x383)]=_0x26a0f4,this[_0x3a0918(0x1b6)]=_0x45ac20,this[_0x3a0918(0x20d)]=_0x2e9c14,_0x77e721(this,'_status$',new _0x541406[(_0x3a0918(0x225))](_0x39299b['CollaborationStatus'][_0x3a0918(0x4de)])),this['_initEntityListener']();}[_0x529b57(0x434)](){const _0x36ce83=_0x529b57;this[_0x36ce83(0x1a1)](this['_collaborationController'][_0x36ce83(0x4c1)]['subscribe'](_0x3e7fa1=>{const _0xa27327=_0x36ce83;_0x3e7fa1 instanceof _0x39299b[_0xa27327(0x3bf)]&&_0x3e7fa1[_0xa27327(0x189)]({'onTransformIME':_0x3d724c=>this[_0xa27327(0x1d7)][_0xa27327(0x483)](_0x3d724c),'onTransformState':_0x55cb22=>this[_0xa27327(0x306)]['transformStateCache'](_0x55cb22),'onTransformSelections':_0x2d735e=>this[_0xa27327(0x2ef)][_0xa27327(0x3a9)](_0x2d735e),'onSyncEditingCollabCursor':_0x3f0106=>this['_docSyncEditingCollabCursorService'][_0xa27327(0x19c)](_0x3f0106),'onTransformRemoteChangesetByIMECache':_0x4e0623=>this['_docTransformIMECacheService'][_0xa27327(0x4ba)](_0x4e0623),'onTransformRemoteChangesetByStateCache':_0x1e124b=>this['_docTransformStateCacheService'][_0xa27327(0x4ba)](_0x1e124b)});}));}};_0x53fd1a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2d6dea)),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0xa482d8)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x45a25a)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x3d8da4)),_0x3c6f51(0x5,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x6,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['LocaleService']))],_0x53fd1a);let _0x3fd58e=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x565070,_0x30079b,_0x42d0e7,_0x15489e){const _0x22d69a=_0x529b57;super(),this[_0x22d69a(0x309)]=_0x565070,this['_httpService']=_0x30079b,this[_0x22d69a(0x1fd)]=_0x42d0e7,this['_collaborationSessionService']=_0x15489e,_0x77e721(this,'_memberID',void 0x0),this[_0x22d69a(0x2cb)]();}['_init'](){const _0x429ea1=_0x529b57;this['_initWindowErrorListener'](),this[_0x429ea1(0x46f)](),this[_0x429ea1(0x430)](),this[_0x429ea1(0x363)]();}[_0x529b57(0x363)](){const _0x90f5a8=_0x529b57;this[_0x90f5a8(0x1a1)](this[_0x90f5a8(0x456)][_0x90f5a8(0x4b3)][_0x90f5a8(0x1a7)](_0x4e0155=>{const _0x3c1966=_0x90f5a8;this[_0x3c1966(0x360)]=_0x4e0155==null?void 0x0:_0x4e0155[_0x3c1966(0x30d)];}));}[_0x529b57(0x4b7)](){const _0x432ea9=_0x529b57;let _0x2e0b03=_0x48ae9c=>{const _0x4ca094=_0x2ff8;var _0x247b37;this['_uploadLog']('error',_0x4ca094(0x4ce)+_0x48ae9c['message']+_0x4ca094(0x251)+_0x48ae9c[_0x4ca094(0x27e)]+':'+_0x48ae9c[_0x4ca094(0x220)]+':'+_0x48ae9c[_0x4ca094(0x1a4)]+'\x0a'+(((_0x247b37=_0x48ae9c[_0x4ca094(0x1df)])==null?void 0x0:_0x247b37[_0x4ca094(0x271)])||''));};window[_0x432ea9(0x28a)](_0x432ea9(0x1df),_0x2e0b03),this[_0x432ea9(0x1a1)](()=>{const _0x62b076=_0x432ea9;window['removeEventListener'](_0x62b076(0x1df),_0x2e0b03);});}[_0x529b57(0x46f)](){const _0x1ff111=_0x529b57;let _0x1cb694=_0x27f804=>{const _0x1c9e7d=_0x2ff8;this[_0x1c9e7d(0x39d)](_0x1c9e7d(0x1df),_0x1c9e7d(0x2b3)+_0x27f804[_0x1c9e7d(0x4da)]);};window[_0x1ff111(0x28a)](_0x1ff111(0x43a),_0x1cb694),this[_0x1ff111(0x1a1)](()=>{const _0x443b9c=_0x1ff111;window[_0x443b9c(0x403)](_0x443b9c(0x43a),_0x1cb694);});}[_0x529b57(0x430)](){const _0x46e86e=_0x529b57;let _0x535b55=this['_logService'][_0x46e86e(0x1df)][_0x46e86e(0x469)](this[_0x46e86e(0x1fd)]);this[_0x46e86e(0x1fd)]['error']=(..._0x409635)=>{const _0x2f3254=_0x46e86e;let _0x41cbc1=_0x409635['map'](_0x589480=>_0x589480 instanceof Error?_0x589480[_0x2f3254(0x479)]+'\x0a'+_0x589480[_0x2f3254(0x271)]:String(_0x589480))[_0x2f3254(0x330)]('\x20');this['_uploadLog'](_0x2f3254(0x1df),'[LogService\x20Error]:\x20'+_0x41cbc1),_0x535b55(..._0x409635);},this[_0x46e86e(0x1a1)](()=>{const _0x701048=_0x46e86e;this[_0x701048(0x1fd)][_0x701048(0x1df)]=_0x535b55;});}[_0x529b57(0x39d)](_0xb5ac05,_0x6e8d78){const _0x4a895c=_0x529b57;try{let _0x57a23f={'userId':this[_0x4a895c(0x360)],'logLabel':_0xb5ac05,'content':_0x6e8d78};this[_0x4a895c(0x44c)][_0x4a895c(0x258)](_0x4a895c(0x1be),{'body':_0x57a23f})[_0x4a895c(0x4d3)](()=>{});}catch{}}};_0x3fd58e=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x3a7)]))],_0x3fd58e);function _0x505bfd({state$:_0x49f5a1,interactionBlocked$:_0x61bd4f}){const _0x33a82b=_0x529b57;return(0x0,_0x2ee138[_0x33a82b(0x255)])(_0x2ee138[_0x33a82b(0x3a6)],{'children':[(0x0,_0x3a2e6e[_0x33a82b(0x2b8)])(_0x61bd4f,!0x1,!0x0)&&(0x0,_0x2ee138[_0x33a82b(0x1d3)])('div',{'data-u-comp':_0x33a82b(0x2a2),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2ee138['jsx'])(_0x19f7aa,{'state$':_0x49f5a1})]});}function _0x19f7aa({state$:_0x27c094}){const _0x2e76e5=_0x529b57;let _0x3f36f2=(0x0,_0x3a2e6e[_0x2e76e5(0x2b8)])(_0x27c094,null,!0x0);return _0x3f36f2?(0x0,_0x2ee138[_0x2e76e5(0x255)])(_0x2e76e5(0x1f3),{'data-u-comp':_0x2e76e5(0x3c5),'role':_0x2e76e5(0x21c),'className':_0x2e76e5(0x341),'children':[(0x0,_0x2ee138[_0x2e76e5(0x1d3)])(_0x2a0dff,{'className':_0x2e76e5(0x3eb)}),(0x0,_0x2ee138[_0x2e76e5(0x1d3)])('span',{'children':_0x3f36f2['content']}),(0x0,_0x2ee138['jsx'])(_0x230545[_0x2e76e5(0x361)],{'size':_0x2e76e5(0x321),'variant':_0x2e76e5(0x35c),'onClick':()=>window[_0x2e76e5(0x45d)]['reload'](),'children':_0x3f36f2[_0x2e76e5(0x1b7)]})]}):null;}let _0x194e3c=_0x529b57(0x399),_0x22069a=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x1992c9,_0xf7034f,_0x552cd5,_0x11fea9,_0x158667,_0x3296fa,_0x4d33d1,_0x5a8a18){const _0x3a1caf=_0x529b57;super(),this[_0x3a1caf(0x46a)]=_0x1992c9,this[_0x3a1caf(0x1b6)]=_0xf7034f,this[_0x3a1caf(0x20d)]=_0x552cd5,this['_injector']=_0x11fea9,this[_0x3a1caf(0x212)]=_0x158667,this[_0x3a1caf(0x1ee)]=_0x4d33d1,this[_0x3a1caf(0x32d)]=_0x5a8a18,_0x77e721(this,_0x3a1caf(0x4a5),new _0x541406[(_0x3a1caf(0x225))](null)),_0x77e721(this,_0x3a1caf(0x259),new _0x541406[(_0x3a1caf(0x225))](!0x1)),_0x77e721(this,_0x3a1caf(0x3b7),new Set()),_0x77e721(this,_0x3a1caf(0x252),new Map()),_0x77e721(this,_0x3a1caf(0x47c),new Set()),_0x77e721(this,'_latestStates',new Map()),_0x77e721(this,_0x3a1caf(0x288),void 0x0),_0x77e721(this,_0x3a1caf(0x3c1),void 0x0),_0x77e721(this,'_sheetLoadingRenderService',void 0x0),_0x77e721(this,_0x3a1caf(0x316),this[_0x3a1caf(0x4a5)][_0x3a1caf(0x24b)]());let _0x221fe1=()=>(0x0,_0x41f98f['createElement'])(_0x505bfd,{'state$':this[_0x3a1caf(0x316)],'interactionBlocked$':this[_0x3a1caf(0x259)]});this[_0x3a1caf(0x1a1)](_0x3296fa[_0x3a1caf(0x473)](_0x3a2e6e[_0x3a1caf(0x1ea)][_0x3a1caf(0x3e7)],()=>(0x0,_0x3a2e6e['connectInjector'])(_0x221fe1,this['_injector']))),this[_0x3a1caf(0x1a1)](this[_0x3a1caf(0x46a)][_0x3a1caf(0x39b)]['subscribe'](_0x36f2e2=>{const _0x2a1ffc=_0x3a1caf;this[_0x2a1ffc(0x467)]=_0x36f2e2,_0x36f2e2[_0x2a1ffc(0x27d)](_0x231e9e=>{const _0x1485a3=_0x2a1ffc;this[_0x1485a3(0x44d)](_0x231e9e),this[_0x1485a3(0x219)](_0x231e9e);});})),this[_0x3a1caf(0x1a1)](this[_0x3a1caf(0x32d)][_0x3a1caf(0x237)]['subscribe'](()=>{const _0x5269c8=_0x3a1caf;this[_0x5269c8(0x467)]['forEach'](_0x34ff3a=>{const _0x46dc31=_0x5269c8;this[_0x46dc31(0x44d)](_0x34ff3a),this[_0x46dc31(0x219)](_0x34ff3a);});}));}['dispose'](){const _0x321b8f=_0x529b57;var _0x46c745;if(this[_0x321b8f(0x3b7)][_0x321b8f(0x27d)](_0x274b01=>this[_0x321b8f(0x1b6)]['remove'](_0x274b01)),this[_0x321b8f(0x3b7)][_0x321b8f(0x2d3)](),this[_0x321b8f(0x288)]){var _0x42305f;(_0x42305f=this[_0x321b8f(0x4a1)])==null||_0x42305f[_0x321b8f(0x498)](this[_0x321b8f(0x288)]);}this[_0x321b8f(0x288)]=void 0x0,this[_0x321b8f(0x252)][_0x321b8f(0x27d)](({timeoutId:_0x1c6514})=>clearTimeout(_0x1c6514)),this[_0x321b8f(0x252)][_0x321b8f(0x2d3)](),(_0x46c745=this[_0x321b8f(0x3c1)])==null||_0x46c745[_0x321b8f(0x1c0)](),this[_0x321b8f(0x3c1)]=void 0x0,this[_0x321b8f(0x4a5)][_0x321b8f(0x32e)](),this[_0x321b8f(0x259)][_0x321b8f(0x32e)](),super[_0x321b8f(0x1c0)]();}[_0x529b57(0x44d)](_0x5268d1){const _0x17f7d=_0x529b57;let _0x24a8a8=''+_0x194e3c+_0x5268d1[_0x17f7d(0x29e)];if(_0x5268d1['stage']===_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x1a0)]){if(this[_0x17f7d(0x1a9)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x4a7)](_0x5268d1[_0x17f7d(0x29e)])&&this[_0x17f7d(0x288)]===_0x5268d1[_0x17f7d(0x29e)]){this['_messageService'][_0x17f7d(0x23d)]({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)][_0x17f7d(0x328)],'duration':0x1/0x0,'content':this[_0x17f7d(0x20d)]['t'](_0x17f7d(0x362))}),this[_0x17f7d(0x3b7)]['add'](_0x24a8a8);return;}this[_0x17f7d(0x34b)](_0x5268d1['unitId']),this[_0x17f7d(0x1b6)][_0x17f7d(0x35a)](_0x24a8a8),this['_messageIds'][_0x17f7d(0x472)](_0x24a8a8);return;}if(!this[_0x17f7d(0x4a7)](_0x5268d1['unitId'])){this[_0x17f7d(0x1a9)](_0x5268d1['unitId']),this[_0x17f7d(0x34b)](_0x5268d1['unitId']),this['_messageService']['remove'](_0x24a8a8),this[_0x17f7d(0x3b7)][_0x17f7d(0x472)](_0x24a8a8);return;}if(_0x5268d1[_0x17f7d(0x3f1)]===_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x4e0)]){this[_0x17f7d(0x1a9)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x34b)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x1b6)]['show']({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)]['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this['_messageIds']['delete'](_0x24a8a8);return;}if(_0x5268d1[_0x17f7d(0x3f1)]!==_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x19f)]||_0x5268d1[_0x17f7d(0x299)]<=0xa){this[_0x17f7d(0x1a9)](_0x5268d1['unitId']),this[_0x17f7d(0x1b6)][_0x17f7d(0x35a)](_0x24a8a8),this[_0x17f7d(0x3b7)][_0x17f7d(0x472)](_0x24a8a8);return;}this[_0x17f7d(0x3a2)](_0x5268d1)||(this['_messageService'][_0x17f7d(0x23d)]({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)][_0x17f7d(0x328)],'duration':0x1/0x0,'content':this[_0x17f7d(0x20d)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x5268d1[_0x17f7d(0x4b6)]+'/'+_0x5268d1[_0x17f7d(0x299)]}),this[_0x17f7d(0x3b7)][_0x17f7d(0x293)](_0x24a8a8));}['_watchBlockProgress'](_0x182558){const _0x444690=_0x529b57;let _0x3307c5=this[_0x444690(0x252)][_0x444690(0x480)](_0x182558[_0x444690(0x29e)]);if((_0x3307c5==null?void 0x0:_0x3307c5[_0x444690(0x4b6)])===_0x182558[_0x444690(0x4b6)])return _0x3307c5[_0x444690(0x1c2)];this[_0x444690(0x1a9)](_0x182558[_0x444690(0x29e)]);let _0x38e0af=setTimeout(()=>{const _0x5e1c0e=_0x444690;let _0x8f46f0=this[_0x5e1c0e(0x252)][_0x5e1c0e(0x480)](_0x182558['unitId']);if(!_0x8f46f0||_0x8f46f0[_0x5e1c0e(0x3dc)]!==_0x38e0af)return;_0x8f46f0[_0x5e1c0e(0x1c2)]=!0x0;let _0x466d67=''+_0x194e3c+_0x182558[_0x5e1c0e(0x29e)];this[_0x5e1c0e(0x1b6)][_0x5e1c0e(0x35a)](_0x466d67),this[_0x5e1c0e(0x3b7)]['delete'](_0x466d67),this[_0x5e1c0e(0x4a5)][_0x5e1c0e(0x366)]({'unitId':_0x182558['unitId'],'content':this[_0x5e1c0e(0x20d)]['t'](_0x5e1c0e(0x404),String(_0x182558[_0x5e1c0e(0x4b6)]),String(_0x182558[_0x5e1c0e(0x299)])),'refreshLabel':this[_0x5e1c0e(0x20d)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x444690(0x252)]['set'](_0x182558[_0x444690(0x29e)],{'loadedBlocks':_0x182558[_0x444690(0x4b6)],'timedOut':!0x1,'timeoutId':_0x38e0af}),!0x1;}[_0x529b57(0x1a9)](_0x1605bb){const _0x4d57ab=_0x529b57;let _0x5ecb3c=this['_blockProgressWatches'][_0x4d57ab(0x480)](_0x1605bb);_0x5ecb3c&&(clearTimeout(_0x5ecb3c[_0x4d57ab(0x3dc)]),this[_0x4d57ab(0x252)][_0x4d57ab(0x472)](_0x1605bb),this[_0x4d57ab(0x34b)](_0x1605bb));}['_clearTimeoutState'](_0x3bbbe6){const _0x10f530=_0x529b57;var _0x38da4b;((_0x38da4b=this['_timeoutState$']['value'])==null?void 0x0:_0x38da4b[_0x10f530(0x29e)])===_0x3bbbe6&&this[_0x10f530(0x4a5)][_0x10f530(0x366)](null);}[_0x529b57(0x219)](_0x23676f){const _0x3cb5e7=_0x529b57;if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)][_0x3cb5e7(0x2ae)]&&this['_handoffUnitIds'][_0x3cb5e7(0x472)](_0x23676f[_0x3cb5e7(0x29e)]),!this[_0x3cb5e7(0x4a7)](_0x23676f['unitId'])){this[_0x3cb5e7(0x375)](_0x23676f['unitId']);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)]['ERROR']||_0x23676f['totalBlocks']<=0xa){this['_hidePreview'](_0x23676f[_0x3cb5e7(0x29e)]);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654['SnapshotLoadStage'][_0x3cb5e7(0x1a0)]){this['_handoffPreview'](_0x23676f[_0x3cb5e7(0x29e)]);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)][_0x3cb5e7(0x19f)]&&_0x23676f[_0x3cb5e7(0x193)]&&_0x23676f[_0x3cb5e7(0x3db)]){let _0x57e7a9=this[_0x3cb5e7(0x37e)]();if(!_0x57e7a9)return;this[_0x3cb5e7(0x288)]&&this['_previewUnitId']!==_0x23676f[_0x3cb5e7(0x29e)]&&this[_0x3cb5e7(0x375)](this['_previewUnitId']),_0x57e7a9[_0x3cb5e7(0x38e)](_0x23676f[_0x3cb5e7(0x193)],_0x23676f[_0x3cb5e7(0x3db)]),this[_0x3cb5e7(0x288)]=_0x23676f['unitId'],this['_setInteractionBlocked'](!0x0),_0x23676f['previewReady']&&_0x57e7a9[_0x3cb5e7(0x23d)](_0x23676f[_0x3cb5e7(0x193)],_0x23676f[_0x3cb5e7(0x3db)],_0x23676f[_0x3cb5e7(0x401)]);}}['_handoffPreview'](_0xa47497){const _0x19fb03=_0x529b57;if(this[_0x19fb03(0x288)]!==_0xa47497||this[_0x19fb03(0x47c)][_0x19fb03(0x4d8)](_0xa47497))return;let _0x2b0924=this[_0x19fb03(0x4a1)];_0x2b0924&&(this[_0x19fb03(0x47c)][_0x19fb03(0x293)](_0xa47497),_0x2b0924[_0x19fb03(0x41a)](_0xa47497,0x2710)[_0x19fb03(0x2ff)](_0x4495fc=>{const _0x111d46=_0x19fb03;if(this[_0x111d46(0x288)]!==_0xa47497)return;if(_0x4495fc){let _0x48690f=''+_0x194e3c+_0xa47497;this['_messageService'][_0x111d46(0x35a)](_0x48690f),this['_messageIds'][_0x111d46(0x472)](_0x48690f),this[_0x111d46(0x288)]=void 0x0,this[_0x111d46(0x1d0)](!0x1);return;}let _0x423113=''+_0x194e3c+_0xa47497;this[_0x111d46(0x1b6)]['remove'](_0x423113),this[_0x111d46(0x3b7)][_0x111d46(0x472)](_0x423113),this[_0x111d46(0x4a5)][_0x111d46(0x366)]({'unitId':_0xa47497,'content':this[_0x111d46(0x20d)]['t']('collaboration-client-ui.session.connection-failed'),'refreshLabel':this['_localeService']['t'](_0x111d46(0x1f2))});}));}['_hidePreview'](_0x6b83c9){const _0x1c8b2f=_0x529b57;var _0x5382a3;this[_0x1c8b2f(0x288)]===_0x6b83c9&&((_0x5382a3=this[_0x1c8b2f(0x4a1)])==null||_0x5382a3[_0x1c8b2f(0x498)](_0x6b83c9),this[_0x1c8b2f(0x288)]=void 0x0,this['_setInteractionBlocked'](!0x1));}['_setInteractionBlocked'](_0x3412f5){const _0x4dd097=_0x529b57;if(_0x3412f5!==this[_0x4dd097(0x259)][_0x4dd097(0x44f)]){if(_0x3412f5)this[_0x4dd097(0x3c1)]=this[_0x4dd097(0x1ee)][_0x4dd097(0x2e3)]();else{var _0x5403aa;(_0x5403aa=this[_0x4dd097(0x3c1)])==null||_0x5403aa[_0x4dd097(0x1c0)](),this[_0x4dd097(0x3c1)]=void 0x0;}this[_0x4dd097(0x259)][_0x4dd097(0x366)](_0x3412f5);}}[_0x529b57(0x4a7)](_0x387722){const _0x16584a=_0x529b57;let _0x1881c2=this['_urlService']['getParam'](_0x16584a(0x45f));return!_0x1881c2||_0x1881c2===_0x387722;}[_0x529b57(0x37e)](){const _0x78a102=_0x529b57;return this[_0x78a102(0x4a1)]?this[_0x78a102(0x4a1)]:(this[_0x78a102(0x212)][_0x78a102(0x28c)](_0x54099e[_0x78a102(0x1d1)][_0x78a102(0x1d9)]),this[_0x78a102(0x309)]['has'](_0x189f64[_0x78a102(0x2e9)])&&(this[_0x78a102(0x4a1)]=this[_0x78a102(0x309)][_0x78a102(0x480)](_0x189f64[_0x78a102(0x2e9)])),this[_0x78a102(0x4a1)]);}};_0x22069a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x37a654[_0x529b57(0x36d)])),_0x3c6f51(0x1,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x381)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['PluginService'])),_0x3c6f51(0x5,_0x3a2e6e['IUIPartsService']),_0x3c6f51(0x6,_0x3a2e6e[_0x529b57(0x43d)]),_0x3c6f51(0x7,_0x47fac2)],_0x22069a);function _0x3b5433(_0x38fa7d){const _0x213326=_0x529b57;var _0x343383,_0xa19df2;let _0x55434e=(_0x343383=_0x38fa7d[_0x213326(0x1aa)])==null?void 0x0:_0x343383['stage'],_0x46190e=((_0xa19df2=_0x38fa7d[_0x213326(0x1aa)])==null?void 0x0:_0xa19df2['totalFormulasToCalculate'])||0x0;return _0x55434e===_0x29b436[_0x213326(0x3cd)][_0x213326(0x3ae)]&&_0x46190e>0x0;}function _0x4317aa(_0x3ed35d){const _0x1cd701=_0x529b57;return _0x3ed35d[_0x1cd701(0x4dc)]===_0x29b436[_0x1cd701(0x270)]['SUCCESS'];}let _0x45c90c=class extends _0x54099e['Disposable']{constructor(_0x27e419,_0x3ca5be,_0x93e9ab,_0xad3196,_0x2c5976,_0x2e51cc,_0x5c3fa7){const _0x2b03f1=_0x529b57;super(),this[_0x2b03f1(0x1b6)]=_0x27e419,this[_0x2b03f1(0x48e)]=_0x3ca5be,this['_configService']=_0x93e9ab,this[_0x2b03f1(0x44c)]=_0xad3196,this['_univerInstanceService']=_0x2c5976,this[_0x2b03f1(0x1fd)]=_0x2e51cc,this[_0x2b03f1(0x20d)]=_0x5c3fa7,_0x77e721(this,_0x2b03f1(0x38b),null),_0x77e721(this,'_maxFormulaLimit',0x0),_0x77e721(this,_0x2b03f1(0x365),0x0),_0x77e721(this,_0x2b03f1(0x47b),[]),_0x77e721(this,_0x2b03f1(0x48c),0x0),this[_0x2b03f1(0x402)]();}[_0x529b57(0x402)](){const _0x1c0d56=_0x529b57;this[_0x1c0d56(0x1a1)](this[_0x1c0d56(0x48e)][_0x1c0d56(0x43e)]((_0xbf4775,_0x2b3aee)=>{const _0x3ec3ed=_0x1c0d56;var _0x275576;if(_0xbf4775['id']!==_0x29b436['SetFormulaCalculationStartMutation']['id'])return;let _0x58df09=_0xbf4775['params'];if(this['_hasFormulaInDirtyRanges']((_0x275576=_0x58df09[_0x3ec3ed(0x43c)])==null?[]:_0x275576)&&!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0xbf4775,_0x2b3aee),this[_0x3ec3ed(0x3f2)](),new _0x54099e[(_0x3ec3ed(0x295))]();})),this[_0x1c0d56(0x1a1)](this[_0x1c0d56(0x48e)]['onCommandExecuted']((_0x3b2c89,_0x434f96)=>{const _0xad7ab7=_0x1c0d56;if(_0x3b2c89['id']!==_0x29b436['SetFormulaCalculationNotificationMutation']['id'])return;let _0x3b0651=_0x3b2c89['params'];if(_0x3b5433(_0x3b0651)){let _0x34e170=(0x0,_0x54099e[_0xad7ab7(0x3c3)])();this[_0xad7ab7(0x47b)]['push'](_0x34e170),this[_0xad7ab7(0x3e6)](_0x34e170);}else{if(_0x4317aa(_0x3b0651)&&this['_taskIds'][_0xad7ab7(0x354)]>0x0){let _0x15bd8a=this[_0xad7ab7(0x47b)]['shift']();this['_releaseCalculationLimit'](_0x15bd8a);}}}));}[_0x529b57(0x1c0)](){const _0x44645c=_0x529b57;super[_0x44645c(0x1c0)](),this[_0x44645c(0x2cc)](),this[_0x44645c(0x47b)]=[],this[_0x44645c(0x365)]=0x0,this[_0x44645c(0x4ab)]=0x0,this[_0x44645c(0x48c)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x172fa4,_0x2aff2e){const _0xdb5a96=_0x529b57;for(let _0x3baa62=0x0;_0x3baa62<0x1e;_0x3baa62++)try{if(await this[_0xdb5a96(0x4e4)](),this['_checkCalculationAvailable']()){this[_0xdb5a96(0x3c9)](_0x172fa4,_0x2aff2e),this[_0xdb5a96(0x1b6)]['show']({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x230545['MessageType'][_0xdb5a96(0x4ac)]});return;}await new Promise(_0x3a84f8=>{const _0xe68c4d=_0xdb5a96;this[_0xe68c4d(0x38b)]=window['setTimeout'](_0x3a84f8,0x3e8);});}catch(_0x54818b){this[_0xdb5a96(0x1fd)][_0xdb5a96(0x1df)](_0x54818b);}this[_0xdb5a96(0x1b6)][_0xdb5a96(0x23d)]({'content':this[_0xdb5a96(0x20d)]['t']('collaboration-client-ui.formula.calculation.unable'),'type':_0x230545['MessageType']['Error']});}['_applyCommand'](_0x505702,_0x316611){const _0x56fd72=_0x529b57;try{this[_0x56fd72(0x48e)][_0x56fd72(0x1f4)](_0x505702['id'],_0x505702[_0x56fd72(0x4bc)],_0x316611);}catch(_0x136e4d){this[_0x56fd72(0x1fd)][_0x56fd72(0x1df)](_0x136e4d);}}[_0x529b57(0x3d2)](_0x3377e6,_0x3d6057){const _0x5c0578=_0x529b57;_0x3d6057<this['_lastResponseTimestamp']||(this[_0x5c0578(0x48c)]=_0x3d6057,this[_0x5c0578(0x4ab)]=Number[_0x5c0578(0x4db)](_0x3377e6[_0x5c0578(0x4c6)]),this[_0x5c0578(0x365)]=Number[_0x5c0578(0x4db)](_0x3377e6[_0x5c0578(0x1fe)]));}async[_0x529b57(0x3e6)](_0x155601){const _0x575c6d=_0x529b57;let _0x3803af=Date['now']();try{var _0x5ea270,_0x4c902e;let _0x2ca257=((_0x5ea270=this[_0x575c6d(0x23f)][_0x575c6d(0x48b)](_0x39299b[_0x575c6d(0x20f)]))==null?void 0x0:_0x5ea270[_0x575c6d(0x1ec)])||_0x575c6d(0x477),_0x296e86=(await this[_0x575c6d(0x44c)][_0x575c6d(0x258)](_0x2ca257,{'body':JSON[_0x575c6d(0x2d8)]({'taskId':_0x155601})}))[_0x575c6d(0x4c3)];if(((_0x4c902e=_0x296e86[_0x575c6d(0x1df)])==null?void 0x0:_0x4c902e['code'])!==_0x19a70a[_0x575c6d(0x266)]['OK'])return;this[_0x575c6d(0x3d2)](_0x296e86[_0x575c6d(0x26d)],_0x3803af);}catch(_0x71a77d){this[_0x575c6d(0x1fd)][_0x575c6d(0x1df)](_0x71a77d);}}async['_getFormulaLimitStatus'](_0x5f0bbb){const _0x52bd05=_0x529b57;let _0x18b40e=Date[_0x52bd05(0x48a)]();try{var _0x2b6fad,_0x5db96c;let _0x527322=((_0x2b6fad=this[_0x52bd05(0x23f)][_0x52bd05(0x48b)](_0x39299b[_0x52bd05(0x20f)]))==null?void 0x0:_0x2b6fad[_0x52bd05(0x347)])||_0x52bd05(0x463),_0x53ddf6=_0x5f0bbb?_0x527322+'?taskId='+encodeURIComponent(_0x5f0bbb):_0x527322,_0x24c0a5=(await this[_0x52bd05(0x44c)]['get'](_0x53ddf6))[_0x52bd05(0x4c3)];if(((_0x5db96c=_0x24c0a5[_0x52bd05(0x1df)])==null?void 0x0:_0x5db96c['code'])!==_0x19a70a['ErrorCode']['OK'])return;this['_setFormulaLimitStatus'](_0x24c0a5[_0x52bd05(0x26d)],_0x18b40e);}catch(_0x33f73f){this['_logService']['error'](_0x33f73f);}}async[_0x529b57(0x435)](_0x2e52af){const _0x5b9882=_0x529b57;let _0x40ab8f=Date['now']();try{var _0x45532e,_0x44f080;let _0x3f4d7f=((_0x45532e=this[_0x5b9882(0x23f)]['getConfig'](_0x39299b[_0x5b9882(0x20f)]))==null?void 0x0:_0x45532e[_0x5b9882(0x216)])||_0x5b9882(0x396),_0x2306af=(await this['_httpService']['post'](_0x3f4d7f,{'body':JSON[_0x5b9882(0x2d8)]({'taskId':_0x2e52af})}))[_0x5b9882(0x4c3)];if(((_0x44f080=_0x2306af[_0x5b9882(0x1df)])==null?void 0x0:_0x44f080['code'])!==_0x19a70a[_0x5b9882(0x266)]['OK'])return;this[_0x5b9882(0x3d2)](_0x2306af[_0x5b9882(0x26d)],_0x40ab8f);}catch(_0x57f26b){this[_0x5b9882(0x1fd)][_0x5b9882(0x1df)](_0x57f26b);}}['_checkCalculationAvailable'](){const _0x3dccb4=_0x529b57;return this[_0x3dccb4(0x4ab)]===0x0?!0x0:this[_0x3dccb4(0x4ab)]-this[_0x3dccb4(0x365)]>0x0;}['_clearPolling'](){const _0x4cf333=_0x529b57;this[_0x4cf333(0x38b)]&&(clearTimeout(this[_0x4cf333(0x38b)]),this['_pollingInterval']=null);}[_0x529b57(0x3f2)](){const _0x2c275b=_0x529b57;this[_0x2c275b(0x1b6)][_0x2c275b(0x23d)]({'content':this[_0x2c275b(0x20d)]['t'](_0x2c275b(0x49f)),'type':_0x230545[_0x2c275b(0x2f5)]['Loading']});}[_0x529b57(0x2d4)](_0x5dc528){const _0x348426=_0x529b57;for(let _0x5cf6f4 of _0x5dc528){let {unitId:_0x406b1e,sheetId:_0x10549a,range:_0x2f158c}=_0x5cf6f4,_0xd0a6e=this[_0x348426(0x471)][_0x348426(0x2da)](_0x406b1e);if(!_0xd0a6e)continue;let _0x3ea346=_0xd0a6e[_0x348426(0x425)](_0x10549a);if(!_0x3ea346)continue;let _0x1a1598=_0x3ea346[_0x348426(0x49a)]();for(let _0x33884c=_0x2f158c[_0x348426(0x4ad)];_0x33884c<=_0x2f158c[_0x348426(0x1db)];_0x33884c++)for(let _0x1ebec1=_0x2f158c['startColumn'];_0x1ebec1<=_0x2f158c[_0x348426(0x243)];_0x1ebec1++){let _0x5c2c3f=_0x1a1598['getValue'](_0x33884c,_0x1ebec1);if(_0x5c2c3f&&((0x0,_0x54099e[_0x348426(0x3fe)])(_0x5c2c3f['f'])||(0x0,_0x54099e[_0x348426(0x253)])(_0x5c2c3f['si'])))return!0x0;}}return!0x1;}};_0x45c90c=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x3a2e6e[_0x529b57(0x1a2)])),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x2,_0x54099e['IConfigService']),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x4,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x5,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x6,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x381)]))],_0x45c90c);let _0xbe9d34=class extends _0x54099e['Disposable']{constructor(_0x17acc9,_0x456cd5,_0x57794b){const _0x56f7a9=_0x529b57;super(),this[_0x56f7a9(0x23f)]=_0x17acc9,this[_0x56f7a9(0x499)]=_0x456cd5,this['_revisionService']=_0x57794b,_0x77e721(this,_0x56f7a9(0x335),new Map()),_0x77e721(this,_0x56f7a9(0x4c7),new Map()),_0x77e721(this,_0x56f7a9(0x4cf),!0x1);}[_0x529b57(0x1dd)](){this['_disabled']=!0x0;}[_0x529b57(0x3c2)](){const _0x2e5bdd=_0x529b57;this[_0x2e5bdd(0x4cf)]=!0x1;}get[_0x529b57(0x2a6)](){const _0x2b181b=_0x529b57;return this[_0x2b181b(0x4c7)];}[_0x529b57(0x1c0)](){const _0x1b2c46=_0x529b57;this[_0x1b2c46(0x413)]()[_0x1b2c46(0x2ff)](()=>super[_0x1b2c46(0x1c0)]());}async[_0x529b57(0x239)](_0x152ce3){const _0x8758a7=_0x529b57;return this[_0x8758a7(0x4cf)]?null:this['_localStorageService'][_0x8758a7(0x1de)]((0x0,_0x39299b['getLocalCacheKey'])(_0x152ce3));}async['saveOfflineData'](_0x54faf6,_0x4e501b){const _0x433f0e=_0x529b57;return!!this[_0x433f0e(0x499)][_0x433f0e(0x1b4)]((0x0,_0x39299b[_0x433f0e(0x297)])(_0x54faf6),_0x4e501b);}async[_0x529b57(0x3d6)](_0x4d648a,_0x14ea56){const _0x512106=_0x529b57;var _0x22c0dc;let _0x34980e=(_0x22c0dc=this['_cachedData'][_0x512106(0x480)](_0x4d648a))==null?await this[_0x512106(0x499)][_0x512106(0x1de)]((0x0,_0x39299b[_0x512106(0x297)])(_0x4d648a)):_0x22c0dc;if(!_0x34980e)return;let _0x20a2ad=Date[_0x512106(0x48a)](),_0x553eca=new Date(_0x20a2ad)[_0x512106(0x3a8)]();await this['_localStorageService'][_0x512106(0x1b4)]((0x0,_0x39299b['getLocalCacheKey'])(_0x4d648a)+_0x512106(0x1cb)+_0x20a2ad,{'reason':_0x14ea56,'createdAt':_0x553eca,'data':_0x34980e});}[_0x529b57(0x47f)](_0x39e09e,_0x195e58,_0x1e4e57,_0x42e02e){const _0x1d878e=_0x529b57;let _0x3637b1=this[_0x1d878e(0x48d)][_0x1d878e(0x44b)](_0x39e09e);this[_0x1d878e(0x335)]['set'](_0x39e09e,{'unitID':_0x39e09e,'type':_0x195e58,'awaitingChangeset':_0x1e4e57,'mutations':_0x42e02e,'rev':_0x3637b1}),this[_0x1d878e(0x4c7)][_0x1d878e(0x4d8)](_0x39e09e)||this['_scheduleSaving'](_0x39e09e);}[_0x529b57(0x2c4)](_0x3b4277){const _0x3f6a9c=_0x529b57;let _0x28f45a=this[_0x3f6a9c(0x41d)]();_0x28f45a===0x0?this[_0x3f6a9c(0x343)](_0x3b4277):this['_saveTaskMap'][_0x3f6a9c(0x340)](_0x3b4277,window['setTimeout'](()=>this[_0x3f6a9c(0x343)](_0x3b4277),_0x28f45a));}[_0x529b57(0x41d)](){const _0x35ed36=_0x529b57;var _0x1acc4b;return(_0x1acc4b=this[_0x35ed36(0x23f)]['getConfig'](_0x39299b[_0x35ed36(0x209)]))==null?_0x39299b[_0x35ed36(0x346)]:_0x1acc4b;}['_saveCache'](_0xb30ba1){const _0x219ac4=_0x529b57;let _0x137adc=this[_0x219ac4(0x4c7)][_0x219ac4(0x480)](_0xb30ba1);return _0x137adc!==void 0x0&&window['clearTimeout'](_0x137adc),this[_0x219ac4(0x499)]['setItem']((0x0,_0x39299b[_0x219ac4(0x297)])(_0xb30ba1),this[_0x219ac4(0x335)][_0x219ac4(0x480)](_0xb30ba1))[_0x219ac4(0x2ff)](()=>this['_saveTaskMap'][_0x219ac4(0x472)](_0xb30ba1));}async[_0x529b57(0x413)](){const _0x3eb388=_0x529b57;let _0x179ba9=[];this['_saveTaskMap']['forEach']((_0x2c4ffb,_0x588d9b)=>{const _0xb0bfcf=_0x2ff8;window[_0xb0bfcf(0x20a)](_0x2c4ffb),_0x179ba9[_0xb0bfcf(0x29a)](this[_0xb0bfcf(0x343)](_0x588d9b)[_0xb0bfcf(0x2ff)](()=>{const _0x1836a4=_0xb0bfcf;this[_0x1836a4(0x4c7)]['delete'](_0x588d9b);}));}),await Promise[_0x3eb388(0x19b)](_0x179ba9);}};_0xbe9d34=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IConfigService']),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2e0)]),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x37a654['RevisionService']))],_0xbe9d34);var _0x25c5ce=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(){const _0x28b0fc=_0x529b57;super(),_0x77e721(this,_0x28b0fc(0x237),void 0x0),this[_0x28b0fc(0x237)]=(0x0,_0x541406[_0x28b0fc(0x29c)])(window,'popstate')[_0x28b0fc(0x2a7)]((0x0,_0x541406[_0x28b0fc(0x39f)])(this[_0x28b0fc(0x2e2)]),(0x0,_0x541406[_0x28b0fc(0x475)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x541406[_0x28b0fc(0x1f5)])(void 0x0));}['setParam'](_0x2f4495,_0x1b472a,_0x14eb60=!0x1){const _0xd3032c=_0x529b57;let _0x3ca194=new URL(window[_0xd3032c(0x45d)][_0xd3032c(0x304)]);_0x3ca194[_0xd3032c(0x4d2)]['set'](_0x2f4495,_0x1b472a),_0x14eb60?window[_0xd3032c(0x3ea)][_0xd3032c(0x2fb)]('','',_0x3ca194['toString']()):window[_0xd3032c(0x3ea)][_0xd3032c(0x25a)]('','',_0x3ca194[_0xd3032c(0x436)]());}[_0x529b57(0x273)](_0x3fefce,_0x368a01=!0x1){const _0x30eb0c=_0x529b57;let _0x1ad978=new URL(window['location'][_0x30eb0c(0x304)]);_0x1ad978[_0x30eb0c(0x4d2)][_0x30eb0c(0x472)](_0x3fefce),_0x368a01?window[_0x30eb0c(0x3ea)][_0x30eb0c(0x2fb)]('','',_0x1ad978[_0x30eb0c(0x436)]()):window[_0x30eb0c(0x3ea)][_0x30eb0c(0x25a)]('','',_0x1ad978['toString']());}[_0x529b57(0x26f)](_0x19e8a9){const _0x29856a=_0x529b57;var _0x3f585f;return(_0x3f585f=new URL(window[_0x29856a(0x45d)][_0x29856a(0x304)])[_0x29856a(0x4d2)]['get'](_0x19e8a9))==null?void 0x0:_0x3f585f;}};let _0x166029=class extends _0x54099e[_0x529b57(0x276)]{constructor(_0x4fd607=_0x3260b8,_0x10ba56,_0x5eeb01,_0x5e8117){const _0x1ad20a=_0x529b57;super(),this[_0x1ad20a(0x250)]=_0x4fd607,this[_0x1ad20a(0x3f7)]=_0x10ba56,this[_0x1ad20a(0x309)]=_0x5eeb01,this['_configService']=_0x5e8117;let {..._0x1bfd1a}=(0x0,_0x54099e[_0x1ad20a(0x3c0)])({},_0x3260b8,this[_0x1ad20a(0x250)]);this[_0x1ad20a(0x23f)][_0x1ad20a(0x372)](_0x1ad20a(0x282),_0x1bfd1a);}[_0x529b57(0x230)](){const _0x43b2fc=_0x529b57;this['_registerDependencies'](),this[_0x43b2fc(0x31a)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x529b57(0x228)](){const _0x4efc2c=_0x529b57;var _0x29405b;let _0x597bc6=[[_0x4d357d],[_0x45c90c],[_0x47fac2,{'useClass':_0x25c5ce}],[_0x5a1033[_0x4efc2c(0x42b)],{'useClass':_0x5a1033['WebSocketService']}],[_0x39299b[_0x4efc2c(0x27f)],{'useClass':_0xbe9d34}],[_0x102dbb],[_0x3db145],[_0x381878],[_0x1776e9],[_0x1ecd17],[_0x22069a]];this[_0x4efc2c(0x250)][_0x4efc2c(0x3c6)]!==!0x1&&_0x597bc6[_0x4efc2c(0x29a)]([_0x45a25a],[_0x2d6dea],[_0xa482d8],[_0x3d8da4],[_0x53fd1a],[_0x29a900]),this[_0x4efc2c(0x250)]['enableFrontendLog']&&_0x597bc6[_0x4efc2c(0x29a)]([_0x3fd58e]),(0x0,_0x54099e[_0x4efc2c(0x440)])(this[_0x4efc2c(0x309)],(0x0,_0x54099e[_0x4efc2c(0x4d0)])(_0x597bc6,(_0x29405b=this[_0x4efc2c(0x250)])==null?void 0x0:_0x29405b[_0x4efc2c(0x1fb)]));}[_0x529b57(0x4e8)](){const _0x235395=_0x529b57;this['_config'][_0x235395(0x3c6)]!==!0x1&&this[_0x235395(0x1a1)](this[_0x235395(0x3f7)]['registerRenderModule'](_0x54099e[_0x235395(0x1d1)][_0x235395(0x42a)],[_0x1e89c5])),this['disposeWithMe'](this['_renderManagerService'][_0x235395(0x2c5)](_0x54099e['UniverInstanceType'][_0x235395(0x1d9)],[_0x5e3dfd])),this[_0x235395(0x1a1)](this[_0x235395(0x3f7)][_0x235395(0x2c5)](_0x54099e[_0x235395(0x1d1)][_0x235395(0x3f5)],[_0x547da7])),this['disposeWithMe'](this[_0x235395(0x3f7)]['registerRenderModule'](_0x54099e[_0x235395(0x1d1)][_0x235395(0x195)],[_0x501055]));}[_0x529b57(0x31a)](){const _0x529a4b=_0x529b57;(0x0,_0x54099e[_0x529a4b(0x208)])(this['_injector'],[[_0x1776e9],[_0x102dbb],[_0x3db145],[_0x381878],[_0x1ecd17],[_0x45c90c],[_0x22069a]]),this[_0x529a4b(0x250)][_0x529a4b(0x3c6)]!==!0x1&&(0x0,_0x54099e['touchDependencies'])(this[_0x529a4b(0x309)],[[_0x53fd1a],[_0x29a900]]),this[_0x529a4b(0x250)]['enableFrontendLog']&&(0x0,_0x54099e['touchDependencies'])(this[_0x529a4b(0x309)],[[_0x3fd58e]]);}};_0x77e721(_0x166029,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x77e721(_0x166029,_0x529b57(0x3ab),_0x28f35d),_0x77e721(_0x166029,_0x529b57(0x202),_0x2126b2),_0x166029=_0x5949f5([(0x0,_0x54099e['DependentOn'])(_0x39299b[_0x529b57(0x416)]),_0x3c6f51(0x1,_0x36fb2d['IRenderManagerService']),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x1e0)])],_0x166029);let _0x4fa05d=class extends _0x39299b[_0x529b57(0x2a1)]{constructor(_0x3b983e,_0x492577,_0x201135,_0x1e0e40,_0x10a834){super(_0x3b983e,_0x492577,_0x201135,_0x1e0e40,_0x10a834);}async[_0x529b57(0x3ec)](_0x587e98){const _0xf144f1=_0x529b57;let _0x2614c9=await this['_getSessionTicket'](),_0x1df9fe=this[_0xf144f1(0x1c9)](_0x587e98,_0x2614c9);return this[_0xf144f1(0x2f3)](_0x1df9fe);}['_createSocketURL'](_0x5196f8,_0x264f6d){const _0x46c049=_0x529b57;let _0x62813c=typeof window>'u'?new URL(_0x5196f8):new URL(_0x5196f8,window['location'][_0x46c049(0x3ff)]);_0x62813c[_0x46c049(0x4d2)][_0x46c049(0x340)](_0x46c049(0x49c),_0x264f6d);let _0xcd00db=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x46c049(0x2c0)]);return _0xcd00db[_0x46c049(0x480)](_0x46c049(0x3bd))&&_0x62813c[_0x46c049(0x4d2)]['set'](_0x46c049(0x3bd),_0xcd00db[_0x46c049(0x480)](_0x46c049(0x3bd))),_0x62813c[_0x46c049(0x436)]();}async[_0x529b57(0x247)](){const _0x28efbf=_0x529b57;var _0xf01a64,_0x1332e0,_0x8c6e0f;let _0x2bc86c=this[_0x28efbf(0x23f)][_0x28efbf(0x48b)](_0x39299b[_0x28efbf(0x20f)]),_0x2a21ef=(_0xf01a64=_0x2bc86c==null?void 0x0:_0x2bc86c[_0x28efbf(0x22a)])==null?_0x39299b[_0x28efbf(0x2f0)]:_0xf01a64;return(_0x1332e0=(_0x8c6e0f=(await this[_0x28efbf(0x44c)][_0x28efbf(0x480)](_0x2a21ef,{'headers':{'Content-Type':_0x28efbf(0x1b3)}}))[_0x28efbf(0x4c3)])==null?void 0x0:_0x8c6e0f['ticket'])==null?'':_0x1332e0;}};_0x4fa05d=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['Injector'])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033['HTTPService'])),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x1e0)]),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x4,_0x37a654[_0x529b57(0x2c9)])],_0x4fa05d);let _0x1894af=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x323ef5,_0x39b02c,_0x5786a6){const _0x1589b5=_0x529b57;super(),this[_0x1589b5(0x432)]=_0x323ef5,this[_0x1589b5(0x44c)]=_0x39b02c,this[_0x1589b5(0x23f)]=_0x5786a6;}async[_0x529b57(0x3b3)](_0xabe6f9,_0x482e21,_0x139d80,..._0x3b0a75){const _0x3b5253=_0x529b57;var _0x1c460d,_0x304935,_0x5b46f5,_0x1e2997;let _0x1cba03=this[_0x3b5253(0x432)]['getFocusedUnit']();if(!_0x1cba03)throw Error(_0x3b5253(0x26a));let _0x493d46=((_0x1c460d=this[_0x3b5253(0x23f)][_0x3b5253(0x48b)](_0x39299b[_0x3b5253(0x378)]))==null?_0x39299b[_0x3b5253(0x377)]:_0x1c460d)+'/'+_0xabe6f9+'/run/'+_0x482e21,_0x2110ad={'scriptId':_0xabe6f9,'runId':(_0x304935=new URL(window['location']['href'])['searchParams'][_0x3b5253(0x480)]('runId'))==null?'':_0x304935,'function':_0x482e21,'unitId':_0x1cba03['getUnitId'](),'argsOfFunction':JSON[_0x3b5253(0x2d8)](_0x3b0a75),'invokeId':(_0x5b46f5=_0x139d80['invokeId'])==null?'':_0x5b46f5,'executionId':(_0x1e2997=_0x139d80[_0x3b5253(0x364)])==null?'':_0x1e2997};try{let _0x373742=await this[_0x3b5253(0x44c)]['post'](_0x493d46,{'body':_0x2110ad});return _0x373742['body'][_0x3b5253(0x1df)]&&_0x373742[_0x3b5253(0x4c3)][_0x3b5253(0x1df)]['code']!==_0x19a70a[_0x3b5253(0x266)]['OK']?_0x3b5253(0x34c):_0x373742[_0x3b5253(0x4c3)][_0x3b5253(0x47a)];}catch{return _0x3b5253(0x34c);}}};_0x1894af=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IUniverInstanceService']),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x2,_0x54099e['IConfigService'])],_0x1894af);let _0x26b93c=0x7530,_0x3d86cd=_0x529b57(0x2b2);var _0x50af46=class extends _0x54099e[_0x529b57(0x45b)]{constructor(){const _0x25c06a=_0x529b57;super(),_0x77e721(this,_0x25c06a(0x35d),(0x0,_0x54099e[_0x25c06a(0x3c3)])()),_0x77e721(this,_0x25c06a(0x2fc),new Set()),_0x77e721(this,'_unitOnClients',new Map()),_0x77e721(this,_0x25c06a(0x1bd),null),_0x77e721(this,_0x25c06a(0x449),new Map()),_0x77e721(this,_0x25c06a(0x3a4),new Map()),this[_0x25c06a(0x2cb)]();}[_0x529b57(0x1c0)](){const _0x5d3148=_0x529b57;super[_0x5d3148(0x1c0)](),this[_0x5d3148(0x449)][_0x5d3148(0x27d)]((_0x15f429,_0x723537)=>this['_removeClearOtherTimer'](_0x723537)),this[_0x5d3148(0x1bd)]&&window[_0x5d3148(0x30b)](this[_0x5d3148(0x1bd)]);}[_0x529b57(0x232)](_0x1ed02c){const _0x52b855=_0x529b57;return this['_ensureSubject'](_0x1ed02c)[_0x52b855(0x2a7)]((0x0,_0x541406[_0x52b855(0x2e6)])());}[_0x529b57(0x2ce)](_0x46578a){const _0x1f6cc5=_0x529b57;this[_0x1f6cc5(0x2fc)][_0x1f6cc5(0x1ff)]===0x0&&this[_0x1f6cc5(0x213)](),this[_0x1f6cc5(0x2fc)][_0x1f6cc5(0x293)](_0x46578a),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x46578a],'isForwarded':!0x1});}[_0x529b57(0x1e8)](_0xea9eaf){const _0xf3498b=_0x529b57;this['_selfUnitIDs']['delete'](_0xea9eaf),this[_0xf3498b(0x2fc)]['size']===0x0&&this[_0xf3498b(0x1bd)]&&window[_0xf3498b(0x30b)](this[_0xf3498b(0x1bd)]);}['_init'](){const _0xf546c5=_0x529b57;this[_0xf546c5(0x1a1)]((0x0,_0x54099e[_0xf546c5(0x1d4)])((0x0,_0x541406['fromEvent'])(window,_0xf546c5(0x33a))[_0xf546c5(0x1a7)](_0x1e0cbb=>{const _0x299ddd=_0xf546c5;if(_0x1e0cbb[_0x299ddd(0x332)]!==_0x3d86cd||!_0x1e0cbb[_0x299ddd(0x400)])return;let _0x1d2fff=JSON['parse'](_0x1e0cbb['newValue']);this[_0x299ddd(0x4a9)](_0x1d2fff);}))),window[_0xf546c5(0x28a)](_0xf546c5(0x21e),()=>this[_0xf546c5(0x320)]({'type':0x1,'memberID':this[_0xf546c5(0x35d)],'unitIDs':Array[_0xf546c5(0x1d6)](this['_selfUnitIDs'])}));}[_0x529b57(0x4a9)](_0x575e50){const _0x3a83bc=_0x529b57;switch(_0x575e50['type']){case 0x0:this[_0x3a83bc(0x414)](_0x575e50);break;case 0x1:this['_handleLeaveEvent'](_0x575e50);break;case 0x2:this[_0x3a83bc(0x44a)](_0x575e50);break;}}[_0x529b57(0x414)](_0x3ada80){const _0x6b1901=_0x529b57;let {unitIDs:_0x1dafc7,memberID:_0x33471f,isForwarded:_0x398fc7}=_0x3ada80;_0x1dafc7[_0x6b1901(0x27d)](_0x279d5c=>{const _0x4cd4ef=_0x6b1901;if(!_0x398fc7&&this['_unitOnClients'][_0x4cd4ef(0x4d8)](_0x279d5c)&&this[_0x4cd4ef(0x46d)](_0x279d5c)[_0x4cd4ef(0x366)](_0x39299b[_0x4cd4ef(0x268)][_0x4cd4ef(0x1e7)]),!this[_0x4cd4ef(0x443)][_0x4cd4ef(0x4d8)](_0x279d5c)||!this['_unitOnClients'][_0x4cd4ef(0x480)](_0x279d5c)[_0x4cd4ef(0x4d8)](_0x33471f)){let _0x4a809f=this[_0x4cd4ef(0x443)][_0x4cd4ef(0x480)](_0x279d5c)||new Set();_0x4a809f[_0x4cd4ef(0x293)](_0x33471f),this[_0x4cd4ef(0x443)][_0x4cd4ef(0x340)](_0x279d5c,_0x4a809f),this[_0x4cd4ef(0x2c7)](_0x33471f);}}),_0x398fc7||this[_0x6b1901(0x320)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x6b1901(0x2fc)]],'isForwarded':!0x0});}[_0x529b57(0x2c7)](_0x2b8bbe){const _0x1277e0=_0x529b57;this['_removeClearOtherTimer'](_0x2b8bbe);let _0x2b4e37=window['setTimeout'](()=>{const _0x143bee=_0x2ff8;this[_0x143bee(0x443)][_0x143bee(0x27d)](_0x1c454f=>{const _0x5c5261=_0x143bee;_0x1c454f[_0x5c5261(0x472)](_0x2b8bbe);});},_0x26b93c*0x2);this['_clearOtherTimers'][_0x1277e0(0x340)](_0x2b8bbe,_0x2b4e37);}[_0x529b57(0x460)](_0x26d93d){const _0x79959b=_0x529b57;if(this[_0x79959b(0x449)][_0x79959b(0x4d8)](_0x26d93d)){let _0x189ca6=this[_0x79959b(0x449)]['get'](_0x26d93d);_0x189ca6&&window['clearTimeout'](_0x189ca6),this[_0x79959b(0x449)][_0x79959b(0x340)](_0x26d93d,null);}}[_0x529b57(0x379)](_0x55d5d3){const _0x456987=_0x529b57;let {memberID:_0x545e57,unitIDs:_0x430fbd}=_0x55d5d3;_0x430fbd[_0x456987(0x27d)](_0x2b3f73=>{const _0x2379bc=_0x456987;var _0x47de6d;let _0x3ff04e=this['_unitOnClients'][_0x2379bc(0x480)](_0x2b3f73);_0x3ff04e&&(_0x3ff04e['delete'](_0x545e57),(_0x47de6d=this[_0x2379bc(0x46d)](_0x2b3f73))==null||_0x47de6d[_0x2379bc(0x366)](_0x3ff04e[_0x2379bc(0x1ff)]===0x0?_0x39299b[_0x2379bc(0x268)]['NO_OTHER_CLIENTS_EDITING']:_0x39299b[_0x2379bc(0x268)][_0x2379bc(0x1e7)]));}),this[_0x456987(0x460)](_0x545e57);}[_0x529b57(0x44a)](_0xf2d632){const _0x46ae5d=_0x529b57;this[_0x46ae5d(0x2c7)](_0xf2d632['memberID']);}['_send'](_0x3c51be){localStorage['setItem'](_0x3d86cd,JSON['stringify'](_0x3c51be));}[_0x529b57(0x213)](){const _0x225241=_0x529b57;this[_0x225241(0x1bd)]=window[_0x225241(0x249)](()=>{const _0x7a2015=_0x225241;this[_0x7a2015(0x320)]({'type':0x2,'memberID':this['_id']});},_0x26b93c);}['_ensureSubject'](_0x4f6eea){const _0x3da29a=_0x529b57;return this['_unitStatus']['has'](_0x4f6eea)||this[_0x3da29a(0x3a4)]['set'](_0x4f6eea,new _0x541406[(_0x3da29a(0x225))](_0x39299b[_0x3da29a(0x268)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3da29a(0x3a4)][_0x3da29a(0x480)](_0x4f6eea);}};Object['defineProperty'](_0x360d56,_0x529b57(0x359),{'enumerable':!0x0,'get':function(){return _0x4fa05d;}}),Object[_0x529b57(0x2bf)](_0x360d56,_0x529b57(0x412),{'enumerable':!0x0,'get':function(){return _0x102dbb;}}),_0x360d56[_0x529b57(0x246)]=_0x47fac2,Object['defineProperty'](_0x360d56,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x1894af;}}),_0x360d56[_0x529b57(0x285)]=_0x363829,Object[_0x529b57(0x2bf)](_0x360d56,_0x529b57(0x244),{'enumerable':!0x0,'get':function(){return _0x166029;}}),_0x360d56[_0x529b57(0x367)]=_0x50af46;}));function _0xbcae(){const _0x130738=['unhandledrejection','angle','dirtyRanges','IShortcutService','beforeCommandExecuted','beginPath','registerDependencies','attrs','focusedId','_unitOnClients','DeleteRangeMoveUpCommandId','serializeRangeWithSheet','labelPosition','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Workbook','_clearOtherTimers','_handleHeartbeatEvent','getCurrentRevOfUnit','_httpService','_updateMessage','RichTextEditingMutation','value','restore','_initStatusComponent','find','_dataLoaderService','IUniverInstanceService','preventDefault','_collaborationSessionService','getUndoRedoMutationParamsCache','_startBoardCollabCursor','@univerjs/protocol','startColumn','Disposable','HTTPService','location','UniverProCollaboration','unit','_removeClearOtherTimer','warning-icon','univer-text-orange-500','/universer-api/license/formula/limit/status','getObjectIncludeInGroup','collaboration-client-ui.collabClient.tooltip.reconnect','0\x200\x2016\x2016','_latestStates','OFFLINE','bind','_snapshotLoadingService','UniverEngineFormula','onPointerLeave$','_ensureSubject','loadUnit','_initUnhandledRejectionListener','COLORS','_univerInstanceService','delete','registerComponent','OnLineIcon','shareReplay','flatMap','/universer-api/license/formula/limit/start','Enter','message','result','_taskIds','_handoffUnitIds','handleDeleteRangeMoveLeft','_context','updateOfflineData','get','exports','data','transformIMECache','saveImage','black','_online','iterator','toRgbString','random','now','getConfig','_lastResponseTimestamp','_revisionService','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','triggerDblclick','sheetID','univer-border-none\x20univer-bg-transparent','colorChannel1','react','UniverProCollaborationClientUi','getFocusedUnit','isEditing','hide','_localStorageService','getCellMatrix','parse','sessionTicket','string','toPrimitive','collaboration-client-ui.formula.calculation.waiting','_startDocCollabCursor','_sheetLoadingRenderService','IBeforeCloseService','_showText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_timeoutState$','clickable','_isVisibleUnit','1.0.0-alpha.4','_handleEvent','Warning','_maxFormulaLimit','Success','startRow','SessionStatus','createIdentifier','rgb','idSuffix','_stopBlinking','socket$','1083150VzrLFc','unitID','loadedBlocks','_initWindowErrorListener','_startSheetCollabCursor','rxjs','transformRemoteChangeset','UniverIcon','params','currentSkeleton$','IDocClipboardService','setShapeProps','getMergeData','entityInit$','_toggleOnline','body','React','_hideTimer','maxFormulaLimit','_saveTaskMap','color','useCallback','getVpScrollXYInfoByPosToVp','_status$','DataLoaderService','resolve','[Window\x20Error]:\x20','_disabled','mergeOverrideWithDependencies','_memberService','searchParams','catch','ILogService','transformMutationsWithChangeset','indicator','slice','has','map','reason','parseInt','functionsExecutedState','_uiPartsService','NOT_COLLAB','_drawRectRange','ERROR','SetTextSelectionsOperation','getCollabEntity$','collab-text-anchor-','_getFormulaLimitStatus','url(#off-line-icon_clip0_910_343)','SetDocZoomRatioOperation','focused$','_registerRenderDependencies','@univerjs/engine-formula','UniverDesign','doc.mutation.rich-text-editing','addHandlerCallback','connectInjector','_startBlinking','polite','tag','amd','_getLighterColor','DeleteRangeMoveLeftCommandId','getTypeOfUnitDisposed$','ISlideDrawingStateService','workbookShell','ITransformService','UNIVER_BOARD','isActive','getCurrentTypeOfUnit$','roomMembers$','highlight','switchMap','all','syncEditingCollabCursor','_cursor','ThemeService','LOADING_BLOCKS','COMPLETE','disposeWithMe','IMessageService','getCollabCursors$','colno','_getSceneObjectByKey','Rect','subscribe','TEXT_RANGE_LAYER_INDEX','_clearBlockProgressWatch','stageInfo','WarningIcon','OffLineIcon','10RydtLE','_isBlinkVisible','text','RefRangeService','white','loading-multi-icon','application/json','setItem','toStringTag','_messageService','refreshLabel','_anchorDot','highlightSecond','11MVtLVw','_collabCursorState$','i18nKey','_heartbeatTimer','/universer-api/frontend/logs','http://www.w3.org/2000/svg','dispose','width','timedOut','currentTheme$','0.2)','Module','removeObject','m2Prime','1186IeKtTY','_createSocketURL','DocIMEInputManagerService',':backup:','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','undoState','_transformHistoryAndStateStack','_collaborationUIEventService','_setInteractionBlocked','UniverInstanceType','5926653jsjqQP','jsx','toDisposable','assignAColorForMemberID','from','_docTransformIMECacheService','constructor','UNIVER_SHEET','collaboration-client-ui.session.collaboration-timeout','endRow','Tooltip','disableLocalCache','getItem','error','IConfigService','getMember','collaboration-client-ui.collabStatus.offline','getCurrentUnitOfType','UniverProSlidesUi','_entityInit$','rxjs/operators','OTHER_CLIENTS_EDITING','disposeUnit','getCellPositionByOffset','BuiltInUIPart','MemberService','startFormulaLimitUrl','PERMISSION_DENIED','_shortcutService','height','IUIPartsService','collabCursorState$','collaboration-client-ui.snapshotLoading.refresh','div','executeCommand','mapTo','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','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','_refRangeService','#0B9EFB','jiqing.500','override','#4f46e5','_logService','currentUsage','size','_session','replace','version','CollaborationStatus','spin','_highlightSecond','createInstance','measureText','touchDependencies','LOCAL_CACHE_INTERVAL_KEY','clearTimeout','isTransformMutationFailure','@univerjs/docs','_localeService','collab-text-range-','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','getColorFromTheme','_pluginService','_scheduleHeartbeat','@univerjs/docs-ui','CollaborationUIEventId','releaseFormulaLimitUrl','NodePositionConvertToRectRange','kind','_updateSheetPreview','filter','DocStateChangeManagerService','alert','url(#$1','unload','HEADER_MENU','lineno','reconnect','transform','mask','object','BehaviorSubject','row','_transformService','_registerDependencies','transformByState','wsSessionTicketUrl','uni.network.url-service','_anchor','function','mutations','tooltipKey','onStarting','@univerjs/ui','getUnitStatus$','_collabCursorController','_updateLocalCursor','_getAnchorBounding','getOwnPropertyDescriptor','urlChange$','SnapshotLoadStage','loadOfflineData','getCurrentSkeleton','20uBlauI','strokeWidth','show','setActiveRange','_configService','_color','debug','selection','endColumn','UniverCollaborationClientUIPlugin','ranges','IURLService','_getSessionTicket','_scene','setInterval','_notificationService','asObservable','_setupSubUnitSync','collab-rect-range-','_cursorInfo$','deepClone','_config','\x20at\x20','_blockProgressWatches','isFormulaId','Optional','jsxs','onMouseMove','UniverSheetsUi','post','_interactionBlocked$','pushState','@univerjs-pro/collaboration','_blinkTimer','collaboration-client-ui.collaboration.single-unit.warning','transformMutation','_toggleOffline','_textBubble','top','_refreshCollabCursors','right','sheetId','_isApplyingOverlays','ErrorCode','collaboration-client-ui.session.connection-failed','UnitStatus','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','eventID','clsx','limitInfo','theme$','getParam','FormulaExecutedStateType','stack','_getSheetObject','removeParam','SetSelectionsOperation','min','Plugin','children','CollaborationController','collaboration-client-ui.collaboration.offline-data-not-saved','entries','currentColor','MoveRangeCommandId','forEach','filename','ILocalCacheService','useRef','SetWorksheetActivateCommand','collaboration-client-ui.config','lineTo','drawWith','SheetCollabCursorShape','offsetY','rgba(255,\x20255,\x20255,\x200.01)','_previewUnitId','startsWith','addEventListener','_shapes','startPluginsForType','status','_blinkIntervalTimer','_drawTextRange','@univerjs/sheets-ui','collaboration-client-ui.collabStatus.synced','activeSheet$','add','@univerjs-pro/slides-ui','CanceledError','button','getLocalCacheKey','red.300','totalBlocks','push','_entities','fromEvent','textRanges','unitId','assign','evenodd','CollaborationSocketService','snapshot-loading-interaction-guard','getSheetId','_cursors','setLineDash','saveTaskMap','pipe','combineLatest','debounceTime','getDocRanges','name','trim','RxDisposable','LOADING_SNAPSHOT','m1Prime','displayName','IImageIoService','ACTIVE_UNIT_EVENT_CHANNEL','[Unhandled\x20Rejection]:\x20','stroke','getUnitId','backgroundColor','UniverEngineRender','useObservable','fillRule','defs','VIEW_MAIN','CONFLICT','round',',\x200.2)','defineProperty','search','_name','_getScale','_docSkeletonManagerService','_scheduleSaving','registerRenderModule','removeObjects','_scheduleClearOtherTimer','subunit','ISnapshotServerService','SheetSkeletonManagerService','_init','_clearPolling','_setupBeforeClosingHandler','editingUnit','_getObjectBounds','_localCacheService','InsertColCommandId','univer-h-8\x20univer-w-8\x20univer-rounded-lg','clear','_hasFormulaInDirtyRanges','substring','prototype','[CollaborationDataLoaderController]','stringify','_hover','getUnit','pageManager','use','event$','slide-collab-cursor-','includes','ILocalStorageService','ICommandService','dispose$','forceDisable','off-line-icon_clip0_910_343','range','distinctUntilChanged','onPointerEnter$','roomMembers','ISheetLoadingRenderService','selectedIds','status$','subUnitId','max','closePath','_docTransformSelectionsService','DEFAULT_WS_SESSION_TICKET_URL','Vector2','call','_doCreateSocket','getColor','MessageType','...','univer-flex\x20univer-items-center\x20univer-justify-center','setAlpha','colorClass','icon','replaceState','_selfUnitIDs','_transformUndoRedoStack','_updateCollabCursors','then','1468toVmVH','UPDATE_CURSOR','344xDCurP','off-line-icon','href','subscribeEvent','_docTransformStateCacheService','yellow.400','findNodePositionByCharIndex','_injector','redoState','clearInterval','handleIRemoveCol','memberID','green.600','unshift','unsubscribe','onCommandExecuted','UniverProBoardsUi','Unknown\x20user','showText','UniverSheets','timeoutState$','DisposableCollection','init','setStateCache','_initDependencies','Shape','strokeStyle','scene','split','getMemberID','_send','small','debounce','handleInsertRow','resize','_sheetSkeletonManagerService','values','_drawAnchor','Loading','_collaborationController','getAncestorScale','univer-text-blue-500','M0\x200H16V16H0z','_urlService','complete','getSheetObject','join','InsertRangeMoveRightCommandId','key','_pointerMoveDisposable','0\x200\x2017\x2016','_cachedData','InsertRowCommandId','getRangePointData','font','_handleHover','storage','getViewport','getRenderById','_onCursorUpdate','column','_slideDrawingStateService','set','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-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','_initEvent','_saveCache','defIds','_labelPosition','LOCAL_CACHE_INTERVAL','getFormulaLimitStatusUrl','AWAITING_WITH_PENDING','bold\x2013px\x20Arial,\x20sans-serif','buildDrawingOKey','_clearTimeoutState','Failed','forwardRef','@univerjs-pro/collaboration-client','ONLINE','path','_collabSessionService','_offsetY','handleInsertRangeMoveRight','length','arc','getRealBound','_initStatusListener','univer-inline-flex\x20univer-items-center\x20univer-justify-center','BrowserCollaborationSocketService','remove','_initResize','primary','_id','fillText','EffectRefRangId','_memberID','Button','collaboration-client-ui.snapshotLoading.loadingSheet','_initUserListener','executionId','_currentUsage','next','WebBrowserSingleActiveUnitService','_render','univer-appearance-none','RegularPolygon','SOCKET_FAILED','cursorInfo','SnapshotLoadingService','getValue','isArray','_initCommandExecutedListener','board-element-selection','setConfig','makeDirty','decorate','_hidePreview','bottom','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handleLeaveEvent','with','_themeService','fillStyle','Subject','_getSheetLoadingRenderService','registerRefRange','DocSkeletonManagerService','LocaleService','Rectangle','_docSyncEditingCollabCursorService','_docClipboardService','\x20-\x20','fill','on-line-icon_clip0_910_349','slide-element-selection','_updateURLWithCurrentState','setTimeout','_pollingInterval','whenReady','RECT','showSkeleton','current','replaceDocRanges','setOffsetY','getCurrentSelections','SHEET_VIEWPORT_KEY','@univerjs/design','_labelHorizontalPosition','/universer-api/license/formula/limit/done','_eventUnsubscribe','_onCursorDelete','snapshot-loading-','createElement','state$','OTHER_CLIENT_EDITING','_uploadLog','_hovered','takeUntil','FETCH_MISS','_colorIndex','_watchBlockProgress','getUniverSheetInstance','_unitStatus','_boardElementStateService','Fragment','CollaborationSessionService','toISOString','transformSelections','getSnapshot','packageName','_lastPointer','runRefRangeMutations','START_CALCULATION','collaboration-client-ui.permission.content','symbol','handleInsertRangeMoveDown','sessionStatus$','runOnServer','LoadingMultiIcon','context','fromEventSubject','_messageIds','useMemo','isInternalEditorID','871032UmRXvM','_scheduleRender','_removeCollabCursors','runId','univerjs-icon\x20univerjs-icon-','DocCollaborationEntity','merge','_shortcutBlock','enableLocalCache','generateRandomId','left','snapshot-loading-timeout','enableDocumentCollaborationUI','type','getId','_applyCommand','NodePositionConvertToCursor','transformStateCache','_cursorShapes','FormulaExecuteStageType','_renderScheduled','evented','FromArray','_updateSubUnitFromURLParams','_setFormulaLimitStatus','cursorInfo$','collaboration-client-ui.permission.title','requireSession','backupOfflineData','rgba','UniverNetwork','univer-transition-all\x20univer-duration-200','dark:focus:!univer-ring-offset-gray-800','activeSheetId','timeoutId','Injector','static','getCoordByCell','27363ySzROT','_highlight','RemoveRowCommandId','_roomMembers$','UniverRpc','_range','_startCalculationLimit','GLOBAL','getObject','span','history','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','createSocket','CLOSE_ROOM','purple.300','Tools','addObject','stage','_showGuardMessage','getActiveSlide','_latestCursors','UNIVER_SLIDE','USERS_LEAVE','_renderManagerService','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','addObjects','DOC_RANGE_TYPE','handleMoveRange','setParam','_syncEditingCollabCursorService','isFormulaString','origin','newValue','previewCellData','_initCommandInterceptor','removeEventListener','collaboration-client-ui.snapshotLoading.timeout','setUndoRedoMutationParamsCache','_transformPreviousActiveRange','none','react/jsx-runtime','send','Inject','univer-m-0\x20univer-p-0','getBoardElementRenderObjectKey','getActivePageId','_beforeCloseService','moveTo','collaboration-client-ui.collabStatus.notCollab','svg','DesktopCollaborationStatusDisplayController','exhaustSavingTask','_handleJoinEvent','DocSelectionManagerService','UniverCollaborationClientPlugin','_docStateChangeManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TEXT','handoff','getActiveSheet','useDependency','_getSaveTimeout','addObject$','getStateCache','8337120riyZej','clipPath','1845150Xwplcp','activeSlideId$','_backgroundColor','getSheetBySheetId','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_draw','save','_assignedColors','UNIVER_DOC','ISocketService','source','getAllUnitsForType','1em','xlink:href','_monkeyPatchLogService','getTypeOfUnitAdded$','_instanceService','true','_initEntityListener','_releaseCalculationLimit','toString','_colorAssignService','labelHorizontalPosition','UniverDocsUi'];_0xbcae=function(){return _0x130738;};return _0xbcae();}
|