@univerjs-pro/collaboration-client 0.4.1-nightly.202410281606 → 0.4.1-nightly.202410291249

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2ca49a,_0x21e243){const _0x1cd055=_0xe8fd,_0x3cca11=_0x2ca49a();while(!![]){try{const _0x3a0bf1=parseInt(_0x1cd055(0x36a))/0x1*(-parseInt(_0x1cd055(0x45f))/0x2)+-parseInt(_0x1cd055(0x27b))/0x3+parseInt(_0x1cd055(0x21b))/0x4+-parseInt(_0x1cd055(0x50f))/0x5+parseInt(_0x1cd055(0x341))/0x6*(-parseInt(_0x1cd055(0x450))/0x7)+parseInt(_0x1cd055(0x31d))/0x8+parseInt(_0x1cd055(0x325))/0x9;if(_0x3a0bf1===_0x21e243)break;else _0x3cca11['push'](_0x3cca11['shift']());}catch(_0x24b2fa){_0x3cca11['push'](_0x3cca11['shift']());}}}(_0x4fa7,0x9b57a),function(_0xff4418,_0x264d50){const _0x4665c1=_0xe8fd;typeof exports==_0x4665c1(0x210)&&typeof module<'u'?_0x264d50(exports,require('@univerjs/core'),require(_0x4665c1(0x1c6)),require(_0x4665c1(0x448)),require(_0x4665c1(0x2af)),require(_0x4665c1(0x36c)),require(_0x4665c1(0x313)),require('@univerjs-pro/collaboration'),require(_0x4665c1(0x20a)),require(_0x4665c1(0x281)),require(_0x4665c1(0x25d)),require(_0x4665c1(0x584)),require('@univerjs/docs'),require(_0x4665c1(0x38c)),require('@univerjs/engine-formula'),require(_0x4665c1(0x3a3)),require('react'),require(_0x4665c1(0x17c)),require(_0x4665c1(0x466))):typeof define=='function'&&define['amd']?define([_0x4665c1(0x4c9),'@univerjs/core',_0x4665c1(0x1c6),_0x4665c1(0x448),_0x4665c1(0x2af),'@univerjs/ui',_0x4665c1(0x313),_0x4665c1(0x344),_0x4665c1(0x20a),'@univerjs/docs-ui','@univerjs/sheets',_0x4665c1(0x584),_0x4665c1(0x246),_0x4665c1(0x38c),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x4665c1(0x15e),_0x4665c1(0x17c),_0x4665c1(0x466)],_0x264d50):(_0xff4418=typeof globalThis<'u'?globalThis:_0xff4418||self,_0x264d50(_0xff4418[_0x4665c1(0x587)]={},_0xff4418[_0x4665c1(0x1c1)],_0xff4418[_0x4665c1(0x1c6)],_0xff4418[_0x4665c1(0x1c6)][_0x4665c1(0x2d1)],_0xff4418[_0x4665c1(0x327)],_0xff4418[_0x4665c1(0x1fc)],_0xff4418[_0x4665c1(0x294)],_0xff4418[_0x4665c1(0x2dd)],_0xff4418[_0x4665c1(0x4f7)],_0xff4418[_0x4665c1(0x39e)],_0xff4418[_0x4665c1(0x232)],_0xff4418['UniverEngineRender'],_0xff4418['UniverDocs'],_0xff4418['UniverDrawing'],_0xff4418['UniverEngineFormula'],_0xff4418[_0x4665c1(0x2b6)],_0xff4418[_0x4665c1(0x461)],_0xff4418[_0x4665c1(0x166)],_0xff4418[_0x4665c1(0x543)]));}(this,function(_0x4fdbaf,_0x29630e,_0x17e48c,_0x56098d,_0x2d4ff4,_0x279664,_0x1f6627,_0x2a6d3d,_0x2baadb,_0x214ea6,_0x5decb0,_0x37c548,_0x31abfa,_0x97788b,_0x5b4502,_0x30e2ba,_0xf902af,_0xa2266f,_0x4b1b03){'use strict';const _0x5f56c6=_0xe8fd;var _0xf13ceb=Object[_0x5f56c6(0x17a)],_0x4f3cc0=(_0xf1ac72,_0x2934c9,_0x11b125)=>_0x2934c9 in _0xf1ac72?_0xf13ceb(_0xf1ac72,_0x2934c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b125}):_0xf1ac72[_0x2934c9]=_0x11b125,_0x48f470=(_0x2d04c3,_0x38b4e5,_0x3f01ab)=>_0x4f3cc0(_0x2d04c3,typeof _0x38b4e5!=_0x5f56c6(0x3b7)?_0x38b4e5+'':_0x38b4e5,_0x3f01ab);const _0x93d6f0='SNAPSHOT_SERVER_URL_KEY',_0x46da86='/universer-api/snapshot',_0x5242a1=_0x5f56c6(0x3e2),_0x467be1='SEND_CHANGESET_TIMEOUT',_0x4650c3=_0x5f56c6(0x3e3),_0x56f7d8='ws://127.0.0.1:8000/universer-api/comb/connect',_0x17ca3f=_0x5f56c6(0x331),_0x3b0121=_0x5f56c6(0x499),_0xd6482f=_0x5f56c6(0x353),_0x5831f1=_0x5f56c6(0x3c4),_0x513a4c=_0x5f56c6(0x1b1),_0x17fed4=_0x5f56c6(0x231),_0x550a35=_0x5f56c6(0x318),_0xb53a80=_0x5f56c6(0x322);var _0x5c7736=(_0x308948=>(_0x308948[_0x308948[_0x5f56c6(0x4ac)]=0x0]=_0x5f56c6(0x4ac),_0x308948[_0x308948['OK']=0x1]='OK',_0x308948[_0x308948[_0x5f56c6(0x15f)]=0x2]=_0x5f56c6(0x15f),_0x308948[_0x308948[_0x5f56c6(0x361)]=0x3]=_0x5f56c6(0x361),_0x308948[_0x308948[_0x5f56c6(0x509)]=0x4]=_0x5f56c6(0x509),_0x308948[_0x308948[_0x5f56c6(0x355)]=0x5]=_0x5f56c6(0x355),_0x308948[_0x308948[_0x5f56c6(0x370)]=0x6]=_0x5f56c6(0x370),_0x308948[_0x308948['INVALID_ARGUMENT']=0x7]=_0x5f56c6(0x194),_0x308948[_0x308948[_0x5f56c6(0x55b)]=0x8]=_0x5f56c6(0x55b),_0x308948[_0x308948[_0x5f56c6(0x27f)]=0x9]='COMPLETION_FINISHED',_0x308948[_0x308948['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5f56c6(0x377),_0x308948[_0x308948[_0x5f56c6(0x497)]=0x1771]=_0x5f56c6(0x497),_0x308948[_0x308948[_0x5f56c6(0x2fc)]=0x1772]=_0x5f56c6(0x2fc),_0x308948[_0x308948['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5f56c6(0x3c3),_0x308948[_0x308948[_0x5f56c6(0x2ff)]=0x1b59]='APPLY_REJECT',_0x308948[_0x308948['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x308948[_0x308948[_0x5f56c6(0x3f3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x308948[_0x308948['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f56c6(0x2ce),_0x308948[_0x308948[_0x5f56c6(0x49c)]=0x1b5d]=_0x5f56c6(0x49c),_0x308948[_0x308948[_0x5f56c6(0x54a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x308948[_0x308948[_0x5f56c6(0x38d)]=0x2329]=_0x5f56c6(0x38d),_0x308948[_0x308948[_0x5f56c6(0x4a7)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x308948[_0x308948[_0x5f56c6(0x458)]=0x232b]=_0x5f56c6(0x458),_0x308948[_0x308948['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5f56c6(0x1a3),_0x308948[_0x308948[_0x5f56c6(0x3df)]=0x232d]=_0x5f56c6(0x3df),_0x308948[_0x308948[_0x5f56c6(0x437)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x308948[_0x308948[_0x5f56c6(0x1a9)]=0x2712]=_0x5f56c6(0x1a9),_0x308948[_0x308948[_0x5f56c6(0x304)]=0x2713]=_0x5f56c6(0x304),_0x308948[_0x308948[_0x5f56c6(0x409)]=0x2714]=_0x5f56c6(0x409),_0x308948[_0x308948[_0x5f56c6(0x4cf)]=-0x1]='UNRECOGNIZED',_0x308948))(_0x5c7736||{}),_0x48039f=(_0xc20a31=>(_0xc20a31[_0xc20a31['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xc20a31[_0xc20a31['UNIVER_DOC']=0x1]=_0x5f56c6(0x540),_0xc20a31[_0xc20a31[_0x5f56c6(0x4b4)]=0x2]='UNIVER_SHEET',_0xc20a31[_0xc20a31[_0x5f56c6(0x469)]=0x3]='UNIVER_SLIDE',_0xc20a31[_0xc20a31['UNIVER_PROJECT']=0x4]=_0x5f56c6(0x541),_0xc20a31[_0xc20a31[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0xc20a31))(_0x48039f||{}),_0x118155=(_0x3bc60c=>(_0x3bc60c[_0x3bc60c[_0x5f56c6(0x187)]=0x0]=_0x5f56c6(0x187),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x1d2)]=0x1]=_0x5f56c6(0x1d2),_0x3bc60c[_0x3bc60c['JOIN']=0x2]=_0x5f56c6(0x4f5),_0x3bc60c[_0x3bc60c['LEAVE']=0x3]=_0x5f56c6(0x415),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x560)]=0x4]=_0x5f56c6(0x560),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x391)]=0x5]=_0x5f56c6(0x391),_0x3bc60c[_0x3bc60c[_0x5f56c6(0x29b)]=0x6]=_0x5f56c6(0x29b),_0x3bc60c[_0x3bc60c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3bc60c))(_0x118155||{}),_0xa05499=(_0x11f8f1=>(_0x11f8f1[_0x11f8f1[_0x5f56c6(0x236)]=0x0]=_0x5f56c6(0x236),_0x11f8f1[_0x11f8f1['OK']=0x1]='OK',_0x11f8f1[_0x11f8f1[_0x5f56c6(0x37f)]=0x2]='FAIL',_0x11f8f1[_0x11f8f1[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0x11f8f1))(_0xa05499||{}),_0x26c986=(_0x3e6dd9=>(_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x32f)]=0x0]=_0x5f56c6(0x32f),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x2ef)]=0x1]='HttpImport',_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x208)]=0x2]=_0x5f56c6(0x208),_0x3e6dd9[_0x3e6dd9['UnitEmbedded']=0x3]=_0x5f56c6(0x21a),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x15b)]=0x4]=_0x5f56c6(0x15b),_0x3e6dd9[_0x3e6dd9[_0x5f56c6(0x4cf)]=-0x1]=_0x5f56c6(0x4cf),_0x3e6dd9))(_0x26c986||{});const _0x1573c4='collaboration-client.config',_0x2bff4b={};function _0x4377b7(_0x956f21){const _0x3e86d9=_0x5f56c6;var _0xe66cc1,_0x25e9eb,_0x50482e,_0x421c9e,_0x2d10e4;const _0x1d6b1e=_0x956f21[_0x3e86d9(0x54c)],_0x1ecc87=JSON[_0x3e86d9(0x3fb)](_0x1d6b1e);switch(_0x1ecc87[_0x3e86d9(0x16d)]){case _0x118155[_0x3e86d9(0x391)]:case _0x118155[_0x3e86d9(0x1d2)]:{const _0x356e9c=_0x1ecc87['infoRsp'];return{..._0x1ecc87,'data':_0x356e9c,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};}case _0x118155['JOIN']:{const _0x20c869=_0x1ecc87['joinRsp'];return{..._0x1ecc87,'data':_0x20c869,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};}case _0x118155[_0x3e86d9(0x29b)]:{const _0x160c75=_0x1ecc87['collaMsg'];switch(_0x160c75[_0x3e86d9(0x256)]){case _0x2a6d3d[_0x3e86d9(0x56e)]['PERMISSION_REJ']:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0xe66cc1=_0x160c75[_0x3e86d9(0x2cf)])==null?void 0x0:_0xe66cc1['cs']},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x51c)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x25e9eb=_0x160c75['csAckEvent'])==null?void 0x0:_0x25e9eb['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x433)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x50482e=_0x160c75[_0x3e86d9(0x216)])==null?void 0x0:_0x50482e['cs']},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x3fd)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x421c9e=_0x160c75['csRejEvent'])==null?void 0x0:_0x421c9e['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x306)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':(_0x2d10e4=_0x160c75[_0x3e86d9(0x319)])==null?void 0x0:_0x2d10e4['cs']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x40a)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x4e6)]},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x311)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x2d3)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d['CollaborationEvent'][_0x3e86d9(0x2c5)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x419)]},'cmd':_0x1ecc87['cmd']};case _0x2a6d3d[_0x3e86d9(0x56e)]['LIVESHARE_NEW_HOST']:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x254)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x493)]:case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x2bf)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75['liveShareOperation']},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)]['LIVESHARE_TERMINATE']:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x254)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)]['MSG_FOR_ERROR']:return{..._0x1ecc87,'data':_0x160c75,'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x559)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x2e2)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d['CollaborationEvent'][_0x3e86d9(0x2f4)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x1d0)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};case _0x2a6d3d[_0x3e86d9(0x56e)][_0x3e86d9(0x34b)]:return{..._0x1ecc87,'data':{..._0x160c75,'data':_0x160c75[_0x3e86d9(0x56f)]},'cmd':_0x1ecc87[_0x3e86d9(0x16d)]};default:return _0x1ecc87;}}default:return _0x1ecc87;}}function _0x14f3c4(_0x2e1964){const _0x2bcde2=_0x5f56c6;switch(_0x2e1964[_0x2bcde2(0x16d)]){case _0x118155[_0x2bcde2(0x391)]:case _0x118155[_0x2bcde2(0x1d2)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964[_0x2bcde2(0x16d)],'routeKey':_0x2e1964['routeKey']});case _0x118155[_0x2bcde2(0x560)]:{let _0x4c0912;switch(_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x256)]){case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x40a)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x40a)],'updateCursorEvent':_0x2e1964[_0x2bcde2(0x54c)]['data']};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2c5)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2c5)],'leaveEvent':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d['CollaborationEvent']['USERS_ENTER']:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['USERS_ENTER'],'joinEvent':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x3e5)]:{_0x4c0912={'eventID':_0x2a6d3d['CollaborationEvent'][_0x2bcde2(0x3e5)],'liveShareNewHost':_0x2e1964['data'][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2bf)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x2bf)],'liveShareOperation':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d['CollaborationEvent'][_0x2bcde2(0x453)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x453)],'liveShareTerminate':_0x2e1964[_0x2bcde2(0x54c)][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)][_0x2bcde2(0x290)]:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e1964['data'][_0x2bcde2(0x54c)]};break;}case _0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4c0912={'eventID':_0x2a6d3d[_0x2bcde2(0x56e)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4c0912={'eventID':_0x2e1964['data'][_0x2bcde2(0x256)]};}return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964[_0x2bcde2(0x16d)],'routeKey':_0x2e1964['routeKey'],'collaMsg':_0x4c0912});}case _0x118155[_0x2bcde2(0x4f5)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964['cmd'],'routeKey':_0x2e1964[_0x2bcde2(0x330)],'joinReq':_0x2e1964[_0x2bcde2(0x54c)]});case _0x118155[_0x2bcde2(0x415)]:return JSON[_0x2bcde2(0x4a4)]({'cmd':_0x2e1964['cmd'],'routeKey':_0x2e1964[_0x2bcde2(0x330)],'leaveReq':_0x2e1964[_0x2bcde2(0x54c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3c4008=Object[_0x5f56c6(0x17a)],_0x785791=Object[_0x5f56c6(0x47e)],_0x3faff7=(_0x5a7dd6,_0x4eb065,_0x1a2d57,_0x4b7fc7)=>{const _0x2f4d8e=_0x5f56c6;for(var _0x225ad4=_0x4b7fc7>0x1?void 0x0:_0x4b7fc7?_0x785791(_0x4eb065,_0x1a2d57):_0x4eb065,_0x5c1d31=_0x5a7dd6[_0x2f4d8e(0x47d)]-0x1,_0x169360;_0x5c1d31>=0x0;_0x5c1d31--)(_0x169360=_0x5a7dd6[_0x5c1d31])&&(_0x225ad4=(_0x4b7fc7?_0x169360(_0x4eb065,_0x1a2d57,_0x225ad4):_0x169360(_0x225ad4))||_0x225ad4);return _0x4b7fc7&&_0x225ad4&&_0x3c4008(_0x4eb065,_0x1a2d57,_0x225ad4),_0x225ad4;},_0x160155=(_0x5010d7,_0x5f56c9)=>(_0x45b5a1,_0x1d282b)=>_0x5f56c9(_0x45b5a1,_0x1d282b,_0x5010d7);const _0x24f2a6=_0x29630e[_0x5f56c6(0x284)]('univer-pro.collaboration-client-socket-service');function _0x1e45df(_0x5cbfa3,_0x7daeb5,_0x333a30){const _0x5642c1=_0x5f56c6;return _0x5cbfa3+'/'+_0x7daeb5+'/unit/'+_0x333a30+_0x5642c1(0x553);}_0x4fdbaf['CollaborationSocketService']=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x241f3e,_0x57bd17,_0xad2947,_0x45efd7,_0x522311){const _0x59c33d=_0x5f56c6;super(),this[_0x59c33d(0x30e)]=_0x241f3e,this['_ws']=_0x57bd17,this[_0x59c33d(0x4e8)]=_0xad2947,this[_0x59c33d(0x3ac)]=_0x45efd7,this[_0x59c33d(0x237)]=_0x522311;}[_0x5f56c6(0x2c3)](_0x1ef5b9){const _0x477950=_0x5f56c6,_0x39c4ec=this[_0x477950(0x2f3)]['createSocket'](_0x1ef5b9);if(!_0x39c4ec)throw new Error(_0x477950(0x53a));const _0x34b854=new _0x29630e[(_0x477950(0x2ea))](),_0x495746=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854['add'](_0x39c4ec['close$'][_0x477950(0x18a)](_0x488cd1=>_0x495746[_0x477950(0x17b)](_0x488cd1))),_0x34b854['add'](_0x29630e[_0x477950(0x1cd)](()=>_0x495746['complete']()));const _0x583b69=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854[_0x477950(0x54b)](_0x39c4ec[_0x477950(0x55a)][_0x477950(0x18a)](_0x429ddb=>_0x583b69[_0x477950(0x17b)](_0x429ddb))),_0x34b854[_0x477950(0x54b)](_0x29630e[_0x477950(0x1cd)](()=>_0x583b69[_0x477950(0x423)]()));const _0x1a39e1=new _0x17e48c[(_0x477950(0x3be))]();_0x34b854['add'](_0x39c4ec['message$'][_0x477950(0x18a)](_0x28066b=>{const _0x36571b=_0x477950,_0x1c2e13=_0x4377b7(_0x28066b);_0x1a39e1[_0x36571b(0x17b)](_0x1c2e13);})),_0x34b854['add'](_0x29630e[_0x477950(0x1cd)](()=>_0x1a39e1[_0x477950(0x423)]()));let _0x504714;const _0x50ee14=()=>{const _0x1ccd3d=_0x477950;_0x583b69[_0x1ccd3d(0x17b)](new Event(_0x1ccd3d(0x378))),_0x495746[_0x1ccd3d(0x17b)](new CloseEvent(_0x1ccd3d(0x378))),_0x504714[_0x1ccd3d(0x3ca)]();};return _0x504714={'memberID':'','close$':_0x495746[_0x477950(0x2ac)](),'error$':_0x583b69[_0x477950(0x2ac)](),'open$':_0x39c4ec[_0x477950(0x547)],'message$':_0x1a39e1['asObservable'](),'send':_0x416def=>{const _0x310ad7=_0x477950;if(_0x416def['cmd']===_0x118155[_0x310ad7(0x560)]){if(_0x416def[_0x310ad7(0x54c)][_0x310ad7(0x256)]===_0x2a6d3d[_0x310ad7(0x56e)][_0x310ad7(0x25b)]){this[_0x310ad7(0x2cb)](_0x504714,_0x416def[_0x310ad7(0x54c)])['catch'](_0x1b6501=>{const _0x4000ce=_0x310ad7;this[_0x4000ce(0x3ac)][_0x4000ce(0x1fe)](_0x1b6501),_0x50ee14();});return;}if(_0x416def[_0x310ad7(0x54c)][_0x310ad7(0x256)]===_0x2a6d3d[_0x310ad7(0x56e)]['FETCH_MISSING']){const _0x593bba=_0x416def[_0x310ad7(0x54c)];this['_fetchMissChangesets'](_0x593bba)[_0x310ad7(0x4c3)](_0x10bf27=>{const _0x271c28=_0x310ad7;_0x1a39e1[_0x271c28(0x17b)]({'cmd':_0x118155[_0x271c28(0x29b)],'code':_0xa05499['OK'],'routeKey':_0x593bba[_0x271c28(0x54c)]['unitID'],'routeType':'','data':{'eventID':_0x2a6d3d[_0x271c28(0x56e)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x10bf27}}});})[_0x310ad7(0x3b5)](_0x25c275=>{this['_logService']['error'](_0x25c275),_0x50ee14();});return;}}_0x39c4ec[_0x310ad7(0x16b)](_0x14f3c4(_0x416def));},'close':()=>{const _0x458064=_0x477950;_0x39c4ec['close'](),_0x34b854[_0x458064(0x1b8)]();}},_0x504714;}async[_0x5f56c6(0x2cb)](_0x4711bd,_0x3e1119){const _0x3e54d2=_0x5f56c6;var _0x26e027,_0x29fa4a;const {unitType:_0x121adc,unitID:_0x4e628a,changeset:_0x2a0412}=_0x3e1119[_0x3e54d2(0x54c)],_0x5e79ed={'unitID':_0x4e628a,'memberID':_0x4711bd[_0x3e54d2(0x4d4)],'type':_0x121adc,'changeset':_0x2a6d3d[_0x3e54d2(0x2ca)](_0x2a0412)},_0x1a3d9d=this[_0x3e54d2(0x4e8)][_0x3e54d2(0x1e0)](_0x513a4c),_0x461196=this['_configService'][_0x3e54d2(0x1e0)](_0x1573c4),_0xed8bc7=_0x1e45df((_0x29fa4a=(_0x26e027=_0x461196==null?void 0x0:_0x461196['collabSubmitChangesetUrl'])!=null?_0x26e027:_0x1a3d9d)!=null?_0x29fa4a:_0x17fed4,_0x121adc,_0x4e628a);try{await this[_0x3e54d2(0x30e)]['post'](_0xed8bc7,{'body':_0x5e79ed});}catch(_0x2592cc){throw this[_0x3e54d2(0x3ac)][_0x3e54d2(0x1fe)](_0x3e54d2(0x225),_0x3e54d2(0x2ec)),_0x2592cc;}}async[_0x5f56c6(0x3cc)](_0x24d8c2){const _0x8025a=_0x5f56c6,{unitID:_0x36abad,from:_0x1b1ce7,to:_0x3f59a4,unitType:_0x4905ce}=_0x24d8c2[_0x8025a(0x54c)];return(await this[_0x8025a(0x237)][_0x8025a(0x451)]({'metadata':void 0x0},{'unitID':_0x36abad,'type':_0x4905ce,'from':_0x1b1ce7,'to':_0x3f59a4}))[_0x8025a(0x1a5)];}},_0x4fdbaf[_0x5f56c6(0x17d)]=_0x3faff7([_0x160155(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x160155(0x1,_0x29630e['Inject'](_0x1f6627['WebSocketService'])),_0x160155(0x2,_0x29630e[_0x5f56c6(0x34d)]),_0x160155(0x3,_0x29630e[_0x5f56c6(0x478)]),_0x160155(0x4,_0x2a6d3d['ISnapshotServerService'])],_0x4fdbaf[_0x5f56c6(0x17d)]);const _0x3d7395=_0x5f56c6(0x2bb);function _0x5854e3(_0x5f4815){const _0x36e311=_0x5f56c6;return JSON[_0x36e311(0x4a4)](_0x5f4815)[_0x36e311(0x47d)];}class _0x4fa0d0{constructor(){const _0x3f12fc=_0x5f56c6;_0x48f470(this,_0x3f12fc(0x417),new _0x17e48c[(_0x3f12fc(0x3be))]()),_0x48f470(this,_0x3f12fc(0x24f),this[_0x3f12fc(0x417)][_0x3f12fc(0x2ac)]());}['onCommentUpdate'](_0xbc5472){const _0x32121f=_0x5f56c6;this[_0x32121f(0x417)][_0x32121f(0x17b)](_0xbc5472);}}var _0x2b754a=Object[_0x5f56c6(0x17a)],_0x3d404b=Object[_0x5f56c6(0x47e)],_0x5c01f5=(_0x529a36,_0x54ca75,_0x219a89,_0x58a25a)=>{const _0x3f7862=_0x5f56c6;for(var _0x47be0a=_0x58a25a>0x1?void 0x0:_0x58a25a?_0x3d404b(_0x54ca75,_0x219a89):_0x54ca75,_0x5fd688=_0x529a36[_0x3f7862(0x47d)]-0x1,_0x124e4f;_0x5fd688>=0x0;_0x5fd688--)(_0x124e4f=_0x529a36[_0x5fd688])&&(_0x47be0a=(_0x58a25a?_0x124e4f(_0x54ca75,_0x219a89,_0x47be0a):_0x124e4f(_0x47be0a))||_0x47be0a);return _0x58a25a&&_0x47be0a&&_0x2b754a(_0x54ca75,_0x219a89,_0x47be0a),_0x47be0a;},_0x30a45e=(_0x2a67df,_0x27a3f7)=>(_0x24750b,_0x3b3cf0)=>_0x27a3f7(_0x24750b,_0x3b3cf0,_0x2a67df);_0x4fdbaf['MemberService']=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x17f0b6,_0x4b42f9){const _0x7f9372=_0x5f56c6;super(),_0x48f470(this,_0x7f9372(0x2a8),new Map()),(this['_univerInstanceService']=_0x17f0b6,this['_userManagerService']=_0x4b42f9,this[_0x7f9372(0x52f)](_0x29630e[_0x7f9372(0x1cd)](_0x17e48c[_0x7f9372(0x268)](this['_univerInstanceService'][_0x7f9372(0x407)](_0x29630e[_0x7f9372(0x438)][_0x7f9372(0x4b4)])[_0x7f9372(0x300)](_0x56098d[_0x7f9372(0x239)](_0x5c626a=>_0x5c626a[_0x7f9372(0x1a2)]())),this[_0x7f9372(0x434)][_0x7f9372(0x407)](_0x29630e[_0x7f9372(0x438)][_0x7f9372(0x540)])[_0x7f9372(0x300)](_0x56098d[_0x7f9372(0x239)](_0x1e8ba2=>_0x1e8ba2[_0x7f9372(0x1a2)]())),this[_0x7f9372(0x434)][_0x7f9372(0x407)](_0x29630e['UniverInstanceType'][_0x7f9372(0x469)])[_0x7f9372(0x300)](_0x56098d['map'](_0x5e4a77=>_0x5e4a77[_0x7f9372(0x1a2)]())))[_0x7f9372(0x18a)](_0x158860=>this[_0x7f9372(0x40e)](_0x158860)))));}['setCurrentUser'](_0x34cc2c){const _0xb25315=_0x5f56c6;this[_0xb25315(0x396)][_0xb25315(0x175)](_0x34cc2c);}[_0x5f56c6(0x2c4)](){const _0x4c6ab3=_0x5f56c6;return this[_0x4c6ab3(0x396)][_0x4c6ab3(0x2c4)]();}[_0x5f56c6(0x383)](_0x28d450,_0x1996a6){const _0x3935ab=_0x5f56c6;let _0x8548bb=this[_0x3935ab(0x2a8)][_0x3935ab(0x44d)](_0x28d450);_0x8548bb||(_0x8548bb=new _0x1c4380(),this[_0x3935ab(0x2a8)][_0x3935ab(0x4f1)](_0x28d450,_0x8548bb)),_0x8548bb[_0x3935ab(0x383)](_0x1996a6);}['removeMember'](_0x205313,_0x395af5){const _0x528928=_0x5f56c6,_0x3f9396=this[_0x528928(0x2a8)]['get'](_0x205313);_0x3f9396&&_0x3f9396[_0x528928(0x4ba)](_0x395af5);}['getRoom'](_0x1aeb38){const _0x335622=_0x5f56c6;return this[_0x335622(0x2a8)][_0x335622(0x44d)](_0x1aeb38);}['getMember'](_0x10b886,_0x398d72){const _0x2b2321=_0x5f56c6,_0x3eebad=this[_0x2b2321(0x2a8)][_0x2b2321(0x44d)](_0x10b886);if(_0x3eebad)return _0x3eebad[_0x2b2321(0x30c)](_0x398d72);}['_removeRoom'](_0x277343){const _0x437d99=_0x5f56c6,_0x1157cf=this[_0x437d99(0x2a8)][_0x437d99(0x44d)](_0x277343);_0x1157cf&&(_0x1157cf['dispose'](),this[_0x437d99(0x2a8)]['delete'](_0x277343));}[_0x5f56c6(0x1b8)](){const _0xdf7f55=_0x5f56c6;this[_0xdf7f55(0x2a8)]['forEach'](_0x3c87d1=>_0x3c87d1[_0xdf7f55(0x1b8)]()),this[_0xdf7f55(0x2a8)]['clear']();}},_0x4fdbaf[_0x5f56c6(0x2b3)]=_0x5c01f5([_0x30a45e(0x0,_0x29630e['IUniverInstanceService']),_0x30a45e(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x1ab)]))],_0x4fdbaf[_0x5f56c6(0x2b3)]);class _0x1c4380 extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(){super(...arguments),_0x48f470(this,'_members',new Map());}[_0x5f56c6(0x1b8)](){const _0xef26c1=_0x5f56c6;this['_members'][_0xef26c1(0x185)]();}[_0x5f56c6(0x383)](_0x5b4def){const _0x32d28d=_0x5f56c6;this[_0x32d28d(0x19f)]['set'](_0x5b4def['memberID'],_0x5b4def);}[_0x5f56c6(0x4ba)](_0x53b03b){const _0x1105ff=_0x5f56c6;this['_members'][_0x1105ff(0x340)](_0x53b03b);}[_0x5f56c6(0x30c)](_0x126a10){const _0x214429=_0x5f56c6;return this[_0x214429(0x19f)][_0x214429(0x44d)](_0x126a10);}[_0x5f56c6(0x46e)](){const _0xecdbe7=_0x5f56c6;return Array[_0xecdbe7(0x2b9)](this[_0xecdbe7(0x19f)][_0xecdbe7(0x182)]());}}var _0x4767e3=Object[_0x5f56c6(0x17a)],_0x21b28d=Object[_0x5f56c6(0x47e)],_0x25d4ae=(_0x29f66a,_0x4cd179,_0x7b88dc,_0x3f9dae)=>{const _0x628660=_0x5f56c6;for(var _0x31cfde=_0x3f9dae>0x1?void 0x0:_0x3f9dae?_0x21b28d(_0x4cd179,_0x7b88dc):_0x4cd179,_0x1953cd=_0x29f66a[_0x628660(0x47d)]-0x1,_0x204ad6;_0x1953cd>=0x0;_0x1953cd--)(_0x204ad6=_0x29f66a[_0x1953cd])&&(_0x31cfde=(_0x3f9dae?_0x204ad6(_0x4cd179,_0x7b88dc,_0x31cfde):_0x204ad6(_0x31cfde))||_0x31cfde);return _0x3f9dae&&_0x31cfde&&_0x4767e3(_0x4cd179,_0x7b88dc,_0x31cfde),_0x31cfde;},_0x301af7=(_0x233872,_0x24178a)=>(_0x158495,_0x3b64a1)=>_0x24178a(_0x158495,_0x3b64a1,_0x233872),_0x90155=(_0x5e8559=>(_0x5e8559[_0x5e8559[_0x5f56c6(0x204)]=0x0]='IDLE',_0x5e8559[_0x5e8559['JOINING']=0x1]='JOINING',_0x5e8559[_0x5e8559[_0x5f56c6(0x385)]=0x2]='OFFLINE',_0x5e8559[_0x5e8559[_0x5f56c6(0x4c5)]=0x3]=_0x5f56c6(0x4c5),_0x5e8559))(_0x90155||{});_0x4fdbaf['CollaborationSession']=class extends _0x29630e['RxDisposable']{constructor(_0x1eb6b9,_0x519807,_0x37de1d,_0x404d0b,_0x1621e2,_0x59c422,_0x3ca0fb,_0x6409d3,_0x56cb66,_0x5c151d){const _0x587ce5=_0x5f56c6;super(),_0x48f470(this,'_sessionStatus$',new _0x17e48c[(_0x587ce5(0x38b))](0x0)),_0x48f470(this,'sessionStatus$',this[_0x587ce5(0x4d6)][_0x587ce5(0x2ac)]()),_0x48f470(this,_0x587ce5(0x315),new _0x17e48c[(_0x587ce5(0x3be))]()),_0x48f470(this,_0x587ce5(0x574),this[_0x587ce5(0x315)]['asObservable']()),_0x48f470(this,_0x587ce5(0x41f)),_0x48f470(this,_0x587ce5(0x3a6)),_0x48f470(this,_0x587ce5(0x44c)),_0x48f470(this,_0x587ce5(0x38e),!0x1),_0x48f470(this,_0x587ce5(0x4b6),null),(this[_0x587ce5(0x585)]=_0x1eb6b9,this[_0x587ce5(0x3ac)]=_0x37de1d,this[_0x587ce5(0x22e)]=_0x404d0b,this[_0x587ce5(0x3a9)]=_0x1621e2,this[_0x587ce5(0x4e8)]=_0x59c422,this[_0x587ce5(0x375)]=_0x3ca0fb,this[_0x587ce5(0x521)]=_0x6409d3,this[_0x587ce5(0x312)]=_0x56cb66,this[_0x587ce5(0x1be)]=_0x5c151d,this[_0x587ce5(0x38e)]=!!this[_0x587ce5(0x1be)],_0x519807[_0x587ce5(0x300)](_0x17e48c[_0x587ce5(0x47a)](this[_0x587ce5(0x3ce)]))['subscribe'](_0x1a2d9b=>{const _0x33d071=_0x587ce5;var _0x1268b6;typeof _0x1a2d9b>'u'||(this['_socket']=_0x1a2d9b,_0x1a2d9b?(this[_0x33d071(0x1ba)](_0x1a2d9b),this[_0x33d071(0x3a6)]=_0x1a2d9b[_0x33d071(0x39c)][_0x33d071(0x18a)](_0x477777=>{const _0x59710c=_0x33d071;_0x477777[_0x59710c(0x330)]===this['_unitID']&&this[_0x59710c(0x535)](_0x477777);})):(this[_0x33d071(0x432)](),this[_0x33d071(0x4d6)][_0x33d071(0x17b)](0x2),(_0x1268b6=this[_0x33d071(0x3a6)])==null||_0x1268b6[_0x33d071(0x349)](),this[_0x33d071(0x3a6)]=null));}),this[_0x587ce5(0x52f)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x28210c=_0x587ce5;var _0x1a6fba;(_0x1a6fba=this[_0x28210c(0x41f)])==null||_0x1a6fba['send']({'cmd':_0x118155[_0x28210c(0x415)],'data':{'roomID':this[_0x28210c(0x585)]}});})));}get[_0x5f56c6(0x595)](){return this['_sessionStatus$']['getValue']();}[_0x5f56c6(0x474)](){const _0x364a0a=_0x5f56c6;var _0x97686b,_0x480167;return(_0x480167=(_0x97686b=this[_0x364a0a(0x41f)])==null?void 0x0:_0x97686b['memberID'])!=null?_0x480167:null;}[_0x5f56c6(0x1b8)](){const _0x466647=_0x5f56c6;super[_0x466647(0x1b8)](),this['dispose$']['next'](),this[_0x466647(0x3ce)]['complete']();}[_0x5f56c6(0x3ca)](){const _0x8e86cf=_0x5f56c6;var _0x2f252f,_0x57c873;this[_0x8e86cf(0x432)](),(_0x2f252f=this[_0x8e86cf(0x41f)])==null||_0x2f252f[_0x8e86cf(0x16b)]({'cmd':_0x118155[_0x8e86cf(0x415)],'data':{'roomID':this[_0x8e86cf(0x585)]}}),(_0x57c873=this[_0x8e86cf(0x41f)])==null||_0x57c873['close'](),this['_event$']['complete'](),this[_0x8e86cf(0x4d6)][_0x8e86cf(0x423)](),this[_0x8e86cf(0x1b8)]();}['_onCombEvent'](_0x132311){const _0x49fbfa=_0x5f56c6;_0x132311[_0x49fbfa(0x16d)]===_0x118155[_0x49fbfa(0x4f5)]?this[_0x49fbfa(0x2c9)](_0x132311):_0x132311[_0x49fbfa(0x16d)]===_0x118155[_0x49fbfa(0x29b)]&&this[_0x49fbfa(0x272)](_0x132311);}[_0x5f56c6(0x1ba)](_0x46a29f){const _0x29f06f=_0x5f56c6;this['_sessionStatus$'][_0x29f06f(0x17b)](0x1),_0x46a29f[_0x29f06f(0x16b)]({'cmd':_0x118155[_0x29f06f(0x4f5)],'routeKey':this[_0x29f06f(0x585)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29f06f(0x585)]}]}});}[_0x5f56c6(0x2c9)](_0x45d767){const _0x231662=_0x5f56c6;var _0x506fb0;if(_0x45d767[_0x231662(0x513)]===_0xa05499[_0x231662(0x37f)]){this[_0x231662(0x3a9)][_0x231662(0x2e8)]({'type':_0x2d4ff4[_0x231662(0x2c7)][_0x231662(0x1c9)],'content':this[_0x231662(0x375)]['t'](_0x231662(0x29c))}),this[_0x231662(0x4d6)]['next'](0x2);return;}this[_0x231662(0x4d6)][_0x231662(0x17b)](0x3);const _0x33519f=(_0x506fb0=_0x45d767['data'][_0x231662(0x3d5)][this['_unitID']])==null?void 0x0:_0x506fb0[_0x231662(0x591)];_0x33519f&&_0x33519f[_0x231662(0x57d)](_0x29d7f6=>this[_0x231662(0x521)][_0x231662(0x383)](this['_unitID'],_0x29d7f6));}[_0x5f56c6(0x272)](_0x2bc1be){const _0x2b10fa=_0x5f56c6;try{const _0x3e195f=_0x2bc1be[_0x2b10fa(0x54c)];switch(_0x3e195f['eventID']){case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x311)]:this['_onUserJoin'](_0x3e195f),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)][_0x2b10fa(0x2c5)]:this[_0x2b10fa(0x2f9)](_0x3e195f),this[_0x2b10fa(0x315)]['next'](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)]['CHANGESET_ACK']:case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x306)]:this[_0x2b10fa(0x57c)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;case _0x2a6d3d['CollaborationEvent'][_0x2b10fa(0x552)]:this[_0x2b10fa(0x3ac)][_0x2b10fa(0x1fe)](_0x2b10fa(0x23c)+JSON['stringify'](_0x3e195f)),this[_0x2b10fa(0x315)]['next'](_0x3e195f);break;case _0x2a6d3d[_0x2b10fa(0x56e)][_0x2b10fa(0x559)]:this['_commentService'][_0x2b10fa(0x4ad)](_0x3e195f[_0x2b10fa(0x54c)]),this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);break;default:this[_0x2b10fa(0x315)][_0x2b10fa(0x17b)](_0x3e195f);}}catch(_0x339bd1){this[_0x2b10fa(0x3ac)][_0x2b10fa(0x1fe)](_0x339bd1,_0x2bc1be);}}['_onUserJoin'](_0x6c73e8){const _0x33f5dd=_0x5f56c6;this['_memberService'][_0x33f5dd(0x383)](this[_0x33f5dd(0x585)],_0x6c73e8[_0x33f5dd(0x54c)]);}[_0x5f56c6(0x2f9)](_0x2066df){const _0x5e8024=_0x5f56c6;this['_memberService'][_0x5e8024(0x4ba)](this[_0x5e8024(0x585)],_0x2066df[_0x5e8024(0x54c)][_0x5e8024(0x4d4)]);}async['send'](_0x37bb16,_0x55b47e){const _0x437d27=_0x5f56c6;if(this[_0x437d27(0x595)]!==0x3||!this['_socket'])throw new Error(_0x437d27(0x56d));try{_0x37bb16['eventID']===_0x2a6d3d[_0x437d27(0x56e)][_0x437d27(0x25b)]&&(this[_0x437d27(0x577)](),this[_0x437d27(0x522)](_0x37bb16)),this[_0x437d27(0x41f)][_0x437d27(0x16b)]({'cmd':_0x118155['INGEST'],'routeKey':_0x55b47e,'routeType':'','data':_0x37bb16});}catch(_0x121230){this['_logService']['error'](_0x121230);}}[_0x5f56c6(0x577)](){const _0x237362=_0x5f56c6;var _0x267846;this[_0x237362(0x44c)]=window[_0x237362(0x262)](()=>{const _0x138693=_0x237362;this[_0x138693(0x44c)]=null,this[_0x138693(0x3a9)][_0x138693(0x2e8)]({'type':_0x2d4ff4[_0x138693(0x2c7)][_0x138693(0x27c)],'content':this[_0x138693(0x375)]['t'](_0x138693(0x3f8))});},(_0x267846=this['_configService'][_0x237362(0x1e0)](_0x3b0121))!=null?_0x267846:0x4e20);}[_0x5f56c6(0x1c0)](){const _0x48f407=_0x5f56c6;this[_0x48f407(0x44c)]&&(clearTimeout(this[_0x48f407(0x44c)]),this['_collaborationTimeoutTimer']=null);}[_0x5f56c6(0x522)](_0x49f4e1){const _0x3b3427=_0x5f56c6;if(!this['_shouldReportTelemetry'])return;const {data:_0x3be58b}=_0x49f4e1,{unitID:_0x18ed54,changeset:_0x34bb18}=_0x3be58b,{mutations:_0x48dacc,type:_0xf16c2c}=_0x34bb18;this[_0x3b3427(0x4b6)]={'unitId':_0x18ed54,'type':_0xf16c2c,'startTime':performance[_0x3b3427(0x1c4)](),'stopTime':0x0,'duration':0x0,'size':_0x5854e3(_0x48dacc)};}[_0x5f56c6(0x57c)](){const _0x31b515=_0x5f56c6;if(this[_0x31b515(0x38e)]){if(!this[_0x31b515(0x4b6)]){this[_0x31b515(0x3ac)]['error']('[CollaborationSession]',_0x31b515(0x1c5));return;}this[_0x31b515(0x4b6)][_0x31b515(0x429)]=performance[_0x31b515(0x1c4)](),this['_telemetryInfo'][_0x31b515(0x3e9)]=this[_0x31b515(0x4b6)][_0x31b515(0x429)]-this[_0x31b515(0x4b6)]['startTime'],this['_telemetryService'][_0x31b515(0x29a)](_0x3d7395,this[_0x31b515(0x4b6)]),this[_0x31b515(0x4b6)]=null;}}[_0x5f56c6(0x432)](){this['_telemetryInfo']=null;}},_0x4fdbaf[_0x5f56c6(0x3c8)]=_0x25d4ae([_0x301af7(0x2,_0x29630e[_0x5f56c6(0x478)]),_0x301af7(0x3,_0x279664[_0x5f56c6(0x50a)]),_0x301af7(0x4,_0x279664[_0x5f56c6(0x24d)]),_0x301af7(0x5,_0x29630e[_0x5f56c6(0x34d)]),_0x301af7(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x301af7(0x7,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x301af7(0x8,_0x29630e['Inject'](_0x4fa0d0)),_0x301af7(0x9,_0x29630e[_0x5f56c6(0x20f)](_0x2baadb[_0x5f56c6(0x15a)]))],_0x4fdbaf[_0x5f56c6(0x3c8)]);var _0x196252=Object[_0x5f56c6(0x17a)],_0x418f55=Object['getOwnPropertyDescriptor'],_0x223a4d=(_0x44ebaf,_0x3e0b31,_0x133947,_0x36b637)=>{const _0x4354cd=_0x5f56c6;for(var _0x177904=_0x36b637>0x1?void 0x0:_0x36b637?_0x418f55(_0x3e0b31,_0x133947):_0x3e0b31,_0x8daae5=_0x44ebaf[_0x4354cd(0x47d)]-0x1,_0x4547fd;_0x8daae5>=0x0;_0x8daae5--)(_0x4547fd=_0x44ebaf[_0x8daae5])&&(_0x177904=(_0x36b637?_0x4547fd(_0x3e0b31,_0x133947,_0x177904):_0x4547fd(_0x177904))||_0x177904);return _0x36b637&&_0x177904&&_0x196252(_0x3e0b31,_0x133947,_0x177904),_0x177904;},_0x20a90d=(_0xde5c51,_0x5efc88)=>(_0x50dadc,_0x2baf19)=>_0x5efc88(_0x50dadc,_0x2baf19,_0xde5c51);_0x4fdbaf[_0x5f56c6(0x580)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x291e2e,_0x4c8e8c,_0x250b54,_0x2ab5b7,_0x122909,_0xdf031b){const _0x33a85c=_0x5f56c6;super(),_0x48f470(this,'_socket$',new _0x17e48c[(_0x33a85c(0x38b))](void 0x0)),_0x48f470(this,_0x33a85c(0x309),this[_0x33a85c(0x338)]['asObservable']()),_0x48f470(this,_0x33a85c(0x1a7),null),_0x48f470(this,_0x33a85c(0x2aa),new Map()),_0x48f470(this,'_status$',new _0x17e48c[(_0x33a85c(0x38b))](_0x90155['IDLE'])),_0x48f470(this,_0x33a85c(0x46c),this[_0x33a85c(0x190)][_0x33a85c(0x2ac)]()),_0x48f470(this,_0x33a85c(0x1e9),!0x1),_0x48f470(this,_0x33a85c(0x292)),_0x48f470(this,_0x33a85c(0x36b),0x0),_0x48f470(this,_0x33a85c(0x305)),_0x48f470(this,_0x33a85c(0x39f)),(this[_0x33a85c(0x3cf)]=_0x291e2e,this[_0x33a85c(0x375)]=_0x4c8e8c,this['_messageService']=_0x250b54,this['_logService']=_0x2ab5b7,this[_0x33a85c(0x4e8)]=_0x122909,this[_0x33a85c(0x515)]=_0xdf031b,this[_0x33a85c(0x360)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x5f56c6(0x360)](){const _0x58e7b2=_0x5f56c6;this[_0x58e7b2(0x58a)](),this[_0x58e7b2(0x39a)]();}[_0x5f56c6(0x1b8)](){const _0x21819a=_0x5f56c6;super['dispose'](),this[_0x21819a(0x2aa)][_0x21819a(0x57d)](_0x18365e=>_0x18365e['dispose']()),this[_0x21819a(0x2aa)]['clear'](),this[_0x21819a(0x190)]['complete']();}async[_0x5f56c6(0x494)](_0x3f5613){const _0xf2f2fa=_0x5f56c6;if(this['_sessions'][_0xf2f2fa(0x55c)](_0x3f5613))return this['_sessions'][_0xf2f2fa(0x44d)](_0x3f5613);this['_tryEnsureSocket']();const _0x3ac94d=this[_0xf2f2fa(0x3cf)][_0xf2f2fa(0x445)](_0x4fdbaf[_0xf2f2fa(0x3c8)],_0x3f5613,this[_0xf2f2fa(0x338)][_0xf2f2fa(0x2ac)]());return this['_sessions']['set'](_0x3f5613,_0x3ac94d),_0x3ac94d;}[_0x5f56c6(0x43e)](_0x2fa82c){const _0x5a04ed=_0x5f56c6;var _0x45ffb4;const _0x5b0082=this[_0x5a04ed(0x2aa)][_0x5a04ed(0x44d)](_0x2fa82c);_0x5b0082&&(this[_0x5a04ed(0x2aa)][_0x5a04ed(0x340)](_0x2fa82c),_0x5b0082[_0x5a04ed(0x3ca)]()),this[_0x5a04ed(0x2aa)][_0x5a04ed(0x4b5)]||(_0x45ffb4=this[_0x5a04ed(0x41f)])==null||_0x45ffb4[_0x5a04ed(0x3ca)]();}[_0x5f56c6(0x22b)](){const _0x55fb53=_0x5f56c6;this[_0x55fb53(0x36b)]=0x0,this[_0x55fb53(0x292)]!=null&&(clearTimeout(this[_0x55fb53(0x292)]),this[_0x55fb53(0x292)]=null),this[_0x55fb53(0x472)]();}[_0x5f56c6(0x2e3)](){const _0x45501e=_0x5f56c6;var _0x189f78,_0x4a54d0;const _0x5b1c6b=this[_0x45501e(0x4e8)]['getConfig'](_0x4650c3),_0x1cf4cf=this[_0x45501e(0x4e8)]['getConfig'](_0x1573c4),_0x199a31=(_0x4a54d0=(_0x189f78=_0x1cf4cf==null?void 0x0:_0x1cf4cf[_0x45501e(0x2e5)])!=null?_0x189f78:_0x5b1c6b)!=null?_0x4a54d0:_0x56f7d8,_0x2bf97a=this[_0x45501e(0x515)][_0x45501e(0x2c3)](_0x199a31);return this['_candidateSocket']=_0x2bf97a,_0x2bf97a;}[_0x5f56c6(0x2fb)](){const _0x9d7109=_0x5f56c6;var _0x40038d,_0x1e828c;try{const _0x4fa5cd=(_0x1e828c=(_0x40038d=this[_0x9d7109(0x41f)])!=null?_0x40038d:this[_0x9d7109(0x1a7)])!=null?_0x1e828c:this['_createSocket']();if(_0x4fa5cd){const _0x4b9971=_0x4fa5cd[_0x9d7109(0x16b)];_0x4fa5cd['send']=_0x1b292c=>(this[_0x9d7109(0x4b9)](),_0x4b9971[_0x9d7109(0x257)](_0x4fa5cd,[_0x1b292c])),_0x4fa5cd[_0x9d7109(0x39c)][_0x9d7109(0x18a)](_0x5aed54=>this[_0x9d7109(0x45e)](_0x4fa5cd,_0x5aed54)),_0x4fa5cd[_0x9d7109(0x55a)][_0x9d7109(0x300)](_0x56098d['take'](0x1))[_0x9d7109(0x18a)](_0x1c0934=>this[_0x9d7109(0x3ac)][_0x9d7109(0x1fe)](_0x9d7109(0x4f0),_0x1c0934)),_0x4fa5cd['open$'][_0x9d7109(0x300)](_0x56098d[_0x9d7109(0x19a)](0x1))[_0x9d7109(0x18a)](()=>{const _0x4a7ba1=_0x9d7109;this[_0x4a7ba1(0x158)](_0x4fa5cd);}),_0x4fa5cd[_0x9d7109(0x442)][_0x9d7109(0x300)](_0x56098d[_0x9d7109(0x19a)](0x1))[_0x9d7109(0x18a)](_0x44b5a6=>{const _0x3ef113=_0x9d7109;this[_0x3ef113(0x3ac)][_0x3ef113(0x2fa)](_0x3ef113(0x565),_0x3ef113(0x165),_0x44b5a6),this[_0x3ef113(0x3f2)]();});}}catch(_0x56fa16){this[_0x9d7109(0x3ac)][_0x9d7109(0x1fe)](_0x56fa16),this[_0x9d7109(0x3f2)]();}}[_0x5f56c6(0x158)](_0x1ff29d){const _0xc914ec=_0x5f56c6;this[_0xc914ec(0x3ac)]['debug'](_0xc914ec(0x565),_0xc914ec(0x3a2)),_0x1ff29d['send']({'cmd':_0x118155[_0xc914ec(0x1d2)]}),this[_0xc914ec(0x4b9)]();}[_0x5f56c6(0x58a)](){const _0x583937=_0x5f56c6;window['addEventListener']('offline',()=>this[_0x583937(0x4f9)]());}[_0x5f56c6(0x4f9)](){const _0x580ad7=_0x5f56c6;this[_0x580ad7(0x1e9)]=!0x1,this[_0x580ad7(0x1a7)]=null,this['_status$']['next'](_0x90155[_0x580ad7(0x385)]),this['_socket$'][_0x580ad7(0x17b)](null),this[_0x580ad7(0x3ed)](),this['_clearHeartbeatTimer']();}[_0x5f56c6(0x3f2)](){const _0x45eb75=_0x5f56c6;var _0xece88c;this[_0x45eb75(0x4f9)](),this[_0x45eb75(0x36b)]<((_0xece88c=this[_0x45eb75(0x4e8)][_0x45eb75(0x1e0)](_0xd6482f))!=null?_0xece88c:0x3)?(this[_0x45eb75(0x3a9)][_0x45eb75(0x2e8)]({'key':_0x45eb75(0x486),'type':_0x2d4ff4['MessageType']['Warning'],'content':this[_0x45eb75(0x375)]['t']('session.will-retry')}),this[_0x45eb75(0x472)]()):this[_0x45eb75(0x3a9)][_0x45eb75(0x2e8)]({'key':_0x45eb75(0x486),'type':_0x2d4ff4[_0x45eb75(0x2c7)]['Error'],'content':this[_0x45eb75(0x375)]['t'](_0x45eb75(0x3d6))});}['_listenToOnlineEvent'](){const _0x5349ba=_0x5f56c6,_0x308f08=()=>{const _0x4b1ece=_0xe8fd;this['_socket']||this[_0x4b1ece(0x22b)]();},_0x5d6fa5=()=>{const _0x4bc45b=_0xe8fd;this[_0x4bc45b(0x41f)]||document[_0x4bc45b(0x25c)]===_0x4bc45b(0x4e9)||this['reconnect']();};window[_0x5349ba(0x1df)]('online',_0x308f08),document[_0x5349ba(0x1df)](_0x5349ba(0x37b),_0x5d6fa5);}[_0x5f56c6(0x472)](){const _0xe70949=_0x5f56c6;var _0x332d17;const _0x110e9e=this['_retryCount'],_0x5c09c1=this[_0xe70949(0x4e8)][_0xe70949(0x1e0)](_0x1573c4),_0xa3d89b=_0x110e9e===0x0?0x0:((_0x332d17=_0x5c09c1==null?void 0x0:_0x5c09c1[_0xe70949(0x374)])!=null?_0x332d17:0x4e20)*0x2**_0x110e9e;this[_0xe70949(0x292)]=window[_0xe70949(0x262)](()=>{const _0x5beaeb=_0xe70949;clearTimeout(this['_retryConnectingTimer']),this[_0x5beaeb(0x292)]=null,this[_0x5beaeb(0x2fb)]();},_0xa3d89b),this['_retryCount']+=0x1;}[_0x5f56c6(0x45e)](_0x1ff901,_0x18e217){const _0x804009=_0x5f56c6,{cmd:_0x2d952e}=_0x18e217;_0x2d952e===_0x118155[_0x804009(0x1d2)]&&!this['_socketReady']&&(_0x1ff901[_0x804009(0x4d4)]=_0x18e217[_0x804009(0x54c)][_0x804009(0x4d4)],this[_0x804009(0x338)][_0x804009(0x17b)](_0x1ff901),this[_0x804009(0x190)][_0x804009(0x17b)](_0x90155['ONLINE']),this[_0x804009(0x1e9)]=!0x0,this['_candidateSocket']=null),_0x2d952e===_0x118155[_0x804009(0x391)]&&this[_0x804009(0x3ed)](),this['_rescheduleHeartbeat']();}[_0x5f56c6(0x4b9)](){const _0x4e84b9=_0x5f56c6;var _0x3d5c9d;this[_0x4e84b9(0x280)](),this[_0x4e84b9(0x305)]=window[_0x4e84b9(0x262)](()=>this[_0x4e84b9(0x31c)](),(_0x3d5c9d=this[_0x4e84b9(0x4e8)]['getConfig'](_0x17ca3f))!=null?_0x3d5c9d:0x7530);}[_0x5f56c6(0x31c)](){const _0x530f64=_0x5f56c6;this[_0x530f64(0x41f)][_0x530f64(0x16b)]({'cmd':_0x118155[_0x530f64(0x391)]}),this[_0x530f64(0x267)]();}[_0x5f56c6(0x267)](){const _0xca216b=_0x5f56c6;var _0xd20fdc;this['_timeoutTimer']=window[_0xca216b(0x262)](()=>this['_onConnectionFailed'](),(_0xd20fdc=this['_configService'][_0xca216b(0x1e0)](_0x3b0121))!=null?_0xd20fdc:0x4e20);}[_0x5f56c6(0x280)](){const _0x16991c=_0x5f56c6;this[_0x16991c(0x305)]!=null&&(clearTimeout(this[_0x16991c(0x305)]),this[_0x16991c(0x305)]=null);}[_0x5f56c6(0x3ed)](){const _0xbe2ae5=_0x5f56c6;this[_0xbe2ae5(0x39f)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x4fdbaf['CollaborationSessionService']=_0x223a4d([_0x20a90d(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x20a90d(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x20a90d(0x2,_0x279664[_0x5f56c6(0x24d)]),_0x20a90d(0x3,_0x29630e[_0x5f56c6(0x478)]),_0x20a90d(0x4,_0x29630e[_0x5f56c6(0x34d)]),_0x20a90d(0x5,_0x24f2a6)],_0x4fdbaf[_0x5f56c6(0x580)]);for(var _0x4b03b3=[],_0x59bf5a=0x0;_0x59bf5a<0x100;++_0x59bf5a)_0x4b03b3['push']((_0x59bf5a+0x100)[_0x5f56c6(0x468)](0x10)['slice'](0x1));function _0x949fe5(_0x8cf2ea,_0x4ec52c=0x0){const _0x3d09ff=_0x5f56c6;return(_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x0]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x1]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x2]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x3]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x4]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x5]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x6]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x7]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x8]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0x9]]+'-'+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xa]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xb]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xc]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xd]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xe]]+_0x4b03b3[_0x8cf2ea[_0x4ec52c+0xf]])[_0x3d09ff(0x30f)]();}var _0x5987d6,_0x1bda84=new Uint8Array(0x10);function _0x85cf89(){const _0x1ad270=_0x5f56c6;if(!_0x5987d6&&(_0x5987d6=typeof crypto<'u'&&crypto[_0x1ad270(0x2f8)]&&crypto['getRandomValues'][_0x1ad270(0x4bc)](crypto),!_0x5987d6))throw new Error(_0x1ad270(0x29f));return _0x5987d6(_0x1bda84);}var _0x8ebaa=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5f56c6(0x4ae)][_0x5f56c6(0x4bc)](crypto);const _0xb6f691={'randomUUID':_0x8ebaa};function _0x16ee13(_0x275a5a,_0xcffb9,_0xba2cce){const _0x37d84b=_0x5f56c6;if(_0xb6f691['randomUUID']&&!_0xcffb9&&!_0x275a5a)return _0xb6f691[_0x37d84b(0x4ae)]();_0x275a5a=_0x275a5a||{};var _0x900ed2=_0x275a5a[_0x37d84b(0x3c9)]||(_0x275a5a[_0x37d84b(0x21f)]||_0x85cf89)();return _0x900ed2[0x6]=_0x900ed2[0x6]&0xf|0x40,_0x900ed2[0x8]=_0x900ed2[0x8]&0x3f|0x80,_0x949fe5(_0x900ed2);}var _0x7e2e11=Object[_0x5f56c6(0x17a)],_0x1d017f=Object[_0x5f56c6(0x47e)],_0x12f0c7=(_0x5d285b,_0x294c73,_0x2395c6,_0x1e30ca)=>{const _0x2b2a89=_0x5f56c6;for(var _0x5358b1=_0x1e30ca>0x1?void 0x0:_0x1e30ca?_0x1d017f(_0x294c73,_0x2395c6):_0x294c73,_0x4c8504=_0x5d285b[_0x2b2a89(0x47d)]-0x1,_0x46cd02;_0x4c8504>=0x0;_0x4c8504--)(_0x46cd02=_0x5d285b[_0x4c8504])&&(_0x5358b1=(_0x1e30ca?_0x46cd02(_0x294c73,_0x2395c6,_0x5358b1):_0x46cd02(_0x5358b1))||_0x5358b1);return _0x1e30ca&&_0x5358b1&&_0x7e2e11(_0x294c73,_0x2395c6,_0x5358b1),_0x5358b1;},_0x104583=(_0x369426,_0x199bbe)=>(_0x29f443,_0x45bb66)=>_0x199bbe(_0x29f443,_0x45bb66,_0x369426);let _0x403af6=class{constructor(_0xaf32c5,_0x55b5ab,_0x4bc653){const _0x15a62d=_0x5f56c6;this['_injector']=_0xaf32c5,this[_0x15a62d(0x4ab)]=_0x55b5ab,this[_0x15a62d(0x576)]=_0x4bc653;}[_0x5f56c6(0x29e)](_0xac6cd8){const _0x14a2a1=_0x5f56c6;this[_0x14a2a1(0x2cd)](_0xac6cd8),this['_transformPreviousActiveRange'](_0xac6cd8);}['transformRemoteChangeset'](_0x4a5be1){const _0x3faff2=_0x5f56c6,{unitID:_0x51009d}=_0x4a5be1,_0x489558=this[_0x3faff2(0x576)][_0x3faff2(0x2f1)](_0x51009d)[_0x3faff2(0x2fe)](_0x214ea6[_0x3faff2(0x212)]),{redoCache:_0x33c6bc}=_0x489558['getUndoRedoMutationParamsCache']();if(_0x33c6bc[_0x3faff2(0x47d)]===0x0)return _0x4a5be1;let _0x2cbb1b=_0x29630e[_0x3faff2(0x4a1)]['deepClone'](_0x4a5be1[_0x3faff2(0x288)][0x0]);for(let _0x561f1d=0x0;_0x561f1d<_0x33c6bc[_0x3faff2(0x47d)];_0x561f1d++){const _0x324e89={'id':_0x3faff2(0x23d),'params':{..._0x33c6bc[_0x561f1d]}},_0x5794dc=this[_0x3faff2(0x4ab)]['transformMutation'](_0x2cbb1b,_0x324e89,!0x1);if(_0x2a6d3d[_0x3faff2(0x1db)](_0x5794dc))throw _0x5794dc['error'];_0x2cbb1b=_0x5794dc[_0x3faff2(0x1dc)];}return{..._0x29630e['Tools'][_0x3faff2(0x2a5)](_0x4a5be1),'mutations':[_0x2cbb1b]};}[_0x5f56c6(0x2cd)](_0xe76ecf){const _0x243c1c=_0x5f56c6,{unitID:_0xdccad9}=_0xe76ecf,_0x523e4d=this[_0x243c1c(0x576)][_0x243c1c(0x2f1)](_0xdccad9)[_0x243c1c(0x2fe)](_0x214ea6['DocIMEInputManagerService']),{undoCache:_0x19d0ae,redoCache:_0x1afdb9}=_0x523e4d[_0x243c1c(0x20c)]();if(_0x19d0ae[_0x243c1c(0x47d)]===0x0||_0x1afdb9['length']===0x0)return;const _0x4885c6=[],_0x14a5f1=[];let _0x33a12f=_0x29630e['Tools'][_0x243c1c(0x2a5)](_0xe76ecf['mutations'][0x0]),_0xf0937d=_0x29630e[_0x243c1c(0x4a1)]['deepClone'](_0xe76ecf[_0x243c1c(0x288)][0x0]);for(let _0x1d95bf=_0x19d0ae['length']-0x1;_0x1d95bf>=0x0;_0x1d95bf--){const _0x2f104e={'id':_0x243c1c(0x23d),'params':{..._0x19d0ae[_0x1d95bf]}},_0xd3bb27={'id':'doc.mutation.rich-text-editing','params':{..._0x1afdb9[_0x1d95bf]}},_0x59b6da=this[_0x243c1c(0x4ab)][_0x243c1c(0x506)](_0x33a12f,_0x2f104e,!0x1),_0xc0b896=this[_0x243c1c(0x4ab)][_0x243c1c(0x506)](_0xf0937d,_0xd3bb27,!0x1);if(_0x2a6d3d[_0x243c1c(0x1db)](_0x59b6da))throw _0x59b6da[_0x243c1c(0x1fe)];if(_0x2a6d3d[_0x243c1c(0x1db)](_0xc0b896))throw _0xc0b896[_0x243c1c(0x1fe)];_0x4885c6[_0x243c1c(0x49b)](_0x59b6da[_0x243c1c(0x3fc)]['params']),_0x14a5f1[_0x243c1c(0x49b)](_0xc0b896[_0x243c1c(0x3fc)][_0x243c1c(0x1ee)]),_0x33a12f=_0x59b6da[_0x243c1c(0x1dc)],_0xf0937d=_0xc0b896[_0x243c1c(0x1dc)];}_0x523e4d['setUndoRedoMutationParamsCache']({'undoCache':_0x4885c6,'redoCache':_0x14a5f1});}[_0x5f56c6(0x3da)](_0x2dbeba){const _0x2ee58e=_0x5f56c6,{unitID:_0x55e925}=_0x2dbeba,_0x7d23b=this[_0x2ee58e(0x576)][_0x2ee58e(0x2f1)](_0x55e925)[_0x2ee58e(0x2fe)](_0x214ea6['DocIMEInputManagerService']),_0x44498e=_0x7d23b['getActiveRange']();if(_0x44498e==null)return;const _0x57b8a0=[{'id':_0x2ee58e(0x23d),'params':{'unitId':_0x2dbeba[_0x2ee58e(0x586)],'actions':null,'textRanges':[_0x44498e]}}],_0x12268e=this[_0x2ee58e(0x4ab)][_0x2ee58e(0x4bd)](_0x2dbeba,_0x57b8a0);if(!_0x2a6d3d[_0x2ee58e(0x578)](_0x12268e))throw _0x12268e['error'];const _0x1c168f=_0x12268e[_0x2ee58e(0x3fc)][0x0][_0x2ee58e(0x1ee)][_0x2ee58e(0x589)];Array[_0x2ee58e(0x400)](_0x1c168f)&&_0x1c168f[_0x2ee58e(0x47d)]&&_0x7d23b[_0x2ee58e(0x253)](_0x1c168f[0x0]);}};_0x403af6=_0x12f0c7([_0x104583(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x104583(0x1,_0x2a6d3d[_0x5f56c6(0x172)]),_0x104583(0x2,_0x37c548['IRenderManagerService'])],_0x403af6);var _0x5b87fc=Object['defineProperty'],_0x109f7a=Object['getOwnPropertyDescriptor'],_0x48d8fc=(_0x9dab03,_0xa41fb,_0x47b4fd,_0x5aa4b1)=>{const _0x333969=_0x5f56c6;for(var _0x2e0298=_0x5aa4b1>0x1?void 0x0:_0x5aa4b1?_0x109f7a(_0xa41fb,_0x47b4fd):_0xa41fb,_0x33036e=_0x9dab03[_0x333969(0x47d)]-0x1,_0xa7ee3;_0x33036e>=0x0;_0x33036e--)(_0xa7ee3=_0x9dab03[_0x33036e])&&(_0x2e0298=(_0x5aa4b1?_0xa7ee3(_0xa41fb,_0x47b4fd,_0x2e0298):_0xa7ee3(_0x2e0298))||_0x2e0298);return _0x5aa4b1&&_0x2e0298&&_0x5b87fc(_0xa41fb,_0x47b4fd,_0x2e0298),_0x2e0298;},_0x2b8c79=(_0x58d6fb,_0x27e1fd)=>(_0x106339,_0x2d749a)=>_0x27e1fd(_0x106339,_0x2d749a,_0x58d6fb);_0x4fdbaf[_0x5f56c6(0x1d8)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x39bc54,_0x32c1c5,_0x57c167,_0x1744ba,_0x31b908){const _0x48cb42=_0x5f56c6;super(),_0x48f470(this,_0x48cb42(0x224),new Map()),_0x48f470(this,_0x48cb42(0x491),new Map()),_0x48f470(this,'_disabled',!0x1),(this[_0x48cb42(0x4e8)]=_0x39bc54,this[_0x48cb42(0x1e3)]=_0x32c1c5,this[_0x48cb42(0x22e)]=_0x57c167,this[_0x48cb42(0x375)]=_0x1744ba,this[_0x48cb42(0x4e2)]=_0x31b908,this[_0x48cb42(0x3b9)]());}['disableLocalCache'](){const _0x3f6e01=_0x5f56c6;this[_0x3f6e01(0x4d2)]=!0x0;}[_0x5f56c6(0x484)](){const _0x15e916=_0x5f56c6;this[_0x15e916(0x4d2)]=!0x1;}['dispose'](){const _0x1c9cc9=_0x5f56c6;this[_0x1c9cc9(0x2d8)]()[_0x1c9cc9(0x4c3)](()=>super[_0x1c9cc9(0x1b8)]());}async['loadOfflineData'](_0xa6121d){const _0x24e99c=_0x5f56c6;return this[_0x24e99c(0x4d2)]?null:this['_localStorageService'][_0x24e99c(0x1d4)](_0x148cfe(_0xa6121d));}async[_0x5f56c6(0x34f)](_0x123672,_0x14ef42){const _0x403034=_0x5f56c6;return!!this['_localStorageService'][_0x403034(0x23a)](_0x123672,_0x14ef42);}[_0x5f56c6(0x242)](_0x4cbbf7,_0xeda1fd,_0x105319,_0x1ef0f4){const _0x107a19=_0x5f56c6,_0x434f65=this['_revisionService'][_0x107a19(0x174)](_0x4cbbf7);this['_cachedData'][_0x107a19(0x4f1)](_0x4cbbf7,{'unitID':_0x4cbbf7,'type':_0xeda1fd,'awaitingChangeset':_0x105319,'mutations':_0x1ef0f4,'rev':_0x434f65}),this['_saveTaskMap']['has'](_0x4cbbf7)||this[_0x107a19(0x45d)](_0x4cbbf7);}[_0x5f56c6(0x45d)](_0x25d230){const _0x20c2be=_0x5f56c6,_0x427469=this[_0x20c2be(0x452)]();_0x427469===0x0?this[_0x20c2be(0x1ef)](_0x25d230):this[_0x20c2be(0x491)][_0x20c2be(0x4f1)](_0x25d230,setTimeout(()=>this[_0x20c2be(0x1ef)](_0x25d230),_0x427469));}[_0x5f56c6(0x452)](){var _0x25e537;return(_0x25e537=this['_configService']['getConfig'](_0x5831f1))!=null?_0x25e537:0x3e8;}['_saveCache'](_0x21343b){const _0x2ed007=_0x5f56c6,_0x6717da=this[_0x2ed007(0x491)][_0x2ed007(0x44d)](_0x21343b);return _0x6717da!==void 0x0&&window[_0x2ed007(0x1f7)](_0x6717da),this[_0x2ed007(0x1e3)]['setItem'](_0x148cfe(_0x21343b),this[_0x2ed007(0x224)][_0x2ed007(0x44d)](_0x21343b))[_0x2ed007(0x4c3)](()=>this[_0x2ed007(0x491)][_0x2ed007(0x340)](_0x21343b));}async[_0x5f56c6(0x2d8)](){const _0x248a07=_0x5f56c6,_0x58aef3=[];this['_saveTaskMap'][_0x248a07(0x57d)]((_0x23016e,_0x50ad8a)=>{const _0xd00ef7=_0x248a07;window[_0xd00ef7(0x1f7)](_0x23016e),_0x58aef3[_0xd00ef7(0x476)](this[_0xd00ef7(0x1ef)](_0x50ad8a)['then'](()=>{const _0x3fb3ae=_0xd00ef7;this[_0x3fb3ae(0x491)][_0x3fb3ae(0x340)](_0x50ad8a);}));}),await Promise['all'](_0x58aef3);}[_0x5f56c6(0x3b9)](){const _0x452ad0=_0x5f56c6;this[_0x452ad0(0x52f)](this[_0x452ad0(0x22e)][_0x452ad0(0x3e4)](()=>{const _0x4797f7=_0x452ad0;if(this[_0x4797f7(0x491)][_0x4797f7(0x4b5)])return this[_0x4797f7(0x375)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x4fdbaf[_0x5f56c6(0x1d8)]=_0x48d8fc([_0x2b8c79(0x0,_0x29630e[_0x5f56c6(0x34d)]),_0x2b8c79(0x1,_0x29630e[_0x5f56c6(0x238)]),_0x2b8c79(0x2,_0x279664[_0x5f56c6(0x50a)]),_0x2b8c79(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x2b8c79(0x4,_0x29630e['Inject'](_0x2a6d3d['RevisionService']))],_0x4fdbaf['LocalCacheService']);function _0x148cfe(_0x59fe8c){const _0x631dbd=_0x5f56c6;return _0x631dbd(0x4dc)+_0x59fe8c;}var _0x2a5233=Object[_0x5f56c6(0x17a)],_0x2f89b7=Object['getOwnPropertyDescriptor'],_0x501a3c=(_0x5b1487,_0x2720a1,_0x236c7d,_0x61237d)=>{const _0x3ffc6b=_0x5f56c6;for(var _0x53011e=_0x61237d>0x1?void 0x0:_0x61237d?_0x2f89b7(_0x2720a1,_0x236c7d):_0x2720a1,_0x3860e0=_0x5b1487[_0x3ffc6b(0x47d)]-0x1,_0x5e885a;_0x3860e0>=0x0;_0x3860e0--)(_0x5e885a=_0x5b1487[_0x3860e0])&&(_0x53011e=(_0x61237d?_0x5e885a(_0x2720a1,_0x236c7d,_0x53011e):_0x5e885a(_0x53011e))||_0x53011e);return _0x61237d&&_0x53011e&&_0x2a5233(_0x2720a1,_0x236c7d,_0x53011e),_0x53011e;},_0x45ffd1=(_0x51828a,_0x26be80)=>(_0x763bc8,_0x3e0171)=>_0x26be80(_0x763bc8,_0x3e0171,_0x51828a);function _0x55d94a(_0x29a748){const _0x4b0dc5=_0x5f56c6,{unitID:_0x1b8fcc,mutations:_0x4b3f87}=_0x29a748;return{'unitId':_0x1b8fcc,'subUnitId':_0x4b3f87[0x0][_0x4b0dc5(0x1ee)]['subUnitId']};}let _0x300a71=class{constructor(_0x24aa2b,_0x4aaf98,_0x3f953c){const _0x38e210=_0x5f56c6;this[_0x38e210(0x3cf)]=_0x24aa2b,this['_transformService']=_0x4aaf98,this[_0x38e210(0x564)]=_0x3f953c;}[_0x5f56c6(0x250)](_0x1553e9){const _0x3538f1=_0x5f56c6;var _0x3aa2c8,_0x52d6d2,_0x180647,_0x2ee43d;const _0x5034b1=this['_injector']['get'](_0x5decb0[_0x3538f1(0x15d)]),{unitId:_0x598579,subUnitId:_0x2ea688}=_0x55d94a(_0x1553e9),_0x4fb23c=_0x5034b1[_0x3538f1(0x58d)](_0x598579)['getCurrentSelections'](),_0x1f7310=(_0x52d6d2=(_0x3aa2c8=this['_instanceService'][_0x3538f1(0x2de)](_0x598579))==null?void 0x0:_0x3aa2c8[_0x3538f1(0x582)]())==null?void 0x0:_0x52d6d2[_0x3538f1(0x15c)]();if(_0x4fb23c[_0x3538f1(0x47d)]===0x0||!_0x598579||!_0x2ea688)return;const _0x2407ad=[{'id':_0x5decb0['SetSelectionsOperation']['id'],'params':{'unitId':_0x598579,'subUnitId':_0x1f7310,'selections':_0x29630e[_0x3538f1(0x4a1)][_0x3538f1(0x2a5)](_0x4fb23c)}}],_0x501533=this[_0x3538f1(0x4ab)]['transformMutationsWithChangeset'](_0x1553e9,_0x2407ad);if(!_0x2a6d3d[_0x3538f1(0x578)](_0x501533))throw _0x501533[_0x3538f1(0x1fe)];const _0x2df8fa=(_0x2ee43d=(_0x180647=_0x501533['m2Prime'][0x0])==null?void 0x0:_0x180647[_0x3538f1(0x1ee)])==null?void 0x0:_0x2ee43d[_0x3538f1(0x551)];if(Array['isArray'](_0x2df8fa)&&_0x2df8fa[_0x3538f1(0x47d)]){if(_0x2df8fa[_0x3538f1(0x47d)]===_0x2407ad[0x0][_0x3538f1(0x1ee)]['selections'][_0x3538f1(0x47d)]&&_0x2df8fa['every']((_0xfce12d,_0x223820)=>_0x29630e['Rectangle'][_0x3538f1(0x34a)](_0xfce12d['range'],_0x2407ad[0x0][_0x3538f1(0x1ee)][_0x3538f1(0x551)][_0x223820]['range'])))return;this['_injector'][_0x3538f1(0x44d)](_0x29630e[_0x3538f1(0x1a4)])[_0x3538f1(0x180)](_0x5decb0[_0x3538f1(0x3aa)]['id'],{'unitId':_0x598579,'subUnitId':_0x1f7310,'selections':_0x2df8fa});}}};_0x300a71=_0x501a3c([_0x45ffd1(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x45ffd1(0x1,_0x2a6d3d[_0x5f56c6(0x172)]),_0x45ffd1(0x2,_0x29630e['IUniverInstanceService'])],_0x300a71);const _0x5bb5e3=_0x29630e[_0x5f56c6(0x284)](_0x5f56c6(0x28a));var _0x414a7e=(_0x288729=>(_0x288729[_0x288729[_0x5f56c6(0x531)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x288729[_0x288729['OTHER_CLIENTS_EDITING']=0x1]=_0x5f56c6(0x3ff),_0x288729))(_0x414a7e||{});const _0x32ff5d=0x7530,_0x41e7a3=_0x5f56c6(0x3eb);class _0x1b825f extends _0x29630e['Disposable']{constructor(){const _0x8b04fc=_0x5f56c6;super(),_0x48f470(this,'_id',_0x29630e[_0x8b04fc(0x4a1)][_0x8b04fc(0x2d5)]()),_0x48f470(this,_0x8b04fc(0x393),new Set()),_0x48f470(this,_0x8b04fc(0x3e1),new Map()),_0x48f470(this,'_heartbeatTimer',null),_0x48f470(this,_0x8b04fc(0x558),new Map()),_0x48f470(this,_0x8b04fc(0x511),new Map()),this[_0x8b04fc(0x436)]();}[_0x5f56c6(0x1b8)](){const _0x57ea4c=_0x5f56c6;super[_0x57ea4c(0x1b8)](),this['_clearOtherTimers'][_0x57ea4c(0x57d)]((_0x3438be,_0x4629d7)=>this['_removeClearOtherTimer'](_0x4629d7)),this[_0x57ea4c(0x3e6)]&&window[_0x57ea4c(0x41e)](this[_0x57ea4c(0x3e6)]);}[_0x5f56c6(0x485)](_0x1d3cda){const _0x2b7460=_0x5f56c6;return this['_ensureSubject'](_0x1d3cda)['pipe'](_0x17e48c[_0x2b7460(0x356)]());}[_0x5f56c6(0x348)](_0x37dbd1){const _0x11845c=_0x5f56c6;this['_selfUnitIDs'][_0x11845c(0x4b5)]===0x0&&this[_0x11845c(0x4b0)](),this[_0x11845c(0x393)]['add'](_0x37dbd1),this[_0x11845c(0x526)]({'type':0x0,'memberID':this[_0x11845c(0x1c7)],'unitIDs':[_0x37dbd1],'isForwarded':!0x1});}[_0x5f56c6(0x3b1)](_0x22564f){const _0x3a549c=_0x5f56c6;this[_0x3a549c(0x393)]['delete'](_0x22564f),this[_0x3a549c(0x393)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3a549c(0x41e)](this[_0x3a549c(0x3e6)]);}[_0x5f56c6(0x436)](){const _0x251395=_0x5f56c6;this[_0x251395(0x52f)](_0x29630e['toDisposable'](_0x17e48c[_0x251395(0x18b)](window,_0x251395(0x372))[_0x251395(0x18a)](_0x24b03a=>{const _0x45e6e9=_0x251395;if(_0x24b03a[_0x45e6e9(0x404)]!==_0x41e7a3||!_0x24b03a['newValue'])return;const _0x351f3c=JSON[_0x45e6e9(0x3fb)](_0x24b03a[_0x45e6e9(0x4f2)]);this[_0x45e6e9(0x4b7)](_0x351f3c);}))),window[_0x251395(0x1df)]('unload',()=>this[_0x251395(0x526)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x251395(0x2b9)](this[_0x251395(0x393)])}));}[_0x5f56c6(0x4b7)](_0x35d101){const _0x11dcc2=_0x5f56c6;switch(_0x35d101[_0x11dcc2(0x566)]){case 0x0:this[_0x11dcc2(0x3c2)](_0x35d101);break;case 0x1:this[_0x11dcc2(0x18d)](_0x35d101);break;case 0x2:this[_0x11dcc2(0x487)](_0x35d101);break;}}['_handleJoinEvent'](_0x43e853){const _0x390368=_0x5f56c6,{unitIDs:_0xe275f0,memberID:_0x277fe4,isForwarded:_0x26d563}=_0x43e853;_0xe275f0['forEach'](_0x4790ab=>{const _0x299e59=_0xe8fd;if(!_0x26d563&&this[_0x299e59(0x3e1)][_0x299e59(0x55c)](_0x4790ab)&&this[_0x299e59(0x27e)](_0x4790ab)[_0x299e59(0x17b)](0x1),!this['_unitOnClients'][_0x299e59(0x55c)](_0x4790ab)||!this['_unitOnClients'][_0x299e59(0x44d)](_0x4790ab)[_0x299e59(0x55c)](_0x277fe4)){const _0x5ad58f=this['_unitOnClients']['get'](_0x4790ab)||new Set();_0x5ad58f['add'](_0x277fe4),this[_0x299e59(0x3e1)][_0x299e59(0x4f1)](_0x4790ab,_0x5ad58f),this[_0x299e59(0x40c)](_0x277fe4);}}),_0x26d563||this[_0x390368(0x526)]({'type':0x0,'memberID':this[_0x390368(0x1c7)],'unitIDs':[...this[_0x390368(0x393)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2a94bc){const _0x122c46=_0x5f56c6;this['_removeClearOtherTimer'](_0x2a94bc);const _0x5090a2=window['setTimeout'](()=>{const _0x517e90=_0xe8fd;this[_0x517e90(0x3e1)][_0x517e90(0x57d)](_0x322211=>{const _0x3a7115=_0x517e90;_0x322211[_0x3a7115(0x340)](_0x2a94bc);});},_0x32ff5d*0x2);this[_0x122c46(0x558)]['set'](_0x2a94bc,_0x5090a2);}[_0x5f56c6(0x3ef)](_0x334c67){const _0x54aa9b=_0x5f56c6;if(this[_0x54aa9b(0x558)][_0x54aa9b(0x55c)](_0x334c67)){const _0x7255ac=this[_0x54aa9b(0x558)][_0x54aa9b(0x44d)](_0x334c67);_0x7255ac&&window['clearTimeout'](_0x7255ac),this[_0x54aa9b(0x558)][_0x54aa9b(0x4f1)](_0x334c67,null);}}[_0x5f56c6(0x18d)](_0x9a1147){const {memberID:_0x13b82b,unitIDs:_0x591d61}=_0x9a1147;_0x591d61['forEach'](_0x1450a2=>{const _0x529fee=_0xe8fd;var _0x13610b;const _0x8e15fe=this[_0x529fee(0x3e1)][_0x529fee(0x44d)](_0x1450a2);_0x8e15fe&&(_0x8e15fe['delete'](_0x13b82b),(_0x13610b=this['_ensureSubject'](_0x1450a2))==null||_0x13610b[_0x529fee(0x17b)](_0x8e15fe[_0x529fee(0x4b5)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x13b82b);}['_handleHeartbeatEvent'](_0x17caf7){const _0x2ca0c3=_0x5f56c6;this[_0x2ca0c3(0x40c)](_0x17caf7[_0x2ca0c3(0x4d4)]);}[_0x5f56c6(0x526)](_0x1d3f38){const _0x4edc3b=_0x5f56c6;localStorage[_0x4edc3b(0x23a)](_0x41e7a3,JSON[_0x4edc3b(0x4a4)](_0x1d3f38));}['_scheduleHeartbeat'](){const _0x2b68d0=_0x5f56c6;this[_0x2b68d0(0x3e6)]=window[_0x2b68d0(0x19e)](()=>{const _0x2090f9=_0x2b68d0;this[_0x2090f9(0x526)]({'type':0x2,'memberID':this[_0x2090f9(0x1c7)]});},_0x32ff5d);}['_ensureSubject'](_0x39e0fd){const _0x49d17a=_0x5f56c6;return this[_0x49d17a(0x511)]['has'](_0x39e0fd)||this['_unitStatus'][_0x49d17a(0x4f1)](_0x39e0fd,new _0x17e48c[(_0x49d17a(0x38b))](0x0)),this['_unitStatus']['get'](_0x39e0fd);}}function _0x27f38b(_0x1b7cc2){const _0x167b54=_0x5f56c6;let _0x38bfad='';for(const _0x3149b9 of _0x1b7cc2){const {startOffset:_0x2962ed,endOffset:_0x35e85d,isActive:_0xe75576,rangeType:_0x26cb3e,segmentId:_0xd50c15,segmentPage:_0x4cd217}=_0x3149b9;_0x38bfad[_0x167b54(0x47d)]&&(_0x38bfad+=','),_0x38bfad+=_0x2962ed+':'+_0x35e85d+':'+(_0xe75576?'1':'0')+':'+_0x26cb3e+':'+_0xd50c15+':'+_0x4cd217;}return _0x38bfad;}function _0x5b1833(_0x56ad8d){const _0x1cd8b7=_0x5f56c6,_0xa18616=_0x56ad8d[_0x1cd8b7(0x28e)](','),_0x5a614e=[];for(const _0x597cb6 of _0xa18616){const [_0x29c310,_0x233493,_0x18a4f7,_0x412def,_0x5f478c,_0x37f492]=_0x597cb6[_0x1cd8b7(0x28e)](':');_0x5a614e[_0x1cd8b7(0x476)]({'startOffset':Number(_0x29c310),'endOffset':Number(_0x233493),'collapsed':_0x29c310===_0x233493,'isActive':_0x18a4f7==='1','rangeType':_0x412def===_0x29630e['DOC_RANGE_TYPE'][_0x1cd8b7(0x539)]?_0x29630e['DOC_RANGE_TYPE'][_0x1cd8b7(0x539)]:_0x29630e[_0x1cd8b7(0x58c)]['RECT'],'segmentId':typeof _0x5f478c=='string'?String(_0x5f478c):'','segmentPage':Number(_0x37f492!=null?_0x37f492:-0x1)});}return _0x5a614e[_0x1cd8b7(0x317)](_0x4f5ac0=>_0x4f5ac0[_0x1cd8b7(0x2dc)])||(_0x5a614e[0x0]['isActive']=!0x0),_0x5a614e;}class _0x4247e7 extends _0x29630e[_0x5f56c6(0x213)]{constructor(){const _0x508efb=_0x5f56c6;super(...arguments),_0x48f470(this,_0x508efb(0x52b),new _0x17e48c[(_0x508efb(0x38b))](null)),_0x48f470(this,_0x508efb(0x21e),this['_collabCursorState$'][_0x508efb(0x2ac)]());}['syncEditingCollabCursor'](_0x231d73){const _0x3a4b76=_0x5f56c6,{unitID:_0xffb094,memberID:_0x12183c,textRanges:_0x1a018c}=_0x231d73,_0x113d6e=_0x27f38b(_0x1a018c);if(_0x113d6e==='')return;const _0xe09704={'unitID':_0xffb094,'memberID':_0x12183c,'selection':_0x113d6e};this[_0x3a4b76(0x52b)][_0x3a4b76(0x17b)](_0xe09704);}}var _0x3192d3=Object['defineProperty'],_0x303937=Object[_0x5f56c6(0x47e)],_0x16852b=(_0x8d456f,_0x4f11a5,_0x520d63,_0xdfc916)=>{const _0x770f12=_0x5f56c6;for(var _0x2a88f5=_0xdfc916>0x1?void 0x0:_0xdfc916?_0x303937(_0x4f11a5,_0x520d63):_0x4f11a5,_0x484a64=_0x8d456f[_0x770f12(0x47d)]-0x1,_0x48c119;_0x484a64>=0x0;_0x484a64--)(_0x48c119=_0x8d456f[_0x484a64])&&(_0x2a88f5=(_0xdfc916?_0x48c119(_0x4f11a5,_0x520d63,_0x2a88f5):_0x48c119(_0x2a88f5))||_0x2a88f5);return _0xdfc916&&_0x2a88f5&&_0x3192d3(_0x4f11a5,_0x520d63,_0x2a88f5),_0x2a88f5;},_0xd83f36=(_0x4a989d,_0x584def)=>(_0xe1893c,_0x5e80ea)=>_0x584def(_0xe1893c,_0x5e80ea,_0x4a989d);let _0x1e6df8=class{constructor(_0x5cd2d2,_0x893127){const _0x34db82=_0x5f56c6;this['_injector']=_0x5cd2d2,this[_0x34db82(0x4ab)]=_0x893127;}[_0x5f56c6(0x250)](_0xfeb077){const _0x5283a9=_0x5f56c6;var _0x1b8a7b;const _0x78f630=this[_0x5283a9(0x3cf)][_0x5283a9(0x44d)](_0x31abfa['DocSelectionManagerService']),_0x47703d=(_0x1b8a7b=_0x78f630[_0x5283a9(0x4c6)]())!=null?_0x1b8a7b:[];if(_0x47703d[_0x5283a9(0x47d)]===0x0)return;const _0x594bae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xfeb077['unitID'],'actions':null,'textRanges':_0x47703d}}],_0x520565=this[_0x5283a9(0x4ab)]['transformMutationsWithChangeset'](_0xfeb077,_0x594bae);if(!_0x2a6d3d[_0x5283a9(0x578)](_0x520565))throw _0x520565['error'];const _0x3ca2aa=_0x520565[_0x5283a9(0x3fc)][0x0][_0x5283a9(0x1ee)]['textRanges'];Array[_0x5283a9(0x400)](_0x3ca2aa)&&_0x3ca2aa[_0x5283a9(0x47d)]&&_0x78f630[_0x5283a9(0x1b7)](_0x3ca2aa,!0x1);}};_0x1e6df8=_0x16852b([_0xd83f36(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0xd83f36(0x1,_0x2a6d3d[_0x5f56c6(0x172)])],_0x1e6df8);const _0x280d70=new Set([_0x5decb0[_0x5f56c6(0x247)]['id']]);function _0x29b2fb(_0x7eef11,_0x51fa3a,_0x34ba6e,_0x36a16c,_0x537ace){const _0x28dfe5=_0x5f56c6;var _0x6160e7,_0x2ea4f7,_0x4fba4c,_0x434eaf;const _0x32917d=[];for(const _0x33aedd of _0x7eef11)if(_0x280d70['has'](_0x33aedd['id'])){if(_0x32917d['length']>0x0)break;_0x32917d[_0x28dfe5(0x476)](_0x33aedd);break;}else _0x32917d[_0x28dfe5(0x476)](_0x33aedd);const _0x557b58=(_0x2ea4f7=(_0x6160e7=_0x537ace['getCurrentUser']())==null?void 0x0:_0x6160e7[_0x28dfe5(0x18e)])!=null?_0x2ea4f7:_0x28dfe5(0x251),_0x1479e5=(_0x434eaf=(_0x4fba4c=_0x537ace['getCurrentUser']())==null?void 0x0:_0x4fba4c[_0x28dfe5(0x4d4)])!=null?_0x434eaf:'unknown';return{'changeset':{'unitID':_0x51fa3a,'type':_0x2a6d3d['mapDocumentTypeToUniverType'](_0x34ba6e[_0x28dfe5(0x193)](_0x51fa3a)),'baseRev':_0x36a16c['getCurrentRevOfUnit'](_0x51fa3a),'revision':0x0,'userID':_0x557b58,'memberID':_0x1479e5,'mutations':_0x32917d},'pendingMutations':_0x7eef11[_0x28dfe5(0x480)](_0x32917d[_0x28dfe5(0x47d)])};}function _0x3c99ad(_0xb89505,_0x21f506,_0x565158,_0xd99329,_0x310d91){const _0x348366=_0x5f56c6;var _0x30fef7,_0x4799e5,_0x410db2,_0x49dfae;const _0x5b15b9=[_0xb89505[_0x348366(0x2a4)]((_0x414cda,_0x3fc82c)=>{const _0x5bdf0f=_0x348366;var _0x13ca52;const {id:_0x43a67f}=_0x414cda,{id:_0x28a1d5,type:_0x3cb81e}=_0x3fc82c,_0x2b9ef9=(_0x13ca52=_0x414cda[_0x5bdf0f(0x1ee)])!=null?_0x13ca52:{'actions':null},_0x21d16d=_0x3fc82c[_0x5bdf0f(0x1ee)];if(_0x43a67f&&_0x43a67f!==_0x28a1d5)throw new Error(_0x5bdf0f(0x3b6)+_0x43a67f+_0x5bdf0f(0x1ca)+_0x28a1d5+'.');return{..._0x414cda,'id':_0x28a1d5,'type':_0x3cb81e,'params':{'unitId':_0x21d16d['unitId'],'textRanges':_0x21d16d[_0x5bdf0f(0x589)],'actions':_0x29630e['JSONX'][_0x5bdf0f(0x4d3)](_0x2b9ef9[_0x5bdf0f(0x4b2)],_0x21d16d[_0x5bdf0f(0x4b2)])}};},{})],_0x4dbdb9=(_0x4799e5=(_0x30fef7=_0x310d91['getCurrentUser']())==null?void 0x0:_0x30fef7[_0x348366(0x18e)])!=null?_0x4799e5:_0x348366(0x251),_0x1cd289=(_0x49dfae=(_0x410db2=_0x310d91[_0x348366(0x2c4)]())==null?void 0x0:_0x410db2[_0x348366(0x4d4)])!=null?_0x49dfae:_0x348366(0x251);return{'changeset':{'unitID':_0x21f506,'type':_0x2a6d3d[_0x348366(0x1a1)](_0x565158[_0x348366(0x193)](_0x21f506)),'baseRev':_0xd99329[_0x348366(0x174)](_0x21f506),'revision':0x0,'userID':_0x4dbdb9,'memberID':_0x1cd289,'mutations':_0x5b15b9},'pendingMutations':[]};}function _0xc9c824(_0x3d6356,_0x219519){const _0x2a3508=_0x5f56c6,_0x5390ee=new _0x17e48c[(_0x2a3508(0x362))](0x1);return setTimeout(()=>_0x5390ee[_0x2a3508(0x17b)](_0x219519),_0x3d6356),_0x5390ee[_0x2a3508(0x2ac)]()[_0x2a3508(0x300)](_0x17e48c[_0x2a3508(0x19a)](0x1));}const _0x1cb65b={'id':_0x5decb0[_0x5f56c6(0x1b5)]['id'],'type':_0x29630e['CommandType'][_0x5f56c6(0x25e)],'params':{}};var _0x9997f7=Object[_0x5f56c6(0x17a)],_0x261946=Object[_0x5f56c6(0x47e)],_0x2c2fb2=(_0x299323,_0xf027ad,_0x2f548f,_0x5a3bb1)=>{for(var _0x3b75a3=_0x5a3bb1>0x1?void 0x0:_0x5a3bb1?_0x261946(_0xf027ad,_0x2f548f):_0xf027ad,_0x323af6=_0x299323['length']-0x1,_0x36719d;_0x323af6>=0x0;_0x323af6--)(_0x36719d=_0x299323[_0x323af6])&&(_0x3b75a3=(_0x5a3bb1?_0x36719d(_0xf027ad,_0x2f548f,_0x3b75a3):_0x36719d(_0x3b75a3))||_0x3b75a3);return _0x5a3bb1&&_0x3b75a3&&_0x9997f7(_0xf027ad,_0x2f548f,_0x3b75a3),_0x3b75a3;},_0x5538dd=(_0x66be06,_0x215c25)=>(_0x5ce1f3,_0x5f3468)=>_0x215c25(_0x5ce1f3,_0x5f3468,_0x66be06),_0x4cac76=(_0x425c55=>(_0x425c55[_0x5f56c6(0x352)]='not_collab',_0x425c55[_0x5f56c6(0x2bd)]=_0x5f56c6(0x568),_0x425c55['PENDING']=_0x5f56c6(0x179),_0x425c55[_0x5f56c6(0x53f)]=_0x5f56c6(0x56c),_0x425c55['AWAITING_WITH_PENDING']=_0x5f56c6(0x4ed),_0x425c55[_0x5f56c6(0x1ae)]=_0x5f56c6(0x1d1),_0x425c55[_0x5f56c6(0x479)]=_0x5f56c6(0x3f5),_0x425c55[_0x5f56c6(0x385)]=_0x5f56c6(0x571),_0x425c55))(_0x4cac76||{});const _0x4d761d=0xea60;class _0x253515{constructor(_0x8de892,_0x58d6d4,_0x5357af,_0x3815b0,_0x26cc17,_0x3be569,_0x4f592f,_0x2d8018,_0x4d1a96){const _0x49e01d=_0x5f56c6;_0x48f470(this,_0x49e01d(0x3a1),null),_0x48f470(this,_0x49e01d(0x31a),[]),(this[_0x49e01d(0x586)]=_0x8de892,this['type']=_0x58d6d4,this[_0x49e01d(0x2a2)]=_0x26cc17,this[_0x49e01d(0x2a7)]=_0x3be569,this[_0x49e01d(0x19c)]=_0x4f592f,this[_0x49e01d(0x4e2)]=_0x2d8018,this['_localCacheService']=_0x4d1a96,this[_0x49e01d(0x3a1)]=_0x5357af,this[_0x49e01d(0x31a)]=_0x3815b0);}[_0x5f56c6(0x2da)](_0x2cf7d3){const _0x465f58=_0x5f56c6,_0x3113a9=this['_revisionService']['getCurrentRevOfUnit'](this[_0x465f58(0x586)]);return _0x2cf7d3['revision']>_0x3113a9+0x1?(this[_0x465f58(0x2a2)][_0x465f58(0x339)]({'from':_0x3113a9,'to':_0x2cf7d3['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4d5571){const _0x302259=_0x5f56c6;this[_0x302259(0x19c)][_0x302259(0x1c3)](this[_0x302259(0x586)],_0x4d5571);}[_0x5f56c6(0x3bc)](_0x4107eb){const _0x506a8b=_0x5f56c6;var _0x274612,_0x14e1e8;(_0x14e1e8=(_0x274612=this[_0x506a8b(0x2a2)])[_0x506a8b(0x3c7)])==null||_0x14e1e8['call'](_0x274612,_0x4107eb);}[_0x5f56c6(0x332)](_0x279607){const _0x2b936a=_0x5f56c6;var _0x49f8b9,_0x3c860d;return(_0x3c860d=(_0x49f8b9=this[_0x2b936a(0x2a2)])[_0x2b936a(0x279)])==null?void 0x0:_0x3c860d[_0x2b936a(0x424)](_0x49f8b9,_0x279607);}['_transformRemoteChangesetByIMECache'](_0x422ca3){const _0x1be070=_0x5f56c6;var _0x1c1f70,_0x7909ab,_0x16d1c4;return(_0x16d1c4=(_0x7909ab=(_0x1c1f70=this[_0x1be070(0x2a2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x7909ab[_0x1be070(0x424)](_0x1c1f70,_0x422ca3))!=null?_0x16d1c4:_0x422ca3;}[_0x5f56c6(0x45a)](_0x5388ce){const _0x25165c=_0x5f56c6;var _0x283f27,_0x5f3118;if(this[_0x25165c(0x566)]===_0x48039f[_0x25165c(0x540)]){const {unitID:_0x4fbc94,mutations:_0x4ced71,memberID:_0x5171c5}=_0x5388ce,_0x3f8a34=_0x4ced71[0x0][_0x25165c(0x1ee)]['textRanges'];Array[_0x25165c(0x400)](_0x3f8a34)&&_0x3f8a34[_0x25165c(0x47d)]>0x0&&((_0x5f3118=(_0x283f27=this[_0x25165c(0x2a2)])['onSyncEditingCollabCursor'])==null||_0x5f3118[_0x25165c(0x424)](_0x283f27,{'unitID':_0x4fbc94,'memberID':_0x5171c5,'textRanges':_0x3f8a34}));}}[_0x5f56c6(0x430)](){const _0x4d4ecb=_0x5f56c6;this[_0x4d4ecb(0x206)]['updateOfflineData'](this[_0x4d4ecb(0x586)],this[_0x4d4ecb(0x566)],this[_0x4d4ecb(0x3a1)],this['_pendingMutations']);}[_0x5f56c6(0x4df)](){const _0x505b59=_0x5f56c6;return this[_0x505b59(0x4e2)][_0x505b59(0x174)](this[_0x505b59(0x586)]);}[_0x5f56c6(0x302)](){const _0x205366=_0x5f56c6;this[_0x205366(0x4e2)][_0x205366(0x222)](this[_0x205366(0x586)]);}['_executeRemoteChangeset'](_0x5e12d0){const _0x449a81=_0x5f56c6;var _0x2f1d93;const _0x4c1b9e=this['_transformRemoteChangesetByIMECache'](_0x5e12d0),_0x1f3e39=_0x29630e[_0x449a81(0x359)](_0x4c1b9e[_0x449a81(0x288)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3e39['result'])throw _0x1f3e39[_0x449a81(0x1fe)]instanceof Error?_0x1f3e39[_0x449a81(0x1fe)]:new Error((_0x2f1d93=_0x1f3e39['error'])!=null?_0x2f1d93:_0x449a81(0x273));this[_0x449a81(0x332)](_0x4c1b9e),this[_0x449a81(0x4ea)](_0x5e12d0),this[_0x449a81(0x3bc)](_0x4c1b9e),this[_0x449a81(0x45a)](_0x4c1b9e),this[_0x449a81(0x302)]();}}let _0x5155d3=class extends _0x253515{constructor(_0xd2ec29,_0x242079,_0x42b9e0,_0x11e250,_0x300373,_0x3731bb,_0x46c74a,_0x948485,_0x3957a6,_0xb13d4a){const _0xeff5e5=_0x5f56c6;super(_0xd2ec29,_0x242079,null,[],_0x42b9e0,_0x948485,_0x46c74a,_0x11e250,_0x300373),_0x48f470(this,_0xeff5e5(0x4ce),_0xeff5e5(0x568)),(this[_0xeff5e5(0x3cf)]=_0x3731bb,this['_logService']=_0x3957a6,this[_0xeff5e5(0x4ab)]=_0xb13d4a);}[_0x5f56c6(0x1fa)](_0x28490f){const _0xcb9f11=_0x5f56c6,_0xa05699=this['_injector'][_0xcb9f11(0x445)](_0x3703c2,this[_0xcb9f11(0x586)],this[_0xcb9f11(0x566)],[_0x28490f],this['_handler']);return _0xa05699[_0xcb9f11(0x399)](),_0xa05699[_0xcb9f11(0x430)](),_0xa05699;}[_0x5f56c6(0x39b)](_0x3fbec5){const _0x136e6c=_0x5f56c6;if(this[_0x136e6c(0x2da)](_0x3fbec5))return this[_0x136e6c(0x3cf)][_0x136e6c(0x445)](_0x5699b0,this['unitID'],this['type'],null,[],null,[_0x3fbec5],this['_handler']);try{const _0x163d37=this[_0x136e6c(0x4ab)][_0x136e6c(0x4bd)](_0x3fbec5,[_0x1cb65b]);if(_0x2a6d3d[_0x136e6c(0x578)](_0x163d37)){const {c1Prime:_0x3d46c8}=_0x163d37;return this[_0x136e6c(0x1f5)](_0x3d46c8),this;}throw _0x163d37[_0x136e6c(0x1fe)];}catch(_0x5c24f0){return this[_0x136e6c(0x3ac)][_0x136e6c(0x1fe)](_0x5c24f0),this['_onConflict'](!0x1);}}['_onConflict'](_0x49a9c3){const _0x428db5=_0x5f56c6;return this['_injector']['createInstance'](_0x4d9b5e,this[_0x428db5(0x586)],this[_0x428db5(0x566)],null,[],this[_0x428db5(0x2a2)],_0x49a9c3);}[_0x5f56c6(0x53b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x597891=_0x5f56c6;throw new Error(_0x597891(0x455));}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){const _0x5d628f=_0x5f56c6;return this[_0x5d628f(0x3cf)]['createInstance'](_0x5bba0f,this[_0x5d628f(0x586)],this[_0x5d628f(0x566)],null,[],this[_0x5d628f(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x9eaaba=_0x5f56c6;throw new Error(_0x9eaaba(0x454));}[_0x5f56c6(0x230)](){const _0xd022c4=_0x5f56c6,_0x353897=this[_0xd022c4(0x4e2)][_0xd022c4(0x174)](this['unitID']);return this[_0xd022c4(0x2a2)][_0xd022c4(0x339)]({'from':_0x353897,'to':0x0}),this['_injector'][_0xd022c4(0x445)](_0x5699b0,this[_0xd022c4(0x586)],this[_0xd022c4(0x566)],null,[],null,[],this['_handler']);}};_0x5155d3=_0x2c2fb2([_0x5538dd(0x3,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x5,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x394)]),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x2a6d3d[_0x5f56c6(0x172)])],_0x5155d3);let _0x3703c2=class extends _0x253515{constructor(_0x2d4ac0,_0x1ea75d,_0x4ed7d1,_0x49e9d7,_0x2b1776,_0x504c50,_0x43555d,_0x5aee64,_0x55bacf,_0x417950,_0x16e3b0,_0x346248,_0x5363ff,_0x431ccf){const _0x59add1=_0x5f56c6;super(_0x2d4ac0,_0x1ea75d,null,_0x4ed7d1,_0x49e9d7,_0x417950,_0x431ccf,_0x504c50,_0x43555d),_0x48f470(this,_0x59add1(0x4ce),_0x59add1(0x179)),_0x48f470(this,_0x59add1(0x214),null),_0x48f470(this,'_sendingTimer',null),(this[_0x59add1(0x3cf)]=_0x2b1776,this[_0x59add1(0x521)]=_0x5aee64,this[_0x59add1(0x3ac)]=_0x55bacf,this['_configService']=_0x16e3b0,this['_transformService']=_0x346248,this['_univerInstanceService']=_0x5363ff);}[_0x5f56c6(0x1fa)](_0x598ee5){const _0x845492=_0x5f56c6;return this[_0x845492(0x31a)][_0x845492(0x476)](_0x598ee5),this[_0x845492(0x430)](),this;}[_0x5f56c6(0x39b)](_0x5145c7){const _0x178fdf=_0x5f56c6;if(this[_0x178fdf(0x2da)](_0x5145c7))return this['_clearScheduledTask'](),this[_0x178fdf(0x3cf)][_0x178fdf(0x445)](_0x5699b0,this[_0x178fdf(0x586)],this[_0x178fdf(0x566)],null,this[_0x178fdf(0x31a)],null,[_0x5145c7],this[_0x178fdf(0x2a2)]);try{const _0x23032b=this['_transformService'][_0x178fdf(0x4bd)](_0x5145c7,this['_pendingMutations']);if(_0x2a6d3d[_0x178fdf(0x578)](_0x23032b)){const {c1Prime:_0x122746,m2Prime:_0x4397f6}=_0x23032b;this['_executeRemoteChangeset'](_0x122746);const _0x32f6c6=this['_injector'][_0x178fdf(0x445)](_0x3703c2,this[_0x178fdf(0x586)],this[_0x178fdf(0x566)],_0x4397f6,this[_0x178fdf(0x2a2)]);return this['_clearScheduledTask'](),_0x32f6c6[_0x178fdf(0x399)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x178fdf(0x286)]()-this[_0x178fdf(0x214)]):this['_getSendChangesetTimeout']()),_0x32f6c6;}throw _0x23032b[_0x178fdf(0x1fe)];}catch(_0x20f0a0){return this['_logService'][_0x178fdf(0x1fe)](_0x20f0a0),this[_0x178fdf(0x1e6)](!0x1);}}[_0x5f56c6(0x53b)](){const _0x2fc1a7=_0x5f56c6;throw new Error(_0x2fc1a7(0x52e));}[_0x5f56c6(0x4fa)](){const _0x4b9fbe=_0x5f56c6;throw new Error(_0x4b9fbe(0x1d7));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x8092bc=_0x5f56c6;return this[_0x8092bc(0x44e)](),this['_injector']['createInstance'](_0x5bba0f,this[_0x8092bc(0x586)],this[_0x8092bc(0x566)],null,this[_0x8092bc(0x31a)],this[_0x8092bc(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x399)](_0x4a318a){const _0x5a7194=_0x5f56c6,_0x3197a1=_0x4a318a!=null?_0x4a318a:this[_0x5a7194(0x51e)]();this['_scheduleTimestamp']=new Date()[_0x5a7194(0x286)](),this[_0x5a7194(0x3e7)]=window[_0x5a7194(0x262)](()=>{const _0xf2cd93=_0x5a7194;this[_0xf2cd93(0x44e)]();let _0x1ccab7=null;switch(this[_0xf2cd93(0x566)]){case _0x48039f['UNIVER_SHEET']:{_0x1ccab7=_0x29b2fb(this[_0xf2cd93(0x31a)],this['unitID'],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this[_0xf2cd93(0x521)]);break;}case _0x48039f[_0xf2cd93(0x540)]:{this[_0xf2cd93(0x31a)]['every'](_0x4f068a=>_0x4f068a['id']===_0x31abfa['RichTextEditingMutation']['id'])?_0x1ccab7=_0x3c99ad(this[_0xf2cd93(0x31a)],this[_0xf2cd93(0x586)],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this['_memberService']):_0x1ccab7=_0x29b2fb(this[_0xf2cd93(0x31a)],this[_0xf2cd93(0x586)],this[_0xf2cd93(0x434)],this[_0xf2cd93(0x4e2)],this['_memberService']);break;}default:throw new Error(_0xf2cd93(0x58e)+this[_0xf2cd93(0x566)]+_0xf2cd93(0x4a5));}const {changeset:_0x39e150,pendingMutations:_0x4996ed}=_0x1ccab7;this['_handler']['onSendChangeset'](_0x39e150);const _0x270ed8=_0x4996ed[_0xf2cd93(0x47d)]?this[_0xf2cd93(0x3cf)][_0xf2cd93(0x445)](_0x4dc360,this[_0xf2cd93(0x586)],this[_0xf2cd93(0x566)],_0x39e150,_0x4996ed,this[_0xf2cd93(0x2a2)],void 0x0):this['_injector'][_0xf2cd93(0x445)](_0x2edaec,this[_0xf2cd93(0x586)],this[_0xf2cd93(0x566)],_0x39e150,this[_0xf2cd93(0x2a2)]);_0x270ed8['_updateLocalCache'](),this[_0xf2cd93(0x2a2)][_0xf2cd93(0x220)](this,_0x270ed8);},_0x3197a1);}[_0x5f56c6(0x51e)](){const _0x213a12=_0x5f56c6;var _0x4a4fd9;const _0x394c9b=this[_0x213a12(0x4e8)][_0x213a12(0x1e0)](_0x1573c4);return(_0x4a4fd9=_0x394c9b==null?void 0x0:_0x394c9b[_0x213a12(0x33a)])!=null?_0x4a4fd9:0x7d0;}[_0x5f56c6(0x4ec)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x33fce6=_0x5f56c6;this[_0x33fce6(0x3e7)]!=null&&(clearTimeout(this[_0x33fce6(0x3e7)]),this['_sendingTimer']=null);}['_onConflict'](_0x4f1be7){const _0x288eff=_0x5f56c6;return this[_0x288eff(0x44e)](),this['_injector'][_0x288eff(0x445)](_0x4d9b5e,this[_0x288eff(0x586)],this[_0x288eff(0x566)],null,this[_0x288eff(0x31a)],this[_0x288eff(0x2a2)],_0x4f1be7);}};_0x3703c2=_0x2c2fb2([_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['RevisionService'])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['MemberService'])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x34d)]),_0x5538dd(0xb,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xc,_0x29630e[_0x5f56c6(0x441)]),_0x5538dd(0xd,_0x29630e['IUndoRedoService'])],_0x3703c2);let _0x2edaec=class extends _0x253515{constructor(_0x3a11f6,_0x17edcd,_0x196de6,_0x32ef8,_0x1e02ac,_0xb9fe93,_0x200cb3,_0x5208a6,_0x319223,_0x46250c,_0x1c3b9a){const _0x5ebc43=_0x5f56c6;super(_0x3a11f6,_0x17edcd,_0x196de6,[],_0x32ef8,_0x5208a6,_0x1c3b9a,_0xb9fe93,_0x200cb3),_0x48f470(this,_0x5ebc43(0x4ce),_0x5ebc43(0x56c)),_0x48f470(this,_0x5ebc43(0x4a3),0x0),_0x48f470(this,_0x5ebc43(0x459)),_0x48f470(this,_0x5ebc43(0x524)),(this[_0x5ebc43(0x3cf)]=_0x1e02ac,this[_0x5ebc43(0x3ac)]=_0x319223,this[_0x5ebc43(0x4ab)]=_0x46250c);}[_0x5f56c6(0x1fa)](_0x143927){const _0x24ca42=_0x5f56c6;this[_0x24ca42(0x44e)]();const _0x158e7b=this[_0x24ca42(0x3cf)][_0x24ca42(0x445)](_0x4dc360,this['unitID'],this[_0x24ca42(0x566)],this[_0x24ca42(0x3a1)],[_0x143927],this['_handler'],this[_0x24ca42(0x459)]);return _0x158e7b[_0x24ca42(0x430)](),_0x158e7b;}['onRemoteChangeset'](_0x3b997c){const _0x51aa75=_0x5f56c6;if(this[_0x51aa75(0x2da)](_0x3b997c))return this[_0x51aa75(0x44e)](),this[_0x51aa75(0x3cf)][_0x51aa75(0x445)](_0x5699b0,this['unitID'],this[_0x51aa75(0x566)],this[_0x51aa75(0x3a1)],[],null,[_0x3b997c],this[_0x51aa75(0x2a2)]);try{const _0x54300f=this[_0x51aa75(0x4ab)]['transformChangesets']([_0x3b997c],[this[_0x51aa75(0x3a1)]],!0x1);if(_0x2a6d3d[_0x51aa75(0x2ad)](_0x54300f)){const {c1Prime:_0x22a385,c2Prime:_0x394e37}=_0x54300f;this[_0x51aa75(0x1f5)](_0x22a385[0x0]),_0x394e37[0x0][_0x51aa75(0x3de)]=this[_0x51aa75(0x4df)](),this[_0x51aa75(0x44e)]();const _0x36595b=this[_0x51aa75(0x3cf)]['createInstance'](_0x2edaec,this['unitID'],this[_0x51aa75(0x566)],_0x394e37[0x0],this[_0x51aa75(0x2a2)]);return _0x36595b[_0x51aa75(0x430)](),_0x36595b;}return this['_onConflict'](!0x1);}catch(_0x3946ba){return this['_logService']['error'](_0x3946ba),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x3f4fd5){const _0x19b29d=_0x5f56c6;this[_0x19b29d(0x44e)]();const _0x29915c=this[_0x19b29d(0x4e2)][_0x19b29d(0x174)](this[_0x19b29d(0x586)]);if(_0x3f4fd5[_0x19b29d(0x27a)]<_0x29915c-0x1)return this;if(this[_0x19b29d(0x2da)](_0x3f4fd5))return this['_injector'][_0x19b29d(0x445)](_0x5699b0,this[_0x19b29d(0x586)],this[_0x19b29d(0x566)],null,[],this[_0x19b29d(0x3a1)],[],this[_0x19b29d(0x2a2)]);this['_incrementRevisionNumber']();const _0x560508=this[_0x19b29d(0x3cf)][_0x19b29d(0x445)](_0x5155d3,this[_0x19b29d(0x586)],this[_0x19b29d(0x566)],this[_0x19b29d(0x2a2)]);return _0x560508['_updateLocalCache'](),_0x560508;}[_0x5f56c6(0x4fa)](_0x3f3083){return this['_onConflict'](!!(_0x3f3083!=null&&_0x3f3083['isPermissionRej']));}[_0x5f56c6(0x46f)](_0x17fa3f){const _0x4a047d=_0x5f56c6;return this[_0x4a047d(0x4a3)]>_0x4d761d?this[_0x4a047d(0x57f)]():(this[_0x4a047d(0x459)]=_0xc9c824(this['_resendTimeout'],{'timeout':this[_0x4a047d(0x4a3)],'reqId':_0x17fa3f['reqId']}),this['_sender']=this[_0x4a047d(0x459)][_0x4a047d(0x18a)](({reqId:_0x289c2a,timeout:_0x445b87})=>{this['_resendWithTimeout'](_0x289c2a,_0x445b87);}),this);}['toggleOffline'](){const _0x4240c4=_0x5f56c6;return this[_0x4240c4(0x44e)](),this[_0x4240c4(0x3cf)]['createInstance'](_0x5bba0f,this[_0x4240c4(0x586)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x2d0692=_0x5f56c6;this[_0x2d0692(0x2a2)][_0x2d0692(0x1cf)](this[_0x2d0692(0x3a1)]);}[_0x5f56c6(0x1e6)](_0x51f5e2){const _0x151956=_0x5f56c6;return this['_clearScheduledTask'](),this['_injector'][_0x151956(0x445)](_0x4d9b5e,this[_0x151956(0x586)],this[_0x151956(0x566)],this['_awaitingChangeset'],[],this[_0x151956(0x2a2)],_0x51f5e2);}[_0x5f56c6(0x408)](_0xbd8fff,_0x35bef6){const _0x2b49a2=_0x5f56c6;var _0x1a6248;_0xbd8fff===((_0x1a6248=this['_awaitingChangeset'])==null?void 0x0:_0x1a6248[_0x2b49a2(0x277)])&&(this[_0x2b49a2(0x4ec)](),this['_resendTimeout']=_0x35bef6===0x0?0x3e8:_0x35bef6*0x2);}[_0x5f56c6(0x44e)](){const _0x40e292=_0x5f56c6;var _0x2f8d39;(_0x2f8d39=this[_0x40e292(0x524)])==null||_0x2f8d39[_0x40e292(0x349)](),this['_resendTimeout']=0x0;}};_0x2edaec=_0x2c2fb2([_0x5538dd(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x5538dd(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0x9,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x394)])],_0x2edaec);let _0x4dc360=class extends _0x253515{constructor(_0x29d41b,_0x2ab075,_0x60f87c,_0x19b6d4,_0x15903c,_0x3e4a41,_0x233fbc,_0x323734,_0x1b154d,_0x4f6f9e,_0x4b4c96,_0x5e9f6d,_0x166b5a){const _0x4b434f=_0x5f56c6;super(_0x29d41b,_0x2ab075,_0x60f87c,_0x19b6d4,_0x15903c,_0x4f6f9e,_0x166b5a,_0x323734,_0x1b154d),_0x48f470(this,_0x4b434f(0x4ce),'awaiting_with_pending'),_0x48f470(this,_0x4b434f(0x4a3),0x0),_0x48f470(this,_0x4b434f(0x459)),_0x48f470(this,'_sender'),(this[_0x4b434f(0x3cf)]=_0x233fbc,this[_0x4b434f(0x3ac)]=_0x4b4c96,this[_0x4b434f(0x4ab)]=_0x5e9f6d,_0x3e4a41&&(this[_0x4b434f(0x459)]=_0x3e4a41,this['_sender']=this[_0x4b434f(0x459)][_0x4b434f(0x18a)](({reqId:_0x51bbd3,timeout:_0x321dc1})=>{this['_resendWithTimeout'](_0x51bbd3,_0x321dc1);})));}[_0x5f56c6(0x1fa)](_0x4763eb){return this['_pendingMutations']['push'](_0x4763eb),this;}[_0x5f56c6(0x39b)](_0x17c3f2){const _0xf1b4ec=_0x5f56c6;if(this[_0xf1b4ec(0x2da)](_0x17c3f2))return this[_0xf1b4ec(0x44e)](),this[_0xf1b4ec(0x3cf)][_0xf1b4ec(0x445)](_0x5699b0,this[_0xf1b4ec(0x586)],this[_0xf1b4ec(0x566)],this[_0xf1b4ec(0x3a1)],this[_0xf1b4ec(0x31a)],null,[_0x17c3f2],this[_0xf1b4ec(0x2a2)]);try{const _0x2fb28f=this[_0xf1b4ec(0x4ab)][_0xf1b4ec(0x31f)]([_0x17c3f2],[this[_0xf1b4ec(0x3a1)]],!0x1);if(_0x2a6d3d['isTransformChangesetsSuccess'](_0x2fb28f)){const {c1Prime:_0x179b0e,c2Prime:_0xdd1f56}=_0x2fb28f,_0x588b91=this[_0xf1b4ec(0x4ab)]['transformMutationsWithChangeset'](_0x179b0e[0x0],this['_pendingMutations']);if(_0x2a6d3d[_0xf1b4ec(0x578)](_0x588b91)){const {c1Prime:_0x5de29f,m2Prime:_0x1fed79}=_0x588b91;return this[_0xf1b4ec(0x1f5)](_0x5de29f),_0xdd1f56[0x0][_0xf1b4ec(0x3de)]=this[_0xf1b4ec(0x4df)](),this[_0xf1b4ec(0x44e)](),this['_injector']['createInstance'](_0x4dc360,this[_0xf1b4ec(0x586)],this[_0xf1b4ec(0x566)],_0xdd1f56[0x0],_0x1fed79,this['_handler'],void 0x0);}throw _0x588b91[_0xf1b4ec(0x1fe)];}throw _0x2fb28f[_0xf1b4ec(0x1fe)];}catch(_0x1d3257){return this[_0xf1b4ec(0x3ac)][_0xf1b4ec(0x1fe)](_0x1d3257),this['_onConflict'](!0x1);}}[_0x5f56c6(0x53b)](_0x2f803d){const _0x1b196d=_0x5f56c6;if(this[_0x1b196d(0x44e)](),this['_checkMissing'](_0x2f803d))return this[_0x1b196d(0x3cf)][_0x1b196d(0x445)](_0x5699b0,this[_0x1b196d(0x586)],this[_0x1b196d(0x566)],null,this['_pendingMutations'],this[_0x1b196d(0x3a1)],[],this['_handler']);this[_0x1b196d(0x302)]();const _0x267d64=this[_0x1b196d(0x3cf)][_0x1b196d(0x445)](_0x3703c2,this[_0x1b196d(0x586)],this[_0x1b196d(0x566)],this[_0x1b196d(0x31a)],this['_handler']);return _0x267d64['_schedule'](),_0x267d64[_0x1b196d(0x430)](),_0x267d64;}[_0x5f56c6(0x4fa)](_0x4c000e){const _0x54cdda=_0x5f56c6;return this[_0x54cdda(0x1e6)](!!(_0x4c000e!=null&&_0x4c000e[_0x54cdda(0x39d)]));}[_0x5f56c6(0x46f)](_0x26867f){const _0x52ca54=_0x5f56c6;return this[_0x52ca54(0x4a3)]>_0x4d761d?this[_0x52ca54(0x57f)]():(this['_resendTimer']=_0xc9c824(this[_0x52ca54(0x4a3)],{'timeout':this[_0x52ca54(0x4a3)],'reqId':_0x26867f[_0x52ca54(0x277)]}),this[_0x52ca54(0x524)]=this['_resendTimer']['subscribe'](({reqId:_0x118104,timeout:_0x316c19})=>{const _0xc24362=_0x52ca54;this[_0xc24362(0x408)](_0x118104,_0x316c19);}),this);}[_0x5f56c6(0x57f)](){const _0xb7dff3=_0x5f56c6;return this[_0xb7dff3(0x44e)](),this[_0xb7dff3(0x3cf)][_0xb7dff3(0x445)](_0x5bba0f,this[_0xb7dff3(0x586)],this[_0xb7dff3(0x566)],this[_0xb7dff3(0x3a1)],this['_pendingMutations'],this[_0xb7dff3(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x4ec)](){const _0x1093cb=_0x5f56c6;this[_0x1093cb(0x2a2)][_0x1093cb(0x1cf)](this[_0x1093cb(0x3a1)]);}[_0x5f56c6(0x1e6)](_0xdac855){const _0x2885a8=_0x5f56c6;return this[_0x2885a8(0x44e)](),this[_0x2885a8(0x3cf)][_0x2885a8(0x445)](_0x4d9b5e,this['unitID'],this[_0x2885a8(0x566)],null,this[_0x2885a8(0x31a)],this[_0x2885a8(0x2a2)],_0xdac855);}[_0x5f56c6(0x408)](_0x5b1f50,_0x45c024){const _0x3b07f3=_0x5f56c6;var _0x3bff6d;_0x5b1f50===((_0x3bff6d=this['_awaitingChangeset'])==null?void 0x0:_0x3bff6d[_0x3b07f3(0x277)])&&(this[_0x3b07f3(0x4ec)](),this[_0x3b07f3(0x4a3)]=_0x45c024===0x0?0x3e8:_0x45c024*0x2);}[_0x5f56c6(0x44e)](){const _0x15f7d6=_0x5f56c6;var _0x3f2fb6;(_0x3f2fb6=this[_0x15f7d6(0x524)])==null||_0x3f2fb6[_0x15f7d6(0x349)](),this[_0x15f7d6(0x4a3)]=0x0;}};_0x4dc360=_0x2c2fb2([_0x5538dd(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x7,_0x29630e['Inject'](_0x2a6d3d['RevisionService'])),_0x5538dd(0x8,_0x29630e['Inject'](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0xb,_0x2a6d3d[_0x5f56c6(0x172)]),_0x5538dd(0xc,_0x29630e[_0x5f56c6(0x394)])],_0x4dc360);let _0x4d9b5e=class extends _0x253515{constructor(_0x3bff07,_0x2e7ac0,_0x3f4cc8,_0x416185,_0x4c02ac,_0x3b75c=!0x1,_0x4b8bbf,_0x1be76f,_0x473c59,_0x17cb08,_0x5dd079,_0x2086f4,_0x33a793){const _0x2ab5b4=_0x5f56c6;super(_0x3bff07,_0x2e7ac0,_0x3f4cc8,_0x416185,_0x4c02ac,_0x1be76f,_0x473c59,_0x5dd079,_0x17cb08),_0x48f470(this,_0x2ab5b4(0x4ce),_0x2ab5b4(0x3f5)),(this[_0x2ab5b4(0x542)]=_0x3b75c,this[_0x2ab5b4(0x495)]=_0x4b8bbf,this[_0x2ab5b4(0x375)]=_0x2086f4,this[_0x2ab5b4(0x261)]=_0x33a793,this[_0x2ab5b4(0x4de)](),this[_0x2ab5b4(0x4bb)](),this[_0x2ab5b4(0x3ec)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x5f56c6(0x53b)](){return this;}[_0x5f56c6(0x4fa)](){return this;}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){return this;}[_0x5f56c6(0x37a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x57ce22=_0x5f56c6;this['_localCacheService'][_0x57ce22(0x242)](this[_0x57ce22(0x586)],this[_0x57ce22(0x566)],null,[]);}[_0x5f56c6(0x4de)](){const _0x412712=_0x5f56c6;this['_isPermissionRej']?this[_0x412712(0x261)][_0x412712(0x2e8)]({'title':this[_0x412712(0x375)]['t'](_0x412712(0x28d)),'content':this['_localeService']['t']('permission.content'),'type':_0x412712(0x1fe),'duration':0x0}):this[_0x412712(0x261)][_0x412712(0x2e8)]({'title':this[_0x412712(0x375)]['t'](_0x412712(0x1cb)),'content':this[_0x412712(0x375)]['t'](_0x412712(0x24b)),'type':_0x412712(0x1fe),'duration':0x0});}[_0x5f56c6(0x3ec)](){const _0xdc2f6f=_0x5f56c6;this['_permissionService'][_0xdc2f6f(0x48a)](new _0x5decb0[(_0xdc2f6f(0x43a))](this[_0xdc2f6f(0x586)])['id'],!0x1);}};_0x4d9b5e=_0x2c2fb2([_0x5538dd(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x1b0)])),_0x5538dd(0x7,_0x29630e['ICommandService']),_0x5538dd(0x8,_0x29630e['IUndoRedoService']),_0x5538dd(0x9,_0x29630e['Inject'](_0x4fdbaf['LocalCacheService'])),_0x5538dd(0xa,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0xb,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x5538dd(0xc,_0x279664[_0x5f56c6(0x562)])],_0x4d9b5e);let _0x5bba0f=class extends _0x253515{constructor(_0x48a61d,_0x5275d8,_0x3cd2cd,_0x5c3783,_0x4fcfa9,_0x4fffd8,_0x22ab2f,_0x12e06e,_0x1a3f5a,_0x103154){const _0x141df5=_0x5f56c6;super(_0x48a61d,_0x5275d8,_0x3cd2cd,_0x5c3783,_0x4fcfa9,_0x1a3f5a,_0x103154,_0x22ab2f,_0x12e06e),_0x48f470(this,_0x141df5(0x4ce),_0x141df5(0x571)),this[_0x141df5(0x3cf)]=_0x4fffd8;}[_0x5f56c6(0x1fa)](_0x3d2072){const _0x4c93b1=_0x5f56c6;return this[_0x4c93b1(0x31a)][_0x4c93b1(0x476)](_0x3d2072),this[_0x4c93b1(0x430)](),this;}[_0x5f56c6(0x39b)](_0x5ef849){const _0x48585e=_0x5f56c6;throw new Error(_0x48585e(0x2a9));}[_0x5f56c6(0x53b)](){const _0x484b67=_0x5f56c6;throw new Error(_0x484b67(0x420));}[_0x5f56c6(0x4fa)](){const _0x5e75dc=_0x5f56c6;throw new Error(_0x5e75dc(0x21d));}['onRemoteRetry'](){return this;}[_0x5f56c6(0x57f)](){return this;}[_0x5f56c6(0x37a)](){const {_injector:_0x137d26,_pendingMutations:_0x23e9e6,_awaitingChangeset:_0x1ef730,unitID:_0x3c75c7,_handler:_0x2ef714,type:_0x12f933}=this,_0x4f4a51=_0x427588(_0x137d26,_0x3c75c7,_0x12f933,_0x1ef730,_0x23e9e6,_0x2ef714);return _0x4f4a51 instanceof _0x3703c2?_0x4f4a51['_schedule']():(_0x4f4a51 instanceof _0x4dc360||_0x4f4a51 instanceof _0x2edaec)&&_0x4f4a51['resend'](),_0x4f4a51;}['resend'](){const _0x5507dd=_0x5f56c6;throw new Error(_0x5507dd(0x51d));}};_0x5bba0f=_0x2c2fb2([_0x5538dd(0x5,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x6,_0x29630e['Inject'](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x1a4)]),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x394)])],_0x5bba0f);let _0x5699b0=class extends _0x253515{constructor(_0x59a99c,_0x166f45,_0x9d5683,_0x417d3d,_0x13a840,_0x4b0d6d,_0x383ef9,_0x773c68,_0x54a08e,_0x492509,_0x2fe4c2,_0x22ba5c,_0x4e93f9,_0x4070f2){const _0xefb480=_0x5f56c6;super(_0x59a99c,_0x166f45,_0x9d5683,_0x417d3d,_0x383ef9,_0x22ba5c,_0x4e93f9,_0x54a08e,_0x492509),_0x48f470(this,_0xefb480(0x4ce),_0xefb480(0x1d1)),(this[_0xefb480(0x1b4)]=_0x13a840,this[_0xefb480(0x504)]=_0x4b0d6d,this[_0xefb480(0x3cf)]=_0x773c68,this['_logService']=_0x2fe4c2,this[_0xefb480(0x4ab)]=_0x4070f2);}[_0x5f56c6(0x26f)](_0x581b23){const _0x3f0b7d=_0x5f56c6;try{const _0x2e153e=[..._0x581b23,...this[_0x3f0b7d(0x504)]],_0x4856b7=[this['_awaitingChangeset']||this[_0x3f0b7d(0x1b4)]][_0x3f0b7d(0x324)](_0x22f906=>!!_0x22f906);let _0x57146d,_0x45f944;if(_0x4856b7[_0x3f0b7d(0x47d)]){const _0x1fe05a=this['_transformService']['transformChangesets'](_0x2e153e,_0x4856b7,!0x1);if(!_0x2a6d3d[_0x3f0b7d(0x2ad)](_0x1fe05a))throw _0x1fe05a[_0x3f0b7d(0x1fe)];_0x57146d=_0x1fe05a[_0x3f0b7d(0x33c)],_0x45f944=_0x1fe05a[_0x3f0b7d(0x2f6)];}else _0x57146d=_0x2e153e,_0x45f944=[];let _0x2fe7be=this[_0x3f0b7d(0x31a)];_0x57146d[_0x3f0b7d(0x57d)](_0x4fb6ff=>{const _0x5b5934=_0x3f0b7d;let _0x309dbf;if(_0x2fe7be[_0x5b5934(0x47d)]){const _0x58091a=this[_0x5b5934(0x4ab)]['transformMutationsWithChangeset'](_0x4fb6ff,_0x2fe7be);if(!_0x2a6d3d[_0x5b5934(0x578)](_0x58091a))throw _0x58091a[_0x5b5934(0x1fe)];_0x309dbf=_0x58091a[_0x5b5934(0x33c)],_0x2fe7be=_0x58091a[_0x5b5934(0x3fc)];}else _0x309dbf=_0x4fb6ff;this['_executeRemoteChangeset'](_0x309dbf);}),this[_0x3f0b7d(0x1b4)]&&this[_0x3f0b7d(0x302)](),this['_awaitingChangeset']&&_0x45f944[_0x3f0b7d(0x47d)]&&(_0x45f944[0x0][_0x3f0b7d(0x3de)]=this[_0x3f0b7d(0x4df)]());let _0x5a05bf;if(this[_0x3f0b7d(0x3a1)]&&_0x2fe7be[_0x3f0b7d(0x47d)]!==0x0)_0x5a05bf=this[_0x3f0b7d(0x3cf)][_0x3f0b7d(0x445)](_0x4dc360,this[_0x3f0b7d(0x586)],this['type'],_0x45f944[0x0],_0x2fe7be,this[_0x3f0b7d(0x2a2)],void 0x0);else{if(this[_0x3f0b7d(0x3a1)]&&_0x2fe7be[_0x3f0b7d(0x47d)]===0x0)_0x45f944[0x0][_0x3f0b7d(0x3de)]=this[_0x3f0b7d(0x4df)](),_0x5a05bf=this[_0x3f0b7d(0x3cf)]['createInstance'](_0x2edaec,this[_0x3f0b7d(0x586)],this['type'],_0x45f944[0x0],this[_0x3f0b7d(0x2a2)]);else{if(_0x2fe7be['length']!==0x0){const _0x510268=this[_0x3f0b7d(0x3cf)][_0x3f0b7d(0x445)](_0x3703c2,this[_0x3f0b7d(0x586)],this['type'],_0x2fe7be,this[_0x3f0b7d(0x2a2)]);_0x510268[_0x3f0b7d(0x399)](),_0x5a05bf=_0x510268;}else _0x5a05bf=this[_0x3f0b7d(0x3cf)]['createInstance'](_0x5155d3,this[_0x3f0b7d(0x586)],this[_0x3f0b7d(0x566)],this[_0x3f0b7d(0x2a2)]);}}return _0x5a05bf['_updateLocalCache'](),_0x5a05bf;}catch(_0x3151fa){return this[_0x3f0b7d(0x3ac)][_0x3f0b7d(0x1fe)](_0x3f0b7d(0x30a),_0x3f0b7d(0x53e),_0x3151fa),this[_0x3f0b7d(0x3cf)]['createInstance'](_0x4d9b5e,this[_0x3f0b7d(0x586)],this[_0x3f0b7d(0x566)],this['_awaitingChangeset'],this[_0x3f0b7d(0x31a)],this['_handler'],!0x1);}}[_0x5f56c6(0x4ec)](){const _0x28b838=_0x5f56c6;throw new Error(_0x28b838(0x1f3));}[_0x5f56c6(0x1fa)](_0x213bc5){const _0x4c409a=_0x5f56c6;return this[_0x4c409a(0x31a)][_0x4c409a(0x476)](_0x213bc5),this;}[_0x5f56c6(0x39b)](_0x27f6ce){const _0x54b967=_0x5f56c6;return this[_0x54b967(0x504)]['push'](_0x27f6ce),this;}[_0x5f56c6(0x53b)](_0xa27f25){const _0x6c2d87=_0x5f56c6;if(this[_0x6c2d87(0x3a1)])return this[_0x6c2d87(0x1b4)]=this[_0x6c2d87(0x3a1)],this['_awaitingChangeset']=null,this;throw new Error(_0x6c2d87(0x346));}[_0x5f56c6(0x4fa)](_0x4074c3){const _0x6624b7=_0x5f56c6;return this[_0x6624b7(0x1e6)](!!(_0x4074c3!=null&&_0x4074c3[_0x6624b7(0x39d)]));}[_0x5f56c6(0x46f)](){return this;}[_0x5f56c6(0x57f)](){const _0x8392be=_0x5f56c6;return this[_0x8392be(0x3cf)][_0x8392be(0x445)](_0x5bba0f,this['unitID'],this[_0x8392be(0x566)],this[_0x8392be(0x3a1)],this['_pendingMutations'],this[_0x8392be(0x2a2)]);}[_0x5f56c6(0x37a)](){return this;}[_0x5f56c6(0x1e6)](_0xf9c0ca){const _0x52e0c7=_0x5f56c6;return this[_0x52e0c7(0x3cf)][_0x52e0c7(0x445)](_0x4d9b5e,this[_0x52e0c7(0x586)],this['type'],this['_awaitingChangeset'],this[_0x52e0c7(0x31a)],this[_0x52e0c7(0x2a2)],_0xf9c0ca);}};_0x5699b0=_0x2c2fb2([_0x5538dd(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x5538dd(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x5538dd(0x9,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x5538dd(0xa,_0x29630e[_0x5f56c6(0x478)]),_0x5538dd(0xb,_0x29630e['ICommandService']),_0x5538dd(0xc,_0x29630e['IUndoRedoService']),_0x5538dd(0xd,_0x2a6d3d['ITransformService'])],_0x5699b0);function _0x427588(_0x279752,_0x3c8a01,_0x57200a,_0x17a37e,_0x406312,_0x43c5e0){const _0xc70cd8=_0x5f56c6;return _0x17a37e&&_0x406312[_0xc70cd8(0x47d)]?_0x279752[_0xc70cd8(0x445)](_0x4dc360,_0x3c8a01,_0x57200a,_0x17a37e,_0x406312,_0x43c5e0,void 0x0):_0x17a37e?_0x279752[_0xc70cd8(0x445)](_0x2edaec,_0x3c8a01,_0x57200a,_0x17a37e,_0x43c5e0):_0x406312[_0xc70cd8(0x47d)]?_0x279752[_0xc70cd8(0x445)](_0x3703c2,_0x3c8a01,_0x57200a,_0x406312,_0x43c5e0):_0x279752[_0xc70cd8(0x445)](_0x5155d3,_0x3c8a01,_0x57200a,_0x43c5e0);}var _0x4f9f93=Object[_0x5f56c6(0x17a)],_0x24ab5f=Object['getOwnPropertyDescriptor'],_0x4a2925=(_0x548c28,_0x41d7b7,_0x1bf30b,_0x7e8aef)=>{for(var _0x156e1d=_0x7e8aef>0x1?void 0x0:_0x7e8aef?_0x24ab5f(_0x41d7b7,_0x1bf30b):_0x41d7b7,_0x17eb14=_0x548c28['length']-0x1,_0x158017;_0x17eb14>=0x0;_0x17eb14--)(_0x158017=_0x548c28[_0x17eb14])&&(_0x156e1d=(_0x7e8aef?_0x158017(_0x41d7b7,_0x1bf30b,_0x156e1d):_0x158017(_0x156e1d))||_0x156e1d);return _0x7e8aef&&_0x156e1d&&_0x4f9f93(_0x41d7b7,_0x1bf30b,_0x156e1d),_0x156e1d;},_0x50dd3b=(_0x5735f3,_0x4ee524)=>(_0x2ae466,_0x4edb2c)=>_0x4ee524(_0x2ae466,_0x4edb2c,_0x5735f3);_0x4fdbaf[_0x5f56c6(0x26a)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x45ff70,_0x124390,_0x505c2a,_0x41029a,_0x156858,_0x3214dd,_0xbfeaa8,_0x243197,_0x249b46,_0x6e6a6d,_0x9b4e16,_0x3c7fc8,_0x45f052){const _0x50f1d4=_0x5f56c6;super(),_0x48f470(this,_0x50f1d4(0x427),new _0x17e48c[(_0x50f1d4(0x38b))](null)),_0x48f470(this,_0x50f1d4(0x287),this[_0x50f1d4(0x427)]['asObservable']()),_0x48f470(this,_0x50f1d4(0x152)),_0x48f470(this,'_collaborationPaused',!0x1),_0x48f470(this,_0x50f1d4(0x49e),''),_0x48f470(this,_0x50f1d4(0x4d5),0x0),_0x48f470(this,_0x50f1d4(0x46c),this[_0x50f1d4(0x287)][_0x50f1d4(0x300)](_0x17e48c['map'](_0x4ca694=>_0x4ca694?_0x4ca694[_0x50f1d4(0x4ce)]:_0x4cac76[_0x50f1d4(0x385)]),_0x17e48c['shareReplay'](0x1))),_0x48f470(this,_0x50f1d4(0x418),!0x1),_0x48f470(this,_0x50f1d4(0x299),[]),(this[_0x50f1d4(0x586)]=_0x45ff70,this[_0x50f1d4(0x54d)]=_0x124390,this[_0x50f1d4(0x164)]=_0x505c2a,this[_0x50f1d4(0x3cf)]=_0x41029a,this['_localCacheService']=_0x156858,this[_0x50f1d4(0x2be)]=_0x3214dd,this[_0x50f1d4(0x375)]=_0xbfeaa8,this[_0x50f1d4(0x4e2)]=_0x243197,this[_0x50f1d4(0x3ac)]=_0x249b46,this[_0x50f1d4(0x2a7)]=_0x6e6a6d,this[_0x50f1d4(0x3a9)]=_0x9b4e16,this['_permissionService']=_0x3c7fc8,this['_singleActiveUnitService']=_0x45f052);}get['state'](){const _0x320577=_0x5f56c6;return this[_0x320577(0x152)];}async[_0x5f56c6(0x3bb)](){const _0x3e3902=_0x5f56c6;if(this[_0x3e3902(0x153)])throw new Error(_0x3e3902(0x4f4));await this[_0x3e3902(0x436)]();}[_0x5f56c6(0x3b8)](){const _0x10f029=_0x5f56c6;return this[_0x10f029(0x544)]=!0x0,_0x29630e[_0x10f029(0x1cd)](()=>{const _0xfff7de=_0x10f029;this[_0xfff7de(0x544)]=!0x1,this[_0xfff7de(0x48f)]();});}[_0x5f56c6(0x4e3)](_0x42fb81){const _0x2b7088=_0x5f56c6;this[_0x2b7088(0x152)]=_0x42fb81,this[_0x2b7088(0x427)][_0x2b7088(0x17b)](_0x42fb81);}async[_0x5f56c6(0x436)](){const _0x3bf427=_0x5f56c6;var _0x181cff;this[_0x3bf427(0x4e3)](await this['_createInitialState']()),this[_0x3bf427(0x3d2)]&&((_0x181cff=this[_0x3bf427(0x3d2)])==null||_0x181cff[_0x3bf427(0x348)](this[_0x3bf427(0x586)]),this['disposeWithMe'](this[_0x3bf427(0x3d2)][_0x3bf427(0x485)](this[_0x3bf427(0x586)])[_0x3bf427(0x18a)](_0x2dd44e=>{const _0x4cbf0a=_0x3bf427;this['_logService'][_0x4cbf0a(0x2fa)]('[CollaborationEntity]',_0x4cbf0a(0x416),_0x2dd44e),_0x2dd44e===_0x414a7e[_0x4cbf0a(0x3ff)]?(this[_0x4cbf0a(0x3a9)]['show']({'content':this[_0x4cbf0a(0x375)]['t'](_0x4cbf0a(0x323)),'type':_0x2d4ff4[_0x4cbf0a(0x2c7)]['Warning']}),this[_0x4cbf0a(0x495)][_0x4cbf0a(0x48a)](new _0x5decb0[(_0x4cbf0a(0x43a))](this[_0x4cbf0a(0x586)])['id'],!0x1),this[_0x4cbf0a(0x495)][_0x4cbf0a(0x18c)](!0x1)):(this[_0x4cbf0a(0x495)][_0x4cbf0a(0x48a)](new _0x5decb0[(_0x4cbf0a(0x43a))](this[_0x4cbf0a(0x586)])['id'],!0x0),this['_permissionService'][_0x4cbf0a(0x18c)](!0x0));})));let _0x432959=!0x1;return this['disposeWithMe'](this['session'][_0x3bf427(0x3e0)][_0x3bf427(0x18a)](_0x6a1fac=>{const _0xb3bf5d=_0x3bf427;_0x6a1fac===_0x90155[_0xb3bf5d(0x4c5)]?this[_0xb3bf5d(0x243)](_0x432959):_0x6a1fac===_0x90155['OFFLINE']&&(_0x432959=!0x0,this[_0xb3bf5d(0x14f)]());})),this[_0x3bf427(0x52f)](this[_0x3bf427(0x54d)][_0x3bf427(0x574)][_0x3bf427(0x18a)](_0x83a504=>{const _0x10d180=_0x3bf427;try{switch(_0x83a504[_0x10d180(0x256)]){case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x433)]:{this[_0x10d180(0x17f)](_0x2a6d3d['parseProtocolChangeset'](_0x83a504[_0x10d180(0x54c)]));break;}case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x51c)]:{this[_0x10d180(0x425)](_0x83a504['data']);break;}case _0x2a6d3d[_0x10d180(0x56e)][_0x10d180(0x3fd)]:{this[_0x10d180(0x3f0)]();break;}case _0x2a6d3d['CollaborationEvent'][_0x10d180(0x306)]:{this[_0x10d180(0x3b0)](_0x83a504['data']);break;}case _0x2a6d3d[_0x10d180(0x56e)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x10d180(0x3a8)](_0x83a504[_0x10d180(0x54c)][_0x10d180(0x1a5)][_0x10d180(0x239)](_0x2d1952=>_0x2a6d3d[_0x10d180(0x518)](_0x2d1952)));break;}case _0x2a6d3d[_0x10d180(0x56e)][_0x10d180(0x19b)]:this[_0x10d180(0x3f0)]({'isPermissionRej':!0x0});}}catch(_0xd7658e){throw console[_0x10d180(0x1fe)]('Error\x20on\x20receiving\x20event',_0xd7658e),_0xd7658e;}})),this['_state'];}[_0x5f56c6(0x32c)](){const _0x422364=_0x5f56c6;this[_0x422364(0x418)]=!0x1;}[_0x5f56c6(0x471)](){const _0x2b9ed2=_0x5f56c6;if(this['_transitionLocked'])throw new Error(_0x2b9ed2(0x2d2));this[_0x2b9ed2(0x418)]=!0x0;}[_0x5f56c6(0x53c)](_0x488879){const _0x5dd3f2=_0x5f56c6;this['_lockTransition'](),this[_0x5dd3f2(0x4e3)](this[_0x5dd3f2(0x152)][_0x5dd3f2(0x1fa)](_0x488879)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x1e27ce){const _0xed9ab0=_0x5f56c6;if(!(_0x1e27ce[_0xed9ab0(0x27a)]<=this['_revisionService'][_0xed9ab0(0x174)](this[_0xed9ab0(0x586)]))){if(this[_0xed9ab0(0x544)]){this['_remoteChangesetQueue'][_0xed9ab0(0x476)](_0x1e27ce);return;}this[_0xed9ab0(0x3b3)](_0x1e27ce);}}['_exhaustRemoteChangesetQueue'](){const _0x41a295=_0x5f56c6;this['_remoteChangesetQueue'][_0x41a295(0x57d)](_0xd97032=>this[_0x41a295(0x3b3)](_0xd97032)),this[_0x41a295(0x299)]=[];}[_0x5f56c6(0x3b3)](_0x5bb038){const _0xdedeb4=_0x5f56c6,_0x257423=this['_compressMutationService'][_0xdedeb4(0x545)]['fetchThroughInterceptors'](this[_0xdedeb4(0x2be)][_0xdedeb4(0x545)][_0xdedeb4(0x529)]()[_0xdedeb4(0x270)])(_0x5bb038[_0xdedeb4(0x288)],null)||_0x5bb038[_0xdedeb4(0x288)],_0x4a084f={..._0x5bb038,'mutations':_0x257423};this['_lockTransition'](),this[_0xdedeb4(0x4e3)](this[_0xdedeb4(0x152)][_0xdedeb4(0x39b)](_0x4a084f)),this[_0xdedeb4(0x32c)]();}[_0x5f56c6(0x425)](_0x3a0b03){const _0x3bba1a=_0x5f56c6;this[_0x3bba1a(0x471)](),this['_updateState'](this[_0x3bba1a(0x152)][_0x3bba1a(0x53b)](_0x3a0b03)),this[_0x3bba1a(0x32c)]();}[_0x5f56c6(0x3f0)](_0x4678ce){const _0x5707a4=_0x5f56c6;this[_0x5707a4(0x471)](),this[_0x5707a4(0x4e3)](this['_state'][_0x5707a4(0x4fa)](_0x4678ce)),this[_0x5707a4(0x32c)]();}[_0x5f56c6(0x3b0)](_0x5d1329){const _0x520acf=_0x5f56c6;this[_0x520acf(0x471)](),this[_0x520acf(0x4e3)](this[_0x520acf(0x152)][_0x520acf(0x46f)](_0x5d1329)),this[_0x520acf(0x32c)]();}[_0x5f56c6(0x3a8)](_0x251e75){const _0x1dde33=_0x5f56c6;if(!(this[_0x1dde33(0x152)]instanceof _0x5699b0))throw new TypeError(_0x1dde33(0x215));const _0x4d8312=_0x251e75[_0x1dde33(0x239)](_0x3cba0a=>{const _0x4a58bc=_0x1dde33,_0x8f42fe=this[_0x4a58bc(0x2be)]['interceptor'][_0x4a58bc(0x4e1)](this[_0x4a58bc(0x2be)][_0x4a58bc(0x545)]['getInterceptPoints']()[_0x4a58bc(0x270)])(_0x3cba0a['mutations'],null)||_0x3cba0a[_0x4a58bc(0x288)];return{..._0x3cba0a,'mutations':_0x8f42fe};});this[_0x1dde33(0x471)](),this[_0x1dde33(0x4e3)](this[_0x1dde33(0x152)][_0x1dde33(0x26f)](_0x4d8312)),this[_0x1dde33(0x32c)]();}[_0x5f56c6(0x14f)](){const _0x1589d3=_0x5f56c6;this[_0x1589d3(0x471)](),this[_0x1589d3(0x4e3)](this['_state']['toggleOffline']()),this[_0x1589d3(0x32c)]();}[_0x5f56c6(0x243)](_0x59dbb5=!0x1){const _0x2524d5=_0x5f56c6;this[_0x2524d5(0x471)](),this['_updateState'](this['_state'][_0x2524d5(0x37a)]()),this[_0x2524d5(0x32c)]();const _0x319523=this['_state'];_0x59dbb5&&_0x319523 instanceof _0x5155d3&&(this[_0x2524d5(0x471)](),this['_updateState'](_0x319523[_0x2524d5(0x230)]()),this[_0x2524d5(0x32c)]());}async[_0x5f56c6(0x357)](){return new Promise(_0x282e67=>{const _0x33b3ec=_0xe8fd;this[_0x33b3ec(0x54d)]['sessionStatus$'][_0x33b3ec(0x300)](_0x17e48c['take'](0x1))['subscribe'](async _0x395a97=>{const _0x397b76=_0x33b3ec;_0x282e67(await this['_createInitialStateImpl'](_0x395a97===_0x90155[_0x397b76(0x4c5)]));});});}[_0x5f56c6(0x4e7)](){const _0x4098cb=this['unitID'];return{'onStateChange':(_0x65800e,_0x6099f0)=>{const _0x290ee4=_0xe8fd;if(_0x65800e!==this['_state'])throw new Error(_0x290ee4(0x22d)+_0x65800e[_0x290ee4(0x4ce)]+_0x290ee4(0x48c)+_0x6099f0[_0x290ee4(0x4ce)]+_0x290ee4(0x2a0)+this[_0x290ee4(0x152)]['status']);this[_0x290ee4(0x4e3)](_0x6099f0);},'onSendChangeset':_0x33ed15=>{const _0x1fa5bd=_0xe8fd;_0x33ed15['sid']||(_0x33ed15[_0x1fa5bd(0x592)]=this[_0x1fa5bd(0x49e)],_0x33ed15[_0x1fa5bd(0x277)]=++this[_0x1fa5bd(0x4d5)]);const _0x57d5ae={'eventID':_0x2a6d3d[_0x1fa5bd(0x56e)][_0x1fa5bd(0x25b)],'data':{'unitID':_0x33ed15['unitID'],'unitType':this[_0x1fa5bd(0x164)],'changeset':_0x33ed15,'memberID':this[_0x1fa5bd(0x54d)][_0x1fa5bd(0x474)]()}};this[_0x1fa5bd(0x54d)][_0x1fa5bd(0x16b)](_0x57d5ae,this[_0x1fa5bd(0x586)]);},'onMissingChangesets':({from:_0x39f126,to:_0x1c70d4})=>{const _0x56a709=_0xe8fd;this[_0x56a709(0x3ac)]['debug'](_0x56a709(0x48b),'fetching\x20missing\x20changesets\x20from\x20'+_0x39f126+_0x56a709(0x154)+_0x1c70d4);const _0x5dca5c={'eventID':_0x2a6d3d[_0x56a709(0x56e)][_0x56a709(0x16c)],'data':{'unitID':_0x4098cb,'unitType':this[_0x56a709(0x164)],'from':_0x39f126,'to':_0x1c70d4}};this['session'][_0x56a709(0x16b)](_0x5dca5c,this['unitID']);}};}async[_0x5f56c6(0x4fd)](_0x4079a0){const _0x218df0=_0x5f56c6;var _0x597b03,_0x1385f5;const _0x4c975a=await this[_0x218df0(0x206)]['loadOfflineData'](this['unitID']),_0x51f296=(_0x597b03=_0x4c975a==null?void 0x0:_0x4c975a[_0x218df0(0x288)])!=null?_0x597b03:[],_0x50b83a=(_0x1385f5=_0x4c975a==null?void 0x0:_0x4c975a[_0x218df0(0x567)])!=null?_0x1385f5:null,_0x35e6e3=!!(_0x50b83a!=null&&_0x50b83a[_0x218df0(0x592)])&&!!(_0x50b83a!=null&&_0x50b83a[_0x218df0(0x277)]);this[_0x218df0(0x49e)]=_0x35e6e3?_0x50b83a['sid']:_0x16ee13(),this[_0x218df0(0x4d5)]=_0x35e6e3?_0x50b83a['reqId']:0x0;const _0x5b7d23=this[_0x218df0(0x586)];try{this['_replayCachedMutations'](_0x50b83a,_0x51f296);}catch(_0x14b250){this[_0x218df0(0x3ac)][_0x218df0(0x1fe)](_0x14b250);}const _0x15843b=this[_0x218df0(0x4e7)]();if(_0x4079a0){const _0x3ec70f=_0x427588(this['_injector'],_0x5b7d23,this['_type'],_0x50b83a,_0x51f296,_0x15843b);return _0x3ec70f instanceof _0x3703c2?_0x3ec70f[_0x218df0(0x399)]():(_0x3ec70f instanceof _0x4dc360||_0x3ec70f instanceof _0x2edaec)&&_0x3ec70f[_0x218df0(0x4ec)](),_0x3ec70f;}return this[_0x218df0(0x3cf)][_0x218df0(0x445)](_0x5bba0f,_0x5b7d23,this['_type'],_0x50b83a,_0x51f296,_0x15843b);}['_replayCachedMutations'](_0x7cdf98,_0x1bac52){const _0x141034=_0x5f56c6;var _0x5c5f71,_0x5ef567;const _0x3927e6=this[_0x141034(0x2be)][_0x141034(0x545)][_0x141034(0x4e1)](this[_0x141034(0x2be)][_0x141034(0x545)][_0x141034(0x529)]()[_0x141034(0x270)]);(_0x5c5f71=_0x3927e6((_0x7cdf98==null?void 0x0:_0x7cdf98['mutations'])||[],null))==null||_0x5c5f71[_0x141034(0x57d)](_0x2c4fd2=>this['_commandService'][_0x141034(0x180)](_0x2c4fd2['id'],_0x2c4fd2[_0x141034(0x1ee)])),(_0x5ef567=_0x3927e6(_0x1bac52||[],null))==null||_0x5ef567[_0x141034(0x57d)](_0x3750cb=>this[_0x141034(0x2a7)][_0x141034(0x180)](_0x3750cb['id'],_0x3750cb[_0x141034(0x1ee)]));}},_0x4fdbaf[_0x5f56c6(0x26a)]=_0x4a2925([_0x50dd3b(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['CompressMutationService'])),_0x50dd3b(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xa,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xb,_0x29630e['IPermissionService']),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf['CollaborationEntity']),_0x4fdbaf[_0x5f56c6(0x151)]=class extends _0x4fdbaf[_0x5f56c6(0x26a)]{constructor(_0x8e9845,_0x1e2bc8,_0x27c06d,_0x55dd52,_0x184c9b,_0xf3664b,_0x474f97,_0x3d49a3,_0x5760b2,_0x15a524,_0x1325e2,_0x4738a6,_0xe31bca,_0xf26380,_0x3597cc,_0x2f23c6,_0x2d06bb){const _0x550a61=_0x5f56c6;super(_0x8e9845,_0x27c06d,_0x1e2bc8,_0x55dd52,_0x184c9b,_0xf3664b,_0x474f97,_0x3d49a3,_0xe31bca,_0xf26380,_0x3597cc,_0x2f23c6,_0x2d06bb),this['unitID']=_0x8e9845,this[_0x550a61(0x566)]=_0x1e2bc8,this[_0x550a61(0x171)]=_0x5760b2,this[_0x550a61(0x387)]=_0x15a524,this[_0x550a61(0x55e)]=_0x1325e2,this[_0x550a61(0x583)]=_0x4738a6;}[_0x5f56c6(0x4e7)](){const _0x51091a=_0x5f56c6,_0xfd7d00=super['_createHandler']();return _0xfd7d00[_0x51091a(0x279)]=_0x4b72f2=>this['_docTransformIMECacheService'][_0x51091a(0x29e)](_0x4b72f2),_0xfd7d00[_0x51091a(0x3c7)]=_0x3ea21d=>this[_0x51091a(0x55e)]['transformSelections'](_0x3ea21d),_0xfd7d00['onSyncEditingCollabCursor']=_0x4bb686=>this[_0x51091a(0x583)]['syncEditingCollabCursor'](_0x4bb686),_0xfd7d00[_0x51091a(0x519)]=_0x540a3b=>this[_0x51091a(0x387)][_0x51091a(0x198)](_0x540a3b),_0xfd7d00;}async[_0x5f56c6(0x436)](){const _0x2edac3=_0x5f56c6,_0x4cb8c6=await super[_0x2edac3(0x436)]();return this['_docStateChangeManagerService'][_0x2edac3(0x4b1)][_0x2edac3(0x300)](_0x17e48c[_0x2edac3(0x47a)](this['dispose$']))[_0x2edac3(0x18a)](_0x234a8e=>{const _0x403446=_0x2edac3;if(_0x234a8e==null)return;const {unitId:_0x58b61f,redoState:_0x2c3d11,commandId:_0x4003fa}=_0x234a8e;if(_0x58b61f!==this[_0x403446(0x586)])return;const _0x514488={'id':_0x4003fa,'type':_0x29630e['CommandType'][_0x403446(0x25e)],'params':{'unitId':_0x58b61f,'actions':_0x2c3d11[_0x403446(0x4b2)],'textRanges':null}};this[_0x403446(0x53c)](_0x514488);}),_0x4cb8c6;}},_0x4fdbaf['DocCollaborationEntity']=_0x4a2925([_0x50dd3b(0x3,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x2ab)])),_0x50dd3b(0x6,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x214ea6['DocStateChangeManagerService'])),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x1d9)](_0x403af6)),_0x50dd3b(0xa,_0x29630e[_0x5f56c6(0x1d9)](_0x1e6df8)),_0x50dd3b(0xb,_0x29630e[_0x5f56c6(0x1d9)](_0x4247e7)),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0xd,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xe,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xf,_0x29630e[_0x5f56c6(0x1b0)]),_0x50dd3b(0x10,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf[_0x5f56c6(0x151)]),_0x4fdbaf[_0x5f56c6(0x496)]=class extends _0x4fdbaf[_0x5f56c6(0x26a)]{constructor(_0x6f63f8,_0x445069,_0x48184d,_0x1f7a28,_0x2ba9bd,_0x4ed386,_0x5293b6,_0x398d8e,_0x347a8e,_0xeea254,_0x1885d0,_0x118488,_0x44781a,_0x4ee80d){const _0x54d79d=_0x5f56c6;super(_0x6f63f8,_0x48184d,_0x445069,_0x1f7a28,_0x2ba9bd,_0x4ed386,_0x5293b6,_0x398d8e,_0xeea254,_0x1885d0,_0x118488,_0x44781a,_0x4ee80d),this['unitID']=_0x6f63f8,this[_0x54d79d(0x566)]=_0x445069,this[_0x54d79d(0x1a8)]=_0x347a8e;}[_0x5f56c6(0x4e7)](){const _0x1b5ad1=_0x5f56c6,_0x1e4168=super[_0x1b5ad1(0x4e7)]();return _0x1e4168['onTransformSelections']=_0x3e4424=>this[_0x1b5ad1(0x1a8)][_0x1b5ad1(0x250)](_0x3e4424),_0x1e4168;}async[_0x5f56c6(0x436)](){const _0x265dca=_0x5f56c6,_0x97c9cf=await super[_0x265dca(0x436)]();return this[_0x265dca(0x52f)](this[_0x265dca(0x2a7)][_0x265dca(0x373)]((_0x5e740d,_0x3d1d2)=>{const _0x18d9b3=_0x265dca;if(_0x5e740d[_0x18d9b3(0x566)]!==_0x29630e[_0x18d9b3(0x314)][_0x18d9b3(0x25e)]||_0x3d1d2!=null&&_0x3d1d2[_0x18d9b3(0x3d4)]||_0x3d1d2!=null&&_0x3d1d2[_0x18d9b3(0x2c2)])return;const _0x2d9e42=_0x5e740d['params'];if((_0x2d9e42==null?void 0x0:_0x2d9e42[_0x18d9b3(0x546)])!==this['unitID'])return;const _0xb66fe=_0x5e740d,_0x3f9a57=this[_0x18d9b3(0x2be)][_0x18d9b3(0x545)][_0x18d9b3(0x4e1)](this['_compressMutationService'][_0x18d9b3(0x545)][_0x18d9b3(0x529)]()['COMPRESS_MUTATION_SEND'])([_0xb66fe],null)||[_0xb66fe];this['_onLocalMutation'](_0x3f9a57[0x0]);})),_0x97c9cf;}},_0x4fdbaf['SheetCollaborationEntity']=_0x4a2925([_0x50dd3b(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x50dd3b(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x50dd3b(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d['CompressMutationService'])),_0x50dd3b(0x6,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x285)])),_0x50dd3b(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4cb)])),_0x50dd3b(0x8,_0x29630e[_0x5f56c6(0x1d9)](_0x300a71)),_0x50dd3b(0x9,_0x29630e[_0x5f56c6(0x478)]),_0x50dd3b(0xa,_0x29630e[_0x5f56c6(0x1a4)]),_0x50dd3b(0xb,_0x279664[_0x5f56c6(0x24d)]),_0x50dd3b(0xc,_0x29630e[_0x5f56c6(0x1b0)]),_0x50dd3b(0xd,_0x29630e[_0x5f56c6(0x20f)](_0x5bb5e3))],_0x4fdbaf[_0x5f56c6(0x496)]);var _0x12ab00=Object[_0x5f56c6(0x17a)],_0x347df0=Object[_0x5f56c6(0x47e)],_0x4c57b7=(_0x56d9f6,_0x5030d2,_0x4863a4,_0x3bc0e3)=>{const _0x274833=_0x5f56c6;for(var _0x3573db=_0x3bc0e3>0x1?void 0x0:_0x3bc0e3?_0x347df0(_0x5030d2,_0x4863a4):_0x5030d2,_0x3882e4=_0x56d9f6[_0x274833(0x47d)]-0x1,_0x49c8a4;_0x3882e4>=0x0;_0x3882e4--)(_0x49c8a4=_0x56d9f6[_0x3882e4])&&(_0x3573db=(_0x3bc0e3?_0x49c8a4(_0x5030d2,_0x4863a4,_0x3573db):_0x49c8a4(_0x3573db))||_0x3573db);return _0x3bc0e3&&_0x3573db&&_0x12ab00(_0x5030d2,_0x4863a4,_0x3573db),_0x3573db;},_0x9de50e=(_0x474cab,_0x4985b6)=>(_0x244858,_0x633c6b)=>_0x4985b6(_0x244858,_0x633c6b,_0x474cab);_0x4fdbaf[_0x5f56c6(0x405)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0xaf7103,_0xc88d74,_0x1e6423){const _0x29a176=_0x5f56c6;super(),_0x48f470(this,_0x29a176(0x2eb),new Map()),_0x48f470(this,_0x29a176(0x2d4),new _0x17e48c[(_0x29a176(0x3be))]()),(this[_0x29a176(0x3cf)]=_0xaf7103,this[_0x29a176(0x379)]=_0xc88d74,this['_univerInstanceService']=_0x1e6423,this['_init']());}['dispose'](){const _0x46a46a=_0x5f56c6;super[_0x46a46a(0x1b8)](),this[_0x46a46a(0x2eb)]['forEach'](_0xfbc638=>_0xfbc638[_0x46a46a(0x1b8)]()),this[_0x46a46a(0x2eb)][_0x46a46a(0x185)]();}['getCollabEntity'](_0x2a9f19){const _0x435aac=_0x5f56c6;var _0x37a0f7;return(_0x37a0f7=this[_0x435aac(0x2eb)][_0x435aac(0x44d)](_0x2a9f19))!=null?_0x37a0f7:null;}[_0x5f56c6(0x301)](_0x254998){const _0x58fd3c=_0x5f56c6,_0x2b1d25=this['getCollabEntity'](_0x254998);return _0x2b1d25?_0x17e48c['of'](_0x2b1d25):this[_0x58fd3c(0x2d4)]['pipe'](_0x56098d[_0x58fd3c(0x324)](_0x29d44c=>_0x29d44c[_0x58fd3c(0x586)]===_0x254998));}[_0x5f56c6(0x436)](){const _0x44b5c9=_0x5f56c6;this[_0x44b5c9(0x434)]['getTypeOfUnitAdded$'](_0x29630e['UniverInstanceType'][_0x44b5c9(0x4b4)])[_0x44b5c9(0x300)](_0x17e48c['takeUntil'](this['dispose$']),_0x56098d[_0x44b5c9(0x2c1)](0x10))[_0x44b5c9(0x18a)](async _0x29169f=>{const _0x448303=_0x44b5c9,_0x5a1dfd=_0x29169f['getUnitId'](),_0x39a06c=await this['_startCollaboration'](_0x5a1dfd,_0x48039f[_0x448303(0x4b4)]);this['_entities'][_0x448303(0x4f1)](_0x5a1dfd,_0x39a06c);}),this['_univerInstanceService'][_0x44b5c9(0x3dc)](_0x29630e[_0x44b5c9(0x438)][_0x44b5c9(0x540)])[_0x44b5c9(0x300)](_0x17e48c[_0x44b5c9(0x47a)](this[_0x44b5c9(0x3ce)]),_0x56098d['delay'](0x10))['pipe'](_0x56098d['filter'](_0x44b10d=>!_0x44b10d['getUnitId']()['startsWith']('__')))[_0x44b5c9(0x18a)](async _0x4d1644=>{const _0x419a6c=_0x44b5c9,_0x32ccf7=_0x4d1644['getUnitId'](),_0x7d704f=await this[_0x419a6c(0x4d0)](_0x32ccf7,_0x48039f[_0x419a6c(0x540)]);this['_entities']['set'](_0x32ccf7,_0x7d704f);}),_0x17e48c['merge'](this['_univerInstanceService'][_0x44b5c9(0x407)](_0x29630e['UniverInstanceType'][_0x44b5c9(0x4b4)]),this[_0x44b5c9(0x434)][_0x44b5c9(0x407)](_0x29630e[_0x44b5c9(0x438)]['UNIVER_DOC']))[_0x44b5c9(0x300)](_0x17e48c['takeUntil'](this['dispose$']))['subscribe'](_0x1a0c83=>{const _0x515989=_0x44b5c9,_0x3ead47=_0x1a0c83[_0x515989(0x1a2)](),_0x117c44=this[_0x515989(0x2eb)]['get'](_0x3ead47);_0x117c44&&(_0x117c44[_0x515989(0x1b8)](),this[_0x515989(0x2eb)][_0x515989(0x340)](_0x3ead47));});}async[_0x5f56c6(0x4d0)](_0x296699,_0x365a7f){const _0x3797b8=_0x5f56c6,_0x57f382=await this[_0x3797b8(0x379)]['requireSession'](_0x296699),_0x3f7789=this['_injector'][_0x3797b8(0x445)](this[_0x3797b8(0x1f9)](_0x365a7f),_0x296699,_0x365a7f,_0x57f382);return await _0x3f7789[_0x3797b8(0x3bb)](),this['_entityInit$']['next'](_0x3f7789),_0x3f7789;}['_getCtorByUniverType'](_0x2af3ef){const _0x32fac1=_0x5f56c6;switch(_0x2af3ef){case _0x48039f[_0x32fac1(0x540)]:return _0x4fdbaf[_0x32fac1(0x151)];case _0x48039f[_0x32fac1(0x4b4)]:return _0x4fdbaf[_0x32fac1(0x496)];default:throw new Error(_0x32fac1(0x20b)+_0x2af3ef);}}},_0x4fdbaf[_0x5f56c6(0x405)]=_0x4c57b7([_0x9de50e(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['Injector'])),_0x9de50e(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf['CollaborationSessionService'])),_0x9de50e(0x2,_0x29630e[_0x5f56c6(0x441)])],_0x4fdbaf[_0x5f56c6(0x405)]);const _0x35448a=[_0x5f56c6(0x57b),_0x5f56c6(0x2df),'verdancy600',_0x5f56c6(0x498),'blue400','gold400'];class _0x9c53bd extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(){const _0x3d5306=_0x5f56c6;super(...arguments),_0x48f470(this,'_assignedColors',new Map()),_0x48f470(this,_0x3d5306(0x31e),0x0);}[_0x5f56c6(0x51f)](_0x23643f){const _0xe935d0=_0x5f56c6;if(this[_0xe935d0(0x169)][_0xe935d0(0x55c)](_0x23643f))return this['_assignedColors'][_0xe935d0(0x44d)](_0x23643f);const _0x5d3a30=_0x35448a[this[_0xe935d0(0x31e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x35448a[_0xe935d0(0x47d)],this[_0xe935d0(0x169)][_0xe935d0(0x4f1)](_0x23643f,_0x5d3a30),_0x5d3a30;}}var _0x53bf70=Object[_0x5f56c6(0x17a)],_0x1d58ac=Object[_0x5f56c6(0x47e)],_0x4a2678=(_0xcd0ca3,_0xb45155,_0x5bc22e,_0x1b1101)=>{const _0x25d1b5=_0x5f56c6;for(var _0x158485=_0x1b1101>0x1?void 0x0:_0x1b1101?_0x1d58ac(_0xb45155,_0x5bc22e):_0xb45155,_0xa3e0ea=_0xcd0ca3[_0x25d1b5(0x47d)]-0x1,_0x3e117e;_0xa3e0ea>=0x0;_0xa3e0ea--)(_0x3e117e=_0xcd0ca3[_0xa3e0ea])&&(_0x158485=(_0x1b1101?_0x3e117e(_0xb45155,_0x5bc22e,_0x158485):_0x3e117e(_0x158485))||_0x158485);return _0x1b1101&&_0x158485&&_0x53bf70(_0xb45155,_0x5bc22e,_0x158485),_0x158485;},_0x12fb6c=(_0x10e783,_0x2b0e12)=>(_0x4f9071,_0x5cd93a)=>_0x2b0e12(_0x4f9071,_0x5cd93a,_0x10e783);const _0x36a0cc=0x12c,_0x4b174f=0x64;let _0x40bde1=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x4cb542,_0x40119d,_0xc34a1a,_0x3b3002,_0x11ea5a,_0x574974,_0x4c4fa6,_0x4cf48b,_0x3ff7d8){const _0x975e0e=_0x5f56c6;super(),_0x48f470(this,_0x975e0e(0x4da),!0x1),_0x48f470(this,_0x975e0e(0x436),!0x1),_0x48f470(this,_0x975e0e(0x264),new _0x17e48c[(_0x975e0e(0x38b))](new Map())),_0x48f470(this,_0x975e0e(0x4db),this[_0x975e0e(0x264)][_0x975e0e(0x2ac)]()),_0x48f470(this,_0x975e0e(0x47c),new _0x17e48c['BehaviorSubject']([])),_0x48f470(this,'roomMembers$',this[_0x975e0e(0x47c)]['pipe'](_0x17e48c[_0x975e0e(0x36e)](_0x36a0cc))),_0x48f470(this,'_updateLocalCursor',_0x29630e[_0x975e0e(0x528)](_0x371788=>{const _0x1caa0e=_0x975e0e,_0x28b2b={'eventID':_0x2a6d3d['CollaborationEvent'][_0x1caa0e(0x40a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x1caa0e(0x474)](),'selection':_0x27f38b(_0x371788)}};this['_session'][_0x1caa0e(0x16b)](_0x28b2b,this['unitID']);},_0x4b174f)),(this['unitID']=_0x4cb542,this['_session']=_0x40119d,this[_0x975e0e(0x3cf)]=_0xc34a1a,this[_0x975e0e(0x48d)]=_0x3b3002,this['_memberService']=_0x11ea5a,this['_syncEditingCollabCursorService']=_0x574974,this['_transformService']=_0x4c4fa6,this['_univerInstanceService']=_0x4cf48b,this[_0x975e0e(0x2a7)]=_0x3ff7d8);}get['cursorInfo'](){const _0x2ae806=_0x5f56c6;return this[_0x2ae806(0x264)][_0x2ae806(0x32b)]();}get[_0x5f56c6(0x4e4)](){const _0x1341c0=_0x5f56c6;return this[_0x1341c0(0x47c)]['getValue']();}[_0x5f56c6(0x1b8)](){const _0x3d57a3=_0x5f56c6;super[_0x3d57a3(0x1b8)](),this[_0x3d57a3(0x264)][_0x3d57a3(0x17b)](new Map()),this[_0x3d57a3(0x264)][_0x3d57a3(0x423)](),this['_roomMembers$'][_0x3d57a3(0x17b)]([]),this[_0x3d57a3(0x47c)]['complete']();}[_0x5f56c6(0x3bb)](){const _0x256f58=_0x5f56c6;this[_0x256f58(0x436)]||(this['_init']=!0x0,this[_0x256f58(0x41d)][_0x256f58(0x3e0)][_0x256f58(0x300)](_0x17e48c['takeUntil'](this[_0x256f58(0x3ce)]))[_0x256f58(0x18a)](_0x3db54e=>{const _0x2e35e9=_0x256f58;_0x3db54e===_0x90155[_0x2e35e9(0x4c5)]?this[_0x2e35e9(0x243)]():this['_toggleOffline']();}),this[_0x256f58(0x41d)][_0x256f58(0x574)][_0x256f58(0x300)](_0x17e48c['takeUntil'](this['dispose$']))[_0x256f58(0x18a)](_0x338548=>{const _0x598bc2=_0x256f58,_0x3db80b=_0x338548[_0x598bc2(0x256)];_0x3db80b===_0x2a6d3d[_0x598bc2(0x56e)][_0x598bc2(0x40a)]&&this[_0x598bc2(0x3f4)](_0x338548),_0x3db80b===_0x2a6d3d[_0x598bc2(0x56e)][_0x598bc2(0x2c5)]&&this['_onCursorDelete'](_0x338548);}),this['disposeWithMe'](this[_0x256f58(0x2a7)][_0x256f58(0x373)](_0x19773e=>{const _0x56af30=_0x256f58,_0x4a6add=_0x19773e[_0x56af30(0x1ee)];_0x4a6add!=null&&this[_0x56af30(0x4da)]&&_0x19773e['id']===_0x31abfa['SetTextSelectionsOperation']['id']&&_0x4a6add['unitId']===this[_0x56af30(0x586)]&&_0x4a6add['isEditing']===!0x1&&_0x4a6add['ranges'][_0x56af30(0x47d)]>0x0&&this[_0x56af30(0x22f)](_0x4a6add[_0x56af30(0x336)]);})),this[_0x256f58(0x42b)][_0x256f58(0x21e)][_0x256f58(0x300)](_0x17e48c[_0x256f58(0x47a)](this[_0x256f58(0x3ce)]))[_0x256f58(0x18a)](_0x20bd8c=>{const _0x4e3b5e=_0x256f58;if((_0x20bd8c==null?void 0x0:_0x20bd8c[_0x4e3b5e(0x586)])!==this[_0x4e3b5e(0x586)])return;const _0x7c3cb5={'eventID':_0x2a6d3d[_0x4e3b5e(0x56e)][_0x4e3b5e(0x40a)],'data':_0x20bd8c};this['_onCursorUpdate'](_0x7c3cb5);}),this['disposeWithMe'](this[_0x256f58(0x2a7)][_0x256f58(0x373)](_0x2058dc=>{const _0x297e5f=_0x256f58;if(_0x2058dc[_0x297e5f(0x1ee)]==null)return;const _0x5781e0=_0x2058dc[_0x297e5f(0x1ee)];if(_0x2058dc['id']!==_0x31abfa[_0x297e5f(0x3f9)]['id']||_0x5781e0[_0x297e5f(0x546)]!==this['unitID'])return;const _0x298352={'id':_0x297e5f(0x23d),'params':_0x5781e0},_0x4f619b=this['cursorInfo'];for(const [_0x536559,_0x58f81f]of _0x4f619b){const _0x31bbec={'id':_0x297e5f(0x23d),'params':{'unitId':this[_0x297e5f(0x586)],'actions':null,'textRanges':_0x58f81f[_0x297e5f(0x336)]}},_0x18b50b=this[_0x297e5f(0x4ab)][_0x297e5f(0x506)](_0x298352,_0x31bbec,!0x1);if(_0x2a6d3d[_0x297e5f(0x1db)](_0x18b50b))throw _0x18b50b[_0x297e5f(0x1fe)];_0x4f619b[_0x297e5f(0x4f1)](_0x536559,{..._0x58f81f,'ranges':_0x18b50b[_0x297e5f(0x3fc)][_0x297e5f(0x1ee)][_0x297e5f(0x589)]});}queueMicrotask(()=>{const _0xf23c44=_0x297e5f;this[_0xf23c44(0x264)][_0xf23c44(0x17b)](_0x4f619b);});})));}[_0x5f56c6(0x3f4)](_0x35c0ca){const _0xd56d3e=_0x5f56c6;var _0x45135a,_0x45244a;const {memberID:_0x35ac1f,selection:_0x5d27ee}=_0x35c0ca[_0xd56d3e(0x54c)],_0x5594f5=_0x5b1833(_0x5d27ee),_0x56e979=(_0x45244a=(_0x45135a=this['_memberService'][_0xd56d3e(0x30c)](this[_0xd56d3e(0x586)],_0x35ac1f))==null?void 0x0:_0x45135a[_0xd56d3e(0x244)])!=null?_0x45244a:_0xd56d3e(0x188),_0x340433={'color':this[_0xd56d3e(0x48d)][_0xd56d3e(0x51f)](_0x35ac1f),'name':_0x56e979,'ranges':_0x5594f5},_0x4510a9=this[_0xd56d3e(0x1e7)];_0x4510a9[_0xd56d3e(0x4f1)](_0x35ac1f,_0x340433),this[_0xd56d3e(0x264)]['next'](_0x4510a9);}[_0x5f56c6(0x4aa)](_0x2c9a65){const _0x213119=_0x5f56c6,{memberID:_0x58db01}=_0x2c9a65[_0x213119(0x54c)],_0x36c1b5=this[_0x213119(0x1e7)];_0x36c1b5[_0x213119(0x340)](_0x58db01),this[_0x213119(0x264)][_0x213119(0x17b)](_0x36c1b5);}['_toggleOnline'](){const _0x58bf94=_0x5f56c6;var _0x5e40be;if(this[_0x58bf94(0x4da)]=!0x0,((_0x5e40be=this[_0x58bf94(0x434)]['getFocusedUnit']())==null?void 0x0:_0x5e40be[_0x58bf94(0x1a2)]())!==this[_0x58bf94(0x586)])return;const _0x1f8a13=this[_0x58bf94(0x3cf)]['get'](_0x31abfa[_0x58bf94(0x43b)])[_0x58bf94(0x4c6)]();Array[_0x58bf94(0x400)](_0x1f8a13)&&_0x1f8a13[_0x58bf94(0x47d)]>0x0&&this[_0x58bf94(0x22f)](_0x1f8a13);}[_0x5f56c6(0x14f)](){const _0x4d0400=_0x5f56c6;this[_0x4d0400(0x4da)]=!0x1;}};_0x40bde1=_0x4a2678([_0x12fb6c(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x12fb6c(0x3,_0x29630e['Inject'](_0x9c53bd)),_0x12fb6c(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x12fb6c(0x5,_0x29630e[_0x5f56c6(0x1d9)](_0x4247e7)),_0x12fb6c(0x6,_0x2a6d3d[_0x5f56c6(0x172)]),_0x12fb6c(0x7,_0x29630e[_0x5f56c6(0x441)]),_0x12fb6c(0x8,_0x29630e[_0x5f56c6(0x1a4)])],_0x40bde1);var _0x301cf2=Object['defineProperty'],_0x590aa1=Object[_0x5f56c6(0x47e)],_0x44ecbf=(_0x5934ae,_0xa8f6fb,_0x5cf0c3,_0xf05402)=>{for(var _0x5a2ba6=_0xf05402>0x1?void 0x0:_0xf05402?_0x590aa1(_0xa8f6fb,_0x5cf0c3):_0xa8f6fb,_0x1f697f=_0x5934ae['length']-0x1,_0x4bbb2c;_0x1f697f>=0x0;_0x1f697f--)(_0x4bbb2c=_0x5934ae[_0x1f697f])&&(_0x5a2ba6=(_0xf05402?_0x4bbb2c(_0xa8f6fb,_0x5cf0c3,_0x5a2ba6):_0x4bbb2c(_0x5a2ba6))||_0x5a2ba6);return _0xf05402&&_0x5a2ba6&&_0x301cf2(_0xa8f6fb,_0x5cf0c3,_0x5a2ba6),_0x5a2ba6;},_0x19ba67=(_0x27dc90,_0x1eb143)=>(_0x28ddf0,_0x1a12a7)=>_0x1eb143(_0x28ddf0,_0x1a12a7,_0x27dc90);const _0x231e03=0x12c,_0x2011f5=0x64,_0x4bb089=()=>{let _0x124911=[],_0x3c8a4d=!0x1;return _0x1213d7=>{const _0x3cd042=_0xe8fd;_0x124911[_0x3cd042(0x476)](_0x1213d7),_0x3c8a4d||(_0x3c8a4d=!0x0,setTimeout(()=>{const _0x305f21=_0x3cd042;_0x124911[_0x305f21(0x57d)](_0x5da3ba=>_0x5da3ba()),_0x124911=[],_0x3c8a4d=!0x1;}));};};let _0x326662=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x2288a3,_0x2a3466,_0x161418,_0xff84f1,_0x3bdf40,_0x3e5e8e,_0x4e86f3,_0x3f5297){const _0x12fcb7=_0x5f56c6;super(),_0x48f470(this,_0x12fcb7(0x4da),!0x1),_0x48f470(this,_0x12fcb7(0x436),!0x1),_0x48f470(this,_0x12fcb7(0x264),new _0x17e48c[(_0x12fcb7(0x38b))](new Map())),_0x48f470(this,'cursorInfo$',this[_0x12fcb7(0x264)][_0x12fcb7(0x2ac)]()),_0x48f470(this,_0x12fcb7(0x47c),new _0x17e48c[(_0x12fcb7(0x38b))]([])),_0x48f470(this,'roomMembers$',this[_0x12fcb7(0x47c)][_0x12fcb7(0x300)](_0x17e48c['debounceTime'](_0x231e03))),_0x48f470(this,_0x12fcb7(0x22f),_0x29630e['debounce']((_0x4160be,_0x1834ff)=>{const _0x28f7b3=_0x12fcb7,_0x68f5f6={'eventID':_0x2a6d3d[_0x28f7b3(0x56e)][_0x28f7b3(0x40a)],'data':{'unitID':this[_0x28f7b3(0x586)],'memberID':this[_0x28f7b3(0x41d)][_0x28f7b3(0x474)](),'selection':_0x5b4502[_0x28f7b3(0x449)](_0x4160be,_0x1834ff['range'])}};this['_session'][_0x28f7b3(0x16b)](_0x68f5f6,this[_0x28f7b3(0x586)]);},_0x2011f5)),(this[_0x12fcb7(0x586)]=_0x2288a3,this[_0x12fcb7(0x41d)]=_0x2a3466,this[_0x12fcb7(0x3cf)]=_0x161418,this[_0x12fcb7(0x48d)]=_0xff84f1,this[_0x12fcb7(0x521)]=_0x3bdf40,this[_0x12fcb7(0x434)]=_0x3e5e8e,this[_0x12fcb7(0x2a7)]=_0x4e86f3,this['_refRangeService']=_0x3f5297);}get[_0x5f56c6(0x1e7)](){const _0x38918b=_0x5f56c6;return this[_0x38918b(0x264)]['getValue']();}get[_0x5f56c6(0x4e4)](){const _0x280d37=_0x5f56c6;return this[_0x280d37(0x47c)][_0x280d37(0x32b)]();}[_0x5f56c6(0x1b8)](){const _0x4a90e9=_0x5f56c6;super[_0x4a90e9(0x1b8)](),this[_0x4a90e9(0x264)][_0x4a90e9(0x17b)](new Map()),this[_0x4a90e9(0x264)][_0x4a90e9(0x423)](),this[_0x4a90e9(0x47c)]['next']([]),this[_0x4a90e9(0x47c)][_0x4a90e9(0x423)]();}['init'](){const _0x4df563=_0x5f56c6;this[_0x4df563(0x436)]||(this[_0x4df563(0x436)]=!0x0,this['_session'][_0x4df563(0x3e0)][_0x4df563(0x300)](_0x17e48c[_0x4df563(0x47a)](this[_0x4df563(0x3ce)]))[_0x4df563(0x18a)](_0x449211=>{const _0x31702a=_0x4df563;_0x449211===_0x90155[_0x31702a(0x4c5)]?this[_0x31702a(0x243)]():this['_toggleOffline']();}),this[_0x4df563(0x41d)][_0x4df563(0x574)][_0x4df563(0x300)](_0x17e48c[_0x4df563(0x47a)](this['dispose$']))['subscribe'](_0x362792=>{const _0x1f328c=_0x4df563,_0x505752=_0x362792['eventID'];_0x505752===_0x2a6d3d[_0x1f328c(0x56e)][_0x1f328c(0x40a)]&&this[_0x1f328c(0x3f4)](_0x362792),_0x505752===_0x2a6d3d[_0x1f328c(0x56e)]['USERS_LEAVE']&&this[_0x1f328c(0x4aa)](_0x362792);}),this[_0x4df563(0x45c)](),this[_0x4df563(0x52f)](this['_commandService'][_0x4df563(0x373)](_0x2ed12b=>{const _0x253e19=_0x4df563;if(this[_0x253e19(0x4da)]&&_0x2ed12b['id']===_0x5decb0[_0x253e19(0x3aa)]['id']&&_0x2ed12b[_0x253e19(0x1ee)][_0x253e19(0x546)]===this[_0x253e19(0x586)]){const _0x3942b2=_0x2ed12b['params'];this[_0x253e19(0x22f)](_0x3942b2[_0x253e19(0x512)],_0x3942b2[_0x253e19(0x551)][0x0]);}})));}['_onCursorUpdate'](_0x4cc938){const _0x57e4f6=_0x5f56c6;var _0x3069a2,_0x2caaa9;const {memberID:_0x321c23,selection:_0x413f75}=_0x4cc938[_0x57e4f6(0x54c)],{sheetName:_0x2f05ea,range:_0x2e29d3}=_0x5b4502[_0x57e4f6(0x1b9)](_0x413f75),_0x19b3b8={'name':(_0x2caaa9=(_0x3069a2=this[_0x57e4f6(0x521)][_0x57e4f6(0x30c)](this[_0x57e4f6(0x586)],_0x321c23))==null?void 0x0:_0x3069a2['name'])!=null?_0x2caaa9:'Unknown\x20user','range':this['_getMergeRange'](_0x2f05ea,_0x2e29d3),'sheetID':_0x2f05ea,'color':this['_colorAssignService'][_0x57e4f6(0x51f)](_0x321c23),'selection':_0x413f75},_0x2ea6b6=this[_0x57e4f6(0x1e7)];_0x2ea6b6[_0x57e4f6(0x4f1)](_0x321c23,_0x19b3b8),this[_0x57e4f6(0x264)]['next'](_0x2ea6b6);}[_0x5f56c6(0x4aa)](_0x249727){const _0x1a5b4f=_0x5f56c6,{memberID:_0x4cabd6}=_0x249727['data'],_0x4ac36c=this[_0x1a5b4f(0x1e7)];_0x4ac36c[_0x1a5b4f(0x340)](_0x4cabd6),this['_cursorInfo$']['next'](_0x4ac36c);}['_getMergeRange'](_0x23f16c,_0x148fdf){const _0x57da31=_0x5f56c6;var _0x208545,_0x5153ca;const _0x28e210=(_0x5153ca=(_0x208545=this[_0x57da31(0x434)]['getUniverSheetInstance'](this[_0x57da31(0x586)]))==null?void 0x0:_0x208545[_0x57da31(0x41a)](_0x23f16c))==null?void 0x0:_0x5153ca[_0x57da31(0x1bf)]();return(_0x28e210==null?void 0x0:_0x28e210[_0x57da31(0x2b0)](_0x1dde9e=>_0x29630e[_0x57da31(0x4a9)][_0x57da31(0x3bf)](_0x1dde9e,_0x148fdf)))||_0x148fdf;}['_onRefRangeChange'](){const _0x31de80=_0x5f56c6,_0x156883=new _0x29630e['DisposableCollection'](),_0x4589a2=_0x4bb089(),_0x532a6c=()=>{const _0x3e7013=_0xe8fd;_0x156883['dispose']();const _0x343cd4=(_0x1e7127,_0x24a64e,_0x276675,_0xcc19d)=>{const _0x19fcc8=_0xe8fd;let _0x447da5=[];switch(_0x1e7127['id']){case _0x5decb0[_0x19fcc8(0x1eb)]['DeleteRangeMoveLeftCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x554)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x55f)]:{_0x447da5=_0x5decb0['handleDeleteRangeMoveUp'](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertColCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x326)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertRangeMoveDownCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x1b3)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x347)]:{_0x447da5=_0x5decb0[_0x19fcc8(0x527)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['InsertRowCommandId']:{_0x447da5=_0x5decb0['handleInsertRow'](_0x1e7127,_0xcc19d);break;}case _0x5decb0['EffectRefRangId']['MoveRangeCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x4a8)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)]['RemoveColCommandId']:{_0x447da5=_0x5decb0[_0x19fcc8(0x47f)](_0x1e7127,_0xcc19d);break;}case _0x5decb0[_0x19fcc8(0x1eb)][_0x19fcc8(0x192)]:{_0x447da5=_0x5decb0[_0x19fcc8(0x530)](_0x1e7127,_0xcc19d);break;}}const _0x216f7c=_0x5decb0[_0x19fcc8(0x29d)](_0x447da5,_0xcc19d),_0x4c1f70=this[_0x19fcc8(0x1e7)][_0x19fcc8(0x44d)](_0x24a64e);if(_0x4c1f70&&_0x216f7c){const _0x4d6756={..._0x4c1f70,'range':_0x216f7c};this[_0x19fcc8(0x1e7)][_0x19fcc8(0x4f1)](_0x24a64e,_0x4d6756),_0x4589a2(()=>{const _0x52dc38=_0x19fcc8,_0x11965c=this[_0x52dc38(0x2ae)][_0x52dc38(0x4a6)](_0x216f7c,_0x1f5b08=>(_0x11965c[_0x52dc38(0x1b8)](),_0x343cd4(_0x1f5b08,_0x24a64e,_0x276675,_0x216f7c)));_0x156883[_0x52dc38(0x54b)](_0x11965c);});}return{'redos':[],'undos':[]};};this[_0x3e7013(0x1e7)][_0x3e7013(0x57d)]((_0x22ad42,_0x13f90e)=>{const _0x30afd4=_0x3e7013,{range:_0x51922c,sheetID:_0x5bc6b6}=_0x22ad42,_0x458cc8=this[_0x30afd4(0x2ae)][_0x30afd4(0x4a6)](_0x51922c,_0x152d4d=>(_0x458cc8[_0x30afd4(0x1b8)](),_0x343cd4(_0x152d4d,_0x13f90e,_0x5bc6b6,_0x51922c)));_0x156883[_0x30afd4(0x54b)](_0x458cc8);});};this[_0x31de80(0x52f)](_0x29630e[_0x31de80(0x1cd)](this[_0x31de80(0x264)][_0x31de80(0x18a)](()=>{_0x532a6c();})));}[_0x5f56c6(0x243)](){const _0x38fa40=_0x5f56c6;var _0x7eec5,_0x4e4584;if(this[_0x38fa40(0x4da)]=!0x0,((_0x7eec5=this[_0x38fa40(0x434)][_0x38fa40(0x594)]())==null?void 0x0:_0x7eec5['getUnitId']())!==this[_0x38fa40(0x586)])return;const _0x1ff995=(_0x4e4584=this[_0x38fa40(0x3cf)][_0x38fa40(0x44d)](_0x5decb0[_0x38fa40(0x15d)])[_0x38fa40(0x2fd)]())==null?void 0x0:_0x4e4584[0x0],_0x3b75fd=this[_0x38fa40(0x434)][_0x38fa40(0x160)](_0x29630e[_0x38fa40(0x438)]['UNIVER_SHEET'])[_0x38fa40(0x582)]();_0x1ff995&&_0x3b75fd&&this[_0x38fa40(0x22f)](_0x3b75fd[_0x38fa40(0x15c)](),_0x1ff995);}['_toggleOffline'](){this['_online']=!0x1;}};_0x326662=_0x44ecbf([_0x19ba67(0x2,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x19ba67(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x9c53bd)),_0x19ba67(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x2b3)])),_0x19ba67(0x5,_0x29630e['IUniverInstanceService']),_0x19ba67(0x6,_0x29630e[_0x5f56c6(0x1a4)]),_0x19ba67(0x7,_0x29630e[_0x5f56c6(0x1d9)](_0x5decb0[_0x5f56c6(0x1f0)]))],_0x326662);var _0x2ce046=Object['defineProperty'],_0x346853=Object['getOwnPropertyDescriptor'],_0xf1b61d=(_0x5c068c,_0x561aad,_0x2fc755,_0x2beb27)=>{const _0xbd0231=_0x5f56c6;for(var _0x4bebe8=_0x2beb27>0x1?void 0x0:_0x2beb27?_0x346853(_0x561aad,_0x2fc755):_0x561aad,_0x255164=_0x5c068c[_0xbd0231(0x47d)]-0x1,_0x31910e;_0x255164>=0x0;_0x255164--)(_0x31910e=_0x5c068c[_0x255164])&&(_0x4bebe8=(_0x2beb27?_0x31910e(_0x561aad,_0x2fc755,_0x4bebe8):_0x31910e(_0x4bebe8))||_0x4bebe8);return _0x2beb27&&_0x4bebe8&&_0x2ce046(_0x561aad,_0x2fc755,_0x4bebe8),_0x4bebe8;},_0x227f4d=(_0x29dbd9,_0x3ed39b)=>(_0x51d0fd,_0x22a18c)=>_0x3ed39b(_0x51d0fd,_0x22a18c,_0x29dbd9);let _0x335c52=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x18633a,_0x113bd3,_0x250586){const _0x46d89e=_0x5f56c6;super(),_0x48f470(this,'_entities',new Map()),_0x48f470(this,_0x46d89e(0x2d4),new _0x17e48c[(_0x46d89e(0x3be))]()),(this['_univerInstanceService']=_0x18633a,this['_injector']=_0x113bd3,this[_0x46d89e(0x379)]=_0x250586,this['_init']());}[_0x5f56c6(0x1b8)](){const _0x4f00f8=_0x5f56c6;super[_0x4f00f8(0x1b8)](),this[_0x4f00f8(0x2d4)][_0x4f00f8(0x423)](),this[_0x4f00f8(0x2eb)]['forEach'](_0x5ce850=>_0x5ce850[_0x4f00f8(0x1b8)]());}[_0x5f56c6(0x4fb)](_0x4fbdea){const _0x3b3716=_0x5f56c6;return this['_entities'][_0x3b3716(0x55c)](_0x4fbdea)?this[_0x3b3716(0x2eb)]['get'](_0x4fbdea)[_0x3b3716(0x4db)]:this[_0x3b3716(0x2d4)][_0x3b3716(0x300)](_0x17e48c[_0x3b3716(0x324)](_0x5c17d2=>_0x5c17d2[_0x3b3716(0x586)]===_0x4fbdea),_0x17e48c[_0x3b3716(0x42c)](_0x3ea3ad=>_0x3ea3ad[_0x3b3716(0x4db)]));}['_init'](){const _0xf08d2=_0x5f56c6;this[_0xf08d2(0x434)]['getTypeOfUnitAdded$'](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x4b4)])[_0xf08d2(0x300)](_0x17e48c[_0xf08d2(0x47a)](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x18a)](async _0x2af0e2=>{const _0x4d338b=_0xf08d2,_0x3d11b0=_0x2af0e2['getUnitId'](),_0x24d7ec=await this[_0x4d338b(0x202)](_0x3d11b0);this[_0x4d338b(0x2d4)][_0x4d338b(0x17b)](_0x24d7ec),this[_0x4d338b(0x2eb)][_0x4d338b(0x4f1)](_0x3d11b0,_0x24d7ec);}),this[_0xf08d2(0x434)][_0xf08d2(0x3dc)](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x540)])['pipe'](_0x17e48c[_0xf08d2(0x47a)](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x300)](_0x17e48c['filter'](_0x3a61ef=>!_0x3a61ef['getUnitId']()[_0xf08d2(0x1bd)]('__')))[_0xf08d2(0x18a)](async _0x503640=>{const _0x59d57b=_0xf08d2,_0x20c42b=_0x503640[_0x59d57b(0x1a2)](),_0x3aedbe=await this[_0x59d57b(0x4b3)](_0x20c42b);this[_0x59d57b(0x2d4)]['next'](_0x3aedbe),this[_0x59d57b(0x2eb)][_0x59d57b(0x4f1)](_0x20c42b,_0x3aedbe);}),_0x17e48c[_0xf08d2(0x268)](this[_0xf08d2(0x434)][_0xf08d2(0x407)](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x540)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29630e[_0xf08d2(0x438)][_0xf08d2(0x4b4)]))[_0xf08d2(0x300)](_0x17e48c['takeUntil'](this[_0xf08d2(0x3ce)]))[_0xf08d2(0x18a)](_0x3db1d4=>{const _0x23bbde=_0xf08d2,_0x3de553=_0x3db1d4[_0x23bbde(0x1a2)](),_0xc74963=this[_0x23bbde(0x2eb)][_0x23bbde(0x44d)](_0x3de553);_0xc74963&&(_0xc74963[_0x23bbde(0x1b8)](),this['_entities'][_0x23bbde(0x340)](_0x3de553));});}async[_0x5f56c6(0x202)](_0x2d42f4){const _0x170a52=_0x5f56c6,_0x424406=await this[_0x170a52(0x379)][_0x170a52(0x494)](_0x2d42f4),_0x3f559c=this[_0x170a52(0x3cf)][_0x170a52(0x445)](_0x326662,_0x2d42f4,_0x424406);return _0x3f559c['init'](),_0x3f559c;}async['_startDocCollabCursor'](_0x49fa34){const _0x162492=_0x5f56c6,_0x7988f7=await this[_0x162492(0x379)][_0x162492(0x494)](_0x49fa34),_0x4c208e=this[_0x162492(0x3cf)]['createInstance'](_0x40bde1,_0x49fa34,_0x7988f7);return _0x4c208e[_0x162492(0x3bb)](),_0x4c208e;}};_0x335c52=_0xf1b61d([_0x227f4d(0x0,_0x29630e['IUniverInstanceService']),_0x227f4d(0x1,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x3c6)])),_0x227f4d(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x580)]))],_0x335c52);const _0x5f0a09=0x14,_0x3ecd90=0xc8,_0x42ff88=0x4,_0x552fc6=0x5;function _0x40b94c(_0x364246,_0x55d8a2){const _0x10f4ca=_0x5f56c6;let {radius:_0x4beb5a,width:_0x31b6ba,height:_0x1a7699}=_0x55d8a2;_0x4beb5a=_0x4beb5a!=null?_0x4beb5a:0x0,_0x31b6ba=_0x31b6ba!=null?_0x31b6ba:0x1e,_0x1a7699=_0x1a7699!=null?_0x1a7699:0x1e;let _0x2f0687=0x0,_0x411e61=0x0,_0x4ea974=0x0;_0x2f0687=_0x411e61=_0x4ea974=Math['min'](_0x4beb5a,_0x31b6ba/0x2,_0x1a7699/0x2),_0x364246[_0x10f4ca(0x477)](),_0x364246[_0x10f4ca(0x20d)](_0x2f0687,0x0),_0x364246['lineTo'](_0x31b6ba-_0x411e61,0x0),_0x364246['arc'](_0x31b6ba-_0x411e61,_0x411e61,_0x411e61,Math['PI']*0x3/0x2,0x0,!0x1),_0x364246[_0x10f4ca(0x1e5)](_0x31b6ba,_0x1a7699-_0x4ea974),_0x364246[_0x10f4ca(0x275)](_0x31b6ba-_0x4ea974,_0x1a7699-_0x4ea974,_0x4ea974,0x0,Math['PI']/0x2,!0x1),_0x364246[_0x10f4ca(0x1e5)](0x0,_0x1a7699),_0x364246[_0x10f4ca(0x1e5)](0x0,_0x2f0687),_0x364246[_0x10f4ca(0x275)](_0x2f0687,_0x2f0687,_0x2f0687,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x364246[_0x10f4ca(0x44b)](),_0x55d8a2[_0x10f4ca(0x4d9)]&&(_0x364246[_0x10f4ca(0x32a)](),_0x364246['fillStyle']=_0x55d8a2['fill'],_0x55d8a2[_0x10f4ca(0x178)]==='evenodd'?_0x364246['fill'](_0x10f4ca(0x17e)):_0x364246[_0x10f4ca(0x4d9)](),_0x364246[_0x10f4ca(0x590)]());}class _0x25e89f extends _0x37c548[_0x5f56c6(0x410)]{constructor(_0x12bfe2,_0x594539){const _0x477ecb=_0x5f56c6;super(_0x12bfe2,_0x594539),_0x48f470(this,'color'),_0x48f470(this,_0x477ecb(0x1d3)),(this[_0x477ecb(0x457)]=_0x594539==null?void 0x0:_0x594539[_0x477ecb(0x457)],this[_0x477ecb(0x1d3)]=_0x594539==null?void 0x0:_0x594539[_0x477ecb(0x1d3)]);}static[_0x5f56c6(0x2ee)](_0x58d1d5,_0x456f3e){const _0x54dd49=_0x5f56c6,{text:_0x1a6347,color:_0x1d1f65}=_0x456f3e;_0x58d1d5[_0x54dd49(0x32a)](),_0x58d1d5[_0x54dd49(0x1af)]=_0x54dd49(0x221);const _0x49f0fb=_0x58d1d5['measureText'](_0x1a6347)[_0x54dd49(0x368)],_0x152dc9=Math['min'](_0x49f0fb+0x2*_0x42ff88,_0x3ecd90);_0x40b94c(_0x58d1d5,{'height':_0x5f0a09,'radius':0x4,'width':_0x152dc9,'fill':_0x1d1f65,'evented':!0x1}),_0x58d1d5[_0x54dd49(0x384)]=_0x54dd49(0x57a);const _0x4e9811=_0x42ff88,_0x4d756a=_0x5f0a09-_0x552fc6,_0x4f5f2d=_0x3ecd90-0x2*_0x42ff88;if(_0x49f0fb>_0x4f5f2d){let _0x59e732='',_0x1c6027=0x0;for(const _0x5f0f02 of _0x1a6347){const _0x8957f=_0x58d1d5[_0x54dd49(0x1ed)](_0x5f0f02)['width'];if(_0x1c6027+_0x8957f<=_0x4f5f2d-_0x58d1d5['measureText'](_0x54dd49(0x241))[_0x54dd49(0x368)])_0x59e732+=_0x5f0f02,_0x1c6027+=_0x8957f;else{_0x59e732+=_0x54dd49(0x241);break;}}_0x58d1d5['fillText'](_0x59e732,_0x4e9811,_0x4d756a);}else _0x58d1d5[_0x54dd49(0x203)](_0x1a6347,_0x4e9811,_0x4d756a);_0x58d1d5[_0x54dd49(0x590)]();}[_0x5f56c6(0x36d)](_0x438436){_0x25e89f['drawWith'](_0x438436,this);}}const _0x4129a8=_0x5f56c6(0x3a5),_0x30ce42='collab-text-range-',_0x5a1aa1=_0x5f56c6(0x45b),_0xf46776=0x6,_0x30f8ca=1.5,_0x45c28a=0x4,_0x550f06=1.5,_0x43fd54=_0x5f56c6(0x34e);class _0x1f326f{constructor(_0x13ce71,_0x4a2e95,_0x312300,_0x7c55bb){const _0x1c0291=_0x5f56c6;_0x48f470(this,_0x1c0291(0x369),[]),_0x48f470(this,_0x1c0291(0x197),null),_0x48f470(this,_0x1c0291(0x390),null),_0x48f470(this,_0x1c0291(0x320),null),_0x48f470(this,'_hideTimer',null),_0x48f470(this,_0x1c0291(0x199),null),(this[_0x1c0291(0x505)]=_0x13ce71,this[_0x1c0291(0x3af)]=_0x4a2e95,this['_docSkeleton']=_0x312300,this[_0x1c0291(0x502)]=_0x7c55bb,this['_render']());}set[_0x5f56c6(0x533)](_0x40f2be){const _0x179d7e=_0x5f56c6;_0x40f2be?(this[_0x179d7e(0x320)]&&this['_anchorDot'][_0x179d7e(0x548)](),this[_0x179d7e(0x390)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x179d7e(0x390)][_0x179d7e(0x548)]());}[_0x5f56c6(0x1b8)](){const _0x294b50=_0x5f56c6;for(const _0x2ff0e3 of this[_0x294b50(0x369)])_0x2ff0e3[_0x294b50(0x1b8)]();this[_0x294b50(0x390)]&&this['_textBubble']['dispose'](),this[_0x294b50(0x320)]&&this[_0x294b50(0x320)][_0x294b50(0x1b8)](),this['_anchor']&&this[_0x294b50(0x197)][_0x294b50(0x1b8)](),this[_0x294b50(0x199)]&&this[_0x294b50(0x199)]();}[_0x5f56c6(0x259)](){const _0x1deeb8=_0x5f56c6;var _0x207689;const {_docSkeleton:_0x27e642,_document:_0x4d3f01}=this,{color:_0x352f94,name:_0x3e29c9,ranges:_0x5bb168}=this['_cursor'],_0x16cbe5=_0x4d3f01[_0x1deeb8(0x501)](),{docsLeft:_0x414ddf,docsTop:_0x519057}=_0x16cbe5,_0x2c849e=new _0x214ea6[(_0x1deeb8(0x1f4))](_0x16cbe5,_0x27e642);for(const {startOffset:_0x1833ef,endOffset:_0x23dc10,rangeType:_0x4552a5,segmentId:_0xd5ac81,segmentPage:_0x5c1c04,collapsed:_0x394b20,isActive:_0x744402}of _0x5bb168){const _0x3695f=_0x27e642[_0x1deeb8(0x532)](_0x1833ef,!0x0,_0xd5ac81,_0x5c1c04);let _0x1ba218=_0x27e642[_0x1deeb8(0x532)](_0x23dc10,!0x0,_0xd5ac81,_0x5c1c04);if(_0x1ba218==null&&(_0x1ba218=_0x27e642[_0x1deeb8(0x532)](_0x23dc10-0x1,!0x1,_0xd5ac81,_0x5c1c04)),_0x744402){const {contentBoxPointGroup:_0x35d3a0}=_0x2c849e[_0x1deeb8(0x296)](_0x1ba218,_0x1ba218);if(_0x35d3a0['length']===0x0)continue;this[_0x1deeb8(0x263)](_0x352f94,_0x35d3a0,_0x414ddf,_0x519057,_0x3e29c9),this[_0x1deeb8(0x199)]=this[_0x1deeb8(0x40d)]();}if(!_0x394b20&&_0x3695f&&_0x1ba218){if(_0x4552a5===_0x29630e[_0x1deeb8(0x58c)]['RECT']){const _0x28de50=new _0x214ea6[(_0x1deeb8(0x398))](_0x16cbe5,_0x27e642),{pointGroup:_0xe9e467}=(_0x207689=_0x28de50[_0x1deeb8(0x296)](_0x3695f,_0x1ba218))!=null?_0x207689:{};if(_0xe9e467==null||_0xe9e467[_0x1deeb8(0x47d)]===0x0)continue;this[_0x1deeb8(0x2b8)](_0x352f94,_0xe9e467,_0x414ddf,_0x519057);}else{const {borderBoxPointGroup:_0xcdeb3d}=_0x2c849e[_0x1deeb8(0x296)](_0x3695f,_0x1ba218);if(_0xcdeb3d['length']===0x0)continue;this['_drawTextRange'](_0x352f94,_0xcdeb3d,_0x414ddf,_0x519057);}}}}['_drawAnchor'](_0x4c58be,_0x44f20d,_0x3b58c8,_0x1a0bcb,_0x6a884c){const _0x16cc7c=_0x5f56c6,_0x4a7eff=this[_0x16cc7c(0x1ff)](_0x44f20d),{left:_0x3502e3,top:_0x760b84,height:_0x5e4875}=_0x4a7eff,_0x25fe19=this[_0x16cc7c(0x2f7)](),_0x5ad886=_0x550f06/_0x25fe19,_0x26a6a1=new _0x37c548[(_0x16cc7c(0x50e))](_0x4129a8+_0x29630e['Tools'][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb,'height':_0x5e4875,'width':_0x30f8ca,'fill':_0x4c58be||_0x37c548[_0x16cc7c(0x310)](_0x29630e[_0x16cc7c(0x260)][_0x16cc7c(0x500)],0x0),'strokeWidth':_0x5ad886,'stroke':_0x43fd54,'evented':!0x0});this['_anchor']=_0x26a6a1,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0x26a6a1,_0x214ea6[_0x16cc7c(0x291)]);const _0xc41041=new _0x37c548['Rect'](_0x4129a8+_0x29630e['Tools'][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb-_0x45c28a/0x2,'height':_0x45c28a,'width':_0x45c28a,'fill':_0x4c58be||_0x37c548[_0x16cc7c(0x310)](_0x29630e['COLORS'][_0x16cc7c(0x500)],0x0),'strokeWidth':0x0,'stroke':_0x4c58be||_0x37c548['getColor'](_0x29630e[_0x16cc7c(0x260)][_0x16cc7c(0x500)],0x0),'evented':!0x1});this[_0x16cc7c(0x320)]=_0xc41041,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0xc41041,_0x214ea6['TEXT_RANGE_LAYER_INDEX']);const _0x18394c=new _0x25e89f(_0x4129a8+_0x29630e[_0x16cc7c(0x4a1)][_0x16cc7c(0x2d5)](_0xf46776),{'left':_0x3502e3+_0x3b58c8-_0x5ad886,'top':_0x760b84+_0x1a0bcb-_0x5f0a09,'text':_0x6a884c,'color':_0x4c58be});this[_0x16cc7c(0x390)]=_0x18394c,this[_0x16cc7c(0x3af)][_0x16cc7c(0x4f8)](_0x18394c,_0x214ea6[_0x16cc7c(0x291)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5068d7=_0x5f56c6,_0x34c1d7=this[_0x5068d7(0x197)][_0x5068d7(0x200)][_0x5068d7(0x3cd)](()=>{const _0x30b0ff=_0x5068d7;this[_0x30b0ff(0x533)]=!0x0;}),_0x227679=this[_0x5068d7(0x197)][_0x5068d7(0x412)][_0x5068d7(0x3cd)](()=>{const _0x2237da=_0x5068d7;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2237da(0x2ed)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x580837=_0x5068d7;_0x34c1d7[_0x580837(0x349)](),_0x227679['unsubscribe']();};}['_drawTextRange'](_0x284602,_0x32651d,_0x5715f2,_0x18d25c){const _0x3e7f23=_0x5f56c6,_0x450fa1=new _0x29630e['ColorKit'](_0x284602)['setAlpha'](0.2)[_0x3e7f23(0x456)](),_0x21242d=new _0x37c548[(_0x3e7f23(0x514))](_0x30ce42+_0x29630e[_0x3e7f23(0x4a1)][_0x3e7f23(0x2d5)](_0xf46776),{'pointsGroup':_0x32651d,'fill':_0x450fa1||_0x37c548['getColor'](_0x29630e['COLORS'][_0x3e7f23(0x500)],0.2),'left':_0x5715f2,'top':_0x18d25c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e7f23(0x369)]['push'](_0x21242d),this[_0x3e7f23(0x3af)][_0x3e7f23(0x4f8)](_0x21242d,_0x214ea6['TEXT_RANGE_LAYER_INDEX']);}[_0x5f56c6(0x2b8)](_0x336554,_0x4b725e,_0x51170d,_0x143d64){const _0x28921e=_0x5f56c6,_0x5c78f3=new _0x29630e[(_0x28921e(0x252))](_0x336554)[_0x28921e(0x510)](0.2)[_0x28921e(0x456)](),_0x337d5e=new _0x37c548[(_0x28921e(0x514))](_0x5a1aa1+_0x29630e[_0x28921e(0x4a1)][_0x28921e(0x2d5)](_0xf46776),{'pointsGroup':_0x4b725e,'fill':_0x5c78f3||_0x37c548['getColor'](_0x29630e[_0x28921e(0x260)]['black'],0.2),'left':_0x51170d,'top':_0x143d64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28921e(0x369)]['push'](_0x337d5e),this[_0x28921e(0x3af)][_0x28921e(0x4f8)](_0x337d5e,_0x214ea6[_0x28921e(0x291)]);}['_getAnchorBounding'](_0x2d0597){const _0x23cf47=_0x2d0597[0x0],_0x1d4128=_0x23cf47[0x0],_0x1111ae=_0x23cf47[0x2],{x:_0x266d5e,y:_0x5d1cf6}=_0x1d4128,{x:_0xfbc425,y:_0xdfc7cb}=_0x1111ae;return{'left':_0x266d5e,'top':_0x5d1cf6,'width':_0xfbc425-_0x266d5e,'height':_0xdfc7cb-_0x5d1cf6};}[_0x5f56c6(0x2f7)](){const _0x4a79a4=_0x5f56c6,{scaleX:_0x206e54,scaleY:_0x586730}=this[_0x4a79a4(0x3af)][_0x4a79a4(0x4ef)]();return Math[_0x4a79a4(0x217)](_0x206e54,_0x586730);}}var _0x54ab37=Object['defineProperty'],_0x2138ae=Object[_0x5f56c6(0x47e)],_0xe3cbc5=(_0x261e3a,_0x523ce9,_0x21b459,_0x52e3df)=>{const _0xbed307=_0x5f56c6;for(var _0x9f2974=_0x52e3df>0x1?void 0x0:_0x52e3df?_0x2138ae(_0x523ce9,_0x21b459):_0x523ce9,_0x152d3e=_0x261e3a[_0xbed307(0x47d)]-0x1,_0xb0f412;_0x152d3e>=0x0;_0x152d3e--)(_0xb0f412=_0x261e3a[_0x152d3e])&&(_0x9f2974=(_0x52e3df?_0xb0f412(_0x523ce9,_0x21b459,_0x9f2974):_0xb0f412(_0x9f2974))||_0x9f2974);return _0x52e3df&&_0x9f2974&&_0x54ab37(_0x523ce9,_0x21b459,_0x9f2974),_0x9f2974;},_0x17a71a=(_0x46ae1e,_0xcb0aee)=>(_0x4cdd22,_0x3c0ead)=>_0xcb0aee(_0x4cdd22,_0x3c0ead,_0x46ae1e);let _0xe3da1a=class extends _0x29630e['RxDisposable']{constructor(_0xc15acc,_0x31f1c1,_0x2487a6,_0xd58c74,_0x39a109){const _0x3d72ad=_0x5f56c6;super(),_0x48f470(this,_0x3d72ad(0x381),[]),_0x48f470(this,_0x3d72ad(0x207),[]),(this[_0x3d72ad(0x2e4)]=_0xc15acc,this['_docSkeletonManagerService']=_0x31f1c1,this[_0x3d72ad(0x354)]=_0x2487a6,this[_0x3d72ad(0x2a7)]=_0xd58c74,this[_0x3d72ad(0x389)]=_0x39a109,this[_0x3d72ad(0x436)]());}['_init'](){const _0x279101=_0x5f56c6,_0x2cf0f7=this[_0x279101(0x2e4)]['unitId'],_0x25339b=this[_0x279101(0x2d7)];this[_0x279101(0x52f)](_0x17e48c['combineLatest']([this[_0x279101(0x354)][_0x279101(0x4fb)](_0x2cf0f7),this['_themeService']['currentTheme$']])['pipe'](_0x56098d[_0x279101(0x239)](([_0x4e2a31,_0x39a743])=>({'skeleton':_0x25339b[_0x279101(0x50b)](),'cursors':[..._0x4e2a31[_0x279101(0x182)]()][_0x279101(0x3c1)](_0x1e1b32=>({..._0x1e1b32,'color':_0x39a743[_0x1e1b32[_0x279101(0x457)]]}))})))[_0x279101(0x18a)](_0x29f728=>{const _0x72b8b7=_0x279101;if(this[_0x72b8b7(0x184)](),_0x29f728){const {skeleton:_0x3b9b39,cursors:_0x388c2c}=_0x29f728;this[_0x72b8b7(0x443)](_0x3b9b39,_0x388c2c);}})),this['_initResize'](),this[_0x279101(0x2ba)]();}[_0x5f56c6(0x443)](_0x45a55e,_0xca806a){const _0x4754dd=_0x5f56c6,{scene:_0x2a22b3,mainComponent:_0x40b4b4}=this[_0x4754dd(0x2e4)],_0x1bfdf7=_0xca806a['map'](_0x1a4772=>new _0x1f326f(_0x1a4772,_0x2a22b3,_0x45a55e,_0x40b4b4));this['_cursorShapes']=_0x1bfdf7,this[_0x4754dd(0x207)]=_0xca806a;}[_0x5f56c6(0x289)](){const _0x1ff374=_0x5f56c6;this[_0x1ff374(0x184)]();const {scene:_0x222993,mainComponent:_0x4b5ab4}=this[_0x1ff374(0x2e4)],_0x28b5d2=this[_0x1ff374(0x2d7)][_0x1ff374(0x50b)](),_0x4168b2=this[_0x1ff374(0x207)]['map'](_0x3f4f6f=>new _0x1f326f(_0x3f4f6f,_0x222993,_0x28b5d2,_0x4b5ab4));this[_0x1ff374(0x381)]=_0x4168b2;}[_0x5f56c6(0x184)](){const _0x1ca2cb=_0x5f56c6;this['_cursorShapes'][_0x1ca2cb(0x57d)](_0x262f57=>_0x262f57[_0x1ca2cb(0x1b8)]()),this[_0x1ca2cb(0x381)]=[];}[_0x5f56c6(0x2ba)](){const _0x1b1ad4=_0x5f56c6,_0x5716d3=[_0x214ea6['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1b1ad4(0x2a7)][_0x1b1ad4(0x373)](_0x3065aa=>{const _0x404de0=_0x1b1ad4;_0x5716d3[_0x404de0(0x3ba)](_0x3065aa['id'])&&_0x3065aa[_0x404de0(0x1ee)][_0x404de0(0x546)]===this['_context'][_0x404de0(0x546)]&&this[_0x404de0(0x289)]();}));}['_initResize'](){const _0x29373a=_0x5f56c6;this['disposeWithMe'](_0x29630e[_0x29373a(0x517)](this[_0x29373a(0x2e4)][_0x29373a(0x28c)][_0x29373a(0x55d)])[_0x29373a(0x300)](_0x56098d['filter'](_0x54fd14=>_0x54fd14[_0x29373a(0x566)]===_0x37c548[_0x29373a(0x380)][_0x29373a(0x1de)]),_0x56098d['throttleTime'](0x10))[_0x29373a(0x18a)](()=>{const _0x4b41ac=_0x29373a;this[_0x4b41ac(0x289)]();}));}};_0xe3da1a=_0xe3cbc5([_0x17a71a(0x1,_0x29630e['Inject'](_0x31abfa[_0x5f56c6(0x364)])),_0x17a71a(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x335c52)),_0x17a71a(0x3,_0x29630e[_0x5f56c6(0x1a4)]),_0x17a71a(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['ThemeService']))],_0xe3da1a);const _0x5622a4=0x1,_0x542a31=1.5;class _0x2b4d87 extends _0x37c548['Shape']{constructor(_0xf37512,_0x49fc5e){const _0x8bf512=_0x5f56c6;super(_0xf37512,_0x49fc5e),_0x48f470(this,_0x8bf512(0x191)),_0x48f470(this,'_hovered',!0x1),_0x48f470(this,_0x8bf512(0x295)),_0x48f470(this,_0x8bf512(0x21c),''),_0x48f470(this,_0x8bf512(0x33e),_0x8bf512(0x226)),_0x48f470(this,_0x8bf512(0x388)),(_0x49fc5e&&this[_0x8bf512(0x1f2)](_0x49fc5e),this[_0x8bf512(0x200)]['subscribeEvent'](()=>this[_0x8bf512(0x1f2)]({'hovered':!0x0})),this['onPointerLeave$'][_0x8bf512(0x3cd)](()=>this[_0x8bf512(0x1f2)]({'hovered':!0x1})));}[_0x5f56c6(0x1f2)](_0x5e7855){const _0x512b20=_0x5f56c6;var _0x4c6351,_0x549530,_0x2a04d2,_0x4b9436,_0x1f8306,_0xb75df3;this[_0x512b20(0x191)]=(_0x4c6351=_0x5e7855[_0x512b20(0x457)])!=null?_0x4c6351:this['_color'],this[_0x512b20(0x24a)]=(_0x549530=_0x5e7855['hovered'])!=null?_0x549530:this[_0x512b20(0x24a)],this[_0x512b20(0x295)]=(_0x2a04d2=_0x5e7855['range'])!=null?_0x2a04d2:this[_0x512b20(0x295)],this[_0x512b20(0x21c)]=(_0x4b9436=_0x5e7855[_0x512b20(0x244)])!=null?_0x4b9436:this[_0x512b20(0x21c)],this[_0x512b20(0x33e)]=(_0x1f8306=_0x5e7855[_0x512b20(0x4bf)])!=null?_0x1f8306:this[_0x512b20(0x33e)],this[_0x512b20(0x388)]=(_0xb75df3=_0x5e7855[_0x512b20(0x428)])!=null?_0xb75df3:this[_0x512b20(0x388)],this[_0x512b20(0x1e1)]({'width':_0x5e7855[_0x512b20(0x368)],'height':_0x5e7855[_0x512b20(0x3ee)]});}[_0x5f56c6(0x467)](_0x2f0a8d){const _0x4ede4b=_0x5f56c6,{row:_0xb94999,column:_0x4cb9b4}=_0x2f0a8d;if(_0xb94999>=this['_range']['startRow']&&_0xb94999<=this['_range']['endRow']&&_0x4cb9b4>=this[_0x4ede4b(0x295)][_0x4ede4b(0x3ea)]&&_0x4cb9b4<=this['_range'][_0x4ede4b(0x523)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ede4b(0x1f2)]({'hovered':!0x1});}[_0x5f56c6(0x447)](_0x5e6c58){return!0x1;}[_0x5f56c6(0x36d)](_0x3c4b2e){const _0x18e646=_0x5f56c6;_0x37c548[_0x18e646(0x50e)][_0x18e646(0x2ee)](_0x3c4b2e,{'width':this[_0x18e646(0x368)],'height':this[_0x18e646(0x3ee)],'strokeWidth':_0x542a31,'stroke':this[_0x18e646(0x191)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x18e646(0x24a)]&&(_0x3c4b2e[_0x18e646(0x32a)](),_0x3c4b2e[_0x18e646(0x42a)](0x1,0x0,0x0,0x1,this[_0x18e646(0x368)],this[_0x18e646(0x33e)]==='bottom'?0x0:-_0x5f0a09),_0x25e89f[_0x18e646(0x2ee)](_0x3c4b2e,{'text':this['_name'],'color':this[_0x18e646(0x191)]}),_0x3c4b2e[_0x18e646(0x590)]());}}var _0x2e6bd3=Object[_0x5f56c6(0x17a)],_0x5519f0=Object['getOwnPropertyDescriptor'],_0x230297=(_0x12e200,_0x316763,_0x2b66db,_0x2086a1)=>{const _0x2b04fd=_0x5f56c6;for(var _0x744ef1=_0x2086a1>0x1?void 0x0:_0x2086a1?_0x5519f0(_0x316763,_0x2b66db):_0x316763,_0x4f520f=_0x12e200[_0x2b04fd(0x47d)]-0x1,_0x396bc9;_0x4f520f>=0x0;_0x4f520f--)(_0x396bc9=_0x12e200[_0x4f520f])&&(_0x744ef1=(_0x2086a1?_0x396bc9(_0x316763,_0x2b66db,_0x744ef1):_0x396bc9(_0x744ef1))||_0x744ef1);return _0x2086a1&&_0x744ef1&&_0x2e6bd3(_0x316763,_0x2b66db,_0x744ef1),_0x744ef1;},_0x14bc2d=(_0x12cdfe,_0x5bb886)=>(_0x36f7fb,_0x3670d6)=>_0x5bb886(_0x36f7fb,_0x3670d6,_0x12cdfe);const _0x19189d=0x1389;let _0x1abaed=class extends _0x29630e['RxDisposable']{constructor(_0x41576e,_0x465826,_0xd84507,_0x5040d6){const _0x2c1d19=_0x5f56c6;super(),_0x48f470(this,_0x2c1d19(0x207),new Set()),_0x48f470(this,_0x2c1d19(0x44a),null),(this[_0x2c1d19(0x2e4)]=_0x41576e,this[_0x2c1d19(0x23f)]=_0x465826,this[_0x2c1d19(0x354)]=_0xd84507,this['_themeService']=_0x5040d6,this[_0x2c1d19(0x436)]());}[_0x5f56c6(0x436)](){const _0x35b6b4=_0x5f56c6;this[_0x35b6b4(0x23f)][_0x35b6b4(0x4e5)][_0x35b6b4(0x300)](_0x56098d[_0x35b6b4(0x47a)](this[_0x35b6b4(0x3ce)]),_0x56098d[_0x35b6b4(0x42c)](_0x138628=>{const _0x29af0a=_0x35b6b4;if(_0x138628){const _0x201600=_0x138628['sheetId'];return _0x17e48c['combineLatest'](this[_0x29af0a(0x354)][_0x29af0a(0x4fb)](this[_0x29af0a(0x2e4)][_0x29af0a(0x546)]),this[_0x29af0a(0x389)][_0x29af0a(0x33f)])[_0x29af0a(0x300)](_0x56098d[_0x29af0a(0x239)](([_0x470f6f,_0x529d7b])=>{const _0x58145d=_0x29af0a,_0x187462=new Map();return _0x470f6f[_0x58145d(0x57d)]((_0x5405f9,_0xb0c4c4)=>{const _0x2fd81a=_0x58145d;if(_0x5405f9[_0x2fd81a(0x3b4)]===_0x201600){const _0x51a81a={..._0x5405f9};_0x51a81a['color']=_0x529d7b[_0x5405f9[_0x2fd81a(0x457)]],_0x187462[_0x2fd81a(0x4f1)](_0xb0c4c4,_0x51a81a);}}),{'skeleton':_0x138628,'cursors':_0x187462};}));}return _0x17e48c['of']({'skeleton':null,'cursors':new Map()});}))[_0x35b6b4(0x18a)](({skeleton:_0x371d3a,cursors:_0x381f69})=>{const _0x3d2ec7=_0x35b6b4;this[_0x3d2ec7(0x184)](),_0x371d3a&&this['_updateCollabCursors'](_0x371d3a,_0x381f69);}),this[_0x35b6b4(0x23f)][_0x35b6b4(0x4e5)]['subscribe'](_0x52a0d1=>{const _0x3f7df1=_0x35b6b4;if(_0x52a0d1==null)return;const {skeleton:_0x231ca6}=_0x52a0d1,{scene:_0x4e3a5d}=this['_context'];_0x4e3a5d[_0x3f7df1(0x51b)]['subscribeEvent'](_0x29630e[_0x3f7df1(0x528)](_0x1372f3=>{const _0x410d3c=_0x3f7df1;var _0x35e214,_0x5c773b;const {offsetX:_0x206a4b,offsetY:_0xed7d83}=_0x1372f3,{x:_0x470f39,y:_0x33fd18}=_0x4e3a5d[_0x410d3c(0x3fe)](_0x37c548[_0x410d3c(0x328)]['FromArray']([_0x206a4b,_0xed7d83])),{scaleX:_0x30c0e9,scaleY:_0x6034ba}=_0x4e3a5d[_0x410d3c(0x4ef)](),_0x2d8e86=_0x4e3a5d['getViewport'](_0x30e2ba[_0x410d3c(0x228)][_0x410d3c(0x1d5)]),_0x2a030d=_0x4e3a5d[_0x410d3c(0x227)](_0x37c548[_0x410d3c(0x328)][_0x410d3c(0x1e2)]([_0x470f39,_0x33fd18]),_0x2d8e86),_0x5c09b7=_0x231ca6[_0x410d3c(0x2b1)](_0x206a4b,_0xed7d83,_0x30c0e9,_0x6034ba,_0x2a030d);((_0x35e214=this['_lastPointer'])==null?void 0x0:_0x35e214['column'])===_0x5c09b7[_0x410d3c(0x1aa)]&&((_0x5c773b=this['_lastPointer'])==null?void 0x0:_0x5c773b[_0x410d3c(0x4a0)])===_0x5c09b7[_0x410d3c(0x4a0)]||this[_0x410d3c(0x207)][_0x410d3c(0x57d)](_0x8ac32a=>{const _0x26fef7=_0x410d3c;_0x8ac32a[_0x26fef7(0x467)](_0x5c09b7);});},0x64));});}[_0x5f56c6(0x443)](_0x2c418e,_0x1028a7){const _0x546d52=_0x5f56c6;var _0x4d1e6d;const _0x245284=(_0x4d1e6d=this[_0x546d52(0x23f)][_0x546d52(0x32d)]())==null?void 0x0:_0x4d1e6d[_0x546d52(0x2d0)];if(!_0x245284)return;const _0x3f5671=this[_0x546d52(0x1ad)]();if(!_0x3f5671)return;this[_0x546d52(0x207)][_0x546d52(0x57d)](_0x3a425f=>{_0x3a425f['makeDirty']();});const {scene:_0x3a0a99}=_0x3f5671,_0x50c427=_0x4f0d39(Array[_0x546d52(0x2b9)](_0x1028a7[_0x546d52(0x182)]()))[_0x546d52(0x239)](_0x70a283=>{const _0x557461=_0x546d52,{color:_0x4c4252,range:_0x3e6aac,name:_0x493b16,selection:_0x2842b6,sheetID:_0x416393}=_0x70a283,{startColumn:_0x186b89,startRow:_0x21d468,endColumn:_0x3ea50b,endRow:_0x577711}=_0x3e6aac,_0x294a6e=_0x30e2ba[_0x557461(0x41b)](_0x21d468,_0x186b89,_0x3a0a99,_0x245284),_0x3657bb=_0x30e2ba['getCoordByCell'](_0x577711,_0x3ea50b,_0x3a0a99,_0x245284),{columnHeaderHeightAndMarginTop:_0x3ec7ad}=_0x245284,{startX:_0xaa69c,startY:_0x3ce8c8}=_0x294a6e,{endX:_0x558532,endY:_0x174c09}=_0x3657bb,_0xab95cf=_0x558532-_0xaa69c,_0x24a44e=_0x174c09-_0x3ce8c8,_0x3ad5ae={'labelPosition':_0x3ce8c8-_0x3ec7ad>=_0x5f0a09?_0x557461(0x226):'bottom','sheetID':_0x416393,'range':_0x3e6aac,'color':_0x4c4252,'name':_0x493b16,'selection':_0x2842b6,'left':_0xaa69c,'top':_0x3ce8c8,'width':_0xab95cf,'height':_0x24a44e,'evented':!0x1,'zIndex':_0x19189d};return new _0x2b4d87(_0x493b16,_0x3ad5ae);});_0x3a0a99[_0x546d52(0x44f)](_0x50c427,_0x5622a4),this[_0x546d52(0x207)]=new Set(_0x50c427);}[_0x5f56c6(0x184)](){const _0x401db1=_0x5f56c6;var _0x5d7af1;(_0x5d7af1=this[_0x401db1(0x207)])==null||_0x5d7af1[_0x401db1(0x57d)](_0x188532=>_0x188532[_0x401db1(0x1b8)]());}[_0x5f56c6(0x1ad)](){const _0x53a068=_0x5f56c6;return _0x30e2ba['getSheetObject'](this['_context']['unit'],this[_0x53a068(0x2e4)]);}};_0x1abaed=_0x230297([_0x14bc2d(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x30e2ba[_0x5f56c6(0x2e7)])),_0x14bc2d(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x335c52)),_0x14bc2d(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x1dd)]))],_0x1abaed);function _0x4f0d39(_0x7d78cf){const _0x15cd9d=_0x5f56c6,_0x11fc7b=new Map();return _0x7d78cf[_0x15cd9d(0x57d)](_0x1fd662=>{const _0xe9b456=_0x15cd9d;if(_0x11fc7b['has'](_0x1fd662['selection'])){const _0x43f1fb=_0x11fc7b[_0xe9b456(0x44d)](_0x1fd662['selection']);_0x43f1fb[_0xe9b456(0x244)]+=',\x20'+_0x1fd662[_0xe9b456(0x244)];}else _0x11fc7b[_0xe9b456(0x4f1)](_0x1fd662['selection'],_0x1fd662);}),Array[_0x15cd9d(0x2b9)](_0x11fc7b[_0x15cd9d(0x182)]());}var _0x8d3ee=function(){const _0x3c7e15=_0x5f56c6;return _0x8d3ee=Object[_0x3c7e15(0x3f7)]||function(_0x805950){const _0xd35a62=_0x3c7e15;for(var _0xd6f92c,_0x4bb269=0x1,_0x2fe1a3=arguments[_0xd35a62(0x47d)];_0x4bb269<_0x2fe1a3;_0x4bb269++){_0xd6f92c=arguments[_0x4bb269];for(var _0x2ae59c in _0xd6f92c)Object[_0xd35a62(0x19d)][_0xd35a62(0x413)][_0xd35a62(0x424)](_0xd6f92c,_0x2ae59c)&&(_0x805950[_0x2ae59c]=_0xd6f92c[_0x2ae59c]);}return _0x805950;},_0x8d3ee[_0x3c7e15(0x257)](this,arguments);},_0x256be7=function(_0x5a37b1,_0x370601){const _0x5b0d56=_0x5f56c6;var _0x32ca65={};for(var _0x16d11c in _0x5a37b1)Object['prototype'][_0x5b0d56(0x413)][_0x5b0d56(0x424)](_0x5a37b1,_0x16d11c)&&_0x370601['indexOf'](_0x16d11c)<0x0&&(_0x32ca65[_0x16d11c]=_0x5a37b1[_0x16d11c]);if(_0x5a37b1!=null&&typeof Object[_0x5b0d56(0x58b)]=='function'){for(var _0x41d163=0x0,_0x16d11c=Object[_0x5b0d56(0x58b)](_0x5a37b1);_0x41d163<_0x16d11c[_0x5b0d56(0x47d)];_0x41d163++)_0x370601['indexOf'](_0x16d11c[_0x41d163])<0x0&&Object[_0x5b0d56(0x19d)]['propertyIsEnumerable'][_0x5b0d56(0x424)](_0x5a37b1,_0x16d11c[_0x41d163])&&(_0x32ca65[_0x16d11c[_0x41d163]]=_0x5a37b1[_0x16d11c[_0x41d163]]);}return _0x32ca65;},_0x41b95b=_0xf902af[_0x5f56c6(0x245)](function(_0x3c1ee3,_0xbc9b31){const _0x45261c=_0x5f56c6;var _0x133135=_0x3c1ee3[_0x45261c(0x25a)],_0x14f993=_0x3c1ee3['id'],_0x31d935=_0x3c1ee3[_0x45261c(0x3a0)],_0x1819b5=_0x3c1ee3[_0x45261c(0x168)],_0x209d7b=_0x256be7(_0x3c1ee3,[_0x45261c(0x25a),'id',_0x45261c(0x3a0),_0x45261c(0x168)]),_0x4c603e=_0x45261c(0x2e9)[_0x45261c(0x2e6)](_0x14f993,'\x20')[_0x45261c(0x2e6)](_0x31d935||'')[_0x45261c(0x43c)](),_0x5ead95=_0xf902af[_0x45261c(0x397)]('_'[_0x45261c(0x2e6)](_0x3a472f()));return _0x48e96d(_0x133135,''[_0x45261c(0x2e6)](_0x14f993),{'defIds':_0x133135[_0x45261c(0x593)],'idSuffix':_0x5ead95[_0x45261c(0x265)]},_0x8d3ee({'ref':_0xbc9b31,'className':_0x4c603e},_0x209d7b),_0x1819b5);});function _0x48e96d(_0x175b8e,_0x57689a,_0x15ce53,_0x475329,_0x28d337){const _0xb87cf3=_0x5f56c6;return _0xf902af['createElement'](_0x175b8e[_0xb87cf3(0x508)],_0x8d3ee(_0x8d3ee({'key':_0x57689a},_0x39bc4a(_0x175b8e,_0x15ce53,_0x28d337)),_0x475329),(_0x3976da(_0x175b8e,_0x15ce53)['children']||[])['map'](function(_0x3bc8d6,_0x350da6){const _0x1e34f9=_0xb87cf3;return _0x48e96d(_0x3bc8d6,''[_0x1e34f9(0x2e6)](_0x57689a,'-')[_0x1e34f9(0x2e6)](_0x175b8e[_0x1e34f9(0x508)],'-')[_0x1e34f9(0x2e6)](_0x350da6),_0x15ce53,void 0x0,_0x28d337);}));}function _0x39bc4a(_0x17ec3c,_0x44d0f2,_0x3293cf){const _0x14d598=_0x5f56c6;var _0x5338f6=_0x8d3ee({},_0x17ec3c[_0x14d598(0x37e)]);_0x3293cf!=null&&_0x3293cf[_0x14d598(0x463)]&&_0x5338f6[_0x14d598(0x4d9)]===_0x14d598(0x463)&&(_0x5338f6[_0x14d598(0x4d9)]=_0x3293cf[_0x14d598(0x463)]);var _0x534850=_0x44d0f2[_0x14d598(0x593)];return!_0x534850||_0x534850[_0x14d598(0x47d)]===0x0||(_0x17ec3c[_0x14d598(0x508)]===_0x14d598(0x48e)&&_0x5338f6[_0x14d598(0x307)]&&(_0x5338f6[_0x14d598(0x307)]=_0x5338f6[_0x14d598(0x307)]+_0x44d0f2[_0x14d598(0x1bb)]),Object[_0x14d598(0x35e)](_0x5338f6)['forEach'](function(_0x48d0d9){const _0x2849b4=_0x14d598;var _0x3dab81=_0x48d0d9[0x0],_0x21fb8b=_0x48d0d9[0x1];typeof _0x21fb8b==_0x2849b4(0x556)&&(_0x5338f6[_0x3dab81]=_0x21fb8b['replace'](/url\(#(.*)\)/,_0x2849b4(0x38a)[_0x2849b4(0x2e6)](_0x44d0f2[_0x2849b4(0x1bb)],')')));})),_0x5338f6;}function _0x3976da(_0x1ef421,_0x4f4f08){const _0x7e112d=_0x5f56c6;var _0x38aaf3,_0x3390f5=_0x4f4f08[_0x7e112d(0x593)];return!_0x3390f5||_0x3390f5[_0x7e112d(0x47d)]===0x0?_0x1ef421:_0x1ef421['tag']===_0x7e112d(0x1cc)&&(!((_0x38aaf3=_0x1ef421['children'])===null||_0x38aaf3===void 0x0)&&_0x38aaf3['length'])?_0x8d3ee(_0x8d3ee({},_0x1ef421),{'children':_0x1ef421[_0x7e112d(0x335)][_0x7e112d(0x239)](function(_0x55151a){const _0x12648d=_0x7e112d;return typeof _0x55151a[_0x12648d(0x37e)]['id']==_0x12648d(0x556)&&_0x3390f5&&_0x3390f5[_0x12648d(0x16a)](_0x55151a[_0x12648d(0x37e)]['id'])>-0x1?_0x8d3ee(_0x8d3ee({},_0x55151a),{'attrs':_0x8d3ee(_0x8d3ee({},_0x55151a['attrs']),{'id':_0x55151a['attrs']['id']+_0x4f4f08[_0x12648d(0x1bb)]})}):_0x55151a;})}):_0x1ef421;}function _0x3a472f(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x41b95b[_0x5f56c6(0x40b)]=_0x5f56c6(0x24e);var _0x31dc23={'tag':'svg','attrs':{'fill':_0x5f56c6(0x2e1),'viewBox':_0x5f56c6(0x4c7),'width':_0x5f56c6(0x470),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f56c6(0x2d6)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x5f56c6(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x5f56c6(0x1cc),'attrs':{},'children':[{'tag':_0x5f56c6(0x183),'attrs':{'id':_0x5f56c6(0x4af)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'fill':_0x5f56c6(0x365),'d':_0x5f56c6(0x3e8)}}]}]}],'defIds':[_0x5f56c6(0x4af)]},_0x9f82e3=_0xf902af['forwardRef'](function(_0x422393,_0xecb27d){const _0x294312=_0x5f56c6;return _0xf902af[_0x294312(0x278)](_0x41b95b,Object[_0x294312(0x3f7)]({},_0x422393,{'id':_0x294312(0x47b),'ref':_0xecb27d,'icon':_0x31dc23}));});_0x9f82e3[_0x5f56c6(0x40b)]=_0x5f56c6(0x30b);var _0x2f4e41={'tag':_0x5f56c6(0x2f2),'attrs':{'fill':_0x5f56c6(0x2e1),'viewBox':_0x5f56c6(0x4ee),'width':_0x5f56c6(0x470),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f56c6(0x2c8)},'children':[{'tag':_0x5f56c6(0x58f),'attrs':{'stroke':_0x5f56c6(0x4b8),'d':_0x5f56c6(0x3d1),'strokeLinecap':'round','strokeLinejoin':_0x5f56c6(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x5f56c6(0x1cc),'attrs':{},'children':[{'tag':_0x5f56c6(0x183),'attrs':{'id':_0x5f56c6(0x16e)},'children':[{'tag':'path','attrs':{'fill':_0x5f56c6(0x365),'d':_0x5f56c6(0x3e8),'transform':_0x5f56c6(0x371)}}]}]}],'defIds':[_0x5f56c6(0x16e)]},_0x35b21c=_0xf902af[_0x5f56c6(0x245)](function(_0x4c8eaf,_0x5c885c){const _0x2d790e=_0x5f56c6;return _0xf902af[_0x2d790e(0x278)](_0x41b95b,Object['assign']({},_0x4c8eaf,{'id':_0x2d790e(0x2c6),'ref':_0x5c885c,'icon':_0x2f4e41}));});_0x35b21c[_0x5f56c6(0x40b)]=_0x5f56c6(0x155);function _0xd125e9(_0x2dd920){const _0x412975=_0x5f56c6;var _0x47cb5c,_0x4b019a,_0x548131='';if(typeof _0x2dd920==_0x412975(0x556)||typeof _0x2dd920=='number')_0x548131+=_0x2dd920;else{if(typeof _0x2dd920==_0x412975(0x210)){if(Array[_0x412975(0x400)](_0x2dd920)){var _0x534147=_0x2dd920[_0x412975(0x47d)];for(_0x47cb5c=0x0;_0x47cb5c<_0x534147;_0x47cb5c++)_0x2dd920[_0x47cb5c]&&(_0x4b019a=_0xd125e9(_0x2dd920[_0x47cb5c]))&&(_0x548131&&(_0x548131+='\x20'),_0x548131+=_0x4b019a);}else{for(_0x4b019a in _0x2dd920)_0x2dd920[_0x4b019a]&&(_0x548131&&(_0x548131+='\x20'),_0x548131+=_0x4b019a);}}}return _0x548131;}function _0x4f2541(){const _0x338829=_0x5f56c6;for(var _0x44593e,_0x3ed689,_0x283d88=0x0,_0x3e43ed='',_0x7d32a3=arguments[_0x338829(0x47d)];_0x283d88<_0x7d32a3;_0x283d88++)(_0x44593e=arguments[_0x283d88])&&(_0x3ed689=_0xd125e9(_0x44593e))&&(_0x3e43ed&&(_0x3e43ed+='\x20'),_0x3e43ed+=_0x3ed689);return _0x3e43ed;}const _0x4aec9d={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x5f56c6(0x53d),'onlineStatus':_0x5f56c6(0x33b),'online':'univer-online','offline':_0x5f56c6(0x581)};function _0x44be0c(_0x463c9a){const _0x2ee77e=_0x5f56c6;switch(_0x463c9a){case _0x4cac76[_0x2ee77e(0x385)]:return _0x2ee77e(0x24c);case _0x4cac76['CONFLICT']:return _0x2ee77e(0x269);case _0x4cac76[_0x2ee77e(0x1ae)]:return'collabStatus.fetchMiss';case _0x4cac76[_0x2ee77e(0x352)]:return _0x2ee77e(0x50c);case _0x4cac76[_0x2ee77e(0x53f)]:case _0x4cac76[_0x2ee77e(0x35f)]:return'collabStatus.syncing';case _0x4cac76[_0x2ee77e(0x2bd)]:case _0x4cac76[_0x2ee77e(0x229)]:return _0x2ee77e(0x249);}}function _0x4cc35e(_0xec5c3f){const _0x3270b9=_0x5f56c6,{status$:_0x5b417a}=_0xec5c3f,_0x2a25e6=_0x279664[_0x3270b9(0x33d)](_0x5b417a,_0x4cac76[_0x3270b9(0x352)]),_0x4a1d05=_0x29630e[_0x3270b9(0x573)](_0x29630e[_0x3270b9(0x285)]),_0xe230aa=_0x29630e[_0x3270b9(0x573)](_0x4fdbaf[_0x3270b9(0x580)]),_0x2be350=_0x2a25e6!==_0x4cac76['OFFLINE'],_0x5a09d4=_0x4a1d05['t'](_0x44be0c(_0x2a25e6)),_0x4e62ab=_0x4f2541(_0x4aec9d[_0x3270b9(0x3d3)],{[_0x4aec9d['online']]:_0x2be350,[_0x4aec9d['offline']]:!_0x2be350}),_0x335fdb=_0x2be350?_0xf902af[_0x3270b9(0x278)](_0x35b21c,null):_0xf902af['createElement'](_0x9f82e3,null),_0x5b864a=_0xf902af['useCallback'](()=>{const _0x2900ae=_0x3270b9;_0x2be350||_0xe230aa[_0x2900ae(0x22b)]();},[_0x2be350,_0xe230aa]);function _0x3d0d7d(){const _0x51cb85=_0x3270b9;return _0xf902af['createElement']('div',{'className':_0x4e62ab,'onClick':_0x5b864a},_0xf902af['createElement'](_0x51cb85(0x40f),{'className':_0x4aec9d[_0x51cb85(0x363)]},_0x335fdb),_0xf902af['createElement']('div',{'className':_0x4aec9d[_0x51cb85(0x282)]},_0x5a09d4));}return _0x2be350?_0x3d0d7d():_0xf902af[_0x3270b9(0x278)](_0x2d4ff4[_0x3270b9(0x28b)],{'title':_0x4a1d05['t'](_0x3270b9(0x297))},_0x3d0d7d());}var _0x34809e=Object[_0x5f56c6(0x17a)],_0x429e12=Object[_0x5f56c6(0x47e)],_0x4ccdb6=(_0xbb0377,_0x503748,_0x376946,_0xdb7ce0)=>{const _0x49d3f4=_0x5f56c6;for(var _0x173175=_0xdb7ce0>0x1?void 0x0:_0xdb7ce0?_0x429e12(_0x503748,_0x376946):_0x503748,_0x188fd2=_0xbb0377[_0x49d3f4(0x47d)]-0x1,_0x313d55;_0x188fd2>=0x0;_0x188fd2--)(_0x313d55=_0xbb0377[_0x188fd2])&&(_0x173175=(_0xdb7ce0?_0x313d55(_0x503748,_0x376946,_0x173175):_0x313d55(_0x173175))||_0x173175);return _0xdb7ce0&&_0x173175&&_0x34809e(_0x503748,_0x376946,_0x173175),_0x173175;},_0x477ee4=(_0x27fe4d,_0x485c4c)=>(_0x500447,_0x3052c9)=>_0x485c4c(_0x500447,_0x3052c9,_0x27fe4d);_0x4fdbaf[_0x5f56c6(0x2e0)]=class extends _0x29630e['Disposable']{constructor(_0x2edb62,_0x261d06,_0x178bb3,_0x460584){const _0x383105=_0x5f56c6;super(),_0x48f470(this,'_status$',new _0x17e48c[(_0x383105(0x38b))](_0x4cac76['NOT_COLLAB'])),(this[_0x383105(0x434)]=_0x2edb62,this[_0x383105(0x435)]=_0x261d06,this[_0x383105(0x3cf)]=_0x178bb3,this[_0x383105(0x156)]=_0x460584,this['_initStatusComponent'](),this[_0x383105(0x555)]());}[_0x5f56c6(0x555)](){const _0x2b5ade=_0x5f56c6;this[_0x2b5ade(0x52f)](this[_0x2b5ade(0x434)]['focused$']['pipe'](_0x17e48c[_0x2b5ade(0x42c)](()=>{const _0x128dd8=_0x2b5ade,_0x298c11=this[_0x128dd8(0x434)][_0x128dd8(0x594)]();return _0x298c11?this['_collaborationController'][_0x128dd8(0x301)](_0x298c11['getUnitId']()):_0x17e48c['of'](null);}),_0x17e48c[_0x2b5ade(0x42c)](_0x415c2f=>_0x415c2f?_0x415c2f['status$']:_0x17e48c['of'](_0x4cac76[_0x2b5ade(0x352)])))[_0x2b5ade(0x18a)](_0x56f75e=>{const _0x4a3a96=_0x2b5ade;this[_0x4a3a96(0x190)][_0x4a3a96(0x17b)](_0x56f75e);}));}[_0x5f56c6(0x3c5)](){const _0x3188c4=_0x5f56c6;this[_0x3188c4(0x52f)](this['_uiPartsService']['registerComponent'](_0x279664['BuiltInUIPart']['HEADER_MENU'],()=>_0x29630e[_0x3188c4(0x1d6)](_0x1b2638({'status$':this['_status$'][_0x3188c4(0x2ac)]()}),this[_0x3188c4(0x3cf)])));}},_0x4fdbaf[_0x5f56c6(0x2e0)]=_0x4ccdb6([_0x477ee4(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x477ee4(0x1,_0x279664[_0x5f56c6(0x42f)]),_0x477ee4(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x477ee4(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x405)]))],_0x4fdbaf[_0x5f56c6(0x2e0)]);function _0x1b2638(_0x1b2b5d){const {status$:_0x132529}=_0x1b2b5d;return function(){const _0x5e7bf3=_0xe8fd;return _0xf902af[_0x5e7bf3(0x278)](_0x4cc35e,{'status$':_0x132529});};}const _0x558a6e=_0x29630e[_0x5f56c6(0x284)](_0x5f56c6(0x3c0));var _0x4b927d=Object['defineProperty'],_0x218482=Object[_0x5f56c6(0x47e)],_0x536ba9=(_0x35ffe5,_0x4ea7af,_0x83a723,_0x439149)=>{const _0x150982=_0x5f56c6;for(var _0x43613b=_0x439149>0x1?void 0x0:_0x439149?_0x218482(_0x4ea7af,_0x83a723):_0x4ea7af,_0x406a30=_0x35ffe5[_0x150982(0x47d)]-0x1,_0x1dba27;_0x406a30>=0x0;_0x406a30--)(_0x1dba27=_0x35ffe5[_0x406a30])&&(_0x43613b=(_0x439149?_0x1dba27(_0x4ea7af,_0x83a723,_0x43613b):_0x1dba27(_0x43613b))||_0x43613b);return _0x439149&&_0x43613b&&_0x4b927d(_0x4ea7af,_0x83a723,_0x43613b),_0x43613b;},_0x433333=(_0x128008,_0x59bdbd)=>(_0x12f32e,_0x457ab6)=>_0x59bdbd(_0x12f32e,_0x457ab6,_0x128008);_0x4fdbaf[_0x5f56c6(0x38f)]=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x599acf,_0x9a7b05,_0x2d8f91,_0x10ff69,_0x2d9a97,_0x56ed37){const _0x4e819a=_0x5f56c6;super(),this[_0x4e819a(0x52c)]=_0x599acf,this[_0x4e819a(0x3ac)]=_0x9a7b05,this[_0x4e819a(0x2a7)]=_0x2d8f91,this['_localCacheService']=_0x10ff69,this[_0x4e819a(0x2a3)]=_0x2d9a97,_0x56ed37?_0x56ed37==null||_0x56ed37[_0x4e819a(0x1e4)]()['then'](()=>this[_0x4e819a(0x436)]()):(this[_0x4e819a(0x3ac)][_0x4e819a(0x2fa)](_0x4e819a(0x482),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4e819a(0x436)]());}async[_0x5f56c6(0x436)](){const _0x5d86fa=_0x5f56c6,_0x9be867=this[_0x5d86fa(0x52c)][_0x5d86fa(0x2bc)](_0x5d86fa(0x3cb)),_0x3c4a28=this[_0x5d86fa(0x52c)][_0x5d86fa(0x2bc)](_0x5d86fa(0x566));if(!_0x9be867||!_0x3c4a28){this[_0x5d86fa(0x3ac)][_0x5d86fa(0x2fa)](_0x5d86fa(0x482),_0x5d86fa(0x520));return;}switch(Number(_0x3c4a28)){case _0x48039f['UNIVER_SHEET']:{const _0x2cbfc0=await this[_0x5d86fa(0x4c4)](_0x9be867);this['_setupSubUnitSync'](_0x2cbfc0);break;}case _0x48039f[_0x5d86fa(0x540)]:{await this['_loadDoc'](_0x9be867);break;}default:{this[_0x5d86fa(0x3ac)][_0x5d86fa(0x1fe)](_0x5d86fa(0x482),_0x5d86fa(0x538));break;}}}async[_0x5f56c6(0x35b)](_0x2e9c21){const _0x1baba1=_0x5f56c6;await this[_0x1baba1(0x2b5)](_0x2e9c21),_0x2e9c21[_0x1baba1(0x211)][_0x1baba1(0x300)](_0x17e48c[_0x1baba1(0x47a)](this[_0x1baba1(0x3ce)]))[_0x1baba1(0x18a)](_0x2504d6=>{const _0x24f54b=_0x1baba1;_0x2504d6&&this[_0x24f54b(0x177)](_0x2504d6);}),this[_0x1baba1(0x52c)][_0x1baba1(0x2b4)][_0x1baba1(0x300)](_0x17e48c['takeUntil'](this['dispose$']))[_0x1baba1(0x18a)](()=>this[_0x1baba1(0x2b5)](_0x2e9c21));}[_0x5f56c6(0x177)](_0x3f57b3,_0x342b64=!0x1){const _0x3c4cf6=_0x5f56c6,_0x239f17=this[_0x3c4cf6(0x52c)][_0x3c4cf6(0x2bc)](_0x3c4cf6(0x1f1));_0x3f57b3[_0x3c4cf6(0x15c)]()!==_0x239f17&&this[_0x3c4cf6(0x52c)][_0x3c4cf6(0x196)](_0x3c4cf6(0x1f1),_0x3f57b3['getSheetId'](),_0x342b64);}async['_updateSubUnitFromURLParams'](_0x274ba9){const _0x13585e=_0x5f56c6;var _0x4d2212;const _0x232b8e=this[_0x13585e(0x52c)]['getParam'](_0x13585e(0x1f1));if(!_0x232b8e||!_0x274ba9['getSheetBySheetId'](_0x232b8e)){const _0x4d10a1=_0x274ba9[_0x13585e(0x56a)]()[0x0],_0x421c57=_0x274ba9['getSheetBySheetId'](_0x4d10a1);if(!_0x421c57)return;this[_0x13585e(0x177)](_0x421c57,!0x0),await this['_commandService']['executeCommand'](_0x5decb0[_0x13585e(0x4d1)]['id'],{'unitId':_0x274ba9[_0x13585e(0x1a2)](),'subUnitId':_0x4d10a1});return;}((_0x4d2212=_0x274ba9['getActiveSheet']())==null?void 0x0:_0x4d2212[_0x13585e(0x15c)]())!==_0x232b8e&&await this[_0x13585e(0x2a7)][_0x13585e(0x180)](_0x5decb0[_0x13585e(0x4d1)]['id'],{'unitId':_0x274ba9[_0x13585e(0x1a2)](),'subUnitId':_0x232b8e});}async[_0x5f56c6(0x4c4)](_0x408d43){const _0x5e1d49=_0x5f56c6;let _0x59ce2a=0x0;const _0x252b4a=await this['_localCacheService'][_0x5e1d49(0x549)](_0x408d43);return _0x252b4a&&(_0x252b4a[_0x5e1d49(0x567)]||_0x252b4a['mutations'][_0x5e1d49(0x47d)]!==0x0)&&(_0x59ce2a=_0x252b4a['rev']),_0x59ce2a===0x0&&this[_0x5e1d49(0x3ac)][_0x5e1d49(0x2fa)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x5e1d49(0x503)](_0x408d43,_0x59ce2a);}async[_0x5f56c6(0x26c)](_0x964d53){const _0x282734=_0x5f56c6;let _0x470e28=0x0;const _0x3aa856=await this['_localCacheService'][_0x282734(0x549)](_0x964d53);return _0x3aa856&&(_0x3aa856[_0x282734(0x567)]||_0x3aa856[_0x282734(0x288)][_0x282734(0x47d)]!==0x0)&&(_0x470e28=_0x3aa856['rev']),_0x470e28===0x0&&this[_0x282734(0x3ac)][_0x282734(0x2fa)](_0x282734(0x482),_0x282734(0x1da)),this[_0x282734(0x2a3)][_0x282734(0x219)](_0x964d53,_0x470e28);}},_0x4fdbaf[_0x5f56c6(0x38f)]=_0x536ba9([_0x433333(0x0,_0x558a6e),_0x433333(0x1,_0x29630e['ILogService']),_0x433333(0x2,_0x29630e[_0x5f56c6(0x1a4)]),_0x433333(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x4fdbaf[_0x5f56c6(0x1d8)])),_0x433333(0x4,_0x29630e[_0x5f56c6(0x1d9)](_0x2a6d3d[_0x5f56c6(0x4d8)])),_0x433333(0x5,_0x29630e[_0x5f56c6(0x20f)](_0xa2266f[_0x5f56c6(0x36f)]))],_0x4fdbaf[_0x5f56c6(0x38f)]);var _0x54496f=Object[_0x5f56c6(0x17a)],_0x1e7605=Object[_0x5f56c6(0x47e)],_0x424562=(_0x20bbdb,_0x453a57,_0x37362c,_0x292337)=>{const _0x5e7d41=_0x5f56c6;for(var _0x12db8e=_0x292337>0x1?void 0x0:_0x292337?_0x1e7605(_0x453a57,_0x37362c):_0x453a57,_0x5f061f=_0x20bbdb[_0x5e7d41(0x47d)]-0x1,_0x4929b8;_0x5f061f>=0x0;_0x5f061f--)(_0x4929b8=_0x20bbdb[_0x5f061f])&&(_0x12db8e=(_0x292337?_0x4929b8(_0x453a57,_0x37362c,_0x12db8e):_0x4929b8(_0x12db8e))||_0x12db8e);return _0x292337&&_0x12db8e&&_0x54496f(_0x453a57,_0x37362c,_0x12db8e),_0x12db8e;},_0x30f65f=(_0xe35bd0,_0xb17674)=>(_0x3b2d8a,_0x3ae465)=>_0xb17674(_0x3b2d8a,_0x3ae465,_0xe35bd0);const _0xe9a0f6=_0x5f56c6(0x537),_0x5a7125=_0x5f56c6(0x2c0);let _0x20f8f4=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x6c8701,_0x2449d9){const _0x551026=_0x5f56c6;super(),this[_0x551026(0x434)]=_0x6c8701,this[_0x551026(0x4e8)]=_0x2449d9,this['_init']();}[_0x5f56c6(0x436)](){const _0x3fce38=_0x5f56c6;this[_0x3fce38(0x52f)](this['_univerInstanceService'][_0x3fce38(0x18f)][_0x3fce38(0x18a)](()=>{const _0x8a6abf=_0x3fce38;var _0x196ddd;const _0xf8b4f7=this[_0x8a6abf(0x434)][_0x8a6abf(0x594)]();let _0x47c714=(_0x196ddd=this[_0x8a6abf(0x4e8)]['getConfig'](_0xe9a0f6))!=null?_0x196ddd:_0x5a7125;_0xf8b4f7 instanceof _0x29630e[_0x8a6abf(0x579)]&&(_0x47c714=_0xf8b4f7[_0x8a6abf(0x244)]),document['title']=_0x47c714;}));}};_0x20f8f4=_0x424562([_0x30f65f(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x30f65f(0x1,_0x29630e[_0x5f56c6(0x34d)])],_0x20f8f4);var _0x50f828=Object[_0x5f56c6(0x17a)],_0x26a24d=Object[_0x5f56c6(0x47e)],_0xd69ff4=(_0x449e19,_0xffacdd,_0x41b22c,_0x3d9714)=>{for(var _0x412bbf=_0x3d9714>0x1?void 0x0:_0x3d9714?_0x26a24d(_0xffacdd,_0x41b22c):_0xffacdd,_0x2fa617=_0x449e19['length']-0x1,_0x10c3c7;_0x2fa617>=0x0;_0x2fa617--)(_0x10c3c7=_0x449e19[_0x2fa617])&&(_0x412bbf=(_0x3d9714?_0x10c3c7(_0xffacdd,_0x41b22c,_0x412bbf):_0x10c3c7(_0x412bbf))||_0x412bbf);return _0x3d9714&&_0x412bbf&&_0x50f828(_0xffacdd,_0x41b22c,_0x412bbf),_0x412bbf;},_0x52aa34=(_0x590bc0,_0x12aafd)=>(_0x2476a9,_0x371c81)=>_0x12aafd(_0x2476a9,_0x371c81,_0x590bc0);let _0x33b992=class{constructor(_0x18a4cf,_0x101089,_0x5f01b4){const _0x3ac21d=_0x5f56c6;this[_0x3ac21d(0x4e8)]=_0x18a4cf,this['_httpService']=_0x101089,this[_0x3ac21d(0x42e)]=_0x5f01b4,this[_0x3ac21d(0x3bb)]();}['init'](){const _0x448940=_0x5f56c6;this['_httpService'][_0x448940(0x3f1)]({'priority':0x1,'interceptor':(_0x39df0c,_0x30f01f)=>_0x30f01f(_0x39df0c)[_0x448940(0x300)](_0x17e48c[_0x448940(0x3db)](async _0xcfff5d=>{const _0x4a71c2=_0x448940,_0x18b96d=_0xcfff5d;if(_0x18b96d[_0x4a71c2(0x4ce)]===0x191&&window[_0x4a71c2(0x329)](this[_0x4a71c2(0x42e)]['t'](_0x4a71c2(0x342)))){const _0x555e2e=window[_0x4a71c2(0x550)](window[_0x4a71c2(0x2db)][_0x4a71c2(0x3ab)]);window[_0x4a71c2(0x2db)][_0x4a71c2(0x3ab)]=this[_0x4a71c2(0x4ff)]()+_0x4a71c2(0x343)+_0x555e2e;}return _0x18b96d;}))});}[_0x5f56c6(0x4ff)](){const _0x3d3d71=_0x5f56c6;var _0x384772,_0x40ee58;const _0x4f700b=this[_0x3d3d71(0x4e8)][_0x3d3d71(0x1e0)](_0x550a35),_0x54ba10=this[_0x3d3d71(0x4e8)][_0x3d3d71(0x1e0)](_0x1573c4);return(_0x40ee58=(_0x384772=_0x54ba10==null?void 0x0:_0x54ba10['loginUrlKey'])!=null?_0x384772:_0x4f700b)!=null?_0x40ee58:_0xb53a80;}};_0x33b992=_0xd69ff4([_0x52aa34(0x0,_0x29630e['IConfigService']),_0x52aa34(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x52aa34(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x285)]))],_0x33b992);var _0x50db61=Object[_0x5f56c6(0x17a)],_0xca52b1=Object[_0x5f56c6(0x47e)],_0x30ca2b=(_0x1184fd,_0x567744,_0x37696d,_0x1c2157)=>{for(var _0x43a6af=_0x1c2157>0x1?void 0x0:_0x1c2157?_0xca52b1(_0x567744,_0x37696d):_0x567744,_0x5643be=_0x1184fd['length']-0x1,_0x25ff03;_0x5643be>=0x0;_0x5643be--)(_0x25ff03=_0x1184fd[_0x5643be])&&(_0x43a6af=(_0x1c2157?_0x25ff03(_0x567744,_0x37696d,_0x43a6af):_0x25ff03(_0x43a6af))||_0x43a6af);return _0x1c2157&&_0x43a6af&&_0x50db61(_0x567744,_0x37696d,_0x43a6af),_0x43a6af;},_0x34fc86=(_0x1600d9,_0x2ef913)=>(_0x37643c,_0xa3cddd)=>_0x2ef913(_0x37643c,_0xa3cddd,_0x1600d9);const _0x8cedfd=_0x5f56c6(0x233),_0x4158f4=_0x5f56c6(0x1c8);_0x4fdbaf[_0x5f56c6(0x162)]=class extends _0x29630e[_0x5f56c6(0x1b6)]{constructor(_0x2a6596,_0x2b79bb){const _0x38ca32=_0x5f56c6;super(),this[_0x38ca32(0x333)]=_0x2a6596,this[_0x38ca32(0x4e8)]=_0x2b79bb,this[_0x38ca32(0x3a7)]();}[_0x5f56c6(0x3a7)](){const _0x4d3d55=_0x5f56c6,_0x52e2a5=this;this[_0x4d3d55(0x52f)](this[_0x4d3d55(0x333)][_0x4d3d55(0x3f1)]({'priority':0x3e7,'interceptor':_0x1f6627[_0x4d3d55(0x1e8)]({'isMatch'(_0x2d4721){const _0x42fbc1=_0x4d3d55;var _0x301084;if(_0x2d4721['method']===_0x42fbc1(0x43f)&&((_0x301084=_0x2d4721[_0x42fbc1(0x4e0)])!=null&&_0x301084[_0x42fbc1(0x4be)])){const {objectID:_0x2cc360,objectType:_0xb8ee5c}=_0x2d4721[_0x42fbc1(0x4e0)][_0x42fbc1(0x4be)]||{};if(!_0x2cc360||_0xb8ee5c===void 0x0)return!0x1;const _0x31822c=_0x52e2a5[_0x42fbc1(0x266)]()+'/'+_0xb8ee5c+'/object/'+_0x2cc360+'/allowed';if(_0x2d4721['url']===_0x31822c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5885de){const _0x216bea=_0x4d3d55;var _0x3afbcf;return(_0x3afbcf=_0x5885de[_0x216bea(0x4e0)])==null?void 0x0:_0x3afbcf['body'];},'mergeParamsToRequest'(_0x52abd2,_0x1c7b9e){const _0x148136=_0x4d3d55,_0x1fbed7=_0x52e2a5[_0x148136(0x266)]()+_0x148136(0x4c0),_0x58b4db=_0x52abd2['reduce']((_0x559ba0,_0x5164f0)=>{const _0x168377=_0x148136,{unitID:_0x4b8003,objectID:_0xa7fc56,objectType:_0x4379cb,actions:_0x851d7}=_0x5164f0;return _0x559ba0[_0x4b8003]||(_0x559ba0[_0x4b8003]={}),_0x559ba0[_0x4b8003][_0xa7fc56]||(_0x559ba0[_0x4b8003][_0xa7fc56]={'objectID':_0xa7fc56,'objectType':_0x4379cb,'actions':[]}),_0x559ba0[_0x4b8003][_0xa7fc56][_0x168377(0x4b2)][_0x168377(0x476)](..._0x851d7),_0x559ba0;},{}),_0x3780cd=[];for(const _0x44f095 in _0x58b4db)for(const _0x57800e in _0x58b4db[_0x44f095]){const {actions:_0x4842ef,objectType:_0x1ec12d}=_0x58b4db[_0x44f095][_0x57800e],_0x5f4fbb=[...new Set(_0x4842ef)];_0x3780cd['push']({'unitID':_0x44f095,'objectID':_0x57800e,'objectType':_0x1ec12d,'actions':_0x5f4fbb});}return new _0x1f6627[(_0x148136(0x173))](_0x148136(0x43f),_0x1fbed7,{'headers':_0x1c7b9e[_0x148136(0x25f)],'withCredentials':_0x1c7b9e[_0x148136(0x205)],'responseType':_0x1c7b9e[_0x148136(0x28f)],'body':{'requests':_0x3780cd}});}},{'distributeResult'(_0x55cd4b,_0x3961f6){const {objectActions:_0x13e7bf}=_0x55cd4b;return _0x3961f6['map'](_0x363bdf=>{const _0x49c832=_0xe8fd,{unitID:_0x3b0b9e,objectID:_0x273d9d,actions:_0x338fbe}=_0x363bdf,_0x19b0e8=_0x13e7bf[_0x49c832(0x2b0)](_0x5e8bfd=>_0x5e8bfd[_0x49c832(0x586)]===_0x3b0b9e&&_0x5e8bfd[_0x49c832(0x26b)]===_0x273d9d),_0x20513b=_0x338fbe[_0x49c832(0x239)](_0x519146=>_0x19b0e8==null?void 0x0:_0x19b0e8[_0x49c832(0x4b2)][_0x49c832(0x2b0)](_0x45c18a=>_0x45c18a[_0x49c832(0x49f)]===_0x519146))[_0x49c832(0x324)](_0x2ef7ee=>!!_0x2ef7ee);return{'config':_0x363bdf,'result':{'actions':_0x20513b,'error':_0x55cd4b[_0x49c832(0x1fe)]}};});}})}));}[_0x5f56c6(0x266)](){const _0x23ce29=_0x5f56c6;var _0x2010c6,_0x40319f;const _0x485219=this[_0x23ce29(0x4e8)]['getConfig'](_0x8cedfd),_0x4c72f2=this[_0x23ce29(0x4e8)][_0x23ce29(0x1e0)](_0x1573c4);return(_0x40319f=(_0x2010c6=_0x4c72f2==null?void 0x0:_0x4c72f2['authzUrl'])!=null?_0x2010c6:_0x485219)!=null?_0x40319f:_0x4158f4;}async['create'](_0x49082a){const _0xd9d7d2=_0x5f56c6,_0x1a7485=this['_getAPIPrefixPath']()+'/'+_0x49082a[_0xd9d7d2(0x2b2)]+'/object';return(await this[_0xd9d7d2(0x333)][_0xd9d7d2(0x351)](_0x1a7485,{'body':_0x49082a}))['body'][_0xd9d7d2(0x26b)]||'';}async[_0x5f56c6(0x440)](_0x32c700){const _0xd38261=_0x5f56c6,_0x4e98d0=this[_0xd38261(0x266)]()+'/-/object/list';return(await this[_0xd38261(0x333)]['post'](_0x4e98d0,{'body':_0x32c700}))[_0xd38261(0x4be)][_0xd38261(0x464)];}async[_0x5f56c6(0x563)](_0x2f8bf3){const _0x348752=_0x5f56c6,_0x1d0586=this[_0x348752(0x266)]()+'/'+_0x2f8bf3[_0x348752(0x2b2)]+'/object/'+_0x2f8bf3['objectID'];await this['_HTTPService'][_0x348752(0x490)](_0x1d0586,{'body':_0x2f8bf3});}async['allowed'](_0x5c7c5c){const _0x396734=_0x5f56c6,_0x106d10=this[_0x396734(0x266)]()+'/'+_0x5c7c5c[_0x396734(0x2b2)]+'/object/'+_0x5c7c5c[_0x396734(0x26b)]+_0x396734(0x473);return(await this[_0x396734(0x333)][_0x396734(0x351)](_0x106d10,{'body':_0x5c7c5c}))[_0x396734(0x4be)][_0x396734(0x4b2)];}async[_0x5f56c6(0x30d)](_0x57aa36){const _0x4be63b=_0x5f56c6,_0x4283f5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4be63b(0x333)][_0x4be63b(0x351)](_0x4283f5,{'body':{'requests':_0x57aa36}}))['body'][_0x4be63b(0x1a0)];}async[_0x5f56c6(0x201)](_0x6f8bc8){const _0x18f721=_0x5f56c6,_0x454e20=this['_getAPIPrefixPath']()+'/'+_0x6f8bc8[_0x18f721(0x2b2)]+_0x18f721(0x56b),_0x4d5d07=await this[_0x18f721(0x333)]['post'](_0x454e20,{'body':_0x6f8bc8});return{'roles':_0x4d5d07[_0x18f721(0x4be)]['roles'],'actions':_0x4d5d07['body'][_0x18f721(0x4b2)]};}async['deleteCollaborator'](_0x53d237){const _0x3f69f3=_0x5f56c6,_0x59cbfb=this[_0x3f69f3(0x266)]()+_0x3f69f3(0x46a);await this[_0x3f69f3(0x333)]['delete'](_0x59cbfb,{'params':{'collaboratorID':_0x53d237[_0x3f69f3(0x271)],'objectID':_0x53d237[_0x3f69f3(0x26b)],'unitID':_0x53d237[_0x3f69f3(0x586)]}});}async[_0x5f56c6(0x163)](_0x51317e){const _0x39a813=_0x5f56c6,_0x5f57df=this[_0x39a813(0x266)]()+_0x39a813(0x46a);await this[_0x39a813(0x333)][_0x39a813(0x588)](_0x5f57df,{'body':_0x51317e});}async[_0x5f56c6(0x557)](_0x26170f){const _0x1f0664=_0x5f56c6,_0x2d12ce=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1f0664(0x333)]['post'](_0x2d12ce,{'body':_0x26170f});}async['listCollaborators'](_0x1a975d){const _0x3197e6=_0x5f56c6,_0x3167ac=this[_0x3197e6(0x266)]()+_0x3197e6(0x46a);return(await this[_0x3197e6(0x333)][_0x3197e6(0x44d)](_0x3167ac,{'params':{'objectID':_0x1a975d[_0x3197e6(0x26b)],'unitID':_0x1a975d[_0x3197e6(0x586)]}}))[_0x3197e6(0x4be)][_0x3197e6(0x1f6)];}async[_0x5f56c6(0x382)](_0x41eecd){const _0x20f47e=_0x5f56c6,_0x3849fc=this[_0x20f47e(0x266)]()+_0x20f47e(0x46a);await this[_0x20f47e(0x333)][_0x20f47e(0x490)](_0x3849fc,{'body':_0x41eecd});}},_0x4fdbaf[_0x5f56c6(0x162)]=_0x30ca2b([_0x34fc86(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627['HTTPService'])),_0x34fc86(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['IConfigService']))],_0x4fdbaf[_0x5f56c6(0x162)]);var _0x339687=Object[_0x5f56c6(0x17a)],_0x31f7d8=Object[_0x5f56c6(0x47e)],_0x4e6024=(_0x2d8ac1,_0x3b7f7a,_0x2ce98e,_0x572522)=>{const _0x60e039=_0x5f56c6;for(var _0xcb9f8e=_0x572522>0x1?void 0x0:_0x572522?_0x31f7d8(_0x3b7f7a,_0x2ce98e):_0x3b7f7a,_0x35d259=_0x2d8ac1[_0x60e039(0x47d)]-0x1,_0x44ac68;_0x35d259>=0x0;_0x35d259--)(_0x44ac68=_0x2d8ac1[_0x35d259])&&(_0xcb9f8e=(_0x572522?_0x44ac68(_0x3b7f7a,_0x2ce98e,_0xcb9f8e):_0x44ac68(_0xcb9f8e))||_0xcb9f8e);return _0x572522&&_0xcb9f8e&&_0x339687(_0x3b7f7a,_0x2ce98e,_0xcb9f8e),_0xcb9f8e;},_0x4d3257=(_0x1c52ab,_0x4e5ed3)=>(_0x1db35b,_0x1fb4d8)=>_0x4e5ed3(_0x1db35b,_0x1fb4d8,_0x1c52ab);let _0xdcde98=class{constructor(_0xb8b765){const _0x2a4d52=_0x5f56c6;this['_httpService']=_0xb8b765,this[_0x2a4d52(0x575)]();}['_initRequestHeader'](){const _0x1a47b2=_0x5f56c6;this[_0x1a47b2(0x46b)]['registerHTTPInterceptor']({'interceptor':(_0x4d68c1,_0x24db34)=>{const _0x34e128=_0x1a47b2,_0x258df4=_0x4d68c1[_0x34e128(0x25f)],_0x5e9673=_0x4b1b03[_0x34e128(0x4eb)]();return _0x5e9673&&_0x258df4[_0x34e128(0x4f1)](_0x34e128(0x34c),_0x5e9673),_0x24db34(_0x4d68c1);}});}};_0xdcde98=_0x4e6024([_0x4d3257(0x0,_0x29630e['Inject'](_0x1f6627[_0x5f56c6(0x195)]))],_0xdcde98);var _0x2889c5=Object[_0x5f56c6(0x17a)],_0x3dec4c=Object['getOwnPropertyDescriptor'],_0x2082c1=(_0x19aadb,_0x4dfcee,_0x577c37,_0x13d086)=>{const _0x10a1c4=_0x5f56c6;for(var _0x186d0b=_0x13d086>0x1?void 0x0:_0x13d086?_0x3dec4c(_0x4dfcee,_0x577c37):_0x4dfcee,_0x4eadb5=_0x19aadb[_0x10a1c4(0x47d)]-0x1,_0x473dfc;_0x4eadb5>=0x0;_0x4eadb5--)(_0x473dfc=_0x19aadb[_0x4eadb5])&&(_0x186d0b=(_0x13d086?_0x473dfc(_0x4dfcee,_0x577c37,_0x186d0b):_0x473dfc(_0x186d0b))||_0x186d0b);return _0x13d086&&_0x186d0b&&_0x2889c5(_0x4dfcee,_0x577c37,_0x186d0b),_0x186d0b;},_0x55d5e2=(_0x4d55c8,_0x46027c)=>(_0x166d6f,_0xc23705)=>_0x46027c(_0x166d6f,_0xc23705,_0x4d55c8);const _0x3be6d0=[_0x5f56c6(0x37d),_0x5f56c6(0x1ec),'image/jpg','image/gif',_0x5f56c6(0x367)],_0x2a3cf6=0x5*0x400*0x400,_0x2e3790=_0x5f56c6(0x403),_0x4dfb3c='/universer-api/stream/file/upload',_0x494dbf=_0x5f56c6(0x1ac),_0x29682e='/universer-api/file/{fileID}/sign-url';_0x4fdbaf['ImageIoService']=class{constructor(_0x11949e,_0x2f8410,_0x4befad){const _0x5f41f5=_0x5f56c6;_0x48f470(this,_0x5f41f5(0x22a),0x0),_0x48f470(this,_0x5f41f5(0x376),new _0x17e48c[(_0x5f41f5(0x3be))]()),_0x48f470(this,_0x5f41f5(0x218),this['_change$']),_0x48f470(this,_0x5f41f5(0x258),new Map()),(this[_0x5f41f5(0x46b)]=_0x11949e,this[_0x5f41f5(0x4e8)]=_0x2f8410,this['_univerInstanceService']=_0x4befad);}[_0x5f56c6(0x488)](_0x4ac521){const _0x545205=_0x5f56c6;this['_waitCount']=_0x4ac521,this[_0x545205(0x376)][_0x545205(0x17b)](_0x4ac521);}[_0x5f56c6(0x489)](_0x5c5f97,_0x200a76){const _0xb01518=_0x5f56c6;if(_0x200a76===_0x97788b[_0xb01518(0x1fb)][_0xb01518(0x572)]){const _0x11aede=new Image();return _0x11aede[_0xb01518(0x3d0)]=_0x5c5f97,_0x11aede;}return this[_0xb01518(0x258)][_0xb01518(0x44d)](_0x5c5f97);}[_0x5f56c6(0x35c)](_0x32f7f8,_0x1fcbc0,_0x23778e){const _0x483191=_0x5f56c6;_0x1fcbc0===_0x97788b[_0x483191(0x1fb)][_0x483191(0x572)]||_0x23778e==null||this[_0x483191(0x258)][_0x483191(0x4f1)](_0x32f7f8,_0x23778e);}async[_0x5f56c6(0x1b2)](_0x485e0a){const _0xe57087=_0x5f56c6;try{const _0x2eb2c6=this['_replaceFileID'](this['_getSignURL'](),''+_0x485e0a),_0x5da6d1=(await this[_0xe57087(0x46b)][_0xe57087(0x44d)](_0x2eb2c6))[_0xe57087(0x4be)];if(_0x5da6d1[_0xe57087(0x1fe)]&&_0x5da6d1[_0xe57087(0x1fe)][_0xe57087(0x513)]===_0x5c7736['OK']){const _0x54bd9b=new URL(_0x5da6d1[_0xe57087(0x3b2)],this[_0xe57087(0x4f6)]())['toString']();return Promise[_0xe57087(0x1ce)](_0x54bd9b);}return Promise['reject'](_0x5da6d1[_0xe57087(0x1fe)]);}catch(_0x14d381){return Promise[_0xe57087(0x2f5)](_0x14d381);}}async[_0x5f56c6(0x439)](_0x1aad0c){const _0x3d21b4=_0x5f56c6;let _0x438447='';if(!_0x3be6d0[_0x3d21b4(0x3ba)](_0x1aad0c[_0x3d21b4(0x566)]))return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b['ImageUploadStatusType'][_0x3d21b4(0x3f6)]));if(_0x1aad0c[_0x3d21b4(0x4b5)]>_0x2a3cf6)return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b[_0x3d21b4(0x27d)]['ERROR_EXCEED_SIZE']));try{const _0x476512=new FormData();_0x476512[_0x3d21b4(0x3dd)]('file',_0x1aad0c);const _0x3059a8=this[_0x3d21b4(0x434)]['getFocusedUnit'](),_0x19cc3f=_0x3059a8==null?void 0x0:_0x3059a8[_0x3d21b4(0x1a2)]();if(!_0x19cc3f)throw new Error(_0x3d21b4(0x3d7));const _0xe8074f=this[_0x3d21b4(0x293)]()+_0x3d21b4(0x4fc)+_0x1aad0c[_0x3d21b4(0x4b5)]['toString']()+'&source='+_0x26c986['UnitEmbedded']+_0x3d21b4(0x283)+encodeURIComponent(_0x19cc3f),_0x3c12ec=await(await fetch(_0xe8074f,{'method':_0x3d21b4(0x43f),'body':_0x476512}))[_0x3d21b4(0x42d)]();if(typeof _0x3c12ec['FileId']!=_0x3d21b4(0x556))return this[_0x3d21b4(0x2f0)](),Promise['reject'](new Error(_0x97788b[_0x3d21b4(0x27d)][_0x3d21b4(0x321)]));_0x438447=_0x3c12ec[_0x3d21b4(0x49a)];}catch{return this[_0x3d21b4(0x2f0)](),Promise[_0x3d21b4(0x2f5)](new Error(_0x97788b['ImageUploadStatusType'][_0x3d21b4(0x321)]));}return new Promise((_0x370565,_0x50b0ee)=>{const _0xbdfe6e=new FileReader();_0xbdfe6e['readAsDataURL'](_0x1aad0c),_0xbdfe6e['onload']=_0x2ff745=>{const _0x56c14f=_0xe8fd;var _0x166aff;const _0x43a5ca=(_0x166aff=_0x2ff745[_0x56c14f(0x337)])==null?void 0x0:_0x166aff[_0x56c14f(0x240)];if(_0x43a5ca==null){this['_decreaseWaiting'](),_0x50b0ee(new Error(_0x97788b['ImageUploadStatusType'][_0x56c14f(0x321)]));return;}const _0x226107=_0x29630e[_0x56c14f(0x4a1)][_0x56c14f(0x2d5)](0x6);_0x370565({'imageId':_0x226107,'imageSourceType':_0x97788b[_0x56c14f(0x1fb)][_0x56c14f(0x4cc)],'source':_0x438447,'base64Cache':_0x43a5ca,'status':_0x97788b[_0x56c14f(0x27d)][_0x56c14f(0x51a)]}),this[_0x56c14f(0x2f0)]();};});}[_0x5f56c6(0x293)](){const _0x19180a=_0x5f56c6;var _0x1e493e,_0xe28360;const _0x29e94f=this[_0x19180a(0x4e8)]['getConfig'](_0x2e3790),_0x3d8627=this['_configService']['getConfig'](_0x1573c4);return(_0xe28360=(_0x1e493e=_0x3d8627==null?void 0x0:_0x3d8627['uploadFileServerUrl'])!=null?_0x1e493e:_0x29e94f)!=null?_0xe28360:_0x4dfb3c;}[_0x5f56c6(0x32e)](){const _0x2b899b=_0x5f56c6;var _0x48d933,_0x20a601;const _0x386f3e=this[_0x2b899b(0x4e8)][_0x2b899b(0x1e0)](_0x494dbf),_0x2b325a=this['_configService'][_0x2b899b(0x1e0)](_0x1573c4);return(_0x20a601=(_0x48d933=_0x2b325a==null?void 0x0:_0x2b325a[_0x2b899b(0x431)])!=null?_0x48d933:_0x386f3e)!=null?_0x20a601:_0x29682e;}[_0x5f56c6(0x4f6)](){const _0x3fc191=_0x5f56c6;var _0x597d46;const _0x548d2c=this['_configService'][_0x3fc191(0x1e0)](_0x1573c4);return(_0x597d46=_0x548d2c==null?void 0x0:_0x548d2c[_0x3fc191(0x234)])!=null?_0x597d46:location[_0x3fc191(0x358)];}[_0x5f56c6(0x16f)](_0x544f56,_0x5c6b25){const _0x58c96b=_0x5f56c6;return _0x544f56['replace'](_0x58c96b(0x536),_0x5c6b25);}[_0x5f56c6(0x2f0)](){const _0x2ec0c5=_0x5f56c6;this[_0x2ec0c5(0x22a)]-=0x1,this[_0x2ec0c5(0x376)][_0x2ec0c5(0x17b)](this[_0x2ec0c5(0x22a)]);}},_0x4fdbaf[_0x5f56c6(0x525)]=_0x2082c1([_0x55d5e2(0x0,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627[_0x5f56c6(0x195)])),_0x55d5e2(0x1,_0x29630e['IConfigService']),_0x55d5e2(0x2,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e['IUniverInstanceService']))],_0x4fdbaf[_0x5f56c6(0x525)]);var _0x419a39=Object[_0x5f56c6(0x17a)],_0x41213f=Object[_0x5f56c6(0x47e)],_0x2271ce=(_0xe5acc4,_0x297928,_0x4029b1,_0x2092c9)=>{const _0x3884ba=_0x5f56c6;for(var _0x479bb2=_0x2092c9>0x1?void 0x0:_0x2092c9?_0x41213f(_0x297928,_0x4029b1):_0x297928,_0x41b9e9=_0xe5acc4[_0x3884ba(0x47d)]-0x1,_0x590eaf;_0x41b9e9>=0x0;_0x41b9e9--)(_0x590eaf=_0xe5acc4[_0x41b9e9])&&(_0x479bb2=(_0x2092c9?_0x590eaf(_0x297928,_0x4029b1,_0x479bb2):_0x590eaf(_0x479bb2))||_0x479bb2);return _0x2092c9&&_0x479bb2&&_0x419a39(_0x297928,_0x4029b1,_0x479bb2),_0x479bb2;},_0x5c6734=(_0xc56eac,_0x5cc861)=>(_0x91d124,_0x283ae8)=>_0x5cc861(_0x91d124,_0x283ae8,_0xc56eac);let _0x36dcd5=class extends _0x29630e[_0x5f56c6(0x213)]{constructor(_0x4c5634,_0x3adadc,_0x25db72,_0x486ed3,_0x373644){const _0x44d52e=_0x5f56c6;super(),this[_0x44d52e(0x3cf)]=_0x4c5634,this['_univerInstanceService']=_0x3adadc,this['_permissionService']=_0x25db72,this[_0x44d52e(0x402)]=_0x486ed3,this[_0x44d52e(0x375)]=_0x373644,this[_0x44d52e(0x23b)](),this[_0x44d52e(0x35d)]();}[_0x5f56c6(0x35d)](){const _0x5c5406=_0x5f56c6,_0x1304c9=async _0x275469=>{const _0x4d9e5f=_0xe8fd;(await this[_0x4d9e5f(0x402)]['requireSession'](_0x275469))[_0x4d9e5f(0x574)][_0x4d9e5f(0x300)](_0x56098d[_0x4d9e5f(0x324)](_0x5b42b5=>_0x5b42b5[_0x4d9e5f(0x256)]===_0x2a6d3d[_0x4d9e5f(0x56e)][_0x4d9e5f(0x34b)]),_0x56098d['takeUntil'](this[_0x4d9e5f(0x3ce)]))[_0x4d9e5f(0x18a)](_0x31de53=>{const _0x2ef08c=_0x4d9e5f,_0x54f3ce=_0x31de53,{reason:_0x108ddf}=_0x54f3ce[_0x2ef08c(0x54c)];this[_0x2ef08c(0x3cf)][_0x2ef08c(0x44d)](_0x279664[_0x2ef08c(0x24d)])[_0x2ef08c(0x2e8)]({'type':_0x2d4ff4[_0x2ef08c(0x2c7)][_0x2ef08c(0x27c)],'content':this[_0x2ef08c(0x375)]['t'](_0x2ef08c(0x411))+'('+_0x108ddf+')'}),this[_0x2ef08c(0x495)][_0x2ef08c(0x48a)](new _0x5decb0['WorkbookEditablePermission'](_0x275469)['id'],!0x1),this[_0x2ef08c(0x402)][_0x2ef08c(0x43e)](_0x275469);});};_0x17e48c['merge'](this[_0x5c5406(0x434)][_0x5c5406(0x3dc)](_0x29630e[_0x5c5406(0x438)]['UNIVER_SHEET']),this[_0x5c5406(0x434)][_0x5c5406(0x3dc)](_0x29630e['UniverInstanceType'][_0x5c5406(0x540)]))['pipe'](_0x56098d[_0x5c5406(0x239)](_0x258fd3=>_0x258fd3[_0x5c5406(0x1a2)]()),_0x56098d[_0x5c5406(0x324)](_0x3a5b9b=>!_0x29630e[_0x5c5406(0x401)](_0x3a5b9b)),_0x56098d[_0x5c5406(0x47a)](this['dispose$']))[_0x5c5406(0x18a)](_0x19f9c2=>{_0x1304c9(_0x19f9c2);});}[_0x5f56c6(0x23b)](){const _0x2ec750=_0x5f56c6,_0x58044b=async _0x4c0d76=>{const _0x4699d4=_0xe8fd;(await this[_0x4699d4(0x402)][_0x4699d4(0x494)](_0x4c0d76))[_0x4699d4(0x574)][_0x4699d4(0x300)](_0x56098d[_0x4699d4(0x324)](_0x3fb3d2=>_0x3fb3d2[_0x4699d4(0x256)]===_0x2a6d3d[_0x4699d4(0x56e)]['UPDATE_PERMISSION_OBJ']),_0x56098d[_0x4699d4(0x47a)](this['dispose$']))['subscribe'](_0x2bffe0=>{const _0x538778=_0x4699d4,_0x3a28f2=_0x2bffe0,{objectId:_0x1e3119}=_0x3a28f2[_0x538778(0x54c)],_0x5e7d9d=this['_injector']['get'](_0x30e2ba[_0x538778(0x170)]);_0x1e3119===_0x4c0d76?_0x5e7d9d[_0x538778(0x298)](_0x4c0d76):_0x5e7d9d['refreshPermission'](_0x4c0d76,_0x1e3119);});};_0x17e48c['merge'](this[_0x2ec750(0x434)][_0x2ec750(0x3dc)](_0x29630e['UniverInstanceType'][_0x2ec750(0x4b4)]),this[_0x2ec750(0x434)][_0x2ec750(0x3dc)](_0x29630e[_0x2ec750(0x438)][_0x2ec750(0x540)]))['pipe'](_0x56098d[_0x2ec750(0x239)](_0x31b5e7=>_0x31b5e7[_0x2ec750(0x1a2)]()),_0x56098d[_0x2ec750(0x324)](_0x211fbb=>!_0x29630e['isInternalEditorID'](_0x211fbb)),_0x56098d[_0x2ec750(0x47a)](this[_0x2ec750(0x3ce)]))['subscribe'](_0x157633=>{_0x58044b(_0x157633);});}};_0x36dcd5=_0x2271ce([_0x5c6734(0x0,_0x29630e['Inject'](_0x29630e['Injector'])),_0x5c6734(0x1,_0x29630e[_0x5f56c6(0x441)]),_0x5c6734(0x2,_0x29630e[_0x5f56c6(0x1b0)]),_0x5c6734(0x3,_0x29630e['Inject'](_0x4fdbaf[_0x5f56c6(0x580)])),_0x5c6734(0x4,_0x29630e['Inject'](_0x29630e[_0x5f56c6(0x285)]))],_0x36dcd5);var _0x51515f=Object[_0x5f56c6(0x17a)],_0x295efb=Object[_0x5f56c6(0x47e)],_0x2239ab=(_0x1c77ed,_0x113f0a,_0x4ae73a,_0x13939c)=>{const _0x2483fc=_0x5f56c6;for(var _0x26c43d=_0x13939c>0x1?void 0x0:_0x13939c?_0x295efb(_0x113f0a,_0x4ae73a):_0x113f0a,_0x146677=_0x1c77ed[_0x2483fc(0x47d)]-0x1,_0x2e3c0a;_0x146677>=0x0;_0x146677--)(_0x2e3c0a=_0x1c77ed[_0x146677])&&(_0x26c43d=(_0x13939c?_0x2e3c0a(_0x113f0a,_0x4ae73a,_0x26c43d):_0x2e3c0a(_0x26c43d))||_0x26c43d);return _0x13939c&&_0x26c43d&&_0x51515f(_0x113f0a,_0x4ae73a,_0x26c43d),_0x26c43d;},_0x59f169=(_0x2a951c,_0xf293ff)=>(_0x547864,_0x3c5085)=>_0xf293ff(_0x547864,_0x3c5085,_0x2a951c);_0x4fdbaf[_0x5f56c6(0x308)]=class{constructor(_0x48a849,_0xcc0906){const _0x10342a=_0x5f56c6;this[_0x10342a(0x4e8)]=_0x48a849,this[_0x10342a(0x46b)]=_0xcc0906;}async[_0x5f56c6(0x334)](_0x963398,_0x453d15){const _0x54dcb5=_0x5f56c6;var _0x3d2369;const {unitID:_0x1ebbaa,type:_0x3cb74a,revision:_0x25490c=0x0}=_0x453d15,_0x7151e1=this[_0x54dcb5(0x446)]()+'/'+_0x3cb74a+_0x54dcb5(0x1a6)+_0x1ebbaa+_0x54dcb5(0x444)+_0x25490c,_0x3f0cac=(await this[_0x54dcb5(0x46b)][_0x54dcb5(0x44d)](_0x7151e1))[_0x54dcb5(0x4be)],_0x18009d=(_0x3d2369=_0x3f0cac['snapshot'])==null?void 0x0:_0x3d2369[_0x54dcb5(0x157)];if(_0x18009d){const _0x23c402=_0x18009d==null?void 0x0:_0x18009d[_0x54dcb5(0x54f)],_0x4cb98a=_0x2a6d3d[_0x54dcb5(0x46d)][_0x54dcb5(0x26e)](_0x2a6d3d[_0x54dcb5(0x516)](_0x23c402));_0x18009d[_0x54dcb5(0x54f)]=_0x4cb98a,Object[_0x54dcb5(0x35e)](_0x18009d['sheets'])[_0x54dcb5(0x57d)](([,_0x3b017b])=>{const _0x5bd9cb=_0x54dcb5,_0x4e0df9=_0x3b017b[_0x5bd9cb(0x54f)],_0x232533=_0x2a6d3d[_0x5bd9cb(0x46d)][_0x5bd9cb(0x26e)](_0x2a6d3d[_0x5bd9cb(0x516)](_0x4e0df9));_0x3b017b['originalMeta']=_0x232533;});}return _0x3f0cac;}async['getSheetBlock'](_0x28c8c5,_0xd659a5){const _0x278ef0=_0x5f56c6,{unitID:_0x55372f,type:_0x380c53,blockID:_0x1a411f}=_0xd659a5,_0x23ee7b=this[_0x278ef0(0x4c2)]()+'/'+_0x380c53+'/unit/'+_0x55372f+_0x278ef0(0x41c)+_0x1a411f;return(await this[_0x278ef0(0x46b)][_0x278ef0(0x44d)](_0x23ee7b))[_0x278ef0(0x4be)];}async[_0x5f56c6(0x22c)](_0x549718,_0x2478e6){const _0x14e8e6=_0x5f56c6,{unitID:_0x567ce3,type:_0x566a6a,blockID:_0x403ecb}=_0x2478e6,_0x2eb323=this[_0x14e8e6(0x4c2)]()+'/block/'+_0x566a6a+_0x14e8e6(0x1a6)+_0x567ce3+_0x14e8e6(0x41c)+_0x403ecb;return(await this['_httpService'][_0x14e8e6(0x44d)](_0x2eb323))[_0x14e8e6(0x4be)];}async['fetchMissingChangesets'](_0x1fd6ea,_0x4b2131){const _0x57edd0=_0x5f56c6,{unitID:_0x2a4a02,type:_0x3a4c78,from:_0x22c32c,to:_0x574066}=_0x4b2131,_0x1ef95f=this['_getAPIPrefix']()+'/'+_0x3a4c78+_0x57edd0(0x1a6)+_0x2a4a02+_0x57edd0(0x462)+_0x22c32c+'&to='+_0x574066;return(await this[_0x57edd0(0x46b)][_0x57edd0(0x44d)](_0x1ef95f))[_0x57edd0(0x4be)];}[_0x5f56c6(0x446)](){const _0x36bb0a=_0x5f56c6;var _0x4a7c09;return(_0x4a7c09=this[_0x36bb0a(0x4e8)]['getConfig'](_0x5242a1))!=null?_0x4a7c09:this[_0x36bb0a(0x4c2)]();}[_0x5f56c6(0x4c2)](){const _0x36a878=_0x5f56c6;var _0xde7b11,_0x2c44c2;const _0x38b7fe=this['_configService']['getConfig'](_0x93d6f0),_0x2e85f5=this['_configService'][_0x36a878(0x1e0)](_0x1573c4);return(_0x2c44c2=(_0xde7b11=_0x2e85f5==null?void 0x0:_0x2e85f5[_0x36a878(0x43d)])!=null?_0xde7b11:_0x38b7fe)!=null?_0x2c44c2:_0x46da86;}async[_0x5f56c6(0x223)](_0xd1bea2,_0x26625c){const _0x10ee9b=_0x5f56c6,_0x4aeb46=_0x10ee9b(0x569)+_0x26625c[_0x10ee9b(0x566)]+_0x10ee9b(0x1a6)+_0x26625c[_0x10ee9b(0x586)]+_0x10ee9b(0x248);return(await this[_0x10ee9b(0x46b)][_0x10ee9b(0x44d)](_0x4aeb46,{'params':{'resourceId':JSON[_0x10ee9b(0x4a4)](_0x26625c['resourceIDs'])}}))[_0x10ee9b(0x4be)];}[_0x5f56c6(0x316)](){const _0x5c0208=_0x5f56c6;throw new Error(_0x5c0208(0x3bd));}[_0x5f56c6(0x50d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5f56c6(0x49d)](){const _0xd3d8a7=_0x5f56c6;throw new Error(_0xd3d8a7(0x3bd));}[_0x5f56c6(0x303)](){const _0x47dfec=_0x5f56c6;throw new Error(_0x47dfec(0x3bd));}[_0x5f56c6(0x20e)](){const _0x302aab=_0x5f56c6;throw new Error(_0x302aab(0x3bd));}},_0x4fdbaf['SnapshotServerOverHTTPService']=_0x2239ab([_0x59f169(0x0,_0x29630e[_0x5f56c6(0x34d)]),_0x59f169(0x1,_0x29630e[_0x5f56c6(0x1d9)](_0x1f6627['HTTPService']))],_0x4fdbaf[_0x5f56c6(0x308)]);var _0x30ed9c=Object[_0x5f56c6(0x17a)],_0x4399cb=Object[_0x5f56c6(0x47e)],_0x53fde3=(_0x353941,_0x408319,_0x1258de,_0x180444)=>{const _0x1aa7b8=_0x5f56c6;for(var _0x5346e1=_0x180444>0x1?void 0x0:_0x180444?_0x4399cb(_0x408319,_0x1258de):_0x408319,_0x375bf8=_0x353941[_0x1aa7b8(0x47d)]-0x1,_0x34fbb0;_0x375bf8>=0x0;_0x375bf8--)(_0x34fbb0=_0x353941[_0x375bf8])&&(_0x5346e1=(_0x180444?_0x34fbb0(_0x408319,_0x1258de,_0x5346e1):_0x34fbb0(_0x5346e1))||_0x5346e1);return _0x180444&&_0x5346e1&&_0x30ed9c(_0x408319,_0x1258de,_0x5346e1),_0x5346e1;},_0x180e4d=(_0x43d417,_0x1337b9)=>(_0x29ca07,_0x1274de)=>_0x1337b9(_0x29ca07,_0x1274de,_0x43d417);let _0x5eb668=class extends _0x29630e[_0x5f56c6(0x465)]{constructor(_0x1e6570,_0x4dc58f,_0x3bb150,_0xabdb2,_0x262f59){const _0x4b3154=_0x5f56c6;super(_0x1e6570,_0x4dc58f,_0x3bb150),this[_0x4b3154(0x4ab)]=_0xabdb2,this['_logService']=_0x262f59;}['transformUndoRedo'](_0x2f6419,_0x4654cd){const _0x1c83b2=_0x5f56c6,_0x445cf3=this[_0x1c83b2(0x2d9)](_0x2f6419);if(_0x445cf3)try{const _0x210248=this[_0x1c83b2(0x4cd)](_0x445cf3,_0x4654cd);this[_0x1c83b2(0x386)](_0x2f6419,_0x210248);}catch(_0x477013){this[_0x1c83b2(0x3ac)][_0x1c83b2(0x1fe)](_0x1c83b2(0x414),_0x477013),this['_clearUndo'](_0x2f6419);}const _0x260a46=this[_0x1c83b2(0x4fe)](_0x2f6419);if(_0x260a46)try{const _0x52e65f=this[_0x1c83b2(0x4cd)](_0x260a46,_0x4654cd);this[_0x1c83b2(0x2a6)](_0x2f6419,_0x52e65f);}catch(_0x217fc0){this['_logService'][_0x1c83b2(0x1fe)](_0x217fc0),this[_0x1c83b2(0x3d9)](_0x2f6419);}}[_0x5f56c6(0x2a1)](_0x33cbee){const _0x3f0022=_0x5f56c6,_0x17a556=this['_getUndoStack'](_0x33cbee);_0x17a556&&(_0x17a556[_0x3f0022(0x47d)]=0x0,this[_0x3f0022(0x274)]());}['_clearRedo'](_0x225e5d){const _0x43433b=_0x5f56c6,_0x47dc50=this[_0x43433b(0x4fe)](_0x225e5d);_0x47dc50&&(_0x47dc50[_0x43433b(0x47d)]=0x0,this[_0x43433b(0x274)]());}['_substituteUndoStack'](_0x55c3d0,_0x4b3c01){const _0x213db3=_0x5f56c6;this[_0x213db3(0x161)][_0x213db3(0x4f1)](_0x55c3d0,_0x4b3c01),this['_updateStatus']();}[_0x5f56c6(0x2a6)](_0x448a58,_0x229fb3){const _0x4212e9=_0x5f56c6;this[_0x4212e9(0x255)][_0x4212e9(0x4f1)](_0x448a58,_0x229fb3),this[_0x4212e9(0x274)]();}[_0x5f56c6(0x4cd)](_0x2c8c17,_0x149b85){const _0x525290=_0x5f56c6,_0x4426db=[];let _0xdf2163=_0x149b85,_0x197817=_0x149b85;for(let _0x1f0d26=_0x2c8c17[_0x525290(0x47d)]-0x1;_0x1f0d26>=0x0;_0x1f0d26--){const {unitID:_0x62c5cc,undoMutations:_0x4ebdb0,redoMutations:_0x1d6d8f}=_0x2c8c17[_0x1f0d26],_0x2123ae=this[_0x525290(0x4ab)]['transformMutationsWithChangeset'](_0xdf2163,_0x4ebdb0),_0x351356=this['_transformService']['transformMutationsWithChangeset'](_0x197817,_0x1d6d8f);if(_0x2a6d3d['isTransformMutationsWithChangesetFailure'](_0x2123ae)||_0x2a6d3d[_0x525290(0x54e)](_0x351356)){this['_logService'][_0x525290(0x1fe)](_0x525290(0x414),_0x525290(0x426),_0x2123ae,_0x351356);break;}_0xdf2163=_0x2123ae[_0x525290(0x33c)],_0x197817=_0x351356[_0x525290(0x33c)],_0x4426db[_0x525290(0x476)]({'unitID':_0x62c5cc,'undoMutations':_0x2123ae[_0x525290(0x3fc)],'redoMutations':_0x351356[_0x525290(0x3fc)]});}return _0x4426db['reverse']();}};_0x5eb668=_0x53fde3([_0x180e4d(0x0,_0x29630e[_0x5f56c6(0x441)]),_0x180e4d(0x1,_0x29630e[_0x5f56c6(0x1a4)]),_0x180e4d(0x2,_0x29630e[_0x5f56c6(0x3a4)]),_0x180e4d(0x3,_0x2a6d3d[_0x5f56c6(0x172)]),_0x180e4d(0x4,_0x29630e[_0x5f56c6(0x478)])],_0x5eb668);class _0xf6fcab extends _0x29630e[_0x5f56c6(0x213)]{constructor(){const _0x13a599=_0x5f56c6;super(),_0x48f470(this,_0x13a599(0x2b4)),this[_0x13a599(0x2b4)]=_0x17e48c[_0x13a599(0x18b)](window,'popstate')[_0x13a599(0x300)](_0x17e48c[_0x13a599(0x47a)](this[_0x13a599(0x3ce)]),_0x17e48c[_0x13a599(0x395)](0x1),_0x17e48c[_0x13a599(0x1c2)](void 0x0));}['setParam'](_0x1f8628,_0x1dc459,_0x1a4082=!0x1){const _0x1f2f02=_0x5f56c6,_0x3e94ca=new URL(window[_0x1f2f02(0x2db)][_0x1f2f02(0x3ab)]);_0x3e94ca['searchParams'][_0x1f2f02(0x4f1)](_0x1f8628,_0x1dc459),_0x1a4082?window[_0x1f2f02(0x2b7)]['replaceState']('','',_0x3e94ca['toString']()):window[_0x1f2f02(0x2b7)][_0x1f2f02(0x31b)]('','',_0x3e94ca[_0x1f2f02(0x468)]());}[_0x5f56c6(0x23e)](_0x2536b5,_0x47fc45=!0x1){const _0x3db9fe=_0x5f56c6,_0x9dd865=new URL(window[_0x3db9fe(0x2db)]['href']);_0x9dd865['searchParams'][_0x3db9fe(0x340)](_0x2536b5),_0x47fc45?window['history'][_0x3db9fe(0x209)]('','',_0x9dd865[_0x3db9fe(0x468)]()):window[_0x3db9fe(0x2b7)][_0x3db9fe(0x31b)]('','',_0x9dd865['toString']());}[_0x5f56c6(0x2bc)](_0x467eea){const _0x3fe256=_0x5f56c6;var _0x41e675;return(_0x41e675=new URL(window[_0x3fe256(0x2db)][_0x3fe256(0x3ab)])[_0x3fe256(0x392)][_0x3fe256(0x44d)](_0x467eea))!=null?_0x41e675:void 0x0;}}var _0x3e5268=Object[_0x5f56c6(0x17a)],_0x500936=Object['getOwnPropertyDescriptor'],_0x98753=(_0x61446,_0x54d9ad,_0x97781c)=>_0x54d9ad in _0x61446?_0x3e5268(_0x61446,_0x54d9ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x97781c}):_0x61446[_0x54d9ad]=_0x97781c,_0x26b343=(_0x14f9da,_0x2e87aa,_0x4070b3,_0x8a7cc0)=>{for(var _0x4d18e2=_0x8a7cc0>0x1?void 0x0:_0x8a7cc0?_0x500936(_0x2e87aa,_0x4070b3):_0x2e87aa,_0x23e5f7=_0x14f9da['length']-0x1,_0x14dce0;_0x23e5f7>=0x0;_0x23e5f7--)(_0x14dce0=_0x14f9da[_0x23e5f7])&&(_0x4d18e2=(_0x8a7cc0?_0x14dce0(_0x2e87aa,_0x4070b3,_0x4d18e2):_0x14dce0(_0x4d18e2))||_0x4d18e2);return _0x8a7cc0&&_0x4d18e2&&_0x3e5268(_0x2e87aa,_0x4070b3,_0x4d18e2),_0x4d18e2;},_0x28beaf=(_0x3dcd32,_0x28a3a4)=>(_0x4a7e08,_0x1a8a45)=>_0x28a3a4(_0x4a7e08,_0x1a8a45,_0x3dcd32),_0x587b46=(_0x5719b3,_0x5e41fd,_0x46de8e)=>_0x98753(_0x5719b3,_0x5e41fd+'',_0x46de8e);const _0x35f945=_0x5f56c6(0x176);_0x4fdbaf[_0x5f56c6(0x150)]=class extends _0x29630e[_0x5f56c6(0x1bc)]{constructor(_0x56d877=_0x2bff4b,_0x632a5e,_0xdbd08f,_0xab7813,_0x304dee){const _0x459354=_0x5f56c6;super(),this[_0x459354(0x181)]=_0x56d877,this[_0x459354(0x3ac)]=_0x632a5e,this[_0x459354(0x576)]=_0xdbd08f,this['_injector']=_0xab7813,this[_0x459354(0x4e8)]=_0x304dee;const {..._0x409cda}=this['_config'];this[_0x459354(0x4e8)]['setConfig'](_0x1573c4,_0x409cda);}[_0x5f56c6(0x3ae)](){const _0x492269=_0x5f56c6;this[_0x492269(0x3fa)](),this[_0x492269(0x235)]();}[_0x5f56c6(0x4c1)](){const _0x5dc7d4=_0x5f56c6;_0x29630e[_0x5dc7d4(0x4c8)](this[_0x5dc7d4(0x3cf)],[[_0x20f8f4]]);}[_0x5f56c6(0x350)](){const _0x4cb0ce=_0x5f56c6;this[_0x4cb0ce(0x3ad)]();}[_0x5f56c6(0x3fa)](){const _0x1fe96f=_0x5f56c6;var _0x1088f2,_0x3afa36,_0x18c657,_0x4c6993;this['_injector'][_0x1fe96f(0x55c)](_0x29630e[_0x1fe96f(0x394)])&&this[_0x1fe96f(0x3ac)][_0x1fe96f(0x1fe)](_0x1fe96f(0x460),_0x1fe96f(0x483));const _0x7e73f2=[[_0x29630e[_0x1fe96f(0x394)],{'useClass':_0x5eb668}],[_0x4fdbaf[_0x1fe96f(0x580)]],[_0x9c53bd],[_0x558a6e,{'useClass':_0xf6fcab}],[_0x4fdbaf[_0x1fe96f(0x2b3)]],[_0x4fdbaf[_0x1fe96f(0x1d8)]],[_0x1f6627[_0x1fe96f(0x1fd)]],[_0x300a71],[_0x1e6df8],[_0x403af6],[_0x4247e7],[_0x33b992],[_0xdcde98],[_0x4fa0d0],[_0x36dcd5],[_0x24f2a6,{'useClass':(_0x3afa36=(_0x1088f2=this[_0x1fe96f(0x181)])==null?void 0x0:_0x1088f2[_0x1fe96f(0x37c)])!=null?_0x3afa36:_0x4fdbaf['CollaborationSocketService']}],[_0x2a6d3d[_0x1fe96f(0x422)],{'useClass':_0x4fdbaf[_0x1fe96f(0x308)]}],[_0x29630e[_0x1fe96f(0x406)],{'useClass':_0x4fdbaf[_0x1fe96f(0x162)]}],[_0x97788b[_0x1fe96f(0x4dd)],{'useClass':_0x4fdbaf[_0x1fe96f(0x525)]}],[_0x4fdbaf[_0x1fe96f(0x405)]],[_0x4fdbaf[_0x1fe96f(0x38f)]],[_0x4fdbaf[_0x1fe96f(0x2e0)]],[_0x20f8f4],[_0x335c52]];(_0x18c657=this[_0x1fe96f(0x181)])!=null&&_0x18c657[_0x1fe96f(0x3d8)]&&_0x7e73f2['push']([_0x5bb5e3,{'useClass':_0x1b825f}]),_0x29630e[_0x1fe96f(0x561)](this[_0x1fe96f(0x3cf)],_0x29630e[_0x1fe96f(0x4d7)](_0x7e73f2,(_0x4c6993=this[_0x1fe96f(0x181)])==null?void 0x0:_0x4c6993[_0x1fe96f(0x475)]));}[_0x5f56c6(0x3ad)](){const _0x5aced7=_0x5f56c6;this[_0x5aced7(0x52f)](this['_renderManagerService']['registerRenderModule'](_0x29630e[_0x5aced7(0x438)][_0x5aced7(0x540)],[_0xe3da1a])),this['disposeWithMe'](this[_0x5aced7(0x576)][_0x5aced7(0x507)](_0x29630e[_0x5aced7(0x438)][_0x5aced7(0x4b4)],[_0x1abaed]));}['_initDependencies'](){const _0x3ca513=_0x5f56c6;var _0x443931,_0x4e244e;this['_injector'][_0x3ca513(0x44d)](_0x1f6627[_0x3ca513(0x195)])[_0x3ca513(0x3f1)]({'priority':0x14,'interceptor':_0x1f6627['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x443931=this[_0x3ca513(0x181)])!=null&&_0x443931[_0x3ca513(0x492)]||this[_0x3ca513(0x3cf)][_0x3ca513(0x44d)](_0x4fdbaf['LocalCacheService'])[_0x3ca513(0x167)](),(_0x4e244e=this[_0x3ca513(0x181)])!=null&&_0x4e244e['enableAuthServer']&&_0x29630e[_0x3ca513(0x4c8)](this['_injector'],[[_0x33b992]]),_0x29630e[_0x3ca513(0x4c8)](this[_0x3ca513(0x3cf)],[[_0xdcde98],[_0x335c52],[_0x4fdbaf[_0x3ca513(0x38f)]],[_0x4fdbaf[_0x3ca513(0x405)]],[_0x4fdbaf[_0x3ca513(0x2e0)]],[_0x36dcd5]]);}},_0x587b46(_0x4fdbaf[_0x5f56c6(0x150)],_0x5f56c6(0x421),_0x35f945),_0x4fdbaf[_0x5f56c6(0x150)]=_0x26b343([_0x29630e[_0x5f56c6(0x481)](_0x2a6d3d[_0x5f56c6(0x35a)],_0x1f6627['UniverNetworkPlugin']),_0x28beaf(0x1,_0x29630e[_0x5f56c6(0x478)]),_0x28beaf(0x2,_0x37c548[_0x5f56c6(0x276)]),_0x28beaf(0x3,_0x29630e[_0x5f56c6(0x1d9)](_0x29630e[_0x5f56c6(0x3c6)])),_0x28beaf(0x4,_0x29630e[_0x5f56c6(0x34d)])],_0x4fdbaf['UniverCollaborationClientPlugin']),_0x4fdbaf['AUTHZ_URL_KEY']=_0x8cedfd,_0x4fdbaf[_0x5f56c6(0x534)]=_0x513a4c,_0x4fdbaf[_0x5f56c6(0x159)]=_0x4650c3,_0x4fdbaf['CollaborationStatus']=_0x4cac76,_0x4fdbaf[_0x5f56c6(0x4f3)]=_0x4cc35e,_0x4fdbaf['CommentService']=_0x4fa0d0,_0x4fdbaf[_0x5f56c6(0x1ea)]=_0x17ca3f,_0x4fdbaf[_0x5f56c6(0x1f8)]=_0x3b0121,_0x4fdbaf[_0x5f56c6(0x570)]=_0x24f2a6,_0x4fdbaf[_0x5f56c6(0x52a)]=_0x558a6e,_0x4fdbaf[_0x5f56c6(0x366)]=_0x5831f1,_0x4fdbaf[_0x5f56c6(0x318)]=_0x550a35,_0x4fdbaf[_0x5f56c6(0x4a2)]=_0xd6482f,_0x4fdbaf[_0x5f56c6(0x57e)]=_0x467be1,_0x4fdbaf[_0x5f56c6(0x186)]=_0x93d6f0,_0x4fdbaf['SNAPSHOT_URL_KEY']=_0x5242a1,_0x4fdbaf['SessionStatus']=_0x90155,_0x4fdbaf[_0x5f56c6(0x189)]=_0x2b4d87,_0x4fdbaf[_0x5f56c6(0x26d)]=_0xf6fcab,_0x4fdbaf[_0x5f56c6(0x52d)]=_0x4377b7,_0x4fdbaf[_0x5f56c6(0x345)]=_0x14f3c4,Object[_0x5f56c6(0x17a)](_0x4fdbaf,Symbol['toStringTag'],{'value':_0x5f56c6(0x4ca)});}));function _0xe8fd(_0x1172a4,_0x13835b){const _0x4fa71c=_0x4fa7();return _0xe8fd=function(_0xe8fd7e,_0x5f349e){_0xe8fd7e=_0xe8fd7e-0x14f;let _0x540950=_0x4fa71c[_0xe8fd7e];return _0x540950;},_0xe8fd(_0x1172a4,_0x13835b);}function _0x4fa7(){const _0x4fa7ea=['beginPath','ILogService','CONFLICT','takeUntil','off-line-single','_roomMembers$','length','getOwnPropertyDescriptor','handleIRemoveCol','slice','DependentOn','[DataLoaderController]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enableLocalCache','getUnitStatus$','collaboration-session-retry','_handleHeartbeatEvent','setWaitCount','getImageSourceCache','updatePermissionPoint','[CollaborationEntity]','\x0aAfter:\x20','_colorAssignService','use','_exhaustRemoteChangesetQueue','put','_saveTaskMap','enableOfflineEditing','LIVESHARE_FETCH_OPERATIONS','requireSession','_permissionService','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','red300','HEARTBEAT_TIMEOUT','FileId','unshift','APPLY_DUPLICATED','saveChangeset','_changesetSessionId','action','row','Tools','RETRY_CONNECTING_MAX_COUNT_KEY','_resendTimeout','stringify','\x20in\x20_schedule.','registerRefRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleMoveRange','Rectangle','_onCursorDelete','_transformService','UNDEFINED','onCommentUpdate','randomUUID','off-line-single_clip0_910_343','_scheduleHeartbeat','docStateChange$','actions','_startDocCollabCursor','UNIVER_SHEET','size','_telemetryInfo','_handleEvent','currentColor','_rescheduleHeartbeat','removeMember','_clearLocalCache','bind','transformMutationsWithChangeset','body','labelPosition','/-/object/-/batch_allowed','onReady','_getAPIPrefix','then','_loadSheet','ONLINE','getDocRanges','0\x200\x2016\x2016','touchDependencies','exports','Module','RevisionService','UUID','_transformStack','status','UNRECOGNIZED','_startCollaboration','SetWorksheetActivateCommand','_disabled','compose','memberID','_changesetReqId','_sessionStatus$','mergeOverrideWithDependencies','SnapshotService','fill','_online','cursorInfo$','unit-cache-','IImageIoService','_showConflictNotification','_getCurrentRevision','requestParams','fetchThroughInterceptors','_revisionService','_updateState','roomMembers','currentSkeleton$','updateCursorEvent','_createHandler','_configService','hidden','_transformUndoredo','getAttachHeader','resend','awaiting_with_pending','0\x200\x2017\x2016','getAncestorScale','[CollaborationSessionService]:\x20socket\x20error','set','newValue','CollaborationStatusDisplay','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','JOIN','_getDownloadEndpointURL','UniverTelemetry','addObject','_onOffline','onRemoteRej','getCollabCursors$','?size=','_createInitialStateImpl','_getRedoStack','_getLoginPath','black','getOffsetConfig','_document','loadSheet','_queuedRemoteChangesets','_cursor','transformMutation','registerRenderModule','tag','NOT_FOUND','IBeforeCloseService','getSkeleton','collabStatus.notCollab','saveSheetBlock','Rect','1553985UlgFFC','setAlpha','_unitStatus','subUnitId','code','RegularPolygon','_socketService','b64DecodeUnicode','fromEventSubject','parseProtocolChangeset','onTransformRemoteChangesetByIMECache','SUCCUSS','onPointerMove$','CHANGESET_ACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSendChangesetTimeout','assignAColorForMemberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','_startTelemetryCollaborationNewChangeset','endColumn','_sender','ImageIoService','_send','handleInsertRangeMoveRight','debounce','getInterceptPoints','IURLService','_collabCursorState$','_urlService','deserializeToCombResponse','[PendingState]:\x20received\x20acknowledgement.','disposeWithMe','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_hover','COLLAB_SUBMIT_CHANGESET_URL_KEY','_onCombEvent','{fileID}','DEFAULT_FILE_NAME','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TEXT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onRemoteAck','_onLocalMutation','univer-online-status-title','failed\x20to\x20apply\x20missed\x20changesets!','AWAITING','UNIVER_DOC','UNIVER_PROJECT','_isPermissionRej','UniverLicense','_collaborationPaused','interceptor','unitId','open$','hide','loadOfflineData','CONNECTOR_DATA_TOO_LARGE','add','data','session','isTransformMutationsWithChangesetFailure','originalMeta','encodeURIComponent','selections','MSG_FOR_ERROR','/new_changes','handleDeleteRangeMoveLeft','_initStatusListener','string','createCollaborator','_clearOtherTimers','COMMENT_UPDATE','error$','TOO_MANY_REQUESTS','has','onTransformChange$','_docTransformSelectionsService','DeleteRangeMoveUpCommandId','INGEST','registerDependencies','INotificationService','update','_instanceService','[CollaborationSessionService]','type','awaitingChangeset','synced','/universer-api/snapshot/','getUnhiddenWorksheets','/role','awaiting','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CollaborationEvent','shouldCloseConn','ICollaborationSocketService','offline','BASE64','useDependency','event$','_initRequestHeader','_renderManagerService','_scheduleCollaborationTimeoutTimer','isTransformMutationsWithChangesetSuccess','Workbook','#FFF','purple300','_stopTelemetryCollaborationNewChangeset','forEach','SEND_CHANGESET_TIMEOUT_KEY','toggleOffline','CollaborationSessionService','univer-offline','getActiveSheet','_docSyncEditingCollabCursorService','@univerjs/engine-render','_unitID','unitID','UniverCollaborationClient','patch','textRanges','_listenToOfflineEvent','getOwnPropertySymbols','DOC_RANGE_TYPE','getWorkbookSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','path','restore','members','sid','defIds','getFocusedUnit','sessionStatus','_toggleOffline','UniverCollaborationClientPlugin','DocCollaborationEntity','_state','state','\x20to\x20','OnLineSingle','_collaborationController','workbook','_onConnectionOpen','COLLAB_WEB_SOCKET_URL_KEY','ITelemetryService','UnitSnapshot','getSheetId','SheetsSelectionsService','react','INTERNAL_ERROR','getCurrentUnitForType','_undoStacks','AuthzIoHttpService','updateCollaborator','_type','socket\x20close','UniverRpc','disableLocalCache','extend','_assignedColors','indexOf','send','FETCH_MISSING','cmd','on-line-single_clip0_910_349','_replaceFileID','SheetPermissionInitController','_docStateChangeManagerService','ITransformService','HTTPRequest','getCurrentRevOfUnit','setCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','_updateURLWithCurrentState','fillRule','pending','defineProperty','next','@univerjs/rpc','CollaborationSocketService','evenodd','_onRemoteChangeset','executeCommand','_config','values','clipPath','_removeCollabCursors','clear','SNAPSHOT_SERVER_URL_KEY','UNKNOWN_CMD','Unknown\x20user','SheetCollabCursorShape','subscribe','fromEvent','setShowComponents','_handleLeaveEvent','userID','focused$','_status$','_color','RemoveRowCommandId','getUnitType','INVALID_ARGUMENT','HTTPService','setParam','_anchor','transformRemoteChangeset','_eventUnsubscribe','take','PERMISSION_REJ','_undoRedoService','prototype','setInterval','_members','objectActions','mapDocumentTypeToUniverType','getUnitId','LICENSE_EXPORT_SIZE_EXCEEDED','ICommandService','changesets','/unit/','_candidateSocket','_sheetTransformSelectionsService','YUUMI_URL_COL_OUT_OF_RANGE','column','UserManagerService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getSheetObject','FETCH_MISS','font','IPermissionService','COLLAB_SUBMIT_CHANGESET_URL','getImage','handleInsertRangeMoveDown','_acknowledgedAwaitingChangeset','EmptyMutation','Disposable','replaceTextRanges','dispose','deserializeRangeWithSheet','_joinRoom','idSuffix','Plugin','startsWith','_telemetryService','getMergeData','_clearCollaborationTimeoutTimer','UniverCore','mapTo','transformUndoRedo','now','telemetry\x20info\x20is\x20not\x20initialized','rxjs','_id','/universer-api/authz','Warning','\x20-\x20','conflict.title','defs','toDisposable','resolve','onSendChangeset','updatePermissionObjEvent','fetch_missing','HELLO','text','getItem','VIEW_MAIN','connectInjector','[PendingState]:\x20received\x20rejection.','LocalCacheService','Inject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isTransformMutationFailure','m1Prime','ThemeService','resize','addEventListener','getConfig','transformByState','FromArray','_localStorageService','whenReady','lineTo','_onConflict','cursorInfo','MergeInterceptorFactory','_socketReady','HEARTBEAT_INTERVAL_KEY','EffectRefRangId','image/jpeg','measureText','params','_saveCache','RefRangeService','subunit','setShapeProps','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','NodePositionConvertToCursor','_executeRemoteChangeset','collaborators','clearTimeout','HEARTBEAT_TIMEOUT_KEY','_getCtorByUniverType','appendMutation','ImageSourceType','UniverUi','WebSocketService','error','_getAnchorBounding','onPointerEnter$','listRoles','_startSheetCollabCursor','fillText','IDLE','withCredentials','_localCacheService','_cursors','HttpExport','replaceState','@univerjs/telemetry','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getUndoRedoMutationParamsCache','moveTo','getLatestCsReqIdBySid','Optional','object','activeSheet$','DocIMEInputManagerService','RxDisposable','_scheduleTimestamp','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','newCsEvent','max','change$','loadDoc','UnitEmbedded','4404728sNYXIf','_name','[OfflineState]:\x20received\x20rejection.','collabCursorState$','rng','onStateChange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','incrementRevOfUnit','getResourcesRequest','_cachedData','[CollaborationSession]','top','getVpScrollXYInfoByPosToVp','VIEWPORT_KEY','PENDING','_waitCount','reconnect','getDeserializedSheetBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_beforeCloseService','_updateLocalCursor','fetchMiss','/universer-api/comb','UniverSheets','AUTHZ_URL_KEY','downloadEndpointUrl','_initDependencies','UNKNOWN_CODE','_snapshotServerService','ILocalStorageService','map','setItem','_initUnitPermissionChange','save\x20fail\x20reason\x20is\x20','doc.mutation.rich-text-editing','removeParam','_sheetSkeletonManagerService','result','...','updateOfflineData','_toggleOnline','name','forwardRef','@univerjs/docs','InsertSheetMutation','/resources','collabStatus.synced','_hovered','conflict.content','collabStatus.offline','IMessageService','UniverIcon','commentUpdate$','transformSelections','unknown','ColorKit','setActiveRange','liveShareNewHost','_redoStacks','eventID','apply','_imageSourceCache','_render','icon','SUBMIT_CHANGESET','visibilityState','@univerjs/sheets','MUTATION','headers','COLORS','_notificationService','setTimeout','_drawAnchor','_cursorInfo$','current','_getAPIPrefixPath','_waitForHeartbeatResponse','merge','collabStatus.conflict','CollaborationEntity','objectID','_loadDoc','WebURLService','encode','onMissedChangesetFetched','COMPRESS_MUTATION_APPLY','collaboratorID','_onRecvEvent','[CollaborationState]:\x20apply\x20error!','_updateStatus','arc','IRenderManagerService','reqId','createElement','onTransformIME','revision','641364gFwcMy','Error','ImageUploadStatusType','_ensureSubject','COMPLETION_FINISHED','_clearHeartbeatTimer','@univerjs/docs-ui','onlineStatusTitle','&assign=','createIdentifier','LocaleService','getTime','state$','mutations','_refreshCollabCursors','univer-pro.collaboration-client.single-active-unit-service','Tooltip','engine','permission.title','split','responseType','LIVESHARE_REQUEST_HOST','TEXT_RANGE_LAYER_INDEX','_retryConnectingTimer','_getUploadFileURL','UniverNetwork','_range','getRangePointData','collab-client.tooltip.reconnect','initWorkbookPermissionChange','_remoteChangesetQueue','capture','RECV','session.room-full','runRefRangeMutations','transformIMECache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','\x0aCurrent:\x20','_clearUndo','_handler','_snapshotService','reduce','deepClone','_substituteRedoStack','_commandService','_roomMembers','[OfflineState]:\x20received\x20changeset.','_sessions','CompressMutationService','asObservable','isTransformChangesetsSuccess','_refRangeService','@univerjs/design','find','getCellPositionByOffset','objectType','MemberService','urlChange$','_updateSubUnitFromURLParams','UniverSheetsUi','history','_drawRectRange','from','_initCommandExecutedListener','collaboration_new_changeset','getParam','SYNCED','_compressMutationService','LIVESHARE_OPERATION','Univer','delay','onlyLocal','createSocket','getCurrentUser','USERS_LEAVE','on-line-single','MessageType','url(#on-line-single_clip0_910_349)','_onJoinRoomEvent','parseChangesetToProtocol','_submitChangeset','round','_transformUndoRedoStack','APPLY_PERMISSION_DENIED','permissionRejEvent','skeleton','operators','[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.','joinEvent','_entityInit$','generateRandomId','url(#off-line-single_clip0_910_343)','_docSkeletonManagerService','exhaustSavingTask','_getUndoStack','_checkMissing','location','isActive','UniverCollaboration','getUnit','jiqing500','DesktopCollaborationStatusDisplayController','none','commentUpdateEvent','_createSocket','_context','collabWebSocketUrl','concat','SheetSkeletonManagerService','show','univerjs-icon\x20univerjs-icon-','DisposableCollection','_entities','submit\x20changeset\x20error!','_hideTimer','drawWith','HttpImport','_decreaseWaiting','getRenderById','svg','_ws','UPDATE_PERMISSION_OBJ','reject','c2Prime','_getScale','getRandomValues','_onUserLeave','debug','_tryEnsureSocket','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','with','APPLY_REJECT','pipe','getCollabEntity$','_incrementRevisionNumber','copyFileMeta','YUUMI_RATE_OVER_LIMIT','_sendHeartbeatTimer','CHANGESET_SHOULD_RETRY','xlink:href','SnapshotServerOverHTTPService','socket$','[FetchMissState]','OffLineSingle','getMember','batchAllowed','_http','toLowerCase','getColor','USERS_ENTER','_commentService','@univerjs/network','CommandType','_event$','saveSnapshot','some','LOGIN_URL_KEY','csShouldRetryEvent','_pendingMutations','pushState','_sendHeartbeat','4791712QClRIi','_colorIndex','transformChangesets','_anchorDot','ERROR_IMAGE','/universer-api/oidc/authpage','collaboration.single-unit.warning','filter','5356845jytHrS','handleInsertCol','UniverDesign','Vector2','confirm','save','getValue','_unlockTransition','getCurrent','_getSignURL','Undefined','routeKey','HEARTBEAT_INTERVAL','_transformIMECache','_HTTPService','getUnitOnRev','children','ranges','target','_socket$','onMissingChangesets','sendChangesetTimeout','univer-online-status','c1Prime','useObservable','_labelPosition','currentTheme$','delete','4149474dwVxSI','auth.needGotoLoginAlert','?url=','@univerjs-pro/collaboration','serializeCombRequest','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','InsertRangeMoveRightCommandId','editingUnit','unsubscribe','equals','SHOULD_CLOSE_CONN','x-univer-host','IConfigService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','onRendered','post','NOT_COLLAB','RETRY_CONNECTING_MAX_COUNT','_collabCursorController','UNAUTHENTICATED','distinctUntilChanged','_createInitialState','origin','sequenceExecute','UniverCollaborationPlugin','_setupSubUnitSync','addImageSourceCache','_initCloseConn','entries','AWAITING_WITH_PENDING','_initEventListeners','PERMISSION_DENIED','ReplaySubject','onlineStatusIcon','DocSkeletonManagerService','#fff','LOCAL_CACHE_INTERVAL_KEY','image/bmp','width','_shapes','15lOXdZb','_retryCount','@univerjs/ui','_draw','debounceTime','IRemoteInstanceService','ALREADY_EXISTS','translate(.97)','storage','onCommandExecuted','retryConnectingInterval','_localeService','_change$','CHANGESET_REVISION_CONFILICT','connection\x20error','_collabSessionService','toggleOnline','visibilitychange','socketService','image/png','attrs','FAIL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursorShapes','putCollaborators','updateMember','fillStyle','OFFLINE','_substituteUndoStack','_docTransformIMECacheService','_backgroundColor','_themeService','url(#$1','BehaviorSubject','@univerjs/drawing','LICENSE_MAX_UNITS_EXCEEDED','_shouldReportTelemetry','DataLoaderController','_textBubble','HEARTBEAT','searchParams','_selfUnitIDs','IUndoRedoService','shareReplay','_userManagerService','useRef','NodePositionConvertToRectRange','_schedule','_listenToOnlineEvent','onRemoteChangeset','message$','isPermissionRej','UniverDocsUi','_timeoutTimer','className','_awaitingChangeset','socket\x20open.','@univerjs/sheets-ui','IContextService','collab-text-anchor-','_socketMessageSubscription','_initMergeInterceptor','_onFetchMissResult','_messageService','SetSelectionsOperation','href','_logService','_registerRenderDependencies','onStarting','_scene','_onRemoteRetry','disposeUnit','url','_applyRemoteChangeset','sheetID','catch','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','symbol','pauseCollaboration','_setupBeforeClosingHandler','includes','init','_transformSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Subject','contains','uni.network.url-service','flatMap','_handleJoinEvent','ENSURE_SNAPSHOT_EXECUTION','LOCAL_CACHE_INTERVAL','_initStatusComponent','Injector','onTransformSelections','CollaborationSession','random','close','unit','_fetchMissChangesets','subscribeEvent','dispose$','_injector','src','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','_singleActiveUnitService','onlineStatus','fromCollab','roomInfos','session.connection-failed','unitId\x20is\x20not\x20found','enableSingleActiveInstanceLock','_clearRedo','_transformPreviousActiveRange','concatMap','getTypeOfUnitAdded$','append','baseRev','LICENSE_DISTRO_REJECTED','sessionStatus$','_unitOnClients','SNAPSHOT_URL_KEY','COLLAB_WEB_SOCKET_URL','registerBeforeClose','LIVESHARE_NEW_HOST','_heartbeatTimer','_sendingTimer','M0\x200H16V16H0z','duration','startColumn','ACTIVE_UNIT_EVENT_CHANNEL','_disableEditing','_clearTimeoutTimer','height','_removeClearOtherTimer','_onRemoteRejected','registerHTTPInterceptor','_onConnectionFailed','APPLY_REVISION_CONFILICT','_onCursorUpdate','conflict','ERROR_IMAGE_TYPE','assign','session.collaboration-timeout','RichTextEditingMutation','_registerDependencies','parse','m2Prime','CHANGESET_REJ','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','isArray','isInternalEditorID','_collaborationSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','key','CollaborationController','IAuthzIoService','getTypeOfUnitDisposed$','_resendWithTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_CURSOR','displayName','_scheduleClearOtherTimer','_handleHover','_removeRoom','div','Shape','collaboration.closeRoom','onPointerLeave$','hasOwnProperty','[CollaborationUndoRedoService]','LEAVE','editing\x20status\x20changed\x20to','_commentUpdate$','_transitionLocked','leaveEvent','getSheetBySheetId','getCoordByCell','/block/','_session','clearInterval','_socket','[OfflineState]:\x20received\x20acknowledgement.','pluginName','ISnapshotServerService','complete','call','_onRemoteACK','transformStack\x20failed!','_state$','backgroundColor','stopTime','transform','_syncEditingCollabCursorService','switchMap','json','localeService','IUIPartsService','_updateLocalCache','signUrlServerUrl','_throwTelemetryCollaborationNewChangeset','NEW_CHANGESETS','_univerInstanceService','_uiPartsService','_init','YUUMI_UNABLE_LOAD_URL','UniverInstanceType','saveImage','WorkbookEditablePermission','DocSelectionManagerService','trim','snapshotServerUrl','closeSession','POST','list','IUniverInstanceService','close$','_updateCollabCursors','/rev/','createInstance','_getSnapshotAPIPrefix','triggerDblclick','rxjs/operators','serializeRangeWithSheet','_lastPointer','closePath','_collaborationTimeoutTimer','get','_clearScheduledTask','addObjects','7dZiMPB','fetchMissingChangesets','_getSaveTimeout','LIVESHARE_TERMINATE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20rejection.','toRgbString','color','LICENSE_IMPORT_SIZE_EXCEEDED','_resendTimer','_syncEditingCollabCursor','collab-rect-range-','_onRefRangeChange','_scheduleSaving','_onMessage','59054RjXxxR','[UniverCollaborationClientPlugin]','React','/fetchmissing?from=','colorChannel1','objects','LocalUndoRedoService','@univerjs-pro/license','onMouseMove','toString','UNIVER_SLIDE','/collaborator','_httpService','status$','textEncoder','getAllMembers','onRemoteRetry','1em','_lockTransition','_tryReconnect','/allowed','getMemberID','override','push'];_0x4fa7=function(){return _0x4fa7ea;};return _0x4fa7();}
1
+ function _0x4308(){const _0x4cf37d=['_keySchedule','switchMap','top','DisposableCollection','toRgbString','UniverSheets','_id','use','_cursorShapes','UniverCollaborationClientPlugin','image/bmp','format','_instanceService','_handleJoinEvent','ICollaborationSocketService','Hex','engine','status$','WorkbookEditablePermission','mixIn','className','repeat','[CollaborationSession]','@univerjs/sheets','CONNECTOR_DATA_TOO_LARGE','_initEventListeners','_entities','defs','RETRY_CONNECTING_MAX_COUNT_KEY','collaboration_new_changeset','YUUMI_URL_COL_OUT_OF_RANGE','forEach','red300','WebSocketService','infoRsp','getValue','CollaborationStatus','IURLService','CollaborationEvent','_disableEditing','unit','rev','_onRecvEvent','dispose$','objectActions','deepClone','url(#off-line-single_clip0_910_343)','transformByState','focused$','Hasher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','socketService','_keyPriorReset','_onMessage','[OfflineState]:\x20received\x20acknowledgement.','setStateCache','USERS_ENTER','drawWith','_createHandler','WordArray','split','/universer-api/oidc/authpage','serializeCombRequest','splice','/object','slice','NoPadding','changesets','onSendChangeset','fill','_transformStateCache','_sendingTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','children','Encryptor','saveChangeset','univerjs-icon\x20univerjs-icon-','DeleteRangeMoveUpCommandId','getAncestorScale','state','_HTTPService','BehaviorSubject','_scheduleCollaborationTimeoutTimer','_createSocket','isEditing','3028tjTcjc','url(#$1','_removeRoom','kdf','Undefined','copyFileMeta','_onRefRangeChange','createIdentifier','get','_drawAnchor','toggleOnline','next','awaiting_with_pending','getUniverSheetInstance','resend','_rescheduleHeartbeat','list','ICommandService','_remoteChangesetQueue','event$','CollaborationEntity','HmacSHA1','_getSnapshotAPIPrefix','commentUpdate$','_lockTransition','_redoStacks','_changesetSessionId','push','runRefRangeMutations','blue400','_clearRedo','bottom','ceil','UniverDrawing','COMPLETION_FINISHED','jiqing500','getParam','_doReset','UNIVER_COLLABORATION_CLIENT_PLUGIN','USERS_LEAVE','_docTransformStateCacheService','getImageSourceCache','interceptor','getSheetId','change$','collabCursorState$','distinctUntilChanged','compose','subscribe','registerComponent','DeleteRangeMoveLeftCommandId','useCallback','_toggleOnline','_getCtorByUniverType','sin','_transformUndoRedoStack','history','icon','onTransformIME','conflict','extend','SEND_CHANGESET_TIMEOUT_KEY','objectID','_sheetSkeletonManagerService','_onCombEvent','redoState','isTransformChangesetsSuccess','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','localeService','title','_retryConnectingTimer','ISnapshotServerService','_refreshCollabCursors','_anchor','target','_unitID','dispose','roles','removeParam','unsubscribe','AuthzIoHttpService','ERROR_IMAGE','transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','session.will-retry','subscribeEvent','pluginName','connection\x20error','take','delete','_sender','getActiveSheet','allowed','UniverDesign','CipherParams','_clearOtherTimers','_getUploadFileURL','[CollaborationState]:\x20apply\x20error!','throttleTime','_getScale','deserializeToCombResponse','LOCAL_CACHE_INTERVAL','transformRemoteChangeset','getUnit','_updateLocalCursor','_undoStacks','SNAPSHOT_URL_KEY','FAIL','_sendHeartbeatTimer','toStringTag','image/jpg','_socket','offline','objects','registerBeforeClose','HEADER_MENU','liveShareOperation','onRemoteChangeset','setAlpha','pending','_cursors','updateCursorEvent','RECV','_roomMembers$','keySize','currentColor','_backgroundColor','univer-offline','_transformSelections','UNDEFINED','IBeforeCloseService','stopTime','displayName','editingUnit','pipe','_event$','addObject','UniverUi','TEXT_RANGE_LAYER_INDEX','post','liveShareNewHost','BASE64','onload','encrypt','onStarting','_resendTimer','responseType','_queuedRemoteChangesets','append','CBC','_singleActiveUnitService','_onRemoteChangeset','parseChangesetToProtocol','BlockCipher','reduce','_initStatusComponent','ciphertext','_hideTimer','_refRangeService','_initStatusListener','Univer','off-line-single_clip0_910_343','deleteCollaborator','7975287ZapPhe','HTTPRequest','downloadEndpointUrl','BuiltInUIPart','_socketReady','status','actions','_handleLeaveEvent','CommandType','ALREADY_EXISTS','1298379oMeZEg','originalMeta','_getCurrentRevision','shareReplay','Tools','CollaborationSessionService','ITelemetryService','getMemberID','_startDocCollabCursor','userID','RETRY_CONNECTING_MAX_COUNT','UNIVER_SLIDE','LEAVE','_nDataBytes','amd','createEncryptor','NOT_COLLAB','number','getCurrentRevOfUnit','_scheduleTimestamp','collabSubmitChangesetUrl','YUUMI_SUBSCRIPTION_NOT_FOUND','Optional','getInterceptPoints','_transformIMECache','_telemetryInfo','prototype','_data','open$','_map','APPLY_DUPLICATED','getTime','onCommentUpdate','_clearTimeoutTimer','Cipher','getSkeleton','startRow','visibilityState','Workbook','newValue','resourceIDs','UUID','compute','_collaborationPaused','syncEditingCollabCursor','location','UniverCollaborationPlugin','getCurrentUser','_syncEditingCollabCursor','setTimeout','SHOULD_CLOSE_CONN','transformChangesets','[PendingState]:\x20received\x20acknowledgement.','_disabled','getCoordByCell','_getDownloadEndpointURL','_onRemoteRetry','_docSyncEditingCollabCursorService','duration','getColor','patch','collabStatus.conflict','substring','disableLocalCache','listCollaborators','_loadDoc','SYNCED','toggleOffline','_joinRoom','undoState','onTransformRemoteChangesetByStateCache','_selfUnitIDs','generateRandomId','onTransformSelections','image/gif','_createInitialStateImpl','reset','enableAuthServer','_textBubble','UniverDocs','Vector2','SetWorksheetActivateCommand','debug','range','_scheduleHeartbeat','UNIVER_SHEET','_clearUndo','IPermissionService','_getSaveTimeout','UPDATE_CURSOR','_reverseMap','data','show','getDocRanges','csAckEvent','UNKNOWN_CMD','UniverDocsUi','decrypt','_cursorInfo$','OTHER_CLIENTS_EDITING','IContextService','_onLocalMutation','_getSheetObject','searchParams','joinRsp','div','LIVESHARE_TERMINATE','NEW_CHANGESETS','_removeCollabCursors','onlineStatus','CHANGESET_SHOULD_RETRY','Error\x20on\x20receiving\x20event','msCrypto','/rev/','HttpImport','clearInterval','serializeRangeWithSheet','univer-online','HttpExport','_startCollaboration','SHA1','awaitingChangeset','m2Prime','OffLineSingle','UniverCollaborationClient','clamp','forwardRef','DependentOn','reject','then','_getLoginPath','random','evenodd','reqId','labelPosition','url(#on-line-single_clip0_910_349)','default','@univerjs/ui','incrementRevOfUnit','LocalCacheService','UNIVER_DOC','/universer-api/authz','_doFinalize','1em','headers','collab-client.tooltip.reconnect','closePath','_configService','_updateStatus','executeCommand','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','verdancy600','gold400','error','setShowComponents','@univerjs/engine-render','UniverCollaboration','UnitEmbedded','SheetSkeletonManagerService','DocIMEInputManagerService','_onJoinRoomEvent','_replaceFileID','_onFetchMissResult','c2Prime','findNodePositionByCharIndex','_tryReconnect','telemetry\x20info\x20is\x20not\x20initialized','_syncEditingCollabCursorService','toString','_getSignURL','_hovered','IUIPartsService','handleMoveRange','/role','_collabSessionService','every','transformMutationsWithChangeset','_themeService','_docTransformIMECacheService','onPointerMove$','_sessions','onReady','doc.mutation.rich-text-editing','[CollaborationEntity]','CHANGESET_ACK','clone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DocStateChangeManagerService','src','assignAColorForMemberID','useRef','equals','authzUrl','asObservable','reconnect','getRangePointData','mapDocumentTypeToUniverType','_handleHeartbeatEvent','withCredentials','handleInsertCol','unknown','registerHTTPInterceptor','pad','iterations','_onOffline','APPLY_PERMISSION_DENIED','cmd','getMember','8002115VXNqHU','UnitSnapshot','CONFLICT','getImage','useDependency','_changesetReqId','createInstance','_transformRemoteChangesetByIMECache','Unknown\x20user','_ws','LIVESHARE_REQUEST_HOST','LICENSE_MAX_UNITS_EXCEEDED','height','HTTPService','ImageSourceType','_socketService','OFFLINE','\x0aCurrent:\x20','salt','_xformMode','UNIVER_UNKNOWN','_state','join','clipPath','_state$','HEARTBEAT_INTERVAL','/universer-api/file/{fileID}/sign-url','/unit/','charCodeAt','onlineStatusIcon','from','UniverEngineRender','row','_updateURLWithCurrentState','_clearScheduledTask','NodePositionConvertToRectRange','crypto','_snapshotService','[CollaborationUndoRedoService]','merge','setConfig','permission.content','_document','origin','M0\x200H16V16H0z','storage','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','mutations','_waitForHeartbeatResponse','algo','COMPRESS_MUTATION_SEND','_createInitialState','/object/','_substituteRedoStack','setInterval','sheetId','fetching\x20missing\x20changesets\x20from\x20','ranges','LocaleService','enableSingleActiveInstanceLock','_minBufferSize','textRanges','set','m1Prime','createDecryptor','backgroundColor','body','_clearHeartbeatTimer','auth.needGotoLoginAlert','fromEvent','blockSize','all','setCurrentUser','_render','TOO_MANY_REQUESTS','onPointerLeave$','_onConnectionFailed','UniverInstanceType','SNAPSHOT_HAS_BEEN_REMOVED','IDLE','SNAPSHOT_SERVER_URL_KEY','SnapshotServerOverHTTPService','_toggleOffline','univer-online-status-title','_removeClearOtherTimer','online','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetPermissionInitController','_getAnchorBounding','path','getLatestCsReqIdBySid','Rect','HEARTBEAT_TIMEOUT','_retryCount','CompressMutationService','__creator','_doCryptBlock','_cachedData','permission.title','type','loadDoc','unpad','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/design','_cursor','unitID','LIVESHARE_OPERATION','width','onTransformRemoteChangesetByIMECache','replaceTextRanges','ImageUploadStatusType','_memberService','_sendHeartbeat','/new_changes','_onRemoteACK','popstate','url','cursorInfo$','UserManagerService','isTransformMutationsWithChangesetSuccess','_updateLocalCache','update','roomMembers$','DocSelectionManagerService','@univerjs/telemetry','createElement','_transformPreviousActiveRange','whenReady','APPLY_NON_SEQUENTIAL_REVISION','InsertRangeMoveRightCommandId','ws://127.0.0.1:8000/universer-api/comb/connect','_hasher','/resources','_lastPointer','getOwnPropertyDescriptor','_docSkeleton','send','has','concatMap','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','8qHHuDv','unitId','FromArray','CollaborationController','fetchMissingChangesets','revision','object','isTransformMutationFailure','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_ENC_XFORM_MODE','getCurrentSelections','lib','NOT_FOUND','call','startTime','_commandService','members','arc','map','enc','_replayCachedMutations','_collabCursorController','create','@univerjs/core','awaiting','handleInsertRangeMoveDown','loadSheet','univer-pro.collaboration-client-socket-service','function','COMMENT_UPDATE','registerRefRange','_startSheetCollabCursor','getUnitType','947604ebIEvP','image/jpeg','getUnitId','_uiPartsService','collabWebSocketUrl','@univerjs/docs-ui','collaboration.closeRoom','_httpService','ENSURE_SNAPSHOT_EXECUTION','[PendingState]:\x20received\x20rejection.','max','subUnitId','Shape','json','ivSize','setItem','UniverEngineFormula','MSG_FOR_ERROR','transformIMECache','byteLength','UniverNetworkPlugin','replace','_cipher','[CollaborationSessionService]','error$','measureText','bind','LIVESHARE_FETCH_OPERATIONS','\x20-\x20','floor','session','_getUndoStack','_submitChangeset','0\x200\x2017\x2016','handleIRemoveRow','getOwnPropertySymbols','IUniverInstanceService','Base64','_parse','_transformUndoredo','_onConnectionOpen','save','_anchorDot','_online','memberID','_getRedoStack','transformMutation','getRandomValues','@univerjs/engine-formula','baseRev','size','ILogService','_decreaseWaiting','_initRequestHeader','_clearCollaborationTimeoutTimer','SetDocZoomRatioOperation','sigBytes','_collaborationController','Error','svg','getRenderById','colorChannel1','HEARTBEAT','_shouldReportTelemetry','_draw','currentSkeleton$','LIVESHARE_NEW_HOST','AES','Injector','updateMember','charAt','on-line-single_clip0_910_349','method','_docSkeletonManagerService','indexOf','loadOfflineData','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','/-/object/list','code','_process','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ThresholdInterceptorFactory','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','_status$','moveTo','ColorKit','getCollabEntity$','UniverTelemetry','delay','color','enableOfflineEditing','_awaitingChangeset','requireSession','isArray','exports','fromCharCode','includes','fillRule','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sessionStatus$','none','_resendWithTimeout','_oKey','PERMISSION_REJ','_entityInit$','\x20in\x20_schedule.','_mode','onRemoteRej','_hover','_type','_transformHistoryAndStateStack','/fetchmissing?from=','string','#fff','&assign=','UNKNOWN_CODE','refreshPermission','POST','saveSheetBlock','b64DecodeUnicode','IRenderManagerService','editing\x20status\x20changed\x20to','_handler','_urlService','_heartbeatTimer','restore','_renderManagerService','parse','rxjs','symbol','_assignedColors','appendMutation','resize','[DataLoaderController]','/-/object/-/batch_allowed','DesktopCollaborationStatusDisplayController','ERROR_IMAGE_TYPE','_ensureSubject','react','current','AUTHZ_URL_KEY','_fetchMissChangesets','MUTATION','startColumn','add','_transformRemoteChangesetByStateCache','not_collab','univer-online-status','length','1369173UKwzFY','ReplaySubject','handleIRemoveCol','clear','registerOnClose','_handleEvent','endColumn','enableLocalCache','getViewport','_onUserJoin','CommentService','_resendTimeout','Pkcs7','idSuffix','getResourcesRequest','collaboration-client.config','__esModule','\x0aAfter:\x20','RegularPolygon','closeSession','[OfflineState]:\x20received\x20rejection.','PSEUDO_FETCH_MISSING_RESULT','_substituteUndoStack','triggerDblclick','formatter','MD5','IImageIoService','hasOwnProperty','encodeURIComponent','transform','_injector','onMissingChangesets','_onCursorDelete','rng','values','_socket$','_localeService','csShouldRetryEvent','SheetCollabCursorShape','byteOffset','transformUndoRedo','text','_applyRemoteChangeset','_prevBlock','contains','_stopTelemetryCollaborationNewChangeset','unshift','getSheetBySheetId','leaveEvent','removeMember','_candidateSocket','transformStack\x20failed!','on-line-single','Disposable','YUUMI_RATE_OVER_LIMIT','@univerjs-pro/collaboration','[CollaborationSessionService]:\x20socket\x20error','CollaborationSocketService','_revisionService','IUndoRedoService','_transformStack','_localCacheService','propertyIsEnumerable','lineTo','_beforeCloseService','commentUpdateEvent','_DEC_XFORM_MODE','__Key__','_collabCursorState$','onSyncEditingCollabCursor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_scheduleSaving','_socketMessageSubscription','_drawRectRange','_shapes','_initCloseConn','_tryEnsureSocket','roomInfos','getFocusedUnit','setWaitCount','_scene','roomMembers','getMergeData','INVALID_ARGUMENT','file','_onCursorUpdate','_acknowledgedAwaitingChangeset','_clearLocalCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_listenToOnlineEvent','saveSnapshot','PERMISSION_DENIED','getUnitStatus$','@univerjs/docs','HEARTBEAT_INTERVAL_KEY','_color','/universer-api/snapshot/','xlink:href','addImageSourceCache','_collaborationSessionService','catch','setActiveRange','collab-text-range-','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','pauseCollaboration','fetch_missing','_commentService','_colorAssignService','_showConflictNotification','SetSelectionsOperation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_unlockTransition','#FFF','_transformService','cfg','beginPath','Rectangle','onCommandExecuted','IConfigService','RevisionService','getOffsetConfig','synced','UNRECOGNIZED','_init','cursorInfo','isPermissionRej','_getSendChangesetTimeout','workbook','INotificationService','_eventUnsubscribe','deserializeRangeWithSheet','_getAPIPrefixPath','_saveCache','INGEST','@univerjs/network','_startTelemetryCollaborationNewChangeset','save\x20fail\x20reason\x20is\x20','textEncoder','PENDING','docStateChange$','RichTextEditingMutation','[FetchMissState]','_initMergeInterceptor','sheetID','ITransformService','socket$','currentTheme$','getActiveRange','_univerInstanceService','_getAPIPrefix','finalize','10975bxpbSH','INTERNAL_ERROR','COMPRESS_MUTATION_APPLY','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UPDATE_PERMISSION_OBJ','endRow','_range','Module','Utf8','MemberService','mode','skeleton','stringify','getStateCache','touchDependencies','getRelativeToViewportCoord','_docStateChangeManagerService','buffer','_labelPosition','JOIN','onTransformState','5113745GtzEkY','complete','Latin1','action','HMAC','saveOfflineData','_compressMutationService','pushState','_context','updatePermissionPoint','_imageSourceCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_unitOnClients','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sid','combineLatest','state$','defineProperty','AWAITING_WITH_PENDING','_http','_append','getWorkbookSelections','MessageType','UniverIcon','attrs','CHANGESET_REJ','entries','_collaborationTimeoutTimer','name','ONLINE','useObservable','_pendingMutations','column','fromCollab','getAllMembers','collaboration-client.offline-data-not-saved','urlChange$','@univerjs/sheets-ui','_snapshotServerService','_drawTextRange','&source=','uploadFileServerUrl','processBlock','_onConflict','disposeUnit','DocSkeletonManagerService','collaborators','addEventListener','joinEvent','onRemoteRetry','_registerRenderDependencies','40RcDyQG','failed\x20to\x20apply\x20missed\x20changesets!','session.collaboration-timeout','_sheetTransformSelectionsService','randomBytes','getUnhiddenWorksheets','/allowed','getDeserializedSheetBlock','activeSheet$','FETCH_MISS','readInt32LE','abs','RECT','defIds','APPLY_REJECT','onPointerEnter$','UniverNetwork','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','IMessageService','_config','SEND_CHANGESET_TIMEOUT','handleDeleteRangeMoveUp','LICENSE_EXPORT_SIZE_EXCEEDED','getVpScrollXYInfoByPosToVp','_telemetryService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','execute','session.connection-failed','readAsDataURL','toDisposable','ThemeService','conflict.content','_updateSubUnitFromURLParams','_initDependencies','sendChangesetTimeout','fillText','_messageService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','BufferedBlockAlgorithm','getUnitOnRev','_logService','clearTimeout','PasswordBasedCipher','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collaboration-session-retry','min','_saveTaskMap','LICENSE_DISTRO_REJECTED','trim','onlyLocal','session.room-full','CollaborationSession','unload','onMouseMove','_timeoutTimer','onTransformChange$','objectType','retryConnectingInterval','params','DOC_RANGE_TYPE','Inject','black','_unitStatus','rxjs/operators','tag','_localStorageService','_iv','Base','sequenceExecute','EvpKDF','COLLAB_SUBMIT_CHANGESET_URL','EmptyMutation','updatePermissionObjEvent','takeUntil','updateOfflineData','randomUUID','DEFAULT_FILE_NAME','2JffDQf','_hash','LOCAL_CACHE_INTERVAL_KEY','newCsEvent','_executeRemoteChangeset','isInternalEditorID','Subject','fetchThroughInterceptors','find','getSheetObject','LOGIN_URL_KEY','onMissedChangesetFetched','_initCommandExecutedListener','_setupBeforeClosingHandler','_doProcessBlock','collaMsg','getTypeOfUnitDisposed$','debounceTime','href','getUndoRedoMutationParamsCache','selection','_createHmacHelper','collabStatus.synced','UNAUTHENTICATED','univer-online-status-icon','requestParams','_scheduleClearOtherTimer','_change$','[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.','_userManagerService','getTypeOfUnitAdded$','_name','_commentUpdate$','_key','encode','hasher','SNAPSHOT_INVALID_SNAPSHOT','_getMergeRange','DataLoaderController','round','ACTIVE_UNIT_EVENT_CHANNEL','DocCollaborationEntity','_checkMissing','StreamCipher','now','SessionStatus','AWAITING','toLowerCase','HELLO','isActive','translate(.97)','debounce','collaboration.single-unit.warning','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','$super','COLORS','UNIVER_PROJECT','startsWith','routeKey','_undoRedoService','fetchMiss','getCollabCursors$','_listenToOfflineEvent','substr','updateCollaborator','FileId','_updateCollabCursors','setShapeProps','c1Prime','VIEWPORT_KEY','_transitionLocked','_handleHover','[SyncedState]:\x20received\x20rejection.','...','_docTransformSelectionsService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRemoteRejected','hide','_nRounds','Warning','OpenSSL','_schedule','key','getSheetBlock','_colorIndex','snapshotServerUrl','assign','Malformed\x20UTF-8\x20data','flatMap','RxDisposable','onRemoteAck','YUUMI_UNABLE_LOAD_URL','_roomMembers','apply','_session','collabStatus.notCollab','handleInsertRangeMoveRight','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_members','put','IRemoteInstanceService','FETCH_MISSING','_initResize','_updateState','TEXT','with','fillStyle','eventID','selections','_sessionStatus$','close','_incrementRevisionNumber','message$','Decryptor','onStateChange','SheetCollaborationEntity','/universer-api/comb','capture','CollaborationStatusDisplay','subunit','_initUnitPermissionChange','decryptBlock','@univerjs/drawing','disposeWithMe','LocalUndoRedoService','getConfig','init','_throwTelemetryCollaborationNewChangeset','HmacMD5','/block/','_send','concat','EffectRefRangId','ImageIoService','_loadSheet','replaceState','RemoveRowCommandId','_permissionService','_notificationService','collabStatus.offline','handleDeleteRangeMoveLeft','RefRangeService','_waitCount','filter','/collaborator','words'];_0x4308=function(){return _0x4cf37d;};return _0x4308();}function _0x5c6e(_0x25a79e,_0x492891){const _0x430808=_0x4308();return _0x5c6e=function(_0x5c6e37,_0x516b49){_0x5c6e37=_0x5c6e37-0xc4;let _0x14d57a=_0x430808[_0x5c6e37];return _0x14d57a;},_0x5c6e(_0x25a79e,_0x492891);}(function(_0x570c8e,_0xaa58b7){const _0x160664=_0x5c6e,_0x598a20=_0x570c8e();while(!![]){try{const _0x44f072=-parseInt(_0x160664(0x1f2))/0x1+-parseInt(_0x160664(0x31f))/0x2*(parseInt(_0x160664(0x4b3))/0x3)+parseInt(_0x160664(0x406))/0x4*(parseInt(_0x160664(0x289))/0x5)+-parseInt(_0x160664(0x15c))/0x6+-parseInt(_0x160664(0x29e))/0x7+-parseInt(_0x160664(0x13b))/0x8*(parseInt(_0x160664(0x4a9))/0x9)+parseInt(_0x160664(0x2d1))/0xa*(parseInt(_0x160664(0x583))/0xb);if(_0x44f072===_0xaa58b7)break;else _0x598a20['push'](_0x598a20['shift']());}catch(_0x51cf82){_0x598a20['push'](_0x598a20['shift']());}}}(_0x4308,0xf2e51),function(_0x23c30e,_0x44fcbc){const _0x4bc426=_0x5c6e;typeof exports==_0x4bc426(0x141)&&typeof module<'u'?_0x44fcbc(exports,require(_0x4bc426(0x152)),require('rxjs'),require(_0x4bc426(0x311)),require(_0x4bc426(0x116)),require(_0x4bc426(0x53c)),require(_0x4bc426(0x278)),require('@univerjs-pro/collaboration'),require(_0x4bc426(0x12b)),require(_0x4bc426(0x161)),require(_0x4bc426(0x3c8)),require('@univerjs/engine-render'),require('@univerjs/docs'),require(_0x4bc426(0x399)),require(_0x4bc426(0x18c)),require(_0x4bc426(0x2c3)),require(_0x4bc426(0x1e7)),require('@univerjs/rpc')):typeof define==_0x4bc426(0x157)&&define[_0x4bc426(0x4c1)]?define(['exports',_0x4bc426(0x152),_0x4bc426(0x1dd),'rxjs/operators','@univerjs/design',_0x4bc426(0x53c),_0x4bc426(0x278),_0x4bc426(0x229),_0x4bc426(0x12b),'@univerjs/docs-ui','@univerjs/sheets',_0x4bc426(0x54e),_0x4bc426(0x24f),_0x4bc426(0x399),_0x4bc426(0x18c),_0x4bc426(0x2c3),_0x4bc426(0x1e7),'@univerjs/rpc'],_0x44fcbc):(_0x23c30e=typeof globalThis<'u'?globalThis:_0x23c30e||self,_0x44fcbc(_0x23c30e[_0x4bc426(0x52f)]={},_0x23c30e['UniverCore'],_0x23c30e['rxjs'],_0x23c30e[_0x4bc426(0x1dd)]['operators'],_0x23c30e[_0x4bc426(0x463)],_0x23c30e[_0x4bc426(0x48f)],_0x23c30e[_0x4bc426(0x2e1)],_0x23c30e[_0x4bc426(0x54f)],_0x23c30e[_0x4bc426(0x1b4)],_0x23c30e[_0x4bc426(0x513)],_0x23c30e[_0x4bc426(0x3b6)],_0x23c30e[_0x4bc426(0xce)],_0x23c30e[_0x4bc426(0x502)],_0x23c30e[_0x4bc426(0x427)],_0x23c30e[_0x4bc426(0x16c)],_0x23c30e['UniverSheetsUi'],_0x23c30e['React'],_0x23c30e['UniverRpc']));}(this,function(_0x10e5bc,_0x47a99f,_0x2d244b,_0x822d8b,_0x5629a0,_0x2eba72,_0x1c568b,_0x413309,_0x5b753e,_0x163238,_0x3500ce,_0x231ab8,_0x1bde83,_0x2ea5ac,_0x2d6e89,_0x3187a7,_0x1cfdc2,_0x36c47d){'use strict';const _0x50247e=_0x5c6e;var _0x8a72a2=Object[_0x50247e(0x2af)],_0x215674=(_0xcda661,_0x1592ec,_0x7d591c)=>_0x1592ec in _0xcda661?_0x8a72a2(_0xcda661,_0x1592ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7d591c}):_0xcda661[_0x1592ec]=_0x7d591c,_0x39016d=(_0x131f90,_0x4c214e,_0xa772fd)=>_0x215674(_0x131f90,typeof _0x4c214e!=_0x50247e(0x1de)?_0x4c214e+'':_0x4c214e,_0xa772fd);const _0xcbc024=_0x50247e(0xff),_0x4cba5a='/universer-api/snapshot',_0x5be1e2=_0x50247e(0x470),_0x59a3ef=_0x50247e(0x2e6),_0x3a9053='COLLAB_WEB_SOCKET_URL',_0x2b51be=_0x50247e(0x131),_0x5aaa16=_0x50247e(0xc8),_0x387811=_0x50247e(0x10b),_0x4efaab=_0x50247e(0x4bd),_0x5a0929=_0x50247e(0x46b),_0x4e3366=_0x50247e(0x318),_0x525f89=_0x50247e(0x393),_0x527d3b=_0x50247e(0x329),_0x299cb5=_0x50247e(0x3ee);var _0x5e47c6=(_0x5ed903=>(_0x5ed903[_0x5ed903[_0x50247e(0x487)]=0x0]='UNDEFINED',_0x5ed903[_0x5ed903['OK']=0x1]='OK',_0x5ed903[_0x5ed903[_0x50247e(0x28a)]=0x2]=_0x50247e(0x28a),_0x5ed903[_0x5ed903['PERMISSION_DENIED']=0x3]=_0x50247e(0x24d),_0x5ed903[_0x5ed903[_0x50247e(0x147)]=0x4]='NOT_FOUND',_0x5ed903[_0x5ed903[_0x50247e(0x336)]=0x5]=_0x50247e(0x336),_0x5ed903[_0x5ed903['ALREADY_EXISTS']=0x6]=_0x50247e(0x4b2),_0x5ed903[_0x5ed903['INVALID_ARGUMENT']=0x7]=_0x50247e(0x245),_0x5ed903[_0x5ed903[_0x50247e(0xf9)]=0x8]='TOO_MANY_REQUESTS',_0x5ed903[_0x5ed903[_0x50247e(0x428)]=0x9]=_0x50247e(0x428),_0x5ed903[_0x5ed903['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ed903[_0x5ed903['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x50247e(0x343),_0x5ed903[_0x5ed903[_0x50247e(0xfd)]=0x1772]=_0x50247e(0xfd),_0x5ed903[_0x5ed903[_0x50247e(0x164)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5ed903[_0x5ed903[_0x50247e(0x2df)]=0x1b59]=_0x50247e(0x2df),_0x5ed903[_0x5ed903[_0x50247e(0x12f)]=0x1b5a]=_0x50247e(0x12f),_0x5ed903[_0x5ed903['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5ed903[_0x5ed903[_0x50247e(0x580)]=0x1b5c]=_0x50247e(0x580),_0x5ed903[_0x5ed903[_0x50247e(0x4d1)]=0x1b5d]=_0x50247e(0x4d1),_0x5ed903[_0x5ed903[_0x50247e(0x3c9)]=0x1f41]=_0x50247e(0x3c9),_0x5ed903[_0x5ed903[_0x50247e(0x58e)]=0x2329]=_0x50247e(0x58e),_0x5ed903[_0x5ed903[_0x50247e(0x549)]=0x232a]=_0x50247e(0x549),_0x5ed903[_0x5ed903['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ed903[_0x5ed903[_0x50247e(0x2e8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5ed903[_0x5ed903[_0x50247e(0x301)]=0x232d]=_0x50247e(0x301),_0x5ed903[_0x5ed903[_0x50247e(0x37a)]=0x2711]=_0x50247e(0x37a),_0x5ed903[_0x5ed903['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x50247e(0x3cf),_0x5ed903[_0x5ed903[_0x50247e(0x228)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5ed903[_0x5ed903[_0x50247e(0x4c8)]=0x2714]=_0x50247e(0x4c8),_0x5ed903[_0x5ed903[_0x50247e(0x26c)]=-0x1]=_0x50247e(0x26c),_0x5ed903))(_0x5e47c6||{}),_0x3a4d97=(_0x359c9a=>(_0x359c9a[_0x359c9a[_0x50247e(0x597)]=0x0]='UNIVER_UNKNOWN',_0x359c9a[_0x359c9a['UNIVER_DOC']=0x1]=_0x50247e(0x53f),_0x359c9a[_0x359c9a[_0x50247e(0x508)]=0x2]=_0x50247e(0x508),_0x359c9a[_0x359c9a[_0x50247e(0x4be)]=0x3]='UNIVER_SLIDE',_0x359c9a[_0x359c9a[_0x50247e(0x357)]=0x4]='UNIVER_PROJECT',_0x359c9a[_0x359c9a['UNRECOGNIZED']=-0x1]=_0x50247e(0x26c),_0x359c9a))(_0x3a4d97||{}),_0x2d3d8d=(_0x5a9789=>(_0x5a9789[_0x5a9789[_0x50247e(0x512)]=0x0]=_0x50247e(0x512),_0x5a9789[_0x5a9789[_0x50247e(0x34f)]=0x1]=_0x50247e(0x34f),_0x5a9789[_0x5a9789[_0x50247e(0x29c)]=0x2]=_0x50247e(0x29c),_0x5a9789[_0x5a9789['LEAVE']=0x3]=_0x50247e(0x4bf),_0x5a9789[_0x5a9789[_0x50247e(0x277)]=0x4]=_0x50247e(0x277),_0x5a9789[_0x5a9789['HEARTBEAT']=0x5]=_0x50247e(0x19a),_0x5a9789[_0x5a9789[_0x50247e(0x480)]=0x6]=_0x50247e(0x480),_0x5a9789[_0x5a9789[_0x50247e(0x26c)]=-0x1]='UNRECOGNIZED',_0x5a9789))(_0x2d3d8d||{}),_0x1c5c9e=(_0xa74321=>(_0xa74321[_0xa74321[_0x50247e(0x1d0)]=0x0]=_0x50247e(0x1d0),_0xa74321[_0xa74321['OK']=0x1]='OK',_0xa74321[_0xa74321[_0x50247e(0x471)]=0x2]=_0x50247e(0x471),_0xa74321[_0xa74321[_0x50247e(0x26c)]=-0x1]='UNRECOGNIZED',_0xa74321))(_0x1c5c9e||{}),_0x51f94f=(_0x8a9bc9=>(_0x8a9bc9[_0x8a9bc9[_0x50247e(0x40a)]=0x0]=_0x50247e(0x40a),_0x8a9bc9[_0x8a9bc9[_0x50247e(0x525)]=0x1]=_0x50247e(0x525),_0x8a9bc9[_0x8a9bc9['HttpExport']=0x2]=_0x50247e(0x529),_0x8a9bc9[_0x8a9bc9[_0x50247e(0x550)]=0x3]=_0x50247e(0x550),_0x8a9bc9[_0x8a9bc9[_0x50247e(0x584)]=0x4]=_0x50247e(0x584),_0x8a9bc9[_0x8a9bc9[_0x50247e(0x26c)]=-0x1]='UNRECOGNIZED',_0x8a9bc9))(_0x51f94f||{});const _0x127413=_0x50247e(0x201),_0x77c674={};function _0x5950d6(_0x40dc03){const _0x400a27=_0x50247e;var _0x56bc39,_0xff2201,_0x179670,_0x2ff613,_0xe29301;const _0x129fd3=_0x40dc03['data'],_0x35bfb1=JSON['parse'](_0x129fd3);switch(_0x35bfb1['cmd']){case _0x2d3d8d[_0x400a27(0x19a)]:case _0x2d3d8d[_0x400a27(0x34f)]:{const _0x560e29=_0x35bfb1[_0x400a27(0x3d3)];return{..._0x35bfb1,'data':_0x560e29,'cmd':_0x35bfb1[_0x400a27(0x581)]};}case _0x2d3d8d[_0x400a27(0x29c)]:{const _0x4180a4=_0x35bfb1[_0x400a27(0x51b)];return{..._0x35bfb1,'data':_0x4180a4,'cmd':_0x35bfb1[_0x400a27(0x581)]};}case _0x2d3d8d['RECV']:{const _0x175b04=_0x35bfb1[_0x400a27(0x32e)];switch(_0x175b04[_0x400a27(0x38a)]){case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x1c4)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':(_0x56bc39=_0x175b04['permissionRejEvent'])==null?void 0x0:_0x56bc39['cs']},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x56b)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':(_0xff2201=_0x175b04[_0x400a27(0x511)])==null?void 0x0:_0xff2201['cs']},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x51e)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':(_0x179670=_0x175b04[_0x400a27(0x322)])==null?void 0x0:_0x179670['cs']},'cmd':_0x35bfb1['cmd']};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x2b7)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':(_0x2ff613=_0x175b04['csRejEvent'])==null?void 0x0:_0x2ff613['cs']},'cmd':_0x35bfb1['cmd']};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x521)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':(_0xe29301=_0x175b04[_0x400a27(0x217)])==null?void 0x0:_0xe29301['cs']},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x47f)]},'cmd':_0x35bfb1['cmd']};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x3e9)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x2ce)]},'cmd':_0x35bfb1['cmd']};case _0x413309['CollaborationEvent'][_0x400a27(0x42d)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x222)]},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x19e)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04['liveShareNewHost']},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)]['LIVESHARE_FETCH_OPERATIONS']:case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x119)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x47a)]},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x51d)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x492)]},'cmd':_0x35bfb1['cmd']};case _0x413309['CollaborationEvent'][_0x400a27(0x16d)]:return{..._0x35bfb1,'data':_0x175b04,'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309['CollaborationEvent'][_0x400a27(0x158)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x233)]},'cmd':_0x35bfb1[_0x400a27(0x581)]};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x28d)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04[_0x400a27(0x31a)]},'cmd':_0x35bfb1['cmd']};case _0x413309[_0x400a27(0x3d7)][_0x400a27(0x4e5)]:return{..._0x35bfb1,'data':{..._0x175b04,'data':_0x175b04['shouldCloseConn']},'cmd':_0x35bfb1[_0x400a27(0x581)]};default:return _0x35bfb1;}}default:return _0x35bfb1;}}function _0x520bf5(_0x3a23ba){const _0x1098b2=_0x50247e;switch(_0x3a23ba[_0x1098b2(0x581)]){case _0x2d3d8d[_0x1098b2(0x19a)]:case _0x2d3d8d['HELLO']:return JSON[_0x1098b2(0x295)]({'cmd':_0x3a23ba[_0x1098b2(0x581)],'routeKey':_0x3a23ba[_0x1098b2(0x359)]});case _0x2d3d8d[_0x1098b2(0x277)]:{let _0x5084e6;switch(_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x38a)]){case _0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x50c)]:{_0x5084e6={'eventID':_0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x50c)],'updateCursorEvent':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x42d)]:{_0x5084e6={'eventID':_0x413309['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309['CollaborationEvent'][_0x1098b2(0x3e9)]:{_0x5084e6={'eventID':_0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x3e9)],'joinEvent':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x19e)]:{_0x5084e6={'eventID':_0x413309['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309[_0x1098b2(0x3d7)]['LIVESHARE_OPERATION']:{_0x5084e6={'eventID':_0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x119)],'liveShareOperation':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x51d)]:{_0x5084e6={'eventID':_0x413309['CollaborationEvent'][_0x1098b2(0x51d)],'liveShareTerminate':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x50e)]};break;}case _0x413309['CollaborationEvent'][_0x1098b2(0x58d)]:{_0x5084e6={'eventID':_0x413309[_0x1098b2(0x3d7)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3a23ba['data'][_0x1098b2(0x50e)]};break;}case _0x413309[_0x1098b2(0x3d7)][_0x1098b2(0x177)]:{_0x5084e6={'eventID':_0x413309[_0x1098b2(0x3d7)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5084e6={'eventID':_0x3a23ba[_0x1098b2(0x50e)][_0x1098b2(0x38a)]};}return JSON[_0x1098b2(0x295)]({'cmd':_0x3a23ba[_0x1098b2(0x581)],'routeKey':_0x3a23ba['routeKey'],'collaMsg':_0x5084e6});}case _0x2d3d8d['JOIN']:return JSON[_0x1098b2(0x295)]({'cmd':_0x3a23ba[_0x1098b2(0x581)],'routeKey':_0x3a23ba[_0x1098b2(0x359)],'joinReq':_0x3a23ba[_0x1098b2(0x50e)]});case _0x2d3d8d[_0x1098b2(0x4bf)]:return JSON[_0x1098b2(0x295)]({'cmd':_0x3a23ba['cmd'],'routeKey':_0x3a23ba[_0x1098b2(0x359)],'leaveReq':_0x3a23ba[_0x1098b2(0x50e)]});default:throw new Error(_0x1098b2(0x2a9));}}var _0x4208d4=Object[_0x50247e(0x2af)],_0x5ad6ca=Object[_0x50247e(0x135)],_0x41ab56=(_0x2a8a4d,_0x220535,_0x2632ef,_0x38f69d)=>{const _0x5f2c62=_0x50247e;for(var _0x141792=_0x38f69d>0x1?void 0x0:_0x38f69d?_0x5ad6ca(_0x220535,_0x2632ef):_0x220535,_0x2bb277=_0x2a8a4d[_0x5f2c62(0x1f1)]-0x1,_0x2c3fc4;_0x2bb277>=0x0;_0x2bb277--)(_0x2c3fc4=_0x2a8a4d[_0x2bb277])&&(_0x141792=(_0x38f69d?_0x2c3fc4(_0x220535,_0x2632ef,_0x141792):_0x2c3fc4(_0x141792))||_0x141792);return _0x38f69d&&_0x141792&&_0x4208d4(_0x220535,_0x2632ef,_0x141792),_0x141792;},_0x1b6e77=(_0x37e7f2,_0x4e5d99)=>(_0x198693,_0x2c4db6)=>_0x4e5d99(_0x198693,_0x2c4db6,_0x37e7f2);const _0x5927ab=_0x47a99f['createIdentifier'](_0x50247e(0x156));function _0x4373ee(_0x169901,_0x3f6d28,_0xcd8586){const _0x3f7a47=_0x50247e;return _0x169901+'/'+_0x3f6d28+_0x3f7a47(0xca)+_0xcd8586+_0x3f7a47(0x120);}_0x10e5bc['CollaborationSocketService']=class extends _0x47a99f[_0x50247e(0x227)]{constructor(_0x11b26c,_0x445dec,_0xbaafec,_0xa3d7cc,_0x160399){const _0xbd2f44=_0x50247e;super(),this[_0xbd2f44(0x2b1)]=_0x11b26c,this['_ws']=_0x445dec,this[_0xbd2f44(0x546)]=_0xbaafec,this[_0xbd2f44(0x2fa)]=_0xa3d7cc,this['_snapshotServerService']=_0x160399;}['createSocket'](_0x18234a){const _0x20ac3d=_0x50247e,_0x41e45a=this[_0x20ac3d(0x58c)]['createSocket'](_0x18234a);if(!_0x41e45a)throw new Error(_0x20ac3d(0x459));const _0x484323=new _0x47a99f[(_0x20ac3d(0x3b4))](),_0x9300f9=new _0x2d244b[(_0x20ac3d(0x325))]();_0x484323[_0x20ac3d(0x1ed)](_0x41e45a['close$'][_0x20ac3d(0x436)](_0x18642d=>_0x9300f9[_0x20ac3d(0x411)](_0x18642d))),_0x484323['add'](_0x47a99f['toDisposable'](()=>_0x9300f9[_0x20ac3d(0x29f)]()));const _0x236851=new _0x2d244b[(_0x20ac3d(0x325))]();_0x484323[_0x20ac3d(0x1ed)](_0x41e45a[_0x20ac3d(0x174)][_0x20ac3d(0x436)](_0x1970ff=>_0x236851[_0x20ac3d(0x411)](_0x1970ff))),_0x484323['add'](_0x47a99f[_0x20ac3d(0x2ef)](()=>_0x236851[_0x20ac3d(0x29f)]()));const _0x44fc32=new _0x2d244b[(_0x20ac3d(0x325))]();_0x484323['add'](_0x41e45a['message$'][_0x20ac3d(0x436)](_0xae594=>{const _0x86108f=_0x20ac3d,_0x329ffc=_0x5950d6(_0xae594);_0x44fc32[_0x86108f(0x411)](_0x329ffc);})),_0x484323[_0x20ac3d(0x1ed)](_0x47a99f[_0x20ac3d(0x2ef)](()=>_0x44fc32[_0x20ac3d(0x29f)]()));let _0x5915ae;const _0x35d924=()=>{const _0x43e2ae=_0x20ac3d;_0x236851[_0x43e2ae(0x411)](new Event(_0x43e2ae(0x45d))),_0x9300f9[_0x43e2ae(0x411)](new CloseEvent('connection\x20error')),_0x5915ae[_0x43e2ae(0x38d)]();};return _0x5915ae={'memberID':'','close$':_0x9300f9[_0x20ac3d(0x574)](),'error$':_0x236851[_0x20ac3d(0x574)](),'open$':_0x41e45a[_0x20ac3d(0x4cf)],'message$':_0x44fc32[_0x20ac3d(0x574)](),'send':_0x5266cd=>{const _0x2a616f=_0x20ac3d;if(_0x5266cd[_0x2a616f(0x581)]===_0x2d3d8d[_0x2a616f(0x277)]){if(_0x5266cd[_0x2a616f(0x50e)][_0x2a616f(0x38a)]===_0x413309[_0x2a616f(0x3d7)]['SUBMIT_CHANGESET']){this[_0x2a616f(0x17c)](_0x5915ae,_0x5266cd['data'])[_0x2a616f(0x256)](_0x2a572d=>{const _0x1ff7bc=_0x2a616f;this[_0x1ff7bc(0x2fa)][_0x1ff7bc(0x54c)](_0x2a572d),_0x35d924();});return;}if(_0x5266cd[_0x2a616f(0x50e)][_0x2a616f(0x38a)]===_0x413309[_0x2a616f(0x3d7)][_0x2a616f(0x384)]){const _0x472d26=_0x5266cd[_0x2a616f(0x50e)];this[_0x2a616f(0x1ea)](_0x472d26)[_0x2a616f(0x534)](_0x166dba=>{const _0x4b898f=_0x2a616f;_0x44fc32[_0x4b898f(0x411)]({'cmd':_0x2d3d8d[_0x4b898f(0x480)],'code':_0x1c5c9e['OK'],'routeKey':_0x472d26['data'][_0x4b898f(0x118)],'routeType':'','data':{'eventID':_0x413309[_0x4b898f(0x3d7)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x166dba}}});})[_0x2a616f(0x256)](_0x28fb12=>{const _0x4d9588=_0x2a616f;this[_0x4d9588(0x2fa)][_0x4d9588(0x54c)](_0x28fb12),_0x35d924();});return;}}_0x41e45a[_0x2a616f(0x137)](_0x520bf5(_0x5266cd));},'close':()=>{const _0x316770=_0x20ac3d;_0x41e45a['close'](),_0x484323[_0x316770(0x452)]();}},_0x5915ae;}async[_0x50247e(0x17c)](_0x4ecc2d,_0x16a958){const _0x2bbecc=_0x50247e;var _0x3d7372,_0x49a387;const {unitType:_0x2584b3,unitID:_0x442267,changeset:_0x228977}=_0x16a958['data'],_0x2e15b6={'unitID':_0x442267,'memberID':_0x4ecc2d[_0x2bbecc(0x188)],'type':_0x2584b3,'changeset':_0x413309[_0x2bbecc(0x49e)](_0x228977)},_0x558603=this['_configService'][_0x2bbecc(0x39c)](_0x4e3366),_0x4c8605=this[_0x2bbecc(0x546)][_0x2bbecc(0x39c)](_0x127413),_0x33f676=_0x4373ee((_0x49a387=(_0x3d7372=_0x4c8605==null?void 0x0:_0x4c8605[_0x2bbecc(0x4c7)])!=null?_0x3d7372:_0x558603)!=null?_0x49a387:_0x525f89,_0x2584b3,_0x442267);try{await this[_0x2bbecc(0x2b1)]['post'](_0x33f676,{'body':_0x2e15b6});}catch(_0x160c0f){throw this[_0x2bbecc(0x2fa)][_0x2bbecc(0x54c)](_0x2bbecc(0x3c7),'submit\x20changeset\x20error!'),_0x160c0f;}}async['_fetchMissChangesets'](_0x3bdc51){const _0x3244b7=_0x50247e,{unitID:_0x2d3adc,from:_0x3cad46,to:_0x465ea9,unitType:_0x158b23}=_0x3bdc51[_0x3244b7(0x50e)];return(await this[_0x3244b7(0x2c4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2d3adc,'type':_0x158b23,'from':_0x3cad46,'to':_0x465ea9}))[_0x3244b7(0x3f4)];}},_0x10e5bc[_0x50247e(0x22b)]=_0x41ab56([_0x1b6e77(0x0,_0x47a99f[_0x50247e(0x30e)](_0x1c568b['HTTPService'])),_0x1b6e77(0x1,_0x47a99f[_0x50247e(0x30e)](_0x1c568b[_0x50247e(0x3d2)])),_0x1b6e77(0x2,_0x47a99f[_0x50247e(0x268)]),_0x1b6e77(0x3,_0x47a99f[_0x50247e(0x18f)]),_0x1b6e77(0x4,_0x413309['ISnapshotServerService'])],_0x10e5bc[_0x50247e(0x22b)]);const _0x4b52=_0x50247e(0x3ce);function _0x4f7cc5(_0x4631a4){const _0x108405=_0x50247e;return JSON['stringify'](_0x4631a4)[_0x108405(0x1f1)];}class _0xbc4e61{constructor(){const _0x3c01a3=_0x50247e;_0x39016d(this,_0x3c01a3(0x33f),new _0x2d244b[(_0x3c01a3(0x325))]()),_0x39016d(this,_0x3c01a3(0x41d),this['_commentUpdate$']['asObservable']());}[_0x50247e(0x4d3)](_0x82761f){const _0x30ce95=_0x50247e;this[_0x30ce95(0x33f)][_0x30ce95(0x411)](_0x82761f);}}var _0x2c74c9=Object[_0x50247e(0x2af)],_0x598f3c=Object[_0x50247e(0x135)],_0x3d8509=(_0x39396f,_0x5d6f0e,_0x65f16,_0x2623b3)=>{const _0x22c23b=_0x50247e;for(var _0x4fc801=_0x2623b3>0x1?void 0x0:_0x2623b3?_0x598f3c(_0x5d6f0e,_0x65f16):_0x5d6f0e,_0x18eb17=_0x39396f[_0x22c23b(0x1f1)]-0x1,_0x2a47c7;_0x18eb17>=0x0;_0x18eb17--)(_0x2a47c7=_0x39396f[_0x18eb17])&&(_0x4fc801=(_0x2623b3?_0x2a47c7(_0x5d6f0e,_0x65f16,_0x4fc801):_0x2a47c7(_0x4fc801))||_0x4fc801);return _0x2623b3&&_0x4fc801&&_0x2c74c9(_0x5d6f0e,_0x65f16,_0x4fc801),_0x4fc801;},_0x44b4b1=(_0x4b9713,_0x214a6b)=>(_0x170298,_0x208dbb)=>_0x214a6b(_0x170298,_0x208dbb,_0x4b9713);_0x10e5bc[_0x50247e(0x292)]=class extends _0x47a99f[_0x50247e(0x227)]{constructor(_0x62b036,_0x2f1fd0){const _0x1c5cbb=_0x50247e;super(),_0x39016d(this,_0x1c5cbb(0x37b),new Map()),(this['_univerInstanceService']=_0x62b036,this['_userManagerService']=_0x2f1fd0,this[_0x1c5cbb(0x39a)](_0x47a99f[_0x1c5cbb(0x2ef)](_0x2d244b[_0x1c5cbb(0xd6)](this[_0x1c5cbb(0x286)]['getTypeOfUnitDisposed$'](_0x47a99f[_0x1c5cbb(0xfc)][_0x1c5cbb(0x508)])[_0x1c5cbb(0x48c)](_0x822d8b[_0x1c5cbb(0x14d)](_0x42c3f7=>_0x42c3f7[_0x1c5cbb(0x15e)]())),this[_0x1c5cbb(0x286)][_0x1c5cbb(0x32f)](_0x47a99f[_0x1c5cbb(0xfc)][_0x1c5cbb(0x53f)])['pipe'](_0x822d8b[_0x1c5cbb(0x14d)](_0x4340c0=>_0x4340c0['getUnitId']())),this['_univerInstanceService'][_0x1c5cbb(0x32f)](_0x47a99f[_0x1c5cbb(0xfc)][_0x1c5cbb(0x4be)])['pipe'](_0x822d8b[_0x1c5cbb(0x14d)](_0x1443e3=>_0x1443e3[_0x1c5cbb(0x15e)]())))[_0x1c5cbb(0x436)](_0x4b905c=>this[_0x1c5cbb(0x408)](_0x4b905c)))));}[_0x50247e(0xf7)](_0xfd2ab4){const _0x40d08b=_0x50247e;this[_0x40d08b(0x33c)][_0x40d08b(0xf7)](_0xfd2ab4);}[_0x50247e(0x4e2)](){return this['_userManagerService']['getCurrentUser']();}[_0x50247e(0x1a1)](_0x3f25f9,_0x420f05){const _0x2fec4c=_0x50247e;let _0x166b5f=this['_roomMembers'][_0x2fec4c(0x40e)](_0x3f25f9);_0x166b5f||(_0x166b5f=new _0x28b2fd(),this['_roomMembers'][_0x2fec4c(0xed)](_0x3f25f9,_0x166b5f)),_0x166b5f[_0x2fec4c(0x1a1)](_0x420f05);}[_0x50247e(0x223)](_0x33f7c2,_0x1e6655){const _0x5e8f0f=_0x50247e,_0x2417bc=this[_0x5e8f0f(0x37b)][_0x5e8f0f(0x40e)](_0x33f7c2);_0x2417bc&&_0x2417bc[_0x5e8f0f(0x223)](_0x1e6655);}['getRoom'](_0x5b43e3){const _0x4d6c9c=_0x50247e;return this[_0x4d6c9c(0x37b)][_0x4d6c9c(0x40e)](_0x5b43e3);}['getMember'](_0x5c44f3,_0x44cfc3){const _0x5ad14e=_0x50247e,_0x3841fc=this[_0x5ad14e(0x37b)]['get'](_0x5c44f3);if(_0x3841fc)return _0x3841fc[_0x5ad14e(0x582)](_0x44cfc3);}[_0x50247e(0x408)](_0x4a9014){const _0x4029b7=_0x50247e,_0x464817=this['_roomMembers']['get'](_0x4a9014);_0x464817&&(_0x464817[_0x4029b7(0x452)](),this['_roomMembers'][_0x4029b7(0x45f)](_0x4a9014));}[_0x50247e(0x452)](){const _0x5b0ca1=_0x50247e;this[_0x5b0ca1(0x37b)][_0x5b0ca1(0x3d0)](_0x3c0df0=>_0x3c0df0[_0x5b0ca1(0x452)]()),this[_0x5b0ca1(0x37b)][_0x5b0ca1(0x1f5)]();}},_0x10e5bc[_0x50247e(0x292)]=_0x3d8509([_0x44b4b1(0x0,_0x47a99f[_0x50247e(0x180)]),_0x44b4b1(0x1,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x125)]))],_0x10e5bc['MemberService']);class _0x28b2fd extends _0x47a99f[_0x50247e(0x227)]{constructor(){super(...arguments),_0x39016d(this,'_members',new Map());}[_0x50247e(0x452)](){const _0x294f3e=_0x50247e;this['_members'][_0x294f3e(0x1f5)]();}[_0x50247e(0x1a1)](_0x2f4b1f){const _0x435f02=_0x50247e;this[_0x435f02(0x381)][_0x435f02(0xed)](_0x2f4b1f[_0x435f02(0x188)],_0x2f4b1f);}[_0x50247e(0x223)](_0x356b88){const _0x73c7a3=_0x50247e;this[_0x73c7a3(0x381)][_0x73c7a3(0x45f)](_0x356b88);}[_0x50247e(0x582)](_0x5b0e3b){const _0x2896b3=_0x50247e;return this[_0x2896b3(0x381)][_0x2896b3(0x40e)](_0x5b0e3b);}[_0x50247e(0x2c0)](){const _0xb9e5d9=_0x50247e;return Array[_0xb9e5d9(0xcd)](this['_members'][_0xb9e5d9(0x214)]());}}var _0x1e3d78=Object[_0x50247e(0x2af)],_0x5b90d9=Object['getOwnPropertyDescriptor'],_0x2eb441=(_0x49eda3,_0x509d27,_0x380200,_0x9e4a18)=>{const _0x34277e=_0x50247e;for(var _0x3283c7=_0x9e4a18>0x1?void 0x0:_0x9e4a18?_0x5b90d9(_0x509d27,_0x380200):_0x509d27,_0x12a3e7=_0x49eda3[_0x34277e(0x1f1)]-0x1,_0x2a6ec9;_0x12a3e7>=0x0;_0x12a3e7--)(_0x2a6ec9=_0x49eda3[_0x12a3e7])&&(_0x3283c7=(_0x9e4a18?_0x2a6ec9(_0x509d27,_0x380200,_0x3283c7):_0x2a6ec9(_0x3283c7))||_0x3283c7);return _0x9e4a18&&_0x3283c7&&_0x1e3d78(_0x509d27,_0x380200,_0x3283c7),_0x3283c7;},_0x5b1bbe=(_0x3f15dd,_0x5323fc)=>(_0x2a129e,_0x560293)=>_0x5323fc(_0x2a129e,_0x560293,_0x3f15dd),_0x4322d6=(_0x43390e=>(_0x43390e[_0x43390e[_0x50247e(0xfe)]=0x0]=_0x50247e(0xfe),_0x43390e[_0x43390e['JOINING']=0x1]='JOINING',_0x43390e[_0x43390e['OFFLINE']=0x2]=_0x50247e(0x593),_0x43390e[_0x43390e['ONLINE']=0x3]=_0x50247e(0x2bb),_0x43390e))(_0x4322d6||{});_0x10e5bc[_0x50247e(0x305)]=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x1f4ab2,_0xfe158d,_0x3c23e9,_0x3b3283,_0x8f5c63,_0x597f02,_0x357163,_0x321210,_0x43d248,_0x4c972d){const _0x423720=_0x50247e;super(),_0x39016d(this,_0x423720(0x38c),new _0x2d244b['BehaviorSubject'](0x0)),_0x39016d(this,_0x423720(0x1c0),this['_sessionStatus$'][_0x423720(0x574)]()),_0x39016d(this,_0x423720(0x48d),new _0x2d244b['Subject']()),_0x39016d(this,_0x423720(0x419),this[_0x423720(0x48d)][_0x423720(0x574)]()),_0x39016d(this,_0x423720(0x475)),_0x39016d(this,_0x423720(0x23a)),_0x39016d(this,'_collaborationTimeoutTimer'),_0x39016d(this,'_shouldReportTelemetry',!0x1),_0x39016d(this,_0x423720(0x4cc),null),(this[_0x423720(0x451)]=_0x1f4ab2,this[_0x423720(0x2fa)]=_0x3c23e9,this[_0x423720(0x232)]=_0x3b3283,this['_messageService']=_0x8f5c63,this[_0x423720(0x546)]=_0x597f02,this[_0x423720(0x216)]=_0x357163,this[_0x423720(0x11e)]=_0x321210,this[_0x423720(0x25c)]=_0x43d248,this[_0x423720(0x2ea)]=_0x4c972d,this[_0x423720(0x19b)]=!!this[_0x423720(0x2ea)],_0xfe158d[_0x423720(0x48c)](_0x2d244b['takeUntil'](this[_0x423720(0x3dc)]))[_0x423720(0x436)](_0x2bea9a=>{const _0x55fce1=_0x423720;var _0x367cca;typeof _0x2bea9a>'u'||(this[_0x55fce1(0x475)]=_0x2bea9a,_0x2bea9a?(this[_0x55fce1(0x4f7)](_0x2bea9a),this[_0x55fce1(0x23a)]=_0x2bea9a['message$'][_0x55fce1(0x436)](_0x4e0131=>{const _0x46846c=_0x55fce1;_0x4e0131[_0x46846c(0x359)]===this[_0x46846c(0x451)]&&this['_onCombEvent'](_0x4e0131);})):(this[_0x55fce1(0x39e)](),this[_0x55fce1(0x38c)][_0x55fce1(0x411)](0x2),(_0x367cca=this[_0x55fce1(0x23a)])==null||_0x367cca['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x423720(0x39a)](this['_beforeCloseService'][_0x423720(0x1f6)](()=>{const _0x24df58=_0x423720;var _0x1a24f3;(_0x1a24f3=this[_0x24df58(0x475)])==null||_0x1a24f3[_0x24df58(0x137)]({'cmd':_0x2d3d8d[_0x24df58(0x4bf)],'data':{'roomID':this[_0x24df58(0x451)]}});})));}get['sessionStatus'](){const _0x2fdd30=_0x50247e;return this[_0x2fdd30(0x38c)][_0x2fdd30(0x3d4)]();}[_0x50247e(0x4ba)](){const _0x1944d5=_0x50247e;var _0x255d66,_0xf1ba78;return(_0xf1ba78=(_0x255d66=this[_0x1944d5(0x475)])==null?void 0x0:_0x255d66[_0x1944d5(0x188)])!=null?_0xf1ba78:null;}[_0x50247e(0x452)](){const _0x110b10=_0x50247e;super[_0x110b10(0x452)](),this[_0x110b10(0x3dc)][_0x110b10(0x411)](),this[_0x110b10(0x3dc)][_0x110b10(0x29f)]();}[_0x50247e(0x38d)](){const _0x5bd76c=_0x50247e;var _0x27abd1,_0x5caca6;this[_0x5bd76c(0x39e)](),(_0x27abd1=this[_0x5bd76c(0x475)])==null||_0x27abd1[_0x5bd76c(0x137)]({'cmd':_0x2d3d8d['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5caca6=this['_socket'])==null||_0x5caca6[_0x5bd76c(0x38d)](),this[_0x5bd76c(0x48d)][_0x5bd76c(0x29f)](),this[_0x5bd76c(0x38c)][_0x5bd76c(0x29f)](),this['dispose']();}[_0x50247e(0x446)](_0x3f460b){const _0x567f38=_0x50247e;_0x3f460b[_0x567f38(0x581)]===_0x2d3d8d[_0x567f38(0x29c)]?this[_0x567f38(0x553)](_0x3f460b):_0x3f460b[_0x567f38(0x581)]===_0x2d3d8d[_0x567f38(0x480)]&&this[_0x567f38(0x3db)](_0x3f460b);}[_0x50247e(0x4f7)](_0x3cdc72){const _0x550c43=_0x50247e;this[_0x550c43(0x38c)]['next'](0x1),_0x3cdc72[_0x550c43(0x137)]({'cmd':_0x2d3d8d['JOIN'],'routeKey':this[_0x550c43(0x451)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x50247e(0x553)](_0x36bb87){const _0x22f1ef=_0x50247e;var _0x411f61;if(_0x36bb87['code']===_0x1c5c9e['FAIL']){this[_0x22f1ef(0x2f6)]['show']({'type':_0x5629a0[_0x22f1ef(0x2b4)][_0x22f1ef(0x36e)],'content':this[_0x22f1ef(0x216)]['t'](_0x22f1ef(0x304))}),this['_sessionStatus$'][_0x22f1ef(0x411)](0x2);return;}this[_0x22f1ef(0x38c)][_0x22f1ef(0x411)](0x3);const _0x5ae226=(_0x411f61=_0x36bb87[_0x22f1ef(0x50e)][_0x22f1ef(0x23f)][this['_unitID']])==null?void 0x0:_0x411f61[_0x22f1ef(0x14b)];_0x5ae226&&_0x5ae226[_0x22f1ef(0x3d0)](_0x4985ae=>this[_0x22f1ef(0x11e)][_0x22f1ef(0x1a1)](this[_0x22f1ef(0x451)],_0x4985ae));}[_0x50247e(0x3db)](_0x523128){const _0x4f4d23=_0x50247e;try{const _0x57d7eb=_0x523128[_0x4f4d23(0x50e)];switch(_0x57d7eb[_0x4f4d23(0x38a)]){case _0x413309[_0x4f4d23(0x3d7)]['USERS_ENTER']:this[_0x4f4d23(0x1fb)](_0x57d7eb),this[_0x4f4d23(0x48d)][_0x4f4d23(0x411)](_0x57d7eb);break;case _0x413309['CollaborationEvent'][_0x4f4d23(0x42d)]:this['_onUserLeave'](_0x57d7eb),this[_0x4f4d23(0x48d)]['next'](_0x57d7eb);break;case _0x413309[_0x4f4d23(0x3d7)][_0x4f4d23(0x56b)]:case _0x413309[_0x4f4d23(0x3d7)][_0x4f4d23(0x521)]:this[_0x4f4d23(0x21f)](),this['_clearCollaborationTimeoutTimer'](),this[_0x4f4d23(0x48d)][_0x4f4d23(0x411)](_0x57d7eb);break;case _0x413309[_0x4f4d23(0x3d7)][_0x4f4d23(0x16d)]:this[_0x4f4d23(0x2fa)][_0x4f4d23(0x54c)](_0x4f4d23(0x27a)+JSON['stringify'](_0x57d7eb)),this[_0x4f4d23(0x48d)][_0x4f4d23(0x411)](_0x57d7eb);break;case _0x413309[_0x4f4d23(0x3d7)]['COMMENT_UPDATE']:this[_0x4f4d23(0x25c)][_0x4f4d23(0x4d3)](_0x57d7eb['data']),this['_event$'][_0x4f4d23(0x411)](_0x57d7eb);break;default:this['_event$'][_0x4f4d23(0x411)](_0x57d7eb);}}catch(_0x414082){this['_logService'][_0x4f4d23(0x54c)](_0x414082,_0x523128);}}[_0x50247e(0x1fb)](_0xd026d9){const _0x272855=_0x50247e;this['_memberService'][_0x272855(0x1a1)](this[_0x272855(0x451)],_0xd026d9[_0x272855(0x50e)]);}['_onUserLeave'](_0x2b5cfe){const _0x24ecf0=_0x50247e;this[_0x24ecf0(0x11e)][_0x24ecf0(0x223)](this['_unitID'],_0x2b5cfe['data'][_0x24ecf0(0x188)]);}async[_0x50247e(0x137)](_0x499e8c,_0x2d1d2e){const _0x29caea=_0x50247e;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x29caea(0x2eb));try{_0x499e8c[_0x29caea(0x38a)]===_0x413309[_0x29caea(0x3d7)]['SUBMIT_CHANGESET']&&(this[_0x29caea(0x403)](),this['_startTelemetryCollaborationNewChangeset'](_0x499e8c)),this['_socket'][_0x29caea(0x137)]({'cmd':_0x2d3d8d['INGEST'],'routeKey':_0x2d1d2e,'routeType':'','data':_0x499e8c});}catch(_0x28bf9d){this[_0x29caea(0x2fa)][_0x29caea(0x54c)](_0x28bf9d);}}[_0x50247e(0x403)](){const _0x62171e=_0x50247e;var _0x46be2a;this[_0x62171e(0x2b9)]=window['setTimeout'](()=>{const _0x559695=_0x62171e;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x559695(0x50f)]({'type':_0x5629a0[_0x559695(0x2b4)][_0x559695(0x196)],'content':this[_0x559695(0x216)]['t'](_0x559695(0x2d3))});},(_0x46be2a=this[_0x62171e(0x546)]['getConfig'](_0x387811))!=null?_0x46be2a:0x4e20);}[_0x50247e(0x192)](){const _0x397570=_0x50247e;this[_0x397570(0x2b9)]&&(clearTimeout(this[_0x397570(0x2b9)]),this[_0x397570(0x2b9)]=null);}[_0x50247e(0x279)](_0x5d998f){const _0x387949=_0x50247e;if(!this[_0x387949(0x19b)])return;const {data:_0x4c30e1}=_0x5d998f,{unitID:_0xc68c9d,changeset:_0x4f1b82}=_0x4c30e1,{mutations:_0x262e62,type:_0xc30c8e}=_0x4f1b82;this[_0x387949(0x4cc)]={'unitId':_0xc68c9d,'type':_0xc30c8e,'startTime':performance[_0x387949(0x34b)](),'stopTime':0x0,'duration':0x0,'size':_0x4f7cc5(_0x262e62)};}[_0x50247e(0x21f)](){const _0x2febaf=_0x50247e;if(this['_shouldReportTelemetry']){if(!this[_0x2febaf(0x4cc)]){this[_0x2febaf(0x2fa)]['error'](_0x2febaf(0x3c7),_0x2febaf(0x559));return;}this['_telemetryInfo']['stopTime']=performance[_0x2febaf(0x34b)](),this[_0x2febaf(0x4cc)][_0x2febaf(0x4ed)]=this[_0x2febaf(0x4cc)][_0x2febaf(0x489)]-this[_0x2febaf(0x4cc)][_0x2febaf(0x149)],this[_0x2febaf(0x2ea)][_0x2febaf(0x394)](_0x4b52,this[_0x2febaf(0x4cc)]),this[_0x2febaf(0x4cc)]=null;}}[_0x50247e(0x39e)](){const _0x5dc9ce=_0x50247e;this[_0x5dc9ce(0x4cc)]=null;}},_0x10e5bc[_0x50247e(0x305)]=_0x2eb441([_0x5b1bbe(0x2,_0x47a99f['ILogService']),_0x5b1bbe(0x3,_0x2eba72[_0x50247e(0x488)]),_0x5b1bbe(0x4,_0x2eba72['IMessageService']),_0x5b1bbe(0x5,_0x47a99f[_0x50247e(0x268)]),_0x5b1bbe(0x6,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0xe9)])),_0x5b1bbe(0x7,_0x47a99f['Inject'](_0x10e5bc['MemberService'])),_0x5b1bbe(0x8,_0x47a99f[_0x50247e(0x30e)](_0xbc4e61)),_0x5b1bbe(0x9,_0x47a99f[_0x50247e(0x4c9)](_0x5b753e[_0x50247e(0x4b9)]))],_0x10e5bc['CollaborationSession']);var _0x3e535c=Object[_0x50247e(0x2af)],_0x4e7895=Object[_0x50247e(0x135)],_0xe17a1c=(_0x533e8b,_0x2c3ca6,_0xc5e00f,_0x54574c)=>{const _0x11596d=_0x50247e;for(var _0xf929c=_0x54574c>0x1?void 0x0:_0x54574c?_0x4e7895(_0x2c3ca6,_0xc5e00f):_0x2c3ca6,_0x37cdb6=_0x533e8b[_0x11596d(0x1f1)]-0x1,_0x5da617;_0x37cdb6>=0x0;_0x37cdb6--)(_0x5da617=_0x533e8b[_0x37cdb6])&&(_0xf929c=(_0x54574c?_0x5da617(_0x2c3ca6,_0xc5e00f,_0xf929c):_0x5da617(_0xf929c))||_0xf929c);return _0x54574c&&_0xf929c&&_0x3e535c(_0x2c3ca6,_0xc5e00f,_0xf929c),_0xf929c;},_0x5f207b=(_0x49026e,_0x4541fb)=>(_0x80198,_0x14add8)=>_0x4541fb(_0x80198,_0x14add8,_0x49026e);_0x10e5bc[_0x50247e(0x4b8)]=class extends _0x47a99f['Disposable']{constructor(_0x32824c,_0x1d65e1,_0x475692,_0x75977,_0x52751c,_0x5ad1b5){const _0x47fce1=_0x50247e;super(),_0x39016d(this,_0x47fce1(0x215),new _0x2d244b[(_0x47fce1(0x402))](void 0x0)),_0x39016d(this,_0x47fce1(0x283),this[_0x47fce1(0x215)][_0x47fce1(0x574)]()),_0x39016d(this,'_candidateSocket',null),_0x39016d(this,_0x47fce1(0x567),new Map()),_0x39016d(this,_0x47fce1(0x1b0),new _0x2d244b[(_0x47fce1(0x402))](_0x4322d6['IDLE'])),_0x39016d(this,_0x47fce1(0x3c2),this[_0x47fce1(0x1b0)][_0x47fce1(0x574)]()),_0x39016d(this,'_socketReady',!0x1),_0x39016d(this,'_retryConnectingTimer'),_0x39016d(this,'_retryCount',0x0),_0x39016d(this,_0x47fce1(0x472)),_0x39016d(this,'_timeoutTimer'),(this[_0x47fce1(0x210)]=_0x32824c,this[_0x47fce1(0x216)]=_0x1d65e1,this['_messageService']=_0x475692,this['_logService']=_0x75977,this[_0x47fce1(0x546)]=_0x52751c,this[_0x47fce1(0x592)]=_0x5ad1b5,this['_initEventListeners']());}get['_socket'](){const _0x5ab7b3=_0x50247e;return this[_0x5ab7b3(0x215)][_0x5ab7b3(0x3d4)]();}[_0x50247e(0x3ca)](){const _0x4dcc65=_0x50247e;this[_0x4dcc65(0x35d)](),this[_0x4dcc65(0x24b)]();}[_0x50247e(0x452)](){const _0x221507=_0x50247e;super['dispose'](),this[_0x221507(0x567)][_0x221507(0x3d0)](_0x43dcde=>_0x43dcde[_0x221507(0x452)]()),this[_0x221507(0x567)]['clear'](),this[_0x221507(0x1b0)]['complete']();}async[_0x50247e(0x1b9)](_0x44abee){const _0x20c7f4=_0x50247e;if(this[_0x20c7f4(0x567)]['has'](_0x44abee))return this['_sessions'][_0x20c7f4(0x40e)](_0x44abee);this[_0x20c7f4(0x23e)]();const _0xc988f0=this[_0x20c7f4(0x210)][_0x20c7f4(0x589)](_0x10e5bc[_0x20c7f4(0x305)],_0x44abee,this[_0x20c7f4(0x215)]['asObservable']());return this[_0x20c7f4(0x567)][_0x20c7f4(0xed)](_0x44abee,_0xc988f0),_0xc988f0;}[_0x50247e(0x205)](_0x1c0577){const _0x28c610=_0x50247e;var _0xaa7811;const _0x55eb78=this[_0x28c610(0x567)][_0x28c610(0x40e)](_0x1c0577);_0x55eb78&&(this[_0x28c610(0x567)][_0x28c610(0x45f)](_0x1c0577),_0x55eb78['close']()),this[_0x28c610(0x567)][_0x28c610(0x18e)]||(_0xaa7811=this[_0x28c610(0x475)])==null||_0xaa7811[_0x28c610(0x38d)]();}[_0x50247e(0x575)](){const _0x2beac7=_0x50247e;this[_0x2beac7(0x10c)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2beac7(0x44c)]),this[_0x2beac7(0x44c)]=null),this[_0x2beac7(0x558)]();}[_0x50247e(0x404)](){const _0x48f777=_0x50247e;var _0x59f8a3,_0x2e49ba;const _0x58bf7b=this[_0x48f777(0x546)][_0x48f777(0x39c)](_0x3a9053),_0xb96201=this[_0x48f777(0x546)][_0x48f777(0x39c)](_0x127413),_0x56ccd5=(_0x2e49ba=(_0x59f8a3=_0xb96201==null?void 0x0:_0xb96201[_0x48f777(0x160)])!=null?_0x59f8a3:_0x58bf7b)!=null?_0x2e49ba:_0x2b51be,_0x3abee6=this[_0x48f777(0x592)]['createSocket'](_0x56ccd5);return this[_0x48f777(0x224)]=_0x3abee6,_0x3abee6;}['_tryEnsureSocket'](){const _0x4d17e8=_0x50247e;var _0x72ec6b,_0x59e3cf;try{const _0x1c2e2c=(_0x59e3cf=(_0x72ec6b=this['_socket'])!=null?_0x72ec6b:this['_candidateSocket'])!=null?_0x59e3cf:this[_0x4d17e8(0x404)]();if(_0x1c2e2c){const _0x11a636=_0x1c2e2c[_0x4d17e8(0x137)];_0x1c2e2c[_0x4d17e8(0x137)]=_0x24270c=>(this['_rescheduleHeartbeat'](),_0x11a636[_0x4d17e8(0x37c)](_0x1c2e2c,[_0x24270c])),_0x1c2e2c[_0x4d17e8(0x38f)][_0x4d17e8(0x436)](_0x5055a5=>this[_0x4d17e8(0x3e6)](_0x1c2e2c,_0x5055a5)),_0x1c2e2c['error$'][_0x4d17e8(0x48c)](_0x822d8b['take'](0x1))[_0x4d17e8(0x436)](_0x344e90=>this[_0x4d17e8(0x2fa)][_0x4d17e8(0x54c)](_0x4d17e8(0x22a),_0x344e90)),_0x1c2e2c['open$'][_0x4d17e8(0x48c)](_0x822d8b[_0x4d17e8(0x45e)](0x1))['subscribe'](()=>{const _0x5f02c9=_0x4d17e8;this[_0x5f02c9(0x184)](_0x1c2e2c);}),_0x1c2e2c['close$']['pipe'](_0x822d8b[_0x4d17e8(0x45e)](0x1))[_0x4d17e8(0x436)](_0xb119f=>{const _0x45e18d=_0x4d17e8;this[_0x45e18d(0x2fa)][_0x45e18d(0x505)]('[CollaborationSessionService]','socket\x20close',_0xb119f),this[_0x45e18d(0xfb)]();});}}catch(_0x23d9d1){this[_0x4d17e8(0x2fa)][_0x4d17e8(0x54c)](_0x23d9d1),this[_0x4d17e8(0xfb)]();}}[_0x50247e(0x184)](_0x33f30d){const _0x37779c=_0x50247e;this[_0x37779c(0x2fa)]['debug'](_0x37779c(0x173),'socket\x20open.'),_0x33f30d[_0x37779c(0x137)]({'cmd':_0x2d3d8d[_0x37779c(0x34f)]}),this[_0x37779c(0x415)]();}[_0x50247e(0x35d)](){const _0x308aac=_0x50247e;window[_0x308aac(0x2cd)](_0x308aac(0x476),()=>this[_0x308aac(0x57f)]());}['_onOffline'](){const _0x49fd28=_0x50247e;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x49fd28(0x1b0)][_0x49fd28(0x411)](_0x4322d6['OFFLINE']),this[_0x49fd28(0x215)][_0x49fd28(0x411)](null),this[_0x49fd28(0x4d4)](),this[_0x49fd28(0xf2)]();}['_onConnectionFailed'](){const _0x4026cf=_0x50247e;var _0x13bf3f;this['_onOffline'](),this[_0x4026cf(0x10c)]<((_0x13bf3f=this[_0x4026cf(0x546)][_0x4026cf(0x39c)](_0x4efaab))!=null?_0x13bf3f:0x3)?(this[_0x4026cf(0x2f6)]['show']({'key':'collaboration-session-retry','type':_0x5629a0[_0x4026cf(0x2b4)]['Warning'],'content':this['_localeService']['t'](_0x4026cf(0x45a))}),this[_0x4026cf(0x558)]()):this[_0x4026cf(0x2f6)]['show']({'key':_0x4026cf(0x2fe),'type':_0x5629a0['MessageType'][_0x4026cf(0x196)],'content':this[_0x4026cf(0x216)]['t'](_0x4026cf(0x2ed))});}[_0x50247e(0x24b)](){const _0x5321cc=_0x50247e,_0x45c877=()=>{const _0x2a1426=_0x5c6e;this['_socket']||this[_0x2a1426(0x575)]();},_0x24d953=()=>{const _0x1819f7=_0x5c6e;this[_0x1819f7(0x475)]||document[_0x1819f7(0x4d8)]==='hidden'||this[_0x1819f7(0x575)]();};window[_0x5321cc(0x2cd)](_0x5321cc(0x104),_0x45c877),document[_0x5321cc(0x2cd)]('visibilitychange',_0x24d953);}[_0x50247e(0x558)](){const _0x35641b=_0x50247e;var _0x1b9e5c;const _0x23b5e6=this[_0x35641b(0x10c)],_0x292003=this[_0x35641b(0x546)][_0x35641b(0x39c)](_0x127413),_0x1b5f87=_0x23b5e6===0x0?0x0:((_0x1b9e5c=_0x292003==null?void 0x0:_0x292003[_0x35641b(0x30b)])!=null?_0x1b9e5c:0x4e20)*0x2**_0x23b5e6;this['_retryConnectingTimer']=window[_0x35641b(0x4e4)](()=>{const _0x3faac7=_0x35641b;clearTimeout(this['_retryConnectingTimer']),this[_0x3faac7(0x44c)]=null,this[_0x3faac7(0x23e)]();},_0x1b5f87),this[_0x35641b(0x10c)]+=0x1;}[_0x50247e(0x3e6)](_0xebd50,_0x26b61d){const _0xd457b8=_0x50247e,{cmd:_0x566202}=_0x26b61d;_0x566202===_0x2d3d8d['HELLO']&&!this[_0xd457b8(0x4ad)]&&(_0xebd50[_0xd457b8(0x188)]=_0x26b61d[_0xd457b8(0x50e)]['memberID'],this[_0xd457b8(0x215)][_0xd457b8(0x411)](_0xebd50),this[_0xd457b8(0x1b0)]['next'](_0x4322d6[_0xd457b8(0x2bb)]),this[_0xd457b8(0x4ad)]=!0x0,this[_0xd457b8(0x224)]=null),_0x566202===_0x2d3d8d[_0xd457b8(0x19a)]&&this[_0xd457b8(0x4d4)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0xed9dbb=_0x50247e;var _0x167df9;this[_0xed9dbb(0xf2)](),this[_0xed9dbb(0x472)]=window[_0xed9dbb(0x4e4)](()=>this['_sendHeartbeat'](),(_0x167df9=this[_0xed9dbb(0x546)][_0xed9dbb(0x39c)](_0x5aaa16))!=null?_0x167df9:0x7530);}[_0x50247e(0x11f)](){const _0x5b0ef1=_0x50247e;this['_socket'][_0x5b0ef1(0x137)]({'cmd':_0x2d3d8d[_0x5b0ef1(0x19a)]}),this[_0x5b0ef1(0xdf)]();}[_0x50247e(0xdf)](){const _0x52cecd=_0x50247e;var _0x7b0230;this[_0x52cecd(0x308)]=window[_0x52cecd(0x4e4)](()=>this[_0x52cecd(0xfb)](),(_0x7b0230=this['_configService']['getConfig'](_0x387811))!=null?_0x7b0230:0x4e20);}[_0x50247e(0xf2)](){const _0x12413d=_0x50247e;this[_0x12413d(0x472)]!=null&&(clearTimeout(this[_0x12413d(0x472)]),this[_0x12413d(0x472)]=null);}[_0x50247e(0x4d4)](){const _0x4baec6=_0x50247e;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4baec6(0x308)]=null);}},_0x10e5bc[_0x50247e(0x4b8)]=_0xe17a1c([_0x5f207b(0x0,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x5f207b(0x1,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['LocaleService'])),_0x5f207b(0x2,_0x2eba72['IMessageService']),_0x5f207b(0x3,_0x47a99f['ILogService']),_0x5f207b(0x4,_0x47a99f['IConfigService']),_0x5f207b(0x5,_0x5927ab)],_0x10e5bc['CollaborationSessionService']);for(var _0x2b0463=[],_0x57eafe=0x0;_0x57eafe<0x100;++_0x57eafe)_0x2b0463[_0x50247e(0x421)]((_0x57eafe+0x100)['toString'](0x10)['slice'](0x1));function _0x3d7ba7(_0x188c75,_0x4dc60f=0x0){const _0x8fc75a=_0x50247e;return(_0x2b0463[_0x188c75[_0x4dc60f+0x0]]+_0x2b0463[_0x188c75[_0x4dc60f+0x1]]+_0x2b0463[_0x188c75[_0x4dc60f+0x2]]+_0x2b0463[_0x188c75[_0x4dc60f+0x3]]+'-'+_0x2b0463[_0x188c75[_0x4dc60f+0x4]]+_0x2b0463[_0x188c75[_0x4dc60f+0x5]]+'-'+_0x2b0463[_0x188c75[_0x4dc60f+0x6]]+_0x2b0463[_0x188c75[_0x4dc60f+0x7]]+'-'+_0x2b0463[_0x188c75[_0x4dc60f+0x8]]+_0x2b0463[_0x188c75[_0x4dc60f+0x9]]+'-'+_0x2b0463[_0x188c75[_0x4dc60f+0xa]]+_0x2b0463[_0x188c75[_0x4dc60f+0xb]]+_0x2b0463[_0x188c75[_0x4dc60f+0xc]]+_0x2b0463[_0x188c75[_0x4dc60f+0xd]]+_0x2b0463[_0x188c75[_0x4dc60f+0xe]]+_0x2b0463[_0x188c75[_0x4dc60f+0xf]])[_0x8fc75a(0x34e)]();}var _0x1c6893,_0xb79cac=new Uint8Array(0x10);function _0x26282c(){const _0x54b2a7=_0x50247e;if(!_0x1c6893&&(_0x1c6893=typeof crypto<'u'&&crypto[_0x54b2a7(0x18b)]&&crypto[_0x54b2a7(0x18b)]['bind'](crypto),!_0x1c6893))throw new Error(_0x54b2a7(0x143));return _0x1c6893(_0xb79cac);}var _0x30f215=typeof crypto<'u'&&crypto[_0x50247e(0x31d)]&&crypto['randomUUID'][_0x50247e(0x176)](crypto);const _0x8f232b={'randomUUID':_0x30f215};function _0xcff08f(_0x476352,_0x256573,_0xbfad79){const _0x8a84da=_0x50247e;if(_0x8f232b['randomUUID']&&!_0x256573&&!_0x476352)return _0x8f232b[_0x8a84da(0x31d)]();_0x476352=_0x476352||{};var _0x424f04=_0x476352['random']||(_0x476352[_0x8a84da(0x213)]||_0x26282c)();return _0x424f04[0x6]=_0x424f04[0x6]&0xf|0x40,_0x424f04[0x8]=_0x424f04[0x8]&0x3f|0x80,_0x3d7ba7(_0x424f04);}var _0x5ba5e8=Object[_0x50247e(0x2af)],_0x363e49=Object[_0x50247e(0x135)],_0x2497a5=(_0x255588,_0x48b11f,_0xb451cd,_0x423d36)=>{const _0x4b395a=_0x50247e;for(var _0x2df407=_0x423d36>0x1?void 0x0:_0x423d36?_0x363e49(_0x48b11f,_0xb451cd):_0x48b11f,_0x4e84ce=_0x255588[_0x4b395a(0x1f1)]-0x1,_0x14acc4;_0x4e84ce>=0x0;_0x4e84ce--)(_0x14acc4=_0x255588[_0x4e84ce])&&(_0x2df407=(_0x423d36?_0x14acc4(_0x48b11f,_0xb451cd,_0x2df407):_0x14acc4(_0x2df407))||_0x2df407);return _0x423d36&&_0x2df407&&_0x5ba5e8(_0x48b11f,_0xb451cd,_0x2df407),_0x2df407;},_0x4b2e0a=(_0x2dff3b,_0x2c0fdf)=>(_0x140e8f,_0x4206ac)=>_0x2c0fdf(_0x140e8f,_0x4206ac,_0x2dff3b);let _0x17a937=class{constructor(_0x3bdd14,_0x5cd2be,_0xd88060){const _0x17081d=_0x50247e;this[_0x17081d(0x210)]=_0x3bdd14,this['_transformService']=_0x5cd2be,this[_0x17081d(0x1db)]=_0xd88060;}[_0x50247e(0x16e)](_0x5c3272){const _0x5974f7=_0x50247e;this[_0x5974f7(0x43d)](_0x5c3272),this['_transformPreviousActiveRange'](_0x5c3272);}['transformRemoteChangeset'](_0x34ea5d){const _0x54f11d=_0x50247e,{unitID:_0x20c213}=_0x34ea5d,_0x12e44c=this[_0x54f11d(0x1db)]['getRenderById'](_0x20c213)[_0x54f11d(0x388)](_0x163238['DocIMEInputManagerService']),{redoCache:_0x3eda1f}=_0x12e44c[_0x54f11d(0x332)]();if(_0x3eda1f[_0x54f11d(0x1f1)]===0x0)return _0x34ea5d;let _0x12a25d=_0x47a99f[_0x54f11d(0x4b7)][_0x54f11d(0x3de)](_0x34ea5d[_0x54f11d(0xde)][0x0]);for(let _0x48d83c=0x0;_0x48d83c<_0x3eda1f['length'];_0x48d83c++){const _0x38a02f={'id':_0x54f11d(0x569),'params':{..._0x3eda1f[_0x48d83c]}},_0x16677a=this[_0x54f11d(0x263)][_0x54f11d(0x18a)](_0x12a25d,_0x38a02f,!0x1);if(_0x413309['isTransformMutationFailure'](_0x16677a))throw _0x16677a[_0x54f11d(0x54c)];_0x12a25d=_0x16677a[_0x54f11d(0xee)];}return{..._0x47a99f[_0x54f11d(0x4b7)][_0x54f11d(0x3de)](_0x34ea5d),'mutations':[_0x12a25d]};}[_0x50247e(0x43d)](_0x9cc608){const _0x5719c2=_0x50247e,{unitID:_0x409f66}=_0x9cc608,_0x1e4813=this[_0x5719c2(0x1db)]['getRenderById'](_0x409f66)['with'](_0x163238[_0x5719c2(0x552)]),{undoCache:_0x4a194f,redoCache:_0x1d1078}=_0x1e4813[_0x5719c2(0x332)]();if(_0x4a194f[_0x5719c2(0x1f1)]===0x0||_0x1d1078[_0x5719c2(0x1f1)]===0x0)return;const _0x238516=[],_0x1af38d=[];let _0x228a0a=_0x47a99f[_0x5719c2(0x4b7)]['deepClone'](_0x9cc608[_0x5719c2(0xde)][0x0]),_0x145cd9=_0x47a99f['Tools']['deepClone'](_0x9cc608['mutations'][0x0]);for(let _0x371ef4=_0x4a194f[_0x5719c2(0x1f1)]-0x1;_0x371ef4>=0x0;_0x371ef4--){const _0x4ff353={'id':_0x5719c2(0x569),'params':{..._0x4a194f[_0x371ef4]}},_0x2aeb37={'id':_0x5719c2(0x569),'params':{..._0x1d1078[_0x371ef4]}},_0x2a32a7=this['_transformService'][_0x5719c2(0x18a)](_0x228a0a,_0x4ff353,!0x1),_0x2c50e7=this['_transformService'][_0x5719c2(0x18a)](_0x145cd9,_0x2aeb37,!0x1);if(_0x413309[_0x5719c2(0x142)](_0x2a32a7))throw _0x2a32a7[_0x5719c2(0x54c)];if(_0x413309[_0x5719c2(0x142)](_0x2c50e7))throw _0x2c50e7[_0x5719c2(0x54c)];_0x238516['unshift'](_0x2a32a7[_0x5719c2(0x52d)]['params']),_0x1af38d[_0x5719c2(0x220)](_0x2c50e7[_0x5719c2(0x52d)][_0x5719c2(0x30c)]),_0x228a0a=_0x2a32a7[_0x5719c2(0xee)],_0x145cd9=_0x2c50e7[_0x5719c2(0xee)];}_0x1e4813['setUndoRedoMutationParamsCache']({'undoCache':_0x238516,'redoCache':_0x1af38d});}[_0x50247e(0x12d)](_0x29650b){const _0x58105c=_0x50247e,{unitID:_0x521731}=_0x29650b,_0x175c33=this[_0x58105c(0x1db)][_0x58105c(0x198)](_0x521731)['with'](_0x163238[_0x58105c(0x552)]),_0x27697d=_0x175c33[_0x58105c(0x285)]();if(_0x27697d==null)return;const _0x551894=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29650b[_0x58105c(0x118)],'actions':null,'textRanges':[_0x27697d]}}],_0x4390fc=this[_0x58105c(0x263)][_0x58105c(0x563)](_0x29650b,_0x551894);if(!_0x413309[_0x58105c(0x126)](_0x4390fc))throw _0x4390fc[_0x58105c(0x54c)];const _0x2244ca=_0x4390fc[_0x58105c(0x52d)][0x0][_0x58105c(0x30c)][_0x58105c(0xec)];Array[_0x58105c(0x1ba)](_0x2244ca)&&_0x2244ca[_0x58105c(0x1f1)]&&_0x175c33[_0x58105c(0x257)](_0x2244ca[0x0]);}};_0x17a937=_0x2497a5([_0x4b2e0a(0x0,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x4b2e0a(0x1,_0x413309['ITransformService']),_0x4b2e0a(0x2,_0x231ab8[_0x50247e(0x1d5)])],_0x17a937);var _0x93b648=Object['defineProperty'],_0x4b1ef4=Object[_0x50247e(0x135)],_0x5bd9ab=(_0xa5db7f,_0x23d298,_0x54c55d,_0x202c11)=>{for(var _0x31c5e8=_0x202c11>0x1?void 0x0:_0x202c11?_0x4b1ef4(_0x23d298,_0x54c55d):_0x23d298,_0x20ebed=_0xa5db7f['length']-0x1,_0x300ab0;_0x20ebed>=0x0;_0x20ebed--)(_0x300ab0=_0xa5db7f[_0x20ebed])&&(_0x31c5e8=(_0x202c11?_0x300ab0(_0x23d298,_0x54c55d,_0x31c5e8):_0x300ab0(_0x31c5e8))||_0x31c5e8);return _0x202c11&&_0x31c5e8&&_0x93b648(_0x23d298,_0x54c55d,_0x31c5e8),_0x31c5e8;},_0x19556a=(_0x154c7e,_0x4c7ac6)=>(_0x325137,_0x52ad6a)=>_0x4c7ac6(_0x325137,_0x52ad6a,_0x154c7e);_0x10e5bc[_0x50247e(0x53e)]=class extends _0x47a99f['Disposable']{constructor(_0x43d545,_0xc4148,_0x12ad22,_0x1798d3,_0x275184){const _0x5ce2ae=_0x50247e;super(),_0x39016d(this,_0x5ce2ae(0x110),new Map()),_0x39016d(this,_0x5ce2ae(0x300),new Map()),_0x39016d(this,'_disabled',!0x1),(this[_0x5ce2ae(0x546)]=_0x43d545,this['_localStorageService']=_0xc4148,this['_beforeCloseService']=_0x12ad22,this[_0x5ce2ae(0x216)]=_0x1798d3,this['_revisionService']=_0x275184,this[_0x5ce2ae(0x32c)]());}[_0x50247e(0x4f2)](){const _0x240096=_0x50247e;this[_0x240096(0x4e8)]=!0x0;}[_0x50247e(0x1f9)](){const _0x81f2f9=_0x50247e;this[_0x81f2f9(0x4e8)]=!0x1;}[_0x50247e(0x452)](){const _0x2c70f3=_0x50247e;this['exhaustSavingTask']()[_0x2c70f3(0x534)](()=>super['dispose']());}async[_0x50247e(0x1a7)](_0x4cba33){return this['_disabled']?null:this['_localStorageService']['getItem'](_0x2eea15(_0x4cba33));}async[_0x50247e(0x2a3)](_0x281d1a,_0x2c3790){const _0x48e963=_0x50247e;return!!this[_0x48e963(0x313)][_0x48e963(0x16b)](_0x281d1a,_0x2c3790);}[_0x50247e(0x31c)](_0x39eb49,_0x4d684a,_0x5e209b,_0x2d7ff5){const _0x223c24=_0x50247e,_0x4c0872=this['_revisionService']['getCurrentRevOfUnit'](_0x39eb49);this[_0x223c24(0x110)][_0x223c24(0xed)](_0x39eb49,{'unitID':_0x39eb49,'type':_0x4d684a,'awaitingChangeset':_0x5e209b,'mutations':_0x2d7ff5,'rev':_0x4c0872}),this[_0x223c24(0x300)][_0x223c24(0x138)](_0x39eb49)||this[_0x223c24(0x239)](_0x39eb49);}[_0x50247e(0x239)](_0x1b8c25){const _0x1b9389=_0x50247e,_0x432b0b=this['_getSaveTimeout']();_0x432b0b===0x0?this[_0x1b9389(0x276)](_0x1b8c25):this[_0x1b9389(0x300)][_0x1b9389(0xed)](_0x1b8c25,setTimeout(()=>this[_0x1b9389(0x276)](_0x1b8c25),_0x432b0b));}[_0x50247e(0x50b)](){const _0x35ffac=_0x50247e;var _0xc3553a;return(_0xc3553a=this[_0x35ffac(0x546)][_0x35ffac(0x39c)](_0x5a0929))!=null?_0xc3553a:0x3e8;}[_0x50247e(0x276)](_0x105777){const _0x1eec74=_0x50247e,_0x31cf1a=this[_0x1eec74(0x300)][_0x1eec74(0x40e)](_0x105777);return _0x31cf1a!==void 0x0&&window[_0x1eec74(0x2fb)](_0x31cf1a),this[_0x1eec74(0x313)][_0x1eec74(0x16b)](_0x2eea15(_0x105777),this[_0x1eec74(0x110)][_0x1eec74(0x40e)](_0x105777))['then'](()=>this[_0x1eec74(0x300)][_0x1eec74(0x45f)](_0x105777));}async['exhaustSavingTask'](){const _0x1c9608=_0x50247e,_0x126f7c=[];this[_0x1c9608(0x300)][_0x1c9608(0x3d0)]((_0x25dfed,_0x55ec38)=>{const _0x32b9eb=_0x1c9608;window[_0x32b9eb(0x2fb)](_0x25dfed),_0x126f7c[_0x32b9eb(0x421)](this['_saveCache'](_0x55ec38)['then'](()=>{const _0x212a89=_0x32b9eb;this[_0x212a89(0x300)][_0x212a89(0x45f)](_0x55ec38);}));}),await Promise[_0x1c9608(0xf6)](_0x126f7c);}[_0x50247e(0x32c)](){const _0x162eff=_0x50247e;this[_0x162eff(0x39a)](this[_0x162eff(0x232)][_0x162eff(0x478)](()=>{const _0x445010=_0x162eff;if(this[_0x445010(0x300)][_0x445010(0x18e)])return this['_localeService']['t'](_0x445010(0x2c1));}));}},_0x10e5bc['LocalCacheService']=_0x5bd9ab([_0x19556a(0x0,_0x47a99f[_0x50247e(0x268)]),_0x19556a(0x1,_0x47a99f['ILocalStorageService']),_0x19556a(0x2,_0x2eba72[_0x50247e(0x488)]),_0x19556a(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0xe9)])),_0x19556a(0x4,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)]))],_0x10e5bc['LocalCacheService']);function _0x2eea15(_0x1fbe6b){return'unit-cache-'+_0x1fbe6b;}var _0x43325c=Object[_0x50247e(0x2af)],_0x308c3b=Object[_0x50247e(0x135)],_0x1f4fd5=(_0x272fb9,_0x1eb864,_0x5ea335,_0x44c2bd)=>{const _0x24564b=_0x50247e;for(var _0x493287=_0x44c2bd>0x1?void 0x0:_0x44c2bd?_0x308c3b(_0x1eb864,_0x5ea335):_0x1eb864,_0x35b708=_0x272fb9[_0x24564b(0x1f1)]-0x1,_0x512c74;_0x35b708>=0x0;_0x35b708--)(_0x512c74=_0x272fb9[_0x35b708])&&(_0x493287=(_0x44c2bd?_0x512c74(_0x1eb864,_0x5ea335,_0x493287):_0x512c74(_0x493287))||_0x493287);return _0x44c2bd&&_0x493287&&_0x43325c(_0x1eb864,_0x5ea335,_0x493287),_0x493287;},_0x40e011=(_0x26332f,_0x548ca0)=>(_0x4ce4a4,_0x57ea0f)=>_0x548ca0(_0x4ce4a4,_0x57ea0f,_0x26332f);function _0x5897d8(_0x539135){const _0xc45d5f=_0x50247e,{unitID:_0x506ba5,mutations:_0xcfed2f}=_0x539135;return{'unitId':_0x506ba5,'subUnitId':_0xcfed2f[0x0][_0xc45d5f(0x30c)][_0xc45d5f(0x167)]};}let _0x33c733=class{constructor(_0x3454a0,_0x10f191,_0x31387a){const _0x4377df=_0x50247e;this['_injector']=_0x3454a0,this[_0x4377df(0x263)]=_0x10f191,this[_0x4377df(0x3bd)]=_0x31387a;}[_0x50247e(0x458)](_0x3d0ac2){const _0x30c127=_0x50247e;var _0x2ebcef,_0x457919,_0x154f14,_0x582ec1;const _0x7e7dc6=this[_0x30c127(0x210)][_0x30c127(0x40e)](_0x3500ce['SheetsSelectionsService']),{unitId:_0xc9dcd5,subUnitId:_0x46a7a1}=_0x5897d8(_0x3d0ac2),_0x34a4ff=_0x7e7dc6[_0x30c127(0x2b3)](_0xc9dcd5)[_0x30c127(0x145)](),_0x183dcd=(_0x457919=(_0x2ebcef=this[_0x30c127(0x3bd)][_0x30c127(0x46d)](_0xc9dcd5))==null?void 0x0:_0x2ebcef[_0x30c127(0x461)]())==null?void 0x0:_0x457919[_0x30c127(0x431)]();if(_0x34a4ff[_0x30c127(0x1f1)]===0x0||!_0xc9dcd5||!_0x46a7a1)return;const _0x890f64=[{'id':_0x3500ce['SetSelectionsOperation']['id'],'params':{'unitId':_0xc9dcd5,'subUnitId':_0x183dcd,'selections':_0x47a99f[_0x30c127(0x4b7)][_0x30c127(0x3de)](_0x34a4ff)}}],_0x71da57=this[_0x30c127(0x263)][_0x30c127(0x563)](_0x3d0ac2,_0x890f64);if(!_0x413309[_0x30c127(0x126)](_0x71da57))throw _0x71da57[_0x30c127(0x54c)];const _0xc5b711=(_0x582ec1=(_0x154f14=_0x71da57[_0x30c127(0x52d)][0x0])==null?void 0x0:_0x154f14['params'])==null?void 0x0:_0x582ec1[_0x30c127(0x38b)];if(Array[_0x30c127(0x1ba)](_0xc5b711)&&_0xc5b711[_0x30c127(0x1f1)]){if(_0xc5b711['length']===_0x890f64[0x0]['params']['selections'][_0x30c127(0x1f1)]&&_0xc5b711['every']((_0x31618c,_0x2f1107)=>_0x47a99f[_0x30c127(0x266)][_0x30c127(0x572)](_0x31618c[_0x30c127(0x506)],_0x890f64[0x0]['params'][_0x30c127(0x38b)][_0x2f1107][_0x30c127(0x506)])))return;this[_0x30c127(0x210)][_0x30c127(0x40e)](_0x47a99f[_0x30c127(0x417)])['executeCommand'](_0x3500ce[_0x30c127(0x25f)]['id'],{'unitId':_0xc9dcd5,'subUnitId':_0x183dcd,'selections':_0xc5b711});}}};_0x33c733=_0x1f4fd5([_0x40e011(0x0,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['Injector'])),_0x40e011(0x1,_0x413309[_0x50247e(0x282)]),_0x40e011(0x2,_0x47a99f[_0x50247e(0x180)])],_0x33c733);const _0x849f9f=_0x47a99f['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x454b48=(_0x188e43=>(_0x188e43[_0x188e43['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x188e43[_0x188e43[_0x50247e(0x516)]=0x1]=_0x50247e(0x516),_0x188e43))(_0x454b48||{});const _0x168a2e=0x7530,_0x16f220=_0x50247e(0x347);class _0x2ccc8b extends _0x47a99f[_0x50247e(0x227)]{constructor(){const _0x2f93de=_0x50247e;super(),_0x39016d(this,'_id',_0x47a99f[_0x2f93de(0x4b7)][_0x2f93de(0x4fb)]()),_0x39016d(this,'_selfUnitIDs',new Set()),_0x39016d(this,_0x2f93de(0x2aa),new Map()),_0x39016d(this,_0x2f93de(0x1d9),null),_0x39016d(this,_0x2f93de(0x465),new Map()),_0x39016d(this,_0x2f93de(0x310),new Map()),this['_init']();}[_0x50247e(0x452)](){const _0x4f10d8=_0x50247e;super['dispose'](),this[_0x4f10d8(0x465)][_0x4f10d8(0x3d0)]((_0x227898,_0x4acf37)=>this[_0x4f10d8(0x103)](_0x4acf37)),this[_0x4f10d8(0x1d9)]&&window[_0x4f10d8(0x526)](this[_0x4f10d8(0x1d9)]);}[_0x50247e(0x24e)](_0x145967){const _0x477acb=_0x50247e;return this[_0x477acb(0x1e6)](_0x145967)['pipe'](_0x2d244b[_0x477acb(0x434)]());}[_0x50247e(0x48b)](_0xd50462){const _0x1af576=_0x50247e;this[_0x1af576(0x4fa)][_0x1af576(0x18e)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1af576(0x4fa)][_0x1af576(0x1ed)](_0xd50462),this[_0x1af576(0x3a1)]({'type':0x0,'memberID':this[_0x1af576(0x3b7)],'unitIDs':[_0xd50462],'isForwarded':!0x1});}[_0x50247e(0x2ca)](_0x3a4799){const _0x274316=_0x50247e;this[_0x274316(0x4fa)][_0x274316(0x45f)](_0x3a4799),this[_0x274316(0x4fa)][_0x274316(0x18e)]===0x0&&this['_heartbeatTimer']&&window[_0x274316(0x526)](this[_0x274316(0x1d9)]);}[_0x50247e(0x26d)](){const _0x4263f2=_0x50247e;this[_0x4263f2(0x39a)](_0x47a99f[_0x4263f2(0x2ef)](_0x2d244b[_0x4263f2(0xf4)](window,_0x4263f2(0xdc))[_0x4263f2(0x436)](_0xb7dab2=>{const _0x2e616d=_0x4263f2;if(_0xb7dab2[_0x2e616d(0x371)]!==_0x16f220||!_0xb7dab2[_0x2e616d(0x4da)])return;const _0x414d3d=JSON[_0x2e616d(0x1dc)](_0xb7dab2[_0x2e616d(0x4da)]);this[_0x2e616d(0x1f7)](_0x414d3d);}))),window[_0x4263f2(0x2cd)](_0x4263f2(0x306),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4263f2(0xcd)](this[_0x4263f2(0x4fa)])}));}[_0x50247e(0x1f7)](_0x5dcd0e){const _0x1b48f2=_0x50247e;switch(_0x5dcd0e[_0x1b48f2(0x112)]){case 0x0:this[_0x1b48f2(0x3be)](_0x5dcd0e);break;case 0x1:this[_0x1b48f2(0x4b0)](_0x5dcd0e);break;case 0x2:this[_0x1b48f2(0x578)](_0x5dcd0e);break;}}[_0x50247e(0x3be)](_0x23d827){const _0x1ab9c4=_0x50247e,{unitIDs:_0x33ed2e,memberID:_0x36c353,isForwarded:_0x5bbb25}=_0x23d827;_0x33ed2e['forEach'](_0x32406b=>{const _0x2e28aa=_0x5c6e;if(!_0x5bbb25&&this[_0x2e28aa(0x2aa)][_0x2e28aa(0x138)](_0x32406b)&&this[_0x2e28aa(0x1e6)](_0x32406b)[_0x2e28aa(0x411)](0x1),!this['_unitOnClients'][_0x2e28aa(0x138)](_0x32406b)||!this[_0x2e28aa(0x2aa)]['get'](_0x32406b)[_0x2e28aa(0x138)](_0x36c353)){const _0x251670=this[_0x2e28aa(0x2aa)][_0x2e28aa(0x40e)](_0x32406b)||new Set();_0x251670[_0x2e28aa(0x1ed)](_0x36c353),this['_unitOnClients'][_0x2e28aa(0xed)](_0x32406b,_0x251670),this[_0x2e28aa(0x339)](_0x36c353);}}),_0x5bbb25||this[_0x1ab9c4(0x3a1)]({'type':0x0,'memberID':this[_0x1ab9c4(0x3b7)],'unitIDs':[...this[_0x1ab9c4(0x4fa)]],'isForwarded':!0x0});}[_0x50247e(0x339)](_0xae6e3c){const _0x6271f5=_0x50247e;this[_0x6271f5(0x103)](_0xae6e3c);const _0x966d=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x4ce8a1=>{const _0x183b1c=_0x5c6e;_0x4ce8a1[_0x183b1c(0x45f)](_0xae6e3c);});},_0x168a2e*0x2);this[_0x6271f5(0x465)][_0x6271f5(0xed)](_0xae6e3c,_0x966d);}['_removeClearOtherTimer'](_0xd1cf08){const _0x17eef0=_0x50247e;if(this[_0x17eef0(0x465)][_0x17eef0(0x138)](_0xd1cf08)){const _0x4dff33=this[_0x17eef0(0x465)]['get'](_0xd1cf08);_0x4dff33&&window['clearTimeout'](_0x4dff33),this[_0x17eef0(0x465)]['set'](_0xd1cf08,null);}}[_0x50247e(0x4b0)](_0x7c4968){const _0x32c8e4=_0x50247e,{memberID:_0x3e08af,unitIDs:_0x25095f}=_0x7c4968;_0x25095f[_0x32c8e4(0x3d0)](_0x42d30c=>{const _0x4ac638=_0x32c8e4;var _0x17f076;const _0x123fe3=this['_unitOnClients'][_0x4ac638(0x40e)](_0x42d30c);_0x123fe3&&(_0x123fe3[_0x4ac638(0x45f)](_0x3e08af),(_0x17f076=this[_0x4ac638(0x1e6)](_0x42d30c))==null||_0x17f076[_0x4ac638(0x411)](_0x123fe3['size']===0x0?0x0:0x1));}),this[_0x32c8e4(0x103)](_0x3e08af);}['_handleHeartbeatEvent'](_0x2e0455){this['_scheduleClearOtherTimer'](_0x2e0455['memberID']);}[_0x50247e(0x3a1)](_0x12186b){const _0x38b897=_0x50247e;localStorage[_0x38b897(0x16b)](_0x16f220,JSON[_0x38b897(0x295)](_0x12186b));}[_0x50247e(0x507)](){const _0x2f9ea5=_0x50247e;this[_0x2f9ea5(0x1d9)]=window[_0x2f9ea5(0xe5)](()=>{const _0x456db5=_0x2f9ea5;this[_0x456db5(0x3a1)]({'type':0x2,'memberID':this[_0x456db5(0x3b7)]});},_0x168a2e);}[_0x50247e(0x1e6)](_0x4891c5){const _0x98257c=_0x50247e;return this['_unitStatus'][_0x98257c(0x138)](_0x4891c5)||this[_0x98257c(0x310)][_0x98257c(0xed)](_0x4891c5,new _0x2d244b[(_0x98257c(0x402))](0x0)),this[_0x98257c(0x310)][_0x98257c(0x40e)](_0x4891c5);}}var _0x1647bb=Object[_0x50247e(0x2af)],_0x4e7a4e=Object['getOwnPropertyDescriptor'],_0x4db068=(_0x3cf180,_0x2a1bbf,_0x2489ea,_0x456057)=>{const _0x297d6a=_0x50247e;for(var _0x27fcd8=_0x456057>0x1?void 0x0:_0x456057?_0x4e7a4e(_0x2a1bbf,_0x2489ea):_0x2a1bbf,_0x11e27f=_0x3cf180[_0x297d6a(0x1f1)]-0x1,_0x224735;_0x11e27f>=0x0;_0x11e27f--)(_0x224735=_0x3cf180[_0x11e27f])&&(_0x27fcd8=(_0x456057?_0x224735(_0x2a1bbf,_0x2489ea,_0x27fcd8):_0x224735(_0x27fcd8))||_0x27fcd8);return _0x456057&&_0x27fcd8&&_0x1647bb(_0x2a1bbf,_0x2489ea,_0x27fcd8),_0x27fcd8;},_0x5f2e4d=(_0x6d9153,_0x165fb8)=>(_0x3dbd67,_0x58517d)=>_0x165fb8(_0x3dbd67,_0x58517d,_0x6d9153);let _0x2353bd=class{constructor(_0x4cb03d,_0x3abb16,_0x46f33a){const _0x239b44=_0x50247e;this['_injector']=_0x4cb03d,this[_0x239b44(0x263)]=_0x3abb16,this['_docStateChangeManagerService']=_0x46f33a;}[_0x50247e(0x1ae)](_0x1a8a03){const _0x49444f=_0x50247e;this[_0x49444f(0x1cb)](_0x1a8a03);}[_0x50247e(0x46c)](_0x1889ac){const _0x5a61dd=_0x50247e,{unitID:_0x2a2916}=_0x1889ac,{collaboration:_0x43eb3d}=this[_0x5a61dd(0x299)][_0x5a61dd(0x296)](_0x2a2916);if(_0x43eb3d[_0x5a61dd(0x1f1)]===0x0)return _0x1889ac;let _0x710c8e=_0x47a99f[_0x5a61dd(0x4b7)][_0x5a61dd(0x3de)](_0x1889ac['mutations'][0x0]);for(let _0x231ca6=0x0;_0x231ca6<_0x43eb3d[_0x5a61dd(0x1f1)];_0x231ca6++){const _0x3dc3c1={'id':_0x5a61dd(0x569),'params':{'unitId':_0x43eb3d[_0x231ca6][_0x5a61dd(0x13c)],..._0x43eb3d[_0x231ca6][_0x5a61dd(0x447)]}},_0x447265=this[_0x5a61dd(0x263)][_0x5a61dd(0x18a)](_0x710c8e,_0x3dc3c1,!0x1);if(_0x413309[_0x5a61dd(0x142)](_0x447265))throw _0x447265[_0x5a61dd(0x54c)];_0x710c8e=_0x447265[_0x5a61dd(0xee)];}return{..._0x47a99f[_0x5a61dd(0x4b7)][_0x5a61dd(0x3de)](_0x1889ac),'mutations':[_0x710c8e]};}[_0x50247e(0x1cb)](_0x48aa3f){const _0x5a52a1=_0x50247e,{unitID:_0x4e0cc6}=_0x48aa3f,{history:_0x22685c,collaboration:_0x32c941}=this['_docStateChangeManagerService'][_0x5a52a1(0x296)](_0x4e0cc6);if(_0x22685c['length']===0x0&&_0x32c941[_0x5a52a1(0x1f1)]===0x0)return;const _0x200126=[],_0x5b9e9f=[];let _0x1448ac=_0x47a99f[_0x5a52a1(0x4b7)][_0x5a52a1(0x3de)](_0x48aa3f[_0x5a52a1(0xde)][0x0]),_0x284422=_0x47a99f[_0x5a52a1(0x4b7)][_0x5a52a1(0x3de)](_0x48aa3f[_0x5a52a1(0xde)][0x0]);for(let _0x1ce224=_0x22685c['length']-0x1;_0x1ce224>=0x0;_0x1ce224--){const _0x3b94f8={'id':_0x5a52a1(0x569),'params':{'unitId':_0x22685c[_0x1ce224]['unitId'],..._0x22685c[_0x1ce224][_0x5a52a1(0x4f8)]}},_0x5eff80={'id':_0x5a52a1(0x569),'params':{'unitId':_0x22685c[_0x1ce224][_0x5a52a1(0x13c)],..._0x22685c[_0x1ce224][_0x5a52a1(0x447)]}},_0x38bca5=this['_transformService'][_0x5a52a1(0x18a)](_0x1448ac,_0x3b94f8,!0x1),_0x88d1a2=this[_0x5a52a1(0x263)]['transformMutation'](_0x284422,_0x5eff80,!0x1);if(_0x413309[_0x5a52a1(0x142)](_0x38bca5))throw _0x38bca5[_0x5a52a1(0x54c)];if(_0x413309[_0x5a52a1(0x142)](_0x88d1a2))throw _0x88d1a2[_0x5a52a1(0x54c)];_0x200126['unshift']({..._0x22685c[_0x1ce224],'undoState':_0x38bca5[_0x5a52a1(0x52d)][_0x5a52a1(0x30c)],'redoState':_0x88d1a2['m2Prime'][_0x5a52a1(0x30c)]}),_0x1448ac=_0x38bca5[_0x5a52a1(0xee)],_0x284422=_0x88d1a2[_0x5a52a1(0xee)];}_0x1448ac=_0x47a99f[_0x5a52a1(0x4b7)][_0x5a52a1(0x3de)](_0x48aa3f[_0x5a52a1(0xde)][0x0]),_0x284422=_0x47a99f[_0x5a52a1(0x4b7)][_0x5a52a1(0x3de)](_0x48aa3f['mutations'][0x0]);for(let _0x65d841=_0x32c941['length']-0x1;_0x65d841>=0x0;_0x65d841--){const _0x538205={'id':_0x5a52a1(0x569),'params':{'unitId':_0x32c941[_0x65d841]['unitId'],..._0x32c941[_0x65d841]['undoState']}},_0x49904e={'id':_0x5a52a1(0x569),'params':{'unitId':_0x32c941[_0x65d841]['unitId'],..._0x32c941[_0x65d841][_0x5a52a1(0x447)]}},_0x3a3721=this[_0x5a52a1(0x263)]['transformMutation'](_0x1448ac,_0x538205,!0x1),_0x2f8481=this[_0x5a52a1(0x263)]['transformMutation'](_0x284422,_0x49904e,!0x1);if(_0x413309[_0x5a52a1(0x142)](_0x3a3721))throw _0x3a3721[_0x5a52a1(0x54c)];if(_0x413309[_0x5a52a1(0x142)](_0x2f8481))throw _0x2f8481[_0x5a52a1(0x54c)];_0x5b9e9f['unshift']({..._0x32c941[_0x65d841],'undoState':_0x3a3721[_0x5a52a1(0x52d)][_0x5a52a1(0x30c)],'redoState':_0x2f8481[_0x5a52a1(0x52d)]['params']}),_0x1448ac=_0x3a3721['m1Prime'],_0x284422=_0x2f8481['m1Prime'];}this['_docStateChangeManagerService'][_0x5a52a1(0x3e8)](_0x4e0cc6,{'history':_0x200126,'collaboration':_0x5b9e9f});}};_0x2353bd=_0x4db068([_0x5f2e4d(0x0,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x5f2e4d(0x1,_0x413309[_0x50247e(0x282)]),_0x5f2e4d(0x2,_0x47a99f['Inject'](_0x163238[_0x50247e(0x56e)]))],_0x2353bd);function _0x5369e4(_0x487298){const _0xe0f59d=_0x50247e;let _0x183293='';for(const _0x5a2f83 of _0x487298){const {startOffset:_0x347166,endOffset:_0x570808,isActive:_0x49bc3e,rangeType:_0x5346ed,segmentId:_0x2a21ed,segmentPage:_0xc3203a}=_0x5a2f83;_0x183293[_0xe0f59d(0x1f1)]&&(_0x183293+=','),_0x183293+=_0x347166+':'+_0x570808+':'+(_0x49bc3e?'1':'0')+':'+_0x5346ed+':'+_0x2a21ed+':'+_0xc3203a;}return _0x183293;}function _0x15718e(_0x5af292){const _0x444c03=_0x50247e,_0x5a1238=_0x5af292['split'](','),_0x570625=[];for(const _0x5bcf97 of _0x5a1238){const [_0x275263,_0x5cee1f,_0x2308a8,_0x40748d,_0x1de4a5,_0x3cd2eb]=_0x5bcf97[_0x444c03(0x3ed)](':');_0x570625[_0x444c03(0x421)]({'startOffset':Number(_0x275263),'endOffset':Number(_0x5cee1f),'collapsed':_0x275263===_0x5cee1f,'isActive':_0x2308a8==='1','rangeType':_0x40748d===_0x47a99f[_0x444c03(0x30d)][_0x444c03(0x387)]?_0x47a99f[_0x444c03(0x30d)][_0x444c03(0x387)]:_0x47a99f[_0x444c03(0x30d)]['RECT'],'segmentId':typeof _0x1de4a5==_0x444c03(0x1cd)?String(_0x1de4a5):'','segmentPage':Number(_0x3cd2eb!=null?_0x3cd2eb:-0x1)});}return _0x570625['some'](_0x4b271c=>_0x4b271c[_0x444c03(0x350)])||(_0x570625[0x0][_0x444c03(0x350)]=!0x0),_0x570625;}class _0x4485db extends _0x47a99f[_0x50247e(0x378)]{constructor(){const _0x504c80=_0x50247e;super(...arguments),_0x39016d(this,'_collabCursorState$',new _0x2d244b[(_0x504c80(0x402))](null)),_0x39016d(this,_0x504c80(0x433),this[_0x504c80(0x236)][_0x504c80(0x574)]());}['syncEditingCollabCursor'](_0x42397a){const _0x11472c=_0x50247e,{unitID:_0x426309,memberID:_0x24c474,textRanges:_0x200d1e}=_0x42397a,_0x53c71f=_0x5369e4(_0x200d1e);if(_0x53c71f==='')return;const _0x281da9={'unitID':_0x426309,'memberID':_0x24c474,'selection':_0x53c71f};this[_0x11472c(0x236)][_0x11472c(0x411)](_0x281da9);}}var _0x3507b7=Object[_0x50247e(0x2af)],_0x4ea5c6=Object[_0x50247e(0x135)],_0x5213e6=(_0x5a7cbe,_0x1280ca,_0x73a4b9,_0x29b0df)=>{const _0x3d18d2=_0x50247e;for(var _0x44b688=_0x29b0df>0x1?void 0x0:_0x29b0df?_0x4ea5c6(_0x1280ca,_0x73a4b9):_0x1280ca,_0x5ece06=_0x5a7cbe[_0x3d18d2(0x1f1)]-0x1,_0x53ef1c;_0x5ece06>=0x0;_0x5ece06--)(_0x53ef1c=_0x5a7cbe[_0x5ece06])&&(_0x44b688=(_0x29b0df?_0x53ef1c(_0x1280ca,_0x73a4b9,_0x44b688):_0x53ef1c(_0x44b688))||_0x44b688);return _0x29b0df&&_0x44b688&&_0x3507b7(_0x1280ca,_0x73a4b9,_0x44b688),_0x44b688;},_0x316c3d=(_0x4aed7e,_0x53fa5d)=>(_0x142c8d,_0x4ac709)=>_0x53fa5d(_0x142c8d,_0x4ac709,_0x4aed7e);let _0x32e346=class{constructor(_0x43357a,_0x30e626){const _0x2bb707=_0x50247e;this[_0x2bb707(0x210)]=_0x43357a,this[_0x2bb707(0x263)]=_0x30e626;}['transformSelections'](_0x5584ba){const _0x586b77=_0x50247e;var _0xed5d7f;const _0x10c5d0=this[_0x586b77(0x210)][_0x586b77(0x40e)](_0x1bde83[_0x586b77(0x12a)]),_0x5cabfd=(_0xed5d7f=_0x10c5d0[_0x586b77(0x510)]())!=null?_0xed5d7f:[];if(_0x5cabfd[_0x586b77(0x1f1)]===0x0)return;const _0x4dcac9=[{'id':_0x586b77(0x569),'params':{'unitId':_0x5584ba['unitID'],'actions':null,'textRanges':_0x5cabfd}}],_0x26e5bf=this['_transformService'][_0x586b77(0x563)](_0x5584ba,_0x4dcac9);if(!_0x413309['isTransformMutationsWithChangesetSuccess'](_0x26e5bf))throw _0x26e5bf[_0x586b77(0x54c)];const _0x4a1b5d=_0x26e5bf['m2Prime'][0x0][_0x586b77(0x30c)][_0x586b77(0xec)];Array[_0x586b77(0x1ba)](_0x4a1b5d)&&_0x4a1b5d[_0x586b77(0x1f1)]&&_0x10c5d0[_0x586b77(0x11c)](_0x4a1b5d,!0x1);}};_0x32e346=_0x5213e6([_0x316c3d(0x0,_0x47a99f['Inject'](_0x47a99f['Injector'])),_0x316c3d(0x1,_0x413309['ITransformService'])],_0x32e346);const _0xd8cf4d=new Set([_0x3500ce['InsertSheetMutation']['id']]);function _0xb2f14(_0x3d8fba,_0x2d3354,_0x23ed3a,_0x553a24,_0x4cfcf2){const _0x728eba=_0x50247e;var _0x326df4,_0x47489f,_0xb8f0b,_0x2cf29d;const _0x4b4527=[];for(const _0x18b00a of _0x3d8fba)if(_0xd8cf4d[_0x728eba(0x138)](_0x18b00a['id'])){if(_0x4b4527['length']>0x0)break;_0x4b4527['push'](_0x18b00a);break;}else _0x4b4527[_0x728eba(0x421)](_0x18b00a);const _0x1827a4=(_0x47489f=(_0x326df4=_0x4cfcf2[_0x728eba(0x4e2)]())==null?void 0x0:_0x326df4[_0x728eba(0x4bc)])!=null?_0x47489f:_0x728eba(0x57b),_0x5b9aba=(_0x2cf29d=(_0xb8f0b=_0x4cfcf2[_0x728eba(0x4e2)]())==null?void 0x0:_0xb8f0b['memberID'])!=null?_0x2cf29d:'unknown';return{'changeset':{'unitID':_0x2d3354,'type':_0x413309['mapDocumentTypeToUniverType'](_0x23ed3a[_0x728eba(0x15b)](_0x2d3354)),'baseRev':_0x553a24[_0x728eba(0x4c5)](_0x2d3354),'revision':0x0,'userID':_0x1827a4,'memberID':_0x5b9aba,'mutations':_0x4b4527},'pendingMutations':_0x3d8fba[_0x728eba(0x3f2)](_0x4b4527['length'])};}function _0x1a134c(_0x181b64,_0x274cce,_0x56a2e2,_0x435add,_0x32ad25){const _0x418467=_0x50247e;var _0x2b8841,_0xbd4422,_0xbb94ed,_0x7d1fa7;const _0x5907c5=[_0x181b64[_0x418467(0x4a0)]((_0x205429,_0x128d8f)=>{const _0x146e97=_0x418467;var _0x180e53;const {id:_0x63d788}=_0x205429,{id:_0x108bbd,type:_0x53e398}=_0x128d8f,_0x358311=(_0x180e53=_0x205429[_0x146e97(0x30c)])!=null?_0x180e53:{'actions':null},_0x3d94a4=_0x128d8f[_0x146e97(0x30c)];if(_0x63d788&&_0x63d788!==_0x108bbd)throw new Error(_0x146e97(0x2f7)+_0x63d788+_0x146e97(0x178)+_0x108bbd+'.');return{..._0x205429,'id':_0x108bbd,'type':_0x53e398,'params':{'unitId':_0x3d94a4['unitId'],'textRanges':_0x3d94a4[_0x146e97(0xec)],'actions':_0x47a99f['JSONX'][_0x146e97(0x435)](_0x358311['actions'],_0x3d94a4[_0x146e97(0x4af)])}};},{})],_0x2d2442=(_0xbd4422=(_0x2b8841=_0x32ad25[_0x418467(0x4e2)]())==null?void 0x0:_0x2b8841[_0x418467(0x4bc)])!=null?_0xbd4422:'unknown',_0x25523e=(_0x7d1fa7=(_0xbb94ed=_0x32ad25[_0x418467(0x4e2)]())==null?void 0x0:_0xbb94ed[_0x418467(0x188)])!=null?_0x7d1fa7:_0x418467(0x57b);return{'changeset':{'unitID':_0x274cce,'type':_0x413309[_0x418467(0x577)](_0x56a2e2[_0x418467(0x15b)](_0x274cce)),'baseRev':_0x435add['getCurrentRevOfUnit'](_0x274cce),'revision':0x0,'userID':_0x2d2442,'memberID':_0x25523e,'mutations':_0x5907c5},'pendingMutations':[]};}function _0x297d7e(_0x3d0560,_0x5d8fa5){const _0x4337d1=_0x50247e,_0x1bae3f=new _0x2d244b[(_0x4337d1(0x1f3))](0x1);return setTimeout(()=>_0x1bae3f[_0x4337d1(0x411)](_0x5d8fa5),_0x3d0560),_0x1bae3f[_0x4337d1(0x574)]()[_0x4337d1(0x48c)](_0x2d244b[_0x4337d1(0x45e)](0x1));}const _0x253611={'id':_0x3500ce[_0x50247e(0x319)]['id'],'type':_0x47a99f['CommandType'][_0x50247e(0x1eb)],'params':{}};var _0x2b4b8b=Object[_0x50247e(0x2af)],_0x59a51c=Object[_0x50247e(0x135)],_0x1a1653=(_0x1179ec,_0x5f42fc,_0xe55ce,_0x22ce89)=>{const _0x5b30e4=_0x50247e;for(var _0x509c99=_0x22ce89>0x1?void 0x0:_0x22ce89?_0x59a51c(_0x5f42fc,_0xe55ce):_0x5f42fc,_0x54164e=_0x1179ec[_0x5b30e4(0x1f1)]-0x1,_0x4b60d4;_0x54164e>=0x0;_0x54164e--)(_0x4b60d4=_0x1179ec[_0x54164e])&&(_0x509c99=(_0x22ce89?_0x4b60d4(_0x5f42fc,_0xe55ce,_0x509c99):_0x4b60d4(_0x509c99))||_0x509c99);return _0x22ce89&&_0x509c99&&_0x2b4b8b(_0x5f42fc,_0xe55ce,_0x509c99),_0x509c99;},_0x454fab=(_0x2f7c52,_0x223822)=>(_0x47eb2a,_0x490789)=>_0x223822(_0x47eb2a,_0x490789,_0x2f7c52),_0x2344e3=(_0x2b1a4a=>(_0x2b1a4a[_0x50247e(0x4c3)]=_0x50247e(0x1ef),_0x2b1a4a[_0x50247e(0x4f5)]='synced',_0x2b1a4a[_0x50247e(0x27c)]=_0x50247e(0x47d),_0x2b1a4a[_0x50247e(0x34d)]=_0x50247e(0x153),_0x2b1a4a[_0x50247e(0x2b0)]='awaiting_with_pending',_0x2b1a4a[_0x50247e(0x2da)]=_0x50247e(0x25b),_0x2b1a4a[_0x50247e(0x585)]=_0x50247e(0x441),_0x2b1a4a['OFFLINE']=_0x50247e(0x476),_0x2b1a4a))(_0x2344e3||{});const _0x59a93f=0xea60;class _0x5c6717{constructor(_0x1789e2,_0x59a599,_0x380b13,_0x1cd0f2,_0x29f05e,_0x30c41b,_0x25da51,_0x583a97,_0x49f24f){const _0x2c231a=_0x50247e;_0x39016d(this,'_awaitingChangeset',null),_0x39016d(this,_0x2c231a(0x2bd),[]),(this['unitID']=_0x1789e2,this['type']=_0x59a599,this[_0x2c231a(0x1d7)]=_0x29f05e,this[_0x2c231a(0x14a)]=_0x30c41b,this[_0x2c231a(0x35a)]=_0x25da51,this[_0x2c231a(0x22c)]=_0x583a97,this['_localCacheService']=_0x49f24f,this[_0x2c231a(0x1b8)]=_0x380b13,this[_0x2c231a(0x2bd)]=_0x1cd0f2);}[_0x50247e(0x349)](_0x2c8463){const _0x223747=_0x50247e,_0xaffbe5=this[_0x223747(0x22c)][_0x223747(0x4c5)](this[_0x223747(0x118)]);return _0x2c8463[_0x223747(0x140)]>_0xaffbe5+0x1?(this[_0x223747(0x1d7)][_0x223747(0x211)]({'from':_0xaffbe5,'to':_0x2c8463[_0x223747(0x140)]-0x1}),!0x0):!0x1;}[_0x50247e(0x183)](_0x82851d){const _0x256ce2=_0x50247e;this['_undoRedoService'][_0x256ce2(0x21a)](this[_0x256ce2(0x118)],_0x82851d);}[_0x50247e(0x486)](_0x4aafc7){const _0x28dc61=_0x50247e;var _0x205da0,_0x581210;(_0x581210=(_0x205da0=this[_0x28dc61(0x1d7)])[_0x28dc61(0x4fc)])==null||_0x581210[_0x28dc61(0x148)](_0x205da0,_0x4aafc7);}[_0x50247e(0x4cb)](_0x4369b1){const _0x1a1754=_0x50247e;var _0x4cce0f,_0x1074fc;return(_0x1074fc=(_0x4cce0f=this[_0x1a1754(0x1d7)])[_0x1a1754(0x440)])==null?void 0x0:_0x1074fc[_0x1a1754(0x148)](_0x4cce0f,_0x4369b1);}[_0x50247e(0x3f7)](_0x2659d0){const _0x28a6fd=_0x50247e;var _0x25dbfc,_0x143a38;return(_0x143a38=(_0x25dbfc=this[_0x28a6fd(0x1d7)])[_0x28a6fd(0x29d)])==null?void 0x0:_0x143a38[_0x28a6fd(0x148)](_0x25dbfc,_0x2659d0);}[_0x50247e(0x58a)](_0x4600c4){const _0x4a7e65=_0x50247e;var _0x7a2d87,_0x28dcb1,_0x225f6a;return(_0x225f6a=(_0x28dcb1=(_0x7a2d87=this[_0x4a7e65(0x1d7)])[_0x4a7e65(0x11b)])==null?void 0x0:_0x28dcb1['call'](_0x7a2d87,_0x4600c4))!=null?_0x225f6a:_0x4600c4;}['_transformRemoteChangesetByStateCache'](_0xc93f19){const _0x492e25=_0x50247e;var _0x2490ef,_0x117de6,_0x974062;return(_0x974062=(_0x117de6=(_0x2490ef=this[_0x492e25(0x1d7)])[_0x492e25(0x4f9)])==null?void 0x0:_0x117de6['call'](_0x2490ef,_0xc93f19))!=null?_0x974062:_0xc93f19;}[_0x50247e(0x4e3)](_0x5a5a32){const _0x167651=_0x50247e;var _0x316ba5,_0x2c87fe;if(this[_0x167651(0x112)]===_0x3a4d97[_0x167651(0x53f)]){const {unitID:_0x18e3d0,mutations:_0x587911,memberID:_0x23aaf3}=_0x5a5a32,_0xe70027=_0x587911[0x0][_0x167651(0x30c)]['textRanges'];Array[_0x167651(0x1ba)](_0xe70027)&&_0xe70027[_0x167651(0x1f1)]>0x0&&((_0x2c87fe=(_0x316ba5=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x2c87fe['call'](_0x316ba5,{'unitID':_0x18e3d0,'memberID':_0x23aaf3,'textRanges':_0xe70027}));}}[_0x50247e(0x127)](){const _0x1eb154=_0x50247e;this[_0x1eb154(0x22f)][_0x1eb154(0x31c)](this[_0x1eb154(0x118)],this[_0x1eb154(0x112)],this[_0x1eb154(0x1b8)],this[_0x1eb154(0x2bd)]);}[_0x50247e(0x4b5)](){const _0x540109=_0x50247e;return this[_0x540109(0x22c)][_0x540109(0x4c5)](this[_0x540109(0x118)]);}[_0x50247e(0x38e)](){const _0x1a0bf5=_0x50247e;this[_0x1a0bf5(0x22c)][_0x1a0bf5(0x53d)](this[_0x1a0bf5(0x118)]);}[_0x50247e(0x323)](_0x3b9bdc){const _0x2c1064=_0x50247e;var _0x1f15a8;let _0x468025=this[_0x2c1064(0x58a)](_0x3b9bdc);_0x468025=this[_0x2c1064(0x1ee)](_0x468025);const _0x34409b=_0x47a99f[_0x2c1064(0x316)](_0x468025[_0x2c1064(0xde)],this[_0x2c1064(0x14a)],{'fromCollab':!0x0});if(!_0x34409b['result'])throw _0x34409b[_0x2c1064(0x54c)]instanceof Error?_0x34409b[_0x2c1064(0x54c)]:new Error((_0x1f15a8=_0x34409b['error'])!=null?_0x1f15a8:_0x2c1064(0x467));this[_0x2c1064(0x4cb)](_0x468025),this['_transformStateCache'](_0x468025),this[_0x2c1064(0x183)](_0x3b9bdc),this['_transformSelections'](_0x468025),this['_syncEditingCollabCursor'](_0x468025),this[_0x2c1064(0x38e)]();}}let _0x1e4525=class extends _0x5c6717{constructor(_0x37adbb,_0x4fac61,_0x5db40a,_0x44954d,_0x5ab371,_0x444b13,_0x440601,_0x327dc0,_0x4446ab,_0x3c02e6){const _0x508195=_0x50247e;super(_0x37adbb,_0x4fac61,null,[],_0x5db40a,_0x327dc0,_0x440601,_0x44954d,_0x5ab371),_0x39016d(this,'status',_0x508195(0x26b)),(this['_injector']=_0x444b13,this[_0x508195(0x2fa)]=_0x4446ab,this[_0x508195(0x263)]=_0x3c02e6);}['appendMutation'](_0x18567f){const _0x2020c4=_0x50247e,_0x22b832=this[_0x2020c4(0x210)][_0x2020c4(0x589)](_0xb1e786,this[_0x2020c4(0x118)],this[_0x2020c4(0x112)],[_0x18567f],this['_handler']);return _0x22b832[_0x2020c4(0x370)](),_0x22b832[_0x2020c4(0x127)](),_0x22b832;}[_0x50247e(0x47b)](_0xc07d55){const _0x33ed6d=_0x50247e;if(this[_0x33ed6d(0x349)](_0xc07d55))return this[_0x33ed6d(0x210)]['createInstance'](_0x2f85b1,this[_0x33ed6d(0x118)],this[_0x33ed6d(0x112)],null,[],null,[_0xc07d55],this[_0x33ed6d(0x1d7)]);try{const _0x40b385=this[_0x33ed6d(0x263)][_0x33ed6d(0x563)](_0xc07d55,[_0x253611]);if(_0x413309[_0x33ed6d(0x126)](_0x40b385)){const {c1Prime:_0x4aa7dc}=_0x40b385;return this[_0x33ed6d(0x323)](_0x4aa7dc),this;}throw _0x40b385[_0x33ed6d(0x54c)];}catch(_0x5aef55){return this['_logService'][_0x33ed6d(0x54c)](_0x5aef55),this['_onConflict'](!0x1);}}['_onConflict'](_0x287537){const _0x3dcbcb=_0x50247e;return this['_injector'][_0x3dcbcb(0x589)](_0x1a731a,this['unitID'],this[_0x3dcbcb(0x112)],null,[],this['_handler'],_0x287537);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x50247e(0x1c8)](){const _0x4b8c81=_0x50247e;throw new Error(_0x4b8c81(0x367));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x33911c=_0x50247e;return this[_0x33911c(0x210)][_0x33911c(0x589)](_0x13e938,this[_0x33911c(0x118)],this[_0x33911c(0x112)],null,[],this['_handler']);}[_0x50247e(0x410)](){return this;}[_0x50247e(0x414)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50247e(0x35b)](){const _0x38a5ba=_0x50247e,_0x4a074e=this[_0x38a5ba(0x22c)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x38a5ba(0x1d7)][_0x38a5ba(0x211)]({'from':_0x4a074e,'to':0x0}),this['_injector'][_0x38a5ba(0x589)](_0x2f85b1,this[_0x38a5ba(0x118)],this['type'],null,[],null,[],this[_0x38a5ba(0x1d7)]);}};_0x1e4525=_0x1a1653([_0x454fab(0x3,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x454fab(0x4,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc['LocalCacheService'])),_0x454fab(0x5,_0x47a99f['Inject'](_0x47a99f['Injector'])),_0x454fab(0x6,_0x47a99f[_0x50247e(0x22d)]),_0x454fab(0x7,_0x47a99f[_0x50247e(0x417)]),_0x454fab(0x8,_0x47a99f['ILogService']),_0x454fab(0x9,_0x413309['ITransformService'])],_0x1e4525);let _0xb1e786=class extends _0x5c6717{constructor(_0x37d6e8,_0x336795,_0xb6f236,_0x3241fb,_0x194b2f,_0xc23fb2,_0x426a57,_0x45cfc1,_0x52a666,_0x3f1590,_0x2505d4,_0x215982,_0x2527ba,_0x5615bc){const _0x5804fd=_0x50247e;super(_0x37d6e8,_0x336795,null,_0xb6f236,_0x3241fb,_0x3f1590,_0x5615bc,_0xc23fb2,_0x426a57),_0x39016d(this,_0x5804fd(0x4ae),_0x5804fd(0x47d)),_0x39016d(this,_0x5804fd(0x4c6),null),_0x39016d(this,_0x5804fd(0x3f8),null),(this[_0x5804fd(0x210)]=_0x194b2f,this['_memberService']=_0x45cfc1,this['_logService']=_0x52a666,this[_0x5804fd(0x546)]=_0x2505d4,this[_0x5804fd(0x263)]=_0x215982,this[_0x5804fd(0x286)]=_0x2527ba);}['appendMutation'](_0x298666){return this['_pendingMutations']['push'](_0x298666),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4bb9a4){const _0x7040de=_0x50247e;if(this['_checkMissing'](_0x4bb9a4))return this[_0x7040de(0xd1)](),this[_0x7040de(0x210)][_0x7040de(0x589)](_0x2f85b1,this['unitID'],this[_0x7040de(0x112)],null,this[_0x7040de(0x2bd)],null,[_0x4bb9a4],this[_0x7040de(0x1d7)]);try{const _0x217586=this[_0x7040de(0x263)][_0x7040de(0x563)](_0x4bb9a4,this[_0x7040de(0x2bd)]);if(_0x413309['isTransformMutationsWithChangesetSuccess'](_0x217586)){const {c1Prime:_0x37e697,m2Prime:_0x17c4c1}=_0x217586;this[_0x7040de(0x323)](_0x37e697);const _0xf1770b=this[_0x7040de(0x210)]['createInstance'](_0xb1e786,this[_0x7040de(0x118)],this[_0x7040de(0x112)],_0x17c4c1,this[_0x7040de(0x1d7)]);return this[_0x7040de(0xd1)](),_0xf1770b[_0x7040de(0x370)](this['_scheduleTimestamp']?Math[_0x7040de(0x166)](0x0,new Date()[_0x7040de(0x4d2)]()-this[_0x7040de(0x4c6)]):this[_0x7040de(0x270)]()),_0xf1770b;}throw _0x217586[_0x7040de(0x54c)];}catch(_0x57411e){return this[_0x7040de(0x2fa)][_0x7040de(0x54c)](_0x57411e),this[_0x7040de(0x2c9)](!0x1);}}[_0x50247e(0x379)](){const _0x29bc50=_0x50247e;throw new Error(_0x29bc50(0x4e7));}[_0x50247e(0x1c8)](){const _0x4bdcc0=_0x50247e;throw new Error(_0x4bdcc0(0x165));}['onRemoteRetry'](){return this;}[_0x50247e(0x4f6)](){const _0x59ebf5=_0x50247e;return this['_clearScheduledTask'](),this[_0x59ebf5(0x210)][_0x59ebf5(0x589)](_0x13e938,this[_0x59ebf5(0x118)],this[_0x59ebf5(0x112)],null,this[_0x59ebf5(0x2bd)],this[_0x59ebf5(0x1d7)]);}[_0x50247e(0x410)](){return this;}[_0x50247e(0x370)](_0x19ec2a){const _0x1b11b9=_0x50247e,_0x164700=_0x19ec2a!=null?_0x19ec2a:this[_0x1b11b9(0x270)]();this[_0x1b11b9(0x4c6)]=new Date()['getTime'](),this[_0x1b11b9(0x3f8)]=window[_0x1b11b9(0x4e4)](()=>{const _0x56bc07=_0x1b11b9;this[_0x56bc07(0xd1)]();let _0x11a256=null;switch(this['type']){case _0x3a4d97[_0x56bc07(0x508)]:{_0x11a256=_0xb2f14(this[_0x56bc07(0x2bd)],this['unitID'],this[_0x56bc07(0x286)],this['_revisionService'],this[_0x56bc07(0x11e)]);break;}case _0x3a4d97[_0x56bc07(0x53f)]:{this[_0x56bc07(0x2bd)][_0x56bc07(0x562)](_0x3febbc=>_0x3febbc['id']===_0x1bde83[_0x56bc07(0x27e)]['id'])?_0x11a256=_0x1a134c(this[_0x56bc07(0x2bd)],this[_0x56bc07(0x118)],this[_0x56bc07(0x286)],this['_revisionService'],this[_0x56bc07(0x11e)]):_0x11a256=_0xb2f14(this[_0x56bc07(0x2bd)],this[_0x56bc07(0x118)],this['_univerInstanceService'],this[_0x56bc07(0x22c)],this['_memberService']);break;}default:throw new Error(_0x56bc07(0x24a)+this[_0x56bc07(0x112)]+_0x56bc07(0x1c6));}const {changeset:_0x2fb177,pendingMutations:_0x5bd45b}=_0x11a256;this[_0x56bc07(0x1d7)][_0x56bc07(0x3f5)](_0x2fb177);const _0xf668ad=_0x5bd45b['length']?this[_0x56bc07(0x210)][_0x56bc07(0x589)](_0x32ed3c,this['unitID'],this['type'],_0x2fb177,_0x5bd45b,this['_handler'],void 0x0):this[_0x56bc07(0x210)][_0x56bc07(0x589)](_0x2a3f64,this[_0x56bc07(0x118)],this[_0x56bc07(0x112)],_0x2fb177,this[_0x56bc07(0x1d7)]);_0xf668ad[_0x56bc07(0x127)](),this['_handler'][_0x56bc07(0x391)](this,_0xf668ad);},_0x164700);}[_0x50247e(0x270)](){const _0x4d1d85=_0x50247e;var _0x1ea8f7;const _0x13a5c2=this[_0x4d1d85(0x546)]['getConfig'](_0x127413);return(_0x1ea8f7=_0x13a5c2==null?void 0x0:_0x13a5c2[_0x4d1d85(0x2f4)])!=null?_0x1ea8f7:0x7d0;}[_0x50247e(0x414)](){const _0xb90628=_0x50247e;throw new Error(_0xb90628(0x28c));}[_0x50247e(0xd1)](){const _0x49769b=_0x50247e;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x49769b(0x3f8)]=null);}['_onConflict'](_0xbde774){const _0x264d02=_0x50247e;return this['_clearScheduledTask'](),this[_0x264d02(0x210)][_0x264d02(0x589)](_0x1a731a,this[_0x264d02(0x118)],this['type'],null,this[_0x264d02(0x2bd)],this[_0x264d02(0x1d7)],_0xbde774);}};_0xb1e786=_0x1a1653([_0x454fab(0x4,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x454fab(0x5,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x454fab(0x6,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc['LocalCacheService'])),_0x454fab(0x7,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x292)])),_0x454fab(0x8,_0x47a99f[_0x50247e(0x18f)]),_0x454fab(0x9,_0x47a99f[_0x50247e(0x417)]),_0x454fab(0xa,_0x47a99f[_0x50247e(0x268)]),_0x454fab(0xb,_0x413309[_0x50247e(0x282)]),_0x454fab(0xc,_0x47a99f['IUniverInstanceService']),_0x454fab(0xd,_0x47a99f['IUndoRedoService'])],_0xb1e786);let _0x2a3f64=class extends _0x5c6717{constructor(_0x306358,_0x1fd7a5,_0x128fde,_0x3da46c,_0x50781a,_0x4e2e40,_0x306aaf,_0x1683a4,_0x4d7768,_0x544471,_0x563d3e){const _0x1151ab=_0x50247e;super(_0x306358,_0x1fd7a5,_0x128fde,[],_0x3da46c,_0x1683a4,_0x563d3e,_0x4e2e40,_0x306aaf),_0x39016d(this,'status',_0x1151ab(0x153)),_0x39016d(this,_0x1151ab(0x1fd),0x0),_0x39016d(this,_0x1151ab(0x497)),_0x39016d(this,_0x1151ab(0x460)),(this[_0x1151ab(0x210)]=_0x50781a,this[_0x1151ab(0x2fa)]=_0x4d7768,this['_transformService']=_0x544471);}[_0x50247e(0x1e0)](_0x1cd523){const _0x5aeca5=_0x50247e;this[_0x5aeca5(0xd1)]();const _0x5dc0ea=this[_0x5aeca5(0x210)][_0x5aeca5(0x589)](_0x32ed3c,this[_0x5aeca5(0x118)],this[_0x5aeca5(0x112)],this[_0x5aeca5(0x1b8)],[_0x1cd523],this[_0x5aeca5(0x1d7)],this['_resendTimer']);return _0x5dc0ea[_0x5aeca5(0x127)](),_0x5dc0ea;}['onRemoteChangeset'](_0x3c0c23){const _0xe5caf7=_0x50247e;if(this['_checkMissing'](_0x3c0c23))return this['_clearScheduledTask'](),this[_0xe5caf7(0x210)][_0xe5caf7(0x589)](_0x2f85b1,this[_0xe5caf7(0x118)],this['type'],this[_0xe5caf7(0x1b8)],[],null,[_0x3c0c23],this[_0xe5caf7(0x1d7)]);try{const _0x2aad7e=this[_0xe5caf7(0x263)][_0xe5caf7(0x4e6)]([_0x3c0c23],[this[_0xe5caf7(0x1b8)]],!0x1);if(_0x413309[_0xe5caf7(0x448)](_0x2aad7e)){const {c1Prime:_0x1f5078,c2Prime:_0x56906e}=_0x2aad7e;this[_0xe5caf7(0x323)](_0x1f5078[0x0]),_0x56906e[0x0][_0xe5caf7(0x18d)]=this[_0xe5caf7(0x4b5)](),this[_0xe5caf7(0xd1)]();const _0x5834a1=this[_0xe5caf7(0x210)]['createInstance'](_0x2a3f64,this[_0xe5caf7(0x118)],this['type'],_0x56906e[0x0],this[_0xe5caf7(0x1d7)]);return _0x5834a1[_0xe5caf7(0x127)](),_0x5834a1;}return this[_0xe5caf7(0x2c9)](!0x1);}catch(_0x3682bb){return this[_0xe5caf7(0x2fa)]['error'](_0x3682bb),this[_0xe5caf7(0x2c9)](!0x1);}}['onRemoteAck'](_0x2237ec){const _0x59f29b=_0x50247e;this[_0x59f29b(0xd1)]();const _0x69f841=this[_0x59f29b(0x22c)]['getCurrentRevOfUnit'](this[_0x59f29b(0x118)]);if(_0x2237ec[_0x59f29b(0x140)]<_0x69f841-0x1)return this;if(this[_0x59f29b(0x349)](_0x2237ec))return this['_injector'][_0x59f29b(0x589)](_0x2f85b1,this[_0x59f29b(0x118)],this[_0x59f29b(0x112)],null,[],this[_0x59f29b(0x1b8)],[],this[_0x59f29b(0x1d7)]);this[_0x59f29b(0x38e)]();const _0x13366f=this[_0x59f29b(0x210)][_0x59f29b(0x589)](_0x1e4525,this[_0x59f29b(0x118)],this[_0x59f29b(0x112)],this[_0x59f29b(0x1d7)]);return _0x13366f[_0x59f29b(0x127)](),_0x13366f;}[_0x50247e(0x1c8)](_0x58a750){const _0x125baf=_0x50247e;return this[_0x125baf(0x2c9)](!!(_0x58a750!=null&&_0x58a750['isPermissionRej']));}['onRemoteRetry'](_0x32a15e){const _0x596ec2=_0x50247e;return this[_0x596ec2(0x1fd)]>_0x59a93f?this[_0x596ec2(0x4f6)]():(this[_0x596ec2(0x497)]=_0x297d7e(this[_0x596ec2(0x1fd)],{'timeout':this[_0x596ec2(0x1fd)],'reqId':_0x32a15e[_0x596ec2(0x538)]}),this[_0x596ec2(0x460)]=this[_0x596ec2(0x497)]['subscribe'](({reqId:_0x1b3ad0,timeout:_0x529141})=>{this['_resendWithTimeout'](_0x1b3ad0,_0x529141);}),this);}[_0x50247e(0x4f6)](){const _0x18f504=_0x50247e;return this['_clearScheduledTask'](),this['_injector'][_0x18f504(0x589)](_0x13e938,this['unitID'],this[_0x18f504(0x112)],this[_0x18f504(0x1b8)],[],this[_0x18f504(0x1d7)]);}['toggleOnline'](){return this;}[_0x50247e(0x414)](){const _0x71f18c=_0x50247e;this[_0x71f18c(0x1d7)][_0x71f18c(0x3f5)](this[_0x71f18c(0x1b8)]);}[_0x50247e(0x2c9)](_0xfa234f){const _0x2db43d=_0x50247e;return this[_0x2db43d(0xd1)](),this[_0x2db43d(0x210)][_0x2db43d(0x589)](_0x1a731a,this[_0x2db43d(0x118)],this['type'],this[_0x2db43d(0x1b8)],[],this[_0x2db43d(0x1d7)],_0xfa234f);}[_0x50247e(0x1c2)](_0x216eb8,_0x7c5179){const _0x3f3832=_0x50247e;var _0x593793;_0x216eb8===((_0x593793=this['_awaitingChangeset'])==null?void 0x0:_0x593793['reqId'])&&(this[_0x3f3832(0x414)](),this[_0x3f3832(0x1fd)]=_0x7c5179===0x0?0x3e8:_0x7c5179*0x2);}[_0x50247e(0xd1)](){const _0x1783be=_0x50247e;var _0x3ed4ee;(_0x3ed4ee=this['_sender'])==null||_0x3ed4ee[_0x1783be(0x455)](),this[_0x1783be(0x1fd)]=0x0;}};_0x2a3f64=_0x1a1653([_0x454fab(0x4,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x454fab(0x5,_0x47a99f['Inject'](_0x413309[_0x50247e(0x269)])),_0x454fab(0x6,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x454fab(0x7,_0x47a99f[_0x50247e(0x417)]),_0x454fab(0x8,_0x47a99f[_0x50247e(0x18f)]),_0x454fab(0x9,_0x413309[_0x50247e(0x282)]),_0x454fab(0xa,_0x47a99f[_0x50247e(0x22d)])],_0x2a3f64);let _0x32ed3c=class extends _0x5c6717{constructor(_0x50988b,_0x3c1bde,_0x46f8ad,_0x1effb4,_0x4a735e,_0x277fec,_0x17dce2,_0x59a707,_0x28867e,_0x2dc5f7,_0x7ed167,_0x1de639,_0x59f80b){const _0x107ac2=_0x50247e;super(_0x50988b,_0x3c1bde,_0x46f8ad,_0x1effb4,_0x4a735e,_0x2dc5f7,_0x59f80b,_0x59a707,_0x28867e),_0x39016d(this,'status',_0x107ac2(0x412)),_0x39016d(this,'_resendTimeout',0x0),_0x39016d(this,_0x107ac2(0x497)),_0x39016d(this,_0x107ac2(0x460)),(this['_injector']=_0x17dce2,this['_logService']=_0x7ed167,this[_0x107ac2(0x263)]=_0x1de639,_0x277fec&&(this[_0x107ac2(0x497)]=_0x277fec,this[_0x107ac2(0x460)]=this[_0x107ac2(0x497)][_0x107ac2(0x436)](({reqId:_0x2f96b9,timeout:_0x1a9e68})=>{const _0x469033=_0x107ac2;this[_0x469033(0x1c2)](_0x2f96b9,_0x1a9e68);})));}[_0x50247e(0x1e0)](_0x1d756d){const _0x5aa744=_0x50247e;return this[_0x5aa744(0x2bd)][_0x5aa744(0x421)](_0x1d756d),this;}[_0x50247e(0x47b)](_0x358f4f){const _0x27bc23=_0x50247e;if(this[_0x27bc23(0x349)](_0x358f4f))return this[_0x27bc23(0xd1)](),this['_injector']['createInstance'](_0x2f85b1,this[_0x27bc23(0x118)],this['type'],this[_0x27bc23(0x1b8)],this[_0x27bc23(0x2bd)],null,[_0x358f4f],this[_0x27bc23(0x1d7)]);try{const _0x2bb05d=this[_0x27bc23(0x263)]['transformChangesets']([_0x358f4f],[this[_0x27bc23(0x1b8)]],!0x1);if(_0x413309[_0x27bc23(0x448)](_0x2bb05d)){const {c1Prime:_0x32aace,c2Prime:_0x33f26f}=_0x2bb05d,_0x5f2044=this[_0x27bc23(0x263)]['transformMutationsWithChangeset'](_0x32aace[0x0],this[_0x27bc23(0x2bd)]);if(_0x413309[_0x27bc23(0x126)](_0x5f2044)){const {c1Prime:_0x169dbb,m2Prime:_0x5ac47b}=_0x5f2044;return this['_executeRemoteChangeset'](_0x169dbb),_0x33f26f[0x0][_0x27bc23(0x18d)]=this[_0x27bc23(0x4b5)](),this[_0x27bc23(0xd1)](),this['_injector']['createInstance'](_0x32ed3c,this[_0x27bc23(0x118)],this[_0x27bc23(0x112)],_0x33f26f[0x0],_0x5ac47b,this[_0x27bc23(0x1d7)],void 0x0);}throw _0x5f2044['error'];}throw _0x2bb05d[_0x27bc23(0x54c)];}catch(_0x1786e1){return this['_logService'][_0x27bc23(0x54c)](_0x1786e1),this[_0x27bc23(0x2c9)](!0x1);}}[_0x50247e(0x379)](_0x41c54d){const _0x405143=_0x50247e;if(this[_0x405143(0xd1)](),this[_0x405143(0x349)](_0x41c54d))return this['_injector'][_0x405143(0x589)](_0x2f85b1,this[_0x405143(0x118)],this[_0x405143(0x112)],null,this[_0x405143(0x2bd)],this[_0x405143(0x1b8)],[],this[_0x405143(0x1d7)]);this[_0x405143(0x38e)]();const _0x2e8298=this['_injector'][_0x405143(0x589)](_0xb1e786,this[_0x405143(0x118)],this[_0x405143(0x112)],this[_0x405143(0x2bd)],this[_0x405143(0x1d7)]);return _0x2e8298['_schedule'](),_0x2e8298[_0x405143(0x127)](),_0x2e8298;}[_0x50247e(0x1c8)](_0x50aed4){const _0x455153=_0x50247e;return this['_onConflict'](!!(_0x50aed4!=null&&_0x50aed4[_0x455153(0x26f)]));}[_0x50247e(0x2cf)](_0x17999a){const _0x2fa5ea=_0x50247e;return this[_0x2fa5ea(0x1fd)]>_0x59a93f?this['toggleOffline']():(this['_resendTimer']=_0x297d7e(this[_0x2fa5ea(0x1fd)],{'timeout':this[_0x2fa5ea(0x1fd)],'reqId':_0x17999a['reqId']}),this[_0x2fa5ea(0x460)]=this['_resendTimer'][_0x2fa5ea(0x436)](({reqId:_0x5d759f,timeout:_0x4678ac})=>{const _0x36707e=_0x2fa5ea;this[_0x36707e(0x1c2)](_0x5d759f,_0x4678ac);}),this);}[_0x50247e(0x4f6)](){const _0xb31a1f=_0x50247e;return this[_0xb31a1f(0xd1)](),this['_injector']['createInstance'](_0x13e938,this[_0xb31a1f(0x118)],this[_0xb31a1f(0x112)],this[_0xb31a1f(0x1b8)],this[_0xb31a1f(0x2bd)],this[_0xb31a1f(0x1d7)]);}[_0x50247e(0x410)](){return this;}[_0x50247e(0x414)](){const _0x1982a2=_0x50247e;this[_0x1982a2(0x1d7)][_0x1982a2(0x3f5)](this['_awaitingChangeset']);}[_0x50247e(0x2c9)](_0x515566){const _0xefba80=_0x50247e;return this[_0xefba80(0xd1)](),this['_injector']['createInstance'](_0x1a731a,this[_0xefba80(0x118)],this[_0xefba80(0x112)],null,this['_pendingMutations'],this[_0xefba80(0x1d7)],_0x515566);}[_0x50247e(0x1c2)](_0x39fc00,_0x3a488c){const _0x68f8d9=_0x50247e;var _0x133655;_0x39fc00===((_0x133655=this[_0x68f8d9(0x1b8)])==null?void 0x0:_0x133655[_0x68f8d9(0x538)])&&(this[_0x68f8d9(0x414)](),this['_resendTimeout']=_0x3a488c===0x0?0x3e8:_0x3a488c*0x2);}['_clearScheduledTask'](){var _0x366222;(_0x366222=this['_sender'])==null||_0x366222['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x32ed3c=_0x1a1653([_0x454fab(0x6,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['Injector'])),_0x454fab(0x7,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x454fab(0x8,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x454fab(0x9,_0x47a99f['ICommandService']),_0x454fab(0xa,_0x47a99f[_0x50247e(0x18f)]),_0x454fab(0xb,_0x413309['ITransformService']),_0x454fab(0xc,_0x47a99f[_0x50247e(0x22d)])],_0x32ed3c);let _0x1a731a=class extends _0x5c6717{constructor(_0x506c57,_0x5ee2c9,_0x5831ca,_0x570e29,_0x3ecd17,_0x266b2e=!0x1,_0x595db6,_0x10b69b,_0x5b5d5b,_0x42e7dc,_0x4ab4b9,_0x2ae725,_0x7f532f){const _0x59deb0=_0x50247e;super(_0x506c57,_0x5ee2c9,_0x5831ca,_0x570e29,_0x3ecd17,_0x10b69b,_0x5b5d5b,_0x4ab4b9,_0x42e7dc),_0x39016d(this,_0x59deb0(0x4ae),_0x59deb0(0x441)),(this['_isPermissionRej']=_0x266b2e,this['_permissionService']=_0x595db6,this[_0x59deb0(0x216)]=_0x2ae725,this['_notificationService']=_0x7f532f,this[_0x59deb0(0x25e)](),this[_0x59deb0(0x249)](),this[_0x59deb0(0x3d8)]());}[_0x50247e(0x1e0)](){return this;}[_0x50247e(0x47b)](){return this;}[_0x50247e(0x379)](){return this;}[_0x50247e(0x1c8)](){return this;}[_0x50247e(0x2cf)](){return this;}[_0x50247e(0x4f6)](){return this;}[_0x50247e(0x410)](){return this;}['resend'](){const _0x163348=_0x50247e;throw new Error(_0x163348(0xdd));}['_clearLocalCache'](){const _0x283cdd=_0x50247e;this[_0x283cdd(0x22f)]['updateOfflineData'](this[_0x283cdd(0x118)],this['type'],null,[]);}[_0x50247e(0x25e)](){const _0x1397dc=_0x50247e;this['_isPermissionRej']?this[_0x1397dc(0x3a9)][_0x1397dc(0x50f)]({'title':this[_0x1397dc(0x216)]['t'](_0x1397dc(0x111)),'content':this['_localeService']['t'](_0x1397dc(0xd8)),'type':_0x1397dc(0x54c),'duration':0x0}):this[_0x1397dc(0x3a9)][_0x1397dc(0x50f)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x1397dc(0x216)]['t'](_0x1397dc(0x2f1)),'type':_0x1397dc(0x54c),'duration':0x0});}['_disableEditing'](){const _0x4154b8=_0x50247e;this[_0x4154b8(0x3a8)][_0x4154b8(0x2a7)](new _0x3500ce[(_0x4154b8(0x3c3))](this['unitID'])['id'],!0x1);}};_0x1a731a=_0x1a1653([_0x454fab(0x6,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x50a)])),_0x454fab(0x7,_0x47a99f[_0x50247e(0x417)]),_0x454fab(0x8,_0x47a99f[_0x50247e(0x22d)]),_0x454fab(0x9,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x454fab(0xa,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x454fab(0xb,_0x47a99f['Inject'](_0x47a99f['LocaleService'])),_0x454fab(0xc,_0x2eba72[_0x50247e(0x272)])],_0x1a731a);let _0x13e938=class extends _0x5c6717{constructor(_0x43d962,_0x2e583f,_0x75e733,_0x5958f1,_0x26b43f,_0x58bdd2,_0x2bfe49,_0x20f3a8,_0x2ddca4,_0x1893c5){const _0x17f19d=_0x50247e;super(_0x43d962,_0x2e583f,_0x75e733,_0x5958f1,_0x26b43f,_0x2ddca4,_0x1893c5,_0x2bfe49,_0x20f3a8),_0x39016d(this,'status',_0x17f19d(0x476)),this[_0x17f19d(0x210)]=_0x58bdd2;}[_0x50247e(0x1e0)](_0x14220d){const _0xf31d4=_0x50247e;return this[_0xf31d4(0x2bd)][_0xf31d4(0x421)](_0x14220d),this[_0xf31d4(0x127)](),this;}[_0x50247e(0x47b)](_0x2b7fbc){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x50247e(0x379)](){const _0x41ea6d=_0x50247e;throw new Error(_0x41ea6d(0x3e7));}[_0x50247e(0x1c8)](){const _0x539554=_0x50247e;throw new Error(_0x539554(0x206));}[_0x50247e(0x2cf)](){return this;}[_0x50247e(0x4f6)](){return this;}[_0x50247e(0x410)](){const _0x590d08=_0x50247e,{_injector:_0x52485b,_pendingMutations:_0xa29697,_awaitingChangeset:_0x1012f1,unitID:_0x3d9b8f,_handler:_0x36eb73,type:_0x17f8b1}=this,_0x20be74=_0x2a0d50(_0x52485b,_0x3d9b8f,_0x17f8b1,_0x1012f1,_0xa29697,_0x36eb73);return _0x20be74 instanceof _0xb1e786?_0x20be74[_0x590d08(0x370)]():(_0x20be74 instanceof _0x32ed3c||_0x20be74 instanceof _0x2a3f64)&&_0x20be74[_0x590d08(0x414)](),_0x20be74;}[_0x50247e(0x414)](){const _0x159bbf=_0x50247e;throw new Error(_0x159bbf(0x13a));}};_0x13e938=_0x1a1653([_0x454fab(0x5,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x454fab(0x6,_0x47a99f[_0x50247e(0x30e)](_0x413309['RevisionService'])),_0x454fab(0x7,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x454fab(0x8,_0x47a99f['ICommandService']),_0x454fab(0x9,_0x47a99f[_0x50247e(0x22d)])],_0x13e938);let _0x2f85b1=class extends _0x5c6717{constructor(_0x498f6d,_0x3f532a,_0x1d4d37,_0x787117,_0x21ac6d,_0x1695eb,_0x132984,_0x332a4c,_0x5ea2af,_0x3b7d35,_0x3bdf03,_0x4bca72,_0xe22543,_0x145b04){const _0x329e4a=_0x50247e;super(_0x498f6d,_0x3f532a,_0x1d4d37,_0x787117,_0x132984,_0x4bca72,_0xe22543,_0x5ea2af,_0x3b7d35),_0x39016d(this,_0x329e4a(0x4ae),_0x329e4a(0x25b)),(this['_acknowledgedAwaitingChangeset']=_0x21ac6d,this[_0x329e4a(0x499)]=_0x1695eb,this[_0x329e4a(0x210)]=_0x332a4c,this[_0x329e4a(0x2fa)]=_0x3bdf03,this[_0x329e4a(0x263)]=_0x145b04);}[_0x50247e(0x32a)](_0x301c08){const _0x5e2ff5=_0x50247e;try{const _0x43c188=[..._0x301c08,...this[_0x5e2ff5(0x499)]],_0x1825de=[this[_0x5e2ff5(0x1b8)]||this[_0x5e2ff5(0x248)]][_0x5e2ff5(0x3ae)](_0x5c0de2=>!!_0x5c0de2);let _0xeaf36e,_0x513ddf;if(_0x1825de[_0x5e2ff5(0x1f1)]){const _0x1d0222=this[_0x5e2ff5(0x263)][_0x5e2ff5(0x4e6)](_0x43c188,_0x1825de,!0x1);if(!_0x413309[_0x5e2ff5(0x448)](_0x1d0222))throw _0x1d0222[_0x5e2ff5(0x54c)];_0xeaf36e=_0x1d0222[_0x5e2ff5(0x363)],_0x513ddf=_0x1d0222[_0x5e2ff5(0x556)];}else _0xeaf36e=_0x43c188,_0x513ddf=[];let _0x11cea2=this[_0x5e2ff5(0x2bd)];_0xeaf36e[_0x5e2ff5(0x3d0)](_0x13389c=>{const _0x5e6c90=_0x5e2ff5;let _0x28e0e5;if(_0x11cea2[_0x5e6c90(0x1f1)]){const _0x3c68c9=this[_0x5e6c90(0x263)][_0x5e6c90(0x563)](_0x13389c,_0x11cea2);if(!_0x413309[_0x5e6c90(0x126)](_0x3c68c9))throw _0x3c68c9[_0x5e6c90(0x54c)];_0x28e0e5=_0x3c68c9[_0x5e6c90(0x363)],_0x11cea2=_0x3c68c9[_0x5e6c90(0x52d)];}else _0x28e0e5=_0x13389c;this[_0x5e6c90(0x323)](_0x28e0e5);}),this[_0x5e2ff5(0x248)]&&this[_0x5e2ff5(0x38e)](),this['_awaitingChangeset']&&_0x513ddf[_0x5e2ff5(0x1f1)]&&(_0x513ddf[0x0]['baseRev']=this[_0x5e2ff5(0x4b5)]());let _0x12c618;if(this[_0x5e2ff5(0x1b8)]&&_0x11cea2['length']!==0x0)_0x12c618=this[_0x5e2ff5(0x210)][_0x5e2ff5(0x589)](_0x32ed3c,this[_0x5e2ff5(0x118)],this['type'],_0x513ddf[0x0],_0x11cea2,this[_0x5e2ff5(0x1d7)],void 0x0);else{if(this[_0x5e2ff5(0x1b8)]&&_0x11cea2[_0x5e2ff5(0x1f1)]===0x0)_0x513ddf[0x0][_0x5e2ff5(0x18d)]=this['_getCurrentRevision'](),_0x12c618=this[_0x5e2ff5(0x210)]['createInstance'](_0x2a3f64,this[_0x5e2ff5(0x118)],this[_0x5e2ff5(0x112)],_0x513ddf[0x0],this['_handler']);else{if(_0x11cea2[_0x5e2ff5(0x1f1)]!==0x0){const _0x1f84ad=this[_0x5e2ff5(0x210)][_0x5e2ff5(0x589)](_0xb1e786,this[_0x5e2ff5(0x118)],this[_0x5e2ff5(0x112)],_0x11cea2,this[_0x5e2ff5(0x1d7)]);_0x1f84ad[_0x5e2ff5(0x370)](),_0x12c618=_0x1f84ad;}else _0x12c618=this[_0x5e2ff5(0x210)]['createInstance'](_0x1e4525,this['unitID'],this['type'],this[_0x5e2ff5(0x1d7)]);}}return _0x12c618[_0x5e2ff5(0x127)](),_0x12c618;}catch(_0x573b4e){return this['_logService'][_0x5e2ff5(0x54c)](_0x5e2ff5(0x27f),_0x5e2ff5(0x2d2),_0x573b4e),this[_0x5e2ff5(0x210)][_0x5e2ff5(0x589)](_0x1a731a,this[_0x5e2ff5(0x118)],this[_0x5e2ff5(0x112)],this[_0x5e2ff5(0x1b8)],this[_0x5e2ff5(0x2bd)],this['_handler'],!0x1);}}[_0x50247e(0x414)](){const _0x5907d7=_0x50247e;throw new Error(_0x5907d7(0x105));}['appendMutation'](_0x1d9df0){const _0x49d389=_0x50247e;return this['_pendingMutations'][_0x49d389(0x421)](_0x1d9df0),this;}[_0x50247e(0x47b)](_0x3c7c45){const _0x3cc47f=_0x50247e;return this[_0x3cc47f(0x499)][_0x3cc47f(0x421)](_0x3c7c45),this;}['onRemoteAck'](_0x11ca0c){const _0x678451=_0x50247e;if(this[_0x678451(0x1b8)])return this['_acknowledgedAwaitingChangeset']=this[_0x678451(0x1b8)],this[_0x678451(0x1b8)]=null,this;throw new Error(_0x678451(0x260));}['onRemoteRej'](_0x57a7ef){const _0x3fa4b4=_0x50247e;return this[_0x3fa4b4(0x2c9)](!!(_0x57a7ef!=null&&_0x57a7ef['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x50247e(0x4f6)](){const _0x40492c=_0x50247e;return this[_0x40492c(0x210)]['createInstance'](_0x13e938,this[_0x40492c(0x118)],this[_0x40492c(0x112)],this[_0x40492c(0x1b8)],this[_0x40492c(0x2bd)],this[_0x40492c(0x1d7)]);}[_0x50247e(0x410)](){return this;}['_onConflict'](_0x42add0){const _0x547cb5=_0x50247e;return this[_0x547cb5(0x210)][_0x547cb5(0x589)](_0x1a731a,this[_0x547cb5(0x118)],this[_0x547cb5(0x112)],this[_0x547cb5(0x1b8)],this[_0x547cb5(0x2bd)],this['_handler'],_0x42add0);}};_0x2f85b1=_0x1a1653([_0x454fab(0x7,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x454fab(0x8,_0x47a99f[_0x50247e(0x30e)](_0x413309['RevisionService'])),_0x454fab(0x9,_0x47a99f['Inject'](_0x10e5bc[_0x50247e(0x53e)])),_0x454fab(0xa,_0x47a99f[_0x50247e(0x18f)]),_0x454fab(0xb,_0x47a99f[_0x50247e(0x417)]),_0x454fab(0xc,_0x47a99f[_0x50247e(0x22d)]),_0x454fab(0xd,_0x413309[_0x50247e(0x282)])],_0x2f85b1);function _0x2a0d50(_0x548413,_0x552b82,_0x35ff01,_0x5c1c7f,_0x5ae1be,_0x3fb7ac){const _0x37c904=_0x50247e;return _0x5c1c7f&&_0x5ae1be['length']?_0x548413[_0x37c904(0x589)](_0x32ed3c,_0x552b82,_0x35ff01,_0x5c1c7f,_0x5ae1be,_0x3fb7ac,void 0x0):_0x5c1c7f?_0x548413['createInstance'](_0x2a3f64,_0x552b82,_0x35ff01,_0x5c1c7f,_0x3fb7ac):_0x5ae1be[_0x37c904(0x1f1)]?_0x548413[_0x37c904(0x589)](_0xb1e786,_0x552b82,_0x35ff01,_0x5ae1be,_0x3fb7ac):_0x548413[_0x37c904(0x589)](_0x1e4525,_0x552b82,_0x35ff01,_0x3fb7ac);}var _0x19df02=Object[_0x50247e(0x2af)],_0x3ad86f=Object['getOwnPropertyDescriptor'],_0x47c3e3=(_0x5099ef,_0x377068,_0x20c7b6,_0x295b3c)=>{const _0x225769=_0x50247e;for(var _0x4ab08a=_0x295b3c>0x1?void 0x0:_0x295b3c?_0x3ad86f(_0x377068,_0x20c7b6):_0x377068,_0x203567=_0x5099ef[_0x225769(0x1f1)]-0x1,_0xde275a;_0x203567>=0x0;_0x203567--)(_0xde275a=_0x5099ef[_0x203567])&&(_0x4ab08a=(_0x295b3c?_0xde275a(_0x377068,_0x20c7b6,_0x4ab08a):_0xde275a(_0x4ab08a))||_0x4ab08a);return _0x295b3c&&_0x4ab08a&&_0x19df02(_0x377068,_0x20c7b6,_0x4ab08a),_0x4ab08a;},_0x58228a=(_0x470e3c,_0x5c3c03)=>(_0x2de7f0,_0x4e14b1)=>_0x5c3c03(_0x2de7f0,_0x4e14b1,_0x470e3c);_0x10e5bc[_0x50247e(0x41a)]=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x5f0143,_0x2e8f0c,_0x4e3835,_0x189d17,_0x40a113,_0x2db59f,_0x482872,_0x48f8ac,_0x395e76,_0x3b651d,_0x3c0284,_0x488b58,_0x29459a){const _0x1ae406=_0x50247e;super(),_0x39016d(this,_0x1ae406(0xc7),new _0x2d244b[(_0x1ae406(0x402))](null)),_0x39016d(this,'state$',this[_0x1ae406(0xc7)]['asObservable']()),_0x39016d(this,_0x1ae406(0xc4)),_0x39016d(this,_0x1ae406(0x4de),!0x1),_0x39016d(this,_0x1ae406(0x420),''),_0x39016d(this,_0x1ae406(0x588),0x0),_0x39016d(this,_0x1ae406(0x3c2),this[_0x1ae406(0x2ae)][_0x1ae406(0x48c)](_0x2d244b[_0x1ae406(0x14d)](_0x5c22a0=>_0x5c22a0?_0x5c22a0[_0x1ae406(0x4ae)]:_0x2344e3[_0x1ae406(0x593)]),_0x2d244b[_0x1ae406(0x4b6)](0x1))),_0x39016d(this,_0x1ae406(0x365),!0x1),_0x39016d(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x5f0143,this[_0x1ae406(0x17a)]=_0x2e8f0c,this['_type']=_0x4e3835,this['_injector']=_0x189d17,this['_localCacheService']=_0x40a113,this['_compressMutationService']=_0x2db59f,this[_0x1ae406(0x216)]=_0x482872,this[_0x1ae406(0x22c)]=_0x48f8ac,this[_0x1ae406(0x2fa)]=_0x395e76,this[_0x1ae406(0x14a)]=_0x3b651d,this[_0x1ae406(0x2f6)]=_0x3c0284,this[_0x1ae406(0x3a8)]=_0x488b58,this[_0x1ae406(0x49c)]=_0x29459a);}get[_0x50247e(0x400)](){return this['_state'];}async[_0x50247e(0x39d)](){const _0x5cfdc3=_0x50247e;if(this[_0x5cfdc3(0x400)])throw new Error(_0x5cfdc3(0x36a));await this[_0x5cfdc3(0x26d)]();}[_0x50247e(0x25a)](){const _0x3ccce1=_0x50247e;return this[_0x3ccce1(0x4de)]=!0x0,_0x47a99f['toDisposable'](()=>{const _0x4e12e9=_0x3ccce1;this[_0x4e12e9(0x4de)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x50247e(0x386)](_0x3d5cea){const _0x351486=_0x50247e;this[_0x351486(0xc4)]=_0x3d5cea,this['_state$'][_0x351486(0x411)](_0x3d5cea);}async[_0x50247e(0x26d)](){const _0x4ad6f4=_0x50247e;var _0x2ec332;this[_0x4ad6f4(0x386)](await this[_0x4ad6f4(0xe2)]()),this[_0x4ad6f4(0x49c)]&&((_0x2ec332=this[_0x4ad6f4(0x49c)])==null||_0x2ec332[_0x4ad6f4(0x48b)](this[_0x4ad6f4(0x118)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x4ad6f4(0x24e)](this['unitID'])[_0x4ad6f4(0x436)](_0x589e37=>{const _0x25b1ff=_0x4ad6f4;this[_0x25b1ff(0x2fa)][_0x25b1ff(0x505)](_0x25b1ff(0x56a),_0x25b1ff(0x1d6),_0x589e37),_0x589e37===_0x454b48['OTHER_CLIENTS_EDITING']?(this[_0x25b1ff(0x2f6)][_0x25b1ff(0x50f)]({'content':this[_0x25b1ff(0x216)]['t'](_0x25b1ff(0x353)),'type':_0x5629a0[_0x25b1ff(0x2b4)][_0x25b1ff(0x36e)]}),this[_0x25b1ff(0x3a8)]['updatePermissionPoint'](new _0x3500ce[(_0x25b1ff(0x3c3))](this['unitID'])['id'],!0x1),this[_0x25b1ff(0x3a8)]['setShowComponents'](!0x1)):(this[_0x25b1ff(0x3a8)][_0x25b1ff(0x2a7)](new _0x3500ce[(_0x25b1ff(0x3c3))](this['unitID'])['id'],!0x0),this[_0x25b1ff(0x3a8)][_0x25b1ff(0x54d)](!0x0));})));let _0x336c22=!0x1;return this[_0x4ad6f4(0x39a)](this['session'][_0x4ad6f4(0x1c0)]['subscribe'](_0x2f350e=>{const _0x2ac22b=_0x4ad6f4;_0x2f350e===_0x4322d6[_0x2ac22b(0x2bb)]?this['_toggleOnline'](_0x336c22):_0x2f350e===_0x4322d6[_0x2ac22b(0x593)]&&(_0x336c22=!0x0,this[_0x2ac22b(0x101)]());})),this[_0x4ad6f4(0x39a)](this[_0x4ad6f4(0x17a)]['event$'][_0x4ad6f4(0x436)](_0x142787=>{const _0x439389=_0x4ad6f4;try{switch(_0x142787[_0x439389(0x38a)]){case _0x413309[_0x439389(0x3d7)]['NEW_CHANGESETS']:{this[_0x439389(0x49d)](_0x413309['parseProtocolChangeset'](_0x142787[_0x439389(0x50e)]));break;}case _0x413309[_0x439389(0x3d7)][_0x439389(0x56b)]:{this[_0x439389(0x121)](_0x142787['data']);break;}case _0x413309[_0x439389(0x3d7)][_0x439389(0x2b7)]:{this[_0x439389(0x36b)]();break;}case _0x413309[_0x439389(0x3d7)][_0x439389(0x521)]:{this[_0x439389(0x4eb)](_0x142787[_0x439389(0x50e)]);break;}case _0x413309[_0x439389(0x3d7)][_0x439389(0x207)]:{this['_onFetchMissResult'](_0x142787[_0x439389(0x50e)][_0x439389(0x3f4)]['map'](_0x9a87cd=>_0x413309['parseProtocolChangeset'](_0x9a87cd)));break;}case _0x413309[_0x439389(0x3d7)][_0x439389(0x1c4)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x33b1a2){throw console['error'](_0x439389(0x522),_0x33b1a2),_0x33b1a2;}})),this['_state'];}['_unlockTransition'](){const _0x1e70b9=_0x50247e;this[_0x1e70b9(0x365)]=!0x1;}[_0x50247e(0x41e)](){const _0x5c2890=_0x50247e;if(this[_0x5c2890(0x365)])throw new Error(_0x5c2890(0x33b));this[_0x5c2890(0x365)]=!0x0;}['_onLocalMutation'](_0x50ec6f){const _0x242ce4=_0x50247e;this[_0x242ce4(0x41e)](),this['_updateState'](this[_0x242ce4(0xc4)][_0x242ce4(0x1e0)](_0x50ec6f)),this[_0x242ce4(0x261)]();}[_0x50247e(0x49d)](_0x229679){const _0x2c15a4=_0x50247e;if(!(_0x229679[_0x2c15a4(0x140)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x2c15a4(0x4de)]){this[_0x2c15a4(0x418)][_0x2c15a4(0x421)](_0x229679);return;}this[_0x2c15a4(0x21c)](_0x229679);}}['_exhaustRemoteChangesetQueue'](){const _0x22a5d7=_0x50247e;this[_0x22a5d7(0x418)][_0x22a5d7(0x3d0)](_0x36c8a8=>this['_applyRemoteChangeset'](_0x36c8a8)),this[_0x22a5d7(0x418)]=[];}[_0x50247e(0x21c)](_0x79a01b){const _0x3fc109=_0x50247e,_0x3bbc84=this['_compressMutationService'][_0x3fc109(0x430)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3fc109(0x4ca)]()[_0x3fc109(0x28b)])(_0x79a01b[_0x3fc109(0xde)],null)||_0x79a01b[_0x3fc109(0xde)],_0x495a32={..._0x79a01b,'mutations':_0x3bbc84};this[_0x3fc109(0x41e)](),this[_0x3fc109(0x386)](this[_0x3fc109(0xc4)][_0x3fc109(0x47b)](_0x495a32)),this[_0x3fc109(0x261)]();}[_0x50247e(0x121)](_0x576b1a){const _0x1b33c3=_0x50247e;this[_0x1b33c3(0x41e)](),this[_0x1b33c3(0x386)](this[_0x1b33c3(0xc4)][_0x1b33c3(0x379)](_0x576b1a)),this[_0x1b33c3(0x261)]();}[_0x50247e(0x36b)](_0x1e14e3){const _0x2ed85e=_0x50247e;this['_lockTransition'](),this['_updateState'](this[_0x2ed85e(0xc4)][_0x2ed85e(0x1c8)](_0x1e14e3)),this[_0x2ed85e(0x261)]();}[_0x50247e(0x4eb)](_0x2e71cc){const _0x106a08=_0x50247e;this['_lockTransition'](),this[_0x106a08(0x386)](this[_0x106a08(0xc4)][_0x106a08(0x2cf)](_0x2e71cc)),this[_0x106a08(0x261)]();}[_0x50247e(0x555)](_0x344eb0){const _0x2603a2=_0x50247e;if(!(this['_state']instanceof _0x2f85b1))throw new TypeError(_0x2603a2(0x3f9));const _0x34d92e=_0x344eb0[_0x2603a2(0x14d)](_0x245480=>{const _0x195532=_0x2603a2,_0xeca9ef=this['_compressMutationService'][_0x195532(0x430)]['fetchThroughInterceptors'](this[_0x195532(0x2a4)]['interceptor'][_0x195532(0x4ca)]()[_0x195532(0x28b)])(_0x245480['mutations'],null)||_0x245480[_0x195532(0xde)];return{..._0x245480,'mutations':_0xeca9ef};});this['_lockTransition'](),this['_updateState'](this[_0x2603a2(0xc4)]['onMissedChangesetFetched'](_0x34d92e)),this['_unlockTransition']();}[_0x50247e(0x101)](){const _0x21c687=_0x50247e;this[_0x21c687(0x41e)](),this[_0x21c687(0x386)](this[_0x21c687(0xc4)][_0x21c687(0x4f6)]()),this[_0x21c687(0x261)]();}[_0x50247e(0x43a)](_0x3a947f=!0x1){const _0x28287d=_0x50247e;this['_lockTransition'](),this['_updateState'](this['_state'][_0x28287d(0x410)]()),this[_0x28287d(0x261)]();const _0xe544d3=this['_state'];_0x3a947f&&_0xe544d3 instanceof _0x1e4525&&(this[_0x28287d(0x41e)](),this['_updateState'](_0xe544d3[_0x28287d(0x35b)]()),this[_0x28287d(0x261)]());}async[_0x50247e(0xe2)](){return new Promise(_0x20cce8=>{const _0xcbd48c=_0x5c6e;this['session'][_0xcbd48c(0x1c0)]['pipe'](_0x2d244b[_0xcbd48c(0x45e)](0x1))[_0xcbd48c(0x436)](async _0x4b9158=>{const _0x2709f3=_0xcbd48c;_0x20cce8(await this[_0x2709f3(0x4fe)](_0x4b9158===_0x4322d6[_0x2709f3(0x2bb)]));});});}[_0x50247e(0x3eb)](){const _0x4eda51=this['unitID'];return{'onStateChange':(_0x193f6f,_0x29d5fd)=>{const _0x226bb9=_0x5c6e;if(_0x193f6f!==this[_0x226bb9(0xc4)])throw new Error(_0x226bb9(0x380)+_0x193f6f[_0x226bb9(0x4ae)]+_0x226bb9(0x203)+_0x29d5fd[_0x226bb9(0x4ae)]+_0x226bb9(0x594)+this[_0x226bb9(0xc4)]['status']);this[_0x226bb9(0x386)](_0x29d5fd);},'onSendChangeset':_0x318993=>{const _0x29b9fa=_0x5c6e;_0x318993[_0x29b9fa(0x2ac)]||(_0x318993[_0x29b9fa(0x2ac)]=this[_0x29b9fa(0x420)],_0x318993[_0x29b9fa(0x538)]=++this['_changesetReqId']);const _0x23387e={'eventID':_0x413309['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x318993['unitID'],'unitType':this['_type'],'changeset':_0x318993,'memberID':this[_0x29b9fa(0x17a)]['getMemberID']()}};this['session']['send'](_0x23387e,this['unitID']);},'onMissingChangesets':({from:_0x233e73,to:_0x19b55c})=>{const _0x4b0b36=_0x5c6e;this[_0x4b0b36(0x2fa)]['debug'](_0x4b0b36(0x56a),_0x4b0b36(0xe7)+_0x233e73+'\x20to\x20'+_0x19b55c);const _0x423d81={'eventID':_0x413309[_0x4b0b36(0x3d7)]['FETCH_MISSING'],'data':{'unitID':_0x4eda51,'unitType':this['_type'],'from':_0x233e73,'to':_0x19b55c}};this[_0x4b0b36(0x17a)][_0x4b0b36(0x137)](_0x423d81,this[_0x4b0b36(0x118)]);}};}async[_0x50247e(0x4fe)](_0xf9a090){const _0x34d6ea=_0x50247e;var _0x351f0d,_0x17f54f;const _0x156961=await this[_0x34d6ea(0x22f)][_0x34d6ea(0x1a7)](this['unitID']),_0x57cc5c=(_0x351f0d=_0x156961==null?void 0x0:_0x156961['mutations'])!=null?_0x351f0d:[],_0x3f1e95=(_0x17f54f=_0x156961==null?void 0x0:_0x156961[_0x34d6ea(0x52c)])!=null?_0x17f54f:null,_0x501814=!!(_0x3f1e95!=null&&_0x3f1e95[_0x34d6ea(0x2ac)])&&!!(_0x3f1e95!=null&&_0x3f1e95[_0x34d6ea(0x538)]);this['_changesetSessionId']=_0x501814?_0x3f1e95['sid']:_0xcff08f(),this[_0x34d6ea(0x588)]=_0x501814?_0x3f1e95[_0x34d6ea(0x538)]:0x0;const _0x4e9170=this[_0x34d6ea(0x118)];try{this[_0x34d6ea(0x14f)](_0x3f1e95,_0x57cc5c);}catch(_0x1a6577){this['_logService'][_0x34d6ea(0x54c)](_0x1a6577);}const _0xd8264f=this[_0x34d6ea(0x3eb)]();if(_0xf9a090){const _0x197bce=_0x2a0d50(this['_injector'],_0x4e9170,this[_0x34d6ea(0x1ca)],_0x3f1e95,_0x57cc5c,_0xd8264f);return _0x197bce instanceof _0xb1e786?_0x197bce[_0x34d6ea(0x370)]():(_0x197bce instanceof _0x32ed3c||_0x197bce instanceof _0x2a3f64)&&_0x197bce[_0x34d6ea(0x414)](),_0x197bce;}return this[_0x34d6ea(0x210)][_0x34d6ea(0x589)](_0x13e938,_0x4e9170,this[_0x34d6ea(0x1ca)],_0x3f1e95,_0x57cc5c,_0xd8264f);}['_replayCachedMutations'](_0x59b7c8,_0x2bb683){const _0x3b64e0=_0x50247e;var _0x4e8029,_0x469f42;const _0x45da44=this[_0x3b64e0(0x2a4)]['interceptor'][_0x3b64e0(0x326)](this[_0x3b64e0(0x2a4)][_0x3b64e0(0x430)]['getInterceptPoints']()[_0x3b64e0(0x28b)]);(_0x4e8029=_0x45da44((_0x59b7c8==null?void 0x0:_0x59b7c8['mutations'])||[],null))==null||_0x4e8029[_0x3b64e0(0x3d0)](_0x2010a7=>this['_commandService']['executeCommand'](_0x2010a7['id'],_0x2010a7[_0x3b64e0(0x30c)])),(_0x469f42=_0x45da44(_0x2bb683||[],null))==null||_0x469f42[_0x3b64e0(0x3d0)](_0x3f6fc2=>this[_0x3b64e0(0x14a)][_0x3b64e0(0x548)](_0x3f6fc2['id'],_0x3f6fc2[_0x3b64e0(0x30c)]));}},_0x10e5bc[_0x50247e(0x41a)]=_0x47c3e3([_0x58228a(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x58228a(0x4,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x58228a(0x5,_0x47a99f['Inject'](_0x413309[_0x50247e(0x10d)])),_0x58228a(0x6,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0xe9)])),_0x58228a(0x7,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x58228a(0x8,_0x47a99f['ILogService']),_0x58228a(0x9,_0x47a99f['ICommandService']),_0x58228a(0xa,_0x2eba72[_0x50247e(0x2e4)]),_0x58228a(0xb,_0x47a99f[_0x50247e(0x50a)]),_0x58228a(0xc,_0x47a99f['Optional'](_0x849f9f))],_0x10e5bc[_0x50247e(0x41a)]),_0x10e5bc[_0x50247e(0x348)]=class extends _0x10e5bc[_0x50247e(0x41a)]{constructor(_0x423d7b,_0x2ce8d9,_0x598c91,_0x2bc521,_0x406370,_0xda493d,_0x480c7d,_0x1929b9,_0xb2f392,_0x5ae926,_0x545d7c,_0x21184f,_0x4478c7,_0x4fadd3,_0x46ff10,_0x3c04ce,_0x534b45,_0x3edc2b){const _0x7b342d=_0x50247e;super(_0x423d7b,_0x598c91,_0x2ce8d9,_0x2bc521,_0x406370,_0xda493d,_0x480c7d,_0x1929b9,_0x4fadd3,_0x46ff10,_0x3c04ce,_0x534b45,_0x3edc2b),this[_0x7b342d(0x118)]=_0x423d7b,this['type']=_0x2ce8d9,this['_docStateChangeManagerService']=_0xb2f392,this[_0x7b342d(0x565)]=_0x5ae926,this[_0x7b342d(0x42e)]=_0x545d7c,this[_0x7b342d(0x369)]=_0x21184f,this[_0x7b342d(0x4ec)]=_0x4478c7;}[_0x50247e(0x3eb)](){const _0x3fc493=_0x50247e,_0x1928e8=super[_0x3fc493(0x3eb)]();return _0x1928e8[_0x3fc493(0x440)]=_0x4d11f9=>this['_docTransformIMECacheService'][_0x3fc493(0x16e)](_0x4d11f9),_0x1928e8[_0x3fc493(0x29d)]=_0x2096c6=>this[_0x3fc493(0x42e)][_0x3fc493(0x1ae)](_0x2096c6),_0x1928e8[_0x3fc493(0x4fc)]=_0x28b147=>this['_docTransformSelectionsService'][_0x3fc493(0x458)](_0x28b147),_0x1928e8[_0x3fc493(0x237)]=_0x54f6e6=>this[_0x3fc493(0x4ec)][_0x3fc493(0x4df)](_0x54f6e6),_0x1928e8['onTransformRemoteChangesetByIMECache']=_0x302df9=>this['_docTransformIMECacheService'][_0x3fc493(0x46c)](_0x302df9),_0x1928e8[_0x3fc493(0x4f9)]=_0x409307=>this['_docTransformStateCacheService'][_0x3fc493(0x46c)](_0x409307),_0x1928e8;}async[_0x50247e(0x26d)](){const _0x7392c4=_0x50247e,_0x5925a2=await super[_0x7392c4(0x26d)]();return this[_0x7392c4(0x299)][_0x7392c4(0x27d)][_0x7392c4(0x48c)](_0x2d244b[_0x7392c4(0x31b)](this[_0x7392c4(0x3dc)]))[_0x7392c4(0x436)](_0x5eb94d=>{const _0xa8a93=_0x7392c4;if(_0x5eb94d==null)return;const {unitId:_0x474d89,redoState:_0x258d57,commandId:_0x4db894}=_0x5eb94d;if(_0x474d89!==this[_0xa8a93(0x118)])return;const _0x19cf3c={'id':_0x4db894,'type':_0x47a99f[_0xa8a93(0x4b1)][_0xa8a93(0x1eb)],'params':{'unitId':_0x474d89,'actions':_0x258d57[_0xa8a93(0x4af)],'textRanges':null}};this[_0xa8a93(0x518)](_0x19cf3c);}),_0x5925a2;}},_0x10e5bc[_0x50247e(0x348)]=_0x47c3e3([_0x58228a(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x58228a(0x4,_0x47a99f['Inject'](_0x10e5bc[_0x50247e(0x53e)])),_0x58228a(0x5,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x10d)])),_0x58228a(0x6,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0xe9)])),_0x58228a(0x7,_0x47a99f[_0x50247e(0x30e)](_0x413309[_0x50247e(0x269)])),_0x58228a(0x8,_0x47a99f[_0x50247e(0x30e)](_0x163238['DocStateChangeManagerService'])),_0x58228a(0x9,_0x47a99f[_0x50247e(0x30e)](_0x17a937)),_0x58228a(0xa,_0x47a99f['Inject'](_0x2353bd)),_0x58228a(0xb,_0x47a99f[_0x50247e(0x30e)](_0x32e346)),_0x58228a(0xc,_0x47a99f[_0x50247e(0x30e)](_0x4485db)),_0x58228a(0xd,_0x47a99f[_0x50247e(0x18f)]),_0x58228a(0xe,_0x47a99f['ICommandService']),_0x58228a(0xf,_0x2eba72[_0x50247e(0x2e4)]),_0x58228a(0x10,_0x47a99f[_0x50247e(0x50a)]),_0x58228a(0x11,_0x47a99f[_0x50247e(0x4c9)](_0x849f9f))],_0x10e5bc[_0x50247e(0x348)]),_0x10e5bc[_0x50247e(0x392)]=class extends _0x10e5bc[_0x50247e(0x41a)]{constructor(_0x49204b,_0x4c8e3b,_0x409ab9,_0x12cb54,_0x3f44d1,_0x11fc06,_0x4b5938,_0x571424,_0x149f5b,_0x4cdf6b,_0x1a1f82,_0xd6b35d,_0x25e3cc,_0x1c8ec5){const _0x100bcd=_0x50247e;super(_0x49204b,_0x409ab9,_0x4c8e3b,_0x12cb54,_0x3f44d1,_0x11fc06,_0x4b5938,_0x571424,_0x4cdf6b,_0x1a1f82,_0xd6b35d,_0x25e3cc,_0x1c8ec5),this['unitID']=_0x49204b,this[_0x100bcd(0x112)]=_0x4c8e3b,this[_0x100bcd(0x2d4)]=_0x149f5b;}['_createHandler'](){const _0x22d3d1=_0x50247e,_0x234dc8=super['_createHandler']();return _0x234dc8['onTransformSelections']=_0x611dde=>this[_0x22d3d1(0x2d4)][_0x22d3d1(0x458)](_0x611dde),_0x234dc8;}async[_0x50247e(0x26d)](){const _0x35dccf=_0x50247e,_0x3ab86c=await super[_0x35dccf(0x26d)]();return this[_0x35dccf(0x39a)](this[_0x35dccf(0x14a)][_0x35dccf(0x267)]((_0x3e55f0,_0x2200fd)=>{const _0x352e94=_0x35dccf;if(_0x3e55f0[_0x352e94(0x112)]!==_0x47a99f['CommandType'][_0x352e94(0x1eb)]||_0x2200fd!=null&&_0x2200fd[_0x352e94(0x2bf)]||_0x2200fd!=null&&_0x2200fd[_0x352e94(0x303)])return;const _0x4f67c2=_0x3e55f0[_0x352e94(0x30c)];if((_0x4f67c2==null?void 0x0:_0x4f67c2['unitId'])!==this[_0x352e94(0x118)])return;const _0x5d17b0=_0x3e55f0,_0x3959a0=this[_0x352e94(0x2a4)][_0x352e94(0x430)][_0x352e94(0x326)](this[_0x352e94(0x2a4)][_0x352e94(0x430)][_0x352e94(0x4ca)]()[_0x352e94(0xe1)])([_0x5d17b0],null)||[_0x5d17b0];this[_0x352e94(0x518)](_0x3959a0[0x0]);})),_0x3ab86c;}},_0x10e5bc['SheetCollaborationEntity']=_0x47c3e3([_0x58228a(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x58228a(0x4,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x58228a(0x5,_0x47a99f[_0x50247e(0x30e)](_0x413309['CompressMutationService'])),_0x58228a(0x6,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0xe9)])),_0x58228a(0x7,_0x47a99f['Inject'](_0x413309[_0x50247e(0x269)])),_0x58228a(0x8,_0x47a99f[_0x50247e(0x30e)](_0x33c733)),_0x58228a(0x9,_0x47a99f[_0x50247e(0x18f)]),_0x58228a(0xa,_0x47a99f[_0x50247e(0x417)]),_0x58228a(0xb,_0x2eba72['IMessageService']),_0x58228a(0xc,_0x47a99f[_0x50247e(0x50a)]),_0x58228a(0xd,_0x47a99f['Optional'](_0x849f9f))],_0x10e5bc[_0x50247e(0x392)]);var _0x385235=Object['defineProperty'],_0x52eee9=Object[_0x50247e(0x135)],_0x285e5f=(_0x50db28,_0x115bf3,_0x214b67,_0x3f7b13)=>{const _0x8bf365=_0x50247e;for(var _0xc3a8c2=_0x3f7b13>0x1?void 0x0:_0x3f7b13?_0x52eee9(_0x115bf3,_0x214b67):_0x115bf3,_0x3b3b06=_0x50db28[_0x8bf365(0x1f1)]-0x1,_0xfee538;_0x3b3b06>=0x0;_0x3b3b06--)(_0xfee538=_0x50db28[_0x3b3b06])&&(_0xc3a8c2=(_0x3f7b13?_0xfee538(_0x115bf3,_0x214b67,_0xc3a8c2):_0xfee538(_0xc3a8c2))||_0xc3a8c2);return _0x3f7b13&&_0xc3a8c2&&_0x385235(_0x115bf3,_0x214b67,_0xc3a8c2),_0xc3a8c2;},_0x150d78=(_0x4d415e,_0x57c1cf)=>(_0x4b2543,_0x1a1f25)=>_0x57c1cf(_0x4b2543,_0x1a1f25,_0x4d415e);_0x10e5bc[_0x50247e(0x13e)]=class extends _0x47a99f['RxDisposable']{constructor(_0xe4c45d,_0x5ef661,_0x5b97e1){const _0x42c07f=_0x50247e;super(),_0x39016d(this,_0x42c07f(0x3cb),new Map()),_0x39016d(this,'_entityInit$',new _0x2d244b[(_0x42c07f(0x325))]()),(this[_0x42c07f(0x210)]=_0xe4c45d,this[_0x42c07f(0x561)]=_0x5ef661,this[_0x42c07f(0x286)]=_0x5b97e1,this[_0x42c07f(0x26d)]());}['dispose'](){const _0x3bee01=_0x50247e;super[_0x3bee01(0x452)](),this[_0x3bee01(0x3cb)]['forEach'](_0x1359a2=>_0x1359a2['dispose']()),this[_0x3bee01(0x3cb)][_0x3bee01(0x1f5)]();}['getCollabEntity'](_0x1b824c){const _0xed8c66=_0x50247e;var _0x131b2c;return(_0x131b2c=this[_0xed8c66(0x3cb)][_0xed8c66(0x40e)](_0x1b824c))!=null?_0x131b2c:null;}[_0x50247e(0x1b3)](_0x5d48eb){const _0x3a032b=_0x50247e,_0x317348=this['getCollabEntity'](_0x5d48eb);return _0x317348?_0x2d244b['of'](_0x317348):this['_entityInit$'][_0x3a032b(0x48c)](_0x822d8b['filter'](_0x10afb8=>_0x10afb8['unitID']===_0x5d48eb));}[_0x50247e(0x26d)](){const _0x5700cb=_0x50247e;this['_univerInstanceService'][_0x5700cb(0x33d)](_0x47a99f[_0x5700cb(0xfc)][_0x5700cb(0x508)])[_0x5700cb(0x48c)](_0x2d244b[_0x5700cb(0x31b)](this[_0x5700cb(0x3dc)]),_0x822d8b[_0x5700cb(0x1b5)](0x10))['subscribe'](async _0xd25565=>{const _0x3a2071=_0x5700cb,_0x4d0bea=_0xd25565['getUnitId'](),_0x1f77c9=await this[_0x3a2071(0x52a)](_0x4d0bea,_0x3a4d97[_0x3a2071(0x508)]);this[_0x3a2071(0x3cb)][_0x3a2071(0xed)](_0x4d0bea,_0x1f77c9);}),this['_univerInstanceService'][_0x5700cb(0x33d)](_0x47a99f['UniverInstanceType'][_0x5700cb(0x53f)])['pipe'](_0x2d244b[_0x5700cb(0x31b)](this[_0x5700cb(0x3dc)]),_0x822d8b[_0x5700cb(0x1b5)](0x10))[_0x5700cb(0x48c)](_0x822d8b[_0x5700cb(0x3ae)](_0x5ab84f=>!_0x5ab84f[_0x5700cb(0x15e)]()['startsWith']('__')))['subscribe'](async _0x44aa4c=>{const _0x2a81a3=_0x5700cb,_0x106f51=_0x44aa4c[_0x2a81a3(0x15e)](),_0x3e189a=await this[_0x2a81a3(0x52a)](_0x106f51,_0x3a4d97[_0x2a81a3(0x53f)]);this['_entities'][_0x2a81a3(0xed)](_0x106f51,_0x3e189a);}),_0x2d244b[_0x5700cb(0xd6)](this[_0x5700cb(0x286)][_0x5700cb(0x32f)](_0x47a99f[_0x5700cb(0xfc)][_0x5700cb(0x508)]),this['_univerInstanceService'][_0x5700cb(0x32f)](_0x47a99f[_0x5700cb(0xfc)][_0x5700cb(0x53f)]))[_0x5700cb(0x48c)](_0x2d244b[_0x5700cb(0x31b)](this[_0x5700cb(0x3dc)]))['subscribe'](_0x4eb365=>{const _0x3a2aca=_0x5700cb,_0x3d1018=_0x4eb365[_0x3a2aca(0x15e)](),_0x119ad2=this[_0x3a2aca(0x3cb)][_0x3a2aca(0x40e)](_0x3d1018);_0x119ad2&&(_0x119ad2['dispose'](),this[_0x3a2aca(0x3cb)][_0x3a2aca(0x45f)](_0x3d1018));});}async[_0x50247e(0x52a)](_0x343f60,_0x5cff06){const _0x7875cd=_0x50247e,_0x18939c=await this[_0x7875cd(0x561)][_0x7875cd(0x1b9)](_0x343f60),_0x5f1509=this[_0x7875cd(0x210)][_0x7875cd(0x589)](this[_0x7875cd(0x43b)](_0x5cff06),_0x343f60,_0x5cff06,_0x18939c);return await _0x5f1509[_0x7875cd(0x39d)](),this[_0x7875cd(0x1c5)][_0x7875cd(0x411)](_0x5f1509),_0x5f1509;}['_getCtorByUniverType'](_0x59ad81){const _0x26bff5=_0x50247e;switch(_0x59ad81){case _0x3a4d97[_0x26bff5(0x53f)]:return _0x10e5bc['DocCollaborationEntity'];case _0x3a4d97[_0x26bff5(0x508)]:return _0x10e5bc['SheetCollaborationEntity'];default:throw new Error(_0x26bff5(0x2ab)+_0x59ad81);}}},_0x10e5bc[_0x50247e(0x13e)]=_0x285e5f([_0x150d78(0x0,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x150d78(0x1,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x4b8)])),_0x150d78(0x2,_0x47a99f['IUniverInstanceService'])],_0x10e5bc[_0x50247e(0x13e)]);const _0x437013=['purple300',_0x50247e(0x429),_0x50247e(0x54a),_0x50247e(0x3d1),_0x50247e(0x423),_0x50247e(0x54b)];class _0x43dda4 extends _0x47a99f[_0x50247e(0x227)]{constructor(){const _0x1ea346=_0x50247e;super(...arguments),_0x39016d(this,_0x1ea346(0x1df),new Map()),_0x39016d(this,_0x1ea346(0x373),0x0);}[_0x50247e(0x570)](_0x39f362){const _0x1042cf=_0x50247e;if(this[_0x1042cf(0x1df)][_0x1042cf(0x138)](_0x39f362))return this[_0x1042cf(0x1df)][_0x1042cf(0x40e)](_0x39f362);const _0x3ae426=_0x437013[this[_0x1042cf(0x373)]];return this[_0x1042cf(0x373)]=(this[_0x1042cf(0x373)]+0x1)%_0x437013['length'],this[_0x1042cf(0x1df)]['set'](_0x39f362,_0x3ae426),_0x3ae426;}}var _0xca7d28=Object[_0x50247e(0x2af)],_0x11e6e5=Object[_0x50247e(0x135)],_0x1c1a59=(_0x247a45,_0x2eb05a,_0x348e31,_0x49f036)=>{for(var _0x311c0a=_0x49f036>0x1?void 0x0:_0x49f036?_0x11e6e5(_0x2eb05a,_0x348e31):_0x2eb05a,_0x17ec64=_0x247a45['length']-0x1,_0x3bb34f;_0x17ec64>=0x0;_0x17ec64--)(_0x3bb34f=_0x247a45[_0x17ec64])&&(_0x311c0a=(_0x49f036?_0x3bb34f(_0x2eb05a,_0x348e31,_0x311c0a):_0x3bb34f(_0x311c0a))||_0x311c0a);return _0x49f036&&_0x311c0a&&_0xca7d28(_0x2eb05a,_0x348e31,_0x311c0a),_0x311c0a;},_0x6cebfa=(_0x247fa3,_0x59e8fb)=>(_0x3f769f,_0x30abb8)=>_0x59e8fb(_0x3f769f,_0x30abb8,_0x247fa3);const _0x2696b4=0x12c,_0x26a623=0x64;let _0xb34f90=class extends _0x47a99f['RxDisposable']{constructor(_0x2b97ce,_0x297052,_0x178caa,_0x10ace1,_0x1808ed,_0xe86b74,_0x51e2f0,_0x5cd1b1,_0xffe04c){const _0x43f239=_0x50247e;super(),_0x39016d(this,_0x43f239(0x187),!0x1),_0x39016d(this,_0x43f239(0x26d),!0x1),_0x39016d(this,_0x43f239(0x515),new _0x2d244b['BehaviorSubject'](new Map())),_0x39016d(this,_0x43f239(0x124),this[_0x43f239(0x515)][_0x43f239(0x574)]()),_0x39016d(this,_0x43f239(0x481),new _0x2d244b['BehaviorSubject']([])),_0x39016d(this,_0x43f239(0x129),this['_roomMembers$'][_0x43f239(0x48c)](_0x2d244b[_0x43f239(0x330)](_0x2696b4))),_0x39016d(this,_0x43f239(0x46e),_0x47a99f[_0x43f239(0x352)](_0x2db0a9=>{const _0x5bce28=_0x43f239,_0x247725={'eventID':_0x413309[_0x5bce28(0x3d7)][_0x5bce28(0x50c)],'data':{'unitID':this[_0x5bce28(0x118)],'memberID':this['_session'][_0x5bce28(0x4ba)](),'selection':_0x5369e4(_0x2db0a9)}};this[_0x5bce28(0x37d)][_0x5bce28(0x137)](_0x247725,this[_0x5bce28(0x118)]);},_0x26a623)),(this[_0x43f239(0x118)]=_0x2b97ce,this[_0x43f239(0x37d)]=_0x297052,this['_injector']=_0x178caa,this[_0x43f239(0x25d)]=_0x10ace1,this['_memberService']=_0x1808ed,this[_0x43f239(0x55a)]=_0xe86b74,this[_0x43f239(0x263)]=_0x51e2f0,this['_univerInstanceService']=_0x5cd1b1,this[_0x43f239(0x14a)]=_0xffe04c);}get[_0x50247e(0x26e)](){const _0x380aaa=_0x50247e;return this[_0x380aaa(0x515)][_0x380aaa(0x3d4)]();}get[_0x50247e(0x243)](){const _0x361433=_0x50247e;return this[_0x361433(0x481)][_0x361433(0x3d4)]();}['dispose'](){const _0x40931f=_0x50247e;super['dispose'](),this[_0x40931f(0x515)][_0x40931f(0x411)](new Map()),this[_0x40931f(0x515)]['complete'](),this[_0x40931f(0x481)][_0x40931f(0x411)]([]),this[_0x40931f(0x481)][_0x40931f(0x29f)]();}[_0x50247e(0x39d)](){const _0x4b644e=_0x50247e;this[_0x4b644e(0x26d)]||(this[_0x4b644e(0x26d)]=!0x0,this['_session'][_0x4b644e(0x1c0)][_0x4b644e(0x48c)](_0x2d244b[_0x4b644e(0x31b)](this[_0x4b644e(0x3dc)]))[_0x4b644e(0x436)](_0x29d278=>{const _0x1b7da8=_0x4b644e;_0x29d278===_0x4322d6['ONLINE']?this[_0x1b7da8(0x43a)]():this[_0x1b7da8(0x101)]();}),this[_0x4b644e(0x37d)][_0x4b644e(0x419)]['pipe'](_0x2d244b[_0x4b644e(0x31b)](this[_0x4b644e(0x3dc)]))[_0x4b644e(0x436)](_0x6a5f1c=>{const _0x426f19=_0x4b644e,_0x529642=_0x6a5f1c[_0x426f19(0x38a)];_0x529642===_0x413309[_0x426f19(0x3d7)][_0x426f19(0x50c)]&&this['_onCursorUpdate'](_0x6a5f1c),_0x529642===_0x413309[_0x426f19(0x3d7)][_0x426f19(0x42d)]&&this[_0x426f19(0x212)](_0x6a5f1c);}),this[_0x4b644e(0x39a)](this[_0x4b644e(0x14a)][_0x4b644e(0x267)](_0x193864=>{const _0x325c47=_0x4b644e,_0x3d3107=_0x193864[_0x325c47(0x30c)];_0x3d3107!=null&&this[_0x325c47(0x187)]&&_0x193864['id']===_0x1bde83['SetTextSelectionsOperation']['id']&&_0x3d3107[_0x325c47(0x13c)]===this[_0x325c47(0x118)]&&_0x3d3107[_0x325c47(0x405)]===!0x1&&_0x3d3107['ranges'][_0x325c47(0x1f1)]>0x0&&this['_updateLocalCursor'](_0x3d3107['ranges']);})),this[_0x4b644e(0x55a)][_0x4b644e(0x433)][_0x4b644e(0x48c)](_0x2d244b[_0x4b644e(0x31b)](this[_0x4b644e(0x3dc)]))[_0x4b644e(0x436)](_0x2852b8=>{const _0x1f7035=_0x4b644e;if((_0x2852b8==null?void 0x0:_0x2852b8['unitID'])!==this[_0x1f7035(0x118)])return;const _0x3c85dc={'eventID':_0x413309[_0x1f7035(0x3d7)][_0x1f7035(0x50c)],'data':_0x2852b8};this[_0x1f7035(0x247)](_0x3c85dc);}),this[_0x4b644e(0x39a)](this[_0x4b644e(0x14a)][_0x4b644e(0x267)](_0x10461b=>{const _0x544696=_0x4b644e;if(_0x10461b[_0x544696(0x30c)]==null)return;const _0x3cfa94=_0x10461b['params'];if(_0x10461b['id']!==_0x1bde83[_0x544696(0x27e)]['id']||_0x3cfa94[_0x544696(0x13c)]!==this['unitID'])return;const _0x5ddb8c={'id':_0x544696(0x569),'params':_0x3cfa94},_0x43dcab=this[_0x544696(0x26e)];for(const [_0x1a2cbc,_0x1555b4]of _0x43dcab){const _0x5a6fb4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1555b4[_0x544696(0xe8)]}},_0x4d09f5=this['_transformService'][_0x544696(0x18a)](_0x5ddb8c,_0x5a6fb4,!0x1);if(_0x413309['isTransformMutationFailure'](_0x4d09f5))throw _0x4d09f5[_0x544696(0x54c)];_0x43dcab[_0x544696(0xed)](_0x1a2cbc,{..._0x1555b4,'ranges':_0x4d09f5[_0x544696(0x52d)][_0x544696(0x30c)][_0x544696(0xec)]});}queueMicrotask(()=>{const _0x13089b=_0x544696;this[_0x13089b(0x515)]['next'](_0x43dcab);});})));}['_onCursorUpdate'](_0x54ccc3){const _0x38ffb3=_0x50247e;var _0x112c79,_0xa7458e;const {memberID:_0x51d3b5,selection:_0x2d1c7b}=_0x54ccc3[_0x38ffb3(0x50e)],_0x55cd1c=_0x15718e(_0x2d1c7b),_0x5a6471=(_0xa7458e=(_0x112c79=this[_0x38ffb3(0x11e)]['getMember'](this[_0x38ffb3(0x118)],_0x51d3b5))==null?void 0x0:_0x112c79['name'])!=null?_0xa7458e:_0x38ffb3(0x58b),_0x112e80={'color':this[_0x38ffb3(0x25d)][_0x38ffb3(0x570)](_0x51d3b5),'name':_0x5a6471,'ranges':_0x55cd1c},_0x5111b2=this[_0x38ffb3(0x26e)];_0x5111b2[_0x38ffb3(0xed)](_0x51d3b5,_0x112e80),this[_0x38ffb3(0x515)][_0x38ffb3(0x411)](_0x5111b2);}['_onCursorDelete'](_0x114366){const _0x4ca141=_0x50247e,{memberID:_0x24ce5a}=_0x114366[_0x4ca141(0x50e)],_0x12a3a8=this[_0x4ca141(0x26e)];_0x12a3a8['delete'](_0x24ce5a),this[_0x4ca141(0x515)][_0x4ca141(0x411)](_0x12a3a8);}[_0x50247e(0x43a)](){const _0x4d8db9=_0x50247e;var _0x20abc5;if(this[_0x4d8db9(0x187)]=!0x0,((_0x20abc5=this[_0x4d8db9(0x286)][_0x4d8db9(0x240)]())==null?void 0x0:_0x20abc5[_0x4d8db9(0x15e)]())!==this['unitID'])return;const _0x3b1ae2=this[_0x4d8db9(0x210)]['get'](_0x1bde83[_0x4d8db9(0x12a)])['getDocRanges']();Array['isArray'](_0x3b1ae2)&&_0x3b1ae2[_0x4d8db9(0x1f1)]>0x0&&this[_0x4d8db9(0x46e)](_0x3b1ae2);}[_0x50247e(0x101)](){const _0x27e221=_0x50247e;this[_0x27e221(0x187)]=!0x1;}};_0xb34f90=_0x1c1a59([_0x6cebfa(0x2,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x1a0)])),_0x6cebfa(0x3,_0x47a99f[_0x50247e(0x30e)](_0x43dda4)),_0x6cebfa(0x4,_0x47a99f['Inject'](_0x10e5bc[_0x50247e(0x292)])),_0x6cebfa(0x5,_0x47a99f[_0x50247e(0x30e)](_0x4485db)),_0x6cebfa(0x6,_0x413309[_0x50247e(0x282)]),_0x6cebfa(0x7,_0x47a99f['IUniverInstanceService']),_0x6cebfa(0x8,_0x47a99f[_0x50247e(0x417)])],_0xb34f90);var _0x182b65=Object[_0x50247e(0x2af)],_0x47f234=Object['getOwnPropertyDescriptor'],_0xae4742=(_0x488130,_0x5d33fc,_0x1ba54b,_0x10e4c7)=>{for(var _0x2a6958=_0x10e4c7>0x1?void 0x0:_0x10e4c7?_0x47f234(_0x5d33fc,_0x1ba54b):_0x5d33fc,_0x269b0e=_0x488130['length']-0x1,_0x3a20b1;_0x269b0e>=0x0;_0x269b0e--)(_0x3a20b1=_0x488130[_0x269b0e])&&(_0x2a6958=(_0x10e4c7?_0x3a20b1(_0x5d33fc,_0x1ba54b,_0x2a6958):_0x3a20b1(_0x2a6958))||_0x2a6958);return _0x10e4c7&&_0x2a6958&&_0x182b65(_0x5d33fc,_0x1ba54b,_0x2a6958),_0x2a6958;},_0x26f46e=(_0xb79812,_0x103ad6)=>(_0x5055f0,_0x4dfe71)=>_0x103ad6(_0x5055f0,_0x4dfe71,_0xb79812);const _0x196878=0x12c,_0x349d95=0x64,_0x417cda=()=>{let _0x20b66f=[],_0x27be77=!0x1;return _0x5f4ee5=>{const _0x2cddb5=_0x5c6e;_0x20b66f[_0x2cddb5(0x421)](_0x5f4ee5),_0x27be77||(_0x27be77=!0x0,setTimeout(()=>{_0x20b66f['forEach'](_0x4e0297=>_0x4e0297()),_0x20b66f=[],_0x27be77=!0x1;}));};};let _0x1f53e0=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x2e1194,_0x53e012,_0xd7efdf,_0x6ec12f,_0x56e048,_0x2b92e2,_0x3a636c,_0x5027ee){const _0x54ff72=_0x50247e;super(),_0x39016d(this,'_online',!0x1),_0x39016d(this,'_init',!0x1),_0x39016d(this,'_cursorInfo$',new _0x2d244b[(_0x54ff72(0x402))](new Map())),_0x39016d(this,_0x54ff72(0x124),this[_0x54ff72(0x515)][_0x54ff72(0x574)]()),_0x39016d(this,_0x54ff72(0x481),new _0x2d244b[(_0x54ff72(0x402))]([])),_0x39016d(this,'roomMembers$',this['_roomMembers$'][_0x54ff72(0x48c)](_0x2d244b['debounceTime'](_0x196878))),_0x39016d(this,'_updateLocalCursor',_0x47a99f['debounce']((_0x267cc6,_0x13b256)=>{const _0x5d32d5=_0x54ff72,_0x13023b={'eventID':_0x413309[_0x5d32d5(0x3d7)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5d32d5(0x118)],'memberID':this[_0x5d32d5(0x37d)][_0x5d32d5(0x4ba)](),'selection':_0x2d6e89[_0x5d32d5(0x527)](_0x267cc6,_0x13b256[_0x5d32d5(0x506)])}};this[_0x5d32d5(0x37d)][_0x5d32d5(0x137)](_0x13023b,this[_0x5d32d5(0x118)]);},_0x349d95)),(this[_0x54ff72(0x118)]=_0x2e1194,this[_0x54ff72(0x37d)]=_0x53e012,this['_injector']=_0xd7efdf,this[_0x54ff72(0x25d)]=_0x6ec12f,this['_memberService']=_0x56e048,this[_0x54ff72(0x286)]=_0x2b92e2,this[_0x54ff72(0x14a)]=_0x3a636c,this['_refRangeService']=_0x5027ee);}get['cursorInfo'](){const _0x4fcee9=_0x50247e;return this[_0x4fcee9(0x515)][_0x4fcee9(0x3d4)]();}get[_0x50247e(0x243)](){const _0x2aebb2=_0x50247e;return this[_0x2aebb2(0x481)][_0x2aebb2(0x3d4)]();}[_0x50247e(0x452)](){const _0x33b520=_0x50247e;super[_0x33b520(0x452)](),this[_0x33b520(0x515)]['next'](new Map()),this[_0x33b520(0x515)][_0x33b520(0x29f)](),this[_0x33b520(0x481)]['next']([]),this[_0x33b520(0x481)][_0x33b520(0x29f)]();}[_0x50247e(0x39d)](){const _0x261df0=_0x50247e;this[_0x261df0(0x26d)]||(this[_0x261df0(0x26d)]=!0x0,this[_0x261df0(0x37d)][_0x261df0(0x1c0)][_0x261df0(0x48c)](_0x2d244b[_0x261df0(0x31b)](this[_0x261df0(0x3dc)]))[_0x261df0(0x436)](_0x49566f=>{const _0x474b01=_0x261df0;_0x49566f===_0x4322d6[_0x474b01(0x2bb)]?this['_toggleOnline']():this[_0x474b01(0x101)]();}),this['_session'][_0x261df0(0x419)]['pipe'](_0x2d244b[_0x261df0(0x31b)](this[_0x261df0(0x3dc)]))[_0x261df0(0x436)](_0x59d7b9=>{const _0x30a24c=_0x261df0,_0x830c7b=_0x59d7b9[_0x30a24c(0x38a)];_0x830c7b===_0x413309[_0x30a24c(0x3d7)][_0x30a24c(0x50c)]&&this[_0x30a24c(0x247)](_0x59d7b9),_0x830c7b===_0x413309[_0x30a24c(0x3d7)][_0x30a24c(0x42d)]&&this['_onCursorDelete'](_0x59d7b9);}),this['_onRefRangeChange'](),this[_0x261df0(0x39a)](this[_0x261df0(0x14a)]['onCommandExecuted'](_0x2ebdba=>{const _0x18ea3a=_0x261df0;if(this[_0x18ea3a(0x187)]&&_0x2ebdba['id']===_0x3500ce[_0x18ea3a(0x25f)]['id']&&_0x2ebdba[_0x18ea3a(0x30c)][_0x18ea3a(0x13c)]===this[_0x18ea3a(0x118)]){const _0x472998=_0x2ebdba[_0x18ea3a(0x30c)];this['_updateLocalCursor'](_0x472998[_0x18ea3a(0x167)],_0x472998[_0x18ea3a(0x38b)][0x0]);}})));}[_0x50247e(0x247)](_0x59d544){const _0x2e907e=_0x50247e;var _0xc7230e,_0x594432;const {memberID:_0x3bb098,selection:_0x2986d6}=_0x59d544[_0x2e907e(0x50e)],{sheetName:_0x73966f,range:_0x2c1baa}=_0x2d6e89[_0x2e907e(0x274)](_0x2986d6),_0x12b1e5={'name':(_0x594432=(_0xc7230e=this[_0x2e907e(0x11e)]['getMember'](this[_0x2e907e(0x118)],_0x3bb098))==null?void 0x0:_0xc7230e[_0x2e907e(0x2ba)])!=null?_0x594432:_0x2e907e(0x58b),'range':this[_0x2e907e(0x344)](_0x73966f,_0x2c1baa),'sheetID':_0x73966f,'color':this[_0x2e907e(0x25d)][_0x2e907e(0x570)](_0x3bb098),'selection':_0x2986d6},_0x829cdc=this[_0x2e907e(0x26e)];_0x829cdc[_0x2e907e(0xed)](_0x3bb098,_0x12b1e5),this[_0x2e907e(0x515)][_0x2e907e(0x411)](_0x829cdc);}[_0x50247e(0x212)](_0x29de0a){const _0xe193af=_0x50247e,{memberID:_0x4dc987}=_0x29de0a['data'],_0x3e1bfb=this[_0xe193af(0x26e)];_0x3e1bfb[_0xe193af(0x45f)](_0x4dc987),this[_0xe193af(0x515)]['next'](_0x3e1bfb);}[_0x50247e(0x344)](_0x3d800a,_0x242bc7){const _0x2cafd4=_0x50247e;var _0x3fdf10,_0xeb05c5;const _0x3467c4=(_0xeb05c5=(_0x3fdf10=this[_0x2cafd4(0x286)][_0x2cafd4(0x413)](this['unitID']))==null?void 0x0:_0x3fdf10[_0x2cafd4(0x221)](_0x3d800a))==null?void 0x0:_0xeb05c5[_0x2cafd4(0x244)]();return(_0x3467c4==null?void 0x0:_0x3467c4['find'](_0x1bc2a9=>_0x47a99f[_0x2cafd4(0x266)][_0x2cafd4(0x21e)](_0x1bc2a9,_0x242bc7)))||_0x242bc7;}[_0x50247e(0x40c)](){const _0x5eded8=_0x50247e,_0x229a1a=new _0x47a99f[(_0x5eded8(0x3b4))](),_0xc7b19e=_0x417cda(),_0x1d85ba=()=>{const _0x140b96=_0x5eded8;_0x229a1a[_0x140b96(0x452)]();const _0x1f149c=(_0x62d314,_0x1931f1,_0xa42791,_0x28dbe8)=>{const _0xdffd0c=_0x140b96;let _0x534b06=[];switch(_0x62d314['id']){case _0x3500ce[_0xdffd0c(0x3a3)][_0xdffd0c(0x438)]:{_0x534b06=_0x3500ce[_0xdffd0c(0x3ab)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)][_0xdffd0c(0x3fe)]:{_0x534b06=_0x3500ce[_0xdffd0c(0x2e7)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)]['InsertColCommandId']:{_0x534b06=_0x3500ce[_0xdffd0c(0x57a)](_0x62d314,_0x28dbe8);break;}case _0x3500ce['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x534b06=_0x3500ce[_0xdffd0c(0x154)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)][_0xdffd0c(0x130)]:{_0x534b06=_0x3500ce[_0xdffd0c(0x37f)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)]['InsertRowCommandId']:{_0x534b06=_0x3500ce['handleInsertRow'](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)]['MoveRangeCommandId']:{_0x534b06=_0x3500ce[_0xdffd0c(0x55f)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)]['RemoveColCommandId']:{_0x534b06=_0x3500ce[_0xdffd0c(0x1f4)](_0x62d314,_0x28dbe8);break;}case _0x3500ce[_0xdffd0c(0x3a3)][_0xdffd0c(0x3a7)]:{_0x534b06=_0x3500ce[_0xdffd0c(0x17e)](_0x62d314,_0x28dbe8);break;}}const _0x699f8=_0x3500ce[_0xdffd0c(0x422)](_0x534b06,_0x28dbe8),_0x573d21=this[_0xdffd0c(0x26e)][_0xdffd0c(0x40e)](_0x1931f1);if(_0x573d21&&_0x699f8){const _0xbdd58a={..._0x573d21,'range':_0x699f8};this[_0xdffd0c(0x26e)][_0xdffd0c(0xed)](_0x1931f1,_0xbdd58a),_0xc7b19e(()=>{const _0x501ebc=_0xdffd0c,_0x2c9934=this['_refRangeService'][_0x501ebc(0x159)](_0x699f8,_0x54a5f8=>(_0x2c9934[_0x501ebc(0x452)](),_0x1f149c(_0x54a5f8,_0x1931f1,_0xa42791,_0x699f8)));_0x229a1a[_0x501ebc(0x1ed)](_0x2c9934);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x140b96(0x3d0)]((_0x130d42,_0x492ac4)=>{const _0x4133a9=_0x140b96,{range:_0x1d7faf,sheetID:_0x12de2a}=_0x130d42,_0x2da420=this[_0x4133a9(0x4a4)]['registerRefRange'](_0x1d7faf,_0x21e08f=>(_0x2da420[_0x4133a9(0x452)](),_0x1f149c(_0x21e08f,_0x492ac4,_0x12de2a,_0x1d7faf)));_0x229a1a[_0x4133a9(0x1ed)](_0x2da420);});};this[_0x5eded8(0x39a)](_0x47a99f[_0x5eded8(0x2ef)](this[_0x5eded8(0x515)][_0x5eded8(0x436)](()=>{_0x1d85ba();})));}[_0x50247e(0x43a)](){const _0x916873=_0x50247e;var _0x44baa8,_0x34bd3e;if(this[_0x916873(0x187)]=!0x0,((_0x44baa8=this['_univerInstanceService'][_0x916873(0x240)]())==null?void 0x0:_0x44baa8[_0x916873(0x15e)]())!==this[_0x916873(0x118)])return;const _0x2cc542=(_0x34bd3e=this['_injector'][_0x916873(0x40e)](_0x3500ce['SheetsSelectionsService'])[_0x916873(0x145)]())==null?void 0x0:_0x34bd3e[0x0],_0x851973=this[_0x916873(0x286)]['getCurrentUnitForType'](_0x47a99f[_0x916873(0xfc)]['UNIVER_SHEET'])[_0x916873(0x461)]();_0x2cc542&&_0x851973&&this[_0x916873(0x46e)](_0x851973[_0x916873(0x431)](),_0x2cc542);}[_0x50247e(0x101)](){const _0x3b37f7=_0x50247e;this[_0x3b37f7(0x187)]=!0x1;}};_0x1f53e0=_0xae4742([_0x26f46e(0x2,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['Injector'])),_0x26f46e(0x3,_0x47a99f[_0x50247e(0x30e)](_0x43dda4)),_0x26f46e(0x4,_0x47a99f['Inject'](_0x10e5bc[_0x50247e(0x292)])),_0x26f46e(0x5,_0x47a99f[_0x50247e(0x180)]),_0x26f46e(0x6,_0x47a99f[_0x50247e(0x417)]),_0x26f46e(0x7,_0x47a99f[_0x50247e(0x30e)](_0x3500ce[_0x50247e(0x3ac)]))],_0x1f53e0);var _0xf46488=Object[_0x50247e(0x2af)],_0x446991=Object[_0x50247e(0x135)],_0x2f1938=(_0x2233ac,_0x304e46,_0x10cbbc,_0x38a2f7)=>{const _0x1cb3ee=_0x50247e;for(var _0x10d0bc=_0x38a2f7>0x1?void 0x0:_0x38a2f7?_0x446991(_0x304e46,_0x10cbbc):_0x304e46,_0x181dc8=_0x2233ac[_0x1cb3ee(0x1f1)]-0x1,_0x3168b4;_0x181dc8>=0x0;_0x181dc8--)(_0x3168b4=_0x2233ac[_0x181dc8])&&(_0x10d0bc=(_0x38a2f7?_0x3168b4(_0x304e46,_0x10cbbc,_0x10d0bc):_0x3168b4(_0x10d0bc))||_0x10d0bc);return _0x38a2f7&&_0x10d0bc&&_0xf46488(_0x304e46,_0x10cbbc,_0x10d0bc),_0x10d0bc;},_0x5c5b45=(_0x2f9dc4,_0x3dd3a4)=>(_0x4b1e71,_0x3c0c39)=>_0x3dd3a4(_0x4b1e71,_0x3c0c39,_0x2f9dc4);let _0x42d6b9=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x2af49a,_0x5b8e58,_0x21785f){const _0x356b59=_0x50247e;super(),_0x39016d(this,_0x356b59(0x3cb),new Map()),_0x39016d(this,_0x356b59(0x1c5),new _0x2d244b[(_0x356b59(0x325))]()),(this[_0x356b59(0x286)]=_0x2af49a,this[_0x356b59(0x210)]=_0x5b8e58,this[_0x356b59(0x561)]=_0x21785f,this['_init']());}[_0x50247e(0x452)](){const _0x1ab1b0=_0x50247e;super[_0x1ab1b0(0x452)](),this[_0x1ab1b0(0x1c5)][_0x1ab1b0(0x29f)](),this[_0x1ab1b0(0x3cb)][_0x1ab1b0(0x3d0)](_0x430d85=>_0x430d85[_0x1ab1b0(0x452)]());}[_0x50247e(0x35c)](_0x5065b1){const _0x2714fc=_0x50247e;return this[_0x2714fc(0x3cb)]['has'](_0x5065b1)?this[_0x2714fc(0x3cb)][_0x2714fc(0x40e)](_0x5065b1)['cursorInfo$']:this[_0x2714fc(0x1c5)][_0x2714fc(0x48c)](_0x2d244b[_0x2714fc(0x3ae)](_0x3f91c7=>_0x3f91c7[_0x2714fc(0x118)]===_0x5065b1),_0x2d244b[_0x2714fc(0x3b2)](_0x58f0b7=>_0x58f0b7['cursorInfo$']));}[_0x50247e(0x26d)](){const _0x3d9c19=_0x50247e;this[_0x3d9c19(0x286)]['getTypeOfUnitAdded$'](_0x47a99f['UniverInstanceType'][_0x3d9c19(0x508)])[_0x3d9c19(0x48c)](_0x2d244b[_0x3d9c19(0x31b)](this[_0x3d9c19(0x3dc)]))[_0x3d9c19(0x436)](async _0xbf7da4=>{const _0x3d3b72=_0x3d9c19,_0x386f1f=_0xbf7da4[_0x3d3b72(0x15e)](),_0x2616d0=await this[_0x3d3b72(0x15a)](_0x386f1f);this['_entityInit$'][_0x3d3b72(0x411)](_0x2616d0),this[_0x3d3b72(0x3cb)][_0x3d3b72(0xed)](_0x386f1f,_0x2616d0);}),this['_univerInstanceService'][_0x3d9c19(0x33d)](_0x47a99f[_0x3d9c19(0xfc)]['UNIVER_DOC'])['pipe'](_0x2d244b[_0x3d9c19(0x31b)](this['dispose$']))['pipe'](_0x2d244b['filter'](_0x49271b=>!_0x49271b['getUnitId']()[_0x3d9c19(0x358)]('__')))[_0x3d9c19(0x436)](async _0x290e87=>{const _0x415353=_0x3d9c19,_0x2c862c=_0x290e87[_0x415353(0x15e)](),_0x1deac1=await this[_0x415353(0x4bb)](_0x2c862c);this[_0x415353(0x1c5)][_0x415353(0x411)](_0x1deac1),this[_0x415353(0x3cb)][_0x415353(0xed)](_0x2c862c,_0x1deac1);}),_0x2d244b[_0x3d9c19(0xd6)](this[_0x3d9c19(0x286)][_0x3d9c19(0x32f)](_0x47a99f[_0x3d9c19(0xfc)][_0x3d9c19(0x53f)]),this[_0x3d9c19(0x286)][_0x3d9c19(0x32f)](_0x47a99f['UniverInstanceType'][_0x3d9c19(0x508)]))[_0x3d9c19(0x48c)](_0x2d244b[_0x3d9c19(0x31b)](this[_0x3d9c19(0x3dc)]))[_0x3d9c19(0x436)](_0x17fe55=>{const _0x27fcc6=_0x3d9c19,_0x52a6a4=_0x17fe55[_0x27fcc6(0x15e)](),_0x5875b2=this['_entities'][_0x27fcc6(0x40e)](_0x52a6a4);_0x5875b2&&(_0x5875b2[_0x27fcc6(0x452)](),this['_entities'][_0x27fcc6(0x45f)](_0x52a6a4));});}async['_startSheetCollabCursor'](_0x2cb91f){const _0x17c9ea=_0x50247e,_0x219a00=await this[_0x17c9ea(0x561)]['requireSession'](_0x2cb91f),_0x2344c2=this[_0x17c9ea(0x210)][_0x17c9ea(0x589)](_0x1f53e0,_0x2cb91f,_0x219a00);return _0x2344c2[_0x17c9ea(0x39d)](),_0x2344c2;}async[_0x50247e(0x4bb)](_0x4403c2){const _0x3191b4=_0x50247e,_0x3c4e77=await this[_0x3191b4(0x561)]['requireSession'](_0x4403c2),_0x19d547=this[_0x3191b4(0x210)]['createInstance'](_0xb34f90,_0x4403c2,_0x3c4e77);return _0x19d547[_0x3191b4(0x39d)](),_0x19d547;}};_0x42d6b9=_0x2f1938([_0x5c5b45(0x0,_0x47a99f[_0x50247e(0x180)]),_0x5c5b45(0x1,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x5c5b45(0x2,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc['CollaborationSessionService']))],_0x42d6b9);const _0x5be0cd=0x14,_0x21c3fa=0xc8,_0x1949e4=0x4,_0x355e5c=0x5;function _0x30bade(_0x4a92bb,_0x52c1dc){const _0x2326bc=_0x50247e;let {radius:_0x4ec6d3,width:_0x34330f,height:_0x5a1325}=_0x52c1dc;_0x4ec6d3=_0x4ec6d3!=null?_0x4ec6d3:0x0,_0x34330f=_0x34330f!=null?_0x34330f:0x1e,_0x5a1325=_0x5a1325!=null?_0x5a1325:0x1e;let _0x6e4d0a=0x0,_0x544bc2=0x0,_0x57feba=0x0;_0x6e4d0a=_0x544bc2=_0x57feba=Math[_0x2326bc(0x2ff)](_0x4ec6d3,_0x34330f/0x2,_0x5a1325/0x2),_0x4a92bb[_0x2326bc(0x265)](),_0x4a92bb[_0x2326bc(0x1b1)](_0x6e4d0a,0x0),_0x4a92bb[_0x2326bc(0x231)](_0x34330f-_0x544bc2,0x0),_0x4a92bb[_0x2326bc(0x14c)](_0x34330f-_0x544bc2,_0x544bc2,_0x544bc2,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a92bb['lineTo'](_0x34330f,_0x5a1325-_0x57feba),_0x4a92bb[_0x2326bc(0x14c)](_0x34330f-_0x57feba,_0x5a1325-_0x57feba,_0x57feba,0x0,Math['PI']/0x2,!0x1),_0x4a92bb[_0x2326bc(0x231)](0x0,_0x5a1325),_0x4a92bb['lineTo'](0x0,_0x6e4d0a),_0x4a92bb[_0x2326bc(0x14c)](_0x6e4d0a,_0x6e4d0a,_0x6e4d0a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a92bb[_0x2326bc(0x545)](),_0x52c1dc[_0x2326bc(0x3f6)]&&(_0x4a92bb[_0x2326bc(0x185)](),_0x4a92bb[_0x2326bc(0x389)]=_0x52c1dc['fill'],_0x52c1dc[_0x2326bc(0x1be)]==='evenodd'?_0x4a92bb[_0x2326bc(0x3f6)](_0x2326bc(0x537)):_0x4a92bb['fill'](),_0x4a92bb['restore']());}class _0x118116 extends _0x231ab8['Shape']{constructor(_0x43b9fb,_0x4c0360){const _0x18c375=_0x50247e;super(_0x43b9fb,_0x4c0360),_0x39016d(this,'color'),_0x39016d(this,_0x18c375(0x21b)),(this['color']=_0x4c0360==null?void 0x0:_0x4c0360[_0x18c375(0x1b6)],this[_0x18c375(0x21b)]=_0x4c0360==null?void 0x0:_0x4c0360[_0x18c375(0x21b)]);}static[_0x50247e(0x3ea)](_0x3bb536,_0x2a94f9){const _0x4b14fb=_0x50247e,{text:_0x55e12c,color:_0x41b55b}=_0x2a94f9;_0x3bb536[_0x4b14fb(0x185)](),_0x3bb536['font']=_0x4b14fb(0x56d);const _0x334a71=_0x3bb536[_0x4b14fb(0x175)](_0x55e12c)[_0x4b14fb(0x11a)],_0x3c438c=Math[_0x4b14fb(0x2ff)](_0x334a71+0x2*_0x1949e4,_0x21c3fa);_0x30bade(_0x3bb536,{'height':_0x5be0cd,'radius':0x4,'width':_0x3c438c,'fill':_0x41b55b,'evented':!0x1}),_0x3bb536[_0x4b14fb(0x389)]=_0x4b14fb(0x262);const _0x100416=_0x1949e4,_0x3fbb23=_0x5be0cd-_0x355e5c,_0x3e9995=_0x21c3fa-0x2*_0x1949e4;if(_0x334a71>_0x3e9995){let _0x2ad3b8='',_0x3707ba=0x0;for(const _0x43379b of _0x55e12c){const _0x576c89=_0x3bb536['measureText'](_0x43379b)[_0x4b14fb(0x11a)];if(_0x3707ba+_0x576c89<=_0x3e9995-_0x3bb536[_0x4b14fb(0x175)](_0x4b14fb(0x368))[_0x4b14fb(0x11a)])_0x2ad3b8+=_0x43379b,_0x3707ba+=_0x576c89;else{_0x2ad3b8+=_0x4b14fb(0x368);break;}}_0x3bb536[_0x4b14fb(0x2f5)](_0x2ad3b8,_0x100416,_0x3fbb23);}else _0x3bb536[_0x4b14fb(0x2f5)](_0x55e12c,_0x100416,_0x3fbb23);_0x3bb536[_0x4b14fb(0x1da)]();}[_0x50247e(0x19c)](_0x2d17b9){const _0x164b96=_0x50247e;_0x118116[_0x164b96(0x3ea)](_0x2d17b9,this);}}const _0x1e05a1='collab-text-anchor-',_0x4c1d54=_0x50247e(0x258),_0x540647='collab-rect-range-',_0x2c1dd5=0x6,_0x1c7cae=1.5,_0x589553=0x4,_0x231236=1.5,_0x414f37=_0x50247e(0x115);class _0x728e05{constructor(_0x3db0d3,_0xf1c136,_0x11cbb2,_0x251721){const _0x4396a5=_0x50247e;_0x39016d(this,_0x4396a5(0x23c),[]),_0x39016d(this,'_anchor',null),_0x39016d(this,_0x4396a5(0x501),null),_0x39016d(this,_0x4396a5(0x186),null),_0x39016d(this,'_hideTimer',null),_0x39016d(this,'_eventUnsubscribe',null),(this['_cursor']=_0x3db0d3,this[_0x4396a5(0x242)]=_0xf1c136,this[_0x4396a5(0x136)]=_0x11cbb2,this[_0x4396a5(0xd9)]=_0x251721,this[_0x4396a5(0xf8)]());}set[_0x50247e(0x1c9)](_0x142115){const _0x56557f=_0x50247e;_0x142115?(this[_0x56557f(0x186)]&&this['_anchorDot'][_0x56557f(0x36c)](),this['_textBubble']&&this['_textBubble'][_0x56557f(0x50f)]()):(this[_0x56557f(0x186)]&&this[_0x56557f(0x186)][_0x56557f(0x50f)](),this[_0x56557f(0x501)]&&this[_0x56557f(0x501)][_0x56557f(0x36c)]());}[_0x50247e(0x452)](){const _0x12ede4=_0x50247e;for(const _0x377f1c of this[_0x12ede4(0x23c)])_0x377f1c[_0x12ede4(0x452)]();this[_0x12ede4(0x501)]&&this[_0x12ede4(0x501)][_0x12ede4(0x452)](),this[_0x12ede4(0x186)]&&this[_0x12ede4(0x186)][_0x12ede4(0x452)](),this['_anchor']&&this[_0x12ede4(0x44f)][_0x12ede4(0x452)](),this[_0x12ede4(0x273)]&&this['_eventUnsubscribe']();}[_0x50247e(0xf8)](){const _0x1d70d0=_0x50247e;var _0x5dc14b;const {_docSkeleton:_0x578aa4,_document:_0x46af54}=this,{color:_0x1b76a7,name:_0x228025,ranges:_0x42ab5b}=this[_0x1d70d0(0x117)],_0x1061d9=_0x46af54[_0x1d70d0(0x26a)](),{docsLeft:_0x3f532f,docsTop:_0x3e3d57}=_0x1061d9,_0x1eff6c=new _0x163238['NodePositionConvertToCursor'](_0x1061d9,_0x578aa4);for(const {startOffset:_0x44cb50,endOffset:_0x11104b,rangeType:_0x1df188,segmentId:_0x4c846b,segmentPage:_0x14cad7,collapsed:_0x5871fd,isActive:_0x46b7b1}of _0x42ab5b){const _0x9feaf2=_0x578aa4[_0x1d70d0(0x557)](_0x44cb50,!0x0,_0x4c846b,_0x14cad7);let _0x50e74c=_0x578aa4['findNodePositionByCharIndex'](_0x11104b,!0x0,_0x4c846b,_0x14cad7);if(_0x50e74c==null&&(_0x50e74c=_0x578aa4[_0x1d70d0(0x557)](_0x11104b-0x1,!0x1,_0x4c846b,_0x14cad7)),_0x46b7b1){const {contentBoxPointGroup:_0x317cff}=_0x1eff6c[_0x1d70d0(0x576)](_0x50e74c,_0x50e74c);if(_0x317cff[_0x1d70d0(0x1f1)]===0x0)continue;this[_0x1d70d0(0x40f)](_0x1b76a7,_0x317cff,_0x3f532f,_0x3e3d57,_0x228025),this[_0x1d70d0(0x273)]=this['_handleHover']();}if(!_0x5871fd&&_0x9feaf2&&_0x50e74c){if(_0x1df188===_0x47a99f[_0x1d70d0(0x30d)][_0x1d70d0(0x2dd)]){const _0x21a550=new _0x163238[(_0x1d70d0(0xd2))](_0x1061d9,_0x578aa4),{pointGroup:_0x540990}=(_0x5dc14b=_0x21a550[_0x1d70d0(0x576)](_0x9feaf2,_0x50e74c))!=null?_0x5dc14b:{};if(_0x540990==null||_0x540990[_0x1d70d0(0x1f1)]===0x0)continue;this[_0x1d70d0(0x23b)](_0x1b76a7,_0x540990,_0x3f532f,_0x3e3d57);}else{const {borderBoxPointGroup:_0x69205a}=_0x1eff6c[_0x1d70d0(0x576)](_0x9feaf2,_0x50e74c);if(_0x69205a['length']===0x0)continue;this[_0x1d70d0(0x2c5)](_0x1b76a7,_0x69205a,_0x3f532f,_0x3e3d57);}}}}[_0x50247e(0x40f)](_0x282cf9,_0x25c3bf,_0x6e148f,_0xb5ca44,_0x711b5c){const _0x366b6f=_0x50247e,_0x356c1c=this[_0x366b6f(0x107)](_0x25c3bf),{left:_0x1e8b3c,top:_0x393959,height:_0x7748c7}=_0x356c1c,_0x53107e=this[_0x366b6f(0x469)](),_0x73e55a=_0x231236/_0x53107e,_0x4bd240=new _0x231ab8['Rect'](_0x1e05a1+_0x47a99f[_0x366b6f(0x4b7)][_0x366b6f(0x4fb)](_0x2c1dd5),{'left':_0x1e8b3c+_0x6e148f-_0x73e55a,'top':_0x393959+_0xb5ca44,'height':_0x7748c7,'width':_0x1c7cae,'fill':_0x282cf9||_0x231ab8[_0x366b6f(0x4ee)](_0x47a99f[_0x366b6f(0x356)][_0x366b6f(0x30f)],0x0),'strokeWidth':_0x73e55a,'stroke':_0x414f37,'evented':!0x0});this[_0x366b6f(0x44f)]=_0x4bd240,this[_0x366b6f(0x242)][_0x366b6f(0x48e)](_0x4bd240,_0x163238[_0x366b6f(0x490)]);const _0x896876=new _0x231ab8[(_0x366b6f(0x10a))](_0x1e05a1+_0x47a99f['Tools'][_0x366b6f(0x4fb)](_0x2c1dd5),{'left':_0x1e8b3c+_0x6e148f-_0x73e55a,'top':_0x393959+_0xb5ca44-_0x589553/0x2,'height':_0x589553,'width':_0x589553,'fill':_0x282cf9||_0x231ab8[_0x366b6f(0x4ee)](_0x47a99f[_0x366b6f(0x356)][_0x366b6f(0x30f)],0x0),'strokeWidth':0x0,'stroke':_0x282cf9||_0x231ab8[_0x366b6f(0x4ee)](_0x47a99f[_0x366b6f(0x356)][_0x366b6f(0x30f)],0x0),'evented':!0x1});this[_0x366b6f(0x186)]=_0x896876,this['_scene'][_0x366b6f(0x48e)](_0x896876,_0x163238[_0x366b6f(0x490)]);const _0x470851=new _0x118116(_0x1e05a1+_0x47a99f['Tools'][_0x366b6f(0x4fb)](_0x2c1dd5),{'left':_0x1e8b3c+_0x6e148f-_0x73e55a,'top':_0x393959+_0xb5ca44-_0x5be0cd,'text':_0x711b5c,'color':_0x282cf9});this['_textBubble']=_0x470851,this[_0x366b6f(0x242)][_0x366b6f(0x48e)](_0x470851,_0x163238[_0x366b6f(0x490)]),this[_0x366b6f(0x1c9)]=!0x1;}[_0x50247e(0x366)](){const _0x2c48dd=_0x50247e,_0x4bb9a7=this[_0x2c48dd(0x44f)]['onPointerEnter$'][_0x2c48dd(0x45b)](()=>{this['_hover']=!0x0;}),_0x1a6b68=this[_0x2c48dd(0x44f)]['onPointerLeave$'][_0x2c48dd(0x45b)](()=>{const _0x43d965=_0x2c48dd;this[_0x43d965(0x4a3)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2631fc=_0x43d965;this[_0x2631fc(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x1f95b2=_0x2c48dd;_0x4bb9a7[_0x1f95b2(0x455)](),_0x1a6b68[_0x1f95b2(0x455)]();};}['_drawTextRange'](_0x13091b,_0x2df421,_0x465acc,_0x719178){const _0x52d8af=_0x50247e,_0x178474=new _0x47a99f[(_0x52d8af(0x1b2))](_0x13091b)['setAlpha'](0.2)[_0x52d8af(0x3b5)](),_0x34bf2b=new _0x231ab8[(_0x52d8af(0x204))](_0x4c1d54+_0x47a99f['Tools']['generateRandomId'](_0x2c1dd5),{'pointsGroup':_0x2df421,'fill':_0x178474||_0x231ab8[_0x52d8af(0x4ee)](_0x47a99f['COLORS'][_0x52d8af(0x30f)],0.2),'left':_0x465acc,'top':_0x719178,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52d8af(0x23c)]['push'](_0x34bf2b),this[_0x52d8af(0x242)][_0x52d8af(0x48e)](_0x34bf2b,_0x163238[_0x52d8af(0x490)]);}[_0x50247e(0x23b)](_0x45a67b,_0x214a26,_0x51ff20,_0x2f4e8e){const _0x5b5777=_0x50247e,_0x32501a=new _0x47a99f[(_0x5b5777(0x1b2))](_0x45a67b)[_0x5b5777(0x47c)](0.2)['toRgbString'](),_0x49c2df=new _0x231ab8['RegularPolygon'](_0x540647+_0x47a99f['Tools'][_0x5b5777(0x4fb)](_0x2c1dd5),{'pointsGroup':_0x214a26,'fill':_0x32501a||_0x231ab8['getColor'](_0x47a99f[_0x5b5777(0x356)][_0x5b5777(0x30f)],0.2),'left':_0x51ff20,'top':_0x2f4e8e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b5777(0x23c)][_0x5b5777(0x421)](_0x49c2df),this[_0x5b5777(0x242)]['addObject'](_0x49c2df,_0x163238[_0x5b5777(0x490)]);}[_0x50247e(0x107)](_0x1a08dc){const _0x47cc92=_0x1a08dc[0x0],_0x3ca6ff=_0x47cc92[0x0],_0x2c39d7=_0x47cc92[0x2],{x:_0x136d03,y:_0x372bab}=_0x3ca6ff,{x:_0x4a7fe3,y:_0x1a1f8f}=_0x2c39d7;return{'left':_0x136d03,'top':_0x372bab,'width':_0x4a7fe3-_0x136d03,'height':_0x1a1f8f-_0x372bab};}[_0x50247e(0x469)](){const _0x406ba9=_0x50247e,{scaleX:_0x255d10,scaleY:_0x2e2172}=this[_0x406ba9(0x242)]['getAncestorScale']();return Math[_0x406ba9(0x166)](_0x255d10,_0x2e2172);}}var _0x1e655e=Object[_0x50247e(0x2af)],_0x13cb0a=Object[_0x50247e(0x135)],_0x4e855d=(_0x3f17cd,_0x51f4ea,_0x136312,_0x49d21e)=>{const _0x10c2d8=_0x50247e;for(var _0xe2ac2e=_0x49d21e>0x1?void 0x0:_0x49d21e?_0x13cb0a(_0x51f4ea,_0x136312):_0x51f4ea,_0xbf8318=_0x3f17cd[_0x10c2d8(0x1f1)]-0x1,_0x3a30b3;_0xbf8318>=0x0;_0xbf8318--)(_0x3a30b3=_0x3f17cd[_0xbf8318])&&(_0xe2ac2e=(_0x49d21e?_0x3a30b3(_0x51f4ea,_0x136312,_0xe2ac2e):_0x3a30b3(_0xe2ac2e))||_0xe2ac2e);return _0x49d21e&&_0xe2ac2e&&_0x1e655e(_0x51f4ea,_0x136312,_0xe2ac2e),_0xe2ac2e;},_0x5ebcff=(_0xf5d6a2,_0x2bd851)=>(_0x5a4a50,_0x1943d9)=>_0x2bd851(_0x5a4a50,_0x1943d9,_0xf5d6a2);let _0x541cbd=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x5bfa32,_0x25db14,_0x50bef8,_0xbae6f4,_0xf7f874){const _0x234868=_0x50247e;super(),_0x39016d(this,_0x234868(0x3b9),[]),_0x39016d(this,_0x234868(0x47e),[]),(this[_0x234868(0x2a6)]=_0x5bfa32,this[_0x234868(0x1a5)]=_0x25db14,this[_0x234868(0x150)]=_0x50bef8,this[_0x234868(0x14a)]=_0xbae6f4,this[_0x234868(0x564)]=_0xf7f874,this[_0x234868(0x26d)]());}[_0x50247e(0x26d)](){const _0x183826=_0x50247e,_0x2f944e=this[_0x183826(0x2a6)][_0x183826(0x13c)],_0xd7d810=this[_0x183826(0x1a5)];this[_0x183826(0x39a)](_0x2d244b[_0x183826(0x2ad)]([this['_collabCursorController'][_0x183826(0x35c)](_0x2f944e),this[_0x183826(0x564)][_0x183826(0x284)]])[_0x183826(0x48c)](_0x822d8b[_0x183826(0x14d)](([_0x5d163b,_0x1509a7])=>({'skeleton':_0xd7d810[_0x183826(0x4d6)](),'cursors':[..._0x5d163b[_0x183826(0x214)]()][_0x183826(0x377)](_0x3df13d=>({..._0x3df13d,'color':_0x1509a7[_0x3df13d[_0x183826(0x1b6)]]}))})))['subscribe'](_0x3a3aa8=>{const _0x413f67=_0x183826;if(this['_removeCollabCursors'](),_0x3a3aa8){const {skeleton:_0x5b150c,cursors:_0x59755b}=_0x3a3aa8;this[_0x413f67(0x361)](_0x5b150c,_0x59755b);}})),this[_0x183826(0x385)](),this[_0x183826(0x32b)]();}[_0x50247e(0x361)](_0x5eae05,_0x470bf4){const _0x562bb4=_0x50247e,{scene:_0xef5d2e,mainComponent:_0x4ed1cd}=this[_0x562bb4(0x2a6)],_0x57c1b3=_0x470bf4[_0x562bb4(0x14d)](_0x20457d=>new _0x728e05(_0x20457d,_0xef5d2e,_0x5eae05,_0x4ed1cd));this[_0x562bb4(0x3b9)]=_0x57c1b3,this[_0x562bb4(0x47e)]=_0x470bf4;}['_refreshCollabCursors'](){const _0x278486=_0x50247e;this[_0x278486(0x51f)]();const {scene:_0x43efe0,mainComponent:_0xf3fdd6}=this['_context'],_0x264541=this[_0x278486(0x1a5)][_0x278486(0x4d6)](),_0x13e118=this[_0x278486(0x47e)][_0x278486(0x14d)](_0x469485=>new _0x728e05(_0x469485,_0x43efe0,_0x264541,_0xf3fdd6));this['_cursorShapes']=_0x13e118;}['_removeCollabCursors'](){const _0x5d8a2a=_0x50247e;this['_cursorShapes'][_0x5d8a2a(0x3d0)](_0xe96617=>_0xe96617['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x1b8d03=_0x50247e,_0x486b68=[_0x163238[_0x1b8d03(0x193)]['id']];this[_0x1b8d03(0x39a)](this[_0x1b8d03(0x14a)][_0x1b8d03(0x267)](_0x4ad785=>{const _0x4840d2=_0x1b8d03;_0x486b68[_0x4840d2(0x1bd)](_0x4ad785['id'])&&_0x4ad785['params'][_0x4840d2(0x13c)]===this['_context'][_0x4840d2(0x13c)]&&this[_0x4840d2(0x44e)]();}));}['_initResize'](){const _0xc9aa94=_0x50247e;this[_0xc9aa94(0x39a)](_0x47a99f['fromEventSubject'](this[_0xc9aa94(0x2a6)][_0xc9aa94(0x3c1)][_0xc9aa94(0x309)])[_0xc9aa94(0x48c)](_0x822d8b[_0xc9aa94(0x3ae)](_0x5b6d65=>_0x5b6d65[_0xc9aa94(0x112)]===_0x231ab8[_0xc9aa94(0x1bf)][_0xc9aa94(0x1e1)]),_0x822d8b[_0xc9aa94(0x468)](0x10))[_0xc9aa94(0x436)](()=>{const _0x2aac6a=_0xc9aa94;this[_0x2aac6a(0x44e)]();}));}};_0x541cbd=_0x4e855d([_0x5ebcff(0x1,_0x47a99f[_0x50247e(0x30e)](_0x1bde83[_0x50247e(0x2cb)])),_0x5ebcff(0x2,_0x47a99f[_0x50247e(0x30e)](_0x42d6b9)),_0x5ebcff(0x3,_0x47a99f[_0x50247e(0x417)]),_0x5ebcff(0x4,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x2f0)]))],_0x541cbd);const _0x4068cc=0x1,_0x456c3a=1.5;class _0xfd98e2 extends _0x231ab8[_0x50247e(0x168)]{constructor(_0x1c1fe2,_0x56aa77){const _0xe25fab=_0x50247e;super(_0x1c1fe2,_0x56aa77),_0x39016d(this,_0xe25fab(0x251)),_0x39016d(this,_0xe25fab(0x55d),!0x1),_0x39016d(this,'_range'),_0x39016d(this,'_name',''),_0x39016d(this,_0xe25fab(0x29b),_0xe25fab(0x3b3)),_0x39016d(this,_0xe25fab(0x484)),(_0x56aa77&&this['setShapeProps'](_0x56aa77),this[_0xe25fab(0x2e0)][_0xe25fab(0x45b)](()=>this[_0xe25fab(0x362)]({'hovered':!0x0})),this[_0xe25fab(0xfa)]['subscribeEvent'](()=>this[_0xe25fab(0x362)]({'hovered':!0x1})));}['setShapeProps'](_0x54adec){const _0x5e82f6=_0x50247e;var _0x882c87,_0x5c2eac,_0x5daede,_0x322897,_0x44d019,_0x478379;this[_0x5e82f6(0x251)]=(_0x882c87=_0x54adec[_0x5e82f6(0x1b6)])!=null?_0x882c87:this[_0x5e82f6(0x251)],this[_0x5e82f6(0x55d)]=(_0x5c2eac=_0x54adec['hovered'])!=null?_0x5c2eac:this[_0x5e82f6(0x55d)],this['_range']=(_0x5daede=_0x54adec[_0x5e82f6(0x506)])!=null?_0x5daede:this[_0x5e82f6(0x28f)],this[_0x5e82f6(0x33e)]=(_0x322897=_0x54adec[_0x5e82f6(0x2ba)])!=null?_0x322897:this[_0x5e82f6(0x33e)],this[_0x5e82f6(0x29b)]=(_0x44d019=_0x54adec[_0x5e82f6(0x539)])!=null?_0x44d019:this[_0x5e82f6(0x29b)],this[_0x5e82f6(0x484)]=(_0x478379=_0x54adec[_0x5e82f6(0xf0)])!=null?_0x478379:this[_0x5e82f6(0x484)],this[_0x5e82f6(0x3e0)]({'width':_0x54adec[_0x5e82f6(0x11a)],'height':_0x54adec[_0x5e82f6(0x58f)]});}[_0x50247e(0x307)](_0x70c43){const _0x52ae25=_0x50247e,{row:_0x59c67e,column:_0x3faeb0}=_0x70c43;if(_0x59c67e>=this[_0x52ae25(0x28f)][_0x52ae25(0x4d7)]&&_0x59c67e<=this[_0x52ae25(0x28f)][_0x52ae25(0x28e)]&&_0x3faeb0>=this[_0x52ae25(0x28f)][_0x52ae25(0x1ec)]&&_0x3faeb0<=this[_0x52ae25(0x28f)][_0x52ae25(0x1f8)]){this[_0x52ae25(0x362)]({'hovered':!0x0});return;}this[_0x52ae25(0x362)]({'hovered':!0x1});}[_0x50247e(0x209)](_0x20ced7){return!0x1;}[_0x50247e(0x19c)](_0x5b9c64){const _0x1432a4=_0x50247e;_0x231ab8[_0x1432a4(0x10a)]['drawWith'](_0x5b9c64,{'width':this[_0x1432a4(0x11a)],'height':this[_0x1432a4(0x58f)],'strokeWidth':_0x456c3a,'stroke':this[_0x1432a4(0x251)],'evented':!0x1,'fill':this[_0x1432a4(0x484)]}),this[_0x1432a4(0x55d)]&&(_0x5b9c64['save'](),_0x5b9c64[_0x1432a4(0x20f)](0x1,0x0,0x0,0x1,this[_0x1432a4(0x11a)],this[_0x1432a4(0x29b)]==='bottom'?0x0:-_0x5be0cd),_0x118116['drawWith'](_0x5b9c64,{'text':this['_name'],'color':this[_0x1432a4(0x251)]}),_0x5b9c64[_0x1432a4(0x1da)]());}}var _0x373fbb=Object[_0x50247e(0x2af)],_0xaa2418=Object[_0x50247e(0x135)],_0x3027c0=(_0x2b9463,_0x351017,_0x3d206a,_0x37170d)=>{const _0x59a557=_0x50247e;for(var _0x536a19=_0x37170d>0x1?void 0x0:_0x37170d?_0xaa2418(_0x351017,_0x3d206a):_0x351017,_0xc7fe25=_0x2b9463[_0x59a557(0x1f1)]-0x1,_0x23a5cb;_0xc7fe25>=0x0;_0xc7fe25--)(_0x23a5cb=_0x2b9463[_0xc7fe25])&&(_0x536a19=(_0x37170d?_0x23a5cb(_0x351017,_0x3d206a,_0x536a19):_0x23a5cb(_0x536a19))||_0x536a19);return _0x37170d&&_0x536a19&&_0x373fbb(_0x351017,_0x3d206a,_0x536a19),_0x536a19;},_0x50d450=(_0x40cd7c,_0x291df1)=>(_0x2d9f5d,_0x2fa907)=>_0x291df1(_0x2d9f5d,_0x2fa907,_0x40cd7c);const _0x13ab89=0x1389;let _0x50dcea=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x13fd63,_0x18e6a8,_0x388131,_0x3c43f4){const _0x35fc0=_0x50247e;super(),_0x39016d(this,'_cursors',new Set()),_0x39016d(this,_0x35fc0(0x134),null),(this[_0x35fc0(0x2a6)]=_0x13fd63,this[_0x35fc0(0x445)]=_0x18e6a8,this[_0x35fc0(0x150)]=_0x388131,this['_themeService']=_0x3c43f4,this[_0x35fc0(0x26d)]());}[_0x50247e(0x26d)](){const _0x588cc9=_0x50247e;this[_0x588cc9(0x445)][_0x588cc9(0x19d)]['pipe'](_0x822d8b[_0x588cc9(0x31b)](this[_0x588cc9(0x3dc)]),_0x822d8b['switchMap'](_0x443194=>{const _0x5f35dc=_0x588cc9;if(_0x443194){const _0x1f6abf=_0x443194[_0x5f35dc(0xe6)];return _0x2d244b['combineLatest'](this[_0x5f35dc(0x150)]['getCollabCursors$'](this[_0x5f35dc(0x2a6)]['unitId']),this[_0x5f35dc(0x564)][_0x5f35dc(0x284)])['pipe'](_0x822d8b['map'](([_0x5a062b,_0x18b288])=>{const _0x36e273=_0x5f35dc,_0x4344dd=new Map();return _0x5a062b[_0x36e273(0x3d0)]((_0x345d95,_0x4fdbfc)=>{const _0x4fb29c=_0x36e273;if(_0x345d95[_0x4fb29c(0x281)]===_0x1f6abf){const _0x27ebbb={..._0x345d95};_0x27ebbb[_0x4fb29c(0x1b6)]=_0x18b288[_0x345d95[_0x4fb29c(0x1b6)]],_0x4344dd[_0x4fb29c(0xed)](_0x4fdbfc,_0x27ebbb);}}),{'skeleton':_0x443194,'cursors':_0x4344dd};}));}return _0x2d244b['of']({'skeleton':null,'cursors':new Map()});}))[_0x588cc9(0x436)](({skeleton:_0x3a96c4,cursors:_0x12a553})=>{const _0x3ccfef=_0x588cc9;this[_0x3ccfef(0x51f)](),_0x3a96c4&&this[_0x3ccfef(0x361)](_0x3a96c4,_0x12a553);}),this[_0x588cc9(0x445)][_0x588cc9(0x19d)][_0x588cc9(0x436)](_0x34578c=>{const _0x144b5a=_0x588cc9;if(_0x34578c==null)return;const {skeleton:_0x52dd1d}=_0x34578c,{scene:_0x3c05ae}=this[_0x144b5a(0x2a6)];_0x3c05ae[_0x144b5a(0x566)]['subscribeEvent'](_0x47a99f[_0x144b5a(0x352)](_0x5419a0=>{const _0x1c9c59=_0x144b5a;var _0x392ae9,_0x105eed;const {offsetX:_0x2b8516,offsetY:_0xb68a0d}=_0x5419a0,{x:_0x33bbd3,y:_0x322b02}=_0x3c05ae[_0x1c9c59(0x298)](_0x231ab8[_0x1c9c59(0x503)]['FromArray']([_0x2b8516,_0xb68a0d])),{scaleX:_0x3855be,scaleY:_0x3ba8a7}=_0x3c05ae[_0x1c9c59(0x3ff)](),_0x26f9f6=_0x3c05ae[_0x1c9c59(0x1fa)](_0x3187a7[_0x1c9c59(0x364)]['VIEW_MAIN']),_0x1fbc45=_0x3c05ae[_0x1c9c59(0x2e9)](_0x231ab8[_0x1c9c59(0x503)][_0x1c9c59(0x13d)]([_0x33bbd3,_0x322b02]),_0x26f9f6),_0x4efa4f=_0x52dd1d['getCellPositionByOffset'](_0x2b8516,_0xb68a0d,_0x3855be,_0x3ba8a7,_0x1fbc45);((_0x392ae9=this['_lastPointer'])==null?void 0x0:_0x392ae9['column'])===_0x4efa4f[_0x1c9c59(0x2be)]&&((_0x105eed=this[_0x1c9c59(0x134)])==null?void 0x0:_0x105eed[_0x1c9c59(0xcf)])===_0x4efa4f['row']||this[_0x1c9c59(0x47e)][_0x1c9c59(0x3d0)](_0x3d5173=>{const _0x37b607=_0x1c9c59;_0x3d5173[_0x37b607(0x307)](_0x4efa4f);});},0x64));});}['_updateCollabCursors'](_0x3996b3,_0x53b729){const _0x4bdcf1=_0x50247e;var _0x3c93c3;const _0x50763b=(_0x3c93c3=this[_0x4bdcf1(0x445)]['getCurrent']())==null?void 0x0:_0x3c93c3[_0x4bdcf1(0x294)];if(!_0x50763b)return;const _0x90845a=this[_0x4bdcf1(0x519)]();if(!_0x90845a)return;this[_0x4bdcf1(0x47e)][_0x4bdcf1(0x3d0)](_0x1eb2f3=>{_0x1eb2f3['makeDirty']();});const {scene:_0xab86bc}=_0x90845a,_0x375795=_0x233189(Array[_0x4bdcf1(0xcd)](_0x53b729[_0x4bdcf1(0x214)]()))[_0x4bdcf1(0x14d)](_0x170b03=>{const _0x5e2439=_0x4bdcf1,{color:_0x46115f,range:_0x32932a,name:_0x3edca5,selection:_0x44df9f,sheetID:_0x35d2d1}=_0x170b03,{startColumn:_0x3614ed,startRow:_0x18e136,endColumn:_0x5a787f,endRow:_0x10589a}=_0x32932a,_0x127295=_0x3187a7[_0x5e2439(0x4e9)](_0x18e136,_0x3614ed,_0xab86bc,_0x50763b),_0x32a93a=_0x3187a7['getCoordByCell'](_0x10589a,_0x5a787f,_0xab86bc,_0x50763b),{columnHeaderHeightAndMarginTop:_0x5eca09}=_0x50763b,{startX:_0x17596f,startY:_0x806171}=_0x127295,{endX:_0x533f10,endY:_0x569740}=_0x32a93a,_0x189cbd=_0x533f10-_0x17596f,_0x64ba20=_0x569740-_0x806171,_0x3bab9f={'labelPosition':_0x806171-_0x5eca09>=_0x5be0cd?_0x5e2439(0x3b3):_0x5e2439(0x425),'sheetID':_0x35d2d1,'range':_0x32932a,'color':_0x46115f,'name':_0x3edca5,'selection':_0x44df9f,'left':_0x17596f,'top':_0x806171,'width':_0x189cbd,'height':_0x64ba20,'evented':!0x1,'zIndex':_0x13ab89};return new _0xfd98e2(_0x3edca5,_0x3bab9f);});_0xab86bc['addObjects'](_0x375795,_0x4068cc),this[_0x4bdcf1(0x47e)]=new Set(_0x375795);}[_0x50247e(0x51f)](){const _0x4bbe6b=_0x50247e;var _0x5d11f5;(_0x5d11f5=this['_cursors'])==null||_0x5d11f5[_0x4bbe6b(0x3d0)](_0x42c506=>_0x42c506['dispose']());}[_0x50247e(0x519)](){const _0x579924=_0x50247e;return _0x3187a7[_0x579924(0x328)](this[_0x579924(0x2a6)][_0x579924(0x3d9)],this[_0x579924(0x2a6)]);}};_0x50dcea=_0x3027c0([_0x50d450(0x1,_0x47a99f[_0x50247e(0x30e)](_0x3187a7[_0x50247e(0x551)])),_0x50d450(0x2,_0x47a99f[_0x50247e(0x30e)](_0x42d6b9)),_0x50d450(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x2f0)]))],_0x50dcea);function _0x233189(_0x55989c){const _0x19adf6=_0x50247e,_0x2cb960=new Map();return _0x55989c[_0x19adf6(0x3d0)](_0x39730f=>{const _0x13c0f4=_0x19adf6;if(_0x2cb960[_0x13c0f4(0x138)](_0x39730f['selection'])){const _0x4ed681=_0x2cb960['get'](_0x39730f[_0x13c0f4(0x333)]);_0x4ed681[_0x13c0f4(0x2ba)]+=',\x20'+_0x39730f[_0x13c0f4(0x2ba)];}else _0x2cb960[_0x13c0f4(0xed)](_0x39730f[_0x13c0f4(0x333)],_0x39730f);}),Array[_0x19adf6(0xcd)](_0x2cb960[_0x19adf6(0x214)]());}var _0x336a9e=function(){const _0x30337e=_0x50247e;return _0x336a9e=Object[_0x30337e(0x375)]||function(_0x13f17a){const _0x2c9655=_0x30337e;for(var _0x366afa,_0x50566b=0x1,_0x41e29d=arguments[_0x2c9655(0x1f1)];_0x50566b<_0x41e29d;_0x50566b++){_0x366afa=arguments[_0x50566b];for(var _0x2c5c85 in _0x366afa)Object[_0x2c9655(0x4cd)]['hasOwnProperty'][_0x2c9655(0x148)](_0x366afa,_0x2c5c85)&&(_0x13f17a[_0x2c5c85]=_0x366afa[_0x2c5c85]);}return _0x13f17a;},_0x336a9e['apply'](this,arguments);},_0x2c765f=function(_0x436ca3,_0x496186){const _0x32f617=_0x50247e;var _0x3d8b1a={};for(var _0x5a3293 in _0x436ca3)Object[_0x32f617(0x4cd)]['hasOwnProperty']['call'](_0x436ca3,_0x5a3293)&&_0x496186['indexOf'](_0x5a3293)<0x0&&(_0x3d8b1a[_0x5a3293]=_0x436ca3[_0x5a3293]);if(_0x436ca3!=null&&typeof Object['getOwnPropertySymbols']==_0x32f617(0x157)){for(var _0x2dce05=0x0,_0x5a3293=Object[_0x32f617(0x17f)](_0x436ca3);_0x2dce05<_0x5a3293[_0x32f617(0x1f1)];_0x2dce05++)_0x496186[_0x32f617(0x1a6)](_0x5a3293[_0x2dce05])<0x0&&Object[_0x32f617(0x4cd)][_0x32f617(0x230)][_0x32f617(0x148)](_0x436ca3,_0x5a3293[_0x2dce05])&&(_0x3d8b1a[_0x5a3293[_0x2dce05]]=_0x436ca3[_0x5a3293[_0x2dce05]]);}return _0x3d8b1a;},_0x5e892a=_0x1cfdc2[_0x50247e(0x531)](function(_0x410100,_0x122fd0){const _0x204d26=_0x50247e;var _0x4fbad6=_0x410100[_0x204d26(0x43f)],_0x47dd0b=_0x410100['id'],_0x28454b=_0x410100[_0x204d26(0x3c5)],_0x3b9c5b=_0x410100[_0x204d26(0x442)],_0x3ace9c=_0x2c765f(_0x410100,[_0x204d26(0x43f),'id',_0x204d26(0x3c5),'extend']),_0xd071de=_0x204d26(0x3fd)['concat'](_0x47dd0b,'\x20')[_0x204d26(0x3a2)](_0x28454b||'')[_0x204d26(0x302)](),_0x2c046e=_0x1cfdc2[_0x204d26(0x571)]('_'[_0x204d26(0x3a2)](_0xa0a84b()));return _0x3b2f50(_0x4fbad6,''[_0x204d26(0x3a2)](_0x47dd0b),{'defIds':_0x4fbad6[_0x204d26(0x2de)],'idSuffix':_0x2c046e[_0x204d26(0x1e8)]},_0x336a9e({'ref':_0x122fd0,'className':_0xd071de},_0x3ace9c),_0x3b9c5b);});function _0x3b2f50(_0x2b54a6,_0x17430c,_0x5c4896,_0x1dfb8e,_0x4eef15){const _0x2f76ef=_0x50247e;return _0x1cfdc2[_0x2f76ef(0x12c)](_0x2b54a6['tag'],_0x336a9e(_0x336a9e({'key':_0x17430c},_0x4c7437(_0x2b54a6,_0x5c4896,_0x4eef15)),_0x1dfb8e),(_0x132bee(_0x2b54a6,_0x5c4896)[_0x2f76ef(0x3fa)]||[])[_0x2f76ef(0x14d)](function(_0x304cb1,_0x431417){const _0x5d191c=_0x2f76ef;return _0x3b2f50(_0x304cb1,''[_0x5d191c(0x3a2)](_0x17430c,'-')[_0x5d191c(0x3a2)](_0x2b54a6['tag'],'-')[_0x5d191c(0x3a2)](_0x431417),_0x5c4896,void 0x0,_0x4eef15);}));}function _0x4c7437(_0x5429a4,_0x4f3abd,_0x7979fe){const _0x1abba2=_0x50247e;var _0x3dee92=_0x336a9e({},_0x5429a4['attrs']);_0x7979fe!=null&&_0x7979fe[_0x1abba2(0x199)]&&_0x3dee92[_0x1abba2(0x3f6)]===_0x1abba2(0x199)&&(_0x3dee92[_0x1abba2(0x3f6)]=_0x7979fe[_0x1abba2(0x199)]);var _0x332400=_0x4f3abd['defIds'];return!_0x332400||_0x332400[_0x1abba2(0x1f1)]===0x0||(_0x5429a4[_0x1abba2(0x312)]===_0x1abba2(0x3b8)&&_0x3dee92[_0x1abba2(0x253)]&&(_0x3dee92['xlink:href']=_0x3dee92[_0x1abba2(0x253)]+_0x4f3abd[_0x1abba2(0x1ff)]),Object[_0x1abba2(0x2b8)](_0x3dee92)[_0x1abba2(0x3d0)](function(_0x4086d9){const _0x143c4e=_0x1abba2;var _0xe4040f=_0x4086d9[0x0],_0xf724b7=_0x4086d9[0x1];typeof _0xf724b7==_0x143c4e(0x1cd)&&(_0x3dee92[_0xe4040f]=_0xf724b7[_0x143c4e(0x171)](/url\(#(.*)\)/,_0x143c4e(0x407)[_0x143c4e(0x3a2)](_0x4f3abd['idSuffix'],')')));})),_0x3dee92;}function _0x132bee(_0x435e1f,_0x28f4f3){const _0x38b92c=_0x50247e;var _0x5569c0,_0x9e490d=_0x28f4f3[_0x38b92c(0x2de)];return!_0x9e490d||_0x9e490d['length']===0x0?_0x435e1f:_0x435e1f[_0x38b92c(0x312)]===_0x38b92c(0x3cc)&&(!((_0x5569c0=_0x435e1f[_0x38b92c(0x3fa)])===null||_0x5569c0===void 0x0)&&_0x5569c0['length'])?_0x336a9e(_0x336a9e({},_0x435e1f),{'children':_0x435e1f['children']['map'](function(_0x4a56b9){const _0x3b6c4a=_0x38b92c;return typeof _0x4a56b9[_0x3b6c4a(0x2b6)]['id']==_0x3b6c4a(0x1cd)&&_0x9e490d&&_0x9e490d[_0x3b6c4a(0x1a6)](_0x4a56b9[_0x3b6c4a(0x2b6)]['id'])>-0x1?_0x336a9e(_0x336a9e({},_0x4a56b9),{'attrs':_0x336a9e(_0x336a9e({},_0x4a56b9[_0x3b6c4a(0x2b6)]),{'id':_0x4a56b9[_0x3b6c4a(0x2b6)]['id']+_0x28f4f3[_0x3b6c4a(0x1ff)]})}):_0x4a56b9;})}):_0x435e1f;}function _0xa0a84b(){const _0x3d17a4=_0x50247e;return Math[_0x3d17a4(0x536)]()['toString'](0x24)[_0x3d17a4(0x4f1)](0x2,0x8);}_0x5e892a[_0x50247e(0x48a)]=_0x50247e(0x2b5);var _0x577723={'tag':_0x50247e(0x197),'attrs':{'fill':_0x50247e(0x1c1),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50247e(0x3df)},'children':[{'tag':_0x50247e(0x108),'attrs':{'stroke':_0x50247e(0x483),'d':_0x50247e(0x1af),'strokeLinecap':_0x50247e(0x346),'strokeLinejoin':_0x50247e(0x346),'strokeWidth':1.2}}]},{'tag':_0x50247e(0x3cc),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x50247e(0x4a7)},'children':[{'tag':_0x50247e(0x108),'attrs':{'fill':_0x50247e(0x1ce),'d':_0x50247e(0xdb)}}]}]}],'defIds':[_0x50247e(0x4a7)]},_0x79862=_0x1cfdc2[_0x50247e(0x531)](function(_0x4c22b2,_0x518ca9){const _0x3448c8=_0x50247e;return _0x1cfdc2['createElement'](_0x5e892a,Object[_0x3448c8(0x375)]({},_0x4c22b2,{'id':'off-line-single','ref':_0x518ca9,'icon':_0x577723}));});_0x79862[_0x50247e(0x48a)]=_0x50247e(0x52e);var _0x56e2ad={'tag':'svg','attrs':{'fill':_0x50247e(0x1c1),'viewBox':_0x50247e(0x17d),'width':'1em','height':_0x50247e(0x542)},'children':[{'tag':'g','attrs':{'clipPath':_0x50247e(0x53a)},'children':[{'tag':'path','attrs':{'stroke':_0x50247e(0x483),'d':_0x50247e(0x1a8),'strokeLinecap':_0x50247e(0x346),'strokeLinejoin':_0x50247e(0x346),'strokeWidth':1.2}}]},{'tag':_0x50247e(0x3cc),'attrs':{},'children':[{'tag':_0x50247e(0xc6),'attrs':{'id':_0x50247e(0x1a3)},'children':[{'tag':_0x50247e(0x108),'attrs':{'fill':'#fff','d':_0x50247e(0xdb),'transform':_0x50247e(0x351)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x54ec7f=_0x1cfdc2['forwardRef'](function(_0x2b139c,_0x21b5ee){const _0x66e4d1=_0x50247e;return _0x1cfdc2[_0x66e4d1(0x12c)](_0x5e892a,Object['assign']({},_0x2b139c,{'id':_0x66e4d1(0x226),'ref':_0x21b5ee,'icon':_0x56e2ad}));});_0x54ec7f[_0x50247e(0x48a)]='OnLineSingle';function _0x4b8124(_0x4578bb){const _0xb2551b=_0x50247e;var _0x232d31,_0x4a706a,_0x22e545='';if(typeof _0x4578bb=='string'||typeof _0x4578bb==_0xb2551b(0x4c4))_0x22e545+=_0x4578bb;else{if(typeof _0x4578bb==_0xb2551b(0x141)){if(Array['isArray'](_0x4578bb)){var _0x5535ae=_0x4578bb[_0xb2551b(0x1f1)];for(_0x232d31=0x0;_0x232d31<_0x5535ae;_0x232d31++)_0x4578bb[_0x232d31]&&(_0x4a706a=_0x4b8124(_0x4578bb[_0x232d31]))&&(_0x22e545&&(_0x22e545+='\x20'),_0x22e545+=_0x4a706a);}else{for(_0x4a706a in _0x4578bb)_0x4578bb[_0x4a706a]&&(_0x22e545&&(_0x22e545+='\x20'),_0x22e545+=_0x4a706a);}}}return _0x22e545;}function _0x443e40(){const _0x4952ed=_0x50247e;for(var _0x1cf24a,_0x1e88f0,_0x177824=0x0,_0x4ed886='',_0x566d14=arguments[_0x4952ed(0x1f1)];_0x177824<_0x566d14;_0x177824++)(_0x1cf24a=arguments[_0x177824])&&(_0x1e88f0=_0x4b8124(_0x1cf24a))&&(_0x4ed886&&(_0x4ed886+='\x20'),_0x4ed886+=_0x1e88f0);return _0x4ed886;}const _0x8f376d={'onlineStatusIcon':_0x50247e(0x337),'onlineStatusTitle':_0x50247e(0x102),'onlineStatus':_0x50247e(0x1f0),'online':_0x50247e(0x528),'offline':_0x50247e(0x485)};function _0x173138(_0x11fbfc){const _0x362c05=_0x50247e;switch(_0x11fbfc){case _0x2344e3[_0x362c05(0x593)]:return _0x362c05(0x3aa);case _0x2344e3['CONFLICT']:return _0x362c05(0x4f0);case _0x2344e3[_0x362c05(0x2da)]:return'collabStatus.fetchMiss';case _0x2344e3[_0x362c05(0x4c3)]:return _0x362c05(0x37e);case _0x2344e3[_0x362c05(0x34d)]:case _0x2344e3['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2344e3['SYNCED']:case _0x2344e3[_0x362c05(0x27c)]:return _0x362c05(0x335);}}function _0x4eef91(_0x35621a){const _0x2cae42=_0x50247e,{status$:_0x768b40}=_0x35621a,_0x2d7320=_0x2eba72[_0x2cae42(0x2bc)](_0x768b40,_0x2344e3['NOT_COLLAB']),_0x546f76=_0x47a99f[_0x2cae42(0x587)](_0x47a99f[_0x2cae42(0xe9)]),_0x209ddb=_0x47a99f['useDependency'](_0x10e5bc[_0x2cae42(0x4b8)]),_0x58d067=_0x2d7320!==_0x2344e3[_0x2cae42(0x593)],_0x56186a=_0x546f76['t'](_0x173138(_0x2d7320)),_0xfadd9d=_0x443e40(_0x8f376d[_0x2cae42(0x520)],{[_0x8f376d['online']]:_0x58d067,[_0x8f376d[_0x2cae42(0x476)]]:!_0x58d067}),_0x5e9e9b=_0x58d067?_0x1cfdc2[_0x2cae42(0x12c)](_0x54ec7f,null):_0x1cfdc2[_0x2cae42(0x12c)](_0x79862,null),_0x1bf26d=_0x1cfdc2[_0x2cae42(0x439)](()=>{const _0x205749=_0x2cae42;_0x58d067||_0x209ddb[_0x205749(0x575)]();},[_0x58d067,_0x209ddb]);function _0x1df4e1(){const _0x49cf0a=_0x2cae42;return _0x1cfdc2[_0x49cf0a(0x12c)]('div',{'className':_0xfadd9d,'onClick':_0x1bf26d},_0x1cfdc2['createElement']('div',{'className':_0x8f376d[_0x49cf0a(0xcc)]},_0x5e9e9b),_0x1cfdc2[_0x49cf0a(0x12c)](_0x49cf0a(0x51c),{'className':_0x8f376d['onlineStatusTitle']},_0x56186a));}return _0x58d067?_0x1df4e1():_0x1cfdc2['createElement'](_0x5629a0['Tooltip'],{'title':_0x546f76['t'](_0x2cae42(0x544))},_0x1df4e1());}var _0x2872df=Object[_0x50247e(0x2af)],_0x31199c=Object[_0x50247e(0x135)],_0x145383=(_0x2a2e57,_0x2a2a11,_0x4552c0,_0x1829ff)=>{const _0x4f0992=_0x50247e;for(var _0x2a36fb=_0x1829ff>0x1?void 0x0:_0x1829ff?_0x31199c(_0x2a2a11,_0x4552c0):_0x2a2a11,_0x2cd44a=_0x2a2e57[_0x4f0992(0x1f1)]-0x1,_0x478bca;_0x2cd44a>=0x0;_0x2cd44a--)(_0x478bca=_0x2a2e57[_0x2cd44a])&&(_0x2a36fb=(_0x1829ff?_0x478bca(_0x2a2a11,_0x4552c0,_0x2a36fb):_0x478bca(_0x2a36fb))||_0x2a36fb);return _0x1829ff&&_0x2a36fb&&_0x2872df(_0x2a2a11,_0x4552c0,_0x2a36fb),_0x2a36fb;},_0x584bd3=(_0x3a87da,_0x7f6a2d)=>(_0x4fac71,_0x1073f6)=>_0x7f6a2d(_0x4fac71,_0x1073f6,_0x3a87da);_0x10e5bc[_0x50247e(0x1e4)]=class extends _0x47a99f[_0x50247e(0x227)]{constructor(_0x472bfa,_0xbcb687,_0x373f1a,_0x2b7426){const _0x2bab11=_0x50247e;super(),_0x39016d(this,_0x2bab11(0x1b0),new _0x2d244b[(_0x2bab11(0x402))](_0x2344e3[_0x2bab11(0x4c3)])),(this[_0x2bab11(0x286)]=_0x472bfa,this[_0x2bab11(0x15f)]=_0xbcb687,this[_0x2bab11(0x210)]=_0x373f1a,this[_0x2bab11(0x195)]=_0x2b7426,this['_initStatusComponent'](),this[_0x2bab11(0x4a5)]());}['_initStatusListener'](){const _0x57dcde=_0x50247e;this[_0x57dcde(0x39a)](this['_univerInstanceService'][_0x57dcde(0x3e1)][_0x57dcde(0x48c)](_0x2d244b[_0x57dcde(0x3b2)](()=>{const _0x5c996d=_0x57dcde,_0x511e1f=this[_0x5c996d(0x286)][_0x5c996d(0x240)]();return _0x511e1f?this[_0x5c996d(0x195)]['getCollabEntity$'](_0x511e1f['getUnitId']()):_0x2d244b['of'](null);}),_0x2d244b[_0x57dcde(0x3b2)](_0x449ffe=>_0x449ffe?_0x449ffe[_0x57dcde(0x3c2)]:_0x2d244b['of'](_0x2344e3[_0x57dcde(0x4c3)])))[_0x57dcde(0x436)](_0x14d75e=>{const _0x2173d4=_0x57dcde;this[_0x2173d4(0x1b0)][_0x2173d4(0x411)](_0x14d75e);}));}[_0x50247e(0x4a1)](){const _0x1e9dec=_0x50247e;this[_0x1e9dec(0x39a)](this[_0x1e9dec(0x15f)][_0x1e9dec(0x437)](_0x2eba72[_0x1e9dec(0x4ac)][_0x1e9dec(0x479)],()=>_0x47a99f['connectInjector'](_0x1adfc3({'status$':this[_0x1e9dec(0x1b0)][_0x1e9dec(0x574)]()}),this[_0x1e9dec(0x210)])));}},_0x10e5bc[_0x50247e(0x1e4)]=_0x145383([_0x584bd3(0x0,_0x47a99f[_0x50247e(0x180)]),_0x584bd3(0x1,_0x2eba72[_0x50247e(0x55e)]),_0x584bd3(0x2,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x1a0)])),_0x584bd3(0x3,_0x47a99f['Inject'](_0x10e5bc[_0x50247e(0x13e)]))],_0x10e5bc[_0x50247e(0x1e4)]);function _0x1adfc3(_0xa8b69d){const {status$:_0x4bc661}=_0xa8b69d;return function(){return _0x1cfdc2['createElement'](_0x4eef91,{'status$':_0x4bc661});};}const _0x4e7587=_0x47a99f[_0x50247e(0x40d)]('uni.network.url-service');var _0x4803e6=Object[_0x50247e(0x2af)],_0x46174d=Object[_0x50247e(0x135)],_0x7f660a=(_0x154c03,_0x427d46,_0x13cb94,_0x192f34)=>{const _0x33f763=_0x50247e;for(var _0x55ebc5=_0x192f34>0x1?void 0x0:_0x192f34?_0x46174d(_0x427d46,_0x13cb94):_0x427d46,_0x89641f=_0x154c03[_0x33f763(0x1f1)]-0x1,_0x134e4c;_0x89641f>=0x0;_0x89641f--)(_0x134e4c=_0x154c03[_0x89641f])&&(_0x55ebc5=(_0x192f34?_0x134e4c(_0x427d46,_0x13cb94,_0x55ebc5):_0x134e4c(_0x55ebc5))||_0x55ebc5);return _0x192f34&&_0x55ebc5&&_0x4803e6(_0x427d46,_0x13cb94,_0x55ebc5),_0x55ebc5;},_0x2eecfb=(_0x116ec1,_0x4f1635)=>(_0x316880,_0x47ffcc)=>_0x4f1635(_0x316880,_0x47ffcc,_0x116ec1);_0x10e5bc['DataLoaderController']=class extends _0x47a99f['RxDisposable']{constructor(_0x32d1f8,_0x2cb84d,_0xc812cd,_0xeebb10,_0x431483,_0x55427e){const _0x14a541=_0x50247e;super(),this[_0x14a541(0x1d8)]=_0x32d1f8,this[_0x14a541(0x2fa)]=_0x2cb84d,this[_0x14a541(0x14a)]=_0xc812cd,this[_0x14a541(0x22f)]=_0xeebb10,this[_0x14a541(0xd4)]=_0x431483,_0x55427e?_0x55427e==null||_0x55427e[_0x14a541(0x12e)]()['then'](()=>this[_0x14a541(0x26d)]()):(this[_0x14a541(0x2fa)]['debug'](_0x14a541(0x1e2),_0x14a541(0x354)),this[_0x14a541(0x26d)]());}async[_0x50247e(0x26d)](){const _0x578465=_0x50247e,_0x23c0ed=this[_0x578465(0x1d8)][_0x578465(0x42a)](_0x578465(0x3d9)),_0x33e6ce=this[_0x578465(0x1d8)][_0x578465(0x42a)]('type');if(!_0x23c0ed||!_0x33e6ce){this['_logService'][_0x578465(0x505)](_0x578465(0x1e2),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x33e6ce)){case _0x3a4d97[_0x578465(0x508)]:{const _0xa6939e=await this[_0x578465(0x3a5)](_0x23c0ed);this['_setupSubUnitSync'](_0xa6939e);break;}case _0x3a4d97[_0x578465(0x53f)]:{await this[_0x578465(0x4f4)](_0x23c0ed);break;}default:{this[_0x578465(0x2fa)][_0x578465(0x54c)](_0x578465(0x1e2),_0x578465(0x2e2));break;}}}async['_setupSubUnitSync'](_0x160f00){const _0x481a2d=_0x50247e;await this['_updateSubUnitFromURLParams'](_0x160f00),_0x160f00[_0x481a2d(0x2d9)]['pipe'](_0x2d244b[_0x481a2d(0x31b)](this['dispose$']))['subscribe'](_0x136e5d=>{const _0x55b2ed=_0x481a2d;_0x136e5d&&this[_0x55b2ed(0xd0)](_0x136e5d);}),this['_urlService']['urlChange$'][_0x481a2d(0x48c)](_0x2d244b[_0x481a2d(0x31b)](this[_0x481a2d(0x3dc)]))[_0x481a2d(0x436)](()=>this[_0x481a2d(0x2f2)](_0x160f00));}[_0x50247e(0xd0)](_0x41cee1,_0x12dfc1=!0x1){const _0x1d8fe5=_0x50247e,_0x1d4f88=this['_urlService'][_0x1d8fe5(0x42a)](_0x1d8fe5(0x396));_0x41cee1[_0x1d8fe5(0x431)]()!==_0x1d4f88&&this[_0x1d8fe5(0x1d8)]['setParam']('subunit',_0x41cee1[_0x1d8fe5(0x431)](),_0x12dfc1);}async[_0x50247e(0x2f2)](_0x268199){const _0x299a32=_0x50247e;var _0x230ddc;const _0x48cff2=this[_0x299a32(0x1d8)][_0x299a32(0x42a)](_0x299a32(0x396));if(!_0x48cff2||!_0x268199[_0x299a32(0x221)](_0x48cff2)){const _0x2e58a6=_0x268199[_0x299a32(0x2d6)]()[0x0],_0x4d0c69=_0x268199[_0x299a32(0x221)](_0x2e58a6);if(!_0x4d0c69)return;this[_0x299a32(0xd0)](_0x4d0c69,!0x0),await this[_0x299a32(0x14a)]['executeCommand'](_0x3500ce[_0x299a32(0x504)]['id'],{'unitId':_0x268199[_0x299a32(0x15e)](),'subUnitId':_0x2e58a6});return;}((_0x230ddc=_0x268199['getActiveSheet']())==null?void 0x0:_0x230ddc[_0x299a32(0x431)]())!==_0x48cff2&&await this[_0x299a32(0x14a)][_0x299a32(0x548)](_0x3500ce[_0x299a32(0x504)]['id'],{'unitId':_0x268199[_0x299a32(0x15e)](),'subUnitId':_0x48cff2});}async[_0x50247e(0x3a5)](_0x2ec5a2){const _0x4cff60=_0x50247e;let _0x461d99=0x0;const _0x3ac19c=await this[_0x4cff60(0x22f)][_0x4cff60(0x1a7)](_0x2ec5a2);return _0x3ac19c&&(_0x3ac19c[_0x4cff60(0x52c)]||_0x3ac19c[_0x4cff60(0xde)][_0x4cff60(0x1f1)]!==0x0)&&(_0x461d99=_0x3ac19c[_0x4cff60(0x3da)]),_0x461d99===0x0&&this[_0x4cff60(0x2fa)]['debug']('[DataLoaderController]',_0x4cff60(0x449)),this[_0x4cff60(0xd4)][_0x4cff60(0x155)](_0x2ec5a2,_0x461d99);}async[_0x50247e(0x4f4)](_0x46bd6a){const _0x48aaf8=_0x50247e;let _0x4d86d5=0x0;const _0x3dcddf=await this[_0x48aaf8(0x22f)][_0x48aaf8(0x1a7)](_0x46bd6a);return _0x3dcddf&&(_0x3dcddf['awaitingChangeset']||_0x3dcddf[_0x48aaf8(0xde)][_0x48aaf8(0x1f1)]!==0x0)&&(_0x4d86d5=_0x3dcddf['rev']),_0x4d86d5===0x0&&this[_0x48aaf8(0x2fa)][_0x48aaf8(0x505)](_0x48aaf8(0x1e2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x48aaf8(0xd4)][_0x48aaf8(0x113)](_0x46bd6a,_0x4d86d5);}},_0x10e5bc['DataLoaderController']=_0x7f660a([_0x2eecfb(0x0,_0x4e7587),_0x2eecfb(0x1,_0x47a99f[_0x50247e(0x18f)]),_0x2eecfb(0x2,_0x47a99f[_0x50247e(0x417)]),_0x2eecfb(0x3,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x53e)])),_0x2eecfb(0x4,_0x47a99f[_0x50247e(0x30e)](_0x413309['SnapshotService'])),_0x2eecfb(0x5,_0x47a99f['Optional'](_0x36c47d[_0x50247e(0x383)]))],_0x10e5bc[_0x50247e(0x345)]);var _0x19c921=Object['defineProperty'],_0xed54b=Object[_0x50247e(0x135)],_0x280802=(_0x19b86e,_0xabe574,_0x13d6df,_0x46172d)=>{const _0x958c7a=_0x50247e;for(var _0xfcd7d6=_0x46172d>0x1?void 0x0:_0x46172d?_0xed54b(_0xabe574,_0x13d6df):_0xabe574,_0x162901=_0x19b86e[_0x958c7a(0x1f1)]-0x1,_0x3e95f4;_0x162901>=0x0;_0x162901--)(_0x3e95f4=_0x19b86e[_0x162901])&&(_0xfcd7d6=(_0x46172d?_0x3e95f4(_0xabe574,_0x13d6df,_0xfcd7d6):_0x3e95f4(_0xfcd7d6))||_0xfcd7d6);return _0x46172d&&_0xfcd7d6&&_0x19c921(_0xabe574,_0x13d6df,_0xfcd7d6),_0xfcd7d6;},_0x310dd8=(_0x33bc2c,_0x2476d8)=>(_0x6c349c,_0x56874a)=>_0x2476d8(_0x6c349c,_0x56874a,_0x33bc2c);const _0x123e4b=_0x50247e(0x31e),_0xee5f0e=_0x50247e(0x4a6);let _0x428815=class extends _0x47a99f[_0x50247e(0x227)]{constructor(_0x18e643,_0x2a4ee0){const _0x43ccb5=_0x50247e;super(),this[_0x43ccb5(0x286)]=_0x18e643,this[_0x43ccb5(0x546)]=_0x2a4ee0,this['_init']();}[_0x50247e(0x26d)](){const _0xfbcd1e=_0x50247e;this[_0xfbcd1e(0x39a)](this[_0xfbcd1e(0x286)][_0xfbcd1e(0x3e1)]['subscribe'](()=>{const _0x149bb8=_0xfbcd1e;var _0x3fea4e;const _0x779161=this[_0x149bb8(0x286)][_0x149bb8(0x240)]();let _0x1dfd5f=(_0x3fea4e=this[_0x149bb8(0x546)][_0x149bb8(0x39c)](_0x123e4b))!=null?_0x3fea4e:_0xee5f0e;_0x779161 instanceof _0x47a99f[_0x149bb8(0x4d9)]&&(_0x1dfd5f=_0x779161[_0x149bb8(0x2ba)]),document[_0x149bb8(0x44b)]=_0x1dfd5f;}));}};_0x428815=_0x280802([_0x310dd8(0x0,_0x47a99f[_0x50247e(0x180)]),_0x310dd8(0x1,_0x47a99f['IConfigService'])],_0x428815);var _0xaae977=Object[_0x50247e(0x2af)],_0x37bcc9=Object[_0x50247e(0x135)],_0x288960=(_0x159f0a,_0x1d20f3,_0x2f4440,_0x3fccfb)=>{const _0x45ace9=_0x50247e;for(var _0x69457=_0x3fccfb>0x1?void 0x0:_0x3fccfb?_0x37bcc9(_0x1d20f3,_0x2f4440):_0x1d20f3,_0x43674d=_0x159f0a[_0x45ace9(0x1f1)]-0x1,_0x3957b1;_0x43674d>=0x0;_0x43674d--)(_0x3957b1=_0x159f0a[_0x43674d])&&(_0x69457=(_0x3fccfb?_0x3957b1(_0x1d20f3,_0x2f4440,_0x69457):_0x3957b1(_0x69457))||_0x69457);return _0x3fccfb&&_0x69457&&_0xaae977(_0x1d20f3,_0x2f4440,_0x69457),_0x69457;},_0x53bfd3=(_0x139b2d,_0xc0f995)=>(_0xa0ac3c,_0x524b90)=>_0xc0f995(_0xa0ac3c,_0x524b90,_0x139b2d);let _0x9df690=class{constructor(_0x3bf3f,_0x3aa2fa,_0x3e27d6){const _0x117d5d=_0x50247e;this['_configService']=_0x3bf3f,this[_0x117d5d(0x163)]=_0x3aa2fa,this[_0x117d5d(0x44a)]=_0x3e27d6,this[_0x117d5d(0x39d)]();}['init'](){const _0x3d16b1=_0x50247e;this[_0x3d16b1(0x163)][_0x3d16b1(0x57c)]({'priority':0x1,'interceptor':(_0x1ddb45,_0x4dc49f)=>_0x4dc49f(_0x1ddb45)[_0x3d16b1(0x48c)](_0x2d244b[_0x3d16b1(0x139)](async _0x2c3539=>{const _0x3bde4c=_0x3d16b1,_0x5e18e3=_0x2c3539;if(_0x5e18e3[_0x3bde4c(0x4ae)]===0x191&&window['confirm'](this[_0x3bde4c(0x44a)]['t'](_0x3bde4c(0xf3)))){const _0x4e6cfb=window[_0x3bde4c(0x20e)](window[_0x3bde4c(0x4e0)]['href']);window['location'][_0x3bde4c(0x331)]=this[_0x3bde4c(0x535)]()+'?url='+_0x4e6cfb;}return _0x5e18e3;}))});}['_getLoginPath'](){const _0x1ec9e6=_0x50247e;var _0x36a5d4,_0x53974e;const _0x92cc92=this['_configService'][_0x1ec9e6(0x39c)](_0x527d3b),_0x31859d=this[_0x1ec9e6(0x546)][_0x1ec9e6(0x39c)](_0x127413);return(_0x53974e=(_0x36a5d4=_0x31859d==null?void 0x0:_0x31859d['loginUrlKey'])!=null?_0x36a5d4:_0x92cc92)!=null?_0x53974e:_0x299cb5;}};_0x9df690=_0x288960([_0x53bfd3(0x0,_0x47a99f['IConfigService']),_0x53bfd3(0x1,_0x47a99f[_0x50247e(0x30e)](_0x1c568b[_0x50247e(0x590)])),_0x53bfd3(0x2,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0xe9)]))],_0x9df690);var _0x2b7d6b=Object[_0x50247e(0x2af)],_0x29b15e=Object[_0x50247e(0x135)],_0x28d9be=(_0x1d6526,_0x5b8b41,_0x17bf0b,_0x27910f)=>{const _0x55f9ed=_0x50247e;for(var _0x39a77f=_0x27910f>0x1?void 0x0:_0x27910f?_0x29b15e(_0x5b8b41,_0x17bf0b):_0x5b8b41,_0x394c06=_0x1d6526[_0x55f9ed(0x1f1)]-0x1,_0xce7eed;_0x394c06>=0x0;_0x394c06--)(_0xce7eed=_0x1d6526[_0x394c06])&&(_0x39a77f=(_0x27910f?_0xce7eed(_0x5b8b41,_0x17bf0b,_0x39a77f):_0xce7eed(_0x39a77f))||_0x39a77f);return _0x27910f&&_0x39a77f&&_0x2b7d6b(_0x5b8b41,_0x17bf0b,_0x39a77f),_0x39a77f;},_0x3457d1=(_0x323f3f,_0x5d5d7e)=>(_0x4c1ef7,_0x53a294)=>_0x5d5d7e(_0x4c1ef7,_0x53a294,_0x323f3f);const _0x4c623f=_0x50247e(0x1e9),_0x1afc44=_0x50247e(0x540);_0x10e5bc['AuthzIoHttpService']=class extends _0x47a99f[_0x50247e(0x227)]{constructor(_0x298365,_0x171d61){const _0x4106f9=_0x50247e;super(),this[_0x4106f9(0x401)]=_0x298365,this['_configService']=_0x171d61,this['_initMergeInterceptor']();}[_0x50247e(0x280)](){const _0x5a18a2=_0x50247e,_0x22be4b=this;this[_0x5a18a2(0x39a)](this[_0x5a18a2(0x401)][_0x5a18a2(0x57c)]({'priority':0x3e7,'interceptor':_0x1c568b['MergeInterceptorFactory']({'isMatch'(_0x559b6f){const _0x3afca2=_0x5a18a2;var _0xf0282c;if(_0x559b6f[_0x3afca2(0x1a4)]==='POST'&&((_0xf0282c=_0x559b6f[_0x3afca2(0x338)])!=null&&_0xf0282c['body'])){const {objectID:_0x4f7eda,objectType:_0x1c740}=_0x559b6f['requestParams'][_0x3afca2(0xf1)]||{};if(!_0x4f7eda||_0x1c740===void 0x0)return!0x1;const _0xf690db=_0x22be4b[_0x3afca2(0x275)]()+'/'+_0x1c740+_0x3afca2(0xe3)+_0x4f7eda+_0x3afca2(0x2d7);if(_0x559b6f[_0x3afca2(0x123)]===_0xf690db)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b27a4){const _0xa3dfcf=_0x5a18a2;var _0x5d02ef;return(_0x5d02ef=_0x2b27a4[_0xa3dfcf(0x338)])==null?void 0x0:_0x5d02ef['body'];},'mergeParamsToRequest'(_0x4758f2,_0x5a30cf){const _0x56f83e=_0x5a18a2,_0xeeb14d=_0x22be4b[_0x56f83e(0x275)]()+_0x56f83e(0x1e3),_0x1ed092=_0x4758f2['reduce']((_0x132a62,_0x42a239)=>{const _0xd534f4=_0x56f83e,{unitID:_0x5a403f,objectID:_0xeb8fb5,objectType:_0x5d1bf0,actions:_0x389cd3}=_0x42a239;return _0x132a62[_0x5a403f]||(_0x132a62[_0x5a403f]={}),_0x132a62[_0x5a403f][_0xeb8fb5]||(_0x132a62[_0x5a403f][_0xeb8fb5]={'objectID':_0xeb8fb5,'objectType':_0x5d1bf0,'actions':[]}),_0x132a62[_0x5a403f][_0xeb8fb5]['actions'][_0xd534f4(0x421)](..._0x389cd3),_0x132a62;},{}),_0x51a28c=[];for(const _0x345cec in _0x1ed092)for(const _0x1fddbc in _0x1ed092[_0x345cec]){const {actions:_0xfedab7,objectType:_0x473f76}=_0x1ed092[_0x345cec][_0x1fddbc],_0x93f7db=[...new Set(_0xfedab7)];_0x51a28c[_0x56f83e(0x421)]({'unitID':_0x345cec,'objectID':_0x1fddbc,'objectType':_0x473f76,'actions':_0x93f7db});}return new _0x1c568b[(_0x56f83e(0x4aa))](_0x56f83e(0x1d2),_0xeeb14d,{'headers':_0x5a30cf['headers'],'withCredentials':_0x5a30cf[_0x56f83e(0x579)],'responseType':_0x5a30cf[_0x56f83e(0x498)],'body':{'requests':_0x51a28c}});}},{'distributeResult'(_0x50e83b,_0x44be35){const {objectActions:_0xe1e2a3}=_0x50e83b;return _0x44be35['map'](_0x1c2d85=>{const _0x4362f2=_0x5c6e,{unitID:_0x2f85f8,objectID:_0xf9fc58,actions:_0x3cb9c1}=_0x1c2d85,_0x39abc3=_0xe1e2a3['find'](_0x498dfc=>_0x498dfc[_0x4362f2(0x118)]===_0x2f85f8&&_0x498dfc[_0x4362f2(0x444)]===_0xf9fc58),_0x2ec2d1=_0x3cb9c1[_0x4362f2(0x14d)](_0x4855a4=>_0x39abc3==null?void 0x0:_0x39abc3[_0x4362f2(0x4af)][_0x4362f2(0x327)](_0x4458d4=>_0x4458d4[_0x4362f2(0x2a1)]===_0x4855a4))[_0x4362f2(0x3ae)](_0x541491=>!!_0x541491);return{'config':_0x1c2d85,'result':{'actions':_0x2ec2d1,'error':_0x50e83b[_0x4362f2(0x54c)]}};});}})}));}[_0x50247e(0x275)](){const _0x49af34=_0x50247e;var _0xcaccd4,_0x2f969d;const _0x1c7fb0=this[_0x49af34(0x546)]['getConfig'](_0x4c623f),_0x2cb4c6=this[_0x49af34(0x546)][_0x49af34(0x39c)](_0x127413);return(_0x2f969d=(_0xcaccd4=_0x2cb4c6==null?void 0x0:_0x2cb4c6[_0x49af34(0x573)])!=null?_0xcaccd4:_0x1c7fb0)!=null?_0x2f969d:_0x1afc44;}async['create'](_0x29214a){const _0x52afc2=_0x50247e,_0x3fcbab=this[_0x52afc2(0x275)]()+'/'+_0x29214a[_0x52afc2(0x30a)]+_0x52afc2(0x3f1);return(await this[_0x52afc2(0x401)][_0x52afc2(0x491)](_0x3fcbab,{'body':_0x29214a}))[_0x52afc2(0xf1)]['objectID']||'';}async[_0x50247e(0x416)](_0x1ed260){const _0x2e2bb6=_0x50247e,_0x2837ce=this[_0x2e2bb6(0x275)]()+_0x2e2bb6(0x1a9);return(await this[_0x2e2bb6(0x401)]['post'](_0x2837ce,{'body':_0x1ed260}))[_0x2e2bb6(0xf1)][_0x2e2bb6(0x477)];}async[_0x50247e(0x128)](_0x3f4e1e){const _0xb751cf=_0x50247e,_0x303dbf=this['_getAPIPrefixPath']()+'/'+_0x3f4e1e['objectType']+_0xb751cf(0xe3)+_0x3f4e1e['objectID'];await this['_HTTPService'][_0xb751cf(0x382)](_0x303dbf,{'body':_0x3f4e1e});}async[_0x50247e(0x462)](_0x56384b){const _0x5166c4=_0x50247e,_0x13d1c8=this[_0x5166c4(0x275)]()+'/'+_0x56384b[_0x5166c4(0x30a)]+_0x5166c4(0xe3)+_0x56384b['objectID']+_0x5166c4(0x2d7);return(await this[_0x5166c4(0x401)][_0x5166c4(0x491)](_0x13d1c8,{'body':_0x56384b}))[_0x5166c4(0xf1)][_0x5166c4(0x4af)];}async['batchAllowed'](_0x402fb7){const _0x1bf213=_0x50247e,_0x4f4a75=this[_0x1bf213(0x275)]()+_0x1bf213(0x1e3);return(await this[_0x1bf213(0x401)][_0x1bf213(0x491)](_0x4f4a75,{'body':{'requests':_0x402fb7}}))[_0x1bf213(0xf1)][_0x1bf213(0x3dd)];}async['listRoles'](_0x222206){const _0x2df99a=_0x50247e,_0x301c27=this[_0x2df99a(0x275)]()+'/'+_0x222206['objectType']+_0x2df99a(0x560),_0x351c99=await this[_0x2df99a(0x401)][_0x2df99a(0x491)](_0x301c27,{'body':_0x222206});return{'roles':_0x351c99[_0x2df99a(0xf1)][_0x2df99a(0x453)],'actions':_0x351c99[_0x2df99a(0xf1)][_0x2df99a(0x4af)]};}async[_0x50247e(0x4a8)](_0xe06c86){const _0x5a9d02=_0x50247e,_0x2ed1bc=this['_getAPIPrefixPath']()+_0x5a9d02(0x3af);await this[_0x5a9d02(0x401)]['delete'](_0x2ed1bc,{'params':{'collaboratorID':_0xe06c86['collaboratorID'],'objectID':_0xe06c86['objectID'],'unitID':_0xe06c86['unitID']}});}async[_0x50247e(0x35f)](_0x5c938f){const _0x43ec07=_0x50247e,_0x2abd02=this[_0x43ec07(0x275)]()+_0x43ec07(0x3af);await this[_0x43ec07(0x401)][_0x43ec07(0x4ef)](_0x2abd02,{'body':_0x5c938f});}async['createCollaborator'](_0x491c20){const _0x2a2a78=_0x50247e,_0x153de4=this[_0x2a2a78(0x275)]()+'/collaborator';await this['_HTTPService'][_0x2a2a78(0x491)](_0x153de4,{'body':_0x491c20});}async[_0x50247e(0x4f3)](_0x1d4e83){const _0x150190=_0x50247e,_0x3f4c28=this[_0x150190(0x275)]()+_0x150190(0x3af);return(await this[_0x150190(0x401)][_0x150190(0x40e)](_0x3f4c28,{'params':{'objectID':_0x1d4e83['objectID'],'unitID':_0x1d4e83[_0x150190(0x118)]}}))[_0x150190(0xf1)][_0x150190(0x2cc)];}async['putCollaborators'](_0x5dc5fd){const _0x2f056a=_0x50247e,_0xcfe618=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2f056a(0x401)][_0x2f056a(0x382)](_0xcfe618,{'body':_0x5dc5fd});}},_0x10e5bc[_0x50247e(0x456)]=_0x28d9be([_0x3457d1(0x0,_0x47a99f[_0x50247e(0x30e)](_0x1c568b[_0x50247e(0x590)])),_0x3457d1(0x1,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0x268)]))],_0x10e5bc['AuthzIoHttpService']);var _0x233828=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1edfc3(_0x29b2c8){const _0x4ee762=_0x50247e;return _0x29b2c8&&_0x29b2c8[_0x4ee762(0x202)]&&Object[_0x4ee762(0x4cd)][_0x4ee762(0x20d)]['call'](_0x29b2c8,_0x4ee762(0x53b))?_0x29b2c8[_0x4ee762(0x53b)]:_0x29b2c8;}var _0x308e36={'exports':{}};function _0x53e18f(_0x367087){const _0x481791=_0x50247e;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x367087+_0x481791(0x238));}var _0x397147={'exports':{}},_0x22d158;function _0x19b4b1(){return _0x22d158||(_0x22d158=0x1,function(_0x2405e0,_0x41682b){(function(_0xaaecf7,_0x5a9319){const _0x14bd9f=_0x5c6e;_0x2405e0[_0x14bd9f(0x1bb)]=_0x5a9319();}(_0x233828,function(){var _0x4ea575=_0x4ea575||function(_0x4df607,_0x2070b2){const _0xbf91ca=_0x5c6e;var _0x377cab;if(typeof window<'u'&&window[_0xbf91ca(0xd3)]&&(_0x377cab=window[_0xbf91ca(0xd3)]),typeof self<'u'&&self[_0xbf91ca(0xd3)]&&(_0x377cab=self['crypto']),typeof globalThis<'u'&&globalThis[_0xbf91ca(0xd3)]&&(_0x377cab=globalThis['crypto']),!_0x377cab&&typeof window<'u'&&window[_0xbf91ca(0x523)]&&(_0x377cab=window[_0xbf91ca(0x523)]),!_0x377cab&&typeof _0x233828<'u'&&_0x233828['crypto']&&(_0x377cab=_0x233828[_0xbf91ca(0xd3)]),!_0x377cab&&typeof _0x53e18f==_0xbf91ca(0x157))try{_0x377cab=require(_0xbf91ca(0xd3));}catch{}var _0x212518=function(){const _0x1907b9=_0xbf91ca;if(_0x377cab){if(typeof _0x377cab[_0x1907b9(0x18b)]=='function')try{return _0x377cab[_0x1907b9(0x18b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x377cab[_0x1907b9(0x2d5)]==_0x1907b9(0x157))try{return _0x377cab[_0x1907b9(0x2d5)](0x4)[_0x1907b9(0x2db)]();}catch{}}throw new Error(_0x1907b9(0x2fd));},_0x4aa406=Object['create']||(function(){function _0x3d930e(){}return function(_0x933782){const _0x5c3593=_0x5c6e;var _0x3fa05f;return _0x3d930e['prototype']=_0x933782,_0x3fa05f=new _0x3d930e(),_0x3d930e[_0x5c3593(0x4cd)]=null,_0x3fa05f;};}()),_0x103f8c={},_0x55aa48=_0x103f8c['lib']={},_0x1dd294=_0x55aa48['Base']=(function(){return{'extend':function(_0x5d8e39){const _0x5513a9=_0x5c6e;var _0x24e59a=_0x4aa406(this);return _0x5d8e39&&_0x24e59a['mixIn'](_0x5d8e39),(!_0x24e59a[_0x5513a9(0x20d)]('init')||this['init']===_0x24e59a[_0x5513a9(0x39d)])&&(_0x24e59a[_0x5513a9(0x39d)]=function(){const _0x3ef51d=_0x5513a9;_0x24e59a[_0x3ef51d(0x355)]['init']['apply'](this,arguments);}),_0x24e59a['init'][_0x5513a9(0x4cd)]=_0x24e59a,_0x24e59a[_0x5513a9(0x355)]=this,_0x24e59a;},'create':function(){const _0x1f5dd3=_0x5c6e;var _0x283373=this[_0x1f5dd3(0x442)]();return _0x283373[_0x1f5dd3(0x39d)][_0x1f5dd3(0x37c)](_0x283373,arguments),_0x283373;},'init':function(){},'mixIn':function(_0x388b58){const _0x5429d0=_0x5c6e;for(var _0x419b0f in _0x388b58)_0x388b58[_0x5429d0(0x20d)](_0x419b0f)&&(this[_0x419b0f]=_0x388b58[_0x419b0f]);_0x388b58[_0x5429d0(0x20d)]('toString')&&(this[_0x5429d0(0x55b)]=_0x388b58['toString']);},'clone':function(){const _0x3828e7=_0x5c6e;return this[_0x3828e7(0x39d)][_0x3828e7(0x4cd)]['extend'](this);}};}()),_0x3fb302=_0x55aa48[_0xbf91ca(0x3ec)]=_0x1dd294['extend']({'init':function(_0x315326,_0x379b42){const _0x33479d=_0xbf91ca;_0x315326=this['words']=_0x315326||[],_0x379b42!=_0x2070b2?this['sigBytes']=_0x379b42:this[_0x33479d(0x194)]=_0x315326[_0x33479d(0x1f1)]*0x4;},'toString':function(_0x41c0d2){return(_0x41c0d2||_0x4b123b)['stringify'](this);},'concat':function(_0x250aac){const _0x62ad1e=_0xbf91ca;var _0x13552b=this[_0x62ad1e(0x3b0)],_0x137965=_0x250aac[_0x62ad1e(0x3b0)],_0x307d22=this['sigBytes'],_0x10ce33=_0x250aac['sigBytes'];if(this[_0x62ad1e(0x530)](),_0x307d22%0x4)for(var _0x12d754=0x0;_0x12d754<_0x10ce33;_0x12d754++){var _0x39fbd2=_0x137965[_0x12d754>>>0x2]>>>0x18-_0x12d754%0x4*0x8&0xff;_0x13552b[_0x307d22+_0x12d754>>>0x2]|=_0x39fbd2<<0x18-(_0x307d22+_0x12d754)%0x4*0x8;}else{for(var _0x4149e7=0x0;_0x4149e7<_0x10ce33;_0x4149e7+=0x4)_0x13552b[_0x307d22+_0x4149e7>>>0x2]=_0x137965[_0x4149e7>>>0x2];}return this[_0x62ad1e(0x194)]+=_0x10ce33,this;},'clamp':function(){const _0x3cb01e=_0xbf91ca;var _0x59e0ce=this[_0x3cb01e(0x3b0)],_0x4e4f96=this[_0x3cb01e(0x194)];_0x59e0ce[_0x4e4f96>>>0x2]&=0xffffffff<<0x20-_0x4e4f96%0x4*0x8,_0x59e0ce[_0x3cb01e(0x1f1)]=_0x4df607[_0x3cb01e(0x426)](_0x4e4f96/0x4);},'clone':function(){const _0x1464d9=_0xbf91ca;var _0x4d86aa=_0x1dd294[_0x1464d9(0x56c)]['call'](this);return _0x4d86aa[_0x1464d9(0x3b0)]=this[_0x1464d9(0x3b0)][_0x1464d9(0x3f2)](0x0),_0x4d86aa;},'random':function(_0x508985){const _0x513e31=_0xbf91ca;for(var _0x8d367=[],_0x454595=0x0;_0x454595<_0x508985;_0x454595+=0x4)_0x8d367[_0x513e31(0x421)](_0x212518());return new _0x3fb302[(_0x513e31(0x39d))](_0x8d367,_0x508985);}}),_0x61713e=_0x103f8c[_0xbf91ca(0x14e)]={},_0x4b123b=_0x61713e[_0xbf91ca(0x3c0)]={'stringify':function(_0x4e0cb6){const _0xdb8bc1=_0xbf91ca;for(var _0x2a0bff=_0x4e0cb6[_0xdb8bc1(0x3b0)],_0x3ebe4f=_0x4e0cb6[_0xdb8bc1(0x194)],_0x310734=[],_0x214618=0x0;_0x214618<_0x3ebe4f;_0x214618++){var _0x223739=_0x2a0bff[_0x214618>>>0x2]>>>0x18-_0x214618%0x4*0x8&0xff;_0x310734[_0xdb8bc1(0x421)]((_0x223739>>>0x4)[_0xdb8bc1(0x55b)](0x10)),_0x310734[_0xdb8bc1(0x421)]((_0x223739&0xf)[_0xdb8bc1(0x55b)](0x10));}return _0x310734['join']('');},'parse':function(_0x113d99){const _0x22c13a=_0xbf91ca;for(var _0x37211c=_0x113d99[_0x22c13a(0x1f1)],_0x400541=[],_0x39b464=0x0;_0x39b464<_0x37211c;_0x39b464+=0x2)_0x400541[_0x39b464>>>0x3]|=parseInt(_0x113d99[_0x22c13a(0x35e)](_0x39b464,0x2),0x10)<<0x18-_0x39b464%0x8*0x4;return new _0x3fb302[(_0x22c13a(0x39d))](_0x400541,_0x37211c/0x2);}},_0x364f63=_0x61713e[_0xbf91ca(0x2a0)]={'stringify':function(_0x1f290d){const _0x3a3e4c=_0xbf91ca;for(var _0x2cf059=_0x1f290d[_0x3a3e4c(0x3b0)],_0x23b567=_0x1f290d['sigBytes'],_0x54bebf=[],_0x5d9b43=0x0;_0x5d9b43<_0x23b567;_0x5d9b43++){var _0x138ec6=_0x2cf059[_0x5d9b43>>>0x2]>>>0x18-_0x5d9b43%0x4*0x8&0xff;_0x54bebf[_0x3a3e4c(0x421)](String[_0x3a3e4c(0x1bc)](_0x138ec6));}return _0x54bebf['join']('');},'parse':function(_0x271608){const _0x1fcd22=_0xbf91ca;for(var _0x33f745=_0x271608['length'],_0x5524da=[],_0x547ec6=0x0;_0x547ec6<_0x33f745;_0x547ec6++)_0x5524da[_0x547ec6>>>0x2]|=(_0x271608[_0x1fcd22(0xcb)](_0x547ec6)&0xff)<<0x18-_0x547ec6%0x4*0x8;return new _0x3fb302[(_0x1fcd22(0x39d))](_0x5524da,_0x33f745);}},_0x271b4f=_0x61713e[_0xbf91ca(0x291)]={'stringify':function(_0x5a20a1){const _0x3eddc2=_0xbf91ca;try{return decodeURIComponent(escape(_0x364f63[_0x3eddc2(0x295)](_0x5a20a1)));}catch{throw new Error(_0x3eddc2(0x376));}},'parse':function(_0x359cee){const _0x5582cc=_0xbf91ca;return _0x364f63[_0x5582cc(0x1dc)](unescape(encodeURIComponent(_0x359cee)));}},_0x34a3db=_0x55aa48[_0xbf91ca(0x2f8)]=_0x1dd294[_0xbf91ca(0x442)]({'reset':function(){const _0x24088c=_0xbf91ca;this[_0x24088c(0x4ce)]=new _0x3fb302[(_0x24088c(0x39d))](),this['_nDataBytes']=0x0;},'_append':function(_0x2fe1f5){const _0x53d268=_0xbf91ca;typeof _0x2fe1f5=='string'&&(_0x2fe1f5=_0x271b4f[_0x53d268(0x1dc)](_0x2fe1f5)),this[_0x53d268(0x4ce)][_0x53d268(0x3a2)](_0x2fe1f5),this[_0x53d268(0x4c0)]+=_0x2fe1f5[_0x53d268(0x194)];},'_process':function(_0xc4e34d){const _0x2f9cb2=_0xbf91ca;var _0x537655,_0x1a21b6=this[_0x2f9cb2(0x4ce)],_0x204e9d=_0x1a21b6[_0x2f9cb2(0x3b0)],_0x90ad3b=_0x1a21b6[_0x2f9cb2(0x194)],_0x1b745d=this[_0x2f9cb2(0xf5)],_0x589812=_0x1b745d*0x4,_0x2d8a18=_0x90ad3b/_0x589812;_0xc4e34d?_0x2d8a18=_0x4df607[_0x2f9cb2(0x426)](_0x2d8a18):_0x2d8a18=_0x4df607['max']((_0x2d8a18|0x0)-this[_0x2f9cb2(0xeb)],0x0);var _0x2f0f48=_0x2d8a18*_0x1b745d,_0x37839c=_0x4df607[_0x2f9cb2(0x2ff)](_0x2f0f48*0x4,_0x90ad3b);if(_0x2f0f48){for(var _0x4e3def=0x0;_0x4e3def<_0x2f0f48;_0x4e3def+=_0x1b745d)this[_0x2f9cb2(0x32d)](_0x204e9d,_0x4e3def);_0x537655=_0x204e9d['splice'](0x0,_0x2f0f48),_0x1a21b6['sigBytes']-=_0x37839c;}return new _0x3fb302[(_0x2f9cb2(0x39d))](_0x537655,_0x37839c);},'clone':function(){const _0x52bdce=_0xbf91ca;var _0x14a87f=_0x1dd294[_0x52bdce(0x56c)][_0x52bdce(0x148)](this);return _0x14a87f['_data']=this['_data'][_0x52bdce(0x56c)](),_0x14a87f;},'_minBufferSize':0x0});_0x55aa48[_0xbf91ca(0x3e2)]=_0x34a3db['extend']({'cfg':_0x1dd294[_0xbf91ca(0x442)](),'init':function(_0x5f003c){const _0x1b7069=_0xbf91ca;this[_0x1b7069(0x264)]=this['cfg'][_0x1b7069(0x442)](_0x5f003c),this[_0x1b7069(0x4ff)]();},'reset':function(){const _0xaa1dd4=_0xbf91ca;_0x34a3db[_0xaa1dd4(0x4ff)][_0xaa1dd4(0x148)](this),this[_0xaa1dd4(0x42b)]();},'update':function(_0x85f55d){const _0x181d07=_0xbf91ca;return this[_0x181d07(0x2b2)](_0x85f55d),this['_process'](),this;},'finalize':function(_0x2d2a60){const _0x1fe55e=_0xbf91ca;_0x2d2a60&&this['_append'](_0x2d2a60);var _0x258f24=this[_0x1fe55e(0x541)]();return _0x258f24;},'blockSize':0x10,'_createHelper':function(_0x5a55eb){return function(_0x26552b,_0x71dc5c){const _0x33045f=_0x5c6e;return new _0x5a55eb[(_0x33045f(0x39d))](_0x71dc5c)[_0x33045f(0x288)](_0x26552b);};},'_createHmacHelper':function(_0x55ee4d){return function(_0x60f266,_0x2e6bb8){const _0x5cfe51=_0x5c6e;return new _0x47a624[(_0x5cfe51(0x2a2))][(_0x5cfe51(0x39d))](_0x55ee4d,_0x2e6bb8)['finalize'](_0x60f266);};}});var _0x47a624=_0x103f8c[_0xbf91ca(0xe0)]={};return _0x103f8c;}(Math);return _0x4ea575;}));}(_0x397147)),_0x397147['exports'];}var _0x2059e6={'exports':{}},_0x2501ef;function _0x2f8c0d(){const _0x49d7c6=_0x50247e;return _0x2501ef||(_0x2501ef=0x1,function(_0x43db2b,_0x1eef32){(function(_0x36597e,_0x3331ca){const _0x1de5a5=_0x5c6e;_0x43db2b[_0x1de5a5(0x1bb)]=_0x3331ca(_0x19b4b1());}(_0x233828,function(_0x1a9cf8){const _0x2a9ad8=_0x5c6e;return(function(){const _0x2db304=_0x5c6e;var _0x879521=_0x1a9cf8,_0x811ccf=_0x879521[_0x2db304(0x146)],_0x403d4a=_0x811ccf['WordArray'],_0x131d20=_0x879521['enc'];_0x131d20['Base64']={'stringify':function(_0x1a585b){const _0x166175=_0x2db304;var _0x5d790d=_0x1a585b[_0x166175(0x3b0)],_0x17d613=_0x1a585b[_0x166175(0x194)],_0x22aad5=this['_map'];_0x1a585b[_0x166175(0x530)]();for(var _0x27b851=[],_0x175eee=0x0;_0x175eee<_0x17d613;_0x175eee+=0x3)for(var _0x3301d7=_0x5d790d[_0x175eee>>>0x2]>>>0x18-_0x175eee%0x4*0x8&0xff,_0x26ce2a=_0x5d790d[_0x175eee+0x1>>>0x2]>>>0x18-(_0x175eee+0x1)%0x4*0x8&0xff,_0x6ec6c2=_0x5d790d[_0x175eee+0x2>>>0x2]>>>0x18-(_0x175eee+0x2)%0x4*0x8&0xff,_0x4a139b=_0x3301d7<<0x10|_0x26ce2a<<0x8|_0x6ec6c2,_0x5ed7ea=0x0;_0x5ed7ea<0x4&&_0x175eee+_0x5ed7ea*0.75<_0x17d613;_0x5ed7ea++)_0x27b851['push'](_0x22aad5['charAt'](_0x4a139b>>>0x6*(0x3-_0x5ed7ea)&0x3f));var _0x65b5b2=_0x22aad5['charAt'](0x40);if(_0x65b5b2){for(;_0x27b851[_0x166175(0x1f1)]%0x4;)_0x27b851[_0x166175(0x421)](_0x65b5b2);}return _0x27b851[_0x166175(0xc5)]('');},'parse':function(_0x41a45d){const _0xfd91fa=_0x2db304;var _0xd9fca5=_0x41a45d[_0xfd91fa(0x1f1)],_0x4c5856=this[_0xfd91fa(0x4d0)],_0x4ce996=this[_0xfd91fa(0x50d)];if(!_0x4ce996){_0x4ce996=this[_0xfd91fa(0x50d)]=[];for(var _0x21e674=0x0;_0x21e674<_0x4c5856[_0xfd91fa(0x1f1)];_0x21e674++)_0x4ce996[_0x4c5856[_0xfd91fa(0xcb)](_0x21e674)]=_0x21e674;}var _0xffccaa=_0x4c5856[_0xfd91fa(0x1a2)](0x40);if(_0xffccaa){var _0x147ac7=_0x41a45d[_0xfd91fa(0x1a6)](_0xffccaa);_0x147ac7!==-0x1&&(_0xd9fca5=_0x147ac7);}return _0x2b7865(_0x41a45d,_0xd9fca5,_0x4ce996);},'_map':_0x2db304(0x1ac)};function _0x2b7865(_0x2a63dc,_0x3ab77a,_0x4eac33){const _0x1a4a7e=_0x2db304;for(var _0x20e8d2=[],_0x37e077=0x0,_0x149a5d=0x0;_0x149a5d<_0x3ab77a;_0x149a5d++)if(_0x149a5d%0x4){var _0x3073ab=_0x4eac33[_0x2a63dc['charCodeAt'](_0x149a5d-0x1)]<<_0x149a5d%0x4*0x2,_0x5c1dd3=_0x4eac33[_0x2a63dc[_0x1a4a7e(0xcb)](_0x149a5d)]>>>0x6-_0x149a5d%0x4*0x2,_0x42fd9b=_0x3073ab|_0x5c1dd3;_0x20e8d2[_0x37e077>>>0x2]|=_0x42fd9b<<0x18-_0x37e077%0x4*0x8,_0x37e077++;}return _0x403d4a[_0x1a4a7e(0x151)](_0x20e8d2,_0x37e077);}}()),_0x1a9cf8['enc'][_0x2a9ad8(0x181)];}));}(_0x2059e6)),_0x2059e6[_0x49d7c6(0x1bb)];}var _0x3068d2={'exports':{}},_0x16755a;function _0x39dd2b(){return _0x16755a||(_0x16755a=0x1,function(_0xb4fcb5,_0x85f22e){(function(_0x33d425,_0x56ceb9){const _0xd466f5=_0x5c6e;_0xb4fcb5[_0xd466f5(0x1bb)]=_0x56ceb9(_0x19b4b1());}(_0x233828,function(_0x419c63){const _0x393247=_0x5c6e;return function(_0x5df7e3){const _0x3ef264=_0x5c6e;var _0x659ff=_0x419c63,_0x179721=_0x659ff[_0x3ef264(0x146)],_0x2ead01=_0x179721[_0x3ef264(0x3ec)],_0x1d5642=_0x179721[_0x3ef264(0x3e2)],_0x56a266=_0x659ff['algo'],_0x4924a5=[];(function(){const _0x347972=_0x3ef264;for(var _0x1caa94=0x0;_0x1caa94<0x40;_0x1caa94++)_0x4924a5[_0x1caa94]=_0x5df7e3[_0x347972(0x2dc)](_0x5df7e3[_0x347972(0x43c)](_0x1caa94+0x1))*0x100000000|0x0;}());var _0x5a2f47=_0x56a266[_0x3ef264(0x20b)]=_0x1d5642[_0x3ef264(0x442)]({'_doReset':function(){const _0x27dcbc=_0x3ef264;this['_hash']=new _0x2ead01[(_0x27dcbc(0x39d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x27537f,_0x25ce14){for(var _0x496731=0x0;_0x496731<0x10;_0x496731++){var _0x112ae9=_0x25ce14+_0x496731,_0x5ecd5f=_0x27537f[_0x112ae9];_0x27537f[_0x112ae9]=(_0x5ecd5f<<0x8|_0x5ecd5f>>>0x18)&0xff00ff|(_0x5ecd5f<<0x18|_0x5ecd5f>>>0x8)&0xff00ff00;}var _0x49a90a=this['_hash']['words'],_0x136229=_0x27537f[_0x25ce14+0x0],_0x209aa3=_0x27537f[_0x25ce14+0x1],_0x3bee0d=_0x27537f[_0x25ce14+0x2],_0x7d3b9d=_0x27537f[_0x25ce14+0x3],_0x11086b=_0x27537f[_0x25ce14+0x4],_0x3988ab=_0x27537f[_0x25ce14+0x5],_0xdc3c5b=_0x27537f[_0x25ce14+0x6],_0x2d96ae=_0x27537f[_0x25ce14+0x7],_0x1ed2c5=_0x27537f[_0x25ce14+0x8],_0x585e80=_0x27537f[_0x25ce14+0x9],_0x2286fe=_0x27537f[_0x25ce14+0xa],_0x1b5d80=_0x27537f[_0x25ce14+0xb],_0x2ff939=_0x27537f[_0x25ce14+0xc],_0x3df946=_0x27537f[_0x25ce14+0xd],_0x165422=_0x27537f[_0x25ce14+0xe],_0x505423=_0x27537f[_0x25ce14+0xf],_0x43d5e6=_0x49a90a[0x0],_0x59732=_0x49a90a[0x1],_0x3f2014=_0x49a90a[0x2],_0x28bd79=_0x49a90a[0x3];_0x43d5e6=_0x375a50(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x136229,0x7,_0x4924a5[0x0]),_0x28bd79=_0x375a50(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x209aa3,0xc,_0x4924a5[0x1]),_0x3f2014=_0x375a50(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x3bee0d,0x11,_0x4924a5[0x2]),_0x59732=_0x375a50(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x7d3b9d,0x16,_0x4924a5[0x3]),_0x43d5e6=_0x375a50(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x11086b,0x7,_0x4924a5[0x4]),_0x28bd79=_0x375a50(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x3988ab,0xc,_0x4924a5[0x5]),_0x3f2014=_0x375a50(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0xdc3c5b,0x11,_0x4924a5[0x6]),_0x59732=_0x375a50(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x2d96ae,0x16,_0x4924a5[0x7]),_0x43d5e6=_0x375a50(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x1ed2c5,0x7,_0x4924a5[0x8]),_0x28bd79=_0x375a50(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x585e80,0xc,_0x4924a5[0x9]),_0x3f2014=_0x375a50(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x2286fe,0x11,_0x4924a5[0xa]),_0x59732=_0x375a50(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x1b5d80,0x16,_0x4924a5[0xb]),_0x43d5e6=_0x375a50(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x2ff939,0x7,_0x4924a5[0xc]),_0x28bd79=_0x375a50(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x3df946,0xc,_0x4924a5[0xd]),_0x3f2014=_0x375a50(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x165422,0x11,_0x4924a5[0xe]),_0x59732=_0x375a50(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x505423,0x16,_0x4924a5[0xf]),_0x43d5e6=_0x17b3d7(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x209aa3,0x5,_0x4924a5[0x10]),_0x28bd79=_0x17b3d7(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0xdc3c5b,0x9,_0x4924a5[0x11]),_0x3f2014=_0x17b3d7(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x1b5d80,0xe,_0x4924a5[0x12]),_0x59732=_0x17b3d7(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x136229,0x14,_0x4924a5[0x13]),_0x43d5e6=_0x17b3d7(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x3988ab,0x5,_0x4924a5[0x14]),_0x28bd79=_0x17b3d7(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x2286fe,0x9,_0x4924a5[0x15]),_0x3f2014=_0x17b3d7(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x505423,0xe,_0x4924a5[0x16]),_0x59732=_0x17b3d7(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x11086b,0x14,_0x4924a5[0x17]),_0x43d5e6=_0x17b3d7(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x585e80,0x5,_0x4924a5[0x18]),_0x28bd79=_0x17b3d7(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x165422,0x9,_0x4924a5[0x19]),_0x3f2014=_0x17b3d7(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x7d3b9d,0xe,_0x4924a5[0x1a]),_0x59732=_0x17b3d7(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x1ed2c5,0x14,_0x4924a5[0x1b]),_0x43d5e6=_0x17b3d7(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x3df946,0x5,_0x4924a5[0x1c]),_0x28bd79=_0x17b3d7(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x3bee0d,0x9,_0x4924a5[0x1d]),_0x3f2014=_0x17b3d7(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x2d96ae,0xe,_0x4924a5[0x1e]),_0x59732=_0x17b3d7(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x2ff939,0x14,_0x4924a5[0x1f]),_0x43d5e6=_0x290c8d(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x3988ab,0x4,_0x4924a5[0x20]),_0x28bd79=_0x290c8d(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x1ed2c5,0xb,_0x4924a5[0x21]),_0x3f2014=_0x290c8d(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x1b5d80,0x10,_0x4924a5[0x22]),_0x59732=_0x290c8d(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x165422,0x17,_0x4924a5[0x23]),_0x43d5e6=_0x290c8d(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x209aa3,0x4,_0x4924a5[0x24]),_0x28bd79=_0x290c8d(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x11086b,0xb,_0x4924a5[0x25]),_0x3f2014=_0x290c8d(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x2d96ae,0x10,_0x4924a5[0x26]),_0x59732=_0x290c8d(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x2286fe,0x17,_0x4924a5[0x27]),_0x43d5e6=_0x290c8d(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x3df946,0x4,_0x4924a5[0x28]),_0x28bd79=_0x290c8d(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x136229,0xb,_0x4924a5[0x29]),_0x3f2014=_0x290c8d(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x7d3b9d,0x10,_0x4924a5[0x2a]),_0x59732=_0x290c8d(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0xdc3c5b,0x17,_0x4924a5[0x2b]),_0x43d5e6=_0x290c8d(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x585e80,0x4,_0x4924a5[0x2c]),_0x28bd79=_0x290c8d(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x2ff939,0xb,_0x4924a5[0x2d]),_0x3f2014=_0x290c8d(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x505423,0x10,_0x4924a5[0x2e]),_0x59732=_0x290c8d(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x3bee0d,0x17,_0x4924a5[0x2f]),_0x43d5e6=_0x20c5ec(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x136229,0x6,_0x4924a5[0x30]),_0x28bd79=_0x20c5ec(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x2d96ae,0xa,_0x4924a5[0x31]),_0x3f2014=_0x20c5ec(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x165422,0xf,_0x4924a5[0x32]),_0x59732=_0x20c5ec(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x3988ab,0x15,_0x4924a5[0x33]),_0x43d5e6=_0x20c5ec(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x2ff939,0x6,_0x4924a5[0x34]),_0x28bd79=_0x20c5ec(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x7d3b9d,0xa,_0x4924a5[0x35]),_0x3f2014=_0x20c5ec(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x2286fe,0xf,_0x4924a5[0x36]),_0x59732=_0x20c5ec(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x209aa3,0x15,_0x4924a5[0x37]),_0x43d5e6=_0x20c5ec(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x1ed2c5,0x6,_0x4924a5[0x38]),_0x28bd79=_0x20c5ec(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x505423,0xa,_0x4924a5[0x39]),_0x3f2014=_0x20c5ec(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0xdc3c5b,0xf,_0x4924a5[0x3a]),_0x59732=_0x20c5ec(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x3df946,0x15,_0x4924a5[0x3b]),_0x43d5e6=_0x20c5ec(_0x43d5e6,_0x59732,_0x3f2014,_0x28bd79,_0x11086b,0x6,_0x4924a5[0x3c]),_0x28bd79=_0x20c5ec(_0x28bd79,_0x43d5e6,_0x59732,_0x3f2014,_0x1b5d80,0xa,_0x4924a5[0x3d]),_0x3f2014=_0x20c5ec(_0x3f2014,_0x28bd79,_0x43d5e6,_0x59732,_0x3bee0d,0xf,_0x4924a5[0x3e]),_0x59732=_0x20c5ec(_0x59732,_0x3f2014,_0x28bd79,_0x43d5e6,_0x585e80,0x15,_0x4924a5[0x3f]),_0x49a90a[0x0]=_0x49a90a[0x0]+_0x43d5e6|0x0,_0x49a90a[0x1]=_0x49a90a[0x1]+_0x59732|0x0,_0x49a90a[0x2]=_0x49a90a[0x2]+_0x3f2014|0x0,_0x49a90a[0x3]=_0x49a90a[0x3]+_0x28bd79|0x0;},'_doFinalize':function(){const _0x3f000b=_0x3ef264;var _0x25793a=this[_0x3f000b(0x4ce)],_0x4a28d0=_0x25793a[_0x3f000b(0x3b0)],_0x373898=this['_nDataBytes']*0x8,_0x20f6da=_0x25793a[_0x3f000b(0x194)]*0x8;_0x4a28d0[_0x20f6da>>>0x5]|=0x80<<0x18-_0x20f6da%0x20;var _0x41c675=_0x5df7e3[_0x3f000b(0x179)](_0x373898/0x100000000),_0x1cef9e=_0x373898;_0x4a28d0[(_0x20f6da+0x40>>>0x9<<0x4)+0xf]=(_0x41c675<<0x8|_0x41c675>>>0x18)&0xff00ff|(_0x41c675<<0x18|_0x41c675>>>0x8)&0xff00ff00,_0x4a28d0[(_0x20f6da+0x40>>>0x9<<0x4)+0xe]=(_0x1cef9e<<0x8|_0x1cef9e>>>0x18)&0xff00ff|(_0x1cef9e<<0x18|_0x1cef9e>>>0x8)&0xff00ff00,_0x25793a[_0x3f000b(0x194)]=(_0x4a28d0[_0x3f000b(0x1f1)]+0x1)*0x4,this[_0x3f000b(0x1ab)]();for(var _0x532be7=this[_0x3f000b(0x320)],_0x41bb3a=_0x532be7[_0x3f000b(0x3b0)],_0x7fa11f=0x0;_0x7fa11f<0x4;_0x7fa11f++){var _0x46df4e=_0x41bb3a[_0x7fa11f];_0x41bb3a[_0x7fa11f]=(_0x46df4e<<0x8|_0x46df4e>>>0x18)&0xff00ff|(_0x46df4e<<0x18|_0x46df4e>>>0x8)&0xff00ff00;}return _0x532be7;},'clone':function(){const _0x24d140=_0x3ef264;var _0x390b96=_0x1d5642[_0x24d140(0x56c)]['call'](this);return _0x390b96['_hash']=this[_0x24d140(0x320)][_0x24d140(0x56c)](),_0x390b96;}});function _0x375a50(_0x5ee5d2,_0x1898f9,_0x20dba6,_0x1ad758,_0x195d11,_0x560f00,_0x4c8540){var _0x1619af=_0x5ee5d2+(_0x1898f9&_0x20dba6|~_0x1898f9&_0x1ad758)+_0x195d11+_0x4c8540;return(_0x1619af<<_0x560f00|_0x1619af>>>0x20-_0x560f00)+_0x1898f9;}function _0x17b3d7(_0x361f5c,_0x547f34,_0x54464f,_0x46d9a4,_0x5cf59f,_0x489a4c,_0x4731c2){var _0x310309=_0x361f5c+(_0x547f34&_0x46d9a4|_0x54464f&~_0x46d9a4)+_0x5cf59f+_0x4731c2;return(_0x310309<<_0x489a4c|_0x310309>>>0x20-_0x489a4c)+_0x547f34;}function _0x290c8d(_0x2feb79,_0xc077d1,_0x238c92,_0xd838f,_0x2621d7,_0x52199a,_0x5f3a7c){var _0x232789=_0x2feb79+(_0xc077d1^_0x238c92^_0xd838f)+_0x2621d7+_0x5f3a7c;return(_0x232789<<_0x52199a|_0x232789>>>0x20-_0x52199a)+_0xc077d1;}function _0x20c5ec(_0x582a3b,_0x808d4a,_0x1b3a09,_0x277fad,_0x57af74,_0x51c0ea,_0x3cd869){var _0x1330c1=_0x582a3b+(_0x1b3a09^(_0x808d4a|~_0x277fad))+_0x57af74+_0x3cd869;return(_0x1330c1<<_0x51c0ea|_0x1330c1>>>0x20-_0x51c0ea)+_0x808d4a;}_0x659ff[_0x3ef264(0x20b)]=_0x1d5642['_createHelper'](_0x5a2f47),_0x659ff[_0x3ef264(0x39f)]=_0x1d5642[_0x3ef264(0x334)](_0x5a2f47);}(Math),_0x419c63[_0x393247(0x20b)];}));}(_0x3068d2)),_0x3068d2['exports'];}var _0xbf1a45={'exports':{}},_0x368127={'exports':{}},_0x2c22ab;function _0x3495c8(){const _0x480378=_0x50247e;return _0x2c22ab||(_0x2c22ab=0x1,function(_0x46ea38,_0x5e8b31){(function(_0x1dc308,_0xe6a4a0){_0x46ea38['exports']=_0xe6a4a0(_0x19b4b1());}(_0x233828,function(_0x35965b){const _0x7933ee=_0x5c6e;return(function(){const _0x301f35=_0x5c6e;var _0x186786=_0x35965b,_0x1aeb3b=_0x186786['lib'],_0x1c1d2f=_0x1aeb3b[_0x301f35(0x3ec)],_0xf5b2e3=_0x1aeb3b[_0x301f35(0x3e2)],_0x4aa218=_0x186786['algo'],_0x508574=[],_0x22b64d=_0x4aa218[_0x301f35(0x52b)]=_0xf5b2e3[_0x301f35(0x442)]({'_doReset':function(){const _0x108801=_0x301f35;this[_0x108801(0x320)]=new _0x1c1d2f[(_0x108801(0x39d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xbd06db,_0x33eb23){const _0x58f4ee=_0x301f35;for(var _0x128af2=this['_hash'][_0x58f4ee(0x3b0)],_0x739da9=_0x128af2[0x0],_0x4cc6d2=_0x128af2[0x1],_0x3ca274=_0x128af2[0x2],_0x3ead7f=_0x128af2[0x3],_0x19c2d6=_0x128af2[0x4],_0xce443c=0x0;_0xce443c<0x50;_0xce443c++){if(_0xce443c<0x10)_0x508574[_0xce443c]=_0xbd06db[_0x33eb23+_0xce443c]|0x0;else{var _0x424913=_0x508574[_0xce443c-0x3]^_0x508574[_0xce443c-0x8]^_0x508574[_0xce443c-0xe]^_0x508574[_0xce443c-0x10];_0x508574[_0xce443c]=_0x424913<<0x1|_0x424913>>>0x1f;}var _0x1006ae=(_0x739da9<<0x5|_0x739da9>>>0x1b)+_0x19c2d6+_0x508574[_0xce443c];_0xce443c<0x14?_0x1006ae+=(_0x4cc6d2&_0x3ca274|~_0x4cc6d2&_0x3ead7f)+0x5a827999:_0xce443c<0x28?_0x1006ae+=(_0x4cc6d2^_0x3ca274^_0x3ead7f)+0x6ed9eba1:_0xce443c<0x3c?_0x1006ae+=(_0x4cc6d2&_0x3ca274|_0x4cc6d2&_0x3ead7f|_0x3ca274&_0x3ead7f)-0x70e44324:_0x1006ae+=(_0x4cc6d2^_0x3ca274^_0x3ead7f)-0x359d3e2a,_0x19c2d6=_0x3ead7f,_0x3ead7f=_0x3ca274,_0x3ca274=_0x4cc6d2<<0x1e|_0x4cc6d2>>>0x2,_0x4cc6d2=_0x739da9,_0x739da9=_0x1006ae;}_0x128af2[0x0]=_0x128af2[0x0]+_0x739da9|0x0,_0x128af2[0x1]=_0x128af2[0x1]+_0x4cc6d2|0x0,_0x128af2[0x2]=_0x128af2[0x2]+_0x3ca274|0x0,_0x128af2[0x3]=_0x128af2[0x3]+_0x3ead7f|0x0,_0x128af2[0x4]=_0x128af2[0x4]+_0x19c2d6|0x0;},'_doFinalize':function(){const _0xc09fa9=_0x301f35;var _0x86f40f=this[_0xc09fa9(0x4ce)],_0x20026e=_0x86f40f[_0xc09fa9(0x3b0)],_0x3265bc=this[_0xc09fa9(0x4c0)]*0x8,_0x168157=_0x86f40f[_0xc09fa9(0x194)]*0x8;return _0x20026e[_0x168157>>>0x5]|=0x80<<0x18-_0x168157%0x20,_0x20026e[(_0x168157+0x40>>>0x9<<0x4)+0xe]=Math[_0xc09fa9(0x179)](_0x3265bc/0x100000000),_0x20026e[(_0x168157+0x40>>>0x9<<0x4)+0xf]=_0x3265bc,_0x86f40f[_0xc09fa9(0x194)]=_0x20026e['length']*0x4,this['_process'](),this[_0xc09fa9(0x320)];},'clone':function(){const _0xe1bef5=_0x301f35;var _0x2c4a70=_0xf5b2e3['clone'][_0xe1bef5(0x148)](this);return _0x2c4a70[_0xe1bef5(0x320)]=this['_hash'][_0xe1bef5(0x56c)](),_0x2c4a70;}});_0x186786[_0x301f35(0x52b)]=_0xf5b2e3['_createHelper'](_0x22b64d),_0x186786[_0x301f35(0x41b)]=_0xf5b2e3[_0x301f35(0x334)](_0x22b64d);}()),_0x35965b[_0x7933ee(0x52b)];}));}(_0x368127)),_0x368127[_0x480378(0x1bb)];}var _0x534587={'exports':{}},_0x4afe55;function _0x216dc9(){const _0x31e69d=_0x50247e;return _0x4afe55||(_0x4afe55=0x1,function(_0x116af8,_0x1f2a80){(function(_0x45962b,_0x17434b){_0x116af8['exports']=_0x17434b(_0x19b4b1());}(_0x233828,function(_0x367c80){(function(){const _0x2db8c0=_0x5c6e;var _0x437425=_0x367c80,_0xcd734b=_0x437425['lib'],_0x4e7eb6=_0xcd734b[_0x2db8c0(0x315)],_0x427bfb=_0x437425[_0x2db8c0(0x14e)],_0x994b50=_0x427bfb[_0x2db8c0(0x291)],_0x48ecd7=_0x437425[_0x2db8c0(0xe0)];_0x48ecd7[_0x2db8c0(0x2a2)]=_0x4e7eb6[_0x2db8c0(0x442)]({'init':function(_0x3b046e,_0x49434d){const _0x47e8b8=_0x2db8c0;_0x3b046e=this[_0x47e8b8(0x132)]=new _0x3b046e[(_0x47e8b8(0x39d))](),typeof _0x49434d==_0x47e8b8(0x1cd)&&(_0x49434d=_0x994b50[_0x47e8b8(0x1dc)](_0x49434d));var _0x47577a=_0x3b046e[_0x47e8b8(0xf5)],_0x322570=_0x47577a*0x4;_0x49434d[_0x47e8b8(0x194)]>_0x322570&&(_0x49434d=_0x3b046e[_0x47e8b8(0x288)](_0x49434d)),_0x49434d[_0x47e8b8(0x530)]();for(var _0x12066d=this[_0x47e8b8(0x1c3)]=_0x49434d['clone'](),_0x473983=this['_iKey']=_0x49434d['clone'](),_0x3751e8=_0x12066d[_0x47e8b8(0x3b0)],_0x6a9c45=_0x473983['words'],_0x5030e4=0x0;_0x5030e4<_0x47577a;_0x5030e4++)_0x3751e8[_0x5030e4]^=0x5c5c5c5c,_0x6a9c45[_0x5030e4]^=0x36363636;_0x12066d[_0x47e8b8(0x194)]=_0x473983[_0x47e8b8(0x194)]=_0x322570,this[_0x47e8b8(0x4ff)]();},'reset':function(){const _0x27fae3=_0x2db8c0;var _0x3f5dd5=this[_0x27fae3(0x132)];_0x3f5dd5[_0x27fae3(0x4ff)](),_0x3f5dd5[_0x27fae3(0x128)](this['_iKey']);},'update':function(_0x3ca305){const _0x477f0a=_0x2db8c0;return this['_hasher'][_0x477f0a(0x128)](_0x3ca305),this;},'finalize':function(_0x4fc79b){const _0x50f4be=_0x2db8c0;var _0x36b27f=this[_0x50f4be(0x132)],_0x53f2d4=_0x36b27f['finalize'](_0x4fc79b);_0x36b27f[_0x50f4be(0x4ff)]();var _0x276742=_0x36b27f[_0x50f4be(0x288)](this[_0x50f4be(0x1c3)]['clone']()['concat'](_0x53f2d4));return _0x276742;}});}());}));}(_0x534587)),_0x534587[_0x31e69d(0x1bb)];}var _0x11d7a3;function _0x376521(){return _0x11d7a3||(_0x11d7a3=0x1,function(_0x3e6539,_0x13249){(function(_0x45ed3b,_0x3aae52,_0x2fc69a){const _0x1ce9ba=_0x5c6e;_0x3e6539[_0x1ce9ba(0x1bb)]=_0x3aae52(_0x19b4b1(),_0x3495c8(),_0x216dc9());}(_0x233828,function(_0x5477f5){const _0x2f8f18=_0x5c6e;return(function(){const _0x4a1339=_0x5c6e;var _0x4551bf=_0x5477f5,_0x2728c9=_0x4551bf['lib'],_0x13e7b3=_0x2728c9['Base'],_0x1255f1=_0x2728c9[_0x4a1339(0x3ec)],_0x56a08f=_0x4551bf['algo'],_0x31e331=_0x56a08f[_0x4a1339(0x20b)],_0x3950c6=_0x56a08f[_0x4a1339(0x317)]=_0x13e7b3[_0x4a1339(0x442)]({'cfg':_0x13e7b3[_0x4a1339(0x442)]({'keySize':0x80/0x20,'hasher':_0x31e331,'iterations':0x1}),'init':function(_0x465eec){const _0x5c0f40=_0x4a1339;this[_0x5c0f40(0x264)]=this[_0x5c0f40(0x264)][_0x5c0f40(0x442)](_0x465eec);},'compute':function(_0xe2fa7d,_0x1c2952){const _0x5bb063=_0x4a1339;for(var _0x86c5cd,_0x215cb9=this[_0x5bb063(0x264)],_0xcf4602=_0x215cb9['hasher'][_0x5bb063(0x151)](),_0x54a836=_0x1255f1[_0x5bb063(0x151)](),_0x335fbf=_0x54a836['words'],_0x3bf106=_0x215cb9[_0x5bb063(0x482)],_0x10bf78=_0x215cb9[_0x5bb063(0x57e)];_0x335fbf[_0x5bb063(0x1f1)]<_0x3bf106;){_0x86c5cd&&_0xcf4602[_0x5bb063(0x128)](_0x86c5cd),_0x86c5cd=_0xcf4602['update'](_0xe2fa7d)[_0x5bb063(0x288)](_0x1c2952),_0xcf4602[_0x5bb063(0x4ff)]();for(var _0x51598c=0x1;_0x51598c<_0x10bf78;_0x51598c++)_0x86c5cd=_0xcf4602[_0x5bb063(0x288)](_0x86c5cd),_0xcf4602['reset']();_0x54a836['concat'](_0x86c5cd);}return _0x54a836[_0x5bb063(0x194)]=_0x3bf106*0x4,_0x54a836;}});_0x4551bf[_0x4a1339(0x317)]=function(_0x25f16b,_0x7cab9d,_0x43d259){const _0x5ee73b=_0x4a1339;return _0x3950c6[_0x5ee73b(0x151)](_0x43d259)[_0x5ee73b(0x4dd)](_0x25f16b,_0x7cab9d);};}()),_0x5477f5[_0x2f8f18(0x317)];}));}(_0xbf1a45)),_0xbf1a45['exports'];}var _0x323f2d={'exports':{}},_0x5c109b;function _0x3eea41(){return _0x5c109b||(_0x5c109b=0x1,function(_0x2b68f6,_0x561ec0){(function(_0x2c1593,_0x2e6e71,_0x150971){const _0x119105=_0x5c6e;_0x2b68f6[_0x119105(0x1bb)]=_0x2e6e71(_0x19b4b1(),_0x376521());}(_0x233828,function(_0x13f376){const _0x35abd9=_0x5c6e;_0x13f376[_0x35abd9(0x146)][_0x35abd9(0x4d5)]||function(_0x445209){const _0x3bd9ca=_0x35abd9;var _0x474edb=_0x13f376,_0x529f8d=_0x474edb['lib'],_0x19c8c7=_0x529f8d[_0x3bd9ca(0x315)],_0x282e15=_0x529f8d[_0x3bd9ca(0x3ec)],_0x341c48=_0x529f8d['BufferedBlockAlgorithm'],_0x16a53f=_0x474edb[_0x3bd9ca(0x14e)];_0x16a53f[_0x3bd9ca(0x291)];var _0x555bdf=_0x16a53f['Base64'],_0x32bfad=_0x474edb[_0x3bd9ca(0xe0)],_0x497bc9=_0x32bfad[_0x3bd9ca(0x317)],_0x38b28b=_0x529f8d[_0x3bd9ca(0x4d5)]=_0x341c48['extend']({'cfg':_0x19c8c7['extend'](),'createEncryptor':function(_0x396a6a,_0x32c0d6){const _0x1873be=_0x3bd9ca;return this[_0x1873be(0x151)](this[_0x1873be(0x144)],_0x396a6a,_0x32c0d6);},'createDecryptor':function(_0xe782bb,_0x58b4e2){const _0x56193e=_0x3bd9ca;return this[_0x56193e(0x151)](this[_0x56193e(0x234)],_0xe782bb,_0x58b4e2);},'init':function(_0x46e1d8,_0x5540a4,_0x34ab0b){const _0x257509=_0x3bd9ca;this[_0x257509(0x264)]=this[_0x257509(0x264)]['extend'](_0x34ab0b),this[_0x257509(0x596)]=_0x46e1d8,this['_key']=_0x5540a4,this[_0x257509(0x4ff)]();},'reset':function(){const _0x400174=_0x3bd9ca;_0x341c48[_0x400174(0x4ff)][_0x400174(0x148)](this),this[_0x400174(0x42b)]();},'process':function(_0x4ece2e){const _0x4ab6d6=_0x3bd9ca;return this[_0x4ab6d6(0x2b2)](_0x4ece2e),this['_process']();},'finalize':function(_0x18248d){const _0x5260c4=_0x3bd9ca;_0x18248d&&this[_0x5260c4(0x2b2)](_0x18248d);var _0x50a309=this['_doFinalize']();return _0x50a309;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a09b0(_0x3f5b26){const _0x5ef5e8=_0x5c6e;return typeof _0x3f5b26==_0x5ef5e8(0x1cd)?_0x3ba700:_0x5477b6;}return function(_0x23d562){return{'encrypt':function(_0x340ea8,_0x557515,_0x19662d){const _0x3b0baf=_0x5c6e;return _0x5a09b0(_0x557515)[_0x3b0baf(0x495)](_0x23d562,_0x340ea8,_0x557515,_0x19662d);},'decrypt':function(_0x404a80,_0x210ca3,_0x4044ab){const _0x89c9b5=_0x5c6e;return _0x5a09b0(_0x210ca3)[_0x89c9b5(0x514)](_0x23d562,_0x404a80,_0x210ca3,_0x4044ab);}};};}())});_0x529f8d[_0x3bd9ca(0x34a)]=_0x38b28b[_0x3bd9ca(0x442)]({'_doFinalize':function(){const _0x30468c=_0x3bd9ca;var _0xe0663=this[_0x30468c(0x1ab)](!0x0);return _0xe0663;},'blockSize':0x1});var _0x57f496=_0x474edb[_0x3bd9ca(0x293)]={},_0x57b6ad=_0x529f8d['BlockCipherMode']=_0x19c8c7[_0x3bd9ca(0x442)]({'createEncryptor':function(_0x4b63ca,_0x825001){const _0x1e6623=_0x3bd9ca;return this[_0x1e6623(0x3fb)][_0x1e6623(0x151)](_0x4b63ca,_0x825001);},'createDecryptor':function(_0x415d15,_0x11c2ec){const _0x5b7982=_0x3bd9ca;return this[_0x5b7982(0x390)]['create'](_0x415d15,_0x11c2ec);},'init':function(_0x159c28,_0x135632){const _0x314d2c=_0x3bd9ca;this[_0x314d2c(0x172)]=_0x159c28,this[_0x314d2c(0x314)]=_0x135632;}}),_0x3e70e8=_0x57f496[_0x3bd9ca(0x49b)]=(function(){const _0x2cb12d=_0x3bd9ca;var _0x80be7f=_0x57b6ad[_0x2cb12d(0x442)]();_0x80be7f[_0x2cb12d(0x3fb)]=_0x80be7f[_0x2cb12d(0x442)]({'processBlock':function(_0x513a40,_0x122cab){const _0x2e5f29=_0x2cb12d;var _0x3a194a=this[_0x2e5f29(0x172)],_0x39f874=_0x3a194a['blockSize'];_0x42a737[_0x2e5f29(0x148)](this,_0x513a40,_0x122cab,_0x39f874),_0x3a194a['encryptBlock'](_0x513a40,_0x122cab),this[_0x2e5f29(0x21d)]=_0x513a40['slice'](_0x122cab,_0x122cab+_0x39f874);}}),_0x80be7f[_0x2cb12d(0x390)]=_0x80be7f['extend']({'processBlock':function(_0x581443,_0x18caaa){const _0x2879ae=_0x2cb12d;var _0x4f3bd9=this[_0x2879ae(0x172)],_0x45c5cd=_0x4f3bd9['blockSize'],_0x151ec5=_0x581443[_0x2879ae(0x3f2)](_0x18caaa,_0x18caaa+_0x45c5cd);_0x4f3bd9[_0x2879ae(0x398)](_0x581443,_0x18caaa),_0x42a737[_0x2879ae(0x148)](this,_0x581443,_0x18caaa,_0x45c5cd),this[_0x2879ae(0x21d)]=_0x151ec5;}});function _0x42a737(_0x5d41ed,_0x2f25e6,_0x2c5794){const _0x150896=_0x2cb12d;var _0x2c069a,_0x2d6de6=this[_0x150896(0x314)];_0x2d6de6?(_0x2c069a=_0x2d6de6,this['_iv']=_0x445209):_0x2c069a=this[_0x150896(0x21d)];for(var _0x2d12fb=0x0;_0x2d12fb<_0x2c5794;_0x2d12fb++)_0x5d41ed[_0x2f25e6+_0x2d12fb]^=_0x2c069a[_0x2d12fb];}return _0x80be7f;}()),_0x13163d=_0x474edb['pad']={},_0x3229a0=_0x13163d[_0x3bd9ca(0x1fe)]={'pad':function(_0x4255df,_0x49e6ae){const _0x3b0cc0=_0x3bd9ca;for(var _0xf4aad7=_0x49e6ae*0x4,_0x42c858=_0xf4aad7-_0x4255df[_0x3b0cc0(0x194)]%_0xf4aad7,_0x3a0d86=_0x42c858<<0x18|_0x42c858<<0x10|_0x42c858<<0x8|_0x42c858,_0x589d52=[],_0x5cd057=0x0;_0x5cd057<_0x42c858;_0x5cd057+=0x4)_0x589d52[_0x3b0cc0(0x421)](_0x3a0d86);var _0x6003e3=_0x282e15[_0x3b0cc0(0x151)](_0x589d52,_0x42c858);_0x4255df[_0x3b0cc0(0x3a2)](_0x6003e3);},'unpad':function(_0x3c7cc1){const _0x32dcab=_0x3bd9ca;var _0x46bf13=_0x3c7cc1[_0x32dcab(0x3b0)][_0x3c7cc1[_0x32dcab(0x194)]-0x1>>>0x2]&0xff;_0x3c7cc1[_0x32dcab(0x194)]-=_0x46bf13;}};_0x529f8d['BlockCipher']=_0x38b28b[_0x3bd9ca(0x442)]({'cfg':_0x38b28b[_0x3bd9ca(0x264)][_0x3bd9ca(0x442)]({'mode':_0x3e70e8,'padding':_0x3229a0}),'reset':function(){const _0x441ed4=_0x3bd9ca;var _0x5e0a07;_0x38b28b[_0x441ed4(0x4ff)]['call'](this);var _0x52ae07=this[_0x441ed4(0x264)],_0x8c464e=_0x52ae07['iv'],_0x47ffa4=_0x52ae07[_0x441ed4(0x293)];this['_xformMode']==this[_0x441ed4(0x144)]?_0x5e0a07=_0x47ffa4[_0x441ed4(0x4c2)]:(_0x5e0a07=_0x47ffa4['createDecryptor'],this[_0x441ed4(0xeb)]=0x1),this[_0x441ed4(0x1c7)]&&this['_mode'][_0x441ed4(0x10e)]==_0x5e0a07?this[_0x441ed4(0x1c7)][_0x441ed4(0x39d)](this,_0x8c464e&&_0x8c464e[_0x441ed4(0x3b0)]):(this[_0x441ed4(0x1c7)]=_0x5e0a07[_0x441ed4(0x148)](_0x47ffa4,this,_0x8c464e&&_0x8c464e[_0x441ed4(0x3b0)]),this[_0x441ed4(0x1c7)][_0x441ed4(0x10e)]=_0x5e0a07);},'_doProcessBlock':function(_0x5ed8b4,_0x2f677c){const _0x47f54d=_0x3bd9ca;this[_0x47f54d(0x1c7)][_0x47f54d(0x2c8)](_0x5ed8b4,_0x2f677c);},'_doFinalize':function(){const _0x5a3e37=_0x3bd9ca;var _0x31f4bf,_0xc93a7d=this['cfg']['padding'];return this[_0x5a3e37(0x596)]==this[_0x5a3e37(0x144)]?(_0xc93a7d[_0x5a3e37(0x57d)](this[_0x5a3e37(0x4ce)],this['blockSize']),_0x31f4bf=this[_0x5a3e37(0x1ab)](!0x0)):(_0x31f4bf=this[_0x5a3e37(0x1ab)](!0x0),_0xc93a7d[_0x5a3e37(0x114)](_0x31f4bf)),_0x31f4bf;},'blockSize':0x80/0x20});var _0x5b09db=_0x529f8d[_0x3bd9ca(0x464)]=_0x19c8c7[_0x3bd9ca(0x442)]({'init':function(_0x257e62){const _0xde6b8e=_0x3bd9ca;this[_0xde6b8e(0x3c4)](_0x257e62);},'toString':function(_0x154bb0){const _0x11db8f=_0x3bd9ca;return(_0x154bb0||this[_0x11db8f(0x20a)])['stringify'](this);}}),_0x23983b=_0x474edb[_0x3bd9ca(0x3bc)]={},_0x4ebaa3=_0x23983b[_0x3bd9ca(0x36f)]={'stringify':function(_0x3bfe6b){const _0xb3880a=_0x3bd9ca;var _0x2ad111,_0xa83e17=_0x3bfe6b[_0xb3880a(0x4a2)],_0x410968=_0x3bfe6b[_0xb3880a(0x595)];return _0x410968?_0x2ad111=_0x282e15[_0xb3880a(0x151)]([0x53616c74,0x65645f5f])[_0xb3880a(0x3a2)](_0x410968)[_0xb3880a(0x3a2)](_0xa83e17):_0x2ad111=_0xa83e17,_0x2ad111[_0xb3880a(0x55b)](_0x555bdf);},'parse':function(_0x510d76){const _0x313960=_0x3bd9ca;var _0x10520c,_0x13fdf1=_0x555bdf[_0x313960(0x1dc)](_0x510d76),_0x278aaf=_0x13fdf1[_0x313960(0x3b0)];return _0x278aaf[0x0]==0x53616c74&&_0x278aaf[0x1]==0x65645f5f&&(_0x10520c=_0x282e15[_0x313960(0x151)](_0x278aaf['slice'](0x2,0x4)),_0x278aaf[_0x313960(0x3f0)](0x0,0x4),_0x13fdf1[_0x313960(0x194)]-=0x10),_0x5b09db[_0x313960(0x151)]({'ciphertext':_0x13fdf1,'salt':_0x10520c});}},_0x5477b6=_0x529f8d['SerializableCipher']=_0x19c8c7['extend']({'cfg':_0x19c8c7['extend']({'format':_0x4ebaa3}),'encrypt':function(_0x5a5b8d,_0x16c588,_0x73fa37,_0x4cf4f4){const _0x3c20c4=_0x3bd9ca;_0x4cf4f4=this['cfg'][_0x3c20c4(0x442)](_0x4cf4f4);var _0x3448db=_0x5a5b8d[_0x3c20c4(0x4c2)](_0x73fa37,_0x4cf4f4),_0xa4105c=_0x3448db[_0x3c20c4(0x288)](_0x16c588),_0x3ce604=_0x3448db[_0x3c20c4(0x264)];return _0x5b09db[_0x3c20c4(0x151)]({'ciphertext':_0xa4105c,'key':_0x73fa37,'iv':_0x3ce604['iv'],'algorithm':_0x5a5b8d,'mode':_0x3ce604[_0x3c20c4(0x293)],'padding':_0x3ce604['padding'],'blockSize':_0x5a5b8d[_0x3c20c4(0xf5)],'formatter':_0x4cf4f4[_0x3c20c4(0x3bc)]});},'decrypt':function(_0x27a285,_0x2422b3,_0x4fa136,_0x4fc089){const _0x112cad=_0x3bd9ca;_0x4fc089=this[_0x112cad(0x264)]['extend'](_0x4fc089),_0x2422b3=this[_0x112cad(0x182)](_0x2422b3,_0x4fc089['format']);var _0x40a4ad=_0x27a285[_0x112cad(0xef)](_0x4fa136,_0x4fc089)[_0x112cad(0x288)](_0x2422b3['ciphertext']);return _0x40a4ad;},'_parse':function(_0x21959e,_0x54691f){const _0x15c1bf=_0x3bd9ca;return typeof _0x21959e==_0x15c1bf(0x1cd)?_0x54691f[_0x15c1bf(0x1dc)](_0x21959e,this):_0x21959e;}}),_0x2bdeb4=_0x474edb['kdf']={},_0x753ec3=_0x2bdeb4[_0x3bd9ca(0x36f)]={'execute':function(_0x1ea57f,_0x55c6a6,_0x490d64,_0x54a0df,_0x591039){const _0x4ba92b=_0x3bd9ca;if(_0x54a0df||(_0x54a0df=_0x282e15[_0x4ba92b(0x536)](0x40/0x8)),_0x591039)var _0x259508=_0x497bc9[_0x4ba92b(0x151)]({'keySize':_0x55c6a6+_0x490d64,'hasher':_0x591039})[_0x4ba92b(0x4dd)](_0x1ea57f,_0x54a0df);else var _0x259508=_0x497bc9[_0x4ba92b(0x151)]({'keySize':_0x55c6a6+_0x490d64})[_0x4ba92b(0x4dd)](_0x1ea57f,_0x54a0df);var _0x3cbc18=_0x282e15[_0x4ba92b(0x151)](_0x259508[_0x4ba92b(0x3b0)][_0x4ba92b(0x3f2)](_0x55c6a6),_0x490d64*0x4);return _0x259508[_0x4ba92b(0x194)]=_0x55c6a6*0x4,_0x5b09db[_0x4ba92b(0x151)]({'key':_0x259508,'iv':_0x3cbc18,'salt':_0x54a0df});}},_0x3ba700=_0x529f8d[_0x3bd9ca(0x2fc)]=_0x5477b6['extend']({'cfg':_0x5477b6['cfg']['extend']({'kdf':_0x753ec3}),'encrypt':function(_0x104fb1,_0x5e2cc7,_0x435a29,_0x5a2ccf){const _0x5b473d=_0x3bd9ca;_0x5a2ccf=this[_0x5b473d(0x264)][_0x5b473d(0x442)](_0x5a2ccf);var _0x45adca=_0x5a2ccf[_0x5b473d(0x409)][_0x5b473d(0x2ec)](_0x435a29,_0x104fb1[_0x5b473d(0x482)],_0x104fb1[_0x5b473d(0x16a)],_0x5a2ccf['salt'],_0x5a2ccf['hasher']);_0x5a2ccf['iv']=_0x45adca['iv'];var _0x9074d8=_0x5477b6[_0x5b473d(0x495)][_0x5b473d(0x148)](this,_0x104fb1,_0x5e2cc7,_0x45adca['key'],_0x5a2ccf);return _0x9074d8['mixIn'](_0x45adca),_0x9074d8;},'decrypt':function(_0x3b0517,_0x14ebd,_0x54e0a6,_0x20fcb2){const _0x1da40e=_0x3bd9ca;_0x20fcb2=this[_0x1da40e(0x264)][_0x1da40e(0x442)](_0x20fcb2),_0x14ebd=this[_0x1da40e(0x182)](_0x14ebd,_0x20fcb2[_0x1da40e(0x3bc)]);var _0x2beced=_0x20fcb2[_0x1da40e(0x409)][_0x1da40e(0x2ec)](_0x54e0a6,_0x3b0517[_0x1da40e(0x482)],_0x3b0517[_0x1da40e(0x16a)],_0x14ebd[_0x1da40e(0x595)],_0x20fcb2[_0x1da40e(0x342)]);_0x20fcb2['iv']=_0x2beced['iv'];var _0x117a1e=_0x5477b6['decrypt'][_0x1da40e(0x148)](this,_0x3b0517,_0x14ebd,_0x2beced[_0x1da40e(0x371)],_0x20fcb2);return _0x117a1e;}});}();}));}(_0x323f2d)),_0x323f2d['exports'];}(function(_0x19d0fb,_0x4073b1){(function(_0x1a5a03,_0x4c5451,_0x3e4be3){_0x19d0fb['exports']=_0x4c5451(_0x19b4b1(),_0x2f8c0d(),_0x39dd2b(),_0x376521(),_0x3eea41());}(_0x233828,function(_0x136e4f){const _0x5f369d=_0x5c6e;return(function(){const _0x374732=_0x5c6e;var _0xe24a10=_0x136e4f,_0x2555a5=_0xe24a10[_0x374732(0x146)],_0x226d9b=_0x2555a5[_0x374732(0x49f)],_0x4790a6=_0xe24a10[_0x374732(0xe0)],_0x549b0e=[],_0x43aa26=[],_0x5aa3de=[],_0x5a7d81=[],_0x561b3b=[],_0x23f7f6=[],_0x13c2c4=[],_0x17aa79=[],_0x378579=[],_0xfb2b6b=[];(function(){for(var _0x2634fa=[],_0x31deb6=0x0;_0x31deb6<0x100;_0x31deb6++)_0x31deb6<0x80?_0x2634fa[_0x31deb6]=_0x31deb6<<0x1:_0x2634fa[_0x31deb6]=_0x31deb6<<0x1^0x11b;for(var _0x46c2aa=0x0,_0x352f46=0x0,_0x31deb6=0x0;_0x31deb6<0x100;_0x31deb6++){var _0x157d5a=_0x352f46^_0x352f46<<0x1^_0x352f46<<0x2^_0x352f46<<0x3^_0x352f46<<0x4;_0x157d5a=_0x157d5a>>>0x8^_0x157d5a&0xff^0x63,_0x549b0e[_0x46c2aa]=_0x157d5a,_0x43aa26[_0x157d5a]=_0x46c2aa;var _0xf8923=_0x2634fa[_0x46c2aa],_0x1561f8=_0x2634fa[_0xf8923],_0x4b0e31=_0x2634fa[_0x1561f8],_0x85cd73=_0x2634fa[_0x157d5a]*0x101^_0x157d5a*0x1010100;_0x5aa3de[_0x46c2aa]=_0x85cd73<<0x18|_0x85cd73>>>0x8,_0x5a7d81[_0x46c2aa]=_0x85cd73<<0x10|_0x85cd73>>>0x10,_0x561b3b[_0x46c2aa]=_0x85cd73<<0x8|_0x85cd73>>>0x18,_0x23f7f6[_0x46c2aa]=_0x85cd73;var _0x85cd73=_0x4b0e31*0x1010101^_0x1561f8*0x10001^_0xf8923*0x101^_0x46c2aa*0x1010100;_0x13c2c4[_0x157d5a]=_0x85cd73<<0x18|_0x85cd73>>>0x8,_0x17aa79[_0x157d5a]=_0x85cd73<<0x10|_0x85cd73>>>0x10,_0x378579[_0x157d5a]=_0x85cd73<<0x8|_0x85cd73>>>0x18,_0xfb2b6b[_0x157d5a]=_0x85cd73,_0x46c2aa?(_0x46c2aa=_0xf8923^_0x2634fa[_0x2634fa[_0x2634fa[_0x4b0e31^_0xf8923]]],_0x352f46^=_0x2634fa[_0x2634fa[_0x352f46]]):_0x46c2aa=_0x352f46=0x1;}}());var _0x1c5afc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x379fa8=_0x4790a6[_0x374732(0x19f)]=_0x226d9b[_0x374732(0x442)]({'_doReset':function(){const _0x2a9d6b=_0x374732;var _0xf51249;if(!(this[_0x2a9d6b(0x36d)]&&this[_0x2a9d6b(0x3e5)]===this[_0x2a9d6b(0x340)])){for(var _0x5beb87=this['_keyPriorReset']=this[_0x2a9d6b(0x340)],_0x1c9ae8=_0x5beb87[_0x2a9d6b(0x3b0)],_0x10e437=_0x5beb87[_0x2a9d6b(0x194)]/0x4,_0x24f072=this[_0x2a9d6b(0x36d)]=_0x10e437+0x6,_0x3413bb=(_0x24f072+0x1)*0x4,_0x3355f0=this['_keySchedule']=[],_0x3b219e=0x0;_0x3b219e<_0x3413bb;_0x3b219e++)_0x3b219e<_0x10e437?_0x3355f0[_0x3b219e]=_0x1c9ae8[_0x3b219e]:(_0xf51249=_0x3355f0[_0x3b219e-0x1],_0x3b219e%_0x10e437?_0x10e437>0x6&&_0x3b219e%_0x10e437==0x4&&(_0xf51249=_0x549b0e[_0xf51249>>>0x18]<<0x18|_0x549b0e[_0xf51249>>>0x10&0xff]<<0x10|_0x549b0e[_0xf51249>>>0x8&0xff]<<0x8|_0x549b0e[_0xf51249&0xff]):(_0xf51249=_0xf51249<<0x8|_0xf51249>>>0x18,_0xf51249=_0x549b0e[_0xf51249>>>0x18]<<0x18|_0x549b0e[_0xf51249>>>0x10&0xff]<<0x10|_0x549b0e[_0xf51249>>>0x8&0xff]<<0x8|_0x549b0e[_0xf51249&0xff],_0xf51249^=_0x1c5afc[_0x3b219e/_0x10e437|0x0]<<0x18),_0x3355f0[_0x3b219e]=_0x3355f0[_0x3b219e-_0x10e437]^_0xf51249);for(var _0x2f3a82=this['_invKeySchedule']=[],_0x16af57=0x0;_0x16af57<_0x3413bb;_0x16af57++){var _0x3b219e=_0x3413bb-_0x16af57;if(_0x16af57%0x4)var _0xf51249=_0x3355f0[_0x3b219e];else var _0xf51249=_0x3355f0[_0x3b219e-0x4];_0x16af57<0x4||_0x3b219e<=0x4?_0x2f3a82[_0x16af57]=_0xf51249:_0x2f3a82[_0x16af57]=_0x13c2c4[_0x549b0e[_0xf51249>>>0x18]]^_0x17aa79[_0x549b0e[_0xf51249>>>0x10&0xff]]^_0x378579[_0x549b0e[_0xf51249>>>0x8&0xff]]^_0xfb2b6b[_0x549b0e[_0xf51249&0xff]];}}},'encryptBlock':function(_0x593ca4,_0xda1395){const _0x323977=_0x374732;this[_0x323977(0x10f)](_0x593ca4,_0xda1395,this[_0x323977(0x3b1)],_0x5aa3de,_0x5a7d81,_0x561b3b,_0x23f7f6,_0x549b0e);},'decryptBlock':function(_0x447b70,_0x28b6fc){const _0x273b92=_0x374732;var _0x5d6a73=_0x447b70[_0x28b6fc+0x1];_0x447b70[_0x28b6fc+0x1]=_0x447b70[_0x28b6fc+0x3],_0x447b70[_0x28b6fc+0x3]=_0x5d6a73,this[_0x273b92(0x10f)](_0x447b70,_0x28b6fc,this['_invKeySchedule'],_0x13c2c4,_0x17aa79,_0x378579,_0xfb2b6b,_0x43aa26);var _0x5d6a73=_0x447b70[_0x28b6fc+0x1];_0x447b70[_0x28b6fc+0x1]=_0x447b70[_0x28b6fc+0x3],_0x447b70[_0x28b6fc+0x3]=_0x5d6a73;},'_doCryptBlock':function(_0x1b3d8f,_0x5672ab,_0xd72dec,_0x38ad8c,_0x198714,_0xee0b53,_0x4d218a,_0x541066){const _0x398109=_0x374732;for(var _0x50a39f=this[_0x398109(0x36d)],_0x3a2718=_0x1b3d8f[_0x5672ab]^_0xd72dec[0x0],_0x1c7cd8=_0x1b3d8f[_0x5672ab+0x1]^_0xd72dec[0x1],_0x5bced9=_0x1b3d8f[_0x5672ab+0x2]^_0xd72dec[0x2],_0x581c64=_0x1b3d8f[_0x5672ab+0x3]^_0xd72dec[0x3],_0x441e93=0x4,_0x2f3e60=0x1;_0x2f3e60<_0x50a39f;_0x2f3e60++){var _0x36566=_0x38ad8c[_0x3a2718>>>0x18]^_0x198714[_0x1c7cd8>>>0x10&0xff]^_0xee0b53[_0x5bced9>>>0x8&0xff]^_0x4d218a[_0x581c64&0xff]^_0xd72dec[_0x441e93++],_0x5e0bc3=_0x38ad8c[_0x1c7cd8>>>0x18]^_0x198714[_0x5bced9>>>0x10&0xff]^_0xee0b53[_0x581c64>>>0x8&0xff]^_0x4d218a[_0x3a2718&0xff]^_0xd72dec[_0x441e93++],_0x4f02b2=_0x38ad8c[_0x5bced9>>>0x18]^_0x198714[_0x581c64>>>0x10&0xff]^_0xee0b53[_0x3a2718>>>0x8&0xff]^_0x4d218a[_0x1c7cd8&0xff]^_0xd72dec[_0x441e93++],_0x576030=_0x38ad8c[_0x581c64>>>0x18]^_0x198714[_0x3a2718>>>0x10&0xff]^_0xee0b53[_0x1c7cd8>>>0x8&0xff]^_0x4d218a[_0x5bced9&0xff]^_0xd72dec[_0x441e93++];_0x3a2718=_0x36566,_0x1c7cd8=_0x5e0bc3,_0x5bced9=_0x4f02b2,_0x581c64=_0x576030;}var _0x36566=(_0x541066[_0x3a2718>>>0x18]<<0x18|_0x541066[_0x1c7cd8>>>0x10&0xff]<<0x10|_0x541066[_0x5bced9>>>0x8&0xff]<<0x8|_0x541066[_0x581c64&0xff])^_0xd72dec[_0x441e93++],_0x5e0bc3=(_0x541066[_0x1c7cd8>>>0x18]<<0x18|_0x541066[_0x5bced9>>>0x10&0xff]<<0x10|_0x541066[_0x581c64>>>0x8&0xff]<<0x8|_0x541066[_0x3a2718&0xff])^_0xd72dec[_0x441e93++],_0x4f02b2=(_0x541066[_0x5bced9>>>0x18]<<0x18|_0x541066[_0x581c64>>>0x10&0xff]<<0x10|_0x541066[_0x3a2718>>>0x8&0xff]<<0x8|_0x541066[_0x1c7cd8&0xff])^_0xd72dec[_0x441e93++],_0x576030=(_0x541066[_0x581c64>>>0x18]<<0x18|_0x541066[_0x3a2718>>>0x10&0xff]<<0x10|_0x541066[_0x1c7cd8>>>0x8&0xff]<<0x8|_0x541066[_0x5bced9&0xff])^_0xd72dec[_0x441e93++];_0x1b3d8f[_0x5672ab]=_0x36566,_0x1b3d8f[_0x5672ab+0x1]=_0x5e0bc3,_0x1b3d8f[_0x5672ab+0x2]=_0x4f02b2,_0x1b3d8f[_0x5672ab+0x3]=_0x576030;},'keySize':0x100/0x20});_0xe24a10[_0x374732(0x19f)]=_0x226d9b['_createHelper'](_0x379fa8);}()),_0x136e4f[_0x5f369d(0x19f)];}));}(_0x308e36));var _0x2c5816=_0x308e36['exports'];const _0x265fae=_0x1edfc3(_0x2c5816);var _0x3d8288=_0x2f8c0d();const _0x25bb47=_0x1edfc3(_0x3d8288);var _0x175488={'exports':{}};(function(_0x5ed4da,_0x499a96){(function(_0x281b92,_0x405da4){const _0x5177db=_0x5c6e;_0x5ed4da[_0x5177db(0x1bb)]=_0x405da4(_0x19b4b1());}(_0x233828,function(_0x98a437){const _0x5d0f90=_0x5c6e;return _0x98a437[_0x5d0f90(0x14e)][_0x5d0f90(0x291)];}));}(_0x175488));var _0xbda8c2=_0x175488[_0x50247e(0x1bb)];const _0x5a25c5=_0x1edfc3(_0xbda8c2);var _0x35d8ee={'exports':{}};(function(_0x5dc36b,_0x47c88f){(function(_0x3510bc,_0x3535c6){const _0x4d34ca=_0x5c6e;_0x5dc36b[_0x4d34ca(0x1bb)]=_0x3535c6(_0x19b4b1());}(_0x233828,function(_0x20a602){const _0x3a27eb=_0x5c6e;return(function(){const _0x165662=_0x5c6e;if(typeof ArrayBuffer==_0x165662(0x157)){var _0x4ed424=_0x20a602,_0x474e6c=_0x4ed424[_0x165662(0x146)],_0x2a7562=_0x474e6c['WordArray'],_0x17cfe5=_0x2a7562[_0x165662(0x39d)],_0x38384e=_0x2a7562['init']=function(_0x24b517){const _0x167f4f=_0x165662;if(_0x24b517 instanceof ArrayBuffer&&(_0x24b517=new Uint8Array(_0x24b517)),(_0x24b517 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x24b517 instanceof Uint8ClampedArray||_0x24b517 instanceof Int16Array||_0x24b517 instanceof Uint16Array||_0x24b517 instanceof Int32Array||_0x24b517 instanceof Uint32Array||_0x24b517 instanceof Float32Array||_0x24b517 instanceof Float64Array)&&(_0x24b517=new Uint8Array(_0x24b517[_0x167f4f(0x29a)],_0x24b517[_0x167f4f(0x219)],_0x24b517[_0x167f4f(0x16f)])),_0x24b517 instanceof Uint8Array){for(var _0x15cfe6=_0x24b517[_0x167f4f(0x16f)],_0x2718c4=[],_0xa3f657=0x0;_0xa3f657<_0x15cfe6;_0xa3f657++)_0x2718c4[_0xa3f657>>>0x2]|=_0x24b517[_0xa3f657]<<0x18-_0xa3f657%0x4*0x8;_0x17cfe5[_0x167f4f(0x148)](this,_0x2718c4,_0x15cfe6);}else _0x17cfe5[_0x167f4f(0x37c)](this,arguments);};_0x38384e[_0x165662(0x4cd)]=_0x2a7562;}}()),_0x20a602[_0x3a27eb(0x146)][_0x3a27eb(0x3ec)];}));}(_0x35d8ee));var _0x141368=_0x35d8ee[_0x50247e(0x1bb)];const _0x1991d0=_0x1edfc3(_0x141368);var _0x140c28={'exports':{}};(function(_0x45965b,_0x29ccf6){(function(_0x17d626,_0x2bbf0d,_0x31cc07){const _0x20f75d=_0x5c6e;_0x45965b[_0x20f75d(0x1bb)]=_0x2bbf0d(_0x19b4b1(),_0x3eea41());}(_0x233828,function(_0x2f7dd1){const _0x3e8c9f=_0x5c6e;return _0x2f7dd1['pad'][_0x3e8c9f(0x3f3)]={'pad':function(){},'unpad':function(){}},_0x2f7dd1['pad'][_0x3e8c9f(0x3f3)];}));}(_0x140c28));var _0x638691=_0x140c28['exports'];const _0x28c1ae=_0x1edfc3(_0x638691);function _0x3ef821(_0x26c7c9,_0x57883b){const _0x516d12=_0x50247e,_0x10dfab=_0x57883b-_0x26c7c9[_0x516d12(0x1f1)]%_0x57883b,_0x2b0b0e=String[_0x516d12(0x1bc)](_0x10dfab)[_0x516d12(0x3c6)](_0x10dfab);return _0x26c7c9+_0x2b0b0e;}function _0x2a79c3(_0xba3a73,_0x16c9ac){const _0x4da2f9=_0x50247e,_0x35effb=_0x1991d0['random'](0x10),_0x19e1cd=_0x3ef821(_0xba3a73,0x10),_0x1045a8=_0x265fae[_0x4da2f9(0x495)](_0x5a25c5[_0x4da2f9(0x1dc)](_0x19e1cd),_0x25bb47[_0x4da2f9(0x1dc)](_0x16c9ac),{'iv':_0x35effb,'padding':_0x28c1ae});return _0x35effb[_0x4da2f9(0x3a2)](_0x1045a8[_0x4da2f9(0x4a2)])[_0x4da2f9(0x55b)](_0x25bb47);}function _0x57de34(){const _0x3fa90c=_0x50247e,_0x35e6f7=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3fa90c(0x235)];if(_0x35e6f7){const _0x298f36={'time':Math['floor'](Date[_0x3fa90c(0x34b)]()/0x3e8),'domain':location['hostname']};return _0x2a79c3(JSON['stringify'](_0x298f36),_0x35e6f7);}}var _0x3f16c5=Object[_0x50247e(0x2af)],_0x308668=Object[_0x50247e(0x135)],_0x1349f2=(_0x1c1754,_0x13d8e3,_0x410639,_0x14609a)=>{const _0x1298fe=_0x50247e;for(var _0x56c358=_0x14609a>0x1?void 0x0:_0x14609a?_0x308668(_0x13d8e3,_0x410639):_0x13d8e3,_0x3c2f24=_0x1c1754[_0x1298fe(0x1f1)]-0x1,_0x532a04;_0x3c2f24>=0x0;_0x3c2f24--)(_0x532a04=_0x1c1754[_0x3c2f24])&&(_0x56c358=(_0x14609a?_0x532a04(_0x13d8e3,_0x410639,_0x56c358):_0x532a04(_0x56c358))||_0x56c358);return _0x14609a&&_0x56c358&&_0x3f16c5(_0x13d8e3,_0x410639,_0x56c358),_0x56c358;},_0x5612aa=(_0x1d62f0,_0x3d0588)=>(_0x407ff5,_0x54dc68)=>_0x3d0588(_0x407ff5,_0x54dc68,_0x1d62f0);let _0x282173=class{constructor(_0x532a2a){const _0x52a498=_0x50247e;this[_0x52a498(0x163)]=_0x532a2a,this[_0x52a498(0x191)]();}[_0x50247e(0x191)](){const _0x2f38a=_0x50247e;this[_0x2f38a(0x163)][_0x2f38a(0x57c)]({'interceptor':(_0x42c007,_0x1d670e)=>{const _0x261e76=_0x2f38a,_0x8f4322=_0x42c007[_0x261e76(0x543)],_0x58bc40=_0x57de34();return _0x58bc40&&_0x8f4322['set']('x-univer-host',_0x58bc40),_0x1d670e(_0x42c007);}});}};_0x282173=_0x1349f2([_0x5612aa(0x0,_0x47a99f[_0x50247e(0x30e)](_0x1c568b[_0x50247e(0x590)]))],_0x282173);var _0x337bdb=Object[_0x50247e(0x2af)],_0x323623=Object[_0x50247e(0x135)],_0x1b240d=(_0x5d458a,_0x53333b,_0x1c2fd6,_0x2602cd)=>{const _0x34cf25=_0x50247e;for(var _0x4d8c34=_0x2602cd>0x1?void 0x0:_0x2602cd?_0x323623(_0x53333b,_0x1c2fd6):_0x53333b,_0x864c52=_0x5d458a[_0x34cf25(0x1f1)]-0x1,_0x4bdad4;_0x864c52>=0x0;_0x864c52--)(_0x4bdad4=_0x5d458a[_0x864c52])&&(_0x4d8c34=(_0x2602cd?_0x4bdad4(_0x53333b,_0x1c2fd6,_0x4d8c34):_0x4bdad4(_0x4d8c34))||_0x4d8c34);return _0x2602cd&&_0x4d8c34&&_0x337bdb(_0x53333b,_0x1c2fd6,_0x4d8c34),_0x4d8c34;},_0x4ea7b0=(_0x2c84e3,_0x480ce2)=>(_0x5827c9,_0x575b7a)=>_0x480ce2(_0x5827c9,_0x575b7a,_0x2c84e3);const _0xda8cec=['image/png',_0x50247e(0x15d),_0x50247e(0x474),_0x50247e(0x4fd),_0x50247e(0x3bb)],_0x3a770d=0x5*0x400*0x400,_0x40b7fc=_0x50247e(0x259),_0x2f4868='/universer-api/stream/file/upload',_0x47e59a=_0x50247e(0x2e3),_0x448a0b=_0x50247e(0xc9);_0x10e5bc[_0x50247e(0x3a4)]=class{constructor(_0x768289,_0x2ee562,_0x59bc3d){const _0x28be42=_0x50247e;_0x39016d(this,_0x28be42(0x3ad),0x0),_0x39016d(this,_0x28be42(0x33a),new _0x2d244b['Subject']()),_0x39016d(this,_0x28be42(0x432),this['_change$']),_0x39016d(this,_0x28be42(0x2a8),new Map()),(this[_0x28be42(0x163)]=_0x768289,this[_0x28be42(0x546)]=_0x2ee562,this['_univerInstanceService']=_0x59bc3d);}[_0x50247e(0x241)](_0xa31764){const _0x59ad63=_0x50247e;this[_0x59ad63(0x3ad)]=_0xa31764,this[_0x59ad63(0x33a)][_0x59ad63(0x411)](_0xa31764);}[_0x50247e(0x42f)](_0x45f83b,_0x3506b1){const _0x122acb=_0x50247e;if(_0x3506b1===_0x2ea5ac[_0x122acb(0x591)]['BASE64']){const _0x7e2752=new Image();return _0x7e2752[_0x122acb(0x56f)]=_0x45f83b,_0x7e2752;}return this[_0x122acb(0x2a8)]['get'](_0x45f83b);}[_0x50247e(0x254)](_0x4fb54c,_0x1fa670,_0x3ee6c9){const _0x533237=_0x50247e;_0x1fa670===_0x2ea5ac['ImageSourceType'][_0x533237(0x493)]||_0x3ee6c9==null||this['_imageSourceCache'][_0x533237(0xed)](_0x4fb54c,_0x3ee6c9);}async[_0x50247e(0x586)](_0x562089){const _0x4ca7ca=_0x50247e;try{const _0x5490f7=this['_replaceFileID'](this['_getSignURL'](),''+_0x562089),_0x454517=(await this[_0x4ca7ca(0x163)][_0x4ca7ca(0x40e)](_0x5490f7))[_0x4ca7ca(0xf1)];if(_0x454517['error']&&_0x454517[_0x4ca7ca(0x54c)][_0x4ca7ca(0x1aa)]===_0x5e47c6['OK']){const _0x2bd73b=new URL(_0x454517[_0x4ca7ca(0x123)],this[_0x4ca7ca(0x4ea)]())[_0x4ca7ca(0x55b)]();return Promise['resolve'](_0x2bd73b);}return Promise['reject'](_0x454517['error']);}catch(_0x1a3872){return Promise[_0x4ca7ca(0x533)](_0x1a3872);}}async['saveImage'](_0x395a31){const _0x31a665=_0x50247e;let _0x7ae383='';if(!_0xda8cec[_0x31a665(0x1bd)](_0x395a31[_0x31a665(0x112)]))return this[_0x31a665(0x190)](),Promise['reject'](new Error(_0x2ea5ac['ImageUploadStatusType'][_0x31a665(0x1e5)]));if(_0x395a31[_0x31a665(0x18e)]>_0x3a770d)return this[_0x31a665(0x190)](),Promise[_0x31a665(0x533)](new Error(_0x2ea5ac['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x22d5ef=new FormData();_0x22d5ef[_0x31a665(0x49a)](_0x31a665(0x246),_0x395a31);const _0x2699ac=this['_univerInstanceService'][_0x31a665(0x240)](),_0x3d5661=_0x2699ac==null?void 0x0:_0x2699ac[_0x31a665(0x15e)]();if(!_0x3d5661)throw new Error('unitId\x20is\x20not\x20found');const _0x4c1ec1=this[_0x31a665(0x466)]()+'?size='+_0x395a31[_0x31a665(0x18e)]['toString']()+_0x31a665(0x2c6)+_0x51f94f[_0x31a665(0x550)]+_0x31a665(0x1cf)+encodeURIComponent(_0x3d5661),_0x5f32d1=await(await fetch(_0x4c1ec1,{'method':_0x31a665(0x1d2),'body':_0x22d5ef}))[_0x31a665(0x169)]();if(typeof _0x5f32d1[_0x31a665(0x360)]!=_0x31a665(0x1cd))return this['_decreaseWaiting'](),Promise[_0x31a665(0x533)](new Error(_0x2ea5ac[_0x31a665(0x11d)][_0x31a665(0x457)]));_0x7ae383=_0x5f32d1[_0x31a665(0x360)];}catch{return this['_decreaseWaiting'](),Promise[_0x31a665(0x533)](new Error(_0x2ea5ac[_0x31a665(0x11d)][_0x31a665(0x457)]));}return new Promise((_0x481ab5,_0x374bea)=>{const _0x386ff3=_0x31a665,_0x357e9f=new FileReader();_0x357e9f[_0x386ff3(0x2ee)](_0x395a31),_0x357e9f[_0x386ff3(0x494)]=_0x1e0ab9=>{const _0x392c12=_0x386ff3;var _0x18b9c1;const _0x95372=(_0x18b9c1=_0x1e0ab9[_0x392c12(0x450)])==null?void 0x0:_0x18b9c1['result'];if(_0x95372==null){this[_0x392c12(0x190)](),_0x374bea(new Error(_0x2ea5ac[_0x392c12(0x11d)][_0x392c12(0x457)]));return;}const _0x437875=_0x47a99f[_0x392c12(0x4b7)][_0x392c12(0x4fb)](0x6);_0x481ab5({'imageId':_0x437875,'imageSourceType':_0x2ea5ac[_0x392c12(0x591)][_0x392c12(0x4dc)],'source':_0x7ae383,'base64Cache':_0x95372,'status':_0x2ea5ac[_0x392c12(0x11d)]['SUCCUSS']}),this[_0x392c12(0x190)]();};});}[_0x50247e(0x466)](){const _0x5476ef=_0x50247e;var _0x41651c,_0x96e866;const _0xbbd19c=this['_configService']['getConfig'](_0x40b7fc),_0x1592e0=this[_0x5476ef(0x546)][_0x5476ef(0x39c)](_0x127413);return(_0x96e866=(_0x41651c=_0x1592e0==null?void 0x0:_0x1592e0[_0x5476ef(0x2c7)])!=null?_0x41651c:_0xbbd19c)!=null?_0x96e866:_0x2f4868;}[_0x50247e(0x55c)](){const _0x49f32d=_0x50247e;var _0x4f5f8f,_0x1366a0;const _0x58a9e0=this[_0x49f32d(0x546)][_0x49f32d(0x39c)](_0x47e59a),_0x4a3f39=this[_0x49f32d(0x546)][_0x49f32d(0x39c)](_0x127413);return(_0x1366a0=(_0x4f5f8f=_0x4a3f39==null?void 0x0:_0x4a3f39['signUrlServerUrl'])!=null?_0x4f5f8f:_0x58a9e0)!=null?_0x1366a0:_0x448a0b;}[_0x50247e(0x4ea)](){const _0x3d2672=_0x50247e;var _0x2dd765;const _0x513e76=this[_0x3d2672(0x546)][_0x3d2672(0x39c)](_0x127413);return(_0x2dd765=_0x513e76==null?void 0x0:_0x513e76[_0x3d2672(0x4ab)])!=null?_0x2dd765:location[_0x3d2672(0xda)];}[_0x50247e(0x554)](_0x4f48a9,_0x126feb){const _0xbff364=_0x50247e;return _0x4f48a9[_0xbff364(0x171)]('{fileID}',_0x126feb);}[_0x50247e(0x190)](){const _0x3a8ef8=_0x50247e;this[_0x3a8ef8(0x3ad)]-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x10e5bc['ImageIoService']=_0x1b240d([_0x4ea7b0(0x0,_0x47a99f[_0x50247e(0x30e)](_0x1c568b[_0x50247e(0x590)])),_0x4ea7b0(0x1,_0x47a99f['IConfigService']),_0x4ea7b0(0x2,_0x47a99f[_0x50247e(0x30e)](_0x47a99f[_0x50247e(0x180)]))],_0x10e5bc[_0x50247e(0x3a4)]);var _0x1885ea=Object[_0x50247e(0x2af)],_0x47f136=Object[_0x50247e(0x135)],_0x4601fe=(_0x1c42e8,_0x32e6dd,_0x204cba,_0x306e25)=>{const _0x42275a=_0x50247e;for(var _0x2731b5=_0x306e25>0x1?void 0x0:_0x306e25?_0x47f136(_0x32e6dd,_0x204cba):_0x32e6dd,_0x48a431=_0x1c42e8[_0x42275a(0x1f1)]-0x1,_0x14dfa3;_0x48a431>=0x0;_0x48a431--)(_0x14dfa3=_0x1c42e8[_0x48a431])&&(_0x2731b5=(_0x306e25?_0x14dfa3(_0x32e6dd,_0x204cba,_0x2731b5):_0x14dfa3(_0x2731b5))||_0x2731b5);return _0x306e25&&_0x2731b5&&_0x1885ea(_0x32e6dd,_0x204cba,_0x2731b5),_0x2731b5;},_0x1f3d9f=(_0x1334ac,_0x7e75ea)=>(_0xc7a1de,_0x5c913f)=>_0x7e75ea(_0xc7a1de,_0x5c913f,_0x1334ac);let _0x13a481=class extends _0x47a99f[_0x50247e(0x378)]{constructor(_0x39aedd,_0x33427c,_0xf809e2,_0x599f18,_0x1f8df0){const _0x64bae=_0x50247e;super(),this['_injector']=_0x39aedd,this['_univerInstanceService']=_0x33427c,this[_0x64bae(0x3a8)]=_0xf809e2,this['_collaborationSessionService']=_0x599f18,this[_0x64bae(0x216)]=_0x1f8df0,this[_0x64bae(0x397)](),this[_0x64bae(0x23d)]();}[_0x50247e(0x23d)](){const _0x4dca44=_0x50247e,_0x1bdf10=async _0x315acf=>{const _0x30f0e6=_0x5c6e;(await this[_0x30f0e6(0x255)][_0x30f0e6(0x1b9)](_0x315acf))[_0x30f0e6(0x419)]['pipe'](_0x822d8b[_0x30f0e6(0x3ae)](_0x40fd1e=>_0x40fd1e[_0x30f0e6(0x38a)]===_0x413309[_0x30f0e6(0x3d7)][_0x30f0e6(0x4e5)]),_0x822d8b[_0x30f0e6(0x31b)](this['dispose$']))['subscribe'](_0x228605=>{const _0x52642f=_0x30f0e6,_0x57d6ca=_0x228605,{reason:_0x4ea2fd}=_0x57d6ca['data'];this[_0x52642f(0x210)][_0x52642f(0x40e)](_0x2eba72[_0x52642f(0x2e4)])['show']({'type':_0x5629a0[_0x52642f(0x2b4)][_0x52642f(0x196)],'content':this[_0x52642f(0x216)]['t'](_0x52642f(0x162))+'('+_0x4ea2fd+')'}),this[_0x52642f(0x3a8)][_0x52642f(0x2a7)](new _0x3500ce['WorkbookEditablePermission'](_0x315acf)['id'],!0x1),this[_0x52642f(0x255)][_0x52642f(0x205)](_0x315acf);});};_0x2d244b['merge'](this[_0x4dca44(0x286)][_0x4dca44(0x33d)](_0x47a99f['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x4dca44(0x33d)](_0x47a99f[_0x4dca44(0xfc)][_0x4dca44(0x53f)]))[_0x4dca44(0x48c)](_0x822d8b['map'](_0x42bc35=>_0x42bc35[_0x4dca44(0x15e)]()),_0x822d8b[_0x4dca44(0x3ae)](_0x3231e5=>!_0x47a99f['isInternalEditorID'](_0x3231e5)),_0x822d8b['takeUntil'](this[_0x4dca44(0x3dc)]))['subscribe'](_0x4e8edf=>{_0x1bdf10(_0x4e8edf);});}[_0x50247e(0x397)](){const _0x2aa098=_0x50247e,_0x3700d2=async _0x1199bf=>{const _0x598b77=_0x5c6e;(await this[_0x598b77(0x255)][_0x598b77(0x1b9)](_0x1199bf))[_0x598b77(0x419)][_0x598b77(0x48c)](_0x822d8b['filter'](_0x342037=>_0x342037[_0x598b77(0x38a)]===_0x413309[_0x598b77(0x3d7)][_0x598b77(0x28d)]),_0x822d8b['takeUntil'](this[_0x598b77(0x3dc)]))['subscribe'](_0x29b610=>{const _0x39dbb1=_0x598b77,_0x4edcdb=_0x29b610,{objectId:_0x26e674}=_0x4edcdb['data'],_0x133462=this[_0x39dbb1(0x210)][_0x39dbb1(0x40e)](_0x3187a7[_0x39dbb1(0x106)]);_0x26e674===_0x1199bf?_0x133462['initWorkbookPermissionChange'](_0x1199bf):_0x133462[_0x39dbb1(0x1d1)](_0x1199bf,_0x26e674);});};_0x2d244b[_0x2aa098(0xd6)](this[_0x2aa098(0x286)][_0x2aa098(0x33d)](_0x47a99f['UniverInstanceType'][_0x2aa098(0x508)]),this['_univerInstanceService'][_0x2aa098(0x33d)](_0x47a99f[_0x2aa098(0xfc)][_0x2aa098(0x53f)]))[_0x2aa098(0x48c)](_0x822d8b[_0x2aa098(0x14d)](_0x51ed92=>_0x51ed92['getUnitId']()),_0x822d8b[_0x2aa098(0x3ae)](_0x15b95f=>!_0x47a99f[_0x2aa098(0x324)](_0x15b95f)),_0x822d8b[_0x2aa098(0x31b)](this['dispose$']))[_0x2aa098(0x436)](_0x50529b=>{_0x3700d2(_0x50529b);});}};_0x13a481=_0x4601fe([_0x1f3d9f(0x0,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['Injector'])),_0x1f3d9f(0x1,_0x47a99f[_0x50247e(0x180)]),_0x1f3d9f(0x2,_0x47a99f[_0x50247e(0x50a)]),_0x1f3d9f(0x3,_0x47a99f[_0x50247e(0x30e)](_0x10e5bc[_0x50247e(0x4b8)])),_0x1f3d9f(0x4,_0x47a99f['Inject'](_0x47a99f[_0x50247e(0xe9)]))],_0x13a481);var _0x427aca=Object['defineProperty'],_0x5eed0e=Object[_0x50247e(0x135)],_0xd428fe=(_0x124be4,_0x4c823a,_0x52590f,_0x1ea140)=>{const _0x5456be=_0x50247e;for(var _0x46016c=_0x1ea140>0x1?void 0x0:_0x1ea140?_0x5eed0e(_0x4c823a,_0x52590f):_0x4c823a,_0xdc9b04=_0x124be4[_0x5456be(0x1f1)]-0x1,_0x3ad1e0;_0xdc9b04>=0x0;_0xdc9b04--)(_0x3ad1e0=_0x124be4[_0xdc9b04])&&(_0x46016c=(_0x1ea140?_0x3ad1e0(_0x4c823a,_0x52590f,_0x46016c):_0x3ad1e0(_0x46016c))||_0x46016c);return _0x1ea140&&_0x46016c&&_0x427aca(_0x4c823a,_0x52590f,_0x46016c),_0x46016c;},_0x5f4e4c=(_0xaaf67,_0x51acd0)=>(_0x5a988a,_0x19af93)=>_0x51acd0(_0x5a988a,_0x19af93,_0xaaf67);_0x10e5bc['SnapshotServerOverHTTPService']=class{constructor(_0x2bdbc5,_0x10a61a){this['_configService']=_0x2bdbc5,this['_httpService']=_0x10a61a;}async[_0x50247e(0x2f9)](_0x2fdb69,_0x2629de){const _0x33dd76=_0x50247e;var _0x3e18a2;const {unitID:_0x1de943,type:_0x5b0756,revision:_0x54ed7d=0x0}=_0x2629de,_0x3040c6=this['_getSnapshotAPIPrefix']()+'/'+_0x5b0756+_0x33dd76(0xca)+_0x1de943+_0x33dd76(0x524)+_0x54ed7d,_0x353f4f=(await this[_0x33dd76(0x163)][_0x33dd76(0x40e)](_0x3040c6))[_0x33dd76(0xf1)],_0x413ac6=(_0x3e18a2=_0x353f4f['snapshot'])==null?void 0x0:_0x3e18a2[_0x33dd76(0x271)];if(_0x413ac6){const _0x5004b9=_0x413ac6==null?void 0x0:_0x413ac6[_0x33dd76(0x4b4)],_0x32a2f1=_0x413309[_0x33dd76(0x27b)][_0x33dd76(0x341)](_0x413309['b64DecodeUnicode'](_0x5004b9));_0x413ac6[_0x33dd76(0x4b4)]=_0x32a2f1,Object[_0x33dd76(0x2b8)](_0x413ac6['sheets'])['forEach'](([,_0x45558a])=>{const _0x52373b=_0x33dd76,_0x1090df=_0x45558a[_0x52373b(0x4b4)],_0x14241a=_0x413309['textEncoder']['encode'](_0x413309[_0x52373b(0x1d4)](_0x1090df));_0x45558a['originalMeta']=_0x14241a;});}return _0x353f4f;}async[_0x50247e(0x372)](_0x3a6965,_0x7544c1){const _0x2a697c=_0x50247e,{unitID:_0x29057f,type:_0x8a5daa,blockID:_0x4c1edd}=_0x7544c1,_0x21d435=this[_0x2a697c(0x287)]()+'/'+_0x8a5daa+_0x2a697c(0xca)+_0x29057f+'/block/'+_0x4c1edd;return(await this[_0x2a697c(0x163)][_0x2a697c(0x40e)](_0x21d435))['body'];}async[_0x50247e(0x2d8)](_0x4bb993,_0x10251c){const _0x2f4dff=_0x50247e,{unitID:_0x32f089,type:_0xa9d41f,blockID:_0x2d2ab0}=_0x10251c,_0x266dc0=this[_0x2f4dff(0x287)]()+_0x2f4dff(0x3a0)+_0xa9d41f+_0x2f4dff(0xca)+_0x32f089+'/block/'+_0x2d2ab0;return(await this[_0x2f4dff(0x163)][_0x2f4dff(0x40e)](_0x266dc0))['body'];}async[_0x50247e(0x13f)](_0x2750c1,_0x2d5df3){const _0x5111b9=_0x50247e,{unitID:_0x411391,type:_0xf3ade,from:_0x50723a,to:_0x8ab140}=_0x2d5df3,_0x1fdf0b=this['_getAPIPrefix']()+'/'+_0xf3ade+_0x5111b9(0xca)+_0x411391+_0x5111b9(0x1cc)+_0x50723a+'&to='+_0x8ab140;return(await this[_0x5111b9(0x163)]['get'](_0x1fdf0b))[_0x5111b9(0xf1)];}[_0x50247e(0x41c)](){const _0x42f485=_0x50247e;var _0x33a7da;return(_0x33a7da=this[_0x42f485(0x546)][_0x42f485(0x39c)](_0x5be1e2))!=null?_0x33a7da:this[_0x42f485(0x287)]();}[_0x50247e(0x287)](){const _0x57cbf8=_0x50247e;var _0x55339d,_0x5c31d2;const _0x222a3b=this[_0x57cbf8(0x546)][_0x57cbf8(0x39c)](_0xcbc024),_0xe797fd=this['_configService'][_0x57cbf8(0x39c)](_0x127413);return(_0x5c31d2=(_0x55339d=_0xe797fd==null?void 0x0:_0xe797fd[_0x57cbf8(0x374)])!=null?_0x55339d:_0x222a3b)!=null?_0x5c31d2:_0x4cba5a;}async[_0x50247e(0x200)](_0x3dd64e,_0x1e5ad2){const _0x594254=_0x50247e,_0x5c06e5=_0x594254(0x252)+_0x1e5ad2[_0x594254(0x112)]+_0x594254(0xca)+_0x1e5ad2['unitID']+_0x594254(0x133);return(await this['_httpService'][_0x594254(0x40e)](_0x5c06e5,{'params':{'resourceId':JSON[_0x594254(0x295)](_0x1e5ad2[_0x594254(0x4db)])}}))['body'];}[_0x50247e(0x24c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50247e(0x1d3)](){const _0x462883=_0x50247e;throw new Error(_0x462883(0x3e3));}[_0x50247e(0x3fc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50247e(0x40b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50247e(0x109)](){const _0x508272=_0x50247e;throw new Error(_0x508272(0x3e3));}},_0x10e5bc[_0x50247e(0x100)]=_0xd428fe([_0x5f4e4c(0x0,_0x47a99f[_0x50247e(0x268)]),_0x5f4e4c(0x1,_0x47a99f['Inject'](_0x1c568b['HTTPService']))],_0x10e5bc['SnapshotServerOverHTTPService']);var _0x31b5bf=Object['defineProperty'],_0x40d0f1=Object[_0x50247e(0x135)],_0x2a5155=(_0x2cca45,_0x2c2360,_0x52c4f8,_0x506ffe)=>{const _0x134e7e=_0x50247e;for(var _0x191eb4=_0x506ffe>0x1?void 0x0:_0x506ffe?_0x40d0f1(_0x2c2360,_0x52c4f8):_0x2c2360,_0x292b31=_0x2cca45[_0x134e7e(0x1f1)]-0x1,_0x42f5d4;_0x292b31>=0x0;_0x292b31--)(_0x42f5d4=_0x2cca45[_0x292b31])&&(_0x191eb4=(_0x506ffe?_0x42f5d4(_0x2c2360,_0x52c4f8,_0x191eb4):_0x42f5d4(_0x191eb4))||_0x191eb4);return _0x506ffe&&_0x191eb4&&_0x31b5bf(_0x2c2360,_0x52c4f8,_0x191eb4),_0x191eb4;},_0x426115=(_0x1a2266,_0x53984b)=>(_0x12c4b7,_0x55794e)=>_0x53984b(_0x12c4b7,_0x55794e,_0x1a2266);let _0x57c277=class extends _0x47a99f[_0x50247e(0x39b)]{constructor(_0x3cef5f,_0x38aaf0,_0x4b192e,_0x31d19e,_0xc95023){const _0x75e285=_0x50247e;super(_0x3cef5f,_0x38aaf0,_0x4b192e),this[_0x75e285(0x263)]=_0x31d19e,this['_logService']=_0xc95023;}[_0x50247e(0x21a)](_0x46f0b4,_0x537a37){const _0x21030b=_0x50247e,_0x54b65c=this[_0x21030b(0x17b)](_0x46f0b4);if(_0x54b65c)try{const _0x23bb54=this[_0x21030b(0x22e)](_0x54b65c,_0x537a37);this[_0x21030b(0x208)](_0x46f0b4,_0x23bb54);}catch(_0x26d922){this[_0x21030b(0x2fa)]['error'](_0x21030b(0xd5),_0x26d922),this[_0x21030b(0x509)](_0x46f0b4);}const _0x249dd7=this[_0x21030b(0x189)](_0x46f0b4);if(_0x249dd7)try{const _0x175a59=this['_transformStack'](_0x249dd7,_0x537a37);this['_substituteRedoStack'](_0x46f0b4,_0x175a59);}catch(_0xa69c1a){this['_logService']['error'](_0xa69c1a),this[_0x21030b(0x424)](_0x46f0b4);}}['_clearUndo'](_0x3086f6){const _0x2bc274=_0x50247e,_0x392d93=this[_0x2bc274(0x17b)](_0x3086f6);_0x392d93&&(_0x392d93['length']=0x0,this['_updateStatus']());}[_0x50247e(0x424)](_0x5f3767){const _0x2295d2=_0x50247e,_0xc753f9=this['_getRedoStack'](_0x5f3767);_0xc753f9&&(_0xc753f9[_0x2295d2(0x1f1)]=0x0,this['_updateStatus']());}[_0x50247e(0x208)](_0x1d0014,_0x21289b){const _0x13f393=_0x50247e;this[_0x13f393(0x46f)][_0x13f393(0xed)](_0x1d0014,_0x21289b),this[_0x13f393(0x547)]();}[_0x50247e(0xe4)](_0x3a8b30,_0x2b7b59){const _0x5be668=_0x50247e;this[_0x5be668(0x41f)]['set'](_0x3a8b30,_0x2b7b59),this[_0x5be668(0x547)]();}[_0x50247e(0x22e)](_0x4cc52f,_0x10f115){const _0x2d5638=_0x50247e,_0x35938d=[];let _0x49ca78=_0x10f115,_0x56cb57=_0x10f115;for(let _0x2a6c36=_0x4cc52f[_0x2d5638(0x1f1)]-0x1;_0x2a6c36>=0x0;_0x2a6c36--){const {unitID:_0x18af2f,undoMutations:_0x452db5,redoMutations:_0x1ce25a}=_0x4cc52f[_0x2a6c36],_0x5d6cb0=this[_0x2d5638(0x263)][_0x2d5638(0x563)](_0x49ca78,_0x452db5),_0x29f911=this[_0x2d5638(0x263)][_0x2d5638(0x563)](_0x56cb57,_0x1ce25a);if(_0x413309['isTransformMutationsWithChangesetFailure'](_0x5d6cb0)||_0x413309['isTransformMutationsWithChangesetFailure'](_0x29f911)){this[_0x2d5638(0x2fa)][_0x2d5638(0x54c)](_0x2d5638(0xd5),_0x2d5638(0x225),_0x5d6cb0,_0x29f911);break;}_0x49ca78=_0x5d6cb0[_0x2d5638(0x363)],_0x56cb57=_0x29f911['c1Prime'],_0x35938d[_0x2d5638(0x421)]({'unitID':_0x18af2f,'undoMutations':_0x5d6cb0[_0x2d5638(0x52d)],'redoMutations':_0x29f911[_0x2d5638(0x52d)]});}return _0x35938d['reverse']();}};_0x57c277=_0x2a5155([_0x426115(0x0,_0x47a99f[_0x50247e(0x180)]),_0x426115(0x1,_0x47a99f[_0x50247e(0x417)]),_0x426115(0x2,_0x47a99f[_0x50247e(0x517)]),_0x426115(0x3,_0x413309[_0x50247e(0x282)]),_0x426115(0x4,_0x47a99f[_0x50247e(0x18f)])],_0x57c277);class _0x181059 extends _0x47a99f[_0x50247e(0x378)]{constructor(){const _0x1a17fe=_0x50247e;super(),_0x39016d(this,_0x1a17fe(0x2c2)),this['urlChange$']=_0x2d244b['fromEvent'](window,_0x1a17fe(0x122))[_0x1a17fe(0x48c)](_0x2d244b[_0x1a17fe(0x31b)](this[_0x1a17fe(0x3dc)]),_0x2d244b[_0x1a17fe(0x4b6)](0x1),_0x2d244b['mapTo'](void 0x0));}['setParam'](_0x3932e1,_0x8c7695,_0x37f873=!0x1){const _0x189497=_0x50247e,_0x224cae=new URL(window[_0x189497(0x4e0)]['href']);_0x224cae[_0x189497(0x51a)][_0x189497(0xed)](_0x3932e1,_0x8c7695),_0x37f873?window[_0x189497(0x43e)][_0x189497(0x3a6)]('','',_0x224cae['toString']()):window[_0x189497(0x43e)][_0x189497(0x2a5)]('','',_0x224cae[_0x189497(0x55b)]());}[_0x50247e(0x454)](_0x3db8c5,_0xab35d9=!0x1){const _0x1b6e9d=_0x50247e,_0x219b1a=new URL(window[_0x1b6e9d(0x4e0)][_0x1b6e9d(0x331)]);_0x219b1a[_0x1b6e9d(0x51a)]['delete'](_0x3db8c5),_0xab35d9?window[_0x1b6e9d(0x43e)][_0x1b6e9d(0x3a6)]('','',_0x219b1a[_0x1b6e9d(0x55b)]()):window[_0x1b6e9d(0x43e)][_0x1b6e9d(0x2a5)]('','',_0x219b1a[_0x1b6e9d(0x55b)]());}[_0x50247e(0x42a)](_0x17b103){const _0x5bf53f=_0x50247e;var _0x2b642f;return(_0x2b642f=new URL(window[_0x5bf53f(0x4e0)]['href'])['searchParams'][_0x5bf53f(0x40e)](_0x17b103))!=null?_0x2b642f:void 0x0;}}var _0x47d8b3=Object['defineProperty'],_0x10a20a=Object[_0x50247e(0x135)],_0x59423d=(_0x4312fb,_0x5210c6,_0x6e5666)=>_0x5210c6 in _0x4312fb?_0x47d8b3(_0x4312fb,_0x5210c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6e5666}):_0x4312fb[_0x5210c6]=_0x6e5666,_0x34a02c=(_0x2c33e5,_0x321ea8,_0x4549ee,_0x284ae5)=>{for(var _0x5e38c0=_0x284ae5>0x1?void 0x0:_0x284ae5?_0x10a20a(_0x321ea8,_0x4549ee):_0x321ea8,_0x219dd6=_0x2c33e5['length']-0x1,_0x17d6b2;_0x219dd6>=0x0;_0x219dd6--)(_0x17d6b2=_0x2c33e5[_0x219dd6])&&(_0x5e38c0=(_0x284ae5?_0x17d6b2(_0x321ea8,_0x4549ee,_0x5e38c0):_0x17d6b2(_0x5e38c0))||_0x5e38c0);return _0x284ae5&&_0x5e38c0&&_0x47d8b3(_0x321ea8,_0x4549ee,_0x5e38c0),_0x5e38c0;},_0x357166=(_0x2fc444,_0x3e66fa)=>(_0x11c2a4,_0x3863bb)=>_0x3e66fa(_0x11c2a4,_0x3863bb,_0x2fc444),_0x2e6f34=(_0x136c53,_0x59f26d,_0x16b594)=>_0x59423d(_0x136c53,_0x59f26d+'',_0x16b594);const _0x43c3a7=_0x50247e(0x42c);_0x10e5bc[_0x50247e(0x3ba)]=class extends _0x47a99f['Plugin']{constructor(_0x45c0a8=_0x77c674,_0x57fd41,_0x422b47,_0x393e65,_0x232021){const _0x2f5199=_0x50247e;super(),this[_0x2f5199(0x2e5)]=_0x45c0a8,this['_logService']=_0x57fd41,this['_renderManagerService']=_0x422b47,this[_0x2f5199(0x210)]=_0x393e65,this[_0x2f5199(0x546)]=_0x232021;const {..._0x27d968}=this[_0x2f5199(0x2e5)];this['_configService'][_0x2f5199(0xd7)](_0x127413,_0x27d968);}[_0x50247e(0x496)](){const _0x224cb2=_0x50247e;this['_registerDependencies'](),this[_0x224cb2(0x2f3)]();}[_0x50247e(0x568)](){const _0x32b867=_0x50247e;_0x47a99f[_0x32b867(0x297)](this['_injector'],[[_0x428815]]);}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x39e982=_0x50247e;var _0x5417a2,_0x51ce2a,_0x5dfb98,_0x1a4573;this[_0x39e982(0x210)][_0x39e982(0x138)](_0x47a99f['IUndoRedoService'])&&this[_0x39e982(0x2fa)]['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5f500c=[[_0x47a99f[_0x39e982(0x22d)],{'useClass':_0x57c277}],[_0x10e5bc[_0x39e982(0x4b8)]],[_0x43dda4],[_0x4e7587,{'useClass':_0x181059}],[_0x10e5bc[_0x39e982(0x292)]],[_0x10e5bc[_0x39e982(0x53e)]],[_0x1c568b[_0x39e982(0x3d2)]],[_0x33c733],[_0x32e346],[_0x17a937],[_0x2353bd],[_0x4485db],[_0x9df690],[_0x282173],[_0xbc4e61],[_0x13a481],[_0x5927ab,{'useClass':(_0x51ce2a=(_0x5417a2=this[_0x39e982(0x2e5)])==null?void 0x0:_0x5417a2[_0x39e982(0x3e4)])!=null?_0x51ce2a:_0x10e5bc[_0x39e982(0x22b)]}],[_0x413309[_0x39e982(0x44d)],{'useClass':_0x10e5bc[_0x39e982(0x100)]}],[_0x47a99f['IAuthzIoService'],{'useClass':_0x10e5bc[_0x39e982(0x456)]}],[_0x2ea5ac[_0x39e982(0x20c)],{'useClass':_0x10e5bc['ImageIoService']}],[_0x10e5bc[_0x39e982(0x13e)]],[_0x10e5bc['DataLoaderController']],[_0x10e5bc[_0x39e982(0x1e4)]],[_0x428815],[_0x42d6b9]];(_0x5dfb98=this[_0x39e982(0x2e5)])!=null&&_0x5dfb98[_0x39e982(0xea)]&&_0x5f500c[_0x39e982(0x421)]([_0x849f9f,{'useClass':_0x2ccc8b}]),_0x47a99f['registerDependencies'](this[_0x39e982(0x210)],_0x47a99f['mergeOverrideWithDependencies'](_0x5f500c,(_0x1a4573=this['_config'])==null?void 0x0:_0x1a4573['override']));}[_0x50247e(0x2d0)](){const _0x16a3d5=_0x50247e;this[_0x16a3d5(0x39a)](this[_0x16a3d5(0x1db)]['registerRenderModule'](_0x47a99f[_0x16a3d5(0xfc)]['UNIVER_DOC'],[_0x541cbd])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x47a99f[_0x16a3d5(0xfc)][_0x16a3d5(0x508)],[_0x50dcea]));}[_0x50247e(0x2f3)](){const _0x36f2d2=_0x50247e;var _0x30758e,_0x3c0dfa;this[_0x36f2d2(0x210)][_0x36f2d2(0x40e)](_0x1c568b[_0x36f2d2(0x590)])[_0x36f2d2(0x57c)]({'priority':0x14,'interceptor':_0x1c568b[_0x36f2d2(0x1ad)]({'maxParallel':0x6})}),(_0x30758e=this[_0x36f2d2(0x2e5)])!=null&&_0x30758e[_0x36f2d2(0x1b7)]||this['_injector'][_0x36f2d2(0x40e)](_0x10e5bc[_0x36f2d2(0x53e)])[_0x36f2d2(0x4f2)](),(_0x3c0dfa=this[_0x36f2d2(0x2e5)])!=null&&_0x3c0dfa[_0x36f2d2(0x500)]&&_0x47a99f[_0x36f2d2(0x297)](this[_0x36f2d2(0x210)],[[_0x9df690]]),_0x47a99f['touchDependencies'](this[_0x36f2d2(0x210)],[[_0x282173],[_0x42d6b9],[_0x10e5bc[_0x36f2d2(0x345)]],[_0x10e5bc['CollaborationController']],[_0x10e5bc[_0x36f2d2(0x1e4)]],[_0x13a481]]);}},_0x2e6f34(_0x10e5bc['UniverCollaborationClientPlugin'],_0x50247e(0x45c),_0x43c3a7),_0x10e5bc[_0x50247e(0x3ba)]=_0x34a02c([_0x47a99f[_0x50247e(0x532)](_0x413309[_0x50247e(0x4e1)],_0x1c568b[_0x50247e(0x170)]),_0x357166(0x1,_0x47a99f[_0x50247e(0x18f)]),_0x357166(0x2,_0x231ab8[_0x50247e(0x1d5)]),_0x357166(0x3,_0x47a99f[_0x50247e(0x30e)](_0x47a99f['Injector'])),_0x357166(0x4,_0x47a99f[_0x50247e(0x268)])],_0x10e5bc[_0x50247e(0x3ba)]),_0x10e5bc[_0x50247e(0x1e9)]=_0x4c623f,_0x10e5bc['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x4e3366,_0x10e5bc['COLLAB_WEB_SOCKET_URL_KEY']=_0x3a9053,_0x10e5bc[_0x50247e(0x3d5)]=_0x2344e3,_0x10e5bc[_0x50247e(0x395)]=_0x4eef91,_0x10e5bc[_0x50247e(0x1fc)]=_0xbc4e61,_0x10e5bc[_0x50247e(0x250)]=_0x5aaa16,_0x10e5bc['HEARTBEAT_TIMEOUT_KEY']=_0x387811,_0x10e5bc[_0x50247e(0x3bf)]=_0x5927ab,_0x10e5bc[_0x50247e(0x3d6)]=_0x4e7587,_0x10e5bc[_0x50247e(0x321)]=_0x5a0929,_0x10e5bc['LOGIN_URL_KEY']=_0x527d3b,_0x10e5bc[_0x50247e(0x3cd)]=_0x4efaab,_0x10e5bc[_0x50247e(0x443)]=_0x59a3ef,_0x10e5bc['SNAPSHOT_SERVER_URL_KEY']=_0xcbc024,_0x10e5bc[_0x50247e(0x470)]=_0x5be1e2,_0x10e5bc[_0x50247e(0x34c)]=_0x4322d6,_0x10e5bc[_0x50247e(0x218)]=_0xfd98e2,_0x10e5bc['WebURLService']=_0x181059,_0x10e5bc[_0x50247e(0x46a)]=_0x5950d6,_0x10e5bc[_0x50247e(0x3ef)]=_0x520bf5,Object[_0x50247e(0x2af)](_0x10e5bc,Symbol[_0x50247e(0x473)],{'value':_0x50247e(0x290)});}));