@univerjs-pro/collaboration-client 0.5.0-nightly.202411181606 → 0.5.0-nightly.202411191606

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';const _0x31ef25=_0x47c6;(function(_0x402f8c,_0x503ee7){const _0x253f81=_0x47c6,_0x4ab6d7=_0x402f8c();while(!![]){try{const _0x34f56c=parseInt(_0x253f81(0x254))/0x1+parseInt(_0x253f81(0x4c3))/0x2+parseInt(_0x253f81(0x5a5))/0x3+parseInt(_0x253f81(0x391))/0x4+parseInt(_0x253f81(0x51e))/0x5*(-parseInt(_0x253f81(0x246))/0x6)+-parseInt(_0x253f81(0x4cb))/0x7*(-parseInt(_0x253f81(0x38e))/0x8)+parseInt(_0x253f81(0x5b2))/0x9*(-parseInt(_0x253f81(0x42f))/0xa);if(_0x34f56c===_0x503ee7)break;else _0x4ab6d7['push'](_0x4ab6d7['shift']());}catch(_0x131ca4){_0x4ab6d7['push'](_0x4ab6d7['shift']());}}}(_0x9dca,0xac529));function _0x47c6(_0x107ee5,_0x41fd06){const _0x9dca19=_0x9dca();return _0x47c6=function(_0x47c6d6,_0x43228e){_0x47c6d6=_0x47c6d6-0x174;let _0x2720f4=_0x9dca19[_0x47c6d6];return _0x2720f4;},_0x47c6(_0x107ee5,_0x41fd06);}var Ln=Object[_0x31ef25(0x4c2)],xn=(_0x4f559d,_0x23b33e,_0x13c96d)=>_0x23b33e in _0x4f559d?Ln(_0x4f559d,_0x23b33e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c96d}):_0x4f559d[_0x23b33e]=_0x13c96d,I=(_0x3a3774,_0x5ebe2d,_0x544f19)=>xn(_0x3a3774,typeof _0x5ebe2d!=_0x31ef25(0x51b)?_0x5ebe2d+'':_0x5ebe2d,_0x544f19);Object[_0x31ef25(0x4c2)](exports,Symbol['toStringTag'],{'value':_0x31ef25(0x53d)});const a=require('@univerjs/core'),A=require(_0x31ef25(0x2d8)),V=require(_0x31ef25(0x3c3)),Ie=require(_0x31ef25(0x20f)),J=require(_0x31ef25(0x276)),te=require(_0x31ef25(0x60a)),p=require(_0x31ef25(0x503)),jn=require(_0x31ef25(0x447)),Z=require(_0x31ef25(0x1f1)),B=require('@univerjs/sheets'),K=require('@univerjs/engine-render'),ye=require(_0x31ef25(0x27e)),ne=require(_0x31ef25(0x3f0)),Pt=require(_0x31ef25(0x2c0)),Re=require(_0x31ef25(0x545)),ae=require(_0x31ef25(0x299)),$n=require('@univerjs/rpc'),Zt=_0x31ef25(0x344),Hn=_0x31ef25(0x348),Qt=_0x31ef25(0x486),kn=_0x31ef25(0x490),Bn=0x7d0,en=_0x31ef25(0x301),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',Fn=_0x31ef25(0x2cc),tn=_0x31ef25(0x3e9),Vn=0x7530,Ct=_0x31ef25(0x352),nn=0x4e20,Gn=0x4e20,sn='RETRY_CONNECTING_MAX_COUNT',Yn=0x3,rn=_0x31ef25(0x3fe),Kn=0x3e8,on='COLLAB_SUBMIT_CHANGESET_URL',qn='/universer-api/comb',an=_0x31ef25(0x513),zn=_0x31ef25(0x23b);var cn=(_0x59764c=>(_0x59764c[_0x59764c[_0x31ef25(0x252)]=0x0]=_0x31ef25(0x252),_0x59764c[_0x59764c['OK']=0x1]='OK',_0x59764c[_0x59764c[_0x31ef25(0x210)]=0x2]=_0x31ef25(0x210),_0x59764c[_0x59764c['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x59764c[_0x59764c[_0x31ef25(0x57a)]=0x4]=_0x31ef25(0x57a),_0x59764c[_0x59764c['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x59764c[_0x59764c['ALREADY_EXISTS']=0x6]=_0x31ef25(0x554),_0x59764c[_0x59764c['INVALID_ARGUMENT']=0x7]=_0x31ef25(0x53e),_0x59764c[_0x59764c[_0x31ef25(0x1bd)]=0x8]=_0x31ef25(0x1bd),_0x59764c[_0x59764c[_0x31ef25(0x212)]=0x9]=_0x31ef25(0x212),_0x59764c[_0x59764c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x31ef25(0x63d),_0x59764c[_0x59764c[_0x31ef25(0x519)]=0x1771]=_0x31ef25(0x519),_0x59764c[_0x59764c[_0x31ef25(0x30f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x59764c[_0x59764c[_0x31ef25(0x1d1)]=0x1773]=_0x31ef25(0x1d1),_0x59764c[_0x59764c['APPLY_REJECT']=0x1b59]=_0x31ef25(0x215),_0x59764c[_0x59764c[_0x31ef25(0x1e5)]=0x1b5a]=_0x31ef25(0x1e5),_0x59764c[_0x59764c[_0x31ef25(0x1c0)]=0x1b5b]=_0x31ef25(0x1c0),_0x59764c[_0x59764c[_0x31ef25(0x54a)]=0x1b5c]=_0x31ef25(0x54a),_0x59764c[_0x59764c[_0x31ef25(0x289)]=0x1b5d]=_0x31ef25(0x289),_0x59764c[_0x59764c[_0x31ef25(0x36f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x59764c[_0x59764c[_0x31ef25(0x41d)]=0x2329]=_0x31ef25(0x41d),_0x59764c[_0x59764c[_0x31ef25(0x237)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x59764c[_0x59764c[_0x31ef25(0x632)]=0x232b]=_0x31ef25(0x632),_0x59764c[_0x59764c[_0x31ef25(0x5b0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x59764c[_0x59764c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x59764c[_0x59764c[_0x31ef25(0x408)]=0x2711]=_0x31ef25(0x408),_0x59764c[_0x59764c[_0x31ef25(0x36b)]=0x2712]=_0x31ef25(0x36b),_0x59764c[_0x59764c[_0x31ef25(0x243)]=0x2713]=_0x31ef25(0x243),_0x59764c[_0x59764c[_0x31ef25(0x357)]=0x2714]=_0x31ef25(0x357),_0x59764c[_0x59764c['UNRECOGNIZED']=-0x1]=_0x31ef25(0x40c),_0x59764c))(cn||{}),ie=(_0x84d894=>(_0x84d894[_0x84d894[_0x31ef25(0x491)]=0x0]='UNIVER_UNKNOWN',_0x84d894[_0x84d894['UNIVER_DOC']=0x1]=_0x31ef25(0x459),_0x84d894[_0x84d894[_0x31ef25(0x3dc)]=0x2]=_0x31ef25(0x3dc),_0x84d894[_0x84d894[_0x31ef25(0x218)]=0x3]=_0x31ef25(0x218),_0x84d894[_0x84d894[_0x31ef25(0x4d6)]=0x4]=_0x31ef25(0x4d6),_0x84d894[_0x84d894[_0x31ef25(0x40c)]=-0x1]=_0x31ef25(0x40c),_0x84d894))(ie||{}),G=(_0x3e6530=>(_0x3e6530[_0x3e6530[_0x31ef25(0x52c)]=0x0]=_0x31ef25(0x52c),_0x3e6530[_0x3e6530[_0x31ef25(0x637)]=0x1]=_0x31ef25(0x637),_0x3e6530[_0x3e6530[_0x31ef25(0x419)]=0x2]='JOIN',_0x3e6530[_0x3e6530[_0x31ef25(0x4b2)]=0x3]='LEAVE',_0x3e6530[_0x3e6530[_0x31ef25(0x4a4)]=0x4]='INGEST',_0x3e6530[_0x3e6530['HEARTBEAT']=0x5]='HEARTBEAT',_0x3e6530[_0x3e6530[_0x31ef25(0x24e)]=0x6]=_0x31ef25(0x24e),_0x3e6530[_0x3e6530[_0x31ef25(0x40c)]=-0x1]=_0x31ef25(0x40c),_0x3e6530))(G||{}),Et=(_0x5ef607=>(_0x5ef607[_0x5ef607[_0x31ef25(0x4de)]=0x0]='UNKNOWN_CODE',_0x5ef607[_0x5ef607['OK']=0x1]='OK',_0x5ef607[_0x5ef607[_0x31ef25(0x272)]=0x2]='FAIL',_0x5ef607[_0x5ef607['JOIN_ROOM_FULL']=0x3e9]=_0x31ef25(0x20b),_0x5ef607[_0x5ef607[_0x31ef25(0x43e)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x5ef607[_0x5ef607[_0x31ef25(0x40c)]=-0x1]=_0x31ef25(0x40c),_0x5ef607))(Et||{}),ln=(_0x336896=>(_0x336896[_0x336896[_0x31ef25(0x314)]=0x0]=_0x31ef25(0x314),_0x336896[_0x336896[_0x31ef25(0x5d3)]=0x1]=_0x31ef25(0x5d3),_0x336896[_0x336896['HttpExport']=0x2]=_0x31ef25(0x5bf),_0x336896[_0x336896[_0x31ef25(0x2f2)]=0x3]=_0x31ef25(0x2f2),_0x336896[_0x336896[_0x31ef25(0x2ba)]=0x4]='UnitSnapshot',_0x336896[_0x336896['UNRECOGNIZED']=-0x1]=_0x31ef25(0x40c),_0x336896))(ln||{});const ee='collaboration-client.config',Xn={};function hn(_0x21fa98){const _0x1c4fc2=_0x31ef25;var _0x3c664f,_0x36e72a,_0xc27fcd,_0x22d6e4,_0x59242b;const _0x33b5f9=_0x21fa98[_0x1c4fc2(0x5bb)],_0x168400=JSON[_0x1c4fc2(0x5ef)](_0x33b5f9);switch(_0x168400[_0x1c4fc2(0x3b3)]){case G['HEARTBEAT']:case G[_0x1c4fc2(0x637)]:{const _0x585234=_0x168400['infoRsp'];return{..._0x168400,'data':_0x585234,'cmd':_0x168400[_0x1c4fc2(0x3b3)]};}case G[_0x1c4fc2(0x419)]:{const _0x3da972=_0x168400[_0x1c4fc2(0x3bd)];return{..._0x168400,'data':_0x3da972,'cmd':_0x168400[_0x1c4fc2(0x3b3)]};}case G['RECV']:{const _0x538ff5=_0x168400[_0x1c4fc2(0x1d7)];switch(_0x538ff5['eventID']){case p['CollaborationEvent'][_0x1c4fc2(0x5f2)]:return{..._0x168400,'data':{..._0x538ff5,'data':(_0x3c664f=_0x538ff5[_0x1c4fc2(0x17b)])==null?void 0x0:_0x3c664f['cs']},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)]['CHANGESET_ACK']:return{..._0x168400,'data':{..._0x538ff5,'data':(_0x36e72a=_0x538ff5[_0x1c4fc2(0x531)])==null?void 0x0:_0x36e72a['cs']},'cmd':_0x168400['cmd']};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x620)]:return{..._0x168400,'data':{..._0x538ff5,'data':(_0xc27fcd=_0x538ff5[_0x1c4fc2(0x397)])==null?void 0x0:_0xc27fcd['cs']},'cmd':_0x168400['cmd']};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x1f4)]:return{..._0x168400,'data':{..._0x538ff5,'data':(_0x22d6e4=_0x538ff5[_0x1c4fc2(0x232)])==null?void 0x0:_0x22d6e4['cs']},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)]['CHANGESET_SHOULD_RETRY']:return{..._0x168400,'data':{..._0x538ff5,'data':(_0x59242b=_0x538ff5['csShouldRetryEvent'])==null?void 0x0:_0x59242b['cs']},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p['CollaborationEvent'][_0x1c4fc2(0x58b)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x19a)]},'cmd':_0x168400['cmd']};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x4a1)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x43c)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x56c)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x320)]},'cmd':_0x168400['cmd']};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x201)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x2d7)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x4fe)]:case p['CollaborationEvent'][_0x1c4fc2(0x1a4)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x2f4)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x345)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x2d7)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x1df)]:return{..._0x168400,'data':_0x538ff5,'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x63e)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x407)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p[_0x1c4fc2(0x4e5)][_0x1c4fc2(0x248)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x4db)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};case p['CollaborationEvent'][_0x1c4fc2(0x4d8)]:return{..._0x168400,'data':{..._0x538ff5,'data':_0x538ff5[_0x1c4fc2(0x41e)]},'cmd':_0x168400[_0x1c4fc2(0x3b3)]};default:return _0x168400;}}default:return _0x168400;}}function _n(_0x5770ef){const _0x58ca20=_0x31ef25;switch(_0x5770ef[_0x58ca20(0x3b3)]){case G[_0x58ca20(0x5c6)]:case G[_0x58ca20(0x637)]:return JSON[_0x58ca20(0x557)]({'cmd':_0x5770ef[_0x58ca20(0x3b3)],'routeKey':_0x5770ef[_0x58ca20(0x52a)]});case G[_0x58ca20(0x4a4)]:{let _0x1ae970;switch(_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x318)]){case p[_0x58ca20(0x4e5)][_0x58ca20(0x58b)]:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)]['UPDATE_CURSOR'],'updateCursorEvent':_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x5bb)]};break;}case p[_0x58ca20(0x4e5)][_0x58ca20(0x56c)]:{_0x1ae970={'eventID':p['CollaborationEvent'][_0x58ca20(0x56c)],'leaveEvent':_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x5bb)]};break;}case p['CollaborationEvent']['USERS_ENTER']:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)]['USERS_ENTER'],'joinEvent':_0x5770ef[_0x58ca20(0x5bb)]['data']};break;}case p[_0x58ca20(0x4e5)]['LIVESHARE_NEW_HOST']:{_0x1ae970={'eventID':p['CollaborationEvent'][_0x58ca20(0x201)],'liveShareNewHost':_0x5770ef['data'][_0x58ca20(0x5bb)]};break;}case p[_0x58ca20(0x4e5)][_0x58ca20(0x1a4)]:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)][_0x58ca20(0x1a4)],'liveShareOperation':_0x5770ef['data'][_0x58ca20(0x5bb)]};break;}case p[_0x58ca20(0x4e5)][_0x58ca20(0x345)]:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x5bb)]};break;}case p[_0x58ca20(0x4e5)]['LIVESHARE_REQUEST_HOST']:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)][_0x58ca20(0x5b4)],'liveShareRequestHost':_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x5bb)]};break;}case p[_0x58ca20(0x4e5)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1ae970={'eventID':p[_0x58ca20(0x4e5)][_0x58ca20(0x4fe)]};break;}default:_0x1ae970={'eventID':_0x5770ef[_0x58ca20(0x5bb)][_0x58ca20(0x318)]};}return JSON['stringify']({'cmd':_0x5770ef[_0x58ca20(0x3b3)],'routeKey':_0x5770ef['routeKey'],'collaMsg':_0x1ae970});}case G['JOIN']:return JSON[_0x58ca20(0x557)]({'cmd':_0x5770ef[_0x58ca20(0x3b3)],'routeKey':_0x5770ef[_0x58ca20(0x52a)],'joinReq':_0x5770ef[_0x58ca20(0x5bb)]});case G[_0x58ca20(0x4b2)]:return JSON[_0x58ca20(0x557)]({'cmd':_0x5770ef[_0x58ca20(0x3b3)],'routeKey':_0x5770ef[_0x58ca20(0x52a)],'leaveReq':_0x5770ef['data']});default:throw new Error(_0x58ca20(0x50d));}}var Jn=Object['defineProperty'],Zn=Object[_0x31ef25(0x53c)],Qn=(_0xc601fd,_0x11ed65,_0x48be7f,_0xf0b5a2)=>{const _0x2fb5b2=_0x31ef25;for(var _0x1e411d=_0xf0b5a2>0x1?void 0x0:_0xf0b5a2?Zn(_0x11ed65,_0x48be7f):_0x11ed65,_0x120913=_0xc601fd[_0x2fb5b2(0x360)]-0x1,_0x50bcfd;_0x120913>=0x0;_0x120913--)(_0x50bcfd=_0xc601fd[_0x120913])&&(_0x1e411d=(_0xf0b5a2?_0x50bcfd(_0x11ed65,_0x48be7f,_0x1e411d):_0x50bcfd(_0x1e411d))||_0x1e411d);return _0xf0b5a2&&_0x1e411d&&Jn(_0x11ed65,_0x48be7f,_0x1e411d),_0x1e411d;},we=(_0x565726,_0x5a2942)=>(_0x485620,_0x529f2a)=>_0x5a2942(_0x485620,_0x529f2a,_0x565726);const bt=a['createIdentifier'](_0x31ef25(0x213));function ei(_0x44b1ea,_0x346dfc,_0x17eaf2){const _0x1351f7=_0x31ef25;return _0x44b1ea+'/'+_0x346dfc+_0x1351f7(0x591)+_0x17eaf2+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0x31ef25(0x377)]{constructor(_0x702b1c,_0x12bcf7,_0x5f8cb2,_0x572568,_0x514a57){const _0x317ee8=_0x31ef25;super(),this[_0x317ee8(0x58f)]=_0x702b1c,this[_0x317ee8(0x322)]=_0x12bcf7,this[_0x317ee8(0x372)]=_0x5f8cb2,this[_0x317ee8(0x60f)]=_0x572568,this[_0x317ee8(0x349)]=_0x514a57;}[_0x31ef25(0x34a)](_0x120332){const _0x49b4b2=_0x31ef25,_0x3757f2=this[_0x49b4b2(0x322)]['createSocket'](_0x120332);if(!_0x3757f2)throw new Error(_0x49b4b2(0x23f));const _0x2ae7c1=new a['DisposableCollection'](),_0x431c01=new A[(_0x49b4b2(0x3ce))]();_0x2ae7c1['add'](_0x3757f2[_0x49b4b2(0x346)]['subscribe'](_0x67e1e0=>_0x431c01[_0x49b4b2(0x28d)](_0x67e1e0))),_0x2ae7c1[_0x49b4b2(0x5f4)](a['toDisposable'](()=>_0x431c01[_0x49b4b2(0x1f8)]()));const _0x3aeb0b=new A[(_0x49b4b2(0x3ce))]();_0x2ae7c1[_0x49b4b2(0x5f4)](_0x3757f2[_0x49b4b2(0x63a)][_0x49b4b2(0x52d)](_0xac9e56=>_0x3aeb0b[_0x49b4b2(0x28d)](_0xac9e56))),_0x2ae7c1[_0x49b4b2(0x5f4)](a[_0x49b4b2(0x284)](()=>_0x3aeb0b['complete']()));const _0x5961d3=new A[(_0x49b4b2(0x3ce))]();_0x2ae7c1[_0x49b4b2(0x5f4)](_0x3757f2[_0x49b4b2(0x50a)][_0x49b4b2(0x52d)](_0x415bf3=>{const _0x15fb87=hn(_0x415bf3);_0x5961d3['next'](_0x15fb87);})),_0x2ae7c1[_0x49b4b2(0x5f4)](a[_0x49b4b2(0x284)](()=>_0x5961d3[_0x49b4b2(0x1f8)]()));let _0x2acc7f;const _0x7e7d00=()=>{const _0x2a73a1=_0x49b4b2;_0x3aeb0b[_0x2a73a1(0x28d)](new Event(_0x2a73a1(0x1d3))),_0x431c01['next'](new CloseEvent('connection\x20error')),_0x2acc7f[_0x2a73a1(0x5d5)]();};return _0x2acc7f={'memberID':'','close$':_0x431c01[_0x49b4b2(0x4d3)](),'error$':_0x3aeb0b[_0x49b4b2(0x4d3)](),'open$':_0x3757f2[_0x49b4b2(0x445)],'message$':_0x5961d3[_0x49b4b2(0x4d3)](),'send':_0x5faeb8=>{const _0x121ce5=_0x49b4b2;if(_0x5faeb8['cmd']===G[_0x121ce5(0x4a4)]){if(_0x5faeb8[_0x121ce5(0x5bb)]['eventID']===p['CollaborationEvent'][_0x121ce5(0x1bc)]){this[_0x121ce5(0x1de)](_0x2acc7f,_0x5faeb8[_0x121ce5(0x5bb)])[_0x121ce5(0x3b6)](_0x120b77=>{const _0x2755f8=_0x121ce5;this[_0x2755f8(0x60f)][_0x2755f8(0x220)](_0x120b77),_0x7e7d00();});return;}if(_0x5faeb8[_0x121ce5(0x5bb)]['eventID']===p[_0x121ce5(0x4e5)]['FETCH_MISSING']){const _0x387dd6=_0x5faeb8[_0x121ce5(0x5bb)];this[_0x121ce5(0x1b5)](_0x387dd6)[_0x121ce5(0x5cf)](_0x36dd1c=>{const _0x5353d2=_0x121ce5;_0x5961d3[_0x5353d2(0x28d)]({'cmd':G[_0x5353d2(0x24e)],'code':Et['OK'],'routeKey':_0x387dd6[_0x5353d2(0x5bb)][_0x5353d2(0x5db)],'routeType':'','data':{'eventID':p[_0x5353d2(0x4e5)][_0x5353d2(0x428)],'data':{'changesets':_0x36dd1c}}});})[_0x121ce5(0x3b6)](_0xa330c4=>{const _0x1aa285=_0x121ce5;this[_0x1aa285(0x60f)][_0x1aa285(0x220)](_0xa330c4),_0x7e7d00();});return;}}_0x3757f2[_0x121ce5(0x3dd)](_n(_0x5faeb8));},'close':()=>{const _0x5f4f51=_0x49b4b2;_0x3757f2[_0x5f4f51(0x5d5)](),_0x2ae7c1[_0x5f4f51(0x310)]();}},_0x2acc7f;}async[_0x31ef25(0x1de)](_0x2190b3,_0x81ce98){const _0x1a184f=_0x31ef25;var _0x220027,_0x48fdd8;const {unitType:_0x27b2d4,unitID:_0x58feef,changeset:_0x10a0e4}=_0x81ce98[_0x1a184f(0x5bb)],_0x5c92bf={'unitID':_0x58feef,'memberID':_0x2190b3[_0x1a184f(0x362)],'type':_0x27b2d4,'changeset':p[_0x1a184f(0x5dc)](_0x10a0e4)},_0x55b319=this['_configService'][_0x1a184f(0x403)](on),_0x3a49ac=this[_0x1a184f(0x372)][_0x1a184f(0x403)](ee),_0x409410=ei((_0x48fdd8=(_0x220027=_0x3a49ac==null?void 0x0:_0x3a49ac[_0x1a184f(0x1a1)])!=null?_0x220027:_0x55b319)!=null?_0x48fdd8:qn,_0x27b2d4,_0x58feef);try{await this['_http']['post'](_0x409410,{'body':_0x5c92bf});}catch(_0x478e65){throw this[_0x1a184f(0x60f)][_0x1a184f(0x220)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x478e65;}}async[_0x31ef25(0x1b5)](_0x18aa3e){const _0x3e9ccb=_0x31ef25,{unitID:_0x1d54dd,from:_0x9e4cc3,to:_0x2964c9,unitType:_0x1d863e}=_0x18aa3e[_0x3e9ccb(0x5bb)];return(await this[_0x3e9ccb(0x349)][_0x3e9ccb(0x244)]({'metadata':void 0x0},{'unitID':_0x1d54dd,'type':_0x1d863e,'from':_0x9e4cc3,'to':_0x2964c9}))[_0x3e9ccb(0x260)];}},exports[_0x31ef25(0x51f)]=Qn([we(0x0,a['Inject'](J[_0x31ef25(0x5a8)])),we(0x1,a[_0x31ef25(0x249)](J[_0x31ef25(0x18f)])),we(0x2,a[_0x31ef25(0x3ca)]),we(0x3,a[_0x31ef25(0x31b)]),we(0x4,p['ISnapshotServerService'])],exports['CollaborationSocketService']);const ti=_0x31ef25(0x56f);function ni(_0x5cb513){const _0x3961f5=_0x31ef25;return JSON[_0x3961f5(0x557)](_0x5cb513)['length'];}class Tt{constructor(){const _0x5127d2=_0x31ef25;I(this,_0x5127d2(0x1c1),new A[(_0x5127d2(0x3ce))]()),I(this,_0x5127d2(0x572),this['_commentUpdate$'][_0x5127d2(0x4d3)]());}[_0x31ef25(0x379)](_0x5921ce){const _0x3dc0bb=_0x31ef25;this['_commentUpdate$'][_0x3dc0bb(0x28d)](_0x5921ce);}}var ii=Object[_0x31ef25(0x4c2)],si=Object[_0x31ef25(0x53c)],ri=(_0x102cd7,_0x4b78db,_0x57a9bb,_0x5f1e14)=>{for(var _0x30f80d=_0x5f1e14>0x1?void 0x0:_0x5f1e14?si(_0x4b78db,_0x57a9bb):_0x4b78db,_0x174f47=_0x102cd7['length']-0x1,_0xd89b9d;_0x174f47>=0x0;_0x174f47--)(_0xd89b9d=_0x102cd7[_0x174f47])&&(_0x30f80d=(_0x5f1e14?_0xd89b9d(_0x4b78db,_0x57a9bb,_0x30f80d):_0xd89b9d(_0x30f80d))||_0x30f80d);return _0x5f1e14&&_0x30f80d&&ii(_0x4b78db,_0x57a9bb,_0x30f80d),_0x30f80d;},Ut=(_0x5c2f78,_0x1631a2)=>(_0x5820a4,_0x45b70f)=>_0x1631a2(_0x5820a4,_0x45b70f,_0x5c2f78);exports[_0x31ef25(0x615)]=class extends a[_0x31ef25(0x377)]{constructor(_0x5053e8,_0x5f25b4){const _0x37cb7a=_0x31ef25;super(),I(this,'_roomMembers',new Map()),(this[_0x37cb7a(0x2a3)]=_0x5053e8,this['_userManagerService']=_0x5f25b4,this[_0x37cb7a(0x328)](a[_0x37cb7a(0x284)](A[_0x37cb7a(0x29f)](this[_0x37cb7a(0x2a3)][_0x37cb7a(0x635)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x37cb7a(0x37e)](V[_0x37cb7a(0x2a9)](_0x37333f=>_0x37333f[_0x37cb7a(0x5ba)]())),this[_0x37cb7a(0x2a3)]['getTypeOfUnitDisposed$'](a[_0x37cb7a(0x236)][_0x37cb7a(0x459)])[_0x37cb7a(0x37e)](V[_0x37cb7a(0x2a9)](_0x361f43=>_0x361f43[_0x37cb7a(0x5ba)]())),this[_0x37cb7a(0x2a3)][_0x37cb7a(0x635)](a['UniverInstanceType'][_0x37cb7a(0x218)])['pipe'](V[_0x37cb7a(0x2a9)](_0x3e8a42=>_0x3e8a42[_0x37cb7a(0x5ba)]())))[_0x37cb7a(0x52d)](_0x1469e0=>this[_0x37cb7a(0x55a)](_0x1469e0)))));}[_0x31ef25(0x27a)](_0x9fb013){const _0x61111f=_0x31ef25;this[_0x61111f(0x39f)][_0x61111f(0x27a)](_0x9fb013);}[_0x31ef25(0x330)](){const _0x296990=_0x31ef25;return this[_0x296990(0x39f)]['getCurrentUser']();}[_0x31ef25(0x496)](_0x25e0b4,_0x4d6020){const _0x3bc25f=_0x31ef25;let _0x20ae3b=this['_roomMembers'][_0x3bc25f(0x4c8)](_0x25e0b4);_0x20ae3b||(_0x20ae3b=new oi(),this[_0x3bc25f(0x37f)][_0x3bc25f(0x3bb)](_0x25e0b4,_0x20ae3b)),_0x20ae3b[_0x3bc25f(0x496)](_0x4d6020);}['removeMember'](_0xfa67e4,_0x277c19){const _0x4dc564=_0x31ef25,_0x1cfdad=this['_roomMembers'][_0x4dc564(0x4c8)](_0xfa67e4);_0x1cfdad&&_0x1cfdad[_0x4dc564(0x499)](_0x277c19);}['getRoom'](_0x46d8fb){const _0x268585=_0x31ef25;return this[_0x268585(0x37f)][_0x268585(0x4c8)](_0x46d8fb);}[_0x31ef25(0x467)](_0x153282,_0x22146d){const _0x5f249c=_0x31ef25,_0x2c8a13=this[_0x5f249c(0x37f)][_0x5f249c(0x4c8)](_0x153282);if(_0x2c8a13)return _0x2c8a13[_0x5f249c(0x467)](_0x22146d);}[_0x31ef25(0x55a)](_0x543282){const _0x4a915b=_0x31ef25,_0x22ff02=this[_0x4a915b(0x37f)]['get'](_0x543282);_0x22ff02&&(_0x22ff02[_0x4a915b(0x310)](),this[_0x4a915b(0x37f)][_0x4a915b(0x33a)](_0x543282));}[_0x31ef25(0x310)](){const _0x18edaa=_0x31ef25;this[_0x18edaa(0x37f)]['forEach'](_0x225e83=>_0x225e83[_0x18edaa(0x310)]()),this[_0x18edaa(0x37f)]['clear']();}},exports[_0x31ef25(0x615)]=ri([Ut(0x0,a[_0x31ef25(0x28e)]),Ut(0x1,a[_0x31ef25(0x249)](a['UserManagerService']))],exports['MemberService']);class oi extends a[_0x31ef25(0x377)]{constructor(){const _0x4856f5=_0x31ef25;super(...arguments),I(this,_0x4856f5(0x207),new Map());}['dispose'](){const _0x1a67f3=_0x31ef25;this[_0x1a67f3(0x207)][_0x1a67f3(0x42c)]();}[_0x31ef25(0x496)](_0x498b14){const _0x1934cb=_0x31ef25;this['_members']['set'](_0x498b14[_0x1934cb(0x362)],_0x498b14);}[_0x31ef25(0x499)](_0x4859b0){const _0x53a737=_0x31ef25;this[_0x53a737(0x207)][_0x53a737(0x33a)](_0x4859b0);}[_0x31ef25(0x467)](_0x254360){const _0xbced98=_0x31ef25;return this[_0xbced98(0x207)][_0xbced98(0x4c8)](_0x254360);}[_0x31ef25(0x41b)](){const _0x49e5e2=_0x31ef25;return Array[_0x49e5e2(0x5a3)](this[_0x49e5e2(0x207)][_0x49e5e2(0x2a0)]());}}var ai=Object[_0x31ef25(0x4c2)],ci=Object[_0x31ef25(0x53c)],li=(_0x1bc5c7,_0x228ee9,_0x2f81d5,_0x3cd0e1)=>{for(var _0x2d053b=_0x3cd0e1>0x1?void 0x0:_0x3cd0e1?ci(_0x228ee9,_0x2f81d5):_0x228ee9,_0x1be9c8=_0x1bc5c7['length']-0x1,_0x5ea0c3;_0x1be9c8>=0x0;_0x1be9c8--)(_0x5ea0c3=_0x1bc5c7[_0x1be9c8])&&(_0x2d053b=(_0x3cd0e1?_0x5ea0c3(_0x228ee9,_0x2f81d5,_0x2d053b):_0x5ea0c3(_0x2d053b))||_0x2d053b);return _0x3cd0e1&&_0x2d053b&&ai(_0x228ee9,_0x2f81d5,_0x2d053b),_0x2d053b;},de=(_0x375f9a,_0x49384c)=>(_0x7ab510,_0x544865)=>_0x49384c(_0x7ab510,_0x544865,_0x375f9a),se=(_0x44eec6=>(_0x44eec6[_0x44eec6[_0x31ef25(0x619)]=0x0]=_0x31ef25(0x619),_0x44eec6[_0x44eec6['JOINING']=0x1]='JOINING',_0x44eec6[_0x44eec6['OFFLINE']=0x2]=_0x31ef25(0x208),_0x44eec6[_0x44eec6[_0x31ef25(0x400)]=0x3]=_0x31ef25(0x400),_0x44eec6))(se||{});exports[_0x31ef25(0x3c4)]=class extends a[_0x31ef25(0x25c)]{constructor(_0x5ad753,_0x34adbf,_0x2c9159,_0x3a0cf5,_0xb80864,_0x16680b,_0x2be9fd,_0x179cc9,_0x5158e8,_0x202775){const _0x5332dc=_0x31ef25;super(),I(this,_0x5332dc(0x5f9),new A[(_0x5332dc(0x555))](0x0)),I(this,_0x5332dc(0x456),this[_0x5332dc(0x5f9)]['asObservable']()),I(this,_0x5332dc(0x443),new A[(_0x5332dc(0x3ce))]()),I(this,_0x5332dc(0x63b),this[_0x5332dc(0x443)][_0x5332dc(0x4d3)]()),I(this,'_socket'),I(this,'_socketMessageSubscription'),I(this,_0x5332dc(0x3a2)),I(this,_0x5332dc(0x399),!0x1),I(this,_0x5332dc(0x39a),null),(this[_0x5332dc(0x381)]=_0x5ad753,this['_logService']=_0x2c9159,this[_0x5332dc(0x25a)]=_0x3a0cf5,this['_messageService']=_0xb80864,this[_0x5332dc(0x372)]=_0x16680b,this[_0x5332dc(0x592)]=_0x2be9fd,this[_0x5332dc(0x60b)]=_0x179cc9,this['_commentService']=_0x5158e8,this[_0x5332dc(0x21b)]=_0x202775,this['_shouldReportTelemetry']=!!this[_0x5332dc(0x21b)],_0x34adbf[_0x5332dc(0x37e)](A[_0x5332dc(0x471)](this[_0x5332dc(0x50e)]))[_0x5332dc(0x52d)](_0x5cc509=>{const _0x4dfd02=_0x5332dc;var _0x266400;typeof _0x5cc509>'u'||(this[_0x4dfd02(0x4ba)]=_0x5cc509,_0x5cc509?(this[_0x4dfd02(0x42b)](_0x5cc509),this[_0x4dfd02(0x3a5)]=_0x5cc509[_0x4dfd02(0x50a)][_0x4dfd02(0x52d)](_0x1784af=>{const _0x47f9cb=_0x4dfd02;_0x1784af[_0x47f9cb(0x52a)]===this[_0x47f9cb(0x381)]&&this[_0x47f9cb(0x612)](_0x1784af);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4dfd02(0x5f9)][_0x4dfd02(0x28d)](0x2),(_0x266400=this['_socketMessageSubscription'])==null||_0x266400[_0x4dfd02(0x3d6)](),this['_socketMessageSubscription']=null));}),this[_0x5332dc(0x328)](this[_0x5332dc(0x25a)][_0x5332dc(0x61f)](()=>{const _0x4f0f0b=_0x5332dc;var _0x893f5;(_0x893f5=this['_socket'])==null||_0x893f5[_0x4f0f0b(0x3dd)]({'cmd':G[_0x4f0f0b(0x4b2)],'data':{'roomID':this[_0x4f0f0b(0x381)]}});})));}get[_0x31ef25(0x4bb)](){const _0x7e2b6f=_0x31ef25;return this[_0x7e2b6f(0x5f9)][_0x7e2b6f(0x455)]();}[_0x31ef25(0x43b)](){const _0x490f26=_0x31ef25;var _0x913637,_0x6a80c6;return(_0x6a80c6=(_0x913637=this[_0x490f26(0x4ba)])==null?void 0x0:_0x913637[_0x490f26(0x362)])!=null?_0x6a80c6:null;}[_0x31ef25(0x310)](){const _0x3391c4=_0x31ef25;super['dispose'](),this['dispose$'][_0x3391c4(0x28d)](),this[_0x3391c4(0x50e)][_0x3391c4(0x1f8)]();}['close'](){const _0xa18046=_0x31ef25;var _0x472b94,_0x25073b;this[_0xa18046(0x4d4)](),(_0x472b94=this['_socket'])==null||_0x472b94[_0xa18046(0x3dd)]({'cmd':G[_0xa18046(0x4b2)],'data':{'roomID':this[_0xa18046(0x381)]}}),(_0x25073b=this['_socket'])==null||_0x25073b[_0xa18046(0x5d5)](),this[_0xa18046(0x443)][_0xa18046(0x1f8)](),this[_0xa18046(0x5f9)]['complete'](),this[_0xa18046(0x310)]();}['_onCombEvent'](_0x1a5ef7){const _0x140032=_0x31ef25;_0x1a5ef7[_0x140032(0x3b3)]===G[_0x140032(0x419)]?this[_0x140032(0x587)](_0x1a5ef7):_0x1a5ef7[_0x140032(0x3b3)]===G['RECV']&&this[_0x140032(0x5ae)](_0x1a5ef7);}[_0x31ef25(0x42b)](_0x16987d){const _0x3ed691=_0x31ef25;this['_sessionStatus$'][_0x3ed691(0x28d)](0x1),_0x16987d[_0x3ed691(0x3dd)]({'cmd':G[_0x3ed691(0x419)],'routeKey':this[_0x3ed691(0x381)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3ed691(0x381)]}]}});}[_0x31ef25(0x587)](_0x45476c){const _0x57f21f=_0x31ef25;var _0x1c9c25;if(_0x45476c[_0x57f21f(0x4ec)]===Et[_0x57f21f(0x272)]){this[_0x57f21f(0x195)][_0x57f21f(0x2c8)]({'type':Ie['MessageType']['Warning'],'content':this[_0x57f21f(0x592)]['t'](_0x57f21f(0x551))}),this[_0x57f21f(0x5f9)][_0x57f21f(0x28d)](0x2);return;}this[_0x57f21f(0x5f9)][_0x57f21f(0x28d)](0x3);const _0x37f84c=(_0x1c9c25=_0x45476c['data'][_0x57f21f(0x5a4)][this[_0x57f21f(0x381)]])==null?void 0x0:_0x1c9c25[_0x57f21f(0x29b)];_0x37f84c&&_0x37f84c[_0x57f21f(0x527)](_0x25ef9f=>this['_memberService'][_0x57f21f(0x496)](this[_0x57f21f(0x381)],_0x25ef9f));}[_0x31ef25(0x5ae)](_0x390955){const _0x3b1eec=_0x31ef25;try{const _0x5a5248=_0x390955[_0x3b1eec(0x5bb)];switch(_0x5a5248[_0x3b1eec(0x318)]){case p[_0x3b1eec(0x4e5)][_0x3b1eec(0x4a1)]:this[_0x3b1eec(0x1cc)](_0x5a5248),this['_event$'][_0x3b1eec(0x28d)](_0x5a5248);break;case p['CollaborationEvent'][_0x3b1eec(0x56c)]:this[_0x3b1eec(0x338)](_0x5a5248),this[_0x3b1eec(0x443)][_0x3b1eec(0x28d)](_0x5a5248);break;case p[_0x3b1eec(0x4e5)][_0x3b1eec(0x2d0)]:case p[_0x3b1eec(0x4e5)][_0x3b1eec(0x1d0)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x3b1eec(0x443)][_0x3b1eec(0x28d)](_0x5a5248);break;case p[_0x3b1eec(0x4e5)][_0x3b1eec(0x1df)]:this[_0x3b1eec(0x60f)]['error'](_0x3b1eec(0x24c)+JSON[_0x3b1eec(0x557)](_0x5a5248)),this['_event$']['next'](_0x5a5248);break;case p['CollaborationEvent'][_0x3b1eec(0x63e)]:this[_0x3b1eec(0x4df)]['onCommentUpdate'](_0x5a5248['data']),this[_0x3b1eec(0x443)][_0x3b1eec(0x28d)](_0x5a5248);break;default:this[_0x3b1eec(0x443)][_0x3b1eec(0x28d)](_0x5a5248);}}catch(_0x29e36a){this[_0x3b1eec(0x60f)]['error'](_0x29e36a,_0x390955);}}['_onUserJoin'](_0x13f435){const _0x4889d8=_0x31ef25;this[_0x4889d8(0x60b)][_0x4889d8(0x496)](this[_0x4889d8(0x381)],_0x13f435['data']);}[_0x31ef25(0x338)](_0x3e37b0){const _0x58cb4d=_0x31ef25;this[_0x58cb4d(0x60b)][_0x58cb4d(0x499)](this[_0x58cb4d(0x381)],_0x3e37b0[_0x58cb4d(0x5bb)][_0x58cb4d(0x362)]);}async['send'](_0xb9eaa,_0x99c695){const _0x70b16d=_0x31ef25;if(this['sessionStatus']!==0x3||!this[_0x70b16d(0x4ba)])throw new Error(_0x70b16d(0x2b6));try{_0xb9eaa[_0x70b16d(0x318)]===p[_0x70b16d(0x4e5)][_0x70b16d(0x1bc)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x70b16d(0x4b0)](_0xb9eaa)),this['_socket']['send']({'cmd':G[_0x70b16d(0x4a4)],'routeKey':_0x99c695,'routeType':'','data':_0xb9eaa});}catch(_0x23961e){this[_0x70b16d(0x60f)][_0x70b16d(0x220)](_0x23961e);}}[_0x31ef25(0x366)](){const _0x25691e=_0x31ef25;var _0x1b0e2c;this['_collaborationTimeoutTimer']=window[_0x25691e(0x479)](()=>{const _0x55a651=_0x25691e;this[_0x55a651(0x3a2)]=null,this['_messageService']['show']({'type':Ie[_0x55a651(0x4f9)][_0x55a651(0x38a)],'content':this[_0x55a651(0x592)]['t'](_0x55a651(0x204))});},(_0x1b0e2c=this['_configService']['getConfig'](Ct))!=null?_0x1b0e2c:nn);}[_0x31ef25(0x21e)](){const _0x2526b8=_0x31ef25;this[_0x2526b8(0x3a2)]&&(clearTimeout(this[_0x2526b8(0x3a2)]),this[_0x2526b8(0x3a2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x9ed945){const _0xdf638b=_0x31ef25;if(!this[_0xdf638b(0x399)])return;const {data:_0x92c2e6}=_0x9ed945,{unitID:_0x50997c,changeset:_0x57a1fe}=_0x92c2e6,{mutations:_0x15fa3a,type:_0x1b6a4f}=_0x57a1fe;this[_0xdf638b(0x39a)]={'unitId':_0x50997c,'type':_0x1b6a4f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x15fa3a)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3ddac3=_0x31ef25;if(this['_shouldReportTelemetry']){if(!this[_0x3ddac3(0x39a)]){this[_0x3ddac3(0x60f)][_0x3ddac3(0x220)](_0x3ddac3(0x1a9),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3ddac3(0x39a)]['stopTime']=performance[_0x3ddac3(0x369)](),this['_telemetryInfo'][_0x3ddac3(0x59f)]=this['_telemetryInfo'][_0x3ddac3(0x483)]-this[_0x3ddac3(0x39a)]['startTime'],this[_0x3ddac3(0x21b)][_0x3ddac3(0x398)](ti,this[_0x3ddac3(0x39a)]),this[_0x3ddac3(0x39a)]=null;}}[_0x31ef25(0x4d4)](){const _0x4b29a0=_0x31ef25;this[_0x4b29a0(0x39a)]=null;}},exports[_0x31ef25(0x3c4)]=li([de(0x2,a[_0x31ef25(0x31b)]),de(0x3,te[_0x31ef25(0x21d)]),de(0x4,te[_0x31ef25(0x4bc)]),de(0x5,a[_0x31ef25(0x3ca)]),de(0x6,a[_0x31ef25(0x249)](a['LocaleService'])),de(0x7,a['Inject'](exports[_0x31ef25(0x615)])),de(0x8,a[_0x31ef25(0x249)](Tt)),de(0x9,a[_0x31ef25(0x4f8)](jn[_0x31ef25(0x264)]))],exports[_0x31ef25(0x3c4)]);var hi=Object['defineProperty'],_i=Object[_0x31ef25(0x53c)],ui=(_0x58b9eb,_0x222f35,_0x1a371c,_0x384d49)=>{const _0x2e9770=_0x31ef25;for(var _0x49a00b=_0x384d49>0x1?void 0x0:_0x384d49?_i(_0x222f35,_0x1a371c):_0x222f35,_0x2b6a58=_0x58b9eb[_0x2e9770(0x360)]-0x1,_0x458cd9;_0x2b6a58>=0x0;_0x2b6a58--)(_0x458cd9=_0x58b9eb[_0x2b6a58])&&(_0x49a00b=(_0x384d49?_0x458cd9(_0x222f35,_0x1a371c,_0x49a00b):_0x458cd9(_0x49a00b))||_0x49a00b);return _0x384d49&&_0x49a00b&&hi(_0x222f35,_0x1a371c,_0x49a00b),_0x49a00b;},pe=(_0x1f0bc2,_0x2640ae)=>(_0x34f46b,_0x32e178)=>_0x2640ae(_0x34f46b,_0x32e178,_0x1f0bc2);exports['CollaborationSessionService']=class extends a[_0x31ef25(0x377)]{constructor(_0x2a4d0d,_0x4a270b,_0x44d864,_0x64c17b,_0x16b231,_0x35f221,_0xb492e){const _0x449a5b=_0x31ef25;super(),I(this,_0x449a5b(0x46b),new A['BehaviorSubject'](void 0x0)),I(this,'socket$',this[_0x449a5b(0x46b)][_0x449a5b(0x4d3)]()),I(this,_0x449a5b(0x224),null),I(this,'_sessions',new Map()),I(this,_0x449a5b(0x316),new A[(_0x449a5b(0x555))](se[_0x449a5b(0x619)])),I(this,_0x449a5b(0x3f1),this[_0x449a5b(0x316)][_0x449a5b(0x4d3)]()),I(this,_0x449a5b(0x480),!0x1),I(this,_0x449a5b(0x2fb)),I(this,_0x449a5b(0x5bd),0x0),I(this,_0x449a5b(0x1fc)),I(this,_0x449a5b(0x3bf)),(this[_0x449a5b(0x507)]=_0x2a4d0d,this[_0x449a5b(0x592)]=_0x4a270b,this['_messageService']=_0x44d864,this[_0x449a5b(0x60f)]=_0x64c17b,this[_0x449a5b(0x372)]=_0x16b231,this[_0x449a5b(0x5ff)]=_0x35f221,this['_httpService']=_0xb492e,this[_0x449a5b(0x521)]());}get[_0x31ef25(0x4ba)](){const _0x14a067=_0x31ef25;return this[_0x14a067(0x46b)][_0x14a067(0x455)]();}['_initEventListeners'](){const _0x48aefc=_0x31ef25;this['_listenToOfflineEvent'](),this[_0x48aefc(0x17f)]();}[_0x31ef25(0x310)](){const _0x2b1fc4=_0x31ef25;super[_0x2b1fc4(0x310)](),this[_0x2b1fc4(0x35b)][_0x2b1fc4(0x527)](_0x2bb960=>_0x2bb960[_0x2b1fc4(0x310)]()),this['_sessions'][_0x2b1fc4(0x42c)](),this[_0x2b1fc4(0x316)][_0x2b1fc4(0x1f8)]();}async[_0x31ef25(0x2e1)](_0x4fe868){const _0x4092c2=_0x31ef25;if(this[_0x4092c2(0x35b)][_0x4092c2(0x1ea)](_0x4fe868))return this[_0x4092c2(0x35b)][_0x4092c2(0x4c8)](_0x4fe868);this[_0x4092c2(0x613)]();const _0x30e5d5=this[_0x4092c2(0x507)][_0x4092c2(0x1a8)](exports[_0x4092c2(0x3c4)],_0x4fe868,this[_0x4092c2(0x46b)][_0x4092c2(0x4d3)]());return this[_0x4092c2(0x35b)]['set'](_0x4fe868,_0x30e5d5),_0x30e5d5;}[_0x31ef25(0x510)](_0x28f7a9){const _0x1480f6=_0x31ef25;var _0x3f4ac3;const _0x59ecf4=this[_0x1480f6(0x35b)]['get'](_0x28f7a9);_0x59ecf4&&(this[_0x1480f6(0x35b)][_0x1480f6(0x33a)](_0x28f7a9),_0x59ecf4[_0x1480f6(0x5d5)]()),this[_0x1480f6(0x35b)][_0x1480f6(0x331)]||(_0x3f4ac3=this['_socket'])==null||_0x3f4ac3['close']();}['reconnect'](){const _0x21efc8=_0x31ef25;this[_0x21efc8(0x5bd)]=0x0,this[_0x21efc8(0x2fb)]!=null&&(clearTimeout(this[_0x21efc8(0x2fb)]),this[_0x21efc8(0x2fb)]=null),this[_0x21efc8(0x5f0)]();}async[_0x31ef25(0x3f5)](){const _0xd6b61b=_0x31ef25;var _0x8b58b,_0x20f774,_0x2cd1ac;const _0x1f7207=this[_0xd6b61b(0x372)][_0xd6b61b(0x403)](ee),_0x1c00bc=(_0x8b58b=_0x1f7207==null?void 0x0:_0x1f7207['wsSessionTicketUrl'])!=null?_0x8b58b:Fn;return(_0x2cd1ac=(_0x20f774=(await this['_httpService']['get'](_0x1c00bc,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x20f774[_0xd6b61b(0x34b)])!=null?_0x2cd1ac:'';}[_0x31ef25(0x4a3)](_0x573a6c){const _0x2a7ca6=_0x31ef25;var _0x29752f,_0x5968e;const _0x5a217d=this[_0x2a7ca6(0x372)][_0x2a7ca6(0x403)](en),_0x52d607=this['_configService']['getConfig'](ee),_0x1daef8=(_0x5968e=(_0x29752f=_0x52d607==null?void 0x0:_0x52d607['collabWebSocketUrl'])!=null?_0x29752f:_0x5a217d)!=null?_0x5968e:Wn,_0x3cf760=new URL(_0x1daef8,window[_0x2a7ca6(0x4b8)]['origin']);return _0x3cf760[_0x2a7ca6(0x49c)][_0x2a7ca6(0x3bb)](_0x2a7ca6(0x1c3),_0x573a6c),_0x3cf760['toString']();}async[_0x31ef25(0x457)](){const _0x2c3849=_0x31ef25,_0x36bd57=await this[_0x2c3849(0x3f5)](),_0x388caf=this[_0x2c3849(0x4a3)](_0x36bd57),_0x32a070=this[_0x2c3849(0x5ff)][_0x2c3849(0x34a)](_0x388caf);return this[_0x2c3849(0x224)]=_0x32a070,_0x32a070;}async[_0x31ef25(0x613)](){const _0x458d57=_0x31ef25;var _0x761cd8,_0x32ad78;try{const _0x5199da=(_0x32ad78=(_0x761cd8=this[_0x458d57(0x4ba)])!=null?_0x761cd8:this[_0x458d57(0x224)])!=null?_0x32ad78:await this[_0x458d57(0x457)]();if(_0x5199da){const _0x1ca302=_0x5199da[_0x458d57(0x3dd)];_0x5199da[_0x458d57(0x3dd)]=_0x599fd8=>(this[_0x458d57(0x40b)](),_0x1ca302['apply'](_0x5199da,[_0x599fd8])),_0x5199da[_0x458d57(0x50a)][_0x458d57(0x52d)](_0x1e6b03=>this[_0x458d57(0x3a3)](_0x5199da,_0x1e6b03)),_0x5199da[_0x458d57(0x63a)][_0x458d57(0x37e)](V[_0x458d57(0x2db)](0x1))[_0x458d57(0x52d)](_0x3c49ce=>this[_0x458d57(0x60f)][_0x458d57(0x220)](_0x458d57(0x1ac),_0x3c49ce)),_0x5199da[_0x458d57(0x445)][_0x458d57(0x37e)](V['take'](0x1))[_0x458d57(0x52d)](()=>{const _0x13e238=_0x458d57;this[_0x13e238(0x42e)](_0x5199da);}),_0x5199da[_0x458d57(0x346)][_0x458d57(0x37e)](V[_0x458d57(0x2db)](0x1))[_0x458d57(0x52d)](_0xb8eb89=>{const _0x1670eb=_0x458d57;this[_0x1670eb(0x60f)][_0x1670eb(0x581)](_0x1670eb(0x5eb),_0x1670eb(0x274),_0xb8eb89),this[_0x1670eb(0x329)]();});}}catch(_0x30e5ea){this[_0x458d57(0x60f)][_0x458d57(0x220)](_0x30e5ea),this[_0x458d57(0x329)]();}}['_onConnectionOpen'](_0x58ee1a){const _0x22a80b=_0x31ef25;this[_0x22a80b(0x60f)][_0x22a80b(0x581)]('[CollaborationSessionService]',_0x22a80b(0x375)),_0x58ee1a[_0x22a80b(0x3dd)]({'cmd':G[_0x22a80b(0x637)]}),this[_0x22a80b(0x40b)]();}[_0x31ef25(0x1aa)](){const _0x3121f8=_0x31ef25;window[_0x3121f8(0x568)]('offline',()=>this[_0x3121f8(0x441)]());}['_onOffline'](){const _0x246271=_0x31ef25;this[_0x246271(0x480)]=!0x1,this[_0x246271(0x224)]=null,this[_0x246271(0x316)][_0x246271(0x28d)](se[_0x246271(0x208)]),this[_0x246271(0x46b)][_0x246271(0x28d)](null),this['_clearTimeoutTimer'](),this[_0x246271(0x4eb)]();}[_0x31ef25(0x329)](){const _0x20129d=_0x31ef25;var _0x56dfd6;this[_0x20129d(0x441)](),this['_retryCount']<((_0x56dfd6=this[_0x20129d(0x372)][_0x20129d(0x403)](sn))!=null?_0x56dfd6:Yn)?(this['_messageService'][_0x20129d(0x2c8)]({'key':'collaboration-session-retry','type':Ie[_0x20129d(0x4f9)][_0x20129d(0x30d)],'content':this[_0x20129d(0x592)]['t'](_0x20129d(0x611))}),this[_0x20129d(0x5f0)]()):this[_0x20129d(0x195)][_0x20129d(0x2c8)]({'key':_0x20129d(0x3e6),'type':Ie[_0x20129d(0x4f9)]['Error'],'content':this[_0x20129d(0x592)]['t'](_0x20129d(0x409))});}[_0x31ef25(0x17f)](){const _0x6dfd1a=_0x31ef25,_0x11f06d=()=>{const _0x2cc175=_0x47c6;this[_0x2cc175(0x4ba)]||this[_0x2cc175(0x5fd)]();},_0x45f1e5=()=>{const _0x2567b3=_0x47c6;this[_0x2567b3(0x4ba)]||document[_0x2567b3(0x374)]===_0x2567b3(0x497)||this[_0x2567b3(0x5fd)]();};window['addEventListener'](_0x6dfd1a(0x437),_0x11f06d),document[_0x6dfd1a(0x568)](_0x6dfd1a(0x2b7),_0x45f1e5);}['_tryReconnect'](){const _0x2d65ed=_0x31ef25;var _0x28d9fe;const _0x9cb4d2=this[_0x2d65ed(0x5bd)],_0x244244=this[_0x2d65ed(0x372)]['getConfig'](ee),_0x30cce4=_0x9cb4d2===0x0?0x0:((_0x28d9fe=_0x244244==null?void 0x0:_0x244244[_0x2d65ed(0x1af)])!=null?_0x28d9fe:Gn)*0x2**_0x9cb4d2;this[_0x2d65ed(0x2fb)]=window[_0x2d65ed(0x479)](()=>{const _0x314051=_0x2d65ed;clearTimeout(this[_0x314051(0x2fb)]),this[_0x314051(0x2fb)]=null,this[_0x314051(0x613)]();},_0x30cce4),this[_0x2d65ed(0x5bd)]+=0x1;}['_onMessage'](_0xaf1bb8,_0x5127b1){const _0x583223=_0x31ef25,{cmd:_0x1b5463}=_0x5127b1;_0x1b5463===G['HELLO']&&!this[_0x583223(0x480)]&&(_0xaf1bb8[_0x583223(0x362)]=_0x5127b1[_0x583223(0x5bb)]['memberID'],this[_0x583223(0x46b)][_0x583223(0x28d)](_0xaf1bb8),this[_0x583223(0x316)][_0x583223(0x28d)](se[_0x583223(0x400)]),this['_socketReady']=!0x0,this[_0x583223(0x224)]=null),_0x1b5463===G[_0x583223(0x5c6)]&&this[_0x583223(0x3a1)](),this[_0x583223(0x40b)]();}[_0x31ef25(0x40b)](){const _0x5aba7a=_0x31ef25;var _0x52576e;this[_0x5aba7a(0x4eb)](),this[_0x5aba7a(0x1fc)]=window[_0x5aba7a(0x479)](()=>this[_0x5aba7a(0x3d0)](),(_0x52576e=this[_0x5aba7a(0x372)]['getConfig'](tn))!=null?_0x52576e:Vn);}[_0x31ef25(0x3d0)](){const _0x61ddbf=_0x31ef25;this[_0x61ddbf(0x4ba)]['send']({'cmd':G[_0x61ddbf(0x5c6)]}),this[_0x61ddbf(0x617)]();}[_0x31ef25(0x617)](){const _0x44953f=_0x31ef25;var _0x4d2039;this['_timeoutTimer']=window[_0x44953f(0x479)](()=>this['_onConnectionFailed'](),(_0x4d2039=this['_configService']['getConfig'](Ct))!=null?_0x4d2039:nn);}[_0x31ef25(0x4eb)](){const _0x3ae7f4=_0x31ef25;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3ae7f4(0x1fc)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x547a2a=_0x31ef25;this[_0x547a2a(0x3bf)]!=null&&(clearTimeout(this[_0x547a2a(0x3bf)]),this[_0x547a2a(0x3bf)]=null);}},exports[_0x31ef25(0x395)]=ui([pe(0x0,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),pe(0x1,a[_0x31ef25(0x249)](a['LocaleService'])),pe(0x2,te[_0x31ef25(0x4bc)]),pe(0x3,a[_0x31ef25(0x31b)]),pe(0x4,a[_0x31ef25(0x3ca)]),pe(0x5,bt),pe(0x6,a[_0x31ef25(0x249)](J[_0x31ef25(0x5a8)]))],exports[_0x31ef25(0x395)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x31ef25(0x285)]((s+0x100)['toString'](0x10)[_0x31ef25(0x5a9)](0x1));function di(_0x28f1d1,_0x4412e5=0x0){return(Y[_0x28f1d1[_0x4412e5+0x0]]+Y[_0x28f1d1[_0x4412e5+0x1]]+Y[_0x28f1d1[_0x4412e5+0x2]]+Y[_0x28f1d1[_0x4412e5+0x3]]+'-'+Y[_0x28f1d1[_0x4412e5+0x4]]+Y[_0x28f1d1[_0x4412e5+0x5]]+'-'+Y[_0x28f1d1[_0x4412e5+0x6]]+Y[_0x28f1d1[_0x4412e5+0x7]]+'-'+Y[_0x28f1d1[_0x4412e5+0x8]]+Y[_0x28f1d1[_0x4412e5+0x9]]+'-'+Y[_0x28f1d1[_0x4412e5+0xa]]+Y[_0x28f1d1[_0x4412e5+0xb]]+Y[_0x28f1d1[_0x4412e5+0xc]]+Y[_0x28f1d1[_0x4412e5+0xd]]+Y[_0x28f1d1[_0x4412e5+0xe]]+Y[_0x28f1d1[_0x4412e5+0xf]])['toLowerCase']();}let Je;const fi=new Uint8Array(0x10);function vi(){const _0x5d6d27=_0x31ef25;if(!Je){if(typeof crypto>'u'||!crypto[_0x5d6d27(0x18a)])throw new Error(_0x5d6d27(0x3f2));Je=crypto[_0x5d6d27(0x18a)][_0x5d6d27(0x33c)](crypto);}return Je(fi);}const Si=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x31ef25(0x57c)][_0x31ef25(0x33c)](crypto),Mt={'randomUUID':Si};function pi(_0x23b166,_0x138bf3,_0x2dd8b5){const _0x4ffd89=_0x31ef25;if(Mt['randomUUID']&&!_0x138bf3&&!_0x23b166)return Mt[_0x4ffd89(0x57c)]();_0x23b166=_0x23b166||{};const _0x486ec4=_0x23b166['random']||(_0x23b166['rng']||vi)();return _0x486ec4[0x6]=_0x486ec4[0x6]&0xf|0x40,_0x486ec4[0x8]=_0x486ec4[0x8]&0x3f|0x80,di(_0x486ec4);}var mi=Object['defineProperty'],gi=Object[_0x31ef25(0x53c)],Ii=(_0x4da3db,_0x2a2a65,_0x4236dd,_0x4d3b8d)=>{const _0x4554e5=_0x31ef25;for(var _0x86c340=_0x4d3b8d>0x1?void 0x0:_0x4d3b8d?gi(_0x2a2a65,_0x4236dd):_0x2a2a65,_0x522ff6=_0x4da3db[_0x4554e5(0x360)]-0x1,_0x4b0320;_0x522ff6>=0x0;_0x522ff6--)(_0x4b0320=_0x4da3db[_0x522ff6])&&(_0x86c340=(_0x4d3b8d?_0x4b0320(_0x2a2a65,_0x4236dd,_0x86c340):_0x4b0320(_0x86c340))||_0x86c340);return _0x4d3b8d&&_0x86c340&&mi(_0x2a2a65,_0x4236dd,_0x86c340),_0x86c340;},Ze=(_0x58f37a,_0x595f6a)=>(_0x37ffda,_0x27c0dd)=>_0x595f6a(_0x37ffda,_0x27c0dd,_0x58f37a);let ke=class{constructor(_0x5d8d5b,_0x38f2bb,_0x4b8e1f){const _0x4ffa12=_0x31ef25;this[_0x4ffa12(0x507)]=_0x5d8d5b,this[_0x4ffa12(0x262)]=_0x38f2bb,this[_0x4ffa12(0x45a)]=_0x4b8e1f;}['transformIMECache'](_0x1348db){const _0x1855f8=_0x31ef25;this[_0x1855f8(0x396)](_0x1348db),this[_0x1855f8(0x54c)](_0x1348db);}[_0x31ef25(0x4f7)](_0x4ff899){const _0x1e2514=_0x31ef25,{unitID:_0x249886}=_0x4ff899,_0x38da93=this['_renderManagerService'][_0x1e2514(0x290)](_0x249886)[_0x1e2514(0x4d9)](Z[_0x1e2514(0x2ca)]),{redoCache:_0x18cec2}=_0x38da93['getUndoRedoMutationParamsCache']();if(_0x18cec2[_0x1e2514(0x360)]===0x0)return _0x4ff899;let _0x11d4b0=a[_0x1e2514(0x4fa)][_0x1e2514(0x48f)](_0x4ff899['mutations'][0x0]);for(let _0x34fbe4=0x0;_0x34fbe4<_0x18cec2[_0x1e2514(0x360)];_0x34fbe4++){const _0x2ea00c={'id':_0x1e2514(0x638),'params':{..._0x18cec2[_0x34fbe4]}},_0x27e91f=this[_0x1e2514(0x262)][_0x1e2514(0x4b1)](_0x11d4b0,_0x2ea00c,!0x1);if(p['isTransformMutationFailure'](_0x27e91f))throw _0x27e91f[_0x1e2514(0x220)];_0x11d4b0=_0x27e91f[_0x1e2514(0x2bd)];}return{...a[_0x1e2514(0x4fa)][_0x1e2514(0x48f)](_0x4ff899),'mutations':[_0x11d4b0]};}['_transformUndoRedoStack'](_0xfb2ad4){const _0x1b43b1=_0x31ef25,{unitID:_0xd6899c}=_0xfb2ad4,_0x47031f=this[_0x1b43b1(0x45a)][_0x1b43b1(0x290)](_0xd6899c)[_0x1b43b1(0x4d9)](Z[_0x1b43b1(0x2ca)]),{undoCache:_0x46eecb,redoCache:_0x4ec92e}=_0x47031f['getUndoRedoMutationParamsCache']();if(_0x46eecb['length']===0x0||_0x4ec92e['length']===0x0)return;const _0x26b034=[],_0x38c57a=[];let _0x4da5f4=a[_0x1b43b1(0x4fa)][_0x1b43b1(0x48f)](_0xfb2ad4['mutations'][0x0]),_0x493ebb=a[_0x1b43b1(0x4fa)][_0x1b43b1(0x48f)](_0xfb2ad4[_0x1b43b1(0x200)][0x0]);for(let _0x355781=_0x46eecb['length']-0x1;_0x355781>=0x0;_0x355781--){const _0x4aa85f={'id':_0x1b43b1(0x638),'params':{..._0x46eecb[_0x355781]}},_0x1db359={'id':_0x1b43b1(0x638),'params':{..._0x4ec92e[_0x355781]}},_0x12b01d=this[_0x1b43b1(0x262)]['transformMutation'](_0x4da5f4,_0x4aa85f,!0x1),_0x3ef060=this['_transformService'][_0x1b43b1(0x4b1)](_0x493ebb,_0x1db359,!0x1);if(p[_0x1b43b1(0x57d)](_0x12b01d))throw _0x12b01d[_0x1b43b1(0x220)];if(p[_0x1b43b1(0x57d)](_0x3ef060))throw _0x3ef060[_0x1b43b1(0x220)];_0x26b034[_0x1b43b1(0x5c9)](_0x12b01d[_0x1b43b1(0x35c)][_0x1b43b1(0x3ac)]),_0x38c57a[_0x1b43b1(0x5c9)](_0x3ef060[_0x1b43b1(0x35c)][_0x1b43b1(0x3ac)]),_0x4da5f4=_0x12b01d[_0x1b43b1(0x2bd)],_0x493ebb=_0x3ef060['m1Prime'];}_0x47031f['setUndoRedoMutationParamsCache']({'undoCache':_0x26b034,'redoCache':_0x38c57a});}[_0x31ef25(0x54c)](_0x281503){const _0x41b366=_0x31ef25,{unitID:_0x27608a}=_0x281503,_0xe3e4e7=this[_0x41b366(0x45a)][_0x41b366(0x290)](_0x27608a)[_0x41b366(0x4d9)](Z[_0x41b366(0x2ca)]),_0x997c5a=_0xe3e4e7[_0x41b366(0x50b)]();if(_0x997c5a==null)return;const _0x3825e3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x281503[_0x41b366(0x5db)],'actions':null,'textRanges':[_0x997c5a]}}],_0xcbd4fd=this[_0x41b366(0x262)]['transformMutationsWithChangeset'](_0x281503,_0x3825e3);if(!p['isTransformMutationsWithChangesetSuccess'](_0xcbd4fd))throw _0xcbd4fd[_0x41b366(0x220)];const _0x1d67ba=_0xcbd4fd[_0x41b366(0x35c)][0x0][_0x41b366(0x3ac)][_0x41b366(0x280)];Array['isArray'](_0x1d67ba)&&_0x1d67ba[_0x41b366(0x360)]&&_0xe3e4e7[_0x41b366(0x386)](_0x1d67ba[0x0]);}};ke=Ii([Ze(0x0,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),Ze(0x1,p[_0x31ef25(0x2ee)]),Ze(0x2,K[_0x31ef25(0x2a6)])],ke);var Ci=Object[_0x31ef25(0x4c2)],Ei=Object[_0x31ef25(0x53c)],bi=(_0x2cebe9,_0x49868c,_0x3c8bb7,_0x48bbb7)=>{const _0x2cdb42=_0x31ef25;for(var _0x2b56d2=_0x48bbb7>0x1?void 0x0:_0x48bbb7?Ei(_0x49868c,_0x3c8bb7):_0x49868c,_0x4a2fc6=_0x2cebe9[_0x2cdb42(0x360)]-0x1,_0x51b518;_0x4a2fc6>=0x0;_0x4a2fc6--)(_0x51b518=_0x2cebe9[_0x4a2fc6])&&(_0x2b56d2=(_0x48bbb7?_0x51b518(_0x49868c,_0x3c8bb7,_0x2b56d2):_0x51b518(_0x2b56d2))||_0x2b56d2);return _0x48bbb7&&_0x2b56d2&&Ci(_0x49868c,_0x3c8bb7,_0x2b56d2),_0x2b56d2;},Pe=(_0x327b50,_0x1a9ecf)=>(_0x4f648f,_0x442c94)=>_0x1a9ecf(_0x4f648f,_0x442c94,_0x327b50);exports[_0x31ef25(0x3aa)]=class extends a['Disposable']{constructor(_0x128d9f,_0x11bbb7,_0x51afc6,_0x429b6e,_0x1eedcc){const _0x4bcbb5=_0x31ef25;super(),I(this,_0x4bcbb5(0x294),new Map()),I(this,_0x4bcbb5(0x2a1),new Map()),I(this,_0x4bcbb5(0x20a),!0x1),(this[_0x4bcbb5(0x372)]=_0x128d9f,this['_localStorageService']=_0x11bbb7,this[_0x4bcbb5(0x25a)]=_0x51afc6,this[_0x4bcbb5(0x592)]=_0x429b6e,this[_0x4bcbb5(0x47e)]=_0x1eedcc,this[_0x4bcbb5(0x20c)]());}[_0x31ef25(0x448)](){const _0xba879a=_0x31ef25;this[_0xba879a(0x20a)]=!0x0;}[_0x31ef25(0x302)](){const _0x3ee40d=_0x31ef25;this[_0x3ee40d(0x20a)]=!0x1;}['dispose'](){const _0x94204e=_0x31ef25;this['exhaustSavingTask']()['then'](()=>super[_0x94204e(0x310)]());}async[_0x31ef25(0x3be)](_0x188402){const _0x3de9af=_0x31ef25;return this[_0x3de9af(0x20a)]?null:this[_0x3de9af(0x3ec)][_0x3de9af(0x41f)](At(_0x188402));}async[_0x31ef25(0x1d8)](_0x51e3a3,_0x366be3){const _0x296a82=_0x31ef25;return!!this[_0x296a82(0x3ec)][_0x296a82(0x209)](_0x51e3a3,_0x366be3);}[_0x31ef25(0x54f)](_0x516098,_0x46a495,_0x1cf7ea,_0x5783a5){const _0x540981=_0x31ef25,_0xd25a57=this['_revisionService'][_0x540981(0x1f5)](_0x516098);this[_0x540981(0x294)][_0x540981(0x3bb)](_0x516098,{'unitID':_0x516098,'type':_0x46a495,'awaitingChangeset':_0x1cf7ea,'mutations':_0x5783a5,'rev':_0xd25a57}),this['_saveTaskMap'][_0x540981(0x1ea)](_0x516098)||this['_scheduleSaving'](_0x516098);}[_0x31ef25(0x223)](_0x7d0d2a){const _0x325314=_0x31ef25,_0x445dce=this[_0x325314(0x2b5)]();_0x445dce===0x0?this[_0x325314(0x55c)](_0x7d0d2a):this[_0x325314(0x2a1)]['set'](_0x7d0d2a,setTimeout(()=>this[_0x325314(0x55c)](_0x7d0d2a),_0x445dce));}[_0x31ef25(0x2b5)](){const _0xe97581=_0x31ef25;var _0x27af70;return(_0x27af70=this[_0xe97581(0x372)][_0xe97581(0x403)](rn))!=null?_0x27af70:Kn;}['_saveCache'](_0x168fd5){const _0x4a4542=_0x31ef25,_0x28c119=this[_0x4a4542(0x2a1)][_0x4a4542(0x4c8)](_0x168fd5);return _0x28c119!==void 0x0&&window['clearTimeout'](_0x28c119),this['_localStorageService']['setItem'](At(_0x168fd5),this[_0x4a4542(0x294)][_0x4a4542(0x4c8)](_0x168fd5))['then'](()=>this[_0x4a4542(0x2a1)][_0x4a4542(0x33a)](_0x168fd5));}async[_0x31ef25(0x286)](){const _0x828707=_0x31ef25,_0x3efe44=[];this['_saveTaskMap'][_0x828707(0x527)]((_0x16da6d,_0x449e6b)=>{const _0x25dd6e=_0x828707;window[_0x25dd6e(0x2b3)](_0x16da6d),_0x3efe44[_0x25dd6e(0x285)](this[_0x25dd6e(0x55c)](_0x449e6b)['then'](()=>{const _0xef681a=_0x25dd6e;this[_0xef681a(0x2a1)][_0xef681a(0x33a)](_0x449e6b);}));}),await Promise[_0x828707(0x2e2)](_0x3efe44);}[_0x31ef25(0x20c)](){const _0x469619=_0x31ef25;this[_0x469619(0x328)](this['_beforeCloseService'][_0x469619(0x608)](()=>{const _0x113bb2=_0x469619;if(this['_saveTaskMap']['size'])return this[_0x113bb2(0x592)]['t'](_0x113bb2(0x602));}));}},exports[_0x31ef25(0x3aa)]=bi([Pe(0x0,a[_0x31ef25(0x3ca)]),Pe(0x1,a[_0x31ef25(0x466)]),Pe(0x2,te[_0x31ef25(0x21d)]),Pe(0x3,a[_0x31ef25(0x249)](a['LocaleService'])),Pe(0x4,a[_0x31ef25(0x249)](p[_0x31ef25(0x1d9)]))],exports[_0x31ef25(0x3aa)]);function At(_0x3feabd){return'unit-cache-'+_0x3feabd;}var Ti=Object['defineProperty'],Ri=Object[_0x31ef25(0x53c)],yi=(_0x4374cb,_0x2eb7dd,_0xaa549c,_0x5e71ae)=>{const _0x5251d4=_0x31ef25;for(var _0x4312da=_0x5e71ae>0x1?void 0x0:_0x5e71ae?Ri(_0x2eb7dd,_0xaa549c):_0x2eb7dd,_0x1e626e=_0x4374cb[_0x5251d4(0x360)]-0x1,_0x2005e3;_0x1e626e>=0x0;_0x1e626e--)(_0x2005e3=_0x4374cb[_0x1e626e])&&(_0x4312da=(_0x5e71ae?_0x2005e3(_0x2eb7dd,_0xaa549c,_0x4312da):_0x2005e3(_0x4312da))||_0x4312da);return _0x5e71ae&&_0x4312da&&Ti(_0x2eb7dd,_0xaa549c,_0x4312da),_0x4312da;},Qe=(_0x71528c,_0xfcfd75)=>(_0x7f316b,_0x457e1a)=>_0xfcfd75(_0x7f316b,_0x457e1a,_0x71528c);function Oi(_0x1e013d){const _0x37c8c4=_0x31ef25,{unitID:_0x45110e,mutations:_0x634327}=_0x1e013d;return{'unitId':_0x45110e,'subUnitId':_0x634327[0x0][_0x37c8c4(0x3ac)][_0x37c8c4(0x46e)]};}let Be=class{constructor(_0x3a17b3,_0xc645f0,_0x2076e5){const _0x4b62db=_0x31ef25;this[_0x4b62db(0x507)]=_0x3a17b3,this[_0x4b62db(0x262)]=_0xc645f0,this[_0x4b62db(0x5fc)]=_0x2076e5;}['transformSelections'](_0x13b2d4){const _0x48da1a=_0x31ef25;var _0x29f351,_0x5e01a0,_0x2573da,_0x4cd369;const _0x1b9c6e=this['_injector'][_0x48da1a(0x4c8)](B[_0x48da1a(0x537)]),{unitId:_0x5752f7,subUnitId:_0x27bde8}=Oi(_0x13b2d4),_0x420a49=_0x1b9c6e['getWorkbookSelections'](_0x5752f7)[_0x48da1a(0x4e8)](),_0x21e9b7=(_0x5e01a0=(_0x29f351=this['_instanceService'][_0x48da1a(0x2d3)](_0x5752f7))==null?void 0x0:_0x29f351[_0x48da1a(0x3fb)]())==null?void 0x0:_0x5e01a0['getSheetId']();if(_0x420a49[_0x48da1a(0x360)]===0x0||!_0x5752f7||!_0x27bde8)return;const _0xefd2c=[{'id':B['SetSelectionsOperation']['id'],'params':{'unitId':_0x5752f7,'subUnitId':_0x21e9b7,'selections':a[_0x48da1a(0x4fa)][_0x48da1a(0x48f)](_0x420a49)}}],_0x135592=this[_0x48da1a(0x262)][_0x48da1a(0x616)](_0x13b2d4,_0xefd2c);if(!p[_0x48da1a(0x3af)](_0x135592))throw _0x135592['error'];const _0x3b78cd=(_0x4cd369=(_0x2573da=_0x135592[_0x48da1a(0x35c)][0x0])==null?void 0x0:_0x2573da['params'])==null?void 0x0:_0x4cd369[_0x48da1a(0x4dc)];if(Array['isArray'](_0x3b78cd)&&_0x3b78cd['length']){if(_0x3b78cd[_0x48da1a(0x360)]===_0xefd2c[0x0]['params'][_0x48da1a(0x4dc)][_0x48da1a(0x360)]&&_0x3b78cd[_0x48da1a(0x311)]((_0x490c09,_0x44093e)=>a[_0x48da1a(0x464)][_0x48da1a(0x3a0)](_0x490c09[_0x48da1a(0x511)],_0xefd2c[0x0][_0x48da1a(0x3ac)]['selections'][_0x44093e][_0x48da1a(0x511)])))return;this['_injector'][_0x48da1a(0x4c8)](a['ICommandService'])[_0x48da1a(0x245)](B[_0x48da1a(0x365)]['id'],{'unitId':_0x5752f7,'subUnitId':_0x21e9b7,'selections':_0x3b78cd});}}};Be=yi([Qe(0x0,a[_0x31ef25(0x249)](a['Injector'])),Qe(0x1,p[_0x31ef25(0x2ee)]),Qe(0x2,a[_0x31ef25(0x28e)])],Be);const qe=a['createIdentifier'](_0x31ef25(0x3ff));var un=(_0x9db4c6=>(_0x9db4c6[_0x9db4c6[_0x31ef25(0x558)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x9db4c6[_0x9db4c6[_0x31ef25(0x5aa)]=0x1]='OTHER_CLIENTS_EDITING',_0x9db4c6))(un||{});const Nt=0x7530,Lt=_0x31ef25(0x3da);class Di extends a[_0x31ef25(0x377)]{constructor(){const _0x488bc7=_0x31ef25;super(),I(this,_0x488bc7(0x178),a[_0x488bc7(0x4fa)]['generateRandomId']()),I(this,_0x488bc7(0x405),new Set()),I(this,_0x488bc7(0x2c7),new Map()),I(this,_0x488bc7(0x3c8),null),I(this,_0x488bc7(0x415),new Map()),I(this,_0x488bc7(0x1d4),new Map()),this[_0x488bc7(0x21a)]();}['dispose'](){const _0x198df5=_0x31ef25;super['dispose'](),this[_0x198df5(0x415)]['forEach']((_0x178a5c,_0x31c26f)=>this['_removeClearOtherTimer'](_0x31c26f)),this[_0x198df5(0x3c8)]&&window['clearInterval'](this[_0x198df5(0x3c8)]);}[_0x31ef25(0x2bc)](_0x388177){const _0x293105=_0x31ef25;return this[_0x293105(0x5ad)](_0x388177)['pipe'](A[_0x293105(0x355)]());}[_0x31ef25(0x5e9)](_0x8c7fc3){const _0x176d1b=_0x31ef25;this[_0x176d1b(0x405)][_0x176d1b(0x331)]===0x0&&this['_scheduleHeartbeat'](),this[_0x176d1b(0x405)][_0x176d1b(0x5f4)](_0x8c7fc3),this[_0x176d1b(0x31f)]({'type':0x0,'memberID':this[_0x176d1b(0x178)],'unitIDs':[_0x8c7fc3],'isForwarded':!0x1});}[_0x31ef25(0x573)](_0x201879){const _0x2966db=_0x31ef25;this[_0x2966db(0x405)]['delete'](_0x201879),this[_0x2966db(0x405)]['size']===0x0&&this[_0x2966db(0x3c8)]&&window[_0x2966db(0x520)](this[_0x2966db(0x3c8)]);}[_0x31ef25(0x21a)](){const _0x153740=_0x31ef25;this['disposeWithMe'](a[_0x153740(0x284)](A[_0x153740(0x546)](window,_0x153740(0x538))['subscribe'](_0x2f9dc8=>{const _0x23c5d7=_0x153740;if(_0x2f9dc8['key']!==Lt||!_0x2f9dc8[_0x23c5d7(0x597)])return;const _0x519570=JSON[_0x23c5d7(0x5ef)](_0x2f9dc8[_0x23c5d7(0x597)]);this[_0x23c5d7(0x586)](_0x519570);}))),window[_0x153740(0x568)](_0x153740(0x458),()=>this[_0x153740(0x31f)]({'type':0x1,'memberID':this[_0x153740(0x178)],'unitIDs':Array[_0x153740(0x5a3)](this[_0x153740(0x405)])}));}[_0x31ef25(0x586)](_0x1c618a){const _0xba0556=_0x31ef25;switch(_0x1c618a['type']){case 0x0:this[_0xba0556(0x580)](_0x1c618a);break;case 0x1:this[_0xba0556(0x559)](_0x1c618a);break;case 0x2:this['_handleHeartbeatEvent'](_0x1c618a);break;}}[_0x31ef25(0x580)](_0x4b314b){const _0x5755dd=_0x31ef25,{unitIDs:_0x4a6f82,memberID:_0x440010,isForwarded:_0x382624}=_0x4b314b;_0x4a6f82[_0x5755dd(0x527)](_0x598f3c=>{const _0x11f94f=_0x5755dd;if(!_0x382624&&this[_0x11f94f(0x2c7)][_0x11f94f(0x1ea)](_0x598f3c)&&this[_0x11f94f(0x5ad)](_0x598f3c)[_0x11f94f(0x28d)](0x1),!this[_0x11f94f(0x2c7)][_0x11f94f(0x1ea)](_0x598f3c)||!this['_unitOnClients'][_0x11f94f(0x4c8)](_0x598f3c)[_0x11f94f(0x1ea)](_0x440010)){const _0x4f4d2d=this[_0x11f94f(0x2c7)]['get'](_0x598f3c)||new Set();_0x4f4d2d['add'](_0x440010),this[_0x11f94f(0x2c7)]['set'](_0x598f3c,_0x4f4d2d),this[_0x11f94f(0x5c4)](_0x440010);}}),_0x382624||this['_send']({'type':0x0,'memberID':this[_0x5755dd(0x178)],'unitIDs':[...this[_0x5755dd(0x405)]],'isForwarded':!0x0});}[_0x31ef25(0x5c4)](_0x49bf4d){const _0x3d9280=_0x31ef25;this['_removeClearOtherTimer'](_0x49bf4d);const _0xdb37b5=window['setTimeout'](()=>{const _0x9fd736=_0x47c6;this[_0x9fd736(0x2c7)]['forEach'](_0x14ec3e=>{const _0x381699=_0x9fd736;_0x14ec3e[_0x381699(0x33a)](_0x49bf4d);});},Nt*0x2);this[_0x3d9280(0x415)][_0x3d9280(0x3bb)](_0x49bf4d,_0xdb37b5);}['_removeClearOtherTimer'](_0xb4b0b1){const _0xa8bf08=_0x31ef25;if(this['_clearOtherTimers'][_0xa8bf08(0x1ea)](_0xb4b0b1)){const _0x176d2f=this[_0xa8bf08(0x415)][_0xa8bf08(0x4c8)](_0xb4b0b1);_0x176d2f&&window[_0xa8bf08(0x2b3)](_0x176d2f),this[_0xa8bf08(0x415)][_0xa8bf08(0x3bb)](_0xb4b0b1,null);}}[_0x31ef25(0x559)](_0xfc3f4b){const _0x4ec559=_0x31ef25,{memberID:_0xaabc93,unitIDs:_0x4a4624}=_0xfc3f4b;_0x4a4624[_0x4ec559(0x527)](_0x5dccf0=>{const _0x18a4c5=_0x4ec559;var _0x41188a;const _0x208831=this[_0x18a4c5(0x2c7)]['get'](_0x5dccf0);_0x208831&&(_0x208831['delete'](_0xaabc93),(_0x41188a=this[_0x18a4c5(0x5ad)](_0x5dccf0))==null||_0x41188a[_0x18a4c5(0x28d)](_0x208831[_0x18a4c5(0x331)]===0x0?0x0:0x1));}),this[_0x4ec559(0x194)](_0xaabc93);}[_0x31ef25(0x5bc)](_0x5d4c1f){const _0x131ede=_0x31ef25;this[_0x131ede(0x5c4)](_0x5d4c1f[_0x131ede(0x362)]);}[_0x31ef25(0x31f)](_0x2a9bd0){const _0x57a800=_0x31ef25;localStorage[_0x57a800(0x209)](Lt,JSON['stringify'](_0x2a9bd0));}[_0x31ef25(0x35d)](){const _0x41b428=_0x31ef25;this[_0x41b428(0x3c8)]=window['setInterval'](()=>{const _0x220b97=_0x41b428;this['_send']({'type':0x2,'memberID':this[_0x220b97(0x178)]});},Nt);}['_ensureSubject'](_0x5ef5f0){const _0x392d92=_0x31ef25;return this['_unitStatus'][_0x392d92(0x1ea)](_0x5ef5f0)||this['_unitStatus']['set'](_0x5ef5f0,new A[(_0x392d92(0x555))](0x0)),this[_0x392d92(0x1d4)][_0x392d92(0x4c8)](_0x5ef5f0);}}var wi=Object[_0x31ef25(0x4c2)],Pi=Object[_0x31ef25(0x53c)],Ui=(_0x5811b3,_0x4aae33,_0x4a3d92,_0x175f9c)=>{const _0x3038dc=_0x31ef25;for(var _0x2bf398=_0x175f9c>0x1?void 0x0:_0x175f9c?Pi(_0x4aae33,_0x4a3d92):_0x4aae33,_0x330f5a=_0x5811b3[_0x3038dc(0x360)]-0x1,_0x13799e;_0x330f5a>=0x0;_0x330f5a--)(_0x13799e=_0x5811b3[_0x330f5a])&&(_0x2bf398=(_0x175f9c?_0x13799e(_0x4aae33,_0x4a3d92,_0x2bf398):_0x13799e(_0x2bf398))||_0x2bf398);return _0x175f9c&&_0x2bf398&&wi(_0x4aae33,_0x4a3d92,_0x2bf398),_0x2bf398;},et=(_0x5bd79d,_0x559bce)=>(_0x204983,_0x21b507)=>_0x559bce(_0x204983,_0x21b507,_0x5bd79d);let We=class{constructor(_0x1d5efc,_0x4e7c5b,_0x369e0f){const _0x24060a=_0x31ef25;this[_0x24060a(0x507)]=_0x1d5efc,this[_0x24060a(0x262)]=_0x4e7c5b,this[_0x24060a(0x25b)]=_0x369e0f;}[_0x31ef25(0x402)](_0x23a0e2){const _0x1a00f5=_0x31ef25;this[_0x1a00f5(0x1e2)](_0x23a0e2);}[_0x31ef25(0x4f7)](_0x596bde){const _0x5d0da9=_0x31ef25,{unitID:_0x7f755}=_0x596bde,{collaboration:_0x27cc02}=this['_docStateChangeManagerService']['getStateCache'](_0x7f755);if(_0x27cc02[_0x5d0da9(0x360)]===0x0)return _0x596bde;let _0x32debe=a[_0x5d0da9(0x4fa)]['deepClone'](_0x596bde['mutations'][0x0]);for(let _0x24e722=0x0;_0x24e722<_0x27cc02[_0x5d0da9(0x360)];_0x24e722++){const _0x2f602b={'id':_0x5d0da9(0x638),'params':{'unitId':_0x27cc02[_0x24e722][_0x5d0da9(0x34e)],..._0x27cc02[_0x24e722][_0x5d0da9(0x226)]}},_0x27ac1b=this['_transformService'][_0x5d0da9(0x4b1)](_0x32debe,_0x2f602b,!0x1);if(p[_0x5d0da9(0x57d)](_0x27ac1b))throw _0x27ac1b[_0x5d0da9(0x220)];_0x32debe=_0x27ac1b[_0x5d0da9(0x2bd)];}return{...a[_0x5d0da9(0x4fa)][_0x5d0da9(0x48f)](_0x596bde),'mutations':[_0x32debe]};}[_0x31ef25(0x1e2)](_0x4dd45a){const _0x51dbd9=_0x31ef25,{unitID:_0x3bbabb}=_0x4dd45a,{history:_0x59f6c4,collaboration:_0x1d4b2f}=this['_docStateChangeManagerService'][_0x51dbd9(0x548)](_0x3bbabb);if(_0x59f6c4['length']===0x0&&_0x1d4b2f['length']===0x0)return;const _0x2a2f55=[],_0x4b9309=[];let _0x27f185=a[_0x51dbd9(0x4fa)][_0x51dbd9(0x48f)](_0x4dd45a[_0x51dbd9(0x200)][0x0]),_0x3d9c48=a[_0x51dbd9(0x4fa)][_0x51dbd9(0x48f)](_0x4dd45a[_0x51dbd9(0x200)][0x0]);for(let _0x2bd96e=_0x59f6c4[_0x51dbd9(0x360)]-0x1;_0x2bd96e>=0x0;_0x2bd96e--){const _0x20b656={'id':_0x51dbd9(0x638),'params':{'unitId':_0x59f6c4[_0x2bd96e]['unitId'],..._0x59f6c4[_0x2bd96e]['undoState']}},_0x4e6b40={'id':_0x51dbd9(0x638),'params':{'unitId':_0x59f6c4[_0x2bd96e][_0x51dbd9(0x34e)],..._0x59f6c4[_0x2bd96e][_0x51dbd9(0x226)]}},_0x3aa943=this['_transformService']['transformMutation'](_0x27f185,_0x20b656,!0x1),_0x2b92a0=this[_0x51dbd9(0x262)][_0x51dbd9(0x4b1)](_0x3d9c48,_0x4e6b40,!0x1);if(p[_0x51dbd9(0x57d)](_0x3aa943))throw _0x3aa943[_0x51dbd9(0x220)];if(p[_0x51dbd9(0x57d)](_0x2b92a0))throw _0x2b92a0[_0x51dbd9(0x220)];_0x2a2f55[_0x51dbd9(0x5c9)]({..._0x59f6c4[_0x2bd96e],'undoState':_0x3aa943[_0x51dbd9(0x35c)][_0x51dbd9(0x3ac)],'redoState':_0x2b92a0['m2Prime'][_0x51dbd9(0x3ac)]}),_0x27f185=_0x3aa943['m1Prime'],_0x3d9c48=_0x2b92a0[_0x51dbd9(0x2bd)];}_0x27f185=a[_0x51dbd9(0x4fa)][_0x51dbd9(0x48f)](_0x4dd45a[_0x51dbd9(0x200)][0x0]),_0x3d9c48=a['Tools'][_0x51dbd9(0x48f)](_0x4dd45a[_0x51dbd9(0x200)][0x0]);for(let _0x56b638=_0x1d4b2f[_0x51dbd9(0x360)]-0x1;_0x56b638>=0x0;_0x56b638--){const _0x10983a={'id':_0x51dbd9(0x638),'params':{'unitId':_0x1d4b2f[_0x56b638][_0x51dbd9(0x34e)],..._0x1d4b2f[_0x56b638][_0x51dbd9(0x544)]}},_0x3971b4={'id':_0x51dbd9(0x638),'params':{'unitId':_0x1d4b2f[_0x56b638][_0x51dbd9(0x34e)],..._0x1d4b2f[_0x56b638]['redoState']}},_0x396f6b=this[_0x51dbd9(0x262)]['transformMutation'](_0x27f185,_0x10983a,!0x1),_0xc5ad43=this[_0x51dbd9(0x262)][_0x51dbd9(0x4b1)](_0x3d9c48,_0x3971b4,!0x1);if(p[_0x51dbd9(0x57d)](_0x396f6b))throw _0x396f6b['error'];if(p[_0x51dbd9(0x57d)](_0xc5ad43))throw _0xc5ad43[_0x51dbd9(0x220)];_0x4b9309['unshift']({..._0x1d4b2f[_0x56b638],'undoState':_0x396f6b['m2Prime'][_0x51dbd9(0x3ac)],'redoState':_0xc5ad43[_0x51dbd9(0x35c)]['params']}),_0x27f185=_0x396f6b[_0x51dbd9(0x2bd)],_0x3d9c48=_0xc5ad43[_0x51dbd9(0x2bd)];}this[_0x51dbd9(0x25b)]['setStateCache'](_0x3bbabb,{'history':_0x2a2f55,'collaboration':_0x4b9309});}};We=Ui([et(0x0,a[_0x31ef25(0x249)](a['Injector'])),et(0x1,p[_0x31ef25(0x2ee)]),et(0x2,a['Inject'](Z[_0x31ef25(0x523)]))],We);function dn(_0x5bd8c1){let _0x150e21='';for(const _0x250cf5 of _0x5bd8c1){const {startOffset:_0x26fbee,endOffset:_0x54bc40,isActive:_0xe945e9,rangeType:_0x50a71e,segmentId:_0x5c09d1,segmentPage:_0x19a19c}=_0x250cf5;_0x150e21['length']&&(_0x150e21+=','),_0x150e21+=_0x26fbee+':'+_0x54bc40+':'+(_0xe945e9?'1':'0')+':'+_0x50a71e+':'+_0x5c09d1+':'+_0x19a19c;}return _0x150e21;}function Mi(_0x4a4249){const _0x50ff71=_0x31ef25,_0x3e00ae=_0x4a4249[_0x50ff71(0x250)](','),_0x5db568=[];for(const _0x4185c6 of _0x3e00ae){const [_0x3a99ab,_0xce4689,_0x4e2442,_0x4a023d,_0x39c0f9,_0x43170c]=_0x4185c6[_0x50ff71(0x250)](':');_0x5db568[_0x50ff71(0x285)]({'startOffset':Number(_0x3a99ab),'endOffset':Number(_0xce4689),'collapsed':_0x3a99ab===_0xce4689,'isActive':_0x4e2442==='1','rangeType':_0x4a023d===a[_0x50ff71(0x5b7)][_0x50ff71(0x5a2)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x50ff71(0x5b7)]['RECT'],'segmentId':typeof _0x39c0f9==_0x50ff71(0x4cf)?String(_0x39c0f9):'','segmentPage':Number(_0x43170c!=null?_0x43170c:-0x1)});}return _0x5db568[_0x50ff71(0x199)](_0x2069b0=>_0x2069b0[_0x50ff71(0x52b)])||(_0x5db568[0x0][_0x50ff71(0x52b)]=!0x0),_0x5db568;}class Rt extends a['RxDisposable']{constructor(){const _0xa13618=_0x31ef25;super(...arguments),I(this,_0xa13618(0x198),new A[(_0xa13618(0x555))](null)),I(this,_0xa13618(0x576),this[_0xa13618(0x198)][_0xa13618(0x4d3)]());}[_0x31ef25(0x633)](_0x36021a){const _0x5e997a=_0x31ef25,{unitID:_0x437212,memberID:_0x2d3385,textRanges:_0x7769b}=_0x36021a,_0x23aaf8=dn(_0x7769b);if(_0x23aaf8==='')return;const _0x2c03c8={'unitID':_0x437212,'memberID':_0x2d3385,'selection':_0x23aaf8};this[_0x5e997a(0x198)]['next'](_0x2c03c8);}}var Ai=Object[_0x31ef25(0x4c2)],Ni=Object[_0x31ef25(0x53c)],Li=(_0x51b449,_0x54e3ae,_0x3e0e1c,_0x1afb54)=>{const _0xd248e8=_0x31ef25;for(var _0xf012a1=_0x1afb54>0x1?void 0x0:_0x1afb54?Ni(_0x54e3ae,_0x3e0e1c):_0x54e3ae,_0x228ab4=_0x51b449[_0xd248e8(0x360)]-0x1,_0x3b6778;_0x228ab4>=0x0;_0x228ab4--)(_0x3b6778=_0x51b449[_0x228ab4])&&(_0xf012a1=(_0x1afb54?_0x3b6778(_0x54e3ae,_0x3e0e1c,_0xf012a1):_0x3b6778(_0xf012a1))||_0xf012a1);return _0x1afb54&&_0xf012a1&&Ai(_0x54e3ae,_0x3e0e1c,_0xf012a1),_0xf012a1;},xt=(_0x296e59,_0x5d011e)=>(_0x4ce251,_0xda3609)=>_0x5d011e(_0x4ce251,_0xda3609,_0x296e59);let Fe=class{constructor(_0x4a904c,_0x578879){const _0x3f149c=_0x31ef25;this[_0x3f149c(0x507)]=_0x4a904c,this[_0x3f149c(0x262)]=_0x578879;}[_0x31ef25(0x588)](_0x58b466){const _0x455fbb=_0x31ef25;var _0x89e9a2;const _0x2580bc=this[_0x455fbb(0x507)][_0x455fbb(0x4c8)](ye[_0x455fbb(0x186)]),_0x18ebf1=(_0x89e9a2=_0x2580bc[_0x455fbb(0x44f)]())!=null?_0x89e9a2:[];if(_0x18ebf1['length']===0x0)return;const _0x546f82=_0x58b466[_0x455fbb(0x5db)],_0x422d0b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x546f82,'actions':null,'textRanges':_0x18ebf1}}],_0x4ec978=this[_0x455fbb(0x262)][_0x455fbb(0x616)](_0x58b466,_0x422d0b);if(!p[_0x455fbb(0x3af)](_0x4ec978))throw _0x4ec978[_0x455fbb(0x220)];const _0x1970f0=_0x4ec978[_0x455fbb(0x35c)][0x0]['params'][_0x455fbb(0x280)];Array['isArray'](_0x1970f0)&&_0x1970f0[_0x455fbb(0x360)]&&_0x2580bc[_0x455fbb(0x2f7)](_0x1970f0,{'unitId':_0x546f82,'subUnitId':_0x546f82},!0x1);}};Fe=Li([xt(0x0,a[_0x31ef25(0x249)](a['Injector'])),xt(0x1,p['ITransformService'])],Fe);const xi=new Set([B['InsertSheetMutation']['id']]);function jt(_0x7a1eaf,_0x2a9bbd,_0x3357a5,_0x540959,_0x3211a0){const _0x5381b5=_0x31ef25;var _0x4aa617,_0x1cef86,_0x465e71,_0x159b59;const _0x53a4b4=[];for(const _0x726e5d of _0x7a1eaf)if(xi[_0x5381b5(0x1ea)](_0x726e5d['id'])){if(_0x53a4b4[_0x5381b5(0x360)]>0x0)break;_0x53a4b4[_0x5381b5(0x285)](_0x726e5d);break;}else _0x53a4b4[_0x5381b5(0x285)](_0x726e5d);const _0x11ad00=(_0x1cef86=(_0x4aa617=_0x3211a0[_0x5381b5(0x330)]())==null?void 0x0:_0x4aa617[_0x5381b5(0x4f4)])!=null?_0x1cef86:_0x5381b5(0x228),_0x2ffc53=(_0x159b59=(_0x465e71=_0x3211a0['getCurrentUser']())==null?void 0x0:_0x465e71['memberID'])!=null?_0x159b59:_0x5381b5(0x228);return{'changeset':{'unitID':_0x2a9bbd,'type':p['mapDocumentTypeToUniverType'](_0x3357a5[_0x5381b5(0x3c2)](_0x2a9bbd)),'baseRev':_0x540959[_0x5381b5(0x1f5)](_0x2a9bbd),'revision':0x0,'userID':_0x11ad00,'memberID':_0x2ffc53,'mutations':_0x53a4b4},'pendingMutations':_0x7a1eaf[_0x5381b5(0x5a9)](_0x53a4b4['length'])};}function ji(_0x1f0f3f,_0x4c7125,_0x459444,_0x322852,_0x17b371){const _0xb07661=_0x31ef25;var _0x4fbd2f,_0x5ad11a,_0x277b19,_0x3a6eda;const _0x3fa117=[_0x1f0f3f[_0xb07661(0x1d2)]((_0x3947c0,_0x3d3895)=>{const _0xf390ea=_0xb07661;var _0x3a864c;const {id:_0x4294a2}=_0x3947c0,{id:_0x51df49,type:_0x20557f}=_0x3d3895,_0x147286=(_0x3a864c=_0x3947c0[_0xf390ea(0x3ac)])!=null?_0x3a864c:{'actions':null},_0x4c94f6=_0x3d3895[_0xf390ea(0x3ac)];if(_0x4294a2&&_0x4294a2!==_0x51df49)throw new Error(_0xf390ea(0x25e)+_0x4294a2+'\x20-\x20'+_0x51df49+'.');return{..._0x3947c0,'id':_0x51df49,'type':_0x20557f,'params':{'unitId':_0x4c94f6['unitId'],'textRanges':_0x4c94f6['textRanges'],'actions':a['JSONX'][_0xf390ea(0x528)](_0x147286[_0xf390ea(0x426)],_0x4c94f6[_0xf390ea(0x426)])}};},{})],_0x536679=(_0x5ad11a=(_0x4fbd2f=_0x17b371[_0xb07661(0x330)]())==null?void 0x0:_0x4fbd2f[_0xb07661(0x4f4)])!=null?_0x5ad11a:_0xb07661(0x228),_0x3d2fd3=(_0x3a6eda=(_0x277b19=_0x17b371[_0xb07661(0x330)]())==null?void 0x0:_0x277b19[_0xb07661(0x362)])!=null?_0x3a6eda:_0xb07661(0x228);return{'changeset':{'unitID':_0x4c7125,'type':p['mapDocumentTypeToUniverType'](_0x459444[_0xb07661(0x3c2)](_0x4c7125)),'baseRev':_0x322852[_0xb07661(0x1f5)](_0x4c7125),'revision':0x0,'userID':_0x536679,'memberID':_0x3d2fd3,'mutations':_0x3fa117},'pendingMutations':[]};}function fn(_0x37d00c,_0xc933d4){const _0x4a129d=_0x31ef25,_0x25df45=new A[(_0x4a129d(0x187))](0x1);return setTimeout(()=>_0x25df45[_0x4a129d(0x28d)](_0xc933d4),_0x37d00c),_0x25df45[_0x4a129d(0x4d3)]()[_0x4a129d(0x37e)](A[_0x4a129d(0x2db)](0x1));}const $i={'id':B[_0x31ef25(0x4f3)]['id'],'type':a[_0x31ef25(0x4a2)][_0x31ef25(0x583)],'params':{}};var Hi=Object[_0x31ef25(0x4c2)],ki=Object[_0x31ef25(0x53c)],Ce=(_0x42555d,_0x163bfa,_0x39eb2e,_0x416f90)=>{const _0x41575a=_0x31ef25;for(var _0x32b60f=_0x416f90>0x1?void 0x0:_0x416f90?ki(_0x163bfa,_0x39eb2e):_0x163bfa,_0x23d5f7=_0x42555d[_0x41575a(0x360)]-0x1,_0x58a7a8;_0x23d5f7>=0x0;_0x23d5f7--)(_0x58a7a8=_0x42555d[_0x23d5f7])&&(_0x32b60f=(_0x416f90?_0x58a7a8(_0x163bfa,_0x39eb2e,_0x32b60f):_0x58a7a8(_0x32b60f))||_0x32b60f);return _0x416f90&&_0x32b60f&&Hi(_0x163bfa,_0x39eb2e,_0x32b60f),_0x32b60f;},N=(_0x2c837c,_0x3c4f82)=>(_0x24236d,_0x37a625)=>_0x3c4f82(_0x24236d,_0x37a625,_0x2c837c),q=(_0x2a848e=>(_0x2a848e[_0x31ef25(0x590)]=_0x31ef25(0x1cf),_0x2a848e[_0x31ef25(0x594)]='synced',_0x2a848e[_0x31ef25(0x61a)]='pending',_0x2a848e[_0x31ef25(0x217)]=_0x31ef25(0x549),_0x2a848e[_0x31ef25(0x1fd)]=_0x31ef25(0x53a),_0x2a848e[_0x31ef25(0x2f1)]=_0x31ef25(0x595),_0x2a848e[_0x31ef25(0x2b9)]='conflict',_0x2a848e['OFFLINE']=_0x31ef25(0x2d5),_0x2a848e))(q||{});const vn=0xea60;class Ee{constructor(_0x4e67a9,_0x24cda0,_0x25fe1c,_0x584f7b,_0x43544e,_0x133f1b,_0x474d57,_0x3a1923,_0x19aec1){const _0x178c65=_0x31ef25;I(this,_0x178c65(0x309),null),I(this,_0x178c65(0x2ef),[]),(this[_0x178c65(0x5db)]=_0x4e67a9,this[_0x178c65(0x618)]=_0x24cda0,this['_handler']=_0x43544e,this[_0x178c65(0x418)]=_0x133f1b,this[_0x178c65(0x1a2)]=_0x474d57,this['_revisionService']=_0x3a1923,this[_0x178c65(0x291)]=_0x19aec1,this[_0x178c65(0x309)]=_0x25fe1c,this['_pendingMutations']=_0x584f7b);}['_checkMissing'](_0x5e2cd3){const _0x8311f=_0x31ef25,_0x4d203e=this[_0x8311f(0x47e)][_0x8311f(0x1f5)](this['unitID']);return _0x5e2cd3[_0x8311f(0x288)]>_0x4d203e+0x1?(this['_handler']['onMissingChangesets']({'from':_0x4d203e,'to':_0x5e2cd3[_0x8311f(0x288)]-0x1}),!0x0):!0x1;}[_0x31ef25(0x293)](_0x5dfef7){const _0x24e210=_0x31ef25;this['_undoRedoService'][_0x24e210(0x3d8)](this[_0x24e210(0x5db)],_0x5dfef7);}[_0x31ef25(0x53f)](_0x5b3003){const _0x6dfe87=_0x31ef25;var _0xed3cfd,_0x8c0e05;(_0x8c0e05=(_0xed3cfd=this[_0x6dfe87(0x5ce)])['onTransformSelections'])==null||_0x8c0e05['call'](_0xed3cfd,_0x5b3003);}['_transformIMECache'](_0x4037c0){const _0x5c13fb=_0x31ef25;var _0x3a81b7,_0x35c70e;return(_0x35c70e=(_0x3a81b7=this[_0x5c13fb(0x5ce)])[_0x5c13fb(0x179)])==null?void 0x0:_0x35c70e[_0x5c13fb(0x32b)](_0x3a81b7,_0x4037c0);}[_0x31ef25(0x4f6)](_0x59b5f7){const _0x520afe=_0x31ef25;var _0x2e9f04,_0x3bd615;return(_0x3bd615=(_0x2e9f04=this[_0x520afe(0x5ce)])[_0x520afe(0x26b)])==null?void 0x0:_0x3bd615[_0x520afe(0x32b)](_0x2e9f04,_0x59b5f7);}['_transformRemoteChangesetByIMECache'](_0xe1e6ac){const _0x1d5d70=_0x31ef25;var _0x25201e,_0x448c16,_0x21af79;return(_0x21af79=(_0x448c16=(_0x25201e=this[_0x1d5d70(0x5ce)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x448c16[_0x1d5d70(0x32b)](_0x25201e,_0xe1e6ac))!=null?_0x21af79:_0xe1e6ac;}['_transformRemoteChangesetByStateCache'](_0x3bef17){const _0x3031cd=_0x31ef25;var _0x58c6c8,_0x1d8887,_0x58e3a8;return(_0x58e3a8=(_0x1d8887=(_0x58c6c8=this['_handler'])[_0x3031cd(0x332)])==null?void 0x0:_0x1d8887['call'](_0x58c6c8,_0x3bef17))!=null?_0x58e3a8:_0x3bef17;}[_0x31ef25(0x532)](_0x32144b){const _0x59b151=_0x31ef25;var _0x3ff685,_0xcf0a8e;if(this[_0x59b151(0x618)]===ie[_0x59b151(0x459)]){const {unitID:_0x58a47f,mutations:_0x43868c,memberID:_0x478398}=_0x32144b,_0x442369=_0x43868c[0x0]['params'][_0x59b151(0x280)];Array[_0x59b151(0x62a)](_0x442369)&&_0x442369['length']>0x0&&((_0xcf0a8e=(_0x3ff685=this[_0x59b151(0x5ce)])[_0x59b151(0x29c)])==null||_0xcf0a8e[_0x59b151(0x32b)](_0x3ff685,{'unitID':_0x58a47f,'memberID':_0x478398,'textRanges':_0x442369}));}}[_0x31ef25(0x487)](){const _0x476b80=_0x31ef25;this[_0x476b80(0x291)]['updateOfflineData'](this['unitID'],this[_0x476b80(0x618)],this[_0x476b80(0x309)],this[_0x476b80(0x2ef)]);}[_0x31ef25(0x5b8)](){const _0x370552=_0x31ef25;return this[_0x370552(0x47e)][_0x370552(0x1f5)](this[_0x370552(0x5db)]);}[_0x31ef25(0x4a8)](){const _0xe33950=_0x31ef25;this[_0xe33950(0x47e)]['incrementRevOfUnit'](this[_0xe33950(0x5db)]);}[_0x31ef25(0x304)](_0x21fe84){const _0x221b9a=_0x31ef25;var _0x32cc46;let _0x19cdfe=this[_0x221b9a(0x446)](_0x21fe84);_0x19cdfe=this[_0x221b9a(0x31a)](_0x19cdfe);const _0x4bdba6=a[_0x221b9a(0x4e6)](_0x19cdfe[_0x221b9a(0x200)],this[_0x221b9a(0x418)],{'fromCollab':!0x0});if(!_0x4bdba6['result'])throw _0x4bdba6['error']instanceof Error?_0x4bdba6[_0x221b9a(0x220)]:new Error((_0x32cc46=_0x4bdba6[_0x221b9a(0x220)])!=null?_0x32cc46:_0x221b9a(0x585));this[_0x221b9a(0x5f7)](_0x19cdfe),this['_transformStateCache'](_0x19cdfe),this['_transformUndoredo'](_0x21fe84),this[_0x221b9a(0x53f)](_0x19cdfe),this[_0x221b9a(0x532)](_0x19cdfe),this[_0x221b9a(0x4a8)]();}}let Oe=class extends Ee{constructor(_0x4e8f86,_0x1c0d34,_0x3f95db,_0x1bf714,_0x21c137,_0x119b96,_0x2cf5f1,_0x5f4e94,_0x46d8cb,_0x15b669){const _0x511338=_0x31ef25;super(_0x4e8f86,_0x1c0d34,null,[],_0x3f95db,_0x5f4e94,_0x2cf5f1,_0x1bf714,_0x21c137),I(this,_0x511338(0x5be),'synced'),(this[_0x511338(0x507)]=_0x119b96,this[_0x511338(0x60f)]=_0x46d8cb,this[_0x511338(0x262)]=_0x15b669);}[_0x31ef25(0x4ac)](_0xeed294){const _0x55bc66=_0x31ef25,_0x32783a=this[_0x55bc66(0x507)][_0x55bc66(0x1a8)](ce,this['unitID'],this[_0x55bc66(0x618)],[_0xeed294],this[_0x55bc66(0x5ce)]);return _0x32783a[_0x55bc66(0x4fd)](),_0x32783a[_0x55bc66(0x487)](),_0x32783a;}['onRemoteChangeset'](_0x5e6254){const _0x5272f4=_0x31ef25;if(this[_0x5272f4(0x35e)](_0x5e6254))return this['_injector'][_0x5272f4(0x1a8)](re,this[_0x5272f4(0x5db)],this['type'],null,[],null,[_0x5e6254],this['_handler']);try{const _0x21eb57=this[_0x5272f4(0x262)]['transformMutationsWithChangeset'](_0x5e6254,[$i]);if(p[_0x5272f4(0x3af)](_0x21eb57)){const {c1Prime:_0x57130e}=_0x21eb57;return this['_executeRemoteChangeset'](_0x57130e),this;}throw _0x21eb57[_0x5272f4(0x220)];}catch(_0x4e4976){return this[_0x5272f4(0x60f)][_0x5272f4(0x220)](_0x4e4976),this['_onConflict'](!0x1);}}[_0x31ef25(0x423)](_0x473343){const _0xf031eb=_0x31ef25;return this['_injector']['createInstance'](ve,this['unitID'],this[_0xf031eb(0x618)],null,[],this[_0xf031eb(0x5ce)],_0x473343);}['onRemoteAck'](){const _0x22f001=_0x31ef25;throw new Error(_0x22f001(0x192));}[_0x31ef25(0x35a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x17f9ba=_0x31ef25;return this[_0x17f9ba(0x507)]['createInstance'](Se,this[_0x17f9ba(0x5db)],this[_0x17f9ba(0x618)],null,[],this[_0x17f9ba(0x5ce)]);}[_0x31ef25(0x2a2)](){return this;}[_0x31ef25(0x197)](){const _0x1c58e7=_0x31ef25;throw new Error(_0x1c58e7(0x631));}[_0x31ef25(0x2da)](){const _0xfec15f=_0x31ef25,_0x4a9435=this['_revisionService']['getCurrentRevOfUnit'](this[_0xfec15f(0x5db)]);return this[_0xfec15f(0x5ce)]['onMissingChangesets']({'from':_0x4a9435,'to':0x0}),this[_0xfec15f(0x507)][_0xfec15f(0x1a8)](re,this['unitID'],this[_0xfec15f(0x618)],null,[],null,[],this['_handler']);}};Oe=Ce([N(0x3,a['Inject'](p['RevisionService'])),N(0x4,a[_0x31ef25(0x249)](exports['LocalCacheService'])),N(0x5,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),N(0x6,a[_0x31ef25(0x225)]),N(0x7,a['ICommandService']),N(0x8,a[_0x31ef25(0x31b)]),N(0x9,p[_0x31ef25(0x2ee)])],Oe);let ce=class extends Ee{constructor(_0x57e8e3,_0x3ba391,_0x2a020f,_0x27eea6,_0x3471ab,_0x5da14c,_0x550eb9,_0x549a9c,_0x526b3d,_0x40dd27,_0x2193e6,_0x262cf8,_0x403380,_0x34039d){const _0x3888c8=_0x31ef25;super(_0x57e8e3,_0x3ba391,null,_0x2a020f,_0x27eea6,_0x40dd27,_0x34039d,_0x5da14c,_0x550eb9),I(this,_0x3888c8(0x5be),_0x3888c8(0x193)),I(this,_0x3888c8(0x1b0),null),I(this,_0x3888c8(0x2cf),null),(this['_injector']=_0x3471ab,this[_0x3888c8(0x60b)]=_0x549a9c,this[_0x3888c8(0x60f)]=_0x526b3d,this[_0x3888c8(0x372)]=_0x2193e6,this[_0x3888c8(0x262)]=_0x262cf8,this[_0x3888c8(0x2a3)]=_0x403380);}['appendMutation'](_0x1aa625){const _0x44ef5c=_0x31ef25;return this[_0x44ef5c(0x2ef)][_0x44ef5c(0x285)](_0x1aa625),this['_updateLocalCache'](),this;}[_0x31ef25(0x5ed)](_0x3c3716){const _0x3d60d7=_0x31ef25;if(this[_0x3d60d7(0x35e)](_0x3c3716))return this[_0x3d60d7(0x4e9)](),this[_0x3d60d7(0x507)][_0x3d60d7(0x1a8)](re,this[_0x3d60d7(0x5db)],this[_0x3d60d7(0x618)],null,this[_0x3d60d7(0x2ef)],null,[_0x3c3716],this[_0x3d60d7(0x5ce)]);try{const _0x3b5b5a=this[_0x3d60d7(0x262)][_0x3d60d7(0x616)](_0x3c3716,this[_0x3d60d7(0x2ef)]);if(p[_0x3d60d7(0x3af)](_0x3b5b5a)){const {c1Prime:_0x35ccc1,m2Prime:_0x3d8e18}=_0x3b5b5a;this[_0x3d60d7(0x304)](_0x35ccc1);const _0x56ce57=this[_0x3d60d7(0x507)][_0x3d60d7(0x1a8)](ce,this[_0x3d60d7(0x5db)],this[_0x3d60d7(0x618)],_0x3d8e18,this[_0x3d60d7(0x5ce)]);return this['_clearScheduledTask'](),_0x56ce57[_0x3d60d7(0x4fd)](this[_0x3d60d7(0x1b0)]?Math[_0x3d60d7(0x341)](0x0,new Date()[_0x3d60d7(0x5a6)]()-this[_0x3d60d7(0x1b0)]):this[_0x3d60d7(0x571)]()),_0x56ce57;}throw _0x3b5b5a[_0x3d60d7(0x220)];}catch(_0x601c2e){return this['_logService'][_0x3d60d7(0x220)](_0x601c2e),this[_0x3d60d7(0x423)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0xa41a03=_0x31ef25;throw new Error(_0xa41a03(0x2d2));}[_0x31ef25(0x61d)](){return this;}['toggleOffline'](){const _0x53cbaf=_0x31ef25;return this[_0x53cbaf(0x4e9)](),this[_0x53cbaf(0x507)][_0x53cbaf(0x1a8)](Se,this[_0x53cbaf(0x5db)],this[_0x53cbaf(0x618)],null,this[_0x53cbaf(0x2ef)],this[_0x53cbaf(0x5ce)]);}['toggleOnline'](){return this;}[_0x31ef25(0x4fd)](_0x485c25){const _0x31e21b=_0x31ef25,_0x329655=_0x485c25!=null?_0x485c25:this[_0x31e21b(0x571)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x31e21b(0x2cf)]=window['setTimeout'](()=>{const _0x184af8=_0x31e21b;this['_clearScheduledTask']();let _0xe00468=null;switch(this[_0x184af8(0x618)]){case ie[_0x184af8(0x3dc)]:{_0xe00468=jt(this[_0x184af8(0x2ef)],this[_0x184af8(0x5db)],this[_0x184af8(0x2a3)],this[_0x184af8(0x47e)],this['_memberService']);break;}case ie[_0x184af8(0x459)]:{this[_0x184af8(0x2ef)][_0x184af8(0x311)](_0x1719b5=>_0x1719b5['id']===ye[_0x184af8(0x3b0)]['id'])?_0xe00468=ji(this[_0x184af8(0x2ef)],this['unitID'],this[_0x184af8(0x2a3)],this[_0x184af8(0x47e)],this['_memberService']):_0xe00468=jt(this[_0x184af8(0x2ef)],this['unitID'],this[_0x184af8(0x2a3)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x184af8(0x2ea)+this['type']+_0x184af8(0x1c7));}const {changeset:_0x3b471e,pendingMutations:_0x521251}=_0xe00468;this['_handler'][_0x184af8(0x2ce)](_0x3b471e);const _0xd9c935=_0x521251[_0x184af8(0x360)]?this[_0x184af8(0x507)][_0x184af8(0x1a8)](le,this[_0x184af8(0x5db)],this['type'],_0x3b471e,_0x521251,this[_0x184af8(0x5ce)],void 0x0):this[_0x184af8(0x507)]['createInstance'](fe,this[_0x184af8(0x5db)],this['type'],_0x3b471e,this['_handler']);_0xd9c935['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0xd9c935);},_0x329655);}[_0x31ef25(0x571)](){const _0x4027f7=_0x31ef25;var _0x218b91;const _0x44d6eb=this[_0x4027f7(0x372)][_0x4027f7(0x403)](ee);return(_0x218b91=_0x44d6eb==null?void 0x0:_0x44d6eb[_0x4027f7(0x1e4)])!=null?_0x218b91:Bn;}[_0x31ef25(0x197)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x31ef25(0x4e9)](){const _0x4a970b=_0x31ef25;this[_0x4a970b(0x2cf)]!=null&&(clearTimeout(this[_0x4a970b(0x2cf)]),this['_sendingTimer']=null);}[_0x31ef25(0x423)](_0x18c187){const _0x345926=_0x31ef25;return this[_0x345926(0x4e9)](),this[_0x345926(0x507)][_0x345926(0x1a8)](ve,this[_0x345926(0x5db)],this[_0x345926(0x618)],null,this['_pendingMutations'],this[_0x345926(0x5ce)],_0x18c187);}};ce=Ce([N(0x4,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),N(0x5,a[_0x31ef25(0x249)](p['RevisionService'])),N(0x6,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),N(0x7,a[_0x31ef25(0x249)](exports[_0x31ef25(0x615)])),N(0x8,a[_0x31ef25(0x31b)]),N(0x9,a[_0x31ef25(0x36e)]),N(0xa,a[_0x31ef25(0x3ca)]),N(0xb,p['ITransformService']),N(0xc,a[_0x31ef25(0x28e)]),N(0xd,a[_0x31ef25(0x225)])],ce);let fe=class extends Ee{constructor(_0x43fec0,_0x97092e,_0x28c6e5,_0x27e6d4,_0x4ec693,_0xb4727c,_0x5303bd,_0x23254d,_0x292303,_0x1e678f,_0x49b352){const _0x4bc6d0=_0x31ef25;super(_0x43fec0,_0x97092e,_0x28c6e5,[],_0x27e6d4,_0x23254d,_0x49b352,_0xb4727c,_0x5303bd),I(this,_0x4bc6d0(0x5be),_0x4bc6d0(0x549)),I(this,_0x4bc6d0(0x3cd),0x0),I(this,_0x4bc6d0(0x55e)),I(this,_0x4bc6d0(0x1a5)),(this['_injector']=_0x4ec693,this[_0x4bc6d0(0x60f)]=_0x292303,this[_0x4bc6d0(0x262)]=_0x1e678f);}[_0x31ef25(0x4ac)](_0x387008){const _0x158f04=_0x31ef25;this['_clearScheduledTask']();const _0x36328e=this[_0x158f04(0x507)][_0x158f04(0x1a8)](le,this[_0x158f04(0x5db)],this[_0x158f04(0x618)],this[_0x158f04(0x309)],[_0x387008],this[_0x158f04(0x5ce)],this['_resendTimer']);return _0x36328e[_0x158f04(0x487)](),_0x36328e;}[_0x31ef25(0x5ed)](_0x4d07f){const _0x3029b6=_0x31ef25;if(this[_0x3029b6(0x35e)](_0x4d07f))return this['_clearScheduledTask'](),this[_0x3029b6(0x507)][_0x3029b6(0x1a8)](re,this[_0x3029b6(0x5db)],this['type'],this[_0x3029b6(0x309)],[],null,[_0x4d07f],this['_handler']);try{const _0x356e0f=this[_0x3029b6(0x262)][_0x3029b6(0x1f3)]([_0x4d07f],[this[_0x3029b6(0x309)]],!0x1);if(p[_0x3029b6(0x24f)](_0x356e0f)){const {c1Prime:_0x5d9a36,c2Prime:_0x4a7016}=_0x356e0f;this['_executeRemoteChangeset'](_0x5d9a36[0x0]),_0x4a7016[0x0]['baseRev']=this[_0x3029b6(0x5b8)](),this[_0x3029b6(0x4e9)]();const _0xd3f56d=this[_0x3029b6(0x507)]['createInstance'](fe,this[_0x3029b6(0x5db)],this[_0x3029b6(0x618)],_0x4a7016[0x0],this[_0x3029b6(0x5ce)]);return _0xd3f56d[_0x3029b6(0x487)](),_0xd3f56d;}return this[_0x3029b6(0x423)](!0x1);}catch(_0x477853){return this[_0x3029b6(0x60f)]['error'](_0x477853),this[_0x3029b6(0x423)](!0x1);}}[_0x31ef25(0x60d)](_0x2cf303){const _0x531a44=_0x31ef25;this[_0x531a44(0x4e9)]();const _0x234fb4=this['_revisionService'][_0x531a44(0x1f5)](this[_0x531a44(0x5db)]);if(_0x2cf303[_0x531a44(0x288)]<_0x234fb4-0x1)return this;if(this['_checkMissing'](_0x2cf303))return this[_0x531a44(0x507)][_0x531a44(0x1a8)](re,this[_0x531a44(0x5db)],this[_0x531a44(0x618)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x531a44(0x4a8)]();const _0x1f4d8c=this[_0x531a44(0x507)][_0x531a44(0x1a8)](Oe,this[_0x531a44(0x5db)],this[_0x531a44(0x618)],this[_0x531a44(0x5ce)]);return _0x1f4d8c[_0x531a44(0x487)](),_0x1f4d8c;}[_0x31ef25(0x35a)](_0x2e6fd1){const _0x21693f=_0x31ef25;return this[_0x21693f(0x423)](!!(_0x2e6fd1!=null&&_0x2e6fd1[_0x21693f(0x564)]));}[_0x31ef25(0x61d)](_0x1d41ac){const _0x478a85=_0x31ef25;return this[_0x478a85(0x3cd)]>vn?this[_0x478a85(0x3c5)]():(this[_0x478a85(0x55e)]=fn(this[_0x478a85(0x3cd)],{'timeout':this[_0x478a85(0x3cd)],'reqId':_0x1d41ac[_0x478a85(0x4c9)]}),this[_0x478a85(0x1a5)]=this[_0x478a85(0x55e)][_0x478a85(0x52d)](({reqId:_0x3fd5fe,timeout:_0x4e8ceb})=>{const _0x2bc90e=_0x478a85;this[_0x2bc90e(0x1b7)](_0x3fd5fe,_0x4e8ceb);}),this);}['toggleOffline'](){const _0x19f82e=_0x31ef25;return this['_clearScheduledTask'](),this['_injector'][_0x19f82e(0x1a8)](Se,this[_0x19f82e(0x5db)],this['type'],this[_0x19f82e(0x309)],[],this[_0x19f82e(0x5ce)]);}[_0x31ef25(0x2a2)](){return this;}[_0x31ef25(0x197)](){const _0x3674a3=_0x31ef25;this[_0x3674a3(0x5ce)][_0x3674a3(0x2ce)](this[_0x3674a3(0x309)]);}['_onConflict'](_0x208e4f){const _0x490020=_0x31ef25;return this[_0x490020(0x4e9)](),this['_injector'][_0x490020(0x1a8)](ve,this[_0x490020(0x5db)],this[_0x490020(0x618)],this[_0x490020(0x309)],[],this[_0x490020(0x5ce)],_0x208e4f);}[_0x31ef25(0x1b7)](_0x2decae,_0x6c48f5){const _0x2cdaf0=_0x31ef25;var _0x348747;_0x2decae===((_0x348747=this['_awaitingChangeset'])==null?void 0x0:_0x348747['reqId'])&&(this[_0x2cdaf0(0x197)](),this[_0x2cdaf0(0x3cd)]=_0x6c48f5===0x0?0x3e8:_0x6c48f5*0x2);}[_0x31ef25(0x4e9)](){const _0x3a91f1=_0x31ef25;var _0x44cce9;(_0x44cce9=this[_0x3a91f1(0x1a5)])==null||_0x44cce9[_0x3a91f1(0x3d6)](),this[_0x3a91f1(0x3cd)]=0x0;}};fe=Ce([N(0x4,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),N(0x5,a[_0x31ef25(0x249)](p[_0x31ef25(0x1d9)])),N(0x6,a[_0x31ef25(0x249)](exports['LocalCacheService'])),N(0x7,a[_0x31ef25(0x36e)]),N(0x8,a[_0x31ef25(0x31b)]),N(0x9,p['ITransformService']),N(0xa,a[_0x31ef25(0x225)])],fe);let le=class extends Ee{constructor(_0x29e3cd,_0x42b8a1,_0x854b7d,_0x2dc292,_0x1d30c3,_0x2480ef,_0x3c202e,_0x30e51d,_0x421123,_0x131044,_0x19e80e,_0x54ad0d,_0x249431){const _0x49f3cd=_0x31ef25;super(_0x29e3cd,_0x42b8a1,_0x854b7d,_0x2dc292,_0x1d30c3,_0x131044,_0x249431,_0x30e51d,_0x421123),I(this,_0x49f3cd(0x5be),_0x49f3cd(0x53a)),I(this,_0x49f3cd(0x3cd),0x0),I(this,_0x49f3cd(0x55e)),I(this,'_sender'),(this[_0x49f3cd(0x507)]=_0x3c202e,this[_0x49f3cd(0x60f)]=_0x19e80e,this[_0x49f3cd(0x262)]=_0x54ad0d,_0x2480ef&&(this[_0x49f3cd(0x55e)]=_0x2480ef,this[_0x49f3cd(0x1a5)]=this['_resendTimer'][_0x49f3cd(0x52d)](({reqId:_0x5df563,timeout:_0x3adb38})=>{const _0xe21c8e=_0x49f3cd;this[_0xe21c8e(0x1b7)](_0x5df563,_0x3adb38);})));}[_0x31ef25(0x4ac)](_0x566ea5){const _0x2436f1=_0x31ef25;return this[_0x2436f1(0x2ef)][_0x2436f1(0x285)](_0x566ea5),this;}[_0x31ef25(0x5ed)](_0x43b880){const _0x5be543=_0x31ef25;if(this[_0x5be543(0x35e)](_0x43b880))return this[_0x5be543(0x4e9)](),this['_injector'][_0x5be543(0x1a8)](re,this[_0x5be543(0x5db)],this[_0x5be543(0x618)],this[_0x5be543(0x309)],this[_0x5be543(0x2ef)],null,[_0x43b880],this[_0x5be543(0x5ce)]);try{const _0x1c406d=this['_transformService'][_0x5be543(0x1f3)]([_0x43b880],[this[_0x5be543(0x309)]],!0x1);if(p[_0x5be543(0x24f)](_0x1c406d)){const {c1Prime:_0x501862,c2Prime:_0x3d634b}=_0x1c406d,_0x86a7f=this[_0x5be543(0x262)][_0x5be543(0x616)](_0x501862[0x0],this[_0x5be543(0x2ef)]);if(p[_0x5be543(0x3af)](_0x86a7f)){const {c1Prime:_0x5d6d2f,m2Prime:_0x24bb09}=_0x86a7f;return this[_0x5be543(0x304)](_0x5d6d2f),_0x3d634b[0x0]['baseRev']=this[_0x5be543(0x5b8)](),this[_0x5be543(0x4e9)](),this[_0x5be543(0x507)][_0x5be543(0x1a8)](le,this[_0x5be543(0x5db)],this[_0x5be543(0x618)],_0x3d634b[0x0],_0x24bb09,this[_0x5be543(0x5ce)],void 0x0);}throw _0x86a7f[_0x5be543(0x220)];}throw _0x1c406d[_0x5be543(0x220)];}catch(_0xe28085){return this[_0x5be543(0x60f)]['error'](_0xe28085),this[_0x5be543(0x423)](!0x1);}}[_0x31ef25(0x60d)](_0x34089e){const _0x48061=_0x31ef25;if(this[_0x48061(0x4e9)](),this[_0x48061(0x35e)](_0x34089e))return this[_0x48061(0x507)][_0x48061(0x1a8)](re,this[_0x48061(0x5db)],this[_0x48061(0x618)],null,this[_0x48061(0x2ef)],this[_0x48061(0x309)],[],this['_handler']);this[_0x48061(0x4a8)]();const _0x51b38d=this['_injector'][_0x48061(0x1a8)](ce,this[_0x48061(0x5db)],this[_0x48061(0x618)],this[_0x48061(0x2ef)],this['_handler']);return _0x51b38d['_schedule'](),_0x51b38d[_0x48061(0x487)](),_0x51b38d;}[_0x31ef25(0x35a)](_0x138c51){const _0x2f5b2f=_0x31ef25;return this[_0x2f5b2f(0x423)](!!(_0x138c51!=null&&_0x138c51[_0x2f5b2f(0x564)]));}[_0x31ef25(0x61d)](_0x11f046){const _0x47774d=_0x31ef25;return this[_0x47774d(0x3cd)]>vn?this[_0x47774d(0x3c5)]():(this[_0x47774d(0x55e)]=fn(this[_0x47774d(0x3cd)],{'timeout':this['_resendTimeout'],'reqId':_0x11f046['reqId']}),this['_sender']=this[_0x47774d(0x55e)][_0x47774d(0x52d)](({reqId:_0x300fb2,timeout:_0x13d85c})=>{const _0x67bcf8=_0x47774d;this[_0x67bcf8(0x1b7)](_0x300fb2,_0x13d85c);}),this);}[_0x31ef25(0x3c5)](){const _0x967c4e=_0x31ef25;return this[_0x967c4e(0x4e9)](),this[_0x967c4e(0x507)][_0x967c4e(0x1a8)](Se,this[_0x967c4e(0x5db)],this[_0x967c4e(0x618)],this[_0x967c4e(0x309)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x31ef25(0x197)](){const _0x29fdfb=_0x31ef25;this[_0x29fdfb(0x5ce)][_0x29fdfb(0x2ce)](this[_0x29fdfb(0x309)]);}[_0x31ef25(0x423)](_0x2f72dc){const _0x20d963=_0x31ef25;return this[_0x20d963(0x4e9)](),this['_injector'][_0x20d963(0x1a8)](ve,this[_0x20d963(0x5db)],this['type'],null,this['_pendingMutations'],this[_0x20d963(0x5ce)],_0x2f72dc);}['_resendWithTimeout'](_0x543386,_0x51d195){const _0xa7b09=_0x31ef25;var _0x4dc07a;_0x543386===((_0x4dc07a=this[_0xa7b09(0x309)])==null?void 0x0:_0x4dc07a[_0xa7b09(0x4c9)])&&(this[_0xa7b09(0x197)](),this[_0xa7b09(0x3cd)]=_0x51d195===0x0?0x3e8:_0x51d195*0x2);}['_clearScheduledTask'](){const _0x2e354c=_0x31ef25;var _0x5d0cc8;(_0x5d0cc8=this[_0x2e354c(0x1a5)])==null||_0x5d0cc8[_0x2e354c(0x3d6)](),this[_0x2e354c(0x3cd)]=0x0;}};le=Ce([N(0x6,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),N(0x7,a['Inject'](p[_0x31ef25(0x1d9)])),N(0x8,a['Inject'](exports[_0x31ef25(0x3aa)])),N(0x9,a['ICommandService']),N(0xa,a[_0x31ef25(0x31b)]),N(0xb,p[_0x31ef25(0x2ee)]),N(0xc,a[_0x31ef25(0x225)])],le);let ve=class extends Ee{constructor(_0x5d78db,_0x5595a3,_0x2fcff4,_0x5d702a,_0x3db5ac,_0x1c7ab5=!0x1,_0x49bf06,_0x210ca2,_0x10188a,_0xcc2461,_0x19b41f,_0x5e1468,_0x53fc2e){const _0x4f20e8=_0x31ef25;super(_0x5d78db,_0x5595a3,_0x2fcff4,_0x5d702a,_0x3db5ac,_0x210ca2,_0x10188a,_0x19b41f,_0xcc2461),I(this,_0x4f20e8(0x5be),_0x4f20e8(0x3e1)),(this[_0x4f20e8(0x60c)]=_0x1c7ab5,this[_0x4f20e8(0x26c)]=_0x49bf06,this[_0x4f20e8(0x592)]=_0x5e1468,this[_0x4f20e8(0x307)]=_0x53fc2e,this[_0x4f20e8(0x438)](),this[_0x4f20e8(0x4d5)](),this['_disableEditing']());}[_0x31ef25(0x4ac)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x31ef25(0x3c5)](){return this;}[_0x31ef25(0x2a2)](){return this;}[_0x31ef25(0x197)](){const _0x20eece=_0x31ef25;throw new Error(_0x20eece(0x19b));}[_0x31ef25(0x4d5)](){const _0x3cc4ee=_0x31ef25;this[_0x3cc4ee(0x291)][_0x3cc4ee(0x54f)](this[_0x3cc4ee(0x5db)],this['type'],null,[]);}[_0x31ef25(0x438)](){const _0x153df8=_0x31ef25;this['_isPermissionRej']?this[_0x153df8(0x307)]['show']({'title':this[_0x153df8(0x592)]['t']('permission.title'),'content':this[_0x153df8(0x592)]['t'](_0x153df8(0x2b4)),'type':'error','duration':0x0}):this['_notificationService'][_0x153df8(0x2c8)]({'title':this['_localeService']['t'](_0x153df8(0x58d)),'content':this[_0x153df8(0x592)]['t'](_0x153df8(0x2e0)),'type':_0x153df8(0x220),'duration':0x0});}['_disableEditing'](){const _0x212bbe=_0x31ef25;this['_permissionService']['updatePermissionPoint'](new B[(_0x212bbe(0x230))](this[_0x212bbe(0x5db)])['id'],!0x1);}};ve=Ce([N(0x6,a[_0x31ef25(0x249)](a[_0x31ef25(0x417)])),N(0x7,a[_0x31ef25(0x36e)]),N(0x8,a[_0x31ef25(0x225)]),N(0x9,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),N(0xa,a[_0x31ef25(0x249)](p[_0x31ef25(0x1d9)])),N(0xb,a['Inject'](a[_0x31ef25(0x593)])),N(0xc,te[_0x31ef25(0x440)])],ve);let Se=class extends Ee{constructor(_0xe358b7,_0x44f7c0,_0x10faee,_0x2f3c2e,_0xced139,_0x39656b,_0x22818c,_0x16f0f7,_0x120427,_0x5ae12b){const _0x259209=_0x31ef25;super(_0xe358b7,_0x44f7c0,_0x10faee,_0x2f3c2e,_0xced139,_0x120427,_0x5ae12b,_0x22818c,_0x16f0f7),I(this,_0x259209(0x5be),_0x259209(0x2d5)),this['_injector']=_0x39656b;}[_0x31ef25(0x4ac)](_0x3388fe){const _0x3288ee=_0x31ef25;return this[_0x3288ee(0x2ef)][_0x3288ee(0x285)](_0x3388fe),this[_0x3288ee(0x487)](),this;}[_0x31ef25(0x5ed)](_0x109a99){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x4b8ac6=_0x31ef25;throw new Error(_0x4b8ac6(0x39b));}[_0x31ef25(0x35a)](){const _0x368e46=_0x31ef25;throw new Error(_0x368e46(0x181));}[_0x31ef25(0x61d)](){return this;}[_0x31ef25(0x3c5)](){return this;}[_0x31ef25(0x2a2)](){const _0x5dbd2c=_0x31ef25,{_injector:_0x31b7c8,_pendingMutations:_0xeeb1d7,_awaitingChangeset:_0x14ca44,unitID:_0x7434b4,_handler:_0x2c0371,type:_0x209130}=this,_0x4962fa=Sn(_0x31b7c8,_0x7434b4,_0x209130,_0x14ca44,_0xeeb1d7,_0x2c0371);return _0x4962fa instanceof ce?_0x4962fa[_0x5dbd2c(0x4fd)]():(_0x4962fa instanceof le||_0x4962fa instanceof fe)&&_0x4962fa[_0x5dbd2c(0x197)](),_0x4962fa;}[_0x31ef25(0x197)](){const _0x2ba4b7=_0x31ef25;throw new Error(_0x2ba4b7(0x579));}};Se=Ce([N(0x5,a[_0x31ef25(0x249)](a['Injector'])),N(0x6,a['Inject'](p[_0x31ef25(0x1d9)])),N(0x7,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),N(0x8,a[_0x31ef25(0x36e)]),N(0x9,a[_0x31ef25(0x225)])],Se);let re=class extends Ee{constructor(_0x4299fc,_0x59ecd2,_0x43357a,_0x59818b,_0x19938d,_0x41ce6,_0x3bad23,_0x1e1bc4,_0x16af18,_0x19c1a3,_0x3b7ac0,_0x1c7771,_0x478ce7,_0x1e9ceb){const _0x259c57=_0x31ef25;super(_0x4299fc,_0x59ecd2,_0x43357a,_0x59818b,_0x3bad23,_0x1c7771,_0x478ce7,_0x16af18,_0x19c1a3),I(this,'status','fetch_missing'),(this[_0x259c57(0x3cc)]=_0x19938d,this[_0x259c57(0x313)]=_0x41ce6,this[_0x259c57(0x507)]=_0x1e1bc4,this[_0x259c57(0x60f)]=_0x3b7ac0,this['_transformService']=_0x1e9ceb);}['onMissedChangesetFetched'](_0x14885b){const _0x36c95b=_0x31ef25;try{const _0x18ce02=[..._0x14885b,...this[_0x36c95b(0x313)]],_0x5e01f6=[this[_0x36c95b(0x309)]||this[_0x36c95b(0x3cc)]]['filter'](_0x47b004=>!!_0x47b004);let _0x3aaa18,_0x168c2c;if(_0x5e01f6[_0x36c95b(0x360)]){const _0x564daa=this['_transformService'][_0x36c95b(0x1f3)](_0x18ce02,_0x5e01f6,!0x1);if(!p[_0x36c95b(0x24f)](_0x564daa))throw _0x564daa[_0x36c95b(0x220)];_0x3aaa18=_0x564daa['c1Prime'],_0x168c2c=_0x564daa[_0x36c95b(0x473)];}else _0x3aaa18=_0x18ce02,_0x168c2c=[];let _0x1e6ff8=this[_0x36c95b(0x2ef)];_0x3aaa18[_0x36c95b(0x527)](_0x1f41fb=>{const _0x561a99=_0x36c95b;let _0x50b4b0;if(_0x1e6ff8[_0x561a99(0x360)]){const _0x4b5e66=this['_transformService'][_0x561a99(0x616)](_0x1f41fb,_0x1e6ff8);if(!p[_0x561a99(0x3af)](_0x4b5e66))throw _0x4b5e66[_0x561a99(0x220)];_0x50b4b0=_0x4b5e66[_0x561a99(0x509)],_0x1e6ff8=_0x4b5e66[_0x561a99(0x35c)];}else _0x50b4b0=_0x1f41fb;this['_executeRemoteChangeset'](_0x50b4b0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x36c95b(0x4a8)](),this[_0x36c95b(0x309)]&&_0x168c2c[_0x36c95b(0x360)]&&(_0x168c2c[0x0][_0x36c95b(0x406)]=this[_0x36c95b(0x5b8)]());let _0x30a9c5;if(this[_0x36c95b(0x309)]&&_0x1e6ff8['length']!==0x0)_0x30a9c5=this[_0x36c95b(0x507)][_0x36c95b(0x1a8)](le,this[_0x36c95b(0x5db)],this[_0x36c95b(0x618)],_0x168c2c[0x0],_0x1e6ff8,this[_0x36c95b(0x5ce)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1e6ff8[_0x36c95b(0x360)]===0x0)_0x168c2c[0x0][_0x36c95b(0x406)]=this[_0x36c95b(0x5b8)](),_0x30a9c5=this[_0x36c95b(0x507)]['createInstance'](fe,this[_0x36c95b(0x5db)],this[_0x36c95b(0x618)],_0x168c2c[0x0],this[_0x36c95b(0x5ce)]);else{if(_0x1e6ff8[_0x36c95b(0x360)]!==0x0){const _0x32d258=this['_injector'][_0x36c95b(0x1a8)](ce,this[_0x36c95b(0x5db)],this['type'],_0x1e6ff8,this[_0x36c95b(0x5ce)]);_0x32d258[_0x36c95b(0x4fd)](),_0x30a9c5=_0x32d258;}else _0x30a9c5=this[_0x36c95b(0x507)][_0x36c95b(0x1a8)](Oe,this[_0x36c95b(0x5db)],this[_0x36c95b(0x618)],this[_0x36c95b(0x5ce)]);}}return _0x30a9c5[_0x36c95b(0x487)](),_0x30a9c5;}catch(_0x41c85a){return this[_0x36c95b(0x60f)][_0x36c95b(0x220)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x41c85a),this['_injector']['createInstance'](ve,this[_0x36c95b(0x5db)],this[_0x36c95b(0x618)],this[_0x36c95b(0x309)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x31ef25(0x197)](){const _0x213800=_0x31ef25;throw new Error(_0x213800(0x41c));}['appendMutation'](_0x162fe2){const _0x1fb59d=_0x31ef25;return this[_0x1fb59d(0x2ef)][_0x1fb59d(0x285)](_0x162fe2),this;}[_0x31ef25(0x5ed)](_0x32a960){const _0x54b078=_0x31ef25;return this[_0x54b078(0x313)]['push'](_0x32a960),this;}[_0x31ef25(0x60d)](_0x1aefbd){const _0x228c0a=_0x31ef25;if(this['_awaitingChangeset'])return this[_0x228c0a(0x3cc)]=this[_0x228c0a(0x309)],this[_0x228c0a(0x309)]=null,this;throw new Error(_0x228c0a(0x4f2));}[_0x31ef25(0x35a)](_0x41788a){const _0x342dd4=_0x31ef25;return this[_0x342dd4(0x423)](!!(_0x41788a!=null&&_0x41788a[_0x342dd4(0x564)]));}[_0x31ef25(0x61d)](){return this;}[_0x31ef25(0x3c5)](){const _0x25b21f=_0x31ef25;return this[_0x25b21f(0x507)][_0x25b21f(0x1a8)](Se,this[_0x25b21f(0x5db)],this[_0x25b21f(0x618)],this[_0x25b21f(0x309)],this[_0x25b21f(0x2ef)],this[_0x25b21f(0x5ce)]);}[_0x31ef25(0x2a2)](){return this;}[_0x31ef25(0x423)](_0x1561af){const _0x5350be=_0x31ef25;return this[_0x5350be(0x507)][_0x5350be(0x1a8)](ve,this[_0x5350be(0x5db)],this[_0x5350be(0x618)],this[_0x5350be(0x309)],this[_0x5350be(0x2ef)],this[_0x5350be(0x5ce)],_0x1561af);}};re=Ce([N(0x7,a['Inject'](a['Injector'])),N(0x8,a[_0x31ef25(0x249)](p[_0x31ef25(0x1d9)])),N(0x9,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),N(0xa,a[_0x31ef25(0x31b)]),N(0xb,a[_0x31ef25(0x36e)]),N(0xc,a[_0x31ef25(0x225)]),N(0xd,p[_0x31ef25(0x2ee)])],re);function Sn(_0x4ec6f,_0x459899,_0x26bf26,_0x3b618b,_0x2d014a,_0x1031b6){const _0x1a8589=_0x31ef25;return _0x3b618b&&_0x2d014a[_0x1a8589(0x360)]?_0x4ec6f['createInstance'](le,_0x459899,_0x26bf26,_0x3b618b,_0x2d014a,_0x1031b6,void 0x0):_0x3b618b?_0x4ec6f[_0x1a8589(0x1a8)](fe,_0x459899,_0x26bf26,_0x3b618b,_0x1031b6):_0x2d014a[_0x1a8589(0x360)]?_0x4ec6f[_0x1a8589(0x1a8)](ce,_0x459899,_0x26bf26,_0x2d014a,_0x1031b6):_0x4ec6f['createInstance'](Oe,_0x459899,_0x26bf26,_0x1031b6);}var Bi=Object[_0x31ef25(0x4c2)],Wi=Object['getOwnPropertyDescriptor'],yt=(_0x5addae,_0x2e491e,_0x4f6bd5,_0x1fe96e)=>{const _0x562d54=_0x31ef25;for(var _0x2703ec=_0x1fe96e>0x1?void 0x0:_0x1fe96e?Wi(_0x2e491e,_0x4f6bd5):_0x2e491e,_0x33fba7=_0x5addae[_0x562d54(0x360)]-0x1,_0x269c2f;_0x33fba7>=0x0;_0x33fba7--)(_0x269c2f=_0x5addae[_0x33fba7])&&(_0x2703ec=(_0x1fe96e?_0x269c2f(_0x2e491e,_0x4f6bd5,_0x2703ec):_0x269c2f(_0x2703ec))||_0x2703ec);return _0x1fe96e&&_0x2703ec&&Bi(_0x2e491e,_0x4f6bd5,_0x2703ec),_0x2703ec;},H=(_0x5cee63,_0x435528)=>(_0x36b595,_0x1da3e6)=>_0x435528(_0x36b595,_0x1da3e6,_0x5cee63);exports[_0x31ef25(0x5cd)]=class extends a[_0x31ef25(0x25c)]{constructor(_0x12b78a,_0x17b7d1,_0x12be5a,_0x20dead,_0x354e3f,_0x385a2c,_0x295c00,_0x2fe478,_0x2043ef,_0x23bd15,_0x57d5a0,_0xa946cd,_0x242852){const _0x36b241=_0x31ef25;super(),I(this,_0x36b241(0x2ec),new A[(_0x36b241(0x555))](null)),I(this,_0x36b241(0x308),this[_0x36b241(0x2ec)][_0x36b241(0x4d3)]()),I(this,_0x36b241(0x3f4)),I(this,'_collaborationPaused',!0x1),I(this,'_changesetSessionId',''),I(this,_0x36b241(0x45f),0x0),I(this,_0x36b241(0x3f1),this['state$'][_0x36b241(0x37e)](A[_0x36b241(0x2a9)](_0x2ca9f6=>_0x2ca9f6?_0x2ca9f6[_0x36b241(0x5be)]:q[_0x36b241(0x208)]),A[_0x36b241(0x49f)](0x1))),I(this,_0x36b241(0x626),!0x1),I(this,_0x36b241(0x383),[]),(this['unitID']=_0x12b78a,this['session']=_0x17b7d1,this['_type']=_0x12be5a,this[_0x36b241(0x507)]=_0x20dead,this['_localCacheService']=_0x354e3f,this[_0x36b241(0x427)]=_0x385a2c,this[_0x36b241(0x592)]=_0x295c00,this['_revisionService']=_0x2fe478,this[_0x36b241(0x60f)]=_0x2043ef,this[_0x36b241(0x418)]=_0x23bd15,this['_messageService']=_0x57d5a0,this['_permissionService']=_0xa946cd,this[_0x36b241(0x1a7)]=_0x242852);}get[_0x31ef25(0x28f)](){return this['_state'];}async[_0x31ef25(0x26a)](){const _0x208402=_0x31ef25;if(this[_0x208402(0x28f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x31ef25(0x281)](){const _0x30384a=_0x31ef25;return this[_0x30384a(0x5ee)]=!0x0,a[_0x30384a(0x284)](()=>{const _0x3a5690=_0x30384a;this[_0x3a5690(0x5ee)]=!0x1,this[_0x3a5690(0x560)]();});}['_updateState'](_0x2e4ac3){const _0x25a461=_0x31ef25;this[_0x25a461(0x3f4)]=_0x2e4ac3,this[_0x25a461(0x2ec)]['next'](_0x2e4ac3);}async[_0x31ef25(0x21a)](){const _0x134a4b=_0x31ef25;var _0xfbf663;this['_updateState'](await this[_0x134a4b(0x3c6)]()),this[_0x134a4b(0x1a7)]&&((_0xfbf663=this[_0x134a4b(0x1a7)])==null||_0xfbf663['editingUnit'](this[_0x134a4b(0x5db)]),this[_0x134a4b(0x328)](this['_singleActiveUnitService'][_0x134a4b(0x2bc)](this[_0x134a4b(0x5db)])[_0x134a4b(0x52d)](_0x13e7d0=>{const _0x57d615=_0x134a4b;this[_0x57d615(0x60f)][_0x57d615(0x581)](_0x57d615(0x4d2),_0x57d615(0x463),_0x13e7d0),_0x13e7d0===un[_0x57d615(0x5aa)]?(this[_0x57d615(0x195)][_0x57d615(0x2c8)]({'content':this[_0x57d615(0x592)]['t'](_0x57d615(0x253)),'type':Ie[_0x57d615(0x4f9)][_0x57d615(0x30d)]}),this[_0x57d615(0x26c)][_0x57d615(0x1dc)](new B[(_0x57d615(0x230))](this['unitID'])['id'],!0x1),this[_0x57d615(0x26c)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x57d615(0x1dc)](new B[(_0x57d615(0x230))](this[_0x57d615(0x5db)])['id'],!0x0),this[_0x57d615(0x26c)][_0x57d615(0x4ce)](!0x0));})));let _0x13e39c=!0x1;return this['disposeWithMe'](this[_0x134a4b(0x182)][_0x134a4b(0x456)][_0x134a4b(0x52d)](_0x4a0ce8=>{const _0x5458ef=_0x134a4b;_0x4a0ce8===se['ONLINE']?this[_0x5458ef(0x287)](_0x13e39c):_0x4a0ce8===se['OFFLINE']&&(_0x13e39c=!0x0,this[_0x5458ef(0x32c)]());})),this[_0x134a4b(0x328)](this[_0x134a4b(0x182)][_0x134a4b(0x63b)][_0x134a4b(0x52d)](_0x1ddc05=>{const _0x383da2=_0x134a4b;try{switch(_0x1ddc05[_0x383da2(0x318)]){case p[_0x383da2(0x4e5)][_0x383da2(0x620)]:{this[_0x383da2(0x324)](p[_0x383da2(0x1f9)](_0x1ddc05[_0x383da2(0x5bb)]));break;}case p[_0x383da2(0x4e5)][_0x383da2(0x2d0)]:{this[_0x383da2(0x3c9)](_0x1ddc05['data']);break;}case p[_0x383da2(0x4e5)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p['CollaborationEvent'][_0x383da2(0x1d0)]:{this[_0x383da2(0x270)](_0x1ddc05[_0x383da2(0x5bb)]);break;}case p[_0x383da2(0x4e5)][_0x383da2(0x428)]:{this[_0x383da2(0x416)](_0x1ddc05['data'][_0x383da2(0x260)][_0x383da2(0x2a9)](_0x1bffdb=>p['parseProtocolChangeset'](_0x1bffdb)));break;}case p[_0x383da2(0x4e5)][_0x383da2(0x5f2)]:this[_0x383da2(0x1cd)]({'isPermissionRej':!0x0});}}catch(_0x35f9ce){throw console[_0x383da2(0x220)](_0x383da2(0x202),_0x35f9ce),_0x35f9ce;}})),this[_0x134a4b(0x3f4)];}[_0x31ef25(0x231)](){const _0x3efae9=_0x31ef25;this[_0x3efae9(0x626)]=!0x1;}['_lockTransition'](){const _0x59a0a0=_0x31ef25;if(this[_0x59a0a0(0x626)])throw new Error(_0x59a0a0(0x570));this[_0x59a0a0(0x626)]=!0x0;}['_onLocalMutation'](_0x27a0bd){const _0xeddffe=_0x31ef25;this[_0xeddffe(0x55f)](),this[_0xeddffe(0x298)](this['_state']['appendMutation'](_0x27a0bd)),this[_0xeddffe(0x231)]();}[_0x31ef25(0x324)](_0x48abfc){const _0x5ea6e6=_0x31ef25;if(!(_0x48abfc[_0x5ea6e6(0x288)]<=this['_revisionService'][_0x5ea6e6(0x1f5)](this['unitID']))){if(this[_0x5ea6e6(0x5ee)]){this[_0x5ea6e6(0x383)]['push'](_0x48abfc);return;}this['_applyRemoteChangeset'](_0x48abfc);}}[_0x31ef25(0x560)](){const _0x33b527=_0x31ef25;this[_0x33b527(0x383)][_0x33b527(0x527)](_0x462182=>this[_0x33b527(0x282)](_0x462182)),this[_0x33b527(0x383)]=[];}[_0x31ef25(0x282)](_0x192d01){const _0x485a61=_0x31ef25,_0x391c5e=this['_compressMutationService'][_0x485a61(0x2a8)][_0x485a61(0x5f8)](this['_compressMutationService']['interceptor'][_0x485a61(0x2b8)]()[_0x485a61(0x578)])(_0x192d01[_0x485a61(0x200)],null)||_0x192d01[_0x485a61(0x200)],_0x2c8d24={..._0x192d01,'mutations':_0x391c5e};this['_lockTransition'](),this['_updateState'](this[_0x485a61(0x3f4)][_0x485a61(0x5ed)](_0x2c8d24)),this[_0x485a61(0x231)]();}[_0x31ef25(0x3c9)](_0x1835c7){const _0xb6771b=_0x31ef25;this[_0xb6771b(0x55f)](),this[_0xb6771b(0x298)](this[_0xb6771b(0x3f4)][_0xb6771b(0x60d)](_0x1835c7)),this[_0xb6771b(0x231)]();}[_0x31ef25(0x1cd)](_0x1d8142){const _0x5d73e1=_0x31ef25;this[_0x5d73e1(0x55f)](),this[_0x5d73e1(0x298)](this[_0x5d73e1(0x3f4)][_0x5d73e1(0x35a)](_0x1d8142)),this[_0x5d73e1(0x231)]();}['_onRemoteRetry'](_0x4c78c6){const _0x1820e1=_0x31ef25;this[_0x1820e1(0x55f)](),this[_0x1820e1(0x298)](this['_state'][_0x1820e1(0x61d)](_0x4c78c6)),this['_unlockTransition']();}[_0x31ef25(0x416)](_0xe8097b){const _0x1135b2=_0x31ef25;if(!(this[_0x1135b2(0x3f4)]instanceof re))throw new TypeError(_0x1135b2(0x5cc));const _0x5be55d=_0xe8097b[_0x1135b2(0x2a9)](_0x491286=>{const _0xf5b38e=_0x1135b2,_0x21a188=this[_0xf5b38e(0x427)][_0xf5b38e(0x2a8)]['fetchThroughInterceptors'](this[_0xf5b38e(0x427)][_0xf5b38e(0x2a8)][_0xf5b38e(0x2b8)]()['COMPRESS_MUTATION_APPLY'])(_0x491286['mutations'],null)||_0x491286[_0xf5b38e(0x200)];return{..._0x491286,'mutations':_0x21a188};});this[_0x1135b2(0x55f)](),this[_0x1135b2(0x298)](this['_state'][_0x1135b2(0x3f6)](_0x5be55d)),this[_0x1135b2(0x231)]();}[_0x31ef25(0x32c)](){const _0x24baa2=_0x31ef25;this['_lockTransition'](),this[_0x24baa2(0x298)](this['_state'][_0x24baa2(0x3c5)]()),this['_unlockTransition']();}[_0x31ef25(0x287)](_0x1ded2=!0x1){const _0x229d7d=_0x31ef25;this[_0x229d7d(0x55f)](),this[_0x229d7d(0x298)](this['_state'][_0x229d7d(0x2a2)]()),this[_0x229d7d(0x231)]();const _0xa79885=this[_0x229d7d(0x3f4)];_0x1ded2&&_0xa79885 instanceof Oe&&(this['_lockTransition'](),this[_0x229d7d(0x298)](_0xa79885[_0x229d7d(0x2da)]()),this[_0x229d7d(0x231)]());}async[_0x31ef25(0x3c6)](){return new Promise(_0x5dff07=>{const _0x59c6e5=_0x47c6;this[_0x59c6e5(0x182)][_0x59c6e5(0x456)][_0x59c6e5(0x37e)](A[_0x59c6e5(0x2db)](0x1))[_0x59c6e5(0x52d)](async _0x552817=>{const _0x3025d6=_0x59c6e5;_0x5dff07(await this['_createInitialStateImpl'](_0x552817===se[_0x3025d6(0x400)]));});});}['_createHandler'](){const _0x9b8c7a=_0x31ef25,_0x2e8c3f=this[_0x9b8c7a(0x5db)];return{'onStateChange':(_0x3b7e01,_0x18f6d2)=>{const _0x431ed3=_0x9b8c7a;if(_0x3b7e01!==this['_state'])throw new Error(_0x431ed3(0x390)+_0x3b7e01[_0x431ed3(0x5be)]+_0x431ed3(0x1f0)+_0x18f6d2[_0x431ed3(0x5be)]+_0x431ed3(0x47b)+this[_0x431ed3(0x3f4)]['status']);this[_0x431ed3(0x298)](_0x18f6d2);},'onSendChangeset':_0x55e350=>{const _0x3234cd=_0x9b8c7a;_0x55e350[_0x3234cd(0x3d5)]||(_0x55e350[_0x3234cd(0x3d5)]=this[_0x3234cd(0x327)],_0x55e350[_0x3234cd(0x4c9)]=++this[_0x3234cd(0x45f)]);const _0x31347a={'eventID':p['CollaborationEvent'][_0x3234cd(0x1bc)],'data':{'unitID':_0x55e350['unitID'],'unitType':this[_0x3234cd(0x3df)],'changeset':_0x55e350,'memberID':this[_0x3234cd(0x182)][_0x3234cd(0x43b)]()}};this['session'][_0x3234cd(0x3dd)](_0x31347a,this['unitID']);},'onMissingChangesets':({from:_0x432571,to:_0x46c6e3})=>{const _0x2c3fd2=_0x9b8c7a;this[_0x2c3fd2(0x60f)][_0x2c3fd2(0x581)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x432571+_0x2c3fd2(0x432)+_0x46c6e3);const _0x1397b4={'eventID':p[_0x2c3fd2(0x4e5)][_0x2c3fd2(0x1f6)],'data':{'unitID':_0x2e8c3f,'unitType':this['_type'],'from':_0x432571,'to':_0x46c6e3}};this[_0x2c3fd2(0x182)][_0x2c3fd2(0x3dd)](_0x1397b4,this['unitID']);}};}async[_0x31ef25(0x306)](_0x26aa01){const _0x507d84=_0x31ef25;var _0x1c0946,_0x3ee62e;const _0x25c366=await this[_0x507d84(0x291)][_0x507d84(0x3be)](this[_0x507d84(0x5db)]),_0x100971=(_0x1c0946=_0x25c366==null?void 0x0:_0x25c366[_0x507d84(0x200)])!=null?_0x1c0946:[],_0x31e9f6=(_0x3ee62e=_0x25c366==null?void 0x0:_0x25c366[_0x507d84(0x258)])!=null?_0x3ee62e:null,_0x4c5002=!!(_0x31e9f6!=null&&_0x31e9f6[_0x507d84(0x3d5)])&&!!(_0x31e9f6!=null&&_0x31e9f6[_0x507d84(0x4c9)]);this[_0x507d84(0x327)]=_0x4c5002?_0x31e9f6['sid']:pi(),this[_0x507d84(0x45f)]=_0x4c5002?_0x31e9f6[_0x507d84(0x4c9)]:0x0;const _0x110db0=this[_0x507d84(0x5db)];try{this[_0x507d84(0x31e)](_0x31e9f6,_0x100971);}catch(_0x18fe20){this[_0x507d84(0x60f)][_0x507d84(0x220)](_0x18fe20);}const _0x4a8bb3=this[_0x507d84(0x534)]();if(_0x26aa01){const _0x29832f=Sn(this[_0x507d84(0x507)],_0x110db0,this['_type'],_0x31e9f6,_0x100971,_0x4a8bb3);return _0x29832f instanceof ce?_0x29832f['_schedule']():(_0x29832f instanceof le||_0x29832f instanceof fe)&&_0x29832f[_0x507d84(0x197)](),_0x29832f;}return this['_injector'][_0x507d84(0x1a8)](Se,_0x110db0,this[_0x507d84(0x3df)],_0x31e9f6,_0x100971,_0x4a8bb3);}['_replayCachedMutations'](_0x26d068,_0x370a0c){const _0x2fcd50=_0x31ef25;var _0x2ba165,_0x1d9a22;const _0x4b225f=this[_0x2fcd50(0x427)][_0x2fcd50(0x2a8)][_0x2fcd50(0x5f8)](this['_compressMutationService'][_0x2fcd50(0x2a8)]['getInterceptPoints']()[_0x2fcd50(0x578)]);(_0x2ba165=_0x4b225f((_0x26d068==null?void 0x0:_0x26d068[_0x2fcd50(0x200)])||[],null))==null||_0x2ba165['forEach'](_0x41bfdd=>this['_commandService'][_0x2fcd50(0x245)](_0x41bfdd['id'],_0x41bfdd[_0x2fcd50(0x3ac)])),(_0x1d9a22=_0x4b225f(_0x370a0c||[],null))==null||_0x1d9a22[_0x2fcd50(0x527)](_0x4df75b=>this[_0x2fcd50(0x418)][_0x2fcd50(0x245)](_0x4df75b['id'],_0x4df75b[_0x2fcd50(0x3ac)]));}},exports[_0x31ef25(0x5cd)]=yt([H(0x3,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),H(0x4,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x31ef25(0x249)](a['LocaleService'])),H(0x7,a[_0x31ef25(0x249)](p[_0x31ef25(0x1d9)])),H(0x8,a[_0x31ef25(0x31b)]),H(0x9,a[_0x31ef25(0x36e)]),H(0xa,te[_0x31ef25(0x4bc)]),H(0xb,a[_0x31ef25(0x417)]),H(0xc,a[_0x31ef25(0x4f8)](qe))],exports[_0x31ef25(0x5cd)]),exports[_0x31ef25(0x38c)]=class extends exports[_0x31ef25(0x5cd)]{constructor(_0x3162ec,_0x4295c8,_0x12b3bb,_0xb7d42c,_0x5e2584,_0x3e7a85,_0x56aa9f,_0x557d0e,_0x43bef5,_0x565bf8,_0x31c7fc,_0x3fc1e1,_0x1b4463,_0x5bc7fa,_0x3ae35c,_0x5a3eac,_0x47184c,_0x1a1f17){const _0x21763a=_0x31ef25;super(_0x3162ec,_0x12b3bb,_0x4295c8,_0xb7d42c,_0x5e2584,_0x3e7a85,_0x56aa9f,_0x557d0e,_0x5bc7fa,_0x3ae35c,_0x5a3eac,_0x47184c,_0x1a1f17),this['unitID']=_0x3162ec,this['type']=_0x4295c8,this['_docStateChangeManagerService']=_0x43bef5,this[_0x21763a(0x196)]=_0x565bf8,this[_0x21763a(0x49b)]=_0x31c7fc,this[_0x21763a(0x550)]=_0x3fc1e1,this[_0x21763a(0x203)]=_0x1b4463;}[_0x31ef25(0x534)](){const _0x3ee04e=_0x31ef25,_0x51dc88=super[_0x3ee04e(0x534)]();return _0x51dc88[_0x3ee04e(0x179)]=_0x26c8ca=>this[_0x3ee04e(0x196)][_0x3ee04e(0x5c1)](_0x26c8ca),_0x51dc88[_0x3ee04e(0x26b)]=_0xd2543f=>this['_docTransformStateCacheService'][_0x3ee04e(0x402)](_0xd2543f),_0x51dc88[_0x3ee04e(0x384)]=_0x466bc2=>this[_0x3ee04e(0x550)][_0x3ee04e(0x588)](_0x466bc2),_0x51dc88['onSyncEditingCollabCursor']=_0x276df0=>this[_0x3ee04e(0x203)][_0x3ee04e(0x633)](_0x276df0),_0x51dc88[_0x3ee04e(0x59a)]=_0x53cd13=>this[_0x3ee04e(0x196)]['transformRemoteChangeset'](_0x53cd13),_0x51dc88[_0x3ee04e(0x332)]=_0x5ec8b9=>this[_0x3ee04e(0x49b)][_0x3ee04e(0x4f7)](_0x5ec8b9),_0x51dc88;}async[_0x31ef25(0x21a)](){const _0x21f018=_0x31ef25,_0x5cdaa4=await super[_0x21f018(0x21a)]();return this[_0x21f018(0x25b)][_0x21f018(0x325)][_0x21f018(0x37e)](A[_0x21f018(0x471)](this['dispose$']))[_0x21f018(0x52d)](_0x1727ed=>{const _0x7efa63=_0x21f018;if(_0x1727ed==null)return;const {unitId:_0x1b5b79,redoState:_0x3f8473,commandId:_0x33d7f7}=_0x1727ed;if(_0x1b5b79!==this[_0x7efa63(0x5db)])return;const _0x1326e9={'id':_0x33d7f7,'type':a[_0x7efa63(0x4a2)][_0x7efa63(0x583)],'params':{'unitId':_0x1b5b79,'actions':_0x3f8473['actions'],'textRanges':null}};this['_onLocalMutation'](_0x1326e9);}),_0x5cdaa4;}},exports[_0x31ef25(0x38c)]=yt([H(0x3,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),H(0x4,a['Inject'](exports[_0x31ef25(0x3aa)])),H(0x5,a['Inject'](p[_0x31ef25(0x22f)])),H(0x6,a[_0x31ef25(0x249)](a['LocaleService'])),H(0x7,a['Inject'](p[_0x31ef25(0x1d9)])),H(0x8,a['Inject'](Z['DocStateChangeManagerService'])),H(0x9,a[_0x31ef25(0x249)](ke)),H(0xa,a[_0x31ef25(0x249)](We)),H(0xb,a['Inject'](Fe)),H(0xc,a[_0x31ef25(0x249)](Rt)),H(0xd,a[_0x31ef25(0x31b)]),H(0xe,a[_0x31ef25(0x36e)]),H(0xf,te[_0x31ef25(0x4bc)]),H(0x10,a['IPermissionService']),H(0x11,a[_0x31ef25(0x4f8)](qe))],exports[_0x31ef25(0x38c)]),exports[_0x31ef25(0x239)]=class extends exports[_0x31ef25(0x5cd)]{constructor(_0x217b45,_0x9e93f6,_0xa4ea2d,_0x341100,_0xe60545,_0x5d1648,_0x28299f,_0x55a3ef,_0x159ba5,_0x2e958b,_0x28e084,_0x51865b,_0x1fddb2,_0x1c0909){const _0x528285=_0x31ef25;super(_0x217b45,_0xa4ea2d,_0x9e93f6,_0x341100,_0xe60545,_0x5d1648,_0x28299f,_0x55a3ef,_0x2e958b,_0x28e084,_0x51865b,_0x1fddb2,_0x1c0909),this[_0x528285(0x5db)]=_0x217b45,this[_0x528285(0x618)]=_0x9e93f6,this[_0x528285(0x48e)]=_0x159ba5;}[_0x31ef25(0x534)](){const _0x279b87=_0x31ef25,_0x362ead=super[_0x279b87(0x534)]();return _0x362ead[_0x279b87(0x384)]=_0x4653f4=>this[_0x279b87(0x48e)]['transformSelections'](_0x4653f4),_0x362ead;}async[_0x31ef25(0x21a)](){const _0x5ed50d=_0x31ef25,_0x36a989=await super['_init']();return this[_0x5ed50d(0x328)](this[_0x5ed50d(0x418)][_0x5ed50d(0x1c2)]((_0x39dcd2,_0x3605c5)=>{const _0x3b368d=_0x5ed50d;if(_0x39dcd2[_0x3b368d(0x618)]!==a[_0x3b368d(0x4a2)][_0x3b368d(0x583)]||_0x3605c5!=null&&_0x3605c5[_0x3b368d(0x3d3)]||_0x3605c5!=null&&_0x3605c5[_0x3b368d(0x452)])return;const _0x29c03b=_0x39dcd2[_0x3b368d(0x3ac)];if((_0x29c03b==null?void 0x0:_0x29c03b[_0x3b368d(0x34e)])!==this[_0x3b368d(0x5db)])return;const _0x28cf4f=_0x39dcd2,_0x2f75b4=this[_0x3b368d(0x427)][_0x3b368d(0x2a8)][_0x3b368d(0x5f8)](this[_0x3b368d(0x427)][_0x3b368d(0x2a8)][_0x3b368d(0x2b8)]()[_0x3b368d(0x2f3)])([_0x28cf4f],null)||[_0x28cf4f];this[_0x3b368d(0x1fb)](_0x2f75b4[0x0]);})),_0x36a989;}},exports[_0x31ef25(0x239)]=yt([H(0x3,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),H(0x4,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),H(0x5,a['Inject'](p[_0x31ef25(0x22f)])),H(0x6,a[_0x31ef25(0x249)](a[_0x31ef25(0x593)])),H(0x7,a['Inject'](p['RevisionService'])),H(0x8,a[_0x31ef25(0x249)](Be)),H(0x9,a['ILogService']),H(0xa,a[_0x31ef25(0x36e)]),H(0xb,te[_0x31ef25(0x4bc)]),H(0xc,a[_0x31ef25(0x417)]),H(0xd,a['Optional'](qe))],exports['SheetCollaborationEntity']);var Fi=Object[_0x31ef25(0x4c2)],Vi=Object[_0x31ef25(0x53c)],Gi=(_0x410bb0,_0x3c480b,_0xe69fef,_0x30d24e)=>{for(var _0x3b0c46=_0x30d24e>0x1?void 0x0:_0x30d24e?Vi(_0x3c480b,_0xe69fef):_0x3c480b,_0x5acdd5=_0x410bb0['length']-0x1,_0x4d38bb;_0x5acdd5>=0x0;_0x5acdd5--)(_0x4d38bb=_0x410bb0[_0x5acdd5])&&(_0x3b0c46=(_0x30d24e?_0x4d38bb(_0x3c480b,_0xe69fef,_0x3b0c46):_0x4d38bb(_0x3b0c46))||_0x3b0c46);return _0x30d24e&&_0x3b0c46&&Fi(_0x3c480b,_0xe69fef,_0x3b0c46),_0x3b0c46;},tt=(_0x339459,_0x409778)=>(_0x54a8b7,_0x2b0306)=>_0x409778(_0x54a8b7,_0x2b0306,_0x339459);exports[_0x31ef25(0x4e7)]=class extends a[_0x31ef25(0x25c)]{constructor(_0xe18566,_0xfd017,_0x182788){const _0x1e3c2d=_0x31ef25;super(),I(this,_0x1e3c2d(0x255),new Map()),I(this,'_entityInit$',new A[(_0x1e3c2d(0x3ce))]()),(this[_0x1e3c2d(0x507)]=_0xe18566,this['_collabSessionService']=_0xfd017,this[_0x1e3c2d(0x2a3)]=_0x182788,this[_0x1e3c2d(0x21a)]());}[_0x31ef25(0x310)](){const _0x21f58c=_0x31ef25;super[_0x21f58c(0x310)](),this[_0x21f58c(0x255)][_0x21f58c(0x527)](_0x40919f=>_0x40919f[_0x21f58c(0x310)]()),this[_0x21f58c(0x255)][_0x21f58c(0x42c)]();}[_0x31ef25(0x340)](_0x3e9f82){const _0x4fd29a=_0x31ef25;var _0x1af41c;return(_0x1af41c=this[_0x4fd29a(0x255)][_0x4fd29a(0x4c8)](_0x3e9f82))!=null?_0x1af41c:null;}['getCollabEntity$'](_0x4cebf9){const _0x4818d6=_0x31ef25,_0x29ed38=this[_0x4818d6(0x340)](_0x4cebf9);return _0x29ed38?A['of'](_0x29ed38):this['_entityInit$']['pipe'](V[_0x4818d6(0x4bd)](_0x432bf1=>_0x432bf1['unitID']===_0x4cebf9));}[_0x31ef25(0x21a)](){const _0x428109=_0x31ef25;this[_0x428109(0x2a3)][_0x428109(0x625)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x428109(0x37e)](A[_0x428109(0x471)](this[_0x428109(0x50e)]),V[_0x428109(0x36c)](0x10))[_0x428109(0x52d)](async _0x573026=>{const _0x46d1aa=_0x428109,_0x40fa74=_0x573026['getUnitId'](),_0xb8a447=await this['_startCollaboration'](_0x40fa74,ie[_0x46d1aa(0x3dc)]);this[_0x46d1aa(0x255)][_0x46d1aa(0x3bb)](_0x40fa74,_0xb8a447);}),this[_0x428109(0x2a3)][_0x428109(0x625)](a[_0x428109(0x236)][_0x428109(0x459)])[_0x428109(0x37e)](A[_0x428109(0x471)](this[_0x428109(0x50e)]),V['delay'](0x10))[_0x428109(0x37e)](V['filter'](_0x164850=>!_0x164850['getUnitId']()[_0x428109(0x297)]('__')))[_0x428109(0x52d)](async _0xf33d7a=>{const _0x5c03ca=_0x428109,_0x56f302=_0xf33d7a[_0x5c03ca(0x5ba)](),_0x5aafa6=await this[_0x5c03ca(0x3db)](_0x56f302,ie[_0x5c03ca(0x459)]);this[_0x5c03ca(0x255)][_0x5c03ca(0x3bb)](_0x56f302,_0x5aafa6);}),A[_0x428109(0x29f)](this[_0x428109(0x2a3)][_0x428109(0x635)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x428109(0x2a3)][_0x428109(0x635)](a[_0x428109(0x236)]['UNIVER_DOC']))[_0x428109(0x37e)](A[_0x428109(0x471)](this['dispose$']))[_0x428109(0x52d)](_0x2baa7=>{const _0x2339c3=_0x428109,_0x562c71=_0x2baa7['getUnitId'](),_0x20ef95=this[_0x2339c3(0x255)][_0x2339c3(0x4c8)](_0x562c71);_0x20ef95&&(_0x20ef95[_0x2339c3(0x310)](),this['_entities'][_0x2339c3(0x33a)](_0x562c71));});}async['_startCollaboration'](_0x1c2c65,_0x161588){const _0x1e9823=_0x31ef25,_0x53e336=await this[_0x1e9823(0x2aa)][_0x1e9823(0x2e1)](_0x1c2c65),_0x256a00=this[_0x1e9823(0x507)][_0x1e9823(0x1a8)](this['_getCtorByUniverType'](_0x161588),_0x1c2c65,_0x161588,_0x53e336);return await _0x256a00[_0x1e9823(0x26a)](),this[_0x1e9823(0x3cb)][_0x1e9823(0x28d)](_0x256a00),_0x256a00;}[_0x31ef25(0x54e)](_0x4359a7){const _0x453c24=_0x31ef25;switch(_0x4359a7){case ie['UNIVER_DOC']:return exports['DocCollaborationEntity'];case ie['UNIVER_SHEET']:return exports[_0x453c24(0x239)];default:throw new Error(_0x453c24(0x547)+_0x4359a7);}}},exports[_0x31ef25(0x4e7)]=Gi([tt(0x0,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),tt(0x1,a['Inject'](exports['CollaborationSessionService'])),tt(0x2,a[_0x31ef25(0x28e)])],exports['CollaborationController']);const $t=['purple300',_0x31ef25(0x508),'verdancy600','red300',_0x31ef25(0x599),'gold400'];class Ot extends a['Disposable']{constructor(){const _0x394073=_0x31ef25;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x394073(0x3ed),0x0);}[_0x31ef25(0x205)](_0x81e71e){const _0x1bf7da=_0x31ef25;if(this['_assignedColors']['has'](_0x81e71e))return this['_assignedColors'][_0x1bf7da(0x4c8)](_0x81e71e);const _0x5be1bb=$t[this[_0x1bf7da(0x3ed)]];return this[_0x1bf7da(0x3ed)]=(this[_0x1bf7da(0x3ed)]+0x1)%$t['length'],this['_assignedColors'][_0x1bf7da(0x3bb)](_0x81e71e,_0x5be1bb),_0x5be1bb;}}var Yi=Object[_0x31ef25(0x4c2)],Ki=Object[_0x31ef25(0x53c)],qi=(_0x3621d,_0x48a3bc,_0x30cc36,_0x37c485)=>{for(var _0x16cf8f=_0x37c485>0x1?void 0x0:_0x37c485?Ki(_0x48a3bc,_0x30cc36):_0x48a3bc,_0x58c1ff=_0x3621d['length']-0x1,_0x2159f2;_0x58c1ff>=0x0;_0x58c1ff--)(_0x2159f2=_0x3621d[_0x58c1ff])&&(_0x16cf8f=(_0x37c485?_0x2159f2(_0x48a3bc,_0x30cc36,_0x16cf8f):_0x2159f2(_0x16cf8f))||_0x16cf8f);return _0x37c485&&_0x16cf8f&&Yi(_0x48a3bc,_0x30cc36,_0x16cf8f),_0x16cf8f;},me=(_0x48c840,_0x5ca397)=>(_0xbe54da,_0x23e418)=>_0x5ca397(_0xbe54da,_0x23e418,_0x48c840);const zi=0x12c,Xi=0x64;let St=class extends a[_0x31ef25(0x25c)]{constructor(_0xb05129,_0x50e906,_0x22e40f,_0x426f67,_0x13e185,_0x302dad,_0x32a751,_0x1e7aff,_0x490907){const _0x21c608=_0x31ef25;super(),I(this,'_online',!0x1),I(this,_0x21c608(0x21a),!0x1),I(this,_0x21c608(0x189),new A[(_0x21c608(0x555))](new Map())),I(this,_0x21c608(0x45b),this[_0x21c608(0x189)][_0x21c608(0x4d3)]()),I(this,_0x21c608(0x3d4),new A[(_0x21c608(0x555))]([])),I(this,_0x21c608(0x3d2),this['_roomMembers$'][_0x21c608(0x37e)](A[_0x21c608(0x454)](zi))),I(this,'_updateLocalCursor',a[_0x21c608(0x5af)](_0x33c706=>{const _0x431ca9=_0x21c608,_0x227b57={'eventID':p[_0x431ca9(0x4e5)][_0x431ca9(0x58b)],'data':{'unitID':this[_0x431ca9(0x5db)],'memberID':this['_session'][_0x431ca9(0x43b)](),'selection':dn(_0x33c706)}};this[_0x431ca9(0x429)][_0x431ca9(0x3dd)](_0x227b57,this['unitID']);},Xi)),(this['unitID']=_0xb05129,this['_session']=_0x50e906,this[_0x21c608(0x507)]=_0x22e40f,this[_0x21c608(0x582)]=_0x426f67,this[_0x21c608(0x60b)]=_0x13e185,this[_0x21c608(0x4e1)]=_0x302dad,this[_0x21c608(0x262)]=_0x32a751,this[_0x21c608(0x2a3)]=_0x1e7aff,this[_0x21c608(0x418)]=_0x490907);}get[_0x31ef25(0x339)](){const _0x17dbf2=_0x31ef25;return this[_0x17dbf2(0x189)][_0x17dbf2(0x455)]();}get[_0x31ef25(0x43d)](){const _0x5a1c1b=_0x31ef25;return this['_roomMembers$'][_0x5a1c1b(0x455)]();}[_0x31ef25(0x310)](){const _0x55125e=_0x31ef25;super[_0x55125e(0x310)](),this['_cursorInfo$'][_0x55125e(0x28d)](new Map()),this['_cursorInfo$'][_0x55125e(0x1f8)](),this[_0x55125e(0x3d4)]['next']([]),this['_roomMembers$'][_0x55125e(0x1f8)]();}[_0x31ef25(0x26a)](){const _0x29c5a4=_0x31ef25;this[_0x29c5a4(0x21a)]||(this[_0x29c5a4(0x21a)]=!0x0,this[_0x29c5a4(0x429)]['sessionStatus$'][_0x29c5a4(0x37e)](A[_0x29c5a4(0x471)](this[_0x29c5a4(0x50e)]))[_0x29c5a4(0x52d)](_0x105d93=>{const _0x44c747=_0x29c5a4;_0x105d93===se[_0x44c747(0x400)]?this[_0x44c747(0x287)]():this[_0x44c747(0x32c)]();}),this[_0x29c5a4(0x429)]['event$'][_0x29c5a4(0x37e)](A['takeUntil'](this[_0x29c5a4(0x50e)]))['subscribe'](_0x2c4f6d=>{const _0x6f4e25=_0x29c5a4,_0x29d156=_0x2c4f6d[_0x6f4e25(0x318)];_0x29d156===p['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x6f4e25(0x609)](_0x2c4f6d),_0x29d156===p[_0x6f4e25(0x4e5)]['USERS_LEAVE']&&this[_0x6f4e25(0x2e5)](_0x2c4f6d);}),this['disposeWithMe'](this[_0x29c5a4(0x418)]['onCommandExecuted'](_0x431197=>{const _0x3f4a2e=_0x29c5a4,_0x41cb8f=_0x431197[_0x3f4a2e(0x3ac)];_0x41cb8f!=null&&this[_0x3f4a2e(0x1e8)]&&_0x431197['id']===ye[_0x3f4a2e(0x29e)]['id']&&_0x41cb8f[_0x3f4a2e(0x34e)]===this[_0x3f4a2e(0x5db)]&&_0x41cb8f[_0x3f4a2e(0x451)]===!0x1&&_0x41cb8f[_0x3f4a2e(0x5c2)][_0x3f4a2e(0x360)]>0x0&&this[_0x3f4a2e(0x610)](_0x41cb8f[_0x3f4a2e(0x5c2)]);})),this[_0x29c5a4(0x4e1)][_0x29c5a4(0x576)][_0x29c5a4(0x37e)](A[_0x29c5a4(0x471)](this['dispose$']))['subscribe'](_0x5ae07e=>{const _0x537eb1=_0x29c5a4;if((_0x5ae07e==null?void 0x0:_0x5ae07e[_0x537eb1(0x5db)])!==this['unitID'])return;const _0x2276ea={'eventID':p[_0x537eb1(0x4e5)][_0x537eb1(0x58b)],'data':_0x5ae07e};this[_0x537eb1(0x609)](_0x2276ea);}),this[_0x29c5a4(0x328)](this['_commandService'][_0x29c5a4(0x1c2)](_0x280f1a=>{const _0x126f2d=_0x29c5a4;if(_0x280f1a[_0x126f2d(0x3ac)]==null)return;const _0x49e6a6=_0x280f1a[_0x126f2d(0x3ac)];if(_0x280f1a['id']!==ye[_0x126f2d(0x3b0)]['id']||_0x49e6a6[_0x126f2d(0x34e)]!==this[_0x126f2d(0x5db)])return;const _0x32cb6f={'id':'doc.mutation.rich-text-editing','params':_0x49e6a6},_0x5199e3=this[_0x126f2d(0x339)];for(const [_0xffa7de,_0x3b2771]of _0x5199e3){const _0x5f1ea0={'id':_0x126f2d(0x638),'params':{'unitId':this[_0x126f2d(0x5db)],'actions':null,'textRanges':_0x3b2771[_0x126f2d(0x5c2)]}},_0x1b0dbf=this[_0x126f2d(0x262)][_0x126f2d(0x4b1)](_0x32cb6f,_0x5f1ea0,!0x1);if(p['isTransformMutationFailure'](_0x1b0dbf))throw _0x1b0dbf[_0x126f2d(0x220)];_0x5199e3['set'](_0xffa7de,{..._0x3b2771,'ranges':_0x1b0dbf[_0x126f2d(0x35c)][_0x126f2d(0x3ac)]['textRanges']});}queueMicrotask(()=>{const _0x3caf60=_0x126f2d;this[_0x3caf60(0x189)][_0x3caf60(0x28d)](_0x5199e3);});})));}['_onCursorUpdate'](_0x229d7f){const _0x4feaf1=_0x31ef25;var _0x433b33,_0x292228;const {memberID:_0x251dd1,selection:_0x2144fc}=_0x229d7f['data'],_0xac73c=Mi(_0x2144fc),_0x357e2a=(_0x292228=(_0x433b33=this[_0x4feaf1(0x60b)]['getMember'](this['unitID'],_0x251dd1))==null?void 0x0:_0x433b33[_0x4feaf1(0x1a3)])!=null?_0x292228:_0x4feaf1(0x33e),_0x2b9056={'color':this['_colorAssignService'][_0x4feaf1(0x205)](_0x251dd1),'name':_0x357e2a,'ranges':_0xac73c},_0x112708=this[_0x4feaf1(0x339)];_0x112708[_0x4feaf1(0x3bb)](_0x251dd1,_0x2b9056),this['_cursorInfo$'][_0x4feaf1(0x28d)](_0x112708);}[_0x31ef25(0x2e5)](_0xa78ded){const _0x498b98=_0x31ef25,{memberID:_0x37ebd9}=_0xa78ded['data'],_0x2c788c=this['cursorInfo'];_0x2c788c[_0x498b98(0x33a)](_0x37ebd9),this['_cursorInfo$'][_0x498b98(0x28d)](_0x2c788c);}[_0x31ef25(0x287)](){const _0x3a9595=_0x31ef25;var _0x1991b3;if(this[_0x3a9595(0x1e8)]=!0x0,((_0x1991b3=this[_0x3a9595(0x2a3)][_0x3a9595(0x271)]())==null?void 0x0:_0x1991b3[_0x3a9595(0x5ba)]())!==this[_0x3a9595(0x5db)])return;const _0x19410c=this[_0x3a9595(0x507)][_0x3a9595(0x4c8)](ye[_0x3a9595(0x186)])['getDocRanges']();Array['isArray'](_0x19410c)&&_0x19410c[_0x3a9595(0x360)]>0x0&&this[_0x3a9595(0x610)](_0x19410c);}['_toggleOffline'](){const _0x2dae2a=_0x31ef25;this[_0x2dae2a(0x1e8)]=!0x1;}};St=qi([me(0x2,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),me(0x3,a['Inject'](Ot)),me(0x4,a['Inject'](exports[_0x31ef25(0x615)])),me(0x5,a[_0x31ef25(0x249)](Rt)),me(0x6,p[_0x31ef25(0x2ee)]),me(0x7,a[_0x31ef25(0x28e)]),me(0x8,a['ICommandService'])],St);var Ji=Object[_0x31ef25(0x4c2)],Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1420d7,_0x4e5d53,_0x56cc9b,_0x325888)=>{const _0x3a4eb4=_0x31ef25;for(var _0x172f7a=_0x325888>0x1?void 0x0:_0x325888?Zi(_0x4e5d53,_0x56cc9b):_0x4e5d53,_0x5e30f9=_0x1420d7[_0x3a4eb4(0x360)]-0x1,_0x28c967;_0x5e30f9>=0x0;_0x5e30f9--)(_0x28c967=_0x1420d7[_0x5e30f9])&&(_0x172f7a=(_0x325888?_0x28c967(_0x4e5d53,_0x56cc9b,_0x172f7a):_0x28c967(_0x172f7a))||_0x172f7a);return _0x325888&&_0x172f7a&&Ji(_0x4e5d53,_0x56cc9b,_0x172f7a),_0x172f7a;},be=(_0x559fe4,_0x5c55cc)=>(_0x4479b1,_0x2abef2)=>_0x5c55cc(_0x4479b1,_0x2abef2,_0x559fe4);const es=0x12c,ts=0x64,ns=()=>{let _0x4df5a3=[],_0x36aeb5=!0x1;return _0x51a9dd=>{_0x4df5a3['push'](_0x51a9dd),_0x36aeb5||(_0x36aeb5=!0x0,setTimeout(()=>{const _0x5de60e=_0x47c6;_0x4df5a3[_0x5de60e(0x527)](_0x2fc5ba=>_0x2fc5ba()),_0x4df5a3=[],_0x36aeb5=!0x1;}));};};let pt=class extends a[_0x31ef25(0x25c)]{constructor(_0x10a8e2,_0x12b912,_0x3533d1,_0xfa0d61,_0x2a7a4d,_0x41482b,_0x599999,_0x25eef1){const _0x2d0ab6=_0x31ef25;super(),I(this,_0x2d0ab6(0x1e8),!0x1),I(this,_0x2d0ab6(0x21a),!0x1),I(this,_0x2d0ab6(0x189),new A[(_0x2d0ab6(0x555))](new Map())),I(this,_0x2d0ab6(0x45b),this['_cursorInfo$'][_0x2d0ab6(0x4d3)]()),I(this,_0x2d0ab6(0x3d4),new A['BehaviorSubject']([])),I(this,_0x2d0ab6(0x3d2),this[_0x2d0ab6(0x3d4)]['pipe'](A[_0x2d0ab6(0x454)](es))),I(this,_0x2d0ab6(0x610),a['debounce']((_0x25211b,_0x36fa4d)=>{const _0x5c918f=_0x2d0ab6,_0x3f2139={'eventID':p[_0x5c918f(0x4e5)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5c918f(0x5db)],'memberID':this[_0x5c918f(0x429)]['getMemberID'](),'selection':Pt[_0x5c918f(0x3ef)](_0x25211b,_0x36fa4d[_0x5c918f(0x511)])}};this[_0x5c918f(0x429)][_0x5c918f(0x3dd)](_0x3f2139,this[_0x5c918f(0x5db)]);},ts)),(this[_0x2d0ab6(0x5db)]=_0x10a8e2,this[_0x2d0ab6(0x429)]=_0x12b912,this[_0x2d0ab6(0x507)]=_0x3533d1,this[_0x2d0ab6(0x582)]=_0xfa0d61,this[_0x2d0ab6(0x60b)]=_0x2a7a4d,this[_0x2d0ab6(0x2a3)]=_0x41482b,this[_0x2d0ab6(0x418)]=_0x599999,this[_0x2d0ab6(0x5fa)]=_0x25eef1);}get[_0x31ef25(0x339)](){const _0x161326=_0x31ef25;return this[_0x161326(0x189)][_0x161326(0x455)]();}get[_0x31ef25(0x43d)](){const _0x4c48b5=_0x31ef25;return this[_0x4c48b5(0x3d4)]['getValue']();}[_0x31ef25(0x310)](){const _0x71ce56=_0x31ef25;super['dispose'](),this[_0x71ce56(0x189)][_0x71ce56(0x28d)](new Map()),this[_0x71ce56(0x189)][_0x71ce56(0x1f8)](),this[_0x71ce56(0x3d4)]['next']([]),this[_0x71ce56(0x3d4)][_0x71ce56(0x1f8)]();}[_0x31ef25(0x26a)](){const _0x4d3707=_0x31ef25;this['_init']||(this[_0x4d3707(0x21a)]=!0x0,this[_0x4d3707(0x429)][_0x4d3707(0x456)][_0x4d3707(0x37e)](A[_0x4d3707(0x471)](this['dispose$']))[_0x4d3707(0x52d)](_0x229872=>{const _0x1c99bf=_0x4d3707;_0x229872===se[_0x1c99bf(0x400)]?this[_0x1c99bf(0x287)]():this[_0x1c99bf(0x32c)]();}),this[_0x4d3707(0x429)]['event$'][_0x4d3707(0x37e)](A[_0x4d3707(0x471)](this[_0x4d3707(0x50e)]))['subscribe'](_0xdfdb0b=>{const _0x3b4f02=_0x4d3707,_0x2bec19=_0xdfdb0b[_0x3b4f02(0x318)];_0x2bec19===p[_0x3b4f02(0x4e5)][_0x3b4f02(0x58b)]&&this[_0x3b4f02(0x609)](_0xdfdb0b),_0x2bec19===p['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0xdfdb0b);}),this[_0x4d3707(0x368)](),this['disposeWithMe'](this[_0x4d3707(0x418)][_0x4d3707(0x1c2)](_0x12d399=>{const _0x2c9070=_0x4d3707;if(this['_online']&&_0x12d399['id']===B[_0x2c9070(0x365)]['id']&&_0x12d399['params'][_0x2c9070(0x34e)]===this[_0x2c9070(0x5db)]){const _0x575020=_0x12d399[_0x2c9070(0x3ac)];this[_0x2c9070(0x610)](_0x575020[_0x2c9070(0x46e)],_0x575020[_0x2c9070(0x4dc)][0x0]);}})));}['_onCursorUpdate'](_0xf1757f){const _0x4a09d2=_0x31ef25;var _0x154f59,_0x11b360;const {memberID:_0x23948d,selection:_0x4b075d}=_0xf1757f[_0x4a09d2(0x5bb)],{sheetName:_0x4c6846,range:_0x638cec}=Pt[_0x4a09d2(0x50f)](_0x4b075d),_0x3a1783={'name':(_0x11b360=(_0x154f59=this[_0x4a09d2(0x60b)][_0x4a09d2(0x467)](this[_0x4a09d2(0x5db)],_0x23948d))==null?void 0x0:_0x154f59[_0x4a09d2(0x1a3)])!=null?_0x11b360:'Unknown\x20user','range':this['_getMergeRange'](_0x4c6846,_0x638cec),'sheetID':_0x4c6846,'color':this[_0x4a09d2(0x582)][_0x4a09d2(0x205)](_0x23948d),'selection':_0x4b075d},_0x497dfe=this[_0x4a09d2(0x339)];_0x497dfe[_0x4a09d2(0x3bb)](_0x23948d,_0x3a1783),this['_cursorInfo$'][_0x4a09d2(0x28d)](_0x497dfe);}[_0x31ef25(0x2e5)](_0x3f8e57){const _0x334774=_0x31ef25,{memberID:_0x3e5ade}=_0x3f8e57[_0x334774(0x5bb)],_0x53183a=this['cursorInfo'];_0x53183a[_0x334774(0x33a)](_0x3e5ade),this[_0x334774(0x189)][_0x334774(0x28d)](_0x53183a);}[_0x31ef25(0x561)](_0xda85ec,_0x2c6af8){const _0x4c29bd=_0x31ef25;var _0x316845,_0x2a15e0;const _0x5f0ec3=(_0x2a15e0=(_0x316845=this[_0x4c29bd(0x2a3)][_0x4c29bd(0x1b1)](this[_0x4c29bd(0x5db)]))==null?void 0x0:_0x316845[_0x4c29bd(0x5ab)](_0xda85ec))==null?void 0x0:_0x2a15e0[_0x4c29bd(0x512)]();return(_0x5f0ec3==null?void 0x0:_0x5f0ec3[_0x4c29bd(0x1e7)](_0x16a5a4=>a[_0x4c29bd(0x464)][_0x4c29bd(0x292)](_0x16a5a4,_0x2c6af8)))||_0x2c6af8;}[_0x31ef25(0x368)](){const _0x52ad75=_0x31ef25,_0xdd3f91=new a[(_0x52ad75(0x1a6))](),_0x5d7073=ns(),_0x531d6a=()=>{const _0x55483c=_0x52ad75;_0xdd3f91[_0x55483c(0x310)]();const _0x3b2a12=(_0xe3c491,_0x3527ef,_0x202fee,_0x3f0be4)=>{const _0x3d8c38=_0x55483c;let _0x1319c1=[];switch(_0xe3c491['id']){case B[_0x3d8c38(0x387)][_0x3d8c38(0x356)]:{_0x1319c1=B[_0x3d8c38(0x51c)](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)][_0x3d8c38(0x481)]:{_0x1319c1=B[_0x3d8c38(0x2e6)](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)]['InsertColCommandId']:{_0x1319c1=B['handleInsertCol'](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)][_0x3d8c38(0x371)]:{_0x1319c1=B['handleInsertRangeMoveDown'](_0xe3c491,_0x3f0be4);break;}case B['EffectRefRangId'][_0x3d8c38(0x1c9)]:{_0x1319c1=B[_0x3d8c38(0x3b9)](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)]['InsertRowCommandId']:{_0x1319c1=B['handleInsertRow'](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)][_0x3d8c38(0x552)]:{_0x1319c1=B[_0x3d8c38(0x323)](_0xe3c491,_0x3f0be4);break;}case B['EffectRefRangId'][_0x3d8c38(0x3f8)]:{_0x1319c1=B['handleIRemoveCol'](_0xe3c491,_0x3f0be4);break;}case B[_0x3d8c38(0x387)][_0x3d8c38(0x1cb)]:{_0x1319c1=B[_0x3d8c38(0x5d6)](_0xe3c491,_0x3f0be4);break;}}const _0x1691d3=B['runRefRangeMutations'](_0x1319c1,_0x3f0be4),_0x34a9ce=this[_0x3d8c38(0x339)][_0x3d8c38(0x4c8)](_0x3527ef);if(_0x34a9ce&&_0x1691d3){const _0x432af1={..._0x34a9ce,'range':_0x1691d3};this[_0x3d8c38(0x339)]['set'](_0x3527ef,_0x432af1),_0x5d7073(()=>{const _0x509605=_0x3d8c38,_0x31bdd2=this[_0x509605(0x5fa)]['registerRefRange'](_0x1691d3,_0x60f1eb=>(_0x31bdd2['dispose'](),_0x3b2a12(_0x60f1eb,_0x3527ef,_0x202fee,_0x1691d3)));_0xdd3f91['add'](_0x31bdd2);});}return{'redos':[],'undos':[]};};this[_0x55483c(0x339)][_0x55483c(0x527)]((_0x20eb76,_0x5a701b)=>{const _0x10f4fd=_0x55483c,{range:_0x462c38,sheetID:_0x4d6bbf}=_0x20eb76,_0x29a60a=this[_0x10f4fd(0x5fa)]['registerRefRange'](_0x462c38,_0x6666fb=>(_0x29a60a[_0x10f4fd(0x310)](),_0x3b2a12(_0x6666fb,_0x5a701b,_0x4d6bbf,_0x462c38)));_0xdd3f91['add'](_0x29a60a);});};this['disposeWithMe'](a[_0x52ad75(0x284)](this[_0x52ad75(0x189)][_0x52ad75(0x52d)](()=>{_0x531d6a();})));}[_0x31ef25(0x287)](){const _0x119e7a=_0x31ef25;var _0x3330c6,_0xa7259c;if(this[_0x119e7a(0x1e8)]=!0x0,((_0x3330c6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3330c6[_0x119e7a(0x5ba)]())!==this[_0x119e7a(0x5db)])return;const _0x334382=(_0xa7259c=this[_0x119e7a(0x507)][_0x119e7a(0x4c8)](B[_0x119e7a(0x537)])[_0x119e7a(0x4e8)]())==null?void 0x0:_0xa7259c[0x0],_0x277fe4=this[_0x119e7a(0x2a3)]['getCurrentUnitForType'](a['UniverInstanceType']['UNIVER_SHEET'])[_0x119e7a(0x3fb)]();_0x334382&&_0x277fe4&&this['_updateLocalCursor'](_0x277fe4[_0x119e7a(0x62f)](),_0x334382);}['_toggleOffline'](){this['_online']=!0x1;}};pt=Qi([be(0x2,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),be(0x3,a['Inject'](Ot)),be(0x4,a[_0x31ef25(0x249)](exports[_0x31ef25(0x615)])),be(0x5,a[_0x31ef25(0x28e)]),be(0x6,a[_0x31ef25(0x36e)]),be(0x7,a['Inject'](B[_0x31ef25(0x34c)]))],pt);var is=Object[_0x31ef25(0x4c2)],ss=Object[_0x31ef25(0x53c)],rs=(_0x1efb7f,_0x22bf79,_0x11029e,_0x53591d)=>{for(var _0xd80a69=_0x53591d>0x1?void 0x0:_0x53591d?ss(_0x22bf79,_0x11029e):_0x22bf79,_0x283476=_0x1efb7f['length']-0x1,_0x2963ee;_0x283476>=0x0;_0x283476--)(_0x2963ee=_0x1efb7f[_0x283476])&&(_0xd80a69=(_0x53591d?_0x2963ee(_0x22bf79,_0x11029e,_0xd80a69):_0x2963ee(_0xd80a69))||_0xd80a69);return _0x53591d&&_0xd80a69&&is(_0x22bf79,_0x11029e,_0xd80a69),_0xd80a69;},nt=(_0x415249,_0x709b63)=>(_0x10ddb6,_0x3f547a)=>_0x709b63(_0x10ddb6,_0x3f547a,_0x415249);let De=class extends a[_0x31ef25(0x25c)]{constructor(_0x57be75,_0x345986,_0x33b8a2){const _0x57ffc0=_0x31ef25;super(),I(this,_0x57ffc0(0x255),new Map()),I(this,'_entityInit$',new A[(_0x57ffc0(0x3ce))]()),(this[_0x57ffc0(0x2a3)]=_0x57be75,this[_0x57ffc0(0x507)]=_0x345986,this[_0x57ffc0(0x2aa)]=_0x33b8a2,this[_0x57ffc0(0x21a)]());}[_0x31ef25(0x310)](){const _0x231c16=_0x31ef25;super[_0x231c16(0x310)](),this['_entityInit$'][_0x231c16(0x1f8)](),this[_0x231c16(0x255)]['forEach'](_0x27ec35=>_0x27ec35['dispose']());}['getCollabCursors$'](_0x23d89e){const _0x9048cd=_0x31ef25;return this[_0x9048cd(0x255)][_0x9048cd(0x1ea)](_0x23d89e)?this['_entities'][_0x9048cd(0x4c8)](_0x23d89e)[_0x9048cd(0x45b)]:this[_0x9048cd(0x3cb)]['pipe'](A[_0x9048cd(0x4bd)](_0x24a685=>_0x24a685[_0x9048cd(0x5db)]===_0x23d89e),A['switchMap'](_0x92b2a9=>_0x92b2a9['cursorInfo$']));}[_0x31ef25(0x21a)](){const _0x202114=_0x31ef25;this[_0x202114(0x2a3)][_0x202114(0x625)](a[_0x202114(0x236)][_0x202114(0x3dc)])[_0x202114(0x37e)](A['takeUntil'](this[_0x202114(0x50e)]))['subscribe'](async _0x1b5c2c=>{const _0x216f0f=_0x202114,_0xbc3ab6=_0x1b5c2c[_0x216f0f(0x5ba)](),_0x12a946=await this[_0x216f0f(0x33d)](_0xbc3ab6);this[_0x216f0f(0x3cb)][_0x216f0f(0x28d)](_0x12a946),this[_0x216f0f(0x255)][_0x216f0f(0x3bb)](_0xbc3ab6,_0x12a946);}),this['_univerInstanceService'][_0x202114(0x625)](a[_0x202114(0x236)]['UNIVER_DOC'])[_0x202114(0x37e)](A[_0x202114(0x471)](this['dispose$']))[_0x202114(0x37e)](A[_0x202114(0x4bd)](_0xd4393b=>!_0xd4393b['getUnitId']()[_0x202114(0x297)]('__')))['subscribe'](async _0x59596b=>{const _0x4cf991=_0x202114,_0x211c15=_0x59596b[_0x4cf991(0x5ba)](),_0x2e61e0=await this[_0x4cf991(0x27c)](_0x211c15);this[_0x4cf991(0x3cb)][_0x4cf991(0x28d)](_0x2e61e0),this[_0x4cf991(0x255)]['set'](_0x211c15,_0x2e61e0);}),A[_0x202114(0x29f)](this['_univerInstanceService'][_0x202114(0x635)](a[_0x202114(0x236)][_0x202114(0x459)]),this[_0x202114(0x2a3)][_0x202114(0x635)](a[_0x202114(0x236)][_0x202114(0x3dc)]))[_0x202114(0x37e)](A[_0x202114(0x471)](this[_0x202114(0x50e)]))['subscribe'](_0x1be1d8=>{const _0x3e1a7d=_0x202114,_0x578c2d=_0x1be1d8[_0x3e1a7d(0x5ba)](),_0x5973f0=this['_entities'][_0x3e1a7d(0x4c8)](_0x578c2d);_0x5973f0&&(_0x5973f0[_0x3e1a7d(0x310)](),this[_0x3e1a7d(0x255)]['delete'](_0x578c2d));});}async[_0x31ef25(0x33d)](_0x5415b9){const _0x8129a8=_0x31ef25,_0x57ae6e=await this[_0x8129a8(0x2aa)][_0x8129a8(0x2e1)](_0x5415b9),_0x8659d=this[_0x8129a8(0x507)][_0x8129a8(0x1a8)](pt,_0x5415b9,_0x57ae6e);return _0x8659d[_0x8129a8(0x26a)](),_0x8659d;}async[_0x31ef25(0x27c)](_0x40087f){const _0x31430a=_0x31ef25,_0x2f0115=await this[_0x31430a(0x2aa)][_0x31430a(0x2e1)](_0x40087f),_0x5bdc18=this['_injector'][_0x31430a(0x1a8)](St,_0x40087f,_0x2f0115);return _0x5bdc18[_0x31430a(0x26a)](),_0x5bdc18;}};De=rs([nt(0x0,a[_0x31ef25(0x28e)]),nt(0x1,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),nt(0x2,a[_0x31ef25(0x249)](exports[_0x31ef25(0x395)]))],De);const Le=0x14,Ht=0xc8,it=0x4,os=0x5;function as(_0x2324c5,_0x564239){const _0xe0a63=_0x31ef25;let {radius:_0x25f433,width:_0x20fe49,height:_0x43bf77}=_0x564239;_0x25f433=_0x25f433!=null?_0x25f433:0x0,_0x20fe49=_0x20fe49!=null?_0x20fe49:0x1e,_0x43bf77=_0x43bf77!=null?_0x43bf77:0x1e;let _0x175dc5=0x0,_0x329847=0x0,_0x3ad69f=0x0;_0x175dc5=_0x329847=_0x3ad69f=Math[_0xe0a63(0x425)](_0x25f433,_0x20fe49/0x2,_0x43bf77/0x2),_0x2324c5[_0xe0a63(0x3c7)](),_0x2324c5[_0xe0a63(0x474)](_0x175dc5,0x0),_0x2324c5[_0xe0a63(0x5d1)](_0x20fe49-_0x329847,0x0),_0x2324c5[_0xe0a63(0x3ae)](_0x20fe49-_0x329847,_0x329847,_0x329847,Math['PI']*0x3/0x2,0x0,!0x1),_0x2324c5[_0xe0a63(0x5d1)](_0x20fe49,_0x43bf77-_0x3ad69f),_0x2324c5['arc'](_0x20fe49-_0x3ad69f,_0x43bf77-_0x3ad69f,_0x3ad69f,0x0,Math['PI']/0x2,!0x1),_0x2324c5[_0xe0a63(0x5d1)](0x0,_0x43bf77),_0x2324c5[_0xe0a63(0x5d1)](0x0,_0x175dc5),_0x2324c5[_0xe0a63(0x3ae)](_0x175dc5,_0x175dc5,_0x175dc5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2324c5[_0xe0a63(0x5b6)](),_0x564239['fill']&&(_0x2324c5[_0xe0a63(0x3f9)](),_0x2324c5[_0xe0a63(0x4b4)]=_0x564239[_0xe0a63(0x1ef)],_0x564239[_0xe0a63(0x175)]===_0xe0a63(0x44c)?_0x2324c5['fill'](_0xe0a63(0x44c)):_0x2324c5['fill'](),_0x2324c5[_0xe0a63(0x596)]());}class ze extends K[_0x31ef25(0x61e)]{constructor(_0x14bc1c,_0x374bea){const _0xbe633e=_0x31ef25;super(_0x14bc1c,_0x374bea),I(this,_0xbe633e(0x444)),I(this,_0xbe633e(0x461)),(this[_0xbe633e(0x444)]=_0x374bea==null?void 0x0:_0x374bea[_0xbe633e(0x444)],this[_0xbe633e(0x461)]=_0x374bea==null?void 0x0:_0x374bea[_0xbe633e(0x461)]);}static['drawWith'](_0x152698,_0x20de4d){const _0x452ec3=_0x31ef25,{text:_0x3acbab,color:_0x48b8d9}=_0x20de4d;_0x152698[_0x452ec3(0x3f9)](),_0x152698[_0x452ec3(0x234)]=_0x452ec3(0x517);const _0x5c95e4=_0x152698[_0x452ec3(0x267)](_0x3acbab)[_0x452ec3(0x465)],_0x2c4bac=Math['min'](_0x5c95e4+0x2*it,Ht);as(_0x152698,{'height':Le,'radius':0x4,'width':_0x2c4bac,'fill':_0x48b8d9,'evented':!0x1}),_0x152698['fillStyle']=_0x452ec3(0x5d4);const _0xc657de=it,_0x1aa9f7=Le-os,_0x2f68e7=Ht-0x2*it;if(_0x5c95e4>_0x2f68e7){let _0xb0f824='',_0x5cf111=0x0;for(const _0x42202d of _0x3acbab){const _0x5cd730=_0x152698[_0x452ec3(0x267)](_0x42202d)[_0x452ec3(0x465)];if(_0x5cf111+_0x5cd730<=_0x2f68e7-_0x152698[_0x452ec3(0x267)](_0x452ec3(0x424))[_0x452ec3(0x465)])_0xb0f824+=_0x42202d,_0x5cf111+=_0x5cd730;else{_0xb0f824+=_0x452ec3(0x424);break;}}_0x152698[_0x452ec3(0x478)](_0xb0f824,_0xc657de,_0x1aa9f7);}else _0x152698[_0x452ec3(0x478)](_0x3acbab,_0xc657de,_0x1aa9f7);_0x152698[_0x452ec3(0x596)]();}[_0x31ef25(0x18e)](_0x421bf9){const _0x21d33e=_0x31ef25;ze[_0x21d33e(0x5f5)](_0x421bf9,this);}}const st=_0x31ef25(0x604),cs=_0x31ef25(0x621),ls='collab-rect-range-',Ue=0x6,hs=1.5,rt=0x4,_s=1.5,us='rgba(255,\x20255,\x20255,\x200.01)';class kt{constructor(_0x50cc35,_0x140119,_0x320a78,_0x31ba6c){const _0x5a45f3=_0x31ef25;I(this,_0x5a45f3(0x23a),[]),I(this,_0x5a45f3(0x29d),null),I(this,'_textBubble',null),I(this,'_anchorDot',null),I(this,_0x5a45f3(0x627),null),I(this,_0x5a45f3(0x2c1),null),(this[_0x5a45f3(0x1c6)]=_0x50cc35,this['_scene']=_0x140119,this[_0x5a45f3(0x584)]=_0x320a78,this[_0x5a45f3(0x48d)]=_0x31ba6c,this[_0x5a45f3(0x18b)]());}set[_0x31ef25(0x40a)](_0x3063db){const _0xcb3419=_0x31ef25;_0x3063db?(this['_anchorDot']&&this[_0xcb3419(0x5ec)][_0xcb3419(0x575)](),this['_textBubble']&&this[_0xcb3419(0x221)]['show']()):(this[_0xcb3419(0x5ec)]&&this['_anchorDot'][_0xcb3419(0x2c8)](),this[_0xcb3419(0x221)]&&this[_0xcb3419(0x221)][_0xcb3419(0x575)]());}[_0x31ef25(0x310)](){const _0x47431d=_0x31ef25;for(const _0xcd617c of this[_0x47431d(0x23a)])_0xcd617c[_0x47431d(0x310)]();this[_0x47431d(0x221)]&&this[_0x47431d(0x221)][_0x47431d(0x310)](),this['_anchorDot']&&this[_0x47431d(0x5ec)]['dispose'](),this[_0x47431d(0x29d)]&&this['_anchor'][_0x47431d(0x310)](),this[_0x47431d(0x2c1)]&&this[_0x47431d(0x2c1)]();}[_0x31ef25(0x18b)](){const _0x5eeadc=_0x31ef25;var _0x17d874;const {_docSkeleton:_0x2c2fa2,_document:_0x542aeb}=this,{color:_0x28a847,name:_0x23bfac,ranges:_0x57a175}=this[_0x5eeadc(0x1c6)],_0x340ddb=_0x542aeb['getOffsetConfig'](),{docsLeft:_0x5d1b47,docsTop:_0x21c7a5}=_0x340ddb,_0x929612=new Z[(_0x5eeadc(0x48b))](_0x340ddb,_0x2c2fa2);for(const {startOffset:_0x511ab2,endOffset:_0x44643b,rangeType:_0x51a7fc,segmentId:_0x4cfeb8,segmentPage:_0x22e5b5,collapsed:_0x2dfba0,isActive:_0xbebe16}of _0x57a175){const _0x4ef9c5=_0x2c2fa2[_0x5eeadc(0x56a)](_0x511ab2,!0x0,_0x4cfeb8,_0x22e5b5);let _0x51f5b8=_0x2c2fa2[_0x5eeadc(0x56a)](_0x44643b,!0x0,_0x4cfeb8,_0x22e5b5);if(_0x51f5b8==null&&(_0x51f5b8=_0x2c2fa2[_0x5eeadc(0x56a)](_0x44643b-0x1,!0x1,_0x4cfeb8,_0x22e5b5)),_0xbebe16){const {contentBoxPointGroup:_0xc0cf0}=_0x929612['getRangePointData'](_0x51f5b8,_0x51f5b8);if(_0xc0cf0[_0x5eeadc(0x360)]===0x0)continue;this[_0x5eeadc(0x606)](_0x28a847,_0xc0cf0,_0x5d1b47,_0x21c7a5,_0x23bfac),this[_0x5eeadc(0x2c1)]=this['_handleHover']();}if(_0x4ef9c5&&_0x51f5b8){if(_0x51a7fc===a[_0x5eeadc(0x5b7)][_0x5eeadc(0x229)]){const _0x193fa7=new Z[(_0x5eeadc(0x3fa))](_0x340ddb,_0x2c2fa2),{pointGroup:_0x2debc3}=(_0x17d874=_0x193fa7[_0x5eeadc(0x420)](_0x4ef9c5,_0x51f5b8))!=null?_0x17d874:{};if(_0x2debc3==null||_0x2debc3[_0x5eeadc(0x360)]===0x0)continue;this[_0x5eeadc(0x4ab)](_0x28a847,_0x2debc3,_0x5d1b47,_0x21c7a5);}else{if(!_0x2dfba0){const {borderBoxPointGroup:_0x507dd7}=_0x929612['getRangePointData'](_0x4ef9c5,_0x51f5b8);if(_0x507dd7[_0x5eeadc(0x360)]===0x0)continue;this[_0x5eeadc(0x21c)](_0x28a847,_0x507dd7,_0x5d1b47,_0x21c7a5);}}}}}[_0x31ef25(0x606)](_0x1e0f37,_0x48c68e,_0x32673c,_0x449809,_0x4cec87){const _0x43bd54=_0x31ef25,_0x3a41c6=this[_0x43bd54(0x514)](_0x48c68e),{left:_0xa75cf,top:_0x332718,height:_0x58eb49}=_0x3a41c6,_0x1eed64=this[_0x43bd54(0x53b)](),_0x5ddf11=_s/_0x1eed64,_0x1f596d=new K[(_0x43bd54(0x2d4))](st+a['Tools'][_0x43bd54(0x4c1)](Ue),{'left':_0xa75cf+_0x32673c-_0x5ddf11,'top':_0x332718+_0x449809,'height':_0x58eb49,'width':hs,'fill':_0x1e0f37||K[_0x43bd54(0x39c)](a[_0x43bd54(0x333)]['black'],0x0),'strokeWidth':_0x5ddf11,'stroke':us,'evented':!0x0});this['_anchor']=_0x1f596d,this['_scene']['addObject'](_0x1f596d,Z['TEXT_RANGE_LAYER_INDEX']);const _0xbc69cb=new K['Rect'](st+a[_0x43bd54(0x4fa)][_0x43bd54(0x4c1)](Ue),{'left':_0xa75cf+_0x32673c-_0x5ddf11,'top':_0x332718+_0x449809-rt/0x2,'height':rt,'width':rt,'fill':_0x1e0f37||K[_0x43bd54(0x39c)](a[_0x43bd54(0x333)][_0x43bd54(0x62b)],0x0),'strokeWidth':0x0,'stroke':_0x1e0f37||K[_0x43bd54(0x39c)](a['COLORS'][_0x43bd54(0x62b)],0x0),'evented':!0x1});this[_0x43bd54(0x5ec)]=_0xbc69cb,this[_0x43bd54(0x268)][_0x43bd54(0x2c6)](_0xbc69cb,Z[_0x43bd54(0x2dc)]);const _0x226e63=new ze(st+a[_0x43bd54(0x4fa)][_0x43bd54(0x4c1)](Ue),{'left':_0xa75cf+_0x32673c-_0x5ddf11,'top':_0x332718+_0x449809-Le,'text':_0x4cec87,'color':_0x1e0f37});this[_0x43bd54(0x221)]=_0x226e63,this['_scene'][_0x43bd54(0x2c6)](_0x226e63,Z[_0x43bd54(0x2dc)]),this[_0x43bd54(0x40a)]=!0x1;}[_0x31ef25(0x1b9)](){const _0x38cb05=_0x31ef25,_0x535e37=this[_0x38cb05(0x29d)]['onPointerEnter$'][_0x38cb05(0x177)](()=>{const _0x74d6=_0x38cb05;this[_0x74d6(0x40a)]=!0x0;}),_0x471474=this['_anchor'][_0x38cb05(0x4b3)][_0x38cb05(0x177)](()=>{const _0x250341=_0x38cb05;this[_0x250341(0x627)]&&clearTimeout(this[_0x250341(0x627)]),this[_0x250341(0x627)]=setTimeout(()=>{const _0x5da1bf=_0x250341;this[_0x5da1bf(0x40a)]=!0x1;},0x7d0);});return()=>{_0x535e37['unsubscribe'](),_0x471474['unsubscribe']();};}['_drawTextRange'](_0x11b0c5,_0x400f52,_0x59913d,_0x17c310){const _0x575557=_0x31ef25,_0x4f858c=new a[(_0x575557(0x235))](_0x11b0c5)[_0x575557(0x1bb)](0.2)[_0x575557(0x533)](),_0x3723be=new K[(_0x575557(0x18d))](cs+a['Tools'][_0x575557(0x4c1)](Ue),{'pointsGroup':_0x400f52,'fill':_0x4f858c||K[_0x575557(0x39c)](a[_0x575557(0x333)][_0x575557(0x62b)],0.2),'left':_0x59913d,'top':_0x17c310,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x575557(0x23a)][_0x575557(0x285)](_0x3723be),this[_0x575557(0x268)][_0x575557(0x2c6)](_0x3723be,Z['TEXT_RANGE_LAYER_INDEX']);}[_0x31ef25(0x4ab)](_0x5859c2,_0x4ed858,_0xcaec4f,_0x329644){const _0x5331ef=_0x31ef25,_0x42e1ef=new a['ColorKit'](_0x5859c2)[_0x5331ef(0x1bb)](0.2)[_0x5331ef(0x533)](),_0x23c6b8=new K['RegularPolygon'](ls+a[_0x5331ef(0x4fa)][_0x5331ef(0x4c1)](Ue),{'pointsGroup':_0x4ed858,'fill':_0x42e1ef||K[_0x5331ef(0x39c)](a[_0x5331ef(0x333)][_0x5331ef(0x62b)],0.2),'left':_0xcaec4f,'top':_0x329644,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5331ef(0x23a)][_0x5331ef(0x285)](_0x23c6b8),this[_0x5331ef(0x268)][_0x5331ef(0x2c6)](_0x23c6b8,Z['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x2a9d0d){const _0x377fad=_0x2a9d0d[0x0],_0x418c0e=_0x377fad[0x0],_0x258bd9=_0x377fad[0x2],{x:_0x3dc1e4,y:_0x1c9c26}=_0x418c0e,{x:_0x508f6b,y:_0x1176e3}=_0x258bd9;return{'left':_0x3dc1e4,'top':_0x1c9c26,'width':_0x508f6b-_0x3dc1e4,'height':_0x1176e3-_0x1c9c26};}[_0x31ef25(0x53b)](){const _0x5b5bc3=_0x31ef25,{scaleX:_0x2394ba,scaleY:_0x488937}=this[_0x5b5bc3(0x268)][_0x5b5bc3(0x516)]();return Math['max'](_0x2394ba,_0x488937);}}var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x354a71,_0x1e8aef,_0x373909,_0x580065)=>{const _0xb1715d=_0x31ef25;for(var _0x4c72f9=_0x580065>0x1?void 0x0:_0x580065?fs(_0x1e8aef,_0x373909):_0x1e8aef,_0x355cc9=_0x354a71[_0xb1715d(0x360)]-0x1,_0xea35bc;_0x355cc9>=0x0;_0x355cc9--)(_0xea35bc=_0x354a71[_0x355cc9])&&(_0x4c72f9=(_0x580065?_0xea35bc(_0x1e8aef,_0x373909,_0x4c72f9):_0xea35bc(_0x4c72f9))||_0x4c72f9);return _0x580065&&_0x4c72f9&&ds(_0x1e8aef,_0x373909,_0x4c72f9),_0x4c72f9;},je=(_0x2bb4dc,_0x31b7eb)=>(_0x14e80b,_0xd1fe7d)=>_0x31b7eb(_0x14e80b,_0xd1fe7d,_0x2bb4dc);let mt=class extends a['RxDisposable']{constructor(_0x3f8ff6,_0x29eec4,_0x4c228a,_0x44f483,_0x3cae03){const _0x53794d=_0x31ef25;super(),I(this,'_cursorShapes',[]),I(this,_0x53794d(0x5de),[]),(this['_context']=_0x3f8ff6,this[_0x53794d(0x529)]=_0x29eec4,this['_collabCursorController']=_0x4c228a,this[_0x53794d(0x418)]=_0x44f483,this[_0x53794d(0x256)]=_0x3cae03,this['_init']());}['_init'](){const _0x64816a=_0x31ef25,_0x181cbc=this[_0x64816a(0x4ff)][_0x64816a(0x34e)],_0x104d00=this['_docSkeletonManagerService'];this['disposeWithMe'](A[_0x64816a(0x2fc)]([this[_0x64816a(0x49a)][_0x64816a(0x261)](_0x181cbc),this[_0x64816a(0x256)][_0x64816a(0x337)]])[_0x64816a(0x37e)](V[_0x64816a(0x2a9)](([_0x1077d7,_0xff9ce8])=>({'skeleton':_0x104d00[_0x64816a(0x373)](),'cursors':[..._0x1077d7[_0x64816a(0x2a0)]()]['flatMap'](_0x364d76=>({..._0x364d76,'color':_0xff9ce8[_0x364d76[_0x64816a(0x444)]]}))})))[_0x64816a(0x52d)](_0x3919ef=>{const _0x53c01e=_0x64816a;if(this[_0x53c01e(0x5e7)](),_0x3919ef){const {skeleton:_0x2e7617,cursors:_0xa37846}=_0x3919ef;this[_0x53c01e(0x5e6)](_0x2e7617,_0xa37846);}})),this[_0x64816a(0x493)](),this['_initCommandExecutedListener']();}[_0x31ef25(0x5e6)](_0x31ffc8,_0xb01007){const _0x301051=_0x31ef25,{scene:_0x3d150d,mainComponent:_0x102d0d}=this[_0x301051(0x4ff)],_0x157f11=_0xb01007[_0x301051(0x2a9)](_0x411e06=>new kt(_0x411e06,_0x3d150d,_0x31ffc8,_0x102d0d));this[_0x301051(0x30b)]=_0x157f11,this['_cursors']=_0xb01007;}['_refreshCollabCursors'](){const _0x3845ee=_0x31ef25;this[_0x3845ee(0x5e7)]();const {scene:_0x1fe91f,mainComponent:_0x107674}=this[_0x3845ee(0x4ff)],_0x26ce49=this[_0x3845ee(0x529)][_0x3845ee(0x373)](),_0x613092=this[_0x3845ee(0x5de)][_0x3845ee(0x2a9)](_0x1cacf5=>new kt(_0x1cacf5,_0x1fe91f,_0x26ce49,_0x107674));this[_0x3845ee(0x30b)]=_0x613092;}[_0x31ef25(0x5e7)](){const _0x4bdcce=_0x31ef25;this[_0x4bdcce(0x30b)]['forEach'](_0x786e9e=>_0x786e9e[_0x4bdcce(0x310)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x40ad15=_0x31ef25,_0x5bf4c9=[Z[_0x40ad15(0x603)]['id']];this['disposeWithMe'](this[_0x40ad15(0x418)][_0x40ad15(0x1c2)](_0x4eff4d=>{const _0x4983de=_0x40ad15;_0x5bf4c9[_0x4983de(0x23d)](_0x4eff4d['id'])&&_0x4eff4d[_0x4983de(0x3ac)][_0x4983de(0x34e)]===this['_context'][_0x4983de(0x34e)]&&this[_0x4983de(0x326)]();}));}[_0x31ef25(0x493)](){const _0xb5509e=_0x31ef25;this[_0xb5509e(0x328)](a[_0xb5509e(0x51d)](this['_context'][_0xb5509e(0x2b0)][_0xb5509e(0x25d)])['pipe'](V[_0xb5509e(0x4bd)](_0x31880f=>_0x31880f['type']===K['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),V[_0xb5509e(0x2ad)](0x10))[_0xb5509e(0x52d)](()=>{this['_refreshCollabCursors']();}));}};mt=vs([je(0x1,a[_0x31ef25(0x249)](ye[_0x31ef25(0x5a1)])),je(0x2,a[_0x31ef25(0x249)](De)),je(0x3,a[_0x31ef25(0x36e)]),je(0x4,a[_0x31ef25(0x249)](a[_0x31ef25(0x553)]))],mt);const Ss=0x1,ps=1.5;class pn extends K[_0x31ef25(0x61e)]{constructor(_0x366cd4,_0x48938f){const _0x2c5b88=_0x31ef25;super(_0x366cd4,_0x48938f),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x2c5b88(0x5e0)),I(this,_0x2c5b88(0x2e3),''),I(this,_0x2c5b88(0x33b),_0x2c5b88(0x4d7)),I(this,'_backgroundColor'),(_0x48938f&&this[_0x2c5b88(0x505)](_0x48938f),this[_0x2c5b88(0x462)][_0x2c5b88(0x177)](()=>this[_0x2c5b88(0x505)]({'hovered':!0x0})),this[_0x2c5b88(0x4b3)][_0x2c5b88(0x177)](()=>this[_0x2c5b88(0x505)]({'hovered':!0x1})));}[_0x31ef25(0x505)](_0x4cf73){const _0x55d063=_0x31ef25;var _0x5df932,_0x1551d0,_0x5d670a,_0x4f8679,_0x588db8,_0x1d18eb;this[_0x55d063(0x623)]=(_0x5df932=_0x4cf73[_0x55d063(0x444)])!=null?_0x5df932:this[_0x55d063(0x623)],this[_0x55d063(0x2ab)]=(_0x1551d0=_0x4cf73[_0x55d063(0x477)])!=null?_0x1551d0:this['_hovered'],this[_0x55d063(0x5e0)]=(_0x5d670a=_0x4cf73[_0x55d063(0x511)])!=null?_0x5d670a:this[_0x55d063(0x5e0)],this[_0x55d063(0x2e3)]=(_0x4f8679=_0x4cf73['name'])!=null?_0x4f8679:this[_0x55d063(0x2e3)],this[_0x55d063(0x33b)]=(_0x588db8=_0x4cf73[_0x55d063(0x636)])!=null?_0x588db8:this[_0x55d063(0x33b)],this[_0x55d063(0x5f6)]=(_0x1d18eb=_0x4cf73[_0x55d063(0x378)])!=null?_0x1d18eb:this[_0x55d063(0x5f6)],this[_0x55d063(0x277)]({'width':_0x4cf73[_0x55d063(0x465)],'height':_0x4cf73['height']});}[_0x31ef25(0x334)](_0x25977e){const _0x85278b=_0x31ef25,{row:_0xffe410,column:_0x415c2d}=_0x25977e;if(_0xffe410>=this[_0x85278b(0x5e0)][_0x85278b(0x388)]&&_0xffe410<=this['_range'][_0x85278b(0x2f9)]&&_0x415c2d>=this[_0x85278b(0x5e0)][_0x85278b(0x22e)]&&_0x415c2d<=this[_0x85278b(0x5e0)][_0x85278b(0x351)]){this[_0x85278b(0x505)]({'hovered':!0x0});return;}this[_0x85278b(0x505)]({'hovered':!0x1});}[_0x31ef25(0x3d9)](_0x34940f){return!0x1;}['_draw'](_0x2f23ee){const _0xfb0f80=_0x31ef25;K[_0xfb0f80(0x2d4)]['drawWith'](_0x2f23ee,{'width':this['width'],'height':this[_0xfb0f80(0x56d)],'strokeWidth':ps,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xfb0f80(0x5f6)]}),this[_0xfb0f80(0x2ab)]&&(_0x2f23ee[_0xfb0f80(0x3f9)](),_0x2f23ee[_0xfb0f80(0x61c)](0x1,0x0,0x0,0x1,this[_0xfb0f80(0x465)],this[_0xfb0f80(0x33b)]===_0xfb0f80(0x2d9)?0x0:-Le),ze[_0xfb0f80(0x5f5)](_0x2f23ee,{'text':this[_0xfb0f80(0x2e3)],'color':this[_0xfb0f80(0x623)]}),_0x2f23ee[_0xfb0f80(0x596)]());}}var ms=Object[_0x31ef25(0x4c2)],gs=Object[_0x31ef25(0x53c)],Is=(_0x433163,_0x4eb164,_0x5a7539,_0x4f59ed)=>{const _0x414022=_0x31ef25;for(var _0x2afa2d=_0x4f59ed>0x1?void 0x0:_0x4f59ed?gs(_0x4eb164,_0x5a7539):_0x4eb164,_0x1445a3=_0x433163[_0x414022(0x360)]-0x1,_0x494edd;_0x1445a3>=0x0;_0x1445a3--)(_0x494edd=_0x433163[_0x1445a3])&&(_0x2afa2d=(_0x4f59ed?_0x494edd(_0x4eb164,_0x5a7539,_0x2afa2d):_0x494edd(_0x2afa2d))||_0x2afa2d);return _0x4f59ed&&_0x2afa2d&&ms(_0x4eb164,_0x5a7539,_0x2afa2d),_0x2afa2d;},ot=(_0x3a36ae,_0x165626)=>(_0x55c8c3,_0x4aaa84)=>_0x165626(_0x55c8c3,_0x4aaa84,_0x3a36ae);const Cs=0x1389;let gt=class extends a[_0x31ef25(0x25c)]{constructor(_0x1a3008,_0x571ef3,_0x568c89,_0x53f03e){const _0x2b843b=_0x31ef25;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this[_0x2b843b(0x4ff)]=_0x1a3008,this['_sheetSkeletonManagerService']=_0x571ef3,this[_0x2b843b(0x49a)]=_0x568c89,this['_themeService']=_0x53f03e,this['_init']());}['_init'](){const _0x514e4a=_0x31ef25;this[_0x514e4a(0x279)][_0x514e4a(0x4ca)][_0x514e4a(0x37e)](V[_0x514e4a(0x471)](this[_0x514e4a(0x50e)]),V['switchMap'](_0x6b3507=>{const _0x4e2a31=_0x514e4a;if(_0x6b3507){const _0x545734=_0x6b3507['sheetId'];return A[_0x4e2a31(0x2fc)](this[_0x4e2a31(0x49a)][_0x4e2a31(0x261)](this[_0x4e2a31(0x4ff)][_0x4e2a31(0x34e)]),this[_0x4e2a31(0x256)][_0x4e2a31(0x337)])[_0x4e2a31(0x37e)](V[_0x4e2a31(0x2a9)](([_0x4a5e53,_0x118a3f])=>{const _0x56da1a=_0x4e2a31,_0x7ece24=new Map();return _0x4a5e53[_0x56da1a(0x527)]((_0x34e73d,_0x5e73b0)=>{const _0x413a20=_0x56da1a;if(_0x34e73d[_0x413a20(0x518)]===_0x545734){const _0x31ee1f={..._0x34e73d};_0x31ee1f['color']=_0x118a3f[_0x34e73d['color']],_0x7ece24[_0x413a20(0x3bb)](_0x5e73b0,_0x31ee1f);}}),{'skeleton':_0x6b3507,'cursors':_0x7ece24};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x514e4a(0x52d)](({skeleton:_0x3ed028,cursors:_0x5dc7df})=>{const _0x54bed6=_0x514e4a;this[_0x54bed6(0x5e7)](),_0x3ed028&&this[_0x54bed6(0x5e6)](_0x3ed028,_0x5dc7df);}),this[_0x514e4a(0x279)][_0x514e4a(0x4ca)][_0x514e4a(0x52d)](_0x1cc551=>{const _0x401e14=_0x514e4a;if(_0x1cc551==null)return;const {skeleton:_0x5c39e7}=_0x1cc551,{scene:_0x2f974a}=this[_0x401e14(0x4ff)];_0x2f974a[_0x401e14(0x4e2)][_0x401e14(0x177)](a[_0x401e14(0x5af)](_0x4f77e3=>{const _0x7cc077=_0x401e14;var _0x44b022,_0x55ce83;const {offsetX:_0x1f1477,offsetY:_0x25e271}=_0x4f77e3,{x:_0x444437,y:_0x41dae1}=_0x2f974a[_0x7cc077(0x4c6)](K[_0x7cc077(0x5cb)]['FromArray']([_0x1f1477,_0x25e271])),{scaleX:_0x559072,scaleY:_0x2050f1}=_0x2f974a['getAncestorScale'](),_0x3c9ea3=_0x2f974a['getViewport'](Re[_0x7cc077(0x47a)]['VIEW_MAIN']),_0x6b92fa=_0x2f974a[_0x7cc077(0x433)](K[_0x7cc077(0x5cb)][_0x7cc077(0x2ff)]([_0x444437,_0x41dae1]),_0x3c9ea3),_0x42a2a1=_0x5c39e7['getCellPositionByOffset'](_0x1f1477,_0x25e271,_0x559072,_0x2050f1,_0x6b92fa);((_0x44b022=this[_0x7cc077(0x1eb)])==null?void 0x0:_0x44b022[_0x7cc077(0x439)])===_0x42a2a1[_0x7cc077(0x439)]&&((_0x55ce83=this[_0x7cc077(0x1eb)])==null?void 0x0:_0x55ce83['row'])===_0x42a2a1['row']||this[_0x7cc077(0x5de)][_0x7cc077(0x527)](_0x5a3ecc=>{_0x5a3ecc['onMouseMove'](_0x42a2a1);});},0x64));});}['_updateCollabCursors'](_0x1f860c,_0x449b18){const _0x84b3ab=_0x31ef25;var _0x44c8ee;const _0x1fdacf=(_0x44c8ee=this[_0x84b3ab(0x279)][_0x84b3ab(0x3a9)]())==null?void 0x0:_0x44c8ee[_0x84b3ab(0x3b2)];if(!_0x1fdacf)return;const _0x1d473a=this['_getSheetObject']();if(!_0x1d473a)return;this[_0x84b3ab(0x5de)][_0x84b3ab(0x527)](_0x471308=>{const _0x5f130b=_0x84b3ab;_0x471308[_0x5f130b(0x27f)]();});const {scene:_0x2235d7}=_0x1d473a,_0x1ea970=Es(Array[_0x84b3ab(0x5a3)](_0x449b18[_0x84b3ab(0x2a0)]()))[_0x84b3ab(0x2a9)](_0x483864=>{const _0x2fbaf2=_0x84b3ab,{color:_0x254ac6,range:_0x5b50e9,name:_0x1a9641,selection:_0x64498a,sheetID:_0x50ca63}=_0x483864,{startColumn:_0x4ba085,startRow:_0x1d3bf1,endColumn:_0x2d1f21,endRow:_0x54b678}=_0x5b50e9,_0x24e148=Re[_0x2fbaf2(0x4b9)](_0x1d3bf1,_0x4ba085,_0x2235d7,_0x1fdacf),_0x6794d7=Re['getCoordByCell'](_0x54b678,_0x2d1f21,_0x2235d7,_0x1fdacf),{columnHeaderHeightAndMarginTop:_0x112b37}=_0x1fdacf,{startX:_0x3ef60c,startY:_0x420390}=_0x24e148,{endX:_0x3dc5ee,endY:_0x45d21e}=_0x6794d7,_0x476771=_0x3dc5ee-_0x3ef60c,_0x1f7161=_0x45d21e-_0x420390,_0x2fec1e={'labelPosition':_0x420390-_0x112b37>=Le?'top':_0x2fbaf2(0x2d9),'sheetID':_0x50ca63,'range':_0x5b50e9,'color':_0x254ac6,'name':_0x1a9641,'selection':_0x64498a,'left':_0x3ef60c,'top':_0x420390,'width':_0x476771,'height':_0x1f7161,'evented':!0x1,'zIndex':Cs};return new pn(_0x1a9641,_0x2fec1e);});_0x2235d7[_0x84b3ab(0x1e3)](_0x1ea970,Ss),this['_cursors']=new Set(_0x1ea970);}[_0x31ef25(0x5e7)](){const _0x572f41=_0x31ef25;var _0x18e118;(_0x18e118=this[_0x572f41(0x5de)])==null||_0x18e118[_0x572f41(0x527)](_0x4d482c=>_0x4d482c[_0x572f41(0x310)]());}[_0x31ef25(0x5ca)](){const _0x13a63d=_0x31ef25;return Re['getSheetObject'](this['_context'][_0x13a63d(0x2ed)],this[_0x13a63d(0x4ff)]);}};gt=Is([ot(0x1,a[_0x31ef25(0x249)](Re[_0x31ef25(0x624)])),ot(0x2,a[_0x31ef25(0x249)](De)),ot(0x3,a['Inject'](a['ThemeService']))],gt);function Es(_0x2999ca){const _0x38694b=_0x31ef25,_0xbc7814=new Map();return _0x2999ca[_0x38694b(0x527)](_0x3bcc74=>{const _0x168a96=_0x38694b;if(_0xbc7814['has'](_0x3bcc74[_0x168a96(0x562)])){const _0x294fe6=_0xbc7814[_0x168a96(0x4c8)](_0x3bcc74['selection']);_0x294fe6[_0x168a96(0x1a3)]+=',\x20'+_0x3bcc74[_0x168a96(0x1a3)];}else _0xbc7814[_0x168a96(0x3bb)](_0x3bcc74[_0x168a96(0x562)],_0x3bcc74);}),Array['from'](_0xbc7814[_0x38694b(0x2a0)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0xb9949c){const _0x595928=_0x31ef25;return _0xb9949c&&_0xb9949c[_0x595928(0x5e5)]&&Object[_0x595928(0x3cf)][_0x595928(0x295)][_0x595928(0x32b)](_0xb9949c,_0x595928(0x535))?_0xb9949c[_0x595928(0x535)]:_0xb9949c;}var mn={'exports':{}},Xe={},bs=ae,Ts=Symbol[_0x31ef25(0x183)](_0x31ef25(0x563)),Rs=Symbol[_0x31ef25(0x183)](_0x31ef25(0x4a6)),ys=Object[_0x31ef25(0x3cf)]['hasOwnProperty'],Os=bs[_0x31ef25(0x5d7)][_0x31ef25(0x38d)],Ds={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x40f192,_0x54fff7,_0x508072){const _0x2aac96=_0x31ef25;var _0x435c0d,_0x2e92ee={},_0x255fd7=null,_0x109473=null;_0x508072!==void 0x0&&(_0x255fd7=''+_0x508072),_0x54fff7[_0x2aac96(0x577)]!==void 0x0&&(_0x255fd7=''+_0x54fff7[_0x2aac96(0x577)]),_0x54fff7['ref']!==void 0x0&&(_0x109473=_0x54fff7['ref']);for(_0x435c0d in _0x54fff7)ys['call'](_0x54fff7,_0x435c0d)&&!Ds[_0x2aac96(0x295)](_0x435c0d)&&(_0x2e92ee[_0x435c0d]=_0x54fff7[_0x435c0d]);if(_0x40f192&&_0x40f192['defaultProps']){for(_0x435c0d in(_0x54fff7=_0x40f192[_0x2aac96(0x3e0)],_0x54fff7))_0x2e92ee[_0x435c0d]===void 0x0&&(_0x2e92ee[_0x435c0d]=_0x54fff7[_0x435c0d]);}return{'$$typeof':Ts,'type':_0x40f192,'key':_0x255fd7,'ref':_0x109473,'props':_0x2e92ee,'_owner':Os[_0x2aac96(0x3d1)]};}Xe[_0x31ef25(0x501)]=Rs,Xe[_0x31ef25(0x1d6)]=gn,Xe[_0x31ef25(0x401)]=gn,mn[_0x31ef25(0x353)]=Xe;var ge=mn['exports'],Q=function(){const _0x3ac141=_0x31ef25;return Q=Object[_0x3ac141(0x24a)]||function(_0xdb65cf){const _0x1ea2b1=_0x3ac141;for(var _0x1ce77c,_0x2563b9=0x1,_0xb78970=arguments[_0x1ea2b1(0x360)];_0x2563b9<_0xb78970;_0x2563b9++){_0x1ce77c=arguments[_0x2563b9];for(var _0xa4b0fe in _0x1ce77c)Object[_0x1ea2b1(0x3cf)][_0x1ea2b1(0x295)][_0x1ea2b1(0x32b)](_0x1ce77c,_0xa4b0fe)&&(_0xdb65cf[_0xa4b0fe]=_0x1ce77c[_0xa4b0fe]);}return _0xdb65cf;},Q[_0x3ac141(0x23e)](this,arguments);},ws=function(_0x11552f,_0x274b11){const _0x245aa0=_0x31ef25;var _0x52940a={};for(var _0x43a06d in _0x11552f)Object['prototype'][_0x245aa0(0x295)][_0x245aa0(0x32b)](_0x11552f,_0x43a06d)&&_0x274b11[_0x245aa0(0x46f)](_0x43a06d)<0x0&&(_0x52940a[_0x43a06d]=_0x11552f[_0x43a06d]);if(_0x11552f!=null&&typeof Object[_0x245aa0(0x52f)]==_0x245aa0(0x251)){for(var _0x2d4da4=0x0,_0x43a06d=Object['getOwnPropertySymbols'](_0x11552f);_0x2d4da4<_0x43a06d[_0x245aa0(0x360)];_0x2d4da4++)_0x274b11[_0x245aa0(0x46f)](_0x43a06d[_0x2d4da4])<0x0&&Object[_0x245aa0(0x3cf)][_0x245aa0(0x176)][_0x245aa0(0x32b)](_0x11552f,_0x43a06d[_0x2d4da4])&&(_0x52940a[_0x43a06d[_0x2d4da4]]=_0x11552f[_0x43a06d[_0x2d4da4]]);}return _0x52940a;},Dt=ae[_0x31ef25(0x5d0)](function(_0x709b8c,_0x2bc2a9){const _0x5e65ef=_0x31ef25;var _0x4dfcc9=_0x709b8c[_0x5e65ef(0x430)],_0xae673d=_0x709b8c['id'],_0x9fd90=_0x709b8c[_0x5e65ef(0x25f)],_0x3ef8f4=_0x709b8c[_0x5e65ef(0x2a4)],_0x532103=ws(_0x709b8c,[_0x5e65ef(0x430),'id',_0x5e65ef(0x25f),_0x5e65ef(0x2a4)]),_0x474963=_0x5e65ef(0x639)[_0x5e65ef(0x265)](_0xae673d,'\x20')[_0x5e65ef(0x265)](_0x9fd90||'')[_0x5e65ef(0x2b2)](),_0x1c56b7=ae[_0x5e65ef(0x58e)]('_'[_0x5e65ef(0x265)](Ms()));return In(_0x4dfcc9,''[_0x5e65ef(0x265)](_0xae673d),{'defIds':_0x4dfcc9[_0x5e65ef(0x44e)],'idSuffix':_0x1c56b7[_0x5e65ef(0x3d1)]},Q({'ref':_0x2bc2a9,'className':_0x474963},_0x532103),_0x3ef8f4);});function In(_0x1c6627,_0x114831,_0x48229c,_0x563263,_0x58ed69){const _0x219d47=_0x31ef25;return ae[_0x219d47(0x185)](_0x1c6627[_0x219d47(0x3e3)],Q(Q({'key':_0x114831},Ps(_0x1c6627,_0x48229c,_0x58ed69)),_0x563263),(Us(_0x1c6627,_0x48229c)[_0x219d47(0x206)]||[])[_0x219d47(0x2a9)](function(_0x379ca4,_0x50142d){const _0x5497c0=_0x219d47;return In(_0x379ca4,''[_0x5497c0(0x265)](_0x114831,'-')[_0x5497c0(0x265)](_0x1c6627[_0x5497c0(0x3e3)],'-')['concat'](_0x50142d),_0x48229c,void 0x0,_0x58ed69);}));}function Ps(_0x47046d,_0x297d16,_0x273546){const _0x39b502=_0x31ef25;var _0x237984=Q({},_0x47046d['attrs']);_0x273546!=null&&_0x273546[_0x39b502(0x35f)]&&_0x237984[_0x39b502(0x1ef)]===_0x39b502(0x35f)&&(_0x237984[_0x39b502(0x1ef)]=_0x273546[_0x39b502(0x35f)]);var _0x3a54b9=_0x297d16[_0x39b502(0x44e)];return!_0x3a54b9||_0x3a54b9[_0x39b502(0x360)]===0x0||(_0x47046d[_0x39b502(0x3e3)]===_0x39b502(0x4e3)&&_0x237984[_0x39b502(0x3de)]&&(_0x237984[_0x39b502(0x3de)]=_0x237984[_0x39b502(0x3de)]+_0x297d16['idSuffix']),Object[_0x39b502(0x469)](_0x237984)[_0x39b502(0x527)](function(_0x129692){const _0x29a1e2=_0x39b502;var _0x3b3859=_0x129692[0x0],_0x47c07a=_0x129692[0x1];typeof _0x47c07a=='string'&&(_0x237984[_0x3b3859]=_0x47c07a[_0x29a1e2(0x1e1)](/url\(#(.*)\)/,_0x29a1e2(0x57b)[_0x29a1e2(0x265)](_0x297d16['idSuffix'],')')));})),_0x237984;}function Us(_0x2e91b7,_0x4e683f){const _0x1dddd2=_0x31ef25;var _0x1306c2,_0x49e3f8=_0x4e683f['defIds'];return!_0x49e3f8||_0x49e3f8['length']===0x0?_0x2e91b7:_0x2e91b7[_0x1dddd2(0x3e3)]==='defs'&&(!((_0x1306c2=_0x2e91b7['children'])===null||_0x1306c2===void 0x0)&&_0x1306c2[_0x1dddd2(0x360)])?Q(Q({},_0x2e91b7),{'children':_0x2e91b7['children'][_0x1dddd2(0x2a9)](function(_0x58ea6d){const _0x1d1c0b=_0x1dddd2;return typeof _0x58ea6d[_0x1d1c0b(0x498)]['id']==_0x1d1c0b(0x4cf)&&_0x49e3f8&&_0x49e3f8[_0x1d1c0b(0x46f)](_0x58ea6d[_0x1d1c0b(0x498)]['id'])>-0x1?Q(Q({},_0x58ea6d),{'attrs':Q(Q({},_0x58ea6d[_0x1d1c0b(0x498)]),{'id':_0x58ea6d[_0x1d1c0b(0x498)]['id']+_0x4e683f[_0x1d1c0b(0x5da)]})}):_0x58ea6d;})}):_0x2e91b7;}function Ms(){const _0x1b0717=_0x31ef25;return Math[_0x1b0717(0x24d)]()[_0x1b0717(0x5dd)](0x24)[_0x1b0717(0x2de)](0x2,0x8);}Dt[_0x31ef25(0x5b5)]=_0x31ef25(0x502);var As={'tag':_0x31ef25(0x36a),'attrs':{'fill':_0x31ef25(0x2e4),'viewBox':'0\x200\x2016\x2016','width':_0x31ef25(0x20e),'height':_0x31ef25(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x31ef25(0x211),'attrs':{'stroke':'currentColor','d':_0x31ef25(0x26d),'strokeLinecap':_0x31ef25(0x492),'strokeLinejoin':_0x31ef25(0x492),'strokeWidth':1.2}}]},{'tag':_0x31ef25(0x4ef),'attrs':{},'children':[{'tag':_0x31ef25(0x3ee),'attrs':{'id':_0x31ef25(0x335)},'children':[{'tag':_0x31ef25(0x211),'attrs':{'fill':_0x31ef25(0x2e8),'d':_0x31ef25(0x56b)}}]}]}],'defIds':[_0x31ef25(0x335)]},Cn=ae[_0x31ef25(0x5d0)](function(_0x28441e,_0x22c628){const _0x5b4701=_0x31ef25;return ae[_0x5b4701(0x185)](Dt,Object[_0x5b4701(0x24a)]({},_0x28441e,{'id':'off-line-single','ref':_0x22c628,'icon':As}));});Cn['displayName']=_0x31ef25(0x540);var Ns={'tag':_0x31ef25(0x36a),'attrs':{'fill':_0x31ef25(0x2e4),'viewBox':_0x31ef25(0x1ff),'width':_0x31ef25(0x20e),'height':_0x31ef25(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':_0x31ef25(0x367)},'children':[{'tag':_0x31ef25(0x211),'attrs':{'stroke':_0x31ef25(0x275),'d':_0x31ef25(0x28a),'strokeLinecap':_0x31ef25(0x492),'strokeLinejoin':_0x31ef25(0x492),'strokeWidth':1.2}}]},{'tag':_0x31ef25(0x4ef),'attrs':{},'children':[{'tag':_0x31ef25(0x3ee),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x31ef25(0x211),'attrs':{'fill':_0x31ef25(0x2e8),'d':_0x31ef25(0x56b),'transform':_0x31ef25(0x5a7)}}]}]}],'defIds':[_0x31ef25(0x3eb)]},En=ae[_0x31ef25(0x5d0)](function(_0x5779c4,_0x4eac71){const _0x5d52bb=_0x31ef25;return ae['createElement'](Dt,Object[_0x5d52bb(0x24a)]({},_0x5779c4,{'id':'on-line-single','ref':_0x4eac71,'icon':Ns}));});En[_0x31ef25(0x5b5)]=_0x31ef25(0x21f);function bn(_0x1e6bb9){const _0xc4431e=_0x31ef25;var _0x22180a,_0x27d713,_0x20a252='';if(typeof _0x1e6bb9==_0xc4431e(0x4cf)||typeof _0x1e6bb9==_0xc4431e(0x188))_0x20a252+=_0x1e6bb9;else{if(typeof _0x1e6bb9==_0xc4431e(0x4a5)){if(Array[_0xc4431e(0x62a)](_0x1e6bb9)){var _0x163b94=_0x1e6bb9[_0xc4431e(0x360)];for(_0x22180a=0x0;_0x22180a<_0x163b94;_0x22180a++)_0x1e6bb9[_0x22180a]&&(_0x27d713=bn(_0x1e6bb9[_0x22180a]))&&(_0x20a252&&(_0x20a252+='\x20'),_0x20a252+=_0x27d713);}else{for(_0x27d713 in _0x1e6bb9)_0x1e6bb9[_0x27d713]&&(_0x20a252&&(_0x20a252+='\x20'),_0x20a252+=_0x27d713);}}}return _0x20a252;}function Ls(){const _0x6f4257=_0x31ef25;for(var _0x179c52,_0xd4e764,_0x9db75e=0x0,_0xb4aa58='',_0x274ca9=arguments[_0x6f4257(0x360)];_0x9db75e<_0x274ca9;_0x9db75e++)(_0x179c52=arguments[_0x9db75e])&&(_0xd4e764=bn(_0x179c52))&&(_0xb4aa58&&(_0xb4aa58+='\x20'),_0xb4aa58+=_0xd4e764);return _0xb4aa58;}const xs=_0x31ef25(0x37a),js=_0x31ef25(0x1e9),$s=_0x31ef25(0x4a0),Hs='univer-online',ks='univer-offline',Me={'onlineStatusIcon':xs,'onlineStatusTitle':js,'onlineStatus':$s,'online':Hs,'offline':ks};function Bs(_0x361e72){const _0x54e353=_0x31ef25;switch(_0x361e72){case q['OFFLINE']:return _0x54e353(0x30a);case q['CONFLICT']:return'collabStatus.conflict';case q[_0x54e353(0x2f1)]:return'collabStatus.fetchMiss';case q[_0x54e353(0x590)]:return _0x54e353(0x567);case q['AWAITING']:case q[_0x54e353(0x1fd)]:return _0x54e353(0x556);case q[_0x54e353(0x594)]:case q[_0x54e353(0x61a)]:return _0x54e353(0x31d);}}function Tn(_0x1ed3f3){const _0x1e4465=_0x31ef25,{status$:_0x1edd9e}=_0x1ed3f3,_0x2084d3=te[_0x1e4465(0x495)](_0x1edd9e,q[_0x1e4465(0x590)]),_0x5ae2a5=a[_0x1e4465(0x1be)](a['LocaleService']),_0x59c875=a['useDependency'](exports['CollaborationSessionService']),_0x2e7228=_0x2084d3!==q['OFFLINE'],_0x4e5423=_0x5ae2a5['t'](Bs(_0x2084d3)),_0x987ce6=Ls(Me['onlineStatus'],{[Me[_0x1e4465(0x437)]]:_0x2e7228,[Me['offline']]:!_0x2e7228}),_0x4ed4ee=_0x2e7228?ge[_0x1e4465(0x1d6)](En,{}):ge[_0x1e4465(0x1d6)](Cn,{}),_0x45c51e=ae[_0x1e4465(0x3bc)](()=>{_0x2e7228||_0x59c875['reconnect']();},[_0x2e7228,_0x59c875]);function _0x7ffa04(){const _0x1e0741=_0x1e4465;return ge[_0x1e0741(0x401)](_0x1e0741(0x4a9),{'className':_0x987ce6,'onClick':_0x45c51e,'children':[ge[_0x1e0741(0x1d6)](_0x1e0741(0x4a9),{'className':Me[_0x1e0741(0x180)],'children':_0x4ed4ee}),ge[_0x1e0741(0x1d6)](_0x1e0741(0x4a9),{'className':Me[_0x1e0741(0x4bf)],'children':_0x4e5423})]});}return _0x2e7228?_0x7ffa04():ge[_0x1e4465(0x1d6)](Ie[_0x1e4465(0x354)],{'title':_0x5ae2a5['t']('collab-client.tooltip.reconnect'),'children':_0x7ffa04()});}var Ws=Object[_0x31ef25(0x4c2)],Fs=Object[_0x31ef25(0x53c)],Vs=(_0x1abbbd,_0x2c8ce8,_0x116a31,_0x34c5ea)=>{const _0x434889=_0x31ef25;for(var _0x10a552=_0x34c5ea>0x1?void 0x0:_0x34c5ea?Fs(_0x2c8ce8,_0x116a31):_0x2c8ce8,_0x4710fc=_0x1abbbd[_0x434889(0x360)]-0x1,_0xdf3042;_0x4710fc>=0x0;_0x4710fc--)(_0xdf3042=_0x1abbbd[_0x4710fc])&&(_0x10a552=(_0x34c5ea?_0xdf3042(_0x2c8ce8,_0x116a31,_0x10a552):_0xdf3042(_0x10a552))||_0x10a552);return _0x34c5ea&&_0x10a552&&Ws(_0x2c8ce8,_0x116a31,_0x10a552),_0x10a552;},$e=(_0x2786a5,_0x1b18db)=>(_0x2b24d2,_0x5448c6)=>_0x1b18db(_0x2b24d2,_0x5448c6,_0x2786a5);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x30d8cc,_0x30b7cf,_0x4e3647,_0x1b6467){const _0x40a4f4=_0x31ef25;super(),I(this,'_status$',new A[(_0x40a4f4(0x555))](q[_0x40a4f4(0x590)])),(this[_0x40a4f4(0x2a3)]=_0x30d8cc,this[_0x40a4f4(0x62e)]=_0x30b7cf,this[_0x40a4f4(0x507)]=_0x4e3647,this[_0x40a4f4(0x4c7)]=_0x1b6467,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x1bbe15=_0x31ef25;this[_0x1bbe15(0x328)](this[_0x1bbe15(0x2a3)][_0x1bbe15(0x476)][_0x1bbe15(0x37e)](A[_0x1bbe15(0x33f)](()=>{const _0x358da9=_0x1bbe15,_0x388cec=this[_0x358da9(0x2a3)][_0x358da9(0x271)]();return _0x388cec?this[_0x358da9(0x4c7)]['getCollabEntity$'](_0x388cec[_0x358da9(0x5ba)]()):A['of'](null);}),A[_0x1bbe15(0x33f)](_0x56c03e=>_0x56c03e?_0x56c03e[_0x1bbe15(0x3f1)]:A['of'](q[_0x1bbe15(0x590)])))[_0x1bbe15(0x52d)](_0x319113=>{const _0x2a591d=_0x1bbe15;this[_0x2a591d(0x316)][_0x2a591d(0x28d)](_0x319113);}));}['_initStatusComponent'](){const _0xd807e6=_0x31ef25;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](te[_0xd807e6(0x526)]['HEADER_MENU'],()=>a[_0xd807e6(0x20d)](Gs({'status$':this['_status$']['asObservable']()}),this[_0xd807e6(0x507)])));}},exports[_0x31ef25(0x413)]=Vs([$e(0x0,a[_0x31ef25(0x28e)]),$e(0x1,te[_0x31ef25(0x190)]),$e(0x2,a[_0x31ef25(0x249)](a['Injector'])),$e(0x3,a[_0x31ef25(0x249)](exports['CollaborationController']))],exports[_0x31ef25(0x413)]);function Gs(_0x49f931){const {status$:_0x59e54e}=_0x49f931;return function(){const _0x580281=_0x47c6;return ge[_0x580281(0x1d6)](Tn,{'status$':_0x59e54e});};}const wt=a[_0x31ef25(0x4ae)](_0x31ef25(0x1f2));var Ys=Object[_0x31ef25(0x4c2)],Ks=Object[_0x31ef25(0x53c)],qs=(_0x1ac634,_0x335623,_0xbc8fc,_0x247ce0)=>{for(var _0x3db1a6=_0x247ce0>0x1?void 0x0:_0x247ce0?Ks(_0x335623,_0xbc8fc):_0x335623,_0x20f429=_0x1ac634['length']-0x1,_0x13a353;_0x20f429>=0x0;_0x20f429--)(_0x13a353=_0x1ac634[_0x20f429])&&(_0x3db1a6=(_0x247ce0?_0x13a353(_0x335623,_0xbc8fc,_0x3db1a6):_0x13a353(_0x3db1a6))||_0x3db1a6);return _0x247ce0&&_0x3db1a6&&Ys(_0x335623,_0xbc8fc,_0x3db1a6),_0x3db1a6;},Te=(_0x43f953,_0x4a0c18)=>(_0x1e022c,_0x1a1c81)=>_0x4a0c18(_0x1e022c,_0x1a1c81,_0x43f953);exports[_0x31ef25(0x3b8)]=class extends a['RxDisposable']{constructor(_0x21c1c0,_0x55f1f0,_0x3dd711,_0x1dee72,_0x5dfe65,_0x621aad){const _0x1c837e=_0x31ef25;super(),this[_0x1c837e(0x3fc)]=_0x21c1c0,this['_logService']=_0x55f1f0,this[_0x1c837e(0x418)]=_0x3dd711,this[_0x1c837e(0x291)]=_0x1dee72,this[_0x1c837e(0x47d)]=_0x5dfe65,_0x621aad?_0x621aad==null||_0x621aad[_0x1c837e(0x4f0)]()[_0x1c837e(0x5cf)](()=>this[_0x1c837e(0x21a)]()):(this[_0x1c837e(0x60f)][_0x1c837e(0x581)](_0x1c837e(0x475),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1c837e(0x21a)]());}async['_init'](){const _0x46723e=_0x31ef25,_0x3d0644=this[_0x46723e(0x3fc)][_0x46723e(0x361)](_0x46723e(0x2ed)),_0x369ebf=this[_0x46723e(0x3fc)][_0x46723e(0x361)](_0x46723e(0x618));if(!_0x3d0644||!_0x369ebf){this[_0x46723e(0x60f)][_0x46723e(0x581)](_0x46723e(0x475),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x369ebf)){case ie['UNIVER_SHEET']:{const _0x3c96e1=await this[_0x46723e(0x482)](_0x3d0644);this[_0x46723e(0x3e4)](_0x3c96e1);break;}case ie[_0x46723e(0x459)]:{await this[_0x46723e(0x5c8)](_0x3d0644);break;}default:{this[_0x46723e(0x60f)][_0x46723e(0x220)]('[DataLoaderController]',_0x46723e(0x1c4));break;}}}async[_0x31ef25(0x3e4)](_0x200d0a){const _0x1f75f6=_0x31ef25;await this[_0x1f75f6(0x44a)](_0x200d0a),_0x200d0a['activeSheet$'][_0x1f75f6(0x37e)](A[_0x1f75f6(0x471)](this['dispose$']))['subscribe'](_0x261e44=>{const _0x4bedc8=_0x1f75f6;_0x261e44&&this[_0x4bedc8(0x22d)](_0x261e44);}),this['_urlService']['urlChange$'][_0x1f75f6(0x37e)](A[_0x1f75f6(0x471)](this['dispose$']))[_0x1f75f6(0x52d)](()=>this[_0x1f75f6(0x44a)](_0x200d0a));}['_updateURLWithCurrentState'](_0x398d14,_0x3cfcef=!0x1){const _0x23d581=_0x31ef25,_0x3aaa53=this['_urlService'][_0x23d581(0x361)](_0x23d581(0x27d));_0x398d14[_0x23d581(0x62f)]()!==_0x3aaa53&&this[_0x23d581(0x3fc)][_0x23d581(0x57f)](_0x23d581(0x27d),_0x398d14[_0x23d581(0x62f)](),_0x3cfcef);}async[_0x31ef25(0x44a)](_0x534ed1){const _0x398e3c=_0x31ef25;var _0x3cae0b;const _0x24f3db=this[_0x398e3c(0x3fc)][_0x398e3c(0x361)](_0x398e3c(0x27d));if(!_0x24f3db||!_0x534ed1['getSheetBySheetId'](_0x24f3db)){const _0x10fa43=_0x534ed1[_0x398e3c(0x5fe)]()[0x0],_0x37b0a3=_0x534ed1[_0x398e3c(0x5ab)](_0x10fa43);if(!_0x37b0a3)return;this[_0x398e3c(0x22d)](_0x37b0a3,!0x0),await this[_0x398e3c(0x418)][_0x398e3c(0x245)](B[_0x398e3c(0x574)]['id'],{'unitId':_0x534ed1[_0x398e3c(0x5ba)](),'subUnitId':_0x10fa43});return;}((_0x3cae0b=_0x534ed1[_0x398e3c(0x3fb)]())==null?void 0x0:_0x3cae0b['getSheetId']())!==_0x24f3db&&await this[_0x398e3c(0x418)][_0x398e3c(0x245)](B[_0x398e3c(0x574)]['id'],{'unitId':_0x534ed1[_0x398e3c(0x5ba)](),'subUnitId':_0x24f3db});}async[_0x31ef25(0x482)](_0x325d56){const _0x44c133=_0x31ef25;let _0x57db25=0x0;const _0x4950e0=await this['_localCacheService'][_0x44c133(0x3be)](_0x325d56);return _0x4950e0&&(_0x4950e0['awaitingChangeset']||_0x4950e0[_0x44c133(0x200)][_0x44c133(0x360)]!==0x0)&&(_0x57db25=_0x4950e0[_0x44c133(0x515)]),_0x57db25===0x0&&this[_0x44c133(0x60f)][_0x44c133(0x581)](_0x44c133(0x475),_0x44c133(0x34d)),this[_0x44c133(0x47d)][_0x44c133(0x589)](_0x325d56,_0x57db25);}async[_0x31ef25(0x5c8)](_0x9b9445){const _0x4e1604=_0x31ef25;let _0x5c4bca=0x0;const _0x4c7254=await this[_0x4e1604(0x291)][_0x4e1604(0x3be)](_0x9b9445);return _0x4c7254&&(_0x4c7254[_0x4e1604(0x258)]||_0x4c7254[_0x4e1604(0x200)]['length']!==0x0)&&(_0x5c4bca=_0x4c7254['rev']),_0x5c4bca===0x0&&this[_0x4e1604(0x60f)][_0x4e1604(0x581)](_0x4e1604(0x475),_0x4e1604(0x34d)),this['_snapshotService'][_0x4e1604(0x59b)](_0x9b9445,_0x5c4bca);}},exports['DataLoaderController']=qs([Te(0x0,wt),Te(0x1,a[_0x31ef25(0x31b)]),Te(0x2,a[_0x31ef25(0x36e)]),Te(0x3,a[_0x31ef25(0x249)](exports[_0x31ef25(0x3aa)])),Te(0x4,a[_0x31ef25(0x249)](p[_0x31ef25(0x2c3)])),Te(0x5,a['Optional']($n[_0x31ef25(0x174)]))],exports[_0x31ef25(0x3b8)]);var zs=Object[_0x31ef25(0x4c2)],Xs=Object[_0x31ef25(0x53c)],Js=(_0x1976da,_0x28a31e,_0x498b4e,_0xa6ec8d)=>{const _0x31f2b1=_0x31ef25;for(var _0x3b83cd=_0xa6ec8d>0x1?void 0x0:_0xa6ec8d?Xs(_0x28a31e,_0x498b4e):_0x28a31e,_0x1dd7f9=_0x1976da[_0x31f2b1(0x360)]-0x1,_0x1997cf;_0x1dd7f9>=0x0;_0x1dd7f9--)(_0x1997cf=_0x1976da[_0x1dd7f9])&&(_0x3b83cd=(_0xa6ec8d?_0x1997cf(_0x28a31e,_0x498b4e,_0x3b83cd):_0x1997cf(_0x3b83cd))||_0x3b83cd);return _0xa6ec8d&&_0x3b83cd&&zs(_0x28a31e,_0x498b4e,_0x3b83cd),_0x3b83cd;},Bt=(_0x388c69,_0x8d5565)=>(_0x35ebc3,_0xa79670)=>_0x8d5565(_0x35ebc3,_0xa79670,_0x388c69);const Zs=_0x31ef25(0x43f),Qs=_0x31ef25(0x393);let Ve=class extends a[_0x31ef25(0x377)]{constructor(_0x5a5735,_0x338a0d){const _0xea4826=_0x31ef25;super(),this[_0xea4826(0x2a3)]=_0x5a5735,this[_0xea4826(0x372)]=_0x338a0d,this[_0xea4826(0x21a)]();}[_0x31ef25(0x21a)](){const _0x35b745=_0x31ef25;this[_0x35b745(0x328)](this[_0x35b745(0x2a3)][_0x35b745(0x476)]['subscribe'](()=>{const _0x7bdf04=_0x35b745;var _0x31c245;const _0x532cb8=this[_0x7bdf04(0x2a3)][_0x7bdf04(0x271)]();let _0x1e7565=(_0x31c245=this[_0x7bdf04(0x372)]['getConfig'](Zs))!=null?_0x31c245:Qs;_0x532cb8 instanceof a[_0x7bdf04(0x238)]&&(_0x1e7565=_0x532cb8[_0x7bdf04(0x1a3)]),document[_0x7bdf04(0x17a)]=_0x1e7565;}));}};Ve=Js([Bt(0x0,a[_0x31ef25(0x28e)]),Bt(0x1,a[_0x31ef25(0x3ca)])],Ve);var er=Object[_0x31ef25(0x4c2)],tr=Object[_0x31ef25(0x53c)],nr=(_0x2e9755,_0x5afc21,_0x3875f0,_0x13f916)=>{const _0x24bc46=_0x31ef25;for(var _0x24640a=_0x13f916>0x1?void 0x0:_0x13f916?tr(_0x5afc21,_0x3875f0):_0x5afc21,_0x3dae55=_0x2e9755[_0x24bc46(0x360)]-0x1,_0x4e919e;_0x3dae55>=0x0;_0x3dae55--)(_0x4e919e=_0x2e9755[_0x3dae55])&&(_0x24640a=(_0x13f916?_0x4e919e(_0x5afc21,_0x3875f0,_0x24640a):_0x4e919e(_0x24640a))||_0x24640a);return _0x13f916&&_0x24640a&&er(_0x5afc21,_0x3875f0,_0x24640a),_0x24640a;},at=(_0x1c2f77,_0x1bb2e0)=>(_0x15cbd0,_0x2bce6d)=>_0x1bb2e0(_0x15cbd0,_0x2bce6d,_0x1c2f77);let Ge=class{constructor(_0x51636c,_0x45bf5e,_0x354e75){const _0x1c6fac=_0x31ef25;this[_0x1c6fac(0x372)]=_0x51636c,this[_0x1c6fac(0x2d1)]=_0x45bf5e,this[_0x1c6fac(0x4e4)]=_0x354e75,this[_0x1c6fac(0x26a)]();}[_0x31ef25(0x26a)](){const _0x5e9ac1=_0x31ef25;this[_0x5e9ac1(0x2d1)][_0x5e9ac1(0x2d6)]({'priority':0x1,'interceptor':(_0x5147b6,_0x2de914)=>_0x2de914(_0x5147b6)['pipe'](A[_0x5e9ac1(0x191)](async _0x2a5615=>{const _0x25da0=_0x5e9ac1,_0x2cecf7=_0x2a5615;if(_0x2cecf7['status']===0x191&&window[_0x25da0(0x541)](this[_0x25da0(0x4e4)]['t'](_0x25da0(0x358)))){const _0x2741cf=window[_0x25da0(0x38f)](window[_0x25da0(0x4b8)][_0x25da0(0x51a)]);window[_0x25da0(0x4b8)]['href']=this['_getLoginPath']()+_0x25da0(0x4aa)+_0x2741cf;}return _0x2cecf7;}))});}[_0x31ef25(0x453)](){const _0x522da8=_0x31ef25;var _0x41f4e5,_0x3550cf;const _0x3e73df=this[_0x522da8(0x372)][_0x522da8(0x403)](an),_0x45eb7f=this[_0x522da8(0x372)][_0x522da8(0x403)](ee);return(_0x3550cf=(_0x41f4e5=_0x45eb7f==null?void 0x0:_0x45eb7f['loginUrlKey'])!=null?_0x41f4e5:_0x3e73df)!=null?_0x3550cf:zn;}};Ge=nr([at(0x0,a[_0x31ef25(0x3ca)]),at(0x1,a[_0x31ef25(0x249)](J['HTTPService'])),at(0x2,a[_0x31ef25(0x249)](a[_0x31ef25(0x593)]))],Ge);var ir=Object[_0x31ef25(0x4c2)],sr=Object[_0x31ef25(0x53c)],rr=(_0x5849ac,_0x59cd2f,_0x346626,_0x253747)=>{const _0x545b16=_0x31ef25;for(var _0x1a26f6=_0x253747>0x1?void 0x0:_0x253747?sr(_0x59cd2f,_0x346626):_0x59cd2f,_0x2f998d=_0x5849ac[_0x545b16(0x360)]-0x1,_0x228535;_0x2f998d>=0x0;_0x2f998d--)(_0x228535=_0x5849ac[_0x2f998d])&&(_0x1a26f6=(_0x253747?_0x228535(_0x59cd2f,_0x346626,_0x1a26f6):_0x228535(_0x1a26f6))||_0x1a26f6);return _0x253747&&_0x1a26f6&&ir(_0x59cd2f,_0x346626,_0x1a26f6),_0x1a26f6;},Wt=(_0x514f29,_0x1d9050)=>(_0x1a598b,_0xb15038)=>_0x1d9050(_0x1a598b,_0xb15038,_0x514f29);const Rn=_0x31ef25(0x4be),or=_0x31ef25(0x1bf);exports[_0x31ef25(0x5a0)]=class extends a[_0x31ef25(0x377)]{constructor(_0x1a993b,_0x143a40){const _0x29783d=_0x31ef25;super(),this['_HTTPService']=_0x1a993b,this[_0x29783d(0x372)]=_0x143a40,this[_0x29783d(0x19c)]();}['_initMergeInterceptor'](){const _0x5b6c1c=_0x31ef25,_0x2af755=this;this[_0x5b6c1c(0x328)](this[_0x5b6c1c(0x385)][_0x5b6c1c(0x2d6)]({'priority':0x3e7,'interceptor':J[_0x5b6c1c(0x543)]({'isMatch'(_0x5157b9){const _0x19fd5b=_0x5b6c1c;var _0x25391e;if(_0x5157b9[_0x19fd5b(0x45d)]===_0x19fd5b(0x19e)&&((_0x25391e=_0x5157b9[_0x19fd5b(0x22a)])!=null&&_0x25391e[_0x19fd5b(0x3c1)])){const {objectID:_0x17f2b3,objectType:_0x19ede6}=_0x5157b9[_0x19fd5b(0x22a)][_0x19fd5b(0x3c1)]||{};if(!_0x17f2b3||_0x19ede6===void 0x0)return!0x1;const _0x14b0eb=_0x2af755[_0x19fd5b(0x4c0)]()+'/'+_0x19ede6+_0x19fd5b(0x359)+_0x17f2b3+'/allowed';if(_0x5157b9[_0x19fd5b(0x47c)]===_0x14b0eb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2fc54c){const _0x2e39f8=_0x5b6c1c;var _0x378af0;return(_0x378af0=_0x2fc54c['requestParams'])==null?void 0x0:_0x378af0[_0x2e39f8(0x3c1)];},'mergeParamsToRequest'(_0x438b2c,_0x421e6d){const _0x586b89=_0x5b6c1c,_0x5511f4=_0x2af755['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x532969=_0x438b2c[_0x586b89(0x1d2)]((_0x1437d9,_0x211487)=>{const _0x24a359=_0x586b89,{unitID:_0x23b313,objectID:_0x9b3377,objectType:_0x46b047,actions:_0x57e186}=_0x211487;return _0x1437d9[_0x23b313]||(_0x1437d9[_0x23b313]={}),_0x1437d9[_0x23b313][_0x9b3377]||(_0x1437d9[_0x23b313][_0x9b3377]={'objectID':_0x9b3377,'objectType':_0x46b047,'actions':[]}),_0x1437d9[_0x23b313][_0x9b3377][_0x24a359(0x426)][_0x24a359(0x285)](..._0x57e186),_0x1437d9;},{}),_0x56eed6=[];for(const _0x1d0c60 in _0x532969)for(const _0x31c586 in _0x532969[_0x1d0c60]){const {actions:_0x563709,objectType:_0x134358}=_0x532969[_0x1d0c60][_0x31c586],_0xe6b872=[...new Set(_0x563709)];_0x56eed6[_0x586b89(0x285)]({'unitID':_0x1d0c60,'objectID':_0x31c586,'objectType':_0x134358,'actions':_0xe6b872});}return new J[(_0x586b89(0x2ae))](_0x586b89(0x19e),_0x5511f4,{'headers':_0x421e6d[_0x586b89(0x5f3)],'withCredentials':_0x421e6d[_0x586b89(0x43a)],'responseType':_0x421e6d['responseType'],'body':{'requests':_0x56eed6}});}},{'distributeResult'(_0xa7ab6c,_0x4dd596){const _0x2f0a40=_0x5b6c1c,{objectActions:_0x3bac04}=_0xa7ab6c;return _0x4dd596[_0x2f0a40(0x2a9)](_0x510d05=>{const _0x3d7aae=_0x2f0a40,{unitID:_0x421c90,objectID:_0x4e99d5,actions:_0x499c6c}=_0x510d05,_0x295894=_0x3bac04[_0x3d7aae(0x1e7)](_0x1eac31=>_0x1eac31[_0x3d7aae(0x5db)]===_0x421c90&&_0x1eac31[_0x3d7aae(0x4f1)]===_0x4e99d5),_0x33b5bc=_0x499c6c[_0x3d7aae(0x2a9)](_0x589b56=>_0x295894==null?void 0x0:_0x295894[_0x3d7aae(0x426)][_0x3d7aae(0x1e7)](_0x535b34=>_0x535b34[_0x3d7aae(0x1fe)]===_0x589b56))[_0x3d7aae(0x4bd)](_0x47ca5e=>!!_0x47ca5e);return{'config':_0x510d05,'result':{'actions':_0x33b5bc,'error':_0xa7ab6c[_0x3d7aae(0x220)]}};});}})}));}[_0x31ef25(0x4c0)](){const _0xcf4ee2=_0x31ef25;var _0x961efc,_0x538a48;const _0x4e31ed=this[_0xcf4ee2(0x372)][_0xcf4ee2(0x403)](Rn),_0xb9b26c=this[_0xcf4ee2(0x372)][_0xcf4ee2(0x403)](ee);return(_0x538a48=(_0x961efc=_0xb9b26c==null?void 0x0:_0xb9b26c['authzUrl'])!=null?_0x961efc:_0x4e31ed)!=null?_0x538a48:or;}async[_0x31ef25(0x5ea)](_0x14d898){const _0x56eeea=_0x31ef25,_0x177df3=this[_0x56eeea(0x4c0)]()+'/'+_0x14d898[_0x56eeea(0x4b6)]+_0x56eeea(0x32a);return(await this[_0x56eeea(0x385)][_0x56eeea(0x45c)](_0x177df3,{'body':_0x14d898}))[_0x56eeea(0x3c1)]['objectID']||'';}async[_0x31ef25(0x3f7)](_0x1417c3){const _0x48ddbf=_0x31ef25,_0x241e4f=this['_getAPIPrefixPath']()+_0x48ddbf(0x489);return(await this[_0x48ddbf(0x385)][_0x48ddbf(0x45c)](_0x241e4f,{'body':_0x1417c3}))[_0x48ddbf(0x3c1)][_0x48ddbf(0x62d)];}async[_0x31ef25(0x5e4)](_0x5de208){const _0x13be5f=_0x31ef25,_0x4ba7d2=this['_getAPIPrefixPath']()+'/'+_0x5de208[_0x13be5f(0x4b6)]+_0x13be5f(0x359)+_0x5de208[_0x13be5f(0x4f1)];await this[_0x13be5f(0x385)][_0x13be5f(0x2fa)](_0x4ba7d2,{'body':_0x5de208});}async[_0x31ef25(0x3e5)](_0x411729){const _0xf619d3=_0x31ef25,_0x1bfd8c=this[_0xf619d3(0x4c0)]()+'/'+_0x411729[_0xf619d3(0x4b6)]+_0xf619d3(0x359)+_0x411729[_0xf619d3(0x4f1)]+_0xf619d3(0x2ac);return(await this['_HTTPService'][_0xf619d3(0x45c)](_0x1bfd8c,{'body':_0x411729}))[_0xf619d3(0x3c1)]['actions'];}async[_0x31ef25(0x414)](_0x19764d){const _0x4e5cc1=_0x31ef25,_0x2243a7=this[_0x4e5cc1(0x4c0)]()+'/-/object/-/batch_allowed';return(await this[_0x4e5cc1(0x385)][_0x4e5cc1(0x45c)](_0x2243a7,{'body':{'requests':_0x19764d}}))[_0x4e5cc1(0x3c1)]['objectActions'];}async[_0x31ef25(0x17d)](_0x158027){const _0x5e92db=_0x31ef25,_0x350262=this['_getAPIPrefixPath']()+'/'+_0x158027[_0x5e92db(0x4b6)]+_0x5e92db(0x4b7),_0x16d5e3=await this[_0x5e92db(0x385)][_0x5e92db(0x45c)](_0x350262,{'body':_0x158027});return{'roles':_0x16d5e3[_0x5e92db(0x3c1)][_0x5e92db(0x364)],'actions':_0x16d5e3['body'][_0x5e92db(0x426)]};}async[_0x31ef25(0x3ab)](_0x293199){const _0x4bc5b6=_0x31ef25,_0x4efe1d=this[_0x4bc5b6(0x4c0)]()+_0x4bc5b6(0x5c3);await this[_0x4bc5b6(0x385)]['delete'](_0x4efe1d,{'params':{'collaboratorID':_0x293199['collaboratorID'],'objectID':_0x293199['objectID'],'unitID':_0x293199[_0x4bc5b6(0x5db)]}});}async[_0x31ef25(0x5c5)](_0x29a3b4){const _0x2b48a7=_0x31ef25,_0x1b881c=this[_0x2b48a7(0x4c0)]()+_0x2b48a7(0x5c3);await this['_HTTPService'][_0x2b48a7(0x37c)](_0x1b881c,{'body':_0x29a3b4});}async[_0x31ef25(0x421)](_0x3514b2){const _0x73ff60=_0x31ef25,_0xe28a36=this[_0x73ff60(0x4c0)]()+_0x73ff60(0x5c3);await this[_0x73ff60(0x385)]['post'](_0xe28a36,{'body':_0x3514b2});}async['listCollaborators'](_0x982630){const _0xb52a2e=_0x31ef25,_0x3c0bda=this[_0xb52a2e(0x4c0)]()+'/collaborator';return(await this['_HTTPService']['get'](_0x3c0bda,{'params':{'objectID':_0x982630['objectID'],'unitID':_0x982630[_0xb52a2e(0x5db)]}}))[_0xb52a2e(0x3c1)][_0xb52a2e(0x524)];}async[_0x31ef25(0x1b4)](_0x1bdd07){const _0x3f9e31=_0x31ef25,_0x42be77=this[_0x3f9e31(0x4c0)]()+_0x3f9e31(0x5c3);await this[_0x3f9e31(0x385)][_0x3f9e31(0x2fa)](_0x42be77,{'body':_0x1bdd07});}},exports[_0x31ef25(0x5a0)]=rr([Wt(0x0,a['Inject'](J[_0x31ef25(0x5a8)])),Wt(0x1,a[_0x31ef25(0x249)](a[_0x31ef25(0x3ca)]))],exports[_0x31ef25(0x5a0)]);var yn={'exports':{}};function ar(_0x18b8b8){const _0x27a80e=_0x31ef25;throw new Error(_0x27a80e(0x343)+_0x18b8b8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Ft;function oe(){const _0x2ea5d3=_0x31ef25;return Ft||(Ft=0x1,function(_0x2e108f,_0x480e2e){(function(_0x423d0d,_0x2010ba){_0x2e108f['exports']=_0x2010ba();}(X,function(){var _0x37d145=_0x37d145||function(_0xe2f609,_0x1b94f0){const _0x5f386a=_0x47c6;var _0x4e6836;if(typeof window<'u'&&window[_0x5f386a(0x40e)]&&(_0x4e6836=window[_0x5f386a(0x40e)]),typeof self<'u'&&self[_0x5f386a(0x40e)]&&(_0x4e6836=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5f386a(0x40e)]&&(_0x4e6836=globalThis['crypto']),!_0x4e6836&&typeof window<'u'&&window[_0x5f386a(0x1fa)]&&(_0x4e6836=window[_0x5f386a(0x1fa)]),!_0x4e6836&&typeof X<'u'&&X[_0x5f386a(0x40e)]&&(_0x4e6836=X['crypto']),!_0x4e6836&&typeof ar==_0x5f386a(0x251))try{_0x4e6836=require(_0x5f386a(0x40e));}catch{}var _0x2b0fad=function(){const _0xad7f=_0x5f386a;if(_0x4e6836){if(typeof _0x4e6836[_0xad7f(0x18a)]==_0xad7f(0x251))try{return _0x4e6836['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e6836[_0xad7f(0x62c)]==_0xad7f(0x251))try{return _0x4e6836['randomBytes'](0x4)[_0xad7f(0x1ca)]();}catch{}}throw new Error(_0xad7f(0x468));},_0x410bac=Object['create']||(function(){function _0x11d92a(){}return function(_0x442283){const _0x858c4c=_0x47c6;var _0x47a9af;return _0x11d92a[_0x858c4c(0x3cf)]=_0x442283,_0x47a9af=new _0x11d92a(),_0x11d92a['prototype']=null,_0x47a9af;};}()),_0x5c8f17={},_0x11bb99=_0x5c8f17[_0x5f386a(0x410)]={},_0xd9965a=_0x11bb99[_0x5f386a(0x222)]=(function(){return{'extend':function(_0x457a21){const _0x4b8ce8=_0x47c6;var _0x151e18=_0x410bac(this);return _0x457a21&&_0x151e18['mixIn'](_0x457a21),(!_0x151e18[_0x4b8ce8(0x295)](_0x4b8ce8(0x26a))||this[_0x4b8ce8(0x26a)]===_0x151e18[_0x4b8ce8(0x26a)])&&(_0x151e18[_0x4b8ce8(0x26a)]=function(){const _0x259db4=_0x4b8ce8;_0x151e18[_0x259db4(0x2f5)][_0x259db4(0x26a)][_0x259db4(0x23e)](this,arguments);}),_0x151e18[_0x4b8ce8(0x26a)][_0x4b8ce8(0x3cf)]=_0x151e18,_0x151e18['$super']=this,_0x151e18;},'create':function(){const _0xf03e98=_0x47c6;var _0x1be7f5=this[_0xf03e98(0x2a4)]();return _0x1be7f5['init'][_0xf03e98(0x23e)](_0x1be7f5,arguments),_0x1be7f5;},'init':function(){},'mixIn':function(_0x42380d){const _0x372cf4=_0x47c6;for(var _0x8c6e84 in _0x42380d)_0x42380d[_0x372cf4(0x295)](_0x8c6e84)&&(this[_0x8c6e84]=_0x42380d[_0x8c6e84]);_0x42380d[_0x372cf4(0x295)](_0x372cf4(0x5dd))&&(this[_0x372cf4(0x5dd)]=_0x42380d[_0x372cf4(0x5dd)]);},'clone':function(){const _0x366a5f=_0x47c6;return this[_0x366a5f(0x26a)][_0x366a5f(0x3cf)]['extend'](this);}};}()),_0x5bbed4=_0x11bb99['WordArray']=_0xd9965a['extend']({'init':function(_0xc0e3af,_0x2681ae){const _0x347ff3=_0x5f386a;_0xc0e3af=this[_0x347ff3(0x1dd)]=_0xc0e3af||[],_0x2681ae!=_0x1b94f0?this[_0x347ff3(0x48a)]=_0x2681ae:this['sigBytes']=_0xc0e3af[_0x347ff3(0x360)]*0x4;},'toString':function(_0xaa6b48){const _0xb600e9=_0x5f386a;return(_0xaa6b48||_0x122584)[_0xb600e9(0x557)](this);},'concat':function(_0x1b5b19){const _0x2ea998=_0x5f386a;var _0xe5dbc1=this[_0x2ea998(0x1dd)],_0x25bd7b=_0x1b5b19[_0x2ea998(0x1dd)],_0xe97194=this[_0x2ea998(0x48a)],_0x1866f9=_0x1b5b19[_0x2ea998(0x48a)];if(this[_0x2ea998(0x1e0)](),_0xe97194%0x4)for(var _0x34627f=0x0;_0x34627f<_0x1866f9;_0x34627f++){var _0xa5940d=_0x25bd7b[_0x34627f>>>0x2]>>>0x18-_0x34627f%0x4*0x8&0xff;_0xe5dbc1[_0xe97194+_0x34627f>>>0x2]|=_0xa5940d<<0x18-(_0xe97194+_0x34627f)%0x4*0x8;}else{for(var _0x21635b=0x0;_0x21635b<_0x1866f9;_0x21635b+=0x4)_0xe5dbc1[_0xe97194+_0x21635b>>>0x2]=_0x25bd7b[_0x21635b>>>0x2];}return this['sigBytes']+=_0x1866f9,this;},'clamp':function(){const _0x20f32a=_0x5f386a;var _0x110517=this[_0x20f32a(0x1dd)],_0x111c61=this['sigBytes'];_0x110517[_0x111c61>>>0x2]&=0xffffffff<<0x20-_0x111c61%0x4*0x8,_0x110517[_0x20f32a(0x360)]=_0xe2f609[_0x20f32a(0x1ab)](_0x111c61/0x4);},'clone':function(){const _0x4f27c2=_0x5f386a;var _0x15b31a=_0xd9965a[_0x4f27c2(0x300)]['call'](this);return _0x15b31a[_0x4f27c2(0x1dd)]=this['words']['slice'](0x0),_0x15b31a;},'random':function(_0x50d31b){const _0x4fa2dc=_0x5f386a;for(var _0x2a044f=[],_0x3f15bf=0x0;_0x3f15bf<_0x50d31b;_0x3f15bf+=0x4)_0x2a044f[_0x4fa2dc(0x285)](_0x2b0fad());return new _0x5bbed4[(_0x4fa2dc(0x26a))](_0x2a044f,_0x50d31b);}}),_0x4f62c2=_0x5c8f17[_0x5f386a(0x39e)]={},_0x122584=_0x4f62c2['Hex']={'stringify':function(_0x435263){const _0x4eaeca=_0x5f386a;for(var _0x4bb3b0=_0x435263[_0x4eaeca(0x1dd)],_0x48c415=_0x435263[_0x4eaeca(0x48a)],_0x1ee0c6=[],_0x57a3e0=0x0;_0x57a3e0<_0x48c415;_0x57a3e0++){var _0x33860d=_0x4bb3b0[_0x57a3e0>>>0x2]>>>0x18-_0x57a3e0%0x4*0x8&0xff;_0x1ee0c6['push']((_0x33860d>>>0x4)['toString'](0x10)),_0x1ee0c6[_0x4eaeca(0x285)]((_0x33860d&0xf)[_0x4eaeca(0x5dd)](0x10));}return _0x1ee0c6[_0x4eaeca(0x247)]('');},'parse':function(_0x57eead){const _0x5d33f3=_0x5f386a;for(var _0x10d549=_0x57eead[_0x5d33f3(0x360)],_0x5b8a71=[],_0x3ebcbf=0x0;_0x3ebcbf<_0x10d549;_0x3ebcbf+=0x2)_0x5b8a71[_0x3ebcbf>>>0x3]|=parseInt(_0x57eead[_0x5d33f3(0x30e)](_0x3ebcbf,0x2),0x10)<<0x18-_0x3ebcbf%0x8*0x4;return new _0x5bbed4[(_0x5d33f3(0x26a))](_0x5b8a71,_0x10d549/0x2);}},_0x32a1d5=_0x4f62c2[_0x5f386a(0x504)]={'stringify':function(_0x130e97){const _0x2611d4=_0x5f386a;for(var _0x2ef4c2=_0x130e97['words'],_0x56ba15=_0x130e97['sigBytes'],_0x226c07=[],_0x126433=0x0;_0x126433<_0x56ba15;_0x126433++){var _0x2836bf=_0x2ef4c2[_0x126433>>>0x2]>>>0x18-_0x126433%0x4*0x8&0xff;_0x226c07['push'](String[_0x2611d4(0x2df)](_0x2836bf));}return _0x226c07[_0x2611d4(0x247)]('');},'parse':function(_0x1e7d9e){const _0x5c840f=_0x5f386a;for(var _0x2a5f80=_0x1e7d9e[_0x5c840f(0x360)],_0x28fa7a=[],_0x3f70c4=0x0;_0x3f70c4<_0x2a5f80;_0x3f70c4++)_0x28fa7a[_0x3f70c4>>>0x2]|=(_0x1e7d9e['charCodeAt'](_0x3f70c4)&0xff)<<0x18-_0x3f70c4%0x4*0x8;return new _0x5bbed4[(_0x5c840f(0x26a))](_0x28fa7a,_0x2a5f80);}},_0x3c712c=_0x4f62c2[_0x5f386a(0x4f5)]={'stringify':function(_0x3a87a9){const _0x3b768e=_0x5f386a;try{return decodeURIComponent(escape(_0x32a1d5[_0x3b768e(0x557)](_0x3a87a9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x277c71){return _0x32a1d5['parse'](unescape(encodeURIComponent(_0x277c71)));}},_0x2db79f=_0x11bb99[_0x5f386a(0x55d)]=_0xd9965a[_0x5f386a(0x2a4)]({'reset':function(){const _0x523c39=_0x5f386a;this[_0x523c39(0x569)]=new _0x5bbed4['init'](),this[_0x523c39(0x26f)]=0x0;},'_append':function(_0x3e7596){const _0x35d961=_0x5f386a;typeof _0x3e7596==_0x35d961(0x4cf)&&(_0x3e7596=_0x3c712c[_0x35d961(0x5ef)](_0x3e7596)),this['_data'][_0x35d961(0x265)](_0x3e7596),this[_0x35d961(0x26f)]+=_0x3e7596[_0x35d961(0x48a)];},'_process':function(_0x20bbc0){const _0x4967ff=_0x5f386a;var _0x1200d1,_0x3d0605=this['_data'],_0x3d160a=_0x3d0605[_0x4967ff(0x1dd)],_0x165926=_0x3d0605['sigBytes'],_0x5bac40=this['blockSize'],_0x5364b8=_0x5bac40*0x4,_0x51e9be=_0x165926/_0x5364b8;_0x20bbc0?_0x51e9be=_0xe2f609[_0x4967ff(0x1ab)](_0x51e9be):_0x51e9be=_0xe2f609[_0x4967ff(0x341)]((_0x51e9be|0x0)-this[_0x4967ff(0x61b)],0x0);var _0x580de4=_0x51e9be*_0x5bac40,_0x432a7e=_0xe2f609[_0x4967ff(0x425)](_0x580de4*0x4,_0x165926);if(_0x580de4){for(var _0xa0698f=0x0;_0xa0698f<_0x580de4;_0xa0698f+=_0x5bac40)this[_0x4967ff(0x3fd)](_0x3d160a,_0xa0698f);_0x1200d1=_0x3d160a[_0x4967ff(0x485)](0x0,_0x580de4),_0x3d0605[_0x4967ff(0x48a)]-=_0x432a7e;}return new _0x5bbed4[(_0x4967ff(0x26a))](_0x1200d1,_0x432a7e);},'clone':function(){const _0x1937b8=_0x5f386a;var _0xc4ce36=_0xd9965a[_0x1937b8(0x300)][_0x1937b8(0x32b)](this);return _0xc4ce36[_0x1937b8(0x569)]=this[_0x1937b8(0x569)][_0x1937b8(0x300)](),_0xc4ce36;},'_minBufferSize':0x0});_0x11bb99[_0x5f386a(0x269)]=_0x2db79f[_0x5f386a(0x2a4)]({'cfg':_0xd9965a[_0x5f386a(0x2a4)](),'init':function(_0xf81734){const _0x1c1d9e=_0x5f386a;this[_0x1c1d9e(0x5f1)]=this[_0x1c1d9e(0x5f1)][_0x1c1d9e(0x2a4)](_0xf81734),this['reset']();},'reset':function(){const _0x567acb=_0x5f386a;_0x2db79f[_0x567acb(0x22b)][_0x567acb(0x32b)](this),this[_0x567acb(0x5b3)]();},'update':function(_0x56d164){const _0xeefe2b=_0x5f386a;return this['_append'](_0x56d164),this[_0xeefe2b(0x3c0)](),this;},'finalize':function(_0x80c247){const _0xea244a=_0x5f386a;_0x80c247&&this[_0xea244a(0x342)](_0x80c247);var _0x14fa33=this[_0xea244a(0x500)]();return _0x14fa33;},'blockSize':0x10,'_createHelper':function(_0x4adb27){return function(_0x173cd1,_0x1484a){const _0x3fde30=_0x47c6;return new _0x4adb27[(_0x3fde30(0x26a))](_0x1484a)['finalize'](_0x173cd1);};},'_createHmacHelper':function(_0x1f63b7){return function(_0x14b5f6,_0x1b272e){const _0x5179c3=_0x47c6;return new _0x4c6960[(_0x5179c3(0x530))]['init'](_0x1f63b7,_0x1b272e)[_0x5179c3(0x40f)](_0x14b5f6);};}});var _0x4c6960=_0x5c8f17[_0x5f386a(0x1ba)]={};return _0x5c8f17;}(Math);return _0x37d145;}));}(ct)),ct[_0x2ea5d3(0x353)];}var lt={'exports':{}},Vt;function On(){return Vt||(Vt=0x1,function(_0x59b204,_0x785e4a){(function(_0x529c97,_0x2ae1d5){const _0x525537=_0x47c6;_0x59b204[_0x525537(0x353)]=_0x2ae1d5(oe());}(X,function(_0x5182b5){const _0x1bca8f=_0x47c6;return(function(){const _0x135982=_0x47c6;var _0x3a62d8=_0x5182b5,_0x2abd9d=_0x3a62d8['lib'],_0xb82db2=_0x2abd9d[_0x135982(0x370)],_0x3e7e38=_0x3a62d8['enc'];_0x3e7e38[_0x135982(0x29a)]={'stringify':function(_0x155857){const _0x2e8510=_0x135982;var _0x57eb2f=_0x155857[_0x2e8510(0x1dd)],_0xa0b3d8=_0x155857[_0x2e8510(0x48a)],_0x25bba3=this[_0x2e8510(0x37d)];_0x155857[_0x2e8510(0x1e0)]();for(var _0x1ea513=[],_0x25d0ca=0x0;_0x25d0ca<_0xa0b3d8;_0x25d0ca+=0x3)for(var _0x43e2dc=_0x57eb2f[_0x25d0ca>>>0x2]>>>0x18-_0x25d0ca%0x4*0x8&0xff,_0x491b5a=_0x57eb2f[_0x25d0ca+0x1>>>0x2]>>>0x18-(_0x25d0ca+0x1)%0x4*0x8&0xff,_0x136e6c=_0x57eb2f[_0x25d0ca+0x2>>>0x2]>>>0x18-(_0x25d0ca+0x2)%0x4*0x8&0xff,_0x263e29=_0x43e2dc<<0x10|_0x491b5a<<0x8|_0x136e6c,_0x48c991=0x0;_0x48c991<0x4&&_0x25d0ca+_0x48c991*0.75<_0xa0b3d8;_0x48c991++)_0x1ea513[_0x2e8510(0x285)](_0x25bba3[_0x2e8510(0x2be)](_0x263e29>>>0x6*(0x3-_0x48c991)&0x3f));var _0x409025=_0x25bba3[_0x2e8510(0x2be)](0x40);if(_0x409025){for(;_0x1ea513[_0x2e8510(0x360)]%0x4;)_0x1ea513[_0x2e8510(0x285)](_0x409025);}return _0x1ea513[_0x2e8510(0x247)]('');},'parse':function(_0x2608ed){const _0x48430a=_0x135982;var _0x2c06fa=_0x2608ed[_0x48430a(0x360)],_0x1a3928=this[_0x48430a(0x37d)],_0x1002fb=this['_reverseMap'];if(!_0x1002fb){_0x1002fb=this[_0x48430a(0x484)]=[];for(var _0x38938b=0x0;_0x38938b<_0x1a3928[_0x48430a(0x360)];_0x38938b++)_0x1002fb[_0x1a3928[_0x48430a(0x614)](_0x38938b)]=_0x38938b;}var _0x267518=_0x1a3928[_0x48430a(0x2be)](0x40);if(_0x267518){var _0x3c1700=_0x2608ed['indexOf'](_0x267518);_0x3c1700!==-0x1&&(_0x2c06fa=_0x3c1700);}return _0x5b7678(_0x2608ed,_0x2c06fa,_0x1002fb);},'_map':_0x135982(0x242)};function _0x5b7678(_0x2cae90,_0x24db69,_0x880fc){const _0x468c38=_0x135982;for(var _0x593dbb=[],_0x72a83d=0x0,_0xe65dfd=0x0;_0xe65dfd<_0x24db69;_0xe65dfd++)if(_0xe65dfd%0x4){var _0x41e3f9=_0x880fc[_0x2cae90['charCodeAt'](_0xe65dfd-0x1)]<<_0xe65dfd%0x4*0x2,_0x22a564=_0x880fc[_0x2cae90[_0x468c38(0x614)](_0xe65dfd)]>>>0x6-_0xe65dfd%0x4*0x2,_0x331241=_0x41e3f9|_0x22a564;_0x593dbb[_0x72a83d>>>0x2]|=_0x331241<<0x18-_0x72a83d%0x4*0x8,_0x72a83d++;}return _0xb82db2['create'](_0x593dbb,_0x72a83d);}}()),_0x5182b5[_0x1bca8f(0x39e)][_0x1bca8f(0x29a)];}));}(lt)),lt['exports'];}var ht={'exports':{}},Gt;function cr(){return Gt||(Gt=0x1,function(_0x5b962e,_0x369fac){(function(_0x567c71,_0x577a1b){const _0x50cfc8=_0x47c6;_0x5b962e[_0x50cfc8(0x353)]=_0x577a1b(oe());}(X,function(_0x597cf4){const _0x9cc94b=_0x47c6;return function(_0x5bf276){const _0xf7ca6f=_0x47c6;var _0x1ce730=_0x597cf4,_0x2e9395=_0x1ce730[_0xf7ca6f(0x410)],_0x334feb=_0x2e9395['WordArray'],_0x55873a=_0x2e9395[_0xf7ca6f(0x269)],_0x1814b9=_0x1ce730[_0xf7ca6f(0x1ba)],_0x540752=[];(function(){const _0x3f740f=_0xf7ca6f;for(var _0x1592db=0x0;_0x1592db<0x40;_0x1592db++)_0x540752[_0x1592db]=_0x5bf276['abs'](_0x5bf276[_0x3f740f(0x506)](_0x1592db+0x1))*0x100000000|0x0;}());var _0x18db7f=_0x1814b9[_0xf7ca6f(0x2b1)]=_0x55873a[_0xf7ca6f(0x2a4)]({'_doReset':function(){const _0x3a379d=_0xf7ca6f;this[_0x3a379d(0x411)]=new _0x334feb[(_0x3a379d(0x26a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x49cfaa,_0x24ff03){const _0x3e9c9b=_0xf7ca6f;for(var _0x5764f4=0x0;_0x5764f4<0x10;_0x5764f4++){var _0x47219=_0x24ff03+_0x5764f4,_0x4718b2=_0x49cfaa[_0x47219];_0x49cfaa[_0x47219]=(_0x4718b2<<0x8|_0x4718b2>>>0x18)&0xff00ff|(_0x4718b2<<0x18|_0x4718b2>>>0x8)&0xff00ff00;}var _0x14c798=this[_0x3e9c9b(0x411)][_0x3e9c9b(0x1dd)],_0x370cd3=_0x49cfaa[_0x24ff03+0x0],_0x2e614e=_0x49cfaa[_0x24ff03+0x1],_0x269491=_0x49cfaa[_0x24ff03+0x2],_0xa90d53=_0x49cfaa[_0x24ff03+0x3],_0x20ef59=_0x49cfaa[_0x24ff03+0x4],_0x6ccd53=_0x49cfaa[_0x24ff03+0x5],_0x5b3763=_0x49cfaa[_0x24ff03+0x6],_0x23d15f=_0x49cfaa[_0x24ff03+0x7],_0x5d3964=_0x49cfaa[_0x24ff03+0x8],_0x2effed=_0x49cfaa[_0x24ff03+0x9],_0x64061d=_0x49cfaa[_0x24ff03+0xa],_0x5ab0e3=_0x49cfaa[_0x24ff03+0xb],_0x2be1a3=_0x49cfaa[_0x24ff03+0xc],_0xd7b91e=_0x49cfaa[_0x24ff03+0xd],_0x4fc7ae=_0x49cfaa[_0x24ff03+0xe],_0x4ed972=_0x49cfaa[_0x24ff03+0xf],_0x171664=_0x14c798[0x0],_0x1b82f9=_0x14c798[0x1],_0x483db5=_0x14c798[0x2],_0x452f0f=_0x14c798[0x3];_0x171664=_0x2c633b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x370cd3,0x7,_0x540752[0x0]),_0x452f0f=_0x2c633b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x2e614e,0xc,_0x540752[0x1]),_0x483db5=_0x2c633b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x269491,0x11,_0x540752[0x2]),_0x1b82f9=_0x2c633b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0xa90d53,0x16,_0x540752[0x3]),_0x171664=_0x2c633b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x20ef59,0x7,_0x540752[0x4]),_0x452f0f=_0x2c633b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x6ccd53,0xc,_0x540752[0x5]),_0x483db5=_0x2c633b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x5b3763,0x11,_0x540752[0x6]),_0x1b82f9=_0x2c633b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x23d15f,0x16,_0x540752[0x7]),_0x171664=_0x2c633b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x5d3964,0x7,_0x540752[0x8]),_0x452f0f=_0x2c633b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x2effed,0xc,_0x540752[0x9]),_0x483db5=_0x2c633b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x64061d,0x11,_0x540752[0xa]),_0x1b82f9=_0x2c633b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x5ab0e3,0x16,_0x540752[0xb]),_0x171664=_0x2c633b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2be1a3,0x7,_0x540752[0xc]),_0x452f0f=_0x2c633b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0xd7b91e,0xc,_0x540752[0xd]),_0x483db5=_0x2c633b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x4fc7ae,0x11,_0x540752[0xe]),_0x1b82f9=_0x2c633b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x4ed972,0x16,_0x540752[0xf]),_0x171664=_0x57a29a(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2e614e,0x5,_0x540752[0x10]),_0x452f0f=_0x57a29a(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x5b3763,0x9,_0x540752[0x11]),_0x483db5=_0x57a29a(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x5ab0e3,0xe,_0x540752[0x12]),_0x1b82f9=_0x57a29a(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x370cd3,0x14,_0x540752[0x13]),_0x171664=_0x57a29a(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x6ccd53,0x5,_0x540752[0x14]),_0x452f0f=_0x57a29a(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x64061d,0x9,_0x540752[0x15]),_0x483db5=_0x57a29a(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x4ed972,0xe,_0x540752[0x16]),_0x1b82f9=_0x57a29a(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x20ef59,0x14,_0x540752[0x17]),_0x171664=_0x57a29a(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2effed,0x5,_0x540752[0x18]),_0x452f0f=_0x57a29a(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x4fc7ae,0x9,_0x540752[0x19]),_0x483db5=_0x57a29a(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0xa90d53,0xe,_0x540752[0x1a]),_0x1b82f9=_0x57a29a(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x5d3964,0x14,_0x540752[0x1b]),_0x171664=_0x57a29a(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0xd7b91e,0x5,_0x540752[0x1c]),_0x452f0f=_0x57a29a(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x269491,0x9,_0x540752[0x1d]),_0x483db5=_0x57a29a(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x23d15f,0xe,_0x540752[0x1e]),_0x1b82f9=_0x57a29a(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x2be1a3,0x14,_0x540752[0x1f]),_0x171664=_0x32394b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x6ccd53,0x4,_0x540752[0x20]),_0x452f0f=_0x32394b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x5d3964,0xb,_0x540752[0x21]),_0x483db5=_0x32394b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x5ab0e3,0x10,_0x540752[0x22]),_0x1b82f9=_0x32394b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x4fc7ae,0x17,_0x540752[0x23]),_0x171664=_0x32394b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2e614e,0x4,_0x540752[0x24]),_0x452f0f=_0x32394b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x20ef59,0xb,_0x540752[0x25]),_0x483db5=_0x32394b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x23d15f,0x10,_0x540752[0x26]),_0x1b82f9=_0x32394b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x64061d,0x17,_0x540752[0x27]),_0x171664=_0x32394b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0xd7b91e,0x4,_0x540752[0x28]),_0x452f0f=_0x32394b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x370cd3,0xb,_0x540752[0x29]),_0x483db5=_0x32394b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0xa90d53,0x10,_0x540752[0x2a]),_0x1b82f9=_0x32394b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x5b3763,0x17,_0x540752[0x2b]),_0x171664=_0x32394b(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2effed,0x4,_0x540752[0x2c]),_0x452f0f=_0x32394b(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x2be1a3,0xb,_0x540752[0x2d]),_0x483db5=_0x32394b(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x4ed972,0x10,_0x540752[0x2e]),_0x1b82f9=_0x32394b(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x269491,0x17,_0x540752[0x2f]),_0x171664=_0x22d62c(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x370cd3,0x6,_0x540752[0x30]),_0x452f0f=_0x22d62c(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x23d15f,0xa,_0x540752[0x31]),_0x483db5=_0x22d62c(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x4fc7ae,0xf,_0x540752[0x32]),_0x1b82f9=_0x22d62c(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x6ccd53,0x15,_0x540752[0x33]),_0x171664=_0x22d62c(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x2be1a3,0x6,_0x540752[0x34]),_0x452f0f=_0x22d62c(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0xa90d53,0xa,_0x540752[0x35]),_0x483db5=_0x22d62c(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x64061d,0xf,_0x540752[0x36]),_0x1b82f9=_0x22d62c(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x2e614e,0x15,_0x540752[0x37]),_0x171664=_0x22d62c(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x5d3964,0x6,_0x540752[0x38]),_0x452f0f=_0x22d62c(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x4ed972,0xa,_0x540752[0x39]),_0x483db5=_0x22d62c(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x5b3763,0xf,_0x540752[0x3a]),_0x1b82f9=_0x22d62c(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0xd7b91e,0x15,_0x540752[0x3b]),_0x171664=_0x22d62c(_0x171664,_0x1b82f9,_0x483db5,_0x452f0f,_0x20ef59,0x6,_0x540752[0x3c]),_0x452f0f=_0x22d62c(_0x452f0f,_0x171664,_0x1b82f9,_0x483db5,_0x5ab0e3,0xa,_0x540752[0x3d]),_0x483db5=_0x22d62c(_0x483db5,_0x452f0f,_0x171664,_0x1b82f9,_0x269491,0xf,_0x540752[0x3e]),_0x1b82f9=_0x22d62c(_0x1b82f9,_0x483db5,_0x452f0f,_0x171664,_0x2effed,0x15,_0x540752[0x3f]),_0x14c798[0x0]=_0x14c798[0x0]+_0x171664|0x0,_0x14c798[0x1]=_0x14c798[0x1]+_0x1b82f9|0x0,_0x14c798[0x2]=_0x14c798[0x2]+_0x483db5|0x0,_0x14c798[0x3]=_0x14c798[0x3]+_0x452f0f|0x0;},'_doFinalize':function(){const _0x2d13aa=_0xf7ca6f;var _0x2f54ba=this[_0x2d13aa(0x569)],_0x18925c=_0x2f54ba[_0x2d13aa(0x1dd)],_0x66603a=this['_nDataBytes']*0x8,_0x20125b=_0x2f54ba['sigBytes']*0x8;_0x18925c[_0x20125b>>>0x5]|=0x80<<0x18-_0x20125b%0x20;var _0x3073b5=_0x5bf276[_0x2d13aa(0x3ba)](_0x66603a/0x100000000),_0x1baa87=_0x66603a;_0x18925c[(_0x20125b+0x40>>>0x9<<0x4)+0xf]=(_0x3073b5<<0x8|_0x3073b5>>>0x18)&0xff00ff|(_0x3073b5<<0x18|_0x3073b5>>>0x8)&0xff00ff00,_0x18925c[(_0x20125b+0x40>>>0x9<<0x4)+0xe]=(_0x1baa87<<0x8|_0x1baa87>>>0x18)&0xff00ff|(_0x1baa87<<0x18|_0x1baa87>>>0x8)&0xff00ff00,_0x2f54ba[_0x2d13aa(0x48a)]=(_0x18925c[_0x2d13aa(0x360)]+0x1)*0x4,this[_0x2d13aa(0x3c0)]();for(var _0x4e06de=this['_hash'],_0x7899fb=_0x4e06de[_0x2d13aa(0x1dd)],_0x2da46c=0x0;_0x2da46c<0x4;_0x2da46c++){var _0x5367d6=_0x7899fb[_0x2da46c];_0x7899fb[_0x2da46c]=(_0x5367d6<<0x8|_0x5367d6>>>0x18)&0xff00ff|(_0x5367d6<<0x18|_0x5367d6>>>0x8)&0xff00ff00;}return _0x4e06de;},'clone':function(){const _0x5f2e7e=_0xf7ca6f;var _0x56174d=_0x55873a[_0x5f2e7e(0x300)][_0x5f2e7e(0x32b)](this);return _0x56174d[_0x5f2e7e(0x411)]=this['_hash'][_0x5f2e7e(0x300)](),_0x56174d;}});function _0x2c633b(_0x8bf97d,_0xe793ec,_0x2d8f99,_0x2903f0,_0x3a466d,_0x1536ca,_0x16026b){var _0x43696f=_0x8bf97d+(_0xe793ec&_0x2d8f99|~_0xe793ec&_0x2903f0)+_0x3a466d+_0x16026b;return(_0x43696f<<_0x1536ca|_0x43696f>>>0x20-_0x1536ca)+_0xe793ec;}function _0x57a29a(_0x3bcb9a,_0x5c070c,_0x4b55e8,_0x3d2013,_0x1eecd3,_0x32cea8,_0x6e1f99){var _0x9567d8=_0x3bcb9a+(_0x5c070c&_0x3d2013|_0x4b55e8&~_0x3d2013)+_0x1eecd3+_0x6e1f99;return(_0x9567d8<<_0x32cea8|_0x9567d8>>>0x20-_0x32cea8)+_0x5c070c;}function _0x32394b(_0x5bdff8,_0x28bc27,_0x208cb5,_0x187d30,_0x2587a4,_0x25e415,_0x43c3ba){var _0x1f2cbb=_0x5bdff8+(_0x28bc27^_0x208cb5^_0x187d30)+_0x2587a4+_0x43c3ba;return(_0x1f2cbb<<_0x25e415|_0x1f2cbb>>>0x20-_0x25e415)+_0x28bc27;}function _0x22d62c(_0x5c0609,_0x5ed3b0,_0x33f662,_0x1c30f5,_0x4bcfbb,_0xc9912,_0xc7b6be){var _0x467f79=_0x5c0609+(_0x33f662^(_0x5ed3b0|~_0x1c30f5))+_0x4bcfbb+_0xc7b6be;return(_0x467f79<<_0xc9912|_0x467f79>>>0x20-_0xc9912)+_0x5ed3b0;}_0x1ce730['MD5']=_0x55873a[_0xf7ca6f(0x634)](_0x18db7f),_0x1ce730[_0xf7ca6f(0x59e)]=_0x55873a[_0xf7ca6f(0x40d)](_0x18db7f);}(Math),_0x597cf4[_0x9cc94b(0x2b1)];}));}(ht)),ht['exports'];}var _t={'exports':{}},ut={'exports':{}},Yt;function lr(){return Yt||(Yt=0x1,function(_0x5a7bb5,_0x51b2f7){(function(_0x564f12,_0x3c9b95){const _0x2c5603=_0x47c6;_0x5a7bb5[_0x2c5603(0x353)]=_0x3c9b95(oe());}(X,function(_0x1c17a7){const _0x427f6d=_0x47c6;return(function(){const _0x124e08=_0x47c6;var _0x27c683=_0x1c17a7,_0x1fbfe8=_0x27c683[_0x124e08(0x410)],_0x125676=_0x1fbfe8[_0x124e08(0x370)],_0x47bf57=_0x1fbfe8[_0x124e08(0x269)],_0x50bf86=_0x27c683[_0x124e08(0x1ba)],_0x57409a=[],_0x4d1017=_0x50bf86[_0x124e08(0x4ee)]=_0x47bf57['extend']({'_doReset':function(){const _0x1c9742=_0x124e08;this[_0x1c9742(0x411)]=new _0x125676[(_0x1c9742(0x26a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5a684f,_0x321e0d){const _0x2ae387=_0x124e08;for(var _0x16cb4a=this[_0x2ae387(0x411)][_0x2ae387(0x1dd)],_0x4dfe4c=_0x16cb4a[0x0],_0x5ecd2a=_0x16cb4a[0x1],_0x2c8e4b=_0x16cb4a[0x2],_0x1a8960=_0x16cb4a[0x3],_0x231f53=_0x16cb4a[0x4],_0x6c9bd7=0x0;_0x6c9bd7<0x50;_0x6c9bd7++){if(_0x6c9bd7<0x10)_0x57409a[_0x6c9bd7]=_0x5a684f[_0x321e0d+_0x6c9bd7]|0x0;else{var _0x32b955=_0x57409a[_0x6c9bd7-0x3]^_0x57409a[_0x6c9bd7-0x8]^_0x57409a[_0x6c9bd7-0xe]^_0x57409a[_0x6c9bd7-0x10];_0x57409a[_0x6c9bd7]=_0x32b955<<0x1|_0x32b955>>>0x1f;}var _0x58a966=(_0x4dfe4c<<0x5|_0x4dfe4c>>>0x1b)+_0x231f53+_0x57409a[_0x6c9bd7];_0x6c9bd7<0x14?_0x58a966+=(_0x5ecd2a&_0x2c8e4b|~_0x5ecd2a&_0x1a8960)+0x5a827999:_0x6c9bd7<0x28?_0x58a966+=(_0x5ecd2a^_0x2c8e4b^_0x1a8960)+0x6ed9eba1:_0x6c9bd7<0x3c?_0x58a966+=(_0x5ecd2a&_0x2c8e4b|_0x5ecd2a&_0x1a8960|_0x2c8e4b&_0x1a8960)-0x70e44324:_0x58a966+=(_0x5ecd2a^_0x2c8e4b^_0x1a8960)-0x359d3e2a,_0x231f53=_0x1a8960,_0x1a8960=_0x2c8e4b,_0x2c8e4b=_0x5ecd2a<<0x1e|_0x5ecd2a>>>0x2,_0x5ecd2a=_0x4dfe4c,_0x4dfe4c=_0x58a966;}_0x16cb4a[0x0]=_0x16cb4a[0x0]+_0x4dfe4c|0x0,_0x16cb4a[0x1]=_0x16cb4a[0x1]+_0x5ecd2a|0x0,_0x16cb4a[0x2]=_0x16cb4a[0x2]+_0x2c8e4b|0x0,_0x16cb4a[0x3]=_0x16cb4a[0x3]+_0x1a8960|0x0,_0x16cb4a[0x4]=_0x16cb4a[0x4]+_0x231f53|0x0;},'_doFinalize':function(){const _0x3d927b=_0x124e08;var _0x29ece8=this[_0x3d927b(0x569)],_0xf784f0=_0x29ece8['words'],_0x4b1fd8=this[_0x3d927b(0x26f)]*0x8,_0x2d11ea=_0x29ece8[_0x3d927b(0x48a)]*0x8;return _0xf784f0[_0x2d11ea>>>0x5]|=0x80<<0x18-_0x2d11ea%0x20,_0xf784f0[(_0x2d11ea+0x40>>>0x9<<0x4)+0xe]=Math[_0x3d927b(0x3ba)](_0x4b1fd8/0x100000000),_0xf784f0[(_0x2d11ea+0x40>>>0x9<<0x4)+0xf]=_0x4b1fd8,_0x29ece8[_0x3d927b(0x48a)]=_0xf784f0['length']*0x4,this[_0x3d927b(0x3c0)](),this[_0x3d927b(0x411)];},'clone':function(){const _0x490b49=_0x124e08;var _0x18fdf1=_0x47bf57[_0x490b49(0x300)][_0x490b49(0x32b)](this);return _0x18fdf1[_0x490b49(0x411)]=this[_0x490b49(0x411)]['clone'](),_0x18fdf1;}});_0x27c683[_0x124e08(0x4ee)]=_0x47bf57['_createHelper'](_0x4d1017),_0x27c683[_0x124e08(0x2fd)]=_0x47bf57[_0x124e08(0x40d)](_0x4d1017);}()),_0x1c17a7[_0x427f6d(0x4ee)];}));}(ut)),ut['exports'];}var dt={'exports':{}},Kt;function hr(){const _0x501e44=_0x31ef25;return Kt||(Kt=0x1,function(_0x2f6183,_0x237084){(function(_0x357b6f,_0x3af12b){const _0x3f78b7=_0x47c6;_0x2f6183[_0x3f78b7(0x353)]=_0x3af12b(oe());}(X,function(_0x32c175){(function(){const _0x47b1bf=_0x47c6;var _0x254ee3=_0x32c175,_0x5df12d=_0x254ee3[_0x47b1bf(0x410)],_0x2fee85=_0x5df12d['Base'],_0x105b46=_0x254ee3['enc'],_0x3de6a5=_0x105b46[_0x47b1bf(0x4f5)],_0x1173e7=_0x254ee3['algo'];_0x1173e7['HMAC']=_0x2fee85[_0x47b1bf(0x2a4)]({'init':function(_0x1ce95a,_0x15cde9){const _0xc71931=_0x47b1bf;_0x1ce95a=this['_hasher']=new _0x1ce95a['init'](),typeof _0x15cde9=='string'&&(_0x15cde9=_0x3de6a5[_0xc71931(0x5ef)](_0x15cde9));var _0x46772c=_0x1ce95a[_0xc71931(0x5fb)],_0x30dcc8=_0x46772c*0x4;_0x15cde9[_0xc71931(0x48a)]>_0x30dcc8&&(_0x15cde9=_0x1ce95a[_0xc71931(0x40f)](_0x15cde9)),_0x15cde9['clamp']();for(var _0x1681fc=this[_0xc71931(0x240)]=_0x15cde9[_0xc71931(0x300)](),_0x4e89ec=this['_iKey']=_0x15cde9['clone'](),_0x13ba28=_0x1681fc[_0xc71931(0x1dd)],_0x4fa219=_0x4e89ec[_0xc71931(0x1dd)],_0xd10531=0x0;_0xd10531<_0x46772c;_0xd10531++)_0x13ba28[_0xd10531]^=0x5c5c5c5c,_0x4fa219[_0xd10531]^=0x36363636;_0x1681fc['sigBytes']=_0x4e89ec[_0xc71931(0x48a)]=_0x30dcc8,this['reset']();},'reset':function(){const _0x57771f=_0x47b1bf;var _0x371217=this['_hasher'];_0x371217[_0x57771f(0x22b)](),_0x371217[_0x57771f(0x5e4)](this[_0x57771f(0x17c)]);},'update':function(_0x199544){return this['_hasher']['update'](_0x199544),this;},'finalize':function(_0x28b440){const _0x27b8b0=_0x47b1bf;var _0x5c5e65=this[_0x27b8b0(0x3b4)],_0x2b1a12=_0x5c5e65[_0x27b8b0(0x40f)](_0x28b440);_0x5c5e65[_0x27b8b0(0x22b)]();var _0x31562b=_0x5c5e65[_0x27b8b0(0x40f)](this[_0x27b8b0(0x240)][_0x27b8b0(0x300)]()[_0x27b8b0(0x265)](_0x2b1a12));return _0x31562b;}});}());}));}(dt)),dt[_0x501e44(0x353)];}var qt;function Dn(){return qt||(qt=0x1,function(_0x59e610,_0x4b3682){(function(_0x30a05b,_0x530e74,_0x424719){const _0x46c54f=_0x47c6;_0x59e610[_0x46c54f(0x353)]=_0x530e74(oe(),lr(),hr());}(X,function(_0x55cf8d){const _0x11bd84=_0x47c6;return(function(){const _0x4e9e26=_0x47c6;var _0x1bd1de=_0x55cf8d,_0x2d7d79=_0x1bd1de[_0x4e9e26(0x410)],_0x1e1cb=_0x2d7d79['Base'],_0x47ade4=_0x2d7d79['WordArray'],_0x25945f=_0x1bd1de[_0x4e9e26(0x1ba)],_0x4bff1d=_0x25945f[_0x4e9e26(0x2b1)],_0x14b6a2=_0x25945f['EvpKDF']=_0x1e1cb[_0x4e9e26(0x2a4)]({'cfg':_0x1e1cb[_0x4e9e26(0x2a4)]({'keySize':0x80/0x20,'hasher':_0x4bff1d,'iterations':0x1}),'init':function(_0x2107a2){const _0x56d1aa=_0x4e9e26;this['cfg']=this[_0x56d1aa(0x5f1)][_0x56d1aa(0x2a4)](_0x2107a2);},'compute':function(_0x1f4acc,_0x5441c7){const _0x77a2de=_0x4e9e26;for(var _0x16e079,_0x272719=this[_0x77a2de(0x5f1)],_0x3012f5=_0x272719['hasher'][_0x77a2de(0x5ea)](),_0x1a739b=_0x47ade4[_0x77a2de(0x5ea)](),_0x1504d8=_0x1a739b['words'],_0x390b77=_0x272719[_0x77a2de(0x566)],_0x4ec12c=_0x272719['iterations'];_0x1504d8[_0x77a2de(0x360)]<_0x390b77;){_0x16e079&&_0x3012f5['update'](_0x16e079),_0x16e079=_0x3012f5[_0x77a2de(0x5e4)](_0x1f4acc)[_0x77a2de(0x40f)](_0x5441c7),_0x3012f5[_0x77a2de(0x22b)]();for(var _0x45a89c=0x1;_0x45a89c<_0x4ec12c;_0x45a89c++)_0x16e079=_0x3012f5['finalize'](_0x16e079),_0x3012f5['reset']();_0x1a739b[_0x77a2de(0x265)](_0x16e079);}return _0x1a739b['sigBytes']=_0x390b77*0x4,_0x1a739b;}});_0x1bd1de['EvpKDF']=function(_0x3b2f9e,_0x599cd5,_0x566fad){const _0x283021=_0x4e9e26;return _0x14b6a2[_0x283021(0x5ea)](_0x566fad)['compute'](_0x3b2f9e,_0x599cd5);};}()),_0x55cf8d[_0x11bd84(0x214)];}));}(_t)),_t['exports'];}var ft={'exports':{}},zt;function _0x9dca(){const _0xd16a51=['_getCurrentRevision','enableOfflineEditing','getUnitId','data','_handleHeartbeatEvent','_retryCount','status','HttpExport','_ENC_XFORM_MODE','transformIMECache','ranges','/collaborator','_scheduleClearOtherTimer','updateCollaborator','HEARTBEAT','image/jpg','_loadDoc','unshift','_getSheetObject','Vector2','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CollaborationEntity','_handler','then','forwardRef','lineTo','getDeserializedSheetBlock','HttpImport','#FFF','close','handleIRemoveRow','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_redoStacks','_doCryptBlock','idSuffix','unitID','parseChangesetToProtocol','toString','_cursors','/universer-api/snapshot/','_range','_collaborationSessionService','_clearUndo','snapshot','update','__esModule','_updateCollabCursors','_removeCollabCursors','_nRounds','editingUnit','create','[CollaborationSessionService]','_anchorDot','onRemoteChangeset','_collaborationPaused','parse','_tryReconnect','cfg','PERMISSION_REJ','headers','add','drawWith','_backgroundColor','_transformIMECache','fetchThroughInterceptors','_sessionStatus$','_refRangeService','blockSize','_instanceService','reconnect','getUnhiddenWorksheets','_socketService','ImageSourceType','_getAPIPrefix','collaboration-client.offline-data-not-saved','SetDocZoomRatioOperation','collab-text-anchor-','{fileID}','_drawAnchor','formatter','registerBeforeClose','_onCursorUpdate','@univerjs/ui','_memberService','_isPermissionRej','onRemoteAck','unpad','_logService','_updateLocalCursor','session.will-retry','_onCombEvent','_tryEnsureSocket','charCodeAt','MemberService','transformMutationsWithChangeset','_waitForHeartbeatResponse','type','IDLE','PENDING','_minBufferSize','transform','onRemoteRetry','Shape','registerOnClose','NEW_CHANGESETS','collab-text-range-','Pkcs7','_color','SheetSkeletonManagerService','getTypeOfUnitAdded$','_transitionLocked','_hideTimer','socketService','override','isArray','black','randomBytes','objects','_uiPartsService','getSheetId','initWorkbookPermissionChange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_IMPORT_SIZE_EXCEEDED','syncEditingCollabCursor','_createHelper','getTypeOfUnitDisposed$','labelPosition','HELLO','doc.mutation.rich-text-editing','univerjs-icon\x20univerjs-icon-','error$','event$','pad','CHANGESET_REVISION_CONFILICT','COMMENT_UPDATE','getSheetBlock','ERROR_IMAGE','IRemoteInstanceService','fillRule','propertyIsEnumerable','subscribeEvent','_id','onTransformIME','title','permissionRejEvent','_iKey','listRoles','COLLAB_WEB_SOCKET_URL_KEY','_listenToOnlineEvent','onlineStatusIcon','[OfflineState]:\x20received\x20rejection.','session','for','OpenSSL','createElement','DocSelectionManagerService','ReplaySubject','number','_cursorInfo$','getRandomValues','_render','__Key__','RegularPolygon','_draw','WebSocketService','IUIPartsService','concatMap','[SyncedState]:\x20received\x20acknowledgement.','pending','_removeClearOtherTimer','_messageService','_docTransformIMECacheService','resend','_collabCursorState$','some','updateCursorEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','resolve','POST','image/png','mergeOverrideWithDependencies','collabSubmitChangesetUrl','_undoRedoService','name','LIVESHARE_OPERATION','_sender','DisposableCollection','_singleActiveUnitService','createInstance','[CollaborationSession]','_listenToOfflineEvent','ceil','[CollaborationSessionService]:\x20socket\x20error','SerializableCipher','mixIn','retryConnectingInterval','_scheduleTimestamp','getUniverSheetInstance','&to=','PasswordBasedCipher','putCollaborators','_fetchMissChangesets','onStarting','_resendWithTimeout','byteLength','_handleHover','algo','setAlpha','SUBMIT_CHANGESET','TOO_MANY_REQUESTS','useDependency','/universer-api/authz','APPLY_REVISION_CONFILICT','_commentUpdate$','onCommandExecuted','sessionTicket','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SheetCollabCursorShape','_cursor','\x20in\x20_schedule.','Injector','InsertRangeMoveRightCommandId','readInt32LE','RemoveRowCommandId','_onUserJoin','_onRemoteRejected','byteOffset','not_collab','CHANGESET_SHOULD_RETRY','ENSURE_SNAPSHOT_EXECUTION','reduce','connection\x20error','_unitStatus','_invKeySchedule','jsx','collaMsg','saveOfflineData','RevisionService','json','_DEC_XFORM_MODE','updatePermissionPoint','words','_submitChangeset','MSG_FOR_ERROR','clamp','replace','_transformHistoryAndStateStack','addObjects','sendChangesetTimeout','APPLY_NON_SEQUENTIAL_REVISION','__creator','find','_online','univer-online-status-title','has','_lastPointer','collaboration.closeRoom','HEARTBEAT_TIMEOUT_KEY','_transformStack','fill','\x0aAfter:\x20','@univerjs/docs-ui','uni.network.url-service','transformChangesets','CHANGESET_REJ','getCurrentRevOfUnit','FETCH_MISSING','ThresholdInterceptorFactory','complete','parseProtocolChangeset','msCrypto','_onLocalMutation','_sendHeartbeatTimer','AWAITING_WITH_PENDING','action','0\x200\x2017\x2016','mutations','LIVESHARE_NEW_HOST','Error\x20on\x20receiving\x20event','_docSyncEditingCollabCursorService','session.collaboration-timeout','assignAColorForMemberID','children','_members','OFFLINE','setItem','_disabled','JOIN_ROOM_FULL','_setupBeforeClosingHandler','connectInjector','1em','@univerjs/design','INTERNAL_ERROR','path','COMPLETION_FINISHED','univer-pro.collaboration-client-socket-service','EvpKDF','APPLY_REJECT','encrypt','AWAITING','UNIVER_SLIDE','_registerDependencies','_init','_telemetryService','_drawTextRange','IBeforeCloseService','_clearCollaborationTimeoutTimer','OnLineSingle','error','_textBubble','Base','_scheduleSaving','_candidateSocket','IUndoRedoService','redoState','getLatestCsReqIdBySid','unknown','RECT','requestParams','reset','_getUndoStack','_updateURLWithCurrentState','startColumn','CompressMutationService','WorkbookEditablePermission','_unlockTransition','csRejEvent','isInternalEditorID','font','ColorKit','UniverInstanceType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Workbook','SheetCollaborationEntity','_shapes','/universer-api/oidc/authpage','enableSingleActiveInstanceLock','includes','apply','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_oKey','encode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','YUUMI_RATE_OVER_LIMIT','fetchMissingChangesets','executeCommand','596028AvYEmo','join','UPDATE_PERMISSION_OBJ','Inject','assign','copyFileMeta','save\x20fail\x20reason\x20is\x20','random','RECV','isTransformChangesetsSuccess','split','function','UNDEFINED','collaboration.single-unit.warning','278979aWhodD','_entities','_themeService','CollaborationStatus','awaitingChangeset','LocalUndoRedoService','_beforeCloseService','_docStateChangeManagerService','RxDisposable','onTransformChange$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','className','changesets','getCollabCursors$','_transformService','execute','ITelemetryService','concat','registerRenderModule','measureText','_scene','Hasher','init','onTransformState','_permissionService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','HEARTBEAT_INTERVAL_KEY','_nDataBytes','_onRemoteRetry','getFocusedUnit','FAIL','CollaborationStatusDisplay','socket\x20close','currentColor','@univerjs/network','transformByState','_keyPriorReset','_sheetSkeletonManagerService','setCurrentUser','readAsDataURL','_startDocCollabCursor','subunit','@univerjs/docs','makeDirty','textRanges','pauseCollaboration','_applyRemoteChangeset','_iv','toDisposable','push','exhaustSavingTask','_toggleOnline','revision','APPLY_DUPLICATED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_initRequestHeader','getImage','next','IUniverInstanceService','state','getRenderById','_localCacheService','contains','_transformUndoredo','_cachedData','hasOwnProperty','SheetPermissionInitController','startsWith','_updateState','react','Base64','members','onSyncEditingCollabCursor','_anchor','SetTextSelectionsOperation','merge','values','_saveTaskMap','toggleOnline','_univerInstanceService','extend','BASE64','IRenderManagerService','compute','interceptor','map','_collabSessionService','_hovered','/allowed','throttleTime','HTTPRequest','pushState','engine','MD5','trim','clearTimeout','permission.content','_getSaveTimeout','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','visibilitychange','getInterceptPoints','CONFLICT','UnitSnapshot','mapTo','getUnitStatus$','m1Prime','charAt','_keySchedule','@univerjs/engine-formula','_eventUnsubscribe','repeat','SnapshotService','history','signUrlServerUrl','addObject','_unitOnClients','show','BlockCipher','DocIMEInputManagerService','Decryptor','/universer-api/user/session-ticket','/block/','onSendChangeset','_sendingTimer','CHANGESET_ACK','_httpService','[PendingState]:\x20received\x20rejection.','getUnit','Rect','offline','registerHTTPInterceptor','liveShareNewHost','rxjs','bottom','fetchMiss','take','TEXT_RANGE_LAYER_INDEX','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','substring','fromCharCode','conflict.content','requireSession','all','_name','none','_onCursorDelete','handleDeleteRangeMoveUp','_getDownloadEndpointURL','#fff','_getRedoStack','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CBC','_state$','unit','ITransformService','_pendingMutations','x-univer-host','FETCH_MISS','UnitEmbedded','COMPRESS_MUTATION_SEND','liveShareOperation','$super','encryptBlock','replaceDocRanges','serializeCombRequest','endRow','put','_retryConnectingTimer','combineLatest','HmacSHA1','_config','FromArray','clone','COLLAB_WEB_SOCKET_URL','enableLocalCache','pluginName','_executeRemoteChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','_createInitialStateImpl','_notificationService','state$','_awaitingChangeset','collabStatus.offline','_cursorShapes','setConfig','Warning','substr','SNAPSHOT_HAS_BEEN_REMOVED','dispose','every','reverse','_queuedRemoteChangesets','Undefined','SEND_CHANGESET_TIMEOUT_KEY','_status$','_initDependencies','eventID','deserializeToCombResponse','_transformRemoteChangesetByStateCache','ILogService','/resources','collabStatus.synced','_replayCachedMutations','_send','leaveEvent','addImageSourceCache','_ws','handleMoveRange','_onRemoteChangeset','docStateChange$','_refreshCollabCursors','_changesetSessionId','disposeWithMe','_onConnectionFailed','/object','call','_toggleOffline','replaceState','hasher','kdf','getCurrentUser','size','onTransformRemoteChangesetByStateCache','COLORS','onMouseMove','off-line-single_clip0_910_343','ICollaborationSocketService','currentTheme$','_onUserLeave','cursorInfo','delete','_labelPosition','bind','_startSheetCollabCursor','Unknown\x20user','switchMap','getCollabEntity','max','_append','Could\x20not\x20dynamically\x20require\x20\x22','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_TERMINATE','close$','_initCloseConn','/universer-api/snapshot','_snapshotServerService','createSocket','ticket','RefRangeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitId','saveSheetBlock','urlChange$','endColumn','HEARTBEAT_TIMEOUT','exports','Tooltip','distinctUntilChanged','DeleteRangeMoveLeftCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','auth.needGotoLoginAlert','/object/','onRemoteRej','_sessions','m2Prime','_scheduleHeartbeat','_checkMissing','colorChannel1','length','getParam','memberID','EXCHANGE_SIGN_URL_SERVER_URL_KEY','roles','SetSelectionsOperation','_scheduleCollaborationTimeoutTimer','url(#on-line-single_clip0_910_349)','_onRefRangeChange','now','svg','YUUMI_URL_COL_OUT_OF_RANGE','delay','file','ICommandService','CONNECTOR_DATA_TOO_LARGE','WordArray','InsertRangeMoveDownCommandId','_configService','getSkeleton','visibilityState','socket\x20open.','/universer-api/stream/file/upload','Disposable','backgroundColor','onCommentUpdate','univer-online-status-icon','_mode','patch','_map','pipe','_roomMembers','WebURLService','_unitID','?size=','_remoteChangesetQueue','onTransformSelections','_HTTPService','setActiveRange','EffectRefRangId','startRow','_substituteUndoStack','Error','SnapshotServerOverHTTPService','DocCollaborationEntity','ReactCurrentOwner','8CbZVJn','encodeURIComponent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','871480sTKZro','_undoStacks','Univer','UniverCollaborationClientPlugin','CollaborationSessionService','_transformUndoRedoStack','newCsEvent','capture','_shouldReportTelemetry','_telemetryInfo','[OfflineState]:\x20received\x20acknowledgement.','getColor','ImageUploadStatusType','enc','_userManagerService','equals','_clearTimeoutTimer','_collaborationTimeoutTimer','_onMessage','UniverNetworkPlugin','_socketMessageSubscription','unitId\x20is\x20not\x20found','saveChangeset','_waitCount','getCurrent','LocalCacheService','deleteCollaborator','params','touchDependencies','arc','isTransformMutationsWithChangesetSuccess','RichTextEditingMutation','_change$','skeleton','cmd','_hasher','_cipher','catch','saveSnapshot','DataLoaderController','handleInsertRangeMoveRight','floor','set','useCallback','joinRsp','loadOfflineData','_timeoutTimer','_process','body','getUnitType','rxjs/operators','CollaborationSession','toggleOffline','_createInitialState','beginPath','_heartbeatTimer','_onRemoteACK','IConfigService','_entityInit$','_acknowledgedAwaitingChangeset','_resendTimeout','Subject','prototype','_sendHeartbeat','current','roomMembers$','fromCollab','_roomMembers$','sid','unsubscribe','_initUnitPermissionChange','transformUndoRedo','triggerDblclick','ACTIVE_UNIT_EVENT_CHANNEL','_startCollaboration','UNIVER_SHEET','send','xlink:href','_type','defaultProps','conflict','ISnapshotServerService','tag','_setupSubUnitSync','allowed','collaboration-session-retry','_updateStatus','StreamCipher','HEARTBEAT_INTERVAL','origin','on-line-single_clip0_910_349','_localStorageService','_colorIndex','clipPath','serializeRangeWithSheet','@univerjs/drawing','status$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ERROR_EXCEED_SIZE','_state','_getSessionTicket','onMissedChangesetFetched','list','RemoveColCommandId','save','NodePositionConvertToRectRange','getActiveSheet','_urlService','_doProcessBlock','LOCAL_CACHE_INTERVAL','univer-pro.collaboration-client.single-active-unit-service','ONLINE','jsxs','transformStateCache','getConfig','getResourcesRequest','_selfUnitIDs','baseRev','commentUpdateEvent','YUUMI_UNABLE_LOAD_URL','session.connection-failed','_hover','_rescheduleHeartbeat','UNRECOGNIZED','_createHmacHelper','crypto','finalize','lib','_hash','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','DesktopCollaborationStatusDisplayController','batchAllowed','_clearOtherTimers','_onFetchMissResult','IPermissionService','_commandService','JOIN','mode','getAllMembers','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_UNITS_EXCEEDED','shouldCloseConn','getItem','getRangePointData','createCollaborator','IImageIoService','_onConflict','...','min','actions','_compressMutationService','PSEUDO_FETCH_MISSING_RESULT','_session','append','_joinRoom','clear','IAuthzIoService','_onConnectionOpen','7258630llNJrW','icon','buffer','\x20to\x20','getVpScrollXYInfoByPosToVp','Cipher','/fetchmissing?from=','getImageSourceCache','online','_showConflictNotification','column','withCredentials','getMemberID','joinEvent','roomMembers','JOIN_ROOM_NOT_ALLOWED','DEFAULT_FILE_NAME','INotificationService','_onOffline','format','_event$','color','open$','_transformRemoteChangesetByIMECache','@univerjs/telemetry','disableLocalCache','[UniverCollaborationClientPlugin]','_updateSubUnitFromURLParams','src','evenodd','DependentOn','defIds','getDocRanges','_xformMode','isEditing','onlyLocal','_getLoginPath','debounceTime','getValue','sessionStatus$','_createSocket','unload','UNIVER_DOC','_renderManagerService','cursorInfo$','post','method','ivSize','_changesetReqId','popstate','text','onPointerEnter$','editing\x20status\x20changed\x20to','Rectangle','width','ILocalStorageService','getMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','entries','SessionStatus','_socket$','createEncryptor','saveImage','subUnitId','indexOf','_replaceFileID','takeUntil','LOCAL_CACHE_INTERVAL_KEY','c2Prime','moveTo','[DataLoaderController]','focused$','hovered','fillText','setTimeout','VIEWPORT_KEY','\x0aCurrent:\x20','url','_snapshotService','_revisionService','AES','_socketReady','DeleteRangeMoveUpCommandId','_loadSheet','stopTime','_reverseMap','splice','SNAPSHOT_URL_KEY','_updateLocalCache','getUnitOnRev','/-/object/list','sigBytes','NodePositionConvertToCursor','hostname','_document','_sheetTransformSelectionsService','deepClone','SEND_CHANGESET_TIMEOUT','UNIVER_UNKNOWN','round','_initResize','_decreaseWaiting','useObservable','updateMember','hidden','attrs','removeMember','_collabCursorController','_docTransformStateCacheService','searchParams','UUID','ImageIoService','shareReplay','univer-online-status','USERS_ENTER','CommandType','_createSocketURL','INGEST','object','react.fragment','processBlock','_incrementRevisionNumber','div','?url=','_drawRectRange','appendMutation','CipherParams','createIdentifier','image/gif','_startTelemetryCollaborationNewChangeset','transformMutation','LEAVE','onPointerLeave$','fillStyle','SUCCUSS','objectType','/role','location','getCoordByCell','_socket','sessionStatus','IMessageService','filter','AUTHZ_URL_KEY','onlineStatusTitle','_getAPIPrefixPath','generateRandomId','defineProperty','912732XjrLJP','decrypt','_getUploadFileURL','getRelativeToViewportCoord','_collaborationController','get','reqId','currentSkeleton$','7481551AUsVSp','_imageSourceCache','_clearRedo','setShowComponents','string','target','UniverCollaborationPlugin','[CollaborationEntity]','asObservable','_throwTelemetryCollaborationNewChangeset','_clearLocalCache','UNIVER_PROJECT','top','SHOULD_CLOSE_CONN','with','downloadEndpointUrl','updatePermissionObjEvent','selections','snapshotServerUrl','UNKNOWN_CODE','_commentService','_getSignURL','_syncEditingCollabCursorService','onPointerMove$','use','localeService','CollaborationEvent','sequenceExecute','CollaborationController','getCurrentSelections','_clearScheduledTask','result','_clearHeartbeatTimer','code','reject','SHA1','defs','whenReady','objectID','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','EmptyMutation','userID','Utf8','_transformStateCache','transformRemoteChangeset','Optional','MessageType','Tools','_parse','Encryptor','_schedule','LIVESHARE_FETCH_OPERATIONS','_context','_doFinalize','Fragment','UniverIcon','@univerjs-pro/collaboration','Latin1','setShapeProps','sin','_injector','jiqing500','c1Prime','message$','getActiveRange','ciphertext','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','dispose$','deserializeRangeWithSheet','closeSession','range','getMergeData','LOGIN_URL_KEY','_getAnchorBounding','rev','getAncestorScale','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sheetID','SNAPSHOT_INVALID_SNAPSHOT','href','symbol','handleDeleteRangeMoveLeft','fromEventSubject','65zIkxFp','CollaborationSocketService','clearInterval','_initEventListeners','_getSnapshotAPIPrefix','DocStateChangeManagerService','collaborators','/universer-api/file/{fileID}/sign-url','BuiltInUIPart','forEach','compose','_docSkeletonManagerService','routeKey','isActive','UNKNOWN_CMD','subscribe','FileId','getOwnPropertySymbols','HMAC','csAckEvent','_syncEditingCollabCursor','toRgbString','_createHandler','default','_registerRenderDependencies','SheetsSelectionsService','storage','_key','awaiting_with_pending','_getScale','getOwnPropertyDescriptor','Module','INVALID_ARGUMENT','_transformSelections','OffLineSingle','confirm','[CollaborationUndoRedoService]','MergeInterceptorFactory','undoState','@univerjs/sheets-ui','fromEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getStateCache','awaiting','APPLY_PERMISSION_DENIED','originalMeta','_transformPreviousActiveRange','_prevBlock','_getCtorByUniverType','updateOfflineData','_docTransformSelectionsService','session.room-full','MoveRangeCommandId','ThemeService','ALREADY_EXISTS','BehaviorSubject','collabStatus.syncing','stringify','NO_OTHER_CLIENTS_EDITING','_handleLeaveEvent','_removeRoom','CommentService','_saveCache','BufferedBlockAlgorithm','_resendTimer','_lockTransition','_exhaustRemoteChangesetQueue','_getMergeRange','selection','react.element','isPermissionRej','NoPadding','keySize','collabStatus.notCollab','addEventListener','_data','findNodePositionByCharIndex','M0\x200H16V16H0z','USERS_LEAVE','height','salt','collaboration_new_changeset','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_getSendChangesetTimeout','commentUpdate$','disposeUnit','SetWorksheetActivateCommand','hide','collabCursorState$','key','COMPRESS_MUTATION_APPLY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NOT_FOUND','url(#$1','randomUUID','isTransformMutationFailure','textEncoder','setParam','_handleJoinEvent','debug','_colorAssignService','MUTATION','_docSkeleton','[CollaborationState]:\x20apply\x20error!','_handleEvent','_onJoinRoomEvent','transformSelections','loadSheet','padding','UPDATE_CURSOR','sheets','conflict.title','useRef','_http','NOT_COLLAB','/unit/','_localeService','LocaleService','SYNCED','fetch_missing','restore','newValue','_substituteRedoStack','blue400','onTransformRemoteChangesetByIMECache','loadDoc','Plugin','transformStack\x20failed!','HmacMD5','duration','AuthzIoHttpService','DocSkeletonManagerService','TEXT','from','roomInfos','2103246VMLXWe','getTime','translate(.97)','HTTPService','slice','OTHER_CLIENTS_EDITING','getSheetBySheetId','isTransformMutationsWithChangesetFailure','_ensureSubject','_onRecvEvent','debounce','LICENSE_EXPORT_SIZE_EXCEEDED','change$','9SiooTY','_doReset','LIVESHARE_REQUEST_HOST','displayName','closePath','DOC_RANGE_TYPE'];_0x9dca=function(){return _0xd16a51;};return _0x9dca();}function wn(){const _0x51d86e=_0x31ef25;return zt||(zt=0x1,function(_0x564ec4,_0x2d319b){(function(_0x4f62c0,_0xad40e6,_0x317ac3){_0x564ec4['exports']=_0xad40e6(oe(),Dn());}(X,function(_0x5b668f){const _0x37cda1=_0x47c6;_0x5b668f[_0x37cda1(0x410)][_0x37cda1(0x434)]||function(_0x1e1d18){const _0x1f7a26=_0x37cda1;var _0x3ab242=_0x5b668f,_0x19a6fc=_0x3ab242[_0x1f7a26(0x410)],_0x3a00e9=_0x19a6fc[_0x1f7a26(0x222)],_0x33a0c1=_0x19a6fc[_0x1f7a26(0x370)],_0x483b4e=_0x19a6fc[_0x1f7a26(0x55d)],_0x3e2280=_0x3ab242[_0x1f7a26(0x39e)];_0x3e2280['Utf8'];var _0x40f184=_0x3e2280['Base64'],_0x4dbf8e=_0x3ab242[_0x1f7a26(0x1ba)],_0x3b2604=_0x4dbf8e[_0x1f7a26(0x214)],_0x48a150=_0x19a6fc[_0x1f7a26(0x434)]=_0x483b4e['extend']({'cfg':_0x3a00e9[_0x1f7a26(0x2a4)](),'createEncryptor':function(_0x24a924,_0x1eab0f){const _0x13a49d=_0x1f7a26;return this[_0x13a49d(0x5ea)](this[_0x13a49d(0x5c0)],_0x24a924,_0x1eab0f);},'createDecryptor':function(_0x3720ab,_0xb04eb4){const _0x19aa97=_0x1f7a26;return this[_0x19aa97(0x5ea)](this[_0x19aa97(0x1db)],_0x3720ab,_0xb04eb4);},'init':function(_0x2504b4,_0x50b5f4,_0x1213e3){const _0x1efcb3=_0x1f7a26;this['cfg']=this['cfg'][_0x1efcb3(0x2a4)](_0x1213e3),this[_0x1efcb3(0x450)]=_0x2504b4,this[_0x1efcb3(0x539)]=_0x50b5f4,this[_0x1efcb3(0x22b)]();},'reset':function(){const _0x4d3498=_0x1f7a26;_0x483b4e['reset']['call'](this),this[_0x4d3498(0x5b3)]();},'process':function(_0x698233){const _0xa685db=_0x1f7a26;return this['_append'](_0x698233),this[_0xa685db(0x3c0)]();},'finalize':function(_0x303903){const _0xc5652e=_0x1f7a26;_0x303903&&this[_0xc5652e(0x342)](_0x303903);var _0x38269c=this['_doFinalize']();return _0x38269c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2fb30c(_0x26560f){const _0x2378d3=_0x47c6;return typeof _0x26560f==_0x2378d3(0x4cf)?_0x18d482:_0x30c948;}return function(_0x4af984){return{'encrypt':function(_0x4abe43,_0x54630b,_0x34e48a){const _0x123819=_0x47c6;return _0x2fb30c(_0x54630b)[_0x123819(0x216)](_0x4af984,_0x4abe43,_0x54630b,_0x34e48a);},'decrypt':function(_0x244d6c,_0x30bb0a,_0x220435){const _0x3f5194=_0x47c6;return _0x2fb30c(_0x30bb0a)[_0x3f5194(0x4c4)](_0x4af984,_0x244d6c,_0x30bb0a,_0x220435);}};};}())});_0x19a6fc[_0x1f7a26(0x3e8)]=_0x48a150['extend']({'_doFinalize':function(){const _0x3da48d=_0x1f7a26;var _0xec7fd=this[_0x3da48d(0x3c0)](!0x0);return _0xec7fd;},'blockSize':0x1});var _0x4a8e2f=_0x3ab242['mode']={},_0x494eba=_0x19a6fc['BlockCipherMode']=_0x3a00e9[_0x1f7a26(0x2a4)]({'createEncryptor':function(_0x5084d5,_0x1fe80a){const _0x3a1970=_0x1f7a26;return this[_0x3a1970(0x4fc)][_0x3a1970(0x5ea)](_0x5084d5,_0x1fe80a);},'createDecryptor':function(_0x3c431e,_0x552d57){const _0x4339f3=_0x1f7a26;return this[_0x4339f3(0x2cb)][_0x4339f3(0x5ea)](_0x3c431e,_0x552d57);},'init':function(_0x44c5fa,_0x1c0f41){const _0x975395=_0x1f7a26;this['_cipher']=_0x44c5fa,this[_0x975395(0x283)]=_0x1c0f41;}}),_0x319ec4=_0x4a8e2f[_0x1f7a26(0x2eb)]=(function(){const _0x5cb241=_0x1f7a26;var _0x46bb11=_0x494eba[_0x5cb241(0x2a4)]();_0x46bb11[_0x5cb241(0x4fc)]=_0x46bb11[_0x5cb241(0x2a4)]({'processBlock':function(_0x523a3f,_0x4c67e6){const _0x34d52b=_0x5cb241;var _0x26614a=this[_0x34d52b(0x3b5)],_0x1af731=_0x26614a[_0x34d52b(0x5fb)];_0x3fb71b[_0x34d52b(0x32b)](this,_0x523a3f,_0x4c67e6,_0x1af731),_0x26614a[_0x34d52b(0x2f6)](_0x523a3f,_0x4c67e6),this[_0x34d52b(0x54d)]=_0x523a3f[_0x34d52b(0x5a9)](_0x4c67e6,_0x4c67e6+_0x1af731);}}),_0x46bb11[_0x5cb241(0x2cb)]=_0x46bb11[_0x5cb241(0x2a4)]({'processBlock':function(_0x419ce2,_0x55702f){const _0x44f213=_0x5cb241;var _0x29343e=this[_0x44f213(0x3b5)],_0x513e27=_0x29343e[_0x44f213(0x5fb)],_0x3d00a7=_0x419ce2[_0x44f213(0x5a9)](_0x55702f,_0x55702f+_0x513e27);_0x29343e['decryptBlock'](_0x419ce2,_0x55702f),_0x3fb71b[_0x44f213(0x32b)](this,_0x419ce2,_0x55702f,_0x513e27),this[_0x44f213(0x54d)]=_0x3d00a7;}});function _0x3fb71b(_0x54f3ab,_0x21a71d,_0x5b3ab1){const _0x2ee6ff=_0x5cb241;var _0x4074f2,_0x57253c=this[_0x2ee6ff(0x283)];_0x57253c?(_0x4074f2=_0x57253c,this[_0x2ee6ff(0x283)]=_0x1e1d18):_0x4074f2=this[_0x2ee6ff(0x54d)];for(var _0xb8921a=0x0;_0xb8921a<_0x5b3ab1;_0xb8921a++)_0x54f3ab[_0x21a71d+_0xb8921a]^=_0x4074f2[_0xb8921a];}return _0x46bb11;}()),_0x90860c=_0x3ab242[_0x1f7a26(0x63c)]={},_0x306c05=_0x90860c[_0x1f7a26(0x622)]={'pad':function(_0x4efacc,_0x1a2108){const _0x14a036=_0x1f7a26;for(var _0x58bff5=_0x1a2108*0x4,_0x389d4f=_0x58bff5-_0x4efacc[_0x14a036(0x48a)]%_0x58bff5,_0x5867e2=_0x389d4f<<0x18|_0x389d4f<<0x10|_0x389d4f<<0x8|_0x389d4f,_0x314ff0=[],_0x824eda=0x0;_0x824eda<_0x389d4f;_0x824eda+=0x4)_0x314ff0[_0x14a036(0x285)](_0x5867e2);var _0x227e00=_0x33a0c1[_0x14a036(0x5ea)](_0x314ff0,_0x389d4f);_0x4efacc['concat'](_0x227e00);},'unpad':function(_0x2bf39a){const _0x439684=_0x1f7a26;var _0xd26d57=_0x2bf39a['words'][_0x2bf39a[_0x439684(0x48a)]-0x1>>>0x2]&0xff;_0x2bf39a['sigBytes']-=_0xd26d57;}};_0x19a6fc['BlockCipher']=_0x48a150['extend']({'cfg':_0x48a150[_0x1f7a26(0x5f1)][_0x1f7a26(0x2a4)]({'mode':_0x319ec4,'padding':_0x306c05}),'reset':function(){const _0x3ce877=_0x1f7a26;var _0x2e5cbf;_0x48a150[_0x3ce877(0x22b)][_0x3ce877(0x32b)](this);var _0x4bbbde=this[_0x3ce877(0x5f1)],_0xcc81ae=_0x4bbbde['iv'],_0x3544de=_0x4bbbde[_0x3ce877(0x41a)];this['_xformMode']==this[_0x3ce877(0x5c0)]?_0x2e5cbf=_0x3544de[_0x3ce877(0x46c)]:(_0x2e5cbf=_0x3544de['createDecryptor'],this[_0x3ce877(0x61b)]=0x1),this[_0x3ce877(0x37b)]&&this[_0x3ce877(0x37b)][_0x3ce877(0x1e6)]==_0x2e5cbf?this[_0x3ce877(0x37b)][_0x3ce877(0x26a)](this,_0xcc81ae&&_0xcc81ae[_0x3ce877(0x1dd)]):(this[_0x3ce877(0x37b)]=_0x2e5cbf[_0x3ce877(0x32b)](_0x3544de,this,_0xcc81ae&&_0xcc81ae['words']),this[_0x3ce877(0x37b)]['__creator']=_0x2e5cbf);},'_doProcessBlock':function(_0x363b01,_0x3a01ef){const _0x3d262f=_0x1f7a26;this[_0x3d262f(0x37b)][_0x3d262f(0x4a7)](_0x363b01,_0x3a01ef);},'_doFinalize':function(){const _0x129eb9=_0x1f7a26;var _0x27fbf5,_0x26e718=this[_0x129eb9(0x5f1)][_0x129eb9(0x58a)];return this[_0x129eb9(0x450)]==this[_0x129eb9(0x5c0)]?(_0x26e718[_0x129eb9(0x63c)](this[_0x129eb9(0x569)],this[_0x129eb9(0x5fb)]),_0x27fbf5=this[_0x129eb9(0x3c0)](!0x0)):(_0x27fbf5=this[_0x129eb9(0x3c0)](!0x0),_0x26e718[_0x129eb9(0x60e)](_0x27fbf5)),_0x27fbf5;},'blockSize':0x80/0x20});var _0x561183=_0x19a6fc[_0x1f7a26(0x4ad)]=_0x3a00e9[_0x1f7a26(0x2a4)]({'init':function(_0x46d95c){const _0x39b436=_0x1f7a26;this[_0x39b436(0x1ae)](_0x46d95c);},'toString':function(_0x29c703){const _0x60985c=_0x1f7a26;return(_0x29c703||this[_0x60985c(0x607)])[_0x60985c(0x557)](this);}}),_0x43395c=_0x3ab242[_0x1f7a26(0x442)]={},_0x3c3ebe=_0x43395c[_0x1f7a26(0x184)]={'stringify':function(_0x101a4c){const _0x19cbe2=_0x1f7a26;var _0x52dd15,_0x2ea6cb=_0x101a4c[_0x19cbe2(0x50c)],_0x231030=_0x101a4c[_0x19cbe2(0x56e)];return _0x231030?_0x52dd15=_0x33a0c1[_0x19cbe2(0x5ea)]([0x53616c74,0x65645f5f])[_0x19cbe2(0x265)](_0x231030)[_0x19cbe2(0x265)](_0x2ea6cb):_0x52dd15=_0x2ea6cb,_0x52dd15[_0x19cbe2(0x5dd)](_0x40f184);},'parse':function(_0x427c04){const _0x3a53bb=_0x1f7a26;var _0xd18194,_0x5b012f=_0x40f184[_0x3a53bb(0x5ef)](_0x427c04),_0x5e2a9b=_0x5b012f[_0x3a53bb(0x1dd)];return _0x5e2a9b[0x0]==0x53616c74&&_0x5e2a9b[0x1]==0x65645f5f&&(_0xd18194=_0x33a0c1[_0x3a53bb(0x5ea)](_0x5e2a9b[_0x3a53bb(0x5a9)](0x2,0x4)),_0x5e2a9b[_0x3a53bb(0x485)](0x0,0x4),_0x5b012f['sigBytes']-=0x10),_0x561183['create']({'ciphertext':_0x5b012f,'salt':_0xd18194});}},_0x30c948=_0x19a6fc[_0x1f7a26(0x1ad)]=_0x3a00e9[_0x1f7a26(0x2a4)]({'cfg':_0x3a00e9[_0x1f7a26(0x2a4)]({'format':_0x3c3ebe}),'encrypt':function(_0x27d4b5,_0x5ab4f9,_0x188d91,_0x487573){const _0x1f49f5=_0x1f7a26;_0x487573=this['cfg'][_0x1f49f5(0x2a4)](_0x487573);var _0x1faa6b=_0x27d4b5[_0x1f49f5(0x46c)](_0x188d91,_0x487573),_0x2b326c=_0x1faa6b[_0x1f49f5(0x40f)](_0x5ab4f9),_0x2b47e6=_0x1faa6b[_0x1f49f5(0x5f1)];return _0x561183[_0x1f49f5(0x5ea)]({'ciphertext':_0x2b326c,'key':_0x188d91,'iv':_0x2b47e6['iv'],'algorithm':_0x27d4b5,'mode':_0x2b47e6[_0x1f49f5(0x41a)],'padding':_0x2b47e6[_0x1f49f5(0x58a)],'blockSize':_0x27d4b5[_0x1f49f5(0x5fb)],'formatter':_0x487573[_0x1f49f5(0x442)]});},'decrypt':function(_0x23a83f,_0x2e6488,_0x439b72,_0x40bce4){const _0x41bdb4=_0x1f7a26;_0x40bce4=this[_0x41bdb4(0x5f1)]['extend'](_0x40bce4),_0x2e6488=this[_0x41bdb4(0x4fb)](_0x2e6488,_0x40bce4['format']);var _0x505959=_0x23a83f['createDecryptor'](_0x439b72,_0x40bce4)[_0x41bdb4(0x40f)](_0x2e6488[_0x41bdb4(0x50c)]);return _0x505959;},'_parse':function(_0x1d38d3,_0x4236de){const _0x20e0d5=_0x1f7a26;return typeof _0x1d38d3==_0x20e0d5(0x4cf)?_0x4236de[_0x20e0d5(0x5ef)](_0x1d38d3,this):_0x1d38d3;}}),_0x330312=_0x3ab242['kdf']={},_0x16ec67=_0x330312['OpenSSL']={'execute':function(_0x3ae18d,_0x478ee0,_0x4ffbe9,_0x4bd858,_0xc1ce1c){const _0x48c99c=_0x1f7a26;if(_0x4bd858||(_0x4bd858=_0x33a0c1[_0x48c99c(0x24d)](0x40/0x8)),_0xc1ce1c)var _0x344689=_0x3b2604['create']({'keySize':_0x478ee0+_0x4ffbe9,'hasher':_0xc1ce1c})[_0x48c99c(0x2a7)](_0x3ae18d,_0x4bd858);else var _0x344689=_0x3b2604[_0x48c99c(0x5ea)]({'keySize':_0x478ee0+_0x4ffbe9})[_0x48c99c(0x2a7)](_0x3ae18d,_0x4bd858);var _0x1f03a6=_0x33a0c1[_0x48c99c(0x5ea)](_0x344689[_0x48c99c(0x1dd)][_0x48c99c(0x5a9)](_0x478ee0),_0x4ffbe9*0x4);return _0x344689['sigBytes']=_0x478ee0*0x4,_0x561183[_0x48c99c(0x5ea)]({'key':_0x344689,'iv':_0x1f03a6,'salt':_0x4bd858});}},_0x18d482=_0x19a6fc[_0x1f7a26(0x1b3)]=_0x30c948['extend']({'cfg':_0x30c948[_0x1f7a26(0x5f1)][_0x1f7a26(0x2a4)]({'kdf':_0x16ec67}),'encrypt':function(_0x59364c,_0x1a56a7,_0x396e60,_0x5e53b2){const _0x1e6451=_0x1f7a26;_0x5e53b2=this[_0x1e6451(0x5f1)][_0x1e6451(0x2a4)](_0x5e53b2);var _0x17acba=_0x5e53b2['kdf'][_0x1e6451(0x263)](_0x396e60,_0x59364c[_0x1e6451(0x566)],_0x59364c[_0x1e6451(0x45e)],_0x5e53b2['salt'],_0x5e53b2[_0x1e6451(0x32e)]);_0x5e53b2['iv']=_0x17acba['iv'];var _0x52a249=_0x30c948[_0x1e6451(0x216)]['call'](this,_0x59364c,_0x1a56a7,_0x17acba['key'],_0x5e53b2);return _0x52a249[_0x1e6451(0x1ae)](_0x17acba),_0x52a249;},'decrypt':function(_0x2fee34,_0x423edb,_0x40e61a,_0x25c023){const _0x39c174=_0x1f7a26;_0x25c023=this[_0x39c174(0x5f1)][_0x39c174(0x2a4)](_0x25c023),_0x423edb=this[_0x39c174(0x4fb)](_0x423edb,_0x25c023[_0x39c174(0x442)]);var _0x4578b8=_0x25c023[_0x39c174(0x32f)][_0x39c174(0x263)](_0x40e61a,_0x2fee34[_0x39c174(0x566)],_0x2fee34[_0x39c174(0x45e)],_0x423edb['salt'],_0x25c023[_0x39c174(0x32e)]);_0x25c023['iv']=_0x4578b8['iv'];var _0x412a3f=_0x30c948['decrypt']['call'](this,_0x2fee34,_0x423edb,_0x4578b8[_0x39c174(0x577)],_0x25c023);return _0x412a3f;}});}();}));}(ft)),ft[_0x51d86e(0x353)];}(function(_0x2c68a3,_0x4399c9){(function(_0x24a462,_0x3048b8,_0x86d4a){const _0x3fceba=_0x47c6;_0x2c68a3[_0x3fceba(0x353)]=_0x3048b8(oe(),On(),cr(),Dn(),wn());}(X,function(_0x4ec44c){const _0x1a0ab4=_0x47c6;return(function(){const _0x352c09=_0x47c6;var _0x22ab6d=_0x4ec44c,_0x3d6263=_0x22ab6d[_0x352c09(0x410)],_0x6bd552=_0x3d6263[_0x352c09(0x2c9)],_0x304d1d=_0x22ab6d['algo'],_0x2c095e=[],_0x147279=[],_0x266a30=[],_0x37495f=[],_0x2d1dfe=[],_0x3b9bce=[],_0x468af7=[],_0x5a4e0d=[],_0x26ba2f=[],_0x2bb214=[];(function(){for(var _0x38a3b3=[],_0x3e180f=0x0;_0x3e180f<0x100;_0x3e180f++)_0x3e180f<0x80?_0x38a3b3[_0x3e180f]=_0x3e180f<<0x1:_0x38a3b3[_0x3e180f]=_0x3e180f<<0x1^0x11b;for(var _0x432fe2=0x0,_0x216981=0x0,_0x3e180f=0x0;_0x3e180f<0x100;_0x3e180f++){var _0x3aa489=_0x216981^_0x216981<<0x1^_0x216981<<0x2^_0x216981<<0x3^_0x216981<<0x4;_0x3aa489=_0x3aa489>>>0x8^_0x3aa489&0xff^0x63,_0x2c095e[_0x432fe2]=_0x3aa489,_0x147279[_0x3aa489]=_0x432fe2;var _0xc5384a=_0x38a3b3[_0x432fe2],_0x23c9c1=_0x38a3b3[_0xc5384a],_0x34773f=_0x38a3b3[_0x23c9c1],_0x40e3b4=_0x38a3b3[_0x3aa489]*0x101^_0x3aa489*0x1010100;_0x266a30[_0x432fe2]=_0x40e3b4<<0x18|_0x40e3b4>>>0x8,_0x37495f[_0x432fe2]=_0x40e3b4<<0x10|_0x40e3b4>>>0x10,_0x2d1dfe[_0x432fe2]=_0x40e3b4<<0x8|_0x40e3b4>>>0x18,_0x3b9bce[_0x432fe2]=_0x40e3b4;var _0x40e3b4=_0x34773f*0x1010101^_0x23c9c1*0x10001^_0xc5384a*0x101^_0x432fe2*0x1010100;_0x468af7[_0x3aa489]=_0x40e3b4<<0x18|_0x40e3b4>>>0x8,_0x5a4e0d[_0x3aa489]=_0x40e3b4<<0x10|_0x40e3b4>>>0x10,_0x26ba2f[_0x3aa489]=_0x40e3b4<<0x8|_0x40e3b4>>>0x18,_0x2bb214[_0x3aa489]=_0x40e3b4,_0x432fe2?(_0x432fe2=_0xc5384a^_0x38a3b3[_0x38a3b3[_0x38a3b3[_0x34773f^_0xc5384a]]],_0x216981^=_0x38a3b3[_0x38a3b3[_0x216981]]):_0x432fe2=_0x216981=0x1;}}());var _0x197c28=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a2141=_0x304d1d[_0x352c09(0x47f)]=_0x6bd552[_0x352c09(0x2a4)]({'_doReset':function(){const _0x54aff8=_0x352c09;var _0x50c553;if(!(this[_0x54aff8(0x5e8)]&&this['_keyPriorReset']===this[_0x54aff8(0x539)])){for(var _0x471d8a=this[_0x54aff8(0x278)]=this['_key'],_0x1cb6d5=_0x471d8a['words'],_0x5efb10=_0x471d8a[_0x54aff8(0x48a)]/0x4,_0x5a47aa=this['_nRounds']=_0x5efb10+0x6,_0x2f854f=(_0x5a47aa+0x1)*0x4,_0x276f86=this[_0x54aff8(0x2bf)]=[],_0xb88d43=0x0;_0xb88d43<_0x2f854f;_0xb88d43++)_0xb88d43<_0x5efb10?_0x276f86[_0xb88d43]=_0x1cb6d5[_0xb88d43]:(_0x50c553=_0x276f86[_0xb88d43-0x1],_0xb88d43%_0x5efb10?_0x5efb10>0x6&&_0xb88d43%_0x5efb10==0x4&&(_0x50c553=_0x2c095e[_0x50c553>>>0x18]<<0x18|_0x2c095e[_0x50c553>>>0x10&0xff]<<0x10|_0x2c095e[_0x50c553>>>0x8&0xff]<<0x8|_0x2c095e[_0x50c553&0xff]):(_0x50c553=_0x50c553<<0x8|_0x50c553>>>0x18,_0x50c553=_0x2c095e[_0x50c553>>>0x18]<<0x18|_0x2c095e[_0x50c553>>>0x10&0xff]<<0x10|_0x2c095e[_0x50c553>>>0x8&0xff]<<0x8|_0x2c095e[_0x50c553&0xff],_0x50c553^=_0x197c28[_0xb88d43/_0x5efb10|0x0]<<0x18),_0x276f86[_0xb88d43]=_0x276f86[_0xb88d43-_0x5efb10]^_0x50c553);for(var _0x587769=this['_invKeySchedule']=[],_0x3647c2=0x0;_0x3647c2<_0x2f854f;_0x3647c2++){var _0xb88d43=_0x2f854f-_0x3647c2;if(_0x3647c2%0x4)var _0x50c553=_0x276f86[_0xb88d43];else var _0x50c553=_0x276f86[_0xb88d43-0x4];_0x3647c2<0x4||_0xb88d43<=0x4?_0x587769[_0x3647c2]=_0x50c553:_0x587769[_0x3647c2]=_0x468af7[_0x2c095e[_0x50c553>>>0x18]]^_0x5a4e0d[_0x2c095e[_0x50c553>>>0x10&0xff]]^_0x26ba2f[_0x2c095e[_0x50c553>>>0x8&0xff]]^_0x2bb214[_0x2c095e[_0x50c553&0xff]];}}},'encryptBlock':function(_0x211cf2,_0x47ddea){const _0x398a3b=_0x352c09;this[_0x398a3b(0x5d9)](_0x211cf2,_0x47ddea,this[_0x398a3b(0x2bf)],_0x266a30,_0x37495f,_0x2d1dfe,_0x3b9bce,_0x2c095e);},'decryptBlock':function(_0x4920e7,_0x1b5ffb){const _0x1ad1a2=_0x352c09;var _0x2847b4=_0x4920e7[_0x1b5ffb+0x1];_0x4920e7[_0x1b5ffb+0x1]=_0x4920e7[_0x1b5ffb+0x3],_0x4920e7[_0x1b5ffb+0x3]=_0x2847b4,this['_doCryptBlock'](_0x4920e7,_0x1b5ffb,this[_0x1ad1a2(0x1d5)],_0x468af7,_0x5a4e0d,_0x26ba2f,_0x2bb214,_0x147279);var _0x2847b4=_0x4920e7[_0x1b5ffb+0x1];_0x4920e7[_0x1b5ffb+0x1]=_0x4920e7[_0x1b5ffb+0x3],_0x4920e7[_0x1b5ffb+0x3]=_0x2847b4;},'_doCryptBlock':function(_0x219690,_0x5c2c5c,_0x859e6,_0x22f26b,_0x11e084,_0x3cb6c8,_0x36fe3d,_0x81ea51){const _0x8a88ae=_0x352c09;for(var _0x39f3f3=this[_0x8a88ae(0x5e8)],_0x6b969c=_0x219690[_0x5c2c5c]^_0x859e6[0x0],_0xc4db5c=_0x219690[_0x5c2c5c+0x1]^_0x859e6[0x1],_0x5982a8=_0x219690[_0x5c2c5c+0x2]^_0x859e6[0x2],_0x3d559f=_0x219690[_0x5c2c5c+0x3]^_0x859e6[0x3],_0x1677ef=0x4,_0x2e5d1b=0x1;_0x2e5d1b<_0x39f3f3;_0x2e5d1b++){var _0x550711=_0x22f26b[_0x6b969c>>>0x18]^_0x11e084[_0xc4db5c>>>0x10&0xff]^_0x3cb6c8[_0x5982a8>>>0x8&0xff]^_0x36fe3d[_0x3d559f&0xff]^_0x859e6[_0x1677ef++],_0x4025bc=_0x22f26b[_0xc4db5c>>>0x18]^_0x11e084[_0x5982a8>>>0x10&0xff]^_0x3cb6c8[_0x3d559f>>>0x8&0xff]^_0x36fe3d[_0x6b969c&0xff]^_0x859e6[_0x1677ef++],_0x2b4dbe=_0x22f26b[_0x5982a8>>>0x18]^_0x11e084[_0x3d559f>>>0x10&0xff]^_0x3cb6c8[_0x6b969c>>>0x8&0xff]^_0x36fe3d[_0xc4db5c&0xff]^_0x859e6[_0x1677ef++],_0xcc3248=_0x22f26b[_0x3d559f>>>0x18]^_0x11e084[_0x6b969c>>>0x10&0xff]^_0x3cb6c8[_0xc4db5c>>>0x8&0xff]^_0x36fe3d[_0x5982a8&0xff]^_0x859e6[_0x1677ef++];_0x6b969c=_0x550711,_0xc4db5c=_0x4025bc,_0x5982a8=_0x2b4dbe,_0x3d559f=_0xcc3248;}var _0x550711=(_0x81ea51[_0x6b969c>>>0x18]<<0x18|_0x81ea51[_0xc4db5c>>>0x10&0xff]<<0x10|_0x81ea51[_0x5982a8>>>0x8&0xff]<<0x8|_0x81ea51[_0x3d559f&0xff])^_0x859e6[_0x1677ef++],_0x4025bc=(_0x81ea51[_0xc4db5c>>>0x18]<<0x18|_0x81ea51[_0x5982a8>>>0x10&0xff]<<0x10|_0x81ea51[_0x3d559f>>>0x8&0xff]<<0x8|_0x81ea51[_0x6b969c&0xff])^_0x859e6[_0x1677ef++],_0x2b4dbe=(_0x81ea51[_0x5982a8>>>0x18]<<0x18|_0x81ea51[_0x3d559f>>>0x10&0xff]<<0x10|_0x81ea51[_0x6b969c>>>0x8&0xff]<<0x8|_0x81ea51[_0xc4db5c&0xff])^_0x859e6[_0x1677ef++],_0xcc3248=(_0x81ea51[_0x3d559f>>>0x18]<<0x18|_0x81ea51[_0x6b969c>>>0x10&0xff]<<0x10|_0x81ea51[_0xc4db5c>>>0x8&0xff]<<0x8|_0x81ea51[_0x5982a8&0xff])^_0x859e6[_0x1677ef++];_0x219690[_0x5c2c5c]=_0x550711,_0x219690[_0x5c2c5c+0x1]=_0x4025bc,_0x219690[_0x5c2c5c+0x2]=_0x2b4dbe,_0x219690[_0x5c2c5c+0x3]=_0xcc3248;},'keySize':0x100/0x20});_0x22ab6d[_0x352c09(0x47f)]=_0x6bd552[_0x352c09(0x634)](_0x2a2141);}()),_0x4ec44c[_0x1a0ab4(0x47f)];}));}(yn));var _r=yn[_0x31ef25(0x353)];const ur=xe(_r);var dr=On();const Xt=xe(dr);var Pn={'exports':{}};(function(_0x3f1e75,_0x5705d9){(function(_0x431f82,_0x4b911f){const _0x244403=_0x47c6;_0x3f1e75[_0x244403(0x353)]=_0x4b911f(oe());}(X,function(_0x148212){return _0x148212['enc']['Utf8'];}));}(Pn));var fr=Pn[_0x31ef25(0x353)];const vr=xe(fr);var Un={'exports':{}};(function(_0x5624ac,_0x3399ae){(function(_0x2da945,_0x113fbf){const _0x4fa071=_0x47c6;_0x5624ac[_0x4fa071(0x353)]=_0x113fbf(oe());}(X,function(_0x329f0a){const _0x3f8104=_0x47c6;return(function(){const _0x33232f=_0x47c6;if(typeof ArrayBuffer=='function'){var _0x86db16=_0x329f0a,_0xda7f4e=_0x86db16[_0x33232f(0x410)],_0x53aeb2=_0xda7f4e[_0x33232f(0x370)],_0x38b052=_0x53aeb2[_0x33232f(0x26a)],_0x327235=_0x53aeb2[_0x33232f(0x26a)]=function(_0x18a8c8){const _0x367d10=_0x33232f;if(_0x18a8c8 instanceof ArrayBuffer&&(_0x18a8c8=new Uint8Array(_0x18a8c8)),(_0x18a8c8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18a8c8 instanceof Uint8ClampedArray||_0x18a8c8 instanceof Int16Array||_0x18a8c8 instanceof Uint16Array||_0x18a8c8 instanceof Int32Array||_0x18a8c8 instanceof Uint32Array||_0x18a8c8 instanceof Float32Array||_0x18a8c8 instanceof Float64Array)&&(_0x18a8c8=new Uint8Array(_0x18a8c8[_0x367d10(0x431)],_0x18a8c8[_0x367d10(0x1ce)],_0x18a8c8['byteLength'])),_0x18a8c8 instanceof Uint8Array){for(var _0x1cb624=_0x18a8c8[_0x367d10(0x1b8)],_0x430b96=[],_0x1989d3=0x0;_0x1989d3<_0x1cb624;_0x1989d3++)_0x430b96[_0x1989d3>>>0x2]|=_0x18a8c8[_0x1989d3]<<0x18-_0x1989d3%0x4*0x8;_0x38b052[_0x367d10(0x32b)](this,_0x430b96,_0x1cb624);}else _0x38b052[_0x367d10(0x23e)](this,arguments);};_0x327235[_0x33232f(0x3cf)]=_0x53aeb2;}}()),_0x329f0a[_0x3f8104(0x410)]['WordArray'];}));}(Un));var Sr=Un[_0x31ef25(0x353)];const pr=xe(Sr);var Mn={'exports':{}};(function(_0x249d3f,_0x3a94aa){(function(_0x3690b2,_0x25a67f,_0x2af2e7){const _0x2de7f4=_0x47c6;_0x249d3f[_0x2de7f4(0x353)]=_0x25a67f(oe(),wn());}(X,function(_0x301941){const _0x202f78=_0x47c6;return _0x301941['pad'][_0x202f78(0x565)]={'pad':function(){},'unpad':function(){}},_0x301941[_0x202f78(0x63c)][_0x202f78(0x565)];}));}(Mn));var mr=Mn[_0x31ef25(0x353)];const gr=xe(mr);function Ir(_0x331a48,_0xcd359){const _0x58e2fd=_0x31ef25,_0x48476f=_0xcd359-_0x331a48[_0x58e2fd(0x360)]%_0xcd359,_0x298931=String[_0x58e2fd(0x2df)](_0x48476f)[_0x58e2fd(0x2c2)](_0x48476f);return _0x331a48+_0x298931;}function Cr(_0x1547d3,_0x319d4c){const _0x195ed2=_0x31ef25,_0x4894fa=pr[_0x195ed2(0x24d)](0x10),_0x1c46da=Ir(_0x1547d3,0x10),_0x28efef=ur[_0x195ed2(0x216)](vr[_0x195ed2(0x5ef)](_0x1c46da),Xt[_0x195ed2(0x5ef)](_0x319d4c),{'iv':_0x4894fa,'padding':gr});return _0x4894fa['concat'](_0x28efef['ciphertext'])[_0x195ed2(0x5dd)](Xt);}function Er(){const _0x4c89f7=_0x31ef25,_0x3bd6d4=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x4c89f7(0x18c)];if(_0x3bd6d4){const _0x3631c9={'time':Math[_0x4c89f7(0x3ba)](Date[_0x4c89f7(0x369)]()/0x3e8),'domain':location[_0x4c89f7(0x48c)]};return Cr(JSON[_0x4c89f7(0x557)](_0x3631c9),_0x3bd6d4);}}var br=Object[_0x31ef25(0x4c2)],Tr=Object[_0x31ef25(0x53c)],Rr=(_0x553f3a,_0x14ae85,_0xc4ace1,_0x1624cb)=>{for(var _0x43ec41=_0x1624cb>0x1?void 0x0:_0x1624cb?Tr(_0x14ae85,_0xc4ace1):_0x14ae85,_0x1e4cd1=_0x553f3a['length']-0x1,_0x5a3ff6;_0x1e4cd1>=0x0;_0x1e4cd1--)(_0x5a3ff6=_0x553f3a[_0x1e4cd1])&&(_0x43ec41=(_0x1624cb?_0x5a3ff6(_0x14ae85,_0xc4ace1,_0x43ec41):_0x5a3ff6(_0x43ec41))||_0x43ec41);return _0x1624cb&&_0x43ec41&&br(_0x14ae85,_0xc4ace1,_0x43ec41),_0x43ec41;},yr=(_0xe2fa90,_0x6fa995)=>(_0x18bdf6,_0x27293e)=>_0x6fa995(_0x18bdf6,_0x27293e,_0xe2fa90);let Ye=class{constructor(_0x2c4062){const _0x1648fd=_0x31ef25;this['_httpService']=_0x2c4062,this[_0x1648fd(0x28b)]();}[_0x31ef25(0x28b)](){const _0x541a62=_0x31ef25;this[_0x541a62(0x2d1)][_0x541a62(0x2d6)]({'interceptor':(_0x364e79,_0x4f040a)=>{const _0x5c1461=_0x541a62,_0x385d8d=_0x364e79[_0x5c1461(0x5f3)],_0x50da8e=Er();return _0x50da8e&&_0x385d8d['set'](_0x5c1461(0x2f0),_0x50da8e),_0x4f040a(_0x364e79);}});}};Ye=Rr([yr(0x0,a[_0x31ef25(0x249)](J[_0x31ef25(0x5a8)]))],Ye);var Or=Object[_0x31ef25(0x4c2)],Dr=Object[_0x31ef25(0x53c)],wr=(_0x437475,_0x2f07ff,_0x216f43,_0x3b76e0)=>{const _0x51c602=_0x31ef25;for(var _0x5aa767=_0x3b76e0>0x1?void 0x0:_0x3b76e0?Dr(_0x2f07ff,_0x216f43):_0x2f07ff,_0x5f50b8=_0x437475[_0x51c602(0x360)]-0x1,_0x5f2962;_0x5f50b8>=0x0;_0x5f50b8--)(_0x5f2962=_0x437475[_0x5f50b8])&&(_0x5aa767=(_0x3b76e0?_0x5f2962(_0x2f07ff,_0x216f43,_0x5aa767):_0x5f2962(_0x5aa767))||_0x5aa767);return _0x3b76e0&&_0x5aa767&&Or(_0x2f07ff,_0x216f43,_0x5aa767),_0x5aa767;},vt=(_0x561ba2,_0xa4ac2a)=>(_0xa3dd07,_0x1d8b7e)=>_0xa4ac2a(_0xa3dd07,_0x1d8b7e,_0x561ba2);const Pr=[_0x31ef25(0x19f),'image/jpeg',_0x31ef25(0x5c7),_0x31ef25(0x4af),'image/bmp'],Ur=0x5*0x400*0x400,Mr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ar=_0x31ef25(0x376),Nr=_0x31ef25(0x363),Lr=_0x31ef25(0x525);exports[_0x31ef25(0x49e)]=class{constructor(_0x4143e9,_0x517c20,_0x212def){const _0x37174b=_0x31ef25;I(this,'_waitCount',0x0),I(this,_0x37174b(0x3b1),new A[(_0x37174b(0x3ce))]()),I(this,_0x37174b(0x5b1),this['_change$']),I(this,_0x37174b(0x4cc),new Map()),(this['_httpService']=_0x4143e9,this['_configService']=_0x517c20,this[_0x37174b(0x2a3)]=_0x212def);}['setWaitCount'](_0x1dd9ab){const _0x2bd0bb=_0x31ef25;this[_0x2bd0bb(0x3a8)]=_0x1dd9ab,this[_0x2bd0bb(0x3b1)][_0x2bd0bb(0x28d)](_0x1dd9ab);}[_0x31ef25(0x436)](_0x4e8312,_0x181804){const _0x436e7d=_0x31ef25;if(_0x181804===ne[_0x436e7d(0x600)][_0x436e7d(0x2a5)]){const _0x20ed3f=new Image();return _0x20ed3f[_0x436e7d(0x44b)]=_0x4e8312,_0x20ed3f;}return this['_imageSourceCache']['get'](_0x4e8312);}[_0x31ef25(0x321)](_0x5a3ff8,_0x1ef761,_0x247266){const _0x478066=_0x31ef25;_0x1ef761===ne['ImageSourceType'][_0x478066(0x2a5)]||_0x247266==null||this['_imageSourceCache'][_0x478066(0x3bb)](_0x5a3ff8,_0x247266);}async[_0x31ef25(0x28c)](_0x5143fc){const _0x289221=_0x31ef25;try{const _0x532843=this[_0x289221(0x470)](this[_0x289221(0x4e0)](),''+_0x5143fc),_0x2d538a=(await this['_httpService'][_0x289221(0x4c8)](_0x532843))['body'];if(_0x2d538a[_0x289221(0x220)]&&_0x2d538a[_0x289221(0x220)][_0x289221(0x4ec)]===cn['OK']){const _0x3059e4=new URL(_0x2d538a[_0x289221(0x47c)],this[_0x289221(0x2e7)]())[_0x289221(0x5dd)]();return Promise[_0x289221(0x19d)](_0x3059e4);}return Promise[_0x289221(0x4ed)](_0x2d538a[_0x289221(0x220)]);}catch(_0x2dc780){return Promise[_0x289221(0x4ed)](_0x2dc780);}}async[_0x31ef25(0x46d)](_0x129383){const _0x4611b6=_0x31ef25;let _0x5473e6='';if(!Pr[_0x4611b6(0x23d)](_0x129383[_0x4611b6(0x618)]))return this['_decreaseWaiting'](),Promise[_0x4611b6(0x4ed)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x129383[_0x4611b6(0x331)]>Ur)return this[_0x4611b6(0x494)](),Promise[_0x4611b6(0x4ed)](new Error(ne[_0x4611b6(0x39d)][_0x4611b6(0x3f3)]));try{const _0x429c6e=new FormData();_0x429c6e[_0x4611b6(0x42a)](_0x4611b6(0x36d),_0x129383);const _0x37c091=this['_univerInstanceService'][_0x4611b6(0x271)](),_0x420d09=_0x37c091==null?void 0x0:_0x37c091['getUnitId']();if(!_0x420d09)throw new Error(_0x4611b6(0x3a6));const _0x4bc4aa=this[_0x4611b6(0x4c5)]()+_0x4611b6(0x382)+_0x129383[_0x4611b6(0x331)]['toString']()+'&source='+ln['UnitEmbedded']+'&assign='+encodeURIComponent(_0x420d09),_0x39e41b=await(await fetch(_0x4bc4aa,{'method':'POST','body':_0x429c6e}))[_0x4611b6(0x1da)]();if(typeof _0x39e41b[_0x4611b6(0x52e)]!=_0x4611b6(0x4cf))return this[_0x4611b6(0x494)](),Promise[_0x4611b6(0x4ed)](new Error(ne[_0x4611b6(0x39d)][_0x4611b6(0x640)]));_0x5473e6=_0x39e41b[_0x4611b6(0x52e)];}catch{return this[_0x4611b6(0x494)](),Promise[_0x4611b6(0x4ed)](new Error(ne[_0x4611b6(0x39d)][_0x4611b6(0x640)]));}return new Promise((_0xe418c4,_0x5f0792)=>{const _0xd0e56a=_0x4611b6,_0x34822f=new FileReader();_0x34822f[_0xd0e56a(0x27b)](_0x129383),_0x34822f['onload']=_0x511470=>{const _0x3b5359=_0xd0e56a;var _0x5250fd;const _0x5d3f1b=(_0x5250fd=_0x511470[_0x3b5359(0x4d0)])==null?void 0x0:_0x5250fd[_0x3b5359(0x4ea)];if(_0x5d3f1b==null){this[_0x3b5359(0x494)](),_0x5f0792(new Error(ne[_0x3b5359(0x39d)][_0x3b5359(0x640)]));return;}const _0x2d6d5e=a[_0x3b5359(0x4fa)][_0x3b5359(0x4c1)](0x6);_0xe418c4({'imageId':_0x2d6d5e,'imageSourceType':ne[_0x3b5359(0x600)][_0x3b5359(0x49d)],'source':_0x5473e6,'base64Cache':_0x5d3f1b,'status':ne[_0x3b5359(0x39d)][_0x3b5359(0x4b5)]}),this[_0x3b5359(0x494)]();};});}[_0x31ef25(0x4c5)](){const _0x541bb6=_0x31ef25;var _0x4d3112,_0x5426df;const _0x5ca8ba=this[_0x541bb6(0x372)][_0x541bb6(0x403)](Mr),_0x33ee4a=this[_0x541bb6(0x372)][_0x541bb6(0x403)](ee);return(_0x5426df=(_0x4d3112=_0x33ee4a==null?void 0x0:_0x33ee4a['uploadFileServerUrl'])!=null?_0x4d3112:_0x5ca8ba)!=null?_0x5426df:Ar;}[_0x31ef25(0x4e0)](){const _0x321d90=_0x31ef25;var _0x2d8047,_0x4f9170;const _0x4765da=this[_0x321d90(0x372)]['getConfig'](Nr),_0x5121e5=this[_0x321d90(0x372)][_0x321d90(0x403)](ee);return(_0x4f9170=(_0x2d8047=_0x5121e5==null?void 0x0:_0x5121e5[_0x321d90(0x2c5)])!=null?_0x2d8047:_0x4765da)!=null?_0x4f9170:Lr;}[_0x31ef25(0x2e7)](){const _0x7b0879=_0x31ef25;var _0xab56d2;const _0x274033=this[_0x7b0879(0x372)][_0x7b0879(0x403)](ee);return(_0xab56d2=_0x274033==null?void 0x0:_0x274033[_0x7b0879(0x4da)])!=null?_0xab56d2:location[_0x7b0879(0x3ea)];}[_0x31ef25(0x470)](_0x5f47e1,_0x148f65){const _0x32e45d=_0x31ef25;return _0x5f47e1[_0x32e45d(0x1e1)](_0x32e45d(0x605),_0x148f65);}[_0x31ef25(0x494)](){const _0x359ca8=_0x31ef25;this[_0x359ca8(0x3a8)]-=0x1,this[_0x359ca8(0x3b1)][_0x359ca8(0x28d)](this['_waitCount']);}},exports[_0x31ef25(0x49e)]=wr([vt(0x0,a[_0x31ef25(0x249)](J[_0x31ef25(0x5a8)])),vt(0x1,a[_0x31ef25(0x3ca)]),vt(0x2,a[_0x31ef25(0x249)](a[_0x31ef25(0x28e)]))],exports['ImageIoService']);var xr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],$r=(_0x3895be,_0x4b2711,_0x34882e,_0x2ca35f)=>{for(var _0x5148bf=_0x2ca35f>0x1?void 0x0:_0x2ca35f?jr(_0x4b2711,_0x34882e):_0x4b2711,_0x1907b1=_0x3895be['length']-0x1,_0x3c0369;_0x1907b1>=0x0;_0x1907b1--)(_0x3c0369=_0x3895be[_0x1907b1])&&(_0x5148bf=(_0x2ca35f?_0x3c0369(_0x4b2711,_0x34882e,_0x5148bf):_0x3c0369(_0x5148bf))||_0x5148bf);return _0x2ca35f&&_0x5148bf&&xr(_0x4b2711,_0x34882e,_0x5148bf),_0x5148bf;},Ae=(_0x408d5e,_0x7dcf8b)=>(_0x36d5d7,_0x19a8db)=>_0x7dcf8b(_0x36d5d7,_0x19a8db,_0x408d5e);let Ke=class extends a[_0x31ef25(0x25c)]{constructor(_0x5afd7d,_0x258f0c,_0x4523e1,_0x1b4dca,_0xb5c4c4){const _0xefb860=_0x31ef25;super(),this[_0xefb860(0x507)]=_0x5afd7d,this[_0xefb860(0x2a3)]=_0x258f0c,this[_0xefb860(0x26c)]=_0x4523e1,this['_collaborationSessionService']=_0x1b4dca,this[_0xefb860(0x592)]=_0xb5c4c4,this[_0xefb860(0x3d7)](),this[_0xefb860(0x347)]();}[_0x31ef25(0x347)](){const _0x254093=_0x31ef25,_0x4bfaba=async _0x5638c5=>{const _0x480c19=_0x47c6;(await this[_0x480c19(0x5e1)][_0x480c19(0x2e1)](_0x5638c5))['event$']['pipe'](V[_0x480c19(0x4bd)](_0x335e2a=>_0x335e2a['eventID']===p[_0x480c19(0x4e5)][_0x480c19(0x4d8)]),V['takeUntil'](this[_0x480c19(0x50e)]))[_0x480c19(0x52d)](_0x19a5de=>{const _0x20f60b=_0x480c19,_0x4d8340=_0x19a5de,{reason:_0x43546d}=_0x4d8340[_0x20f60b(0x5bb)];this[_0x20f60b(0x507)]['get'](te[_0x20f60b(0x4bc)])[_0x20f60b(0x2c8)]({'type':Ie[_0x20f60b(0x4f9)][_0x20f60b(0x38a)],'content':this[_0x20f60b(0x592)]['t'](_0x20f60b(0x1ec))+'('+_0x43546d+')'}),this['_permissionService'][_0x20f60b(0x1dc)](new B['WorkbookEditablePermission'](_0x5638c5)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5638c5);});};A[_0x254093(0x29f)](this[_0x254093(0x2a3)]['getTypeOfUnitAdded$'](a[_0x254093(0x236)][_0x254093(0x3dc)]),this[_0x254093(0x2a3)][_0x254093(0x625)](a[_0x254093(0x236)][_0x254093(0x459)]))[_0x254093(0x37e)](V[_0x254093(0x2a9)](_0x57b7e2=>_0x57b7e2[_0x254093(0x5ba)]()),V[_0x254093(0x4bd)](_0x3b33ea=>!a['isInternalEditorID'](_0x3b33ea)),V[_0x254093(0x471)](this[_0x254093(0x50e)]))[_0x254093(0x52d)](_0x5c15b5=>{_0x4bfaba(_0x5c15b5);});}['_initUnitPermissionChange'](){const _0x520787=_0x31ef25,_0x19c764=async _0x1a79dc=>{const _0x2ae2fb=_0x47c6;(await this[_0x2ae2fb(0x5e1)]['requireSession'](_0x1a79dc))[_0x2ae2fb(0x63b)]['pipe'](V[_0x2ae2fb(0x4bd)](_0x556c38=>_0x556c38[_0x2ae2fb(0x318)]===p[_0x2ae2fb(0x4e5)]['UPDATE_PERMISSION_OBJ']),V[_0x2ae2fb(0x471)](this[_0x2ae2fb(0x50e)]))['subscribe'](_0x3ec148=>{const _0x597b6e=_0x2ae2fb,_0x4243d5=_0x3ec148,{objectId:_0x58b25d}=_0x4243d5['data'],_0xeb48fe=this['_injector'][_0x597b6e(0x4c8)](Re[_0x597b6e(0x296)]);_0x58b25d===_0x1a79dc?_0xeb48fe[_0x597b6e(0x630)](_0x1a79dc):_0xeb48fe['refreshPermission'](_0x1a79dc,_0x58b25d);});};A['merge'](this[_0x520787(0x2a3)]['getTypeOfUnitAdded$'](a[_0x520787(0x236)][_0x520787(0x3dc)]),this[_0x520787(0x2a3)][_0x520787(0x625)](a[_0x520787(0x236)]['UNIVER_DOC']))[_0x520787(0x37e)](V[_0x520787(0x2a9)](_0x33b803=>_0x33b803[_0x520787(0x5ba)]()),V[_0x520787(0x4bd)](_0x5da366=>!a[_0x520787(0x233)](_0x5da366)),V[_0x520787(0x471)](this[_0x520787(0x50e)]))[_0x520787(0x52d)](_0x5a9e6f=>{_0x19c764(_0x5a9e6f);});}};Ke=$r([Ae(0x0,a['Inject'](a[_0x31ef25(0x1c8)])),Ae(0x1,a[_0x31ef25(0x28e)]),Ae(0x2,a[_0x31ef25(0x417)]),Ae(0x3,a[_0x31ef25(0x249)](exports[_0x31ef25(0x395)])),Ae(0x4,a[_0x31ef25(0x249)](a[_0x31ef25(0x593)]))],Ke);var Hr=Object[_0x31ef25(0x4c2)],kr=Object[_0x31ef25(0x53c)],Br=(_0x984481,_0x3b62e9,_0x3776bb,_0x18a469)=>{const _0x842cc7=_0x31ef25;for(var _0x2bbcae=_0x18a469>0x1?void 0x0:_0x18a469?kr(_0x3b62e9,_0x3776bb):_0x3b62e9,_0x5416dd=_0x984481[_0x842cc7(0x360)]-0x1,_0x2e407c;_0x5416dd>=0x0;_0x5416dd--)(_0x2e407c=_0x984481[_0x5416dd])&&(_0x2bbcae=(_0x18a469?_0x2e407c(_0x3b62e9,_0x3776bb,_0x2bbcae):_0x2e407c(_0x2bbcae))||_0x2bbcae);return _0x18a469&&_0x2bbcae&&Hr(_0x3b62e9,_0x3776bb,_0x2bbcae),_0x2bbcae;},Jt=(_0x1419b1,_0x53ff04)=>(_0x3a79d0,_0x29a400)=>_0x53ff04(_0x3a79d0,_0x29a400,_0x1419b1);exports[_0x31ef25(0x38b)]=class{constructor(_0x3c750e,_0xe30ebb){const _0x3bb5c4=_0x31ef25;this[_0x3bb5c4(0x372)]=_0x3c750e,this[_0x3bb5c4(0x2d1)]=_0xe30ebb;}async[_0x31ef25(0x488)](_0x253ca2,_0xc77369){const _0x597912=_0x31ef25;var _0x1b3c45;const {unitID:_0x25238a,type:_0x25bc8e,revision:_0x7f0445=0x0}=_0xc77369,_0x511ea2=this['_getSnapshotAPIPrefix']()+'/'+_0x25bc8e+_0x597912(0x591)+_0x25238a+'/rev/'+_0x7f0445,_0x47ed9a=(await this[_0x597912(0x2d1)]['get'](_0x511ea2))[_0x597912(0x3c1)],_0x118ffc=(_0x1b3c45=_0x47ed9a[_0x597912(0x5e3)])==null?void 0x0:_0x1b3c45['workbook'];if(_0x118ffc){const _0x914f3b=_0x118ffc==null?void 0x0:_0x118ffc[_0x597912(0x54b)],_0x293981=p[_0x597912(0x57e)][_0x597912(0x241)](p['b64DecodeUnicode'](_0x914f3b));_0x118ffc[_0x597912(0x54b)]=_0x293981,Object[_0x597912(0x469)](_0x118ffc[_0x597912(0x58c)])['forEach'](([,_0x4532fd])=>{const _0x352167=_0x597912,_0x3ddf13=_0x4532fd[_0x352167(0x54b)],_0x3700c9=p[_0x352167(0x57e)]['encode'](p['b64DecodeUnicode'](_0x3ddf13));_0x4532fd[_0x352167(0x54b)]=_0x3700c9;});}return _0x47ed9a;}async[_0x31ef25(0x63f)](_0x4ce23b,_0x2be559){const _0x288e29=_0x31ef25,{unitID:_0x38996e,type:_0x43ce45,blockID:_0x3f11d9}=_0x2be559,_0x5bda06=this[_0x288e29(0x601)]()+'/'+_0x43ce45+_0x288e29(0x591)+_0x38996e+_0x288e29(0x2cd)+_0x3f11d9;return(await this[_0x288e29(0x2d1)]['get'](_0x5bda06))['body'];}async[_0x31ef25(0x5d2)](_0x397e46,_0x3973d3){const _0x431c24=_0x31ef25,{unitID:_0x1bb139,type:_0x2a04ba,blockID:_0xd6dab4}=_0x3973d3,_0x57c409=this[_0x431c24(0x601)]()+_0x431c24(0x2cd)+_0x2a04ba+_0x431c24(0x591)+_0x1bb139+'/block/'+_0xd6dab4;return(await this['_httpService'][_0x431c24(0x4c8)](_0x57c409))[_0x431c24(0x3c1)];}async[_0x31ef25(0x244)](_0x27fbca,_0x5df403){const _0x2450e2=_0x31ef25,{unitID:_0x1c915f,type:_0x55eb27,from:_0x37744b,to:_0x145525}=_0x5df403,_0x2d7ac6=this[_0x2450e2(0x601)]()+'/'+_0x55eb27+_0x2450e2(0x591)+_0x1c915f+_0x2450e2(0x435)+_0x37744b+_0x2450e2(0x1b2)+_0x145525;return(await this[_0x2450e2(0x2d1)][_0x2450e2(0x4c8)](_0x2d7ac6))[_0x2450e2(0x3c1)];}[_0x31ef25(0x522)](){const _0x19562c=_0x31ef25;var _0x1434be;return(_0x1434be=this[_0x19562c(0x372)][_0x19562c(0x403)](Qt))!=null?_0x1434be:this[_0x19562c(0x601)]();}['_getAPIPrefix'](){const _0x28e040=_0x31ef25;var _0x551a4a,_0xcb9ea7;const _0x1bba31=this[_0x28e040(0x372)][_0x28e040(0x403)](Zt),_0x4e4af3=this[_0x28e040(0x372)][_0x28e040(0x403)](ee);return(_0xcb9ea7=(_0x551a4a=_0x4e4af3==null?void 0x0:_0x4e4af3[_0x28e040(0x4dd)])!=null?_0x551a4a:_0x1bba31)!=null?_0xcb9ea7:Hn;}async[_0x31ef25(0x404)](_0x1fb770,_0x4dc6df){const _0x542078=_0x31ef25,_0x5e05fb=_0x542078(0x5df)+_0x4dc6df[_0x542078(0x618)]+_0x542078(0x591)+_0x4dc6df[_0x542078(0x5db)]+_0x542078(0x31c);return(await this[_0x542078(0x2d1)][_0x542078(0x4c8)](_0x5e05fb,{'params':{'resourceId':JSON['stringify'](_0x4dc6df['resourceIDs'])}}))[_0x542078(0x3c1)];}[_0x31ef25(0x3b7)](){const _0xb7e91f=_0x31ef25;throw new Error(_0xb7e91f(0x412));}[_0x31ef25(0x34f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x31ef25(0x3a7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x31ef25(0x24b)](){const _0x5335bb=_0x31ef25;throw new Error(_0x5335bb(0x412));}[_0x31ef25(0x227)](){const _0x9eebda=_0x31ef25;throw new Error(_0x9eebda(0x412));}},exports[_0x31ef25(0x38b)]=Br([Jt(0x0,a['IConfigService']),Jt(0x1,a['Inject'](J[_0x31ef25(0x5a8)]))],exports[_0x31ef25(0x38b)]);var Wr=Object[_0x31ef25(0x4c2)],Fr=Object[_0x31ef25(0x53c)],Vr=(_0x21dbcc,_0x5c4e9b,_0x2701df,_0x50856f)=>{const _0x44931b=_0x31ef25;for(var _0x40aff9=_0x50856f>0x1?void 0x0:_0x50856f?Fr(_0x5c4e9b,_0x2701df):_0x5c4e9b,_0x63cc70=_0x21dbcc[_0x44931b(0x360)]-0x1,_0x4fb9cb;_0x63cc70>=0x0;_0x63cc70--)(_0x4fb9cb=_0x21dbcc[_0x63cc70])&&(_0x40aff9=(_0x50856f?_0x4fb9cb(_0x5c4e9b,_0x2701df,_0x40aff9):_0x4fb9cb(_0x40aff9))||_0x40aff9);return _0x50856f&&_0x40aff9&&Wr(_0x5c4e9b,_0x2701df,_0x40aff9),_0x40aff9;},Ne=(_0x1f2050,_0x4654dd)=>(_0x3dd195,_0x8c0ce1)=>_0x4654dd(_0x3dd195,_0x8c0ce1,_0x1f2050);let It=class extends a[_0x31ef25(0x259)]{constructor(_0x3e31b5,_0x53b8cd,_0x5bd1f5,_0x56c5b2,_0x375e1b){const _0x5ad5d7=_0x31ef25;super(_0x3e31b5,_0x53b8cd,_0x5bd1f5),this['_transformService']=_0x56c5b2,this[_0x5ad5d7(0x60f)]=_0x375e1b;}[_0x31ef25(0x3d8)](_0x479f84,_0x1d7467){const _0x4f12cd=_0x31ef25,_0x3bc0b2=this['_getUndoStack'](_0x479f84);if(_0x3bc0b2)try{const _0x278516=this[_0x4f12cd(0x1ee)](_0x3bc0b2,_0x1d7467);this[_0x4f12cd(0x389)](_0x479f84,_0x278516);}catch(_0x30c460){this[_0x4f12cd(0x60f)][_0x4f12cd(0x220)](_0x4f12cd(0x542),_0x30c460),this[_0x4f12cd(0x5e2)](_0x479f84);}const _0x8a6b75=this['_getRedoStack'](_0x479f84);if(_0x8a6b75)try{const _0x4b7cc6=this[_0x4f12cd(0x1ee)](_0x8a6b75,_0x1d7467);this['_substituteRedoStack'](_0x479f84,_0x4b7cc6);}catch(_0x59eb2b){this[_0x4f12cd(0x60f)][_0x4f12cd(0x220)](_0x59eb2b),this[_0x4f12cd(0x4cd)](_0x479f84);}}[_0x31ef25(0x5e2)](_0x3d55a0){const _0x216878=_0x31ef25,_0x586fc4=this[_0x216878(0x22c)](_0x3d55a0);_0x586fc4&&(_0x586fc4[_0x216878(0x360)]=0x0,this[_0x216878(0x3e7)]());}[_0x31ef25(0x4cd)](_0x81f695){const _0x36c881=_0x31ef25,_0x174e69=this[_0x36c881(0x2e9)](_0x81f695);_0x174e69&&(_0x174e69[_0x36c881(0x360)]=0x0,this[_0x36c881(0x3e7)]());}[_0x31ef25(0x389)](_0x2077c4,_0x4678c6){const _0xb4a72e=_0x31ef25;this[_0xb4a72e(0x392)][_0xb4a72e(0x3bb)](_0x2077c4,_0x4678c6),this[_0xb4a72e(0x3e7)]();}[_0x31ef25(0x598)](_0x36f426,_0x3a6059){const _0x1bf0a1=_0x31ef25;this[_0x1bf0a1(0x5d8)][_0x1bf0a1(0x3bb)](_0x36f426,_0x3a6059),this[_0x1bf0a1(0x3e7)]();}['_transformStack'](_0x525330,_0x4072d7){const _0xe194db=_0x31ef25,_0x3d8686=[];let _0x3ff507=_0x4072d7,_0x5aa2cf=_0x4072d7;for(let _0xd093a8=_0x525330['length']-0x1;_0xd093a8>=0x0;_0xd093a8--){const {unitID:_0x3ef494,undoMutations:_0x41fbdb,redoMutations:_0x3f01af}=_0x525330[_0xd093a8],_0x5d0f31=this['_transformService'][_0xe194db(0x616)](_0x3ff507,_0x41fbdb),_0xcddced=this[_0xe194db(0x262)]['transformMutationsWithChangeset'](_0x5aa2cf,_0x3f01af);if(p[_0xe194db(0x5ac)](_0x5d0f31)||p[_0xe194db(0x5ac)](_0xcddced)){this[_0xe194db(0x60f)][_0xe194db(0x220)](_0xe194db(0x542),_0xe194db(0x59d),_0x5d0f31,_0xcddced);break;}_0x3ff507=_0x5d0f31[_0xe194db(0x509)],_0x5aa2cf=_0xcddced[_0xe194db(0x509)],_0x3d8686['push']({'unitID':_0x3ef494,'undoMutations':_0x5d0f31[_0xe194db(0x35c)],'redoMutations':_0xcddced['m2Prime']});}return _0x3d8686[_0xe194db(0x312)]();}};It=Vr([Ne(0x0,a[_0x31ef25(0x28e)]),Ne(0x1,a['ICommandService']),Ne(0x2,a['IContextService']),Ne(0x3,p[_0x31ef25(0x2ee)]),Ne(0x4,a[_0x31ef25(0x31b)])],It);class An extends a[_0x31ef25(0x25c)]{constructor(){const _0x7ffb40=_0x31ef25;super(),I(this,_0x7ffb40(0x350)),this[_0x7ffb40(0x350)]=A['fromEvent'](window,_0x7ffb40(0x460))[_0x7ffb40(0x37e)](A[_0x7ffb40(0x471)](this[_0x7ffb40(0x50e)]),A[_0x7ffb40(0x49f)](0x1),A[_0x7ffb40(0x2bb)](void 0x0));}[_0x31ef25(0x57f)](_0x2cb38b,_0x3c289e,_0x288114=!0x1){const _0x3d394c=_0x31ef25,_0x1a38c7=new URL(window[_0x3d394c(0x4b8)][_0x3d394c(0x51a)]);_0x1a38c7['searchParams'][_0x3d394c(0x3bb)](_0x2cb38b,_0x3c289e),_0x288114?window['history']['replaceState']('','',_0x1a38c7[_0x3d394c(0x5dd)]()):window[_0x3d394c(0x2c4)][_0x3d394c(0x2af)]('','',_0x1a38c7[_0x3d394c(0x5dd)]());}['removeParam'](_0x286f12,_0xa13941=!0x1){const _0x380d47=_0x31ef25,_0x2c3c6a=new URL(window['location']['href']);_0x2c3c6a['searchParams'][_0x380d47(0x33a)](_0x286f12),_0xa13941?window[_0x380d47(0x2c4)][_0x380d47(0x32d)]('','',_0x2c3c6a['toString']()):window[_0x380d47(0x2c4)]['pushState']('','',_0x2c3c6a[_0x380d47(0x5dd)]());}[_0x31ef25(0x361)](_0x126b14){const _0x4377e7=_0x31ef25;var _0x3cacac;return(_0x3cacac=new URL(window['location']['href'])[_0x4377e7(0x49c)][_0x4377e7(0x4c8)](_0x126b14))!=null?_0x3cacac:void 0x0;}}var Nn=Object[_0x31ef25(0x4c2)],Gr=Object[_0x31ef25(0x53c)],Yr=(_0x4487c9,_0xf7b2e,_0x4663c1)=>_0xf7b2e in _0x4487c9?Nn(_0x4487c9,_0xf7b2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4663c1}):_0x4487c9[_0xf7b2e]=_0x4663c1,Kr=(_0x6761bd,_0x1f3def,_0x574e6a,_0x13b1d7)=>{const _0x132e74=_0x31ef25;for(var _0x112d1c=_0x13b1d7>0x1?void 0x0:_0x13b1d7?Gr(_0x1f3def,_0x574e6a):_0x1f3def,_0x2a7efa=_0x6761bd[_0x132e74(0x360)]-0x1,_0x1a9537;_0x2a7efa>=0x0;_0x2a7efa--)(_0x1a9537=_0x6761bd[_0x2a7efa])&&(_0x112d1c=(_0x13b1d7?_0x1a9537(_0x1f3def,_0x574e6a,_0x112d1c):_0x1a9537(_0x112d1c))||_0x112d1c);return _0x13b1d7&&_0x112d1c&&Nn(_0x1f3def,_0x574e6a,_0x112d1c),_0x112d1c;},He=(_0x314e48,_0x451e85)=>(_0x1d333b,_0x325a76)=>_0x451e85(_0x1d333b,_0x325a76,_0x314e48),qr=(_0x191ebe,_0xb37614,_0x330761)=>Yr(_0x191ebe,_0xb37614+'',_0x330761);const zr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x31ef25(0x394)]=class extends a[_0x31ef25(0x59c)]{constructor(_0x49439b=Xn,_0x5133ba,_0x2c513a,_0x387fb2,_0xb9e578){const _0x1dd89d=_0x31ef25;super(),this[_0x1dd89d(0x2fe)]=_0x49439b,this[_0x1dd89d(0x60f)]=_0x5133ba,this[_0x1dd89d(0x45a)]=_0x2c513a,this[_0x1dd89d(0x507)]=_0x387fb2,this[_0x1dd89d(0x372)]=_0xb9e578;const {..._0x45fe6e}=this[_0x1dd89d(0x2fe)];this[_0x1dd89d(0x372)][_0x1dd89d(0x30c)](ee,_0x45fe6e);}[_0x31ef25(0x1b6)](){const _0x340685=_0x31ef25;this[_0x340685(0x219)](),this[_0x340685(0x317)]();}['onReady'](){const _0x1fde5d=_0x31ef25;a[_0x1fde5d(0x3ad)](this[_0x1fde5d(0x507)],[[Ve]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x31ef25(0x219)](){const _0x39a898=_0x31ef25;var _0x29665d,_0x42b521,_0x5ab376,_0x48728d;this[_0x39a898(0x507)][_0x39a898(0x1ea)](a[_0x39a898(0x225)])&&this[_0x39a898(0x60f)][_0x39a898(0x220)](_0x39a898(0x449),_0x39a898(0x2dd));const _0x552424=[[a['IUndoRedoService'],{'useClass':It}],[exports[_0x39a898(0x395)]],[Ot],[wt,{'useClass':An}],[exports[_0x39a898(0x615)]],[exports[_0x39a898(0x3aa)]],[J[_0x39a898(0x18f)]],[Be],[Fe],[ke],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x42b521=(_0x29665d=this[_0x39a898(0x2fe)])==null?void 0x0:_0x29665d[_0x39a898(0x628)])!=null?_0x42b521:exports['CollaborationSocketService']}],[p[_0x39a898(0x3e2)],{'useClass':exports[_0x39a898(0x38b)]}],[a[_0x39a898(0x42d)],{'useClass':exports[_0x39a898(0x5a0)]}],[ne[_0x39a898(0x422)],{'useClass':exports[_0x39a898(0x49e)]}],[exports[_0x39a898(0x4e7)]],[exports[_0x39a898(0x3b8)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x5ab376=this['_config'])!=null&&_0x5ab376[_0x39a898(0x23c)]&&_0x552424['push']([qe,{'useClass':Di}]),a['registerDependencies'](this[_0x39a898(0x507)],a[_0x39a898(0x1a0)](_0x552424,(_0x48728d=this[_0x39a898(0x2fe)])==null?void 0x0:_0x48728d[_0x39a898(0x629)]));}[_0x31ef25(0x536)](){const _0x24df1e=_0x31ef25;this[_0x24df1e(0x328)](this[_0x24df1e(0x45a)][_0x24df1e(0x266)](a[_0x24df1e(0x236)]['UNIVER_DOC'],[mt])),this[_0x24df1e(0x328)](this['_renderManagerService'][_0x24df1e(0x266)](a[_0x24df1e(0x236)]['UNIVER_SHEET'],[gt]));}[_0x31ef25(0x317)](){const _0x3281ea=_0x31ef25;var _0x3dc131,_0x26dd62;this[_0x3281ea(0x507)][_0x3281ea(0x4c8)](J['HTTPService'])[_0x3281ea(0x2d6)]({'priority':0x14,'interceptor':J[_0x3281ea(0x1f7)]({'maxParallel':0x6})}),(_0x3dc131=this['_config'])!=null&&_0x3dc131[_0x3281ea(0x5b9)]||this['_injector'][_0x3281ea(0x4c8)](exports['LocalCacheService'])['disableLocalCache'](),(_0x26dd62=this[_0x3281ea(0x2fe)])!=null&&_0x26dd62['enableAuthServer']&&a['touchDependencies'](this[_0x3281ea(0x507)],[[Ge]]),a[_0x3281ea(0x3ad)](this['_injector'],[[Ye],[De],[exports[_0x3281ea(0x3b8)]],[exports[_0x3281ea(0x4e7)]],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},qr(exports['UniverCollaborationClientPlugin'],_0x31ef25(0x303),zr),exports[_0x31ef25(0x394)]=Kr([a[_0x31ef25(0x44d)](p[_0x31ef25(0x4d1)],J[_0x31ef25(0x3a4)]),He(0x1,a[_0x31ef25(0x31b)]),He(0x2,K[_0x31ef25(0x2a6)]),He(0x3,a[_0x31ef25(0x249)](a[_0x31ef25(0x1c8)])),He(0x4,a[_0x31ef25(0x3ca)])],exports['UniverCollaborationClientPlugin']),exports[_0x31ef25(0x4be)]=Rn,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=on,exports[_0x31ef25(0x17e)]=en,exports[_0x31ef25(0x257)]=q,exports[_0x31ef25(0x273)]=Tn,exports[_0x31ef25(0x55b)]=Tt,exports[_0x31ef25(0x26e)]=tn,exports[_0x31ef25(0x1ed)]=Ct,exports[_0x31ef25(0x336)]=bt,exports['IURLService']=wt,exports[_0x31ef25(0x472)]=rn,exports[_0x31ef25(0x513)]=an,exports[_0x31ef25(0x305)]=sn,exports[_0x31ef25(0x315)]=kn,exports['SNAPSHOT_SERVER_URL_KEY']=Zt,exports[_0x31ef25(0x486)]=Qt,exports[_0x31ef25(0x46a)]=se,exports[_0x31ef25(0x1c5)]=pn,exports[_0x31ef25(0x380)]=An,exports[_0x31ef25(0x319)]=hn,exports[_0x31ef25(0x2f8)]=_n;
1
+ 'use strict';const _0x56d4b2=_0xe699;(function(_0x38a4ce,_0x443cd3){const _0xccc2f7=_0xe699,_0x58f1ef=_0x38a4ce();while(!![]){try{const _0x2c9c4c=-parseInt(_0xccc2f7(0x4e2))/0x1+-parseInt(_0xccc2f7(0x639))/0x2*(parseInt(_0xccc2f7(0x31e))/0x3)+parseInt(_0xccc2f7(0x5ee))/0x4*(-parseInt(_0xccc2f7(0x2c4))/0x5)+-parseInt(_0xccc2f7(0x1cd))/0x6+-parseInt(_0xccc2f7(0x1ef))/0x7*(-parseInt(_0xccc2f7(0x3b5))/0x8)+-parseInt(_0xccc2f7(0x2cb))/0x9*(-parseInt(_0xccc2f7(0x4d3))/0xa)+parseInt(_0xccc2f7(0x576))/0xb;if(_0x2c9c4c===_0x443cd3)break;else _0x58f1ef['push'](_0x58f1ef['shift']());}catch(_0x7c1c61){_0x58f1ef['push'](_0x58f1ef['shift']());}}}(_0x4fa2,0x8a9b5));var xn=Object[_0x56d4b2(0x3a4)],jn=(_0x3c0c73,_0x401453,_0x4317fa)=>_0x401453 in _0x3c0c73?xn(_0x3c0c73,_0x401453,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4317fa}):_0x3c0c73[_0x401453]=_0x4317fa,I=(_0x136205,_0x3c6a94,_0x5f2e5d)=>jn(_0x136205,typeof _0x3c6a94!=_0x56d4b2(0x3fe)?_0x3c6a94+'':_0x3c6a94,_0x5f2e5d);Object[_0x56d4b2(0x3a4)](exports,Symbol[_0x56d4b2(0x205)],{'value':_0x56d4b2(0x1fb)});const a=require('@univerjs/core'),A=require(_0x56d4b2(0x5ff)),V=require(_0x56d4b2(0x497)),Ce=require(_0x56d4b2(0x20b)),z=require(_0x56d4b2(0x2ac)),te=require(_0x56d4b2(0x62c)),p=require(_0x56d4b2(0x413)),$n=require(_0x56d4b2(0x437)),Ie=require(_0x56d4b2(0x4d2)),Q=require(_0x56d4b2(0x59f)),B=require(_0x56d4b2(0x1e1)),K=require(_0x56d4b2(0x531)),ne=require(_0x56d4b2(0x3b9)),Ut=require(_0x56d4b2(0x3e0)),ye=require(_0x56d4b2(0x64b)),ae=require(_0x56d4b2(0x4d9)),Hn=require(_0x56d4b2(0x254)),en='SNAPSHOT_SERVER_URL_KEY',kn=_0x56d4b2(0x582),tn=_0x56d4b2(0x4ff),Bn=_0x56d4b2(0x2a9),Wn=0x7d0,nn='COLLAB_WEB_SOCKET_URL',Fn=_0x56d4b2(0x669),Vn=_0x56d4b2(0x384),sn=_0x56d4b2(0x532),Gn=0x7530,Ct=_0x56d4b2(0x632),rn=0x4e20,Yn=0x4e20,on=_0x56d4b2(0x3df),Kn=0x3,an=_0x56d4b2(0x3fc),qn=0x3e8,cn=_0x56d4b2(0x1dd),zn='/universer-api/comb',ln='LOGIN_URL_KEY',Xn=_0x56d4b2(0x268);var hn=(_0x41b165=>(_0x41b165[_0x41b165[_0x56d4b2(0x3bc)]=0x0]=_0x56d4b2(0x3bc),_0x41b165[_0x41b165['OK']=0x1]='OK',_0x41b165[_0x41b165[_0x56d4b2(0x25e)]=0x2]='INTERNAL_ERROR',_0x41b165[_0x41b165[_0x56d4b2(0x46c)]=0x3]='PERMISSION_DENIED',_0x41b165[_0x41b165[_0x56d4b2(0x1f3)]=0x4]=_0x56d4b2(0x1f3),_0x41b165[_0x41b165[_0x56d4b2(0x22b)]=0x5]=_0x56d4b2(0x22b),_0x41b165[_0x41b165[_0x56d4b2(0x4d6)]=0x6]=_0x56d4b2(0x4d6),_0x41b165[_0x41b165['INVALID_ARGUMENT']=0x7]=_0x56d4b2(0x265),_0x41b165[_0x41b165[_0x56d4b2(0x3ea)]=0x8]=_0x56d4b2(0x3ea),_0x41b165[_0x41b165[_0x56d4b2(0x3c8)]=0x9]=_0x56d4b2(0x3c8),_0x41b165[_0x41b165[_0x56d4b2(0x67a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x41b165[_0x41b165['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x56d4b2(0x4e7),_0x41b165[_0x41b165[_0x56d4b2(0x65c)]=0x1772]=_0x56d4b2(0x65c),_0x41b165[_0x41b165['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41b165[_0x41b165['APPLY_REJECT']=0x1b59]=_0x56d4b2(0x49f),_0x41b165[_0x41b165['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x56d4b2(0x503),_0x41b165[_0x41b165['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x56d4b2(0x3aa),_0x41b165[_0x41b165[_0x56d4b2(0x31d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x41b165[_0x41b165['APPLY_DUPLICATED']=0x1b5d]=_0x56d4b2(0x2b8),_0x41b165[_0x41b165[_0x56d4b2(0x689)]=0x1f41]=_0x56d4b2(0x689),_0x41b165[_0x41b165[_0x56d4b2(0x2f4)]=0x2329]=_0x56d4b2(0x2f4),_0x41b165[_0x41b165[_0x56d4b2(0x424)]=0x232a]=_0x56d4b2(0x424),_0x41b165[_0x41b165['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41b165[_0x41b165['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x56d4b2(0x4cb),_0x41b165[_0x41b165['LICENSE_DISTRO_REJECTED']=0x232d]=_0x56d4b2(0x5d8),_0x41b165[_0x41b165[_0x56d4b2(0x32e)]=0x2711]=_0x56d4b2(0x32e),_0x41b165[_0x41b165['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x41b165[_0x41b165['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41b165[_0x41b165[_0x56d4b2(0x264)]=0x2714]=_0x56d4b2(0x264),_0x41b165[_0x41b165['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0x41b165))(hn||{}),ie=(_0x467359=>(_0x467359[_0x467359[_0x56d4b2(0x389)]=0x0]=_0x56d4b2(0x389),_0x467359[_0x467359['UNIVER_DOC']=0x1]=_0x56d4b2(0x487),_0x467359[_0x467359[_0x56d4b2(0x58e)]=0x2]=_0x56d4b2(0x58e),_0x467359[_0x467359[_0x56d4b2(0x3b0)]=0x3]=_0x56d4b2(0x3b0),_0x467359[_0x467359['UNIVER_PROJECT']=0x4]=_0x56d4b2(0x382),_0x467359[_0x467359['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0x467359))(ie||{}),G=(_0xc266b=>(_0xc266b[_0xc266b[_0x56d4b2(0x57b)]=0x0]='UNKNOWN_CMD',_0xc266b[_0xc266b[_0x56d4b2(0x3f7)]=0x1]='HELLO',_0xc266b[_0xc266b[_0x56d4b2(0x4e4)]=0x2]='JOIN',_0xc266b[_0xc266b['LEAVE']=0x3]=_0x56d4b2(0x670),_0xc266b[_0xc266b['INGEST']=0x4]=_0x56d4b2(0x481),_0xc266b[_0xc266b['HEARTBEAT']=0x5]='HEARTBEAT',_0xc266b[_0xc266b[_0x56d4b2(0x243)]=0x6]=_0x56d4b2(0x243),_0xc266b[_0xc266b['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0xc266b))(G||{}),Et=(_0x33615a=>(_0x33615a[_0x33615a[_0x56d4b2(0x2cf)]=0x0]=_0x56d4b2(0x2cf),_0x33615a[_0x33615a['OK']=0x1]='OK',_0x33615a[_0x33615a[_0x56d4b2(0x1f0)]=0x2]=_0x56d4b2(0x1f0),_0x33615a[_0x33615a[_0x56d4b2(0x583)]=0x3e9]=_0x56d4b2(0x583),_0x33615a[_0x33615a['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x56d4b2(0x585),_0x33615a[_0x33615a[_0x56d4b2(0x623)]=-0x1]='UNRECOGNIZED',_0x33615a))(Et||{}),_n=(_0x10c85d=>(_0x10c85d[_0x10c85d[_0x56d4b2(0x40e)]=0x0]=_0x56d4b2(0x40e),_0x10c85d[_0x10c85d[_0x56d4b2(0x4e1)]=0x1]=_0x56d4b2(0x4e1),_0x10c85d[_0x10c85d[_0x56d4b2(0x50d)]=0x2]=_0x56d4b2(0x50d),_0x10c85d[_0x10c85d[_0x56d4b2(0x3ad)]=0x3]=_0x56d4b2(0x3ad),_0x10c85d[_0x10c85d[_0x56d4b2(0x5bf)]=0x4]=_0x56d4b2(0x5bf),_0x10c85d[_0x10c85d[_0x56d4b2(0x623)]=-0x1]=_0x56d4b2(0x623),_0x10c85d))(_n||{});const Z=_0x56d4b2(0x3db),Jn={};function un(_0x49b640){const _0x3b7f45=_0x56d4b2;var _0x455739,_0x5de159,_0x4477bb,_0x14f4bd,_0xe373c;const _0x5028d2=_0x49b640[_0x3b7f45(0x569)],_0x3b0781=JSON[_0x3b7f45(0x5db)](_0x5028d2);switch(_0x3b0781[_0x3b7f45(0x2d8)]){case G[_0x3b7f45(0x631)]:case G[_0x3b7f45(0x3f7)]:{const _0x1d21b0=_0x3b0781['infoRsp'];return{..._0x3b0781,'data':_0x1d21b0,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};}case G['JOIN']:{const _0x138eb2=_0x3b0781[_0x3b7f45(0x277)];return{..._0x3b0781,'data':_0x138eb2,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};}case G[_0x3b7f45(0x243)]:{const _0x5de2a8=_0x3b0781['collaMsg'];switch(_0x5de2a8[_0x3b7f45(0x1ff)]){case p[_0x3b7f45(0x467)][_0x3b7f45(0x4dc)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x455739=_0x5de2a8[_0x3b7f45(0x3eb)])==null?void 0x0:_0x455739['cs']},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x2ea)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x5de159=_0x5de2a8[_0x3b7f45(0x393)])==null?void 0x0:_0x5de159['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x52a)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x4477bb=_0x5de2a8['newCsEvent'])==null?void 0x0:_0x4477bb['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x385)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x14f4bd=_0x5de2a8[_0x3b7f45(0x4fd)])==null?void 0x0:_0x14f4bd['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)]['CHANGESET_SHOULD_RETRY']:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0xe373c=_0x5de2a8['csShouldRetryEvent'])==null?void 0x0:_0xe373c['cs']},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x54b)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x482)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3f2)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x338)]},'cmd':_0x3b0781['cmd']};case p['CollaborationEvent']['USERS_LEAVE']:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x335)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3a7)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['liveShareNewHost']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3ec)]:case p[_0x3b7f45(0x467)][_0x3b7f45(0x30e)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['liveShareOperation']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x48d)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x618)]},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x537)]:return{..._0x3b0781,'data':_0x5de2a8,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x54f)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['commentUpdateEvent']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p['CollaborationEvent'][_0x3b7f45(0x3d4)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x21f)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p['CollaborationEvent'][_0x3b7f45(0x4a2)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x67d)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};default:return _0x3b0781;}}default:return _0x3b0781;}}function dn(_0x27b855){const _0x51174f=_0x56d4b2;switch(_0x27b855[_0x51174f(0x2d8)]){case G[_0x51174f(0x631)]:case G['HELLO']:return JSON[_0x51174f(0x637)]({'cmd':_0x27b855[_0x51174f(0x2d8)],'routeKey':_0x27b855[_0x51174f(0x495)]});case G['INGEST']:{let _0x469c35;switch(_0x27b855[_0x51174f(0x569)][_0x51174f(0x1ff)]){case p[_0x51174f(0x467)][_0x51174f(0x54b)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x54b)],'updateCursorEvent':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p[_0x51174f(0x467)][_0x51174f(0x470)]:{_0x469c35={'eventID':p['CollaborationEvent'][_0x51174f(0x470)],'leaveEvent':_0x27b855[_0x51174f(0x569)]['data']};break;}case p[_0x51174f(0x467)][_0x51174f(0x3f2)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3f2)],'joinEvent':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x3a7)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3a7)],'liveShareNewHost':_0x27b855['data'][_0x51174f(0x569)]};break;}case p[_0x51174f(0x467)][_0x51174f(0x30e)]:{_0x469c35={'eventID':p['CollaborationEvent'][_0x51174f(0x30e)],'liveShareOperation':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x48d)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x48d)],'liveShareTerminate':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x2e5)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x2e5)],'liveShareRequestHost':_0x27b855[_0x51174f(0x569)]['data']};break;}case p[_0x51174f(0x467)][_0x51174f(0x3ec)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3ec)]};break;}default:_0x469c35={'eventID':_0x27b855[_0x51174f(0x569)][_0x51174f(0x1ff)]};}return JSON[_0x51174f(0x637)]({'cmd':_0x27b855['cmd'],'routeKey':_0x27b855[_0x51174f(0x495)],'collaMsg':_0x469c35});}case G[_0x51174f(0x4e4)]:return JSON['stringify']({'cmd':_0x27b855[_0x51174f(0x2d8)],'routeKey':_0x27b855[_0x51174f(0x495)],'joinReq':_0x27b855[_0x51174f(0x569)]});case G[_0x51174f(0x670)]:return JSON[_0x51174f(0x637)]({'cmd':_0x27b855['cmd'],'routeKey':_0x27b855['routeKey'],'leaveReq':_0x27b855[_0x51174f(0x569)]});default:throw new Error(_0x51174f(0x33e));}}var Zn=Object[_0x56d4b2(0x3a4)],Qn=Object[_0x56d4b2(0x47e)],ei=(_0x13eace,_0x508cd8,_0x5d66e0,_0x2a1d2f)=>{const _0x124030=_0x56d4b2;for(var _0x43d128=_0x2a1d2f>0x1?void 0x0:_0x2a1d2f?Qn(_0x508cd8,_0x5d66e0):_0x508cd8,_0x1f35fa=_0x13eace[_0x124030(0x543)]-0x1,_0x45c0da;_0x1f35fa>=0x0;_0x1f35fa--)(_0x45c0da=_0x13eace[_0x1f35fa])&&(_0x43d128=(_0x2a1d2f?_0x45c0da(_0x508cd8,_0x5d66e0,_0x43d128):_0x45c0da(_0x43d128))||_0x43d128);return _0x2a1d2f&&_0x43d128&&Zn(_0x508cd8,_0x5d66e0,_0x43d128),_0x43d128;},Pe=(_0x5523e8,_0x56854d)=>(_0x1cf0ec,_0x27ff2f)=>_0x56854d(_0x1cf0ec,_0x27ff2f,_0x5523e8);const bt=a[_0x56d4b2(0x286)](_0x56d4b2(0x3d5));function ti(_0x4eeebb,_0x58f11d,_0x301162){const _0x52aeb1=_0x56d4b2;return _0x4eeebb+'/'+_0x58f11d+_0x52aeb1(0x38b)+_0x301162+_0x52aeb1(0x659);}exports[_0x56d4b2(0x419)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0xbfd317,_0x52229e,_0x29a1ca,_0x4d620f,_0xd9eb44){const _0x14f137=_0x56d4b2;super(),this[_0x14f137(0x64c)]=_0xbfd317,this[_0x14f137(0x3f1)]=_0x52229e,this[_0x14f137(0x2b9)]=_0x29a1ca,this[_0x14f137(0x529)]=_0x4d620f,this[_0x14f137(0x5b5)]=_0xd9eb44;}['createSocket'](_0x1c8f4d){const _0x29d857=_0x56d4b2,_0x546109=this['_ws'][_0x29d857(0x478)](_0x1c8f4d);if(!_0x546109)throw new Error(_0x29d857(0x223));const _0x3cb9be=new a[(_0x29d857(0x20d))](),_0x27dde9=new A[(_0x29d857(0x372))]();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x373)][_0x29d857(0x563)](_0x3e30f4=>_0x27dde9[_0x29d857(0x336)](_0x3e30f4))),_0x3cb9be[_0x29d857(0x247)](a[_0x29d857(0x2a5)](()=>_0x27dde9['complete']()));const _0x5aba74=new A[(_0x29d857(0x372))]();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x571)][_0x29d857(0x563)](_0x356b36=>_0x5aba74[_0x29d857(0x336)](_0x356b36))),_0x3cb9be[_0x29d857(0x247)](a['toDisposable'](()=>_0x5aba74[_0x29d857(0x381)]()));const _0x31e00b=new A['Subject']();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x377)][_0x29d857(0x563)](_0x2b09db=>{const _0x2c81e6=_0x29d857,_0x192743=un(_0x2b09db);_0x31e00b[_0x2c81e6(0x336)](_0x192743);})),_0x3cb9be[_0x29d857(0x247)](a['toDisposable'](()=>_0x31e00b[_0x29d857(0x381)]()));let _0x34ecb5;const _0x2182a6=()=>{const _0x4ebe32=_0x29d857;_0x5aba74[_0x4ebe32(0x336)](new Event(_0x4ebe32(0x5af))),_0x27dde9[_0x4ebe32(0x336)](new CloseEvent(_0x4ebe32(0x5af))),_0x34ecb5[_0x4ebe32(0x649)]();};return _0x34ecb5={'memberID':'','close$':_0x27dde9[_0x29d857(0x59e)](),'error$':_0x5aba74[_0x29d857(0x59e)](),'open$':_0x546109[_0x29d857(0x5a8)],'message$':_0x31e00b[_0x29d857(0x59e)](),'send':_0x2c5aa1=>{const _0xa05712=_0x29d857;if(_0x2c5aa1[_0xa05712(0x2d8)]===G['INGEST']){if(_0x2c5aa1['data']['eventID']===p[_0xa05712(0x467)][_0xa05712(0x257)]){this[_0xa05712(0x2ce)](_0x34ecb5,_0x2c5aa1[_0xa05712(0x569)])['catch'](_0x3b3e93=>{const _0x1de5ea=_0xa05712;this[_0x1de5ea(0x529)]['error'](_0x3b3e93),_0x2182a6();});return;}if(_0x2c5aa1[_0xa05712(0x569)][_0xa05712(0x1ff)]===p['CollaborationEvent'][_0xa05712(0x4f1)]){const _0x44e082=_0x2c5aa1['data'];this['_fetchMissChangesets'](_0x44e082)[_0xa05712(0x4a8)](_0x428381=>{const _0x52e4f4=_0xa05712;_0x31e00b[_0x52e4f4(0x336)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0x44e082[_0x52e4f4(0x569)][_0x52e4f4(0x5ed)],'routeType':'','data':{'eventID':p[_0x52e4f4(0x467)][_0x52e4f4(0x4ef)],'data':{'changesets':_0x428381}}});})['catch'](_0x36afab=>{const _0x386f9c=_0xa05712;this[_0x386f9c(0x529)][_0x386f9c(0x38d)](_0x36afab),_0x2182a6();});return;}}_0x546109[_0xa05712(0x526)](dn(_0x2c5aa1));},'close':()=>{const _0x102ccb=_0x29d857;_0x546109[_0x102ccb(0x649)](),_0x3cb9be['dispose']();}},_0x34ecb5;}async[_0x56d4b2(0x2ce)](_0x58f623,_0x2439b8){const _0x4be03c=_0x56d4b2;var _0x2e3b69,_0x373f58;const {unitType:_0x81a33f,unitID:_0x360c5d,changeset:_0x5e87a2}=_0x2439b8[_0x4be03c(0x569)],_0x30b362={'unitID':_0x360c5d,'memberID':_0x58f623[_0x4be03c(0x408)],'type':_0x81a33f,'changeset':p['parseChangesetToProtocol'](_0x5e87a2)},_0x2257ec=this[_0x4be03c(0x2b9)][_0x4be03c(0x3e8)](cn),_0x5775ff=this[_0x4be03c(0x2b9)]['getConfig'](Z),_0x31e416=ti((_0x373f58=(_0x2e3b69=_0x5775ff==null?void 0x0:_0x5775ff[_0x4be03c(0x609)])!=null?_0x2e3b69:_0x2257ec)!=null?_0x373f58:zn,_0x81a33f,_0x360c5d);try{await this['_http'][_0x4be03c(0x2a3)](_0x31e416,{'body':_0x30b362});}catch(_0x3c62af){throw this[_0x4be03c(0x529)][_0x4be03c(0x38d)](_0x4be03c(0x37a),_0x4be03c(0x56b)),_0x3c62af;}}async[_0x56d4b2(0x359)](_0x256cda){const _0x3c7f90=_0x56d4b2,{unitID:_0x105394,from:_0x2ea01c,to:_0x200714,unitType:_0x26004b}=_0x256cda[_0x3c7f90(0x569)];return(await this[_0x3c7f90(0x5b5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x105394,'type':_0x26004b,'from':_0x2ea01c,'to':_0x200714}))[_0x3c7f90(0x292)];}},exports[_0x56d4b2(0x419)]=ei([Pe(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),Pe(0x1,a[_0x56d4b2(0x226)](z['WebSocketService'])),Pe(0x2,a['IConfigService']),Pe(0x3,a['ILogService']),Pe(0x4,p[_0x56d4b2(0x508)])],exports[_0x56d4b2(0x419)]);const ni=_0x56d4b2(0x1e3);function ii(_0x433324){const _0x1f8cb1=_0x56d4b2;return JSON[_0x1f8cb1(0x637)](_0x433324)[_0x1f8cb1(0x543)];}class Tt{constructor(){const _0x2a8a49=_0x56d4b2;I(this,_0x2a8a49(0x5d4),new A[(_0x2a8a49(0x372))]()),I(this,_0x2a8a49(0x5e1),this[_0x2a8a49(0x5d4)][_0x2a8a49(0x59e)]());}[_0x56d4b2(0x51f)](_0x320df4){const _0x26b7a9=_0x56d4b2;this[_0x26b7a9(0x5d4)][_0x26b7a9(0x336)](_0x320df4);}}var si=Object['defineProperty'],ri=Object['getOwnPropertyDescriptor'],oi=(_0xe703dc,_0xabccd9,_0x377a5d,_0x90e5d1)=>{const _0x37879b=_0x56d4b2;for(var _0x10aa3f=_0x90e5d1>0x1?void 0x0:_0x90e5d1?ri(_0xabccd9,_0x377a5d):_0xabccd9,_0x24c3e3=_0xe703dc[_0x37879b(0x543)]-0x1,_0x54ce28;_0x24c3e3>=0x0;_0x24c3e3--)(_0x54ce28=_0xe703dc[_0x24c3e3])&&(_0x10aa3f=(_0x90e5d1?_0x54ce28(_0xabccd9,_0x377a5d,_0x10aa3f):_0x54ce28(_0x10aa3f))||_0x10aa3f);return _0x90e5d1&&_0x10aa3f&&si(_0xabccd9,_0x377a5d,_0x10aa3f),_0x10aa3f;},Mt=(_0x283236,_0xcdb62e)=>(_0x4a0218,_0x1be727)=>_0xcdb62e(_0x4a0218,_0x1be727,_0x283236);exports[_0x56d4b2(0x2cc)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x163c02,_0x4389ab){const _0x5e1e7d=_0x56d4b2;super(),I(this,_0x5e1e7d(0x607),new Map()),(this[_0x5e1e7d(0x2c6)]=_0x163c02,this[_0x5e1e7d(0x3ee)]=_0x4389ab,this[_0x5e1e7d(0x211)](a[_0x5e1e7d(0x2a5)](A[_0x5e1e7d(0x593)](this['_univerInstanceService'][_0x5e1e7d(0x489)](a['UniverInstanceType'][_0x5e1e7d(0x58e)])[_0x5e1e7d(0x348)](V[_0x5e1e7d(0x26d)](_0x5749de=>_0x5749de['getUnitId']())),this[_0x5e1e7d(0x2c6)][_0x5e1e7d(0x489)](a[_0x5e1e7d(0x5c7)][_0x5e1e7d(0x487)])[_0x5e1e7d(0x348)](V[_0x5e1e7d(0x26d)](_0x339b1f=>_0x339b1f[_0x5e1e7d(0x25a)]())),this[_0x5e1e7d(0x2c6)][_0x5e1e7d(0x489)](a[_0x5e1e7d(0x5c7)][_0x5e1e7d(0x3b0)])[_0x5e1e7d(0x348)](V['map'](_0x18f5ec=>_0x18f5ec[_0x5e1e7d(0x25a)]())))[_0x5e1e7d(0x563)](_0xcd69ec=>this[_0x5e1e7d(0x448)](_0xcd69ec)))));}[_0x56d4b2(0x605)](_0x5e6195){const _0x29a59e=_0x56d4b2;this[_0x29a59e(0x3ee)]['setCurrentUser'](_0x5e6195);}[_0x56d4b2(0x3cd)](){const _0x29c036=_0x56d4b2;return this[_0x29c036(0x3ee)][_0x29c036(0x3cd)]();}[_0x56d4b2(0x206)](_0x3086fc,_0x43e5db){const _0x57331c=_0x56d4b2;let _0x857f7f=this[_0x57331c(0x607)][_0x57331c(0x313)](_0x3086fc);_0x857f7f||(_0x857f7f=new ai(),this[_0x57331c(0x607)][_0x57331c(0x24a)](_0x3086fc,_0x857f7f)),_0x857f7f['updateMember'](_0x43e5db);}['removeMember'](_0x2d3d2c,_0x36963d){const _0x4b45b5=_0x56d4b2,_0xc96c5=this['_roomMembers']['get'](_0x2d3d2c);_0xc96c5&&_0xc96c5[_0x4b45b5(0x321)](_0x36963d);}[_0x56d4b2(0x342)](_0x3dec95){const _0x574961=_0x56d4b2;return this[_0x574961(0x607)][_0x574961(0x313)](_0x3dec95);}[_0x56d4b2(0x511)](_0x230c2f,_0x2ff887){const _0x3fd3e1=_0x56d4b2,_0xf2e44f=this[_0x3fd3e1(0x607)][_0x3fd3e1(0x313)](_0x230c2f);if(_0xf2e44f)return _0xf2e44f[_0x3fd3e1(0x511)](_0x2ff887);}[_0x56d4b2(0x448)](_0x35ae6b){const _0x9471a7=_0x56d4b2,_0xe3d9e6=this[_0x9471a7(0x607)]['get'](_0x35ae6b);_0xe3d9e6&&(_0xe3d9e6['dispose'](),this[_0x9471a7(0x607)][_0x9471a7(0x30c)](_0x35ae6b));}[_0x56d4b2(0x51e)](){const _0x544ba3=_0x56d4b2;this['_roomMembers'][_0x544ba3(0x3dc)](_0x1f4131=>_0x1f4131[_0x544ba3(0x51e)]()),this[_0x544ba3(0x607)][_0x544ba3(0x34c)]();}},exports[_0x56d4b2(0x2cc)]=oi([Mt(0x0,a[_0x56d4b2(0x63e)]),Mt(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x5f4)]))],exports[_0x56d4b2(0x2cc)]);class ai extends a[_0x56d4b2(0x5e9)]{constructor(){const _0x243ae0=_0x56d4b2;super(...arguments),I(this,_0x243ae0(0x451),new Map());}[_0x56d4b2(0x51e)](){const _0x365e29=_0x56d4b2;this[_0x365e29(0x451)]['clear']();}[_0x56d4b2(0x206)](_0x4a151e){const _0xf4cd85=_0x56d4b2;this[_0xf4cd85(0x451)][_0xf4cd85(0x24a)](_0x4a151e[_0xf4cd85(0x408)],_0x4a151e);}[_0x56d4b2(0x321)](_0x585422){const _0x108ea0=_0x56d4b2;this['_members'][_0x108ea0(0x30c)](_0x585422);}[_0x56d4b2(0x511)](_0x31f9a8){const _0x472f20=_0x56d4b2;return this[_0x472f20(0x451)][_0x472f20(0x313)](_0x31f9a8);}['getAllMembers'](){const _0x8ce2a0=_0x56d4b2;return Array[_0x8ce2a0(0x3e5)](this['_members'][_0x8ce2a0(0x23d)]());}}var ci=Object['defineProperty'],li=Object[_0x56d4b2(0x47e)],hi=(_0x4a8b01,_0x3b09c,_0x89267,_0xe1e94e)=>{const _0xbe9b8e=_0x56d4b2;for(var _0x13104b=_0xe1e94e>0x1?void 0x0:_0xe1e94e?li(_0x3b09c,_0x89267):_0x3b09c,_0x12faff=_0x4a8b01[_0xbe9b8e(0x543)]-0x1,_0x4c687e;_0x12faff>=0x0;_0x12faff--)(_0x4c687e=_0x4a8b01[_0x12faff])&&(_0x13104b=(_0xe1e94e?_0x4c687e(_0x3b09c,_0x89267,_0x13104b):_0x4c687e(_0x13104b))||_0x13104b);return _0xe1e94e&&_0x13104b&&ci(_0x3b09c,_0x89267,_0x13104b),_0x13104b;},de=(_0x4a1443,_0x37a640)=>(_0x5bd6fb,_0x9c3ed7)=>_0x37a640(_0x5bd6fb,_0x9c3ed7,_0x4a1443),se=(_0x2e0cd4=>(_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x2ee)]=0x0]=_0x56d4b2(0x2ee),_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x3ae)]=0x1]='JOINING',_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x48b)]=0x2]=_0x56d4b2(0x48b),_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x53b)]=0x3]='ONLINE',_0x2e0cd4))(se||{});exports[_0x56d4b2(0x453)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x519f9f,_0x21889c,_0x1cd0f7,_0x50ad88,_0x14771c,_0x28a56c,_0x2eec4f,_0x38cd20,_0x56827b,_0x49aed9){const _0x1363e3=_0x56d4b2;super(),I(this,_0x1363e3(0x533),new A[(_0x1363e3(0x227))](0x0)),I(this,_0x1363e3(0x548),this[_0x1363e3(0x533)][_0x1363e3(0x59e)]()),I(this,_0x1363e3(0x58a),new A[(_0x1363e3(0x372))]()),I(this,_0x1363e3(0x418),this[_0x1363e3(0x58a)][_0x1363e3(0x59e)]()),I(this,_0x1363e3(0x2ed)),I(this,_0x1363e3(0x502)),I(this,_0x1363e3(0x203)),I(this,_0x1363e3(0x300),!0x1),I(this,_0x1363e3(0x521),null),(this[_0x1363e3(0x47f)]=_0x519f9f,this[_0x1363e3(0x529)]=_0x1cd0f7,this[_0x1363e3(0x365)]=_0x50ad88,this[_0x1363e3(0x24f)]=_0x14771c,this[_0x1363e3(0x2b9)]=_0x28a56c,this[_0x1363e3(0x1fc)]=_0x2eec4f,this['_memberService']=_0x38cd20,this['_commentService']=_0x56827b,this['_telemetryService']=_0x49aed9,this[_0x1363e3(0x300)]=!!this[_0x1363e3(0x38f)],_0x21889c[_0x1363e3(0x348)](A[_0x1363e3(0x5e8)](this[_0x1363e3(0x5ba)]))[_0x1363e3(0x563)](_0x286168=>{const _0x501c59=_0x1363e3;var _0x226901;typeof _0x286168>'u'||(this[_0x501c59(0x2ed)]=_0x286168,_0x286168?(this[_0x501c59(0x39d)](_0x286168),this['_socketMessageSubscription']=_0x286168[_0x501c59(0x377)][_0x501c59(0x563)](_0x32f129=>{const _0x4f4db6=_0x501c59;_0x32f129[_0x4f4db6(0x495)]===this[_0x4f4db6(0x47f)]&&this['_onCombEvent'](_0x32f129);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x501c59(0x533)][_0x501c59(0x336)](0x2),(_0x226901=this[_0x501c59(0x502)])==null||_0x226901['unsubscribe'](),this[_0x501c59(0x502)]=null));}),this[_0x1363e3(0x211)](this[_0x1363e3(0x365)][_0x1363e3(0x302)](()=>{const _0xa24f2f=_0x1363e3;var _0xc639b2;(_0xc639b2=this[_0xa24f2f(0x2ed)])==null||_0xc639b2['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0xa24f2f(0x47f)]}});})));}get[_0x56d4b2(0x494)](){const _0x54a7b3=_0x56d4b2;return this[_0x54a7b3(0x533)]['getValue']();}[_0x56d4b2(0x222)](){const _0x12fb0b=_0x56d4b2;var _0x2289fc,_0x195958;return(_0x195958=(_0x2289fc=this[_0x12fb0b(0x2ed)])==null?void 0x0:_0x2289fc['memberID'])!=null?_0x195958:null;}[_0x56d4b2(0x51e)](){const _0x25e4d5=_0x56d4b2;super[_0x25e4d5(0x51e)](),this[_0x25e4d5(0x5ba)]['next'](),this[_0x25e4d5(0x5ba)][_0x25e4d5(0x381)]();}['close'](){const _0x516b62=_0x56d4b2;var _0x5d1ef4,_0x15edd3;this[_0x516b62(0x1e4)](),(_0x5d1ef4=this[_0x516b62(0x2ed)])==null||_0x5d1ef4[_0x516b62(0x526)]({'cmd':G[_0x516b62(0x670)],'data':{'roomID':this[_0x516b62(0x47f)]}}),(_0x15edd3=this['_socket'])==null||_0x15edd3[_0x516b62(0x649)](),this['_event$'][_0x516b62(0x381)](),this[_0x516b62(0x533)][_0x516b62(0x381)](),this['dispose']();}['_onCombEvent'](_0x18783f){const _0x46dd58=_0x56d4b2;_0x18783f[_0x46dd58(0x2d8)]===G[_0x46dd58(0x4e4)]?this[_0x46dd58(0x589)](_0x18783f):_0x18783f[_0x46dd58(0x2d8)]===G[_0x46dd58(0x243)]&&this[_0x46dd58(0x5f2)](_0x18783f);}[_0x56d4b2(0x39d)](_0x45034a){const _0x46c3c3=_0x56d4b2;this[_0x46c3c3(0x533)][_0x46c3c3(0x336)](0x1),_0x45034a[_0x46c3c3(0x526)]({'cmd':G[_0x46c3c3(0x4e4)],'routeKey':this[_0x46c3c3(0x47f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46c3c3(0x47f)]}]}});}['_onJoinRoomEvent'](_0x1e62af){const _0x11a4f4=_0x56d4b2;var _0x50ab73;if(_0x1e62af[_0x11a4f4(0x40a)]===Et['FAIL']){this[_0x11a4f4(0x24f)][_0x11a4f4(0x2a0)]({'type':Ce[_0x11a4f4(0x3b7)][_0x11a4f4(0x3a1)],'content':this[_0x11a4f4(0x1fc)]['t']('session.room-full')}),this[_0x11a4f4(0x533)][_0x11a4f4(0x336)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x2f8cc8=(_0x50ab73=_0x1e62af['data'][_0x11a4f4(0x2c8)][this[_0x11a4f4(0x47f)]])==null?void 0x0:_0x50ab73['members'];_0x2f8cc8&&_0x2f8cc8[_0x11a4f4(0x3dc)](_0xdbd905=>this['_memberService'][_0x11a4f4(0x206)](this['_unitID'],_0xdbd905));}[_0x56d4b2(0x5f2)](_0x15e9bc){const _0x2c316b=_0x56d4b2;try{const _0x388595=_0x15e9bc['data'];switch(_0x388595[_0x2c316b(0x1ff)]){case p[_0x2c316b(0x467)][_0x2c316b(0x3f2)]:this['_onUserJoin'](_0x388595),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p['CollaborationEvent'][_0x2c316b(0x470)]:this[_0x2c316b(0x443)](_0x388595),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p[_0x2c316b(0x467)][_0x2c316b(0x2ea)]:case p[_0x2c316b(0x467)]['CHANGESET_SHOULD_RETRY']:this[_0x2c316b(0x32f)](),this[_0x2c316b(0x65d)](),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p['CollaborationEvent'][_0x2c316b(0x537)]:this[_0x2c316b(0x529)][_0x2c316b(0x38d)](_0x2c316b(0x587)+JSON[_0x2c316b(0x637)](_0x388595)),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p[_0x2c316b(0x467)][_0x2c316b(0x54f)]:this[_0x2c316b(0x259)][_0x2c316b(0x51f)](_0x388595['data']),this['_event$'][_0x2c316b(0x336)](_0x388595);break;default:this['_event$'][_0x2c316b(0x336)](_0x388595);}}catch(_0x595bf7){this[_0x2c316b(0x529)]['error'](_0x595bf7,_0x15e9bc);}}[_0x56d4b2(0x274)](_0x13452a){const _0x381d02=_0x56d4b2;this['_memberService'][_0x381d02(0x206)](this['_unitID'],_0x13452a[_0x381d02(0x569)]);}[_0x56d4b2(0x443)](_0x56f881){const _0x2d72f5=_0x56d4b2;this['_memberService']['removeMember'](this[_0x2d72f5(0x47f)],_0x56f881[_0x2d72f5(0x569)][_0x2d72f5(0x408)]);}async[_0x56d4b2(0x526)](_0x27a20e,_0x522b96){const _0x3e9fad=_0x56d4b2;if(this[_0x3e9fad(0x494)]!==0x3||!this[_0x3e9fad(0x2ed)])throw new Error(_0x3e9fad(0x218));try{_0x27a20e[_0x3e9fad(0x1ff)]===p[_0x3e9fad(0x467)][_0x3e9fad(0x257)]&&(this[_0x3e9fad(0x3c4)](),this[_0x3e9fad(0x486)](_0x27a20e)),this[_0x3e9fad(0x2ed)][_0x3e9fad(0x526)]({'cmd':G[_0x3e9fad(0x481)],'routeKey':_0x522b96,'routeType':'','data':_0x27a20e});}catch(_0x4cf8aa){this[_0x3e9fad(0x529)]['error'](_0x4cf8aa);}}['_scheduleCollaborationTimeoutTimer'](){const _0x42128e=_0x56d4b2;var _0x59ff5e;this[_0x42128e(0x203)]=window[_0x42128e(0x4f7)](()=>{const _0x39ebe9=_0x42128e;this[_0x39ebe9(0x203)]=null,this[_0x39ebe9(0x24f)][_0x39ebe9(0x2a0)]({'type':Ce[_0x39ebe9(0x3b7)][_0x39ebe9(0x597)],'content':this[_0x39ebe9(0x1fc)]['t'](_0x39ebe9(0x45d))});},(_0x59ff5e=this[_0x42128e(0x2b9)][_0x42128e(0x3e8)](Ct))!=null?_0x59ff5e:rn);}['_clearCollaborationTimeoutTimer'](){const _0x23e63d=_0x56d4b2;this[_0x23e63d(0x203)]&&(clearTimeout(this[_0x23e63d(0x203)]),this[_0x23e63d(0x203)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x30ea8a){if(!this['_shouldReportTelemetry'])return;const {data:_0x4cd65b}=_0x30ea8a,{unitID:_0x49a850,changeset:_0x1be555}=_0x4cd65b,{mutations:_0x9ddc6b,type:_0xe1af30}=_0x1be555;this['_telemetryInfo']={'unitId':_0x49a850,'type':_0xe1af30,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ii(_0x9ddc6b)};}[_0x56d4b2(0x32f)](){const _0x45633b=_0x56d4b2;if(this[_0x45633b(0x300)]){if(!this[_0x45633b(0x521)]){this[_0x45633b(0x529)][_0x45633b(0x38d)](_0x45633b(0x37a),_0x45633b(0x4da));return;}this['_telemetryInfo'][_0x45633b(0x480)]=performance[_0x45633b(0x1d6)](),this[_0x45633b(0x521)]['duration']=this['_telemetryInfo'][_0x45633b(0x480)]-this[_0x45633b(0x521)][_0x45633b(0x35b)],this[_0x45633b(0x38f)][_0x45633b(0x3b3)](ni,this['_telemetryInfo']),this[_0x45633b(0x521)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x56d4b2(0x453)]=hi([de(0x2,a[_0x56d4b2(0x270)]),de(0x3,te[_0x56d4b2(0x660)]),de(0x4,te[_0x56d4b2(0x1cf)]),de(0x5,a[_0x56d4b2(0x229)]),de(0x6,a[_0x56d4b2(0x226)](a['LocaleService'])),de(0x7,a[_0x56d4b2(0x226)](exports['MemberService'])),de(0x8,a[_0x56d4b2(0x226)](Tt)),de(0x9,a[_0x56d4b2(0x317)]($n['ITelemetryService']))],exports['CollaborationSession']);var _i=Object[_0x56d4b2(0x3a4)],ui=Object['getOwnPropertyDescriptor'],di=(_0x29960d,_0x54640d,_0x4185a0,_0x255102)=>{for(var _0x14fdb2=_0x255102>0x1?void 0x0:_0x255102?ui(_0x54640d,_0x4185a0):_0x54640d,_0x4c64f0=_0x29960d['length']-0x1,_0x1bebcf;_0x4c64f0>=0x0;_0x4c64f0--)(_0x1bebcf=_0x29960d[_0x4c64f0])&&(_0x14fdb2=(_0x255102?_0x1bebcf(_0x54640d,_0x4185a0,_0x14fdb2):_0x1bebcf(_0x14fdb2))||_0x14fdb2);return _0x255102&&_0x14fdb2&&_i(_0x54640d,_0x4185a0,_0x14fdb2),_0x14fdb2;},pe=(_0x2cb7ac,_0x25bca9)=>(_0x23a5a6,_0x2223e0)=>_0x25bca9(_0x23a5a6,_0x2223e0,_0x2cb7ac);exports[_0x56d4b2(0x251)]=class extends a['Disposable']{constructor(_0xa990d0,_0x4a964b,_0x202365,_0x492f6a,_0x2897a6,_0xdeb886,_0x3c0af1){const _0x14cc0d=_0x56d4b2;super(),I(this,_0x14cc0d(0x43e),new A['BehaviorSubject'](void 0x0)),I(this,_0x14cc0d(0x493),this[_0x14cc0d(0x43e)][_0x14cc0d(0x59e)]()),I(this,_0x14cc0d(0x5a3),null),I(this,_0x14cc0d(0x2e0),new Map()),I(this,_0x14cc0d(0x5aa),new A[(_0x14cc0d(0x227))](se[_0x14cc0d(0x2ee)])),I(this,_0x14cc0d(0x434),this[_0x14cc0d(0x5aa)][_0x14cc0d(0x59e)]()),I(this,_0x14cc0d(0x26c),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x14cc0d(0x594),0x0),I(this,_0x14cc0d(0x38a)),I(this,'_timeoutTimer'),(this['_injector']=_0xa990d0,this['_localeService']=_0x4a964b,this[_0x14cc0d(0x24f)]=_0x202365,this[_0x14cc0d(0x529)]=_0x492f6a,this[_0x14cc0d(0x2b9)]=_0x2897a6,this[_0x14cc0d(0x441)]=_0xdeb886,this[_0x14cc0d(0x675)]=_0x3c0af1,this['_initEventListeners']());}get[_0x56d4b2(0x2ed)](){const _0x2a4e75=_0x56d4b2;return this['_socket$'][_0x2a4e75(0x246)]();}['_initEventListeners'](){const _0x1ca70a=_0x56d4b2;this[_0x1ca70a(0x53a)](),this['_listenToOnlineEvent']();}[_0x56d4b2(0x51e)](){const _0x11ec09=_0x56d4b2;super[_0x11ec09(0x51e)](),this[_0x11ec09(0x2e0)]['forEach'](_0x73f1db=>_0x73f1db[_0x11ec09(0x51e)]()),this['_sessions']['clear'](),this[_0x11ec09(0x5aa)][_0x11ec09(0x381)]();}async[_0x56d4b2(0x527)](_0x567d4c){const _0x2d43e5=_0x56d4b2;if(this['_sessions'][_0x2d43e5(0x341)](_0x567d4c))return this['_sessions'][_0x2d43e5(0x313)](_0x567d4c);this['_tryEnsureSocket']();const _0x399a54=this[_0x2d43e5(0x473)][_0x2d43e5(0x390)](exports['CollaborationSession'],_0x567d4c,this['_socket$'][_0x2d43e5(0x59e)]());return this['_sessions'][_0x2d43e5(0x24a)](_0x567d4c,_0x399a54),_0x399a54;}[_0x56d4b2(0x596)](_0xf656f){const _0x581a7f=_0x56d4b2;var _0x16b08e;const _0x3cea77=this[_0x581a7f(0x2e0)]['get'](_0xf656f);_0x3cea77&&(this[_0x581a7f(0x2e0)][_0x581a7f(0x30c)](_0xf656f),_0x3cea77['close']()),this['_sessions'][_0x581a7f(0x2df)]||(_0x16b08e=this['_socket'])==null||_0x16b08e[_0x581a7f(0x649)]();}[_0x56d4b2(0x4a5)](){const _0x56ab3b=_0x56d4b2;this['_retryCount']=0x0,this[_0x56ab3b(0x410)]!=null&&(clearTimeout(this[_0x56ab3b(0x410)]),this['_retryConnectingTimer']=null),this[_0x56ab3b(0x3f3)]();}async[_0x56d4b2(0x26e)](){const _0x48e076=_0x56d4b2;var _0x36763d,_0x5cb5de,_0x1e82fc;const _0x5d9cab=this['_configService'][_0x48e076(0x3e8)](Z),_0x54bd82=(_0x36763d=_0x5d9cab==null?void 0x0:_0x5d9cab[_0x48e076(0x61b)])!=null?_0x36763d:Vn;return(_0x1e82fc=(_0x5cb5de=(await this[_0x48e076(0x675)][_0x48e076(0x313)](_0x54bd82,{'headers':{'Content-Type':_0x48e076(0x2d0)}}))[_0x48e076(0x1f8)])==null?void 0x0:_0x5cb5de[_0x48e076(0x44e)])!=null?_0x1e82fc:'';}[_0x56d4b2(0x662)](_0x5c68c9){const _0x11f07f=_0x56d4b2;var _0x1efbb6,_0x3b4e80;const _0x275a0d=this[_0x11f07f(0x2b9)][_0x11f07f(0x3e8)](nn),_0x2bc7cd=this[_0x11f07f(0x2b9)]['getConfig'](Z),_0x4d2e11=(_0x3b4e80=(_0x1efbb6=_0x2bc7cd==null?void 0x0:_0x2bc7cd[_0x11f07f(0x499)])!=null?_0x1efbb6:_0x275a0d)!=null?_0x3b4e80:Fn,_0x5b80c0=new URL(_0x4d2e11,window[_0x11f07f(0x263)][_0x11f07f(0x516)]);return _0x5b80c0['searchParams'][_0x11f07f(0x24a)](_0x11f07f(0x523),_0x5c68c9),_0x5b80c0[_0x11f07f(0x63c)]();}async['_createSocket'](){const _0x400701=_0x56d4b2,_0xf2dc9d=await this['_getSessionTicket'](),_0x39b371=this['_createSocketURL'](_0xf2dc9d),_0x555878=this[_0x400701(0x441)]['createSocket'](_0x39b371);return this['_candidateSocket']=_0x555878,_0x555878;}async[_0x56d4b2(0x4ed)](){const _0xc5b864=_0x56d4b2;var _0x2a1057,_0x16ea03;try{const _0x24aeed=(_0x16ea03=(_0x2a1057=this['_socket'])!=null?_0x2a1057:this[_0xc5b864(0x5a3)])!=null?_0x16ea03:await this[_0xc5b864(0x3bd)]();if(_0x24aeed){const _0x2adef9=_0x24aeed['send'];_0x24aeed[_0xc5b864(0x526)]=_0x4e1aa3=>(this['_rescheduleHeartbeat'](),_0x2adef9[_0xc5b864(0x326)](_0x24aeed,[_0x4e1aa3])),_0x24aeed['message$'][_0xc5b864(0x563)](_0x22d2cd=>this[_0xc5b864(0x1d2)](_0x24aeed,_0x22d2cd)),_0x24aeed[_0xc5b864(0x571)][_0xc5b864(0x348)](V['take'](0x1))[_0xc5b864(0x563)](_0x276320=>this[_0xc5b864(0x529)][_0xc5b864(0x38d)]('[CollaborationSessionService]:\x20socket\x20error',_0x276320)),_0x24aeed[_0xc5b864(0x5a8)][_0xc5b864(0x348)](V[_0xc5b864(0x358)](0x1))[_0xc5b864(0x563)](()=>{const _0x18d1d9=_0xc5b864;this[_0x18d1d9(0x406)](_0x24aeed);}),_0x24aeed[_0xc5b864(0x373)]['pipe'](V[_0xc5b864(0x358)](0x1))[_0xc5b864(0x563)](_0x1467bb=>{const _0x3b3c26=_0xc5b864;this[_0x3b3c26(0x529)][_0x3b3c26(0x50f)](_0x3b3c26(0x4b2),_0x3b3c26(0x5f9),_0x1467bb),this[_0x3b3c26(0x442)]();});}}catch(_0x3ff9b0){this[_0xc5b864(0x529)]['error'](_0x3ff9b0),this[_0xc5b864(0x442)]();}}[_0x56d4b2(0x406)](_0x2b665d){const _0x458150=_0x56d4b2;this[_0x458150(0x529)][_0x458150(0x50f)](_0x458150(0x4b2),'socket\x20open.'),_0x2b665d[_0x458150(0x526)]({'cmd':G[_0x458150(0x3f7)]}),this[_0x458150(0x635)]();}['_listenToOfflineEvent'](){const _0x5b309a=_0x56d4b2;window[_0x5b309a(0x224)](_0x5b309a(0x682),()=>this[_0x5b309a(0x290)]());}[_0x56d4b2(0x290)](){const _0x358f00=_0x56d4b2;this['_socketReady']=!0x1,this[_0x358f00(0x5a3)]=null,this[_0x358f00(0x5aa)][_0x358f00(0x336)](se[_0x358f00(0x48b)]),this['_socket$'][_0x358f00(0x336)](null),this[_0x358f00(0x5f1)](),this['_clearHeartbeatTimer']();}[_0x56d4b2(0x442)](){const _0x382533=_0x56d4b2;var _0x5136db;this[_0x382533(0x290)](),this[_0x382533(0x594)]<((_0x5136db=this['_configService']['getConfig'](on))!=null?_0x5136db:Kn)?(this['_messageService'][_0x382533(0x2a0)]({'key':_0x382533(0x4f6),'type':Ce['MessageType'][_0x382533(0x3a1)],'content':this[_0x382533(0x1fc)]['t'](_0x382533(0x41c))}),this[_0x382533(0x3f3)]()):this[_0x382533(0x24f)][_0x382533(0x2a0)]({'key':_0x382533(0x4f6),'type':Ce[_0x382533(0x3b7)][_0x382533(0x597)],'content':this[_0x382533(0x1fc)]['t'](_0x382533(0x40c))});}['_listenToOnlineEvent'](){const _0xfa87d4=_0x56d4b2,_0xa52389=()=>{const _0x4ffbb7=_0xe699;this[_0x4ffbb7(0x2ed)]||this[_0x4ffbb7(0x4a5)]();},_0x2e0b4d=()=>{const _0x2d1252=_0xe699;this[_0x2d1252(0x2ed)]||document['visibilityState']===_0x2d1252(0x647)||this['reconnect']();};window[_0xfa87d4(0x224)](_0xfa87d4(0x592),_0xa52389),document[_0xfa87d4(0x224)](_0xfa87d4(0x4f8),_0x2e0b4d);}[_0x56d4b2(0x3f3)](){const _0x422b8d=_0x56d4b2;var _0x340472;const _0xbfd025=this[_0x422b8d(0x594)],_0x324e00=this[_0x422b8d(0x2b9)][_0x422b8d(0x3e8)](Z),_0x17f191=_0xbfd025===0x0?0x0:((_0x340472=_0x324e00==null?void 0x0:_0x324e00[_0x422b8d(0x49c)])!=null?_0x340472:Yn)*0x2**_0xbfd025;this[_0x422b8d(0x410)]=window['setTimeout'](()=>{const _0x4f93dc=_0x422b8d;clearTimeout(this[_0x4f93dc(0x410)]),this[_0x4f93dc(0x410)]=null,this[_0x4f93dc(0x4ed)]();},_0x17f191),this[_0x422b8d(0x594)]+=0x1;}[_0x56d4b2(0x1d2)](_0x3a863d,_0x24fd54){const _0x10b471=_0x56d4b2,{cmd:_0x4362b7}=_0x24fd54;_0x4362b7===G[_0x10b471(0x3f7)]&&!this['_socketReady']&&(_0x3a863d['memberID']=_0x24fd54[_0x10b471(0x569)][_0x10b471(0x408)],this[_0x10b471(0x43e)][_0x10b471(0x336)](_0x3a863d),this[_0x10b471(0x5aa)][_0x10b471(0x336)](se[_0x10b471(0x53b)]),this['_socketReady']=!0x0,this[_0x10b471(0x5a3)]=null),_0x4362b7===G[_0x10b471(0x631)]&&this[_0x10b471(0x5f1)](),this[_0x10b471(0x635)]();}[_0x56d4b2(0x635)](){const _0x13fb7d=_0x56d4b2;var _0x8e5ff8;this[_0x13fb7d(0x56c)](),this[_0x13fb7d(0x38a)]=window['setTimeout'](()=>this[_0x13fb7d(0x4a3)](),(_0x8e5ff8=this[_0x13fb7d(0x2b9)][_0x13fb7d(0x3e8)](sn))!=null?_0x8e5ff8:Gn);}[_0x56d4b2(0x4a3)](){const _0x2cba67=_0x56d4b2;this[_0x2cba67(0x2ed)]['send']({'cmd':G[_0x2cba67(0x631)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x373299=_0x56d4b2;var _0x30b3cd;this[_0x373299(0x460)]=window['setTimeout'](()=>this[_0x373299(0x442)](),(_0x30b3cd=this['_configService'][_0x373299(0x3e8)](Ct))!=null?_0x30b3cd:rn);}['_clearHeartbeatTimer'](){const _0x14d62d=_0x56d4b2;this[_0x14d62d(0x38a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x56d4b2(0x5f1)](){const _0xf7ffb6=_0x56d4b2;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xf7ffb6(0x460)]=null);}},exports[_0x56d4b2(0x251)]=di([pe(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),pe(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),pe(0x2,te[_0x56d4b2(0x1cf)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x56d4b2(0x229)]),pe(0x5,bt),pe(0x6,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x251)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x56d4b2(0x322)]((s+0x100)[_0x56d4b2(0x63c)](0x10)[_0x56d4b2(0x2a4)](0x1));function fi(_0x32267e,_0x275af0=0x0){const _0x3ad921=_0x56d4b2;return(Y[_0x32267e[_0x275af0+0x0]]+Y[_0x32267e[_0x275af0+0x1]]+Y[_0x32267e[_0x275af0+0x2]]+Y[_0x32267e[_0x275af0+0x3]]+'-'+Y[_0x32267e[_0x275af0+0x4]]+Y[_0x32267e[_0x275af0+0x5]]+'-'+Y[_0x32267e[_0x275af0+0x6]]+Y[_0x32267e[_0x275af0+0x7]]+'-'+Y[_0x32267e[_0x275af0+0x8]]+Y[_0x32267e[_0x275af0+0x9]]+'-'+Y[_0x32267e[_0x275af0+0xa]]+Y[_0x32267e[_0x275af0+0xb]]+Y[_0x32267e[_0x275af0+0xc]]+Y[_0x32267e[_0x275af0+0xd]]+Y[_0x32267e[_0x275af0+0xe]]+Y[_0x32267e[_0x275af0+0xf]])[_0x3ad921(0x580)]();}let Je;const vi=new Uint8Array(0x10);function Si(){const _0x44d675=_0x56d4b2;if(!Je){if(typeof crypto>'u'||!crypto[_0x44d675(0x560)])throw new Error(_0x44d675(0x573));Je=crypto['getRandomValues'][_0x44d675(0x299)](crypto);}return Je(vi);}const pi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x56d4b2(0x412)][_0x56d4b2(0x299)](crypto),At={'randomUUID':pi};function mi(_0x5c3692,_0x5ef229,_0x4e6690){const _0x4188ca=_0x56d4b2;if(At[_0x4188ca(0x412)]&&!_0x5ef229&&!_0x5c3692)return At[_0x4188ca(0x412)]();_0x5c3692=_0x5c3692||{};const _0x4eaf6b=_0x5c3692[_0x4188ca(0x27d)]||(_0x5c3692[_0x4188ca(0x28d)]||Si)();return _0x4eaf6b[0x6]=_0x4eaf6b[0x6]&0xf|0x40,_0x4eaf6b[0x8]=_0x4eaf6b[0x8]&0x3f|0x80,fi(_0x4eaf6b);}var gi=Object['defineProperty'],Ii=Object['getOwnPropertyDescriptor'],Ci=(_0x5d56ed,_0x2d7a1a,_0x344e08,_0x4e051c)=>{const _0x55246c=_0x56d4b2;for(var _0x5e0327=_0x4e051c>0x1?void 0x0:_0x4e051c?Ii(_0x2d7a1a,_0x344e08):_0x2d7a1a,_0x194a14=_0x5d56ed[_0x55246c(0x543)]-0x1,_0x5e1c5e;_0x194a14>=0x0;_0x194a14--)(_0x5e1c5e=_0x5d56ed[_0x194a14])&&(_0x5e0327=(_0x4e051c?_0x5e1c5e(_0x2d7a1a,_0x344e08,_0x5e0327):_0x5e1c5e(_0x5e0327))||_0x5e0327);return _0x4e051c&&_0x5e0327&&gi(_0x2d7a1a,_0x344e08,_0x5e0327),_0x5e0327;},Ze=(_0x42aaa5,_0x3bd648)=>(_0x45fa98,_0x559d8e)=>_0x3bd648(_0x45fa98,_0x559d8e,_0x42aaa5);let ke=class{constructor(_0x250f7c,_0x469b12,_0x5c9fcb){const _0x353660=_0x56d4b2;this['_injector']=_0x250f7c,this['_transformService']=_0x469b12,this[_0x353660(0x4e9)]=_0x5c9fcb;}[_0x56d4b2(0x64e)](_0x744d18){const _0x32eae1=_0x56d4b2;this['_transformUndoRedoStack'](_0x744d18),this[_0x32eae1(0x5be)](_0x744d18);}[_0x56d4b2(0x3a9)](_0x3eef85){const _0x39a148=_0x56d4b2,{unitID:_0x4531da}=_0x3eef85,_0x340e7c=this['_renderManagerService'][_0x39a148(0x600)](_0x4531da)[_0x39a148(0x61c)](Q[_0x39a148(0x3d0)]),{redoCache:_0x36126b}=_0x340e7c[_0x39a148(0x4b4)]();if(_0x36126b['length']===0x0)return _0x3eef85;let _0x1164f2=a[_0x39a148(0x4a6)]['deepClone'](_0x3eef85[_0x39a148(0x48c)][0x0]);for(let _0x474101=0x0;_0x474101<_0x36126b[_0x39a148(0x543)];_0x474101++){const _0x5402d7={'id':_0x39a148(0x457),'params':{..._0x36126b[_0x474101]}},_0x33aa5f=this['_transformService'][_0x39a148(0x4b6)](_0x1164f2,_0x5402d7,!0x1);if(p[_0x39a148(0x4bf)](_0x33aa5f))throw _0x33aa5f['error'];_0x1164f2=_0x33aa5f[_0x39a148(0x3c0)];}return{...a[_0x39a148(0x4a6)][_0x39a148(0x395)](_0x3eef85),'mutations':[_0x1164f2]};}[_0x56d4b2(0x1f6)](_0x189312){const _0x5044bf=_0x56d4b2,{unitID:_0x9bcca0}=_0x189312,_0x4d94e8=this['_renderManagerService'][_0x5044bf(0x600)](_0x9bcca0)[_0x5044bf(0x61c)](Q['DocIMEInputManagerService']),{undoCache:_0x410659,redoCache:_0x10d555}=_0x4d94e8[_0x5044bf(0x4b4)]();if(_0x410659[_0x5044bf(0x543)]===0x0||_0x10d555['length']===0x0)return;const _0x4b8034=[],_0xe9bf96=[];let _0x5702e0=a[_0x5044bf(0x4a6)][_0x5044bf(0x395)](_0x189312['mutations'][0x0]),_0x7af6=a['Tools'][_0x5044bf(0x395)](_0x189312[_0x5044bf(0x48c)][0x0]);for(let _0x564435=_0x410659[_0x5044bf(0x543)]-0x1;_0x564435>=0x0;_0x564435--){const _0x58ceed={'id':_0x5044bf(0x457),'params':{..._0x410659[_0x564435]}},_0x488e78={'id':_0x5044bf(0x457),'params':{..._0x10d555[_0x564435]}},_0xc6f0d6=this[_0x5044bf(0x4c7)]['transformMutation'](_0x5702e0,_0x58ceed,!0x1),_0x2131c1=this['_transformService'][_0x5044bf(0x4b6)](_0x7af6,_0x488e78,!0x1);if(p[_0x5044bf(0x4bf)](_0xc6f0d6))throw _0xc6f0d6[_0x5044bf(0x38d)];if(p['isTransformMutationFailure'](_0x2131c1))throw _0x2131c1[_0x5044bf(0x38d)];_0x4b8034['unshift'](_0xc6f0d6[_0x5044bf(0x417)][_0x5044bf(0x225)]),_0xe9bf96['unshift'](_0x2131c1['m2Prime'][_0x5044bf(0x225)]),_0x5702e0=_0xc6f0d6[_0x5044bf(0x3c0)],_0x7af6=_0x2131c1['m1Prime'];}_0x4d94e8['setUndoRedoMutationParamsCache']({'undoCache':_0x4b8034,'redoCache':_0xe9bf96});}[_0x56d4b2(0x5be)](_0x839060){const _0x8b24e5=_0x56d4b2,{unitID:_0xcf133e}=_0x839060,_0x42ba15=this[_0x8b24e5(0x4e9)][_0x8b24e5(0x600)](_0xcf133e)[_0x8b24e5(0x61c)](Q[_0x8b24e5(0x3d0)]),_0xd3f27b=_0x42ba15['getActiveRange']();if(_0xd3f27b==null)return;const _0x22ca3e=[{'id':_0x8b24e5(0x457),'params':{'unitId':_0x839060['unitID'],'actions':null,'textRanges':[_0xd3f27b]}}],_0x252fa6=this[_0x8b24e5(0x4c7)][_0x8b24e5(0x230)](_0x839060,_0x22ca3e);if(!p['isTransformMutationsWithChangesetSuccess'](_0x252fa6))throw _0x252fa6[_0x8b24e5(0x38d)];const _0x1249aa=_0x252fa6[_0x8b24e5(0x417)][0x0][_0x8b24e5(0x225)][_0x8b24e5(0x217)];Array['isArray'](_0x1249aa)&&_0x1249aa[_0x8b24e5(0x543)]&&_0x42ba15[_0x8b24e5(0x4aa)](_0x1249aa[0x0]);}};ke=Ci([Ze(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Ze(0x1,p[_0x56d4b2(0x25d)]),Ze(0x2,K[_0x56d4b2(0x296)])],ke);var Ei=Object[_0x56d4b2(0x3a4)],bi=Object[_0x56d4b2(0x47e)],Ti=(_0x1c4ff2,_0x24cf18,_0x3bd02a,_0x48461c)=>{const _0x56e4df=_0x56d4b2;for(var _0x3943b7=_0x48461c>0x1?void 0x0:_0x48461c?bi(_0x24cf18,_0x3bd02a):_0x24cf18,_0x5a5ef4=_0x1c4ff2[_0x56e4df(0x543)]-0x1,_0x38be11;_0x5a5ef4>=0x0;_0x5a5ef4--)(_0x38be11=_0x1c4ff2[_0x5a5ef4])&&(_0x3943b7=(_0x48461c?_0x38be11(_0x24cf18,_0x3bd02a,_0x3943b7):_0x38be11(_0x3943b7))||_0x3943b7);return _0x48461c&&_0x3943b7&&Ei(_0x24cf18,_0x3bd02a,_0x3943b7),_0x3943b7;},we=(_0x5a0bcb,_0x547afe)=>(_0x5923b6,_0x3b920d)=>_0x547afe(_0x5923b6,_0x3b920d,_0x5a0bcb);exports['LocalCacheService']=class extends a['Disposable']{constructor(_0x5baeef,_0x181489,_0x566c71,_0x3fa08f,_0x19a42b){const _0x308eac=_0x56d4b2;super(),I(this,'_cachedData',new Map()),I(this,_0x308eac(0x3c5),new Map()),I(this,_0x308eac(0x273),!0x1),(this[_0x308eac(0x2b9)]=_0x5baeef,this['_localStorageService']=_0x181489,this[_0x308eac(0x365)]=_0x566c71,this[_0x308eac(0x1fc)]=_0x3fa08f,this[_0x308eac(0x244)]=_0x19a42b,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0xdf877c=_0x56d4b2;this[_0xdf877c(0x273)]=!0x0;}['enableLocalCache'](){const _0x436d37=_0x56d4b2;this[_0x436d37(0x273)]=!0x1;}[_0x56d4b2(0x51e)](){const _0x2fd3d5=_0x56d4b2;this[_0x2fd3d5(0x416)]()['then'](()=>super[_0x2fd3d5(0x51e)]());}async['loadOfflineData'](_0x38d832){const _0x1e5f5b=_0x56d4b2;return this['_disabled']?null:this['_localStorageService'][_0x1e5f5b(0x5ab)](Nt(_0x38d832));}async[_0x56d4b2(0x68a)](_0x1baa7d,_0x28a81c){const _0x2918fa=_0x56d4b2;return!!this[_0x2918fa(0x255)][_0x2918fa(0x2c2)](_0x1baa7d,_0x28a81c);}[_0x56d4b2(0x3d1)](_0x3c86f5,_0x5da9d9,_0x2f5d6b,_0x49f07c){const _0x3cc9ef=_0x56d4b2,_0x2f4ffc=this[_0x3cc9ef(0x244)]['getCurrentRevOfUnit'](_0x3c86f5);this[_0x3cc9ef(0x633)][_0x3cc9ef(0x24a)](_0x3c86f5,{'unitID':_0x3c86f5,'type':_0x5da9d9,'awaitingChangeset':_0x2f5d6b,'mutations':_0x49f07c,'rev':_0x2f4ffc}),this['_saveTaskMap']['has'](_0x3c86f5)||this['_scheduleSaving'](_0x3c86f5);}['_scheduleSaving'](_0x5e5f5e){const _0x23ee59=_0x56d4b2,_0x4f6ba3=this[_0x23ee59(0x546)]();_0x4f6ba3===0x0?this[_0x23ee59(0x540)](_0x5e5f5e):this[_0x23ee59(0x3c5)][_0x23ee59(0x24a)](_0x5e5f5e,setTimeout(()=>this[_0x23ee59(0x540)](_0x5e5f5e),_0x4f6ba3));}[_0x56d4b2(0x546)](){const _0x2da07d=_0x56d4b2;var _0x2fb27b;return(_0x2fb27b=this[_0x2da07d(0x2b9)][_0x2da07d(0x3e8)](an))!=null?_0x2fb27b:qn;}[_0x56d4b2(0x540)](_0x2fbbf2){const _0x387ca5=_0x56d4b2,_0x434d9b=this[_0x387ca5(0x3c5)]['get'](_0x2fbbf2);return _0x434d9b!==void 0x0&&window[_0x387ca5(0x5d9)](_0x434d9b),this['_localStorageService'][_0x387ca5(0x2c2)](Nt(_0x2fbbf2),this[_0x387ca5(0x633)][_0x387ca5(0x313)](_0x2fbbf2))[_0x387ca5(0x4a8)](()=>this[_0x387ca5(0x3c5)]['delete'](_0x2fbbf2));}async['exhaustSavingTask'](){const _0xb361b2=_0x56d4b2,_0x3bc074=[];this[_0xb361b2(0x3c5)]['forEach']((_0x532739,_0x33d003)=>{const _0x3ae6e7=_0xb361b2;window[_0x3ae6e7(0x5d9)](_0x532739),_0x3bc074[_0x3ae6e7(0x322)](this[_0x3ae6e7(0x540)](_0x33d003)['then'](()=>{const _0x41d293=_0x3ae6e7;this['_saveTaskMap'][_0x41d293(0x30c)](_0x33d003);}));}),await Promise[_0xb361b2(0x638)](_0x3bc074);}[_0x56d4b2(0x50a)](){const _0x3b52b0=_0x56d4b2;this[_0x3b52b0(0x211)](this[_0x3b52b0(0x365)][_0x3b52b0(0x22e)](()=>{const _0x3bed1e=_0x3b52b0;if(this[_0x3bed1e(0x3c5)][_0x3bed1e(0x2df)])return this[_0x3bed1e(0x1fc)]['t'](_0x3bed1e(0x447));}));}},exports[_0x56d4b2(0x541)]=Ti([we(0x0,a[_0x56d4b2(0x229)]),we(0x1,a[_0x56d4b2(0x4bd)]),we(0x2,te['IBeforeCloseService']),we(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),we(0x4,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)]))],exports[_0x56d4b2(0x541)]);function Nt(_0x1b6e39){return'unit-cache-'+_0x1b6e39;}var Ri=Object[_0x56d4b2(0x3a4)],yi=Object[_0x56d4b2(0x47e)],Oi=(_0x559c0c,_0xa45327,_0x3208c9,_0x2ec9f3)=>{const _0x2bbaf6=_0x56d4b2;for(var _0x5f0bbe=_0x2ec9f3>0x1?void 0x0:_0x2ec9f3?yi(_0xa45327,_0x3208c9):_0xa45327,_0x44ff7d=_0x559c0c[_0x2bbaf6(0x543)]-0x1,_0x1b8bbb;_0x44ff7d>=0x0;_0x44ff7d--)(_0x1b8bbb=_0x559c0c[_0x44ff7d])&&(_0x5f0bbe=(_0x2ec9f3?_0x1b8bbb(_0xa45327,_0x3208c9,_0x5f0bbe):_0x1b8bbb(_0x5f0bbe))||_0x5f0bbe);return _0x2ec9f3&&_0x5f0bbe&&Ri(_0xa45327,_0x3208c9,_0x5f0bbe),_0x5f0bbe;},Qe=(_0x53b354,_0x5001db)=>(_0x3f910c,_0x6a5a2e)=>_0x5001db(_0x3f910c,_0x6a5a2e,_0x53b354);function Di(_0x6670ff){const _0x3852d9=_0x56d4b2,{unitID:_0x2f2f3e,mutations:_0x575a04}=_0x6670ff;return{'unitId':_0x2f2f3e,'subUnitId':_0x575a04[0x0]['params'][_0x3852d9(0x5b2)]};}let Be=class{constructor(_0x55b259,_0x9cbba8,_0x47f0ba){const _0x31ee3c=_0x56d4b2;this[_0x31ee3c(0x473)]=_0x55b259,this[_0x31ee3c(0x4c7)]=_0x9cbba8,this[_0x31ee3c(0x5da)]=_0x47f0ba;}[_0x56d4b2(0x57a)](_0x19460e){const _0x5d00c3=_0x56d4b2;var _0x10d69d,_0x1d1605,_0x239f48,_0x52ba26;const _0x4a6dc5=this[_0x5d00c3(0x473)][_0x5d00c3(0x313)](B['SheetsSelectionsService']),{unitId:_0x4b99bd,subUnitId:_0x46c83b}=Di(_0x19460e),_0x351bad=_0x4a6dc5['getWorkbookSelections'](_0x4b99bd)[_0x5d00c3(0x602)](),_0x351ca0=(_0x1d1605=(_0x10d69d=this[_0x5d00c3(0x5da)][_0x5d00c3(0x2b6)](_0x4b99bd))==null?void 0x0:_0x10d69d[_0x5d00c3(0x472)]())==null?void 0x0:_0x1d1605[_0x5d00c3(0x581)]();if(_0x351bad['length']===0x0||!_0x4b99bd||!_0x46c83b)return;const _0x25ff4f=[{'id':B['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b99bd,'subUnitId':_0x351ca0,'selections':a[_0x5d00c3(0x4a6)][_0x5d00c3(0x395)](_0x351bad)}}],_0x5d7fc8=this[_0x5d00c3(0x4c7)][_0x5d00c3(0x230)](_0x19460e,_0x25ff4f);if(!p[_0x5d00c3(0x455)](_0x5d7fc8))throw _0x5d7fc8[_0x5d00c3(0x38d)];const _0x1faf2e=(_0x52ba26=(_0x239f48=_0x5d7fc8[_0x5d00c3(0x417)][0x0])==null?void 0x0:_0x239f48[_0x5d00c3(0x225)])==null?void 0x0:_0x52ba26[_0x5d00c3(0x36c)];if(Array[_0x5d00c3(0x534)](_0x1faf2e)&&_0x1faf2e[_0x5d00c3(0x543)]){if(_0x1faf2e['length']===_0x25ff4f[0x0][_0x5d00c3(0x225)][_0x5d00c3(0x36c)][_0x5d00c3(0x543)]&&_0x1faf2e[_0x5d00c3(0x4bb)]((_0x3ac794,_0x469699)=>a[_0x5d00c3(0x24e)][_0x5d00c3(0x5c0)](_0x3ac794[_0x5d00c3(0x51c)],_0x25ff4f[0x0][_0x5d00c3(0x225)]['selections'][_0x469699]['range'])))return;this['_injector'][_0x5d00c3(0x313)](a[_0x5d00c3(0x2b1)])[_0x5d00c3(0x29a)](B[_0x5d00c3(0x1df)]['id'],{'unitId':_0x4b99bd,'subUnitId':_0x351ca0,'selections':_0x1faf2e});}}};Be=Oi([Qe(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Qe(0x1,p[_0x56d4b2(0x25d)]),Qe(0x2,a['IUniverInstanceService'])],Be);const qe=a[_0x56d4b2(0x286)](_0x56d4b2(0x655));var fn=(_0x122d3c=>(_0x122d3c[_0x122d3c[_0x56d4b2(0x63a)]=0x0]=_0x56d4b2(0x63a),_0x122d3c[_0x122d3c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x122d3c))(fn||{});const Lt=0x7530,xt=_0x56d4b2(0x498);class Pi extends a['Disposable']{constructor(){const _0x5146fd=_0x56d4b2;super(),I(this,_0x5146fd(0x31c),a[_0x5146fd(0x4a6)]['generateRandomId']()),I(this,_0x5146fd(0x5fb),new Set()),I(this,'_unitOnClients',new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x5146fd(0x44f),new Map()),this[_0x5146fd(0x507)]();}[_0x56d4b2(0x51e)](){const _0x331bc5=_0x56d4b2;super[_0x331bc5(0x51e)](),this[_0x331bc5(0x4fc)][_0x331bc5(0x3dc)]((_0x23265f,_0x58a0e6)=>this[_0x331bc5(0x5e5)](_0x58a0e6)),this[_0x331bc5(0x604)]&&window['clearInterval'](this[_0x331bc5(0x604)]);}[_0x56d4b2(0x272)](_0x4be13b){const _0x46d058=_0x56d4b2;return this[_0x46d058(0x58d)](_0x4be13b)[_0x46d058(0x348)](A[_0x46d058(0x500)]());}[_0x56d4b2(0x55e)](_0x52579d){const _0xcaf547=_0x56d4b2;this[_0xcaf547(0x5fb)][_0xcaf547(0x2df)]===0x0&&this[_0xcaf547(0x3b8)](),this[_0xcaf547(0x5fb)][_0xcaf547(0x247)](_0x52579d),this[_0xcaf547(0x634)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52579d],'isForwarded':!0x1});}[_0x56d4b2(0x48a)](_0x18282e){const _0x25113b=_0x56d4b2;this[_0x25113b(0x5fb)]['delete'](_0x18282e),this[_0x25113b(0x5fb)][_0x25113b(0x2df)]===0x0&&this['_heartbeatTimer']&&window[_0x25113b(0x3af)](this[_0x25113b(0x604)]);}[_0x56d4b2(0x507)](){const _0x16c0e2=_0x56d4b2;this[_0x16c0e2(0x211)](a[_0x16c0e2(0x2a5)](A[_0x16c0e2(0x3dd)](window,_0x16c0e2(0x311))[_0x16c0e2(0x563)](_0x997e9=>{const _0x185cd9=_0x16c0e2;if(_0x997e9[_0x185cd9(0x615)]!==xt||!_0x997e9['newValue'])return;const _0x80f303=JSON['parse'](_0x997e9[_0x185cd9(0x628)]);this[_0x185cd9(0x60d)](_0x80f303);}))),window['addEventListener'](_0x16c0e2(0x568),()=>this[_0x16c0e2(0x634)]({'type':0x1,'memberID':this[_0x16c0e2(0x31c)],'unitIDs':Array['from'](this[_0x16c0e2(0x5fb)])}));}[_0x56d4b2(0x60d)](_0x1cf4d4){const _0x559401=_0x56d4b2;switch(_0x1cf4d4[_0x559401(0x2fc)]){case 0x0:this[_0x559401(0x30b)](_0x1cf4d4);break;case 0x1:this[_0x559401(0x295)](_0x1cf4d4);break;case 0x2:this[_0x559401(0x368)](_0x1cf4d4);break;}}[_0x56d4b2(0x30b)](_0x724136){const _0x40c709=_0x56d4b2,{unitIDs:_0x798e0e,memberID:_0x2ba645,isForwarded:_0x2a0511}=_0x724136;_0x798e0e['forEach'](_0x1b91fa=>{const _0x3391b2=_0xe699;if(!_0x2a0511&&this[_0x3391b2(0x31f)][_0x3391b2(0x341)](_0x1b91fa)&&this[_0x3391b2(0x58d)](_0x1b91fa)[_0x3391b2(0x336)](0x1),!this[_0x3391b2(0x31f)][_0x3391b2(0x341)](_0x1b91fa)||!this[_0x3391b2(0x31f)]['get'](_0x1b91fa)[_0x3391b2(0x341)](_0x2ba645)){const _0x1b7d26=this[_0x3391b2(0x31f)][_0x3391b2(0x313)](_0x1b91fa)||new Set();_0x1b7d26['add'](_0x2ba645),this['_unitOnClients'][_0x3391b2(0x24a)](_0x1b91fa,_0x1b7d26),this[_0x3391b2(0x213)](_0x2ba645);}}),_0x2a0511||this[_0x40c709(0x634)]({'type':0x0,'memberID':this[_0x40c709(0x31c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15b86c){const _0x39f8b1=_0x56d4b2;this['_removeClearOtherTimer'](_0x15b86c);const _0x52890a=window[_0x39f8b1(0x4f7)](()=>{const _0x42a3f5=_0x39f8b1;this[_0x42a3f5(0x31f)][_0x42a3f5(0x3dc)](_0xe418b8=>{_0xe418b8['delete'](_0x15b86c);});},Lt*0x2);this[_0x39f8b1(0x4fc)][_0x39f8b1(0x24a)](_0x15b86c,_0x52890a);}[_0x56d4b2(0x5e5)](_0x90df15){const _0x3046e2=_0x56d4b2;if(this[_0x3046e2(0x4fc)][_0x3046e2(0x341)](_0x90df15)){const _0x1cda4a=this[_0x3046e2(0x4fc)]['get'](_0x90df15);_0x1cda4a&&window['clearTimeout'](_0x1cda4a),this['_clearOtherTimers'][_0x3046e2(0x24a)](_0x90df15,null);}}[_0x56d4b2(0x295)](_0x47094f){const _0x4d79d1=_0x56d4b2,{memberID:_0x283eba,unitIDs:_0x2e77db}=_0x47094f;_0x2e77db[_0x4d79d1(0x3dc)](_0xd529e9=>{const _0x21f4a9=_0x4d79d1;var _0x18a6cc;const _0x10aa40=this[_0x21f4a9(0x31f)][_0x21f4a9(0x313)](_0xd529e9);_0x10aa40&&(_0x10aa40['delete'](_0x283eba),(_0x18a6cc=this[_0x21f4a9(0x58d)](_0xd529e9))==null||_0x18a6cc[_0x21f4a9(0x336)](_0x10aa40[_0x21f4a9(0x2df)]===0x0?0x0:0x1));}),this[_0x4d79d1(0x5e5)](_0x283eba);}[_0x56d4b2(0x368)](_0x20f4f0){const _0xc4801d=_0x56d4b2;this[_0xc4801d(0x213)](_0x20f4f0[_0xc4801d(0x408)]);}[_0x56d4b2(0x634)](_0x14dffd){const _0x8aebdc=_0x56d4b2;localStorage[_0x8aebdc(0x2c2)](xt,JSON['stringify'](_0x14dffd));}[_0x56d4b2(0x3b8)](){const _0xc80a6d=_0x56d4b2;this[_0xc80a6d(0x604)]=window['setInterval'](()=>{const _0x181dc2=_0xc80a6d;this[_0x181dc2(0x634)]({'type':0x2,'memberID':this['_id']});},Lt);}[_0x56d4b2(0x58d)](_0x250b01){const _0x1362cc=_0x56d4b2;return this[_0x1362cc(0x44f)][_0x1362cc(0x341)](_0x250b01)||this[_0x1362cc(0x44f)]['set'](_0x250b01,new A['BehaviorSubject'](0x0)),this[_0x1362cc(0x44f)][_0x1362cc(0x313)](_0x250b01);}}var wi=Object[_0x56d4b2(0x3a4)],Ui=Object[_0x56d4b2(0x47e)],Mi=(_0x5114bf,_0x24216d,_0x236f74,_0x18a256)=>{for(var _0x3beb63=_0x18a256>0x1?void 0x0:_0x18a256?Ui(_0x24216d,_0x236f74):_0x24216d,_0x495916=_0x5114bf['length']-0x1,_0x5ed12a;_0x495916>=0x0;_0x495916--)(_0x5ed12a=_0x5114bf[_0x495916])&&(_0x3beb63=(_0x18a256?_0x5ed12a(_0x24216d,_0x236f74,_0x3beb63):_0x5ed12a(_0x3beb63))||_0x3beb63);return _0x18a256&&_0x3beb63&&wi(_0x24216d,_0x236f74,_0x3beb63),_0x3beb63;},et=(_0x2ef90e,_0x2fa9a8)=>(_0xeb31,_0x5944be)=>_0x2fa9a8(_0xeb31,_0x5944be,_0x2ef90e);let We=class{constructor(_0x336b76,_0xca85a7,_0x7e5169){const _0x35488f=_0x56d4b2;this[_0x35488f(0x473)]=_0x336b76,this[_0x35488f(0x4c7)]=_0xca85a7,this['_docStateChangeManagerService']=_0x7e5169;}['transformStateCache'](_0x1b9dd9){const _0x648b2=_0x56d4b2;this[_0x648b2(0x5e2)](_0x1b9dd9);}[_0x56d4b2(0x3a9)](_0xdf2265){const _0x41e9ed=_0x56d4b2,{unitID:_0x5a1376}=_0xdf2265,{collaboration:_0x22f39b}=this[_0x41e9ed(0x5e3)][_0x41e9ed(0x386)](_0x5a1376);if(_0x22f39b[_0x41e9ed(0x543)]===0x0)return _0xdf2265;let _0x31fedf=a[_0x41e9ed(0x4a6)][_0x41e9ed(0x395)](_0xdf2265[_0x41e9ed(0x48c)][0x0]);for(let _0x42b1b2=0x0;_0x42b1b2<_0x22f39b['length'];_0x42b1b2++){const _0x496c8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22f39b[_0x42b1b2][_0x41e9ed(0x2fe)],..._0x22f39b[_0x42b1b2]['redoState']}},_0x5d411d=this[_0x41e9ed(0x4c7)][_0x41e9ed(0x4b6)](_0x31fedf,_0x496c8f,!0x1);if(p['isTransformMutationFailure'](_0x5d411d))throw _0x5d411d[_0x41e9ed(0x38d)];_0x31fedf=_0x5d411d['m1Prime'];}return{...a[_0x41e9ed(0x4a6)][_0x41e9ed(0x395)](_0xdf2265),'mutations':[_0x31fedf]};}[_0x56d4b2(0x5e2)](_0xb05890){const _0x430b68=_0x56d4b2,{unitID:_0x18cdf6}=_0xb05890,{history:_0x41946a,collaboration:_0x3b38e4}=this[_0x430b68(0x5e3)][_0x430b68(0x386)](_0x18cdf6);if(_0x41946a[_0x430b68(0x543)]===0x0&&_0x3b38e4[_0x430b68(0x543)]===0x0)return;const _0x1b1256=[],_0x3b99ea=[];let _0x3a808a=a[_0x430b68(0x4a6)]['deepClone'](_0xb05890[_0x430b68(0x48c)][0x0]),_0x27a388=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890['mutations'][0x0]);for(let _0x27d47c=_0x41946a[_0x430b68(0x543)]-0x1;_0x27d47c>=0x0;_0x27d47c--){const _0xf9a0e1={'id':_0x430b68(0x457),'params':{'unitId':_0x41946a[_0x27d47c]['unitId'],..._0x41946a[_0x27d47c][_0x430b68(0x4ad)]}},_0x149cca={'id':_0x430b68(0x457),'params':{'unitId':_0x41946a[_0x27d47c][_0x430b68(0x2fe)],..._0x41946a[_0x27d47c][_0x430b68(0x41f)]}},_0x1cd4d0=this[_0x430b68(0x4c7)]['transformMutation'](_0x3a808a,_0xf9a0e1,!0x1),_0x37d2d=this[_0x430b68(0x4c7)][_0x430b68(0x4b6)](_0x27a388,_0x149cca,!0x1);if(p[_0x430b68(0x4bf)](_0x1cd4d0))throw _0x1cd4d0['error'];if(p['isTransformMutationFailure'](_0x37d2d))throw _0x37d2d[_0x430b68(0x38d)];_0x1b1256[_0x430b68(0x4e8)]({..._0x41946a[_0x27d47c],'undoState':_0x1cd4d0[_0x430b68(0x417)][_0x430b68(0x225)],'redoState':_0x37d2d['m2Prime'][_0x430b68(0x225)]}),_0x3a808a=_0x1cd4d0[_0x430b68(0x3c0)],_0x27a388=_0x37d2d[_0x430b68(0x3c0)];}_0x3a808a=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890[_0x430b68(0x48c)][0x0]),_0x27a388=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890[_0x430b68(0x48c)][0x0]);for(let _0x54cbe1=_0x3b38e4['length']-0x1;_0x54cbe1>=0x0;_0x54cbe1--){const _0x403afc={'id':_0x430b68(0x457),'params':{'unitId':_0x3b38e4[_0x54cbe1][_0x430b68(0x2fe)],..._0x3b38e4[_0x54cbe1][_0x430b68(0x4ad)]}},_0x528afa={'id':_0x430b68(0x457),'params':{'unitId':_0x3b38e4[_0x54cbe1][_0x430b68(0x2fe)],..._0x3b38e4[_0x54cbe1]['redoState']}},_0x42dd4c=this['_transformService'][_0x430b68(0x4b6)](_0x3a808a,_0x403afc,!0x1),_0x8caa93=this[_0x430b68(0x4c7)][_0x430b68(0x4b6)](_0x27a388,_0x528afa,!0x1);if(p['isTransformMutationFailure'](_0x42dd4c))throw _0x42dd4c['error'];if(p[_0x430b68(0x4bf)](_0x8caa93))throw _0x8caa93[_0x430b68(0x38d)];_0x3b99ea[_0x430b68(0x4e8)]({..._0x3b38e4[_0x54cbe1],'undoState':_0x42dd4c['m2Prime'][_0x430b68(0x225)],'redoState':_0x8caa93[_0x430b68(0x417)][_0x430b68(0x225)]}),_0x3a808a=_0x42dd4c[_0x430b68(0x3c0)],_0x27a388=_0x8caa93[_0x430b68(0x3c0)];}this['_docStateChangeManagerService'][_0x430b68(0x310)](_0x18cdf6,{'history':_0x1b1256,'collaboration':_0x3b99ea});}};We=Mi([et(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),et(0x1,p['ITransformService']),et(0x2,a[_0x56d4b2(0x226)](Q[_0x56d4b2(0x5a7)]))],We);function vn(_0x2bbba8){const _0x149eab=_0x56d4b2;let _0x1661f5='';for(const _0x202146 of _0x2bbba8){const {startOffset:_0x3e7c51,endOffset:_0x338d15,isActive:_0x5ddf38,rangeType:_0x5c6a6c,segmentId:_0x260018,segmentPage:_0x16abba}=_0x202146;_0x1661f5[_0x149eab(0x543)]&&(_0x1661f5+=','),_0x1661f5+=_0x3e7c51+':'+_0x338d15+':'+(_0x5ddf38?'1':'0')+':'+_0x5c6a6c+':'+_0x260018+':'+_0x16abba;}return _0x1661f5;}function Ai(_0x2c430b){const _0x3762f2=_0x56d4b2,_0x32ea88=_0x2c430b[_0x3762f2(0x209)](','),_0x4f989c=[];for(const _0x5a3714 of _0x32ea88){const [_0x100f97,_0x89124f,_0x52cad7,_0x3fe3ba,_0x2eb384,_0x1e178e]=_0x5a3714['split'](':');_0x4f989c['push']({'startOffset':Number(_0x100f97),'endOffset':Number(_0x89124f),'collapsed':_0x100f97===_0x89124f,'isActive':_0x52cad7==='1','rangeType':_0x3fe3ba===a[_0x3762f2(0x52c)][_0x3762f2(0x369)]?a[_0x3762f2(0x52c)]['TEXT']:a['DOC_RANGE_TYPE'][_0x3762f2(0x2e4)],'segmentId':typeof _0x2eb384=='string'?String(_0x2eb384):'','segmentPage':Number(_0x1e178e!=null?_0x1e178e:-0x1)});}return _0x4f989c[_0x3762f2(0x561)](_0x9e78=>_0x9e78[_0x3762f2(0x261)])||(_0x4f989c[0x0][_0x3762f2(0x261)]=!0x0),_0x4f989c;}class Rt extends a[_0x56d4b2(0x5c6)]{constructor(){const _0x4a8f16=_0x56d4b2;super(...arguments),I(this,_0x4a8f16(0x4eb),new A[(_0x4a8f16(0x227))](null)),I(this,_0x4a8f16(0x2e7),this['_collabCursorState$'][_0x4a8f16(0x59e)]());}[_0x56d4b2(0x301)](_0x2b0766){const _0x555ef0=_0x56d4b2,{unitID:_0x2cd7ce,memberID:_0x516d3e,textRanges:_0x2ff2e5}=_0x2b0766,_0x5e2b4a=vn(_0x2ff2e5);if(_0x5e2b4a==='')return;const _0x1b6cd6={'unitID':_0x2cd7ce,'memberID':_0x516d3e,'selection':_0x5e2b4a};this[_0x555ef0(0x4eb)][_0x555ef0(0x336)](_0x1b6cd6);}}var Ni=Object[_0x56d4b2(0x3a4)],Li=Object['getOwnPropertyDescriptor'],xi=(_0x263f2c,_0x55d04b,_0xc0ae3e,_0x2cf01b)=>{const _0x909f62=_0x56d4b2;for(var _0x1b6ba7=_0x2cf01b>0x1?void 0x0:_0x2cf01b?Li(_0x55d04b,_0xc0ae3e):_0x55d04b,_0x3165c7=_0x263f2c[_0x909f62(0x543)]-0x1,_0xd2fffe;_0x3165c7>=0x0;_0x3165c7--)(_0xd2fffe=_0x263f2c[_0x3165c7])&&(_0x1b6ba7=(_0x2cf01b?_0xd2fffe(_0x55d04b,_0xc0ae3e,_0x1b6ba7):_0xd2fffe(_0x1b6ba7))||_0x1b6ba7);return _0x2cf01b&&_0x1b6ba7&&Ni(_0x55d04b,_0xc0ae3e,_0x1b6ba7),_0x1b6ba7;},jt=(_0x5d40aa,_0x7fcc0a)=>(_0x51f86d,_0x4788f4)=>_0x7fcc0a(_0x51f86d,_0x4788f4,_0x5d40aa);let Fe=class{constructor(_0x5ece4c,_0x75f6f8){const _0x5f0729=_0x56d4b2;this[_0x5f0729(0x473)]=_0x5ece4c,this[_0x5f0729(0x4c7)]=_0x75f6f8;}[_0x56d4b2(0x57a)](_0x71df95){const _0xc659ad=_0x56d4b2;var _0x4f105d;const _0x1ce63a=this[_0xc659ad(0x473)][_0xc659ad(0x313)](Ie['DocSelectionManagerService']),_0x4e4d5c=(_0x4f105d=_0x1ce63a[_0xc659ad(0x3ca)]())!=null?_0x4f105d:[];if(_0x4e4d5c['length']===0x0)return;const _0x5da573=_0x71df95['unitID'],_0x8e8853=[{'id':_0xc659ad(0x457),'params':{'unitId':_0x5da573,'actions':null,'textRanges':_0x4e4d5c}}],_0x4efd5a=this[_0xc659ad(0x4c7)][_0xc659ad(0x230)](_0x71df95,_0x8e8853);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4efd5a))throw _0x4efd5a[_0xc659ad(0x38d)];const _0x46e5e2=_0x4efd5a[_0xc659ad(0x417)][0x0][_0xc659ad(0x225)][_0xc659ad(0x217)];Array[_0xc659ad(0x534)](_0x46e5e2)&&_0x46e5e2['length']&&_0x1ce63a['replaceDocRanges'](_0x46e5e2,{'unitId':_0x5da573,'subUnitId':_0x5da573},!0x1);}};Fe=xi([jt(0x0,a['Inject'](a[_0x56d4b2(0x1e7)])),jt(0x1,p[_0x56d4b2(0x25d)])],Fe);const ji=new Set([B[_0x56d4b2(0x39e)]['id']]);function $t(_0x42fbce,_0x3ec912,_0x31da10,_0x40498a,_0x4a5024){const _0x598e3c=_0x56d4b2;var _0x24b4bb,_0x33a8cb,_0x1f1f57,_0x42e331;const _0x3593d2=[];for(const _0x252ad6 of _0x42fbce)if(ji['has'](_0x252ad6['id'])){if(_0x3593d2['length']>0x0)break;_0x3593d2[_0x598e3c(0x322)](_0x252ad6);break;}else _0x3593d2[_0x598e3c(0x322)](_0x252ad6);const _0x26b2ec=(_0x33a8cb=(_0x24b4bb=_0x4a5024[_0x598e3c(0x3cd)]())==null?void 0x0:_0x24b4bb[_0x598e3c(0x388)])!=null?_0x33a8cb:'unknown',_0x59e73f=(_0x42e331=(_0x1f1f57=_0x4a5024['getCurrentUser']())==null?void 0x0:_0x1f1f57[_0x598e3c(0x408)])!=null?_0x42e331:_0x598e3c(0x5b0);return{'changeset':{'unitID':_0x3ec912,'type':p['mapDocumentTypeToUniverType'](_0x31da10[_0x598e3c(0x288)](_0x3ec912)),'baseRev':_0x40498a[_0x598e3c(0x468)](_0x3ec912),'revision':0x0,'userID':_0x26b2ec,'memberID':_0x59e73f,'mutations':_0x3593d2},'pendingMutations':_0x42fbce['slice'](_0x3593d2[_0x598e3c(0x543)])};}function $i(_0xf5fbfd,_0x542973,_0x4f6ce5,_0x37a6c9,_0x1c2867){const _0x2c7dd0=_0x56d4b2;var _0x49ebf2,_0x19090e,_0x5f2b72,_0x2a1a8f;const _0x3c589f=[_0xf5fbfd[_0x2c7dd0(0x29d)]((_0x1d8138,_0x1e8d42)=>{const _0x3967b5=_0x2c7dd0;var _0x178a4f;const {id:_0x10c9d2}=_0x1d8138,{id:_0x34bda4,type:_0x31a4c8}=_0x1e8d42,_0x2b8ebd=(_0x178a4f=_0x1d8138[_0x3967b5(0x225)])!=null?_0x178a4f:{'actions':null},_0x50eb9e=_0x1e8d42['params'];if(_0x10c9d2&&_0x10c9d2!==_0x34bda4)throw new Error(_0x3967b5(0x3e7)+_0x10c9d2+_0x3967b5(0x55c)+_0x34bda4+'.');return{..._0x1d8138,'id':_0x34bda4,'type':_0x31a4c8,'params':{'unitId':_0x50eb9e[_0x3967b5(0x2fe)],'textRanges':_0x50eb9e['textRanges'],'actions':a[_0x3967b5(0x27b)][_0x3967b5(0x44c)](_0x2b8ebd['actions'],_0x50eb9e['actions'])}};},{})],_0x466da2=(_0x19090e=(_0x49ebf2=_0x1c2867[_0x2c7dd0(0x3cd)]())==null?void 0x0:_0x49ebf2['userID'])!=null?_0x19090e:_0x2c7dd0(0x5b0),_0xf92557=(_0x2a1a8f=(_0x5f2b72=_0x1c2867[_0x2c7dd0(0x3cd)]())==null?void 0x0:_0x5f2b72[_0x2c7dd0(0x408)])!=null?_0x2a1a8f:_0x2c7dd0(0x5b0);return{'changeset':{'unitID':_0x542973,'type':p[_0x2c7dd0(0x4a4)](_0x4f6ce5[_0x2c7dd0(0x288)](_0x542973)),'baseRev':_0x37a6c9[_0x2c7dd0(0x468)](_0x542973),'revision':0x0,'userID':_0x466da2,'memberID':_0xf92557,'mutations':_0x3c589f},'pendingMutations':[]};}function Sn(_0x9eb530,_0x5d3690){const _0x30f481=_0x56d4b2,_0x1913c7=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x1913c7[_0x30f481(0x336)](_0x5d3690),_0x9eb530),_0x1913c7['asObservable']()[_0x30f481(0x348)](A['take'](0x1));}const Hi={'id':B[_0x56d4b2(0x4ce)]['id'],'type':a[_0x56d4b2(0x31b)][_0x56d4b2(0x21d)],'params':{}};var ki=Object['defineProperty'],Bi=Object['getOwnPropertyDescriptor'],Ee=(_0x42cded,_0xe3de8d,_0x353d7b,_0x4e4555)=>{for(var _0xd16ac=_0x4e4555>0x1?void 0x0:_0x4e4555?Bi(_0xe3de8d,_0x353d7b):_0xe3de8d,_0x136fc8=_0x42cded['length']-0x1,_0x187197;_0x136fc8>=0x0;_0x136fc8--)(_0x187197=_0x42cded[_0x136fc8])&&(_0xd16ac=(_0x4e4555?_0x187197(_0xe3de8d,_0x353d7b,_0xd16ac):_0x187197(_0xd16ac))||_0xd16ac);return _0x4e4555&&_0xd16ac&&ki(_0xe3de8d,_0x353d7b,_0xd16ac),_0xd16ac;},N=(_0x3e51d7,_0xb5d1c0)=>(_0x26e90f,_0x3c61df)=>_0xb5d1c0(_0x26e90f,_0x3c61df,_0x3e51d7),q=(_0x41a6db=>(_0x41a6db['NOT_COLLAB']=_0x56d4b2(0x41d),_0x41a6db['SYNCED']=_0x56d4b2(0x66c),_0x41a6db[_0x56d4b2(0x240)]=_0x56d4b2(0x2d2),_0x41a6db['AWAITING']='awaiting',_0x41a6db[_0x56d4b2(0x522)]=_0x56d4b2(0x60b),_0x41a6db['FETCH_MISS']='fetch_missing',_0x41a6db['CONFLICT']=_0x56d4b2(0x64d),_0x41a6db['OFFLINE']=_0x56d4b2(0x682),_0x41a6db))(q||{});const pn=0xea60;class be{constructor(_0x4c72ac,_0x57243b,_0x456c89,_0x10c1c6,_0xf771a5,_0x3a33ef,_0x422b74,_0x131ad3,_0x573eba){const _0x5746a6=_0x56d4b2;I(this,_0x5746a6(0x4f3),null),I(this,_0x5746a6(0x5d0),[]),(this['unitID']=_0x4c72ac,this['type']=_0x57243b,this['_handler']=_0xf771a5,this[_0x5746a6(0x51b)]=_0x3a33ef,this['_undoRedoService']=_0x422b74,this[_0x5746a6(0x244)]=_0x131ad3,this[_0x5746a6(0x56a)]=_0x573eba,this[_0x5746a6(0x4f3)]=_0x456c89,this['_pendingMutations']=_0x10c1c6);}[_0x56d4b2(0x2f6)](_0x17fe60){const _0x5a8b2d=_0x56d4b2,_0x3c557d=this[_0x5a8b2d(0x244)][_0x5a8b2d(0x468)](this[_0x5a8b2d(0x5ed)]);return _0x17fe60[_0x5a8b2d(0x4ea)]>_0x3c557d+0x1?(this['_handler'][_0x5a8b2d(0x32a)]({'from':_0x3c557d,'to':_0x17fe60[_0x5a8b2d(0x4ea)]-0x1}),!0x0):!0x1;}[_0x56d4b2(0x2bd)](_0x1efdd7){const _0x152b76=_0x56d4b2;this[_0x152b76(0x3e6)][_0x152b76(0x24b)](this[_0x152b76(0x5ed)],_0x1efdd7);}['_transformSelections'](_0x174f4e){var _0x507056,_0x2ccd3d;(_0x2ccd3d=(_0x507056=this['_handler'])['onTransformSelections'])==null||_0x2ccd3d['call'](_0x507056,_0x174f4e);}['_transformIMECache'](_0xd2edf0){const _0x1cc48c=_0x56d4b2;var _0x5b9695,_0x4ac441;return(_0x4ac441=(_0x5b9695=this[_0x1cc48c(0x1f9)])[_0x1cc48c(0x306)])==null?void 0x0:_0x4ac441['call'](_0x5b9695,_0xd2edf0);}['_transformStateCache'](_0xb71002){const _0x4f842b=_0x56d4b2;var _0x358afc,_0x1529b4;return(_0x1529b4=(_0x358afc=this[_0x4f842b(0x1f9)])['onTransformState'])==null?void 0x0:_0x1529b4[_0x4f842b(0x356)](_0x358afc,_0xb71002);}[_0x56d4b2(0x640)](_0x4a4403){const _0x4595ad=_0x56d4b2;var _0x353253,_0x13f879,_0x2dfe49;return(_0x2dfe49=(_0x13f879=(_0x353253=this['_handler'])[_0x4595ad(0x617)])==null?void 0x0:_0x13f879[_0x4595ad(0x356)](_0x353253,_0x4a4403))!=null?_0x2dfe49:_0x4a4403;}[_0x56d4b2(0x4d0)](_0x2e50f3){const _0x2cc0a6=_0x56d4b2;var _0x370439,_0x201577,_0xae3d5f;return(_0xae3d5f=(_0x201577=(_0x370439=this[_0x2cc0a6(0x1f9)])[_0x2cc0a6(0x1d5)])==null?void 0x0:_0x201577[_0x2cc0a6(0x356)](_0x370439,_0x2e50f3))!=null?_0xae3d5f:_0x2e50f3;}['_syncEditingCollabCursor'](_0x3dcbe2){const _0x92cb81=_0x56d4b2;var _0x5f4906,_0xe79fc7;if(this['type']===ie[_0x92cb81(0x487)]){const {unitID:_0x540940,mutations:_0x581f13,memberID:_0x44d63d}=_0x3dcbe2,_0x1d477c=_0x581f13[0x0][_0x92cb81(0x225)][_0x92cb81(0x217)];Array[_0x92cb81(0x534)](_0x1d477c)&&_0x1d477c['length']>0x0&&((_0xe79fc7=(_0x5f4906=this[_0x92cb81(0x1f9)])[_0x92cb81(0x249)])==null||_0xe79fc7['call'](_0x5f4906,{'unitID':_0x540940,'memberID':_0x44d63d,'textRanges':_0x1d477c}));}}['_updateLocalCache'](){const _0x23febb=_0x56d4b2;this[_0x23febb(0x56a)][_0x23febb(0x3d1)](this[_0x23febb(0x5ed)],this[_0x23febb(0x2fc)],this[_0x23febb(0x4f3)],this[_0x23febb(0x5d0)]);}['_getCurrentRevision'](){const _0x1b44ee=_0x56d4b2;return this['_revisionService'][_0x1b44ee(0x468)](this[_0x1b44ee(0x5ed)]);}[_0x56d4b2(0x2ae)](){const _0x4546a3=_0x56d4b2;this[_0x4546a3(0x244)][_0x4546a3(0x5e6)](this[_0x4546a3(0x5ed)]);}[_0x56d4b2(0x5ad)](_0x23345f){const _0x43a8de=_0x56d4b2;var _0x48432a;let _0x50abd1=this['_transformRemoteChangesetByIMECache'](_0x23345f);_0x50abd1=this[_0x43a8de(0x4d0)](_0x50abd1);const _0x2bc986=a['sequenceExecute'](_0x50abd1[_0x43a8de(0x48c)],this[_0x43a8de(0x51b)],{'fromCollab':!0x0});if(!_0x2bc986[_0x43a8de(0x320)])throw _0x2bc986[_0x43a8de(0x38d)]instanceof Error?_0x2bc986[_0x43a8de(0x38d)]:new Error((_0x48432a=_0x2bc986[_0x43a8de(0x38d)])!=null?_0x48432a:'[CollaborationState]:\x20apply\x20error!');this[_0x43a8de(0x5c8)](_0x50abd1),this[_0x43a8de(0x5f5)](_0x50abd1),this['_transformUndoredo'](_0x23345f),this[_0x43a8de(0x62e)](_0x50abd1),this['_syncEditingCollabCursor'](_0x50abd1),this['_incrementRevisionNumber']();}}let Oe=class extends be{constructor(_0x3c5a0f,_0x58fdba,_0xf3419e,_0x367b13,_0x3e0cdd,_0x539406,_0x4aa53e,_0x4116eb,_0x49c429,_0x3992a1){const _0x1839ff=_0x56d4b2;super(_0x3c5a0f,_0x58fdba,null,[],_0xf3419e,_0x4116eb,_0x4aa53e,_0x367b13,_0x3e0cdd),I(this,_0x1839ff(0x496),'synced'),(this[_0x1839ff(0x473)]=_0x539406,this[_0x1839ff(0x529)]=_0x49c429,this[_0x1839ff(0x4c7)]=_0x3992a1);}[_0x56d4b2(0x520)](_0x2d5e7d){const _0x18972d=_0x56d4b2,_0x4f4adb=this[_0x18972d(0x473)][_0x18972d(0x390)](ce,this['unitID'],this[_0x18972d(0x2fc)],[_0x2d5e7d],this['_handler']);return _0x4f4adb['_schedule'](),_0x4f4adb[_0x18972d(0x41b)](),_0x4f4adb;}[_0x56d4b2(0x275)](_0x44f5cc){const _0x16d0d7=_0x56d4b2;if(this[_0x16d0d7(0x2f6)](_0x44f5cc))return this[_0x16d0d7(0x473)]['createInstance'](re,this[_0x16d0d7(0x5ed)],this[_0x16d0d7(0x2fc)],null,[],null,[_0x44f5cc],this[_0x16d0d7(0x1f9)]);try{const _0x25db0e=this[_0x16d0d7(0x4c7)][_0x16d0d7(0x230)](_0x44f5cc,[Hi]);if(p['isTransformMutationsWithChangesetSuccess'](_0x25db0e)){const {c1Prime:_0x3d63fc}=_0x25db0e;return this[_0x16d0d7(0x5ad)](_0x3d63fc),this;}throw _0x25db0e['error'];}catch(_0x4e0535){return this[_0x16d0d7(0x529)][_0x16d0d7(0x38d)](_0x4e0535),this[_0x16d0d7(0x477)](!0x1);}}['_onConflict'](_0xe42571){const _0x1e7e27=_0x56d4b2;return this[_0x1e7e27(0x473)]['createInstance'](ve,this[_0x1e7e27(0x5ed)],this[_0x1e7e27(0x2fc)],null,[],this[_0x1e7e27(0x1f9)],_0xe42571);}[_0x56d4b2(0x625)](){const _0x3f9a28=_0x56d4b2;throw new Error(_0x3f9a28(0x1f5));}['onRemoteRej'](){const _0x509f2c=_0x56d4b2;throw new Error(_0x509f2c(0x215));}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){const _0x4d3ce1=_0x56d4b2;return this[_0x4d3ce1(0x473)][_0x4d3ce1(0x390)](Se,this['unitID'],this[_0x4d3ce1(0x2fc)],null,[],this[_0x4d3ce1(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['resend'](){const _0x30aee0=_0x56d4b2;throw new Error(_0x30aee0(0x5ef));}[_0x56d4b2(0x4ba)](){const _0x5331a0=_0x56d4b2,_0x41ea75=this[_0x5331a0(0x244)]['getCurrentRevOfUnit'](this[_0x5331a0(0x5ed)]);return this[_0x5331a0(0x1f9)][_0x5331a0(0x32a)]({'from':_0x41ea75,'to':0x0}),this[_0x5331a0(0x473)]['createInstance'](re,this[_0x5331a0(0x5ed)],this[_0x5331a0(0x2fc)],null,[],null,[],this[_0x5331a0(0x1f9)]);}};Oe=Ee([N(0x3,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x5,a['Inject'](a[_0x56d4b2(0x1e7)])),N(0x6,a[_0x56d4b2(0x2fd)]),N(0x7,a[_0x56d4b2(0x2b1)]),N(0x8,a[_0x56d4b2(0x270)]),N(0x9,p[_0x56d4b2(0x25d)])],Oe);let ce=class extends be{constructor(_0x2b285b,_0x805086,_0x607136,_0x3d877c,_0x25944c,_0x11ce5f,_0x48306c,_0x1c97d4,_0x28b25c,_0x35f3bb,_0x49be3a,_0x5bdaec,_0x554e5e,_0x59313e){const _0x387336=_0x56d4b2;super(_0x2b285b,_0x805086,null,_0x607136,_0x3d877c,_0x35f3bb,_0x59313e,_0x11ce5f,_0x48306c),I(this,_0x387336(0x496),_0x387336(0x2d2)),I(this,_0x387336(0x59d),null),I(this,_0x387336(0x547),null),(this[_0x387336(0x473)]=_0x25944c,this[_0x387336(0x23c)]=_0x1c97d4,this[_0x387336(0x529)]=_0x28b25c,this[_0x387336(0x2b9)]=_0x49be3a,this[_0x387336(0x4c7)]=_0x5bdaec,this[_0x387336(0x2c6)]=_0x554e5e);}[_0x56d4b2(0x520)](_0x21d1cb){const _0x209f85=_0x56d4b2;return this[_0x209f85(0x5d0)]['push'](_0x21d1cb),this['_updateLocalCache'](),this;}[_0x56d4b2(0x275)](_0x46b41e){const _0x3fd215=_0x56d4b2;if(this[_0x3fd215(0x2f6)](_0x46b41e))return this[_0x3fd215(0x345)](),this['_injector']['createInstance'](re,this[_0x3fd215(0x5ed)],this[_0x3fd215(0x2fc)],null,this[_0x3fd215(0x5d0)],null,[_0x46b41e],this['_handler']);try{const _0x5546be=this[_0x3fd215(0x4c7)]['transformMutationsWithChangeset'](_0x46b41e,this[_0x3fd215(0x5d0)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x5546be)){const {c1Prime:_0x73a0ba,m2Prime:_0x3e807f}=_0x5546be;this[_0x3fd215(0x5ad)](_0x73a0ba);const _0x1dcc5b=this[_0x3fd215(0x473)][_0x3fd215(0x390)](ce,this[_0x3fd215(0x5ed)],this['type'],_0x3e807f,this[_0x3fd215(0x1f9)]);return this[_0x3fd215(0x345)](),_0x1dcc5b[_0x3fd215(0x65b)](this[_0x3fd215(0x59d)]?Math[_0x3fd215(0x40d)](0x0,new Date()[_0x3fd215(0x271)]()-this[_0x3fd215(0x59d)]):this[_0x3fd215(0x3e9)]()),_0x1dcc5b;}throw _0x5546be[_0x3fd215(0x38d)];}catch(_0x172f68){return this['_logService'][_0x3fd215(0x38d)](_0x172f68),this[_0x3fd215(0x477)](!0x1);}}[_0x56d4b2(0x625)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x56d4b2(0x34a)](){const _0x440fc2=_0x56d4b2;throw new Error(_0x440fc2(0x421));}[_0x56d4b2(0x616)](){return this;}['toggleOffline'](){const _0x2fda8e=_0x56d4b2;return this[_0x2fda8e(0x345)](),this[_0x2fda8e(0x473)]['createInstance'](Se,this[_0x2fda8e(0x5ed)],this['type'],null,this[_0x2fda8e(0x5d0)],this[_0x2fda8e(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['_schedule'](_0x5d210f){const _0x3b007f=_0x56d4b2,_0x1d7573=_0x5d210f!=null?_0x5d210f:this[_0x3b007f(0x3e9)]();this[_0x3b007f(0x59d)]=new Date()['getTime'](),this[_0x3b007f(0x547)]=window['setTimeout'](()=>{const _0x22534c=_0x3b007f;this[_0x22534c(0x345)]();let _0xfc7d3f=null;switch(this['type']){case ie[_0x22534c(0x58e)]:{_0xfc7d3f=$t(this[_0x22534c(0x5d0)],this[_0x22534c(0x5ed)],this[_0x22534c(0x2c6)],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]);break;}case ie[_0x22534c(0x487)]:{this[_0x22534c(0x5d0)][_0x22534c(0x4bb)](_0x363634=>_0x363634['id']===Ie[_0x22534c(0x37e)]['id'])?_0xfc7d3f=$i(this['_pendingMutations'],this['unitID'],this[_0x22534c(0x2c6)],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]):_0xfc7d3f=$t(this[_0x22534c(0x5d0)],this[_0x22534c(0x5ed)],this['_univerInstanceService'],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]);break;}default:throw new Error(_0x22534c(0x37b)+this[_0x22534c(0x2fc)]+'\x20in\x20_schedule.');}const {changeset:_0x343c03,pendingMutations:_0x2bfa42}=_0xfc7d3f;this[_0x22534c(0x1f9)][_0x22534c(0x47c)](_0x343c03);const _0x1e8fa0=_0x2bfa42[_0x22534c(0x543)]?this[_0x22534c(0x473)][_0x22534c(0x390)](le,this[_0x22534c(0x5ed)],this[_0x22534c(0x2fc)],_0x343c03,_0x2bfa42,this[_0x22534c(0x1f9)],void 0x0):this[_0x22534c(0x473)][_0x22534c(0x390)](fe,this[_0x22534c(0x5ed)],this['type'],_0x343c03,this[_0x22534c(0x1f9)]);_0x1e8fa0[_0x22534c(0x41b)](),this[_0x22534c(0x1f9)][_0x22534c(0x445)](this,_0x1e8fa0);},_0x1d7573);}[_0x56d4b2(0x3e9)](){const _0xf63d04=_0x56d4b2;var _0x41d001;const _0x392d5b=this[_0xf63d04(0x2b9)][_0xf63d04(0x3e8)](Z);return(_0x41d001=_0x392d5b==null?void 0x0:_0x392d5b[_0xf63d04(0x44a)])!=null?_0x41d001:Wn;}[_0x56d4b2(0x1ed)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56d4b2(0x345)](){const _0x1bb5e9=_0x56d4b2;this[_0x1bb5e9(0x547)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x56d4b2(0x477)](_0x1d11d6){const _0x21445c=_0x56d4b2;return this['_clearScheduledTask'](),this[_0x21445c(0x473)][_0x21445c(0x390)](ve,this['unitID'],this[_0x21445c(0x2fc)],null,this[_0x21445c(0x5d0)],this[_0x21445c(0x1f9)],_0x1d11d6);}};ce=Ee([N(0x4,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x5,a['Inject'](p[_0x56d4b2(0x54e)])),N(0x6,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x7,a['Inject'](exports[_0x56d4b2(0x2cc)])),N(0x8,a['ILogService']),N(0x9,a[_0x56d4b2(0x2b1)]),N(0xa,a['IConfigService']),N(0xb,p[_0x56d4b2(0x25d)]),N(0xc,a[_0x56d4b2(0x63e)]),N(0xd,a[_0x56d4b2(0x2fd)])],ce);let fe=class extends be{constructor(_0x33ad40,_0x559be4,_0x5bc0f1,_0x5bc2af,_0x2c3b4c,_0x1bb787,_0x1201e9,_0x5d030c,_0x1e2912,_0x362808,_0x48b409){const _0x2b6e99=_0x56d4b2;super(_0x33ad40,_0x559be4,_0x5bc0f1,[],_0x5bc2af,_0x5d030c,_0x48b409,_0x1bb787,_0x1201e9),I(this,_0x2b6e99(0x496),'awaiting'),I(this,_0x2b6e99(0x29c),0x0),I(this,_0x2b6e99(0x4de)),I(this,_0x2b6e99(0x397)),(this['_injector']=_0x2c3b4c,this[_0x2b6e99(0x529)]=_0x1e2912,this[_0x2b6e99(0x4c7)]=_0x362808);}[_0x56d4b2(0x520)](_0x2302c1){const _0x3b4c51=_0x56d4b2;this[_0x3b4c51(0x345)]();const _0x5bf62a=this[_0x3b4c51(0x473)]['createInstance'](le,this[_0x3b4c51(0x5ed)],this[_0x3b4c51(0x2fc)],this[_0x3b4c51(0x4f3)],[_0x2302c1],this[_0x3b4c51(0x1f9)],this['_resendTimer']);return _0x5bf62a[_0x3b4c51(0x41b)](),_0x5bf62a;}[_0x56d4b2(0x275)](_0x4244ac){const _0x1dbea1=_0x56d4b2;if(this['_checkMissing'](_0x4244ac))return this[_0x1dbea1(0x345)](),this[_0x1dbea1(0x473)]['createInstance'](re,this['unitID'],this[_0x1dbea1(0x2fc)],this[_0x1dbea1(0x4f3)],[],null,[_0x4244ac],this['_handler']);try{const _0x26902a=this[_0x1dbea1(0x4c7)][_0x1dbea1(0x483)]([_0x4244ac],[this[_0x1dbea1(0x4f3)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x26902a)){const {c1Prime:_0x28ebb8,c2Prime:_0x2882cb}=_0x26902a;this[_0x1dbea1(0x5ad)](_0x28ebb8[0x0]),_0x2882cb[0x0][_0x1dbea1(0x67f)]=this['_getCurrentRevision'](),this[_0x1dbea1(0x345)]();const _0x34018a=this[_0x1dbea1(0x473)][_0x1dbea1(0x390)](fe,this[_0x1dbea1(0x5ed)],this['type'],_0x2882cb[0x0],this['_handler']);return _0x34018a[_0x1dbea1(0x41b)](),_0x34018a;}return this[_0x1dbea1(0x477)](!0x1);}catch(_0x9dcd2b){return this['_logService'][_0x1dbea1(0x38d)](_0x9dcd2b),this[_0x1dbea1(0x477)](!0x1);}}['onRemoteAck'](_0x2c1fc3){const _0x34efbb=_0x56d4b2;this[_0x34efbb(0x345)]();const _0x5c5454=this[_0x34efbb(0x244)]['getCurrentRevOfUnit'](this[_0x34efbb(0x5ed)]);if(_0x2c1fc3[_0x34efbb(0x4ea)]<_0x5c5454-0x1)return this;if(this[_0x34efbb(0x2f6)](_0x2c1fc3))return this[_0x34efbb(0x473)][_0x34efbb(0x390)](re,this[_0x34efbb(0x5ed)],this[_0x34efbb(0x2fc)],null,[],this['_awaitingChangeset'],[],this[_0x34efbb(0x1f9)]);this[_0x34efbb(0x2ae)]();const _0x2819f2=this['_injector'][_0x34efbb(0x390)](Oe,this[_0x34efbb(0x5ed)],this[_0x34efbb(0x2fc)],this[_0x34efbb(0x1f9)]);return _0x2819f2[_0x34efbb(0x41b)](),_0x2819f2;}[_0x56d4b2(0x34a)](_0x2964d5){const _0x299241=_0x56d4b2;return this[_0x299241(0x477)](!!(_0x2964d5!=null&&_0x2964d5[_0x299241(0x620)]));}['onRemoteRetry'](_0x1929e2){const _0x3e1f24=_0x56d4b2;return this['_resendTimeout']>pn?this[_0x3e1f24(0x668)]():(this[_0x3e1f24(0x4de)]=Sn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1929e2[_0x3e1f24(0x4b3)]}),this[_0x3e1f24(0x397)]=this[_0x3e1f24(0x4de)]['subscribe'](({reqId:_0x150526,timeout:_0x2fac6c})=>{const _0x4c111d=_0x3e1f24;this[_0x4c111d(0x43d)](_0x150526,_0x2fac6c);}),this);}[_0x56d4b2(0x668)](){const _0x34fda4=_0x56d4b2;return this[_0x34fda4(0x345)](),this['_injector'][_0x34fda4(0x390)](Se,this[_0x34fda4(0x5ed)],this[_0x34fda4(0x2fc)],this[_0x34fda4(0x4f3)],[],this[_0x34fda4(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}[_0x56d4b2(0x1ed)](){const _0x540aa4=_0x56d4b2;this[_0x540aa4(0x1f9)][_0x540aa4(0x47c)](this[_0x540aa4(0x4f3)]);}[_0x56d4b2(0x477)](_0x55a1e9){const _0x39af4e=_0x56d4b2;return this['_clearScheduledTask'](),this['_injector'][_0x39af4e(0x390)](ve,this[_0x39af4e(0x5ed)],this['type'],this['_awaitingChangeset'],[],this[_0x39af4e(0x1f9)],_0x55a1e9);}[_0x56d4b2(0x43d)](_0x4f1d80,_0x5ac4d5){const _0x2878ac=_0x56d4b2;var _0x51816c;_0x4f1d80===((_0x51816c=this[_0x2878ac(0x4f3)])==null?void 0x0:_0x51816c['reqId'])&&(this[_0x2878ac(0x1ed)](),this[_0x2878ac(0x29c)]=_0x5ac4d5===0x0?0x3e8:_0x5ac4d5*0x2);}[_0x56d4b2(0x345)](){const _0x4749d7=_0x56d4b2;var _0x422f6c;(_0x422f6c=this[_0x4749d7(0x397)])==null||_0x422f6c[_0x4749d7(0x4c0)](),this[_0x4749d7(0x29c)]=0x0;}};fe=Ee([N(0x4,a['Inject'](a['Injector'])),N(0x5,a[_0x56d4b2(0x226)](p['RevisionService'])),N(0x6,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x7,a[_0x56d4b2(0x2b1)]),N(0x8,a[_0x56d4b2(0x270)]),N(0x9,p[_0x56d4b2(0x25d)]),N(0xa,a[_0x56d4b2(0x2fd)])],fe);let le=class extends be{constructor(_0x1b5f33,_0x47b258,_0x518a88,_0x3c091f,_0x18d6fc,_0x294011,_0x229da1,_0x5c6413,_0x19fb83,_0x363a84,_0x367047,_0x46ae98,_0x5542f8){const _0x15b289=_0x56d4b2;super(_0x1b5f33,_0x47b258,_0x518a88,_0x3c091f,_0x18d6fc,_0x363a84,_0x5542f8,_0x5c6413,_0x19fb83),I(this,_0x15b289(0x496),_0x15b289(0x60b)),I(this,_0x15b289(0x29c),0x0),I(this,_0x15b289(0x4de)),I(this,_0x15b289(0x397)),(this[_0x15b289(0x473)]=_0x229da1,this[_0x15b289(0x529)]=_0x367047,this[_0x15b289(0x4c7)]=_0x46ae98,_0x294011&&(this[_0x15b289(0x4de)]=_0x294011,this[_0x15b289(0x397)]=this[_0x15b289(0x4de)][_0x15b289(0x563)](({reqId:_0x22ed33,timeout:_0x21b8b0})=>{const _0x1cff91=_0x15b289;this[_0x1cff91(0x43d)](_0x22ed33,_0x21b8b0);})));}[_0x56d4b2(0x520)](_0x3e9b13){const _0x2d9eee=_0x56d4b2;return this['_pendingMutations'][_0x2d9eee(0x322)](_0x3e9b13),this;}[_0x56d4b2(0x275)](_0x1c1f16){const _0xdc562e=_0x56d4b2;if(this[_0xdc562e(0x2f6)](_0x1c1f16))return this[_0xdc562e(0x345)](),this[_0xdc562e(0x473)][_0xdc562e(0x390)](re,this[_0xdc562e(0x5ed)],this[_0xdc562e(0x2fc)],this[_0xdc562e(0x4f3)],this['_pendingMutations'],null,[_0x1c1f16],this[_0xdc562e(0x1f9)]);try{const _0x3c18e2=this[_0xdc562e(0x4c7)]['transformChangesets']([_0x1c1f16],[this[_0xdc562e(0x4f3)]],!0x1);if(p[_0xdc562e(0x4ec)](_0x3c18e2)){const {c1Prime:_0x3c3489,c2Prime:_0x395f32}=_0x3c18e2,_0x14ba8a=this['_transformService'][_0xdc562e(0x230)](_0x3c3489[0x0],this[_0xdc562e(0x5d0)]);if(p[_0xdc562e(0x455)](_0x14ba8a)){const {c1Prime:_0x1fede5,m2Prime:_0x4ce711}=_0x14ba8a;return this['_executeRemoteChangeset'](_0x1fede5),_0x395f32[0x0][_0xdc562e(0x67f)]=this[_0xdc562e(0x61e)](),this[_0xdc562e(0x345)](),this[_0xdc562e(0x473)]['createInstance'](le,this['unitID'],this[_0xdc562e(0x2fc)],_0x395f32[0x0],_0x4ce711,this[_0xdc562e(0x1f9)],void 0x0);}throw _0x14ba8a[_0xdc562e(0x38d)];}throw _0x3c18e2['error'];}catch(_0x4527f3){return this['_logService']['error'](_0x4527f3),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4f3dbb){const _0x388347=_0x56d4b2;if(this['_clearScheduledTask'](),this[_0x388347(0x2f6)](_0x4f3dbb))return this[_0x388347(0x473)][_0x388347(0x390)](re,this[_0x388347(0x5ed)],this[_0x388347(0x2fc)],null,this[_0x388347(0x5d0)],this[_0x388347(0x4f3)],[],this[_0x388347(0x1f9)]);this[_0x388347(0x2ae)]();const _0x499c15=this[_0x388347(0x473)][_0x388347(0x390)](ce,this[_0x388347(0x5ed)],this['type'],this[_0x388347(0x5d0)],this[_0x388347(0x1f9)]);return _0x499c15['_schedule'](),_0x499c15[_0x388347(0x41b)](),_0x499c15;}[_0x56d4b2(0x34a)](_0x54c2e7){const _0x5033b7=_0x56d4b2;return this[_0x5033b7(0x477)](!!(_0x54c2e7!=null&&_0x54c2e7[_0x5033b7(0x620)]));}[_0x56d4b2(0x616)](_0x3ef5cf){const _0x525005=_0x56d4b2;return this[_0x525005(0x29c)]>pn?this[_0x525005(0x668)]():(this['_resendTimer']=Sn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3ef5cf['reqId']}),this[_0x525005(0x397)]=this[_0x525005(0x4de)][_0x525005(0x563)](({reqId:_0x16902f,timeout:_0x1b9289})=>{const _0x54f3ad=_0x525005;this[_0x54f3ad(0x43d)](_0x16902f,_0x1b9289);}),this);}[_0x56d4b2(0x668)](){const _0x31c0e3=_0x56d4b2;return this[_0x31c0e3(0x345)](),this['_injector'][_0x31c0e3(0x390)](Se,this['unitID'],this[_0x31c0e3(0x2fc)],this[_0x31c0e3(0x4f3)],this[_0x31c0e3(0x5d0)],this['_handler']);}['toggleOnline'](){return this;}[_0x56d4b2(0x1ed)](){const _0xfd7139=_0x56d4b2;this[_0xfd7139(0x1f9)][_0xfd7139(0x47c)](this['_awaitingChangeset']);}[_0x56d4b2(0x477)](_0x37a99a){const _0x54af9d=_0x56d4b2;return this['_clearScheduledTask'](),this[_0x54af9d(0x473)][_0x54af9d(0x390)](ve,this[_0x54af9d(0x5ed)],this[_0x54af9d(0x2fc)],null,this[_0x54af9d(0x5d0)],this['_handler'],_0x37a99a);}[_0x56d4b2(0x43d)](_0x4cdc66,_0x14fe85){const _0x19cc1a=_0x56d4b2;var _0x257d68;_0x4cdc66===((_0x257d68=this['_awaitingChangeset'])==null?void 0x0:_0x257d68['reqId'])&&(this[_0x19cc1a(0x1ed)](),this[_0x19cc1a(0x29c)]=_0x14fe85===0x0?0x3e8:_0x14fe85*0x2);}[_0x56d4b2(0x345)](){const _0x22f4e6=_0x56d4b2;var _0x35ebd6;(_0x35ebd6=this['_sender'])==null||_0x35ebd6[_0x22f4e6(0x4c0)](),this[_0x22f4e6(0x29c)]=0x0;}};le=Ee([N(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x8,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x9,a[_0x56d4b2(0x2b1)]),N(0xa,a[_0x56d4b2(0x270)]),N(0xb,p['ITransformService']),N(0xc,a[_0x56d4b2(0x2fd)])],le);let ve=class extends be{constructor(_0x1ab952,_0x5ce47a,_0x14948d,_0xc4fe1b,_0x4527d3,_0x92e80b=!0x1,_0x177e13,_0x3e1f21,_0x48e5a2,_0x16b98d,_0x32438e,_0xbd9658,_0x38f772){const _0x595525=_0x56d4b2;super(_0x1ab952,_0x5ce47a,_0x14948d,_0xc4fe1b,_0x4527d3,_0x3e1f21,_0x48e5a2,_0x32438e,_0x16b98d),I(this,_0x595525(0x496),_0x595525(0x64d)),(this[_0x595525(0x361)]=_0x92e80b,this[_0x595525(0x2b5)]=_0x177e13,this['_localeService']=_0xbd9658,this[_0x595525(0x1fd)]=_0x38f772,this['_showConflictNotification'](),this[_0x595525(0x201)](),this[_0x595525(0x279)]());}[_0x56d4b2(0x520)](){return this;}[_0x56d4b2(0x275)](){return this;}[_0x56d4b2(0x625)](){return this;}[_0x56d4b2(0x34a)](){return this;}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){return this;}['toggleOnline'](){return this;}[_0x56d4b2(0x1ed)](){const _0x212ebd=_0x56d4b2;throw new Error(_0x212ebd(0x3a5));}['_clearLocalCache'](){const _0x599bd7=_0x56d4b2;this[_0x599bd7(0x56a)]['updateOfflineData'](this[_0x599bd7(0x5ed)],this[_0x599bd7(0x2fc)],null,[]);}['_showConflictNotification'](){const _0x16f086=_0x56d4b2;this['_isPermissionRej']?this[_0x16f086(0x1fd)][_0x16f086(0x2a0)]({'title':this[_0x16f086(0x1fc)]['t']('permission.title'),'content':this[_0x16f086(0x1fc)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0x16f086(0x2a0)]({'title':this[_0x16f086(0x1fc)]['t'](_0x16f086(0x5cc)),'content':this[_0x16f086(0x1fc)]['t'](_0x16f086(0x4f9)),'type':_0x16f086(0x38d),'duration':0x0});}['_disableEditing'](){const _0x4b0938=_0x56d4b2;this[_0x4b0938(0x2b5)][_0x4b0938(0x315)](new B[(_0x4b0938(0x1e8))](this[_0x4b0938(0x5ed)])['id'],!0x1);}};ve=Ee([N(0x6,a['Inject'](a['IPermissionService'])),N(0x7,a['ICommandService']),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0xa,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0xb,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),N(0xc,te['INotificationService'])],ve);let Se=class extends be{constructor(_0x56b0da,_0x1e58b5,_0x10acf7,_0x539abb,_0x3a3428,_0x5236c1,_0x4d4a00,_0x2b3db3,_0xf1f935,_0x166aac){const _0x39f165=_0x56d4b2;super(_0x56b0da,_0x1e58b5,_0x10acf7,_0x539abb,_0x3a3428,_0xf1f935,_0x166aac,_0x4d4a00,_0x2b3db3),I(this,'status','offline'),this[_0x39f165(0x473)]=_0x5236c1;}['appendMutation'](_0x59efcf){const _0x2b4883=_0x56d4b2;return this[_0x2b4883(0x5d0)][_0x2b4883(0x322)](_0x59efcf),this[_0x2b4883(0x41b)](),this;}['onRemoteChangeset'](_0x4f8bb0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x56d4b2(0x625)](){const _0x874b75=_0x56d4b2;throw new Error(_0x874b75(0x538));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){return this;}[_0x56d4b2(0x2ba)](){const _0x474814=_0x56d4b2,{_injector:_0x349b69,_pendingMutations:_0x409739,_awaitingChangeset:_0x348617,unitID:_0x2f405b,_handler:_0x610360,type:_0x2d568f}=this,_0x407496=mn(_0x349b69,_0x2f405b,_0x2d568f,_0x348617,_0x409739,_0x610360);return _0x407496 instanceof ce?_0x407496[_0x474814(0x65b)]():(_0x407496 instanceof le||_0x407496 instanceof fe)&&_0x407496['resend'](),_0x407496;}[_0x56d4b2(0x1ed)](){const _0x493196=_0x56d4b2;throw new Error(_0x493196(0x350));}};Se=Ee([N(0x5,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x6,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x7,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x8,a[_0x56d4b2(0x2b1)]),N(0x9,a[_0x56d4b2(0x2fd)])],Se);let re=class extends be{constructor(_0x4f3b15,_0x5d7615,_0xec1dbe,_0x32d028,_0x2b1d5e,_0x36132d,_0x208b25,_0xed3248,_0x5d8417,_0x9b93ad,_0x42a11f,_0x133a0d,_0x233218,_0x13ed3f){const _0x1ed4f6=_0x56d4b2;super(_0x4f3b15,_0x5d7615,_0xec1dbe,_0x32d028,_0x208b25,_0x133a0d,_0x233218,_0x5d8417,_0x9b93ad),I(this,_0x1ed4f6(0x496),_0x1ed4f6(0x4c3)),(this[_0x1ed4f6(0x404)]=_0x2b1d5e,this[_0x1ed4f6(0x657)]=_0x36132d,this['_injector']=_0xed3248,this[_0x1ed4f6(0x529)]=_0x42a11f,this[_0x1ed4f6(0x4c7)]=_0x13ed3f);}['onMissedChangesetFetched'](_0x1862f0){const _0x433388=_0x56d4b2;try{const _0x1aeefd=[..._0x1862f0,...this[_0x433388(0x657)]],_0x375ebb=[this[_0x433388(0x4f3)]||this[_0x433388(0x404)]]['filter'](_0x267969=>!!_0x267969);let _0x36e755,_0x3e38cd;if(_0x375ebb[_0x433388(0x543)]){const _0x24ac70=this[_0x433388(0x4c7)][_0x433388(0x483)](_0x1aeefd,_0x375ebb,!0x1);if(!p['isTransformChangesetsSuccess'](_0x24ac70))throw _0x24ac70[_0x433388(0x38d)];_0x36e755=_0x24ac70[_0x433388(0x242)],_0x3e38cd=_0x24ac70[_0x433388(0x4fe)];}else _0x36e755=_0x1aeefd,_0x3e38cd=[];let _0x7ff83e=this[_0x433388(0x5d0)];_0x36e755[_0x433388(0x3dc)](_0x2dd358=>{const _0x774328=_0x433388;let _0x2cf2cc;if(_0x7ff83e['length']){const _0x2cf44b=this[_0x774328(0x4c7)][_0x774328(0x230)](_0x2dd358,_0x7ff83e);if(!p[_0x774328(0x455)](_0x2cf44b))throw _0x2cf44b['error'];_0x2cf2cc=_0x2cf44b[_0x774328(0x242)],_0x7ff83e=_0x2cf44b[_0x774328(0x417)];}else _0x2cf2cc=_0x2dd358;this[_0x774328(0x5ad)](_0x2cf2cc);}),this[_0x433388(0x404)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x3e38cd[_0x433388(0x543)]&&(_0x3e38cd[0x0]['baseRev']=this[_0x433388(0x61e)]());let _0x48b9c0;if(this[_0x433388(0x4f3)]&&_0x7ff83e[_0x433388(0x543)]!==0x0)_0x48b9c0=this[_0x433388(0x473)]['createInstance'](le,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],_0x3e38cd[0x0],_0x7ff83e,this[_0x433388(0x1f9)],void 0x0);else{if(this[_0x433388(0x4f3)]&&_0x7ff83e['length']===0x0)_0x3e38cd[0x0][_0x433388(0x67f)]=this[_0x433388(0x61e)](),_0x48b9c0=this[_0x433388(0x473)]['createInstance'](fe,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],_0x3e38cd[0x0],this[_0x433388(0x1f9)]);else{if(_0x7ff83e[_0x433388(0x543)]!==0x0){const _0x34546d=this['_injector'][_0x433388(0x390)](ce,this['unitID'],this[_0x433388(0x2fc)],_0x7ff83e,this[_0x433388(0x1f9)]);_0x34546d[_0x433388(0x65b)](),_0x48b9c0=_0x34546d;}else _0x48b9c0=this['_injector']['createInstance'](Oe,this[_0x433388(0x5ed)],this['type'],this['_handler']);}}return _0x48b9c0[_0x433388(0x41b)](),_0x48b9c0;}catch(_0x14c385){return this[_0x433388(0x529)]['error'](_0x433388(0x2d3),_0x433388(0x305),_0x14c385),this[_0x433388(0x473)][_0x433388(0x390)](ve,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],this[_0x433388(0x4f3)],this[_0x433388(0x5d0)],this['_handler'],!0x1);}}[_0x56d4b2(0x1ed)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56d4b2(0x520)](_0x36348b){const _0x2ffccc=_0x56d4b2;return this[_0x2ffccc(0x5d0)][_0x2ffccc(0x322)](_0x36348b),this;}[_0x56d4b2(0x275)](_0x2f2303){const _0x5e608f=_0x56d4b2;return this[_0x5e608f(0x657)][_0x5e608f(0x322)](_0x2f2303),this;}[_0x56d4b2(0x625)](_0xa2f60e){const _0x44ad43=_0x56d4b2;if(this[_0x44ad43(0x4f3)])return this['_acknowledgedAwaitingChangeset']=this[_0x44ad43(0x4f3)],this[_0x44ad43(0x4f3)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2626fb){const _0x29452b=_0x56d4b2;return this[_0x29452b(0x477)](!!(_0x2626fb!=null&&_0x2626fb[_0x29452b(0x620)]));}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){const _0x256c41=_0x56d4b2;return this[_0x256c41(0x473)][_0x256c41(0x390)](Se,this['unitID'],this[_0x256c41(0x2fc)],this[_0x256c41(0x4f3)],this['_pendingMutations'],this[_0x256c41(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['_onConflict'](_0x1f867d){const _0x1fc4d9=_0x56d4b2;return this[_0x1fc4d9(0x473)][_0x1fc4d9(0x390)](ve,this[_0x1fc4d9(0x5ed)],this['type'],this[_0x1fc4d9(0x4f3)],this[_0x1fc4d9(0x5d0)],this[_0x1fc4d9(0x1f9)],_0x1f867d);}};re=Ee([N(0x7,a[_0x56d4b2(0x226)](a['Injector'])),N(0x8,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x9,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0xa,a[_0x56d4b2(0x270)]),N(0xb,a[_0x56d4b2(0x2b1)]),N(0xc,a[_0x56d4b2(0x2fd)]),N(0xd,p[_0x56d4b2(0x25d)])],re);function mn(_0x4ac323,_0x475296,_0x258f17,_0x2287ff,_0xa80cb3,_0x2167ef){const _0x1713b8=_0x56d4b2;return _0x2287ff&&_0xa80cb3[_0x1713b8(0x543)]?_0x4ac323[_0x1713b8(0x390)](le,_0x475296,_0x258f17,_0x2287ff,_0xa80cb3,_0x2167ef,void 0x0):_0x2287ff?_0x4ac323[_0x1713b8(0x390)](fe,_0x475296,_0x258f17,_0x2287ff,_0x2167ef):_0xa80cb3[_0x1713b8(0x543)]?_0x4ac323['createInstance'](ce,_0x475296,_0x258f17,_0xa80cb3,_0x2167ef):_0x4ac323[_0x1713b8(0x390)](Oe,_0x475296,_0x258f17,_0x2167ef);}var Wi=Object[_0x56d4b2(0x3a4)],Fi=Object[_0x56d4b2(0x47e)],yt=(_0xb3f3df,_0x598167,_0x58c3b9,_0x28abcc)=>{for(var _0x55b353=_0x28abcc>0x1?void 0x0:_0x28abcc?Fi(_0x598167,_0x58c3b9):_0x598167,_0x151ca9=_0xb3f3df['length']-0x1,_0x2cdc37;_0x151ca9>=0x0;_0x151ca9--)(_0x2cdc37=_0xb3f3df[_0x151ca9])&&(_0x55b353=(_0x28abcc?_0x2cdc37(_0x598167,_0x58c3b9,_0x55b353):_0x2cdc37(_0x55b353))||_0x55b353);return _0x28abcc&&_0x55b353&&Wi(_0x598167,_0x58c3b9,_0x55b353),_0x55b353;},H=(_0x149977,_0x2c4b10)=>(_0x4cf857,_0x2b482f)=>_0x2c4b10(_0x4cf857,_0x2b482f,_0x149977);exports[_0x56d4b2(0x30f)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x471378,_0x4c2381,_0x36e3d8,_0x2b0959,_0x58cb99,_0x5b902b,_0xcf4d3e,_0x206b67,_0x5a3f3b,_0x1f341e,_0x23ac2a,_0x13dd93,_0x2d7ce4){const _0x224bc3=_0x56d4b2;super(),I(this,_0x224bc3(0x2f5),new A[(_0x224bc3(0x227))](null)),I(this,'state$',this[_0x224bc3(0x2f5)][_0x224bc3(0x59e)]()),I(this,_0x224bc3(0x2c9)),I(this,_0x224bc3(0x545),!0x1),I(this,_0x224bc3(0x452),''),I(this,_0x224bc3(0x55b),0x0),I(this,_0x224bc3(0x434),this[_0x224bc3(0x2a6)][_0x224bc3(0x348)](A[_0x224bc3(0x26d)](_0x2444f8=>_0x2444f8?_0x2444f8[_0x224bc3(0x496)]:q[_0x224bc3(0x48b)]),A[_0x224bc3(0x2b4)](0x1))),I(this,_0x224bc3(0x325),!0x1),I(this,_0x224bc3(0x449),[]),(this[_0x224bc3(0x5ed)]=_0x471378,this[_0x224bc3(0x330)]=_0x4c2381,this[_0x224bc3(0x1f2)]=_0x36e3d8,this['_injector']=_0x2b0959,this[_0x224bc3(0x56a)]=_0x58cb99,this[_0x224bc3(0x4ae)]=_0x5b902b,this[_0x224bc3(0x1fc)]=_0xcf4d3e,this['_revisionService']=_0x206b67,this[_0x224bc3(0x529)]=_0x5a3f3b,this['_commandService']=_0x1f341e,this['_messageService']=_0x23ac2a,this['_permissionService']=_0x13dd93,this['_singleActiveUnitService']=_0x2d7ce4);}get[_0x56d4b2(0x46f)](){const _0x958053=_0x56d4b2;return this[_0x958053(0x2c9)];}async[_0x56d4b2(0x65f)](){const _0x7536a8=_0x56d4b2;if(this[_0x7536a8(0x46f)])throw new Error(_0x7536a8(0x5a2));await this['_init']();}[_0x56d4b2(0x463)](){const _0x1be2c9=_0x56d4b2;return this[_0x1be2c9(0x545)]=!0x0,a[_0x1be2c9(0x2a5)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x165e8b){const _0x64c75f=_0x56d4b2;this['_state']=_0x165e8b,this[_0x64c75f(0x2f5)]['next'](_0x165e8b);}async['_init'](){const _0x5e9366=_0x56d4b2;var _0x2871a1;this[_0x5e9366(0x309)](await this[_0x5e9366(0x2f8)]()),this['_singleActiveUnitService']&&((_0x2871a1=this[_0x5e9366(0x626)])==null||_0x2871a1[_0x5e9366(0x55e)](this['unitID']),this[_0x5e9366(0x211)](this[_0x5e9366(0x626)][_0x5e9366(0x272)](this[_0x5e9366(0x5ed)])[_0x5e9366(0x563)](_0x1afd50=>{const _0x3ad12e=_0x5e9366;this[_0x3ad12e(0x529)][_0x3ad12e(0x50f)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x1afd50),_0x1afd50===fn[_0x3ad12e(0x57c)]?(this[_0x3ad12e(0x24f)][_0x3ad12e(0x2a0)]({'content':this[_0x3ad12e(0x1fc)]['t'](_0x3ad12e(0x53c)),'type':Ce[_0x3ad12e(0x3b7)][_0x3ad12e(0x3a1)]}),this[_0x3ad12e(0x2b5)]['updatePermissionPoint'](new B[(_0x3ad12e(0x1e8))](this[_0x3ad12e(0x5ed)])['id'],!0x1),this[_0x3ad12e(0x2b5)][_0x3ad12e(0x4ee)](!0x1)):(this[_0x3ad12e(0x2b5)][_0x3ad12e(0x315)](new B[(_0x3ad12e(0x1e8))](this[_0x3ad12e(0x5ed)])['id'],!0x0),this['_permissionService'][_0x3ad12e(0x4ee)](!0x0));})));let _0x331290=!0x1;return this[_0x5e9366(0x211)](this['session'][_0x5e9366(0x548)][_0x5e9366(0x563)](_0x3f2894=>{const _0xb1c9d2=_0x5e9366;_0x3f2894===se[_0xb1c9d2(0x53b)]?this[_0xb1c9d2(0x58f)](_0x331290):_0x3f2894===se[_0xb1c9d2(0x48b)]&&(_0x331290=!0x0,this[_0xb1c9d2(0x5a6)]());})),this['disposeWithMe'](this[_0x5e9366(0x330)][_0x5e9366(0x418)][_0x5e9366(0x563)](_0x4f1c96=>{const _0x5894d3=_0x5e9366;try{switch(_0x4f1c96[_0x5894d3(0x1ff)]){case p[_0x5894d3(0x467)][_0x5894d3(0x52a)]:{this['_onRemoteChangeset'](p[_0x5894d3(0x558)](_0x4f1c96[_0x5894d3(0x569)]));break;}case p[_0x5894d3(0x467)]['CHANGESET_ACK']:{this[_0x5894d3(0x515)](_0x4f1c96[_0x5894d3(0x569)]);break;}case p['CollaborationEvent'][_0x5894d3(0x385)]:{this[_0x5894d3(0x351)]();break;}case p[_0x5894d3(0x467)][_0x5894d3(0x2c5)]:{this[_0x5894d3(0x59b)](_0x4f1c96[_0x5894d3(0x569)]);break;}case p[_0x5894d3(0x467)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5894d3(0x50e)](_0x4f1c96['data'][_0x5894d3(0x292)][_0x5894d3(0x26d)](_0x17075a=>p[_0x5894d3(0x558)](_0x17075a)));break;}case p[_0x5894d3(0x467)]['PERMISSION_REJ']:this[_0x5894d3(0x351)]({'isPermissionRej':!0x0});}}catch(_0x2ec306){throw console[_0x5894d3(0x38d)](_0x5894d3(0x380),_0x2ec306),_0x2ec306;}})),this[_0x5e9366(0x2c9)];}['_unlockTransition'](){const _0x30f442=_0x56d4b2;this[_0x30f442(0x325)]=!0x1;}[_0x56d4b2(0x60c)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x56d4b2(0x46b)](_0x308af2){const _0x58061a=_0x56d4b2;this[_0x58061a(0x60c)](),this['_updateState'](this[_0x58061a(0x2c9)]['appendMutation'](_0x308af2)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x6d39b9){const _0x297681=_0x56d4b2;if(!(_0x6d39b9[_0x297681(0x4ea)]<=this[_0x297681(0x244)][_0x297681(0x468)](this[_0x297681(0x5ed)]))){if(this[_0x297681(0x545)]){this['_remoteChangesetQueue'][_0x297681(0x322)](_0x6d39b9);return;}this[_0x297681(0x35d)](_0x6d39b9);}}['_exhaustRemoteChangesetQueue'](){const _0x4350dd=_0x56d4b2;this[_0x4350dd(0x449)]['forEach'](_0x4af1b4=>this['_applyRemoteChangeset'](_0x4af1b4)),this[_0x4350dd(0x449)]=[];}[_0x56d4b2(0x35d)](_0x3ab1dd){const _0x34af2d=_0x56d4b2,_0x14f4cf=this[_0x34af2d(0x4ae)]['interceptor'][_0x34af2d(0x3c1)](this[_0x34af2d(0x4ae)][_0x34af2d(0x4d1)][_0x34af2d(0x553)]()[_0x34af2d(0x60e)])(_0x3ab1dd[_0x34af2d(0x48c)],null)||_0x3ab1dd[_0x34af2d(0x48c)],_0x57f47a={..._0x3ab1dd,'mutations':_0x14f4cf};this[_0x34af2d(0x60c)](),this['_updateState'](this[_0x34af2d(0x2c9)][_0x34af2d(0x275)](_0x57f47a)),this[_0x34af2d(0x3c3)]();}['_onRemoteACK'](_0x29d299){const _0x52e2ef=_0x56d4b2;this[_0x52e2ef(0x60c)](),this[_0x52e2ef(0x309)](this[_0x52e2ef(0x2c9)][_0x52e2ef(0x625)](_0x29d299)),this[_0x52e2ef(0x3c3)]();}[_0x56d4b2(0x351)](_0x322eb7){const _0x677a04=_0x56d4b2;this[_0x677a04(0x60c)](),this[_0x677a04(0x309)](this[_0x677a04(0x2c9)][_0x677a04(0x34a)](_0x322eb7)),this['_unlockTransition']();}['_onRemoteRetry'](_0x197b2d){const _0x44da29=_0x56d4b2;this[_0x44da29(0x60c)](),this[_0x44da29(0x309)](this['_state'][_0x44da29(0x616)](_0x197b2d)),this['_unlockTransition']();}[_0x56d4b2(0x50e)](_0x238de5){const _0x2527d5=_0x56d4b2;if(!(this['_state']instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2382c8=_0x238de5[_0x2527d5(0x26d)](_0x4198a1=>{const _0x59754e=_0x2527d5,_0x4dd235=this['_compressMutationService'][_0x59754e(0x4d1)][_0x59754e(0x3c1)](this[_0x59754e(0x4ae)][_0x59754e(0x4d1)][_0x59754e(0x553)]()['COMPRESS_MUTATION_APPLY'])(_0x4198a1[_0x59754e(0x48c)],null)||_0x4198a1[_0x59754e(0x48c)];return{..._0x4198a1,'mutations':_0x4dd235};});this[_0x2527d5(0x60c)](),this[_0x2527d5(0x309)](this[_0x2527d5(0x2c9)][_0x2527d5(0x57e)](_0x2382c8)),this[_0x2527d5(0x3c3)]();}[_0x56d4b2(0x5a6)](){const _0xcad52d=_0x56d4b2;this[_0xcad52d(0x60c)](),this[_0xcad52d(0x309)](this[_0xcad52d(0x2c9)][_0xcad52d(0x668)]()),this[_0xcad52d(0x3c3)]();}['_toggleOnline'](_0x5dcc62=!0x1){const _0x16f2e2=_0x56d4b2;this[_0x16f2e2(0x60c)](),this[_0x16f2e2(0x309)](this[_0x16f2e2(0x2c9)][_0x16f2e2(0x2ba)]()),this['_unlockTransition']();const _0x4117bb=this[_0x16f2e2(0x2c9)];_0x5dcc62&&_0x4117bb instanceof Oe&&(this[_0x16f2e2(0x60c)](),this[_0x16f2e2(0x309)](_0x4117bb[_0x16f2e2(0x4ba)]()),this[_0x16f2e2(0x3c3)]());}async[_0x56d4b2(0x2f8)](){return new Promise(_0x153889=>{const _0x4d6603=_0xe699;this['session'][_0x4d6603(0x548)][_0x4d6603(0x348)](A[_0x4d6603(0x358)](0x1))[_0x4d6603(0x563)](async _0x2ce627=>{const _0x166766=_0x4d6603;_0x153889(await this['_createInitialStateImpl'](_0x2ce627===se[_0x166766(0x53b)]));});});}['_createHandler'](){const _0x5c241f=this['unitID'];return{'onStateChange':(_0x11042d,_0x391663)=>{const _0x48132f=_0xe699;if(_0x11042d!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x11042d['status']+_0x48132f(0x1de)+_0x391663[_0x48132f(0x496)]+'\x0aCurrent:\x20'+this[_0x48132f(0x2c9)]['status']);this[_0x48132f(0x309)](_0x391663);},'onSendChangeset':_0x37143f=>{const _0x43a580=_0xe699;_0x37143f[_0x43a580(0x678)]||(_0x37143f[_0x43a580(0x678)]=this[_0x43a580(0x452)],_0x37143f['reqId']=++this['_changesetReqId']);const _0x1059b7={'eventID':p['CollaborationEvent'][_0x43a580(0x257)],'data':{'unitID':_0x37143f[_0x43a580(0x5ed)],'unitType':this['_type'],'changeset':_0x37143f,'memberID':this[_0x43a580(0x330)][_0x43a580(0x222)]()}};this[_0x43a580(0x330)][_0x43a580(0x526)](_0x1059b7,this[_0x43a580(0x5ed)]);},'onMissingChangesets':({from:_0x4c0cc9,to:_0xb58480})=>{const _0x58ac94=_0xe699;this[_0x58ac94(0x529)]['debug'](_0x58ac94(0x4f2),_0x58ac94(0x3c2)+_0x4c0cc9+_0x58ac94(0x32c)+_0xb58480);const _0x51d9d3={'eventID':p[_0x58ac94(0x467)][_0x58ac94(0x4f1)],'data':{'unitID':_0x5c241f,'unitType':this[_0x58ac94(0x1f2)],'from':_0x4c0cc9,'to':_0xb58480}};this[_0x58ac94(0x330)][_0x58ac94(0x526)](_0x51d9d3,this[_0x58ac94(0x5ed)]);}};}async[_0x56d4b2(0x2a1)](_0x299aa3){const _0x1c9829=_0x56d4b2;var _0x229e20,_0x179933;const _0xba02f0=await this[_0x1c9829(0x56a)][_0x1c9829(0x3f6)](this[_0x1c9829(0x5ed)]),_0x79758a=(_0x229e20=_0xba02f0==null?void 0x0:_0xba02f0[_0x1c9829(0x48c)])!=null?_0x229e20:[],_0x43edd9=(_0x179933=_0xba02f0==null?void 0x0:_0xba02f0[_0x1c9829(0x556)])!=null?_0x179933:null,_0x113a82=!!(_0x43edd9!=null&&_0x43edd9[_0x1c9829(0x678)])&&!!(_0x43edd9!=null&&_0x43edd9[_0x1c9829(0x4b3)]);this[_0x1c9829(0x452)]=_0x113a82?_0x43edd9[_0x1c9829(0x678)]:mi(),this[_0x1c9829(0x55b)]=_0x113a82?_0x43edd9[_0x1c9829(0x4b3)]:0x0;const _0x233f04=this[_0x1c9829(0x5ed)];try{this[_0x1c9829(0x4a0)](_0x43edd9,_0x79758a);}catch(_0x4e80b8){this['_logService'][_0x1c9829(0x38d)](_0x4e80b8);}const _0x260e2c=this[_0x1c9829(0x370)]();if(_0x299aa3){const _0x3f71a1=mn(this[_0x1c9829(0x473)],_0x233f04,this[_0x1c9829(0x1f2)],_0x43edd9,_0x79758a,_0x260e2c);return _0x3f71a1 instanceof ce?_0x3f71a1[_0x1c9829(0x65b)]():(_0x3f71a1 instanceof le||_0x3f71a1 instanceof fe)&&_0x3f71a1[_0x1c9829(0x1ed)](),_0x3f71a1;}return this['_injector'][_0x1c9829(0x390)](Se,_0x233f04,this[_0x1c9829(0x1f2)],_0x43edd9,_0x79758a,_0x260e2c);}[_0x56d4b2(0x4a0)](_0x19f1f5,_0x2b6e5f){const _0x52d379=_0x56d4b2;var _0x15479c,_0xdfaac3;const _0x310f13=this[_0x52d379(0x4ae)][_0x52d379(0x4d1)][_0x52d379(0x3c1)](this['_compressMutationService'][_0x52d379(0x4d1)][_0x52d379(0x553)]()[_0x52d379(0x60e)]);(_0x15479c=_0x310f13((_0x19f1f5==null?void 0x0:_0x19f1f5[_0x52d379(0x48c)])||[],null))==null||_0x15479c[_0x52d379(0x3dc)](_0x299793=>this[_0x52d379(0x51b)][_0x52d379(0x29a)](_0x299793['id'],_0x299793[_0x52d379(0x225)])),(_0xdfaac3=_0x310f13(_0x2b6e5f||[],null))==null||_0xdfaac3[_0x52d379(0x3dc)](_0x560aa7=>this[_0x52d379(0x51b)]['executeCommand'](_0x560aa7['id'],_0x560aa7[_0x52d379(0x225)]));}},exports['CollaborationEntity']=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x270)]),H(0x9,a[_0x56d4b2(0x2b1)]),H(0xa,te[_0x56d4b2(0x1cf)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x56d4b2(0x317)](qe))],exports[_0x56d4b2(0x30f)]),exports[_0x56d4b2(0x43c)]=class extends exports['CollaborationEntity']{constructor(_0x579d52,_0x340e39,_0x30dbb6,_0x5b347f,_0xebbadb,_0x4bc873,_0x1c9e3c,_0x2b438a,_0x2fb8bf,_0x49dd04,_0xf2b600,_0x1b4e9b,_0x231d1d,_0x1fe5a6,_0x1cdd0a,_0x2a7619,_0x20f668,_0x52f47a){const _0x21204a=_0x56d4b2;super(_0x579d52,_0x30dbb6,_0x340e39,_0x5b347f,_0xebbadb,_0x4bc873,_0x1c9e3c,_0x2b438a,_0x1fe5a6,_0x1cdd0a,_0x2a7619,_0x20f668,_0x52f47a),this['unitID']=_0x579d52,this['type']=_0x340e39,this[_0x21204a(0x5e3)]=_0x2fb8bf,this[_0x21204a(0x387)]=_0x49dd04,this[_0x21204a(0x3b2)]=_0xf2b600,this[_0x21204a(0x485)]=_0x1b4e9b,this[_0x21204a(0x542)]=_0x231d1d;}[_0x56d4b2(0x370)](){const _0x39fc9e=_0x56d4b2,_0x37dce6=super[_0x39fc9e(0x370)]();return _0x37dce6[_0x39fc9e(0x306)]=_0x195b15=>this[_0x39fc9e(0x387)][_0x39fc9e(0x64e)](_0x195b15),_0x37dce6['onTransformState']=_0x20a063=>this[_0x39fc9e(0x3b2)][_0x39fc9e(0x22f)](_0x20a063),_0x37dce6[_0x39fc9e(0x676)]=_0x4c441f=>this[_0x39fc9e(0x485)][_0x39fc9e(0x57a)](_0x4c441f),_0x37dce6['onSyncEditingCollabCursor']=_0x4b7930=>this[_0x39fc9e(0x542)][_0x39fc9e(0x301)](_0x4b7930),_0x37dce6[_0x39fc9e(0x617)]=_0xfbf54=>this[_0x39fc9e(0x387)][_0x39fc9e(0x3a9)](_0xfbf54),_0x37dce6[_0x39fc9e(0x1d5)]=_0x3c61e2=>this[_0x39fc9e(0x3b2)][_0x39fc9e(0x3a9)](_0x3c61e2),_0x37dce6;}async[_0x56d4b2(0x507)](){const _0x4bb311=_0x56d4b2,_0x1d75ab=await super['_init']();return this[_0x4bb311(0x211)](this[_0x4bb311(0x5e3)]['docStateChange$'][_0x4bb311(0x348)](A['takeUntil'](this[_0x4bb311(0x5ba)]))['subscribe'](_0x51f4a5=>{const _0x245528=_0x4bb311;if(_0x51f4a5==null)return;const {unitId:_0x1e1924,redoState:_0x3e17a7,commandId:_0x57d6c5}=_0x51f4a5;if(_0x1e1924!==this['unitID'])return;const _0x2726fb={'id':_0x57d6c5,'type':a['CommandType'][_0x245528(0x21d)],'params':{'unitId':_0x1e1924,'actions':_0x3e17a7[_0x245528(0x24d)],'textRanges':null}};this[_0x245528(0x46b)](_0x2726fb);})),this[_0x4bb311(0x211)](this[_0x4bb311(0x51b)][_0x4bb311(0x5bb)]((_0x29c315,_0xfaa70b)=>{const _0xbc4e70=_0x4bb311;if(_0x29c315[_0xbc4e70(0x2fc)]!==a[_0xbc4e70(0x31b)]['MUTATION']||_0xfaa70b!=null&&_0xfaa70b[_0xbc4e70(0x2e3)]||_0xfaa70b!=null&&_0xfaa70b[_0xbc4e70(0x665)]||_0x29c315['id']===Ie[_0xbc4e70(0x37e)]['id'])return;const _0x79d88=_0x29c315[_0xbc4e70(0x225)];if((_0x79d88==null?void 0x0:_0x79d88[_0xbc4e70(0x2fe)])!==this[_0xbc4e70(0x5ed)])return;const _0x20f6df=_0x29c315,_0x1bf441=this[_0xbc4e70(0x4ae)]['interceptor'][_0xbc4e70(0x3c1)](this[_0xbc4e70(0x4ae)][_0xbc4e70(0x4d1)][_0xbc4e70(0x553)]()['COMPRESS_MUTATION_SEND'])([_0x20f6df],null)||[_0x20f6df];this[_0xbc4e70(0x46b)](_0x1bf441[0x0]);})),_0x1d75ab;}},exports[_0x56d4b2(0x43c)]=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a['Inject'](exports[_0x56d4b2(0x541)])),H(0x5,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x66e)])),H(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x226)](Q[_0x56d4b2(0x5a7)])),H(0x9,a['Inject'](ke)),H(0xa,a[_0x56d4b2(0x226)](We)),H(0xb,a['Inject'](Fe)),H(0xc,a[_0x56d4b2(0x226)](Rt)),H(0xd,a[_0x56d4b2(0x270)]),H(0xe,a[_0x56d4b2(0x2b1)]),H(0xf,te[_0x56d4b2(0x1cf)]),H(0x10,a[_0x56d4b2(0x47b)]),H(0x11,a[_0x56d4b2(0x317)](qe))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x3913f4,_0x2fc6bd,_0xbe42d7,_0x3e90ab,_0x39f242,_0x27a6b3,_0x3ba5e9,_0xfb4b6c,_0x30487c,_0x34bb19,_0x5c1ef2,_0x5c0f23,_0x107489,_0x476413){const _0x35adef=_0x56d4b2;super(_0x3913f4,_0xbe42d7,_0x2fc6bd,_0x3e90ab,_0x39f242,_0x27a6b3,_0x3ba5e9,_0xfb4b6c,_0x34bb19,_0x5c1ef2,_0x5c0f23,_0x107489,_0x476413),this[_0x35adef(0x5ed)]=_0x3913f4,this[_0x35adef(0x2fc)]=_0x2fc6bd,this[_0x35adef(0x22d)]=_0x30487c;}['_createHandler'](){const _0x3a80a4=_0x56d4b2,_0x42f5b2=super[_0x3a80a4(0x370)]();return _0x42f5b2[_0x3a80a4(0x676)]=_0x11aedd=>this['_sheetTransformSelectionsService'][_0x3a80a4(0x57a)](_0x11aedd),_0x42f5b2;}async[_0x56d4b2(0x507)](){const _0x950db=_0x56d4b2,_0x13492b=await super['_init']();return this[_0x950db(0x211)](this[_0x950db(0x51b)][_0x950db(0x5bb)]((_0xba9505,_0x50c8cb)=>{const _0x594b11=_0x950db;if(_0xba9505[_0x594b11(0x2fc)]!==a[_0x594b11(0x31b)]['MUTATION']||_0x50c8cb!=null&&_0x50c8cb[_0x594b11(0x2e3)]||_0x50c8cb!=null&&_0x50c8cb[_0x594b11(0x665)])return;const _0x200a3a=_0xba9505[_0x594b11(0x225)];if((_0x200a3a==null?void 0x0:_0x200a3a[_0x594b11(0x2fe)])!==this[_0x594b11(0x5ed)])return;const _0x43746e=_0xba9505,_0x5edd32=this[_0x594b11(0x4ae)][_0x594b11(0x4d1)][_0x594b11(0x3c1)](this['_compressMutationService'][_0x594b11(0x4d1)][_0x594b11(0x553)]()['COMPRESS_MUTATION_SEND'])([_0x43746e],null)||[_0x43746e];this[_0x594b11(0x46b)](_0x5edd32[0x0]);})),_0x13492b;}},exports['SheetCollaborationEntity']=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),H(0x5,a['Inject'](p[_0x56d4b2(0x66e)])),H(0x6,a[_0x56d4b2(0x226)](a['LocaleService'])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x226)](Be)),H(0x9,a['ILogService']),H(0xa,a[_0x56d4b2(0x2b1)]),H(0xb,te[_0x56d4b2(0x1cf)]),H(0xc,a[_0x56d4b2(0x47b)]),H(0xd,a['Optional'](qe))],exports[_0x56d4b2(0x475)]);var Vi=Object[_0x56d4b2(0x3a4)],Gi=Object[_0x56d4b2(0x47e)],Yi=(_0x32964b,_0x1bc31a,_0x25f18b,_0x27a4f8)=>{const _0x15e46c=_0x56d4b2;for(var _0x4895f8=_0x27a4f8>0x1?void 0x0:_0x27a4f8?Gi(_0x1bc31a,_0x25f18b):_0x1bc31a,_0x1b4121=_0x32964b[_0x15e46c(0x543)]-0x1,_0x24e840;_0x1b4121>=0x0;_0x1b4121--)(_0x24e840=_0x32964b[_0x1b4121])&&(_0x4895f8=(_0x27a4f8?_0x24e840(_0x1bc31a,_0x25f18b,_0x4895f8):_0x24e840(_0x4895f8))||_0x4895f8);return _0x27a4f8&&_0x4895f8&&Vi(_0x1bc31a,_0x25f18b,_0x4895f8),_0x4895f8;},tt=(_0x31cf44,_0x56bee1)=>(_0x46ce5a,_0x18cfba)=>_0x56bee1(_0x46ce5a,_0x18cfba,_0x31cf44);exports[_0x56d4b2(0x399)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x52198d,_0x324a48,_0x4b9ece){const _0x375392=_0x56d4b2;super(),I(this,_0x375392(0x45a),new Map()),I(this,_0x375392(0x52d),new A[(_0x375392(0x372))]()),(this[_0x375392(0x473)]=_0x52198d,this[_0x375392(0x60f)]=_0x324a48,this[_0x375392(0x2c6)]=_0x4b9ece,this[_0x375392(0x507)]());}['dispose'](){const _0x3f9913=_0x56d4b2;super['dispose'](),this[_0x3f9913(0x45a)][_0x3f9913(0x3dc)](_0x513213=>_0x513213[_0x3f9913(0x51e)]()),this[_0x3f9913(0x45a)][_0x3f9913(0x34c)]();}[_0x56d4b2(0x613)](_0x47d623){const _0x2d99ba=_0x56d4b2;var _0x4e3791;return(_0x4e3791=this[_0x2d99ba(0x45a)][_0x2d99ba(0x313)](_0x47d623))!=null?_0x4e3791:null;}[_0x56d4b2(0x438)](_0x297d21){const _0x4bfdb8=_0x56d4b2,_0x4947c3=this[_0x4bfdb8(0x613)](_0x297d21);return _0x4947c3?A['of'](_0x4947c3):this[_0x4bfdb8(0x52d)][_0x4bfdb8(0x348)](V[_0x4bfdb8(0x4cf)](_0x2daf5=>_0x2daf5[_0x4bfdb8(0x5ed)]===_0x297d21));}[_0x56d4b2(0x507)](){const _0x3535a5=_0x56d4b2;this[_0x3535a5(0x2c6)][_0x3535a5(0x57f)](a[_0x3535a5(0x5c7)][_0x3535a5(0x58e)])[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this[_0x3535a5(0x5ba)]),V[_0x3535a5(0x2dd)](0x10))[_0x3535a5(0x563)](async _0x32f537=>{const _0x44ed6b=_0x3535a5,_0xfc89f6=_0x32f537['getUnitId'](),_0xcb7e10=await this[_0x44ed6b(0x611)](_0xfc89f6,ie[_0x44ed6b(0x58e)]);this[_0x44ed6b(0x45a)][_0x44ed6b(0x24a)](_0xfc89f6,_0xcb7e10);}),this['_univerInstanceService'][_0x3535a5(0x57f)](a['UniverInstanceType'][_0x3535a5(0x487)])[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this['dispose$']),V[_0x3535a5(0x2dd)](0x10))['pipe'](V[_0x3535a5(0x4cf)](_0x4e0128=>!_0x4e0128['getUnitId']()['startsWith']('__')))['subscribe'](async _0x4c97c2=>{const _0xdbd0cc=_0x3535a5,_0xd65aa3=_0x4c97c2[_0xdbd0cc(0x25a)](),_0x5ed1d7=await this[_0xdbd0cc(0x611)](_0xd65aa3,ie[_0xdbd0cc(0x487)]);this[_0xdbd0cc(0x45a)][_0xdbd0cc(0x24a)](_0xd65aa3,_0x5ed1d7);}),A[_0x3535a5(0x593)](this[_0x3535a5(0x2c6)][_0x3535a5(0x489)](a['UniverInstanceType'][_0x3535a5(0x58e)]),this[_0x3535a5(0x2c6)][_0x3535a5(0x489)](a[_0x3535a5(0x5c7)][_0x3535a5(0x487)]))[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this['dispose$']))['subscribe'](_0x589b49=>{const _0x5c3965=_0x3535a5,_0x54d083=_0x589b49[_0x5c3965(0x25a)](),_0x856470=this[_0x5c3965(0x45a)][_0x5c3965(0x313)](_0x54d083);_0x856470&&(_0x856470[_0x5c3965(0x51e)](),this[_0x5c3965(0x45a)][_0x5c3965(0x30c)](_0x54d083));});}async[_0x56d4b2(0x611)](_0x347779,_0x115a3d){const _0x22d714=_0x56d4b2,_0x3a0a95=await this[_0x22d714(0x60f)]['requireSession'](_0x347779),_0x52e5b1=this[_0x22d714(0x473)][_0x22d714(0x390)](this[_0x22d714(0x3f8)](_0x115a3d),_0x347779,_0x115a3d,_0x3a0a95);return await _0x52e5b1[_0x22d714(0x65f)](),this['_entityInit$'][_0x22d714(0x336)](_0x52e5b1),_0x52e5b1;}[_0x56d4b2(0x3f8)](_0x265b0c){const _0x320177=_0x56d4b2;switch(_0x265b0c){case ie[_0x320177(0x487)]:return exports[_0x320177(0x43c)];case ie[_0x320177(0x58e)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x320177(0x549)+_0x265b0c);}}},exports[_0x56d4b2(0x399)]=Yi([tt(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),tt(0x1,a['Inject'](exports[_0x56d4b2(0x251)])),tt(0x2,a[_0x56d4b2(0x63e)])],exports[_0x56d4b2(0x399)]);const Ht=[_0x56d4b2(0x5fc),_0x56d4b2(0x308),_0x56d4b2(0x3fb),_0x56d4b2(0x5a1),_0x56d4b2(0x55a),'gold400'];class Ot extends a['Disposable']{constructor(){const _0x219de5=_0x56d4b2;super(...arguments),I(this,_0x219de5(0x1fe),new Map()),I(this,_0x219de5(0x595),0x0);}['assignAColorForMemberID'](_0x36db02){const _0x1e035f=_0x56d4b2;if(this[_0x1e035f(0x1fe)][_0x1e035f(0x341)](_0x36db02))return this[_0x1e035f(0x1fe)]['get'](_0x36db02);const _0x276ecd=Ht[this[_0x1e035f(0x595)]];return this[_0x1e035f(0x595)]=(this[_0x1e035f(0x595)]+0x1)%Ht['length'],this[_0x1e035f(0x1fe)][_0x1e035f(0x24a)](_0x36db02,_0x276ecd),_0x276ecd;}}var Ki=Object[_0x56d4b2(0x3a4)],qi=Object[_0x56d4b2(0x47e)],zi=(_0x598832,_0x391c1a,_0x51d0fd,_0x53e7ac)=>{for(var _0x4b3520=_0x53e7ac>0x1?void 0x0:_0x53e7ac?qi(_0x391c1a,_0x51d0fd):_0x391c1a,_0x1d1aa2=_0x598832['length']-0x1,_0x5d6bee;_0x1d1aa2>=0x0;_0x1d1aa2--)(_0x5d6bee=_0x598832[_0x1d1aa2])&&(_0x4b3520=(_0x53e7ac?_0x5d6bee(_0x391c1a,_0x51d0fd,_0x4b3520):_0x5d6bee(_0x4b3520))||_0x4b3520);return _0x53e7ac&&_0x4b3520&&Ki(_0x391c1a,_0x51d0fd,_0x4b3520),_0x4b3520;},me=(_0x2c1f28,_0x319db5)=>(_0x3862ce,_0x32e847)=>_0x319db5(_0x3862ce,_0x32e847,_0x2c1f28);const Xi=0x12c,Ji=0x64;let St=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x57fba6,_0x5e2326,_0x212e28,_0x204b14,_0x5aa366,_0x2360f7,_0x26d5d5,_0x25f6d6,_0x1753c3){const _0x94950=_0x56d4b2;super(),I(this,_0x94950(0x3ba),!0x1),I(this,_0x94950(0x507),!0x1),I(this,_0x94950(0x578),new A[(_0x94950(0x227))](new Map())),I(this,_0x94950(0x456),this[_0x94950(0x578)]['asObservable']()),I(this,_0x94950(0x214),new A[(_0x94950(0x227))]([])),I(this,_0x94950(0x684),this[_0x94950(0x214)][_0x94950(0x348)](A[_0x94950(0x281)](Xi))),I(this,_0x94950(0x1fa),a[_0x94950(0x530)](_0x2df23c=>{const _0x1a72d0=_0x94950,_0x44f2f5={'eventID':p[_0x1a72d0(0x467)][_0x1a72d0(0x54b)],'data':{'unitID':this[_0x1a72d0(0x5ed)],'memberID':this[_0x1a72d0(0x680)][_0x1a72d0(0x222)](),'selection':vn(_0x2df23c)}};this[_0x1a72d0(0x680)][_0x1a72d0(0x526)](_0x44f2f5,this[_0x1a72d0(0x5ed)]);},Ji)),(this[_0x94950(0x5ed)]=_0x57fba6,this[_0x94950(0x680)]=_0x5e2326,this[_0x94950(0x473)]=_0x212e28,this['_colorAssignService']=_0x204b14,this[_0x94950(0x23c)]=_0x5aa366,this[_0x94950(0x1d1)]=_0x2360f7,this[_0x94950(0x4c7)]=_0x26d5d5,this[_0x94950(0x2c6)]=_0x25f6d6,this[_0x94950(0x51b)]=_0x1753c3);}get[_0x56d4b2(0x2a7)](){const _0x4e7282=_0x56d4b2;return this[_0x4e7282(0x578)][_0x4e7282(0x246)]();}get[_0x56d4b2(0x666)](){const _0x122fb2=_0x56d4b2;return this['_roomMembers$'][_0x122fb2(0x246)]();}[_0x56d4b2(0x51e)](){const _0x53f094=_0x56d4b2;super[_0x53f094(0x51e)](),this[_0x53f094(0x578)][_0x53f094(0x336)](new Map()),this[_0x53f094(0x578)][_0x53f094(0x381)](),this[_0x53f094(0x214)]['next']([]),this[_0x53f094(0x214)][_0x53f094(0x381)]();}[_0x56d4b2(0x65f)](){const _0x59b74f=_0x56d4b2;this['_init']||(this[_0x59b74f(0x507)]=!0x0,this[_0x59b74f(0x680)][_0x59b74f(0x548)][_0x59b74f(0x348)](A['takeUntil'](this[_0x59b74f(0x5ba)]))[_0x59b74f(0x563)](_0x197e30=>{const _0x36a129=_0x59b74f;_0x197e30===se[_0x36a129(0x53b)]?this[_0x36a129(0x58f)]():this['_toggleOffline']();}),this[_0x59b74f(0x680)][_0x59b74f(0x418)][_0x59b74f(0x348)](A[_0x59b74f(0x5e8)](this[_0x59b74f(0x5ba)]))[_0x59b74f(0x563)](_0x5d1f7a=>{const _0x35242f=_0x59b74f,_0x5c490a=_0x5d1f7a[_0x35242f(0x1ff)];_0x5c490a===p[_0x35242f(0x467)][_0x35242f(0x54b)]&&this[_0x35242f(0x5b7)](_0x5d1f7a),_0x5c490a===p['CollaborationEvent'][_0x35242f(0x470)]&&this[_0x35242f(0x35a)](_0x5d1f7a);}),this[_0x59b74f(0x211)](this[_0x59b74f(0x51b)][_0x59b74f(0x5bb)](_0x337d83=>{const _0x20e950=_0x59b74f,_0x264294=_0x337d83['params'];_0x264294!=null&&this['_online']&&_0x337d83['id']===Ie[_0x20e950(0x492)]['id']&&_0x264294[_0x20e950(0x2fe)]===this['unitID']&&_0x264294[_0x20e950(0x425)]===!0x1&&_0x264294['ranges'][_0x20e950(0x543)]>0x0&&this[_0x20e950(0x1fa)](_0x264294[_0x20e950(0x2fa)]);})),this['_syncEditingCollabCursorService'][_0x59b74f(0x2e7)][_0x59b74f(0x348)](A[_0x59b74f(0x5e8)](this['dispose$']))['subscribe'](_0x3dd6a0=>{const _0x4aee01=_0x59b74f;if((_0x3dd6a0==null?void 0x0:_0x3dd6a0[_0x4aee01(0x5ed)])!==this['unitID'])return;const _0x2e9ee7={'eventID':p[_0x4aee01(0x467)]['UPDATE_CURSOR'],'data':_0x3dd6a0};this[_0x4aee01(0x5b7)](_0x2e9ee7);}),this[_0x59b74f(0x211)](this['_commandService'][_0x59b74f(0x5bb)](_0xe3856=>{const _0x2ef631=_0x59b74f;if(_0xe3856[_0x2ef631(0x225)]==null)return;const _0x19f25a=_0xe3856[_0x2ef631(0x225)];if(_0xe3856['id']!==Ie['RichTextEditingMutation']['id']||_0x19f25a[_0x2ef631(0x2fe)]!==this[_0x2ef631(0x5ed)])return;const _0x11b3f0={'id':_0x2ef631(0x457),'params':_0x19f25a},_0x3e56be=this[_0x2ef631(0x2a7)];for(const [_0x217091,_0x59a374]of _0x3e56be){const _0x4ef7e5={'id':_0x2ef631(0x457),'params':{'unitId':this[_0x2ef631(0x5ed)],'actions':null,'textRanges':_0x59a374[_0x2ef631(0x2fa)]}},_0x1ed80a=this[_0x2ef631(0x4c7)][_0x2ef631(0x4b6)](_0x11b3f0,_0x4ef7e5,!0x1);if(p[_0x2ef631(0x4bf)](_0x1ed80a))throw _0x1ed80a[_0x2ef631(0x38d)];_0x3e56be['set'](_0x217091,{..._0x59a374,'ranges':_0x1ed80a[_0x2ef631(0x417)]['params']['textRanges']});}queueMicrotask(()=>{const _0x56c62c=_0x2ef631;this[_0x56c62c(0x578)]['next'](_0x3e56be);});})));}[_0x56d4b2(0x5b7)](_0x5b2dd2){const _0x9405e4=_0x56d4b2;var _0x669d62,_0x1aa286;const {memberID:_0x4d3bb4,selection:_0x41ec24}=_0x5b2dd2[_0x9405e4(0x569)],_0x27938d=Ai(_0x41ec24),_0x94ccd9=(_0x1aa286=(_0x669d62=this['_memberService'][_0x9405e4(0x511)](this['unitID'],_0x4d3bb4))==null?void 0x0:_0x669d62[_0x9405e4(0x4e6)])!=null?_0x1aa286:'Unknown\x20user',_0x197d6d={'color':this[_0x9405e4(0x5b3)][_0x9405e4(0x1f7)](_0x4d3bb4),'name':_0x94ccd9,'ranges':_0x27938d},_0x2dc471=this[_0x9405e4(0x2a7)];_0x2dc471['set'](_0x4d3bb4,_0x197d6d),this[_0x9405e4(0x578)]['next'](_0x2dc471);}[_0x56d4b2(0x35a)](_0x3d346a){const _0x203714=_0x56d4b2,{memberID:_0x51ef3e}=_0x3d346a['data'],_0x20d2f2=this['cursorInfo'];_0x20d2f2[_0x203714(0x30c)](_0x51ef3e),this[_0x203714(0x578)][_0x203714(0x336)](_0x20d2f2);}[_0x56d4b2(0x58f)](){const _0x443d47=_0x56d4b2;var _0x134615;if(this[_0x443d47(0x3ba)]=!0x0,((_0x134615=this[_0x443d47(0x2c6)][_0x443d47(0x20c)]())==null?void 0x0:_0x134615[_0x443d47(0x25a)]())!==this['unitID'])return;const _0x4b28e8=this[_0x443d47(0x473)][_0x443d47(0x313)](Ie[_0x443d47(0x41a)])['getDocRanges']();Array['isArray'](_0x4b28e8)&&_0x4b28e8[_0x443d47(0x543)]>0x0&&this[_0x443d47(0x1fa)](_0x4b28e8);}[_0x56d4b2(0x5a6)](){const _0x2d99f2=_0x56d4b2;this[_0x2d99f2(0x3ba)]=!0x1;}};St=zi([me(0x2,a['Inject'](a['Injector'])),me(0x3,a[_0x56d4b2(0x226)](Ot)),me(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x2cc)])),me(0x5,a[_0x56d4b2(0x226)](Rt)),me(0x6,p[_0x56d4b2(0x25d)]),me(0x7,a[_0x56d4b2(0x63e)]),me(0x8,a[_0x56d4b2(0x2b1)])],St);var Zi=Object[_0x56d4b2(0x3a4)],Qi=Object[_0x56d4b2(0x47e)],es=(_0x357752,_0x395e25,_0x4fd6f7,_0x578e2e)=>{const _0x37eae5=_0x56d4b2;for(var _0x53cba9=_0x578e2e>0x1?void 0x0:_0x578e2e?Qi(_0x395e25,_0x4fd6f7):_0x395e25,_0x41a78b=_0x357752[_0x37eae5(0x543)]-0x1,_0x5ea4ea;_0x41a78b>=0x0;_0x41a78b--)(_0x5ea4ea=_0x357752[_0x41a78b])&&(_0x53cba9=(_0x578e2e?_0x5ea4ea(_0x395e25,_0x4fd6f7,_0x53cba9):_0x5ea4ea(_0x53cba9))||_0x53cba9);return _0x578e2e&&_0x53cba9&&Zi(_0x395e25,_0x4fd6f7,_0x53cba9),_0x53cba9;},Te=(_0x36e714,_0x44f837)=>(_0x5a4a28,_0x45bea8)=>_0x44f837(_0x5a4a28,_0x45bea8,_0x36e714);const ts=0x12c,ns=0x64,is=()=>{let _0x4c53b1=[],_0x3954b1=!0x1;return _0x3364b7=>{_0x4c53b1['push'](_0x3364b7),_0x3954b1||(_0x3954b1=!0x0,setTimeout(()=>{const _0x4f2616=_0xe699;_0x4c53b1[_0x4f2616(0x3dc)](_0x3d63c8=>_0x3d63c8()),_0x4c53b1=[],_0x3954b1=!0x1;}));};};let pt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x44a150,_0x259cd7,_0xebe719,_0xdb8103,_0x5cb093,_0x2c1254,_0x2bcad4,_0x31f96a){const _0x171800=_0x56d4b2;super(),I(this,_0x171800(0x3ba),!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new A['BehaviorSubject'](new Map())),I(this,_0x171800(0x456),this[_0x171800(0x578)][_0x171800(0x59e)]()),I(this,_0x171800(0x214),new A[(_0x171800(0x227))]([])),I(this,'roomMembers$',this[_0x171800(0x214)][_0x171800(0x348)](A['debounceTime'](ts))),I(this,_0x171800(0x1fa),a['debounce']((_0x6cc9f4,_0x3fecf1)=>{const _0x4c1504=_0x171800,_0x216b1d={'eventID':p[_0x4c1504(0x467)][_0x4c1504(0x54b)],'data':{'unitID':this[_0x4c1504(0x5ed)],'memberID':this[_0x4c1504(0x680)][_0x4c1504(0x222)](),'selection':Ut[_0x4c1504(0x3a6)](_0x6cc9f4,_0x3fecf1[_0x4c1504(0x51c)])}};this[_0x4c1504(0x680)]['send'](_0x216b1d,this[_0x4c1504(0x5ed)]);},ns)),(this['unitID']=_0x44a150,this[_0x171800(0x680)]=_0x259cd7,this['_injector']=_0xebe719,this[_0x171800(0x5b3)]=_0xdb8103,this[_0x171800(0x23c)]=_0x5cb093,this['_univerInstanceService']=_0x2c1254,this[_0x171800(0x51b)]=_0x2bcad4,this['_refRangeService']=_0x31f96a);}get[_0x56d4b2(0x2a7)](){const _0x4d97ad=_0x56d4b2;return this[_0x4d97ad(0x578)][_0x4d97ad(0x246)]();}get[_0x56d4b2(0x666)](){const _0x5193f2=_0x56d4b2;return this['_roomMembers$'][_0x5193f2(0x246)]();}[_0x56d4b2(0x51e)](){const _0x44cdbb=_0x56d4b2;super['dispose'](),this[_0x44cdbb(0x578)]['next'](new Map()),this[_0x44cdbb(0x578)]['complete'](),this[_0x44cdbb(0x214)]['next']([]),this[_0x44cdbb(0x214)][_0x44cdbb(0x381)]();}[_0x56d4b2(0x65f)](){const _0x50e640=_0x56d4b2;this[_0x50e640(0x507)]||(this[_0x50e640(0x507)]=!0x0,this[_0x50e640(0x680)][_0x50e640(0x548)][_0x50e640(0x348)](A[_0x50e640(0x5e8)](this[_0x50e640(0x5ba)]))[_0x50e640(0x563)](_0x259f63=>{const _0x1311c1=_0x50e640;_0x259f63===se[_0x1311c1(0x53b)]?this[_0x1311c1(0x58f)]():this[_0x1311c1(0x5a6)]();}),this[_0x50e640(0x680)][_0x50e640(0x418)][_0x50e640(0x348)](A['takeUntil'](this[_0x50e640(0x5ba)]))['subscribe'](_0x46200c=>{const _0x43e6a5=_0x50e640,_0x32591b=_0x46200c[_0x43e6a5(0x1ff)];_0x32591b===p[_0x43e6a5(0x467)][_0x43e6a5(0x54b)]&&this['_onCursorUpdate'](_0x46200c),_0x32591b===p['CollaborationEvent'][_0x43e6a5(0x470)]&&this[_0x43e6a5(0x35a)](_0x46200c);}),this['_onRefRangeChange'](),this[_0x50e640(0x211)](this[_0x50e640(0x51b)][_0x50e640(0x5bb)](_0xd0c5a8=>{const _0x20eb06=_0x50e640;if(this[_0x20eb06(0x3ba)]&&_0xd0c5a8['id']===B['SetSelectionsOperation']['id']&&_0xd0c5a8[_0x20eb06(0x225)][_0x20eb06(0x2fe)]===this[_0x20eb06(0x5ed)]){const _0x131db2=_0xd0c5a8['params'];this[_0x20eb06(0x1fa)](_0x131db2['subUnitId'],_0x131db2[_0x20eb06(0x36c)][0x0]);}})));}[_0x56d4b2(0x5b7)](_0xeaebc4){const _0x250379=_0x56d4b2;var _0x516ed0,_0x435323;const {memberID:_0x528d12,selection:_0x10f087}=_0xeaebc4[_0x250379(0x569)],{sheetName:_0x5be9be,range:_0x144a98}=Ut[_0x250379(0x5c3)](_0x10f087),_0x489164={'name':(_0x435323=(_0x516ed0=this[_0x250379(0x23c)][_0x250379(0x511)](this['unitID'],_0x528d12))==null?void 0x0:_0x516ed0[_0x250379(0x4e6)])!=null?_0x435323:_0x250379(0x2bb),'range':this['_getMergeRange'](_0x5be9be,_0x144a98),'sheetID':_0x5be9be,'color':this['_colorAssignService'][_0x250379(0x1f7)](_0x528d12),'selection':_0x10f087},_0x2def05=this[_0x250379(0x2a7)];_0x2def05['set'](_0x528d12,_0x489164),this['_cursorInfo$'][_0x250379(0x336)](_0x2def05);}[_0x56d4b2(0x35a)](_0xef8ac){const _0x489e91=_0x56d4b2,{memberID:_0x5a720a}=_0xef8ac[_0x489e91(0x569)],_0x544d37=this[_0x489e91(0x2a7)];_0x544d37[_0x489e91(0x30c)](_0x5a720a),this['_cursorInfo$'][_0x489e91(0x336)](_0x544d37);}[_0x56d4b2(0x574)](_0x45d864,_0x5c939a){const _0x538ccc=_0x56d4b2;var _0x459218,_0x23eaf3;const _0x483843=(_0x23eaf3=(_0x459218=this[_0x538ccc(0x2c6)]['getUniverSheetInstance'](this[_0x538ccc(0x5ed)]))==null?void 0x0:_0x459218[_0x538ccc(0x23a)](_0x45d864))==null?void 0x0:_0x23eaf3[_0x538ccc(0x234)]();return(_0x483843==null?void 0x0:_0x483843[_0x538ccc(0x2ad)](_0x2e17cb=>a[_0x538ccc(0x24e)]['contains'](_0x2e17cb,_0x5c939a)))||_0x5c939a;}['_onRefRangeChange'](){const _0x4d1a6c=_0x56d4b2,_0x482f7f=new a[(_0x4d1a6c(0x20d))](),_0x348f1b=is(),_0x410ad1=()=>{const _0x306482=_0x4d1a6c;_0x482f7f[_0x306482(0x51e)]();const _0x1c3c5a=(_0x48824e,_0x429341,_0x331ed4,_0x16230b)=>{const _0x28e01b=_0x306482;let _0x1b60a1=[];switch(_0x48824e['id']){case B['EffectRefRangId'][_0x28e01b(0x25c)]:{_0x1b60a1=B['handleDeleteRangeMoveLeft'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['DeleteRangeMoveUpCommandId']:{_0x1b60a1=B[_0x28e01b(0x4c1)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x1d7)]:{_0x1b60a1=B[_0x28e01b(0x5dd)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x2e1)]:{_0x1b60a1=B['handleInsertRangeMoveDown'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['InsertRangeMoveRightCommandId']:{_0x1b60a1=B['handleInsertRangeMoveRight'](_0x48824e,_0x16230b);break;}case B['EffectRefRangId'][_0x28e01b(0x5b6)]:{_0x1b60a1=B['handleInsertRow'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x2f7)]:{_0x1b60a1=B[_0x28e01b(0x621)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x641)]:{_0x1b60a1=B['handleIRemoveCol'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['RemoveRowCommandId']:{_0x1b60a1=B[_0x28e01b(0x4df)](_0x48824e,_0x16230b);break;}}const _0x2ed5e2=B['runRefRangeMutations'](_0x1b60a1,_0x16230b),_0x42f335=this[_0x28e01b(0x2a7)][_0x28e01b(0x313)](_0x429341);if(_0x42f335&&_0x2ed5e2){const _0x38fd70={..._0x42f335,'range':_0x2ed5e2};this[_0x28e01b(0x2a7)][_0x28e01b(0x24a)](_0x429341,_0x38fd70),_0x348f1b(()=>{const _0x4cde9e=_0x28e01b,_0x3ba5d6=this[_0x4cde9e(0x27c)][_0x4cde9e(0x40f)](_0x2ed5e2,_0x352d61=>(_0x3ba5d6[_0x4cde9e(0x51e)](),_0x1c3c5a(_0x352d61,_0x429341,_0x331ed4,_0x2ed5e2)));_0x482f7f[_0x4cde9e(0x247)](_0x3ba5d6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x306482(0x3dc)]((_0x42a948,_0x1fd916)=>{const _0x45615e=_0x306482,{range:_0xf95703,sheetID:_0xb1424e}=_0x42a948,_0xbad2af=this[_0x45615e(0x27c)][_0x45615e(0x40f)](_0xf95703,_0x37fd5c=>(_0xbad2af[_0x45615e(0x51e)](),_0x1c3c5a(_0x37fd5c,_0x1fd916,_0xb1424e,_0xf95703)));_0x482f7f[_0x45615e(0x247)](_0xbad2af);});};this['disposeWithMe'](a[_0x4d1a6c(0x2a5)](this[_0x4d1a6c(0x578)][_0x4d1a6c(0x563)](()=>{_0x410ad1();})));}[_0x56d4b2(0x58f)](){const _0x44cf21=_0x56d4b2;var _0x1897d4,_0x1cb01a;if(this[_0x44cf21(0x3ba)]=!0x0,((_0x1897d4=this[_0x44cf21(0x2c6)][_0x44cf21(0x20c)]())==null?void 0x0:_0x1897d4[_0x44cf21(0x25a)]())!==this[_0x44cf21(0x5ed)])return;const _0x328a91=(_0x1cb01a=this['_injector'][_0x44cf21(0x313)](B[_0x44cf21(0x648)])[_0x44cf21(0x602)]())==null?void 0x0:_0x1cb01a[0x0],_0x5bacee=this[_0x44cf21(0x2c6)][_0x44cf21(0x2db)](a['UniverInstanceType'][_0x44cf21(0x58e)])['getActiveSheet']();_0x328a91&&_0x5bacee&&this['_updateLocalCursor'](_0x5bacee[_0x44cf21(0x581)](),_0x328a91);}[_0x56d4b2(0x5a6)](){const _0xcbbae3=_0x56d4b2;this[_0xcbbae3(0x3ba)]=!0x1;}};pt=es([Te(0x2,a['Inject'](a[_0x56d4b2(0x1e7)])),Te(0x3,a['Inject'](Ot)),Te(0x4,a['Inject'](exports[_0x56d4b2(0x2cc)])),Te(0x5,a[_0x56d4b2(0x63e)]),Te(0x6,a[_0x56d4b2(0x2b1)]),Te(0x7,a['Inject'](B[_0x56d4b2(0x3ef)]))],pt);var ss=Object[_0x56d4b2(0x3a4)],rs=Object['getOwnPropertyDescriptor'],os=(_0x930263,_0x50acd4,_0x442403,_0x364779)=>{const _0x534d77=_0x56d4b2;for(var _0x637073=_0x364779>0x1?void 0x0:_0x364779?rs(_0x50acd4,_0x442403):_0x50acd4,_0x5931b0=_0x930263[_0x534d77(0x543)]-0x1,_0x325e6c;_0x5931b0>=0x0;_0x5931b0--)(_0x325e6c=_0x930263[_0x5931b0])&&(_0x637073=(_0x364779?_0x325e6c(_0x50acd4,_0x442403,_0x637073):_0x325e6c(_0x637073))||_0x637073);return _0x364779&&_0x637073&&ss(_0x50acd4,_0x442403,_0x637073),_0x637073;},nt=(_0x21677f,_0x429c24)=>(_0x4df5c6,_0x4aa189)=>_0x429c24(_0x4df5c6,_0x4aa189,_0x21677f);let De=class extends a[_0x56d4b2(0x5c6)]{constructor(_0xbb5c84,_0x388ea,_0x1aef69){const _0xabb1d7=_0x56d4b2;super(),I(this,_0xabb1d7(0x45a),new Map()),I(this,_0xabb1d7(0x52d),new A['Subject']()),(this[_0xabb1d7(0x2c6)]=_0xbb5c84,this[_0xabb1d7(0x473)]=_0x388ea,this[_0xabb1d7(0x60f)]=_0x1aef69,this[_0xabb1d7(0x507)]());}[_0x56d4b2(0x51e)](){const _0x4e8f82=_0x56d4b2;super['dispose'](),this['_entityInit$'][_0x4e8f82(0x381)](),this[_0x4e8f82(0x45a)][_0x4e8f82(0x3dc)](_0x17f67c=>_0x17f67c['dispose']());}['getCollabCursors$'](_0x12d4b6){const _0x1570a5=_0x56d4b2;return this[_0x1570a5(0x45a)][_0x1570a5(0x341)](_0x12d4b6)?this['_entities'][_0x1570a5(0x313)](_0x12d4b6)[_0x1570a5(0x456)]:this[_0x1570a5(0x52d)][_0x1570a5(0x348)](A['filter'](_0x384310=>_0x384310['unitID']===_0x12d4b6),A[_0x1570a5(0x52f)](_0x38d3f0=>_0x38d3f0['cursorInfo$']));}['_init'](){const _0x14d634=_0x56d4b2;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x14d634(0x5c7)][_0x14d634(0x58e)])[_0x14d634(0x348)](A['takeUntil'](this[_0x14d634(0x5ba)]))[_0x14d634(0x563)](async _0x14dd1e=>{const _0x41c0d8=_0x14d634,_0x59e2d9=_0x14dd1e[_0x41c0d8(0x25a)](),_0x433fa7=await this['_startSheetCollabCursor'](_0x59e2d9);this['_entityInit$'][_0x41c0d8(0x336)](_0x433fa7),this[_0x41c0d8(0x45a)][_0x41c0d8(0x24a)](_0x59e2d9,_0x433fa7);}),this[_0x14d634(0x2c6)][_0x14d634(0x57f)](a[_0x14d634(0x5c7)]['UNIVER_DOC'])[_0x14d634(0x348)](A[_0x14d634(0x5e8)](this[_0x14d634(0x5ba)]))[_0x14d634(0x348)](A['filter'](_0x2bd0fd=>!_0x2bd0fd[_0x14d634(0x25a)]()[_0x14d634(0x2aa)]('__')))[_0x14d634(0x563)](async _0x4a41d6=>{const _0x121319=_0x14d634,_0x5e429b=_0x4a41d6['getUnitId'](),_0x9f81a8=await this[_0x121319(0x280)](_0x5e429b);this[_0x121319(0x52d)][_0x121319(0x336)](_0x9f81a8),this[_0x121319(0x45a)]['set'](_0x5e429b,_0x9f81a8);}),A['merge'](this['_univerInstanceService'][_0x14d634(0x489)](a['UniverInstanceType']['UNIVER_DOC']),this[_0x14d634(0x2c6)]['getTypeOfUnitDisposed$'](a[_0x14d634(0x5c7)][_0x14d634(0x58e)]))['pipe'](A[_0x14d634(0x5e8)](this[_0x14d634(0x5ba)]))[_0x14d634(0x563)](_0x3b3ca8=>{const _0x4edc79=_0x14d634,_0x4feb55=_0x3b3ca8[_0x4edc79(0x25a)](),_0x817a58=this[_0x4edc79(0x45a)][_0x4edc79(0x313)](_0x4feb55);_0x817a58&&(_0x817a58[_0x4edc79(0x51e)](),this[_0x4edc79(0x45a)][_0x4edc79(0x30c)](_0x4feb55));});}async[_0x56d4b2(0x318)](_0x17c19f){const _0x5a76e2=_0x56d4b2,_0xdbd00c=await this[_0x5a76e2(0x60f)]['requireSession'](_0x17c19f),_0x131253=this[_0x5a76e2(0x473)][_0x5a76e2(0x390)](pt,_0x17c19f,_0xdbd00c);return _0x131253[_0x5a76e2(0x65f)](),_0x131253;}async['_startDocCollabCursor'](_0x95c85d){const _0x3674d8=_0x56d4b2,_0x3838e4=await this['_collabSessionService'][_0x3674d8(0x527)](_0x95c85d),_0x5c9d6e=this[_0x3674d8(0x473)]['createInstance'](St,_0x95c85d,_0x3838e4);return _0x5c9d6e['init'](),_0x5c9d6e;}};De=os([nt(0x0,a[_0x56d4b2(0x63e)]),nt(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),nt(0x2,a[_0x56d4b2(0x226)](exports['CollaborationSessionService']))],De);const Le=0x14,kt=0xc8,it=0x4,as=0x5;function cs(_0x59a8cb,_0x18e118){const _0x169d3d=_0x56d4b2;let {radius:_0x5e54f8,width:_0x4fc852,height:_0x4017ef}=_0x18e118;_0x5e54f8=_0x5e54f8!=null?_0x5e54f8:0x0,_0x4fc852=_0x4fc852!=null?_0x4fc852:0x1e,_0x4017ef=_0x4017ef!=null?_0x4017ef:0x1e;let _0x4da08a=0x0,_0x1f371d=0x0,_0x39d2fb=0x0;_0x4da08a=_0x1f371d=_0x39d2fb=Math[_0x169d3d(0x3cc)](_0x5e54f8,_0x4fc852/0x2,_0x4017ef/0x2),_0x59a8cb['beginPath'](),_0x59a8cb[_0x169d3d(0x392)](_0x4da08a,0x0),_0x59a8cb[_0x169d3d(0x3f4)](_0x4fc852-_0x1f371d,0x0),_0x59a8cb['arc'](_0x4fc852-_0x1f371d,_0x1f371d,_0x1f371d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59a8cb[_0x169d3d(0x3f4)](_0x4fc852,_0x4017ef-_0x39d2fb),_0x59a8cb['arc'](_0x4fc852-_0x39d2fb,_0x4017ef-_0x39d2fb,_0x39d2fb,0x0,Math['PI']/0x2,!0x1),_0x59a8cb[_0x169d3d(0x3f4)](0x0,_0x4017ef),_0x59a8cb['lineTo'](0x0,_0x4da08a),_0x59a8cb[_0x169d3d(0x43f)](_0x4da08a,_0x4da08a,_0x4da08a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59a8cb[_0x169d3d(0x362)](),_0x18e118['fill']&&(_0x59a8cb[_0x169d3d(0x207)](),_0x59a8cb[_0x169d3d(0x2c0)]=_0x18e118['fill'],_0x18e118[_0x169d3d(0x491)]==='evenodd'?_0x59a8cb['fill'](_0x169d3d(0x333)):_0x59a8cb[_0x169d3d(0x2de)](),_0x59a8cb[_0x169d3d(0x4a7)]());}class ze extends K[_0x56d4b2(0x210)]{constructor(_0x4d80dc,_0x27e955){const _0x4846b5=_0x56d4b2;super(_0x4d80dc,_0x27e955),I(this,_0x4846b5(0x476)),I(this,_0x4846b5(0x256)),(this[_0x4846b5(0x476)]=_0x27e955==null?void 0x0:_0x27e955[_0x4846b5(0x476)],this['text']=_0x27e955==null?void 0x0:_0x27e955[_0x4846b5(0x256)]);}static[_0x56d4b2(0x3bf)](_0x15c2d4,_0x35aa5c){const _0x192e67=_0x56d4b2,{text:_0x36f041,color:_0x180b52}=_0x35aa5c;_0x15c2d4[_0x192e67(0x207)](),_0x15c2d4[_0x192e67(0x3e1)]=_0x192e67(0x2f0);const _0x1d1851=_0x15c2d4[_0x192e67(0x54d)](_0x36f041)['width'],_0x1cb054=Math[_0x192e67(0x3cc)](_0x1d1851+0x2*it,kt);cs(_0x15c2d4,{'height':Le,'radius':0x4,'width':_0x1cb054,'fill':_0x180b52,'evented':!0x1}),_0x15c2d4[_0x192e67(0x2c0)]=_0x192e67(0x2e6);const _0x131169=it,_0x4efd53=Le-as,_0xe4dd0b=kt-0x2*it;if(_0x1d1851>_0xe4dd0b){let _0xc9fb95='',_0x41d0f4=0x0;for(const _0x334908 of _0x36f041){const _0x4c2feb=_0x15c2d4[_0x192e67(0x54d)](_0x334908)[_0x192e67(0x331)];if(_0x41d0f4+_0x4c2feb<=_0xe4dd0b-_0x15c2d4[_0x192e67(0x54d)](_0x192e67(0x5f7))['width'])_0xc9fb95+=_0x334908,_0x41d0f4+=_0x4c2feb;else{_0xc9fb95+='...';break;}}_0x15c2d4[_0x192e67(0x4b8)](_0xc9fb95,_0x131169,_0x4efd53);}else _0x15c2d4['fillText'](_0x36f041,_0x131169,_0x4efd53);_0x15c2d4[_0x192e67(0x4a7)]();}[_0x56d4b2(0x20f)](_0x2f98fe){ze['drawWith'](_0x2f98fe,this);}}const st=_0x56d4b2(0x4dd),ls=_0x56d4b2(0x439),hs=_0x56d4b2(0x276),Ue=0x6,_s=1.5,rt=0x4,us=1.5,ds=_0x56d4b2(0x603);class Bt{constructor(_0x397811,_0x53abce,_0x38deb4,_0x2e9a30){const _0x51ae54=_0x56d4b2;I(this,'_shapes',[]),I(this,_0x51ae54(0x5c1),null),I(this,_0x51ae54(0x25f),null),I(this,_0x51ae54(0x57d),null),I(this,'_hideTimer',null),I(this,_0x51ae54(0x237),null),(this['_cursor']=_0x397811,this[_0x51ae54(0x5de)]=_0x53abce,this[_0x51ae54(0x239)]=_0x38deb4,this[_0x51ae54(0x5b1)]=_0x2e9a30,this['_render']());}set[_0x56d4b2(0x59c)](_0x556632){const _0x7f1f8c=_0x56d4b2;_0x556632?(this[_0x7f1f8c(0x57d)]&&this['_anchorDot'][_0x7f1f8c(0x241)](),this[_0x7f1f8c(0x25f)]&&this[_0x7f1f8c(0x25f)]['show']()):(this[_0x7f1f8c(0x57d)]&&this[_0x7f1f8c(0x57d)][_0x7f1f8c(0x2a0)](),this[_0x7f1f8c(0x25f)]&&this['_textBubble'][_0x7f1f8c(0x241)]());}['dispose'](){const _0x16ec41=_0x56d4b2;for(const _0x5c191b of this['_shapes'])_0x5c191b['dispose']();this['_textBubble']&&this[_0x16ec41(0x25f)]['dispose'](),this[_0x16ec41(0x57d)]&&this[_0x16ec41(0x57d)][_0x16ec41(0x51e)](),this[_0x16ec41(0x5c1)]&&this[_0x16ec41(0x5c1)][_0x16ec41(0x51e)](),this[_0x16ec41(0x237)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4ec701=_0x56d4b2;var _0x13bd14;const {_docSkeleton:_0x353c85,_document:_0x30f67f}=this,{color:_0x383eda,name:_0x52c4d3,ranges:_0x42f085}=this[_0x4ec701(0x2d9)],_0x3762e=_0x30f67f[_0x4ec701(0x588)](),{docsLeft:_0x499616,docsTop:_0x14abb4}=_0x3762e,_0x4c92f8=new Q[(_0x4ec701(0x220))](_0x3762e,_0x353c85);for(const {startOffset:_0x3d3519,endOffset:_0x59ca42,rangeType:_0x2f1c0e,segmentId:_0x39d83e,segmentPage:_0x4a3375,collapsed:_0x37f054,isActive:_0x451916}of _0x42f085){const _0x42e19d=_0x353c85['findNodePositionByCharIndex'](_0x3d3519,!0x0,_0x39d83e,_0x4a3375);let _0x27ed83=_0x353c85[_0x4ec701(0x2e2)](_0x59ca42,!0x0,_0x39d83e,_0x4a3375);if(_0x27ed83==null&&(_0x27ed83=_0x353c85[_0x4ec701(0x2e2)](_0x59ca42-0x1,!0x1,_0x39d83e,_0x4a3375)),_0x451916){const {contentBoxPointGroup:_0x28961f}=_0x4c92f8[_0x4ec701(0x328)](_0x27ed83,_0x27ed83);if(_0x28961f['length']===0x0)continue;this[_0x4ec701(0x654)](_0x383eda,_0x28961f,_0x499616,_0x14abb4,_0x52c4d3),this[_0x4ec701(0x237)]=this['_handleHover']();}if(_0x42e19d&&_0x27ed83){if(_0x2f1c0e===a[_0x4ec701(0x52c)]['RECT']){const _0x26eebf=new Q['NodePositionConvertToRectRange'](_0x3762e,_0x353c85),{pointGroup:_0x5f33e6}=(_0x13bd14=_0x26eebf['getRangePointData'](_0x42e19d,_0x27ed83))!=null?_0x13bd14:{};if(_0x5f33e6==null||_0x5f33e6['length']===0x0)continue;this[_0x4ec701(0x360)](_0x383eda,_0x5f33e6,_0x499616,_0x14abb4);}else{if(!_0x37f054){const {borderBoxPointGroup:_0x1a069c}=_0x4c92f8[_0x4ec701(0x328)](_0x42e19d,_0x27ed83);if(_0x1a069c[_0x4ec701(0x543)]===0x0)continue;this[_0x4ec701(0x5b8)](_0x383eda,_0x1a069c,_0x499616,_0x14abb4);}}}}}[_0x56d4b2(0x654)](_0x3eba04,_0xe4de30,_0x43751f,_0x25b9f5,_0x2f0183){const _0x2a3401=_0x56d4b2,_0x4f6f09=this[_0x2a3401(0x488)](_0xe4de30),{left:_0x2ff47f,top:_0x522e53,height:_0x44bc2b}=_0x4f6f09,_0x535024=this[_0x2a3401(0x619)](),_0x2e8009=us/_0x535024,_0x30507d=new K[(_0x2a3401(0x606))](st+a['Tools'][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5,'height':_0x44bc2b,'width':_s,'fill':_0x3eba04||K[_0x2a3401(0x426)](a[_0x2a3401(0x627)][_0x2a3401(0x686)],0x0),'strokeWidth':_0x2e8009,'stroke':ds,'evented':!0x0});this[_0x2a3401(0x5c1)]=_0x30507d,this[_0x2a3401(0x5de)][_0x2a3401(0x586)](_0x30507d,Q[_0x2a3401(0x26f)]);const _0x279db5=new K[(_0x2a3401(0x606))](st+a[_0x2a3401(0x4a6)][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5-rt/0x2,'height':rt,'width':rt,'fill':_0x3eba04||K[_0x2a3401(0x426)](a[_0x2a3401(0x627)][_0x2a3401(0x686)],0x0),'strokeWidth':0x0,'stroke':_0x3eba04||K[_0x2a3401(0x426)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x2a3401(0x57d)]=_0x279db5,this[_0x2a3401(0x5de)]['addObject'](_0x279db5,Q[_0x2a3401(0x26f)]);const _0x24e512=new ze(st+a[_0x2a3401(0x4a6)][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5-Le,'text':_0x2f0183,'color':_0x3eba04});this[_0x2a3401(0x25f)]=_0x24e512,this[_0x2a3401(0x5de)][_0x2a3401(0x586)](_0x24e512,Q[_0x2a3401(0x26f)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0790b=_0x56d4b2,_0x3972ab=this[_0xf0790b(0x5c1)]['onPointerEnter$'][_0xf0790b(0x4c5)](()=>{const _0x27a6b2=_0xf0790b;this[_0x27a6b2(0x59c)]=!0x0;}),_0x5d21ad=this[_0xf0790b(0x5c1)][_0xf0790b(0x440)][_0xf0790b(0x4c5)](()=>{const _0x25c77b=_0xf0790b;this[_0x25c77b(0x5a9)]&&clearTimeout(this[_0x25c77b(0x5a9)]),this[_0x25c77b(0x5a9)]=setTimeout(()=>{const _0x2a2384=_0x25c77b;this[_0x2a2384(0x59c)]=!0x1;},0x7d0);});return()=>{const _0x164db4=_0xf0790b;_0x3972ab[_0x164db4(0x4c0)](),_0x5d21ad[_0x164db4(0x4c0)]();};}[_0x56d4b2(0x5b8)](_0x301ff0,_0x383a61,_0x12fcf8,_0x5e1108){const _0x38bd7b=_0x56d4b2,_0x2132f3=new a[(_0x38bd7b(0x383))](_0x301ff0)[_0x38bd7b(0x5a0)](0.2)[_0x38bd7b(0x41e)](),_0x377b51=new K['RegularPolygon'](ls+a['Tools'][_0x38bd7b(0x598)](Ue),{'pointsGroup':_0x383a61,'fill':_0x2132f3||K[_0x38bd7b(0x426)](a['COLORS'][_0x38bd7b(0x686)],0.2),'left':_0x12fcf8,'top':_0x5e1108,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38bd7b(0x394)]['push'](_0x377b51),this[_0x38bd7b(0x5de)][_0x38bd7b(0x586)](_0x377b51,Q['TEXT_RANGE_LAYER_INDEX']);}[_0x56d4b2(0x360)](_0x5b17c5,_0x1c2cb4,_0x3ca15a,_0x3d382d){const _0x2dc120=_0x56d4b2,_0x37016a=new a[(_0x2dc120(0x383))](_0x5b17c5)['setAlpha'](0.2)['toRgbString'](),_0xa1037c=new K['RegularPolygon'](hs+a['Tools'][_0x2dc120(0x598)](Ue),{'pointsGroup':_0x1c2cb4,'fill':_0x37016a||K[_0x2dc120(0x426)](a['COLORS'][_0x2dc120(0x686)],0.2),'left':_0x3ca15a,'top':_0x3d382d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2dc120(0x394)][_0x2dc120(0x322)](_0xa1037c),this[_0x2dc120(0x5de)][_0x2dc120(0x586)](_0xa1037c,Q[_0x2dc120(0x26f)]);}[_0x56d4b2(0x488)](_0x12ebd2){const _0x467af8=_0x12ebd2[0x0],_0x19aa42=_0x467af8[0x0],_0x45b288=_0x467af8[0x2],{x:_0xd394c8,y:_0x2aa101}=_0x19aa42,{x:_0x5ea350,y:_0x3ee3d3}=_0x45b288;return{'left':_0xd394c8,'top':_0x2aa101,'width':_0x5ea350-_0xd394c8,'height':_0x3ee3d3-_0x2aa101};}[_0x56d4b2(0x619)](){const _0x25daf9=_0x56d4b2,{scaleX:_0x2cf8d6,scaleY:_0x4fa2e5}=this[_0x25daf9(0x5de)]['getAncestorScale']();return Math[_0x25daf9(0x40d)](_0x2cf8d6,_0x4fa2e5);}}var fs=Object['defineProperty'],vs=Object[_0x56d4b2(0x47e)],Ss=(_0x2498b9,_0x4c21f5,_0x4cd783,_0x3763cb)=>{const _0x1b0fd5=_0x56d4b2;for(var _0x401a84=_0x3763cb>0x1?void 0x0:_0x3763cb?vs(_0x4c21f5,_0x4cd783):_0x4c21f5,_0x3ab3d0=_0x2498b9[_0x1b0fd5(0x543)]-0x1,_0x2106ac;_0x3ab3d0>=0x0;_0x3ab3d0--)(_0x2106ac=_0x2498b9[_0x3ab3d0])&&(_0x401a84=(_0x3763cb?_0x2106ac(_0x4c21f5,_0x4cd783,_0x401a84):_0x2106ac(_0x401a84))||_0x401a84);return _0x3763cb&&_0x401a84&&fs(_0x4c21f5,_0x4cd783,_0x401a84),_0x401a84;},je=(_0x311240,_0x2071f5)=>(_0x53b2f1,_0x26ac01)=>_0x2071f5(_0x53b2f1,_0x26ac01,_0x311240);let mt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x57e9b5,_0x373ae2,_0x44e2f6,_0x47e675,_0x51b1a4){const _0x54150c=_0x56d4b2;super(),I(this,_0x54150c(0x3d2),[]),I(this,_0x54150c(0x37c),[]),(this['_context']=_0x57e9b5,this[_0x54150c(0x43b)]=_0x373ae2,this['_collabCursorController']=_0x44e2f6,this[_0x54150c(0x51b)]=_0x47e675,this[_0x54150c(0x427)]=_0x51b1a4,this[_0x54150c(0x507)]());}[_0x56d4b2(0x507)](){const _0x5c3834=_0x56d4b2,_0x1fae7c=this['_context'][_0x5c3834(0x2fe)],_0x882be4=this[_0x5c3834(0x43b)];this[_0x5c3834(0x211)](A[_0x5c3834(0x608)]([this[_0x5c3834(0x3ab)][_0x5c3834(0x490)](_0x1fae7c),this[_0x5c3834(0x427)][_0x5c3834(0x4db)]])[_0x5c3834(0x348)](V[_0x5c3834(0x26d)](([_0xf58dbd,_0xc64bf])=>({'skeleton':_0x882be4[_0x5c3834(0x38e)](),'cursors':[..._0xf58dbd[_0x5c3834(0x23d)]()][_0x5c3834(0x4af)](_0x5655c0=>({..._0x5655c0,'color':_0xc64bf[_0x5655c0['color']]}))})))[_0x5c3834(0x563)](_0x14929f=>{const _0x1328bb=_0x5c3834;if(this[_0x1328bb(0x298)](),_0x14929f){const {skeleton:_0x244ae7,cursors:_0x2ac373}=_0x14929f;this[_0x1328bb(0x4f0)](_0x244ae7,_0x2ac373);}})),this[_0x5c3834(0x590)](),this[_0x5c3834(0x46d)]();}[_0x56d4b2(0x4f0)](_0x5a3a6c,_0x5b61d0){const _0x51e9db=_0x56d4b2,{scene:_0x52ccbe,mainComponent:_0x28d78c}=this[_0x51e9db(0x528)],_0x2f0c94=_0x5b61d0[_0x51e9db(0x26d)](_0x4a9447=>new Bt(_0x4a9447,_0x52ccbe,_0x5a3a6c,_0x28d78c));this[_0x51e9db(0x3d2)]=_0x2f0c94,this[_0x51e9db(0x37c)]=_0x5b61d0;}[_0x56d4b2(0x5d2)](){const _0xf9124d=_0x56d4b2;this[_0xf9124d(0x298)]();const {scene:_0x3cad8b,mainComponent:_0x4ac091}=this[_0xf9124d(0x528)],_0x38e202=this[_0xf9124d(0x43b)][_0xf9124d(0x38e)](),_0x37a3a7=this[_0xf9124d(0x37c)][_0xf9124d(0x26d)](_0x51e145=>new Bt(_0x51e145,_0x3cad8b,_0x38e202,_0x4ac091));this[_0xf9124d(0x3d2)]=_0x37a3a7;}['_removeCollabCursors'](){const _0x2ec39e=_0x56d4b2;this[_0x2ec39e(0x3d2)][_0x2ec39e(0x3dc)](_0x4e8d58=>_0x4e8d58['dispose']()),this['_cursorShapes']=[];}[_0x56d4b2(0x46d)](){const _0x465bb8=_0x56d4b2,_0x55f339=[Q[_0x465bb8(0x3da)]['id']];this[_0x465bb8(0x211)](this[_0x465bb8(0x51b)][_0x465bb8(0x5bb)](_0x1a7b1c=>{const _0x2c112e=_0x465bb8;_0x55f339[_0x2c112e(0x37d)](_0x1a7b1c['id'])&&_0x1a7b1c[_0x2c112e(0x225)]['unitId']===this['_context'][_0x2c112e(0x2fe)]&&this[_0x2c112e(0x5d2)]();}));}[_0x56d4b2(0x590)](){const _0x33c10c=_0x56d4b2;this[_0x33c10c(0x211)](a[_0x33c10c(0x5eb)](this[_0x33c10c(0x528)][_0x33c10c(0x4f4)][_0x33c10c(0x565)])[_0x33c10c(0x348)](V['filter'](_0x30ff43=>_0x30ff43['type']===K[_0x33c10c(0x3d8)]['resize']),V[_0x33c10c(0x39c)](0x10))[_0x33c10c(0x563)](()=>{const _0x4e5b10=_0x33c10c;this[_0x4e5b10(0x5d2)]();}));}};mt=Ss([je(0x1,a[_0x56d4b2(0x226)](Ie[_0x56d4b2(0x50b)])),je(0x2,a[_0x56d4b2(0x226)](De)),je(0x3,a[_0x56d4b2(0x2b1)]),je(0x4,a['Inject'](a[_0x56d4b2(0x4be)]))],mt);const ps=0x1,ms=1.5;class gn extends K[_0x56d4b2(0x210)]{constructor(_0x4f634b,_0x564605){const _0x2b7ea7=_0x56d4b2;super(_0x4f634b,_0x564605),I(this,_0x2b7ea7(0x2cd)),I(this,'_hovered',!0x1),I(this,_0x2b7ea7(0x525)),I(this,_0x2b7ea7(0x484),''),I(this,'_labelPosition',_0x2b7ea7(0x34b)),I(this,'_backgroundColor'),(_0x564605&&this[_0x2b7ea7(0x248)](_0x564605),this[_0x2b7ea7(0x683)][_0x2b7ea7(0x4c5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2b7ea7(0x440)][_0x2b7ea7(0x4c5)](()=>this[_0x2b7ea7(0x248)]({'hovered':!0x1})));}[_0x56d4b2(0x248)](_0x4d7964){const _0x3a99ad=_0x56d4b2;var _0x5a3fbf,_0x23e357,_0x390a0d,_0x30be6d,_0x533435,_0x59b1a9;this[_0x3a99ad(0x2cd)]=(_0x5a3fbf=_0x4d7964[_0x3a99ad(0x476)])!=null?_0x5a3fbf:this[_0x3a99ad(0x2cd)],this[_0x3a99ad(0x466)]=(_0x23e357=_0x4d7964[_0x3a99ad(0x559)])!=null?_0x23e357:this[_0x3a99ad(0x466)],this[_0x3a99ad(0x525)]=(_0x390a0d=_0x4d7964['range'])!=null?_0x390a0d:this[_0x3a99ad(0x525)],this[_0x3a99ad(0x484)]=(_0x30be6d=_0x4d7964[_0x3a99ad(0x4e6)])!=null?_0x30be6d:this[_0x3a99ad(0x484)],this['_labelPosition']=(_0x533435=_0x4d7964['labelPosition'])!=null?_0x533435:this[_0x3a99ad(0x407)],this['_backgroundColor']=(_0x59b1a9=_0x4d7964[_0x3a99ad(0x63d)])!=null?_0x59b1a9:this[_0x3a99ad(0x58b)],this['transformByState']({'width':_0x4d7964[_0x3a99ad(0x331)],'height':_0x4d7964[_0x3a99ad(0x266)]});}['onMouseMove'](_0x1bf763){const _0x26344f=_0x56d4b2,{row:_0x423f5b,column:_0x30f5e9}=_0x1bf763;if(_0x423f5b>=this[_0x26344f(0x525)][_0x26344f(0x2f9)]&&_0x423f5b<=this[_0x26344f(0x525)][_0x26344f(0x4b7)]&&_0x30f5e9>=this[_0x26344f(0x525)][_0x26344f(0x629)]&&_0x30f5e9<=this['_range']['endColumn']){this[_0x26344f(0x248)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x56d4b2(0x398)](_0x4e01c8){return!0x1;}[_0x56d4b2(0x20f)](_0x38e560){const _0x4a85b4=_0x56d4b2;K[_0x4a85b4(0x606)][_0x4a85b4(0x3bf)](_0x38e560,{'width':this[_0x4a85b4(0x331)],'height':this[_0x4a85b4(0x266)],'strokeWidth':ms,'stroke':this[_0x4a85b4(0x2cd)],'evented':!0x1,'fill':this[_0x4a85b4(0x58b)]}),this['_hovered']&&(_0x38e560[_0x4a85b4(0x207)](),_0x38e560[_0x4a85b4(0x3b4)](0x1,0x0,0x0,0x1,this[_0x4a85b4(0x331)],this[_0x4a85b4(0x407)]===_0x4a85b4(0x33c)?0x0:-Le),ze['drawWith'](_0x38e560,{'text':this[_0x4a85b4(0x484)],'color':this['_color']}),_0x38e560['restore']());}}var gs=Object[_0x56d4b2(0x3a4)],Is=Object[_0x56d4b2(0x47e)],Cs=(_0x2625f8,_0x16437a,_0x4cd881,_0x232186)=>{const _0x7726ec=_0x56d4b2;for(var _0x26ca37=_0x232186>0x1?void 0x0:_0x232186?Is(_0x16437a,_0x4cd881):_0x16437a,_0x3eef66=_0x2625f8[_0x7726ec(0x543)]-0x1,_0x1502a8;_0x3eef66>=0x0;_0x3eef66--)(_0x1502a8=_0x2625f8[_0x3eef66])&&(_0x26ca37=(_0x232186?_0x1502a8(_0x16437a,_0x4cd881,_0x26ca37):_0x1502a8(_0x26ca37))||_0x26ca37);return _0x232186&&_0x26ca37&&gs(_0x16437a,_0x4cd881,_0x26ca37),_0x26ca37;},ot=(_0x1e124a,_0x4a2207)=>(_0x368412,_0x60b918)=>_0x4a2207(_0x368412,_0x60b918,_0x1e124a);const Es=0x1389;let gt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x198da1,_0xe85a2f,_0x363a05,_0x3d0e88){const _0xa6d54b=_0x56d4b2;super(),I(this,_0xa6d54b(0x37c),new Set()),I(this,'_lastPointer',null),(this[_0xa6d54b(0x528)]=_0x198da1,this['_sheetSkeletonManagerService']=_0xe85a2f,this[_0xa6d54b(0x3ab)]=_0x363a05,this['_themeService']=_0x3d0e88,this['_init']());}[_0x56d4b2(0x507)](){const _0x14d21e=_0x56d4b2;this[_0x14d21e(0x202)]['currentSkeleton$'][_0x14d21e(0x348)](V[_0x14d21e(0x5e8)](this[_0x14d21e(0x5ba)]),V[_0x14d21e(0x52f)](_0x11faee=>{const _0x132cbe=_0x14d21e;if(_0x11faee){const _0x3c7a87=_0x11faee['sheetId'];return A[_0x132cbe(0x608)](this[_0x132cbe(0x3ab)][_0x132cbe(0x490)](this[_0x132cbe(0x528)][_0x132cbe(0x2fe)]),this[_0x132cbe(0x427)]['currentTheme$'])[_0x132cbe(0x348)](V['map'](([_0x52969a,_0x2ab714])=>{const _0x74bdb1=new Map();return _0x52969a['forEach']((_0x46fa9e,_0x1fd0f2)=>{const _0xb9cdbc=_0xe699;if(_0x46fa9e['sheetID']===_0x3c7a87){const _0x3f7454={..._0x46fa9e};_0x3f7454[_0xb9cdbc(0x476)]=_0x2ab714[_0x46fa9e[_0xb9cdbc(0x476)]],_0x74bdb1[_0xb9cdbc(0x24a)](_0x1fd0f2,_0x3f7454);}}),{'skeleton':_0x11faee,'cursors':_0x74bdb1};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x14d21e(0x563)](({skeleton:_0x1cdd6e,cursors:_0x25c5c2})=>{const _0x508d7c=_0x14d21e;this[_0x508d7c(0x298)](),_0x1cdd6e&&this[_0x508d7c(0x4f0)](_0x1cdd6e,_0x25c5c2);}),this[_0x14d21e(0x202)][_0x14d21e(0x30d)][_0x14d21e(0x563)](_0x29c754=>{const _0x3eb2be=_0x14d21e;if(_0x29c754==null)return;const {skeleton:_0x1f1223}=_0x29c754,{scene:_0x29e2b1}=this[_0x3eb2be(0x528)];_0x29e2b1[_0x3eb2be(0x42a)][_0x3eb2be(0x4c5)](a[_0x3eb2be(0x530)](_0x47445c=>{const _0x35efa8=_0x3eb2be;var _0xe0c4a2,_0x55ade5;const {offsetX:_0x69e709,offsetY:_0x3c4658}=_0x47445c,{x:_0x23851b,y:_0x510cfc}=_0x29e2b1[_0x35efa8(0x245)](K[_0x35efa8(0x47d)][_0x35efa8(0x42e)]([_0x69e709,_0x3c4658])),{scaleX:_0x4ed1dc,scaleY:_0x481c0c}=_0x29e2b1[_0x35efa8(0x2d7)](),_0x3d918c=_0x29e2b1[_0x35efa8(0x2bf)](ye[_0x35efa8(0x3ac)][_0x35efa8(0x2f3)]),_0x4ab93c=_0x29e2b1[_0x35efa8(0x36a)](K[_0x35efa8(0x47d)][_0x35efa8(0x42e)]([_0x23851b,_0x510cfc]),_0x3d918c),_0x537704=_0x1f1223['getCellPositionByOffset'](_0x69e709,_0x3c4658,_0x4ed1dc,_0x481c0c,_0x4ab93c);((_0xe0c4a2=this['_lastPointer'])==null?void 0x0:_0xe0c4a2[_0x35efa8(0x55f)])===_0x537704['column']&&((_0x55ade5=this[_0x35efa8(0x3a0)])==null?void 0x0:_0x55ade5[_0x35efa8(0x518)])===_0x537704['row']||this['_cursors'][_0x35efa8(0x3dc)](_0x4f4b8d=>{const _0x630709=_0x35efa8;_0x4f4b8d[_0x630709(0x431)](_0x537704);});},0x64));});}[_0x56d4b2(0x4f0)](_0x23820f,_0x1da713){const _0x16e7fd=_0x56d4b2;var _0x4d4b90;const _0x4c79bf=(_0x4d4b90=this[_0x16e7fd(0x202)][_0x16e7fd(0x667)]())==null?void 0x0:_0x4d4b90[_0x16e7fd(0x4c9)];if(!_0x4c79bf)return;const _0x545a7c=this[_0x16e7fd(0x509)]();if(!_0x545a7c)return;this[_0x16e7fd(0x37c)][_0x16e7fd(0x3dc)](_0x2a1bf1=>{const _0x4dc67d=_0x16e7fd;_0x2a1bf1[_0x4dc67d(0x56d)]();});const {scene:_0x3767f8}=_0x545a7c,_0x2d985c=bs(Array[_0x16e7fd(0x3e5)](_0x1da713['values']()))['map'](_0xad6d4c=>{const _0xfd0ca1=_0x16e7fd,{color:_0x394ba3,range:_0x2ba94a,name:_0x457761,selection:_0x8ee177,sheetID:_0xb67fef}=_0xad6d4c,{startColumn:_0x1880eb,startRow:_0x4fc65a,endColumn:_0x311abc,endRow:_0x5bc482}=_0x2ba94a,_0x5d1d9d=ye['getCoordByCell'](_0x4fc65a,_0x1880eb,_0x3767f8,_0x4c79bf),_0x2c6ae2=ye[_0xfd0ca1(0x4c8)](_0x5bc482,_0x311abc,_0x3767f8,_0x4c79bf),{columnHeaderHeightAndMarginTop:_0x657ab0}=_0x4c79bf,{startX:_0x363bf5,startY:_0x21b359}=_0x5d1d9d,{endX:_0x5f4d44,endY:_0x4fbb6f}=_0x2c6ae2,_0x5d0dc0=_0x5f4d44-_0x363bf5,_0x23a609=_0x4fbb6f-_0x21b359,_0x167ede={'labelPosition':_0x21b359-_0x657ab0>=Le?_0xfd0ca1(0x34b):_0xfd0ca1(0x33c),'sheetID':_0xb67fef,'range':_0x2ba94a,'color':_0x394ba3,'name':_0x457761,'selection':_0x8ee177,'left':_0x363bf5,'top':_0x21b359,'width':_0x5d0dc0,'height':_0x23a609,'evented':!0x1,'zIndex':Es};return new gn(_0x457761,_0x167ede);});_0x3767f8['addObjects'](_0x2d985c,ps),this[_0x16e7fd(0x37c)]=new Set(_0x2d985c);}['_removeCollabCursors'](){const _0x17f4e6=_0x56d4b2;var _0x15948b;(_0x15948b=this[_0x17f4e6(0x37c)])==null||_0x15948b['forEach'](_0x1ce7f6=>_0x1ce7f6[_0x17f4e6(0x51e)]());}[_0x56d4b2(0x509)](){const _0x3bfe43=_0x56d4b2;return ye[_0x3bfe43(0x5fa)](this['_context'][_0x3bfe43(0x3f5)],this[_0x3bfe43(0x528)]);}};gt=Cs([ot(0x1,a[_0x56d4b2(0x226)](ye[_0x56d4b2(0x28c)])),ot(0x2,a['Inject'](De)),ot(0x3,a[_0x56d4b2(0x226)](a['ThemeService']))],gt);function bs(_0x9a9b07){const _0x20c06b=_0x56d4b2,_0x531778=new Map();return _0x9a9b07[_0x20c06b(0x3dc)](_0x4c4986=>{const _0x55e3b7=_0x20c06b;if(_0x531778[_0x55e3b7(0x341)](_0x4c4986[_0x55e3b7(0x4bc)])){const _0x2f5a9b=_0x531778[_0x55e3b7(0x313)](_0x4c4986[_0x55e3b7(0x4bc)]);_0x2f5a9b[_0x55e3b7(0x4e6)]+=',\x20'+_0x4c4986['name'];}else _0x531778[_0x55e3b7(0x24a)](_0x4c4986[_0x55e3b7(0x4bc)],_0x4c4986);}),Array['from'](_0x531778[_0x20c06b(0x23d)]());}var J=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x422d42){const _0x4a2ef3=_0x56d4b2;return _0x422d42&&_0x422d42[_0x4a2ef3(0x62a)]&&Object[_0x4a2ef3(0x535)][_0x4a2ef3(0x44b)][_0x4a2ef3(0x356)](_0x422d42,'default')?_0x422d42[_0x4a2ef3(0x644)]:_0x422d42;}var In={'exports':{}},Xe={},Ts=ae,Rs=Symbol[_0x56d4b2(0x630)](_0x56d4b2(0x29e)),ys=Symbol[_0x56d4b2(0x630)]('react.fragment'),Os=Object[_0x56d4b2(0x535)][_0x56d4b2(0x44b)],Ds=Ts[_0x56d4b2(0x357)]['ReactCurrentOwner'],Ps={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Cn(_0x3a6363,_0x19018b,_0x5cbeec){const _0x1a08fc=_0x56d4b2;var _0x5f24c4,_0x457c32={},_0x3cbf7d=null,_0x2a22ee=null;_0x5cbeec!==void 0x0&&(_0x3cbf7d=''+_0x5cbeec),_0x19018b[_0x1a08fc(0x615)]!==void 0x0&&(_0x3cbf7d=''+_0x19018b['key']),_0x19018b[_0x1a08fc(0x66d)]!==void 0x0&&(_0x2a22ee=_0x19018b[_0x1a08fc(0x66d)]);for(_0x5f24c4 in _0x19018b)Os[_0x1a08fc(0x356)](_0x19018b,_0x5f24c4)&&!Ps['hasOwnProperty'](_0x5f24c4)&&(_0x457c32[_0x5f24c4]=_0x19018b[_0x5f24c4]);if(_0x3a6363&&_0x3a6363[_0x1a08fc(0x2ca)]){for(_0x5f24c4 in(_0x19018b=_0x3a6363[_0x1a08fc(0x2ca)],_0x19018b))_0x457c32[_0x5f24c4]===void 0x0&&(_0x457c32[_0x5f24c4]=_0x19018b[_0x5f24c4]);}return{'$$typeof':Rs,'type':_0x3a6363,'key':_0x3cbf7d,'ref':_0x2a22ee,'props':_0x457c32,'_owner':Ds[_0x1a08fc(0x2a2)]};}Xe['Fragment']=ys,Xe[_0x56d4b2(0x3d9)]=Cn,Xe[_0x56d4b2(0x2d1)]=Cn,In['exports']=Xe;var ge=In[_0x56d4b2(0x514)],ee=function(){const _0x3207dc=_0x56d4b2;return ee=Object['assign']||function(_0x5c5539){const _0x1eba29=_0xe699;for(var _0x50e059,_0x56f0a8=0x1,_0x224a6d=arguments[_0x1eba29(0x543)];_0x56f0a8<_0x224a6d;_0x56f0a8++){_0x50e059=arguments[_0x56f0a8];for(var _0x22a97b in _0x50e059)Object['prototype'][_0x1eba29(0x44b)]['call'](_0x50e059,_0x22a97b)&&(_0x5c5539[_0x22a97b]=_0x50e059[_0x22a97b]);}return _0x5c5539;},ee[_0x3207dc(0x326)](this,arguments);},ws=function(_0x4cb0bc,_0x48faa9){const _0x4731e7=_0x56d4b2;var _0x2cf68b={};for(var _0x224f39 in _0x4cb0bc)Object['prototype']['hasOwnProperty'][_0x4731e7(0x356)](_0x4cb0bc,_0x224f39)&&_0x48faa9[_0x4731e7(0x2b3)](_0x224f39)<0x0&&(_0x2cf68b[_0x224f39]=_0x4cb0bc[_0x224f39]);if(_0x4cb0bc!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3f071b=0x0,_0x224f39=Object[_0x4731e7(0x49d)](_0x4cb0bc);_0x3f071b<_0x224f39[_0x4731e7(0x543)];_0x3f071b++)_0x48faa9[_0x4731e7(0x2b3)](_0x224f39[_0x3f071b])<0x0&&Object[_0x4731e7(0x535)][_0x4731e7(0x2b2)][_0x4731e7(0x356)](_0x4cb0bc,_0x224f39[_0x3f071b])&&(_0x2cf68b[_0x224f39[_0x3f071b]]=_0x4cb0bc[_0x224f39[_0x3f071b]]);}return _0x2cf68b;},Dt=ae[_0x56d4b2(0x56e)](function(_0xcc9ab6,_0x5aeaa7){const _0x39993f=_0x56d4b2;var _0x2f6b4c=_0xcc9ab6[_0x39993f(0x323)],_0x67dfd5=_0xcc9ab6['id'],_0x5a74d4=_0xcc9ab6[_0x39993f(0x46e)],_0x4c05c5=_0xcc9ab6[_0x39993f(0x27a)],_0x4871de=ws(_0xcc9ab6,[_0x39993f(0x323),'id',_0x39993f(0x46e),_0x39993f(0x27a)]),_0x3c68bc=_0x39993f(0x420)[_0x39993f(0x505)](_0x67dfd5,'\x20')[_0x39993f(0x505)](_0x5a74d4||'')[_0x39993f(0x42c)](),_0x392a4c=ae[_0x39993f(0x32d)]('_'['concat'](As()));return En(_0x2f6b4c,''['concat'](_0x67dfd5),{'defIds':_0x2f6b4c[_0x39993f(0x2af)],'idSuffix':_0x392a4c['current']},ee({'ref':_0x5aeaa7,'className':_0x3c68bc},_0x4871de),_0x4c05c5);});function En(_0x102f2c,_0x4a42b5,_0x90656a,_0x38d839,_0x3f8778){const _0x52e89e=_0x56d4b2;return ae['createElement'](_0x102f2c['tag'],ee(ee({'key':_0x4a42b5},Us(_0x102f2c,_0x90656a,_0x3f8778)),_0x38d839),(Ms(_0x102f2c,_0x90656a)['children']||[])[_0x52e89e(0x26d)](function(_0x3d843f,_0x7778a1){const _0x5ed114=_0x52e89e;return En(_0x3d843f,''['concat'](_0x4a42b5,'-')[_0x5ed114(0x505)](_0x102f2c[_0x5ed114(0x219)],'-')['concat'](_0x7778a1),_0x90656a,void 0x0,_0x3f8778);}));}function Us(_0x106d69,_0x52f0f1,_0x22ae2a){const _0x7ea8a6=_0x56d4b2;var _0x916b79=ee({},_0x106d69[_0x7ea8a6(0x2ff)]);_0x22ae2a!=null&&_0x22ae2a[_0x7ea8a6(0x48f)]&&_0x916b79['fill']===_0x7ea8a6(0x48f)&&(_0x916b79[_0x7ea8a6(0x2de)]=_0x22ae2a[_0x7ea8a6(0x48f)]);var _0x4b2bb5=_0x52f0f1[_0x7ea8a6(0x2af)];return!_0x4b2bb5||_0x4b2bb5['length']===0x0||(_0x106d69['tag']===_0x7ea8a6(0x513)&&_0x916b79[_0x7ea8a6(0x250)]&&(_0x916b79[_0x7ea8a6(0x250)]=_0x916b79[_0x7ea8a6(0x250)]+_0x52f0f1['idSuffix']),Object['entries'](_0x916b79)[_0x7ea8a6(0x3dc)](function(_0x217cbb){const _0x938f5a=_0x7ea8a6;var _0xfea6a1=_0x217cbb[0x0],_0x3b8b4c=_0x217cbb[0x1];typeof _0x3b8b4c=='string'&&(_0x916b79[_0xfea6a1]=_0x3b8b4c[_0x938f5a(0x49e)](/url\(#(.*)\)/,'url(#$1'[_0x938f5a(0x505)](_0x52f0f1[_0x938f5a(0x601)],')')));})),_0x916b79;}function Ms(_0x274ded,_0x137c05){const _0x1258eb=_0x56d4b2;var _0x4bda16,_0x2dd750=_0x137c05[_0x1258eb(0x2af)];return!_0x2dd750||_0x2dd750[_0x1258eb(0x543)]===0x0?_0x274ded:_0x274ded['tag']===_0x1258eb(0x53d)&&(!((_0x4bda16=_0x274ded['children'])===null||_0x4bda16===void 0x0)&&_0x4bda16[_0x1258eb(0x543)])?ee(ee({},_0x274ded),{'children':_0x274ded[_0x1258eb(0x59a)][_0x1258eb(0x26d)](function(_0x1a53a8){const _0x5dbcb3=_0x1258eb;return typeof _0x1a53a8['attrs']['id']==_0x5dbcb3(0x5e7)&&_0x2dd750&&_0x2dd750[_0x5dbcb3(0x2b3)](_0x1a53a8[_0x5dbcb3(0x2ff)]['id'])>-0x1?ee(ee({},_0x1a53a8),{'attrs':ee(ee({},_0x1a53a8['attrs']),{'id':_0x1a53a8[_0x5dbcb3(0x2ff)]['id']+_0x137c05[_0x5dbcb3(0x601)]})}):_0x1a53a8;})}):_0x274ded;}function As(){const _0x3ba851=_0x56d4b2;return Math[_0x3ba851(0x27d)]()[_0x3ba851(0x63c)](0x24)[_0x3ba851(0x52b)](0x2,0x8);}Dt[_0x56d4b2(0x235)]=_0x56d4b2(0x4d7);var Ns={'tag':_0x56d4b2(0x414),'attrs':{'fill':_0x56d4b2(0x1e6),'viewBox':_0x56d4b2(0x61a),'width':_0x56d4b2(0x67e),'height':_0x56d4b2(0x67e)},'children':[{'tag':'g','attrs':{'clipPath':_0x56d4b2(0x45c)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'stroke':_0x56d4b2(0x30a),'d':_0x56d4b2(0x5f6),'strokeLinecap':'round','strokeLinejoin':_0x56d4b2(0x2ef),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x56d4b2(0x316),'attrs':{'id':_0x56d4b2(0x5f0)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'fill':_0x56d4b2(0x363),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x56d4b2(0x5f0)]},bn=ae[_0x56d4b2(0x56e)](function(_0x4584b0,_0x34ab19){const _0x37cded=_0x56d4b2;return ae[_0x37cded(0x291)](Dt,Object['assign']({},_0x4584b0,{'id':_0x37cded(0x36e),'ref':_0x34ab19,'icon':Ns}));});bn['displayName']=_0x56d4b2(0x1d4);var Ls={'tag':_0x56d4b2(0x414),'attrs':{'fill':_0x56d4b2(0x1e6),'viewBox':_0x56d4b2(0x575),'width':_0x56d4b2(0x67e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x56d4b2(0x339)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'stroke':_0x56d4b2(0x30a),'d':_0x56d4b2(0x688),'strokeLinecap':_0x56d4b2(0x2ef),'strokeLinejoin':_0x56d4b2(0x2ef),'strokeWidth':1.2}}]},{'tag':_0x56d4b2(0x53d),'attrs':{},'children':[{'tag':_0x56d4b2(0x316),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x56d4b2(0x363),'d':'M0\x200H16V16H0z','transform':_0x56d4b2(0x624)}}]}]}],'defIds':[_0x56d4b2(0x260)]},Tn=ae['forwardRef'](function(_0x24a1df,_0x475a67){const _0x1bf02c=_0x56d4b2;return ae[_0x1bf02c(0x291)](Dt,Object[_0x1bf02c(0x21a)]({},_0x24a1df,{'id':_0x1bf02c(0x3e3),'ref':_0x475a67,'icon':Ls}));});Tn[_0x56d4b2(0x235)]=_0x56d4b2(0x567);function Rn(_0xcadf72){const _0x490839=_0x56d4b2;var _0x1b83e1,_0x58d982,_0x1485fd='';if(typeof _0xcadf72==_0x490839(0x5e7)||typeof _0xcadf72==_0x490839(0x53e))_0x1485fd+=_0xcadf72;else{if(typeof _0xcadf72==_0x490839(0x34f)){if(Array[_0x490839(0x534)](_0xcadf72)){var _0x15454d=_0xcadf72[_0x490839(0x543)];for(_0x1b83e1=0x0;_0x1b83e1<_0x15454d;_0x1b83e1++)_0xcadf72[_0x1b83e1]&&(_0x58d982=Rn(_0xcadf72[_0x1b83e1]))&&(_0x1485fd&&(_0x1485fd+='\x20'),_0x1485fd+=_0x58d982);}else{for(_0x58d982 in _0xcadf72)_0xcadf72[_0x58d982]&&(_0x1485fd&&(_0x1485fd+='\x20'),_0x1485fd+=_0x58d982);}}}return _0x1485fd;}function xs(){const _0x28c6ea=_0x56d4b2;for(var _0x9ce038,_0x34cb2c,_0x43959e=0x0,_0x4f4e13='',_0x5de2cb=arguments[_0x28c6ea(0x543)];_0x43959e<_0x5de2cb;_0x43959e++)(_0x9ce038=arguments[_0x43959e])&&(_0x34cb2c=Rn(_0x9ce038))&&(_0x4f4e13&&(_0x4f4e13+='\x20'),_0x4f4e13+=_0x34cb2c);return _0x4f4e13;}function _0xe699(_0x1db250,_0x420a13){const _0x4fa214=_0x4fa2();return _0xe699=function(_0xe699d4,_0x5e3860){_0xe699d4=_0xe699d4-0x1cb;let _0x39cca9=_0x4fa214[_0xe699d4];return _0x39cca9;},_0xe699(_0x1db250,_0x420a13);}const js=_0x56d4b2(0x200),$s='univer-online-status-title',Hs=_0x56d4b2(0x5d6),ks=_0x56d4b2(0x653),Bs=_0x56d4b2(0x2f1),Me={'onlineStatusIcon':js,'onlineStatusTitle':$s,'onlineStatus':Hs,'online':ks,'offline':Bs};function Ws(_0xdb72cf){const _0x4c9a2c=_0x56d4b2;switch(_0xdb72cf){case q[_0x4c9a2c(0x48b)]:return'collabStatus.offline';case q[_0x4c9a2c(0x2fb)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x4c9a2c(0x591);case q['NOT_COLLAB']:return _0x4c9a2c(0x622);case q['AWAITING']:case q['AWAITING_WITH_PENDING']:return _0x4c9a2c(0x4e5);case q['SYNCED']:case q[_0x4c9a2c(0x240)]:return _0x4c9a2c(0x524);}}function yn(_0x3f85cf){const _0x2e334d=_0x56d4b2,{status$:_0x33feb1}=_0x3f85cf,_0xf9b1b=te[_0x2e334d(0x557)](_0x33feb1,q['NOT_COLLAB']),_0x51d2ff=a[_0x2e334d(0x3a3)](a[_0x2e334d(0x34d)]),_0x352d95=a[_0x2e334d(0x3a3)](exports['CollaborationSessionService']),_0x4599d8=_0xf9b1b!==q[_0x2e334d(0x48b)],_0x93e018=_0x51d2ff['t'](Ws(_0xf9b1b)),_0x38df87=xs(Me[_0x2e334d(0x4e0)],{[Me[_0x2e334d(0x592)]]:_0x4599d8,[Me[_0x2e334d(0x682)]]:!_0x4599d8}),_0xf46601=_0x4599d8?ge[_0x2e334d(0x3d9)](Tn,{}):ge[_0x2e334d(0x3d9)](bn,{}),_0x1e39c8=ae[_0x2e334d(0x334)](()=>{_0x4599d8||_0x352d95['reconnect']();},[_0x4599d8,_0x352d95]);function _0x2bf57b(){const _0x1371fd=_0x2e334d;return ge[_0x1371fd(0x2d1)](_0x1371fd(0x21e),{'className':_0x38df87,'onClick':_0x1e39c8,'children':[ge[_0x1371fd(0x3d9)]('div',{'className':Me[_0x1371fd(0x462)],'children':_0xf46601}),ge['jsx']('div',{'className':Me[_0x1371fd(0x31a)],'children':_0x93e018})]});}return _0x4599d8?_0x2bf57b():ge[_0x2e334d(0x3d9)](Ce[_0x2e334d(0x352)],{'title':_0x51d2ff['t']('collab-client.tooltip.reconnect'),'children':_0x2bf57b()});}var Fs=Object[_0x56d4b2(0x3a4)],Vs=Object[_0x56d4b2(0x47e)],Gs=(_0x4de7de,_0x55456b,_0x10f936,_0x32a6cc)=>{for(var _0x119345=_0x32a6cc>0x1?void 0x0:_0x32a6cc?Vs(_0x55456b,_0x10f936):_0x55456b,_0x27ef66=_0x4de7de['length']-0x1,_0x4edf48;_0x27ef66>=0x0;_0x27ef66--)(_0x4edf48=_0x4de7de[_0x27ef66])&&(_0x119345=(_0x32a6cc?_0x4edf48(_0x55456b,_0x10f936,_0x119345):_0x4edf48(_0x119345))||_0x119345);return _0x32a6cc&&_0x119345&&Fs(_0x55456b,_0x10f936,_0x119345),_0x119345;},$e=(_0x44c088,_0x11d3f8)=>(_0x2ffcbd,_0x415b6f)=>_0x11d3f8(_0x2ffcbd,_0x415b6f,_0x44c088);exports[_0x56d4b2(0x652)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x288556,_0x3aa39c,_0x10a9bc,_0x16546d){const _0x44cda3=_0x56d4b2;super(),I(this,_0x44cda3(0x5aa),new A[(_0x44cda3(0x227))](q['NOT_COLLAB'])),(this[_0x44cda3(0x2c6)]=_0x288556,this[_0x44cda3(0x2bc)]=_0x3aa39c,this['_injector']=_0x10a9bc,this[_0x44cda3(0x433)]=_0x16546d,this[_0x44cda3(0x2be)](),this[_0x44cda3(0x307)]());}[_0x56d4b2(0x307)](){const _0x29b391=_0x56d4b2;this[_0x29b391(0x211)](this[_0x29b391(0x2c6)][_0x29b391(0x4ac)][_0x29b391(0x348)](A[_0x29b391(0x52f)](()=>{const _0x4cf871=_0x29b391,_0x17591d=this['_univerInstanceService']['getFocusedUnit']();return _0x17591d?this[_0x4cf871(0x433)][_0x4cf871(0x438)](_0x17591d[_0x4cf871(0x25a)]()):A['of'](null);}),A[_0x29b391(0x52f)](_0x3ce253=>_0x3ce253?_0x3ce253[_0x29b391(0x434)]:A['of'](q[_0x29b391(0x3d3)])))[_0x29b391(0x563)](_0x3fac69=>{const _0x132f07=_0x29b391;this[_0x132f07(0x5aa)]['next'](_0x3fac69);}));}[_0x56d4b2(0x2be)](){const _0x2f9e38=_0x56d4b2;this[_0x2f9e38(0x211)](this[_0x2f9e38(0x2bc)]['registerComponent'](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x2f9e38(0x35e)](Ys({'status$':this[_0x2f9e38(0x5aa)][_0x2f9e38(0x59e)]()}),this[_0x2f9e38(0x473)])));}},exports['DesktopCollaborationStatusDisplayController']=Gs([$e(0x0,a['IUniverInstanceService']),$e(0x1,te[_0x56d4b2(0x3bb)]),$e(0x2,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),$e(0x3,a['Inject'](exports[_0x56d4b2(0x399)]))],exports[_0x56d4b2(0x652)]);function Ys(_0x476cc3){const {status$:_0x27976a}=_0x476cc3;return function(){const _0x3d8e06=_0xe699;return ge[_0x3d8e06(0x3d9)](yn,{'status$':_0x27976a});};}const Pt=a['createIdentifier']('uni.network.url-service');var Ks=Object[_0x56d4b2(0x3a4)],qs=Object[_0x56d4b2(0x47e)],zs=(_0x3e8050,_0x4ef1c9,_0x4ae122,_0x39ef05)=>{const _0x3596e8=_0x56d4b2;for(var _0x3c93da=_0x39ef05>0x1?void 0x0:_0x39ef05?qs(_0x4ef1c9,_0x4ae122):_0x4ef1c9,_0x4566ae=_0x3e8050[_0x3596e8(0x543)]-0x1,_0x82fe5b;_0x4566ae>=0x0;_0x4566ae--)(_0x82fe5b=_0x3e8050[_0x4566ae])&&(_0x3c93da=(_0x39ef05?_0x82fe5b(_0x4ef1c9,_0x4ae122,_0x3c93da):_0x82fe5b(_0x3c93da))||_0x3c93da);return _0x39ef05&&_0x3c93da&&Ks(_0x4ef1c9,_0x4ae122,_0x3c93da),_0x3c93da;},Re=(_0x24c0c3,_0x13dc99)=>(_0x2878ab,_0x5ecd4c)=>_0x13dc99(_0x2878ab,_0x5ecd4c,_0x24c0c3);exports['DataLoaderController']=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x375ff2,_0x42ab73,_0x48c03b,_0xd6072c,_0x325894,_0x58d8b9){const _0x2a6e14=_0x56d4b2;super(),this[_0x2a6e14(0x3de)]=_0x375ff2,this[_0x2a6e14(0x529)]=_0x42ab73,this[_0x2a6e14(0x51b)]=_0x48c03b,this[_0x2a6e14(0x56a)]=_0xd6072c,this['_snapshotService']=_0x325894,_0x58d8b9?_0x58d8b9==null||_0x58d8b9['whenReady']()[_0x2a6e14(0x4a8)](()=>this[_0x2a6e14(0x507)]()):(this[_0x2a6e14(0x529)][_0x2a6e14(0x50f)]('[DataLoaderController]',_0x2a6e14(0x48e)),this['_init']());}async['_init'](){const _0x1d1612=_0x56d4b2,_0x5d5813=this[_0x1d1612(0x3de)][_0x1d1612(0x5dc)](_0x1d1612(0x3f5)),_0xaecc17=this[_0x1d1612(0x3de)]['getParam'](_0x1d1612(0x2fc));if(!_0x5d5813||!_0xaecc17){this[_0x1d1612(0x529)][_0x1d1612(0x50f)](_0x1d1612(0x536),_0x1d1612(0x5ae));return;}switch(Number(_0xaecc17)){case ie[_0x1d1612(0x58e)]:{const _0x5ee191=await this['_loadSheet'](_0x5d5813);this[_0x1d1612(0x23b)](_0x5ee191);break;}case ie[_0x1d1612(0x487)]:{await this['_loadDoc'](_0x5d5813);break;}default:{this['_logService'][_0x1d1612(0x38d)](_0x1d1612(0x536),_0x1d1612(0x51d));break;}}}async[_0x56d4b2(0x23b)](_0x2379be){const _0x566100=_0x56d4b2;await this[_0x566100(0x287)](_0x2379be),_0x2379be[_0x566100(0x27f)][_0x566100(0x348)](A[_0x566100(0x5e8)](this[_0x566100(0x5ba)]))[_0x566100(0x563)](_0x1e6c55=>{_0x1e6c55&&this['_updateURLWithCurrentState'](_0x1e6c55);}),this[_0x566100(0x3de)][_0x566100(0x430)][_0x566100(0x348)](A[_0x566100(0x5e8)](this['dispose$']))[_0x566100(0x563)](()=>this[_0x566100(0x287)](_0x2379be));}[_0x56d4b2(0x446)](_0x48042e,_0x2f4c35=!0x1){const _0x5f1224=_0x56d4b2,_0x1e74b3=this[_0x5f1224(0x3de)][_0x5f1224(0x5dc)](_0x5f1224(0x40b));_0x48042e[_0x5f1224(0x581)]()!==_0x1e74b3&&this[_0x5f1224(0x3de)][_0x5f1224(0x54c)](_0x5f1224(0x40b),_0x48042e['getSheetId'](),_0x2f4c35);}async[_0x56d4b2(0x287)](_0x231311){const _0x2c579d=_0x56d4b2;var _0x3488d8;const _0x4360e0=this[_0x2c579d(0x3de)][_0x2c579d(0x5dc)](_0x2c579d(0x40b));if(!_0x4360e0||!_0x231311[_0x2c579d(0x23a)](_0x4360e0)){const _0x31e605=_0x231311[_0x2c579d(0x1d0)]()[0x0],_0x32eca7=_0x231311[_0x2c579d(0x23a)](_0x31e605);if(!_0x32eca7)return;this[_0x2c579d(0x446)](_0x32eca7,!0x0),await this[_0x2c579d(0x51b)][_0x2c579d(0x29a)](B[_0x2c579d(0x4d5)]['id'],{'unitId':_0x231311['getUnitId'](),'subUnitId':_0x31e605});return;}((_0x3488d8=_0x231311[_0x2c579d(0x472)]())==null?void 0x0:_0x3488d8[_0x2c579d(0x581)]())!==_0x4360e0&&await this[_0x2c579d(0x51b)][_0x2c579d(0x29a)](B[_0x2c579d(0x4d5)]['id'],{'unitId':_0x231311[_0x2c579d(0x25a)](),'subUnitId':_0x4360e0});}async['_loadSheet'](_0x515898){const _0x2a1ef0=_0x56d4b2;let _0x4bb778=0x0;const _0x1ef3c1=await this[_0x2a1ef0(0x56a)][_0x2a1ef0(0x3f6)](_0x515898);return _0x1ef3c1&&(_0x1ef3c1[_0x2a1ef0(0x556)]||_0x1ef3c1[_0x2a1ef0(0x48c)]['length']!==0x0)&&(_0x4bb778=_0x1ef3c1[_0x2a1ef0(0x554)]),_0x4bb778===0x0&&this[_0x2a1ef0(0x529)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2a1ef0(0x401)][_0x2a1ef0(0x1d9)](_0x515898,_0x4bb778);}async[_0x56d4b2(0x469)](_0x4a5aab){const _0x1db413=_0x56d4b2;let _0x4f0c48=0x0;const _0x12c961=await this[_0x1db413(0x56a)][_0x1db413(0x3f6)](_0x4a5aab);return _0x12c961&&(_0x12c961[_0x1db413(0x556)]||_0x12c961['mutations'][_0x1db413(0x543)]!==0x0)&&(_0x4f0c48=_0x12c961[_0x1db413(0x554)]),_0x4f0c48===0x0&&this[_0x1db413(0x529)][_0x1db413(0x50f)](_0x1db413(0x536),_0x1db413(0x55d)),this[_0x1db413(0x401)]['loadDoc'](_0x4a5aab,_0x4f0c48);}},exports[_0x56d4b2(0x49b)]=zs([Re(0x0,Pt),Re(0x1,a[_0x56d4b2(0x270)]),Re(0x2,a[_0x56d4b2(0x2b1)]),Re(0x3,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),Re(0x4,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x23f)])),Re(0x5,a['Optional'](Hn['IRemoteInstanceService']))],exports[_0x56d4b2(0x49b)]);var Xs=Object[_0x56d4b2(0x3a4)],Js=Object[_0x56d4b2(0x47e)],Zs=(_0x1b83ab,_0x1e679a,_0x596c44,_0x297731)=>{const _0x191d5a=_0x56d4b2;for(var _0x4d65a5=_0x297731>0x1?void 0x0:_0x297731?Js(_0x1e679a,_0x596c44):_0x1e679a,_0x26e049=_0x1b83ab[_0x191d5a(0x543)]-0x1,_0x4042d6;_0x26e049>=0x0;_0x26e049--)(_0x4042d6=_0x1b83ab[_0x26e049])&&(_0x4d65a5=(_0x297731?_0x4042d6(_0x1e679a,_0x596c44,_0x4d65a5):_0x4042d6(_0x4d65a5))||_0x4d65a5);return _0x297731&&_0x4d65a5&&Xs(_0x1e679a,_0x596c44,_0x4d65a5),_0x4d65a5;},Wt=(_0x5dff8f,_0x3b3c69)=>(_0x1aa5b6,_0x24c310)=>_0x3b3c69(_0x1aa5b6,_0x24c310,_0x5dff8f);const Qs='DEFAULT_FILE_NAME',er='Univer';let Ve=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x31efd3,_0x49c471){const _0x555361=_0x56d4b2;super(),this['_univerInstanceService']=_0x31efd3,this[_0x555361(0x2b9)]=_0x49c471,this[_0x555361(0x507)]();}[_0x56d4b2(0x507)](){const _0x5dd1db=_0x56d4b2;this[_0x5dd1db(0x211)](this['_univerInstanceService'][_0x5dd1db(0x4ac)]['subscribe'](()=>{const _0x2087d1=_0x5dd1db;var _0x26a4d;const _0x3cbba9=this[_0x2087d1(0x2c6)][_0x2087d1(0x20c)]();let _0x61852c=(_0x26a4d=this[_0x2087d1(0x2b9)][_0x2087d1(0x3e8)](Qs))!=null?_0x26a4d:er;_0x3cbba9 instanceof a['Workbook']&&(_0x61852c=_0x3cbba9['name']),document['title']=_0x61852c;}));}};Ve=Zs([Wt(0x0,a['IUniverInstanceService']),Wt(0x1,a[_0x56d4b2(0x229)])],Ve);var tr=Object[_0x56d4b2(0x3a4)],nr=Object['getOwnPropertyDescriptor'],ir=(_0x3d26e4,_0x4ff6b2,_0x144392,_0xc401f0)=>{const _0x4beb77=_0x56d4b2;for(var _0x39ad4e=_0xc401f0>0x1?void 0x0:_0xc401f0?nr(_0x4ff6b2,_0x144392):_0x4ff6b2,_0x412360=_0x3d26e4[_0x4beb77(0x543)]-0x1,_0x46677f;_0x412360>=0x0;_0x412360--)(_0x46677f=_0x3d26e4[_0x412360])&&(_0x39ad4e=(_0xc401f0?_0x46677f(_0x4ff6b2,_0x144392,_0x39ad4e):_0x46677f(_0x39ad4e))||_0x39ad4e);return _0xc401f0&&_0x39ad4e&&tr(_0x4ff6b2,_0x144392,_0x39ad4e),_0x39ad4e;},at=(_0x49d0b8,_0x58f81f)=>(_0x2c4ae5,_0x2b7226)=>_0x58f81f(_0x2c4ae5,_0x2b7226,_0x49d0b8);let Ge=class{constructor(_0x1d9eb,_0x5dfd68,_0x3e9096){const _0x359c22=_0x56d4b2;this[_0x359c22(0x2b9)]=_0x1d9eb,this['_httpService']=_0x5dfd68,this[_0x359c22(0x36f)]=_0x3e9096,this[_0x359c22(0x65f)]();}[_0x56d4b2(0x65f)](){const _0x1bb04c=_0x56d4b2;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5b9534,_0x482ae3)=>_0x482ae3(_0x5b9534)['pipe'](A[_0x1bb04c(0x42b)](async _0x11b3c1=>{const _0x4e94b1=_0x1bb04c,_0x558bda=_0x11b3c1;if(_0x558bda['status']===0x191&&window[_0x4e94b1(0x506)](this[_0x4e94b1(0x36f)]['t']('auth.needGotoLoginAlert'))){const _0xa1267=window[_0x4e94b1(0x269)](window[_0x4e94b1(0x263)][_0x4e94b1(0x38c)]);window[_0x4e94b1(0x263)][_0x4e94b1(0x38c)]=this[_0x4e94b1(0x2d4)]()+'?url='+_0xa1267;}return _0x558bda;}))});}['_getLoginPath'](){const _0x1ca954=_0x56d4b2;var _0x3b6785,_0x51ad21;const _0x462053=this[_0x1ca954(0x2b9)]['getConfig'](ln),_0x2fcc02=this[_0x1ca954(0x2b9)][_0x1ca954(0x3e8)](Z);return(_0x51ad21=(_0x3b6785=_0x2fcc02==null?void 0x0:_0x2fcc02[_0x1ca954(0x2e9)])!=null?_0x3b6785:_0x462053)!=null?_0x51ad21:Xn;}};Ge=ir([at(0x0,a['IConfigService']),at(0x1,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),at(0x2,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)]))],Ge);var sr=Object[_0x56d4b2(0x3a4)],rr=Object[_0x56d4b2(0x47e)],or=(_0x3ee96e,_0x352bd7,_0x75d818,_0x2b0e61)=>{const _0x21e287=_0x56d4b2;for(var _0x299413=_0x2b0e61>0x1?void 0x0:_0x2b0e61?rr(_0x352bd7,_0x75d818):_0x352bd7,_0x19bfa7=_0x3ee96e[_0x21e287(0x543)]-0x1,_0x60cfbd;_0x19bfa7>=0x0;_0x19bfa7--)(_0x60cfbd=_0x3ee96e[_0x19bfa7])&&(_0x299413=(_0x2b0e61?_0x60cfbd(_0x352bd7,_0x75d818,_0x299413):_0x60cfbd(_0x299413))||_0x299413);return _0x2b0e61&&_0x299413&&sr(_0x352bd7,_0x75d818,_0x299413),_0x299413;},Ft=(_0x6a7966,_0x264c47)=>(_0x698914,_0x770897)=>_0x264c47(_0x698914,_0x770897,_0x6a7966);const wt=_0x56d4b2(0x303),ar=_0x56d4b2(0x429);exports[_0x56d4b2(0x572)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x4bd55d,_0x210dea){const _0x3bd37c=_0x56d4b2;super(),this[_0x3bd37c(0x5d5)]=_0x4bd55d,this[_0x3bd37c(0x2b9)]=_0x210dea,this[_0x3bd37c(0x517)]();}[_0x56d4b2(0x517)](){const _0x512847=_0x56d4b2,_0x5d0560=this;this[_0x512847(0x211)](this[_0x512847(0x5d5)][_0x512847(0x63f)]({'priority':0x3e7,'interceptor':z[_0x512847(0x61d)]({'isMatch'(_0x154c9c){const _0x5f2be4=_0x512847;var _0x257187;if(_0x154c9c[_0x5f2be4(0x28f)]===_0x5f2be4(0x436)&&((_0x257187=_0x154c9c[_0x5f2be4(0x3c6)])!=null&&_0x257187[_0x5f2be4(0x1f8)])){const {objectID:_0x50db18,objectType:_0x4dcb57}=_0x154c9c[_0x5f2be4(0x3c6)][_0x5f2be4(0x1f8)]||{};if(!_0x50db18||_0x4dcb57===void 0x0)return!0x1;const _0x1c132d=_0x5d0560[_0x5f2be4(0x539)]()+'/'+_0x4dcb57+_0x5f2be4(0x27e)+_0x50db18+_0x5f2be4(0x3ed);if(_0x154c9c[_0x5f2be4(0x376)]===_0x1c132d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a0aa3){const _0x1c318f=_0x512847;var _0x31d4a9;return(_0x31d4a9=_0x4a0aa3[_0x1c318f(0x3c6)])==null?void 0x0:_0x31d4a9[_0x1c318f(0x1f8)];},'mergeParamsToRequest'(_0x36bb18,_0x7143a0){const _0x258f93=_0x512847,_0x51a091=_0x5d0560[_0x258f93(0x539)]()+_0x258f93(0x664),_0xe88ace=_0x36bb18[_0x258f93(0x29d)]((_0x5b16d5,_0x5b8800)=>{const _0x46b915=_0x258f93,{unitID:_0x3b15f0,objectID:_0x360f7c,objectType:_0x5f5b1d,actions:_0x410442}=_0x5b8800;return _0x5b16d5[_0x3b15f0]||(_0x5b16d5[_0x3b15f0]={}),_0x5b16d5[_0x3b15f0][_0x360f7c]||(_0x5b16d5[_0x3b15f0][_0x360f7c]={'objectID':_0x360f7c,'objectType':_0x5f5b1d,'actions':[]}),_0x5b16d5[_0x3b15f0][_0x360f7c][_0x46b915(0x24d)][_0x46b915(0x322)](..._0x410442),_0x5b16d5;},{}),_0x1f9e9b=[];for(const _0x58fafa in _0xe88ace)for(const _0x16e212 in _0xe88ace[_0x58fafa]){const {actions:_0x7895da,objectType:_0x21ecc7}=_0xe88ace[_0x58fafa][_0x16e212],_0x74fa1c=[...new Set(_0x7895da)];_0x1f9e9b[_0x258f93(0x322)]({'unitID':_0x58fafa,'objectID':_0x16e212,'objectType':_0x21ecc7,'actions':_0x74fa1c});}return new z[(_0x258f93(0x3fa))](_0x258f93(0x436),_0x51a091,{'headers':_0x7143a0['headers'],'withCredentials':_0x7143a0[_0x258f93(0x444)],'responseType':_0x7143a0[_0x258f93(0x566)],'body':{'requests':_0x1f9e9b}});}},{'distributeResult'(_0x58ffd2,_0x480122){const _0x436fe9=_0x512847,{objectActions:_0x40bba}=_0x58ffd2;return _0x480122[_0x436fe9(0x26d)](_0x3f5479=>{const _0xb3d3b4=_0x436fe9,{unitID:_0x6e5daa,objectID:_0x99c764,actions:_0x1a87b8}=_0x3f5479,_0x5e9c76=_0x40bba[_0xb3d3b4(0x2ad)](_0x701e80=>_0x701e80['unitID']===_0x6e5daa&&_0x701e80[_0xb3d3b4(0x4a1)]===_0x99c764),_0x419b8b=_0x1a87b8[_0xb3d3b4(0x26d)](_0x91e3b2=>_0x5e9c76==null?void 0x0:_0x5e9c76['actions'][_0xb3d3b4(0x2ad)](_0x1826d2=>_0x1826d2['action']===_0x91e3b2))['filter'](_0x591408=>!!_0x591408);return{'config':_0x3f5479,'result':{'actions':_0x419b8b,'error':_0x58ffd2[_0xb3d3b4(0x38d)]}};});}})}));}[_0x56d4b2(0x539)](){const _0x163fc2=_0x56d4b2;var _0x56af39,_0x22b8ac;const _0x560c39=this[_0x163fc2(0x2b9)]['getConfig'](wt),_0x4d536e=this[_0x163fc2(0x2b9)][_0x163fc2(0x3e8)](Z);return(_0x22b8ac=(_0x56af39=_0x4d536e==null?void 0x0:_0x4d536e['authzUrl'])!=null?_0x56af39:_0x560c39)!=null?_0x22b8ac:ar;}async[_0x56d4b2(0x228)](_0x3923ff){const _0x48257f=_0x56d4b2,_0x4db2b9=this['_getAPIPrefixPath']()+'/'+_0x3923ff[_0x48257f(0x45b)]+_0x48257f(0x43a);return(await this[_0x48257f(0x5d5)][_0x48257f(0x2a3)](_0x4db2b9,{'body':_0x3923ff}))[_0x48257f(0x1f8)][_0x48257f(0x4a1)]||'';}async[_0x56d4b2(0x60a)](_0x1036cd){const _0x42d98f=_0x56d4b2,_0x12f4f2=this[_0x42d98f(0x539)]()+_0x42d98f(0x461);return(await this['_HTTPService'][_0x42d98f(0x2a3)](_0x12f4f2,{'body':_0x1036cd}))['body'][_0x42d98f(0x293)];}async[_0x56d4b2(0x3c7)](_0x4ea9af){const _0x45b99c=_0x56d4b2,_0x208197=this['_getAPIPrefixPath']()+'/'+_0x4ea9af['objectType']+_0x45b99c(0x27e)+_0x4ea9af[_0x45b99c(0x4a1)];await this[_0x45b99c(0x5d5)][_0x45b99c(0x354)](_0x208197,{'body':_0x4ea9af});}async[_0x56d4b2(0x402)](_0x566930){const _0x40b740=_0x56d4b2,_0x44f595=this[_0x40b740(0x539)]()+'/'+_0x566930[_0x40b740(0x45b)]+_0x40b740(0x27e)+_0x566930['objectID']+_0x40b740(0x3ed);return(await this[_0x40b740(0x5d5)]['post'](_0x44f595,{'body':_0x566930}))['body']['actions'];}async[_0x56d4b2(0x56f)](_0x56520f){const _0x58a089=_0x56d4b2,_0x34f6dc=this[_0x58a089(0x539)]()+_0x58a089(0x664);return(await this[_0x58a089(0x5d5)][_0x58a089(0x2a3)](_0x34f6dc,{'body':{'requests':_0x56520f}}))[_0x58a089(0x1f8)][_0x58a089(0x464)];}async[_0x56d4b2(0x22c)](_0x5b1cd8){const _0x135c9e=_0x56d4b2,_0x14e93f=this[_0x135c9e(0x539)]()+'/'+_0x5b1cd8['objectType']+_0x135c9e(0x422),_0x1b087d=await this[_0x135c9e(0x5d5)][_0x135c9e(0x2a3)](_0x14e93f,{'body':_0x5b1cd8});return{'roles':_0x1b087d[_0x135c9e(0x1f8)][_0x135c9e(0x35c)],'actions':_0x1b087d[_0x135c9e(0x1f8)]['actions']};}async[_0x56d4b2(0x346)](_0x51b442){const _0x5c05e3=_0x56d4b2,_0x283971=this[_0x5c05e3(0x539)]()+_0x5c05e3(0x1e9);await this[_0x5c05e3(0x5d5)][_0x5c05e3(0x30c)](_0x283971,{'params':{'collaboratorID':_0x51b442[_0x5c05e3(0x4e3)],'objectID':_0x51b442[_0x5c05e3(0x4a1)],'unitID':_0x51b442[_0x5c05e3(0x5ed)]}});}async[_0x56d4b2(0x550)](_0x456328){const _0x1bdefb=_0x56d4b2,_0x21d188=this['_getAPIPrefixPath']()+_0x1bdefb(0x1e9);await this[_0x1bdefb(0x5d5)][_0x1bdefb(0x1eb)](_0x21d188,{'body':_0x456328});}async[_0x56d4b2(0x673)](_0x145380){const _0x9fb979=_0x56d4b2,_0x3a6ceb=this[_0x9fb979(0x539)]()+'/collaborator';await this[_0x9fb979(0x5d5)][_0x9fb979(0x2a3)](_0x3a6ceb,{'body':_0x145380});}async['listCollaborators'](_0x338b73){const _0x4d5a00=_0x56d4b2,_0x3a514f=this[_0x4d5a00(0x539)]()+_0x4d5a00(0x1e9);return(await this[_0x4d5a00(0x5d5)][_0x4d5a00(0x313)](_0x3a514f,{'params':{'objectID':_0x338b73[_0x4d5a00(0x4a1)],'unitID':_0x338b73['unitID']}}))['body']['collaborators'];}async[_0x56d4b2(0x347)](_0x5cfb5b){const _0xa47af2=_0x56d4b2,_0x53a1b3=this[_0xa47af2(0x539)]()+_0xa47af2(0x1e9);await this[_0xa47af2(0x5d5)][_0xa47af2(0x354)](_0x53a1b3,{'body':_0x5cfb5b});}},exports['AuthzIoHttpService']=or([Ft(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),Ft(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x229)]))],exports[_0x56d4b2(0x572)]);var On={'exports':{}};function cr(_0x2c341d){const _0x3678a4=_0x56d4b2;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2c341d+_0x3678a4(0x1e2));}var ct={'exports':{}},Vt;function oe(){const _0x117b56=_0x56d4b2;return Vt||(Vt=0x1,function(_0x377826,_0x2a3840){(function(_0x495851,_0x48e535){const _0x15f0e5=_0xe699;_0x377826[_0x15f0e5(0x514)]=_0x48e535();}(J,function(){var _0x335431=_0x335431||function(_0x249763,_0x2e67d6){const _0x1bdcb7=_0xe699;var _0x3fd7d1;if(typeof window<'u'&&window[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=window[_0x1bdcb7(0x1f1)]),typeof self<'u'&&self[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=self[_0x1bdcb7(0x1f1)]),typeof globalThis<'u'&&globalThis[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=globalThis[_0x1bdcb7(0x1f1)]),!_0x3fd7d1&&typeof window<'u'&&window[_0x1bdcb7(0x679)]&&(_0x3fd7d1=window[_0x1bdcb7(0x679)]),!_0x3fd7d1&&typeof J<'u'&&J['crypto']&&(_0x3fd7d1=J[_0x1bdcb7(0x1f1)]),!_0x3fd7d1&&typeof cr==_0x1bdcb7(0x231))try{_0x3fd7d1=require(_0x1bdcb7(0x1f1));}catch{}var _0xd9ff07=function(){const _0x2927a6=_0x1bdcb7;if(_0x3fd7d1){if(typeof _0x3fd7d1['getRandomValues']=='function')try{return _0x3fd7d1[_0x2927a6(0x560)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3fd7d1[_0x2927a6(0x29b)]=='function')try{return _0x3fd7d1[_0x2927a6(0x29b)](0x4)[_0x2927a6(0x44d)]();}catch{}}throw new Error(_0x2927a6(0x63b));},_0x2f1e56=Object[_0x1bdcb7(0x228)]||(function(){function _0x2a89b8(){}return function(_0x277cb3){const _0x48f1b9=_0xe699;var _0x491021;return _0x2a89b8[_0x48f1b9(0x535)]=_0x277cb3,_0x491021=new _0x2a89b8(),_0x2a89b8[_0x48f1b9(0x535)]=null,_0x491021;};}()),_0x5db68d={},_0x31fdf2=_0x5db68d[_0x1bdcb7(0x62b)]={},_0xa80152=_0x31fdf2['Base']=(function(){return{'extend':function(_0x2ba9cf){const _0xc5b203=_0xe699;var _0x28d50d=_0x2f1e56(this);return _0x2ba9cf&&_0x28d50d[_0xc5b203(0x3cf)](_0x2ba9cf),(!_0x28d50d['hasOwnProperty']('init')||this[_0xc5b203(0x65f)]===_0x28d50d[_0xc5b203(0x65f)])&&(_0x28d50d['init']=function(){const _0x56b4ca=_0xc5b203;_0x28d50d[_0x56b4ca(0x636)][_0x56b4ca(0x65f)][_0x56b4ca(0x326)](this,arguments);}),_0x28d50d[_0xc5b203(0x65f)][_0xc5b203(0x535)]=_0x28d50d,_0x28d50d['$super']=this,_0x28d50d;},'create':function(){const _0x3e4183=_0xe699;var _0x3bee41=this['extend']();return _0x3bee41[_0x3e4183(0x65f)]['apply'](_0x3bee41,arguments),_0x3bee41;},'init':function(){},'mixIn':function(_0x1c9149){const _0x4c6879=_0xe699;for(var _0x47c273 in _0x1c9149)_0x1c9149[_0x4c6879(0x44b)](_0x47c273)&&(this[_0x47c273]=_0x1c9149[_0x47c273]);_0x1c9149[_0x4c6879(0x44b)](_0x4c6879(0x63c))&&(this[_0x4c6879(0x63c)]=_0x1c9149['toString']);},'clone':function(){const _0x1af6b4=_0xe699;return this['init'][_0x1af6b4(0x535)][_0x1af6b4(0x27a)](this);}};}()),_0x5c66e5=_0x31fdf2[_0x1bdcb7(0x2c1)]=_0xa80152[_0x1bdcb7(0x27a)]({'init':function(_0x452d08,_0x2d3706){const _0x2f05ec=_0x1bdcb7;_0x452d08=this[_0x2f05ec(0x32b)]=_0x452d08||[],_0x2d3706!=_0x2e67d6?this[_0x2f05ec(0x415)]=_0x2d3706:this[_0x2f05ec(0x415)]=_0x452d08[_0x2f05ec(0x543)]*0x4;},'toString':function(_0x53db0a){const _0xa25c5f=_0x1bdcb7;return(_0x53db0a||_0x148caf)[_0xa25c5f(0x637)](this);},'concat':function(_0x17230b){const _0x2f0fea=_0x1bdcb7;var _0x816b98=this[_0x2f0fea(0x32b)],_0x5eeb05=_0x17230b[_0x2f0fea(0x32b)],_0x3e56c1=this[_0x2f0fea(0x415)],_0x2ad824=_0x17230b[_0x2f0fea(0x415)];if(this[_0x2f0fea(0x504)](),_0x3e56c1%0x4)for(var _0x34044d=0x0;_0x34044d<_0x2ad824;_0x34044d++){var _0x394317=_0x5eeb05[_0x34044d>>>0x2]>>>0x18-_0x34044d%0x4*0x8&0xff;_0x816b98[_0x3e56c1+_0x34044d>>>0x2]|=_0x394317<<0x18-(_0x3e56c1+_0x34044d)%0x4*0x8;}else{for(var _0x2cb140=0x0;_0x2cb140<_0x2ad824;_0x2cb140+=0x4)_0x816b98[_0x3e56c1+_0x2cb140>>>0x2]=_0x5eeb05[_0x2cb140>>>0x2];}return this['sigBytes']+=_0x2ad824,this;},'clamp':function(){const _0x43cc87=_0x1bdcb7;var _0x1a8c36=this[_0x43cc87(0x32b)],_0x141adc=this['sigBytes'];_0x1a8c36[_0x141adc>>>0x2]&=0xffffffff<<0x20-_0x141adc%0x4*0x8,_0x1a8c36[_0x43cc87(0x543)]=_0x249763['ceil'](_0x141adc/0x4);},'clone':function(){const _0x206488=_0x1bdcb7;var _0x34ac54=_0xa80152[_0x206488(0x340)][_0x206488(0x356)](this);return _0x34ac54[_0x206488(0x32b)]=this[_0x206488(0x32b)][_0x206488(0x2a4)](0x0),_0x34ac54;},'random':function(_0x3c5923){const _0x56ba72=_0x1bdcb7;for(var _0x58cdda=[],_0x2de57a=0x0;_0x2de57a<_0x3c5923;_0x2de57a+=0x4)_0x58cdda[_0x56ba72(0x322)](_0xd9ff07());return new _0x5c66e5[(_0x56ba72(0x65f))](_0x58cdda,_0x3c5923);}}),_0x96e7ef=_0x5db68d['enc']={},_0x148caf=_0x96e7ef[_0x1bdcb7(0x64f)]={'stringify':function(_0x209e48){const _0xf820ce=_0x1bdcb7;for(var _0x53f226=_0x209e48[_0xf820ce(0x32b)],_0x482164=_0x209e48[_0xf820ce(0x415)],_0x3c50a6=[],_0x1b77f0=0x0;_0x1b77f0<_0x482164;_0x1b77f0++){var _0x24819d=_0x53f226[_0x1b77f0>>>0x2]>>>0x18-_0x1b77f0%0x4*0x8&0xff;_0x3c50a6[_0xf820ce(0x322)]((_0x24819d>>>0x4)[_0xf820ce(0x63c)](0x10)),_0x3c50a6[_0xf820ce(0x322)]((_0x24819d&0xf)[_0xf820ce(0x63c)](0x10));}return _0x3c50a6[_0xf820ce(0x262)]('');},'parse':function(_0x261539){const _0x12e691=_0x1bdcb7;for(var _0x49caae=_0x261539[_0x12e691(0x543)],_0x146d1e=[],_0x340553=0x0;_0x340553<_0x49caae;_0x340553+=0x2)_0x146d1e[_0x340553>>>0x3]|=parseInt(_0x261539[_0x12e691(0x3cb)](_0x340553,0x2),0x10)<<0x18-_0x340553%0x8*0x4;return new _0x5c66e5['init'](_0x146d1e,_0x49caae/0x2);}},_0x4ae181=_0x96e7ef[_0x1bdcb7(0x5ca)]={'stringify':function(_0x2ec0a6){const _0x4f6174=_0x1bdcb7;for(var _0x1ebf4c=_0x2ec0a6['words'],_0x2fd134=_0x2ec0a6[_0x4f6174(0x415)],_0x32dc22=[],_0x17549a=0x0;_0x17549a<_0x2fd134;_0x17549a++){var _0x2e972c=_0x1ebf4c[_0x17549a>>>0x2]>>>0x18-_0x17549a%0x4*0x8&0xff;_0x32dc22['push'](String[_0x4f6174(0x577)](_0x2e972c));}return _0x32dc22[_0x4f6174(0x262)]('');},'parse':function(_0x23e1ae){const _0x566212=_0x1bdcb7;for(var _0x54a3bc=_0x23e1ae['length'],_0x564256=[],_0x1ebcde=0x0;_0x1ebcde<_0x54a3bc;_0x1ebcde++)_0x564256[_0x1ebcde>>>0x2]|=(_0x23e1ae['charCodeAt'](_0x1ebcde)&0xff)<<0x18-_0x1ebcde%0x4*0x8;return new _0x5c66e5[(_0x566212(0x65f))](_0x564256,_0x54a3bc);}},_0x3aa8c2=_0x96e7ef[_0x1bdcb7(0x650)]={'stringify':function(_0x298808){const _0x5832a1=_0x1bdcb7;try{return decodeURIComponent(escape(_0x4ae181[_0x5832a1(0x637)](_0x298808)));}catch{throw new Error(_0x5832a1(0x1ec));}},'parse':function(_0x2ce757){const _0xdee347=_0x1bdcb7;return _0x4ae181[_0xdee347(0x5db)](unescape(encodeURIComponent(_0x2ce757)));}},_0x43aa14=_0x31fdf2[_0x1bdcb7(0x471)]=_0xa80152[_0x1bdcb7(0x27a)]({'reset':function(){const _0x1e97cd=_0x1bdcb7;this[_0x1e97cd(0x687)]=new _0x5c66e5[(_0x1e97cd(0x65f))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c026d){const _0x92fe66=_0x1bdcb7;typeof _0x5c026d=='string'&&(_0x5c026d=_0x3aa8c2[_0x92fe66(0x5db)](_0x5c026d)),this[_0x92fe66(0x687)][_0x92fe66(0x505)](_0x5c026d),this[_0x92fe66(0x5c4)]+=_0x5c026d[_0x92fe66(0x415)];},'_process':function(_0x258e2d){const _0x5c6074=_0x1bdcb7;var _0xe93d8,_0x3a6fed=this[_0x5c6074(0x687)],_0x585364=_0x3a6fed[_0x5c6074(0x32b)],_0x43442b=_0x3a6fed['sigBytes'],_0x57c0fb=this[_0x5c6074(0x66b)],_0x569b6a=_0x57c0fb*0x4,_0x2d032a=_0x43442b/_0x569b6a;_0x258e2d?_0x2d032a=_0x249763[_0x5c6074(0x67c)](_0x2d032a):_0x2d032a=_0x249763[_0x5c6074(0x40d)]((_0x2d032a|0x0)-this[_0x5c6074(0x2b0)],0x0);var _0xa3a3fe=_0x2d032a*_0x57c0fb,_0x642b08=_0x249763[_0x5c6074(0x3cc)](_0xa3a3fe*0x4,_0x43442b);if(_0xa3a3fe){for(var _0x119917=0x0;_0x119917<_0xa3a3fe;_0x119917+=_0x57c0fb)this[_0x5c6074(0x216)](_0x585364,_0x119917);_0xe93d8=_0x585364[_0x5c6074(0x324)](0x0,_0xa3a3fe),_0x3a6fed['sigBytes']-=_0x642b08;}return new _0x5c66e5[(_0x5c6074(0x65f))](_0xe93d8,_0x642b08);},'clone':function(){const _0x55ad0d=_0x1bdcb7;var _0x5833f0=_0xa80152[_0x55ad0d(0x340)][_0x55ad0d(0x356)](this);return _0x5833f0[_0x55ad0d(0x687)]=this[_0x55ad0d(0x687)][_0x55ad0d(0x340)](),_0x5833f0;},'_minBufferSize':0x0});_0x31fdf2[_0x1bdcb7(0x28e)]=_0x43aa14[_0x1bdcb7(0x27a)]({'cfg':_0xa80152['extend'](),'init':function(_0x136937){const _0x16115a=_0x1bdcb7;this[_0x16115a(0x29f)]=this['cfg'][_0x16115a(0x27a)](_0x136937),this[_0x16115a(0x371)]();},'reset':function(){const _0xc9e305=_0x1bdcb7;_0x43aa14[_0xc9e305(0x371)][_0xc9e305(0x356)](this),this[_0xc9e305(0x5b4)]();},'update':function(_0x331d20){const _0x56ddba=_0x1bdcb7;return this['_append'](_0x331d20),this[_0x56ddba(0x423)](),this;},'finalize':function(_0x49d4f2){const _0x1bc515=_0x1bdcb7;_0x49d4f2&&this[_0x1bc515(0x282)](_0x49d4f2);var _0x1fb795=this[_0x1bc515(0x66a)]();return _0x1fb795;},'blockSize':0x10,'_createHelper':function(_0x137fc1){return function(_0x2fdc6c,_0x131ff4){const _0x528e82=_0xe699;return new _0x137fc1['init'](_0x131ff4)[_0x528e82(0x5cf)](_0x2fdc6c);};},'_createHmacHelper':function(_0x45caa4){return function(_0x31ac50,_0x1772f3){const _0x2abac8=_0xe699;return new _0x3815e4[(_0x2abac8(0x34e))][(_0x2abac8(0x65f))](_0x45caa4,_0x1772f3)[_0x2abac8(0x5cf)](_0x31ac50);};}});var _0x3815e4=_0x5db68d[_0x1bdcb7(0x474)]={};return _0x5db68d;}(Math);return _0x335431;}));}(ct)),ct[_0x117b56(0x514)];}var lt={'exports':{}},Gt;function Dn(){const _0x4080c7=_0x56d4b2;return Gt||(Gt=0x1,function(_0x38a8b2,_0x10b5f9){(function(_0x2cd8c8,_0x270c2c){_0x38a8b2['exports']=_0x270c2c(oe());}(J,function(_0x469295){const _0x35d09e=_0xe699;return(function(){const _0x18cdee=_0xe699;var _0x42e0fc=_0x469295,_0x3a8fa6=_0x42e0fc[_0x18cdee(0x62b)],_0xd6eba6=_0x3a8fa6['WordArray'],_0x5d130c=_0x42e0fc['enc'];_0x5d130c[_0x18cdee(0x1ee)]={'stringify':function(_0xbb845d){const _0x3dfa16=_0x18cdee;var _0x244a2d=_0xbb845d['words'],_0x3c69a7=_0xbb845d[_0x3dfa16(0x415)],_0x563077=this['_map'];_0xbb845d['clamp']();for(var _0x24c6d4=[],_0xd276c3=0x0;_0xd276c3<_0x3c69a7;_0xd276c3+=0x3)for(var _0x484bc5=_0x244a2d[_0xd276c3>>>0x2]>>>0x18-_0xd276c3%0x4*0x8&0xff,_0x25b564=_0x244a2d[_0xd276c3+0x1>>>0x2]>>>0x18-(_0xd276c3+0x1)%0x4*0x8&0xff,_0x143fb5=_0x244a2d[_0xd276c3+0x2>>>0x2]>>>0x18-(_0xd276c3+0x2)%0x4*0x8&0xff,_0x29a14b=_0x484bc5<<0x10|_0x25b564<<0x8|_0x143fb5,_0x41e95e=0x0;_0x41e95e<0x4&&_0xd276c3+_0x41e95e*0.75<_0x3c69a7;_0x41e95e++)_0x24c6d4[_0x3dfa16(0x322)](_0x563077[_0x3dfa16(0x5fe)](_0x29a14b>>>0x6*(0x3-_0x41e95e)&0x3f));var _0x540abb=_0x563077[_0x3dfa16(0x5fe)](0x40);if(_0x540abb){for(;_0x24c6d4[_0x3dfa16(0x543)]%0x4;)_0x24c6d4['push'](_0x540abb);}return _0x24c6d4[_0x3dfa16(0x262)]('');},'parse':function(_0x5da1e7){const _0xd87e30=_0x18cdee;var _0x11611e=_0x5da1e7['length'],_0x410304=this['_map'],_0x33d381=this[_0xd87e30(0x35f)];if(!_0x33d381){_0x33d381=this[_0xd87e30(0x35f)]=[];for(var _0x1dd6eb=0x0;_0x1dd6eb<_0x410304[_0xd87e30(0x543)];_0x1dd6eb++)_0x33d381[_0x410304[_0xd87e30(0x33d)](_0x1dd6eb)]=_0x1dd6eb;}var _0x1cb694=_0x410304[_0xd87e30(0x5fe)](0x40);if(_0x1cb694){var _0x444907=_0x5da1e7[_0xd87e30(0x2b3)](_0x1cb694);_0x444907!==-0x1&&(_0x11611e=_0x444907);}return _0x41a791(_0x5da1e7,_0x11611e,_0x33d381);},'_map':_0x18cdee(0x671)};function _0x41a791(_0x96f79e,_0x5705f7,_0x4c2f35){const _0x161080=_0x18cdee;for(var _0x40cbb2=[],_0x13b857=0x0,_0x3a70ef=0x0;_0x3a70ef<_0x5705f7;_0x3a70ef++)if(_0x3a70ef%0x4){var _0x5b0485=_0x4c2f35[_0x96f79e[_0x161080(0x33d)](_0x3a70ef-0x1)]<<_0x3a70ef%0x4*0x2,_0x4cbe66=_0x4c2f35[_0x96f79e['charCodeAt'](_0x3a70ef)]>>>0x6-_0x3a70ef%0x4*0x2,_0x3f66de=_0x5b0485|_0x4cbe66;_0x40cbb2[_0x13b857>>>0x2]|=_0x3f66de<<0x18-_0x13b857%0x4*0x8,_0x13b857++;}return _0xd6eba6['create'](_0x40cbb2,_0x13b857);}}()),_0x469295[_0x35d09e(0x400)][_0x35d09e(0x1ee)];}));}(lt)),lt[_0x4080c7(0x514)];}var ht={'exports':{}},Yt;function lr(){const _0xd44ace=_0x56d4b2;return Yt||(Yt=0x1,function(_0x226d0b,_0xa985e4){(function(_0x26c5b7,_0x23074d){const _0x536389=_0xe699;_0x226d0b[_0x536389(0x514)]=_0x23074d(oe());}(J,function(_0xac3d2d){const _0x2b9d79=_0xe699;return function(_0x387ef4){const _0x1782bf=_0xe699;var _0x258518=_0xac3d2d,_0x33f1b4=_0x258518[_0x1782bf(0x62b)],_0x3c7eef=_0x33f1b4['WordArray'],_0xea9321=_0x33f1b4[_0x1782bf(0x28e)],_0x580c11=_0x258518[_0x1782bf(0x474)],_0x185569=[];(function(){const _0x549478=_0x1782bf;for(var _0xc25d4c=0x0;_0xc25d4c<0x40;_0xc25d4c++)_0x185569[_0xc25d4c]=_0x387ef4[_0x549478(0x651)](_0x387ef4[_0x549478(0x1d8)](_0xc25d4c+0x1))*0x100000000|0x0;}());var _0x425314=_0x580c11[_0x1782bf(0x233)]=_0xea9321[_0x1782bf(0x27a)]({'_doReset':function(){const _0x38122d=_0x1782bf;this[_0x38122d(0x2ec)]=new _0x3c7eef[(_0x38122d(0x65f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x240ca7,_0x4c0fdc){const _0x7cd48=_0x1782bf;for(var _0x2fee39=0x0;_0x2fee39<0x10;_0x2fee39++){var _0x21d07b=_0x4c0fdc+_0x2fee39,_0x57b88a=_0x240ca7[_0x21d07b];_0x240ca7[_0x21d07b]=(_0x57b88a<<0x8|_0x57b88a>>>0x18)&0xff00ff|(_0x57b88a<<0x18|_0x57b88a>>>0x8)&0xff00ff00;}var _0x4ef508=this[_0x7cd48(0x2ec)][_0x7cd48(0x32b)],_0x5af056=_0x240ca7[_0x4c0fdc+0x0],_0x93b24e=_0x240ca7[_0x4c0fdc+0x1],_0x46ab39=_0x240ca7[_0x4c0fdc+0x2],_0x1fe556=_0x240ca7[_0x4c0fdc+0x3],_0x1553f5=_0x240ca7[_0x4c0fdc+0x4],_0x34398b=_0x240ca7[_0x4c0fdc+0x5],_0x1832dc=_0x240ca7[_0x4c0fdc+0x6],_0x5c808a=_0x240ca7[_0x4c0fdc+0x7],_0x3c0468=_0x240ca7[_0x4c0fdc+0x8],_0xdddd43=_0x240ca7[_0x4c0fdc+0x9],_0xbda194=_0x240ca7[_0x4c0fdc+0xa],_0x1d0306=_0x240ca7[_0x4c0fdc+0xb],_0x3b7142=_0x240ca7[_0x4c0fdc+0xc],_0x122f10=_0x240ca7[_0x4c0fdc+0xd],_0x3866ed=_0x240ca7[_0x4c0fdc+0xe],_0x5b46ec=_0x240ca7[_0x4c0fdc+0xf],_0x30bbb5=_0x4ef508[0x0],_0x5f15ca=_0x4ef508[0x1],_0x17cb7f=_0x4ef508[0x2],_0x269ee7=_0x4ef508[0x3];_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x5af056,0x7,_0x185569[0x0]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x93b24e,0xc,_0x185569[0x1]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x46ab39,0x11,_0x185569[0x2]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1fe556,0x16,_0x185569[0x3]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x1553f5,0x7,_0x185569[0x4]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x34398b,0xc,_0x185569[0x5]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1832dc,0x11,_0x185569[0x6]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5c808a,0x16,_0x185569[0x7]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3c0468,0x7,_0x185569[0x8]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0xdddd43,0xc,_0x185569[0x9]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0xbda194,0x11,_0x185569[0xa]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1d0306,0x16,_0x185569[0xb]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3b7142,0x7,_0x185569[0xc]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x122f10,0xc,_0x185569[0xd]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x3866ed,0x11,_0x185569[0xe]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5b46ec,0x16,_0x185569[0xf]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x93b24e,0x5,_0x185569[0x10]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1832dc,0x9,_0x185569[0x11]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1d0306,0xe,_0x185569[0x12]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5af056,0x14,_0x185569[0x13]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x34398b,0x5,_0x185569[0x14]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0xbda194,0x9,_0x185569[0x15]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5b46ec,0xe,_0x185569[0x16]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1553f5,0x14,_0x185569[0x17]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0xdddd43,0x5,_0x185569[0x18]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3866ed,0x9,_0x185569[0x19]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1fe556,0xe,_0x185569[0x1a]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3c0468,0x14,_0x185569[0x1b]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x122f10,0x5,_0x185569[0x1c]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x46ab39,0x9,_0x185569[0x1d]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5c808a,0xe,_0x185569[0x1e]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3b7142,0x14,_0x185569[0x1f]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x34398b,0x4,_0x185569[0x20]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3c0468,0xb,_0x185569[0x21]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1d0306,0x10,_0x185569[0x22]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3866ed,0x17,_0x185569[0x23]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x93b24e,0x4,_0x185569[0x24]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1553f5,0xb,_0x185569[0x25]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5c808a,0x10,_0x185569[0x26]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0xbda194,0x17,_0x185569[0x27]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x122f10,0x4,_0x185569[0x28]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5af056,0xb,_0x185569[0x29]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1fe556,0x10,_0x185569[0x2a]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1832dc,0x17,_0x185569[0x2b]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0xdddd43,0x4,_0x185569[0x2c]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3b7142,0xb,_0x185569[0x2d]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5b46ec,0x10,_0x185569[0x2e]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x46ab39,0x17,_0x185569[0x2f]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x5af056,0x6,_0x185569[0x30]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5c808a,0xa,_0x185569[0x31]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x3866ed,0xf,_0x185569[0x32]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x34398b,0x15,_0x185569[0x33]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3b7142,0x6,_0x185569[0x34]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1fe556,0xa,_0x185569[0x35]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0xbda194,0xf,_0x185569[0x36]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x93b24e,0x15,_0x185569[0x37]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3c0468,0x6,_0x185569[0x38]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5b46ec,0xa,_0x185569[0x39]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1832dc,0xf,_0x185569[0x3a]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x122f10,0x15,_0x185569[0x3b]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x1553f5,0x6,_0x185569[0x3c]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1d0306,0xa,_0x185569[0x3d]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x46ab39,0xf,_0x185569[0x3e]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0xdddd43,0x15,_0x185569[0x3f]),_0x4ef508[0x0]=_0x4ef508[0x0]+_0x30bbb5|0x0,_0x4ef508[0x1]=_0x4ef508[0x1]+_0x5f15ca|0x0,_0x4ef508[0x2]=_0x4ef508[0x2]+_0x17cb7f|0x0,_0x4ef508[0x3]=_0x4ef508[0x3]+_0x269ee7|0x0;},'_doFinalize':function(){const _0x5ba751=_0x1782bf;var _0x19d03a=this['_data'],_0x1f931d=_0x19d03a['words'],_0x335abe=this[_0x5ba751(0x5c4)]*0x8,_0x407de=_0x19d03a[_0x5ba751(0x415)]*0x8;_0x1f931d[_0x407de>>>0x5]|=0x80<<0x18-_0x407de%0x20;var _0x46974a=_0x387ef4[_0x5ba751(0x5df)](_0x335abe/0x100000000),_0x1da072=_0x335abe;_0x1f931d[(_0x407de+0x40>>>0x9<<0x4)+0xf]=(_0x46974a<<0x8|_0x46974a>>>0x18)&0xff00ff|(_0x46974a<<0x18|_0x46974a>>>0x8)&0xff00ff00,_0x1f931d[(_0x407de+0x40>>>0x9<<0x4)+0xe]=(_0x1da072<<0x8|_0x1da072>>>0x18)&0xff00ff|(_0x1da072<<0x18|_0x1da072>>>0x8)&0xff00ff00,_0x19d03a[_0x5ba751(0x415)]=(_0x1f931d[_0x5ba751(0x543)]+0x1)*0x4,this['_process']();for(var _0x4ba4d3=this[_0x5ba751(0x2ec)],_0x4b93b2=_0x4ba4d3[_0x5ba751(0x32b)],_0xa57ef=0x0;_0xa57ef<0x4;_0xa57ef++){var _0x1189d2=_0x4b93b2[_0xa57ef];_0x4b93b2[_0xa57ef]=(_0x1189d2<<0x8|_0x1189d2>>>0x18)&0xff00ff|(_0x1189d2<<0x18|_0x1189d2>>>0x8)&0xff00ff00;}return _0x4ba4d3;},'clone':function(){const _0x1d8a5a=_0x1782bf;var _0x567484=_0xea9321[_0x1d8a5a(0x340)]['call'](this);return _0x567484[_0x1d8a5a(0x2ec)]=this[_0x1d8a5a(0x2ec)][_0x1d8a5a(0x340)](),_0x567484;}});function _0x40ed7b(_0x4a5ed5,_0x70864f,_0x3e092d,_0x540da5,_0x1326b2,_0x1d6971,_0xb54f00){var _0x55b7e5=_0x4a5ed5+(_0x70864f&_0x3e092d|~_0x70864f&_0x540da5)+_0x1326b2+_0xb54f00;return(_0x55b7e5<<_0x1d6971|_0x55b7e5>>>0x20-_0x1d6971)+_0x70864f;}function _0x4e1648(_0x28f9e2,_0x377666,_0x4503bb,_0x3998b7,_0x2caf79,_0x1b1b40,_0x388d25){var _0x4a44a4=_0x28f9e2+(_0x377666&_0x3998b7|_0x4503bb&~_0x3998b7)+_0x2caf79+_0x388d25;return(_0x4a44a4<<_0x1b1b40|_0x4a44a4>>>0x20-_0x1b1b40)+_0x377666;}function _0x57f280(_0x468b09,_0x14b47b,_0x21afb7,_0x3f53a7,_0x5d1e50,_0x28b8d4,_0xaf3552){var _0x2ee163=_0x468b09+(_0x14b47b^_0x21afb7^_0x3f53a7)+_0x5d1e50+_0xaf3552;return(_0x2ee163<<_0x28b8d4|_0x2ee163>>>0x20-_0x28b8d4)+_0x14b47b;}function _0xd2a936(_0x215352,_0x5b9c9d,_0x1128c1,_0x260305,_0xd6baea,_0x1df385,_0x4c6484){var _0xc542cd=_0x215352+(_0x1128c1^(_0x5b9c9d|~_0x260305))+_0xd6baea+_0x4c6484;return(_0xc542cd<<_0x1df385|_0xc542cd>>>0x20-_0x1df385)+_0x5b9c9d;}_0x258518['MD5']=_0xea9321['_createHelper'](_0x425314),_0x258518[_0x1782bf(0x672)]=_0xea9321['_createHmacHelper'](_0x425314);}(Math),_0xac3d2d[_0x2b9d79(0x233)];}));}(ht)),ht[_0xd44ace(0x514)];}var _t={'exports':{}},ut={'exports':{}},Kt;function hr(){const _0x30ade4=_0x56d4b2;return Kt||(Kt=0x1,function(_0x2792dd,_0x395906){(function(_0x206fc4,_0x1504e9){const _0x582342=_0xe699;_0x2792dd[_0x582342(0x514)]=_0x1504e9(oe());}(J,function(_0x52a6d8){const _0x4879de=_0xe699;return(function(){const _0x1088bc=_0xe699;var _0x795eff=_0x52a6d8,_0x559da6=_0x795eff[_0x1088bc(0x62b)],_0x3b1645=_0x559da6[_0x1088bc(0x2c1)],_0x3aa091=_0x559da6[_0x1088bc(0x28e)],_0x36bebb=_0x795eff['algo'],_0x94a8e=[],_0x533348=_0x36bebb[_0x1088bc(0x5bd)]=_0x3aa091[_0x1088bc(0x27a)]({'_doReset':function(){const _0x16217b=_0x1088bc;this[_0x16217b(0x2ec)]=new _0x3b1645[(_0x16217b(0x65f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f7c2e,_0x2f7085){const _0xfed678=_0x1088bc;for(var _0x587d1d=this[_0xfed678(0x2ec)][_0xfed678(0x32b)],_0x3297d7=_0x587d1d[0x0],_0x196f7d=_0x587d1d[0x1],_0x4b6d1b=_0x587d1d[0x2],_0x3383b6=_0x587d1d[0x3],_0x220424=_0x587d1d[0x4],_0xa509ec=0x0;_0xa509ec<0x50;_0xa509ec++){if(_0xa509ec<0x10)_0x94a8e[_0xa509ec]=_0x3f7c2e[_0x2f7085+_0xa509ec]|0x0;else{var _0x7d6d44=_0x94a8e[_0xa509ec-0x3]^_0x94a8e[_0xa509ec-0x8]^_0x94a8e[_0xa509ec-0xe]^_0x94a8e[_0xa509ec-0x10];_0x94a8e[_0xa509ec]=_0x7d6d44<<0x1|_0x7d6d44>>>0x1f;}var _0x43ba84=(_0x3297d7<<0x5|_0x3297d7>>>0x1b)+_0x220424+_0x94a8e[_0xa509ec];_0xa509ec<0x14?_0x43ba84+=(_0x196f7d&_0x4b6d1b|~_0x196f7d&_0x3383b6)+0x5a827999:_0xa509ec<0x28?_0x43ba84+=(_0x196f7d^_0x4b6d1b^_0x3383b6)+0x6ed9eba1:_0xa509ec<0x3c?_0x43ba84+=(_0x196f7d&_0x4b6d1b|_0x196f7d&_0x3383b6|_0x4b6d1b&_0x3383b6)-0x70e44324:_0x43ba84+=(_0x196f7d^_0x4b6d1b^_0x3383b6)-0x359d3e2a,_0x220424=_0x3383b6,_0x3383b6=_0x4b6d1b,_0x4b6d1b=_0x196f7d<<0x1e|_0x196f7d>>>0x2,_0x196f7d=_0x3297d7,_0x3297d7=_0x43ba84;}_0x587d1d[0x0]=_0x587d1d[0x0]+_0x3297d7|0x0,_0x587d1d[0x1]=_0x587d1d[0x1]+_0x196f7d|0x0,_0x587d1d[0x2]=_0x587d1d[0x2]+_0x4b6d1b|0x0,_0x587d1d[0x3]=_0x587d1d[0x3]+_0x3383b6|0x0,_0x587d1d[0x4]=_0x587d1d[0x4]+_0x220424|0x0;},'_doFinalize':function(){const _0x4b7d1e=_0x1088bc;var _0x3e35c5=this[_0x4b7d1e(0x687)],_0x2d467c=_0x3e35c5[_0x4b7d1e(0x32b)],_0x1aa703=this[_0x4b7d1e(0x5c4)]*0x8,_0x38875f=_0x3e35c5[_0x4b7d1e(0x415)]*0x8;return _0x2d467c[_0x38875f>>>0x5]|=0x80<<0x18-_0x38875f%0x20,_0x2d467c[(_0x38875f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1aa703/0x100000000),_0x2d467c[(_0x38875f+0x40>>>0x9<<0x4)+0xf]=_0x1aa703,_0x3e35c5[_0x4b7d1e(0x415)]=_0x2d467c[_0x4b7d1e(0x543)]*0x4,this[_0x4b7d1e(0x423)](),this[_0x4b7d1e(0x2ec)];},'clone':function(){const _0x290a8e=_0x1088bc;var _0x123508=_0x3aa091[_0x290a8e(0x340)][_0x290a8e(0x356)](this);return _0x123508[_0x290a8e(0x2ec)]=this[_0x290a8e(0x2ec)][_0x290a8e(0x340)](),_0x123508;}});_0x795eff[_0x1088bc(0x5bd)]=_0x3aa091[_0x1088bc(0x252)](_0x533348),_0x795eff[_0x1088bc(0x4c4)]=_0x3aa091[_0x1088bc(0x4fa)](_0x533348);}()),_0x52a6d8[_0x4879de(0x5bd)];}));}(ut)),ut[_0x30ade4(0x514)];}var dt={'exports':{}},qt;function _r(){const _0x157cac=_0x56d4b2;return qt||(qt=0x1,function(_0x4e82ef,_0x412cc3){(function(_0x4834af,_0x237b8b){_0x4e82ef['exports']=_0x237b8b(oe());}(J,function(_0x598380){(function(){const _0x30e1f6=_0xe699;var _0x25b9ec=_0x598380,_0x405fa7=_0x25b9ec[_0x30e1f6(0x62b)],_0x1d3707=_0x405fa7['Base'],_0x5bac5c=_0x25b9ec[_0x30e1f6(0x400)],_0x23ee45=_0x5bac5c[_0x30e1f6(0x650)],_0x1f3dac=_0x25b9ec[_0x30e1f6(0x474)];_0x1f3dac[_0x30e1f6(0x34e)]=_0x1d3707[_0x30e1f6(0x27a)]({'init':function(_0xc97d92,_0x225646){const _0x303d68=_0x30e1f6;_0xc97d92=this['_hasher']=new _0xc97d92[(_0x303d68(0x65f))](),typeof _0x225646==_0x303d68(0x5e7)&&(_0x225646=_0x23ee45[_0x303d68(0x5db)](_0x225646));var _0x4b8f13=_0xc97d92[_0x303d68(0x66b)],_0x112385=_0x4b8f13*0x4;_0x225646[_0x303d68(0x415)]>_0x112385&&(_0x225646=_0xc97d92[_0x303d68(0x5cf)](_0x225646)),_0x225646[_0x303d68(0x504)]();for(var _0x1603e7=this['_oKey']=_0x225646[_0x303d68(0x340)](),_0x5174c5=this['_iKey']=_0x225646['clone'](),_0x1fe47a=_0x1603e7['words'],_0x10ee64=_0x5174c5[_0x303d68(0x32b)],_0x55025d=0x0;_0x55025d<_0x4b8f13;_0x55025d++)_0x1fe47a[_0x55025d]^=0x5c5c5c5c,_0x10ee64[_0x55025d]^=0x36363636;_0x1603e7['sigBytes']=_0x5174c5[_0x303d68(0x415)]=_0x112385,this['reset']();},'reset':function(){const _0x5b072b=_0x30e1f6;var _0x291c5f=this[_0x5b072b(0x42f)];_0x291c5f[_0x5b072b(0x371)](),_0x291c5f[_0x5b072b(0x3c7)](this[_0x5b072b(0x1ce)]);},'update':function(_0x5db26c){const _0x43dbba=_0x30e1f6;return this[_0x43dbba(0x42f)][_0x43dbba(0x3c7)](_0x5db26c),this;},'finalize':function(_0x5f5410){const _0x459c9f=_0x30e1f6;var _0x12e606=this['_hasher'],_0x29394a=_0x12e606[_0x459c9f(0x5cf)](_0x5f5410);_0x12e606[_0x459c9f(0x371)]();var _0x4ea89d=_0x12e606[_0x459c9f(0x5cf)](this[_0x459c9f(0x674)][_0x459c9f(0x340)]()[_0x459c9f(0x505)](_0x29394a));return _0x4ea89d;}});}());}));}(dt)),dt[_0x157cac(0x514)];}var zt;function Pn(){return zt||(zt=0x1,function(_0x482fef,_0x2ee4ac){(function(_0x8bb246,_0x59da14,_0x5ddae8){const _0x49e0bc=_0xe699;_0x482fef[_0x49e0bc(0x514)]=_0x59da14(oe(),hr(),_r());}(J,function(_0x17d3c3){const _0x3a2d94=_0xe699;return(function(){const _0x364a4c=_0xe699;var _0x4c8157=_0x17d3c3,_0x24db0a=_0x4c8157[_0x364a4c(0x62b)],_0x278007=_0x24db0a['Base'],_0x4d6590=_0x24db0a[_0x364a4c(0x2c1)],_0x2c634f=_0x4c8157['algo'],_0x344f78=_0x2c634f[_0x364a4c(0x233)],_0x1ba00a=_0x2c634f[_0x364a4c(0x643)]=_0x278007['extend']({'cfg':_0x278007[_0x364a4c(0x27a)]({'keySize':0x80/0x20,'hasher':_0x344f78,'iterations':0x1}),'init':function(_0x2eff6f){const _0x430d0d=_0x364a4c;this[_0x430d0d(0x29f)]=this['cfg'][_0x430d0d(0x27a)](_0x2eff6f);},'compute':function(_0x5bfbe0,_0x20c9f2){const _0x11bcd9=_0x364a4c;for(var _0x143e37,_0xfb2377=this[_0x11bcd9(0x29f)],_0x5ddf6a=_0xfb2377['hasher'][_0x11bcd9(0x228)](),_0x18d3d9=_0x4d6590['create'](),_0x4d2828=_0x18d3d9[_0x11bcd9(0x32b)],_0x5b06e8=_0xfb2377[_0x11bcd9(0x614)],_0x56c7cb=_0xfb2377[_0x11bcd9(0x2d5)];_0x4d2828['length']<_0x5b06e8;){_0x143e37&&_0x5ddf6a['update'](_0x143e37),_0x143e37=_0x5ddf6a[_0x11bcd9(0x3c7)](_0x5bfbe0)['finalize'](_0x20c9f2),_0x5ddf6a[_0x11bcd9(0x371)]();for(var _0x12a208=0x1;_0x12a208<_0x56c7cb;_0x12a208++)_0x143e37=_0x5ddf6a[_0x11bcd9(0x5cf)](_0x143e37),_0x5ddf6a['reset']();_0x18d3d9[_0x11bcd9(0x505)](_0x143e37);}return _0x18d3d9[_0x11bcd9(0x415)]=_0x5b06e8*0x4,_0x18d3d9;}});_0x4c8157[_0x364a4c(0x643)]=function(_0x2e85b8,_0x282f5c,_0x3132c7){const _0x4cea1d=_0x364a4c;return _0x1ba00a[_0x4cea1d(0x228)](_0x3132c7)[_0x4cea1d(0x47a)](_0x2e85b8,_0x282f5c);};}()),_0x17d3c3[_0x3a2d94(0x643)];}));}(_t)),_t['exports'];}var ft={'exports':{}},Xt;function wn(){const _0x43efb2=_0x56d4b2;return Xt||(Xt=0x1,function(_0x2525b8,_0x4c6252){(function(_0x563b6f,_0x1ff574,_0x27d16e){const _0x31fb88=_0xe699;_0x2525b8[_0x31fb88(0x514)]=_0x1ff574(oe(),Pn());}(J,function(_0x9c30f){const _0x21c90f=_0xe699;_0x9c30f[_0x21c90f(0x62b)][_0x21c90f(0x2da)]||function(_0x45e03d){const _0x1797b0=_0x21c90f;var _0x246600=_0x9c30f,_0x356653=_0x246600[_0x1797b0(0x62b)],_0x536719=_0x356653[_0x1797b0(0x432)],_0x367109=_0x356653['WordArray'],_0x29a040=_0x356653['BufferedBlockAlgorithm'],_0x5da891=_0x246600[_0x1797b0(0x400)];_0x5da891[_0x1797b0(0x650)];var _0x2d1121=_0x5da891['Base64'],_0x2e5660=_0x246600['algo'],_0xac688d=_0x2e5660['EvpKDF'],_0x246b2b=_0x356653[_0x1797b0(0x2da)]=_0x29a040[_0x1797b0(0x27a)]({'cfg':_0x536719[_0x1797b0(0x27a)](),'createEncryptor':function(_0x47a69e,_0x46c036){const _0x4518bb=_0x1797b0;return this[_0x4518bb(0x228)](this[_0x4518bb(0x39a)],_0x47a69e,_0x46c036);},'createDecryptor':function(_0x121607,_0x4bc420){const _0x1436d5=_0x1797b0;return this[_0x1436d5(0x228)](this['_DEC_XFORM_MODE'],_0x121607,_0x4bc420);},'init':function(_0x1ac1a2,_0x486528,_0x51d902){const _0x559646=_0x1797b0;this[_0x559646(0x29f)]=this[_0x559646(0x29f)]['extend'](_0x51d902),this[_0x559646(0x39f)]=_0x1ac1a2,this['_key']=_0x486528,this[_0x559646(0x371)]();},'reset':function(){const _0x393c46=_0x1797b0;_0x29a040[_0x393c46(0x371)][_0x393c46(0x356)](this),this[_0x393c46(0x5b4)]();},'process':function(_0x4bb0d5){const _0x1a1326=_0x1797b0;return this[_0x1a1326(0x282)](_0x4bb0d5),this['_process']();},'finalize':function(_0x11a8df){const _0x2f8521=_0x1797b0;_0x11a8df&&this[_0x2f8521(0x282)](_0x11a8df);var _0x44391f=this[_0x2f8521(0x66a)]();return _0x44391f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4a81db(_0x32d737){const _0x4d55b8=_0xe699;return typeof _0x32d737==_0x4d55b8(0x5e7)?_0x41ee2c:_0xe029d6;}return function(_0x527d46){return{'encrypt':function(_0x1c610c,_0x1c9663,_0x44ef6d){return _0x4a81db(_0x1c9663)['encrypt'](_0x527d46,_0x1c610c,_0x1c9663,_0x44ef6d);},'decrypt':function(_0x24aa52,_0x6e25b9,_0x4a6306){const _0x5c531d=_0xe699;return _0x4a81db(_0x6e25b9)[_0x5c531d(0x2f2)](_0x527d46,_0x24aa52,_0x6e25b9,_0x4a6306);}};};}())});_0x356653['StreamCipher']=_0x246b2b[_0x1797b0(0x27a)]({'_doFinalize':function(){var _0x2d8b20=this['_process'](!0x0);return _0x2d8b20;},'blockSize':0x1});var _0x3f1610=_0x246600[_0x1797b0(0x28b)]={},_0x27ab66=_0x356653['BlockCipherMode']=_0x536719['extend']({'createEncryptor':function(_0x5c046e,_0x429baf){const _0x9aa471=_0x1797b0;return this[_0x9aa471(0x2e8)][_0x9aa471(0x228)](_0x5c046e,_0x429baf);},'createDecryptor':function(_0x8e846b,_0x3063fe){const _0x316856=_0x1797b0;return this[_0x316856(0x5ea)]['create'](_0x8e846b,_0x3063fe);},'init':function(_0x3f0942,_0x570bb0){const _0x28c1ef=_0x1797b0;this[_0x28c1ef(0x677)]=_0x3f0942,this[_0x28c1ef(0x61f)]=_0x570bb0;}}),_0x56de7c=_0x3f1610['CBC']=(function(){const _0x472007=_0x1797b0;var _0x412ab9=_0x27ab66['extend']();_0x412ab9[_0x472007(0x2e8)]=_0x412ab9[_0x472007(0x27a)]({'processBlock':function(_0x25ee34,_0x51a004){const _0x13ba29=_0x472007;var _0x1b9f3e=this[_0x13ba29(0x677)],_0x3a75a9=_0x1b9f3e[_0x13ba29(0x66b)];_0x77ea72[_0x13ba29(0x356)](this,_0x25ee34,_0x51a004,_0x3a75a9),_0x1b9f3e['encryptBlock'](_0x25ee34,_0x51a004),this[_0x13ba29(0x67b)]=_0x25ee34[_0x13ba29(0x2a4)](_0x51a004,_0x51a004+_0x3a75a9);}}),_0x412ab9[_0x472007(0x5ea)]=_0x412ab9['extend']({'processBlock':function(_0x35d21f,_0x1bd487){const _0x2cd55a=_0x472007;var _0x485fa2=this[_0x2cd55a(0x677)],_0x389b4e=_0x485fa2[_0x2cd55a(0x66b)],_0x6c5250=_0x35d21f['slice'](_0x1bd487,_0x1bd487+_0x389b4e);_0x485fa2[_0x2cd55a(0x450)](_0x35d21f,_0x1bd487),_0x77ea72['call'](this,_0x35d21f,_0x1bd487,_0x389b4e),this[_0x2cd55a(0x67b)]=_0x6c5250;}});function _0x77ea72(_0x5ea761,_0x12a0b9,_0x1a1f84){const _0x5c883f=_0x472007;var _0x5d7667,_0x5a6d58=this[_0x5c883f(0x61f)];_0x5a6d58?(_0x5d7667=_0x5a6d58,this[_0x5c883f(0x61f)]=_0x45e03d):_0x5d7667=this['_prevBlock'];for(var _0x33cb48=0x0;_0x33cb48<_0x1a1f84;_0x33cb48++)_0x5ea761[_0x12a0b9+_0x33cb48]^=_0x5d7667[_0x33cb48];}return _0x412ab9;}()),_0x2f7ba0=_0x246600[_0x1797b0(0x4cc)]={},_0x8d760a=_0x2f7ba0[_0x1797b0(0x512)]={'pad':function(_0x273946,_0x365b2c){const _0x443a51=_0x1797b0;for(var _0x22768f=_0x365b2c*0x4,_0x57a5a4=_0x22768f-_0x273946[_0x443a51(0x415)]%_0x22768f,_0x58414a=_0x57a5a4<<0x18|_0x57a5a4<<0x10|_0x57a5a4<<0x8|_0x57a5a4,_0x36d943=[],_0x21f0b6=0x0;_0x21f0b6<_0x57a5a4;_0x21f0b6+=0x4)_0x36d943['push'](_0x58414a);var _0x3eaa7b=_0x367109[_0x443a51(0x228)](_0x36d943,_0x57a5a4);_0x273946[_0x443a51(0x505)](_0x3eaa7b);},'unpad':function(_0x1c28bd){const _0x548a9b=_0x1797b0;var _0x57ce64=_0x1c28bd[_0x548a9b(0x32b)][_0x1c28bd[_0x548a9b(0x415)]-0x1>>>0x2]&0xff;_0x1c28bd[_0x548a9b(0x415)]-=_0x57ce64;}};_0x356653[_0x1797b0(0x285)]=_0x246b2b[_0x1797b0(0x27a)]({'cfg':_0x246b2b[_0x1797b0(0x29f)][_0x1797b0(0x27a)]({'mode':_0x56de7c,'padding':_0x8d760a}),'reset':function(){const _0x4e4dfc=_0x1797b0;var _0x498bcc;_0x246b2b[_0x4e4dfc(0x371)]['call'](this);var _0x54aaf2=this[_0x4e4dfc(0x29f)],_0x2b66ab=_0x54aaf2['iv'],_0x507fab=_0x54aaf2[_0x4e4dfc(0x28b)];this[_0x4e4dfc(0x39f)]==this[_0x4e4dfc(0x39a)]?_0x498bcc=_0x507fab[_0x4e4dfc(0x62d)]:(_0x498bcc=_0x507fab['createDecryptor'],this[_0x4e4dfc(0x2b0)]=0x1),this[_0x4e4dfc(0x391)]&&this[_0x4e4dfc(0x391)]['__creator']==_0x498bcc?this[_0x4e4dfc(0x391)][_0x4e4dfc(0x65f)](this,_0x2b66ab&&_0x2b66ab[_0x4e4dfc(0x32b)]):(this[_0x4e4dfc(0x391)]=_0x498bcc[_0x4e4dfc(0x356)](_0x507fab,this,_0x2b66ab&&_0x2b66ab[_0x4e4dfc(0x32b)]),this[_0x4e4dfc(0x391)][_0x4e4dfc(0x278)]=_0x498bcc);},'_doProcessBlock':function(_0x39ae97,_0xa70d6){const _0x5b011d=_0x1797b0;this[_0x5b011d(0x391)]['processBlock'](_0x39ae97,_0xa70d6);},'_doFinalize':function(){const _0x2dfcea=_0x1797b0;var _0x4d9310,_0xcaab1c=this[_0x2dfcea(0x29f)][_0x2dfcea(0x46a)];return this[_0x2dfcea(0x39f)]==this[_0x2dfcea(0x39a)]?(_0xcaab1c[_0x2dfcea(0x4cc)](this[_0x2dfcea(0x687)],this[_0x2dfcea(0x66b)]),_0x4d9310=this[_0x2dfcea(0x423)](!0x0)):(_0x4d9310=this[_0x2dfcea(0x423)](!0x0),_0xcaab1c[_0x2dfcea(0x297)](_0x4d9310)),_0x4d9310;},'blockSize':0x80/0x20});var _0x480c85=_0x356653[_0x1797b0(0x375)]=_0x536719[_0x1797b0(0x27a)]({'init':function(_0x5127a4){const _0x78824f=_0x1797b0;this[_0x78824f(0x3cf)](_0x5127a4);},'toString':function(_0xb86ae4){const _0x273cc8=_0x1797b0;return(_0xb86ae4||this[_0x273cc8(0x403)])[_0x273cc8(0x637)](this);}}),_0x325955=_0x246600[_0x1797b0(0x428)]={},_0x226f85=_0x325955[_0x1797b0(0x3e2)]={'stringify':function(_0x3feac4){const _0x3dc2eb=_0x1797b0;var _0x5238d4,_0x172a7a=_0x3feac4[_0x3dc2eb(0x289)],_0x361da3=_0x3feac4[_0x3dc2eb(0x50c)];return _0x361da3?_0x5238d4=_0x367109['create']([0x53616c74,0x65645f5f])[_0x3dc2eb(0x505)](_0x361da3)['concat'](_0x172a7a):_0x5238d4=_0x172a7a,_0x5238d4[_0x3dc2eb(0x63c)](_0x2d1121);},'parse':function(_0x4ad74c){const _0xd3633f=_0x1797b0;var _0x1a7ece,_0x52f01e=_0x2d1121['parse'](_0x4ad74c),_0xe793e1=_0x52f01e[_0xd3633f(0x32b)];return _0xe793e1[0x0]==0x53616c74&&_0xe793e1[0x1]==0x65645f5f&&(_0x1a7ece=_0x367109['create'](_0xe793e1[_0xd3633f(0x2a4)](0x2,0x4)),_0xe793e1[_0xd3633f(0x324)](0x0,0x4),_0x52f01e[_0xd3633f(0x415)]-=0x10),_0x480c85[_0xd3633f(0x228)]({'ciphertext':_0x52f01e,'salt':_0x1a7ece});}},_0xe029d6=_0x356653[_0x1797b0(0x65a)]=_0x536719[_0x1797b0(0x27a)]({'cfg':_0x536719[_0x1797b0(0x27a)]({'format':_0x226f85}),'encrypt':function(_0x1db9bd,_0x25576a,_0x4faed3,_0x5873c1){const _0x148416=_0x1797b0;_0x5873c1=this[_0x148416(0x29f)][_0x148416(0x27a)](_0x5873c1);var _0x4a76b4=_0x1db9bd[_0x148416(0x62d)](_0x4faed3,_0x5873c1),_0x51d598=_0x4a76b4[_0x148416(0x5cf)](_0x25576a),_0x44e5f2=_0x4a76b4[_0x148416(0x29f)];return _0x480c85[_0x148416(0x228)]({'ciphertext':_0x51d598,'key':_0x4faed3,'iv':_0x44e5f2['iv'],'algorithm':_0x1db9bd,'mode':_0x44e5f2[_0x148416(0x28b)],'padding':_0x44e5f2[_0x148416(0x46a)],'blockSize':_0x1db9bd[_0x148416(0x66b)],'formatter':_0x5873c1[_0x148416(0x428)]});},'decrypt':function(_0x446830,_0x58a058,_0x17918a,_0x35c324){const _0x22da8a=_0x1797b0;_0x35c324=this[_0x22da8a(0x29f)][_0x22da8a(0x27a)](_0x35c324),_0x58a058=this[_0x22da8a(0x5e4)](_0x58a058,_0x35c324['format']);var _0x13c605=_0x446830['createDecryptor'](_0x17918a,_0x35c324)['finalize'](_0x58a058['ciphertext']);return _0x13c605;},'_parse':function(_0x527ec8,_0x4ca001){const _0xed53df=_0x1797b0;return typeof _0x527ec8==_0xed53df(0x5e7)?_0x4ca001[_0xed53df(0x5db)](_0x527ec8,this):_0x527ec8;}}),_0x43144a=_0x246600[_0x1797b0(0x39b)]={},_0x19a1a4=_0x43144a['OpenSSL']={'execute':function(_0x228a67,_0x821b76,_0x474d70,_0x3001bd,_0x45c43c){const _0x48321a=_0x1797b0;if(_0x3001bd||(_0x3001bd=_0x367109[_0x48321a(0x27d)](0x40/0x8)),_0x45c43c)var _0x407b02=_0xac688d[_0x48321a(0x228)]({'keySize':_0x821b76+_0x474d70,'hasher':_0x45c43c})['compute'](_0x228a67,_0x3001bd);else var _0x407b02=_0xac688d[_0x48321a(0x228)]({'keySize':_0x821b76+_0x474d70})[_0x48321a(0x47a)](_0x228a67,_0x3001bd);var _0xb99975=_0x367109[_0x48321a(0x228)](_0x407b02['words'][_0x48321a(0x2a4)](_0x821b76),_0x474d70*0x4);return _0x407b02[_0x48321a(0x415)]=_0x821b76*0x4,_0x480c85[_0x48321a(0x228)]({'key':_0x407b02,'iv':_0xb99975,'salt':_0x3001bd});}},_0x41ee2c=_0x356653[_0x1797b0(0x26b)]=_0xe029d6['extend']({'cfg':_0xe029d6[_0x1797b0(0x29f)][_0x1797b0(0x27a)]({'kdf':_0x19a1a4}),'encrypt':function(_0x55ac9c,_0x58c4d2,_0x5a0c52,_0x3a88ec){const _0x492a31=_0x1797b0;_0x3a88ec=this[_0x492a31(0x29f)][_0x492a31(0x27a)](_0x3a88ec);var _0x56fb57=_0x3a88ec[_0x492a31(0x39b)][_0x492a31(0x4b5)](_0x5a0c52,_0x55ac9c[_0x492a31(0x614)],_0x55ac9c['ivSize'],_0x3a88ec[_0x492a31(0x50c)],_0x3a88ec[_0x492a31(0x58c)]);_0x3a88ec['iv']=_0x56fb57['iv'];var _0x3107b8=_0xe029d6['encrypt']['call'](this,_0x55ac9c,_0x58c4d2,_0x56fb57['key'],_0x3a88ec);return _0x3107b8[_0x492a31(0x3cf)](_0x56fb57),_0x3107b8;},'decrypt':function(_0x1b3d6e,_0x4ff4e5,_0x2b1a51,_0x32bf41){const _0x43e884=_0x1797b0;_0x32bf41=this['cfg'][_0x43e884(0x27a)](_0x32bf41),_0x4ff4e5=this[_0x43e884(0x5e4)](_0x4ff4e5,_0x32bf41['format']);var _0x28f794=_0x32bf41[_0x43e884(0x39b)][_0x43e884(0x4b5)](_0x2b1a51,_0x1b3d6e['keySize'],_0x1b3d6e['ivSize'],_0x4ff4e5['salt'],_0x32bf41['hasher']);_0x32bf41['iv']=_0x28f794['iv'];var _0x1da994=_0xe029d6[_0x43e884(0x2f2)][_0x43e884(0x356)](this,_0x1b3d6e,_0x4ff4e5,_0x28f794[_0x43e884(0x615)],_0x32bf41);return _0x1da994;}});}();}));}(ft)),ft[_0x43efb2(0x514)];}(function(_0x5c87db,_0x17b3f8){(function(_0x20e279,_0x2c5415,_0x539e07){const _0x4fef56=_0xe699;_0x5c87db[_0x4fef56(0x514)]=_0x2c5415(oe(),Dn(),lr(),Pn(),wn());}(J,function(_0x2c23c4){const _0x3108f3=_0xe699;return(function(){const _0xf71511=_0xe699;var _0x59f8d2=_0x2c23c4,_0x348c00=_0x59f8d2['lib'],_0x4f9af8=_0x348c00[_0xf71511(0x285)],_0x593e1c=_0x59f8d2['algo'],_0x5be2d5=[],_0x24ab4b=[],_0x3f9811=[],_0x519405=[],_0x1c497e=[],_0x45a2fe=[],_0x9a8616=[],_0x5ab41c=[],_0x2b4b9e=[],_0x7bd363=[];(function(){for(var _0x255600=[],_0x47d66d=0x0;_0x47d66d<0x100;_0x47d66d++)_0x47d66d<0x80?_0x255600[_0x47d66d]=_0x47d66d<<0x1:_0x255600[_0x47d66d]=_0x47d66d<<0x1^0x11b;for(var _0x473826=0x0,_0x57b78f=0x0,_0x47d66d=0x0;_0x47d66d<0x100;_0x47d66d++){var _0x3e911c=_0x57b78f^_0x57b78f<<0x1^_0x57b78f<<0x2^_0x57b78f<<0x3^_0x57b78f<<0x4;_0x3e911c=_0x3e911c>>>0x8^_0x3e911c&0xff^0x63,_0x5be2d5[_0x473826]=_0x3e911c,_0x24ab4b[_0x3e911c]=_0x473826;var _0x1d2a5e=_0x255600[_0x473826],_0x23c041=_0x255600[_0x1d2a5e],_0x3c3a21=_0x255600[_0x23c041],_0x420b0d=_0x255600[_0x3e911c]*0x101^_0x3e911c*0x1010100;_0x3f9811[_0x473826]=_0x420b0d<<0x18|_0x420b0d>>>0x8,_0x519405[_0x473826]=_0x420b0d<<0x10|_0x420b0d>>>0x10,_0x1c497e[_0x473826]=_0x420b0d<<0x8|_0x420b0d>>>0x18,_0x45a2fe[_0x473826]=_0x420b0d;var _0x420b0d=_0x3c3a21*0x1010101^_0x23c041*0x10001^_0x1d2a5e*0x101^_0x473826*0x1010100;_0x9a8616[_0x3e911c]=_0x420b0d<<0x18|_0x420b0d>>>0x8,_0x5ab41c[_0x3e911c]=_0x420b0d<<0x10|_0x420b0d>>>0x10,_0x2b4b9e[_0x3e911c]=_0x420b0d<<0x8|_0x420b0d>>>0x18,_0x7bd363[_0x3e911c]=_0x420b0d,_0x473826?(_0x473826=_0x1d2a5e^_0x255600[_0x255600[_0x255600[_0x3c3a21^_0x1d2a5e]]],_0x57b78f^=_0x255600[_0x255600[_0x57b78f]]):_0x473826=_0x57b78f=0x1;}}());var _0x4893ff=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xc8db80=_0x593e1c[_0xf71511(0x552)]=_0x4f9af8[_0xf71511(0x27a)]({'_doReset':function(){const _0x2728f3=_0xf71511;var _0x4b8646;if(!(this['_nRounds']&&this[_0x2728f3(0x3f9)]===this[_0x2728f3(0x661)])){for(var _0x2fb83c=this[_0x2728f3(0x3f9)]=this['_key'],_0x54bca2=_0x2fb83c[_0x2728f3(0x32b)],_0x11cf8a=_0x2fb83c[_0x2728f3(0x415)]/0x4,_0xdc4852=this[_0x2728f3(0x314)]=_0x11cf8a+0x6,_0x5eb42a=(_0xdc4852+0x1)*0x4,_0x5b2f36=this[_0x2728f3(0x642)]=[],_0xa31f17=0x0;_0xa31f17<_0x5eb42a;_0xa31f17++)_0xa31f17<_0x11cf8a?_0x5b2f36[_0xa31f17]=_0x54bca2[_0xa31f17]:(_0x4b8646=_0x5b2f36[_0xa31f17-0x1],_0xa31f17%_0x11cf8a?_0x11cf8a>0x6&&_0xa31f17%_0x11cf8a==0x4&&(_0x4b8646=_0x5be2d5[_0x4b8646>>>0x18]<<0x18|_0x5be2d5[_0x4b8646>>>0x10&0xff]<<0x10|_0x5be2d5[_0x4b8646>>>0x8&0xff]<<0x8|_0x5be2d5[_0x4b8646&0xff]):(_0x4b8646=_0x4b8646<<0x8|_0x4b8646>>>0x18,_0x4b8646=_0x5be2d5[_0x4b8646>>>0x18]<<0x18|_0x5be2d5[_0x4b8646>>>0x10&0xff]<<0x10|_0x5be2d5[_0x4b8646>>>0x8&0xff]<<0x8|_0x5be2d5[_0x4b8646&0xff],_0x4b8646^=_0x4893ff[_0xa31f17/_0x11cf8a|0x0]<<0x18),_0x5b2f36[_0xa31f17]=_0x5b2f36[_0xa31f17-_0x11cf8a]^_0x4b8646);for(var _0x202016=this[_0x2728f3(0x3b1)]=[],_0x299751=0x0;_0x299751<_0x5eb42a;_0x299751++){var _0xa31f17=_0x5eb42a-_0x299751;if(_0x299751%0x4)var _0x4b8646=_0x5b2f36[_0xa31f17];else var _0x4b8646=_0x5b2f36[_0xa31f17-0x4];_0x299751<0x4||_0xa31f17<=0x4?_0x202016[_0x299751]=_0x4b8646:_0x202016[_0x299751]=_0x9a8616[_0x5be2d5[_0x4b8646>>>0x18]]^_0x5ab41c[_0x5be2d5[_0x4b8646>>>0x10&0xff]]^_0x2b4b9e[_0x5be2d5[_0x4b8646>>>0x8&0xff]]^_0x7bd363[_0x5be2d5[_0x4b8646&0xff]];}}},'encryptBlock':function(_0x10d6ca,_0x56d376){const _0x1cded3=_0xf71511;this[_0x1cded3(0x24c)](_0x10d6ca,_0x56d376,this[_0x1cded3(0x642)],_0x3f9811,_0x519405,_0x1c497e,_0x45a2fe,_0x5be2d5);},'decryptBlock':function(_0x38bb4b,_0x10d2be){const _0x3f34b2=_0xf71511;var _0x1c9e08=_0x38bb4b[_0x10d2be+0x1];_0x38bb4b[_0x10d2be+0x1]=_0x38bb4b[_0x10d2be+0x3],_0x38bb4b[_0x10d2be+0x3]=_0x1c9e08,this[_0x3f34b2(0x24c)](_0x38bb4b,_0x10d2be,this[_0x3f34b2(0x3b1)],_0x9a8616,_0x5ab41c,_0x2b4b9e,_0x7bd363,_0x24ab4b);var _0x1c9e08=_0x38bb4b[_0x10d2be+0x1];_0x38bb4b[_0x10d2be+0x1]=_0x38bb4b[_0x10d2be+0x3],_0x38bb4b[_0x10d2be+0x3]=_0x1c9e08;},'_doCryptBlock':function(_0x100bad,_0x249024,_0x5c7d2e,_0x117252,_0x587f37,_0x293273,_0x3cdc59,_0x432471){const _0x132b4d=_0xf71511;for(var _0x366918=this[_0x132b4d(0x314)],_0x35d9e7=_0x100bad[_0x249024]^_0x5c7d2e[0x0],_0x231441=_0x100bad[_0x249024+0x1]^_0x5c7d2e[0x1],_0x5bf3ed=_0x100bad[_0x249024+0x2]^_0x5c7d2e[0x2],_0x3f046e=_0x100bad[_0x249024+0x3]^_0x5c7d2e[0x3],_0x2c891c=0x4,_0x2395bc=0x1;_0x2395bc<_0x366918;_0x2395bc++){var _0x35dbf2=_0x117252[_0x35d9e7>>>0x18]^_0x587f37[_0x231441>>>0x10&0xff]^_0x293273[_0x5bf3ed>>>0x8&0xff]^_0x3cdc59[_0x3f046e&0xff]^_0x5c7d2e[_0x2c891c++],_0x37736b=_0x117252[_0x231441>>>0x18]^_0x587f37[_0x5bf3ed>>>0x10&0xff]^_0x293273[_0x3f046e>>>0x8&0xff]^_0x3cdc59[_0x35d9e7&0xff]^_0x5c7d2e[_0x2c891c++],_0x38ee39=_0x117252[_0x5bf3ed>>>0x18]^_0x587f37[_0x3f046e>>>0x10&0xff]^_0x293273[_0x35d9e7>>>0x8&0xff]^_0x3cdc59[_0x231441&0xff]^_0x5c7d2e[_0x2c891c++],_0x1f237f=_0x117252[_0x3f046e>>>0x18]^_0x587f37[_0x35d9e7>>>0x10&0xff]^_0x293273[_0x231441>>>0x8&0xff]^_0x3cdc59[_0x5bf3ed&0xff]^_0x5c7d2e[_0x2c891c++];_0x35d9e7=_0x35dbf2,_0x231441=_0x37736b,_0x5bf3ed=_0x38ee39,_0x3f046e=_0x1f237f;}var _0x35dbf2=(_0x432471[_0x35d9e7>>>0x18]<<0x18|_0x432471[_0x231441>>>0x10&0xff]<<0x10|_0x432471[_0x5bf3ed>>>0x8&0xff]<<0x8|_0x432471[_0x3f046e&0xff])^_0x5c7d2e[_0x2c891c++],_0x37736b=(_0x432471[_0x231441>>>0x18]<<0x18|_0x432471[_0x5bf3ed>>>0x10&0xff]<<0x10|_0x432471[_0x3f046e>>>0x8&0xff]<<0x8|_0x432471[_0x35d9e7&0xff])^_0x5c7d2e[_0x2c891c++],_0x38ee39=(_0x432471[_0x5bf3ed>>>0x18]<<0x18|_0x432471[_0x3f046e>>>0x10&0xff]<<0x10|_0x432471[_0x35d9e7>>>0x8&0xff]<<0x8|_0x432471[_0x231441&0xff])^_0x5c7d2e[_0x2c891c++],_0x1f237f=(_0x432471[_0x3f046e>>>0x18]<<0x18|_0x432471[_0x35d9e7>>>0x10&0xff]<<0x10|_0x432471[_0x231441>>>0x8&0xff]<<0x8|_0x432471[_0x5bf3ed&0xff])^_0x5c7d2e[_0x2c891c++];_0x100bad[_0x249024]=_0x35dbf2,_0x100bad[_0x249024+0x1]=_0x37736b,_0x100bad[_0x249024+0x2]=_0x38ee39,_0x100bad[_0x249024+0x3]=_0x1f237f;},'keySize':0x100/0x20});_0x59f8d2[_0xf71511(0x552)]=_0x4f9af8[_0xf71511(0x252)](_0xc8db80);}()),_0x2c23c4[_0x3108f3(0x552)];}));}(On));var ur=On[_0x56d4b2(0x514)];const dr=xe(ur);var fr=Dn();const Jt=xe(fr);var Un={'exports':{}};(function(_0x314d97,_0x1a0d1b){(function(_0x44a8e9,_0x504784){const _0x226a57=_0xe699;_0x314d97[_0x226a57(0x514)]=_0x504784(oe());}(J,function(_0x4edf7b){const _0xcee2c3=_0xe699;return _0x4edf7b[_0xcee2c3(0x400)][_0xcee2c3(0x650)];}));}(Un));var vr=Un[_0x56d4b2(0x514)];const Sr=xe(vr);var Mn={'exports':{}};(function(_0x18a77d,_0x33f815){(function(_0x1c6caa,_0x333340){const _0x35ab2e=_0xe699;_0x18a77d[_0x35ab2e(0x514)]=_0x333340(oe());}(J,function(_0x5146a5){const _0xb49afa=_0xe699;return(function(){const _0x33c142=_0xe699;if(typeof ArrayBuffer==_0x33c142(0x231)){var _0x21b925=_0x5146a5,_0x20b2ab=_0x21b925[_0x33c142(0x62b)],_0x321d16=_0x20b2ab['WordArray'],_0x53a08c=_0x321d16['init'],_0x5da0ca=_0x321d16['init']=function(_0x217e61){const _0x32eb7f=_0x33c142;if(_0x217e61 instanceof ArrayBuffer&&(_0x217e61=new Uint8Array(_0x217e61)),(_0x217e61 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x217e61 instanceof Uint8ClampedArray||_0x217e61 instanceof Int16Array||_0x217e61 instanceof Uint16Array||_0x217e61 instanceof Int32Array||_0x217e61 instanceof Uint32Array||_0x217e61 instanceof Float32Array||_0x217e61 instanceof Float64Array)&&(_0x217e61=new Uint8Array(_0x217e61['buffer'],_0x217e61[_0x32eb7f(0x409)],_0x217e61[_0x32eb7f(0x49a)])),_0x217e61 instanceof Uint8Array){for(var _0x5b9f95=_0x217e61['byteLength'],_0x44836a=[],_0x3371dd=0x0;_0x3371dd<_0x5b9f95;_0x3371dd++)_0x44836a[_0x3371dd>>>0x2]|=_0x217e61[_0x3371dd]<<0x18-_0x3371dd%0x4*0x8;_0x53a08c[_0x32eb7f(0x356)](this,_0x44836a,_0x5b9f95);}else _0x53a08c[_0x32eb7f(0x326)](this,arguments);};_0x5da0ca['prototype']=_0x321d16;}}()),_0x5146a5[_0xb49afa(0x62b)][_0xb49afa(0x2c1)];}));}(Mn));var pr=Mn['exports'];const mr=xe(pr);var An={'exports':{}};(function(_0x526f6e,_0x3a9d35){(function(_0x3ccc07,_0x51a991,_0x5612d9){_0x526f6e['exports']=_0x51a991(oe(),wn());}(J,function(_0x9201ca){const _0x4bd77a=_0xe699;return _0x9201ca[_0x4bd77a(0x4cc)][_0x4bd77a(0x663)]={'pad':function(){},'unpad':function(){}},_0x9201ca[_0x4bd77a(0x4cc)][_0x4bd77a(0x663)];}));}(An));var gr=An[_0x56d4b2(0x514)];const Ir=xe(gr);function Cr(_0x5cbd64,_0x247ebb){const _0x59ea05=_0x56d4b2,_0x4e69a2=_0x247ebb-_0x5cbd64[_0x59ea05(0x543)]%_0x247ebb,_0x5716f3=String[_0x59ea05(0x577)](_0x4e69a2)[_0x59ea05(0x329)](_0x4e69a2);return _0x5cbd64+_0x5716f3;}function Er(_0x4f1baa,_0x401242){const _0x2d0306=_0x56d4b2,_0x134f55=mr[_0x2d0306(0x27d)](0x10),_0x4be4ef=Cr(_0x4f1baa,0x10),_0x54387b=dr['encrypt'](Sr[_0x2d0306(0x5db)](_0x4be4ef),Jt[_0x2d0306(0x5db)](_0x401242),{'iv':_0x134f55,'padding':Ir});return _0x134f55[_0x2d0306(0x505)](_0x54387b[_0x2d0306(0x289)])[_0x2d0306(0x63c)](Jt);}function br(){const _0x135211=_0x56d4b2,_0x4e94e3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4e94e3){const _0x4cf1be={'time':Math[_0x135211(0x5df)](Date['now']()/0x3e8),'domain':location[_0x135211(0x367)]};return Er(JSON[_0x135211(0x637)](_0x4cf1be),_0x4e94e3);}}var Tr=Object[_0x56d4b2(0x3a4)],Rr=Object[_0x56d4b2(0x47e)],yr=(_0x36b60d,_0x43b00c,_0x35170d,_0x3cb79f)=>{const _0xcba5be=_0x56d4b2;for(var _0x544753=_0x3cb79f>0x1?void 0x0:_0x3cb79f?Rr(_0x43b00c,_0x35170d):_0x43b00c,_0x1dd4b3=_0x36b60d[_0xcba5be(0x543)]-0x1,_0x2b8869;_0x1dd4b3>=0x0;_0x1dd4b3--)(_0x2b8869=_0x36b60d[_0x1dd4b3])&&(_0x544753=(_0x3cb79f?_0x2b8869(_0x43b00c,_0x35170d,_0x544753):_0x2b8869(_0x544753))||_0x544753);return _0x3cb79f&&_0x544753&&Tr(_0x43b00c,_0x35170d,_0x544753),_0x544753;},Or=(_0x3c8f04,_0x477eff)=>(_0x330f79,_0x57f415)=>_0x477eff(_0x330f79,_0x57f415,_0x3c8f04);let Ye=class{constructor(_0x545d27){const _0x339804=_0x56d4b2;this[_0x339804(0x675)]=_0x545d27,this[_0x339804(0x5cb)]();}[_0x56d4b2(0x5cb)](){const _0x4a527b=_0x56d4b2;this[_0x4a527b(0x675)][_0x4a527b(0x63f)]({'interceptor':(_0x40c520,_0x5b52a3)=>{const _0x52a1ae=_0x4a527b,_0x35ca65=_0x40c520[_0x52a1ae(0x584)],_0x253053=br();return _0x253053&&_0x35ca65[_0x52a1ae(0x24a)](_0x52a1ae(0x5f3),_0x253053),_0x5b52a3(_0x40c520);}});}};function _0x4fa2(){const _0x1105fb=['prototype','[DataLoaderController]','MSG_FOR_ERROR','[OfflineState]:\x20received\x20acknowledgement.','_getAPIPrefixPath','_listenToOfflineEvent','ONLINE','collaboration.single-unit.warning','defs','number','mergeOverrideWithDependencies','_saveCache','LocalCacheService','_docSyncEditingCollabCursorService','length','_getUploadFileURL','_collaborationPaused','_getSaveTimeout','_sendingTimer','sessionStatus$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','image/gif','UPDATE_CURSOR','setParam','measureText','RevisionService','COMMENT_UPDATE','updateCollaborator','?size=','AES','getInterceptPoints','rev','encode','awaitingChangeset','useObservable','parseProtocolChangeset','hovered','blue400','_changesetReqId','\x20-\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','editingUnit','column','getRandomValues','some','_getDownloadEndpointURL','subscribe','_redoStacks','onTransformChange$','responseType','OnLineSingle','unload','data','_localCacheService','submit\x20changeset\x20error!','_clearHeartbeatTimer','makeDirty','forwardRef','batchAllowed','unitId\x20is\x20not\x20found','error$','AuthzIoHttpService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_getMergeRange','0\x200\x2017\x2016','20037039dtsgkH','fromCharCode','_cursorInfo$','setWaitCount','transformSelections','UNKNOWN_CMD','OTHER_CLIENTS_EDITING','_anchorDot','onMissedChangesetFetched','getTypeOfUnitAdded$','toLowerCase','getSheetId','/universer-api/snapshot','JOIN_ROOM_FULL','headers','JOIN_ROOM_NOT_ALLOWED','addObject','save\x20fail\x20reason\x20is\x20','getOffsetConfig','_onJoinRoomEvent','_event$','_backgroundColor','hasher','_ensureSubject','UNIVER_SHEET','_toggleOnline','_initResize','collabStatus.fetchMiss','online','merge','_retryCount','_colorIndex','closeSession','Error','generateRandomId','addImageSourceCache','children','_onRemoteRetry','_hover','_scheduleTimestamp','asObservable','@univerjs/docs-ui','setAlpha','red300','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_candidateSocket','ERROR_IMAGE_TYPE','[UniverCollaborationClientPlugin]','_toggleOffline','DocStateChangeManagerService','open$','_hideTimer','_status$','getItem','HTTPService','_executeRemoteChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','connection\x20error','unknown','_document','subUnitId','_colorAssignService','_doReset','_snapshotServerService','InsertRowCommandId','_onCursorUpdate','_drawTextRange','SUCCUSS','dispose$','onCommandExecuted','SheetCollabCursorShape','SHA1','_transformPreviousActiveRange','UnitSnapshot','equals','_anchor','refreshPermission','deserializeRangeWithSheet','_nDataBytes','SheetPermissionInitController','RxDisposable','UniverInstanceType','_transformIMECache','_change$','Latin1','_initRequestHeader','conflict.title','originalMeta','PERSON','finalize','_pendingMutations','SessionStatus','_refreshCollabCursors','_substituteRedoStack','_commentUpdate$','_HTTPService','univer-online-status','IImageIoService','LICENSE_DISTRO_REJECTED','clearTimeout','_instanceService','parse','getParam','handleInsertCol','_scene','floor','json','commentUpdate$','_transformHistoryAndStateStack','_docStateChangeManagerService','_parse','_removeClearOtherTimer','incrementRevOfUnit','string','takeUntil','Disposable','Decryptor','fromEventSubject','snapshotServerUrl','unitID','4oExxMc','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','off-line-single_clip0_910_343','_clearTimeoutTimer','_onRecvEvent','x-univer-host','UserManagerService','_transformStateCache','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','...','image/jpg','socket\x20close','getSheetObject','_selfUnitIDs','purple300','replaceState','charAt','rxjs','getRenderById','idSuffix','getCurrentSelections','rgba(255,\x20255,\x20255,\x200.01)','_heartbeatTimer','setCurrentUser','Rect','_roomMembers','combineLatest','collabSubmitChangesetUrl','list','awaiting_with_pending','_lockTransition','_handleEvent','COMPRESS_MUTATION_APPLY','_collabSessionService','deserializeToCombResponse','_startCollaboration','workbook','getCollabEntity','keySize','key','onRemoteRetry','onTransformRemoteChangesetByIMECache','liveShareNewHost','_getScale','0\x200\x2016\x2016','wsSessionTicketUrl','with','MergeInterceptorFactory','_getCurrentRevision','_iv','isPermissionRej','handleMoveRange','collabStatus.notCollab','UNRECOGNIZED','translate(.97)','onRemoteAck','_singleActiveUnitService','COLORS','newValue','startColumn','__esModule','lib','@univerjs/ui','createEncryptor','_transformSelections','_initDependencies','for','HEARTBEAT','HEARTBEAT_TIMEOUT','_cachedData','_send','_rescheduleHeartbeat','$super','stringify','all','2CyWMLs','NO_OTHER_CLIENTS_EDITING','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toString','backgroundColor','IUniverInstanceService','registerHTTPInterceptor','_transformRemoteChangesetByIMECache','RemoveColCommandId','_keySchedule','EvpKDF','default','HEARTBEAT_INTERVAL_KEY','registerRenderModule','hidden','SheetsSelectionsService','close','history','@univerjs/sheets-ui','_http','conflict','transformIMECache','Hex','Utf8','abs','DesktopCollaborationStatusDisplayController','univer-online','_drawAnchor','univer-pro.collaboration-client.single-active-unit-service','_replaceFileID','_queuedRemoteChangesets','disableLocalCache','/new_changes','SerializableCipher','_schedule','SNAPSHOT_HAS_BEEN_REMOVED','_clearCollaborationTimeoutTimer','/block/','init','IBeforeCloseService','_key','_createSocketURL','NoPadding','/-/object/-/batch_allowed','onlyLocal','roomMembers','getCurrent','toggleOffline','ws://127.0.0.1:8000/universer-api/comb/connect','_doFinalize','blockSize','synced','ref','CompressMutationService','FileId','LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','HmacMD5','createCollaborator','_oKey','_httpService','onTransformSelections','_cipher','sid','msCrypto','CHANGESET_REVISION_CONFILICT','_prevBlock','ceil','shouldCloseConn','1em','baseRev','_session','BASE64','offline','onPointerEnter$','roomMembers$','_collaborationSessionService','black','_data','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','CONNECTOR_DATA_TOO_LARGE','saveOfflineData','_getSnapshotAPIPrefix','_initCloseConn','4787904jMvAzm','_iKey','IMessageService','getUnhiddenWorksheets','_syncEditingCollabCursorService','_onMessage','enableSingleActiveInstanceLock','OffLineSingle','onTransformRemoteChangesetByStateCache','now','InsertColCommandId','sin','loadSheet','getResourcesRequest','readAsDataURL','_initUnitPermissionChange','COLLAB_SUBMIT_CHANGESET_URL','\x0aAfter:\x20','SetSelectionsOperation','_getUndoStack','@univerjs/sheets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','WebSocketService','none','Injector','WorkbookEditablePermission','/collaborator','getDeserializedSheetBlock','patch','Malformed\x20UTF-8\x20data','resend','Base64','3374FuCTUQ','FAIL','crypto','_type','NOT_FOUND','saveImage','[SyncedState]:\x20received\x20acknowledgement.','_transformUndoRedoStack','assignAColorForMemberID','body','_handler','_updateLocalCursor','Module','_localeService','_notificationService','_assignedColors','eventID','univer-online-status-icon','_clearLocalCache','_sheetSkeletonManagerService','_collaborationTimeoutTimer','_transformStack','toStringTag','updateMember','save','_waitCount','split','{fileID}','@univerjs/design','getFocusedUnit','DisposableCollection','path','_draw','Shape','disposeWithMe','COLLAB_CLIENT_CONFIG_KEY','_scheduleClearOtherTimer','_roomMembers$','[SyncedState]:\x20received\x20rejection.','_doProcessBlock','textRanges','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','tag','assign','ERROR_EXCEED_SIZE','LocalUndoRedoService','MUTATION','div','updatePermissionObjEvent','NodePositionConvertToCursor','onReady','getMemberID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','addEventListener','params','Inject','BehaviorSubject','create','IConfigService','COLLAB_WEB_SOCKET_URL_KEY','UNAUTHENTICATED','listRoles','_sheetTransformSelectionsService','registerBeforeClose','transformStateCache','transformMutationsWithChangeset','function','_decreaseWaiting','MD5','getMergeData','displayName','&source=','_eventUnsubscribe','COLLAB_SUBMIT_CHANGESET_URL_KEY','_docSkeleton','getSheetBySheetId','_setupSubUnitSync','_memberService','values','onRendered','SnapshotService','PENDING','hide','c1Prime','RECV','_revisionService','getRelativeToViewportCoord','getValue','add','setShapeProps','onSyncEditingCollabCursor','set','transformUndoRedo','_doCryptBlock','actions','Rectangle','_messageService','xlink:href','CollaborationSessionService','_createHelper','subject','@univerjs/rpc','_localStorageService','text','SUBMIT_CHANGESET','b64DecodeUnicode','_commentService','getUnitId','isTransformMutationsWithChangesetFailure','DeleteRangeMoveLeftCommandId','ITransformService','INTERNAL_ERROR','_textBubble','on-line-single_clip0_910_349','isActive','join','location','YUUMI_SUBSCRIPTION_NOT_FOUND','INVALID_ARGUMENT','height','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/oidc/authpage','encodeURIComponent','ICollaborationSocketService','PasswordBasedCipher','_socketReady','map','_getSessionTicket','TEXT_RANGE_LAYER_INDEX','ILogService','getTime','getUnitStatus$','_disabled','_onUserJoin','onRemoteChangeset','collab-rect-range-','joinRsp','__creator','_disableEditing','extend','JSONX','_refRangeService','random','/object/','activeSheet$','_startDocCollabCursor','debounceTime','_append','sheets','MentionIoHttpService','BlockCipher','createIdentifier','_updateSubUnitFromURLParams','getUnitType','ciphertext','_registerRenderDependencies','mode','SheetSkeletonManagerService','rng','Hasher','method','_onOffline','createElement','changesets','objects','DependentOn','_handleLeaveEvent','IRenderManagerService','unpad','_removeCollabCursors','bind','executeCommand','randomBytes','_resendTimeout','reduce','react.element','cfg','show','_createInitialStateImpl','current','post','slice','toDisposable','state$','cursorInfo','ThresholdInterceptorFactory','SEND_CHANGESET_TIMEOUT','startsWith','onStarting','@univerjs/network','find','_incrementRevisionNumber','defIds','_minBufferSize','ICommandService','propertyIsEnumerable','indexOf','shareReplay','_permissionService','getUnit','reverse','APPLY_DUPLICATED','_configService','toggleOnline','Unknown\x20user','_uiPartsService','_transformUndoredo','_initStatusComponent','getViewport','fillStyle','WordArray','setItem','saveSheetBlock','3747640JIBBkF','CHANGESET_SHOULD_RETRY','_univerInstanceService','downloadEndpointUrl','roomInfos','_state','defaultProps','1773OcpXiL','MemberService','_color','_submitChangeset','UNKNOWN_CODE','application/json','jsxs','pending','[FetchMissState]','_getLoginPath','iterations','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getAncestorScale','cmd','_cursor','Cipher','getCurrentUnitForType','_getAPIPrefix','delay','fill','size','_sessions','InsertRangeMoveDownCommandId','findNodePositionByCharIndex','fromCollab','RECT','LIVESHARE_REQUEST_HOST','#FFF','collabCursorState$','Encryptor','loginUrlKey','CHANGESET_ACK','UUID','_hash','_socket','IDLE','round','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-offline','decrypt','VIEW_MAIN','LICENSE_MAX_UNITS_EXCEEDED','_state$','_checkMissing','MoveRangeCommandId','_createInitialState','startRow','ranges','CONFLICT','type','IUndoRedoService','unitId','attrs','_shouldReportTelemetry','syncEditingCollabCursor','registerOnClose','AUTHZ_URL_KEY','ImageIoService','failed\x20to\x20apply\x20missed\x20changesets!','onTransformIME','_initStatusListener','jiqing500','_updateState','currentColor','_handleJoinEvent','delete','currentSkeleton$','LIVESHARE_OPERATION','CollaborationEntity','setStateCache','storage','saveSnapshot','get','_nRounds','updatePermissionPoint','clipPath','Optional','_startSheetCollabCursor','popstate','onlineStatusTitle','CommandType','_id','APPLY_PERMISSION_DENIED','2630082fQaAtw','_unitOnClients','result','removeMember','push','icon','splice','_transitionLocked','apply','/universer-api/stream/file/upload','getRangePointData','repeat','onMissingChangesets','words','\x20to\x20','useRef','YUUMI_UNABLE_LOAD_URL','_stopTelemetryCollaborationNewChangeset','session','width','signUrlServerUrl','evenodd','useCallback','leaveEvent','next','avatar','joinEvent','url(#on-line-single_clip0_910_349)','CollaborationStatusDisplay','RETRY_CONNECTING_MAX_COUNT_KEY','bottom','charCodeAt','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getSignURL','clone','has','getRoom','IAuthzIoService','textEncoder','_clearScheduledTask','deleteCollaborator','putCollaborators','pipe','setConfig','onRemoteRej','top','clear','LocaleService','HMAC','object','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRejected','Tooltip','/fetchmissing?from=','put','UniverCollaborationClientPlugin','call','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','take','_fetchMissChangesets','_onCursorDelete','startTime','roles','_applyRemoteChangeset','connectInjector','_reverseMap','_drawRectRange','_isPermissionRej','closePath','#fff','_imageSourceCache','_beforeCloseService','file','hostname','_handleHeartbeatEvent','TEXT','getVpScrollXYInfoByPosToVp','_undoStacks','selections','UniverCollaborationPlugin','off-line-single','localeService','_createHandler','reset','Subject','close$','_config','CipherParams','url','message$','reject','override','[CollaborationSession]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_cursors','includes','RichTextEditingMutation','_clearRedo','Error\x20on\x20receiving\x20event','complete','UNIVER_PROJECT','ColorKit','/universer-api/user/session-ticket','CHANGESET_REJ','getStateCache','_docTransformIMECacheService','userID','UNIVER_UNKNOWN','_sendHeartbeatTimer','/unit/','href','error','getSkeleton','_telemetryService','createInstance','_mode','moveTo','csAckEvent','_shapes','deepClone','pluginName','_sender','triggerDblclick','CollaborationController','_ENC_XFORM_MODE','kdf','throttleTime','_joinRoom','InsertSheetMutation','_xformMode','_lastPointer','Warning','authzUrl','useDependency','defineProperty','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','serializeRangeWithSheet','LIVESHARE_NEW_HOST','_getRedoStack','transformRemoteChangeset','APPLY_REVISION_CONFILICT','_collabCursorController','VIEWPORT_KEY','UnitEmbedded','JOINING','clearInterval','UNIVER_SLIDE','_invKeySchedule','_docTransformStateCacheService','capture','transform','13032GejZEL','mapTo','MessageType','_scheduleHeartbeat','@univerjs/drawing','_online','IUIPartsService','UNDEFINED','_createSocket','_clearUndo','drawWith','m1Prime','fetchThroughInterceptors','fetching\x20missing\x20changesets\x20from\x20','_unlockTransition','_scheduleCollaborationTimeoutTimer','_saveTaskMap','requestParams','update','COMPLETION_FINISHED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getDocRanges','substr','min','getCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','mixIn','DocIMEInputManagerService','updateOfflineData','_cursorShapes','NOT_COLLAB','UPDATE_PERMISSION_OBJ','univer-pro.collaboration-client-socket-service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getUnitOnRev','TRANSFORM_CHANGE_OBSERVABLE_TYPE','jsx','SetDocZoomRatioOperation','collaboration-client.config','forEach','fromEvent','_urlService','RETRY_CONNECTING_MAX_COUNT','@univerjs/engine-formula','font','OpenSSL','on-line-single','entries','from','_undoRedoService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getConfig','_getSendChangesetTimeout','TOO_MANY_REQUESTS','permissionRejEvent','LIVESHARE_FETCH_OPERATIONS','/allowed','_userManagerService','RefRangeService','SNAPSHOT_SERVER_URL_KEY','_ws','USERS_ENTER','_tryReconnect','lineTo','unit','loadOfflineData','HELLO','_getCtorByUniverType','_keyPriorReset','HTTPRequest','verdancy600','LOCAL_CACHE_INTERVAL','getSheetBlock','symbol','/rev/','enc','_snapshotService','allowed','formatter','_acknowledgedAwaitingChangeset','getImage','_onConnectionOpen','_labelPosition','memberID','byteOffset','code','subunit','session.connection-failed','max','Undefined','registerRefRange','_retryConnectingTimer','SnapshotServerOverHTTPService','randomUUID','@univerjs-pro/collaboration','svg','sigBytes','exhaustSavingTask','m2Prime','event$','CollaborationSocketService','DocSelectionManagerService','_updateLocalCache','session.will-retry','not_collab','toRgbString','redoState','univerjs-icon\x20univerjs-icon-','[PendingState]:\x20received\x20rejection.','/role','_process','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isEditing','getColor','_themeService','format','/universer-api/authz','onPointerMove$','concatMap','trim','&assign=','FromArray','_hasher','urlChange$','onMouseMove','Base','_collaborationController','status$','EffectRefRangId','POST','@univerjs/telemetry','getCollabEntity$','collab-text-range-','/object','_docSkeletonManagerService','DocCollaborationEntity','_resendWithTimeout','_socket$','arc','onPointerLeave$','_socketService','_onConnectionFailed','_onUserLeave','withCredentials','onStateChange','_updateURLWithCurrentState','collaboration-client.offline-data-not-saved','_removeRoom','_remoteChangesetQueue','sendChangesetTimeout','hasOwnProperty','compose','readInt32LE','ticket','_unitStatus','decryptBlock','_members','_changesetSessionId','CollaborationSession','enableOfflineEditing','isTransformMutationsWithChangesetSuccess','cursorInfo$','doc.mutation.rich-text-editing','/universer-api/snapshot/','getImageSourceCache','_entities','objectType','url(#off-line-single_clip0_910_343)','session.collaboration-timeout','transformStack\x20failed!','isInternalEditorID','_timeoutTimer','/-/object/list','onlineStatusIcon','pauseCollaboration','objectActions','onload','_hovered','CollaborationEvent','getCurrentRevOfUnit','_loadDoc','padding','_onLocalMutation','PERMISSION_DENIED','_initCommandExecutedListener','className','state','USERS_LEAVE','BufferedBlockAlgorithm','getActiveSheet','_injector','algo','SheetCollaborationEntity','color','_onConflict','createSocket','Plugin','compute','IPermissionService','onSendChangeset','Vector2','getOwnPropertyDescriptor','_unitID','stopTime','INGEST','updateCursorEvent','transformChangesets','_name','_docTransformSelectionsService','_startTelemetryCollaborationNewChangeset','UNIVER_DOC','_getAnchorBounding','getTypeOfUnitDisposed$','disposeUnit','OFFLINE','mutations','LIVESHARE_TERMINATE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colorChannel1','getCollabCursors$','fillRule','SetTextSelectionsOperation','socket$','sessionStatus','routeKey','status','rxjs/operators','ACTIVE_UNIT_EVENT_CHANNEL','collabWebSocketUrl','byteLength','DataLoaderController','retryConnectingInterval','getOwnPropertySymbols','replace','APPLY_REJECT','_replayCachedMutations','objectID','SHOULD_CLOSE_CONN','_sendHeartbeat','mapDocumentTypeToUniverType','reconnect','Tools','restore','then','ImageSourceType','setActiveRange','_updateStatus','focused$','undoState','_compressMutationService','flatMap','MentionType','WebURLService','[CollaborationSessionService]','reqId','getUndoRedoMutationParamsCache','execute','transformMutation','endRow','fillText','pushState','fetchMiss','every','selection','ILocalStorageService','ThemeService','isTransformMutationFailure','unsubscribe','handleDeleteRangeMoveUp','copyFileMeta','fetch_missing','HmacSHA1','subscribeEvent','append','_transformService','getCoordByCell','skeleton','searchParams','LICENSE_EXPORT_SIZE_EXCEEDED','pad','CollaborationStatus','EmptyMutation','filter','_transformRemoteChangesetByStateCache','interceptor','@univerjs/docs','55310nTnZpU','ERROR_IMAGE','SetWorksheetActivateCommand','ALREADY_EXISTS','UniverIcon','_registerDependencies','react','telemetry\x20info\x20is\x20not\x20initialized','currentTheme$','PERMISSION_REJ','collab-text-anchor-','_resendTimer','handleIRemoveRow','onlineStatus','HttpImport','704395qfMbLX','collaboratorID','JOIN','collabStatus.syncing','name','SNAPSHOT_INVALID_SNAPSHOT','unshift','_renderManagerService','revision','_collabCursorState$','isTransformChangesetsSuccess','_tryEnsureSocket','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','_updateCollabCursors','FETCH_MISSING','[CollaborationEntity]','_awaitingChangeset','engine','UniverNetworkPlugin','collaboration-session-retry','setTimeout','visibilitychange','conflict.content','_createHmacHelper','image/bmp','_clearOtherTimers','csRejEvent','c2Prime','SNAPSHOT_URL_KEY','distinctUntilChanged','ImageUploadStatusType','_socketMessageSubscription','APPLY_NON_SEQUENTIAL_REVISION','clamp','concat','confirm','_init','ISnapshotServerService','_getSheetObject','_setupBeforeClosingHandler','DocSkeletonManagerService','salt','HttpExport','_onFetchMissResult','debug','LOCAL_CACHE_INTERVAL_KEY','getMember','Pkcs7','use','exports','_onRemoteACK','origin','_initMergeInterceptor','row','fetchMissingChangesets','[CollaborationUndoRedoService]','_commandService','range','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose','onCommentUpdate','appendMutation','_telemetryInfo','AWAITING_WITH_PENDING','sessionTicket','collabStatus.synced','_range','send','requireSession','_context','_logService','NEW_CHANGESETS','substring','DOC_RANGE_TYPE','_entityInit$','touchDependencies','switchMap','debounce','@univerjs/engine-render','HEARTBEAT_INTERVAL','_sessionStatus$','isArray'];_0x4fa2=function(){return _0x1105fb;};return _0x4fa2();}Ye=yr([Or(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],Ye);var Dr=Object[_0x56d4b2(0x3a4)],Pr=Object[_0x56d4b2(0x47e)],wr=(_0x33a717,_0x104f06,_0xa78147,_0xf7dc2b)=>{const _0x56c580=_0x56d4b2;for(var _0x4e49cf=_0xf7dc2b>0x1?void 0x0:_0xf7dc2b?Pr(_0x104f06,_0xa78147):_0x104f06,_0x357998=_0x33a717[_0x56c580(0x543)]-0x1,_0x1c8daa;_0x357998>=0x0;_0x357998--)(_0x1c8daa=_0x33a717[_0x357998])&&(_0x4e49cf=(_0xf7dc2b?_0x1c8daa(_0x104f06,_0xa78147,_0x4e49cf):_0x1c8daa(_0x4e49cf))||_0x4e49cf);return _0xf7dc2b&&_0x4e49cf&&Dr(_0x104f06,_0xa78147,_0x4e49cf),_0x4e49cf;},vt=(_0x10ce13,_0x14be38)=>(_0x5cc3c3,_0x2252b1)=>_0x14be38(_0x5cc3c3,_0x2252b1,_0x10ce13);const Ur=['image/png','image/jpeg',_0x56d4b2(0x5f8),_0x56d4b2(0x54a),_0x56d4b2(0x4fb)],Mr=0x5*0x400*0x400,Ar=_0x56d4b2(0x3d6),Nr=_0x56d4b2(0x327),Lr=_0x56d4b2(0x3c9),xr='/universer-api/file/{fileID}/sign-url';exports[_0x56d4b2(0x304)]=class{constructor(_0x53b0ba,_0x2bf2e4,_0x1990cf){const _0x49c7b8=_0x56d4b2;I(this,_0x49c7b8(0x208),0x0),I(this,_0x49c7b8(0x5c9),new A[(_0x49c7b8(0x372))]()),I(this,'change$',this['_change$']),I(this,_0x49c7b8(0x364),new Map()),(this['_httpService']=_0x53b0ba,this[_0x49c7b8(0x2b9)]=_0x2bf2e4,this['_univerInstanceService']=_0x1990cf);}[_0x56d4b2(0x579)](_0x22c019){const _0x3a80ab=_0x56d4b2;this['_waitCount']=_0x22c019,this[_0x3a80ab(0x5c9)][_0x3a80ab(0x336)](_0x22c019);}[_0x56d4b2(0x459)](_0x199a32,_0x20901e){const _0x42d8ad=_0x56d4b2;if(_0x20901e===ne[_0x42d8ad(0x4a9)][_0x42d8ad(0x681)]){const _0x360693=new Image();return _0x360693['src']=_0x199a32,_0x360693;}return this[_0x42d8ad(0x364)][_0x42d8ad(0x313)](_0x199a32);}[_0x56d4b2(0x599)](_0xeea128,_0x110888,_0x10879d){const _0xeefcd7=_0x56d4b2;_0x110888===ne[_0xeefcd7(0x4a9)][_0xeefcd7(0x681)]||_0x10879d==null||this[_0xeefcd7(0x364)][_0xeefcd7(0x24a)](_0xeea128,_0x10879d);}async[_0x56d4b2(0x405)](_0x2f010d){const _0x22a96c=_0x56d4b2;try{const _0x22ab80=this[_0x22a96c(0x656)](this['_getSignURL'](),''+_0x2f010d),_0x1ed4b3=(await this['_httpService'][_0x22a96c(0x313)](_0x22ab80))['body'];if(_0x1ed4b3[_0x22a96c(0x38d)]&&_0x1ed4b3[_0x22a96c(0x38d)][_0x22a96c(0x40a)]===hn['OK']){const _0x1821ec=new URL(_0x1ed4b3['url'],this[_0x22a96c(0x562)]())['toString']();return Promise['resolve'](_0x1821ec);}return Promise[_0x22a96c(0x378)](_0x1ed4b3[_0x22a96c(0x38d)]);}catch(_0x864ff6){return Promise[_0x22a96c(0x378)](_0x864ff6);}}async[_0x56d4b2(0x1f4)](_0x2ba20b){const _0x35cac5=_0x56d4b2;let _0x601623='';if(!Ur[_0x35cac5(0x37d)](_0x2ba20b['type']))return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x5a4)]));if(_0x2ba20b[_0x35cac5(0x2df)]>Mr)return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x21b)]));try{const _0x4c52e1=new FormData();_0x4c52e1[_0x35cac5(0x4c6)](_0x35cac5(0x366),_0x2ba20b);const _0x274915=this[_0x35cac5(0x2c6)]['getFocusedUnit'](),_0x4805ea=_0x274915==null?void 0x0:_0x274915[_0x35cac5(0x25a)]();if(!_0x4805ea)throw new Error(_0x35cac5(0x570));const _0x33cb49=this[_0x35cac5(0x544)]()+_0x35cac5(0x551)+_0x2ba20b[_0x35cac5(0x2df)][_0x35cac5(0x63c)]()+_0x35cac5(0x236)+_n[_0x35cac5(0x3ad)]+_0x35cac5(0x42d)+encodeURIComponent(_0x4805ea),_0xb7f25d=await(await fetch(_0x33cb49,{'method':_0x35cac5(0x436),'body':_0x4c52e1}))[_0x35cac5(0x5e0)]();if(typeof _0xb7f25d[_0x35cac5(0x66f)]!=_0x35cac5(0x5e7))return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x4d4)]));_0x601623=_0xb7f25d[_0x35cac5(0x66f)];}catch{return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne['ImageUploadStatusType'][_0x35cac5(0x4d4)]));}return new Promise((_0x4d17bb,_0x5ca1f8)=>{const _0x3a8841=_0x35cac5,_0xb40b34=new FileReader();_0xb40b34[_0x3a8841(0x1db)](_0x2ba20b),_0xb40b34[_0x3a8841(0x465)]=_0x37d21e=>{const _0x14a279=_0x3a8841;var _0x15283b;const _0x606bb5=(_0x15283b=_0x37d21e['target'])==null?void 0x0:_0x15283b['result'];if(_0x606bb5==null){this[_0x14a279(0x232)](),_0x5ca1f8(new Error(ne[_0x14a279(0x501)][_0x14a279(0x4d4)]));return;}const _0x260ff8=a[_0x14a279(0x4a6)][_0x14a279(0x598)](0x6);_0x4d17bb({'imageId':_0x260ff8,'imageSourceType':ne[_0x14a279(0x4a9)][_0x14a279(0x2eb)],'source':_0x601623,'base64Cache':_0x606bb5,'status':ne['ImageUploadStatusType'][_0x14a279(0x5b9)]}),this[_0x14a279(0x232)]();};});}[_0x56d4b2(0x544)](){const _0x1eba2c=_0x56d4b2;var _0x2f7f80,_0xe45f05;const _0x4164d3=this['_configService']['getConfig'](Ar),_0xdd6d70=this[_0x1eba2c(0x2b9)][_0x1eba2c(0x3e8)](Z);return(_0xe45f05=(_0x2f7f80=_0xdd6d70==null?void 0x0:_0xdd6d70['uploadFileServerUrl'])!=null?_0x2f7f80:_0x4164d3)!=null?_0xe45f05:Nr;}[_0x56d4b2(0x33f)](){const _0xe1d7e7=_0x56d4b2;var _0x57e090,_0x499020;const _0x418da0=this[_0xe1d7e7(0x2b9)][_0xe1d7e7(0x3e8)](Lr),_0x745a4b=this[_0xe1d7e7(0x2b9)][_0xe1d7e7(0x3e8)](Z);return(_0x499020=(_0x57e090=_0x745a4b==null?void 0x0:_0x745a4b[_0xe1d7e7(0x332)])!=null?_0x57e090:_0x418da0)!=null?_0x499020:xr;}['_getDownloadEndpointURL'](){const _0x296764=_0x56d4b2;var _0x3bda75;const _0x49f97b=this[_0x296764(0x2b9)][_0x296764(0x3e8)](Z);return(_0x3bda75=_0x49f97b==null?void 0x0:_0x49f97b[_0x296764(0x2c7)])!=null?_0x3bda75:location['origin'];}['_replaceFileID'](_0x1d600d,_0x2739a1){const _0x269b77=_0x56d4b2;return _0x1d600d[_0x269b77(0x49e)](_0x269b77(0x20a),_0x2739a1);}[_0x56d4b2(0x232)](){const _0x50a179=_0x56d4b2;this['_waitCount']-=0x1,this[_0x50a179(0x5c9)][_0x50a179(0x336)](this['_waitCount']);}},exports[_0x56d4b2(0x304)]=wr([vt(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),vt(0x1,a[_0x56d4b2(0x229)]),vt(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x56d4b2(0x304)]);var jr=Object[_0x56d4b2(0x3a4)],$r=Object[_0x56d4b2(0x47e)],Hr=(_0x1fcdab,_0x3ecdff,_0x52fd81,_0x582ecf)=>{for(var _0x57e937=_0x582ecf>0x1?void 0x0:_0x582ecf?$r(_0x3ecdff,_0x52fd81):_0x3ecdff,_0x18f9eb=_0x1fcdab['length']-0x1,_0x3dd2f1;_0x18f9eb>=0x0;_0x18f9eb--)(_0x3dd2f1=_0x1fcdab[_0x18f9eb])&&(_0x57e937=(_0x582ecf?_0x3dd2f1(_0x3ecdff,_0x52fd81,_0x57e937):_0x3dd2f1(_0x57e937))||_0x57e937);return _0x582ecf&&_0x57e937&&jr(_0x3ecdff,_0x52fd81,_0x57e937),_0x57e937;},Zt=(_0x5d3cb6,_0x1b55b9)=>(_0xf62cf8,_0x2f0bb2)=>_0x1b55b9(_0xf62cf8,_0x2f0bb2,_0x5d3cb6);const kr=_0x56d4b2(0x429);exports['MentionIoHttpService']=class{constructor(_0x476c6c,_0x2244ff){const _0x4b0673=_0x56d4b2;this[_0x4b0673(0x2b9)]=_0x476c6c,this[_0x4b0673(0x5d5)]=_0x2244ff;}['_getAPIPrefixPath'](){const _0x3d3e84=_0x56d4b2;var _0x28de27,_0x4997b0;const _0x4364ec=this['_configService'][_0x3d3e84(0x3e8)](wt),_0x391889=this['_configService'][_0x3d3e84(0x3e8)](Z);return(_0x4997b0=(_0x28de27=_0x391889==null?void 0x0:_0x391889[_0x3d3e84(0x3a2)])!=null?_0x28de27:_0x4364ec)!=null?_0x4997b0:kr;}async[_0x56d4b2(0x60a)](_0x4a38c7){const _0x2a9875=_0x56d4b2,_0x1fd008=this[_0x2a9875(0x539)]()+_0x2a9875(0x1e9);return{'list':[{'title':'People','mentions':(await this[_0x2a9875(0x5d5)][_0x2a9875(0x313)](_0x1fd008,{'params':{'objectID':_0x4a38c7[_0x2a9875(0x2fe)],'unitID':_0x4a38c7[_0x2a9875(0x2fe)]}}))[_0x2a9875(0x1f8)]['collaborators']['map'](_0x578b97=>({'objectId':_0x578b97['id'],'name':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x4e6)],'metadata':{'icon':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x337)]},'label':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x4e6)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x2a9875(0x4b0)][_0x2a9875(0x5ce)]}]};}},exports[_0x56d4b2(0x284)]=Hr([Zt(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x229)])),Zt(0x1,a['Inject'](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x284)]);var Br=Object['defineProperty'],Wr=Object[_0x56d4b2(0x47e)],Fr=(_0xc1ad7,_0x2a6129,_0x23e959,_0x543884)=>{const _0x1961eb=_0x56d4b2;for(var _0xc23cd5=_0x543884>0x1?void 0x0:_0x543884?Wr(_0x2a6129,_0x23e959):_0x2a6129,_0x1f7239=_0xc1ad7[_0x1961eb(0x543)]-0x1,_0xbd54a1;_0x1f7239>=0x0;_0x1f7239--)(_0xbd54a1=_0xc1ad7[_0x1f7239])&&(_0xc23cd5=(_0x543884?_0xbd54a1(_0x2a6129,_0x23e959,_0xc23cd5):_0xbd54a1(_0xc23cd5))||_0xc23cd5);return _0x543884&&_0xc23cd5&&Br(_0x2a6129,_0x23e959,_0xc23cd5),_0xc23cd5;},Ae=(_0xf306a0,_0x49a86e)=>(_0x1e3b13,_0x576cd5)=>_0x49a86e(_0x1e3b13,_0x576cd5,_0xf306a0);let Ke=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x3ca4d9,_0x540acb,_0x4595ac,_0x282f6f,_0x5a1218){const _0x5f020e=_0x56d4b2;super(),this[_0x5f020e(0x473)]=_0x3ca4d9,this['_univerInstanceService']=_0x540acb,this[_0x5f020e(0x2b5)]=_0x4595ac,this[_0x5f020e(0x685)]=_0x282f6f,this[_0x5f020e(0x1fc)]=_0x5a1218,this[_0x5f020e(0x1dc)](),this[_0x5f020e(0x1cc)]();}[_0x56d4b2(0x1cc)](){const _0x259079=_0x56d4b2,_0x28c9ce=async _0x49885e=>{const _0x571cd4=_0xe699;(await this[_0x571cd4(0x685)]['requireSession'](_0x49885e))[_0x571cd4(0x418)][_0x571cd4(0x348)](V[_0x571cd4(0x4cf)](_0x26362a=>_0x26362a[_0x571cd4(0x1ff)]===p['CollaborationEvent'][_0x571cd4(0x4a2)]),V['takeUntil'](this['dispose$']))[_0x571cd4(0x563)](_0x17f3c5=>{const _0x1ebc95=_0x571cd4,_0x2ebd17=_0x17f3c5,{reason:_0x270041}=_0x2ebd17[_0x1ebc95(0x569)];this[_0x1ebc95(0x473)][_0x1ebc95(0x313)](te[_0x1ebc95(0x1cf)])[_0x1ebc95(0x2a0)]({'type':Ce['MessageType'][_0x1ebc95(0x597)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x270041+')'}),this[_0x1ebc95(0x2b5)][_0x1ebc95(0x315)](new B[(_0x1ebc95(0x1e8))](_0x49885e)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x49885e);});};A[_0x259079(0x593)](this[_0x259079(0x2c6)][_0x259079(0x57f)](a['UniverInstanceType'][_0x259079(0x58e)]),this[_0x259079(0x2c6)][_0x259079(0x57f)](a[_0x259079(0x5c7)][_0x259079(0x487)]))[_0x259079(0x348)](V[_0x259079(0x26d)](_0x4e2ad9=>_0x4e2ad9['getUnitId']()),V[_0x259079(0x4cf)](_0x358d56=>!a[_0x259079(0x45f)](_0x358d56)),V[_0x259079(0x5e8)](this[_0x259079(0x5ba)]))[_0x259079(0x563)](_0xe51dd2=>{_0x28c9ce(_0xe51dd2);});}[_0x56d4b2(0x1dc)](){const _0x5eb349=_0x56d4b2,_0x42a673=async _0x5d640c=>{const _0xa7921d=_0xe699;(await this[_0xa7921d(0x685)][_0xa7921d(0x527)](_0x5d640c))[_0xa7921d(0x418)][_0xa7921d(0x348)](V[_0xa7921d(0x4cf)](_0xcbb978=>_0xcbb978['eventID']===p[_0xa7921d(0x467)][_0xa7921d(0x3d4)]),V[_0xa7921d(0x5e8)](this[_0xa7921d(0x5ba)]))[_0xa7921d(0x563)](_0xb59ce3=>{const _0x2eca61=_0xa7921d,_0x446b3e=_0xb59ce3,{objectId:_0x538df4}=_0x446b3e[_0x2eca61(0x569)],_0x2b6d76=this[_0x2eca61(0x473)][_0x2eca61(0x313)](ye[_0x2eca61(0x5c5)]);_0x538df4===_0x5d640c?_0x2b6d76['initWorkbookPermissionChange'](_0x5d640c):_0x2b6d76[_0x2eca61(0x5c2)](_0x5d640c,_0x538df4);});};A[_0x5eb349(0x593)](this[_0x5eb349(0x2c6)]['getTypeOfUnitAdded$'](a[_0x5eb349(0x5c7)]['UNIVER_SHEET']),this[_0x5eb349(0x2c6)]['getTypeOfUnitAdded$'](a[_0x5eb349(0x5c7)][_0x5eb349(0x487)]))[_0x5eb349(0x348)](V[_0x5eb349(0x26d)](_0x2bc217=>_0x2bc217['getUnitId']()),V['filter'](_0x3e4ebf=>!a['isInternalEditorID'](_0x3e4ebf)),V[_0x5eb349(0x5e8)](this[_0x5eb349(0x5ba)]))[_0x5eb349(0x563)](_0x47dc03=>{_0x42a673(_0x47dc03);});}};Ke=Fr([Ae(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Ae(0x1,a[_0x56d4b2(0x63e)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x56d4b2(0x226)](exports['CollaborationSessionService'])),Ae(0x4,a['Inject'](a[_0x56d4b2(0x34d)]))],Ke);var Vr=Object[_0x56d4b2(0x3a4)],Gr=Object['getOwnPropertyDescriptor'],Yr=(_0x4b213d,_0x1f5828,_0x10d939,_0xca85ba)=>{const _0x550c3c=_0x56d4b2;for(var _0x420582=_0xca85ba>0x1?void 0x0:_0xca85ba?Gr(_0x1f5828,_0x10d939):_0x1f5828,_0x562a65=_0x4b213d[_0x550c3c(0x543)]-0x1,_0x2cd966;_0x562a65>=0x0;_0x562a65--)(_0x2cd966=_0x4b213d[_0x562a65])&&(_0x420582=(_0xca85ba?_0x2cd966(_0x1f5828,_0x10d939,_0x420582):_0x2cd966(_0x420582))||_0x420582);return _0xca85ba&&_0x420582&&Vr(_0x1f5828,_0x10d939,_0x420582),_0x420582;},Qt=(_0x187455,_0x21b81c)=>(_0x16c039,_0x25721b)=>_0x21b81c(_0x16c039,_0x25721b,_0x187455);exports[_0x56d4b2(0x411)]=class{constructor(_0x521d7d,_0x18a9c7){const _0x5c6376=_0x56d4b2;this[_0x5c6376(0x2b9)]=_0x521d7d,this[_0x5c6376(0x675)]=_0x18a9c7;}async[_0x56d4b2(0x3d7)](_0x1b8c22,_0x2a10bd){const _0x210a0c=_0x56d4b2;var _0x3526bc;const {unitID:_0x4f9ec1,type:_0x25df21,revision:_0x443d04=0x0}=_0x2a10bd,_0x7e692c=this[_0x210a0c(0x1cb)]()+'/'+_0x25df21+_0x210a0c(0x38b)+_0x4f9ec1+_0x210a0c(0x3ff)+_0x443d04,_0x5351b8=(await this[_0x210a0c(0x675)][_0x210a0c(0x313)](_0x7e692c))[_0x210a0c(0x1f8)],_0xc7a523=(_0x3526bc=_0x5351b8['snapshot'])==null?void 0x0:_0x3526bc[_0x210a0c(0x612)];if(_0xc7a523){const _0x1d9bf1=_0xc7a523==null?void 0x0:_0xc7a523[_0x210a0c(0x5cd)],_0x4f04c9=p[_0x210a0c(0x344)]['encode'](p[_0x210a0c(0x258)](_0x1d9bf1));_0xc7a523[_0x210a0c(0x5cd)]=_0x4f04c9,Object[_0x210a0c(0x3e4)](_0xc7a523[_0x210a0c(0x283)])[_0x210a0c(0x3dc)](([,_0x5b762e])=>{const _0x36d617=_0x210a0c,_0x1fb3cc=_0x5b762e[_0x36d617(0x5cd)],_0x3d7796=p[_0x36d617(0x344)][_0x36d617(0x555)](p[_0x36d617(0x258)](_0x1fb3cc));_0x5b762e[_0x36d617(0x5cd)]=_0x3d7796;});}return _0x5351b8;}async[_0x56d4b2(0x3fd)](_0x53f41d,_0x514333){const _0x481482=_0x56d4b2,{unitID:_0x3161f0,type:_0xdeb2a7,blockID:_0x5e0b70}=_0x514333,_0x158ffb=this[_0x481482(0x2dc)]()+'/'+_0xdeb2a7+_0x481482(0x38b)+_0x3161f0+_0x481482(0x65e)+_0x5e0b70;return(await this[_0x481482(0x675)][_0x481482(0x313)](_0x158ffb))[_0x481482(0x1f8)];}async[_0x56d4b2(0x1ea)](_0x4f1947,_0x3a063e){const _0x55a0f8=_0x56d4b2,{unitID:_0x39b0d4,type:_0x45707e,blockID:_0x19c9db}=_0x3a063e,_0x11e163=this[_0x55a0f8(0x2dc)]()+_0x55a0f8(0x65e)+_0x45707e+_0x55a0f8(0x38b)+_0x39b0d4+_0x55a0f8(0x65e)+_0x19c9db;return(await this[_0x55a0f8(0x675)]['get'](_0x11e163))['body'];}async[_0x56d4b2(0x519)](_0xed3561,_0x2ca10d){const _0x458a02=_0x56d4b2,{unitID:_0x563c79,type:_0x2c46cf,from:_0x465f09,to:_0x4cd72e}=_0x2ca10d,_0x25755f=this['_getAPIPrefix']()+'/'+_0x2c46cf+_0x458a02(0x38b)+_0x563c79+_0x458a02(0x353)+_0x465f09+'&to='+_0x4cd72e;return(await this['_httpService'][_0x458a02(0x313)](_0x25755f))[_0x458a02(0x1f8)];}[_0x56d4b2(0x1cb)](){const _0x5e1dd3=_0x56d4b2;var _0x48d146;return(_0x48d146=this[_0x5e1dd3(0x2b9)][_0x5e1dd3(0x3e8)](tn))!=null?_0x48d146:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xd3073a=_0x56d4b2;var _0x27604a,_0x443ccb;const _0x38bffa=this[_0xd3073a(0x2b9)][_0xd3073a(0x3e8)](en),_0x38e391=this[_0xd3073a(0x2b9)][_0xd3073a(0x3e8)](Z);return(_0x443ccb=(_0x27604a=_0x38e391==null?void 0x0:_0x38e391[_0xd3073a(0x5ec)])!=null?_0x27604a:_0x38bffa)!=null?_0x443ccb:kn;}async[_0x56d4b2(0x1da)](_0x4aad33,_0x3d6dc7){const _0x2cec33=_0x56d4b2,_0x12156d=_0x2cec33(0x458)+_0x3d6dc7[_0x2cec33(0x2fc)]+_0x2cec33(0x38b)+_0x3d6dc7[_0x2cec33(0x5ed)]+'/resources';return(await this[_0x2cec33(0x675)][_0x2cec33(0x313)](_0x12156d,{'params':{'resourceId':JSON[_0x2cec33(0x637)](_0x3d6dc7['resourceIDs'])}}))['body'];}[_0x56d4b2(0x312)](){const _0x50d666=_0x56d4b2;throw new Error(_0x50d666(0x2d6));}[_0x56d4b2(0x2c3)](){const _0x5d8edd=_0x56d4b2;throw new Error(_0x5d8edd(0x2d6));}['saveChangeset'](){const _0x45b5cb=_0x56d4b2;throw new Error(_0x45b5cb(0x2d6));}[_0x56d4b2(0x4c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x2ab35e=_0x56d4b2;throw new Error(_0x2ab35e(0x2d6));}},exports[_0x56d4b2(0x411)]=Yr([Qt(0x0,a[_0x56d4b2(0x229)]),Qt(0x1,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x411)]);var Kr=Object[_0x56d4b2(0x3a4)],qr=Object[_0x56d4b2(0x47e)],zr=(_0x22eafa,_0x4cbf7c,_0x2f635b,_0x448ea0)=>{const _0x402158=_0x56d4b2;for(var _0x48ca41=_0x448ea0>0x1?void 0x0:_0x448ea0?qr(_0x4cbf7c,_0x2f635b):_0x4cbf7c,_0x3bfd49=_0x22eafa[_0x402158(0x543)]-0x1,_0x37d1a1;_0x3bfd49>=0x0;_0x3bfd49--)(_0x37d1a1=_0x22eafa[_0x3bfd49])&&(_0x48ca41=(_0x448ea0?_0x37d1a1(_0x4cbf7c,_0x2f635b,_0x48ca41):_0x37d1a1(_0x48ca41))||_0x48ca41);return _0x448ea0&&_0x48ca41&&Kr(_0x4cbf7c,_0x2f635b,_0x48ca41),_0x48ca41;},Ne=(_0xd942fe,_0x4c068f)=>(_0x25a7d9,_0x2f8a6d)=>_0x4c068f(_0x25a7d9,_0x2f8a6d,_0xd942fe);let It=class extends a[_0x56d4b2(0x21c)]{constructor(_0x2a1a67,_0x109d7e,_0x259c22,_0xa52bb6,_0xbd065a){const _0xad78c2=_0x56d4b2;super(_0x2a1a67,_0x109d7e,_0x259c22),this[_0xad78c2(0x4c7)]=_0xa52bb6,this[_0xad78c2(0x529)]=_0xbd065a;}[_0x56d4b2(0x24b)](_0x3af3a4,_0x454161){const _0x4a8745=_0x56d4b2,_0x130a2d=this[_0x4a8745(0x1e0)](_0x3af3a4);if(_0x130a2d)try{const _0x323224=this[_0x4a8745(0x204)](_0x130a2d,_0x454161);this['_substituteUndoStack'](_0x3af3a4,_0x323224);}catch(_0x3f27a7){this[_0x4a8745(0x529)][_0x4a8745(0x38d)]('[CollaborationUndoRedoService]',_0x3f27a7),this[_0x4a8745(0x3be)](_0x3af3a4);}const _0x200bb3=this['_getRedoStack'](_0x3af3a4);if(_0x200bb3)try{const _0xd95317=this['_transformStack'](_0x200bb3,_0x454161);this[_0x4a8745(0x5d3)](_0x3af3a4,_0xd95317);}catch(_0xda112c){this[_0x4a8745(0x529)][_0x4a8745(0x38d)](_0xda112c),this[_0x4a8745(0x37f)](_0x3af3a4);}}['_clearUndo'](_0x5ad118){const _0x3de05c=_0x56d4b2,_0x54ca08=this[_0x3de05c(0x1e0)](_0x5ad118);_0x54ca08&&(_0x54ca08['length']=0x0,this[_0x3de05c(0x4ab)]());}[_0x56d4b2(0x37f)](_0x4d5d58){const _0x25b6d5=_0x56d4b2,_0x58c9c7=this[_0x25b6d5(0x3a8)](_0x4d5d58);_0x58c9c7&&(_0x58c9c7[_0x25b6d5(0x543)]=0x0,this[_0x25b6d5(0x4ab)]());}['_substituteUndoStack'](_0x366b7a,_0x111f24){const _0x3220a4=_0x56d4b2;this[_0x3220a4(0x36b)]['set'](_0x366b7a,_0x111f24),this[_0x3220a4(0x4ab)]();}['_substituteRedoStack'](_0x178d95,_0xeb051d){const _0x11cda0=_0x56d4b2;this[_0x11cda0(0x564)][_0x11cda0(0x24a)](_0x178d95,_0xeb051d),this[_0x11cda0(0x4ab)]();}['_transformStack'](_0x5017b0,_0x3d893b){const _0x2711a9=_0x56d4b2,_0x33a287=[];let _0x510e09=_0x3d893b,_0x5728b7=_0x3d893b;for(let _0x221bf0=_0x5017b0[_0x2711a9(0x543)]-0x1;_0x221bf0>=0x0;_0x221bf0--){const {unitID:_0x215aa5,undoMutations:_0x171442,redoMutations:_0x2866df}=_0x5017b0[_0x221bf0],_0x1171d1=this[_0x2711a9(0x4c7)][_0x2711a9(0x230)](_0x510e09,_0x171442),_0x47ad28=this[_0x2711a9(0x4c7)]['transformMutationsWithChangeset'](_0x5728b7,_0x2866df);if(p[_0x2711a9(0x25b)](_0x1171d1)||p[_0x2711a9(0x25b)](_0x47ad28)){this[_0x2711a9(0x529)][_0x2711a9(0x38d)](_0x2711a9(0x51a),_0x2711a9(0x45e),_0x1171d1,_0x47ad28);break;}_0x510e09=_0x1171d1[_0x2711a9(0x242)],_0x5728b7=_0x47ad28[_0x2711a9(0x242)],_0x33a287['push']({'unitID':_0x215aa5,'undoMutations':_0x1171d1[_0x2711a9(0x417)],'redoMutations':_0x47ad28[_0x2711a9(0x417)]});}return _0x33a287[_0x2711a9(0x2b7)]();}};It=zr([Ne(0x0,a[_0x56d4b2(0x63e)]),Ne(0x1,a[_0x56d4b2(0x2b1)]),Ne(0x2,a['IContextService']),Ne(0x3,p[_0x56d4b2(0x25d)]),Ne(0x4,a['ILogService'])],It);class Nn extends a[_0x56d4b2(0x5c6)]{constructor(){const _0x2359c5=_0x56d4b2;super(),I(this,_0x2359c5(0x430)),this[_0x2359c5(0x430)]=A['fromEvent'](window,_0x2359c5(0x319))[_0x2359c5(0x348)](A['takeUntil'](this[_0x2359c5(0x5ba)]),A[_0x2359c5(0x2b4)](0x1),A[_0x2359c5(0x3b6)](void 0x0));}[_0x56d4b2(0x54c)](_0x1867c4,_0x15e14b,_0x478f55=!0x1){const _0x267293=_0x56d4b2,_0x3dcedb=new URL(window[_0x267293(0x263)][_0x267293(0x38c)]);_0x3dcedb[_0x267293(0x4ca)][_0x267293(0x24a)](_0x1867c4,_0x15e14b),_0x478f55?window['history'][_0x267293(0x5fd)]('','',_0x3dcedb['toString']()):window['history']['pushState']('','',_0x3dcedb['toString']());}['removeParam'](_0x116de2,_0x3292c0=!0x1){const _0xd163be=_0x56d4b2,_0x126762=new URL(window[_0xd163be(0x263)][_0xd163be(0x38c)]);_0x126762['searchParams'][_0xd163be(0x30c)](_0x116de2),_0x3292c0?window[_0xd163be(0x64a)][_0xd163be(0x5fd)]('','',_0x126762[_0xd163be(0x63c)]()):window['history'][_0xd163be(0x4b9)]('','',_0x126762['toString']());}['getParam'](_0x325f38){const _0x2e890f=_0x56d4b2;var _0x5d41ce;return(_0x5d41ce=new URL(window['location'][_0x2e890f(0x38c)])['searchParams']['get'](_0x325f38))!=null?_0x5d41ce:void 0x0;}}var Ln=Object[_0x56d4b2(0x3a4)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x56d0c4,_0x24d0f4,_0x295f11)=>_0x24d0f4 in _0x56d0c4?Ln(_0x56d0c4,_0x24d0f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x295f11}):_0x56d0c4[_0x24d0f4]=_0x295f11,Zr=(_0x1806e3,_0x158e25,_0x18720f,_0x34682)=>{const _0x442e01=_0x56d4b2;for(var _0x523c50=_0x34682>0x1?void 0x0:_0x34682?Xr(_0x158e25,_0x18720f):_0x158e25,_0x4a1dce=_0x1806e3[_0x442e01(0x543)]-0x1,_0x59b2e7;_0x4a1dce>=0x0;_0x4a1dce--)(_0x59b2e7=_0x1806e3[_0x4a1dce])&&(_0x523c50=(_0x34682?_0x59b2e7(_0x158e25,_0x18720f,_0x523c50):_0x59b2e7(_0x523c50))||_0x523c50);return _0x34682&&_0x523c50&&Ln(_0x158e25,_0x18720f,_0x523c50),_0x523c50;},He=(_0x4ad082,_0x1d9174)=>(_0x1b4f1c,_0x5c6c14)=>_0x1d9174(_0x1b4f1c,_0x5c6c14,_0x4ad082),Qr=(_0x10329e,_0x46143a,_0x533ded)=>Jr(_0x10329e,_0x46143a+'',_0x533ded);const eo=_0x56d4b2(0x3ce);exports['UniverCollaborationClientPlugin']=class extends a[_0x56d4b2(0x479)]{constructor(_0x3e953c=Jn,_0x4c14e6,_0x2bdb28,_0x337eda,_0x384790){const _0x450c0a=_0x56d4b2;super(),this['_config']=_0x3e953c,this['_logService']=_0x4c14e6,this[_0x450c0a(0x4e9)]=_0x2bdb28,this[_0x450c0a(0x473)]=_0x337eda,this[_0x450c0a(0x2b9)]=_0x384790;const {..._0x331c68}=this[_0x450c0a(0x374)];this['_configService'][_0x450c0a(0x349)](Z,_0x331c68);}[_0x56d4b2(0x2ab)](){const _0x252d2a=_0x56d4b2;this[_0x252d2a(0x4d8)](),this[_0x252d2a(0x62f)]();}[_0x56d4b2(0x221)](){const _0x375c4d=_0x56d4b2;a[_0x375c4d(0x52e)](this['_injector'],[[Ve]]);}[_0x56d4b2(0x23e)](){const _0x260d3b=_0x56d4b2;this[_0x260d3b(0x28a)]();}[_0x56d4b2(0x4d8)](){const _0x2ab3bb=_0x56d4b2;var _0x26d2b3,_0x24b36c,_0x508d76,_0x364ee0;this[_0x2ab3bb(0x473)][_0x2ab3bb(0x341)](a[_0x2ab3bb(0x2fd)])&&this['_logService'][_0x2ab3bb(0x38d)](_0x2ab3bb(0x5a5),_0x2ab3bb(0x267));const _0x4d696f=[[a['IUndoRedoService'],{'useClass':It}],[exports[_0x2ab3bb(0x251)]],[Ot],[Pt,{'useClass':Nn}],[exports[_0x2ab3bb(0x2cc)]],[exports['LocalCacheService']],[z[_0x2ab3bb(0x1e5)]],[Be],[Fe],[ke],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x24b36c=(_0x26d2b3=this[_0x2ab3bb(0x374)])==null?void 0x0:_0x26d2b3['socketService'])!=null?_0x24b36c:exports[_0x2ab3bb(0x419)]}],[p[_0x2ab3bb(0x508)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x2ab3bb(0x343)],{'useClass':exports[_0x2ab3bb(0x572)]}],[ne[_0x2ab3bb(0x5d7)],{'useClass':exports['ImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x2ab3bb(0x284)]}],[exports[_0x2ab3bb(0x399)]],[exports[_0x2ab3bb(0x49b)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x508d76=this[_0x2ab3bb(0x374)])!=null&&_0x508d76[_0x2ab3bb(0x1d3)]&&_0x4d696f[_0x2ab3bb(0x322)]([qe,{'useClass':Pi}]),a['registerDependencies'](this[_0x2ab3bb(0x473)],a[_0x2ab3bb(0x53f)](_0x4d696f,(_0x364ee0=this[_0x2ab3bb(0x374)])==null?void 0x0:_0x364ee0[_0x2ab3bb(0x379)]));}[_0x56d4b2(0x28a)](){const _0x1fde76=_0x56d4b2;this[_0x1fde76(0x211)](this[_0x1fde76(0x4e9)][_0x1fde76(0x646)](a[_0x1fde76(0x5c7)]['UNIVER_DOC'],[mt])),this[_0x1fde76(0x211)](this['_renderManagerService'][_0x1fde76(0x646)](a[_0x1fde76(0x5c7)]['UNIVER_SHEET'],[gt]));}[_0x56d4b2(0x62f)](){const _0x57d5c1=_0x56d4b2;var _0x5d3941,_0x3938d7;this[_0x57d5c1(0x473)]['get'](z[_0x57d5c1(0x5ac)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x57d5c1(0x2a8)]({'maxParallel':0x6})}),(_0x5d3941=this[_0x57d5c1(0x374)])!=null&&_0x5d3941[_0x57d5c1(0x454)]||this[_0x57d5c1(0x473)][_0x57d5c1(0x313)](exports[_0x57d5c1(0x541)])[_0x57d5c1(0x658)](),(_0x3938d7=this[_0x57d5c1(0x374)])!=null&&_0x3938d7['enableAuthServer']&&a[_0x57d5c1(0x52e)](this[_0x57d5c1(0x473)],[[Ge]]),a[_0x57d5c1(0x52e)](this[_0x57d5c1(0x473)],[[Ye],[De],[exports[_0x57d5c1(0x49b)]],[exports[_0x57d5c1(0x399)]],[exports[_0x57d5c1(0x652)]],[Ke]]);}},Qr(exports['UniverCollaborationClientPlugin'],_0x56d4b2(0x396),eo),exports['UniverCollaborationClientPlugin']=Zr([a[_0x56d4b2(0x294)](p[_0x56d4b2(0x36d)],z[_0x56d4b2(0x4f5)]),He(0x1,a[_0x56d4b2(0x270)]),He(0x2,K[_0x56d4b2(0x296)]),He(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),He(0x4,a[_0x56d4b2(0x229)])],exports[_0x56d4b2(0x355)]),exports[_0x56d4b2(0x303)]=wt,exports[_0x56d4b2(0x212)]=Z,exports[_0x56d4b2(0x238)]=cn,exports[_0x56d4b2(0x22a)]=nn,exports[_0x56d4b2(0x4cd)]=q,exports[_0x56d4b2(0x33a)]=yn,exports['CommentService']=Tt,exports[_0x56d4b2(0x645)]=sn,exports['HEARTBEAT_TIMEOUT_KEY']=Ct,exports[_0x56d4b2(0x26a)]=bt,exports['IURLService']=Pt,exports[_0x56d4b2(0x510)]=an,exports['LOGIN_URL_KEY']=ln,exports[_0x56d4b2(0x33b)]=on,exports['SEND_CHANGESET_TIMEOUT_KEY']=Bn,exports[_0x56d4b2(0x3f0)]=en,exports[_0x56d4b2(0x4ff)]=tn,exports[_0x56d4b2(0x5d1)]=se,exports[_0x56d4b2(0x5bc)]=gn,exports[_0x56d4b2(0x4b1)]=Nn,exports[_0x56d4b2(0x610)]=un,exports['serializeCombRequest']=dn;