@univerjs-pro/live-share 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130640

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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x5f4ed7=_0x2135;(function(_0x5864d1,_0x41fc15){var _0x79f124=_0x2135,_0x25b31c=_0x5864d1();while(!![]){try{var _0x4db465=parseInt(_0x79f124(0x17a))/0x1+parseInt(_0x79f124(0x107))/0x2*(-parseInt(_0x79f124(0xc6))/0x3)+-parseInt(_0x79f124(0x163))/0x4+parseInt(_0x79f124(0x14a))/0x5+parseInt(_0x79f124(0xdb))/0x6+parseInt(_0x79f124(0x144))/0x7+parseInt(_0x79f124(0x154))/0x8*(parseInt(_0x79f124(0x169))/0x9);if(_0x4db465===_0x41fc15)break;else _0x25b31c['push'](_0x25b31c['shift']());}catch(_0x155aeb){_0x25b31c['push'](_0x25b31c['shift']());}}}(_0x4d89,0xdb57b));function _0x4d89(){var _0x35757c=['stopFollowing','_startLiveShareCoordinator','InsertSheetMutation','onStarting','pipe','idle','LIVESHARE_REQUEST_HOST','params','_configService','654492vlvyde','_commandService','text','override','_sharedOperations','complete','type','IConfigService','dispose','_stopFollowing','FOLLOWING','NOT_FOLLOWING','following','subscribe','_handleOperation','LiveShareCoordinator','random','get','disposeWithMe','function','SetZoomRatioOperation','reverse','LiveShareController','UNIVER_SHEET','live-share.config','substring','unsubscribe','getValue','1em','Stop\x20presenting','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','_entities','getMemberID','You\x27re\x20presenting\x20the\x20document','init','Module','registerDependencies','You\x27are\x20offline.','has','SetWorksheetActiveOperation','prototype','Start','assign','getTypeOfUnitAdded$','10VBNnNZ','className','find','_mountLiveShare','presenter','xlink:href','BuiltInUIPart','onCommandExecuted','_beIdle','mask','div','_fetchOperations','_liveShareService','toStringTag','extend','UniverLiveSharePlugin','propertyIsEnumerable','children','memberID','Inject','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','CollaborationSessionService','evenodd','0\x200\x2017\x2017','Injector','CollaborationEvent','asObservable','call','throttleTime','next','_reporters','setConfig','Dropdown','attrs','Button','pluginName','OPERATION','jsxs','Stop\x20following','_collabSession','LIVESHARE_OPERATION','map','string','concat','_univerInstanceService','getCurrentTypeOfUnit$','_handleOnline','currentColor','_handleNewHost','_unitID','You\x27re\x20not\x20following\x20the\x20presenter','symbol','SetScrollOperation','_injector','UniverInstanceType','_status$','forwardRef','current','getConfig','url(#$1','from','3792152pEMCpR','useDependency','clear','shouldShareOperation','_uiPartsService','HEADER_MENU','5404525zZNlJf','mutations','default','defIds','_handleOffline','PRESENTING','forEach','getOwnPropertyDescriptor','NEW_CHANGESETS','length','336NiGdej','trim','UniverCollaborationClientPlugin','_presenter','LiveShareIcon','requireSession','status$','createElement','svg','not-following','getUnitId','presenting','touchDependencies','displayName','startFollowing','6189232Ztwahg','entries','tryStartPresenting','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','_handleTerminate','_startFollowing','443718DKVJoj','DesktopLiveShareController','http://www.w3.org/2000/svg','colorChannel1','stopPresenting','_commandDisposable','DisposableCollection','getOwnPropertySymbols','icon','useRef','UNIVER_LIVE_SHARE_PLUGIN','data','ICommandService','then','getInitialStates','RxDisposable','none','439798AMrQjo','event$','indexOf','_status','send','Fragment','CommandType','delete','_startPresenting','defs','includes','_stopPresenting','LiveShare','LIVESHARE_FETCH_OPERATIONS','connectInjector','_init','toDisposable','path','useEffect','ONLINE','operations','fill','offline','useState','jsx','dispose$','stringify','createInstance','parse','OFFLINE','LiveShareService','_collabSessionService','add','_config','univer-mb-3\x20univer-w-full\x20univer-text-sm','getLiveShareCoordinator','onRendered','Disposable','replace','1077882AqWEbs','LiveShareStatus','sheet','hasOwnProperty','idSuffix','IDLE','defineProperty','SAME_OPERATION_SHARE_INTERVAL','button','executeCommand','tag','_handleNewChangeSets'];_0x4d89=function(){return _0x35757c;};return _0x4d89();}var U=Object[_0x5f4ed7(0xcc)],F=(_0x1b97fe,_0x2ffbd8,_0x3e8ac3)=>_0x2ffbd8 in _0x1b97fe?U(_0x1b97fe,_0x2ffbd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e8ac3}):_0x1b97fe[_0x2ffbd8]=_0x3e8ac3,v=(_0x5521c5,_0x49a083,_0x222789)=>F(_0x5521c5,typeof _0x49a083!=_0x5f4ed7(0x13a)?_0x49a083+'':_0x49a083,_0x222789);Object['defineProperty'](exports,Symbol[_0x5f4ed7(0x114)],{'value':_0x5f4ed7(0xfe)});const o=require('@univerjs/core'),p=require('@univerjs/ui'),l=require('react/jsx-runtime'),g=require('@univerjs/design'),f=require('react'),_=require('@univerjs-pro/collaboration'),m=require('@univerjs-pro/collaboration-client'),C=require('@univerjs/sheets'),w=require('rxjs'),b=require('rxjs/operators'),D=require('@univerjs/sheets-ui');var u=function(){var _0x158bff=_0x5f4ed7;return u=Object[_0x158bff(0x105)]||function(_0x5b1055){var _0x342882=_0x158bff;for(var _0x2bac79,_0x580cf7=0x1,_0x23c468=arguments[_0x342882(0x153)];_0x580cf7<_0x23c468;_0x580cf7++){_0x2bac79=arguments[_0x580cf7];for(var _0x5541b4 in _0x2bac79)Object[_0x342882(0x103)][_0x342882(0xc9)][_0x342882(0x122)](_0x2bac79,_0x5541b4)&&(_0x5b1055[_0x5541b4]=_0x2bac79[_0x5541b4]);}return _0x5b1055;},u['apply'](this,arguments);},$=function(_0x10763e,_0x396f97){var _0x537513=_0x5f4ed7,_0x1ae644={};for(var _0x5caae2 in _0x10763e)Object[_0x537513(0x103)]['hasOwnProperty'][_0x537513(0x122)](_0x10763e,_0x5caae2)&&_0x396f97[_0x537513(0x17c)](_0x5caae2)<0x0&&(_0x1ae644[_0x5caae2]=_0x10763e[_0x5caae2]);if(_0x10763e!=null&&typeof Object[_0x537513(0x170)]==_0x537513(0xee)){for(var _0x446b4c=0x0,_0x5caae2=Object[_0x537513(0x170)](_0x10763e);_0x446b4c<_0x5caae2[_0x537513(0x153)];_0x446b4c++)_0x396f97[_0x537513(0x17c)](_0x5caae2[_0x446b4c])<0x0&&Object[_0x537513(0x103)][_0x537513(0x117)][_0x537513(0x122)](_0x10763e,_0x5caae2[_0x446b4c])&&(_0x1ae644[_0x5caae2[_0x446b4c]]=_0x10763e[_0x5caae2[_0x446b4c]]);}return _0x1ae644;},j=f[_0x5f4ed7(0x13f)](function(_0xd82c6a,_0x2e9efd){var _0x885d14=_0x5f4ed7,_0x5011b4=_0xd82c6a[_0x885d14(0x171)],_0x5ad4a0=_0xd82c6a['id'],_0x8563da=_0xd82c6a['className'],_0x1ff402=_0xd82c6a[_0x885d14(0x115)],_0x3dd7c8=$(_0xd82c6a,['icon','id',_0x885d14(0x108),'extend']),_0xc020de='univerjs-icon\x20univerjs-icon-'['concat'](_0x5ad4a0,'\x20')[_0x885d14(0x132)](_0x8563da||'')[_0x885d14(0x155)](),_0x2a54ee=f[_0x885d14(0x172)]('_'[_0x885d14(0x132)](k()));return y(_0x5011b4,''['concat'](_0x5ad4a0),{'defIds':_0x5011b4['defIds'],'idSuffix':_0x2a54ee[_0x885d14(0x140)]},u({'ref':_0x2e9efd,'className':_0xc020de},_0x3dd7c8),_0x1ff402);});function y(_0x1da249,_0x537e64,_0x36c855,_0x30d555,_0x36c1e4){var _0x5b3904=_0x5f4ed7;return f['createElement'](_0x1da249[_0x5b3904(0xd0)],u(u({'key':_0x537e64},H(_0x1da249,_0x36c855,_0x36c1e4)),_0x30d555),(V(_0x1da249,_0x36c855)[_0x5b3904(0x118)]||[])[_0x5b3904(0x130)](function(_0x67effd,_0x5691c8){var _0xf57cb=_0x5b3904;return y(_0x67effd,''['concat'](_0x537e64,'-')[_0xf57cb(0x132)](_0x1da249[_0xf57cb(0xd0)],'-')[_0xf57cb(0x132)](_0x5691c8),_0x36c855,void 0x0,_0x36c1e4);}));}function H(_0x192d86,_0xaf03f3,_0x1b01ad){var _0x5755c4=_0x5f4ed7,_0xdf1adf=u({},_0x192d86[_0x5755c4(0x128)]);_0x1b01ad!=null&&_0x1b01ad['colorChannel1']&&_0xdf1adf[_0x5755c4(0xb4)]==='colorChannel1'&&(_0xdf1adf[_0x5755c4(0xb4)]=_0x1b01ad[_0x5755c4(0x16c)]),_0x192d86[_0x5755c4(0xd0)]===_0x5755c4(0x110)&&_0xdf1adf['id']&&(_0xdf1adf['id']=_0xdf1adf['id']+_0xaf03f3['idSuffix']),Object[_0x5755c4(0x164)](_0xdf1adf)[_0x5755c4(0x150)](function(_0x20be8c){var _0x4650f8=_0x5755c4,_0xdfad7c=_0x20be8c[0x0],_0xd1a544=_0x20be8c[0x1];_0xdfad7c===_0x4650f8(0x110)&&typeof _0xd1a544=='string'&&(_0xdf1adf[_0xdfad7c]=_0xd1a544['replace'](/url\(#(.*)\)/,_0x4650f8(0x142)['concat'](_0xaf03f3['idSuffix'],')')));});var _0x138e45=_0xaf03f3[_0x5755c4(0x14d)];return!_0x138e45||_0x138e45['length']===0x0||(_0x192d86['tag']==='use'&&_0xdf1adf[_0x5755c4(0x10c)]&&(_0xdf1adf['xlink:href']=_0xdf1adf[_0x5755c4(0x10c)]+_0xaf03f3[_0x5755c4(0xca)]),Object[_0x5755c4(0x164)](_0xdf1adf)[_0x5755c4(0x150)](function(_0x1a9620){var _0x14856d=_0x5755c4,_0x5da554=_0x1a9620[0x0],_0x593fef=_0x1a9620[0x1];typeof _0x593fef=='string'&&(_0xdf1adf[_0x5da554]=_0x593fef[_0x14856d(0xc5)](/url\(#(.*)\)/,_0x14856d(0x142)['concat'](_0xaf03f3['idSuffix'],')')));})),_0xdf1adf;}function V(_0x1fae21,_0x5d293c){var _0x3437d4=_0x5f4ed7,_0x26c0e0,_0x4fcd27=_0x5d293c[_0x3437d4(0x14d)];return!_0x4fcd27||_0x4fcd27[_0x3437d4(0x153)]===0x0?_0x1fae21:_0x1fae21[_0x3437d4(0xd0)]===_0x3437d4(0xa8)&&(!((_0x26c0e0=_0x1fae21[_0x3437d4(0x118)])===null||_0x26c0e0===void 0x0)&&_0x26c0e0[_0x3437d4(0x153)])?u(u({},_0x1fae21),{'children':_0x1fae21[_0x3437d4(0x118)]['map'](function(_0x2d3327){var _0x11a082=_0x3437d4;return typeof _0x2d3327[_0x11a082(0x128)]['id']==_0x11a082(0x131)&&_0x4fcd27&&_0x4fcd27[_0x11a082(0xa9)](_0x2d3327[_0x11a082(0x128)]['id'])?u(u({},_0x2d3327),{'attrs':u(u({},_0x2d3327[_0x11a082(0x128)]),{'id':_0x2d3327[_0x11a082(0x128)]['id']+_0x5d293c['idSuffix']})}):_0x2d3327;})}):_0x1fae21;}function k(){var _0x2a1409=_0x5f4ed7;return Math[_0x2a1409(0xeb)]()['toString'](0x24)[_0x2a1409(0xf4)](0x2,0x8);}j[_0x5f4ed7(0x161)]='UniverIcon';var M={'tag':_0x5f4ed7(0x15c),'attrs':{'xmlns':_0x5f4ed7(0x16b),'fill':_0x5f4ed7(0x179),'viewBox':_0x5f4ed7(0x11e),'width':_0x5f4ed7(0xf7),'height':_0x5f4ed7(0xf7)},'children':[{'tag':'path','attrs':{'fill':_0x5f4ed7(0x136),'d':'M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z'}},{'tag':_0x5f4ed7(0xb0),'attrs':{'fill':_0x5f4ed7(0x136),'d':_0x5f4ed7(0x11b),'fillRule':'evenodd','clipRule':_0x5f4ed7(0x11d)}}]},P=f[_0x5f4ed7(0x13f)](function(_0x550f30,_0x116d81){var _0xd11bfc=_0x5f4ed7;return f[_0xd11bfc(0x15b)](j,Object[_0xd11bfc(0x105)]({},_0x550f30,{'id':'live-share-icon','ref':_0x116d81,'icon':M}));});P[_0x5f4ed7(0x161)]=_0x5f4ed7(0x158);class O extends o['Disposable']{constructor(){var _0x11978f=_0x5f4ed7;super(...arguments),v(this,'_sharedOperations',new Set()),v(this,_0x11978f(0x125),new Set());}['registerSharedOperation'](_0x7b17ff){var _0xbf0fb9=_0x5f4ed7;return this[_0xbf0fb9(0xdf)][_0xbf0fb9(0xbf)](_0x7b17ff),o[_0xbf0fb9(0xaf)](()=>this[_0xbf0fb9(0xdf)][_0xbf0fb9(0xa6)](_0x7b17ff));}['registerInitialStateReporter'](_0x19d5a5){var _0x534a43=_0x5f4ed7;return this[_0x534a43(0x125)][_0x534a43(0xbf)](_0x19d5a5),o[_0x534a43(0xaf)](()=>this[_0x534a43(0x125)][_0x534a43(0xa6)](_0x19d5a5));}[_0x5f4ed7(0x147)](_0x287404){var _0x229c03=_0x5f4ed7;return this['_sharedOperations'][_0x229c03(0x101)](_0x287404);}[_0x5f4ed7(0x177)](_0x2a8343){var _0x3b6250=_0x5f4ed7;return Array[_0x3b6250(0x143)](this[_0x3b6250(0x125)])[_0x3b6250(0x130)](_0x5d97f2=>_0x5d97f2(_0x2a8343));}}var q=Object[_0x5f4ed7(0x151)],R=(_0x272d94,_0x56292e,_0x2c9576,_0x5cd364)=>{var _0x50e3b6=_0x5f4ed7;for(var _0x10a75c=_0x5cd364>0x1?void 0x0:_0x5cd364?q(_0x56292e,_0x2c9576):_0x56292e,_0x3a99f9=_0x272d94[_0x50e3b6(0x153)]-0x1,_0x265b88;_0x3a99f9>=0x0;_0x3a99f9--)(_0x265b88=_0x272d94[_0x3a99f9])&&(_0x10a75c=_0x265b88(_0x10a75c)||_0x10a75c);return _0x10a75c;},S=(_0x46261d,_0x2fb805)=>(_0x2ec604,_0x29c572)=>_0x2fb805(_0x2ec604,_0x29c572,_0x46261d);exports['LiveShareController']=class extends o['RxDisposable']{constructor(_0x413e59,_0x4d3218,_0x497890){var _0x385585=_0x5f4ed7;super(),v(this,_0x385585(0xfa),new Map()),(this[_0x385585(0x133)]=_0x413e59,this[_0x385585(0x13c)]=_0x4d3218,this['_collabSessionService']=_0x497890,this[_0x385585(0xae)]());}async[_0x5f4ed7(0xc2)](_0x79f2e){var _0x1ee583=_0x5f4ed7;return this[_0x1ee583(0xfa)][_0x1ee583(0x101)](_0x79f2e)||await this[_0x1ee583(0xd3)](_0x79f2e),this[_0x1ee583(0xfa)]['get'](_0x79f2e);}[_0x5f4ed7(0xae)](){var _0x26ae82=_0x5f4ed7;this[_0x26ae82(0x133)][_0x26ae82(0x106)](o['UniverInstanceType']['UNIVER_SHEET'])[_0x26ae82(0xd6)](b['takeUntil'](this[_0x26ae82(0xb8)]))['subscribe'](async _0x52aa07=>{var _0x2d1f86=_0x26ae82;const _0x157360=_0x52aa07[_0x2d1f86(0x15e)]();this[_0x2d1f86(0xfa)][_0x2d1f86(0x101)](_0x157360)||this[_0x2d1f86(0xd3)](_0x157360);}),this[_0x26ae82(0x133)]['getTypeOfUnitDisposed$'](o[_0x26ae82(0x13d)][_0x26ae82(0xf2)])[_0x26ae82(0xd6)](b['takeUntil'](this[_0x26ae82(0xb8)]))['subscribe'](_0x5be990=>{var _0x53c39a=_0x26ae82;const _0x446a36=_0x5be990[_0x53c39a(0x15e)](),_0x2bc919=this['_entities'][_0x53c39a(0xec)](_0x446a36);_0x2bc919==null||_0x2bc919['dispose']();});}async['_startLiveShareCoordinator'](_0x2652ed){var _0x4b6b3f=_0x5f4ed7;const _0x8ef4d2=await this[_0x4b6b3f(0xbe)][_0x4b6b3f(0x159)](_0x2652ed),_0x54e9a2=this['_injector'][_0x4b6b3f(0xba)](exports[_0x4b6b3f(0xea)],_0x2652ed,_0x8ef4d2);return _0x54e9a2[_0x4b6b3f(0xfd)](),this[_0x4b6b3f(0xfa)]['set'](_0x2652ed,_0x54e9a2),_0x54e9a2;}},exports['LiveShareController']=R([S(0x0,o['IUniverInstanceService']),S(0x1,o['Inject'](o[_0x5f4ed7(0x11f)])),S(0x2,o[_0x5f4ed7(0x11a)](m[_0x5f4ed7(0x11c)]))],exports[_0x5f4ed7(0xf1)]);var h=(_0x1735b8=>(_0x1735b8[_0x5f4ed7(0xbc)]=_0x5f4ed7(0xb5),_0x1735b8[_0x5f4ed7(0xcb)]='idle',_0x1735b8[_0x5f4ed7(0xe5)]=_0x5f4ed7(0xe7),_0x1735b8['NOT_FOLLOWING']='not-following',_0x1735b8[_0x5f4ed7(0x14f)]=_0x5f4ed7(0x15f),_0x1735b8))(h||{});const W=_0x5f4ed7(0xcd),G=0xc8;exports[_0x5f4ed7(0xea)]=class extends o[_0x5f4ed7(0x178)]{constructor(_0x367509,_0xd15fd8,_0x514811,_0x3db7ab,_0x35db4c){var _0x44585f=_0x5f4ed7;super(),v(this,_0x44585f(0x13e),new w['BehaviorSubject'](_0x44585f(0xd7))),v(this,'status$',this[_0x44585f(0x13e)][_0x44585f(0x121)]()),v(this,_0x44585f(0xae),!0x1),v(this,_0x44585f(0x16e),null),v(this,_0x44585f(0x157),null),(this[_0x44585f(0x138)]=_0x367509,this[_0x44585f(0x12e)]=_0xd15fd8,this[_0x44585f(0xda)]=_0x514811,this['_liveShareService']=_0x3db7ab,this['_commandService']=_0x35db4c);}get[_0x5f4ed7(0x17d)](){var _0x690b3a=_0x5f4ed7;return this[_0x690b3a(0x13e)][_0x690b3a(0xf6)]();}[_0x5f4ed7(0xe3)](){var _0x44958b=_0x5f4ed7,_0x448b24;(_0x448b24=this[_0x44958b(0x16e)])==null||_0x448b24[_0x44958b(0xe3)](),this['_status$'][_0x44958b(0x124)]('idle'),this[_0x44958b(0x13e)][_0x44958b(0xe0)]();}[_0x5f4ed7(0xfd)](){var _0x3aa463=_0x5f4ed7;this[_0x3aa463(0xae)]||(this['_init']=!0x0,this[_0x3aa463(0x12e)]['sessionStatus$']['pipe'](b['takeUntil'](this[_0x3aa463(0xb8)]))[_0x3aa463(0xe8)](_0x38d6c4=>{var _0x56469e=_0x3aa463;switch(_0x38d6c4){case m['SessionStatus']['OFFLINE']:this['_handleOffline']();break;case m['SessionStatus'][_0x56469e(0xb2)]:this[_0x56469e(0x135)]();break;}}),this[_0x3aa463(0x12e)][_0x3aa463(0x17b)][_0x3aa463(0xd6)](b['takeUntil'](this[_0x3aa463(0xb8)]))['subscribe'](_0x169236=>{var _0x498688=_0x3aa463;const {eventID:_0xa8c3a8}=_0x169236;switch(_0xa8c3a8){case _[_0x498688(0x120)]['LIVESHARE_NEW_HOST']:this[_0x498688(0x137)](_0x169236);break;case _['CollaborationEvent'][_0x498688(0x12f)]:this[_0x498688(0xe9)](_0x169236);break;case _[_0x498688(0x120)]['LIVESHARE_TERMINATE']:this[_0x498688(0x167)]();break;case _[_0x498688(0x120)][_0x498688(0x152)]:this[_0x498688(0xd1)](_0x169236);break;}}));}[_0x5f4ed7(0x165)](){var _0x568a84=_0x5f4ed7;this[_0x568a84(0x12e)][_0x568a84(0x17e)]({'eventID':_[_0x568a84(0x120)][_0x568a84(0xd8)],'data':{'unitID':this[_0x568a84(0x138)],'userID':this[_0x568a84(0x12e)][_0x568a84(0xfb)]()}},this['_unitID']);}[_0x5f4ed7(0x16d)](){var _0x9b6772=_0x5f4ed7;this['_status']===_0x9b6772(0x15f)&&(this[_0x9b6772(0x13e)][_0x9b6772(0x124)](_0x9b6772(0xd7)),this[_0x9b6772(0x12e)][_0x9b6772(0x17e)]({'eventID':_[_0x9b6772(0x120)]['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x9b6772(0x138)]}},this[_0x9b6772(0x138)]));}[_0x5f4ed7(0x162)](){var _0x45ee39=_0x5f4ed7;this['_status']==='not-following'&&(this[_0x45ee39(0x13e)][_0x45ee39(0x124)](_0x45ee39(0xe7)),this[_0x45ee39(0x168)]());}[_0x5f4ed7(0xd2)](){var _0x1c8b95=_0x5f4ed7;this[_0x1c8b95(0x17d)]==='following'&&this[_0x1c8b95(0xe4)]();}[_0x5f4ed7(0x137)](_0x332d81){var _0x5e4b08=_0x5f4ed7;const {presenter:_0x4003e6}=_0x332d81[_0x5e4b08(0x174)],_0x1dd2df=this[_0x5e4b08(0x12e)][_0x5e4b08(0xfb)]();this['_presenter']=_0x4003e6,_0x4003e6===_0x1dd2df?(this[_0x5e4b08(0xe4)](),this[_0x5e4b08(0xa7)]()):this['_status']!==_0x5e4b08(0x15d)&&(this[_0x5e4b08(0xaa)](),this[_0x5e4b08(0x168)]());}['_fetchOperations'](){var _0xf6db08=_0x5f4ed7;const _0x330273={'eventID':_['CollaborationEvent'][_0xf6db08(0xac)]};this[_0xf6db08(0x12e)]['send'](_0x330273,this[_0xf6db08(0x138)]);}['_handleTerminate'](){var _0x103331=_0x5f4ed7;this[_0x103331(0x157)]=null,this['_status']!==_0x103331(0x15f)&&this[_0x103331(0x10f)]();}[_0x5f4ed7(0xd1)](_0x2e20cd){var _0xccc2c8=_0x5f4ed7;if(this[_0xccc2c8(0x17d)]==='following'&&this['_presenter']===_0x2e20cd[_0xccc2c8(0x174)][_0xccc2c8(0x119)]){const _0x1ba79e=_['parseProtocolChangeset'](_0x2e20cd[_0xccc2c8(0x174)])[_0xccc2c8(0x14b)][_0xccc2c8(0xf0)]()[_0xccc2c8(0x109)](_0x3affb8=>_0x3affb8['id']===C[_0xccc2c8(0xd4)]['id']);if(_0x1ba79e){const _0x772eb4=_0x1ba79e[_0xccc2c8(0xd9)]['unitId'],_0x22fa3a=_0x1ba79e[_0xccc2c8(0xd9)][_0xccc2c8(0xc8)]['id'];setTimeout(()=>{var _0x839ad2=_0xccc2c8;this[_0x839ad2(0xdc)][_0x839ad2(0xcf)](C[_0x839ad2(0x102)]['id'],{'unitId':_0x772eb4,'subUnitId':_0x22fa3a},{'fromCollab':!0x0});});}}}[_0x5f4ed7(0xa7)](){var _0x286cff=_0x5f4ed7;this[_0x286cff(0x13e)]['next']('presenting');const _0x32cd41=new Map(),_0x28e69f=this[_0x286cff(0x16e)]=new o[(_0x286cff(0x16f))]();_0x28e69f[_0x286cff(0xbf)](o[_0x286cff(0xaf)](()=>{var _0x1f7b0e=_0x286cff;_0x32cd41[_0x1f7b0e(0x150)](_0x484ac9=>_0x484ac9[_0x1f7b0e(0xe0)]()),_0x32cd41[_0x1f7b0e(0x146)]();})),_0x28e69f[_0x286cff(0xbf)](this[_0x286cff(0xdc)][_0x286cff(0x10e)](_0x1ba878=>{var _0x5584a3=_0x286cff,_0x38fd8f;if(_0x1ba878[_0x5584a3(0xe1)]!==o[_0x5584a3(0x180)][_0x5584a3(0x12b)]||!this['_liveShareService'][_0x5584a3(0x147)](_0x1ba878['id']))return;const {id:_0x423b10}=_0x1ba878;let _0x2aed0d;_0x32cd41[_0x5584a3(0x101)](_0x423b10)?_0x2aed0d=_0x32cd41[_0x5584a3(0xec)](_0x423b10):(_0x2aed0d=new w['Subject'](),_0x32cd41['set'](_0x423b10,_0x2aed0d),_0x2aed0d[_0x5584a3(0xd6)](b[_0x5584a3(0x123)]((_0x38fd8f=this['_configService'][_0x5584a3(0x141)](W))!=null?_0x38fd8f:G,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x5584a3(0xe8)](_0x137012=>{var _0x4e7402=_0x5584a3;this[_0x4e7402(0x12e)][_0x4e7402(0x17e)]({'eventID':_['CollaborationEvent'][_0x4e7402(0x12f)],'data':{'unitID':this[_0x4e7402(0x138)],'operations':{[_0x137012['id']]:{'id':_0x137012['id'],'params':JSON[_0x4e7402(0xb9)](_0x137012[_0x4e7402(0xd9)])}}}},this[_0x4e7402(0x138)]);})),_0x2aed0d[_0x5584a3(0x124)](_0x1ba878);})),this[_0x286cff(0x113)][_0x286cff(0x177)](this[_0x286cff(0x138)])[_0x286cff(0x150)](_0x5b1c3c=>this[_0x286cff(0x12e)][_0x286cff(0x17e)]({'eventID':_[_0x286cff(0x120)][_0x286cff(0x12f)],'data':{'unitID':this['_unitID'],'operations':{[_0x5b1c3c['id']]:{'id':_0x5b1c3c['id'],'params':JSON[_0x286cff(0xb9)](_0x5b1c3c[_0x286cff(0xd9)])}}}},this[_0x286cff(0x138)]));}[_0x5f4ed7(0xaa)](){var _0x20eb42=_0x5f4ed7,_0x2367e3;this[_0x20eb42(0x13e)][_0x20eb42(0x124)](_0x20eb42(0xd7)),(_0x2367e3=this[_0x20eb42(0x16e)])==null||_0x2367e3[_0x20eb42(0xe3)](),this[_0x20eb42(0x16e)]=null;}[_0x5f4ed7(0x168)](){var _0x11caef=_0x5f4ed7,_0x2965cb;(_0x2965cb=this[_0x11caef(0x16e)])==null||_0x2965cb['dispose'](),this['_status$'][_0x11caef(0x124)](_0x11caef(0xe7));}[_0x5f4ed7(0x10f)](){var _0x3662e9=_0x5f4ed7,_0x26a091;this['_status$'][_0x3662e9(0x124)]('idle'),(_0x26a091=this['_commandDisposable'])==null||_0x26a091['dispose'](),this['_commandDisposable']=null;}['_stopFollowing'](){var _0x3648b1=_0x5f4ed7,_0x30eda1;this['_status$'][_0x3648b1(0x124)]('not-following'),(_0x30eda1=this['_commandDisposable'])==null||_0x30eda1[_0x3648b1(0xe3)]();}['_handleOperation'](_0x10a3f3){var _0x1c7ab4=_0x5f4ed7;if([_0x1c7ab4(0x15f),_0x1c7ab4(0x15d),_0x1c7ab4(0xb5)]['includes'](this[_0x1c7ab4(0x17d)])||!_0x10a3f3[_0x1c7ab4(0x174)][_0x1c7ab4(0x10b)]||_0x10a3f3[_0x1c7ab4(0x174)][_0x1c7ab4(0x10b)]===this[_0x1c7ab4(0x12e)][_0x1c7ab4(0xfb)]())return;this[_0x1c7ab4(0x17d)]===_0x1c7ab4(0xd7)&&this[_0x1c7ab4(0x168)]();const _0x1caafa=_0x10a3f3[_0x1c7ab4(0x174)][_0x1c7ab4(0xb3)];Object['values'](_0x1caafa)[_0x1c7ab4(0x150)](_0x4f6939=>{var _0x41b0a9=_0x1c7ab4;this[_0x41b0a9(0xdc)]['executeCommand'](_0x4f6939['id'],_0x4f6939[_0x41b0a9(0xd9)]?JSON[_0x41b0a9(0xbb)](_0x4f6939[_0x41b0a9(0xd9)]):null,{'fromCollab':!0x0});});}[_0x5f4ed7(0x14e)](){var _0x387262=_0x5f4ed7,_0x2da216;this['_status$']['next']('offline'),(_0x2da216=this[_0x387262(0x16e)])==null||_0x2da216[_0x387262(0xe3)]();}[_0x5f4ed7(0x135)](){var _0x4e8032=_0x5f4ed7;this['_status$'][_0x4e8032(0x124)](_0x4e8032(0xd7)),this[_0x4e8032(0x112)]();}},exports['LiveShareCoordinator']=R([S(0x2,o[_0x5f4ed7(0xe2)]),S(0x3,o[_0x5f4ed7(0x11a)](O)),S(0x4,o[_0x5f4ed7(0x175)])],exports['LiveShareCoordinator']);function A(){var _0xcc3ede=_0x5f4ed7;const _0x65b2d4=p[_0xcc3ede(0x145)](exports['LiveShareController']),_0x416e8a=p[_0xcc3ede(0x145)](o['IUniverInstanceService']),_0x542594=p['useObservable'](()=>_0x416e8a[_0xcc3ede(0x134)](o[_0xcc3ede(0x13d)][_0xcc3ede(0xf2)]),void 0x0,!0x1,[]),[_0x49ff8b,_0x7c1a49]=f[_0xcc3ede(0xb6)](null),[_0x36ff0b,_0x37753a]=f[_0xcc3ede(0xb6)](h[_0xcc3ede(0xcb)]),_0x31f71b=f[_0xcc3ede(0x172)](null);return f[_0xcc3ede(0xb1)](()=>(_0x542594&&_0x65b2d4[_0xcc3ede(0xc2)](_0x542594['getUnitId']())[_0xcc3ede(0x176)](_0x193b98=>{var _0x4e4e11=_0xcc3ede;_0x7c1a49(_0x193b98),_0x31f71b[_0x4e4e11(0x140)]=_0x193b98[_0x4e4e11(0x15a)][_0x4e4e11(0xe8)](_0x2a1ddf=>{_0x37753a(_0x2a1ddf);});}),()=>{var _0x9180d2=_0xcc3ede,_0x3cbad0;(_0x3cbad0=_0x31f71b['current'])==null||_0x3cbad0[_0x9180d2(0xf5)](),_0x31f71b[_0x9180d2(0x140)]=null;}),[_0x542594,_0x65b2d4]),_0x49ff8b?l['jsx'](g[_0xcc3ede(0x127)],{'align':'end','disabled':_0x36ff0b===h[_0xcc3ede(0xbc)],'className':_0xcc3ede(0xf9),'overlay':l[_0xcc3ede(0xb7)](B,{'status':_0x36ff0b,'coordinator':_0x49ff8b}),'children':l[_0xcc3ede(0xb7)](_0xcc3ede(0xce),{'className':g['clsx'](_0xcc3ede(0x166),{'univer-cursor-not-allowed':_0x36ff0b===h[_0xcc3ede(0xbc)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x36ff0b!==h['OFFLINE']}),'type':_0xcc3ede(0xce),'children':l[_0xcc3ede(0xb7)](P,{'className':'univer-size-4'})})}):null;}function B(_0x3da27c){var _0x4fc7b0=_0x5f4ed7;const {status:_0x5a7c4e,coordinator:_0xe5b491}=_0x3da27c;switch(_0x5a7c4e){case h[_0x4fc7b0(0xcb)]:return l[_0x4fc7b0(0xb7)](Y,{'coordinator':_0xe5b491});case h[_0x4fc7b0(0xe5)]:return l[_0x4fc7b0(0xb7)](Z,{'coordinator':_0xe5b491});case h[_0x4fc7b0(0xe6)]:return l['jsx'](J,{'coordinator':_0xe5b491});case h[_0x4fc7b0(0xbc)]:return l[_0x4fc7b0(0xb7)](z,{});case h['PRESENTING']:return l['jsx'](K,{'coordinator':_0xe5b491});default:return null;}}function _0x2135(_0x12792a,_0x42e09a){var _0x4d893c=_0x4d89();return _0x2135=function(_0x21351d,_0x333e27){_0x21351d=_0x21351d-0xa6;var _0x3cb0ce=_0x4d893c[_0x21351d];return _0x3cb0ce;},_0x2135(_0x12792a,_0x42e09a);}function Y(_0x3100b0){var _0x32d9f5=_0x5f4ed7;const {coordinator:_0x5b4a9b}=_0x3100b0;return l[_0x32d9f5(0x12c)](l[_0x32d9f5(0x17f)],{'children':[l[_0x32d9f5(0xb7)](_0x32d9f5(0x111),{'className':_0x32d9f5(0xc1),'children':'Present\x20this\x20document'}),l[_0x32d9f5(0xb7)](g[_0x32d9f5(0x129)],{'onClick':()=>_0x5b4a9b[_0x32d9f5(0x165)](),'children':_0x32d9f5(0x104)})]});}function Z(_0x1db03a){var _0x174433=_0x5f4ed7;const {coordinator:_0x2a2b57}=_0x1db03a;return l[_0x174433(0x12c)](l[_0x174433(0x17f)],{'children':[l[_0x174433(0xb7)]('div',{'className':_0x174433(0xc1),'children':'You\x27re\x20following\x20the\x20presenter'}),l['jsx'](g['Button'],{'onClick':()=>_0x2a2b57['stopFollowing'](),'children':_0x174433(0x12d)})]});}function J(_0x1debf4){var _0x1b151d=_0x5f4ed7;const {coordinator:_0xfa7ea6}=_0x1debf4;return l[_0x1b151d(0x12c)](l[_0x1b151d(0x17f)],{'children':[l[_0x1b151d(0xb7)](_0x1b151d(0x111),{'className':_0x1b151d(0xc1),'children':_0x1b151d(0x139)}),l[_0x1b151d(0xb7)](g[_0x1b151d(0x129)],{'variant':_0x1b151d(0xdd),'onClick':()=>_0xfa7ea6['startFollowing'](),'children':'Start\x20following'})]});}function K(_0x5d5b04){var _0xe1441c=_0x5f4ed7;const {coordinator:_0x52fa06}=_0x5d5b04;return l[_0xe1441c(0x12c)](l['Fragment'],{'children':[l[_0xe1441c(0xb7)](_0xe1441c(0x111),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0xe1441c(0xfc)}),l[_0xe1441c(0xb7)](g[_0xe1441c(0x129)],{'variant':_0xe1441c(0x14c),'onClick':()=>_0x52fa06[_0xe1441c(0x16d)](),'children':_0xe1441c(0xf8)})]});}function z(){var _0x227171=_0x5f4ed7;return l['jsx'](l[_0x227171(0x17f)],{'children':_0x227171(0x100)});}var Q=Object[_0x5f4ed7(0x151)],X=(_0xc8b311,_0x198dd9,_0x66a9d,_0x30f023)=>{var _0x53a28d=_0x5f4ed7;for(var _0x3af1b1=_0x30f023>0x1?void 0x0:_0x30f023?Q(_0x198dd9,_0x66a9d):_0x198dd9,_0x369131=_0xc8b311[_0x53a28d(0x153)]-0x1,_0x5b765b;_0x369131>=0x0;_0x369131--)(_0x5b765b=_0xc8b311[_0x369131])&&(_0x3af1b1=_0x5b765b(_0x3af1b1)||_0x3af1b1);return _0x3af1b1;},x=(_0x1c3b92,_0x4d5cf3)=>(_0x553ba3,_0x24e58e)=>_0x4d5cf3(_0x553ba3,_0x24e58e,_0x1c3b92);exports[_0x5f4ed7(0x16a)]=class extends o['Disposable']{constructor(_0x58d36e,_0x3313d7){var _0x54b41c=_0x5f4ed7;super(),this[_0x54b41c(0x13c)]=_0x58d36e,this[_0x54b41c(0x148)]=_0x3313d7,this['_mountLiveShare']();}[_0x5f4ed7(0x10a)](){var _0x4ccba5=_0x5f4ed7;this[_0x4ccba5(0xed)](this[_0x4ccba5(0x148)]['registerComponent'](p[_0x4ccba5(0x10d)][_0x4ccba5(0x149)],()=>p[_0x4ccba5(0xad)](A,this['_injector'])));}},exports['DesktopLiveShareController']=X([x(0x0,o[_0x5f4ed7(0x11a)](o[_0x5f4ed7(0x11f)])),x(0x1,p['IUIPartsService'])],exports[_0x5f4ed7(0x16a)]);const ee=_0x5f4ed7(0xf3),L={};var te=Object[_0x5f4ed7(0x151)],ie=(_0x2e43f4,_0x5926a6,_0x372bc9,_0x1db5fc)=>{var _0x756945=_0x5f4ed7;for(var _0x5d5dbb=_0x1db5fc>0x1?void 0x0:_0x1db5fc?te(_0x5926a6,_0x372bc9):_0x5926a6,_0x3c88c0=_0x2e43f4[_0x756945(0x153)]-0x1,_0x2f750c;_0x3c88c0>=0x0;_0x3c88c0--)(_0x2f750c=_0x2e43f4[_0x3c88c0])&&(_0x5d5dbb=_0x2f750c(_0x5d5dbb)||_0x5d5dbb);return _0x5d5dbb;},ne=(_0x16ac0f,_0x162160)=>(_0x185625,_0x3b249e)=>_0x162160(_0x185625,_0x3b249e,_0x16ac0f);let E=class extends o[_0x5f4ed7(0xc4)]{constructor(_0x25c8aa){var _0x370ad1=_0x5f4ed7;super(),this[_0x370ad1(0x113)]=_0x25c8aa,this[_0x370ad1(0xae)]();}[_0x5f4ed7(0xae)](){var _0x51cdc5=_0x5f4ed7;[D[_0x51cdc5(0xef)]['id'],D[_0x51cdc5(0x13b)]['id'],C['SetWorksheetActiveOperation']['id']][_0x51cdc5(0x150)](_0x8a67d3=>{var _0xa90a3c=_0x51cdc5;this[_0xa90a3c(0xed)](this[_0xa90a3c(0x113)]['registerSharedOperation'](_0x8a67d3));});}};E=ie([ne(0x0,o[_0x5f4ed7(0x11a)](O))],E);var re=Object[_0x5f4ed7(0xcc)],se=Object[_0x5f4ed7(0x151)],oe=(_0x114acf,_0x57aea2,_0x3872fd)=>_0x57aea2 in _0x114acf?re(_0x114acf,_0x57aea2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3872fd}):_0x114acf[_0x57aea2]=_0x3872fd,ae=(_0x5d874a,_0x14153e,_0x3167b9,_0x498cb5)=>{for(var _0x45dd90=_0x498cb5>0x1?void 0x0:_0x498cb5?se(_0x14153e,_0x3167b9):_0x14153e,_0x47607d=_0x5d874a['length']-0x1,_0x5415de;_0x47607d>=0x0;_0x47607d--)(_0x5415de=_0x5d874a[_0x47607d])&&(_0x45dd90=_0x5415de(_0x45dd90)||_0x45dd90);return _0x45dd90;},N=(_0x171988,_0x3d6e7c)=>(_0x37027e,_0x3d5d97)=>_0x3d6e7c(_0x37027e,_0x3d5d97,_0x171988),T=(_0x2db05e,_0x48b403,_0x36632a)=>oe(_0x2db05e,typeof _0x48b403!=_0x5f4ed7(0x13a)?_0x48b403+'':_0x48b403,_0x36632a);const le=_0x5f4ed7(0x173);exports[_0x5f4ed7(0x116)]=class extends o['Plugin']{constructor(_0x1f78f5=L,_0x12222f,_0x3be74b){var _0x9db9f6=_0x5f4ed7;super(),this[_0x9db9f6(0xc0)]=_0x1f78f5,this['_injector']=_0x12222f,this['_configService']=_0x3be74b;const {..._0x172817}=o['merge']({},L,this[_0x9db9f6(0xc0)]);this['_configService'][_0x9db9f6(0x126)](ee,_0x172817);}[_0x5f4ed7(0xd5)](){var _0x300e0a=_0x5f4ed7;o[_0x300e0a(0xff)](this[_0x300e0a(0x13c)],o['mergeOverrideWithDependencies']([[O],[exports[_0x300e0a(0xf1)]],[E],[exports[_0x300e0a(0x16a)]]],this['_config'][_0x300e0a(0xde)])),o[_0x300e0a(0x160)](this['_injector'],[[E]]);}[_0x5f4ed7(0xc3)](){var _0x5d4961=_0x5f4ed7;o[_0x5d4961(0x160)](this[_0x5d4961(0x13c)],[[exports[_0x5d4961(0x16a)]]]);}},T(exports['UniverLiveSharePlugin'],_0x5f4ed7(0xe1),o['UniverInstanceType']['UNIVER_UNKNOWN']),T(exports[_0x5f4ed7(0x116)],_0x5f4ed7(0x12a),le),exports[_0x5f4ed7(0x116)]=ae([o['DependentOn'](m[_0x5f4ed7(0x156)]),N(0x1,o[_0x5f4ed7(0x11a)](o[_0x5f4ed7(0x11f)])),N(0x2,o[_0x5f4ed7(0xe2)])],exports[_0x5f4ed7(0x116)]),exports[_0x5f4ed7(0xab)]=A,exports[_0x5f4ed7(0xbd)]=O,exports[_0x5f4ed7(0xc7)]=h;
1
+ 'use strict';var _0x5713d8=_0xbf5a;(function(_0x43670f,_0x4523e4){var _0x38ee1d=_0xbf5a,_0x5214e2=_0x43670f();while(!![]){try{var _0x350e08=parseInt(_0x38ee1d(0x1d9))/0x1*(parseInt(_0x38ee1d(0x141))/0x2)+parseInt(_0x38ee1d(0x1f3))/0x3+parseInt(_0x38ee1d(0x1f5))/0x4+parseInt(_0x38ee1d(0x1ec))/0x5*(-parseInt(_0x38ee1d(0x1fb))/0x6)+-parseInt(_0x38ee1d(0x1cd))/0x7*(-parseInt(_0x38ee1d(0x17e))/0x8)+-parseInt(_0x38ee1d(0x1d0))/0x9*(parseInt(_0x38ee1d(0x17d))/0xa)+-parseInt(_0x38ee1d(0x196))/0xb;if(_0x350e08===_0x4523e4)break;else _0x5214e2['push'](_0x5214e2['shift']());}catch(_0x40ae6d){_0x5214e2['push'](_0x5214e2['shift']());}}}(_0x23ee,0x6f97b));var U=Object[_0x5713d8(0x1d4)],F=(_0x5981b5,_0xeb37ef,_0x263221)=>_0xeb37ef in _0x5981b5?U(_0x5981b5,_0xeb37ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263221}):_0x5981b5[_0xeb37ef]=_0x263221,v=(_0x152c86,_0x395dd7,_0x39b992)=>F(_0x152c86,typeof _0x395dd7!=_0x5713d8(0x131)?_0x395dd7+'':_0x395dd7,_0x39b992);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const o=require('@univerjs/core'),p=require('@univerjs/ui'),l=require('react/jsx-runtime'),g=require('@univerjs/design'),f=require('react'),_=require('@univerjs-pro/collaboration'),m=require('@univerjs-pro/collaboration-client'),C=require('@univerjs/sheets'),w=require('rxjs'),b=require('rxjs/operators'),D=require('@univerjs/sheets-ui');var u=function(){var _0x4b2500=_0x5713d8;return u=Object[_0x4b2500(0x16e)]||function(_0xc19ff9){var _0xf57718=_0x4b2500;for(var _0x76f371,_0x501968=0x1,_0x5d2161=arguments[_0xf57718(0x16f)];_0x501968<_0x5d2161;_0x501968++){_0x76f371=arguments[_0x501968];for(var _0xf20389 in _0x76f371)Object[_0xf57718(0x16b)][_0xf57718(0x156)][_0xf57718(0x1e5)](_0x76f371,_0xf20389)&&(_0xc19ff9[_0xf20389]=_0x76f371[_0xf20389]);}return _0xc19ff9;},u[_0x4b2500(0x19e)](this,arguments);},$=function(_0x25456f,_0x59f538){var _0xac5555=_0x5713d8,_0x408afb={};for(var _0x3119d7 in _0x25456f)Object[_0xac5555(0x16b)][_0xac5555(0x156)]['call'](_0x25456f,_0x3119d7)&&_0x59f538[_0xac5555(0x157)](_0x3119d7)<0x0&&(_0x408afb[_0x3119d7]=_0x25456f[_0x3119d7]);if(_0x25456f!=null&&typeof Object[_0xac5555(0x162)]=='function'){for(var _0x55f1d5=0x0,_0x3119d7=Object[_0xac5555(0x162)](_0x25456f);_0x55f1d5<_0x3119d7['length'];_0x55f1d5++)_0x59f538[_0xac5555(0x157)](_0x3119d7[_0x55f1d5])<0x0&&Object[_0xac5555(0x16b)][_0xac5555(0x14b)][_0xac5555(0x1e5)](_0x25456f,_0x3119d7[_0x55f1d5])&&(_0x408afb[_0x3119d7[_0x55f1d5]]=_0x25456f[_0x3119d7[_0x55f1d5]]);}return _0x408afb;},j=f['forwardRef'](function(_0x25826f,_0x15e33c){var _0x476c9e=_0x5713d8,_0x356709=_0x25826f['icon'],_0x3de081=_0x25826f['id'],_0x167c4e=_0x25826f[_0x476c9e(0x195)],_0x35be70=_0x25826f[_0x476c9e(0x189)],_0x150515=$(_0x25826f,[_0x476c9e(0x148),'id','className',_0x476c9e(0x189)]),_0x850ac5=_0x476c9e(0x17b)[_0x476c9e(0x19f)](_0x3de081,'\x20')[_0x476c9e(0x19f)](_0x167c4e||'')[_0x476c9e(0x142)](),_0x477436=f[_0x476c9e(0x18d)]('_'['concat'](k()));return y(_0x356709,''[_0x476c9e(0x19f)](_0x3de081),{'defIds':_0x356709[_0x476c9e(0x170)],'idSuffix':_0x477436[_0x476c9e(0x155)]},u({'ref':_0x15e33c,'className':_0x850ac5},_0x150515),_0x35be70);});function y(_0x23fb85,_0x135fce,_0x3dddd3,_0x33eb47,_0x2256e6){var _0x29127b=_0x5713d8;return f[_0x29127b(0x1d8)](_0x23fb85['tag'],u(u({'key':_0x135fce},H(_0x23fb85,_0x3dddd3,_0x2256e6)),_0x33eb47),(V(_0x23fb85,_0x3dddd3)[_0x29127b(0x188)]||[])[_0x29127b(0x1a4)](function(_0x57a7b1,_0x5e639b){var _0x368b13=_0x29127b;return y(_0x57a7b1,''['concat'](_0x135fce,'-')[_0x368b13(0x19f)](_0x23fb85['tag'],'-')[_0x368b13(0x19f)](_0x5e639b),_0x3dddd3,void 0x0,_0x2256e6);}));}function H(_0x923dfe,_0x41049a,_0x59efab){var _0x25632e=_0x5713d8,_0x24311c=u({},_0x923dfe[_0x25632e(0x130)]);_0x59efab!=null&&_0x59efab[_0x25632e(0x191)]&&_0x24311c[_0x25632e(0x1d3)]===_0x25632e(0x191)&&(_0x24311c[_0x25632e(0x1d3)]=_0x59efab['colorChannel1']),_0x923dfe[_0x25632e(0x1c8)]===_0x25632e(0x1de)&&_0x24311c['id']&&(_0x24311c['id']=_0x24311c['id']+_0x41049a['idSuffix']),Object['entries'](_0x24311c)['forEach'](function(_0x53f518){var _0xf2f2bc=_0x25632e,_0x32c54e=_0x53f518[0x0],_0x4be7c4=_0x53f518[0x1];_0x32c54e===_0xf2f2bc(0x1de)&&typeof _0x4be7c4==_0xf2f2bc(0x1d7)&&(_0x24311c[_0x32c54e]=_0x4be7c4[_0xf2f2bc(0x1a6)](/url\(#(.*)\)/,_0xf2f2bc(0x1b6)[_0xf2f2bc(0x19f)](_0x41049a[_0xf2f2bc(0x182)],')')));});var _0x3a1bcc=_0x41049a[_0x25632e(0x170)];return!_0x3a1bcc||_0x3a1bcc['length']===0x0||(_0x923dfe[_0x25632e(0x1c8)]===_0x25632e(0x13a)&&_0x24311c[_0x25632e(0x1d6)]&&(_0x24311c['xlink:href']=_0x24311c['xlink:href']+_0x41049a['idSuffix']),Object[_0x25632e(0x19c)](_0x24311c)[_0x25632e(0x149)](function(_0x25a1bd){var _0x2b2df7=_0x25632e,_0xc7a7d0=_0x25a1bd[0x0],_0xc983a2=_0x25a1bd[0x1];typeof _0xc983a2=='string'&&(_0x24311c[_0xc7a7d0]=_0xc983a2[_0x2b2df7(0x1a6)](/url\(#(.*)\)/,_0x2b2df7(0x1b6)['concat'](_0x41049a['idSuffix'],')')));})),_0x24311c;}function V(_0x38acfe,_0x7ea45b){var _0x1576c5=_0x5713d8,_0x569f11,_0x584974=_0x7ea45b['defIds'];return!_0x584974||_0x584974[_0x1576c5(0x16f)]===0x0?_0x38acfe:_0x38acfe[_0x1576c5(0x1c8)]===_0x1576c5(0x174)&&(!((_0x569f11=_0x38acfe[_0x1576c5(0x188)])===null||_0x569f11===void 0x0)&&_0x569f11[_0x1576c5(0x16f)])?u(u({},_0x38acfe),{'children':_0x38acfe[_0x1576c5(0x188)][_0x1576c5(0x1a4)](function(_0x5760b3){var _0x40c0a0=_0x1576c5;return typeof _0x5760b3[_0x40c0a0(0x130)]['id']=='string'&&_0x584974&&_0x584974[_0x40c0a0(0x11f)](_0x5760b3[_0x40c0a0(0x130)]['id'])?u(u({},_0x5760b3),{'attrs':u(u({},_0x5760b3[_0x40c0a0(0x130)]),{'id':_0x5760b3['attrs']['id']+_0x7ea45b[_0x40c0a0(0x182)]})}):_0x5760b3;})}):_0x38acfe;}function k(){var _0x56f758=_0x5713d8;return Math[_0x56f758(0x1fa)]()[_0x56f758(0x1ac)](0x24)[_0x56f758(0x198)](0x2,0x8);}j[_0x5713d8(0x1fd)]=_0x5713d8(0x180);var M={'tag':_0x5713d8(0x1ca),'attrs':{'xmlns':_0x5713d8(0x187),'fill':_0x5713d8(0x18c),'viewBox':_0x5713d8(0x177),'width':_0x5713d8(0x12c),'height':_0x5713d8(0x12c)},'children':[{'tag':_0x5713d8(0x1ed),'attrs':{'fill':'currentColor','d':_0x5713d8(0x1f1)}},{'tag':_0x5713d8(0x1ed),'attrs':{'fill':_0x5713d8(0x1ff),'d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':_0x5713d8(0x1f7),'clipRule':_0x5713d8(0x1f7)}}]},P=f['forwardRef'](function(_0x27b369,_0x4a1032){var _0x32df71=_0x5713d8;return f['createElement'](j,Object[_0x32df71(0x16e)]({},_0x27b369,{'id':_0x32df71(0x1ce),'ref':_0x4a1032,'icon':M}));});P['displayName']=_0x5713d8(0x13f);class O extends o[_0x5713d8(0x1f6)]{constructor(){var _0x501d0d=_0x5713d8;super(...arguments),v(this,'_sharedOperations',new Set()),v(this,_0x501d0d(0x143),new Set());}[_0x5713d8(0x17f)](_0x573d2f){var _0x2fda0a=_0x5713d8;return this[_0x2fda0a(0x186)]['add'](_0x573d2f),o[_0x2fda0a(0x1a8)](()=>this[_0x2fda0a(0x186)]['delete'](_0x573d2f));}['registerInitialStateReporter'](_0x3104ea){var _0x6bd708=_0x5713d8;return this[_0x6bd708(0x143)]['add'](_0x3104ea),o['toDisposable'](()=>this['_reporters'][_0x6bd708(0x1c2)](_0x3104ea));}['shouldShareOperation'](_0x319ca1){var _0x6afe67=_0x5713d8;return this[_0x6afe67(0x186)][_0x6afe67(0x123)](_0x319ca1);}[_0x5713d8(0x151)](_0xa32f97){var _0x5b944a=_0x5713d8;return Array[_0x5b944a(0x1aa)](this[_0x5b944a(0x143)])[_0x5b944a(0x1a4)](_0x2d7d08=>_0x2d7d08(_0xa32f97));}}var q=Object[_0x5713d8(0x133)],R=(_0x2b3fa4,_0x2363f2,_0x5da291,_0x3317fc)=>{var _0x3ea9ab=_0x5713d8;for(var _0x14c1ba=_0x3317fc>0x1?void 0x0:_0x3317fc?q(_0x2363f2,_0x5da291):_0x2363f2,_0x4536eb=_0x2b3fa4[_0x3ea9ab(0x16f)]-0x1,_0x316811;_0x4536eb>=0x0;_0x4536eb--)(_0x316811=_0x2b3fa4[_0x4536eb])&&(_0x14c1ba=_0x316811(_0x14c1ba)||_0x14c1ba);return _0x14c1ba;},S=(_0x2bec4c,_0x4e29ae)=>(_0x2cf422,_0x11420e)=>_0x4e29ae(_0x2cf422,_0x11420e,_0x2bec4c);exports[_0x5713d8(0x197)]=class extends o['RxDisposable']{constructor(_0x57e2af,_0xb0e0b9,_0x483ab6){var _0xc0405d=_0x5713d8;super(),v(this,_0xc0405d(0x1c6),new Map()),(this[_0xc0405d(0x185)]=_0x57e2af,this[_0xc0405d(0x1be)]=_0xb0e0b9,this[_0xc0405d(0x1d1)]=_0x483ab6,this[_0xc0405d(0x144)]());}async[_0x5713d8(0x122)](_0x41739f){var _0x2e2f7d=_0x5713d8;return this[_0x2e2f7d(0x1c6)][_0x2e2f7d(0x123)](_0x41739f)||await this[_0x2e2f7d(0x132)](_0x41739f),this[_0x2e2f7d(0x1c6)][_0x2e2f7d(0x1dc)](_0x41739f);}['_init'](){var _0x1babee=_0x5713d8;this[_0x1babee(0x185)]['getTypeOfUnitAdded$'](o[_0x1babee(0x1d5)][_0x1babee(0x1d2)])[_0x1babee(0x1f2)](b[_0x1babee(0x1c9)](this[_0x1babee(0x1bf)]))[_0x1babee(0x147)](async _0x4c89e4=>{var _0x294fa8=_0x1babee;const _0x5565ab=_0x4c89e4[_0x294fa8(0x178)]();this[_0x294fa8(0x1c6)][_0x294fa8(0x123)](_0x5565ab)||this[_0x294fa8(0x132)](_0x5565ab);}),this['_univerInstanceService'][_0x1babee(0x1ae)](o[_0x1babee(0x1d5)][_0x1babee(0x1d2)])[_0x1babee(0x1f2)](b[_0x1babee(0x1c9)](this[_0x1babee(0x1bf)]))[_0x1babee(0x147)](_0x2952d1=>{var _0x45f780=_0x1babee;const _0x373ab9=_0x2952d1[_0x45f780(0x178)](),_0xec91ab=this[_0x45f780(0x1c6)][_0x45f780(0x1dc)](_0x373ab9);_0xec91ab==null||_0xec91ab[_0x45f780(0x18f)]();});}async['_startLiveShareCoordinator'](_0x41d508){var _0x542bad=_0x5713d8;const _0x30430d=await this[_0x542bad(0x1d1)][_0x542bad(0x1b7)](_0x41d508),_0x595c1b=this[_0x542bad(0x1be)][_0x542bad(0x1a2)](exports[_0x542bad(0x171)],_0x41d508,_0x30430d);return _0x595c1b[_0x542bad(0x194)](),this[_0x542bad(0x1c6)][_0x542bad(0x150)](_0x41d508,_0x595c1b),_0x595c1b;}},exports[_0x5713d8(0x197)]=R([S(0x0,o['IUniverInstanceService']),S(0x1,o[_0x5713d8(0x1cc)](o['Injector'])),S(0x2,o[_0x5713d8(0x1cc)](m['CollaborationSessionService']))],exports[_0x5713d8(0x197)]);var h=(_0x53ce27=>(_0x53ce27[_0x5713d8(0x129)]=_0x5713d8(0x1b5),_0x53ce27[_0x5713d8(0x1ef)]=_0x5713d8(0x1bc),_0x53ce27[_0x5713d8(0x1cb)]=_0x5713d8(0x1ab),_0x53ce27[_0x5713d8(0x15a)]=_0x5713d8(0x14f),_0x53ce27[_0x5713d8(0x175)]=_0x5713d8(0x1b8),_0x53ce27))(h||{});const W=_0x5713d8(0x1c7),G=0xc8;exports[_0x5713d8(0x171)]=class extends o[_0x5713d8(0x15b)]{constructor(_0x4acbbb,_0x2f4879,_0x42bcdd,_0xbbb378,_0x114220){var _0x5e809b=_0x5713d8;super(),v(this,_0x5e809b(0x1ad),new w['BehaviorSubject'](_0x5e809b(0x1bc))),v(this,_0x5e809b(0x173),this['_status$'][_0x5e809b(0x13b)]()),v(this,_0x5e809b(0x144),!0x1),v(this,_0x5e809b(0x1bb),null),v(this,'_presenter',null),(this['_unitID']=_0x4acbbb,this['_collabSession']=_0x2f4879,this[_0x5e809b(0x16d)]=_0x42bcdd,this[_0x5e809b(0x1f4)]=_0xbbb378,this[_0x5e809b(0x1ba)]=_0x114220);}get[_0x5713d8(0x1da)](){var _0x4bdbc5=_0x5713d8;return this[_0x4bdbc5(0x1ad)][_0x4bdbc5(0x19a)]();}[_0x5713d8(0x18f)](){var _0x39cc0a=_0x5713d8,_0x435b18;(_0x435b18=this[_0x39cc0a(0x1bb)])==null||_0x435b18[_0x39cc0a(0x18f)](),this[_0x39cc0a(0x1ad)][_0x39cc0a(0x1df)]('idle'),this[_0x39cc0a(0x1ad)][_0x39cc0a(0x1ee)]();}[_0x5713d8(0x194)](){var _0x4ca348=_0x5713d8;this[_0x4ca348(0x144)]||(this[_0x4ca348(0x144)]=!0x0,this[_0x4ca348(0x1b0)]['sessionStatus$'][_0x4ca348(0x1f2)](b[_0x4ca348(0x1c9)](this[_0x4ca348(0x1bf)]))[_0x4ca348(0x147)](_0x29ee7b=>{var _0x224495=_0x4ca348;switch(_0x29ee7b){case m[_0x224495(0x1f0)][_0x224495(0x129)]:this[_0x224495(0x158)]();break;case m[_0x224495(0x1f0)][_0x224495(0x14a)]:this[_0x224495(0x136)]();break;}}),this[_0x4ca348(0x1b0)][_0x4ca348(0x1e7)][_0x4ca348(0x1f2)](b[_0x4ca348(0x1c9)](this[_0x4ca348(0x1bf)]))[_0x4ca348(0x147)](_0x5b6ad4=>{var _0x308f35=_0x4ca348;const {eventID:_0x262539}=_0x5b6ad4;switch(_0x262539){case _[_0x308f35(0x16c)][_0x308f35(0x140)]:this[_0x308f35(0x1e0)](_0x5b6ad4);break;case _[_0x308f35(0x16c)]['LIVESHARE_OPERATION']:this[_0x308f35(0x1dd)](_0x5b6ad4);break;case _['CollaborationEvent']['LIVESHARE_TERMINATE']:this[_0x308f35(0x202)]();break;case _['CollaborationEvent'][_0x308f35(0x19b)]:this[_0x308f35(0x190)](_0x5b6ad4);break;}}));}[_0x5713d8(0x13e)](){var _0x229845=_0x5713d8;this[_0x229845(0x1b0)][_0x229845(0x17a)]({'eventID':_[_0x229845(0x16c)][_0x229845(0x165)],'data':{'unitID':this['_unitID'],'userID':this[_0x229845(0x1b0)][_0x229845(0x138)]()}},this[_0x229845(0x18b)]);}[_0x5713d8(0x1ea)](){var _0x21a63c=_0x5713d8;this[_0x21a63c(0x1da)]===_0x21a63c(0x1b8)&&(this['_status$']['next'](_0x21a63c(0x1bc)),this[_0x21a63c(0x1b0)][_0x21a63c(0x17a)]({'eventID':_['CollaborationEvent'][_0x21a63c(0x176)],'data':{'unitID':this[_0x21a63c(0x18b)]}},this[_0x21a63c(0x18b)]));}[_0x5713d8(0x181)](){var _0x769d67=_0x5713d8;this[_0x769d67(0x1da)]===_0x769d67(0x14f)&&(this[_0x769d67(0x1ad)][_0x769d67(0x1df)](_0x769d67(0x1ab)),this[_0x769d67(0x164)]());}[_0x5713d8(0x192)](){var _0x469677=_0x5713d8;this[_0x469677(0x1da)]===_0x469677(0x1ab)&&this[_0x469677(0x12e)]();}[_0x5713d8(0x1e0)](_0x95df60){var _0x3dfc9a=_0x5713d8;const {presenter:_0x184bb3}=_0x95df60[_0x3dfc9a(0x1e8)],_0x2fdad8=this[_0x3dfc9a(0x1b0)][_0x3dfc9a(0x138)]();this[_0x3dfc9a(0x1b2)]=_0x184bb3,_0x184bb3===_0x2fdad8?(this['_stopFollowing'](),this[_0x3dfc9a(0x121)]()):this[_0x3dfc9a(0x1da)]!==_0x3dfc9a(0x14f)&&(this[_0x3dfc9a(0x125)](),this[_0x3dfc9a(0x164)]());}[_0x5713d8(0x12b)](){var _0x4b97e5=_0x5713d8;const _0x279f2e={'eventID':_[_0x4b97e5(0x16c)]['LIVESHARE_FETCH_OPERATIONS']};this[_0x4b97e5(0x1b0)][_0x4b97e5(0x17a)](_0x279f2e,this['_unitID']);}[_0x5713d8(0x202)](){var _0x4a86d6=_0x5713d8;this[_0x4a86d6(0x1b2)]=null,this['_status']!=='presenting'&&this[_0x4a86d6(0x168)]();}['_handleNewChangeSets'](_0xee1d3d){var _0x13952e=_0x5713d8;if(this[_0x13952e(0x1da)]==='following'&&this[_0x13952e(0x1b2)]===_0xee1d3d['data'][_0x13952e(0x172)]){const _0xb4c44f=_[_0x13952e(0x15f)](_0xee1d3d[_0x13952e(0x1e8)])[_0x13952e(0x15e)][_0x13952e(0x179)]()[_0x13952e(0x166)](_0x22aacd=>_0x22aacd['id']===C[_0x13952e(0x1e3)]['id']);if(_0xb4c44f){const _0x5e517c=_0xb4c44f[_0x13952e(0x1a0)][_0x13952e(0x1b3)],_0x117100=_0xb4c44f[_0x13952e(0x1a0)]['sheet']['id'];setTimeout(()=>{var _0x2fbfe3=_0x13952e;this[_0x2fbfe3(0x1ba)][_0x2fbfe3(0x154)](C[_0x2fbfe3(0x1e4)]['id'],{'unitId':_0x5e517c,'subUnitId':_0x117100},{'fromCollab':!0x0});});}}}[_0x5713d8(0x121)](){var _0x651946=_0x5713d8;this[_0x651946(0x1ad)]['next'](_0x651946(0x1b8));const _0x346db1=new Map(),_0x3ca265=this[_0x651946(0x1bb)]=new o[(_0x651946(0x139))]();_0x3ca265[_0x651946(0x1af)](o[_0x651946(0x1a8)](()=>{var _0x154dcc=_0x651946;_0x346db1['forEach'](_0x2832ca=>_0x2832ca[_0x154dcc(0x1ee)]()),_0x346db1['clear']();})),_0x3ca265[_0x651946(0x1af)](this[_0x651946(0x1ba)][_0x651946(0x1a5)](_0x46c243=>{var _0x3a5e48=_0x651946,_0x54e9a8;if(_0x46c243[_0x3a5e48(0x1e1)]!==o[_0x3a5e48(0x14c)][_0x3a5e48(0x128)]||!this['_liveShareService']['shouldShareOperation'](_0x46c243['id']))return;const {id:_0x299d26}=_0x46c243;let _0x36ba43;_0x346db1[_0x3a5e48(0x123)](_0x299d26)?_0x36ba43=_0x346db1[_0x3a5e48(0x1dc)](_0x299d26):(_0x36ba43=new w[(_0x3a5e48(0x201))](),_0x346db1[_0x3a5e48(0x150)](_0x299d26,_0x36ba43),_0x36ba43[_0x3a5e48(0x1f2)](b['throttleTime']((_0x54e9a8=this['_configService'][_0x3a5e48(0x1a1)](W))!=null?_0x54e9a8:G,void 0x0,{'trailing':!0x0,'leading':!0x0}))['subscribe'](_0x480682=>{var _0x1c9381=_0x3a5e48;this[_0x1c9381(0x1b0)][_0x1c9381(0x17a)]({'eventID':_[_0x1c9381(0x16c)]['LIVESHARE_OPERATION'],'data':{'unitID':this['_unitID'],'operations':{[_0x480682['id']]:{'id':_0x480682['id'],'params':JSON[_0x1c9381(0x161)](_0x480682['params'])}}}},this[_0x1c9381(0x18b)]);})),_0x36ba43[_0x3a5e48(0x1df)](_0x46c243);})),this['_liveShareService'][_0x651946(0x151)](this[_0x651946(0x18b)])[_0x651946(0x149)](_0x5de5dc=>this[_0x651946(0x1b0)][_0x651946(0x17a)]({'eventID':_[_0x651946(0x16c)]['LIVESHARE_OPERATION'],'data':{'unitID':this['_unitID'],'operations':{[_0x5de5dc['id']]:{'id':_0x5de5dc['id'],'params':JSON[_0x651946(0x161)](_0x5de5dc[_0x651946(0x1a0)])}}}},this['_unitID']));}[_0x5713d8(0x125)](){var _0x1cf3e5=_0x5713d8,_0x10d447;this['_status$']['next'](_0x1cf3e5(0x1bc)),(_0x10d447=this[_0x1cf3e5(0x1bb)])==null||_0x10d447[_0x1cf3e5(0x18f)](),this[_0x1cf3e5(0x1bb)]=null;}[_0x5713d8(0x164)](){var _0x119019=_0x5713d8,_0x406d9a;(_0x406d9a=this[_0x119019(0x1bb)])==null||_0x406d9a[_0x119019(0x18f)](),this[_0x119019(0x1ad)][_0x119019(0x1df)](_0x119019(0x1ab));}[_0x5713d8(0x168)](){var _0xe5fd05=_0x5713d8,_0xa4eee;this[_0xe5fd05(0x1ad)][_0xe5fd05(0x1df)]('idle'),(_0xa4eee=this[_0xe5fd05(0x1bb)])==null||_0xa4eee['dispose'](),this['_commandDisposable']=null;}['_stopFollowing'](){var _0x3c4425=_0x5713d8,_0x4c8d65;this[_0x3c4425(0x1ad)][_0x3c4425(0x1df)](_0x3c4425(0x14f)),(_0x4c8d65=this[_0x3c4425(0x1bb)])==null||_0x4c8d65[_0x3c4425(0x18f)]();}[_0x5713d8(0x1dd)](_0x69ba06){var _0x2383b6=_0x5713d8;if([_0x2383b6(0x1b8),'not-following',_0x2383b6(0x1b5)]['includes'](this['_status'])||!_0x69ba06[_0x2383b6(0x1e8)][_0x2383b6(0x126)]||_0x69ba06[_0x2383b6(0x1e8)]['presenter']===this[_0x2383b6(0x1b0)]['getMemberID']())return;this[_0x2383b6(0x1da)]===_0x2383b6(0x1bc)&&this['_startFollowing']();const _0x545572=_0x69ba06['data'][_0x2383b6(0x193)];Object[_0x2383b6(0x17c)](_0x545572)['forEach'](_0x128147=>{var _0x48a37c=_0x2383b6;this['_commandService'][_0x48a37c(0x154)](_0x128147['id'],_0x128147[_0x48a37c(0x1a0)]?JSON[_0x48a37c(0x135)](_0x128147[_0x48a37c(0x1a0)]):null,{'fromCollab':!0x0});});}[_0x5713d8(0x158)](){var _0x2124b1=_0x5713d8,_0x23a182;this[_0x2124b1(0x1ad)][_0x2124b1(0x1df)](_0x2124b1(0x1b5)),(_0x23a182=this[_0x2124b1(0x1bb)])==null||_0x23a182[_0x2124b1(0x18f)]();}[_0x5713d8(0x136)](){var _0x27f9c0=_0x5713d8;this[_0x27f9c0(0x1ad)][_0x27f9c0(0x1df)](_0x27f9c0(0x1bc)),this[_0x27f9c0(0x12b)]();}},exports[_0x5713d8(0x171)]=R([S(0x2,o['IConfigService']),S(0x3,o[_0x5713d8(0x1cc)](O)),S(0x4,o[_0x5713d8(0x159)])],exports[_0x5713d8(0x171)]);function A(){var _0x401a6f=_0x5713d8;const _0x472428=p[_0x401a6f(0x152)](exports[_0x401a6f(0x197)]),_0x43e0d5=p[_0x401a6f(0x152)](o['IUniverInstanceService']),_0x454634=p[_0x401a6f(0x18e)](()=>_0x43e0d5[_0x401a6f(0x137)](o['UniverInstanceType']['UNIVER_SHEET']),void 0x0,!0x1,[]),[_0x73d915,_0x50454c]=f[_0x401a6f(0x145)](null),[_0x36d8c4,_0x1749e2]=f['useState'](h[_0x401a6f(0x1ef)]),_0x3f78a0=f['useRef'](null);return f[_0x401a6f(0x1b4)](()=>(_0x454634&&_0x472428[_0x401a6f(0x122)](_0x454634[_0x401a6f(0x178)]())[_0x401a6f(0x13c)](_0x388411=>{var _0x580cc7=_0x401a6f;_0x50454c(_0x388411),_0x3f78a0['current']=_0x388411['status$'][_0x580cc7(0x147)](_0x2d3e83=>{_0x1749e2(_0x2d3e83);});}),()=>{var _0x48eb12=_0x401a6f,_0xbcaf17;(_0xbcaf17=_0x3f78a0[_0x48eb12(0x155)])==null||_0xbcaf17[_0x48eb12(0x12d)](),_0x3f78a0[_0x48eb12(0x155)]=null;}),[_0x454634,_0x472428]),_0x73d915?l[_0x401a6f(0x15c)](g[_0x401a6f(0x18a)],{'align':_0x401a6f(0x200),'disabled':_0x36d8c4===h[_0x401a6f(0x129)],'className':_0x401a6f(0x184),'overlay':l[_0x401a6f(0x15c)](B,{'status':_0x36d8c4,'coordinator':_0x73d915}),'children':l[_0x401a6f(0x15c)](_0x401a6f(0x124),{'className':g[_0x401a6f(0x1e6)](_0x401a6f(0x167),{'univer-cursor-not-allowed':_0x36d8c4===h[_0x401a6f(0x129)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x36d8c4!==h[_0x401a6f(0x129)]}),'type':_0x401a6f(0x124),'children':l[_0x401a6f(0x15c)](P,{'className':_0x401a6f(0x1e2)})})}):null;}function B(_0x16f527){var _0x1df03d=_0x5713d8;const {status:_0xe3b553,coordinator:_0x467a46}=_0x16f527;switch(_0xe3b553){case h[_0x1df03d(0x1ef)]:return l[_0x1df03d(0x15c)](Y,{'coordinator':_0x467a46});case h[_0x1df03d(0x1cb)]:return l['jsx'](Z,{'coordinator':_0x467a46});case h[_0x1df03d(0x15a)]:return l[_0x1df03d(0x15c)](J,{'coordinator':_0x467a46});case h[_0x1df03d(0x129)]:return l[_0x1df03d(0x15c)](z,{});case h[_0x1df03d(0x175)]:return l[_0x1df03d(0x15c)](K,{'coordinator':_0x467a46});default:return null;}}function Y(_0x154dbe){var _0x22b548=_0x5713d8;const {coordinator:_0x297e6a}=_0x154dbe;return l['jsxs'](l['Fragment'],{'children':[l['jsx']('div',{'className':_0x22b548(0x1e9),'children':_0x22b548(0x1a9)}),l[_0x22b548(0x15c)](g[_0x22b548(0x1fc)],{'onClick':()=>_0x297e6a[_0x22b548(0x13e)](),'children':_0x22b548(0x183)})]});}function Z(_0xa2c6de){var _0x543fdc=_0x5713d8;const {coordinator:_0x55fc49}=_0xa2c6de;return l[_0x543fdc(0x169)](l[_0x543fdc(0x1a7)],{'children':[l['jsx']('div',{'className':_0x543fdc(0x1e9),'children':_0x543fdc(0x199)}),l[_0x543fdc(0x15c)](g[_0x543fdc(0x1fc)],{'onClick':()=>_0x55fc49[_0x543fdc(0x192)](),'children':_0x543fdc(0x11e)})]});}function J(_0x29f27b){var _0x2d08d7=_0x5713d8;const {coordinator:_0x4a8769}=_0x29f27b;return l[_0x2d08d7(0x169)](l[_0x2d08d7(0x1a7)],{'children':[l[_0x2d08d7(0x15c)](_0x2d08d7(0x1c1),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':'You\x27re\x20not\x20following\x20the\x20presenter'}),l[_0x2d08d7(0x15c)](g[_0x2d08d7(0x1fc)],{'variant':_0x2d08d7(0x14e),'onClick':()=>_0x4a8769[_0x2d08d7(0x181)](),'children':_0x2d08d7(0x120)})]});}function K(_0x3aee4d){var _0x436005=_0x5713d8;const {coordinator:_0x2b360c}=_0x3aee4d;return l[_0x436005(0x169)](l['Fragment'],{'children':[l['jsx']('div',{'className':_0x436005(0x1e9),'children':'You\x27re\x20presenting\x20the\x20document'}),l['jsx'](g[_0x436005(0x1fc)],{'variant':_0x436005(0x19d),'onClick':()=>_0x2b360c[_0x436005(0x1ea)](),'children':_0x436005(0x1c4)})]});}function z(){var _0x5fee00=_0x5713d8;return l['jsx'](l[_0x5fee00(0x1a7)],{'children':_0x5fee00(0x12f)});}var Q=Object[_0x5713d8(0x133)],X=(_0x4f98c4,_0x4addce,_0x4adae9,_0x31eb5d)=>{var _0x5a8565=_0x5713d8;for(var _0x192212=_0x31eb5d>0x1?void 0x0:_0x31eb5d?Q(_0x4addce,_0x4adae9):_0x4addce,_0x587277=_0x4f98c4[_0x5a8565(0x16f)]-0x1,_0x55ce81;_0x587277>=0x0;_0x587277--)(_0x55ce81=_0x4f98c4[_0x587277])&&(_0x192212=_0x55ce81(_0x192212)||_0x192212);return _0x192212;},x=(_0x22fd0b,_0x20ebf2)=>(_0x1eec45,_0xe46c99)=>_0x20ebf2(_0x1eec45,_0xe46c99,_0x22fd0b);exports[_0x5713d8(0x15d)]=class extends o['Disposable']{constructor(_0x1ab72a,_0x4472b8){var _0x410ec1=_0x5713d8;super(),this[_0x410ec1(0x1be)]=_0x1ab72a,this['_uiPartsService']=_0x4472b8,this['_mountLiveShare']();}['_mountLiveShare'](){var _0x4bfb68=_0x5713d8;this['disposeWithMe'](this['_uiPartsService'][_0x4bfb68(0x1b9)](p[_0x4bfb68(0x127)][_0x4bfb68(0x1b1)],()=>p[_0x4bfb68(0x1eb)](A,this[_0x4bfb68(0x1be)])));}},exports['DesktopLiveShareController']=X([x(0x0,o[_0x5713d8(0x1cc)](o['Injector'])),x(0x1,p['IUIPartsService'])],exports[_0x5713d8(0x15d)]);const ee=_0x5713d8(0x146),L={};var te=Object[_0x5713d8(0x133)],ie=(_0x19ada3,_0x11851d,_0x4db854,_0x3182b0)=>{var _0x389608=_0x5713d8;for(var _0x20fa7b=_0x3182b0>0x1?void 0x0:_0x3182b0?te(_0x11851d,_0x4db854):_0x11851d,_0x5142e7=_0x19ada3[_0x389608(0x16f)]-0x1,_0x105bd4;_0x5142e7>=0x0;_0x5142e7--)(_0x105bd4=_0x19ada3[_0x5142e7])&&(_0x20fa7b=_0x105bd4(_0x20fa7b)||_0x20fa7b);return _0x20fa7b;},ne=(_0x616959,_0x2833b5)=>(_0x2aa520,_0x5b5c0c)=>_0x2833b5(_0x2aa520,_0x5b5c0c,_0x616959);let E=class extends o[_0x5713d8(0x1f6)]{constructor(_0x3390bb){var _0x355535=_0x5713d8;super(),this[_0x355535(0x1f4)]=_0x3390bb,this[_0x355535(0x144)]();}[_0x5713d8(0x144)](){var _0x5107ce=_0x5713d8;[D['SetZoomRatioOperation']['id'],D['SetScrollOperation']['id'],C[_0x5107ce(0x1e4)]['id']][_0x5107ce(0x149)](_0x475e2a=>{var _0xd5567c=_0x5107ce;this['disposeWithMe'](this[_0xd5567c(0x1f4)][_0xd5567c(0x17f)](_0x475e2a));});}};function _0x23ee(){var _0x11f79f=['UniverInstanceType','xlink:href','string','createElement','5rztxTA','_status','UniverLiveSharePlugin','get','_handleOperation','mask','next','_handleNewHost','type','univer-size-4','InsertSheetMutation','SetWorksheetActiveOperation','call','clsx','event$','data','univer-mb-3\x20univer-w-full\x20univer-text-sm','stopPresenting','connectInjector','15JGFrva','path','complete','IDLE','SessionStatus','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','pipe','1591080rfroxf','_liveShareService','3055644bkCSIB','Disposable','evenodd','LiveShare','Injector','random','39336igieji','Button','displayName','setConfig','currentColor','end','Subject','_handleTerminate','Stop\x20following','includes','Start\x20following','_startPresenting','getLiveShareCoordinator','has','button','_stopPresenting','presenter','BuiltInUIPart','OPERATION','OFFLINE','touchDependencies','_fetchOperations','1em','unsubscribe','_stopFollowing','You\x27are\x20offline.','attrs','symbol','_startLiveShareCoordinator','getOwnPropertyDescriptor','override','parse','_handleOnline','getCurrentTypeOfUnit$','getMemberID','DisposableCollection','use','asObservable','then','UNIVER_LIVE_SHARE_PLUGIN','tryStartPresenting','LiveShareIcon','LIVESHARE_NEW_HOST','242558zhqMOE','trim','_reporters','_init','useState','live-share.config','subscribe','icon','forEach','ONLINE','propertyIsEnumerable','CommandType','DependentOn','text','not-following','set','getInitialStates','useDependency','LiveShareService','executeCommand','current','hasOwnProperty','indexOf','_handleOffline','ICommandService','NOT_FOLLOWING','RxDisposable','jsx','DesktopLiveShareController','mutations','parseProtocolChangeset','_config','stringify','getOwnPropertySymbols','onRendered','_startFollowing','LIVESHARE_REQUEST_HOST','find','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','_beIdle','jsxs','mergeOverrideWithDependencies','prototype','CollaborationEvent','_configService','assign','length','defIds','LiveShareCoordinator','memberID','status$','defs','PRESENTING','LIVESHARE_TERMINATE','0\x200\x2017\x2017','getUnitId','reverse','send','univerjs-icon\x20univerjs-icon-','values','80gcNNhB','16tluXqG','registerSharedOperation','UniverIcon','startFollowing','idSuffix','Start','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','_univerInstanceService','_sharedOperations','http://www.w3.org/2000/svg','children','extend','Dropdown','_unitID','none','useRef','useObservable','dispose','_handleNewChangeSets','colorChannel1','stopFollowing','operations','init','className','16570103wUscxJ','LiveShareController','substring','You\x27re\x20following\x20the\x20presenter','getValue','NEW_CHANGESETS','entries','default','apply','concat','params','getConfig','createInstance','Plugin','map','onCommandExecuted','replace','Fragment','toDisposable','Present\x20this\x20document','from','following','toString','_status$','getTypeOfUnitDisposed$','add','_collabSession','HEADER_MENU','_presenter','unitId','useEffect','offline','url(#$1','requireSession','presenting','registerComponent','_commandService','_commandDisposable','idle','IConfigService','_injector','dispose$','onStarting','div','delete','LiveShareStatus','Stop\x20presenting','merge','_entities','SAME_OPERATION_SHARE_INTERVAL','tag','takeUntil','svg','FOLLOWING','Inject','1254099OUXNOW','live-share-icon','UniverCollaborationClientPlugin','310338pGAycH','_collabSessionService','UNIVER_SHEET','fill','defineProperty'];_0x23ee=function(){return _0x11f79f;};return _0x23ee();}function _0xbf5a(_0x3a02a1,_0x1e84b5){var _0x23eec8=_0x23ee();return _0xbf5a=function(_0xbf5ab6,_0x5bea19){_0xbf5ab6=_0xbf5ab6-0x11e;var _0x1a00c7=_0x23eec8[_0xbf5ab6];return _0x1a00c7;},_0xbf5a(_0x3a02a1,_0x1e84b5);}E=ie([ne(0x0,o[_0x5713d8(0x1cc)](O))],E);var re=Object[_0x5713d8(0x1d4)],se=Object[_0x5713d8(0x133)],oe=(_0x3e5344,_0x3ae3aa,_0x8edb24)=>_0x3ae3aa in _0x3e5344?re(_0x3e5344,_0x3ae3aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8edb24}):_0x3e5344[_0x3ae3aa]=_0x8edb24,ae=(_0x15b644,_0x14de44,_0x55d6dd,_0x44f8b2)=>{for(var _0x18dfff=_0x44f8b2>0x1?void 0x0:_0x44f8b2?se(_0x14de44,_0x55d6dd):_0x14de44,_0x4f1587=_0x15b644['length']-0x1,_0x1b7be5;_0x4f1587>=0x0;_0x4f1587--)(_0x1b7be5=_0x15b644[_0x4f1587])&&(_0x18dfff=_0x1b7be5(_0x18dfff)||_0x18dfff);return _0x18dfff;},N=(_0x433064,_0xa0c9b5)=>(_0x2e8bda,_0x24b56c)=>_0xa0c9b5(_0x2e8bda,_0x24b56c,_0x433064),T=(_0x20e3f9,_0x114c66,_0x8cc7d1)=>oe(_0x20e3f9,typeof _0x114c66!=_0x5713d8(0x131)?_0x114c66+'':_0x114c66,_0x8cc7d1);const le=_0x5713d8(0x13d);exports[_0x5713d8(0x1db)]=class extends o[_0x5713d8(0x1a3)]{constructor(_0x3650f1=L,_0x522919,_0x1f36e2){var _0x1b3294=_0x5713d8;super(),this[_0x1b3294(0x160)]=_0x3650f1,this[_0x1b3294(0x1be)]=_0x522919,this[_0x1b3294(0x16d)]=_0x1f36e2;const {..._0x18f201}=o[_0x1b3294(0x1c5)]({},L,this['_config']);this[_0x1b3294(0x16d)][_0x1b3294(0x1fe)](ee,_0x18f201);}[_0x5713d8(0x1c0)](){var _0x43d232=_0x5713d8;o['registerDependencies'](this[_0x43d232(0x1be)],o[_0x43d232(0x16a)]([[O],[exports[_0x43d232(0x197)]],[E],[exports[_0x43d232(0x15d)]]],this[_0x43d232(0x160)][_0x43d232(0x134)])),o[_0x43d232(0x12a)](this['_injector'],[[E]]);}[_0x5713d8(0x163)](){var _0x5c1d70=_0x5713d8;o[_0x5c1d70(0x12a)](this[_0x5c1d70(0x1be)],[[exports['DesktopLiveShareController']]]);}},T(exports[_0x5713d8(0x1db)],'type',o[_0x5713d8(0x1d5)]['UNIVER_UNKNOWN']),T(exports['UniverLiveSharePlugin'],'pluginName',le),exports[_0x5713d8(0x1db)]=ae([o[_0x5713d8(0x14d)](m[_0x5713d8(0x1cf)]),N(0x1,o[_0x5713d8(0x1cc)](o[_0x5713d8(0x1f9)])),N(0x2,o[_0x5713d8(0x1bd)])],exports['UniverLiveSharePlugin']),exports[_0x5713d8(0x1f8)]=A,exports[_0x5713d8(0x153)]=O,exports[_0x5713d8(0x1c3)]=h;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0xf0588f=_0x512b;(function(_0x19e2da,_0x283a23){var _0x29619d=_0x512b,_0x455e05=_0x19e2da();while(!![]){try{var _0x1261ca=-parseInt(_0x29619d(0x1c3))/0x1+-parseInt(_0x29619d(0x187))/0x2*(parseInt(_0x29619d(0x156))/0x3)+parseInt(_0x29619d(0x184))/0x4+parseInt(_0x29619d(0x1b8))/0x5+parseInt(_0x29619d(0x199))/0x6+-parseInt(_0x29619d(0x188))/0x7*(parseInt(_0x29619d(0x1cc))/0x8)+parseInt(_0x29619d(0x1c8))/0x9*(parseInt(_0x29619d(0x1e0))/0xa);if(_0x1261ca===_0x283a23)break;else _0x455e05['push'](_0x455e05['shift']());}catch(_0x331d80){_0x455e05['push'](_0x455e05['shift']());}}}(_0x59da,0x8d9a1));var q=Object[_0xf0588f(0x1ef)],z=(_0x312c23,_0x154a70,_0x248075)=>_0x154a70 in _0x312c23?q(_0x312c23,_0x154a70,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x248075}):_0x312c23[_0x154a70]=_0x248075,d=(_0x1b9265,_0x1188d4,_0x2f0128)=>z(_0x1b9265,typeof _0x1188d4!=_0xf0588f(0x17d)?_0x1188d4+'':_0x1188d4,_0x2f0128);import{Disposable as _0x10571d,toDisposable as _0x48e11a,IUniverInstanceService as _0x344d2c,Inject as _0x68914,Injector as _0x355540,IConfigService as _0x2c88fb,ICommandService as _0xdc74d2,RxDisposable as _0x372cb7,UniverInstanceType as _0x4c3c61,DisposableCollection as _0x260e95,CommandType as _0x3829f0,DependentOn as _0x9fac4b,Plugin as _0x519c08,merge as _0x252811,registerDependencies as _0x1cfa1f,mergeOverrideWithDependencies as _0x4cfe19,touchDependencies as _0x4e427e}from'@univerjs/core';function _0x512b(_0x5d1052,_0x28604b){var _0x59da5e=_0x59da();return _0x512b=function(_0x512b01,_0x88c7b1){_0x512b01=_0x512b01-0x154;var _0xc99980=_0x59da5e[_0x512b01];return _0xc99980;},_0x512b(_0x5d1052,_0x28604b);}import{useDependency as _0x5ed6d8,useObservable as _0x5099d5,IUIPartsService as _0x5e9bd8,BuiltInUIPart as _0xcde8b6,connectInjector as _0x114849}from'@univerjs/ui';import{jsx as _0x7d6475,jsxs as _0x492ee1,Fragment as _0xfb239c}from'react/jsx-runtime';import{Dropdown as _0x37f252,clsx as _0x3844f1,Button as _0x3da79b}from'@univerjs/design';import{forwardRef as _0x16a9e6,useRef as _0x490fb6,createElement as _0x144472,useState as _0x1b5347,useEffect as _0x2e846d}from'react';import{CollaborationEvent as _0x1b6ec8,parseProtocolChangeset as _0x5d3d5f}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x36448a,SessionStatus as _0x37ff83,UniverCollaborationClientPlugin as _0x29d85d}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x462961,SetWorksheetActiveOperation as _0xb98e3c}from'@univerjs/sheets';import{BehaviorSubject as _0x2bcf5b,Subject as _0x239e6b}from'rxjs';import{takeUntil as _0x247bb8,throttleTime as _0x417704}from'rxjs/operators';import{SetZoomRatioOperation as _0x495ed0,SetScrollOperation as _0x5e8ec9}from'@univerjs/sheets-ui';var c=function(){var _0x421dc8=_0xf0588f;return c=Object[_0x421dc8(0x192)]||function(_0x2d1f1a){var _0x58af7e=_0x421dc8;for(var _0x49f843,_0x406bbc=0x1,_0x2ff6bd=arguments[_0x58af7e(0x1ed)];_0x406bbc<_0x2ff6bd;_0x406bbc++){_0x49f843=arguments[_0x406bbc];for(var _0x257042 in _0x49f843)Object[_0x58af7e(0x19b)][_0x58af7e(0x200)][_0x58af7e(0x174)](_0x49f843,_0x257042)&&(_0x2d1f1a[_0x257042]=_0x49f843[_0x257042]);}return _0x2d1f1a;},c[_0x421dc8(0x201)](this,arguments);},Oe=function(_0x51f206,_0x52c101){var _0x4b9903=_0xf0588f,_0xb6a09={};for(var _0x4ba236 in _0x51f206)Object[_0x4b9903(0x19b)]['hasOwnProperty'][_0x4b9903(0x174)](_0x51f206,_0x4ba236)&&_0x52c101[_0x4b9903(0x203)](_0x4ba236)<0x0&&(_0xb6a09[_0x4ba236]=_0x51f206[_0x4ba236]);if(_0x51f206!=null&&typeof Object[_0x4b9903(0x1e7)]==_0x4b9903(0x1fd)){for(var _0x18ab96=0x0,_0x4ba236=Object[_0x4b9903(0x1e7)](_0x51f206);_0x18ab96<_0x4ba236['length'];_0x18ab96++)_0x52c101[_0x4b9903(0x203)](_0x4ba236[_0x18ab96])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x51f206,_0x4ba236[_0x18ab96])&&(_0xb6a09[_0x4ba236[_0x18ab96]]=_0x51f206[_0x4ba236[_0x18ab96]]);}return _0xb6a09;},W=_0x16a9e6(function(_0xd88efc,_0x1a7ec3){var _0x5e72c9=_0xf0588f,_0x2875d1=_0xd88efc['icon'],_0x205c72=_0xd88efc['id'],_0x208bc5=_0xd88efc['className'],_0x53dcff=_0xd88efc[_0x5e72c9(0x178)],_0x873fb6=Oe(_0xd88efc,[_0x5e72c9(0x1f2),'id',_0x5e72c9(0x1fa),'extend']),_0x1f05d7=_0x5e72c9(0x204)['concat'](_0x205c72,'\x20')['concat'](_0x208bc5||'')[_0x5e72c9(0x19d)](),_0x104c59=_0x490fb6('_'[_0x5e72c9(0x1d5)](Ne()));return Y(_0x2875d1,''[_0x5e72c9(0x1d5)](_0x205c72),{'defIds':_0x2875d1[_0x5e72c9(0x159)],'idSuffix':_0x104c59['current']},c({'ref':_0x1a7ec3,'className':_0x1f05d7},_0x873fb6),_0x53dcff);});function Y(_0x168032,_0x3b1097,_0x56ed26,_0x4c0365,_0x18bf77){var _0xbb6eac=_0xf0588f;return _0x144472(_0x168032[_0xbb6eac(0x17b)],c(c({'key':_0x3b1097},Ee(_0x168032,_0x56ed26,_0x18bf77)),_0x4c0365),(we(_0x168032,_0x56ed26)[_0xbb6eac(0x182)]||[])[_0xbb6eac(0x1f1)](function(_0x1d909d,_0x3b58fd){var _0x2135a2=_0xbb6eac;return Y(_0x1d909d,''['concat'](_0x3b1097,'-')['concat'](_0x168032[_0x2135a2(0x17b)],'-')['concat'](_0x3b58fd),_0x56ed26,void 0x0,_0x18bf77);}));}function Ee(_0x54a58b,_0x2c4246,_0x44e388){var _0x3042ac=_0xf0588f,_0x240bcd=c({},_0x54a58b[_0x3042ac(0x1f5)]);_0x44e388!=null&&_0x44e388[_0x3042ac(0x1e6)]&&_0x240bcd[_0x3042ac(0x1bd)]===_0x3042ac(0x1e6)&&(_0x240bcd[_0x3042ac(0x1bd)]=_0x44e388['colorChannel1']),_0x54a58b[_0x3042ac(0x17b)]===_0x3042ac(0x1dc)&&_0x240bcd['id']&&(_0x240bcd['id']=_0x240bcd['id']+_0x2c4246['idSuffix']),Object[_0x3042ac(0x1ff)](_0x240bcd)[_0x3042ac(0x1c7)](function(_0x567f61){var _0x49f3c2=_0x3042ac,_0x2f8b44=_0x567f61[0x0],_0x432f68=_0x567f61[0x1];_0x2f8b44==='mask'&&typeof _0x432f68==_0x49f3c2(0x1c6)&&(_0x240bcd[_0x2f8b44]=_0x432f68[_0x49f3c2(0x158)](/url\(#(.*)\)/,_0x49f3c2(0x1d6)['concat'](_0x2c4246[_0x49f3c2(0x1f7)],')')));});var _0x4725c3=_0x2c4246[_0x3042ac(0x159)];return!_0x4725c3||_0x4725c3[_0x3042ac(0x1ed)]===0x0||(_0x54a58b[_0x3042ac(0x17b)]==='use'&&_0x240bcd[_0x3042ac(0x1df)]&&(_0x240bcd[_0x3042ac(0x1df)]=_0x240bcd[_0x3042ac(0x1df)]+_0x2c4246[_0x3042ac(0x1f7)]),Object[_0x3042ac(0x1ff)](_0x240bcd)['forEach'](function(_0x284466){var _0x2af8fc=_0x3042ac,_0x465a1f=_0x284466[0x0],_0x26a360=_0x284466[0x1];typeof _0x26a360==_0x2af8fc(0x1c6)&&(_0x240bcd[_0x465a1f]=_0x26a360['replace'](/url\(#(.*)\)/,_0x2af8fc(0x1d6)[_0x2af8fc(0x1d5)](_0x2c4246['idSuffix'],')')));})),_0x240bcd;}function we(_0x1a4a14,_0x471b07){var _0x2692ca=_0xf0588f,_0xbd3d5e,_0x27625d=_0x471b07[_0x2692ca(0x159)];return!_0x27625d||_0x27625d['length']===0x0?_0x1a4a14:_0x1a4a14[_0x2692ca(0x17b)]==='defs'&&(!((_0xbd3d5e=_0x1a4a14['children'])===null||_0xbd3d5e===void 0x0)&&_0xbd3d5e['length'])?c(c({},_0x1a4a14),{'children':_0x1a4a14['children'][_0x2692ca(0x1f1)](function(_0x58d284){var _0xa74f31=_0x2692ca;return typeof _0x58d284[_0xa74f31(0x1f5)]['id']==_0xa74f31(0x1c6)&&_0x27625d&&_0x27625d['includes'](_0x58d284[_0xa74f31(0x1f5)]['id'])?c(c({},_0x58d284),{'attrs':c(c({},_0x58d284[_0xa74f31(0x1f5)]),{'id':_0x58d284[_0xa74f31(0x1f5)]['id']+_0x471b07['idSuffix']})}):_0x58d284;})}):_0x1a4a14;}function Ne(){var _0x493c1d=_0xf0588f;return Math[_0x493c1d(0x1ea)]()[_0x493c1d(0x154)](0x24)[_0x493c1d(0x16c)](0x2,0x8);}W[_0xf0588f(0x1f8)]='UniverIcon';var Ce={'tag':_0xf0588f(0x18e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xf0588f(0x1ce),'viewBox':_0xf0588f(0x171),'width':_0xf0588f(0x1bf),'height':'1em'},'children':[{'tag':_0xf0588f(0x1bc),'attrs':{'fill':'currentColor','d':_0xf0588f(0x1ac)}},{'tag':_0xf0588f(0x1bc),'attrs':{'fill':'currentColor','d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':'evenodd','clipRule':_0xf0588f(0x180)}}]},B=_0x16a9e6(function(_0x77a35d,_0xd2411f){var _0x4ec7d6=_0xf0588f;return _0x144472(W,Object[_0x4ec7d6(0x192)]({},_0x77a35d,{'id':'live-share-icon','ref':_0xd2411f,'icon':Ce}));});B[_0xf0588f(0x1f8)]=_0xf0588f(0x1eb);class L extends _0x10571d{constructor(){var _0x19200b=_0xf0588f;super(...arguments),d(this,_0x19200b(0x1ad),new Set()),d(this,_0x19200b(0x196),new Set());}[_0xf0588f(0x15f)](_0x392fa2){var _0x5a5e06=_0xf0588f;return this[_0x5a5e06(0x1ad)]['add'](_0x392fa2),_0x48e11a(()=>this[_0x5a5e06(0x1ad)][_0x5a5e06(0x1b9)](_0x392fa2));}[_0xf0588f(0x167)](_0x56dff1){var _0xce8ee9=_0xf0588f;return this[_0xce8ee9(0x196)]['add'](_0x56dff1),_0x48e11a(()=>this[_0xce8ee9(0x196)][_0xce8ee9(0x1b9)](_0x56dff1));}[_0xf0588f(0x179)](_0x1bbb4e){var _0x5807e2=_0xf0588f;return this[_0x5807e2(0x1ad)]['has'](_0x1bbb4e);}[_0xf0588f(0x1d0)](_0x24b1fc){var _0x5d9d07=_0xf0588f;return Array['from'](this[_0x5d9d07(0x196)])['map'](_0x555f06=>_0x555f06(_0x24b1fc));}}var De=Object[_0xf0588f(0x1fc)],Z=(_0x188e32,_0x3aabd8,_0x33b1cd,_0x3ba85b)=>{var _0x575078=_0xf0588f;for(var _0x255e8c=_0x3ba85b>0x1?void 0x0:_0x3ba85b?De(_0x3aabd8,_0x33b1cd):_0x3aabd8,_0x421dca=_0x188e32[_0x575078(0x1ed)]-0x1,_0x373a52;_0x421dca>=0x0;_0x421dca--)(_0x373a52=_0x188e32[_0x421dca])&&(_0x255e8c=_0x373a52(_0x255e8c)||_0x255e8c);return _0x255e8c;},f=(_0x529447,_0x5362fa)=>(_0x382aad,_0x38ef63)=>_0x5362fa(_0x382aad,_0x38ef63,_0x529447);let m=class extends _0x372cb7{constructor(_0x17e940,_0x141d33,_0x6c3f58){var _0x51d777=_0xf0588f;super(),d(this,_0x51d777(0x1e9),new Map()),(this[_0x51d777(0x1e4)]=_0x17e940,this['_injector']=_0x141d33,this[_0x51d777(0x202)]=_0x6c3f58,this['_init']());}async['getLiveShareCoordinator'](_0x530c59){var _0x23355f=_0xf0588f;return this[_0x23355f(0x1e9)]['has'](_0x530c59)||await this[_0x23355f(0x1a3)](_0x530c59),this[_0x23355f(0x1e9)][_0x23355f(0x1a7)](_0x530c59);}[_0xf0588f(0x186)](){var _0x4e6bfa=_0xf0588f;this[_0x4e6bfa(0x1e4)][_0x4e6bfa(0x1ee)](_0x4c3c61['UNIVER_SHEET'])[_0x4e6bfa(0x1b2)](_0x247bb8(this['dispose$']))[_0x4e6bfa(0x1b6)](async _0x41bc35=>{var _0xd2e05e=_0x4e6bfa;const _0x22d627=_0x41bc35[_0xd2e05e(0x1a8)]();this[_0xd2e05e(0x1e9)][_0xd2e05e(0x15d)](_0x22d627)||this[_0xd2e05e(0x1a3)](_0x22d627);}),this[_0x4e6bfa(0x1e4)][_0x4e6bfa(0x1a2)](_0x4c3c61[_0x4e6bfa(0x162)])['pipe'](_0x247bb8(this['dispose$']))['subscribe'](_0x2eb7de=>{var _0x54475b=_0x4e6bfa;const _0x379e32=_0x2eb7de[_0x54475b(0x1a8)](),_0x1e22db=this[_0x54475b(0x1e9)][_0x54475b(0x1a7)](_0x379e32);_0x1e22db==null||_0x1e22db[_0x54475b(0x1af)]();});}async['_startLiveShareCoordinator'](_0x4cbf45){var _0x3dd08d=_0xf0588f;const _0x12e338=await this['_collabSessionService'][_0x3dd08d(0x194)](_0x4cbf45),_0x3f5eb4=this[_0x3dd08d(0x176)][_0x3dd08d(0x183)](C,_0x4cbf45,_0x12e338);return _0x3f5eb4['init'](),this['_entities'][_0x3dd08d(0x163)](_0x4cbf45,_0x3f5eb4),_0x3f5eb4;}};m=Z([f(0x0,_0x344d2c),f(0x1,_0x68914(_0x355540)),f(0x2,_0x68914(_0x36448a))],m);var h=(_0x57cba2=>(_0x57cba2['OFFLINE']=_0xf0588f(0x205),_0x57cba2[_0xf0588f(0x15e)]='idle',_0x57cba2[_0xf0588f(0x160)]='following',_0x57cba2[_0xf0588f(0x1c0)]='not-following',_0x57cba2[_0xf0588f(0x195)]=_0xf0588f(0x1cd),_0x57cba2))(h||{});const xe=_0xf0588f(0x1da),Le=0xc8;let C=class extends _0x372cb7{constructor(_0x315c9c,_0x4056b5,_0x2917e3,_0x381809,_0x349fc2){var _0x55737b=_0xf0588f;super(),d(this,_0x55737b(0x1b0),new _0x2bcf5b(_0x55737b(0x19e))),d(this,_0x55737b(0x19f),this[_0x55737b(0x1b0)][_0x55737b(0x17e)]()),d(this,_0x55737b(0x186),!0x1),d(this,_0x55737b(0x175),null),d(this,_0x55737b(0x16e),null),(this['_unitID']=_0x315c9c,this['_collabSession']=_0x4056b5,this['_configService']=_0x2917e3,this[_0x55737b(0x185)]=_0x381809,this['_commandService']=_0x349fc2);}get[_0xf0588f(0x16b)](){var _0x19b68e=_0xf0588f;return this[_0x19b68e(0x1b0)]['getValue']();}[_0xf0588f(0x1af)](){var _0x2b3745=_0xf0588f,_0x3254b0;(_0x3254b0=this['_commandDisposable'])==null||_0x3254b0[_0x2b3745(0x1af)](),this[_0x2b3745(0x1b0)]['next'](_0x2b3745(0x19e)),this[_0x2b3745(0x1b0)]['complete']();}[_0xf0588f(0x17c)](){var _0x2c71d7=_0xf0588f;this[_0x2c71d7(0x186)]||(this[_0x2c71d7(0x186)]=!0x0,this[_0x2c71d7(0x1e2)][_0x2c71d7(0x1a1)][_0x2c71d7(0x1b2)](_0x247bb8(this[_0x2c71d7(0x1db)]))['subscribe'](_0x265ae9=>{var _0x2cd28f=_0x2c71d7;switch(_0x265ae9){case _0x37ff83['OFFLINE']:this[_0x2cd28f(0x1d9)]();break;case _0x37ff83[_0x2cd28f(0x1ab)]:this[_0x2cd28f(0x173)]();break;}}),this[_0x2c71d7(0x1e2)][_0x2c71d7(0x172)][_0x2c71d7(0x1b2)](_0x247bb8(this[_0x2c71d7(0x1db)]))[_0x2c71d7(0x1b6)](_0x1b9fc2=>{var _0x557688=_0x2c71d7;const {eventID:_0x4dbaf9}=_0x1b9fc2;switch(_0x4dbaf9){case _0x1b6ec8[_0x557688(0x1c1)]:this[_0x557688(0x1f9)](_0x1b9fc2);break;case _0x1b6ec8[_0x557688(0x1cb)]:this[_0x557688(0x1f3)](_0x1b9fc2);break;case _0x1b6ec8[_0x557688(0x1e8)]:this[_0x557688(0x1c2)]();break;case _0x1b6ec8[_0x557688(0x19a)]:this[_0x557688(0x17a)](_0x1b9fc2);break;}}));}[_0xf0588f(0x15c)](){var _0x181b75=_0xf0588f;this['_collabSession']['send']({'eventID':_0x1b6ec8[_0x181b75(0x1e5)],'data':{'unitID':this[_0x181b75(0x177)],'userID':this[_0x181b75(0x1e2)]['getMemberID']()}},this[_0x181b75(0x177)]);}[_0xf0588f(0x1fb)](){var _0x4c30c9=_0xf0588f;this['_status']==='presenting'&&(this['_status$'][_0x4c30c9(0x1a5)](_0x4c30c9(0x19e)),this[_0x4c30c9(0x1e2)][_0x4c30c9(0x191)]({'eventID':_0x1b6ec8['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x4c30c9(0x177)]}},this[_0x4c30c9(0x177)]));}[_0xf0588f(0x1f4)](){var _0x55aa9f=_0xf0588f;this[_0x55aa9f(0x16b)]===_0x55aa9f(0x1a6)&&(this[_0x55aa9f(0x1b0)]['next'](_0x55aa9f(0x1bb)),this[_0x55aa9f(0x1d1)]());}[_0xf0588f(0x181)](){var _0x1c38a2=_0xf0588f;this[_0x1c38a2(0x16b)]==='following'&&this['_stopFollowing']();}[_0xf0588f(0x1f9)](_0x4c4bb4){var _0x4fb695=_0xf0588f;const {presenter:_0x446d4f}=_0x4c4bb4[_0x4fb695(0x165)],_0x484e62=this[_0x4fb695(0x1e2)][_0x4fb695(0x168)]();this[_0x4fb695(0x16e)]=_0x446d4f,_0x446d4f===_0x484e62?(this[_0x4fb695(0x1aa)](),this[_0x4fb695(0x1d4)]()):this[_0x4fb695(0x16b)]!==_0x4fb695(0x1a6)&&(this['_stopPresenting'](),this[_0x4fb695(0x1d1)]());}['_fetchOperations'](){var _0x216ce2=_0xf0588f;const _0x1b1f40={'eventID':_0x1b6ec8[_0x216ce2(0x18a)]};this['_collabSession']['send'](_0x1b1f40,this[_0x216ce2(0x177)]);}[_0xf0588f(0x1c2)](){var _0x335c13=_0xf0588f;this[_0x335c13(0x16e)]=null,this[_0x335c13(0x16b)]!==_0x335c13(0x1cd)&&this[_0x335c13(0x16d)]();}[_0xf0588f(0x17a)](_0x17916e){var _0x1c8239=_0xf0588f;if(this[_0x1c8239(0x16b)]==='following'&&this[_0x1c8239(0x16e)]===_0x17916e['data'][_0x1c8239(0x1b4)]){const _0x5c5b0d=_0x5d3d5f(_0x17916e[_0x1c8239(0x165)])[_0x1c8239(0x19c)][_0x1c8239(0x1ae)]()[_0x1c8239(0x1c5)](_0x267f7d=>_0x267f7d['id']===_0x462961['id']);if(_0x5c5b0d){const _0x7037c8=_0x5c5b0d['params'][_0x1c8239(0x166)],_0x33f292=_0x5c5b0d['params'][_0x1c8239(0x18f)]['id'];setTimeout(()=>{var _0x4d6e8f=_0x1c8239;this[_0x4d6e8f(0x1ec)][_0x4d6e8f(0x1a0)](_0xb98e3c['id'],{'unitId':_0x7037c8,'subUnitId':_0x33f292},{'fromCollab':!0x0});});}}}['_startPresenting'](){var _0x167312=_0xf0588f;this[_0x167312(0x1b0)][_0x167312(0x1a5)]('presenting');const _0x8f4a51=new Map(),_0x29d526=this[_0x167312(0x175)]=new _0x260e95();_0x29d526[_0x167312(0x1f6)](_0x48e11a(()=>{var _0x2f5c74=_0x167312;_0x8f4a51[_0x2f5c74(0x1c7)](_0x3f1e4e=>_0x3f1e4e[_0x2f5c74(0x1c4)]()),_0x8f4a51[_0x2f5c74(0x164)]();})),_0x29d526[_0x167312(0x1f6)](this[_0x167312(0x1ec)][_0x167312(0x197)](_0x11753e=>{var _0x5c7170=_0x167312,_0x3159b9;if(_0x11753e[_0x5c7170(0x18c)]!==_0x3829f0[_0x5c7170(0x193)]||!this['_liveShareService']['shouldShareOperation'](_0x11753e['id']))return;const {id:_0x258001}=_0x11753e;let _0x16a3cd;_0x8f4a51['has'](_0x258001)?_0x16a3cd=_0x8f4a51[_0x5c7170(0x1a7)](_0x258001):(_0x16a3cd=new _0x239e6b(),_0x8f4a51['set'](_0x258001,_0x16a3cd),_0x16a3cd[_0x5c7170(0x1b2)](_0x417704((_0x3159b9=this[_0x5c7170(0x1d3)][_0x5c7170(0x198)](xe))!=null?_0x3159b9:Le,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x5c7170(0x1b6)](_0x1d33a9=>{var _0x18726f=_0x5c7170;this[_0x18726f(0x1e2)][_0x18726f(0x191)]({'eventID':_0x1b6ec8[_0x18726f(0x1cb)],'data':{'unitID':this['_unitID'],'operations':{[_0x1d33a9['id']]:{'id':_0x1d33a9['id'],'params':JSON['stringify'](_0x1d33a9['params'])}}}},this['_unitID']);})),_0x16a3cd['next'](_0x11753e);})),this[_0x167312(0x185)]['getInitialStates'](this[_0x167312(0x177)])[_0x167312(0x1c7)](_0x1d69e2=>this[_0x167312(0x1e2)][_0x167312(0x191)]({'eventID':_0x1b6ec8['LIVESHARE_OPERATION'],'data':{'unitID':this['_unitID'],'operations':{[_0x1d69e2['id']]:{'id':_0x1d69e2['id'],'params':JSON[_0x167312(0x170)](_0x1d69e2['params'])}}}},this[_0x167312(0x177)]));}[_0xf0588f(0x169)](){var _0x5924ef=_0xf0588f,_0x1e3cc7;this[_0x5924ef(0x1b0)][_0x5924ef(0x1a5)](_0x5924ef(0x19e)),(_0x1e3cc7=this[_0x5924ef(0x175)])==null||_0x1e3cc7[_0x5924ef(0x1af)](),this[_0x5924ef(0x175)]=null;}['_startFollowing'](){var _0x3359ae=_0xf0588f,_0x5d6056;(_0x5d6056=this[_0x3359ae(0x175)])==null||_0x5d6056[_0x3359ae(0x1af)](),this['_status$']['next'](_0x3359ae(0x1bb));}[_0xf0588f(0x16d)](){var _0x3e4c97=_0xf0588f,_0x2194b9;this['_status$']['next'](_0x3e4c97(0x19e)),(_0x2194b9=this['_commandDisposable'])==null||_0x2194b9[_0x3e4c97(0x1af)](),this[_0x3e4c97(0x175)]=null;}[_0xf0588f(0x1aa)](){var _0x5d2866=_0xf0588f,_0x43769d;this['_status$'][_0x5d2866(0x1a5)](_0x5d2866(0x1a6)),(_0x43769d=this[_0x5d2866(0x175)])==null||_0x43769d[_0x5d2866(0x1af)]();}['_handleOperation'](_0x5550b9){var _0x418763=_0xf0588f;if([_0x418763(0x1cd),'not-following',_0x418763(0x205)][_0x418763(0x161)](this[_0x418763(0x16b)])||!_0x5550b9[_0x418763(0x165)][_0x418763(0x16f)]||_0x5550b9[_0x418763(0x165)][_0x418763(0x16f)]===this[_0x418763(0x1e2)][_0x418763(0x168)]())return;this[_0x418763(0x16b)]===_0x418763(0x19e)&&this[_0x418763(0x1d1)]();const _0x10666c=_0x5550b9['data'][_0x418763(0x1c9)];Object[_0x418763(0x1ca)](_0x10666c)[_0x418763(0x1c7)](_0x28d0d2=>{var _0x15b959=_0x418763;this[_0x15b959(0x1ec)][_0x15b959(0x1a0)](_0x28d0d2['id'],_0x28d0d2[_0x15b959(0x1b1)]?JSON['parse'](_0x28d0d2[_0x15b959(0x1b1)]):null,{'fromCollab':!0x0});});}[_0xf0588f(0x1d9)](){var _0x3b3e4d=_0xf0588f,_0x581bab;this[_0x3b3e4d(0x1b0)][_0x3b3e4d(0x1a5)](_0x3b3e4d(0x205)),(_0x581bab=this[_0x3b3e4d(0x175)])==null||_0x581bab[_0x3b3e4d(0x1af)]();}[_0xf0588f(0x173)](){var _0x5593a3=_0xf0588f;this[_0x5593a3(0x1b0)][_0x5593a3(0x1a5)]('idle'),this['_fetchOperations']();}};C=Z([f(0x2,_0x2c88fb),f(0x3,_0x68914(L)),f(0x4,_0xdc74d2)],C);function ye(){var _0x4f213d=_0xf0588f;const _0xc303c2=_0x5ed6d8(m),_0x2a6f45=_0x5ed6d8(_0x344d2c),_0x3f5607=_0x5099d5(()=>_0x2a6f45[_0x4f213d(0x1cf)](_0x4c3c61[_0x4f213d(0x162)]),void 0x0,!0x1,[]),[_0x13686f,_0x3d8a7b]=_0x1b5347(null),[_0x230091,_0x54acf7]=_0x1b5347(h[_0x4f213d(0x15e)]),_0x4906bd=_0x490fb6(null);return _0x2e846d(()=>(_0x3f5607&&_0xc303c2['getLiveShareCoordinator'](_0x3f5607['getUnitId']())['then'](_0x518f3f=>{_0x3d8a7b(_0x518f3f),_0x4906bd['current']=_0x518f3f['status$']['subscribe'](_0x44c0ca=>{_0x54acf7(_0x44c0ca);});}),()=>{var _0x3bc3ca=_0x4f213d,_0x348405;(_0x348405=_0x4906bd[_0x3bc3ca(0x1b3)])==null||_0x348405[_0x3bc3ca(0x15b)](),_0x4906bd[_0x3bc3ca(0x1b3)]=null;}),[_0x3f5607,_0xc303c2]),_0x13686f?_0x7d6475(_0x37f252,{'align':'end','disabled':_0x230091===h['OFFLINE'],'className':_0x4f213d(0x190),'overlay':_0x7d6475(Re,{'status':_0x230091,'coordinator':_0x13686f}),'children':_0x7d6475(_0x4f213d(0x1e3),{'className':_0x3844f1(_0x4f213d(0x1d8),{'univer-cursor-not-allowed':_0x230091===h[_0x4f213d(0x1ba)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x230091!==h[_0x4f213d(0x1ba)]}),'type':_0x4f213d(0x1e3),'children':_0x7d6475(B,{'className':'univer-size-4'})})}):null;}function Re(_0x405ba3){var _0x5e0602=_0xf0588f;const {status:_0x5d5fe6,coordinator:_0x5037e2}=_0x405ba3;switch(_0x5d5fe6){case h[_0x5e0602(0x15e)]:return _0x7d6475(Pe,{'coordinator':_0x5037e2});case h[_0x5e0602(0x160)]:return _0x7d6475(Ae,{'coordinator':_0x5037e2});case h[_0x5e0602(0x1c0)]:return _0x7d6475(Te,{'coordinator':_0x5037e2});case h[_0x5e0602(0x1ba)]:return _0x7d6475(Fe,{});case h[_0x5e0602(0x195)]:return _0x7d6475($e,{'coordinator':_0x5037e2});default:return null;}}function Pe(_0x172515){var _0x454274=_0xf0588f;const {coordinator:_0x372d62}=_0x172515;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x454274(0x18b),{'className':_0x454274(0x1b7),'children':'Present\x20this\x20document'}),_0x7d6475(_0x3da79b,{'onClick':()=>_0x372d62[_0x454274(0x15c)](),'children':_0x454274(0x1dd)})]});}function Ae(_0x12b24f){var _0x1417d2=_0xf0588f;const {coordinator:_0x38708f}=_0x12b24f;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x1417d2(0x18b),{'className':_0x1417d2(0x1b7),'children':_0x1417d2(0x155)}),_0x7d6475(_0x3da79b,{'onClick':()=>_0x38708f[_0x1417d2(0x181)](),'children':_0x1417d2(0x1a4)})]});}function Te(_0x2640b3){var _0x52ccaa=_0xf0588f;const {coordinator:_0x5c3c72}=_0x2640b3;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x52ccaa(0x18b),{'className':_0x52ccaa(0x1b7),'children':_0x52ccaa(0x189)}),_0x7d6475(_0x3da79b,{'variant':_0x52ccaa(0x1fe),'onClick':()=>_0x5c3c72[_0x52ccaa(0x1f4)](),'children':_0x52ccaa(0x17f)})]});}function $e(_0x3d7ee4){var _0x5a26b6=_0xf0588f;const {coordinator:_0x13357e}=_0x3d7ee4;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x5a26b6(0x18b),{'className':_0x5a26b6(0x1b7),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x7d6475(_0x3da79b,{'variant':_0x5a26b6(0x15a),'onClick':()=>_0x13357e[_0x5a26b6(0x1fb)](),'children':'Stop\x20presenting'})]});}function Fe(){return _0x7d6475(_0xfb239c,{'children':'You\x27are\x20offline.'});}var He=Object[_0xf0588f(0x1fc)],je=(_0x2b2b96,_0x24a5e2,_0x3a46bc,_0x135026)=>{var _0x5823aa=_0xf0588f;for(var _0x167fa8=_0x135026>0x1?void 0x0:_0x135026?He(_0x24a5e2,_0x3a46bc):_0x24a5e2,_0xbbc669=_0x2b2b96[_0x5823aa(0x1ed)]-0x1,_0x238629;_0xbbc669>=0x0;_0xbbc669--)(_0x238629=_0x2b2b96[_0xbbc669])&&(_0x167fa8=_0x238629(_0x167fa8)||_0x167fa8);return _0x167fa8;},T=(_0x248e23,_0x17da4d)=>(_0x8b2433,_0x4ef257)=>_0x17da4d(_0x8b2433,_0x4ef257,_0x248e23);let I=class extends _0x10571d{constructor(_0x4b1565,_0x576793){var _0x2849ed=_0xf0588f;super(),this['_injector']=_0x4b1565,this[_0x2849ed(0x18d)]=_0x576793,this[_0x2849ed(0x1b5)]();}[_0xf0588f(0x1b5)](){var _0x401e95=_0xf0588f;this['disposeWithMe'](this[_0x401e95(0x18d)][_0x401e95(0x1f0)](_0xcde8b6[_0x401e95(0x1de)],()=>_0x114849(ye,this[_0x401e95(0x176)])));}};function _0x59da(){var _0x9b3a12=['length','getTypeOfUnitAdded$','defineProperty','registerComponent','map','icon','_handleOperation','startFollowing','attrs','add','idSuffix','displayName','_handleNewHost','className','stopPresenting','getOwnPropertyDescriptor','function','text','entries','hasOwnProperty','apply','_collabSessionService','indexOf','univerjs-icon\x20univerjs-icon-','offline','toString','You\x27re\x20following\x20the\x20presenter','21KwBwxE','pluginName','replace','defIds','default','unsubscribe','tryStartPresenting','has','IDLE','registerSharedOperation','FOLLOWING','includes','UNIVER_SHEET','set','clear','data','unitId','registerInitialStateReporter','getMemberID','_stopPresenting','setConfig','_status','substring','_beIdle','_presenter','presenter','stringify','0\x200\x2017\x2017','event$','_handleOnline','call','_commandDisposable','_injector','_unitID','extend','shouldShareOperation','_handleNewChangeSets','tag','init','symbol','asObservable','Start\x20following','evenodd','stopFollowing','children','createInstance','2366904pzfceq','_liveShareService','_init','124118AZunyj','1865143cSYIID','You\x27re\x20not\x20following\x20the\x20presenter','LIVESHARE_FETCH_OPERATIONS','div','type','_uiPartsService','svg','sheet','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','send','assign','OPERATION','requireSession','PRESENTING','_reporters','onCommandExecuted','getConfig','6099594rimrZD','NEW_CHANGESETS','prototype','mutations','trim','idle','status$','executeCommand','sessionStatus$','getTypeOfUnitDisposed$','_startLiveShareCoordinator','Stop\x20following','next','not-following','get','getUnitId','onStarting','_stopFollowing','ONLINE','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','_sharedOperations','reverse','dispose','_status$','params','pipe','current','memberID','_mountLiveShare','subscribe','univer-mb-3\x20univer-w-full\x20univer-text-sm','3736335jXDOvA','delete','OFFLINE','following','path','fill','UNIVER_LIVE_SHARE_PLUGIN','1em','NOT_FOLLOWING','LIVESHARE_NEW_HOST','_handleTerminate','1040520mEeWcS','complete','find','string','forEach','4488201BmslUm','operations','values','LIVESHARE_OPERATION','24baDhpI','presenting','none','getCurrentTypeOfUnit$','getInitialStates','_startFollowing','UNIVER_UNKNOWN','_configService','_startPresenting','concat','url(#$1','live-share.config','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','_handleOffline','SAME_OPERATION_SHARE_INTERVAL','dispose$','mask','Start','HEADER_MENU','xlink:href','10ZmokdP','_config','_collabSession','button','_univerInstanceService','LIVESHARE_REQUEST_HOST','colorChannel1','getOwnPropertySymbols','LIVESHARE_TERMINATE','_entities','random','LiveShareIcon','_commandService'];_0x59da=function(){return _0x9b3a12;};return _0x59da();}I=je([T(0x0,_0x68914(_0x355540)),T(0x1,_0x5e9bd8)],I);const Ue=_0xf0588f(0x1d7),$={};var Ve=Object[_0xf0588f(0x1fc)],Me=(_0x412c5b,_0x577398,_0x5db069,_0x1669d9)=>{var _0x434d78=_0xf0588f;for(var _0x78cdf1=_0x1669d9>0x1?void 0x0:_0x1669d9?Ve(_0x577398,_0x5db069):_0x577398,_0x4e2c80=_0x412c5b[_0x434d78(0x1ed)]-0x1,_0x3878fc;_0x4e2c80>=0x0;_0x4e2c80--)(_0x3878fc=_0x412c5b[_0x4e2c80])&&(_0x78cdf1=_0x3878fc(_0x78cdf1)||_0x78cdf1);return _0x78cdf1;},ke=(_0xd3da10,_0x47f95c)=>(_0x1f8779,_0x2d0652)=>_0x47f95c(_0x1f8779,_0x2d0652,_0xd3da10);let b=class extends _0x10571d{constructor(_0x12ec11){var _0x49dade=_0xf0588f;super(),this[_0x49dade(0x185)]=_0x12ec11,this[_0x49dade(0x186)]();}['_init'](){var _0x4d3406=_0xf0588f;[_0x495ed0['id'],_0x5e8ec9['id'],_0xb98e3c['id']][_0x4d3406(0x1c7)](_0x2686fa=>{var _0x3e2268=_0x4d3406;this['disposeWithMe'](this[_0x3e2268(0x185)][_0x3e2268(0x15f)](_0x2686fa));});}};b=Me([ke(0x0,_0x68914(L))],b);var Ge=Object[_0xf0588f(0x1ef)],We=Object[_0xf0588f(0x1fc)],Ye=(_0x294a42,_0x4d88ce,_0x557ad8)=>_0x4d88ce in _0x294a42?Ge(_0x294a42,_0x4d88ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557ad8}):_0x294a42[_0x4d88ce]=_0x557ad8,Be=(_0x3bfbf3,_0x458cc6,_0x2d7616,_0x2b64db)=>{for(var _0x3b8d3a=_0x2b64db>0x1?void 0x0:_0x2b64db?We(_0x458cc6,_0x2d7616):_0x458cc6,_0x1b87d6=_0x3bfbf3['length']-0x1,_0x556736;_0x1b87d6>=0x0;_0x1b87d6--)(_0x556736=_0x3bfbf3[_0x1b87d6])&&(_0x3b8d3a=_0x556736(_0x3b8d3a)||_0x3b8d3a);return _0x3b8d3a;},F=(_0x3e3f93,_0x165f8e)=>(_0x1b2470,_0x20e357)=>_0x165f8e(_0x1b2470,_0x20e357,_0x3e3f93),J=(_0x22b303,_0x14477d,_0x28500d)=>Ye(_0x22b303,typeof _0x14477d!=_0xf0588f(0x17d)?_0x14477d+'':_0x14477d,_0x28500d);const Ze=_0xf0588f(0x1be);let O=class extends _0x519c08{constructor(_0x2033a2=$,_0x5812ce,_0x11e615){var _0x20f6e7=_0xf0588f;super(),this[_0x20f6e7(0x1e1)]=_0x2033a2,this[_0x20f6e7(0x176)]=_0x5812ce,this['_configService']=_0x11e615;const {..._0x596504}=_0x252811({},$,this[_0x20f6e7(0x1e1)]);this[_0x20f6e7(0x1d3)][_0x20f6e7(0x16a)](Ue,_0x596504);}[_0xf0588f(0x1a9)](){var _0x26a411=_0xf0588f;_0x1cfa1f(this[_0x26a411(0x176)],_0x4cfe19([[L],[m],[b],[I]],this[_0x26a411(0x1e1)]['override'])),_0x4e427e(this[_0x26a411(0x176)],[[b]]);}['onRendered'](){var _0x43d906=_0xf0588f;_0x4e427e(this[_0x43d906(0x176)],[[I]]);}};J(O,'type',_0x4c3c61[_0xf0588f(0x1d2)]),J(O,_0xf0588f(0x157),Ze),O=Be([_0x9fac4b(_0x29d85d),F(0x1,_0x68914(_0x355540)),F(0x2,_0x2c88fb)],O);export{I as DesktopLiveShareController,ye as LiveShare,m as LiveShareController,C as LiveShareCoordinator,L as LiveShareService,h as LiveShareStatus,O as UniverLiveSharePlugin};
1
+ var _0x5b4310=_0x2831;(function(_0x338132,_0xcec2af){var _0x46d54f=_0x2831,_0x4cd521=_0x338132();while(!![]){try{var _0x14cd17=parseInt(_0x46d54f(0x1f7))/0x1*(-parseInt(_0x46d54f(0x259))/0x2)+-parseInt(_0x46d54f(0x24a))/0x3*(parseInt(_0x46d54f(0x238))/0x4)+-parseInt(_0x46d54f(0x287))/0x5*(-parseInt(_0x46d54f(0x282))/0x6)+parseInt(_0x46d54f(0x280))/0x7+parseInt(_0x46d54f(0x251))/0x8*(parseInt(_0x46d54f(0x1f5))/0x9)+-parseInt(_0x46d54f(0x233))/0xa*(parseInt(_0x46d54f(0x21e))/0xb)+parseInt(_0x46d54f(0x295))/0xc;if(_0x14cd17===_0xcec2af)break;else _0x4cd521['push'](_0x4cd521['shift']());}catch(_0x412dbb){_0x4cd521['push'](_0x4cd521['shift']());}}}(_0x4945,0x8d3e1));var q=Object[_0x5b4310(0x25c)],z=(_0x2adaa9,_0x5ca62f,_0x21fcf3)=>_0x5ca62f in _0x2adaa9?q(_0x2adaa9,_0x5ca62f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21fcf3}):_0x2adaa9[_0x5ca62f]=_0x21fcf3,d=(_0x6d3e1a,_0xfed254,_0x4975cd)=>z(_0x6d3e1a,typeof _0xfed254!=_0x5b4310(0x25a)?_0xfed254+'':_0xfed254,_0x4975cd);import{Disposable as _0x69cad7,toDisposable as _0x1fbd6b,IUniverInstanceService as _0x3bfee1,Inject as _0x3d1151,Injector as _0xae58b1,IConfigService as _0xaa789e,ICommandService as _0x32c700,RxDisposable as _0x1cb074,UniverInstanceType as _0x1ce52a,DisposableCollection as _0x435087,CommandType as _0x58d836,DependentOn as _0x144cbf,Plugin as _0x2b5a24,merge as _0x168cce,registerDependencies as _0x3b0c1f,mergeOverrideWithDependencies as _0x352513,touchDependencies as _0x3ce219}from'@univerjs/core';import{useDependency as _0x333ece,useObservable as _0x52b939,IUIPartsService as _0x4ed166,BuiltInUIPart as _0x546689,connectInjector as _0x20fa1f}from'@univerjs/ui';import{jsx as _0x5c3320,jsxs as _0x257786,Fragment as _0x35252f}from'react/jsx-runtime';import{Dropdown as _0x59325e,clsx as _0x738d51,Button as _0x42e222}from'@univerjs/design';import{forwardRef as _0x1b3771,useRef as _0x3499e7,createElement as _0x1054bf,useState as _0xb969fe,useEffect as _0x2fcf94}from'react';import{CollaborationEvent as _0x2913c2,parseProtocolChangeset as _0x41e6ff}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x4acfd1,SessionStatus as _0x5dfcdc,UniverCollaborationClientPlugin as _0x11f1f3}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x313414,SetWorksheetActiveOperation as _0x1788b2}from'@univerjs/sheets';import{BehaviorSubject as _0x56096e,Subject as _0x2a7e40}from'rxjs';import{takeUntil as _0x104b09,throttleTime as _0x33ce8f}from'rxjs/operators';import{SetZoomRatioOperation as _0x4137e1,SetScrollOperation as _0x46281c}from'@univerjs/sheets-ui';var c=function(){var _0x39ef9a=_0x5b4310;return c=Object[_0x39ef9a(0x229)]||function(_0x4bb908){var _0x20de85=_0x39ef9a;for(var _0x331d22,_0x489e4b=0x1,_0x4c3577=arguments['length'];_0x489e4b<_0x4c3577;_0x489e4b++){_0x331d22=arguments[_0x489e4b];for(var _0x268fea in _0x331d22)Object['prototype'][_0x20de85(0x26b)][_0x20de85(0x274)](_0x331d22,_0x268fea)&&(_0x4bb908[_0x268fea]=_0x331d22[_0x268fea]);}return _0x4bb908;},c[_0x39ef9a(0x240)](this,arguments);},Oe=function(_0x1d541e,_0x4cbcd7){var _0x2b7b1e=_0x5b4310,_0x409737={};for(var _0x5bdd23 in _0x1d541e)Object[_0x2b7b1e(0x24f)][_0x2b7b1e(0x26b)]['call'](_0x1d541e,_0x5bdd23)&&_0x4cbcd7[_0x2b7b1e(0x28c)](_0x5bdd23)<0x0&&(_0x409737[_0x5bdd23]=_0x1d541e[_0x5bdd23]);if(_0x1d541e!=null&&typeof Object[_0x2b7b1e(0x1fd)]=='function'){for(var _0xe0d942=0x0,_0x5bdd23=Object[_0x2b7b1e(0x1fd)](_0x1d541e);_0xe0d942<_0x5bdd23[_0x2b7b1e(0x285)];_0xe0d942++)_0x4cbcd7[_0x2b7b1e(0x28c)](_0x5bdd23[_0xe0d942])<0x0&&Object[_0x2b7b1e(0x24f)][_0x2b7b1e(0x24d)][_0x2b7b1e(0x274)](_0x1d541e,_0x5bdd23[_0xe0d942])&&(_0x409737[_0x5bdd23[_0xe0d942]]=_0x1d541e[_0x5bdd23[_0xe0d942]]);}return _0x409737;},W=_0x1b3771(function(_0x5e49ca,_0x1b0a50){var _0x4c36d0=_0x5b4310,_0x34917d=_0x5e49ca['icon'],_0x2f61a0=_0x5e49ca['id'],_0x3e07ec=_0x5e49ca[_0x4c36d0(0x226)],_0x20502f=_0x5e49ca[_0x4c36d0(0x22f)],_0x52a194=Oe(_0x5e49ca,[_0x4c36d0(0x24b),'id',_0x4c36d0(0x226),_0x4c36d0(0x22f)]),_0xbce730=_0x4c36d0(0x277)['concat'](_0x2f61a0,'\x20')[_0x4c36d0(0x28f)](_0x3e07ec||'')[_0x4c36d0(0x25f)](),_0x4aa001=_0x3499e7('_'[_0x4c36d0(0x28f)](Ne()));return Y(_0x34917d,''[_0x4c36d0(0x28f)](_0x2f61a0),{'defIds':_0x34917d[_0x4c36d0(0x1f9)],'idSuffix':_0x4aa001[_0x4c36d0(0x1fa)]},c({'ref':_0x1b0a50,'className':_0xbce730},_0x52a194),_0x20502f);});function Y(_0x5b4654,_0x30d5ec,_0x2d0796,_0x2cfed3,_0x3590ef){var _0x58d4e1=_0x5b4310;return _0x1054bf(_0x5b4654[_0x58d4e1(0x281)],c(c({'key':_0x30d5ec},Ee(_0x5b4654,_0x2d0796,_0x3590ef)),_0x2cfed3),(we(_0x5b4654,_0x2d0796)[_0x58d4e1(0x289)]||[])[_0x58d4e1(0x21b)](function(_0x33fd7c,_0x1a89a0){var _0x288303=_0x58d4e1;return Y(_0x33fd7c,''[_0x288303(0x28f)](_0x30d5ec,'-')['concat'](_0x5b4654[_0x288303(0x281)],'-')['concat'](_0x1a89a0),_0x2d0796,void 0x0,_0x3590ef);}));}function Ee(_0x21e68a,_0x82e2b8,_0x36e477){var _0x222a27=_0x5b4310,_0x39bd8a=c({},_0x21e68a[_0x222a27(0x1fb)]);_0x36e477!=null&&_0x36e477['colorChannel1']&&_0x39bd8a[_0x222a27(0x27e)]==='colorChannel1'&&(_0x39bd8a[_0x222a27(0x27e)]=_0x36e477[_0x222a27(0x246)]),_0x21e68a[_0x222a27(0x281)]==='mask'&&_0x39bd8a['id']&&(_0x39bd8a['id']=_0x39bd8a['id']+_0x82e2b8[_0x222a27(0x211)]),Object[_0x222a27(0x21d)](_0x39bd8a)[_0x222a27(0x261)](function(_0x3061b0){var _0x5a68e1=_0x222a27,_0x42d412=_0x3061b0[0x0],_0xc1a5fa=_0x3061b0[0x1];_0x42d412===_0x5a68e1(0x25b)&&typeof _0xc1a5fa=='string'&&(_0x39bd8a[_0x42d412]=_0xc1a5fa['replace'](/url\(#(.*)\)/,_0x5a68e1(0x239)['concat'](_0x82e2b8[_0x5a68e1(0x211)],')')));});var _0x95d032=_0x82e2b8['defIds'];return!_0x95d032||_0x95d032[_0x222a27(0x285)]===0x0||(_0x21e68a[_0x222a27(0x281)]===_0x222a27(0x286)&&_0x39bd8a[_0x222a27(0x210)]&&(_0x39bd8a['xlink:href']=_0x39bd8a[_0x222a27(0x210)]+_0x82e2b8[_0x222a27(0x211)]),Object[_0x222a27(0x21d)](_0x39bd8a)[_0x222a27(0x261)](function(_0x1f00b9){var _0x34f7f6=_0x222a27,_0x5822e0=_0x1f00b9[0x0],_0x4db919=_0x1f00b9[0x1];typeof _0x4db919==_0x34f7f6(0x207)&&(_0x39bd8a[_0x5822e0]=_0x4db919[_0x34f7f6(0x25d)](/url\(#(.*)\)/,_0x34f7f6(0x239)[_0x34f7f6(0x28f)](_0x82e2b8['idSuffix'],')')));})),_0x39bd8a;}function we(_0x25cf47,_0x4b11d6){var _0x1d6bfa=_0x5b4310,_0x2a37b0,_0x207099=_0x4b11d6['defIds'];return!_0x207099||_0x207099[_0x1d6bfa(0x285)]===0x0?_0x25cf47:_0x25cf47[_0x1d6bfa(0x281)]===_0x1d6bfa(0x1f6)&&(!((_0x2a37b0=_0x25cf47[_0x1d6bfa(0x289)])===null||_0x2a37b0===void 0x0)&&_0x2a37b0[_0x1d6bfa(0x285)])?c(c({},_0x25cf47),{'children':_0x25cf47[_0x1d6bfa(0x289)]['map'](function(_0x4f0153){var _0x5c011e=_0x1d6bfa;return typeof _0x4f0153[_0x5c011e(0x1fb)]['id']==_0x5c011e(0x207)&&_0x207099&&_0x207099[_0x5c011e(0x266)](_0x4f0153[_0x5c011e(0x1fb)]['id'])?c(c({},_0x4f0153),{'attrs':c(c({},_0x4f0153['attrs']),{'id':_0x4f0153[_0x5c011e(0x1fb)]['id']+_0x4b11d6['idSuffix']})}):_0x4f0153;})}):_0x25cf47;}function Ne(){var _0x5e9842=_0x5b4310;return Math[_0x5e9842(0x299)]()[_0x5e9842(0x220)](0x24)['substring'](0x2,0x8);}W[_0x5b4310(0x283)]=_0x5b4310(0x23d);var Ce={'tag':_0x5b4310(0x23e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4310(0x219),'viewBox':'0\x200\x2017\x2017','width':_0x5b4310(0x23a),'height':_0x5b4310(0x23a)},'children':[{'tag':'path','attrs':{'fill':_0x5b4310(0x29e),'d':_0x5b4310(0x23b)}},{'tag':'path','attrs':{'fill':_0x5b4310(0x29e),'d':_0x5b4310(0x222),'fillRule':_0x5b4310(0x1f1),'clipRule':_0x5b4310(0x1f1)}}]},B=_0x1b3771(function(_0x2c5dd4,_0xbee92f){var _0x4c3d3c=_0x5b4310;return _0x1054bf(W,Object[_0x4c3d3c(0x229)]({},_0x2c5dd4,{'id':_0x4c3d3c(0x22a),'ref':_0xbee92f,'icon':Ce}));});B['displayName']=_0x5b4310(0x28e);class L extends _0x69cad7{constructor(){var _0x13f1fb=_0x5b4310;super(...arguments),d(this,_0x13f1fb(0x1ee),new Set()),d(this,_0x13f1fb(0x242),new Set());}['registerSharedOperation'](_0x2f7333){var _0xdbacbf=_0x5b4310;return this[_0xdbacbf(0x1ee)]['add'](_0x2f7333),_0x1fbd6b(()=>this[_0xdbacbf(0x1ee)][_0xdbacbf(0x29d)](_0x2f7333));}[_0x5b4310(0x22b)](_0x90e9ed){var _0x1314e9=_0x5b4310;return this['_reporters'][_0x1314e9(0x20b)](_0x90e9ed),_0x1fbd6b(()=>this['_reporters'][_0x1314e9(0x29d)](_0x90e9ed));}[_0x5b4310(0x1ff)](_0x122f1d){var _0x5cb5c3=_0x5b4310;return this[_0x5cb5c3(0x1ee)][_0x5cb5c3(0x231)](_0x122f1d);}['getInitialStates'](_0x3cdcb6){var _0x1244b4=_0x5b4310;return Array[_0x1244b4(0x205)](this[_0x1244b4(0x242)])[_0x1244b4(0x21b)](_0x2dec60=>_0x2dec60(_0x3cdcb6));}}var De=Object[_0x5b4310(0x217)],Z=(_0x54d143,_0x45c171,_0x30bfdc,_0x123a52)=>{var _0x580937=_0x5b4310;for(var _0xac8f27=_0x123a52>0x1?void 0x0:_0x123a52?De(_0x45c171,_0x30bfdc):_0x45c171,_0x275485=_0x54d143[_0x580937(0x285)]-0x1,_0x1e1bdc;_0x275485>=0x0;_0x275485--)(_0x1e1bdc=_0x54d143[_0x275485])&&(_0xac8f27=_0x1e1bdc(_0xac8f27)||_0xac8f27);return _0xac8f27;},f=(_0x14adfc,_0x460e55)=>(_0x59751d,_0x18e3cd)=>_0x460e55(_0x59751d,_0x18e3cd,_0x14adfc);let m=class extends _0x1cb074{constructor(_0x2357b8,_0x56e273,_0x1e5c89){var _0x527ff3=_0x5b4310;super(),d(this,_0x527ff3(0x237),new Map()),(this['_univerInstanceService']=_0x2357b8,this['_injector']=_0x56e273,this[_0x527ff3(0x263)]=_0x1e5c89,this['_init']());}async[_0x5b4310(0x269)](_0x56941d){var _0x178f7b=_0x5b4310;return this[_0x178f7b(0x237)][_0x178f7b(0x231)](_0x56941d)||await this[_0x178f7b(0x294)](_0x56941d),this['_entities'][_0x178f7b(0x24c)](_0x56941d);}[_0x5b4310(0x250)](){var _0x15f9bf=_0x5b4310;this[_0x15f9bf(0x228)][_0x15f9bf(0x1f4)](_0x1ce52a[_0x15f9bf(0x276)])[_0x15f9bf(0x249)](_0x104b09(this[_0x15f9bf(0x209)]))[_0x15f9bf(0x1f8)](async _0x97e8ba=>{var _0x277426=_0x15f9bf;const _0x1f09a5=_0x97e8ba[_0x277426(0x255)]();this[_0x277426(0x237)]['has'](_0x1f09a5)||this[_0x277426(0x294)](_0x1f09a5);}),this[_0x15f9bf(0x228)]['getTypeOfUnitDisposed$'](_0x1ce52a[_0x15f9bf(0x276)])[_0x15f9bf(0x249)](_0x104b09(this[_0x15f9bf(0x209)]))['subscribe'](_0x575547=>{var _0x393b30=_0x15f9bf;const _0xf4df18=_0x575547[_0x393b30(0x255)](),_0x44b1bd=this[_0x393b30(0x237)][_0x393b30(0x24c)](_0xf4df18);_0x44b1bd==null||_0x44b1bd[_0x393b30(0x212)]();});}async[_0x5b4310(0x294)](_0x243f56){var _0x292161=_0x5b4310;const _0x4d156d=await this[_0x292161(0x263)][_0x292161(0x230)](_0x243f56),_0x3ff02d=this[_0x292161(0x1fc)][_0x292161(0x27b)](C,_0x243f56,_0x4d156d);return _0x3ff02d[_0x292161(0x247)](),this['_entities'][_0x292161(0x273)](_0x243f56,_0x3ff02d),_0x3ff02d;}};m=Z([f(0x0,_0x3bfee1),f(0x1,_0x3d1151(_0xae58b1)),f(0x2,_0x3d1151(_0x4acfd1))],m);var h=(_0x1d362d=>(_0x1d362d[_0x5b4310(0x20f)]=_0x5b4310(0x215),_0x1d362d[_0x5b4310(0x204)]=_0x5b4310(0x275),_0x1d362d[_0x5b4310(0x279)]='following',_0x1d362d[_0x5b4310(0x267)]=_0x5b4310(0x272),_0x1d362d[_0x5b4310(0x27f)]=_0x5b4310(0x213),_0x1d362d))(h||{});const xe=_0x5b4310(0x1f2),Le=0xc8;let C=class extends _0x1cb074{constructor(_0x44607a,_0x43a8a7,_0x34f475,_0xbff25d,_0x2daf0e){var _0x52bf8e=_0x5b4310;super(),d(this,_0x52bf8e(0x244),new _0x56096e(_0x52bf8e(0x275))),d(this,_0x52bf8e(0x22c),this[_0x52bf8e(0x244)]['asObservable']()),d(this,'_init',!0x1),d(this,_0x52bf8e(0x278),null),d(this,_0x52bf8e(0x265),null),(this[_0x52bf8e(0x218)]=_0x44607a,this[_0x52bf8e(0x28d)]=_0x43a8a7,this[_0x52bf8e(0x297)]=_0x34f475,this[_0x52bf8e(0x271)]=_0xbff25d,this['_commandService']=_0x2daf0e);}get[_0x5b4310(0x1ef)](){var _0x387d0f=_0x5b4310;return this[_0x387d0f(0x244)][_0x387d0f(0x201)]();}[_0x5b4310(0x212)](){var _0x9ddabe=_0x5b4310,_0xfabb29;(_0xfabb29=this['_commandDisposable'])==null||_0xfabb29['dispose'](),this[_0x9ddabe(0x244)][_0x9ddabe(0x292)](_0x9ddabe(0x275)),this[_0x9ddabe(0x244)][_0x9ddabe(0x27c)]();}[_0x5b4310(0x247)](){var _0x3b9a68=_0x5b4310;this['_init']||(this[_0x3b9a68(0x250)]=!0x0,this[_0x3b9a68(0x28d)][_0x3b9a68(0x236)][_0x3b9a68(0x249)](_0x104b09(this[_0x3b9a68(0x209)]))[_0x3b9a68(0x1f8)](_0x267992=>{var _0x403e6f=_0x3b9a68;switch(_0x267992){case _0x5dfcdc[_0x403e6f(0x20f)]:this[_0x403e6f(0x21c)]();break;case _0x5dfcdc[_0x403e6f(0x290)]:this[_0x403e6f(0x20d)]();break;}}),this[_0x3b9a68(0x28d)]['event$'][_0x3b9a68(0x249)](_0x104b09(this[_0x3b9a68(0x209)]))['subscribe'](_0x7c2e27=>{var _0x115c71=_0x3b9a68;const {eventID:_0x568866}=_0x7c2e27;switch(_0x568866){case _0x2913c2[_0x115c71(0x254)]:this['_handleNewHost'](_0x7c2e27);break;case _0x2913c2[_0x115c71(0x26c)]:this[_0x115c71(0x1f3)](_0x7c2e27);break;case _0x2913c2[_0x115c71(0x243)]:this[_0x115c71(0x248)]();break;case _0x2913c2[_0x115c71(0x284)]:this[_0x115c71(0x26d)](_0x7c2e27);break;}}));}[_0x5b4310(0x227)](){var _0x539036=_0x5b4310;this[_0x539036(0x28d)]['send']({'eventID':_0x2913c2[_0x539036(0x268)],'data':{'unitID':this['_unitID'],'userID':this[_0x539036(0x28d)][_0x539036(0x29a)]()}},this[_0x539036(0x218)]);}[_0x5b4310(0x257)](){var _0x4d947d=_0x5b4310;this[_0x4d947d(0x1ef)]===_0x4d947d(0x213)&&(this['_status$'][_0x4d947d(0x292)](_0x4d947d(0x275)),this['_collabSession'][_0x4d947d(0x224)]({'eventID':_0x2913c2['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x4d947d(0x218)]}},this[_0x4d947d(0x218)]));}[_0x5b4310(0x214)](){var _0x1c66c8=_0x5b4310;this['_status']==='not-following'&&(this['_status$'][_0x1c66c8(0x292)](_0x1c66c8(0x1fe)),this[_0x1c66c8(0x293)]());}[_0x5b4310(0x20a)](){var _0x25f240=_0x5b4310;this[_0x25f240(0x1ef)]==='following'&&this['_stopFollowing']();}['_handleNewHost'](_0x459db4){var _0x42659a=_0x5b4310;const {presenter:_0x48af68}=_0x459db4['data'],_0x260235=this[_0x42659a(0x28d)][_0x42659a(0x29a)]();this[_0x42659a(0x265)]=_0x48af68,_0x48af68===_0x260235?(this['_stopFollowing'](),this[_0x42659a(0x26f)]()):this[_0x42659a(0x1ef)]!==_0x42659a(0x272)&&(this[_0x42659a(0x21a)](),this[_0x42659a(0x293)]());}[_0x5b4310(0x24e)](){var _0x4e123b=_0x5b4310;const _0x235b51={'eventID':_0x2913c2[_0x4e123b(0x25e)]};this[_0x4e123b(0x28d)]['send'](_0x235b51,this['_unitID']);}['_handleTerminate'](){var _0x3df72a=_0x5b4310;this[_0x3df72a(0x265)]=null,this[_0x3df72a(0x1ef)]!==_0x3df72a(0x213)&&this['_beIdle']();}['_handleNewChangeSets'](_0x25cc06){var _0x3fb343=_0x5b4310;if(this[_0x3fb343(0x1ef)]===_0x3fb343(0x1fe)&&this[_0x3fb343(0x265)]===_0x25cc06[_0x3fb343(0x20c)][_0x3fb343(0x221)]){const _0x4a0b95=_0x41e6ff(_0x25cc06[_0x3fb343(0x20c)])[_0x3fb343(0x234)][_0x3fb343(0x223)]()[_0x3fb343(0x202)](_0x82622d=>_0x82622d['id']===_0x313414['id']);if(_0x4a0b95){const _0x4d70c5=_0x4a0b95[_0x3fb343(0x253)][_0x3fb343(0x29b)],_0x24883f=_0x4a0b95[_0x3fb343(0x253)][_0x3fb343(0x203)]['id'];setTimeout(()=>{var _0x31a937=_0x3fb343;this[_0x31a937(0x208)]['executeCommand'](_0x1788b2['id'],{'unitId':_0x4d70c5,'subUnitId':_0x24883f},{'fromCollab':!0x0});});}}}['_startPresenting'](){var _0x39995f=_0x5b4310;this[_0x39995f(0x244)]['next'](_0x39995f(0x213));const _0x229efe=new Map(),_0x194c3f=this[_0x39995f(0x278)]=new _0x435087();_0x194c3f[_0x39995f(0x20b)](_0x1fbd6b(()=>{var _0x4e1356=_0x39995f;_0x229efe[_0x4e1356(0x261)](_0x14a6a8=>_0x14a6a8['complete']()),_0x229efe[_0x4e1356(0x288)]();})),_0x194c3f['add'](this['_commandService'][_0x39995f(0x1f0)](_0x44f6b1=>{var _0x233084=_0x39995f,_0x570237;if(_0x44f6b1['type']!==_0x58d836[_0x233084(0x28b)]||!this[_0x233084(0x271)][_0x233084(0x1ff)](_0x44f6b1['id']))return;const {id:_0x55544d}=_0x44f6b1;let _0x4c6327;_0x229efe[_0x233084(0x231)](_0x55544d)?_0x4c6327=_0x229efe['get'](_0x55544d):(_0x4c6327=new _0x2a7e40(),_0x229efe[_0x233084(0x273)](_0x55544d,_0x4c6327),_0x4c6327[_0x233084(0x249)](_0x33ce8f((_0x570237=this[_0x233084(0x297)][_0x233084(0x232)](xe))!=null?_0x570237:Le,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x233084(0x1f8)](_0x3b83a1=>{var _0x4db21=_0x233084;this[_0x4db21(0x28d)][_0x4db21(0x224)]({'eventID':_0x2913c2[_0x4db21(0x26c)],'data':{'unitID':this[_0x4db21(0x218)],'operations':{[_0x3b83a1['id']]:{'id':_0x3b83a1['id'],'params':JSON[_0x4db21(0x260)](_0x3b83a1[_0x4db21(0x253)])}}}},this[_0x4db21(0x218)]);})),_0x4c6327[_0x233084(0x292)](_0x44f6b1);})),this['_liveShareService'][_0x39995f(0x27d)](this[_0x39995f(0x218)])[_0x39995f(0x261)](_0x299b82=>this['_collabSession'][_0x39995f(0x224)]({'eventID':_0x2913c2[_0x39995f(0x26c)],'data':{'unitID':this[_0x39995f(0x218)],'operations':{[_0x299b82['id']]:{'id':_0x299b82['id'],'params':JSON[_0x39995f(0x260)](_0x299b82['params'])}}}},this[_0x39995f(0x218)]));}[_0x5b4310(0x21a)](){var _0x21f65d=_0x5b4310,_0x4dc45b;this[_0x21f65d(0x244)]['next'](_0x21f65d(0x275)),(_0x4dc45b=this[_0x21f65d(0x278)])==null||_0x4dc45b['dispose'](),this[_0x21f65d(0x278)]=null;}[_0x5b4310(0x293)](){var _0x5d0f64=_0x5b4310,_0x3661d5;(_0x3661d5=this[_0x5d0f64(0x278)])==null||_0x3661d5[_0x5d0f64(0x212)](),this[_0x5d0f64(0x244)][_0x5d0f64(0x292)]('following');}[_0x5b4310(0x291)](){var _0x5f52d7=_0x5b4310,_0x2810c6;this[_0x5f52d7(0x244)][_0x5f52d7(0x292)]('idle'),(_0x2810c6=this['_commandDisposable'])==null||_0x2810c6[_0x5f52d7(0x212)](),this[_0x5f52d7(0x278)]=null;}[_0x5b4310(0x23c)](){var _0x434403=_0x5b4310,_0x4db337;this[_0x434403(0x244)][_0x434403(0x292)](_0x434403(0x272)),(_0x4db337=this[_0x434403(0x278)])==null||_0x4db337[_0x434403(0x212)]();}[_0x5b4310(0x1f3)](_0x54a89a){var _0x429de6=_0x5b4310;if([_0x429de6(0x213),_0x429de6(0x272),'offline'][_0x429de6(0x266)](this[_0x429de6(0x1ef)])||!_0x54a89a[_0x429de6(0x20c)][_0x429de6(0x22e)]||_0x54a89a[_0x429de6(0x20c)]['presenter']===this['_collabSession'][_0x429de6(0x29a)]())return;this[_0x429de6(0x1ef)]===_0x429de6(0x275)&&this[_0x429de6(0x293)]();const _0x55ed8f=_0x54a89a[_0x429de6(0x20c)][_0x429de6(0x206)];Object['values'](_0x55ed8f)[_0x429de6(0x261)](_0x2688f0=>{var _0x4fecc0=_0x429de6;this[_0x4fecc0(0x208)]['executeCommand'](_0x2688f0['id'],_0x2688f0[_0x4fecc0(0x253)]?JSON[_0x4fecc0(0x23f)](_0x2688f0['params']):null,{'fromCollab':!0x0});});}[_0x5b4310(0x21c)](){var _0x24a2f7=_0x5b4310,_0x7729b0;this[_0x24a2f7(0x244)]['next'](_0x24a2f7(0x215)),(_0x7729b0=this[_0x24a2f7(0x278)])==null||_0x7729b0[_0x24a2f7(0x212)]();}[_0x5b4310(0x20d)](){var _0x48e28c=_0x5b4310;this['_status$'][_0x48e28c(0x292)](_0x48e28c(0x275)),this[_0x48e28c(0x24e)]();}};C=Z([f(0x2,_0xaa789e),f(0x3,_0x3d1151(L)),f(0x4,_0x32c700)],C);function ye(){var _0xe75063=_0x5b4310;const _0xc25a65=_0x333ece(m),_0x99dda9=_0x333ece(_0x3bfee1),_0x16cb50=_0x52b939(()=>_0x99dda9[_0xe75063(0x245)](_0x1ce52a['UNIVER_SHEET']),void 0x0,!0x1,[]),[_0x1d4122,_0x119bdf]=_0xb969fe(null),[_0x3a75c5,_0x5897ac]=_0xb969fe(h['IDLE']),_0x1002eb=_0x3499e7(null);return _0x2fcf94(()=>(_0x16cb50&&_0xc25a65[_0xe75063(0x269)](_0x16cb50[_0xe75063(0x255)]())[_0xe75063(0x262)](_0x622771=>{var _0x202c1f=_0xe75063;_0x119bdf(_0x622771),_0x1002eb['current']=_0x622771[_0x202c1f(0x22c)][_0x202c1f(0x1f8)](_0xfbdf86=>{_0x5897ac(_0xfbdf86);});}),()=>{var _0x43cc9b=_0xe75063,_0x58a44a;(_0x58a44a=_0x1002eb[_0x43cc9b(0x1fa)])==null||_0x58a44a['unsubscribe'](),_0x1002eb['current']=null;}),[_0x16cb50,_0xc25a65]),_0x1d4122?_0x5c3320(_0x59325e,{'align':_0xe75063(0x29c),'disabled':_0x3a75c5===h['OFFLINE'],'className':'univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','overlay':_0x5c3320(Re,{'status':_0x3a75c5,'coordinator':_0x1d4122}),'children':_0x5c3320('button',{'className':_0x738d51('univer-border-none\x20univer-text-gray-600\x20univer-outline-none',{'univer-cursor-not-allowed':_0x3a75c5===h[_0xe75063(0x20f)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x3a75c5!==h['OFFLINE']}),'type':'button','children':_0x5c3320(B,{'className':_0xe75063(0x252)})})}):null;}function Re(_0x474cc3){var _0x197bef=_0x5b4310;const {status:_0x3b1f54,coordinator:_0x16f5f2}=_0x474cc3;switch(_0x3b1f54){case h[_0x197bef(0x204)]:return _0x5c3320(Pe,{'coordinator':_0x16f5f2});case h[_0x197bef(0x279)]:return _0x5c3320(Ae,{'coordinator':_0x16f5f2});case h[_0x197bef(0x267)]:return _0x5c3320(Te,{'coordinator':_0x16f5f2});case h[_0x197bef(0x20f)]:return _0x5c3320(Fe,{});case h[_0x197bef(0x27f)]:return _0x5c3320($e,{'coordinator':_0x16f5f2});default:return null;}}function _0x2831(_0x2b0a0d,_0x31c8bd){var _0x494515=_0x4945();return _0x2831=function(_0x283176,_0x37fed9){_0x283176=_0x283176-0x1ee;var _0x4bcce2=_0x494515[_0x283176];return _0x4bcce2;},_0x2831(_0x2b0a0d,_0x31c8bd);}function Pe(_0x4a962f){var _0x16effd=_0x5b4310;const {coordinator:_0x53b434}=_0x4a962f;return _0x257786(_0x35252f,{'children':[_0x5c3320('div',{'className':_0x16effd(0x258),'children':'Present\x20this\x20document'}),_0x5c3320(_0x42e222,{'onClick':()=>_0x53b434[_0x16effd(0x227)](),'children':'Start'})]});}function Ae(_0x22d3ff){var _0xec7c6b=_0x5b4310;const {coordinator:_0x32e834}=_0x22d3ff;return _0x257786(_0x35252f,{'children':[_0x5c3320(_0xec7c6b(0x298),{'className':_0xec7c6b(0x258),'children':_0xec7c6b(0x296)}),_0x5c3320(_0x42e222,{'onClick':()=>_0x32e834[_0xec7c6b(0x20a)](),'children':_0xec7c6b(0x264)})]});}function _0x4945(){var _0x31d020=['find','sheet','IDLE','from','operations','string','_commandService','dispose$','stopFollowing','add','data','_handleOnline','setConfig','OFFLINE','xlink:href','idSuffix','dispose','presenting','startFollowing','offline','You\x27are\x20offline.','getOwnPropertyDescriptor','_unitID','none','_stopPresenting','map','_handleOffline','entries','11AqLfmh','UNIVER_LIVE_SHARE_PLUGIN','toString','memberID','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','reverse','send','_config','className','tryStartPresenting','_univerInstanceService','assign','live-share-icon','registerInitialStateReporter','status$','onRendered','presenter','extend','requireSession','has','getConfig','669310rmMLiW','mutations','default','sessionStatus$','_entities','1705456XzKekp','url(#$1','1em','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','_stopFollowing','UniverIcon','svg','parse','apply','You\x27re\x20not\x20following\x20the\x20presenter','_reporters','LIVESHARE_TERMINATE','_status$','getCurrentTypeOfUnit$','colorChannel1','init','_handleTerminate','pipe','6jtWzII','icon','get','propertyIsEnumerable','_fetchOperations','prototype','_init','40jrqqNO','univer-size-4','params','LIVESHARE_NEW_HOST','getUnitId','_uiPartsService','stopPresenting','univer-mb-3\x20univer-w-full\x20univer-text-sm','10BBwYHb','symbol','mask','defineProperty','replace','LIVESHARE_FETCH_OPERATIONS','trim','stringify','forEach','then','_collabSessionService','Stop\x20following','_presenter','includes','NOT_FOLLOWING','LIVESHARE_REQUEST_HOST','getLiveShareCoordinator','live-share.config','hasOwnProperty','LIVESHARE_OPERATION','_handleNewChangeSets','pluginName','_startPresenting','UNIVER_UNKNOWN','_liveShareService','not-following','set','call','idle','UNIVER_SHEET','univerjs-icon\x20univerjs-icon-','_commandDisposable','FOLLOWING','_mountLiveShare','createInstance','complete','getInitialStates','fill','PRESENTING','2512181nrEnpa','tag','750HOxdWh','displayName','NEW_CHANGESETS','length','use','15835RXKFaC','clear','children','onStarting','OPERATION','indexOf','_collabSession','LiveShareIcon','concat','ONLINE','_beIdle','next','_startFollowing','_startLiveShareCoordinator','9695700ZBbxAv','You\x27re\x20following\x20the\x20presenter','_configService','div','random','getMemberID','unitId','end','delete','currentColor','HEADER_MENU','_sharedOperations','_status','onCommandExecuted','evenodd','SAME_OPERATION_SHARE_INTERVAL','_handleOperation','getTypeOfUnitAdded$','1574901dAAcmm','defs','187898HiUOzp','subscribe','defIds','current','attrs','_injector','getOwnPropertySymbols','following','shouldShareOperation','disposeWithMe','getValue'];_0x4945=function(){return _0x31d020;};return _0x4945();}function Te(_0x29c75c){var _0x4e6039=_0x5b4310;const {coordinator:_0x38aa40}=_0x29c75c;return _0x257786(_0x35252f,{'children':[_0x5c3320('div',{'className':_0x4e6039(0x258),'children':_0x4e6039(0x241)}),_0x5c3320(_0x42e222,{'variant':'text','onClick':()=>_0x38aa40[_0x4e6039(0x214)](),'children':'Start\x20following'})]});}function $e(_0x162d89){var _0x163844=_0x5b4310;const {coordinator:_0x21656e}=_0x162d89;return _0x257786(_0x35252f,{'children':[_0x5c3320(_0x163844(0x298),{'className':_0x163844(0x258),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x5c3320(_0x42e222,{'variant':_0x163844(0x235),'onClick':()=>_0x21656e[_0x163844(0x257)](),'children':'Stop\x20presenting'})]});}function Fe(){var _0x39ccfb=_0x5b4310;return _0x5c3320(_0x35252f,{'children':_0x39ccfb(0x216)});}var He=Object[_0x5b4310(0x217)],je=(_0x3c8f8d,_0x521bbb,_0x2bdba6,_0x2ba327)=>{var _0x218632=_0x5b4310;for(var _0x8be961=_0x2ba327>0x1?void 0x0:_0x2ba327?He(_0x521bbb,_0x2bdba6):_0x521bbb,_0x58bf22=_0x3c8f8d[_0x218632(0x285)]-0x1,_0x34ed6a;_0x58bf22>=0x0;_0x58bf22--)(_0x34ed6a=_0x3c8f8d[_0x58bf22])&&(_0x8be961=_0x34ed6a(_0x8be961)||_0x8be961);return _0x8be961;},T=(_0x5efa47,_0x2d7da8)=>(_0x3af8f,_0x1e13b9)=>_0x2d7da8(_0x3af8f,_0x1e13b9,_0x5efa47);let I=class extends _0x69cad7{constructor(_0x2b3e30,_0x18bdbf){var _0x44d409=_0x5b4310;super(),this[_0x44d409(0x1fc)]=_0x2b3e30,this[_0x44d409(0x256)]=_0x18bdbf,this[_0x44d409(0x27a)]();}[_0x5b4310(0x27a)](){var _0xba2e92=_0x5b4310;this[_0xba2e92(0x200)](this['_uiPartsService']['registerComponent'](_0x546689[_0xba2e92(0x29f)],()=>_0x20fa1f(ye,this[_0xba2e92(0x1fc)])));}};I=je([T(0x0,_0x3d1151(_0xae58b1)),T(0x1,_0x4ed166)],I);const Ue=_0x5b4310(0x26a),$={};var Ve=Object[_0x5b4310(0x217)],Me=(_0xddf928,_0x3e7dcd,_0x4052d7,_0x113678)=>{var _0x430bee=_0x5b4310;for(var _0x903eae=_0x113678>0x1?void 0x0:_0x113678?Ve(_0x3e7dcd,_0x4052d7):_0x3e7dcd,_0x2e4077=_0xddf928[_0x430bee(0x285)]-0x1,_0x31ca5f;_0x2e4077>=0x0;_0x2e4077--)(_0x31ca5f=_0xddf928[_0x2e4077])&&(_0x903eae=_0x31ca5f(_0x903eae)||_0x903eae);return _0x903eae;},ke=(_0x3e429e,_0x3e61fe)=>(_0x37cf09,_0x1665b9)=>_0x3e61fe(_0x37cf09,_0x1665b9,_0x3e429e);let b=class extends _0x69cad7{constructor(_0x149354){var _0x4b1dab=_0x5b4310;super(),this[_0x4b1dab(0x271)]=_0x149354,this[_0x4b1dab(0x250)]();}[_0x5b4310(0x250)](){var _0x57a421=_0x5b4310;[_0x4137e1['id'],_0x46281c['id'],_0x1788b2['id']][_0x57a421(0x261)](_0xbe9f5b=>{var _0xbad331=_0x57a421;this[_0xbad331(0x200)](this[_0xbad331(0x271)]['registerSharedOperation'](_0xbe9f5b));});}};b=Me([ke(0x0,_0x3d1151(L))],b);var Ge=Object[_0x5b4310(0x25c)],We=Object[_0x5b4310(0x217)],Ye=(_0x18c6a4,_0x114b6f,_0x547659)=>_0x114b6f in _0x18c6a4?Ge(_0x18c6a4,_0x114b6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x547659}):_0x18c6a4[_0x114b6f]=_0x547659,Be=(_0x91f673,_0x47b1b5,_0x3d5062,_0x59b94e)=>{for(var _0x454c7a=_0x59b94e>0x1?void 0x0:_0x59b94e?We(_0x47b1b5,_0x3d5062):_0x47b1b5,_0xd2ade4=_0x91f673['length']-0x1,_0x5a1631;_0xd2ade4>=0x0;_0xd2ade4--)(_0x5a1631=_0x91f673[_0xd2ade4])&&(_0x454c7a=_0x5a1631(_0x454c7a)||_0x454c7a);return _0x454c7a;},F=(_0x1f2ea2,_0x2ee898)=>(_0x400c05,_0x54dea2)=>_0x2ee898(_0x400c05,_0x54dea2,_0x1f2ea2),J=(_0x49132f,_0x351a51,_0x244bfb)=>Ye(_0x49132f,typeof _0x351a51!=_0x5b4310(0x25a)?_0x351a51+'':_0x351a51,_0x244bfb);const Ze=_0x5b4310(0x21f);let O=class extends _0x2b5a24{constructor(_0x43baa6=$,_0x3dd807,_0x385f95){var _0x5bd1de=_0x5b4310;super(),this[_0x5bd1de(0x225)]=_0x43baa6,this[_0x5bd1de(0x1fc)]=_0x3dd807,this[_0x5bd1de(0x297)]=_0x385f95;const {..._0x35f4be}=_0x168cce({},$,this[_0x5bd1de(0x225)]);this[_0x5bd1de(0x297)][_0x5bd1de(0x20e)](Ue,_0x35f4be);}[_0x5b4310(0x28a)](){var _0x4e7da6=_0x5b4310;_0x3b0c1f(this[_0x4e7da6(0x1fc)],_0x352513([[L],[m],[b],[I]],this['_config']['override'])),_0x3ce219(this[_0x4e7da6(0x1fc)],[[b]]);}[_0x5b4310(0x22d)](){var _0x222c07=_0x5b4310;_0x3ce219(this[_0x222c07(0x1fc)],[[I]]);}};J(O,'type',_0x1ce52a[_0x5b4310(0x270)]),J(O,_0x5b4310(0x26e),Ze),O=Be([_0x144cbf(_0x11f1f3),F(0x1,_0x3d1151(_0xae58b1)),F(0x2,_0xaa789e)],O);export{I as DesktopLiveShareController,ye as LiveShare,m as LiveShareController,C as LiveShareCoordinator,L as LiveShareService,h as LiveShareStatus,O as UniverLiveSharePlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0xf0588f=_0x512b;(function(_0x19e2da,_0x283a23){var _0x29619d=_0x512b,_0x455e05=_0x19e2da();while(!![]){try{var _0x1261ca=-parseInt(_0x29619d(0x1c3))/0x1+-parseInt(_0x29619d(0x187))/0x2*(parseInt(_0x29619d(0x156))/0x3)+parseInt(_0x29619d(0x184))/0x4+parseInt(_0x29619d(0x1b8))/0x5+parseInt(_0x29619d(0x199))/0x6+-parseInt(_0x29619d(0x188))/0x7*(parseInt(_0x29619d(0x1cc))/0x8)+parseInt(_0x29619d(0x1c8))/0x9*(parseInt(_0x29619d(0x1e0))/0xa);if(_0x1261ca===_0x283a23)break;else _0x455e05['push'](_0x455e05['shift']());}catch(_0x331d80){_0x455e05['push'](_0x455e05['shift']());}}}(_0x59da,0x8d9a1));var q=Object[_0xf0588f(0x1ef)],z=(_0x312c23,_0x154a70,_0x248075)=>_0x154a70 in _0x312c23?q(_0x312c23,_0x154a70,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x248075}):_0x312c23[_0x154a70]=_0x248075,d=(_0x1b9265,_0x1188d4,_0x2f0128)=>z(_0x1b9265,typeof _0x1188d4!=_0xf0588f(0x17d)?_0x1188d4+'':_0x1188d4,_0x2f0128);import{Disposable as _0x10571d,toDisposable as _0x48e11a,IUniverInstanceService as _0x344d2c,Inject as _0x68914,Injector as _0x355540,IConfigService as _0x2c88fb,ICommandService as _0xdc74d2,RxDisposable as _0x372cb7,UniverInstanceType as _0x4c3c61,DisposableCollection as _0x260e95,CommandType as _0x3829f0,DependentOn as _0x9fac4b,Plugin as _0x519c08,merge as _0x252811,registerDependencies as _0x1cfa1f,mergeOverrideWithDependencies as _0x4cfe19,touchDependencies as _0x4e427e}from'@univerjs/core';function _0x512b(_0x5d1052,_0x28604b){var _0x59da5e=_0x59da();return _0x512b=function(_0x512b01,_0x88c7b1){_0x512b01=_0x512b01-0x154;var _0xc99980=_0x59da5e[_0x512b01];return _0xc99980;},_0x512b(_0x5d1052,_0x28604b);}import{useDependency as _0x5ed6d8,useObservable as _0x5099d5,IUIPartsService as _0x5e9bd8,BuiltInUIPart as _0xcde8b6,connectInjector as _0x114849}from'@univerjs/ui';import{jsx as _0x7d6475,jsxs as _0x492ee1,Fragment as _0xfb239c}from'react/jsx-runtime';import{Dropdown as _0x37f252,clsx as _0x3844f1,Button as _0x3da79b}from'@univerjs/design';import{forwardRef as _0x16a9e6,useRef as _0x490fb6,createElement as _0x144472,useState as _0x1b5347,useEffect as _0x2e846d}from'react';import{CollaborationEvent as _0x1b6ec8,parseProtocolChangeset as _0x5d3d5f}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x36448a,SessionStatus as _0x37ff83,UniverCollaborationClientPlugin as _0x29d85d}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x462961,SetWorksheetActiveOperation as _0xb98e3c}from'@univerjs/sheets';import{BehaviorSubject as _0x2bcf5b,Subject as _0x239e6b}from'rxjs';import{takeUntil as _0x247bb8,throttleTime as _0x417704}from'rxjs/operators';import{SetZoomRatioOperation as _0x495ed0,SetScrollOperation as _0x5e8ec9}from'@univerjs/sheets-ui';var c=function(){var _0x421dc8=_0xf0588f;return c=Object[_0x421dc8(0x192)]||function(_0x2d1f1a){var _0x58af7e=_0x421dc8;for(var _0x49f843,_0x406bbc=0x1,_0x2ff6bd=arguments[_0x58af7e(0x1ed)];_0x406bbc<_0x2ff6bd;_0x406bbc++){_0x49f843=arguments[_0x406bbc];for(var _0x257042 in _0x49f843)Object[_0x58af7e(0x19b)][_0x58af7e(0x200)][_0x58af7e(0x174)](_0x49f843,_0x257042)&&(_0x2d1f1a[_0x257042]=_0x49f843[_0x257042]);}return _0x2d1f1a;},c[_0x421dc8(0x201)](this,arguments);},Oe=function(_0x51f206,_0x52c101){var _0x4b9903=_0xf0588f,_0xb6a09={};for(var _0x4ba236 in _0x51f206)Object[_0x4b9903(0x19b)]['hasOwnProperty'][_0x4b9903(0x174)](_0x51f206,_0x4ba236)&&_0x52c101[_0x4b9903(0x203)](_0x4ba236)<0x0&&(_0xb6a09[_0x4ba236]=_0x51f206[_0x4ba236]);if(_0x51f206!=null&&typeof Object[_0x4b9903(0x1e7)]==_0x4b9903(0x1fd)){for(var _0x18ab96=0x0,_0x4ba236=Object[_0x4b9903(0x1e7)](_0x51f206);_0x18ab96<_0x4ba236['length'];_0x18ab96++)_0x52c101[_0x4b9903(0x203)](_0x4ba236[_0x18ab96])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x51f206,_0x4ba236[_0x18ab96])&&(_0xb6a09[_0x4ba236[_0x18ab96]]=_0x51f206[_0x4ba236[_0x18ab96]]);}return _0xb6a09;},W=_0x16a9e6(function(_0xd88efc,_0x1a7ec3){var _0x5e72c9=_0xf0588f,_0x2875d1=_0xd88efc['icon'],_0x205c72=_0xd88efc['id'],_0x208bc5=_0xd88efc['className'],_0x53dcff=_0xd88efc[_0x5e72c9(0x178)],_0x873fb6=Oe(_0xd88efc,[_0x5e72c9(0x1f2),'id',_0x5e72c9(0x1fa),'extend']),_0x1f05d7=_0x5e72c9(0x204)['concat'](_0x205c72,'\x20')['concat'](_0x208bc5||'')[_0x5e72c9(0x19d)](),_0x104c59=_0x490fb6('_'[_0x5e72c9(0x1d5)](Ne()));return Y(_0x2875d1,''[_0x5e72c9(0x1d5)](_0x205c72),{'defIds':_0x2875d1[_0x5e72c9(0x159)],'idSuffix':_0x104c59['current']},c({'ref':_0x1a7ec3,'className':_0x1f05d7},_0x873fb6),_0x53dcff);});function Y(_0x168032,_0x3b1097,_0x56ed26,_0x4c0365,_0x18bf77){var _0xbb6eac=_0xf0588f;return _0x144472(_0x168032[_0xbb6eac(0x17b)],c(c({'key':_0x3b1097},Ee(_0x168032,_0x56ed26,_0x18bf77)),_0x4c0365),(we(_0x168032,_0x56ed26)[_0xbb6eac(0x182)]||[])[_0xbb6eac(0x1f1)](function(_0x1d909d,_0x3b58fd){var _0x2135a2=_0xbb6eac;return Y(_0x1d909d,''['concat'](_0x3b1097,'-')['concat'](_0x168032[_0x2135a2(0x17b)],'-')['concat'](_0x3b58fd),_0x56ed26,void 0x0,_0x18bf77);}));}function Ee(_0x54a58b,_0x2c4246,_0x44e388){var _0x3042ac=_0xf0588f,_0x240bcd=c({},_0x54a58b[_0x3042ac(0x1f5)]);_0x44e388!=null&&_0x44e388[_0x3042ac(0x1e6)]&&_0x240bcd[_0x3042ac(0x1bd)]===_0x3042ac(0x1e6)&&(_0x240bcd[_0x3042ac(0x1bd)]=_0x44e388['colorChannel1']),_0x54a58b[_0x3042ac(0x17b)]===_0x3042ac(0x1dc)&&_0x240bcd['id']&&(_0x240bcd['id']=_0x240bcd['id']+_0x2c4246['idSuffix']),Object[_0x3042ac(0x1ff)](_0x240bcd)[_0x3042ac(0x1c7)](function(_0x567f61){var _0x49f3c2=_0x3042ac,_0x2f8b44=_0x567f61[0x0],_0x432f68=_0x567f61[0x1];_0x2f8b44==='mask'&&typeof _0x432f68==_0x49f3c2(0x1c6)&&(_0x240bcd[_0x2f8b44]=_0x432f68[_0x49f3c2(0x158)](/url\(#(.*)\)/,_0x49f3c2(0x1d6)['concat'](_0x2c4246[_0x49f3c2(0x1f7)],')')));});var _0x4725c3=_0x2c4246[_0x3042ac(0x159)];return!_0x4725c3||_0x4725c3[_0x3042ac(0x1ed)]===0x0||(_0x54a58b[_0x3042ac(0x17b)]==='use'&&_0x240bcd[_0x3042ac(0x1df)]&&(_0x240bcd[_0x3042ac(0x1df)]=_0x240bcd[_0x3042ac(0x1df)]+_0x2c4246[_0x3042ac(0x1f7)]),Object[_0x3042ac(0x1ff)](_0x240bcd)['forEach'](function(_0x284466){var _0x2af8fc=_0x3042ac,_0x465a1f=_0x284466[0x0],_0x26a360=_0x284466[0x1];typeof _0x26a360==_0x2af8fc(0x1c6)&&(_0x240bcd[_0x465a1f]=_0x26a360['replace'](/url\(#(.*)\)/,_0x2af8fc(0x1d6)[_0x2af8fc(0x1d5)](_0x2c4246['idSuffix'],')')));})),_0x240bcd;}function we(_0x1a4a14,_0x471b07){var _0x2692ca=_0xf0588f,_0xbd3d5e,_0x27625d=_0x471b07[_0x2692ca(0x159)];return!_0x27625d||_0x27625d['length']===0x0?_0x1a4a14:_0x1a4a14[_0x2692ca(0x17b)]==='defs'&&(!((_0xbd3d5e=_0x1a4a14['children'])===null||_0xbd3d5e===void 0x0)&&_0xbd3d5e['length'])?c(c({},_0x1a4a14),{'children':_0x1a4a14['children'][_0x2692ca(0x1f1)](function(_0x58d284){var _0xa74f31=_0x2692ca;return typeof _0x58d284[_0xa74f31(0x1f5)]['id']==_0xa74f31(0x1c6)&&_0x27625d&&_0x27625d['includes'](_0x58d284[_0xa74f31(0x1f5)]['id'])?c(c({},_0x58d284),{'attrs':c(c({},_0x58d284[_0xa74f31(0x1f5)]),{'id':_0x58d284[_0xa74f31(0x1f5)]['id']+_0x471b07['idSuffix']})}):_0x58d284;})}):_0x1a4a14;}function Ne(){var _0x493c1d=_0xf0588f;return Math[_0x493c1d(0x1ea)]()[_0x493c1d(0x154)](0x24)[_0x493c1d(0x16c)](0x2,0x8);}W[_0xf0588f(0x1f8)]='UniverIcon';var Ce={'tag':_0xf0588f(0x18e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xf0588f(0x1ce),'viewBox':_0xf0588f(0x171),'width':_0xf0588f(0x1bf),'height':'1em'},'children':[{'tag':_0xf0588f(0x1bc),'attrs':{'fill':'currentColor','d':_0xf0588f(0x1ac)}},{'tag':_0xf0588f(0x1bc),'attrs':{'fill':'currentColor','d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':'evenodd','clipRule':_0xf0588f(0x180)}}]},B=_0x16a9e6(function(_0x77a35d,_0xd2411f){var _0x4ec7d6=_0xf0588f;return _0x144472(W,Object[_0x4ec7d6(0x192)]({},_0x77a35d,{'id':'live-share-icon','ref':_0xd2411f,'icon':Ce}));});B[_0xf0588f(0x1f8)]=_0xf0588f(0x1eb);class L extends _0x10571d{constructor(){var _0x19200b=_0xf0588f;super(...arguments),d(this,_0x19200b(0x1ad),new Set()),d(this,_0x19200b(0x196),new Set());}[_0xf0588f(0x15f)](_0x392fa2){var _0x5a5e06=_0xf0588f;return this[_0x5a5e06(0x1ad)]['add'](_0x392fa2),_0x48e11a(()=>this[_0x5a5e06(0x1ad)][_0x5a5e06(0x1b9)](_0x392fa2));}[_0xf0588f(0x167)](_0x56dff1){var _0xce8ee9=_0xf0588f;return this[_0xce8ee9(0x196)]['add'](_0x56dff1),_0x48e11a(()=>this[_0xce8ee9(0x196)][_0xce8ee9(0x1b9)](_0x56dff1));}[_0xf0588f(0x179)](_0x1bbb4e){var _0x5807e2=_0xf0588f;return this[_0x5807e2(0x1ad)]['has'](_0x1bbb4e);}[_0xf0588f(0x1d0)](_0x24b1fc){var _0x5d9d07=_0xf0588f;return Array['from'](this[_0x5d9d07(0x196)])['map'](_0x555f06=>_0x555f06(_0x24b1fc));}}var De=Object[_0xf0588f(0x1fc)],Z=(_0x188e32,_0x3aabd8,_0x33b1cd,_0x3ba85b)=>{var _0x575078=_0xf0588f;for(var _0x255e8c=_0x3ba85b>0x1?void 0x0:_0x3ba85b?De(_0x3aabd8,_0x33b1cd):_0x3aabd8,_0x421dca=_0x188e32[_0x575078(0x1ed)]-0x1,_0x373a52;_0x421dca>=0x0;_0x421dca--)(_0x373a52=_0x188e32[_0x421dca])&&(_0x255e8c=_0x373a52(_0x255e8c)||_0x255e8c);return _0x255e8c;},f=(_0x529447,_0x5362fa)=>(_0x382aad,_0x38ef63)=>_0x5362fa(_0x382aad,_0x38ef63,_0x529447);let m=class extends _0x372cb7{constructor(_0x17e940,_0x141d33,_0x6c3f58){var _0x51d777=_0xf0588f;super(),d(this,_0x51d777(0x1e9),new Map()),(this[_0x51d777(0x1e4)]=_0x17e940,this['_injector']=_0x141d33,this[_0x51d777(0x202)]=_0x6c3f58,this['_init']());}async['getLiveShareCoordinator'](_0x530c59){var _0x23355f=_0xf0588f;return this[_0x23355f(0x1e9)]['has'](_0x530c59)||await this[_0x23355f(0x1a3)](_0x530c59),this[_0x23355f(0x1e9)][_0x23355f(0x1a7)](_0x530c59);}[_0xf0588f(0x186)](){var _0x4e6bfa=_0xf0588f;this[_0x4e6bfa(0x1e4)][_0x4e6bfa(0x1ee)](_0x4c3c61['UNIVER_SHEET'])[_0x4e6bfa(0x1b2)](_0x247bb8(this['dispose$']))[_0x4e6bfa(0x1b6)](async _0x41bc35=>{var _0xd2e05e=_0x4e6bfa;const _0x22d627=_0x41bc35[_0xd2e05e(0x1a8)]();this[_0xd2e05e(0x1e9)][_0xd2e05e(0x15d)](_0x22d627)||this[_0xd2e05e(0x1a3)](_0x22d627);}),this[_0x4e6bfa(0x1e4)][_0x4e6bfa(0x1a2)](_0x4c3c61[_0x4e6bfa(0x162)])['pipe'](_0x247bb8(this['dispose$']))['subscribe'](_0x2eb7de=>{var _0x54475b=_0x4e6bfa;const _0x379e32=_0x2eb7de[_0x54475b(0x1a8)](),_0x1e22db=this[_0x54475b(0x1e9)][_0x54475b(0x1a7)](_0x379e32);_0x1e22db==null||_0x1e22db[_0x54475b(0x1af)]();});}async['_startLiveShareCoordinator'](_0x4cbf45){var _0x3dd08d=_0xf0588f;const _0x12e338=await this['_collabSessionService'][_0x3dd08d(0x194)](_0x4cbf45),_0x3f5eb4=this[_0x3dd08d(0x176)][_0x3dd08d(0x183)](C,_0x4cbf45,_0x12e338);return _0x3f5eb4['init'](),this['_entities'][_0x3dd08d(0x163)](_0x4cbf45,_0x3f5eb4),_0x3f5eb4;}};m=Z([f(0x0,_0x344d2c),f(0x1,_0x68914(_0x355540)),f(0x2,_0x68914(_0x36448a))],m);var h=(_0x57cba2=>(_0x57cba2['OFFLINE']=_0xf0588f(0x205),_0x57cba2[_0xf0588f(0x15e)]='idle',_0x57cba2[_0xf0588f(0x160)]='following',_0x57cba2[_0xf0588f(0x1c0)]='not-following',_0x57cba2[_0xf0588f(0x195)]=_0xf0588f(0x1cd),_0x57cba2))(h||{});const xe=_0xf0588f(0x1da),Le=0xc8;let C=class extends _0x372cb7{constructor(_0x315c9c,_0x4056b5,_0x2917e3,_0x381809,_0x349fc2){var _0x55737b=_0xf0588f;super(),d(this,_0x55737b(0x1b0),new _0x2bcf5b(_0x55737b(0x19e))),d(this,_0x55737b(0x19f),this[_0x55737b(0x1b0)][_0x55737b(0x17e)]()),d(this,_0x55737b(0x186),!0x1),d(this,_0x55737b(0x175),null),d(this,_0x55737b(0x16e),null),(this['_unitID']=_0x315c9c,this['_collabSession']=_0x4056b5,this['_configService']=_0x2917e3,this[_0x55737b(0x185)]=_0x381809,this['_commandService']=_0x349fc2);}get[_0xf0588f(0x16b)](){var _0x19b68e=_0xf0588f;return this[_0x19b68e(0x1b0)]['getValue']();}[_0xf0588f(0x1af)](){var _0x2b3745=_0xf0588f,_0x3254b0;(_0x3254b0=this['_commandDisposable'])==null||_0x3254b0[_0x2b3745(0x1af)](),this[_0x2b3745(0x1b0)]['next'](_0x2b3745(0x19e)),this[_0x2b3745(0x1b0)]['complete']();}[_0xf0588f(0x17c)](){var _0x2c71d7=_0xf0588f;this[_0x2c71d7(0x186)]||(this[_0x2c71d7(0x186)]=!0x0,this[_0x2c71d7(0x1e2)][_0x2c71d7(0x1a1)][_0x2c71d7(0x1b2)](_0x247bb8(this[_0x2c71d7(0x1db)]))['subscribe'](_0x265ae9=>{var _0x2cd28f=_0x2c71d7;switch(_0x265ae9){case _0x37ff83['OFFLINE']:this[_0x2cd28f(0x1d9)]();break;case _0x37ff83[_0x2cd28f(0x1ab)]:this[_0x2cd28f(0x173)]();break;}}),this[_0x2c71d7(0x1e2)][_0x2c71d7(0x172)][_0x2c71d7(0x1b2)](_0x247bb8(this[_0x2c71d7(0x1db)]))[_0x2c71d7(0x1b6)](_0x1b9fc2=>{var _0x557688=_0x2c71d7;const {eventID:_0x4dbaf9}=_0x1b9fc2;switch(_0x4dbaf9){case _0x1b6ec8[_0x557688(0x1c1)]:this[_0x557688(0x1f9)](_0x1b9fc2);break;case _0x1b6ec8[_0x557688(0x1cb)]:this[_0x557688(0x1f3)](_0x1b9fc2);break;case _0x1b6ec8[_0x557688(0x1e8)]:this[_0x557688(0x1c2)]();break;case _0x1b6ec8[_0x557688(0x19a)]:this[_0x557688(0x17a)](_0x1b9fc2);break;}}));}[_0xf0588f(0x15c)](){var _0x181b75=_0xf0588f;this['_collabSession']['send']({'eventID':_0x1b6ec8[_0x181b75(0x1e5)],'data':{'unitID':this[_0x181b75(0x177)],'userID':this[_0x181b75(0x1e2)]['getMemberID']()}},this[_0x181b75(0x177)]);}[_0xf0588f(0x1fb)](){var _0x4c30c9=_0xf0588f;this['_status']==='presenting'&&(this['_status$'][_0x4c30c9(0x1a5)](_0x4c30c9(0x19e)),this[_0x4c30c9(0x1e2)][_0x4c30c9(0x191)]({'eventID':_0x1b6ec8['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x4c30c9(0x177)]}},this[_0x4c30c9(0x177)]));}[_0xf0588f(0x1f4)](){var _0x55aa9f=_0xf0588f;this[_0x55aa9f(0x16b)]===_0x55aa9f(0x1a6)&&(this[_0x55aa9f(0x1b0)]['next'](_0x55aa9f(0x1bb)),this[_0x55aa9f(0x1d1)]());}[_0xf0588f(0x181)](){var _0x1c38a2=_0xf0588f;this[_0x1c38a2(0x16b)]==='following'&&this['_stopFollowing']();}[_0xf0588f(0x1f9)](_0x4c4bb4){var _0x4fb695=_0xf0588f;const {presenter:_0x446d4f}=_0x4c4bb4[_0x4fb695(0x165)],_0x484e62=this[_0x4fb695(0x1e2)][_0x4fb695(0x168)]();this[_0x4fb695(0x16e)]=_0x446d4f,_0x446d4f===_0x484e62?(this[_0x4fb695(0x1aa)](),this[_0x4fb695(0x1d4)]()):this[_0x4fb695(0x16b)]!==_0x4fb695(0x1a6)&&(this['_stopPresenting'](),this[_0x4fb695(0x1d1)]());}['_fetchOperations'](){var _0x216ce2=_0xf0588f;const _0x1b1f40={'eventID':_0x1b6ec8[_0x216ce2(0x18a)]};this['_collabSession']['send'](_0x1b1f40,this[_0x216ce2(0x177)]);}[_0xf0588f(0x1c2)](){var _0x335c13=_0xf0588f;this[_0x335c13(0x16e)]=null,this[_0x335c13(0x16b)]!==_0x335c13(0x1cd)&&this[_0x335c13(0x16d)]();}[_0xf0588f(0x17a)](_0x17916e){var _0x1c8239=_0xf0588f;if(this[_0x1c8239(0x16b)]==='following'&&this[_0x1c8239(0x16e)]===_0x17916e['data'][_0x1c8239(0x1b4)]){const _0x5c5b0d=_0x5d3d5f(_0x17916e[_0x1c8239(0x165)])[_0x1c8239(0x19c)][_0x1c8239(0x1ae)]()[_0x1c8239(0x1c5)](_0x267f7d=>_0x267f7d['id']===_0x462961['id']);if(_0x5c5b0d){const _0x7037c8=_0x5c5b0d['params'][_0x1c8239(0x166)],_0x33f292=_0x5c5b0d['params'][_0x1c8239(0x18f)]['id'];setTimeout(()=>{var _0x4d6e8f=_0x1c8239;this[_0x4d6e8f(0x1ec)][_0x4d6e8f(0x1a0)](_0xb98e3c['id'],{'unitId':_0x7037c8,'subUnitId':_0x33f292},{'fromCollab':!0x0});});}}}['_startPresenting'](){var _0x167312=_0xf0588f;this[_0x167312(0x1b0)][_0x167312(0x1a5)]('presenting');const _0x8f4a51=new Map(),_0x29d526=this[_0x167312(0x175)]=new _0x260e95();_0x29d526[_0x167312(0x1f6)](_0x48e11a(()=>{var _0x2f5c74=_0x167312;_0x8f4a51[_0x2f5c74(0x1c7)](_0x3f1e4e=>_0x3f1e4e[_0x2f5c74(0x1c4)]()),_0x8f4a51[_0x2f5c74(0x164)]();})),_0x29d526[_0x167312(0x1f6)](this[_0x167312(0x1ec)][_0x167312(0x197)](_0x11753e=>{var _0x5c7170=_0x167312,_0x3159b9;if(_0x11753e[_0x5c7170(0x18c)]!==_0x3829f0[_0x5c7170(0x193)]||!this['_liveShareService']['shouldShareOperation'](_0x11753e['id']))return;const {id:_0x258001}=_0x11753e;let _0x16a3cd;_0x8f4a51['has'](_0x258001)?_0x16a3cd=_0x8f4a51[_0x5c7170(0x1a7)](_0x258001):(_0x16a3cd=new _0x239e6b(),_0x8f4a51['set'](_0x258001,_0x16a3cd),_0x16a3cd[_0x5c7170(0x1b2)](_0x417704((_0x3159b9=this[_0x5c7170(0x1d3)][_0x5c7170(0x198)](xe))!=null?_0x3159b9:Le,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x5c7170(0x1b6)](_0x1d33a9=>{var _0x18726f=_0x5c7170;this[_0x18726f(0x1e2)][_0x18726f(0x191)]({'eventID':_0x1b6ec8[_0x18726f(0x1cb)],'data':{'unitID':this['_unitID'],'operations':{[_0x1d33a9['id']]:{'id':_0x1d33a9['id'],'params':JSON['stringify'](_0x1d33a9['params'])}}}},this['_unitID']);})),_0x16a3cd['next'](_0x11753e);})),this[_0x167312(0x185)]['getInitialStates'](this[_0x167312(0x177)])[_0x167312(0x1c7)](_0x1d69e2=>this[_0x167312(0x1e2)][_0x167312(0x191)]({'eventID':_0x1b6ec8['LIVESHARE_OPERATION'],'data':{'unitID':this['_unitID'],'operations':{[_0x1d69e2['id']]:{'id':_0x1d69e2['id'],'params':JSON[_0x167312(0x170)](_0x1d69e2['params'])}}}},this[_0x167312(0x177)]));}[_0xf0588f(0x169)](){var _0x5924ef=_0xf0588f,_0x1e3cc7;this[_0x5924ef(0x1b0)][_0x5924ef(0x1a5)](_0x5924ef(0x19e)),(_0x1e3cc7=this[_0x5924ef(0x175)])==null||_0x1e3cc7[_0x5924ef(0x1af)](),this[_0x5924ef(0x175)]=null;}['_startFollowing'](){var _0x3359ae=_0xf0588f,_0x5d6056;(_0x5d6056=this[_0x3359ae(0x175)])==null||_0x5d6056[_0x3359ae(0x1af)](),this['_status$']['next'](_0x3359ae(0x1bb));}[_0xf0588f(0x16d)](){var _0x3e4c97=_0xf0588f,_0x2194b9;this['_status$']['next'](_0x3e4c97(0x19e)),(_0x2194b9=this['_commandDisposable'])==null||_0x2194b9[_0x3e4c97(0x1af)](),this[_0x3e4c97(0x175)]=null;}[_0xf0588f(0x1aa)](){var _0x5d2866=_0xf0588f,_0x43769d;this['_status$'][_0x5d2866(0x1a5)](_0x5d2866(0x1a6)),(_0x43769d=this[_0x5d2866(0x175)])==null||_0x43769d[_0x5d2866(0x1af)]();}['_handleOperation'](_0x5550b9){var _0x418763=_0xf0588f;if([_0x418763(0x1cd),'not-following',_0x418763(0x205)][_0x418763(0x161)](this[_0x418763(0x16b)])||!_0x5550b9[_0x418763(0x165)][_0x418763(0x16f)]||_0x5550b9[_0x418763(0x165)][_0x418763(0x16f)]===this[_0x418763(0x1e2)][_0x418763(0x168)]())return;this[_0x418763(0x16b)]===_0x418763(0x19e)&&this[_0x418763(0x1d1)]();const _0x10666c=_0x5550b9['data'][_0x418763(0x1c9)];Object[_0x418763(0x1ca)](_0x10666c)[_0x418763(0x1c7)](_0x28d0d2=>{var _0x15b959=_0x418763;this[_0x15b959(0x1ec)][_0x15b959(0x1a0)](_0x28d0d2['id'],_0x28d0d2[_0x15b959(0x1b1)]?JSON['parse'](_0x28d0d2[_0x15b959(0x1b1)]):null,{'fromCollab':!0x0});});}[_0xf0588f(0x1d9)](){var _0x3b3e4d=_0xf0588f,_0x581bab;this[_0x3b3e4d(0x1b0)][_0x3b3e4d(0x1a5)](_0x3b3e4d(0x205)),(_0x581bab=this[_0x3b3e4d(0x175)])==null||_0x581bab[_0x3b3e4d(0x1af)]();}[_0xf0588f(0x173)](){var _0x5593a3=_0xf0588f;this[_0x5593a3(0x1b0)][_0x5593a3(0x1a5)]('idle'),this['_fetchOperations']();}};C=Z([f(0x2,_0x2c88fb),f(0x3,_0x68914(L)),f(0x4,_0xdc74d2)],C);function ye(){var _0x4f213d=_0xf0588f;const _0xc303c2=_0x5ed6d8(m),_0x2a6f45=_0x5ed6d8(_0x344d2c),_0x3f5607=_0x5099d5(()=>_0x2a6f45[_0x4f213d(0x1cf)](_0x4c3c61[_0x4f213d(0x162)]),void 0x0,!0x1,[]),[_0x13686f,_0x3d8a7b]=_0x1b5347(null),[_0x230091,_0x54acf7]=_0x1b5347(h[_0x4f213d(0x15e)]),_0x4906bd=_0x490fb6(null);return _0x2e846d(()=>(_0x3f5607&&_0xc303c2['getLiveShareCoordinator'](_0x3f5607['getUnitId']())['then'](_0x518f3f=>{_0x3d8a7b(_0x518f3f),_0x4906bd['current']=_0x518f3f['status$']['subscribe'](_0x44c0ca=>{_0x54acf7(_0x44c0ca);});}),()=>{var _0x3bc3ca=_0x4f213d,_0x348405;(_0x348405=_0x4906bd[_0x3bc3ca(0x1b3)])==null||_0x348405[_0x3bc3ca(0x15b)](),_0x4906bd[_0x3bc3ca(0x1b3)]=null;}),[_0x3f5607,_0xc303c2]),_0x13686f?_0x7d6475(_0x37f252,{'align':'end','disabled':_0x230091===h['OFFLINE'],'className':_0x4f213d(0x190),'overlay':_0x7d6475(Re,{'status':_0x230091,'coordinator':_0x13686f}),'children':_0x7d6475(_0x4f213d(0x1e3),{'className':_0x3844f1(_0x4f213d(0x1d8),{'univer-cursor-not-allowed':_0x230091===h[_0x4f213d(0x1ba)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x230091!==h[_0x4f213d(0x1ba)]}),'type':_0x4f213d(0x1e3),'children':_0x7d6475(B,{'className':'univer-size-4'})})}):null;}function Re(_0x405ba3){var _0x5e0602=_0xf0588f;const {status:_0x5d5fe6,coordinator:_0x5037e2}=_0x405ba3;switch(_0x5d5fe6){case h[_0x5e0602(0x15e)]:return _0x7d6475(Pe,{'coordinator':_0x5037e2});case h[_0x5e0602(0x160)]:return _0x7d6475(Ae,{'coordinator':_0x5037e2});case h[_0x5e0602(0x1c0)]:return _0x7d6475(Te,{'coordinator':_0x5037e2});case h[_0x5e0602(0x1ba)]:return _0x7d6475(Fe,{});case h[_0x5e0602(0x195)]:return _0x7d6475($e,{'coordinator':_0x5037e2});default:return null;}}function Pe(_0x172515){var _0x454274=_0xf0588f;const {coordinator:_0x372d62}=_0x172515;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x454274(0x18b),{'className':_0x454274(0x1b7),'children':'Present\x20this\x20document'}),_0x7d6475(_0x3da79b,{'onClick':()=>_0x372d62[_0x454274(0x15c)](),'children':_0x454274(0x1dd)})]});}function Ae(_0x12b24f){var _0x1417d2=_0xf0588f;const {coordinator:_0x38708f}=_0x12b24f;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x1417d2(0x18b),{'className':_0x1417d2(0x1b7),'children':_0x1417d2(0x155)}),_0x7d6475(_0x3da79b,{'onClick':()=>_0x38708f[_0x1417d2(0x181)](),'children':_0x1417d2(0x1a4)})]});}function Te(_0x2640b3){var _0x52ccaa=_0xf0588f;const {coordinator:_0x5c3c72}=_0x2640b3;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x52ccaa(0x18b),{'className':_0x52ccaa(0x1b7),'children':_0x52ccaa(0x189)}),_0x7d6475(_0x3da79b,{'variant':_0x52ccaa(0x1fe),'onClick':()=>_0x5c3c72[_0x52ccaa(0x1f4)](),'children':_0x52ccaa(0x17f)})]});}function $e(_0x3d7ee4){var _0x5a26b6=_0xf0588f;const {coordinator:_0x13357e}=_0x3d7ee4;return _0x492ee1(_0xfb239c,{'children':[_0x7d6475(_0x5a26b6(0x18b),{'className':_0x5a26b6(0x1b7),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x7d6475(_0x3da79b,{'variant':_0x5a26b6(0x15a),'onClick':()=>_0x13357e[_0x5a26b6(0x1fb)](),'children':'Stop\x20presenting'})]});}function Fe(){return _0x7d6475(_0xfb239c,{'children':'You\x27are\x20offline.'});}var He=Object[_0xf0588f(0x1fc)],je=(_0x2b2b96,_0x24a5e2,_0x3a46bc,_0x135026)=>{var _0x5823aa=_0xf0588f;for(var _0x167fa8=_0x135026>0x1?void 0x0:_0x135026?He(_0x24a5e2,_0x3a46bc):_0x24a5e2,_0xbbc669=_0x2b2b96[_0x5823aa(0x1ed)]-0x1,_0x238629;_0xbbc669>=0x0;_0xbbc669--)(_0x238629=_0x2b2b96[_0xbbc669])&&(_0x167fa8=_0x238629(_0x167fa8)||_0x167fa8);return _0x167fa8;},T=(_0x248e23,_0x17da4d)=>(_0x8b2433,_0x4ef257)=>_0x17da4d(_0x8b2433,_0x4ef257,_0x248e23);let I=class extends _0x10571d{constructor(_0x4b1565,_0x576793){var _0x2849ed=_0xf0588f;super(),this['_injector']=_0x4b1565,this[_0x2849ed(0x18d)]=_0x576793,this[_0x2849ed(0x1b5)]();}[_0xf0588f(0x1b5)](){var _0x401e95=_0xf0588f;this['disposeWithMe'](this[_0x401e95(0x18d)][_0x401e95(0x1f0)](_0xcde8b6[_0x401e95(0x1de)],()=>_0x114849(ye,this[_0x401e95(0x176)])));}};function _0x59da(){var _0x9b3a12=['length','getTypeOfUnitAdded$','defineProperty','registerComponent','map','icon','_handleOperation','startFollowing','attrs','add','idSuffix','displayName','_handleNewHost','className','stopPresenting','getOwnPropertyDescriptor','function','text','entries','hasOwnProperty','apply','_collabSessionService','indexOf','univerjs-icon\x20univerjs-icon-','offline','toString','You\x27re\x20following\x20the\x20presenter','21KwBwxE','pluginName','replace','defIds','default','unsubscribe','tryStartPresenting','has','IDLE','registerSharedOperation','FOLLOWING','includes','UNIVER_SHEET','set','clear','data','unitId','registerInitialStateReporter','getMemberID','_stopPresenting','setConfig','_status','substring','_beIdle','_presenter','presenter','stringify','0\x200\x2017\x2017','event$','_handleOnline','call','_commandDisposable','_injector','_unitID','extend','shouldShareOperation','_handleNewChangeSets','tag','init','symbol','asObservable','Start\x20following','evenodd','stopFollowing','children','createInstance','2366904pzfceq','_liveShareService','_init','124118AZunyj','1865143cSYIID','You\x27re\x20not\x20following\x20the\x20presenter','LIVESHARE_FETCH_OPERATIONS','div','type','_uiPartsService','svg','sheet','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','send','assign','OPERATION','requireSession','PRESENTING','_reporters','onCommandExecuted','getConfig','6099594rimrZD','NEW_CHANGESETS','prototype','mutations','trim','idle','status$','executeCommand','sessionStatus$','getTypeOfUnitDisposed$','_startLiveShareCoordinator','Stop\x20following','next','not-following','get','getUnitId','onStarting','_stopFollowing','ONLINE','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','_sharedOperations','reverse','dispose','_status$','params','pipe','current','memberID','_mountLiveShare','subscribe','univer-mb-3\x20univer-w-full\x20univer-text-sm','3736335jXDOvA','delete','OFFLINE','following','path','fill','UNIVER_LIVE_SHARE_PLUGIN','1em','NOT_FOLLOWING','LIVESHARE_NEW_HOST','_handleTerminate','1040520mEeWcS','complete','find','string','forEach','4488201BmslUm','operations','values','LIVESHARE_OPERATION','24baDhpI','presenting','none','getCurrentTypeOfUnit$','getInitialStates','_startFollowing','UNIVER_UNKNOWN','_configService','_startPresenting','concat','url(#$1','live-share.config','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','_handleOffline','SAME_OPERATION_SHARE_INTERVAL','dispose$','mask','Start','HEADER_MENU','xlink:href','10ZmokdP','_config','_collabSession','button','_univerInstanceService','LIVESHARE_REQUEST_HOST','colorChannel1','getOwnPropertySymbols','LIVESHARE_TERMINATE','_entities','random','LiveShareIcon','_commandService'];_0x59da=function(){return _0x9b3a12;};return _0x59da();}I=je([T(0x0,_0x68914(_0x355540)),T(0x1,_0x5e9bd8)],I);const Ue=_0xf0588f(0x1d7),$={};var Ve=Object[_0xf0588f(0x1fc)],Me=(_0x412c5b,_0x577398,_0x5db069,_0x1669d9)=>{var _0x434d78=_0xf0588f;for(var _0x78cdf1=_0x1669d9>0x1?void 0x0:_0x1669d9?Ve(_0x577398,_0x5db069):_0x577398,_0x4e2c80=_0x412c5b[_0x434d78(0x1ed)]-0x1,_0x3878fc;_0x4e2c80>=0x0;_0x4e2c80--)(_0x3878fc=_0x412c5b[_0x4e2c80])&&(_0x78cdf1=_0x3878fc(_0x78cdf1)||_0x78cdf1);return _0x78cdf1;},ke=(_0xd3da10,_0x47f95c)=>(_0x1f8779,_0x2d0652)=>_0x47f95c(_0x1f8779,_0x2d0652,_0xd3da10);let b=class extends _0x10571d{constructor(_0x12ec11){var _0x49dade=_0xf0588f;super(),this[_0x49dade(0x185)]=_0x12ec11,this[_0x49dade(0x186)]();}['_init'](){var _0x4d3406=_0xf0588f;[_0x495ed0['id'],_0x5e8ec9['id'],_0xb98e3c['id']][_0x4d3406(0x1c7)](_0x2686fa=>{var _0x3e2268=_0x4d3406;this['disposeWithMe'](this[_0x3e2268(0x185)][_0x3e2268(0x15f)](_0x2686fa));});}};b=Me([ke(0x0,_0x68914(L))],b);var Ge=Object[_0xf0588f(0x1ef)],We=Object[_0xf0588f(0x1fc)],Ye=(_0x294a42,_0x4d88ce,_0x557ad8)=>_0x4d88ce in _0x294a42?Ge(_0x294a42,_0x4d88ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557ad8}):_0x294a42[_0x4d88ce]=_0x557ad8,Be=(_0x3bfbf3,_0x458cc6,_0x2d7616,_0x2b64db)=>{for(var _0x3b8d3a=_0x2b64db>0x1?void 0x0:_0x2b64db?We(_0x458cc6,_0x2d7616):_0x458cc6,_0x1b87d6=_0x3bfbf3['length']-0x1,_0x556736;_0x1b87d6>=0x0;_0x1b87d6--)(_0x556736=_0x3bfbf3[_0x1b87d6])&&(_0x3b8d3a=_0x556736(_0x3b8d3a)||_0x3b8d3a);return _0x3b8d3a;},F=(_0x3e3f93,_0x165f8e)=>(_0x1b2470,_0x20e357)=>_0x165f8e(_0x1b2470,_0x20e357,_0x3e3f93),J=(_0x22b303,_0x14477d,_0x28500d)=>Ye(_0x22b303,typeof _0x14477d!=_0xf0588f(0x17d)?_0x14477d+'':_0x14477d,_0x28500d);const Ze=_0xf0588f(0x1be);let O=class extends _0x519c08{constructor(_0x2033a2=$,_0x5812ce,_0x11e615){var _0x20f6e7=_0xf0588f;super(),this[_0x20f6e7(0x1e1)]=_0x2033a2,this[_0x20f6e7(0x176)]=_0x5812ce,this['_configService']=_0x11e615;const {..._0x596504}=_0x252811({},$,this[_0x20f6e7(0x1e1)]);this[_0x20f6e7(0x1d3)][_0x20f6e7(0x16a)](Ue,_0x596504);}[_0xf0588f(0x1a9)](){var _0x26a411=_0xf0588f;_0x1cfa1f(this[_0x26a411(0x176)],_0x4cfe19([[L],[m],[b],[I]],this[_0x26a411(0x1e1)]['override'])),_0x4e427e(this[_0x26a411(0x176)],[[b]]);}['onRendered'](){var _0x43d906=_0xf0588f;_0x4e427e(this[_0x43d906(0x176)],[[I]]);}};J(O,'type',_0x4c3c61[_0xf0588f(0x1d2)]),J(O,_0xf0588f(0x157),Ze),O=Be([_0x9fac4b(_0x29d85d),F(0x1,_0x68914(_0x355540)),F(0x2,_0x2c88fb)],O);export{I as DesktopLiveShareController,ye as LiveShare,m as LiveShareController,C as LiveShareCoordinator,L as LiveShareService,h as LiveShareStatus,O as UniverLiveSharePlugin};
1
+ var _0x5b4310=_0x2831;(function(_0x338132,_0xcec2af){var _0x46d54f=_0x2831,_0x4cd521=_0x338132();while(!![]){try{var _0x14cd17=parseInt(_0x46d54f(0x1f7))/0x1*(-parseInt(_0x46d54f(0x259))/0x2)+-parseInt(_0x46d54f(0x24a))/0x3*(parseInt(_0x46d54f(0x238))/0x4)+-parseInt(_0x46d54f(0x287))/0x5*(-parseInt(_0x46d54f(0x282))/0x6)+parseInt(_0x46d54f(0x280))/0x7+parseInt(_0x46d54f(0x251))/0x8*(parseInt(_0x46d54f(0x1f5))/0x9)+-parseInt(_0x46d54f(0x233))/0xa*(parseInt(_0x46d54f(0x21e))/0xb)+parseInt(_0x46d54f(0x295))/0xc;if(_0x14cd17===_0xcec2af)break;else _0x4cd521['push'](_0x4cd521['shift']());}catch(_0x412dbb){_0x4cd521['push'](_0x4cd521['shift']());}}}(_0x4945,0x8d3e1));var q=Object[_0x5b4310(0x25c)],z=(_0x2adaa9,_0x5ca62f,_0x21fcf3)=>_0x5ca62f in _0x2adaa9?q(_0x2adaa9,_0x5ca62f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21fcf3}):_0x2adaa9[_0x5ca62f]=_0x21fcf3,d=(_0x6d3e1a,_0xfed254,_0x4975cd)=>z(_0x6d3e1a,typeof _0xfed254!=_0x5b4310(0x25a)?_0xfed254+'':_0xfed254,_0x4975cd);import{Disposable as _0x69cad7,toDisposable as _0x1fbd6b,IUniverInstanceService as _0x3bfee1,Inject as _0x3d1151,Injector as _0xae58b1,IConfigService as _0xaa789e,ICommandService as _0x32c700,RxDisposable as _0x1cb074,UniverInstanceType as _0x1ce52a,DisposableCollection as _0x435087,CommandType as _0x58d836,DependentOn as _0x144cbf,Plugin as _0x2b5a24,merge as _0x168cce,registerDependencies as _0x3b0c1f,mergeOverrideWithDependencies as _0x352513,touchDependencies as _0x3ce219}from'@univerjs/core';import{useDependency as _0x333ece,useObservable as _0x52b939,IUIPartsService as _0x4ed166,BuiltInUIPart as _0x546689,connectInjector as _0x20fa1f}from'@univerjs/ui';import{jsx as _0x5c3320,jsxs as _0x257786,Fragment as _0x35252f}from'react/jsx-runtime';import{Dropdown as _0x59325e,clsx as _0x738d51,Button as _0x42e222}from'@univerjs/design';import{forwardRef as _0x1b3771,useRef as _0x3499e7,createElement as _0x1054bf,useState as _0xb969fe,useEffect as _0x2fcf94}from'react';import{CollaborationEvent as _0x2913c2,parseProtocolChangeset as _0x41e6ff}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x4acfd1,SessionStatus as _0x5dfcdc,UniverCollaborationClientPlugin as _0x11f1f3}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x313414,SetWorksheetActiveOperation as _0x1788b2}from'@univerjs/sheets';import{BehaviorSubject as _0x56096e,Subject as _0x2a7e40}from'rxjs';import{takeUntil as _0x104b09,throttleTime as _0x33ce8f}from'rxjs/operators';import{SetZoomRatioOperation as _0x4137e1,SetScrollOperation as _0x46281c}from'@univerjs/sheets-ui';var c=function(){var _0x39ef9a=_0x5b4310;return c=Object[_0x39ef9a(0x229)]||function(_0x4bb908){var _0x20de85=_0x39ef9a;for(var _0x331d22,_0x489e4b=0x1,_0x4c3577=arguments['length'];_0x489e4b<_0x4c3577;_0x489e4b++){_0x331d22=arguments[_0x489e4b];for(var _0x268fea in _0x331d22)Object['prototype'][_0x20de85(0x26b)][_0x20de85(0x274)](_0x331d22,_0x268fea)&&(_0x4bb908[_0x268fea]=_0x331d22[_0x268fea]);}return _0x4bb908;},c[_0x39ef9a(0x240)](this,arguments);},Oe=function(_0x1d541e,_0x4cbcd7){var _0x2b7b1e=_0x5b4310,_0x409737={};for(var _0x5bdd23 in _0x1d541e)Object[_0x2b7b1e(0x24f)][_0x2b7b1e(0x26b)]['call'](_0x1d541e,_0x5bdd23)&&_0x4cbcd7[_0x2b7b1e(0x28c)](_0x5bdd23)<0x0&&(_0x409737[_0x5bdd23]=_0x1d541e[_0x5bdd23]);if(_0x1d541e!=null&&typeof Object[_0x2b7b1e(0x1fd)]=='function'){for(var _0xe0d942=0x0,_0x5bdd23=Object[_0x2b7b1e(0x1fd)](_0x1d541e);_0xe0d942<_0x5bdd23[_0x2b7b1e(0x285)];_0xe0d942++)_0x4cbcd7[_0x2b7b1e(0x28c)](_0x5bdd23[_0xe0d942])<0x0&&Object[_0x2b7b1e(0x24f)][_0x2b7b1e(0x24d)][_0x2b7b1e(0x274)](_0x1d541e,_0x5bdd23[_0xe0d942])&&(_0x409737[_0x5bdd23[_0xe0d942]]=_0x1d541e[_0x5bdd23[_0xe0d942]]);}return _0x409737;},W=_0x1b3771(function(_0x5e49ca,_0x1b0a50){var _0x4c36d0=_0x5b4310,_0x34917d=_0x5e49ca['icon'],_0x2f61a0=_0x5e49ca['id'],_0x3e07ec=_0x5e49ca[_0x4c36d0(0x226)],_0x20502f=_0x5e49ca[_0x4c36d0(0x22f)],_0x52a194=Oe(_0x5e49ca,[_0x4c36d0(0x24b),'id',_0x4c36d0(0x226),_0x4c36d0(0x22f)]),_0xbce730=_0x4c36d0(0x277)['concat'](_0x2f61a0,'\x20')[_0x4c36d0(0x28f)](_0x3e07ec||'')[_0x4c36d0(0x25f)](),_0x4aa001=_0x3499e7('_'[_0x4c36d0(0x28f)](Ne()));return Y(_0x34917d,''[_0x4c36d0(0x28f)](_0x2f61a0),{'defIds':_0x34917d[_0x4c36d0(0x1f9)],'idSuffix':_0x4aa001[_0x4c36d0(0x1fa)]},c({'ref':_0x1b0a50,'className':_0xbce730},_0x52a194),_0x20502f);});function Y(_0x5b4654,_0x30d5ec,_0x2d0796,_0x2cfed3,_0x3590ef){var _0x58d4e1=_0x5b4310;return _0x1054bf(_0x5b4654[_0x58d4e1(0x281)],c(c({'key':_0x30d5ec},Ee(_0x5b4654,_0x2d0796,_0x3590ef)),_0x2cfed3),(we(_0x5b4654,_0x2d0796)[_0x58d4e1(0x289)]||[])[_0x58d4e1(0x21b)](function(_0x33fd7c,_0x1a89a0){var _0x288303=_0x58d4e1;return Y(_0x33fd7c,''[_0x288303(0x28f)](_0x30d5ec,'-')['concat'](_0x5b4654[_0x288303(0x281)],'-')['concat'](_0x1a89a0),_0x2d0796,void 0x0,_0x3590ef);}));}function Ee(_0x21e68a,_0x82e2b8,_0x36e477){var _0x222a27=_0x5b4310,_0x39bd8a=c({},_0x21e68a[_0x222a27(0x1fb)]);_0x36e477!=null&&_0x36e477['colorChannel1']&&_0x39bd8a[_0x222a27(0x27e)]==='colorChannel1'&&(_0x39bd8a[_0x222a27(0x27e)]=_0x36e477[_0x222a27(0x246)]),_0x21e68a[_0x222a27(0x281)]==='mask'&&_0x39bd8a['id']&&(_0x39bd8a['id']=_0x39bd8a['id']+_0x82e2b8[_0x222a27(0x211)]),Object[_0x222a27(0x21d)](_0x39bd8a)[_0x222a27(0x261)](function(_0x3061b0){var _0x5a68e1=_0x222a27,_0x42d412=_0x3061b0[0x0],_0xc1a5fa=_0x3061b0[0x1];_0x42d412===_0x5a68e1(0x25b)&&typeof _0xc1a5fa=='string'&&(_0x39bd8a[_0x42d412]=_0xc1a5fa['replace'](/url\(#(.*)\)/,_0x5a68e1(0x239)['concat'](_0x82e2b8[_0x5a68e1(0x211)],')')));});var _0x95d032=_0x82e2b8['defIds'];return!_0x95d032||_0x95d032[_0x222a27(0x285)]===0x0||(_0x21e68a[_0x222a27(0x281)]===_0x222a27(0x286)&&_0x39bd8a[_0x222a27(0x210)]&&(_0x39bd8a['xlink:href']=_0x39bd8a[_0x222a27(0x210)]+_0x82e2b8[_0x222a27(0x211)]),Object[_0x222a27(0x21d)](_0x39bd8a)[_0x222a27(0x261)](function(_0x1f00b9){var _0x34f7f6=_0x222a27,_0x5822e0=_0x1f00b9[0x0],_0x4db919=_0x1f00b9[0x1];typeof _0x4db919==_0x34f7f6(0x207)&&(_0x39bd8a[_0x5822e0]=_0x4db919[_0x34f7f6(0x25d)](/url\(#(.*)\)/,_0x34f7f6(0x239)[_0x34f7f6(0x28f)](_0x82e2b8['idSuffix'],')')));})),_0x39bd8a;}function we(_0x25cf47,_0x4b11d6){var _0x1d6bfa=_0x5b4310,_0x2a37b0,_0x207099=_0x4b11d6['defIds'];return!_0x207099||_0x207099[_0x1d6bfa(0x285)]===0x0?_0x25cf47:_0x25cf47[_0x1d6bfa(0x281)]===_0x1d6bfa(0x1f6)&&(!((_0x2a37b0=_0x25cf47[_0x1d6bfa(0x289)])===null||_0x2a37b0===void 0x0)&&_0x2a37b0[_0x1d6bfa(0x285)])?c(c({},_0x25cf47),{'children':_0x25cf47[_0x1d6bfa(0x289)]['map'](function(_0x4f0153){var _0x5c011e=_0x1d6bfa;return typeof _0x4f0153[_0x5c011e(0x1fb)]['id']==_0x5c011e(0x207)&&_0x207099&&_0x207099[_0x5c011e(0x266)](_0x4f0153[_0x5c011e(0x1fb)]['id'])?c(c({},_0x4f0153),{'attrs':c(c({},_0x4f0153['attrs']),{'id':_0x4f0153[_0x5c011e(0x1fb)]['id']+_0x4b11d6['idSuffix']})}):_0x4f0153;})}):_0x25cf47;}function Ne(){var _0x5e9842=_0x5b4310;return Math[_0x5e9842(0x299)]()[_0x5e9842(0x220)](0x24)['substring'](0x2,0x8);}W[_0x5b4310(0x283)]=_0x5b4310(0x23d);var Ce={'tag':_0x5b4310(0x23e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4310(0x219),'viewBox':'0\x200\x2017\x2017','width':_0x5b4310(0x23a),'height':_0x5b4310(0x23a)},'children':[{'tag':'path','attrs':{'fill':_0x5b4310(0x29e),'d':_0x5b4310(0x23b)}},{'tag':'path','attrs':{'fill':_0x5b4310(0x29e),'d':_0x5b4310(0x222),'fillRule':_0x5b4310(0x1f1),'clipRule':_0x5b4310(0x1f1)}}]},B=_0x1b3771(function(_0x2c5dd4,_0xbee92f){var _0x4c3d3c=_0x5b4310;return _0x1054bf(W,Object[_0x4c3d3c(0x229)]({},_0x2c5dd4,{'id':_0x4c3d3c(0x22a),'ref':_0xbee92f,'icon':Ce}));});B['displayName']=_0x5b4310(0x28e);class L extends _0x69cad7{constructor(){var _0x13f1fb=_0x5b4310;super(...arguments),d(this,_0x13f1fb(0x1ee),new Set()),d(this,_0x13f1fb(0x242),new Set());}['registerSharedOperation'](_0x2f7333){var _0xdbacbf=_0x5b4310;return this[_0xdbacbf(0x1ee)]['add'](_0x2f7333),_0x1fbd6b(()=>this[_0xdbacbf(0x1ee)][_0xdbacbf(0x29d)](_0x2f7333));}[_0x5b4310(0x22b)](_0x90e9ed){var _0x1314e9=_0x5b4310;return this['_reporters'][_0x1314e9(0x20b)](_0x90e9ed),_0x1fbd6b(()=>this['_reporters'][_0x1314e9(0x29d)](_0x90e9ed));}[_0x5b4310(0x1ff)](_0x122f1d){var _0x5cb5c3=_0x5b4310;return this[_0x5cb5c3(0x1ee)][_0x5cb5c3(0x231)](_0x122f1d);}['getInitialStates'](_0x3cdcb6){var _0x1244b4=_0x5b4310;return Array[_0x1244b4(0x205)](this[_0x1244b4(0x242)])[_0x1244b4(0x21b)](_0x2dec60=>_0x2dec60(_0x3cdcb6));}}var De=Object[_0x5b4310(0x217)],Z=(_0x54d143,_0x45c171,_0x30bfdc,_0x123a52)=>{var _0x580937=_0x5b4310;for(var _0xac8f27=_0x123a52>0x1?void 0x0:_0x123a52?De(_0x45c171,_0x30bfdc):_0x45c171,_0x275485=_0x54d143[_0x580937(0x285)]-0x1,_0x1e1bdc;_0x275485>=0x0;_0x275485--)(_0x1e1bdc=_0x54d143[_0x275485])&&(_0xac8f27=_0x1e1bdc(_0xac8f27)||_0xac8f27);return _0xac8f27;},f=(_0x14adfc,_0x460e55)=>(_0x59751d,_0x18e3cd)=>_0x460e55(_0x59751d,_0x18e3cd,_0x14adfc);let m=class extends _0x1cb074{constructor(_0x2357b8,_0x56e273,_0x1e5c89){var _0x527ff3=_0x5b4310;super(),d(this,_0x527ff3(0x237),new Map()),(this['_univerInstanceService']=_0x2357b8,this['_injector']=_0x56e273,this[_0x527ff3(0x263)]=_0x1e5c89,this['_init']());}async[_0x5b4310(0x269)](_0x56941d){var _0x178f7b=_0x5b4310;return this[_0x178f7b(0x237)][_0x178f7b(0x231)](_0x56941d)||await this[_0x178f7b(0x294)](_0x56941d),this['_entities'][_0x178f7b(0x24c)](_0x56941d);}[_0x5b4310(0x250)](){var _0x15f9bf=_0x5b4310;this[_0x15f9bf(0x228)][_0x15f9bf(0x1f4)](_0x1ce52a[_0x15f9bf(0x276)])[_0x15f9bf(0x249)](_0x104b09(this[_0x15f9bf(0x209)]))[_0x15f9bf(0x1f8)](async _0x97e8ba=>{var _0x277426=_0x15f9bf;const _0x1f09a5=_0x97e8ba[_0x277426(0x255)]();this[_0x277426(0x237)]['has'](_0x1f09a5)||this[_0x277426(0x294)](_0x1f09a5);}),this[_0x15f9bf(0x228)]['getTypeOfUnitDisposed$'](_0x1ce52a[_0x15f9bf(0x276)])[_0x15f9bf(0x249)](_0x104b09(this[_0x15f9bf(0x209)]))['subscribe'](_0x575547=>{var _0x393b30=_0x15f9bf;const _0xf4df18=_0x575547[_0x393b30(0x255)](),_0x44b1bd=this[_0x393b30(0x237)][_0x393b30(0x24c)](_0xf4df18);_0x44b1bd==null||_0x44b1bd[_0x393b30(0x212)]();});}async[_0x5b4310(0x294)](_0x243f56){var _0x292161=_0x5b4310;const _0x4d156d=await this[_0x292161(0x263)][_0x292161(0x230)](_0x243f56),_0x3ff02d=this[_0x292161(0x1fc)][_0x292161(0x27b)](C,_0x243f56,_0x4d156d);return _0x3ff02d[_0x292161(0x247)](),this['_entities'][_0x292161(0x273)](_0x243f56,_0x3ff02d),_0x3ff02d;}};m=Z([f(0x0,_0x3bfee1),f(0x1,_0x3d1151(_0xae58b1)),f(0x2,_0x3d1151(_0x4acfd1))],m);var h=(_0x1d362d=>(_0x1d362d[_0x5b4310(0x20f)]=_0x5b4310(0x215),_0x1d362d[_0x5b4310(0x204)]=_0x5b4310(0x275),_0x1d362d[_0x5b4310(0x279)]='following',_0x1d362d[_0x5b4310(0x267)]=_0x5b4310(0x272),_0x1d362d[_0x5b4310(0x27f)]=_0x5b4310(0x213),_0x1d362d))(h||{});const xe=_0x5b4310(0x1f2),Le=0xc8;let C=class extends _0x1cb074{constructor(_0x44607a,_0x43a8a7,_0x34f475,_0xbff25d,_0x2daf0e){var _0x52bf8e=_0x5b4310;super(),d(this,_0x52bf8e(0x244),new _0x56096e(_0x52bf8e(0x275))),d(this,_0x52bf8e(0x22c),this[_0x52bf8e(0x244)]['asObservable']()),d(this,'_init',!0x1),d(this,_0x52bf8e(0x278),null),d(this,_0x52bf8e(0x265),null),(this[_0x52bf8e(0x218)]=_0x44607a,this[_0x52bf8e(0x28d)]=_0x43a8a7,this[_0x52bf8e(0x297)]=_0x34f475,this[_0x52bf8e(0x271)]=_0xbff25d,this['_commandService']=_0x2daf0e);}get[_0x5b4310(0x1ef)](){var _0x387d0f=_0x5b4310;return this[_0x387d0f(0x244)][_0x387d0f(0x201)]();}[_0x5b4310(0x212)](){var _0x9ddabe=_0x5b4310,_0xfabb29;(_0xfabb29=this['_commandDisposable'])==null||_0xfabb29['dispose'](),this[_0x9ddabe(0x244)][_0x9ddabe(0x292)](_0x9ddabe(0x275)),this[_0x9ddabe(0x244)][_0x9ddabe(0x27c)]();}[_0x5b4310(0x247)](){var _0x3b9a68=_0x5b4310;this['_init']||(this[_0x3b9a68(0x250)]=!0x0,this[_0x3b9a68(0x28d)][_0x3b9a68(0x236)][_0x3b9a68(0x249)](_0x104b09(this[_0x3b9a68(0x209)]))[_0x3b9a68(0x1f8)](_0x267992=>{var _0x403e6f=_0x3b9a68;switch(_0x267992){case _0x5dfcdc[_0x403e6f(0x20f)]:this[_0x403e6f(0x21c)]();break;case _0x5dfcdc[_0x403e6f(0x290)]:this[_0x403e6f(0x20d)]();break;}}),this[_0x3b9a68(0x28d)]['event$'][_0x3b9a68(0x249)](_0x104b09(this[_0x3b9a68(0x209)]))['subscribe'](_0x7c2e27=>{var _0x115c71=_0x3b9a68;const {eventID:_0x568866}=_0x7c2e27;switch(_0x568866){case _0x2913c2[_0x115c71(0x254)]:this['_handleNewHost'](_0x7c2e27);break;case _0x2913c2[_0x115c71(0x26c)]:this[_0x115c71(0x1f3)](_0x7c2e27);break;case _0x2913c2[_0x115c71(0x243)]:this[_0x115c71(0x248)]();break;case _0x2913c2[_0x115c71(0x284)]:this[_0x115c71(0x26d)](_0x7c2e27);break;}}));}[_0x5b4310(0x227)](){var _0x539036=_0x5b4310;this[_0x539036(0x28d)]['send']({'eventID':_0x2913c2[_0x539036(0x268)],'data':{'unitID':this['_unitID'],'userID':this[_0x539036(0x28d)][_0x539036(0x29a)]()}},this[_0x539036(0x218)]);}[_0x5b4310(0x257)](){var _0x4d947d=_0x5b4310;this[_0x4d947d(0x1ef)]===_0x4d947d(0x213)&&(this['_status$'][_0x4d947d(0x292)](_0x4d947d(0x275)),this['_collabSession'][_0x4d947d(0x224)]({'eventID':_0x2913c2['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x4d947d(0x218)]}},this[_0x4d947d(0x218)]));}[_0x5b4310(0x214)](){var _0x1c66c8=_0x5b4310;this['_status']==='not-following'&&(this['_status$'][_0x1c66c8(0x292)](_0x1c66c8(0x1fe)),this[_0x1c66c8(0x293)]());}[_0x5b4310(0x20a)](){var _0x25f240=_0x5b4310;this[_0x25f240(0x1ef)]==='following'&&this['_stopFollowing']();}['_handleNewHost'](_0x459db4){var _0x42659a=_0x5b4310;const {presenter:_0x48af68}=_0x459db4['data'],_0x260235=this[_0x42659a(0x28d)][_0x42659a(0x29a)]();this[_0x42659a(0x265)]=_0x48af68,_0x48af68===_0x260235?(this['_stopFollowing'](),this[_0x42659a(0x26f)]()):this[_0x42659a(0x1ef)]!==_0x42659a(0x272)&&(this[_0x42659a(0x21a)](),this[_0x42659a(0x293)]());}[_0x5b4310(0x24e)](){var _0x4e123b=_0x5b4310;const _0x235b51={'eventID':_0x2913c2[_0x4e123b(0x25e)]};this[_0x4e123b(0x28d)]['send'](_0x235b51,this['_unitID']);}['_handleTerminate'](){var _0x3df72a=_0x5b4310;this[_0x3df72a(0x265)]=null,this[_0x3df72a(0x1ef)]!==_0x3df72a(0x213)&&this['_beIdle']();}['_handleNewChangeSets'](_0x25cc06){var _0x3fb343=_0x5b4310;if(this[_0x3fb343(0x1ef)]===_0x3fb343(0x1fe)&&this[_0x3fb343(0x265)]===_0x25cc06[_0x3fb343(0x20c)][_0x3fb343(0x221)]){const _0x4a0b95=_0x41e6ff(_0x25cc06[_0x3fb343(0x20c)])[_0x3fb343(0x234)][_0x3fb343(0x223)]()[_0x3fb343(0x202)](_0x82622d=>_0x82622d['id']===_0x313414['id']);if(_0x4a0b95){const _0x4d70c5=_0x4a0b95[_0x3fb343(0x253)][_0x3fb343(0x29b)],_0x24883f=_0x4a0b95[_0x3fb343(0x253)][_0x3fb343(0x203)]['id'];setTimeout(()=>{var _0x31a937=_0x3fb343;this[_0x31a937(0x208)]['executeCommand'](_0x1788b2['id'],{'unitId':_0x4d70c5,'subUnitId':_0x24883f},{'fromCollab':!0x0});});}}}['_startPresenting'](){var _0x39995f=_0x5b4310;this[_0x39995f(0x244)]['next'](_0x39995f(0x213));const _0x229efe=new Map(),_0x194c3f=this[_0x39995f(0x278)]=new _0x435087();_0x194c3f[_0x39995f(0x20b)](_0x1fbd6b(()=>{var _0x4e1356=_0x39995f;_0x229efe[_0x4e1356(0x261)](_0x14a6a8=>_0x14a6a8['complete']()),_0x229efe[_0x4e1356(0x288)]();})),_0x194c3f['add'](this['_commandService'][_0x39995f(0x1f0)](_0x44f6b1=>{var _0x233084=_0x39995f,_0x570237;if(_0x44f6b1['type']!==_0x58d836[_0x233084(0x28b)]||!this[_0x233084(0x271)][_0x233084(0x1ff)](_0x44f6b1['id']))return;const {id:_0x55544d}=_0x44f6b1;let _0x4c6327;_0x229efe[_0x233084(0x231)](_0x55544d)?_0x4c6327=_0x229efe['get'](_0x55544d):(_0x4c6327=new _0x2a7e40(),_0x229efe[_0x233084(0x273)](_0x55544d,_0x4c6327),_0x4c6327[_0x233084(0x249)](_0x33ce8f((_0x570237=this[_0x233084(0x297)][_0x233084(0x232)](xe))!=null?_0x570237:Le,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x233084(0x1f8)](_0x3b83a1=>{var _0x4db21=_0x233084;this[_0x4db21(0x28d)][_0x4db21(0x224)]({'eventID':_0x2913c2[_0x4db21(0x26c)],'data':{'unitID':this[_0x4db21(0x218)],'operations':{[_0x3b83a1['id']]:{'id':_0x3b83a1['id'],'params':JSON[_0x4db21(0x260)](_0x3b83a1[_0x4db21(0x253)])}}}},this[_0x4db21(0x218)]);})),_0x4c6327[_0x233084(0x292)](_0x44f6b1);})),this['_liveShareService'][_0x39995f(0x27d)](this[_0x39995f(0x218)])[_0x39995f(0x261)](_0x299b82=>this['_collabSession'][_0x39995f(0x224)]({'eventID':_0x2913c2[_0x39995f(0x26c)],'data':{'unitID':this[_0x39995f(0x218)],'operations':{[_0x299b82['id']]:{'id':_0x299b82['id'],'params':JSON[_0x39995f(0x260)](_0x299b82['params'])}}}},this[_0x39995f(0x218)]));}[_0x5b4310(0x21a)](){var _0x21f65d=_0x5b4310,_0x4dc45b;this[_0x21f65d(0x244)]['next'](_0x21f65d(0x275)),(_0x4dc45b=this[_0x21f65d(0x278)])==null||_0x4dc45b['dispose'](),this[_0x21f65d(0x278)]=null;}[_0x5b4310(0x293)](){var _0x5d0f64=_0x5b4310,_0x3661d5;(_0x3661d5=this[_0x5d0f64(0x278)])==null||_0x3661d5[_0x5d0f64(0x212)](),this[_0x5d0f64(0x244)][_0x5d0f64(0x292)]('following');}[_0x5b4310(0x291)](){var _0x5f52d7=_0x5b4310,_0x2810c6;this[_0x5f52d7(0x244)][_0x5f52d7(0x292)]('idle'),(_0x2810c6=this['_commandDisposable'])==null||_0x2810c6[_0x5f52d7(0x212)](),this[_0x5f52d7(0x278)]=null;}[_0x5b4310(0x23c)](){var _0x434403=_0x5b4310,_0x4db337;this[_0x434403(0x244)][_0x434403(0x292)](_0x434403(0x272)),(_0x4db337=this[_0x434403(0x278)])==null||_0x4db337[_0x434403(0x212)]();}[_0x5b4310(0x1f3)](_0x54a89a){var _0x429de6=_0x5b4310;if([_0x429de6(0x213),_0x429de6(0x272),'offline'][_0x429de6(0x266)](this[_0x429de6(0x1ef)])||!_0x54a89a[_0x429de6(0x20c)][_0x429de6(0x22e)]||_0x54a89a[_0x429de6(0x20c)]['presenter']===this['_collabSession'][_0x429de6(0x29a)]())return;this[_0x429de6(0x1ef)]===_0x429de6(0x275)&&this[_0x429de6(0x293)]();const _0x55ed8f=_0x54a89a[_0x429de6(0x20c)][_0x429de6(0x206)];Object['values'](_0x55ed8f)[_0x429de6(0x261)](_0x2688f0=>{var _0x4fecc0=_0x429de6;this[_0x4fecc0(0x208)]['executeCommand'](_0x2688f0['id'],_0x2688f0[_0x4fecc0(0x253)]?JSON[_0x4fecc0(0x23f)](_0x2688f0['params']):null,{'fromCollab':!0x0});});}[_0x5b4310(0x21c)](){var _0x24a2f7=_0x5b4310,_0x7729b0;this[_0x24a2f7(0x244)]['next'](_0x24a2f7(0x215)),(_0x7729b0=this[_0x24a2f7(0x278)])==null||_0x7729b0[_0x24a2f7(0x212)]();}[_0x5b4310(0x20d)](){var _0x48e28c=_0x5b4310;this['_status$'][_0x48e28c(0x292)](_0x48e28c(0x275)),this[_0x48e28c(0x24e)]();}};C=Z([f(0x2,_0xaa789e),f(0x3,_0x3d1151(L)),f(0x4,_0x32c700)],C);function ye(){var _0xe75063=_0x5b4310;const _0xc25a65=_0x333ece(m),_0x99dda9=_0x333ece(_0x3bfee1),_0x16cb50=_0x52b939(()=>_0x99dda9[_0xe75063(0x245)](_0x1ce52a['UNIVER_SHEET']),void 0x0,!0x1,[]),[_0x1d4122,_0x119bdf]=_0xb969fe(null),[_0x3a75c5,_0x5897ac]=_0xb969fe(h['IDLE']),_0x1002eb=_0x3499e7(null);return _0x2fcf94(()=>(_0x16cb50&&_0xc25a65[_0xe75063(0x269)](_0x16cb50[_0xe75063(0x255)]())[_0xe75063(0x262)](_0x622771=>{var _0x202c1f=_0xe75063;_0x119bdf(_0x622771),_0x1002eb['current']=_0x622771[_0x202c1f(0x22c)][_0x202c1f(0x1f8)](_0xfbdf86=>{_0x5897ac(_0xfbdf86);});}),()=>{var _0x43cc9b=_0xe75063,_0x58a44a;(_0x58a44a=_0x1002eb[_0x43cc9b(0x1fa)])==null||_0x58a44a['unsubscribe'](),_0x1002eb['current']=null;}),[_0x16cb50,_0xc25a65]),_0x1d4122?_0x5c3320(_0x59325e,{'align':_0xe75063(0x29c),'disabled':_0x3a75c5===h['OFFLINE'],'className':'univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','overlay':_0x5c3320(Re,{'status':_0x3a75c5,'coordinator':_0x1d4122}),'children':_0x5c3320('button',{'className':_0x738d51('univer-border-none\x20univer-text-gray-600\x20univer-outline-none',{'univer-cursor-not-allowed':_0x3a75c5===h[_0xe75063(0x20f)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x3a75c5!==h['OFFLINE']}),'type':'button','children':_0x5c3320(B,{'className':_0xe75063(0x252)})})}):null;}function Re(_0x474cc3){var _0x197bef=_0x5b4310;const {status:_0x3b1f54,coordinator:_0x16f5f2}=_0x474cc3;switch(_0x3b1f54){case h[_0x197bef(0x204)]:return _0x5c3320(Pe,{'coordinator':_0x16f5f2});case h[_0x197bef(0x279)]:return _0x5c3320(Ae,{'coordinator':_0x16f5f2});case h[_0x197bef(0x267)]:return _0x5c3320(Te,{'coordinator':_0x16f5f2});case h[_0x197bef(0x20f)]:return _0x5c3320(Fe,{});case h[_0x197bef(0x27f)]:return _0x5c3320($e,{'coordinator':_0x16f5f2});default:return null;}}function _0x2831(_0x2b0a0d,_0x31c8bd){var _0x494515=_0x4945();return _0x2831=function(_0x283176,_0x37fed9){_0x283176=_0x283176-0x1ee;var _0x4bcce2=_0x494515[_0x283176];return _0x4bcce2;},_0x2831(_0x2b0a0d,_0x31c8bd);}function Pe(_0x4a962f){var _0x16effd=_0x5b4310;const {coordinator:_0x53b434}=_0x4a962f;return _0x257786(_0x35252f,{'children':[_0x5c3320('div',{'className':_0x16effd(0x258),'children':'Present\x20this\x20document'}),_0x5c3320(_0x42e222,{'onClick':()=>_0x53b434[_0x16effd(0x227)](),'children':'Start'})]});}function Ae(_0x22d3ff){var _0xec7c6b=_0x5b4310;const {coordinator:_0x32e834}=_0x22d3ff;return _0x257786(_0x35252f,{'children':[_0x5c3320(_0xec7c6b(0x298),{'className':_0xec7c6b(0x258),'children':_0xec7c6b(0x296)}),_0x5c3320(_0x42e222,{'onClick':()=>_0x32e834[_0xec7c6b(0x20a)](),'children':_0xec7c6b(0x264)})]});}function _0x4945(){var _0x31d020=['find','sheet','IDLE','from','operations','string','_commandService','dispose$','stopFollowing','add','data','_handleOnline','setConfig','OFFLINE','xlink:href','idSuffix','dispose','presenting','startFollowing','offline','You\x27are\x20offline.','getOwnPropertyDescriptor','_unitID','none','_stopPresenting','map','_handleOffline','entries','11AqLfmh','UNIVER_LIVE_SHARE_PLUGIN','toString','memberID','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','reverse','send','_config','className','tryStartPresenting','_univerInstanceService','assign','live-share-icon','registerInitialStateReporter','status$','onRendered','presenter','extend','requireSession','has','getConfig','669310rmMLiW','mutations','default','sessionStatus$','_entities','1705456XzKekp','url(#$1','1em','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','_stopFollowing','UniverIcon','svg','parse','apply','You\x27re\x20not\x20following\x20the\x20presenter','_reporters','LIVESHARE_TERMINATE','_status$','getCurrentTypeOfUnit$','colorChannel1','init','_handleTerminate','pipe','6jtWzII','icon','get','propertyIsEnumerable','_fetchOperations','prototype','_init','40jrqqNO','univer-size-4','params','LIVESHARE_NEW_HOST','getUnitId','_uiPartsService','stopPresenting','univer-mb-3\x20univer-w-full\x20univer-text-sm','10BBwYHb','symbol','mask','defineProperty','replace','LIVESHARE_FETCH_OPERATIONS','trim','stringify','forEach','then','_collabSessionService','Stop\x20following','_presenter','includes','NOT_FOLLOWING','LIVESHARE_REQUEST_HOST','getLiveShareCoordinator','live-share.config','hasOwnProperty','LIVESHARE_OPERATION','_handleNewChangeSets','pluginName','_startPresenting','UNIVER_UNKNOWN','_liveShareService','not-following','set','call','idle','UNIVER_SHEET','univerjs-icon\x20univerjs-icon-','_commandDisposable','FOLLOWING','_mountLiveShare','createInstance','complete','getInitialStates','fill','PRESENTING','2512181nrEnpa','tag','750HOxdWh','displayName','NEW_CHANGESETS','length','use','15835RXKFaC','clear','children','onStarting','OPERATION','indexOf','_collabSession','LiveShareIcon','concat','ONLINE','_beIdle','next','_startFollowing','_startLiveShareCoordinator','9695700ZBbxAv','You\x27re\x20following\x20the\x20presenter','_configService','div','random','getMemberID','unitId','end','delete','currentColor','HEADER_MENU','_sharedOperations','_status','onCommandExecuted','evenodd','SAME_OPERATION_SHARE_INTERVAL','_handleOperation','getTypeOfUnitAdded$','1574901dAAcmm','defs','187898HiUOzp','subscribe','defIds','current','attrs','_injector','getOwnPropertySymbols','following','shouldShareOperation','disposeWithMe','getValue'];_0x4945=function(){return _0x31d020;};return _0x4945();}function Te(_0x29c75c){var _0x4e6039=_0x5b4310;const {coordinator:_0x38aa40}=_0x29c75c;return _0x257786(_0x35252f,{'children':[_0x5c3320('div',{'className':_0x4e6039(0x258),'children':_0x4e6039(0x241)}),_0x5c3320(_0x42e222,{'variant':'text','onClick':()=>_0x38aa40[_0x4e6039(0x214)](),'children':'Start\x20following'})]});}function $e(_0x162d89){var _0x163844=_0x5b4310;const {coordinator:_0x21656e}=_0x162d89;return _0x257786(_0x35252f,{'children':[_0x5c3320(_0x163844(0x298),{'className':_0x163844(0x258),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x5c3320(_0x42e222,{'variant':_0x163844(0x235),'onClick':()=>_0x21656e[_0x163844(0x257)](),'children':'Stop\x20presenting'})]});}function Fe(){var _0x39ccfb=_0x5b4310;return _0x5c3320(_0x35252f,{'children':_0x39ccfb(0x216)});}var He=Object[_0x5b4310(0x217)],je=(_0x3c8f8d,_0x521bbb,_0x2bdba6,_0x2ba327)=>{var _0x218632=_0x5b4310;for(var _0x8be961=_0x2ba327>0x1?void 0x0:_0x2ba327?He(_0x521bbb,_0x2bdba6):_0x521bbb,_0x58bf22=_0x3c8f8d[_0x218632(0x285)]-0x1,_0x34ed6a;_0x58bf22>=0x0;_0x58bf22--)(_0x34ed6a=_0x3c8f8d[_0x58bf22])&&(_0x8be961=_0x34ed6a(_0x8be961)||_0x8be961);return _0x8be961;},T=(_0x5efa47,_0x2d7da8)=>(_0x3af8f,_0x1e13b9)=>_0x2d7da8(_0x3af8f,_0x1e13b9,_0x5efa47);let I=class extends _0x69cad7{constructor(_0x2b3e30,_0x18bdbf){var _0x44d409=_0x5b4310;super(),this[_0x44d409(0x1fc)]=_0x2b3e30,this[_0x44d409(0x256)]=_0x18bdbf,this[_0x44d409(0x27a)]();}[_0x5b4310(0x27a)](){var _0xba2e92=_0x5b4310;this[_0xba2e92(0x200)](this['_uiPartsService']['registerComponent'](_0x546689[_0xba2e92(0x29f)],()=>_0x20fa1f(ye,this[_0xba2e92(0x1fc)])));}};I=je([T(0x0,_0x3d1151(_0xae58b1)),T(0x1,_0x4ed166)],I);const Ue=_0x5b4310(0x26a),$={};var Ve=Object[_0x5b4310(0x217)],Me=(_0xddf928,_0x3e7dcd,_0x4052d7,_0x113678)=>{var _0x430bee=_0x5b4310;for(var _0x903eae=_0x113678>0x1?void 0x0:_0x113678?Ve(_0x3e7dcd,_0x4052d7):_0x3e7dcd,_0x2e4077=_0xddf928[_0x430bee(0x285)]-0x1,_0x31ca5f;_0x2e4077>=0x0;_0x2e4077--)(_0x31ca5f=_0xddf928[_0x2e4077])&&(_0x903eae=_0x31ca5f(_0x903eae)||_0x903eae);return _0x903eae;},ke=(_0x3e429e,_0x3e61fe)=>(_0x37cf09,_0x1665b9)=>_0x3e61fe(_0x37cf09,_0x1665b9,_0x3e429e);let b=class extends _0x69cad7{constructor(_0x149354){var _0x4b1dab=_0x5b4310;super(),this[_0x4b1dab(0x271)]=_0x149354,this[_0x4b1dab(0x250)]();}[_0x5b4310(0x250)](){var _0x57a421=_0x5b4310;[_0x4137e1['id'],_0x46281c['id'],_0x1788b2['id']][_0x57a421(0x261)](_0xbe9f5b=>{var _0xbad331=_0x57a421;this[_0xbad331(0x200)](this[_0xbad331(0x271)]['registerSharedOperation'](_0xbe9f5b));});}};b=Me([ke(0x0,_0x3d1151(L))],b);var Ge=Object[_0x5b4310(0x25c)],We=Object[_0x5b4310(0x217)],Ye=(_0x18c6a4,_0x114b6f,_0x547659)=>_0x114b6f in _0x18c6a4?Ge(_0x18c6a4,_0x114b6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x547659}):_0x18c6a4[_0x114b6f]=_0x547659,Be=(_0x91f673,_0x47b1b5,_0x3d5062,_0x59b94e)=>{for(var _0x454c7a=_0x59b94e>0x1?void 0x0:_0x59b94e?We(_0x47b1b5,_0x3d5062):_0x47b1b5,_0xd2ade4=_0x91f673['length']-0x1,_0x5a1631;_0xd2ade4>=0x0;_0xd2ade4--)(_0x5a1631=_0x91f673[_0xd2ade4])&&(_0x454c7a=_0x5a1631(_0x454c7a)||_0x454c7a);return _0x454c7a;},F=(_0x1f2ea2,_0x2ee898)=>(_0x400c05,_0x54dea2)=>_0x2ee898(_0x400c05,_0x54dea2,_0x1f2ea2),J=(_0x49132f,_0x351a51,_0x244bfb)=>Ye(_0x49132f,typeof _0x351a51!=_0x5b4310(0x25a)?_0x351a51+'':_0x351a51,_0x244bfb);const Ze=_0x5b4310(0x21f);let O=class extends _0x2b5a24{constructor(_0x43baa6=$,_0x3dd807,_0x385f95){var _0x5bd1de=_0x5b4310;super(),this[_0x5bd1de(0x225)]=_0x43baa6,this[_0x5bd1de(0x1fc)]=_0x3dd807,this[_0x5bd1de(0x297)]=_0x385f95;const {..._0x35f4be}=_0x168cce({},$,this[_0x5bd1de(0x225)]);this[_0x5bd1de(0x297)][_0x5bd1de(0x20e)](Ue,_0x35f4be);}[_0x5b4310(0x28a)](){var _0x4e7da6=_0x5b4310;_0x3b0c1f(this[_0x4e7da6(0x1fc)],_0x352513([[L],[m],[b],[I]],this['_config']['override'])),_0x3ce219(this[_0x4e7da6(0x1fc)],[[b]]);}[_0x5b4310(0x22d)](){var _0x222c07=_0x5b4310;_0x3ce219(this[_0x222c07(0x1fc)],[[I]]);}};J(O,'type',_0x1ce52a[_0x5b4310(0x270)]),J(O,_0x5b4310(0x26e),Ze),O=Be([_0x144cbf(_0x11f1f3),F(0x1,_0x3d1151(_0xae58b1)),F(0x2,_0xaa789e)],O);export{I as DesktopLiveShareController,ye as LiveShare,m as LiveShareController,C as LiveShareCoordinator,L as LiveShareService,h as LiveShareStatus,O as UniverLiveSharePlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3a68(_0x3c75f1,_0x1a4443){var _0x3e399e=_0x3e39();return _0x3a68=function(_0x3a68ee,_0x4394a2){_0x3a68ee=_0x3a68ee-0x7e;var _0x409f18=_0x3e399e[_0x3a68ee];return _0x409f18;},_0x3a68(_0x3c75f1,_0x1a4443);}(function(_0x115cb8,_0xcad4c7){var _0x17531f=_0x3a68,_0x49c957=_0x115cb8();while(!![]){try{var _0x52e192=-parseInt(_0x17531f(0x81))/0x1+-parseInt(_0x17531f(0xcd))/0x2*(parseInt(_0x17531f(0x104))/0x3)+parseInt(_0x17531f(0xd0))/0x4+parseInt(_0x17531f(0x7e))/0x5*(-parseInt(_0x17531f(0xd5))/0x6)+parseInt(_0x17531f(0x13c))/0x7*(-parseInt(_0x17531f(0x148))/0x8)+-parseInt(_0x17531f(0x11e))/0x9*(parseInt(_0x17531f(0x11c))/0xa)+-parseInt(_0x17531f(0x10c))/0xb*(-parseInt(_0x17531f(0x122))/0xc);if(_0x52e192===_0xcad4c7)break;else _0x49c957['push'](_0x49c957['shift']());}catch(_0x47fdfb){_0x49c957['push'](_0x49c957['shift']());}}}(_0x3e39,0x3b966),function(_0x1242e9,_0x58af7f){var _0x5f31ae=_0x3a68;typeof exports=='object'&&typeof module<'u'?_0x58af7f(exports,require('@univerjs/core'),require('@univerjs/ui'),require('react/jsx-runtime'),require('@univerjs/design'),require('react'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5f31ae(0x132)&&define[_0x5f31ae(0x15c)]?define(['exports','@univerjs/core',_0x5f31ae(0xcc),_0x5f31ae(0x120),_0x5f31ae(0x14b),_0x5f31ae(0x130),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x5f31ae(0x135),_0x5f31ae(0xbb),_0x5f31ae(0xf3),_0x5f31ae(0xa0)],_0x58af7f):(_0x1242e9=typeof globalThis<'u'?globalThis:_0x1242e9||self,_0x58af7f(_0x1242e9[_0x5f31ae(0xae)]={},_0x1242e9[_0x5f31ae(0x11b)],_0x1242e9[_0x5f31ae(0x127)],_0x1242e9[_0x5f31ae(0xaf)],_0x1242e9[_0x5f31ae(0x138)],_0x1242e9[_0x5f31ae(0xaf)],_0x1242e9['UniverProCollaboration'],_0x1242e9[_0x5f31ae(0x129)],_0x1242e9[_0x5f31ae(0x165)],_0x1242e9[_0x5f31ae(0xbb)],_0x1242e9[_0x5f31ae(0xbb)][_0x5f31ae(0xbe)],_0x1242e9[_0x5f31ae(0xe0)]));}(this,function(_0x1ab467,_0x40b692,_0x50c39b,_0x3cefb2,_0x16cb7b,_0x248191,_0xc9c2e,_0x3a25f8,_0x5ed6e4,_0x21b1d1,_0x4e0e1e,_0x22765b){'use strict';var _0xfc0c07=_0x3a68;var _0x114f39=Object[_0xfc0c07(0x128)],_0x3f10ee=(_0x491fdf,_0x230e1a,_0x2e28ab)=>_0x230e1a in _0x491fdf?_0x114f39(_0x491fdf,_0x230e1a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e28ab}):_0x491fdf[_0x230e1a]=_0x2e28ab,_0x147873=(_0x418676,_0x2c87d6,_0x3b8f6a)=>_0x3f10ee(_0x418676,typeof _0x2c87d6!=_0xfc0c07(0x102)?_0x2c87d6+'':_0x2c87d6,_0x3b8f6a),_0x5223ce=function(){var _0x2fe822=_0xfc0c07;return _0x5223ce=Object[_0x2fe822(0x9c)]||function(_0x135ac9){var _0x36203c=_0x2fe822;for(var _0x30b15c,_0x5afdaf=0x1,_0x5da1b4=arguments[_0x36203c(0x10f)];_0x5afdaf<_0x5da1b4;_0x5afdaf++){_0x30b15c=arguments[_0x5afdaf];for(var _0x4c755c in _0x30b15c)Object[_0x36203c(0x94)]['hasOwnProperty'][_0x36203c(0x158)](_0x30b15c,_0x4c755c)&&(_0x135ac9[_0x4c755c]=_0x30b15c[_0x4c755c]);}return _0x135ac9;},_0x5223ce['apply'](this,arguments);},_0x378bb6=function(_0x397069,_0x5279e8){var _0x4b456b=_0xfc0c07,_0x44ca3e={};for(var _0x3eaa96 in _0x397069)Object[_0x4b456b(0x94)][_0x4b456b(0xd1)]['call'](_0x397069,_0x3eaa96)&&_0x5279e8['indexOf'](_0x3eaa96)<0x0&&(_0x44ca3e[_0x3eaa96]=_0x397069[_0x3eaa96]);if(_0x397069!=null&&typeof Object[_0x4b456b(0xc3)]==_0x4b456b(0x132)){for(var _0x49ccac=0x0,_0x3eaa96=Object['getOwnPropertySymbols'](_0x397069);_0x49ccac<_0x3eaa96[_0x4b456b(0x10f)];_0x49ccac++)_0x5279e8[_0x4b456b(0x157)](_0x3eaa96[_0x49ccac])<0x0&&Object[_0x4b456b(0x94)][_0x4b456b(0xf7)][_0x4b456b(0x158)](_0x397069,_0x3eaa96[_0x49ccac])&&(_0x44ca3e[_0x3eaa96[_0x49ccac]]=_0x397069[_0x3eaa96[_0x49ccac]]);}return _0x44ca3e;},_0x19eb92=_0x248191[_0xfc0c07(0x123)](function(_0x120ad0,_0x1d0e75){var _0x21b005=_0xfc0c07,_0x5e770c=_0x120ad0[_0x21b005(0x95)],_0x2ec1b8=_0x120ad0['id'],_0x3a7b18=_0x120ad0[_0x21b005(0x139)],_0x182b22=_0x120ad0[_0x21b005(0x12f)],_0x3c9d19=_0x378bb6(_0x120ad0,[_0x21b005(0x95),'id','className',_0x21b005(0x12f)]),_0x51a6fa='univerjs-icon\x20univerjs-icon-'[_0x21b005(0x8e)](_0x2ec1b8,'\x20')[_0x21b005(0x8e)](_0x3a7b18||'')[_0x21b005(0x11d)](),_0x47432c=_0x248191['useRef']('_'[_0x21b005(0x8e)](_0x5e0b31()));return _0x284514(_0x5e770c,''[_0x21b005(0x8e)](_0x2ec1b8),{'defIds':_0x5e770c[_0x21b005(0xb9)],'idSuffix':_0x47432c[_0x21b005(0x134)]},_0x5223ce({'ref':_0x1d0e75,'className':_0x51a6fa},_0x3c9d19),_0x182b22);});function _0x284514(_0x3b3d8e,_0x23e5da,_0x36d16f,_0x45f8cf,_0x151f9e){var _0x14b578=_0xfc0c07;return _0x248191[_0x14b578(0x169)](_0x3b3d8e[_0x14b578(0x143)],_0x5223ce(_0x5223ce({'key':_0x23e5da},_0x4cef3e(_0x3b3d8e,_0x36d16f,_0x151f9e)),_0x45f8cf),(_0x1f476b(_0x3b3d8e,_0x36d16f)[_0x14b578(0xd6)]||[])[_0x14b578(0x14f)](function(_0x5c70e8,_0x2e4610){var _0x517691=_0x14b578;return _0x284514(_0x5c70e8,''[_0x517691(0x8e)](_0x23e5da,'-')[_0x517691(0x8e)](_0x3b3d8e['tag'],'-')[_0x517691(0x8e)](_0x2e4610),_0x36d16f,void 0x0,_0x151f9e);}));}function _0x4cef3e(_0x233109,_0x43e98c,_0x655396){var _0x1265a6=_0xfc0c07,_0x257000=_0x5223ce({},_0x233109[_0x1265a6(0xf0)]);_0x655396!=null&&_0x655396['colorChannel1']&&_0x257000[_0x1265a6(0xe6)]===_0x1265a6(0xdf)&&(_0x257000[_0x1265a6(0xe6)]=_0x655396[_0x1265a6(0xdf)]),_0x233109[_0x1265a6(0x143)]===_0x1265a6(0x85)&&_0x257000['id']&&(_0x257000['id']=_0x257000['id']+_0x43e98c[_0x1265a6(0x154)]),Object['entries'](_0x257000)[_0x1265a6(0x115)](function(_0x4c24dd){var _0x7d81ca=_0x1265a6,_0x4bca47=_0x4c24dd[0x0],_0x3d3211=_0x4c24dd[0x1];_0x4bca47===_0x7d81ca(0x85)&&typeof _0x3d3211==_0x7d81ca(0x162)&&(_0x257000[_0x4bca47]=_0x3d3211[_0x7d81ca(0xd7)](/url\(#(.*)\)/,_0x7d81ca(0xfe)[_0x7d81ca(0x8e)](_0x43e98c[_0x7d81ca(0x154)],')')));});var _0x1c3d80=_0x43e98c[_0x1265a6(0xb9)];return!_0x1c3d80||_0x1c3d80[_0x1265a6(0x10f)]===0x0||(_0x233109[_0x1265a6(0x143)]==='use'&&_0x257000['xlink:href']&&(_0x257000['xlink:href']=_0x257000[_0x1265a6(0x167)]+_0x43e98c[_0x1265a6(0x154)]),Object[_0x1265a6(0x131)](_0x257000)[_0x1265a6(0x115)](function(_0x41d712){var _0xc603fd=_0x1265a6,_0x14a6bf=_0x41d712[0x0],_0x3d767b=_0x41d712[0x1];typeof _0x3d767b=='string'&&(_0x257000[_0x14a6bf]=_0x3d767b[_0xc603fd(0xd7)](/url\(#(.*)\)/,_0xc603fd(0xfe)['concat'](_0x43e98c[_0xc603fd(0x154)],')')));})),_0x257000;}function _0x1f476b(_0x56c636,_0x3f90ed){var _0x475353=_0xfc0c07,_0x261ba7,_0xd923e5=_0x3f90ed[_0x475353(0xb9)];return!_0xd923e5||_0xd923e5['length']===0x0?_0x56c636:_0x56c636[_0x475353(0x143)]===_0x475353(0x163)&&(!((_0x261ba7=_0x56c636[_0x475353(0xd6)])===null||_0x261ba7===void 0x0)&&_0x261ba7[_0x475353(0x10f)])?_0x5223ce(_0x5223ce({},_0x56c636),{'children':_0x56c636[_0x475353(0xd6)][_0x475353(0x14f)](function(_0x5c17b7){var _0x11892b=_0x475353;return typeof _0x5c17b7[_0x11892b(0xf0)]['id']==_0x11892b(0x162)&&_0xd923e5&&_0xd923e5[_0x11892b(0x12d)](_0x5c17b7[_0x11892b(0xf0)]['id'])?_0x5223ce(_0x5223ce({},_0x5c17b7),{'attrs':_0x5223ce(_0x5223ce({},_0x5c17b7[_0x11892b(0xf0)]),{'id':_0x5c17b7[_0x11892b(0xf0)]['id']+_0x3f90ed[_0x11892b(0x154)]})}):_0x5c17b7;})}):_0x56c636;}function _0x5e0b31(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x19eb92[_0xfc0c07(0x83)]=_0xfc0c07(0xad);var _0x28a584={'tag':_0xfc0c07(0x8a),'attrs':{'xmlns':_0xfc0c07(0x12c),'fill':_0xfc0c07(0xde),'viewBox':_0xfc0c07(0x137),'width':_0xfc0c07(0x161),'height':'1em'},'children':[{'tag':_0xfc0c07(0xe5),'attrs':{'fill':'currentColor','d':_0xfc0c07(0x91)}},{'tag':_0xfc0c07(0xe5),'attrs':{'fill':_0xfc0c07(0x111),'d':_0xfc0c07(0x164),'fillRule':_0xfc0c07(0x99),'clipRule':_0xfc0c07(0x99)}}]},_0x134c99=_0x248191['forwardRef'](function(_0x3d456a,_0xbc0c34){var _0x3c8368=_0xfc0c07;return _0x248191[_0x3c8368(0x169)](_0x19eb92,Object[_0x3c8368(0x9c)]({},_0x3d456a,{'id':_0x3c8368(0x14a),'ref':_0xbc0c34,'icon':_0x28a584}));});_0x134c99[_0xfc0c07(0x83)]=_0xfc0c07(0x105);class _0x401e32 extends _0x40b692[_0xfc0c07(0x88)]{constructor(){var _0x48578d=_0xfc0c07;super(...arguments),_0x147873(this,_0x48578d(0x125),new Set()),_0x147873(this,'_reporters',new Set());}[_0xfc0c07(0x150)](_0x54d92f){var _0x70a4bd=_0xfc0c07;return this['_sharedOperations'][_0x70a4bd(0x89)](_0x54d92f),_0x40b692[_0x70a4bd(0x15a)](()=>this[_0x70a4bd(0x125)][_0x70a4bd(0x103)](_0x54d92f));}[_0xfc0c07(0xea)](_0x308b44){var _0x2eb08f=_0xfc0c07;return this[_0x2eb08f(0x112)]['add'](_0x308b44),_0x40b692[_0x2eb08f(0x15a)](()=>this[_0x2eb08f(0x112)]['delete'](_0x308b44));}['shouldShareOperation'](_0x3fe4ea){var _0x450f44=_0xfc0c07;return this[_0x450f44(0x125)]['has'](_0x3fe4ea);}[_0xfc0c07(0xf8)](_0x1ce57a){var _0x4811f6=_0xfc0c07;return Array[_0x4811f6(0x8b)](this[_0x4811f6(0x112)])[_0x4811f6(0x14f)](_0x439419=>_0x439419(_0x1ce57a));}}var _0x4a72c5=Object['getOwnPropertyDescriptor'],_0x2a1ffc=(_0x449c07,_0x3bd98f,_0x4d3d0c,_0x49c572)=>{var _0x312308=_0xfc0c07;for(var _0x2eb5f5=_0x49c572>0x1?void 0x0:_0x49c572?_0x4a72c5(_0x3bd98f,_0x4d3d0c):_0x3bd98f,_0x547034=_0x449c07[_0x312308(0x10f)]-0x1,_0x5925e2;_0x547034>=0x0;_0x547034--)(_0x5925e2=_0x449c07[_0x547034])&&(_0x2eb5f5=_0x5925e2(_0x2eb5f5)||_0x2eb5f5);return _0x2eb5f5;},_0xf87f79=(_0x5f4a1b,_0x27722f)=>(_0x3fe7fc,_0x1af839)=>_0x27722f(_0x3fe7fc,_0x1af839,_0x5f4a1b);_0x1ab467[_0xfc0c07(0x145)]=class extends _0x40b692[_0xfc0c07(0xb0)]{constructor(_0x5711e5,_0x388b26,_0x2f84ac){var _0x3e68fd=_0xfc0c07;super(),_0x147873(this,_0x3e68fd(0xa9),new Map()),(this[_0x3e68fd(0x9d)]=_0x5711e5,this[_0x3e68fd(0x160)]=_0x388b26,this[_0x3e68fd(0xdb)]=_0x2f84ac,this['_init']());}async[_0xfc0c07(0x151)](_0x32c38a){var _0x59a65=_0xfc0c07;return this['_entities'][_0x59a65(0xc0)](_0x32c38a)||await this[_0x59a65(0xd9)](_0x32c38a),this['_entities'][_0x59a65(0xed)](_0x32c38a);}['_init'](){var _0x5c9c28=_0xfc0c07;this[_0x5c9c28(0x9d)]['getTypeOfUnitAdded$'](_0x40b692[_0x5c9c28(0xe8)][_0x5c9c28(0x136)])[_0x5c9c28(0xb3)](_0x4e0e1e[_0x5c9c28(0x16b)](this[_0x5c9c28(0xd2)]))[_0x5c9c28(0xd3)](async _0x4665f8=>{var _0x19b34e=_0x5c9c28;const _0x2470e1=_0x4665f8[_0x19b34e(0x97)]();this['_entities'][_0x19b34e(0xc0)](_0x2470e1)||this[_0x19b34e(0xd9)](_0x2470e1);}),this[_0x5c9c28(0x9d)][_0x5c9c28(0xef)](_0x40b692[_0x5c9c28(0xe8)][_0x5c9c28(0x136)])[_0x5c9c28(0xb3)](_0x4e0e1e[_0x5c9c28(0x16b)](this[_0x5c9c28(0xd2)]))[_0x5c9c28(0xd3)](_0x20e5c2=>{var _0x23b204=_0x5c9c28;const _0x2e5c55=_0x20e5c2[_0x23b204(0x97)](),_0x5312e3=this[_0x23b204(0xa9)][_0x23b204(0xed)](_0x2e5c55);_0x5312e3==null||_0x5312e3['dispose']();});}async['_startLiveShareCoordinator'](_0x4ec988){var _0x532590=_0xfc0c07;const _0x51b179=await this[_0x532590(0xdb)][_0x532590(0x12b)](_0x4ec988),_0x80885a=this[_0x532590(0x160)]['createInstance'](_0x1ab467[_0x532590(0xee)],_0x4ec988,_0x51b179);return _0x80885a[_0x532590(0xe9)](),this[_0x532590(0xa9)][_0x532590(0x101)](_0x4ec988,_0x80885a),_0x80885a;}},_0x1ab467[_0xfc0c07(0x145)]=_0x2a1ffc([_0xf87f79(0x0,_0x40b692[_0xfc0c07(0x116)]),_0xf87f79(0x1,_0x40b692[_0xfc0c07(0x119)](_0x40b692['Injector'])),_0xf87f79(0x2,_0x40b692[_0xfc0c07(0x119)](_0x3a25f8['CollaborationSessionService']))],_0x1ab467['LiveShareController']);var _0x4674d8=(_0x97b485=>(_0x97b485['OFFLINE']='offline',_0x97b485[_0xfc0c07(0x14e)]='idle',_0x97b485[_0xfc0c07(0x142)]=_0xfc0c07(0x149),_0x97b485['NOT_FOLLOWING']=_0xfc0c07(0xfd),_0x97b485['PRESENTING']=_0xfc0c07(0x15f),_0x97b485))(_0x4674d8||{});const _0x49f411=_0xfc0c07(0xe3),_0x557ac0=0xc8;_0x1ab467[_0xfc0c07(0xee)]=class extends _0x40b692[_0xfc0c07(0xb0)]{constructor(_0x4bee41,_0x4fa060,_0xbb1bb8,_0x36bec9,_0x385101){var _0x268411=_0xfc0c07;super(),_0x147873(this,_0x268411(0x146),new _0x21b1d1[(_0x268411(0xf1))](_0x268411(0xce))),_0x147873(this,_0x268411(0x10e),this['_status$']['asObservable']()),_0x147873(this,_0x268411(0x98),!0x1),_0x147873(this,_0x268411(0xcf),null),_0x147873(this,'_presenter',null),(this[_0x268411(0x114)]=_0x4bee41,this[_0x268411(0xa1)]=_0x4fa060,this[_0x268411(0x13f)]=_0xbb1bb8,this[_0x268411(0x90)]=_0x36bec9,this[_0x268411(0xc4)]=_0x385101);}get[_0xfc0c07(0x113)](){var _0x1f5513=_0xfc0c07;return this[_0x1f5513(0x146)][_0x1f5513(0x14d)]();}[_0xfc0c07(0xc5)](){var _0x1e8ac3=_0xfc0c07,_0x2b76a9;(_0x2b76a9=this['_commandDisposable'])==null||_0x2b76a9[_0x1e8ac3(0xc5)](),this[_0x1e8ac3(0x146)][_0x1e8ac3(0x10a)]('idle'),this[_0x1e8ac3(0x146)][_0x1e8ac3(0x118)]();}[_0xfc0c07(0xe9)](){var _0x1cf14c=_0xfc0c07;this[_0x1cf14c(0x98)]||(this['_init']=!0x0,this[_0x1cf14c(0xa1)][_0x1cf14c(0xf4)]['pipe'](_0x4e0e1e[_0x1cf14c(0x16b)](this['dispose$']))[_0x1cf14c(0xd3)](_0x3cca13=>{var _0x517eba=_0x1cf14c;switch(_0x3cca13){case _0x3a25f8['SessionStatus'][_0x517eba(0xca)]:this[_0x517eba(0x121)]();break;case _0x3a25f8[_0x517eba(0xe2)][_0x517eba(0x144)]:this[_0x517eba(0xab)]();break;}}),this[_0x1cf14c(0xa1)][_0x1cf14c(0x10b)][_0x1cf14c(0xb3)](_0x4e0e1e[_0x1cf14c(0x16b)](this[_0x1cf14c(0xd2)]))[_0x1cf14c(0xd3)](_0x17d7a0=>{var _0x4efea4=_0x1cf14c;const {eventID:_0x242749}=_0x17d7a0;switch(_0x242749){case _0xc9c2e[_0x4efea4(0x12e)][_0x4efea4(0xc9)]:this[_0x4efea4(0x159)](_0x17d7a0);break;case _0xc9c2e[_0x4efea4(0x12e)][_0x4efea4(0x86)]:this[_0x4efea4(0xa3)](_0x17d7a0);break;case _0xc9c2e['CollaborationEvent'][_0x4efea4(0x124)]:this['_handleTerminate']();break;case _0xc9c2e[_0x4efea4(0x12e)]['NEW_CHANGESETS']:this[_0x4efea4(0xac)](_0x17d7a0);break;}}));}[_0xfc0c07(0x9f)](){var _0x35b215=_0xfc0c07;this[_0x35b215(0xa1)][_0x35b215(0x15b)]({'eventID':_0xc9c2e[_0x35b215(0x12e)][_0x35b215(0xfb)],'data':{'unitID':this[_0x35b215(0x114)],'userID':this[_0x35b215(0xa1)][_0x35b215(0xe7)]()}},this['_unitID']);}[_0xfc0c07(0xb5)](){var _0x8beb88=_0xfc0c07;this[_0x8beb88(0x113)]===_0x8beb88(0x15f)&&(this['_status$'][_0x8beb88(0x10a)]('idle'),this['_collabSession'][_0x8beb88(0x15b)]({'eventID':_0xc9c2e[_0x8beb88(0x12e)][_0x8beb88(0x124)],'data':{'unitID':this['_unitID']}},this[_0x8beb88(0x114)]));}[_0xfc0c07(0x8d)](){var _0x23708d=_0xfc0c07;this[_0x23708d(0x113)]===_0x23708d(0xfd)&&(this['_status$'][_0x23708d(0x10a)](_0x23708d(0x149)),this[_0x23708d(0xe4)]());}['stopFollowing'](){var _0x7029a9=_0xfc0c07;this[_0x7029a9(0x113)]===_0x7029a9(0x149)&&this['_stopFollowing']();}[_0xfc0c07(0x159)](_0xe30944){var _0x4d3f87=_0xfc0c07;const {presenter:_0x2d5d2e}=_0xe30944[_0x4d3f87(0x13b)],_0x30def5=this[_0x4d3f87(0xa1)][_0x4d3f87(0xe7)]();this['_presenter']=_0x2d5d2e,_0x2d5d2e===_0x30def5?(this[_0x4d3f87(0x9b)](),this['_startPresenting']()):this[_0x4d3f87(0x113)]!==_0x4d3f87(0xfd)&&(this[_0x4d3f87(0x168)](),this[_0x4d3f87(0xe4)]());}[_0xfc0c07(0xf2)](){var _0x20a092=_0xfc0c07;const _0x56853c={'eventID':_0xc9c2e['CollaborationEvent'][_0x20a092(0x141)]};this[_0x20a092(0xa1)][_0x20a092(0x15b)](_0x56853c,this[_0x20a092(0x114)]);}[_0xfc0c07(0xf9)](){var _0x1431f1=_0xfc0c07;this['_presenter']=null,this[_0x1431f1(0x113)]!==_0x1431f1(0x15f)&&this['_beIdle']();}[_0xfc0c07(0xac)](_0x6ffb05){var _0x4612dc=_0xfc0c07;if(this['_status']===_0x4612dc(0x149)&&this['_presenter']===_0x6ffb05[_0x4612dc(0x13b)][_0x4612dc(0x11a)]){const _0x22af51=_0xc9c2e[_0x4612dc(0xff)](_0x6ffb05[_0x4612dc(0x13b)])[_0x4612dc(0x80)]['reverse']()[_0x4612dc(0x87)](_0x608b03=>_0x608b03['id']===_0x5ed6e4['InsertSheetMutation']['id']);if(_0x22af51){const _0x3c0591=_0x22af51[_0x4612dc(0x140)][_0x4612dc(0xd4)],_0x5094a1=_0x22af51['params'][_0x4612dc(0x96)]['id'];setTimeout(()=>{var _0x35b3b5=_0x4612dc;this[_0x35b3b5(0xc4)][_0x35b3b5(0xc2)](_0x5ed6e4[_0x35b3b5(0x155)]['id'],{'unitId':_0x3c0591,'subUnitId':_0x5094a1},{'fromCollab':!0x0});});}}}['_startPresenting'](){var _0x46ca9d=_0xfc0c07;this[_0x46ca9d(0x146)][_0x46ca9d(0x10a)](_0x46ca9d(0x15f));const _0x1bbf0e=new Map(),_0x6a7cf9=this[_0x46ca9d(0xcf)]=new _0x40b692['DisposableCollection']();_0x6a7cf9['add'](_0x40b692[_0x46ca9d(0x15a)](()=>{var _0x5bba47=_0x46ca9d;_0x1bbf0e[_0x5bba47(0x115)](_0x9a492d=>_0x9a492d[_0x5bba47(0x118)]()),_0x1bbf0e[_0x5bba47(0xc7)]();})),_0x6a7cf9[_0x46ca9d(0x89)](this['_commandService'][_0x46ca9d(0xb4)](_0x5206bd=>{var _0x253059=_0x46ca9d,_0x1529a8;if(_0x5206bd['type']!==_0x40b692[_0x253059(0x106)]['OPERATION']||!this['_liveShareService']['shouldShareOperation'](_0x5206bd['id']))return;const {id:_0x51791a}=_0x5206bd;let _0x2c9d94;_0x1bbf0e['has'](_0x51791a)?_0x2c9d94=_0x1bbf0e['get'](_0x51791a):(_0x2c9d94=new _0x21b1d1[(_0x253059(0x156))](),_0x1bbf0e['set'](_0x51791a,_0x2c9d94),_0x2c9d94[_0x253059(0xb3)](_0x4e0e1e[_0x253059(0x13d)]((_0x1529a8=this[_0x253059(0x13f)][_0x253059(0xbd)](_0x49f411))!=null?_0x1529a8:_0x557ac0,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x253059(0xd3)](_0x8df5a9=>{var _0x57d331=_0x253059;this[_0x57d331(0xa1)]['send']({'eventID':_0xc9c2e['CollaborationEvent'][_0x57d331(0x86)],'data':{'unitID':this[_0x57d331(0x114)],'operations':{[_0x8df5a9['id']]:{'id':_0x8df5a9['id'],'params':JSON['stringify'](_0x8df5a9[_0x57d331(0x140)])}}}},this['_unitID']);})),_0x2c9d94['next'](_0x5206bd);})),this[_0x46ca9d(0x90)]['getInitialStates'](this[_0x46ca9d(0x114)])[_0x46ca9d(0x115)](_0x9d234=>this[_0x46ca9d(0xa1)][_0x46ca9d(0x15b)]({'eventID':_0xc9c2e[_0x46ca9d(0x12e)][_0x46ca9d(0x86)],'data':{'unitID':this['_unitID'],'operations':{[_0x9d234['id']]:{'id':_0x9d234['id'],'params':JSON['stringify'](_0x9d234['params'])}}}},this[_0x46ca9d(0x114)]));}[_0xfc0c07(0x168)](){var _0x4f65b4=_0xfc0c07,_0x447e66;this['_status$'][_0x4f65b4(0x10a)](_0x4f65b4(0xce)),(_0x447e66=this['_commandDisposable'])==null||_0x447e66[_0x4f65b4(0xc5)](),this[_0x4f65b4(0xcf)]=null;}['_startFollowing'](){var _0x5af08c=_0xfc0c07,_0x4c66d1;(_0x4c66d1=this[_0x5af08c(0xcf)])==null||_0x4c66d1[_0x5af08c(0xc5)](),this['_status$'][_0x5af08c(0x10a)]('following');}['_beIdle'](){var _0x5317ac=_0xfc0c07,_0x26f798;this[_0x5317ac(0x146)][_0x5317ac(0x10a)](_0x5317ac(0xce)),(_0x26f798=this['_commandDisposable'])==null||_0x26f798[_0x5317ac(0xc5)](),this[_0x5317ac(0xcf)]=null;}[_0xfc0c07(0x9b)](){var _0x46d854=_0xfc0c07,_0xdb8bd9;this[_0x46d854(0x146)]['next']('not-following'),(_0xdb8bd9=this[_0x46d854(0xcf)])==null||_0xdb8bd9[_0x46d854(0xc5)]();}[_0xfc0c07(0xa3)](_0x4dd8a6){var _0x5b7a98=_0xfc0c07;if([_0x5b7a98(0x15f),'not-following',_0x5b7a98(0x13e)][_0x5b7a98(0x12d)](this[_0x5b7a98(0x113)])||!_0x4dd8a6['data'][_0x5b7a98(0x8f)]||_0x4dd8a6[_0x5b7a98(0x13b)][_0x5b7a98(0x8f)]===this[_0x5b7a98(0xa1)][_0x5b7a98(0xe7)]())return;this[_0x5b7a98(0x113)]===_0x5b7a98(0xce)&&this[_0x5b7a98(0xe4)]();const _0x25f9d0=_0x4dd8a6['data']['operations'];Object[_0x5b7a98(0xb1)](_0x25f9d0)['forEach'](_0x3e99c1=>{var _0xdee27f=_0x5b7a98;this[_0xdee27f(0xc4)][_0xdee27f(0xc2)](_0x3e99c1['id'],_0x3e99c1[_0xdee27f(0x140)]?JSON[_0xdee27f(0xb2)](_0x3e99c1[_0xdee27f(0x140)]):null,{'fromCollab':!0x0});});}[_0xfc0c07(0x121)](){var _0x542e28=_0xfc0c07,_0x45e2cc;this[_0x542e28(0x146)][_0x542e28(0x10a)](_0x542e28(0x13e)),(_0x45e2cc=this['_commandDisposable'])==null||_0x45e2cc[_0x542e28(0xc5)]();}[_0xfc0c07(0xab)](){var _0x49cffb=_0xfc0c07;this[_0x49cffb(0x146)][_0x49cffb(0x10a)](_0x49cffb(0xce)),this['_fetchOperations']();}},_0x1ab467[_0xfc0c07(0xee)]=_0x2a1ffc([_0xf87f79(0x2,_0x40b692['IConfigService']),_0xf87f79(0x3,_0x40b692[_0xfc0c07(0x119)](_0x401e32)),_0xf87f79(0x4,_0x40b692[_0xfc0c07(0x93)])],_0x1ab467['LiveShareCoordinator']);function _0x56cbff(){var _0x1ddcd7=_0xfc0c07;const _0x1a6940=_0x50c39b[_0x1ddcd7(0xbc)](_0x1ab467[_0x1ddcd7(0x145)]),_0x552134=_0x50c39b[_0x1ddcd7(0xbc)](_0x40b692['IUniverInstanceService']),_0x1ca276=_0x50c39b[_0x1ddcd7(0x84)](()=>_0x552134['getCurrentTypeOfUnit$'](_0x40b692[_0x1ddcd7(0xe8)]['UNIVER_SHEET']),void 0x0,!0x1,[]),[_0x2ee150,_0x150b66]=_0x248191[_0x1ddcd7(0x166)](null),[_0x367f7d,_0x290057]=_0x248191[_0x1ddcd7(0x166)](_0x4674d8[_0x1ddcd7(0x14e)]),_0x14e733=_0x248191['useRef'](null);return _0x248191[_0x1ddcd7(0xb8)](()=>(_0x1ca276&&_0x1a6940['getLiveShareCoordinator'](_0x1ca276[_0x1ddcd7(0x97)]())[_0x1ddcd7(0x15d)](_0x42a171=>{var _0xa4c966=_0x1ddcd7;_0x150b66(_0x42a171),_0x14e733[_0xa4c966(0x134)]=_0x42a171['status$'][_0xa4c966(0xd3)](_0x303541=>{_0x290057(_0x303541);});}),()=>{var _0x551e77=_0x1ddcd7,_0x5d87d0;(_0x5d87d0=_0x14e733['current'])==null||_0x5d87d0[_0x551e77(0xd8)](),_0x14e733[_0x551e77(0x134)]=null;}),[_0x1ca276,_0x1a6940]),_0x2ee150?_0x3cefb2[_0x1ddcd7(0xdd)](_0x16cb7b[_0x1ddcd7(0xec)],{'align':_0x1ddcd7(0x153),'disabled':_0x367f7d===_0x4674d8['OFFLINE'],'className':_0x1ddcd7(0xbf),'overlay':_0x3cefb2[_0x1ddcd7(0xdd)](_0x53c9f8,{'status':_0x367f7d,'coordinator':_0x2ee150}),'children':_0x3cefb2[_0x1ddcd7(0xdd)](_0x1ddcd7(0xb7),{'className':_0x16cb7b[_0x1ddcd7(0xa2)](_0x1ddcd7(0x108),{'univer-cursor-not-allowed':_0x367f7d===_0x4674d8[_0x1ddcd7(0xca)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x367f7d!==_0x4674d8[_0x1ddcd7(0xca)]}),'type':_0x1ddcd7(0xb7),'children':_0x3cefb2['jsx'](_0x134c99,{'className':_0x1ddcd7(0xb6)})})}):null;}function _0x53c9f8(_0x3c00dd){var _0x589ae9=_0xfc0c07;const {status:_0x51c6e2,coordinator:_0x26d4c1}=_0x3c00dd;switch(_0x51c6e2){case _0x4674d8[_0x589ae9(0x14e)]:return _0x3cefb2[_0x589ae9(0xdd)](_0x2f0c02,{'coordinator':_0x26d4c1});case _0x4674d8[_0x589ae9(0x142)]:return _0x3cefb2[_0x589ae9(0xdd)](_0x29f159,{'coordinator':_0x26d4c1});case _0x4674d8[_0x589ae9(0x133)]:return _0x3cefb2[_0x589ae9(0xdd)](_0x545b93,{'coordinator':_0x26d4c1});case _0x4674d8['OFFLINE']:return _0x3cefb2[_0x589ae9(0xdd)](_0x462c28,{});case _0x4674d8['PRESENTING']:return _0x3cefb2[_0x589ae9(0xdd)](_0x1ed7c1,{'coordinator':_0x26d4c1});default:return null;}}function _0x2f0c02(_0x32dd02){var _0x50bb08=_0xfc0c07;const {coordinator:_0x4fad35}=_0x32dd02;return _0x3cefb2['jsxs'](_0x3cefb2['Fragment'],{'children':[_0x3cefb2['jsx'](_0x50bb08(0xf6),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x50bb08(0x126)}),_0x3cefb2[_0x50bb08(0xdd)](_0x16cb7b[_0x50bb08(0xa7)],{'onClick':()=>_0x4fad35[_0x50bb08(0x9f)](),'children':'Start'})]});}function _0x29f159(_0xfddabd){var _0xdf2f06=_0xfc0c07;const {coordinator:_0x56b399}=_0xfddabd;return _0x3cefb2['jsxs'](_0x3cefb2['Fragment'],{'children':[_0x3cefb2[_0xdf2f06(0xdd)]('div',{'className':_0xdf2f06(0x14c),'children':'You\x27re\x20following\x20the\x20presenter'}),_0x3cefb2[_0xdf2f06(0xdd)](_0x16cb7b['Button'],{'onClick':()=>_0x56b399[_0xdf2f06(0xfa)](),'children':'Stop\x20following'})]});}function _0x545b93(_0x279c1f){var _0x40e1f0=_0xfc0c07;const {coordinator:_0x158740}=_0x279c1f;return _0x3cefb2[_0x40e1f0(0x9e)](_0x3cefb2[_0x40e1f0(0xf5)],{'children':[_0x3cefb2['jsx'](_0x40e1f0(0xf6),{'className':_0x40e1f0(0x14c),'children':'You\x27re\x20not\x20following\x20the\x20presenter'}),_0x3cefb2[_0x40e1f0(0xdd)](_0x16cb7b[_0x40e1f0(0xa7)],{'variant':_0x40e1f0(0x12a),'onClick':()=>_0x158740[_0x40e1f0(0x8d)](),'children':_0x40e1f0(0x16a)})]});}function _0x1ed7c1(_0x420b00){var _0xe32d61=_0xfc0c07;const {coordinator:_0x4d9997}=_0x420b00;return _0x3cefb2[_0xe32d61(0x9e)](_0x3cefb2[_0xe32d61(0xf5)],{'children':[_0x3cefb2[_0xe32d61(0xdd)](_0xe32d61(0xf6),{'className':_0xe32d61(0x14c),'children':_0xe32d61(0xa4)}),_0x3cefb2[_0xe32d61(0xdd)](_0x16cb7b[_0xe32d61(0xa7)],{'variant':'default','onClick':()=>_0x4d9997['stopPresenting'](),'children':'Stop\x20presenting'})]});}function _0x462c28(){var _0x3bc243=_0xfc0c07;return _0x3cefb2[_0x3bc243(0xdd)](_0x3cefb2[_0x3bc243(0xf5)],{'children':_0x3bc243(0x147)});}var _0x28fba5=Object[_0xfc0c07(0xa6)],_0x175003=(_0x3182f9,_0x566731,_0x1846f2,_0x12164c)=>{for(var _0x1875bc=_0x12164c>0x1?void 0x0:_0x12164c?_0x28fba5(_0x566731,_0x1846f2):_0x566731,_0x40e6db=_0x3182f9['length']-0x1,_0x4b691e;_0x40e6db>=0x0;_0x40e6db--)(_0x4b691e=_0x3182f9[_0x40e6db])&&(_0x1875bc=_0x4b691e(_0x1875bc)||_0x1875bc);return _0x1875bc;},_0xec2e66=(_0x516cd9,_0x16c183)=>(_0x40d097,_0x4727ef)=>_0x16c183(_0x40d097,_0x4727ef,_0x516cd9);_0x1ab467[_0xfc0c07(0xfc)]=class extends _0x40b692['Disposable']{constructor(_0x2e4f6d,_0x63771a){var _0xf1a638=_0xfc0c07;super(),this[_0xf1a638(0x160)]=_0x2e4f6d,this[_0xf1a638(0x110)]=_0x63771a,this[_0xf1a638(0x15e)]();}[_0xfc0c07(0x15e)](){var _0x3a99c1=_0xfc0c07;this['disposeWithMe'](this[_0x3a99c1(0x110)]['registerComponent'](_0x50c39b[_0x3a99c1(0xeb)][_0x3a99c1(0xda)],()=>_0x50c39b[_0x3a99c1(0x152)](_0x56cbff,this[_0x3a99c1(0x160)])));}},_0x1ab467['DesktopLiveShareController']=_0x175003([_0xec2e66(0x0,_0x40b692[_0xfc0c07(0x119)](_0x40b692['Injector'])),_0xec2e66(0x1,_0x50c39b[_0xfc0c07(0x7f)])],_0x1ab467[_0xfc0c07(0xfc)]);const _0x5e1e68='live-share.config',_0x189703={};var _0x4b4365=Object['getOwnPropertyDescriptor'],_0x25a26b=(_0x2e6960,_0x3f0111,_0x5b0816,_0x2ea2a0)=>{var _0x3af6ca=_0xfc0c07;for(var _0x2ea105=_0x2ea2a0>0x1?void 0x0:_0x2ea2a0?_0x4b4365(_0x3f0111,_0x5b0816):_0x3f0111,_0x3352ca=_0x2e6960[_0x3af6ca(0x10f)]-0x1,_0x3761fc;_0x3352ca>=0x0;_0x3352ca--)(_0x3761fc=_0x2e6960[_0x3352ca])&&(_0x2ea105=_0x3761fc(_0x2ea105)||_0x2ea105);return _0x2ea105;},_0x535c56=(_0x5118a5,_0x1d85dd)=>(_0x47dc09,_0x1d3cf2)=>_0x1d85dd(_0x47dc09,_0x1d3cf2,_0x5118a5);let _0x34447e=class extends _0x40b692[_0xfc0c07(0x88)]{constructor(_0x35b8b3){var _0x4e7a70=_0xfc0c07;super(),this[_0x4e7a70(0x90)]=_0x35b8b3,this[_0x4e7a70(0x98)]();}['_init'](){var _0xa6ff76=_0xfc0c07;[_0x22765b[_0xa6ff76(0x11f)]['id'],_0x22765b[_0xa6ff76(0x107)]['id'],_0x5ed6e4[_0xa6ff76(0x155)]['id']][_0xa6ff76(0x115)](_0x105a11=>{var _0x20cec0=_0xa6ff76;this[_0x20cec0(0xa8)](this['_liveShareService'][_0x20cec0(0x150)](_0x105a11));});}};_0x34447e=_0x25a26b([_0x535c56(0x0,_0x40b692[_0xfc0c07(0x119)](_0x401e32))],_0x34447e);var _0xfa05c0=Object[_0xfc0c07(0x128)],_0x57acbf=Object[_0xfc0c07(0xa6)],_0x552e04=(_0x482113,_0x243a61,_0x2e2853)=>_0x243a61 in _0x482113?_0xfa05c0(_0x482113,_0x243a61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e2853}):_0x482113[_0x243a61]=_0x2e2853,_0x4c08c2=(_0x5f2e55,_0x4a42cb,_0x499bf1,_0x421d63)=>{for(var _0x6c06d7=_0x421d63>0x1?void 0x0:_0x421d63?_0x57acbf(_0x4a42cb,_0x499bf1):_0x4a42cb,_0x43a0ba=_0x5f2e55['length']-0x1,_0x2182f3;_0x43a0ba>=0x0;_0x43a0ba--)(_0x2182f3=_0x5f2e55[_0x43a0ba])&&(_0x6c06d7=_0x2182f3(_0x6c06d7)||_0x6c06d7);return _0x6c06d7;},_0x622d62=(_0x3f74c2,_0x11fe4f)=>(_0x436837,_0x49d44e)=>_0x11fe4f(_0x436837,_0x49d44e,_0x3f74c2),_0x145eba=(_0x4498d7,_0x3c3c71,_0x5ac1ce)=>_0x552e04(_0x4498d7,typeof _0x3c3c71!='symbol'?_0x3c3c71+'':_0x3c3c71,_0x5ac1ce);const _0x5de38d=_0xfc0c07(0x10d);_0x1ab467[_0xfc0c07(0x100)]=class extends _0x40b692[_0xfc0c07(0x117)]{constructor(_0x58a9ea=_0x189703,_0x84aabd,_0x504cf0){var _0x42a7e5=_0xfc0c07;super(),this[_0x42a7e5(0x9a)]=_0x58a9ea,this[_0x42a7e5(0x160)]=_0x84aabd,this[_0x42a7e5(0x13f)]=_0x504cf0;const {..._0x538730}=_0x40b692[_0x42a7e5(0xba)]({},_0x189703,this[_0x42a7e5(0x9a)]);this[_0x42a7e5(0x13f)]['setConfig'](_0x5e1e68,_0x538730);}[_0xfc0c07(0xdc)](){var _0x5f4f21=_0xfc0c07;_0x40b692['registerDependencies'](this[_0x5f4f21(0x160)],_0x40b692['mergeOverrideWithDependencies']([[_0x401e32],[_0x1ab467['LiveShareController']],[_0x34447e],[_0x1ab467[_0x5f4f21(0xfc)]]],this[_0x5f4f21(0x9a)][_0x5f4f21(0xe1)])),_0x40b692[_0x5f4f21(0xc6)](this[_0x5f4f21(0x160)],[[_0x34447e]]);}['onRendered'](){var _0x425b8e=_0xfc0c07;_0x40b692['touchDependencies'](this[_0x425b8e(0x160)],[[_0x1ab467[_0x425b8e(0xfc)]]]);}},_0x145eba(_0x1ab467[_0xfc0c07(0x100)],_0xfc0c07(0x82),_0x40b692[_0xfc0c07(0xe8)][_0xfc0c07(0xaa)]),_0x145eba(_0x1ab467[_0xfc0c07(0x100)],_0xfc0c07(0x92),_0x5de38d),_0x1ab467[_0xfc0c07(0x100)]=_0x4c08c2([_0x40b692[_0xfc0c07(0xcb)](_0x3a25f8[_0xfc0c07(0x8c)]),_0x622d62(0x1,_0x40b692[_0xfc0c07(0x119)](_0x40b692[_0xfc0c07(0x13a)])),_0x622d62(0x2,_0x40b692['IConfigService'])],_0x1ab467[_0xfc0c07(0x100)]),_0x1ab467[_0xfc0c07(0xc8)]=_0x56cbff,_0x1ab467['LiveShareService']=_0x401e32,_0x1ab467[_0xfc0c07(0x109)]=_0x4674d8,Object[_0xfc0c07(0x128)](_0x1ab467,Symbol[_0xfc0c07(0xa5)],{'value':_0xfc0c07(0xc1)});}));function _0x3e39(){var _0x1d4cb9=['DesktopLiveShareController','not-following','url(#$1','parseProtocolChangeset','UniverLiveSharePlugin','set','symbol','delete','129rySTis','LiveShareIcon','CommandType','SetScrollOperation','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','LiveShareStatus','next','event$','7235811ZqEVfh','UNIVER_LIVE_SHARE_PLUGIN','status$','length','_uiPartsService','currentColor','_reporters','_status','_unitID','forEach','IUniverInstanceService','Plugin','complete','Inject','memberID','UniverCore','890yFKSWH','trim','33921JgZwzh','SetZoomRatioOperation','react/jsx-runtime','_handleOffline','24aGjrqQ','forwardRef','LIVESHARE_TERMINATE','_sharedOperations','Present\x20this\x20document','UniverUi','defineProperty','UniverProCollaborationClient','text','requireSession','http://www.w3.org/2000/svg','includes','CollaborationEvent','extend','react','entries','function','NOT_FOLLOWING','current','@univerjs/sheets','UNIVER_SHEET','0\x200\x2017\x2017','UniverDesign','className','Injector','data','99281uNnnev','throttleTime','offline','_configService','params','LIVESHARE_FETCH_OPERATIONS','FOLLOWING','tag','ONLINE','LiveShareController','_status$','You\x27are\x20offline.','208NKDEFn','following','live-share-icon','@univerjs/design','univer-mb-3\x20univer-w-full\x20univer-text-sm','getValue','IDLE','map','registerSharedOperation','getLiveShareCoordinator','connectInjector','end','idSuffix','SetWorksheetActiveOperation','Subject','indexOf','call','_handleNewHost','toDisposable','send','amd','then','_mountLiveShare','presenting','_injector','1em','string','defs','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','UniverSheets','useState','xlink:href','_stopPresenting','createElement','Start\x20following','takeUntil','10165wJfEzh','IUIPartsService','mutations','114307oIWkyT','type','displayName','useObservable','mask','LIVESHARE_OPERATION','find','Disposable','add','svg','from','UniverCollaborationClientPlugin','startFollowing','concat','presenter','_liveShareService','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','pluginName','ICommandService','prototype','icon','sheet','getUnitId','_init','evenodd','_config','_stopFollowing','assign','_univerInstanceService','jsxs','tryStartPresenting','@univerjs/sheets-ui','_collabSession','clsx','_handleOperation','You\x27re\x20presenting\x20the\x20document','toStringTag','getOwnPropertyDescriptor','Button','disposeWithMe','_entities','UNIVER_UNKNOWN','_handleOnline','_handleNewChangeSets','UniverIcon','UniverProLiveShare','React','RxDisposable','values','parse','pipe','onCommandExecuted','stopPresenting','univer-size-4','button','useEffect','defIds','merge','rxjs','useDependency','getConfig','operators','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','has','Module','executeCommand','getOwnPropertySymbols','_commandService','dispose','touchDependencies','clear','LiveShare','LIVESHARE_NEW_HOST','OFFLINE','DependentOn','@univerjs/ui','15396IQAzGk','idle','_commandDisposable','320084LzgDUm','hasOwnProperty','dispose$','subscribe','unitId','6ErXHbv','children','replace','unsubscribe','_startLiveShareCoordinator','HEADER_MENU','_collabSessionService','onStarting','jsx','none','colorChannel1','UniverSheetsUi','override','SessionStatus','SAME_OPERATION_SHARE_INTERVAL','_startFollowing','path','fill','getMemberID','UniverInstanceType','init','registerInitialStateReporter','BuiltInUIPart','Dropdown','get','LiveShareCoordinator','getTypeOfUnitDisposed$','attrs','BehaviorSubject','_fetchOperations','rxjs/operators','sessionStatus$','Fragment','div','propertyIsEnumerable','getInitialStates','_handleTerminate','stopFollowing','LIVESHARE_REQUEST_HOST'];_0x3e39=function(){return _0x1d4cb9;};return _0x3e39();}
1
+ function _0x183e(_0x282cca,_0x40357a){var _0x422034=_0x4220();return _0x183e=function(_0x183e1f,_0x29aaf5){_0x183e1f=_0x183e1f-0xc6;var _0x228d3a=_0x422034[_0x183e1f];return _0x228d3a;},_0x183e(_0x282cca,_0x40357a);}(function(_0xfa573c,_0x4a7aff){var _0x1fbbf6=_0x183e,_0x38a92e=_0xfa573c();while(!![]){try{var _0x285b91=-parseInt(_0x1fbbf6(0x17b))/0x1+-parseInt(_0x1fbbf6(0x196))/0x2*(parseInt(_0x1fbbf6(0x131))/0x3)+parseInt(_0x1fbbf6(0x147))/0x4*(parseInt(_0x1fbbf6(0x124))/0x5)+parseInt(_0x1fbbf6(0x133))/0x6+parseInt(_0x1fbbf6(0x150))/0x7*(-parseInt(_0x1fbbf6(0x120))/0x8)+parseInt(_0x1fbbf6(0xf3))/0x9*(-parseInt(_0x1fbbf6(0x16e))/0xa)+parseInt(_0x1fbbf6(0x103))/0xb;if(_0x285b91===_0x4a7aff)break;else _0x38a92e['push'](_0x38a92e['shift']());}catch(_0x537f88){_0x38a92e['push'](_0x38a92e['shift']());}}}(_0x4220,0x671c6),function(_0x468653,_0x15713d){var _0x1e865c=_0x183e;typeof exports=='object'&&typeof module<'u'?_0x15713d(exports,require('@univerjs/core'),require('@univerjs/ui'),require('react/jsx-runtime'),require('@univerjs/design'),require('react'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1e865c(0x1b3)&&define[_0x1e865c(0x19f)]?define([_0x1e865c(0x160),_0x1e865c(0xd8),_0x1e865c(0x140),_0x1e865c(0x162),_0x1e865c(0xd3),_0x1e865c(0x19c),_0x1e865c(0x144),'@univerjs-pro/collaboration-client','@univerjs/sheets',_0x1e865c(0x151),_0x1e865c(0x164),_0x1e865c(0x199)],_0x15713d):(_0x468653=typeof globalThis<'u'?globalThis:_0x468653||self,_0x15713d(_0x468653[_0x1e865c(0x155)]={},_0x468653[_0x1e865c(0x183)],_0x468653[_0x1e865c(0x1ac)],_0x468653['React'],_0x468653[_0x1e865c(0x18e)],_0x468653[_0x1e865c(0x157)],_0x468653['UniverProCollaboration'],_0x468653[_0x1e865c(0x181)],_0x468653[_0x1e865c(0x180)],_0x468653['rxjs'],_0x468653[_0x1e865c(0x151)][_0x1e865c(0x143)],_0x468653[_0x1e865c(0x12b)]));}(this,function(_0x580b4d,_0x2d8f3d,_0x3a2996,_0x47c74c,_0x3b39b6,_0x182b89,_0x119d24,_0x4b29b3,_0x2241a5,_0x404099,_0x4eb8d7,_0xe304f9){'use strict';var _0x115079=_0x183e;var _0x34eaf1=Object[_0x115079(0x163)],_0x5e3b06=(_0x50de3f,_0x4bedbb,_0x5ca3ac)=>_0x4bedbb in _0x50de3f?_0x34eaf1(_0x50de3f,_0x4bedbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ca3ac}):_0x50de3f[_0x4bedbb]=_0x5ca3ac,_0x1373d4=(_0x5a350b,_0x1e6ae1,_0x23d0b5)=>_0x5e3b06(_0x5a350b,typeof _0x1e6ae1!='symbol'?_0x1e6ae1+'':_0x1e6ae1,_0x23d0b5),_0x35d182=function(){var _0x48925a=_0x115079;return _0x35d182=Object[_0x48925a(0xf8)]||function(_0x242829){var _0x4fc8d2=_0x48925a;for(var _0x1bad30,_0x49c9f5=0x1,_0x5839e8=arguments[_0x4fc8d2(0x166)];_0x49c9f5<_0x5839e8;_0x49c9f5++){_0x1bad30=arguments[_0x49c9f5];for(var _0x1524b8 in _0x1bad30)Object['prototype']['hasOwnProperty']['call'](_0x1bad30,_0x1524b8)&&(_0x242829[_0x1524b8]=_0x1bad30[_0x1524b8]);}return _0x242829;},_0x35d182['apply'](this,arguments);},_0x185632=function(_0x178d79,_0x3666d0){var _0x1f67f6=_0x115079,_0x192948={};for(var _0x3bb844 in _0x178d79)Object['prototype'][_0x1f67f6(0xe5)]['call'](_0x178d79,_0x3bb844)&&_0x3666d0['indexOf'](_0x3bb844)<0x0&&(_0x192948[_0x3bb844]=_0x178d79[_0x3bb844]);if(_0x178d79!=null&&typeof Object[_0x1f67f6(0x1a2)]=='function'){for(var _0x54a049=0x0,_0x3bb844=Object[_0x1f67f6(0x1a2)](_0x178d79);_0x54a049<_0x3bb844[_0x1f67f6(0x166)];_0x54a049++)_0x3666d0[_0x1f67f6(0x106)](_0x3bb844[_0x54a049])<0x0&&Object[_0x1f67f6(0x159)][_0x1f67f6(0xeb)][_0x1f67f6(0x171)](_0x178d79,_0x3bb844[_0x54a049])&&(_0x192948[_0x3bb844[_0x54a049]]=_0x178d79[_0x3bb844[_0x54a049]]);}return _0x192948;},_0x256f2f=_0x182b89['forwardRef'](function(_0x435db5,_0x1ec211){var _0x118849=_0x115079,_0x415f60=_0x435db5[_0x118849(0x193)],_0x25c227=_0x435db5['id'],_0x534780=_0x435db5['className'],_0x9f1a9a=_0x435db5[_0x118849(0x102)],_0x711917=_0x185632(_0x435db5,[_0x118849(0x193),'id',_0x118849(0x10d),_0x118849(0x102)]),_0x4ce72a=_0x118849(0xf2)[_0x118849(0x101)](_0x25c227,'\x20')[_0x118849(0x101)](_0x534780||'')[_0x118849(0x1ae)](),_0xca3577=_0x182b89[_0x118849(0x175)]('_'['concat'](_0x393386()));return _0x34e5be(_0x415f60,''['concat'](_0x25c227),{'defIds':_0x415f60[_0x118849(0x110)],'idSuffix':_0xca3577[_0x118849(0x142)]},_0x35d182({'ref':_0x1ec211,'className':_0x4ce72a},_0x711917),_0x9f1a9a);});function _0x34e5be(_0xe54dec,_0x8d0038,_0x3de571,_0x5de710,_0x3500a3){var _0x5473a7=_0x115079;return _0x182b89['createElement'](_0xe54dec['tag'],_0x35d182(_0x35d182({'key':_0x8d0038},_0x4260ab(_0xe54dec,_0x3de571,_0x3500a3)),_0x5de710),(_0x4811e8(_0xe54dec,_0x3de571)[_0x5473a7(0xcd)]||[])['map'](function(_0x2e44ee,_0x43ab5f){var _0x2bd192=_0x5473a7;return _0x34e5be(_0x2e44ee,''[_0x2bd192(0x101)](_0x8d0038,'-')[_0x2bd192(0x101)](_0xe54dec[_0x2bd192(0x16f)],'-')[_0x2bd192(0x101)](_0x43ab5f),_0x3de571,void 0x0,_0x3500a3);}));}function _0x4260ab(_0x17e679,_0x163334,_0x17b76e){var _0x565bd5=_0x115079,_0x11e14a=_0x35d182({},_0x17e679[_0x565bd5(0xf1)]);_0x17b76e!=null&&_0x17b76e[_0x565bd5(0xf0)]&&_0x11e14a[_0x565bd5(0xd4)]===_0x565bd5(0xf0)&&(_0x11e14a['fill']=_0x17b76e[_0x565bd5(0xf0)]),_0x17e679[_0x565bd5(0x16f)]===_0x565bd5(0x19b)&&_0x11e14a['id']&&(_0x11e14a['id']=_0x11e14a['id']+_0x163334[_0x565bd5(0x1a7)]),Object['entries'](_0x11e14a)[_0x565bd5(0x1af)](function(_0x46269f){var _0x235543=_0x565bd5,_0x5907c9=_0x46269f[0x0],_0x1f29d7=_0x46269f[0x1];_0x5907c9===_0x235543(0x19b)&&typeof _0x1f29d7==_0x235543(0xe0)&&(_0x11e14a[_0x5907c9]=_0x1f29d7[_0x235543(0xe4)](/url\(#(.*)\)/,_0x235543(0x14c)[_0x235543(0x101)](_0x163334[_0x235543(0x1a7)],')')));});var _0x541137=_0x163334[_0x565bd5(0x110)];return!_0x541137||_0x541137[_0x565bd5(0x166)]===0x0||(_0x17e679[_0x565bd5(0x16f)]===_0x565bd5(0x146)&&_0x11e14a['xlink:href']&&(_0x11e14a[_0x565bd5(0x18d)]=_0x11e14a[_0x565bd5(0x18d)]+_0x163334[_0x565bd5(0x1a7)]),Object[_0x565bd5(0x118)](_0x11e14a)[_0x565bd5(0x1af)](function(_0xb2e8ac){var _0x147d0c=_0x565bd5,_0x361868=_0xb2e8ac[0x0],_0x44af55=_0xb2e8ac[0x1];typeof _0x44af55==_0x147d0c(0xe0)&&(_0x11e14a[_0x361868]=_0x44af55[_0x147d0c(0xe4)](/url\(#(.*)\)/,_0x147d0c(0x14c)[_0x147d0c(0x101)](_0x163334[_0x147d0c(0x1a7)],')')));})),_0x11e14a;}function _0x4811e8(_0x237e25,_0x59bb46){var _0x5c8819=_0x115079,_0x284c12,_0x32e3dd=_0x59bb46[_0x5c8819(0x110)];return!_0x32e3dd||_0x32e3dd[_0x5c8819(0x166)]===0x0?_0x237e25:_0x237e25[_0x5c8819(0x16f)]===_0x5c8819(0x105)&&(!((_0x284c12=_0x237e25[_0x5c8819(0xcd)])===null||_0x284c12===void 0x0)&&_0x284c12[_0x5c8819(0x166)])?_0x35d182(_0x35d182({},_0x237e25),{'children':_0x237e25[_0x5c8819(0xcd)][_0x5c8819(0xd9)](function(_0xe6bb3b){var _0x1becbe=_0x5c8819;return typeof _0xe6bb3b[_0x1becbe(0xf1)]['id']==_0x1becbe(0xe0)&&_0x32e3dd&&_0x32e3dd[_0x1becbe(0xd7)](_0xe6bb3b[_0x1becbe(0xf1)]['id'])?_0x35d182(_0x35d182({},_0xe6bb3b),{'attrs':_0x35d182(_0x35d182({},_0xe6bb3b[_0x1becbe(0xf1)]),{'id':_0xe6bb3b[_0x1becbe(0xf1)]['id']+_0x59bb46[_0x1becbe(0x1a7)]})}):_0xe6bb3b;})}):_0x237e25;}function _0x393386(){var _0x50146e=_0x115079;return Math['random']()[_0x50146e(0x134)](0x24)['substring'](0x2,0x8);}_0x256f2f[_0x115079(0x11e)]=_0x115079(0xdc);var _0x1d1413={'tag':_0x115079(0x1aa),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x115079(0xd1),'viewBox':_0x115079(0x197),'width':_0x115079(0xff),'height':_0x115079(0xff)},'children':[{'tag':'path','attrs':{'fill':_0x115079(0x17d),'d':_0x115079(0x16a)}},{'tag':_0x115079(0x191),'attrs':{'fill':_0x115079(0x17d),'d':_0x115079(0x127),'fillRule':_0x115079(0x172),'clipRule':'evenodd'}}]},_0xf6615f=_0x182b89[_0x115079(0x16d)](function(_0x557ea7,_0x29d58b){var _0x13c0fe=_0x115079;return _0x182b89['createElement'](_0x256f2f,Object[_0x13c0fe(0xf8)]({},_0x557ea7,{'id':_0x13c0fe(0x184),'ref':_0x29d58b,'icon':_0x1d1413}));});_0xf6615f['displayName']='LiveShareIcon';class _0x9e009 extends _0x2d8f3d[_0x115079(0x137)]{constructor(){var _0x46f81f=_0x115079;super(...arguments),_0x1373d4(this,_0x46f81f(0x104),new Set()),_0x1373d4(this,_0x46f81f(0xe3),new Set());}[_0x115079(0xcb)](_0x497e18){var _0x4cca79=_0x115079;return this[_0x4cca79(0x104)][_0x4cca79(0xfb)](_0x497e18),_0x2d8f3d[_0x4cca79(0x194)](()=>this[_0x4cca79(0x104)][_0x4cca79(0x128)](_0x497e18));}['registerInitialStateReporter'](_0x1a4c8c){var _0x10d098=_0x115079;return this[_0x10d098(0xe3)][_0x10d098(0xfb)](_0x1a4c8c),_0x2d8f3d[_0x10d098(0x194)](()=>this[_0x10d098(0xe3)]['delete'](_0x1a4c8c));}['shouldShareOperation'](_0x5ed57c){var _0x2d86a2=_0x115079;return this['_sharedOperations'][_0x2d86a2(0x12d)](_0x5ed57c);}[_0x115079(0x1b0)](_0x15f2d1){var _0x2a3ba9=_0x115079;return Array[_0x2a3ba9(0x15c)](this[_0x2a3ba9(0xe3)])['map'](_0x461226=>_0x461226(_0x15f2d1));}}var _0x35a731=Object[_0x115079(0x169)],_0x1b7219=(_0x20f6d3,_0x5dab2b,_0x1469f7,_0x2e5a78)=>{var _0x5777fa=_0x115079;for(var _0x2d820d=_0x2e5a78>0x1?void 0x0:_0x2e5a78?_0x35a731(_0x5dab2b,_0x1469f7):_0x5dab2b,_0x14d14e=_0x20f6d3[_0x5777fa(0x166)]-0x1,_0x5ed1db;_0x14d14e>=0x0;_0x14d14e--)(_0x5ed1db=_0x20f6d3[_0x14d14e])&&(_0x2d820d=_0x5ed1db(_0x2d820d)||_0x2d820d);return _0x2d820d;},_0x426025=(_0x42d06a,_0x425ff5)=>(_0x2c3949,_0x1530e9)=>_0x425ff5(_0x2c3949,_0x1530e9,_0x42d06a);_0x580b4d[_0x115079(0x17e)]=class extends _0x2d8f3d['RxDisposable']{constructor(_0x262fa2,_0x46ba3c,_0x175c02){var _0xe3896=_0x115079;super(),_0x1373d4(this,'_entities',new Map()),(this[_0xe3896(0x13c)]=_0x262fa2,this['_injector']=_0x46ba3c,this['_collabSessionService']=_0x175c02,this[_0xe3896(0x149)]());}async[_0x115079(0xcf)](_0x353031){var _0x3b1eba=_0x115079;return this[_0x3b1eba(0x123)][_0x3b1eba(0x12d)](_0x353031)||await this[_0x3b1eba(0x17c)](_0x353031),this['_entities']['get'](_0x353031);}['_init'](){var _0x4f3178=_0x115079;this['_univerInstanceService'][_0x4f3178(0x192)](_0x2d8f3d[_0x4f3178(0x11b)][_0x4f3178(0x167)])['pipe'](_0x4eb8d7[_0x4f3178(0x129)](this['dispose$']))[_0x4f3178(0xca)](async _0x59b393=>{var _0x69058e=_0x4f3178;const _0x1f59ea=_0x59b393['getUnitId']();this[_0x69058e(0x123)]['has'](_0x1f59ea)||this['_startLiveShareCoordinator'](_0x1f59ea);}),this['_univerInstanceService'][_0x4f3178(0x138)](_0x2d8f3d[_0x4f3178(0x11b)][_0x4f3178(0x167)])[_0x4f3178(0x13d)](_0x4eb8d7[_0x4f3178(0x129)](this[_0x4f3178(0x12c)]))[_0x4f3178(0xca)](_0x410f1e=>{var _0x3c98cf=_0x4f3178;const _0x498d44=_0x410f1e[_0x3c98cf(0xfe)](),_0x4168be=this['_entities'][_0x3c98cf(0xe9)](_0x498d44);_0x4168be==null||_0x4168be[_0x3c98cf(0x10e)]();});}async[_0x115079(0x17c)](_0x3b676d){var _0x4f0321=_0x115079;const _0x37fbba=await this['_collabSessionService'][_0x4f0321(0x107)](_0x3b676d),_0x242a7a=this[_0x4f0321(0x156)][_0x4f0321(0x132)](_0x580b4d[_0x4f0321(0x1a8)],_0x3b676d,_0x37fbba);return _0x242a7a[_0x4f0321(0x14b)](),this[_0x4f0321(0x123)][_0x4f0321(0xfd)](_0x3b676d,_0x242a7a),_0x242a7a;}},_0x580b4d[_0x115079(0x17e)]=_0x1b7219([_0x426025(0x0,_0x2d8f3d[_0x115079(0x186)]),_0x426025(0x1,_0x2d8f3d[_0x115079(0x1b4)](_0x2d8f3d[_0x115079(0x1a1)])),_0x426025(0x2,_0x2d8f3d['Inject'](_0x4b29b3[_0x115079(0x173)]))],_0x580b4d['LiveShareController']);var _0x16904f=(_0x20c08f=>(_0x20c08f[_0x115079(0x168)]=_0x115079(0x177),_0x20c08f['IDLE']=_0x115079(0x190),_0x20c08f[_0x115079(0x11f)]=_0x115079(0x15b),_0x20c08f[_0x115079(0x154)]=_0x115079(0x100),_0x20c08f[_0x115079(0x130)]=_0x115079(0x139),_0x20c08f))(_0x16904f||{});const _0x53039e='SAME_OPERATION_SHARE_INTERVAL',_0x2942ec=0xc8;_0x580b4d[_0x115079(0x1a8)]=class extends _0x2d8f3d[_0x115079(0x1a9)]{constructor(_0x582651,_0x184ce1,_0x537f8b,_0x567e29,_0x15a0b8){var _0x3fceb3=_0x115079;super(),_0x1373d4(this,_0x3fceb3(0x161),new _0x404099['BehaviorSubject'](_0x3fceb3(0x190))),_0x1373d4(this,'status$',this['_status$'][_0x3fceb3(0x136)]()),_0x1373d4(this,'_init',!0x1),_0x1373d4(this,_0x3fceb3(0x13a),null),_0x1373d4(this,'_presenter',null),(this[_0x3fceb3(0x15f)]=_0x582651,this[_0x3fceb3(0x13b)]=_0x184ce1,this['_configService']=_0x537f8b,this[_0x3fceb3(0x113)]=_0x567e29,this['_commandService']=_0x15a0b8);}get[_0x115079(0x1a0)](){var _0x16fc27=_0x115079;return this[_0x16fc27(0x161)]['getValue']();}['dispose'](){var _0x51f070=_0x115079,_0x3b1761;(_0x3b1761=this['_commandDisposable'])==null||_0x3b1761[_0x51f070(0x10e)](),this['_status$'][_0x51f070(0xfa)](_0x51f070(0x190)),this[_0x51f070(0x161)][_0x51f070(0x11a)]();}['init'](){var _0xe167af=_0x115079;this['_init']||(this[_0xe167af(0x149)]=!0x0,this[_0xe167af(0x13b)][_0xe167af(0x10f)][_0xe167af(0x13d)](_0x4eb8d7[_0xe167af(0x129)](this[_0xe167af(0x12c)]))[_0xe167af(0xca)](_0x29a948=>{var _0x4cf42d=_0xe167af;switch(_0x29a948){case _0x4b29b3['SessionStatus']['OFFLINE']:this[_0x4cf42d(0xe6)]();break;case _0x4b29b3[_0x4cf42d(0x1a5)]['ONLINE']:this['_handleOnline']();break;}}),this['_collabSession'][_0xe167af(0x14f)]['pipe'](_0x4eb8d7['takeUntil'](this[_0xe167af(0x12c)]))[_0xe167af(0xca)](_0x39f7bb=>{var _0x2a04f5=_0xe167af;const {eventID:_0x492fd1}=_0x39f7bb;switch(_0x492fd1){case _0x119d24[_0x2a04f5(0xe7)]['LIVESHARE_NEW_HOST']:this[_0x2a04f5(0x148)](_0x39f7bb);break;case _0x119d24[_0x2a04f5(0xe7)][_0x2a04f5(0x1a4)]:this[_0x2a04f5(0x112)](_0x39f7bb);break;case _0x119d24[_0x2a04f5(0xe7)][_0x2a04f5(0xc8)]:this[_0x2a04f5(0xe2)]();break;case _0x119d24[_0x2a04f5(0xe7)]['NEW_CHANGESETS']:this[_0x2a04f5(0x135)](_0x39f7bb);break;}}));}[_0x115079(0x158)](){var _0x58bd2b=_0x115079;this['_collabSession'][_0x58bd2b(0xf6)]({'eventID':_0x119d24[_0x58bd2b(0xe7)][_0x58bd2b(0xee)],'data':{'unitID':this[_0x58bd2b(0x15f)],'userID':this[_0x58bd2b(0x13b)][_0x58bd2b(0x16c)]()}},this[_0x58bd2b(0x15f)]);}[_0x115079(0x10b)](){var _0x2b96ca=_0x115079;this[_0x2b96ca(0x1a0)]===_0x2b96ca(0x139)&&(this['_status$']['next'](_0x2b96ca(0x190)),this[_0x2b96ca(0x13b)][_0x2b96ca(0xf6)]({'eventID':_0x119d24['CollaborationEvent'][_0x2b96ca(0xc8)],'data':{'unitID':this[_0x2b96ca(0x15f)]}},this[_0x2b96ca(0x15f)]));}[_0x115079(0x182)](){var _0x36646f=_0x115079;this['_status']==='not-following'&&(this[_0x36646f(0x161)]['next'](_0x36646f(0x15b)),this[_0x36646f(0x195)]());}[_0x115079(0xdf)](){var _0x235697=_0x115079;this[_0x235697(0x1a0)]==='following'&&this[_0x235697(0x13e)]();}[_0x115079(0x148)](_0x584221){var _0x1a762f=_0x115079;const {presenter:_0x1f42be}=_0x584221[_0x1a762f(0x14d)],_0x5b826f=this['_collabSession'][_0x1a762f(0x16c)]();this[_0x1a762f(0x176)]=_0x1f42be,_0x1f42be===_0x5b826f?(this[_0x1a762f(0x13e)](),this[_0x1a762f(0x141)]()):this['_status']!==_0x1a762f(0x100)&&(this[_0x1a762f(0x15d)](),this[_0x1a762f(0x195)]());}['_fetchOperations'](){var _0x1c2328=_0x115079;const _0x59e87e={'eventID':_0x119d24[_0x1c2328(0xe7)][_0x1c2328(0x121)]};this[_0x1c2328(0x13b)]['send'](_0x59e87e,this['_unitID']);}['_handleTerminate'](){var _0xa15063=_0x115079;this[_0xa15063(0x176)]=null,this[_0xa15063(0x1a0)]!==_0xa15063(0x139)&&this['_beIdle']();}[_0x115079(0x135)](_0x464723){var _0x34fc14=_0x115079;if(this['_status']==='following'&&this[_0x34fc14(0x176)]===_0x464723[_0x34fc14(0x14d)][_0x34fc14(0x1b1)]){const _0x28f326=_0x119d24[_0x34fc14(0x1b6)](_0x464723[_0x34fc14(0x14d)])[_0x34fc14(0x19e)][_0x34fc14(0x114)]()[_0x34fc14(0xc9)](_0x15449d=>_0x15449d['id']===_0x2241a5[_0x34fc14(0xda)]['id']);if(_0x28f326){const _0x19cfda=_0x28f326[_0x34fc14(0x1b2)][_0x34fc14(0x12a)],_0x549376=_0x28f326[_0x34fc14(0x1b2)][_0x34fc14(0x189)]['id'];setTimeout(()=>{var _0x20cd17=_0x34fc14;this['_commandService'][_0x20cd17(0x109)](_0x2241a5[_0x20cd17(0xe8)]['id'],{'unitId':_0x19cfda,'subUnitId':_0x549376},{'fromCollab':!0x0});});}}}[_0x115079(0x141)](){var _0x1ad62a=_0x115079;this[_0x1ad62a(0x161)][_0x1ad62a(0xfa)](_0x1ad62a(0x139));const _0x4475b9=new Map(),_0x275b39=this[_0x1ad62a(0x13a)]=new _0x2d8f3d[(_0x1ad62a(0xcc))]();_0x275b39[_0x1ad62a(0xfb)](_0x2d8f3d[_0x1ad62a(0x194)](()=>{var _0x370e62=_0x1ad62a;_0x4475b9[_0x370e62(0x1af)](_0x2467cc=>_0x2467cc[_0x370e62(0x11a)]()),_0x4475b9[_0x370e62(0x153)]();})),_0x275b39[_0x1ad62a(0xfb)](this[_0x1ad62a(0x185)][_0x1ad62a(0xce)](_0x2f0e0b=>{var _0x3161cf=_0x1ad62a,_0x2f8740;if(_0x2f0e0b[_0x3161cf(0x18a)]!==_0x2d8f3d['CommandType']['OPERATION']||!this['_liveShareService'][_0x3161cf(0x1ad)](_0x2f0e0b['id']))return;const {id:_0x447915}=_0x2f0e0b;let _0x5b7322;_0x4475b9[_0x3161cf(0x12d)](_0x447915)?_0x5b7322=_0x4475b9['get'](_0x447915):(_0x5b7322=new _0x404099[(_0x3161cf(0x125))](),_0x4475b9[_0x3161cf(0xfd)](_0x447915,_0x5b7322),_0x5b7322[_0x3161cf(0x13d)](_0x4eb8d7[_0x3161cf(0xf5)]((_0x2f8740=this[_0x3161cf(0xd0)]['getConfig'](_0x53039e))!=null?_0x2f8740:_0x2942ec,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x3161cf(0xca)](_0x4baa53=>{var _0x29f7c6=_0x3161cf;this[_0x29f7c6(0x13b)][_0x29f7c6(0xf6)]({'eventID':_0x119d24['CollaborationEvent']['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x29f7c6(0x15f)],'operations':{[_0x4baa53['id']]:{'id':_0x4baa53['id'],'params':JSON['stringify'](_0x4baa53['params'])}}}},this[_0x29f7c6(0x15f)]);})),_0x5b7322[_0x3161cf(0xfa)](_0x2f0e0b);})),this[_0x1ad62a(0x113)][_0x1ad62a(0x1b0)](this[_0x1ad62a(0x15f)])[_0x1ad62a(0x1af)](_0x194563=>this[_0x1ad62a(0x13b)]['send']({'eventID':_0x119d24[_0x1ad62a(0xe7)][_0x1ad62a(0x1a4)],'data':{'unitID':this[_0x1ad62a(0x15f)],'operations':{[_0x194563['id']]:{'id':_0x194563['id'],'params':JSON[_0x1ad62a(0x1a3)](_0x194563[_0x1ad62a(0x1b2)])}}}},this[_0x1ad62a(0x15f)]));}[_0x115079(0x15d)](){var _0x4fd200=_0x115079,_0x3e784d;this[_0x4fd200(0x161)][_0x4fd200(0xfa)](_0x4fd200(0x190)),(_0x3e784d=this['_commandDisposable'])==null||_0x3e784d['dispose'](),this[_0x4fd200(0x13a)]=null;}['_startFollowing'](){var _0x3437fd=_0x115079,_0x2fbaeb;(_0x2fbaeb=this[_0x3437fd(0x13a)])==null||_0x2fbaeb[_0x3437fd(0x10e)](),this['_status$'][_0x3437fd(0xfa)]('following');}[_0x115079(0x15a)](){var _0x4f53e5=_0x115079,_0xfe530e;this[_0x4f53e5(0x161)][_0x4f53e5(0xfa)](_0x4f53e5(0x190)),(_0xfe530e=this[_0x4f53e5(0x13a)])==null||_0xfe530e['dispose'](),this['_commandDisposable']=null;}[_0x115079(0x13e)](){var _0x41bf6a=_0x115079,_0x56de90;this[_0x41bf6a(0x161)][_0x41bf6a(0xfa)](_0x41bf6a(0x100)),(_0x56de90=this[_0x41bf6a(0x13a)])==null||_0x56de90[_0x41bf6a(0x10e)]();}[_0x115079(0x112)](_0x4120f9){var _0x32ddb2=_0x115079;if([_0x32ddb2(0x139),_0x32ddb2(0x100),_0x32ddb2(0x177)][_0x32ddb2(0xd7)](this['_status'])||!_0x4120f9[_0x32ddb2(0x14d)]['presenter']||_0x4120f9[_0x32ddb2(0x14d)][_0x32ddb2(0x170)]===this[_0x32ddb2(0x13b)][_0x32ddb2(0x16c)]())return;this['_status']===_0x32ddb2(0x190)&&this[_0x32ddb2(0x195)]();const _0x5bf33a=_0x4120f9[_0x32ddb2(0x14d)][_0x32ddb2(0xea)];Object[_0x32ddb2(0xfc)](_0x5bf33a)[_0x32ddb2(0x1af)](_0x5f53ad=>{var _0x41b584=_0x32ddb2;this['_commandService']['executeCommand'](_0x5f53ad['id'],_0x5f53ad[_0x41b584(0x1b2)]?JSON[_0x41b584(0x178)](_0x5f53ad[_0x41b584(0x1b2)]):null,{'fromCollab':!0x0});});}[_0x115079(0xe6)](){var _0x5d3d33=_0x115079,_0x424c4c;this[_0x5d3d33(0x161)][_0x5d3d33(0xfa)](_0x5d3d33(0x177)),(_0x424c4c=this[_0x5d3d33(0x13a)])==null||_0x424c4c[_0x5d3d33(0x10e)]();}[_0x115079(0xd2)](){var _0x162ed9=_0x115079;this['_status$'][_0x162ed9(0xfa)](_0x162ed9(0x190)),this[_0x162ed9(0x126)]();}},_0x580b4d[_0x115079(0x1a8)]=_0x1b7219([_0x426025(0x2,_0x2d8f3d[_0x115079(0x18c)]),_0x426025(0x3,_0x2d8f3d['Inject'](_0x9e009)),_0x426025(0x4,_0x2d8f3d[_0x115079(0xed)])],_0x580b4d[_0x115079(0x1a8)]);function _0x561a55(){var _0x416789=_0x115079;const _0x1a4427=_0x3a2996[_0x416789(0x116)](_0x580b4d[_0x416789(0x17e)]),_0x2528c1=_0x3a2996['useDependency'](_0x2d8f3d[_0x416789(0x186)]),_0x4d5ef4=_0x3a2996['useObservable'](()=>_0x2528c1[_0x416789(0x1b5)](_0x2d8f3d[_0x416789(0x11b)][_0x416789(0x167)]),void 0x0,!0x1,[]),[_0x5e3efc,_0x4aeb01]=_0x182b89[_0x416789(0xec)](null),[_0x3563d2,_0x3adc38]=_0x182b89[_0x416789(0xec)](_0x16904f[_0x416789(0x15e)]),_0x19bb4f=_0x182b89[_0x416789(0x175)](null);return _0x182b89[_0x416789(0xc6)](()=>(_0x4d5ef4&&_0x1a4427[_0x416789(0xcf)](_0x4d5ef4[_0x416789(0xfe)]())[_0x416789(0x198)](_0x224db5=>{var _0x3ebf82=_0x416789;_0x4aeb01(_0x224db5),_0x19bb4f[_0x3ebf82(0x142)]=_0x224db5[_0x3ebf82(0x18f)]['subscribe'](_0x2c286a=>{_0x3adc38(_0x2c286a);});}),()=>{var _0x3fc7f2=_0x416789,_0x13d332;(_0x13d332=_0x19bb4f[_0x3fc7f2(0x142)])==null||_0x13d332[_0x3fc7f2(0x1a6)](),_0x19bb4f[_0x3fc7f2(0x142)]=null;}),[_0x4d5ef4,_0x1a4427]),_0x5e3efc?_0x47c74c[_0x416789(0x17a)](_0x3b39b6['Dropdown'],{'align':_0x416789(0x174),'disabled':_0x3563d2===_0x16904f['OFFLINE'],'className':_0x416789(0xef),'overlay':_0x47c74c[_0x416789(0x17a)](_0x48ac65,{'status':_0x3563d2,'coordinator':_0x5e3efc}),'children':_0x47c74c['jsx']('button',{'className':_0x3b39b6[_0x416789(0x187)]('univer-border-none\x20univer-text-gray-600\x20univer-outline-none',{'univer-cursor-not-allowed':_0x3563d2===_0x16904f[_0x416789(0x168)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x3563d2!==_0x16904f[_0x416789(0x168)]}),'type':'button','children':_0x47c74c[_0x416789(0x17a)](_0xf6615f,{'className':'univer-size-4'})})}):null;}function _0x48ac65(_0x5a2763){var _0x29f2db=_0x115079;const {status:_0x2ab71a,coordinator:_0x29b451}=_0x5a2763;switch(_0x2ab71a){case _0x16904f['IDLE']:return _0x47c74c['jsx'](_0x4eff1b,{'coordinator':_0x29b451});case _0x16904f[_0x29f2db(0x11f)]:return _0x47c74c[_0x29f2db(0x17a)](_0x1654db,{'coordinator':_0x29b451});case _0x16904f['NOT_FOLLOWING']:return _0x47c74c[_0x29f2db(0x17a)](_0x1fdc60,{'coordinator':_0x29b451});case _0x16904f[_0x29f2db(0x168)]:return _0x47c74c[_0x29f2db(0x17a)](_0x1e2028,{});case _0x16904f[_0x29f2db(0x130)]:return _0x47c74c[_0x29f2db(0x17a)](_0x8e6b6d,{'coordinator':_0x29b451});default:return null;}}function _0x4eff1b(_0x1b73fc){var _0x41889d=_0x115079;const {coordinator:_0xa51f54}=_0x1b73fc;return _0x47c74c[_0x41889d(0xe1)](_0x47c74c[_0x41889d(0x14a)],{'children':[_0x47c74c[_0x41889d(0x17a)](_0x41889d(0xde),{'className':_0x41889d(0x179),'children':_0x41889d(0x10c)}),_0x47c74c[_0x41889d(0x17a)](_0x3b39b6[_0x41889d(0x19a)],{'onClick':()=>_0xa51f54[_0x41889d(0x158)](),'children':_0x41889d(0xf9)})]});}function _0x1654db(_0x647a6a){var _0x564d89=_0x115079;const {coordinator:_0x3f7fa5}=_0x647a6a;return _0x47c74c[_0x564d89(0xe1)](_0x47c74c['Fragment'],{'children':[_0x47c74c[_0x564d89(0x17a)]('div',{'className':_0x564d89(0x179),'children':_0x564d89(0x145)}),_0x47c74c[_0x564d89(0x17a)](_0x3b39b6[_0x564d89(0x19a)],{'onClick':()=>_0x3f7fa5['stopFollowing'](),'children':'Stop\x20following'})]});}function _0x1fdc60(_0xefb03e){var _0x571389=_0x115079;const {coordinator:_0x1b7d75}=_0xefb03e;return _0x47c74c['jsxs'](_0x47c74c[_0x571389(0x14a)],{'children':[_0x47c74c[_0x571389(0x17a)]('div',{'className':_0x571389(0x179),'children':_0x571389(0x165)}),_0x47c74c['jsx'](_0x3b39b6[_0x571389(0x19a)],{'variant':_0x571389(0xd5),'onClick':()=>_0x1b7d75[_0x571389(0x182)](),'children':_0x571389(0x12f)})]});}function _0x8e6b6d(_0x1cb0be){var _0x5cd87f=_0x115079;const {coordinator:_0x135e06}=_0x1cb0be;return _0x47c74c['jsxs'](_0x47c74c['Fragment'],{'children':[_0x47c74c[_0x5cd87f(0x17a)](_0x5cd87f(0xde),{'className':_0x5cd87f(0x179),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x47c74c[_0x5cd87f(0x17a)](_0x3b39b6['Button'],{'variant':_0x5cd87f(0x19d),'onClick':()=>_0x135e06[_0x5cd87f(0x10b)](),'children':_0x5cd87f(0x10a)})]});}function _0x1e2028(){var _0x31c2b1=_0x115079;return _0x47c74c[_0x31c2b1(0x17a)](_0x47c74c['Fragment'],{'children':_0x31c2b1(0x111)});}var _0xf65545=Object[_0x115079(0x169)],_0x211e41=(_0x5b899e,_0x593505,_0x449e10,_0x410b04)=>{var _0x2fd50d=_0x115079;for(var _0x3ac826=_0x410b04>0x1?void 0x0:_0x410b04?_0xf65545(_0x593505,_0x449e10):_0x593505,_0x5258bd=_0x5b899e[_0x2fd50d(0x166)]-0x1,_0x5b63ee;_0x5258bd>=0x0;_0x5258bd--)(_0x5b63ee=_0x5b899e[_0x5258bd])&&(_0x3ac826=_0x5b63ee(_0x3ac826)||_0x3ac826);return _0x3ac826;},_0x2fe46b=(_0x5851d3,_0x40e500)=>(_0x18c938,_0xbb91c2)=>_0x40e500(_0x18c938,_0xbb91c2,_0x5851d3);_0x580b4d[_0x115079(0x1ab)]=class extends _0x2d8f3d[_0x115079(0x137)]{constructor(_0x3dc71b,_0x40c0eb){var _0x31a03f=_0x115079;super(),this[_0x31a03f(0x156)]=_0x3dc71b,this['_uiPartsService']=_0x40c0eb,this[_0x31a03f(0x18b)]();}[_0x115079(0x18b)](){var _0x4e95eb=_0x115079;this[_0x4e95eb(0x115)](this['_uiPartsService']['registerComponent'](_0x3a2996[_0x4e95eb(0xf4)]['HEADER_MENU'],()=>_0x3a2996['connectInjector'](_0x561a55,this[_0x4e95eb(0x156)])));}},_0x580b4d[_0x115079(0x1ab)]=_0x211e41([_0x2fe46b(0x0,_0x2d8f3d['Inject'](_0x2d8f3d[_0x115079(0x1a1)])),_0x2fe46b(0x1,_0x3a2996[_0x115079(0x11c)])],_0x580b4d[_0x115079(0x1ab)]);const _0x322f28=_0x115079(0x117),_0x386e5c={};var _0x391fb9=Object[_0x115079(0x169)],_0x3dfc18=(_0x1b1fb7,_0xc279cf,_0x207dfb,_0x34572d)=>{var _0x53d783=_0x115079;for(var _0x2bd764=_0x34572d>0x1?void 0x0:_0x34572d?_0x391fb9(_0xc279cf,_0x207dfb):_0xc279cf,_0x15cea3=_0x1b1fb7[_0x53d783(0x166)]-0x1,_0x36c0d2;_0x15cea3>=0x0;_0x15cea3--)(_0x36c0d2=_0x1b1fb7[_0x15cea3])&&(_0x2bd764=_0x36c0d2(_0x2bd764)||_0x2bd764);return _0x2bd764;},_0xdb413c=(_0x3475c1,_0x3f911b)=>(_0x21234c,_0x5cb976)=>_0x3f911b(_0x21234c,_0x5cb976,_0x3475c1);let _0x3ad4f2=class extends _0x2d8f3d[_0x115079(0x137)]{constructor(_0x44d0b4){var _0x50a3b4=_0x115079;super(),this[_0x50a3b4(0x113)]=_0x44d0b4,this[_0x50a3b4(0x149)]();}[_0x115079(0x149)](){var _0x1ab7c9=_0x115079;[_0xe304f9['SetZoomRatioOperation']['id'],_0xe304f9[_0x1ab7c9(0xdd)]['id'],_0x2241a5[_0x1ab7c9(0xe8)]['id']][_0x1ab7c9(0x1af)](_0x1a373a=>{var _0x31469d=_0x1ab7c9;this['disposeWithMe'](this['_liveShareService'][_0x31469d(0xcb)](_0x1a373a));});}};_0x3ad4f2=_0x3dfc18([_0xdb413c(0x0,_0x2d8f3d[_0x115079(0x1b4)](_0x9e009))],_0x3ad4f2);var _0xc8aee3=Object[_0x115079(0x163)],_0x204108=Object[_0x115079(0x169)],_0x356e34=(_0x4dac2e,_0x5e4f1e,_0x138166)=>_0x5e4f1e in _0x4dac2e?_0xc8aee3(_0x4dac2e,_0x5e4f1e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x138166}):_0x4dac2e[_0x5e4f1e]=_0x138166,_0xe39541=(_0xc8830,_0xd39760,_0x308f55,_0x15de9a)=>{for(var _0x5d01d9=_0x15de9a>0x1?void 0x0:_0x15de9a?_0x204108(_0xd39760,_0x308f55):_0xd39760,_0x487173=_0xc8830['length']-0x1,_0x5622bd;_0x487173>=0x0;_0x487173--)(_0x5622bd=_0xc8830[_0x487173])&&(_0x5d01d9=_0x5622bd(_0x5d01d9)||_0x5d01d9);return _0x5d01d9;},_0x1b6330=(_0x5535cb,_0x469c9d)=>(_0x5f2e42,_0x13edb6)=>_0x469c9d(_0x5f2e42,_0x13edb6,_0x5535cb),_0x38349f=(_0x4716cc,_0x335bd4,_0x2a3103)=>_0x356e34(_0x4716cc,typeof _0x335bd4!='symbol'?_0x335bd4+'':_0x335bd4,_0x2a3103);const _0x361e34=_0x115079(0x188);_0x580b4d['UniverLiveSharePlugin']=class extends _0x2d8f3d[_0x115079(0x108)]{constructor(_0x2611cb=_0x386e5c,_0x12cdd0,_0x2a413e){var _0x255d5d=_0x115079;super(),this[_0x255d5d(0xd6)]=_0x2611cb,this[_0x255d5d(0x156)]=_0x12cdd0,this['_configService']=_0x2a413e;const {..._0x2a6308}=_0x2d8f3d[_0x255d5d(0x16b)]({},_0x386e5c,this[_0x255d5d(0xd6)]);this['_configService']['setConfig'](_0x322f28,_0x2a6308);}['onStarting'](){var _0x59acd1=_0x115079;_0x2d8f3d[_0x59acd1(0x122)](this['_injector'],_0x2d8f3d[_0x59acd1(0x119)]([[_0x9e009],[_0x580b4d[_0x59acd1(0x17e)]],[_0x3ad4f2],[_0x580b4d[_0x59acd1(0x1ab)]]],this['_config']['override'])),_0x2d8f3d['touchDependencies'](this[_0x59acd1(0x156)],[[_0x3ad4f2]]);}[_0x115079(0x12e)](){var _0x4ba135=_0x115079;_0x2d8f3d[_0x4ba135(0xc7)](this[_0x4ba135(0x156)],[[_0x580b4d[_0x4ba135(0x1ab)]]]);}},_0x38349f(_0x580b4d[_0x115079(0x17f)],_0x115079(0x18a),_0x2d8f3d[_0x115079(0x11b)][_0x115079(0x11d)]),_0x38349f(_0x580b4d[_0x115079(0x17f)],_0x115079(0x13f),_0x361e34),_0x580b4d[_0x115079(0x17f)]=_0xe39541([_0x2d8f3d[_0x115079(0xf7)](_0x4b29b3['UniverCollaborationClientPlugin']),_0x1b6330(0x1,_0x2d8f3d['Inject'](_0x2d8f3d[_0x115079(0x1a1)])),_0x1b6330(0x2,_0x2d8f3d[_0x115079(0x18c)])],_0x580b4d[_0x115079(0x17f)]),_0x580b4d[_0x115079(0x1b7)]=_0x561a55,_0x580b4d[_0x115079(0x14e)]=_0x9e009,_0x580b4d[_0x115079(0x152)]=_0x16904f,Object[_0x115079(0x163)](_0x580b4d,Symbol[_0x115079(0xdb)],{'value':'Module'});}));function _0x4220(){var _0x579163=['evenodd','CollaborationSessionService','end','useRef','_presenter','offline','parse','univer-mb-3\x20univer-w-full\x20univer-text-sm','jsx','510112DmbvCj','_startLiveShareCoordinator','currentColor','LiveShareController','UniverLiveSharePlugin','UniverSheets','UniverProCollaborationClient','startFollowing','UniverCore','live-share-icon','_commandService','IUniverInstanceService','clsx','UNIVER_LIVE_SHARE_PLUGIN','sheet','type','_mountLiveShare','IConfigService','xlink:href','UniverDesign','status$','idle','path','getTypeOfUnitAdded$','icon','toDisposable','_startFollowing','14hDVMmg','0\x200\x2017\x2017','then','@univerjs/sheets-ui','Button','mask','react','default','mutations','amd','_status','Injector','getOwnPropertySymbols','stringify','LIVESHARE_OPERATION','SessionStatus','unsubscribe','idSuffix','LiveShareCoordinator','RxDisposable','svg','DesktopLiveShareController','UniverUi','shouldShareOperation','trim','forEach','getInitialStates','memberID','params','function','Inject','getCurrentTypeOfUnit$','parseProtocolChangeset','LiveShare','useEffect','touchDependencies','LIVESHARE_TERMINATE','find','subscribe','registerSharedOperation','DisposableCollection','children','onCommandExecuted','getLiveShareCoordinator','_configService','none','_handleOnline','@univerjs/design','fill','text','_config','includes','@univerjs/core','map','InsertSheetMutation','toStringTag','UniverIcon','SetScrollOperation','div','stopFollowing','string','jsxs','_handleTerminate','_reporters','replace','hasOwnProperty','_handleOffline','CollaborationEvent','SetWorksheetActiveOperation','get','operations','propertyIsEnumerable','useState','ICommandService','LIVESHARE_REQUEST_HOST','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','colorChannel1','attrs','univerjs-icon\x20univerjs-icon-','9KQisrH','BuiltInUIPart','throttleTime','send','DependentOn','assign','Start','next','add','values','set','getUnitId','1em','not-following','concat','extend','16371388pjzDxp','_sharedOperations','defs','indexOf','requireSession','Plugin','executeCommand','Stop\x20presenting','stopPresenting','Present\x20this\x20document','className','dispose','sessionStatus$','defIds','You\x27are\x20offline.','_handleOperation','_liveShareService','reverse','disposeWithMe','useDependency','live-share.config','entries','mergeOverrideWithDependencies','complete','UniverInstanceType','IUIPartsService','UNIVER_UNKNOWN','displayName','FOLLOWING','104otCidy','LIVESHARE_FETCH_OPERATIONS','registerDependencies','_entities','23550iVfpVs','Subject','_fetchOperations','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','delete','takeUntil','unitId','UniverSheetsUi','dispose$','has','onRendered','Start\x20following','PRESENTING','219363dDASme','createInstance','4787106OVJWlb','toString','_handleNewChangeSets','asObservable','Disposable','getTypeOfUnitDisposed$','presenting','_commandDisposable','_collabSession','_univerInstanceService','pipe','_stopFollowing','pluginName','@univerjs/ui','_startPresenting','current','operators','@univerjs-pro/collaboration','You\x27re\x20following\x20the\x20presenter','use','212SNMRKv','_handleNewHost','_init','Fragment','init','url(#$1','data','LiveShareService','event$','387618nqLUOo','rxjs','LiveShareStatus','clear','NOT_FOLLOWING','UniverProLiveShare','_injector','React','tryStartPresenting','prototype','_beIdle','following','from','_stopPresenting','IDLE','_unitID','exports','_status$','react/jsx-runtime','defineProperty','rxjs/operators','You\x27re\x20not\x20following\x20the\x20presenter','length','UNIVER_SHEET','OFFLINE','getOwnPropertyDescriptor','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','merge','getMemberID','forwardRef','3716260OjZFqu','tag','presenter','call'];_0x4220=function(){return _0x579163;};return _0x4220();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/live-share",
3
- "version": "0.10.7-nightly.202509130618",
3
+ "version": "0.10.7-nightly.202509130640",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal ui-plugin-sheets",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@univerjs/icons": "^0.4.7",
50
- "@univerjs-pro/collaboration": "0.10.7-nightly.202509130618",
51
- "@univerjs/core": "0.10.7-nightly.202509130618",
52
- "@univerjs-pro/collaboration-client": "0.10.7-nightly.202509130618",
53
- "@univerjs/design": "0.10.7-nightly.202509130618",
54
- "@univerjs/ui": "0.10.7-nightly.202509130618",
55
- "@univerjs/sheets": "0.10.7-nightly.202509130618",
56
- "@univerjs/sheets-ui": "0.10.7-nightly.202509130618"
50
+ "@univerjs-pro/collaboration": "0.10.7-nightly.202509130640",
51
+ "@univerjs-pro/collaboration-client": "0.10.7-nightly.202509130640",
52
+ "@univerjs/design": "0.10.7-nightly.202509130640",
53
+ "@univerjs/sheets": "0.10.7-nightly.202509130640",
54
+ "@univerjs/sheets-ui": "0.10.7-nightly.202509130640",
55
+ "@univerjs/ui": "0.10.7-nightly.202509130640",
56
+ "@univerjs/core": "0.10.7-nightly.202509130640"
57
57
  },
58
58
  "devDependencies": {
59
59
  "postcss": "^8.5.6",