@univerjs-pro/collaboration-client 0.4.1-nightly.202410281606 → 0.4.1-nightly.202410291304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +3 -1
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +6 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +18 -16
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 _0x1c29(){const _0x1012ec=['8167614BTMaBj','indexOf','isArray','failed\x20to\x20apply\x20missed\x20changesets!','parse','_commandService','SNAPSHOT_INVALID_SNAPSHOT','ivSize','[CollaborationSessionService]','cursorInfo','UniverIcon','IPermissionService','setShapeProps','4520625NRSLqW','getSheetObject','_clearScheduledTask','ImageUploadStatusType','key','image/png','_loadDoc','[UniverCollaborationClientPlugin]','equals','UPDATE_CURSOR','image/jpeg','onPointerMove$','_getLoginPath','hide','SnapshotServerOverHTTPService','_event$','_transformUndoredo','reqId','rgba(255,\x20255,\x20255,\x200.01)','liveShareNewHost','fillStyle','_getCtorByUniverType','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LEAVE','_getUndoStack','_startSheetCollabCursor','default','min','unit-cache-','_onConflict','CollaborationController','RxDisposable','_transformService','_scheduleClearOtherTimer','copyFileMeta','_doReset','_doProcessBlock','updatePermissionPoint','handleInsertRangeMoveRight','InsertColCommandId','CONNECTOR_DATA_TOO_LARGE','randomBytes','removeParam','HEARTBEAT_INTERVAL','onStateChange','_undoStacks','isTransformMutationsWithChangesetSuccess','shareReplay','permissionRejEvent','_docSyncEditingCollabCursorService','result','prototype','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createSocket','_onCursorDelete','ALREADY_EXISTS','push','m1Prime','commentUpdateEvent','8tSGSZo','useDependency','_cursors','endRow','collaMsg','sessionStatus$','WorkbookEditablePermission','NOT_FOUND','startColumn','[CollaborationState]:\x20apply\x20error!','unpad','_isPermissionRej','NodePositionConvertToRectRange','_getSnapshotAPIPrefix','_transformSelections','_createSocket','some','_exhaustRemoteChangesetQueue','FETCH_MISSING','_localCacheService','CollaborationSession','Tools','&assign=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_EXCEED_SIZE','tag','getOffsetConfig','_hash','urlChange$','_collabCursorState$','_onRemoteACK','close','evenodd','on-line-single_clip0_910_349','actions','enableOfflineEditing','IRenderManagerService','INVALID_ARGUMENT','getRenderById','YUUMI_URL_COL_OUT_OF_RANGE','processBlock','onlineStatusTitle','_clearLocalCache','registerRefRange','displayName','\x0aCurrent:\x20','csShouldRetryEvent','...','COMPLETION_FINISHED','_invKeySchedule','handleIRemoveRow','_pendingMutations','Latin1','6524FmBOup','unitID','with','encode','DependentOn','_telemetryService','SheetPermissionInitController','joinEvent','AES','replaceState','onRemoteRetry','DeleteRangeMoveLeftCommandId','UNKNOWN_CODE','_state','_lockTransition','padding','/universer-api/authz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformState','_ENC_XFORM_MODE','MSG_FOR_ERROR','UniverUi','disposeUnit','USERS_ENTER','_data','_createHandler','HEARTBEAT_INTERVAL_KEY','pushState','_status$','UNIVER_SLIDE','getDocRanges','HmacMD5','create','IRemoteInstanceService','\x20-\x20','localeService','init','_listenToOnlineEvent','getSheetBlock','FAIL','APPLY_DUPLICATED','getImageSourceCache','collabStatus.notCollab','_transformHistoryAndStateStack','SetSelectionsOperation','closeSession','React','getColor','flatMap','setShowComponents','clear','TEXT_RANGE_LAYER_INDEX','split','collaboration.closeRoom','Rectangle','[OfflineState]:\x20received\x20acknowledgement.','ICommandService','transformStateCache','/block/','_collabSessionService','_getUploadFileURL','currentSkeleton$','connectInjector','skeleton','_sessions','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','defs','selection','{fileID}','crypto','/unit/','[SyncedState]:\x20received\x20rejection.','_onLocalMutation','_urlService','keySize','list','socket$','reverse','_handleJoinEvent','APPLY_REJECT','HttpExport','round','_saveTaskMap','_sheetTransformSelectionsService','capture','resend','black','_prevBlock','/universer-api/file/{fileID}/sign-url','collabCursorState$','_throwTelemetryCollaborationNewChangeset','signUrlServerUrl','_change$','InsertRowCommandId','_initDependencies','CHANGESET_SHOULD_RETRY','put','@univerjs/sheets','conflict','_loadSheet','univer-pro.collaboration-client-socket-service','_initStatusComponent','commentUpdate$','COMPRESS_MUTATION_APPLY','LocalUndoRedoService','next','useCallback','186FdLsGc','/universer-api/comb','getCellPositionByOffset','setInterval','refreshPermission','add','_onMessage','ICollaborationSocketService','transformChangesets','Base','setConfig','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','bind','subunit','visibilitychange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','BASE64','startsWith','MemberService','_selfUnitIDs','onRemoteRej','execute','Base64','_cachedData','off-line-single','JOINING','_configService','url(#on-line-single_clip0_910_349)','\x20to\x20','_textBubble','readInt32LE','routeKey','LICENSE_MAX_UNITS_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','LIVESHARE_TERMINATE','ITransformService','lib','_transformRemoteChangesetByStateCache','onSyncEditingCollabCursor','bottom','sheets','Tooltip','assign','getInterceptPoints','_updateURLWithCurrentState','_onConnectionFailed','mutations','current','HEARTBEAT','translate(.97)','loginUrlKey','_handleLeaveEvent','getAncestorScale','mode','updateCollaborator','getUnitId','MergeInterceptorFactory','history','post','path','unit','_updateLocalCursor','react','params','function','_syncEditingCollabCursorService','BehaviorSubject','_name','getFocusedUnit','SHA1','OpenSSL','?url=','className','collabStatus.synced','M0\x200H16V16H0z','responseType','_online','[DataLoaderController]','Disposable','createEncryptor','[FetchMissState]','_changesetSessionId','AWAITING_WITH_PENDING','allowed','closePath','values','unload','drawWith','width','OnLineSingle','OFFLINE','offline','fromEvent','getUnit','_instanceService','not_collab','clone','BufferedBlockAlgorithm','_getCurrentRevision','PasswordBasedCipher','_cursor','setStateCache','state$','_lastPointer','saveOfflineData','substring','href','useObservable','serializeRangeWithSheet','CollaborationStatusDisplay','_transformStateCache','_submitChangeset','onPointerEnter$','selections','_updateState','stopTime','disableLocalCache','_disableEditing','_localeService','_univerInstanceService','@univerjs/network','json','_snapshotService','row','UnitEmbedded','toLowerCase','abs','debounce','SUCCUSS','onRendered','_initMergeInterceptor','_anchorDot','SNAPSHOT_HAS_BEEN_REMOVED','_transformUndoRedoStack','hostname','liveShareOperation','random','_checkMissing','gold400','online','method','_retryCount','pauseCollaboration','_logService','CipherParams','_executeRemoteChangeset','resourceIDs','_collaborationTimeoutTimer','getRandomValues','YUUMI_SUBSCRIPTION_NOT_FOUND','redoState','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','editingUnit','_config','LOGIN_URL_KEY','apply','onTransformRemoteChangesetByStateCache','open$','addEventListener','_oKey','url','isTransformChangesetsSuccess','error$','userID','_transitionLocked','DeleteRangeMoveUpCommandId','DocIMEInputManagerService','InsertRangeMoveDownCommandId','onMissedChangesetFetched','CollaborationEvent','fromCharCode','_redoStacks','TEXT','update','_clearOtherTimers','jiqing500','[PendingState]:\x20received\x20rejection.','_hideTimer','saveImage','entries','unknown','clearTimeout','getCollabCursors$','reject','/resources','RemoveRowCommandId','onCommandExecuted','1em','LIVESHARE_OPERATION','deserializeToCombResponse','HTTPRequest','LIVESHARE_NEW_HOST','_docSkeletonManagerService','/universer-api/snapshot/','Encryptor','_colorAssignService','fillText','subscribeEvent','transformUndoRedo','UniverCore','has','submit\x20changeset\x20error!','_getDownloadEndpointURL','_onRecvEvent','CommandType','infoRsp','_type','deleteCollaborator','unsubscribe','DOC_RANGE_TYPE','/rev/','_removeCollabCursors','session.will-retry','LICENSE_DISTRO_REJECTED','NEW_CHANGESETS','_updateSubUnitFromURLParams','createElement','getUndoRedoMutationParamsCache','popstate','defIds','socketService','addObject','isInternalEditorID','_clearHeartbeatTimer','_updateStatus','Inject','focused$','SEND_CHANGESET_TIMEOUT_KEY','_createHmacHelper','_replayCachedMutations','COLORS','substr','name','_parse','UniverInstanceType','top','concatMap','_entities','unitId\x20is\x20not\x20found','synced','590jehaQV','_onRemoteRetry','LocaleService','ImageSourceType','parseProtocolChangeset','_process','IUndoRedoService','collaboration-session-retry','getRangePointData','show','5843241nFXsvb','_initEventListeners','listCollaborators','_collaborationController','joinRsp','cmd','_hasher','_init','catch','_replaceFileID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_colorIndex','_createInitialStateImpl','onCommentUpdate','NO_OTHER_CLIENTS_EDITING','IUniverInstanceService','Malformed\x20UTF-8\x20data','@univerjs-pro/collaboration','uploadFileServerUrl','appendMutation','CollaborationSessionService','_getSignURL','colorChannel1','telemetry\x20info\x20is\x20not\x20initialized','_imageSourceCache','_memberService','_sender','Could\x20not\x20dynamically\x20require\x20\x22','/allowed','COLLAB_WEB_SOCKET_URL_KEY','size','_getRedoStack','_socketService','_getAPIPrefixPath','DesktopCollaborationStatusDisplayController','_handleHover','registerRenderModule','Vector2','_tryReconnect','PENDING','getCoordByCell','_draw','b64DecodeUnicode','_candidateSocket','EvpKDF','fill','send','ISnapshotServerService','putCollaborators','children','Injector','syncEditingCollabCursor','format','_transformPreviousActiveRange','CompressMutationService','code','clamp','_handleHeartbeatEvent','ITelemetryService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','height','_map','originalMeta','concat','collaboration-client.config','IBeforeCloseService','getSkeleton','onRemoteAck','_docTransformIMECacheService','removeMember','msCrypto','_scheduleCollaborationTimeoutTimer','APPLY_REVISION_CONFILICT','updateMember','_queuedRemoteChangesets','collabStatus.syncing','DocSkeletonManagerService','slice','INTERNAL_ERROR','_stopTelemetryCollaborationNewChangeset','RETRY_CONNECTING_MAX_COUNT','71181feGfJa','setCurrentUser','textRanges','_getSaveTimeout','getItem','restore','awaiting_with_pending','saveSnapshot','StreamCipher','collabWebSocketUrl','transformMutationsWithChangeset','isEditing','Error','ThemeService','x-univer-host','currentTheme$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_shapes','objectID','enc','AUTHZ_URL_KEY','collabStatus.conflict','hasOwnProperty','arc','getConfig','_remoteChangesetQueue','exhaustSavingTask','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','leaveEvent','[CollaborationSession]','UNIVER_SHEET','_assignedColors','registerBeforeClose','_collabCursorController','repeat','getRoom','beginPath','executeCommand','transformSelections','_docStateChangeManagerService','_sendHeartbeatTimer','_waitForHeartbeatResponse','UPDATE_PERMISSION_OBJ','_onJoinRoomEvent','WebSocketService','ReplaySubject','_clearCollaborationTimeoutTimer','_range','_HTTPService','UUID','Subject','COLLAB_WEB_SOCKET_URL','HELLO','handleInsertRow','IConfigService','save\x20fail\x20reason\x20is\x20','authzUrl','_initResize','_onFetchMissResult','_docTransformSelectionsService','startTime','_singleActiveUnitService','_sendingTimer','toggleOffline','clearInterval','transformIMECache','SheetsSelectionsService','compute','_xformMode','sessionStatus','headers','setParam','HEARTBEAT_TIMEOUT','string','conflict.content','getTime','Pkcs7','HMAC','_scheduleTimestamp','UniverDesign','_minBufferSize','HEARTBEAT_TIMEOUT_KEY','idSuffix','_context','salt','_transformRemoteChangesetByIMECache','isTransformMutationFailure','HTTPService','/collaborator','UniverCollaborationClientPlugin','pluginName','AuthzIoHttpService','words','hidden','CONFLICT','_unitID','_registerRenderDependencies','_transformIMECache','@univerjs/rpc','_transformStack','enableAuthServer','url(#off-line-single_clip0_910_343)','_schedule','_compressMutationService','@univerjs/core','_onCursorUpdate','LOCAL_CACHE_INTERVAL_KEY','UserManagerService','CollaborationEntity','UniverDocsUi','getOwnPropertySymbols','_notificationService','dispose$','algo','xlink:href','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','changesets','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_createHelper','@univerjs/drawing','deepClone','objectActions','now','collab-text-anchor-','requireSession','activeSheet$','combineLatest','data','takeUntil','univer-online-status-icon','_startCollaboration','clipPath','_drawAnchor','src','getWorkbookSelections','UNIVER_PROJECT','_collaborationSessionService','_messageService','mapDocumentTypeToUniverType','MD5','kdf','merge','Decryptor','SetTextSelectionsOperation','m2Prime','_getScale','updateCursorEvent','UNDEFINED','PERMISSION_REJ','registerDependencies','_snapshotServerService','assignAColorForMemberID','toDisposable','RefRangeService','_roomMembers','LocalCacheService','_getMergeRange','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','_state$','@univerjs/design','SerializableCipher','onlineStatusIcon','ACTIVE_UNIT_EVENT_CHANNEL','encryptBlock','ONLINE','filter','Optional','debug','body','DocSelectionManagerService','_rescheduleHeartbeat','@univerjs/ui','loadDoc','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','event$','createIdentifier','UniverRpc','_substituteRedoStack','debounceTime','IAuthzIoService','_key','doc.mutation.rich-text-editing','UniverNetwork','textEncoder','_http','url(#$1','pipe','_retryConnectingTimer','DEFAULT_FILE_NAME','saveSheetBlock','NoPadding','_socket$','map','_getAnchorBounding','charAt','_createInitialState','CHANGESET_ACK','_ensureSubject','UniverDrawing','transformMutation','decrypt','collabStatus.offline','subUnitId','_resendTimer','toggleOnline','then','DocCollaborationEntity','_injector','onMouseMove','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ENSURE_SNAPSHOT_EXECUTION','loadSheet','serializeCombRequest','CHANGESET_REVISION_CONFILICT','triggerDblclick','off-line-single_clip0_910_343','encrypt','ILocalStorageService','_changesetReqId','duration','_collaborationPaused','_initStatusListener','batchAllowed','_onUserJoin','_updateLocalCache','uni.network.url-service','_entityInit$','EffectRefRangId','getParam','hasher','UniverEngineRender','type','getCollabEntity','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','append','SEND_CHANGESET_TIMEOUT','attrs','_joinRoom','_id','updateOfflineData','stringify','NodePositionConvertToCursor','setAlpha','state','VIEWPORT_KEY','withCredentials','svg','_initUnitPermissionChange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetchMiss','transform','lineTo','RECT','onRemoteChangeset','_handler','InsertSheetMutation','UniverSheets','0\x200\x2016\x2016','rxjs/operators','createCollaborator','conflict.title','POST','_ws','deserializeRangeWithSheet','UniverCollaborationClient','exports','docStateChange$','_beforeCloseService','complete','_onRemoteRejected','objectType','forwardRef','_scheduleSaving','_uiPartsService','_setupBeforeClosingHandler','find','registerComponent','toRgbString','session.connection-failed','connection\x20error','sheetID','baseRev','PERMISSION_DENIED','_docSkeleton','getDeserializedSheetBlock','_nRounds','FETCH_MISS','CollaborationSocketService','_iv','_doFinalize','_socket','_setupSubUnitSync','replace','delay','csAckEvent','getCurrentUnitForType','_document','Undefined','_drawTextRange','session.room-full','HmacSHA1','touchDependencies','_sheetSkeletonManagerService','RevisionService','Cipher','BlockCipher','onTransformSelections','_startDocCollabCursor','charCodeAt','/new_changes','confirm','setWaitCount','_userManagerService','range','set','sigBytes','defineProperty','_docTransformStateCacheService','requestParams','getUnitOnRev','mixIn','Warning','includes','getResourcesRequest','MoveRangeCommandId','getMember','useRef','max','#fff','HttpImport','univerjs-icon\x20univerjs-icon-','text','onTransformRemoteChangesetByIMECache','downloadEndpointUrl','Unknown\x20user','getActiveSheet','newValue','/fetchmissing?from=','_DEC_XFORM_MODE','_append','UnitSnapshot','SheetCollabCursorShape','loadOfflineData','getRelativeToViewportCoord','isPermissionRej','createInstance','_unitOnClients','/universer-api/stream/file/upload','_scene','SHOULD_CLOSE_CONN','INGEST','_incrementRevisionNumber','_startTelemetryCollaborationNewChangeset','__creator','enableSingleActiveInstanceLock','WebURLService','_toggleOffline','join','onTransformIME','onload','MessageType','pad','reduce','_initCloseConn','_resendTimeout','SheetCollaborationEntity','title','UniverSheetsUi','@univerjs/telemetry','_drawRectRange','_saveCache','backgroundColor','_localStorageService','ciphertext','operators','getCurrentUser','close$','SNAPSHOT_SERVER_URL_KEY','ceil','_members','roomMembers$','@univerjs/engine-render','_getSendChangesetTimeout','disposeWithMe','_socketReady','enableLocalCache','memberID','setTimeout','onSendChangeset','/object','_shouldReportTelemetry','session.collaboration-timeout','Univer','$super','_clearTimeoutTimer','roomInfos','icon','eventID','updatePermissionObjEvent','getUnitType','reconnect','c1Prime','_telemetryInfo','findNodePositionByCharIndex','location','Error\x20on\x20receiving\x20event','subscribe','sid','IURLService','pending','splice','ILogService','PSEUDO_FETCH_MISSING_RESULT','_send','YUUMI_UNABLE_LOAD_URL','switchMap','column','randomUUID','_sessionStatus$','purple300','permission.title','SUBMIT_CHANGESET','getViewport','USERS_LEAVE','getOwnPropertyDescriptor','generateRandomId','ColorKit','_toggleOnline','transformRemoteChangeset','getTypeOfUnitAdded$','transformByState','HEADER_MENU','color','_cursorShapes','_onRemoteChangeset','WordArray','collaboration.single-unit.warning','get','LIVESHARE_FETCH_OPERATIONS','_keyPriorReset','rev','_heartbeatTimer','_showConflictNotification','decryptBlock','ImageIoService','_fetchMissChangesets','transformStack\x20failed!','snapshot','_eventUnsubscribe','_renderManagerService','IDLE','_backgroundColor','APPLY_PERMISSION_DENIED','whenReady','_undoRedoService','_render','setUndoRedoMutationParamsCache','revision','image/jpg','cfg','Rect','_iKey','interceptor','_commentService','_updateCollabCursors','[SyncedState]:\x20received\x20acknowledgement.','_commentUpdate$','_resendWithTimeout','initWorkbookPermissionChange','currentColor','engine','_listenToOfflineEvent','Utf8','compose','message$','Module','NOT_COLLAB','reset','floor','unitId','DocStateChangeManagerService','none','_unitStatus','_httpService','_tryEnsureSocket','_clearRedo','extend','dispose','collab-text-range-','every','_cursorInfo$','_reverseMap','handleInsertRangeMoveDown','collaboration_new_changeset','ranges','toString','_session','univer-online','replaceTextRanges','_substituteUndoStack','getMergeData','_awaitingChangeset','image/bmp','listRoles','UniverCollaboration','[OfflineState]:\x20received\x20rejection.','_keySchedule','getCollabEntity$','roomMembers','forEach','object','resolve','CHANGESET_REJ','permission.content','getValue','awaiting','UniverEngineFormula','MUTATION','blockSize','_removeClearOtherTimer','_initRequestHeader','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_syncEditingCollabCursor','delete','_disabled','_registerDependencies','_roomMembers$','_refRangeService','status$','_onOffline','COLLAB_SUBMIT_CHANGESET_URL_KEY','resize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','parseChangesetToProtocol','change$','error','asObservable','_sendHeartbeat','getUnitStatus$','roles','OffLineSingle','shouldCloseConn','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_applyRemoteChangeset','_getSheetObject','getCurrentRevOfUnit','FromArray','getAllMembers','6yFMfap','take','_anchor','rng','@univerjs/engine-formula','_doCryptBlock','LICENSE_IMPORT_SIZE_EXCEEDED','_onConnectionOpen','_hovered','unshift','addImageSourceCache','_mode','makeDirty','isTransformMutationsWithChangesetFailure','undoState','_labelPosition','DataLoaderController','searchParams','getMemberID','_handleEvent','handleIRemoveCol','collabSubmitChangesetUrl','_acknowledgedAwaitingChangeset','_permissionService','isActive','univer-online-status-title','auth.needGotoLoginAlert','onlineStatus','IMessageService','on-line-single','measureText','rxjs','from','red300','sheetId','byteLength','save','RECV','_onRefRangeChange','collabStatus.fetchMiss','fetchThroughInterceptors','@univerjs/docs','_cipher','font','length','FileId','UNKNOWN_CMD','file','onMissingChangesets','fromEventSubject','COMPRESS_MUTATION_SEND','_nDataBytes','throttleTime','OTHER_CLIENTS_EDITING','2233812QjGLVb','UNAUTHENTICATED','_revisionService','RegularPolygon','getSheetBySheetId','\x20in\x20_schedule.','_getAPIPrefix','fetch_missing','incrementRevOfUnit','SNAPSHOT_URL_KEY','getStateCache','/-/object/-/batch_allowed','ERROR_IMAGE','DisposableCollection','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','_initCommandExecutedListener','SessionStatus','call','setItem','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-offline','blue400','collab-rect-range-','UNIVER_DOC','[CollaborationEntity]','[CollaborationUndoRedoService]','Hasher','@univerjs/docs-ui','status','getVpScrollXYInfoByPosToVp','origin','awaitingChangeset','editing\x20status\x20changed\x20to','action','_clearUndo','_decreaseWaiting','finalize','YUUMI_RATE_OVER_LIMIT','_hover','session','RichTextEditingMutation','_themeService','_socketMessageSubscription','cursorInfo$','LICENSE_EXPORT_SIZE_EXCEEDED','handleMoveRange','_timeoutTimer','createDecryptor','584040fmNeVb','_onUserLeave','_refreshCollabCursors','div','workbook','UNIVER_COLLABORATION_CLIENT_PLUGIN','_color','[OfflineState]:\x20received\x20changeset.','getSheetId','objects','CBC','registerHTTPInterceptor','JOIN','_unlockTransition','fetchMissingChangesets'];_0x1c29=function(){return _0x1012ec;};return _0x1c29();}function _0x181e(_0x29b23e,_0x5b6fb9){const _0x1c2935=_0x1c29();return _0x181e=function(_0x181ef4,_0x637685){_0x181ef4=_0x181ef4-0xe5;let _0x597686=_0x1c2935[_0x181ef4];return _0x597686;},_0x181e(_0x29b23e,_0x5b6fb9);}(function(_0xba0f14,_0x4d6128){const _0x2f72c8=_0x181e,_0xc2ac0f=_0xba0f14();while(!![]){try{const _0x5cec4a=parseInt(_0x2f72c8(0x154))/0x1*(-parseInt(_0x2f72c8(0xe8))/0x2)+parseInt(_0x2f72c8(0x52e))/0x3+-parseInt(_0x2f72c8(0x4fd))/0x4+-parseInt(_0x2f72c8(0x54a))/0x5*(-parseInt(_0x2f72c8(0x4c7))/0x6)+parseInt(_0x2f72c8(0x53d))/0x7+-parseInt(_0x2f72c8(0x585))/0x8*(parseInt(_0x2f72c8(0x24f))/0x9)+-parseInt(_0x2f72c8(0x245))/0xa*(-parseInt(_0x2f72c8(0x2a0))/0xb);if(_0x5cec4a===_0x4d6128)break;else _0xc2ac0f['push'](_0xc2ac0f['shift']());}catch(_0x2db883){_0xc2ac0f['push'](_0xc2ac0f['shift']());}}}(_0x1c29,0xcb5c2),function(_0x273bfc,_0x51c490){const _0x1b9b8f=_0x181e;typeof exports==_0x1b9b8f(0x4a0)&&typeof module<'u'?_0x51c490(exports,require(_0x1b9b8f(0x309)),require(_0x1b9b8f(0x4e6)),require(_0x1b9b8f(0x3a4)),require(_0x1b9b8f(0x341)),require(_0x1b9b8f(0x34d)),require('@univerjs/network'),require(_0x1b9b8f(0x260)),require(_0x1b9b8f(0x412)),require(_0x1b9b8f(0x519)),require(_0x1b9b8f(0x14a)),require('@univerjs/engine-render'),require(_0x1b9b8f(0x4f0)),require(_0x1b9b8f(0x318)),require(_0x1b9b8f(0x4cb)),require('@univerjs/sheets-ui'),require(_0x1b9b8f(0x193)),require(_0x1b9b8f(0x303))):typeof define==_0x1b9b8f(0x195)&&define['amd']?define(['exports',_0x1b9b8f(0x309),_0x1b9b8f(0x4e6),_0x1b9b8f(0x3a4),_0x1b9b8f(0x341),_0x1b9b8f(0x34d),_0x1b9b8f(0x1cd),_0x1b9b8f(0x260),_0x1b9b8f(0x412),_0x1b9b8f(0x519),_0x1b9b8f(0x14a),_0x1b9b8f(0x41f),_0x1b9b8f(0x4f0),_0x1b9b8f(0x318),_0x1b9b8f(0x4cb),'@univerjs/sheets-ui',_0x1b9b8f(0x193),'@univerjs/rpc'],_0x51c490):(_0x273bfc=typeof globalThis<'u'?globalThis:_0x273bfc||self,_0x51c490(_0x273bfc[_0x1b9b8f(0x3aa)]={},_0x273bfc[_0x1b9b8f(0x21c)],_0x273bfc[_0x1b9b8f(0x4e6)],_0x273bfc['rxjs'][_0x1b9b8f(0x418)],_0x273bfc[_0x1b9b8f(0x2f0)],_0x273bfc[_0x1b9b8f(0xfd)],_0x273bfc[_0x1b9b8f(0x358)],_0x273bfc[_0x1b9b8f(0x49a)],_0x273bfc['UniverTelemetry'],_0x273bfc[_0x1b9b8f(0x30e)],_0x273bfc[_0x1b9b8f(0x3a2)],_0x273bfc[_0x1b9b8f(0x388)],_0x273bfc['UniverDocs'],_0x273bfc[_0x1b9b8f(0x368)],_0x273bfc[_0x1b9b8f(0x4a6)],_0x273bfc[_0x1b9b8f(0x411)],_0x273bfc[_0x1b9b8f(0x116)],_0x273bfc[_0x1b9b8f(0x352)]));}(this,function(_0x5e2809,_0x27d805,_0x21eaf3,_0x3ee60a,_0x595b4d,_0x56239c,_0x311014,_0x3a188f,_0x3fe6a0,_0x89d13d,_0x6454ca,_0x48e10d,_0x599689,_0x5291d5,_0x4d7856,_0x51509b,_0x4a3358,_0x804f74){'use strict';const _0x4fb43a=_0x181e;var _0x893575=Object[_0x4fb43a(0x3de)],_0x338025=(_0x372b03,_0x465a0c,_0x178057)=>_0x465a0c in _0x372b03?_0x893575(_0x372b03,_0x465a0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178057}):_0x372b03[_0x465a0c]=_0x178057,_0x27d8b8=(_0x5121ec,_0x4e8d41,_0x249fd3)=>_0x338025(_0x5121ec,typeof _0x4e8d41!='symbol'?_0x4e8d41+'':_0x4e8d41,_0x249fd3);const _0x34b214=_0x4fb43a(0x41b),_0x2fc955='/universer-api/snapshot',_0x52ac5e=_0x4fb43a(0x506),_0x227929=_0x4fb43a(0x38d),_0x1030cd=_0x4fb43a(0x2d4),_0x249e0e='ws://127.0.0.1:8000/universer-api/comb/connect',_0x1692b3=_0x4fb43a(0x575),_0x41e4a2=_0x4fb43a(0x2e9),_0x1144ca=_0x4fb43a(0x29f),_0x2c583d='LOCAL_CACHE_INTERVAL',_0x5059e7='COLLAB_SUBMIT_CHANGESET_URL',_0x314d45=_0x4fb43a(0x155),_0x1fa733=_0x4fb43a(0x1ef),_0x57c04b='/universer-api/oidc/authpage';var _0x475b0d=(_0x2bd168=>(_0x2bd168[_0x2bd168[_0x4fb43a(0x334)]=0x0]='UNDEFINED',_0x2bd168[_0x2bd168['OK']=0x1]='OK',_0x2bd168[_0x2bd168[_0x4fb43a(0x29d)]=0x2]='INTERNAL_ERROR',_0x2bd168[_0x2bd168[_0x4fb43a(0x3bc)]=0x3]='PERMISSION_DENIED',_0x2bd168[_0x2bd168[_0x4fb43a(0x58c)]=0x4]=_0x4fb43a(0x58c),_0x2bd168[_0x2bd168[_0x4fb43a(0x4fe)]=0x5]='UNAUTHENTICATED',_0x2bd168[_0x2bd168[_0x4fb43a(0x581)]=0x6]=_0x4fb43a(0x581),_0x2bd168[_0x2bd168[_0x4fb43a(0x5aa)]=0x7]=_0x4fb43a(0x5aa),_0x2bd168[_0x2bd168[_0x4fb43a(0x33f)]=0x8]=_0x4fb43a(0x33f),_0x2bd168[_0x2bd168[_0x4fb43a(0x5b5)]=0x9]='COMPLETION_FINISHED',_0x2bd168[_0x2bd168['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4fb43a(0x377),_0x2bd168[_0x2bd168[_0x4fb43a(0x543)]=0x1771]=_0x4fb43a(0x543),_0x2bd168[_0x2bd168[_0x4fb43a(0x1d9)]=0x1772]=_0x4fb43a(0x1d9),_0x2bd168[_0x2bd168[_0x4fb43a(0x374)]=0x1773]=_0x4fb43a(0x374),_0x2bd168[_0x2bd168[_0x4fb43a(0x138)]=0x1b59]=_0x4fb43a(0x138),_0x2bd168[_0x2bd168[_0x4fb43a(0x175)]=0x1b5a]=_0x4fb43a(0x175),_0x2bd168[_0x2bd168['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4fb43a(0x297),_0x2bd168[_0x2bd168['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4fb43a(0x466),_0x2bd168[_0x2bd168[_0x4fb43a(0x110)]=0x1b5d]=_0x4fb43a(0x110),_0x2bd168[_0x2bd168[_0x4fb43a(0x572)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2bd168[_0x2bd168[_0x4fb43a(0x174)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2bd168[_0x2bd168['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4fb43a(0xf9),_0x2bd168[_0x2bd168[_0x4fb43a(0x4cd)]=0x232b]=_0x4fb43a(0x4cd),_0x2bd168[_0x2bd168[_0x4fb43a(0x52a)]=0x232c]=_0x4fb43a(0x52a),_0x2bd168[_0x2bd168[_0x4fb43a(0x22a)]=0x232d]=_0x4fb43a(0x22a),_0x2bd168[_0x2bd168[_0x4fb43a(0x440)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2bd168[_0x2bd168[_0x4fb43a(0x5ac)]=0x2712]=_0x4fb43a(0x5ac),_0x2bd168[_0x2bd168[_0x4fb43a(0x523)]=0x2713]=_0x4fb43a(0x523),_0x2bd168[_0x2bd168[_0x4fb43a(0x1ea)]=0x2714]=_0x4fb43a(0x1ea),_0x2bd168[_0x2bd168[_0x4fb43a(0x50c)]=-0x1]=_0x4fb43a(0x50c),_0x2bd168))(_0x475b0d||{}),_0x5c70c6=(_0x3348ce=>(_0x3348ce[_0x3348ce['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x3348ce[_0x3348ce[_0x4fb43a(0x515)]=0x1]=_0x4fb43a(0x515),_0x3348ce[_0x3348ce[_0x4fb43a(0x2bf)]=0x2]='UNIVER_SHEET',_0x3348ce[_0x3348ce['UNIVER_SLIDE']=0x3]=_0x4fb43a(0x105),_0x3348ce[_0x3348ce[_0x4fb43a(0x328)]=0x4]=_0x4fb43a(0x328),_0x3348ce[_0x3348ce['UNRECOGNIZED']=-0x1]=_0x4fb43a(0x50c),_0x3348ce))(_0x5c70c6||{}),_0x8c5dbb=(_0x53cade=>(_0x53cade[_0x53cade[_0x4fb43a(0x4f5)]=0x0]='UNKNOWN_CMD',_0x53cade[_0x53cade[_0x4fb43a(0x2d5)]=0x1]='HELLO',_0x53cade[_0x53cade[_0x4fb43a(0x53a)]=0x2]='JOIN',_0x53cade[_0x53cade[_0x4fb43a(0x561)]=0x3]='LEAVE',_0x53cade[_0x53cade['INGEST']=0x4]=_0x4fb43a(0x400),_0x53cade[_0x53cade['HEARTBEAT']=0x5]=_0x4fb43a(0x185),_0x53cade[_0x53cade[_0x4fb43a(0x4ec)]=0x6]=_0x4fb43a(0x4ec),_0x53cade[_0x53cade[_0x4fb43a(0x50c)]=-0x1]=_0x4fb43a(0x50c),_0x53cade))(_0x8c5dbb||{}),_0x14e9b1=(_0x3e64ad=>(_0x3e64ad[_0x3e64ad[_0x4fb43a(0xf4)]=0x0]=_0x4fb43a(0xf4),_0x3e64ad[_0x3e64ad['OK']=0x1]='OK',_0x3e64ad[_0x3e64ad[_0x4fb43a(0x10f)]=0x2]=_0x4fb43a(0x10f),_0x3e64ad[_0x3e64ad[_0x4fb43a(0x50c)]=-0x1]=_0x4fb43a(0x50c),_0x3e64ad))(_0x14e9b1||{}),_0x48e01d=(_0x42ede8=>(_0x42ede8[_0x42ede8['Undefined']=0x0]=_0x4fb43a(0x3cb),_0x42ede8[_0x42ede8[_0x4fb43a(0x3eb)]=0x1]='HttpImport',_0x42ede8[_0x42ede8[_0x4fb43a(0x139)]=0x2]=_0x4fb43a(0x139),_0x42ede8[_0x42ede8[_0x4fb43a(0x1d1)]=0x3]=_0x4fb43a(0x1d1),_0x42ede8[_0x42ede8[_0x4fb43a(0x3f6)]=0x4]=_0x4fb43a(0x3f6),_0x42ede8[_0x42ede8[_0x4fb43a(0x50c)]=-0x1]=_0x4fb43a(0x50c),_0x42ede8))(_0x48e01d||{});const _0x4df054=_0x4fb43a(0x28f),_0xd8ed9b={};function _0x31e385(_0x9b0d39){const _0x417703=_0x4fb43a;var _0x46807d,_0x15c963,_0x1d8eb2,_0x30b8fe,_0x506aec;const _0x30a74d=_0x9b0d39[_0x417703(0x320)],_0x3f218e=JSON[_0x417703(0x541)](_0x30a74d);switch(_0x3f218e['cmd']){case _0x8c5dbb[_0x417703(0x185)]:case _0x8c5dbb[_0x417703(0x2d5)]:{const _0x45a5d3=_0x3f218e[_0x417703(0x222)];return{..._0x3f218e,'data':_0x45a5d3,'cmd':_0x3f218e[_0x417703(0x254)]};}case _0x8c5dbb[_0x417703(0x53a)]:{const _0x4402dc=_0x3f218e[_0x417703(0x253)];return{..._0x3f218e,'data':_0x4402dc,'cmd':_0x3f218e[_0x417703(0x254)]};}case _0x8c5dbb[_0x417703(0x4ec)]:{const _0x51f809=_0x3f218e[_0x417703(0x589)];switch(_0x51f809[_0x417703(0x42f)]){case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x335)]:return{..._0x3f218e,'data':{..._0x51f809,'data':(_0x46807d=_0x51f809[_0x417703(0x57a)])==null?void 0x0:_0x46807d['cs']},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x366)]:return{..._0x3f218e,'data':{..._0x51f809,'data':(_0x15c963=_0x51f809[_0x417703(0x3c8)])==null?void 0x0:_0x15c963['cs']},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x22b)]:return{..._0x3f218e,'data':{..._0x51f809,'data':(_0x1d8eb2=_0x51f809['newCsEvent'])==null?void 0x0:_0x1d8eb2['cs']},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)]['CHANGESET_REJ']:return{..._0x3f218e,'data':{..._0x51f809,'data':(_0x30b8fe=_0x51f809['csRejEvent'])==null?void 0x0:_0x30b8fe['cs']},'cmd':_0x3f218e['cmd']};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x148)]:return{..._0x3f218e,'data':{..._0x51f809,'data':(_0x506aec=_0x51f809[_0x417703(0x5b3)])==null?void 0x0:_0x506aec['cs']},'cmd':_0x3f218e['cmd']};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x553)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x333)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0xff)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0xef)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)]['USERS_LEAVE']:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x2bd)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f['CollaborationEvent'][_0x417703(0x214)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x55d)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x458)]:case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x211)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x1dc)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0x177)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809['liveShareNewHost']},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)][_0x417703(0xfc)]:return{..._0x3f218e,'data':_0x51f809,'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f[_0x417703(0x1fe)]['COMMENT_UPDATE']:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x584)]},'cmd':_0x3f218e[_0x417703(0x254)]};case _0x3a188f['CollaborationEvent'][_0x417703(0x2cb)]:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x430)]},'cmd':_0x3f218e['cmd']};case _0x3a188f[_0x417703(0x1fe)]['SHOULD_CLOSE_CONN']:return{..._0x3f218e,'data':{..._0x51f809,'data':_0x51f809[_0x417703(0x4bf)]},'cmd':_0x3f218e[_0x417703(0x254)]};default:return _0x3f218e;}}default:return _0x3f218e;}}function _0x520ced(_0x146400){const _0x2dad7c=_0x4fb43a;switch(_0x146400[_0x2dad7c(0x254)]){case _0x8c5dbb['HEARTBEAT']:case _0x8c5dbb['HELLO']:return JSON[_0x2dad7c(0x392)]({'cmd':_0x146400[_0x2dad7c(0x254)],'routeKey':_0x146400[_0x2dad7c(0x173)]});case _0x8c5dbb[_0x2dad7c(0x400)]:{let _0x2f1632;switch(_0x146400[_0x2dad7c(0x320)]['eventID']){case _0x3a188f[_0x2dad7c(0x1fe)]['UPDATE_CURSOR']:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x553)],'updateCursorEvent':_0x146400[_0x2dad7c(0x320)][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x449)]:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)]['USERS_LEAVE'],'leaveEvent':_0x146400['data'][_0x2dad7c(0x320)]};break;}case _0x3a188f['CollaborationEvent'][_0x2dad7c(0xff)]:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0xff)],'joinEvent':_0x146400[_0x2dad7c(0x320)][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)]['LIVESHARE_NEW_HOST']:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x214)],'liveShareNewHost':_0x146400['data'][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x211)]:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x211)],'liveShareOperation':_0x146400[_0x2dad7c(0x320)][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)]['LIVESHARE_TERMINATE']:{_0x2f1632={'eventID':_0x3a188f['CollaborationEvent'][_0x2dad7c(0x177)],'liveShareTerminate':_0x146400[_0x2dad7c(0x320)][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)]['LIVESHARE_REQUEST_HOST']:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x146400[_0x2dad7c(0x320)][_0x2dad7c(0x320)]};break;}case _0x3a188f[_0x2dad7c(0x1fe)][_0x2dad7c(0x458)]:{_0x2f1632={'eventID':_0x3a188f[_0x2dad7c(0x1fe)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2f1632={'eventID':_0x146400['data'][_0x2dad7c(0x42f)]};}return JSON['stringify']({'cmd':_0x146400['cmd'],'routeKey':_0x146400[_0x2dad7c(0x173)],'collaMsg':_0x2f1632});}case _0x8c5dbb[_0x2dad7c(0x53a)]:return JSON['stringify']({'cmd':_0x146400[_0x2dad7c(0x254)],'routeKey':_0x146400[_0x2dad7c(0x173)],'joinReq':_0x146400[_0x2dad7c(0x320)]});case _0x8c5dbb[_0x2dad7c(0x561)]:return JSON['stringify']({'cmd':_0x146400[_0x2dad7c(0x254)],'routeKey':_0x146400[_0x2dad7c(0x173)],'leaveReq':_0x146400[_0x2dad7c(0x320)]});default:throw new Error(_0x2dad7c(0x4b6));}}var _0x24e27b=Object['defineProperty'],_0x4aaf1f=Object[_0x4fb43a(0x44a)],_0x134732=(_0x447f43,_0x16611e,_0x38dd01,_0x302c65)=>{const _0x3ba43b=_0x4fb43a;for(var _0x3e5058=_0x302c65>0x1?void 0x0:_0x302c65?_0x4aaf1f(_0x16611e,_0x38dd01):_0x16611e,_0x557c5f=_0x447f43[_0x3ba43b(0x4f3)]-0x1,_0x4cc5b1;_0x557c5f>=0x0;_0x557c5f--)(_0x4cc5b1=_0x447f43[_0x557c5f])&&(_0x3e5058=(_0x302c65?_0x4cc5b1(_0x16611e,_0x38dd01,_0x3e5058):_0x4cc5b1(_0x3e5058))||_0x3e5058);return _0x302c65&&_0x3e5058&&_0x24e27b(_0x16611e,_0x38dd01,_0x3e5058),_0x3e5058;},_0x5ea511=(_0x113dc7,_0x9ec717)=>(_0x5ef477,_0x315fb7)=>_0x9ec717(_0x5ef477,_0x315fb7,_0x113dc7);const _0x35a831=_0x27d805[_0x4fb43a(0x351)](_0x4fb43a(0x14d));function _0x370c44(_0x27b642,_0x584eef,_0xd732c2){const _0x1ca46f=_0x4fb43a;return _0x27b642+'/'+_0x584eef+_0x1ca46f(0x12f)+_0xd732c2+_0x1ca46f(0x3d7);}_0x5e2809[_0x4fb43a(0x3c1)]=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x108d3c,_0x108d03,_0x524238,_0x3c2241,_0x12707e){const _0xa31dc3=_0x4fb43a;super(),this[_0xa31dc3(0x35a)]=_0x108d3c,this[_0xa31dc3(0x3a8)]=_0x108d03,this['_configService']=_0x524238,this['_logService']=_0x3c2241,this[_0xa31dc3(0x337)]=_0x12707e;}[_0x4fb43a(0x57f)](_0x28d0c7){const _0x31028b=_0x4fb43a,_0x290440=this['_ws'][_0x31028b(0x57f)](_0x28d0c7);if(!_0x290440)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2a50c7=new _0x27d805['DisposableCollection'](),_0xb33fed=new _0x21eaf3['Subject']();_0x2a50c7[_0x31028b(0x159)](_0x290440['close$']['subscribe'](_0x89ff49=>_0xb33fed[_0x31028b(0x152)](_0x89ff49))),_0x2a50c7[_0x31028b(0x159)](_0x27d805['toDisposable'](()=>_0xb33fed[_0x31028b(0x3ae)]()));const _0x3d10d4=new _0x21eaf3[(_0x31028b(0x2d3))]();_0x2a50c7[_0x31028b(0x159)](_0x290440[_0x31028b(0x1f7)][_0x31028b(0x438)](_0x1fedf8=>_0x3d10d4['next'](_0x1fedf8))),_0x2a50c7[_0x31028b(0x159)](_0x27d805[_0x31028b(0x339)](()=>_0x3d10d4[_0x31028b(0x3ae)]()));const _0x352185=new _0x21eaf3['Subject']();_0x2a50c7[_0x31028b(0x159)](_0x290440['message$'][_0x31028b(0x438)](_0x5c5e45=>{const _0x4eb9e9=_0x31e385(_0x5c5e45);_0x352185['next'](_0x4eb9e9);})),_0x2a50c7[_0x31028b(0x159)](_0x27d805['toDisposable'](()=>_0x352185[_0x31028b(0x3ae)]()));let _0x573c47;const _0x3e48dc=()=>{const _0x7108d=_0x31028b;_0x3d10d4['next'](new Event(_0x7108d(0x3b9))),_0xb33fed[_0x7108d(0x152)](new CloseEvent(_0x7108d(0x3b9))),_0x573c47[_0x7108d(0x5a4)]();};return _0x573c47={'memberID':'','close$':_0xb33fed[_0x31028b(0x4ba)](),'error$':_0x3d10d4[_0x31028b(0x4ba)](),'open$':_0x290440[_0x31028b(0x1f2)],'message$':_0x352185[_0x31028b(0x4ba)](),'send':_0x2544db=>{const _0x4df61a=_0x31028b;if(_0x2544db['cmd']===_0x8c5dbb[_0x4df61a(0x400)]){if(_0x2544db[_0x4df61a(0x320)][_0x4df61a(0x42f)]===_0x3a188f[_0x4df61a(0x1fe)][_0x4df61a(0x447)]){this[_0x4df61a(0x1c4)](_0x573c47,_0x2544db[_0x4df61a(0x320)])[_0x4df61a(0x257)](_0x2b9bfa=>{const _0xcc4f59=_0x4df61a;this[_0xcc4f59(0x1e4)][_0xcc4f59(0x4b9)](_0x2b9bfa),_0x3e48dc();});return;}if(_0x2544db['data'][_0x4df61a(0x42f)]===_0x3a188f[_0x4df61a(0x1fe)][_0x4df61a(0x597)]){const _0x469f8a=_0x2544db[_0x4df61a(0x320)];this[_0x4df61a(0x45f)](_0x469f8a)[_0x4df61a(0x36f)](_0x4f0306=>{const _0x2538a2=_0x4df61a;_0x352185['next']({'cmd':_0x8c5dbb[_0x2538a2(0x4ec)],'code':_0x14e9b1['OK'],'routeKey':_0x469f8a[_0x2538a2(0x320)]['unitID'],'routeType':'','data':{'eventID':_0x3a188f[_0x2538a2(0x1fe)][_0x2538a2(0x43e)],'data':{'changesets':_0x4f0306}}});})['catch'](_0x54a52b=>{const _0x1e7c30=_0x4df61a;this[_0x1e7c30(0x1e4)][_0x1e7c30(0x4b9)](_0x54a52b),_0x3e48dc();});return;}}_0x290440[_0x4df61a(0x27d)](_0x520ced(_0x2544db));},'close':()=>{const _0x58cde2=_0x31028b;_0x290440[_0x58cde2(0x5a4)](),_0x2a50c7[_0x58cde2(0x489)]();}},_0x573c47;}async['_submitChangeset'](_0x5ad399,_0x49d6ec){const _0x56cd32=_0x4fb43a;var _0x18897d,_0x180a11;const {unitType:_0x4f0e95,unitID:_0x21fd5b,changeset:_0x24e6a9}=_0x49d6ec[_0x56cd32(0x320)],_0x5e9053={'unitID':_0x21fd5b,'memberID':_0x5ad399[_0x56cd32(0x424)],'type':_0x4f0e95,'changeset':_0x3a188f[_0x56cd32(0x4b7)](_0x24e6a9)},_0x3dc43e=this['_configService']['getConfig'](_0x5059e7),_0x27b370=this[_0x56cd32(0x16e)][_0x56cd32(0x2b9)](_0x4df054),_0x377cad=_0x370c44((_0x180a11=(_0x18897d=_0x27b370==null?void 0x0:_0x27b370[_0x56cd32(0x4dc)])!=null?_0x18897d:_0x3dc43e)!=null?_0x180a11:_0x314d45,_0x4f0e95,_0x21fd5b);try{await this[_0x56cd32(0x35a)][_0x56cd32(0x18f)](_0x377cad,{'body':_0x5e9053});}catch(_0x11d7bf){throw this[_0x56cd32(0x1e4)][_0x56cd32(0x4b9)](_0x56cd32(0x2be),_0x56cd32(0x21e)),_0x11d7bf;}}async[_0x4fb43a(0x45f)](_0x1384e7){const _0x9387ca=_0x4fb43a,{unitID:_0x4048f9,from:_0x909800,to:_0x398b82,unitType:_0x1df8fb}=_0x1384e7[_0x9387ca(0x320)];return(await this[_0x9387ca(0x337)][_0x9387ca(0x53c)]({'metadata':void 0x0},{'unitID':_0x4048f9,'type':_0x1df8fb,'from':_0x909800,'to':_0x398b82}))[_0x9387ca(0x315)];}},_0x5e2809[_0x4fb43a(0x3c1)]=_0x134732([_0x5ea511(0x0,_0x27d805['Inject'](_0x311014['HTTPService'])),_0x5ea511(0x1,_0x27d805[_0x4fb43a(0x236)](_0x311014[_0x4fb43a(0x2cd)])),_0x5ea511(0x2,_0x27d805[_0x4fb43a(0x2d7)]),_0x5ea511(0x3,_0x27d805[_0x4fb43a(0x43d)]),_0x5ea511(0x4,_0x3a188f[_0x4fb43a(0x27e)])],_0x5e2809[_0x4fb43a(0x3c1)]);const _0x2c832f=_0x4fb43a(0x48f);function _0x5d20f8(_0x117f88){const _0x352a86=_0x4fb43a;return JSON[_0x352a86(0x392)](_0x117f88)[_0x352a86(0x4f3)];}class _0xe523a5{constructor(){const _0x31ebaa=_0x4fb43a;_0x27d8b8(this,'_commentUpdate$',new _0x21eaf3[(_0x31ebaa(0x2d3))]()),_0x27d8b8(this,_0x31ebaa(0x14f),this[_0x31ebaa(0x474)][_0x31ebaa(0x4ba)]());}[_0x4fb43a(0x25c)](_0x208b31){const _0x1608e5=_0x4fb43a;this[_0x1608e5(0x474)][_0x1608e5(0x152)](_0x208b31);}}var _0x51d736=Object[_0x4fb43a(0x3de)],_0x4d2ee0=Object['getOwnPropertyDescriptor'],_0x1e20e2=(_0x24cf3f,_0x1acff2,_0x251030,_0x3a9020)=>{const _0x2cf789=_0x4fb43a;for(var _0x1eedfa=_0x3a9020>0x1?void 0x0:_0x3a9020?_0x4d2ee0(_0x1acff2,_0x251030):_0x1acff2,_0x1d26da=_0x24cf3f[_0x2cf789(0x4f3)]-0x1,_0x312eea;_0x1d26da>=0x0;_0x1d26da--)(_0x312eea=_0x24cf3f[_0x1d26da])&&(_0x1eedfa=(_0x3a9020?_0x312eea(_0x1acff2,_0x251030,_0x1eedfa):_0x312eea(_0x1eedfa))||_0x1eedfa);return _0x3a9020&&_0x1eedfa&&_0x51d736(_0x1acff2,_0x251030,_0x1eedfa),_0x1eedfa;},_0x3411f7=(_0x3bb8dd,_0x4c20c3)=>(_0x3893c1,_0x4afca7)=>_0x4c20c3(_0x3893c1,_0x4afca7,_0x3bb8dd);_0x5e2809[_0x4fb43a(0x166)]=class extends _0x27d805['Disposable']{constructor(_0x1a1e2c,_0x5f260e){const _0x43bd91=_0x4fb43a;super(),_0x27d8b8(this,_0x43bd91(0x33b),new Map()),(this[_0x43bd91(0x1cc)]=_0x1a1e2c,this[_0x43bd91(0x3da)]=_0x5f260e,this[_0x43bd91(0x421)](_0x27d805[_0x43bd91(0x339)](_0x21eaf3[_0x43bd91(0x32e)](this[_0x43bd91(0x1cc)]['getTypeOfUnitDisposed$'](_0x27d805[_0x43bd91(0x23f)][_0x43bd91(0x2bf)])[_0x43bd91(0x35c)](_0x3ee60a[_0x43bd91(0x362)](_0x447f92=>_0x447f92[_0x43bd91(0x18c)]())),this[_0x43bd91(0x1cc)][_0x43bd91(0x33e)](_0x27d805[_0x43bd91(0x23f)][_0x43bd91(0x515)])['pipe'](_0x3ee60a[_0x43bd91(0x362)](_0x101ab2=>_0x101ab2[_0x43bd91(0x18c)]())),this[_0x43bd91(0x1cc)][_0x43bd91(0x33e)](_0x27d805['UniverInstanceType']['UNIVER_SLIDE'])[_0x43bd91(0x35c)](_0x3ee60a[_0x43bd91(0x362)](_0x25eede=>_0x25eede['getUnitId']())))[_0x43bd91(0x438)](_0x3f3097=>this['_removeRoom'](_0x3f3097)))));}[_0x4fb43a(0x2a1)](_0x4a600a){const _0x5f2738=_0x4fb43a;this[_0x5f2738(0x3da)]['setCurrentUser'](_0x4a600a);}['getCurrentUser'](){const _0x473fff=_0x4fb43a;return this[_0x473fff(0x3da)][_0x473fff(0x419)]();}[_0x4fb43a(0x298)](_0x2ee002,_0x4ecb5e){const _0x497772=_0x4fb43a;let _0x1f73c5=this[_0x497772(0x33b)][_0x497772(0x457)](_0x2ee002);_0x1f73c5||(_0x1f73c5=new _0x4b8310(),this['_roomMembers'][_0x497772(0x3dc)](_0x2ee002,_0x1f73c5)),_0x1f73c5[_0x497772(0x298)](_0x4ecb5e);}[_0x4fb43a(0x294)](_0x18dbcc,_0x128b36){const _0x314754=_0x4fb43a,_0x157ce3=this[_0x314754(0x33b)][_0x314754(0x457)](_0x18dbcc);_0x157ce3&&_0x157ce3[_0x314754(0x294)](_0x128b36);}[_0x4fb43a(0x2c4)](_0x4763d7){const _0x545202=_0x4fb43a;return this[_0x545202(0x33b)][_0x545202(0x457)](_0x4763d7);}[_0x4fb43a(0x3e7)](_0x4294b7,_0x549418){const _0x2c1db2=_0x4fb43a,_0x2c4690=this['_roomMembers'][_0x2c1db2(0x457)](_0x4294b7);if(_0x2c4690)return _0x2c4690['getMember'](_0x549418);}['_removeRoom'](_0xe15078){const _0x60c9d7=_0x4fb43a,_0x159e68=this[_0x60c9d7(0x33b)][_0x60c9d7(0x457)](_0xe15078);_0x159e68&&(_0x159e68['dispose'](),this[_0x60c9d7(0x33b)][_0x60c9d7(0x4ad)](_0xe15078));}[_0x4fb43a(0x489)](){const _0x1df8d0=_0x4fb43a;this[_0x1df8d0(0x33b)][_0x1df8d0(0x49f)](_0x69e275=>_0x69e275['dispose']()),this[_0x1df8d0(0x33b)][_0x1df8d0(0x11a)]();}},_0x5e2809['MemberService']=_0x1e20e2([_0x3411f7(0x0,_0x27d805[_0x4fb43a(0x25e)]),_0x3411f7(0x1,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x30c)]))],_0x5e2809[_0x4fb43a(0x166)]);class _0x4b8310 extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(){const _0x3ee440=_0x4fb43a;super(...arguments),_0x27d8b8(this,_0x3ee440(0x41d),new Map());}[_0x4fb43a(0x489)](){const _0x22fdf3=_0x4fb43a;this[_0x22fdf3(0x41d)][_0x22fdf3(0x11a)]();}[_0x4fb43a(0x298)](_0x33187f){const _0x430dab=_0x4fb43a;this['_members'][_0x430dab(0x3dc)](_0x33187f[_0x430dab(0x424)],_0x33187f);}['removeMember'](_0x4c4bbf){const _0x1714a8=_0x4fb43a;this[_0x1714a8(0x41d)][_0x1714a8(0x4ad)](_0x4c4bbf);}[_0x4fb43a(0x3e7)](_0x46e8af){const _0x50003c=_0x4fb43a;return this[_0x50003c(0x41d)][_0x50003c(0x457)](_0x46e8af);}[_0x4fb43a(0x4c6)](){const _0x421333=_0x4fb43a;return Array[_0x421333(0x4e7)](this['_members'][_0x421333(0x1aa)]());}}var _0xf2e86d=Object[_0x4fb43a(0x3de)],_0x5d6b2d=Object[_0x4fb43a(0x44a)],_0x45f404=(_0x11749f,_0x4d1e26,_0x55a300,_0x110844)=>{const _0x1e59ad=_0x4fb43a;for(var _0x369d19=_0x110844>0x1?void 0x0:_0x110844?_0x5d6b2d(_0x4d1e26,_0x55a300):_0x4d1e26,_0x34169c=_0x11749f[_0x1e59ad(0x4f3)]-0x1,_0x5d4997;_0x34169c>=0x0;_0x34169c--)(_0x5d4997=_0x11749f[_0x34169c])&&(_0x369d19=(_0x110844?_0x5d4997(_0x4d1e26,_0x55a300,_0x369d19):_0x5d4997(_0x369d19))||_0x369d19);return _0x110844&&_0x369d19&&_0xf2e86d(_0x4d1e26,_0x55a300,_0x369d19),_0x369d19;},_0x2a5860=(_0x353a9f,_0x3da882)=>(_0x4f2091,_0x13ba53)=>_0x3da882(_0x4f2091,_0x13ba53,_0x353a9f),_0x4a52a5=(_0x1ec7fe=>(_0x1ec7fe[_0x1ec7fe[_0x4fb43a(0x464)]=0x0]=_0x4fb43a(0x464),_0x1ec7fe[_0x1ec7fe[_0x4fb43a(0x16d)]=0x1]=_0x4fb43a(0x16d),_0x1ec7fe[_0x1ec7fe[_0x4fb43a(0x1af)]=0x2]=_0x4fb43a(0x1af),_0x1ec7fe[_0x1ec7fe[_0x4fb43a(0x346)]=0x3]=_0x4fb43a(0x346),_0x1ec7fe))(_0x4a52a5||{});_0x5e2809[_0x4fb43a(0x599)]=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x27dc3c,_0x274b67,_0x53280f,_0x4847a1,_0x1ed610,_0x5b3084,_0xe1b051,_0x1bd7e5,_0x1c7857,_0x258d5c){const _0x42d125=_0x4fb43a;super(),_0x27d8b8(this,_0x42d125(0x444),new _0x21eaf3[(_0x42d125(0x197))](0x0)),_0x27d8b8(this,_0x42d125(0x58a),this[_0x42d125(0x444)][_0x42d125(0x4ba)]()),_0x27d8b8(this,_0x42d125(0x559),new _0x21eaf3[(_0x42d125(0x2d3))]()),_0x27d8b8(this,_0x42d125(0x350),this[_0x42d125(0x559)][_0x42d125(0x4ba)]()),_0x27d8b8(this,_0x42d125(0x3c4)),_0x27d8b8(this,_0x42d125(0x528)),_0x27d8b8(this,'_collaborationTimeoutTimer'),_0x27d8b8(this,_0x42d125(0x428),!0x1),_0x27d8b8(this,_0x42d125(0x434),null),(this[_0x42d125(0x300)]=_0x27dc3c,this['_logService']=_0x53280f,this[_0x42d125(0x3ad)]=_0x4847a1,this[_0x42d125(0x32a)]=_0x1ed610,this[_0x42d125(0x16e)]=_0x5b3084,this[_0x42d125(0x1cb)]=_0xe1b051,this[_0x42d125(0x268)]=_0x1bd7e5,this[_0x42d125(0x471)]=_0x1c7857,this[_0x42d125(0xed)]=_0x258d5c,this[_0x42d125(0x428)]=!!this[_0x42d125(0xed)],_0x274b67[_0x42d125(0x35c)](_0x21eaf3['takeUntil'](this[_0x42d125(0x311)]))[_0x42d125(0x438)](_0x5bd51f=>{const _0x4395a2=_0x42d125;var _0x4b5179;typeof _0x5bd51f>'u'||(this[_0x4395a2(0x3c4)]=_0x5bd51f,_0x5bd51f?(this[_0x4395a2(0x38f)](_0x5bd51f),this[_0x4395a2(0x528)]=_0x5bd51f[_0x4395a2(0x47c)][_0x4395a2(0x438)](_0x3564b1=>{const _0x5ad4ee=_0x4395a2;_0x3564b1[_0x5ad4ee(0x173)]===this[_0x5ad4ee(0x300)]&&this['_onCombEvent'](_0x3564b1);})):(this[_0x4395a2(0x143)](),this[_0x4395a2(0x444)][_0x4395a2(0x152)](0x2),(_0x4b5179=this[_0x4395a2(0x528)])==null||_0x4b5179[_0x4395a2(0x225)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x42d125(0x3ad)]['registerOnClose'](()=>{const _0x4ebf0b=_0x42d125;var _0x2c0efd;(_0x2c0efd=this['_socket'])==null||_0x2c0efd[_0x4ebf0b(0x27d)]({'cmd':_0x8c5dbb[_0x4ebf0b(0x561)],'data':{'roomID':this[_0x4ebf0b(0x300)]}});})));}get[_0x4fb43a(0x2e6)](){return this['_sessionStatus$']['getValue']();}[_0x4fb43a(0x4d9)](){var _0x19e1ec,_0x2a23e4;return(_0x2a23e4=(_0x19e1ec=this['_socket'])==null?void 0x0:_0x19e1ec['memberID'])!=null?_0x2a23e4:null;}[_0x4fb43a(0x489)](){const _0x4f87b3=_0x4fb43a;super[_0x4f87b3(0x489)](),this[_0x4f87b3(0x311)]['next'](),this[_0x4f87b3(0x311)]['complete']();}[_0x4fb43a(0x5a4)](){const _0x35a794=_0x4fb43a;var _0x11e19d,_0x301156;this[_0x35a794(0x143)](),(_0x11e19d=this['_socket'])==null||_0x11e19d['send']({'cmd':_0x8c5dbb['LEAVE'],'data':{'roomID':this[_0x35a794(0x300)]}}),(_0x301156=this['_socket'])==null||_0x301156[_0x35a794(0x5a4)](),this[_0x35a794(0x559)][_0x35a794(0x3ae)](),this[_0x35a794(0x444)]['complete'](),this[_0x35a794(0x489)]();}['_onCombEvent'](_0x132875){const _0x1bad15=_0x4fb43a;_0x132875['cmd']===_0x8c5dbb['JOIN']?this[_0x1bad15(0x2cc)](_0x132875):_0x132875[_0x1bad15(0x254)]===_0x8c5dbb['RECV']&&this[_0x1bad15(0x220)](_0x132875);}[_0x4fb43a(0x38f)](_0x347931){const _0x105974=_0x4fb43a;this[_0x105974(0x444)]['next'](0x1),_0x347931[_0x105974(0x27d)]({'cmd':_0x8c5dbb['JOIN'],'routeKey':this[_0x105974(0x300)],'routeType':'','data':{'rooms':[{'roomID':this[_0x105974(0x300)]}]}});}[_0x4fb43a(0x2cc)](_0x3feabf){const _0x75ad02=_0x4fb43a;var _0x34d403;if(_0x3feabf[_0x75ad02(0x286)]===_0x14e9b1['FAIL']){this[_0x75ad02(0x32a)]['show']({'type':_0x595b4d['MessageType'][_0x75ad02(0x3e3)],'content':this[_0x75ad02(0x1cb)]['t'](_0x75ad02(0x3cd))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x75ad02(0x444)][_0x75ad02(0x152)](0x3);const _0x2ac55c=(_0x34d403=_0x3feabf['data'][_0x75ad02(0x42d)][this[_0x75ad02(0x300)]])==null?void 0x0:_0x34d403['members'];_0x2ac55c&&_0x2ac55c['forEach'](_0x3d67ac=>this[_0x75ad02(0x268)][_0x75ad02(0x298)](this['_unitID'],_0x3d67ac));}[_0x4fb43a(0x220)](_0x20435c){const _0x255582=_0x4fb43a;try{const _0x53b0b3=_0x20435c['data'];switch(_0x53b0b3['eventID']){case _0x3a188f[_0x255582(0x1fe)][_0x255582(0xff)]:this['_onUserJoin'](_0x53b0b3),this['_event$'][_0x255582(0x152)](_0x53b0b3);break;case _0x3a188f[_0x255582(0x1fe)][_0x255582(0x449)]:this[_0x255582(0x52f)](_0x53b0b3),this[_0x255582(0x559)][_0x255582(0x152)](_0x53b0b3);break;case _0x3a188f[_0x255582(0x1fe)][_0x255582(0x366)]:case _0x3a188f[_0x255582(0x1fe)][_0x255582(0x148)]:this[_0x255582(0x29e)](),this[_0x255582(0x2cf)](),this[_0x255582(0x559)]['next'](_0x53b0b3);break;case _0x3a188f['CollaborationEvent'][_0x255582(0xfc)]:this[_0x255582(0x1e4)][_0x255582(0x4b9)](_0x255582(0x2d8)+JSON[_0x255582(0x392)](_0x53b0b3)),this[_0x255582(0x559)]['next'](_0x53b0b3);break;case _0x3a188f[_0x255582(0x1fe)]['COMMENT_UPDATE']:this['_commentService'][_0x255582(0x25c)](_0x53b0b3['data']),this['_event$'][_0x255582(0x152)](_0x53b0b3);break;default:this['_event$'][_0x255582(0x152)](_0x53b0b3);}}catch(_0x5e93ab){this[_0x255582(0x1e4)][_0x255582(0x4b9)](_0x5e93ab,_0x20435c);}}[_0x4fb43a(0x381)](_0x245480){const _0x111db9=_0x4fb43a;this[_0x111db9(0x268)][_0x111db9(0x298)](this['_unitID'],_0x245480[_0x111db9(0x320)]);}[_0x4fb43a(0x52f)](_0x4abb6a){const _0x3e010a=_0x4fb43a;this[_0x3e010a(0x268)]['removeMember'](this[_0x3e010a(0x300)],_0x4abb6a['data'][_0x3e010a(0x424)]);}async[_0x4fb43a(0x27d)](_0x4dd055,_0x482a88){const _0x289a2a=_0x4fb43a;if(this[_0x289a2a(0x2e6)]!==0x3||!this[_0x289a2a(0x3c4)])throw new Error(_0x289a2a(0x1ec));try{_0x4dd055[_0x289a2a(0x42f)]===_0x3a188f[_0x289a2a(0x1fe)]['SUBMIT_CHANGESET']&&(this[_0x289a2a(0x296)](),this[_0x289a2a(0x402)](_0x4dd055)),this[_0x289a2a(0x3c4)][_0x289a2a(0x27d)]({'cmd':_0x8c5dbb[_0x289a2a(0x400)],'routeKey':_0x482a88,'routeType':'','data':_0x4dd055});}catch(_0x221b95){this[_0x289a2a(0x1e4)][_0x289a2a(0x4b9)](_0x221b95);}}[_0x4fb43a(0x296)](){const _0x368721=_0x4fb43a;var _0x1ac8ea;this['_collaborationTimeoutTimer']=window[_0x368721(0x425)](()=>{const _0x4b8f70=_0x368721;this[_0x4b8f70(0x1e8)]=null,this[_0x4b8f70(0x32a)][_0x4b8f70(0x24e)]({'type':_0x595b4d[_0x4b8f70(0x40a)][_0x4b8f70(0x2ac)],'content':this[_0x4b8f70(0x1cb)]['t'](_0x4b8f70(0x429))});},(_0x1ac8ea=this[_0x368721(0x16e)][_0x368721(0x2b9)](_0x41e4a2))!=null?_0x1ac8ea:0x4e20);}[_0x4fb43a(0x2cf)](){const _0x5e0bb6=_0x4fb43a;this[_0x5e0bb6(0x1e8)]&&(clearTimeout(this[_0x5e0bb6(0x1e8)]),this[_0x5e0bb6(0x1e8)]=null);}[_0x4fb43a(0x402)](_0x41b13c){const _0x230044=_0x4fb43a;if(!this[_0x230044(0x428)])return;const {data:_0x16f6ab}=_0x41b13c,{unitID:_0x2c8ae9,changeset:_0x4ea56c}=_0x16f6ab,{mutations:_0x96e891,type:_0x1b7d22}=_0x4ea56c;this[_0x230044(0x434)]={'unitId':_0x2c8ae9,'type':_0x1b7d22,'startTime':performance[_0x230044(0x31b)](),'stopTime':0x0,'duration':0x0,'size':_0x5d20f8(_0x96e891)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x38309f=_0x4fb43a;if(this[_0x38309f(0x428)]){if(!this[_0x38309f(0x434)]){this[_0x38309f(0x1e4)]['error']('[CollaborationSession]',_0x38309f(0x266));return;}this[_0x38309f(0x434)][_0x38309f(0x1c8)]=performance[_0x38309f(0x31b)](),this[_0x38309f(0x434)][_0x38309f(0x37d)]=this[_0x38309f(0x434)][_0x38309f(0x1c8)]-this[_0x38309f(0x434)][_0x38309f(0x2dd)],this[_0x38309f(0xed)][_0x38309f(0x13d)](_0x2c832f,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x4fb43a(0x143)](){this['_telemetryInfo']=null;}},_0x5e2809[_0x4fb43a(0x599)]=_0x45f404([_0x2a5860(0x2,_0x27d805[_0x4fb43a(0x43d)]),_0x2a5860(0x3,_0x56239c[_0x4fb43a(0x290)]),_0x2a5860(0x4,_0x56239c[_0x4fb43a(0x4e3)]),_0x2a5860(0x5,_0x27d805[_0x4fb43a(0x2d7)]),_0x2a5860(0x6,_0x27d805[_0x4fb43a(0x236)](_0x27d805['LocaleService'])),_0x2a5860(0x7,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x166)])),_0x2a5860(0x8,_0x27d805[_0x4fb43a(0x236)](_0xe523a5)),_0x2a5860(0x9,_0x27d805['Optional'](_0x3fe6a0[_0x4fb43a(0x289)]))],_0x5e2809[_0x4fb43a(0x599)]);var _0x3d708f=Object[_0x4fb43a(0x3de)],_0x3cbb2e=Object[_0x4fb43a(0x44a)],_0x152d53=(_0x1a0a74,_0x111982,_0xaeaabc,_0x38265c)=>{for(var _0x286261=_0x38265c>0x1?void 0x0:_0x38265c?_0x3cbb2e(_0x111982,_0xaeaabc):_0x111982,_0x4217f4=_0x1a0a74['length']-0x1,_0x251b24;_0x4217f4>=0x0;_0x4217f4--)(_0x251b24=_0x1a0a74[_0x4217f4])&&(_0x286261=(_0x38265c?_0x251b24(_0x111982,_0xaeaabc,_0x286261):_0x251b24(_0x286261))||_0x286261);return _0x38265c&&_0x286261&&_0x3d708f(_0x111982,_0xaeaabc,_0x286261),_0x286261;},_0xf36db5=(_0x490c0c,_0x1caf68)=>(_0x50940e,_0xaf6dea)=>_0x1caf68(_0x50940e,_0xaf6dea,_0x490c0c);_0x5e2809['CollaborationSessionService']=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x14af02,_0x5a403d,_0x3736ca,_0x105e00,_0x247ad6,_0x5d318a){const _0x77e0b=_0x4fb43a;super(),_0x27d8b8(this,_0x77e0b(0x361),new _0x21eaf3[(_0x77e0b(0x197))](void 0x0)),_0x27d8b8(this,_0x77e0b(0x135),this[_0x77e0b(0x361)][_0x77e0b(0x4ba)]()),_0x27d8b8(this,_0x77e0b(0x27a),null),_0x27d8b8(this,_0x77e0b(0x128),new Map()),_0x27d8b8(this,_0x77e0b(0x104),new _0x21eaf3['BehaviorSubject'](_0x4a52a5[_0x77e0b(0x464)])),_0x27d8b8(this,_0x77e0b(0x4b2),this[_0x77e0b(0x104)][_0x77e0b(0x4ba)]()),_0x27d8b8(this,'_socketReady',!0x1),_0x27d8b8(this,'_retryConnectingTimer'),_0x27d8b8(this,_0x77e0b(0x1e2),0x0),_0x27d8b8(this,_0x77e0b(0x2c9)),_0x27d8b8(this,_0x77e0b(0x52c)),(this['_injector']=_0x14af02,this[_0x77e0b(0x1cb)]=_0x5a403d,this[_0x77e0b(0x32a)]=_0x3736ca,this[_0x77e0b(0x1e4)]=_0x105e00,this[_0x77e0b(0x16e)]=_0x247ad6,this[_0x77e0b(0x26f)]=_0x5d318a,this[_0x77e0b(0x250)]());}get['_socket'](){const _0x5a2acc=_0x4fb43a;return this[_0x5a2acc(0x361)][_0x5a2acc(0x4a4)]();}[_0x4fb43a(0x250)](){const _0x233ee2=_0x4fb43a;this[_0x233ee2(0x479)](),this[_0x233ee2(0x10d)]();}[_0x4fb43a(0x489)](){const _0x283954=_0x4fb43a;super['dispose'](),this['_sessions'][_0x283954(0x49f)](_0x218a1d=>_0x218a1d['dispose']()),this[_0x283954(0x128)][_0x283954(0x11a)](),this[_0x283954(0x104)][_0x283954(0x3ae)]();}async[_0x4fb43a(0x31d)](_0xf36550){const _0x449b23=_0x4fb43a;if(this[_0x449b23(0x128)][_0x449b23(0x21d)](_0xf36550))return this[_0x449b23(0x128)]['get'](_0xf36550);this['_tryEnsureSocket']();const _0x1712c9=this['_injector']['createInstance'](_0x5e2809[_0x449b23(0x599)],_0xf36550,this[_0x449b23(0x361)]['asObservable']());return this[_0x449b23(0x128)][_0x449b23(0x3dc)](_0xf36550,_0x1712c9),_0x1712c9;}[_0x4fb43a(0x115)](_0x5e8466){const _0x21d310=_0x4fb43a;var _0x1d0981;const _0x232d5c=this['_sessions'][_0x21d310(0x457)](_0x5e8466);_0x232d5c&&(this[_0x21d310(0x128)]['delete'](_0x5e8466),_0x232d5c['close']()),this[_0x21d310(0x128)][_0x21d310(0x26d)]||(_0x1d0981=this['_socket'])==null||_0x1d0981[_0x21d310(0x5a4)]();}[_0x4fb43a(0x432)](){const _0xb011c1=_0x4fb43a;this[_0xb011c1(0x1e2)]=0x0,this[_0xb011c1(0x35d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xb011c1(0x35d)]=null),this[_0xb011c1(0x275)]();}['_createSocket'](){const _0x39cceb=_0x4fb43a;var _0x19636b,_0x1ac900;const _0x40beea=this[_0x39cceb(0x16e)][_0x39cceb(0x2b9)](_0x1030cd),_0x5ce4be=this[_0x39cceb(0x16e)][_0x39cceb(0x2b9)](_0x4df054),_0x33c20e=(_0x1ac900=(_0x19636b=_0x5ce4be==null?void 0x0:_0x5ce4be[_0x39cceb(0x2a9)])!=null?_0x19636b:_0x40beea)!=null?_0x1ac900:_0x249e0e,_0x1c0a4b=this[_0x39cceb(0x26f)][_0x39cceb(0x57f)](_0x33c20e);return this[_0x39cceb(0x27a)]=_0x1c0a4b,_0x1c0a4b;}['_tryEnsureSocket'](){const _0x16b727=_0x4fb43a;var _0x5ecc6a,_0x1d7991;try{const _0x2fa939=(_0x1d7991=(_0x5ecc6a=this[_0x16b727(0x3c4)])!=null?_0x5ecc6a:this[_0x16b727(0x27a)])!=null?_0x1d7991:this[_0x16b727(0x594)]();if(_0x2fa939){const _0x1dcbab=_0x2fa939[_0x16b727(0x27d)];_0x2fa939[_0x16b727(0x27d)]=_0x4e5d89=>(this['_rescheduleHeartbeat'](),_0x1dcbab[_0x16b727(0x1f0)](_0x2fa939,[_0x4e5d89])),_0x2fa939['message$']['subscribe'](_0x100fee=>this['_onMessage'](_0x2fa939,_0x100fee)),_0x2fa939[_0x16b727(0x1f7)]['pipe'](_0x3ee60a[_0x16b727(0x4c8)](0x1))[_0x16b727(0x438)](_0x5b696f=>this[_0x16b727(0x1e4)][_0x16b727(0x4b9)]('[CollaborationSessionService]:\x20socket\x20error',_0x5b696f)),_0x2fa939[_0x16b727(0x1f2)][_0x16b727(0x35c)](_0x3ee60a['take'](0x1))[_0x16b727(0x438)](()=>{const _0x2664c0=_0x16b727;this[_0x2664c0(0x4ce)](_0x2fa939);}),_0x2fa939[_0x16b727(0x41a)][_0x16b727(0x35c)](_0x3ee60a[_0x16b727(0x4c8)](0x1))[_0x16b727(0x438)](_0x7a3fbc=>{const _0x465358=_0x16b727;this[_0x465358(0x1e4)]['debug'](_0x465358(0x545),'socket\x20close',_0x7a3fbc),this['_onConnectionFailed']();});}}catch(_0x2a7132){this['_logService']['error'](_0x2a7132),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4a9601){const _0x387b5b=_0x4fb43a;this[_0x387b5b(0x1e4)][_0x387b5b(0x349)](_0x387b5b(0x545),'socket\x20open.'),_0x4a9601[_0x387b5b(0x27d)]({'cmd':_0x8c5dbb[_0x387b5b(0x2d5)]}),this[_0x387b5b(0x34c)]();}[_0x4fb43a(0x479)](){const _0x241909=_0x4fb43a;window[_0x241909(0x1f3)](_0x241909(0x1b0),()=>this['_onOffline']());}[_0x4fb43a(0x4b3)](){const _0x2b3260=_0x4fb43a;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x2b3260(0x104)][_0x2b3260(0x152)](_0x4a52a5[_0x2b3260(0x1af)]),this[_0x2b3260(0x361)][_0x2b3260(0x152)](null),this[_0x2b3260(0x42c)](),this['_clearHeartbeatTimer']();}[_0x4fb43a(0x182)](){const _0x75e37b=_0x4fb43a;var _0x2380a6;this['_onOffline'](),this['_retryCount']<((_0x2380a6=this[_0x75e37b(0x16e)][_0x75e37b(0x2b9)](_0x1144ca))!=null?_0x2380a6:0x3)?(this[_0x75e37b(0x32a)][_0x75e37b(0x24e)]({'key':_0x75e37b(0x24c),'type':_0x595b4d[_0x75e37b(0x40a)][_0x75e37b(0x3e3)],'content':this['_localeService']['t'](_0x75e37b(0x229))}),this[_0x75e37b(0x275)]()):this['_messageService'][_0x75e37b(0x24e)]({'key':_0x75e37b(0x24c),'type':_0x595b4d[_0x75e37b(0x40a)][_0x75e37b(0x2ac)],'content':this[_0x75e37b(0x1cb)]['t'](_0x75e37b(0x3b8))});}[_0x4fb43a(0x10d)](){const _0x4316ef=_0x4fb43a,_0x3cc349=()=>{const _0x135043=_0x181e;this['_socket']||this[_0x135043(0x432)]();},_0x4c203e=()=>{const _0x3536ae=_0x181e;this[_0x3536ae(0x3c4)]||document['visibilityState']===_0x3536ae(0x2fe)||this[_0x3536ae(0x432)]();};window[_0x4316ef(0x1f3)]('online',_0x3cc349),document[_0x4316ef(0x1f3)](_0x4316ef(0x162),_0x4c203e);}[_0x4fb43a(0x275)](){const _0x7032e1=_0x4fb43a;var _0x45828c;const _0x21d4af=this[_0x7032e1(0x1e2)],_0x27691c=this[_0x7032e1(0x16e)]['getConfig'](_0x4df054),_0x32eab3=_0x21d4af===0x0?0x0:((_0x45828c=_0x27691c==null?void 0x0:_0x27691c['retryConnectingInterval'])!=null?_0x45828c:0x4e20)*0x2**_0x21d4af;this[_0x7032e1(0x35d)]=window[_0x7032e1(0x425)](()=>{const _0x158872=_0x7032e1;clearTimeout(this[_0x158872(0x35d)]),this[_0x158872(0x35d)]=null,this[_0x158872(0x486)]();},_0x32eab3),this['_retryCount']+=0x1;}[_0x4fb43a(0x15a)](_0x4cf47d,_0x93b00e){const _0x241b3b=_0x4fb43a,{cmd:_0x2cc3ec}=_0x93b00e;_0x2cc3ec===_0x8c5dbb[_0x241b3b(0x2d5)]&&!this[_0x241b3b(0x422)]&&(_0x4cf47d[_0x241b3b(0x424)]=_0x93b00e[_0x241b3b(0x320)][_0x241b3b(0x424)],this[_0x241b3b(0x361)][_0x241b3b(0x152)](_0x4cf47d),this['_status$'][_0x241b3b(0x152)](_0x4a52a5['ONLINE']),this[_0x241b3b(0x422)]=!0x0,this['_candidateSocket']=null),_0x2cc3ec===_0x8c5dbb[_0x241b3b(0x185)]&&this[_0x241b3b(0x42c)](),this[_0x241b3b(0x34c)]();}['_rescheduleHeartbeat'](){const _0x114504=_0x4fb43a;var _0x2ca2f5;this[_0x114504(0x234)](),this[_0x114504(0x2c9)]=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x2ca2f5=this[_0x114504(0x16e)][_0x114504(0x2b9)](_0x1692b3))!=null?_0x2ca2f5:0x7530);}[_0x4fb43a(0x4bb)](){const _0xde3e00=_0x4fb43a;this[_0xde3e00(0x3c4)][_0xde3e00(0x27d)]({'cmd':_0x8c5dbb['HEARTBEAT']}),this[_0xde3e00(0x2ca)]();}[_0x4fb43a(0x2ca)](){const _0x355a71=_0x4fb43a;var _0x3075a9;this[_0x355a71(0x52c)]=window[_0x355a71(0x425)](()=>this['_onConnectionFailed'](),(_0x3075a9=this[_0x355a71(0x16e)][_0x355a71(0x2b9)](_0x41e4a2))!=null?_0x3075a9:0x4e20);}[_0x4fb43a(0x234)](){const _0x592889=_0x4fb43a;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x592889(0x2c9)]),this[_0x592889(0x2c9)]=null);}[_0x4fb43a(0x42c)](){const _0x3ee06f=_0x4fb43a;this[_0x3ee06f(0x52c)]!=null&&(clearTimeout(this[_0x3ee06f(0x52c)]),this['_timeoutTimer']=null);}},_0x5e2809[_0x4fb43a(0x263)]=_0x152d53([_0xf36db5(0x0,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0xf36db5(0x1,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)])),_0xf36db5(0x2,_0x56239c['IMessageService']),_0xf36db5(0x3,_0x27d805[_0x4fb43a(0x43d)]),_0xf36db5(0x4,_0x27d805[_0x4fb43a(0x2d7)]),_0xf36db5(0x5,_0x35a831)],_0x5e2809[_0x4fb43a(0x263)]);for(var _0x1be54c=[],_0x3a4741=0x0;_0x3a4741<0x100;++_0x3a4741)_0x1be54c['push']((_0x3a4741+0x100)[_0x4fb43a(0x491)](0x10)[_0x4fb43a(0x29c)](0x1));function _0x4691c3(_0x4612e8,_0x4dc33d=0x0){const _0x44a301=_0x4fb43a;return(_0x1be54c[_0x4612e8[_0x4dc33d+0x0]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x1]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x2]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x3]]+'-'+_0x1be54c[_0x4612e8[_0x4dc33d+0x4]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x5]]+'-'+_0x1be54c[_0x4612e8[_0x4dc33d+0x6]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x7]]+'-'+_0x1be54c[_0x4612e8[_0x4dc33d+0x8]]+_0x1be54c[_0x4612e8[_0x4dc33d+0x9]]+'-'+_0x1be54c[_0x4612e8[_0x4dc33d+0xa]]+_0x1be54c[_0x4612e8[_0x4dc33d+0xb]]+_0x1be54c[_0x4612e8[_0x4dc33d+0xc]]+_0x1be54c[_0x4612e8[_0x4dc33d+0xd]]+_0x1be54c[_0x4612e8[_0x4dc33d+0xe]]+_0x1be54c[_0x4612e8[_0x4dc33d+0xf]])[_0x44a301(0x1d2)]();}var _0x454829,_0x7c7f7a=new Uint8Array(0x10);function _0x354441(){const _0x4ed0d8=_0x4fb43a;if(!_0x454829&&(_0x454829=typeof crypto<'u'&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!_0x454829))throw new Error(_0x4ed0d8(0x316));return _0x454829(_0x7c7f7a);}var _0x12a854=typeof crypto<'u'&&crypto[_0x4fb43a(0x443)]&&crypto[_0x4fb43a(0x443)][_0x4fb43a(0x160)](crypto);const _0x589d1b={'randomUUID':_0x12a854};function _0x5459a8(_0xd6764,_0x4f356d,_0x5086fb){const _0x384d55=_0x4fb43a;if(_0x589d1b[_0x384d55(0x443)]&&!_0x4f356d&&!_0xd6764)return _0x589d1b[_0x384d55(0x443)]();_0xd6764=_0xd6764||{};var _0x167edb=_0xd6764['random']||(_0xd6764[_0x384d55(0x4ca)]||_0x354441)();return _0x167edb[0x6]=_0x167edb[0x6]&0xf|0x40,_0x167edb[0x8]=_0x167edb[0x8]&0x3f|0x80,_0x4691c3(_0x167edb);}var _0xab5ca4=Object[_0x4fb43a(0x3de)],_0x2a60de=Object['getOwnPropertyDescriptor'],_0x26b4fe=(_0x3386d2,_0x389e66,_0x9e2ac4,_0x45d530)=>{const _0x47ba09=_0x4fb43a;for(var _0x157bb9=_0x45d530>0x1?void 0x0:_0x45d530?_0x2a60de(_0x389e66,_0x9e2ac4):_0x389e66,_0xd5ea28=_0x3386d2[_0x47ba09(0x4f3)]-0x1,_0xa425f2;_0xd5ea28>=0x0;_0xd5ea28--)(_0xa425f2=_0x3386d2[_0xd5ea28])&&(_0x157bb9=(_0x45d530?_0xa425f2(_0x389e66,_0x9e2ac4,_0x157bb9):_0xa425f2(_0x157bb9))||_0x157bb9);return _0x45d530&&_0x157bb9&&_0xab5ca4(_0x389e66,_0x9e2ac4,_0x157bb9),_0x157bb9;},_0xd2aae4=(_0x103444,_0x234530)=>(_0x3cc006,_0x1962f7)=>_0x234530(_0x3cc006,_0x1962f7,_0x103444);let _0x748ee=class{constructor(_0x3a7945,_0x14855e,_0x5d5c63){const _0x3178a4=_0x4fb43a;this['_injector']=_0x3a7945,this[_0x3178a4(0x56a)]=_0x14855e,this[_0x3178a4(0x463)]=_0x5d5c63;}[_0x4fb43a(0x2e2)](_0x1cb0d4){const _0x5a2d56=_0x4fb43a;this[_0x5a2d56(0x1da)](_0x1cb0d4),this[_0x5a2d56(0x284)](_0x1cb0d4);}[_0x4fb43a(0x44e)](_0x1b6b3c){const _0x15cfc5=_0x4fb43a,{unitID:_0x123cc5}=_0x1b6b3c,_0x31185a=this[_0x15cfc5(0x463)][_0x15cfc5(0x5ab)](_0x123cc5)[_0x15cfc5(0xea)](_0x89d13d[_0x15cfc5(0x1fb)]),{redoCache:_0x5c4f57}=_0x31185a[_0x15cfc5(0x22e)]();if(_0x5c4f57[_0x15cfc5(0x4f3)]===0x0)return _0x1b6b3c;let _0x17f8d3=_0x27d805[_0x15cfc5(0x59a)][_0x15cfc5(0x319)](_0x1b6b3c[_0x15cfc5(0x183)][0x0]);for(let _0x30aefc=0x0;_0x30aefc<_0x5c4f57[_0x15cfc5(0x4f3)];_0x30aefc++){const _0x1b1006={'id':_0x15cfc5(0x357),'params':{..._0x5c4f57[_0x30aefc]}},_0x174bf7=this[_0x15cfc5(0x56a)][_0x15cfc5(0x369)](_0x17f8d3,_0x1b1006,!0x1);if(_0x3a188f[_0x15cfc5(0x2f7)](_0x174bf7))throw _0x174bf7[_0x15cfc5(0x4b9)];_0x17f8d3=_0x174bf7[_0x15cfc5(0x583)];}return{..._0x27d805[_0x15cfc5(0x59a)][_0x15cfc5(0x319)](_0x1b6b3c),'mutations':[_0x17f8d3]};}[_0x4fb43a(0x1da)](_0x5afe7f){const _0xb53ef1=_0x4fb43a,{unitID:_0x4d5fcf}=_0x5afe7f,_0x1732df=this[_0xb53ef1(0x463)][_0xb53ef1(0x5ab)](_0x4d5fcf)[_0xb53ef1(0xea)](_0x89d13d[_0xb53ef1(0x1fb)]),{undoCache:_0x1d25c7,redoCache:_0x2c6909}=_0x1732df['getUndoRedoMutationParamsCache']();if(_0x1d25c7[_0xb53ef1(0x4f3)]===0x0||_0x2c6909[_0xb53ef1(0x4f3)]===0x0)return;const _0x1db171=[],_0x2fc42c=[];let _0x55b19d=_0x27d805[_0xb53ef1(0x59a)]['deepClone'](_0x5afe7f[_0xb53ef1(0x183)][0x0]),_0x45fb1c=_0x27d805[_0xb53ef1(0x59a)][_0xb53ef1(0x319)](_0x5afe7f[_0xb53ef1(0x183)][0x0]);for(let _0xfb6372=_0x1d25c7[_0xb53ef1(0x4f3)]-0x1;_0xfb6372>=0x0;_0xfb6372--){const _0x191955={'id':'doc.mutation.rich-text-editing','params':{..._0x1d25c7[_0xfb6372]}},_0x50e0b3={'id':'doc.mutation.rich-text-editing','params':{..._0x2c6909[_0xfb6372]}},_0x211497=this[_0xb53ef1(0x56a)][_0xb53ef1(0x369)](_0x55b19d,_0x191955,!0x1),_0x8c6674=this['_transformService'][_0xb53ef1(0x369)](_0x45fb1c,_0x50e0b3,!0x1);if(_0x3a188f[_0xb53ef1(0x2f7)](_0x211497))throw _0x211497['error'];if(_0x3a188f[_0xb53ef1(0x2f7)](_0x8c6674))throw _0x8c6674[_0xb53ef1(0x4b9)];_0x1db171[_0xb53ef1(0x4d0)](_0x211497[_0xb53ef1(0x331)][_0xb53ef1(0x194)]),_0x2fc42c[_0xb53ef1(0x4d0)](_0x8c6674['m2Prime'][_0xb53ef1(0x194)]),_0x55b19d=_0x211497[_0xb53ef1(0x583)],_0x45fb1c=_0x8c6674['m1Prime'];}_0x1732df[_0xb53ef1(0x46a)]({'undoCache':_0x1db171,'redoCache':_0x2fc42c});}[_0x4fb43a(0x284)](_0x18f596){const _0x56076b=_0x4fb43a,{unitID:_0x43cb61}=_0x18f596,_0x3fec33=this['_renderManagerService'][_0x56076b(0x5ab)](_0x43cb61)[_0x56076b(0xea)](_0x89d13d[_0x56076b(0x1fb)]),_0x183456=_0x3fec33['getActiveRange']();if(_0x183456==null)return;const _0x402cc2=[{'id':_0x56076b(0x357),'params':{'unitId':_0x18f596['unitID'],'actions':null,'textRanges':[_0x183456]}}],_0x67716a=this['_transformService']['transformMutationsWithChangeset'](_0x18f596,_0x402cc2);if(!_0x3a188f[_0x56076b(0x578)](_0x67716a))throw _0x67716a[_0x56076b(0x4b9)];const _0x193004=_0x67716a['m2Prime'][0x0][_0x56076b(0x194)][_0x56076b(0x2a2)];Array['isArray'](_0x193004)&&_0x193004[_0x56076b(0x4f3)]&&_0x3fec33['setActiveRange'](_0x193004[0x0]);}};_0x748ee=_0x26b4fe([_0xd2aae4(0x0,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0xd2aae4(0x1,_0x3a188f[_0x4fb43a(0x178)]),_0xd2aae4(0x2,_0x48e10d[_0x4fb43a(0x5a9)])],_0x748ee);var _0x35c6cd=Object[_0x4fb43a(0x3de)],_0x312709=Object['getOwnPropertyDescriptor'],_0x20bafa=(_0x1ed9bc,_0x3986c9,_0x2487fa,_0x46653e)=>{const _0x12d95f=_0x4fb43a;for(var _0x804d79=_0x46653e>0x1?void 0x0:_0x46653e?_0x312709(_0x3986c9,_0x2487fa):_0x3986c9,_0x3e3b31=_0x1ed9bc[_0x12d95f(0x4f3)]-0x1,_0x41749c;_0x3e3b31>=0x0;_0x3e3b31--)(_0x41749c=_0x1ed9bc[_0x3e3b31])&&(_0x804d79=(_0x46653e?_0x41749c(_0x3986c9,_0x2487fa,_0x804d79):_0x41749c(_0x804d79))||_0x804d79);return _0x46653e&&_0x804d79&&_0x35c6cd(_0x3986c9,_0x2487fa,_0x804d79),_0x804d79;},_0x1f3b62=(_0x4bc956,_0x550f4d)=>(_0x4026de,_0x1b4cdc)=>_0x550f4d(_0x4026de,_0x1b4cdc,_0x4bc956);_0x5e2809[_0x4fb43a(0x33c)]=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x2f3d7d,_0x2d8fd0,_0x103145,_0x2faa76,_0x2e7957){const _0x3dccc8=_0x4fb43a;super(),_0x27d8b8(this,_0x3dccc8(0x16b),new Map()),_0x27d8b8(this,_0x3dccc8(0x13b),new Map()),_0x27d8b8(this,_0x3dccc8(0x4ae),!0x1),(this['_configService']=_0x2f3d7d,this[_0x3dccc8(0x416)]=_0x2d8fd0,this['_beforeCloseService']=_0x103145,this[_0x3dccc8(0x1cb)]=_0x2faa76,this[_0x3dccc8(0x4ff)]=_0x2e7957,this[_0x3dccc8(0x3b4)]());}['disableLocalCache'](){const _0x2dcd65=_0x4fb43a;this[_0x2dcd65(0x4ae)]=!0x0;}[_0x4fb43a(0x423)](){this['_disabled']=!0x1;}[_0x4fb43a(0x489)](){const _0x372cfc=_0x4fb43a;this[_0x372cfc(0x2bb)]()[_0x372cfc(0x36f)](()=>super['dispose']());}async[_0x4fb43a(0x3f8)](_0x29bac4){const _0x4d3040=_0x4fb43a;return this['_disabled']?null:this[_0x4d3040(0x416)][_0x4d3040(0x2a4)](_0x5a781b(_0x29bac4));}async[_0x4fb43a(0x1bd)](_0x91fdd3,_0x3098a9){const _0x9c3037=_0x4fb43a;return!!this[_0x9c3037(0x416)][_0x9c3037(0x510)](_0x91fdd3,_0x3098a9);}[_0x4fb43a(0x391)](_0x3ad084,_0x23cb33,_0x5262d9,_0x4c6104){const _0x135e8b=_0x4fb43a,_0x4a1c10=this[_0x135e8b(0x4ff)][_0x135e8b(0x4c4)](_0x3ad084);this[_0x135e8b(0x16b)]['set'](_0x3ad084,{'unitID':_0x3ad084,'type':_0x23cb33,'awaitingChangeset':_0x5262d9,'mutations':_0x4c6104,'rev':_0x4a1c10}),this['_saveTaskMap'][_0x135e8b(0x21d)](_0x3ad084)||this[_0x135e8b(0x3b2)](_0x3ad084);}[_0x4fb43a(0x3b2)](_0x4ceeb4){const _0x473cd3=_0x4fb43a,_0x5bc936=this['_getSaveTimeout']();_0x5bc936===0x0?this[_0x473cd3(0x414)](_0x4ceeb4):this[_0x473cd3(0x13b)][_0x473cd3(0x3dc)](_0x4ceeb4,setTimeout(()=>this[_0x473cd3(0x414)](_0x4ceeb4),_0x5bc936));}[_0x4fb43a(0x2a3)](){const _0xa2f02b=_0x4fb43a;var _0x43dcae;return(_0x43dcae=this[_0xa2f02b(0x16e)][_0xa2f02b(0x2b9)](_0x2c583d))!=null?_0x43dcae:0x3e8;}[_0x4fb43a(0x414)](_0x60f8a){const _0x516262=_0x4fb43a,_0x3bc089=this[_0x516262(0x13b)][_0x516262(0x457)](_0x60f8a);return _0x3bc089!==void 0x0&&window[_0x516262(0x20a)](_0x3bc089),this[_0x516262(0x416)][_0x516262(0x510)](_0x5a781b(_0x60f8a),this[_0x516262(0x16b)][_0x516262(0x457)](_0x60f8a))[_0x516262(0x36f)](()=>this['_saveTaskMap']['delete'](_0x60f8a));}async[_0x4fb43a(0x2bb)](){const _0x7eb682=_0x4fb43a,_0x17270f=[];this[_0x7eb682(0x13b)][_0x7eb682(0x49f)]((_0x1bfa65,_0x1f9e5a)=>{const _0x22a895=_0x7eb682;window['clearTimeout'](_0x1bfa65),_0x17270f[_0x22a895(0x582)](this[_0x22a895(0x414)](_0x1f9e5a)[_0x22a895(0x36f)](()=>{const _0x37b457=_0x22a895;this[_0x37b457(0x13b)][_0x37b457(0x4ad)](_0x1f9e5a);}));}),await Promise['all'](_0x17270f);}['_setupBeforeClosingHandler'](){const _0x48b714=_0x4fb43a;this[_0x48b714(0x421)](this[_0x48b714(0x3ad)][_0x48b714(0x2c1)](()=>{const _0x42c048=_0x48b714;if(this[_0x42c048(0x13b)][_0x42c048(0x26d)])return this[_0x42c048(0x1cb)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x5e2809['LocalCacheService']=_0x20bafa([_0x1f3b62(0x0,_0x27d805[_0x4fb43a(0x2d7)]),_0x1f3b62(0x1,_0x27d805[_0x4fb43a(0x37b)]),_0x1f3b62(0x2,_0x56239c['IBeforeCloseService']),_0x1f3b62(0x3,_0x27d805['Inject'](_0x27d805['LocaleService'])),_0x1f3b62(0x4,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)]))],_0x5e2809[_0x4fb43a(0x33c)]);function _0x5a781b(_0x1caff9){const _0x4a9777=_0x4fb43a;return _0x4a9777(0x566)+_0x1caff9;}var _0x36be8e=Object['defineProperty'],_0x40d5a1=Object[_0x4fb43a(0x44a)],_0x240f52=(_0x111f2b,_0x1e9e54,_0x21f315,_0xe5f68c)=>{for(var _0x3f8a6f=_0xe5f68c>0x1?void 0x0:_0xe5f68c?_0x40d5a1(_0x1e9e54,_0x21f315):_0x1e9e54,_0x319673=_0x111f2b['length']-0x1,_0x29d21b;_0x319673>=0x0;_0x319673--)(_0x29d21b=_0x111f2b[_0x319673])&&(_0x3f8a6f=(_0xe5f68c?_0x29d21b(_0x1e9e54,_0x21f315,_0x3f8a6f):_0x29d21b(_0x3f8a6f))||_0x3f8a6f);return _0xe5f68c&&_0x3f8a6f&&_0x36be8e(_0x1e9e54,_0x21f315,_0x3f8a6f),_0x3f8a6f;},_0x1165be=(_0x15f578,_0x56e459)=>(_0x3da316,_0x575b1f)=>_0x56e459(_0x3da316,_0x575b1f,_0x15f578);function _0x13ac72(_0x5025ad){const _0x5bb6af=_0x4fb43a,{unitID:_0x360ece,mutations:_0x1b9bad}=_0x5025ad;return{'unitId':_0x360ece,'subUnitId':_0x1b9bad[0x0][_0x5bb6af(0x194)]['subUnitId']};}let _0x2ebd4b=class{constructor(_0x125309,_0x25f95c,_0x5b9301){const _0x4cba7b=_0x4fb43a;this[_0x4cba7b(0x371)]=_0x125309,this['_transformService']=_0x25f95c,this[_0x4cba7b(0x1b3)]=_0x5b9301;}[_0x4fb43a(0x2c7)](_0x3efdd8){const _0x3e4fea=_0x4fb43a;var _0x34167d,_0x232a79,_0x1f0210,_0x3a74ed;const _0x5dcd33=this[_0x3e4fea(0x371)]['get'](_0x6454ca['SheetsSelectionsService']),{unitId:_0x486743,subUnitId:_0x2b5b86}=_0x13ac72(_0x3efdd8),_0x4bea78=_0x5dcd33[_0x3e4fea(0x327)](_0x486743)['getCurrentSelections'](),_0x391852=(_0x232a79=(_0x34167d=this[_0x3e4fea(0x1b3)][_0x3e4fea(0x1b2)](_0x486743))==null?void 0x0:_0x34167d[_0x3e4fea(0x3f1)]())==null?void 0x0:_0x232a79[_0x3e4fea(0x536)]();if(_0x4bea78[_0x3e4fea(0x4f3)]===0x0||!_0x486743||!_0x2b5b86)return;const _0x3e98b0=[{'id':_0x6454ca[_0x3e4fea(0x114)]['id'],'params':{'unitId':_0x486743,'subUnitId':_0x391852,'selections':_0x27d805['Tools'][_0x3e4fea(0x319)](_0x4bea78)}}],_0x8787fc=this[_0x3e4fea(0x56a)][_0x3e4fea(0x2aa)](_0x3efdd8,_0x3e98b0);if(!_0x3a188f['isTransformMutationsWithChangesetSuccess'](_0x8787fc))throw _0x8787fc[_0x3e4fea(0x4b9)];const _0x391bbc=(_0x3a74ed=(_0x1f0210=_0x8787fc[_0x3e4fea(0x331)][0x0])==null?void 0x0:_0x1f0210['params'])==null?void 0x0:_0x3a74ed[_0x3e4fea(0x1c6)];if(Array[_0x3e4fea(0x53f)](_0x391bbc)&&_0x391bbc[_0x3e4fea(0x4f3)]){if(_0x391bbc[_0x3e4fea(0x4f3)]===_0x3e98b0[0x0][_0x3e4fea(0x194)][_0x3e4fea(0x1c6)][_0x3e4fea(0x4f3)]&&_0x391bbc[_0x3e4fea(0x48b)]((_0x263a60,_0x592b96)=>_0x27d805[_0x3e4fea(0x11e)][_0x3e4fea(0x552)](_0x263a60[_0x3e4fea(0x3db)],_0x3e98b0[0x0][_0x3e4fea(0x194)][_0x3e4fea(0x1c6)][_0x592b96][_0x3e4fea(0x3db)])))return;this['_injector'][_0x3e4fea(0x457)](_0x27d805[_0x3e4fea(0x120)])[_0x3e4fea(0x2c6)](_0x6454ca[_0x3e4fea(0x114)]['id'],{'unitId':_0x486743,'subUnitId':_0x391852,'selections':_0x391bbc});}}};_0x2ebd4b=_0x240f52([_0x1165be(0x0,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0x1165be(0x1,_0x3a188f[_0x4fb43a(0x178)]),_0x1165be(0x2,_0x27d805[_0x4fb43a(0x25e)])],_0x2ebd4b);const _0xf00aca=_0x27d805[_0x4fb43a(0x351)]('univer-pro.collaboration-client.single-active-unit-service');var _0x147dd3=(_0xc4623=>(_0xc4623[_0xc4623['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4fb43a(0x25d),_0xc4623[_0xc4623['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xc4623))(_0x147dd3||{});const _0x10697b=0x7530,_0x5d5f52=_0x4fb43a(0x344);class _0x196f69 extends _0x27d805['Disposable']{constructor(){const _0x2482fc=_0x4fb43a;super(),_0x27d8b8(this,'_id',_0x27d805[_0x2482fc(0x59a)][_0x2482fc(0x44b)]()),_0x27d8b8(this,_0x2482fc(0x167),new Set()),_0x27d8b8(this,_0x2482fc(0x3fc),new Map()),_0x27d8b8(this,_0x2482fc(0x45b),null),_0x27d8b8(this,'_clearOtherTimers',new Map()),_0x27d8b8(this,_0x2482fc(0x484),new Map()),this[_0x2482fc(0x256)]();}['dispose'](){const _0x472b9a=_0x4fb43a;super[_0x472b9a(0x489)](),this[_0x472b9a(0x203)]['forEach']((_0x8875ba,_0x5a49b2)=>this[_0x472b9a(0x4a9)](_0x5a49b2)),this[_0x472b9a(0x45b)]&&window[_0x472b9a(0x2e1)](this[_0x472b9a(0x45b)]);}[_0x4fb43a(0x4bc)](_0x37d1cb){const _0x28cdae=_0x4fb43a;return this[_0x28cdae(0x367)](_0x37d1cb)[_0x28cdae(0x35c)](_0x21eaf3['distinctUntilChanged']());}['editingUnit'](_0x50b375){const _0xe34f99=_0x4fb43a;this['_selfUnitIDs'][_0xe34f99(0x26d)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe34f99(0x167)][_0xe34f99(0x159)](_0x50b375),this['_send']({'type':0x0,'memberID':this[_0xe34f99(0x390)],'unitIDs':[_0x50b375],'isForwarded':!0x1});}[_0x4fb43a(0xfe)](_0x3af170){const _0x29e748=_0x4fb43a;this['_selfUnitIDs']['delete'](_0x3af170),this[_0x29e748(0x167)][_0x29e748(0x26d)]===0x0&&this[_0x29e748(0x45b)]&&window['clearInterval'](this[_0x29e748(0x45b)]);}[_0x4fb43a(0x256)](){const _0x279c91=_0x4fb43a;this[_0x279c91(0x421)](_0x27d805[_0x279c91(0x339)](_0x21eaf3[_0x279c91(0x1b1)](window,'storage')[_0x279c91(0x438)](_0xafeb9f=>{const _0x342f44=_0x279c91;if(_0xafeb9f[_0x342f44(0x54e)]!==_0x5d5f52||!_0xafeb9f['newValue'])return;const _0x1400c8=JSON[_0x342f44(0x541)](_0xafeb9f[_0x342f44(0x3f2)]);this[_0x342f44(0x4da)](_0x1400c8);}))),window[_0x279c91(0x1f3)](_0x279c91(0x1ab),()=>this[_0x279c91(0x43f)]({'type':0x1,'memberID':this[_0x279c91(0x390)],'unitIDs':Array[_0x279c91(0x4e7)](this[_0x279c91(0x167)])}));}[_0x4fb43a(0x4da)](_0x24bae9){const _0xf25a45=_0x4fb43a;switch(_0x24bae9[_0xf25a45(0x389)]){case 0x0:this[_0xf25a45(0x137)](_0x24bae9);break;case 0x1:this['_handleLeaveEvent'](_0x24bae9);break;case 0x2:this[_0xf25a45(0x288)](_0x24bae9);break;}}[_0x4fb43a(0x137)](_0x20bd0f){const _0x57e55e=_0x4fb43a,{unitIDs:_0x930bf4,memberID:_0x2b6550,isForwarded:_0x2ddeb5}=_0x20bd0f;_0x930bf4[_0x57e55e(0x49f)](_0x419742=>{const _0x231eb0=_0x57e55e;if(!_0x2ddeb5&&this['_unitOnClients'][_0x231eb0(0x21d)](_0x419742)&&this[_0x231eb0(0x367)](_0x419742)[_0x231eb0(0x152)](0x1),!this[_0x231eb0(0x3fc)]['has'](_0x419742)||!this[_0x231eb0(0x3fc)][_0x231eb0(0x457)](_0x419742)[_0x231eb0(0x21d)](_0x2b6550)){const _0x5e7c44=this[_0x231eb0(0x3fc)]['get'](_0x419742)||new Set();_0x5e7c44[_0x231eb0(0x159)](_0x2b6550),this[_0x231eb0(0x3fc)]['set'](_0x419742,_0x5e7c44),this['_scheduleClearOtherTimer'](_0x2b6550);}}),_0x2ddeb5||this['_send']({'type':0x0,'memberID':this[_0x57e55e(0x390)],'unitIDs':[...this[_0x57e55e(0x167)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4a244a){const _0x3c7aa4=_0x4fb43a;this[_0x3c7aa4(0x4a9)](_0x4a244a);const _0x2744f6=window[_0x3c7aa4(0x425)](()=>{const _0x106bcf=_0x3c7aa4;this[_0x106bcf(0x3fc)][_0x106bcf(0x49f)](_0x112b6d=>{const _0x4b9f62=_0x106bcf;_0x112b6d[_0x4b9f62(0x4ad)](_0x4a244a);});},_0x10697b*0x2);this['_clearOtherTimers'][_0x3c7aa4(0x3dc)](_0x4a244a,_0x2744f6);}[_0x4fb43a(0x4a9)](_0x2eac2e){const _0x563cc=_0x4fb43a;if(this['_clearOtherTimers'][_0x563cc(0x21d)](_0x2eac2e)){const _0x4d1539=this[_0x563cc(0x203)][_0x563cc(0x457)](_0x2eac2e);_0x4d1539&&window['clearTimeout'](_0x4d1539),this[_0x563cc(0x203)][_0x563cc(0x3dc)](_0x2eac2e,null);}}[_0x4fb43a(0x188)](_0x2c5746){const _0xf39d44=_0x4fb43a,{memberID:_0x9efc04,unitIDs:_0x452eab}=_0x2c5746;_0x452eab[_0xf39d44(0x49f)](_0x1a303f=>{const _0x148fce=_0xf39d44;var _0x8b4688;const _0xf9c489=this[_0x148fce(0x3fc)][_0x148fce(0x457)](_0x1a303f);_0xf9c489&&(_0xf9c489[_0x148fce(0x4ad)](_0x9efc04),(_0x8b4688=this[_0x148fce(0x367)](_0x1a303f))==null||_0x8b4688[_0x148fce(0x152)](_0xf9c489[_0x148fce(0x26d)]===0x0?0x0:0x1));}),this[_0xf39d44(0x4a9)](_0x9efc04);}['_handleHeartbeatEvent'](_0x85b908){const _0x4ad66e=_0x4fb43a;this[_0x4ad66e(0x56b)](_0x85b908[_0x4ad66e(0x424)]);}[_0x4fb43a(0x43f)](_0x3c614b){const _0xb37f0c=_0x4fb43a;localStorage[_0xb37f0c(0x510)](_0x5d5f52,JSON[_0xb37f0c(0x392)](_0x3c614b));}['_scheduleHeartbeat'](){const _0x2835ea=_0x4fb43a;this['_heartbeatTimer']=window[_0x2835ea(0x157)](()=>{const _0x5d70d7=_0x2835ea;this['_send']({'type':0x2,'memberID':this[_0x5d70d7(0x390)]});},_0x10697b);}[_0x4fb43a(0x367)](_0x26da9e){const _0x291131=_0x4fb43a;return this['_unitStatus']['has'](_0x26da9e)||this[_0x291131(0x484)]['set'](_0x26da9e,new _0x21eaf3[(_0x291131(0x197))](0x0)),this[_0x291131(0x484)][_0x291131(0x457)](_0x26da9e);}}var _0xfccc14=Object[_0x4fb43a(0x3de)],_0x427c42=Object[_0x4fb43a(0x44a)],_0x202db6=(_0x14c919,_0x37cee5,_0x48797b,_0x5b7708)=>{const _0x38ec1f=_0x4fb43a;for(var _0x1d8054=_0x5b7708>0x1?void 0x0:_0x5b7708?_0x427c42(_0x37cee5,_0x48797b):_0x37cee5,_0x89cb36=_0x14c919[_0x38ec1f(0x4f3)]-0x1,_0x2bfdfd;_0x89cb36>=0x0;_0x89cb36--)(_0x2bfdfd=_0x14c919[_0x89cb36])&&(_0x1d8054=(_0x5b7708?_0x2bfdfd(_0x37cee5,_0x48797b,_0x1d8054):_0x2bfdfd(_0x1d8054))||_0x1d8054);return _0x5b7708&&_0x1d8054&&_0xfccc14(_0x37cee5,_0x48797b,_0x1d8054),_0x1d8054;},_0x5a8de6=(_0x5e6970,_0x22f943)=>(_0x2120ca,_0x1aa61c)=>_0x22f943(_0x2120ca,_0x1aa61c,_0x5e6970);let _0x4f5ac4=class{constructor(_0x3ff677,_0x51bd77,_0x47db30){const _0x1967fc=_0x4fb43a;this['_injector']=_0x3ff677,this['_transformService']=_0x51bd77,this[_0x1967fc(0x2c8)]=_0x47db30;}['transformStateCache'](_0xdcc1fd){this['_transformHistoryAndStateStack'](_0xdcc1fd);}['transformRemoteChangeset'](_0x54e03e){const _0x4a7d75=_0x4fb43a,{unitID:_0x1f85a3}=_0x54e03e,{collaboration:_0x350be8}=this[_0x4a7d75(0x2c8)][_0x4a7d75(0x507)](_0x1f85a3);if(_0x350be8[_0x4a7d75(0x4f3)]===0x0)return _0x54e03e;let _0x422bbe=_0x27d805[_0x4a7d75(0x59a)][_0x4a7d75(0x319)](_0x54e03e[_0x4a7d75(0x183)][0x0]);for(let _0x33b5b8=0x0;_0x33b5b8<_0x350be8[_0x4a7d75(0x4f3)];_0x33b5b8++){const _0x5c4b89={'id':_0x4a7d75(0x357),'params':{'unitId':_0x350be8[_0x33b5b8][_0x4a7d75(0x481)],..._0x350be8[_0x33b5b8][_0x4a7d75(0x1eb)]}},_0x7efa4f=this[_0x4a7d75(0x56a)][_0x4a7d75(0x369)](_0x422bbe,_0x5c4b89,!0x1);if(_0x3a188f[_0x4a7d75(0x2f7)](_0x7efa4f))throw _0x7efa4f['error'];_0x422bbe=_0x7efa4f['m1Prime'];}return{..._0x27d805[_0x4a7d75(0x59a)][_0x4a7d75(0x319)](_0x54e03e),'mutations':[_0x422bbe]};}[_0x4fb43a(0x113)](_0x227df5){const _0x39c818=_0x4fb43a,{unitID:_0x3984a0}=_0x227df5,{history:_0x11a82b,collaboration:_0x353376}=this[_0x39c818(0x2c8)][_0x39c818(0x507)](_0x3984a0);if(_0x11a82b[_0x39c818(0x4f3)]===0x0&&_0x353376['length']===0x0)return;const _0x45891a=[],_0x3419aa=[];let _0xc93949=_0x27d805[_0x39c818(0x59a)]['deepClone'](_0x227df5['mutations'][0x0]),_0x519db9=_0x27d805[_0x39c818(0x59a)][_0x39c818(0x319)](_0x227df5['mutations'][0x0]);for(let _0x4b0c00=_0x11a82b['length']-0x1;_0x4b0c00>=0x0;_0x4b0c00--){const _0x5bc3fa={'id':_0x39c818(0x357),'params':{'unitId':_0x11a82b[_0x4b0c00][_0x39c818(0x481)],..._0x11a82b[_0x4b0c00]['undoState']}},_0x27f3f5={'id':_0x39c818(0x357),'params':{'unitId':_0x11a82b[_0x4b0c00][_0x39c818(0x481)],..._0x11a82b[_0x4b0c00][_0x39c818(0x1eb)]}},_0x36d4ad=this[_0x39c818(0x56a)][_0x39c818(0x369)](_0xc93949,_0x5bc3fa,!0x1),_0x449202=this['_transformService'][_0x39c818(0x369)](_0x519db9,_0x27f3f5,!0x1);if(_0x3a188f[_0x39c818(0x2f7)](_0x36d4ad))throw _0x36d4ad[_0x39c818(0x4b9)];if(_0x3a188f[_0x39c818(0x2f7)](_0x449202))throw _0x449202[_0x39c818(0x4b9)];_0x45891a[_0x39c818(0x4d0)]({..._0x11a82b[_0x4b0c00],'undoState':_0x36d4ad['m2Prime'][_0x39c818(0x194)],'redoState':_0x449202[_0x39c818(0x331)][_0x39c818(0x194)]}),_0xc93949=_0x36d4ad[_0x39c818(0x583)],_0x519db9=_0x449202[_0x39c818(0x583)];}_0xc93949=_0x27d805[_0x39c818(0x59a)][_0x39c818(0x319)](_0x227df5[_0x39c818(0x183)][0x0]),_0x519db9=_0x27d805[_0x39c818(0x59a)][_0x39c818(0x319)](_0x227df5[_0x39c818(0x183)][0x0]);for(let _0x3da48f=_0x353376[_0x39c818(0x4f3)]-0x1;_0x3da48f>=0x0;_0x3da48f--){const _0x18229e={'id':_0x39c818(0x357),'params':{'unitId':_0x353376[_0x3da48f][_0x39c818(0x481)],..._0x353376[_0x3da48f][_0x39c818(0x4d5)]}},_0x4da8c1={'id':_0x39c818(0x357),'params':{'unitId':_0x353376[_0x3da48f][_0x39c818(0x481)],..._0x353376[_0x3da48f][_0x39c818(0x1eb)]}},_0x20b615=this[_0x39c818(0x56a)]['transformMutation'](_0xc93949,_0x18229e,!0x1),_0x2465f8=this[_0x39c818(0x56a)]['transformMutation'](_0x519db9,_0x4da8c1,!0x1);if(_0x3a188f[_0x39c818(0x2f7)](_0x20b615))throw _0x20b615[_0x39c818(0x4b9)];if(_0x3a188f['isTransformMutationFailure'](_0x2465f8))throw _0x2465f8[_0x39c818(0x4b9)];_0x3419aa[_0x39c818(0x4d0)]({..._0x353376[_0x3da48f],'undoState':_0x20b615[_0x39c818(0x331)][_0x39c818(0x194)],'redoState':_0x2465f8[_0x39c818(0x331)][_0x39c818(0x194)]}),_0xc93949=_0x20b615[_0x39c818(0x583)],_0x519db9=_0x2465f8[_0x39c818(0x583)];}this[_0x39c818(0x2c8)][_0x39c818(0x1ba)](_0x3984a0,{'history':_0x45891a,'collaboration':_0x3419aa});}};_0x4f5ac4=_0x202db6([_0x5a8de6(0x0,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0x5a8de6(0x1,_0x3a188f[_0x4fb43a(0x178)]),_0x5a8de6(0x2,_0x27d805['Inject'](_0x89d13d[_0x4fb43a(0x482)]))],_0x4f5ac4);function _0x3f6733(_0x2ca68b){const _0x4c9780=_0x4fb43a;let _0x3c438c='';for(const _0x51f3bc of _0x2ca68b){const {startOffset:_0x4083fb,endOffset:_0x1fb9f0,isActive:_0x4e491e,rangeType:_0x3be65f,segmentId:_0x3394d1,segmentPage:_0x483622}=_0x51f3bc;_0x3c438c[_0x4c9780(0x4f3)]&&(_0x3c438c+=','),_0x3c438c+=_0x4083fb+':'+_0x1fb9f0+':'+(_0x4e491e?'1':'0')+':'+_0x3be65f+':'+_0x3394d1+':'+_0x483622;}return _0x3c438c;}function _0x127484(_0xdb0410){const _0x309895=_0x4fb43a,_0x23df61=_0xdb0410['split'](','),_0x5278be=[];for(const _0x33ff92 of _0x23df61){const [_0x72d5b6,_0x4bca4f,_0x52c16,_0x2a1b38,_0x1f290e,_0x3f2119]=_0x33ff92[_0x309895(0x11c)](':');_0x5278be[_0x309895(0x582)]({'startOffset':Number(_0x72d5b6),'endOffset':Number(_0x4bca4f),'collapsed':_0x72d5b6===_0x4bca4f,'isActive':_0x52c16==='1','rangeType':_0x2a1b38===_0x27d805[_0x309895(0x226)]['TEXT']?_0x27d805[_0x309895(0x226)][_0x309895(0x201)]:_0x27d805[_0x309895(0x226)]['RECT'],'segmentId':typeof _0x1f290e==_0x309895(0x2ea)?String(_0x1f290e):'','segmentPage':Number(_0x3f2119!=null?_0x3f2119:-0x1)});}return _0x5278be[_0x309895(0x595)](_0xfcde58=>_0xfcde58['isActive'])||(_0x5278be[0x0][_0x309895(0x4df)]=!0x0),_0x5278be;}class _0x2f7020 extends _0x27d805[_0x4fb43a(0x569)]{constructor(){const _0x138cf3=_0x4fb43a;super(...arguments),_0x27d8b8(this,_0x138cf3(0x5a2),new _0x21eaf3['BehaviorSubject'](null)),_0x27d8b8(this,_0x138cf3(0x142),this['_collabCursorState$'][_0x138cf3(0x4ba)]());}['syncEditingCollabCursor'](_0x580f9a){const _0x498135=_0x4fb43a,{unitID:_0x2e6bd8,memberID:_0x4871cc,textRanges:_0x3ddc5f}=_0x580f9a,_0x4d82eb=_0x3f6733(_0x3ddc5f);if(_0x4d82eb==='')return;const _0x35a0e6={'unitID':_0x2e6bd8,'memberID':_0x4871cc,'selection':_0x4d82eb};this[_0x498135(0x5a2)][_0x498135(0x152)](_0x35a0e6);}}var _0x55432e=Object[_0x4fb43a(0x3de)],_0x536454=Object[_0x4fb43a(0x44a)],_0x453826=(_0x5d0e0a,_0x498603,_0x14f938,_0xc0a1fe)=>{const _0x1f0bb4=_0x4fb43a;for(var _0x37751d=_0xc0a1fe>0x1?void 0x0:_0xc0a1fe?_0x536454(_0x498603,_0x14f938):_0x498603,_0x45004e=_0x5d0e0a[_0x1f0bb4(0x4f3)]-0x1,_0x43a39b;_0x45004e>=0x0;_0x45004e--)(_0x43a39b=_0x5d0e0a[_0x45004e])&&(_0x37751d=(_0xc0a1fe?_0x43a39b(_0x498603,_0x14f938,_0x37751d):_0x43a39b(_0x37751d))||_0x37751d);return _0xc0a1fe&&_0x37751d&&_0x55432e(_0x498603,_0x14f938,_0x37751d),_0x37751d;},_0x5cd91e=(_0x4b5a2a,_0x442cca)=>(_0x16f63d,_0x3621cc)=>_0x442cca(_0x16f63d,_0x3621cc,_0x4b5a2a);let _0x84b5a=class{constructor(_0x2038bb,_0x175148){this['_injector']=_0x2038bb,this['_transformService']=_0x175148;}[_0x4fb43a(0x2c7)](_0x26cf81){const _0x14d31a=_0x4fb43a;var _0x4feaca;const _0x1d74e8=this[_0x14d31a(0x371)][_0x14d31a(0x457)](_0x599689[_0x14d31a(0x34b)]),_0x167cbd=(_0x4feaca=_0x1d74e8['getDocRanges']())!=null?_0x4feaca:[];if(_0x167cbd[_0x14d31a(0x4f3)]===0x0)return;const _0x4abceb=[{'id':_0x14d31a(0x357),'params':{'unitId':_0x26cf81[_0x14d31a(0xe9)],'actions':null,'textRanges':_0x167cbd}}],_0x394cd5=this[_0x14d31a(0x56a)][_0x14d31a(0x2aa)](_0x26cf81,_0x4abceb);if(!_0x3a188f['isTransformMutationsWithChangesetSuccess'](_0x394cd5))throw _0x394cd5[_0x14d31a(0x4b9)];const _0x1779e1=_0x394cd5[_0x14d31a(0x331)][0x0]['params']['textRanges'];Array[_0x14d31a(0x53f)](_0x1779e1)&&_0x1779e1[_0x14d31a(0x4f3)]&&_0x1d74e8[_0x14d31a(0x494)](_0x1779e1,!0x1);}};_0x84b5a=_0x453826([_0x5cd91e(0x0,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0x5cd91e(0x1,_0x3a188f[_0x4fb43a(0x178)])],_0x84b5a);const _0xf312c8=new Set([_0x6454ca[_0x4fb43a(0x3a1)]['id']]);function _0x3f0eef(_0x3e057b,_0x41beef,_0x41953f,_0x5d5beb,_0x1798c8){const _0x4ff39e=_0x4fb43a;var _0x3a999b,_0xdceff6,_0x298c91,_0xa7589d;const _0xe918ed=[];for(const _0x3aa394 of _0x3e057b)if(_0xf312c8[_0x4ff39e(0x21d)](_0x3aa394['id'])){if(_0xe918ed[_0x4ff39e(0x4f3)]>0x0)break;_0xe918ed[_0x4ff39e(0x582)](_0x3aa394);break;}else _0xe918ed[_0x4ff39e(0x582)](_0x3aa394);const _0x575faa=(_0xdceff6=(_0x3a999b=_0x1798c8[_0x4ff39e(0x419)]())==null?void 0x0:_0x3a999b[_0x4ff39e(0x1f8)])!=null?_0xdceff6:_0x4ff39e(0x209),_0xbd36c=(_0xa7589d=(_0x298c91=_0x1798c8['getCurrentUser']())==null?void 0x0:_0x298c91[_0x4ff39e(0x424)])!=null?_0xa7589d:_0x4ff39e(0x209);return{'changeset':{'unitID':_0x41beef,'type':_0x3a188f['mapDocumentTypeToUniverType'](_0x41953f['getUnitType'](_0x41beef)),'baseRev':_0x5d5beb[_0x4ff39e(0x4c4)](_0x41beef),'revision':0x0,'userID':_0x575faa,'memberID':_0xbd36c,'mutations':_0xe918ed},'pendingMutations':_0x3e057b[_0x4ff39e(0x29c)](_0xe918ed['length'])};}function _0x85e4bd(_0x803c8c,_0x1563ab,_0x103fed,_0x58a4a0,_0x265ea5){const _0x51a550=_0x4fb43a;var _0xba8f98,_0x4f945c,_0x4ee8a1,_0x5cfe85;const _0x34cd4e=[_0x803c8c[_0x51a550(0x40c)]((_0x22d477,_0x27fa9f)=>{const _0x3af14a=_0x51a550;var _0xf2124;const {id:_0x878a7d}=_0x22d477,{id:_0x4d5ff9,type:_0x22da0c}=_0x27fa9f,_0x330e2a=(_0xf2124=_0x22d477[_0x3af14a(0x194)])!=null?_0xf2124:{'actions':null},_0x233835=_0x27fa9f[_0x3af14a(0x194)];if(_0x878a7d&&_0x878a7d!==_0x4d5ff9)throw new Error(_0x3af14a(0x2b1)+_0x878a7d+_0x3af14a(0x10a)+_0x4d5ff9+'.');return{..._0x22d477,'id':_0x4d5ff9,'type':_0x22da0c,'params':{'unitId':_0x233835[_0x3af14a(0x481)],'textRanges':_0x233835['textRanges'],'actions':_0x27d805['JSONX'][_0x3af14a(0x47b)](_0x330e2a[_0x3af14a(0x5a7)],_0x233835['actions'])}};},{})],_0x519b28=(_0x4f945c=(_0xba8f98=_0x265ea5['getCurrentUser']())==null?void 0x0:_0xba8f98[_0x51a550(0x1f8)])!=null?_0x4f945c:'unknown',_0x31a1d3=(_0x5cfe85=(_0x4ee8a1=_0x265ea5['getCurrentUser']())==null?void 0x0:_0x4ee8a1[_0x51a550(0x424)])!=null?_0x5cfe85:'unknown';return{'changeset':{'unitID':_0x1563ab,'type':_0x3a188f[_0x51a550(0x32b)](_0x103fed[_0x51a550(0x431)](_0x1563ab)),'baseRev':_0x58a4a0[_0x51a550(0x4c4)](_0x1563ab),'revision':0x0,'userID':_0x519b28,'memberID':_0x31a1d3,'mutations':_0x34cd4e},'pendingMutations':[]};}function _0x4b97b4(_0x5382b6,_0x42fded){const _0x597d4d=_0x4fb43a,_0x4b4a60=new _0x21eaf3[(_0x597d4d(0x2ce))](0x1);return setTimeout(()=>_0x4b4a60['next'](_0x42fded),_0x5382b6),_0x4b4a60[_0x597d4d(0x4ba)]()['pipe'](_0x21eaf3[_0x597d4d(0x4c8)](0x1));}const _0x9802fb={'id':_0x6454ca['EmptyMutation']['id'],'type':_0x27d805[_0x4fb43a(0x221)][_0x4fb43a(0x4a7)],'params':{}};var _0x56a2c3=Object[_0x4fb43a(0x3de)],_0x36c2bb=Object[_0x4fb43a(0x44a)],_0x51c1b4=(_0x92934,_0x13dc63,_0x36953a,_0x6163a9)=>{const _0x2d968a=_0x4fb43a;for(var _0xdf2d7f=_0x6163a9>0x1?void 0x0:_0x6163a9?_0x36c2bb(_0x13dc63,_0x36953a):_0x13dc63,_0x593eec=_0x92934[_0x2d968a(0x4f3)]-0x1,_0x2f81a7;_0x593eec>=0x0;_0x593eec--)(_0x2f81a7=_0x92934[_0x593eec])&&(_0xdf2d7f=(_0x6163a9?_0x2f81a7(_0x13dc63,_0x36953a,_0xdf2d7f):_0x2f81a7(_0xdf2d7f))||_0xdf2d7f);return _0x6163a9&&_0xdf2d7f&&_0x56a2c3(_0x13dc63,_0x36953a,_0xdf2d7f),_0xdf2d7f;},_0x38989d=(_0x3f4db6,_0x195405)=>(_0x1f28b6,_0x1fa4ac)=>_0x195405(_0x1f28b6,_0x1fa4ac,_0x3f4db6),_0x3c2896=(_0x89cd30=>(_0x89cd30[_0x4fb43a(0x47e)]=_0x4fb43a(0x1b4),_0x89cd30['SYNCED']=_0x4fb43a(0x244),_0x89cd30[_0x4fb43a(0x276)]=_0x4fb43a(0x43b),_0x89cd30['AWAITING']=_0x4fb43a(0x4a5),_0x89cd30[_0x4fb43a(0x1a7)]=_0x4fb43a(0x2a6),_0x89cd30['FETCH_MISS']=_0x4fb43a(0x504),_0x89cd30['CONFLICT']=_0x4fb43a(0x14b),_0x89cd30[_0x4fb43a(0x1af)]=_0x4fb43a(0x1b0),_0x89cd30))(_0x3c2896||{});const _0x4d815f=0xea60;class _0x1c7fe9{constructor(_0x42a481,_0x2c726a,_0x52e3d4,_0x1ecf01,_0x3c40e1,_0x3be126,_0x586a10,_0x4e11c4,_0x238b99){const _0x515cf2=_0x4fb43a;_0x27d8b8(this,_0x515cf2(0x497),null),_0x27d8b8(this,_0x515cf2(0xe6),[]),(this[_0x515cf2(0xe9)]=_0x42a481,this[_0x515cf2(0x389)]=_0x2c726a,this[_0x515cf2(0x3a0)]=_0x3c40e1,this[_0x515cf2(0x542)]=_0x3be126,this[_0x515cf2(0x468)]=_0x586a10,this[_0x515cf2(0x4ff)]=_0x4e11c4,this['_localCacheService']=_0x238b99,this[_0x515cf2(0x497)]=_0x52e3d4,this[_0x515cf2(0xe6)]=_0x1ecf01);}['_checkMissing'](_0x51e6d2){const _0x4793d9=_0x4fb43a,_0x38ab17=this[_0x4793d9(0x4ff)][_0x4793d9(0x4c4)](this[_0x4793d9(0xe9)]);return _0x51e6d2['revision']>_0x38ab17+0x1?(this['_handler'][_0x4793d9(0x4f7)]({'from':_0x38ab17,'to':_0x51e6d2[_0x4793d9(0x46b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3302d4){const _0x475d4b=_0x4fb43a;this[_0x475d4b(0x468)][_0x475d4b(0x21b)](this['unitID'],_0x3302d4);}[_0x4fb43a(0x593)](_0x17582a){const _0x4bc767=_0x4fb43a;var _0x4ce2dd,_0x5d18f0;(_0x5d18f0=(_0x4ce2dd=this['_handler'])[_0x4bc767(0x3d4)])==null||_0x5d18f0['call'](_0x4ce2dd,_0x17582a);}['_transformIMECache'](_0x2edfb5){const _0x73cc75=_0x4fb43a;var _0x4d8f56,_0x180e1f;return(_0x180e1f=(_0x4d8f56=this[_0x73cc75(0x3a0)])['onTransformIME'])==null?void 0x0:_0x180e1f['call'](_0x4d8f56,_0x2edfb5);}[_0x4fb43a(0x1c3)](_0x203c63){const _0x4168a0=_0x4fb43a;var _0x1a91da,_0x138af0;return(_0x138af0=(_0x1a91da=this['_handler'])[_0x4168a0(0xfa)])==null?void 0x0:_0x138af0[_0x4168a0(0x50f)](_0x1a91da,_0x203c63);}['_transformRemoteChangesetByIMECache'](_0x2b346b){const _0x2ae73c=_0x4fb43a;var _0x58a7b4,_0x47d860,_0x3ff8af;return(_0x3ff8af=(_0x47d860=(_0x58a7b4=this[_0x2ae73c(0x3a0)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x47d860[_0x2ae73c(0x50f)](_0x58a7b4,_0x2b346b))!=null?_0x3ff8af:_0x2b346b;}[_0x4fb43a(0x17a)](_0x3a7356){const _0x4ade78=_0x4fb43a;var _0x2055c6,_0x48e892,_0x4bd08f;return(_0x4bd08f=(_0x48e892=(_0x2055c6=this[_0x4ade78(0x3a0)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48e892['call'](_0x2055c6,_0x3a7356))!=null?_0x4bd08f:_0x3a7356;}[_0x4fb43a(0x4ac)](_0x5c7666){const _0x5b8f9a=_0x4fb43a;var _0x3d24bf,_0x29dc8d;if(this[_0x5b8f9a(0x389)]===_0x5c70c6[_0x5b8f9a(0x515)]){const {unitID:_0x51a87e,mutations:_0x434ca1,memberID:_0x3029a0}=_0x5c7666,_0x30922e=_0x434ca1[0x0]['params']['textRanges'];Array[_0x5b8f9a(0x53f)](_0x30922e)&&_0x30922e[_0x5b8f9a(0x4f3)]>0x0&&((_0x29dc8d=(_0x3d24bf=this['_handler'])[_0x5b8f9a(0x17b)])==null||_0x29dc8d['call'](_0x3d24bf,{'unitID':_0x51a87e,'memberID':_0x3029a0,'textRanges':_0x30922e}));}}['_updateLocalCache'](){const _0x3ad996=_0x4fb43a;this[_0x3ad996(0x598)]['updateOfflineData'](this['unitID'],this[_0x3ad996(0x389)],this['_awaitingChangeset'],this[_0x3ad996(0xe6)]);}[_0x4fb43a(0x1b7)](){const _0xe81854=_0x4fb43a;return this[_0xe81854(0x4ff)][_0xe81854(0x4c4)](this[_0xe81854(0xe9)]);}[_0x4fb43a(0x401)](){const _0x3256ec=_0x4fb43a;this[_0x3256ec(0x4ff)][_0x3256ec(0x505)](this[_0x3256ec(0xe9)]);}[_0x4fb43a(0x1e6)](_0x2ce057){const _0x48f52d=_0x4fb43a;var _0x19a242;let _0xd10128=this[_0x48f52d(0x2f6)](_0x2ce057);_0xd10128=this[_0x48f52d(0x17a)](_0xd10128);const _0xc4c03a=_0x27d805['sequenceExecute'](_0xd10128[_0x48f52d(0x183)],this[_0x48f52d(0x542)],{'fromCollab':!0x0});if(!_0xc4c03a[_0x48f52d(0x57c)])throw _0xc4c03a[_0x48f52d(0x4b9)]instanceof Error?_0xc4c03a[_0x48f52d(0x4b9)]:new Error((_0x19a242=_0xc4c03a[_0x48f52d(0x4b9)])!=null?_0x19a242:_0x48f52d(0x58e));this[_0x48f52d(0x302)](_0xd10128),this['_transformStateCache'](_0xd10128),this[_0x48f52d(0x55a)](_0x2ce057),this[_0x48f52d(0x593)](_0xd10128),this[_0x48f52d(0x4ac)](_0xd10128),this['_incrementRevisionNumber']();}}let _0x38b204=class extends _0x1c7fe9{constructor(_0x134e48,_0x5441f4,_0x19e02f,_0x48c900,_0x26c64d,_0x39e7b2,_0x2ce5ce,_0x53dd41,_0x1f5c7a,_0xa9ef88){const _0x385748=_0x4fb43a;super(_0x134e48,_0x5441f4,null,[],_0x19e02f,_0x53dd41,_0x2ce5ce,_0x48c900,_0x26c64d),_0x27d8b8(this,_0x385748(0x51a),_0x385748(0x244)),(this[_0x385748(0x371)]=_0x39e7b2,this[_0x385748(0x1e4)]=_0x1f5c7a,this[_0x385748(0x56a)]=_0xa9ef88);}[_0x4fb43a(0x262)](_0x4885b4){const _0x23f7d7=_0x4fb43a,_0x313674=this[_0x23f7d7(0x371)][_0x23f7d7(0x3fb)](_0x249716,this['unitID'],this['type'],[_0x4885b4],this['_handler']);return _0x313674[_0x23f7d7(0x307)](),_0x313674[_0x23f7d7(0x382)](),_0x313674;}[_0x4fb43a(0x39f)](_0x331552){const _0x5abadb=_0x4fb43a;if(this[_0x5abadb(0x1de)](_0x331552))return this[_0x5abadb(0x371)][_0x5abadb(0x3fb)](_0x54df16,this['unitID'],this[_0x5abadb(0x389)],null,[],null,[_0x331552],this[_0x5abadb(0x3a0)]);try{const _0x40d496=this[_0x5abadb(0x56a)]['transformMutationsWithChangeset'](_0x331552,[_0x9802fb]);if(_0x3a188f[_0x5abadb(0x578)](_0x40d496)){const {c1Prime:_0x15c6b6}=_0x40d496;return this[_0x5abadb(0x1e6)](_0x15c6b6),this;}throw _0x40d496[_0x5abadb(0x4b9)];}catch(_0x3b92f3){return this['_logService'][_0x5abadb(0x4b9)](_0x3b92f3),this[_0x5abadb(0x567)](!0x1);}}['_onConflict'](_0x3b516a){const _0x4ec3d9=_0x4fb43a;return this[_0x4ec3d9(0x371)]['createInstance'](_0x9d1218,this[_0x4ec3d9(0xe9)],this[_0x4ec3d9(0x389)],null,[],this[_0x4ec3d9(0x3a0)],_0x3b516a);}['onRemoteAck'](){const _0xc5579d=_0x4fb43a;throw new Error(_0xc5579d(0x473));}[_0x4fb43a(0x168)](){const _0x2865d6=_0x4fb43a;throw new Error(_0x2865d6(0x130));}[_0x4fb43a(0xf2)](){return this;}[_0x4fb43a(0x2e0)](){const _0x5444de=_0x4fb43a;return this[_0x5444de(0x371)][_0x5444de(0x3fb)](_0x3e7954,this[_0x5444de(0xe9)],this[_0x5444de(0x389)],null,[],this[_0x5444de(0x3a0)]);}[_0x4fb43a(0x36e)](){return this;}[_0x4fb43a(0x13e)](){const _0x578fd0=_0x4fb43a;throw new Error(_0x578fd0(0x50b));}[_0x4fb43a(0x39b)](){const _0x1fbaee=_0x4fb43a,_0x37dda2=this[_0x1fbaee(0x4ff)][_0x1fbaee(0x4c4)](this[_0x1fbaee(0xe9)]);return this['_handler'][_0x1fbaee(0x4f7)]({'from':_0x37dda2,'to':0x0}),this[_0x1fbaee(0x371)][_0x1fbaee(0x3fb)](_0x54df16,this['unitID'],this['type'],null,[],null,[],this[_0x1fbaee(0x3a0)]);}};_0x38b204=_0x51c1b4([_0x38989d(0x3,_0x27d805[_0x4fb43a(0x236)](_0x3a188f['RevisionService'])),_0x38989d(0x4,_0x27d805[_0x4fb43a(0x236)](_0x5e2809['LocalCacheService'])),_0x38989d(0x5,_0x27d805['Inject'](_0x27d805['Injector'])),_0x38989d(0x6,_0x27d805[_0x4fb43a(0x24b)]),_0x38989d(0x7,_0x27d805['ICommandService']),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x43d)]),_0x38989d(0x9,_0x3a188f[_0x4fb43a(0x178)])],_0x38b204);let _0x249716=class extends _0x1c7fe9{constructor(_0x1dd6ac,_0x51431e,_0x49a249,_0xc36f4a,_0x4c8e95,_0x46a786,_0x5810e5,_0x503c8b,_0xd247d2,_0x211922,_0x3a87e3,_0x540404,_0x431f99,_0x5c00ae){const _0x18d5f2=_0x4fb43a;super(_0x1dd6ac,_0x51431e,null,_0x49a249,_0xc36f4a,_0x211922,_0x5c00ae,_0x46a786,_0x5810e5),_0x27d8b8(this,_0x18d5f2(0x51a),_0x18d5f2(0x43b)),_0x27d8b8(this,'_scheduleTimestamp',null),_0x27d8b8(this,'_sendingTimer',null),(this[_0x18d5f2(0x371)]=_0x4c8e95,this[_0x18d5f2(0x268)]=_0x503c8b,this['_logService']=_0xd247d2,this['_configService']=_0x3a87e3,this[_0x18d5f2(0x56a)]=_0x540404,this['_univerInstanceService']=_0x431f99);}[_0x4fb43a(0x262)](_0x21bc2a){const _0x265509=_0x4fb43a;return this[_0x265509(0xe6)][_0x265509(0x582)](_0x21bc2a),this[_0x265509(0x382)](),this;}[_0x4fb43a(0x39f)](_0x388a40){const _0x67b029=_0x4fb43a;if(this['_checkMissing'](_0x388a40))return this[_0x67b029(0x54c)](),this[_0x67b029(0x371)][_0x67b029(0x3fb)](_0x54df16,this[_0x67b029(0xe9)],this['type'],null,this[_0x67b029(0xe6)],null,[_0x388a40],this['_handler']);try{const _0x151e0a=this[_0x67b029(0x56a)]['transformMutationsWithChangeset'](_0x388a40,this[_0x67b029(0xe6)]);if(_0x3a188f[_0x67b029(0x578)](_0x151e0a)){const {c1Prime:_0x1ca17c,m2Prime:_0x15ea9d}=_0x151e0a;this[_0x67b029(0x1e6)](_0x1ca17c);const _0x4089ef=this[_0x67b029(0x371)][_0x67b029(0x3fb)](_0x249716,this[_0x67b029(0xe9)],this['type'],_0x15ea9d,this[_0x67b029(0x3a0)]);return this[_0x67b029(0x54c)](),_0x4089ef['_schedule'](this['_scheduleTimestamp']?Math[_0x67b029(0x3e9)](0x0,new Date()[_0x67b029(0x2ec)]()-this[_0x67b029(0x2ef)]):this[_0x67b029(0x420)]()),_0x4089ef;}throw _0x151e0a[_0x67b029(0x4b9)];}catch(_0x2f4136){return this[_0x67b029(0x1e4)][_0x67b029(0x4b9)](_0x2f4136),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4fb43a(0x168)](){const _0x4e3c4a=_0x4fb43a;throw new Error(_0x4e3c4a(0x205));}['onRemoteRetry'](){return this;}[_0x4fb43a(0x2e0)](){const _0x1e435d=_0x4fb43a;return this[_0x1e435d(0x54c)](),this['_injector']['createInstance'](_0x3e7954,this[_0x1e435d(0xe9)],this[_0x1e435d(0x389)],null,this[_0x1e435d(0xe6)],this[_0x1e435d(0x3a0)]);}['toggleOnline'](){return this;}['_schedule'](_0x3d60b8){const _0xd7b01f=_0x4fb43a,_0x519617=_0x3d60b8!=null?_0x3d60b8:this[_0xd7b01f(0x420)]();this[_0xd7b01f(0x2ef)]=new Date()[_0xd7b01f(0x2ec)](),this[_0xd7b01f(0x2df)]=window[_0xd7b01f(0x425)](()=>{const _0x2d5317=_0xd7b01f;this['_clearScheduledTask']();let _0x5c6ecc=null;switch(this[_0x2d5317(0x389)]){case _0x5c70c6[_0x2d5317(0x2bf)]:{_0x5c6ecc=_0x3f0eef(this[_0x2d5317(0xe6)],this[_0x2d5317(0xe9)],this[_0x2d5317(0x1cc)],this['_revisionService'],this[_0x2d5317(0x268)]);break;}case _0x5c70c6[_0x2d5317(0x515)]:{this[_0x2d5317(0xe6)]['every'](_0x179218=>_0x179218['id']===_0x599689[_0x2d5317(0x526)]['id'])?_0x5c6ecc=_0x85e4bd(this['_pendingMutations'],this[_0x2d5317(0xe9)],this[_0x2d5317(0x1cc)],this[_0x2d5317(0x4ff)],this[_0x2d5317(0x268)]):_0x5c6ecc=_0x3f0eef(this[_0x2d5317(0xe6)],this[_0x2d5317(0xe9)],this[_0x2d5317(0x1cc)],this['_revisionService'],this[_0x2d5317(0x268)]);break;}default:throw new Error(_0x2d5317(0x12a)+this[_0x2d5317(0x389)]+_0x2d5317(0x502));}const {changeset:_0xdf27d2,pendingMutations:_0x45ae0a}=_0x5c6ecc;this[_0x2d5317(0x3a0)]['onSendChangeset'](_0xdf27d2);const _0x59c0df=_0x45ae0a['length']?this[_0x2d5317(0x371)]['createInstance'](_0x15d8f8,this[_0x2d5317(0xe9)],this[_0x2d5317(0x389)],_0xdf27d2,_0x45ae0a,this['_handler'],void 0x0):this['_injector'][_0x2d5317(0x3fb)](_0x3d06b9,this[_0x2d5317(0xe9)],this['type'],_0xdf27d2,this[_0x2d5317(0x3a0)]);_0x59c0df['_updateLocalCache'](),this['_handler'][_0x2d5317(0x576)](this,_0x59c0df);},_0x519617);}[_0x4fb43a(0x420)](){const _0x74159c=_0x4fb43a;var _0x57affb;const _0x5a87a7=this[_0x74159c(0x16e)][_0x74159c(0x2b9)](_0x4df054);return(_0x57affb=_0x5a87a7==null?void 0x0:_0x5a87a7['sendChangesetTimeout'])!=null?_0x57affb:0x7d0;}['resend'](){const _0x2235de=_0x4fb43a;throw new Error(_0x2235de(0x59c));}[_0x4fb43a(0x54c)](){const _0x2183d3=_0x4fb43a;this[_0x2183d3(0x2df)]!=null&&(clearTimeout(this[_0x2183d3(0x2df)]),this[_0x2183d3(0x2df)]=null);}[_0x4fb43a(0x567)](_0xa9ac1b){const _0x41bc18=_0x4fb43a;return this[_0x41bc18(0x54c)](),this[_0x41bc18(0x371)][_0x41bc18(0x3fb)](_0x9d1218,this[_0x41bc18(0xe9)],this['type'],null,this[_0x41bc18(0xe6)],this[_0x41bc18(0x3a0)],_0xa9ac1b);}};_0x249716=_0x51c1b4([_0x38989d(0x4,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0x38989d(0x5,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)])),_0x38989d(0x6,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0x7,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x166)])),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x43d)]),_0x38989d(0x9,_0x27d805[_0x4fb43a(0x120)]),_0x38989d(0xa,_0x27d805[_0x4fb43a(0x2d7)]),_0x38989d(0xb,_0x3a188f[_0x4fb43a(0x178)]),_0x38989d(0xc,_0x27d805['IUniverInstanceService']),_0x38989d(0xd,_0x27d805['IUndoRedoService'])],_0x249716);let _0x3d06b9=class extends _0x1c7fe9{constructor(_0x3ab03d,_0x40dbc1,_0x15c505,_0x507be2,_0x51f7d0,_0x45d9ac,_0x3ecac4,_0x312b90,_0x4ad237,_0x17bd34,_0x1c9bc6){const _0x300d70=_0x4fb43a;super(_0x3ab03d,_0x40dbc1,_0x15c505,[],_0x507be2,_0x312b90,_0x1c9bc6,_0x45d9ac,_0x3ecac4),_0x27d8b8(this,_0x300d70(0x51a),_0x300d70(0x4a5)),_0x27d8b8(this,_0x300d70(0x40e),0x0),_0x27d8b8(this,_0x300d70(0x36d)),_0x27d8b8(this,_0x300d70(0x269)),(this[_0x300d70(0x371)]=_0x51f7d0,this['_logService']=_0x4ad237,this['_transformService']=_0x17bd34);}[_0x4fb43a(0x262)](_0x5672ee){const _0x3d9b21=_0x4fb43a;this[_0x3d9b21(0x54c)]();const _0x551c31=this[_0x3d9b21(0x371)][_0x3d9b21(0x3fb)](_0x15d8f8,this[_0x3d9b21(0xe9)],this['type'],this[_0x3d9b21(0x497)],[_0x5672ee],this['_handler'],this['_resendTimer']);return _0x551c31['_updateLocalCache'](),_0x551c31;}[_0x4fb43a(0x39f)](_0x103aad){const _0x511f68=_0x4fb43a;if(this[_0x511f68(0x1de)](_0x103aad))return this[_0x511f68(0x54c)](),this[_0x511f68(0x371)][_0x511f68(0x3fb)](_0x54df16,this[_0x511f68(0xe9)],this[_0x511f68(0x389)],this[_0x511f68(0x497)],[],null,[_0x103aad],this[_0x511f68(0x3a0)]);try{const _0x866568=this[_0x511f68(0x56a)]['transformChangesets']([_0x103aad],[this[_0x511f68(0x497)]],!0x1);if(_0x3a188f[_0x511f68(0x1f6)](_0x866568)){const {c1Prime:_0xfd3bd7,c2Prime:_0x4c1e8f}=_0x866568;this[_0x511f68(0x1e6)](_0xfd3bd7[0x0]),_0x4c1e8f[0x0][_0x511f68(0x3bb)]=this[_0x511f68(0x1b7)](),this['_clearScheduledTask']();const _0x3e7879=this[_0x511f68(0x371)][_0x511f68(0x3fb)](_0x3d06b9,this[_0x511f68(0xe9)],this[_0x511f68(0x389)],_0x4c1e8f[0x0],this[_0x511f68(0x3a0)]);return _0x3e7879[_0x511f68(0x382)](),_0x3e7879;}return this['_onConflict'](!0x1);}catch(_0x3a0d11){return this[_0x511f68(0x1e4)][_0x511f68(0x4b9)](_0x3a0d11),this[_0x511f68(0x567)](!0x1);}}[_0x4fb43a(0x292)](_0x2a9238){const _0x5cf33f=_0x4fb43a;this[_0x5cf33f(0x54c)]();const _0x1316f7=this[_0x5cf33f(0x4ff)][_0x5cf33f(0x4c4)](this[_0x5cf33f(0xe9)]);if(_0x2a9238[_0x5cf33f(0x46b)]<_0x1316f7-0x1)return this;if(this[_0x5cf33f(0x1de)](_0x2a9238))return this[_0x5cf33f(0x371)][_0x5cf33f(0x3fb)](_0x54df16,this[_0x5cf33f(0xe9)],this[_0x5cf33f(0x389)],null,[],this[_0x5cf33f(0x497)],[],this[_0x5cf33f(0x3a0)]);this['_incrementRevisionNumber']();const _0x5acf74=this['_injector'][_0x5cf33f(0x3fb)](_0x38b204,this[_0x5cf33f(0xe9)],this[_0x5cf33f(0x389)],this[_0x5cf33f(0x3a0)]);return _0x5acf74[_0x5cf33f(0x382)](),_0x5acf74;}[_0x4fb43a(0x168)](_0xb49162){const _0x286f77=_0x4fb43a;return this['_onConflict'](!!(_0xb49162!=null&&_0xb49162[_0x286f77(0x3fa)]));}['onRemoteRetry'](_0x3168e5){const _0x2442a8=_0x4fb43a;return this[_0x2442a8(0x40e)]>_0x4d815f?this[_0x2442a8(0x2e0)]():(this[_0x2442a8(0x36d)]=_0x4b97b4(this[_0x2442a8(0x40e)],{'timeout':this['_resendTimeout'],'reqId':_0x3168e5[_0x2442a8(0x55b)]}),this[_0x2442a8(0x269)]=this[_0x2442a8(0x36d)][_0x2442a8(0x438)](({reqId:_0x5cfd1e,timeout:_0x32a735})=>{const _0x5778b5=_0x2442a8;this[_0x5778b5(0x475)](_0x5cfd1e,_0x32a735);}),this);}[_0x4fb43a(0x2e0)](){const _0x27bf67=_0x4fb43a;return this[_0x27bf67(0x54c)](),this[_0x27bf67(0x371)][_0x27bf67(0x3fb)](_0x3e7954,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x4fb43a(0x36e)](){return this;}[_0x4fb43a(0x13e)](){const _0x12f438=_0x4fb43a;this['_handler']['onSendChangeset'](this[_0x12f438(0x497)]);}[_0x4fb43a(0x567)](_0x30113d){const _0x3902bb=_0x4fb43a;return this['_clearScheduledTask'](),this[_0x3902bb(0x371)]['createInstance'](_0x9d1218,this[_0x3902bb(0xe9)],this[_0x3902bb(0x389)],this['_awaitingChangeset'],[],this[_0x3902bb(0x3a0)],_0x30113d);}[_0x4fb43a(0x475)](_0x4d150d,_0x4db76f){const _0xab8314=_0x4fb43a;var _0x380c3b;_0x4d150d===((_0x380c3b=this[_0xab8314(0x497)])==null?void 0x0:_0x380c3b[_0xab8314(0x55b)])&&(this['resend'](),this[_0xab8314(0x40e)]=_0x4db76f===0x0?0x3e8:_0x4db76f*0x2);}[_0x4fb43a(0x54c)](){const _0x3447df=_0x4fb43a;var _0x5626d6;(_0x5626d6=this[_0x3447df(0x269)])==null||_0x5626d6[_0x3447df(0x225)](),this['_resendTimeout']=0x0;}};_0x3d06b9=_0x51c1b4([_0x38989d(0x4,_0x27d805[_0x4fb43a(0x236)](_0x27d805['Injector'])),_0x38989d(0x5,_0x27d805['Inject'](_0x3a188f[_0x4fb43a(0x3d1)])),_0x38989d(0x6,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0x7,_0x27d805['ICommandService']),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x43d)]),_0x38989d(0x9,_0x3a188f[_0x4fb43a(0x178)]),_0x38989d(0xa,_0x27d805[_0x4fb43a(0x24b)])],_0x3d06b9);let _0x15d8f8=class extends _0x1c7fe9{constructor(_0x581f14,_0x2e109c,_0x1ffedc,_0x768e0c,_0x18b9b2,_0x38ea77,_0x5cab09,_0x4d0edd,_0x197d6a,_0x2fecac,_0x5a0e89,_0x2af2bc,_0xa62fc2){const _0x159cc0=_0x4fb43a;super(_0x581f14,_0x2e109c,_0x1ffedc,_0x768e0c,_0x18b9b2,_0x2fecac,_0xa62fc2,_0x4d0edd,_0x197d6a),_0x27d8b8(this,_0x159cc0(0x51a),_0x159cc0(0x2a6)),_0x27d8b8(this,_0x159cc0(0x40e),0x0),_0x27d8b8(this,_0x159cc0(0x36d)),_0x27d8b8(this,'_sender'),(this[_0x159cc0(0x371)]=_0x5cab09,this['_logService']=_0x5a0e89,this[_0x159cc0(0x56a)]=_0x2af2bc,_0x38ea77&&(this['_resendTimer']=_0x38ea77,this[_0x159cc0(0x269)]=this['_resendTimer'][_0x159cc0(0x438)](({reqId:_0x46795d,timeout:_0x5bf195})=>{this['_resendWithTimeout'](_0x46795d,_0x5bf195);})));}['appendMutation'](_0x4bb535){const _0x299fb2=_0x4fb43a;return this[_0x299fb2(0xe6)][_0x299fb2(0x582)](_0x4bb535),this;}[_0x4fb43a(0x39f)](_0x4711ab){const _0x23f085=_0x4fb43a;if(this[_0x23f085(0x1de)](_0x4711ab))return this['_clearScheduledTask'](),this[_0x23f085(0x371)][_0x23f085(0x3fb)](_0x54df16,this['unitID'],this[_0x23f085(0x389)],this[_0x23f085(0x497)],this[_0x23f085(0xe6)],null,[_0x4711ab],this[_0x23f085(0x3a0)]);try{const _0x4427ef=this[_0x23f085(0x56a)][_0x23f085(0x15c)]([_0x4711ab],[this[_0x23f085(0x497)]],!0x1);if(_0x3a188f[_0x23f085(0x1f6)](_0x4427ef)){const {c1Prime:_0x28b3ab,c2Prime:_0x46f838}=_0x4427ef,_0x2f905f=this[_0x23f085(0x56a)][_0x23f085(0x2aa)](_0x28b3ab[0x0],this[_0x23f085(0xe6)]);if(_0x3a188f[_0x23f085(0x578)](_0x2f905f)){const {c1Prime:_0x94cb53,m2Prime:_0x2323c9}=_0x2f905f;return this[_0x23f085(0x1e6)](_0x94cb53),_0x46f838[0x0][_0x23f085(0x3bb)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x23f085(0x371)][_0x23f085(0x3fb)](_0x15d8f8,this[_0x23f085(0xe9)],this[_0x23f085(0x389)],_0x46f838[0x0],_0x2323c9,this[_0x23f085(0x3a0)],void 0x0);}throw _0x2f905f['error'];}throw _0x4427ef[_0x23f085(0x4b9)];}catch(_0x204dfe){return this[_0x23f085(0x1e4)][_0x23f085(0x4b9)](_0x204dfe),this[_0x23f085(0x567)](!0x1);}}[_0x4fb43a(0x292)](_0x4bf405){const _0x343d8f=_0x4fb43a;if(this['_clearScheduledTask'](),this[_0x343d8f(0x1de)](_0x4bf405))return this[_0x343d8f(0x371)][_0x343d8f(0x3fb)](_0x54df16,this[_0x343d8f(0xe9)],this[_0x343d8f(0x389)],null,this[_0x343d8f(0xe6)],this[_0x343d8f(0x497)],[],this[_0x343d8f(0x3a0)]);this[_0x343d8f(0x401)]();const _0x17393c=this[_0x343d8f(0x371)][_0x343d8f(0x3fb)](_0x249716,this[_0x343d8f(0xe9)],this['type'],this[_0x343d8f(0xe6)],this['_handler']);return _0x17393c[_0x343d8f(0x307)](),_0x17393c['_updateLocalCache'](),_0x17393c;}[_0x4fb43a(0x168)](_0x2ac412){const _0x4b72d4=_0x4fb43a;return this['_onConflict'](!!(_0x2ac412!=null&&_0x2ac412[_0x4b72d4(0x3fa)]));}[_0x4fb43a(0xf2)](_0x304eec){const _0xf2967e=_0x4fb43a;return this[_0xf2967e(0x40e)]>_0x4d815f?this[_0xf2967e(0x2e0)]():(this['_resendTimer']=_0x4b97b4(this[_0xf2967e(0x40e)],{'timeout':this[_0xf2967e(0x40e)],'reqId':_0x304eec[_0xf2967e(0x55b)]}),this[_0xf2967e(0x269)]=this[_0xf2967e(0x36d)][_0xf2967e(0x438)](({reqId:_0xa074aa,timeout:_0x3494d3})=>{const _0x4b958c=_0xf2967e;this[_0x4b958c(0x475)](_0xa074aa,_0x3494d3);}),this);}[_0x4fb43a(0x2e0)](){const _0xff1b63=_0x4fb43a;return this[_0xff1b63(0x54c)](),this['_injector'][_0xff1b63(0x3fb)](_0x3e7954,this[_0xff1b63(0xe9)],this['type'],this[_0xff1b63(0x497)],this[_0xff1b63(0xe6)],this['_handler']);}['toggleOnline'](){return this;}[_0x4fb43a(0x13e)](){const _0x19db11=_0x4fb43a;this['_handler'][_0x19db11(0x426)](this['_awaitingChangeset']);}['_onConflict'](_0x480d09){const _0x34c163=_0x4fb43a;return this[_0x34c163(0x54c)](),this[_0x34c163(0x371)][_0x34c163(0x3fb)](_0x9d1218,this[_0x34c163(0xe9)],this['type'],null,this[_0x34c163(0xe6)],this[_0x34c163(0x3a0)],_0x480d09);}[_0x4fb43a(0x475)](_0x2bd3d7,_0x550abf){const _0x7b7f5e=_0x4fb43a;var _0x1c5981;_0x2bd3d7===((_0x1c5981=this[_0x7b7f5e(0x497)])==null?void 0x0:_0x1c5981[_0x7b7f5e(0x55b)])&&(this[_0x7b7f5e(0x13e)](),this[_0x7b7f5e(0x40e)]=_0x550abf===0x0?0x3e8:_0x550abf*0x2);}[_0x4fb43a(0x54c)](){const _0xedddc=_0x4fb43a;var _0x1145e6;(_0x1145e6=this[_0xedddc(0x269)])==null||_0x1145e6['unsubscribe'](),this[_0xedddc(0x40e)]=0x0;}};_0x15d8f8=_0x51c1b4([_0x38989d(0x6,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x38989d(0x7,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)])),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0x9,_0x27d805[_0x4fb43a(0x120)]),_0x38989d(0xa,_0x27d805[_0x4fb43a(0x43d)]),_0x38989d(0xb,_0x3a188f[_0x4fb43a(0x178)]),_0x38989d(0xc,_0x27d805[_0x4fb43a(0x24b)])],_0x15d8f8);let _0x9d1218=class extends _0x1c7fe9{constructor(_0x29ec60,_0x22edf2,_0x45a5e0,_0x54faed,_0x10515c,_0x1db71c=!0x1,_0x226962,_0x49acde,_0xe8b139,_0x2cfd0c,_0x4094f1,_0x191bdd,_0xde5c4e){const _0x5ae481=_0x4fb43a;super(_0x29ec60,_0x22edf2,_0x45a5e0,_0x54faed,_0x10515c,_0x49acde,_0xe8b139,_0x4094f1,_0x2cfd0c),_0x27d8b8(this,_0x5ae481(0x51a),_0x5ae481(0x14b)),(this[_0x5ae481(0x590)]=_0x1db71c,this[_0x5ae481(0x4de)]=_0x226962,this['_localeService']=_0x191bdd,this['_notificationService']=_0xde5c4e,this[_0x5ae481(0x45c)](),this[_0x5ae481(0x5af)](),this['_disableEditing']());}[_0x4fb43a(0x262)](){return this;}[_0x4fb43a(0x39f)](){return this;}['onRemoteAck'](){return this;}[_0x4fb43a(0x168)](){return this;}[_0x4fb43a(0xf2)](){return this;}['toggleOffline'](){return this;}[_0x4fb43a(0x36e)](){return this;}[_0x4fb43a(0x13e)](){const _0xe66cd5=_0x4fb43a;throw new Error(_0xe66cd5(0x34f));}[_0x4fb43a(0x5af)](){const _0xf1c217=_0x4fb43a;this['_localCacheService'][_0xf1c217(0x391)](this[_0xf1c217(0xe9)],this[_0xf1c217(0x389)],null,[]);}[_0x4fb43a(0x45c)](){const _0x563a02=_0x4fb43a;this[_0x563a02(0x590)]?this[_0x563a02(0x310)]['show']({'title':this[_0x563a02(0x1cb)]['t'](_0x563a02(0x446)),'content':this[_0x563a02(0x1cb)]['t'](_0x563a02(0x4a3)),'type':_0x563a02(0x4b9),'duration':0x0}):this[_0x563a02(0x310)][_0x563a02(0x24e)]({'title':this[_0x563a02(0x1cb)]['t'](_0x563a02(0x3a6)),'content':this['_localeService']['t'](_0x563a02(0x2eb)),'type':_0x563a02(0x4b9),'duration':0x0});}[_0x4fb43a(0x1ca)](){const _0x17d640=_0x4fb43a;this[_0x17d640(0x4de)]['updatePermissionPoint'](new _0x6454ca['WorkbookEditablePermission'](this[_0x17d640(0xe9)])['id'],!0x1);}};_0x9d1218=_0x51c1b4([_0x38989d(0x6,_0x27d805['Inject'](_0x27d805['IPermissionService'])),_0x38989d(0x7,_0x27d805[_0x4fb43a(0x120)]),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x24b)]),_0x38989d(0x9,_0x27d805['Inject'](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0xa,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)])),_0x38989d(0xb,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)])),_0x38989d(0xc,_0x56239c['INotificationService'])],_0x9d1218);let _0x3e7954=class extends _0x1c7fe9{constructor(_0x2f332b,_0x785066,_0x17edac,_0x4d0061,_0x12b7c9,_0x2c8b22,_0x333337,_0x476924,_0x1777c1,_0x5e46c1){const _0x294579=_0x4fb43a;super(_0x2f332b,_0x785066,_0x17edac,_0x4d0061,_0x12b7c9,_0x1777c1,_0x5e46c1,_0x333337,_0x476924),_0x27d8b8(this,_0x294579(0x51a),'offline'),this[_0x294579(0x371)]=_0x2c8b22;}[_0x4fb43a(0x262)](_0x51e92c){const _0x34df12=_0x4fb43a;return this['_pendingMutations']['push'](_0x51e92c),this[_0x34df12(0x382)](),this;}[_0x4fb43a(0x39f)](_0x46ca8a){const _0x3f6fa7=_0x4fb43a;throw new Error(_0x3f6fa7(0x535));}['onRemoteAck'](){const _0x5a8f99=_0x4fb43a;throw new Error(_0x5a8f99(0x11f));}[_0x4fb43a(0x168)](){const _0x1d86d2=_0x4fb43a;throw new Error(_0x1d86d2(0x49b));}[_0x4fb43a(0xf2)](){return this;}[_0x4fb43a(0x2e0)](){return this;}['toggleOnline'](){const _0x3399d6=_0x4fb43a,{_injector:_0x15c432,_pendingMutations:_0x2ca87a,_awaitingChangeset:_0x420414,unitID:_0x4b879c,_handler:_0x512d86,type:_0x1a1979}=this,_0x3da8de=_0x3583d4(_0x15c432,_0x4b879c,_0x1a1979,_0x420414,_0x2ca87a,_0x512d86);return _0x3da8de instanceof _0x249716?_0x3da8de[_0x3399d6(0x307)]():(_0x3da8de instanceof _0x15d8f8||_0x3da8de instanceof _0x3d06b9)&&_0x3da8de[_0x3399d6(0x13e)](),_0x3da8de;}[_0x4fb43a(0x13e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x3e7954=_0x51c1b4([_0x38989d(0x5,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x38989d(0x6,_0x27d805['Inject'](_0x3a188f[_0x4fb43a(0x3d1)])),_0x38989d(0x7,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x120)]),_0x38989d(0x9,_0x27d805[_0x4fb43a(0x24b)])],_0x3e7954);let _0x54df16=class extends _0x1c7fe9{constructor(_0x4187dc,_0x58888c,_0x3c5df2,_0x2f2632,_0x1283d2,_0x33c4b9,_0x507b3c,_0x404801,_0x7e3eae,_0x4ffd13,_0x2194bb,_0x227e91,_0x4ffbdb,_0x220d90){const _0x2ff63b=_0x4fb43a;super(_0x4187dc,_0x58888c,_0x3c5df2,_0x2f2632,_0x507b3c,_0x227e91,_0x4ffbdb,_0x7e3eae,_0x4ffd13),_0x27d8b8(this,_0x2ff63b(0x51a),_0x2ff63b(0x504)),(this[_0x2ff63b(0x4dd)]=_0x1283d2,this['_queuedRemoteChangesets']=_0x33c4b9,this[_0x2ff63b(0x371)]=_0x404801,this[_0x2ff63b(0x1e4)]=_0x2194bb,this[_0x2ff63b(0x56a)]=_0x220d90);}[_0x4fb43a(0x1fd)](_0xc66a3c){const _0x713c1c=_0x4fb43a;try{const _0x4da607=[..._0xc66a3c,...this[_0x713c1c(0x299)]],_0xdf1d8c=[this[_0x713c1c(0x497)]||this[_0x713c1c(0x4dd)]]['filter'](_0x19a1fb=>!!_0x19a1fb);let _0x1c808e,_0x242451;if(_0xdf1d8c['length']){const _0x3d4b59=this['_transformService'][_0x713c1c(0x15c)](_0x4da607,_0xdf1d8c,!0x1);if(!_0x3a188f[_0x713c1c(0x1f6)](_0x3d4b59))throw _0x3d4b59[_0x713c1c(0x4b9)];_0x1c808e=_0x3d4b59[_0x713c1c(0x433)],_0x242451=_0x3d4b59['c2Prime'];}else _0x1c808e=_0x4da607,_0x242451=[];let _0x148fb4=this[_0x713c1c(0xe6)];_0x1c808e[_0x713c1c(0x49f)](_0x2ba9ff=>{const _0x11195a=_0x713c1c;let _0x3d0e55;if(_0x148fb4[_0x11195a(0x4f3)]){const _0x2bdce2=this[_0x11195a(0x56a)][_0x11195a(0x2aa)](_0x2ba9ff,_0x148fb4);if(!_0x3a188f['isTransformMutationsWithChangesetSuccess'](_0x2bdce2))throw _0x2bdce2[_0x11195a(0x4b9)];_0x3d0e55=_0x2bdce2[_0x11195a(0x433)],_0x148fb4=_0x2bdce2[_0x11195a(0x331)];}else _0x3d0e55=_0x2ba9ff;this[_0x11195a(0x1e6)](_0x3d0e55);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x713c1c(0x497)]&&_0x242451[_0x713c1c(0x4f3)]&&(_0x242451[0x0][_0x713c1c(0x3bb)]=this[_0x713c1c(0x1b7)]());let _0x293ace;if(this[_0x713c1c(0x497)]&&_0x148fb4[_0x713c1c(0x4f3)]!==0x0)_0x293ace=this['_injector']['createInstance'](_0x15d8f8,this[_0x713c1c(0xe9)],this['type'],_0x242451[0x0],_0x148fb4,this[_0x713c1c(0x3a0)],void 0x0);else{if(this[_0x713c1c(0x497)]&&_0x148fb4[_0x713c1c(0x4f3)]===0x0)_0x242451[0x0][_0x713c1c(0x3bb)]=this['_getCurrentRevision'](),_0x293ace=this['_injector']['createInstance'](_0x3d06b9,this[_0x713c1c(0xe9)],this[_0x713c1c(0x389)],_0x242451[0x0],this[_0x713c1c(0x3a0)]);else{if(_0x148fb4[_0x713c1c(0x4f3)]!==0x0){const _0x5f24d0=this[_0x713c1c(0x371)][_0x713c1c(0x3fb)](_0x249716,this[_0x713c1c(0xe9)],this[_0x713c1c(0x389)],_0x148fb4,this['_handler']);_0x5f24d0[_0x713c1c(0x307)](),_0x293ace=_0x5f24d0;}else _0x293ace=this[_0x713c1c(0x371)][_0x713c1c(0x3fb)](_0x38b204,this[_0x713c1c(0xe9)],this[_0x713c1c(0x389)],this['_handler']);}}return _0x293ace[_0x713c1c(0x382)](),_0x293ace;}catch(_0x5e2433){return this[_0x713c1c(0x1e4)][_0x713c1c(0x4b9)](_0x713c1c(0x1a5),_0x713c1c(0x540),_0x5e2433),this[_0x713c1c(0x371)][_0x713c1c(0x3fb)](_0x9d1218,this[_0x713c1c(0xe9)],this[_0x713c1c(0x389)],this[_0x713c1c(0x497)],this[_0x713c1c(0xe6)],this['_handler'],!0x1);}}['resend'](){const _0x4246ec=_0x4fb43a;throw new Error(_0x4246ec(0x129));}[_0x4fb43a(0x262)](_0x2eb53a){const _0x5dd7b4=_0x4fb43a;return this[_0x5dd7b4(0xe6)][_0x5dd7b4(0x582)](_0x2eb53a),this;}[_0x4fb43a(0x39f)](_0x54353e){const _0x59fe25=_0x4fb43a;return this[_0x59fe25(0x299)][_0x59fe25(0x582)](_0x54353e),this;}[_0x4fb43a(0x292)](_0x135fd8){const _0x2a63fe=_0x4fb43a;if(this[_0x2a63fe(0x497)])return this[_0x2a63fe(0x4dd)]=this[_0x2a63fe(0x497)],this[_0x2a63fe(0x497)]=null,this;throw new Error(_0x2a63fe(0x38b));}[_0x4fb43a(0x168)](_0x1f9632){const _0x1281f6=_0x4fb43a;return this[_0x1281f6(0x567)](!!(_0x1f9632!=null&&_0x1f9632[_0x1281f6(0x3fa)]));}['onRemoteRetry'](){return this;}[_0x4fb43a(0x2e0)](){const _0x2f7c00=_0x4fb43a;return this[_0x2f7c00(0x371)][_0x2f7c00(0x3fb)](_0x3e7954,this[_0x2f7c00(0xe9)],this[_0x2f7c00(0x389)],this[_0x2f7c00(0x497)],this[_0x2f7c00(0xe6)],this[_0x2f7c00(0x3a0)]);}['toggleOnline'](){return this;}[_0x4fb43a(0x567)](_0x353dd2){const _0x10c8cf=_0x4fb43a;return this[_0x10c8cf(0x371)]['createInstance'](_0x9d1218,this['unitID'],this[_0x10c8cf(0x389)],this['_awaitingChangeset'],this[_0x10c8cf(0xe6)],this[_0x10c8cf(0x3a0)],_0x353dd2);}};_0x54df16=_0x51c1b4([_0x38989d(0x7,_0x27d805['Inject'](_0x27d805['Injector'])),_0x38989d(0x8,_0x27d805[_0x4fb43a(0x236)](_0x3a188f['RevisionService'])),_0x38989d(0x9,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x38989d(0xa,_0x27d805[_0x4fb43a(0x43d)]),_0x38989d(0xb,_0x27d805[_0x4fb43a(0x120)]),_0x38989d(0xc,_0x27d805[_0x4fb43a(0x24b)]),_0x38989d(0xd,_0x3a188f[_0x4fb43a(0x178)])],_0x54df16);function _0x3583d4(_0x3f2cea,_0x5017e3,_0x31a9c6,_0x4eb340,_0x25296c,_0x40f5e5){const _0x1514ed=_0x4fb43a;return _0x4eb340&&_0x25296c[_0x1514ed(0x4f3)]?_0x3f2cea[_0x1514ed(0x3fb)](_0x15d8f8,_0x5017e3,_0x31a9c6,_0x4eb340,_0x25296c,_0x40f5e5,void 0x0):_0x4eb340?_0x3f2cea[_0x1514ed(0x3fb)](_0x3d06b9,_0x5017e3,_0x31a9c6,_0x4eb340,_0x40f5e5):_0x25296c[_0x1514ed(0x4f3)]?_0x3f2cea[_0x1514ed(0x3fb)](_0x249716,_0x5017e3,_0x31a9c6,_0x25296c,_0x40f5e5):_0x3f2cea['createInstance'](_0x38b204,_0x5017e3,_0x31a9c6,_0x40f5e5);}var _0x491d79=Object['defineProperty'],_0x15baf8=Object[_0x4fb43a(0x44a)],_0x5c5991=(_0x3fb57b,_0x462c99,_0x5b57c2,_0x11e848)=>{for(var _0x33f351=_0x11e848>0x1?void 0x0:_0x11e848?_0x15baf8(_0x462c99,_0x5b57c2):_0x462c99,_0x5b806d=_0x3fb57b['length']-0x1,_0x3f0704;_0x5b806d>=0x0;_0x5b806d--)(_0x3f0704=_0x3fb57b[_0x5b806d])&&(_0x33f351=(_0x11e848?_0x3f0704(_0x462c99,_0x5b57c2,_0x33f351):_0x3f0704(_0x33f351))||_0x33f351);return _0x11e848&&_0x33f351&&_0x491d79(_0x462c99,_0x5b57c2,_0x33f351),_0x33f351;},_0x4ed8d9=(_0x21bf3b,_0xda0382)=>(_0x14340f,_0x360061)=>_0xda0382(_0x14340f,_0x360061,_0x21bf3b);_0x5e2809[_0x4fb43a(0x30d)]=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x54c98d,_0xbb3b41,_0x17349d,_0x538a58,_0x440dfd,_0x3bc5ee,_0x2966d9,_0x12423a,_0x493809,_0x25392e,_0x3ed1e6,_0x21c9ec,_0x182202){const _0x2f9043=_0x4fb43a;super(),_0x27d8b8(this,_0x2f9043(0x340),new _0x21eaf3[(_0x2f9043(0x197))](null)),_0x27d8b8(this,_0x2f9043(0x1bb),this[_0x2f9043(0x340)][_0x2f9043(0x4ba)]()),_0x27d8b8(this,_0x2f9043(0xf5)),_0x27d8b8(this,_0x2f9043(0x37e),!0x1),_0x27d8b8(this,_0x2f9043(0x1a6),''),_0x27d8b8(this,_0x2f9043(0x37c),0x0),_0x27d8b8(this,_0x2f9043(0x4b2),this[_0x2f9043(0x1bb)][_0x2f9043(0x35c)](_0x21eaf3['map'](_0x3b24fd=>_0x3b24fd?_0x3b24fd[_0x2f9043(0x51a)]:_0x3c2896[_0x2f9043(0x1af)]),_0x21eaf3[_0x2f9043(0x579)](0x1))),_0x27d8b8(this,'_transitionLocked',!0x1),_0x27d8b8(this,_0x2f9043(0x2ba),[]),(this['unitID']=_0x54c98d,this['session']=_0xbb3b41,this[_0x2f9043(0x223)]=_0x17349d,this[_0x2f9043(0x371)]=_0x538a58,this[_0x2f9043(0x598)]=_0x440dfd,this[_0x2f9043(0x308)]=_0x3bc5ee,this['_localeService']=_0x2966d9,this[_0x2f9043(0x4ff)]=_0x12423a,this['_logService']=_0x493809,this['_commandService']=_0x25392e,this['_messageService']=_0x3ed1e6,this['_permissionService']=_0x21c9ec,this['_singleActiveUnitService']=_0x182202);}get[_0x4fb43a(0x395)](){const _0x5c690c=_0x4fb43a;return this[_0x5c690c(0xf5)];}async[_0x4fb43a(0x10c)](){const _0xad8aa0=_0x4fb43a;if(this['state'])throw new Error(_0xad8aa0(0x373));await this[_0xad8aa0(0x256)]();}[_0x4fb43a(0x1e3)](){const _0x11be38=_0x4fb43a;return this[_0x11be38(0x37e)]=!0x0,_0x27d805[_0x11be38(0x339)](()=>{const _0x471f2a=_0x11be38;this[_0x471f2a(0x37e)]=!0x1,this[_0x471f2a(0x596)]();});}[_0x4fb43a(0x1c7)](_0x222f9c){const _0x3a51f5=_0x4fb43a;this[_0x3a51f5(0xf5)]=_0x222f9c,this[_0x3a51f5(0x340)][_0x3a51f5(0x152)](_0x222f9c);}async[_0x4fb43a(0x256)](){const _0x303ab9=_0x4fb43a;var _0x4feb61;this[_0x303ab9(0x1c7)](await this[_0x303ab9(0x365)]()),this['_singleActiveUnitService']&&((_0x4feb61=this[_0x303ab9(0x2de)])==null||_0x4feb61[_0x303ab9(0x1ed)](this['unitID']),this[_0x303ab9(0x421)](this[_0x303ab9(0x2de)][_0x303ab9(0x4bc)](this[_0x303ab9(0xe9)])[_0x303ab9(0x438)](_0x417f29=>{const _0x307af1=_0x303ab9;this[_0x307af1(0x1e4)][_0x307af1(0x349)](_0x307af1(0x516),_0x307af1(0x51e),_0x417f29),_0x417f29===_0x147dd3[_0x307af1(0x4fc)]?(this[_0x307af1(0x32a)][_0x307af1(0x24e)]({'content':this[_0x307af1(0x1cb)]['t'](_0x307af1(0x456)),'type':_0x595b4d['MessageType'][_0x307af1(0x3e3)]}),this['_permissionService'][_0x307af1(0x56f)](new _0x6454ca['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x307af1(0x4de)][_0x307af1(0x119)](!0x1)):(this[_0x307af1(0x4de)]['updatePermissionPoint'](new _0x6454ca['WorkbookEditablePermission'](this[_0x307af1(0xe9)])['id'],!0x0),this['_permissionService'][_0x307af1(0x119)](!0x0));})));let _0x36cfd7=!0x1;return this[_0x303ab9(0x421)](this['session'][_0x303ab9(0x58a)][_0x303ab9(0x438)](_0xb293a0=>{const _0x503f91=_0x303ab9;_0xb293a0===_0x4a52a5[_0x503f91(0x346)]?this[_0x503f91(0x44d)](_0x36cfd7):_0xb293a0===_0x4a52a5['OFFLINE']&&(_0x36cfd7=!0x0,this[_0x503f91(0x406)]());})),this[_0x303ab9(0x421)](this[_0x303ab9(0x525)][_0x303ab9(0x350)]['subscribe'](_0xc70df4=>{const _0x118933=_0x303ab9;try{switch(_0xc70df4[_0x118933(0x42f)]){case _0x3a188f[_0x118933(0x1fe)][_0x118933(0x22b)]:{this[_0x118933(0x454)](_0x3a188f[_0x118933(0x249)](_0xc70df4[_0x118933(0x320)]));break;}case _0x3a188f['CollaborationEvent'][_0x118933(0x366)]:{this[_0x118933(0x5a3)](_0xc70df4[_0x118933(0x320)]);break;}case _0x3a188f[_0x118933(0x1fe)][_0x118933(0x4a2)]:{this['_onRemoteRejected']();break;}case _0x3a188f[_0x118933(0x1fe)][_0x118933(0x148)]:{this[_0x118933(0x246)](_0xc70df4[_0x118933(0x320)]);break;}case _0x3a188f[_0x118933(0x1fe)][_0x118933(0x43e)]:{this[_0x118933(0x2db)](_0xc70df4[_0x118933(0x320)]['changesets'][_0x118933(0x362)](_0xe8c3d2=>_0x3a188f[_0x118933(0x249)](_0xe8c3d2)));break;}case _0x3a188f[_0x118933(0x1fe)][_0x118933(0x335)]:this[_0x118933(0x3af)]({'isPermissionRej':!0x0});}}catch(_0x93ac44){throw console[_0x118933(0x4b9)](_0x118933(0x437),_0x93ac44),_0x93ac44;}})),this[_0x303ab9(0xf5)];}[_0x4fb43a(0x53b)](){this['_transitionLocked']=!0x1;}[_0x4fb43a(0xf6)](){const _0x1f9c7b=_0x4fb43a;if(this[_0x1f9c7b(0x1f9)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1f9c7b(0x1f9)]=!0x0;}['_onLocalMutation'](_0x3ee895){const _0x48fb3b=_0x4fb43a;this[_0x48fb3b(0xf6)](),this[_0x48fb3b(0x1c7)](this['_state'][_0x48fb3b(0x262)](_0x3ee895)),this[_0x48fb3b(0x53b)]();}[_0x4fb43a(0x454)](_0x2df6ff){const _0x35fef4=_0x4fb43a;if(!(_0x2df6ff[_0x35fef4(0x46b)]<=this[_0x35fef4(0x4ff)][_0x35fef4(0x4c4)](this['unitID']))){if(this[_0x35fef4(0x37e)]){this['_remoteChangesetQueue'][_0x35fef4(0x582)](_0x2df6ff);return;}this[_0x35fef4(0x4c2)](_0x2df6ff);}}[_0x4fb43a(0x596)](){const _0x2205f1=_0x4fb43a;this[_0x2205f1(0x2ba)]['forEach'](_0xe35b57=>this['_applyRemoteChangeset'](_0xe35b57)),this[_0x2205f1(0x2ba)]=[];}['_applyRemoteChangeset'](_0x4846bc){const _0x142fab=_0x4fb43a,_0x4877a6=this[_0x142fab(0x308)]['interceptor'][_0x142fab(0x4ef)](this[_0x142fab(0x308)]['interceptor'][_0x142fab(0x180)]()['COMPRESS_MUTATION_APPLY'])(_0x4846bc[_0x142fab(0x183)],null)||_0x4846bc[_0x142fab(0x183)],_0xf306cb={..._0x4846bc,'mutations':_0x4877a6};this[_0x142fab(0xf6)](),this['_updateState'](this['_state'][_0x142fab(0x39f)](_0xf306cb)),this[_0x142fab(0x53b)]();}[_0x4fb43a(0x5a3)](_0x4785ab){const _0x33d25c=_0x4fb43a;this[_0x33d25c(0xf6)](),this[_0x33d25c(0x1c7)](this[_0x33d25c(0xf5)][_0x33d25c(0x292)](_0x4785ab)),this[_0x33d25c(0x53b)]();}['_onRemoteRejected'](_0x4be2bb){const _0x52aab3=_0x4fb43a;this[_0x52aab3(0xf6)](),this[_0x52aab3(0x1c7)](this['_state'][_0x52aab3(0x168)](_0x4be2bb)),this[_0x52aab3(0x53b)]();}['_onRemoteRetry'](_0x23dac8){const _0x32f755=_0x4fb43a;this[_0x32f755(0xf6)](),this['_updateState'](this[_0x32f755(0xf5)][_0x32f755(0xf2)](_0x23dac8)),this[_0x32f755(0x53b)]();}[_0x4fb43a(0x2db)](_0x33dc3a){const _0x1b1d2a=_0x4fb43a;if(!(this[_0x1b1d2a(0xf5)]instanceof _0x54df16))throw new TypeError(_0x1b1d2a(0x2b0));const _0x18c067=_0x33dc3a['map'](_0x568688=>{const _0x5695d2=_0x1b1d2a,_0x2bab4a=this[_0x5695d2(0x308)]['interceptor'][_0x5695d2(0x4ef)](this[_0x5695d2(0x308)]['interceptor']['getInterceptPoints']()[_0x5695d2(0x150)])(_0x568688[_0x5695d2(0x183)],null)||_0x568688[_0x5695d2(0x183)];return{..._0x568688,'mutations':_0x2bab4a};});this[_0x1b1d2a(0xf6)](),this[_0x1b1d2a(0x1c7)](this[_0x1b1d2a(0xf5)][_0x1b1d2a(0x1fd)](_0x18c067)),this[_0x1b1d2a(0x53b)]();}[_0x4fb43a(0x406)](){const _0x52ab31=_0x4fb43a;this[_0x52ab31(0xf6)](),this[_0x52ab31(0x1c7)](this['_state']['toggleOffline']()),this[_0x52ab31(0x53b)]();}[_0x4fb43a(0x44d)](_0x269e41=!0x1){const _0x5d3307=_0x4fb43a;this['_lockTransition'](),this[_0x5d3307(0x1c7)](this['_state'][_0x5d3307(0x36e)]()),this['_unlockTransition']();const _0x335097=this[_0x5d3307(0xf5)];_0x269e41&&_0x335097 instanceof _0x38b204&&(this[_0x5d3307(0xf6)](),this[_0x5d3307(0x1c7)](_0x335097['fetchMiss']()),this['_unlockTransition']());}async[_0x4fb43a(0x365)](){return new Promise(_0x45c482=>{const _0x3c9e40=_0x181e;this[_0x3c9e40(0x525)][_0x3c9e40(0x58a)][_0x3c9e40(0x35c)](_0x21eaf3['take'](0x1))[_0x3c9e40(0x438)](async _0x278e9b=>{const _0x2fb4a3=_0x3c9e40;_0x45c482(await this[_0x2fb4a3(0x25b)](_0x278e9b===_0x4a52a5[_0x2fb4a3(0x346)]));});});}['_createHandler'](){const _0x4d8c16=_0x4fb43a,_0x2f77bc=this[_0x4d8c16(0xe9)];return{'onStateChange':(_0x4959e9,_0x37521e)=>{const _0x40a40f=_0x4d8c16;if(_0x4959e9!==this[_0x40a40f(0xf5)])throw new Error(_0x40a40f(0x560)+_0x4959e9['status']+'\x0aAfter:\x20'+_0x37521e[_0x40a40f(0x51a)]+_0x40a40f(0x5b2)+this[_0x40a40f(0xf5)][_0x40a40f(0x51a)]);this['_updateState'](_0x37521e);},'onSendChangeset':_0x33a64f=>{const _0x6efbb9=_0x4d8c16;_0x33a64f[_0x6efbb9(0x439)]||(_0x33a64f[_0x6efbb9(0x439)]=this[_0x6efbb9(0x1a6)],_0x33a64f[_0x6efbb9(0x55b)]=++this['_changesetReqId']);const _0x2a704d={'eventID':_0x3a188f[_0x6efbb9(0x1fe)][_0x6efbb9(0x447)],'data':{'unitID':_0x33a64f[_0x6efbb9(0xe9)],'unitType':this[_0x6efbb9(0x223)],'changeset':_0x33a64f,'memberID':this['session'][_0x6efbb9(0x4d9)]()}};this[_0x6efbb9(0x525)][_0x6efbb9(0x27d)](_0x2a704d,this['unitID']);},'onMissingChangesets':({from:_0x513234,to:_0x4122b5})=>{const _0x321eed=_0x4d8c16;this['_logService']['debug'](_0x321eed(0x516),'fetching\x20missing\x20changesets\x20from\x20'+_0x513234+_0x321eed(0x170)+_0x4122b5);const _0x58dfd9={'eventID':_0x3a188f[_0x321eed(0x1fe)][_0x321eed(0x597)],'data':{'unitID':_0x2f77bc,'unitType':this[_0x321eed(0x223)],'from':_0x513234,'to':_0x4122b5}};this[_0x321eed(0x525)]['send'](_0x58dfd9,this[_0x321eed(0xe9)]);}};}async['_createInitialStateImpl'](_0x236b14){const _0x14023d=_0x4fb43a;var _0x514d5c,_0x24d535;const _0x50eb21=await this[_0x14023d(0x598)][_0x14023d(0x3f8)](this[_0x14023d(0xe9)]),_0x5c5d79=(_0x514d5c=_0x50eb21==null?void 0x0:_0x50eb21[_0x14023d(0x183)])!=null?_0x514d5c:[],_0xb2b325=(_0x24d535=_0x50eb21==null?void 0x0:_0x50eb21[_0x14023d(0x51d)])!=null?_0x24d535:null,_0x118cf8=!!(_0xb2b325!=null&&_0xb2b325[_0x14023d(0x439)])&&!!(_0xb2b325!=null&&_0xb2b325[_0x14023d(0x55b)]);this[_0x14023d(0x1a6)]=_0x118cf8?_0xb2b325[_0x14023d(0x439)]:_0x5459a8(),this[_0x14023d(0x37c)]=_0x118cf8?_0xb2b325[_0x14023d(0x55b)]:0x0;const _0x1c340d=this[_0x14023d(0xe9)];try{this[_0x14023d(0x23a)](_0xb2b325,_0x5c5d79);}catch(_0x28de17){this[_0x14023d(0x1e4)][_0x14023d(0x4b9)](_0x28de17);}const _0x479dd7=this[_0x14023d(0x101)]();if(_0x236b14){const _0x1d3c12=_0x3583d4(this['_injector'],_0x1c340d,this[_0x14023d(0x223)],_0xb2b325,_0x5c5d79,_0x479dd7);return _0x1d3c12 instanceof _0x249716?_0x1d3c12[_0x14023d(0x307)]():(_0x1d3c12 instanceof _0x15d8f8||_0x1d3c12 instanceof _0x3d06b9)&&_0x1d3c12[_0x14023d(0x13e)](),_0x1d3c12;}return this[_0x14023d(0x371)][_0x14023d(0x3fb)](_0x3e7954,_0x1c340d,this['_type'],_0xb2b325,_0x5c5d79,_0x479dd7);}['_replayCachedMutations'](_0x1c0c4a,_0x2f687f){const _0x512013=_0x4fb43a;var _0xf1fa12,_0xc921cb;const _0x5cfad4=this[_0x512013(0x308)][_0x512013(0x470)][_0x512013(0x4ef)](this['_compressMutationService'][_0x512013(0x470)][_0x512013(0x180)]()[_0x512013(0x150)]);(_0xf1fa12=_0x5cfad4((_0x1c0c4a==null?void 0x0:_0x1c0c4a[_0x512013(0x183)])||[],null))==null||_0xf1fa12['forEach'](_0x28b1de=>this[_0x512013(0x542)][_0x512013(0x2c6)](_0x28b1de['id'],_0x28b1de[_0x512013(0x194)])),(_0xc921cb=_0x5cfad4(_0x2f687f||[],null))==null||_0xc921cb['forEach'](_0x1b0771=>this[_0x512013(0x542)]['executeCommand'](_0x1b0771['id'],_0x1b0771['params']));}},_0x5e2809[_0x4fb43a(0x30d)]=_0x5c5991([_0x4ed8d9(0x3,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x4ed8d9(0x4,_0x27d805['Inject'](_0x5e2809[_0x4fb43a(0x33c)])),_0x4ed8d9(0x5,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x285)])),_0x4ed8d9(0x6,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x247)])),_0x4ed8d9(0x7,_0x27d805[_0x4fb43a(0x236)](_0x3a188f['RevisionService'])),_0x4ed8d9(0x8,_0x27d805['ILogService']),_0x4ed8d9(0x9,_0x27d805[_0x4fb43a(0x120)]),_0x4ed8d9(0xa,_0x56239c[_0x4fb43a(0x4e3)]),_0x4ed8d9(0xb,_0x27d805[_0x4fb43a(0x548)]),_0x4ed8d9(0xc,_0x27d805[_0x4fb43a(0x348)](_0xf00aca))],_0x5e2809[_0x4fb43a(0x30d)]),_0x5e2809[_0x4fb43a(0x370)]=class extends _0x5e2809[_0x4fb43a(0x30d)]{constructor(_0x2b517d,_0x22ee16,_0x240591,_0xbacace,_0x26b724,_0x351b1d,_0x57e345,_0x4c661c,_0x597878,_0x536777,_0x3d2ddb,_0x554503,_0x40262d,_0x1f5b48,_0x4931e9,_0x1029c1,_0x15a025,_0x4cda3c){const _0x5c6ec1=_0x4fb43a;super(_0x2b517d,_0x240591,_0x22ee16,_0xbacace,_0x26b724,_0x351b1d,_0x57e345,_0x4c661c,_0x1f5b48,_0x4931e9,_0x1029c1,_0x15a025,_0x4cda3c),this[_0x5c6ec1(0xe9)]=_0x2b517d,this[_0x5c6ec1(0x389)]=_0x22ee16,this[_0x5c6ec1(0x2c8)]=_0x597878,this['_docTransformIMECacheService']=_0x536777,this[_0x5c6ec1(0x3df)]=_0x3d2ddb,this['_docTransformSelectionsService']=_0x554503,this[_0x5c6ec1(0x57b)]=_0x40262d;}[_0x4fb43a(0x101)](){const _0x1f4612=_0x4fb43a,_0x5569cb=super[_0x1f4612(0x101)]();return _0x5569cb[_0x1f4612(0x408)]=_0x4d28ca=>this[_0x1f4612(0x293)]['transformIMECache'](_0x4d28ca),_0x5569cb[_0x1f4612(0xfa)]=_0x2d54ce=>this[_0x1f4612(0x3df)][_0x1f4612(0x121)](_0x2d54ce),_0x5569cb[_0x1f4612(0x3d4)]=_0x385a0d=>this[_0x1f4612(0x2dc)][_0x1f4612(0x2c7)](_0x385a0d),_0x5569cb[_0x1f4612(0x17b)]=_0x5e1903=>this[_0x1f4612(0x57b)][_0x1f4612(0x282)](_0x5e1903),_0x5569cb[_0x1f4612(0x3ee)]=_0x96d898=>this[_0x1f4612(0x293)][_0x1f4612(0x44e)](_0x96d898),_0x5569cb[_0x1f4612(0x1f1)]=_0x567e31=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x567e31),_0x5569cb;}async[_0x4fb43a(0x256)](){const _0x218b4c=_0x4fb43a,_0x258bb7=await super[_0x218b4c(0x256)]();return this[_0x218b4c(0x2c8)][_0x218b4c(0x3ac)]['pipe'](_0x21eaf3[_0x218b4c(0x321)](this[_0x218b4c(0x311)]))[_0x218b4c(0x438)](_0x1b2a92=>{const _0xc8c6f7=_0x218b4c;if(_0x1b2a92==null)return;const {unitId:_0x1de4f0,redoState:_0x11b595,commandId:_0x4eb6d9}=_0x1b2a92;if(_0x1de4f0!==this['unitID'])return;const _0x5e4a61={'id':_0x4eb6d9,'type':_0x27d805[_0xc8c6f7(0x221)][_0xc8c6f7(0x4a7)],'params':{'unitId':_0x1de4f0,'actions':_0x11b595[_0xc8c6f7(0x5a7)],'textRanges':null}};this[_0xc8c6f7(0x131)](_0x5e4a61);}),_0x258bb7;}},_0x5e2809['DocCollaborationEntity']=_0x5c5991([_0x4ed8d9(0x3,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0x4ed8d9(0x4,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x4ed8d9(0x5,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x285)])),_0x4ed8d9(0x6,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)])),_0x4ed8d9(0x7,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)])),_0x4ed8d9(0x8,_0x27d805[_0x4fb43a(0x236)](_0x89d13d[_0x4fb43a(0x482)])),_0x4ed8d9(0x9,_0x27d805[_0x4fb43a(0x236)](_0x748ee)),_0x4ed8d9(0xa,_0x27d805['Inject'](_0x4f5ac4)),_0x4ed8d9(0xb,_0x27d805[_0x4fb43a(0x236)](_0x84b5a)),_0x4ed8d9(0xc,_0x27d805[_0x4fb43a(0x236)](_0x2f7020)),_0x4ed8d9(0xd,_0x27d805[_0x4fb43a(0x43d)]),_0x4ed8d9(0xe,_0x27d805['ICommandService']),_0x4ed8d9(0xf,_0x56239c[_0x4fb43a(0x4e3)]),_0x4ed8d9(0x10,_0x27d805[_0x4fb43a(0x548)]),_0x4ed8d9(0x11,_0x27d805[_0x4fb43a(0x348)](_0xf00aca))],_0x5e2809['DocCollaborationEntity']),_0x5e2809['SheetCollaborationEntity']=class extends _0x5e2809[_0x4fb43a(0x30d)]{constructor(_0x31fa6c,_0x38f4e0,_0x4a4af2,_0x236181,_0x3aeebb,_0x225aff,_0x36dd49,_0x4936e6,_0x41532f,_0x494062,_0x21d52d,_0x20e898,_0x2b5c77,_0x446109){const _0x2dff0a=_0x4fb43a;super(_0x31fa6c,_0x4a4af2,_0x38f4e0,_0x236181,_0x3aeebb,_0x225aff,_0x36dd49,_0x4936e6,_0x494062,_0x21d52d,_0x20e898,_0x2b5c77,_0x446109),this[_0x2dff0a(0xe9)]=_0x31fa6c,this[_0x2dff0a(0x389)]=_0x38f4e0,this[_0x2dff0a(0x13c)]=_0x41532f;}[_0x4fb43a(0x101)](){const _0x22404c=_0x4fb43a,_0x4b5860=super[_0x22404c(0x101)]();return _0x4b5860[_0x22404c(0x3d4)]=_0x3f73ff=>this[_0x22404c(0x13c)][_0x22404c(0x2c7)](_0x3f73ff),_0x4b5860;}async[_0x4fb43a(0x256)](){const _0x3cf890=_0x4fb43a,_0x751779=await super[_0x3cf890(0x256)]();return this[_0x3cf890(0x421)](this[_0x3cf890(0x542)][_0x3cf890(0x20f)]((_0x935bc1,_0x5df1be)=>{const _0x5e31ff=_0x3cf890;if(_0x935bc1[_0x5e31ff(0x389)]!==_0x27d805[_0x5e31ff(0x221)][_0x5e31ff(0x4a7)]||_0x5df1be!=null&&_0x5df1be['fromCollab']||_0x5df1be!=null&&_0x5df1be['onlyLocal'])return;const _0x548c29=_0x935bc1[_0x5e31ff(0x194)];if((_0x548c29==null?void 0x0:_0x548c29['unitId'])!==this[_0x5e31ff(0xe9)])return;const _0x373195=_0x935bc1,_0x6cd5ea=this[_0x5e31ff(0x308)][_0x5e31ff(0x470)][_0x5e31ff(0x4ef)](this['_compressMutationService'][_0x5e31ff(0x470)]['getInterceptPoints']()[_0x5e31ff(0x4f9)])([_0x373195],null)||[_0x373195];this['_onLocalMutation'](_0x6cd5ea[0x0]);})),_0x751779;}},_0x5e2809[_0x4fb43a(0x40f)]=_0x5c5991([_0x4ed8d9(0x3,_0x27d805['Inject'](_0x27d805['Injector'])),_0x4ed8d9(0x4,_0x27d805['Inject'](_0x5e2809[_0x4fb43a(0x33c)])),_0x4ed8d9(0x5,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x285)])),_0x4ed8d9(0x6,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)])),_0x4ed8d9(0x7,_0x27d805[_0x4fb43a(0x236)](_0x3a188f[_0x4fb43a(0x3d1)])),_0x4ed8d9(0x8,_0x27d805[_0x4fb43a(0x236)](_0x2ebd4b)),_0x4ed8d9(0x9,_0x27d805[_0x4fb43a(0x43d)]),_0x4ed8d9(0xa,_0x27d805[_0x4fb43a(0x120)]),_0x4ed8d9(0xb,_0x56239c['IMessageService']),_0x4ed8d9(0xc,_0x27d805['IPermissionService']),_0x4ed8d9(0xd,_0x27d805[_0x4fb43a(0x348)](_0xf00aca))],_0x5e2809[_0x4fb43a(0x40f)]);var _0x91a8e5=Object[_0x4fb43a(0x3de)],_0xd2cc49=Object['getOwnPropertyDescriptor'],_0x593281=(_0x27bea0,_0x3027cd,_0x55f742,_0xf3c268)=>{const _0x3dc220=_0x4fb43a;for(var _0x3f8817=_0xf3c268>0x1?void 0x0:_0xf3c268?_0xd2cc49(_0x3027cd,_0x55f742):_0x3027cd,_0x1f5940=_0x27bea0[_0x3dc220(0x4f3)]-0x1,_0x275292;_0x1f5940>=0x0;_0x1f5940--)(_0x275292=_0x27bea0[_0x1f5940])&&(_0x3f8817=(_0xf3c268?_0x275292(_0x3027cd,_0x55f742,_0x3f8817):_0x275292(_0x3f8817))||_0x3f8817);return _0xf3c268&&_0x3f8817&&_0x91a8e5(_0x3027cd,_0x55f742,_0x3f8817),_0x3f8817;},_0x375788=(_0x2b26f0,_0x3eb26d)=>(_0x586753,_0x103c62)=>_0x3eb26d(_0x586753,_0x103c62,_0x2b26f0);_0x5e2809[_0x4fb43a(0x568)]=class extends _0x27d805['RxDisposable']{constructor(_0x3568db,_0x5999fd,_0x28245f){const _0x2587d8=_0x4fb43a;super(),_0x27d8b8(this,'_entities',new Map()),_0x27d8b8(this,_0x2587d8(0x384),new _0x21eaf3[(_0x2587d8(0x2d3))]()),(this[_0x2587d8(0x371)]=_0x3568db,this[_0x2587d8(0x123)]=_0x5999fd,this[_0x2587d8(0x1cc)]=_0x28245f,this[_0x2587d8(0x256)]());}[_0x4fb43a(0x489)](){const _0x27de50=_0x4fb43a;super[_0x27de50(0x489)](),this[_0x27de50(0x242)][_0x27de50(0x49f)](_0x5ae616=>_0x5ae616[_0x27de50(0x489)]()),this['_entities'][_0x27de50(0x11a)]();}[_0x4fb43a(0x38a)](_0x5aca05){const _0x51c389=_0x4fb43a;var _0x4dfcd6;return(_0x4dfcd6=this[_0x51c389(0x242)][_0x51c389(0x457)](_0x5aca05))!=null?_0x4dfcd6:null;}[_0x4fb43a(0x49d)](_0x903342){const _0x23cb1d=_0x4fb43a,_0xca5809=this[_0x23cb1d(0x38a)](_0x903342);return _0xca5809?_0x21eaf3['of'](_0xca5809):this[_0x23cb1d(0x384)][_0x23cb1d(0x35c)](_0x3ee60a[_0x23cb1d(0x347)](_0x914d0e=>_0x914d0e['unitID']===_0x903342));}[_0x4fb43a(0x256)](){const _0x462926=_0x4fb43a;this[_0x462926(0x1cc)]['getTypeOfUnitAdded$'](_0x27d805['UniverInstanceType'][_0x462926(0x2bf)])[_0x462926(0x35c)](_0x21eaf3['takeUntil'](this['dispose$']),_0x3ee60a[_0x462926(0x3c7)](0x10))[_0x462926(0x438)](async _0x6452a7=>{const _0x58c3da=_0x462926,_0x3b6ed8=_0x6452a7['getUnitId'](),_0x240b44=await this[_0x58c3da(0x323)](_0x3b6ed8,_0x5c70c6[_0x58c3da(0x2bf)]);this[_0x58c3da(0x242)][_0x58c3da(0x3dc)](_0x3b6ed8,_0x240b44);}),this[_0x462926(0x1cc)][_0x462926(0x44f)](_0x27d805['UniverInstanceType']['UNIVER_DOC'])[_0x462926(0x35c)](_0x21eaf3[_0x462926(0x321)](this[_0x462926(0x311)]),_0x3ee60a[_0x462926(0x3c7)](0x10))['pipe'](_0x3ee60a[_0x462926(0x347)](_0x1e54f2=>!_0x1e54f2['getUnitId']()['startsWith']('__')))[_0x462926(0x438)](async _0x3fc741=>{const _0x424f4b=_0x462926,_0x25ee78=_0x3fc741[_0x424f4b(0x18c)](),_0x3b4777=await this[_0x424f4b(0x323)](_0x25ee78,_0x5c70c6[_0x424f4b(0x515)]);this['_entities']['set'](_0x25ee78,_0x3b4777);}),_0x21eaf3[_0x462926(0x32e)](this[_0x462926(0x1cc)][_0x462926(0x33e)](_0x27d805[_0x462926(0x23f)][_0x462926(0x2bf)]),this[_0x462926(0x1cc)]['getTypeOfUnitDisposed$'](_0x27d805[_0x462926(0x23f)][_0x462926(0x515)]))[_0x462926(0x35c)](_0x21eaf3[_0x462926(0x321)](this[_0x462926(0x311)]))[_0x462926(0x438)](_0x2e4732=>{const _0x127fa8=_0x462926,_0x516f93=_0x2e4732[_0x127fa8(0x18c)](),_0x136b5b=this[_0x127fa8(0x242)]['get'](_0x516f93);_0x136b5b&&(_0x136b5b[_0x127fa8(0x489)](),this[_0x127fa8(0x242)][_0x127fa8(0x4ad)](_0x516f93));});}async[_0x4fb43a(0x323)](_0x39b821,_0x4ec846){const _0x3a4487=_0x4fb43a,_0x36e747=await this[_0x3a4487(0x123)][_0x3a4487(0x31d)](_0x39b821),_0x4a2d26=this[_0x3a4487(0x371)]['createInstance'](this[_0x3a4487(0x55f)](_0x4ec846),_0x39b821,_0x4ec846,_0x36e747);return await _0x4a2d26[_0x3a4487(0x10c)](),this['_entityInit$'][_0x3a4487(0x152)](_0x4a2d26),_0x4a2d26;}[_0x4fb43a(0x55f)](_0x2de14b){const _0x54a9e8=_0x4fb43a;switch(_0x2de14b){case _0x5c70c6['UNIVER_DOC']:return _0x5e2809[_0x54a9e8(0x370)];case _0x5c70c6[_0x54a9e8(0x2bf)]:return _0x5e2809[_0x54a9e8(0x40f)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2de14b);}}},_0x5e2809['CollaborationController']=_0x593281([_0x375788(0x0,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x375788(0x1,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x263)])),_0x375788(0x2,_0x27d805['IUniverInstanceService'])],_0x5e2809[_0x4fb43a(0x568)]);const _0xc923d0=[_0x4fb43a(0x445),_0x4fb43a(0x204),'verdancy600',_0x4fb43a(0x4e8),_0x4fb43a(0x513),_0x4fb43a(0x1df)];class _0xdb50cd extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(){const _0x21311a=_0x4fb43a;super(...arguments),_0x27d8b8(this,'_assignedColors',new Map()),_0x27d8b8(this,_0x21311a(0x25a),0x0);}[_0x4fb43a(0x338)](_0x2efe13){const _0x579409=_0x4fb43a;if(this[_0x579409(0x2c0)]['has'](_0x2efe13))return this['_assignedColors'][_0x579409(0x457)](_0x2efe13);const _0x554146=_0xc923d0[this[_0x579409(0x25a)]];return this[_0x579409(0x25a)]=(this['_colorIndex']+0x1)%_0xc923d0[_0x579409(0x4f3)],this[_0x579409(0x2c0)][_0x579409(0x3dc)](_0x2efe13,_0x554146),_0x554146;}}var _0x2bbef4=Object[_0x4fb43a(0x3de)],_0x43960c=Object[_0x4fb43a(0x44a)],_0x2bb203=(_0x579f22,_0x250c5e,_0x37b8b9,_0x5281e5)=>{const _0x37048e=_0x4fb43a;for(var _0x49b791=_0x5281e5>0x1?void 0x0:_0x5281e5?_0x43960c(_0x250c5e,_0x37b8b9):_0x250c5e,_0x58da86=_0x579f22[_0x37048e(0x4f3)]-0x1,_0x463c7e;_0x58da86>=0x0;_0x58da86--)(_0x463c7e=_0x579f22[_0x58da86])&&(_0x49b791=(_0x5281e5?_0x463c7e(_0x250c5e,_0x37b8b9,_0x49b791):_0x463c7e(_0x49b791))||_0x49b791);return _0x5281e5&&_0x49b791&&_0x2bbef4(_0x250c5e,_0x37b8b9,_0x49b791),_0x49b791;},_0xafc141=(_0x52bfdd,_0x2fe23c)=>(_0x35172f,_0x59b831)=>_0x2fe23c(_0x35172f,_0x59b831,_0x52bfdd);const _0x2f6aa8=0x12c,_0x3bad99=0x64;let _0x2c7a3e=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x1c0892,_0x116b1a,_0x280ef4,_0x4abb7b,_0x5ee433,_0x1f22e8,_0x4d4ff2,_0x4afb28,_0x77f2db){const _0x24e181=_0x4fb43a;super(),_0x27d8b8(this,_0x24e181(0x1a1),!0x1),_0x27d8b8(this,_0x24e181(0x256),!0x1),_0x27d8b8(this,'_cursorInfo$',new _0x21eaf3['BehaviorSubject'](new Map())),_0x27d8b8(this,'cursorInfo$',this['_cursorInfo$'][_0x24e181(0x4ba)]()),_0x27d8b8(this,_0x24e181(0x4b0),new _0x21eaf3[(_0x24e181(0x197))]([])),_0x27d8b8(this,_0x24e181(0x41e),this['_roomMembers$'][_0x24e181(0x35c)](_0x21eaf3[_0x24e181(0x354)](_0x2f6aa8))),_0x27d8b8(this,_0x24e181(0x192),_0x27d805[_0x24e181(0x1d4)](_0x2c362a=>{const _0x28c694=_0x24e181,_0x561186={'eventID':_0x3a188f[_0x28c694(0x1fe)][_0x28c694(0x553)],'data':{'unitID':this[_0x28c694(0xe9)],'memberID':this[_0x28c694(0x492)][_0x28c694(0x4d9)](),'selection':_0x3f6733(_0x2c362a)}};this['_session'][_0x28c694(0x27d)](_0x561186,this[_0x28c694(0xe9)]);},_0x3bad99)),(this[_0x24e181(0xe9)]=_0x1c0892,this[_0x24e181(0x492)]=_0x116b1a,this[_0x24e181(0x371)]=_0x280ef4,this['_colorAssignService']=_0x4abb7b,this[_0x24e181(0x268)]=_0x5ee433,this[_0x24e181(0x196)]=_0x1f22e8,this['_transformService']=_0x4d4ff2,this['_univerInstanceService']=_0x4afb28,this[_0x24e181(0x542)]=_0x77f2db);}get[_0x4fb43a(0x546)](){const _0x1a12a6=_0x4fb43a;return this['_cursorInfo$'][_0x1a12a6(0x4a4)]();}get['roomMembers'](){const _0x469b5d=_0x4fb43a;return this['_roomMembers$'][_0x469b5d(0x4a4)]();}[_0x4fb43a(0x489)](){const _0x51652c=_0x4fb43a;super[_0x51652c(0x489)](),this[_0x51652c(0x48c)]['next'](new Map()),this[_0x51652c(0x48c)]['complete'](),this[_0x51652c(0x4b0)]['next']([]),this[_0x51652c(0x4b0)][_0x51652c(0x3ae)]();}['init'](){const _0x15f98a=_0x4fb43a;this['_init']||(this['_init']=!0x0,this[_0x15f98a(0x492)][_0x15f98a(0x58a)][_0x15f98a(0x35c)](_0x21eaf3[_0x15f98a(0x321)](this[_0x15f98a(0x311)]))[_0x15f98a(0x438)](_0x322e3d=>{const _0x5064b4=_0x15f98a;_0x322e3d===_0x4a52a5[_0x5064b4(0x346)]?this[_0x5064b4(0x44d)]():this[_0x5064b4(0x406)]();}),this[_0x15f98a(0x492)][_0x15f98a(0x350)][_0x15f98a(0x35c)](_0x21eaf3[_0x15f98a(0x321)](this['dispose$']))[_0x15f98a(0x438)](_0x4b6604=>{const _0x8dd422=_0x15f98a,_0x4323cf=_0x4b6604[_0x8dd422(0x42f)];_0x4323cf===_0x3a188f[_0x8dd422(0x1fe)][_0x8dd422(0x553)]&&this[_0x8dd422(0x30a)](_0x4b6604),_0x4323cf===_0x3a188f[_0x8dd422(0x1fe)][_0x8dd422(0x449)]&&this[_0x8dd422(0x580)](_0x4b6604);}),this['disposeWithMe'](this[_0x15f98a(0x542)][_0x15f98a(0x20f)](_0x4c31cc=>{const _0x34ebd9=_0x15f98a,_0x1756e5=_0x4c31cc[_0x34ebd9(0x194)];_0x1756e5!=null&&this['_online']&&_0x4c31cc['id']===_0x599689[_0x34ebd9(0x330)]['id']&&_0x1756e5[_0x34ebd9(0x481)]===this['unitID']&&_0x1756e5[_0x34ebd9(0x2ab)]===!0x1&&_0x1756e5['ranges'][_0x34ebd9(0x4f3)]>0x0&&this[_0x34ebd9(0x192)](_0x1756e5[_0x34ebd9(0x490)]);})),this[_0x15f98a(0x196)][_0x15f98a(0x142)][_0x15f98a(0x35c)](_0x21eaf3[_0x15f98a(0x321)](this[_0x15f98a(0x311)]))[_0x15f98a(0x438)](_0x4dabea=>{const _0x59ffc1=_0x15f98a;if((_0x4dabea==null?void 0x0:_0x4dabea['unitID'])!==this[_0x59ffc1(0xe9)])return;const _0x30072f={'eventID':_0x3a188f[_0x59ffc1(0x1fe)][_0x59ffc1(0x553)],'data':_0x4dabea};this[_0x59ffc1(0x30a)](_0x30072f);}),this['disposeWithMe'](this[_0x15f98a(0x542)][_0x15f98a(0x20f)](_0x231139=>{const _0x3f5e9e=_0x15f98a;if(_0x231139[_0x3f5e9e(0x194)]==null)return;const _0x599e0e=_0x231139[_0x3f5e9e(0x194)];if(_0x231139['id']!==_0x599689[_0x3f5e9e(0x526)]['id']||_0x599e0e['unitId']!==this['unitID'])return;const _0x89d57b={'id':_0x3f5e9e(0x357),'params':_0x599e0e},_0x209e81=this[_0x3f5e9e(0x546)];for(const [_0x513d95,_0x472776]of _0x209e81){const _0x516d11={'id':_0x3f5e9e(0x357),'params':{'unitId':this[_0x3f5e9e(0xe9)],'actions':null,'textRanges':_0x472776[_0x3f5e9e(0x490)]}},_0x3b1c06=this[_0x3f5e9e(0x56a)][_0x3f5e9e(0x369)](_0x89d57b,_0x516d11,!0x1);if(_0x3a188f['isTransformMutationFailure'](_0x3b1c06))throw _0x3b1c06[_0x3f5e9e(0x4b9)];_0x209e81[_0x3f5e9e(0x3dc)](_0x513d95,{..._0x472776,'ranges':_0x3b1c06['m2Prime']['params'][_0x3f5e9e(0x2a2)]});}queueMicrotask(()=>{const _0x345465=_0x3f5e9e;this[_0x345465(0x48c)][_0x345465(0x152)](_0x209e81);});})));}[_0x4fb43a(0x30a)](_0x509660){const _0x34e25f=_0x4fb43a;var _0xfbc041,_0x162795;const {memberID:_0x3c71bd,selection:_0x395125}=_0x509660[_0x34e25f(0x320)],_0x246374=_0x127484(_0x395125),_0x594d12=(_0x162795=(_0xfbc041=this[_0x34e25f(0x268)]['getMember'](this[_0x34e25f(0xe9)],_0x3c71bd))==null?void 0x0:_0xfbc041[_0x34e25f(0x23d)])!=null?_0x162795:_0x34e25f(0x3f0),_0x144426={'color':this[_0x34e25f(0x218)][_0x34e25f(0x338)](_0x3c71bd),'name':_0x594d12,'ranges':_0x246374},_0x1a127a=this['cursorInfo'];_0x1a127a[_0x34e25f(0x3dc)](_0x3c71bd,_0x144426),this['_cursorInfo$'][_0x34e25f(0x152)](_0x1a127a);}[_0x4fb43a(0x580)](_0x2950ea){const _0x3eb7b0=_0x4fb43a,{memberID:_0x4901a6}=_0x2950ea[_0x3eb7b0(0x320)],_0x3f6e6b=this[_0x3eb7b0(0x546)];_0x3f6e6b[_0x3eb7b0(0x4ad)](_0x4901a6),this[_0x3eb7b0(0x48c)]['next'](_0x3f6e6b);}[_0x4fb43a(0x44d)](){const _0x11f9bc=_0x4fb43a;var _0x1eeb18;if(this[_0x11f9bc(0x1a1)]=!0x0,((_0x1eeb18=this['_univerInstanceService'][_0x11f9bc(0x199)]())==null?void 0x0:_0x1eeb18['getUnitId']())!==this[_0x11f9bc(0xe9)])return;const _0x2d2199=this[_0x11f9bc(0x371)][_0x11f9bc(0x457)](_0x599689[_0x11f9bc(0x34b)])[_0x11f9bc(0x106)]();Array[_0x11f9bc(0x53f)](_0x2d2199)&&_0x2d2199['length']>0x0&&this[_0x11f9bc(0x192)](_0x2d2199);}[_0x4fb43a(0x406)](){this['_online']=!0x1;}};_0x2c7a3e=_0x2bb203([_0xafc141(0x2,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0xafc141(0x3,_0x27d805['Inject'](_0xdb50cd)),_0xafc141(0x4,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x166)])),_0xafc141(0x5,_0x27d805[_0x4fb43a(0x236)](_0x2f7020)),_0xafc141(0x6,_0x3a188f[_0x4fb43a(0x178)]),_0xafc141(0x7,_0x27d805[_0x4fb43a(0x25e)]),_0xafc141(0x8,_0x27d805['ICommandService'])],_0x2c7a3e);var _0x506990=Object[_0x4fb43a(0x3de)],_0x25cada=Object['getOwnPropertyDescriptor'],_0x52b840=(_0x3b2307,_0x29fe30,_0x4a105c,_0x382626)=>{const _0xd818e4=_0x4fb43a;for(var _0x2ce3c4=_0x382626>0x1?void 0x0:_0x382626?_0x25cada(_0x29fe30,_0x4a105c):_0x29fe30,_0x504ef3=_0x3b2307[_0xd818e4(0x4f3)]-0x1,_0x59bcc4;_0x504ef3>=0x0;_0x504ef3--)(_0x59bcc4=_0x3b2307[_0x504ef3])&&(_0x2ce3c4=(_0x382626?_0x59bcc4(_0x29fe30,_0x4a105c,_0x2ce3c4):_0x59bcc4(_0x2ce3c4))||_0x2ce3c4);return _0x382626&&_0x2ce3c4&&_0x506990(_0x29fe30,_0x4a105c,_0x2ce3c4),_0x2ce3c4;},_0xe0743b=(_0x4407de,_0x331c00)=>(_0x5ca682,_0x5b3ad8)=>_0x331c00(_0x5ca682,_0x5b3ad8,_0x4407de);const _0xafbaa6=0x12c,_0x512e24=0x64,_0x4ad199=()=>{let _0x38b7f9=[],_0x3d7999=!0x1;return _0x16ccfb=>{const _0x24f726=_0x181e;_0x38b7f9[_0x24f726(0x582)](_0x16ccfb),_0x3d7999||(_0x3d7999=!0x0,setTimeout(()=>{_0x38b7f9['forEach'](_0x5673e9=>_0x5673e9()),_0x38b7f9=[],_0x3d7999=!0x1;}));};};let _0x244302=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x543765,_0x165464,_0x4e40fc,_0x20d8cf,_0x4f628f,_0x5890c6,_0x2a4df8,_0x5d62a7){const _0x11b90b=_0x4fb43a;super(),_0x27d8b8(this,'_online',!0x1),_0x27d8b8(this,_0x11b90b(0x256),!0x1),_0x27d8b8(this,_0x11b90b(0x48c),new _0x21eaf3[(_0x11b90b(0x197))](new Map())),_0x27d8b8(this,_0x11b90b(0x529),this[_0x11b90b(0x48c)][_0x11b90b(0x4ba)]()),_0x27d8b8(this,_0x11b90b(0x4b0),new _0x21eaf3['BehaviorSubject']([])),_0x27d8b8(this,_0x11b90b(0x41e),this[_0x11b90b(0x4b0)][_0x11b90b(0x35c)](_0x21eaf3['debounceTime'](_0xafbaa6))),_0x27d8b8(this,_0x11b90b(0x192),_0x27d805['debounce']((_0x2b600b,_0x165c70)=>{const _0x855654=_0x11b90b,_0x19a0c1={'eventID':_0x3a188f[_0x855654(0x1fe)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x855654(0xe9)],'memberID':this['_session'][_0x855654(0x4d9)](),'selection':_0x4d7856[_0x855654(0x1c1)](_0x2b600b,_0x165c70['range'])}};this['_session']['send'](_0x19a0c1,this[_0x855654(0xe9)]);},_0x512e24)),(this[_0x11b90b(0xe9)]=_0x543765,this[_0x11b90b(0x492)]=_0x165464,this[_0x11b90b(0x371)]=_0x4e40fc,this['_colorAssignService']=_0x20d8cf,this[_0x11b90b(0x268)]=_0x4f628f,this['_univerInstanceService']=_0x5890c6,this[_0x11b90b(0x542)]=_0x2a4df8,this[_0x11b90b(0x4b1)]=_0x5d62a7);}get[_0x4fb43a(0x546)](){const _0x3cb341=_0x4fb43a;return this[_0x3cb341(0x48c)][_0x3cb341(0x4a4)]();}get[_0x4fb43a(0x49e)](){const _0x4fb6b6=_0x4fb43a;return this[_0x4fb6b6(0x4b0)][_0x4fb6b6(0x4a4)]();}['dispose'](){const _0x36417e=_0x4fb43a;super[_0x36417e(0x489)](),this[_0x36417e(0x48c)][_0x36417e(0x152)](new Map()),this[_0x36417e(0x48c)][_0x36417e(0x3ae)](),this[_0x36417e(0x4b0)][_0x36417e(0x152)]([]),this[_0x36417e(0x4b0)][_0x36417e(0x3ae)]();}[_0x4fb43a(0x10c)](){const _0x374eab=_0x4fb43a;this[_0x374eab(0x256)]||(this[_0x374eab(0x256)]=!0x0,this[_0x374eab(0x492)][_0x374eab(0x58a)]['pipe'](_0x21eaf3[_0x374eab(0x321)](this[_0x374eab(0x311)]))['subscribe'](_0x40252c=>{const _0x2a2de1=_0x374eab;_0x40252c===_0x4a52a5[_0x2a2de1(0x346)]?this[_0x2a2de1(0x44d)]():this[_0x2a2de1(0x406)]();}),this[_0x374eab(0x492)][_0x374eab(0x350)][_0x374eab(0x35c)](_0x21eaf3[_0x374eab(0x321)](this[_0x374eab(0x311)]))['subscribe'](_0x45469e=>{const _0x5afb4b=_0x374eab,_0x32a952=_0x45469e[_0x5afb4b(0x42f)];_0x32a952===_0x3a188f['CollaborationEvent'][_0x5afb4b(0x553)]&&this[_0x5afb4b(0x30a)](_0x45469e),_0x32a952===_0x3a188f[_0x5afb4b(0x1fe)][_0x5afb4b(0x449)]&&this[_0x5afb4b(0x580)](_0x45469e);}),this[_0x374eab(0x4ed)](),this[_0x374eab(0x421)](this[_0x374eab(0x542)]['onCommandExecuted'](_0x12155b=>{const _0x26bfa2=_0x374eab;if(this[_0x26bfa2(0x1a1)]&&_0x12155b['id']===_0x6454ca[_0x26bfa2(0x114)]['id']&&_0x12155b[_0x26bfa2(0x194)][_0x26bfa2(0x481)]===this[_0x26bfa2(0xe9)]){const _0x50d45b=_0x12155b['params'];this[_0x26bfa2(0x192)](_0x50d45b[_0x26bfa2(0x36c)],_0x50d45b['selections'][0x0]);}})));}[_0x4fb43a(0x30a)](_0x10ea0b){const _0x4001ec=_0x4fb43a;var _0x137a17,_0x180641;const {memberID:_0x66e541,selection:_0x73c7d7}=_0x10ea0b[_0x4001ec(0x320)],{sheetName:_0x29c8e9,range:_0x20d590}=_0x4d7856[_0x4001ec(0x3a9)](_0x73c7d7),_0x2fa536={'name':(_0x180641=(_0x137a17=this[_0x4001ec(0x268)][_0x4001ec(0x3e7)](this[_0x4001ec(0xe9)],_0x66e541))==null?void 0x0:_0x137a17[_0x4001ec(0x23d)])!=null?_0x180641:_0x4001ec(0x3f0),'range':this[_0x4001ec(0x33d)](_0x29c8e9,_0x20d590),'sheetID':_0x29c8e9,'color':this['_colorAssignService'][_0x4001ec(0x338)](_0x66e541),'selection':_0x73c7d7},_0x1c3905=this['cursorInfo'];_0x1c3905[_0x4001ec(0x3dc)](_0x66e541,_0x2fa536),this[_0x4001ec(0x48c)][_0x4001ec(0x152)](_0x1c3905);}['_onCursorDelete'](_0x10db5e){const _0x47b3fa=_0x4fb43a,{memberID:_0xb63387}=_0x10db5e[_0x47b3fa(0x320)],_0x432001=this['cursorInfo'];_0x432001[_0x47b3fa(0x4ad)](_0xb63387),this[_0x47b3fa(0x48c)][_0x47b3fa(0x152)](_0x432001);}[_0x4fb43a(0x33d)](_0x2ce21c,_0x4b6105){const _0x1243a0=_0x4fb43a;var _0x139873,_0x157246;const _0x359473=(_0x157246=(_0x139873=this[_0x1243a0(0x1cc)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x139873[_0x1243a0(0x501)](_0x2ce21c))==null?void 0x0:_0x157246[_0x1243a0(0x496)]();return(_0x359473==null?void 0x0:_0x359473['find'](_0x3781de=>_0x27d805[_0x1243a0(0x11e)]['contains'](_0x3781de,_0x4b6105)))||_0x4b6105;}[_0x4fb43a(0x4ed)](){const _0x3f36d9=_0x4fb43a,_0x55219d=new _0x27d805[(_0x3f36d9(0x50a))](),_0xb8140a=_0x4ad199(),_0x580596=()=>{const _0xcecd26=_0x3f36d9;_0x55219d[_0xcecd26(0x489)]();const _0x42a412=(_0x454063,_0x338bbe,_0x324075,_0x153c90)=>{const _0x4d7182=_0xcecd26;let _0x293203=[];switch(_0x454063['id']){case _0x6454ca['EffectRefRangId'][_0x4d7182(0xf3)]:{_0x293203=_0x6454ca['handleDeleteRangeMoveLeft'](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x1fa)]:{_0x293203=_0x6454ca['handleDeleteRangeMoveUp'](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x571)]:{_0x293203=_0x6454ca['handleInsertCol'](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x1fc)]:{_0x293203=_0x6454ca[_0x4d7182(0x48e)](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)]['InsertRangeMoveRightCommandId']:{_0x293203=_0x6454ca[_0x4d7182(0x570)](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x146)]:{_0x293203=_0x6454ca[_0x4d7182(0x2d6)](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x3e6)]:{_0x293203=_0x6454ca[_0x4d7182(0x52b)](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)]['RemoveColCommandId']:{_0x293203=_0x6454ca[_0x4d7182(0x4db)](_0x454063,_0x153c90);break;}case _0x6454ca[_0x4d7182(0x385)][_0x4d7182(0x20e)]:{_0x293203=_0x6454ca[_0x4d7182(0xe5)](_0x454063,_0x153c90);break;}}const _0x4fa291=_0x6454ca['runRefRangeMutations'](_0x293203,_0x153c90),_0x4ad62f=this['cursorInfo'][_0x4d7182(0x457)](_0x338bbe);if(_0x4ad62f&&_0x4fa291){const _0xb50af7={..._0x4ad62f,'range':_0x4fa291};this['cursorInfo']['set'](_0x338bbe,_0xb50af7),_0xb8140a(()=>{const _0x4de211=_0x4d7182,_0x1c99f0=this[_0x4de211(0x4b1)][_0x4de211(0x5b0)](_0x4fa291,_0x3d4cb7=>(_0x1c99f0[_0x4de211(0x489)](),_0x42a412(_0x3d4cb7,_0x338bbe,_0x324075,_0x4fa291)));_0x55219d[_0x4de211(0x159)](_0x1c99f0);});}return{'redos':[],'undos':[]};};this[_0xcecd26(0x546)][_0xcecd26(0x49f)]((_0xbf7583,_0xf0efe)=>{const _0x1344c9=_0xcecd26,{range:_0x3c3243,sheetID:_0x502fcb}=_0xbf7583,_0x1b97a4=this[_0x1344c9(0x4b1)][_0x1344c9(0x5b0)](_0x3c3243,_0x27b782=>(_0x1b97a4[_0x1344c9(0x489)](),_0x42a412(_0x27b782,_0xf0efe,_0x502fcb,_0x3c3243)));_0x55219d['add'](_0x1b97a4);});};this[_0x3f36d9(0x421)](_0x27d805['toDisposable'](this[_0x3f36d9(0x48c)]['subscribe'](()=>{_0x580596();})));}[_0x4fb43a(0x44d)](){const _0x54b33d=_0x4fb43a;var _0x506911,_0x478ea2;if(this[_0x54b33d(0x1a1)]=!0x0,((_0x506911=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x506911[_0x54b33d(0x18c)]())!==this['unitID'])return;const _0x44e454=(_0x478ea2=this[_0x54b33d(0x371)]['get'](_0x6454ca[_0x54b33d(0x2e3)])['getCurrentSelections']())==null?void 0x0:_0x478ea2[0x0],_0x23e355=this[_0x54b33d(0x1cc)][_0x54b33d(0x3c9)](_0x27d805[_0x54b33d(0x23f)][_0x54b33d(0x2bf)])['getActiveSheet']();_0x44e454&&_0x23e355&&this[_0x54b33d(0x192)](_0x23e355['getSheetId'](),_0x44e454);}[_0x4fb43a(0x406)](){const _0x275a29=_0x4fb43a;this[_0x275a29(0x1a1)]=!0x1;}};_0x244302=_0x52b840([_0xe0743b(0x2,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x281)])),_0xe0743b(0x3,_0x27d805['Inject'](_0xdb50cd)),_0xe0743b(0x4,_0x27d805[_0x4fb43a(0x236)](_0x5e2809['MemberService'])),_0xe0743b(0x5,_0x27d805[_0x4fb43a(0x25e)]),_0xe0743b(0x6,_0x27d805[_0x4fb43a(0x120)]),_0xe0743b(0x7,_0x27d805[_0x4fb43a(0x236)](_0x6454ca[_0x4fb43a(0x33a)]))],_0x244302);var _0x21496d=Object['defineProperty'],_0x488d24=Object[_0x4fb43a(0x44a)],_0x3f0b95=(_0x2eaa9f,_0x2646fb,_0x2004c2,_0xe4bef3)=>{const _0x152dbe=_0x4fb43a;for(var _0x589e7e=_0xe4bef3>0x1?void 0x0:_0xe4bef3?_0x488d24(_0x2646fb,_0x2004c2):_0x2646fb,_0xc135e5=_0x2eaa9f[_0x152dbe(0x4f3)]-0x1,_0xa3b012;_0xc135e5>=0x0;_0xc135e5--)(_0xa3b012=_0x2eaa9f[_0xc135e5])&&(_0x589e7e=(_0xe4bef3?_0xa3b012(_0x2646fb,_0x2004c2,_0x589e7e):_0xa3b012(_0x589e7e))||_0x589e7e);return _0xe4bef3&&_0x589e7e&&_0x21496d(_0x2646fb,_0x2004c2,_0x589e7e),_0x589e7e;},_0x21755c=(_0x160490,_0xddaafc)=>(_0x4aec0e,_0x5a58d1)=>_0xddaafc(_0x4aec0e,_0x5a58d1,_0x160490);let _0x573cb9=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x8bc4aa,_0x4056cc,_0x39aa02){const _0x363f91=_0x4fb43a;super(),_0x27d8b8(this,_0x363f91(0x242),new Map()),_0x27d8b8(this,_0x363f91(0x384),new _0x21eaf3[(_0x363f91(0x2d3))]()),(this[_0x363f91(0x1cc)]=_0x8bc4aa,this[_0x363f91(0x371)]=_0x4056cc,this[_0x363f91(0x123)]=_0x39aa02,this[_0x363f91(0x256)]());}[_0x4fb43a(0x489)](){const _0x1507d6=_0x4fb43a;super[_0x1507d6(0x489)](),this[_0x1507d6(0x384)]['complete'](),this[_0x1507d6(0x242)]['forEach'](_0x13646e=>_0x13646e[_0x1507d6(0x489)]());}[_0x4fb43a(0x20b)](_0x3d4259){const _0x533023=_0x4fb43a;return this[_0x533023(0x242)][_0x533023(0x21d)](_0x3d4259)?this['_entities'][_0x533023(0x457)](_0x3d4259)[_0x533023(0x529)]:this['_entityInit$'][_0x533023(0x35c)](_0x21eaf3[_0x533023(0x347)](_0x1455b9=>_0x1455b9[_0x533023(0xe9)]===_0x3d4259),_0x21eaf3[_0x533023(0x441)](_0x50778f=>_0x50778f['cursorInfo$']));}[_0x4fb43a(0x256)](){const _0x271c41=_0x4fb43a;this['_univerInstanceService'][_0x271c41(0x44f)](_0x27d805[_0x271c41(0x23f)][_0x271c41(0x2bf)])[_0x271c41(0x35c)](_0x21eaf3['takeUntil'](this[_0x271c41(0x311)]))[_0x271c41(0x438)](async _0x5e556e=>{const _0x4089bd=_0x271c41,_0x543b08=_0x5e556e['getUnitId'](),_0x4d5bc6=await this[_0x4089bd(0x563)](_0x543b08);this[_0x4089bd(0x384)][_0x4089bd(0x152)](_0x4d5bc6),this[_0x4089bd(0x242)][_0x4089bd(0x3dc)](_0x543b08,_0x4d5bc6);}),this[_0x271c41(0x1cc)]['getTypeOfUnitAdded$'](_0x27d805[_0x271c41(0x23f)][_0x271c41(0x515)])[_0x271c41(0x35c)](_0x21eaf3[_0x271c41(0x321)](this['dispose$']))[_0x271c41(0x35c)](_0x21eaf3[_0x271c41(0x347)](_0x2d854e=>!_0x2d854e[_0x271c41(0x18c)]()[_0x271c41(0x165)]('__')))[_0x271c41(0x438)](async _0x1109ab=>{const _0x153a66=_0x271c41,_0x57332e=_0x1109ab[_0x153a66(0x18c)](),_0x1bffe8=await this[_0x153a66(0x3d5)](_0x57332e);this[_0x153a66(0x384)]['next'](_0x1bffe8),this['_entities']['set'](_0x57332e,_0x1bffe8);}),_0x21eaf3[_0x271c41(0x32e)](this['_univerInstanceService'][_0x271c41(0x33e)](_0x27d805[_0x271c41(0x23f)][_0x271c41(0x515)]),this[_0x271c41(0x1cc)][_0x271c41(0x33e)](_0x27d805[_0x271c41(0x23f)]['UNIVER_SHEET']))['pipe'](_0x21eaf3[_0x271c41(0x321)](this[_0x271c41(0x311)]))[_0x271c41(0x438)](_0x5aef60=>{const _0x256633=_0x271c41,_0x140b0f=_0x5aef60[_0x256633(0x18c)](),_0x4f5c8f=this['_entities'][_0x256633(0x457)](_0x140b0f);_0x4f5c8f&&(_0x4f5c8f[_0x256633(0x489)](),this[_0x256633(0x242)][_0x256633(0x4ad)](_0x140b0f));});}async[_0x4fb43a(0x563)](_0xee5d01){const _0x4b34d3=_0x4fb43a,_0x2d1fa6=await this[_0x4b34d3(0x123)][_0x4b34d3(0x31d)](_0xee5d01),_0x29bb2c=this['_injector']['createInstance'](_0x244302,_0xee5d01,_0x2d1fa6);return _0x29bb2c[_0x4b34d3(0x10c)](),_0x29bb2c;}async[_0x4fb43a(0x3d5)](_0x344fd7){const _0x194b0e=_0x4fb43a,_0x4b589c=await this[_0x194b0e(0x123)][_0x194b0e(0x31d)](_0x344fd7),_0x4d3d6b=this['_injector'][_0x194b0e(0x3fb)](_0x2c7a3e,_0x344fd7,_0x4b589c);return _0x4d3d6b['init'](),_0x4d3d6b;}};_0x573cb9=_0x3f0b95([_0x21755c(0x0,_0x27d805[_0x4fb43a(0x25e)]),_0x21755c(0x1,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x21755c(0x2,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x263)]))],_0x573cb9);const _0x174df2=0x14,_0xca4d11=0xc8,_0x159589=0x4,_0xcc5cf3=0x5;function _0x811103(_0x123166,_0x57e7e8){const _0x25d495=_0x4fb43a;let {radius:_0x2c8fd3,width:_0x33b3ad,height:_0x3928ac}=_0x57e7e8;_0x2c8fd3=_0x2c8fd3!=null?_0x2c8fd3:0x0,_0x33b3ad=_0x33b3ad!=null?_0x33b3ad:0x1e,_0x3928ac=_0x3928ac!=null?_0x3928ac:0x1e;let _0xf85ca7=0x0,_0x5c6b69=0x0,_0x48ecee=0x0;_0xf85ca7=_0x5c6b69=_0x48ecee=Math['min'](_0x2c8fd3,_0x33b3ad/0x2,_0x3928ac/0x2),_0x123166[_0x25d495(0x2c5)](),_0x123166['moveTo'](_0xf85ca7,0x0),_0x123166[_0x25d495(0x39d)](_0x33b3ad-_0x5c6b69,0x0),_0x123166[_0x25d495(0x2b8)](_0x33b3ad-_0x5c6b69,_0x5c6b69,_0x5c6b69,Math['PI']*0x3/0x2,0x0,!0x1),_0x123166[_0x25d495(0x39d)](_0x33b3ad,_0x3928ac-_0x48ecee),_0x123166['arc'](_0x33b3ad-_0x48ecee,_0x3928ac-_0x48ecee,_0x48ecee,0x0,Math['PI']/0x2,!0x1),_0x123166[_0x25d495(0x39d)](0x0,_0x3928ac),_0x123166[_0x25d495(0x39d)](0x0,_0xf85ca7),_0x123166['arc'](_0xf85ca7,_0xf85ca7,_0xf85ca7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x123166[_0x25d495(0x1a9)](),_0x57e7e8['fill']&&(_0x123166[_0x25d495(0x4eb)](),_0x123166[_0x25d495(0x55e)]=_0x57e7e8[_0x25d495(0x27c)],_0x57e7e8['fillRule']===_0x25d495(0x5a5)?_0x123166[_0x25d495(0x27c)](_0x25d495(0x5a5)):_0x123166['fill'](),_0x123166[_0x25d495(0x2a5)]());}class _0x185a12 extends _0x48e10d['Shape']{constructor(_0x1a8bde,_0x897cc5){const _0x24903a=_0x4fb43a;super(_0x1a8bde,_0x897cc5),_0x27d8b8(this,_0x24903a(0x452)),_0x27d8b8(this,_0x24903a(0x3ed)),(this[_0x24903a(0x452)]=_0x897cc5==null?void 0x0:_0x897cc5[_0x24903a(0x452)],this[_0x24903a(0x3ed)]=_0x897cc5==null?void 0x0:_0x897cc5[_0x24903a(0x3ed)]);}static['drawWith'](_0x37a285,_0x5b990a){const _0x3030be=_0x4fb43a,{text:_0x73b411,color:_0x201fe6}=_0x5b990a;_0x37a285[_0x3030be(0x4eb)](),_0x37a285[_0x3030be(0x4f2)]=_0x3030be(0x511);const _0x824ae9=_0x37a285[_0x3030be(0x4e5)](_0x73b411)[_0x3030be(0x1ad)],_0x4964bb=Math['min'](_0x824ae9+0x2*_0x159589,_0xca4d11);_0x811103(_0x37a285,{'height':_0x174df2,'radius':0x4,'width':_0x4964bb,'fill':_0x201fe6,'evented':!0x1}),_0x37a285['fillStyle']='#FFF';const _0x577275=_0x159589,_0x4481a2=_0x174df2-_0xcc5cf3,_0x289aff=_0xca4d11-0x2*_0x159589;if(_0x824ae9>_0x289aff){let _0x587038='',_0x37226e=0x0;for(const _0x28a044 of _0x73b411){const _0x1e26fc=_0x37a285[_0x3030be(0x4e5)](_0x28a044)['width'];if(_0x37226e+_0x1e26fc<=_0x289aff-_0x37a285['measureText'](_0x3030be(0x5b4))['width'])_0x587038+=_0x28a044,_0x37226e+=_0x1e26fc;else{_0x587038+='...';break;}}_0x37a285[_0x3030be(0x219)](_0x587038,_0x577275,_0x4481a2);}else _0x37a285[_0x3030be(0x219)](_0x73b411,_0x577275,_0x4481a2);_0x37a285[_0x3030be(0x2a5)]();}[_0x4fb43a(0x278)](_0x58085a){_0x185a12['drawWith'](_0x58085a,this);}}const _0x336e88=_0x4fb43a(0x31c),_0x69625c=_0x4fb43a(0x48a),_0x389e72=_0x4fb43a(0x514),_0x32fcb2=0x6,_0x18fc53=1.5,_0x2cc6e0=0x4,_0x495956=1.5,_0x298d68=_0x4fb43a(0x55c);class _0x41ef0a{constructor(_0x50fc5b,_0x5ae040,_0x52cb54,_0x462ce2){const _0x103565=_0x4fb43a;_0x27d8b8(this,_0x103565(0x2b2),[]),_0x27d8b8(this,_0x103565(0x4c9),null),_0x27d8b8(this,_0x103565(0x171),null),_0x27d8b8(this,_0x103565(0x1d8),null),_0x27d8b8(this,_0x103565(0x206),null),_0x27d8b8(this,_0x103565(0x462),null),(this[_0x103565(0x1b9)]=_0x50fc5b,this[_0x103565(0x3fe)]=_0x5ae040,this[_0x103565(0x3bd)]=_0x52cb54,this[_0x103565(0x3ca)]=_0x462ce2,this[_0x103565(0x469)]());}set[_0x4fb43a(0x524)](_0x355857){const _0x3a8b44=_0x4fb43a;_0x355857?(this[_0x3a8b44(0x1d8)]&&this[_0x3a8b44(0x1d8)]['hide'](),this['_textBubble']&&this[_0x3a8b44(0x171)][_0x3a8b44(0x24e)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble'][_0x3a8b44(0x557)]());}['dispose'](){const _0x158f48=_0x4fb43a;for(const _0x25f5fa of this[_0x158f48(0x2b2)])_0x25f5fa['dispose']();this[_0x158f48(0x171)]&&this[_0x158f48(0x171)]['dispose'](),this[_0x158f48(0x1d8)]&&this[_0x158f48(0x1d8)][_0x158f48(0x489)](),this[_0x158f48(0x4c9)]&&this['_anchor'][_0x158f48(0x489)](),this[_0x158f48(0x462)]&&this['_eventUnsubscribe']();}[_0x4fb43a(0x469)](){const _0x2f1013=_0x4fb43a;var _0x370cc2;const {_docSkeleton:_0x4b973e,_document:_0x3b4140}=this,{color:_0x4d659c,name:_0x1b08fd,ranges:_0x33b58f}=this['_cursor'],_0x27c722=_0x3b4140[_0x2f1013(0x59f)](),{docsLeft:_0x2e9ac6,docsTop:_0x5875df}=_0x27c722,_0x3c11fd=new _0x89d13d[(_0x2f1013(0x393))](_0x27c722,_0x4b973e);for(const {startOffset:_0x3168fe,endOffset:_0x458503,rangeType:_0x4f800f,segmentId:_0x4bdd9d,segmentPage:_0x66c933,collapsed:_0x100882,isActive:_0x107777}of _0x33b58f){const _0x35f729=_0x4b973e['findNodePositionByCharIndex'](_0x3168fe,!0x0,_0x4bdd9d,_0x66c933);let _0x3c4f40=_0x4b973e[_0x2f1013(0x435)](_0x458503,!0x0,_0x4bdd9d,_0x66c933);if(_0x3c4f40==null&&(_0x3c4f40=_0x4b973e['findNodePositionByCharIndex'](_0x458503-0x1,!0x1,_0x4bdd9d,_0x66c933)),_0x107777){const {contentBoxPointGroup:_0x3eba3d}=_0x3c11fd[_0x2f1013(0x24d)](_0x3c4f40,_0x3c4f40);if(_0x3eba3d[_0x2f1013(0x4f3)]===0x0)continue;this['_drawAnchor'](_0x4d659c,_0x3eba3d,_0x2e9ac6,_0x5875df,_0x1b08fd),this[_0x2f1013(0x462)]=this[_0x2f1013(0x272)]();}if(!_0x100882&&_0x35f729&&_0x3c4f40){if(_0x4f800f===_0x27d805[_0x2f1013(0x226)][_0x2f1013(0x39e)]){const _0x552d3f=new _0x89d13d[(_0x2f1013(0x591))](_0x27c722,_0x4b973e),{pointGroup:_0x226d9b}=(_0x370cc2=_0x552d3f[_0x2f1013(0x24d)](_0x35f729,_0x3c4f40))!=null?_0x370cc2:{};if(_0x226d9b==null||_0x226d9b[_0x2f1013(0x4f3)]===0x0)continue;this['_drawRectRange'](_0x4d659c,_0x226d9b,_0x2e9ac6,_0x5875df);}else{const {borderBoxPointGroup:_0x340dec}=_0x3c11fd[_0x2f1013(0x24d)](_0x35f729,_0x3c4f40);if(_0x340dec[_0x2f1013(0x4f3)]===0x0)continue;this[_0x2f1013(0x3cc)](_0x4d659c,_0x340dec,_0x2e9ac6,_0x5875df);}}}}[_0x4fb43a(0x325)](_0x480165,_0x2a2448,_0x32390b,_0x2ea8c5,_0x2baf52){const _0x59851f=_0x4fb43a,_0x55bf24=this[_0x59851f(0x363)](_0x2a2448),{left:_0x2a03b4,top:_0x3d7ac4,height:_0x25c9c4}=_0x55bf24,_0x3311dc=this[_0x59851f(0x332)](),_0x2aa67b=_0x495956/_0x3311dc,_0x150337=new _0x48e10d[(_0x59851f(0x46e))](_0x336e88+_0x27d805[_0x59851f(0x59a)][_0x59851f(0x44b)](_0x32fcb2),{'left':_0x2a03b4+_0x32390b-_0x2aa67b,'top':_0x3d7ac4+_0x2ea8c5,'height':_0x25c9c4,'width':_0x18fc53,'fill':_0x480165||_0x48e10d[_0x59851f(0x117)](_0x27d805[_0x59851f(0x23b)][_0x59851f(0x13f)],0x0),'strokeWidth':_0x2aa67b,'stroke':_0x298d68,'evented':!0x0});this[_0x59851f(0x4c9)]=_0x150337,this['_scene']['addObject'](_0x150337,_0x89d13d['TEXT_RANGE_LAYER_INDEX']);const _0x372219=new _0x48e10d[(_0x59851f(0x46e))](_0x336e88+_0x27d805[_0x59851f(0x59a)][_0x59851f(0x44b)](_0x32fcb2),{'left':_0x2a03b4+_0x32390b-_0x2aa67b,'top':_0x3d7ac4+_0x2ea8c5-_0x2cc6e0/0x2,'height':_0x2cc6e0,'width':_0x2cc6e0,'fill':_0x480165||_0x48e10d[_0x59851f(0x117)](_0x27d805['COLORS'][_0x59851f(0x13f)],0x0),'strokeWidth':0x0,'stroke':_0x480165||_0x48e10d[_0x59851f(0x117)](_0x27d805['COLORS'][_0x59851f(0x13f)],0x0),'evented':!0x1});this['_anchorDot']=_0x372219,this[_0x59851f(0x3fe)][_0x59851f(0x232)](_0x372219,_0x89d13d['TEXT_RANGE_LAYER_INDEX']);const _0xffd9a7=new _0x185a12(_0x336e88+_0x27d805[_0x59851f(0x59a)][_0x59851f(0x44b)](_0x32fcb2),{'left':_0x2a03b4+_0x32390b-_0x2aa67b,'top':_0x3d7ac4+_0x2ea8c5-_0x174df2,'text':_0x2baf52,'color':_0x480165});this[_0x59851f(0x171)]=_0xffd9a7,this[_0x59851f(0x3fe)]['addObject'](_0xffd9a7,_0x89d13d[_0x59851f(0x11b)]),this[_0x59851f(0x524)]=!0x1;}[_0x4fb43a(0x272)](){const _0x408962=_0x4fb43a,_0xcc0942=this[_0x408962(0x4c9)][_0x408962(0x1c5)][_0x408962(0x21a)](()=>{this['_hover']=!0x0;}),_0x37c5b2=this[_0x408962(0x4c9)]['onPointerLeave$']['subscribeEvent'](()=>{const _0xcf3b9e=_0x408962;this[_0xcf3b9e(0x206)]&&clearTimeout(this[_0xcf3b9e(0x206)]),this[_0xcf3b9e(0x206)]=setTimeout(()=>{const _0x62bb25=_0xcf3b9e;this[_0x62bb25(0x524)]=!0x1;},0x7d0);});return()=>{const _0x2e5253=_0x408962;_0xcc0942['unsubscribe'](),_0x37c5b2[_0x2e5253(0x225)]();};}[_0x4fb43a(0x3cc)](_0x359284,_0x5c095c,_0x3fe1bd,_0x5c7ad9){const _0x1eafbd=_0x4fb43a,_0x430e56=new _0x27d805[(_0x1eafbd(0x44c))](_0x359284)[_0x1eafbd(0x394)](0.2)[_0x1eafbd(0x3b7)](),_0x570021=new _0x48e10d['RegularPolygon'](_0x69625c+_0x27d805['Tools'][_0x1eafbd(0x44b)](_0x32fcb2),{'pointsGroup':_0x5c095c,'fill':_0x430e56||_0x48e10d[_0x1eafbd(0x117)](_0x27d805[_0x1eafbd(0x23b)][_0x1eafbd(0x13f)],0.2),'left':_0x3fe1bd,'top':_0x5c7ad9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1eafbd(0x2b2)][_0x1eafbd(0x582)](_0x570021),this[_0x1eafbd(0x3fe)]['addObject'](_0x570021,_0x89d13d['TEXT_RANGE_LAYER_INDEX']);}[_0x4fb43a(0x413)](_0x13d9a6,_0x279c37,_0x5cdc68,_0x53cbc6){const _0x53f3d3=_0x4fb43a,_0x13730a=new _0x27d805[(_0x53f3d3(0x44c))](_0x13d9a6)[_0x53f3d3(0x394)](0.2)[_0x53f3d3(0x3b7)](),_0x41683a=new _0x48e10d[(_0x53f3d3(0x500))](_0x389e72+_0x27d805[_0x53f3d3(0x59a)][_0x53f3d3(0x44b)](_0x32fcb2),{'pointsGroup':_0x279c37,'fill':_0x13730a||_0x48e10d[_0x53f3d3(0x117)](_0x27d805[_0x53f3d3(0x23b)]['black'],0.2),'left':_0x5cdc68,'top':_0x53cbc6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x41683a),this[_0x53f3d3(0x3fe)][_0x53f3d3(0x232)](_0x41683a,_0x89d13d[_0x53f3d3(0x11b)]);}[_0x4fb43a(0x363)](_0x17b7e1){const _0x584c21=_0x17b7e1[0x0],_0x325e9c=_0x584c21[0x0],_0x525b52=_0x584c21[0x2],{x:_0x533258,y:_0x350dc5}=_0x325e9c,{x:_0x439193,y:_0x438d94}=_0x525b52;return{'left':_0x533258,'top':_0x350dc5,'width':_0x439193-_0x533258,'height':_0x438d94-_0x350dc5};}['_getScale'](){const _0x397046=_0x4fb43a,{scaleX:_0x45945c,scaleY:_0x58bd37}=this[_0x397046(0x3fe)][_0x397046(0x189)]();return Math['max'](_0x45945c,_0x58bd37);}}var _0x27b77e=Object['defineProperty'],_0x5b7ede=Object['getOwnPropertyDescriptor'],_0x1a60fa=(_0x32a186,_0x10ac83,_0x245029,_0x5caa82)=>{const _0x10cd9b=_0x4fb43a;for(var _0x5207d5=_0x5caa82>0x1?void 0x0:_0x5caa82?_0x5b7ede(_0x10ac83,_0x245029):_0x10ac83,_0xc05ad5=_0x32a186[_0x10cd9b(0x4f3)]-0x1,_0x27fed7;_0xc05ad5>=0x0;_0xc05ad5--)(_0x27fed7=_0x32a186[_0xc05ad5])&&(_0x5207d5=(_0x5caa82?_0x27fed7(_0x10ac83,_0x245029,_0x5207d5):_0x27fed7(_0x5207d5))||_0x5207d5);return _0x5caa82&&_0x5207d5&&_0x27b77e(_0x10ac83,_0x245029,_0x5207d5),_0x5207d5;},_0x24d9da=(_0x4a69b1,_0x120871)=>(_0x203fb6,_0xe0cbd3)=>_0x120871(_0x203fb6,_0xe0cbd3,_0x4a69b1);let _0x350ea2=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x7e8999,_0x156062,_0x11eedd,_0x466688,_0x922e15){const _0x29e048=_0x4fb43a;super(),_0x27d8b8(this,'_cursorShapes',[]),_0x27d8b8(this,_0x29e048(0x587),[]),(this[_0x29e048(0x2f4)]=_0x7e8999,this[_0x29e048(0x215)]=_0x156062,this[_0x29e048(0x2c2)]=_0x11eedd,this[_0x29e048(0x542)]=_0x466688,this[_0x29e048(0x527)]=_0x922e15,this['_init']());}[_0x4fb43a(0x256)](){const _0x37b71b=_0x4fb43a,_0x5d55af=this[_0x37b71b(0x2f4)]['unitId'],_0x3cb9c5=this['_docSkeletonManagerService'];this[_0x37b71b(0x421)](_0x21eaf3[_0x37b71b(0x31f)]([this[_0x37b71b(0x2c2)][_0x37b71b(0x20b)](_0x5d55af),this[_0x37b71b(0x527)]['currentTheme$']])[_0x37b71b(0x35c)](_0x3ee60a[_0x37b71b(0x362)](([_0x477751,_0x22b61d])=>({'skeleton':_0x3cb9c5[_0x37b71b(0x291)](),'cursors':[..._0x477751[_0x37b71b(0x1aa)]()][_0x37b71b(0x118)](_0x353706=>({..._0x353706,'color':_0x22b61d[_0x353706['color']]}))})))[_0x37b71b(0x438)](_0x2aa548=>{const _0x3c7f7b=_0x37b71b;if(this[_0x3c7f7b(0x228)](),_0x2aa548){const {skeleton:_0x305d26,cursors:_0x112040}=_0x2aa548;this['_updateCollabCursors'](_0x305d26,_0x112040);}})),this['_initResize'](),this[_0x37b71b(0x50d)]();}['_updateCollabCursors'](_0x107cb0,_0x424c9e){const _0x3f775f=_0x4fb43a,{scene:_0x4eb30e,mainComponent:_0x53857b}=this[_0x3f775f(0x2f4)],_0x44f2ba=_0x424c9e[_0x3f775f(0x362)](_0x3d3efa=>new _0x41ef0a(_0x3d3efa,_0x4eb30e,_0x107cb0,_0x53857b));this['_cursorShapes']=_0x44f2ba,this[_0x3f775f(0x587)]=_0x424c9e;}[_0x4fb43a(0x530)](){const _0xe0b87c=_0x4fb43a;this[_0xe0b87c(0x228)]();const {scene:_0x35a43b,mainComponent:_0x536c89}=this['_context'],_0x337759=this[_0xe0b87c(0x215)][_0xe0b87c(0x291)](),_0x4111cd=this[_0xe0b87c(0x587)][_0xe0b87c(0x362)](_0x5b3e20=>new _0x41ef0a(_0x5b3e20,_0x35a43b,_0x337759,_0x536c89));this[_0xe0b87c(0x453)]=_0x4111cd;}[_0x4fb43a(0x228)](){const _0x44e7c2=_0x4fb43a;this['_cursorShapes'][_0x44e7c2(0x49f)](_0x5b935b=>_0x5b935b[_0x44e7c2(0x489)]()),this[_0x44e7c2(0x453)]=[];}['_initCommandExecutedListener'](){const _0x1b971f=_0x4fb43a,_0x4c1186=[_0x89d13d['SetDocZoomRatioOperation']['id']];this[_0x1b971f(0x421)](this[_0x1b971f(0x542)][_0x1b971f(0x20f)](_0x139d66=>{const _0x22ae71=_0x1b971f;_0x4c1186[_0x22ae71(0x3e4)](_0x139d66['id'])&&_0x139d66[_0x22ae71(0x194)]['unitId']===this[_0x22ae71(0x2f4)][_0x22ae71(0x481)]&&this[_0x22ae71(0x530)]();}));}[_0x4fb43a(0x2da)](){const _0x18e6d0=_0x4fb43a;this['disposeWithMe'](_0x27d805[_0x18e6d0(0x4f8)](this[_0x18e6d0(0x2f4)][_0x18e6d0(0x478)]['onTransformChange$'])[_0x18e6d0(0x35c)](_0x3ee60a[_0x18e6d0(0x347)](_0x7d1ff0=>_0x7d1ff0[_0x18e6d0(0x389)]===_0x48e10d['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x18e6d0(0x4b5)]),_0x3ee60a[_0x18e6d0(0x4fb)](0x10))[_0x18e6d0(0x438)](()=>{this['_refreshCollabCursors']();}));}};_0x350ea2=_0x1a60fa([_0x24d9da(0x1,_0x27d805['Inject'](_0x599689[_0x4fb43a(0x29b)])),_0x24d9da(0x2,_0x27d805[_0x4fb43a(0x236)](_0x573cb9)),_0x24d9da(0x3,_0x27d805['ICommandService']),_0x24d9da(0x4,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x2ad)]))],_0x350ea2);const _0x4c7000=0x1,_0x39f893=1.5;class _0x5f1168 extends _0x48e10d['Shape']{constructor(_0x10f312,_0x17e73d){const _0xac2e61=_0x4fb43a;super(_0x10f312,_0x17e73d),_0x27d8b8(this,_0xac2e61(0x534)),_0x27d8b8(this,_0xac2e61(0x4cf),!0x1),_0x27d8b8(this,_0xac2e61(0x2d0)),_0x27d8b8(this,_0xac2e61(0x198),''),_0x27d8b8(this,'_labelPosition',_0xac2e61(0x240)),_0x27d8b8(this,_0xac2e61(0x465)),(_0x17e73d&&this[_0xac2e61(0x549)](_0x17e73d),this[_0xac2e61(0x1c5)][_0xac2e61(0x21a)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0xac2e61(0x21a)](()=>this[_0xac2e61(0x549)]({'hovered':!0x1})));}['setShapeProps'](_0x18b93d){const _0x430cd2=_0x4fb43a;var _0xa3480a,_0x596fe9,_0x54f169,_0x5d619c,_0x468015,_0x17b84b;this['_color']=(_0xa3480a=_0x18b93d['color'])!=null?_0xa3480a:this[_0x430cd2(0x534)],this[_0x430cd2(0x4cf)]=(_0x596fe9=_0x18b93d['hovered'])!=null?_0x596fe9:this['_hovered'],this[_0x430cd2(0x2d0)]=(_0x54f169=_0x18b93d[_0x430cd2(0x3db)])!=null?_0x54f169:this[_0x430cd2(0x2d0)],this[_0x430cd2(0x198)]=(_0x5d619c=_0x18b93d[_0x430cd2(0x23d)])!=null?_0x5d619c:this['_name'],this['_labelPosition']=(_0x468015=_0x18b93d['labelPosition'])!=null?_0x468015:this[_0x430cd2(0x4d6)],this['_backgroundColor']=(_0x17b84b=_0x18b93d[_0x430cd2(0x415)])!=null?_0x17b84b:this[_0x430cd2(0x465)],this[_0x430cd2(0x450)]({'width':_0x18b93d[_0x430cd2(0x1ad)],'height':_0x18b93d[_0x430cd2(0x28b)]});}[_0x4fb43a(0x372)](_0x13c479){const _0x24ee99=_0x4fb43a,{row:_0x315bc6,column:_0x4ad2f8}=_0x13c479;if(_0x315bc6>=this['_range']['startRow']&&_0x315bc6<=this[_0x24ee99(0x2d0)][_0x24ee99(0x588)]&&_0x4ad2f8>=this[_0x24ee99(0x2d0)][_0x24ee99(0x58d)]&&_0x4ad2f8<=this[_0x24ee99(0x2d0)]['endColumn']){this[_0x24ee99(0x549)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4fb43a(0x378)](_0x49f022){return!0x1;}[_0x4fb43a(0x278)](_0x10510e){const _0x432018=_0x4fb43a;_0x48e10d[_0x432018(0x46e)][_0x432018(0x1ac)](_0x10510e,{'width':this[_0x432018(0x1ad)],'height':this[_0x432018(0x28b)],'strokeWidth':_0x39f893,'stroke':this[_0x432018(0x534)],'evented':!0x1,'fill':this[_0x432018(0x465)]}),this['_hovered']&&(_0x10510e[_0x432018(0x4eb)](),_0x10510e[_0x432018(0x39c)](0x1,0x0,0x0,0x1,this['width'],this[_0x432018(0x4d6)]===_0x432018(0x17c)?0x0:-_0x174df2),_0x185a12['drawWith'](_0x10510e,{'text':this[_0x432018(0x198)],'color':this[_0x432018(0x534)]}),_0x10510e['restore']());}}var _0x47f9e7=Object[_0x4fb43a(0x3de)],_0x37f137=Object['getOwnPropertyDescriptor'],_0x3547e4=(_0x49846f,_0x21dd63,_0x289bc9,_0xa39b56)=>{const _0x56296e=_0x4fb43a;for(var _0x3300c5=_0xa39b56>0x1?void 0x0:_0xa39b56?_0x37f137(_0x21dd63,_0x289bc9):_0x21dd63,_0x5e3113=_0x49846f[_0x56296e(0x4f3)]-0x1,_0x348acd;_0x5e3113>=0x0;_0x5e3113--)(_0x348acd=_0x49846f[_0x5e3113])&&(_0x3300c5=(_0xa39b56?_0x348acd(_0x21dd63,_0x289bc9,_0x3300c5):_0x348acd(_0x3300c5))||_0x3300c5);return _0xa39b56&&_0x3300c5&&_0x47f9e7(_0x21dd63,_0x289bc9,_0x3300c5),_0x3300c5;},_0x50d7ee=(_0x1001f6,_0x5dbbf8)=>(_0x5ba7fa,_0x5ccf99)=>_0x5dbbf8(_0x5ba7fa,_0x5ccf99,_0x1001f6);const _0x2d140b=0x1389;let _0x30649a=class extends _0x27d805['RxDisposable']{constructor(_0x32e3e6,_0x58685c,_0x7bb6d9,_0x55aed6){const _0x29c0e5=_0x4fb43a;super(),_0x27d8b8(this,_0x29c0e5(0x587),new Set()),_0x27d8b8(this,'_lastPointer',null),(this[_0x29c0e5(0x2f4)]=_0x32e3e6,this[_0x29c0e5(0x3d0)]=_0x58685c,this['_collabCursorController']=_0x7bb6d9,this['_themeService']=_0x55aed6,this[_0x29c0e5(0x256)]());}[_0x4fb43a(0x256)](){const _0x104949=_0x4fb43a;this[_0x104949(0x3d0)][_0x104949(0x125)][_0x104949(0x35c)](_0x3ee60a[_0x104949(0x321)](this['dispose$']),_0x3ee60a[_0x104949(0x441)](_0x42e736=>{const _0x5eb0e8=_0x104949;if(_0x42e736){const _0x575e14=_0x42e736[_0x5eb0e8(0x4e9)];return _0x21eaf3[_0x5eb0e8(0x31f)](this[_0x5eb0e8(0x2c2)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x5eb0e8(0x2af)])[_0x5eb0e8(0x35c)](_0x3ee60a[_0x5eb0e8(0x362)](([_0x2c5e6f,_0x5cf6e2])=>{const _0x59d039=_0x5eb0e8,_0x2b66ee=new Map();return _0x2c5e6f[_0x59d039(0x49f)]((_0x495a97,_0x1ce14c)=>{const _0x1cf489=_0x59d039;if(_0x495a97[_0x1cf489(0x3ba)]===_0x575e14){const _0x55d532={..._0x495a97};_0x55d532[_0x1cf489(0x452)]=_0x5cf6e2[_0x495a97[_0x1cf489(0x452)]],_0x2b66ee[_0x1cf489(0x3dc)](_0x1ce14c,_0x55d532);}}),{'skeleton':_0x42e736,'cursors':_0x2b66ee};}));}return _0x21eaf3['of']({'skeleton':null,'cursors':new Map()});}))[_0x104949(0x438)](({skeleton:_0x5a20c1,cursors:_0xfacd49})=>{const _0x315701=_0x104949;this[_0x315701(0x228)](),_0x5a20c1&&this[_0x315701(0x472)](_0x5a20c1,_0xfacd49);}),this[_0x104949(0x3d0)][_0x104949(0x125)][_0x104949(0x438)](_0x1e3c34=>{const _0x51537e=_0x104949;if(_0x1e3c34==null)return;const {skeleton:_0x7421e5}=_0x1e3c34,{scene:_0x49579d}=this[_0x51537e(0x2f4)];_0x49579d[_0x51537e(0x555)]['subscribeEvent'](_0x27d805['debounce'](_0x1fe685=>{const _0xcf6f7a=_0x51537e;var _0x17a979,_0x34f4eb;const {offsetX:_0x71bb29,offsetY:_0x3337e3}=_0x1fe685,{x:_0x448bb3,y:_0x14f5c3}=_0x49579d[_0xcf6f7a(0x3f9)](_0x48e10d[_0xcf6f7a(0x274)][_0xcf6f7a(0x4c5)]([_0x71bb29,_0x3337e3])),{scaleX:_0x45c807,scaleY:_0x528a38}=_0x49579d[_0xcf6f7a(0x189)](),_0x4f1c24=_0x49579d[_0xcf6f7a(0x448)](_0x51509b[_0xcf6f7a(0x396)]['VIEW_MAIN']),_0x115e10=_0x49579d[_0xcf6f7a(0x51b)](_0x48e10d['Vector2']['FromArray']([_0x448bb3,_0x14f5c3]),_0x4f1c24),_0xfac8a3=_0x7421e5[_0xcf6f7a(0x156)](_0x71bb29,_0x3337e3,_0x45c807,_0x528a38,_0x115e10);((_0x17a979=this[_0xcf6f7a(0x1bc)])==null?void 0x0:_0x17a979[_0xcf6f7a(0x442)])===_0xfac8a3['column']&&((_0x34f4eb=this[_0xcf6f7a(0x1bc)])==null?void 0x0:_0x34f4eb[_0xcf6f7a(0x1d0)])===_0xfac8a3[_0xcf6f7a(0x1d0)]||this['_cursors'][_0xcf6f7a(0x49f)](_0x4fa16e=>{const _0x37554e=_0xcf6f7a;_0x4fa16e[_0x37554e(0x372)](_0xfac8a3);});},0x64));});}[_0x4fb43a(0x472)](_0x57d2a0,_0x491c9e){const _0x54c8a6=_0x4fb43a;var _0x5d2e05;const _0xa73200=(_0x5d2e05=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x5d2e05[_0x54c8a6(0x127)];if(!_0xa73200)return;const _0x3d01ad=this['_getSheetObject']();if(!_0x3d01ad)return;this[_0x54c8a6(0x587)][_0x54c8a6(0x49f)](_0x386b7e=>{const _0x383496=_0x54c8a6;_0x386b7e[_0x383496(0x4d3)]();});const {scene:_0x5ac0f0}=_0x3d01ad,_0x5e9a71=_0x205962(Array[_0x54c8a6(0x4e7)](_0x491c9e[_0x54c8a6(0x1aa)]()))['map'](_0x24eb07=>{const _0x2ee39b=_0x54c8a6,{color:_0x1f4a90,range:_0x52a82c,name:_0x3f7b1d,selection:_0x2e4edc,sheetID:_0x1ddb68}=_0x24eb07,{startColumn:_0x20ad2e,startRow:_0x18b16f,endColumn:_0x437960,endRow:_0xdc654b}=_0x52a82c,_0x3d40c0=_0x51509b[_0x2ee39b(0x277)](_0x18b16f,_0x20ad2e,_0x5ac0f0,_0xa73200),_0x48db32=_0x51509b['getCoordByCell'](_0xdc654b,_0x437960,_0x5ac0f0,_0xa73200),{columnHeaderHeightAndMarginTop:_0x407e38}=_0xa73200,{startX:_0x1996ed,startY:_0x245679}=_0x3d40c0,{endX:_0x1d1efb,endY:_0x3dbbc9}=_0x48db32,_0x5b3327=_0x1d1efb-_0x1996ed,_0x455736=_0x3dbbc9-_0x245679,_0x39d143={'labelPosition':_0x245679-_0x407e38>=_0x174df2?_0x2ee39b(0x240):_0x2ee39b(0x17c),'sheetID':_0x1ddb68,'range':_0x52a82c,'color':_0x1f4a90,'name':_0x3f7b1d,'selection':_0x2e4edc,'left':_0x1996ed,'top':_0x245679,'width':_0x5b3327,'height':_0x455736,'evented':!0x1,'zIndex':_0x2d140b};return new _0x5f1168(_0x3f7b1d,_0x39d143);});_0x5ac0f0['addObjects'](_0x5e9a71,_0x4c7000),this[_0x54c8a6(0x587)]=new Set(_0x5e9a71);}[_0x4fb43a(0x228)](){const _0x106631=_0x4fb43a;var _0x110662;(_0x110662=this[_0x106631(0x587)])==null||_0x110662[_0x106631(0x49f)](_0x53cbdb=>_0x53cbdb[_0x106631(0x489)]());}[_0x4fb43a(0x4c3)](){const _0x4de022=_0x4fb43a;return _0x51509b[_0x4de022(0x54b)](this['_context'][_0x4de022(0x191)],this['_context']);}};_0x30649a=_0x3547e4([_0x50d7ee(0x1,_0x27d805[_0x4fb43a(0x236)](_0x51509b['SheetSkeletonManagerService'])),_0x50d7ee(0x2,_0x27d805[_0x4fb43a(0x236)](_0x573cb9)),_0x50d7ee(0x3,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x2ad)]))],_0x30649a);function _0x205962(_0x522c8c){const _0x50b08c=_0x4fb43a,_0x4ae922=new Map();return _0x522c8c[_0x50b08c(0x49f)](_0x5ada15=>{const _0x862b00=_0x50b08c;if(_0x4ae922[_0x862b00(0x21d)](_0x5ada15[_0x862b00(0x12c)])){const _0x29faea=_0x4ae922[_0x862b00(0x457)](_0x5ada15[_0x862b00(0x12c)]);_0x29faea[_0x862b00(0x23d)]+=',\x20'+_0x5ada15[_0x862b00(0x23d)];}else _0x4ae922[_0x862b00(0x3dc)](_0x5ada15[_0x862b00(0x12c)],_0x5ada15);}),Array[_0x50b08c(0x4e7)](_0x4ae922['values']());}var _0x554a66=function(){const _0x33703b=_0x4fb43a;return _0x554a66=Object[_0x33703b(0x17f)]||function(_0x4545f3){const _0x1c1c2f=_0x33703b;for(var _0x203a5a,_0x25b577=0x1,_0x1b2f63=arguments[_0x1c1c2f(0x4f3)];_0x25b577<_0x1b2f63;_0x25b577++){_0x203a5a=arguments[_0x25b577];for(var _0x5ab8a4 in _0x203a5a)Object[_0x1c1c2f(0x57d)][_0x1c1c2f(0x2b7)]['call'](_0x203a5a,_0x5ab8a4)&&(_0x4545f3[_0x5ab8a4]=_0x203a5a[_0x5ab8a4]);}return _0x4545f3;},_0x554a66['apply'](this,arguments);},_0x2c30db=function(_0x4935a0,_0x27d30d){const _0x110bf7=_0x4fb43a;var _0xb9516={};for(var _0x2ca94f in _0x4935a0)Object['prototype']['hasOwnProperty'][_0x110bf7(0x50f)](_0x4935a0,_0x2ca94f)&&_0x27d30d[_0x110bf7(0x53e)](_0x2ca94f)<0x0&&(_0xb9516[_0x2ca94f]=_0x4935a0[_0x2ca94f]);if(_0x4935a0!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1a4be8=0x0,_0x2ca94f=Object[_0x110bf7(0x30f)](_0x4935a0);_0x1a4be8<_0x2ca94f[_0x110bf7(0x4f3)];_0x1a4be8++)_0x27d30d[_0x110bf7(0x53e)](_0x2ca94f[_0x1a4be8])<0x0&&Object[_0x110bf7(0x57d)]['propertyIsEnumerable']['call'](_0x4935a0,_0x2ca94f[_0x1a4be8])&&(_0xb9516[_0x2ca94f[_0x1a4be8]]=_0x4935a0[_0x2ca94f[_0x1a4be8]]);}return _0xb9516;},_0x508149=_0x4a3358[_0x4fb43a(0x3b1)](function(_0x3b4d8d,_0x11925e){const _0x5e31e2=_0x4fb43a;var _0x21a338=_0x3b4d8d[_0x5e31e2(0x42e)],_0x1dff4a=_0x3b4d8d['id'],_0x5a5d18=_0x3b4d8d[_0x5e31e2(0x19d)],_0x325ccc=_0x3b4d8d['extend'],_0x2567a0=_0x2c30db(_0x3b4d8d,[_0x5e31e2(0x42e),'id',_0x5e31e2(0x19d),_0x5e31e2(0x488)]),_0xf8ef16=_0x5e31e2(0x3ec)['concat'](_0x1dff4a,'\x20')[_0x5e31e2(0x28e)](_0x5a5d18||'')['trim'](),_0x182607=_0x4a3358[_0x5e31e2(0x3e8)]('_'[_0x5e31e2(0x28e)](_0x5c0423()));return _0x5c75d9(_0x21a338,''[_0x5e31e2(0x28e)](_0x1dff4a),{'defIds':_0x21a338['defIds'],'idSuffix':_0x182607[_0x5e31e2(0x184)]},_0x554a66({'ref':_0x11925e,'className':_0xf8ef16},_0x2567a0),_0x325ccc);});function _0x5c75d9(_0x473c92,_0x202e01,_0x83e2ba,_0x3b82d8,_0x19e493){const _0x57df39=_0x4fb43a;return _0x4a3358[_0x57df39(0x22d)](_0x473c92['tag'],_0x554a66(_0x554a66({'key':_0x202e01},_0x260e00(_0x473c92,_0x83e2ba,_0x19e493)),_0x3b82d8),(_0x387da2(_0x473c92,_0x83e2ba)[_0x57df39(0x280)]||[])[_0x57df39(0x362)](function(_0x2c4021,_0x5c1bdb){const _0x3fee8c=_0x57df39;return _0x5c75d9(_0x2c4021,''['concat'](_0x202e01,'-')[_0x3fee8c(0x28e)](_0x473c92['tag'],'-')[_0x3fee8c(0x28e)](_0x5c1bdb),_0x83e2ba,void 0x0,_0x19e493);}));}function _0x260e00(_0x52d0e9,_0x759109,_0x5c5ab3){const _0x15d0c8=_0x4fb43a;var _0x2dfa67=_0x554a66({},_0x52d0e9[_0x15d0c8(0x38e)]);_0x5c5ab3!=null&&_0x5c5ab3['colorChannel1']&&_0x2dfa67['fill']===_0x15d0c8(0x265)&&(_0x2dfa67[_0x15d0c8(0x27c)]=_0x5c5ab3[_0x15d0c8(0x265)]);var _0x28ed40=_0x759109[_0x15d0c8(0x230)];return!_0x28ed40||_0x28ed40[_0x15d0c8(0x4f3)]===0x0||(_0x52d0e9[_0x15d0c8(0x59e)]==='use'&&_0x2dfa67[_0x15d0c8(0x313)]&&(_0x2dfa67[_0x15d0c8(0x313)]=_0x2dfa67[_0x15d0c8(0x313)]+_0x759109[_0x15d0c8(0x2f3)]),Object[_0x15d0c8(0x208)](_0x2dfa67)[_0x15d0c8(0x49f)](function(_0x157a1c){const _0x44ab08=_0x15d0c8;var _0x4884e0=_0x157a1c[0x0],_0xf11d8b=_0x157a1c[0x1];typeof _0xf11d8b==_0x44ab08(0x2ea)&&(_0x2dfa67[_0x4884e0]=_0xf11d8b[_0x44ab08(0x3c6)](/url\(#(.*)\)/,_0x44ab08(0x35b)[_0x44ab08(0x28e)](_0x759109[_0x44ab08(0x2f3)],')')));})),_0x2dfa67;}function _0x387da2(_0x23b759,_0x316ab0){const _0xa0a4e7=_0x4fb43a;var _0x232c43,_0x381776=_0x316ab0[_0xa0a4e7(0x230)];return!_0x381776||_0x381776['length']===0x0?_0x23b759:_0x23b759['tag']===_0xa0a4e7(0x12b)&&(!((_0x232c43=_0x23b759[_0xa0a4e7(0x280)])===null||_0x232c43===void 0x0)&&_0x232c43['length'])?_0x554a66(_0x554a66({},_0x23b759),{'children':_0x23b759[_0xa0a4e7(0x280)]['map'](function(_0x5ae80a){const _0x57b0f2=_0xa0a4e7;return typeof _0x5ae80a[_0x57b0f2(0x38e)]['id']==_0x57b0f2(0x2ea)&&_0x381776&&_0x381776['indexOf'](_0x5ae80a['attrs']['id'])>-0x1?_0x554a66(_0x554a66({},_0x5ae80a),{'attrs':_0x554a66(_0x554a66({},_0x5ae80a['attrs']),{'id':_0x5ae80a[_0x57b0f2(0x38e)]['id']+_0x316ab0[_0x57b0f2(0x2f3)]})}):_0x5ae80a;})}):_0x23b759;}function _0x5c0423(){const _0x45c826=_0x4fb43a;return Math[_0x45c826(0x1dd)]()[_0x45c826(0x491)](0x24)[_0x45c826(0x1be)](0x2,0x8);}_0x508149[_0x4fb43a(0x5b1)]=_0x4fb43a(0x547);var _0x1de8a4={'tag':_0x4fb43a(0x398),'attrs':{'fill':_0x4fb43a(0x483),'viewBox':_0x4fb43a(0x3a3),'width':_0x4fb43a(0x210),'height':_0x4fb43a(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x4fb43a(0x306)},'children':[{'tag':_0x4fb43a(0x190),'attrs':{'stroke':'currentColor','d':_0x4fb43a(0x314),'strokeLinecap':_0x4fb43a(0x13a),'strokeLinejoin':_0x4fb43a(0x13a),'strokeWidth':1.2}}]},{'tag':_0x4fb43a(0x12b),'attrs':{},'children':[{'tag':_0x4fb43a(0x324),'attrs':{'id':_0x4fb43a(0x379)},'children':[{'tag':_0x4fb43a(0x190),'attrs':{'fill':_0x4fb43a(0x3ea),'d':_0x4fb43a(0x19f)}}]}]}],'defIds':[_0x4fb43a(0x379)]},_0x14df8a=_0x4a3358[_0x4fb43a(0x3b1)](function(_0x47759e,_0x107aae){const _0x202aee=_0x4fb43a;return _0x4a3358[_0x202aee(0x22d)](_0x508149,Object[_0x202aee(0x17f)]({},_0x47759e,{'id':_0x202aee(0x16c),'ref':_0x107aae,'icon':_0x1de8a4}));});_0x14df8a[_0x4fb43a(0x5b1)]=_0x4fb43a(0x4be);var _0x52c232={'tag':'svg','attrs':{'fill':_0x4fb43a(0x483),'viewBox':'0\x200\x2017\x2016','width':_0x4fb43a(0x210),'height':_0x4fb43a(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x4fb43a(0x16f)},'children':[{'tag':'path','attrs':{'stroke':_0x4fb43a(0x477),'d':_0x4fb43a(0x15f),'strokeLinecap':_0x4fb43a(0x13a),'strokeLinejoin':_0x4fb43a(0x13a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4fb43a(0x324),'attrs':{'id':_0x4fb43a(0x5a6)},'children':[{'tag':_0x4fb43a(0x190),'attrs':{'fill':_0x4fb43a(0x3ea),'d':_0x4fb43a(0x19f),'transform':_0x4fb43a(0x186)}}]}]}],'defIds':[_0x4fb43a(0x5a6)]},_0x5293e4=_0x4a3358['forwardRef'](function(_0x303cbf,_0x5ad156){const _0x4b245c=_0x4fb43a;return _0x4a3358[_0x4b245c(0x22d)](_0x508149,Object[_0x4b245c(0x17f)]({},_0x303cbf,{'id':_0x4b245c(0x4e4),'ref':_0x5ad156,'icon':_0x52c232}));});_0x5293e4['displayName']=_0x4fb43a(0x1ae);function _0x13be34(_0xf3200e){const _0x313ce5=_0x4fb43a;var _0x593136,_0x419035,_0x31bc86='';if(typeof _0xf3200e==_0x313ce5(0x2ea)||typeof _0xf3200e=='number')_0x31bc86+=_0xf3200e;else{if(typeof _0xf3200e==_0x313ce5(0x4a0)){if(Array[_0x313ce5(0x53f)](_0xf3200e)){var _0x2aa556=_0xf3200e[_0x313ce5(0x4f3)];for(_0x593136=0x0;_0x593136<_0x2aa556;_0x593136++)_0xf3200e[_0x593136]&&(_0x419035=_0x13be34(_0xf3200e[_0x593136]))&&(_0x31bc86&&(_0x31bc86+='\x20'),_0x31bc86+=_0x419035);}else{for(_0x419035 in _0xf3200e)_0xf3200e[_0x419035]&&(_0x31bc86&&(_0x31bc86+='\x20'),_0x31bc86+=_0x419035);}}}return _0x31bc86;}function _0x439180(){const _0x1d6633=_0x4fb43a;for(var _0xe27816,_0x544661,_0x5c376d=0x0,_0x4b1aea='',_0x2ab0cb=arguments[_0x1d6633(0x4f3)];_0x5c376d<_0x2ab0cb;_0x5c376d++)(_0xe27816=arguments[_0x5c376d])&&(_0x544661=_0x13be34(_0xe27816))&&(_0x4b1aea&&(_0x4b1aea+='\x20'),_0x4b1aea+=_0x544661);return _0x4b1aea;}const _0x2bb513={'onlineStatusIcon':_0x4fb43a(0x322),'onlineStatusTitle':_0x4fb43a(0x4e0),'onlineStatus':'univer-online-status','online':_0x4fb43a(0x493),'offline':_0x4fb43a(0x512)};function _0x347b7a(_0x406c07){const _0x5e365e=_0x4fb43a;switch(_0x406c07){case _0x3c2896[_0x5e365e(0x1af)]:return _0x5e365e(0x36b);case _0x3c2896[_0x5e365e(0x2ff)]:return _0x5e365e(0x2b6);case _0x3c2896[_0x5e365e(0x3c0)]:return _0x5e365e(0x4ee);case _0x3c2896[_0x5e365e(0x47e)]:return _0x5e365e(0x112);case _0x3c2896['AWAITING']:case _0x3c2896['AWAITING_WITH_PENDING']:return _0x5e365e(0x29a);case _0x3c2896['SYNCED']:case _0x3c2896[_0x5e365e(0x276)]:return _0x5e365e(0x19e);}}function _0x17b4cf(_0x9e0e59){const _0x1ff150=_0x4fb43a,{status$:_0x1fd3ad}=_0x9e0e59,_0x55c292=_0x56239c[_0x1ff150(0x1c0)](_0x1fd3ad,_0x3c2896['NOT_COLLAB']),_0xd4ab95=_0x27d805[_0x1ff150(0x586)](_0x27d805[_0x1ff150(0x247)]),_0x2f66dd=_0x27d805[_0x1ff150(0x586)](_0x5e2809[_0x1ff150(0x263)]),_0x3a0310=_0x55c292!==_0x3c2896[_0x1ff150(0x1af)],_0x1545e1=_0xd4ab95['t'](_0x347b7a(_0x55c292)),_0x3ac189=_0x439180(_0x2bb513[_0x1ff150(0x4e2)],{[_0x2bb513[_0x1ff150(0x1e0)]]:_0x3a0310,[_0x2bb513[_0x1ff150(0x1b0)]]:!_0x3a0310}),_0x5ac8ae=_0x3a0310?_0x4a3358[_0x1ff150(0x22d)](_0x5293e4,null):_0x4a3358['createElement'](_0x14df8a,null),_0x2c999f=_0x4a3358[_0x1ff150(0x153)](()=>{const _0x379777=_0x1ff150;_0x3a0310||_0x2f66dd[_0x379777(0x432)]();},[_0x3a0310,_0x2f66dd]);function _0x5a2756(){const _0x1fb52b=_0x1ff150;return _0x4a3358[_0x1fb52b(0x22d)](_0x1fb52b(0x531),{'className':_0x3ac189,'onClick':_0x2c999f},_0x4a3358['createElement'](_0x1fb52b(0x531),{'className':_0x2bb513[_0x1fb52b(0x343)]},_0x5ac8ae),_0x4a3358['createElement'](_0x1fb52b(0x531),{'className':_0x2bb513[_0x1fb52b(0x5ae)]},_0x1545e1));}return _0x3a0310?_0x5a2756():_0x4a3358[_0x1ff150(0x22d)](_0x595b4d[_0x1ff150(0x17e)],{'title':_0xd4ab95['t']('collab-client.tooltip.reconnect')},_0x5a2756());}var _0x171a71=Object[_0x4fb43a(0x3de)],_0x19b4e1=Object[_0x4fb43a(0x44a)],_0x6288c5=(_0x177e39,_0x3a3244,_0x19cf0f,_0x4c68ae)=>{for(var _0x54f68f=_0x4c68ae>0x1?void 0x0:_0x4c68ae?_0x19b4e1(_0x3a3244,_0x19cf0f):_0x3a3244,_0x561e29=_0x177e39['length']-0x1,_0x1e1e85;_0x561e29>=0x0;_0x561e29--)(_0x1e1e85=_0x177e39[_0x561e29])&&(_0x54f68f=(_0x4c68ae?_0x1e1e85(_0x3a3244,_0x19cf0f,_0x54f68f):_0x1e1e85(_0x54f68f))||_0x54f68f);return _0x4c68ae&&_0x54f68f&&_0x171a71(_0x3a3244,_0x19cf0f,_0x54f68f),_0x54f68f;},_0x153b93=(_0x509f0a,_0x27be7b)=>(_0x4fe502,_0x5da0fb)=>_0x27be7b(_0x4fe502,_0x5da0fb,_0x509f0a);_0x5e2809['DesktopCollaborationStatusDisplayController']=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x49a08e,_0x33ce11,_0x154f40,_0x43338f){const _0x4a3a99=_0x4fb43a;super(),_0x27d8b8(this,'_status$',new _0x21eaf3[(_0x4a3a99(0x197))](_0x3c2896['NOT_COLLAB'])),(this[_0x4a3a99(0x1cc)]=_0x49a08e,this[_0x4a3a99(0x3b3)]=_0x33ce11,this[_0x4a3a99(0x371)]=_0x154f40,this['_collaborationController']=_0x43338f,this[_0x4a3a99(0x14e)](),this[_0x4a3a99(0x37f)]());}[_0x4fb43a(0x37f)](){const _0x2378d7=_0x4fb43a;this['disposeWithMe'](this[_0x2378d7(0x1cc)][_0x2378d7(0x237)]['pipe'](_0x21eaf3[_0x2378d7(0x441)](()=>{const _0x1f35ae=_0x2378d7,_0x40d8d5=this[_0x1f35ae(0x1cc)][_0x1f35ae(0x199)]();return _0x40d8d5?this[_0x1f35ae(0x252)][_0x1f35ae(0x49d)](_0x40d8d5[_0x1f35ae(0x18c)]()):_0x21eaf3['of'](null);}),_0x21eaf3[_0x2378d7(0x441)](_0x335d93=>_0x335d93?_0x335d93['status$']:_0x21eaf3['of'](_0x3c2896['NOT_COLLAB'])))['subscribe'](_0x3b6509=>{const _0x2e54cf=_0x2378d7;this[_0x2e54cf(0x104)][_0x2e54cf(0x152)](_0x3b6509);}));}['_initStatusComponent'](){const _0x108d7e=_0x4fb43a;this[_0x108d7e(0x421)](this[_0x108d7e(0x3b3)][_0x108d7e(0x3b6)](_0x56239c['BuiltInUIPart'][_0x108d7e(0x451)],()=>_0x27d805[_0x108d7e(0x126)](_0x238f7a({'status$':this['_status$']['asObservable']()}),this[_0x108d7e(0x371)])));}},_0x5e2809[_0x4fb43a(0x271)]=_0x6288c5([_0x153b93(0x0,_0x27d805['IUniverInstanceService']),_0x153b93(0x1,_0x56239c['IUIPartsService']),_0x153b93(0x2,_0x27d805[_0x4fb43a(0x236)](_0x27d805['Injector'])),_0x153b93(0x3,_0x27d805[_0x4fb43a(0x236)](_0x5e2809['CollaborationController']))],_0x5e2809[_0x4fb43a(0x271)]);function _0x238f7a(_0x3261ac){const {status$:_0x5f30d6}=_0x3261ac;return function(){const _0x5d3a3a=_0x181e;return _0x4a3358[_0x5d3a3a(0x22d)](_0x17b4cf,{'status$':_0x5f30d6});};}const _0x58d9b1=_0x27d805[_0x4fb43a(0x351)](_0x4fb43a(0x383));var _0x3c50b9=Object['defineProperty'],_0x4eeec1=Object[_0x4fb43a(0x44a)],_0x4a6504=(_0x309d11,_0x543701,_0x47ae73,_0x3b18ac)=>{const _0x534663=_0x4fb43a;for(var _0x21765b=_0x3b18ac>0x1?void 0x0:_0x3b18ac?_0x4eeec1(_0x543701,_0x47ae73):_0x543701,_0x19d3cf=_0x309d11[_0x534663(0x4f3)]-0x1,_0x131412;_0x19d3cf>=0x0;_0x19d3cf--)(_0x131412=_0x309d11[_0x19d3cf])&&(_0x21765b=(_0x3b18ac?_0x131412(_0x543701,_0x47ae73,_0x21765b):_0x131412(_0x21765b))||_0x21765b);return _0x3b18ac&&_0x21765b&&_0x3c50b9(_0x543701,_0x47ae73,_0x21765b),_0x21765b;},_0x412016=(_0x58d9ad,_0x3f718a)=>(_0x1399e7,_0x24ec0d)=>_0x3f718a(_0x1399e7,_0x24ec0d,_0x58d9ad);_0x5e2809[_0x4fb43a(0x4d7)]=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x131e32,_0x1a5b4c,_0x1208a7,_0x2243e5,_0x5749ec,_0x1393f1){const _0x26420e=_0x4fb43a;super(),this[_0x26420e(0x132)]=_0x131e32,this[_0x26420e(0x1e4)]=_0x1a5b4c,this[_0x26420e(0x542)]=_0x1208a7,this[_0x26420e(0x598)]=_0x2243e5,this[_0x26420e(0x1cf)]=_0x5749ec,_0x1393f1?_0x1393f1==null||_0x1393f1[_0x26420e(0x467)]()[_0x26420e(0x36f)](()=>this[_0x26420e(0x256)]()):(this[_0x26420e(0x1e4)][_0x26420e(0x349)]('[DataLoaderController]',_0x26420e(0x28a)),this[_0x26420e(0x256)]());}async[_0x4fb43a(0x256)](){const _0xfde975=_0x4fb43a,_0x5c1b87=this['_urlService'][_0xfde975(0x386)](_0xfde975(0x191)),_0x557626=this['_urlService'][_0xfde975(0x386)](_0xfde975(0x389));if(!_0x5c1b87||!_0x557626){this[_0xfde975(0x1e4)]['debug'](_0xfde975(0x1a2),_0xfde975(0x39a));return;}switch(Number(_0x557626)){case _0x5c70c6[_0xfde975(0x2bf)]:{const _0x26fc4d=await this['_loadSheet'](_0x5c1b87);this[_0xfde975(0x3c5)](_0x26fc4d);break;}case _0x5c70c6[_0xfde975(0x515)]:{await this['_loadDoc'](_0x5c1b87);break;}default:{this[_0xfde975(0x1e4)]['error']('[DataLoaderController]',_0xfde975(0x57e));break;}}}async['_setupSubUnitSync'](_0x478281){const _0x32cb92=_0x4fb43a;await this[_0x32cb92(0x22c)](_0x478281),_0x478281[_0x32cb92(0x31e)][_0x32cb92(0x35c)](_0x21eaf3['takeUntil'](this[_0x32cb92(0x311)]))[_0x32cb92(0x438)](_0x563a9d=>{const _0x5c58db=_0x32cb92;_0x563a9d&&this[_0x5c58db(0x181)](_0x563a9d);}),this[_0x32cb92(0x132)][_0x32cb92(0x5a1)]['pipe'](_0x21eaf3[_0x32cb92(0x321)](this[_0x32cb92(0x311)]))[_0x32cb92(0x438)](()=>this[_0x32cb92(0x22c)](_0x478281));}['_updateURLWithCurrentState'](_0x49e075,_0x55c655=!0x1){const _0x4c9deb=_0x4fb43a,_0x3765f2=this[_0x4c9deb(0x132)][_0x4c9deb(0x386)](_0x4c9deb(0x161));_0x49e075[_0x4c9deb(0x536)]()!==_0x3765f2&&this[_0x4c9deb(0x132)][_0x4c9deb(0x2e8)](_0x4c9deb(0x161),_0x49e075[_0x4c9deb(0x536)](),_0x55c655);}async[_0x4fb43a(0x22c)](_0xd6ad01){const _0x2b4f41=_0x4fb43a;var _0x216c8d;const _0xdb44f=this[_0x2b4f41(0x132)][_0x2b4f41(0x386)]('subunit');if(!_0xdb44f||!_0xd6ad01['getSheetBySheetId'](_0xdb44f)){const _0x3ef7a8=_0xd6ad01['getUnhiddenWorksheets']()[0x0],_0x492323=_0xd6ad01[_0x2b4f41(0x501)](_0x3ef7a8);if(!_0x492323)return;this[_0x2b4f41(0x181)](_0x492323,!0x0),await this[_0x2b4f41(0x542)][_0x2b4f41(0x2c6)](_0x6454ca['SetWorksheetActivateCommand']['id'],{'unitId':_0xd6ad01[_0x2b4f41(0x18c)](),'subUnitId':_0x3ef7a8});return;}((_0x216c8d=_0xd6ad01[_0x2b4f41(0x3f1)]())==null?void 0x0:_0x216c8d[_0x2b4f41(0x536)]())!==_0xdb44f&&await this['_commandService'][_0x2b4f41(0x2c6)](_0x6454ca['SetWorksheetActivateCommand']['id'],{'unitId':_0xd6ad01[_0x2b4f41(0x18c)](),'subUnitId':_0xdb44f});}async[_0x4fb43a(0x14c)](_0x2144e3){const _0x250c9a=_0x4fb43a;let _0x2a64c4=0x0;const _0x3d5157=await this['_localCacheService'][_0x250c9a(0x3f8)](_0x2144e3);return _0x3d5157&&(_0x3d5157['awaitingChangeset']||_0x3d5157[_0x250c9a(0x183)]['length']!==0x0)&&(_0x2a64c4=_0x3d5157[_0x250c9a(0x45a)]),_0x2a64c4===0x0&&this[_0x250c9a(0x1e4)][_0x250c9a(0x349)](_0x250c9a(0x1a2),_0x250c9a(0x4c1)),this['_snapshotService'][_0x250c9a(0x375)](_0x2144e3,_0x2a64c4);}async[_0x4fb43a(0x550)](_0x2b2ac4){const _0x5db6fd=_0x4fb43a;let _0x33320b=0x0;const _0x39d68d=await this[_0x5db6fd(0x598)][_0x5db6fd(0x3f8)](_0x2b2ac4);return _0x39d68d&&(_0x39d68d[_0x5db6fd(0x51d)]||_0x39d68d[_0x5db6fd(0x183)][_0x5db6fd(0x4f3)]!==0x0)&&(_0x33320b=_0x39d68d[_0x5db6fd(0x45a)]),_0x33320b===0x0&&this['_logService'][_0x5db6fd(0x349)]('[DataLoaderController]',_0x5db6fd(0x4c1)),this[_0x5db6fd(0x1cf)][_0x5db6fd(0x34e)](_0x2b2ac4,_0x33320b);}},_0x5e2809['DataLoaderController']=_0x4a6504([_0x412016(0x0,_0x58d9b1),_0x412016(0x1,_0x27d805['ILogService']),_0x412016(0x2,_0x27d805['ICommandService']),_0x412016(0x3,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x33c)])),_0x412016(0x4,_0x27d805['Inject'](_0x3a188f['SnapshotService'])),_0x412016(0x5,_0x27d805[_0x4fb43a(0x348)](_0x804f74[_0x4fb43a(0x109)]))],_0x5e2809[_0x4fb43a(0x4d7)]);var _0x118ac8=Object['defineProperty'],_0x53deea=Object[_0x4fb43a(0x44a)],_0x93a801=(_0x294ac9,_0x2eccbf,_0x146fbe,_0x2c1f07)=>{const _0x2ec94b=_0x4fb43a;for(var _0x310ecc=_0x2c1f07>0x1?void 0x0:_0x2c1f07?_0x53deea(_0x2eccbf,_0x146fbe):_0x2eccbf,_0x15ba8a=_0x294ac9[_0x2ec94b(0x4f3)]-0x1,_0x16f685;_0x15ba8a>=0x0;_0x15ba8a--)(_0x16f685=_0x294ac9[_0x15ba8a])&&(_0x310ecc=(_0x2c1f07?_0x16f685(_0x2eccbf,_0x146fbe,_0x310ecc):_0x16f685(_0x310ecc))||_0x310ecc);return _0x2c1f07&&_0x310ecc&&_0x118ac8(_0x2eccbf,_0x146fbe,_0x310ecc),_0x310ecc;},_0x2e056d=(_0xef18cc,_0x109d04)=>(_0x1e7733,_0x58bf28)=>_0x109d04(_0x1e7733,_0x58bf28,_0xef18cc);const _0xea3a53=_0x4fb43a(0x35e),_0x58fb52=_0x4fb43a(0x42a);let _0x41b8c6=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x4a746f,_0x1df034){const _0x3b97ee=_0x4fb43a;super(),this['_univerInstanceService']=_0x4a746f,this[_0x3b97ee(0x16e)]=_0x1df034,this[_0x3b97ee(0x256)]();}[_0x4fb43a(0x256)](){const _0x57c118=_0x4fb43a;this['disposeWithMe'](this[_0x57c118(0x1cc)][_0x57c118(0x237)][_0x57c118(0x438)](()=>{const _0x3f6b8d=_0x57c118;var _0x3910fc;const _0x3ef1f7=this[_0x3f6b8d(0x1cc)]['getFocusedUnit']();let _0x5efd8d=(_0x3910fc=this['_configService'][_0x3f6b8d(0x2b9)](_0xea3a53))!=null?_0x3910fc:_0x58fb52;_0x3ef1f7 instanceof _0x27d805['Workbook']&&(_0x5efd8d=_0x3ef1f7[_0x3f6b8d(0x23d)]),document[_0x3f6b8d(0x410)]=_0x5efd8d;}));}};_0x41b8c6=_0x93a801([_0x2e056d(0x0,_0x27d805['IUniverInstanceService']),_0x2e056d(0x1,_0x27d805['IConfigService'])],_0x41b8c6);var _0x4001f3=Object[_0x4fb43a(0x3de)],_0x13bf02=Object[_0x4fb43a(0x44a)],_0x4c4afb=(_0x4df781,_0x52b39a,_0x397629,_0x47ab77)=>{for(var _0x2b8a43=_0x47ab77>0x1?void 0x0:_0x47ab77?_0x13bf02(_0x52b39a,_0x397629):_0x52b39a,_0x594574=_0x4df781['length']-0x1,_0x5ad08f;_0x594574>=0x0;_0x594574--)(_0x5ad08f=_0x4df781[_0x594574])&&(_0x2b8a43=(_0x47ab77?_0x5ad08f(_0x52b39a,_0x397629,_0x2b8a43):_0x5ad08f(_0x2b8a43))||_0x2b8a43);return _0x47ab77&&_0x2b8a43&&_0x4001f3(_0x52b39a,_0x397629,_0x2b8a43),_0x2b8a43;},_0x15c36c=(_0x169a64,_0x45e02c)=>(_0x507924,_0x2bdb62)=>_0x45e02c(_0x507924,_0x2bdb62,_0x169a64);let _0x44e269=class{constructor(_0x514998,_0x24ebd4,_0x435566){const _0x26db60=_0x4fb43a;this[_0x26db60(0x16e)]=_0x514998,this['_httpService']=_0x24ebd4,this[_0x26db60(0x10b)]=_0x435566,this[_0x26db60(0x10c)]();}['init'](){const _0x172138=_0x4fb43a;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xfe924e,_0xf47d3f)=>_0xf47d3f(_0xfe924e)['pipe'](_0x21eaf3[_0x172138(0x241)](async _0x500c5b=>{const _0x74c01f=_0x172138,_0x5d7ced=_0x500c5b;if(_0x5d7ced['status']===0x191&&window[_0x74c01f(0x3d8)](this['localeService']['t'](_0x74c01f(0x4e1)))){const _0x2e77de=window['encodeURIComponent'](window['location']['href']);window[_0x74c01f(0x436)]['href']=this[_0x74c01f(0x556)]()+_0x74c01f(0x19c)+_0x2e77de;}return _0x5d7ced;}))});}['_getLoginPath'](){const _0x44d8d4=_0x4fb43a;var _0x1a109b,_0x3e4489;const _0xacea09=this['_configService'][_0x44d8d4(0x2b9)](_0x1fa733),_0xeaedb0=this[_0x44d8d4(0x16e)][_0x44d8d4(0x2b9)](_0x4df054);return(_0x3e4489=(_0x1a109b=_0xeaedb0==null?void 0x0:_0xeaedb0[_0x44d8d4(0x187)])!=null?_0x1a109b:_0xacea09)!=null?_0x3e4489:_0x57c04b;}};_0x44e269=_0x4c4afb([_0x15c36c(0x0,_0x27d805['IConfigService']),_0x15c36c(0x1,_0x27d805[_0x4fb43a(0x236)](_0x311014['HTTPService'])),_0x15c36c(0x2,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)]))],_0x44e269);var _0x43a366=Object[_0x4fb43a(0x3de)],_0x14169f=Object[_0x4fb43a(0x44a)],_0x2bd699=(_0x50a930,_0xf88daa,_0xf69886,_0x504c19)=>{for(var _0x585313=_0x504c19>0x1?void 0x0:_0x504c19?_0x14169f(_0xf88daa,_0xf69886):_0xf88daa,_0x115ce7=_0x50a930['length']-0x1,_0x596ac0;_0x115ce7>=0x0;_0x115ce7--)(_0x596ac0=_0x50a930[_0x115ce7])&&(_0x585313=(_0x504c19?_0x596ac0(_0xf88daa,_0xf69886,_0x585313):_0x596ac0(_0x585313))||_0x585313);return _0x504c19&&_0x585313&&_0x43a366(_0xf88daa,_0xf69886,_0x585313),_0x585313;},_0x2a2a09=(_0x49f9f4,_0x516970)=>(_0xdf497a,_0x27f322)=>_0x516970(_0xdf497a,_0x27f322,_0x49f9f4);const _0x969067=_0x4fb43a(0x2b5),_0x2b855f=_0x4fb43a(0xf8);_0x5e2809['AuthzIoHttpService']=class extends _0x27d805[_0x4fb43a(0x1a3)]{constructor(_0x181950,_0x46f6c1){const _0x254b27=_0x4fb43a;super(),this['_HTTPService']=_0x181950,this[_0x254b27(0x16e)]=_0x46f6c1,this['_initMergeInterceptor']();}[_0x4fb43a(0x1d7)](){const _0x284e87=_0x4fb43a,_0x32da9a=this;this['disposeWithMe'](this['_HTTPService'][_0x284e87(0x539)]({'priority':0x3e7,'interceptor':_0x311014[_0x284e87(0x18d)]({'isMatch'(_0x3e18dd){const _0x454351=_0x284e87;var _0x5358f5;if(_0x3e18dd[_0x454351(0x1e1)]===_0x454351(0x3a7)&&((_0x5358f5=_0x3e18dd[_0x454351(0x3e0)])!=null&&_0x5358f5[_0x454351(0x34a)])){const {objectID:_0x4bea98,objectType:_0x1c7839}=_0x3e18dd[_0x454351(0x3e0)][_0x454351(0x34a)]||{};if(!_0x4bea98||_0x1c7839===void 0x0)return!0x1;const _0x419346=_0x32da9a[_0x454351(0x270)]()+'/'+_0x1c7839+'/object/'+_0x4bea98+_0x454351(0x26b);if(_0x3e18dd[_0x454351(0x1f5)]===_0x419346)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1d7997){const _0x113aa3=_0x284e87;var _0x2af4c0;return(_0x2af4c0=_0x1d7997[_0x113aa3(0x3e0)])==null?void 0x0:_0x2af4c0['body'];},'mergeParamsToRequest'(_0xb40a25,_0x3b4ff3){const _0x523f69=_0x284e87,_0x4ebbce=_0x32da9a[_0x523f69(0x270)]()+_0x523f69(0x508),_0x87d50d=_0xb40a25[_0x523f69(0x40c)]((_0x2eb50f,_0x254b46)=>{const _0x2042b2=_0x523f69,{unitID:_0x591851,objectID:_0x1fe516,objectType:_0x193c3d,actions:_0x25fc33}=_0x254b46;return _0x2eb50f[_0x591851]||(_0x2eb50f[_0x591851]={}),_0x2eb50f[_0x591851][_0x1fe516]||(_0x2eb50f[_0x591851][_0x1fe516]={'objectID':_0x1fe516,'objectType':_0x193c3d,'actions':[]}),_0x2eb50f[_0x591851][_0x1fe516][_0x2042b2(0x5a7)][_0x2042b2(0x582)](..._0x25fc33),_0x2eb50f;},{}),_0x655b0b=[];for(const _0x4fc3df in _0x87d50d)for(const _0x141cd7 in _0x87d50d[_0x4fc3df]){const {actions:_0x260080,objectType:_0x4f83cd}=_0x87d50d[_0x4fc3df][_0x141cd7],_0x330d80=[...new Set(_0x260080)];_0x655b0b[_0x523f69(0x582)]({'unitID':_0x4fc3df,'objectID':_0x141cd7,'objectType':_0x4f83cd,'actions':_0x330d80});}return new _0x311014[(_0x523f69(0x213))](_0x523f69(0x3a7),_0x4ebbce,{'headers':_0x3b4ff3[_0x523f69(0x2e7)],'withCredentials':_0x3b4ff3[_0x523f69(0x397)],'responseType':_0x3b4ff3[_0x523f69(0x1a0)],'body':{'requests':_0x655b0b}});}},{'distributeResult'(_0xd6e6f7,_0xab834f){const {objectActions:_0x30a2e6}=_0xd6e6f7;return _0xab834f['map'](_0xb91877=>{const _0x2c1046=_0x181e,{unitID:_0x2c2d72,objectID:_0x27ddfe,actions:_0x373c89}=_0xb91877,_0x162a93=_0x30a2e6[_0x2c1046(0x3b5)](_0x51cd31=>_0x51cd31[_0x2c1046(0xe9)]===_0x2c2d72&&_0x51cd31['objectID']===_0x27ddfe),_0x36ab2e=_0x373c89[_0x2c1046(0x362)](_0x55cd44=>_0x162a93==null?void 0x0:_0x162a93[_0x2c1046(0x5a7)]['find'](_0x144287=>_0x144287[_0x2c1046(0x51f)]===_0x55cd44))[_0x2c1046(0x347)](_0x19cd91=>!!_0x19cd91);return{'config':_0xb91877,'result':{'actions':_0x36ab2e,'error':_0xd6e6f7[_0x2c1046(0x4b9)]}};});}})}));}['_getAPIPrefixPath'](){const _0x17e595=_0x4fb43a;var _0x971cb0,_0x3123a9;const _0x5c7fa4=this[_0x17e595(0x16e)][_0x17e595(0x2b9)](_0x969067),_0x4d1b3b=this[_0x17e595(0x16e)][_0x17e595(0x2b9)](_0x4df054);return(_0x3123a9=(_0x971cb0=_0x4d1b3b==null?void 0x0:_0x4d1b3b[_0x17e595(0x2d9)])!=null?_0x971cb0:_0x5c7fa4)!=null?_0x3123a9:_0x2b855f;}async[_0x4fb43a(0x108)](_0x70c8a4){const _0x204673=_0x4fb43a,_0xf40d3=this[_0x204673(0x270)]()+'/'+_0x70c8a4[_0x204673(0x3b0)]+_0x204673(0x427);return(await this[_0x204673(0x2d1)][_0x204673(0x18f)](_0xf40d3,{'body':_0x70c8a4}))[_0x204673(0x34a)][_0x204673(0x2b3)]||'';}async[_0x4fb43a(0x134)](_0x191bf0){const _0x24896b=_0x4fb43a,_0x459dd6=this[_0x24896b(0x270)]()+'/-/object/list';return(await this[_0x24896b(0x2d1)][_0x24896b(0x18f)](_0x459dd6,{'body':_0x191bf0}))['body'][_0x24896b(0x537)];}async['update'](_0x82e55e){const _0x6d18dd=_0x4fb43a,_0x32975e=this['_getAPIPrefixPath']()+'/'+_0x82e55e[_0x6d18dd(0x3b0)]+'/object/'+_0x82e55e[_0x6d18dd(0x2b3)];await this[_0x6d18dd(0x2d1)][_0x6d18dd(0x149)](_0x32975e,{'body':_0x82e55e});}async[_0x4fb43a(0x1a8)](_0x50aa6e){const _0x36c071=_0x4fb43a,_0x34279e=this['_getAPIPrefixPath']()+'/'+_0x50aa6e[_0x36c071(0x3b0)]+'/object/'+_0x50aa6e[_0x36c071(0x2b3)]+_0x36c071(0x26b);return(await this[_0x36c071(0x2d1)][_0x36c071(0x18f)](_0x34279e,{'body':_0x50aa6e}))[_0x36c071(0x34a)][_0x36c071(0x5a7)];}async[_0x4fb43a(0x380)](_0x3961f9){const _0x2862f6=_0x4fb43a,_0x5c65fa=this[_0x2862f6(0x270)]()+_0x2862f6(0x508);return(await this[_0x2862f6(0x2d1)][_0x2862f6(0x18f)](_0x5c65fa,{'body':{'requests':_0x3961f9}}))[_0x2862f6(0x34a)][_0x2862f6(0x31a)];}async[_0x4fb43a(0x499)](_0x581a0b){const _0x518de2=_0x4fb43a,_0x5948dd=this[_0x518de2(0x270)]()+'/'+_0x581a0b[_0x518de2(0x3b0)]+'/role',_0x269755=await this['_HTTPService']['post'](_0x5948dd,{'body':_0x581a0b});return{'roles':_0x269755[_0x518de2(0x34a)][_0x518de2(0x4bd)],'actions':_0x269755[_0x518de2(0x34a)][_0x518de2(0x5a7)]};}async[_0x4fb43a(0x224)](_0x2d6e08){const _0x28844c=_0x4fb43a,_0x29509e=this[_0x28844c(0x270)]()+_0x28844c(0x2f9);await this['_HTTPService'][_0x28844c(0x4ad)](_0x29509e,{'params':{'collaboratorID':_0x2d6e08['collaboratorID'],'objectID':_0x2d6e08[_0x28844c(0x2b3)],'unitID':_0x2d6e08[_0x28844c(0xe9)]}});}async[_0x4fb43a(0x18b)](_0x3461a6){const _0x528793=_0x4fb43a,_0x82f224=this[_0x528793(0x270)]()+_0x528793(0x2f9);await this[_0x528793(0x2d1)]['patch'](_0x82f224,{'body':_0x3461a6});}async[_0x4fb43a(0x3a5)](_0x107a84){const _0x5a85f0=_0x4fb43a,_0x211a7d=this['_getAPIPrefixPath']()+_0x5a85f0(0x2f9);await this[_0x5a85f0(0x2d1)][_0x5a85f0(0x18f)](_0x211a7d,{'body':_0x107a84});}async[_0x4fb43a(0x251)](_0x515d22){const _0x1d5a61=_0x4fb43a,_0x272705=this[_0x1d5a61(0x270)]()+_0x1d5a61(0x2f9);return(await this['_HTTPService'][_0x1d5a61(0x457)](_0x272705,{'params':{'objectID':_0x515d22[_0x1d5a61(0x2b3)],'unitID':_0x515d22[_0x1d5a61(0xe9)]}}))['body']['collaborators'];}async[_0x4fb43a(0x27f)](_0x517b3b){const _0x1d263c=_0x4fb43a,_0x26241f=this['_getAPIPrefixPath']()+_0x1d263c(0x2f9);await this[_0x1d263c(0x2d1)]['put'](_0x26241f,{'body':_0x517b3b});}},_0x5e2809[_0x4fb43a(0x2fc)]=_0x2bd699([_0x2a2a09(0x0,_0x27d805[_0x4fb43a(0x236)](_0x311014[_0x4fb43a(0x2f8)])),_0x2a2a09(0x1,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x2d7)]))],_0x5e2809[_0x4fb43a(0x2fc)]);var _0x159624=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4162d3(_0x228a8d){const _0x3acd7e=_0x4fb43a;return _0x228a8d&&_0x228a8d['__esModule']&&Object[_0x3acd7e(0x57d)][_0x3acd7e(0x2b7)][_0x3acd7e(0x50f)](_0x228a8d,_0x3acd7e(0x564))?_0x228a8d[_0x3acd7e(0x564)]:_0x228a8d;}var _0x22d476={'exports':{}};function _0x54db68(_0x3fba6a){const _0x502ce3=_0x4fb43a;throw new Error(_0x502ce3(0x26a)+_0x3fba6a+_0x502ce3(0x163));}var _0x46b7c1={'exports':{}},_0x5b5963;function _0x31a01d(){const _0x4baad2=_0x4fb43a;return _0x5b5963||(_0x5b5963=0x1,function(_0x51f79c,_0x4e893a){(function(_0x550116,_0x304fa9){const _0x21770f=_0x181e;_0x51f79c[_0x21770f(0x3ab)]=_0x304fa9();}(_0x159624,function(){var _0x34980b=_0x34980b||function(_0x4bfffb,_0x16d42a){const _0x27fcd4=_0x181e;var _0x1aa01f;if(typeof window<'u'&&window[_0x27fcd4(0x12e)]&&(_0x1aa01f=window[_0x27fcd4(0x12e)]),typeof self<'u'&&self[_0x27fcd4(0x12e)]&&(_0x1aa01f=self['crypto']),typeof globalThis<'u'&&globalThis[_0x27fcd4(0x12e)]&&(_0x1aa01f=globalThis[_0x27fcd4(0x12e)]),!_0x1aa01f&&typeof window<'u'&&window[_0x27fcd4(0x295)]&&(_0x1aa01f=window['msCrypto']),!_0x1aa01f&&typeof _0x159624<'u'&&_0x159624[_0x27fcd4(0x12e)]&&(_0x1aa01f=_0x159624[_0x27fcd4(0x12e)]),!_0x1aa01f&&typeof _0x54db68=='function')try{_0x1aa01f=require(_0x27fcd4(0x12e));}catch{}var _0x4c3a59=function(){const _0x4fbe19=_0x27fcd4;if(_0x1aa01f){if(typeof _0x1aa01f[_0x4fbe19(0x1e9)]=='function')try{return _0x1aa01f[_0x4fbe19(0x1e9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1aa01f[_0x4fbe19(0x573)]=='function')try{return _0x1aa01f[_0x4fbe19(0x573)](0x4)[_0x4fbe19(0x172)]();}catch{}}throw new Error(_0x4fbe19(0x4ab));},_0x48a3c4=Object[_0x27fcd4(0x108)]||(function(){function _0x5c1736(){}return function(_0x4590ae){const _0x2e9dc7=_0x181e;var _0x2bdea7;return _0x5c1736[_0x2e9dc7(0x57d)]=_0x4590ae,_0x2bdea7=new _0x5c1736(),_0x5c1736['prototype']=null,_0x2bdea7;};}()),_0xeec00e={},_0x4c7547=_0xeec00e[_0x27fcd4(0x179)]={},_0x3e2b08=_0x4c7547['Base']=(function(){return{'extend':function(_0x1f3f87){const _0x54b1f8=_0x181e;var _0x4e93d4=_0x48a3c4(this);return _0x1f3f87&&_0x4e93d4['mixIn'](_0x1f3f87),(!_0x4e93d4['hasOwnProperty']('init')||this[_0x54b1f8(0x10c)]===_0x4e93d4['init'])&&(_0x4e93d4[_0x54b1f8(0x10c)]=function(){const _0x3a66bf=_0x54b1f8;_0x4e93d4['$super']['init'][_0x3a66bf(0x1f0)](this,arguments);}),_0x4e93d4[_0x54b1f8(0x10c)][_0x54b1f8(0x57d)]=_0x4e93d4,_0x4e93d4[_0x54b1f8(0x42b)]=this,_0x4e93d4;},'create':function(){const _0x16df76=_0x181e;var _0x3c35ff=this[_0x16df76(0x488)]();return _0x3c35ff['init']['apply'](_0x3c35ff,arguments),_0x3c35ff;},'init':function(){},'mixIn':function(_0x178bd8){const _0x5020fb=_0x181e;for(var _0x52706d in _0x178bd8)_0x178bd8[_0x5020fb(0x2b7)](_0x52706d)&&(this[_0x52706d]=_0x178bd8[_0x52706d]);_0x178bd8[_0x5020fb(0x2b7)](_0x5020fb(0x491))&&(this[_0x5020fb(0x491)]=_0x178bd8['toString']);},'clone':function(){const _0x4825fb=_0x181e;return this['init'][_0x4825fb(0x57d)]['extend'](this);}};}()),_0x136ba6=_0x4c7547[_0x27fcd4(0x455)]=_0x3e2b08[_0x27fcd4(0x488)]({'init':function(_0xaafaac,_0xef7522){const _0x30bc16=_0x27fcd4;_0xaafaac=this[_0x30bc16(0x2fd)]=_0xaafaac||[],_0xef7522!=_0x16d42a?this[_0x30bc16(0x3dd)]=_0xef7522:this[_0x30bc16(0x3dd)]=_0xaafaac['length']*0x4;},'toString':function(_0x489bec){return(_0x489bec||_0x42d71)['stringify'](this);},'concat':function(_0x29c503){const _0x10f31a=_0x27fcd4;var _0x4deee4=this[_0x10f31a(0x2fd)],_0x5dff87=_0x29c503[_0x10f31a(0x2fd)],_0x47af3a=this[_0x10f31a(0x3dd)],_0x55e071=_0x29c503[_0x10f31a(0x3dd)];if(this['clamp'](),_0x47af3a%0x4)for(var _0x5d6606=0x0;_0x5d6606<_0x55e071;_0x5d6606++){var _0x4a5e4c=_0x5dff87[_0x5d6606>>>0x2]>>>0x18-_0x5d6606%0x4*0x8&0xff;_0x4deee4[_0x47af3a+_0x5d6606>>>0x2]|=_0x4a5e4c<<0x18-(_0x47af3a+_0x5d6606)%0x4*0x8;}else{for(var _0x38243b=0x0;_0x38243b<_0x55e071;_0x38243b+=0x4)_0x4deee4[_0x47af3a+_0x38243b>>>0x2]=_0x5dff87[_0x38243b>>>0x2];}return this['sigBytes']+=_0x55e071,this;},'clamp':function(){const _0x160702=_0x27fcd4;var _0x4862a1=this[_0x160702(0x2fd)],_0x461784=this[_0x160702(0x3dd)];_0x4862a1[_0x461784>>>0x2]&=0xffffffff<<0x20-_0x461784%0x4*0x8,_0x4862a1[_0x160702(0x4f3)]=_0x4bfffb['ceil'](_0x461784/0x4);},'clone':function(){const _0x330425=_0x27fcd4;var _0x3993b7=_0x3e2b08[_0x330425(0x1b5)][_0x330425(0x50f)](this);return _0x3993b7[_0x330425(0x2fd)]=this[_0x330425(0x2fd)][_0x330425(0x29c)](0x0),_0x3993b7;},'random':function(_0x5559ed){const _0xadc3de=_0x27fcd4;for(var _0x4e8784=[],_0x3f4907=0x0;_0x3f4907<_0x5559ed;_0x3f4907+=0x4)_0x4e8784[_0xadc3de(0x582)](_0x4c3a59());return new _0x136ba6[(_0xadc3de(0x10c))](_0x4e8784,_0x5559ed);}}),_0x1c4390=_0xeec00e['enc']={},_0x42d71=_0x1c4390['Hex']={'stringify':function(_0xbf12f4){const _0x33ea95=_0x27fcd4;for(var _0x4ec3b1=_0xbf12f4[_0x33ea95(0x2fd)],_0x3c7770=_0xbf12f4[_0x33ea95(0x3dd)],_0x58bcd4=[],_0x282b49=0x0;_0x282b49<_0x3c7770;_0x282b49++){var _0x3fd2f6=_0x4ec3b1[_0x282b49>>>0x2]>>>0x18-_0x282b49%0x4*0x8&0xff;_0x58bcd4[_0x33ea95(0x582)]((_0x3fd2f6>>>0x4)[_0x33ea95(0x491)](0x10)),_0x58bcd4['push']((_0x3fd2f6&0xf)[_0x33ea95(0x491)](0x10));}return _0x58bcd4['join']('');},'parse':function(_0x2029eb){const _0x1936bd=_0x27fcd4;for(var _0x502274=_0x2029eb[_0x1936bd(0x4f3)],_0x8b9cd=[],_0x59e2e5=0x0;_0x59e2e5<_0x502274;_0x59e2e5+=0x2)_0x8b9cd[_0x59e2e5>>>0x3]|=parseInt(_0x2029eb[_0x1936bd(0x23c)](_0x59e2e5,0x2),0x10)<<0x18-_0x59e2e5%0x8*0x4;return new _0x136ba6['init'](_0x8b9cd,_0x502274/0x2);}},_0x4154ae=_0x1c4390[_0x27fcd4(0xe7)]={'stringify':function(_0x2a10a2){const _0x52c03f=_0x27fcd4;for(var _0x5165e3=_0x2a10a2[_0x52c03f(0x2fd)],_0x1eb0f7=_0x2a10a2[_0x52c03f(0x3dd)],_0x19638f=[],_0x22f669=0x0;_0x22f669<_0x1eb0f7;_0x22f669++){var _0x2f14c5=_0x5165e3[_0x22f669>>>0x2]>>>0x18-_0x22f669%0x4*0x8&0xff;_0x19638f[_0x52c03f(0x582)](String[_0x52c03f(0x1ff)](_0x2f14c5));}return _0x19638f[_0x52c03f(0x407)]('');},'parse':function(_0x2d22ae){const _0x25a363=_0x27fcd4;for(var _0x26fe8e=_0x2d22ae[_0x25a363(0x4f3)],_0x308f71=[],_0x26e488=0x0;_0x26e488<_0x26fe8e;_0x26e488++)_0x308f71[_0x26e488>>>0x2]|=(_0x2d22ae[_0x25a363(0x3d6)](_0x26e488)&0xff)<<0x18-_0x26e488%0x4*0x8;return new _0x136ba6[(_0x25a363(0x10c))](_0x308f71,_0x26fe8e);}},_0x1975d6=_0x1c4390[_0x27fcd4(0x47a)]={'stringify':function(_0x3f149f){const _0x2e14f2=_0x27fcd4;try{return decodeURIComponent(escape(_0x4154ae[_0x2e14f2(0x392)](_0x3f149f)));}catch{throw new Error(_0x2e14f2(0x25f));}},'parse':function(_0x201861){const _0x44248c=_0x27fcd4;return _0x4154ae[_0x44248c(0x541)](unescape(encodeURIComponent(_0x201861)));}},_0x42bb5a=_0x4c7547['BufferedBlockAlgorithm']=_0x3e2b08[_0x27fcd4(0x488)]({'reset':function(){const _0x40e3bf=_0x27fcd4;this[_0x40e3bf(0x100)]=new _0x136ba6[(_0x40e3bf(0x10c))](),this[_0x40e3bf(0x4fa)]=0x0;},'_append':function(_0x589f99){const _0x19bc5c=_0x27fcd4;typeof _0x589f99=='string'&&(_0x589f99=_0x1975d6[_0x19bc5c(0x541)](_0x589f99)),this['_data'][_0x19bc5c(0x28e)](_0x589f99),this[_0x19bc5c(0x4fa)]+=_0x589f99[_0x19bc5c(0x3dd)];},'_process':function(_0x4bc0fd){const _0x5a74c2=_0x27fcd4;var _0x1ffad3,_0x8d1762=this[_0x5a74c2(0x100)],_0x3161b1=_0x8d1762[_0x5a74c2(0x2fd)],_0x371258=_0x8d1762[_0x5a74c2(0x3dd)],_0x325a2a=this[_0x5a74c2(0x4a8)],_0x280e1e=_0x325a2a*0x4,_0x2a5faf=_0x371258/_0x280e1e;_0x4bc0fd?_0x2a5faf=_0x4bfffb[_0x5a74c2(0x41c)](_0x2a5faf):_0x2a5faf=_0x4bfffb['max']((_0x2a5faf|0x0)-this['_minBufferSize'],0x0);var _0x227627=_0x2a5faf*_0x325a2a,_0x12eb0b=_0x4bfffb[_0x5a74c2(0x565)](_0x227627*0x4,_0x371258);if(_0x227627){for(var _0x45abb1=0x0;_0x45abb1<_0x227627;_0x45abb1+=_0x325a2a)this[_0x5a74c2(0x56e)](_0x3161b1,_0x45abb1);_0x1ffad3=_0x3161b1['splice'](0x0,_0x227627),_0x8d1762[_0x5a74c2(0x3dd)]-=_0x12eb0b;}return new _0x136ba6[(_0x5a74c2(0x10c))](_0x1ffad3,_0x12eb0b);},'clone':function(){const _0x1d71a5=_0x27fcd4;var _0x365ebe=_0x3e2b08['clone'][_0x1d71a5(0x50f)](this);return _0x365ebe[_0x1d71a5(0x100)]=this[_0x1d71a5(0x100)][_0x1d71a5(0x1b5)](),_0x365ebe;},'_minBufferSize':0x0});_0x4c7547[_0x27fcd4(0x518)]=_0x42bb5a['extend']({'cfg':_0x3e2b08['extend'](),'init':function(_0x1e3ef8){const _0x3deca1=_0x27fcd4;this[_0x3deca1(0x46d)]=this[_0x3deca1(0x46d)][_0x3deca1(0x488)](_0x1e3ef8),this['reset']();},'reset':function(){const _0x203782=_0x27fcd4;_0x42bb5a[_0x203782(0x47f)][_0x203782(0x50f)](this),this[_0x203782(0x56d)]();},'update':function(_0x3bacc4){const _0x409817=_0x27fcd4;return this[_0x409817(0x3f5)](_0x3bacc4),this[_0x409817(0x24a)](),this;},'finalize':function(_0x5049af){const _0x3975c0=_0x27fcd4;_0x5049af&&this[_0x3975c0(0x3f5)](_0x5049af);var _0x4d791c=this['_doFinalize']();return _0x4d791c;},'blockSize':0x10,'_createHelper':function(_0x2c5287){return function(_0x1068e2,_0x5abcfa){const _0x28e801=_0x181e;return new _0x2c5287[(_0x28e801(0x10c))](_0x5abcfa)[_0x28e801(0x522)](_0x1068e2);};},'_createHmacHelper':function(_0xdb698a){return function(_0x3e06b1,_0x41388e){const _0x394d0a=_0x181e;return new _0x40a100[(_0x394d0a(0x2ee))][(_0x394d0a(0x10c))](_0xdb698a,_0x41388e)[_0x394d0a(0x522)](_0x3e06b1);};}});var _0x40a100=_0xeec00e[_0x27fcd4(0x312)]={};return _0xeec00e;}(Math);return _0x34980b;}));}(_0x46b7c1)),_0x46b7c1[_0x4baad2(0x3ab)];}var _0x214f22={'exports':{}},_0x1cc4bf;function _0x105daf(){const _0x4504a4=_0x4fb43a;return _0x1cc4bf||(_0x1cc4bf=0x1,function(_0x5548c2,_0x2cc4b3){(function(_0xf23f0d,_0x295ba3){const _0x258a05=_0x181e;_0x5548c2[_0x258a05(0x3ab)]=_0x295ba3(_0x31a01d());}(_0x159624,function(_0x103e95){const _0x8ded59=_0x181e;return(function(){const _0x4c1a00=_0x181e;var _0x1ba175=_0x103e95,_0x12f329=_0x1ba175[_0x4c1a00(0x179)],_0x5d33e4=_0x12f329[_0x4c1a00(0x455)],_0x5b713b=_0x1ba175[_0x4c1a00(0x2b4)];_0x5b713b[_0x4c1a00(0x16a)]={'stringify':function(_0x439728){const _0x4db234=_0x4c1a00;var _0xc97791=_0x439728[_0x4db234(0x2fd)],_0x56cc34=_0x439728['sigBytes'],_0x19da68=this[_0x4db234(0x28c)];_0x439728[_0x4db234(0x287)]();for(var _0x488272=[],_0x11a66c=0x0;_0x11a66c<_0x56cc34;_0x11a66c+=0x3)for(var _0x26b1a7=_0xc97791[_0x11a66c>>>0x2]>>>0x18-_0x11a66c%0x4*0x8&0xff,_0x14accf=_0xc97791[_0x11a66c+0x1>>>0x2]>>>0x18-(_0x11a66c+0x1)%0x4*0x8&0xff,_0x13c6c6=_0xc97791[_0x11a66c+0x2>>>0x2]>>>0x18-(_0x11a66c+0x2)%0x4*0x8&0xff,_0x3ba6bd=_0x26b1a7<<0x10|_0x14accf<<0x8|_0x13c6c6,_0x437fcc=0x0;_0x437fcc<0x4&&_0x11a66c+_0x437fcc*0.75<_0x56cc34;_0x437fcc++)_0x488272['push'](_0x19da68[_0x4db234(0x364)](_0x3ba6bd>>>0x6*(0x3-_0x437fcc)&0x3f));var _0x5e7546=_0x19da68[_0x4db234(0x364)](0x40);if(_0x5e7546){for(;_0x488272[_0x4db234(0x4f3)]%0x4;)_0x488272[_0x4db234(0x582)](_0x5e7546);}return _0x488272[_0x4db234(0x407)]('');},'parse':function(_0x21692f){const _0x2c62ba=_0x4c1a00;var _0x22064d=_0x21692f[_0x2c62ba(0x4f3)],_0x9162e=this[_0x2c62ba(0x28c)],_0x1b95a8=this[_0x2c62ba(0x48d)];if(!_0x1b95a8){_0x1b95a8=this[_0x2c62ba(0x48d)]=[];for(var _0x321169=0x0;_0x321169<_0x9162e[_0x2c62ba(0x4f3)];_0x321169++)_0x1b95a8[_0x9162e[_0x2c62ba(0x3d6)](_0x321169)]=_0x321169;}var _0x5634f0=_0x9162e[_0x2c62ba(0x364)](0x40);if(_0x5634f0){var _0x1eb317=_0x21692f['indexOf'](_0x5634f0);_0x1eb317!==-0x1&&(_0x22064d=_0x1eb317);}return _0x44f329(_0x21692f,_0x22064d,_0x1b95a8);},'_map':_0x4c1a00(0x259)};function _0x44f329(_0x4f89b2,_0x4d715e,_0x1365e5){const _0x3a64fc=_0x4c1a00;for(var _0x335719=[],_0xe43773=0x0,_0x1fcca8=0x0;_0x1fcca8<_0x4d715e;_0x1fcca8++)if(_0x1fcca8%0x4){var _0x427cf1=_0x1365e5[_0x4f89b2[_0x3a64fc(0x3d6)](_0x1fcca8-0x1)]<<_0x1fcca8%0x4*0x2,_0x5b5ee1=_0x1365e5[_0x4f89b2[_0x3a64fc(0x3d6)](_0x1fcca8)]>>>0x6-_0x1fcca8%0x4*0x2,_0x42fab1=_0x427cf1|_0x5b5ee1;_0x335719[_0xe43773>>>0x2]|=_0x42fab1<<0x18-_0xe43773%0x4*0x8,_0xe43773++;}return _0x5d33e4[_0x3a64fc(0x108)](_0x335719,_0xe43773);}}()),_0x103e95['enc'][_0x8ded59(0x16a)];}));}(_0x214f22)),_0x214f22[_0x4504a4(0x3ab)];}var _0x3974d5={'exports':{}},_0xa5cfbe;function _0x8de8ec(){const _0x3222d9=_0x4fb43a;return _0xa5cfbe||(_0xa5cfbe=0x1,function(_0x486c54,_0x33d4bd){(function(_0x1a40a7,_0x586083){const _0x20f5e9=_0x181e;_0x486c54[_0x20f5e9(0x3ab)]=_0x586083(_0x31a01d());}(_0x159624,function(_0x36377f){const _0x12b82d=_0x181e;return function(_0x3f22f3){const _0x66c948=_0x181e;var _0xac66f4=_0x36377f,_0x2cc69e=_0xac66f4[_0x66c948(0x179)],_0x47782d=_0x2cc69e[_0x66c948(0x455)],_0x337025=_0x2cc69e[_0x66c948(0x518)],_0x1ff6d1=_0xac66f4[_0x66c948(0x312)],_0x4a0bb9=[];(function(){const _0x17b239=_0x66c948;for(var _0x13fbfd=0x0;_0x13fbfd<0x40;_0x13fbfd++)_0x4a0bb9[_0x13fbfd]=_0x3f22f3[_0x17b239(0x1d3)](_0x3f22f3['sin'](_0x13fbfd+0x1))*0x100000000|0x0;}());var _0x2baec3=_0x1ff6d1[_0x66c948(0x32c)]=_0x337025[_0x66c948(0x488)]({'_doReset':function(){const _0x5de782=_0x66c948;this[_0x5de782(0x5a0)]=new _0x47782d[(_0x5de782(0x10c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x463a3f,_0x204497){const _0x49c1cf=_0x66c948;for(var _0x1a99ab=0x0;_0x1a99ab<0x10;_0x1a99ab++){var _0x493962=_0x204497+_0x1a99ab,_0xcc7964=_0x463a3f[_0x493962];_0x463a3f[_0x493962]=(_0xcc7964<<0x8|_0xcc7964>>>0x18)&0xff00ff|(_0xcc7964<<0x18|_0xcc7964>>>0x8)&0xff00ff00;}var _0x25e16b=this[_0x49c1cf(0x5a0)]['words'],_0x5dc4ab=_0x463a3f[_0x204497+0x0],_0x1e28bf=_0x463a3f[_0x204497+0x1],_0x5715fe=_0x463a3f[_0x204497+0x2],_0xb83cf3=_0x463a3f[_0x204497+0x3],_0x146159=_0x463a3f[_0x204497+0x4],_0x4a678b=_0x463a3f[_0x204497+0x5],_0x2f0d65=_0x463a3f[_0x204497+0x6],_0x34c3e7=_0x463a3f[_0x204497+0x7],_0x29fe33=_0x463a3f[_0x204497+0x8],_0x4814a9=_0x463a3f[_0x204497+0x9],_0x1c189d=_0x463a3f[_0x204497+0xa],_0x1d5a43=_0x463a3f[_0x204497+0xb],_0x53a633=_0x463a3f[_0x204497+0xc],_0x40c853=_0x463a3f[_0x204497+0xd],_0x45ce39=_0x463a3f[_0x204497+0xe],_0x107d4b=_0x463a3f[_0x204497+0xf],_0x177c4f=_0x25e16b[0x0],_0xe80d30=_0x25e16b[0x1],_0x311b31=_0x25e16b[0x2],_0xf15ba2=_0x25e16b[0x3];_0x177c4f=_0x242148(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x5dc4ab,0x7,_0x4a0bb9[0x0]),_0xf15ba2=_0x242148(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x1e28bf,0xc,_0x4a0bb9[0x1]),_0x311b31=_0x242148(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x5715fe,0x11,_0x4a0bb9[0x2]),_0xe80d30=_0x242148(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0xb83cf3,0x16,_0x4a0bb9[0x3]),_0x177c4f=_0x242148(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x146159,0x7,_0x4a0bb9[0x4]),_0xf15ba2=_0x242148(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x4a678b,0xc,_0x4a0bb9[0x5]),_0x311b31=_0x242148(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x2f0d65,0x11,_0x4a0bb9[0x6]),_0xe80d30=_0x242148(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x34c3e7,0x16,_0x4a0bb9[0x7]),_0x177c4f=_0x242148(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x29fe33,0x7,_0x4a0bb9[0x8]),_0xf15ba2=_0x242148(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x4814a9,0xc,_0x4a0bb9[0x9]),_0x311b31=_0x242148(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x1c189d,0x11,_0x4a0bb9[0xa]),_0xe80d30=_0x242148(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x1d5a43,0x16,_0x4a0bb9[0xb]),_0x177c4f=_0x242148(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x53a633,0x7,_0x4a0bb9[0xc]),_0xf15ba2=_0x242148(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x40c853,0xc,_0x4a0bb9[0xd]),_0x311b31=_0x242148(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x45ce39,0x11,_0x4a0bb9[0xe]),_0xe80d30=_0x242148(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x107d4b,0x16,_0x4a0bb9[0xf]),_0x177c4f=_0x1fdfa9(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x1e28bf,0x5,_0x4a0bb9[0x10]),_0xf15ba2=_0x1fdfa9(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x2f0d65,0x9,_0x4a0bb9[0x11]),_0x311b31=_0x1fdfa9(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x1d5a43,0xe,_0x4a0bb9[0x12]),_0xe80d30=_0x1fdfa9(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x5dc4ab,0x14,_0x4a0bb9[0x13]),_0x177c4f=_0x1fdfa9(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x4a678b,0x5,_0x4a0bb9[0x14]),_0xf15ba2=_0x1fdfa9(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x1c189d,0x9,_0x4a0bb9[0x15]),_0x311b31=_0x1fdfa9(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x107d4b,0xe,_0x4a0bb9[0x16]),_0xe80d30=_0x1fdfa9(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x146159,0x14,_0x4a0bb9[0x17]),_0x177c4f=_0x1fdfa9(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x4814a9,0x5,_0x4a0bb9[0x18]),_0xf15ba2=_0x1fdfa9(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x45ce39,0x9,_0x4a0bb9[0x19]),_0x311b31=_0x1fdfa9(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0xb83cf3,0xe,_0x4a0bb9[0x1a]),_0xe80d30=_0x1fdfa9(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x29fe33,0x14,_0x4a0bb9[0x1b]),_0x177c4f=_0x1fdfa9(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x40c853,0x5,_0x4a0bb9[0x1c]),_0xf15ba2=_0x1fdfa9(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x5715fe,0x9,_0x4a0bb9[0x1d]),_0x311b31=_0x1fdfa9(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x34c3e7,0xe,_0x4a0bb9[0x1e]),_0xe80d30=_0x1fdfa9(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x53a633,0x14,_0x4a0bb9[0x1f]),_0x177c4f=_0x37b3f8(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x4a678b,0x4,_0x4a0bb9[0x20]),_0xf15ba2=_0x37b3f8(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x29fe33,0xb,_0x4a0bb9[0x21]),_0x311b31=_0x37b3f8(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x1d5a43,0x10,_0x4a0bb9[0x22]),_0xe80d30=_0x37b3f8(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x45ce39,0x17,_0x4a0bb9[0x23]),_0x177c4f=_0x37b3f8(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x1e28bf,0x4,_0x4a0bb9[0x24]),_0xf15ba2=_0x37b3f8(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x146159,0xb,_0x4a0bb9[0x25]),_0x311b31=_0x37b3f8(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x34c3e7,0x10,_0x4a0bb9[0x26]),_0xe80d30=_0x37b3f8(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x1c189d,0x17,_0x4a0bb9[0x27]),_0x177c4f=_0x37b3f8(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x40c853,0x4,_0x4a0bb9[0x28]),_0xf15ba2=_0x37b3f8(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x5dc4ab,0xb,_0x4a0bb9[0x29]),_0x311b31=_0x37b3f8(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0xb83cf3,0x10,_0x4a0bb9[0x2a]),_0xe80d30=_0x37b3f8(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x2f0d65,0x17,_0x4a0bb9[0x2b]),_0x177c4f=_0x37b3f8(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x4814a9,0x4,_0x4a0bb9[0x2c]),_0xf15ba2=_0x37b3f8(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x53a633,0xb,_0x4a0bb9[0x2d]),_0x311b31=_0x37b3f8(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x107d4b,0x10,_0x4a0bb9[0x2e]),_0xe80d30=_0x37b3f8(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x5715fe,0x17,_0x4a0bb9[0x2f]),_0x177c4f=_0x1e8a49(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x5dc4ab,0x6,_0x4a0bb9[0x30]),_0xf15ba2=_0x1e8a49(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x34c3e7,0xa,_0x4a0bb9[0x31]),_0x311b31=_0x1e8a49(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x45ce39,0xf,_0x4a0bb9[0x32]),_0xe80d30=_0x1e8a49(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x4a678b,0x15,_0x4a0bb9[0x33]),_0x177c4f=_0x1e8a49(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x53a633,0x6,_0x4a0bb9[0x34]),_0xf15ba2=_0x1e8a49(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0xb83cf3,0xa,_0x4a0bb9[0x35]),_0x311b31=_0x1e8a49(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x1c189d,0xf,_0x4a0bb9[0x36]),_0xe80d30=_0x1e8a49(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x1e28bf,0x15,_0x4a0bb9[0x37]),_0x177c4f=_0x1e8a49(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x29fe33,0x6,_0x4a0bb9[0x38]),_0xf15ba2=_0x1e8a49(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x107d4b,0xa,_0x4a0bb9[0x39]),_0x311b31=_0x1e8a49(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x2f0d65,0xf,_0x4a0bb9[0x3a]),_0xe80d30=_0x1e8a49(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x40c853,0x15,_0x4a0bb9[0x3b]),_0x177c4f=_0x1e8a49(_0x177c4f,_0xe80d30,_0x311b31,_0xf15ba2,_0x146159,0x6,_0x4a0bb9[0x3c]),_0xf15ba2=_0x1e8a49(_0xf15ba2,_0x177c4f,_0xe80d30,_0x311b31,_0x1d5a43,0xa,_0x4a0bb9[0x3d]),_0x311b31=_0x1e8a49(_0x311b31,_0xf15ba2,_0x177c4f,_0xe80d30,_0x5715fe,0xf,_0x4a0bb9[0x3e]),_0xe80d30=_0x1e8a49(_0xe80d30,_0x311b31,_0xf15ba2,_0x177c4f,_0x4814a9,0x15,_0x4a0bb9[0x3f]),_0x25e16b[0x0]=_0x25e16b[0x0]+_0x177c4f|0x0,_0x25e16b[0x1]=_0x25e16b[0x1]+_0xe80d30|0x0,_0x25e16b[0x2]=_0x25e16b[0x2]+_0x311b31|0x0,_0x25e16b[0x3]=_0x25e16b[0x3]+_0xf15ba2|0x0;},'_doFinalize':function(){const _0xaeb9cb=_0x66c948;var _0x1836e4=this[_0xaeb9cb(0x100)],_0xa48932=_0x1836e4[_0xaeb9cb(0x2fd)],_0x58bd05=this[_0xaeb9cb(0x4fa)]*0x8,_0x17bd59=_0x1836e4['sigBytes']*0x8;_0xa48932[_0x17bd59>>>0x5]|=0x80<<0x18-_0x17bd59%0x20;var _0x1fd6bf=_0x3f22f3[_0xaeb9cb(0x480)](_0x58bd05/0x100000000),_0x42f6c7=_0x58bd05;_0xa48932[(_0x17bd59+0x40>>>0x9<<0x4)+0xf]=(_0x1fd6bf<<0x8|_0x1fd6bf>>>0x18)&0xff00ff|(_0x1fd6bf<<0x18|_0x1fd6bf>>>0x8)&0xff00ff00,_0xa48932[(_0x17bd59+0x40>>>0x9<<0x4)+0xe]=(_0x42f6c7<<0x8|_0x42f6c7>>>0x18)&0xff00ff|(_0x42f6c7<<0x18|_0x42f6c7>>>0x8)&0xff00ff00,_0x1836e4['sigBytes']=(_0xa48932['length']+0x1)*0x4,this[_0xaeb9cb(0x24a)]();for(var _0x1066f9=this['_hash'],_0x35b75c=_0x1066f9[_0xaeb9cb(0x2fd)],_0x5a8a95=0x0;_0x5a8a95<0x4;_0x5a8a95++){var _0x3397f3=_0x35b75c[_0x5a8a95];_0x35b75c[_0x5a8a95]=(_0x3397f3<<0x8|_0x3397f3>>>0x18)&0xff00ff|(_0x3397f3<<0x18|_0x3397f3>>>0x8)&0xff00ff00;}return _0x1066f9;},'clone':function(){const _0x281fb2=_0x66c948;var _0x48ac95=_0x337025['clone'][_0x281fb2(0x50f)](this);return _0x48ac95[_0x281fb2(0x5a0)]=this[_0x281fb2(0x5a0)][_0x281fb2(0x1b5)](),_0x48ac95;}});function _0x242148(_0x395e9f,_0x3f6e66,_0x53d75a,_0x1fe9a4,_0x1687e3,_0x56200d,_0x4cb0a4){var _0x4f936f=_0x395e9f+(_0x3f6e66&_0x53d75a|~_0x3f6e66&_0x1fe9a4)+_0x1687e3+_0x4cb0a4;return(_0x4f936f<<_0x56200d|_0x4f936f>>>0x20-_0x56200d)+_0x3f6e66;}function _0x1fdfa9(_0x46f2c3,_0xc200b5,_0x225ea2,_0x49a911,_0x47b98c,_0x5d02d8,_0x3b28c5){var _0x4cf006=_0x46f2c3+(_0xc200b5&_0x49a911|_0x225ea2&~_0x49a911)+_0x47b98c+_0x3b28c5;return(_0x4cf006<<_0x5d02d8|_0x4cf006>>>0x20-_0x5d02d8)+_0xc200b5;}function _0x37b3f8(_0x4aa7b9,_0x3ac32a,_0x1e3405,_0xf2dc9f,_0x4492aa,_0x591430,_0x36c68a){var _0x5ee8b1=_0x4aa7b9+(_0x3ac32a^_0x1e3405^_0xf2dc9f)+_0x4492aa+_0x36c68a;return(_0x5ee8b1<<_0x591430|_0x5ee8b1>>>0x20-_0x591430)+_0x3ac32a;}function _0x1e8a49(_0x458ef7,_0x2685c1,_0x9bfe1b,_0x5e0e09,_0x54b39b,_0x2f11be,_0x45eda5){var _0x70fe78=_0x458ef7+(_0x9bfe1b^(_0x2685c1|~_0x5e0e09))+_0x54b39b+_0x45eda5;return(_0x70fe78<<_0x2f11be|_0x70fe78>>>0x20-_0x2f11be)+_0x2685c1;}_0xac66f4[_0x66c948(0x32c)]=_0x337025[_0x66c948(0x317)](_0x2baec3),_0xac66f4[_0x66c948(0x107)]=_0x337025[_0x66c948(0x239)](_0x2baec3);}(Math),_0x36377f[_0x12b82d(0x32c)];}));}(_0x3974d5)),_0x3974d5[_0x3222d9(0x3ab)];}var _0x1411d8={'exports':{}},_0x583bcd={'exports':{}},_0x36895b;function _0x1242eb(){const _0x378112=_0x4fb43a;return _0x36895b||(_0x36895b=0x1,function(_0x10db33,_0x905fe1){(function(_0x2c3d5b,_0x52c653){const _0x483333=_0x181e;_0x10db33[_0x483333(0x3ab)]=_0x52c653(_0x31a01d());}(_0x159624,function(_0x1fc770){const _0x12ace5=_0x181e;return(function(){const _0x347b28=_0x181e;var _0x2ce41a=_0x1fc770,_0x2fff80=_0x2ce41a['lib'],_0x43c279=_0x2fff80['WordArray'],_0x3335bb=_0x2fff80[_0x347b28(0x518)],_0x4a1be4=_0x2ce41a[_0x347b28(0x312)],_0x3cd9a6=[],_0x12666f=_0x4a1be4['SHA1']=_0x3335bb['extend']({'_doReset':function(){const _0x3acfe9=_0x347b28;this[_0x3acfe9(0x5a0)]=new _0x43c279['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x591c07,_0x5171e2){const _0x3513a9=_0x347b28;for(var _0x57cc3b=this[_0x3513a9(0x5a0)][_0x3513a9(0x2fd)],_0x5b33be=_0x57cc3b[0x0],_0x2228bc=_0x57cc3b[0x1],_0x5b746c=_0x57cc3b[0x2],_0xa35047=_0x57cc3b[0x3],_0x4c99d8=_0x57cc3b[0x4],_0x37afb8=0x0;_0x37afb8<0x50;_0x37afb8++){if(_0x37afb8<0x10)_0x3cd9a6[_0x37afb8]=_0x591c07[_0x5171e2+_0x37afb8]|0x0;else{var _0xf3c550=_0x3cd9a6[_0x37afb8-0x3]^_0x3cd9a6[_0x37afb8-0x8]^_0x3cd9a6[_0x37afb8-0xe]^_0x3cd9a6[_0x37afb8-0x10];_0x3cd9a6[_0x37afb8]=_0xf3c550<<0x1|_0xf3c550>>>0x1f;}var _0x199f0e=(_0x5b33be<<0x5|_0x5b33be>>>0x1b)+_0x4c99d8+_0x3cd9a6[_0x37afb8];_0x37afb8<0x14?_0x199f0e+=(_0x2228bc&_0x5b746c|~_0x2228bc&_0xa35047)+0x5a827999:_0x37afb8<0x28?_0x199f0e+=(_0x2228bc^_0x5b746c^_0xa35047)+0x6ed9eba1:_0x37afb8<0x3c?_0x199f0e+=(_0x2228bc&_0x5b746c|_0x2228bc&_0xa35047|_0x5b746c&_0xa35047)-0x70e44324:_0x199f0e+=(_0x2228bc^_0x5b746c^_0xa35047)-0x359d3e2a,_0x4c99d8=_0xa35047,_0xa35047=_0x5b746c,_0x5b746c=_0x2228bc<<0x1e|_0x2228bc>>>0x2,_0x2228bc=_0x5b33be,_0x5b33be=_0x199f0e;}_0x57cc3b[0x0]=_0x57cc3b[0x0]+_0x5b33be|0x0,_0x57cc3b[0x1]=_0x57cc3b[0x1]+_0x2228bc|0x0,_0x57cc3b[0x2]=_0x57cc3b[0x2]+_0x5b746c|0x0,_0x57cc3b[0x3]=_0x57cc3b[0x3]+_0xa35047|0x0,_0x57cc3b[0x4]=_0x57cc3b[0x4]+_0x4c99d8|0x0;},'_doFinalize':function(){const _0x49a767=_0x347b28;var _0x486d04=this[_0x49a767(0x100)],_0x5afd8c=_0x486d04[_0x49a767(0x2fd)],_0x3698f4=this[_0x49a767(0x4fa)]*0x8,_0x29cc27=_0x486d04['sigBytes']*0x8;return _0x5afd8c[_0x29cc27>>>0x5]|=0x80<<0x18-_0x29cc27%0x20,_0x5afd8c[(_0x29cc27+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a767(0x480)](_0x3698f4/0x100000000),_0x5afd8c[(_0x29cc27+0x40>>>0x9<<0x4)+0xf]=_0x3698f4,_0x486d04['sigBytes']=_0x5afd8c[_0x49a767(0x4f3)]*0x4,this[_0x49a767(0x24a)](),this[_0x49a767(0x5a0)];},'clone':function(){const _0x1de170=_0x347b28;var _0x4abbfa=_0x3335bb['clone']['call'](this);return _0x4abbfa['_hash']=this[_0x1de170(0x5a0)][_0x1de170(0x1b5)](),_0x4abbfa;}});_0x2ce41a[_0x347b28(0x19a)]=_0x3335bb[_0x347b28(0x317)](_0x12666f),_0x2ce41a[_0x347b28(0x3ce)]=_0x3335bb[_0x347b28(0x239)](_0x12666f);}()),_0x1fc770[_0x12ace5(0x19a)];}));}(_0x583bcd)),_0x583bcd[_0x378112(0x3ab)];}var _0x3a71fd={'exports':{}},_0x200150;function _0x4cc431(){const _0x19ed55=_0x4fb43a;return _0x200150||(_0x200150=0x1,function(_0x53e94c,_0x5b163e){(function(_0x41b9b7,_0x2f3a75){const _0x3d9757=_0x181e;_0x53e94c[_0x3d9757(0x3ab)]=_0x2f3a75(_0x31a01d());}(_0x159624,function(_0x32891a){(function(){const _0x339dd9=_0x181e;var _0xd2addb=_0x32891a,_0x2b8d3f=_0xd2addb[_0x339dd9(0x179)],_0x298255=_0x2b8d3f[_0x339dd9(0x15d)],_0x4eba01=_0xd2addb[_0x339dd9(0x2b4)],_0x478fef=_0x4eba01[_0x339dd9(0x47a)],_0x1ea0db=_0xd2addb[_0x339dd9(0x312)];_0x1ea0db['HMAC']=_0x298255[_0x339dd9(0x488)]({'init':function(_0x87d08a,_0x270e40){const _0x34f11f=_0x339dd9;_0x87d08a=this[_0x34f11f(0x255)]=new _0x87d08a['init'](),typeof _0x270e40==_0x34f11f(0x2ea)&&(_0x270e40=_0x478fef[_0x34f11f(0x541)](_0x270e40));var _0x2c49a4=_0x87d08a[_0x34f11f(0x4a8)],_0x1ef9e2=_0x2c49a4*0x4;_0x270e40['sigBytes']>_0x1ef9e2&&(_0x270e40=_0x87d08a['finalize'](_0x270e40)),_0x270e40['clamp']();for(var _0x1efd96=this[_0x34f11f(0x1f4)]=_0x270e40[_0x34f11f(0x1b5)](),_0x59c99c=this[_0x34f11f(0x46f)]=_0x270e40[_0x34f11f(0x1b5)](),_0x1c0c20=_0x1efd96[_0x34f11f(0x2fd)],_0x569f10=_0x59c99c[_0x34f11f(0x2fd)],_0x2f4b9f=0x0;_0x2f4b9f<_0x2c49a4;_0x2f4b9f++)_0x1c0c20[_0x2f4b9f]^=0x5c5c5c5c,_0x569f10[_0x2f4b9f]^=0x36363636;_0x1efd96[_0x34f11f(0x3dd)]=_0x59c99c[_0x34f11f(0x3dd)]=_0x1ef9e2,this[_0x34f11f(0x47f)]();},'reset':function(){const _0x148d5b=_0x339dd9;var _0x45ddb1=this[_0x148d5b(0x255)];_0x45ddb1[_0x148d5b(0x47f)](),_0x45ddb1[_0x148d5b(0x202)](this['_iKey']);},'update':function(_0x43259c){const _0x162491=_0x339dd9;return this[_0x162491(0x255)]['update'](_0x43259c),this;},'finalize':function(_0x5dea81){const _0x5df0a1=_0x339dd9;var _0x395f12=this['_hasher'],_0x39d046=_0x395f12[_0x5df0a1(0x522)](_0x5dea81);_0x395f12[_0x5df0a1(0x47f)]();var _0x1d4b2d=_0x395f12['finalize'](this[_0x5df0a1(0x1f4)]['clone']()[_0x5df0a1(0x28e)](_0x39d046));return _0x1d4b2d;}});}());}));}(_0x3a71fd)),_0x3a71fd[_0x19ed55(0x3ab)];}var _0x54a5d1;function _0xd9d9e4(){return _0x54a5d1||(_0x54a5d1=0x1,function(_0x3d3a41,_0x184553){(function(_0xbd866f,_0x4c0696,_0x1790d5){const _0x326700=_0x181e;_0x3d3a41[_0x326700(0x3ab)]=_0x4c0696(_0x31a01d(),_0x1242eb(),_0x4cc431());}(_0x159624,function(_0x5f566a){const _0x269fda=_0x181e;return(function(){const _0x3b859c=_0x181e;var _0x19272b=_0x5f566a,_0x588613=_0x19272b['lib'],_0x399a89=_0x588613[_0x3b859c(0x15d)],_0x25a9f9=_0x588613['WordArray'],_0x26f19a=_0x19272b[_0x3b859c(0x312)],_0x3bc68c=_0x26f19a[_0x3b859c(0x32c)],_0x395f74=_0x26f19a[_0x3b859c(0x27b)]=_0x399a89[_0x3b859c(0x488)]({'cfg':_0x399a89[_0x3b859c(0x488)]({'keySize':0x80/0x20,'hasher':_0x3bc68c,'iterations':0x1}),'init':function(_0x243a28){const _0x175fb8=_0x3b859c;this[_0x175fb8(0x46d)]=this[_0x175fb8(0x46d)]['extend'](_0x243a28);},'compute':function(_0x1c84df,_0x2a1065){const _0x47b0c3=_0x3b859c;for(var _0xef9790,_0x40bb46=this['cfg'],_0x37f8f5=_0x40bb46[_0x47b0c3(0x387)][_0x47b0c3(0x108)](),_0xc83ecb=_0x25a9f9['create'](),_0x2fe422=_0xc83ecb[_0x47b0c3(0x2fd)],_0x385c46=_0x40bb46[_0x47b0c3(0x133)],_0x5c9707=_0x40bb46['iterations'];_0x2fe422[_0x47b0c3(0x4f3)]<_0x385c46;){_0xef9790&&_0x37f8f5[_0x47b0c3(0x202)](_0xef9790),_0xef9790=_0x37f8f5[_0x47b0c3(0x202)](_0x1c84df)[_0x47b0c3(0x522)](_0x2a1065),_0x37f8f5[_0x47b0c3(0x47f)]();for(var _0x4a52e7=0x1;_0x4a52e7<_0x5c9707;_0x4a52e7++)_0xef9790=_0x37f8f5[_0x47b0c3(0x522)](_0xef9790),_0x37f8f5[_0x47b0c3(0x47f)]();_0xc83ecb[_0x47b0c3(0x28e)](_0xef9790);}return _0xc83ecb[_0x47b0c3(0x3dd)]=_0x385c46*0x4,_0xc83ecb;}});_0x19272b['EvpKDF']=function(_0x3a2d24,_0x4e4d73,_0x1f6544){const _0x272e98=_0x3b859c;return _0x395f74[_0x272e98(0x108)](_0x1f6544)[_0x272e98(0x2e4)](_0x3a2d24,_0x4e4d73);};}()),_0x5f566a[_0x269fda(0x27b)];}));}(_0x1411d8)),_0x1411d8['exports'];}var _0x5d6224={'exports':{}},_0x31e761;function _0x4f9163(){const _0x4fcfa0=_0x4fb43a;return _0x31e761||(_0x31e761=0x1,function(_0x1e6a2c,_0x4de509){(function(_0x2b935d,_0x2e5ea6,_0x57cce4){const _0x3281ca=_0x181e;_0x1e6a2c[_0x3281ca(0x3ab)]=_0x2e5ea6(_0x31a01d(),_0xd9d9e4());}(_0x159624,function(_0xf91bca){_0xf91bca['lib']['Cipher']||function(_0x3fb4dc){const _0x41e5a5=_0x181e;var _0x119f38=_0xf91bca,_0x34e8c3=_0x119f38[_0x41e5a5(0x179)],_0x109151=_0x34e8c3[_0x41e5a5(0x15d)],_0xcaa417=_0x34e8c3[_0x41e5a5(0x455)],_0x42ece5=_0x34e8c3[_0x41e5a5(0x1b6)],_0x3a9ff6=_0x119f38[_0x41e5a5(0x2b4)];_0x3a9ff6[_0x41e5a5(0x47a)];var _0x483bf1=_0x3a9ff6[_0x41e5a5(0x16a)],_0x447b15=_0x119f38[_0x41e5a5(0x312)],_0x5ba712=_0x447b15[_0x41e5a5(0x27b)],_0x20046e=_0x34e8c3[_0x41e5a5(0x3d2)]=_0x42ece5[_0x41e5a5(0x488)]({'cfg':_0x109151[_0x41e5a5(0x488)](),'createEncryptor':function(_0x26ebef,_0x478348){const _0x25365f=_0x41e5a5;return this[_0x25365f(0x108)](this[_0x25365f(0xfb)],_0x26ebef,_0x478348);},'createDecryptor':function(_0x1040cd,_0x47bcc2){const _0x5b30c4=_0x41e5a5;return this[_0x5b30c4(0x108)](this[_0x5b30c4(0x3f4)],_0x1040cd,_0x47bcc2);},'init':function(_0x3c46a9,_0x19cb7c,_0x2f28da){const _0x140597=_0x41e5a5;this[_0x140597(0x46d)]=this[_0x140597(0x46d)][_0x140597(0x488)](_0x2f28da),this[_0x140597(0x2e5)]=_0x3c46a9,this[_0x140597(0x356)]=_0x19cb7c,this[_0x140597(0x47f)]();},'reset':function(){const _0x321d37=_0x41e5a5;_0x42ece5[_0x321d37(0x47f)]['call'](this),this[_0x321d37(0x56d)]();},'process':function(_0x1553fa){const _0x53a046=_0x41e5a5;return this['_append'](_0x1553fa),this[_0x53a046(0x24a)]();},'finalize':function(_0x5ed9d1){const _0x2042c1=_0x41e5a5;_0x5ed9d1&&this[_0x2042c1(0x3f5)](_0x5ed9d1);var _0x4c27db=this[_0x2042c1(0x3c3)]();return _0x4c27db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2d9f0d(_0xedb2d6){const _0x1ecbfc=_0x181e;return typeof _0xedb2d6==_0x1ecbfc(0x2ea)?_0x40f0bc:_0x367e59;}return function(_0x2663ce){return{'encrypt':function(_0x46f64f,_0x38d370,_0xa516c){const _0x356867=_0x181e;return _0x2d9f0d(_0x38d370)[_0x356867(0x37a)](_0x2663ce,_0x46f64f,_0x38d370,_0xa516c);},'decrypt':function(_0x54f77a,_0x4f48da,_0x5bcc8f){const _0x3fe9f2=_0x181e;return _0x2d9f0d(_0x4f48da)[_0x3fe9f2(0x36a)](_0x2663ce,_0x54f77a,_0x4f48da,_0x5bcc8f);}};};}())});_0x34e8c3[_0x41e5a5(0x2a8)]=_0x20046e[_0x41e5a5(0x488)]({'_doFinalize':function(){var _0x46c1d8=this['_process'](!0x0);return _0x46c1d8;},'blockSize':0x1});var _0x35caf7=_0x119f38[_0x41e5a5(0x18a)]={},_0x501771=_0x34e8c3['BlockCipherMode']=_0x109151[_0x41e5a5(0x488)]({'createEncryptor':function(_0x5e62d4,_0x3a5f98){const _0x180401=_0x41e5a5;return this['Encryptor'][_0x180401(0x108)](_0x5e62d4,_0x3a5f98);},'createDecryptor':function(_0x2656f6,_0x48d6cc){const _0xcfad16=_0x41e5a5;return this['Decryptor'][_0xcfad16(0x108)](_0x2656f6,_0x48d6cc);},'init':function(_0x165cf6,_0x456a79){const _0x44d785=_0x41e5a5;this[_0x44d785(0x4f1)]=_0x165cf6,this[_0x44d785(0x3c2)]=_0x456a79;}}),_0x40c534=_0x35caf7[_0x41e5a5(0x538)]=(function(){const _0x51b5a5=_0x41e5a5;var _0x46f932=_0x501771['extend']();_0x46f932[_0x51b5a5(0x217)]=_0x46f932[_0x51b5a5(0x488)]({'processBlock':function(_0x203d74,_0x116501){const _0x4a7b9a=_0x51b5a5;var _0x1b470f=this[_0x4a7b9a(0x4f1)],_0x12ffce=_0x1b470f[_0x4a7b9a(0x4a8)];_0x4ca38f[_0x4a7b9a(0x50f)](this,_0x203d74,_0x116501,_0x12ffce),_0x1b470f[_0x4a7b9a(0x345)](_0x203d74,_0x116501),this['_prevBlock']=_0x203d74[_0x4a7b9a(0x29c)](_0x116501,_0x116501+_0x12ffce);}}),_0x46f932[_0x51b5a5(0x32f)]=_0x46f932[_0x51b5a5(0x488)]({'processBlock':function(_0x15b017,_0x6d6885){const _0x87cc1e=_0x51b5a5;var _0x412969=this['_cipher'],_0x58a8d5=_0x412969['blockSize'],_0x4d830a=_0x15b017[_0x87cc1e(0x29c)](_0x6d6885,_0x6d6885+_0x58a8d5);_0x412969[_0x87cc1e(0x45d)](_0x15b017,_0x6d6885),_0x4ca38f[_0x87cc1e(0x50f)](this,_0x15b017,_0x6d6885,_0x58a8d5),this['_prevBlock']=_0x4d830a;}});function _0x4ca38f(_0x585a47,_0xbdf1ff,_0x59fabe){const _0x24a89c=_0x51b5a5;var _0xf036fb,_0x65021a=this[_0x24a89c(0x3c2)];_0x65021a?(_0xf036fb=_0x65021a,this[_0x24a89c(0x3c2)]=_0x3fb4dc):_0xf036fb=this[_0x24a89c(0x140)];for(var _0x57d20a=0x0;_0x57d20a<_0x59fabe;_0x57d20a++)_0x585a47[_0xbdf1ff+_0x57d20a]^=_0xf036fb[_0x57d20a];}return _0x46f932;}()),_0xa38ed0=_0x119f38[_0x41e5a5(0x40b)]={},_0x45b325=_0xa38ed0[_0x41e5a5(0x2ed)]={'pad':function(_0x2b52df,_0x3628bd){const _0x28f19a=_0x41e5a5;for(var _0x1eb2eb=_0x3628bd*0x4,_0xc96d60=_0x1eb2eb-_0x2b52df[_0x28f19a(0x3dd)]%_0x1eb2eb,_0x2e6f34=_0xc96d60<<0x18|_0xc96d60<<0x10|_0xc96d60<<0x8|_0xc96d60,_0x49b83c=[],_0x8b5bfb=0x0;_0x8b5bfb<_0xc96d60;_0x8b5bfb+=0x4)_0x49b83c[_0x28f19a(0x582)](_0x2e6f34);var _0x40ae36=_0xcaa417['create'](_0x49b83c,_0xc96d60);_0x2b52df[_0x28f19a(0x28e)](_0x40ae36);},'unpad':function(_0x51d167){const _0x164124=_0x41e5a5;var _0x4b44dd=_0x51d167['words'][_0x51d167['sigBytes']-0x1>>>0x2]&0xff;_0x51d167[_0x164124(0x3dd)]-=_0x4b44dd;}};_0x34e8c3[_0x41e5a5(0x3d3)]=_0x20046e['extend']({'cfg':_0x20046e[_0x41e5a5(0x46d)][_0x41e5a5(0x488)]({'mode':_0x40c534,'padding':_0x45b325}),'reset':function(){const _0x5080a9=_0x41e5a5;var _0xb0ca05;_0x20046e[_0x5080a9(0x47f)][_0x5080a9(0x50f)](this);var _0xbf69bc=this[_0x5080a9(0x46d)],_0x18a68f=_0xbf69bc['iv'],_0x522b10=_0xbf69bc[_0x5080a9(0x18a)];this[_0x5080a9(0x2e5)]==this['_ENC_XFORM_MODE']?_0xb0ca05=_0x522b10['createEncryptor']:(_0xb0ca05=_0x522b10[_0x5080a9(0x52d)],this[_0x5080a9(0x2f1)]=0x1),this[_0x5080a9(0x4d2)]&&this[_0x5080a9(0x4d2)][_0x5080a9(0x403)]==_0xb0ca05?this['_mode'][_0x5080a9(0x10c)](this,_0x18a68f&&_0x18a68f['words']):(this['_mode']=_0xb0ca05[_0x5080a9(0x50f)](_0x522b10,this,_0x18a68f&&_0x18a68f[_0x5080a9(0x2fd)]),this[_0x5080a9(0x4d2)][_0x5080a9(0x403)]=_0xb0ca05);},'_doProcessBlock':function(_0x9ef844,_0x5eedfa){const _0x1143d0=_0x41e5a5;this[_0x1143d0(0x4d2)][_0x1143d0(0x5ad)](_0x9ef844,_0x5eedfa);},'_doFinalize':function(){const _0x2d8af8=_0x41e5a5;var _0x1eb3f4,_0x39a3f6=this['cfg'][_0x2d8af8(0xf7)];return this['_xformMode']==this[_0x2d8af8(0xfb)]?(_0x39a3f6[_0x2d8af8(0x40b)](this['_data'],this[_0x2d8af8(0x4a8)]),_0x1eb3f4=this[_0x2d8af8(0x24a)](!0x0)):(_0x1eb3f4=this[_0x2d8af8(0x24a)](!0x0),_0x39a3f6[_0x2d8af8(0x58f)](_0x1eb3f4)),_0x1eb3f4;},'blockSize':0x80/0x20});var _0x5c2a32=_0x34e8c3[_0x41e5a5(0x1e5)]=_0x109151['extend']({'init':function(_0x3c22c9){const _0x338346=_0x41e5a5;this[_0x338346(0x3e2)](_0x3c22c9);},'toString':function(_0x5033b8){const _0x15261b=_0x41e5a5;return(_0x5033b8||this['formatter'])[_0x15261b(0x392)](this);}}),_0x52ecab=_0x119f38['format']={},_0x1ed22b=_0x52ecab[_0x41e5a5(0x19b)]={'stringify':function(_0x48fe0e){const _0x454834=_0x41e5a5;var _0x3ad4ea,_0x48c04f=_0x48fe0e[_0x454834(0x417)],_0x36cda9=_0x48fe0e[_0x454834(0x2f5)];return _0x36cda9?_0x3ad4ea=_0xcaa417[_0x454834(0x108)]([0x53616c74,0x65645f5f])[_0x454834(0x28e)](_0x36cda9)[_0x454834(0x28e)](_0x48c04f):_0x3ad4ea=_0x48c04f,_0x3ad4ea['toString'](_0x483bf1);},'parse':function(_0x3e7781){const _0xb02a35=_0x41e5a5;var _0x28e46b,_0x37e2a4=_0x483bf1[_0xb02a35(0x541)](_0x3e7781),_0x4bb19e=_0x37e2a4[_0xb02a35(0x2fd)];return _0x4bb19e[0x0]==0x53616c74&&_0x4bb19e[0x1]==0x65645f5f&&(_0x28e46b=_0xcaa417[_0xb02a35(0x108)](_0x4bb19e[_0xb02a35(0x29c)](0x2,0x4)),_0x4bb19e[_0xb02a35(0x43c)](0x0,0x4),_0x37e2a4[_0xb02a35(0x3dd)]-=0x10),_0x5c2a32['create']({'ciphertext':_0x37e2a4,'salt':_0x28e46b});}},_0x367e59=_0x34e8c3[_0x41e5a5(0x342)]=_0x109151[_0x41e5a5(0x488)]({'cfg':_0x109151[_0x41e5a5(0x488)]({'format':_0x1ed22b}),'encrypt':function(_0x1195cd,_0x161314,_0x4b9762,_0x17b484){const _0x548c46=_0x41e5a5;_0x17b484=this[_0x548c46(0x46d)][_0x548c46(0x488)](_0x17b484);var _0x36f188=_0x1195cd[_0x548c46(0x1a4)](_0x4b9762,_0x17b484),_0x801cab=_0x36f188[_0x548c46(0x522)](_0x161314),_0x5fdf3f=_0x36f188[_0x548c46(0x46d)];return _0x5c2a32['create']({'ciphertext':_0x801cab,'key':_0x4b9762,'iv':_0x5fdf3f['iv'],'algorithm':_0x1195cd,'mode':_0x5fdf3f[_0x548c46(0x18a)],'padding':_0x5fdf3f['padding'],'blockSize':_0x1195cd['blockSize'],'formatter':_0x17b484['format']});},'decrypt':function(_0x42a51f,_0x648f5c,_0x27c125,_0x4d8b47){const _0x20c497=_0x41e5a5;_0x4d8b47=this[_0x20c497(0x46d)][_0x20c497(0x488)](_0x4d8b47),_0x648f5c=this[_0x20c497(0x23e)](_0x648f5c,_0x4d8b47[_0x20c497(0x283)]);var _0x3c0ea1=_0x42a51f[_0x20c497(0x52d)](_0x27c125,_0x4d8b47)[_0x20c497(0x522)](_0x648f5c[_0x20c497(0x417)]);return _0x3c0ea1;},'_parse':function(_0x505021,_0x1f5715){const _0x56f07d=_0x41e5a5;return typeof _0x505021=='string'?_0x1f5715[_0x56f07d(0x541)](_0x505021,this):_0x505021;}}),_0x7d55ee=_0x119f38['kdf']={},_0x2ec0d6=_0x7d55ee[_0x41e5a5(0x19b)]={'execute':function(_0x4b3173,_0x384cae,_0x544e0e,_0x62a37e,_0x27519f){const _0x3fdc03=_0x41e5a5;if(_0x62a37e||(_0x62a37e=_0xcaa417[_0x3fdc03(0x1dd)](0x40/0x8)),_0x27519f)var _0x593398=_0x5ba712[_0x3fdc03(0x108)]({'keySize':_0x384cae+_0x544e0e,'hasher':_0x27519f})[_0x3fdc03(0x2e4)](_0x4b3173,_0x62a37e);else var _0x593398=_0x5ba712['create']({'keySize':_0x384cae+_0x544e0e})[_0x3fdc03(0x2e4)](_0x4b3173,_0x62a37e);var _0x278d86=_0xcaa417['create'](_0x593398[_0x3fdc03(0x2fd)][_0x3fdc03(0x29c)](_0x384cae),_0x544e0e*0x4);return _0x593398[_0x3fdc03(0x3dd)]=_0x384cae*0x4,_0x5c2a32[_0x3fdc03(0x108)]({'key':_0x593398,'iv':_0x278d86,'salt':_0x62a37e});}},_0x40f0bc=_0x34e8c3[_0x41e5a5(0x1b8)]=_0x367e59[_0x41e5a5(0x488)]({'cfg':_0x367e59[_0x41e5a5(0x46d)][_0x41e5a5(0x488)]({'kdf':_0x2ec0d6}),'encrypt':function(_0x389a5f,_0x536645,_0x3cb841,_0x3d206b){const _0x390cb8=_0x41e5a5;_0x3d206b=this[_0x390cb8(0x46d)]['extend'](_0x3d206b);var _0xb296ac=_0x3d206b[_0x390cb8(0x32d)][_0x390cb8(0x169)](_0x3cb841,_0x389a5f[_0x390cb8(0x133)],_0x389a5f[_0x390cb8(0x544)],_0x3d206b[_0x390cb8(0x2f5)],_0x3d206b[_0x390cb8(0x387)]);_0x3d206b['iv']=_0xb296ac['iv'];var _0x4fe239=_0x367e59[_0x390cb8(0x37a)][_0x390cb8(0x50f)](this,_0x389a5f,_0x536645,_0xb296ac[_0x390cb8(0x54e)],_0x3d206b);return _0x4fe239['mixIn'](_0xb296ac),_0x4fe239;},'decrypt':function(_0x2e4fd4,_0x2ac129,_0x59501a,_0x58562f){const _0x4da188=_0x41e5a5;_0x58562f=this[_0x4da188(0x46d)]['extend'](_0x58562f),_0x2ac129=this[_0x4da188(0x23e)](_0x2ac129,_0x58562f[_0x4da188(0x283)]);var _0x52bcf3=_0x58562f[_0x4da188(0x32d)][_0x4da188(0x169)](_0x59501a,_0x2e4fd4[_0x4da188(0x133)],_0x2e4fd4[_0x4da188(0x544)],_0x2ac129[_0x4da188(0x2f5)],_0x58562f['hasher']);_0x58562f['iv']=_0x52bcf3['iv'];var _0x2ae3a6=_0x367e59[_0x4da188(0x36a)][_0x4da188(0x50f)](this,_0x2e4fd4,_0x2ac129,_0x52bcf3[_0x4da188(0x54e)],_0x58562f);return _0x2ae3a6;}});}();}));}(_0x5d6224)),_0x5d6224[_0x4fcfa0(0x3ab)];}(function(_0x132049,_0x16955a){(function(_0x52f7bc,_0x37df32,_0x566713){const _0x253c4e=_0x181e;_0x132049[_0x253c4e(0x3ab)]=_0x37df32(_0x31a01d(),_0x105daf(),_0x8de8ec(),_0xd9d9e4(),_0x4f9163());}(_0x159624,function(_0x4e1a90){const _0x1dc14b=_0x181e;return(function(){const _0x2b74be=_0x181e;var _0x28f18d=_0x4e1a90,_0x513b32=_0x28f18d['lib'],_0x187c8a=_0x513b32['BlockCipher'],_0x1a36d0=_0x28f18d[_0x2b74be(0x312)],_0x28639b=[],_0x371f0d=[],_0x48c2a1=[],_0xccd074=[],_0x3a568e=[],_0x49bb7a=[],_0x143c16=[],_0xc44bd=[],_0x595294=[],_0x16928a=[];(function(){for(var _0x57f2bf=[],_0x13a4de=0x0;_0x13a4de<0x100;_0x13a4de++)_0x13a4de<0x80?_0x57f2bf[_0x13a4de]=_0x13a4de<<0x1:_0x57f2bf[_0x13a4de]=_0x13a4de<<0x1^0x11b;for(var _0x1e861e=0x0,_0x476035=0x0,_0x13a4de=0x0;_0x13a4de<0x100;_0x13a4de++){var _0x4fb954=_0x476035^_0x476035<<0x1^_0x476035<<0x2^_0x476035<<0x3^_0x476035<<0x4;_0x4fb954=_0x4fb954>>>0x8^_0x4fb954&0xff^0x63,_0x28639b[_0x1e861e]=_0x4fb954,_0x371f0d[_0x4fb954]=_0x1e861e;var _0x268755=_0x57f2bf[_0x1e861e],_0x5296e5=_0x57f2bf[_0x268755],_0x133656=_0x57f2bf[_0x5296e5],_0x17e17f=_0x57f2bf[_0x4fb954]*0x101^_0x4fb954*0x1010100;_0x48c2a1[_0x1e861e]=_0x17e17f<<0x18|_0x17e17f>>>0x8,_0xccd074[_0x1e861e]=_0x17e17f<<0x10|_0x17e17f>>>0x10,_0x3a568e[_0x1e861e]=_0x17e17f<<0x8|_0x17e17f>>>0x18,_0x49bb7a[_0x1e861e]=_0x17e17f;var _0x17e17f=_0x133656*0x1010101^_0x5296e5*0x10001^_0x268755*0x101^_0x1e861e*0x1010100;_0x143c16[_0x4fb954]=_0x17e17f<<0x18|_0x17e17f>>>0x8,_0xc44bd[_0x4fb954]=_0x17e17f<<0x10|_0x17e17f>>>0x10,_0x595294[_0x4fb954]=_0x17e17f<<0x8|_0x17e17f>>>0x18,_0x16928a[_0x4fb954]=_0x17e17f,_0x1e861e?(_0x1e861e=_0x268755^_0x57f2bf[_0x57f2bf[_0x57f2bf[_0x133656^_0x268755]]],_0x476035^=_0x57f2bf[_0x57f2bf[_0x476035]]):_0x1e861e=_0x476035=0x1;}}());var _0xf3bb28=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13504c=_0x1a36d0[_0x2b74be(0xf0)]=_0x187c8a[_0x2b74be(0x488)]({'_doReset':function(){const _0x32d525=_0x2b74be;var _0x5075d6;if(!(this[_0x32d525(0x3bf)]&&this[_0x32d525(0x459)]===this[_0x32d525(0x356)])){for(var _0x2cc6c8=this[_0x32d525(0x459)]=this[_0x32d525(0x356)],_0x57e080=_0x2cc6c8[_0x32d525(0x2fd)],_0x52f7a1=_0x2cc6c8[_0x32d525(0x3dd)]/0x4,_0x453aec=this[_0x32d525(0x3bf)]=_0x52f7a1+0x6,_0x5f5664=(_0x453aec+0x1)*0x4,_0x315fa0=this[_0x32d525(0x49c)]=[],_0x2536ce=0x0;_0x2536ce<_0x5f5664;_0x2536ce++)_0x2536ce<_0x52f7a1?_0x315fa0[_0x2536ce]=_0x57e080[_0x2536ce]:(_0x5075d6=_0x315fa0[_0x2536ce-0x1],_0x2536ce%_0x52f7a1?_0x52f7a1>0x6&&_0x2536ce%_0x52f7a1==0x4&&(_0x5075d6=_0x28639b[_0x5075d6>>>0x18]<<0x18|_0x28639b[_0x5075d6>>>0x10&0xff]<<0x10|_0x28639b[_0x5075d6>>>0x8&0xff]<<0x8|_0x28639b[_0x5075d6&0xff]):(_0x5075d6=_0x5075d6<<0x8|_0x5075d6>>>0x18,_0x5075d6=_0x28639b[_0x5075d6>>>0x18]<<0x18|_0x28639b[_0x5075d6>>>0x10&0xff]<<0x10|_0x28639b[_0x5075d6>>>0x8&0xff]<<0x8|_0x28639b[_0x5075d6&0xff],_0x5075d6^=_0xf3bb28[_0x2536ce/_0x52f7a1|0x0]<<0x18),_0x315fa0[_0x2536ce]=_0x315fa0[_0x2536ce-_0x52f7a1]^_0x5075d6);for(var _0x3636c8=this['_invKeySchedule']=[],_0x4959d9=0x0;_0x4959d9<_0x5f5664;_0x4959d9++){var _0x2536ce=_0x5f5664-_0x4959d9;if(_0x4959d9%0x4)var _0x5075d6=_0x315fa0[_0x2536ce];else var _0x5075d6=_0x315fa0[_0x2536ce-0x4];_0x4959d9<0x4||_0x2536ce<=0x4?_0x3636c8[_0x4959d9]=_0x5075d6:_0x3636c8[_0x4959d9]=_0x143c16[_0x28639b[_0x5075d6>>>0x18]]^_0xc44bd[_0x28639b[_0x5075d6>>>0x10&0xff]]^_0x595294[_0x28639b[_0x5075d6>>>0x8&0xff]]^_0x16928a[_0x28639b[_0x5075d6&0xff]];}}},'encryptBlock':function(_0x556f8a,_0x217ffb){const _0x26febd=_0x2b74be;this[_0x26febd(0x4cc)](_0x556f8a,_0x217ffb,this[_0x26febd(0x49c)],_0x48c2a1,_0xccd074,_0x3a568e,_0x49bb7a,_0x28639b);},'decryptBlock':function(_0x1f1efb,_0x336181){const _0x240f37=_0x2b74be;var _0x16f8d9=_0x1f1efb[_0x336181+0x1];_0x1f1efb[_0x336181+0x1]=_0x1f1efb[_0x336181+0x3],_0x1f1efb[_0x336181+0x3]=_0x16f8d9,this[_0x240f37(0x4cc)](_0x1f1efb,_0x336181,this[_0x240f37(0x5b6)],_0x143c16,_0xc44bd,_0x595294,_0x16928a,_0x371f0d);var _0x16f8d9=_0x1f1efb[_0x336181+0x1];_0x1f1efb[_0x336181+0x1]=_0x1f1efb[_0x336181+0x3],_0x1f1efb[_0x336181+0x3]=_0x16f8d9;},'_doCryptBlock':function(_0xad2a7b,_0x35bb7e,_0x41ac05,_0x55e698,_0x313abd,_0x1da7c4,_0x5a4eca,_0xc419ff){for(var _0x34349b=this['_nRounds'],_0x1cfb4b=_0xad2a7b[_0x35bb7e]^_0x41ac05[0x0],_0x2fb236=_0xad2a7b[_0x35bb7e+0x1]^_0x41ac05[0x1],_0x18d25b=_0xad2a7b[_0x35bb7e+0x2]^_0x41ac05[0x2],_0x6fec7d=_0xad2a7b[_0x35bb7e+0x3]^_0x41ac05[0x3],_0x55bc94=0x4,_0xe5f539=0x1;_0xe5f539<_0x34349b;_0xe5f539++){var _0x266444=_0x55e698[_0x1cfb4b>>>0x18]^_0x313abd[_0x2fb236>>>0x10&0xff]^_0x1da7c4[_0x18d25b>>>0x8&0xff]^_0x5a4eca[_0x6fec7d&0xff]^_0x41ac05[_0x55bc94++],_0x533f1c=_0x55e698[_0x2fb236>>>0x18]^_0x313abd[_0x18d25b>>>0x10&0xff]^_0x1da7c4[_0x6fec7d>>>0x8&0xff]^_0x5a4eca[_0x1cfb4b&0xff]^_0x41ac05[_0x55bc94++],_0x5df3ed=_0x55e698[_0x18d25b>>>0x18]^_0x313abd[_0x6fec7d>>>0x10&0xff]^_0x1da7c4[_0x1cfb4b>>>0x8&0xff]^_0x5a4eca[_0x2fb236&0xff]^_0x41ac05[_0x55bc94++],_0x4eb73d=_0x55e698[_0x6fec7d>>>0x18]^_0x313abd[_0x1cfb4b>>>0x10&0xff]^_0x1da7c4[_0x2fb236>>>0x8&0xff]^_0x5a4eca[_0x18d25b&0xff]^_0x41ac05[_0x55bc94++];_0x1cfb4b=_0x266444,_0x2fb236=_0x533f1c,_0x18d25b=_0x5df3ed,_0x6fec7d=_0x4eb73d;}var _0x266444=(_0xc419ff[_0x1cfb4b>>>0x18]<<0x18|_0xc419ff[_0x2fb236>>>0x10&0xff]<<0x10|_0xc419ff[_0x18d25b>>>0x8&0xff]<<0x8|_0xc419ff[_0x6fec7d&0xff])^_0x41ac05[_0x55bc94++],_0x533f1c=(_0xc419ff[_0x2fb236>>>0x18]<<0x18|_0xc419ff[_0x18d25b>>>0x10&0xff]<<0x10|_0xc419ff[_0x6fec7d>>>0x8&0xff]<<0x8|_0xc419ff[_0x1cfb4b&0xff])^_0x41ac05[_0x55bc94++],_0x5df3ed=(_0xc419ff[_0x18d25b>>>0x18]<<0x18|_0xc419ff[_0x6fec7d>>>0x10&0xff]<<0x10|_0xc419ff[_0x1cfb4b>>>0x8&0xff]<<0x8|_0xc419ff[_0x2fb236&0xff])^_0x41ac05[_0x55bc94++],_0x4eb73d=(_0xc419ff[_0x6fec7d>>>0x18]<<0x18|_0xc419ff[_0x1cfb4b>>>0x10&0xff]<<0x10|_0xc419ff[_0x2fb236>>>0x8&0xff]<<0x8|_0xc419ff[_0x18d25b&0xff])^_0x41ac05[_0x55bc94++];_0xad2a7b[_0x35bb7e]=_0x266444,_0xad2a7b[_0x35bb7e+0x1]=_0x533f1c,_0xad2a7b[_0x35bb7e+0x2]=_0x5df3ed,_0xad2a7b[_0x35bb7e+0x3]=_0x4eb73d;},'keySize':0x100/0x20});_0x28f18d[_0x2b74be(0xf0)]=_0x187c8a[_0x2b74be(0x317)](_0x13504c);}()),_0x4e1a90[_0x1dc14b(0xf0)];}));}(_0x22d476));var _0x40e8b5=_0x22d476[_0x4fb43a(0x3ab)];const _0x3608b4=_0x4162d3(_0x40e8b5);var _0xd8108f=_0x105daf();const _0x3152b6=_0x4162d3(_0xd8108f);var _0x371d7b={'exports':{}};(function(_0x126a47,_0x97254c){(function(_0x5409d2,_0x42663e){const _0x39280d=_0x181e;_0x126a47[_0x39280d(0x3ab)]=_0x42663e(_0x31a01d());}(_0x159624,function(_0x5aecf4){const _0x2be379=_0x181e;return _0x5aecf4[_0x2be379(0x2b4)][_0x2be379(0x47a)];}));}(_0x371d7b));var _0x5bef33=_0x371d7b['exports'];const _0x5a2db7=_0x4162d3(_0x5bef33);var _0x482677={'exports':{}};(function(_0x5ed0c8,_0x35f12b){(function(_0x59a423,_0x3923fb){const _0x285dbc=_0x181e;_0x5ed0c8[_0x285dbc(0x3ab)]=_0x3923fb(_0x31a01d());}(_0x159624,function(_0x53b6fb){const _0x49869f=_0x181e;return(function(){const _0x4ba1b8=_0x181e;if(typeof ArrayBuffer==_0x4ba1b8(0x195)){var _0x10f489=_0x53b6fb,_0x22a550=_0x10f489[_0x4ba1b8(0x179)],_0xb87ea5=_0x22a550['WordArray'],_0x1a36d8=_0xb87ea5[_0x4ba1b8(0x10c)],_0x1616af=_0xb87ea5[_0x4ba1b8(0x10c)]=function(_0xffff6e){const _0x47e23d=_0x4ba1b8;if(_0xffff6e instanceof ArrayBuffer&&(_0xffff6e=new Uint8Array(_0xffff6e)),(_0xffff6e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xffff6e instanceof Uint8ClampedArray||_0xffff6e instanceof Int16Array||_0xffff6e instanceof Uint16Array||_0xffff6e instanceof Int32Array||_0xffff6e instanceof Uint32Array||_0xffff6e instanceof Float32Array||_0xffff6e instanceof Float64Array)&&(_0xffff6e=new Uint8Array(_0xffff6e['buffer'],_0xffff6e['byteOffset'],_0xffff6e['byteLength'])),_0xffff6e instanceof Uint8Array){for(var _0x7b7c5d=_0xffff6e[_0x47e23d(0x4ea)],_0x2832ae=[],_0xa96026=0x0;_0xa96026<_0x7b7c5d;_0xa96026++)_0x2832ae[_0xa96026>>>0x2]|=_0xffff6e[_0xa96026]<<0x18-_0xa96026%0x4*0x8;_0x1a36d8['call'](this,_0x2832ae,_0x7b7c5d);}else _0x1a36d8[_0x47e23d(0x1f0)](this,arguments);};_0x1616af[_0x4ba1b8(0x57d)]=_0xb87ea5;}}()),_0x53b6fb[_0x49869f(0x179)][_0x49869f(0x455)];}));}(_0x482677));var _0x3d1588=_0x482677[_0x4fb43a(0x3ab)];const _0x2839fc=_0x4162d3(_0x3d1588);var _0x50d1a2={'exports':{}};(function(_0x1a44bb,_0x10d579){(function(_0x214fe9,_0x32b717,_0x50db32){const _0x89a094=_0x181e;_0x1a44bb[_0x89a094(0x3ab)]=_0x32b717(_0x31a01d(),_0x4f9163());}(_0x159624,function(_0x56bd39){const _0x59e6ce=_0x181e;return _0x56bd39[_0x59e6ce(0x40b)][_0x59e6ce(0x360)]={'pad':function(){},'unpad':function(){}},_0x56bd39[_0x59e6ce(0x40b)]['NoPadding'];}));}(_0x50d1a2));var _0x2b7390=_0x50d1a2[_0x4fb43a(0x3ab)];const _0x49c252=_0x4162d3(_0x2b7390);function _0x56f0f7(_0x4c2970,_0x546820){const _0x2c3a9d=_0x4fb43a,_0x4efe47=_0x546820-_0x4c2970[_0x2c3a9d(0x4f3)]%_0x546820,_0x58172a=String[_0x2c3a9d(0x1ff)](_0x4efe47)[_0x2c3a9d(0x2c3)](_0x4efe47);return _0x4c2970+_0x58172a;}function _0x4c35c0(_0xd730ef,_0x43474b){const _0x2a6557=_0x4fb43a,_0x2c0889=_0x2839fc[_0x2a6557(0x1dd)](0x10),_0x16f4d2=_0x56f0f7(_0xd730ef,0x10),_0x371bf3=_0x3608b4[_0x2a6557(0x37a)](_0x5a2db7['parse'](_0x16f4d2),_0x3152b6[_0x2a6557(0x541)](_0x43474b),{'iv':_0x2c0889,'padding':_0x49c252});return _0x2c0889[_0x2a6557(0x28e)](_0x371bf3[_0x2a6557(0x417)])[_0x2a6557(0x491)](_0x3152b6);}function _0x4c850f(){const _0x52703d=_0x4fb43a,_0x45181c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x45181c){const _0x2d2e79={'time':Math[_0x52703d(0x480)](Date[_0x52703d(0x31b)]()/0x3e8),'domain':location[_0x52703d(0x1db)]};return _0x4c35c0(JSON['stringify'](_0x2d2e79),_0x45181c);}}var _0x2fb7f5=Object[_0x4fb43a(0x3de)],_0x5399c=Object[_0x4fb43a(0x44a)],_0x1b7347=(_0x33c784,_0xa71737,_0x15a2b0,_0x4f709e)=>{const _0x56869c=_0x4fb43a;for(var _0x460a0b=_0x4f709e>0x1?void 0x0:_0x4f709e?_0x5399c(_0xa71737,_0x15a2b0):_0xa71737,_0xdf4f48=_0x33c784[_0x56869c(0x4f3)]-0x1,_0x2059ab;_0xdf4f48>=0x0;_0xdf4f48--)(_0x2059ab=_0x33c784[_0xdf4f48])&&(_0x460a0b=(_0x4f709e?_0x2059ab(_0xa71737,_0x15a2b0,_0x460a0b):_0x2059ab(_0x460a0b))||_0x460a0b);return _0x4f709e&&_0x460a0b&&_0x2fb7f5(_0xa71737,_0x15a2b0,_0x460a0b),_0x460a0b;},_0x1d1eb0=(_0x52e5a6,_0x7b5cb1)=>(_0x3a23c2,_0xafd6fe)=>_0x7b5cb1(_0x3a23c2,_0xafd6fe,_0x52e5a6);let _0x5534be=class{constructor(_0x299d71){const _0x2fd3bc=_0x4fb43a;this[_0x2fd3bc(0x485)]=_0x299d71,this['_initRequestHeader']();}[_0x4fb43a(0x4aa)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4732bf,_0x4eb6ea)=>{const _0xdfd1d2=_0x181e,_0x38c78a=_0x4732bf[_0xdfd1d2(0x2e7)],_0x2137bb=_0x4c850f();return _0x2137bb&&_0x38c78a[_0xdfd1d2(0x3dc)](_0xdfd1d2(0x2ae),_0x2137bb),_0x4eb6ea(_0x4732bf);}});}};_0x5534be=_0x1b7347([_0x1d1eb0(0x0,_0x27d805[_0x4fb43a(0x236)](_0x311014[_0x4fb43a(0x2f8)]))],_0x5534be);var _0x3b7925=Object[_0x4fb43a(0x3de)],_0x14fb3b=Object['getOwnPropertyDescriptor'],_0x340930=(_0x327853,_0x10b0a8,_0x433c1a,_0x9e1cfb)=>{const _0x20438f=_0x4fb43a;for(var _0x531871=_0x9e1cfb>0x1?void 0x0:_0x9e1cfb?_0x14fb3b(_0x10b0a8,_0x433c1a):_0x10b0a8,_0x5a462c=_0x327853[_0x20438f(0x4f3)]-0x1,_0x4d58c4;_0x5a462c>=0x0;_0x5a462c--)(_0x4d58c4=_0x327853[_0x5a462c])&&(_0x531871=(_0x9e1cfb?_0x4d58c4(_0x10b0a8,_0x433c1a,_0x531871):_0x4d58c4(_0x531871))||_0x531871);return _0x9e1cfb&&_0x531871&&_0x3b7925(_0x10b0a8,_0x433c1a,_0x531871),_0x531871;},_0x277d83=(_0x1a78d6,_0x12b2e6)=>(_0x51b2a1,_0x4b6963)=>_0x12b2e6(_0x51b2a1,_0x4b6963,_0x1a78d6);const _0x59b76a=[_0x4fb43a(0x54f),_0x4fb43a(0x554),_0x4fb43a(0x46c),'image/gif',_0x4fb43a(0x498)],_0x4be40f=0x5*0x400*0x400,_0x5938c6='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3f9adf=_0x4fb43a(0x3fd),_0x2394c0=_0x4fb43a(0x176),_0x17d342=_0x4fb43a(0x141);_0x5e2809[_0x4fb43a(0x45e)]=class{constructor(_0x4b6d36,_0x50d997,_0x5d2a4c){const _0x4bd2bf=_0x4fb43a;_0x27d8b8(this,'_waitCount',0x0),_0x27d8b8(this,'_change$',new _0x21eaf3[(_0x4bd2bf(0x2d3))]()),_0x27d8b8(this,_0x4bd2bf(0x4b8),this[_0x4bd2bf(0x145)]),_0x27d8b8(this,_0x4bd2bf(0x267),new Map()),(this[_0x4bd2bf(0x485)]=_0x4b6d36,this[_0x4bd2bf(0x16e)]=_0x50d997,this[_0x4bd2bf(0x1cc)]=_0x5d2a4c);}[_0x4fb43a(0x3d9)](_0x19e828){const _0xf45452=_0x4fb43a;this['_waitCount']=_0x19e828,this[_0xf45452(0x145)][_0xf45452(0x152)](_0x19e828);}[_0x4fb43a(0x111)](_0x46e0b7,_0x232939){const _0x2fd36a=_0x4fb43a;if(_0x232939===_0x5291d5['ImageSourceType'][_0x2fd36a(0x164)]){const _0x20c25=new Image();return _0x20c25[_0x2fd36a(0x326)]=_0x46e0b7,_0x20c25;}return this[_0x2fd36a(0x267)][_0x2fd36a(0x457)](_0x46e0b7);}[_0x4fb43a(0x4d1)](_0x5cd15f,_0x5981fc,_0x28e6d4){const _0x59fe16=_0x4fb43a;_0x5981fc===_0x5291d5[_0x59fe16(0x248)]['BASE64']||_0x28e6d4==null||this[_0x59fe16(0x267)][_0x59fe16(0x3dc)](_0x5cd15f,_0x28e6d4);}async['getImage'](_0x5c6f4a){const _0x1b0046=_0x4fb43a;try{const _0x5a2869=this[_0x1b0046(0x258)](this[_0x1b0046(0x264)](),''+_0x5c6f4a),_0x3e0e16=(await this[_0x1b0046(0x485)][_0x1b0046(0x457)](_0x5a2869))[_0x1b0046(0x34a)];if(_0x3e0e16[_0x1b0046(0x4b9)]&&_0x3e0e16[_0x1b0046(0x4b9)][_0x1b0046(0x286)]===_0x475b0d['OK']){const _0x492910=new URL(_0x3e0e16[_0x1b0046(0x1f5)],this[_0x1b0046(0x21f)]())[_0x1b0046(0x491)]();return Promise[_0x1b0046(0x4a1)](_0x492910);}return Promise[_0x1b0046(0x20c)](_0x3e0e16['error']);}catch(_0x3b4416){return Promise[_0x1b0046(0x20c)](_0x3b4416);}}async[_0x4fb43a(0x207)](_0x4195de){const _0x557368=_0x4fb43a;let _0x41460c='';if(!_0x59b76a[_0x557368(0x3e4)](_0x4195de[_0x557368(0x389)]))return this['_decreaseWaiting'](),Promise[_0x557368(0x20c)](new Error(_0x5291d5[_0x557368(0x54d)]['ERROR_IMAGE_TYPE']));if(_0x4195de['size']>_0x4be40f)return this[_0x557368(0x521)](),Promise[_0x557368(0x20c)](new Error(_0x5291d5['ImageUploadStatusType'][_0x557368(0x59d)]));try{const _0x5ca363=new FormData();_0x5ca363[_0x557368(0x38c)](_0x557368(0x4f6),_0x4195de);const _0x30dc38=this[_0x557368(0x1cc)]['getFocusedUnit'](),_0x3b3a18=_0x30dc38==null?void 0x0:_0x30dc38[_0x557368(0x18c)]();if(!_0x3b3a18)throw new Error(_0x557368(0x243));const _0x3c0bc1=this[_0x557368(0x124)]()+'?size='+_0x4195de[_0x557368(0x26d)][_0x557368(0x491)]()+'&source='+_0x48e01d[_0x557368(0x1d1)]+_0x557368(0x59b)+encodeURIComponent(_0x3b3a18),_0x129fab=await(await fetch(_0x3c0bc1,{'method':'POST','body':_0x5ca363}))[_0x557368(0x1ce)]();if(typeof _0x129fab[_0x557368(0x4f4)]!=_0x557368(0x2ea))return this['_decreaseWaiting'](),Promise[_0x557368(0x20c)](new Error(_0x5291d5[_0x557368(0x54d)][_0x557368(0x509)]));_0x41460c=_0x129fab[_0x557368(0x4f4)];}catch{return this[_0x557368(0x521)](),Promise['reject'](new Error(_0x5291d5[_0x557368(0x54d)][_0x557368(0x509)]));}return new Promise((_0x48911a,_0x3ce9d8)=>{const _0x57553b=_0x557368,_0x352dda=new FileReader();_0x352dda['readAsDataURL'](_0x4195de),_0x352dda[_0x57553b(0x409)]=_0x3a934f=>{const _0x2e9c1e=_0x57553b;var _0x2b58e7;const _0x26d0e2=(_0x2b58e7=_0x3a934f['target'])==null?void 0x0:_0x2b58e7['result'];if(_0x26d0e2==null){this[_0x2e9c1e(0x521)](),_0x3ce9d8(new Error(_0x5291d5[_0x2e9c1e(0x54d)]['ERROR_IMAGE']));return;}const _0x4c7388=_0x27d805['Tools'][_0x2e9c1e(0x44b)](0x6);_0x48911a({'imageId':_0x4c7388,'imageSourceType':_0x5291d5[_0x2e9c1e(0x248)][_0x2e9c1e(0x2d2)],'source':_0x41460c,'base64Cache':_0x26d0e2,'status':_0x5291d5[_0x2e9c1e(0x54d)][_0x2e9c1e(0x1d5)]}),this[_0x2e9c1e(0x521)]();};});}['_getUploadFileURL'](){const _0x2731c1=_0x4fb43a;var _0x30245e,_0x2d96e9;const _0x14c313=this[_0x2731c1(0x16e)]['getConfig'](_0x5938c6),_0x3155ea=this[_0x2731c1(0x16e)][_0x2731c1(0x2b9)](_0x4df054);return(_0x2d96e9=(_0x30245e=_0x3155ea==null?void 0x0:_0x3155ea[_0x2731c1(0x261)])!=null?_0x30245e:_0x14c313)!=null?_0x2d96e9:_0x3f9adf;}[_0x4fb43a(0x264)](){const _0x2685b1=_0x4fb43a;var _0x1bcf96,_0x5de9bd;const _0x2e4760=this['_configService'][_0x2685b1(0x2b9)](_0x2394c0),_0x3c1162=this['_configService']['getConfig'](_0x4df054);return(_0x5de9bd=(_0x1bcf96=_0x3c1162==null?void 0x0:_0x3c1162[_0x2685b1(0x144)])!=null?_0x1bcf96:_0x2e4760)!=null?_0x5de9bd:_0x17d342;}[_0x4fb43a(0x21f)](){const _0x4a123a=_0x4fb43a;var _0x437b50;const _0x29060b=this[_0x4a123a(0x16e)][_0x4a123a(0x2b9)](_0x4df054);return(_0x437b50=_0x29060b==null?void 0x0:_0x29060b[_0x4a123a(0x3ef)])!=null?_0x437b50:location[_0x4a123a(0x51c)];}[_0x4fb43a(0x258)](_0x47fcfa,_0xe92219){const _0x5cd229=_0x4fb43a;return _0x47fcfa[_0x5cd229(0x3c6)](_0x5cd229(0x12d),_0xe92219);}[_0x4fb43a(0x521)](){const _0x24d67b=_0x4fb43a;this['_waitCount']-=0x1,this['_change$'][_0x24d67b(0x152)](this['_waitCount']);}},_0x5e2809[_0x4fb43a(0x45e)]=_0x340930([_0x277d83(0x0,_0x27d805['Inject'](_0x311014[_0x4fb43a(0x2f8)])),_0x277d83(0x1,_0x27d805['IConfigService']),_0x277d83(0x2,_0x27d805[_0x4fb43a(0x236)](_0x27d805['IUniverInstanceService']))],_0x5e2809[_0x4fb43a(0x45e)]);var _0x12ac78=Object[_0x4fb43a(0x3de)],_0x58666e=Object[_0x4fb43a(0x44a)],_0xabe7bc=(_0x5526f2,_0x3a08b7,_0x5cfd28,_0x21620f)=>{for(var _0x27eef8=_0x21620f>0x1?void 0x0:_0x21620f?_0x58666e(_0x3a08b7,_0x5cfd28):_0x3a08b7,_0x29b1f5=_0x5526f2['length']-0x1,_0x2942ff;_0x29b1f5>=0x0;_0x29b1f5--)(_0x2942ff=_0x5526f2[_0x29b1f5])&&(_0x27eef8=(_0x21620f?_0x2942ff(_0x3a08b7,_0x5cfd28,_0x27eef8):_0x2942ff(_0x27eef8))||_0x27eef8);return _0x21620f&&_0x27eef8&&_0x12ac78(_0x3a08b7,_0x5cfd28,_0x27eef8),_0x27eef8;},_0x3b7560=(_0x56f134,_0x3e1da2)=>(_0xfc29bd,_0x2d1bcc)=>_0x3e1da2(_0xfc29bd,_0x2d1bcc,_0x56f134);let _0x217445=class extends _0x27d805[_0x4fb43a(0x569)]{constructor(_0x472b6b,_0x2eb5c,_0x4c6752,_0x2a8d7f,_0x54a56f){const _0xf41399=_0x4fb43a;super(),this[_0xf41399(0x371)]=_0x472b6b,this[_0xf41399(0x1cc)]=_0x2eb5c,this[_0xf41399(0x4de)]=_0x4c6752,this[_0xf41399(0x329)]=_0x2a8d7f,this[_0xf41399(0x1cb)]=_0x54a56f,this[_0xf41399(0x399)](),this['_initCloseConn']();}[_0x4fb43a(0x40d)](){const _0x341c5a=_0x4fb43a,_0x5d76b5=async _0x4a0b75=>{const _0x16cae9=_0x181e;(await this[_0x16cae9(0x329)][_0x16cae9(0x31d)](_0x4a0b75))[_0x16cae9(0x350)][_0x16cae9(0x35c)](_0x3ee60a[_0x16cae9(0x347)](_0x1dc577=>_0x1dc577[_0x16cae9(0x42f)]===_0x3a188f[_0x16cae9(0x1fe)][_0x16cae9(0x3ff)]),_0x3ee60a[_0x16cae9(0x321)](this[_0x16cae9(0x311)]))['subscribe'](_0x299684=>{const _0x4a4ca7=_0x16cae9,_0x1c331b=_0x299684,{reason:_0x44e41b}=_0x1c331b[_0x4a4ca7(0x320)];this['_injector'][_0x4a4ca7(0x457)](_0x56239c[_0x4a4ca7(0x4e3)])[_0x4a4ca7(0x24e)]({'type':_0x595b4d['MessageType']['Error'],'content':this['_localeService']['t'](_0x4a4ca7(0x11d))+'('+_0x44e41b+')'}),this[_0x4a4ca7(0x4de)]['updatePermissionPoint'](new _0x6454ca[(_0x4a4ca7(0x58b))](_0x4a0b75)['id'],!0x1),this[_0x4a4ca7(0x329)]['closeSession'](_0x4a0b75);});};_0x21eaf3[_0x341c5a(0x32e)](this['_univerInstanceService'][_0x341c5a(0x44f)](_0x27d805[_0x341c5a(0x23f)][_0x341c5a(0x2bf)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x27d805[_0x341c5a(0x23f)][_0x341c5a(0x515)]))[_0x341c5a(0x35c)](_0x3ee60a['map'](_0xb5d1f=>_0xb5d1f[_0x341c5a(0x18c)]()),_0x3ee60a[_0x341c5a(0x347)](_0x407e4e=>!_0x27d805[_0x341c5a(0x233)](_0x407e4e)),_0x3ee60a['takeUntil'](this[_0x341c5a(0x311)]))[_0x341c5a(0x438)](_0x355c93=>{_0x5d76b5(_0x355c93);});}['_initUnitPermissionChange'](){const _0x4f5813=_0x4fb43a,_0xf8f438=async _0x367dd3=>{const _0x264390=_0x181e;(await this[_0x264390(0x329)][_0x264390(0x31d)](_0x367dd3))[_0x264390(0x350)][_0x264390(0x35c)](_0x3ee60a[_0x264390(0x347)](_0x58bc9d=>_0x58bc9d[_0x264390(0x42f)]===_0x3a188f[_0x264390(0x1fe)][_0x264390(0x2cb)]),_0x3ee60a['takeUntil'](this['dispose$']))['subscribe'](_0xe90498=>{const _0x28a42f=_0x264390,_0x59ad59=_0xe90498,{objectId:_0x598913}=_0x59ad59[_0x28a42f(0x320)],_0x7c74d2=this['_injector'][_0x28a42f(0x457)](_0x51509b[_0x28a42f(0xee)]);_0x598913===_0x367dd3?_0x7c74d2[_0x28a42f(0x476)](_0x367dd3):_0x7c74d2[_0x28a42f(0x158)](_0x367dd3,_0x598913);});};_0x21eaf3[_0x4f5813(0x32e)](this[_0x4f5813(0x1cc)]['getTypeOfUnitAdded$'](_0x27d805[_0x4f5813(0x23f)]['UNIVER_SHEET']),this[_0x4f5813(0x1cc)][_0x4f5813(0x44f)](_0x27d805[_0x4f5813(0x23f)][_0x4f5813(0x515)]))[_0x4f5813(0x35c)](_0x3ee60a[_0x4f5813(0x362)](_0x2f7f31=>_0x2f7f31[_0x4f5813(0x18c)]()),_0x3ee60a['filter'](_0x5b2537=>!_0x27d805[_0x4f5813(0x233)](_0x5b2537)),_0x3ee60a['takeUntil'](this[_0x4f5813(0x311)]))[_0x4f5813(0x438)](_0x375174=>{_0xf8f438(_0x375174);});}};_0x217445=_0xabe7bc([_0x3b7560(0x0,_0x27d805['Inject'](_0x27d805[_0x4fb43a(0x281)])),_0x3b7560(0x1,_0x27d805['IUniverInstanceService']),_0x3b7560(0x2,_0x27d805[_0x4fb43a(0x548)]),_0x3b7560(0x3,_0x27d805[_0x4fb43a(0x236)](_0x5e2809[_0x4fb43a(0x263)])),_0x3b7560(0x4,_0x27d805[_0x4fb43a(0x236)](_0x27d805[_0x4fb43a(0x247)]))],_0x217445);var _0x20a6ff=Object['defineProperty'],_0x10710c=Object[_0x4fb43a(0x44a)],_0x18108b=(_0x118a79,_0x4c98bc,_0x48360d,_0x464f47)=>{const _0x3a1fe8=_0x4fb43a;for(var _0x6596bd=_0x464f47>0x1?void 0x0:_0x464f47?_0x10710c(_0x4c98bc,_0x48360d):_0x4c98bc,_0x5a9e4a=_0x118a79[_0x3a1fe8(0x4f3)]-0x1,_0x503dd3;_0x5a9e4a>=0x0;_0x5a9e4a--)(_0x503dd3=_0x118a79[_0x5a9e4a])&&(_0x6596bd=(_0x464f47?_0x503dd3(_0x4c98bc,_0x48360d,_0x6596bd):_0x503dd3(_0x6596bd))||_0x6596bd);return _0x464f47&&_0x6596bd&&_0x20a6ff(_0x4c98bc,_0x48360d,_0x6596bd),_0x6596bd;},_0x3620c7=(_0x61abeb,_0x415142)=>(_0xec67e8,_0x229dff)=>_0x415142(_0xec67e8,_0x229dff,_0x61abeb);_0x5e2809[_0x4fb43a(0x558)]=class{constructor(_0xb4640,_0x326e5e){const _0x4f4c84=_0x4fb43a;this[_0x4f4c84(0x16e)]=_0xb4640,this[_0x4f4c84(0x485)]=_0x326e5e;}async[_0x4fb43a(0x3e1)](_0x3594c1,_0x4776c9){const _0x524a12=_0x4fb43a;var _0x46990b;const {unitID:_0x45a2c0,type:_0x4ddcd1,revision:_0x3e4648=0x0}=_0x4776c9,_0x178a05=this[_0x524a12(0x592)]()+'/'+_0x4ddcd1+'/unit/'+_0x45a2c0+_0x524a12(0x227)+_0x3e4648,_0x3361e7=(await this[_0x524a12(0x485)]['get'](_0x178a05))[_0x524a12(0x34a)],_0x485f49=(_0x46990b=_0x3361e7[_0x524a12(0x461)])==null?void 0x0:_0x46990b[_0x524a12(0x532)];if(_0x485f49){const _0x251665=_0x485f49==null?void 0x0:_0x485f49['originalMeta'],_0x1077f2=_0x3a188f[_0x524a12(0x359)][_0x524a12(0xeb)](_0x3a188f['b64DecodeUnicode'](_0x251665));_0x485f49['originalMeta']=_0x1077f2,Object[_0x524a12(0x208)](_0x485f49[_0x524a12(0x17d)])[_0x524a12(0x49f)](([,_0x58eb91])=>{const _0x3edd85=_0x524a12,_0x167cc4=_0x58eb91[_0x3edd85(0x28d)],_0x14e8b2=_0x3a188f['textEncoder']['encode'](_0x3a188f[_0x3edd85(0x279)](_0x167cc4));_0x58eb91[_0x3edd85(0x28d)]=_0x14e8b2;});}return _0x3361e7;}async[_0x4fb43a(0x10e)](_0x17fd69,_0x405920){const _0x530fb5=_0x4fb43a,{unitID:_0x465b2d,type:_0x2c2536,blockID:_0x3eb395}=_0x405920,_0x3e6201=this['_getAPIPrefix']()+'/'+_0x2c2536+_0x530fb5(0x12f)+_0x465b2d+_0x530fb5(0x122)+_0x3eb395;return(await this['_httpService'][_0x530fb5(0x457)](_0x3e6201))['body'];}async[_0x4fb43a(0x3be)](_0x1f7d88,_0x437e9f){const _0x462f13=_0x4fb43a,{unitID:_0x4acc2c,type:_0x1431c3,blockID:_0x5c2570}=_0x437e9f,_0x5ef71f=this[_0x462f13(0x503)]()+_0x462f13(0x122)+_0x1431c3+_0x462f13(0x12f)+_0x4acc2c+_0x462f13(0x122)+_0x5c2570;return(await this[_0x462f13(0x485)][_0x462f13(0x457)](_0x5ef71f))[_0x462f13(0x34a)];}async[_0x4fb43a(0x53c)](_0x26e41f,_0x30a90b){const _0x35f8bb=_0x4fb43a,{unitID:_0x196e16,type:_0x498381,from:_0x4ad819,to:_0x4461a3}=_0x30a90b,_0x1e4238=this[_0x35f8bb(0x503)]()+'/'+_0x498381+'/unit/'+_0x196e16+_0x35f8bb(0x3f3)+_0x4ad819+'&to='+_0x4461a3;return(await this['_httpService'][_0x35f8bb(0x457)](_0x1e4238))[_0x35f8bb(0x34a)];}[_0x4fb43a(0x592)](){const _0x590d5a=_0x4fb43a;var _0x1b6885;return(_0x1b6885=this[_0x590d5a(0x16e)][_0x590d5a(0x2b9)](_0x52ac5e))!=null?_0x1b6885:this[_0x590d5a(0x503)]();}[_0x4fb43a(0x503)](){const _0xfc2e2e=_0x4fb43a;var _0x10a0f5,_0x4e0325;const _0xe6d776=this[_0xfc2e2e(0x16e)][_0xfc2e2e(0x2b9)](_0x34b214),_0x2a0d95=this[_0xfc2e2e(0x16e)][_0xfc2e2e(0x2b9)](_0x4df054);return(_0x4e0325=(_0x10a0f5=_0x2a0d95==null?void 0x0:_0x2a0d95['snapshotServerUrl'])!=null?_0x10a0f5:_0xe6d776)!=null?_0x4e0325:_0x2fc955;}async[_0x4fb43a(0x3e5)](_0xc31b7d,_0x127f1e){const _0x300424=_0x4fb43a,_0x4ab478=_0x300424(0x216)+_0x127f1e[_0x300424(0x389)]+_0x300424(0x12f)+_0x127f1e['unitID']+_0x300424(0x20d);return(await this[_0x300424(0x485)][_0x300424(0x457)](_0x4ab478,{'params':{'resourceId':JSON[_0x300424(0x392)](_0x127f1e[_0x300424(0x1e7)])}}))[_0x300424(0x34a)];}[_0x4fb43a(0x2a7)](){const _0x14190b=_0x4fb43a;throw new Error(_0x14190b(0x2bc));}[_0x4fb43a(0x35f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4fb43a(0x56c)](){const _0x1dbfbb=_0x4fb43a;throw new Error(_0x1dbfbb(0x2bc));}['getLatestCsReqIdBySid'](){const _0x2f4897=_0x4fb43a;throw new Error(_0x2f4897(0x2bc));}},_0x5e2809[_0x4fb43a(0x558)]=_0x18108b([_0x3620c7(0x0,_0x27d805['IConfigService']),_0x3620c7(0x1,_0x27d805[_0x4fb43a(0x236)](_0x311014['HTTPService']))],_0x5e2809[_0x4fb43a(0x558)]);var _0x7c6cef=Object[_0x4fb43a(0x3de)],_0x3384cd=Object[_0x4fb43a(0x44a)],_0x30aef9=(_0x2a35a3,_0x22937c,_0x3aa1a6,_0x2ed88e)=>{const _0x6dd98b=_0x4fb43a;for(var _0x4ffd3a=_0x2ed88e>0x1?void 0x0:_0x2ed88e?_0x3384cd(_0x22937c,_0x3aa1a6):_0x22937c,_0x54b4ef=_0x2a35a3[_0x6dd98b(0x4f3)]-0x1,_0x5b6c22;_0x54b4ef>=0x0;_0x54b4ef--)(_0x5b6c22=_0x2a35a3[_0x54b4ef])&&(_0x4ffd3a=(_0x2ed88e?_0x5b6c22(_0x22937c,_0x3aa1a6,_0x4ffd3a):_0x5b6c22(_0x4ffd3a))||_0x4ffd3a);return _0x2ed88e&&_0x4ffd3a&&_0x7c6cef(_0x22937c,_0x3aa1a6,_0x4ffd3a),_0x4ffd3a;},_0x599fcf=(_0x38b196,_0x5f4ded)=>(_0x5d194c,_0x2cece1)=>_0x5f4ded(_0x5d194c,_0x2cece1,_0x38b196);let _0x5dbeae=class extends _0x27d805[_0x4fb43a(0x151)]{constructor(_0x51a0f8,_0x1c06bb,_0x4b963a,_0x45a212,_0xcc96c7){const _0x2f6594=_0x4fb43a;super(_0x51a0f8,_0x1c06bb,_0x4b963a),this['_transformService']=_0x45a212,this[_0x2f6594(0x1e4)]=_0xcc96c7;}[_0x4fb43a(0x21b)](_0x219735,_0x5c9144){const _0x5a24c4=_0x4fb43a,_0x52b786=this[_0x5a24c4(0x562)](_0x219735);if(_0x52b786)try{const _0x3f9b27=this[_0x5a24c4(0x304)](_0x52b786,_0x5c9144);this[_0x5a24c4(0x495)](_0x219735,_0x3f9b27);}catch(_0x28a1ef){this[_0x5a24c4(0x1e4)]['error'](_0x5a24c4(0x517),_0x28a1ef),this[_0x5a24c4(0x520)](_0x219735);}const _0x2951c8=this[_0x5a24c4(0x26e)](_0x219735);if(_0x2951c8)try{const _0x524771=this[_0x5a24c4(0x304)](_0x2951c8,_0x5c9144);this[_0x5a24c4(0x353)](_0x219735,_0x524771);}catch(_0x5a1d6e){this['_logService'][_0x5a24c4(0x4b9)](_0x5a1d6e),this[_0x5a24c4(0x487)](_0x219735);}}['_clearUndo'](_0x5149e9){const _0x9785d2=_0x4fb43a,_0xda304a=this[_0x9785d2(0x562)](_0x5149e9);_0xda304a&&(_0xda304a[_0x9785d2(0x4f3)]=0x0,this[_0x9785d2(0x235)]());}[_0x4fb43a(0x487)](_0x1a41d8){const _0x564cc5=_0x4fb43a,_0x1229e1=this['_getRedoStack'](_0x1a41d8);_0x1229e1&&(_0x1229e1[_0x564cc5(0x4f3)]=0x0,this[_0x564cc5(0x235)]());}['_substituteUndoStack'](_0x345229,_0x25803d){const _0x528449=_0x4fb43a;this[_0x528449(0x577)][_0x528449(0x3dc)](_0x345229,_0x25803d),this[_0x528449(0x235)]();}[_0x4fb43a(0x353)](_0x2efab2,_0x587138){const _0x13f243=_0x4fb43a;this[_0x13f243(0x200)][_0x13f243(0x3dc)](_0x2efab2,_0x587138),this['_updateStatus']();}[_0x4fb43a(0x304)](_0x274883,_0x5178c7){const _0x4566c7=_0x4fb43a,_0x39eb7b=[];let _0x93721a=_0x5178c7,_0x39a28f=_0x5178c7;for(let _0x2cfe90=_0x274883['length']-0x1;_0x2cfe90>=0x0;_0x2cfe90--){const {unitID:_0xd8ddaa,undoMutations:_0x214ddf,redoMutations:_0x5782cf}=_0x274883[_0x2cfe90],_0x33123d=this[_0x4566c7(0x56a)][_0x4566c7(0x2aa)](_0x93721a,_0x214ddf),_0x26cade=this['_transformService']['transformMutationsWithChangeset'](_0x39a28f,_0x5782cf);if(_0x3a188f['isTransformMutationsWithChangesetFailure'](_0x33123d)||_0x3a188f[_0x4566c7(0x4d4)](_0x26cade)){this[_0x4566c7(0x1e4)]['error'](_0x4566c7(0x517),_0x4566c7(0x460),_0x33123d,_0x26cade);break;}_0x93721a=_0x33123d[_0x4566c7(0x433)],_0x39a28f=_0x26cade[_0x4566c7(0x433)],_0x39eb7b[_0x4566c7(0x582)]({'unitID':_0xd8ddaa,'undoMutations':_0x33123d[_0x4566c7(0x331)],'redoMutations':_0x26cade[_0x4566c7(0x331)]});}return _0x39eb7b[_0x4566c7(0x136)]();}};_0x5dbeae=_0x30aef9([_0x599fcf(0x0,_0x27d805[_0x4fb43a(0x25e)]),_0x599fcf(0x1,_0x27d805[_0x4fb43a(0x120)]),_0x599fcf(0x2,_0x27d805['IContextService']),_0x599fcf(0x3,_0x3a188f['ITransformService']),_0x599fcf(0x4,_0x27d805[_0x4fb43a(0x43d)])],_0x5dbeae);class _0x1e2d1f extends _0x27d805[_0x4fb43a(0x569)]{constructor(){const _0x4b7fd9=_0x4fb43a;super(),_0x27d8b8(this,_0x4b7fd9(0x5a1)),this['urlChange$']=_0x21eaf3['fromEvent'](window,_0x4b7fd9(0x22f))[_0x4b7fd9(0x35c)](_0x21eaf3[_0x4b7fd9(0x321)](this[_0x4b7fd9(0x311)]),_0x21eaf3[_0x4b7fd9(0x579)](0x1),_0x21eaf3['mapTo'](void 0x0));}[_0x4fb43a(0x2e8)](_0x53ae86,_0x3845ad,_0x84e92d=!0x1){const _0x38df4b=_0x4fb43a,_0x26caf4=new URL(window['location'][_0x38df4b(0x1bf)]);_0x26caf4['searchParams'][_0x38df4b(0x3dc)](_0x53ae86,_0x3845ad),_0x84e92d?window[_0x38df4b(0x18e)][_0x38df4b(0xf1)]('','',_0x26caf4[_0x38df4b(0x491)]()):window[_0x38df4b(0x18e)][_0x38df4b(0x103)]('','',_0x26caf4[_0x38df4b(0x491)]());}[_0x4fb43a(0x574)](_0x45a61e,_0x4ca55b=!0x1){const _0x34e893=_0x4fb43a,_0x358329=new URL(window[_0x34e893(0x436)]['href']);_0x358329[_0x34e893(0x4d8)][_0x34e893(0x4ad)](_0x45a61e),_0x4ca55b?window[_0x34e893(0x18e)][_0x34e893(0xf1)]('','',_0x358329[_0x34e893(0x491)]()):window[_0x34e893(0x18e)][_0x34e893(0x103)]('','',_0x358329[_0x34e893(0x491)]());}[_0x4fb43a(0x386)](_0x16bbde){const _0x1be67a=_0x4fb43a;var _0x59f455;return(_0x59f455=new URL(window[_0x1be67a(0x436)][_0x1be67a(0x1bf)])[_0x1be67a(0x4d8)]['get'](_0x16bbde))!=null?_0x59f455:void 0x0;}}var _0x20edae=Object[_0x4fb43a(0x3de)],_0x24c451=Object[_0x4fb43a(0x44a)],_0x5037bc=(_0x20ee05,_0x302603,_0x28e517)=>_0x302603 in _0x20ee05?_0x20edae(_0x20ee05,_0x302603,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28e517}):_0x20ee05[_0x302603]=_0x28e517,_0x597558=(_0x114e5a,_0x4fc5d7,_0x20a384,_0x657003)=>{const _0x25405c=_0x4fb43a;for(var _0x5a96ef=_0x657003>0x1?void 0x0:_0x657003?_0x24c451(_0x4fc5d7,_0x20a384):_0x4fc5d7,_0x1e5d0e=_0x114e5a[_0x25405c(0x4f3)]-0x1,_0x1de78d;_0x1e5d0e>=0x0;_0x1e5d0e--)(_0x1de78d=_0x114e5a[_0x1e5d0e])&&(_0x5a96ef=(_0x657003?_0x1de78d(_0x4fc5d7,_0x20a384,_0x5a96ef):_0x1de78d(_0x5a96ef))||_0x5a96ef);return _0x657003&&_0x5a96ef&&_0x20edae(_0x4fc5d7,_0x20a384,_0x5a96ef),_0x5a96ef;},_0x5485b7=(_0x49b3c8,_0x44c6d3)=>(_0x30a0c3,_0x1e3d6b)=>_0x44c6d3(_0x30a0c3,_0x1e3d6b,_0x49b3c8),_0x3da838=(_0x58ade1,_0x1d99c8,_0x43ad03)=>_0x5037bc(_0x58ade1,_0x1d99c8+'',_0x43ad03);const _0x378bc1=_0x4fb43a(0x533);_0x5e2809[_0x4fb43a(0x2fa)]=class extends _0x27d805['Plugin']{constructor(_0x161808=_0xd8ed9b,_0x27b412,_0x30d5ed,_0x5b233c,_0x39f44d){const _0x1ac75d=_0x4fb43a;super(),this[_0x1ac75d(0x1ee)]=_0x161808,this['_logService']=_0x27b412,this['_renderManagerService']=_0x30d5ed,this[_0x1ac75d(0x371)]=_0x5b233c,this['_configService']=_0x39f44d;const {..._0xf3ff96}=this[_0x1ac75d(0x1ee)];this[_0x1ac75d(0x16e)][_0x1ac75d(0x15e)](_0x4df054,_0xf3ff96);}['onStarting'](){const _0x5c959c=_0x4fb43a;this[_0x5c959c(0x4af)](),this['_initDependencies']();}['onReady'](){const _0x584979=_0x4fb43a;_0x27d805[_0x584979(0x3cf)](this[_0x584979(0x371)],[[_0x41b8c6]]);}[_0x4fb43a(0x1d6)](){const _0x6c8d10=_0x4fb43a;this[_0x6c8d10(0x301)]();}['_registerDependencies'](){const _0x5b85a5=_0x4fb43a;var _0x42afcd,_0x18e55e,_0x29028c,_0x4996dd;this[_0x5b85a5(0x371)]['has'](_0x27d805[_0x5b85a5(0x24b)])&&this[_0x5b85a5(0x1e4)]['error'](_0x5b85a5(0x551),_0x5b85a5(0x4c0));const _0x39f1d1=[[_0x27d805[_0x5b85a5(0x24b)],{'useClass':_0x5dbeae}],[_0x5e2809[_0x5b85a5(0x263)]],[_0xdb50cd],[_0x58d9b1,{'useClass':_0x1e2d1f}],[_0x5e2809[_0x5b85a5(0x166)]],[_0x5e2809[_0x5b85a5(0x33c)]],[_0x311014[_0x5b85a5(0x2cd)]],[_0x2ebd4b],[_0x84b5a],[_0x748ee],[_0x4f5ac4],[_0x2f7020],[_0x44e269],[_0x5534be],[_0xe523a5],[_0x217445],[_0x35a831,{'useClass':(_0x18e55e=(_0x42afcd=this[_0x5b85a5(0x1ee)])==null?void 0x0:_0x42afcd[_0x5b85a5(0x231)])!=null?_0x18e55e:_0x5e2809[_0x5b85a5(0x3c1)]}],[_0x3a188f[_0x5b85a5(0x27e)],{'useClass':_0x5e2809[_0x5b85a5(0x558)]}],[_0x27d805[_0x5b85a5(0x355)],{'useClass':_0x5e2809[_0x5b85a5(0x2fc)]}],[_0x5291d5['IImageIoService'],{'useClass':_0x5e2809['ImageIoService']}],[_0x5e2809['CollaborationController']],[_0x5e2809[_0x5b85a5(0x4d7)]],[_0x5e2809['DesktopCollaborationStatusDisplayController']],[_0x41b8c6],[_0x573cb9]];(_0x29028c=this[_0x5b85a5(0x1ee)])!=null&&_0x29028c[_0x5b85a5(0x404)]&&_0x39f1d1[_0x5b85a5(0x582)]([_0xf00aca,{'useClass':_0x196f69}]),_0x27d805[_0x5b85a5(0x336)](this[_0x5b85a5(0x371)],_0x27d805['mergeOverrideWithDependencies'](_0x39f1d1,(_0x4996dd=this['_config'])==null?void 0x0:_0x4996dd['override']));}[_0x4fb43a(0x301)](){const _0x326cb9=_0x4fb43a;this[_0x326cb9(0x421)](this[_0x326cb9(0x463)][_0x326cb9(0x273)](_0x27d805['UniverInstanceType'][_0x326cb9(0x515)],[_0x350ea2])),this['disposeWithMe'](this[_0x326cb9(0x463)][_0x326cb9(0x273)](_0x27d805[_0x326cb9(0x23f)][_0x326cb9(0x2bf)],[_0x30649a]));}[_0x4fb43a(0x147)](){const _0x6730e6=_0x4fb43a;var _0x43c4e9,_0x50f7e1;this[_0x6730e6(0x371)][_0x6730e6(0x457)](_0x311014[_0x6730e6(0x2f8)])[_0x6730e6(0x539)]({'priority':0x14,'interceptor':_0x311014['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x43c4e9=this[_0x6730e6(0x1ee)])!=null&&_0x43c4e9[_0x6730e6(0x5a8)]||this[_0x6730e6(0x371)][_0x6730e6(0x457)](_0x5e2809[_0x6730e6(0x33c)])[_0x6730e6(0x1c9)](),(_0x50f7e1=this[_0x6730e6(0x1ee)])!=null&&_0x50f7e1[_0x6730e6(0x305)]&&_0x27d805[_0x6730e6(0x3cf)](this[_0x6730e6(0x371)],[[_0x44e269]]),_0x27d805[_0x6730e6(0x3cf)](this[_0x6730e6(0x371)],[[_0x5534be],[_0x573cb9],[_0x5e2809[_0x6730e6(0x4d7)]],[_0x5e2809[_0x6730e6(0x568)]],[_0x5e2809[_0x6730e6(0x271)]],[_0x217445]]);}},_0x3da838(_0x5e2809[_0x4fb43a(0x2fa)],_0x4fb43a(0x2fb),_0x378bc1),_0x5e2809[_0x4fb43a(0x2fa)]=_0x597558([_0x27d805[_0x4fb43a(0xec)](_0x3a188f['UniverCollaborationPlugin'],_0x311014['UniverNetworkPlugin']),_0x5485b7(0x1,_0x27d805[_0x4fb43a(0x43d)]),_0x5485b7(0x2,_0x48e10d[_0x4fb43a(0x5a9)]),_0x5485b7(0x3,_0x27d805['Inject'](_0x27d805['Injector'])),_0x5485b7(0x4,_0x27d805[_0x4fb43a(0x2d7)])],_0x5e2809['UniverCollaborationClientPlugin']),_0x5e2809[_0x4fb43a(0x2b5)]=_0x969067,_0x5e2809[_0x4fb43a(0x4b4)]=_0x5059e7,_0x5e2809[_0x4fb43a(0x26c)]=_0x1030cd,_0x5e2809['CollaborationStatus']=_0x3c2896,_0x5e2809[_0x4fb43a(0x1c2)]=_0x17b4cf,_0x5e2809['CommentService']=_0xe523a5,_0x5e2809[_0x4fb43a(0x102)]=_0x1692b3,_0x5e2809[_0x4fb43a(0x2f2)]=_0x41e4a2,_0x5e2809[_0x4fb43a(0x15b)]=_0x35a831,_0x5e2809[_0x4fb43a(0x43a)]=_0x58d9b1,_0x5e2809[_0x4fb43a(0x30b)]=_0x2c583d,_0x5e2809['LOGIN_URL_KEY']=_0x1fa733,_0x5e2809['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x1144ca,_0x5e2809[_0x4fb43a(0x238)]=_0x227929,_0x5e2809[_0x4fb43a(0x41b)]=_0x34b214,_0x5e2809[_0x4fb43a(0x506)]=_0x52ac5e,_0x5e2809[_0x4fb43a(0x50e)]=_0x4a52a5,_0x5e2809[_0x4fb43a(0x3f7)]=_0x5f1168,_0x5e2809[_0x4fb43a(0x405)]=_0x1e2d1f,_0x5e2809[_0x4fb43a(0x212)]=_0x31e385,_0x5e2809[_0x4fb43a(0x376)]=_0x520ced,Object[_0x4fb43a(0x3de)](_0x5e2809,Symbol['toStringTag'],{'value':_0x4fb43a(0x47d)});}));
|