@univerjs-pro/collaboration-client-ui 0.10.8 → 0.10.9-experimental.20250925-61b61a0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x299571,_0x43600a){const _0x2a9f52=_0x4bb6,_0x2d5a4b=_0x299571();while(!![]){try{const _0x46638c=-parseInt(_0x2a9f52(0x217))/0x1*(-parseInt(_0x2a9f52(0x2fe))/0x2)+-parseInt(_0x2a9f52(0x428))/0x3*(-parseInt(_0x2a9f52(0x232))/0x4)+parseInt(_0x2a9f52(0x29d))/0x5*(-parseInt(_0x2a9f52(0x42e))/0x6)+-parseInt(_0x2a9f52(0x477))/0x7+parseInt(_0x2a9f52(0x451))/0x8*(-parseInt(_0x2a9f52(0x41f))/0x9)+-parseInt(_0x2a9f52(0x1fd))/0xa*(-parseInt(_0x2a9f52(0x267))/0xb)+parseInt(_0x2a9f52(0x353))/0xc;if(_0x46638c===_0x43600a)break;else _0x2d5a4b['push'](_0x2d5a4b['shift']());}catch(_0x2d054f){_0x2d5a4b['push'](_0x2d5a4b['shift']());}}}(_0x27fa,0xde9db),function(_0x2205c3,_0x53c76e){const _0x17b9fb=_0x4bb6;typeof exports==_0x17b9fb(0x396)&&typeof module<'u'?_0x53c76e(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x17b9fb(0x37e),'react/jsx-runtime',_0x17b9fb(0x3e8),_0x17b9fb(0x43e),_0x17b9fb(0x225),'rxjs',_0x17b9fb(0x2bc),_0x17b9fb(0x3d2),'@univerjs/rpc','@univerjs/sheets',_0x17b9fb(0x3c3),_0x17b9fb(0x298),_0x17b9fb(0x449),_0x17b9fb(0x242),'@univerjs-pro/collaboration',_0x17b9fb(0x324),'@univerjs/engine-formula','rxjs/operators',_0x17b9fb(0x466)],_0x53c76e):(_0x2205c3=typeof globalThis<'u'?globalThis:_0x2205c3||self,_0x53c76e(_0x2205c3[_0x17b9fb(0x376)]={},_0x2205c3['React'],_0x2205c3[_0x17b9fb(0x2da)],_0x2205c3['UniverCore'],_0x2205c3[_0x17b9fb(0x38d)],_0x2205c3[_0x17b9fb(0x228)],_0x2205c3[_0x17b9fb(0x303)],_0x2205c3[_0x17b9fb(0x2cc)],_0x2205c3[_0x17b9fb(0x1ee)],_0x2205c3[_0x17b9fb(0x42a)],_0x2205c3['UniverEngineRender'],_0x2205c3[_0x17b9fb(0x261)],_0x2205c3[_0x17b9fb(0x1e1)],_0x2205c3[_0x17b9fb(0x284)],_0x2205c3[_0x17b9fb(0x40c)],_0x2205c3[_0x17b9fb(0x384)],_0x2205c3[_0x17b9fb(0x302)],_0x2205c3[_0x17b9fb(0x228)]['operators'],_0x2205c3[_0x17b9fb(0x214)]));}(this,function(_0x11d7a5,_0x1af605,_0x1c12f2,_0x4921b5,_0x56a892,_0x66da6e,_0x20d8fb,_0x1796bf,_0x68b8d4,_0x3e73c9,_0x22d409,_0x1d4e08,_0x3fda77,_0x283592,_0x1a4d3b,_0x4bc80d,_0xeb64c6,_0x4449c2,_0x53da58){'use strict';const _0x449813=_0x4bb6;var _0x39a2cf=Object[_0x449813(0x388)],_0x347a53=(_0x27b99f,_0xce635c,_0x34a097)=>_0xce635c in _0x27b99f?_0x39a2cf(_0x27b99f,_0xce635c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a097}):_0x27b99f[_0xce635c]=_0x34a097,_0x8d7f57=(_0x1491e2,_0x11fd9a,_0x37e840)=>_0x347a53(_0x1491e2,typeof _0x11fd9a!=_0x449813(0x1d9)?_0x11fd9a+'':_0x11fd9a,_0x37e840),_0x5b7203=function(){const _0x57251e=_0x449813;return _0x5b7203=Object[_0x57251e(0x37d)]||function(_0x21a9e1){const _0x330122=_0x57251e;for(var _0x116c8c,_0x12d0c4=0x1,_0x3c8438=arguments[_0x330122(0x418)];_0x12d0c4<_0x3c8438;_0x12d0c4++){_0x116c8c=arguments[_0x12d0c4];for(var _0x21c681 in _0x116c8c)Object['prototype'][_0x330122(0x218)][_0x330122(0x38b)](_0x116c8c,_0x21c681)&&(_0x21a9e1[_0x21c681]=_0x116c8c[_0x21c681]);}return _0x21a9e1;},_0x5b7203[_0x57251e(0x22a)](this,arguments);},_0x398d2b=function(_0xea4d72,_0x15b001){const _0x2ba11a=_0x449813;var _0x42b988={};for(var _0x452580 in _0xea4d72)Object[_0x2ba11a(0x361)][_0x2ba11a(0x218)]['call'](_0xea4d72,_0x452580)&&_0x15b001['indexOf'](_0x452580)<0x0&&(_0x42b988[_0x452580]=_0xea4d72[_0x452580]);if(_0xea4d72!=null&&typeof Object['getOwnPropertySymbols']==_0x2ba11a(0x382)){for(var _0x4e47a6=0x0,_0x452580=Object[_0x2ba11a(0x24b)](_0xea4d72);_0x4e47a6<_0x452580['length'];_0x4e47a6++)_0x15b001[_0x2ba11a(0x385)](_0x452580[_0x4e47a6])<0x0&&Object[_0x2ba11a(0x361)]['propertyIsEnumerable']['call'](_0xea4d72,_0x452580[_0x4e47a6])&&(_0x42b988[_0x452580[_0x4e47a6]]=_0xea4d72[_0x452580[_0x4e47a6]]);}return _0x42b988;},_0x1c2af3=_0x1796bf['forwardRef'](function(_0x54ebf4,_0x279999){const _0x4f5bbe=_0x449813;var _0xe5b632=_0x54ebf4[_0x4f5bbe(0x3f2)],_0x26e746=_0x54ebf4['id'],_0x136aba=_0x54ebf4[_0x4f5bbe(0x1e7)],_0x4230e7=_0x54ebf4['extend'],_0x6c204e=_0x398d2b(_0x54ebf4,[_0x4f5bbe(0x3f2),'id',_0x4f5bbe(0x1e7),'extend']),_0x21f519=_0x4f5bbe(0x321)[_0x4f5bbe(0x455)](_0x26e746,'\x20')[_0x4f5bbe(0x455)](_0x136aba||'')[_0x4f5bbe(0x400)](),_0x3968f1=_0x1796bf[_0x4f5bbe(0x458)]('_'[_0x4f5bbe(0x455)](_0x45b6df()));return _0x48825c(_0xe5b632,''['concat'](_0x26e746),{'defIds':_0xe5b632[_0x4f5bbe(0x394)],'idSuffix':_0x3968f1[_0x4f5bbe(0x2d7)]},_0x5b7203({'ref':_0x279999,'className':_0x21f519},_0x6c204e),_0x4230e7);});function _0x48825c(_0x3f6861,_0x683885,_0x2ef3e8,_0x413a45,_0x541ab7){const _0x1e1cd6=_0x449813;return _0x1796bf[_0x1e1cd6(0x289)](_0x3f6861[_0x1e1cd6(0x213)],_0x5b7203(_0x5b7203({'key':_0x683885},_0x2704bc(_0x3f6861,_0x2ef3e8,_0x541ab7)),_0x413a45),(_0x38d47a(_0x3f6861,_0x2ef3e8)[_0x1e1cd6(0x3fe)]||[])[_0x1e1cd6(0x33d)](function(_0x56c619,_0x5c505f){const _0x1a15f3=_0x1e1cd6;return _0x48825c(_0x56c619,''[_0x1a15f3(0x455)](_0x683885,'-')[_0x1a15f3(0x455)](_0x3f6861['tag'],'-')[_0x1a15f3(0x455)](_0x5c505f),_0x2ef3e8,void 0x0,_0x541ab7);}));}function _0x2704bc(_0x447511,_0x47f495,_0xfd98bd){const _0x2e27b5=_0x449813;var _0x43c6b6=_0x5b7203({},_0x447511[_0x2e27b5(0x200)]);_0xfd98bd!=null&&_0xfd98bd[_0x2e27b5(0x309)]&&_0x43c6b6[_0x2e27b5(0x373)]===_0x2e27b5(0x309)&&(_0x43c6b6[_0x2e27b5(0x373)]=_0xfd98bd[_0x2e27b5(0x309)]),_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x22c)&&_0x43c6b6['id']&&(_0x43c6b6['id']=_0x43c6b6['id']+_0x47f495[_0x2e27b5(0x37c)]),Object['entries'](_0x43c6b6)['forEach'](function(_0x33b58f){const _0x485dfa=_0x2e27b5;var _0x44329b=_0x33b58f[0x0],_0x20a6ab=_0x33b58f[0x1];_0x44329b===_0x485dfa(0x22c)&&typeof _0x20a6ab=='string'&&(_0x43c6b6[_0x44329b]=_0x20a6ab[_0x485dfa(0x305)](/url\(#(.*)\)/,_0x485dfa(0x460)[_0x485dfa(0x455)](_0x47f495[_0x485dfa(0x37c)],')')));});var _0x907fdd=_0x47f495[_0x2e27b5(0x394)];return!_0x907fdd||_0x907fdd['length']===0x0||(_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x3cb)&&_0x43c6b6[_0x2e27b5(0x36e)]&&(_0x43c6b6['xlink:href']=_0x43c6b6[_0x2e27b5(0x36e)]+_0x47f495['idSuffix']),Object[_0x2e27b5(0x2d0)](_0x43c6b6)['forEach'](function(_0x350af7){const _0x46acaf=_0x2e27b5;var _0x20ff54=_0x350af7[0x0],_0x3efa1f=_0x350af7[0x1];typeof _0x3efa1f==_0x46acaf(0x415)&&(_0x43c6b6[_0x20ff54]=_0x3efa1f[_0x46acaf(0x305)](/url\(#(.*)\)/,_0x46acaf(0x460)[_0x46acaf(0x455)](_0x47f495[_0x46acaf(0x37c)],')')));})),_0x43c6b6;}function _0x38d47a(_0x5e7d33,_0x2e5d9f){const _0x1184a9=_0x449813;var _0x2715af,_0x5297c9=_0x2e5d9f[_0x1184a9(0x394)];return!_0x5297c9||_0x5297c9[_0x1184a9(0x418)]===0x0?_0x5e7d33:_0x5e7d33[_0x1184a9(0x213)]===_0x1184a9(0x411)&&(!((_0x2715af=_0x5e7d33[_0x1184a9(0x3fe)])===null||_0x2715af===void 0x0)&&_0x2715af['length'])?_0x5b7203(_0x5b7203({},_0x5e7d33),{'children':_0x5e7d33['children'][_0x1184a9(0x33d)](function(_0x43a3bb){const _0x2b62b0=_0x1184a9;return typeof _0x43a3bb[_0x2b62b0(0x200)]['id']==_0x2b62b0(0x415)&&_0x5297c9&&_0x5297c9['includes'](_0x43a3bb[_0x2b62b0(0x200)]['id'])?_0x5b7203(_0x5b7203({},_0x43a3bb),{'attrs':_0x5b7203(_0x5b7203({},_0x43a3bb['attrs']),{'id':_0x43a3bb[_0x2b62b0(0x200)]['id']+_0x2e5d9f[_0x2b62b0(0x37c)]})}):_0x43a3bb;})}):_0x5e7d33;}function _0x45b6df(){const _0x369d53=_0x449813;return Math[_0x369d53(0x37b)]()['toString'](0x24)[_0x369d53(0x222)](0x2,0x8);}_0x1c2af3[_0x449813(0x20a)]='UniverIcon';var _0x1219f7={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x3ec),'width':_0x449813(0x3b3),'height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x449813(0x467)},'children':[{'tag':_0x449813(0x354),'attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x36c),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':_0x449813(0x279),'attrs':{'id':_0x449813(0x3e9)},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x449813(0x3e9)]},_0x5bc710=_0x1796bf[_0x449813(0x2e8)](function(_0x40f66b,_0x1032ac){const _0x2481fb=_0x449813;return _0x1796bf[_0x2481fb(0x289)](_0x1c2af3,Object[_0x2481fb(0x37d)]({},_0x40f66b,{'id':_0x2481fb(0x3cf),'ref':_0x1032ac,'icon':_0x1219f7}));});_0x5bc710[_0x449813(0x20a)]=_0x449813(0x29e);var _0x274439={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x325),'width':'1em','height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x37f),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':_0x449813(0x43d),'transform':_0x449813(0x3a8)}}]}]}],'defIds':[_0x449813(0x457)]},_0x1630c9=_0x1796bf['forwardRef'](function(_0x1a789e,_0x8ac4c5){const _0x4be3af=_0x449813;return _0x1796bf[_0x4be3af(0x289)](_0x1c2af3,Object[_0x4be3af(0x37d)]({},_0x1a789e,{'id':_0x4be3af(0x34d),'ref':_0x8ac4c5,'icon':_0x274439}));});_0x1630c9[_0x449813(0x20a)]='OnLineIcon';function _0x3ee1b1(_0x3bcf4b){const _0x1f97bf=_0x449813;switch(_0x3bcf4b){case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x381)]:return _0x1f97bf(0x1e6);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x224)]:return _0x1f97bf(0x39b);case _0x1c12f2[_0x1f97bf(0x375)]['FETCH_MISS']:return _0x1f97bf(0x28a);case _0x1c12f2['CollaborationStatus']['NOT_COLLAB']:return _0x1f97bf(0x436);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x40b)]:case _0x1c12f2['CollaborationStatus'][_0x1f97bf(0x3ad)]:return _0x1f97bf(0x2c3);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x2ef)]:case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x270)]:return'collabStatus.synced';}}function _0x568b29(_0x12ba1e){const _0x312b5b=_0x449813,{status$:_0x57284d}=_0x12ba1e,_0x3ce4a2=_0x56a892[_0x312b5b(0x34b)](_0x57284d,_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x29a)]),_0x2ae499=_0x56a892[_0x312b5b(0x3ed)](_0x4921b5['LocaleService']),_0x22dc87=_0x56a892[_0x312b5b(0x3ed)](_0x1c12f2['CollaborationSessionService']),_0x11a37c=_0x3ce4a2!==_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x381)],_0x5abcfe=_0x2ae499['t'](_0x3ee1b1(_0x3ce4a2)),_0x33ec6b=_0x11a37c?_0x1af605[_0x312b5b(0x2d9)](_0x1630c9,{}):_0x1af605[_0x312b5b(0x2d9)](_0x5bc710,{}),_0x50e1f2=_0x1796bf[_0x312b5b(0x223)](()=>{const _0x4b4070=_0x312b5b;_0x11a37c||_0x22dc87[_0x4b4070(0x33c)]();},[_0x11a37c,_0x22dc87]);function _0x22f086(){const _0x271ca5=_0x312b5b;return _0x1af605[_0x271ca5(0x42c)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x1e9),'onClick':_0x50e1f2,'children':[_0x1af605['jsx'](_0x271ca5(0x3ea),{'className':_0x20d8fb[_0x271ca5(0x315)](_0x271ca5(0x448),{'univer-text-green-500':_0x11a37c,'univer-text-red-500':!_0x11a37c}),'children':_0x33ec6b}),_0x1af605[_0x271ca5(0x2d9)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x367),'children':_0x5abcfe})]});}return _0x11a37c?_0x22f086():_0x1af605[_0x312b5b(0x2d9)](_0x20d8fb['Tooltip'],{'title':_0x2ae499['t'](_0x312b5b(0x478)),'children':_0x22f086()});}var _0x4cada2=Object[_0x449813(0x29c)],_0xfb9c22=(_0x1edb4f,_0x1ae95d,_0x4303c3,_0x52e446)=>{const _0x58f7bf=_0x449813;for(var _0x5a944d=_0x52e446>0x1?void 0x0:_0x52e446?_0x4cada2(_0x1ae95d,_0x4303c3):_0x1ae95d,_0x4ddd97=_0x1edb4f[_0x58f7bf(0x418)]-0x1,_0xa5e197;_0x4ddd97>=0x0;_0x4ddd97--)(_0xa5e197=_0x1edb4f[_0x4ddd97])&&(_0x5a944d=_0xa5e197(_0x5a944d)||_0x5a944d);return _0x5a944d;},_0x4bc0ca=(_0x18922c,_0x1df124)=>(_0x35af67,_0x31d2a2)=>_0x1df124(_0x35af67,_0x31d2a2,_0x18922c);_0x11d7a5[_0x449813(0x2cb)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x2d3dc1,_0x53d74c,_0x508450,_0x4f167d){const _0x14e18d=_0x449813;super(),_0x8d7f57(this,'_status$',new _0x66da6e[(_0x14e18d(0x2ae))](_0x1c12f2[_0x14e18d(0x375)][_0x14e18d(0x29a)])),(this[_0x14e18d(0x3a6)]=_0x2d3dc1,this[_0x14e18d(0x27f)]=_0x53d74c,this[_0x14e18d(0x44b)]=_0x508450,this['_uiPartsService']=_0x4f167d,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x128165=_0x449813;this['disposeWithMe'](this['_univerInstanceService'][_0x128165(0x251)][_0x128165(0x35e)](_0x66da6e['switchMap'](()=>{const _0x2c6c66=_0x128165,_0x2a5654=this[_0x2c6c66(0x3a6)][_0x2c6c66(0x27c)]();return _0x2a5654?this[_0x2c6c66(0x44b)][_0x2c6c66(0x265)](_0x2a5654[_0x2c6c66(0x2c6)]()):_0x66da6e['of'](null);}),_0x66da6e[_0x128165(0x360)](_0x333c14=>_0x333c14?_0x333c14[_0x128165(0x280)]:_0x66da6e['of'](_0x1c12f2[_0x128165(0x375)][_0x128165(0x29a)])))['subscribe'](_0x357788=>{const _0x26c5bd=_0x128165;this[_0x26c5bd(0x215)][_0x26c5bd(0x2fd)](_0x357788);}));}[_0x449813(0x311)](){const _0x33d791=_0x449813;this[_0x33d791(0x25c)](this[_0x33d791(0x2f4)]['registerComponent'](_0x56a892[_0x33d791(0x1dc)]['HEADER_MENU'],()=>_0x56a892[_0x33d791(0x431)](_0x18a61d({'status$':this[_0x33d791(0x215)][_0x33d791(0x37a)]()}),this['_injector'])));}},_0x11d7a5[_0x449813(0x2cb)]=_0xfb9c22([_0x4bc0ca(0x0,_0x4921b5[_0x449813(0x42b)]),_0x4bc0ca(0x1,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x4bc0ca(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x4bc0ca(0x3,_0x56a892[_0x449813(0x2fc)])],_0x11d7a5['DesktopCollaborationStatusDisplayController']);function _0x18a61d(_0x18585c){const {status$:_0x7201b0}=_0x18585c;return function(){const _0x5c6772=_0x4bb6;return _0x1af605[_0x5c6772(0x2d9)](_0x568b29,{'status$':_0x7201b0});};}const _0x475a16=_0x4921b5[_0x449813(0x1e2)](_0x449813(0x2aa));var _0x38dd90=Object[_0x449813(0x29c)],_0x1c1016=(_0x261168,_0x7c8ff6,_0x1db5f8,_0x32ebcf)=>{const _0x223411=_0x449813;for(var _0x3c28b6=_0x32ebcf>0x1?void 0x0:_0x32ebcf?_0x38dd90(_0x7c8ff6,_0x1db5f8):_0x7c8ff6,_0x469481=_0x261168[_0x223411(0x418)]-0x1,_0x4f51ca;_0x469481>=0x0;_0x469481--)(_0x4f51ca=_0x261168[_0x469481])&&(_0x3c28b6=_0x4f51ca(_0x3c28b6)||_0x3c28b6);return _0x3c28b6;},_0x8ee33e=(_0xa70e4d,_0x12bce5)=>(_0x2f98f5,_0xcfc32e)=>_0x12bce5(_0x2f98f5,_0xcfc32e,_0xa70e4d);_0x11d7a5['CollaborationDataLoaderController']=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x4be8fd,_0x21ff03,_0x2bd289,_0x55d67b,_0x36ca73){const _0x38bb18=_0x449813;super(),this[_0x38bb18(0x3f9)]=_0x4be8fd,this[_0x38bb18(0x3f7)]=_0x21ff03,this['_commandService']=_0x2bd289,this[_0x38bb18(0x43f)]=_0x55d67b,_0x36ca73?_0x36ca73==null||_0x36ca73[_0x38bb18(0x30d)]()[_0x38bb18(0x3ef)](()=>this['_init']()):(this['_logService'][_0x38bb18(0x340)](_0x38bb18(0x357),_0x38bb18(0x3ce)),this[_0x38bb18(0x2c7)]());}async[_0x449813(0x2c7)](){const _0x436e00=_0x449813,_0x319fc1=this[_0x436e00(0x3f9)][_0x436e00(0x372)]('unit'),_0x356452=this[_0x436e00(0x3f9)]['getParam'](_0x436e00(0x426)),_0x3a985d=this[_0x436e00(0x3f9)][_0x436e00(0x372)](_0x436e00(0x233));if(!_0x319fc1||!_0x356452){this[_0x436e00(0x3f7)][_0x436e00(0x340)](_0x436e00(0x357),_0x436e00(0x45f));return;}const _0x142b67=await this[_0x436e00(0x43f)][_0x436e00(0x355)](_0x319fc1,Number(_0x356452),_0x3a985d);_0x142b67&&_0x142b67 instanceof _0x4921b5[_0x436e00(0x28f)]&&this['_setupSubUnitSync'](_0x142b67);}async[_0x449813(0x2ea)](_0x1e92bb){const _0x5eeb5b=_0x449813;await this[_0x5eeb5b(0x3ca)](_0x1e92bb),_0x1e92bb[_0x5eeb5b(0x227)][_0x5eeb5b(0x35e)](_0x66da6e[_0x5eeb5b(0x34f)](this[_0x5eeb5b(0x41d)]))[_0x5eeb5b(0x1fe)](_0x1caa7b=>{_0x1caa7b&&this['_updateURLWithCurrentState'](_0x1caa7b);}),this[_0x5eeb5b(0x3f9)]['urlChange$'][_0x5eeb5b(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x5eeb5b(0x1fe)](()=>this[_0x5eeb5b(0x3ca)](_0x1e92bb));}[_0x449813(0x24d)](_0x4a69f2,_0x2cfb92=!0x1){const _0x575573=_0x449813,_0x4958cc=this[_0x575573(0x3f9)]['getParam'](_0x575573(0x233));_0x4a69f2[_0x575573(0x45a)]()!==_0x4958cc&&this[_0x575573(0x3f9)][_0x575573(0x2c4)](_0x575573(0x233),_0x4a69f2['getSheetId'](),_0x2cfb92);}async[_0x449813(0x3ca)](_0x523ff5){const _0x33b9ce=_0x449813;var _0x34510e;const _0x3ea62c=this[_0x33b9ce(0x3f9)][_0x33b9ce(0x372)](_0x33b9ce(0x233));if(!_0x3ea62c||!_0x523ff5['getSheetBySheetId'](_0x3ea62c)){const _0x53373b=_0x523ff5[_0x33b9ce(0x29b)]()[0x0],_0x118bf1=_0x523ff5[_0x33b9ce(0x2bd)](_0x53373b);if(!_0x118bf1)return;this['_updateURLWithCurrentState'](_0x118bf1,!0x0),await this['_commandService']['executeCommand'](_0x3e73c9[_0x33b9ce(0x1e0)]['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x53373b});return;}((_0x34510e=_0x523ff5[_0x33b9ce(0x472)]())==null?void 0x0:_0x34510e[_0x33b9ce(0x45a)]())!==_0x3ea62c&&await this[_0x33b9ce(0x2a0)][_0x33b9ce(0x339)](_0x3e73c9['SetWorksheetActivateCommand']['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x3ea62c});}},_0x11d7a5['CollaborationDataLoaderController']=_0x1c1016([_0x8ee33e(0x0,_0x475a16),_0x8ee33e(0x1,_0x4921b5[_0x449813(0x2ee)]),_0x8ee33e(0x2,_0x4921b5['ICommandService']),_0x8ee33e(0x3,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x32c)])),_0x8ee33e(0x4,_0x4921b5[_0x449813(0x334)](_0x68b8d4[_0x449813(0x3d3)]))],_0x11d7a5[_0x449813(0x408)]);var _0x2c5a39=Object['getOwnPropertyDescriptor'],_0x1c1a77=(_0x6f9b11,_0x57723d,_0x4683b8,_0x430ef1)=>{const _0x20a1d7=_0x449813;for(var _0x1fc9fb=_0x430ef1>0x1?void 0x0:_0x430ef1?_0x2c5a39(_0x57723d,_0x4683b8):_0x57723d,_0x44020a=_0x6f9b11[_0x20a1d7(0x418)]-0x1,_0x961f5d;_0x44020a>=0x0;_0x44020a--)(_0x961f5d=_0x6f9b11[_0x44020a])&&(_0x1fc9fb=_0x961f5d(_0x1fc9fb)||_0x1fc9fb);return _0x1fc9fb;},_0x10db21=(_0x268ae3,_0x4f0a4f)=>(_0x36d0a1,_0x17a016)=>_0x4f0a4f(_0x36d0a1,_0x17a016,_0x268ae3);let _0x310481=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1ceac7,_0x3164c8){const _0x1e09cf=_0x449813;super(),this[_0x1e09cf(0x3a7)]=_0x1ceac7,this['_imageIoService']=_0x3164c8,this['_init']();}[_0x449813(0x2c7)](){const _0x940175=_0x449813,_0x5396e4=this;this[_0x940175(0x25c)](this[_0x940175(0x3a7)][_0x940175(0x3f6)]({'onBeforePasteImage':async _0x67ee71=>{const _0x237191=_0x940175,_0xe29bbd=await _0x5396e4[_0x237191(0x2d2)]['saveImage'](_0x67ee71);return _0xe29bbd?{'source':_0xe29bbd[_0x237191(0x405)],'imageSourceType':_0xe29bbd[_0x237191(0x247)]}:null;}}));}};_0x310481=_0x1c1a77([_0x10db21(0x0,_0x3fda77[_0x449813(0x1ff)]),_0x10db21(0x1,_0x283592[_0x449813(0x2a4)])],_0x310481);const _0x50a733=[_0x449813(0x2b8),_0x449813(0x26b),_0x449813(0x3c9),_0x449813(0x2f7),_0x449813(0x469),_0x449813(0x31a)];class _0xac4cbd extends _0x4921b5[_0x449813(0x292)]{constructor(){super(...arguments),_0x8d7f57(this,'_assignedColors',new Map()),_0x8d7f57(this,'_colorIndex',0x0);}[_0x449813(0x20f)](_0x15e41f){const _0x5dd173=_0x449813;if(this[_0x5dd173(0x377)][_0x5dd173(0x3fc)](_0x15e41f))return this['_assignedColors'][_0x5dd173(0x2dd)](_0x15e41f);const _0x4bb058=_0x50a733[this['_colorIndex']];return this[_0x5dd173(0x359)]=(this['_colorIndex']+0x1)%_0x50a733['length'],this[_0x5dd173(0x377)][_0x5dd173(0x2a1)](_0x15e41f,_0x4bb058),_0x4bb058;}}function _0x53aab5(_0x26fe39){let _0x25b8ae='';for(const _0x120d72 of _0x26fe39){const {startOffset:_0x2c7e78,endOffset:_0x492cbb,isActive:_0x1ac34c,rangeType:_0x1d40c8,segmentId:_0x2c7135,segmentPage:_0x42e080}=_0x120d72;_0x25b8ae['length']&&(_0x25b8ae+=','),_0x25b8ae+=_0x2c7e78+':'+_0x492cbb+':'+(_0x1ac34c?'1':'0')+':'+_0x1d40c8+':'+_0x2c7135+':'+_0x42e080;}return _0x25b8ae;}function _0x1290dc(_0x472f3d){const _0x4f7843=_0x449813,_0x1bd8ec=_0x472f3d[_0x4f7843(0x40a)](','),_0x311639=[];for(const _0x3e5a2c of _0x1bd8ec){const [_0x41e23e,_0x281cd5,_0x1d3913,_0xfff416,_0x7260f0,_0x1d1239]=_0x3e5a2c[_0x4f7843(0x40a)](':');_0x311639[_0x4f7843(0x2a3)]({'startOffset':Number(_0x41e23e),'endOffset':Number(_0x281cd5),'collapsed':_0x41e23e===_0x281cd5,'isActive':_0x1d3913==='1','rangeType':_0xfff416===_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]?_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]:_0x4921b5['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x7260f0==_0x4f7843(0x415)?String(_0x7260f0):'','segmentPage':Number(_0x1d1239!=null?_0x1d1239:-0x1)});}return _0x311639[_0x4f7843(0x2de)](_0x4a384f=>_0x4a384f[_0x4f7843(0x3a1)])||(_0x311639[0x0][_0x4f7843(0x3a1)]=!0x0),_0x311639;}class _0x2162e3 extends _0x4921b5['RxDisposable']{constructor(){const _0x20a0dd=_0x449813;super(...arguments),_0x8d7f57(this,'_collabCursorState$',new _0x66da6e[(_0x20a0dd(0x2ae))](null)),_0x8d7f57(this,'collabCursorState$',this[_0x20a0dd(0x440)]['asObservable']());}[_0x449813(0x2d3)](_0xc4848f){const _0x40b507=_0x449813,{unitID:_0x4a75da,memberID:_0x5572a4,textRanges:_0xced0b3}=_0xc4848f,_0xf1133e=_0x53aab5(_0xced0b3);if(_0xf1133e==='')return;const _0x2d7e31={'unitID':_0x4a75da,'memberID':_0x5572a4,'selection':_0xf1133e};this[_0x40b507(0x440)][_0x40b507(0x2fd)](_0x2d7e31);}}var _0x42f979=Object[_0x449813(0x29c)],_0x1098b2=(_0x2ed694,_0x1a7275,_0x46be4a,_0x5ad13c)=>{const _0x559053=_0x449813;for(var _0x44fbb6=_0x5ad13c>0x1?void 0x0:_0x5ad13c?_0x42f979(_0x1a7275,_0x46be4a):_0x1a7275,_0x329d39=_0x2ed694[_0x559053(0x418)]-0x1,_0x181d25;_0x329d39>=0x0;_0x329d39--)(_0x181d25=_0x2ed694[_0x329d39])&&(_0x44fbb6=_0x181d25(_0x44fbb6)||_0x44fbb6);return _0x44fbb6;},_0x4bcdfe=(_0x5d7e47,_0x4b92ca)=>(_0x122e29,_0x3c4a52)=>_0x4b92ca(_0x122e29,_0x3c4a52,_0x5d7e47);const _0x3ce0a5=0x12c,_0xca366=0x64;let _0x38bb7b=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1045e5,_0x2ec792,_0x2862a7,_0x34fbd3,_0x7fdba2,_0x3abf2b,_0x202d42,_0x5a5f33,_0x3ba9cc){const _0x3e3e83=_0x449813;super(),_0x8d7f57(this,_0x3e3e83(0x253),!0x1),_0x8d7f57(this,'_init',!0x1),_0x8d7f57(this,_0x3e3e83(0x343),new _0x66da6e[(_0x3e3e83(0x2ae))](new Map())),_0x8d7f57(this,_0x3e3e83(0x28d),this['_cursorInfo$']['asObservable']()),_0x8d7f57(this,'_roomMembers$',new _0x66da6e[(_0x3e3e83(0x2ae))]([])),_0x8d7f57(this,_0x3e3e83(0x370),this[_0x3e3e83(0x406)][_0x3e3e83(0x35e)](_0x66da6e[_0x3e3e83(0x44a)](_0x3ce0a5))),_0x8d7f57(this,_0x3e3e83(0x2f6),_0x4921b5[_0x3e3e83(0x3ac)](_0x514d6f=>{const _0x242e96=_0x3e3e83,_0x5b75e2={'eventID':_0x1a4d3b['CollaborationEvent'][_0x242e96(0x46d)],'data':{'unitID':this[_0x242e96(0x2b3)],'memberID':this[_0x242e96(0x312)][_0x242e96(0x1ec)](),'selection':_0x53aab5(_0x514d6f)}};this['_session'][_0x242e96(0x3d4)](_0x5b75e2,this[_0x242e96(0x2b3)]);},_0xca366)),(this[_0x3e3e83(0x2b3)]=_0x1045e5,this['_session']=_0x2ec792,this[_0x3e3e83(0x27f)]=_0x2862a7,this['_colorAssignService']=_0x34fbd3,this['_memberService']=_0x7fdba2,this[_0x3e3e83(0x335)]=_0x3abf2b,this[_0x3e3e83(0x216)]=_0x202d42,this[_0x3e3e83(0x3a6)]=_0x5a5f33,this[_0x3e3e83(0x2a0)]=_0x3ba9cc);}get['cursorInfo'](){const _0x1d4307=_0x449813;return this[_0x1d4307(0x343)]['getValue']();}get[_0x449813(0x21b)](){const _0x2989eb=_0x449813;return this[_0x2989eb(0x406)][_0x2989eb(0x2b4)]();}[_0x449813(0x2ec)](){const _0x3e53c3=_0x449813;super[_0x3e53c3(0x2ec)](),this['_cursorInfo$'][_0x3e53c3(0x2fd)](new Map()),this[_0x3e53c3(0x343)][_0x3e53c3(0x473)](),this[_0x3e53c3(0x406)][_0x3e53c3(0x2fd)]([]),this[_0x3e53c3(0x406)][_0x3e53c3(0x473)]();}[_0x449813(0x237)](){const _0xa784bf=_0x449813;this['_init']||(this[_0xa784bf(0x2c7)]=!0x0,this[_0xa784bf(0x312)][_0xa784bf(0x389)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x23ad70=>{const _0x2e1bd9=_0xa784bf;_0x23ad70===_0x1c12f2['SessionStatus']['ONLINE']?this[_0x2e1bd9(0x36b)]():this[_0x2e1bd9(0x1fa)]();}),this[_0xa784bf(0x312)]['event$'][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this['dispose$']))[_0xa784bf(0x1fe)](_0x70b30b=>{const _0x5942e2=_0xa784bf,_0x4b011d=_0x70b30b[_0x5942e2(0x3dc)];_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x46d)]&&this[_0x5942e2(0x277)](_0x70b30b),_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x32d)]&&this[_0x5942e2(0x257)](_0x70b30b);}),this[_0xa784bf(0x25c)](this['_commandService']['onCommandExecuted'](_0x453d39=>{const _0x38b8dd=_0xa784bf,_0x407d6a=_0x453d39[_0x38b8dd(0x268)];_0x407d6a!=null&&this[_0x38b8dd(0x253)]&&_0x453d39['id']===_0x4bc80d[_0x38b8dd(0x2d4)]['id']&&_0x407d6a[_0x38b8dd(0x2a2)]===this[_0x38b8dd(0x2b3)]&&_0x407d6a[_0x38b8dd(0x274)]===!0x1&&_0x407d6a['ranges']['length']>0x0&&this[_0x38b8dd(0x2f6)](_0x407d6a[_0x38b8dd(0x3b1)]);})),this[_0xa784bf(0x335)][_0xa784bf(0x276)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x81590f=>{const _0x4d1070=_0xa784bf;if((_0x81590f==null?void 0x0:_0x81590f[_0x4d1070(0x2b3)])!==this[_0x4d1070(0x2b3)])return;const _0x54ca4b={'eventID':_0x1a4d3b[_0x4d1070(0x3b7)]['UPDATE_CURSOR'],'data':_0x81590f};this[_0x4d1070(0x277)](_0x54ca4b);}),this[_0xa784bf(0x25c)](this[_0xa784bf(0x2a0)][_0xa784bf(0x46c)](_0x11c75c=>{const _0x65fc8c=_0xa784bf;if(_0x11c75c['params']==null)return;const _0x11a8a0=_0x11c75c['params'];if(_0x11c75c['id']!==_0x4bc80d[_0x65fc8c(0x338)]['id']||_0x11a8a0[_0x65fc8c(0x2a2)]!==this[_0x65fc8c(0x2b3)])return;const _0x4e48cd={'id':_0x65fc8c(0x439),'params':_0x11a8a0},_0x2f5bc8=this[_0x65fc8c(0x220)];for(const [_0x2a7712,_0x2c8d4f]of _0x2f5bc8){const _0x14b015={'id':_0x65fc8c(0x439),'params':{'unitId':this[_0x65fc8c(0x2b3)],'actions':null,'textRanges':_0x2c8d4f[_0x65fc8c(0x3b1)]}},_0x38fcd2=this['_transformService'][_0x65fc8c(0x454)](_0x4e48cd,_0x14b015,!0x1);if(_0x1a4d3b[_0x65fc8c(0x41a)](_0x38fcd2))throw _0x38fcd2['error'];_0x2f5bc8[_0x65fc8c(0x2a1)](_0x2a7712,{..._0x2c8d4f,'ranges':_0x38fcd2[_0x65fc8c(0x24f)][_0x65fc8c(0x268)]['textRanges']});}queueMicrotask(()=>{const _0x2eb3d7=_0x65fc8c;this['_cursorInfo$'][_0x2eb3d7(0x2fd)](_0x2f5bc8);});})));}[_0x449813(0x277)](_0x2160ba){const _0x3a957d=_0x449813;var _0x289a7c,_0x1cd2bc;const {memberID:_0x5f4f8b,selection:_0x3a49e8}=_0x2160ba[_0x3a957d(0x1e8)],_0x38a628=_0x1290dc(_0x3a49e8),_0x4d09d8=(_0x1cd2bc=(_0x289a7c=this['_memberService'][_0x3a957d(0x20d)](this[_0x3a957d(0x2b3)],_0x5f4f8b))==null?void 0x0:_0x289a7c[_0x3a957d(0x31e)])!=null?_0x1cd2bc:_0x3a957d(0x40d),_0x27944f={'color':this['_colorAssignService'][_0x3a957d(0x20f)](_0x5f4f8b),'name':_0x4d09d8,'ranges':_0x38a628},_0x2f18e3=this[_0x3a957d(0x220)];_0x2f18e3[_0x3a957d(0x2a1)](_0x5f4f8b,_0x27944f),this[_0x3a957d(0x343)][_0x3a957d(0x2fd)](_0x2f18e3);}['_onCursorDelete'](_0x41185f){const _0x48312c=_0x449813,{memberID:_0x55a6ae}=_0x41185f[_0x48312c(0x1e8)],_0x48156a=this['cursorInfo'];_0x48156a[_0x48312c(0x474)](_0x55a6ae),this['_cursorInfo$'][_0x48312c(0x2fd)](_0x48156a);}[_0x449813(0x36b)](){const _0x13f77f=_0x449813;var _0x506ce1;if(this[_0x13f77f(0x253)]=!0x0,((_0x506ce1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x506ce1[_0x13f77f(0x2c6)]())!==this[_0x13f77f(0x2b3)])return;const _0x529286=this[_0x13f77f(0x27f)][_0x13f77f(0x2dd)](_0x4bc80d[_0x13f77f(0x290)])[_0x13f77f(0x3bd)]();Array['isArray'](_0x529286)&&_0x529286[_0x13f77f(0x418)]>0x0&&this[_0x13f77f(0x2f6)](_0x529286);}[_0x449813(0x1fa)](){const _0x30b083=_0x449813;this[_0x30b083(0x253)]=!0x1;}};_0x38bb7b=_0x1098b2([_0x4bcdfe(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x4bcdfe(0x3,_0x4921b5['Inject'](_0xac4cbd)),_0x4bcdfe(0x4,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x366)])),_0x4bcdfe(0x5,_0x4921b5[_0x449813(0x41c)](_0x2162e3)),_0x4bcdfe(0x6,_0x1a4d3b['ITransformService']),_0x4bcdfe(0x7,_0x4921b5[_0x449813(0x42b)]),_0x4bcdfe(0x8,_0x4921b5['ICommandService'])],_0x38bb7b);var _0x25468f=Object[_0x449813(0x29c)],_0x51e84b=(_0x59a62a,_0x44edfb,_0x27557b,_0x2b2240)=>{const _0x3d829f=_0x449813;for(var _0x4a3279=_0x2b2240>0x1?void 0x0:_0x2b2240?_0x25468f(_0x44edfb,_0x27557b):_0x44edfb,_0xc8a9f5=_0x59a62a[_0x3d829f(0x418)]-0x1,_0x59084e;_0xc8a9f5>=0x0;_0xc8a9f5--)(_0x59084e=_0x59a62a[_0xc8a9f5])&&(_0x4a3279=_0x59084e(_0x4a3279)||_0x4a3279);return _0x4a3279;},_0x4c6752=(_0x38dfea,_0x290dd2)=>(_0x1d6c5a,_0x125e15)=>_0x290dd2(_0x1d6c5a,_0x125e15,_0x38dfea);const _0x4c331f=0x12c,_0x3331d0=0x64,_0x56a219=()=>{let _0xc705ba=[],_0xa51fe3=!0x1;return _0xbf986f=>{_0xc705ba['push'](_0xbf986f),_0xa51fe3||(_0xa51fe3=!0x0,setTimeout(()=>{const _0xd238d0=_0x4bb6;_0xc705ba[_0xd238d0(0x28b)](_0x1b13c3=>_0x1b13c3()),_0xc705ba=[],_0xa51fe3=!0x1;}));};};let _0x126db2=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x43a96b,_0x4e82b1,_0x2f76c7,_0x4c7c06,_0x55de63,_0xa2eec7,_0x5874c0,_0x4f5341){const _0x45282d=_0x449813;super(),_0x8d7f57(this,'_online',!0x1),_0x8d7f57(this,_0x45282d(0x2c7),!0x1),_0x8d7f57(this,_0x45282d(0x343),new _0x66da6e[(_0x45282d(0x2ae))](new Map())),_0x8d7f57(this,_0x45282d(0x28d),this[_0x45282d(0x343)]['asObservable']()),_0x8d7f57(this,_0x45282d(0x406),new _0x66da6e[(_0x45282d(0x2ae))]([])),_0x8d7f57(this,'roomMembers$',this[_0x45282d(0x406)]['pipe'](_0x66da6e[_0x45282d(0x44a)](_0x4c331f))),_0x8d7f57(this,_0x45282d(0x2f6),_0x4921b5[_0x45282d(0x3ac)]((_0xbc30c,_0x204d75)=>{const _0x5bb8f2=_0x45282d,_0x6c0197={'eventID':_0x1a4d3b['CollaborationEvent'][_0x5bb8f2(0x46d)],'data':{'unitID':this[_0x5bb8f2(0x2b3)],'memberID':this[_0x5bb8f2(0x312)][_0x5bb8f2(0x1ec)](),'selection':_0xeb64c6[_0x5bb8f2(0x479)](_0xbc30c,_0x204d75[_0x5bb8f2(0x320)])}};this['_session'][_0x5bb8f2(0x3d4)](_0x6c0197,this[_0x5bb8f2(0x2b3)]);},_0x3331d0)),(this[_0x45282d(0x2b3)]=_0x43a96b,this['_session']=_0x4e82b1,this[_0x45282d(0x27f)]=_0x2f76c7,this[_0x45282d(0x3dd)]=_0x4c7c06,this[_0x45282d(0x293)]=_0x55de63,this['_univerInstanceService']=_0xa2eec7,this[_0x45282d(0x2a0)]=_0x5874c0,this[_0x45282d(0x29f)]=_0x4f5341);}get[_0x449813(0x220)](){const _0x447a60=_0x449813;return this[_0x447a60(0x343)][_0x447a60(0x2b4)]();}get[_0x449813(0x21b)](){const _0x2b17d3=_0x449813;return this[_0x2b17d3(0x406)][_0x2b17d3(0x2b4)]();}[_0x449813(0x2ec)](){const _0x29df29=_0x449813;super[_0x29df29(0x2ec)](),this[_0x29df29(0x343)][_0x29df29(0x2fd)](new Map()),this[_0x29df29(0x343)][_0x29df29(0x473)](),this['_roomMembers$']['next']([]),this[_0x29df29(0x406)][_0x29df29(0x473)]();}[_0x449813(0x237)](){const _0x27b775=_0x449813;this['_init']||(this[_0x27b775(0x2c7)]=!0x0,this[_0x27b775(0x312)][_0x27b775(0x389)][_0x27b775(0x35e)](_0x66da6e[_0x27b775(0x34f)](this['dispose$']))[_0x27b775(0x1fe)](_0x29d651=>{const _0x441184=_0x27b775;_0x29d651===_0x1c12f2[_0x441184(0x3f0)][_0x441184(0x28c)]?this[_0x441184(0x36b)]():this[_0x441184(0x1fa)]();}),this['_session'][_0x27b775(0x34c)][_0x27b775(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x27b775(0x1fe)](_0x29f28e=>{const _0xc701b9=_0x27b775,_0x5b5144=_0x29f28e[_0xc701b9(0x3dc)];_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x46d)]&&this['_onCursorUpdate'](_0x29f28e),_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x32d)]&&this[_0xc701b9(0x257)](_0x29f28e);}),this[_0x27b775(0x3b8)](),this[_0x27b775(0x25c)](this[_0x27b775(0x2a0)][_0x27b775(0x46c)](_0x144c27=>{const _0x5dd28f=_0x27b775;if(this[_0x5dd28f(0x253)]&&_0x144c27['id']===_0x3e73c9['SetSelectionsOperation']['id']&&_0x144c27[_0x5dd28f(0x268)][_0x5dd28f(0x2a2)]===this['unitID']){const _0x49baf9=_0x144c27[_0x5dd28f(0x268)];this[_0x5dd28f(0x2f6)](_0x49baf9[_0x5dd28f(0x319)],_0x49baf9[_0x5dd28f(0x438)][0x0]);}})));}['_onCursorUpdate'](_0x4541bc){const _0x1443b5=_0x449813;var _0x26f1cf,_0x505932;const {memberID:_0x466040,selection:_0x1b2881}=_0x4541bc['data'],{sheetName:_0x531625,range:_0x2c00cc}=_0xeb64c6[_0x1443b5(0x3ab)](_0x1b2881),_0x306e1f={'name':(_0x505932=(_0x26f1cf=this['_memberService'][_0x1443b5(0x20d)](this[_0x1443b5(0x2b3)],_0x466040))==null?void 0x0:_0x26f1cf['name'])!=null?_0x505932:_0x1443b5(0x40d),'range':this[_0x1443b5(0x341)](_0x531625,_0x2c00cc),'sheetID':_0x531625,'color':this['_colorAssignService'][_0x1443b5(0x20f)](_0x466040),'selection':_0x1b2881},_0x4fd589=this[_0x1443b5(0x220)];_0x4fd589[_0x1443b5(0x2a1)](_0x466040,_0x306e1f),this[_0x1443b5(0x343)][_0x1443b5(0x2fd)](_0x4fd589);}[_0x449813(0x257)](_0xfaf0db){const _0x16ce57=_0x449813,{memberID:_0x52dc47}=_0xfaf0db[_0x16ce57(0x1e8)],_0x4443e2=this[_0x16ce57(0x220)];_0x4443e2[_0x16ce57(0x474)](_0x52dc47),this[_0x16ce57(0x343)][_0x16ce57(0x2fd)](_0x4443e2);}['_getMergeRange'](_0x2810d4,_0x8498a7){const _0x3392da=_0x449813;var _0x15fadd,_0x10e921;const _0x1a5754=(_0x10e921=(_0x15fadd=this[_0x3392da(0x3a6)][_0x3392da(0x2dc)](this[_0x3392da(0x2b3)]))==null?void 0x0:_0x15fadd[_0x3392da(0x2bd)](_0x2810d4))==null?void 0x0:_0x10e921[_0x3392da(0x368)]();return(_0x1a5754==null?void 0x0:_0x1a5754[_0x3392da(0x33f)](_0x32aac5=>_0x4921b5['Rectangle'][_0x3392da(0x42f)](_0x32aac5,_0x8498a7)))||_0x8498a7;}[_0x449813(0x3b8)](){const _0xd0af11=_0x449813,_0x55ecbb=new _0x4921b5['DisposableCollection'](),_0x380cd0=_0x56a219(),_0x47d6c2=()=>{const _0x18213d=_0x4bb6;_0x55ecbb[_0x18213d(0x2ec)]();const _0x10d831=(_0x3ed78d,_0x2534ea,_0x48e6e0,_0x29ae7c)=>{const _0x5c3b90=_0x18213d;let _0x4f88dd=[];switch(_0x3ed78d['id']){case _0x3e73c9[_0x5c3b90(0x386)]['DeleteRangeMoveLeftCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveLeft'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveUp'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x374)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x301)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x383)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3fa)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2bb)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x403)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2d6)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x295)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3ff)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3cd)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['RemoveColCommandId']:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x412)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3cc)]:{_0x4f88dd=_0x3e73c9['handleIRemoveRow'](_0x3ed78d,_0x29ae7c);break;}}const _0x5e8cb5=_0x3e73c9['runRefRangeMutations'](_0x4f88dd,_0x29ae7c),_0x48a605=this[_0x5c3b90(0x220)]['get'](_0x2534ea);if(_0x48a605&&_0x5e8cb5){const _0x5cb945={..._0x48a605,'range':_0x5e8cb5};this['cursorInfo']['set'](_0x2534ea,_0x5cb945),_0x380cd0(()=>{const _0x966162=_0x5c3b90,_0x136af1=this[_0x966162(0x29f)]['registerRefRange'](_0x5e8cb5,_0x410a8f=>(_0x136af1[_0x966162(0x2ec)](),_0x10d831(_0x410a8f,_0x2534ea,_0x48e6e0,_0x5e8cb5)));_0x55ecbb[_0x966162(0x44f)](_0x136af1);});}return{'redos':[],'undos':[]};};this[_0x18213d(0x220)][_0x18213d(0x28b)]((_0x5dc2db,_0x403910)=>{const _0x583c86=_0x18213d,{range:_0x3b0a8e,sheetID:_0x1d6db8}=_0x5dc2db,_0x27d25c=this['_refRangeService'][_0x583c86(0x3e1)](_0x3b0a8e,_0x4d92f3=>(_0x27d25c[_0x583c86(0x2ec)](),_0x10d831(_0x4d92f3,_0x403910,_0x1d6db8,_0x3b0a8e)));_0x55ecbb[_0x583c86(0x44f)](_0x27d25c);});};this[_0xd0af11(0x25c)](_0x4921b5[_0xd0af11(0x2ad)](this[_0xd0af11(0x343)][_0xd0af11(0x1fe)](()=>{_0x47d6c2();})));}[_0x449813(0x36b)](){const _0x483821=_0x449813;var _0x3e5eb8,_0x35c1ae;if(this[_0x483821(0x253)]=!0x0,((_0x3e5eb8=this[_0x483821(0x3a6)][_0x483821(0x27c)]())==null?void 0x0:_0x3e5eb8[_0x483821(0x2c6)]())!==this[_0x483821(0x2b3)])return;const _0x45d7c2=(_0x35c1ae=this[_0x483821(0x27f)]['get'](_0x3e73c9[_0x483821(0x409)])[_0x483821(0x231)]())==null?void 0x0:_0x35c1ae[0x0],_0x33427f=this['_univerInstanceService'][_0x483821(0x3b9)](_0x4921b5[_0x483821(0x351)]['UNIVER_SHEET'])[_0x483821(0x472)]();_0x45d7c2&&_0x33427f&&this[_0x483821(0x2f6)](_0x33427f['getSheetId'](),_0x45d7c2);}[_0x449813(0x1fa)](){const _0x56d7dc=_0x449813;this[_0x56d7dc(0x253)]=!0x1;}};_0x126db2=_0x51e84b([_0x4c6752(0x2,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x4c6752(0x3,_0x4921b5[_0x449813(0x41c)](_0xac4cbd)),_0x4c6752(0x4,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x366)])),_0x4c6752(0x5,_0x4921b5[_0x449813(0x42b)]),_0x4c6752(0x6,_0x4921b5['ICommandService']),_0x4c6752(0x7,_0x4921b5[_0x449813(0x41c)](_0x3e73c9[_0x449813(0x250)]))],_0x126db2);var _0x522d5b=Object[_0x449813(0x29c)],_0x36b9fe=(_0xd2c20d,_0x40578e,_0xab4235,_0x992813)=>{const _0x283c71=_0x449813;for(var _0x18fd8e=_0x992813>0x1?void 0x0:_0x992813?_0x522d5b(_0x40578e,_0xab4235):_0x40578e,_0xe8e474=_0xd2c20d[_0x283c71(0x418)]-0x1,_0x5e4e79;_0xe8e474>=0x0;_0xe8e474--)(_0x5e4e79=_0xd2c20d[_0xe8e474])&&(_0x18fd8e=_0x5e4e79(_0x18fd8e)||_0x18fd8e);return _0x18fd8e;},_0x5e1d9c=(_0x2ce03e,_0x36b705)=>(_0x4fb23c,_0x2063e6)=>_0x36b705(_0x4fb23c,_0x2063e6,_0x2ce03e);let _0x3d739c=class extends _0x4921b5['RxDisposable']{constructor(_0x21bd91,_0x2674ec,_0x27c9c1){const _0x32f42d=_0x449813;super(),_0x8d7f57(this,_0x32f42d(0x306),new Map()),_0x8d7f57(this,_0x32f42d(0x202),new _0x66da6e[(_0x32f42d(0x3b5))]()),(this['_univerInstanceService']=_0x21bd91,this['_injector']=_0x2674ec,this[_0x32f42d(0x2c8)]=_0x27c9c1,this[_0x32f42d(0x2c7)]());}[_0x449813(0x2ec)](){const _0x2f9f7e=_0x449813;super[_0x2f9f7e(0x2ec)](),this[_0x2f9f7e(0x202)][_0x2f9f7e(0x473)](),this[_0x2f9f7e(0x306)][_0x2f9f7e(0x28b)](_0xf7c629=>_0xf7c629[_0x2f9f7e(0x2ec)]());}['getCollabCursors$'](_0x4283b9){const _0x13304c=_0x449813;return this[_0x13304c(0x306)]['has'](_0x4283b9)?this[_0x13304c(0x306)][_0x13304c(0x2dd)](_0x4283b9)[_0x13304c(0x28d)]:this[_0x13304c(0x202)][_0x13304c(0x35e)](_0x66da6e[_0x13304c(0x401)](_0x13acdb=>_0x13acdb['unitID']===_0x4283b9),_0x66da6e[_0x13304c(0x360)](_0x3587b1=>_0x3587b1['cursorInfo$']));}[_0x449813(0x2c7)](){const _0x1c5601=_0x449813;this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x262)])[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['subscribe'](async _0x18a289=>{const _0x4237f2=_0x1c5601,_0x45b35a=_0x18a289[_0x4237f2(0x2c6)](),_0x4ba3ea=await this[_0x4237f2(0x32a)](_0x45b35a);this[_0x4237f2(0x202)][_0x4237f2(0x2fd)](_0x4ba3ea),this[_0x4237f2(0x306)][_0x4237f2(0x2a1)](_0x45b35a,_0x4ba3ea);}),this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)]['UNIVER_DOC'])['pipe'](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['pipe'](_0x66da6e['filter'](_0x5c265f=>!_0x5c265f[_0x1c5601(0x2c6)]()['startsWith']('__')))[_0x1c5601(0x1fe)](async _0x4d9ed0=>{const _0x51822d=_0x1c5601,_0x5993cb=_0x4d9ed0['getUnitId'](),_0x4b1e67=await this[_0x51822d(0x238)](_0x5993cb);this['_entityInit$'][_0x51822d(0x2fd)](_0x4b1e67),this['_entities'][_0x51822d(0x2a1)](_0x5993cb,_0x4b1e67);}),_0x66da6e[_0x1c5601(0x212)](this[_0x1c5601(0x3a6)]['getTypeOfUnitDisposed$'](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x299)]),this[_0x1c5601(0x3a6)][_0x1c5601(0x3b6)](_0x4921b5['UniverInstanceType'][_0x1c5601(0x262)]))[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))[_0x1c5601(0x1fe)](_0x4f8555=>{const _0x4930e0=_0x1c5601,_0x39b0af=_0x4f8555[_0x4930e0(0x2c6)](),_0xb38c83=this[_0x4930e0(0x306)]['get'](_0x39b0af);_0xb38c83&&(_0xb38c83[_0x4930e0(0x2ec)](),this[_0x4930e0(0x306)]['delete'](_0x39b0af));});}async['_startSheetCollabCursor'](_0xe1c3f7){const _0x3a0b2b=_0x449813,_0x46922e=await this['_collabSessionService'][_0x3a0b2b(0x452)](_0xe1c3f7),_0x1f72b7=this[_0x3a0b2b(0x27f)]['createInstance'](_0x126db2,_0xe1c3f7,_0x46922e);return _0x1f72b7[_0x3a0b2b(0x237)](),_0x1f72b7;}async[_0x449813(0x238)](_0x2a8f0f){const _0xed1066=_0x449813,_0x2db1b7=await this[_0xed1066(0x2c8)][_0xed1066(0x452)](_0x2a8f0f),_0x589882=this[_0xed1066(0x27f)][_0xed1066(0x20e)](_0x38bb7b,_0x2a8f0f,_0x2db1b7);return _0x589882[_0xed1066(0x237)](),_0x589882;}};_0x3d739c=_0x36b9fe([_0x5e1d9c(0x0,_0x4921b5[_0x449813(0x42b)]),_0x5e1d9c(0x1,_0x4921b5['Inject'](_0x4921b5['Injector'])),_0x5e1d9c(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2['CollaborationSessionService']))],_0x3d739c);const _0x58db44=0x14,_0x366c08=0xc8,_0x53dcf8=0x4,_0x11710a=0x5;function _0x5c20f1(_0x5382e5,_0x46659a){const _0x51817c=_0x449813;let {radius:_0x1ea76c,width:_0x481a1d,height:_0x2c0e26}=_0x46659a;_0x1ea76c=_0x1ea76c!=null?_0x1ea76c:0x0,_0x481a1d=_0x481a1d!=null?_0x481a1d:0x1e,_0x2c0e26=_0x2c0e26!=null?_0x2c0e26:0x1e;let _0x2fe341=0x0,_0x3c644a=0x0,_0x207bdc=0x0;_0x2fe341=_0x3c644a=_0x207bdc=Math[_0x51817c(0x456)](_0x1ea76c,_0x481a1d/0x2,_0x2c0e26/0x2),_0x5382e5[_0x51817c(0x296)](),_0x5382e5['moveTo'](_0x2fe341,0x0),_0x5382e5['lineTo'](_0x481a1d-_0x3c644a,0x0),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x3c644a,_0x3c644a,_0x3c644a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5382e5['lineTo'](_0x481a1d,_0x2c0e26-_0x207bdc),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x207bdc,_0x2c0e26-_0x207bdc,_0x207bdc,0x0,Math['PI']/0x2,!0x1),_0x5382e5['lineTo'](0x0,_0x2c0e26),_0x5382e5[_0x51817c(0x36f)](0x0,_0x2fe341),_0x5382e5['arc'](_0x2fe341,_0x2fe341,_0x2fe341,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5382e5[_0x51817c(0x234)](),_0x46659a[_0x51817c(0x373)]&&(_0x5382e5[_0x51817c(0x344)](),_0x5382e5['fillStyle']=_0x46659a[_0x51817c(0x373)],_0x46659a[_0x51817c(0x34e)]===_0x51817c(0x45b)?_0x5382e5[_0x51817c(0x373)](_0x51817c(0x45b)):_0x5382e5['fill'](),_0x5382e5['restore']());}class _0x5b91d6 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0xc99067,_0x3d11fd){const _0x28735f=_0x449813;super(_0xc99067,_0x3d11fd),_0x8d7f57(this,_0x28735f(0x2c1)),_0x8d7f57(this,_0x28735f(0x31d)),(this[_0x28735f(0x2c1)]=_0x3d11fd==null?void 0x0:_0x3d11fd[_0x28735f(0x2c1)],this[_0x28735f(0x31d)]=_0x3d11fd==null?void 0x0:_0x3d11fd['text']);}static[_0x449813(0x437)](_0x48a53b,_0x51c4d0){const _0xd7af3=_0x449813,{text:_0xa20b44,color:_0x4275e0}=_0x51c4d0;_0x48a53b[_0xd7af3(0x344)](),_0x48a53b[_0xd7af3(0x3aa)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2dbd8e=_0x48a53b[_0xd7af3(0x1f7)](_0xa20b44)[_0xd7af3(0x2b0)],_0x3b9053=Math[_0xd7af3(0x456)](_0x2dbd8e+0x2*_0x53dcf8,_0x366c08);_0x5c20f1(_0x48a53b,{'height':_0x58db44,'radius':0x4,'width':_0x3b9053,'fill':_0x4275e0}),_0x48a53b['fillStyle']=_0xd7af3(0x30b);const _0x18c529=_0x53dcf8,_0x555f51=_0x58db44-_0x11710a,_0x311bb5=_0x366c08-0x2*_0x53dcf8;if(_0x2dbd8e>_0x311bb5){let _0x1b1252='',_0x422553=0x0;for(const _0x36eb99 of _0xa20b44){const _0x35f81e=_0x48a53b['measureText'](_0x36eb99)[_0xd7af3(0x2b0)];if(_0x422553+_0x35f81e<=_0x311bb5-_0x48a53b['measureText'](_0xd7af3(0x1dd))[_0xd7af3(0x2b0)])_0x1b1252+=_0x36eb99,_0x422553+=_0x35f81e;else{_0x1b1252+=_0xd7af3(0x1dd);break;}}_0x48a53b[_0xd7af3(0x459)](_0x1b1252,_0x18c529,_0x555f51);}else _0x48a53b[_0xd7af3(0x459)](_0xa20b44,_0x18c529,_0x555f51);_0x48a53b[_0xd7af3(0x44c)]();}['_draw'](_0x5277f4){_0x5b91d6['drawWith'](_0x5277f4,this);}}const _0x434321=_0x449813(0x271),_0x4e4b8d=_0x449813(0x210),_0x3a2f1f='collab-rect-range-',_0x37999e=0x6,_0x375b17=1.5,_0x4eaf7c=0x4,_0x1a852e=1.5,_0x2e445c='rgba(255,\x20255,\x20255,\x200.01)';class _0x3dc3c5{constructor(_0x17c9e5,_0x5bb7bf,_0x1c9107,_0x3f0efc){const _0x4a8040=_0x449813;_0x8d7f57(this,_0x4a8040(0x398),[]),_0x8d7f57(this,_0x4a8040(0x211),null),_0x8d7f57(this,_0x4a8040(0x1db),null),_0x8d7f57(this,_0x4a8040(0x402),null),_0x8d7f57(this,_0x4a8040(0x43b),null),_0x8d7f57(this,'_eventUnsubscribe',null),(this[_0x4a8040(0x46e)]=_0x17c9e5,this[_0x4a8040(0x229)]=_0x5bb7bf,this['_docSkeleton']=_0x1c9107,this['_document']=_0x3f0efc,this['_render']());}set['_hover'](_0x1d2de6){const _0x3610ca=_0x449813;_0x1d2de6?(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x23a)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x2d1)]()):(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x2d1)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x23a)]());}[_0x449813(0x2ec)](){const _0x565a72=_0x449813;for(const _0x4c9660 of this[_0x565a72(0x398)])_0x4c9660['dispose']();this[_0x565a72(0x1db)]&&this['_textBubble']['dispose'](),this[_0x565a72(0x402)]&&this[_0x565a72(0x402)][_0x565a72(0x2ec)](),this[_0x565a72(0x211)]&&this[_0x565a72(0x211)]['dispose'](),this[_0x565a72(0x3b2)]&&this[_0x565a72(0x3b2)]();}[_0x449813(0x1e3)](){const _0x24014d=_0x449813;var _0x1d2d77;const {_docSkeleton:_0x327d60,_document:_0x53dfe2}=this,{color:_0x40a1b8,name:_0x8ac478,ranges:_0x2903eb}=this[_0x24014d(0x46e)],_0x2ffa57=_0x53dfe2[_0x24014d(0x3e6)](),{docsLeft:_0x220d85,docsTop:_0x3a7163}=_0x2ffa57,_0x323bc=new _0x3fda77[(_0x24014d(0x44d))](_0x2ffa57,_0x327d60);for(const {startOffset:_0x59922c,endOffset:_0x3173a4,rangeType:_0x757a99,segmentId:_0x4eb75b,segmentPage:_0x2135ae,collapsed:_0x2c4846,isActive:_0x326daf}of _0x2903eb){const _0x24de25=_0x327d60[_0x24014d(0x24a)](_0x59922c,!0x0,_0x4eb75b,_0x2135ae);let _0x306e46=_0x327d60['findNodePositionByCharIndex'](_0x3173a4,!0x0,_0x4eb75b,_0x2135ae);if(_0x306e46==null&&(_0x306e46=_0x327d60[_0x24014d(0x24a)](_0x3173a4-0x1,!0x1,_0x4eb75b,_0x2135ae)),_0x326daf){const {contentBoxPointGroup:_0x4110f8}=_0x323bc['getRangePointData'](_0x306e46,_0x306e46);if(_0x4110f8[_0x24014d(0x418)]===0x0)continue;this[_0x24014d(0x1f9)](_0x40a1b8,_0x4110f8,_0x220d85,_0x3a7163,_0x8ac478),this[_0x24014d(0x3b2)]=this[_0x24014d(0x364)]();}if(_0x24de25&&_0x306e46){if(_0x757a99===_0x4921b5[_0x24014d(0x285)][_0x24014d(0x25f)]){const _0x29e0f3=new _0x3fda77[(_0x24014d(0x2ff))](_0x2ffa57,_0x327d60),{pointGroup:_0x18e0c6}=(_0x1d2d77=_0x29e0f3[_0x24014d(0x395)](_0x24de25,_0x306e46))!=null?_0x1d2d77:{};if(_0x18e0c6==null||_0x18e0c6['length']===0x0)continue;this[_0x24014d(0x31f)](_0x40a1b8,_0x18e0c6,_0x220d85,_0x3a7163);}else{if(!_0x2c4846){const {borderBoxPointGroup:_0x451f29}=_0x323bc[_0x24014d(0x395)](_0x24de25,_0x306e46);if(_0x451f29['length']===0x0)continue;this[_0x24014d(0x2be)](_0x40a1b8,_0x451f29,_0x220d85,_0x3a7163);}}}}}['_drawAnchor'](_0x448a52,_0x508466,_0x328bdf,_0x16c856,_0x3b7dee){const _0x2e0b9d=_0x449813,_0x2cd834=this['_getAnchorBounding'](_0x508466),{left:_0x5660f7,top:_0x4144cb,height:_0x2cbd13}=_0x2cd834,_0x353eb3=this[_0x2e0b9d(0x433)](),_0x52caf0=_0x1a852e/_0x353eb3,_0x355878=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5[_0x2e0b9d(0x420)](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856,'height':_0x2cbd13,'width':_0x375b17,'fill':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5['COLORS'][_0x2e0b9d(0x3da)],0x0),'strokeWidth':_0x52caf0,'stroke':_0x2e445c,'evented':!0x0});this[_0x2e0b9d(0x211)]=_0x355878,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x355878,_0x3fda77[_0x2e0b9d(0x444)]);const _0x1cfe9e=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x4eaf7c/0x2,'height':_0x4eaf7c,'width':_0x4eaf7c,'fill':_0x448a52||_0x22d409['getColor'](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'strokeWidth':0x0,'stroke':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'evented':!0x1});this[_0x2e0b9d(0x402)]=_0x1cfe9e,this['_scene'][_0x2e0b9d(0x226)](_0x1cfe9e,_0x3fda77[_0x2e0b9d(0x444)]);const _0x291f70=new _0x5b91d6(_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x58db44,'text':_0x3b7dee,'color':_0x448a52});this[_0x2e0b9d(0x1db)]=_0x291f70,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x291f70,_0x3fda77[_0x2e0b9d(0x444)]),this['_hover']=!0x1;}[_0x449813(0x364)](){const _0x542f30=_0x449813,_0x32439c=this[_0x542f30(0x211)][_0x542f30(0x33b)][_0x542f30(0x38e)](()=>{const _0x475a98=_0x542f30;this[_0x475a98(0x263)]=!0x0;}),_0x4fece1=this['_anchor']['onPointerLeave$'][_0x542f30(0x38e)](()=>{const _0x4f441f=_0x542f30;this[_0x4f441f(0x43b)]&&clearTimeout(this[_0x4f441f(0x43b)]),this['_hideTimer']=setTimeout(()=>{const _0x1a7fd9=_0x4f441f;this[_0x1a7fd9(0x263)]=!0x1;},0x7d0);});return()=>{const _0x29f681=_0x542f30;_0x32439c[_0x29f681(0x30c)](),_0x4fece1[_0x29f681(0x30c)]();};}[_0x449813(0x2be)](_0x5bfd21,_0xdc811a,_0x595541,_0x177c85){const _0x354c9d=_0x449813,_0x363fbf=new _0x4921b5[(_0x354c9d(0x40e))](_0x5bfd21)[_0x354c9d(0x43c)](0.2)[_0x354c9d(0x3f4)](),_0x29fee0=new _0x22d409['RegularPolygon'](_0x4e4b8d+_0x4921b5[_0x354c9d(0x420)](_0x37999e),{'pointsGroup':_0xdc811a,'fill':_0x363fbf||_0x22d409[_0x354c9d(0x307)](_0x4921b5[_0x354c9d(0x3ee)][_0x354c9d(0x3da)],0.2),'left':_0x595541,'top':_0x177c85,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354c9d(0x398)][_0x354c9d(0x2a3)](_0x29fee0),this[_0x354c9d(0x229)]['addObject'](_0x29fee0,_0x3fda77[_0x354c9d(0x444)]);}['_drawRectRange'](_0x284183,_0x5aacc1,_0x4a0b3d,_0x2416ed){const _0x460ade=_0x449813,_0x5a0c06=new _0x4921b5[(_0x460ade(0x40e))](_0x284183)[_0x460ade(0x43c)](0.2)[_0x460ade(0x3f4)](),_0xaa9480=new _0x22d409[(_0x460ade(0x468))](_0x3a2f1f+_0x4921b5['generateRandomId'](_0x37999e),{'pointsGroup':_0x5aacc1,'fill':_0x5a0c06||_0x22d409['getColor'](_0x4921b5[_0x460ade(0x3ee)][_0x460ade(0x3da)],0.2),'left':_0x4a0b3d,'top':_0x2416ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x460ade(0x398)]['push'](_0xaa9480),this[_0x460ade(0x229)][_0x460ade(0x226)](_0xaa9480,_0x3fda77[_0x460ade(0x444)]);}[_0x449813(0x249)](_0x42bbc5){const _0x32a54c=_0x42bbc5[0x0],_0x4acb3c=_0x32a54c[0x0],_0x1cecdd=_0x32a54c[0x2],{x:_0x2319be,y:_0x3f565f}=_0x4acb3c,{x:_0x42dda1,y:_0x39f51d}=_0x1cecdd;return{'left':_0x2319be,'top':_0x3f565f,'width':_0x42dda1-_0x2319be,'height':_0x39f51d-_0x3f565f};}[_0x449813(0x433)](){const _0xaa41f0=_0x449813,{scaleX:_0x40ae29,scaleY:_0x5d56b1}=this[_0xaa41f0(0x229)][_0xaa41f0(0x2e4)]();return Math[_0xaa41f0(0x264)](_0x40ae29,_0x5d56b1);}}var _0x439df9=Object[_0x449813(0x29c)],_0x86f17e=(_0x3692d0,_0x1ec026,_0x38ab58,_0x314f8c)=>{const _0x5aa70d=_0x449813;for(var _0xdda3fd=_0x314f8c>0x1?void 0x0:_0x314f8c?_0x439df9(_0x1ec026,_0x38ab58):_0x1ec026,_0x91e882=_0x3692d0[_0x5aa70d(0x418)]-0x1,_0x279269;_0x91e882>=0x0;_0x91e882--)(_0x279269=_0x3692d0[_0x91e882])&&(_0xdda3fd=_0x279269(_0xdda3fd)||_0xdda3fd);return _0xdda3fd;},_0x3bece7=(_0x42feed,_0x1733a8)=>(_0x45ff7e,_0x53d0f9)=>_0x1733a8(_0x45ff7e,_0x53d0f9,_0x42feed);let _0x3a30e1=class extends _0x4921b5['RxDisposable']{constructor(_0x2f1e3c,_0x2bc463,_0xd16816,_0x1042e8,_0x297a1a){const _0x165aa4=_0x449813;super(),_0x8d7f57(this,_0x165aa4(0x235),[]),_0x8d7f57(this,_0x165aa4(0x36a),[]),(this[_0x165aa4(0x39f)]=_0x2f1e3c,this[_0x165aa4(0x219)]=_0x2bc463,this[_0x165aa4(0x3fd)]=_0xd16816,this[_0x165aa4(0x2a0)]=_0x1042e8,this[_0x165aa4(0x317)]=_0x297a1a,this['_init']());}[_0x449813(0x2c7)](){const _0x39e8da=_0x449813,_0x4b9d36=this[_0x39e8da(0x39f)][_0x39e8da(0x2a2)],_0x50a326=this[_0x39e8da(0x219)];this[_0x39e8da(0x25c)](_0x66da6e[_0x39e8da(0x461)]([this[_0x39e8da(0x3fd)]['getCollabCursors$'](_0x4b9d36),this[_0x39e8da(0x317)][_0x39e8da(0x2e3)]])[_0x39e8da(0x35e)](_0x4449c2[_0x39e8da(0x33d)](([_0x2a37c4,_0x293649])=>({'skeleton':_0x50a326[_0x39e8da(0x326)](),'cursors':[..._0x2a37c4['values']()]['flatMap'](_0x316a02=>({..._0x316a02,'color':this['_themeService'][_0x39e8da(0x3d7)](_0x316a02[_0x39e8da(0x2c1)])}))})))[_0x39e8da(0x1fe)](_0x1084ca=>{const _0x336b90=_0x39e8da;if(this[_0x336b90(0x349)](),_0x1084ca){const {skeleton:_0x26edf2,cursors:_0xeb169e}=_0x1084ca;this['_updateCollabCursors'](_0x26edf2,_0xeb169e);}})),this[_0x39e8da(0x2ab)](),this[_0x39e8da(0x3d0)]();}[_0x449813(0x430)](_0x27b156,_0x4ba6de){const _0x4ed111=_0x449813,{scene:_0x2078f5,mainComponent:_0x6cd077}=this[_0x4ed111(0x39f)],_0x48e1b5=_0x4ba6de['map'](_0x364e03=>new _0x3dc3c5(_0x364e03,_0x2078f5,_0x27b156,_0x6cd077));this[_0x4ed111(0x235)]=_0x48e1b5,this['_cursors']=_0x4ba6de;}[_0x449813(0x427)](){const _0x26d565=_0x449813;this[_0x26d565(0x349)]();const {scene:_0x224889,mainComponent:_0xde560a}=this[_0x26d565(0x39f)],_0x329fff=this['_docSkeletonManagerService'][_0x26d565(0x326)](),_0x4946e5=this[_0x26d565(0x36a)][_0x26d565(0x33d)](_0x11550b=>new _0x3dc3c5(_0x11550b,_0x224889,_0x329fff,_0xde560a));this['_cursorShapes']=_0x4946e5;}['_removeCollabCursors'](){const _0x33fe85=_0x449813;this[_0x33fe85(0x235)]['forEach'](_0x47ea63=>_0x47ea63['dispose']()),this[_0x33fe85(0x235)]=[];}[_0x449813(0x3d0)](){const _0x2a78eb=_0x449813,_0x32b548=[_0x3fda77[_0x2a78eb(0x336)]['id']];this[_0x2a78eb(0x25c)](this[_0x2a78eb(0x2a0)][_0x2a78eb(0x46c)](_0x10c6e7=>{const _0x2049ed=_0x2a78eb;_0x32b548[_0x2049ed(0x3c7)](_0x10c6e7['id'])&&_0x10c6e7[_0x2049ed(0x268)][_0x2049ed(0x2a2)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x449813(0x2ab)](){const _0x41101a=_0x449813;this['disposeWithMe'](_0x4921b5[_0x41101a(0x1f8)](this[_0x41101a(0x39f)][_0x41101a(0x38f)]['onTransformChange$'])[_0x41101a(0x35e)](_0x4449c2[_0x41101a(0x401)](_0x1cddf2=>_0x1cddf2[_0x41101a(0x426)]===_0x22d409[_0x41101a(0x330)][_0x41101a(0x475)]),_0x4449c2['throttleTime'](0x10))[_0x41101a(0x1fe)](()=>{const _0x56b971=_0x41101a;this[_0x56b971(0x427)]();}));}};_0x3a30e1=_0x86f17e([_0x3bece7(0x1,_0x4921b5[_0x449813(0x41c)](_0x4bc80d[_0x449813(0x304)])),_0x3bece7(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x3bece7(0x3,_0x4921b5[_0x449813(0x35a)]),_0x3bece7(0x4,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x25e)]))],_0x3a30e1);const _0x9a850a=0x1,_0x3d76ae=1.5;class _0x1a0019 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0x156001,_0x42bb8e){const _0x3ad607=_0x449813;super(_0x156001,_0x42bb8e),_0x8d7f57(this,'_color'),_0x8d7f57(this,_0x3ad607(0x443),!0x1),_0x8d7f57(this,_0x3ad607(0x314)),_0x8d7f57(this,_0x3ad607(0x424),''),_0x8d7f57(this,_0x3ad607(0x2f2),_0x3ad607(0x2a6)),_0x8d7f57(this,'_backgroundColor'),(_0x42bb8e&&this[_0x3ad607(0x1f4)](_0x42bb8e),this[_0x3ad607(0x33b)][_0x3ad607(0x38e)](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x1})));}[_0x449813(0x1f4)](_0x1956a3){const _0x2dda37=_0x449813;var _0x22193f,_0x4a3342,_0x44bc4d,_0x3d467d,_0x4299f4,_0x3b74b0;this['_color']=(_0x22193f=_0x1956a3[_0x2dda37(0x2c1)])!=null?_0x22193f:this[_0x2dda37(0x3a5)],this[_0x2dda37(0x443)]=(_0x4a3342=_0x1956a3[_0x2dda37(0x1ed)])!=null?_0x4a3342:this[_0x2dda37(0x443)],this[_0x2dda37(0x314)]=(_0x44bc4d=_0x1956a3[_0x2dda37(0x320)])!=null?_0x44bc4d:this[_0x2dda37(0x314)],this['_name']=(_0x3d467d=_0x1956a3[_0x2dda37(0x31e)])!=null?_0x3d467d:this[_0x2dda37(0x424)],this[_0x2dda37(0x2f2)]=(_0x4299f4=_0x1956a3['labelPosition'])!=null?_0x4299f4:this[_0x2dda37(0x2f2)],this[_0x2dda37(0x30e)]=(_0x3b74b0=_0x1956a3['backgroundColor'])!=null?_0x3b74b0:this[_0x2dda37(0x30e)],this[_0x2dda37(0x387)]({'width':_0x1956a3[_0x2dda37(0x2b0)],'height':_0x1956a3['height']});}[_0x449813(0x28e)](_0x432280){const _0x2ad65f=_0x449813,{row:_0x4952db,column:_0x248945}=_0x432280;if(_0x4952db>=this[_0x2ad65f(0x314)][_0x2ad65f(0x3ae)]&&_0x4952db<=this[_0x2ad65f(0x314)][_0x2ad65f(0x45d)]&&_0x248945>=this[_0x2ad65f(0x314)][_0x2ad65f(0x35d)]&&_0x248945<=this[_0x2ad65f(0x314)][_0x2ad65f(0x2f0)]){this[_0x2ad65f(0x1f4)]({'hovered':!0x0});return;}this[_0x2ad65f(0x1f4)]({'hovered':!0x1});}[_0x449813(0x1eb)](_0x1fb35b){return!0x1;}['_draw'](_0x4bf257){const _0x3594be=_0x449813;_0x22d409[_0x3594be(0x275)][_0x3594be(0x437)](_0x4bf257,{'width':this[_0x3594be(0x2b0)],'height':this[_0x3594be(0x27a)],'strokeWidth':_0x3d76ae,'stroke':this[_0x3594be(0x3a5)],'evented':!0x1,'fill':this[_0x3594be(0x30e)]}),this[_0x3594be(0x443)]&&(_0x4bf257[_0x3594be(0x344)](),_0x4bf257[_0x3594be(0x1f1)](0x1,0x0,0x0,0x1,this[_0x3594be(0x2b0)],this[_0x3594be(0x2f2)]===_0x3594be(0x33a)?0x0:-_0x58db44),_0x5b91d6[_0x3594be(0x437)](_0x4bf257,{'text':this[_0x3594be(0x424)],'color':this['_color']}),_0x4bf257[_0x3594be(0x44c)]());}}var _0x3936fe=Object[_0x449813(0x29c)],_0x4fdae2=(_0x520bde,_0x1c15cb,_0x3be35b,_0x5bce87)=>{const _0x447b39=_0x449813;for(var _0x3dcbc8=_0x5bce87>0x1?void 0x0:_0x5bce87?_0x3936fe(_0x1c15cb,_0x3be35b):_0x1c15cb,_0x267149=_0x520bde[_0x447b39(0x418)]-0x1,_0x387fd9;_0x267149>=0x0;_0x267149--)(_0x387fd9=_0x520bde[_0x267149])&&(_0x3dcbc8=_0x387fd9(_0x3dcbc8)||_0x3dcbc8);return _0x3dcbc8;},_0x559bea=(_0x4b62f1,_0x521e0f)=>(_0x592fa7,_0x3d361a)=>_0x521e0f(_0x592fa7,_0x3d361a,_0x4b62f1);const _0x4bb736=0x1389;let _0x3bab0f=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x351e19,_0x411ebb,_0x5ad90f,_0x28e41a){const _0x183b07=_0x449813;super(),_0x8d7f57(this,'_cursors',new Set()),_0x8d7f57(this,_0x183b07(0x371),null),(this[_0x183b07(0x39f)]=_0x351e19,this['_sheetSkeletonManagerService']=_0x411ebb,this[_0x183b07(0x3fd)]=_0x5ad90f,this[_0x183b07(0x317)]=_0x28e41a,this[_0x183b07(0x2c7)]());}[_0x449813(0x2c7)](){const _0x398122=_0x449813;this[_0x398122(0x3df)]['currentSkeleton$']['pipe'](_0x4449c2[_0x398122(0x34f)](this[_0x398122(0x41d)]),_0x4449c2[_0x398122(0x360)](_0xc4d48=>{const _0x2e7452=_0x398122;if(_0xc4d48){const _0x539a47=_0xc4d48[_0x2e7452(0x3c5)];return _0x66da6e['combineLatest'](this['_collabCursorController'][_0x2e7452(0x38a)](this[_0x2e7452(0x39f)]['unitId']),this[_0x2e7452(0x317)][_0x2e7452(0x2e3)])['pipe'](_0x4449c2[_0x2e7452(0x33d)](([_0x45be4d,_0x35f7a5])=>{const _0x5ecf45=_0x2e7452,_0x33ea4d=new Map();return _0x45be4d[_0x5ecf45(0x28b)]((_0x20fa66,_0x423c2c)=>{const _0x4876ce=_0x5ecf45;if(_0x20fa66[_0x4876ce(0x40f)]===_0x539a47){const _0x30216f={..._0x20fa66};_0x30216f[_0x4876ce(0x2c1)]=this[_0x4876ce(0x317)][_0x4876ce(0x3d7)](_0x20fa66[_0x4876ce(0x2c1)]),_0x33ea4d[_0x4876ce(0x2a1)](_0x423c2c,_0x30216f);}}),{'skeleton':_0xc4d48,'cursors':_0x33ea4d};}));}return _0x66da6e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1a8a64,cursors:_0x5341cf})=>{const _0x3e7830=_0x398122;this[_0x3e7830(0x349)](),_0x1a8a64&&this[_0x3e7830(0x430)](_0x1a8a64,_0x5341cf);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x398122(0x1fe)](_0x5e812a=>{const _0x82c06a=_0x398122;if(_0x5e812a==null)return;const {skeleton:_0x272187}=_0x5e812a,{scene:_0x1b3a78}=this['_context'];_0x1b3a78[_0x82c06a(0x450)][_0x82c06a(0x38e)](_0x4921b5[_0x82c06a(0x3ac)](_0x3d24e0=>{const _0xbba18e=_0x82c06a;var _0x2924a3,_0xc889f9;const {offsetX:_0x133fcc,offsetY:_0x40306b}=_0x3d24e0,{x:_0x1fe42c,y:_0x442b3e}=_0x1b3a78['getRelativeToViewportCoord'](_0x22d409[_0xbba18e(0x256)]['FromArray']([_0x133fcc,_0x40306b])),{scaleX:_0x1b04a2,scaleY:_0x3a33a5}=_0x1b3a78[_0xbba18e(0x2e4)](),_0x545290=_0x1b3a78[_0xbba18e(0x1f3)](_0x22d409[_0xbba18e(0x2d5)][_0xbba18e(0x23b)]),_0x221acc=_0x1b3a78[_0xbba18e(0x393)](_0x22d409[_0xbba18e(0x256)][_0xbba18e(0x2f9)]([_0x1fe42c,_0x442b3e]),_0x545290),_0x381919=_0x272187[_0xbba18e(0x32e)](_0x133fcc,_0x40306b,_0x1b04a2,_0x3a33a5,_0x221acc);((_0x2924a3=this[_0xbba18e(0x371)])==null?void 0x0:_0x2924a3[_0xbba18e(0x258)])===_0x381919[_0xbba18e(0x258)]&&((_0xc889f9=this[_0xbba18e(0x371)])==null?void 0x0:_0xc889f9[_0xbba18e(0x286)])===_0x381919[_0xbba18e(0x286)]||this['_cursors']['forEach'](_0x53409e=>{const _0x31af3c=_0xbba18e;_0x53409e[_0x31af3c(0x28e)](_0x381919);});},0x64));});}['_updateCollabCursors'](_0xb52f62,_0x29a9fc){const _0x1ee520=_0x449813;var _0x4cc0b7;const _0xe1aee1=(_0x4cc0b7=this['_sheetSkeletonManagerService'][_0x1ee520(0x34a)]())==null?void 0x0:_0x4cc0b7[_0x1ee520(0x316)];if(!_0xe1aee1)return;const _0x43c777=this[_0x1ee520(0x3e2)]();if(!_0x43c777)return;this[_0x1ee520(0x36a)][_0x1ee520(0x28b)](_0x359146=>{const _0x2c7833=_0x1ee520;_0x359146[_0x2c7833(0x2b7)]();});const {scene:_0x230460}=_0x43c777,_0x75b7b5=_0x4e0124(Array[_0x1ee520(0x3a2)](_0x29a9fc[_0x1ee520(0x1ea)]()))[_0x1ee520(0x33d)](_0x408bcd=>{const _0x391b79=_0x1ee520,{color:_0x55ce0b,range:_0x1435c1,name:_0x4e6462,selection:_0x51d279,sheetID:_0xd3119e}=_0x408bcd,{startColumn:_0x29bfd4,startRow:_0xc8d6a1,endColumn:_0x508261,endRow:_0x5d8ef6}=_0x1435c1,_0x13d02a=_0x53da58[_0x391b79(0x2e9)](_0xc8d6a1,_0x29bfd4,_0x230460,_0xe1aee1),_0x2e07c7=_0x53da58['getCoordByCell'](_0x5d8ef6,_0x508261,_0x230460,_0xe1aee1),{columnHeaderHeightAndMarginTop:_0x1a7bd4}=_0xe1aee1,{startX:_0x26ca30,startY:_0x6ca787}=_0x13d02a,{endX:_0x4d870c,endY:_0x72e0ee}=_0x2e07c7,_0x47147c=_0x4d870c-_0x26ca30,_0x5b35d4=_0x72e0ee-_0x6ca787,_0x12e61c={'labelPosition':_0x6ca787-_0x1a7bd4>=_0x58db44?_0x391b79(0x2a6):_0x391b79(0x33a),'sheetID':_0xd3119e,'range':_0x1435c1,'color':_0x55ce0b,'name':_0x4e6462,'selection':_0x51d279,'left':_0x26ca30,'top':_0x6ca787,'width':_0x47147c,'height':_0x5b35d4,'evented':!0x1,'zIndex':_0x4bb736};return new _0x1a0019(_0x4e6462,_0x12e61c);});_0x230460[_0x1ee520(0x1da)](_0x75b7b5,_0x9a850a),this[_0x1ee520(0x36a)]=new Set(_0x75b7b5);}[_0x449813(0x349)](){const _0x4d39e2=_0x449813;var _0x178dcd;(_0x178dcd=this['_cursors'])==null||_0x178dcd[_0x4d39e2(0x28b)](_0x5716c5=>_0x5716c5[_0x4d39e2(0x2ec)]());}[_0x449813(0x3e2)](){const _0x410204=_0x449813;return _0x53da58[_0x410204(0x259)](this[_0x410204(0x39f)][_0x410204(0x287)],this[_0x410204(0x39f)]);}};_0x3bab0f=_0x4fdae2([_0x559bea(0x1,_0x4921b5[_0x449813(0x41c)](_0x53da58[_0x449813(0x1f2)])),_0x559bea(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x559bea(0x3,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x25e)]))],_0x3bab0f);function _0x4e0124(_0x2cd084){const _0x9a4b32=_0x449813,_0x1663cb=new Map();return _0x2cd084[_0x9a4b32(0x28b)](_0x5e8d54=>{const _0xf3fc0e=_0x9a4b32;if(_0x1663cb[_0xf3fc0e(0x3fc)](_0x5e8d54['selection'])){const _0x5a4199=_0x1663cb[_0xf3fc0e(0x2dd)](_0x5e8d54['selection']);_0x5a4199[_0xf3fc0e(0x31e)]+=',\x20'+_0x5e8d54[_0xf3fc0e(0x31e)];}else _0x1663cb[_0xf3fc0e(0x2a1)](_0x5e8d54[_0xf3fc0e(0x379)],_0x5e8d54);}),Array['from'](_0x1663cb['values']());}var _0x4f72cd=Object['getOwnPropertyDescriptor'],_0x4643f0=(_0x112d9a,_0x47ee27,_0x3fc607,_0x4d073a)=>{const _0x262999=_0x449813;for(var _0x1a45ff=_0x4d073a>0x1?void 0x0:_0x4d073a?_0x4f72cd(_0x47ee27,_0x3fc607):_0x47ee27,_0x506537=_0x112d9a[_0x262999(0x418)]-0x1,_0x1e99fc;_0x506537>=0x0;_0x506537--)(_0x1e99fc=_0x112d9a[_0x506537])&&(_0x1a45ff=_0x1e99fc(_0x1a45ff)||_0x1a45ff);return _0x1a45ff;},_0x37b6f9=(_0xdb7d8a,_0x4e302e)=>(_0x5d802e,_0xb3a3d6)=>_0x4e302e(_0x5d802e,_0xb3a3d6,_0xdb7d8a);let _0x803c51=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x38aad0,_0x300978,_0x332b2c,_0x3424d1,_0x501b20,_0x5de0af){const _0x2d1b4f=_0x449813;super(),this[_0x2d1b4f(0x423)]=_0x38aad0,this[_0x2d1b4f(0x3a4)]=_0x300978,this[_0x2d1b4f(0x327)]=_0x332b2c,this[_0x2d1b4f(0x3bb)]=_0x3424d1,this[_0x2d1b4f(0x23d)]=_0x501b20,this[_0x2d1b4f(0x2db)]=_0x5de0af,this[_0x2d1b4f(0x24e)](),this[_0x2d1b4f(0x404)]();}[_0x449813(0x24e)](){const _0x8ca758=_0x449813;this[_0x8ca758(0x25c)](this[_0x8ca758(0x423)][_0x8ca758(0x35b)](()=>{const _0x49bbd9=_0x8ca758;if(this[_0x49bbd9(0x3a4)][_0x49bbd9(0x45c)]['size'])return this[_0x49bbd9(0x2db)]['t'](_0x49bbd9(0x3e3));}));}[_0x449813(0x404)](){const _0x37e7c5=_0x449813;this[_0x37e7c5(0x25c)](this[_0x37e7c5(0x327)]['event$']['subscribe'](_0xbc6824=>{const _0x512678=_0x37e7c5;_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['OTHER_CLIENT_EDITING']&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)]['Warning'],'content':this[_0x512678(0x2db)]['t']('collaboration.single-unit.warning')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3e7)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x26d))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['PERMISSION_DENIED']&&this['_notificationService'][_0x512678(0x2d1)]({'title':this[_0x512678(0x2db)]['t'](_0x512678(0x2b9)),'content':this[_0x512678(0x2db)]['t']('permission.content'),'type':_0x512678(0x288),'duration':0x0}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x224)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('collaboration.closeRoom')+'('+_0xbc6824[_0x512678(0x1e8)]+')'}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x2b5)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0xbc6824[_0x512678(0x1e8)]||'')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x378)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this['_localeService']['t'](_0x512678(0x294))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3c0)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('session.connection-failed')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x3e4))});}));}};_0x803c51=_0x4643f0([_0x37b6f9(0x0,_0x56a892[_0x449813(0x266)]),_0x37b6f9(0x1,_0x1c12f2[_0x449813(0x240)]),_0x37b6f9(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x26a)])),_0x37b6f9(0x3,_0x56a892[_0x449813(0x3fb)]),_0x37b6f9(0x4,_0x56a892[_0x449813(0x3f1)]),_0x37b6f9(0x5,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x803c51);const _0x4dbd1e=_0x449813(0x429),_0x752cfd={};var _0x8a2a4a=Object[_0x449813(0x29c)],_0x2b3944=(_0x1fdbe9,_0x17792e,_0x3fd2af,_0x559d12)=>{const _0x24c113=_0x449813;for(var _0x13b0d0=_0x559d12>0x1?void 0x0:_0x559d12?_0x8a2a4a(_0x17792e,_0x3fd2af):_0x17792e,_0x5ade60=_0x1fdbe9[_0x24c113(0x418)]-0x1,_0x324753;_0x5ade60>=0x0;_0x5ade60--)(_0x324753=_0x1fdbe9[_0x5ade60])&&(_0x13b0d0=_0x324753(_0x13b0d0)||_0x13b0d0);return _0x13b0d0;},_0x9a337f=(_0x992be2,_0x2d3384)=>(_0xb91dc7,_0xb030cd)=>_0x2d3384(_0xb91dc7,_0xb030cd,_0x992be2);let _0x4b3596=class{constructor(_0x1269b1,_0x1af6fb){const _0x218d9f=_0x449813;this[_0x218d9f(0x216)]=_0x1269b1,this[_0x218d9f(0x3af)]=_0x1af6fb;}[_0x449813(0x407)](_0x316e5b){const _0x5ccaa7=_0x449813;this[_0x5ccaa7(0x3c1)](_0x316e5b),this[_0x5ccaa7(0x369)](_0x316e5b);}[_0x449813(0x2f8)](_0x18b519){const _0x3bd6bd=_0x449813,{unitID:_0x3a4bc8}=_0x18b519,_0x4a31b9=this['_renderManagerService'][_0x3bd6bd(0x3db)](_0x3a4bc8)[_0x3bd6bd(0x27e)](_0x3fda77[_0x3bd6bd(0x26c)]),{redoCache:_0x8e9ac8}=_0x4a31b9['getUndoRedoMutationParamsCache']();if(_0x8e9ac8['length']===0x0)return _0x18b519;let _0x4dd976=_0x4921b5[_0x3bd6bd(0x25d)][_0x3bd6bd(0x201)](_0x18b519['mutations'][0x0]);for(let _0x4a0e34=0x0;_0x4a0e34<_0x8e9ac8[_0x3bd6bd(0x418)];_0x4a0e34++){const _0x16d13e={'id':'doc.mutation.rich-text-editing','params':{..._0x8e9ac8[_0x4a0e34]}},_0x4ef553=this[_0x3bd6bd(0x216)]['transformMutation'](_0x4dd976,_0x16d13e,!0x1);if(_0x1a4d3b[_0x3bd6bd(0x41a)](_0x4ef553))throw _0x4ef553[_0x3bd6bd(0x288)];_0x4dd976=_0x4ef553[_0x3bd6bd(0x23c)];}return{..._0x4921b5['Tools'][_0x3bd6bd(0x201)](_0x18b519),'mutations':[_0x4dd976]};}[_0x449813(0x3c1)](_0x590209){const _0x392730=_0x449813,{unitID:_0x3dddd1}=_0x590209,_0x12e6c1=this[_0x392730(0x3af)]['getRenderById'](_0x3dddd1)[_0x392730(0x27e)](_0x3fda77[_0x392730(0x26c)]),{undoCache:_0x1858c5,redoCache:_0x2c29d2}=_0x12e6c1['getUndoRedoMutationParamsCache']();if(_0x1858c5[_0x392730(0x418)]===0x0||_0x2c29d2[_0x392730(0x418)]===0x0)return;const _0x54b4dc=[],_0x3f6fb8=[];let _0x4eec80=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209[_0x392730(0x3e5)][0x0]),_0x5182c3=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209['mutations'][0x0]);for(let _0x1cc40d=_0x1858c5[_0x392730(0x418)]-0x1;_0x1cc40d>=0x0;_0x1cc40d--){const _0x5d6cab={'id':_0x392730(0x439),'params':{..._0x1858c5[_0x1cc40d]}},_0xcf1a43={'id':_0x392730(0x439),'params':{..._0x2c29d2[_0x1cc40d]}},_0x59d0af=this['_transformService']['transformMutation'](_0x4eec80,_0x5d6cab,!0x1),_0x385ad8=this[_0x392730(0x216)][_0x392730(0x454)](_0x5182c3,_0xcf1a43,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x59d0af))throw _0x59d0af[_0x392730(0x288)];if(_0x1a4d3b[_0x392730(0x41a)](_0x385ad8))throw _0x385ad8['error'];_0x54b4dc[_0x392730(0x205)](_0x59d0af['m2Prime'][_0x392730(0x268)]),_0x3f6fb8[_0x392730(0x205)](_0x385ad8[_0x392730(0x24f)][_0x392730(0x268)]),_0x4eec80=_0x59d0af[_0x392730(0x23c)],_0x5182c3=_0x385ad8[_0x392730(0x23c)];}_0x12e6c1['setUndoRedoMutationParamsCache']({'undoCache':_0x54b4dc,'redoCache':_0x3f6fb8});}[_0x449813(0x369)](_0x5787a9){const _0x550c3a=_0x449813,{unitID:_0x81a3c7}=_0x5787a9,_0x14b20d=this['_renderManagerService'][_0x550c3a(0x3db)](_0x81a3c7)[_0x550c3a(0x27e)](_0x3fda77['DocIMEInputManagerService']),_0x34d661=_0x14b20d['getActiveRange']();if(_0x34d661==null)return;const _0x408f73=[{'id':_0x550c3a(0x439),'params':{'unitId':_0x5787a9['unitID'],'actions':null,'textRanges':[_0x34d661]}}],_0x10d7fc=this[_0x550c3a(0x216)][_0x550c3a(0x348)](_0x5787a9,_0x408f73);if(!_0x1a4d3b['isTransformMutationsWithChangesetSuccess'](_0x10d7fc))throw _0x10d7fc[_0x550c3a(0x288)];const _0x387e7e=_0x10d7fc[_0x550c3a(0x24f)][0x0][_0x550c3a(0x268)][_0x550c3a(0x2ce)];Array['isArray'](_0x387e7e)&&_0x387e7e['length']&&_0x14b20d[_0x550c3a(0x332)](_0x387e7e[0x0]);}};_0x4b3596=_0x2b3944([_0x9a337f(0x0,_0x1a4d3b[_0x449813(0x310)]),_0x9a337f(0x1,_0x22d409[_0x449813(0x2e2)])],_0x4b3596);var _0x19407e=Object[_0x449813(0x29c)],_0x20bda7=(_0x5d92f1,_0x41751f,_0x196ca4,_0x47b859)=>{const _0x1ca907=_0x449813;for(var _0x3235db=_0x47b859>0x1?void 0x0:_0x47b859?_0x19407e(_0x41751f,_0x196ca4):_0x41751f,_0x5e6d98=_0x5d92f1[_0x1ca907(0x418)]-0x1,_0x31aaeb;_0x5e6d98>=0x0;_0x5e6d98--)(_0x31aaeb=_0x5d92f1[_0x5e6d98])&&(_0x3235db=_0x31aaeb(_0x3235db)||_0x3235db);return _0x3235db;},_0x275655=(_0x33324a,_0x44ea74)=>(_0x52f8c3,_0x3d6cfc)=>_0x44ea74(_0x52f8c3,_0x3d6cfc,_0x33324a);let _0x34c2df=class{constructor(_0x255990,_0x4ed34e,_0x5c9125){const _0x3a9282=_0x449813;this['_injector']=_0x255990,this['_transformService']=_0x4ed34e,this[_0x3a9282(0x313)]=_0x5c9125;}['transformStateCache'](_0x1e5d0a){this['_transformHistoryAndStateStack'](_0x1e5d0a);}[_0x449813(0x2f8)](_0x20a1c6){const _0x2c1753=_0x449813,{unitID:_0x11ca28}=_0x20a1c6,{collaboration:_0xcc1e9d}=this[_0x2c1753(0x313)][_0x2c1753(0x207)](_0x11ca28);if(_0xcc1e9d[_0x2c1753(0x418)]===0x0)return _0x20a1c6;let _0x294778=_0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6['mutations'][0x0]);for(let _0x436981=0x0;_0x436981<_0xcc1e9d[_0x2c1753(0x418)];_0x436981++){const _0x3a69bf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcc1e9d[_0x436981][_0x2c1753(0x2a2)],..._0xcc1e9d[_0x436981][_0x2c1753(0x3bf)]}},_0x40cd95=this[_0x2c1753(0x216)][_0x2c1753(0x454)](_0x294778,_0x3a69bf,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x40cd95))throw _0x40cd95[_0x2c1753(0x288)];_0x294778=_0x40cd95[_0x2c1753(0x23c)];}return{..._0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6),'mutations':[_0x294778]};}['_transformHistoryAndStateStack'](_0x4a2c61){const _0x43f5ca=_0x449813,{unitID:_0x479120}=_0x4a2c61,{history:_0x1bc44e,collaboration:_0x4a2ba0}=this[_0x43f5ca(0x313)][_0x43f5ca(0x207)](_0x479120);if(_0x1bc44e[_0x43f5ca(0x418)]===0x0&&_0x4a2ba0[_0x43f5ca(0x418)]===0x0)return;const _0x1f88b2=[],_0x41f130=[];let _0x3807ac=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61['mutations'][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x4f78e7=_0x1bc44e[_0x43f5ca(0x418)]-0x1;_0x4f78e7>=0x0;_0x4f78e7--){const _0x316c83={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7][_0x43f5ca(0x2a2)],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x246)]}},_0x3a5dd8={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7]['unitId'],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x3bf)]}},_0x2b9652=this[_0x43f5ca(0x216)]['transformMutation'](_0x3807ac,_0x316c83,!0x1),_0x3527a3=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x52707d,_0x3a5dd8,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x2b9652))throw _0x2b9652['error'];if(_0x1a4d3b['isTransformMutationFailure'](_0x3527a3))throw _0x3527a3[_0x43f5ca(0x288)];_0x1f88b2['unshift']({..._0x1bc44e[_0x4f78e7],'undoState':_0x2b9652['m2Prime'][_0x43f5ca(0x268)],'redoState':_0x3527a3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x2b9652[_0x43f5ca(0x23c)],_0x52707d=_0x3527a3['m1Prime'];}_0x3807ac=_0x4921b5['Tools'][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x5a4b49=_0x4a2ba0[_0x43f5ca(0x418)]-0x1;_0x5a4b49>=0x0;_0x5a4b49--){const _0x5cc361={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49]['undoState']}},_0x1354b2={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49][_0x43f5ca(0x3bf)]}},_0x3a3c1e=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x3807ac,_0x5cc361,!0x1),_0x2abae3=this['_transformService'][_0x43f5ca(0x454)](_0x52707d,_0x1354b2,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x3a3c1e))throw _0x3a3c1e[_0x43f5ca(0x288)];if(_0x1a4d3b['isTransformMutationFailure'](_0x2abae3))throw _0x2abae3[_0x43f5ca(0x288)];_0x41f130[_0x43f5ca(0x205)]({..._0x4a2ba0[_0x5a4b49],'undoState':_0x3a3c1e[_0x43f5ca(0x24f)][_0x43f5ca(0x268)],'redoState':_0x2abae3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x3a3c1e[_0x43f5ca(0x23c)],_0x52707d=_0x2abae3[_0x43f5ca(0x23c)];}this[_0x43f5ca(0x313)][_0x43f5ca(0x2ca)](_0x479120,{'history':_0x1f88b2,'collaboration':_0x41f130});}};_0x34c2df=_0x20bda7([_0x275655(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x275655(0x1,_0x1a4d3b[_0x449813(0x310)]),_0x275655(0x2,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)]))],_0x34c2df);var _0x367867=Object[_0x449813(0x29c)],_0x42eb0a=(_0x5b34d8,_0x385da2,_0x4bf011,_0x3a38ff)=>{const _0x2dcb06=_0x449813;for(var _0x11a966=_0x3a38ff>0x1?void 0x0:_0x3a38ff?_0x367867(_0x385da2,_0x4bf011):_0x385da2,_0x2ba06a=_0x5b34d8[_0x2dcb06(0x418)]-0x1,_0x444e26;_0x2ba06a>=0x0;_0x2ba06a--)(_0x444e26=_0x5b34d8[_0x2ba06a])&&(_0x11a966=_0x444e26(_0x11a966)||_0x11a966);return _0x11a966;},_0x19e4c4=(_0x51256b,_0x434c39)=>(_0x2f04be,_0x57cc22)=>_0x434c39(_0x2f04be,_0x57cc22,_0x51256b);let _0x104c36=class{constructor(_0x5f080b,_0x533944){const _0x67260f=_0x449813;this['_injector']=_0x5f080b,this[_0x67260f(0x216)]=_0x533944;}[_0x449813(0x22b)](_0x3a7212){const _0x47f5e8=_0x449813;var _0x3c6510;const _0x1da1ef=this[_0x47f5e8(0x27f)][_0x47f5e8(0x2dd)](_0x4bc80d['DocSelectionManagerService']),_0x24e4c6=(_0x3c6510=_0x1da1ef[_0x47f5e8(0x3bd)]())!=null?_0x3c6510:[];if(_0x24e4c6[_0x47f5e8(0x418)]===0x0)return;const _0x57635c=_0x3a7212[_0x47f5e8(0x2b3)],_0x389ec8=[{'id':_0x47f5e8(0x439),'params':{'unitId':_0x57635c,'actions':null,'textRanges':_0x24e4c6}}],_0x223e40=this[_0x47f5e8(0x216)][_0x47f5e8(0x348)](_0x3a7212,_0x389ec8);if(!_0x1a4d3b[_0x47f5e8(0x283)](_0x223e40))throw _0x223e40['error'];const _0x1a7b54=_0x223e40[_0x47f5e8(0x24f)][0x0][_0x47f5e8(0x268)][_0x47f5e8(0x2ce)];Array[_0x47f5e8(0x1d8)](_0x1a7b54)&&_0x1a7b54['length']&&_0x1da1ef[_0x47f5e8(0x25a)](_0x1a7b54,{'unitId':_0x57635c,'subUnitId':_0x57635c},!0x1);}};_0x104c36=_0x42eb0a([_0x19e4c4(0x0,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x19e4c4(0x1,_0x1a4d3b[_0x449813(0x310)])],_0x104c36);var _0x4d2ba6=Object[_0x449813(0x29c)],_0x5ea8be=(_0xb042fb,_0x48ae05,_0xaae952,_0x46e32c)=>{for(var _0x390e75=_0x46e32c>0x1?void 0x0:_0x46e32c?_0x4d2ba6(_0x48ae05,_0xaae952):_0x48ae05,_0x4a4bcc=_0xb042fb['length']-0x1,_0x4f7776;_0x4a4bcc>=0x0;_0x4a4bcc--)(_0x4f7776=_0xb042fb[_0x4a4bcc])&&(_0x390e75=_0x4f7776(_0x390e75)||_0x390e75);return _0x390e75;},_0x3b0622=(_0x4fe63a,_0x16278a)=>(_0x1bd25f,_0x141469)=>_0x16278a(_0x1bd25f,_0x141469,_0x4fe63a);let _0x2f73bf=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x5621de,_0x51171e,_0x4b4085,_0x19d0d0,_0x2ee2ea,_0x213568,_0x77c25d,_0x233518){const _0x3cb707=_0x449813;super(),_0x8d7f57(this,_0x3cb707(0x215),new _0x66da6e[(_0x3cb707(0x2ae))](_0x1c12f2[_0x3cb707(0x375)]['NOT_COLLAB'])),(this[_0x3cb707(0x313)]=_0x5621de,this[_0x3cb707(0x44b)]=_0x51171e,this[_0x3cb707(0x416)]=_0x4b4085,this['_docTransformStateCacheService']=_0x19d0d0,this['_docTransformSelectionsService']=_0x2ee2ea,this[_0x3cb707(0x425)]=_0x213568,this[_0x3cb707(0x3bb)]=_0x77c25d,this[_0x3cb707(0x2db)]=_0x233518,this[_0x3cb707(0x2e6)]());}['_initEntityListener'](){const _0x90a3ea=_0x449813;this['disposeWithMe'](this[_0x90a3ea(0x44b)][_0x90a3ea(0x434)][_0x90a3ea(0x1fe)](_0x5c4a72=>{const _0x3fbc08=_0x90a3ea,_0x11aba5=this[_0x3fbc08(0x313)]['docStateChange$'][_0x3fbc08(0x1fe)](_0x43b3d1=>{const _0x567c46=_0x3fbc08;if(_0x43b3d1==null)return;const {unitId:_0x4033d8,redoState:_0x1e3c7d,commandId:_0x142e64}=_0x43b3d1;if(_0x4033d8!==_0x5c4a72['unitID'])return;const _0x3dc534={'id':_0x142e64,'type':_0x4921b5[_0x567c46(0x39a)][_0x567c46(0x33e)],'params':{'unitId':_0x4033d8,'actions':_0x1e3c7d[_0x567c46(0x2e0)],'textRanges':null}};_0x5c4a72[_0x567c46(0x3de)](_0x3dc534);});if(_0x5c4a72[_0x3fbc08(0x25c)](_0x11aba5),_0x5c4a72 instanceof _0x1c12f2[_0x3fbc08(0x352)]){const _0x2a795c={'onTransformIME':_0x2d0d7f=>this[_0x3fbc08(0x416)][_0x3fbc08(0x407)](_0x2d0d7f),'onTransformState':_0x3e9bd5=>this['_docTransformStateCacheService'][_0x3fbc08(0x1f5)](_0x3e9bd5),'onTransformSelections':_0x4b18ba=>this[_0x3fbc08(0x419)][_0x3fbc08(0x22b)](_0x4b18ba),'onSyncEditingCollabCursor':_0x120e66=>this[_0x3fbc08(0x425)][_0x3fbc08(0x2d3)](_0x120e66),'onTransformRemoteChangesetByIMECache':_0x259ece=>this[_0x3fbc08(0x416)]['transformRemoteChangeset'](_0x259ece),'onTransformRemoteChangesetByStateCache':_0x39e212=>this[_0x3fbc08(0x322)][_0x3fbc08(0x2f8)](_0x39e212)};_0x5c4a72['addHandlerCallback'](_0x2a795c);}}));}};_0x2f73bf=_0x5ea8be([_0x3b0622(0x0,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)])),_0x3b0622(0x1,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x3b0622(0x2,_0x4921b5[_0x449813(0x41c)](_0x4b3596)),_0x3b0622(0x3,_0x4921b5['Inject'](_0x34c2df)),_0x3b0622(0x4,_0x4921b5[_0x449813(0x41c)](_0x104c36)),_0x3b0622(0x5,_0x4921b5['Inject'](_0x2162e3)),_0x3b0622(0x6,_0x56a892[_0x449813(0x3fb)]),_0x3b0622(0x7,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x2f73bf);var _0xf8c48c=Object[_0x449813(0x29c)],_0x1b0344=(_0x1b357a,_0x787dd5,_0x261a48,_0x3cb5cf)=>{for(var _0x15258e=_0x3cb5cf>0x1?void 0x0:_0x3cb5cf?_0xf8c48c(_0x787dd5,_0x261a48):_0x787dd5,_0x18f007=_0x1b357a['length']-0x1,_0x4da289;_0x18f007>=0x0;_0x18f007--)(_0x4da289=_0x1b357a[_0x18f007])&&(_0x15258e=_0x4da289(_0x15258e)||_0x15258e);return _0x15258e;},_0x226d09=(_0x28b4da,_0x48663b)=>(_0x2a7c28,_0x230dbc)=>_0x48663b(_0x2a7c28,_0x230dbc,_0x28b4da);let _0xe558cc=class extends _0x4921b5['Disposable']{constructor(_0x273495,_0xb5d3a1,_0x4f111e){const _0x5f1f85=_0x449813;super(),_0x8d7f57(this,_0x5f1f85(0x39d),new Map()),_0x8d7f57(this,_0x5f1f85(0x30f),new Map()),_0x8d7f57(this,_0x5f1f85(0x347),!0x1),(this[_0x5f1f85(0x2e5)]=_0x273495,this[_0x5f1f85(0x1f0)]=_0xb5d3a1,this[_0x5f1f85(0x2fa)]=_0x4f111e);}['disableLocalCache'](){const _0xaf6d0a=_0x449813;this[_0xaf6d0a(0x347)]=!0x0;}[_0x449813(0x308)](){const _0x54e4aa=_0x449813;this[_0x54e4aa(0x347)]=!0x1;}get[_0x449813(0x45c)](){const _0x46755d=_0x449813;return this[_0x46755d(0x30f)];}[_0x449813(0x2ec)](){const _0x5ed37f=_0x449813;this['exhaustSavingTask']()['then'](()=>super[_0x5ed37f(0x2ec)]());}async[_0x449813(0x25b)](_0xc13a14){const _0x49f3d0=_0x449813;return this[_0x49f3d0(0x347)]?null:this['_localStorageService']['getItem'](_0x1c12f2[_0x49f3d0(0x391)](_0xc13a14));}async[_0x449813(0x3c6)](_0x3af88f,_0x3f847a){const _0x3cb8d0=_0x449813;return!!this[_0x3cb8d0(0x1f0)][_0x3cb8d0(0x2b2)](_0x3af88f,_0x3f847a);}[_0x449813(0x1fb)](_0x15ba16,_0x48b2f9,_0x4e9860,_0x4f90b3){const _0x179314=_0x449813,_0x1a729e=this['_revisionService'][_0x179314(0x363)](_0x15ba16);this['_cachedData'][_0x179314(0x2a1)](_0x15ba16,{'unitID':_0x15ba16,'type':_0x48b2f9,'awaitingChangeset':_0x4e9860,'mutations':_0x4f90b3,'rev':_0x1a729e}),this[_0x179314(0x30f)]['has'](_0x15ba16)||this['_scheduleSaving'](_0x15ba16);}[_0x449813(0x1e4)](_0x2a6a6d){const _0x437631=_0x449813,_0x2b58c7=this[_0x437631(0x2c9)]();_0x2b58c7===0x0?this[_0x437631(0x244)](_0x2a6a6d):this[_0x437631(0x30f)][_0x437631(0x2a1)](_0x2a6a6d,setTimeout(()=>this['_saveCache'](_0x2a6a6d),_0x2b58c7));}[_0x449813(0x2c9)](){const _0x51393d=_0x449813;var _0x24a059;return(_0x24a059=this[_0x51393d(0x2e5)][_0x51393d(0x471)](_0x1c12f2['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x24a059:_0x1c12f2['LOCAL_CACHE_INTERVAL'];}[_0x449813(0x244)](_0x3b7f7e){const _0x3663fe=_0x449813,_0x40b627=this[_0x3663fe(0x30f)][_0x3663fe(0x2dd)](_0x3b7f7e);return _0x40b627!==void 0x0&&window[_0x3663fe(0x2ba)](_0x40b627),this[_0x3663fe(0x1f0)][_0x3663fe(0x2b2)](_0x1c12f2[_0x3663fe(0x391)](_0x3b7f7e),this[_0x3663fe(0x39d)]['get'](_0x3b7f7e))[_0x3663fe(0x3ef)](()=>this[_0x3663fe(0x30f)][_0x3663fe(0x474)](_0x3b7f7e));}async[_0x449813(0x358)](){const _0x12408d=_0x449813,_0x36dd1d=[];this[_0x12408d(0x30f)]['forEach']((_0x405ad4,_0x84f8e0)=>{const _0x365f6b=_0x12408d;window['clearTimeout'](_0x405ad4),_0x36dd1d[_0x365f6b(0x2a3)](this[_0x365f6b(0x244)](_0x84f8e0)['then'](()=>{const _0x2005de=_0x365f6b;this[_0x2005de(0x30f)][_0x2005de(0x474)](_0x84f8e0);}));}),await Promise[_0x12408d(0x2df)](_0x36dd1d);}};_0xe558cc=_0x1b0344([_0x226d09(0x0,_0x4921b5[_0x449813(0x2f5)]),_0x226d09(0x1,_0x4921b5[_0x449813(0x356)]),_0x226d09(0x2,_0x4921b5[_0x449813(0x41c)](_0x1a4d3b[_0x449813(0x421)]))],_0xe558cc);class _0x589d2e extends _0x4921b5[_0x449813(0x442)]{constructor(){const _0x33b963=_0x449813;super(),_0x8d7f57(this,'urlChange$'),this[_0x33b963(0x21d)]=_0x66da6e[_0x33b963(0x1e5)](window,_0x33b963(0x26e))[_0x33b963(0x35e)](_0x66da6e[_0x33b963(0x34f)](this['dispose$']),_0x66da6e[_0x33b963(0x255)](0x1),_0x66da6e[_0x33b963(0x3f3)](void 0x0));}[_0x449813(0x2c4)](_0x2fe2f8,_0x1d06ef,_0x36e547=!0x1){const _0x257b2a=_0x449813,_0x484cac=new URL(window[_0x257b2a(0x345)][_0x257b2a(0x31b)]);_0x484cac[_0x257b2a(0x3be)][_0x257b2a(0x2a1)](_0x2fe2f8,_0x1d06ef),_0x36e547?window['history'][_0x257b2a(0x21e)]('','',_0x484cac[_0x257b2a(0x36d)]()):window[_0x257b2a(0x2a8)][_0x257b2a(0x21f)]('','',_0x484cac[_0x257b2a(0x36d)]());}[_0x449813(0x2a5)](_0x1ef7c9,_0x1818e5=!0x1){const _0x7319b7=_0x449813,_0x30b5f9=new URL(window[_0x7319b7(0x345)]['href']);_0x30b5f9[_0x7319b7(0x3be)]['delete'](_0x1ef7c9),_0x1818e5?window[_0x7319b7(0x2a8)][_0x7319b7(0x21e)]('','',_0x30b5f9[_0x7319b7(0x36d)]()):window['history'][_0x7319b7(0x21f)]('','',_0x30b5f9[_0x7319b7(0x36d)]());}[_0x449813(0x372)](_0x2671eb){const _0x87f5fc=_0x449813;var _0x319d7a;return(_0x319d7a=new URL(window[_0x87f5fc(0x345)][_0x87f5fc(0x31b)])[_0x87f5fc(0x3be)][_0x87f5fc(0x2dd)](_0x2671eb))!=null?_0x319d7a:void 0x0;}}var _0x5827e7=Object[_0x449813(0x388)],_0x2c381d=Object['getOwnPropertyDescriptor'],_0x472c2c=(_0x12939d,_0x4b45d5,_0x312804)=>_0x4b45d5 in _0x12939d?_0x5827e7(_0x12939d,_0x4b45d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x312804}):_0x12939d[_0x4b45d5]=_0x312804,_0x2aab85=(_0x3821be,_0x4586bc,_0x25a4e1,_0x5679c5)=>{const _0x4802d0=_0x449813;for(var _0x5e222c=_0x5679c5>0x1?void 0x0:_0x5679c5?_0x2c381d(_0x4586bc,_0x25a4e1):_0x4586bc,_0x2aaec4=_0x3821be[_0x4802d0(0x418)]-0x1,_0x4c0b6d;_0x2aaec4>=0x0;_0x2aaec4--)(_0x4c0b6d=_0x3821be[_0x2aaec4])&&(_0x5e222c=_0x4c0b6d(_0x5e222c)||_0x5e222c);return _0x5e222c;},_0x93a56b=(_0xa97c59,_0x1df76e)=>(_0x3d5f68,_0x597159)=>_0x1df76e(_0x3d5f68,_0x597159,_0xa97c59),_0x97cd59=(_0x333724,_0x190bdc,_0x251749)=>_0x472c2c(_0x333724,_0x190bdc+'',_0x251749);const _0x1b69a2='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x11d7a5['UniverCollaborationClientUIPlugin']=class extends _0x4921b5[_0x449813(0x447)]{constructor(_0x1f6651=_0x752cfd,_0x22b6fa,_0x6a4f52,_0x327774){const _0x240f06=_0x449813;super(),this[_0x240f06(0x462)]=_0x1f6651,this[_0x240f06(0x3af)]=_0x22b6fa,this[_0x240f06(0x27f)]=_0x6a4f52,this[_0x240f06(0x2e5)]=_0x327774;const {..._0x379585}=_0x4921b5['merge']({},_0x752cfd,this[_0x240f06(0x462)]);this['_configService'][_0x240f06(0x278)](_0x4dbd1e,_0x379585);}[_0x449813(0x2e1)](){const _0x2432cf=_0x449813;this[_0x2432cf(0x432)](),this[_0x2432cf(0x2c2)]();}[_0x449813(0x297)](){const _0x572110=_0x449813;this[_0x572110(0x254)]();}[_0x449813(0x432)](){const _0xb883c3=_0x449813;var _0x4a7306;const _0x224280=[[_0xac4cbd],[_0x104c36],[_0x4b3596],[_0x34c2df],[_0x2162e3],[_0x475a16,{'useClass':_0x589d2e}],[_0x1d4e08[_0xb883c3(0x1de)],{'useClass':_0x1d4e08['WebSocketService']}],[_0x1c12f2[_0xb883c3(0x240)],{'useClass':_0xe558cc}],[_0x11d7a5['DesktopCollaborationStatusDisplayController']],[_0x2f73bf],[_0x803c51],[_0x3d739c],[_0x310481],[_0x11d7a5[_0xb883c3(0x408)]]];_0x4921b5['registerDependencies'](this['_injector'],_0x4921b5[_0xb883c3(0x2cd)](_0x224280,(_0x4a7306=this[_0xb883c3(0x462)])==null?void 0x0:_0x4a7306[_0xb883c3(0x346)]));}[_0x449813(0x254)](){const _0x42868d=_0x449813;this['disposeWithMe'](this['_renderManagerService'][_0x42868d(0x46a)](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x299)],[_0x3a30e1])),this['disposeWithMe'](this[_0x42868d(0x3af)]['registerRenderModule'](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x262)],[_0x3bab0f]));}['_initDependencies'](){const _0xdb86e2=_0x449813;_0x4921b5[_0xdb86e2(0x3d5)](this[_0xdb86e2(0x27f)],[[_0x3d739c],[_0x11d7a5[_0xdb86e2(0x2cb)]],[_0x2f73bf],[_0x803c51],[_0x11d7a5[_0xdb86e2(0x408)]]]);}},_0x97cd59(_0x11d7a5[_0x449813(0x35c)],_0x449813(0x417),_0x1b69a2),_0x11d7a5[_0x449813(0x35c)]=_0x2aab85([_0x4921b5['DependentOn'](_0x1c12f2['UniverCollaborationClientPlugin']),_0x93a56b(0x1,_0x22d409[_0x449813(0x2e2)]),_0x93a56b(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x93a56b(0x3,_0x4921b5['IConfigService'])],_0x11d7a5[_0x449813(0x35c)]);var _0x2a22d8=Object[_0x449813(0x29c)],_0x445dad=(_0x5a6cee,_0x1aa160,_0x1def1c,_0x3ba387)=>{for(var _0x3da75b=_0x3ba387>0x1?void 0x0:_0x3ba387?_0x2a22d8(_0x1aa160,_0x1def1c):_0x1aa160,_0x51cf11=_0x5a6cee['length']-0x1,_0x187622;_0x51cf11>=0x0;_0x51cf11--)(_0x187622=_0x5a6cee[_0x51cf11])&&(_0x3da75b=_0x187622(_0x3da75b)||_0x3da75b);return _0x3da75b;},_0x27de08=(_0xb84cca,_0x3bf2e8)=>(_0x5e505b,_0x41bb26)=>_0x3bf2e8(_0x5e505b,_0x41bb26,_0xb84cca);_0x11d7a5['BrowserCollaborationSocketService']=class extends _0x1c12f2['CollaborationSocketService']{constructor(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733){super(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733);}async[_0x449813(0x410)](_0x371686){const _0x3536f5=_0x449813,_0x5b758a=await this[_0x3536f5(0x331)](),_0x4f83a3=this[_0x3536f5(0x281)](_0x371686,_0x5b758a);return this[_0x3536f5(0x41b)](_0x4f83a3);}[_0x449813(0x281)](_0x479234,_0x1f0c7f){const _0x261202=_0x449813,_0x3b65cf=typeof window>'u'?new URL(_0x479234):new URL(_0x479234,window[_0x261202(0x345)][_0x261202(0x22f)]);_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x2af),_0x1f0c7f);const _0x1d03ea=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x261202(0x345)][_0x261202(0x390)]);return _0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))&&_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x26f),_0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))),_0x3b65cf[_0x261202(0x36d)]();}async['_getSessionTicket'](){const _0x19570c=_0x449813;var _0x6d7e8e,_0x5f5a8b,_0x5d0f44;const _0x443da5=this[_0x19570c(0x2e5)][_0x19570c(0x471)](_0x1c12f2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xc275e4=(_0x6d7e8e=_0x443da5==null?void 0x0:_0x443da5['wsSessionTicketUrl'])!=null?_0x6d7e8e:_0x1c12f2[_0x19570c(0x44e)];return(_0x5d0f44=(_0x5f5a8b=(await this[_0x19570c(0x2fb)][_0x19570c(0x2dd)](_0xc275e4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5f5a8b[_0x19570c(0x441)])!=null?_0x5d0f44:'';}},_0x11d7a5[_0x449813(0x208)]=_0x445dad([_0x27de08(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x27de08(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x27de08(0x2,_0x4921b5[_0x449813(0x2f5)]),_0x27de08(0x3,_0x4921b5[_0x449813(0x2ee)]),_0x27de08(0x4,_0x1a4d3b[_0x449813(0x465)])],_0x11d7a5[_0x449813(0x208)]);var _0xde315c=(_0xb75d82=>(_0xb75d82[_0xb75d82[_0x449813(0x248)]=0x0]='UNDEFINED',_0xb75d82[_0xb75d82['OK']=0x1]='OK',_0xb75d82[_0xb75d82[_0x449813(0x2c0)]=0x2]='INTERNAL_ERROR',_0xb75d82[_0xb75d82[_0x449813(0x3eb)]=0x3]='PERMISSION_DENIED',_0xb75d82[_0xb75d82['NOT_FOUND']=0x4]='NOT_FOUND',_0xb75d82[_0xb75d82['UNAUTHENTICATED']=0x5]=_0x449813(0x2a9),_0xb75d82[_0xb75d82[_0x449813(0x362)]=0x6]=_0x449813(0x362),_0xb75d82[_0xb75d82['INVALID_ARGUMENT']=0x7]=_0x449813(0x32f),_0xb75d82[_0xb75d82[_0x449813(0x342)]=0x8]='TOO_MANY_REQUESTS',_0xb75d82[_0xb75d82['COMPLETION_FINISHED']=0x9]=_0x449813(0x318),_0xb75d82[_0xb75d82[_0x449813(0x269)]=0xa]=_0x449813(0x269),_0xb75d82[_0xb75d82[_0x449813(0x1ef)]=0xb]=_0x449813(0x1ef),_0xb75d82[_0xb75d82[_0x449813(0x3f5)]=0xc]=_0x449813(0x3f5),_0xb75d82[_0xb75d82[_0x449813(0x392)]=0xd]=_0x449813(0x392),_0xb75d82[_0xb75d82['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x449813(0x2eb),_0xb75d82[_0xb75d82['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x449813(0x464),_0xb75d82[_0xb75d82[_0x449813(0x2a7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb75d82[_0xb75d82[_0x449813(0x2c5)]=0x1772]=_0x449813(0x2c5),_0xb75d82[_0xb75d82[_0x449813(0x39e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xb75d82[_0xb75d82[_0x449813(0x1df)]=0x1b59]=_0x449813(0x1df),_0xb75d82[_0xb75d82[_0x449813(0x365)]=0x1b5a]=_0x449813(0x365),_0xb75d82[_0xb75d82[_0x449813(0x252)]=0x1b5b]=_0x449813(0x252),_0xb75d82[_0xb75d82[_0x449813(0x2f3)]=0x1b5c]=_0x449813(0x2f3),_0xb75d82[_0xb75d82[_0x449813(0x2bf)]=0x1b5d]=_0x449813(0x2bf),_0xb75d82[_0xb75d82['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xb75d82[_0xb75d82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x449813(0x446),_0xb75d82[_0xb75d82[_0x449813(0x45e)]=0x232a]=_0x449813(0x45e),_0xb75d82[_0xb75d82['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x449813(0x260),_0xb75d82[_0xb75d82[_0x449813(0x27d)]=0x232c]=_0x449813(0x27d),_0xb75d82[_0xb75d82[_0x449813(0x20b)]=0x232d]=_0x449813(0x20b),_0xb75d82[_0xb75d82[_0x449813(0x21c)]=0x2711]=_0x449813(0x21c),_0xb75d82[_0xb75d82[_0x449813(0x209)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xb75d82[_0xb75d82['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x449813(0x273),_0xb75d82[_0xb75d82[_0x449813(0x3d8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x3b4)]=0x271a]=_0x449813(0x3b4),_0xb75d82[_0xb75d82[_0x449813(0x3c8)]=0x271b]=_0x449813(0x3c8),_0xb75d82[_0xb75d82[_0x449813(0x3c2)]=0x271c]=_0x449813(0x3c2),_0xb75d82[_0xb75d82[_0x449813(0x3a3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xb75d82[_0xb75d82[_0x449813(0x414)]=0x271e]=_0x449813(0x414),_0xb75d82[_0xb75d82[_0x449813(0x42d)]=0x271f]=_0x449813(0x42d),_0xb75d82[_0xb75d82[_0x449813(0x350)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x241)]=0x2af9]=_0x449813(0x241),_0xb75d82[_0xb75d82[_0x449813(0x3c4)]=0x2ee1]=_0x449813(0x3c4),_0xb75d82[_0xb75d82[_0x449813(0x3e0)]=0x2ee2]=_0x449813(0x3e0),_0xb75d82[_0xb75d82[_0x449813(0x2cf)]=0x2ee3]=_0x449813(0x2cf),_0xb75d82[_0xb75d82[_0x449813(0x20c)]=0x2ee4]=_0x449813(0x20c),_0xb75d82[_0xb75d82[_0x449813(0x323)]=0x2ee5]=_0x449813(0x323),_0xb75d82[_0xb75d82[_0x449813(0x43a)]=0x32c9]=_0x449813(0x43a),_0xb75d82[_0xb75d82[_0x449813(0x30a)]=0x32ca]=_0x449813(0x30a),_0xb75d82[_0xb75d82[_0x449813(0x2ed)]=0x32cb]=_0x449813(0x2ed),_0xb75d82[_0xb75d82[_0x449813(0x204)]=-0x1]=_0x449813(0x204),_0xb75d82))(_0xde315c||{}),_0x5de5b0=Object[_0x449813(0x29c)],_0x1834d9=(_0x303ccf,_0x167d05,_0x1706c4,_0x3e35f7)=>{const _0x4a9eda=_0x449813;for(var _0x3330c3=_0x3e35f7>0x1?void 0x0:_0x3e35f7?_0x5de5b0(_0x167d05,_0x1706c4):_0x167d05,_0x398bc4=_0x303ccf[_0x4a9eda(0x418)]-0x1,_0xedc880;_0x398bc4>=0x0;_0x398bc4--)(_0xedc880=_0x303ccf[_0x398bc4])&&(_0x3330c3=_0xedc880(_0x3330c3)||_0x3330c3);return _0x3330c3;},_0x24d00d=(_0x2423ee,_0xec2bb6)=>(_0x342169,_0x1bc94c)=>_0xec2bb6(_0x342169,_0x1bc94c,_0x2423ee);_0x11d7a5[_0x449813(0x38c)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x3df10f,_0x3ce29e,_0x389592){const _0x221dd5=_0x449813;super(),this[_0x221dd5(0x413)]=_0x3df10f,this[_0x221dd5(0x2fb)]=_0x3ce29e,this[_0x221dd5(0x2e5)]=_0x389592;}async['runOnServer'](_0x3eaa4f,_0x2745bf,_0xc9c0ca,..._0x5771e3){const _0x49a2da=_0x449813;var _0x5d57fe,_0x941a18,_0x197f38,_0x5a4de5;const _0x5c5c31=this['_instanceService'][_0x49a2da(0x27c)]();if(!_0x5c5c31)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x58ded0=((_0x5d57fe=this[_0x49a2da(0x2e5)][_0x49a2da(0x471)](_0x1c12f2['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d57fe:_0x1c12f2[_0x49a2da(0x1f6)])+'/'+_0x3eaa4f+'/run/'+_0x2745bf,_0x10b113=new URL(window[_0x49a2da(0x345)][_0x49a2da(0x31b)]),_0x5b6f06={'scriptId':_0x3eaa4f,'runId':(_0x941a18=_0x10b113[_0x49a2da(0x3be)][_0x49a2da(0x2dd)](_0x49a2da(0x26f)))!=null?_0x941a18:'','function':_0x2745bf,'unitId':_0x5c5c31[_0x49a2da(0x2c6)](),'argsOfFunction':JSON[_0x49a2da(0x206)](_0x5771e3),'invokeId':(_0x197f38=_0xc9c0ca['invokeId'])!=null?_0x197f38:'','executionId':(_0x5a4de5=_0xc9c0ca[_0x49a2da(0x39c)])!=null?_0x5a4de5:''};try{const _0x15887c=await this[_0x49a2da(0x2fb)][_0x49a2da(0x272)](_0x58ded0,{'body':_0x5b6f06});return _0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)]&&_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)][_0x49a2da(0x203)]!==_0xde315c['OK']?_0x49a2da(0x35f):_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x236)];}catch{return _0x49a2da(0x35f);}}},_0x11d7a5['RemoteUniscriptService']=_0x1834d9([_0x24d00d(0x0,_0x4921b5[_0x449813(0x42b)]),_0x24d00d(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x24d00d(0x2,_0x4921b5[_0x449813(0x2f5)])],_0x11d7a5[_0x449813(0x38c)]);const _0x8b6028=0x7530,_0x45f572=_0x449813(0x3b0);class _0x4ad09d extends _0x4921b5['Disposable']{constructor(){const _0x59c1fb=_0x449813;super(),_0x8d7f57(this,'_id',_0x4921b5[_0x59c1fb(0x420)]()),_0x8d7f57(this,_0x59c1fb(0x470),new Set()),_0x8d7f57(this,_0x59c1fb(0x333),new Map()),_0x8d7f57(this,'_heartbeatTimer',null),_0x8d7f57(this,_0x59c1fb(0x243),new Map()),_0x8d7f57(this,_0x59c1fb(0x328),new Map()),this[_0x59c1fb(0x2c7)]();}[_0x449813(0x2ec)](){const _0x1a5f9e=_0x449813;super['dispose'](),this[_0x1a5f9e(0x243)][_0x1a5f9e(0x28b)]((_0x826794,_0x4f0b67)=>this['_removeClearOtherTimer'](_0x4f0b67)),this[_0x1a5f9e(0x2e7)]&&window[_0x1a5f9e(0x476)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1d7210){const _0x122bed=_0x449813;return this[_0x122bed(0x1fc)](_0x1d7210)[_0x122bed(0x35e)](_0x66da6e[_0x122bed(0x2f1)]());}['editingUnit'](_0x5e4eff){const _0x1ef5c9=_0x449813;this[_0x1ef5c9(0x470)][_0x1ef5c9(0x397)]===0x0&&this[_0x1ef5c9(0x22d)](),this[_0x1ef5c9(0x470)][_0x1ef5c9(0x44f)](_0x5e4eff),this[_0x1ef5c9(0x221)]({'type':0x0,'memberID':this[_0x1ef5c9(0x22e)],'unitIDs':[_0x5e4eff],'isForwarded':!0x1});}['disposeUnit'](_0x424438){const _0x11f150=_0x449813;this[_0x11f150(0x470)][_0x11f150(0x474)](_0x424438),this['_selfUnitIDs'][_0x11f150(0x397)]===0x0&&this[_0x11f150(0x2e7)]&&window['clearInterval'](this[_0x11f150(0x2e7)]);}[_0x449813(0x2c7)](){const _0x37fbfc=_0x449813;this['disposeWithMe'](_0x4921b5[_0x37fbfc(0x2ad)](_0x66da6e[_0x37fbfc(0x1e5)](window,'storage')['subscribe'](_0x29e944=>{const _0x2fe05d=_0x37fbfc;if(_0x29e944[_0x2fe05d(0x337)]!==_0x45f572||!_0x29e944[_0x2fe05d(0x291)])return;const _0x232d32=JSON[_0x2fe05d(0x239)](_0x29e944['newValue']);this[_0x2fe05d(0x3bc)](_0x232d32);}))),window[_0x37fbfc(0x23e)](_0x37fbfc(0x445),()=>this['_send']({'type':0x1,'memberID':this[_0x37fbfc(0x22e)],'unitIDs':Array['from'](this[_0x37fbfc(0x470)])}));}[_0x449813(0x3bc)](_0x5c75b4){const _0x307868=_0x449813;switch(_0x5c75b4[_0x307868(0x426)]){case 0x0:this[_0x307868(0x3d1)](_0x5c75b4);break;case 0x1:this[_0x307868(0x32b)](_0x5c75b4);break;case 0x2:this[_0x307868(0x23f)](_0x5c75b4);break;}}[_0x449813(0x3d1)](_0x42ce17){const _0x1bfa4b=_0x449813,{unitIDs:_0x1b69b8,memberID:_0x2dc394,isForwarded:_0x2c3885}=_0x42ce17;_0x1b69b8['forEach'](_0x4c971f=>{const _0x1055c=_0x4bb6;if(!_0x2c3885&&this[_0x1055c(0x333)][_0x1055c(0x3fc)](_0x4c971f)&&this['_ensureSubject'](_0x4c971f)[_0x1055c(0x2fd)](_0x1c12f2[_0x1055c(0x453)][_0x1055c(0x329)]),!this[_0x1055c(0x333)]['has'](_0x4c971f)||!this[_0x1055c(0x333)]['get'](_0x4c971f)['has'](_0x2dc394)){const _0x7d78d5=this[_0x1055c(0x333)][_0x1055c(0x2dd)](_0x4c971f)||new Set();_0x7d78d5['add'](_0x2dc394),this['_unitOnClients']['set'](_0x4c971f,_0x7d78d5),this['_scheduleClearOtherTimer'](_0x2dc394);}}),_0x2c3885||this[_0x1bfa4b(0x221)]({'type':0x0,'memberID':this[_0x1bfa4b(0x22e)],'unitIDs':[...this[_0x1bfa4b(0x470)]],'isForwarded':!0x0});}[_0x449813(0x2d8)](_0x4f2867){const _0x4c9746=_0x449813;this[_0x4c9746(0x380)](_0x4f2867);const _0x262bbf=window[_0x4c9746(0x41e)](()=>{const _0x44b82a=_0x4c9746;this['_unitOnClients'][_0x44b82a(0x28b)](_0x2a7ae5=>{const _0x4fcd32=_0x44b82a;_0x2a7ae5[_0x4fcd32(0x474)](_0x4f2867);});},_0x8b6028*0x2);this['_clearOtherTimers'][_0x4c9746(0x2a1)](_0x4f2867,_0x262bbf);}[_0x449813(0x380)](_0x3e4e14){const _0x49c64b=_0x449813;if(this['_clearOtherTimers']['has'](_0x3e4e14)){const _0x108856=this[_0x49c64b(0x243)]['get'](_0x3e4e14);_0x108856&&window[_0x49c64b(0x2ba)](_0x108856),this['_clearOtherTimers']['set'](_0x3e4e14,null);}}[_0x449813(0x32b)](_0x1041ce){const _0x48a93e=_0x449813,{memberID:_0x33dedc,unitIDs:_0x47bcee}=_0x1041ce;_0x47bcee[_0x48a93e(0x28b)](_0x411006=>{const _0x3ee50f=_0x48a93e;var _0x31f731;const _0x2657d0=this[_0x3ee50f(0x333)][_0x3ee50f(0x2dd)](_0x411006);_0x2657d0&&(_0x2657d0[_0x3ee50f(0x474)](_0x33dedc),(_0x31f731=this[_0x3ee50f(0x1fc)](_0x411006))==null||_0x31f731['next'](_0x2657d0[_0x3ee50f(0x397)]===0x0?_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x2b6)]:_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x329)]));}),this['_removeClearOtherTimer'](_0x33dedc);}[_0x449813(0x23f)](_0x5d6ec8){this['_scheduleClearOtherTimer'](_0x5d6ec8['memberID']);}[_0x449813(0x221)](_0x1c1652){const _0x358202=_0x449813;localStorage[_0x358202(0x2b2)](_0x45f572,JSON['stringify'](_0x1c1652));}[_0x449813(0x22d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x7b8fe9=_0x4bb6;this[_0x7b8fe9(0x221)]({'type':0x2,'memberID':this['_id']});},_0x8b6028);}[_0x449813(0x1fc)](_0xc3efb7){const _0x236e48=_0x449813;return this[_0x236e48(0x328)][_0x236e48(0x3fc)](_0xc3efb7)||this['_unitStatus'][_0x236e48(0x2a1)](_0xc3efb7,new _0x66da6e['BehaviorSubject'](_0x1c12f2[_0x236e48(0x453)][_0x236e48(0x2b6)])),this[_0x236e48(0x328)][_0x236e48(0x2dd)](_0xc3efb7);}}_0x11d7a5[_0x449813(0x245)]=_0x475a16,_0x11d7a5['SheetCollabCursorShape']=_0x1a0019,_0x11d7a5['WebBrowserSingleActiveUnitService']=_0x4ad09d,_0x11d7a5['WebURLService']=_0x589d2e,Object['defineProperty'](_0x11d7a5,Symbol[_0x449813(0x3f8)],{'value':_0x449813(0x463)});}));function _0x4bb6(_0x52253a,_0x1a013c){const _0x27fad7=_0x27fa();return _0x4bb6=function(_0x4bb649,_0x3d3254){_0x4bb649=_0x4bb649-0x1d8;let _0xcffcc0=_0x27fad7[_0x4bb649];return _0xcffcc0;},_0x4bb6(_0x52253a,_0x1a013c);}function _0x27fa(){const _0x3cfac6=['show','_imageIoService','syncEditingCollabCursor','SetTextSelectionsOperation','SHEET_VIEWPORT_KEY','InsertRowCommandId','current','_scheduleClearOtherTimer','jsx','UniverProCollaborationClient','_localeService','getUniverSheetInstance','get','some','all','actions','onStarting','IRenderManagerService','currentTheme$','getAncestorScale','_configService','_initEntityListener','_heartbeatTimer','forwardRef','getCoordByCell','_setupSubUnitSync','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','EMAIL_HAS_BEEN_BOUND','ILogService','SYNCED','endColumn','distinctUntilChanged','_labelPosition','APPLY_PERMISSION_DENIED','_uiPartsService','IConfigService','_updateLocalCursor','red.300','transformRemoteChangeset','FromArray','_revisionService','_httpService','IUIPartsService','next','748rIKzHG','NodePositionConvertToRectRange','DocStateChangeManagerService','handleInsertCol','UniverEngineFormula','UniverDesign','DocSkeletonManagerService','replace','_entities','getColor','enableLocalCache','colorChannel1','MOBILE_HAS_BEEN_BOUND','#FFF','unsubscribe','whenReady','_backgroundColor','_saveTaskMap','ITransformService','_initStatusComponent','_session','_docStateChangeManagerService','_range','clsx','skeleton','_themeService','COMPLETION_FINISHED','subUnitId','yellow.400','href','round','text','name','_drawRectRange','range','univerjs-icon\x20univerjs-icon-','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','@univerjs/docs','0\x200\x2017\x2016','getSkeleton','_collaborationUIEventService','_unitStatus','OTHER_CLIENTS_EDITING','_startSheetCollabCursor','_handleLeaveEvent','DataLoaderService','USERS_LEAVE','getCellPositionByOffset','INVALID_ARGUMENT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','setActiveRange','_unitOnClients','Optional','_syncEditingCollabCursorService','SetDocZoomRatioOperation','key','RichTextEditingMutation','executeCommand','bottom','onPointerEnter$','reconnect','map','MUTATION','find','debug','_getMergeRange','TOO_MANY_REQUESTS','_cursorInfo$','save','location','override','_disabled','transformMutationsWithChangeset','_removeCollabCursors','getCurrent','useObservable','event$','on-line-icon','fillRule','takeUntil','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverInstanceType','DocCollaborationEntity','11078796ODSnNy','path','loadUnit','ILocalStorageService','[CollaborationDataLoaderController]','exhaustSavingTask','_colorIndex','ICommandService','registerBeforeClose','UniverCollaborationClientUIPlugin','startColumn','pipe','Failed','switchMap','prototype','ALREADY_EXISTS','getCurrentRevOfUnit','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','MemberService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMergeData','_transformPreviousActiveRange','_cursors','_toggleOnline','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','toString','xlink:href','lineTo','roomMembers$','_lastPointer','getParam','fill','InsertColCommandId','CollaborationStatus','UniverProCollaborationClientUi','_assignedColors','SOCKET_FAILED_RETRY','selection','asObservable','random','idSuffix','assign','exports','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','_removeClearOtherTimer','OFFLINE','function','InsertRangeMoveDownCommandId','UniverDocs','indexOf','EffectRefRangId','transformByState','defineProperty','sessionStatus$','getCollabCursors$','call','RemoteUniscriptService','UniverUi','subscribeEvent','engine','search','getLocalCacheKey','EMAIL_VERIFY_CODE_MISMATCH','getVpScrollXYInfoByPosToVp','defIds','getRangePointData','object','size','_shapes','http://www.w3.org/2000/svg','CommandType','collabStatus.conflict','executionId','_cachedData','ENSURE_SNAPSHOT_EXECUTION','_context','CollaborationUIEventId','isActive','from','YUUMI_ALL_TABLES_IS_INVALID','_localCacheService','_color','_univerInstanceService','_docClipboardService','translate(.97)','none','font','deserializeRangeWithSheet','debounce','AWAITING_WITH_PENDING','startRow','_renderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','ranges','_eventUnsubscribe','1em','YUUMI_NO_CUBOID_FOR_QUESTION','Subject','getTypeOfUnitDisposed$','CollaborationEvent','_onRefRangeChange','getCurrentUnitForType','Shape','_messageService','_handleEvent','getDocRanges','searchParams','redoState','SOCKET_FAILED','_transformUndoRedoStack','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/engine-render','INVITE_CODE_HAS_BEEN_UES','sheetId','saveOfflineData','includes','YUUMI_ASYNCIO_CANCELLED','green.600','_updateSubUnitFromURLParams','use','RemoveRowCommandId','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-icon','_initCommandExecutedListener','_handleJoinEvent','react','IRemoteInstanceService','send','touchDependencies','arc','getColorFromTheme','YUUMI_SUBSCRIPTION_NOT_FOUND','white','black','getRenderById','eventID','_colorAssignService','onLocalMutation','_sheetSkeletonManagerService','INVALID_INVITE_CODE','registerRefRange','_getSheetObject','collaboration-client.offline-data-not-saved','session.collaboration-timeout','mutations','getOffsetConfig','CLOSE_ROOM','@univerjs-pro/collaboration-client','off-line-icon_clip0_910_343','div','PERMISSION_DENIED','0\x200\x2016\x2016','useDependency','COLORS','then','SessionStatus','INotificationService','icon','mapTo','toRgbString','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addClipboardHook','_logService','toStringTag','_urlService','handleInsertRangeMoveDown','IMessageService','has','_collabCursorController','children','MoveRangeCommandId','trim','filter','_anchorDot','handleInsertRangeMoveRight','_initEvent','source','_roomMembers$','transformIMECache','CollaborationDataLoaderController','SheetsSelectionsService','split','AWAITING','UniverProCollaboration','Unknown\x20user','ColorKit','sheetID','createSocket','defs','handleIRemoveCol','_instanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','string','_docTransformIMECacheService','pluginName','length','_docTransformSelectionsService','isTransformMutationFailure','_doCreateSocket','Inject','dispose$','setTimeout','1017JTYMxK','generateRandomId','RevisionService','getTypeOfUnitAdded$','_beforeCloseService','_name','_docSyncEditingCollabCursorService','type','_refreshCollabCursors','91857OHzMwJ','collaboration-client-ui.config','UniverSheets','IUniverInstanceService','jsxs','YUUMI_AI_RUN_FAILED','6lVQXRb','contains','_updateCollabCursors','connectInjector','_registerDependencies','_getScale','entityInit$','body','collabStatus.notCollab','drawWith','selections','doc.mutation.rich-text-editing','WECHAT_HAS_BEEN_BOUND','_hideTimer','setAlpha','M0\x200H16V16H0z','@univerjs/core','_dataLoaderService','_collabCursorState$','ticket','RxDisposable','_hovered','TEXT_RANGE_LAYER_INDEX','unload','LICENSE_MAX_UNITS_EXCEEDED','Plugin','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/docs-ui','debounceTime','_collaborationController','restore','NodePositionConvertToCursor','DEFAULT_WS_SESSION_TICKET_URL','add','onPointerMove$','105016kapljQ','requireSession','UnitStatus','transformMutation','concat','min','on-line-icon_clip0_910_349','useRef','fillText','getSheetId','evenodd','saveTaskMap','endRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url(#$1','combineLatest','_config','Module','CHANGESET_REVISION_CONFILICT','ISnapshotServerService','@univerjs/sheets-ui','url(#off-line-icon_clip0_910_343)','RegularPolygon','blue.400','registerRenderModule','LocaleService','onCommandExecuted','UPDATE_CURSOR','_cursor','Error','_selfUnitIDs','getConfig','getActiveSheet','complete','delete','resize','clearInterval','8688939ptPjtz','collab-client.tooltip.reconnect','serializeRangeWithSheet','isArray','symbol','addObjects','_textBubble','BuiltInUIPart','...','ISocketService','APPLY_REJECT','SetWorksheetActivateCommand','UniverDocsUi','createIdentifier','_render','_scheduleSaving','fromEvent','collabStatus.offline','className','data','univer-flex\x20univer-items-center','values','triggerDblclick','getMemberID','hovered','UniverRpc','MOBILE_VERIFY_CODE_MISMATCH','_localStorageService','transform','SheetSkeletonManagerService','getViewport','setShapeProps','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','measureText','fromEventSubject','_drawAnchor','_toggleOffline','updateOfflineData','_ensureSubject','2600kHUfeJ','subscribe','IDocClipboardService','attrs','deepClone','_entityInit$','code','UNRECOGNIZED','unshift','stringify','getStateCache','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','displayName','LICENSE_DISTRO_REJECTED','USER_NOT_INVITED_CODE','getMember','createInstance','assignAColorForMemberID','collab-text-range-','_anchor','merge','tag','UniverSheetsUi','_status$','_transformService','829dffBCl','hasOwnProperty','_docSkeletonManagerService','CollaborationController','roomMembers','YUUMI_UNABLE_LOAD_URL','urlChange$','replaceState','pushState','cursorInfo','_send','substring','useCallback','CONFLICT','@univerjs/ui','addObject','activeSheet$','rxjs','_scene','apply','transformSelections','mask','_scheduleHeartbeat','_id','origin','currentColor','getCurrentSelections','100xaOKiS','subunit','closePath','_cursorShapes','result','init','_startDocCollabCursor','parse','hide','VIEW_MAIN','m1Prime','_notificationService','addEventListener','_handleHeartbeatEvent','ILocalCacheService','PY_RUNTIME_SCRIPT_ERROR','@univerjs/drawing','_clearOtherTimers','_saveCache','IURLService','undoState','imageSourceType','UNDEFINED','_getAnchorBounding','findNodePositionByCharIndex','getOwnPropertySymbols','Injector','_updateURLWithCurrentState','_setupBeforeClosingHandler','m2Prime','RefRangeService','focused$','APPLY_REVISION_CONFILICT','_online','_registerRenderDependencies','shareReplay','Vector2','_onCursorDelete','column','getSheetObject','replaceDocRanges','loadOfflineData','disposeWithMe','Tools','ThemeService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','UniverNetwork','UNIVER_SHEET','_hover','max','getCollabEntity$','IBeforeCloseService','76538bglnXy','params','LOGIN_FAILED','CollaborationUIEventService','jiqing.500','DocIMEInputManagerService','collaboration.closeRoom','popstate','runId','PENDING','collab-text-anchor-','post','YUUMI_RATE_OVER_LIMIT','isEditing','Rect','collabCursorState$','_onCursorUpdate','setConfig','clipPath','height','TEXT','getFocusedUnit','LICENSE_EXPORT_SIZE_EXCEEDED','with','_injector','status$','_createSocketURL','svg','isTransformMutationsWithChangesetSuccess','UniverDrawing','DOC_RANGE_TYPE','row','unit','error','createElement','collabStatus.fetchMiss','forEach','ONLINE','cursorInfo$','onMouseMove','Workbook','DocSelectionManagerService','newValue','Disposable','_memberService','session.will-retry','handleInsertRow','beginPath','onRendered','@univerjs/network','UNIVER_DOC','NOT_COLLAB','getUnhiddenWorksheets','getOwnPropertyDescriptor','856855LJEHiz','OffLineIcon','_refRangeService','_commandService','set','unitId','push','IImageIoService','removeParam','top','SNAPSHOT_INVALID_SNAPSHOT','history','UNAUTHENTICATED','uni.network.url-service','_initResize','MessageType','toDisposable','BehaviorSubject','sessionTicket','width','Warning','setItem','unitID','getValue','JOIN_ROOM_FAILED','NO_OTHER_CLIENTS_EDITING','makeDirty','purple.300','permission.title','clearTimeout','InsertRangeMoveRightCommandId','@univerjs/design','getSheetBySheetId','_drawTextRange','APPLY_DUPLICATED','INTERNAL_ERROR','color','_initDependencies','collabStatus.syncing','setParam','SNAPSHOT_HAS_BEEN_REMOVED','getUnitId','_init','_collabSessionService','_getSaveTimeout','setStateCache','DesktopCollaborationStatusDisplayController','React','mergeOverrideWithDependencies','textRanges','INVITE_CODE_REQUIRED','entries'];_0x27fa=function(){return _0x3cfac6;};return _0x27fa();}
|
|
1
|
+
function _0x315a(){const _0x16e542=['UniverCollaborationClientUIPlugin','doc.mutation.rich-text-editing','useRef','Workbook','memberID','show','isActive','getColor','transformByState','length','120KCQLWK','_collabCursorController','getTypeOfUnitDisposed$','APPLY_NON_SEQUENTIAL_REVISION','_colorAssignService','url(#off-line-icon_clip0_910_343)','Unknown\x20user','m1Prime','COMPLETION_FINISHED','INTERNAL_ERROR','INVITE_CODE_ALREADY_BOUND','transformRemoteChangeset','USER_NOT_INVITED_CODE','set','loadUnit','Failed','_getAnchorBounding','current','getCoordByCell','restore','DeleteRangeMoveUpCommandId','createInstance','useObservable','apply','generateRandomId','collabStatus.synced','_configService','SheetSkeletonManagerService','mutations','flatMap','_sheetSkeletonManagerService','ILocalCacheService','saveImage','AWAITING_WITH_PENDING','collab-text-anchor-','WebBrowserSingleActiveUnitService','getFocusedUnit','saveOfflineData','_collaborationUIEventService','Rect','getActiveSheet','isEditing','_refreshCollabCursors','next','_send','roomMembers','Subject','stringify','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_notificationService','getUnitStatus$','triggerDblclick','collab-rect-range-','getOwnPropertySymbols','history','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','className','_scheduleSaving','_updateLocalCursor','_commandService','_shapes','DesktopCollaborationStatusDisplayController','svg','registerComponent','CLOSE_ROOM','saveTaskMap','Tooltip','UNAUTHENTICATED','jsx','getCurrentSelections','_saveTaskMap','getUndoRedoMutationParamsCache','_colorIndex','0\x200\x2017\x2016','href','search','round','location','filter','CONNECTOR_DATA_TOO_LARGE','DisposableCollection','OffLineIcon','UniverEngineFormula','RefRangeService','getMemberID','Tools','_registerRenderDependencies','max','_docSyncEditingCollabCursorService','useCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','height','MemberService','clearInterval','serializeRangeWithSheet','unitID','getRangePointData','RemoteUniscriptService','_collaborationController','DependentOn','MessageType','INVALID_INVITE_CODE','_univerInstanceService','IMessageService','replaceState','EffectRefRangId','collabStatus.fetchMiss','_urlService','MOBILE_VERIFY_CODE_MISMATCH','collabStatus.offline','touchDependencies','enableLocalCache','CollaborationDataLoaderController','getStateCache','red.300','OTHER_CLIENTS_EDITING','_cursorInfo$','cursorInfo','_startDocCollabCursor','registerRenderModule','replace','_doCreateSocket','getDocRanges','UniverDrawing','BrowserCollaborationSocketService','RxDisposable','runOnServer','labelPosition','_instanceService','_onRefRangeChange','/run/','TOO_MANY_REQUESTS','3083643vDZMES','transformSelections','combineLatest','LocaleService','_startSheetCollabCursor','_collabCursorState$','TEXT','OnLineIcon','UniverInstanceType','@univerjs/sheets-ui','source','Rectangle','_handleHeartbeatEvent','_hideTimer','SetSelectionsOperation','PY_RUNTIME_SCRIPT_ERROR','IConfigService','white','DocIMEInputManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collaboration-client-ui.config','pipe','setParam','1853820XwjLuE','type','_selfUnitIDs','makeDirty','_entityInit$','handleInsertRangeMoveRight','subscribeEvent','univer-flex\x20univer-items-center','_initEntityListener','runRefRangeMutations','_initResize','_hovered','_updateCollabCursors','ColorKit','addObjects','children','WebURLService','idSuffix','debounceTime','getCellPositionByOffset','getAncestorScale','debug','_onCursorDelete','row','startsWith','handleInsertRangeMoveDown','@univerjs/ui','LOGIN_FAILED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','disposeWithMe','_collabSessionService','9420vgvHlW','_docStateChangeManagerService','DocSelectionManagerService','unshift','getOwnPropertyDescriptor','url(#$1','_session','complete','onCommandExecuted','contains','_getMergeRange','collabStatus.conflict','YUUMI_NO_CUBOID_FOR_QUESTION','defIds','_getSaveTimeout','getUnitId','ONLINE','_anchorDot','transformIMECache','_ensureSubject','UniverIcon','startColumn','includes','CONFLICT','string','removeParam','transformStateCache','setStateCache','DataLoaderService','USERS_LEAVE','transformMutation','focused$','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','2lGwPNQ','_id','_lastPointer','registerBeforeClose','CollaborationController','SNAPSHOT_INVALID_SNAPSHOT','getColorFromTheme','SheetCollabCursorShape','collabStatus.syncing','UniverNetwork','RichTextEditingMutation','searchParams','eventID','INVALID_ARGUMENT','roomMembers$','setShapeProps','shareReplay','setInterval','UNIVER_DOC','_revisionService','ITransformService','exports','fillText','CollaborationSessionService','UPDATE_CURSOR','NodePositionConvertToCursor','_drawAnchor','@univerjs/sheets','exhaustSavingTask','_transformUndoRedoStack','_unitStatus','displayName','propertyIsEnumerable','UniverRpc','_handleEvent','YUUMI_ASYNCIO_CANCELLED','UNRECOGNIZED','collab-client.tooltip.reconnect','_docSkeleton','getVpScrollXYInfoByPosToVp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createSocket','path','NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','onStarting','call','JOIN_ROOM_FAILED','_syncEditingCollabCursorService','_renderManagerService','_color','symbol','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','addEventListener','setAlpha','NOT_COLLAB','getSkeleton','PERMISSION_DENIED','RECT','UniverSheetsUi','resize','transformMutationsWithChangeset','DocCollaborationEntity','icon','Vector2','getSheetBySheetId','createElement','OFFLINE','fill','debounce','TEXT_RANGE_LAYER_INDEX','getCollabCursors$','fromEvent','HTTPService','_labelPosition','green.600','UniverDesign','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','session.connection-failed','onLocalMutation','getSheetId','ILocalStorageService','getOffsetConfig','add','onPointerLeave$','setActiveRange','MOBILE_HAS_BEEN_BOUND','Error','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','112853QxpcXe','LOCAL_CACHE_INTERVAL','APPLY_REJECT','UNDEFINED','CollaborationUIEventService','_messageService','getMember','_docTransformIMECacheService','_logService','_heartbeatTimer','split','wsSessionTicketUrl','replaceDocRanges','_cursorShapes','error','YUUMI_RATE_OVER_LIMIT','defineProperty','mergeOverrideWithDependencies','0\x200\x2016\x2016','@univerjs-pro/collaboration-client','EMAIL_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','text','[CollaborationDataLoaderController]','currentTheme$','executionId','YUUMI_AI_RUN_FAILED','Plugin','_getSessionTicket','_onCursorUpdate','object','_handleJoinEvent','switchMap','some','width','rxjs/operators','COLORS','onRendered','closePath','_toggleOnline','drawWith','getUnhiddenWorksheets','activeSheet$','_cursor','registerDependencies','InsertColCommandId','_setupBeforeClosingHandler','SessionStatus','selection','univer-mr-2\x20univer-flex\x20univer-text-xl','black','_initStatusComponent','urlChange$','origin','_range','actions','random','unit','session.collaboration-timeout','BehaviorSubject','_beforeCloseService','SYNCED','connectInjector','_setupSubUnitSync','CollaborationSocketService','body','delete','_transformPreviousActiveRange','_handleHover','fillStyle','getParam','forwardRef','660ymhXlC','isArray','concat','colorChannel1','rxjs','name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','findNodePositionByCharIndex','cursorInfo$','forEach','ENSURE_SNAPSHOT_EXECUTION','Warning','entityInit$','useDependency','40440DxZhyr','handleDeleteRangeMoveUp','SetWorksheetActivateCommand','uni.network.url-service','_docTransformSelectionsService','collaboration-client.offline-data-not-saved','2574McGWdd','isTransformMutationFailure','onMouseMove','onPointerEnter$','attrs','skeleton','_init','sessionTicket','_status$','_transformService','CollaborationStatus','5lQRRHw','takeUntil','popstate','entries','react/jsx-runtime','evenodd','collaboration.single-unit.warning','from','get','amd','...','merge','syncEditingCollabCursor','toRgbString','InsertRangeMoveDownCommandId','data','setItem','reconnect','@univerjs/docs','disableLocalCache','collab-text-range-','InsertRangeMoveRightCommandId','clearTimeout','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','deepClone','all','CollaborationUIEventId','with','ranges','Optional','addClipboardHook','M0\x200H16V16H0z','subUnitId','RevisionService','_render','OTHER_CLIENT_EDITING','701955bkisTg','mask','DocStateChangeManagerService','@univerjs/engine-render','handleMoveRange','_refRangeService','m2Prime','transform','Injector','@univerjs/drawing','_clearOtherTimers','YUUMI_ALL_TABLES_IS_INVALID','indexOf','Shape','collabCursorState$','FromArray','1em','_name','getCurrent','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','prototype','_transformHistoryAndStateStack','measureText','invokeId','unsubscribe','yellow.400','toDisposable','requireSession','createIdentifier','684616AAxWpC','min','getActiveRange','event$','getTypeOfUnitAdded$','push','range','_entities','_eventUnsubscribe','column','_registerDependencies','UnitStatus','getCollabEntity$','_config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','React','WECHAT_HAS_BEEN_BOUND','tag','unitId','_getSheetObject','VIEW_MAIN','777xTrchq','whenReady','blue.400','EMAIL_VERIFY_CODE_MISMATCH','DocSkeletonManagerService','SHEET_VIEWPORT_KEY','_disabled','toString','addObject','@univerjs-pro/collaboration','addHandlerCallback','UniverProCollaboration','UniverDocs','SUBMIT_CHANGESET_TIMEOUT','_updateSubUnitFromURLParams','_online','_imageIoService','_memberService','SetTextSelectionsOperation','Disposable','session.will-retry','_docSkeletonManagerService','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','color','updateOfflineData','_initEvent','currentColor','subscribe','IUIPartsService','has','ILogService','dispose','getLocalCacheKey','endColumn','xlink:href','SOCKET_FAILED_RETRY','_backgroundColor','hasOwnProperty','toStringTag','_hover','save','use','registerRefRange','UNIVER_SHEET','SNAPSHOT_HAS_BEEN_REMOVED','_roomMembers$','_localStorageService','_docClipboardService','CommandType','top','_injector','map','RemoveColCommandId','div','getValue','PENDING','permission.title','IUniverInstanceService','UniverDocsUi','IRenderManagerService','sessionStatus$','_cachedData','size','loadOfflineData','CHANGESET_REVISION_CONFILICT','_createSocketURL','setUndoRedoMutationParamsCache','_drawTextRange','params','_saveCache','_cursors','executeCommand','values','_context','UniverCollaborationClientPlugin','UniverEngineRender','APPLY_REVISION_CONFILICT','editingUnit','moveTo','subunit','post','_initCommandExecutedListener','then','selections','ThemeService','_unitOnClients','ticket','status$','collabStatus.notCollab','application/json','_initStatusListener','_toggleOffline','_httpService','UniverUi','beginPath','getCurrentRevOfUnit','endRow','_scheduleClearOtherTimer','Module','_scheduleHeartbeat','_localeService','hide','YUUMI_CONNECTOR_URL_NOT_FOUND','lineTo','DeleteRangeMoveLeftCommandId','handleInsertRow','_themeService','getUniverSheetInstance','_localCacheService','startRow','undoState','getCurrentUnitForType','http://www.w3.org/2000/svg','getConfig','@univerjs/rpc','arc','sheetId','override','ICommandService','runId','mapTo','newValue','asObservable','isTransformMutationsWithChangesetSuccess','_anchor','LICENSE_DISTRO_REJECTED','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','RegularPolygon','send','_removeClearOtherTimer','ALREADY_EXISTS','off-line-icon','_scene','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assignAColorForMemberID','INVITE_CODE_REQUIRED','getRenderById','getSheetObject','Inject','_initDependencies','@univerjs/design','LOCAL_CACHE_INTERVAL_KEY','substring','defs','_dataLoaderService','_handleLeaveEvent','APPLY_DUPLICATED','YUUMI_UNABLE_LOAD_URL','onTransformChange$','_updateURLWithCurrentState','_removeCollabCursors','INotificationService','dispose$','CollaborationEvent','assign','#FFF','setTimeout','_assignedColors','_getScale','sheetID','getMergeData'];_0x315a=function(){return _0x16e542;};return _0x315a();}function _0x19f2(_0x50ed01,_0x196253){const _0x315ac1=_0x315a();return _0x19f2=function(_0x19f2e2,_0x46a2a2){_0x19f2e2=_0x19f2e2-0x13d;let _0x4fe80a=_0x315ac1[_0x19f2e2];return _0x4fe80a;},_0x19f2(_0x50ed01,_0x196253);}(function(_0xb950c4,_0x3a3d8a){const _0x3140e1=_0x19f2,_0x448f81=_0xb950c4();while(!![]){try{const _0x3b4876=-parseInt(_0x3140e1(0x2e8))/0x1*(-parseInt(_0x3140e1(0x149))/0x2)+-parseInt(_0x3140e1(0x28f))/0x3+-parseInt(_0x3140e1(0x2a6))/0x4*(-parseInt(_0x3140e1(0x3ab))/0x5)+-parseInt(_0x3140e1(0x2c5))/0x6*(parseInt(_0x3140e1(0x15e))/0x7)+-parseInt(_0x3140e1(0x20b))/0x8*(-parseInt(_0x3140e1(0x3d0))/0x9)+-parseInt(_0x3140e1(0x39a))/0xa*(parseInt(_0x3140e1(0x3a0))/0xb)+-parseInt(_0x3140e1(0x38c))/0xc*(-parseInt(_0x3140e1(0x344))/0xd);if(_0x3b4876===_0x3a3d8a)break;else _0x448f81['push'](_0x448f81['shift']());}catch(_0x64b517){_0x448f81['push'](_0x448f81['shift']());}}}(_0x315a,0x9df5c),function(_0x20f5b0,_0x1009d7){const _0x439bef=_0x19f2;typeof exports==_0x439bef(0x362)&&typeof module<'u'?_0x1009d7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x439bef(0x3b4)]?define([_0x439bef(0x2fd),_0x439bef(0x3af),_0x439bef(0x357),'@univerjs/core',_0x439bef(0x2c0),_0x439bef(0x390),_0x439bef(0x1ec),'react',_0x439bef(0x1d1),_0x439bef(0x303),_0x439bef(0x3d3),'@univerjs/network','@univerjs/docs-ui',_0x439bef(0x3d9),_0x439bef(0x167),_0x439bef(0x3bd),'@univerjs/engine-formula',_0x439bef(0x367),_0x439bef(0x298)],_0x1009d7):(_0x20f5b0=typeof globalThis<'u'?globalThis:_0x20f5b0||self,_0x1009d7(_0x20f5b0['UniverProCollaborationClientUi']={},_0x20f5b0[_0x439bef(0x158)],_0x20f5b0['UniverProCollaborationClient'],_0x20f5b0['UniverCore'],_0x20f5b0[_0x439bef(0x1bc)],_0x20f5b0[_0x439bef(0x390)],_0x20f5b0[_0x439bef(0x337)],_0x20f5b0[_0x439bef(0x158)],_0x20f5b0[_0x439bef(0x309)],_0x20f5b0['UniverSheets'],_0x20f5b0[_0x439bef(0x1aa)],_0x20f5b0[_0x439bef(0x2f1)],_0x20f5b0[_0x439bef(0x199)],_0x20f5b0[_0x439bef(0x286)],_0x20f5b0[_0x439bef(0x169)],_0x20f5b0[_0x439bef(0x16a)],_0x20f5b0[_0x439bef(0x25d)],_0x20f5b0[_0x439bef(0x390)]['operators'],_0x20f5b0[_0x439bef(0x326)]));}(this,function(_0x3e67b4,_0x497407,_0x5aae96,_0xa0bab5,_0x5d5ad1,_0x3ac3b6,_0x109233,_0x5a3830,_0x3c4ba8,_0x318e47,_0x2664c9,_0x4ba0ef,_0x284126,_0x1ba493,_0x53baaf,_0x3e46d1,_0x485e46,_0x17a732,_0x58184e){'use strict';const _0xdba1d4=_0x19f2;var _0x43d5f8=Object[_0xdba1d4(0x354)],_0x176ef2=(_0xfa375c,_0xf1fdb6,_0x889359)=>_0xf1fdb6 in _0xfa375c?_0x43d5f8(_0xfa375c,_0xf1fdb6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x889359}):_0xfa375c[_0xf1fdb6]=_0x889359,_0x1bff93=(_0x527dfe,_0x24a633,_0x2e6879)=>_0x176ef2(_0x527dfe,typeof _0x24a633!=_0xdba1d4(0x31b)?_0x24a633+'':_0x24a633,_0x2e6879),_0x3b4b77=function(){const _0x500885=_0xdba1d4;return _0x3b4b77=Object['assign']||function(_0x17f508){const _0x2250e2=_0x19f2;for(var _0x5794c1,_0x25ea01=0x1,_0x153a5e=arguments[_0x2250e2(0x20a)];_0x25ea01<_0x153a5e;_0x25ea01++){_0x5794c1=arguments[_0x25ea01];for(var _0x554d2f in _0x5794c1)Object[_0x2250e2(0x140)][_0x2250e2(0x184)][_0x2250e2(0x316)](_0x5794c1,_0x554d2f)&&(_0x17f508[_0x554d2f]=_0x5794c1[_0x554d2f]);}return _0x17f508;},_0x3b4b77[_0x500885(0x222)](this,arguments);},_0x41ad99=function(_0x543654,_0x43fd79){const _0x3b877d=_0xdba1d4;var _0x35ae1d={};for(var _0x3a4562 in _0x543654)Object[_0x3b877d(0x140)]['hasOwnProperty'][_0x3b877d(0x316)](_0x543654,_0x3a4562)&&_0x43fd79[_0x3b877d(0x3dc)](_0x3a4562)<0x0&&(_0x35ae1d[_0x3a4562]=_0x543654[_0x3a4562]);if(_0x543654!=null&&typeof Object[_0x3b877d(0x240)]=='function'){for(var _0xa25f1a=0x0,_0x3a4562=Object['getOwnPropertySymbols'](_0x543654);_0xa25f1a<_0x3a4562['length'];_0xa25f1a++)_0x43fd79['indexOf'](_0x3a4562[_0xa25f1a])<0x0&&Object[_0x3b877d(0x140)][_0x3b877d(0x308)]['call'](_0x543654,_0x3a4562[_0xa25f1a])&&(_0x35ae1d[_0x3a4562[_0xa25f1a]]=_0x543654[_0x3a4562[_0xa25f1a]]);}return _0x35ae1d;},_0x1fbe8d=_0x5a3830['forwardRef'](function(_0x273792,_0x972692){const _0x39eec6=_0xdba1d4;var _0x1624a5=_0x273792[_0x39eec6(0x32a)],_0x3c3a61=_0x273792['id'],_0x15091e=_0x273792['className'],_0x153ff3=_0x273792['extend'],_0x6d145=_0x41ad99(_0x273792,[_0x39eec6(0x32a),'id',_0x39eec6(0x243),'extend']),_0xd3b3e5='univerjs-icon\x20univerjs-icon-'[_0x39eec6(0x38e)](_0x3c3a61,'\x20')[_0x39eec6(0x38e)](_0x15091e||'')['trim'](),_0x2439aa=_0x5a3830[_0x39eec6(0x203)]('_'[_0x39eec6(0x38e)](_0x3f41f6()));return _0x46f9f0(_0x1624a5,''['concat'](_0x3c3a61),{'defIds':_0x1624a5[_0x39eec6(0x2d2)],'idSuffix':_0x2439aa[_0x39eec6(0x21c)]},_0x3b4b77({'ref':_0x972692,'className':_0xd3b3e5},_0x6d145),_0x153ff3);});function _0x46f9f0(_0x169414,_0x5a5c6d,_0x7bdba,_0x5bdeec,_0x4c2454){const _0x2fbaff=_0xdba1d4;return _0x5a3830[_0x2fbaff(0x32d)](_0x169414['tag'],_0x3b4b77(_0x3b4b77({'key':_0x5a5c6d},_0x4622bf(_0x169414,_0x7bdba,_0x4c2454)),_0x5bdeec),(_0x52dee2(_0x169414,_0x7bdba)['children']||[])[_0x2fbaff(0x192)](function(_0x194701,_0x2a56ce){const _0x11a7cd=_0x2fbaff;return _0x46f9f0(_0x194701,''[_0x11a7cd(0x38e)](_0x5a5c6d,'-')['concat'](_0x169414['tag'],'-')['concat'](_0x2a56ce),_0x7bdba,void 0x0,_0x4c2454);}));}function _0x4622bf(_0x534467,_0xd44ba,_0x3737c4){const _0x413d25=_0xdba1d4;var _0x5e42be=_0x3b4b77({},_0x534467[_0x413d25(0x3a4)]);_0x3737c4!=null&&_0x3737c4[_0x413d25(0x38f)]&&_0x5e42be[_0x413d25(0x32f)]===_0x413d25(0x38f)&&(_0x5e42be[_0x413d25(0x32f)]=_0x3737c4[_0x413d25(0x38f)]),_0x534467['tag']===_0x413d25(0x3d1)&&_0x5e42be['id']&&(_0x5e42be['id']=_0x5e42be['id']+_0xd44ba[_0x413d25(0x2b7)]),Object[_0x413d25(0x3ae)](_0x5e42be)[_0x413d25(0x395)](function(_0x18c593){const _0x456b12=_0x413d25;var _0xda1696=_0x18c593[0x0],_0x58b5c7=_0x18c593[0x1];_0xda1696===_0x456b12(0x3d1)&&typeof _0x58b5c7==_0x456b12(0x2dd)&&(_0x5e42be[_0xda1696]=_0x58b5c7[_0x456b12(0x283)](/url\(#(.*)\)/,_0x456b12(0x2ca)['concat'](_0xd44ba[_0x456b12(0x2b7)],')')));});var _0x68c179=_0xd44ba[_0x413d25(0x2d2)];return!_0x68c179||_0x68c179[_0x413d25(0x20a)]===0x0||(_0x534467[_0x413d25(0x15a)]===_0x413d25(0x188)&&_0x5e42be[_0x413d25(0x181)]&&(_0x5e42be[_0x413d25(0x181)]=_0x5e42be[_0x413d25(0x181)]+_0xd44ba[_0x413d25(0x2b7)]),Object[_0x413d25(0x3ae)](_0x5e42be)[_0x413d25(0x395)](function(_0x31ac09){const _0x3ba2c7=_0x413d25;var _0x351d0c=_0x31ac09[0x0],_0x4cae46=_0x31ac09[0x1];typeof _0x4cae46=='string'&&(_0x5e42be[_0x351d0c]=_0x4cae46[_0x3ba2c7(0x283)](/url\(#(.*)\)/,_0x3ba2c7(0x2ca)[_0x3ba2c7(0x38e)](_0xd44ba['idSuffix'],')')));})),_0x5e42be;}function _0x52dee2(_0x5f372c,_0xcba51d){const _0x585444=_0xdba1d4;var _0x71619a,_0x2f2432=_0xcba51d[_0x585444(0x2d2)];return!_0x2f2432||_0x2f2432[_0x585444(0x20a)]===0x0?_0x5f372c:_0x5f372c['tag']===_0x585444(0x1ef)&&(!((_0x71619a=_0x5f372c['children'])===null||_0x71619a===void 0x0)&&_0x71619a[_0x585444(0x20a)])?_0x3b4b77(_0x3b4b77({},_0x5f372c),{'children':_0x5f372c[_0x585444(0x2b5)][_0x585444(0x192)](function(_0x49b5c0){const _0x6ba054=_0x585444;return typeof _0x49b5c0[_0x6ba054(0x3a4)]['id']=='string'&&_0x2f2432&&_0x2f2432[_0x6ba054(0x2db)](_0x49b5c0[_0x6ba054(0x3a4)]['id'])?_0x3b4b77(_0x3b4b77({},_0x49b5c0),{'attrs':_0x3b4b77(_0x3b4b77({},_0x49b5c0[_0x6ba054(0x3a4)]),{'id':_0x49b5c0[_0x6ba054(0x3a4)]['id']+_0xcba51d[_0x6ba054(0x2b7)]})}):_0x49b5c0;})}):_0x5f372c;}function _0x3f41f6(){const _0x2066d9=_0xdba1d4;return Math[_0x2066d9(0x37c)]()[_0x2066d9(0x165)](0x24)[_0x2066d9(0x1ee)](0x2,0x8);}_0x1fbe8d[_0xdba1d4(0x307)]=_0xdba1d4(0x2d9);var _0x4e925e={'tag':_0xdba1d4(0x249),'attrs':{'xmlns':_0xdba1d4(0x1cf),'fill':'none','viewBox':_0xdba1d4(0x356),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xdba1d4(0x210)},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'stroke':'currentColor','d':_0xdba1d4(0x242),'strokeLinecap':_0xdba1d4(0x257),'strokeLinejoin':_0xdba1d4(0x257),'strokeWidth':1.2}}]},{'tag':_0xdba1d4(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'fill':_0xdba1d4(0x2a0),'d':_0xdba1d4(0x3cb)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x31a46e=_0x5a3830[_0xdba1d4(0x38b)](function(_0x4e49ec,_0x36b4bc){const _0x98f230=_0xdba1d4;return _0x5a3830[_0x98f230(0x32d)](_0x1fbe8d,Object['assign']({},_0x4e49ec,{'id':_0x98f230(0x1e3),'ref':_0x36b4bc,'icon':_0x4e925e}));});_0x31a46e[_0xdba1d4(0x307)]=_0xdba1d4(0x25c);var _0x36dd29={'tag':_0xdba1d4(0x249),'attrs':{'xmlns':_0xdba1d4(0x1cf),'fill':'none','viewBox':_0xdba1d4(0x254),'width':_0xdba1d4(0x3e0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'stroke':_0xdba1d4(0x179),'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':_0xdba1d4(0x257),'strokeLinejoin':_0xdba1d4(0x257),'strokeWidth':1.2}}]},{'tag':_0xdba1d4(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'fill':'white','d':_0xdba1d4(0x3cb),'transform':_0xdba1d4(0x13f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1aeb8e=_0x5a3830[_0xdba1d4(0x38b)](function(_0x21cd3a,_0xd7b16b){const _0x3be76a=_0xdba1d4;return _0x5a3830['createElement'](_0x1fbe8d,Object[_0x3be76a(0x1fa)]({},_0x21cd3a,{'id':'on-line-icon','ref':_0xd7b16b,'icon':_0x36dd29}));});_0x1aeb8e['displayName']=_0xdba1d4(0x296);function _0x284ca7(_0x3837d6){const _0x3ce638=_0xdba1d4;switch(_0x3837d6){case _0x5aae96[_0x3ce638(0x3aa)][_0x3ce638(0x32e)]:return _0x3ce638(0x278);case _0x5aae96['CollaborationStatus'][_0x3ce638(0x2dc)]:return _0x3ce638(0x2d0);case _0x5aae96['CollaborationStatus']['FETCH_MISS']:return _0x3ce638(0x275);case _0x5aae96['CollaborationStatus']['NOT_COLLAB']:return _0x3ce638(0x1b7);case _0x5aae96[_0x3ce638(0x3aa)]['AWAITING']:case _0x5aae96[_0x3ce638(0x3aa)][_0x3ce638(0x22c)]:return _0x3ce638(0x2f0);case _0x5aae96['CollaborationStatus'][_0x3ce638(0x381)]:case _0x5aae96['CollaborationStatus'][_0x3ce638(0x196)]:return _0x3ce638(0x224);}}function _0x2c9d04(_0x4e30eb){const _0x42b3e3=_0xdba1d4,{status$:_0x3af6d}=_0x4e30eb,_0x26373b=_0x5d5ad1[_0x42b3e3(0x221)](_0x3af6d,_0x5aae96[_0x42b3e3(0x3aa)][_0x42b3e3(0x322)]),_0x3263be=_0x5d5ad1[_0x42b3e3(0x399)](_0xa0bab5[_0x42b3e3(0x292)]),_0x3087ea=_0x5d5ad1[_0x42b3e3(0x399)](_0x5aae96[_0x42b3e3(0x2ff)]),_0x17f3ac=_0x26373b!==_0x5aae96[_0x42b3e3(0x3aa)][_0x42b3e3(0x32e)],_0x140aa7=_0x3263be['t'](_0x284ca7(_0x26373b)),_0x42a7b3=_0x17f3ac?_0x497407[_0x42b3e3(0x24f)](_0x1aeb8e,{}):_0x497407[_0x42b3e3(0x24f)](_0x31a46e,{}),_0x3b5b3e=_0x5a3830[_0x42b3e3(0x264)](()=>{const _0x53802f=_0x42b3e3;_0x17f3ac||_0x3087ea[_0x53802f(0x3bc)]();},[_0x17f3ac,_0x3087ea]);function _0x191894(){const _0xb595d1=_0x42b3e3;return _0x497407['jsxs'](_0xb595d1(0x194),{'className':_0xb595d1(0x2ad),'onClick':_0x3b5b3e,'children':[_0x497407[_0xb595d1(0x24f)](_0xb595d1(0x194),{'className':_0x109233['clsx'](_0xb595d1(0x375),{'univer-text-green-500':_0x17f3ac,'univer-text-red-500':!_0x17f3ac}),'children':_0x42a7b3}),_0x497407[_0xb595d1(0x24f)](_0xb595d1(0x194),{'className':_0xb595d1(0x2c2),'children':_0x140aa7})]});}return _0x17f3ac?_0x191894():_0x497407[_0x42b3e3(0x24f)](_0x109233[_0x42b3e3(0x24d)],{'title':_0x3263be['t'](_0x42b3e3(0x30d)),'children':_0x191894()});}var _0x405721=Object['getOwnPropertyDescriptor'],_0x11875f=(_0x50245f,_0x532631,_0x492879,_0x20bd66)=>{const _0x592595=_0xdba1d4;for(var _0x30f7dc=_0x20bd66>0x1?void 0x0:_0x20bd66?_0x405721(_0x532631,_0x492879):_0x532631,_0x4da2ee=_0x50245f[_0x592595(0x20a)]-0x1,_0x4cf95e;_0x4da2ee>=0x0;_0x4da2ee--)(_0x4cf95e=_0x50245f[_0x4da2ee])&&(_0x30f7dc=_0x4cf95e(_0x30f7dc)||_0x30f7dc);return _0x30f7dc;},_0x25244d=(_0x433ef9,_0x11f111)=>(_0x3ea574,_0x4b38e7)=>_0x11f111(_0x3ea574,_0x4b38e7,_0x433ef9);_0x3e67b4[_0xdba1d4(0x248)]=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x55fc28,_0x531ee8,_0x18bece,_0x22d519){const _0x382599=_0xdba1d4;super(),_0x1bff93(this,_0x382599(0x3a8),new _0x3ac3b6[(_0x382599(0x37f))](_0x5aae96['CollaborationStatus'][_0x382599(0x322)])),(this[_0x382599(0x271)]=_0x55fc28,this[_0x382599(0x191)]=_0x531ee8,this[_0x382599(0x26d)]=_0x18bece,this['_uiPartsService']=_0x22d519,this[_0x382599(0x377)](),this['_initStatusListener']());}[_0xdba1d4(0x1b9)](){const _0x751480=_0xdba1d4;this[_0x751480(0x2c3)](this[_0x751480(0x271)][_0x751480(0x2e4)][_0x751480(0x2a4)](_0x3ac3b6[_0x751480(0x364)](()=>{const _0x21db97=_0x751480,_0x46667e=this[_0x21db97(0x271)]['getFocusedUnit']();return _0x46667e?this[_0x21db97(0x26d)][_0x21db97(0x155)](_0x46667e[_0x21db97(0x2d4)]()):_0x3ac3b6['of'](null);}),_0x3ac3b6[_0x751480(0x364)](_0x5a9234=>_0x5a9234?_0x5a9234[_0x751480(0x1b6)]:_0x3ac3b6['of'](_0x5aae96['CollaborationStatus'][_0x751480(0x322)])))[_0x751480(0x17a)](_0x3f5d55=>{this['_status$']['next'](_0x3f5d55);}));}['_initStatusComponent'](){const _0x579707=_0xdba1d4;this['disposeWithMe'](this['_uiPartsService'][_0x579707(0x24a)](_0x5d5ad1['BuiltInUIPart']['HEADER_MENU'],()=>_0x5d5ad1[_0x579707(0x382)](_0x4f5e11({'status$':this[_0x579707(0x3a8)][_0x579707(0x1d9)]()}),this[_0x579707(0x191)])));}},_0x3e67b4[_0xdba1d4(0x248)]=_0x11875f([_0x25244d(0x0,_0xa0bab5['IUniverInstanceService']),_0x25244d(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['Injector'])),_0x25244d(0x2,_0xa0bab5['Inject'](_0x5aae96['CollaborationController'])),_0x25244d(0x3,_0x5d5ad1[_0xdba1d4(0x17b)])],_0x3e67b4['DesktopCollaborationStatusDisplayController']);function _0x4f5e11(_0x45f2d8){const {status$:_0x12e264}=_0x45f2d8;return function(){const _0x5b945e=_0x19f2;return _0x497407[_0x5b945e(0x24f)](_0x2c9d04,{'status$':_0x12e264});};}const _0x569712=_0xa0bab5[_0xdba1d4(0x148)](_0xdba1d4(0x39d));var _0x19b25b=Object[_0xdba1d4(0x2c9)],_0x11e18d=(_0x78f4ad,_0x3b191b,_0x4a2d32,_0x285f2e)=>{const _0x37a528=_0xdba1d4;for(var _0x13b200=_0x285f2e>0x1?void 0x0:_0x285f2e?_0x19b25b(_0x3b191b,_0x4a2d32):_0x3b191b,_0x55ec6a=_0x78f4ad[_0x37a528(0x20a)]-0x1,_0x4a3f36;_0x55ec6a>=0x0;_0x55ec6a--)(_0x4a3f36=_0x78f4ad[_0x55ec6a])&&(_0x13b200=_0x4a3f36(_0x13b200)||_0x13b200);return _0x13b200;},_0x397707=(_0x1ebc76,_0x5dd602)=>(_0x47f7b1,_0x5dfa1a)=>_0x5dd602(_0x47f7b1,_0x5dfa1a,_0x1ebc76);_0x3e67b4[_0xdba1d4(0x27b)]=class extends _0xa0bab5['RxDisposable']{constructor(_0x5397f8,_0x178905,_0x3ba88f,_0x585cd9,_0x571dfe){const _0x11575d=_0xdba1d4;super(),this[_0x11575d(0x276)]=_0x5397f8,this[_0x11575d(0x34c)]=_0x178905,this['_commandService']=_0x3ba88f,this['_dataLoaderService']=_0x585cd9,_0x571dfe?_0x571dfe==null||_0x571dfe[_0x11575d(0x15f)]()[_0x11575d(0x1b1)](()=>this[_0x11575d(0x3a6)]()):(this[_0x11575d(0x34c)][_0x11575d(0x2bb)]('[CollaborationDataLoaderController]',_0x11575d(0x23b)),this[_0x11575d(0x3a6)]());}async[_0xdba1d4(0x3a6)](){const _0x463335=_0xdba1d4,_0x2f3f9f=this[_0x463335(0x276)][_0x463335(0x38a)](_0x463335(0x37d)),_0x1518f5=this[_0x463335(0x276)][_0x463335(0x38a)](_0x463335(0x2a7)),_0xe583e7=this[_0x463335(0x276)][_0x463335(0x38a)]('subunit');if(!_0x2f3f9f||!_0x1518f5){this['_logService'][_0x463335(0x2bb)](_0x463335(0x35b),_0x463335(0x265));return;}const _0x31894c=await this[_0x463335(0x1f0)][_0x463335(0x219)](_0x2f3f9f,Number(_0x1518f5),_0xe583e7);_0x31894c&&_0x31894c instanceof _0xa0bab5[_0x463335(0x204)]&&this[_0x463335(0x383)](_0x31894c);}async[_0xdba1d4(0x383)](_0x278f76){const _0x29b054=_0xdba1d4;await this[_0x29b054(0x16c)](_0x278f76),_0x278f76[_0x29b054(0x36e)][_0x29b054(0x2a4)](_0x3ac3b6[_0x29b054(0x3ac)](this[_0x29b054(0x1f8)]))[_0x29b054(0x17a)](_0x173b49=>{const _0x30df40=_0x29b054;_0x173b49&&this[_0x30df40(0x1f5)](_0x173b49);}),this[_0x29b054(0x276)][_0x29b054(0x378)][_0x29b054(0x2a4)](_0x3ac3b6['takeUntil'](this['dispose$']))[_0x29b054(0x17a)](()=>this[_0x29b054(0x16c)](_0x278f76));}[_0xdba1d4(0x1f5)](_0x100acc,_0x2ea0ab=!0x1){const _0x2a691f=_0xdba1d4,_0x253650=this[_0x2a691f(0x276)][_0x2a691f(0x38a)](_0x2a691f(0x1ae));_0x100acc[_0x2a691f(0x33b)]()!==_0x253650&&this[_0x2a691f(0x276)][_0x2a691f(0x2a5)]('subunit',_0x100acc[_0x2a691f(0x33b)](),_0x2ea0ab);}async[_0xdba1d4(0x16c)](_0x386e45){const _0x18fe3d=_0xdba1d4;var _0x5edd96;const _0x45e941=this[_0x18fe3d(0x276)]['getParam'](_0x18fe3d(0x1ae));if(!_0x45e941||!_0x386e45[_0x18fe3d(0x32c)](_0x45e941)){const _0x5c8b10=_0x386e45[_0x18fe3d(0x36d)]()[0x0],_0x2b80b3=_0x386e45[_0x18fe3d(0x32c)](_0x5c8b10);if(!_0x2b80b3)return;this[_0x18fe3d(0x1f5)](_0x2b80b3,!0x0),await this['_commandService'][_0x18fe3d(0x1a6)](_0x318e47[_0x18fe3d(0x39c)]['id'],{'unitId':_0x386e45[_0x18fe3d(0x2d4)](),'subUnitId':_0x5c8b10});return;}((_0x5edd96=_0x386e45[_0x18fe3d(0x233)]())==null?void 0x0:_0x5edd96['getSheetId']())!==_0x45e941&&await this['_commandService'][_0x18fe3d(0x1a6)](_0x318e47['SetWorksheetActivateCommand']['id'],{'unitId':_0x386e45[_0x18fe3d(0x2d4)](),'subUnitId':_0x45e941});}},_0x3e67b4['CollaborationDataLoaderController']=_0x11e18d([_0x397707(0x0,_0x569712),_0x397707(0x1,_0xa0bab5[_0xdba1d4(0x17d)]),_0x397707(0x2,_0xa0bab5['ICommandService']),_0x397707(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x2e1)])),_0x397707(0x4,_0xa0bab5[_0xdba1d4(0x3c9)](_0x3c4ba8['IRemoteInstanceService']))],_0x3e67b4[_0xdba1d4(0x27b)]);var _0x3c6905=Object['getOwnPropertyDescriptor'],_0x15452f=(_0x4c782a,_0x5bd192,_0x11b8b5,_0x4bab47)=>{for(var _0x58cf30=_0x4bab47>0x1?void 0x0:_0x4bab47?_0x3c6905(_0x5bd192,_0x11b8b5):_0x5bd192,_0x2f8b7a=_0x4c782a['length']-0x1,_0x482b0a;_0x2f8b7a>=0x0;_0x2f8b7a--)(_0x482b0a=_0x4c782a[_0x2f8b7a])&&(_0x58cf30=_0x482b0a(_0x58cf30)||_0x58cf30);return _0x58cf30;},_0x3e8c0b=(_0x274749,_0x3c1401)=>(_0x23fbef,_0x83f0f6)=>_0x3c1401(_0x23fbef,_0x83f0f6,_0x274749);let _0x230e8b=class extends _0xa0bab5['RxDisposable']{constructor(_0x22745f,_0xfcb983){const _0x2923a4=_0xdba1d4;super(),this[_0x2923a4(0x18e)]=_0x22745f,this['_imageIoService']=_0xfcb983,this[_0x2923a4(0x3a6)]();}['_init'](){const _0x275379=_0xdba1d4,_0x5e6d29=this;this[_0x275379(0x2c3)](this[_0x275379(0x18e)][_0x275379(0x3ca)]({'onBeforePasteImage':async _0x40529c=>{const _0x3d87e4=_0x275379,_0x501d43=await _0x5e6d29[_0x3d87e4(0x16e)][_0x3d87e4(0x22b)](_0x40529c);return _0x501d43?{'source':_0x501d43[_0x3d87e4(0x299)],'imageSourceType':_0x501d43['imageSourceType']}:null;}}));}};_0x230e8b=_0x15452f([_0x3e8c0b(0x0,_0x284126['IDocClipboardService']),_0x3e8c0b(0x1,_0x1ba493['IImageIoService'])],_0x230e8b);const _0x42e7f4=['purple.300','jiqing.500',_0xdba1d4(0x336),_0xdba1d4(0x27d),_0xdba1d4(0x160),_0xdba1d4(0x145)];class _0x108060 extends _0xa0bab5['Disposable']{constructor(){const _0x46002f=_0xdba1d4;super(...arguments),_0x1bff93(this,_0x46002f(0x1fd),new Map()),_0x1bff93(this,_0x46002f(0x253),0x0);}['assignAColorForMemberID'](_0x41c624){const _0x54c261=_0xdba1d4;if(this['_assignedColors'][_0x54c261(0x17c)](_0x41c624))return this[_0x54c261(0x1fd)]['get'](_0x41c624);const _0x2e2dc5=_0x42e7f4[this[_0x54c261(0x253)]];return this[_0x54c261(0x253)]=(this['_colorIndex']+0x1)%_0x42e7f4[_0x54c261(0x20a)],this[_0x54c261(0x1fd)][_0x54c261(0x218)](_0x41c624,_0x2e2dc5),_0x2e2dc5;}}function _0x201a63(_0x47ef2d){const _0x1e9142=_0xdba1d4;let _0x2c2aa6='';for(const _0x2c4f7d of _0x47ef2d){const {startOffset:_0x447b84,endOffset:_0x5f33a8,isActive:_0x36be50,rangeType:_0x35ba99,segmentId:_0x4e3996,segmentPage:_0x423e14}=_0x2c4f7d;_0x2c2aa6[_0x1e9142(0x20a)]&&(_0x2c2aa6+=','),_0x2c2aa6+=_0x447b84+':'+_0x5f33a8+':'+(_0x36be50?'1':'0')+':'+_0x35ba99+':'+_0x4e3996+':'+_0x423e14;}return _0x2c2aa6;}function _0x214df7(_0x12107){const _0x1d2617=_0xdba1d4,_0x1122c1=_0x12107[_0x1d2617(0x34e)](','),_0x2112c4=[];for(const _0x27b20d of _0x1122c1){const [_0x5b1dff,_0x310a87,_0x50a5eb,_0x5e3016,_0x44bb18,_0x1c935d]=_0x27b20d['split'](':');_0x2112c4[_0x1d2617(0x14e)]({'startOffset':Number(_0x5b1dff),'endOffset':Number(_0x310a87),'collapsed':_0x5b1dff===_0x310a87,'isActive':_0x50a5eb==='1','rangeType':_0x5e3016===_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x295)]?_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x295)]:_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x325)],'segmentId':typeof _0x44bb18=='string'?String(_0x44bb18):'','segmentPage':Number(_0x1c935d!=null?_0x1c935d:-0x1)});}return _0x2112c4[_0x1d2617(0x365)](_0x50f763=>_0x50f763[_0x1d2617(0x207)])||(_0x2112c4[0x0]['isActive']=!0x0),_0x2112c4;}class _0x5487e4 extends _0xa0bab5['RxDisposable']{constructor(){const _0x5eb0db=_0xdba1d4;super(...arguments),_0x1bff93(this,_0x5eb0db(0x294),new _0x3ac3b6['BehaviorSubject'](null)),_0x1bff93(this,_0x5eb0db(0x3de),this[_0x5eb0db(0x294)]['asObservable']());}[_0xdba1d4(0x3b7)](_0x49d30c){const _0x1bb9aa=_0xdba1d4,{unitID:_0x465d35,memberID:_0x3199a6,textRanges:_0x2debd4}=_0x49d30c,_0x5d604b=_0x201a63(_0x2debd4);if(_0x5d604b==='')return;const _0x14d226={'unitID':_0x465d35,'memberID':_0x3199a6,'selection':_0x5d604b};this[_0x1bb9aa(0x294)][_0x1bb9aa(0x236)](_0x14d226);}}var _0x4935b6=Object[_0xdba1d4(0x2c9)],_0x40a526=(_0xfc8688,_0x4b0030,_0xd78ead,_0x5b2485)=>{const _0x73868b=_0xdba1d4;for(var _0x5d52eb=_0x5b2485>0x1?void 0x0:_0x5b2485?_0x4935b6(_0x4b0030,_0xd78ead):_0x4b0030,_0x4913f9=_0xfc8688[_0x73868b(0x20a)]-0x1,_0x3b4d8f;_0x4913f9>=0x0;_0x4913f9--)(_0x3b4d8f=_0xfc8688[_0x4913f9])&&(_0x5d52eb=_0x3b4d8f(_0x5d52eb)||_0x5d52eb);return _0x5d52eb;},_0x228353=(_0x418f0e,_0x3f1504)=>(_0x51be05,_0x394b4b)=>_0x3f1504(_0x51be05,_0x394b4b,_0x418f0e);const _0xb2ef32=0x12c,_0x3e2d59=0x64;let _0x26619b=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x9a2164,_0x1603ee,_0x287136,_0x1fbf6,_0x20d7cd,_0x3f32bf,_0x3743a9,_0x4af5e4,_0x439b98){const _0x1a196b=_0xdba1d4;super(),_0x1bff93(this,_0x1a196b(0x16d),!0x1),_0x1bff93(this,'_init',!0x1),_0x1bff93(this,_0x1a196b(0x27f),new _0x3ac3b6['BehaviorSubject'](new Map())),_0x1bff93(this,_0x1a196b(0x394),this['_cursorInfo$'][_0x1a196b(0x1d9)]()),_0x1bff93(this,_0x1a196b(0x18c),new _0x3ac3b6[(_0x1a196b(0x37f))]([])),_0x1bff93(this,_0x1a196b(0x2f6),this['_roomMembers$'][_0x1a196b(0x2a4)](_0x3ac3b6[_0x1a196b(0x2b8)](_0xb2ef32))),_0x1bff93(this,_0x1a196b(0x245),_0xa0bab5[_0x1a196b(0x330)](_0x58f7ff=>{const _0x363975=_0x1a196b,_0x4da25a={'eventID':_0x53baaf[_0x363975(0x1f9)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x363975(0x2cb)][_0x363975(0x25f)](),'selection':_0x201a63(_0x58f7ff)}};this['_session'][_0x363975(0x1e0)](_0x4da25a,this[_0x363975(0x26a)]);},_0x3e2d59)),(this[_0x1a196b(0x26a)]=_0x9a2164,this[_0x1a196b(0x2cb)]=_0x1603ee,this[_0x1a196b(0x191)]=_0x287136,this[_0x1a196b(0x20f)]=_0x1fbf6,this[_0x1a196b(0x16f)]=_0x20d7cd,this[_0x1a196b(0x318)]=_0x3f32bf,this[_0x1a196b(0x3a9)]=_0x3743a9,this['_univerInstanceService']=_0x4af5e4,this[_0x1a196b(0x246)]=_0x439b98);}get[_0xdba1d4(0x280)](){const _0x25f57a=_0xdba1d4;return this['_cursorInfo$'][_0x25f57a(0x195)]();}get[_0xdba1d4(0x238)](){const _0x4377b1=_0xdba1d4;return this['_roomMembers$'][_0x4377b1(0x195)]();}[_0xdba1d4(0x17e)](){const _0x2e38e2=_0xdba1d4;super['dispose'](),this[_0x2e38e2(0x27f)][_0x2e38e2(0x236)](new Map()),this['_cursorInfo$'][_0x2e38e2(0x2cc)](),this['_roomMembers$'][_0x2e38e2(0x236)]([]),this[_0x2e38e2(0x18c)]['complete']();}[_0xdba1d4(0x31f)](){const _0x56b8f8=_0xdba1d4;this[_0x56b8f8(0x3a6)]||(this[_0x56b8f8(0x3a6)]=!0x0,this['_session'][_0x56b8f8(0x19b)][_0x56b8f8(0x2a4)](_0x3ac3b6[_0x56b8f8(0x3ac)](this[_0x56b8f8(0x1f8)]))[_0x56b8f8(0x17a)](_0x2c26b6=>{const _0x2a3079=_0x56b8f8;_0x2c26b6===_0x5aae96[_0x2a3079(0x373)][_0x2a3079(0x2d5)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56b8f8(0x2cb)][_0x56b8f8(0x14c)][_0x56b8f8(0x2a4)](_0x3ac3b6[_0x56b8f8(0x3ac)](this[_0x56b8f8(0x1f8)]))[_0x56b8f8(0x17a)](_0x464bf9=>{const _0x5d1c2d=_0x56b8f8,_0xfa7372=_0x464bf9[_0x5d1c2d(0x2f4)];_0xfa7372===_0x53baaf[_0x5d1c2d(0x1f9)][_0x5d1c2d(0x300)]&&this[_0x5d1c2d(0x361)](_0x464bf9),_0xfa7372===_0x53baaf[_0x5d1c2d(0x1f9)][_0x5d1c2d(0x2e2)]&&this[_0x5d1c2d(0x2bc)](_0x464bf9);}),this[_0x56b8f8(0x2c3)](this[_0x56b8f8(0x246)][_0x56b8f8(0x2cd)](_0x2ccab3=>{const _0x1a24ac=_0x56b8f8,_0x38fffd=_0x2ccab3[_0x1a24ac(0x1a3)];_0x38fffd!=null&&this['_online']&&_0x2ccab3['id']===_0x3e46d1[_0x1a24ac(0x170)]['id']&&_0x38fffd[_0x1a24ac(0x15b)]===this[_0x1a24ac(0x26a)]&&_0x38fffd[_0x1a24ac(0x234)]===!0x1&&_0x38fffd[_0x1a24ac(0x3c8)][_0x1a24ac(0x20a)]>0x0&&this['_updateLocalCursor'](_0x38fffd[_0x1a24ac(0x3c8)]);})),this[_0x56b8f8(0x318)][_0x56b8f8(0x3de)][_0x56b8f8(0x2a4)](_0x3ac3b6['takeUntil'](this['dispose$']))[_0x56b8f8(0x17a)](_0x3646d7=>{const _0x37430a=_0x56b8f8;if((_0x3646d7==null?void 0x0:_0x3646d7[_0x37430a(0x26a)])!==this[_0x37430a(0x26a)])return;const _0x2acfe8={'eventID':_0x53baaf[_0x37430a(0x1f9)][_0x37430a(0x300)],'data':_0x3646d7};this['_onCursorUpdate'](_0x2acfe8);}),this[_0x56b8f8(0x2c3)](this['_commandService'][_0x56b8f8(0x2cd)](_0x2ba0e7=>{const _0x27ef15=_0x56b8f8;if(_0x2ba0e7[_0x27ef15(0x1a3)]==null)return;const _0xc6289c=_0x2ba0e7['params'];if(_0x2ba0e7['id']!==_0x3e46d1[_0x27ef15(0x2f2)]['id']||_0xc6289c[_0x27ef15(0x15b)]!==this[_0x27ef15(0x26a)])return;const _0x5ed7fc={'id':_0x27ef15(0x202),'params':_0xc6289c},_0x2b09a9=this[_0x27ef15(0x280)];for(const [_0x4e54c1,_0x3fd1ac]of _0x2b09a9){const _0x332988={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3fd1ac[_0x27ef15(0x3c8)]}},_0x38cd71=this[_0x27ef15(0x3a9)][_0x27ef15(0x2e3)](_0x5ed7fc,_0x332988,!0x1);if(_0x53baaf[_0x27ef15(0x3a1)](_0x38cd71))throw _0x38cd71[_0x27ef15(0x352)];_0x2b09a9[_0x27ef15(0x218)](_0x4e54c1,{..._0x3fd1ac,'ranges':_0x38cd71[_0x27ef15(0x3d6)][_0x27ef15(0x1a3)]['textRanges']});}queueMicrotask(()=>{const _0xed6149=_0x27ef15;this[_0xed6149(0x27f)][_0xed6149(0x236)](_0x2b09a9);});})));}[_0xdba1d4(0x361)](_0x246ce4){const _0xca559d=_0xdba1d4;var _0x3c3888,_0x26e6e9;const {memberID:_0x27075c,selection:_0x5c46c6}=_0x246ce4[_0xca559d(0x3ba)],_0x439403=_0x214df7(_0x5c46c6),_0x23ae54=(_0x26e6e9=(_0x3c3888=this[_0xca559d(0x16f)]['getMember'](this[_0xca559d(0x26a)],_0x27075c))==null?void 0x0:_0x3c3888[_0xca559d(0x391)])!=null?_0x26e6e9:_0xca559d(0x211),_0x3c8c64={'color':this[_0xca559d(0x20f)][_0xca559d(0x1e6)](_0x27075c),'name':_0x23ae54,'ranges':_0x439403},_0x5e4337=this[_0xca559d(0x280)];_0x5e4337[_0xca559d(0x218)](_0x27075c,_0x3c8c64),this['_cursorInfo$'][_0xca559d(0x236)](_0x5e4337);}[_0xdba1d4(0x2bc)](_0x3b5f45){const _0x43d052=_0xdba1d4,{memberID:_0x186b34}=_0x3b5f45[_0x43d052(0x3ba)],_0x27f76e=this[_0x43d052(0x280)];_0x27f76e[_0x43d052(0x386)](_0x186b34),this[_0x43d052(0x27f)]['next'](_0x27f76e);}[_0xdba1d4(0x36b)](){const _0x2b59aa=_0xdba1d4;var _0x3f4548;if(this[_0x2b59aa(0x16d)]=!0x0,((_0x3f4548=this[_0x2b59aa(0x271)][_0x2b59aa(0x22f)]())==null?void 0x0:_0x3f4548[_0x2b59aa(0x2d4)]())!==this[_0x2b59aa(0x26a)])return;const _0x1eac85=this[_0x2b59aa(0x191)][_0x2b59aa(0x3b3)](_0x3e46d1[_0x2b59aa(0x2c7)])['getDocRanges']();Array[_0x2b59aa(0x38d)](_0x1eac85)&&_0x1eac85[_0x2b59aa(0x20a)]>0x0&&this[_0x2b59aa(0x245)](_0x1eac85);}['_toggleOffline'](){const _0xaaafd3=_0xdba1d4;this[_0xaaafd3(0x16d)]=!0x1;}};_0x26619b=_0x40a526([_0x228353(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x228353(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x108060)),_0x228353(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x267)])),_0x228353(0x5,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5487e4)),_0x228353(0x6,_0x53baaf['ITransformService']),_0x228353(0x7,_0xa0bab5[_0xdba1d4(0x198)]),_0x228353(0x8,_0xa0bab5[_0xdba1d4(0x1d5)])],_0x26619b);var _0x2f23ae=Object[_0xdba1d4(0x2c9)],_0x40a0ec=(_0xe840dc,_0x47506e,_0x8c5989,_0x2bd762)=>{const _0x143f1a=_0xdba1d4;for(var _0x17c997=_0x2bd762>0x1?void 0x0:_0x2bd762?_0x2f23ae(_0x47506e,_0x8c5989):_0x47506e,_0x14898f=_0xe840dc[_0x143f1a(0x20a)]-0x1,_0x5e8e5e;_0x14898f>=0x0;_0x14898f--)(_0x5e8e5e=_0xe840dc[_0x14898f])&&(_0x17c997=_0x5e8e5e(_0x17c997)||_0x17c997);return _0x17c997;},_0x354ccb=(_0x4268ff,_0xff568e)=>(_0x3b8453,_0x437477)=>_0xff568e(_0x3b8453,_0x437477,_0x4268ff);const _0x4f0973=0x12c,_0x3f831e=0x64,_0x2a7d42=()=>{let _0x5d74c2=[],_0x3c5717=!0x1;return _0x31996b=>{const _0x565385=_0x19f2;_0x5d74c2[_0x565385(0x14e)](_0x31996b),_0x3c5717||(_0x3c5717=!0x0,setTimeout(()=>{const _0x1d3c4a=_0x565385;_0x5d74c2[_0x1d3c4a(0x395)](_0x8f0ed8=>_0x8f0ed8()),_0x5d74c2=[],_0x3c5717=!0x1;}));};};let _0x2ac640=class extends _0xa0bab5['RxDisposable']{constructor(_0x368e76,_0x32d1c0,_0x42bd8e,_0xc3465c,_0xd2d4e3,_0x190f20,_0xad1fe7,_0x233fbb){const _0x4ff87a=_0xdba1d4;super(),_0x1bff93(this,'_online',!0x1),_0x1bff93(this,_0x4ff87a(0x3a6),!0x1),_0x1bff93(this,_0x4ff87a(0x27f),new _0x3ac3b6[(_0x4ff87a(0x37f))](new Map())),_0x1bff93(this,_0x4ff87a(0x394),this['_cursorInfo$'][_0x4ff87a(0x1d9)]()),_0x1bff93(this,_0x4ff87a(0x18c),new _0x3ac3b6['BehaviorSubject']([])),_0x1bff93(this,_0x4ff87a(0x2f6),this['_roomMembers$']['pipe'](_0x3ac3b6['debounceTime'](_0x4f0973))),_0x1bff93(this,'_updateLocalCursor',_0xa0bab5[_0x4ff87a(0x330)]((_0x12a787,_0x5eb05c)=>{const _0x388b17=_0x4ff87a,_0x434b85={'eventID':_0x53baaf[_0x388b17(0x1f9)][_0x388b17(0x300)],'data':{'unitID':this[_0x388b17(0x26a)],'memberID':this[_0x388b17(0x2cb)][_0x388b17(0x25f)](),'selection':_0x485e46[_0x388b17(0x269)](_0x12a787,_0x5eb05c[_0x388b17(0x14f)])}};this[_0x388b17(0x2cb)][_0x388b17(0x1e0)](_0x434b85,this[_0x388b17(0x26a)]);},_0x3f831e)),(this[_0x4ff87a(0x26a)]=_0x368e76,this[_0x4ff87a(0x2cb)]=_0x32d1c0,this[_0x4ff87a(0x191)]=_0x42bd8e,this[_0x4ff87a(0x20f)]=_0xc3465c,this['_memberService']=_0xd2d4e3,this['_univerInstanceService']=_0x190f20,this[_0x4ff87a(0x246)]=_0xad1fe7,this['_refRangeService']=_0x233fbb);}get[_0xdba1d4(0x280)](){const _0x5b1433=_0xdba1d4;return this['_cursorInfo$'][_0x5b1433(0x195)]();}get[_0xdba1d4(0x238)](){const _0x81eaa0=_0xdba1d4;return this[_0x81eaa0(0x18c)][_0x81eaa0(0x195)]();}[_0xdba1d4(0x17e)](){const _0x524362=_0xdba1d4;super[_0x524362(0x17e)](),this[_0x524362(0x27f)][_0x524362(0x236)](new Map()),this[_0x524362(0x27f)][_0x524362(0x2cc)](),this[_0x524362(0x18c)][_0x524362(0x236)]([]),this[_0x524362(0x18c)][_0x524362(0x2cc)]();}[_0xdba1d4(0x31f)](){const _0x553e7c=_0xdba1d4;this[_0x553e7c(0x3a6)]||(this[_0x553e7c(0x3a6)]=!0x0,this['_session'][_0x553e7c(0x19b)][_0x553e7c(0x2a4)](_0x3ac3b6['takeUntil'](this[_0x553e7c(0x1f8)]))['subscribe'](_0x4b0a21=>{const _0x2ca145=_0x553e7c;_0x4b0a21===_0x5aae96[_0x2ca145(0x373)]['ONLINE']?this[_0x2ca145(0x36b)]():this[_0x2ca145(0x1ba)]();}),this[_0x553e7c(0x2cb)][_0x553e7c(0x14c)][_0x553e7c(0x2a4)](_0x3ac3b6['takeUntil'](this[_0x553e7c(0x1f8)]))[_0x553e7c(0x17a)](_0x19bb17=>{const _0x116dff=_0x553e7c,_0x357554=_0x19bb17[_0x116dff(0x2f4)];_0x357554===_0x53baaf[_0x116dff(0x1f9)][_0x116dff(0x300)]&&this[_0x116dff(0x361)](_0x19bb17),_0x357554===_0x53baaf[_0x116dff(0x1f9)][_0x116dff(0x2e2)]&&this[_0x116dff(0x2bc)](_0x19bb17);}),this[_0x553e7c(0x28c)](),this[_0x553e7c(0x2c3)](this['_commandService'][_0x553e7c(0x2cd)](_0x477497=>{const _0x2976e5=_0x553e7c;if(this[_0x2976e5(0x16d)]&&_0x477497['id']===_0x318e47[_0x2976e5(0x29d)]['id']&&_0x477497[_0x2976e5(0x1a3)][_0x2976e5(0x15b)]===this[_0x2976e5(0x26a)]){const _0xf39d0b=_0x477497[_0x2976e5(0x1a3)];this[_0x2976e5(0x245)](_0xf39d0b[_0x2976e5(0x3cc)],_0xf39d0b[_0x2976e5(0x1b2)][0x0]);}})));}[_0xdba1d4(0x361)](_0x43423c){const _0x37d3a1=_0xdba1d4;var _0x3b8ce7,_0x335f3b;const {memberID:_0x37972c,selection:_0x29d8bc}=_0x43423c[_0x37d3a1(0x3ba)],{sheetName:_0x31cab4,range:_0x248f70}=_0x485e46['deserializeRangeWithSheet'](_0x29d8bc),_0x5cc916={'name':(_0x335f3b=(_0x3b8ce7=this[_0x37d3a1(0x16f)][_0x37d3a1(0x34a)](this[_0x37d3a1(0x26a)],_0x37972c))==null?void 0x0:_0x3b8ce7[_0x37d3a1(0x391)])!=null?_0x335f3b:'Unknown\x20user','range':this['_getMergeRange'](_0x31cab4,_0x248f70),'sheetID':_0x31cab4,'color':this['_colorAssignService'][_0x37d3a1(0x1e6)](_0x37972c),'selection':_0x29d8bc},_0x37ac38=this[_0x37d3a1(0x280)];_0x37ac38['set'](_0x37972c,_0x5cc916),this['_cursorInfo$'][_0x37d3a1(0x236)](_0x37ac38);}[_0xdba1d4(0x2bc)](_0x10880d){const _0x5bf9ff=_0xdba1d4,{memberID:_0x16beac}=_0x10880d[_0x5bf9ff(0x3ba)],_0x207040=this[_0x5bf9ff(0x280)];_0x207040[_0x5bf9ff(0x386)](_0x16beac),this[_0x5bf9ff(0x27f)][_0x5bf9ff(0x236)](_0x207040);}[_0xdba1d4(0x2cf)](_0x4acddb,_0x598942){const _0x2beb10=_0xdba1d4;var _0xebf81d,_0xade41a;const _0x239dc1=(_0xade41a=(_0xebf81d=this['_univerInstanceService'][_0x2beb10(0x1ca)](this[_0x2beb10(0x26a)]))==null?void 0x0:_0xebf81d['getSheetBySheetId'](_0x4acddb))==null?void 0x0:_0xade41a[_0x2beb10(0x200)]();return(_0x239dc1==null?void 0x0:_0x239dc1['find'](_0x49ca65=>_0xa0bab5[_0x2beb10(0x29a)][_0x2beb10(0x2ce)](_0x49ca65,_0x598942)))||_0x598942;}[_0xdba1d4(0x28c)](){const _0x48085e=_0xdba1d4,_0x1a5c19=new _0xa0bab5[(_0x48085e(0x25b))](),_0x2fa143=_0x2a7d42(),_0x533965=()=>{const _0x23fffd=_0x48085e;_0x1a5c19[_0x23fffd(0x17e)]();const _0x1e9523=(_0x588f74,_0x3485a8,_0x4d388e,_0x34fcfc)=>{const _0x42878f=_0x23fffd;let _0x1a5d9d=[];switch(_0x588f74['id']){case _0x318e47['EffectRefRangId'][_0x42878f(0x1c7)]:{_0x1a5d9d=_0x318e47['handleDeleteRangeMoveLeft'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x21f)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x39b)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x371)]:{_0x1a5d9d=_0x318e47['handleInsertCol'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x3b9)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x2bf)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x3c0)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x2ab)](_0x588f74,_0x34fcfc);break;}case _0x318e47['EffectRefRangId'][_0x42878f(0x2e7)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x1c8)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)]['MoveRangeCommandId']:{_0x1a5d9d=_0x318e47[_0x42878f(0x3d4)](_0x588f74,_0x34fcfc);break;}case _0x318e47['EffectRefRangId'][_0x42878f(0x193)]:{_0x1a5d9d=_0x318e47['handleIRemoveCol'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)]['RemoveRowCommandId']:{_0x1a5d9d=_0x318e47[_0x42878f(0x2e5)](_0x588f74,_0x34fcfc);break;}}const _0xb2d6ac=_0x318e47[_0x42878f(0x2af)](_0x1a5d9d,_0x34fcfc),_0xcd933e=this[_0x42878f(0x280)]['get'](_0x3485a8);if(_0xcd933e&&_0xb2d6ac){const _0x493a01={..._0xcd933e,'range':_0xb2d6ac};this['cursorInfo'][_0x42878f(0x218)](_0x3485a8,_0x493a01),_0x2fa143(()=>{const _0x2bca85=_0x42878f,_0x1a1b20=this[_0x2bca85(0x3d5)][_0x2bca85(0x189)](_0xb2d6ac,_0x5aba43=>(_0x1a1b20[_0x2bca85(0x17e)](),_0x1e9523(_0x5aba43,_0x3485a8,_0x4d388e,_0xb2d6ac)));_0x1a5c19['add'](_0x1a1b20);});}return{'redos':[],'undos':[]};};this[_0x23fffd(0x280)][_0x23fffd(0x395)]((_0x126a1a,_0x57f8ea)=>{const _0x503ffe=_0x23fffd,{range:_0x5ccb05,sheetID:_0x2904f5}=_0x126a1a,_0x4b630f=this[_0x503ffe(0x3d5)][_0x503ffe(0x189)](_0x5ccb05,_0x56b9c9=>(_0x4b630f[_0x503ffe(0x17e)](),_0x1e9523(_0x56b9c9,_0x57f8ea,_0x2904f5,_0x5ccb05)));_0x1a5c19[_0x503ffe(0x33e)](_0x4b630f);});};this['disposeWithMe'](_0xa0bab5[_0x48085e(0x146)](this['_cursorInfo$'][_0x48085e(0x17a)](()=>{_0x533965();})));}[_0xdba1d4(0x36b)](){const _0x94d323=_0xdba1d4;var _0x51c465,_0x4987c5;if(this[_0x94d323(0x16d)]=!0x0,((_0x51c465=this['_univerInstanceService'][_0x94d323(0x22f)]())==null?void 0x0:_0x51c465['getUnitId']())!==this[_0x94d323(0x26a)])return;const _0x4dc47f=(_0x4987c5=this[_0x94d323(0x191)][_0x94d323(0x3b3)](_0x318e47['SheetsSelectionsService'])[_0x94d323(0x250)]())==null?void 0x0:_0x4987c5[0x0],_0x375576=this[_0x94d323(0x271)][_0x94d323(0x1ce)](_0xa0bab5[_0x94d323(0x297)][_0x94d323(0x18a)])[_0x94d323(0x233)]();_0x4dc47f&&_0x375576&&this[_0x94d323(0x245)](_0x375576['getSheetId'](),_0x4dc47f);}['_toggleOffline'](){const _0x2c4536=_0xdba1d4;this[_0x2c4536(0x16d)]=!0x1;}};_0x2ac640=_0x40a0ec([_0x354ccb(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['Injector'])),_0x354ccb(0x3,_0xa0bab5['Inject'](_0x108060)),_0x354ccb(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96['MemberService'])),_0x354ccb(0x5,_0xa0bab5[_0xdba1d4(0x198)]),_0x354ccb(0x6,_0xa0bab5[_0xdba1d4(0x1d5)]),_0x354ccb(0x7,_0xa0bab5[_0xdba1d4(0x1ea)](_0x318e47[_0xdba1d4(0x25e)]))],_0x2ac640);var _0x4af2ea=Object[_0xdba1d4(0x2c9)],_0x26ff83=(_0x540137,_0x5bb052,_0x1cf1bd,_0x5ed427)=>{const _0x1e691d=_0xdba1d4;for(var _0x473c29=_0x5ed427>0x1?void 0x0:_0x5ed427?_0x4af2ea(_0x5bb052,_0x1cf1bd):_0x5bb052,_0x4c9d5b=_0x540137[_0x1e691d(0x20a)]-0x1,_0x33ad35;_0x4c9d5b>=0x0;_0x4c9d5b--)(_0x33ad35=_0x540137[_0x4c9d5b])&&(_0x473c29=_0x33ad35(_0x473c29)||_0x473c29);return _0x473c29;},_0x1b19ec=(_0x528d58,_0x417b3a)=>(_0x5e8249,_0x37625c)=>_0x417b3a(_0x5e8249,_0x37625c,_0x528d58);let _0x14ee2b=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x3cd2a9,_0x778f28,_0x1e31c6){const _0x4b8a66=_0xdba1d4;super(),_0x1bff93(this,_0x4b8a66(0x150),new Map()),_0x1bff93(this,'_entityInit$',new _0x3ac3b6[(_0x4b8a66(0x239))]()),(this['_univerInstanceService']=_0x3cd2a9,this[_0x4b8a66(0x191)]=_0x778f28,this[_0x4b8a66(0x2c4)]=_0x1e31c6,this[_0x4b8a66(0x3a6)]());}[_0xdba1d4(0x17e)](){const _0x5c1e97=_0xdba1d4;super[_0x5c1e97(0x17e)](),this[_0x5c1e97(0x2aa)][_0x5c1e97(0x2cc)](),this['_entities']['forEach'](_0x3ba838=>_0x3ba838[_0x5c1e97(0x17e)]());}[_0xdba1d4(0x332)](_0x3c7ce7){const _0x1a095f=_0xdba1d4;return this['_entities'][_0x1a095f(0x17c)](_0x3c7ce7)?this[_0x1a095f(0x150)][_0x1a095f(0x3b3)](_0x3c7ce7)[_0x1a095f(0x394)]:this[_0x1a095f(0x2aa)]['pipe'](_0x3ac3b6[_0x1a095f(0x259)](_0x2c572f=>_0x2c572f[_0x1a095f(0x26a)]===_0x3c7ce7),_0x3ac3b6[_0x1a095f(0x364)](_0x1080de=>_0x1080de['cursorInfo$']));}[_0xdba1d4(0x3a6)](){const _0x33e8d2=_0xdba1d4;this[_0x33e8d2(0x271)][_0x33e8d2(0x14d)](_0xa0bab5[_0x33e8d2(0x297)][_0x33e8d2(0x18a)])[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this[_0x33e8d2(0x1f8)]))[_0x33e8d2(0x17a)](async _0x3a4fe6=>{const _0xaa32ff=_0x33e8d2,_0x346f21=_0x3a4fe6[_0xaa32ff(0x2d4)](),_0x432941=await this[_0xaa32ff(0x293)](_0x346f21);this['_entityInit$'][_0xaa32ff(0x236)](_0x432941),this[_0xaa32ff(0x150)][_0xaa32ff(0x218)](_0x346f21,_0x432941);}),this['_univerInstanceService'][_0x33e8d2(0x14d)](_0xa0bab5[_0x33e8d2(0x297)]['UNIVER_DOC'])[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this[_0x33e8d2(0x1f8)]))['pipe'](_0x3ac3b6[_0x33e8d2(0x259)](_0x2f6caf=>!_0x2f6caf['getUnitId']()[_0x33e8d2(0x2be)]('__')))['subscribe'](async _0x5e4432=>{const _0x58132d=_0x33e8d2,_0xbc1ce9=_0x5e4432[_0x58132d(0x2d4)](),_0x4c4b92=await this['_startDocCollabCursor'](_0xbc1ce9);this[_0x58132d(0x2aa)][_0x58132d(0x236)](_0x4c4b92),this[_0x58132d(0x150)]['set'](_0xbc1ce9,_0x4c4b92);}),_0x3ac3b6['merge'](this[_0x33e8d2(0x271)][_0x33e8d2(0x20d)](_0xa0bab5['UniverInstanceType'][_0x33e8d2(0x2fa)]),this[_0x33e8d2(0x271)][_0x33e8d2(0x20d)](_0xa0bab5[_0x33e8d2(0x297)][_0x33e8d2(0x18a)]))[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this['dispose$']))['subscribe'](_0x20c0d7=>{const _0x2ae105=_0x33e8d2,_0x544ee8=_0x20c0d7[_0x2ae105(0x2d4)](),_0x2b44ca=this[_0x2ae105(0x150)][_0x2ae105(0x3b3)](_0x544ee8);_0x2b44ca&&(_0x2b44ca[_0x2ae105(0x17e)](),this[_0x2ae105(0x150)][_0x2ae105(0x386)](_0x544ee8));});}async[_0xdba1d4(0x293)](_0x108307){const _0x2a3610=_0xdba1d4,_0xf34ca7=await this[_0x2a3610(0x2c4)]['requireSession'](_0x108307),_0x316a2f=this[_0x2a3610(0x191)]['createInstance'](_0x2ac640,_0x108307,_0xf34ca7);return _0x316a2f[_0x2a3610(0x31f)](),_0x316a2f;}async[_0xdba1d4(0x281)](_0x5c65f2){const _0x2bb4c6=_0xdba1d4,_0x564d7c=await this[_0x2bb4c6(0x2c4)][_0x2bb4c6(0x147)](_0x5c65f2),_0x384be7=this[_0x2bb4c6(0x191)][_0x2bb4c6(0x220)](_0x26619b,_0x5c65f2,_0x564d7c);return _0x384be7[_0x2bb4c6(0x31f)](),_0x384be7;}};_0x14ee2b=_0x26ff83([_0x1b19ec(0x0,_0xa0bab5[_0xdba1d4(0x198)]),_0x1b19ec(0x1,_0xa0bab5['Inject'](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x1b19ec(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96['CollaborationSessionService']))],_0x14ee2b);const _0x56d132=0x14,_0x2576aa=0xc8,_0x1e16f1=0x4,_0x323b28=0x5;function _0x8931eb(_0x1f3f6d,_0x5e4816){const _0x24b566=_0xdba1d4;let {radius:_0x341d40,width:_0x189994,height:_0x521266}=_0x5e4816;_0x341d40=_0x341d40!=null?_0x341d40:0x0,_0x189994=_0x189994!=null?_0x189994:0x1e,_0x521266=_0x521266!=null?_0x521266:0x1e;let _0x5a498c=0x0,_0x14f4da=0x0,_0x509155=0x0;_0x5a498c=_0x14f4da=_0x509155=Math[_0x24b566(0x14a)](_0x341d40,_0x189994/0x2,_0x521266/0x2),_0x1f3f6d[_0x24b566(0x1bd)](),_0x1f3f6d[_0x24b566(0x1ad)](_0x5a498c,0x0),_0x1f3f6d[_0x24b566(0x1c6)](_0x189994-_0x14f4da,0x0),_0x1f3f6d[_0x24b566(0x1d2)](_0x189994-_0x14f4da,_0x14f4da,_0x14f4da,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f3f6d['lineTo'](_0x189994,_0x521266-_0x509155),_0x1f3f6d[_0x24b566(0x1d2)](_0x189994-_0x509155,_0x521266-_0x509155,_0x509155,0x0,Math['PI']/0x2,!0x1),_0x1f3f6d['lineTo'](0x0,_0x521266),_0x1f3f6d[_0x24b566(0x1c6)](0x0,_0x5a498c),_0x1f3f6d[_0x24b566(0x1d2)](_0x5a498c,_0x5a498c,_0x5a498c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f3f6d[_0x24b566(0x36a)](),_0x5e4816[_0x24b566(0x32f)]&&(_0x1f3f6d['save'](),_0x1f3f6d[_0x24b566(0x389)]=_0x5e4816[_0x24b566(0x32f)],_0x5e4816['fillRule']===_0x24b566(0x3b0)?_0x1f3f6d['fill'](_0x24b566(0x3b0)):_0x1f3f6d['fill'](),_0x1f3f6d[_0x24b566(0x21e)]());}class _0x37d829 extends _0x2664c9[_0xdba1d4(0x3dd)]{constructor(_0x44f4b8,_0xb38f42){const _0x2beaad=_0xdba1d4;super(_0x44f4b8,_0xb38f42),_0x1bff93(this,_0x2beaad(0x176)),_0x1bff93(this,_0x2beaad(0x35a)),(this['color']=_0xb38f42==null?void 0x0:_0xb38f42[_0x2beaad(0x176)],this[_0x2beaad(0x35a)]=_0xb38f42==null?void 0x0:_0xb38f42['text']);}static[_0xdba1d4(0x36c)](_0x18f729,_0x3a4b57){const _0x459598=_0xdba1d4,{text:_0x490af1,color:_0x1ae02b}=_0x3a4b57;_0x18f729['save'](),_0x18f729['font']=_0x459598(0x3c3);const _0x58d617=_0x18f729[_0x459598(0x142)](_0x490af1)[_0x459598(0x366)],_0x1edcfa=Math['min'](_0x58d617+0x2*_0x1e16f1,_0x2576aa);_0x8931eb(_0x18f729,{'height':_0x56d132,'radius':0x4,'width':_0x1edcfa,'fill':_0x1ae02b}),_0x18f729['fillStyle']=_0x459598(0x1fb);const _0x426111=_0x1e16f1,_0x15d4db=_0x56d132-_0x323b28,_0x4c52cf=_0x2576aa-0x2*_0x1e16f1;if(_0x58d617>_0x4c52cf){let _0x2b3b9b='',_0x3b63a5=0x0;for(const _0x31668d of _0x490af1){const _0x174ef9=_0x18f729[_0x459598(0x142)](_0x31668d)[_0x459598(0x366)];if(_0x3b63a5+_0x174ef9<=_0x4c52cf-_0x18f729[_0x459598(0x142)](_0x459598(0x3b5))['width'])_0x2b3b9b+=_0x31668d,_0x3b63a5+=_0x174ef9;else{_0x2b3b9b+=_0x459598(0x3b5);break;}}_0x18f729[_0x459598(0x2fe)](_0x2b3b9b,_0x426111,_0x15d4db);}else _0x18f729[_0x459598(0x2fe)](_0x490af1,_0x426111,_0x15d4db);_0x18f729[_0x459598(0x21e)]();}[_0xdba1d4(0x174)](_0x2135bf){const _0x33e7d0=_0xdba1d4;_0x37d829[_0x33e7d0(0x36c)](_0x2135bf,this);}}const _0x44af01=_0xdba1d4(0x22d),_0x20ff07=_0xdba1d4(0x3bf),_0xf79d4b=_0xdba1d4(0x23f),_0xd2fa2a=0x6,_0x2c5568=1.5,_0x24f00c=0x4,_0x4496ba=1.5,_0x41c519='rgba(255,\x20255,\x20255,\x200.01)';class _0x5e712a{constructor(_0x31099d,_0xe515ed,_0x12cc84,_0x15bfb0){const _0x510c2f=_0xdba1d4;_0x1bff93(this,_0x510c2f(0x247),[]),_0x1bff93(this,_0x510c2f(0x1db),null),_0x1bff93(this,_0x510c2f(0x1de),null),_0x1bff93(this,_0x510c2f(0x2d6),null),_0x1bff93(this,_0x510c2f(0x29c),null),_0x1bff93(this,'_eventUnsubscribe',null),(this[_0x510c2f(0x36f)]=_0x31099d,this['_scene']=_0xe515ed,this[_0x510c2f(0x30e)]=_0x12cc84,this['_document']=_0x15bfb0,this[_0x510c2f(0x3ce)]());}set['_hover'](_0x252a49){const _0x1ab2bc=_0xdba1d4;_0x252a49?(this[_0x1ab2bc(0x2d6)]&&this['_anchorDot'][_0x1ab2bc(0x1c4)](),this['_textBubble']&&this[_0x1ab2bc(0x1de)][_0x1ab2bc(0x206)]()):(this['_anchorDot']&&this[_0x1ab2bc(0x2d6)][_0x1ab2bc(0x206)](),this[_0x1ab2bc(0x1de)]&&this[_0x1ab2bc(0x1de)][_0x1ab2bc(0x1c4)]());}[_0xdba1d4(0x17e)](){const _0x3b85dd=_0xdba1d4;for(const _0x529019 of this[_0x3b85dd(0x247)])_0x529019[_0x3b85dd(0x17e)]();this[_0x3b85dd(0x1de)]&&this['_textBubble'][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x2d6)]&&this['_anchorDot'][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x1db)]&&this[_0x3b85dd(0x1db)][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x151)]&&this['_eventUnsubscribe']();}[_0xdba1d4(0x3ce)](){const _0x1f5913=_0xdba1d4;var _0x1d959f;const {_docSkeleton:_0x354048,_document:_0x229bd5}=this,{color:_0x58229b,name:_0x60058a,ranges:_0x297ac9}=this[_0x1f5913(0x36f)],_0x13a647=_0x229bd5[_0x1f5913(0x33d)](),{docsLeft:_0x2c624d,docsTop:_0x33aea4}=_0x13a647,_0x42ca98=new _0x284126[(_0x1f5913(0x301))](_0x13a647,_0x354048);for(const {startOffset:_0x237b40,endOffset:_0x57a7d7,rangeType:_0x236e8a,segmentId:_0x43d291,segmentPage:_0x1367e,collapsed:_0x3275d0,isActive:_0xa5b02d}of _0x297ac9){const _0x4ce76a=_0x354048[_0x1f5913(0x393)](_0x237b40,!0x0,_0x43d291,_0x1367e);let _0x5e44f1=_0x354048[_0x1f5913(0x393)](_0x57a7d7,!0x0,_0x43d291,_0x1367e);if(_0x5e44f1==null&&(_0x5e44f1=_0x354048[_0x1f5913(0x393)](_0x57a7d7-0x1,!0x1,_0x43d291,_0x1367e)),_0xa5b02d){const {contentBoxPointGroup:_0x4250cb}=_0x42ca98['getRangePointData'](_0x5e44f1,_0x5e44f1);if(_0x4250cb[_0x1f5913(0x20a)]===0x0)continue;this[_0x1f5913(0x302)](_0x58229b,_0x4250cb,_0x2c624d,_0x33aea4,_0x60058a),this[_0x1f5913(0x151)]=this['_handleHover']();}if(_0x4ce76a&&_0x5e44f1){if(_0x236e8a===_0xa0bab5['DOC_RANGE_TYPE'][_0x1f5913(0x325)]){const _0x58d361=new _0x284126['NodePositionConvertToRectRange'](_0x13a647,_0x354048),{pointGroup:_0x1bc5c6}=(_0x1d959f=_0x58d361['getRangePointData'](_0x4ce76a,_0x5e44f1))!=null?_0x1d959f:{};if(_0x1bc5c6==null||_0x1bc5c6[_0x1f5913(0x20a)]===0x0)continue;this['_drawRectRange'](_0x58229b,_0x1bc5c6,_0x2c624d,_0x33aea4);}else{if(!_0x3275d0){const {borderBoxPointGroup:_0xf7684f}=_0x42ca98[_0x1f5913(0x26b)](_0x4ce76a,_0x5e44f1);if(_0xf7684f['length']===0x0)continue;this[_0x1f5913(0x1a2)](_0x58229b,_0xf7684f,_0x2c624d,_0x33aea4);}}}}}[_0xdba1d4(0x302)](_0x51c87c,_0xbf5ec8,_0x12e009,_0x5bdce9,_0x5b2149){const _0x2433f6=_0xdba1d4,_0x3910e6=this[_0x2433f6(0x21b)](_0xbf5ec8),{left:_0x2d259e,top:_0x15773a,height:_0x2bef5c}=_0x3910e6,_0x5848f1=this[_0x2433f6(0x1fe)](),_0x175a35=_0x4496ba/_0x5848f1,_0x54bd2b=new _0x2664c9[(_0x2433f6(0x232))](_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9,'height':_0x2bef5c,'width':_0x2c5568,'fill':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)]['black'],0x0),'strokeWidth':_0x175a35,'stroke':_0x41c519,'evented':!0x0});this['_anchor']=_0x54bd2b,this[_0x2433f6(0x1e4)][_0x2433f6(0x166)](_0x54bd2b,_0x284126[_0x2433f6(0x331)]);const _0x35ca20=new _0x2664c9[(_0x2433f6(0x232))](_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9-_0x24f00c/0x2,'height':_0x24f00c,'width':_0x24f00c,'fill':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)][_0x2433f6(0x376)],0x0),'strokeWidth':0x0,'stroke':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)][_0x2433f6(0x376)],0x0),'evented':!0x1});this['_anchorDot']=_0x35ca20,this[_0x2433f6(0x1e4)]['addObject'](_0x35ca20,_0x284126[_0x2433f6(0x331)]);const _0x51cb1c=new _0x37d829(_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9-_0x56d132,'text':_0x5b2149,'color':_0x51c87c});this['_textBubble']=_0x51cb1c,this[_0x2433f6(0x1e4)][_0x2433f6(0x166)](_0x51cb1c,_0x284126[_0x2433f6(0x331)]),this[_0x2433f6(0x186)]=!0x1;}[_0xdba1d4(0x388)](){const _0x116c0b=_0xdba1d4,_0x4250b8=this[_0x116c0b(0x1db)]['onPointerEnter$'][_0x116c0b(0x2ac)](()=>{const _0x26f3c6=_0x116c0b;this[_0x26f3c6(0x186)]=!0x0;}),_0x8625dc=this[_0x116c0b(0x1db)][_0x116c0b(0x33f)][_0x116c0b(0x2ac)](()=>{const _0x5134c1=_0x116c0b;this[_0x5134c1(0x29c)]&&clearTimeout(this[_0x5134c1(0x29c)]),this[_0x5134c1(0x29c)]=setTimeout(()=>{const _0x301b64=_0x5134c1;this[_0x301b64(0x186)]=!0x1;},0x7d0);});return()=>{const _0xc1a4ea=_0x116c0b;_0x4250b8[_0xc1a4ea(0x144)](),_0x8625dc[_0xc1a4ea(0x144)]();};}[_0xdba1d4(0x1a2)](_0x5e0e6f,_0x4f6cf4,_0x513775,_0x3a9503){const _0x39befc=_0xdba1d4,_0x19d6be=new _0xa0bab5[(_0x39befc(0x2b3))](_0x5e0e6f)[_0x39befc(0x321)](0.2)[_0x39befc(0x3b8)](),_0x99381f=new _0x2664c9[(_0x39befc(0x1df))](_0x20ff07+_0xa0bab5[_0x39befc(0x223)](_0xd2fa2a),{'pointsGroup':_0x4f6cf4,'fill':_0x19d6be||_0x2664c9[_0x39befc(0x208)](_0xa0bab5['COLORS']['black'],0.2),'left':_0x513775,'top':_0x3a9503,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39befc(0x247)]['push'](_0x99381f),this[_0x39befc(0x1e4)]['addObject'](_0x99381f,_0x284126[_0x39befc(0x331)]);}['_drawRectRange'](_0x4af31e,_0x110600,_0x27a5aa,_0x4d1ab8){const _0x2edffa=_0xdba1d4,_0x501511=new _0xa0bab5[(_0x2edffa(0x2b3))](_0x4af31e)[_0x2edffa(0x321)](0.2)[_0x2edffa(0x3b8)](),_0x4e864c=new _0x2664c9['RegularPolygon'](_0xf79d4b+_0xa0bab5[_0x2edffa(0x223)](_0xd2fa2a),{'pointsGroup':_0x110600,'fill':_0x501511||_0x2664c9[_0x2edffa(0x208)](_0xa0bab5['COLORS']['black'],0.2),'left':_0x27a5aa,'top':_0x4d1ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2edffa(0x247)][_0x2edffa(0x14e)](_0x4e864c),this[_0x2edffa(0x1e4)][_0x2edffa(0x166)](_0x4e864c,_0x284126['TEXT_RANGE_LAYER_INDEX']);}[_0xdba1d4(0x21b)](_0x281d55){const _0x484908=_0x281d55[0x0],_0x5f1a7b=_0x484908[0x0],_0x3d7163=_0x484908[0x2],{x:_0x2c69a0,y:_0x285049}=_0x5f1a7b,{x:_0x5428cd,y:_0x50f62f}=_0x3d7163;return{'left':_0x2c69a0,'top':_0x285049,'width':_0x5428cd-_0x2c69a0,'height':_0x50f62f-_0x285049};}['_getScale'](){const _0x3b9543=_0xdba1d4,{scaleX:_0x301b61,scaleY:_0x18f1c0}=this[_0x3b9543(0x1e4)][_0x3b9543(0x2ba)]();return Math[_0x3b9543(0x262)](_0x301b61,_0x18f1c0);}}var _0x432a1e=Object[_0xdba1d4(0x2c9)],_0x5b5a56=(_0x4d944f,_0x149a4f,_0x38ca51,_0x2f1dde)=>{const _0x2e5ec1=_0xdba1d4;for(var _0x169974=_0x2f1dde>0x1?void 0x0:_0x2f1dde?_0x432a1e(_0x149a4f,_0x38ca51):_0x149a4f,_0x1bcd5e=_0x4d944f[_0x2e5ec1(0x20a)]-0x1,_0x35408f;_0x1bcd5e>=0x0;_0x1bcd5e--)(_0x35408f=_0x4d944f[_0x1bcd5e])&&(_0x169974=_0x35408f(_0x169974)||_0x169974);return _0x169974;},_0x357a3a=(_0x9c81c3,_0x17de3c)=>(_0x25a156,_0x2be8ea)=>_0x17de3c(_0x25a156,_0x2be8ea,_0x9c81c3);let _0x30ad8d=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x1609a4,_0x396d8d,_0x12f30c,_0x4ab2ec,_0x12ea5e){const _0x541958=_0xdba1d4;super(),_0x1bff93(this,_0x541958(0x351),[]),_0x1bff93(this,_0x541958(0x1a5),[]),(this[_0x541958(0x1a8)]=_0x1609a4,this[_0x541958(0x173)]=_0x396d8d,this[_0x541958(0x20c)]=_0x12f30c,this[_0x541958(0x246)]=_0x4ab2ec,this['_themeService']=_0x12ea5e,this[_0x541958(0x3a6)]());}['_init'](){const _0x193dd5=_0xdba1d4,_0x4a1c30=this[_0x193dd5(0x1a8)]['unitId'],_0x425ca5=this[_0x193dd5(0x173)];this[_0x193dd5(0x2c3)](_0x3ac3b6[_0x193dd5(0x291)]([this['_collabCursorController'][_0x193dd5(0x332)](_0x4a1c30),this[_0x193dd5(0x1c9)][_0x193dd5(0x35c)]])['pipe'](_0x17a732[_0x193dd5(0x192)](([_0x55000c,_0x73b0f1])=>({'skeleton':_0x425ca5[_0x193dd5(0x323)](),'cursors':[..._0x55000c[_0x193dd5(0x1a7)]()][_0x193dd5(0x228)](_0x3ba871=>({..._0x3ba871,'color':this[_0x193dd5(0x1c9)][_0x193dd5(0x2ee)](_0x3ba871['color'])}))})))['subscribe'](_0x986e66=>{const _0x44fe22=_0x193dd5;if(this[_0x44fe22(0x1f6)](),_0x986e66){const {skeleton:_0x3ccd41,cursors:_0xbc8619}=_0x986e66;this[_0x44fe22(0x2b2)](_0x3ccd41,_0xbc8619);}})),this[_0x193dd5(0x2b0)](),this[_0x193dd5(0x1b0)]();}[_0xdba1d4(0x2b2)](_0x10670d,_0x11bfaa){const _0xbb9c83=_0xdba1d4,{scene:_0x31f617,mainComponent:_0x3663c5}=this[_0xbb9c83(0x1a8)],_0x307676=_0x11bfaa['map'](_0x508313=>new _0x5e712a(_0x508313,_0x31f617,_0x10670d,_0x3663c5));this[_0xbb9c83(0x351)]=_0x307676,this[_0xbb9c83(0x1a5)]=_0x11bfaa;}[_0xdba1d4(0x235)](){const _0x3a0317=_0xdba1d4;this[_0x3a0317(0x1f6)]();const {scene:_0x39491c,mainComponent:_0x1af68f}=this['_context'],_0x409ecf=this[_0x3a0317(0x173)][_0x3a0317(0x323)](),_0x4bf945=this['_cursors']['map'](_0x2463d2=>new _0x5e712a(_0x2463d2,_0x39491c,_0x409ecf,_0x1af68f));this[_0x3a0317(0x351)]=_0x4bf945;}[_0xdba1d4(0x1f6)](){const _0x118380=_0xdba1d4;this[_0x118380(0x351)][_0x118380(0x395)](_0x2e972b=>_0x2e972b[_0x118380(0x17e)]()),this[_0x118380(0x351)]=[];}['_initCommandExecutedListener'](){const _0x297be2=_0xdba1d4,_0x53324c=[_0x284126['SetDocZoomRatioOperation']['id']];this[_0x297be2(0x2c3)](this[_0x297be2(0x246)][_0x297be2(0x2cd)](_0x3b051a=>{const _0x3bd42b=_0x297be2;_0x53324c['includes'](_0x3b051a['id'])&&_0x3b051a[_0x3bd42b(0x1a3)]['unitId']===this['_context'][_0x3bd42b(0x15b)]&&this[_0x3bd42b(0x235)]();}));}['_initResize'](){const _0x3cc19a=_0xdba1d4;this['disposeWithMe'](_0xa0bab5['fromEventSubject'](this[_0x3cc19a(0x1a8)]['engine'][_0x3cc19a(0x1f4)])[_0x3cc19a(0x2a4)](_0x17a732[_0x3cc19a(0x259)](_0x4d0ff3=>_0x4d0ff3['type']===_0x2664c9[_0x3cc19a(0x2a2)][_0x3cc19a(0x327)]),_0x17a732['throttleTime'](0x10))[_0x3cc19a(0x17a)](()=>{const _0x196844=_0x3cc19a;this[_0x196844(0x235)]();}));}};_0x30ad8d=_0x5b5a56([_0x357a3a(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x3e46d1[_0xdba1d4(0x162)])),_0x357a3a(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x14ee2b)),_0x357a3a(0x3,_0xa0bab5[_0xdba1d4(0x1d5)]),_0x357a3a(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x1b3)]))],_0x30ad8d);const _0x317ec7=0x1,_0x2fddfb=1.5;class _0x836841 extends _0x2664c9[_0xdba1d4(0x3dd)]{constructor(_0xd0fe83,_0x3021d2){const _0x1185c7=_0xdba1d4;super(_0xd0fe83,_0x3021d2),_0x1bff93(this,'_color'),_0x1bff93(this,_0x1185c7(0x2b1),!0x1),_0x1bff93(this,_0x1185c7(0x37a)),_0x1bff93(this,_0x1185c7(0x3e1),''),_0x1bff93(this,_0x1185c7(0x335),_0x1185c7(0x190)),_0x1bff93(this,_0x1185c7(0x183)),(_0x3021d2&&this[_0x1185c7(0x2f7)](_0x3021d2),this[_0x1185c7(0x3a3)][_0x1185c7(0x2ac)](()=>this[_0x1185c7(0x2f7)]({'hovered':!0x0})),this[_0x1185c7(0x33f)][_0x1185c7(0x2ac)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x2cb9ef){const _0x5b234f=_0xdba1d4;var _0x2e2c70,_0x3d335d,_0x4c83c9,_0x5a7072,_0x11cf80,_0x43c570;this[_0x5b234f(0x31a)]=(_0x2e2c70=_0x2cb9ef[_0x5b234f(0x176)])!=null?_0x2e2c70:this[_0x5b234f(0x31a)],this['_hovered']=(_0x3d335d=_0x2cb9ef['hovered'])!=null?_0x3d335d:this[_0x5b234f(0x2b1)],this['_range']=(_0x4c83c9=_0x2cb9ef[_0x5b234f(0x14f)])!=null?_0x4c83c9:this[_0x5b234f(0x37a)],this[_0x5b234f(0x3e1)]=(_0x5a7072=_0x2cb9ef[_0x5b234f(0x391)])!=null?_0x5a7072:this['_name'],this[_0x5b234f(0x335)]=(_0x11cf80=_0x2cb9ef[_0x5b234f(0x28a)])!=null?_0x11cf80:this[_0x5b234f(0x335)],this['_backgroundColor']=(_0x43c570=_0x2cb9ef['backgroundColor'])!=null?_0x43c570:this[_0x5b234f(0x183)],this[_0x5b234f(0x209)]({'width':_0x2cb9ef[_0x5b234f(0x366)],'height':_0x2cb9ef[_0x5b234f(0x266)]});}[_0xdba1d4(0x3a2)](_0x25d654){const _0x1a6243=_0xdba1d4,{row:_0x2317ae,column:_0x560281}=_0x25d654;if(_0x2317ae>=this['_range'][_0x1a6243(0x1cc)]&&_0x2317ae<=this['_range'][_0x1a6243(0x1bf)]&&_0x560281>=this[_0x1a6243(0x37a)][_0x1a6243(0x2da)]&&_0x560281<=this[_0x1a6243(0x37a)][_0x1a6243(0x180)]){this[_0x1a6243(0x2f7)]({'hovered':!0x0});return;}this[_0x1a6243(0x2f7)]({'hovered':!0x1});}[_0xdba1d4(0x23e)](_0x5821f8){return!0x1;}[_0xdba1d4(0x174)](_0x2d843d){const _0x2bb235=_0xdba1d4;_0x2664c9[_0x2bb235(0x232)][_0x2bb235(0x36c)](_0x2d843d,{'width':this['width'],'height':this[_0x2bb235(0x266)],'strokeWidth':_0x2fddfb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2bb235(0x183)]}),this[_0x2bb235(0x2b1)]&&(_0x2d843d[_0x2bb235(0x187)](),_0x2d843d[_0x2bb235(0x3d7)](0x1,0x0,0x0,0x1,this[_0x2bb235(0x366)],this[_0x2bb235(0x335)]==='bottom'?0x0:-_0x56d132),_0x37d829[_0x2bb235(0x36c)](_0x2d843d,{'text':this[_0x2bb235(0x3e1)],'color':this[_0x2bb235(0x31a)]}),_0x2d843d[_0x2bb235(0x21e)]());}}var _0x4bdd96=Object[_0xdba1d4(0x2c9)],_0x21e537=(_0x3c776a,_0x303284,_0x3cc8b8,_0x275663)=>{const _0x1d7572=_0xdba1d4;for(var _0x5a3d98=_0x275663>0x1?void 0x0:_0x275663?_0x4bdd96(_0x303284,_0x3cc8b8):_0x303284,_0x25c8af=_0x3c776a[_0x1d7572(0x20a)]-0x1,_0xfe2e3b;_0x25c8af>=0x0;_0x25c8af--)(_0xfe2e3b=_0x3c776a[_0x25c8af])&&(_0x5a3d98=_0xfe2e3b(_0x5a3d98)||_0x5a3d98);return _0x5a3d98;},_0x59d285=(_0x5b7e17,_0x2f7be3)=>(_0x5bf734,_0xb6a594)=>_0x2f7be3(_0x5bf734,_0xb6a594,_0x5b7e17);const _0x14256d=0x1389;let _0x3555e8=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x11a926,_0x1e86a5,_0xb0c456,_0x193f49){const _0x2571dd=_0xdba1d4;super(),_0x1bff93(this,_0x2571dd(0x1a5),new Set()),_0x1bff93(this,_0x2571dd(0x2ea),null),(this[_0x2571dd(0x1a8)]=_0x11a926,this[_0x2571dd(0x229)]=_0x1e86a5,this[_0x2571dd(0x20c)]=_0xb0c456,this[_0x2571dd(0x1c9)]=_0x193f49,this[_0x2571dd(0x3a6)]());}[_0xdba1d4(0x3a6)](){const _0x66c8cc=_0xdba1d4;this[_0x66c8cc(0x229)]['currentSkeleton$']['pipe'](_0x17a732[_0x66c8cc(0x3ac)](this[_0x66c8cc(0x1f8)]),_0x17a732[_0x66c8cc(0x364)](_0x166e44=>{const _0x1f8dad=_0x66c8cc;if(_0x166e44){const _0x1203b8=_0x166e44[_0x1f8dad(0x1d3)];return _0x3ac3b6[_0x1f8dad(0x291)](this['_collabCursorController']['getCollabCursors$'](this[_0x1f8dad(0x1a8)][_0x1f8dad(0x15b)]),this['_themeService'][_0x1f8dad(0x35c)])[_0x1f8dad(0x2a4)](_0x17a732[_0x1f8dad(0x192)](([_0x11fbd3,_0x29c300])=>{const _0x5864f0=_0x1f8dad,_0x40c079=new Map();return _0x11fbd3[_0x5864f0(0x395)]((_0x3d14fe,_0x1bf450)=>{const _0x51f15f=_0x5864f0;if(_0x3d14fe[_0x51f15f(0x1ff)]===_0x1203b8){const _0x1f3c73={..._0x3d14fe};_0x1f3c73['color']=this[_0x51f15f(0x1c9)][_0x51f15f(0x2ee)](_0x3d14fe['color']),_0x40c079[_0x51f15f(0x218)](_0x1bf450,_0x1f3c73);}}),{'skeleton':_0x166e44,'cursors':_0x40c079};}));}return _0x3ac3b6['of']({'skeleton':null,'cursors':new Map()});}))[_0x66c8cc(0x17a)](({skeleton:_0x573b04,cursors:_0x34832c})=>{const _0x257f59=_0x66c8cc;this['_removeCollabCursors'](),_0x573b04&&this[_0x257f59(0x2b2)](_0x573b04,_0x34832c);}),this[_0x66c8cc(0x229)]['currentSkeleton$'][_0x66c8cc(0x17a)](_0x3ce190=>{const _0x53414b=_0x66c8cc;if(_0x3ce190==null)return;const {skeleton:_0x16b755}=_0x3ce190,{scene:_0x38965a}=this[_0x53414b(0x1a8)];_0x38965a['onPointerMove$'][_0x53414b(0x2ac)](_0xa0bab5[_0x53414b(0x330)](_0x172ac2=>{const _0x4c5c8d=_0x53414b;var _0x7470d4,_0x405b4e;const {offsetX:_0x3ea53f,offsetY:_0x5346cc}=_0x172ac2,{x:_0x5b038a,y:_0x266513}=_0x38965a['getRelativeToViewportCoord'](_0x2664c9[_0x4c5c8d(0x32b)][_0x4c5c8d(0x3df)]([_0x3ea53f,_0x5346cc])),{scaleX:_0x1c41fa,scaleY:_0x5f560a}=_0x38965a[_0x4c5c8d(0x2ba)](),_0x346fdf=_0x38965a['getViewport'](_0x2664c9[_0x4c5c8d(0x163)][_0x4c5c8d(0x15d)]),_0x4adc8d=_0x38965a[_0x4c5c8d(0x30f)](_0x2664c9[_0x4c5c8d(0x32b)][_0x4c5c8d(0x3df)]([_0x5b038a,_0x266513]),_0x346fdf),_0x56496d=_0x16b755[_0x4c5c8d(0x2b9)](_0x3ea53f,_0x5346cc,_0x1c41fa,_0x5f560a,_0x4adc8d);((_0x7470d4=this[_0x4c5c8d(0x2ea)])==null?void 0x0:_0x7470d4[_0x4c5c8d(0x152)])===_0x56496d[_0x4c5c8d(0x152)]&&((_0x405b4e=this[_0x4c5c8d(0x2ea)])==null?void 0x0:_0x405b4e[_0x4c5c8d(0x2bd)])===_0x56496d[_0x4c5c8d(0x2bd)]||this[_0x4c5c8d(0x1a5)][_0x4c5c8d(0x395)](_0x4407b5=>{_0x4407b5['onMouseMove'](_0x56496d);});},0x64));});}[_0xdba1d4(0x2b2)](_0x19fc13,_0x216bcf){const _0x1282d4=_0xdba1d4;var _0x134068;const _0x2da50c=(_0x134068=this['_sheetSkeletonManagerService'][_0x1282d4(0x13d)]())==null?void 0x0:_0x134068[_0x1282d4(0x3a5)];if(!_0x2da50c)return;const _0x21b437=this[_0x1282d4(0x15c)]();if(!_0x21b437)return;this[_0x1282d4(0x1a5)][_0x1282d4(0x395)](_0x3a5c22=>{const _0x3678e3=_0x1282d4;_0x3a5c22[_0x3678e3(0x2a9)]();});const {scene:_0x33115b}=_0x21b437,_0x51c7cb=_0xb5eb8(Array[_0x1282d4(0x3b2)](_0x216bcf[_0x1282d4(0x1a7)]()))[_0x1282d4(0x192)](_0x1e7af5=>{const _0x2140ac=_0x1282d4,{color:_0xa347cc,range:_0x2e40ca,name:_0x3fb254,selection:_0x168bbd,sheetID:_0x4d0c26}=_0x1e7af5,{startColumn:_0x3b1561,startRow:_0x4508b2,endColumn:_0x26ab57,endRow:_0x407ef}=_0x2e40ca,_0x24ae98=_0x58184e[_0x2140ac(0x21d)](_0x4508b2,_0x3b1561,_0x33115b,_0x2da50c),_0x52c21e=_0x58184e['getCoordByCell'](_0x407ef,_0x26ab57,_0x33115b,_0x2da50c),{columnHeaderHeightAndMarginTop:_0x4cee8f}=_0x2da50c,{startX:_0x2879d0,startY:_0x4f7505}=_0x24ae98,{endX:_0x27dd29,endY:_0x422a0b}=_0x52c21e,_0x394a7a=_0x27dd29-_0x2879d0,_0x4643a9=_0x422a0b-_0x4f7505,_0x50c8c9={'labelPosition':_0x4f7505-_0x4cee8f>=_0x56d132?_0x2140ac(0x190):'bottom','sheetID':_0x4d0c26,'range':_0x2e40ca,'color':_0xa347cc,'name':_0x3fb254,'selection':_0x168bbd,'left':_0x2879d0,'top':_0x4f7505,'width':_0x394a7a,'height':_0x4643a9,'evented':!0x1,'zIndex':_0x14256d};return new _0x836841(_0x3fb254,_0x50c8c9);});_0x33115b[_0x1282d4(0x2b4)](_0x51c7cb,_0x317ec7),this[_0x1282d4(0x1a5)]=new Set(_0x51c7cb);}[_0xdba1d4(0x1f6)](){const _0x56f1a7=_0xdba1d4;var _0xc1dea1;(_0xc1dea1=this[_0x56f1a7(0x1a5)])==null||_0xc1dea1[_0x56f1a7(0x395)](_0x337633=>_0x337633[_0x56f1a7(0x17e)]());}[_0xdba1d4(0x15c)](){const _0xb6d467=_0xdba1d4;return _0x58184e[_0xb6d467(0x1e9)](this[_0xb6d467(0x1a8)]['unit'],this[_0xb6d467(0x1a8)]);}};_0x3555e8=_0x21e537([_0x59d285(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x58184e[_0xdba1d4(0x226)])),_0x59d285(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x14ee2b)),_0x59d285(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['ThemeService']))],_0x3555e8);function _0xb5eb8(_0x3a68d0){const _0x58ad0e=_0xdba1d4,_0x24b91a=new Map();return _0x3a68d0[_0x58ad0e(0x395)](_0x2940df=>{const _0x33e69f=_0x58ad0e;if(_0x24b91a[_0x33e69f(0x17c)](_0x2940df[_0x33e69f(0x374)])){const _0x567d2f=_0x24b91a['get'](_0x2940df[_0x33e69f(0x374)]);_0x567d2f[_0x33e69f(0x391)]+=',\x20'+_0x2940df[_0x33e69f(0x391)];}else _0x24b91a[_0x33e69f(0x218)](_0x2940df[_0x33e69f(0x374)],_0x2940df);}),Array[_0x58ad0e(0x3b2)](_0x24b91a['values']());}var _0x128686=Object[_0xdba1d4(0x2c9)],_0x242be6=(_0xab302f,_0x326685,_0x1caaeb,_0xcac73d)=>{const _0x2c763e=_0xdba1d4;for(var _0x30cdd2=_0xcac73d>0x1?void 0x0:_0xcac73d?_0x128686(_0x326685,_0x1caaeb):_0x326685,_0x128905=_0xab302f[_0x2c763e(0x20a)]-0x1,_0x43d0fe;_0x128905>=0x0;_0x128905--)(_0x43d0fe=_0xab302f[_0x128905])&&(_0x30cdd2=_0x43d0fe(_0x30cdd2)||_0x30cdd2);return _0x30cdd2;},_0x566505=(_0x3aeb27,_0x4ff2d1)=>(_0x1ca656,_0x4b2154)=>_0x4ff2d1(_0x1ca656,_0x4b2154,_0x3aeb27);let _0x522c30=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0xfb1722,_0x5c9140,_0x5e959d,_0x462b66,_0x1bacf3,_0x585aa5){const _0x196987=_0xdba1d4;super(),this[_0x196987(0x380)]=_0xfb1722,this[_0x196987(0x1cb)]=_0x5c9140,this[_0x196987(0x231)]=_0x5e959d,this['_messageService']=_0x462b66,this[_0x196987(0x23c)]=_0x1bacf3,this[_0x196987(0x1c3)]=_0x585aa5,this[_0x196987(0x372)](),this[_0x196987(0x178)]();}[_0xdba1d4(0x372)](){const _0x231068=_0xdba1d4;this[_0x231068(0x2c3)](this[_0x231068(0x380)][_0x231068(0x2eb)](()=>{const _0x4a9790=_0x231068;if(this[_0x4a9790(0x1cb)][_0x4a9790(0x24c)]['size'])return this[_0x4a9790(0x1c3)]['t'](_0x4a9790(0x39f));}));}[_0xdba1d4(0x178)](){const _0x55627f=_0xdba1d4;this[_0x55627f(0x2c3)](this[_0x55627f(0x231)]['event$'][_0x55627f(0x17a)](_0x2a3d41=>{const _0xb9076b=_0x55627f;_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x3cf)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233['MessageType'][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x3b1))}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x24b)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t']('collaboration.closeRoom')}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x324)]&&this[_0xb9076b(0x23c)][_0xb9076b(0x206)]({'title':this['_localeService']['t'](_0xb9076b(0x197)),'content':this[_0xb9076b(0x1c3)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x2dc)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t']('collaboration.closeRoom')+'('+_0x2a3d41['data']+')'}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x317)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t'](_0x2a3d41[_0xb9076b(0x3ba)]||'')}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x182)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this['_localeService']['t'](_0xb9076b(0x172))}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x339))}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x16b)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x37e))});}));}};_0x522c30=_0x242be6([_0x566505(0x0,_0x5d5ad1['IBeforeCloseService']),_0x566505(0x1,_0x5aae96[_0xdba1d4(0x22a)]),_0x566505(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x348)])),_0x566505(0x3,_0x5d5ad1[_0xdba1d4(0x272)]),_0x566505(0x4,_0x5d5ad1[_0xdba1d4(0x1f7)]),_0x566505(0x5,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x292)]))],_0x522c30);const _0x1635f4=_0xdba1d4(0x2a3),_0x3e7444={};var _0x4ce4d2=Object[_0xdba1d4(0x2c9)],_0x22dd1e=(_0x11ee4f,_0x4a0a90,_0x9685e0,_0x5518e7)=>{for(var _0x2fc87f=_0x5518e7>0x1?void 0x0:_0x5518e7?_0x4ce4d2(_0x4a0a90,_0x9685e0):_0x4a0a90,_0x192d73=_0x11ee4f['length']-0x1,_0x238ded;_0x192d73>=0x0;_0x192d73--)(_0x238ded=_0x11ee4f[_0x192d73])&&(_0x2fc87f=_0x238ded(_0x2fc87f)||_0x2fc87f);return _0x2fc87f;},_0x370132=(_0x452e7d,_0x241df2)=>(_0x517fc3,_0x31887b)=>_0x241df2(_0x517fc3,_0x31887b,_0x452e7d);let _0x4a2b1d=class{constructor(_0x261e78,_0x2fc4ee){const _0x22fc34=_0xdba1d4;this[_0x22fc34(0x3a9)]=_0x261e78,this[_0x22fc34(0x319)]=_0x2fc4ee;}[_0xdba1d4(0x2d7)](_0x53dbf3){const _0x41114c=_0xdba1d4;this['_transformUndoRedoStack'](_0x53dbf3),this[_0x41114c(0x387)](_0x53dbf3);}['transformRemoteChangeset'](_0x226b27){const _0x164061=_0xdba1d4,{unitID:_0x2af7f8}=_0x226b27,_0x25ffa2=this[_0x164061(0x319)][_0x164061(0x1e8)](_0x2af7f8)[_0x164061(0x3c7)](_0x284126['DocIMEInputManagerService']),{redoCache:_0x36060e}=_0x25ffa2[_0x164061(0x252)]();if(_0x36060e['length']===0x0)return _0x226b27;let _0x5c0606=_0xa0bab5[_0x164061(0x260)]['deepClone'](_0x226b27[_0x164061(0x227)][0x0]);for(let _0x14bfb5=0x0;_0x14bfb5<_0x36060e[_0x164061(0x20a)];_0x14bfb5++){const _0x18e3eb={'id':_0x164061(0x202),'params':{..._0x36060e[_0x14bfb5]}},_0x24f6bd=this['_transformService'][_0x164061(0x2e3)](_0x5c0606,_0x18e3eb,!0x1);if(_0x53baaf[_0x164061(0x3a1)](_0x24f6bd))throw _0x24f6bd[_0x164061(0x352)];_0x5c0606=_0x24f6bd[_0x164061(0x212)];}return{..._0xa0bab5['Tools'][_0x164061(0x3c4)](_0x226b27),'mutations':[_0x5c0606]};}[_0xdba1d4(0x305)](_0x2460bf){const _0x283134=_0xdba1d4,{unitID:_0x10af28}=_0x2460bf,_0x1f65d0=this[_0x283134(0x319)][_0x283134(0x1e8)](_0x10af28)[_0x283134(0x3c7)](_0x284126[_0x283134(0x2a1)]),{undoCache:_0x3cabc6,redoCache:_0x3e7425}=_0x1f65d0[_0x283134(0x252)]();if(_0x3cabc6[_0x283134(0x20a)]===0x0||_0x3e7425[_0x283134(0x20a)]===0x0)return;const _0x2242f8=[],_0x142d23=[];let _0x4e8924=_0xa0bab5[_0x283134(0x260)][_0x283134(0x3c4)](_0x2460bf['mutations'][0x0]),_0x3b1a35=_0xa0bab5[_0x283134(0x260)]['deepClone'](_0x2460bf['mutations'][0x0]);for(let _0x1dd8a5=_0x3cabc6['length']-0x1;_0x1dd8a5>=0x0;_0x1dd8a5--){const _0x1af70b={'id':'doc.mutation.rich-text-editing','params':{..._0x3cabc6[_0x1dd8a5]}},_0x49cb27={'id':'doc.mutation.rich-text-editing','params':{..._0x3e7425[_0x1dd8a5]}},_0x53833f=this[_0x283134(0x3a9)][_0x283134(0x2e3)](_0x4e8924,_0x1af70b,!0x1),_0x1df5f5=this[_0x283134(0x3a9)][_0x283134(0x2e3)](_0x3b1a35,_0x49cb27,!0x1);if(_0x53baaf[_0x283134(0x3a1)](_0x53833f))throw _0x53833f[_0x283134(0x352)];if(_0x53baaf[_0x283134(0x3a1)](_0x1df5f5))throw _0x1df5f5[_0x283134(0x352)];_0x2242f8[_0x283134(0x2c8)](_0x53833f['m2Prime'][_0x283134(0x1a3)]),_0x142d23[_0x283134(0x2c8)](_0x1df5f5['m2Prime'][_0x283134(0x1a3)]),_0x4e8924=_0x53833f['m1Prime'],_0x3b1a35=_0x1df5f5['m1Prime'];}_0x1f65d0[_0x283134(0x1a1)]({'undoCache':_0x2242f8,'redoCache':_0x142d23});}[_0xdba1d4(0x387)](_0x1a5d8a){const _0x244bed=_0xdba1d4,{unitID:_0x40342e}=_0x1a5d8a,_0x57ed27=this[_0x244bed(0x319)]['getRenderById'](_0x40342e)[_0x244bed(0x3c7)](_0x284126[_0x244bed(0x2a1)]),_0x4b9b24=_0x57ed27[_0x244bed(0x14b)]();if(_0x4b9b24==null)return;const _0x5428c8=[{'id':_0x244bed(0x202),'params':{'unitId':_0x1a5d8a['unitID'],'actions':null,'textRanges':[_0x4b9b24]}}],_0x4f2a95=this['_transformService']['transformMutationsWithChangeset'](_0x1a5d8a,_0x5428c8);if(!_0x53baaf[_0x244bed(0x1da)](_0x4f2a95))throw _0x4f2a95['error'];const _0x2a51ee=_0x4f2a95[_0x244bed(0x3d6)][0x0][_0x244bed(0x1a3)]['textRanges'];Array[_0x244bed(0x38d)](_0x2a51ee)&&_0x2a51ee[_0x244bed(0x20a)]&&_0x57ed27[_0x244bed(0x340)](_0x2a51ee[0x0]);}};_0x4a2b1d=_0x22dd1e([_0x370132(0x0,_0x53baaf[_0xdba1d4(0x2fc)]),_0x370132(0x1,_0x2664c9['IRenderManagerService'])],_0x4a2b1d);var _0x34fe2b=Object[_0xdba1d4(0x2c9)],_0x3ca1c1=(_0x30791e,_0x46bce3,_0x23af47,_0x3ba916)=>{const _0x533dd8=_0xdba1d4;for(var _0x1018f9=_0x3ba916>0x1?void 0x0:_0x3ba916?_0x34fe2b(_0x46bce3,_0x23af47):_0x46bce3,_0x2220a6=_0x30791e[_0x533dd8(0x20a)]-0x1,_0x5ca795;_0x2220a6>=0x0;_0x2220a6--)(_0x5ca795=_0x30791e[_0x2220a6])&&(_0x1018f9=_0x5ca795(_0x1018f9)||_0x1018f9);return _0x1018f9;},_0x307709=(_0xafdbcf,_0x43598d)=>(_0x578576,_0x425d12)=>_0x43598d(_0x578576,_0x425d12,_0xafdbcf);let _0x21e315=class{constructor(_0x530014,_0x4e6213,_0x26249a){const _0x3380d0=_0xdba1d4;this[_0x3380d0(0x191)]=_0x530014,this['_transformService']=_0x4e6213,this[_0x3380d0(0x2c6)]=_0x26249a;}[_0xdba1d4(0x2df)](_0x67c3ee){const _0x5f59a7=_0xdba1d4;this[_0x5f59a7(0x141)](_0x67c3ee);}[_0xdba1d4(0x216)](_0xe2e8a4){const _0x1b1a99=_0xdba1d4,{unitID:_0x5c7260}=_0xe2e8a4,{collaboration:_0x29174b}=this['_docStateChangeManagerService'][_0x1b1a99(0x27c)](_0x5c7260);if(_0x29174b[_0x1b1a99(0x20a)]===0x0)return _0xe2e8a4;let _0x11f2ad=_0xa0bab5[_0x1b1a99(0x260)][_0x1b1a99(0x3c4)](_0xe2e8a4[_0x1b1a99(0x227)][0x0]);for(let _0x173c64=0x0;_0x173c64<_0x29174b[_0x1b1a99(0x20a)];_0x173c64++){const _0x401cee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29174b[_0x173c64][_0x1b1a99(0x15b)],..._0x29174b[_0x173c64]['redoState']}},_0x28d7ac=this[_0x1b1a99(0x3a9)][_0x1b1a99(0x2e3)](_0x11f2ad,_0x401cee,!0x1);if(_0x53baaf[_0x1b1a99(0x3a1)](_0x28d7ac))throw _0x28d7ac[_0x1b1a99(0x352)];_0x11f2ad=_0x28d7ac['m1Prime'];}return{..._0xa0bab5[_0x1b1a99(0x260)][_0x1b1a99(0x3c4)](_0xe2e8a4),'mutations':[_0x11f2ad]};}[_0xdba1d4(0x141)](_0x28d7c4){const _0x4d1bc9=_0xdba1d4,{unitID:_0x2b284a}=_0x28d7c4,{history:_0x3ae583,collaboration:_0x5e2a16}=this[_0x4d1bc9(0x2c6)][_0x4d1bc9(0x27c)](_0x2b284a);if(_0x3ae583[_0x4d1bc9(0x20a)]===0x0&&_0x5e2a16[_0x4d1bc9(0x20a)]===0x0)return;const _0xf36c45=[],_0x26af3c=[];let _0x1ed662=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]),_0x439aaf=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]);for(let _0x394ac9=_0x3ae583[_0x4d1bc9(0x20a)]-0x1;_0x394ac9>=0x0;_0x394ac9--){const _0x292503={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x3ae583[_0x394ac9]['unitId'],..._0x3ae583[_0x394ac9]['undoState']}},_0x3c200c={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x3ae583[_0x394ac9][_0x4d1bc9(0x15b)],..._0x3ae583[_0x394ac9]['redoState']}},_0xfb2f08=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x1ed662,_0x292503,!0x1),_0x264215=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x439aaf,_0x3c200c,!0x1);if(_0x53baaf['isTransformMutationFailure'](_0xfb2f08))throw _0xfb2f08['error'];if(_0x53baaf[_0x4d1bc9(0x3a1)](_0x264215))throw _0x264215[_0x4d1bc9(0x352)];_0xf36c45['unshift']({..._0x3ae583[_0x394ac9],'undoState':_0xfb2f08['m2Prime'][_0x4d1bc9(0x1a3)],'redoState':_0x264215[_0x4d1bc9(0x3d6)]['params']}),_0x1ed662=_0xfb2f08['m1Prime'],_0x439aaf=_0x264215[_0x4d1bc9(0x212)];}_0x1ed662=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]),_0x439aaf=_0xa0bab5[_0x4d1bc9(0x260)]['deepClone'](_0x28d7c4[_0x4d1bc9(0x227)][0x0]);for(let _0x3ef0c5=_0x5e2a16[_0x4d1bc9(0x20a)]-0x1;_0x3ef0c5>=0x0;_0x3ef0c5--){const _0xe4891={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x15b)],..._0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x1cd)]}},_0x55263a={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x15b)],..._0x5e2a16[_0x3ef0c5]['redoState']}},_0x54f687=this['_transformService']['transformMutation'](_0x1ed662,_0xe4891,!0x1),_0x23d76c=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x439aaf,_0x55263a,!0x1);if(_0x53baaf['isTransformMutationFailure'](_0x54f687))throw _0x54f687[_0x4d1bc9(0x352)];if(_0x53baaf[_0x4d1bc9(0x3a1)](_0x23d76c))throw _0x23d76c[_0x4d1bc9(0x352)];_0x26af3c[_0x4d1bc9(0x2c8)]({..._0x5e2a16[_0x3ef0c5],'undoState':_0x54f687[_0x4d1bc9(0x3d6)][_0x4d1bc9(0x1a3)],'redoState':_0x23d76c[_0x4d1bc9(0x3d6)][_0x4d1bc9(0x1a3)]}),_0x1ed662=_0x54f687[_0x4d1bc9(0x212)],_0x439aaf=_0x23d76c[_0x4d1bc9(0x212)];}this['_docStateChangeManagerService'][_0x4d1bc9(0x2e0)](_0x2b284a,{'history':_0xf36c45,'collaboration':_0x26af3c});}};_0x21e315=_0x3ca1c1([_0x307709(0x0,_0xa0bab5['Inject'](_0xa0bab5['Injector'])),_0x307709(0x1,_0x53baaf[_0xdba1d4(0x2fc)]),_0x307709(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x284126[_0xdba1d4(0x3d2)]))],_0x21e315);var _0x4d6731=Object[_0xdba1d4(0x2c9)],_0xcb15df=(_0x100550,_0x433b8d,_0x2adacb,_0x5c6e4f)=>{const _0x1feb7d=_0xdba1d4;for(var _0x38d595=_0x5c6e4f>0x1?void 0x0:_0x5c6e4f?_0x4d6731(_0x433b8d,_0x2adacb):_0x433b8d,_0xc8555b=_0x100550[_0x1feb7d(0x20a)]-0x1,_0x350439;_0xc8555b>=0x0;_0xc8555b--)(_0x350439=_0x100550[_0xc8555b])&&(_0x38d595=_0x350439(_0x38d595)||_0x38d595);return _0x38d595;},_0x5709f6=(_0x2896e1,_0x3142ab)=>(_0x13fc58,_0x2b75e9)=>_0x3142ab(_0x13fc58,_0x2b75e9,_0x2896e1);let _0x4caa94=class{constructor(_0x4083ec,_0x3acb49){const _0x16f450=_0xdba1d4;this['_injector']=_0x4083ec,this[_0x16f450(0x3a9)]=_0x3acb49;}[_0xdba1d4(0x290)](_0x1d2f06){const _0x4c198e=_0xdba1d4;var _0x970ab4;const _0x5368f0=this[_0x4c198e(0x191)][_0x4c198e(0x3b3)](_0x3e46d1['DocSelectionManagerService']),_0x2e7ddd=(_0x970ab4=_0x5368f0[_0x4c198e(0x285)]())!=null?_0x970ab4:[];if(_0x2e7ddd[_0x4c198e(0x20a)]===0x0)return;const _0x5b8668=_0x1d2f06[_0x4c198e(0x26a)],_0x30927a=[{'id':_0x4c198e(0x202),'params':{'unitId':_0x5b8668,'actions':null,'textRanges':_0x2e7ddd}}],_0x1d9709=this[_0x4c198e(0x3a9)][_0x4c198e(0x328)](_0x1d2f06,_0x30927a);if(!_0x53baaf[_0x4c198e(0x1da)](_0x1d9709))throw _0x1d9709[_0x4c198e(0x352)];const _0x2d8dbe=_0x1d9709[_0x4c198e(0x3d6)][0x0]['params']['textRanges'];Array['isArray'](_0x2d8dbe)&&_0x2d8dbe[_0x4c198e(0x20a)]&&_0x5368f0[_0x4c198e(0x350)](_0x2d8dbe,{'unitId':_0x5b8668,'subUnitId':_0x5b8668},!0x1);}};_0x4caa94=_0xcb15df([_0x5709f6(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x5709f6(0x1,_0x53baaf[_0xdba1d4(0x2fc)])],_0x4caa94);var _0x29c563=Object['getOwnPropertyDescriptor'],_0x3bfed0=(_0x33aee6,_0x5d381b,_0x3574f8,_0x3a99f3)=>{const _0x3efd52=_0xdba1d4;for(var _0x73f8fb=_0x3a99f3>0x1?void 0x0:_0x3a99f3?_0x29c563(_0x5d381b,_0x3574f8):_0x5d381b,_0x3f28c0=_0x33aee6[_0x3efd52(0x20a)]-0x1,_0x1b0ae5;_0x3f28c0>=0x0;_0x3f28c0--)(_0x1b0ae5=_0x33aee6[_0x3f28c0])&&(_0x73f8fb=_0x1b0ae5(_0x73f8fb)||_0x73f8fb);return _0x73f8fb;},_0xbccf7a=(_0x5d5866,_0x19416b)=>(_0x19ccba,_0x5d62e5)=>_0x19416b(_0x19ccba,_0x5d62e5,_0x5d5866);let _0x2cd2fa=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x1e94d9,_0x7973d9,_0x1d7498,_0x3fc23b,_0x3c317d,_0x4819ce,_0x1092da,_0x43bfd2){const _0x591877=_0xdba1d4;super(),_0x1bff93(this,_0x591877(0x3a8),new _0x3ac3b6['BehaviorSubject'](_0x5aae96['CollaborationStatus'][_0x591877(0x322)])),(this[_0x591877(0x2c6)]=_0x1e94d9,this[_0x591877(0x26d)]=_0x7973d9,this[_0x591877(0x34b)]=_0x1d7498,this[_0x591877(0x31d)]=_0x3fc23b,this[_0x591877(0x39e)]=_0x3c317d,this[_0x591877(0x263)]=_0x4819ce,this[_0x591877(0x349)]=_0x1092da,this['_localeService']=_0x43bfd2,this[_0x591877(0x2ae)]());}[_0xdba1d4(0x2ae)](){const _0x449bbc=_0xdba1d4;this[_0x449bbc(0x2c3)](this['_collaborationController'][_0x449bbc(0x398)][_0x449bbc(0x17a)](_0x156d18=>{const _0xb9314d=_0x449bbc,_0xb13644=this[_0xb9314d(0x2c6)]['docStateChange$'][_0xb9314d(0x17a)](_0x1a07ec=>{const _0x1a493a=_0xb9314d;if(_0x1a07ec==null)return;const {unitId:_0x9f9990,redoState:_0x3d9e05,commandId:_0x486414}=_0x1a07ec;if(_0x9f9990!==_0x156d18[_0x1a493a(0x26a)])return;const _0x7cb6ea={'id':_0x486414,'type':_0xa0bab5[_0x1a493a(0x18f)]['MUTATION'],'params':{'unitId':_0x9f9990,'actions':_0x3d9e05[_0x1a493a(0x37b)],'textRanges':null}};_0x156d18[_0x1a493a(0x33a)](_0x7cb6ea);});if(_0x156d18['disposeWithMe'](_0xb13644),_0x156d18 instanceof _0x5aae96[_0xb9314d(0x329)]){const _0x2823ec={'onTransformIME':_0x516a77=>this[_0xb9314d(0x34b)]['transformIMECache'](_0x516a77),'onTransformState':_0x32c204=>this[_0xb9314d(0x31d)][_0xb9314d(0x2df)](_0x32c204),'onTransformSelections':_0x113186=>this[_0xb9314d(0x39e)][_0xb9314d(0x290)](_0x113186),'onSyncEditingCollabCursor':_0x114d38=>this['_docSyncEditingCollabCursorService'][_0xb9314d(0x3b7)](_0x114d38),'onTransformRemoteChangesetByIMECache':_0x3eed7f=>this[_0xb9314d(0x34b)][_0xb9314d(0x216)](_0x3eed7f),'onTransformRemoteChangesetByStateCache':_0x400f7e=>this[_0xb9314d(0x31d)][_0xb9314d(0x216)](_0x400f7e)};_0x156d18[_0xb9314d(0x168)](_0x2823ec);}}));}};_0x2cd2fa=_0x3bfed0([_0xbccf7a(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0x284126[_0xdba1d4(0x3d2)])),_0xbccf7a(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x2ec)])),_0xbccf7a(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4a2b1d)),_0xbccf7a(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x21e315)),_0xbccf7a(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4caa94)),_0xbccf7a(0x5,_0xa0bab5['Inject'](_0x5487e4)),_0xbccf7a(0x6,_0x5d5ad1[_0xdba1d4(0x272)]),_0xbccf7a(0x7,_0xa0bab5['Inject'](_0xa0bab5[_0xdba1d4(0x292)]))],_0x2cd2fa);var _0x5eb873=Object[_0xdba1d4(0x2c9)],_0x52b7dc=(_0x574842,_0xad6a0d,_0x521c0c,_0x4cc838)=>{const _0x3db4bc=_0xdba1d4;for(var _0x5276a4=_0x4cc838>0x1?void 0x0:_0x4cc838?_0x5eb873(_0xad6a0d,_0x521c0c):_0xad6a0d,_0x3a775e=_0x574842[_0x3db4bc(0x20a)]-0x1,_0x1630d5;_0x3a775e>=0x0;_0x3a775e--)(_0x1630d5=_0x574842[_0x3a775e])&&(_0x5276a4=_0x1630d5(_0x5276a4)||_0x5276a4);return _0x5276a4;},_0x22feae=(_0x38d050,_0x190734)=>(_0x27d66c,_0x1c2621)=>_0x190734(_0x27d66c,_0x1c2621,_0x38d050);let _0x1ef04c=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x3bd1b3,_0xd8643d,_0x383ee6){const _0x24d5df=_0xdba1d4;super(),_0x1bff93(this,_0x24d5df(0x19c),new Map()),_0x1bff93(this,_0x24d5df(0x251),new Map()),_0x1bff93(this,_0x24d5df(0x164),!0x1),(this['_configService']=_0x3bd1b3,this['_localStorageService']=_0xd8643d,this[_0x24d5df(0x2fb)]=_0x383ee6);}[_0xdba1d4(0x3be)](){const _0x418641=_0xdba1d4;this[_0x418641(0x164)]=!0x0;}[_0xdba1d4(0x27a)](){const _0x22f1fd=_0xdba1d4;this[_0x22f1fd(0x164)]=!0x1;}get[_0xdba1d4(0x24c)](){return this['_saveTaskMap'];}[_0xdba1d4(0x17e)](){const _0x2b9070=_0xdba1d4;this[_0x2b9070(0x304)]()['then'](()=>super[_0x2b9070(0x17e)]());}async[_0xdba1d4(0x19e)](_0x2dcc3c){const _0x42597d=_0xdba1d4;return this['_disabled']?null:this[_0x42597d(0x18d)]['getItem'](_0x5aae96[_0x42597d(0x17f)](_0x2dcc3c));}async[_0xdba1d4(0x230)](_0x1b6c75,_0x1cc80a){const _0x5e9fc8=_0xdba1d4;return!!this['_localStorageService'][_0x5e9fc8(0x3bb)](_0x1b6c75,_0x1cc80a);}[_0xdba1d4(0x177)](_0x7cba,_0x1414a6,_0x3136d5,_0x927415){const _0x572b96=_0xdba1d4,_0x5708ac=this[_0x572b96(0x2fb)][_0x572b96(0x1be)](_0x7cba);this['_cachedData'][_0x572b96(0x218)](_0x7cba,{'unitID':_0x7cba,'type':_0x1414a6,'awaitingChangeset':_0x3136d5,'mutations':_0x927415,'rev':_0x5708ac}),this[_0x572b96(0x251)]['has'](_0x7cba)||this[_0x572b96(0x244)](_0x7cba);}[_0xdba1d4(0x244)](_0xfbdffd){const _0x870054=_0xdba1d4,_0x45c499=this['_getSaveTimeout']();_0x45c499===0x0?this[_0x870054(0x1a4)](_0xfbdffd):this['_saveTaskMap'][_0x870054(0x218)](_0xfbdffd,setTimeout(()=>this[_0x870054(0x1a4)](_0xfbdffd),_0x45c499));}[_0xdba1d4(0x2d3)](){const _0x48fb3e=_0xdba1d4;var _0x1ba0bc;return(_0x1ba0bc=this[_0x48fb3e(0x225)][_0x48fb3e(0x1d0)](_0x5aae96[_0x48fb3e(0x1ed)]))!=null?_0x1ba0bc:_0x5aae96[_0x48fb3e(0x345)];}['_saveCache'](_0x3b6789){const _0x4f8cd8=_0xdba1d4,_0x1c69c4=this[_0x4f8cd8(0x251)][_0x4f8cd8(0x3b3)](_0x3b6789);return _0x1c69c4!==void 0x0&&window[_0x4f8cd8(0x3c1)](_0x1c69c4),this['_localStorageService'][_0x4f8cd8(0x3bb)](_0x5aae96['getLocalCacheKey'](_0x3b6789),this['_cachedData'][_0x4f8cd8(0x3b3)](_0x3b6789))['then'](()=>this[_0x4f8cd8(0x251)][_0x4f8cd8(0x386)](_0x3b6789));}async[_0xdba1d4(0x304)](){const _0x3e4b30=_0xdba1d4,_0x221a71=[];this[_0x3e4b30(0x251)][_0x3e4b30(0x395)]((_0x1ceb1a,_0x694eec)=>{const _0x58cfd0=_0x3e4b30;window[_0x58cfd0(0x3c1)](_0x1ceb1a),_0x221a71['push'](this['_saveCache'](_0x694eec)['then'](()=>{const _0x5daf3f=_0x58cfd0;this[_0x5daf3f(0x251)][_0x5daf3f(0x386)](_0x694eec);}));}),await Promise[_0x3e4b30(0x3c5)](_0x221a71);}};_0x1ef04c=_0x52b7dc([_0x22feae(0x0,_0xa0bab5['IConfigService']),_0x22feae(0x1,_0xa0bab5[_0xdba1d4(0x33c)]),_0x22feae(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x53baaf[_0xdba1d4(0x3cd)]))],_0x1ef04c);class _0x25a906 extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(){const _0x471e45=_0xdba1d4;super(),_0x1bff93(this,_0x471e45(0x378)),this[_0x471e45(0x378)]=_0x3ac3b6[_0x471e45(0x333)](window,_0x471e45(0x3ad))[_0x471e45(0x2a4)](_0x3ac3b6[_0x471e45(0x3ac)](this[_0x471e45(0x1f8)]),_0x3ac3b6[_0x471e45(0x2f8)](0x1),_0x3ac3b6[_0x471e45(0x1d7)](void 0x0));}[_0xdba1d4(0x2a5)](_0x5b962c,_0x5d4bf4,_0x384564=!0x1){const _0x393c85=_0xdba1d4,_0xe76afb=new URL(window[_0x393c85(0x258)][_0x393c85(0x255)]);_0xe76afb[_0x393c85(0x2f3)][_0x393c85(0x218)](_0x5b962c,_0x5d4bf4),_0x384564?window['history'][_0x393c85(0x273)]('','',_0xe76afb[_0x393c85(0x165)]()):window[_0x393c85(0x241)][_0x393c85(0x3c2)]('','',_0xe76afb[_0x393c85(0x165)]());}[_0xdba1d4(0x2de)](_0x1aa9a2,_0x579e75=!0x1){const _0x576009=_0xdba1d4,_0x8d0f7f=new URL(window[_0x576009(0x258)]['href']);_0x8d0f7f[_0x576009(0x2f3)][_0x576009(0x386)](_0x1aa9a2),_0x579e75?window[_0x576009(0x241)]['replaceState']('','',_0x8d0f7f['toString']()):window['history'][_0x576009(0x3c2)]('','',_0x8d0f7f[_0x576009(0x165)]());}['getParam'](_0x12abb3){const _0x4cc9fc=_0xdba1d4;var _0x1c3f99;return(_0x1c3f99=new URL(window[_0x4cc9fc(0x258)][_0x4cc9fc(0x255)])[_0x4cc9fc(0x2f3)][_0x4cc9fc(0x3b3)](_0x12abb3))!=null?_0x1c3f99:void 0x0;}}var _0x5a7a5e=Object['defineProperty'],_0x99610b=Object[_0xdba1d4(0x2c9)],_0x49f5ff=(_0x35c09b,_0x53e6ee,_0x4b25e2)=>_0x53e6ee in _0x35c09b?_0x5a7a5e(_0x35c09b,_0x53e6ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b25e2}):_0x35c09b[_0x53e6ee]=_0x4b25e2,_0x2c24e0=(_0x3d49bf,_0x227c1c,_0x4e0979,_0x2a21f3)=>{const _0x416f08=_0xdba1d4;for(var _0x56f5be=_0x2a21f3>0x1?void 0x0:_0x2a21f3?_0x99610b(_0x227c1c,_0x4e0979):_0x227c1c,_0x27d515=_0x3d49bf[_0x416f08(0x20a)]-0x1,_0x44ebbf;_0x27d515>=0x0;_0x27d515--)(_0x44ebbf=_0x3d49bf[_0x27d515])&&(_0x56f5be=_0x44ebbf(_0x56f5be)||_0x56f5be);return _0x56f5be;},_0x905d84=(_0x7ab28,_0x19b51f)=>(_0xea64c1,_0x94ce2c)=>_0x19b51f(_0xea64c1,_0x94ce2c,_0x7ab28),_0xd72c3c=(_0x512f3f,_0x1a99dd,_0x4acfd2)=>_0x49f5ff(_0x512f3f,_0x1a99dd+'',_0x4acfd2);const _0x2eb7de='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e67b4[_0xdba1d4(0x201)]=class extends _0xa0bab5[_0xdba1d4(0x35f)]{constructor(_0x30e78c=_0x3e7444,_0x255cae,_0x2b59e7,_0x3227b0){const _0x238516=_0xdba1d4;super(),this['_config']=_0x30e78c,this[_0x238516(0x319)]=_0x255cae,this['_injector']=_0x2b59e7,this[_0x238516(0x225)]=_0x3227b0;const {..._0xc05d95}=_0xa0bab5[_0x238516(0x3b6)]({},_0x3e7444,this['_config']);this[_0x238516(0x225)]['setConfig'](_0x1635f4,_0xc05d95);}[_0xdba1d4(0x315)](){const _0x405edb=_0xdba1d4;this['_registerDependencies'](),this[_0x405edb(0x1eb)]();}[_0xdba1d4(0x369)](){const _0x8b7fb3=_0xdba1d4;this[_0x8b7fb3(0x261)]();}[_0xdba1d4(0x153)](){const _0x1d915c=_0xdba1d4;var _0x23c0ba;const _0x3e6d22=[[_0x108060],[_0x4caa94],[_0x4a2b1d],[_0x21e315],[_0x5487e4],[_0x569712,{'useClass':_0x25a906}],[_0x4ba0ef['ISocketService'],{'useClass':_0x4ba0ef['WebSocketService']}],[_0x5aae96[_0x1d915c(0x22a)],{'useClass':_0x1ef04c}],[_0x3e67b4['DesktopCollaborationStatusDisplayController']],[_0x2cd2fa],[_0x522c30],[_0x14ee2b],[_0x230e8b],[_0x3e67b4['CollaborationDataLoaderController']]];_0xa0bab5[_0x1d915c(0x370)](this[_0x1d915c(0x191)],_0xa0bab5[_0x1d915c(0x355)](_0x3e6d22,(_0x23c0ba=this[_0x1d915c(0x156)])==null?void 0x0:_0x23c0ba[_0x1d915c(0x1d4)]));}[_0xdba1d4(0x261)](){const _0x54a616=_0xdba1d4;this[_0x54a616(0x2c3)](this[_0x54a616(0x319)][_0x54a616(0x282)](_0xa0bab5[_0x54a616(0x297)][_0x54a616(0x2fa)],[_0x30ad8d])),this[_0x54a616(0x2c3)](this['_renderManagerService']['registerRenderModule'](_0xa0bab5[_0x54a616(0x297)][_0x54a616(0x18a)],[_0x3555e8]));}[_0xdba1d4(0x1eb)](){const _0x467024=_0xdba1d4;_0xa0bab5[_0x467024(0x279)](this[_0x467024(0x191)],[[_0x14ee2b],[_0x3e67b4[_0x467024(0x248)]],[_0x2cd2fa],[_0x522c30],[_0x3e67b4[_0x467024(0x27b)]]]);}},_0xd72c3c(_0x3e67b4[_0xdba1d4(0x201)],'pluginName',_0x2eb7de),_0x3e67b4[_0xdba1d4(0x201)]=_0x2c24e0([_0xa0bab5[_0xdba1d4(0x26e)](_0x5aae96[_0xdba1d4(0x1a9)]),_0x905d84(0x1,_0x2664c9[_0xdba1d4(0x19a)]),_0x905d84(0x2,_0xa0bab5['Inject'](_0xa0bab5['Injector'])),_0x905d84(0x3,_0xa0bab5[_0xdba1d4(0x29f)])],_0x3e67b4['UniverCollaborationClientUIPlugin']);var _0x567769=Object[_0xdba1d4(0x2c9)],_0x1c741d=(_0x1ffc37,_0x313646,_0x1eaa75,_0x45dbcb)=>{for(var _0x29cbda=_0x45dbcb>0x1?void 0x0:_0x45dbcb?_0x567769(_0x313646,_0x1eaa75):_0x313646,_0x3dcba1=_0x1ffc37['length']-0x1,_0x203338;_0x3dcba1>=0x0;_0x3dcba1--)(_0x203338=_0x1ffc37[_0x3dcba1])&&(_0x29cbda=_0x203338(_0x29cbda)||_0x29cbda);return _0x29cbda;},_0x1365a4=(_0x586b46,_0xfd19db)=>(_0x1101e0,_0xaae730)=>_0xfd19db(_0x1101e0,_0xaae730,_0x586b46);_0x3e67b4[_0xdba1d4(0x287)]=class extends _0x5aae96[_0xdba1d4(0x384)]{constructor(_0x3489b5,_0xa30df3,_0x2d2c5e,_0x683e4,_0x383917){super(_0x3489b5,_0xa30df3,_0x2d2c5e,_0x683e4,_0x383917);}async[_0xdba1d4(0x311)](_0x5c745c){const _0x38a93a=_0xdba1d4,_0x55bda4=await this[_0x38a93a(0x360)](),_0x47bdd9=this[_0x38a93a(0x1a0)](_0x5c745c,_0x55bda4);return this[_0x38a93a(0x284)](_0x47bdd9);}[_0xdba1d4(0x1a0)](_0x4b3f03,_0x136aff){const _0x121e4d=_0xdba1d4,_0x20e8cd=typeof window>'u'?new URL(_0x4b3f03):new URL(_0x4b3f03,window[_0x121e4d(0x258)][_0x121e4d(0x379)]);_0x20e8cd['searchParams']['set'](_0x121e4d(0x3a7),_0x136aff);const _0x197fbb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x121e4d(0x258)][_0x121e4d(0x256)]);return _0x197fbb[_0x121e4d(0x3b3)](_0x121e4d(0x1d6))&&_0x20e8cd[_0x121e4d(0x2f3)][_0x121e4d(0x218)](_0x121e4d(0x1d6),_0x197fbb[_0x121e4d(0x3b3)](_0x121e4d(0x1d6))),_0x20e8cd[_0x121e4d(0x165)]();}async[_0xdba1d4(0x360)](){const _0x924cff=_0xdba1d4;var _0x2d65db,_0x21e7ab,_0x16cad2;const _0x20afb3=this['_configService'][_0x924cff(0x1d0)](_0x5aae96[_0x924cff(0x343)]),_0xfac412=(_0x2d65db=_0x20afb3==null?void 0x0:_0x20afb3[_0x924cff(0x34f)])!=null?_0x2d65db:_0x5aae96['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x16cad2=(_0x21e7ab=(await this['_httpService'][_0x924cff(0x3b3)](_0xfac412,{'headers':{'Content-Type':_0x924cff(0x1b8)}}))[_0x924cff(0x385)])==null?void 0x0:_0x21e7ab[_0x924cff(0x1b5)])!=null?_0x16cad2:'';}},_0x3e67b4[_0xdba1d4(0x287)]=_0x1c741d([_0x1365a4(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x1365a4(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4ba0ef['HTTPService'])),_0x1365a4(0x2,_0xa0bab5[_0xdba1d4(0x29f)]),_0x1365a4(0x3,_0xa0bab5[_0xdba1d4(0x17d)]),_0x1365a4(0x4,_0x53baaf['ISnapshotServerService'])],_0x3e67b4['BrowserCollaborationSocketService']);var _0x2a6cb8=(_0x361c0b=>(_0x361c0b[_0x361c0b['UNDEFINED']=0x0]=_0xdba1d4(0x347),_0x361c0b[_0x361c0b['OK']=0x1]='OK',_0x361c0b[_0x361c0b[_0xdba1d4(0x214)]=0x2]='INTERNAL_ERROR',_0x361c0b[_0x361c0b['PERMISSION_DENIED']=0x3]=_0xdba1d4(0x324),_0x361c0b[_0x361c0b[_0xdba1d4(0x313)]=0x4]=_0xdba1d4(0x313),_0x361c0b[_0x361c0b['UNAUTHENTICATED']=0x5]=_0xdba1d4(0x24e),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e2)]=0x6]='ALREADY_EXISTS',_0x361c0b[_0x361c0b['INVALID_ARGUMENT']=0x7]=_0xdba1d4(0x2f5),_0x361c0b[_0x361c0b['TOO_MANY_REQUESTS']=0x8]=_0xdba1d4(0x28e),_0x361c0b[_0x361c0b['COMPLETION_FINISHED']=0x9]=_0xdba1d4(0x213),_0x361c0b[_0x361c0b[_0xdba1d4(0x2c1)]=0xa]=_0xdba1d4(0x2c1),_0x361c0b[_0x361c0b[_0xdba1d4(0x277)]=0xb]=_0xdba1d4(0x277),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e5)]=0xc]=_0xdba1d4(0x1e5),_0x361c0b[_0x361c0b[_0xdba1d4(0x161)]=0xd]=_0xdba1d4(0x161),_0x361c0b[_0x361c0b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x361c0b[_0x361c0b[_0xdba1d4(0x19f)]=0x1389]=_0xdba1d4(0x19f),_0x361c0b[_0x361c0b[_0xdba1d4(0x2ed)]=0x1771]=_0xdba1d4(0x2ed),_0x361c0b[_0x361c0b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xdba1d4(0x18b),_0x361c0b[_0x361c0b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xdba1d4(0x396),_0x361c0b[_0x361c0b[_0xdba1d4(0x346)]=0x1b59]=_0xdba1d4(0x346),_0x361c0b[_0x361c0b[_0xdba1d4(0x20e)]=0x1b5a]=_0xdba1d4(0x20e),_0x361c0b[_0x361c0b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xdba1d4(0x1ab),_0x361c0b[_0x361c0b['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x361c0b[_0x361c0b[_0xdba1d4(0x1f2)]=0x1b5d]=_0xdba1d4(0x1f2),_0x361c0b[_0x361c0b[_0xdba1d4(0x25a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x361c0b[_0x361c0b[_0xdba1d4(0x314)]=0x2329]=_0xdba1d4(0x314),_0x361c0b[_0x361c0b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xdba1d4(0x157),_0x361c0b[_0x361c0b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x361c0b[_0x361c0b[_0xdba1d4(0x13e)]=0x232c]=_0xdba1d4(0x13e),_0x361c0b[_0x361c0b[_0xdba1d4(0x1dc)]=0x232d]=_0xdba1d4(0x1dc),_0x361c0b[_0x361c0b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xdba1d4(0x1f3),_0x361c0b[_0x361c0b[_0xdba1d4(0x1dd)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x361c0b[_0x361c0b[_0xdba1d4(0x353)]=0x2713]=_0xdba1d4(0x353),_0x361c0b[_0x361c0b[_0xdba1d4(0x175)]=0x2714]=_0xdba1d4(0x175),_0x361c0b[_0x361c0b[_0xdba1d4(0x2d1)]=0x271a]=_0xdba1d4(0x2d1),_0x361c0b[_0x361c0b[_0xdba1d4(0x30b)]=0x271b]=_0xdba1d4(0x30b),_0x361c0b[_0x361c0b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xdba1d4(0x392),_0x361c0b[_0x361c0b[_0xdba1d4(0x3db)]=0x271d]=_0xdba1d4(0x3db),_0x361c0b[_0x361c0b[_0xdba1d4(0x31e)]=0x271e]=_0xdba1d4(0x31e),_0x361c0b[_0x361c0b[_0xdba1d4(0x35e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x361c0b[_0x361c0b[_0xdba1d4(0x1c5)]=0x2720]=_0xdba1d4(0x1c5),_0x361c0b[_0x361c0b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xdba1d4(0x29e),_0x361c0b[_0x361c0b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x361c0b[_0x361c0b[_0xdba1d4(0x270)]=0x2ee2]=_0xdba1d4(0x270),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e7)]=0x2ee3]=_0xdba1d4(0x1e7),_0x361c0b[_0x361c0b[_0xdba1d4(0x217)]=0x2ee4]=_0xdba1d4(0x217),_0x361c0b[_0x361c0b[_0xdba1d4(0x215)]=0x2ee5]=_0xdba1d4(0x215),_0x361c0b[_0x361c0b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xdba1d4(0x159),_0x361c0b[_0x361c0b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xdba1d4(0x341),_0x361c0b[_0x361c0b[_0xdba1d4(0x358)]=0x32cb]=_0xdba1d4(0x358),_0x361c0b[_0x361c0b[_0xdba1d4(0x30c)]=-0x1]=_0xdba1d4(0x30c),_0x361c0b))(_0x2a6cb8||{}),_0x1cc1f2=Object[_0xdba1d4(0x2c9)],_0x1cc998=(_0x4e2337,_0x3fdada,_0x3713bd,_0x381be0)=>{for(var _0x5934f7=_0x381be0>0x1?void 0x0:_0x381be0?_0x1cc1f2(_0x3fdada,_0x3713bd):_0x3fdada,_0x44f130=_0x4e2337['length']-0x1,_0x11aae5;_0x44f130>=0x0;_0x44f130--)(_0x11aae5=_0x4e2337[_0x44f130])&&(_0x5934f7=_0x11aae5(_0x5934f7)||_0x5934f7);return _0x5934f7;},_0x297d30=(_0x331594,_0xe45f69)=>(_0x1ff3b3,_0x475f4e)=>_0xe45f69(_0x1ff3b3,_0x475f4e,_0x331594);_0x3e67b4[_0xdba1d4(0x26c)]=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x52b825,_0x2ff562,_0x13833a){const _0xe52028=_0xdba1d4;super(),this[_0xe52028(0x28b)]=_0x52b825,this[_0xe52028(0x1bb)]=_0x2ff562,this[_0xe52028(0x225)]=_0x13833a;}async[_0xdba1d4(0x289)](_0x492b5c,_0x4d7d64,_0x46647a,..._0x4dfa39){const _0x26c5f1=_0xdba1d4;var _0x294be1,_0x5351ea,_0x10f127,_0x2fee8f;const _0x253b1c=this[_0x26c5f1(0x28b)][_0x26c5f1(0x22f)]();if(!_0x253b1c)throw new Error(_0x26c5f1(0x359));const _0x3daa5e=((_0x294be1=this[_0x26c5f1(0x225)][_0x26c5f1(0x1d0)](_0x5aae96[_0x26c5f1(0x310)]))!=null?_0x294be1:_0x5aae96[_0x26c5f1(0x338)])+'/'+_0x492b5c+_0x26c5f1(0x28d)+_0x4d7d64,_0x938c4a=new URL(window[_0x26c5f1(0x258)][_0x26c5f1(0x255)]),_0x503b58={'scriptId':_0x492b5c,'runId':(_0x5351ea=_0x938c4a[_0x26c5f1(0x2f3)][_0x26c5f1(0x3b3)](_0x26c5f1(0x1d6)))!=null?_0x5351ea:'','function':_0x4d7d64,'unitId':_0x253b1c[_0x26c5f1(0x2d4)](),'argsOfFunction':JSON[_0x26c5f1(0x23a)](_0x4dfa39),'invokeId':(_0x10f127=_0x46647a[_0x26c5f1(0x143)])!=null?_0x10f127:'','executionId':(_0x2fee8f=_0x46647a[_0x26c5f1(0x35d)])!=null?_0x2fee8f:''};try{const _0x278709=await this['_httpService'][_0x26c5f1(0x1af)](_0x3daa5e,{'body':_0x503b58});return _0x278709[_0x26c5f1(0x385)][_0x26c5f1(0x352)]&&_0x278709[_0x26c5f1(0x385)][_0x26c5f1(0x352)]['code']!==_0x2a6cb8['OK']?'Failed':_0x278709[_0x26c5f1(0x385)]['result'];}catch{return _0x26c5f1(0x21a);}}},_0x3e67b4[_0xdba1d4(0x26c)]=_0x1cc998([_0x297d30(0x0,_0xa0bab5[_0xdba1d4(0x198)]),_0x297d30(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4ba0ef[_0xdba1d4(0x334)])),_0x297d30(0x2,_0xa0bab5[_0xdba1d4(0x29f)])],_0x3e67b4[_0xdba1d4(0x26c)]);const _0x30119e=0x7530,_0x12f16a=_0xdba1d4(0x31c);class _0x3c8130 extends _0xa0bab5['Disposable']{constructor(){const _0x3d3f43=_0xdba1d4;super(),_0x1bff93(this,'_id',_0xa0bab5['generateRandomId']()),_0x1bff93(this,_0x3d3f43(0x2a8),new Set()),_0x1bff93(this,_0x3d3f43(0x1b4),new Map()),_0x1bff93(this,_0x3d3f43(0x34d),null),_0x1bff93(this,_0x3d3f43(0x3da),new Map()),_0x1bff93(this,_0x3d3f43(0x306),new Map()),this['_init']();}[_0xdba1d4(0x17e)](){const _0x56535f=_0xdba1d4;super[_0x56535f(0x17e)](),this[_0x56535f(0x3da)][_0x56535f(0x395)]((_0x233536,_0x246f88)=>this['_removeClearOtherTimer'](_0x246f88)),this['_heartbeatTimer']&&window[_0x56535f(0x268)](this[_0x56535f(0x34d)]);}[_0xdba1d4(0x23d)](_0x4ebad5){const _0x2c6237=_0xdba1d4;return this[_0x2c6237(0x2d8)](_0x4ebad5)[_0x2c6237(0x2a4)](_0x3ac3b6['distinctUntilChanged']());}[_0xdba1d4(0x1ac)](_0x2cb4b6){const _0x46aeba=_0xdba1d4;this[_0x46aeba(0x2a8)][_0x46aeba(0x19d)]===0x0&&this[_0x46aeba(0x1c2)](),this['_selfUnitIDs'][_0x46aeba(0x33e)](_0x2cb4b6),this[_0x46aeba(0x237)]({'type':0x0,'memberID':this[_0x46aeba(0x2e9)],'unitIDs':[_0x2cb4b6],'isForwarded':!0x1});}['disposeUnit'](_0x371731){const _0x5902a6=_0xdba1d4;this[_0x5902a6(0x2a8)][_0x5902a6(0x386)](_0x371731),this[_0x5902a6(0x2a8)][_0x5902a6(0x19d)]===0x0&&this[_0x5902a6(0x34d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xdba1d4(0x3a6)](){const _0x244dfc=_0xdba1d4;this['disposeWithMe'](_0xa0bab5[_0x244dfc(0x146)](_0x3ac3b6[_0x244dfc(0x333)](window,'storage')[_0x244dfc(0x17a)](_0x5b9c5d=>{const _0x3dfd38=_0x244dfc;if(_0x5b9c5d['key']!==_0x12f16a||!_0x5b9c5d[_0x3dfd38(0x1d8)])return;const _0x40d18f=JSON['parse'](_0x5b9c5d[_0x3dfd38(0x1d8)]);this[_0x3dfd38(0x30a)](_0x40d18f);}))),window[_0x244dfc(0x320)]('unload',()=>this[_0x244dfc(0x237)]({'type':0x1,'memberID':this[_0x244dfc(0x2e9)],'unitIDs':Array[_0x244dfc(0x3b2)](this[_0x244dfc(0x2a8)])}));}[_0xdba1d4(0x30a)](_0x5ec56c){const _0x5e012d=_0xdba1d4;switch(_0x5ec56c['type']){case 0x0:this[_0x5e012d(0x363)](_0x5ec56c);break;case 0x1:this['_handleLeaveEvent'](_0x5ec56c);break;case 0x2:this[_0x5e012d(0x29b)](_0x5ec56c);break;}}[_0xdba1d4(0x363)](_0x3526f4){const _0x18cf74=_0xdba1d4,{unitIDs:_0x86b209,memberID:_0x183f77,isForwarded:_0x2096f3}=_0x3526f4;_0x86b209[_0x18cf74(0x395)](_0x5af5e0=>{const _0x5dd08f=_0x18cf74;if(!_0x2096f3&&this['_unitOnClients']['has'](_0x5af5e0)&&this['_ensureSubject'](_0x5af5e0)[_0x5dd08f(0x236)](_0x5aae96['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x5af5e0)||!this[_0x5dd08f(0x1b4)][_0x5dd08f(0x3b3)](_0x5af5e0)[_0x5dd08f(0x17c)](_0x183f77)){const _0x5cb463=this[_0x5dd08f(0x1b4)][_0x5dd08f(0x3b3)](_0x5af5e0)||new Set();_0x5cb463[_0x5dd08f(0x33e)](_0x183f77),this[_0x5dd08f(0x1b4)]['set'](_0x5af5e0,_0x5cb463),this['_scheduleClearOtherTimer'](_0x183f77);}}),_0x2096f3||this[_0x18cf74(0x237)]({'type':0x0,'memberID':this[_0x18cf74(0x2e9)],'unitIDs':[...this[_0x18cf74(0x2a8)]],'isForwarded':!0x0});}[_0xdba1d4(0x1c0)](_0x50f92){const _0x160b52=_0xdba1d4;this[_0x160b52(0x1e1)](_0x50f92);const _0x402dfe=window[_0x160b52(0x1fc)](()=>{const _0x1f27b6=_0x160b52;this[_0x1f27b6(0x1b4)][_0x1f27b6(0x395)](_0x2ee183=>{_0x2ee183['delete'](_0x50f92);});},_0x30119e*0x2);this[_0x160b52(0x3da)][_0x160b52(0x218)](_0x50f92,_0x402dfe);}[_0xdba1d4(0x1e1)](_0x4513fc){const _0x11ad83=_0xdba1d4;if(this[_0x11ad83(0x3da)][_0x11ad83(0x17c)](_0x4513fc)){const _0x53ceba=this[_0x11ad83(0x3da)]['get'](_0x4513fc);_0x53ceba&&window[_0x11ad83(0x3c1)](_0x53ceba),this[_0x11ad83(0x3da)][_0x11ad83(0x218)](_0x4513fc,null);}}[_0xdba1d4(0x1f1)](_0x58c30d){const {memberID:_0x4f7c9d,unitIDs:_0x112a82}=_0x58c30d;_0x112a82['forEach'](_0x29b8c0=>{const _0x3610c4=_0x19f2;var _0xe91ee1;const _0x4a20f9=this['_unitOnClients'][_0x3610c4(0x3b3)](_0x29b8c0);_0x4a20f9&&(_0x4a20f9['delete'](_0x4f7c9d),(_0xe91ee1=this['_ensureSubject'](_0x29b8c0))==null||_0xe91ee1['next'](_0x4a20f9[_0x3610c4(0x19d)]===0x0?_0x5aae96[_0x3610c4(0x154)][_0x3610c4(0x2e6)]:_0x5aae96[_0x3610c4(0x154)][_0x3610c4(0x27e)]));}),this['_removeClearOtherTimer'](_0x4f7c9d);}[_0xdba1d4(0x29b)](_0xb3b19d){const _0x461b73=_0xdba1d4;this['_scheduleClearOtherTimer'](_0xb3b19d[_0x461b73(0x205)]);}[_0xdba1d4(0x237)](_0xbe5218){const _0x29ffb7=_0xdba1d4;localStorage[_0x29ffb7(0x3bb)](_0x12f16a,JSON['stringify'](_0xbe5218));}[_0xdba1d4(0x1c2)](){const _0x2053a4=_0xdba1d4;this['_heartbeatTimer']=window[_0x2053a4(0x2f9)](()=>{const _0x5ca50a=_0x2053a4;this['_send']({'type':0x2,'memberID':this[_0x5ca50a(0x2e9)]});},_0x30119e);}[_0xdba1d4(0x2d8)](_0x302221){const _0x444c0c=_0xdba1d4;return this[_0x444c0c(0x306)]['has'](_0x302221)||this[_0x444c0c(0x306)][_0x444c0c(0x218)](_0x302221,new _0x3ac3b6[(_0x444c0c(0x37f))](_0x5aae96['UnitStatus'][_0x444c0c(0x2e6)])),this[_0x444c0c(0x306)]['get'](_0x302221);}}_0x3e67b4['IURLService']=_0x569712,_0x3e67b4[_0xdba1d4(0x2ef)]=_0x836841,_0x3e67b4[_0xdba1d4(0x22e)]=_0x3c8130,_0x3e67b4[_0xdba1d4(0x2b6)]=_0x25a906,Object[_0xdba1d4(0x354)](_0x3e67b4,Symbol[_0xdba1d4(0x185)],{'value':_0xdba1d4(0x1c1)});}));
|