@univerjs-pro/collaboration-client 0.8.0-nightly.202506041607 → 0.8.0-nightly.202506061607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x25fdaf=_0x305e;(function(_0x4b7acb,_0x40518f){var _0x7bc264=_0x305e,_0x1b0394=_0x4b7acb();while(!![]){try{var _0x5a3c90=-parseInt(_0x7bc264(0x2e4))/0x1+-parseInt(_0x7bc264(0x4c1))/0x2+-parseInt(_0x7bc264(0x474))/0x3+parseInt(_0x7bc264(0x2c3))/0x4*(-parseInt(_0x7bc264(0x35b))/0x5)+parseInt(_0x7bc264(0x4fe))/0x6+-parseInt(_0x7bc264(0x4b1))/0x7+parseInt(_0x7bc264(0x426))/0x8*(parseInt(_0x7bc264(0x385))/0x9);if(_0x5a3c90===_0x40518f)break;else _0x1b0394['push'](_0x1b0394['shift']());}catch(_0x426756){_0x1b0394['push'](_0x1b0394['shift']());}}}(_0x1691,0x9b141));var Dt=Object[_0x25fdaf(0x1bf)],At=(_0x235cfd,_0x4dfae8,_0x56c56f)=>_0x4dfae8 in _0x235cfd?Dt(_0x235cfd,_0x4dfae8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56c56f}):_0x235cfd[_0x4dfae8]=_0x56c56f,A=(_0xb76d10,_0x2ed88e,_0x5c86cd)=>At(_0xb76d10,typeof _0x2ed88e!=_0x25fdaf(0x35f)?_0x2ed88e+'':_0x2ed88e,_0x5c86cd);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x25fdaf(0x39e)),$=require(_0x25fdaf(0x2d0)),V=require(_0x25fdaf(0x1b8)),I=require('@univerjs-pro/collaboration'),Y=require('@univerjs/network'),Pt=require(_0x25fdaf(0x3e4)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require(_0x25fdaf(0x293)),wt=require(_0x25fdaf(0x1f2)),_t=_0x25fdaf(0x26d),Lt=_0x25fdaf(0x2c7),lt=_0x25fdaf(0x3aa),Mt=_0x25fdaf(0x48f),xt=0x7d0,ut=_0x25fdaf(0x2ff),dt=_0x25fdaf(0x4ea),kt=_0x25fdaf(0x2f7),vt=_0x25fdaf(0x472),Ht=0x7530,ke=_0x25fdaf(0x30e),St=0x4e20,$t=0x4e20,ft=_0x25fdaf(0x30b),jt=0x3,Bt=_0x25fdaf(0x30a),Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x25fdaf(0x499),It=_0x25fdaf(0x22d),Wt=_0x25fdaf(0x2be),Gt=_0x25fdaf(0x370),Kt=_0x25fdaf(0x2b3);var gt=(_0x2202c6=>(_0x2202c6[_0x2202c6[_0x25fdaf(0x49b)]=0x0]=_0x25fdaf(0x49b),_0x2202c6[_0x2202c6['OK']=0x1]='OK',_0x2202c6[_0x2202c6['INTERNAL_ERROR']=0x2]=_0x25fdaf(0x24b),_0x2202c6[_0x2202c6['PERMISSION_DENIED']=0x3]=_0x25fdaf(0x3e2),_0x2202c6[_0x2202c6[_0x25fdaf(0x3a0)]=0x4]='NOT_FOUND',_0x2202c6[_0x2202c6['UNAUTHENTICATED']=0x5]=_0x25fdaf(0x479),_0x2202c6[_0x2202c6['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2202c6[_0x2202c6[_0x25fdaf(0x412)]=0x7]='INVALID_ARGUMENT',_0x2202c6[_0x2202c6[_0x25fdaf(0x38d)]=0x8]=_0x25fdaf(0x38d),_0x2202c6[_0x2202c6[_0x25fdaf(0x478)]=0x9]='COMPLETION_FINISHED',_0x2202c6[_0x2202c6[_0x25fdaf(0x228)]=0xa]=_0x25fdaf(0x228),_0x2202c6[_0x2202c6[_0x25fdaf(0x25a)]=0x1389]=_0x25fdaf(0x25a),_0x2202c6[_0x2202c6[_0x25fdaf(0x2b6)]=0x1771]=_0x25fdaf(0x2b6),_0x2202c6[_0x2202c6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x25fdaf(0x4d7),_0x2202c6[_0x2202c6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25fdaf(0x1db),_0x2202c6[_0x2202c6[_0x25fdaf(0x229)]=0x1b59]='APPLY_REJECT',_0x2202c6[_0x2202c6['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x25fdaf(0x345),_0x2202c6[_0x2202c6[_0x25fdaf(0x3f9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2202c6[_0x2202c6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2202c6[_0x2202c6['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x2202c6[_0x2202c6[_0x25fdaf(0x24a)]=0x1f41]=_0x25fdaf(0x24a),_0x2202c6[_0x2202c6[_0x25fdaf(0x315)]=0x2329]=_0x25fdaf(0x315),_0x2202c6[_0x2202c6[_0x25fdaf(0x2ba)]=0x232a]=_0x25fdaf(0x2ba),_0x2202c6[_0x2202c6[_0x25fdaf(0x3af)]=0x232b]=_0x25fdaf(0x3af),_0x2202c6[_0x2202c6[_0x25fdaf(0x505)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2202c6[_0x2202c6[_0x25fdaf(0x510)]=0x232d]=_0x25fdaf(0x510),_0x2202c6[_0x2202c6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x25fdaf(0x4f8),_0x2202c6[_0x2202c6[_0x25fdaf(0x454)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e6)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2202c6[_0x2202c6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x50a)]=0x271a]=_0x25fdaf(0x50a),_0x2202c6[_0x2202c6[_0x25fdaf(0x4ae)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2202c6[_0x2202c6[_0x25fdaf(0x326)]=0x271c]=_0x25fdaf(0x326),_0x2202c6[_0x2202c6[_0x25fdaf(0x20c)]=0x271d]=_0x25fdaf(0x20c),_0x2202c6[_0x2202c6[_0x25fdaf(0x389)]=0x271e]=_0x25fdaf(0x389),_0x2202c6[_0x2202c6['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x2202c6[_0x2202c6[_0x25fdaf(0x271)]=0x2af9]=_0x25fdaf(0x271),_0x2202c6[_0x2202c6[_0x25fdaf(0x34a)]=0x2ee1]=_0x25fdaf(0x34a),_0x2202c6[_0x2202c6[_0x25fdaf(0x344)]=0x2ee2]=_0x25fdaf(0x344),_0x2202c6[_0x2202c6['INVITE_CODE_REQUIRED']=0x2ee3]=_0x25fdaf(0x317),_0x2202c6[_0x2202c6[_0x25fdaf(0x443)]=0x2ee4]=_0x25fdaf(0x443),_0x2202c6[_0x2202c6['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x25fdaf(0x3c6),_0x2202c6[_0x2202c6['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x25fdaf(0x4c3),_0x2202c6[_0x2202c6[_0x25fdaf(0x224)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e8)]=0x32cb]=_0x25fdaf(0x2e8),_0x2202c6[_0x2202c6[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x2202c6))(gt||{}),J=(_0x4166db=>(_0x4166db[_0x4166db[_0x25fdaf(0x430)]=0x0]=_0x25fdaf(0x430),_0x4166db[_0x4166db[_0x25fdaf(0x1e0)]=0x1]=_0x25fdaf(0x1e0),_0x4166db[_0x4166db['UNIVER_SHEET']=0x2]=_0x25fdaf(0x3f5),_0x4166db[_0x4166db[_0x25fdaf(0x2e9)]=0x3]=_0x25fdaf(0x2e9),_0x4166db[_0x4166db[_0x25fdaf(0x246)]=0x4]=_0x25fdaf(0x246),_0x4166db[_0x4166db[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x4166db))(J||{}),W=(_0x1d77b9=>(_0x1d77b9[_0x1d77b9[_0x25fdaf(0x382)]=0x0]=_0x25fdaf(0x382),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x332)]=0x1]=_0x25fdaf(0x332),_0x1d77b9[_0x1d77b9['JOIN']=0x2]=_0x25fdaf(0x401),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3ac)]=0x3]=_0x25fdaf(0x3ac),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x4d9)]=0x4]=_0x25fdaf(0x4d9),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x489)]=0x5]=_0x25fdaf(0x489),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3fe)]=0x6]=_0x25fdaf(0x3fe),_0x1d77b9[_0x1d77b9['UNRECOGNIZED']=-0x1]=_0x25fdaf(0x328),_0x1d77b9))(W||{}),oe=(_0x28dd8b=>(_0x28dd8b[_0x28dd8b[_0x25fdaf(0x3a1)]=0x0]=_0x25fdaf(0x3a1),_0x28dd8b[_0x28dd8b['OK']=0x1]='OK',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x2a4)]=0x2]=_0x25fdaf(0x2a4),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x20e)]=0x3e9]=_0x25fdaf(0x20e),_0x28dd8b[_0x28dd8b['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x512)]=0x3eb]=_0x25fdaf(0x512),_0x28dd8b[_0x28dd8b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x25fdaf(0x2f8),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x28dd8b))(oe||{}),Et=(_0x3e54e1=>(_0x3e54e1[_0x3e54e1[_0x25fdaf(0x488)]=0x0]='Undefined',_0x3e54e1[_0x3e54e1[_0x25fdaf(0x402)]=0x1]=_0x25fdaf(0x402),_0x3e54e1[_0x3e54e1['HttpExport']=0x2]='HttpExport',_0x3e54e1[_0x3e54e1['UnitEmbedded']=0x3]=_0x25fdaf(0x3e8),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x2e0)]=0x4]=_0x25fdaf(0x2e0),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x3fd)]=0x5]=_0x25fdaf(0x3fd),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x3e54e1))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x344ab0=>(_0x344ab0[_0x25fdaf(0x50b)]=_0x25fdaf(0x50b),_0x344ab0[_0x25fdaf(0x3e2)]=_0x25fdaf(0x3e2),_0x344ab0[_0x25fdaf(0x375)]='CONFLICT',_0x344ab0[_0x25fdaf(0x36f)]=_0x25fdaf(0x36f),_0x344ab0[_0x25fdaf(0x31a)]='JOIN_ROOM_FAILED',_0x344ab0[_0x25fdaf(0x278)]=_0x25fdaf(0x278),_0x344ab0[_0x25fdaf(0x51a)]=_0x25fdaf(0x51a),_0x344ab0[_0x25fdaf(0x41c)]='SUBMIT_CHANGESET_TIMEOUT',_0x344ab0))(Z||{});class ee{constructor(){var _0x108343=_0x25fdaf;A(this,'_event$',new $[(_0x108343(0x23d))]()),A(this,_0x108343(0x4d0),this['_event$'][_0x108343(0x266)]());}[_0x25fdaf(0x297)](_0x526f60){var _0xf163fb=_0x25fdaf;this[_0xf163fb(0x39a)]['next'](_0x526f60);}}const mt=a[_0x25fdaf(0x3db)](_0x25fdaf(0x3fa));function Ct(_0x2a16c6){var _0x5ae973=_0x25fdaf,_0x25e7fa,_0x2f0d54,_0x1a00e7,_0x439da8,_0x48d748;const _0x40aca2=_0x2a16c6['data'],_0x54decf=JSON[_0x5ae973(0x3ed)](_0x40aca2);switch(_0x54decf['cmd']){case W[_0x5ae973(0x489)]:case W[_0x5ae973(0x332)]:{const _0x7b8101=_0x54decf[_0x5ae973(0x333)];return{..._0x54decf,'data':_0x7b8101,'cmd':_0x54decf[_0x5ae973(0x3f8)]};}case W[_0x5ae973(0x401)]:{const _0x368644=_0x54decf[_0x5ae973(0x276)];return{..._0x54decf,'data':_0x368644,'cmd':_0x54decf['cmd']};}case W[_0x5ae973(0x3fe)]:{const _0x466f0e=_0x54decf[_0x5ae973(0x272)];switch(_0x466f0e[_0x5ae973(0x353)]){case I[_0x5ae973(0x1e4)][_0x5ae973(0x1d6)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x25e7fa=_0x466f0e[_0x5ae973(0x4fb)])==null?void 0x0:_0x25e7fa['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1c8)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x2f0d54=_0x466f0e[_0x5ae973(0x29f)])==null?void 0x0:_0x2f0d54['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x2c5)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x1a00e7=_0x466f0e[_0x5ae973(0x3b3)])==null?void 0x0:_0x1a00e7['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent']['CHANGESET_REJ']:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x439da8=_0x466f0e['csRejEvent'])==null?void 0x0:_0x439da8['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x2ed)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x48d748=_0x466f0e['csShouldRetryEvent'])==null?void 0x0:_0x48d748['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x26f)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updateCursorEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1bd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x1f6)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x239)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x377)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x509)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x322)]:case I[_0x5ae973(0x1e4)][_0x5ae973(0x367)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x3cc)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x36e)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf['cmd']};case I['CollaborationEvent'][_0x5ae973(0x3c4)]:return{..._0x54decf,'data':_0x466f0e,'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x418)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x390)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x493)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updatePermissionObjEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4fd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['shouldCloseConn']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4b4)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x32b)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};default:return _0x54decf;}}default:return _0x54decf;}}function Tt(_0x3e5d7a){var _0x4b0443=_0x25fdaf;switch(_0x3e5d7a[_0x4b0443(0x3f8)]){case W[_0x4b0443(0x489)]:case W[_0x4b0443(0x332)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a[_0x4b0443(0x352)]});case W['INGEST']:{let _0x4d7c8b;switch(_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]){case I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)],'updateCursorEvent':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I['CollaborationEvent'][_0x4b0443(0x239)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x239)],'leaveEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x1bd)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)]['USERS_ENTER'],'joinEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x509)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x509)],'liveShareNewHost':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x367)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x367)],'liveShareOperation':_0x3e5d7a['data']['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)],'liveShareTerminate':_0x3e5d7a['data'][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x43c)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x43c)],'liveShareRequestHost':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x322)]};break;}default:_0x4d7c8b={'eventID':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]};}return JSON['stringify']({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a['routeKey'],'collaMsg':_0x4d7c8b});}case W[_0x4b0443(0x401)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a['routeKey'],'joinReq':_0x3e5d7a[_0x4b0443(0x1c9)]});case W[_0x4b0443(0x3ac)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a[_0x4b0443(0x352)],'leaveReq':_0x3e5d7a[_0x4b0443(0x1c9)]});default:throw new Error(_0x4b0443(0x1d9));}}var qt=Object[_0x25fdaf(0x4ca)],zt=(_0x1d8d60,_0x90b2f6,_0x454f82,_0x92baa4)=>{var _0x4c55b6=_0x25fdaf;for(var _0x3a5575=_0x92baa4>0x1?void 0x0:_0x92baa4?qt(_0x90b2f6,_0x454f82):_0x90b2f6,_0x3e8835=_0x1d8d60[_0x4c55b6(0x27c)]-0x1,_0xa53a3c;_0x3e8835>=0x0;_0x3e8835--)(_0xa53a3c=_0x1d8d60[_0x3e8835])&&(_0x3a5575=_0xa53a3c(_0x3a5575)||_0x3a5575);return _0x3a5575;},_e=(_0x54be5e,_0x1b18fb)=>(_0x5c143b,_0x59abd8)=>_0x1b18fb(_0x5c143b,_0x59abd8,_0x54be5e);const He=a['createIdentifier'](_0x25fdaf(0x211));function Jt(_0x4d0d2b,_0x218bcf,_0x82c56){var _0x1a52eb=_0x25fdaf;return _0x4d0d2b+'/'+_0x218bcf+_0x1a52eb(0x3ba)+_0x82c56+_0x1a52eb(0x409);}exports[_0x25fdaf(0x39b)]=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x26759a,_0x3e81e6,_0x3396dc,_0x40b77d,_0x7c740f){var _0x3c5946=_0x25fdaf;super(),this[_0x3c5946(0x307)]=_0x26759a,this['_httpService']=_0x3e81e6,this['_configService']=_0x3396dc,this[_0x3c5946(0x207)]=_0x40b77d,this[_0x3c5946(0x30d)]=_0x7c740f;}[_0x25fdaf(0x327)](_0x17a545){var _0x144525=_0x25fdaf;const _0x15cea5=this[_0x144525(0x307)][_0x144525(0x4bb)](Y['ISocketService']);if(!_0x15cea5)throw new Error(_0x144525(0x21b));const _0x378698=_0x15cea5['createSocket'](_0x17a545);if(!_0x378698)throw new Error(_0x144525(0x50f));const _0x5c4be5=new a[(_0x144525(0x494))](),_0x1687b4=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['close$'][_0x144525(0x4dd)](_0x4e3872=>_0x1687b4['next'](_0x4e3872))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x1687b4[_0x144525(0x4b3)]()));const _0x245225=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['error$']['subscribe'](_0x597895=>_0x245225[_0x144525(0x44d)](_0x597895))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x245225[_0x144525(0x4b3)]()));const _0x1e2617=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698[_0x144525(0x4e2)]['subscribe'](_0xb6236a=>{const _0x301947=Ct(_0xb6236a);_0x1e2617['next'](_0x301947);})),_0x5c4be5['add'](a['toDisposable'](()=>_0x1e2617['complete']()));let _0x35fda5;const _0x498e4c=()=>{var _0x231cba=_0x144525;_0x245225[_0x231cba(0x44d)](new Event('connection\x20error')),_0x1687b4[_0x231cba(0x44d)](new Event(_0x231cba(0x2d5))),_0x35fda5[_0x231cba(0x405)]();};return _0x35fda5={'memberID':'','close$':_0x1687b4[_0x144525(0x266)](),'error$':_0x245225[_0x144525(0x266)](),'open$':_0x378698[_0x144525(0x1fd)],'message$':_0x1e2617['asObservable'](),'send':_0x111772=>{var _0x12088f=_0x144525;if(_0x111772['cmd']===W['INGEST']){if(_0x111772[_0x12088f(0x1c9)][_0x12088f(0x353)]===I['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x12088f(0x432)](_0x35fda5,_0x111772[_0x12088f(0x1c9)])[_0x12088f(0x4ce)](_0x79efd0=>{var _0x28b3f7=_0x12088f;this[_0x28b3f7(0x207)][_0x28b3f7(0x2d3)](_0x79efd0),_0x498e4c();});return;}if(_0x111772[_0x12088f(0x1c9)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x344b1b=_0x111772['data'];this[_0x12088f(0x4bc)](_0x344b1b)[_0x12088f(0x46b)](_0x13bbc1=>{var _0x18fa71=_0x12088f;_0x1e2617[_0x18fa71(0x44d)]({'cmd':W[_0x18fa71(0x3fe)],'code':oe['OK'],'routeKey':_0x344b1b[_0x18fa71(0x1c9)]['unitID'],'routeType':'','data':{'eventID':I[_0x18fa71(0x1e4)][_0x18fa71(0x4a5)],'data':{'changesets':_0x13bbc1}}});})[_0x12088f(0x4ce)](_0x37fdf8=>{var _0x3f730d=_0x12088f;this[_0x3f730d(0x207)][_0x3f730d(0x2d3)](_0x37fdf8),_0x498e4c();});return;}}_0x378698[_0x12088f(0x3ec)](Tt(_0x111772));},'close':()=>{var _0x55485=_0x144525;_0x378698[_0x55485(0x405)](),_0x5c4be5[_0x55485(0x465)]();}},_0x35fda5;}async[_0x25fdaf(0x432)](_0x58f2f8,_0x6f2224){var _0x4f7cd3=_0x25fdaf,_0xd839f9,_0x5bcdf3;const {unitType:_0x4bd81c,unitID:_0x16ca89,changeset:_0x273e6d}=_0x6f2224[_0x4f7cd3(0x1c9)],_0x4ccd65={'unitID':_0x16ca89,'memberID':_0x58f2f8[_0x4f7cd3(0x33e)],'type':_0x4bd81c,'changeset':I[_0x4f7cd3(0x372)](_0x273e6d)},_0x23c501=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](pt),_0x4218da=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](K),_0x2b41d4=Jt((_0x5bcdf3=(_0xd839f9=_0x4218da==null?void 0x0:_0x4218da['collabSubmitChangesetUrl'])!=null?_0xd839f9:_0x23c501)!=null?_0x5bcdf3:Vt,_0x4bd81c,_0x16ca89);try{await this[_0x4f7cd3(0x35c)][_0x4f7cd3(0x22e)](_0x2b41d4,{'body':_0x4ccd65});}catch(_0x3c61f9){throw this[_0x4f7cd3(0x207)][_0x4f7cd3(0x2d3)]('[CollaborationSession]',_0x4f7cd3(0x3a9)),_0x3c61f9;}}async['_fetchMissChangesets'](_0x3428b4){var _0x1e5cdf=_0x25fdaf;const {unitID:_0x4b77e0,from:_0x34cd79,to:_0x20c8c8,unitType:_0x4d0f9b}=_0x3428b4[_0x1e5cdf(0x1c9)];return(await this[_0x1e5cdf(0x30d)][_0x1e5cdf(0x455)]({'metadata':void 0x0},{'unitID':_0x4b77e0,'type':_0x4d0f9b,'from':_0x34cd79,'to':_0x20c8c8}))['changesets'];}},exports[_0x25fdaf(0x39b)]=zt([_e(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),_e(0x1,a['Inject'](Y[_0x25fdaf(0x3b9)])),_e(0x2,a['IConfigService']),_e(0x3,a['ILogService']),_e(0x4,I[_0x25fdaf(0x378)])],exports[_0x25fdaf(0x39b)]);const Xt=_0x25fdaf(0x40b);function Zt(_0x232edc){var _0x19e6ca=_0x25fdaf;return JSON[_0x19e6ca(0x4eb)](_0x232edc)[_0x19e6ca(0x27c)];}class $e{constructor(){var _0x4db4fe=_0x25fdaf;A(this,_0x4db4fe(0x4d4),new $['Subject']()),A(this,'commentUpdate$',this[_0x4db4fe(0x4d4)][_0x4db4fe(0x266)]());}['onCommentUpdate'](_0x2a2aa4){var _0x528b59=_0x25fdaf;this[_0x528b59(0x4d4)][_0x528b59(0x44d)](_0x2a2aa4);}}var Qt=Object[_0x25fdaf(0x4ca)],ei=(_0x5d4268,_0x14b831,_0x316351,_0x19ee73)=>{var _0x31f948=_0x25fdaf;for(var _0x1de2a7=_0x19ee73>0x1?void 0x0:_0x19ee73?Qt(_0x14b831,_0x316351):_0x14b831,_0x10f37b=_0x5d4268[_0x31f948(0x27c)]-0x1,_0x4a27fb;_0x10f37b>=0x0;_0x10f37b--)(_0x4a27fb=_0x5d4268[_0x10f37b])&&(_0x1de2a7=_0x4a27fb(_0x1de2a7)||_0x1de2a7);return _0x1de2a7;},We=(_0x2ec556,_0x3604d8)=>(_0x4ca913,_0x220b92)=>_0x3604d8(_0x4ca913,_0x220b92,_0x2ec556);exports['MemberService']=class extends a['Disposable']{constructor(_0x527b4f,_0x52cbf2){var _0x261602=_0x25fdaf;super(),A(this,_0x261602(0x206),new Map()),A(this,'_roomCreated$',new $['Subject']()),(this[_0x261602(0x43b)]=_0x527b4f,this[_0x261602(0x4c6)]=_0x52cbf2,this[_0x261602(0x49f)]($['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x261602(0x31e)][_0x261602(0x3f5)])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x4e601e=>_0x4e601e[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_DOC'])['pipe'](V[_0x261602(0x1ba)](_0x46184f=>_0x46184f[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_SLIDE'])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x477846=>_0x477846[_0x261602(0x3dc)]())))[_0x261602(0x4dd)](_0x13902b=>this[_0x261602(0x398)](_0x13902b))));}['waitForRoom$'](_0x207d41){var _0x343fc4=_0x25fdaf;return this[_0x343fc4(0x206)]['has'](_0x207d41)?$['of'](this[_0x343fc4(0x206)][_0x343fc4(0x4bb)](_0x207d41)):this[_0x343fc4(0x1f3)][_0x343fc4(0x310)](V[_0x343fc4(0x1ba)](_0x597b17=>{var _0x15fca1=_0x343fc4;if(_0x597b17===_0x207d41)return this[_0x15fca1(0x206)][_0x15fca1(0x4bb)](_0x597b17);}));}[_0x25fdaf(0x2bb)](_0x57d027){this['_userManagerService']['setCurrentUser'](_0x57d027);}[_0x25fdaf(0x475)](){var _0x2b814c=_0x25fdaf;return this[_0x2b814c(0x4c6)][_0x2b814c(0x475)]();}[_0x25fdaf(0x4cf)](_0x454d47,_0x58adea){var _0x38db78=_0x25fdaf;let _0xe80c00=this[_0x38db78(0x206)][_0x38db78(0x4bb)](_0x454d47);_0xe80c00||(_0xe80c00=new ti(),this[_0x38db78(0x206)][_0x38db78(0x397)](_0x454d47,_0xe80c00),this[_0x38db78(0x1f3)][_0x38db78(0x44d)](_0x454d47)),_0xe80c00[_0x38db78(0x4cf)](_0x58adea);}[_0x25fdaf(0x3e1)](_0x46c768,_0xb83faa){var _0x3fc137=_0x25fdaf;const _0x291422=this[_0x3fc137(0x206)][_0x3fc137(0x4bb)](_0x46c768);_0x291422&&_0x291422[_0x3fc137(0x3e1)](_0xb83faa);}['getRoom'](_0x392a36){var _0x18a853=_0x25fdaf;return this[_0x18a853(0x206)][_0x18a853(0x4bb)](_0x392a36);}['getMember'](_0x47e553,_0x227193){var _0x1acbcb=_0x25fdaf;const _0x29d3b8=this[_0x1acbcb(0x206)][_0x1acbcb(0x4bb)](_0x47e553);if(_0x29d3b8)return _0x29d3b8[_0x1acbcb(0x218)](_0x227193);}[_0x25fdaf(0x398)](_0x4a758c){var _0x5df70f=_0x25fdaf;const _0x340f19=this['_roomMembers'][_0x5df70f(0x4bb)](_0x4a758c);_0x340f19&&(_0x340f19[_0x5df70f(0x465)](),this[_0x5df70f(0x206)][_0x5df70f(0x257)](_0x4a758c));}[_0x25fdaf(0x465)](){var _0x431e2e=_0x25fdaf;this[_0x431e2e(0x206)][_0x431e2e(0x265)](_0x5cef7c=>_0x5cef7c['dispose']()),this['_roomMembers'][_0x431e2e(0x3e9)](),this[_0x431e2e(0x1f3)]['complete']();}},exports[_0x25fdaf(0x303)]=ei([We(0x0,a[_0x25fdaf(0x379)]),We(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x26a)]))],exports[_0x25fdaf(0x303)]);class ti extends a[_0x25fdaf(0x2a0)]{constructor(){var _0xcc1819=_0x25fdaf;super(...arguments),A(this,_0xcc1819(0x1e3),new Map()),A(this,_0xcc1819(0x431),new $[(_0xcc1819(0x3cf))](this[_0xcc1819(0x1e3)])),A(this,_0xcc1819(0x2f9),this[_0xcc1819(0x431)]['asObservable']());}['dispose'](){var _0x5cea14=_0x25fdaf;this[_0x5cea14(0x1e3)][_0x5cea14(0x3e9)]();}[_0x25fdaf(0x4cf)](_0x49054f){var _0x4ad872=_0x25fdaf;this['_members'][_0x4ad872(0x397)](_0x49054f[_0x4ad872(0x33e)],_0x49054f),this[_0x4ad872(0x48c)]();}[_0x25fdaf(0x3e1)](_0x2f8b5b){var _0x40568e=_0x25fdaf;this[_0x40568e(0x1e3)]['delete'](_0x2f8b5b);}[_0x25fdaf(0x218)](_0x306574){var _0x317bb7=_0x25fdaf;return this['_members'][_0x317bb7(0x4bb)](_0x306574);}['getAllMembers'](){var _0x438b6e=_0x25fdaf;return Array[_0x438b6e(0x2ee)](this[_0x438b6e(0x1e3)]['values']());}['_emitMembers'](){var _0x13633b=_0x25fdaf;this[_0x13633b(0x431)][_0x13633b(0x44d)](this[_0x13633b(0x1e3)]);}}var ii=Object[_0x25fdaf(0x4ca)],ni=(_0x4abe24,_0x229f8b,_0x32040e,_0x5ba148)=>{var _0x1200fc=_0x25fdaf;for(var _0x27bed2=_0x5ba148>0x1?void 0x0:_0x5ba148?ii(_0x229f8b,_0x32040e):_0x229f8b,_0x376a0b=_0x4abe24[_0x1200fc(0x27c)]-0x1,_0x16054c;_0x376a0b>=0x0;_0x376a0b--)(_0x16054c=_0x4abe24[_0x376a0b])&&(_0x27bed2=_0x16054c(_0x27bed2)||_0x27bed2);return _0x27bed2;},se=(_0x450a6c,_0x2acc60)=>(_0xe46269,_0x5b1e4a)=>_0x2acc60(_0xe46269,_0x5b1e4a,_0x450a6c),re=(_0xc84849=>(_0xc84849[_0xc84849[_0x25fdaf(0x49c)]=0x0]='IDLE',_0xc84849[_0xc84849['JOINING']=0x1]=_0x25fdaf(0x342),_0xc84849[_0xc84849[_0x25fdaf(0x1e8)]=0x2]=_0x25fdaf(0x1e8),_0xc84849[_0xc84849[_0x25fdaf(0x323)]=0x3]=_0x25fdaf(0x323),_0xc84849))(re||{});const Ge={[oe[_0x25fdaf(0x2a4)]]:_0x25fdaf(0x1b2),[oe[_0x25fdaf(0x20e)]]:_0x25fdaf(0x296),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x25fdaf(0x302),[oe[_0x25fdaf(0x512)]]:_0x25fdaf(0x43a),[oe[_0x25fdaf(0x2f8)]]:'session.room-cnt-exceeds'};exports[_0x25fdaf(0x1ee)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x3603d1,_0x21816f,_0x4527f2,_0x47fda3,_0xad7a45,_0x3dd6a2,_0x12ec4f,_0x165d37,_0x3a94f6){var _0x359260=_0x25fdaf;super(),A(this,_0x359260(0x3ff),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x359260(0x3ff)]['asObservable']()),A(this,_0x359260(0x39a),new $['Subject']()),A(this,_0x359260(0x4d0),this[_0x359260(0x39a)][_0x359260(0x266)]()),A(this,'_socket'),A(this,_0x359260(0x3f2)),A(this,'_collaborationTimeoutTimer'),A(this,_0x359260(0x362),!0x1),A(this,_0x359260(0x45a),null),(this[_0x359260(0x450)]=_0x3603d1,this[_0x359260(0x207)]=_0x4527f2,this[_0x359260(0x2f0)]=_0x47fda3,this[_0x359260(0x4f6)]=_0xad7a45,this[_0x359260(0x1f0)]=_0x3dd6a2,this[_0x359260(0x48a)]=_0x12ec4f,this[_0x359260(0x33a)]=_0x165d37,this[_0x359260(0x31c)]=_0x3a94f6,this['_shouldReportTelemetry']=!!this[_0x359260(0x31c)],_0x21816f[_0x359260(0x310)]($[_0x359260(0x1b1)](this[_0x359260(0x3e6)]))[_0x359260(0x4dd)](_0x13ba3b=>{var _0x16a954=_0x359260,_0x1f9861;typeof _0x13ba3b>'u'||(this[_0x16a954(0x42e)]=_0x13ba3b,_0x13ba3b?(this[_0x16a954(0x47e)](_0x13ba3b),this[_0x16a954(0x3f2)]=_0x13ba3b[_0x16a954(0x4e2)][_0x16a954(0x4dd)](_0x1d538e=>{var _0x5df844=_0x16a954;_0x1d538e['routeKey']===this[_0x5df844(0x450)]&&this[_0x5df844(0x4a2)](_0x1d538e);})):(this[_0x16a954(0x22f)](),this[_0x16a954(0x3ff)][_0x16a954(0x44d)](0x2),(_0x1f9861=this['_socketMessageSubscription'])==null||_0x1f9861[_0x16a954(0x44e)](),this[_0x16a954(0x3f2)]=null));}));}get['sessionStatus'](){var _0x8a8ded=_0x25fdaf;return this[_0x8a8ded(0x3ff)][_0x8a8ded(0x381)]();}[_0x25fdaf(0x23a)](){var _0x38152d=_0x25fdaf,_0x255572,_0x3615aa;return(_0x3615aa=(_0x255572=this[_0x38152d(0x42e)])==null?void 0x0:_0x255572[_0x38152d(0x33e)])!=null?_0x3615aa:null;}[_0x25fdaf(0x465)](){var _0xeeb2ff=_0x25fdaf;super['dispose'](),this['dispose$']['next'](),this[_0xeeb2ff(0x3e6)][_0xeeb2ff(0x4b3)]();}[_0x25fdaf(0x405)](){var _0x5268e9=_0x25fdaf,_0x25d68e,_0x3afd28;this['_throwTelemetryCollaborationNewChangeset'](),(_0x25d68e=this['_socket'])==null||_0x25d68e[_0x5268e9(0x3ec)]({'cmd':W[_0x5268e9(0x3ac)],'data':{'roomID':this[_0x5268e9(0x450)]}}),(_0x3afd28=this[_0x5268e9(0x42e)])==null||_0x3afd28[_0x5268e9(0x405)](),this['_event$']['complete'](),this[_0x5268e9(0x3ff)][_0x5268e9(0x4b3)](),this[_0x5268e9(0x465)]();}[_0x25fdaf(0x4a2)](_0x52e0d9){var _0x37703e=_0x25fdaf;_0x52e0d9['cmd']===W[_0x37703e(0x401)]?this[_0x37703e(0x51f)](_0x52e0d9):_0x52e0d9[_0x37703e(0x3f8)]===W['RECV']&&this['_onRecvEvent'](_0x52e0d9);}[_0x25fdaf(0x47e)](_0x8e5de1){var _0x3236f3=_0x25fdaf;this[_0x3236f3(0x3ff)][_0x3236f3(0x44d)](0x1),_0x8e5de1[_0x3236f3(0x3ec)]({'cmd':W[_0x3236f3(0x401)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x25fdaf(0x51f)](_0x33ae30){var _0x4116d4=_0x25fdaf,_0x32b107;if(_0x33ae30[_0x4116d4(0x3ad)]in Ge){this[_0x4116d4(0x33a)]['emitEvent']({'id':Z[_0x4116d4(0x31a)],'data':Ge[_0x33ae30[_0x4116d4(0x3ad)]]}),this[_0x4116d4(0x3ff)]['next'](0x2);return;}this[_0x4116d4(0x3ff)][_0x4116d4(0x44d)](0x3);const _0x46761b=(_0x32b107=_0x33ae30[_0x4116d4(0x1c9)][_0x4116d4(0x369)][this[_0x4116d4(0x450)]])==null?void 0x0:_0x32b107[_0x4116d4(0x2b0)];_0x46761b&&_0x46761b['forEach'](_0xc9dd6=>this[_0x4116d4(0x1f0)]['updateMember'](this[_0x4116d4(0x450)],_0xc9dd6));}[_0x25fdaf(0x515)](_0x21f6ab){var _0x47e3d2=_0x25fdaf;try{const _0x10cfc4=_0x21f6ab[_0x47e3d2(0x1c9)];switch(_0x10cfc4[_0x47e3d2(0x353)]){case I[_0x47e3d2(0x1e4)]['USERS_ENTER']:this[_0x47e3d2(0x249)](_0x10cfc4),this[_0x47e3d2(0x39a)]['next'](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x239)]:this[_0x47e3d2(0x3ea)](_0x10cfc4),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x1c8)]:case I['CollaborationEvent'][_0x47e3d2(0x2ed)]:this[_0x47e3d2(0x355)](),this[_0x47e3d2(0x34d)](),this['_event$'][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x3c4)]:this['_logService']['error'](_0x47e3d2(0x3eb)+JSON[_0x47e3d2(0x4eb)](_0x10cfc4)),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x418)]:this['_commentService']['onCommentUpdate'](_0x10cfc4[_0x47e3d2(0x1c9)]),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;default:this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);}}catch(_0x539af0){this[_0x47e3d2(0x207)][_0x47e3d2(0x2d3)](_0x539af0,_0x21f6ab);}}[_0x25fdaf(0x249)](_0x288462){var _0x5437fb=_0x25fdaf;this['_memberService'][_0x5437fb(0x4cf)](this[_0x5437fb(0x450)],_0x288462[_0x5437fb(0x1c9)]);}['_onUserLeave'](_0x40593f){var _0x4240f8=_0x25fdaf;this[_0x4240f8(0x1f0)]['removeMember'](this['_unitID'],_0x40593f[_0x4240f8(0x1c9)][_0x4240f8(0x33e)]);}async[_0x25fdaf(0x3ec)](_0x12f6a6,_0x40aebf){var _0x32ef8b=_0x25fdaf;if(this[_0x32ef8b(0x294)]!==0x3||!this[_0x32ef8b(0x42e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x12f6a6[_0x32ef8b(0x353)]===I[_0x32ef8b(0x1e4)]['SUBMIT_CHANGESET']&&(this[_0x32ef8b(0x288)](),this['_startTelemetryCollaborationNewChangeset'](_0x12f6a6)),this[_0x32ef8b(0x42e)][_0x32ef8b(0x3ec)]({'cmd':W[_0x32ef8b(0x4d9)],'routeKey':_0x40aebf,'routeType':'','data':_0x12f6a6});}catch(_0x2fd416){this['_logService'][_0x32ef8b(0x2d3)](_0x2fd416);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5c89ec=_0x25fdaf,_0x3ee201;this[_0x5c89ec(0x4ff)]=setTimeout(()=>{var _0xc58ec5=_0x5c89ec;this[_0xc58ec5(0x4ff)]=null,this['_collaborationUIEventService'][_0xc58ec5(0x297)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3ee201=this[_0x5c89ec(0x2f0)][_0x5c89ec(0x507)](ke))!=null?_0x3ee201:St);}[_0x25fdaf(0x34d)](){var _0x10c2fe=_0x25fdaf;this[_0x10c2fe(0x4ff)]&&(clearTimeout(this[_0x10c2fe(0x4ff)]),this[_0x10c2fe(0x4ff)]=null);}[_0x25fdaf(0x46d)](_0x5ef589){var _0x3279c9=_0x25fdaf;if(!this[_0x3279c9(0x362)])return;const {data:_0x6f67c1}=_0x5ef589,{unitID:_0x170ac4,changeset:_0x2bc96a}=_0x6f67c1,{mutations:_0x4e0237,type:_0x49914b}=_0x2bc96a;this[_0x3279c9(0x45a)]={'unitId':_0x170ac4,'type':_0x49914b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x4e0237)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1bf876=_0x25fdaf;if(this['_shouldReportTelemetry']){if(!this[_0x1bf876(0x45a)]){this[_0x1bf876(0x207)]['error'](_0x1bf876(0x396),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]=performance['now'](),this[_0x1bf876(0x45a)][_0x1bf876(0x518)]=this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]-this['_telemetryInfo'][_0x1bf876(0x3b6)],this[_0x1bf876(0x31c)][_0x1bf876(0x2ae)](Xt,this[_0x1bf876(0x45a)]),this['_telemetryInfo']=null;}}[_0x25fdaf(0x22f)](){var _0x51c8ac=_0x25fdaf;this[_0x51c8ac(0x45a)]=null;}},exports[_0x25fdaf(0x1ee)]=ni([se(0x2,a[_0x25fdaf(0x248)]),se(0x3,a[_0x25fdaf(0x2e1)]),se(0x4,a[_0x25fdaf(0x3a5)](a['LocaleService'])),se(0x5,a[_0x25fdaf(0x3a5)](exports[_0x25fdaf(0x303)])),se(0x6,a[_0x25fdaf(0x3a5)]($e)),se(0x7,a[_0x25fdaf(0x3a5)](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports['CollaborationSession']);var ri=Object[_0x25fdaf(0x4ca)],si=(_0x229340,_0x36c1af,_0x1b0734,_0x146d15)=>{var _0x2caf12=_0x25fdaf;for(var _0x55f5e3=_0x146d15>0x1?void 0x0:_0x146d15?ri(_0x36c1af,_0x1b0734):_0x36c1af,_0x59a61a=_0x229340[_0x2caf12(0x27c)]-0x1,_0x1fce35;_0x59a61a>=0x0;_0x59a61a--)(_0x1fce35=_0x229340[_0x59a61a])&&(_0x55f5e3=_0x1fce35(_0x55f5e3)||_0x55f5e3);return _0x55f5e3;},he=(_0x56c089,_0x479cdb)=>(_0x578fb7,_0x37b47c)=>_0x479cdb(_0x578fb7,_0x37b47c,_0x56c089);exports[_0x25fdaf(0x440)]=class extends a['Disposable']{constructor(_0x48016d,_0xb91571,_0x4109bd,_0x43550d,_0x641fcf,_0x97d079){var _0xfb4aac=_0x25fdaf;super(),A(this,_0xfb4aac(0x3b4),new $[(_0xfb4aac(0x3cf))](void 0x0)),A(this,_0xfb4aac(0x417),this[_0xfb4aac(0x3b4)][_0xfb4aac(0x266)]()),A(this,_0xfb4aac(0x4a3),null),A(this,_0xfb4aac(0x350),new Map()),A(this,_0xfb4aac(0x50c),new $[(_0xfb4aac(0x3cf))](re[_0xfb4aac(0x49c)])),A(this,_0xfb4aac(0x32e),this[_0xfb4aac(0x50c)][_0xfb4aac(0x266)]()),A(this,'_socketReady',!0x1),A(this,_0xfb4aac(0x1b0)),A(this,_0xfb4aac(0x44f),0x0),A(this,_0xfb4aac(0x1c1)),A(this,_0xfb4aac(0x3c3)),(this[_0xfb4aac(0x307)]=_0x48016d,this['_logService']=_0xb91571,this['_configService']=_0x4109bd,this['_socketService']=_0x43550d,this['_collaborationUIEventService']=_0x641fcf,this['_networkConditionService']=_0x97d079,this[_0xfb4aac(0x1d4)]());}get[_0x25fdaf(0x42e)](){var _0x87a461=_0x25fdaf;return this[_0x87a461(0x3b4)][_0x87a461(0x381)]();}[_0x25fdaf(0x1d4)](){var _0x5b0858=_0x25fdaf;this['_networkConditionService']&&this[_0x5b0858(0x49f)](this[_0x5b0858(0x324)][_0x5b0858(0x3ca)][_0x5b0858(0x4dd)](_0x4e934c=>{var _0x163659=_0x5b0858;_0x4e934c&&!this['_socket']&&this[_0x163659(0x2b8)](),_0x4e934c||this[_0x163659(0x309)]();}));}['dispose'](){var _0x13976d=_0x25fdaf;super[_0x13976d(0x465)](),this[_0x13976d(0x270)](),this[_0x13976d(0x220)](),this[_0x13976d(0x1cb)](),this[_0x13976d(0x350)][_0x13976d(0x265)](_0x12b942=>_0x12b942[_0x13976d(0x465)]()),this['_sessions'][_0x13976d(0x3e9)](),this['_status$']['complete']();}async[_0x25fdaf(0x341)](_0x1cb1eb){var _0x32b4f5=_0x25fdaf;if(this[_0x32b4f5(0x350)][_0x32b4f5(0x3bc)](_0x1cb1eb))return this[_0x32b4f5(0x350)][_0x32b4f5(0x4bb)](_0x1cb1eb);this[_0x32b4f5(0x4da)]();const _0x4ef715=this[_0x32b4f5(0x307)][_0x32b4f5(0x277)](exports[_0x32b4f5(0x1ee)],_0x1cb1eb,this[_0x32b4f5(0x3b4)][_0x32b4f5(0x266)]());return this['_sessions'][_0x32b4f5(0x397)](_0x1cb1eb,_0x4ef715),_0x4ef715;}[_0x25fdaf(0x1ec)](_0x2b958a){var _0x58cfcf=_0x25fdaf,_0x1f66a3;const _0x4fa1f7=this[_0x58cfcf(0x350)][_0x58cfcf(0x4bb)](_0x2b958a);_0x4fa1f7&&(this[_0x58cfcf(0x350)][_0x58cfcf(0x257)](_0x2b958a),_0x4fa1f7[_0x58cfcf(0x405)]()),this[_0x58cfcf(0x350)][_0x58cfcf(0x25e)]||(_0x1f66a3=this['_socket'])==null||_0x1f66a3[_0x58cfcf(0x405)]();}[_0x25fdaf(0x2b8)](){var _0x4bf55a=_0x25fdaf;this[_0x4bf55a(0x44f)]=0x0,this[_0x4bf55a(0x270)](),this['_tryReconnect']();}[_0x25fdaf(0x270)](){var _0x13893a=_0x25fdaf;this[_0x13893a(0x1b0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x13893a(0x1b0)]=null);}async[_0x25fdaf(0x459)](){var _0x360356=_0x25fdaf,_0x49f2f6,_0x191517;const _0x34502e=this['_configService'][_0x360356(0x507)](ut),_0x4a35fb=this[_0x360356(0x2f0)][_0x360356(0x507)](K),_0x2f6f82=(_0x191517=(_0x49f2f6=_0x4a35fb==null?void 0x0:_0x4a35fb[_0x360356(0x27a)])!=null?_0x49f2f6:_0x34502e)!=null?_0x191517:dt,_0x1c51d0=await this[_0x360356(0x27d)][_0x360356(0x2e2)](_0x2f6f82);return this[_0x360356(0x4a3)]=_0x1c51d0,_0x1c51d0;}async[_0x25fdaf(0x4da)](){var _0x1fefb6=_0x25fdaf,_0x42b6fc,_0x565596;try{const _0x5afe53=(_0x565596=(_0x42b6fc=this[_0x1fefb6(0x42e)])!=null?_0x42b6fc:this[_0x1fefb6(0x4a3)])!=null?_0x565596:await this[_0x1fefb6(0x459)]();if(_0x5afe53){const _0x55e78c=_0x5afe53['send'];_0x5afe53[_0x1fefb6(0x3ec)]=_0x56c9d2=>(this[_0x1fefb6(0x3f7)](),_0x55e78c['apply'](_0x5afe53,[_0x56c9d2])),_0x5afe53[_0x1fefb6(0x4e2)][_0x1fefb6(0x4dd)](_0x533ee0=>this['_onMessage'](_0x5afe53,_0x533ee0)),_0x5afe53[_0x1fefb6(0x43e)][_0x1fefb6(0x310)](V[_0x1fefb6(0x34e)](0x1))['subscribe'](_0x1276c0=>this[_0x1fefb6(0x207)][_0x1fefb6(0x2d3)](_0x1fefb6(0x423),_0x1276c0)),_0x5afe53[_0x1fefb6(0x1fd)][_0x1fefb6(0x310)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x5afe53);}),_0x5afe53['close$']['pipe'](V[_0x1fefb6(0x34e)](0x1))[_0x1fefb6(0x4dd)](_0x1242bc=>{var _0x1af9cd=_0x1fefb6;this[_0x1af9cd(0x207)][_0x1af9cd(0x338)](_0x1af9cd(0x232),'socket\x20close',_0x1242bc),this['_onConnectionFailed']();});}}catch(_0xb37708){this[_0x1fefb6(0x207)]['error'](_0xb37708),this['_onConnectionFailed']();}}[_0x25fdaf(0x28a)](_0x3b3607){var _0x574255=_0x25fdaf;this[_0x574255(0x207)][_0x574255(0x338)]('[CollaborationSessionService]','socket\x20open.'),_0x3b3607[_0x574255(0x3ec)]({'cmd':W[_0x574255(0x332)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x3e674c=_0x25fdaf;this[_0x3e674c(0x420)]=!0x1,this[_0x3e674c(0x4a3)]=null,this[_0x3e674c(0x50c)][_0x3e674c(0x44d)](re[_0x3e674c(0x1e8)]),this[_0x3e674c(0x3b4)][_0x3e674c(0x44d)](null),this[_0x3e674c(0x220)](),this['_clearHeartbeatTimer']();}[_0x25fdaf(0x4c4)](){var _0x515220=_0x25fdaf,_0x439779;this[_0x515220(0x309)](),this[_0x515220(0x44f)]<((_0x439779=this[_0x515220(0x2f0)][_0x515220(0x507)](ft))!=null?_0x439779:jt)?(this[_0x515220(0x33a)][_0x515220(0x297)]({'id':Z[_0x515220(0x278)]}),this[_0x515220(0x2ab)]()):this['_collaborationUIEventService'][_0x515220(0x297)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5269e4=_0x25fdaf,_0x526b96;const _0x1cc257=this['_retryCount'],_0x4dbba1=this[_0x5269e4(0x2f0)][_0x5269e4(0x507)](K),_0xc325b3=_0x1cc257===0x0?0x0:((_0x526b96=_0x4dbba1==null?void 0x0:_0x4dbba1[_0x5269e4(0x1f8)])!=null?_0x526b96:$t)*0x2**_0x1cc257;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2736fa=_0x5269e4;clearTimeout(this[_0x2736fa(0x1b0)]),this['_retryConnectingTimer']=null,this[_0x2736fa(0x4da)]();},_0xc325b3),this[_0x5269e4(0x44f)]+=0x1;}[_0x25fdaf(0x2da)](_0x29a40a,_0x4003ca){var _0x1fb84e=_0x25fdaf;const {cmd:_0x32d7fc}=_0x4003ca;_0x32d7fc===W['HELLO']&&!this[_0x1fb84e(0x420)]&&(_0x29a40a[_0x1fb84e(0x33e)]=_0x4003ca[_0x1fb84e(0x1c9)][_0x1fb84e(0x33e)],this['_socket$'][_0x1fb84e(0x44d)](_0x29a40a),this[_0x1fb84e(0x50c)][_0x1fb84e(0x44d)](re[_0x1fb84e(0x323)]),this[_0x1fb84e(0x420)]=!0x0,this[_0x1fb84e(0x4a3)]=null),_0x32d7fc===W[_0x1fb84e(0x489)]&&this['_clearTimeoutTimer'](),this[_0x1fb84e(0x3f7)]();}[_0x25fdaf(0x3f7)](){var _0x139d4d=_0x25fdaf,_0x50a777;this['_clearHeartbeatTimer'](),this[_0x139d4d(0x1c1)]=setTimeout(()=>this[_0x139d4d(0x1d8)](),(_0x50a777=this[_0x139d4d(0x2f0)]['getConfig'](vt))!=null?_0x50a777:Ht);}[_0x25fdaf(0x1d8)](){this['_socket']['send']({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x25fdaf(0x504)](){var _0x68b052=_0x25fdaf,_0xe7030a;this[_0x68b052(0x3c3)]=setTimeout(()=>this[_0x68b052(0x4c4)](),(_0xe7030a=this['_configService']['getConfig'](ke))!=null?_0xe7030a:St);}[_0x25fdaf(0x1cb)](){var _0x9560f8=_0x25fdaf;this[_0x9560f8(0x1c1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x25fdaf(0x220)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x25fdaf(0x440)]=si([he(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),he(0x1,a['ILogService']),he(0x2,a[_0x25fdaf(0x2e1)]),he(0x3,He),he(0x4,a[_0x25fdaf(0x3a5)](ee)),he(0x5,a['Optional'](mt))],exports[_0x25fdaf(0x440)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x2bc45c){return'unit-cache-'+_0x2bc45c;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x439b1b,_0x5753ff,_0x2fc912,_0x356baf)=>{var _0x3caf80=_0x25fdaf;for(var _0x9184ef=_0x356baf>0x1?void 0x0:_0x356baf?ai(_0x5753ff,_0x2fc912):_0x5753ff,_0xf87481=_0x439b1b[_0x3caf80(0x27c)]-0x1,_0x48ec3d;_0xf87481>=0x0;_0xf87481--)(_0x48ec3d=_0x439b1b[_0xf87481])&&(_0x9184ef=_0x48ec3d(_0x9184ef)||_0x9184ef);return _0x9184ef;},De=(_0x207865,_0x132dba)=>(_0x461b35,_0x536d38)=>_0x132dba(_0x461b35,_0x536d38,_0x207865);function hi(_0x2596fc){var _0x4700b0=_0x25fdaf;const {unitID:_0x3de9d7,mutations:_0x53d78}=_0x2596fc;return{'unitId':_0x3de9d7,'subUnitId':_0x53d78[0x0][_0x4700b0(0x38e)][_0x4700b0(0x4fc)]};}exports[_0x25fdaf(0x3fc)]=class{constructor(_0x4bc5da,_0x573879,_0x577faf){var _0x379a02=_0x25fdaf;this[_0x379a02(0x307)]=_0x4bc5da,this[_0x379a02(0x4cd)]=_0x573879,this[_0x379a02(0x1b6)]=_0x577faf;}['transformSelections'](_0x556600){var _0x3e3dbb=_0x25fdaf,_0x5a14ba,_0x242571,_0xecda70,_0x41ff71;const _0x212f68=this[_0x3e3dbb(0x307)]['get'](X[_0x3e3dbb(0x306)]),{unitId:_0x228111,subUnitId:_0xaea3d0}=hi(_0x556600),_0x36705a=_0x212f68==null?void 0x0:_0x212f68[_0x3e3dbb(0x444)](_0x228111)[_0x3e3dbb(0x435)](),_0x52116d=(_0x242571=(_0x5a14ba=this['_instanceService'][_0x3e3dbb(0x2c4)](_0x228111))==null?void 0x0:_0x5a14ba['getActiveSheet']())==null?void 0x0:_0x242571[_0x3e3dbb(0x44a)]();if(_0x36705a[_0x3e3dbb(0x27c)]===0x0||!_0x228111||!_0xaea3d0)return;const _0x36d127=[{'id':X[_0x3e3dbb(0x413)]['id'],'params':{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':a[_0x3e3dbb(0x500)][_0x3e3dbb(0x256)](_0x36705a)}}],_0x292123=this[_0x3e3dbb(0x4cd)][_0x3e3dbb(0x2eb)](_0x556600,_0x36d127);if(!I[_0x3e3dbb(0x339)](_0x292123))throw _0x292123['error'];const _0x52752e=(_0x41ff71=(_0xecda70=_0x292123[_0x3e3dbb(0x470)][0x0])==null?void 0x0:_0xecda70[_0x3e3dbb(0x38e)])==null?void 0x0:_0x41ff71[_0x3e3dbb(0x252)];if(Array[_0x3e3dbb(0x3d0)](_0x52752e)&&_0x52752e[_0x3e3dbb(0x27c)]){if(_0x52752e['length']===_0x36d127[0x0]['params']['selections'][_0x3e3dbb(0x27c)]&&_0x52752e[_0x3e3dbb(0x37e)]((_0x45934a,_0x561ab2)=>a[_0x3e3dbb(0x222)][_0x3e3dbb(0x4e6)](_0x45934a['range'],_0x36d127[0x0][_0x3e3dbb(0x38e)][_0x3e3dbb(0x252)][_0x561ab2]['range'])))return;this[_0x3e3dbb(0x307)][_0x3e3dbb(0x4bb)](a[_0x3e3dbb(0x464)])['executeCommand'](X[_0x3e3dbb(0x413)]['id'],{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':_0x52752e});}}},exports[_0x25fdaf(0x3fc)]=ci([De(0x0,a['Inject'](a[_0x25fdaf(0x481)])),De(0x1,I[_0x25fdaf(0x4f2)]),De(0x2,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x3fc)]);const de=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');function _0x305e(_0x57c372,_0x41beb6){var _0x169196=_0x1691();return _0x305e=function(_0x305e25,_0x470f18){_0x305e25=_0x305e25-0x1b0;var _0x5ec1d1=_0x169196[_0x305e25];return _0x5ec1d1;},_0x305e(_0x57c372,_0x41beb6);}var je=(_0x267717=>(_0x267717[_0x267717[_0x25fdaf(0x3b8)]=0x0]=_0x25fdaf(0x3b8),_0x267717[_0x267717[_0x25fdaf(0x3f3)]=0x1]=_0x25fdaf(0x3f3),_0x267717))(je||{});const _i=new Set([X[_0x25fdaf(0x233)]['id']]);function Ke(_0x365c8a,_0x3a4414,_0x17b67c,_0x1e6663,_0x5fe07d){var _0xa48ff9=_0x25fdaf,_0x44df0d,_0x2b39d3,_0x2764f5,_0x14989d;const _0x470f26=[];for(const _0x5e9592 of _0x365c8a)if(_i[_0xa48ff9(0x3bc)](_0x5e9592['id'])){if(_0x470f26[_0xa48ff9(0x27c)]>0x0)break;_0x470f26[_0xa48ff9(0x46e)](_0x5e9592);break;}else _0x470f26['push'](_0x5e9592);const _0x3fcb9b=(_0x2b39d3=(_0x44df0d=_0x5fe07d[_0xa48ff9(0x475)]())==null?void 0x0:_0x44df0d['userID'])!=null?_0x2b39d3:_0xa48ff9(0x3d5),_0x29dc94=(_0x14989d=(_0x2764f5=_0x5fe07d['getCurrentUser']())==null?void 0x0:_0x2764f5['memberID'])!=null?_0x14989d:_0xa48ff9(0x3d5);return{'changeset':{'unitID':_0x3a4414,'type':I[_0xa48ff9(0x287)](_0x17b67c[_0xa48ff9(0x427)](_0x3a4414)),'baseRev':_0x1e6663['getCurrentRevOfUnit'](_0x3a4414),'revision':0x0,'userID':_0x3fcb9b,'memberID':_0x29dc94,'mutations':_0x470f26},'pendingMutations':_0x365c8a[_0xa48ff9(0x23b)](_0x470f26[_0xa48ff9(0x27c)])};}function li(_0xb90474,_0xc0a92a,_0x3e1cf6,_0x120771,_0x12f8b6){var _0x2dd534=_0x25fdaf,_0x33b79e,_0x4933a3,_0x432f84,_0x4eb4b2;const _0x5af939=[_0xb90474[_0x2dd534(0x374)]((_0x4619ff,_0x23a5f7)=>{var _0x239646=_0x2dd534,_0x322c05;const {id:_0x18dc0f}=_0x4619ff,{id:_0x2e0fdf,type:_0x22e866}=_0x23a5f7,_0x1ac981=(_0x322c05=_0x4619ff[_0x239646(0x38e)])!=null?_0x322c05:{'actions':null},_0x3b13bf=_0x23a5f7[_0x239646(0x38e)];if(_0x18dc0f&&_0x18dc0f!==_0x2e0fdf)throw new Error(_0x239646(0x3be)+_0x18dc0f+_0x239646(0x348)+_0x2e0fdf+'.');return{..._0x4619ff,'id':_0x2e0fdf,'type':_0x22e866,'params':{'unitId':_0x3b13bf[_0x239646(0x468)],'textRanges':_0x3b13bf['textRanges'],'actions':a[_0x239646(0x490)]['compose'](_0x1ac981[_0x239646(0x312)],_0x3b13bf[_0x239646(0x312)])}};},{})],_0x1eb13e=(_0x4933a3=(_0x33b79e=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x33b79e['userID'])!=null?_0x4933a3:_0x2dd534(0x3d5),_0x42efcb=(_0x4eb4b2=(_0x432f84=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x432f84[_0x2dd534(0x33e)])!=null?_0x4eb4b2:'unknown';return{'changeset':{'unitID':_0xc0a92a,'type':I['mapDocumentTypeToUniverType'](_0x3e1cf6[_0x2dd534(0x427)](_0xc0a92a)),'baseRev':_0x120771[_0x2dd534(0x3f0)](_0xc0a92a),'revision':0x0,'userID':_0x1eb13e,'memberID':_0x42efcb,'mutations':_0x5af939},'pendingMutations':[]};}function bt(_0x43da89,_0x11a43d){var _0x39f431=_0x25fdaf;const _0xdd99ab=new $['ReplaySubject'](0x1);return setTimeout(()=>_0xdd99ab[_0x39f431(0x44d)](_0x11a43d),_0x43da89),_0xdd99ab[_0x39f431(0x266)]()[_0x39f431(0x310)]($['take'](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x25fdaf(0x299)][_0x25fdaf(0x47b)],'params':{}};var di=Object[_0x25fdaf(0x4ca)],ae=(_0x5d10ec,_0x19b3b9,_0x2fce6d,_0x28dd80)=>{for(var _0x463b4c=_0x28dd80>0x1?void 0x0:_0x28dd80?di(_0x19b3b9,_0x2fce6d):_0x19b3b9,_0x33eb33=_0x5d10ec['length']-0x1,_0xf16cfc;_0x33eb33>=0x0;_0x33eb33--)(_0xf16cfc=_0x5d10ec[_0x33eb33])&&(_0x463b4c=_0xf16cfc(_0x463b4c)||_0x463b4c);return _0x463b4c;},w=(_0x478878,_0x369f0c)=>(_0x5c78ce,_0x227ea1)=>_0x369f0c(_0x5c78ce,_0x227ea1,_0x478878),Be=(_0x98ac82=>(_0x98ac82['NOT_COLLAB']=_0x25fdaf(0x27e),_0x98ac82[_0x25fdaf(0x36a)]=_0x25fdaf(0x4d8),_0x98ac82[_0x25fdaf(0x1df)]=_0x25fdaf(0x245),_0x98ac82['AWAITING']=_0x25fdaf(0x31f),_0x98ac82[_0x25fdaf(0x3c9)]=_0x25fdaf(0x2c0),_0x98ac82[_0x25fdaf(0x4e0)]=_0x25fdaf(0x1bc),_0x98ac82[_0x25fdaf(0x375)]=_0x25fdaf(0x3ce),_0x98ac82[_0x25fdaf(0x1e8)]=_0x25fdaf(0x45e),_0x98ac82))(Be||{});const Rt=0xea60;class ce{constructor(_0x4bb68d,_0x37a660,_0x2a225d,_0x13d6dc,_0x596427,_0x5f5aba,_0xc9acb7,_0x5e573b,_0x44501e){var _0x305d59=_0x25fdaf;A(this,_0x305d59(0x231),null),A(this,_0x305d59(0x48e),[]),(this['unitID']=_0x4bb68d,this['type']=_0x37a660,this[_0x305d59(0x264)]=_0x596427,this[_0x305d59(0x437)]=_0x5f5aba,this[_0x305d59(0x480)]=_0xc9acb7,this[_0x305d59(0x365)]=_0x5e573b,this['_localCacheService']=_0x44501e,this[_0x305d59(0x231)]=_0x2a225d,this[_0x305d59(0x48e)]=_0x13d6dc);}[_0x25fdaf(0x466)](_0x2c7f58){var _0x12f618=_0x25fdaf;const _0x41d4cb=this[_0x12f618(0x365)][_0x12f618(0x3f0)](this[_0x12f618(0x2fd)]);return _0x2c7f58['revision']>_0x41d4cb+0x1?(this[_0x12f618(0x264)][_0x12f618(0x456)]({'from':_0x41d4cb,'to':_0x2c7f58['revision']-0x1}),!0x0):!0x1;}[_0x25fdaf(0x301)](_0x5114a7){var _0x4382c7=_0x25fdaf;this[_0x4382c7(0x480)]['transformUndoRedo'](this[_0x4382c7(0x2fd)],_0x5114a7);}[_0x25fdaf(0x244)](_0x3b4e84){var _0x472c04=_0x25fdaf,_0x5d1fdd,_0x1079e5;(_0x1079e5=(_0x5d1fdd=this[_0x472c04(0x264)])[_0x472c04(0x39f)])==null||_0x1079e5[_0x472c04(0x1d5)](_0x5d1fdd,_0x3b4e84);}[_0x25fdaf(0x1dc)](_0x5cd4c7){var _0x4d9e9b=_0x25fdaf,_0x437f89,_0x3d6f08;return(_0x3d6f08=(_0x437f89=this[_0x4d9e9b(0x264)])['onTransformIME'])==null?void 0x0:_0x3d6f08[_0x4d9e9b(0x1d5)](_0x437f89,_0x5cd4c7);}[_0x25fdaf(0x26c)](_0x4b9cfe){var _0x59c552=_0x25fdaf,_0x141367,_0x420ec6;return(_0x420ec6=(_0x141367=this[_0x59c552(0x264)])['onTransformState'])==null?void 0x0:_0x420ec6[_0x59c552(0x1d5)](_0x141367,_0x4b9cfe);}['_transformRemoteChangesetByIMECache'](_0x1dd1e5){var _0x46b915=_0x25fdaf,_0x1b1a8c,_0x5e54a9,_0x4fc6fb;return(_0x4fc6fb=(_0x5e54a9=(_0x1b1a8c=this[_0x46b915(0x264)])[_0x46b915(0x214)])==null?void 0x0:_0x5e54a9[_0x46b915(0x1d5)](_0x1b1a8c,_0x1dd1e5))!=null?_0x4fc6fb:_0x1dd1e5;}[_0x25fdaf(0x4d3)](_0x12f44b){var _0x3216f7=_0x25fdaf,_0x4a68a4,_0x5939ba,_0x42a05c;return(_0x42a05c=(_0x5939ba=(_0x4a68a4=this[_0x3216f7(0x264)])[_0x3216f7(0x22a)])==null?void 0x0:_0x5939ba[_0x3216f7(0x1d5)](_0x4a68a4,_0x12f44b))!=null?_0x42a05c:_0x12f44b;}[_0x25fdaf(0x356)](_0x1a07f4){var _0x202bdc=_0x25fdaf,_0x37b1ea,_0x273d19;if(this[_0x202bdc(0x2fa)]===J[_0x202bdc(0x1e0)]){const {unitID:_0x5f1990,mutations:_0x339050,memberID:_0x21ed38}=_0x1a07f4,_0x245bf4=_0x339050[0x0]['params'][_0x202bdc(0x2d1)];Array['isArray'](_0x245bf4)&&_0x245bf4[_0x202bdc(0x27c)]>0x0&&((_0x273d19=(_0x37b1ea=this['_handler'])[_0x202bdc(0x343)])==null||_0x273d19[_0x202bdc(0x1d5)](_0x37b1ea,{'unitID':_0x5f1990,'memberID':_0x21ed38,'textRanges':_0x245bf4}));}}[_0x25fdaf(0x49d)](){var _0x2f6f2f=_0x25fdaf,_0xcb05b9;(_0xcb05b9=this[_0x2f6f2f(0x4db)])==null||_0xcb05b9[_0x2f6f2f(0x3f6)](this['unitID'],this[_0x2f6f2f(0x2fa)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x25fdaf(0x2b9)](){var _0x2d7709=_0x25fdaf;return this[_0x2d7709(0x365)][_0x2d7709(0x3f0)](this[_0x2d7709(0x2fd)]);}[_0x25fdaf(0x46a)](){var _0x1c5108=_0x25fdaf;this[_0x1c5108(0x365)]['incrementRevOfUnit'](this[_0x1c5108(0x2fd)]);}[_0x25fdaf(0x1e1)](_0x822262){var _0x11c923=_0x25fdaf,_0x46a5e6;let _0x45c1e4=this[_0x11c923(0x4c0)](_0x822262);_0x45c1e4=this[_0x11c923(0x4d3)](_0x45c1e4);const _0x562917=a['sequenceExecute'](_0x45c1e4[_0x11c923(0x240)],this[_0x11c923(0x437)],{'fromCollab':!0x0});if(!_0x562917[_0x11c923(0x392)])throw _0x562917[_0x11c923(0x2d3)]instanceof Error?_0x562917[_0x11c923(0x2d3)]:new Error((_0x46a5e6=_0x562917[_0x11c923(0x2d3)])!=null?_0x46a5e6:'[CollaborationState]:\x20apply\x20error!');this[_0x11c923(0x1dc)](_0x45c1e4),this[_0x11c923(0x26c)](_0x45c1e4),this[_0x11c923(0x301)](_0x822262),this[_0x11c923(0x244)](_0x45c1e4),this[_0x11c923(0x356)](_0x45c1e4),this['_incrementRevisionNumber']();}}exports[_0x25fdaf(0x21d)]=class extends ce{constructor(_0x36358b,_0x21d5d5,_0x36438e,_0x32febd,_0x542679,_0xa2aa18,_0x5d1283,_0x1bd898,_0x235847,_0x58aff3){var _0x48210c=_0x25fdaf;super(_0x36358b,_0x21d5d5,null,[],_0x36438e,_0x5d1283,_0xa2aa18,_0x32febd,_0x58aff3),A(this,_0x48210c(0x403),_0x48210c(0x4d8)),(this[_0x48210c(0x307)]=_0x542679,this['_logService']=_0x1bd898,this[_0x48210c(0x4cd)]=_0x235847,this[_0x48210c(0x279)]=_0x58aff3);}[_0x25fdaf(0x484)](_0x247b25){var _0x31026a=_0x25fdaf;const _0x3cb504=this[_0x31026a(0x307)][_0x31026a(0x277)](exports['PendingState'],this[_0x31026a(0x2fd)],this[_0x31026a(0x2fa)],[_0x247b25],this[_0x31026a(0x264)]);return _0x3cb504[_0x31026a(0x4a1)](),_0x3cb504['_updateLocalCache'](),_0x3cb504;}[_0x25fdaf(0x33d)](_0x2b0ef2){var _0xc593c7=_0x25fdaf;if(this[_0xc593c7(0x466)](_0x2b0ef2))return this[_0xc593c7(0x307)][_0xc593c7(0x277)](exports[_0xc593c7(0x2ad)],this[_0xc593c7(0x2fd)],this['type'],null,[],null,[_0x2b0ef2],this['_handler']);try{const _0x5b028a=this[_0xc593c7(0x4cd)]['transformMutationsWithChangeset'](_0x2b0ef2,[ui]);if(I[_0xc593c7(0x339)](_0x5b028a)){const {c1Prime:_0x2058c4}=_0x5b028a;return this['_executeRemoteChangeset'](_0x2058c4),this;}throw _0x5b028a[_0xc593c7(0x2d3)];}catch(_0xbcfdc8){return this[_0xc593c7(0x207)][_0xc593c7(0x2d3)](_0xbcfdc8),this[_0xc593c7(0x43f)](!0x1);}}[_0x25fdaf(0x43f)](_0x1c464d){var _0x36017=_0x25fdaf;return this['_injector'][_0x36017(0x277)](exports['ConflictState'],this['unitID'],this[_0x36017(0x2fa)],null,[],this[_0x36017(0x264)],_0x1c464d);}[_0x25fdaf(0x38c)](){var _0x23871f=_0x25fdaf;throw new Error(_0x23871f(0x2c9));}[_0x25fdaf(0x289)](){var _0x215bc9=_0x25fdaf;throw new Error(_0x215bc9(0x282));}[_0x25fdaf(0x4a0)](){return this;}['toggleOffline'](){var _0x2bd41a=_0x25fdaf;return this[_0x2bd41a(0x307)][_0x2bd41a(0x277)](exports[_0x2bd41a(0x2b4)],this[_0x2bd41a(0x2fd)],this['type'],null,[],this[_0x2bd41a(0x264)]);}[_0x25fdaf(0x452)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x482)](){var _0x44e414=_0x25fdaf;const _0x57707b=this[_0x44e414(0x365)]['getCurrentRevOfUnit'](this[_0x44e414(0x2fd)]);return this[_0x44e414(0x264)][_0x44e414(0x456)]({'from':_0x57707b,'to':0x0}),this[_0x44e414(0x307)][_0x44e414(0x277)](exports[_0x44e414(0x2ad)],this[_0x44e414(0x2fd)],this[_0x44e414(0x2fa)],null,[],null,[],this[_0x44e414(0x264)]);}},exports[_0x25fdaf(0x21d)]=ae([w(0x3,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x524)]),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x21d)]),exports['PendingState']=class extends ce{constructor(_0x31eeb9,_0x6958c7,_0x1dcd13,_0x53a854,_0x3f4aff,_0x554f5,_0x2a7946,_0x4abaaa,_0x4e3f64,_0x2ba1be,_0x59950f,_0x232a13,_0x3e400d,_0x4c275f){var _0x1c2842=_0x25fdaf;super(_0x31eeb9,_0x6958c7,null,_0x1dcd13,_0x53a854,_0x4e3f64,_0x3e400d,_0x554f5,_0x4c275f),A(this,_0x1c2842(0x403),_0x1c2842(0x245)),A(this,_0x1c2842(0x236),null),A(this,'_sendingTimer',null),(this['_injector']=_0x3f4aff,this[_0x1c2842(0x1f0)]=_0x2a7946,this['_logService']=_0x4abaaa,this['_configService']=_0x2ba1be,this[_0x1c2842(0x4cd)]=_0x59950f,this[_0x1c2842(0x43b)]=_0x232a13);}[_0x25fdaf(0x484)](_0x3c7fdd){var _0x2d8dad=_0x25fdaf;return this[_0x2d8dad(0x48e)][_0x2d8dad(0x46e)](_0x3c7fdd),this['_updateLocalCache'](),this;}[_0x25fdaf(0x33d)](_0x498a2b){var _0x37381c=_0x25fdaf;if(this[_0x37381c(0x466)](_0x498a2b))return this[_0x37381c(0x508)](),this[_0x37381c(0x307)][_0x37381c(0x277)](exports[_0x37381c(0x2ad)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],null,this[_0x37381c(0x48e)],null,[_0x498a2b],this[_0x37381c(0x264)]);try{const _0x158cea=this[_0x37381c(0x4cd)][_0x37381c(0x2eb)](_0x498a2b,this[_0x37381c(0x48e)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x158cea)){const {c1Prime:_0x1483da,m2Prime:_0x363b3b}=_0x158cea;this[_0x37381c(0x1e1)](_0x1483da);const _0x4b6681=this['_injector'][_0x37381c(0x277)](exports[_0x37381c(0x525)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],_0x363b3b,this[_0x37381c(0x264)]);this[_0x37381c(0x508)]();const _0x45a431=new Date()[_0x37381c(0x406)](),_0xdbf122=this[_0x37381c(0x236)]?Math[_0x37381c(0x243)](this[_0x37381c(0x236)]-_0x45a431,0x0):this[_0x37381c(0x4c7)]();return _0x4b6681['_schedule'](_0xdbf122),_0x4b6681;}throw _0x158cea[_0x37381c(0x2d3)];}catch(_0xdad1ad){return this[_0x37381c(0x207)][_0x37381c(0x2d3)](_0xdad1ad),this[_0x37381c(0x43f)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x25fdaf(0x289)](){var _0x2bbf07=_0x25fdaf;throw new Error(_0x2bbf07(0x477));}['onRemoteRetry'](){return this;}[_0x25fdaf(0x1d2)](){var _0x56f7e8=_0x25fdaf;return this[_0x56f7e8(0x508)](),this[_0x56f7e8(0x307)]['createInstance'](exports[_0x56f7e8(0x2b4)],this['unitID'],this[_0x56f7e8(0x2fa)],null,this[_0x56f7e8(0x48e)],this[_0x56f7e8(0x264)]);}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x4a1)](_0x262ced){var _0x1c49ce=_0x25fdaf;const _0x1bf68f=_0x262ced!=null?_0x262ced:this['_getSendChangesetTimeout']();this[_0x1c49ce(0x236)]=new Date()['getTime']()+_0x1bf68f,this[_0x1c49ce(0x4a9)]=setTimeout(()=>{var _0x241181=_0x1c49ce;this[_0x241181(0x508)]();let _0xce0b51=null;switch(this[_0x241181(0x2fa)]){case J['UNIVER_SHEET']:{_0xce0b51=Ke(this['_pendingMutations'],this[_0x241181(0x2fd)],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}case J[_0x241181(0x1e0)]:{this['_pendingMutations'][_0x241181(0x37e)](_0x2b69b5=>_0x2b69b5['id']===ht[_0x241181(0x486)]['id'])?_0xce0b51=li(this[_0x241181(0x48e)],this['unitID'],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]):_0xce0b51=Ke(this[_0x241181(0x48e)],this[_0x241181(0x2fd)],this['_univerInstanceService'],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}default:throw new Error(_0x241181(0x32c)+this[_0x241181(0x2fa)]+'\x20in\x20_schedule.');}const {changeset:_0x246d13,pendingMutations:_0x4b7d23}=_0xce0b51;this['_handler'][_0x241181(0x25d)](_0x246d13);const _0x2c9935=_0x4b7d23['length']?this['_injector'][_0x241181(0x277)](exports[_0x241181(0x4b5)],this[_0x241181(0x2fd)],this['type'],_0x246d13,_0x4b7d23,this['_handler'],void 0x0):this[_0x241181(0x307)][_0x241181(0x277)](exports['AwaitingState'],this[_0x241181(0x2fd)],this[_0x241181(0x2fa)],_0x246d13,this[_0x241181(0x264)]);_0x2c9935['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2c9935);},_0x1bf68f);}[_0x25fdaf(0x4c7)](){var _0x13e523=_0x25fdaf,_0x15e42e;const _0x21d976=this[_0x13e523(0x2f0)]['getConfig'](K);return(_0x15e42e=_0x21d976==null?void 0x0:_0x21d976[_0x13e523(0x2df)])!=null?_0x15e42e:xt;}[_0x25fdaf(0x2c8)](){var _0x899701=_0x25fdaf;throw new Error(_0x899701(0x2f6));}[_0x25fdaf(0x508)](){var _0x3c6822=_0x25fdaf;this[_0x3c6822(0x4a9)]!=null&&(clearTimeout(this[_0x3c6822(0x4a9)]),this[_0x3c6822(0x4a9)]=null);}[_0x25fdaf(0x43f)](_0x250321){var _0x1739c7=_0x25fdaf;return this[_0x1739c7(0x508)](),this[_0x1739c7(0x307)][_0x1739c7(0x277)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x1739c7(0x48e)],this[_0x1739c7(0x264)],_0x250321);}},exports[_0x25fdaf(0x525)]=ae([w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x6,a['Inject'](exports[_0x25fdaf(0x303)])),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,I[_0x25fdaf(0x4f2)]),w(0xb,a[_0x25fdaf(0x379)]),w(0xc,a[_0x25fdaf(0x524)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports['PendingState']),exports[_0x25fdaf(0x308)]=class extends ce{constructor(_0x49ba85,_0x38c235,_0x4389ee,_0x296802,_0x4474ea,_0x25d226,_0x20aa98,_0x43dfef,_0x1485ba,_0x3dcdeb,_0x3f5d80){var _0x4bd5b1=_0x25fdaf;super(_0x49ba85,_0x38c235,_0x4389ee,[],_0x296802,_0x20aa98,_0x3dcdeb,_0x25d226,_0x3f5d80),A(this,_0x4bd5b1(0x403),_0x4bd5b1(0x31f)),A(this,'_resendTimeout',0x0),A(this,_0x4bd5b1(0x23f)),A(this,_0x4bd5b1(0x47d)),(this[_0x4bd5b1(0x307)]=_0x4474ea,this[_0x4bd5b1(0x207)]=_0x43dfef,this['_transformService']=_0x1485ba);}[_0x25fdaf(0x484)](_0xeaa183){var _0x2ee755=_0x25fdaf;this[_0x2ee755(0x508)]();const _0x1331fb=this['_injector'][_0x2ee755(0x277)](exports['AwaitingWithPendingState'],this[_0x2ee755(0x2fd)],this['type'],this[_0x2ee755(0x231)],[_0xeaa183],this[_0x2ee755(0x264)],this[_0x2ee755(0x23f)]);return _0x1331fb['_updateLocalCache'](),_0x1331fb;}[_0x25fdaf(0x33d)](_0x3db4e9){var _0x514b71=_0x25fdaf;if(this[_0x514b71(0x466)](_0x3db4e9))return this[_0x514b71(0x508)](),this[_0x514b71(0x307)][_0x514b71(0x277)](exports['FetchingMissState'],this[_0x514b71(0x2fd)],this[_0x514b71(0x2fa)],this[_0x514b71(0x231)],[],null,[_0x3db4e9],this[_0x514b71(0x264)]);try{const _0x5864bd=this['_transformService'][_0x514b71(0x2a5)]([_0x3db4e9],[this[_0x514b71(0x231)]],!0x1);if(I[_0x514b71(0x414)](_0x5864bd)){const {c1Prime:_0x25bafd,c2Prime:_0x1fe3f8}=_0x5864bd;this[_0x514b71(0x1e1)](_0x25bafd[0x0]),_0x1fe3f8[0x0][_0x514b71(0x1be)]=this[_0x514b71(0x2b9)](),this[_0x514b71(0x508)]();const _0x12a49a=this['_injector'][_0x514b71(0x277)](exports['AwaitingState'],this[_0x514b71(0x2fd)],this['type'],_0x1fe3f8[0x0],this[_0x514b71(0x264)]);return _0x12a49a[_0x514b71(0x49d)](),_0x12a49a;}return this[_0x514b71(0x43f)](!0x1);}catch(_0x3b6be5){return this[_0x514b71(0x207)][_0x514b71(0x2d3)](_0x3b6be5),this[_0x514b71(0x43f)](!0x1);}}[_0x25fdaf(0x38c)](_0xa75d24){var _0x161ee9=_0x25fdaf;this['_clearScheduledTask']();const _0x5174d3=this[_0x161ee9(0x365)][_0x161ee9(0x3f0)](this['unitID']);if(_0xa75d24[_0x161ee9(0x523)]<_0x5174d3-0x1)return this;if(this[_0x161ee9(0x466)](_0xa75d24))return this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x2ad)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x161ee9(0x46a)]();const _0x4b9892=this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x21d)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],this['_handler']);return _0x4b9892['_updateLocalCache'](),_0x4b9892;}[_0x25fdaf(0x289)](_0x235cf7){var _0x189a43=_0x25fdaf;return this[_0x189a43(0x43f)](!!(_0x235cf7!=null&&_0x235cf7[_0x189a43(0x340)]));}[_0x25fdaf(0x4a0)](_0x18ab5a){var _0x1d51ba=_0x25fdaf;return this[_0x1d51ba(0x520)]>Rt?this[_0x1d51ba(0x1d2)]():(this[_0x1d51ba(0x23f)]=bt(this[_0x1d51ba(0x520)],{'timeout':this[_0x1d51ba(0x520)],'reqId':_0x18ab5a[_0x1d51ba(0x1ff)]}),this[_0x1d51ba(0x47d)]=this[_0x1d51ba(0x23f)][_0x1d51ba(0x4dd)](({reqId:_0x381b15,timeout:_0x2f5b7a})=>{var _0x459897=_0x1d51ba;this[_0x459897(0x438)](_0x381b15,_0x2f5b7a);}),this);}[_0x25fdaf(0x1d2)](){var _0x2eaecf=_0x25fdaf;return this[_0x2eaecf(0x508)](),this['_injector'][_0x2eaecf(0x277)](exports[_0x2eaecf(0x2b4)],this[_0x2eaecf(0x2fd)],this[_0x2eaecf(0x2fa)],this[_0x2eaecf(0x231)],[],this[_0x2eaecf(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0x3a612c=_0x25fdaf;this[_0x3a612c(0x264)]['onSendChangeset'](this[_0x3a612c(0x231)]);}[_0x25fdaf(0x43f)](_0x5a57dc){var _0x5bbd23=_0x25fdaf;return this[_0x5bbd23(0x508)](),this['_injector']['createInstance'](exports[_0x5bbd23(0x4c8)],this[_0x5bbd23(0x2fd)],this[_0x5bbd23(0x2fa)],this[_0x5bbd23(0x231)],[],this[_0x5bbd23(0x264)],_0x5a57dc);}[_0x25fdaf(0x438)](_0x5d5bfe,_0x37eccd){var _0x674d02=_0x25fdaf,_0xfdbd6c;_0x5d5bfe===((_0xfdbd6c=this['_awaitingChangeset'])==null?void 0x0:_0xfdbd6c['reqId'])&&(this[_0x674d02(0x2c8)](),this['_resendTimeout']=_0x37eccd===0x0?0x3e8:_0x37eccd*0x2);}[_0x25fdaf(0x508)](){var _0x453887=_0x25fdaf,_0x9d204e;(_0x9d204e=this[_0x453887(0x47d)])==null||_0x9d204e[_0x453887(0x44e)](),this[_0x453887(0x520)]=0x0;}},exports[_0x25fdaf(0x308)]=ae([w(0x4,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x524)]),w(0xa,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x308)]),exports[_0x25fdaf(0x4b5)]=class extends ce{constructor(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0xe24971,_0x19704d,_0x18371e,_0x1d2520,_0x6855ea,_0x1bb675,_0x330bb7,_0x4b98cc){var _0x13ee25=_0x25fdaf;super(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0x1d2520,_0x330bb7,_0x18371e,_0x4b98cc),A(this,_0x13ee25(0x403),'awaiting_with_pending'),A(this,_0x13ee25(0x520),0x0),A(this,_0x13ee25(0x23f)),A(this,_0x13ee25(0x47d)),(this[_0x13ee25(0x307)]=_0x19704d,this[_0x13ee25(0x207)]=_0x6855ea,this[_0x13ee25(0x4cd)]=_0x1bb675,this[_0x13ee25(0x279)]=_0x4b98cc,_0xe24971&&(this[_0x13ee25(0x23f)]=_0xe24971,this[_0x13ee25(0x47d)]=this[_0x13ee25(0x23f)][_0x13ee25(0x4dd)](({reqId:_0x5270cc,timeout:_0x29865c})=>{var _0x2fa634=_0x13ee25;this[_0x2fa634(0x438)](_0x5270cc,_0x29865c);})));}[_0x25fdaf(0x484)](_0x56a27b){var _0x9707b7=_0x25fdaf;return this[_0x9707b7(0x48e)][_0x9707b7(0x46e)](_0x56a27b),this;}['onRemoteChangeset'](_0x4bf948){var _0x4f03fc=_0x25fdaf;if(this[_0x4f03fc(0x466)](_0x4bf948))return this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x2ad)],this['unitID'],this[_0x4f03fc(0x2fa)],this[_0x4f03fc(0x231)],this[_0x4f03fc(0x48e)],null,[_0x4bf948],this[_0x4f03fc(0x264)]);try{const _0x4b3c52=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2a5)]([_0x4bf948],[this[_0x4f03fc(0x231)]],!0x1);if(I[_0x4f03fc(0x414)](_0x4b3c52)){const {c1Prime:_0x5ab7e8,c2Prime:_0x33176d}=_0x4b3c52,_0x5ee365=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2eb)](_0x5ab7e8[0x0],this['_pendingMutations']);if(I[_0x4f03fc(0x339)](_0x5ee365)){const {c1Prime:_0x171f5e,m2Prime:_0x3b294e}=_0x5ee365;return this[_0x4f03fc(0x1e1)](_0x171f5e),_0x33176d[0x0][_0x4f03fc(0x1be)]=this[_0x4f03fc(0x2b9)](),this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x4b5)],this['unitID'],this[_0x4f03fc(0x2fa)],_0x33176d[0x0],_0x3b294e,this[_0x4f03fc(0x264)],void 0x0);}throw _0x5ee365[_0x4f03fc(0x2d3)];}throw _0x4b3c52[_0x4f03fc(0x2d3)];}catch(_0x2ec4bb){return this[_0x4f03fc(0x207)][_0x4f03fc(0x2d3)](_0x2ec4bb),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x15d94e){var _0x58f4b6=_0x25fdaf;if(this[_0x58f4b6(0x508)](),this['_checkMissing'](_0x15d94e))return this[_0x58f4b6(0x307)][_0x58f4b6(0x277)](exports[_0x58f4b6(0x2ad)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],null,this[_0x58f4b6(0x48e)],this[_0x58f4b6(0x231)],[],this['_handler']);this[_0x58f4b6(0x46a)]();const _0x3e1f00=this['_injector'][_0x58f4b6(0x277)](exports[_0x58f4b6(0x525)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],this[_0x58f4b6(0x48e)],this['_handler']);return _0x3e1f00[_0x58f4b6(0x4a1)](),_0x3e1f00['_updateLocalCache'](),_0x3e1f00;}[_0x25fdaf(0x289)](_0x2f4809){var _0x386dcf=_0x25fdaf;return this[_0x386dcf(0x43f)](!!(_0x2f4809!=null&&_0x2f4809[_0x386dcf(0x340)]));}[_0x25fdaf(0x4a0)](_0x394964){var _0x3e36a2=_0x25fdaf;return this['_resendTimeout']>Rt?this[_0x3e36a2(0x1d2)]():(this[_0x3e36a2(0x23f)]=bt(this[_0x3e36a2(0x520)],{'timeout':this[_0x3e36a2(0x520)],'reqId':_0x394964[_0x3e36a2(0x1ff)]}),this[_0x3e36a2(0x47d)]=this[_0x3e36a2(0x23f)][_0x3e36a2(0x4dd)](({reqId:_0x5d1272,timeout:_0x167ed3})=>{var _0x19c6a0=_0x3e36a2;this[_0x19c6a0(0x438)](_0x5d1272,_0x167ed3);}),this);}[_0x25fdaf(0x1d2)](){var _0x63e916=_0x25fdaf;return this[_0x63e916(0x508)](),this['_injector'][_0x63e916(0x277)](exports[_0x63e916(0x2b4)],this[_0x63e916(0x2fd)],this[_0x63e916(0x2fa)],this[_0x63e916(0x231)],this[_0x63e916(0x48e)],this['_handler']);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0xa4509f=_0x25fdaf;this[_0xa4509f(0x264)]['onSendChangeset'](this[_0xa4509f(0x231)]);}['_onConflict'](_0x10f164){var _0x2f75cb=_0x25fdaf;return this['_clearScheduledTask'](),this[_0x2f75cb(0x307)][_0x2f75cb(0x277)](exports[_0x2f75cb(0x4c8)],this[_0x2f75cb(0x2fd)],this[_0x2f75cb(0x2fa)],null,this[_0x2f75cb(0x48e)],this[_0x2f75cb(0x264)],_0x10f164);}[_0x25fdaf(0x438)](_0x373a1f,_0x171955){var _0x4d400b=_0x25fdaf,_0x28118b;_0x373a1f===((_0x28118b=this[_0x4d400b(0x231)])==null?void 0x0:_0x28118b[_0x4d400b(0x1ff)])&&(this['resend'](),this[_0x4d400b(0x520)]=_0x171955===0x0?0x3e8:_0x171955*0x2);}[_0x25fdaf(0x508)](){var _0x4274bf=_0x25fdaf,_0x383ccc;(_0x383ccc=this['_sender'])==null||_0x383ccc[_0x4274bf(0x44e)](),this[_0x4274bf(0x520)]=0x0;}},exports[_0x25fdaf(0x4b5)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x7,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x8,a[_0x25fdaf(0x464)]),w(0x9,a[_0x25fdaf(0x248)]),w(0xa,I['ITransformService']),w(0xb,a[_0x25fdaf(0x524)]),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4b5)]),exports[_0x25fdaf(0x4c8)]=class extends ce{constructor(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x146b5d=!0x1,_0x359c3c,_0x3f9342,_0x2d246c,_0x5a0091,_0x1f9e81,_0x53deab,_0x55a280){var _0x1c63cc=_0x25fdaf;super(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x3f9342,_0x2d246c,_0x5a0091,_0x55a280),A(this,'status',_0x1c63cc(0x3ce)),(this[_0x1c63cc(0x453)]=_0x146b5d,this[_0x1c63cc(0x48d)]=_0x359c3c,this['_localeService']=_0x1f9e81,this[_0x1c63cc(0x33a)]=_0x53deab,this[_0x1c63cc(0x279)]=_0x55a280,this[_0x1c63cc(0x46c)](),this[_0x1c63cc(0x2c1)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x25fdaf(0x33d)](){return this;}['onRemoteAck'](){return this;}[_0x25fdaf(0x289)](){return this;}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x2c8)](){var _0xd81924=_0x25fdaf;throw new Error(_0xd81924(0x411));}[_0x25fdaf(0x2c1)](){var _0x1977b0=_0x25fdaf,_0x4c3ff6;(_0x4c3ff6=this[_0x1977b0(0x4db)])==null||_0x4c3ff6['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x25fdaf(0x46c)](){var _0x38d8b6=_0x25fdaf;this[_0x38d8b6(0x453)]?this['_collaborationUIEventService'][_0x38d8b6(0x297)]({'id':Z['PERMISSION_DENIED']}):this[_0x38d8b6(0x33a)][_0x38d8b6(0x297)]({'id':Z[_0x38d8b6(0x375)]});}[_0x25fdaf(0x1da)](){var _0x301713=_0x25fdaf;this[_0x301713(0x48d)][_0x301713(0x422)](new X['WorkbookEditablePermission'](this[_0x301713(0x2fd)])['id'],!0x1);}},exports[_0x25fdaf(0x4c8)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x1cc)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0xa,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),w(0xb,a[_0x25fdaf(0x3a5)](ee)),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4c8)]),exports[_0x25fdaf(0x2b4)]=class extends ce{constructor(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0xd0a83d,_0x4ca14a,_0x5a6844,_0xb69601,_0x439c3b){var _0x297b94=_0x25fdaf;super(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0x5a6844,_0xb69601,_0x4ca14a,_0x439c3b),A(this,_0x297b94(0x403),'offline'),this[_0x297b94(0x307)]=_0xd0a83d;}[_0x25fdaf(0x484)](_0x51bf6c){var _0xbda9b6=_0x25fdaf;return this[_0xbda9b6(0x48e)][_0xbda9b6(0x46e)](_0x51bf6c),this[_0xbda9b6(0x49d)](),this;}[_0x25fdaf(0x33d)](_0x42cd9e){var _0x4912d2=_0x25fdaf;throw new Error(_0x4912d2(0x448));}['onRemoteAck'](){var _0x376de4=_0x25fdaf;throw new Error(_0x376de4(0x39c));}[_0x25fdaf(0x289)](){var _0x144918=_0x25fdaf;throw new Error(_0x144918(0x1d0));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){var _0x5d857a=_0x25fdaf;const {_injector:_0x39a3cd,_pendingMutations:_0x3d44cb,_awaitingChangeset:_0x3b85ae,unitID:_0x31b8d8,_handler:_0x4f1c5c,type:_0x365aaf}=this,_0x17db37=Ot(_0x39a3cd,_0x31b8d8,_0x365aaf,_0x3b85ae,_0x3d44cb,_0x4f1c5c);return _0x17db37 instanceof exports[_0x5d857a(0x525)]?_0x17db37[_0x5d857a(0x4a1)]():(_0x17db37 instanceof exports[_0x5d857a(0x4b5)]||_0x17db37 instanceof exports[_0x5d857a(0x308)])&&_0x17db37[_0x5d857a(0x2c8)](),_0x17db37;}['resend'](){var _0x5cd1b7=_0x25fdaf;throw new Error(_0x5cd1b7(0x32d));}},exports[_0x25fdaf(0x2b4)]=ae([w(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x6,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2b4)]),exports['FetchingMissState']=class extends ce{constructor(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x43b5b9,_0x2b88ce,_0x3b32ba,_0x13d110,_0x1ca0f6,_0x2e4cbb,_0x8921f2,_0x325d0a,_0x208b53,_0x1641e0){var _0x4dca89=_0x25fdaf;super(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x3b32ba,_0x8921f2,_0x325d0a,_0x1ca0f6,_0x1641e0),A(this,_0x4dca89(0x403),_0x4dca89(0x1bc)),(this[_0x4dca89(0x3bf)]=_0x43b5b9,this['_queuedRemoteChangesets']=_0x2b88ce,this[_0x4dca89(0x307)]=_0x13d110,this[_0x4dca89(0x207)]=_0x2e4cbb,this['_transformService']=_0x208b53,this[_0x4dca89(0x279)]=_0x1641e0);}[_0x25fdaf(0x3f4)](_0x14945d){var _0x4ed925=_0x25fdaf;try{const _0x213e1d=[..._0x14945d,...this['_queuedRemoteChangesets']],_0x26b63e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4ed925(0x42a)](_0x55ded3=>!!_0x55ded3);let _0x43d150,_0x916e2f;if(_0x26b63e[_0x4ed925(0x27c)]){const _0x2c9c24=this[_0x4ed925(0x4cd)][_0x4ed925(0x2a5)](_0x213e1d,_0x26b63e,!0x1);if(!I[_0x4ed925(0x414)](_0x2c9c24))throw _0x2c9c24[_0x4ed925(0x2d3)];_0x43d150=_0x2c9c24['c1Prime'],_0x916e2f=_0x2c9c24[_0x4ed925(0x2f5)];}else _0x43d150=_0x213e1d,_0x916e2f=[];let _0x5a8006=this['_pendingMutations'];_0x43d150[_0x4ed925(0x265)](_0x579191=>{var _0x2d456c=_0x4ed925;let _0x2707ef;if(_0x5a8006[_0x2d456c(0x27c)]){const _0x4da690=this[_0x2d456c(0x4cd)][_0x2d456c(0x2eb)](_0x579191,_0x5a8006);if(!I[_0x2d456c(0x339)](_0x4da690))throw _0x4da690[_0x2d456c(0x2d3)];_0x2707ef=_0x4da690[_0x2d456c(0x321)],_0x5a8006=_0x4da690[_0x2d456c(0x470)];}else _0x2707ef=_0x579191;this['_executeRemoteChangeset'](_0x2707ef);}),this[_0x4ed925(0x3bf)]&&this[_0x4ed925(0x46a)](),this['_awaitingChangeset']&&_0x916e2f['length']&&(_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)]());let _0x4f6ad1;if(this['_awaitingChangeset']&&_0x5a8006[_0x4ed925(0x27c)]!==0x0)_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x4b5)],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],_0x5a8006,this[_0x4ed925(0x264)],void 0x0);else{if(this[_0x4ed925(0x231)]&&_0x5a8006['length']===0x0)_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)](),_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x308)],this['unitID'],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],this[_0x4ed925(0x264)]);else{if(_0x5a8006[_0x4ed925(0x27c)]!==0x0){const _0x41e715=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports['PendingState'],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x5a8006,this[_0x4ed925(0x264)]);_0x41e715['_schedule'](),_0x4f6ad1=_0x41e715;}else _0x4f6ad1=this[_0x4ed925(0x307)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x4ed925(0x2fa)],this[_0x4ed925(0x264)]);}}return _0x4f6ad1[_0x4ed925(0x49d)](),_0x4f6ad1;}catch(_0x546ea7){return this[_0x4ed925(0x207)]['error'](_0x4ed925(0x491),_0x4ed925(0x3a6),_0x546ea7),this[_0x4ed925(0x307)]['createInstance'](exports[_0x4ed925(0x4c8)],this[_0x4ed925(0x2fd)],this['type'],this[_0x4ed925(0x231)],this[_0x4ed925(0x48e)],this[_0x4ed925(0x264)],!0x1);}}[_0x25fdaf(0x2c8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x484)](_0x22a571){var _0x308a2d=_0x25fdaf;return this[_0x308a2d(0x48e)][_0x308a2d(0x46e)](_0x22a571),this;}['onRemoteChangeset'](_0x839777){var _0x48ceff=_0x25fdaf;return this['_queuedRemoteChangesets'][_0x48ceff(0x46e)](_0x839777),this;}[_0x25fdaf(0x38c)](_0x371f61){var _0x3fbc5c=_0x25fdaf;if(this[_0x3fbc5c(0x231)])return this[_0x3fbc5c(0x3bf)]=this[_0x3fbc5c(0x231)],this[_0x3fbc5c(0x231)]=null,this;throw new Error(_0x3fbc5c(0x51c));}[_0x25fdaf(0x289)](_0x3d5b15){var _0x4f1287=_0x25fdaf;return this[_0x4f1287(0x43f)](!!(_0x3d5b15!=null&&_0x3d5b15[_0x4f1287(0x340)]));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){var _0x64795=_0x25fdaf;return this[_0x64795(0x307)][_0x64795(0x277)](exports[_0x64795(0x2b4)],this['unitID'],this[_0x64795(0x2fa)],this[_0x64795(0x231)],this['_pendingMutations'],this[_0x64795(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x43f)](_0x4c543e){var _0xc90ca2=_0x25fdaf;return this[_0xc90ca2(0x307)]['createInstance'](exports[_0xc90ca2(0x4c8)],this[_0xc90ca2(0x2fd)],this['type'],this['_awaitingChangeset'],this[_0xc90ca2(0x48e)],this[_0xc90ca2(0x264)],_0x4c543e);}},exports[_0x25fdaf(0x2ad)]=ae([w(0x7,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x8,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x9,a['ILogService']),w(0xa,a[_0x25fdaf(0x464)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x25fdaf(0x4f2)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ad)]);function Ot(_0x587058,_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468){var _0xa459a2=_0x25fdaf;return _0x59bc0c&&_0x1daba8['length']?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x4b5)],_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468,void 0x0):_0x59bc0c?_0x587058[_0xa459a2(0x277)](exports['AwaitingState'],_0x5f467e,_0x3496fa,_0x59bc0c,_0x44a468):_0x1daba8[_0xa459a2(0x27c)]?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x525)],_0x5f467e,_0x3496fa,_0x1daba8,_0x44a468):_0x587058['createInstance'](exports['SyncedState'],_0x5f467e,_0x3496fa,_0x44a468);}var vi=Object[_0x25fdaf(0x4ca)],Fe=(_0x9ad34c,_0x51f5cd,_0x30c00a,_0x2da331)=>{for(var _0x5af69b=_0x2da331>0x1?void 0x0:_0x2da331?vi(_0x51f5cd,_0x30c00a):_0x51f5cd,_0x23a7a3=_0x9ad34c['length']-0x1,_0x3c2dd4;_0x23a7a3>=0x0;_0x23a7a3--)(_0x3c2dd4=_0x9ad34c[_0x23a7a3])&&(_0x5af69b=_0x3c2dd4(_0x5af69b)||_0x5af69b);return _0x5af69b;},j=(_0x42d498,_0x5af17c)=>(_0x2cab6c,_0x31a83d)=>_0x5af17c(_0x2cab6c,_0x31a83d,_0x42d498);exports[_0x25fdaf(0x391)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x10e117,_0x255983,_0x488ac4,_0x58f174,_0x486e8f,_0x28f462,_0x548a94,_0x57cb4c,_0x532c5d,_0x102e2e,_0x4adadc,_0x297a55,_0x4152e8){var _0x5c85eb=_0x25fdaf;super(),A(this,'_state$',new $[(_0x5c85eb(0x3cf))](null)),A(this,_0x5c85eb(0x21c),this[_0x5c85eb(0x320)]['asObservable']()),A(this,_0x5c85eb(0x497)),A(this,_0x5c85eb(0x291),!0x1),A(this,_0x5c85eb(0x2dd),''),A(this,_0x5c85eb(0x2e5),0x0),A(this,_0x5c85eb(0x32e),this['state$'][_0x5c85eb(0x310)]($['map'](_0x195af8=>_0x195af8?_0x195af8[_0x5c85eb(0x403)]:Be[_0x5c85eb(0x1e8)]),$[_0x5c85eb(0x1cd)](0x1))),A(this,_0x5c85eb(0x384),!0x1),A(this,_0x5c85eb(0x462),[]),(this['unitID']=_0x10e117,this['session']=_0x255983,this[_0x5c85eb(0x40f)]=_0x488ac4,this[_0x5c85eb(0x307)]=_0x58f174,this[_0x5c85eb(0x20f)]=_0x486e8f,this[_0x5c85eb(0x4f6)]=_0x28f462,this[_0x5c85eb(0x365)]=_0x548a94,this[_0x5c85eb(0x2b7)]=_0x57cb4c,this['_logService']=_0x532c5d,this[_0x5c85eb(0x437)]=_0x102e2e,this[_0x5c85eb(0x48d)]=_0x4adadc,this[_0x5c85eb(0x45f)]=_0x297a55,this[_0x5c85eb(0x4db)]=_0x4152e8);}get['state'](){var _0x22ccac=_0x25fdaf;return this[_0x22ccac(0x497)];}async[_0x25fdaf(0x27b)](){var _0x493a92=_0x25fdaf;if(this[_0x493a92(0x20d)])throw new Error(_0x493a92(0x298));await this[_0x493a92(0x3ab)]();}[_0x25fdaf(0x316)](){var _0x195401=_0x25fdaf;return this[_0x195401(0x291)]=!0x0,a[_0x195401(0x38a)](()=>{var _0x13cf39=_0x195401;this[_0x13cf39(0x291)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x25fdaf(0x364)](_0x3227ea){var _0x5181ab=_0x25fdaf;this[_0x5181ab(0x35d)](_0x3227ea);}['_updateState'](_0x295171){var _0x1ad600=_0x25fdaf;this[_0x1ad600(0x497)]=_0x295171,this['_state$'][_0x1ad600(0x44d)](_0x295171);}async[_0x25fdaf(0x3ab)](){var _0x38fefd=_0x25fdaf,_0x37f10e;this[_0x38fefd(0x37d)](await this[_0x38fefd(0x3a7)]()),this[_0x38fefd(0x45f)]&&((_0x37f10e=this['_singleActiveUnitService'])==null||_0x37f10e[_0x38fefd(0x2fc)](this[_0x38fefd(0x2fd)]),this['disposeWithMe'](this[_0x38fefd(0x45f)][_0x38fefd(0x35a)](this[_0x38fefd(0x2fd)])[_0x38fefd(0x4dd)](_0x2a8a98=>{var _0x226bf2=_0x38fefd;this[_0x226bf2(0x207)]['debug'](_0x226bf2(0x441),_0x226bf2(0x496),_0x2a8a98),_0x2a8a98===je[_0x226bf2(0x3f3)]?(this[_0x226bf2(0x2b7)][_0x226bf2(0x297)]({'id':Z[_0x226bf2(0x50b)]}),this['_permissionService'][_0x226bf2(0x422)](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x1),this['_permissionService'][_0x226bf2(0x45d)](!0x1)):(this[_0x226bf2(0x48d)]['updatePermissionPoint'](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x0),this[_0x226bf2(0x48d)][_0x226bf2(0x45d)](!0x0));})));let _0x29a6f3=!0x1;return this[_0x38fefd(0x49f)](this[_0x38fefd(0x29d)]['sessionStatus$']['subscribe'](_0x4d6304=>{var _0x4c3596=_0x38fefd;_0x4d6304===re[_0x4c3596(0x323)]?this['_toggleOnline'](_0x29a6f3):_0x4d6304===re['OFFLINE']&&(_0x29a6f3=!0x0,this[_0x4c3596(0x22c)]());})),this['disposeWithMe'](this[_0x38fefd(0x29d)]['event$'][_0x38fefd(0x4dd)](_0x4c3308=>{var _0x1e386e=_0x38fefd;try{switch(_0x4c3308[_0x1e386e(0x353)]){case I[_0x1e386e(0x1e4)][_0x1e386e(0x2c5)]:{this[_0x1e386e(0x3c1)](I[_0x1e386e(0x20b)](_0x4c3308[_0x1e386e(0x1c9)]));break;}case I['CollaborationEvent'][_0x1e386e(0x1c8)]:{this[_0x1e386e(0x436)](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x495)]:{this[_0x1e386e(0x358)]();break;}case I['CollaborationEvent'][_0x1e386e(0x2ed)]:{this['_onRemoteRetry'](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x4c3308['data']['changesets']['map'](_0x32cfed=>I[_0x1e386e(0x20b)](_0x32cfed)));break;}case I['CollaborationEvent'][_0x1e386e(0x1d6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x4b4)]:break;}}catch(_0x56d9ec){throw console[_0x1e386e(0x2d3)](_0x1e386e(0x20a),_0x56d9ec),_0x56d9ec;}})),this['_state'];}[_0x25fdaf(0x45b)](){var _0x108136=_0x25fdaf;this[_0x108136(0x384)]=!0x1;}['_lockTransition'](){var _0x4daac9=_0x25fdaf;if(this[_0x4daac9(0x384)])throw new Error(_0x4daac9(0x22b));this[_0x4daac9(0x384)]=!0x0;}['_onLocalMutation'](_0x1597e3){var _0x286457=_0x25fdaf;this['_lockTransition'](),this[_0x286457(0x37d)](this[_0x286457(0x497)]['appendMutation'](_0x1597e3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4939be){var _0x54234d=_0x25fdaf;if(!(_0x4939be[_0x54234d(0x523)]<=this[_0x54234d(0x365)]['getCurrentRevOfUnit'](this[_0x54234d(0x2fd)]))){if(this[_0x54234d(0x291)]){this['_remoteChangesetQueue'][_0x54234d(0x46e)](_0x4939be);return;}this[_0x54234d(0x3fb)](_0x4939be);}}[_0x25fdaf(0x445)](){var _0x46f7d9=_0x25fdaf;this['_remoteChangesetQueue'][_0x46f7d9(0x265)](_0xbae5e1=>this[_0x46f7d9(0x3fb)](_0xbae5e1)),this[_0x46f7d9(0x462)]=[];}[_0x25fdaf(0x3fb)](_0x3462c5){var _0xb30af0=_0x25fdaf;const _0x34c7c7=this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x25f)](this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x3462c5[_0xb30af0(0x240)],null)||_0x3462c5['mutations'],_0x46d735={..._0x3462c5,'mutations':_0x34c7c7};this['_lockTransition'](),this[_0xb30af0(0x37d)](this[_0xb30af0(0x497)][_0xb30af0(0x33d)](_0x46d735)),this[_0xb30af0(0x45b)]();}['_onRemoteACK'](_0x57e853){var _0x2e97cb=_0x25fdaf;this['_lockTransition'](),this[_0x2e97cb(0x37d)](this['_state'][_0x2e97cb(0x38c)](_0x57e853)),this['_unlockTransition']();}[_0x25fdaf(0x358)](_0x59299f){var _0x532461=_0x25fdaf;this[_0x532461(0x268)](),this[_0x532461(0x37d)](this[_0x532461(0x497)]['onRemoteRej'](_0x59299f)),this[_0x532461(0x45b)]();}[_0x25fdaf(0x433)](_0x34f27b){var _0x1f299b=_0x25fdaf;this[_0x1f299b(0x268)](),this[_0x1f299b(0x37d)](this[_0x1f299b(0x497)][_0x1f299b(0x4a0)](_0x34f27b)),this[_0x1f299b(0x45b)]();}['_onFetchMissResult'](_0x54c1b0){var _0x12cb46=_0x25fdaf;if(!(this['_state']instanceof exports[_0x12cb46(0x2ad)]))throw new TypeError(_0x12cb46(0x458));const _0x90e504=_0x54c1b0[_0x12cb46(0x1ba)](_0x36846d=>{var _0x4498a5=_0x12cb46;const _0x47105a=this[_0x4498a5(0x20f)][_0x4498a5(0x209)][_0x4498a5(0x25f)](this['_compressMutationService'][_0x4498a5(0x209)][_0x4498a5(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x36846d[_0x4498a5(0x240)],null)||_0x36846d[_0x4498a5(0x240)];return{..._0x36846d,'mutations':_0x47105a};});this[_0x12cb46(0x268)](),this[_0x12cb46(0x37d)](this[_0x12cb46(0x497)][_0x12cb46(0x3f4)](_0x90e504)),this[_0x12cb46(0x45b)]();}['_toggleOffline'](){var _0x1e1885=_0x25fdaf;this[_0x1e1885(0x268)](),this[_0x1e1885(0x37d)](this[_0x1e1885(0x497)][_0x1e1885(0x1d2)]()),this[_0x1e1885(0x45b)]();}[_0x25fdaf(0x3b2)](_0x4608d3=!0x1){var _0x535ecf=_0x25fdaf;this['_lockTransition'](),this[_0x535ecf(0x37d)](this['_state'][_0x535ecf(0x452)]()),this[_0x535ecf(0x45b)]();const _0x31069c=this[_0x535ecf(0x497)];_0x4608d3&&_0x31069c instanceof exports[_0x535ecf(0x21d)]&&(this[_0x535ecf(0x268)](),this[_0x535ecf(0x37d)](_0x31069c['fetchMiss']()),this[_0x535ecf(0x45b)]());}async['_createInitialState'](){return new Promise(_0x37e80e=>{var _0x124f1a=_0x305e;this['session'][_0x124f1a(0x501)]['pipe']($[_0x124f1a(0x34e)](0x1))[_0x124f1a(0x4dd)](async _0x53f586=>{var _0x58b7f4=_0x124f1a;_0x37e80e(await this[_0x58b7f4(0x3cb)](_0x53f586===re[_0x58b7f4(0x323)]));});});}[_0x25fdaf(0x42c)](){const _0x5c8b1c=this['unitID'];return{'onStateChange':(_0xd3aab4,_0xd168a8)=>{var _0x57449a=_0x305e;if(_0xd3aab4!==this[_0x57449a(0x497)])throw new Error(_0x57449a(0x314)+_0xd3aab4[_0x57449a(0x403)]+_0x57449a(0x380)+_0xd168a8[_0x57449a(0x403)]+_0x57449a(0x3d2)+this[_0x57449a(0x497)][_0x57449a(0x403)]);this[_0x57449a(0x37d)](_0xd168a8);},'onSendChangeset':_0x5f34ca=>{var _0x21476f=_0x305e;_0x5f34ca[_0x21476f(0x4e3)]||(_0x5f34ca['sid']=this['_changesetSessionId'],_0x5f34ca[_0x21476f(0x1ff)]=++this[_0x21476f(0x2e5)]);const _0x5d6d89={'eventID':I[_0x21476f(0x1e4)][_0x21476f(0x26b)],'data':{'unitID':_0x5f34ca[_0x21476f(0x2fd)],'unitType':this[_0x21476f(0x40f)],'changeset':_0x5f34ca,'memberID':this[_0x21476f(0x29d)][_0x21476f(0x23a)]()}};this['session'][_0x21476f(0x3ec)](_0x5d6d89,this[_0x21476f(0x2fd)]);},'onMissingChangesets':({from:_0x57fa35,to:_0x45ac83})=>{var _0x24dd9c=_0x305e;this[_0x24dd9c(0x207)]['debug'](_0x24dd9c(0x441),_0x24dd9c(0x23e)+_0x57fa35+_0x24dd9c(0x1c2)+_0x45ac83);const _0x386307={'eventID':I['CollaborationEvent'][_0x24dd9c(0x329)],'data':{'unitID':_0x5c8b1c,'unitType':this[_0x24dd9c(0x40f)],'from':_0x57fa35,'to':_0x45ac83}};this['session'][_0x24dd9c(0x3ec)](_0x386307,this[_0x24dd9c(0x2fd)]);}};}async[_0x25fdaf(0x3cb)](_0x287b07){var _0x29f447=_0x25fdaf,_0x47809f,_0x1fb01d,_0x373df3;const _0x4e59cc=await((_0x47809f=this[_0x29f447(0x4db)])==null?void 0x0:_0x47809f[_0x29f447(0x42f)](this['unitID'])),_0x3b14a6=(_0x1fb01d=_0x4e59cc==null?void 0x0:_0x4e59cc[_0x29f447(0x240)])!=null?_0x1fb01d:[],_0x9abb44=(_0x373df3=_0x4e59cc==null?void 0x0:_0x4e59cc['awaitingChangeset'])!=null?_0x373df3:null,_0xbc8222=!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x4e3)])&&!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x1ff)]);this['_changesetSessionId']=_0xbc8222?_0x9abb44[_0x29f447(0x4e3)]:I[_0x29f447(0x2a8)](),this['_changesetReqId']=_0xbc8222?_0x9abb44['reqId']:0x0;const _0x54a8cd=this['unitID'];try{this[_0x29f447(0x517)](_0x9abb44,_0x3b14a6);}catch(_0x2f1d37){this['_logService'][_0x29f447(0x2d3)](_0x2f1d37);}const _0x4cc6af=this[_0x29f447(0x42c)]();if(_0x287b07){const _0x478f87=Ot(this[_0x29f447(0x307)],_0x54a8cd,this['_type'],_0x9abb44,_0x3b14a6,_0x4cc6af);return _0x478f87 instanceof exports[_0x29f447(0x525)]?_0x478f87[_0x29f447(0x4a1)]():(_0x478f87 instanceof exports[_0x29f447(0x4b5)]||_0x478f87 instanceof exports['AwaitingState'])&&_0x478f87[_0x29f447(0x2c8)](),_0x478f87;}return this[_0x29f447(0x307)][_0x29f447(0x277)](exports[_0x29f447(0x2b4)],_0x54a8cd,this[_0x29f447(0x40f)],_0x9abb44,_0x3b14a6,_0x4cc6af);}[_0x25fdaf(0x517)](_0xadd7ec,_0x2722ba){var _0x51fc82=_0x25fdaf,_0x12c6f1,_0x40108c;const _0x4a0a9d=this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x25f)](this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x40d)]()[_0x51fc82(0x410)]);(_0x12c6f1=_0x4a0a9d((_0xadd7ec==null?void 0x0:_0xadd7ec[_0x51fc82(0x240)])||[],null))==null||_0x12c6f1['forEach'](_0x3d400c=>this['_commandService'][_0x51fc82(0x292)](_0x3d400c['id'],_0x3d400c[_0x51fc82(0x38e)])),(_0x40108c=_0x4a0a9d(_0x2722ba||[],null))==null||_0x40108c[_0x51fc82(0x265)](_0x401e9b=>this[_0x51fc82(0x437)]['executeCommand'](_0x401e9b['id'],_0x401e9b['params']));}},exports[_0x25fdaf(0x391)]=Fe([j(0x3,a['Inject'](a[_0x25fdaf(0x481)])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a[_0x25fdaf(0x248)]),j(0x9,a[_0x25fdaf(0x464)]),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a[_0x25fdaf(0x44b)](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports['CollaborationEntity']),exports[_0x25fdaf(0x521)]=class extends exports[_0x25fdaf(0x391)]{constructor(_0x26d47d,_0x146708,_0x5cd754,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159){var _0x421ac2=_0x25fdaf;super(_0x26d47d,_0x5cd754,_0x146708,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159),A(this,_0x421ac2(0x2b1),null),(this[_0x421ac2(0x2fd)]=_0x26d47d,this[_0x421ac2(0x2fa)]=_0x146708);}[_0x25fdaf(0x4e9)](_0x16d00c){var _0x2c19ab=_0x25fdaf;this[_0x2c19ab(0x2b1)]=_0x16d00c;}['dispose'](){var _0x331723=_0x25fdaf;this['_handlerCallback']=null,super[_0x331723(0x465)]();}[_0x25fdaf(0x42c)](){var _0x2320f9=_0x25fdaf;const _0x40e805=super[_0x2320f9(0x42c)]();return _0x40e805[_0x2320f9(0x1e9)]=_0x571feb=>{var _0x11c731=_0x2320f9,_0x723660,_0x3650d7;return(_0x3650d7=(_0x723660=this[_0x11c731(0x2b1)])==null?void 0x0:_0x723660[_0x11c731(0x1e9)])==null?void 0x0:_0x3650d7[_0x11c731(0x1d5)](_0x723660,_0x571feb);},_0x40e805[_0x2320f9(0x227)]=_0x191eb5=>{var _0x14c30b=_0x2320f9,_0x126ab5,_0x2b8087;return(_0x2b8087=(_0x126ab5=this[_0x14c30b(0x2b1)])==null?void 0x0:_0x126ab5[_0x14c30b(0x227)])==null?void 0x0:_0x2b8087[_0x14c30b(0x1d5)](_0x126ab5,_0x191eb5);},_0x40e805[_0x2320f9(0x39f)]=_0x12aba7=>{var _0x468f3d=_0x2320f9,_0xf6138e,_0x2e2e51;return(_0x2e2e51=(_0xf6138e=this[_0x468f3d(0x2b1)])==null?void 0x0:_0xf6138e['onTransformSelections'])==null?void 0x0:_0x2e2e51[_0x468f3d(0x1d5)](_0xf6138e,_0x12aba7);},_0x40e805['onSyncEditingCollabCursor']=_0x283380=>{var _0x19bd42=_0x2320f9,_0x22d0fe,_0x2e438e;return(_0x2e438e=(_0x22d0fe=this[_0x19bd42(0x2b1)])==null?void 0x0:_0x22d0fe[_0x19bd42(0x343)])==null?void 0x0:_0x2e438e[_0x19bd42(0x1d5)](_0x22d0fe,_0x283380);},_0x40e805[_0x2320f9(0x214)]=_0x3a8eec=>{var _0x271489=_0x2320f9,_0x868790,_0xef293,_0xc24bc6;if(!((_0x868790=this[_0x271489(0x2b1)])!=null&&_0x868790[_0x271489(0x214)]))throw new Error(_0x271489(0x346));return(_0xc24bc6=(_0xef293=this[_0x271489(0x2b1)])==null?void 0x0:_0xef293[_0x271489(0x214)])==null?void 0x0:_0xc24bc6[_0x271489(0x1d5)](_0xef293,_0x3a8eec);},_0x40e805[_0x2320f9(0x22a)]=_0xa9cf31=>{var _0x4fa920=_0x2320f9,_0x5c37b3,_0x299a85,_0x1e6600;if(!((_0x5c37b3=this[_0x4fa920(0x2b1)])!=null&&_0x5c37b3[_0x4fa920(0x22a)]))throw new Error(_0x4fa920(0x318));return(_0x1e6600=(_0x299a85=this[_0x4fa920(0x2b1)])==null?void 0x0:_0x299a85[_0x4fa920(0x22a)])==null?void 0x0:_0x1e6600[_0x4fa920(0x1d5)](_0x299a85,_0xa9cf31);},_0x40e805;}async[_0x25fdaf(0x3ab)](){var _0x185da2=_0x25fdaf;const _0x4ba6da=await super[_0x185da2(0x3ab)]();return this[_0x185da2(0x49f)](this[_0x185da2(0x437)][_0x185da2(0x21f)]((_0x483c17,_0x5e7b73)=>{var _0x276891=_0x185da2;if(_0x483c17[_0x276891(0x2fa)]!==a['CommandType'][_0x276891(0x47b)]||_0x5e7b73!=null&&_0x5e7b73[_0x276891(0x2bf)]||_0x5e7b73!=null&&_0x5e7b73['onlyLocal']||_0x483c17['id']===ht[_0x276891(0x486)]['id'])return;const _0x4efba1=_0x483c17[_0x276891(0x38e)];if((_0x4efba1==null?void 0x0:_0x4efba1[_0x276891(0x468)])!==this[_0x276891(0x2fd)])return;const _0x436bfb=_0x483c17,_0x5151b9=this[_0x276891(0x20f)][_0x276891(0x209)][_0x276891(0x25f)](this['_compressMutationService']['interceptor'][_0x276891(0x40d)]()[_0x276891(0x1d3)])([_0x436bfb],null)||[_0x436bfb];this['_onLocalMutation'](_0x5151b9[0x0]);})),_0x4ba6da;}},exports[_0x25fdaf(0x521)]=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a['LocaleService'])),j(0x6,a[_0x25fdaf(0x3a5)](I['RevisionService'])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x521)]),exports[_0x25fdaf(0x383)]=class extends exports['CollaborationEntity']{constructor(_0x4e9d4c,_0x27fdba,_0x2275bd,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x5cdcd7,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb){var _0x51d184=_0x25fdaf;super(_0x4e9d4c,_0x2275bd,_0x27fdba,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb),this['unitID']=_0x4e9d4c,this[_0x51d184(0x2fa)]=_0x27fdba,this[_0x51d184(0x400)]=_0x5cdcd7;}['_createHandler'](){var _0x4a7bd9=_0x25fdaf;const _0x13690e=super['_createHandler']();return _0x13690e['onTransformSelections']=_0x586e48=>this[_0x4a7bd9(0x400)][_0x4a7bd9(0x23c)](_0x586e48),_0x13690e;}async[_0x25fdaf(0x3ab)](){var _0x50308f=_0x25fdaf;const _0x11c2b2=await super[_0x50308f(0x3ab)]();return this[_0x50308f(0x49f)](this[_0x50308f(0x437)][_0x50308f(0x21f)]((_0x187f96,_0x130838)=>{var _0x2d9f33=_0x50308f;if(_0x187f96[_0x2d9f33(0x2fa)]!==a[_0x2d9f33(0x299)][_0x2d9f33(0x47b)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x2bf)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x37f)])return;const _0x1a9f08=_0x187f96[_0x2d9f33(0x38e)];if((_0x1a9f08==null?void 0x0:_0x1a9f08[_0x2d9f33(0x468)])!==this[_0x2d9f33(0x2fd)])return;const _0x3f2434=_0x187f96,_0x4f55d4=this[_0x2d9f33(0x20f)][_0x2d9f33(0x209)][_0x2d9f33(0x25f)](this[_0x2d9f33(0x20f)]['interceptor'][_0x2d9f33(0x40d)]()[_0x2d9f33(0x1d3)])([_0x3f2434],null)||[_0x3f2434];this['_onLocalMutation'](_0x4f55d4[0x0]);})),_0x11c2b2;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a['Injector'])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x25fdaf(0x3a5)](ee)),j(0x9,a[_0x25fdaf(0x248)]),j(0xa,a[_0x25fdaf(0x464)]),j(0xb,a[_0x25fdaf(0x1cc)]),j(0xc,a[_0x25fdaf(0x44b)](de)),j(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x383)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x22ba67,_0x23a502,_0x217c0e,_0x52dd76)=>{var _0x17c38c=_0x25fdaf;for(var _0x231daa=_0x52dd76>0x1?void 0x0:_0x52dd76?Si(_0x23a502,_0x217c0e):_0x23a502,_0x18478a=_0x22ba67[_0x17c38c(0x27c)]-0x1,_0x156510;_0x18478a>=0x0;_0x18478a--)(_0x156510=_0x22ba67[_0x18478a])&&(_0x231daa=_0x156510(_0x231daa)||_0x231daa);return _0x231daa;},Se=(_0x5f4039,_0x5d0a19)=>(_0x198402,_0x5ce057)=>_0x5d0a19(_0x198402,_0x5ce057,_0x5f4039);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x4cb84b,_0x1b9079,_0x3f26d7,_0xd4855d){var _0x245111=_0x25fdaf,_0x11273d;super(),A(this,_0x245111(0x29e),new Map()),A(this,_0x245111(0x526),new $[(_0x245111(0x23d))]()),A(this,_0x245111(0x44c),this[_0x245111(0x526)][_0x245111(0x266)]()),(this[_0x245111(0x307)]=_0x4cb84b,this[_0x245111(0x4ed)]=_0x1b9079,this[_0x245111(0x2f0)]=_0x3f26d7,this[_0x245111(0x43b)]=_0xd4855d,((_0x11273d=this['_configService'][_0x245111(0x507)](K))==null?void 0x0:_0x11273d[_0x245111(0x3b5)])!==!0x1&&this[_0x245111(0x3ab)]());}['dispose'](){var _0x5870cd=_0x25fdaf;super[_0x5870cd(0x465)](),this[_0x5870cd(0x29e)][_0x5870cd(0x265)](_0xc9fada=>_0xc9fada[_0x5870cd(0x465)]()),this[_0x5870cd(0x29e)][_0x5870cd(0x3e9)]();}[_0x25fdaf(0x26e)](_0xf706b9){var _0x1d9cca=_0x25fdaf,_0x4bcd7f;return(_0x4bcd7f=this[_0x1d9cca(0x29e)]['get'](_0xf706b9))!=null?_0x4bcd7f:null;}[_0x25fdaf(0x2db)](_0x1eccb7){var _0x28c22c=_0x25fdaf;const _0x713189=this[_0x28c22c(0x26e)](_0x1eccb7);return _0x713189?$['of'](_0x713189):this[_0x28c22c(0x526)]['pipe'](V[_0x28c22c(0x42a)](_0x478865=>_0x478865[_0x28c22c(0x2fd)]===_0x1eccb7));}[_0x25fdaf(0x283)](_0x9d2b77){var _0x466089=_0x25fdaf;return $[_0x466089(0x3c2)](this['getCollabEntity$'](_0x9d2b77)[_0x466089(0x310)](V[_0x466089(0x1ba)](()=>{})));}[_0x25fdaf(0x3ab)](){var _0x35adb2=_0x25fdaf;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)])[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))['subscribe'](async _0x56d6f6=>{var _0x81e8a0=_0x35adb2;const _0x21b830=_0x56d6f6['getUnitId'](),_0x1415e1=await this[_0x81e8a0(0x3a3)](_0x21b830,J['UNIVER_SHEET']);this[_0x81e8a0(0x29e)][_0x81e8a0(0x397)](_0x21b830,_0x1415e1);}),this[_0x35adb2(0x43b)][_0x35adb2(0x393)](a['UniverInstanceType'][_0x35adb2(0x1e0)])[_0x35adb2(0x310)]($['takeUntil'](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))[_0x35adb2(0x310)](V[_0x35adb2(0x42a)](_0x19b80a=>!_0x19b80a[_0x35adb2(0x3dc)]()['startsWith']('__')))[_0x35adb2(0x4dd)](async _0x6de9d7=>{var _0x4ec0d7=_0x35adb2;const _0x3f10ea=_0x6de9d7[_0x4ec0d7(0x3dc)](),_0x378925=await this[_0x4ec0d7(0x3a3)](_0x3f10ea,J[_0x4ec0d7(0x1e0)]);this[_0x4ec0d7(0x29e)]['set'](_0x3f10ea,_0x378925);}),$[_0x35adb2(0x4d1)](this['_univerInstanceService'][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)]),this[_0x35adb2(0x43b)][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x1e0)]))[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]))['subscribe'](_0x1a0ab4=>{var _0x2c82e0=_0x35adb2;const _0x195483=_0x1a0ab4[_0x2c82e0(0x3dc)](),_0x386827=this[_0x2c82e0(0x29e)][_0x2c82e0(0x4bb)](_0x195483);_0x386827&&(_0x386827[_0x2c82e0(0x465)](),this[_0x2c82e0(0x29e)][_0x2c82e0(0x257)](_0x195483));});}async['_startCollaboration'](_0x1f484f,_0x4984dd){var _0x58a474=_0x25fdaf;const _0x41f8fb=await this['_collabSessionService']['requireSession'](_0x1f484f),_0x318127=this[_0x58a474(0x307)][_0x58a474(0x277)](this['_getCtorByUniverType'](_0x4984dd),_0x1f484f,_0x4984dd,_0x41f8fb);return await _0x318127[_0x58a474(0x27b)](),this[_0x58a474(0x526)][_0x58a474(0x44d)](_0x318127),_0x318127;}[_0x25fdaf(0x451)](_0x3479c6){var _0x469876=_0x25fdaf;switch(_0x3479c6){case J['UNIVER_DOC']:return exports[_0x469876(0x521)];case J[_0x469876(0x3f5)]:return exports[_0x469876(0x383)];default:throw new Error(_0x469876(0x46f)+_0x3479c6);}}},exports[_0x25fdaf(0x2ce)]=fi([Se(0x0,a[_0x25fdaf(0x3a5)](a['Injector'])),Se(0x1,a['Inject'](exports[_0x25fdaf(0x440)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x2ce)]);var pi=Object[_0x25fdaf(0x4ca)],Ii=(_0x22b5c2,_0x1fbbc5,_0x3045d3,_0x49c145)=>{var _0xfa814d=_0x25fdaf;for(var _0x4b0cf6=_0x49c145>0x1?void 0x0:_0x49c145?pi(_0x1fbbc5,_0x3045d3):_0x1fbbc5,_0x20108f=_0x22b5c2[_0xfa814d(0x27c)]-0x1,_0x480e4d;_0x20108f>=0x0;_0x20108f--)(_0x480e4d=_0x22b5c2[_0x20108f])&&(_0x4b0cf6=_0x480e4d(_0x4b0cf6)||_0x4b0cf6);return _0x4b0cf6;},Ye=(_0x25a204,_0x1296d9)=>(_0x45ea08,_0x13821b)=>_0x1296d9(_0x45ea08,_0x13821b,_0x25a204);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x3f2620,_0x46c340){var _0x408f4f=_0x25fdaf;super(),this[_0x408f4f(0x43b)]=_0x3f2620,this[_0x408f4f(0x2f0)]=_0x46c340,this[_0x408f4f(0x3ab)]();}[_0x25fdaf(0x3ab)](){var _0x4613b6=_0x25fdaf;this[_0x4613b6(0x49f)](this[_0x4613b6(0x43b)][_0x4613b6(0x3bb)][_0x4613b6(0x4dd)](()=>{var _0x1ef3a3=_0x4613b6,_0x1c302e;const _0x41b139=this[_0x1ef3a3(0x43b)][_0x1ef3a3(0x4f9)]();let _0x347fb5=(_0x1c302e=this[_0x1ef3a3(0x2f0)]['getConfig'](gi))!=null?_0x1c302e:Ei;_0x41b139 instanceof a[_0x1ef3a3(0x25c)]&&(_0x347fb5=_0x41b139[_0x1ef3a3(0x280)]),document[_0x1ef3a3(0x471)]=_0x347fb5;}));}};xe=Ii([Ye(0x0,a[_0x25fdaf(0x379)]),Ye(0x1,a[_0x25fdaf(0x2e1)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x645e89,_0x12252f,_0x4074b3,_0x59f3ca)=>{for(var _0x486f60=_0x59f3ca>0x1?void 0x0:_0x59f3ca?mi(_0x12252f,_0x4074b3):_0x12252f,_0x2308e3=_0x645e89['length']-0x1,_0x30616c;_0x2308e3>=0x0;_0x2308e3--)(_0x30616c=_0x645e89[_0x2308e3])&&(_0x486f60=_0x30616c(_0x486f60)||_0x486f60);return _0x486f60;},Ae=(_0x2e7847,_0xd2c310)=>(_0x222dc0,_0x5d4978)=>_0xd2c310(_0x222dc0,_0x5d4978,_0x2e7847);let ye=class{constructor(_0x10f1f1,_0x140852,_0x1ee55c){var _0x150504=_0x25fdaf;this[_0x150504(0x2f0)]=_0x10f1f1,this[_0x150504(0x35c)]=_0x140852,this['localeService']=_0x1ee55c,this[_0x150504(0x27b)]();}[_0x25fdaf(0x27b)](){var _0xf3d4c0=_0x25fdaf;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x225fb4,_0x448933)=>_0x448933(_0x225fb4)[_0xf3d4c0(0x310)]($[_0xf3d4c0(0x47f)](async _0x58dcda=>{var _0x485158=_0xf3d4c0;const _0x3ff2c8=_0x58dcda;if(_0x3ff2c8[_0x485158(0x403)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x485158(0x360)](this[_0x485158(0x361)]['t'](_0x485158(0x2bd)))){const _0x32d52a=window['encodeURIComponent'](window[_0x485158(0x51d)][_0x485158(0x32f)]);window['location'][_0x485158(0x32f)]=this[_0x485158(0x485)]()+'?url='+_0x32d52a;}}return _0x3ff2c8;}))});}[_0x25fdaf(0x485)](){var _0x2a7184=_0x25fdaf,_0x130bc9,_0x2a8e73;const _0x155558=this[_0x2a7184(0x2f0)]['getConfig'](It),_0x496053=this[_0x2a7184(0x2f0)][_0x2a7184(0x507)](K);return(_0x2a8e73=(_0x130bc9=_0x496053==null?void 0x0:_0x496053[_0x2a7184(0x1fe)])!=null?_0x130bc9:_0x155558)!=null?_0x2a8e73:Wt;}};ye=Ci([Ae(0x0,a[_0x25fdaf(0x2e1)]),Ae(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Ae(0x2,a[_0x25fdaf(0x3a5)](a['LocaleService']))],ye);var Ti=Object[_0x25fdaf(0x4ca)],bi=(_0x53f939,_0x386d36,_0x25f841,_0x3fbe60)=>{var _0x3872b4=_0x25fdaf;for(var _0x1d39cc=_0x3fbe60>0x1?void 0x0:_0x3fbe60?Ti(_0x386d36,_0x25f841):_0x386d36,_0x1caeeb=_0x53f939[_0x3872b4(0x27c)]-0x1,_0xa95650;_0x1caeeb>=0x0;_0x1caeeb--)(_0xa95650=_0x53f939[_0x1caeeb])&&(_0x1d39cc=_0xa95650(_0x1d39cc)||_0x1d39cc);return _0x1d39cc;},qe=(_0x552ea1,_0xebb1e1)=>(_0x41031c,_0x148ed7)=>_0xebb1e1(_0x41031c,_0x148ed7,_0x552ea1);const Ve=_0x25fdaf(0x305),Ri=_0x25fdaf(0x404);exports['AuthzIoHttpService']=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x2e61fd,_0x37e68b){var _0xbdd78d=_0x25fdaf;super(),this[_0xbdd78d(0x21e)]=_0x2e61fd,this[_0xbdd78d(0x2f0)]=_0x37e68b,this[_0xbdd78d(0x483)]();}['_initMergeInterceptor'](){var _0x3d5aff=_0x25fdaf;const _0x56212e=this;this['disposeWithMe'](this['_HTTPService'][_0x3d5aff(0x2aa)]({'priority':0x3e7,'interceptor':Y[_0x3d5aff(0x21a)]({'isMatch'(_0x263f0d){var _0x244911=_0x3d5aff,_0x510d33;if(_0x263f0d['method']==='POST'&&((_0x510d33=_0x263f0d[_0x244911(0x1ed)])!=null&&_0x510d33['body'])){const {objectID:_0xceeeea,objectType:_0x544cf8}=_0x263f0d[_0x244911(0x1ed)]['body']||{};if(!_0xceeeea||_0x544cf8===void 0x0)return!0x1;const _0x3e9aed=_0x56212e['_getAPIPrefixPath']()+'/'+_0x544cf8+'/object/'+_0xceeeea+_0x244911(0x304);if(_0x263f0d[_0x244911(0x213)]===_0x3e9aed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5434e9){var _0x42335e=_0x3d5aff,_0x17027d;return(_0x17027d=_0x5434e9[_0x42335e(0x1ed)])==null?void 0x0:_0x17027d[_0x42335e(0x223)];},'mergeParamsToRequest'(_0x40f98a,_0x44af5d){var _0x570335=_0x3d5aff;const _0x2106c1=_0x56212e[_0x570335(0x1c4)]()+_0x570335(0x3de),_0x3baf75=_0x40f98a[_0x570335(0x374)]((_0x38c14e,_0x3419a2)=>{var _0x953fab=_0x570335;const {unitID:_0x4d1c6f,objectID:_0x3ccd98,objectType:_0x2e0711,actions:_0x36dd9d}=_0x3419a2;return _0x38c14e[_0x4d1c6f]||(_0x38c14e[_0x4d1c6f]={}),_0x38c14e[_0x4d1c6f][_0x3ccd98]||(_0x38c14e[_0x4d1c6f][_0x3ccd98]={'objectID':_0x3ccd98,'objectType':_0x2e0711,'actions':[]}),_0x38c14e[_0x4d1c6f][_0x3ccd98][_0x953fab(0x312)]['push'](..._0x36dd9d),_0x38c14e;},{}),_0x2f47c4=[];for(const _0x915e8e in _0x3baf75)for(const _0x25f4b0 in _0x3baf75[_0x915e8e]){const {actions:_0x5883ff,objectType:_0x51bf2e}=_0x3baf75[_0x915e8e][_0x25f4b0],_0x400ab2=[...new Set(_0x5883ff)];_0x2f47c4['push']({'unitID':_0x915e8e,'objectID':_0x25f4b0,'objectType':_0x51bf2e,'actions':_0x400ab2});}return new Y[(_0x570335(0x295))](_0x570335(0x28c),_0x2106c1,{'headers':_0x44af5d[_0x570335(0x1b7)],'withCredentials':_0x44af5d[_0x570335(0x387)],'responseType':_0x44af5d[_0x570335(0x2a2)],'body':{'requests':_0x2f47c4}});}},{'distributeResult'(_0x15e9a2,_0x41c2ec){const {objectActions:_0x5bc5be}=_0x15e9a2;return _0x41c2ec['map'](_0x43cab6=>{var _0x5a8e1f=_0x305e;const {unitID:_0x3855f5,objectID:_0x245210,actions:_0x4c6f5d}=_0x43cab6,_0x820627=_0x5bc5be[_0x5a8e1f(0x371)](_0x178e15=>_0x178e15[_0x5a8e1f(0x2fd)]===_0x3855f5&&_0x178e15['objectID']===_0x245210),_0x2cb9dc=_0x4c6f5d[_0x5a8e1f(0x1ba)](_0x5d5c98=>_0x820627==null?void 0x0:_0x820627[_0x5a8e1f(0x312)][_0x5a8e1f(0x371)](_0x35c4af=>_0x35c4af[_0x5a8e1f(0x3da)]===_0x5d5c98))['filter'](_0x4c401b=>!!_0x4c401b);return{'config':_0x43cab6,'result':{'actions':_0x2cb9dc,'error':_0x15e9a2[_0x5a8e1f(0x2d3)]}};});}})}));}[_0x25fdaf(0x1c4)](){var _0x48c022=_0x25fdaf,_0x161049,_0x470d05;const _0x403753=this[_0x48c022(0x2f0)][_0x48c022(0x507)](Ve),_0x1da2a6=this[_0x48c022(0x2f0)][_0x48c022(0x507)](K);return(_0x470d05=(_0x161049=_0x1da2a6==null?void 0x0:_0x1da2a6[_0x48c022(0x4dc)])!=null?_0x161049:_0x403753)!=null?_0x470d05:Ri;}async[_0x25fdaf(0x2f2)](_0x27ad95){var _0x990b17=_0x25fdaf;const _0x27c8da=this[_0x990b17(0x1c4)]()+'/'+_0x27ad95[_0x990b17(0x1c7)]+_0x990b17(0x460);return(await this[_0x990b17(0x21e)][_0x990b17(0x22e)](_0x27c8da,{'body':_0x27ad95}))[_0x990b17(0x223)][_0x990b17(0x2c6)]||'';}async[_0x25fdaf(0x331)](_0x15ed9b){var _0x1bb2fa=_0x25fdaf;const _0x329e22=this[_0x1bb2fa(0x1c4)]()+'/-/object/list';return(await this[_0x1bb2fa(0x21e)]['post'](_0x329e22,{'body':_0x15ed9b}))[_0x1bb2fa(0x223)][_0x1bb2fa(0x1fc)];}async[_0x25fdaf(0x366)](_0x2dfa4b){var _0x5cc8df=_0x25fdaf,_0x2fde7b,_0x516d79;const _0x520f8e=this[_0x5cc8df(0x1c4)]()+'/'+_0x2dfa4b['objectType']+_0x5cc8df(0x4bd)+_0x2dfa4b[_0x5cc8df(0x2c6)],_0x42947e=await this[_0x5cc8df(0x21e)]['put'](_0x520f8e,{'body':_0x2dfa4b});if(((_0x516d79=(_0x2fde7b=_0x42947e==null?void 0x0:_0x42947e[_0x5cc8df(0x223)])==null?void 0x0:_0x2fde7b[_0x5cc8df(0x2d3)])==null?void 0x0:_0x516d79[_0x5cc8df(0x3ad)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x25fdaf(0x3df)](_0x28492c){var _0x300aaf=_0x25fdaf;const _0x2fca25=this['_getAPIPrefixPath']()+'/'+_0x28492c['objectType']+_0x300aaf(0x4bd)+_0x28492c['objectID']+'/allowed';return(await this[_0x300aaf(0x21e)][_0x300aaf(0x22e)](_0x2fca25,{'body':_0x28492c}))[_0x300aaf(0x223)][_0x300aaf(0x312)];}async[_0x25fdaf(0x4b9)](_0x5daea0){var _0x553c29=_0x25fdaf;const _0x22e92d=this[_0x553c29(0x1c4)]()+_0x553c29(0x3de);return(await this[_0x553c29(0x21e)][_0x553c29(0x22e)](_0x22e92d,{'body':{'requests':_0x5daea0}}))[_0x553c29(0x223)]['objectActions'];}async[_0x25fdaf(0x399)](_0x1cec5d){var _0x5da923=_0x25fdaf;const _0x370d07=this[_0x5da923(0x1c4)]()+'/'+_0x1cec5d[_0x5da923(0x1c7)]+'/role',_0x5be2b0=await this['_HTTPService'][_0x5da923(0x22e)](_0x370d07,{'body':_0x1cec5d});return{'roles':_0x5be2b0['body'][_0x5da923(0x261)],'actions':_0x5be2b0[_0x5da923(0x223)][_0x5da923(0x312)]};}async['deleteCollaborator'](_0x49f04c){var _0xba869c=_0x25fdaf;const _0x5a95c5=this[_0xba869c(0x1c4)]()+_0xba869c(0x251);await this[_0xba869c(0x21e)][_0xba869c(0x257)](_0x5a95c5,{'params':{'collaboratorID':_0x49f04c[_0xba869c(0x267)],'objectID':_0x49f04c['objectID'],'unitID':_0x49f04c[_0xba869c(0x2fd)]}});}async[_0x25fdaf(0x4f3)](_0x5568cc){var _0x49d7a7=_0x25fdaf;const _0x5bb4e6=this['_getAPIPrefixPath']()+_0x49d7a7(0x251);await this['_HTTPService']['patch'](_0x5bb4e6,{'body':_0x5568cc});}async[_0x25fdaf(0x3e5)](_0x1dcb77){var _0x39121d=_0x25fdaf;const _0x1e7250=this[_0x39121d(0x1c4)]()+_0x39121d(0x251);await this[_0x39121d(0x21e)][_0x39121d(0x22e)](_0x1e7250,{'body':_0x1dcb77});}async[_0x25fdaf(0x48b)](_0x10e347){var _0x1b9337=_0x25fdaf;const _0x5bec65=this['_getAPIPrefixPath']()+_0x1b9337(0x251);return(await this[_0x1b9337(0x21e)][_0x1b9337(0x4bb)](_0x5bec65,{'params':{'objectID':_0x10e347[_0x1b9337(0x2c6)],'unitID':_0x10e347[_0x1b9337(0x2fd)]}}))[_0x1b9337(0x223)]['collaborators'];}async['putCollaborators'](_0x3dc51c){var _0x2534de=_0x25fdaf;const _0x24a917=this[_0x2534de(0x1c4)]()+_0x2534de(0x251);await this[_0x2534de(0x21e)][_0x2534de(0x428)](_0x24a917,{'body':_0x3dc51c});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x25fdaf(0x3a5)](Y['HTTPService'])),qe(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)]))],exports[_0x25fdaf(0x4d6)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5a21f0){var _0x271624=_0x25fdaf;return _0x5a21f0&&_0x5a21f0[_0x271624(0x32a)]&&Object[_0x271624(0x347)]['hasOwnProperty']['call'](_0x5a21f0,_0x271624(0x202))?_0x5a21f0[_0x271624(0x202)]:_0x5a21f0;}var fe={'exports':{}};function Oi(_0x4d83fc){var _0x350701=_0x25fdaf;throw new Error(_0x350701(0x2fb)+_0x4d83fc+_0x350701(0x24d));}var pe={'exports':{}},yi=pe[_0x25fdaf(0x238)],ze;function Q(){return ze||(ze=0x1,function(_0x3a40ea,_0x316625){(function(_0x5384ad,_0x8c4513){_0x3a40ea['exports']=_0x8c4513();}(yi,function(){var _0x30f888=_0x30f888||function(_0x5192fb,_0xff71c4){var _0x385e14=_0x305e,_0x2511ef;if(typeof window<'u'&&window[_0x385e14(0x25b)]&&(_0x2511ef=window[_0x385e14(0x25b)]),typeof self<'u'&&self[_0x385e14(0x25b)]&&(_0x2511ef=self[_0x385e14(0x25b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2511ef=globalThis['crypto']),!_0x2511ef&&typeof window<'u'&&window[_0x385e14(0x36c)]&&(_0x2511ef=window[_0x385e14(0x36c)]),!_0x2511ef&&typeof Pe<'u'&&Pe['crypto']&&(_0x2511ef=Pe[_0x385e14(0x25b)]),!_0x2511ef&&typeof Oi==_0x385e14(0x442))try{_0x2511ef=require(_0x385e14(0x25b));}catch{}var _0x21e2e6=function(){var _0x204a09=_0x385e14;if(_0x2511ef){if(typeof _0x2511ef[_0x204a09(0x36d)]==_0x204a09(0x442))try{return _0x2511ef['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2511ef[_0x204a09(0x3c5)]=='function')try{return _0x2511ef[_0x204a09(0x3c5)](0x4)[_0x204a09(0x2a1)]();}catch{}}throw new Error(_0x204a09(0x1f1));},_0x47f1a4=Object[_0x385e14(0x2f2)]||(function(){function _0x12b055(){}return function(_0x1254c5){var _0x59aa2c=_0x305e,_0x5783e9;return _0x12b055['prototype']=_0x1254c5,_0x5783e9=new _0x12b055(),_0x12b055[_0x59aa2c(0x347)]=null,_0x5783e9;};}()),_0x1ded77={},_0x27256d=_0x1ded77[_0x385e14(0x2d8)]={},_0x3d8b87=_0x27256d[_0x385e14(0x286)]=(function(){return{'extend':function(_0x318470){var _0xc09889=_0x305e,_0x4dca22=_0x47f1a4(this);return _0x318470&&_0x4dca22[_0xc09889(0x28d)](_0x318470),(!_0x4dca22['hasOwnProperty'](_0xc09889(0x27b))||this[_0xc09889(0x27b)]===_0x4dca22[_0xc09889(0x27b)])&&(_0x4dca22[_0xc09889(0x27b)]=function(){var _0x4f0b1d=_0xc09889;_0x4dca22['$super']['init'][_0x4f0b1d(0x41e)](this,arguments);}),_0x4dca22['init']['prototype']=_0x4dca22,_0x4dca22['$super']=this,_0x4dca22;},'create':function(){var _0x7d0830=_0x305e,_0x253ef5=this[_0x7d0830(0x49e)]();return _0x253ef5[_0x7d0830(0x27b)]['apply'](_0x253ef5,arguments),_0x253ef5;},'init':function(){},'mixIn':function(_0x389066){var _0x163564=_0x305e;for(var _0x50548c in _0x389066)_0x389066['hasOwnProperty'](_0x50548c)&&(this[_0x50548c]=_0x389066[_0x50548c]);_0x389066['hasOwnProperty'](_0x163564(0x49a))&&(this[_0x163564(0x49a)]=_0x389066[_0x163564(0x49a)]);},'clone':function(){var _0xb5657c=_0x305e;return this[_0xb5657c(0x27b)][_0xb5657c(0x347)][_0xb5657c(0x49e)](this);}};}()),_0x3c733f=_0x27256d[_0x385e14(0x33f)]=_0x3d8b87[_0x385e14(0x49e)]({'init':function(_0x1b81d,_0x71336b){var _0x357335=_0x385e14;_0x1b81d=this['words']=_0x1b81d||[],_0x71336b!=_0xff71c4?this[_0x357335(0x1f9)]=_0x71336b:this[_0x357335(0x1f9)]=_0x1b81d['length']*0x4;},'toString':function(_0x3e4392){return(_0x3e4392||_0x472007)['stringify'](this);},'concat':function(_0x462fc1){var _0x8e5c6d=_0x385e14,_0x15e28a=this[_0x8e5c6d(0x3ef)],_0xae6f93=_0x462fc1[_0x8e5c6d(0x3ef)],_0x3bb03a=this[_0x8e5c6d(0x1f9)],_0x1e2211=_0x462fc1[_0x8e5c6d(0x1f9)];if(this['clamp'](),_0x3bb03a%0x4)for(var _0x5aaf8c=0x0;_0x5aaf8c<_0x1e2211;_0x5aaf8c++){var _0x3b0cc4=_0xae6f93[_0x5aaf8c>>>0x2]>>>0x18-_0x5aaf8c%0x4*0x8&0xff;_0x15e28a[_0x3bb03a+_0x5aaf8c>>>0x2]|=_0x3b0cc4<<0x18-(_0x3bb03a+_0x5aaf8c)%0x4*0x8;}else{for(var _0x212082=0x0;_0x212082<_0x1e2211;_0x212082+=0x4)_0x15e28a[_0x3bb03a+_0x212082>>>0x2]=_0xae6f93[_0x212082>>>0x2];}return this['sigBytes']+=_0x1e2211,this;},'clamp':function(){var _0x42628e=_0x385e14,_0x3431e2=this[_0x42628e(0x3ef)],_0x23e9b6=this[_0x42628e(0x1f9)];_0x3431e2[_0x23e9b6>>>0x2]&=0xffffffff<<0x20-_0x23e9b6%0x4*0x8,_0x3431e2[_0x42628e(0x27c)]=_0x5192fb[_0x42628e(0x274)](_0x23e9b6/0x4);},'clone':function(){var _0x3cf1da=_0x385e14,_0x2c7e03=_0x3d8b87['clone'][_0x3cf1da(0x1d5)](this);return _0x2c7e03[_0x3cf1da(0x3ef)]=this[_0x3cf1da(0x3ef)][_0x3cf1da(0x23b)](0x0),_0x2c7e03;},'random':function(_0x4b46a1){var _0x49796d=_0x385e14;for(var _0x5ca9b7=[],_0x332f82=0x0;_0x332f82<_0x4b46a1;_0x332f82+=0x4)_0x5ca9b7[_0x49796d(0x46e)](_0x21e2e6());return new _0x3c733f[(_0x49796d(0x27b))](_0x5ca9b7,_0x4b46a1);}}),_0x3e9587=_0x1ded77[_0x385e14(0x419)]={},_0x472007=_0x3e9587[_0x385e14(0x3f1)]={'stringify':function(_0x4c7363){var _0x3c3b92=_0x385e14;for(var _0x3f7255=_0x4c7363[_0x3c3b92(0x3ef)],_0x207e84=_0x4c7363['sigBytes'],_0x900d9c=[],_0xe285c7=0x0;_0xe285c7<_0x207e84;_0xe285c7++){var _0x376048=_0x3f7255[_0xe285c7>>>0x2]>>>0x18-_0xe285c7%0x4*0x8&0xff;_0x900d9c['push']((_0x376048>>>0x4)[_0x3c3b92(0x49a)](0x10)),_0x900d9c[_0x3c3b92(0x46e)]((_0x376048&0xf)[_0x3c3b92(0x49a)](0x10));}return _0x900d9c['join']('');},'parse':function(_0x3bf176){var _0x52fd40=_0x385e14;for(var _0x4f6bef=_0x3bf176[_0x52fd40(0x27c)],_0x1d113d=[],_0x247687=0x0;_0x247687<_0x4f6bef;_0x247687+=0x2)_0x1d113d[_0x247687>>>0x3]|=parseInt(_0x3bf176['substr'](_0x247687,0x2),0x10)<<0x18-_0x247687%0x8*0x4;return new _0x3c733f[(_0x52fd40(0x27b))](_0x1d113d,_0x4f6bef/0x2);}},_0xfede49=_0x3e9587[_0x385e14(0x28e)]={'stringify':function(_0x18c447){var _0x593fc1=_0x385e14;for(var _0x42e9d1=_0x18c447[_0x593fc1(0x3ef)],_0x471c6f=_0x18c447['sigBytes'],_0x25a5e3=[],_0x1ab386=0x0;_0x1ab386<_0x471c6f;_0x1ab386++){var _0x139ee9=_0x42e9d1[_0x1ab386>>>0x2]>>>0x18-_0x1ab386%0x4*0x8&0xff;_0x25a5e3[_0x593fc1(0x46e)](String[_0x593fc1(0x37b)](_0x139ee9));}return _0x25a5e3[_0x593fc1(0x2bc)]('');},'parse':function(_0x35d808){var _0x3e0586=_0x385e14;for(var _0x50c108=_0x35d808[_0x3e0586(0x27c)],_0x1f2877=[],_0x1d47bd=0x0;_0x1d47bd<_0x50c108;_0x1d47bd++)_0x1f2877[_0x1d47bd>>>0x2]|=(_0x35d808[_0x3e0586(0x24f)](_0x1d47bd)&0xff)<<0x18-_0x1d47bd%0x4*0x8;return new _0x3c733f[(_0x3e0586(0x27b))](_0x1f2877,_0x50c108);}},_0x2d170d=_0x3e9587[_0x385e14(0x4f0)]={'stringify':function(_0x3c72ac){var _0x3db021=_0x385e14;try{return decodeURIComponent(escape(_0xfede49[_0x3db021(0x4eb)](_0x3c72ac)));}catch{throw new Error(_0x3db021(0x3cd));}},'parse':function(_0x40f5d3){var _0xf06c8c=_0x385e14;return _0xfede49[_0xf06c8c(0x3ed)](unescape(encodeURIComponent(_0x40f5d3)));}},_0x1535ce=_0x27256d[_0x385e14(0x41a)]=_0x3d8b87['extend']({'reset':function(){var _0x12ffc1=_0x385e14;this[_0x12ffc1(0x376)]=new _0x3c733f['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x3817bc){var _0x5fc665=_0x385e14;typeof _0x3817bc==_0x5fc665(0x42b)&&(_0x3817bc=_0x2d170d[_0x5fc665(0x3ed)](_0x3817bc)),this['_data'][_0x5fc665(0x221)](_0x3817bc),this['_nDataBytes']+=_0x3817bc[_0x5fc665(0x1f9)];},'_process':function(_0xb3b001){var _0x2fea74=_0x385e14,_0xc0886,_0x5ec077=this['_data'],_0xa1474a=_0x5ec077[_0x2fea74(0x3ef)],_0x356cd3=_0x5ec077[_0x2fea74(0x1f9)],_0x511597=this[_0x2fea74(0x1b9)],_0x491883=_0x511597*0x4,_0x1ac4b6=_0x356cd3/_0x491883;_0xb3b001?_0x1ac4b6=_0x5192fb['ceil'](_0x1ac4b6):_0x1ac4b6=_0x5192fb['max']((_0x1ac4b6|0x0)-this['_minBufferSize'],0x0);var _0x473086=_0x1ac4b6*_0x511597,_0x3aa842=_0x5192fb['min'](_0x473086*0x4,_0x356cd3);if(_0x473086){for(var _0x246cae=0x0;_0x246cae<_0x473086;_0x246cae+=_0x511597)this[_0x2fea74(0x4b8)](_0xa1474a,_0x246cae);_0xc0886=_0xa1474a['splice'](0x0,_0x473086),_0x5ec077['sigBytes']-=_0x3aa842;}return new _0x3c733f[(_0x2fea74(0x27b))](_0xc0886,_0x3aa842);},'clone':function(){var _0x13d2e5=_0x385e14,_0x516e15=_0x3d8b87[_0x13d2e5(0x41f)]['call'](this);return _0x516e15['_data']=this['_data'][_0x13d2e5(0x41f)](),_0x516e15;},'_minBufferSize':0x0});_0x27256d[_0x385e14(0x4b6)]=_0x1535ce[_0x385e14(0x49e)]({'cfg':_0x3d8b87[_0x385e14(0x49e)](),'init':function(_0x21b960){var _0x444c53=_0x385e14;this['cfg']=this[_0x444c53(0x28f)][_0x444c53(0x49e)](_0x21b960),this[_0x444c53(0x3d8)]();},'reset':function(){var _0x3c81ff=_0x385e14;_0x1535ce['reset'][_0x3c81ff(0x1d5)](this),this[_0x3c81ff(0x4f5)]();},'update':function(_0x1e4db0){var _0x26ccf9=_0x385e14;return this['_append'](_0x1e4db0),this[_0x26ccf9(0x3ae)](),this;},'finalize':function(_0x220481){var _0x523075=_0x385e14;_0x220481&&this[_0x523075(0x1e7)](_0x220481);var _0x3388ef=this['_doFinalize']();return _0x3388ef;},'blockSize':0x10,'_createHelper':function(_0x53594a){return function(_0x5dad1d,_0x4616cb){return new _0x53594a['init'](_0x4616cb)['finalize'](_0x5dad1d);};},'_createHmacHelper':function(_0x356ef4){return function(_0x47835f,_0x2c61f0){var _0x11dad4=_0x305e;return new _0x213d70[(_0x11dad4(0x3d9))]['init'](_0x356ef4,_0x2c61f0)['finalize'](_0x47835f);};}});var _0x213d70=_0x1ded77[_0x385e14(0x3bd)]={};return _0x1ded77;}(Math);return _0x30f888;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x116511=_0x25fdaf;return Je||(Je=0x1,function(_0x4730d2,_0xbb1936){(function(_0x5538aa,_0xc86d81){_0x4730d2['exports']=_0xc86d81(Q());}(Ni,function(_0x46e55b){var _0x14a99f=_0x305e;return(function(){var _0x39120b=_0x305e,_0x44e1bc=_0x46e55b,_0x1f338e=_0x44e1bc[_0x39120b(0x2d8)],_0x1ef88c=_0x1f338e[_0x39120b(0x33f)],_0x4a577e=_0x44e1bc['enc'];_0x4a577e['Base64']={'stringify':function(_0x579762){var _0x2dddcf=_0x39120b,_0x4bafc8=_0x579762[_0x2dddcf(0x3ef)],_0x182184=_0x579762[_0x2dddcf(0x1f9)],_0x2667a8=this[_0x2dddcf(0x212)];_0x579762['clamp']();for(var _0x1a6149=[],_0x1a0fe0=0x0;_0x1a0fe0<_0x182184;_0x1a0fe0+=0x3)for(var _0x15b230=_0x4bafc8[_0x1a0fe0>>>0x2]>>>0x18-_0x1a0fe0%0x4*0x8&0xff,_0x485bca=_0x4bafc8[_0x1a0fe0+0x1>>>0x2]>>>0x18-(_0x1a0fe0+0x1)%0x4*0x8&0xff,_0x9c8d3d=_0x4bafc8[_0x1a0fe0+0x2>>>0x2]>>>0x18-(_0x1a0fe0+0x2)%0x4*0x8&0xff,_0xa3c073=_0x15b230<<0x10|_0x485bca<<0x8|_0x9c8d3d,_0x312bfa=0x0;_0x312bfa<0x4&&_0x1a0fe0+_0x312bfa*0.75<_0x182184;_0x312bfa++)_0x1a6149[_0x2dddcf(0x46e)](_0x2667a8[_0x2dddcf(0x4cc)](_0xa3c073>>>0x6*(0x3-_0x312bfa)&0x3f));var _0x535941=_0x2667a8[_0x2dddcf(0x4cc)](0x40);if(_0x535941){for(;_0x1a6149[_0x2dddcf(0x27c)]%0x4;)_0x1a6149[_0x2dddcf(0x46e)](_0x535941);}return _0x1a6149['join']('');},'parse':function(_0x57c48b){var _0x9ba3a2=_0x39120b,_0x1c99b0=_0x57c48b['length'],_0x246f0c=this['_map'],_0x992b0c=this[_0x9ba3a2(0x31b)];if(!_0x992b0c){_0x992b0c=this[_0x9ba3a2(0x31b)]=[];for(var _0x2e66f=0x0;_0x2e66f<_0x246f0c[_0x9ba3a2(0x27c)];_0x2e66f++)_0x992b0c[_0x246f0c['charCodeAt'](_0x2e66f)]=_0x2e66f;}var _0x562adf=_0x246f0c[_0x9ba3a2(0x4cc)](0x40);if(_0x562adf){var _0x295fba=_0x57c48b[_0x9ba3a2(0x416)](_0x562adf);_0x295fba!==-0x1&&(_0x1c99b0=_0x295fba);}return _0x1451c3(_0x57c48b,_0x1c99b0,_0x992b0c);},'_map':_0x39120b(0x4d2)};function _0x1451c3(_0x5c54fb,_0x2fa08e,_0x4e1d2d){var _0x2e61ac=_0x39120b;for(var _0x3843f3=[],_0x5a989f=0x0,_0x122af4=0x0;_0x122af4<_0x2fa08e;_0x122af4++)if(_0x122af4%0x4){var _0x463c0e=_0x4e1d2d[_0x5c54fb[_0x2e61ac(0x24f)](_0x122af4-0x1)]<<_0x122af4%0x4*0x2,_0x9b0ea2=_0x4e1d2d[_0x5c54fb['charCodeAt'](_0x122af4)]>>>0x6-_0x122af4%0x4*0x2,_0x22d72d=_0x463c0e|_0x9b0ea2;_0x3843f3[_0x5a989f>>>0x2]|=_0x22d72d<<0x18-_0x5a989f%0x4*0x8,_0x5a989f++;}return _0x1ef88c[_0x2e61ac(0x2f2)](_0x3843f3,_0x5a989f);}}()),_0x46e55b['enc'][_0x14a99f(0x3b7)];}));}(Ie)),Ie[_0x116511(0x238)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){return Xe||(Xe=0x1,function(_0x3fe74b,_0x49f29e){(function(_0x5ecb64,_0x35ab40){_0x3fe74b['exports']=_0x35ab40(Q());}(Ui,function(_0x58f48b){return function(_0x178e07){var _0x440800=_0x305e,_0x3aa752=_0x58f48b,_0x5ac153=_0x3aa752[_0x440800(0x2d8)],_0x429165=_0x5ac153[_0x440800(0x33f)],_0x2aacf2=_0x5ac153[_0x440800(0x4b6)],_0xe0fd3e=_0x3aa752[_0x440800(0x3bd)],_0x5cb64f=[];(function(){var _0x22c477=_0x440800;for(var _0x1edc85=0x0;_0x1edc85<0x40;_0x1edc85++)_0x5cb64f[_0x1edc85]=_0x178e07[_0x22c477(0x4c2)](_0x178e07['sin'](_0x1edc85+0x1))*0x100000000|0x0;}());var _0x57b09c=_0xe0fd3e[_0x440800(0x4aa)]=_0x2aacf2['extend']({'_doReset':function(){this['_hash']=new _0x429165['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x49e2b2,_0x5e2372){var _0x458c86=_0x440800;for(var _0x150507=0x0;_0x150507<0x10;_0x150507++){var _0x3e1e47=_0x5e2372+_0x150507,_0x4ec260=_0x49e2b2[_0x3e1e47];_0x49e2b2[_0x3e1e47]=(_0x4ec260<<0x8|_0x4ec260>>>0x18)&0xff00ff|(_0x4ec260<<0x18|_0x4ec260>>>0x8)&0xff00ff00;}var _0x55db83=this['_hash'][_0x458c86(0x3ef)],_0xe640e5=_0x49e2b2[_0x5e2372+0x0],_0xcf3725=_0x49e2b2[_0x5e2372+0x1],_0x9042e7=_0x49e2b2[_0x5e2372+0x2],_0x4880ec=_0x49e2b2[_0x5e2372+0x3],_0x20eb3a=_0x49e2b2[_0x5e2372+0x4],_0x4e97ee=_0x49e2b2[_0x5e2372+0x5],_0x1912b0=_0x49e2b2[_0x5e2372+0x6],_0x4f06b0=_0x49e2b2[_0x5e2372+0x7],_0x29a7b8=_0x49e2b2[_0x5e2372+0x8],_0x1a6afc=_0x49e2b2[_0x5e2372+0x9],_0x2f372f=_0x49e2b2[_0x5e2372+0xa],_0x53e0b0=_0x49e2b2[_0x5e2372+0xb],_0x43a190=_0x49e2b2[_0x5e2372+0xc],_0x284067=_0x49e2b2[_0x5e2372+0xd],_0x1605ff=_0x49e2b2[_0x5e2372+0xe],_0x544bd4=_0x49e2b2[_0x5e2372+0xf],_0x29b11d=_0x55db83[0x0],_0x134c50=_0x55db83[0x1],_0x380219=_0x55db83[0x2],_0xdc2915=_0x55db83[0x3];_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x7,_0x5cb64f[0x0]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xcf3725,0xc,_0x5cb64f[0x1]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0x11,_0x5cb64f[0x2]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4880ec,0x16,_0x5cb64f[0x3]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x7,_0x5cb64f[0x4]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4e97ee,0xc,_0x5cb64f[0x5]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0x11,_0x5cb64f[0x6]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4f06b0,0x16,_0x5cb64f[0x7]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x7,_0x5cb64f[0x8]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1a6afc,0xc,_0x5cb64f[0x9]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0x11,_0x5cb64f[0xa]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x53e0b0,0x16,_0x5cb64f[0xb]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x7,_0x5cb64f[0xc]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x284067,0xc,_0x5cb64f[0xd]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0x11,_0x5cb64f[0xe]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x544bd4,0x16,_0x5cb64f[0xf]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x5,_0x5cb64f[0x10]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1912b0,0x9,_0x5cb64f[0x11]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0xe,_0x5cb64f[0x12]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xe640e5,0x14,_0x5cb64f[0x13]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x5,_0x5cb64f[0x14]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x2f372f,0x9,_0x5cb64f[0x15]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0xe,_0x5cb64f[0x16]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x20eb3a,0x14,_0x5cb64f[0x17]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x5,_0x5cb64f[0x18]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1605ff,0x9,_0x5cb64f[0x19]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0xe,_0x5cb64f[0x1a]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x29a7b8,0x14,_0x5cb64f[0x1b]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x5,_0x5cb64f[0x1c]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x9042e7,0x9,_0x5cb64f[0x1d]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0xe,_0x5cb64f[0x1e]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x43a190,0x14,_0x5cb64f[0x1f]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x4,_0x5cb64f[0x20]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x29a7b8,0xb,_0x5cb64f[0x21]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0x10,_0x5cb64f[0x22]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1605ff,0x17,_0x5cb64f[0x23]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x4,_0x5cb64f[0x24]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x20eb3a,0xb,_0x5cb64f[0x25]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0x10,_0x5cb64f[0x26]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x2f372f,0x17,_0x5cb64f[0x27]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x4,_0x5cb64f[0x28]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xe640e5,0xb,_0x5cb64f[0x29]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0x10,_0x5cb64f[0x2a]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1912b0,0x17,_0x5cb64f[0x2b]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x4,_0x5cb64f[0x2c]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x43a190,0xb,_0x5cb64f[0x2d]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0x10,_0x5cb64f[0x2e]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x9042e7,0x17,_0x5cb64f[0x2f]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x6,_0x5cb64f[0x30]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4f06b0,0xa,_0x5cb64f[0x31]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0xf,_0x5cb64f[0x32]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4e97ee,0x15,_0x5cb64f[0x33]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x6,_0x5cb64f[0x34]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4880ec,0xa,_0x5cb64f[0x35]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0xf,_0x5cb64f[0x36]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xcf3725,0x15,_0x5cb64f[0x37]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x6,_0x5cb64f[0x38]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x544bd4,0xa,_0x5cb64f[0x39]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0xf,_0x5cb64f[0x3a]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x284067,0x15,_0x5cb64f[0x3b]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x6,_0x5cb64f[0x3c]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x53e0b0,0xa,_0x5cb64f[0x3d]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0xf,_0x5cb64f[0x3e]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1a6afc,0x15,_0x5cb64f[0x3f]),_0x55db83[0x0]=_0x55db83[0x0]+_0x29b11d|0x0,_0x55db83[0x1]=_0x55db83[0x1]+_0x134c50|0x0,_0x55db83[0x2]=_0x55db83[0x2]+_0x380219|0x0,_0x55db83[0x3]=_0x55db83[0x3]+_0xdc2915|0x0;},'_doFinalize':function(){var _0x13d910=_0x440800,_0x43ce36=this[_0x13d910(0x376)],_0x38e821=_0x43ce36['words'],_0x3b9a74=this[_0x13d910(0x36b)]*0x8,_0x2d4c64=_0x43ce36[_0x13d910(0x1f9)]*0x8;_0x38e821[_0x2d4c64>>>0x5]|=0x80<<0x18-_0x2d4c64%0x20;var _0x18301d=_0x178e07['floor'](_0x3b9a74/0x100000000),_0x3b1a3c=_0x3b9a74;_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xf]=(_0x18301d<<0x8|_0x18301d>>>0x18)&0xff00ff|(_0x18301d<<0x18|_0x18301d>>>0x8)&0xff00ff00,_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xe]=(_0x3b1a3c<<0x8|_0x3b1a3c>>>0x18)&0xff00ff|(_0x3b1a3c<<0x18|_0x3b1a3c>>>0x8)&0xff00ff00,_0x43ce36[_0x13d910(0x1f9)]=(_0x38e821[_0x13d910(0x27c)]+0x1)*0x4,this[_0x13d910(0x3ae)]();for(var _0x2270d3=this[_0x13d910(0x3a4)],_0x3c7586=_0x2270d3[_0x13d910(0x3ef)],_0x1a81db=0x0;_0x1a81db<0x4;_0x1a81db++){var _0x5c71c6=_0x3c7586[_0x1a81db];_0x3c7586[_0x1a81db]=(_0x5c71c6<<0x8|_0x5c71c6>>>0x18)&0xff00ff|(_0x5c71c6<<0x18|_0x5c71c6>>>0x8)&0xff00ff00;}return _0x2270d3;},'clone':function(){var _0x295a38=_0x440800,_0x24ae22=_0x2aacf2[_0x295a38(0x41f)][_0x295a38(0x1d5)](this);return _0x24ae22[_0x295a38(0x3a4)]=this[_0x295a38(0x3a4)]['clone'](),_0x24ae22;}});function _0x21075(_0x36d53e,_0x1d1d6c,_0x1c2841,_0x71be0e,_0xa06a0f,_0x36d1d3,_0x56eb9f){var _0x115226=_0x36d53e+(_0x1d1d6c&_0x1c2841|~_0x1d1d6c&_0x71be0e)+_0xa06a0f+_0x56eb9f;return(_0x115226<<_0x36d1d3|_0x115226>>>0x20-_0x36d1d3)+_0x1d1d6c;}function _0x220611(_0x27d69b,_0x4bb84a,_0x1fc7d6,_0xa7cc86,_0x3a6d17,_0xd6f94a,_0x55d670){var _0x1c92ac=_0x27d69b+(_0x4bb84a&_0xa7cc86|_0x1fc7d6&~_0xa7cc86)+_0x3a6d17+_0x55d670;return(_0x1c92ac<<_0xd6f94a|_0x1c92ac>>>0x20-_0xd6f94a)+_0x4bb84a;}function _0x2086b2(_0x744234,_0x2455bc,_0x21f345,_0x585650,_0x77bcd3,_0x364519,_0x44bc90){var _0x35b76a=_0x744234+(_0x2455bc^_0x21f345^_0x585650)+_0x77bcd3+_0x44bc90;return(_0x35b76a<<_0x364519|_0x35b76a>>>0x20-_0x364519)+_0x2455bc;}function _0xcd31f5(_0x4e1e2f,_0x1c11f3,_0x27a51a,_0x4310c2,_0x508206,_0x29d7c8,_0x27d385){var _0x950e13=_0x4e1e2f+(_0x27a51a^(_0x1c11f3|~_0x4310c2))+_0x508206+_0x27d385;return(_0x950e13<<_0x29d7c8|_0x950e13>>>0x20-_0x29d7c8)+_0x1c11f3;}_0x3aa752[_0x440800(0x4aa)]=_0x2aacf2[_0x440800(0x263)](_0x57b09c),_0x3aa752['HmacMD5']=_0x2aacf2[_0x440800(0x273)](_0x57b09c);}(Math),_0x58f48b['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x25fdaf(0x238)],Ze;function Pi(){var _0x14c4dd=_0x25fdaf;return Ze||(Ze=0x1,function(_0x5b2576,_0x4468bb){(function(_0x4652f5,_0x51b90d){var _0x4ed0a7=_0x305e;_0x5b2576[_0x4ed0a7(0x238)]=_0x51b90d(Q());}(Ai,function(_0x3e3536){var _0x401a04=_0x305e;return(function(){var _0x2cae5e=_0x305e,_0x54d646=_0x3e3536,_0x20d31e=_0x54d646['lib'],_0x1e7135=_0x20d31e[_0x2cae5e(0x33f)],_0x3061e0=_0x20d31e['Hasher'],_0x3323d5=_0x54d646[_0x2cae5e(0x3bd)],_0x2f97f5=[],_0xcdbef4=_0x3323d5['SHA1']=_0x3061e0[_0x2cae5e(0x49e)]({'_doReset':function(){var _0x343bd5=_0x2cae5e;this[_0x343bd5(0x3a4)]=new _0x1e7135[(_0x343bd5(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x110268,_0x49e5c){var _0x4d59bf=_0x2cae5e;for(var _0x333a75=this[_0x4d59bf(0x3a4)]['words'],_0x3f1e21=_0x333a75[0x0],_0x34ea6f=_0x333a75[0x1],_0x594903=_0x333a75[0x2],_0x579750=_0x333a75[0x3],_0x38fb69=_0x333a75[0x4],_0x33dcd5=0x0;_0x33dcd5<0x50;_0x33dcd5++){if(_0x33dcd5<0x10)_0x2f97f5[_0x33dcd5]=_0x110268[_0x49e5c+_0x33dcd5]|0x0;else{var _0x635411=_0x2f97f5[_0x33dcd5-0x3]^_0x2f97f5[_0x33dcd5-0x8]^_0x2f97f5[_0x33dcd5-0xe]^_0x2f97f5[_0x33dcd5-0x10];_0x2f97f5[_0x33dcd5]=_0x635411<<0x1|_0x635411>>>0x1f;}var _0xb9a628=(_0x3f1e21<<0x5|_0x3f1e21>>>0x1b)+_0x38fb69+_0x2f97f5[_0x33dcd5];_0x33dcd5<0x14?_0xb9a628+=(_0x34ea6f&_0x594903|~_0x34ea6f&_0x579750)+0x5a827999:_0x33dcd5<0x28?_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)+0x6ed9eba1:_0x33dcd5<0x3c?_0xb9a628+=(_0x34ea6f&_0x594903|_0x34ea6f&_0x579750|_0x594903&_0x579750)-0x70e44324:_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)-0x359d3e2a,_0x38fb69=_0x579750,_0x579750=_0x594903,_0x594903=_0x34ea6f<<0x1e|_0x34ea6f>>>0x2,_0x34ea6f=_0x3f1e21,_0x3f1e21=_0xb9a628;}_0x333a75[0x0]=_0x333a75[0x0]+_0x3f1e21|0x0,_0x333a75[0x1]=_0x333a75[0x1]+_0x34ea6f|0x0,_0x333a75[0x2]=_0x333a75[0x2]+_0x594903|0x0,_0x333a75[0x3]=_0x333a75[0x3]+_0x579750|0x0,_0x333a75[0x4]=_0x333a75[0x4]+_0x38fb69|0x0;},'_doFinalize':function(){var _0x2b1c7a=_0x2cae5e,_0x3c4a86=this[_0x2b1c7a(0x376)],_0x21e344=_0x3c4a86[_0x2b1c7a(0x3ef)],_0x2e441c=this[_0x2b1c7a(0x36b)]*0x8,_0x4150c6=_0x3c4a86[_0x2b1c7a(0x1f9)]*0x8;return _0x21e344[_0x4150c6>>>0x5]|=0x80<<0x18-_0x4150c6%0x20,_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x2b1c7a(0x1e6)](_0x2e441c/0x100000000),_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xf]=_0x2e441c,_0x3c4a86[_0x2b1c7a(0x1f9)]=_0x21e344[_0x2b1c7a(0x27c)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x2814a9=_0x2cae5e,_0x378f4e=_0x3061e0['clone'][_0x2814a9(0x1d5)](this);return _0x378f4e['_hash']=this['_hash'][_0x2814a9(0x41f)](),_0x378f4e;}});_0x54d646[_0x2cae5e(0x502)]=_0x3061e0['_createHelper'](_0xcdbef4),_0x54d646[_0x2cae5e(0x334)]=_0x3061e0[_0x2cae5e(0x273)](_0xcdbef4);}()),_0x3e3536[_0x401a04(0x502)];}));}(me)),me[_0x14c4dd(0x238)];}var Ce={'exports':{}},wi=Ce[_0x25fdaf(0x238)],Qe;function Li(){var _0x4b7e13=_0x25fdaf;return Qe||(Qe=0x1,function(_0x2b4941,_0x3e0908){(function(_0x79921e,_0x3b7d7d){var _0x2ea413=_0x305e;_0x2b4941[_0x2ea413(0x238)]=_0x3b7d7d(Q());}(wi,function(_0x557264){(function(){var _0x186358=_0x305e,_0x4a5ae2=_0x557264,_0x34d81c=_0x4a5ae2['lib'],_0x539009=_0x34d81c[_0x186358(0x286)],_0x26dbe0=_0x4a5ae2[_0x186358(0x419)],_0x5c963c=_0x26dbe0['Utf8'],_0x58310b=_0x4a5ae2['algo'];_0x58310b[_0x186358(0x3d9)]=_0x539009[_0x186358(0x49e)]({'init':function(_0x2ed763,_0x1c0983){var _0x20298f=_0x186358;_0x2ed763=this[_0x20298f(0x2e3)]=new _0x2ed763['init'](),typeof _0x1c0983==_0x20298f(0x42b)&&(_0x1c0983=_0x5c963c[_0x20298f(0x3ed)](_0x1c0983));var _0x589429=_0x2ed763[_0x20298f(0x1b9)],_0x4ba0e5=_0x589429*0x4;_0x1c0983[_0x20298f(0x1f9)]>_0x4ba0e5&&(_0x1c0983=_0x2ed763[_0x20298f(0x457)](_0x1c0983)),_0x1c0983[_0x20298f(0x439)]();for(var _0x2266f2=this[_0x20298f(0x208)]=_0x1c0983[_0x20298f(0x41f)](),_0x56ec08=this[_0x20298f(0x4e1)]=_0x1c0983[_0x20298f(0x41f)](),_0x14e938=_0x2266f2[_0x20298f(0x3ef)],_0x47bca7=_0x56ec08[_0x20298f(0x3ef)],_0x8eb07b=0x0;_0x8eb07b<_0x589429;_0x8eb07b++)_0x14e938[_0x8eb07b]^=0x5c5c5c5c,_0x47bca7[_0x8eb07b]^=0x36363636;_0x2266f2[_0x20298f(0x1f9)]=_0x56ec08[_0x20298f(0x1f9)]=_0x4ba0e5,this[_0x20298f(0x3d8)]();},'reset':function(){var _0x598c9f=_0x186358,_0x2e7583=this[_0x598c9f(0x2e3)];_0x2e7583[_0x598c9f(0x3d8)](),_0x2e7583[_0x598c9f(0x366)](this['_iKey']);},'update':function(_0xd6431a){var _0x6c572c=_0x186358;return this[_0x6c572c(0x2e3)][_0x6c572c(0x366)](_0xd6431a),this;},'finalize':function(_0x3f7ea3){var _0x347102=_0x186358,_0x4f93fc=this[_0x347102(0x2e3)],_0xed6f9c=_0x4f93fc[_0x347102(0x457)](_0x3f7ea3);_0x4f93fc[_0x347102(0x3d8)]();var _0x2dbdce=_0x4f93fc[_0x347102(0x457)](this[_0x347102(0x208)]['clone']()[_0x347102(0x221)](_0xed6f9c));return _0x2dbdce;}});}());}));}(Ce)),Ce[_0x4b7e13(0x238)];}var Mi=Ee[_0x25fdaf(0x238)],et;function Nt(){var _0x404bf3=_0x25fdaf;return et||(et=0x1,function(_0x53a496,_0xe4b8da){(function(_0x39afd4,_0x310500,_0x1918ce){_0x53a496['exports']=_0x310500(Q(),Pi(),Li());}(Mi,function(_0x48a920){var _0x4135bf=_0x305e;return(function(){var _0x933ec7=_0x305e,_0x296890=_0x48a920,_0x919e56=_0x296890[_0x933ec7(0x2d8)],_0x52b1ed=_0x919e56[_0x933ec7(0x286)],_0x36cef9=_0x919e56['WordArray'],_0x130ad3=_0x296890[_0x933ec7(0x3bd)],_0x5abefb=_0x130ad3['MD5'],_0x1fca50=_0x130ad3[_0x933ec7(0x260)]=_0x52b1ed[_0x933ec7(0x49e)]({'cfg':_0x52b1ed[_0x933ec7(0x49e)]({'keySize':0x80/0x20,'hasher':_0x5abefb,'iterations':0x1}),'init':function(_0xeaba6c){var _0x3d5fa1=_0x933ec7;this[_0x3d5fa1(0x28f)]=this[_0x3d5fa1(0x28f)][_0x3d5fa1(0x49e)](_0xeaba6c);},'compute':function(_0x591fbb,_0x1698d8){var _0xb578e3=_0x933ec7;for(var _0x4e4743,_0x4c24ca=this[_0xb578e3(0x28f)],_0x5eef5e=_0x4c24ca[_0xb578e3(0x33b)][_0xb578e3(0x2f2)](),_0x310676=_0x36cef9[_0xb578e3(0x2f2)](),_0x18c334=_0x310676[_0xb578e3(0x3ef)],_0x2105e0=_0x4c24ca[_0xb578e3(0x4fa)],_0x3f9c73=_0x4c24ca[_0xb578e3(0x1c3)];_0x18c334[_0xb578e3(0x27c)]<_0x2105e0;){_0x4e4743&&_0x5eef5e['update'](_0x4e4743),_0x4e4743=_0x5eef5e[_0xb578e3(0x366)](_0x591fbb)[_0xb578e3(0x457)](_0x1698d8),_0x5eef5e[_0xb578e3(0x3d8)]();for(var _0x4b97e6=0x1;_0x4b97e6<_0x3f9c73;_0x4b97e6++)_0x4e4743=_0x5eef5e['finalize'](_0x4e4743),_0x5eef5e['reset']();_0x310676[_0xb578e3(0x221)](_0x4e4743);}return _0x310676['sigBytes']=_0x2105e0*0x4,_0x310676;}});_0x296890[_0x933ec7(0x260)]=function(_0x36ec85,_0x583a2f,_0x5164e3){var _0x1f4ec3=_0x933ec7;return _0x1fca50[_0x1f4ec3(0x2f2)](_0x5164e3)[_0x1f4ec3(0x27f)](_0x36ec85,_0x583a2f);};}()),_0x48a920[_0x4135bf(0x260)];}));}(Ee)),Ee[_0x404bf3(0x238)];}var Te={'exports':{}},xi=Te[_0x25fdaf(0x238)],tt;function Ut(){return tt||(tt=0x1,function(_0x3f4ab5,_0x17535e){(function(_0xe9771f,_0x57af79,_0x2b7efe){var _0x12ed93=_0x305e;_0x3f4ab5[_0x12ed93(0x238)]=_0x57af79(Q(),Nt());}(xi,function(_0x337a90){var _0x207e38=_0x305e;_0x337a90[_0x207e38(0x2d8)][_0x207e38(0x2f4)]||function(_0x455bac){var _0x3315d0=_0x207e38,_0x1674de=_0x337a90,_0x66eb29=_0x1674de[_0x3315d0(0x2d8)],_0x50a099=_0x66eb29[_0x3315d0(0x286)],_0x14b390=_0x66eb29[_0x3315d0(0x33f)],_0x106a9a=_0x66eb29[_0x3315d0(0x41a)],_0x2a222e=_0x1674de[_0x3315d0(0x419)];_0x2a222e[_0x3315d0(0x4f0)];var _0x5bb29a=_0x2a222e['Base64'],_0x37c49e=_0x1674de[_0x3315d0(0x3bd)],_0x42b9d8=_0x37c49e[_0x3315d0(0x260)],_0x4aaaf5=_0x66eb29[_0x3315d0(0x2f4)]=_0x106a9a[_0x3315d0(0x49e)]({'cfg':_0x50a099['extend'](),'createEncryptor':function(_0x2b0e5b,_0x370876){var _0x4af42f=_0x3315d0;return this['create'](this[_0x4af42f(0x1b4)],_0x2b0e5b,_0x370876);},'createDecryptor':function(_0x15afb4,_0x155ebd){var _0x41812a=_0x3315d0;return this[_0x41812a(0x2f2)](this[_0x41812a(0x2b5)],_0x15afb4,_0x155ebd);},'init':function(_0x271a38,_0x13e751,_0x1ca877){var _0x2c1287=_0x3315d0;this[_0x2c1287(0x28f)]=this[_0x2c1287(0x28f)][_0x2c1287(0x49e)](_0x1ca877),this[_0x2c1287(0x281)]=_0x271a38,this['_key']=_0x13e751,this[_0x2c1287(0x3d8)]();},'reset':function(){var _0x2dddde=_0x3315d0;_0x106a9a[_0x2dddde(0x3d8)][_0x2dddde(0x1d5)](this),this[_0x2dddde(0x4f5)]();},'process':function(_0x434646){var _0x710f34=_0x3315d0;return this[_0x710f34(0x1e7)](_0x434646),this['_process']();},'finalize':function(_0x3c095d){var _0x248b56=_0x3315d0;_0x3c095d&&this[_0x248b56(0x1e7)](_0x3c095d);var _0xa666f7=this[_0x248b56(0x2d4)]();return _0xa666f7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc8374f(_0x2e6d42){var _0xc62890=_0x305e;return typeof _0x2e6d42==_0xc62890(0x42b)?_0x35b24c:_0x5f7b4a;}return function(_0x105578){return{'encrypt':function(_0x492a10,_0x280e75,_0x45b8c8){return _0xc8374f(_0x280e75)['encrypt'](_0x105578,_0x492a10,_0x280e75,_0x45b8c8);},'decrypt':function(_0x566415,_0x47cc9d,_0x46ed5c){var _0xaa083a=_0x305e;return _0xc8374f(_0x47cc9d)[_0xaa083a(0x29c)](_0x105578,_0x566415,_0x47cc9d,_0x46ed5c);}};};}())});_0x66eb29[_0x3315d0(0x335)]=_0x4aaaf5[_0x3315d0(0x49e)]({'_doFinalize':function(){var _0x956f83=_0x3315d0,_0x53d29a=this[_0x956f83(0x3ae)](!0x0);return _0x53d29a;},'blockSize':0x1});var _0x233360=_0x1674de[_0x3315d0(0x4f7)]={},_0x548ba2=_0x66eb29[_0x3315d0(0x1b3)]=_0x50a099['extend']({'createEncryptor':function(_0x47a6c7,_0x27e7c2){var _0x164db4=_0x3315d0;return this['Encryptor'][_0x164db4(0x2f2)](_0x47a6c7,_0x27e7c2);},'createDecryptor':function(_0x18528e,_0x46a112){var _0x32a274=_0x3315d0;return this[_0x32a274(0x388)][_0x32a274(0x2f2)](_0x18528e,_0x46a112);},'init':function(_0x3e731c,_0x548a77){var _0x797231=_0x3315d0;this[_0x797231(0x3ee)]=_0x3e731c,this[_0x797231(0x1ca)]=_0x548a77;}}),_0x1aee7c=_0x233360['CBC']=(function(){var _0x58238a=_0x3315d0,_0x1907a5=_0x548ba2[_0x58238a(0x49e)]();_0x1907a5[_0x58238a(0x4ac)]=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x24c66e,_0x50fe65){var _0x280f0c=_0x58238a,_0x35dbb6=this[_0x280f0c(0x3ee)],_0xb41b8b=_0x35dbb6[_0x280f0c(0x1b9)];_0x4a559c[_0x280f0c(0x1d5)](this,_0x24c66e,_0x50fe65,_0xb41b8b),_0x35dbb6[_0x280f0c(0x259)](_0x24c66e,_0x50fe65),this[_0x280f0c(0x51b)]=_0x24c66e[_0x280f0c(0x23b)](_0x50fe65,_0x50fe65+_0xb41b8b);}}),_0x1907a5['Decryptor']=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x2f360c,_0x551fe5){var _0x4f35b2=_0x58238a,_0x5cb82b=this[_0x4f35b2(0x3ee)],_0x63a8db=_0x5cb82b[_0x4f35b2(0x1b9)],_0x553ed5=_0x2f360c[_0x4f35b2(0x23b)](_0x551fe5,_0x551fe5+_0x63a8db);_0x5cb82b[_0x4f35b2(0x237)](_0x2f360c,_0x551fe5),_0x4a559c['call'](this,_0x2f360c,_0x551fe5,_0x63a8db),this['_prevBlock']=_0x553ed5;}});function _0x4a559c(_0x29318f,_0x2c527d,_0x2c1e1d){var _0x3c60e8=_0x58238a,_0xd15ce9,_0x1dad80=this['_iv'];_0x1dad80?(_0xd15ce9=_0x1dad80,this['_iv']=_0x455bac):_0xd15ce9=this[_0x3c60e8(0x51b)];for(var _0x2af1fe=0x0;_0x2af1fe<_0x2c1e1d;_0x2af1fe++)_0x29318f[_0x2c527d+_0x2af1fe]^=_0xd15ce9[_0x2af1fe];}return _0x1907a5;}()),_0xbb1737=_0x1674de[_0x3315d0(0x30f)]={},_0x3111fb=_0xbb1737['Pkcs7']={'pad':function(_0x485fcc,_0x5b52b5){var _0x1d6997=_0x3315d0;for(var _0x56d7cd=_0x5b52b5*0x4,_0x1b01dc=_0x56d7cd-_0x485fcc['sigBytes']%_0x56d7cd,_0x5aac12=_0x1b01dc<<0x18|_0x1b01dc<<0x10|_0x1b01dc<<0x8|_0x1b01dc,_0x32eacf=[],_0x34136b=0x0;_0x34136b<_0x1b01dc;_0x34136b+=0x4)_0x32eacf['push'](_0x5aac12);var _0x480aae=_0x14b390[_0x1d6997(0x2f2)](_0x32eacf,_0x1b01dc);_0x485fcc['concat'](_0x480aae);},'unpad':function(_0xb17417){var _0x356d7e=_0x3315d0,_0x16cef9=_0xb17417[_0x356d7e(0x3ef)][_0xb17417[_0x356d7e(0x1f9)]-0x1>>>0x2]&0xff;_0xb17417['sigBytes']-=_0x16cef9;}};_0x66eb29[_0x3315d0(0x34f)]=_0x4aaaf5[_0x3315d0(0x49e)]({'cfg':_0x4aaaf5[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'mode':_0x1aee7c,'padding':_0x3111fb}),'reset':function(){var _0x52d5a6=_0x3315d0,_0xfbdfff;_0x4aaaf5[_0x52d5a6(0x3d8)]['call'](this);var _0x18921b=this['cfg'],_0x1ea0aa=_0x18921b['iv'],_0x566713=_0x18921b['mode'];this['_xformMode']==this[_0x52d5a6(0x1b4)]?_0xfbdfff=_0x566713[_0x52d5a6(0x255)]:(_0xfbdfff=_0x566713[_0x52d5a6(0x37a)],this[_0x52d5a6(0x349)]=0x1),this[_0x52d5a6(0x2ef)]&&this[_0x52d5a6(0x2ef)][_0x52d5a6(0x421)]==_0xfbdfff?this[_0x52d5a6(0x2ef)]['init'](this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]):(this[_0x52d5a6(0x2ef)]=_0xfbdfff[_0x52d5a6(0x1d5)](_0x566713,this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]),this[_0x52d5a6(0x2ef)]['__creator']=_0xfbdfff);},'_doProcessBlock':function(_0x1a7a68,_0x48b921){var _0x3e536f=_0x3315d0;this['_mode'][_0x3e536f(0x2cb)](_0x1a7a68,_0x48b921);},'_doFinalize':function(){var _0x161f53=_0x3315d0,_0x1a1469,_0x48773b=this['cfg'][_0x161f53(0x4e7)];return this[_0x161f53(0x281)]==this['_ENC_XFORM_MODE']?(_0x48773b[_0x161f53(0x30f)](this[_0x161f53(0x376)],this[_0x161f53(0x1b9)]),_0x1a1469=this[_0x161f53(0x3ae)](!0x0)):(_0x1a1469=this['_process'](!0x0),_0x48773b[_0x161f53(0x4e4)](_0x1a1469)),_0x1a1469;},'blockSize':0x80/0x20});var _0x27f5e4=_0x66eb29[_0x3315d0(0x2de)]=_0x50a099[_0x3315d0(0x49e)]({'init':function(_0x528cf6){var _0x29b285=_0x3315d0;this[_0x29b285(0x28d)](_0x528cf6);},'toString':function(_0x4da686){var _0x484ab3=_0x3315d0;return(_0x4da686||this[_0x484ab3(0x40e)])['stringify'](this);}}),_0x2fc260=_0x1674de[_0x3315d0(0x1ce)]={},_0x5839b5=_0x2fc260['OpenSSL']={'stringify':function(_0x37f749){var _0x5368a4=_0x3315d0,_0x3f18a3,_0x398b3c=_0x37f749[_0x5368a4(0x469)],_0x4e33d2=_0x37f749[_0x5368a4(0x3e3)];return _0x4e33d2?_0x3f18a3=_0x14b390[_0x5368a4(0x2f2)]([0x53616c74,0x65645f5f])[_0x5368a4(0x221)](_0x4e33d2)[_0x5368a4(0x221)](_0x398b3c):_0x3f18a3=_0x398b3c,_0x3f18a3[_0x5368a4(0x49a)](_0x5bb29a);},'parse':function(_0x48fe8a){var _0x49d481=_0x3315d0,_0x1e2a73,_0x2d8b89=_0x5bb29a[_0x49d481(0x3ed)](_0x48fe8a),_0x243d8b=_0x2d8b89['words'];return _0x243d8b[0x0]==0x53616c74&&_0x243d8b[0x1]==0x65645f5f&&(_0x1e2a73=_0x14b390[_0x49d481(0x2f2)](_0x243d8b[_0x49d481(0x23b)](0x2,0x4)),_0x243d8b[_0x49d481(0x467)](0x0,0x4),_0x2d8b89['sigBytes']-=0x10),_0x27f5e4['create']({'ciphertext':_0x2d8b89,'salt':_0x1e2a73});}},_0x5f7b4a=_0x66eb29[_0x3315d0(0x2cd)]=_0x50a099['extend']({'cfg':_0x50a099[_0x3315d0(0x49e)]({'format':_0x5839b5}),'encrypt':function(_0x31552c,_0x4270ec,_0x385222,_0x2c7f99){var _0x5fa0db=_0x3315d0;_0x2c7f99=this['cfg'][_0x5fa0db(0x49e)](_0x2c7f99);var _0x4e9b3=_0x31552c[_0x5fa0db(0x255)](_0x385222,_0x2c7f99),_0x384cb1=_0x4e9b3[_0x5fa0db(0x457)](_0x4270ec),_0x14d6cc=_0x4e9b3['cfg'];return _0x27f5e4[_0x5fa0db(0x2f2)]({'ciphertext':_0x384cb1,'key':_0x385222,'iv':_0x14d6cc['iv'],'algorithm':_0x31552c,'mode':_0x14d6cc['mode'],'padding':_0x14d6cc[_0x5fa0db(0x4e7)],'blockSize':_0x31552c[_0x5fa0db(0x1b9)],'formatter':_0x2c7f99['format']});},'decrypt':function(_0x31b9ba,_0x5619d9,_0x27688d,_0x3badc8){var _0xc00558=_0x3315d0;_0x3badc8=this[_0xc00558(0x28f)]['extend'](_0x3badc8),_0x5619d9=this[_0xc00558(0x4be)](_0x5619d9,_0x3badc8['format']);var _0x12a341=_0x31b9ba['createDecryptor'](_0x27688d,_0x3badc8)[_0xc00558(0x457)](_0x5619d9[_0xc00558(0x469)]);return _0x12a341;},'_parse':function(_0x181ad8,_0xc7ff77){var _0x51fe40=_0x3315d0;return typeof _0x181ad8==_0x51fe40(0x42b)?_0xc7ff77[_0x51fe40(0x3ed)](_0x181ad8,this):_0x181ad8;}}),_0x47469b=_0x1674de[_0x3315d0(0x449)]={},_0x390acd=_0x47469b[_0x3315d0(0x424)]={'execute':function(_0x3b2b31,_0x209fc1,_0x36d378,_0x1456e7,_0x11f926){var _0x3e87e8=_0x3315d0;if(_0x1456e7||(_0x1456e7=_0x14b390[_0x3e87e8(0x2a3)](0x40/0x8)),_0x11f926)var _0x33018d=_0x42b9d8[_0x3e87e8(0x2f2)]({'keySize':_0x209fc1+_0x36d378,'hasher':_0x11f926})[_0x3e87e8(0x27f)](_0x3b2b31,_0x1456e7);else var _0x33018d=_0x42b9d8['create']({'keySize':_0x209fc1+_0x36d378})['compute'](_0x3b2b31,_0x1456e7);var _0x39fbe7=_0x14b390[_0x3e87e8(0x2f2)](_0x33018d[_0x3e87e8(0x3ef)][_0x3e87e8(0x23b)](_0x209fc1),_0x36d378*0x4);return _0x33018d[_0x3e87e8(0x1f9)]=_0x209fc1*0x4,_0x27f5e4['create']({'key':_0x33018d,'iv':_0x39fbe7,'salt':_0x1456e7});}},_0x35b24c=_0x66eb29[_0x3315d0(0x38b)]=_0x5f7b4a['extend']({'cfg':_0x5f7b4a[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'kdf':_0x390acd}),'encrypt':function(_0x3df603,_0x299585,_0x358357,_0x2766bf){var _0x22dc1d=_0x3315d0;_0x2766bf=this[_0x22dc1d(0x28f)][_0x22dc1d(0x49e)](_0x2766bf);var _0x2b5ed2=_0x2766bf[_0x22dc1d(0x449)][_0x22dc1d(0x258)](_0x358357,_0x3df603[_0x22dc1d(0x4fa)],_0x3df603[_0x22dc1d(0x4e5)],_0x2766bf[_0x22dc1d(0x3e3)],_0x2766bf['hasher']);_0x2766bf['iv']=_0x2b5ed2['iv'];var _0x223d5a=_0x5f7b4a['encrypt'][_0x22dc1d(0x1d5)](this,_0x3df603,_0x299585,_0x2b5ed2[_0x22dc1d(0x3dd)],_0x2766bf);return _0x223d5a['mixIn'](_0x2b5ed2),_0x223d5a;},'decrypt':function(_0xa3c867,_0x4407f0,_0x5e5a85,_0x691eee){var _0x5cbeee=_0x3315d0;_0x691eee=this['cfg']['extend'](_0x691eee),_0x4407f0=this[_0x5cbeee(0x4be)](_0x4407f0,_0x691eee[_0x5cbeee(0x1ce)]);var _0x2a8739=_0x691eee[_0x5cbeee(0x449)]['execute'](_0x5e5a85,_0xa3c867[_0x5cbeee(0x4fa)],_0xa3c867[_0x5cbeee(0x4e5)],_0x4407f0[_0x5cbeee(0x3e3)],_0x691eee[_0x5cbeee(0x33b)]);_0x691eee['iv']=_0x2a8739['iv'];var _0x1f7115=_0x5f7b4a[_0x5cbeee(0x29c)][_0x5cbeee(0x1d5)](this,_0xa3c867,_0x4407f0,_0x2a8739[_0x5cbeee(0x3dd)],_0x691eee);return _0x1f7115;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x25fdaf(0x238)],it;function Hi(){var _0xfafffe=_0x25fdaf;return it||(it=0x1,function(_0x28122b,_0x4acfa5){(function(_0x731ffc,_0x2879b7,_0x50b394){var _0x586afb=_0x305e;_0x28122b[_0x586afb(0x238)]=_0x2879b7(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3856a8){return(function(){var _0x21e59e=_0x305e,_0x51ee09=_0x3856a8,_0x3b1017=_0x51ee09[_0x21e59e(0x2d8)],_0x3c2896=_0x3b1017['BlockCipher'],_0xc821f4=_0x51ee09[_0x21e59e(0x3bd)],_0x3b2029=[],_0x3e6ede=[],_0x2774b9=[],_0x1ad7bc=[],_0xab7969=[],_0x1287a=[],_0x17c32d=[],_0x4c7244=[],_0x2fbb71=[],_0x155ff2=[];(function(){for(var _0xdf2eaa=[],_0x34189f=0x0;_0x34189f<0x100;_0x34189f++)_0x34189f<0x80?_0xdf2eaa[_0x34189f]=_0x34189f<<0x1:_0xdf2eaa[_0x34189f]=_0x34189f<<0x1^0x11b;for(var _0x62dc79=0x0,_0x4c8b3c=0x0,_0x34189f=0x0;_0x34189f<0x100;_0x34189f++){var _0x39888e=_0x4c8b3c^_0x4c8b3c<<0x1^_0x4c8b3c<<0x2^_0x4c8b3c<<0x3^_0x4c8b3c<<0x4;_0x39888e=_0x39888e>>>0x8^_0x39888e&0xff^0x63,_0x3b2029[_0x62dc79]=_0x39888e,_0x3e6ede[_0x39888e]=_0x62dc79;var _0x2417e3=_0xdf2eaa[_0x62dc79],_0x4ed135=_0xdf2eaa[_0x2417e3],_0x3a1132=_0xdf2eaa[_0x4ed135],_0x17d78e=_0xdf2eaa[_0x39888e]*0x101^_0x39888e*0x1010100;_0x2774b9[_0x62dc79]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x1ad7bc[_0x62dc79]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0xab7969[_0x62dc79]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x1287a[_0x62dc79]=_0x17d78e;var _0x17d78e=_0x3a1132*0x1010101^_0x4ed135*0x10001^_0x2417e3*0x101^_0x62dc79*0x1010100;_0x17c32d[_0x39888e]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x4c7244[_0x39888e]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0x2fbb71[_0x39888e]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x155ff2[_0x39888e]=_0x17d78e,_0x62dc79?(_0x62dc79=_0x2417e3^_0xdf2eaa[_0xdf2eaa[_0xdf2eaa[_0x3a1132^_0x2417e3]]],_0x4c8b3c^=_0xdf2eaa[_0xdf2eaa[_0x4c8b3c]]):_0x62dc79=_0x4c8b3c=0x1;}}());var _0x59695a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a34d9=_0xc821f4[_0x21e59e(0x407)]=_0x3c2896['extend']({'_doReset':function(){var _0x5c4b0f=_0x21e59e,_0x20e4a1;if(!(this[_0x5c4b0f(0x2dc)]&&this[_0x5c4b0f(0x386)]===this['_key'])){for(var _0x1c51f7=this[_0x5c4b0f(0x386)]=this[_0x5c4b0f(0x3a2)],_0x1e96c0=_0x1c51f7[_0x5c4b0f(0x3ef)],_0x37b24d=_0x1c51f7[_0x5c4b0f(0x1f9)]/0x4,_0x8476ad=this[_0x5c4b0f(0x2dc)]=_0x37b24d+0x6,_0x28c2a1=(_0x8476ad+0x1)*0x4,_0x5190ae=this[_0x5c4b0f(0x2b2)]=[],_0x543c49=0x0;_0x543c49<_0x28c2a1;_0x543c49++)_0x543c49<_0x37b24d?_0x5190ae[_0x543c49]=_0x1e96c0[_0x543c49]:(_0x20e4a1=_0x5190ae[_0x543c49-0x1],_0x543c49%_0x37b24d?_0x37b24d>0x6&&_0x543c49%_0x37b24d==0x4&&(_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff]):(_0x20e4a1=_0x20e4a1<<0x8|_0x20e4a1>>>0x18,_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff],_0x20e4a1^=_0x59695a[_0x543c49/_0x37b24d|0x0]<<0x18),_0x5190ae[_0x543c49]=_0x5190ae[_0x543c49-_0x37b24d]^_0x20e4a1);for(var _0x4cd979=this['_invKeySchedule']=[],_0x2f2182=0x0;_0x2f2182<_0x28c2a1;_0x2f2182++){var _0x543c49=_0x28c2a1-_0x2f2182;if(_0x2f2182%0x4)var _0x20e4a1=_0x5190ae[_0x543c49];else var _0x20e4a1=_0x5190ae[_0x543c49-0x4];_0x2f2182<0x4||_0x543c49<=0x4?_0x4cd979[_0x2f2182]=_0x20e4a1:_0x4cd979[_0x2f2182]=_0x17c32d[_0x3b2029[_0x20e4a1>>>0x18]]^_0x4c7244[_0x3b2029[_0x20e4a1>>>0x10&0xff]]^_0x2fbb71[_0x3b2029[_0x20e4a1>>>0x8&0xff]]^_0x155ff2[_0x3b2029[_0x20e4a1&0xff]];}}},'encryptBlock':function(_0x56a48d,_0x45bd6d){var _0x1a80e3=_0x21e59e;this[_0x1a80e3(0x2a7)](_0x56a48d,_0x45bd6d,this[_0x1a80e3(0x2b2)],_0x2774b9,_0x1ad7bc,_0xab7969,_0x1287a,_0x3b2029);},'decryptBlock':function(_0x5680d1,_0x2fb320){var _0x58edda=_0x21e59e,_0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1,this[_0x58edda(0x2a7)](_0x5680d1,_0x2fb320,this[_0x58edda(0x38f)],_0x17c32d,_0x4c7244,_0x2fbb71,_0x155ff2,_0x3e6ede);var _0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1;},'_doCryptBlock':function(_0x39a7d5,_0xcc0a37,_0x550874,_0x1fecd4,_0x2f328c,_0x256eec,_0x19dd04,_0x51dff0){var _0x1f274d=_0x21e59e;for(var _0x2c0f2c=this[_0x1f274d(0x2dc)],_0x537814=_0x39a7d5[_0xcc0a37]^_0x550874[0x0],_0x2c7365=_0x39a7d5[_0xcc0a37+0x1]^_0x550874[0x1],_0x15f528=_0x39a7d5[_0xcc0a37+0x2]^_0x550874[0x2],_0x42fbbe=_0x39a7d5[_0xcc0a37+0x3]^_0x550874[0x3],_0x406647=0x4,_0x4f222b=0x1;_0x4f222b<_0x2c0f2c;_0x4f222b++){var _0x4eab31=_0x1fecd4[_0x537814>>>0x18]^_0x2f328c[_0x2c7365>>>0x10&0xff]^_0x256eec[_0x15f528>>>0x8&0xff]^_0x19dd04[_0x42fbbe&0xff]^_0x550874[_0x406647++],_0x51e83e=_0x1fecd4[_0x2c7365>>>0x18]^_0x2f328c[_0x15f528>>>0x10&0xff]^_0x256eec[_0x42fbbe>>>0x8&0xff]^_0x19dd04[_0x537814&0xff]^_0x550874[_0x406647++],_0x5c0c3d=_0x1fecd4[_0x15f528>>>0x18]^_0x2f328c[_0x42fbbe>>>0x10&0xff]^_0x256eec[_0x537814>>>0x8&0xff]^_0x19dd04[_0x2c7365&0xff]^_0x550874[_0x406647++],_0x28ae7a=_0x1fecd4[_0x42fbbe>>>0x18]^_0x2f328c[_0x537814>>>0x10&0xff]^_0x256eec[_0x2c7365>>>0x8&0xff]^_0x19dd04[_0x15f528&0xff]^_0x550874[_0x406647++];_0x537814=_0x4eab31,_0x2c7365=_0x51e83e,_0x15f528=_0x5c0c3d,_0x42fbbe=_0x28ae7a;}var _0x4eab31=(_0x51dff0[_0x537814>>>0x18]<<0x18|_0x51dff0[_0x2c7365>>>0x10&0xff]<<0x10|_0x51dff0[_0x15f528>>>0x8&0xff]<<0x8|_0x51dff0[_0x42fbbe&0xff])^_0x550874[_0x406647++],_0x51e83e=(_0x51dff0[_0x2c7365>>>0x18]<<0x18|_0x51dff0[_0x15f528>>>0x10&0xff]<<0x10|_0x51dff0[_0x42fbbe>>>0x8&0xff]<<0x8|_0x51dff0[_0x537814&0xff])^_0x550874[_0x406647++],_0x5c0c3d=(_0x51dff0[_0x15f528>>>0x18]<<0x18|_0x51dff0[_0x42fbbe>>>0x10&0xff]<<0x10|_0x51dff0[_0x537814>>>0x8&0xff]<<0x8|_0x51dff0[_0x2c7365&0xff])^_0x550874[_0x406647++],_0x28ae7a=(_0x51dff0[_0x42fbbe>>>0x18]<<0x18|_0x51dff0[_0x537814>>>0x10&0xff]<<0x10|_0x51dff0[_0x2c7365>>>0x8&0xff]<<0x8|_0x51dff0[_0x15f528&0xff])^_0x550874[_0x406647++];_0x39a7d5[_0xcc0a37]=_0x4eab31,_0x39a7d5[_0xcc0a37+0x1]=_0x51e83e,_0x39a7d5[_0xcc0a37+0x2]=_0x5c0c3d,_0x39a7d5[_0xcc0a37+0x3]=_0x28ae7a;},'keySize':0x100/0x20});_0x51ee09['AES']=_0x3c2896[_0x21e59e(0x263)](_0x1a34d9);}()),_0x3856a8['AES'];}));}(fe)),fe[_0xfafffe(0x238)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x208c1b=_0x25fdaf;return rt||(rt=0x1,function(_0x491578,_0x119291){(function(_0x1b90ed,_0x7a585b){var _0x4133a0=_0x305e;_0x491578[_0x4133a0(0x238)]=_0x7a585b(Q());}(Fi,function(_0x1218f8){var _0xe1b832=_0x305e;return _0x1218f8[_0xe1b832(0x419)]['Utf8'];}));}(be)),be[_0x208c1b(0x238)];}var Wi=Vi();function _0x1691(){var _0x453a80=['_applyRemoteChangeset','SheetTransformSelectionsService','UserProfileImg','RECV','_sessionStatus$','_sheetTransformSelectionsService','JOIN','HttpImport','status','/universer-api/authz','close','getTime','AES','touchDependencies','/new_changes','sheets','collaboration_new_changeset','_initRequestHeader','getInterceptPoints','formatter','_type','COMPRESS_MUTATION_APPLY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','SetSelectionsOperation','isTransformChangesetsSuccess','transformUndoRedo','indexOf','socket$','COMMENT_UPDATE','enc','BufferedBlockAlgorithm','_getUploadFileURL','SUBMIT_CHANGESET_TIMEOUT','encode','apply','clone','_socketReady','__creator','updatePermissionPoint','[CollaborationSessionService]:\x20socket\x20error','OpenSSL','_collaborationSessionService','30141152ayNUeS','getUnitType','put','addImageSourceCache','filter','string','_createHandler','__Key__','_socket','loadOfflineData','UNIVER_UNKNOWN','_members$','_submitChangeset','_onRemoteRetry','isInternalEditorID','getCurrentSelections','_onRemoteACK','_commandService','_resendWithTimeout','clamp','session.room-permission-denied','_univerInstanceService','LIVESHARE_REQUEST_HOST','_imageSourceCache','error$','_onConflict','CollaborationSessionService','[CollaborationEntity]','function','USER_NOT_INVITED_CODE','getWorkbookSelections','_exhaustRemoteChangesetQueue','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','[OfflineState]:\x20received\x20changeset.','kdf','getSheetId','Optional','entityInit$','next','unsubscribe','_retryCount','_unitID','_getCtorByUniverType','toggleOnline','_isPermissionRej','YUUMI_URL_COL_OUT_OF_RANGE','fetchMissingChangesets','onMissingChangesets','finalize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','_telemetryInfo','_unlockTransition','setWaitCount','setShowComponents','offline','_singleActiveUnitService','/object','ILocalCacheService','_remoteChangesetQueue','DEFAULT_COLLAB_WEB_SOCKET_URL','ICommandService','dispose','_checkMissing','splice','unitId','ciphertext','_incrementRevisionNumber','then','_showConflictNotification','_startTelemetryCollaborationNewChangeset','push','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','m2Prime','title','HEARTBEAT_INTERVAL','SEND_CHANGESET_TIMEOUT_KEY','3633426LWsxEV','getCurrentUser','byteLength','[PendingState]:\x20received\x20rejection.','COMPLETION_FINISHED','UNAUTHENTICATED','DependentOn','MUTATION','FileId','_sender','_joinRoom','concatMap','_undoRedoService','Injector','fetchMiss','_initMergeInterceptor','appendMutation','_getLoginPath','RichTextEditingMutation','_snapshotService','Undefined','HEARTBEAT','_commentService','listCollaborators','_emitMembers','_permissionService','_pendingMutations','SEND_CHANGESET_TIMEOUT','JSONX','[FetchMissState]','LocaleService','UPDATE_PERMISSION_OBJ','DisposableCollection','CHANGESET_REJ','editing\x20status\x20changed\x20to','_state','disableLocalCache','/universer-api/comb','toString','UNDEFINED','IDLE','_updateLocalCache','extend','disposeWithMe','onRemoteRetry','_schedule','_onCombEvent','_candidateSocket','_decreaseWaiting','PSEUDO_FETCH_MISSING_RESULT','ImageUploadStatusType','WorkbookEditablePermission','_clearRedo','_sendingTimer','MD5','now','Encryptor','[CollaborationUndoRedoService]','YUUMI_ASYNCIO_CANCELLED','replace','LocalUndoRedoService','3758419vtkCgg','?size=','complete','UNISCRIPT_RUN','AwaitingWithPendingState','Hasher','updateSnapshot','_doProcessBlock','batchAllowed','getGlobalObject','get','_fetchMissChangesets','/object/','_parse','textEncoder','_transformRemoteChangesetByIMECache','1914922uDyRlV','abs','WECHAT_HAS_BEEN_BOUND','_onConnectionFailed','reverse','_userManagerService','_getSendChangesetTimeout','ConflictState','_redoStacks','getOwnPropertyDescriptor','uploadFileServerUrl','charAt','_transformService','catch','updateMember','event$','merge','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformRemoteChangesetByStateCache','_commentUpdate$','registerDependencies','AuthzIoHttpService','SNAPSHOT_HAS_BEEN_REMOVED','synced','INGEST','_tryEnsureSocket','_localCacheService','authzUrl','subscribe','image/gif','SUCCUSS','FETCH_MISS','_iKey','message$','sid','unpad','ivSize','equals','padding','EXCHANGE_SIGN_URL_SERVER_URL_KEY','addHandlerCallback','ws://127.0.0.1:8000/universer-api/comb/connect','stringify','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabSessionService','CommentService','append','Utf8','onStarting','ITransformService','updateCollaborator','_waitCount','_doReset','_localeService','mode','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','keySize','permissionRejEvent','subUnitId','SHOULD_CLOSE_CONN','1299126zNAPIw','_collaborationTimeoutTimer','Tools','sessionStatus$','SHA1','RxDisposable','_waitForHeartbeatResponse','LICENSE_EXPORT_SIZE_EXCEEDED','OPTIONAL','getConfig','_clearScheduledTask','LIVESHARE_NEW_HOST','YUUMI_NO_CUBOID_FOR_QUESTION','OTHER_CLIENT_EDITING','_status$','UniverCollaborationPlugin','file','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LICENSE_DISTRO_REJECTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JOIN_ROOM_PERMISSION_DENIED','_initUnitPermissionChange','downloadEndpointUrl','_onRecvEvent','_change$','_replayCachedMutations','duration','&to=','SOCKET_FAILED','_prevBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','location','{fileID}','_onJoinRoomEvent','_resendTimeout','DocCollaborationEntity','People','revision','IUndoRedoService','PendingState','_entityInit$','_retryConnectingTimer','takeUntil','session.join-failed','BlockCipherMode','_ENC_XFORM_MODE','CollaborationStatus','_instanceService','headers','rxjs/operators','blockSize','map','_getDownloadEndpointURL','fetch_missing','USERS_ENTER','baseRev','defineProperty','UniverCollaborationClientPlugin','_sendHeartbeatTimer','\x20to\x20','iterations','_getAPIPrefixPath','_unitInfo$','ThresholdInterceptorFactory','objectType','CHANGESET_ACK','data','_iv','_clearHeartbeatTimer','IPermissionService','shareReplay','format','_clearUndo','[OfflineState]:\x20received\x20rejection.','MentionType','toggleOffline','COMPRESS_MUTATION_SEND','_listenToNetworkCondition','call','PERMISSION_REJ','override','_sendHeartbeat','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_disableEditing','ENSURE_SNAPSHOT_EXECUTION','_transformIMECache','initWorkbookPermissionChange','getLocalCacheKey','PENDING','UNIVER_DOC','_executeRemoteChangeset','onload','_members','CollaborationEvent','isTransformMutationsWithChangesetFailure','floor','_append','OFFLINE','onTransformIME','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getSnapshotAPIPath','closeSession','requestParams','CollaborationSession','[UniverCollaborationClientPlugin]','_memberService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','@univerjs-pro/license','_roomCreated$','HEARTBEAT_INTERVAL_KEY','readAsDataURL','joinEvent','image/png','retryConnectingInterval','sigBytes','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[DataLoaderService]','objects','open$','loginUrlKey','reqId','image/bmp','getTypeOfUnitDisposed$','default','saveImage','Quantity','LOCAL_CACHE_INTERVAL_KEY','_roomMembers','_logService','_oKey','interceptor','Error\x20on\x20receiving\x20event','parseProtocolChangeset','YUUMI_ALL_TABLES_IS_INVALID','state','JOIN_ROOM_FULL','_compressMutationService','/resources','univer-pro.collaboration-client-socket-service','_map','url','onTransformRemoteChangesetByIMECache','&source=','/fetchmissing?from=','BASE64','getMember','DEFAULT_WS_SESSION_TICKET_URL','MergeInterceptorFactory','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','state$','SyncedState','_HTTPService','onCommandExecuted','_clearTimeoutTimer','concat','Rectangle','body','MOBILE_HAS_BEEN_BOUND','add','/rev/','onTransformState','LOGIN_FAILED','APPLY_REJECT','onTransformRemoteChangesetByStateCache','[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.','_toggleOffline','LOGIN_URL_KEY','post','_throwTelemetryCollaborationNewChangeset','entries','_awaitingChangeset','[CollaborationSessionService]','InsertSheetMutation','UUID','reject','_scheduleCompleteTimestamp','decryptBlock','exports','USERS_LEAVE','getMemberID','slice','transformSelections','Subject','fetching\x20missing\x20changesets\x20from\x20','_resendTimer','mutations','_getUndoStack','IImageIoService','max','_transformSelections','pending','UNIVER_PROJECT','copyFileMeta','ILogService','_onUserJoin','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','MentionIoHttpService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','resourceIDs','charCodeAt','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/collaborator','selections','SnapshotServerOverHTTPService','ISingleActiveUnitService','createEncryptor','deepClone','delete','execute','encryptBlock','CHANGESET_REVISION_CONFILICT','crypto','Workbook','onSendChangeset','size','fetchThroughInterceptors','EvpKDF','roles','_replaceFileID','_createHelper','_handler','forEach','asObservable','collaboratorID','_lockTransition','change$','UserManagerService','SUBMIT_CHANGESET','_transformStateCache','SNAPSHOT_SERVER_URL_KEY','getCollabEntity','UPDATE_CURSOR','_clearRetryConnectingTimer','PY_RUNTIME_SCRIPT_ERROR','collaMsg','_createHmacHelper','ceil','serializeCombRequest','joinRsp','createInstance','SOCKET_FAILED_RETRY','localCacheService','collabWebSocketUrl','init','length','_socketService','not_collab','compute','name','_xformMode','[SyncedState]:\x20received\x20rejection.','readyForCollab','_getSignURL','collaborators','Base','mapDocumentTypeToUniverType','_scheduleCollaborationTimeoutTimer','onRemoteRej','_onConnectionOpen','_substituteUndoStack','POST','mixIn','Latin1','cfg','getSheetBlock','_collaborationPaused','executeCommand','@univerjs/drawing','sessionStatus','HTTPRequest','session.room-full','emitEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CommandType','getLatestCsReqIdBySid','target','decrypt','session','_entities','csAckEvent','Disposable','readInt32LE','responseType','random','FAIL','transformChangesets','byteOffset','_doCryptBlock','uuidv4','findIndex','registerHTTPInterceptor','_tryReconnect','UniverNetworkPlugin','FetchingMissState','capture','SnapshotService','members','_handlerCallback','_keySchedule','/universer-api/uniscript','OfflineState','_DEC_XFORM_MODE','SNAPSHOT_INVALID_SNAPSHOT','_eventService','reconnect','_getCurrentRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setCurrentUser','join','auth.needGotoLoginAlert','/universer-api/oidc/authpage','fromCollab','awaiting_with_pending','_clearLocalCache','&assign=','783760FskSav','getUnit','NEW_CHANGESETS','objectID','/universer-api/snapshot','resend','[SyncedState]:\x20received\x20acknowledgement.','NoPadding','processBlock','signUrlServerUrl','SerializableCipher','CollaborationController','_getRedoStack','rxjs','textRanges','buffer','error','_doFinalize','connection\x20error','CollaborativeUndoRedoService','awaitingChangeset','lib','loadUnitOfRevision','_onMessage','getCollabEntity$','_nRounds','_changesetSessionId','CipherParams','sendChangesetTimeout','UnitSnapshot','IConfigService','createSocket','_hasher','447504fVOsrK','_changesetReqId','YUUMI_RATE_OVER_LIMIT','_config','EMAIL_HAS_BEEN_BOUND','UNIVER_SLIDE','IMentionIOService','transformMutationsWithChangeset','DataLoaderService','CHANGESET_SHOULD_RETRY','from','_mode','_configService','CollaborationImageIoService','create','PERSON','Cipher','c2Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','GLOBAL_ROOMS_CNT_EXCEEDS','members$','type','Could\x20not\x20dynamically\x20require\x20\x22','editingUnit','unitID','RevisionService','COLLAB_WEB_SOCKET_URL','/universer-api/stream/file/upload','_transformUndoredo','session.room-not-exists','MemberService','/allowed','AUTHZ_URL_KEY','SheetsSelectionsService','_injector','AwaitingState','_onOffline','LOCAL_CACHE_INTERVAL','RETRY_CONNECTING_MAX_COUNT','_substituteRedoStack','_snapshotServerService','HEARTBEAT_TIMEOUT','pad','pipe','_registerDependencies','actions','ERROR_IMAGE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_MAX_UNITS_EXCEEDED','pauseCollaboration','INVITE_CODE_REQUIRED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','workbook','JOIN_ROOM_FAILED','_reverseMap','_telemetryService','_updateStatus','UniverInstanceType','awaiting','_state$','c1Prime','LIVESHARE_FETCH_OPERATIONS','ONLINE','_networkConditionService','ImageSourceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_doCreateSocket','UNRECOGNIZED','FETCH_MISSING','__esModule','uniscriptRunEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','href','saveSnapshot','list','HELLO','infoRsp','HmacSHA1','StreamCipher','UnitStatus','avatar','debug','isTransformMutationsWithChangesetSuccess','_collaborationUIEventService','hasher','getDeserializedSheetBlock','onRemoteChangeset','memberID','WordArray','isPermissionRej','requireSession','JOINING','onSyncEditingCollabCursor','INVALID_INVITE_CODE','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','prototype','\x20-\x20','_minBufferSize','INVITE_CODE_HAS_BEEN_UES','getResourcesRequest','CompressMutationService','_clearCollaborationTimeoutTimer','take','BlockCipher','_sessions','_getAPIPrefix','routeKey','eventID','/block/','_stopTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_onRemoteRejected','HEARTBEAT_TIMEOUT_KEY','getUnitStatus$','5jvoeDE','_httpService','_onLocalMutation','_transformStack','symbol','confirm','localeService','_shouldReportTelemetry','IAuthzIoService','onLocalMutation','_revisionService','update','LIVESHARE_OPERATION','unitId\x20is\x20not\x20found','roomInfos','SYNCED','_nDataBytes','msCrypto','getRandomValues','LIVESHARE_TERMINATE','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','parseChangesetToProtocol','getImage','reduce','CONFLICT','_data','leaveEvent','ISnapshotServerService','IUniverInstanceService','createDecryptor','fromCharCode','socketService','_updateState','every','onlyLocal','\x0aAfter:\x20','getValue','UNKNOWN_CMD','SheetCollaborationEntity','_transitionLocked','9rHgGIi','_keyPriorReset','withCredentials','Decryptor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toDisposable','PasswordBasedCipher','onRemoteAck','TOO_MANY_REQUESTS','params','_invKeySchedule','commentUpdateEvent','CollaborationEntity','result','getTypeOfUnitAdded$','delay','image/jpeg','[CollaborationSession]','set','_removeRoom','listRoles','_event$','CollaborationSocketService','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','@univerjs/core','onTransformSelections','NOT_FOUND','UNKNOWN_CODE','_key','_startCollaboration','_hash','Inject','failed\x20to\x20apply\x20missed\x20changesets!','_createInitialState','stopTime','submit\x20changeset\x20error!','SNAPSHOT_URL_KEY','_init','LEAVE','code','_process','LICENSE_IMPORT_SIZE_EXCEEDED','IContextService','setConfig','_toggleOnline','newCsEvent','_socket$','enableCollaboration','startTime','Base64','NO_OTHER_CLIENTS_EDITING','HTTPService','/unit/','focused$','has','algo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_acknowledgedAwaitingChangeset','_initDependencies','_onRemoteChangeset','firstValueFrom','_timeoutTimer','MSG_FOR_ERROR','randomBytes','INVITE_CODE_ALREADY_BOUND','INetworkConditionService','getImageSourceCache','AWAITING_WITH_PENDING','online$','_createInitialStateImpl','liveShareOperation','Malformed\x20UTF-8\x20data','conflict','BehaviorSubject','isArray','RETRY_CONNECTING_MAX_COUNT_KEY','\x0aCurrent:\x20','generateRandomId','refreshPermission','unknown','enableAuthServer','originalMeta','reset','HMAC','action','createIdentifier','getUnitId','key','/-/object/-/batch_allowed','allowed','_undoStacks','removeMember','PERMISSION_DENIED','salt','@univerjs/telemetry','createCollaborator','dispose$','origin','UnitEmbedded','clear','_onUserLeave','save\x20fail\x20reason\x20is\x20','send','parse','_cipher','words','getCurrentRevOfUnit','Hex','_socketMessageSubscription','OTHER_CLIENTS_EDITING','onMissedChangesetFetched','UNIVER_SHEET','updateOfflineData','_rescheduleHeartbeat','cmd','APPLY_REVISION_CONFILICT','univer-pro.collaboration-client.network-condition.service'];_0x1691=function(){return _0x453a80;};return _0x1691();}const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x25fdaf(0x238)],st;function Yi(){var _0x2e6c30=_0x25fdaf;return st||(st=0x1,function(_0x1b4164,_0x3eff94){(function(_0x48f80c,_0x4199b1){var _0xe71d9a=_0x305e;_0x1b4164[_0xe71d9a(0x238)]=_0x4199b1(Q());}(Ki,function(_0x3ce3f5){var _0x2f6cd8=_0x305e;return(function(){var _0x2e711f=_0x305e;if(typeof ArrayBuffer==_0x2e711f(0x442)){var _0x204ad4=_0x3ce3f5,_0x49b994=_0x204ad4[_0x2e711f(0x2d8)],_0x98d551=_0x49b994[_0x2e711f(0x33f)],_0x39273e=_0x98d551[_0x2e711f(0x27b)],_0x33002b=_0x98d551[_0x2e711f(0x27b)]=function(_0x1b9405){var _0x237559=_0x2e711f;if(_0x1b9405 instanceof ArrayBuffer&&(_0x1b9405=new Uint8Array(_0x1b9405)),(_0x1b9405 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b9405 instanceof Uint8ClampedArray||_0x1b9405 instanceof Int16Array||_0x1b9405 instanceof Uint16Array||_0x1b9405 instanceof Int32Array||_0x1b9405 instanceof Uint32Array||_0x1b9405 instanceof Float32Array||_0x1b9405 instanceof Float64Array)&&(_0x1b9405=new Uint8Array(_0x1b9405[_0x237559(0x2d2)],_0x1b9405[_0x237559(0x2a6)],_0x1b9405['byteLength'])),_0x1b9405 instanceof Uint8Array){for(var _0x3e8887=_0x1b9405[_0x237559(0x476)],_0x4bf5fe=[],_0x3d9d8a=0x0;_0x3d9d8a<_0x3e8887;_0x3d9d8a++)_0x4bf5fe[_0x3d9d8a>>>0x2]|=_0x1b9405[_0x3d9d8a]<<0x18-_0x3d9d8a%0x4*0x8;_0x39273e[_0x237559(0x1d5)](this,_0x4bf5fe,_0x3e8887);}else _0x39273e[_0x237559(0x41e)](this,arguments);};_0x33002b[_0x2e711f(0x347)]=_0x98d551;}}()),_0x3ce3f5[_0x2f6cd8(0x2d8)][_0x2f6cd8(0x33f)];}));}(Re)),Re[_0x2e6c30(0x238)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x25fdaf(0x238)],ot;function Xi(){var _0x20a8e4=_0x25fdaf;return ot||(ot=0x1,function(_0x29cda2,_0x57f717){(function(_0x539c65,_0xc85679,_0x20614c){var _0x36b808=_0x305e;_0x29cda2[_0x36b808(0x238)]=_0xc85679(Q(),Ut());}(Ji,function(_0x3e00ce){var _0x4afe6c=_0x305e;return _0x3e00ce[_0x4afe6c(0x30f)][_0x4afe6c(0x2ca)]={'pad':function(){},'unpad':function(){}},_0x3e00ce[_0x4afe6c(0x30f)]['NoPadding'];}));}(Oe)),Oe[_0x20a8e4(0x238)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5f5493,_0x1cc953){var _0x1cd4e7=_0x25fdaf;const _0x1324c6=_0x1cc953-_0x5f5493[_0x1cd4e7(0x27c)]%_0x1cc953,_0x440812=String[_0x1cd4e7(0x37b)](_0x1324c6)['repeat'](_0x1324c6);return _0x5f5493+_0x440812;}function tn(_0x232d5e,_0x55c29e){var _0x116b20=_0x25fdaf;const _0x16eb44=zi[_0x116b20(0x2a3)](0x10),_0x2cb9e2=en(_0x232d5e,0x10),_0x5aa9b9=ji['encrypt'](Gi[_0x116b20(0x3ed)](_0x2cb9e2),nt[_0x116b20(0x3ed)](_0x55c29e),{'iv':_0x16eb44,'padding':Qi});return _0x16eb44[_0x116b20(0x221)](_0x5aa9b9[_0x116b20(0x469)])['toString'](nt);}function nn(){var _0x29df63=_0x25fdaf;const _0x4c1159=wt[_0x29df63(0x4ba)]()[_0x29df63(0x42d)];if(_0x4c1159){const _0x2e896e={'time':Math['floor'](Date[_0x29df63(0x4ab)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x29df63(0x4eb)](_0x2e896e),_0x4c1159);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x531cc8,_0x4ca9fa,_0xe4dd83,_0x121c48)=>{var _0x515789=_0x25fdaf;for(var _0x2312c0=_0x121c48>0x1?void 0x0:_0x121c48?rn(_0x4ca9fa,_0xe4dd83):_0x4ca9fa,_0x4127d5=_0x531cc8[_0x515789(0x27c)]-0x1,_0x2bd8bd;_0x4127d5>=0x0;_0x4127d5--)(_0x2bd8bd=_0x531cc8[_0x4127d5])&&(_0x2312c0=_0x2bd8bd(_0x2312c0)||_0x2312c0);return _0x2312c0;},on=(_0x16e948,_0x5b0e52)=>(_0x10a9da,_0x4eae00)=>_0x5b0e52(_0x10a9da,_0x4eae00,_0x16e948);let Ne=class{constructor(_0x532135){this['_httpService']=_0x532135,this['_initRequestHeader']();}[_0x25fdaf(0x40c)](){var _0x1498f3=_0x25fdaf;this[_0x1498f3(0x35c)][_0x1498f3(0x2aa)]({'interceptor':(_0x56d853,_0x568c21)=>{var _0x29ad61=_0x1498f3;const _0x4ccba1=_0x56d853['headers'],_0x1e5eb7=nn();return _0x1e5eb7&&_0x4ccba1[_0x29ad61(0x397)]('x-univer-host',_0x1e5eb7),_0x568c21(_0x56d853);}});}};Ne=sn([on(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],Ne);var an=Object[_0x25fdaf(0x4ca)],cn=(_0x2fc24a,_0x3bf730,_0x27eb51,_0x54274f)=>{for(var _0x583f3b=_0x54274f>0x1?void 0x0:_0x54274f?an(_0x3bf730,_0x27eb51):_0x3bf730,_0x5e1fdd=_0x2fc24a['length']-0x1,_0x2cba5e;_0x5e1fdd>=0x0;_0x5e1fdd--)(_0x2cba5e=_0x2fc24a[_0x5e1fdd])&&(_0x583f3b=_0x2cba5e(_0x583f3b)||_0x583f3b);return _0x583f3b;},we=(_0xde8e3a,_0x281aff)=>(_0x463ec9,_0x151df1)=>_0x281aff(_0x463ec9,_0x151df1,_0xde8e3a);exports[_0x25fdaf(0x2ec)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x37b0dd,_0x57f2c3,_0x3038be){var _0x1e1ff9=_0x25fdaf;super(),A(this,_0x1e1ff9(0x1c5),new $['BehaviorSubject'](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x1e1ff9(0x266)]()),(this['_logService']=_0x37b0dd,this[_0x1e1ff9(0x487)]=_0x57f2c3,this[_0x1e1ff9(0x4db)]=_0x3038be);}async['loadUnitOfRevision'](_0x1cdc76,_0x566534,_0x4d01e0){var _0x3b0040=_0x25fdaf;this['_unitInfo$'][_0x3b0040(0x44d)]({'unitId':_0x1cdc76,'type':_0x566534});let _0x4b9cd2=null;switch(_0x566534){case J['UNIVER_SHEET']:{_0x4b9cd2=await this['_snapshotService']['loadSheet'](_0x1cdc76,_0x4d01e0);break;}case J[_0x3b0040(0x1e0)]:{_0x4b9cd2=await this[_0x3b0040(0x487)]['loadDoc'](_0x1cdc76,_0x4d01e0);break;}default:{this[_0x3b0040(0x207)][_0x3b0040(0x2d3)](_0x3b0040(0x1fb),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4b9cd2;}async['loadUnit'](_0xdf5e06,_0x4aec93,_0x3b06dc){var _0x39409d=_0x25fdaf,_0x2733bd;this['_unitInfo$'][_0x39409d(0x44d)]({'unitId':_0xdf5e06,'type':_0x4aec93,'subUnitId':_0x3b06dc});let _0x22956f=0x0;const _0x548fe1=await((_0x2733bd=this['_localCacheService'])==null?void 0x0:_0x2733bd[_0x39409d(0x42f)](_0xdf5e06));return _0x548fe1&&(_0x548fe1[_0x39409d(0x2d7)]||_0x548fe1['mutations'][_0x39409d(0x27c)]!==0x0)&&(_0x22956f=_0x548fe1['rev']),_0x22956f===0x0&&this[_0x39409d(0x207)][_0x39409d(0x338)](_0x39409d(0x1fb),_0x39409d(0x1fa)),this[_0x39409d(0x2d9)](_0xdf5e06,_0x4aec93,_0x22956f);}},exports[_0x25fdaf(0x2ec)]=cn([we(0x0,a[_0x25fdaf(0x248)]),we(0x1,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2af)])),we(0x2,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ec)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x387718,_0x34a1f0,_0x6ffc31,_0x5441c3)=>{var _0x40c80e=_0x25fdaf;for(var _0x10b18a=_0x5441c3>0x1?void 0x0:_0x5441c3?hn(_0x34a1f0,_0x6ffc31):_0x34a1f0,_0x20e780=_0x387718[_0x40c80e(0x27c)]-0x1,_0x2763fe;_0x20e780>=0x0;_0x20e780--)(_0x2763fe=_0x387718[_0x20e780])&&(_0x10b18a=_0x2763fe(_0x10b18a)||_0x10b18a);return _0x10b18a;},Le=(_0x36c3e1,_0x17dbf6)=>(_0xecdd93,_0x261708)=>_0x17dbf6(_0xecdd93,_0x261708,_0x36c3e1);const ln=[_0x25fdaf(0x1f7),_0x25fdaf(0x395),'image/jpg',_0x25fdaf(0x4de),_0x25fdaf(0x200)],un=0x5*0x400*0x400,dn=_0x25fdaf(0x250),vn=_0x25fdaf(0x300),Sn=_0x25fdaf(0x4e8),fn='/universer-api/file/{fileID}/sign-url';exports[_0x25fdaf(0x2f1)]=class{constructor(_0x5e3bf1,_0x3dfacc,_0x5bea78){var _0x3f307c=_0x25fdaf;A(this,_0x3f307c(0x4f4),0x0),A(this,_0x3f307c(0x516),new $['Subject']()),A(this,_0x3f307c(0x269),this[_0x3f307c(0x516)]),A(this,_0x3f307c(0x43d),new Map()),(this['_httpService']=_0x5e3bf1,this[_0x3f307c(0x2f0)]=_0x3dfacc,this['_univerInstanceService']=_0x5bea78);}[_0x25fdaf(0x45c)](_0x17c135){var _0x33c7e0=_0x25fdaf;this[_0x33c7e0(0x4f4)]=_0x17c135,this['_change$']['next'](_0x17c135);}[_0x25fdaf(0x3c8)](_0x3b1361,_0x125a6a){var _0x1589f3=_0x25fdaf;if(_0x125a6a===z[_0x1589f3(0x325)][_0x1589f3(0x217)]){const _0xae8c28=new Image();return _0xae8c28['src']=_0x3b1361,_0xae8c28;}return this[_0x1589f3(0x43d)][_0x1589f3(0x4bb)](_0x3b1361);}[_0x25fdaf(0x429)](_0x4ad177,_0x35c1f5,_0x328a7b){var _0x59232f=_0x25fdaf;_0x35c1f5===z[_0x59232f(0x325)][_0x59232f(0x217)]||_0x328a7b==null||this[_0x59232f(0x43d)][_0x59232f(0x397)](_0x4ad177,_0x328a7b);}async[_0x25fdaf(0x373)](_0x5ab2d2){var _0x38caf4=_0x25fdaf;try{const _0x40fa4c=this['_replaceFileID'](this['_getSignURL'](),''+_0x5ab2d2),_0x261f13=(await this[_0x38caf4(0x35c)][_0x38caf4(0x4bb)](_0x40fa4c))['body'];if(_0x261f13['error']&&_0x261f13[_0x38caf4(0x2d3)]['code']===gt['OK']){const _0x315b11=new URL(_0x261f13['url'],this[_0x38caf4(0x1bb)]())[_0x38caf4(0x49a)]();return Promise['resolve'](_0x315b11);}return Promise[_0x38caf4(0x235)](_0x261f13[_0x38caf4(0x2d3)]);}catch(_0x1cf9d5){return Promise['reject'](_0x1cf9d5);}}async[_0x25fdaf(0x203)](_0xa1b08){var _0x2722bd=_0x25fdaf;let _0x123567='';if(!ln['includes'](_0xa1b08[_0x2722bd(0x2fa)]))return this['_decreaseWaiting'](),Promise[_0x2722bd(0x235)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0xa1b08[_0x2722bd(0x25e)]>un)return this[_0x2722bd(0x4a4)](),Promise['reject'](new Error(z[_0x2722bd(0x4a6)]['ERROR_EXCEED_SIZE']));try{const _0x50c124=new FormData();_0x50c124[_0x2722bd(0x4ef)](_0x2722bd(0x50e),_0xa1b08);const _0x3caf87=this[_0x2722bd(0x43b)][_0x2722bd(0x4f9)](),_0xdc7221=_0x3caf87==null?void 0x0:_0x3caf87['getUnitId']();if(!_0xdc7221)throw new Error(_0x2722bd(0x368));const _0x1e6d23=this[_0x2722bd(0x41b)]()+_0x2722bd(0x4b2)+_0xa1b08['size'][_0x2722bd(0x49a)]()+_0x2722bd(0x215)+Et[_0x2722bd(0x3e8)]+_0x2722bd(0x2c2)+encodeURIComponent(_0xdc7221),_0x2c6716={'body':_0x50c124},_0x2b2fa1=(await this[_0x2722bd(0x35c)]['post'](_0x1e6d23,_0x2c6716))[_0x2722bd(0x223)];if(typeof _0x2b2fa1[_0x2722bd(0x47c)]!='string')return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));_0x123567=_0x2b2fa1['FileId'];}catch{return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));}return new Promise((_0x453b61,_0x1042e1)=>{var _0x28981b=_0x2722bd;const _0x4444b4=new FileReader();_0x4444b4[_0x28981b(0x1f5)](_0xa1b08),_0x4444b4[_0x28981b(0x1e2)]=_0x1810a5=>{var _0x41e8ef=_0x28981b,_0x85808f;const _0x45cf7f=(_0x85808f=_0x1810a5[_0x41e8ef(0x29b)])==null?void 0x0:_0x85808f['result'];if(_0x45cf7f==null){this['_decreaseWaiting'](),_0x1042e1(new Error(z[_0x41e8ef(0x4a6)][_0x41e8ef(0x313)]));return;}const _0x11768e=a[_0x41e8ef(0x500)][_0x41e8ef(0x3d3)](0x6);_0x453b61({'imageId':_0x11768e,'imageSourceType':z[_0x41e8ef(0x325)][_0x41e8ef(0x234)],'source':_0x123567,'base64Cache':_0x45cf7f,'status':z['ImageUploadStatusType'][_0x41e8ef(0x4df)]}),this[_0x41e8ef(0x4a4)]();};});}[_0x25fdaf(0x41b)](){var _0x380286=_0x25fdaf,_0x542e19,_0x5a8fc1;const _0x522019=this[_0x380286(0x2f0)][_0x380286(0x507)](dn),_0x54b8e7=this[_0x380286(0x2f0)]['getConfig'](K);return(_0x5a8fc1=(_0x542e19=_0x54b8e7==null?void 0x0:_0x54b8e7[_0x380286(0x4cb)])!=null?_0x542e19:_0x522019)!=null?_0x5a8fc1:vn;}[_0x25fdaf(0x284)](){var _0x219340=_0x25fdaf,_0x515298,_0x24ca96;const _0xa077bb=this[_0x219340(0x2f0)][_0x219340(0x507)](Sn),_0x197515=this['_configService'][_0x219340(0x507)](K);return(_0x24ca96=(_0x515298=_0x197515==null?void 0x0:_0x197515[_0x219340(0x2cc)])!=null?_0x515298:_0xa077bb)!=null?_0x24ca96:fn;}['_getDownloadEndpointURL'](){var _0x178b65=_0x25fdaf,_0x45c36e;const _0x34eadb=this[_0x178b65(0x2f0)]['getConfig'](K);return(_0x45c36e=_0x34eadb==null?void 0x0:_0x34eadb[_0x178b65(0x514)])!=null?_0x45c36e:location[_0x178b65(0x3e7)];}[_0x25fdaf(0x262)](_0x6e3e6b,_0x294589){var _0x870ccc=_0x25fdaf;return _0x6e3e6b[_0x870ccc(0x4af)](_0x870ccc(0x51e),_0x294589);}[_0x25fdaf(0x4a4)](){var _0x339801=_0x25fdaf;this[_0x339801(0x4f4)]-=0x1,this[_0x339801(0x516)][_0x339801(0x44d)](this[_0x339801(0x4f4)]);}},exports[_0x25fdaf(0x2f1)]=_n([Le(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Le(0x1,a[_0x25fdaf(0x2e1)]),Le(0x2,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x379)]))],exports[_0x25fdaf(0x2f1)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x107b56,_0x39ba9a,_0x8db9a8,_0x5d74b9)=>{var _0x859686=_0x25fdaf;for(var _0x294eea=_0x5d74b9>0x1?void 0x0:_0x5d74b9?pn(_0x39ba9a,_0x8db9a8):_0x39ba9a,_0x57ebaa=_0x107b56[_0x859686(0x27c)]-0x1,_0x3300bf;_0x57ebaa>=0x0;_0x57ebaa--)(_0x3300bf=_0x107b56[_0x57ebaa])&&(_0x294eea=_0x3300bf(_0x294eea)||_0x294eea);return _0x294eea;},at=(_0x32f7de,_0x22cc5b)=>(_0x3ab000,_0x4c56eb)=>_0x22cc5b(_0x3ab000,_0x4c56eb,_0x32f7de);const gn=_0x25fdaf(0x404);exports[_0x25fdaf(0x24c)]=class{constructor(_0x3883c5,_0x45b505){var _0x4af0cd=_0x25fdaf;this[_0x4af0cd(0x2f0)]=_0x3883c5,this[_0x4af0cd(0x21e)]=_0x45b505;}[_0x25fdaf(0x1c4)](){var _0x444da5=_0x25fdaf,_0x5eb45b,_0x489dbb;const _0x14d0f4=this[_0x444da5(0x2f0)][_0x444da5(0x507)](Ve),_0x4cf5c6=this[_0x444da5(0x2f0)][_0x444da5(0x507)](K);return(_0x489dbb=(_0x5eb45b=_0x4cf5c6==null?void 0x0:_0x4cf5c6[_0x444da5(0x4dc)])!=null?_0x5eb45b:_0x14d0f4)!=null?_0x489dbb:gn;}async['list'](_0x166c85){var _0x40fb1a=_0x25fdaf;const _0x21dcaf=this[_0x40fb1a(0x1c4)]()+_0x40fb1a(0x251);return{'list':[{'title':_0x40fb1a(0x522),'mentions':(await this[_0x40fb1a(0x21e)]['get'](_0x21dcaf,{'params':{'objectID':_0x166c85[_0x40fb1a(0x468)],'unitID':_0x166c85[_0x40fb1a(0x468)]}}))[_0x40fb1a(0x223)][_0x40fb1a(0x285)][_0x40fb1a(0x1ba)](_0x5c3d3e=>({'objectId':_0x5c3d3e['id'],'name':_0x5c3d3e['subject']['name'],'metadata':{'icon':_0x5c3d3e['subject'][_0x40fb1a(0x337)]},'label':_0x5c3d3e['subject'][_0x40fb1a(0x280)],'objectType':a[_0x40fb1a(0x1d1)][_0x40fb1a(0x2f3)]})),'metadata':{},'type':a['MentionType'][_0x40fb1a(0x2f3)]}]};}},exports[_0x25fdaf(0x24c)]=In([at(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)])),at(0x1,a[_0x25fdaf(0x3a5)](Y['HTTPService']))],exports[_0x25fdaf(0x24c)]);var En=Object[_0x25fdaf(0x4ca)],mn=(_0xb90ae7,_0x22c1a8,_0x17ad63,_0x6052f4)=>{var _0x2db28f=_0x25fdaf;for(var _0x1922a3=_0x6052f4>0x1?void 0x0:_0x6052f4?En(_0x22c1a8,_0x17ad63):_0x22c1a8,_0x129ead=_0xb90ae7[_0x2db28f(0x27c)]-0x1,_0x28b297;_0x129ead>=0x0;_0x129ead--)(_0x28b297=_0xb90ae7[_0x129ead])&&(_0x1922a3=_0x28b297(_0x1922a3)||_0x1922a3);return _0x1922a3;},le=(_0x516b11,_0x58c6b2)=>(_0x1bfd25,_0x49c558)=>_0x58c6b2(_0x1bfd25,_0x49c558,_0x516b11);let Ue=class extends a[_0x25fdaf(0x503)]{constructor(_0x586286,_0x49bff8,_0x1abe78,_0x417e19,_0x249e1b){var _0x395665=_0x25fdaf;super(),this[_0x395665(0x307)]=_0x586286,this['_univerInstanceService']=_0x49bff8,this['_permissionService']=_0x1abe78,this['_collaborationSessionService']=_0x417e19,this['_collaborationUIEventService']=_0x249e1b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x25fdaf(0x39d)](){var _0x41bb82=_0x25fdaf;const _0x4b2150=async _0x34e5f6=>{var _0x1b3e57=_0x305e;(await this[_0x1b3e57(0x425)][_0x1b3e57(0x341)](_0x34e5f6))[_0x1b3e57(0x4d0)][_0x1b3e57(0x310)](V[_0x1b3e57(0x42a)](_0x1e39d6=>_0x1e39d6[_0x1b3e57(0x353)]===I['CollaborationEvent'][_0x1b3e57(0x4fd)]),V[_0x1b3e57(0x1b1)](this['dispose$']))[_0x1b3e57(0x4dd)](_0x254f75=>{var _0x2d8bba=_0x1b3e57;const _0x4bf650=_0x254f75,{reason:_0x2cbd25}=_0x4bf650[_0x2d8bba(0x1c9)];this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x2d8bba(0x36f)],'data':_0x2cbd25}),this[_0x2d8bba(0x48d)][_0x2d8bba(0x422)](new X[(_0x2d8bba(0x4a7))](_0x34e5f6)['id'],!0x1),this[_0x2d8bba(0x425)][_0x2d8bba(0x1ec)](_0x34e5f6);});};$[_0x41bb82(0x4d1)](this['_univerInstanceService'][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x3f5)]),this[_0x41bb82(0x43b)][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x1e0)]))[_0x41bb82(0x310)](V['map'](_0x145799=>_0x145799[_0x41bb82(0x3dc)]()),V[_0x41bb82(0x42a)](_0x5e1e66=>!a['isInternalEditorID'](_0x5e1e66)),V[_0x41bb82(0x1b1)](this[_0x41bb82(0x3e6)]))[_0x41bb82(0x4dd)](_0x3c6d93=>{_0x4b2150(_0x3c6d93);});}[_0x25fdaf(0x513)](){var _0x90f9d8=_0x25fdaf;const _0x230ed3=async _0x53f840=>{var _0x51029b=_0x305e;const _0x5752f4=await this[_0x51029b(0x425)]['requireSession'](_0x53f840),_0x1d57f0=this[_0x51029b(0x307)]['get'](X['SheetPermissionInitController']);_0x5752f4['event$']['pipe'](V[_0x51029b(0x42a)](_0x39753b=>_0x39753b[_0x51029b(0x353)]===I[_0x51029b(0x1e4)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x51029b(0x3e6)]))[_0x51029b(0x4dd)](_0x503ddf=>{var _0x42c4b5=_0x51029b;const _0x15b20d=_0x503ddf,{objectId:_0x30d8a0}=_0x15b20d[_0x42c4b5(0x1c9)];_0x30d8a0===_0x53f840?_0x1d57f0[_0x42c4b5(0x1dd)](_0x53f840):_0x1d57f0[_0x42c4b5(0x3d4)](_0x53f840,_0x30d8a0);});};$[_0x90f9d8(0x4d1)](this[_0x90f9d8(0x43b)][_0x90f9d8(0x393)](a[_0x90f9d8(0x31e)]['UNIVER_SHEET']))[_0x90f9d8(0x310)](V[_0x90f9d8(0x1ba)](_0x252e11=>_0x252e11[_0x90f9d8(0x3dc)]()),V[_0x90f9d8(0x42a)](_0x486038=>!a[_0x90f9d8(0x434)](_0x486038)),V[_0x90f9d8(0x1b1)](this[_0x90f9d8(0x3e6)]))[_0x90f9d8(0x4dd)](_0x49d40b=>{_0x230ed3(_0x49d40b);});}};Ue=mn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x25fdaf(0x379)]),le(0x2,a[_0x25fdaf(0x1cc)]),le(0x3,a[_0x25fdaf(0x3a5)](exports['CollaborationSessionService'])),le(0x4,a[_0x25fdaf(0x3a5)](ee))],Ue);var Cn=Object[_0x25fdaf(0x4ca)],Tn=(_0xa9851d,_0x92b0e0,_0x2ad727,_0x42d6d1)=>{for(var _0x4cacfe=_0x42d6d1>0x1?void 0x0:_0x42d6d1?Cn(_0x92b0e0,_0x2ad727):_0x92b0e0,_0x429ace=_0xa9851d['length']-0x1,_0x5e3d43;_0x429ace>=0x0;_0x429ace--)(_0x5e3d43=_0xa9851d[_0x429ace])&&(_0x4cacfe=_0x5e3d43(_0x4cacfe)||_0x4cacfe);return _0x4cacfe;},ct=(_0x1b34c2,_0x5cb3c1)=>(_0x3e62d1,_0x2c7e30)=>_0x5cb3c1(_0x3e62d1,_0x2c7e30,_0x1b34c2);exports['SnapshotServerOverHTTPService']=class{constructor(_0x5a8f44,_0x19719e){var _0x2ee4a8=_0x25fdaf;this['_configService']=_0x5a8f44,this[_0x2ee4a8(0x35c)]=_0x19719e;}async['getUnitOnRev'](_0x5e498,_0x20fc1e){var _0x11d9ca=_0x25fdaf,_0x2ae3ac;const {unitID:_0x14bb70,type:_0xe0792d,revision:_0x5f4702=0x0}=_0x20fc1e,_0x51dbb3=this[_0x11d9ca(0x1eb)]()+'/'+_0xe0792d+'/unit/'+_0x14bb70+_0x11d9ca(0x226)+_0x5f4702,_0x58d073=(await this[_0x11d9ca(0x35c)][_0x11d9ca(0x4bb)](_0x51dbb3))['body'],_0x492f4f=(_0x2ae3ac=_0x58d073['snapshot'])==null?void 0x0:_0x2ae3ac[_0x11d9ca(0x319)];if(_0x492f4f){const _0x59cb88=_0x492f4f==null?void 0x0:_0x492f4f[_0x11d9ca(0x3d7)],_0x5ad76f=I[_0x11d9ca(0x4bf)][_0x11d9ca(0x41d)](I['b64DecodeUnicode'](_0x59cb88));_0x492f4f[_0x11d9ca(0x3d7)]=_0x5ad76f,Object[_0x11d9ca(0x230)](_0x492f4f[_0x11d9ca(0x40a)])['forEach'](([,_0x267fbc])=>{var _0x5565ff=_0x11d9ca;const _0x1a5944=_0x267fbc[_0x5565ff(0x3d7)],_0x3c48d6=I[_0x5565ff(0x4bf)][_0x5565ff(0x41d)](I['b64DecodeUnicode'](_0x1a5944));_0x267fbc[_0x5565ff(0x3d7)]=_0x3c48d6;});}return _0x58d073;}async[_0x25fdaf(0x290)](_0x438ce1,_0x57ed97){var _0x5d8503=_0x25fdaf;const {unitID:_0x2e6a90,type:_0xc45a1f,blockID:_0x56cbbd}=_0x57ed97,_0x42c6b2=this['_getAPIPrefix']()+'/'+_0xc45a1f+_0x5d8503(0x3ba)+_0x2e6a90+'/block/'+_0x56cbbd;return(await this['_httpService']['get'](_0x42c6b2))[_0x5d8503(0x223)];}async[_0x25fdaf(0x33c)](_0x2726a4,_0xb4a2c8){var _0x20e80d=_0x25fdaf;const {unitID:_0x38cab8,type:_0x4a345e,blockID:_0x1e7997}=_0xb4a2c8,_0x12c9e5=this[_0x20e80d(0x351)]()+_0x20e80d(0x354)+_0x4a345e+_0x20e80d(0x3ba)+_0x38cab8+'/block/'+_0x1e7997;return(await this[_0x20e80d(0x35c)][_0x20e80d(0x4bb)](_0x12c9e5))[_0x20e80d(0x223)];}async[_0x25fdaf(0x455)](_0x2b6750,_0x560f97){var _0x59832f=_0x25fdaf;const {unitID:_0xc4d604,type:_0x51cb41,from:_0x1f05f0,to:_0x35f381}=_0x560f97,_0x2664dd=this[_0x59832f(0x351)]()+'/'+_0x51cb41+_0x59832f(0x3ba)+_0xc4d604+_0x59832f(0x216)+_0x1f05f0+_0x59832f(0x519)+_0x35f381;return(await this[_0x59832f(0x35c)][_0x59832f(0x4bb)](_0x2664dd))['body'];}[_0x25fdaf(0x1eb)](){var _0x586f59=_0x25fdaf,_0x3b00e5;return(_0x3b00e5=this['_configService']['getConfig'](lt))!=null?_0x3b00e5:this[_0x586f59(0x351)]();}['_getAPIPrefix'](){var _0x148d08=_0x25fdaf,_0x54fdcc,_0x40c78b;const _0x50caba=this[_0x148d08(0x2f0)]['getConfig'](_t),_0x20e909=this[_0x148d08(0x2f0)][_0x148d08(0x507)](K);return(_0x40c78b=(_0x54fdcc=_0x20e909==null?void 0x0:_0x20e909['snapshotServerUrl'])!=null?_0x54fdcc:_0x50caba)!=null?_0x40c78b:Lt;}async[_0x25fdaf(0x34b)](_0x34e1c8,_0x1b4713){var _0x56c281=_0x25fdaf;const _0x1d7781='/universer-api/snapshot/'+_0x1b4713['type']+_0x56c281(0x3ba)+_0x1b4713[_0x56c281(0x2fd)]+_0x56c281(0x210);return(await this[_0x56c281(0x35c)][_0x56c281(0x4bb)](_0x1d7781,{'params':{'resourceId':JSON[_0x56c281(0x4eb)](_0x1b4713[_0x56c281(0x24e)])}}))[_0x56c281(0x223)];}[_0x25fdaf(0x330)](){var _0x920ca8=_0x25fdaf;throw new Error(_0x920ca8(0x446));}[_0x25fdaf(0x4b7)](){var _0x5bc8a7=_0x25fdaf;throw new Error(_0x5bc8a7(0x446));}['saveSheetBlock'](){var _0x2434df=_0x25fdaf;throw new Error(_0x2434df(0x446));}['saveChangeset'](){var _0x26c357=_0x25fdaf;throw new Error(_0x26c357(0x446));}[_0x25fdaf(0x247)](){var _0x2786a0=_0x25fdaf;throw new Error(_0x2786a0(0x446));}[_0x25fdaf(0x29a)](){var _0x54ccdb=_0x25fdaf;throw new Error(_0x54ccdb(0x446));}},exports[_0x25fdaf(0x253)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],exports[_0x25fdaf(0x253)]);var bn=Object[_0x25fdaf(0x4ca)],Rn=(_0x349dea,_0x369422,_0x586927,_0x52988f)=>{for(var _0x37c432=_0x52988f>0x1?void 0x0:_0x52988f?bn(_0x369422,_0x586927):_0x369422,_0x478dcf=_0x349dea['length']-0x1,_0x2654eb;_0x478dcf>=0x0;_0x478dcf--)(_0x2654eb=_0x349dea[_0x478dcf])&&(_0x37c432=_0x2654eb(_0x37c432)||_0x37c432);return _0x37c432;},ue=(_0xe87c2c,_0x2d90f6)=>(_0x292df5,_0x5ab3cd)=>_0x2d90f6(_0x292df5,_0x5ab3cd,_0xe87c2c);exports[_0x25fdaf(0x2d6)]=class extends a[_0x25fdaf(0x4b0)]{constructor(_0x534310,_0x4bc13b,_0x3d3012,_0x4b727f,_0x59c3ce){super(_0x534310,_0x4bc13b,_0x3d3012),this['_transformService']=_0x4b727f,this['_logService']=_0x59c3ce;}[_0x25fdaf(0x415)](_0x30b6f2,_0x52ffef){var _0x432729=_0x25fdaf;const _0x2314e8=this['_getUndoStack'](_0x30b6f2);if(_0x2314e8)try{const _0x408122=this['_transformStack'](_0x2314e8,_0x52ffef);this[_0x432729(0x28b)](_0x30b6f2,_0x408122);}catch(_0x1b17e2){this[_0x432729(0x207)][_0x432729(0x2d3)]('[CollaborationUndoRedoService]',_0x1b17e2),this[_0x432729(0x1cf)](_0x30b6f2);}const _0xa2e565=this['_getRedoStack'](_0x30b6f2);if(_0xa2e565)try{const _0x39f930=this[_0x432729(0x35e)](_0xa2e565,_0x52ffef);this[_0x432729(0x30c)](_0x30b6f2,_0x39f930);}catch(_0x55f69a){this[_0x432729(0x207)][_0x432729(0x2d3)](_0x55f69a),this[_0x432729(0x4a8)](_0x30b6f2);}}['_clearUndo'](_0x1ff180){var _0x9abfa5=_0x25fdaf;const _0x4bf7d8=this[_0x9abfa5(0x241)](_0x1ff180);_0x4bf7d8&&(_0x4bf7d8['length']=0x0,this[_0x9abfa5(0x31d)]());}[_0x25fdaf(0x4a8)](_0x3db218){var _0x151fc9=_0x25fdaf;const _0x31471e=this[_0x151fc9(0x2cf)](_0x3db218);_0x31471e&&(_0x31471e[_0x151fc9(0x27c)]=0x0,this[_0x151fc9(0x31d)]());}[_0x25fdaf(0x28b)](_0x258e79,_0x14b6f3){var _0x3671fc=_0x25fdaf;this[_0x3671fc(0x3e0)]['set'](_0x258e79,_0x14b6f3),this[_0x3671fc(0x31d)]();}[_0x25fdaf(0x30c)](_0x92664a,_0x551f5c){var _0x27f649=_0x25fdaf;this[_0x27f649(0x4c9)][_0x27f649(0x397)](_0x92664a,_0x551f5c),this[_0x27f649(0x31d)]();}[_0x25fdaf(0x35e)](_0x4a6658,_0x18005a){var _0x4717b5=_0x25fdaf;const _0x204dc4=[];let _0x118e22=_0x18005a,_0x32d999=_0x18005a;for(let _0x56fd18=_0x4a6658[_0x4717b5(0x27c)]-0x1;_0x56fd18>=0x0;_0x56fd18--){const {unitID:_0x2f8522,undoMutations:_0x30e539,redoMutations:_0x40d379}=_0x4a6658[_0x56fd18],_0x293110=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x118e22,_0x30e539),_0x6c3ae4=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x32d999,_0x40d379);if(I[_0x4717b5(0x1e5)](_0x293110)||I['isTransformMutationsWithChangesetFailure'](_0x6c3ae4)){this['_logService'][_0x4717b5(0x2d3)](_0x4717b5(0x4ad),'transformStack\x20failed!',_0x293110,_0x6c3ae4);break;}_0x118e22=_0x293110[_0x4717b5(0x321)],_0x32d999=_0x6c3ae4[_0x4717b5(0x321)],_0x204dc4[_0x4717b5(0x46e)]({'unitID':_0x2f8522,'undoMutations':_0x293110['m2Prime'],'redoMutations':_0x6c3ae4[_0x4717b5(0x470)]});}return _0x204dc4[_0x4717b5(0x4c5)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x25fdaf(0x379)]),ue(0x1,a[_0x25fdaf(0x464)]),ue(0x2,a[_0x25fdaf(0x3b0)]),ue(0x3,I[_0x25fdaf(0x4f2)]),ue(0x4,a[_0x25fdaf(0x248)])],exports[_0x25fdaf(0x2d6)]);var On=Object['defineProperty'],yn=Object[_0x25fdaf(0x4ca)],Nn=(_0xbbb0c7,_0x307d8a,_0x1541ec)=>_0x307d8a in _0xbbb0c7?On(_0xbbb0c7,_0x307d8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1541ec}):_0xbbb0c7[_0x307d8a]=_0x1541ec,Un=(_0x54f22e,_0x1b67a5,_0x4b1c59,_0x1cf6f9)=>{var _0x369a2b=_0x25fdaf;for(var _0x5bcdcf=_0x1cf6f9>0x1?void 0x0:_0x1cf6f9?yn(_0x1b67a5,_0x4b1c59):_0x1b67a5,_0x47b0e1=_0x54f22e[_0x369a2b(0x27c)]-0x1,_0x45fae7;_0x47b0e1>=0x0;_0x47b0e1--)(_0x45fae7=_0x54f22e[_0x47b0e1])&&(_0x5bcdcf=_0x45fae7(_0x5bcdcf)||_0x5bcdcf);return _0x5bcdcf;},Me=(_0x3a5a68,_0x3ca90d)=>(_0x573a26,_0x16d9a4)=>_0x3ca90d(_0x573a26,_0x16d9a4,_0x3a5a68),Dn=(_0x5f1377,_0x2c1520,_0x5d1927)=>Nn(_0x5f1377,_0x2c1520+'',_0x5d1927);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x25fdaf(0x1c0)]=class extends a['Plugin']{constructor(_0xbcbcd,_0x4b8a79,_0x22306a,_0x17b057){var _0x6bebbd=_0x25fdaf;super(),A(this,_0x6bebbd(0x2e7)),(this[_0x6bebbd(0x207)]=_0x4b8a79,this['_injector']=_0x22306a,this['_configService']=_0x17b057);const {..._0x1603f7}=a[_0x6bebbd(0x4d1)]({},Yt,_0xbcbcd);if(!_0x1603f7[_0x6bebbd(0x37c)])throw new Error(_0x6bebbd(0x357));this[_0x6bebbd(0x2e7)]=_0x1603f7,this['_configService'][_0x6bebbd(0x3b1)](K,_0x1603f7);}[_0x25fdaf(0x4f1)](){var _0x4aa49e=_0x25fdaf;this[_0x4aa49e(0x311)](),this[_0x4aa49e(0x3c0)]();}[_0x25fdaf(0x311)](){var _0x4d5c25=_0x25fdaf,_0x23b941,_0x54faa6;this[_0x4d5c25(0x307)][_0x4d5c25(0x3bc)](a[_0x4d5c25(0x524)])&&this[_0x4d5c25(0x207)][_0x4d5c25(0x2d3)](_0x4d5c25(0x1ef),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x55ce82=a['mergeOverrideWithDependencies']([[a[_0x4d5c25(0x524)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4d5c25(0x3fc)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x4d5c25(0x2e7)][_0x4d5c25(0x37c)]}],[I[_0x4d5c25(0x378)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4d5c25(0x363)],{'useClass':exports[_0x4d5c25(0x4d6)]}],[z[_0x4d5c25(0x242)],{'useClass':exports[_0x4d5c25(0x2f1)]}],[a[_0x4d5c25(0x2ea)],{'useClass':exports[_0x4d5c25(0x24c)]}],[exports[_0x4d5c25(0x2ce)]],[xe]],(_0x23b941=this[_0x4d5c25(0x2e7)])==null?void 0x0:_0x23b941[_0x4d5c25(0x1d7)]);if(!((_0x54faa6=this[_0x4d5c25(0x2e7)])!=null&&_0x54faa6['enableSingleActiveInstanceLock'])){const _0x4b1196=_0x55ce82[_0x4d5c25(0x2a9)](([_0x4aa15e])=>_0x4aa15e===de);_0x4b1196!==-0x1&&_0x55ce82[_0x4d5c25(0x467)](_0x4b1196,0x1);}a[_0x4d5c25(0x4d5)](this[_0x4d5c25(0x307)],_0x55ce82);}[_0x25fdaf(0x3c0)](){var _0x2da76d=_0x25fdaf,_0x1b7485,_0x1320a5,_0x7f7f30;this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](Y[_0x2da76d(0x3b9)])[_0x2da76d(0x2aa)]({'priority':0x14,'interceptor':Y[_0x2da76d(0x1c6)]({'maxParallel':0x6})}),(_0x1b7485=this[_0x2da76d(0x2e7)])!=null&&_0x1b7485[_0x2da76d(0x447)]||(_0x1320a5=this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](q,a[_0x2da76d(0x204)][_0x2da76d(0x506)]))==null||_0x1320a5[_0x2da76d(0x498)](),(_0x7f7f30=this['_config'])!=null&&_0x7f7f30[_0x2da76d(0x3d6)]&&a[_0x2da76d(0x408)](this[_0x2da76d(0x307)],[[ye]]),a[_0x2da76d(0x408)](this['_injector'],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x25fdaf(0x1c0)],'pluginName',An),exports[_0x25fdaf(0x1c0)]=Un([a[_0x25fdaf(0x47a)](I[_0x25fdaf(0x50d)],Y[_0x25fdaf(0x2ac)]),Me(0x1,a[_0x25fdaf(0x248)]),Me(0x2,a[_0x25fdaf(0x3a5)](a['Injector'])),Me(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x25fdaf(0x305)]=Ve,exports[_0x25fdaf(0x4ec)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x25fdaf(0x1b5)]=Be,exports['CollaborationUIEventId']=Z,exports['CollaborationUIEventService']=ee,exports[_0x25fdaf(0x4ee)]=$e,exports[_0x25fdaf(0x463)]=dt,exports[_0x25fdaf(0x1ea)]=Kt,exports[_0x25fdaf(0x219)]=kt,exports[_0x25fdaf(0x1f4)]=vt,exports[_0x25fdaf(0x359)]=ke,exports['ICollaborationSocketService']=He,exports[_0x25fdaf(0x461)]=q,exports[_0x25fdaf(0x3c7)]=mt,exports[_0x25fdaf(0x254)]=de,exports[_0x25fdaf(0x30a)]=Ft,exports[_0x25fdaf(0x205)]=Bt,exports['LOGIN_URL_KEY']=It,exports[_0x25fdaf(0x511)]=Gt,exports[_0x25fdaf(0x3d1)]=ft,exports[_0x25fdaf(0x473)]=Mt,exports[_0x25fdaf(0x26d)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports['SessionStatus']=re,exports[_0x25fdaf(0x336)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x25fdaf(0x1de)]=oi,exports[_0x25fdaf(0x275)]=Tt;
1
+ 'use strict';var _0xe3a83a=_0x1706;(function(_0x483fdb,_0x32f54f){var _0x215524=_0x1706,_0x4c0d01=_0x483fdb();while(!![]){try{var _0x845fe=parseInt(_0x215524(0x44f))/0x1+parseInt(_0x215524(0x219))/0x2*(parseInt(_0x215524(0x389))/0x3)+parseInt(_0x215524(0x163))/0x4*(parseInt(_0x215524(0x282))/0x5)+parseInt(_0x215524(0x167))/0x6*(-parseInt(_0x215524(0x37c))/0x7)+-parseInt(_0x215524(0x26b))/0x8*(parseInt(_0x215524(0x2a5))/0x9)+-parseInt(_0x215524(0x2aa))/0xa+parseInt(_0x215524(0x3c6))/0xb;if(_0x845fe===_0x32f54f)break;else _0x4c0d01['push'](_0x4c0d01['shift']());}catch(_0x6795e4){_0x4c0d01['push'](_0x4c0d01['shift']());}}}(_0x480b,0x93ceb));var Dt=Object[_0xe3a83a(0x36f)],At=(_0x451352,_0x3e7b34,_0x15ef43)=>_0x3e7b34 in _0x451352?Dt(_0x451352,_0x3e7b34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15ef43}):_0x451352[_0x3e7b34]=_0x15ef43,A=(_0x47708a,_0x97dae9,_0x36cb4a)=>At(_0x47708a,typeof _0x97dae9!=_0xe3a83a(0x3ee)?_0x97dae9+'':_0x97dae9,_0x36cb4a);Object[_0xe3a83a(0x36f)](exports,Symbol['toStringTag'],{'value':_0xe3a83a(0x3b1)});const a=require(_0xe3a83a(0x203)),$=require('rxjs'),V=require(_0xe3a83a(0x1dd)),I=require('@univerjs-pro/collaboration'),Y=require(_0xe3a83a(0x1e3)),Pt=require(_0xe3a83a(0x263)),ht=require(_0xe3a83a(0x185)),X=require(_0xe3a83a(0x22f)),z=require(_0xe3a83a(0x3bf)),wt=require(_0xe3a83a(0x38a)),_t=_0xe3a83a(0x197),Lt=_0xe3a83a(0x45a),lt=_0xe3a83a(0x385),Mt=_0xe3a83a(0x3ff),xt=0x7d0,ut=_0xe3a83a(0x1e7),dt=_0xe3a83a(0x446),kt=_0xe3a83a(0x2f5),vt=_0xe3a83a(0x1e9),Ht=0x7530,ke=_0xe3a83a(0x243),St=0x4e20,$t=0x4e20,ft=_0xe3a83a(0x42e),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0xe3a83a(0x212),It=_0xe3a83a(0x3c9),Wt='/universer-api/oidc/authpage',Gt=_0xe3a83a(0x490),Kt='/universer-api/uniscript';var gt=(_0x5e0814=>(_0x5e0814[_0x5e0814[_0xe3a83a(0x33c)]=0x0]='UNDEFINED',_0x5e0814[_0x5e0814['OK']=0x1]='OK',_0x5e0814[_0x5e0814[_0xe3a83a(0x288)]=0x2]=_0xe3a83a(0x288),_0x5e0814[_0x5e0814[_0xe3a83a(0x41d)]=0x3]=_0xe3a83a(0x41d),_0x5e0814[_0x5e0814[_0xe3a83a(0x2a8)]=0x4]='NOT_FOUND',_0x5e0814[_0x5e0814[_0xe3a83a(0x323)]=0x5]='UNAUTHENTICATED',_0x5e0814[_0x5e0814[_0xe3a83a(0x28c)]=0x6]=_0xe3a83a(0x28c),_0x5e0814[_0x5e0814[_0xe3a83a(0x112)]=0x7]=_0xe3a83a(0x112),_0x5e0814[_0x5e0814['TOO_MANY_REQUESTS']=0x8]=_0xe3a83a(0x2a6),_0x5e0814[_0x5e0814[_0xe3a83a(0x3f7)]=0x9]=_0xe3a83a(0x3f7),_0x5e0814[_0x5e0814[_0xe3a83a(0x29d)]=0xa]=_0xe3a83a(0x29d),_0x5e0814[_0x5e0814[_0xe3a83a(0x246)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5e0814[_0x5e0814[_0xe3a83a(0x334)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5e0814[_0x5e0814[_0xe3a83a(0x1ec)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5e0814[_0x5e0814['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5e0814[_0x5e0814[_0xe3a83a(0x162)]=0x1b59]='APPLY_REJECT',_0x5e0814[_0x5e0814['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xe3a83a(0x1cd),_0x5e0814[_0x5e0814['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xe3a83a(0x2c1),_0x5e0814[_0x5e0814[_0xe3a83a(0x172)]=0x1b5c]=_0xe3a83a(0x172),_0x5e0814[_0x5e0814[_0xe3a83a(0x2d0)]=0x1b5d]=_0xe3a83a(0x2d0),_0x5e0814[_0x5e0814[_0xe3a83a(0x126)]=0x1f41]=_0xe3a83a(0x126),_0x5e0814[_0x5e0814[_0xe3a83a(0x39c)]=0x2329]=_0xe3a83a(0x39c),_0x5e0814[_0x5e0814[_0xe3a83a(0x3b0)]=0x232a]=_0xe3a83a(0x3b0),_0x5e0814[_0x5e0814[_0xe3a83a(0x2c2)]=0x232b]=_0xe3a83a(0x2c2),_0x5e0814[_0x5e0814[_0xe3a83a(0x3ba)]=0x232c]=_0xe3a83a(0x3ba),_0x5e0814[_0x5e0814[_0xe3a83a(0x319)]=0x232d]=_0xe3a83a(0x319),_0x5e0814[_0x5e0814['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xe3a83a(0x3a0),_0x5e0814[_0x5e0814[_0xe3a83a(0x1c1)]=0x2712]=_0xe3a83a(0x1c1),_0x5e0814[_0x5e0814[_0xe3a83a(0x390)]=0x2713]=_0xe3a83a(0x390),_0x5e0814[_0x5e0814[_0xe3a83a(0x43b)]=0x2714]=_0xe3a83a(0x43b),_0x5e0814[_0x5e0814['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xe3a83a(0x3d4),_0x5e0814[_0x5e0814[_0xe3a83a(0x34a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5e0814[_0x5e0814[_0xe3a83a(0x236)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5e0814[_0x5e0814[_0xe3a83a(0x434)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5e0814[_0x5e0814[_0xe3a83a(0x201)]=0x271e]=_0xe3a83a(0x201),_0x5e0814[_0x5e0814[_0xe3a83a(0x352)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5e0814[_0x5e0814[_0xe3a83a(0x2e4)]=0x2af9]=_0xe3a83a(0x2e4),_0x5e0814[_0x5e0814[_0xe3a83a(0x14a)]=0x2ee1]=_0xe3a83a(0x14a),_0x5e0814[_0x5e0814['INVALID_INVITE_CODE']=0x2ee2]=_0xe3a83a(0x1dc),_0x5e0814[_0x5e0814[_0xe3a83a(0x3aa)]=0x2ee3]=_0xe3a83a(0x3aa),_0x5e0814[_0x5e0814[_0xe3a83a(0x287)]=0x2ee4]=_0xe3a83a(0x287),_0x5e0814[_0x5e0814[_0xe3a83a(0x441)]=0x2ee5]=_0xe3a83a(0x441),_0x5e0814[_0x5e0814[_0xe3a83a(0x168)]=0x32c9]=_0xe3a83a(0x168),_0x5e0814[_0x5e0814[_0xe3a83a(0x160)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5e0814[_0x5e0814[_0xe3a83a(0x404)]=0x32cb]=_0xe3a83a(0x404),_0x5e0814[_0x5e0814[_0xe3a83a(0x308)]=-0x1]=_0xe3a83a(0x308),_0x5e0814))(gt||{}),J=(_0x5f0a3b=>(_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x150)]=0x0]=_0xe3a83a(0x150),_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x244)]=0x1]=_0xe3a83a(0x244),_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x13d)]=0x2]=_0xe3a83a(0x13d),_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x28b)]=0x3]=_0xe3a83a(0x28b),_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x343)]=0x4]=_0xe3a83a(0x343),_0x5f0a3b[_0x5f0a3b[_0xe3a83a(0x308)]=-0x1]=_0xe3a83a(0x308),_0x5f0a3b))(J||{}),W=(_0x28c1d3=>(_0x28c1d3[_0x28c1d3['UNKNOWN_CMD']=0x0]=_0xe3a83a(0x1ca),_0x28c1d3[_0x28c1d3[_0xe3a83a(0x442)]=0x1]=_0xe3a83a(0x442),_0x28c1d3[_0x28c1d3[_0xe3a83a(0x1c2)]=0x2]=_0xe3a83a(0x1c2),_0x28c1d3[_0x28c1d3['LEAVE']=0x3]=_0xe3a83a(0x3fc),_0x28c1d3[_0x28c1d3[_0xe3a83a(0x372)]=0x4]='INGEST',_0x28c1d3[_0x28c1d3['HEARTBEAT']=0x5]=_0xe3a83a(0x1cf),_0x28c1d3[_0x28c1d3['RECV']=0x6]=_0xe3a83a(0x292),_0x28c1d3[_0x28c1d3[_0xe3a83a(0x308)]=-0x1]=_0xe3a83a(0x308),_0x28c1d3))(W||{}),oe=(_0x2bf0ec=>(_0x2bf0ec[_0x2bf0ec[_0xe3a83a(0x17d)]=0x0]=_0xe3a83a(0x17d),_0x2bf0ec[_0x2bf0ec['OK']=0x1]='OK',_0x2bf0ec[_0x2bf0ec['FAIL']=0x2]=_0xe3a83a(0x171),_0x2bf0ec[_0x2bf0ec[_0xe3a83a(0x293)]=0x3e9]=_0xe3a83a(0x293),_0x2bf0ec[_0x2bf0ec['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x2bf0ec[_0x2bf0ec[_0xe3a83a(0x2fb)]=0x3eb]=_0xe3a83a(0x2fb),_0x2bf0ec[_0x2bf0ec[_0xe3a83a(0x181)]=0x3ec]=_0xe3a83a(0x181),_0x2bf0ec[_0x2bf0ec['UNRECOGNIZED']=-0x1]=_0xe3a83a(0x308),_0x2bf0ec))(oe||{}),Et=(_0x495d58=>(_0x495d58[_0x495d58[_0xe3a83a(0x144)]=0x0]=_0xe3a83a(0x144),_0x495d58[_0x495d58[_0xe3a83a(0x407)]=0x1]=_0xe3a83a(0x407),_0x495d58[_0x495d58[_0xe3a83a(0x40b)]=0x2]=_0xe3a83a(0x40b),_0x495d58[_0x495d58['UnitEmbedded']=0x3]=_0xe3a83a(0x260),_0x495d58[_0x495d58[_0xe3a83a(0x1bd)]=0x4]=_0xe3a83a(0x1bd),_0x495d58[_0x495d58[_0xe3a83a(0x3f9)]=0x5]=_0xe3a83a(0x3f9),_0x495d58[_0x495d58[_0xe3a83a(0x308)]=-0x1]=_0xe3a83a(0x308),_0x495d58))(Et||{});const K=_0xe3a83a(0x30d),Yt={};var Z=(_0x3d3c4d=>(_0x3d3c4d[_0xe3a83a(0x31e)]='OTHER_CLIENT_EDITING',_0x3d3c4d[_0xe3a83a(0x41d)]=_0xe3a83a(0x41d),_0x3d3c4d['CONFLICT']='CONFLICT',_0x3d3c4d['CLOSE_ROOM']=_0xe3a83a(0x363),_0x3d3c4d['JOIN_ROOM_FAILED']=_0xe3a83a(0x44d),_0x3d3c4d['SOCKET_FAILED_RETRY']=_0xe3a83a(0x32d),_0x3d3c4d[_0xe3a83a(0x46a)]=_0xe3a83a(0x46a),_0x3d3c4d['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x3d3c4d))(Z||{});class ee{constructor(){var _0x429948=_0xe3a83a;A(this,'_event$',new $['Subject']()),A(this,'event$',this[_0x429948(0x386)][_0x429948(0x486)]());}['emitEvent'](_0xc9d0da){var _0x32b00f=_0xe3a83a;this[_0x32b00f(0x386)][_0x32b00f(0x455)](_0xc9d0da);}}const mt=a['createIdentifier'](_0xe3a83a(0x2fa));function Ct(_0x462548){var _0x1b23ac=_0xe3a83a,_0xbfb185,_0x18956a,_0x577161,_0x25fcef,_0x63eedf;const _0x41935a=_0x462548['data'],_0x25b2f9=JSON[_0x1b23ac(0x464)](_0x41935a);switch(_0x25b2f9['cmd']){case W[_0x1b23ac(0x1cf)]:case W[_0x1b23ac(0x442)]:{const _0x3f6aaa=_0x25b2f9[_0x1b23ac(0x1d9)];return{..._0x25b2f9,'data':_0x3f6aaa,'cmd':_0x25b2f9['cmd']};}case W[_0x1b23ac(0x1c2)]:{const _0x1d48b5=_0x25b2f9[_0x1b23ac(0x40f)];return{..._0x25b2f9,'data':_0x1d48b5,'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};}case W['RECV']:{const _0x2fbf58=_0x25b2f9[_0x1b23ac(0x129)];switch(_0x2fbf58[_0x1b23ac(0x1d5)]){case I['CollaborationEvent'][_0x1b23ac(0x482)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':(_0xbfb185=_0x2fbf58[_0x1b23ac(0x233)])==null?void 0x0:_0xbfb185['cs']},'cmd':_0x25b2f9['cmd']};case I['CollaborationEvent'][_0x1b23ac(0x25f)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':(_0x18956a=_0x2fbf58[_0x1b23ac(0x2bf)])==null?void 0x0:_0x18956a['cs']},'cmd':_0x25b2f9['cmd']};case I[_0x1b23ac(0x199)]['NEW_CHANGESETS']:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':(_0x577161=_0x2fbf58[_0x1b23ac(0x3fe)])==null?void 0x0:_0x577161['cs']},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)][_0x1b23ac(0x2f6)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':(_0x25fcef=_0x2fbf58[_0x1b23ac(0x24e)])==null?void 0x0:_0x25fcef['cs']},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)]['CHANGESET_SHOULD_RETRY']:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':(_0x63eedf=_0x2fbf58['csShouldRetryEvent'])==null?void 0x0:_0x63eedf['cs']},'cmd':_0x25b2f9['cmd']};case I[_0x1b23ac(0x199)][_0x1b23ac(0x2b3)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x27b)]},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)][_0x1b23ac(0x37a)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58['joinEvent']},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)][_0x1b23ac(0x141)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x273)]},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)]['LIVESHARE_NEW_HOST']:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x3c8)]},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case I['CollaborationEvent'][_0x1b23ac(0x218)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x3ec)]},'cmd':_0x25b2f9['cmd']};case I[_0x1b23ac(0x199)][_0x1b23ac(0x30a)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x3c8)]},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I['CollaborationEvent'][_0x1b23ac(0x16a)]:return{..._0x25b2f9,'data':_0x2fbf58,'cmd':_0x25b2f9['cmd']};case I[_0x1b23ac(0x199)][_0x1b23ac(0x204)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x3f5)]},'cmd':_0x25b2f9['cmd']};case I['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58[_0x1b23ac(0x44a)]},'cmd':_0x25b2f9['cmd']};case I[_0x1b23ac(0x199)][_0x1b23ac(0x262)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58['shouldCloseConn']},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};case I[_0x1b23ac(0x199)][_0x1b23ac(0x1d6)]:return{..._0x25b2f9,'data':{..._0x2fbf58,'data':_0x2fbf58['uniscriptRunEvent']},'cmd':_0x25b2f9[_0x1b23ac(0x46b)]};default:return _0x25b2f9;}}default:return _0x25b2f9;}}function Tt(_0x16068b){var _0x3d14e0=_0xe3a83a;switch(_0x16068b[_0x3d14e0(0x46b)]){case W[_0x3d14e0(0x1cf)]:case W[_0x3d14e0(0x442)]:return JSON[_0x3d14e0(0x1b6)]({'cmd':_0x16068b[_0x3d14e0(0x46b)],'routeKey':_0x16068b[_0x3d14e0(0x27a)]});case W[_0x3d14e0(0x372)]:{let _0x2c315f;switch(_0x16068b[_0x3d14e0(0x2d3)][_0x3d14e0(0x1d5)]){case I[_0x3d14e0(0x199)][_0x3d14e0(0x2b3)]:{_0x2c315f={'eventID':I[_0x3d14e0(0x199)]['UPDATE_CURSOR'],'updateCursorEvent':_0x16068b[_0x3d14e0(0x2d3)]['data']};break;}case I[_0x3d14e0(0x199)]['USERS_LEAVE']:{_0x2c315f={'eventID':I[_0x3d14e0(0x199)][_0x3d14e0(0x141)],'leaveEvent':_0x16068b[_0x3d14e0(0x2d3)][_0x3d14e0(0x2d3)]};break;}case I['CollaborationEvent'][_0x3d14e0(0x37a)]:{_0x2c315f={'eventID':I[_0x3d14e0(0x199)]['USERS_ENTER'],'joinEvent':_0x16068b[_0x3d14e0(0x2d3)][_0x3d14e0(0x2d3)]};break;}case I[_0x3d14e0(0x199)][_0x3d14e0(0x3fb)]:{_0x2c315f={'eventID':I[_0x3d14e0(0x199)][_0x3d14e0(0x3fb)],'liveShareNewHost':_0x16068b['data'][_0x3d14e0(0x2d3)]};break;}case I[_0x3d14e0(0x199)][_0x3d14e0(0x218)]:{_0x2c315f={'eventID':I['CollaborationEvent'][_0x3d14e0(0x218)],'liveShareOperation':_0x16068b[_0x3d14e0(0x2d3)]['data']};break;}case I[_0x3d14e0(0x199)]['LIVESHARE_TERMINATE']:{_0x2c315f={'eventID':I['CollaborationEvent'][_0x3d14e0(0x30a)],'liveShareTerminate':_0x16068b[_0x3d14e0(0x2d3)]['data']};break;}case I[_0x3d14e0(0x199)]['LIVESHARE_REQUEST_HOST']:{_0x2c315f={'eventID':I[_0x3d14e0(0x199)][_0x3d14e0(0x2fd)],'liveShareRequestHost':_0x16068b[_0x3d14e0(0x2d3)][_0x3d14e0(0x2d3)]};break;}case I[_0x3d14e0(0x199)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2c315f={'eventID':I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2c315f={'eventID':_0x16068b[_0x3d14e0(0x2d3)][_0x3d14e0(0x1d5)]};}return JSON[_0x3d14e0(0x1b6)]({'cmd':_0x16068b[_0x3d14e0(0x46b)],'routeKey':_0x16068b[_0x3d14e0(0x27a)],'collaMsg':_0x2c315f});}case W[_0x3d14e0(0x1c2)]:return JSON['stringify']({'cmd':_0x16068b[_0x3d14e0(0x46b)],'routeKey':_0x16068b[_0x3d14e0(0x27a)],'joinReq':_0x16068b[_0x3d14e0(0x2d3)]});case W[_0x3d14e0(0x3fc)]:return JSON[_0x3d14e0(0x1b6)]({'cmd':_0x16068b[_0x3d14e0(0x46b)],'routeKey':_0x16068b[_0x3d14e0(0x27a)],'leaveReq':_0x16068b[_0x3d14e0(0x2d3)]});default:throw new Error(_0x3d14e0(0x2e6));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x599f32,_0x1805d7,_0x3e0647,_0x45ff78)=>{for(var _0x10d9c3=_0x45ff78>0x1?void 0x0:_0x45ff78?qt(_0x1805d7,_0x3e0647):_0x1805d7,_0x19b57f=_0x599f32['length']-0x1,_0x130c3f;_0x19b57f>=0x0;_0x19b57f--)(_0x130c3f=_0x599f32[_0x19b57f])&&(_0x10d9c3=_0x130c3f(_0x10d9c3)||_0x10d9c3);return _0x10d9c3;},_e=(_0x597da1,_0x169878)=>(_0x18fc80,_0x422883)=>_0x169878(_0x18fc80,_0x422883,_0x597da1);const He=a[_0xe3a83a(0x383)](_0xe3a83a(0x1e2));function Jt(_0x539701,_0x54c7fa,_0x183f57){var _0x4336dc=_0xe3a83a;return _0x539701+'/'+_0x54c7fa+_0x4336dc(0x3ef)+_0x183f57+_0x4336dc(0x135);}exports['CollaborationSocketService']=class extends a[_0xe3a83a(0x2cc)]{constructor(_0xe98ab7,_0x1e14ff,_0x23d80a,_0x2f6d6a,_0x454308){var _0x433428=_0xe3a83a;super(),this[_0x433428(0x450)]=_0xe98ab7,this[_0x433428(0x147)]=_0x1e14ff,this[_0x433428(0x316)]=_0x23d80a,this[_0x433428(0x275)]=_0x2f6d6a,this['_snapshotServerService']=_0x454308;}['_doCreateSocket'](_0x2234e5){var _0x4845ae=_0xe3a83a;const _0x1bed71=this['_injector']['get'](Y[_0x4845ae(0x391)]);if(!_0x1bed71)throw new Error(_0x4845ae(0x2f2));const _0x4815ea=_0x1bed71[_0x4845ae(0x1b4)](_0x2234e5);if(!_0x4815ea)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5ea040=new a[(_0x4845ae(0x2c6))](),_0x3ca5d0=new $[(_0x4845ae(0x2c4))]();_0x5ea040[_0x4845ae(0x387)](_0x4815ea['close$'][_0x4845ae(0x429)](_0x2174bc=>_0x3ca5d0[_0x4845ae(0x455)](_0x2174bc))),_0x5ea040[_0x4845ae(0x387)](a[_0x4845ae(0x109)](()=>_0x3ca5d0[_0x4845ae(0x155)]()));const _0x266020=new $[(_0x4845ae(0x2c4))]();_0x5ea040[_0x4845ae(0x387)](_0x4815ea[_0x4845ae(0x3bd)][_0x4845ae(0x429)](_0x439e26=>_0x266020[_0x4845ae(0x455)](_0x439e26))),_0x5ea040[_0x4845ae(0x387)](a[_0x4845ae(0x109)](()=>_0x266020[_0x4845ae(0x155)]()));const _0x3151d0=new $[(_0x4845ae(0x2c4))]();_0x5ea040[_0x4845ae(0x387)](_0x4815ea[_0x4845ae(0x2b5)]['subscribe'](_0x1f9425=>{var _0x335167=_0x4845ae;const _0x2592f9=Ct(_0x1f9425);_0x3151d0[_0x335167(0x455)](_0x2592f9);})),_0x5ea040[_0x4845ae(0x387)](a['toDisposable'](()=>_0x3151d0[_0x4845ae(0x155)]()));let _0x12de9e;const _0x24ce0f=()=>{var _0x5efb68=_0x4845ae;_0x266020[_0x5efb68(0x455)](new Event(_0x5efb68(0x315))),_0x3ca5d0[_0x5efb68(0x455)](new Event(_0x5efb68(0x315))),_0x12de9e[_0x5efb68(0x2e3)]();};return _0x12de9e={'memberID':'','close$':_0x3ca5d0['asObservable'](),'error$':_0x266020[_0x4845ae(0x486)](),'open$':_0x4815ea[_0x4845ae(0x3fd)],'message$':_0x3151d0[_0x4845ae(0x486)](),'send':_0x5dc480=>{var _0x258314=_0x4845ae;if(_0x5dc480[_0x258314(0x46b)]===W[_0x258314(0x372)]){if(_0x5dc480[_0x258314(0x2d3)][_0x258314(0x1d5)]===I['CollaborationEvent'][_0x258314(0x311)]){this['_submitChangeset'](_0x12de9e,_0x5dc480['data'])['catch'](_0x59b78a=>{var _0x4ee7e2=_0x258314;this['_logService'][_0x4ee7e2(0x467)](_0x59b78a),_0x24ce0f();});return;}if(_0x5dc480[_0x258314(0x2d3)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x58bc7a=_0x5dc480['data'];this[_0x258314(0x2dd)](_0x58bc7a)['then'](_0x190b64=>{var _0x1ec38e=_0x258314;_0x3151d0[_0x1ec38e(0x455)]({'cmd':W[_0x1ec38e(0x292)],'code':oe['OK'],'routeKey':_0x58bc7a[_0x1ec38e(0x2d3)][_0x1ec38e(0x30c)],'routeType':'','data':{'eventID':I[_0x1ec38e(0x199)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x190b64}}});})[_0x258314(0x359)](_0x2e81c7=>{var _0x2ad66c=_0x258314;this['_logService'][_0x2ad66c(0x467)](_0x2e81c7),_0x24ce0f();});return;}}_0x4815ea['send'](Tt(_0x5dc480));},'close':()=>{var _0x3bfb70=_0x4845ae;_0x4815ea[_0x3bfb70(0x2e3)](),_0x5ea040[_0x3bfb70(0x242)]();}},_0x12de9e;}async[_0xe3a83a(0x313)](_0x51d7aa,_0x29e1e8){var _0x16427d=_0xe3a83a,_0x2ff57b,_0xe3c75a;const {unitType:_0x1a71c9,unitID:_0x5dfd0f,changeset:_0xec8e7d}=_0x29e1e8['data'],_0x4361b5={'unitID':_0x5dfd0f,'memberID':_0x51d7aa[_0x16427d(0x15f)],'type':_0x1a71c9,'changeset':I[_0x16427d(0x2a3)](_0xec8e7d)},_0x209a42=this[_0x16427d(0x316)]['getConfig'](pt),_0x1005ba=this[_0x16427d(0x316)][_0x16427d(0x1ce)](K),_0x56e9ff=Jt((_0xe3c75a=(_0x2ff57b=_0x1005ba==null?void 0x0:_0x1005ba[_0x16427d(0x39f)])!=null?_0x2ff57b:_0x209a42)!=null?_0xe3c75a:Vt,_0x1a71c9,_0x5dfd0f);try{await this[_0x16427d(0x147)]['post'](_0x56e9ff,{'body':_0x4361b5});}catch(_0x401239){throw this[_0x16427d(0x275)]['error']('[CollaborationSession]',_0x16427d(0x178)),_0x401239;}}async[_0xe3a83a(0x2dd)](_0x1a2943){var _0x35dcd3=_0xe3a83a;const {unitID:_0x2a1d46,from:_0x17f9e8,to:_0x1f6429,unitType:_0x394d2b}=_0x1a2943[_0x35dcd3(0x2d3)];return(await this['_snapshotServerService'][_0x35dcd3(0x1ac)]({'metadata':void 0x0},{'unitID':_0x2a1d46,'type':_0x394d2b,'from':_0x17f9e8,'to':_0x1f6429}))[_0x35dcd3(0x198)];}},exports[_0xe3a83a(0x1d1)]=zt([_e(0x0,a['Inject'](a[_0xe3a83a(0x130)])),_e(0x1,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)])),_e(0x2,a[_0xe3a83a(0x33f)]),_e(0x3,a['ILogService']),_e(0x4,I[_0xe3a83a(0x492)])],exports['CollaborationSocketService']);const Xt=_0xe3a83a(0x419);function Zt(_0x1471ca){var _0x1eb06f=_0xe3a83a;return JSON[_0x1eb06f(0x1b6)](_0x1471ca)[_0x1eb06f(0x1f9)];}class $e{constructor(){var _0x32dfc4=_0xe3a83a;A(this,_0x32dfc4(0x128),new $['Subject']()),A(this,_0x32dfc4(0x11f),this['_commentUpdate$'][_0x32dfc4(0x486)]());}[_0xe3a83a(0x414)](_0x1bf6e2){var _0x3f80ea=_0xe3a83a;this[_0x3f80ea(0x128)]['next'](_0x1bf6e2);}}var Qt=Object[_0xe3a83a(0x444)],ei=(_0x36d660,_0x37f8d6,_0x58ec0e,_0x54130b)=>{var _0x25ae8d=_0xe3a83a;for(var _0x113370=_0x54130b>0x1?void 0x0:_0x54130b?Qt(_0x37f8d6,_0x58ec0e):_0x37f8d6,_0x3a6c78=_0x36d660[_0x25ae8d(0x1f9)]-0x1,_0x43764d;_0x3a6c78>=0x0;_0x3a6c78--)(_0x43764d=_0x36d660[_0x3a6c78])&&(_0x113370=_0x43764d(_0x113370)||_0x113370);return _0x113370;},We=(_0x386a95,_0x4a5e27)=>(_0xaf92e5,_0x4321dc)=>_0x4a5e27(_0xaf92e5,_0x4321dc,_0x386a95);exports[_0xe3a83a(0x2e0)]=class extends a[_0xe3a83a(0x2cc)]{constructor(_0x18dccd,_0x34e569){var _0x17edb9=_0xe3a83a;super(),A(this,_0x17edb9(0x2c8),new Map()),A(this,_0x17edb9(0x479),new $['Subject']()),(this[_0x17edb9(0x335)]=_0x18dccd,this['_userManagerService']=_0x34e569,this[_0x17edb9(0x440)]($['merge'](this[_0x17edb9(0x335)][_0x17edb9(0x35d)](a[_0x17edb9(0x18a)][_0x17edb9(0x13d)])['pipe'](V['map'](_0x29e61f=>_0x29e61f['getUnitId']())),this[_0x17edb9(0x335)][_0x17edb9(0x35d)](a[_0x17edb9(0x18a)][_0x17edb9(0x244)])[_0x17edb9(0x337)](V[_0x17edb9(0x21e)](_0x517403=>_0x517403['getUnitId']())),this[_0x17edb9(0x335)][_0x17edb9(0x35d)](a[_0x17edb9(0x18a)][_0x17edb9(0x28b)])[_0x17edb9(0x337)](V[_0x17edb9(0x21e)](_0x2d448a=>_0x2d448a['getUnitId']())))[_0x17edb9(0x429)](_0x106e15=>this[_0x17edb9(0x364)](_0x106e15))));}['waitForRoom$'](_0x743895){var _0x329e1c=_0xe3a83a;return this[_0x329e1c(0x2c8)][_0x329e1c(0x2ee)](_0x743895)?$['of'](this['_roomMembers']['get'](_0x743895)):this[_0x329e1c(0x479)][_0x329e1c(0x337)](V[_0x329e1c(0x21e)](_0x6a3352=>{var _0x1fbeca=_0x329e1c;if(_0x6a3352===_0x743895)return this[_0x1fbeca(0x2c8)][_0x1fbeca(0x10f)](_0x6a3352);}));}[_0xe3a83a(0x16b)](_0x1335e2){var _0x1f50d3=_0xe3a83a;this[_0x1f50d3(0x1f1)][_0x1f50d3(0x16b)](_0x1335e2);}[_0xe3a83a(0x3a1)](){var _0x3ab4d1=_0xe3a83a;return this[_0x3ab4d1(0x1f1)][_0x3ab4d1(0x3a1)]();}[_0xe3a83a(0x229)](_0x399620,_0x2d42e3){var _0x19f415=_0xe3a83a;let _0x287e68=this[_0x19f415(0x2c8)][_0x19f415(0x10f)](_0x399620);_0x287e68||(_0x287e68=new ti(),this[_0x19f415(0x2c8)][_0x19f415(0x289)](_0x399620,_0x287e68),this[_0x19f415(0x479)][_0x19f415(0x455)](_0x399620)),_0x287e68[_0x19f415(0x229)](_0x2d42e3);}[_0xe3a83a(0x21c)](_0x323734,_0xcab848){var _0x4c4838=_0xe3a83a;const _0x43a3ce=this[_0x4c4838(0x2c8)][_0x4c4838(0x10f)](_0x323734);_0x43a3ce&&_0x43a3ce[_0x4c4838(0x21c)](_0xcab848);}['getRoom'](_0x35d066){var _0x36708d=_0xe3a83a;return this['_roomMembers'][_0x36708d(0x10f)](_0x35d066);}['getMember'](_0x21433d,_0x57c5ac){var _0x2cf4f0=_0xe3a83a;const _0x215923=this[_0x2cf4f0(0x2c8)]['get'](_0x21433d);if(_0x215923)return _0x215923['getMember'](_0x57c5ac);}[_0xe3a83a(0x364)](_0xf6a405){var _0x18cc33=_0xe3a83a;const _0x4fec6f=this[_0x18cc33(0x2c8)][_0x18cc33(0x10f)](_0xf6a405);_0x4fec6f&&(_0x4fec6f[_0x18cc33(0x242)](),this[_0x18cc33(0x2c8)][_0x18cc33(0x48f)](_0xf6a405));}['dispose'](){var _0x2e71db=_0xe3a83a;this['_roomMembers'][_0x2e71db(0x21b)](_0x34e436=>_0x34e436['dispose']()),this['_roomMembers'][_0x2e71db(0x1b7)](),this[_0x2e71db(0x479)][_0x2e71db(0x155)]();}},exports[_0xe3a83a(0x2e0)]=ei([We(0x0,a[_0xe3a83a(0x3ad)]),We(0x1,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x1b2)]))],exports[_0xe3a83a(0x2e0)]);class ti extends a[_0xe3a83a(0x2cc)]{constructor(){var _0x266e22=_0xe3a83a;super(...arguments),A(this,_0x266e22(0x296),new Map()),A(this,_0x266e22(0x44c),new $[(_0x266e22(0x11b))](this[_0x266e22(0x296)])),A(this,'members$',this['_members$'][_0x266e22(0x486)]());}[_0xe3a83a(0x242)](){var _0x1f32ef=_0xe3a83a;this[_0x1f32ef(0x296)][_0x1f32ef(0x1b7)]();}[_0xe3a83a(0x229)](_0x3e5c94){var _0x4a3ba4=_0xe3a83a;this[_0x4a3ba4(0x296)][_0x4a3ba4(0x289)](_0x3e5c94[_0x4a3ba4(0x15f)],_0x3e5c94),this[_0x4a3ba4(0x12c)]();}[_0xe3a83a(0x21c)](_0x499aa0){var _0x470707=_0xe3a83a;this[_0x470707(0x296)][_0x470707(0x48f)](_0x499aa0);}[_0xe3a83a(0x465)](_0x377f4d){var _0x223ef7=_0xe3a83a;return this[_0x223ef7(0x296)][_0x223ef7(0x10f)](_0x377f4d);}[_0xe3a83a(0x2ad)](){var _0x1fe8f6=_0xe3a83a;return Array[_0x1fe8f6(0x1a6)](this[_0x1fe8f6(0x296)][_0x1fe8f6(0x17b)]());}[_0xe3a83a(0x12c)](){var _0x102e99=_0xe3a83a;this[_0x102e99(0x44c)]['next'](this[_0x102e99(0x296)]);}}var ii=Object[_0xe3a83a(0x444)],ni=(_0x359795,_0x19b651,_0x6b47a5,_0x510111)=>{var _0x120286=_0xe3a83a;for(var _0x19e02b=_0x510111>0x1?void 0x0:_0x510111?ii(_0x19b651,_0x6b47a5):_0x19b651,_0x1fd481=_0x359795[_0x120286(0x1f9)]-0x1,_0x359a6e;_0x1fd481>=0x0;_0x1fd481--)(_0x359a6e=_0x359795[_0x1fd481])&&(_0x19e02b=_0x359a6e(_0x19e02b)||_0x19e02b);return _0x19e02b;},se=(_0x2ba5fd,_0x43f967)=>(_0x48ad8a,_0x2fdaf9)=>_0x43f967(_0x48ad8a,_0x2fdaf9,_0x2ba5fd),re=(_0x5e63c5=>(_0x5e63c5[_0x5e63c5[_0xe3a83a(0x23a)]=0x0]='IDLE',_0x5e63c5[_0x5e63c5[_0xe3a83a(0x134)]=0x1]=_0xe3a83a(0x134),_0x5e63c5[_0x5e63c5['OFFLINE']=0x2]=_0xe3a83a(0x10d),_0x5e63c5[_0x5e63c5[_0xe3a83a(0x1a1)]=0x3]=_0xe3a83a(0x1a1),_0x5e63c5))(re||{});const Ge={[oe['FAIL']]:_0xe3a83a(0x405),[oe[_0xe3a83a(0x293)]]:_0xe3a83a(0x2a7),[oe[_0xe3a83a(0x261)]]:'session.room-not-exists',[oe['JOIN_ROOM_PERMISSION_DENIED']]:_0xe3a83a(0x1bc),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0xe3a83a(0x272)]=class extends a['RxDisposable']{constructor(_0x3d795e,_0x8c8923,_0x127df7,_0x49f6e2,_0x3ab160,_0x429cc4,_0x1e07a6,_0x36c88d,_0x102636){var _0x240133=_0xe3a83a;super(),A(this,_0x240133(0x43f),new $['BehaviorSubject'](0x0)),A(this,_0x240133(0x379),this['_sessionStatus$'][_0x240133(0x486)]()),A(this,_0x240133(0x386),new $['Subject']()),A(this,_0x240133(0x2cb),this[_0x240133(0x386)][_0x240133(0x486)]()),A(this,_0x240133(0x12a)),A(this,_0x240133(0x31a)),A(this,_0x240133(0x1f0)),A(this,_0x240133(0x445),!0x1),A(this,_0x240133(0x145),null),(this[_0x240133(0x2ff)]=_0x3d795e,this[_0x240133(0x275)]=_0x127df7,this[_0x240133(0x316)]=_0x49f6e2,this['_localeService']=_0x3ab160,this[_0x240133(0x1c9)]=_0x429cc4,this[_0x240133(0x183)]=_0x1e07a6,this[_0x240133(0x37b)]=_0x36c88d,this[_0x240133(0x14e)]=_0x102636,this['_shouldReportTelemetry']=!!this[_0x240133(0x14e)],_0x8c8923['pipe']($[_0x240133(0x2f0)](this[_0x240133(0x3ea)]))[_0x240133(0x429)](_0x3e5c03=>{var _0x3128eb=_0x240133,_0x41bd09;typeof _0x3e5c03>'u'||(this[_0x3128eb(0x12a)]=_0x3e5c03,_0x3e5c03?(this[_0x3128eb(0x42a)](_0x3e5c03),this[_0x3128eb(0x31a)]=_0x3e5c03[_0x3128eb(0x2b5)][_0x3128eb(0x429)](_0x5ee339=>{var _0x116ce6=_0x3128eb;_0x5ee339[_0x116ce6(0x27a)]===this[_0x116ce6(0x2ff)]&&this[_0x116ce6(0x184)](_0x5ee339);})):(this[_0x3128eb(0x3ac)](),this['_sessionStatus$']['next'](0x2),(_0x41bd09=this['_socketMessageSubscription'])==null||_0x41bd09[_0x3128eb(0x430)](),this[_0x3128eb(0x31a)]=null));}));}get[_0xe3a83a(0x19e)](){var _0x32cac1=_0xe3a83a;return this[_0x32cac1(0x43f)][_0x32cac1(0x21f)]();}[_0xe3a83a(0x14f)](){var _0x4ed96d=_0xe3a83a,_0x1d27b0,_0x1f5c6a;return(_0x1f5c6a=(_0x1d27b0=this[_0x4ed96d(0x12a)])==null?void 0x0:_0x1d27b0[_0x4ed96d(0x15f)])!=null?_0x1f5c6a:null;}['dispose'](){var _0x191340=_0xe3a83a;super[_0x191340(0x242)](),this[_0x191340(0x3ea)]['next'](),this[_0x191340(0x3ea)][_0x191340(0x155)]();}[_0xe3a83a(0x2e3)](){var _0x255405=_0xe3a83a,_0x4858f8,_0x1ce82d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4858f8=this[_0x255405(0x12a)])==null||_0x4858f8[_0x255405(0x3d2)]({'cmd':W[_0x255405(0x3fc)],'data':{'roomID':this['_unitID']}}),(_0x1ce82d=this[_0x255405(0x12a)])==null||_0x1ce82d[_0x255405(0x2e3)](),this['_event$'][_0x255405(0x155)](),this[_0x255405(0x43f)][_0x255405(0x155)](),this[_0x255405(0x242)]();}[_0xe3a83a(0x184)](_0x6ca1a6){var _0x3cf952=_0xe3a83a;_0x6ca1a6[_0x3cf952(0x46b)]===W[_0x3cf952(0x1c2)]?this['_onJoinRoomEvent'](_0x6ca1a6):_0x6ca1a6[_0x3cf952(0x46b)]===W[_0x3cf952(0x292)]&&this[_0x3cf952(0x2f4)](_0x6ca1a6);}[_0xe3a83a(0x42a)](_0x48ebae){var _0x4bba25=_0xe3a83a;this[_0x4bba25(0x43f)]['next'](0x1),_0x48ebae[_0x4bba25(0x3d2)]({'cmd':W[_0x4bba25(0x1c2)],'routeKey':this[_0x4bba25(0x2ff)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4bba25(0x2ff)]}]}});}[_0xe3a83a(0x331)](_0x2305ba){var _0xdbcf00=_0xe3a83a,_0x4840a3;if(_0x2305ba['code']in Ge){this['_collaborationUIEventService']['emitEvent']({'id':Z['JOIN_ROOM_FAILED'],'data':Ge[_0x2305ba[_0xdbcf00(0x1d3)]]}),this[_0xdbcf00(0x43f)][_0xdbcf00(0x455)](0x2);return;}this[_0xdbcf00(0x43f)][_0xdbcf00(0x455)](0x3);const _0x1f64f0=(_0x4840a3=_0x2305ba['data'][_0xdbcf00(0x1cc)][this['_unitID']])==null?void 0x0:_0x4840a3[_0xdbcf00(0x2a9)];_0x1f64f0&&_0x1f64f0['forEach'](_0x3c3004=>this[_0xdbcf00(0x1c9)][_0xdbcf00(0x229)](this[_0xdbcf00(0x2ff)],_0x3c3004));}['_onRecvEvent'](_0x1cf8bb){var _0x176c9a=_0xe3a83a;try{const _0x33e081=_0x1cf8bb[_0x176c9a(0x2d3)];switch(_0x33e081['eventID']){case I['CollaborationEvent']['USERS_ENTER']:this[_0x176c9a(0x2ea)](_0x33e081),this[_0x176c9a(0x386)][_0x176c9a(0x455)](_0x33e081);break;case I[_0x176c9a(0x199)][_0x176c9a(0x141)]:this['_onUserLeave'](_0x33e081),this[_0x176c9a(0x386)][_0x176c9a(0x455)](_0x33e081);break;case I[_0x176c9a(0x199)][_0x176c9a(0x25f)]:case I[_0x176c9a(0x199)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x176c9a(0x386)][_0x176c9a(0x455)](_0x33e081);break;case I[_0x176c9a(0x199)]['MSG_FOR_ERROR']:this['_logService'][_0x176c9a(0x467)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x176c9a(0x1b6)](_0x33e081)),this[_0x176c9a(0x386)]['next'](_0x33e081);break;case I[_0x176c9a(0x199)][_0x176c9a(0x204)]:this[_0x176c9a(0x183)][_0x176c9a(0x414)](_0x33e081[_0x176c9a(0x2d3)]),this['_event$'][_0x176c9a(0x455)](_0x33e081);break;default:this[_0x176c9a(0x386)][_0x176c9a(0x455)](_0x33e081);}}catch(_0x3d42ef){this[_0x176c9a(0x275)][_0x176c9a(0x467)](_0x3d42ef,_0x1cf8bb);}}[_0xe3a83a(0x2ea)](_0x6b1eda){var _0x3d5ba1=_0xe3a83a;this['_memberService'][_0x3d5ba1(0x229)](this[_0x3d5ba1(0x2ff)],_0x6b1eda['data']);}[_0xe3a83a(0x2e9)](_0x1ba2e5){var _0x295325=_0xe3a83a;this[_0x295325(0x1c9)][_0x295325(0x21c)](this[_0x295325(0x2ff)],_0x1ba2e5[_0x295325(0x2d3)]['memberID']);}async[_0xe3a83a(0x3d2)](_0x5cef04,_0xd732e4){var _0x2ce593=_0xe3a83a;if(this['sessionStatus']!==0x3||!this[_0x2ce593(0x12a)])throw new Error(_0x2ce593(0x3f8));try{_0x5cef04[_0x2ce593(0x1d5)]===I[_0x2ce593(0x199)][_0x2ce593(0x311)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2ce593(0x11e)](_0x5cef04)),this[_0x2ce593(0x12a)][_0x2ce593(0x3d2)]({'cmd':W[_0x2ce593(0x372)],'routeKey':_0xd732e4,'routeType':'','data':_0x5cef04});}catch(_0x33f22f){this[_0x2ce593(0x275)]['error'](_0x33f22f);}}[_0xe3a83a(0x3f1)](){var _0x3db369=_0xe3a83a,_0x5c357b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x289668=_0x1706;this[_0x289668(0x1f0)]=null,this['_collaborationUIEventService'][_0x289668(0x34d)]({'id':Z[_0x289668(0x3c2)]});},(_0x5c357b=this['_configService'][_0x3db369(0x1ce)](ke))!=null?_0x5c357b:St);}['_clearCollaborationTimeoutTimer'](){var _0x3b401b=_0xe3a83a;this[_0x3b401b(0x1f0)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x36a506){var _0x276a0c=_0xe3a83a;if(!this[_0x276a0c(0x445)])return;const {data:_0x5a3779}=_0x36a506,{unitID:_0xf04e50,changeset:_0x571a2c}=_0x5a3779,{mutations:_0x1e42c2,type:_0x2988e4}=_0x571a2c;this[_0x276a0c(0x145)]={'unitId':_0xf04e50,'type':_0x2988e4,'startTime':performance[_0x276a0c(0x118)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x1e42c2)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x6e4f30=_0xe3a83a;if(this[_0x6e4f30(0x445)]){if(!this['_telemetryInfo']){this[_0x6e4f30(0x275)][_0x6e4f30(0x467)](_0x6e4f30(0x45c),_0x6e4f30(0x1f3));return;}this[_0x6e4f30(0x145)][_0x6e4f30(0x26f)]=performance['now'](),this[_0x6e4f30(0x145)][_0x6e4f30(0x365)]=this[_0x6e4f30(0x145)][_0x6e4f30(0x26f)]-this['_telemetryInfo'][_0x6e4f30(0x2fc)],this[_0x6e4f30(0x14e)][_0x6e4f30(0x2e5)](Xt,this[_0x6e4f30(0x145)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0xe3a83a(0x437)]),se(0x3,a['IConfigService']),se(0x4,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x117)])),se(0x5,a[_0xe3a83a(0x1e6)](exports['MemberService'])),se(0x6,a[_0xe3a83a(0x1e6)]($e)),se(0x7,a[_0xe3a83a(0x1e6)](ee)),se(0x8,a[_0xe3a83a(0x2db)](Pt[_0xe3a83a(0x39a)]))],exports[_0xe3a83a(0x272)]);var ri=Object[_0xe3a83a(0x444)],si=(_0x125c65,_0x2587aa,_0x157f85,_0x34fa27)=>{var _0x1bcc89=_0xe3a83a;for(var _0x8f72e7=_0x34fa27>0x1?void 0x0:_0x34fa27?ri(_0x2587aa,_0x157f85):_0x2587aa,_0x4d9b32=_0x125c65[_0x1bcc89(0x1f9)]-0x1,_0x52d043;_0x4d9b32>=0x0;_0x4d9b32--)(_0x52d043=_0x125c65[_0x4d9b32])&&(_0x8f72e7=_0x52d043(_0x8f72e7)||_0x8f72e7);return _0x8f72e7;},he=(_0x12fdd4,_0x49cf25)=>(_0xb50cab,_0x54869d)=>_0x49cf25(_0xb50cab,_0x54869d,_0x12fdd4);exports['CollaborationSessionService']=class extends a[_0xe3a83a(0x2cc)]{constructor(_0x3e8eba,_0x36c554,_0xebb2ee,_0x45fa86,_0x40ec94,_0x1e3b0c){var _0x3fb35=_0xe3a83a;super(),A(this,_0x3fb35(0x301),new $['BehaviorSubject'](void 0x0)),A(this,_0x3fb35(0x123),this[_0x3fb35(0x301)][_0x3fb35(0x486)]()),A(this,_0x3fb35(0x30e),null),A(this,_0x3fb35(0x38b),new Map()),A(this,_0x3fb35(0x265),new $[(_0x3fb35(0x11b))](re[_0x3fb35(0x23a)])),A(this,_0x3fb35(0x24b),this[_0x3fb35(0x265)][_0x3fb35(0x486)]()),A(this,_0x3fb35(0x248),!0x1),A(this,_0x3fb35(0x416)),A(this,'_retryCount',0x0),A(this,_0x3fb35(0x116)),A(this,'_timeoutTimer'),(this[_0x3fb35(0x450)]=_0x3e8eba,this[_0x3fb35(0x275)]=_0x36c554,this['_configService']=_0xebb2ee,this[_0x3fb35(0x2ac)]=_0x45fa86,this['_collaborationUIEventService']=_0x40ec94,this['_networkConditionService']=_0x1e3b0c,this['_listenToNetworkCondition']());}get[_0xe3a83a(0x12a)](){var _0x1ccc93=_0xe3a83a;return this[_0x1ccc93(0x301)][_0x1ccc93(0x21f)]();}[_0xe3a83a(0x298)](){var _0x54948b=_0xe3a83a;this[_0x54948b(0x3e6)]&&this[_0x54948b(0x440)](this[_0x54948b(0x3e6)]['online$'][_0x54948b(0x429)](_0x8dfb9b=>{var _0x3beab9=_0x54948b;_0x8dfb9b&&!this[_0x3beab9(0x12a)]&&this[_0x3beab9(0x453)](),_0x8dfb9b||this[_0x3beab9(0x1de)]();}));}[_0xe3a83a(0x242)](){var _0xc81250=_0xe3a83a;super['dispose'](),this[_0xc81250(0x3a4)](),this['_clearTimeoutTimer'](),this[_0xc81250(0x38e)](),this[_0xc81250(0x38b)][_0xc81250(0x21b)](_0x28c541=>_0x28c541[_0xc81250(0x242)]()),this[_0xc81250(0x38b)][_0xc81250(0x1b7)](),this[_0xc81250(0x265)][_0xc81250(0x155)]();}async[_0xe3a83a(0x1e1)](_0x411ccc){var _0x466a2e=_0xe3a83a;if(this[_0x466a2e(0x38b)][_0x466a2e(0x2ee)](_0x411ccc))return this[_0x466a2e(0x38b)][_0x466a2e(0x10f)](_0x411ccc);this[_0x466a2e(0x1d4)]();const _0x1743d0=this[_0x466a2e(0x450)][_0x466a2e(0x2e8)](exports[_0x466a2e(0x272)],_0x411ccc,this[_0x466a2e(0x301)][_0x466a2e(0x486)]());return this[_0x466a2e(0x38b)][_0x466a2e(0x289)](_0x411ccc,_0x1743d0),_0x1743d0;}[_0xe3a83a(0x202)](_0x2223cb){var _0x46420e=_0xe3a83a,_0x5399b4;const _0x465931=this[_0x46420e(0x38b)][_0x46420e(0x10f)](_0x2223cb);_0x465931&&(this[_0x46420e(0x38b)][_0x46420e(0x48f)](_0x2223cb),_0x465931[_0x46420e(0x2e3)]()),this['_sessions'][_0x46420e(0x3db)]||(_0x5399b4=this[_0x46420e(0x12a)])==null||_0x5399b4['close']();}['reconnect'](){var _0x105ac1=_0xe3a83a;this[_0x105ac1(0x41b)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x105ac1(0x1a7)]();}[_0xe3a83a(0x3a4)](){var _0x325a97=_0xe3a83a;this[_0x325a97(0x416)]!=null&&(clearTimeout(this[_0x325a97(0x416)]),this[_0x325a97(0x416)]=null);}async[_0xe3a83a(0x34c)](){var _0x753594=_0xe3a83a,_0x39b105,_0x152110;const _0x4a0e96=this['_configService'][_0x753594(0x1ce)](ut),_0x533ca2=this[_0x753594(0x316)][_0x753594(0x1ce)](K),_0xdeec9e=(_0x152110=(_0x39b105=_0x533ca2==null?void 0x0:_0x533ca2[_0x753594(0x1c8)])!=null?_0x39b105:_0x4a0e96)!=null?_0x152110:dt,_0x2a0faa=await this[_0x753594(0x2ac)][_0x753594(0x1b4)](_0xdeec9e);return this[_0x753594(0x30e)]=_0x2a0faa,_0x2a0faa;}async[_0xe3a83a(0x1d4)](){var _0x4742b3=_0xe3a83a,_0x4d9533,_0x458dca;try{const _0x493013=(_0x458dca=(_0x4d9533=this['_socket'])!=null?_0x4d9533:this[_0x4742b3(0x30e)])!=null?_0x458dca:await this[_0x4742b3(0x34c)]();if(_0x493013){const _0x5afa4c=_0x493013['send'];_0x493013['send']=_0x1cba03=>(this[_0x4742b3(0x3a9)](),_0x5afa4c['apply'](_0x493013,[_0x1cba03])),_0x493013[_0x4742b3(0x2b5)][_0x4742b3(0x429)](_0x171ae5=>this['_onMessage'](_0x493013,_0x171ae5)),_0x493013[_0x4742b3(0x3bd)][_0x4742b3(0x337)](V[_0x4742b3(0x3d8)](0x1))[_0x4742b3(0x429)](_0x58c9b0=>this[_0x4742b3(0x275)][_0x4742b3(0x467)](_0x4742b3(0x252),_0x58c9b0)),_0x493013[_0x4742b3(0x3fd)]['pipe'](V['take'](0x1))[_0x4742b3(0x429)](()=>{var _0x270bfc=_0x4742b3;this[_0x270bfc(0x191)](_0x493013);}),_0x493013[_0x4742b3(0x3e0)][_0x4742b3(0x337)](V[_0x4742b3(0x3d8)](0x1))[_0x4742b3(0x429)](_0x35b00e=>{var _0x1a3550=_0x4742b3;this[_0x1a3550(0x275)]['debug'](_0x1a3550(0x3df),_0x1a3550(0x207),_0x35b00e),this[_0x1a3550(0x2df)]();});}}catch(_0x2697ba){this[_0x4742b3(0x275)][_0x4742b3(0x467)](_0x2697ba),this[_0x4742b3(0x2df)]();}}[_0xe3a83a(0x191)](_0xbb01ec){var _0x157cc8=_0xe3a83a;this[_0x157cc8(0x275)]['debug']('[CollaborationSessionService]',_0x157cc8(0x356)),_0xbb01ec['send']({'cmd':W['HELLO']}),this[_0x157cc8(0x3a9)]();}['_onOffline'](){var _0x292bbb=_0xe3a83a;this[_0x292bbb(0x248)]=!0x1,this[_0x292bbb(0x30e)]=null,this[_0x292bbb(0x265)][_0x292bbb(0x455)](re[_0x292bbb(0x10d)]),this['_socket$']['next'](null),this[_0x292bbb(0x180)](),this[_0x292bbb(0x38e)]();}[_0xe3a83a(0x2df)](){var _0x216568=_0xe3a83a,_0x263072;this['_onOffline'](),this[_0x216568(0x41b)]<((_0x263072=this[_0x216568(0x316)]['getConfig'](ft))!=null?_0x263072:jt)?(this[_0x216568(0x37b)][_0x216568(0x34d)]({'id':Z[_0x216568(0x32d)]}),this[_0x216568(0x1a7)]()):this[_0x216568(0x37b)]['emitEvent']({'id':Z[_0x216568(0x46a)]});}[_0xe3a83a(0x1a7)](){var _0x1d7cd4=_0xe3a83a,_0x1b3a1e;const _0xab2e51=this['_retryCount'],_0x366477=this[_0x1d7cd4(0x316)][_0x1d7cd4(0x1ce)](K),_0x8e3453=_0xab2e51===0x0?0x0:((_0x1b3a1e=_0x366477==null?void 0x0:_0x366477[_0x1d7cd4(0x3af)])!=null?_0x1b3a1e:$t)*0x2**_0xab2e51;this[_0x1d7cd4(0x416)]=setTimeout(()=>{var _0x286efc=_0x1d7cd4;clearTimeout(this[_0x286efc(0x416)]),this[_0x286efc(0x416)]=null,this['_tryEnsureSocket']();},_0x8e3453),this[_0x1d7cd4(0x41b)]+=0x1;}[_0xe3a83a(0x299)](_0x315302,_0x4ba67c){var _0x3c0177=_0xe3a83a;const {cmd:_0x340759}=_0x4ba67c;_0x340759===W['HELLO']&&!this[_0x3c0177(0x248)]&&(_0x315302['memberID']=_0x4ba67c[_0x3c0177(0x2d3)]['memberID'],this['_socket$']['next'](_0x315302),this[_0x3c0177(0x265)][_0x3c0177(0x455)](re[_0x3c0177(0x1a1)]),this[_0x3c0177(0x248)]=!0x0,this[_0x3c0177(0x30e)]=null),_0x340759===W['HEARTBEAT']&&this[_0x3c0177(0x180)](),this[_0x3c0177(0x3a9)]();}[_0xe3a83a(0x3a9)](){var _0x5f2f85=_0xe3a83a,_0xa97ba3;this[_0x5f2f85(0x38e)](),this[_0x5f2f85(0x116)]=setTimeout(()=>this[_0x5f2f85(0x1a0)](),(_0xa97ba3=this[_0x5f2f85(0x316)]['getConfig'](vt))!=null?_0xa97ba3:Ht);}[_0xe3a83a(0x1a0)](){var _0x590309=_0xe3a83a;this[_0x590309(0x12a)][_0x590309(0x3d2)]({'cmd':W[_0x590309(0x1cf)]}),this[_0x590309(0x28f)]();}[_0xe3a83a(0x28f)](){var _0x32b010=_0xe3a83a,_0x5de292;this[_0x32b010(0x225)]=setTimeout(()=>this[_0x32b010(0x2df)](),(_0x5de292=this[_0x32b010(0x316)][_0x32b010(0x1ce)](ke))!=null?_0x5de292:St);}[_0xe3a83a(0x38e)](){var _0x51435f=_0xe3a83a;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x51435f(0x116)]),this[_0x51435f(0x116)]=null);}['_clearTimeoutTimer'](){var _0x540898=_0xe3a83a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x540898(0x225)]),this[_0x540898(0x225)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),he(0x1,a[_0xe3a83a(0x437)]),he(0x2,a[_0xe3a83a(0x33f)]),he(0x3,He),he(0x4,a[_0xe3a83a(0x1e6)](ee)),he(0x5,a[_0xe3a83a(0x2db)](mt))],exports[_0xe3a83a(0x17f)]);const q=a[_0xe3a83a(0x383)](_0xe3a83a(0x421));function oi(_0x16d327){var _0x54dc63=_0xe3a83a;return _0x54dc63(0x1e5)+_0x16d327;}var ai=Object[_0xe3a83a(0x444)],ci=(_0x76344e,_0x1b8b85,_0x5eaa98,_0xec11fd)=>{var _0x238390=_0xe3a83a;for(var _0x5568e9=_0xec11fd>0x1?void 0x0:_0xec11fd?ai(_0x1b8b85,_0x5eaa98):_0x1b8b85,_0x418fd1=_0x76344e[_0x238390(0x1f9)]-0x1,_0x4b146d;_0x418fd1>=0x0;_0x418fd1--)(_0x4b146d=_0x76344e[_0x418fd1])&&(_0x5568e9=_0x4b146d(_0x5568e9)||_0x5568e9);return _0x5568e9;},De=(_0x4c2115,_0xe54f6c)=>(_0x5d49df,_0x581428)=>_0xe54f6c(_0x5d49df,_0x581428,_0x4c2115);function hi(_0x188065){var _0x38737a=_0xe3a83a;const {unitID:_0x2063ce,mutations:_0x1ce6c6}=_0x188065;return{'unitId':_0x2063ce,'subUnitId':_0x1ce6c6[0x0][_0x38737a(0x256)][_0x38737a(0x47d)]};}exports[_0xe3a83a(0x3d7)]=class{constructor(_0x1578db,_0x44ec32,_0x4b1b02){var _0x5622fd=_0xe3a83a;this[_0x5622fd(0x450)]=_0x1578db,this[_0x5622fd(0x462)]=_0x44ec32,this[_0x5622fd(0x2e7)]=_0x4b1b02;}[_0xe3a83a(0x12f)](_0x302726){var _0x36b05d=_0xe3a83a,_0x9b5963,_0xf86d06,_0xaebb95,_0x12182f;const _0x26cdd6=this['_injector'][_0x36b05d(0x10f)](X[_0x36b05d(0x2a1)]),{unitId:_0xdb2c73,subUnitId:_0x3bbe61}=hi(_0x302726),_0x3add66=_0x26cdd6==null?void 0x0:_0x26cdd6['getWorkbookSelections'](_0xdb2c73)[_0x36b05d(0x15d)](),_0x431549=(_0xf86d06=(_0x9b5963=this[_0x36b05d(0x2e7)][_0x36b05d(0x1fd)](_0xdb2c73))==null?void 0x0:_0x9b5963['getActiveSheet']())==null?void 0x0:_0xf86d06[_0x36b05d(0x266)]();if(_0x3add66['length']===0x0||!_0xdb2c73||!_0x3bbe61)return;const _0x5f1f24=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xdb2c73,'subUnitId':_0x431549,'selections':a[_0x36b05d(0x1a9)][_0x36b05d(0x297)](_0x3add66)}}],_0x4de40e=this[_0x36b05d(0x462)][_0x36b05d(0x2d1)](_0x302726,_0x5f1f24);if(!I['isTransformMutationsWithChangesetSuccess'](_0x4de40e))throw _0x4de40e[_0x36b05d(0x467)];const _0x309643=(_0x12182f=(_0xaebb95=_0x4de40e['m2Prime'][0x0])==null?void 0x0:_0xaebb95[_0x36b05d(0x256)])==null?void 0x0:_0x12182f[_0x36b05d(0x27e)];if(Array[_0x36b05d(0x3c5)](_0x309643)&&_0x309643[_0x36b05d(0x1f9)]){if(_0x309643[_0x36b05d(0x1f9)]===_0x5f1f24[0x0][_0x36b05d(0x256)][_0x36b05d(0x27e)][_0x36b05d(0x1f9)]&&_0x309643[_0x36b05d(0x403)]((_0x511826,_0x20e582)=>a[_0x36b05d(0x3a5)][_0x36b05d(0x47c)](_0x511826[_0x36b05d(0x10e)],_0x5f1f24[0x0]['params']['selections'][_0x20e582][_0x36b05d(0x10e)])))return;this['_injector']['get'](a[_0x36b05d(0x1ed)])[_0x36b05d(0x34e)](X[_0x36b05d(0x2c0)]['id'],{'unitId':_0xdb2c73,'subUnitId':_0x431549,'selections':_0x309643});}}},exports[_0xe3a83a(0x3d7)]=ci([De(0x0,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),De(0x1,I[_0xe3a83a(0x484)]),De(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const de=a[_0xe3a83a(0x383)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x11827e=>(_0x11827e[_0x11827e[_0xe3a83a(0x25d)]=0x0]=_0xe3a83a(0x25d),_0x11827e[_0x11827e[_0xe3a83a(0x1f4)]=0x1]=_0xe3a83a(0x1f4),_0x11827e))(je||{});const _i=new Set([X[_0xe3a83a(0x255)]['id']]);function Ke(_0xe77fd8,_0x28b378,_0xcb091,_0x31faec,_0x4a04bf){var _0x3143d9=_0xe3a83a,_0x3dba40,_0x14dff9,_0xeb83b7,_0x2ee2e6;const _0x5f372d=[];for(const _0x3d1794 of _0xe77fd8)if(_i[_0x3143d9(0x2ee)](_0x3d1794['id'])){if(_0x5f372d['length']>0x0)break;_0x5f372d[_0x3143d9(0x454)](_0x3d1794);break;}else _0x5f372d['push'](_0x3d1794);const _0x58c607=(_0x14dff9=(_0x3dba40=_0x4a04bf['getCurrentUser']())==null?void 0x0:_0x3dba40[_0x3143d9(0x33a)])!=null?_0x14dff9:_0x3143d9(0x176),_0x4f0eca=(_0x2ee2e6=(_0xeb83b7=_0x4a04bf['getCurrentUser']())==null?void 0x0:_0xeb83b7[_0x3143d9(0x15f)])!=null?_0x2ee2e6:_0x3143d9(0x176);return{'changeset':{'unitID':_0x28b378,'type':I[_0x3143d9(0x2bb)](_0xcb091[_0x3143d9(0x1c7)](_0x28b378)),'baseRev':_0x31faec[_0x3143d9(0x321)](_0x28b378),'revision':0x0,'userID':_0x58c607,'memberID':_0x4f0eca,'mutations':_0x5f372d},'pendingMutations':_0xe77fd8[_0x3143d9(0x294)](_0x5f372d[_0x3143d9(0x1f9)])};}function li(_0x4eec06,_0x2cd1fb,_0x256a5e,_0x20bc16,_0x14f81f){var _0x3da7a4=_0xe3a83a,_0x2f4131,_0x14d6c5,_0x809d8c,_0x2efcdd;const _0x5f944e=[_0x4eec06[_0x3da7a4(0x48c)]((_0x43a8c7,_0x3648fb)=>{var _0x13589f=_0x3da7a4,_0x3e6ccb;const {id:_0x2b56c2}=_0x43a8c7,{id:_0x575596,type:_0xefed19}=_0x3648fb,_0x238e7b=(_0x3e6ccb=_0x43a8c7['params'])!=null?_0x3e6ccb:{'actions':null},_0x49de51=_0x3648fb[_0x13589f(0x256)];if(_0x2b56c2&&_0x2b56c2!==_0x575596)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2b56c2+_0x13589f(0x396)+_0x575596+'.');return{..._0x43a8c7,'id':_0x575596,'type':_0xefed19,'params':{'unitId':_0x49de51[_0x13589f(0x2c9)],'textRanges':_0x49de51['textRanges'],'actions':a[_0x13589f(0x35a)][_0x13589f(0x46c)](_0x238e7b['actions'],_0x49de51[_0x13589f(0x402)])}};},{})],_0x5e7277=(_0x14d6c5=(_0x2f4131=_0x14f81f['getCurrentUser']())==null?void 0x0:_0x2f4131[_0x3da7a4(0x33a)])!=null?_0x14d6c5:'unknown',_0x416b9c=(_0x2efcdd=(_0x809d8c=_0x14f81f[_0x3da7a4(0x3a1)]())==null?void 0x0:_0x809d8c[_0x3da7a4(0x15f)])!=null?_0x2efcdd:_0x3da7a4(0x176);return{'changeset':{'unitID':_0x2cd1fb,'type':I[_0x3da7a4(0x2bb)](_0x256a5e[_0x3da7a4(0x1c7)](_0x2cd1fb)),'baseRev':_0x20bc16[_0x3da7a4(0x321)](_0x2cd1fb),'revision':0x0,'userID':_0x5e7277,'memberID':_0x416b9c,'mutations':_0x5f944e},'pendingMutations':[]};}function bt(_0x5084ac,_0x287111){var _0xdebb75=_0xe3a83a;const _0xa351dc=new $[(_0xdebb75(0x24c))](0x1);return setTimeout(()=>_0xa351dc[_0xdebb75(0x455)](_0x287111),_0x5084ac),_0xa351dc[_0xdebb75(0x486)]()['pipe']($[_0xdebb75(0x3d8)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0xe3a83a(0x369)][_0xe3a83a(0x1df)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x24e916,_0x24f78c,_0xf1eaa4,_0x293e90)=>{var _0x297772=_0xe3a83a;for(var _0x436551=_0x293e90>0x1?void 0x0:_0x293e90?di(_0x24f78c,_0xf1eaa4):_0x24f78c,_0x13e40f=_0x24e916[_0x297772(0x1f9)]-0x1,_0x270b2c;_0x13e40f>=0x0;_0x13e40f--)(_0x270b2c=_0x24e916[_0x13e40f])&&(_0x436551=_0x270b2c(_0x436551)||_0x436551);return _0x436551;},w=(_0x1a6b63,_0x2265f5)=>(_0x59b3c8,_0x34581b)=>_0x2265f5(_0x59b3c8,_0x34581b,_0x1a6b63),Be=(_0x3daadb=>(_0x3daadb[_0xe3a83a(0x377)]=_0xe3a83a(0x346),_0x3daadb['SYNCED']=_0xe3a83a(0x34b),_0x3daadb['PENDING']=_0xe3a83a(0x16d),_0x3daadb[_0xe3a83a(0x451)]=_0xe3a83a(0x475),_0x3daadb[_0xe3a83a(0x152)]=_0xe3a83a(0x158),_0x3daadb[_0xe3a83a(0x16c)]=_0xe3a83a(0x33e),_0x3daadb[_0xe3a83a(0x46e)]='conflict',_0x3daadb['OFFLINE']=_0xe3a83a(0x2f7),_0x3daadb))(Be||{});const Rt=0xea60;class ce{constructor(_0x14dfe6,_0x3511fb,_0x1c43c0,_0x5e22f0,_0x3144de,_0x8d6118,_0x2d617e,_0x507ac6,_0x3cf224){var _0x1a5926=_0xe3a83a;A(this,_0x1a5926(0x22c),null),A(this,'_pendingMutations',[]),(this[_0x1a5926(0x30c)]=_0x14dfe6,this[_0x1a5926(0x19d)]=_0x3511fb,this['_handler']=_0x3144de,this[_0x1a5926(0x42c)]=_0x8d6118,this['_undoRedoService']=_0x2d617e,this[_0x1a5926(0x3f2)]=_0x507ac6,this['_localCacheService']=_0x3cf224,this[_0x1a5926(0x22c)]=_0x1c43c0,this['_pendingMutations']=_0x5e22f0);}[_0xe3a83a(0x1c6)](_0x505d5e){var _0x4ea146=_0xe3a83a;const _0x530f90=this[_0x4ea146(0x3f2)][_0x4ea146(0x321)](this[_0x4ea146(0x30c)]);return _0x505d5e['revision']>_0x530f90+0x1?(this[_0x4ea146(0x3ca)]['onMissingChangesets']({'from':_0x530f90,'to':_0x505d5e[_0x4ea146(0x1ad)]-0x1}),!0x0):!0x1;}[_0xe3a83a(0x1aa)](_0x2ac4ae){var _0x2ab495=_0xe3a83a;this['_undoRedoService'][_0x2ab495(0x231)](this[_0x2ab495(0x30c)],_0x2ac4ae);}['_transformSelections'](_0x302231){var _0xd9f5c4=_0xe3a83a,_0x24abda,_0x412411;(_0x412411=(_0x24abda=this['_handler'])['onTransformSelections'])==null||_0x412411[_0xd9f5c4(0x1ff)](_0x24abda,_0x302231);}['_transformIMECache'](_0x53278c){var _0x3d8bc0=_0xe3a83a,_0x552638,_0x50c96a;return(_0x50c96a=(_0x552638=this['_handler'])['onTransformIME'])==null?void 0x0:_0x50c96a[_0x3d8bc0(0x1ff)](_0x552638,_0x53278c);}[_0xe3a83a(0x20c)](_0x525234){var _0x3a3039=_0xe3a83a,_0x50c199,_0x2a9273;return(_0x2a9273=(_0x50c199=this['_handler'])['onTransformState'])==null?void 0x0:_0x2a9273[_0x3a3039(0x1ff)](_0x50c199,_0x525234);}['_transformRemoteChangesetByIMECache'](_0x2524c5){var _0x20d5cc=_0xe3a83a,_0x17e46e,_0x89f134,_0x25ec6c;return(_0x25ec6c=(_0x89f134=(_0x17e46e=this['_handler'])[_0x20d5cc(0x31d)])==null?void 0x0:_0x89f134['call'](_0x17e46e,_0x2524c5))!=null?_0x25ec6c:_0x2524c5;}[_0xe3a83a(0x281)](_0x40460d){var _0x11bc10=_0xe3a83a,_0xf5e860,_0x5a09ec,_0x327af6;return(_0x327af6=(_0x5a09ec=(_0xf5e860=this[_0x11bc10(0x3ca)])[_0x11bc10(0x16f)])==null?void 0x0:_0x5a09ec[_0x11bc10(0x1ff)](_0xf5e860,_0x40460d))!=null?_0x327af6:_0x40460d;}[_0xe3a83a(0x2c5)](_0x35ada4){var _0x47736a=_0xe3a83a,_0x2650cc,_0x288cb2;if(this[_0x47736a(0x19d)]===J[_0x47736a(0x244)]){const {unitID:_0x19811e,mutations:_0x121012,memberID:_0x24d43f}=_0x35ada4,_0x427ad0=_0x121012[0x0]['params']['textRanges'];Array[_0x47736a(0x3c5)](_0x427ad0)&&_0x427ad0[_0x47736a(0x1f9)]>0x0&&((_0x288cb2=(_0x2650cc=this['_handler'])[_0x47736a(0x26c)])==null||_0x288cb2[_0x47736a(0x1ff)](_0x2650cc,{'unitID':_0x19811e,'memberID':_0x24d43f,'textRanges':_0x427ad0}));}}[_0xe3a83a(0x40d)](){var _0x51fa64=_0xe3a83a,_0x4de415;(_0x4de415=this[_0x51fa64(0x392)])==null||_0x4de415['updateOfflineData'](this['unitID'],this[_0x51fa64(0x19d)],this['_awaitingChangeset'],this[_0x51fa64(0x3cb)]);}[_0xe3a83a(0x300)](){var _0x297da0=_0xe3a83a;return this[_0x297da0(0x3f2)][_0x297da0(0x321)](this[_0x297da0(0x30c)]);}[_0xe3a83a(0x37f)](){var _0x16e46b=_0xe3a83a;this[_0x16e46b(0x3f2)][_0x16e46b(0x20b)](this[_0x16e46b(0x30c)]);}['_executeRemoteChangeset'](_0x1f9248){var _0x556f0b=_0xe3a83a,_0x1e33a8;let _0x1d0b1f=this[_0x556f0b(0x2d6)](_0x1f9248);_0x1d0b1f=this[_0x556f0b(0x281)](_0x1d0b1f);const _0x553975=a['sequenceExecute'](_0x1d0b1f[_0x556f0b(0x3b3)],this[_0x556f0b(0x42c)],{'fromCollab':!0x0});if(!_0x553975['result'])throw _0x553975[_0x556f0b(0x467)]instanceof Error?_0x553975[_0x556f0b(0x467)]:new Error((_0x1e33a8=_0x553975['error'])!=null?_0x1e33a8:'[CollaborationState]:\x20apply\x20error!');this[_0x556f0b(0x2ec)](_0x1d0b1f),this[_0x556f0b(0x20c)](_0x1d0b1f),this[_0x556f0b(0x1aa)](_0x1f9248),this[_0x556f0b(0x3ae)](_0x1d0b1f),this[_0x556f0b(0x2c5)](_0x1d0b1f),this[_0x556f0b(0x37f)]();}}exports['SyncedState']=class extends ce{constructor(_0x3fe5ae,_0x52c438,_0x15b364,_0xf2e729,_0x85faeb,_0xc47dbb,_0xf17495,_0x4c3dfc,_0x5b8b4a,_0x1e7eab){var _0x45900b=_0xe3a83a;super(_0x3fe5ae,_0x52c438,null,[],_0x15b364,_0xf17495,_0xc47dbb,_0xf2e729,_0x1e7eab),A(this,_0x45900b(0x277),_0x45900b(0x34b)),(this[_0x45900b(0x450)]=_0x85faeb,this['_logService']=_0x4c3dfc,this[_0x45900b(0x462)]=_0x5b8b4a,this[_0x45900b(0x3dd)]=_0x1e7eab);}[_0xe3a83a(0x34f)](_0x489dfb){var _0x4f1b16=_0xe3a83a;const _0x50e12f=this[_0x4f1b16(0x450)][_0x4f1b16(0x2e8)](exports['PendingState'],this[_0x4f1b16(0x30c)],this[_0x4f1b16(0x19d)],[_0x489dfb],this[_0x4f1b16(0x3ca)]);return _0x50e12f[_0x4f1b16(0x237)](),_0x50e12f[_0x4f1b16(0x40d)](),_0x50e12f;}[_0xe3a83a(0x488)](_0x581c8a){var _0x52d36a=_0xe3a83a;if(this[_0x52d36a(0x1c6)](_0x581c8a))return this['_injector'][_0x52d36a(0x2e8)](exports['FetchingMissState'],this['unitID'],this[_0x52d36a(0x19d)],null,[],null,[_0x581c8a],this[_0x52d36a(0x3ca)]);try{const _0xa5e134=this[_0x52d36a(0x462)][_0x52d36a(0x2d1)](_0x581c8a,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0xa5e134)){const {c1Prime:_0x161e74}=_0xa5e134;return this[_0x52d36a(0x3d5)](_0x161e74),this;}throw _0xa5e134[_0x52d36a(0x467)];}catch(_0xd2035a){return this[_0x52d36a(0x275)]['error'](_0xd2035a),this['_onConflict'](!0x1);}}[_0xe3a83a(0x139)](_0x320569){var _0x3c7dda=_0xe3a83a;return this['_injector'][_0x3c7dda(0x2e8)](exports[_0x3c7dda(0x31b)],this[_0x3c7dda(0x30c)],this[_0x3c7dda(0x19d)],null,[],this[_0x3c7dda(0x3ca)],_0x320569);}[_0xe3a83a(0x10b)](){var _0x41dcf4=_0xe3a83a;throw new Error(_0x41dcf4(0x17c));}[_0xe3a83a(0x355)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xe3a83a(0x136)](){return this;}['toggleOffline'](){var _0x45ecc7=_0xe3a83a;return this['_injector'][_0x45ecc7(0x2e8)](exports[_0x45ecc7(0x285)],this['unitID'],this[_0x45ecc7(0x19d)],null,[],this[_0x45ecc7(0x3ca)]);}['toggleOnline'](){return this;}[_0xe3a83a(0x3e2)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe3a83a(0x447)](){var _0x54296b=_0xe3a83a;const _0x41579a=this[_0x54296b(0x3f2)][_0x54296b(0x321)](this['unitID']);return this[_0x54296b(0x3ca)][_0x54296b(0x18d)]({'from':_0x41579a,'to':0x0}),this['_injector'][_0x54296b(0x2e8)](exports['FetchingMissState'],this[_0x54296b(0x30c)],this[_0x54296b(0x19d)],null,[],null,[],this['_handler']);}},exports['SyncedState']=ae([w(0x3,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2dc)])),w(0x4,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0xe3a83a(0x1ed)]),w(0x7,a[_0xe3a83a(0x437)]),w(0x8,I[_0xe3a83a(0x484)]),w(0x9,a[_0xe3a83a(0x2db)](q))],exports[_0xe3a83a(0x471)]),exports[_0xe3a83a(0x19a)]=class extends ce{constructor(_0x299d54,_0x357fe8,_0x46fee7,_0x464ff6,_0x2d73ec,_0x49258c,_0x4c4ec0,_0x3ebddb,_0xed48fd,_0x5a68b7,_0x415273,_0x40c3ab,_0x23eb70,_0x98c1a5){var _0x3a9951=_0xe3a83a;super(_0x299d54,_0x357fe8,null,_0x46fee7,_0x464ff6,_0xed48fd,_0x23eb70,_0x49258c,_0x98c1a5),A(this,_0x3a9951(0x277),_0x3a9951(0x16d)),A(this,_0x3a9951(0x148),null),A(this,_0x3a9951(0x224),null),(this[_0x3a9951(0x450)]=_0x2d73ec,this[_0x3a9951(0x1c9)]=_0x4c4ec0,this[_0x3a9951(0x275)]=_0x3ebddb,this[_0x3a9951(0x316)]=_0x5a68b7,this['_transformService']=_0x415273,this[_0x3a9951(0x335)]=_0x40c3ab);}[_0xe3a83a(0x34f)](_0x5be9da){return this['_pendingMutations']['push'](_0x5be9da),this['_updateLocalCache'](),this;}[_0xe3a83a(0x488)](_0x2aa47c){var _0x20f5a3=_0xe3a83a;if(this['_checkMissing'](_0x2aa47c))return this[_0x20f5a3(0x29f)](),this[_0x20f5a3(0x450)][_0x20f5a3(0x2e8)](exports[_0x20f5a3(0x286)],this[_0x20f5a3(0x30c)],this[_0x20f5a3(0x19d)],null,this[_0x20f5a3(0x3cb)],null,[_0x2aa47c],this[_0x20f5a3(0x3ca)]);try{const _0x2145c0=this[_0x20f5a3(0x462)][_0x20f5a3(0x2d1)](_0x2aa47c,this[_0x20f5a3(0x3cb)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x2145c0)){const {c1Prime:_0x26932b,m2Prime:_0x31273e}=_0x2145c0;this['_executeRemoteChangeset'](_0x26932b);const _0x3b72f3=this[_0x20f5a3(0x450)][_0x20f5a3(0x2e8)](exports[_0x20f5a3(0x19a)],this[_0x20f5a3(0x30c)],this[_0x20f5a3(0x19d)],_0x31273e,this[_0x20f5a3(0x3ca)]);this[_0x20f5a3(0x29f)]();const _0x4b79d3=new Date()[_0x20f5a3(0x1c3)](),_0x29d761=this[_0x20f5a3(0x148)]?Math[_0x20f5a3(0x1a5)](this['_scheduleCompleteTimestamp']-_0x4b79d3,0x0):this[_0x20f5a3(0x278)]();return _0x3b72f3['_schedule'](_0x29d761),_0x3b72f3;}throw _0x2145c0[_0x20f5a3(0x467)];}catch(_0x3393cf){return this['_logService'][_0x20f5a3(0x467)](_0x3393cf),this[_0x20f5a3(0x139)](!0x1);}}[_0xe3a83a(0x10b)](){var _0x2a1e78=_0xe3a83a;throw new Error(_0x2a1e78(0x32e));}[_0xe3a83a(0x355)](){var _0x225048=_0xe3a83a;throw new Error(_0x225048(0x13f));}[_0xe3a83a(0x136)](){return this;}[_0xe3a83a(0x146)](){var _0x25abc3=_0xe3a83a;return this[_0x25abc3(0x29f)](),this[_0x25abc3(0x450)][_0x25abc3(0x2e8)](exports['OfflineState'],this['unitID'],this[_0x25abc3(0x19d)],null,this[_0x25abc3(0x3cb)],this[_0x25abc3(0x3ca)]);}[_0xe3a83a(0x2a0)](){return this;}[_0xe3a83a(0x237)](_0x515891){var _0x5992d2=_0xe3a83a;const _0x436385=_0x515891!=null?_0x515891:this[_0x5992d2(0x278)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5992d2(0x1c3)]()+_0x436385,this[_0x5992d2(0x224)]=setTimeout(()=>{var _0x3b3ef1=_0x5992d2;this[_0x3b3ef1(0x29f)]();let _0xdbcded=null;switch(this[_0x3b3ef1(0x19d)]){case J[_0x3b3ef1(0x13d)]:{_0xdbcded=Ke(this['_pendingMutations'],this[_0x3b3ef1(0x30c)],this[_0x3b3ef1(0x335)],this[_0x3b3ef1(0x3f2)],this['_memberService']);break;}case J[_0x3b3ef1(0x244)]:{this[_0x3b3ef1(0x3cb)][_0x3b3ef1(0x403)](_0x1f781c=>_0x1f781c['id']===ht['RichTextEditingMutation']['id'])?_0xdbcded=li(this[_0x3b3ef1(0x3cb)],this[_0x3b3ef1(0x30c)],this[_0x3b3ef1(0x335)],this[_0x3b3ef1(0x3f2)],this[_0x3b3ef1(0x1c9)]):_0xdbcded=Ke(this[_0x3b3ef1(0x3cb)],this[_0x3b3ef1(0x30c)],this['_univerInstanceService'],this[_0x3b3ef1(0x3f2)],this[_0x3b3ef1(0x1c9)]);break;}default:throw new Error(_0x3b3ef1(0x188)+this['type']+_0x3b3ef1(0x47a));}const {changeset:_0xde3464,pendingMutations:_0x484289}=_0xdbcded;this[_0x3b3ef1(0x3ca)][_0x3b3ef1(0x37d)](_0xde3464);const _0x2b91f4=_0x484289[_0x3b3ef1(0x1f9)]?this[_0x3b3ef1(0x450)][_0x3b3ef1(0x2e8)](exports['AwaitingWithPendingState'],this[_0x3b3ef1(0x30c)],this[_0x3b3ef1(0x19d)],_0xde3464,_0x484289,this['_handler'],void 0x0):this[_0x3b3ef1(0x450)][_0x3b3ef1(0x2e8)](exports[_0x3b3ef1(0x1e0)],this[_0x3b3ef1(0x30c)],this[_0x3b3ef1(0x19d)],_0xde3464,this[_0x3b3ef1(0x3ca)]);_0x2b91f4['_updateLocalCache'](),this[_0x3b3ef1(0x3ca)][_0x3b3ef1(0x320)](this,_0x2b91f4);},_0x436385);}[_0xe3a83a(0x278)](){var _0x29661d=_0xe3a83a,_0xaf784c;const _0x266c24=this[_0x29661d(0x316)][_0x29661d(0x1ce)](K);return(_0xaf784c=_0x266c24==null?void 0x0:_0x266c24[_0x29661d(0x16e)])!=null?_0xaf784c:xt;}[_0xe3a83a(0x3e2)](){var _0x569e74=_0xe3a83a;throw new Error(_0x569e74(0x137));}[_0xe3a83a(0x29f)](){var _0xda770a=_0xe3a83a;this[_0xda770a(0x224)]!=null&&(clearTimeout(this[_0xda770a(0x224)]),this[_0xda770a(0x224)]=null);}[_0xe3a83a(0x139)](_0x3e829d){var _0x116327=_0xe3a83a;return this[_0x116327(0x29f)](),this[_0x116327(0x450)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x116327(0x3cb)],this['_handler'],_0x3e829d);}},exports[_0xe3a83a(0x19a)]=ae([w(0x4,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),w(0x5,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2dc)])),w(0x6,a['Inject'](exports[_0xe3a83a(0x2e0)])),w(0x7,a[_0xe3a83a(0x437)]),w(0x8,a['ICommandService']),w(0x9,a[_0xe3a83a(0x33f)]),w(0xa,I[_0xe3a83a(0x484)]),w(0xb,a[_0xe3a83a(0x3ad)]),w(0xc,a['IUndoRedoService']),w(0xd,a['Optional'](q))],exports[_0xe3a83a(0x19a)]),exports[_0xe3a83a(0x1e0)]=class extends ce{constructor(_0x715ef,_0x2d6a2d,_0x1089ca,_0x3f511b,_0xf0aaa3,_0x373682,_0x15edc7,_0x313716,_0x5bc9a3,_0xe7c863,_0x5f500c){var _0x4f8495=_0xe3a83a;super(_0x715ef,_0x2d6a2d,_0x1089ca,[],_0x3f511b,_0x15edc7,_0xe7c863,_0x373682,_0x5f500c),A(this,_0x4f8495(0x277),'awaiting'),A(this,_0x4f8495(0x2ce),0x0),A(this,_0x4f8495(0x189)),A(this,'_sender'),(this['_injector']=_0xf0aaa3,this['_logService']=_0x313716,this[_0x4f8495(0x462)]=_0x5bc9a3);}['appendMutation'](_0x3f64c7){var _0x4f3380=_0xe3a83a;this[_0x4f3380(0x29f)]();const _0xddd62c=this['_injector'][_0x4f3380(0x2e8)](exports['AwaitingWithPendingState'],this[_0x4f3380(0x30c)],this[_0x4f3380(0x19d)],this[_0x4f3380(0x22c)],[_0x3f64c7],this['_handler'],this[_0x4f3380(0x189)]);return _0xddd62c[_0x4f3380(0x40d)](),_0xddd62c;}['onRemoteChangeset'](_0x38ddd9){var _0x1e5639=_0xe3a83a;if(this[_0x1e5639(0x1c6)](_0x38ddd9))return this[_0x1e5639(0x29f)](),this[_0x1e5639(0x450)]['createInstance'](exports[_0x1e5639(0x286)],this['unitID'],this[_0x1e5639(0x19d)],this[_0x1e5639(0x22c)],[],null,[_0x38ddd9],this['_handler']);try{const _0x32d2e3=this[_0x1e5639(0x462)]['transformChangesets']([_0x38ddd9],[this[_0x1e5639(0x22c)]],!0x1);if(I[_0x1e5639(0x41f)](_0x32d2e3)){const {c1Prime:_0x2303b9,c2Prime:_0x7d0818}=_0x32d2e3;this[_0x1e5639(0x3d5)](_0x2303b9[0x0]),_0x7d0818[0x0]['baseRev']=this[_0x1e5639(0x300)](),this[_0x1e5639(0x29f)]();const _0x348d84=this['_injector'][_0x1e5639(0x2e8)](exports[_0x1e5639(0x1e0)],this[_0x1e5639(0x30c)],this[_0x1e5639(0x19d)],_0x7d0818[0x0],this['_handler']);return _0x348d84[_0x1e5639(0x40d)](),_0x348d84;}return this[_0x1e5639(0x139)](!0x1);}catch(_0x3d043d){return this['_logService'][_0x1e5639(0x467)](_0x3d043d),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x3076a6){var _0x22571f=_0xe3a83a;this[_0x22571f(0x29f)]();const _0x187172=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x3076a6[_0x22571f(0x1ad)]<_0x187172-0x1)return this;if(this[_0x22571f(0x1c6)](_0x3076a6))return this['_injector'][_0x22571f(0x2e8)](exports['FetchingMissState'],this['unitID'],this[_0x22571f(0x19d)],null,[],this[_0x22571f(0x22c)],[],this[_0x22571f(0x3ca)]);this[_0x22571f(0x37f)]();const _0x41860a=this[_0x22571f(0x450)]['createInstance'](exports[_0x22571f(0x471)],this[_0x22571f(0x30c)],this[_0x22571f(0x19d)],this[_0x22571f(0x3ca)]);return _0x41860a[_0x22571f(0x40d)](),_0x41860a;}['onRemoteRej'](_0x58ce9b){var _0x4e6496=_0xe3a83a;return this[_0x4e6496(0x139)](!!(_0x58ce9b!=null&&_0x58ce9b['isPermissionRej']));}[_0xe3a83a(0x136)](_0x36e2e8){var _0x241e65=_0xe3a83a;return this['_resendTimeout']>Rt?this[_0x241e65(0x146)]():(this[_0x241e65(0x189)]=bt(this[_0x241e65(0x2ce)],{'timeout':this['_resendTimeout'],'reqId':_0x36e2e8[_0x241e65(0x36b)]}),this[_0x241e65(0x14b)]=this['_resendTimer'][_0x241e65(0x429)](({reqId:_0x46ded8,timeout:_0x25e9d8})=>{var _0x548f10=_0x241e65;this[_0x548f10(0x11d)](_0x46ded8,_0x25e9d8);}),this);}[_0xe3a83a(0x146)](){var _0x36ca59=_0xe3a83a;return this[_0x36ca59(0x29f)](),this[_0x36ca59(0x450)][_0x36ca59(0x2e8)](exports[_0x36ca59(0x285)],this[_0x36ca59(0x30c)],this[_0x36ca59(0x19d)],this[_0x36ca59(0x22c)],[],this[_0x36ca59(0x3ca)]);}[_0xe3a83a(0x2a0)](){return this;}[_0xe3a83a(0x3e2)](){var _0x29dbaa=_0xe3a83a;this['_handler'][_0x29dbaa(0x37d)](this['_awaitingChangeset']);}[_0xe3a83a(0x139)](_0x24628c){var _0x5dbfbf=_0xe3a83a;return this[_0x5dbfbf(0x29f)](),this[_0x5dbfbf(0x450)][_0x5dbfbf(0x2e8)](exports[_0x5dbfbf(0x31b)],this['unitID'],this[_0x5dbfbf(0x19d)],this['_awaitingChangeset'],[],this[_0x5dbfbf(0x3ca)],_0x24628c);}['_resendWithTimeout'](_0x4885df,_0x5486d3){var _0x1dc662=_0xe3a83a,_0xa63029;_0x4885df===((_0xa63029=this[_0x1dc662(0x22c)])==null?void 0x0:_0xa63029[_0x1dc662(0x36b)])&&(this[_0x1dc662(0x3e2)](),this['_resendTimeout']=_0x5486d3===0x0?0x3e8:_0x5486d3*0x2);}[_0xe3a83a(0x29f)](){var _0x20ac62=_0xe3a83a,_0x46bc37;(_0x46bc37=this[_0x20ac62(0x14b)])==null||_0x46bc37['unsubscribe'](),this[_0x20ac62(0x2ce)]=0x0;}},exports[_0xe3a83a(0x1e0)]=ae([w(0x4,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),w(0x5,a['Inject'](I[_0xe3a83a(0x2dc)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0xe3a83a(0x484)]),w(0x9,a[_0xe3a83a(0x2be)]),w(0xa,a['Optional'](q))],exports[_0xe3a83a(0x1e0)]),exports[_0xe3a83a(0x48d)]=class extends ce{constructor(_0xf89438,_0x18d0f8,_0x1cb464,_0xb7cb79,_0x4cb488,_0x3f3473,_0x29d31f,_0x44bc24,_0x500bf0,_0x52685d,_0x4405a3,_0x411756,_0x1284ab){var _0xcf691d=_0xe3a83a;super(_0xf89438,_0x18d0f8,_0x1cb464,_0xb7cb79,_0x4cb488,_0x500bf0,_0x411756,_0x44bc24,_0x1284ab),A(this,_0xcf691d(0x277),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,_0xcf691d(0x189)),A(this,_0xcf691d(0x14b)),(this[_0xcf691d(0x450)]=_0x29d31f,this[_0xcf691d(0x275)]=_0x52685d,this['_transformService']=_0x4405a3,this[_0xcf691d(0x3dd)]=_0x1284ab,_0x3f3473&&(this[_0xcf691d(0x189)]=_0x3f3473,this[_0xcf691d(0x14b)]=this[_0xcf691d(0x189)]['subscribe'](({reqId:_0x200744,timeout:_0x535861})=>{var _0x4c801e=_0xcf691d;this[_0x4c801e(0x11d)](_0x200744,_0x535861);})));}[_0xe3a83a(0x34f)](_0x3c28e4){var _0x2e89ef=_0xe3a83a;return this[_0x2e89ef(0x3cb)][_0x2e89ef(0x454)](_0x3c28e4),this;}[_0xe3a83a(0x488)](_0x440f05){var _0x234779=_0xe3a83a;if(this['_checkMissing'](_0x440f05))return this[_0x234779(0x29f)](),this[_0x234779(0x450)][_0x234779(0x2e8)](exports[_0x234779(0x286)],this[_0x234779(0x30c)],this[_0x234779(0x19d)],this[_0x234779(0x22c)],this[_0x234779(0x3cb)],null,[_0x440f05],this[_0x234779(0x3ca)]);try{const _0x4f4490=this['_transformService'][_0x234779(0x350)]([_0x440f05],[this[_0x234779(0x22c)]],!0x1);if(I[_0x234779(0x41f)](_0x4f4490)){const {c1Prime:_0x616f9e,c2Prime:_0x207f21}=_0x4f4490,_0xcbbd3c=this['_transformService'][_0x234779(0x2d1)](_0x616f9e[0x0],this[_0x234779(0x3cb)]);if(I['isTransformMutationsWithChangesetSuccess'](_0xcbbd3c)){const {c1Prime:_0x57c395,m2Prime:_0x3d9a44}=_0xcbbd3c;return this[_0x234779(0x3d5)](_0x57c395),_0x207f21[0x0][_0x234779(0x439)]=this[_0x234779(0x300)](),this[_0x234779(0x29f)](),this['_injector']['createInstance'](exports[_0x234779(0x48d)],this['unitID'],this['type'],_0x207f21[0x0],_0x3d9a44,this[_0x234779(0x3ca)],void 0x0);}throw _0xcbbd3c['error'];}throw _0x4f4490[_0x234779(0x467)];}catch(_0x3c5280){return this['_logService'][_0x234779(0x467)](_0x3c5280),this[_0x234779(0x139)](!0x1);}}[_0xe3a83a(0x10b)](_0x197922){var _0x567a4e=_0xe3a83a;if(this['_clearScheduledTask'](),this[_0x567a4e(0x1c6)](_0x197922))return this['_injector'][_0x567a4e(0x2e8)](exports[_0x567a4e(0x286)],this[_0x567a4e(0x30c)],this[_0x567a4e(0x19d)],null,this[_0x567a4e(0x3cb)],this[_0x567a4e(0x22c)],[],this['_handler']);this[_0x567a4e(0x37f)]();const _0x443e20=this[_0x567a4e(0x450)][_0x567a4e(0x2e8)](exports[_0x567a4e(0x19a)],this[_0x567a4e(0x30c)],this[_0x567a4e(0x19d)],this[_0x567a4e(0x3cb)],this[_0x567a4e(0x3ca)]);return _0x443e20[_0x567a4e(0x237)](),_0x443e20['_updateLocalCache'](),_0x443e20;}[_0xe3a83a(0x355)](_0x5d30d3){var _0x210c52=_0xe3a83a;return this['_onConflict'](!!(_0x5d30d3!=null&&_0x5d30d3[_0x210c52(0x329)]));}['onRemoteRetry'](_0x5c2733){var _0x2fef9a=_0xe3a83a;return this[_0x2fef9a(0x2ce)]>Rt?this['toggleOffline']():(this[_0x2fef9a(0x189)]=bt(this[_0x2fef9a(0x2ce)],{'timeout':this[_0x2fef9a(0x2ce)],'reqId':_0x5c2733['reqId']}),this['_sender']=this['_resendTimer'][_0x2fef9a(0x429)](({reqId:_0x440c24,timeout:_0xe84259})=>{this['_resendWithTimeout'](_0x440c24,_0xe84259);}),this);}[_0xe3a83a(0x146)](){var _0x2d3ce9=_0xe3a83a;return this[_0x2d3ce9(0x29f)](),this[_0x2d3ce9(0x450)][_0x2d3ce9(0x2e8)](exports[_0x2d3ce9(0x285)],this[_0x2d3ce9(0x30c)],this[_0x2d3ce9(0x19d)],this[_0x2d3ce9(0x22c)],this[_0x2d3ce9(0x3cb)],this['_handler']);}['toggleOnline'](){return this;}[_0xe3a83a(0x3e2)](){var _0x3ff3ed=_0xe3a83a;this['_handler']['onSendChangeset'](this[_0x3ff3ed(0x22c)]);}[_0xe3a83a(0x139)](_0x40e742){var _0x403123=_0xe3a83a;return this[_0x403123(0x29f)](),this[_0x403123(0x450)]['createInstance'](exports[_0x403123(0x31b)],this[_0x403123(0x30c)],this[_0x403123(0x19d)],null,this['_pendingMutations'],this[_0x403123(0x3ca)],_0x40e742);}[_0xe3a83a(0x11d)](_0xc17eb6,_0x46c386){var _0x138ca1=_0xe3a83a,_0x33a31c;_0xc17eb6===((_0x33a31c=this['_awaitingChangeset'])==null?void 0x0:_0x33a31c['reqId'])&&(this[_0x138ca1(0x3e2)](),this[_0x138ca1(0x2ce)]=_0x46c386===0x0?0x3e8:_0x46c386*0x2);}['_clearScheduledTask'](){var _0x509e6a=_0xe3a83a,_0x191170;(_0x191170=this[_0x509e6a(0x14b)])==null||_0x191170[_0x509e6a(0x430)](),this[_0x509e6a(0x2ce)]=0x0;}},exports[_0xe3a83a(0x48d)]=ae([w(0x6,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),w(0x7,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2dc)])),w(0x8,a['ICommandService']),w(0x9,a[_0xe3a83a(0x437)]),w(0xa,I['ITransformService']),w(0xb,a[_0xe3a83a(0x2be)]),w(0xc,a[_0xe3a83a(0x2db)](q))],exports['AwaitingWithPendingState']),exports[_0xe3a83a(0x31b)]=class extends ce{constructor(_0x1ce98c,_0x201ddd,_0x45441b,_0x341370,_0x1e754c,_0x590031=!0x1,_0x197784,_0x46c5ff,_0x34885b,_0x13055d,_0x47dae6,_0x49db05,_0x9c8f47){var _0x1ae1c6=_0xe3a83a;super(_0x1ce98c,_0x201ddd,_0x45441b,_0x341370,_0x1e754c,_0x46c5ff,_0x34885b,_0x13055d,_0x9c8f47),A(this,_0x1ae1c6(0x277),_0x1ae1c6(0x460)),(this['_isPermissionRej']=_0x590031,this['_permissionService']=_0x197784,this[_0x1ae1c6(0x206)]=_0x47dae6,this['_collaborationUIEventService']=_0x49db05,this[_0x1ae1c6(0x3dd)]=_0x9c8f47,this[_0x1ae1c6(0x124)](),this[_0x1ae1c6(0x368)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0xe3a83a(0x10b)](){return this;}['onRemoteRej'](){return this;}[_0xe3a83a(0x136)](){return this;}['toggleOffline'](){return this;}[_0xe3a83a(0x2a0)](){return this;}[_0xe3a83a(0x3e2)](){var _0x3e385d=_0xe3a83a;throw new Error(_0x3e385d(0x1b0));}[_0xe3a83a(0x368)](){var _0x3196a9=_0xe3a83a,_0x1ab818;(_0x1ab818=this[_0x3196a9(0x392)])==null||_0x1ab818[_0x3196a9(0x14d)](this[_0x3196a9(0x30c)],this['type'],null,[]);}[_0xe3a83a(0x124)](){var _0x45849e=_0xe3a83a;this[_0x45849e(0x196)]?this[_0x45849e(0x37b)][_0x45849e(0x34d)]({'id':Z['PERMISSION_DENIED']}):this[_0x45849e(0x37b)][_0x45849e(0x34d)]({'id':Z['CONFLICT']});}[_0xe3a83a(0x3b5)](){var _0x1e4a2c=_0xe3a83a;this[_0x1e4a2c(0x2b2)][_0x1e4a2c(0x47e)](new X['WorkbookEditablePermission'](this[_0x1e4a2c(0x30c)])['id'],!0x1);}},exports[_0xe3a83a(0x31b)]=ae([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a['ICommandService']),w(0x8,a[_0xe3a83a(0x2be)]),w(0x9,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2dc)])),w(0xa,a[_0xe3a83a(0x1e6)](a['LocaleService'])),w(0xb,a[_0xe3a83a(0x1e6)](ee)),w(0xc,a[_0xe3a83a(0x2db)](q))],exports[_0xe3a83a(0x31b)]),exports[_0xe3a83a(0x285)]=class extends ce{constructor(_0x17fc54,_0x8f1f7f,_0x3d9261,_0x23fa8b,_0x2cfade,_0x261ac2,_0x2ba4b0,_0x533d30,_0x5b480e,_0x3a2246){var _0x14e11b=_0xe3a83a;super(_0x17fc54,_0x8f1f7f,_0x3d9261,_0x23fa8b,_0x2cfade,_0x533d30,_0x5b480e,_0x2ba4b0,_0x3a2246),A(this,_0x14e11b(0x277),_0x14e11b(0x2f7)),this[_0x14e11b(0x450)]=_0x261ac2;}[_0xe3a83a(0x34f)](_0x57f797){var _0x1825af=_0xe3a83a;return this[_0x1825af(0x3cb)][_0x1825af(0x454)](_0x57f797),this['_updateLocalCache'](),this;}[_0xe3a83a(0x488)](_0x3d257f){var _0x3ccd0b=_0xe3a83a;throw new Error(_0x3ccd0b(0x2c7));}[_0xe3a83a(0x10b)](){var _0x59241d=_0xe3a83a;throw new Error(_0x59241d(0x29a));}[_0xe3a83a(0x355)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xe3a83a(0x146)](){return this;}['toggleOnline'](){var _0x453879=_0xe3a83a;const {_injector:_0x2f137b,_pendingMutations:_0x559789,_awaitingChangeset:_0x1ae9ad,unitID:_0x25b99a,_handler:_0x2d2b2a,type:_0xf3395e}=this,_0x1bd3b7=Ot(_0x2f137b,_0x25b99a,_0xf3395e,_0x1ae9ad,_0x559789,_0x2d2b2a);return _0x1bd3b7 instanceof exports['PendingState']?_0x1bd3b7[_0x453879(0x237)]():(_0x1bd3b7 instanceof exports['AwaitingWithPendingState']||_0x1bd3b7 instanceof exports[_0x453879(0x1e0)])&&_0x1bd3b7[_0x453879(0x3e2)](),_0x1bd3b7;}[_0xe3a83a(0x3e2)](){var _0x138044=_0xe3a83a;throw new Error(_0x138044(0x3e3));}},exports[_0xe3a83a(0x285)]=ae([w(0x5,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),w(0x6,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2dc)])),w(0x7,a[_0xe3a83a(0x1ed)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0xe3a83a(0x2db)](q))],exports[_0xe3a83a(0x285)]),exports[_0xe3a83a(0x286)]=class extends ce{constructor(_0x5c3a4c,_0x3620ae,_0x3cfde2,_0x29418a,_0x23229d,_0x629fa4,_0x18bf16,_0x152168,_0x2a4ba5,_0x3a5986,_0x4601a1,_0x2df7bf,_0x47f77c,_0x2ba139){var _0x2ed50f=_0xe3a83a;super(_0x5c3a4c,_0x3620ae,_0x3cfde2,_0x29418a,_0x18bf16,_0x4601a1,_0x2df7bf,_0x2a4ba5,_0x2ba139),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x23229d,this[_0x2ed50f(0x452)]=_0x629fa4,this[_0x2ed50f(0x450)]=_0x152168,this[_0x2ed50f(0x275)]=_0x3a5986,this[_0x2ed50f(0x462)]=_0x47f77c,this[_0x2ed50f(0x3dd)]=_0x2ba139);}[_0xe3a83a(0x443)](_0x1f3077){var _0x6ad889=_0xe3a83a;try{const _0x171e64=[..._0x1f3077,...this[_0x6ad889(0x452)]],_0x3d674=[this[_0x6ad889(0x22c)]||this[_0x6ad889(0x133)]][_0x6ad889(0x1fe)](_0xb9947d=>!!_0xb9947d);let _0xb793ed,_0x1006eb;if(_0x3d674[_0x6ad889(0x1f9)]){const _0xf2ece1=this[_0x6ad889(0x462)][_0x6ad889(0x350)](_0x171e64,_0x3d674,!0x1);if(!I[_0x6ad889(0x41f)](_0xf2ece1))throw _0xf2ece1[_0x6ad889(0x467)];_0xb793ed=_0xf2ece1[_0x6ad889(0x39e)],_0x1006eb=_0xf2ece1[_0x6ad889(0x2fe)];}else _0xb793ed=_0x171e64,_0x1006eb=[];let _0x56db43=this[_0x6ad889(0x3cb)];_0xb793ed[_0x6ad889(0x21b)](_0x56b6b7=>{var _0x57dedb=_0x6ad889;let _0x3a485b;if(_0x56db43[_0x57dedb(0x1f9)]){const _0x5ae8f4=this[_0x57dedb(0x462)][_0x57dedb(0x2d1)](_0x56b6b7,_0x56db43);if(!I['isTransformMutationsWithChangesetSuccess'](_0x5ae8f4))throw _0x5ae8f4[_0x57dedb(0x467)];_0x3a485b=_0x5ae8f4[_0x57dedb(0x39e)],_0x56db43=_0x5ae8f4[_0x57dedb(0x217)];}else _0x3a485b=_0x56b6b7;this[_0x57dedb(0x3d5)](_0x3a485b);}),this[_0x6ad889(0x133)]&&this[_0x6ad889(0x37f)](),this[_0x6ad889(0x22c)]&&_0x1006eb[_0x6ad889(0x1f9)]&&(_0x1006eb[0x0]['baseRev']=this[_0x6ad889(0x300)]());let _0x3038bd;if(this[_0x6ad889(0x22c)]&&_0x56db43[_0x6ad889(0x1f9)]!==0x0)_0x3038bd=this['_injector'][_0x6ad889(0x2e8)](exports[_0x6ad889(0x48d)],this[_0x6ad889(0x30c)],this['type'],_0x1006eb[0x0],_0x56db43,this[_0x6ad889(0x3ca)],void 0x0);else{if(this['_awaitingChangeset']&&_0x56db43[_0x6ad889(0x1f9)]===0x0)_0x1006eb[0x0][_0x6ad889(0x439)]=this[_0x6ad889(0x300)](),_0x3038bd=this[_0x6ad889(0x450)][_0x6ad889(0x2e8)](exports[_0x6ad889(0x1e0)],this[_0x6ad889(0x30c)],this[_0x6ad889(0x19d)],_0x1006eb[0x0],this[_0x6ad889(0x3ca)]);else{if(_0x56db43['length']!==0x0){const _0x332cc0=this[_0x6ad889(0x450)][_0x6ad889(0x2e8)](exports[_0x6ad889(0x19a)],this[_0x6ad889(0x30c)],this[_0x6ad889(0x19d)],_0x56db43,this[_0x6ad889(0x3ca)]);_0x332cc0[_0x6ad889(0x237)](),_0x3038bd=_0x332cc0;}else _0x3038bd=this[_0x6ad889(0x450)][_0x6ad889(0x2e8)](exports['SyncedState'],this[_0x6ad889(0x30c)],this[_0x6ad889(0x19d)],this[_0x6ad889(0x3ca)]);}}return _0x3038bd['_updateLocalCache'](),_0x3038bd;}catch(_0x4d4725){return this[_0x6ad889(0x275)][_0x6ad889(0x467)](_0x6ad889(0x401),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4d4725),this[_0x6ad889(0x450)]['createInstance'](exports[_0x6ad889(0x31b)],this[_0x6ad889(0x30c)],this['type'],this['_awaitingChangeset'],this[_0x6ad889(0x3cb)],this['_handler'],!0x1);}}[_0xe3a83a(0x3e2)](){var _0x2ff075=_0xe3a83a;throw new Error(_0x2ff075(0x24a));}[_0xe3a83a(0x34f)](_0x44ac61){var _0x449053=_0xe3a83a;return this['_pendingMutations'][_0x449053(0x454)](_0x44ac61),this;}['onRemoteChangeset'](_0x15902e){var _0x4fc2f4=_0xe3a83a;return this[_0x4fc2f4(0x452)][_0x4fc2f4(0x454)](_0x15902e),this;}[_0xe3a83a(0x10b)](_0x527fa9){var _0x3df524=_0xe3a83a;if(this[_0x3df524(0x22c)])return this['_acknowledgedAwaitingChangeset']=this[_0x3df524(0x22c)],this['_awaitingChangeset']=null,this;throw new Error(_0x3df524(0x143));}[_0xe3a83a(0x355)](_0x14c8b){var _0x1be269=_0xe3a83a;return this[_0x1be269(0x139)](!!(_0x14c8b!=null&&_0x14c8b[_0x1be269(0x329)]));}[_0xe3a83a(0x136)](){return this;}[_0xe3a83a(0x146)](){var _0x45e109=_0xe3a83a;return this[_0x45e109(0x450)][_0x45e109(0x2e8)](exports[_0x45e109(0x285)],this[_0x45e109(0x30c)],this[_0x45e109(0x19d)],this[_0x45e109(0x22c)],this[_0x45e109(0x3cb)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0x1de59b){var _0x3da224=_0xe3a83a;return this[_0x3da224(0x450)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],this[_0x3da224(0x22c)],this[_0x3da224(0x3cb)],this[_0x3da224(0x3ca)],_0x1de59b);}},exports[_0xe3a83a(0x286)]=ae([w(0x7,a['Inject'](a[_0xe3a83a(0x130)])),w(0x8,a['Inject'](I['RevisionService'])),w(0x9,a[_0xe3a83a(0x437)]),w(0xa,a[_0xe3a83a(0x1ed)]),w(0xb,a[_0xe3a83a(0x2be)]),w(0xc,I[_0xe3a83a(0x484)]),w(0xd,a['Optional'](q))],exports[_0xe3a83a(0x286)]);function Ot(_0x84514c,_0x2bc86d,_0x5ee317,_0x5f5283,_0x403bda,_0x226631){var _0x5ca58f=_0xe3a83a;return _0x5f5283&&_0x403bda[_0x5ca58f(0x1f9)]?_0x84514c[_0x5ca58f(0x2e8)](exports[_0x5ca58f(0x48d)],_0x2bc86d,_0x5ee317,_0x5f5283,_0x403bda,_0x226631,void 0x0):_0x5f5283?_0x84514c[_0x5ca58f(0x2e8)](exports[_0x5ca58f(0x1e0)],_0x2bc86d,_0x5ee317,_0x5f5283,_0x226631):_0x403bda[_0x5ca58f(0x1f9)]?_0x84514c[_0x5ca58f(0x2e8)](exports[_0x5ca58f(0x19a)],_0x2bc86d,_0x5ee317,_0x403bda,_0x226631):_0x84514c[_0x5ca58f(0x2e8)](exports[_0x5ca58f(0x471)],_0x2bc86d,_0x5ee317,_0x226631);}var vi=Object[_0xe3a83a(0x444)],Fe=(_0x3c5dc0,_0x54654d,_0x3e9f87,_0x240df5)=>{var _0x5eb890=_0xe3a83a;for(var _0x2927e5=_0x240df5>0x1?void 0x0:_0x240df5?vi(_0x54654d,_0x3e9f87):_0x54654d,_0x27dce6=_0x3c5dc0[_0x5eb890(0x1f9)]-0x1,_0x45588e;_0x27dce6>=0x0;_0x27dce6--)(_0x45588e=_0x3c5dc0[_0x27dce6])&&(_0x2927e5=_0x45588e(_0x2927e5)||_0x2927e5);return _0x2927e5;},j=(_0x26393c,_0x3b7bc4)=>(_0x5b5212,_0x46e0ee)=>_0x3b7bc4(_0x5b5212,_0x46e0ee,_0x26393c);exports[_0xe3a83a(0x360)]=class extends a[_0xe3a83a(0x3f0)]{constructor(_0xa89c5,_0x371c01,_0xf07849,_0xd57f36,_0x38fac8,_0x6dc5d1,_0x3dc915,_0x46b6f2,_0x1cdba6,_0x16184e,_0x110fcf,_0xf2b57,_0xc82429){var _0x1613c2=_0xe3a83a;super(),A(this,_0x1613c2(0x2de),new $[(_0x1613c2(0x11b))](null)),A(this,_0x1613c2(0x2e2),this['_state$'][_0x1613c2(0x486)]()),A(this,'_state'),A(this,_0x1613c2(0x13c),!0x1),A(this,'_changesetSessionId',''),A(this,_0x1613c2(0x341),0x0),A(this,_0x1613c2(0x24b),this[_0x1613c2(0x2e2)][_0x1613c2(0x337)]($['map'](_0x75b1bc=>_0x75b1bc?_0x75b1bc[_0x1613c2(0x277)]:Be[_0x1613c2(0x10d)]),$[_0x1613c2(0x304)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x1613c2(0x30c)]=_0xa89c5,this['session']=_0x371c01,this[_0x1613c2(0x127)]=_0xf07849,this[_0x1613c2(0x450)]=_0xd57f36,this[_0x1613c2(0x2d8)]=_0x38fac8,this[_0x1613c2(0x206)]=_0x6dc5d1,this['_revisionService']=_0x3dc915,this[_0x1613c2(0x2b9)]=_0x46b6f2,this[_0x1613c2(0x275)]=_0x1cdba6,this[_0x1613c2(0x42c)]=_0x16184e,this[_0x1613c2(0x2b2)]=_0x110fcf,this[_0x1613c2(0x186)]=_0xf2b57,this[_0x1613c2(0x392)]=_0xc82429);}get[_0xe3a83a(0x23e)](){var _0x44776b=_0xe3a83a;return this[_0x44776b(0x463)];}async[_0xe3a83a(0x230)](){var _0x5c1dc0=_0xe3a83a;if(this[_0x5c1dc0(0x23e)])throw new Error(_0x5c1dc0(0x3ab));await this['_init']();}[_0xe3a83a(0x258)](){var _0x5bdd61=_0xe3a83a;return this[_0x5bdd61(0x13c)]=!0x0,a['toDisposable'](()=>{var _0x4b8b2c=_0x5bdd61;this[_0x4b8b2c(0x13c)]=!0x1,this[_0x4b8b2c(0x238)]();});}[_0xe3a83a(0x317)](_0x10b87d){var _0x33be1b=_0xe3a83a;this[_0x33be1b(0x268)](_0x10b87d);}[_0xe3a83a(0x221)](_0x64415f){var _0x1b6fd0=_0xe3a83a;this[_0x1b6fd0(0x463)]=_0x64415f,this['_state$'][_0x1b6fd0(0x455)](_0x64415f);}async[_0xe3a83a(0x466)](){var _0x565b9a=_0xe3a83a,_0x5a1842;this[_0x565b9a(0x221)](await this[_0x565b9a(0x120)]()),this[_0x565b9a(0x186)]&&((_0x5a1842=this['_singleActiveUnitService'])==null||_0x5a1842[_0x565b9a(0x22b)](this[_0x565b9a(0x30c)]),this[_0x565b9a(0x440)](this['_singleActiveUnitService'][_0x565b9a(0x20a)](this[_0x565b9a(0x30c)])[_0x565b9a(0x429)](_0x17587f=>{var _0x4b6714=_0x565b9a;this[_0x4b6714(0x275)]['debug'](_0x4b6714(0x2d4),_0x4b6714(0x367),_0x17587f),_0x17587f===je['OTHER_CLIENTS_EDITING']?(this[_0x4b6714(0x2b9)][_0x4b6714(0x34d)]({'id':Z[_0x4b6714(0x31e)]}),this['_permissionService'][_0x4b6714(0x47e)](new X[(_0x4b6714(0x3b6))](this[_0x4b6714(0x30c)])['id'],!0x1),this[_0x4b6714(0x2b2)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x4b6714(0x47e)](new X[(_0x4b6714(0x3b6))](this[_0x4b6714(0x30c)])['id'],!0x0),this[_0x4b6714(0x2b2)][_0x4b6714(0x412)](!0x0));})));let _0x206f0b=!0x1;return this[_0x565b9a(0x440)](this[_0x565b9a(0x153)]['sessionStatus$'][_0x565b9a(0x429)](_0x49f963=>{var _0x537e03=_0x565b9a;_0x49f963===re[_0x537e03(0x1a1)]?this[_0x537e03(0x36c)](_0x206f0b):_0x49f963===re[_0x537e03(0x10d)]&&(_0x206f0b=!0x0,this['_toggleOffline']());})),this[_0x565b9a(0x440)](this[_0x565b9a(0x153)][_0x565b9a(0x2cb)][_0x565b9a(0x429)](_0xd2aee4=>{var _0x31edf3=_0x565b9a;try{switch(_0xd2aee4['eventID']){case I[_0x31edf3(0x199)][_0x31edf3(0x2ed)]:{this[_0x31edf3(0x284)](I['parseProtocolChangeset'](_0xd2aee4[_0x31edf3(0x2d3)]));break;}case I['CollaborationEvent'][_0x31edf3(0x25f)]:{this[_0x31edf3(0x48a)](_0xd2aee4['data']);break;}case I[_0x31edf3(0x199)][_0x31edf3(0x2f6)]:{this[_0x31edf3(0x283)]();break;}case I[_0x31edf3(0x199)][_0x31edf3(0x15e)]:{this[_0x31edf3(0x42f)](_0xd2aee4['data']);break;}case I['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x31edf3(0x2da)](_0xd2aee4[_0x31edf3(0x2d3)][_0x31edf3(0x198)][_0x31edf3(0x21e)](_0x4551a5=>I[_0x31edf3(0x41e)](_0x4551a5)));break;}case I[_0x31edf3(0x199)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x31edf3(0x199)][_0x31edf3(0x1d6)]:break;}}catch(_0x5053f1){throw console[_0x31edf3(0x467)]('Error\x20on\x20receiving\x20event',_0x5053f1),_0x5053f1;}})),this[_0x565b9a(0x463)];}['_unlockTransition'](){var _0x16346d=_0xe3a83a;this[_0x16346d(0x31c)]=!0x1;}[_0xe3a83a(0x431)](){var _0x3886fb=_0xe3a83a;if(this[_0x3886fb(0x31c)])throw new Error(_0x3886fb(0x3a8));this[_0x3886fb(0x31c)]=!0x0;}[_0xe3a83a(0x268)](_0x36c5f7){var _0x357483=_0xe3a83a;this[_0x357483(0x431)](),this[_0x357483(0x221)](this[_0x357483(0x463)]['appendMutation'](_0x36c5f7)),this[_0x357483(0x15b)]();}[_0xe3a83a(0x284)](_0x3f6e8a){var _0x518652=_0xe3a83a;if(!(_0x3f6e8a[_0x518652(0x1ad)]<=this[_0x518652(0x3f2)][_0x518652(0x321)](this[_0x518652(0x30c)]))){if(this[_0x518652(0x13c)]){this[_0x518652(0x351)][_0x518652(0x454)](_0x3f6e8a);return;}this[_0x518652(0x17e)](_0x3f6e8a);}}[_0xe3a83a(0x238)](){var _0x8b2c2f=_0xe3a83a;this['_remoteChangesetQueue'][_0x8b2c2f(0x21b)](_0x41dde4=>this[_0x8b2c2f(0x17e)](_0x41dde4)),this[_0x8b2c2f(0x351)]=[];}[_0xe3a83a(0x17e)](_0x341873){var _0x42a044=_0xe3a83a;const _0x5d5639=this[_0x42a044(0x2d8)][_0x42a044(0x1af)][_0x42a044(0x1ab)](this[_0x42a044(0x2d8)][_0x42a044(0x1af)][_0x42a044(0x3fa)]()[_0x42a044(0x3e5)])(_0x341873[_0x42a044(0x3b3)],null)||_0x341873[_0x42a044(0x3b3)],_0x2f3a6a={..._0x341873,'mutations':_0x5d5639};this[_0x42a044(0x431)](),this[_0x42a044(0x221)](this[_0x42a044(0x463)]['onRemoteChangeset'](_0x2f3a6a)),this[_0x42a044(0x15b)]();}[_0xe3a83a(0x48a)](_0x26346c){var _0x42a1a1=_0xe3a83a;this[_0x42a1a1(0x431)](),this['_updateState'](this['_state']['onRemoteAck'](_0x26346c)),this['_unlockTransition']();}[_0xe3a83a(0x283)](_0x5253cf){var _0xe9f005=_0xe3a83a;this[_0xe9f005(0x431)](),this['_updateState'](this[_0xe9f005(0x463)][_0xe9f005(0x355)](_0x5253cf)),this[_0xe9f005(0x15b)]();}['_onRemoteRetry'](_0x739985){var _0x9fff81=_0xe3a83a;this[_0x9fff81(0x431)](),this[_0x9fff81(0x221)](this[_0x9fff81(0x463)]['onRemoteRetry'](_0x739985)),this['_unlockTransition']();}[_0xe3a83a(0x2da)](_0x1b38bb){var _0x210e47=_0xe3a83a;if(!(this[_0x210e47(0x463)]instanceof exports[_0x210e47(0x286)]))throw new TypeError(_0x210e47(0x210));const _0xb98e66=_0x1b38bb[_0x210e47(0x21e)](_0x59b260=>{var _0x3f9a4e=_0x210e47;const _0x60ae8e=this[_0x3f9a4e(0x2d8)][_0x3f9a4e(0x1af)]['fetchThroughInterceptors'](this[_0x3f9a4e(0x2d8)][_0x3f9a4e(0x1af)]['getInterceptPoints']()[_0x3f9a4e(0x3e5)])(_0x59b260[_0x3f9a4e(0x3b3)],null)||_0x59b260[_0x3f9a4e(0x3b3)];return{..._0x59b260,'mutations':_0x60ae8e};});this[_0x210e47(0x431)](),this[_0x210e47(0x221)](this[_0x210e47(0x463)]['onMissedChangesetFetched'](_0xb98e66)),this[_0x210e47(0x15b)]();}[_0xe3a83a(0x1cb)](){var _0x2d2eca=_0xe3a83a;this['_lockTransition'](),this[_0x2d2eca(0x221)](this['_state'][_0x2d2eca(0x146)]()),this[_0x2d2eca(0x15b)]();}[_0xe3a83a(0x36c)](_0x5f59d8=!0x1){var _0x1bbdfe=_0xe3a83a;this['_lockTransition'](),this[_0x1bbdfe(0x221)](this[_0x1bbdfe(0x463)]['toggleOnline']()),this[_0x1bbdfe(0x15b)]();const _0x790725=this[_0x1bbdfe(0x463)];_0x5f59d8&&_0x790725 instanceof exports[_0x1bbdfe(0x471)]&&(this[_0x1bbdfe(0x431)](),this[_0x1bbdfe(0x221)](_0x790725[_0x1bbdfe(0x447)]()),this[_0x1bbdfe(0x15b)]());}async[_0xe3a83a(0x120)](){return new Promise(_0x36889d=>{var _0x4a6c8c=_0x1706;this[_0x4a6c8c(0x153)][_0x4a6c8c(0x379)][_0x4a6c8c(0x337)]($[_0x4a6c8c(0x3d8)](0x1))[_0x4a6c8c(0x429)](async _0x2bb872=>{var _0x477935=_0x4a6c8c;_0x36889d(await this[_0x477935(0x1b3)](_0x2bb872===re['ONLINE']));});});}[_0xe3a83a(0x3f3)](){const _0x5ec757=this['unitID'];return{'onStateChange':(_0x40a74b,_0x221b70)=>{var _0x3dd02b=_0x1706;if(_0x40a74b!==this[_0x3dd02b(0x463)])throw new Error(_0x3dd02b(0x28a)+_0x40a74b[_0x3dd02b(0x277)]+'\x0aAfter:\x20'+_0x221b70[_0x3dd02b(0x277)]+_0x3dd02b(0x45d)+this[_0x3dd02b(0x463)]['status']);this[_0x3dd02b(0x221)](_0x221b70);},'onSendChangeset':_0x5b19a9=>{var _0x323607=_0x1706;_0x5b19a9[_0x323607(0x249)]||(_0x5b19a9[_0x323607(0x249)]=this[_0x323607(0x192)],_0x5b19a9[_0x323607(0x36b)]=++this[_0x323607(0x341)]);const _0x5ab7bc={'eventID':I[_0x323607(0x199)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x5b19a9['unitID'],'unitType':this[_0x323607(0x127)],'changeset':_0x5b19a9,'memberID':this[_0x323607(0x153)][_0x323607(0x14f)]()}};this[_0x323607(0x153)]['send'](_0x5ab7bc,this[_0x323607(0x30c)]);},'onMissingChangesets':({from:_0x39c24c,to:_0x508cf4})=>{var _0xaacb49=_0x1706;this['_logService'][_0xaacb49(0x3ce)](_0xaacb49(0x2d4),_0xaacb49(0x12e)+_0x39c24c+_0xaacb49(0x11a)+_0x508cf4);const _0x16b38c={'eventID':I[_0xaacb49(0x199)]['FETCH_MISSING'],'data':{'unitID':_0x5ec757,'unitType':this[_0xaacb49(0x127)],'from':_0x39c24c,'to':_0x508cf4}};this[_0xaacb49(0x153)][_0xaacb49(0x3d2)](_0x16b38c,this['unitID']);}};}async['_createInitialStateImpl'](_0x958180){var _0xf022bb=_0xe3a83a,_0x44b0e8,_0x4b693b,_0x129f6a;const _0x290963=await((_0x44b0e8=this[_0xf022bb(0x392)])==null?void 0x0:_0x44b0e8[_0xf022bb(0x1f8)](this['unitID'])),_0x430da8=(_0x4b693b=_0x290963==null?void 0x0:_0x290963[_0xf022bb(0x3b3)])!=null?_0x4b693b:[],_0x3ce671=(_0x129f6a=_0x290963==null?void 0x0:_0x290963['awaitingChangeset'])!=null?_0x129f6a:null,_0x44a62e=!!(_0x3ce671!=null&&_0x3ce671[_0xf022bb(0x249)])&&!!(_0x3ce671!=null&&_0x3ce671[_0xf022bb(0x36b)]);this[_0xf022bb(0x192)]=_0x44a62e?_0x3ce671[_0xf022bb(0x249)]:I[_0xf022bb(0x303)](),this[_0xf022bb(0x341)]=_0x44a62e?_0x3ce671[_0xf022bb(0x36b)]:0x0;const _0x41cf6c=this[_0xf022bb(0x30c)];try{this[_0xf022bb(0x19f)](_0x3ce671,_0x430da8);}catch(_0x4bbb86){this[_0xf022bb(0x275)]['error'](_0x4bbb86);}const _0x340845=this[_0xf022bb(0x3f3)]();if(_0x958180){const _0xc3e57f=Ot(this['_injector'],_0x41cf6c,this['_type'],_0x3ce671,_0x430da8,_0x340845);return _0xc3e57f instanceof exports[_0xf022bb(0x19a)]?_0xc3e57f['_schedule']():(_0xc3e57f instanceof exports[_0xf022bb(0x48d)]||_0xc3e57f instanceof exports[_0xf022bb(0x1e0)])&&_0xc3e57f[_0xf022bb(0x3e2)](),_0xc3e57f;}return this['_injector'][_0xf022bb(0x2e8)](exports[_0xf022bb(0x285)],_0x41cf6c,this[_0xf022bb(0x127)],_0x3ce671,_0x430da8,_0x340845);}[_0xe3a83a(0x19f)](_0x16aa72,_0x2ab356){var _0x5f2a5e=_0xe3a83a,_0x5d0888,_0x328a3f;const _0x31f83b=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x5f2a5e(0x2d8)][_0x5f2a5e(0x1af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5d0888=_0x31f83b((_0x16aa72==null?void 0x0:_0x16aa72[_0x5f2a5e(0x3b3)])||[],null))==null||_0x5d0888['forEach'](_0x30cb2e=>this[_0x5f2a5e(0x42c)][_0x5f2a5e(0x34e)](_0x30cb2e['id'],_0x30cb2e[_0x5f2a5e(0x256)])),(_0x328a3f=_0x31f83b(_0x2ab356||[],null))==null||_0x328a3f['forEach'](_0x56b825=>this[_0x5f2a5e(0x42c)][_0x5f2a5e(0x34e)](_0x56b825['id'],_0x56b825['params']));}},exports[_0xe3a83a(0x360)]=Fe([j(0x3,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),j(0x4,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2b4)])),j(0x5,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x117)])),j(0x6,a['Inject'](I[_0xe3a83a(0x2dc)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0xe3a83a(0x437)]),j(0x9,a[_0xe3a83a(0x1ed)]),j(0xa,a['IPermissionService']),j(0xb,a[_0xe3a83a(0x2db)](de)),j(0xc,a[_0xe3a83a(0x2db)](q))],exports[_0xe3a83a(0x360)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x31451f,_0x20bd62,_0x256722,_0x52b008,_0x1c3be4,_0x15423f,_0x1a8586,_0x115a38,_0x2e6ccf,_0x4527aa,_0x30e3c5,_0x284678,_0x5e9158){var _0x44a998=_0xe3a83a;super(_0x31451f,_0x256722,_0x20bd62,_0x52b008,_0x1c3be4,_0x15423f,_0x1a8586,_0x115a38,_0x2e6ccf,_0x4527aa,_0x30e3c5,_0x284678,_0x5e9158),A(this,_0x44a998(0x13e),null),(this[_0x44a998(0x30c)]=_0x31451f,this[_0x44a998(0x19d)]=_0x20bd62);}[_0xe3a83a(0x28e)](_0x13f87a){this['_handlerCallback']=_0x13f87a;}[_0xe3a83a(0x242)](){var _0x4c819d=_0xe3a83a;this[_0x4c819d(0x13e)]=null,super[_0x4c819d(0x242)]();}['_createHandler'](){var _0x56e966=_0xe3a83a;const _0x45d2df=super[_0x56e966(0x3f3)]();return _0x45d2df[_0x56e966(0x13a)]=_0xd43641=>{var _0x4bd804=_0x56e966,_0x1b101d,_0x318bed;return(_0x318bed=(_0x1b101d=this[_0x4bd804(0x13e)])==null?void 0x0:_0x1b101d[_0x4bd804(0x13a)])==null?void 0x0:_0x318bed[_0x4bd804(0x1ff)](_0x1b101d,_0xd43641);},_0x45d2df[_0x56e966(0x2ba)]=_0xda0185=>{var _0x4ece04=_0x56e966,_0x23526d,_0x2e7fdd;return(_0x2e7fdd=(_0x23526d=this[_0x4ece04(0x13e)])==null?void 0x0:_0x23526d[_0x4ece04(0x2ba)])==null?void 0x0:_0x2e7fdd['call'](_0x23526d,_0xda0185);},_0x45d2df[_0x56e966(0x11c)]=_0x1d8081=>{var _0x28521e=_0x56e966,_0x2b21db,_0x398c01;return(_0x398c01=(_0x2b21db=this[_0x28521e(0x13e)])==null?void 0x0:_0x2b21db[_0x28521e(0x11c)])==null?void 0x0:_0x398c01[_0x28521e(0x1ff)](_0x2b21db,_0x1d8081);},_0x45d2df[_0x56e966(0x26c)]=_0x75e384=>{var _0x425be2=_0x56e966,_0x27e696,_0x151c94;return(_0x151c94=(_0x27e696=this[_0x425be2(0x13e)])==null?void 0x0:_0x27e696['onSyncEditingCollabCursor'])==null?void 0x0:_0x151c94['call'](_0x27e696,_0x75e384);},_0x45d2df[_0x56e966(0x31d)]=_0x489fdb=>{var _0x2173a9=_0x56e966,_0x214bf2,_0xdc4600,_0xd306cd;if(!((_0x214bf2=this[_0x2173a9(0x13e)])!=null&&_0x214bf2[_0x2173a9(0x31d)]))throw new Error(_0x2173a9(0x3b7));return(_0xd306cd=(_0xdc4600=this[_0x2173a9(0x13e)])==null?void 0x0:_0xdc4600[_0x2173a9(0x31d)])==null?void 0x0:_0xd306cd[_0x2173a9(0x1ff)](_0xdc4600,_0x489fdb);},_0x45d2df[_0x56e966(0x16f)]=_0x3615e0=>{var _0x4df22a=_0x56e966,_0x4811ba,_0x1792a4,_0x194ac2;if(!((_0x4811ba=this[_0x4df22a(0x13e)])!=null&&_0x4811ba[_0x4df22a(0x16f)]))throw new Error(_0x4df22a(0x309));return(_0x194ac2=(_0x1792a4=this[_0x4df22a(0x13e)])==null?void 0x0:_0x1792a4['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x194ac2[_0x4df22a(0x1ff)](_0x1792a4,_0x3615e0);},_0x45d2df;}async[_0xe3a83a(0x466)](){var _0x1f438f=_0xe3a83a;const _0x5f0607=await super[_0x1f438f(0x466)]();return this['disposeWithMe'](this[_0x1f438f(0x42c)]['onCommandExecuted']((_0x512992,_0x127c4d)=>{var _0x5943ed=_0x1f438f;if(_0x512992[_0x5943ed(0x19d)]!==a[_0x5943ed(0x369)][_0x5943ed(0x1df)]||_0x127c4d!=null&&_0x127c4d[_0x5943ed(0x156)]||_0x127c4d!=null&&_0x127c4d['onlyLocal']||_0x512992['id']===ht[_0x5943ed(0x24d)]['id'])return;const _0x4a7ee3=_0x512992[_0x5943ed(0x256)];if((_0x4a7ee3==null?void 0x0:_0x4a7ee3[_0x5943ed(0x2c9)])!==this[_0x5943ed(0x30c)])return;const _0x83b6f2=_0x512992,_0x57d602=this[_0x5943ed(0x2d8)][_0x5943ed(0x1af)][_0x5943ed(0x1ab)](this[_0x5943ed(0x2d8)]['interceptor'][_0x5943ed(0x3fa)]()[_0x5943ed(0x28d)])([_0x83b6f2],null)||[_0x83b6f2];this[_0x5943ed(0x268)](_0x57d602[0x0]);})),_0x5f0607;}},exports[_0xe3a83a(0x408)]=Fe([j(0x3,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),j(0x4,a[_0xe3a83a(0x1e6)](I['CompressMutationService'])),j(0x5,a['Inject'](a[_0xe3a83a(0x117)])),j(0x6,a[_0xe3a83a(0x1e6)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0xe3a83a(0x2db)](de)),j(0xc,a['Optional'](q))],exports[_0xe3a83a(0x408)]),exports['SheetCollaborationEntity']=class extends exports[_0xe3a83a(0x360)]{constructor(_0x5a4c64,_0x5528e2,_0x3896a3,_0x51ea2b,_0x2accfb,_0x25e406,_0x399eeb,_0x309c54,_0x557eb8,_0x31b780,_0x285fe8,_0x589553,_0x4214ec,_0x11e37f){var _0x3190cb=_0xe3a83a;super(_0x5a4c64,_0x3896a3,_0x5528e2,_0x51ea2b,_0x2accfb,_0x25e406,_0x399eeb,_0x557eb8,_0x31b780,_0x285fe8,_0x589553,_0x4214ec,_0x11e37f),this[_0x3190cb(0x30c)]=_0x5a4c64,this['type']=_0x5528e2,this[_0x3190cb(0x267)]=_0x309c54;}['_createHandler'](){var _0x14eeb6=_0xe3a83a;const _0x310dc5=super['_createHandler']();return _0x310dc5[_0x14eeb6(0x11c)]=_0x4bd6fc=>this['_sheetTransformSelectionsService'][_0x14eeb6(0x12f)](_0x4bd6fc),_0x310dc5;}async[_0xe3a83a(0x466)](){var _0x3a2590=_0xe3a83a;const _0x49f257=await super[_0x3a2590(0x466)]();return this['disposeWithMe'](this[_0x3a2590(0x42c)][_0x3a2590(0x314)]((_0x36d494,_0x1190fa)=>{var _0x3587ed=_0x3a2590;if(_0x36d494['type']!==a['CommandType'][_0x3587ed(0x1df)]||_0x1190fa!=null&&_0x1190fa[_0x3587ed(0x156)]||_0x1190fa!=null&&_0x1190fa[_0x3587ed(0x18e)])return;const _0x1d7ef4=_0x36d494[_0x3587ed(0x256)];if((_0x1d7ef4==null?void 0x0:_0x1d7ef4[_0x3587ed(0x2c9)])!==this[_0x3587ed(0x30c)])return;const _0x23bc8f=_0x36d494,_0x5eb0bd=this[_0x3587ed(0x2d8)][_0x3587ed(0x1af)][_0x3587ed(0x1ab)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x3587ed(0x28d)])([_0x23bc8f],null)||[_0x23bc8f];this[_0x3587ed(0x268)](_0x5eb0bd[0x0]);})),_0x49f257;}},exports[_0xe3a83a(0x216)]=Fe([j(0x3,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),j(0x4,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x2b4)])),j(0x5,a['Inject'](a[_0xe3a83a(0x117)])),j(0x6,a[_0xe3a83a(0x1e6)](I['RevisionService'])),j(0x7,a[_0xe3a83a(0x1e6)](exports[_0xe3a83a(0x3d7)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0xe3a83a(0x437)]),j(0xa,a['ICommandService']),j(0xb,a['IPermissionService']),j(0xc,a[_0xe3a83a(0x2db)](de)),j(0xd,a[_0xe3a83a(0x2db)](q))],exports['SheetCollaborationEntity']);var Si=Object[_0xe3a83a(0x444)],fi=(_0x592193,_0x41f09e,_0x223e9c,_0x5982f6)=>{var _0xd89422=_0xe3a83a;for(var _0x106958=_0x5982f6>0x1?void 0x0:_0x5982f6?Si(_0x41f09e,_0x223e9c):_0x41f09e,_0x2347ab=_0x592193[_0xd89422(0x1f9)]-0x1,_0x2a919c;_0x2347ab>=0x0;_0x2347ab--)(_0x2a919c=_0x592193[_0x2347ab])&&(_0x106958=_0x2a919c(_0x106958)||_0x106958);return _0x106958;},Se=(_0x406c44,_0x1c68b6)=>(_0x524339,_0x55a4d9)=>_0x1c68b6(_0x524339,_0x55a4d9,_0x406c44);exports[_0xe3a83a(0x280)]=class extends a[_0xe3a83a(0x3f0)]{constructor(_0xf443d8,_0x26fa65,_0x6bffd,_0x541fae){var _0xf0a873=_0xe3a83a,_0x438033;super(),A(this,'_entities',new Map()),A(this,_0xf0a873(0x38c),new $[(_0xf0a873(0x2c4))]()),A(this,_0xf0a873(0x35c),this[_0xf0a873(0x38c)][_0xf0a873(0x486)]()),(this[_0xf0a873(0x450)]=_0xf443d8,this['_collabSessionService']=_0x26fa65,this[_0xf0a873(0x316)]=_0x6bffd,this[_0xf0a873(0x335)]=_0x541fae,((_0x438033=this[_0xf0a873(0x316)]['getConfig'](K))==null?void 0x0:_0x438033[_0xf0a873(0x211)])!==!0x1&&this[_0xf0a873(0x466)]());}['dispose'](){var _0x4af34a=_0xe3a83a;super['dispose'](),this[_0x4af34a(0x322)][_0x4af34a(0x21b)](_0x479f03=>_0x479f03[_0x4af34a(0x242)]()),this[_0x4af34a(0x322)]['clear']();}[_0xe3a83a(0x342)](_0x1f41ff){var _0x406615=_0xe3a83a,_0x488f2b;return(_0x488f2b=this[_0x406615(0x322)][_0x406615(0x10f)](_0x1f41ff))!=null?_0x488f2b:null;}[_0xe3a83a(0x2d7)](_0x35f650){var _0x3b3d25=_0xe3a83a;const _0x1c77d0=this[_0x3b3d25(0x342)](_0x35f650);return _0x1c77d0?$['of'](_0x1c77d0):this[_0x3b3d25(0x38c)]['pipe'](V[_0x3b3d25(0x1fe)](_0x294547=>_0x294547['unitID']===_0x35f650));}[_0xe3a83a(0x420)](_0x43b731){var _0x4dae02=_0xe3a83a;return $[_0x4dae02(0x21a)](this[_0x4dae02(0x2d7)](_0x43b731)[_0x4dae02(0x337)](V['map'](()=>{})));}[_0xe3a83a(0x466)](){var _0x22bcb5=_0xe3a83a;this[_0x22bcb5(0x335)][_0x22bcb5(0x3da)](a[_0x22bcb5(0x18a)]['UNIVER_SHEET'])[_0x22bcb5(0x337)]($[_0x22bcb5(0x2f0)](this[_0x22bcb5(0x3ea)]),V[_0x22bcb5(0x253)](0x10))[_0x22bcb5(0x429)](async _0x4a83e6=>{var _0x460d6a=_0x22bcb5;const _0x3ca753=_0x4a83e6['getUnitId'](),_0x4d27ff=await this['_startCollaboration'](_0x3ca753,J['UNIVER_SHEET']);this[_0x460d6a(0x322)][_0x460d6a(0x289)](_0x3ca753,_0x4d27ff);}),this[_0x22bcb5(0x335)][_0x22bcb5(0x3da)](a[_0x22bcb5(0x18a)][_0x22bcb5(0x244)])[_0x22bcb5(0x337)]($[_0x22bcb5(0x2f0)](this[_0x22bcb5(0x3ea)]),V[_0x22bcb5(0x253)](0x10))[_0x22bcb5(0x337)](V[_0x22bcb5(0x1fe)](_0x36d8fd=>!_0x36d8fd[_0x22bcb5(0x35b)]()[_0x22bcb5(0x232)]('__')))[_0x22bcb5(0x429)](async _0x2db7b5=>{var _0x3e85e9=_0x22bcb5;const _0x2cfeb8=_0x2db7b5[_0x3e85e9(0x35b)](),_0x2971ca=await this[_0x3e85e9(0x220)](_0x2cfeb8,J[_0x3e85e9(0x244)]);this[_0x3e85e9(0x322)][_0x3e85e9(0x289)](_0x2cfeb8,_0x2971ca);}),$[_0x22bcb5(0x349)](this[_0x22bcb5(0x335)][_0x22bcb5(0x35d)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x22bcb5(0x335)][_0x22bcb5(0x35d)](a[_0x22bcb5(0x18a)][_0x22bcb5(0x244)]))['pipe']($[_0x22bcb5(0x2f0)](this[_0x22bcb5(0x3ea)]))[_0x22bcb5(0x429)](_0x43d010=>{var _0x4f6e47=_0x22bcb5;const _0x21a649=_0x43d010[_0x4f6e47(0x35b)](),_0x26c3e1=this['_entities'][_0x4f6e47(0x10f)](_0x21a649);_0x26c3e1&&(_0x26c3e1['dispose'](),this['_entities'][_0x4f6e47(0x48f)](_0x21a649));});}async[_0xe3a83a(0x220)](_0x391b1a,_0x49a3f0){var _0x498279=_0xe3a83a;const _0x29a336=await this['_collabSessionService'][_0x498279(0x1e1)](_0x391b1a),_0x4f7d5b=this[_0x498279(0x450)][_0x498279(0x2e8)](this['_getCtorByUniverType'](_0x49a3f0),_0x391b1a,_0x49a3f0,_0x29a336);return await _0x4f7d5b[_0x498279(0x230)](),this['_entityInit$'][_0x498279(0x455)](_0x4f7d5b),_0x4f7d5b;}[_0xe3a83a(0x1bb)](_0x452120){var _0x4387b2=_0xe3a83a;switch(_0x452120){case J[_0x4387b2(0x244)]:return exports[_0x4387b2(0x408)];case J[_0x4387b2(0x13d)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x452120);}}},exports[_0xe3a83a(0x280)]=fi([Se(0x0,a['Inject'](a[_0xe3a83a(0x130)])),Se(0x1,a[_0xe3a83a(0x1e6)](exports[_0xe3a83a(0x17f)])),Se(0x2,a[_0xe3a83a(0x33f)]),Se(0x3,a[_0xe3a83a(0x3ad)])],exports[_0xe3a83a(0x280)]);var pi=Object['getOwnPropertyDescriptor'],Ii=(_0x875169,_0xd9b3cc,_0x19c59c,_0x407c6b)=>{var _0x374229=_0xe3a83a;for(var _0x2f465c=_0x407c6b>0x1?void 0x0:_0x407c6b?pi(_0xd9b3cc,_0x19c59c):_0xd9b3cc,_0x2e277b=_0x875169[_0x374229(0x1f9)]-0x1,_0x2e40d9;_0x2e277b>=0x0;_0x2e277b--)(_0x2e40d9=_0x875169[_0x2e277b])&&(_0x2f465c=_0x2e40d9(_0x2f465c)||_0x2f465c);return _0x2f465c;},Ye=(_0x4105af,_0x5e9946)=>(_0x8a8a1e,_0x409438)=>_0x5e9946(_0x8a8a1e,_0x409438,_0x4105af);const gi='DEFAULT_FILE_NAME',Ei=_0xe3a83a(0x3b4);let xe=class extends a['Disposable']{constructor(_0x33c8ff,_0x1870f4){var _0x4df533=_0xe3a83a;super(),this[_0x4df533(0x335)]=_0x33c8ff,this[_0x4df533(0x316)]=_0x1870f4,this[_0x4df533(0x466)]();}['_init'](){var _0x2af592=_0xe3a83a;this[_0x2af592(0x440)](this[_0x2af592(0x335)][_0x2af592(0x347)]['subscribe'](()=>{var _0x1b1dc4=_0x2af592,_0x5cfe23;const _0xaa8479=this['_univerInstanceService'][_0x1b1dc4(0x39b)]();let _0x59178e=(_0x5cfe23=this[_0x1b1dc4(0x316)][_0x1b1dc4(0x1ce)](gi))!=null?_0x5cfe23:Ei;_0xaa8479 instanceof a[_0x1b1dc4(0x3a6)]&&(_0x59178e=_0xaa8479[_0x1b1dc4(0x41a)]),document[_0x1b1dc4(0x2f8)]=_0x59178e;}));}};xe=Ii([Ye(0x0,a[_0xe3a83a(0x3ad)]),Ye(0x1,a[_0xe3a83a(0x33f)])],xe);var mi=Object[_0xe3a83a(0x444)],Ci=(_0x20eb0d,_0x5686b2,_0x180194,_0x4e4ad4)=>{var _0x508dd0=_0xe3a83a;for(var _0xceda16=_0x4e4ad4>0x1?void 0x0:_0x4e4ad4?mi(_0x5686b2,_0x180194):_0x5686b2,_0x3e25d0=_0x20eb0d[_0x508dd0(0x1f9)]-0x1,_0x2f997a;_0x3e25d0>=0x0;_0x3e25d0--)(_0x2f997a=_0x20eb0d[_0x3e25d0])&&(_0xceda16=_0x2f997a(_0xceda16)||_0xceda16);return _0xceda16;},Ae=(_0x3058be,_0x3836aa)=>(_0x562088,_0x1d56c8)=>_0x3836aa(_0x562088,_0x1d56c8,_0x3058be);let ye=class{constructor(_0x5e67c1,_0x13a219,_0x2790ed){var _0x3ac0e4=_0xe3a83a;this[_0x3ac0e4(0x316)]=_0x5e67c1,this[_0x3ac0e4(0x147)]=_0x13a219,this[_0x3ac0e4(0x24f)]=_0x2790ed,this[_0x3ac0e4(0x230)]();}[_0xe3a83a(0x230)](){var _0x29a86a=_0xe3a83a;this[_0x29a86a(0x147)][_0x29a86a(0x125)]({'priority':0x1,'interceptor':(_0x2f89bf,_0x39f115)=>_0x39f115(_0x2f89bf)['pipe']($[_0x29a86a(0x138)](async _0x2061a3=>{var _0x10a46d=_0x29a86a;const _0xe0890f=_0x2061a3;if(_0xe0890f['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x10a46d(0x472)](this[_0x10a46d(0x24f)]['t'](_0x10a46d(0x1ba)))){const _0x3f87da=window[_0x10a46d(0x456)](window[_0x10a46d(0x362)][_0x10a46d(0x279)]);window['location']['href']=this[_0x10a46d(0x208)]()+'?url='+_0x3f87da;}}return _0xe0890f;}))});}['_getLoginPath'](){var _0x1498cb=_0xe3a83a,_0x5c1039,_0x43b498;const _0x2095b4=this[_0x1498cb(0x316)][_0x1498cb(0x1ce)](It),_0x54c2ba=this[_0x1498cb(0x316)][_0x1498cb(0x1ce)](K);return(_0x43b498=(_0x5c1039=_0x54c2ba==null?void 0x0:_0x54c2ba[_0x1498cb(0x424)])!=null?_0x5c1039:_0x2095b4)!=null?_0x43b498:Wt;}};ye=Ci([Ae(0x0,a[_0xe3a83a(0x33f)]),Ae(0x1,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)])),Ae(0x2,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x117)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xe65460,_0x1cbd9e,_0x16a989,_0x2f149b)=>{var _0x3d8f20=_0xe3a83a;for(var _0xaf9890=_0x2f149b>0x1?void 0x0:_0x2f149b?Ti(_0x1cbd9e,_0x16a989):_0x1cbd9e,_0x2a5c43=_0xe65460[_0x3d8f20(0x1f9)]-0x1,_0x57669f;_0x2a5c43>=0x0;_0x2a5c43--)(_0x57669f=_0xe65460[_0x2a5c43])&&(_0xaf9890=_0x57669f(_0xaf9890)||_0xaf9890);return _0xaf9890;},qe=(_0xe5810,_0x114c40)=>(_0xaf6b8d,_0x5a9399)=>_0x114c40(_0xaf6b8d,_0x5a9399,_0xe5810);const Ve=_0xe3a83a(0x481),Ri=_0xe3a83a(0x223);exports[_0xe3a83a(0x470)]=class extends a[_0xe3a83a(0x2cc)]{constructor(_0x31ac88,_0x1bd4ea){var _0x489fbc=_0xe3a83a;super(),this['_HTTPService']=_0x31ac88,this['_configService']=_0x1bd4ea,this[_0x489fbc(0x378)]();}[_0xe3a83a(0x378)](){var _0x3166b1=_0xe3a83a;const _0x469558=this;this[_0x3166b1(0x440)](this[_0x3166b1(0x27f)][_0x3166b1(0x125)]({'priority':0x3e7,'interceptor':Y[_0x3166b1(0x169)]({'isMatch'(_0xc137db){var _0x24277f=_0x3166b1,_0x464c49;if(_0xc137db[_0x24277f(0x1be)]==='POST'&&((_0x464c49=_0xc137db['requestParams'])!=null&&_0x464c49[_0x24277f(0x1d7)])){const {objectID:_0x4eebbd,objectType:_0x1ac526}=_0xc137db[_0x24277f(0x3de)][_0x24277f(0x1d7)]||{};if(!_0x4eebbd||_0x1ac526===void 0x0)return!0x1;const _0x37e300=_0x469558[_0x24277f(0x339)]()+'/'+_0x1ac526+'/object/'+_0x4eebbd+_0x24277f(0x13b);if(_0xc137db[_0x24277f(0x187)]===_0x37e300)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x523a4b){var _0x1258cc=_0x3166b1,_0x227ea2;return(_0x227ea2=_0x523a4b[_0x1258cc(0x3de)])==null?void 0x0:_0x227ea2[_0x1258cc(0x1d7)];},'mergeParamsToRequest'(_0x302852,_0x11e247){var _0x177678=_0x3166b1;const _0x4e03a4=_0x469558[_0x177678(0x339)]()+_0x177678(0x18f),_0x31628e=_0x302852[_0x177678(0x48c)]((_0x178ba9,_0x3ae01e)=>{var _0x808449=_0x177678;const {unitID:_0xf923c8,objectID:_0x45c2fa,objectType:_0x2102a5,actions:_0x4f2ef1}=_0x3ae01e;return _0x178ba9[_0xf923c8]||(_0x178ba9[_0xf923c8]={}),_0x178ba9[_0xf923c8][_0x45c2fa]||(_0x178ba9[_0xf923c8][_0x45c2fa]={'objectID':_0x45c2fa,'objectType':_0x2102a5,'actions':[]}),_0x178ba9[_0xf923c8][_0x45c2fa][_0x808449(0x402)][_0x808449(0x454)](..._0x4f2ef1),_0x178ba9;},{}),_0x2c3b51=[];for(const _0x52a652 in _0x31628e)for(const _0x415aa1 in _0x31628e[_0x52a652]){const {actions:_0x38cb27,objectType:_0x12b620}=_0x31628e[_0x52a652][_0x415aa1],_0x4e44d9=[...new Set(_0x38cb27)];_0x2c3b51[_0x177678(0x454)]({'unitID':_0x52a652,'objectID':_0x415aa1,'objectType':_0x12b620,'actions':_0x4e44d9});}return new Y[(_0x177678(0x3cf))]('POST',_0x4e03a4,{'headers':_0x11e247[_0x177678(0x44b)],'withCredentials':_0x11e247[_0x177678(0x487)],'responseType':_0x11e247[_0x177678(0x43e)],'body':{'requests':_0x2c3b51}});}},{'distributeResult'(_0x59f1b4,_0x24657e){var _0x7b126f=_0x3166b1;const {objectActions:_0x32411a}=_0x59f1b4;return _0x24657e[_0x7b126f(0x21e)](_0x2b291d=>{var _0x220d83=_0x7b126f;const {unitID:_0x45714d,objectID:_0x1bb553,actions:_0x540d4c}=_0x2b291d,_0x14a28e=_0x32411a[_0x220d83(0x270)](_0x23bb84=>_0x23bb84[_0x220d83(0x30c)]===_0x45714d&&_0x23bb84['objectID']===_0x1bb553),_0x28d443=_0x540d4c['map'](_0x28c0e6=>_0x14a28e==null?void 0x0:_0x14a28e[_0x220d83(0x402)]['find'](_0x1b688c=>_0x1b688c[_0x220d83(0x2af)]===_0x28c0e6))[_0x220d83(0x1fe)](_0x3ca62a=>!!_0x3ca62a);return{'config':_0x2b291d,'result':{'actions':_0x28d443,'error':_0x59f1b4[_0x220d83(0x467)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4b30d=_0xe3a83a,_0x436fc7,_0x5831b0;const _0x49951b=this[_0x4b30d(0x316)]['getConfig'](Ve),_0x92818f=this['_configService'][_0x4b30d(0x1ce)](K);return(_0x5831b0=(_0x436fc7=_0x92818f==null?void 0x0:_0x92818f[_0x4b30d(0x43c)])!=null?_0x436fc7:_0x49951b)!=null?_0x5831b0:Ri;}async['create'](_0x12f5ff){var _0x58aa73=_0xe3a83a;const _0x19aa06=this['_getAPIPrefixPath']()+'/'+_0x12f5ff[_0x58aa73(0x157)]+'/object';return(await this[_0x58aa73(0x27f)][_0x58aa73(0x469)](_0x19aa06,{'body':_0x12f5ff}))[_0x58aa73(0x1d7)][_0x58aa73(0x45b)]||'';}async['list'](_0x5a14c9){var _0x5c43da=_0xe3a83a;const _0x43413d=this[_0x5c43da(0x339)]()+_0x5c43da(0x170);return(await this[_0x5c43da(0x27f)]['post'](_0x43413d,{'body':_0x5a14c9}))['body']['objects'];}async[_0xe3a83a(0x3d1)](_0x1178cd){var _0x47e838=_0xe3a83a,_0x1e4329,_0x102cc6;const _0x1addd9=this['_getAPIPrefixPath']()+'/'+_0x1178cd['objectType']+_0x47e838(0x142)+_0x1178cd['objectID'],_0xc90e48=await this[_0x47e838(0x27f)]['put'](_0x1addd9,{'body':_0x1178cd});if(((_0x102cc6=(_0x1e4329=_0xc90e48==null?void 0x0:_0xc90e48[_0x47e838(0x1d7)])==null?void 0x0:_0x1e4329[_0x47e838(0x467)])==null?void 0x0:_0x102cc6[_0x47e838(0x1d3)])!==0x1)throw new Error(_0x47e838(0x23b));}async['allowed'](_0x4c302e){var _0xd5c8e9=_0xe3a83a;const _0x92b8ca=this['_getAPIPrefixPath']()+'/'+_0x4c302e['objectType']+'/object/'+_0x4c302e[_0xd5c8e9(0x45b)]+'/allowed';return(await this['_HTTPService'][_0xd5c8e9(0x469)](_0x92b8ca,{'body':_0x4c302e}))[_0xd5c8e9(0x1d7)][_0xd5c8e9(0x402)];}async[_0xe3a83a(0x140)](_0x2ce861){var _0x57b7da=_0xe3a83a;const _0x1a1459=this[_0x57b7da(0x339)]()+_0x57b7da(0x18f);return(await this[_0x57b7da(0x27f)][_0x57b7da(0x469)](_0x1a1459,{'body':{'requests':_0x2ce861}}))['body'][_0x57b7da(0x473)];}async[_0xe3a83a(0x2bd)](_0x28156e){var _0x1ce8e7=_0xe3a83a;const _0x3364ac=this[_0x1ce8e7(0x339)]()+'/'+_0x28156e[_0x1ce8e7(0x157)]+_0x1ce8e7(0x193),_0x16792d=await this[_0x1ce8e7(0x27f)][_0x1ce8e7(0x469)](_0x3364ac,{'body':_0x28156e});return{'roles':_0x16792d[_0x1ce8e7(0x1d7)][_0x1ce8e7(0x426)],'actions':_0x16792d['body'][_0x1ce8e7(0x402)]};}async[_0xe3a83a(0x448)](_0x645cd5){var _0x57327b=_0xe3a83a;const _0x18e3e5=this[_0x57327b(0x339)]()+_0x57327b(0x42b);await this[_0x57327b(0x27f)][_0x57327b(0x48f)](_0x18e3e5,{'params':{'collaboratorID':_0x645cd5[_0x57327b(0x357)],'objectID':_0x645cd5[_0x57327b(0x45b)],'unitID':_0x645cd5['unitID']}});}async['updateCollaborator'](_0x2c3744){var _0x57c93e=_0xe3a83a;const _0x42f83b=this[_0x57c93e(0x339)]()+_0x57c93e(0x42b);await this[_0x57c93e(0x27f)][_0x57c93e(0x2b0)](_0x42f83b,{'body':_0x2c3744});}async[_0xe3a83a(0x3a2)](_0x20947d){var _0x400bea=_0xe3a83a;const _0x1b533f=this[_0x400bea(0x339)]()+_0x400bea(0x42b);await this['_HTTPService'][_0x400bea(0x469)](_0x1b533f,{'body':_0x20947d});}async[_0xe3a83a(0x250)](_0x51b578){var _0x2d38c0=_0xe3a83a;const _0xe8524=this['_getAPIPrefixPath']()+_0x2d38c0(0x42b);return(await this['_HTTPService'][_0x2d38c0(0x10f)](_0xe8524,{'params':{'objectID':_0x51b578[_0x2d38c0(0x45b)],'unitID':_0x51b578[_0x2d38c0(0x30c)]}}))[_0x2d38c0(0x1d7)][_0x2d38c0(0x1fa)];}async[_0xe3a83a(0x33d)](_0xfa3620){var _0x1c2dd2=_0xe3a83a;const _0x7f8b48=this[_0x1c2dd2(0x339)]()+'/collaborator';await this[_0x1c2dd2(0x27f)][_0x1c2dd2(0x25c)](_0x7f8b48,{'body':_0xfa3620});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)])),qe(0x1,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x33f)]))],exports[_0xe3a83a(0x470)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0xba7ec9){var _0xd774c4=_0xe3a83a;return _0xba7ec9&&_0xba7ec9['__esModule']&&Object['prototype'][_0xd774c4(0x2b8)]['call'](_0xba7ec9,'default')?_0xba7ec9['default']:_0xba7ec9;}var fe={'exports':{}};function Oi(_0x2c2bbf){var _0x377c9e=_0xe3a83a;throw new Error(_0x377c9e(0x46d)+_0x2c2bbf+_0x377c9e(0x371));}var pe={'exports':{}},yi=pe[_0xe3a83a(0x493)],ze;function Q(){return ze||(ze=0x1,function(_0x59c565,_0x404a44){(function(_0x479073,_0x4e0e38){var _0x2daa0a=_0x1706;_0x59c565[_0x2daa0a(0x493)]=_0x4e0e38();}(yi,function(){var _0x24e153=_0x24e153||function(_0x23f680,_0x312965){var _0x3f3c23=_0x1706,_0x176878;if(typeof window<'u'&&window[_0x3f3c23(0x3c1)]&&(_0x176878=window[_0x3f3c23(0x3c1)]),typeof self<'u'&&self[_0x3f3c23(0x3c1)]&&(_0x176878=self[_0x3f3c23(0x3c1)]),typeof globalThis<'u'&&globalThis[_0x3f3c23(0x3c1)]&&(_0x176878=globalThis['crypto']),!_0x176878&&typeof window<'u'&&window[_0x3f3c23(0x374)]&&(_0x176878=window['msCrypto']),!_0x176878&&typeof Pe<'u'&&Pe[_0x3f3c23(0x3c1)]&&(_0x176878=Pe[_0x3f3c23(0x3c1)]),!_0x176878&&typeof Oi==_0x3f3c23(0x40c))try{_0x176878=require(_0x3f3c23(0x3c1));}catch{}var _0x14a1a5=function(){var _0xd60080=_0x3f3c23;if(_0x176878){if(typeof _0x176878[_0xd60080(0x23f)]==_0xd60080(0x40c))try{return _0x176878[_0xd60080(0x23f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x176878[_0xd60080(0x269)]=='function')try{return _0x176878[_0xd60080(0x269)](0x4)[_0xd60080(0x3b8)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x44fcc4=Object[_0x3f3c23(0x3a3)]||(function(){function _0x49b272(){}return function(_0x567bb8){var _0x3874f5=_0x1706,_0x22a45b;return _0x49b272[_0x3874f5(0x35f)]=_0x567bb8,_0x22a45b=new _0x49b272(),_0x49b272[_0x3874f5(0x35f)]=null,_0x22a45b;};}()),_0x374dfe={},_0x218602=_0x374dfe[_0x3f3c23(0x48b)]={},_0x135f4b=_0x218602['Base']=(function(){return{'extend':function(_0x4a8c63){var _0x4188bc=_0x1706,_0x121204=_0x44fcc4(this);return _0x4a8c63&&_0x121204[_0x4188bc(0x26d)](_0x4a8c63),(!_0x121204['hasOwnProperty'](_0x4188bc(0x230))||this[_0x4188bc(0x230)]===_0x121204[_0x4188bc(0x230)])&&(_0x121204[_0x4188bc(0x230)]=function(){var _0x327cf7=_0x4188bc;_0x121204[_0x327cf7(0x325)][_0x327cf7(0x230)][_0x327cf7(0x1ea)](this,arguments);}),_0x121204[_0x4188bc(0x230)][_0x4188bc(0x35f)]=_0x121204,_0x121204[_0x4188bc(0x325)]=this,_0x121204;},'create':function(){var _0x1b654c=_0x1706,_0x5abb4e=this[_0x1b654c(0x205)]();return _0x5abb4e[_0x1b654c(0x230)][_0x1b654c(0x1ea)](_0x5abb4e,arguments),_0x5abb4e;},'init':function(){},'mixIn':function(_0x1b481f){var _0x171643=_0x1706;for(var _0x2803ca in _0x1b481f)_0x1b481f[_0x171643(0x2b8)](_0x2803ca)&&(this[_0x2803ca]=_0x1b481f[_0x2803ca]);_0x1b481f[_0x171643(0x2b8)](_0x171643(0x388))&&(this[_0x171643(0x388)]=_0x1b481f['toString']);},'clone':function(){var _0x2b4afe=_0x1706;return this[_0x2b4afe(0x230)]['prototype'][_0x2b4afe(0x205)](this);}};}()),_0x1ae417=_0x218602[_0x3f3c23(0x2d9)]=_0x135f4b['extend']({'init':function(_0x4fd5e2,_0x434a06){var _0x845f3e=_0x3f3c23;_0x4fd5e2=this[_0x845f3e(0x2a4)]=_0x4fd5e2||[],_0x434a06!=_0x312965?this['sigBytes']=_0x434a06:this[_0x845f3e(0x226)]=_0x4fd5e2['length']*0x4;},'toString':function(_0x11ac48){var _0x4e03fa=_0x3f3c23;return(_0x11ac48||_0x38797a)[_0x4e03fa(0x1b6)](this);},'concat':function(_0x418d8f){var _0x559c8d=_0x3f3c23,_0x598d96=this[_0x559c8d(0x2a4)],_0x2b8773=_0x418d8f[_0x559c8d(0x2a4)],_0x586d11=this[_0x559c8d(0x226)],_0x364b8c=_0x418d8f['sigBytes'];if(this[_0x559c8d(0x370)](),_0x586d11%0x4)for(var _0x21c6a0=0x0;_0x21c6a0<_0x364b8c;_0x21c6a0++){var _0x362124=_0x2b8773[_0x21c6a0>>>0x2]>>>0x18-_0x21c6a0%0x4*0x8&0xff;_0x598d96[_0x586d11+_0x21c6a0>>>0x2]|=_0x362124<<0x18-(_0x586d11+_0x21c6a0)%0x4*0x8;}else{for(var _0x3bef98=0x0;_0x3bef98<_0x364b8c;_0x3bef98+=0x4)_0x598d96[_0x586d11+_0x3bef98>>>0x2]=_0x2b8773[_0x3bef98>>>0x2];}return this[_0x559c8d(0x226)]+=_0x364b8c,this;},'clamp':function(){var _0x814f66=_0x3f3c23,_0x4cb971=this[_0x814f66(0x2a4)],_0xa267ce=this[_0x814f66(0x226)];_0x4cb971[_0xa267ce>>>0x2]&=0xffffffff<<0x20-_0xa267ce%0x4*0x8,_0x4cb971['length']=_0x23f680[_0x814f66(0x2ab)](_0xa267ce/0x4);},'clone':function(){var _0x40d9a8=_0x3f3c23,_0x2c20f1=_0x135f4b[_0x40d9a8(0x18b)][_0x40d9a8(0x1ff)](this);return _0x2c20f1[_0x40d9a8(0x2a4)]=this['words'][_0x40d9a8(0x294)](0x0),_0x2c20f1;},'random':function(_0x3b0004){var _0x2e5875=_0x3f3c23;for(var _0x3bcbcc=[],_0x227d49=0x0;_0x227d49<_0x3b0004;_0x227d49+=0x4)_0x3bcbcc['push'](_0x14a1a5());return new _0x1ae417[(_0x2e5875(0x230))](_0x3bcbcc,_0x3b0004);}}),_0x24135a=_0x374dfe[_0x3f3c23(0x23c)]={},_0x38797a=_0x24135a[_0x3f3c23(0x375)]={'stringify':function(_0x542408){var _0x2e8be2=_0x3f3c23;for(var _0x4d5a26=_0x542408[_0x2e8be2(0x2a4)],_0x1e3800=_0x542408['sigBytes'],_0x242c38=[],_0xd426be=0x0;_0xd426be<_0x1e3800;_0xd426be++){var _0x7a2972=_0x4d5a26[_0xd426be>>>0x2]>>>0x18-_0xd426be%0x4*0x8&0xff;_0x242c38['push']((_0x7a2972>>>0x4)[_0x2e8be2(0x388)](0x10)),_0x242c38[_0x2e8be2(0x454)]((_0x7a2972&0xf)[_0x2e8be2(0x388)](0x10));}return _0x242c38[_0x2e8be2(0x26a)]('');},'parse':function(_0x33d55d){var _0x480a3b=_0x3f3c23;for(var _0x69805c=_0x33d55d[_0x480a3b(0x1f9)],_0x5bdb6e=[],_0x3bd1c5=0x0;_0x3bd1c5<_0x69805c;_0x3bd1c5+=0x2)_0x5bdb6e[_0x3bd1c5>>>0x3]|=parseInt(_0x33d55d['substr'](_0x3bd1c5,0x2),0x10)<<0x18-_0x3bd1c5%0x8*0x4;return new _0x1ae417[(_0x480a3b(0x230))](_0x5bdb6e,_0x69805c/0x2);}},_0x244e2f=_0x24135a['Latin1']={'stringify':function(_0x90c9cc){var _0x586ded=_0x3f3c23;for(var _0x3f2799=_0x90c9cc[_0x586ded(0x2a4)],_0x4790df=_0x90c9cc[_0x586ded(0x226)],_0x210044=[],_0x10d18e=0x0;_0x10d18e<_0x4790df;_0x10d18e++){var _0x2dda27=_0x3f2799[_0x10d18e>>>0x2]>>>0x18-_0x10d18e%0x4*0x8&0xff;_0x210044[_0x586ded(0x454)](String[_0x586ded(0x459)](_0x2dda27));}return _0x210044[_0x586ded(0x26a)]('');},'parse':function(_0x244e16){var _0x2e3724=_0x3f3c23;for(var _0x1cb51a=_0x244e16[_0x2e3724(0x1f9)],_0x23078b=[],_0x10fcb8=0x0;_0x10fcb8<_0x1cb51a;_0x10fcb8++)_0x23078b[_0x10fcb8>>>0x2]|=(_0x244e16['charCodeAt'](_0x10fcb8)&0xff)<<0x18-_0x10fcb8%0x4*0x8;return new _0x1ae417[(_0x2e3724(0x230))](_0x23078b,_0x1cb51a);}},_0x335a82=_0x24135a['Utf8']={'stringify':function(_0x3816af){var _0x2fa7c2=_0x3f3c23;try{return decodeURIComponent(escape(_0x244e2f[_0x2fa7c2(0x1b6)](_0x3816af)));}catch{throw new Error(_0x2fa7c2(0x3c7));}},'parse':function(_0x1294c9){var _0x4d0bb8=_0x3f3c23;return _0x244e2f[_0x4d0bb8(0x464)](unescape(encodeURIComponent(_0x1294c9)));}},_0x4a7ece=_0x218602[_0x3f3c23(0x333)]=_0x135f4b[_0x3f3c23(0x205)]({'reset':function(){var _0x42308b=_0x3f3c23;this['_data']=new _0x1ae417[(_0x42308b(0x230))](),this['_nDataBytes']=0x0;},'_append':function(_0x59c2ca){var _0x12b677=_0x3f3c23;typeof _0x59c2ca==_0x12b677(0x30f)&&(_0x59c2ca=_0x335a82[_0x12b677(0x464)](_0x59c2ca)),this['_data']['concat'](_0x59c2ca),this[_0x12b677(0x417)]+=_0x59c2ca[_0x12b677(0x226)];},'_process':function(_0x20a3b7){var _0x510382=_0x3f3c23,_0x1c1cdb,_0x517c39=this[_0x510382(0x468)],_0x2ee9f9=_0x517c39[_0x510382(0x2a4)],_0x6b172c=_0x517c39[_0x510382(0x226)],_0x4cde40=this[_0x510382(0x3dc)],_0x5505b2=_0x4cde40*0x4,_0x4b9c92=_0x6b172c/_0x5505b2;_0x20a3b7?_0x4b9c92=_0x23f680[_0x510382(0x2ab)](_0x4b9c92):_0x4b9c92=_0x23f680['max']((_0x4b9c92|0x0)-this['_minBufferSize'],0x0);var _0x54a1c3=_0x4b9c92*_0x4cde40,_0x57512d=_0x23f680['min'](_0x54a1c3*0x4,_0x6b172c);if(_0x54a1c3){for(var _0x26c8b5=0x0;_0x26c8b5<_0x54a1c3;_0x26c8b5+=_0x4cde40)this[_0x510382(0x19b)](_0x2ee9f9,_0x26c8b5);_0x1c1cdb=_0x2ee9f9[_0x510382(0x3f4)](0x0,_0x54a1c3),_0x517c39[_0x510382(0x226)]-=_0x57512d;}return new _0x1ae417[(_0x510382(0x230))](_0x1c1cdb,_0x57512d);},'clone':function(){var _0x239a75=_0x3f3c23,_0x3ade3d=_0x135f4b[_0x239a75(0x18b)][_0x239a75(0x1ff)](this);return _0x3ade3d[_0x239a75(0x468)]=this[_0x239a75(0x468)][_0x239a75(0x18b)](),_0x3ade3d;},'_minBufferSize':0x0});_0x218602[_0x3f3c23(0x234)]=_0x4a7ece['extend']({'cfg':_0x135f4b['extend'](),'init':function(_0x379eee){var _0x45fac5=_0x3f3c23;this[_0x45fac5(0x45f)]=this[_0x45fac5(0x45f)]['extend'](_0x379eee),this[_0x45fac5(0x3d6)]();},'reset':function(){var _0x2a8ca4=_0x3f3c23;_0x4a7ece[_0x2a8ca4(0x3d6)][_0x2a8ca4(0x1ff)](this),this[_0x2a8ca4(0x305)]();},'update':function(_0x557962){var _0x8a3c13=_0x3f3c23;return this[_0x8a3c13(0x23d)](_0x557962),this[_0x8a3c13(0x382)](),this;},'finalize':function(_0x4bef91){var _0x12ce0f=_0x3f3c23;_0x4bef91&&this[_0x12ce0f(0x23d)](_0x4bef91);var _0x1bd8dd=this[_0x12ce0f(0x326)]();return _0x1bd8dd;},'blockSize':0x10,'_createHelper':function(_0xfc4377){return function(_0x31a567,_0x2f467a){var _0x5a5721=_0x1706;return new _0xfc4377['init'](_0x2f467a)[_0x5a5721(0x22d)](_0x31a567);};},'_createHmacHelper':function(_0x34d160){return function(_0x563fb4,_0x128ca6){var _0x1d6bef=_0x1706;return new _0x5e69d9[(_0x1d6bef(0x40e))][(_0x1d6bef(0x230))](_0x34d160,_0x128ca6)[_0x1d6bef(0x22d)](_0x563fb4);};}});var _0x5e69d9=_0x374dfe[_0x3f3c23(0x190)]={};return _0x374dfe;}(Math);return _0x24e153;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie[_0xe3a83a(0x493)],Je;function yt(){var _0xe8712=_0xe3a83a;return Je||(Je=0x1,function(_0x2f2f31,_0x56b3b5){(function(_0x29da58,_0x2fcd68){var _0x2c810d=_0x1706;_0x2f2f31[_0x2c810d(0x493)]=_0x2fcd68(Q());}(Ni,function(_0x37329c){var _0x133d60=_0x1706;return(function(){var _0x26a4b3=_0x1706,_0x55a774=_0x37329c,_0x40a1bd=_0x55a774[_0x26a4b3(0x48b)],_0x27ffb8=_0x40a1bd[_0x26a4b3(0x2d9)],_0x7e8daf=_0x55a774[_0x26a4b3(0x23c)];_0x7e8daf[_0x26a4b3(0x25a)]={'stringify':function(_0x52c40f){var _0x5ca783=_0x26a4b3,_0x4706c4=_0x52c40f[_0x5ca783(0x2a4)],_0x46c091=_0x52c40f['sigBytes'],_0x58c773=this['_map'];_0x52c40f[_0x5ca783(0x370)]();for(var _0x312e27=[],_0x52a9aa=0x0;_0x52a9aa<_0x46c091;_0x52a9aa+=0x3)for(var _0x309a9a=_0x4706c4[_0x52a9aa>>>0x2]>>>0x18-_0x52a9aa%0x4*0x8&0xff,_0x68c97=_0x4706c4[_0x52a9aa+0x1>>>0x2]>>>0x18-(_0x52a9aa+0x1)%0x4*0x8&0xff,_0x803725=_0x4706c4[_0x52a9aa+0x2>>>0x2]>>>0x18-(_0x52a9aa+0x2)%0x4*0x8&0xff,_0x25c242=_0x309a9a<<0x10|_0x68c97<<0x8|_0x803725,_0x6887ad=0x0;_0x6887ad<0x4&&_0x52a9aa+_0x6887ad*0.75<_0x46c091;_0x6887ad++)_0x312e27[_0x5ca783(0x454)](_0x58c773[_0x5ca783(0x29e)](_0x25c242>>>0x6*(0x3-_0x6887ad)&0x3f));var _0x217c7d=_0x58c773[_0x5ca783(0x29e)](0x40);if(_0x217c7d){for(;_0x312e27['length']%0x4;)_0x312e27[_0x5ca783(0x454)](_0x217c7d);}return _0x312e27[_0x5ca783(0x26a)]('');},'parse':function(_0x412a2c){var _0x1b3e9b=_0x26a4b3,_0x326d00=_0x412a2c['length'],_0x4fd660=this['_map'],_0x5d92fa=this[_0x1b3e9b(0x174)];if(!_0x5d92fa){_0x5d92fa=this[_0x1b3e9b(0x174)]=[];for(var _0x4d8041=0x0;_0x4d8041<_0x4fd660[_0x1b3e9b(0x1f9)];_0x4d8041++)_0x5d92fa[_0x4fd660['charCodeAt'](_0x4d8041)]=_0x4d8041;}var _0x33d36c=_0x4fd660['charAt'](0x40);if(_0x33d36c){var _0x918598=_0x412a2c[_0x1b3e9b(0x1f6)](_0x33d36c);_0x918598!==-0x1&&(_0x326d00=_0x918598);}return _0x3e9e98(_0x412a2c,_0x326d00,_0x5d92fa);},'_map':_0x26a4b3(0x111)};function _0x3e9e98(_0x2cdaf1,_0x4338a0,_0x4324a0){var _0x4cc721=_0x26a4b3;for(var _0xc11a3f=[],_0x1d9b54=0x0,_0x54b6a6=0x0;_0x54b6a6<_0x4338a0;_0x54b6a6++)if(_0x54b6a6%0x4){var _0x5779e1=_0x4324a0[_0x2cdaf1['charCodeAt'](_0x54b6a6-0x1)]<<_0x54b6a6%0x4*0x2,_0x58360c=_0x4324a0[_0x2cdaf1[_0x4cc721(0x276)](_0x54b6a6)]>>>0x6-_0x54b6a6%0x4*0x2,_0x10ba92=_0x5779e1|_0x58360c;_0xc11a3f[_0x1d9b54>>>0x2]|=_0x10ba92<<0x18-_0x1d9b54%0x4*0x8,_0x1d9b54++;}return _0x27ffb8[_0x4cc721(0x3a3)](_0xc11a3f,_0x1d9b54);}}()),_0x37329c[_0x133d60(0x23c)][_0x133d60(0x25a)];}));}(Ie)),Ie[_0xe8712(0x493)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){var _0x2b1e1b=_0xe3a83a;return Xe||(Xe=0x1,function(_0x4ea1ac,_0x4bbfa1){(function(_0x37c316,_0xab3dba){_0x4ea1ac['exports']=_0xab3dba(Q());}(Ui,function(_0x5d7ab1){var _0x3e0de6=_0x1706;return function(_0x15a689){var _0x58a8fc=_0x1706,_0x4bcf96=_0x5d7ab1,_0x233bcf=_0x4bcf96[_0x58a8fc(0x48b)],_0x38a7f7=_0x233bcf[_0x58a8fc(0x2d9)],_0x36405f=_0x233bcf[_0x58a8fc(0x234)],_0x314680=_0x4bcf96['algo'],_0x5e0cb9=[];(function(){var _0x5403d4=_0x58a8fc;for(var _0x9cf304=0x0;_0x9cf304<0x40;_0x9cf304++)_0x5e0cb9[_0x9cf304]=_0x15a689[_0x5403d4(0x1db)](_0x15a689['sin'](_0x9cf304+0x1))*0x100000000|0x0;}());var _0x330829=_0x314680['MD5']=_0x36405f['extend']({'_doReset':function(){var _0x4cd2ff=_0x58a8fc;this[_0x4cd2ff(0x166)]=new _0x38a7f7[(_0x4cd2ff(0x230))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x438aa5,_0x365d08){var _0x2d413c=_0x58a8fc;for(var _0x240899=0x0;_0x240899<0x10;_0x240899++){var _0x144c57=_0x365d08+_0x240899,_0xcad8c1=_0x438aa5[_0x144c57];_0x438aa5[_0x144c57]=(_0xcad8c1<<0x8|_0xcad8c1>>>0x18)&0xff00ff|(_0xcad8c1<<0x18|_0xcad8c1>>>0x8)&0xff00ff00;}var _0x5157f7=this[_0x2d413c(0x166)][_0x2d413c(0x2a4)],_0x28017e=_0x438aa5[_0x365d08+0x0],_0x5d4784=_0x438aa5[_0x365d08+0x1],_0x4a89c4=_0x438aa5[_0x365d08+0x2],_0x1a34e8=_0x438aa5[_0x365d08+0x3],_0x2f25b9=_0x438aa5[_0x365d08+0x4],_0x196669=_0x438aa5[_0x365d08+0x5],_0x8cd69e=_0x438aa5[_0x365d08+0x6],_0x5d359c=_0x438aa5[_0x365d08+0x7],_0x4a3a35=_0x438aa5[_0x365d08+0x8],_0x3a58a1=_0x438aa5[_0x365d08+0x9],_0x2d872a=_0x438aa5[_0x365d08+0xa],_0x48a8dd=_0x438aa5[_0x365d08+0xb],_0x3e3f8d=_0x438aa5[_0x365d08+0xc],_0x3d3687=_0x438aa5[_0x365d08+0xd],_0x26bf75=_0x438aa5[_0x365d08+0xe],_0x20affc=_0x438aa5[_0x365d08+0xf],_0x54e70b=_0x5157f7[0x0],_0x56933c=_0x5157f7[0x1],_0x38ccc0=_0x5157f7[0x2],_0x175d8b=_0x5157f7[0x3];_0x54e70b=_0x415ac3(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x28017e,0x7,_0x5e0cb9[0x0]),_0x175d8b=_0x415ac3(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x5d4784,0xc,_0x5e0cb9[0x1]),_0x38ccc0=_0x415ac3(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x4a89c4,0x11,_0x5e0cb9[0x2]),_0x56933c=_0x415ac3(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x1a34e8,0x16,_0x5e0cb9[0x3]),_0x54e70b=_0x415ac3(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x2f25b9,0x7,_0x5e0cb9[0x4]),_0x175d8b=_0x415ac3(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x196669,0xc,_0x5e0cb9[0x5]),_0x38ccc0=_0x415ac3(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x8cd69e,0x11,_0x5e0cb9[0x6]),_0x56933c=_0x415ac3(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x5d359c,0x16,_0x5e0cb9[0x7]),_0x54e70b=_0x415ac3(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x4a3a35,0x7,_0x5e0cb9[0x8]),_0x175d8b=_0x415ac3(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x3a58a1,0xc,_0x5e0cb9[0x9]),_0x38ccc0=_0x415ac3(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x2d872a,0x11,_0x5e0cb9[0xa]),_0x56933c=_0x415ac3(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x48a8dd,0x16,_0x5e0cb9[0xb]),_0x54e70b=_0x415ac3(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3e3f8d,0x7,_0x5e0cb9[0xc]),_0x175d8b=_0x415ac3(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x3d3687,0xc,_0x5e0cb9[0xd]),_0x38ccc0=_0x415ac3(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x26bf75,0x11,_0x5e0cb9[0xe]),_0x56933c=_0x415ac3(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x20affc,0x16,_0x5e0cb9[0xf]),_0x54e70b=_0x1ad036(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x5d4784,0x5,_0x5e0cb9[0x10]),_0x175d8b=_0x1ad036(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x8cd69e,0x9,_0x5e0cb9[0x11]),_0x38ccc0=_0x1ad036(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x48a8dd,0xe,_0x5e0cb9[0x12]),_0x56933c=_0x1ad036(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x28017e,0x14,_0x5e0cb9[0x13]),_0x54e70b=_0x1ad036(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x196669,0x5,_0x5e0cb9[0x14]),_0x175d8b=_0x1ad036(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x2d872a,0x9,_0x5e0cb9[0x15]),_0x38ccc0=_0x1ad036(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x20affc,0xe,_0x5e0cb9[0x16]),_0x56933c=_0x1ad036(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x2f25b9,0x14,_0x5e0cb9[0x17]),_0x54e70b=_0x1ad036(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3a58a1,0x5,_0x5e0cb9[0x18]),_0x175d8b=_0x1ad036(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x26bf75,0x9,_0x5e0cb9[0x19]),_0x38ccc0=_0x1ad036(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x1a34e8,0xe,_0x5e0cb9[0x1a]),_0x56933c=_0x1ad036(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x4a3a35,0x14,_0x5e0cb9[0x1b]),_0x54e70b=_0x1ad036(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3d3687,0x5,_0x5e0cb9[0x1c]),_0x175d8b=_0x1ad036(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x4a89c4,0x9,_0x5e0cb9[0x1d]),_0x38ccc0=_0x1ad036(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x5d359c,0xe,_0x5e0cb9[0x1e]),_0x56933c=_0x1ad036(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x3e3f8d,0x14,_0x5e0cb9[0x1f]),_0x54e70b=_0x3e2060(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x196669,0x4,_0x5e0cb9[0x20]),_0x175d8b=_0x3e2060(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x4a3a35,0xb,_0x5e0cb9[0x21]),_0x38ccc0=_0x3e2060(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x48a8dd,0x10,_0x5e0cb9[0x22]),_0x56933c=_0x3e2060(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x26bf75,0x17,_0x5e0cb9[0x23]),_0x54e70b=_0x3e2060(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x5d4784,0x4,_0x5e0cb9[0x24]),_0x175d8b=_0x3e2060(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x2f25b9,0xb,_0x5e0cb9[0x25]),_0x38ccc0=_0x3e2060(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x5d359c,0x10,_0x5e0cb9[0x26]),_0x56933c=_0x3e2060(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x2d872a,0x17,_0x5e0cb9[0x27]),_0x54e70b=_0x3e2060(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3d3687,0x4,_0x5e0cb9[0x28]),_0x175d8b=_0x3e2060(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x28017e,0xb,_0x5e0cb9[0x29]),_0x38ccc0=_0x3e2060(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x1a34e8,0x10,_0x5e0cb9[0x2a]),_0x56933c=_0x3e2060(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x8cd69e,0x17,_0x5e0cb9[0x2b]),_0x54e70b=_0x3e2060(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3a58a1,0x4,_0x5e0cb9[0x2c]),_0x175d8b=_0x3e2060(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x3e3f8d,0xb,_0x5e0cb9[0x2d]),_0x38ccc0=_0x3e2060(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x20affc,0x10,_0x5e0cb9[0x2e]),_0x56933c=_0x3e2060(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x4a89c4,0x17,_0x5e0cb9[0x2f]),_0x54e70b=_0x6cd6da(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x28017e,0x6,_0x5e0cb9[0x30]),_0x175d8b=_0x6cd6da(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x5d359c,0xa,_0x5e0cb9[0x31]),_0x38ccc0=_0x6cd6da(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x26bf75,0xf,_0x5e0cb9[0x32]),_0x56933c=_0x6cd6da(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x196669,0x15,_0x5e0cb9[0x33]),_0x54e70b=_0x6cd6da(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x3e3f8d,0x6,_0x5e0cb9[0x34]),_0x175d8b=_0x6cd6da(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x1a34e8,0xa,_0x5e0cb9[0x35]),_0x38ccc0=_0x6cd6da(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x2d872a,0xf,_0x5e0cb9[0x36]),_0x56933c=_0x6cd6da(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x5d4784,0x15,_0x5e0cb9[0x37]),_0x54e70b=_0x6cd6da(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x4a3a35,0x6,_0x5e0cb9[0x38]),_0x175d8b=_0x6cd6da(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x20affc,0xa,_0x5e0cb9[0x39]),_0x38ccc0=_0x6cd6da(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x8cd69e,0xf,_0x5e0cb9[0x3a]),_0x56933c=_0x6cd6da(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x3d3687,0x15,_0x5e0cb9[0x3b]),_0x54e70b=_0x6cd6da(_0x54e70b,_0x56933c,_0x38ccc0,_0x175d8b,_0x2f25b9,0x6,_0x5e0cb9[0x3c]),_0x175d8b=_0x6cd6da(_0x175d8b,_0x54e70b,_0x56933c,_0x38ccc0,_0x48a8dd,0xa,_0x5e0cb9[0x3d]),_0x38ccc0=_0x6cd6da(_0x38ccc0,_0x175d8b,_0x54e70b,_0x56933c,_0x4a89c4,0xf,_0x5e0cb9[0x3e]),_0x56933c=_0x6cd6da(_0x56933c,_0x38ccc0,_0x175d8b,_0x54e70b,_0x3a58a1,0x15,_0x5e0cb9[0x3f]),_0x5157f7[0x0]=_0x5157f7[0x0]+_0x54e70b|0x0,_0x5157f7[0x1]=_0x5157f7[0x1]+_0x56933c|0x0,_0x5157f7[0x2]=_0x5157f7[0x2]+_0x38ccc0|0x0,_0x5157f7[0x3]=_0x5157f7[0x3]+_0x175d8b|0x0;},'_doFinalize':function(){var _0x56ebf9=_0x58a8fc,_0x54ea0c=this[_0x56ebf9(0x468)],_0x5c4696=_0x54ea0c['words'],_0x5ac439=this[_0x56ebf9(0x417)]*0x8,_0x20e02b=_0x54ea0c[_0x56ebf9(0x226)]*0x8;_0x5c4696[_0x20e02b>>>0x5]|=0x80<<0x18-_0x20e02b%0x20;var _0xb141ac=_0x15a689[_0x56ebf9(0x376)](_0x5ac439/0x100000000),_0x1abaff=_0x5ac439;_0x5c4696[(_0x20e02b+0x40>>>0x9<<0x4)+0xf]=(_0xb141ac<<0x8|_0xb141ac>>>0x18)&0xff00ff|(_0xb141ac<<0x18|_0xb141ac>>>0x8)&0xff00ff00,_0x5c4696[(_0x20e02b+0x40>>>0x9<<0x4)+0xe]=(_0x1abaff<<0x8|_0x1abaff>>>0x18)&0xff00ff|(_0x1abaff<<0x18|_0x1abaff>>>0x8)&0xff00ff00,_0x54ea0c[_0x56ebf9(0x226)]=(_0x5c4696[_0x56ebf9(0x1f9)]+0x1)*0x4,this[_0x56ebf9(0x382)]();for(var _0x12137b=this[_0x56ebf9(0x166)],_0x53ebb1=_0x12137b[_0x56ebf9(0x2a4)],_0x3bf75e=0x0;_0x3bf75e<0x4;_0x3bf75e++){var _0x49dad4=_0x53ebb1[_0x3bf75e];_0x53ebb1[_0x3bf75e]=(_0x49dad4<<0x8|_0x49dad4>>>0x18)&0xff00ff|(_0x49dad4<<0x18|_0x49dad4>>>0x8)&0xff00ff00;}return _0x12137b;},'clone':function(){var _0x58b791=_0x58a8fc,_0xbe8d9c=_0x36405f[_0x58b791(0x18b)][_0x58b791(0x1ff)](this);return _0xbe8d9c[_0x58b791(0x166)]=this['_hash'][_0x58b791(0x18b)](),_0xbe8d9c;}});function _0x415ac3(_0x481f47,_0x2428e3,_0x1decbe,_0x3bec8e,_0x1719cc,_0x10edd4,_0x2e5173){var _0x56231b=_0x481f47+(_0x2428e3&_0x1decbe|~_0x2428e3&_0x3bec8e)+_0x1719cc+_0x2e5173;return(_0x56231b<<_0x10edd4|_0x56231b>>>0x20-_0x10edd4)+_0x2428e3;}function _0x1ad036(_0x922f18,_0x372e70,_0x58416b,_0x547dfa,_0x397fa1,_0x2e6511,_0x39abdb){var _0x2672e5=_0x922f18+(_0x372e70&_0x547dfa|_0x58416b&~_0x547dfa)+_0x397fa1+_0x39abdb;return(_0x2672e5<<_0x2e6511|_0x2672e5>>>0x20-_0x2e6511)+_0x372e70;}function _0x3e2060(_0x55ca70,_0x1ae4f4,_0x36b62a,_0x4a6353,_0xc7b37d,_0x512da9,_0x39be1b){var _0x4f1629=_0x55ca70+(_0x1ae4f4^_0x36b62a^_0x4a6353)+_0xc7b37d+_0x39be1b;return(_0x4f1629<<_0x512da9|_0x4f1629>>>0x20-_0x512da9)+_0x1ae4f4;}function _0x6cd6da(_0x2f52e0,_0x1c79e4,_0x19808e,_0x3fabb2,_0x36da9c,_0x41be81,_0x43e699){var _0x32ebcb=_0x2f52e0+(_0x19808e^(_0x1c79e4|~_0x3fabb2))+_0x36da9c+_0x43e699;return(_0x32ebcb<<_0x41be81|_0x32ebcb>>>0x20-_0x41be81)+_0x1c79e4;}_0x4bcf96[_0x58a8fc(0x215)]=_0x36405f['_createHelper'](_0x330829),_0x4bcf96[_0x58a8fc(0x12b)]=_0x36405f[_0x58a8fc(0x1ef)](_0x330829);}(Math),_0x5d7ab1[_0x3e0de6(0x215)];}));}(ge)),ge[_0x2b1e1b(0x493)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x2abf12=_0xe3a83a;return Ze||(Ze=0x1,function(_0x9ee63a,_0x4b40b1){(function(_0x5ea7dd,_0x1b6ed6){_0x9ee63a['exports']=_0x1b6ed6(Q());}(Ai,function(_0x1691ba){var _0x3b8ac8=_0x1706;return(function(){var _0x3767a5=_0x1706,_0x1458f7=_0x1691ba,_0x145a33=_0x1458f7[_0x3767a5(0x48b)],_0x3377f7=_0x145a33[_0x3767a5(0x2d9)],_0x4cc46c=_0x145a33['Hasher'],_0x4de018=_0x1458f7[_0x3767a5(0x190)],_0x3fba44=[],_0x39bcde=_0x4de018['SHA1']=_0x4cc46c['extend']({'_doReset':function(){var _0x246834=_0x3767a5;this['_hash']=new _0x3377f7[(_0x246834(0x230))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x278294,_0x4ff469){var _0x39e668=_0x3767a5;for(var _0x6e756b=this['_hash'][_0x39e668(0x2a4)],_0x514e2d=_0x6e756b[0x0],_0x46c653=_0x6e756b[0x1],_0x15a9b5=_0x6e756b[0x2],_0x190034=_0x6e756b[0x3],_0xd025b2=_0x6e756b[0x4],_0x1ca081=0x0;_0x1ca081<0x50;_0x1ca081++){if(_0x1ca081<0x10)_0x3fba44[_0x1ca081]=_0x278294[_0x4ff469+_0x1ca081]|0x0;else{var _0x3e464d=_0x3fba44[_0x1ca081-0x3]^_0x3fba44[_0x1ca081-0x8]^_0x3fba44[_0x1ca081-0xe]^_0x3fba44[_0x1ca081-0x10];_0x3fba44[_0x1ca081]=_0x3e464d<<0x1|_0x3e464d>>>0x1f;}var _0x35039f=(_0x514e2d<<0x5|_0x514e2d>>>0x1b)+_0xd025b2+_0x3fba44[_0x1ca081];_0x1ca081<0x14?_0x35039f+=(_0x46c653&_0x15a9b5|~_0x46c653&_0x190034)+0x5a827999:_0x1ca081<0x28?_0x35039f+=(_0x46c653^_0x15a9b5^_0x190034)+0x6ed9eba1:_0x1ca081<0x3c?_0x35039f+=(_0x46c653&_0x15a9b5|_0x46c653&_0x190034|_0x15a9b5&_0x190034)-0x70e44324:_0x35039f+=(_0x46c653^_0x15a9b5^_0x190034)-0x359d3e2a,_0xd025b2=_0x190034,_0x190034=_0x15a9b5,_0x15a9b5=_0x46c653<<0x1e|_0x46c653>>>0x2,_0x46c653=_0x514e2d,_0x514e2d=_0x35039f;}_0x6e756b[0x0]=_0x6e756b[0x0]+_0x514e2d|0x0,_0x6e756b[0x1]=_0x6e756b[0x1]+_0x46c653|0x0,_0x6e756b[0x2]=_0x6e756b[0x2]+_0x15a9b5|0x0,_0x6e756b[0x3]=_0x6e756b[0x3]+_0x190034|0x0,_0x6e756b[0x4]=_0x6e756b[0x4]+_0xd025b2|0x0;},'_doFinalize':function(){var _0x2c6b9d=_0x3767a5,_0x403a8d=this[_0x2c6b9d(0x468)],_0x3bb2ae=_0x403a8d[_0x2c6b9d(0x2a4)],_0x25011c=this[_0x2c6b9d(0x417)]*0x8,_0x3c9d0d=_0x403a8d[_0x2c6b9d(0x226)]*0x8;return _0x3bb2ae[_0x3c9d0d>>>0x5]|=0x80<<0x18-_0x3c9d0d%0x20,_0x3bb2ae[(_0x3c9d0d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x25011c/0x100000000),_0x3bb2ae[(_0x3c9d0d+0x40>>>0x9<<0x4)+0xf]=_0x25011c,_0x403a8d['sigBytes']=_0x3bb2ae[_0x2c6b9d(0x1f9)]*0x4,this[_0x2c6b9d(0x382)](),this[_0x2c6b9d(0x166)];},'clone':function(){var _0xed62f0=_0x3767a5,_0xb909e7=_0x4cc46c[_0xed62f0(0x18b)]['call'](this);return _0xb909e7[_0xed62f0(0x166)]=this[_0xed62f0(0x166)][_0xed62f0(0x18b)](),_0xb909e7;}});_0x1458f7[_0x3767a5(0x336)]=_0x4cc46c[_0x3767a5(0x418)](_0x39bcde),_0x1458f7['HmacSHA1']=_0x4cc46c[_0x3767a5(0x1ef)](_0x39bcde);}()),_0x1691ba[_0x3b8ac8(0x336)];}));}(me)),me[_0x2abf12(0x493)];}var Ce={'exports':{}},wi=Ce[_0xe3a83a(0x493)],Qe;function Li(){var _0x262def=_0xe3a83a;return Qe||(Qe=0x1,function(_0x278a3d,_0x486f3b){(function(_0x798ada,_0xd6792b){var _0x20b660=_0x1706;_0x278a3d[_0x20b660(0x493)]=_0xd6792b(Q());}(wi,function(_0x5eb209){(function(){var _0x4fc90d=_0x1706,_0x268320=_0x5eb209,_0x555f46=_0x268320[_0x4fc90d(0x48b)],_0x43f388=_0x555f46[_0x4fc90d(0x340)],_0x3d1eba=_0x268320[_0x4fc90d(0x23c)],_0x1bb9ae=_0x3d1eba[_0x4fc90d(0x245)],_0x379bae=_0x268320[_0x4fc90d(0x190)];_0x379bae['HMAC']=_0x43f388[_0x4fc90d(0x205)]({'init':function(_0x4691e7,_0x1b393f){var _0x4fd3ab=_0x4fc90d;_0x4691e7=this[_0x4fd3ab(0x3eb)]=new _0x4691e7[(_0x4fd3ab(0x230))](),typeof _0x1b393f=='string'&&(_0x1b393f=_0x1bb9ae[_0x4fd3ab(0x464)](_0x1b393f));var _0x20584a=_0x4691e7[_0x4fd3ab(0x3dc)],_0x46d0ca=_0x20584a*0x4;_0x1b393f[_0x4fd3ab(0x226)]>_0x46d0ca&&(_0x1b393f=_0x4691e7[_0x4fd3ab(0x22d)](_0x1b393f)),_0x1b393f['clamp']();for(var _0x50d178=this[_0x4fd3ab(0x122)]=_0x1b393f[_0x4fd3ab(0x18b)](),_0x57b4f9=this[_0x4fd3ab(0x2ae)]=_0x1b393f[_0x4fd3ab(0x18b)](),_0x20f157=_0x50d178['words'],_0x2bbcab=_0x57b4f9['words'],_0x4cea10=0x0;_0x4cea10<_0x20584a;_0x4cea10++)_0x20f157[_0x4cea10]^=0x5c5c5c5c,_0x2bbcab[_0x4cea10]^=0x36363636;_0x50d178[_0x4fd3ab(0x226)]=_0x57b4f9[_0x4fd3ab(0x226)]=_0x46d0ca,this['reset']();},'reset':function(){var _0x1b2311=_0x4fc90d,_0xd46ae4=this['_hasher'];_0xd46ae4[_0x1b2311(0x3d6)](),_0xd46ae4[_0x1b2311(0x3d1)](this[_0x1b2311(0x2ae)]);},'update':function(_0x171897){var _0x5e800d=_0x4fc90d;return this[_0x5e800d(0x3eb)]['update'](_0x171897),this;},'finalize':function(_0x50435e){var _0x3024e7=_0x4fc90d,_0x52d205=this[_0x3024e7(0x3eb)],_0x12427e=_0x52d205[_0x3024e7(0x22d)](_0x50435e);_0x52d205['reset']();var _0x2462a2=_0x52d205[_0x3024e7(0x22d)](this[_0x3024e7(0x122)]['clone']()[_0x3024e7(0x36a)](_0x12427e));return _0x2462a2;}});}());}));}(Ce)),Ce[_0x262def(0x493)];}var Mi=Ee['exports'],et;function Nt(){var _0x342020=_0xe3a83a;return et||(et=0x1,function(_0x2d88ec,_0x4ffa0d){(function(_0x3392b1,_0x263925,_0x4294c4){var _0x4c7d24=_0x1706;_0x2d88ec[_0x4c7d24(0x493)]=_0x263925(Q(),Pi(),Li());}(Mi,function(_0x1244ed){return(function(){var _0x1f66a6=_0x1706,_0x5e4eb1=_0x1244ed,_0x259e71=_0x5e4eb1[_0x1f66a6(0x48b)],_0x4c077f=_0x259e71['Base'],_0x2fa068=_0x259e71[_0x1f66a6(0x2d9)],_0x548c86=_0x5e4eb1[_0x1f66a6(0x190)],_0x3e579a=_0x548c86[_0x1f66a6(0x215)],_0x146d2b=_0x548c86[_0x1f66a6(0x2ef)]=_0x4c077f['extend']({'cfg':_0x4c077f[_0x1f66a6(0x205)]({'keySize':0x80/0x20,'hasher':_0x3e579a,'iterations':0x1}),'init':function(_0x3cb5b8){var _0x190eb3=_0x1f66a6;this['cfg']=this[_0x190eb3(0x45f)][_0x190eb3(0x205)](_0x3cb5b8);},'compute':function(_0x500ef9,_0x413f89){var _0x35ceac=_0x1f66a6;for(var _0x41db0e,_0x152e80=this['cfg'],_0x45b3e3=_0x152e80['hasher']['create'](),_0xabed57=_0x2fa068[_0x35ceac(0x3a3)](),_0x8fa129=_0xabed57[_0x35ceac(0x2a4)],_0x3f43dc=_0x152e80[_0x35ceac(0x3cd)],_0x45b1f9=_0x152e80[_0x35ceac(0x3d3)];_0x8fa129[_0x35ceac(0x1f9)]<_0x3f43dc;){_0x41db0e&&_0x45b3e3[_0x35ceac(0x3d1)](_0x41db0e),_0x41db0e=_0x45b3e3['update'](_0x500ef9)['finalize'](_0x413f89),_0x45b3e3[_0x35ceac(0x3d6)]();for(var _0x362295=0x1;_0x362295<_0x45b1f9;_0x362295++)_0x41db0e=_0x45b3e3[_0x35ceac(0x22d)](_0x41db0e),_0x45b3e3[_0x35ceac(0x3d6)]();_0xabed57[_0x35ceac(0x36a)](_0x41db0e);}return _0xabed57['sigBytes']=_0x3f43dc*0x4,_0xabed57;}});_0x5e4eb1[_0x1f66a6(0x2ef)]=function(_0x12e878,_0x360dee,_0xa52537){var _0x30b127=_0x1f66a6;return _0x146d2b[_0x30b127(0x3a3)](_0xa52537)['compute'](_0x12e878,_0x360dee);};}()),_0x1244ed['EvpKDF'];}));}(Ee)),Ee[_0x342020(0x493)];}var Te={'exports':{}},xi=Te['exports'],tt;function Ut(){var _0x2b29c2=_0xe3a83a;return tt||(tt=0x1,function(_0x4ddefb,_0x2fe6c3){(function(_0x790556,_0xa7b6af,_0x26c952){_0x4ddefb['exports']=_0xa7b6af(Q(),Nt());}(xi,function(_0xc310bc){var _0x146191=_0x1706;_0xc310bc['lib'][_0x146191(0x17a)]||function(_0x46a1e0){var _0x4abe0a=_0x146191,_0x23f474=_0xc310bc,_0x37cc57=_0x23f474[_0x4abe0a(0x48b)],_0x432f7d=_0x37cc57['Base'],_0x534b74=_0x37cc57[_0x4abe0a(0x2d9)],_0x531495=_0x37cc57[_0x4abe0a(0x333)],_0x772a5d=_0x23f474['enc'];_0x772a5d[_0x4abe0a(0x245)];var _0x1ee75e=_0x772a5d[_0x4abe0a(0x25a)],_0x2bd531=_0x23f474[_0x4abe0a(0x190)],_0x46078c=_0x2bd531['EvpKDF'],_0x231797=_0x37cc57[_0x4abe0a(0x17a)]=_0x531495['extend']({'cfg':_0x432f7d[_0x4abe0a(0x205)](),'createEncryptor':function(_0x2e30c6,_0x2c063c){var _0x1fedb3=_0x4abe0a;return this[_0x1fedb3(0x3a3)](this[_0x1fedb3(0x3b9)],_0x2e30c6,_0x2c063c);},'createDecryptor':function(_0x255538,_0x5025d6){var _0x4b2614=_0x4abe0a;return this[_0x4b2614(0x3a3)](this['_DEC_XFORM_MODE'],_0x255538,_0x5025d6);},'init':function(_0x5cc3cf,_0x5cd478,_0x6b8823){var _0x5d5089=_0x4abe0a;this['cfg']=this['cfg'][_0x5d5089(0x205)](_0x6b8823),this[_0x5d5089(0x132)]=_0x5cc3cf,this[_0x5d5089(0x3bb)]=_0x5cd478,this[_0x5d5089(0x3d6)]();},'reset':function(){var _0x24479b=_0x4abe0a;_0x531495[_0x24479b(0x3d6)][_0x24479b(0x1ff)](this),this[_0x24479b(0x305)]();},'process':function(_0x5cd975){var _0x3b2b90=_0x4abe0a;return this[_0x3b2b90(0x23d)](_0x5cd975),this[_0x3b2b90(0x382)]();},'finalize':function(_0x40eedb){var _0x505a86=_0x4abe0a;_0x40eedb&&this[_0x505a86(0x23d)](_0x40eedb);var _0x42fd69=this[_0x505a86(0x326)]();return _0x42fd69;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f89ad(_0x123ed7){var _0x44347a=_0x1706;return typeof _0x123ed7==_0x44347a(0x30f)?_0x41ec28:_0x340fcb;}return function(_0x3c0a1c){return{'encrypt':function(_0x2f6da3,_0x2fdd7b,_0x415d33){var _0x4f2de7=_0x1706;return _0x3f89ad(_0x2fdd7b)[_0x4f2de7(0x32b)](_0x3c0a1c,_0x2f6da3,_0x2fdd7b,_0x415d33);},'decrypt':function(_0x436aef,_0x2ac622,_0xdda1b2){var _0x39f335=_0x1706;return _0x3f89ad(_0x2ac622)[_0x39f335(0x48e)](_0x3c0a1c,_0x436aef,_0x2ac622,_0xdda1b2);}};};}())});_0x37cc57[_0x4abe0a(0x21d)]=_0x231797[_0x4abe0a(0x205)]({'_doFinalize':function(){var _0x30e52d=_0x4abe0a,_0xffd5c=this[_0x30e52d(0x382)](!0x0);return _0xffd5c;},'blockSize':0x1});var _0x571ac6=_0x23f474[_0x4abe0a(0x1f5)]={},_0x531ed6=_0x37cc57[_0x4abe0a(0x406)]=_0x432f7d[_0x4abe0a(0x205)]({'createEncryptor':function(_0x504cf7,_0xa60748){var _0x2c844b=_0x4abe0a;return this[_0x2c844b(0x3ed)][_0x2c844b(0x3a3)](_0x504cf7,_0xa60748);},'createDecryptor':function(_0x5c8209,_0x2fb6af){var _0xb7a501=_0x4abe0a;return this[_0xb7a501(0x366)][_0xb7a501(0x3a3)](_0x5c8209,_0x2fb6af);},'init':function(_0xcb9e27,_0x43bd9e){var _0x57cae7=_0x4abe0a;this[_0x57cae7(0x38f)]=_0xcb9e27,this['_iv']=_0x43bd9e;}}),_0x232166=_0x571ac6[_0x4abe0a(0x1d0)]=(function(){var _0x579935=_0x4abe0a,_0x27eddb=_0x531ed6[_0x579935(0x205)]();_0x27eddb[_0x579935(0x3ed)]=_0x27eddb['extend']({'processBlock':function(_0x2648f3,_0x3fb25a){var _0x5d5c78=_0x579935,_0x62bcc2=this[_0x5d5c78(0x38f)],_0x3aeca7=_0x62bcc2['blockSize'];_0x198d58['call'](this,_0x2648f3,_0x3fb25a,_0x3aeca7),_0x62bcc2[_0x5d5c78(0x214)](_0x2648f3,_0x3fb25a),this['_prevBlock']=_0x2648f3['slice'](_0x3fb25a,_0x3fb25a+_0x3aeca7);}}),_0x27eddb[_0x579935(0x366)]=_0x27eddb['extend']({'processBlock':function(_0x35d5df,_0x1da94e){var _0x5defde=_0x579935,_0x36e1db=this['_cipher'],_0x2a0535=_0x36e1db[_0x5defde(0x3dc)],_0x4beb77=_0x35d5df[_0x5defde(0x294)](_0x1da94e,_0x1da94e+_0x2a0535);_0x36e1db[_0x5defde(0x436)](_0x35d5df,_0x1da94e),_0x198d58[_0x5defde(0x1ff)](this,_0x35d5df,_0x1da94e,_0x2a0535),this[_0x5defde(0x119)]=_0x4beb77;}});function _0x198d58(_0xdbdc18,_0x26a843,_0x59bc13){var _0x446e9b=_0x579935,_0x5c8f5d,_0x5a0db7=this[_0x446e9b(0x131)];_0x5a0db7?(_0x5c8f5d=_0x5a0db7,this['_iv']=_0x46a1e0):_0x5c8f5d=this['_prevBlock'];for(var _0x5c3591=0x0;_0x5c3591<_0x59bc13;_0x5c3591++)_0xdbdc18[_0x26a843+_0x5c3591]^=_0x5c8f5d[_0x5c3591];}return _0x27eddb;}()),_0x5015bd=_0x23f474[_0x4abe0a(0x423)]={},_0x6fb2f2=_0x5015bd[_0x4abe0a(0x2cf)]={'pad':function(_0x322700,_0x3446d6){var _0x57277f=_0x4abe0a;for(var _0x1067f3=_0x3446d6*0x4,_0x129036=_0x1067f3-_0x322700['sigBytes']%_0x1067f3,_0x28fef3=_0x129036<<0x18|_0x129036<<0x10|_0x129036<<0x8|_0x129036,_0x51da11=[],_0x563178=0x0;_0x563178<_0x129036;_0x563178+=0x4)_0x51da11['push'](_0x28fef3);var _0x55446c=_0x534b74[_0x57277f(0x3a3)](_0x51da11,_0x129036);_0x322700[_0x57277f(0x36a)](_0x55446c);},'unpad':function(_0xe6d984){var _0x53783e=_0x4abe0a,_0x4422ad=_0xe6d984[_0x53783e(0x2a4)][_0xe6d984[_0x53783e(0x226)]-0x1>>>0x2]&0xff;_0xe6d984[_0x53783e(0x226)]-=_0x4422ad;}};_0x37cc57[_0x4abe0a(0x1fc)]=_0x231797[_0x4abe0a(0x205)]({'cfg':_0x231797[_0x4abe0a(0x45f)]['extend']({'mode':_0x232166,'padding':_0x6fb2f2}),'reset':function(){var _0x4692ce=_0x4abe0a,_0x2056b9;_0x231797[_0x4692ce(0x3d6)][_0x4692ce(0x1ff)](this);var _0x57a29c=this[_0x4692ce(0x45f)],_0x277d6c=_0x57a29c['iv'],_0x138217=_0x57a29c[_0x4692ce(0x1f5)];this[_0x4692ce(0x132)]==this[_0x4692ce(0x3b9)]?_0x2056b9=_0x138217[_0x4692ce(0x485)]:(_0x2056b9=_0x138217[_0x4692ce(0x175)],this[_0x4692ce(0x435)]=0x1),this['_mode']&&this['_mode'][_0x4692ce(0x27c)]==_0x2056b9?this[_0x4692ce(0x3d9)][_0x4692ce(0x230)](this,_0x277d6c&&_0x277d6c[_0x4692ce(0x2a4)]):(this[_0x4692ce(0x3d9)]=_0x2056b9[_0x4692ce(0x1ff)](_0x138217,this,_0x277d6c&&_0x277d6c[_0x4692ce(0x2a4)]),this['_mode'][_0x4692ce(0x27c)]=_0x2056b9);},'_doProcessBlock':function(_0x59a3fe,_0x2bf143){var _0x11e940=_0x4abe0a;this[_0x11e940(0x3d9)][_0x11e940(0x476)](_0x59a3fe,_0x2bf143);},'_doFinalize':function(){var _0x228080=_0x4abe0a,_0xc6ce05,_0x244459=this[_0x228080(0x45f)][_0x228080(0x32a)];return this[_0x228080(0x132)]==this[_0x228080(0x3b9)]?(_0x244459[_0x228080(0x423)](this[_0x228080(0x468)],this[_0x228080(0x3dc)]),_0xc6ce05=this[_0x228080(0x382)](!0x0)):(_0xc6ce05=this['_process'](!0x0),_0x244459[_0x228080(0x1a8)](_0xc6ce05)),_0xc6ce05;},'blockSize':0x80/0x20});var _0x3d4dbc=_0x37cc57[_0x4abe0a(0x45e)]=_0x432f7d[_0x4abe0a(0x205)]({'init':function(_0x201b23){this['mixIn'](_0x201b23);},'toString':function(_0x59e737){var _0x322395=_0x4abe0a;return(_0x59e737||this[_0x322395(0x344)])[_0x322395(0x1b6)](this);}}),_0x559b37=_0x23f474['format']={},_0x5328da=_0x559b37[_0x4abe0a(0x458)]={'stringify':function(_0xa30502){var _0x6767ad=_0x4abe0a,_0x1b3350,_0x2b9bdf=_0xa30502[_0x6767ad(0x240)],_0x5aab6c=_0xa30502[_0x6767ad(0x3bc)];return _0x5aab6c?_0x1b3350=_0x534b74[_0x6767ad(0x3a3)]([0x53616c74,0x65645f5f])['concat'](_0x5aab6c)[_0x6767ad(0x36a)](_0x2b9bdf):_0x1b3350=_0x2b9bdf,_0x1b3350[_0x6767ad(0x388)](_0x1ee75e);},'parse':function(_0x20babe){var _0x4b39d1=_0x4abe0a,_0x1dd799,_0x10e976=_0x1ee75e['parse'](_0x20babe),_0x1bb47d=_0x10e976[_0x4b39d1(0x2a4)];return _0x1bb47d[0x0]==0x53616c74&&_0x1bb47d[0x1]==0x65645f5f&&(_0x1dd799=_0x534b74[_0x4b39d1(0x3a3)](_0x1bb47d[_0x4b39d1(0x294)](0x2,0x4)),_0x1bb47d[_0x4b39d1(0x3f4)](0x0,0x4),_0x10e976[_0x4b39d1(0x226)]-=0x10),_0x3d4dbc[_0x4b39d1(0x3a3)]({'ciphertext':_0x10e976,'salt':_0x1dd799});}},_0x340fcb=_0x37cc57[_0x4abe0a(0x398)]=_0x432f7d[_0x4abe0a(0x205)]({'cfg':_0x432f7d['extend']({'format':_0x5328da}),'encrypt':function(_0x2f82ef,_0x30564a,_0x42395d,_0x36ef12){var _0x566e1b=_0x4abe0a;_0x36ef12=this[_0x566e1b(0x45f)][_0x566e1b(0x205)](_0x36ef12);var _0x224bb2=_0x2f82ef[_0x566e1b(0x485)](_0x42395d,_0x36ef12),_0x557072=_0x224bb2[_0x566e1b(0x22d)](_0x30564a),_0xe1248f=_0x224bb2[_0x566e1b(0x45f)];return _0x3d4dbc[_0x566e1b(0x3a3)]({'ciphertext':_0x557072,'key':_0x42395d,'iv':_0xe1248f['iv'],'algorithm':_0x2f82ef,'mode':_0xe1248f[_0x566e1b(0x1f5)],'padding':_0xe1248f[_0x566e1b(0x32a)],'blockSize':_0x2f82ef[_0x566e1b(0x3dc)],'formatter':_0x36ef12[_0x566e1b(0x438)]});},'decrypt':function(_0x45e856,_0x83800a,_0x4c17e1,_0x1481ba){var _0x224ceb=_0x4abe0a;_0x1481ba=this['cfg'][_0x224ceb(0x205)](_0x1481ba),_0x83800a=this[_0x224ceb(0x393)](_0x83800a,_0x1481ba[_0x224ceb(0x438)]);var _0x30e539=_0x45e856['createDecryptor'](_0x4c17e1,_0x1481ba)['finalize'](_0x83800a[_0x224ceb(0x240)]);return _0x30e539;},'_parse':function(_0x52911b,_0x3cd8ea){var _0x1b8b0=_0x4abe0a;return typeof _0x52911b==_0x1b8b0(0x30f)?_0x3cd8ea[_0x1b8b0(0x464)](_0x52911b,this):_0x52911b;}}),_0x3779a5=_0x23f474['kdf']={},_0x3f1999=_0x3779a5['OpenSSL']={'execute':function(_0x17d01e,_0x4b2471,_0x4c54bf,_0x5e9dfc,_0x255246){var _0x3dbb81=_0x4abe0a;if(_0x5e9dfc||(_0x5e9dfc=_0x534b74[_0x3dbb81(0x31f)](0x40/0x8)),_0x255246)var _0x1fdcaf=_0x46078c[_0x3dbb81(0x3a3)]({'keySize':_0x4b2471+_0x4c54bf,'hasher':_0x255246})[_0x3dbb81(0x478)](_0x17d01e,_0x5e9dfc);else var _0x1fdcaf=_0x46078c['create']({'keySize':_0x4b2471+_0x4c54bf})[_0x3dbb81(0x478)](_0x17d01e,_0x5e9dfc);var _0x27670c=_0x534b74[_0x3dbb81(0x3a3)](_0x1fdcaf[_0x3dbb81(0x2a4)]['slice'](_0x4b2471),_0x4c54bf*0x4);return _0x1fdcaf[_0x3dbb81(0x226)]=_0x4b2471*0x4,_0x3d4dbc[_0x3dbb81(0x3a3)]({'key':_0x1fdcaf,'iv':_0x27670c,'salt':_0x5e9dfc});}},_0x41ec28=_0x37cc57['PasswordBasedCipher']=_0x340fcb[_0x4abe0a(0x205)]({'cfg':_0x340fcb[_0x4abe0a(0x45f)][_0x4abe0a(0x205)]({'kdf':_0x3f1999}),'encrypt':function(_0x6bfd49,_0x248557,_0x51313c,_0xa016e){var _0x3fd884=_0x4abe0a;_0xa016e=this[_0x3fd884(0x45f)][_0x3fd884(0x205)](_0xa016e);var _0x56c0a5=_0xa016e[_0x3fd884(0x20d)][_0x3fd884(0x318)](_0x51313c,_0x6bfd49[_0x3fd884(0x3cd)],_0x6bfd49[_0x3fd884(0x12d)],_0xa016e[_0x3fd884(0x3bc)],_0xa016e[_0x3fd884(0x259)]);_0xa016e['iv']=_0x56c0a5['iv'];var _0x478b6d=_0x340fcb['encrypt'][_0x3fd884(0x1ff)](this,_0x6bfd49,_0x248557,_0x56c0a5[_0x3fd884(0x3c0)],_0xa016e);return _0x478b6d['mixIn'](_0x56c0a5),_0x478b6d;},'decrypt':function(_0x268eca,_0x49103e,_0x1062a0,_0x52ccb2){var _0x29f1f9=_0x4abe0a;_0x52ccb2=this['cfg']['extend'](_0x52ccb2),_0x49103e=this[_0x29f1f9(0x393)](_0x49103e,_0x52ccb2[_0x29f1f9(0x438)]);var _0x5c0baa=_0x52ccb2[_0x29f1f9(0x20d)]['execute'](_0x1062a0,_0x268eca['keySize'],_0x268eca[_0x29f1f9(0x12d)],_0x49103e[_0x29f1f9(0x3bc)],_0x52ccb2[_0x29f1f9(0x259)]);_0x52ccb2['iv']=_0x5c0baa['iv'];var _0x11eb61=_0x340fcb[_0x29f1f9(0x48e)][_0x29f1f9(0x1ff)](this,_0x268eca,_0x49103e,_0x5c0baa[_0x29f1f9(0x3c0)],_0x52ccb2);return _0x11eb61;}});}();}));}(Te)),Te[_0x2b29c2(0x493)];}var ki=fe[_0xe3a83a(0x493)],it;function Hi(){var _0x109785=_0xe3a83a;return it||(it=0x1,function(_0x65662a,_0x41a96c){(function(_0x575934,_0x1b41b7,_0x1080c6){var _0xdbb54a=_0x1706;_0x65662a[_0xdbb54a(0x493)]=_0x1b41b7(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0xc24bb){var _0xce7f74=_0x1706;return(function(){var _0x4ac9da=_0x1706,_0x3440a5=_0xc24bb,_0x563b7e=_0x3440a5[_0x4ac9da(0x48b)],_0x3d01bb=_0x563b7e[_0x4ac9da(0x1fc)],_0x3a0d47=_0x3440a5[_0x4ac9da(0x190)],_0x1c06ae=[],_0x3e7f04=[],_0x5df56a=[],_0x419e41=[],_0x31e7e2=[],_0x1f2cd4=[],_0x124f86=[],_0x5dc41e=[],_0x13d4fe=[],_0x5c1313=[];(function(){for(var _0x5412c4=[],_0x4f0d35=0x0;_0x4f0d35<0x100;_0x4f0d35++)_0x4f0d35<0x80?_0x5412c4[_0x4f0d35]=_0x4f0d35<<0x1:_0x5412c4[_0x4f0d35]=_0x4f0d35<<0x1^0x11b;for(var _0x41ec1f=0x0,_0x4023dd=0x0,_0x4f0d35=0x0;_0x4f0d35<0x100;_0x4f0d35++){var _0xd17a5a=_0x4023dd^_0x4023dd<<0x1^_0x4023dd<<0x2^_0x4023dd<<0x3^_0x4023dd<<0x4;_0xd17a5a=_0xd17a5a>>>0x8^_0xd17a5a&0xff^0x63,_0x1c06ae[_0x41ec1f]=_0xd17a5a,_0x3e7f04[_0xd17a5a]=_0x41ec1f;var _0x298d9f=_0x5412c4[_0x41ec1f],_0x4a7310=_0x5412c4[_0x298d9f],_0x1c610e=_0x5412c4[_0x4a7310],_0x18f1c0=_0x5412c4[_0xd17a5a]*0x101^_0xd17a5a*0x1010100;_0x5df56a[_0x41ec1f]=_0x18f1c0<<0x18|_0x18f1c0>>>0x8,_0x419e41[_0x41ec1f]=_0x18f1c0<<0x10|_0x18f1c0>>>0x10,_0x31e7e2[_0x41ec1f]=_0x18f1c0<<0x8|_0x18f1c0>>>0x18,_0x1f2cd4[_0x41ec1f]=_0x18f1c0;var _0x18f1c0=_0x1c610e*0x1010101^_0x4a7310*0x10001^_0x298d9f*0x101^_0x41ec1f*0x1010100;_0x124f86[_0xd17a5a]=_0x18f1c0<<0x18|_0x18f1c0>>>0x8,_0x5dc41e[_0xd17a5a]=_0x18f1c0<<0x10|_0x18f1c0>>>0x10,_0x13d4fe[_0xd17a5a]=_0x18f1c0<<0x8|_0x18f1c0>>>0x18,_0x5c1313[_0xd17a5a]=_0x18f1c0,_0x41ec1f?(_0x41ec1f=_0x298d9f^_0x5412c4[_0x5412c4[_0x5412c4[_0x1c610e^_0x298d9f]]],_0x4023dd^=_0x5412c4[_0x5412c4[_0x4023dd]]):_0x41ec1f=_0x4023dd=0x1;}}());var _0x44120a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3c1251=_0x3a0d47['AES']=_0x3d01bb[_0x4ac9da(0x205)]({'_doReset':function(){var _0x5e0552=_0x4ac9da,_0x5814e9;if(!(this[_0x5e0552(0x2b7)]&&this['_keyPriorReset']===this['_key'])){for(var _0x81c6d6=this['_keyPriorReset']=this['_key'],_0x1bf7eb=_0x81c6d6[_0x5e0552(0x2a4)],_0x2e6792=_0x81c6d6[_0x5e0552(0x226)]/0x4,_0x38de35=this[_0x5e0552(0x2b7)]=_0x2e6792+0x6,_0x411a8a=(_0x38de35+0x1)*0x4,_0xfd6229=this[_0x5e0552(0x254)]=[],_0x35ce1b=0x0;_0x35ce1b<_0x411a8a;_0x35ce1b++)_0x35ce1b<_0x2e6792?_0xfd6229[_0x35ce1b]=_0x1bf7eb[_0x35ce1b]:(_0x5814e9=_0xfd6229[_0x35ce1b-0x1],_0x35ce1b%_0x2e6792?_0x2e6792>0x6&&_0x35ce1b%_0x2e6792==0x4&&(_0x5814e9=_0x1c06ae[_0x5814e9>>>0x18]<<0x18|_0x1c06ae[_0x5814e9>>>0x10&0xff]<<0x10|_0x1c06ae[_0x5814e9>>>0x8&0xff]<<0x8|_0x1c06ae[_0x5814e9&0xff]):(_0x5814e9=_0x5814e9<<0x8|_0x5814e9>>>0x18,_0x5814e9=_0x1c06ae[_0x5814e9>>>0x18]<<0x18|_0x1c06ae[_0x5814e9>>>0x10&0xff]<<0x10|_0x1c06ae[_0x5814e9>>>0x8&0xff]<<0x8|_0x1c06ae[_0x5814e9&0xff],_0x5814e9^=_0x44120a[_0x35ce1b/_0x2e6792|0x0]<<0x18),_0xfd6229[_0x35ce1b]=_0xfd6229[_0x35ce1b-_0x2e6792]^_0x5814e9);for(var _0x5745a8=this[_0x5e0552(0x159)]=[],_0x4c7469=0x0;_0x4c7469<_0x411a8a;_0x4c7469++){var _0x35ce1b=_0x411a8a-_0x4c7469;if(_0x4c7469%0x4)var _0x5814e9=_0xfd6229[_0x35ce1b];else var _0x5814e9=_0xfd6229[_0x35ce1b-0x4];_0x4c7469<0x4||_0x35ce1b<=0x4?_0x5745a8[_0x4c7469]=_0x5814e9:_0x5745a8[_0x4c7469]=_0x124f86[_0x1c06ae[_0x5814e9>>>0x18]]^_0x5dc41e[_0x1c06ae[_0x5814e9>>>0x10&0xff]]^_0x13d4fe[_0x1c06ae[_0x5814e9>>>0x8&0xff]]^_0x5c1313[_0x1c06ae[_0x5814e9&0xff]];}}},'encryptBlock':function(_0x5b5835,_0x52489b){var _0x37e802=_0x4ac9da;this[_0x37e802(0x291)](_0x5b5835,_0x52489b,this[_0x37e802(0x254)],_0x5df56a,_0x419e41,_0x31e7e2,_0x1f2cd4,_0x1c06ae);},'decryptBlock':function(_0x4ec334,_0x246da6){var _0x118733=_0x4ac9da,_0x346280=_0x4ec334[_0x246da6+0x1];_0x4ec334[_0x246da6+0x1]=_0x4ec334[_0x246da6+0x3],_0x4ec334[_0x246da6+0x3]=_0x346280,this[_0x118733(0x291)](_0x4ec334,_0x246da6,this[_0x118733(0x159)],_0x124f86,_0x5dc41e,_0x13d4fe,_0x5c1313,_0x3e7f04);var _0x346280=_0x4ec334[_0x246da6+0x1];_0x4ec334[_0x246da6+0x1]=_0x4ec334[_0x246da6+0x3],_0x4ec334[_0x246da6+0x3]=_0x346280;},'_doCryptBlock':function(_0x158bc9,_0x35911a,_0xb2d2c3,_0x28254d,_0x86c3aa,_0xc2c60,_0x1f14be,_0x4b30bf){for(var _0x320857=this['_nRounds'],_0x136c15=_0x158bc9[_0x35911a]^_0xb2d2c3[0x0],_0x49451e=_0x158bc9[_0x35911a+0x1]^_0xb2d2c3[0x1],_0x4265a8=_0x158bc9[_0x35911a+0x2]^_0xb2d2c3[0x2],_0x4154d7=_0x158bc9[_0x35911a+0x3]^_0xb2d2c3[0x3],_0x1c069c=0x4,_0xdc3899=0x1;_0xdc3899<_0x320857;_0xdc3899++){var _0x4f4494=_0x28254d[_0x136c15>>>0x18]^_0x86c3aa[_0x49451e>>>0x10&0xff]^_0xc2c60[_0x4265a8>>>0x8&0xff]^_0x1f14be[_0x4154d7&0xff]^_0xb2d2c3[_0x1c069c++],_0x3e0237=_0x28254d[_0x49451e>>>0x18]^_0x86c3aa[_0x4265a8>>>0x10&0xff]^_0xc2c60[_0x4154d7>>>0x8&0xff]^_0x1f14be[_0x136c15&0xff]^_0xb2d2c3[_0x1c069c++],_0xada5fc=_0x28254d[_0x4265a8>>>0x18]^_0x86c3aa[_0x4154d7>>>0x10&0xff]^_0xc2c60[_0x136c15>>>0x8&0xff]^_0x1f14be[_0x49451e&0xff]^_0xb2d2c3[_0x1c069c++],_0x338644=_0x28254d[_0x4154d7>>>0x18]^_0x86c3aa[_0x136c15>>>0x10&0xff]^_0xc2c60[_0x49451e>>>0x8&0xff]^_0x1f14be[_0x4265a8&0xff]^_0xb2d2c3[_0x1c069c++];_0x136c15=_0x4f4494,_0x49451e=_0x3e0237,_0x4265a8=_0xada5fc,_0x4154d7=_0x338644;}var _0x4f4494=(_0x4b30bf[_0x136c15>>>0x18]<<0x18|_0x4b30bf[_0x49451e>>>0x10&0xff]<<0x10|_0x4b30bf[_0x4265a8>>>0x8&0xff]<<0x8|_0x4b30bf[_0x4154d7&0xff])^_0xb2d2c3[_0x1c069c++],_0x3e0237=(_0x4b30bf[_0x49451e>>>0x18]<<0x18|_0x4b30bf[_0x4265a8>>>0x10&0xff]<<0x10|_0x4b30bf[_0x4154d7>>>0x8&0xff]<<0x8|_0x4b30bf[_0x136c15&0xff])^_0xb2d2c3[_0x1c069c++],_0xada5fc=(_0x4b30bf[_0x4265a8>>>0x18]<<0x18|_0x4b30bf[_0x4154d7>>>0x10&0xff]<<0x10|_0x4b30bf[_0x136c15>>>0x8&0xff]<<0x8|_0x4b30bf[_0x49451e&0xff])^_0xb2d2c3[_0x1c069c++],_0x338644=(_0x4b30bf[_0x4154d7>>>0x18]<<0x18|_0x4b30bf[_0x136c15>>>0x10&0xff]<<0x10|_0x4b30bf[_0x49451e>>>0x8&0xff]<<0x8|_0x4b30bf[_0x4265a8&0xff])^_0xb2d2c3[_0x1c069c++];_0x158bc9[_0x35911a]=_0x4f4494,_0x158bc9[_0x35911a+0x1]=_0x3e0237,_0x158bc9[_0x35911a+0x2]=_0xada5fc,_0x158bc9[_0x35911a+0x3]=_0x338644;},'keySize':0x100/0x20});_0x3440a5[_0x4ac9da(0x400)]=_0x3d01bb['_createHelper'](_0x3c1251);}()),_0xc24bb[_0xce7f74(0x400)];}));}(fe)),fe[_0x109785(0x493)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x2cc943=_0xe3a83a;return rt||(rt=0x1,function(_0x2298ec,_0x52866f){(function(_0x56fc63,_0x356386){_0x2298ec['exports']=_0x356386(Q());}(Fi,function(_0x4d6d11){var _0x31d3e4=_0x1706;return _0x4d6d11['enc'][_0x31d3e4(0x245)];}));}(be)),be[_0x2cc943(0x493)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0xe3a83a(0x493)],st;function Yi(){return st||(st=0x1,function(_0x53f200,_0x3b403d){(function(_0x3ad82e,_0x3c3a73){var _0x4ae050=_0x1706;_0x53f200[_0x4ae050(0x493)]=_0x3c3a73(Q());}(Ki,function(_0x5d4c7f){var _0x3d4909=_0x1706;return(function(){var _0x532919=_0x1706;if(typeof ArrayBuffer==_0x532919(0x40c)){var _0x3030fe=_0x5d4c7f,_0x224fa7=_0x3030fe['lib'],_0x17be57=_0x224fa7[_0x532919(0x2d9)],_0x679fc4=_0x17be57['init'],_0x201f97=_0x17be57[_0x532919(0x230)]=function(_0x2eef78){var _0x36f01e=_0x532919;if(_0x2eef78 instanceof ArrayBuffer&&(_0x2eef78=new Uint8Array(_0x2eef78)),(_0x2eef78 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2eef78 instanceof Uint8ClampedArray||_0x2eef78 instanceof Int16Array||_0x2eef78 instanceof Uint16Array||_0x2eef78 instanceof Int32Array||_0x2eef78 instanceof Uint32Array||_0x2eef78 instanceof Float32Array||_0x2eef78 instanceof Float64Array)&&(_0x2eef78=new Uint8Array(_0x2eef78['buffer'],_0x2eef78[_0x36f01e(0x239)],_0x2eef78[_0x36f01e(0x29b)])),_0x2eef78 instanceof Uint8Array){for(var _0x204f63=_0x2eef78[_0x36f01e(0x29b)],_0x524915=[],_0x51127e=0x0;_0x51127e<_0x204f63;_0x51127e++)_0x524915[_0x51127e>>>0x2]|=_0x2eef78[_0x51127e]<<0x18-_0x51127e%0x4*0x8;_0x679fc4['call'](this,_0x524915,_0x204f63);}else _0x679fc4[_0x36f01e(0x1ea)](this,arguments);};_0x201f97[_0x532919(0x35f)]=_0x17be57;}}()),_0x5d4c7f[_0x3d4909(0x48b)][_0x3d4909(0x2d9)];}));}(Re)),Re['exports'];}var qi=Yi();function _0x1706(_0x214ec3,_0x1ebafb){var _0x480b75=_0x480b();return _0x1706=function(_0x1706b1,_0x21b5a9){_0x1706b1=_0x1706b1-0x109;var _0x1c59b5=_0x480b75[_0x1706b1];return _0x1c59b5;},_0x1706(_0x214ec3,_0x1ebafb);}const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0xe3a83a(0x493)],ot;function Xi(){var _0x612ad5=_0xe3a83a;return ot||(ot=0x1,function(_0x1e5957,_0x218465){(function(_0x26d604,_0x26df4e,_0x3d5fd4){var _0x45fdb4=_0x1706;_0x1e5957[_0x45fdb4(0x493)]=_0x26df4e(Q(),Ut());}(Ji,function(_0x26c1d1){var _0x44d3e0=_0x1706;return _0x26c1d1[_0x44d3e0(0x423)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x26c1d1[_0x44d3e0(0x423)][_0x44d3e0(0x3e7)];}));}(Oe)),Oe[_0x612ad5(0x493)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x3cfa50,_0x2936b7){var _0x413303=_0xe3a83a;const _0x3b387b=_0x2936b7-_0x3cfa50[_0x413303(0x1f9)]%_0x2936b7,_0x1f7b30=String[_0x413303(0x459)](_0x3b387b)[_0x413303(0x257)](_0x3b387b);return _0x3cfa50+_0x1f7b30;}function tn(_0x40a37c,_0x37524e){var _0x43c725=_0xe3a83a;const _0x417eb1=zi['random'](0x10),_0x1cb36d=en(_0x40a37c,0x10),_0xfccf11=ji[_0x43c725(0x32b)](Gi[_0x43c725(0x464)](_0x1cb36d),nt[_0x43c725(0x464)](_0x37524e),{'iv':_0x417eb1,'padding':Qi});return _0x417eb1[_0x43c725(0x36a)](_0xfccf11[_0x43c725(0x240)])['toString'](nt);}function nn(){var _0x3ac27f=_0xe3a83a;const _0x57af3d=wt[_0x3ac27f(0x30b)]()['__Key__'];if(_0x57af3d){const _0x130c71={'time':Math[_0x3ac27f(0x376)](Date[_0x3ac27f(0x118)]()/0x3e8),'domain':location[_0x3ac27f(0x380)]};return tn(JSON['stringify'](_0x130c71),_0x57af3d);}}function _0x480b(){var _0x3f9356=['_remoteChangesetQueue','YUUMI_AI_RUN_FAILED','/rev/','HEARTBEAT_INTERVAL_KEY','onRemoteRej','socket\x20open.','collaboratorID','mergeOverrideWithDependencies','catch','JSONX','getUnitId','entityInit$','getTypeOfUnitDisposed$','b64DecodeUnicode','prototype','CollaborationEntity','file','location','CLOSE_ROOM','_removeRoom','duration','Decryptor','editing\x20status\x20changed\x20to','_clearLocalCache','CommandType','concat','reqId','_toggleOnline','ISingleActiveUnitService','_getUndoStack','defineProperty','clamp','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','INGEST','enableOfflineEditing','msCrypto','Hex','floor','NOT_COLLAB','_initMergeInterceptor','sessionStatus$','USERS_ENTER','_collaborationUIEventService','2478yODTUW','onSendChangeset','saveSnapshot','_incrementRevisionNumber','hostname','_collaborationSessionService','_process','createIdentifier','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_URL_KEY','_event$','add','toString','12759kEDQzl','@univerjs-pro/license','_sessions','_entityInit$','IAuthzIoService','_clearHeartbeatTimer','_cipher','YUUMI_RATE_OVER_LIMIT','ISocketService','_localCacheService','_parse','CollaborationImageIoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x20-\x20','&assign=','SerializableCipher','getImage','ITelemetryService','getFocusedUnit','LICENSE_MAX_UNITS_EXCEEDED','loadDoc','c1Prime','collabSubmitChangesetUrl','YUUMI_UNABLE_LOAD_URL','getCurrentUser','createCollaborator','create','_clearRetryConnectingTimer','Rectangle','Workbook','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[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.','_rescheduleHeartbeat','INVITE_CODE_REQUIRED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_throwTelemetryCollaborationNewChangeset','IUniverInstanceService','_transformSelections','retryConnectingInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Module','PERSON','mutations','Univer','_disableEditing','WorkbookEditablePermission','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','readInt32LE','_ENC_XFORM_MODE','LICENSE_EXPORT_SIZE_EXCEEDED','_key','salt','error$','generateRandomId','@univerjs/drawing','key','crypto','SUBMIT_CHANGESET_TIMEOUT','_decreaseWaiting','/universer-api/snapshot/','isArray','13096270ijsSuK','Malformed\x20UTF-8\x20data','liveShareNewHost','LOGIN_URL_KEY','_handler','_pendingMutations','HTTPService','keySize','debug','HTTPRequest','isTransformMutationsWithChangesetFailure','update','send','iterations','YUUMI_NO_CUBOID_FOR_QUESTION','_executeRemoteChangeset','reset','SheetTransformSelectionsService','take','_mode','getTypeOfUnitAdded$','size','blockSize','localCacheService','requestParams','[CollaborationSessionService]','close$','onload','resend','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','result','COMPRESS_MUTATION_APPLY','_networkConditionService','NoPadding','getImageSourceCache','UUID','dispose$','_hasher','liveShareOperation','Encryptor','symbol','/unit/','RxDisposable','_scheduleCollaborationTimeoutTimer','_revisionService','_createHandler','splice','commentUpdateEvent','_config','COMPLETION_FINISHED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UserProfileImg','getInterceptPoints','LIVESHARE_NEW_HOST','LEAVE','open$','newCsEvent','SEND_CHANGESET_TIMEOUT','AES','[FetchMissState]','actions','every','EMAIL_HAS_BEEN_BOUND','session.join-failed','BlockCipherMode','HttpImport','DocCollaborationEntity','_transformStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HttpExport','function','_updateLocalCache','HMAC','joinRsp','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNIVER_COLLABORATION_CLIENT_PLUGIN','setShowComponents','/block/','onCommentUpdate','awaitingChangeset','_retryConnectingTimer','_nDataBytes','_createHelper','collaboration_new_changeset','name','_retryCount','_change$','PERMISSION_DENIED','parseProtocolChangeset','isTransformChangesetsSuccess','readyForCollab','collaboration-client.local-cache-service','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','pad','loginUrlKey','/universer-api/stream/file/upload','roles','disableLocalCache','refreshPermission','subscribe','_joinRoom','/collaborator','_commandService','CollaborationUIEventId','RETRY_CONNECTING_MAX_COUNT','_onRemoteRetry','unsubscribe','_lockTransition','SUCCUSS','ImageUploadStatusType','YUUMI_ALL_TABLES_IS_INVALID','_minBufferSize','decryptBlock','ILogService','format','baseRev','LocalUndoRedoService','YUUMI_SUBSCRIPTION_NOT_FOUND','authzUrl','&source=','responseType','_sessionStatus$','disposeWithMe','INVITE_CODE_ALREADY_BOUND','HELLO','onMissedChangesetFetched','getOwnPropertyDescriptor','_shouldReportTelemetry','ws://127.0.0.1:8000/universer-api/comb/connect','fetchMiss','deleteCollaborator','HEARTBEAT_TIMEOUT_KEY','updatePermissionObjEvent','headers','_members$','JOIN_ROOM_FAILED','_getDownloadEndpointURL','125901cwaQAJ','_injector','AWAITING','_queuedRemoteChangesets','reconnect','push','next','encodeURIComponent','_imageSourceCache','OpenSSL','fromCharCode','/universer-api/snapshot','objectID','[CollaborationSession]','\x0aCurrent:\x20','CipherParams','cfg','conflict','loadSheet','_transformService','_state','parse','getMember','_init','error','_data','post','SOCKET_FAILED','cmd','compose','Could\x20not\x20dynamically\x20require\x20\x22','CONFLICT','_getUploadFileURL','AuthzIoHttpService','SyncedState','confirm','objectActions','IImageIoService','awaiting','processBlock','ILocalCacheService','compute','_roomCreated$','\x20in\x20_schedule.','CollaborativeUndoRedoService','equals','subUnitId','updatePermissionPoint','image/gif','ICollaborationSocketService','AUTHZ_URL_KEY','PERMISSION_REJ','updateSnapshot','ITransformService','createEncryptor','asObservable','withCredentials','onRemoteChangeset','getLocalCacheKey','_onRemoteACK','lib','reduce','AwaitingWithPendingState','decrypt','delete','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverNetworkPlugin','ISnapshotServerService','exports','_updateStatus','toDisposable','DEFAULT_WS_SESSION_TICKET_URL','onRemoteAck','reject','OFFLINE','range','get','_substituteRedoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','INVALID_ARGUMENT','ERROR_IMAGE','transformStack\x20failed!','getResourcesRequest','_sendHeartbeatTimer','LocaleService','now','_prevBlock','\x20to\x20','BehaviorSubject','onTransformSelections','_resendWithTimeout','_startTelemetryCollaborationNewChangeset','commentUpdate$','_createInitialState','originalMeta','_oKey','socket$','_showConflictNotification','registerHTTPInterceptor','CONNECTOR_DATA_TOO_LARGE','_type','_commentUpdate$','collaMsg','_socket','HmacMD5','_emitMembers','ivSize','fetching\x20missing\x20changesets\x20from\x20','transformSelections','Injector','_iv','_xformMode','_acknowledgedAwaitingChangeset','JOINING','/new_changes','onRemoteRetry','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','concatMap','_onConflict','onTransformIME','/allowed','_collaborationPaused','UNIVER_SHEET','_handlerCallback','[PendingState]:\x20received\x20rejection.','batchAllowed','USERS_LEAVE','/object/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Undefined','_telemetryInfo','toggleOffline','_httpService','_scheduleCompleteTimestamp','enableSingleActiveInstanceLock','INVITE_CODE_HAS_BEEN_UES','_sender','ImageSourceType','updateOfflineData','_telemetryService','getMemberID','UNIVER_UNKNOWN','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','AWAITING_WITH_PENDING','session','touchDependencies','complete','fromCollab','objectType','awaiting_with_pending','_invKeySchedule','subject','_unlockTransition','_initCloseConn','getCurrentSelections','CHANGESET_SHOULD_RETRY','memberID','MOBILE_HAS_BEEN_BOUND','entries','APPLY_REJECT','28OgeuGf','append','reverse','_hash','14034pEHuPR','WECHAT_HAS_BEEN_BOUND','MergeInterceptorFactory','MSG_FOR_ERROR','setCurrentUser','FETCH_MISS','pending','sendChangesetTimeout','onTransformRemoteChangesetByStateCache','/-/object/list','FAIL','APPLY_PERMISSION_DENIED','textEncoder','_reverseMap','createDecryptor','unknown','SessionStatus','submit\x20changeset\x20error!','_replaceFileID','Cipher','values','[SyncedState]:\x20received\x20acknowledgement.','UNKNOWN_CODE','_applyRemoteChangeset','CollaborationSessionService','_clearTimeoutTimer','GLOBAL_ROOMS_CNT_EXCEEDS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_commentService','_onCombEvent','@univerjs/docs','_singleActiveUnitService','url','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_resendTimer','UniverInstanceType','clone','change$','onMissingChangesets','onlyLocal','/-/object/-/batch_allowed','algo','_onConnectionOpen','_changesetSessionId','/role','_redoStacks','/fetchmissing?from=','_isPermissionRej','SNAPSHOT_SERVER_URL_KEY','changesets','CollaborationEvent','PendingState','_doProcessBlock','_getAPIPrefix','type','sessionStatus','_replayCachedMutations','_sendHeartbeat','ONLINE','SnapshotServerOverHTTPService','_getRedoStack','UniverCollaborationClientPlugin','max','from','_tryReconnect','unpad','Tools','_transformUndoredo','fetchThroughInterceptors','fetchMissingChangesets','revision','{fileID}','interceptor','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getDeserializedSheetBlock','UserManagerService','_createInitialStateImpl','createSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','stringify','clear','getLatestCsReqIdBySid','_getSignURL','auth.needGotoLoginAlert','_getCtorByUniverType','session.room-permission-denied','UnitSnapshot','method','readAsDataURL','_initUnitPermissionChange','YUUMI_URL_COL_OUT_OF_RANGE','JOIN','getTime','_waitCount','saveChangeset','_checkMissing','getUnitType','collabWebSocketUrl','_memberService','UNKNOWN_CMD','_toggleOffline','roomInfos','APPLY_NON_SEQUENTIAL_REVISION','getConfig','HEARTBEAT','CBC','CollaborationSocketService','_initRequestHeader','code','_tryEnsureSocket','eventID','UNISCRIPT_RUN','body','CommentService','infoRsp','initWorkbookPermissionChange','abs','INVALID_INVITE_CODE','rxjs/operators','_onOffline','MUTATION','AwaitingState','requireSession','univer-pro.collaboration-client-socket-service','@univerjs/network','SheetPermissionInitController','unit-cache-','Inject','COLLAB_WEB_SOCKET_URL','_substituteUndoStack','HEARTBEAT_INTERVAL','apply','UnitStatus','SNAPSHOT_HAS_BEEN_REMOVED','ICommandService','&to=','_createHmacHelper','_collaborationTimeoutTimer','_userManagerService','UniverCollaborationPlugin','telemetry\x20info\x20is\x20not\x20initialized','OTHER_CLIENTS_EDITING','mode','indexOf','CollaborationStatus','loadOfflineData','length','collaborators','UPDATE_PERMISSION_OBJ','BlockCipher','getUnit','filter','call','MentionIoHttpService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','closeSession','@univerjs/core','COMMENT_UPDATE','extend','_localeService','socket\x20close','_getLoginPath','Plugin','getUnitStatus$','incrementRevOfUnit','_transformStateCache','kdf','_initDependencies','_clearUndo','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','enableCollaboration','/universer-api/comb','[CollaborationUndoRedoService]','encryptBlock','MD5','SheetCollaborationEntity','m2Prime','LIVESHARE_OPERATION','536MklJZX','firstValueFrom','forEach','removeMember','StreamCipher','map','getValue','_startCollaboration','_updateState','signUrlServerUrl','/universer-api/authz','_sendingTimer','_timeoutTimer','sigBytes','BASE64','/resources','updateMember','ERROR_EXCEED_SIZE','editingUnit','_awaitingChangeset','finalize','downloadEndpointUrl','@univerjs/sheets','init','transformUndoRedo','startsWith','permissionRejEvent','Hasher','resolve','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_schedule','_exhaustRemoteChangesetQueue','byteOffset','IDLE','Failed\x20to\x20update\x20permission\x20point','enc','_append','state','getRandomValues','ciphertext','getUnitOnRev','dispose','HEARTBEAT_TIMEOUT','UNIVER_DOC','Utf8','CHANGESET_REVISION_CONFILICT','unitId\x20is\x20not\x20found','_socketReady','sid','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','ReplaySubject','RichTextEditingMutation','csRejEvent','localeService','listCollaborators','list','[CollaborationSessionService]:\x20socket\x20error','delay','_keySchedule','InsertSheetMutation','params','repeat','pauseCollaboration','hasher','Base64','loadUnit','put','NO_OTHER_CLIENTS_EDITING','socketService','CHANGESET_ACK','UnitEmbedded','JOIN_ROOM_NOT_EXISTS','SHOULD_CLOSE_CONN','@univerjs/telemetry','OPTIONAL','_status$','getSheetId','_sheetTransformSelectionsService','_onLocalMutation','randomBytes','join','136BDFBJM','onSyncEditingCollabCursor','mixIn','[DataLoaderService]','stopTime','find','_snapshotService','CollaborationSession','leaveEvent','avatar','_logService','charCodeAt','status','_getSendChangesetTimeout','href','routeKey','updateCursorEvent','__creator','src','selections','_HTTPService','CollaborationController','_transformRemoteChangesetByStateCache','389465jLOAFc','_onRemoteRejected','_onRemoteChangeset','OfflineState','FetchingMissState','USER_NOT_INVITED_CODE','INTERNAL_ERROR','set','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNIVER_SLIDE','ALREADY_EXISTS','COMPRESS_MUTATION_SEND','addHandlerCallback','_waitForHeartbeatResponse','resourceIDs','_doCryptBlock','RECV','JOIN_ROOM_FULL','slice','Quantity','_members','deepClone','_listenToNetworkCondition','_onMessage','[OfflineState]:\x20received\x20acknowledgement.','byteLength','DataLoaderService','LOGIN_FAILED','charAt','_clearScheduledTask','toggleOnline','SheetsSelectionsService','onStarting','parseChangesetToProtocol','words','467010paSbsI','TOO_MANY_REQUESTS','session.room-full','NOT_FOUND','members','6859710CzBCBS','ceil','_socketService','getAllMembers','_iKey','action','patch','IMentionIOService','_permissionService','UPDATE_CURSOR','CompressMutationService','message$','MentionType','_nRounds','hasOwnProperty','_eventService','onTransformState','mapDocumentTypeToUniverType','enableAuthServer','listRoles','IUndoRedoService','csAckEvent','SetSelectionsOperation','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','_unitInfo$','Subject','_syncEditingCollabCursor','DisposableCollection','[OfflineState]:\x20received\x20changeset.','_roomMembers','unitId','FileId','event$','Disposable','IContextService','_resendTimeout','Pkcs7','APPLY_DUPLICATED','transformMutationsWithChangeset','pluginName','data','[CollaborationEntity]','loadUnitOfRevision','_transformRemoteChangesetByIMECache','getCollabEntity$','_compressMutationService','WordArray','_onFetchMissResult','Optional','RevisionService','_fetchMissChangesets','_state$','_onConnectionFailed','MemberService','DependentOn','state$','close','PY_RUNTIME_SCRIPT_ERROR','capture','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_instanceService','createInstance','_onUserLeave','_onUserJoin','serializeCombRequest','_transformIMECache','NEW_CHANGESETS','has','EvpKDF','takeUntil','addImageSourceCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','findIndex','_onRecvEvent','/universer-api/user/session-ticket','CHANGESET_REJ','offline','title','encode','univer-pro.collaboration-client.network-condition.service','JOIN_ROOM_PERMISSION_DENIED','startTime','LIVESHARE_REQUEST_HOST','c2Prime','_unitID','_getCurrentRevision','_socket$','workbook','uuidv4','shareReplay','_doReset','DEFAULT_COLLAB_WEB_SOCKET_URL','replace','UNRECOGNIZED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LIVESHARE_TERMINATE','getGlobalObject','unitID','collaboration-client.config','_candidateSocket','string','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SUBMIT_CHANGESET','_undoStacks','_submitChangeset','onCommandExecuted','connection\x20error','_configService','onLocalMutation','execute','LICENSE_DISTRO_REJECTED','_socketMessageSubscription','ConflictState','_transitionLocked','onTransformRemoteChangesetByIMECache','OTHER_CLIENT_EDITING','random','onStateChange','getCurrentRevOfUnit','_entities','UNAUTHENTICATED','[UniverCollaborationClientPlugin]','$super','_doFinalize','IPermissionService','_clearRedo','isPermissionRej','padding','encrypt','People','SOCKET_FAILED_RETRY','[PendingState]:\x20received\x20acknowledgement.','deserializeToCombResponse','registerDependencies','_onJoinRoomEvent','x-univer-host','BufferedBlockAlgorithm','SNAPSHOT_INVALID_SNAPSHOT','_univerInstanceService','SHA1','pipe','isInternalEditorID','_getAPIPrefixPath','userID','SnapshotService','UNDEFINED','putCollaborators','fetch_missing','IConfigService','Base','_changesetReqId','getCollabEntity','UNIVER_PROJECT','formatter','COLLAB_WEB_SOCKET_URL_KEY','not_collab','focused$','CollaborationUIEventService','merge','YUUMI_ASYNCIO_CANCELLED','synced','_createSocket','emitEvent','executeCommand','appendMutation','transformChangesets'];_0x480b=function(){return _0x3f9356;};return _0x480b();}var rn=Object[_0xe3a83a(0x444)],sn=(_0x2f8bf6,_0x347087,_0xffb1f1,_0x2c413)=>{var _0x29d6df=_0xe3a83a;for(var _0x7309a3=_0x2c413>0x1?void 0x0:_0x2c413?rn(_0x347087,_0xffb1f1):_0x347087,_0xd76d03=_0x2f8bf6[_0x29d6df(0x1f9)]-0x1,_0x11b035;_0xd76d03>=0x0;_0xd76d03--)(_0x11b035=_0x2f8bf6[_0xd76d03])&&(_0x7309a3=_0x11b035(_0x7309a3)||_0x7309a3);return _0x7309a3;},on=(_0x404b39,_0x1146b4)=>(_0x3f177e,_0x292040)=>_0x1146b4(_0x3f177e,_0x292040,_0x404b39);let Ne=class{constructor(_0x157a7b){var _0x8a6711=_0xe3a83a;this[_0x8a6711(0x147)]=_0x157a7b,this[_0x8a6711(0x1d2)]();}[_0xe3a83a(0x1d2)](){var _0x45ec1c=_0xe3a83a;this['_httpService'][_0x45ec1c(0x125)]({'interceptor':(_0x4cdb64,_0x35928e)=>{var _0x528321=_0x45ec1c;const _0x15dd34=_0x4cdb64[_0x528321(0x44b)],_0x37856c=nn();return _0x37856c&&_0x15dd34['set'](_0x528321(0x332),_0x37856c),_0x35928e(_0x4cdb64);}});}};Ne=sn([on(0x0,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3eaea9,_0xb30444,_0x34fd25,_0x3c8819)=>{var _0x545268=_0xe3a83a;for(var _0x1c13db=_0x3c8819>0x1?void 0x0:_0x3c8819?an(_0xb30444,_0x34fd25):_0xb30444,_0x476c22=_0x3eaea9[_0x545268(0x1f9)]-0x1,_0x160809;_0x476c22>=0x0;_0x476c22--)(_0x160809=_0x3eaea9[_0x476c22])&&(_0x1c13db=_0x160809(_0x1c13db)||_0x1c13db);return _0x1c13db;},we=(_0x43b7df,_0x4f8655)=>(_0x5800e2,_0x1ab0f2)=>_0x4f8655(_0x5800e2,_0x1ab0f2,_0x43b7df);exports[_0xe3a83a(0x29c)]=class extends a['RxDisposable']{constructor(_0x197f5c,_0x17fd12,_0x52e79c){var _0x30c364=_0xe3a83a;super(),A(this,_0x30c364(0x2c3),new $[(_0x30c364(0x11b))](null)),A(this,'unitInfo$',this[_0x30c364(0x2c3)]['asObservable']()),(this[_0x30c364(0x275)]=_0x197f5c,this['_snapshotService']=_0x17fd12,this[_0x30c364(0x392)]=_0x52e79c);}async[_0xe3a83a(0x2d5)](_0x94912b,_0x1872d1,_0x1cece9){var _0x257b58=_0xe3a83a;this['_unitInfo$'][_0x257b58(0x455)]({'unitId':_0x94912b,'type':_0x1872d1});let _0x4e6a70=null;switch(_0x1872d1){case J[_0x257b58(0x13d)]:{_0x4e6a70=await this[_0x257b58(0x271)][_0x257b58(0x461)](_0x94912b,_0x1cece9);break;}case J['UNIVER_DOC']:{_0x4e6a70=await this[_0x257b58(0x271)][_0x257b58(0x39d)](_0x94912b,_0x1cece9);break;}default:{this[_0x257b58(0x275)][_0x257b58(0x467)](_0x257b58(0x26e),_0x257b58(0x40a));break;}}return _0x4e6a70;}async[_0xe3a83a(0x25b)](_0x2daee3,_0x3c44e8,_0x140309){var _0x4ba0cf=_0xe3a83a,_0x466d51;this[_0x4ba0cf(0x2c3)][_0x4ba0cf(0x455)]({'unitId':_0x2daee3,'type':_0x3c44e8,'subUnitId':_0x140309});let _0x3d985c=0x0;const _0x1b5073=await((_0x466d51=this[_0x4ba0cf(0x392)])==null?void 0x0:_0x466d51[_0x4ba0cf(0x1f8)](_0x2daee3));return _0x1b5073&&(_0x1b5073[_0x4ba0cf(0x415)]||_0x1b5073[_0x4ba0cf(0x3b3)][_0x4ba0cf(0x1f9)]!==0x0)&&(_0x3d985c=_0x1b5073['rev']),_0x3d985c===0x0&&this['_logService']['debug'](_0x4ba0cf(0x26e),_0x4ba0cf(0x395)),this[_0x4ba0cf(0x2d5)](_0x2daee3,_0x3c44e8,_0x3d985c);}},exports[_0xe3a83a(0x29c)]=cn([we(0x0,a[_0xe3a83a(0x437)]),we(0x1,a[_0xe3a83a(0x1e6)](I[_0xe3a83a(0x33b)])),we(0x2,a[_0xe3a83a(0x2db)](q))],exports[_0xe3a83a(0x29c)]);var hn=Object[_0xe3a83a(0x444)],_n=(_0x514abc,_0x13ed69,_0x1c8671,_0x3083d5)=>{var _0xd55b60=_0xe3a83a;for(var _0x50df07=_0x3083d5>0x1?void 0x0:_0x3083d5?hn(_0x13ed69,_0x1c8671):_0x13ed69,_0x1663a6=_0x514abc[_0xd55b60(0x1f9)]-0x1,_0x1bd23f;_0x1663a6>=0x0;_0x1663a6--)(_0x1bd23f=_0x514abc[_0x1663a6])&&(_0x50df07=_0x1bd23f(_0x50df07)||_0x50df07);return _0x50df07;},Le=(_0x5206ac,_0x4a98f6)=>(_0x1362bc,_0x159cf9)=>_0x4a98f6(_0x1362bc,_0x159cf9,_0x5206ac);const ln=['image/png','image/jpeg','image/jpg',_0xe3a83a(0x47f),'image/bmp'],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0xe3a83a(0x425),Sn=_0xe3a83a(0x182),fn='/universer-api/file/{fileID}/sign-url';exports[_0xe3a83a(0x394)]=class{constructor(_0x28337b,_0x17e2fb,_0x2a77fc){var _0x473a0c=_0xe3a83a;A(this,_0x473a0c(0x1c4),0x0),A(this,_0x473a0c(0x41c),new $[(_0x473a0c(0x2c4))]()),A(this,_0x473a0c(0x18c),this[_0x473a0c(0x41c)]),A(this,_0x473a0c(0x457),new Map()),(this[_0x473a0c(0x147)]=_0x28337b,this['_configService']=_0x17e2fb,this[_0x473a0c(0x335)]=_0x2a77fc);}['setWaitCount'](_0x2737d6){var _0x4b2219=_0xe3a83a;this[_0x4b2219(0x1c4)]=_0x2737d6,this[_0x4b2219(0x41c)][_0x4b2219(0x455)](_0x2737d6);}[_0xe3a83a(0x3e8)](_0x28db8a,_0x582430){var _0x4bf76d=_0xe3a83a;if(_0x582430===z['ImageSourceType'][_0x4bf76d(0x227)]){const _0x53ee4c=new Image();return _0x53ee4c[_0x4bf76d(0x27d)]=_0x28db8a,_0x53ee4c;}return this[_0x4bf76d(0x457)][_0x4bf76d(0x10f)](_0x28db8a);}[_0xe3a83a(0x2f1)](_0xa1a026,_0x20bfaf,_0x300678){var _0x37cc50=_0xe3a83a;_0x20bfaf===z[_0x37cc50(0x14c)][_0x37cc50(0x227)]||_0x300678==null||this[_0x37cc50(0x457)][_0x37cc50(0x289)](_0xa1a026,_0x300678);}async[_0xe3a83a(0x399)](_0x45ed25){var _0x30724a=_0xe3a83a;try{const _0x44b977=this[_0x30724a(0x179)](this[_0x30724a(0x1b9)](),''+_0x45ed25),_0x5e9b69=(await this[_0x30724a(0x147)][_0x30724a(0x10f)](_0x44b977))['body'];if(_0x5e9b69[_0x30724a(0x467)]&&_0x5e9b69[_0x30724a(0x467)][_0x30724a(0x1d3)]===gt['OK']){const _0x328f71=new URL(_0x5e9b69[_0x30724a(0x187)],this[_0x30724a(0x44e)]())[_0x30724a(0x388)]();return Promise[_0x30724a(0x235)](_0x328f71);}return Promise[_0x30724a(0x10c)](_0x5e9b69[_0x30724a(0x467)]);}catch(_0x461419){return Promise['reject'](_0x461419);}}async['saveImage'](_0x9fb5a2){var _0x5648e6=_0xe3a83a;let _0x5318ca='';if(!ln['includes'](_0x9fb5a2[_0x5648e6(0x19d)]))return this[_0x5648e6(0x3c3)](),Promise['reject'](new Error(z[_0x5648e6(0x433)]['ERROR_IMAGE_TYPE']));if(_0x9fb5a2[_0x5648e6(0x3db)]>un)return this[_0x5648e6(0x3c3)](),Promise[_0x5648e6(0x10c)](new Error(z[_0x5648e6(0x433)][_0x5648e6(0x22a)]));try{const _0x4f5c8e=new FormData();_0x4f5c8e[_0x5648e6(0x164)](_0x5648e6(0x361),_0x9fb5a2);const _0x13c112=this[_0x5648e6(0x335)][_0x5648e6(0x39b)](),_0x300748=_0x13c112==null?void 0x0:_0x13c112['getUnitId']();if(!_0x300748)throw new Error(_0x5648e6(0x247));const _0x5b16fd=this[_0x5648e6(0x46f)]()+'?size='+_0x9fb5a2[_0x5648e6(0x3db)][_0x5648e6(0x388)]()+_0x5648e6(0x43d)+Et['UnitEmbedded']+_0x5648e6(0x397)+encodeURIComponent(_0x300748),_0x3ff516={'body':_0x4f5c8e},_0x38e824=(await this[_0x5648e6(0x147)][_0x5648e6(0x469)](_0x5b16fd,_0x3ff516))[_0x5648e6(0x1d7)];if(typeof _0x38e824['FileId']!=_0x5648e6(0x30f))return this[_0x5648e6(0x3c3)](),Promise[_0x5648e6(0x10c)](new Error(z[_0x5648e6(0x433)][_0x5648e6(0x113)]));_0x5318ca=_0x38e824[_0x5648e6(0x2ca)];}catch{return this['_decreaseWaiting'](),Promise[_0x5648e6(0x10c)](new Error(z[_0x5648e6(0x433)]['ERROR_IMAGE']));}return new Promise((_0x41bb47,_0x5980a7)=>{var _0x42d43f=_0x5648e6;const _0xbf95f2=new FileReader();_0xbf95f2[_0x42d43f(0x1bf)](_0x9fb5a2),_0xbf95f2[_0x42d43f(0x3e1)]=_0x569c2e=>{var _0x3099e3=_0x42d43f,_0x263f89;const _0x4bb249=(_0x263f89=_0x569c2e['target'])==null?void 0x0:_0x263f89[_0x3099e3(0x3e4)];if(_0x4bb249==null){this[_0x3099e3(0x3c3)](),_0x5980a7(new Error(z[_0x3099e3(0x433)][_0x3099e3(0x113)]));return;}const _0x2b5cd8=a[_0x3099e3(0x1a9)][_0x3099e3(0x3be)](0x6);_0x41bb47({'imageId':_0x2b5cd8,'imageSourceType':z[_0x3099e3(0x14c)][_0x3099e3(0x3e9)],'source':_0x5318ca,'base64Cache':_0x4bb249,'status':z['ImageUploadStatusType'][_0x3099e3(0x432)]}),this[_0x3099e3(0x3c3)]();};});}['_getUploadFileURL'](){var _0x15157e=_0xe3a83a,_0x2b8ee6,_0x136ea5;const _0x3a6735=this[_0x15157e(0x316)][_0x15157e(0x1ce)](dn),_0x412a83=this[_0x15157e(0x316)][_0x15157e(0x1ce)](K);return(_0x136ea5=(_0x2b8ee6=_0x412a83==null?void 0x0:_0x412a83['uploadFileServerUrl'])!=null?_0x2b8ee6:_0x3a6735)!=null?_0x136ea5:vn;}[_0xe3a83a(0x1b9)](){var _0x3543c2=_0xe3a83a,_0x19dffe,_0x4bb359;const _0x116329=this[_0x3543c2(0x316)][_0x3543c2(0x1ce)](Sn),_0x2eb878=this['_configService'][_0x3543c2(0x1ce)](K);return(_0x4bb359=(_0x19dffe=_0x2eb878==null?void 0x0:_0x2eb878[_0x3543c2(0x222)])!=null?_0x19dffe:_0x116329)!=null?_0x4bb359:fn;}['_getDownloadEndpointURL'](){var _0x46ce6d=_0xe3a83a,_0x174278;const _0x241952=this[_0x46ce6d(0x316)][_0x46ce6d(0x1ce)](K);return(_0x174278=_0x241952==null?void 0x0:_0x241952[_0x46ce6d(0x22e)])!=null?_0x174278:location['origin'];}['_replaceFileID'](_0x160dff,_0x4d43dc){var _0x339223=_0xe3a83a;return _0x160dff[_0x339223(0x307)](_0x339223(0x1ae),_0x4d43dc);}[_0xe3a83a(0x3c3)](){var _0x4a5013=_0xe3a83a;this[_0x4a5013(0x1c4)]-=0x1,this[_0x4a5013(0x41c)][_0x4a5013(0x455)](this[_0x4a5013(0x1c4)]);}},exports[_0xe3a83a(0x394)]=_n([Le(0x0,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)])),Le(0x1,a[_0xe3a83a(0x33f)]),Le(0x2,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x3ad)]))],exports[_0xe3a83a(0x394)]);var pn=Object[_0xe3a83a(0x444)],In=(_0x402431,_0x5e8ba1,_0x1cf85b,_0x7a9f4b)=>{for(var _0x6f935f=_0x7a9f4b>0x1?void 0x0:_0x7a9f4b?pn(_0x5e8ba1,_0x1cf85b):_0x5e8ba1,_0xbeecb9=_0x402431['length']-0x1,_0x5a66f0;_0xbeecb9>=0x0;_0xbeecb9--)(_0x5a66f0=_0x402431[_0xbeecb9])&&(_0x6f935f=_0x5a66f0(_0x6f935f)||_0x6f935f);return _0x6f935f;},at=(_0x5b52c9,_0x4e4ddd)=>(_0x2f291a,_0x5a6e23)=>_0x4e4ddd(_0x2f291a,_0x5a6e23,_0x5b52c9);const gn=_0xe3a83a(0x223);exports[_0xe3a83a(0x200)]=class{constructor(_0x352b2f,_0x18e9b7){var _0x548c5e=_0xe3a83a;this[_0x548c5e(0x316)]=_0x352b2f,this[_0x548c5e(0x27f)]=_0x18e9b7;}[_0xe3a83a(0x339)](){var _0x19ecab=_0xe3a83a,_0x2b8374,_0x4bccf3;const _0x1da209=this[_0x19ecab(0x316)]['getConfig'](Ve),_0x533b0d=this['_configService'][_0x19ecab(0x1ce)](K);return(_0x4bccf3=(_0x2b8374=_0x533b0d==null?void 0x0:_0x533b0d[_0x19ecab(0x43c)])!=null?_0x2b8374:_0x1da209)!=null?_0x4bccf3:gn;}async[_0xe3a83a(0x251)](_0x2e8ac5){var _0x40e419=_0xe3a83a;const _0x47c74f=this[_0x40e419(0x339)]()+_0x40e419(0x42b);return{'list':[{'title':_0x40e419(0x32c),'mentions':(await this[_0x40e419(0x27f)]['get'](_0x47c74f,{'params':{'objectID':_0x2e8ac5[_0x40e419(0x2c9)],'unitID':_0x2e8ac5[_0x40e419(0x2c9)]}}))['body'][_0x40e419(0x1fa)]['map'](_0x520d87=>({'objectId':_0x520d87['id'],'name':_0x520d87[_0x40e419(0x15a)][_0x40e419(0x41a)],'metadata':{'icon':_0x520d87['subject'][_0x40e419(0x274)]},'label':_0x520d87['subject']['name'],'objectType':a[_0x40e419(0x2b6)]['PERSON']})),'metadata':{},'type':a[_0x40e419(0x2b6)][_0x40e419(0x3b2)]}]};}},exports[_0xe3a83a(0x200)]=In([at(0x0,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x33f)])),at(0x1,a['Inject'](Y[_0xe3a83a(0x3cc)]))],exports[_0xe3a83a(0x200)]);var En=Object[_0xe3a83a(0x444)],mn=(_0x56877f,_0x2665c7,_0x25b219,_0x52a88e)=>{for(var _0x56c0f9=_0x52a88e>0x1?void 0x0:_0x52a88e?En(_0x2665c7,_0x25b219):_0x2665c7,_0x3e3949=_0x56877f['length']-0x1,_0x962ac3;_0x3e3949>=0x0;_0x3e3949--)(_0x962ac3=_0x56877f[_0x3e3949])&&(_0x56c0f9=_0x962ac3(_0x56c0f9)||_0x56c0f9);return _0x56c0f9;},le=(_0x5d4c96,_0x19f164)=>(_0x7eaba4,_0x55edb8)=>_0x19f164(_0x7eaba4,_0x55edb8,_0x5d4c96);let Ue=class extends a[_0xe3a83a(0x3f0)]{constructor(_0x45bcb8,_0x111bab,_0x47bd91,_0x158eed,_0x1f4daa){var _0x4d2ca6=_0xe3a83a;super(),this[_0x4d2ca6(0x450)]=_0x45bcb8,this['_univerInstanceService']=_0x111bab,this[_0x4d2ca6(0x2b2)]=_0x47bd91,this[_0x4d2ca6(0x381)]=_0x158eed,this[_0x4d2ca6(0x37b)]=_0x1f4daa,this[_0x4d2ca6(0x1c0)](),this[_0x4d2ca6(0x15c)]();}[_0xe3a83a(0x15c)](){var _0x277405=_0xe3a83a;const _0x5d9db1=async _0x15f73b=>{var _0x457d92=_0x1706;(await this['_collaborationSessionService'][_0x457d92(0x1e1)](_0x15f73b))[_0x457d92(0x2cb)]['pipe'](V[_0x457d92(0x1fe)](_0x3ec106=>_0x3ec106['eventID']===I[_0x457d92(0x199)][_0x457d92(0x262)]),V[_0x457d92(0x2f0)](this[_0x457d92(0x3ea)]))[_0x457d92(0x429)](_0x3112c1=>{var _0x115d38=_0x457d92;const _0x1ed138=_0x3112c1,{reason:_0x483499}=_0x1ed138['data'];this[_0x115d38(0x37b)][_0x115d38(0x34d)]({'id':Z[_0x115d38(0x363)],'data':_0x483499}),this[_0x115d38(0x2b2)][_0x115d38(0x47e)](new X[(_0x115d38(0x3b6))](_0x15f73b)['id'],!0x1),this[_0x115d38(0x381)]['closeSession'](_0x15f73b);});};$['merge'](this['_univerInstanceService'][_0x277405(0x3da)](a[_0x277405(0x18a)][_0x277405(0x13d)]),this[_0x277405(0x335)]['getTypeOfUnitAdded$'](a[_0x277405(0x18a)][_0x277405(0x244)]))['pipe'](V[_0x277405(0x21e)](_0x251c11=>_0x251c11['getUnitId']()),V[_0x277405(0x1fe)](_0x3d72be=>!a[_0x277405(0x338)](_0x3d72be)),V[_0x277405(0x2f0)](this[_0x277405(0x3ea)]))[_0x277405(0x429)](_0x8cf1f9=>{_0x5d9db1(_0x8cf1f9);});}['_initUnitPermissionChange'](){var _0x282a3e=_0xe3a83a;const _0x4eb349=async _0x25bd52=>{var _0x48429d=_0x1706;const _0x5e1978=await this[_0x48429d(0x381)][_0x48429d(0x1e1)](_0x25bd52),_0x17a7d8=this['_injector']['get'](X[_0x48429d(0x1e4)]);_0x5e1978['event$'][_0x48429d(0x337)](V[_0x48429d(0x1fe)](_0x4b177d=>_0x4b177d['eventID']===I['CollaborationEvent'][_0x48429d(0x1fb)]),V[_0x48429d(0x2f0)](this[_0x48429d(0x3ea)]))[_0x48429d(0x429)](_0x126217=>{var _0x4c5a94=_0x48429d;const _0x44a3a7=_0x126217,{objectId:_0x1ba9e2}=_0x44a3a7[_0x4c5a94(0x2d3)];_0x1ba9e2===_0x25bd52?_0x17a7d8[_0x4c5a94(0x1da)](_0x25bd52):_0x17a7d8[_0x4c5a94(0x428)](_0x25bd52,_0x1ba9e2);});};$['merge'](this[_0x282a3e(0x335)][_0x282a3e(0x3da)](a[_0x282a3e(0x18a)][_0x282a3e(0x13d)]))[_0x282a3e(0x337)](V['map'](_0x500657=>_0x500657['getUnitId']()),V[_0x282a3e(0x1fe)](_0x2ccb9a=>!a[_0x282a3e(0x338)](_0x2ccb9a)),V['takeUntil'](this[_0x282a3e(0x3ea)]))['subscribe'](_0x56955f=>{_0x4eb349(_0x56955f);});}};Ue=mn([le(0x0,a[_0xe3a83a(0x1e6)](a[_0xe3a83a(0x130)])),le(0x1,a[_0xe3a83a(0x3ad)]),le(0x2,a[_0xe3a83a(0x327)]),le(0x3,a[_0xe3a83a(0x1e6)](exports[_0xe3a83a(0x17f)])),le(0x4,a[_0xe3a83a(0x1e6)](ee))],Ue);var Cn=Object[_0xe3a83a(0x444)],Tn=(_0x1ba028,_0x2a8dbe,_0x267e76,_0x120c37)=>{var _0x502646=_0xe3a83a;for(var _0xeb1f60=_0x120c37>0x1?void 0x0:_0x120c37?Cn(_0x2a8dbe,_0x267e76):_0x2a8dbe,_0x23eeb7=_0x1ba028[_0x502646(0x1f9)]-0x1,_0x21064b;_0x23eeb7>=0x0;_0x23eeb7--)(_0x21064b=_0x1ba028[_0x23eeb7])&&(_0xeb1f60=_0x21064b(_0xeb1f60)||_0xeb1f60);return _0xeb1f60;},ct=(_0x34b26e,_0x1500e1)=>(_0xeb0b6f,_0x4c82db)=>_0x1500e1(_0xeb0b6f,_0x4c82db,_0x34b26e);exports[_0xe3a83a(0x1a2)]=class{constructor(_0x240548,_0x589c22){var _0x41e927=_0xe3a83a;this['_configService']=_0x240548,this[_0x41e927(0x147)]=_0x589c22;}async[_0xe3a83a(0x241)](_0x6aeeb3,_0x337e7e){var _0x140f9f=_0xe3a83a,_0xbbcc07;const {unitID:_0x121466,type:_0x2465ab,revision:_0x2680a5=0x0}=_0x337e7e,_0x471f44=this['getSnapshotAPIPath']()+'/'+_0x2465ab+_0x140f9f(0x3ef)+_0x121466+_0x140f9f(0x353)+_0x2680a5,_0x546ad3=(await this[_0x140f9f(0x147)][_0x140f9f(0x10f)](_0x471f44))[_0x140f9f(0x1d7)],_0x14a972=(_0xbbcc07=_0x546ad3['snapshot'])==null?void 0x0:_0xbbcc07[_0x140f9f(0x302)];if(_0x14a972){const _0x131b15=_0x14a972==null?void 0x0:_0x14a972['originalMeta'],_0x2299d0=I[_0x140f9f(0x173)]['encode'](I['b64DecodeUnicode'](_0x131b15));_0x14a972[_0x140f9f(0x121)]=_0x2299d0,Object[_0x140f9f(0x161)](_0x14a972['sheets'])[_0x140f9f(0x21b)](([,_0x640198])=>{var _0x528e24=_0x140f9f;const _0x85f08d=_0x640198['originalMeta'],_0x30e370=I[_0x528e24(0x173)][_0x528e24(0x2f9)](I[_0x528e24(0x35e)](_0x85f08d));_0x640198['originalMeta']=_0x30e370;});}return _0x546ad3;}async['getSheetBlock'](_0x40ea16,_0x299430){var _0x253d6c=_0xe3a83a;const {unitID:_0x2d6576,type:_0xbdce57,blockID:_0x2debc6}=_0x299430,_0x5b990c=this['_getAPIPrefix']()+'/'+_0xbdce57+_0x253d6c(0x3ef)+_0x2d6576+'/block/'+_0x2debc6;return(await this[_0x253d6c(0x147)][_0x253d6c(0x10f)](_0x5b990c))[_0x253d6c(0x1d7)];}async[_0xe3a83a(0x1b1)](_0x134be1,_0x467637){var _0x500203=_0xe3a83a;const {unitID:_0x90026a,type:_0x27ef9f,blockID:_0x26d8ef}=_0x467637,_0x4cc2de=this[_0x500203(0x19c)]()+_0x500203(0x413)+_0x27ef9f+'/unit/'+_0x90026a+_0x500203(0x413)+_0x26d8ef;return(await this[_0x500203(0x147)][_0x500203(0x10f)](_0x4cc2de))['body'];}async['fetchMissingChangesets'](_0x4f497b,_0x34e83c){var _0x55185b=_0xe3a83a;const {unitID:_0x21f126,type:_0x5558d6,from:_0x1d28d5,to:_0x45ecc3}=_0x34e83c,_0x304a22=this[_0x55185b(0x19c)]()+'/'+_0x5558d6+_0x55185b(0x3ef)+_0x21f126+_0x55185b(0x195)+_0x1d28d5+_0x55185b(0x1ee)+_0x45ecc3;return(await this[_0x55185b(0x147)][_0x55185b(0x10f)](_0x304a22))['body'];}['getSnapshotAPIPath'](){var _0xfa65f9=_0xe3a83a,_0x44b5b1;return(_0x44b5b1=this[_0xfa65f9(0x316)][_0xfa65f9(0x1ce)](lt))!=null?_0x44b5b1:this[_0xfa65f9(0x19c)]();}[_0xe3a83a(0x19c)](){var _0x937f17=_0xe3a83a,_0x5aa453,_0x508da3;const _0x3e673d=this[_0x937f17(0x316)][_0x937f17(0x1ce)](_t),_0x528c=this[_0x937f17(0x316)][_0x937f17(0x1ce)](K);return(_0x508da3=(_0x5aa453=_0x528c==null?void 0x0:_0x528c['snapshotServerUrl'])!=null?_0x5aa453:_0x3e673d)!=null?_0x508da3:Lt;}async[_0xe3a83a(0x115)](_0x2798dc,_0x314937){var _0x220d87=_0xe3a83a;const _0x1f27f1=_0x220d87(0x3c4)+_0x314937[_0x220d87(0x19d)]+_0x220d87(0x3ef)+_0x314937[_0x220d87(0x30c)]+_0x220d87(0x228);return(await this[_0x220d87(0x147)][_0x220d87(0x10f)](_0x1f27f1,{'params':{'resourceId':JSON[_0x220d87(0x1b6)](_0x314937[_0x220d87(0x290)])}}))['body'];}[_0xe3a83a(0x37e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe3a83a(0x483)](){var _0x5a5b18=_0xe3a83a;throw new Error(_0x5a5b18(0x422));}['saveSheetBlock'](){var _0x1ecfdb=_0xe3a83a;throw new Error(_0x1ecfdb(0x422));}[_0xe3a83a(0x1c5)](){var _0x581024=_0xe3a83a;throw new Error(_0x581024(0x422));}['copyFileMeta'](){var _0x586426=_0xe3a83a;throw new Error(_0x586426(0x422));}[_0xe3a83a(0x1b8)](){var _0x33f8a7=_0xe3a83a;throw new Error(_0x33f8a7(0x422));}},exports[_0xe3a83a(0x1a2)]=Tn([ct(0x0,a[_0xe3a83a(0x33f)]),ct(0x1,a[_0xe3a83a(0x1e6)](Y[_0xe3a83a(0x3cc)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0xe3a83a(0x444)],Rn=(_0x5b7c89,_0xf01057,_0x25a671,_0xaa85ad)=>{var _0x1c4d9c=_0xe3a83a;for(var _0x500ad1=_0xaa85ad>0x1?void 0x0:_0xaa85ad?bn(_0xf01057,_0x25a671):_0xf01057,_0x161590=_0x5b7c89[_0x1c4d9c(0x1f9)]-0x1,_0xc41b39;_0x161590>=0x0;_0x161590--)(_0xc41b39=_0x5b7c89[_0x161590])&&(_0x500ad1=_0xc41b39(_0x500ad1)||_0x500ad1);return _0x500ad1;},ue=(_0x4374d9,_0x1c7931)=>(_0x3e5804,_0x48aefc)=>_0x1c7931(_0x3e5804,_0x48aefc,_0x4374d9);exports[_0xe3a83a(0x47b)]=class extends a[_0xe3a83a(0x43a)]{constructor(_0x10b78b,_0x5394c5,_0x217fda,_0x30f2bc,_0x3decdd){var _0x553e31=_0xe3a83a;super(_0x10b78b,_0x5394c5,_0x217fda),this[_0x553e31(0x462)]=_0x30f2bc,this[_0x553e31(0x275)]=_0x3decdd;}[_0xe3a83a(0x231)](_0x5bf1ac,_0x545f0a){var _0x3b7606=_0xe3a83a;const _0x1f5dde=this[_0x3b7606(0x36e)](_0x5bf1ac);if(_0x1f5dde)try{const _0x19f2cf=this['_transformStack'](_0x1f5dde,_0x545f0a);this[_0x3b7606(0x1e8)](_0x5bf1ac,_0x19f2cf);}catch(_0x56a5d7){this[_0x3b7606(0x275)][_0x3b7606(0x467)]('[CollaborationUndoRedoService]',_0x56a5d7),this[_0x3b7606(0x20f)](_0x5bf1ac);}const _0x836796=this[_0x3b7606(0x1a3)](_0x5bf1ac);if(_0x836796)try{const _0x3317b7=this[_0x3b7606(0x409)](_0x836796,_0x545f0a);this[_0x3b7606(0x110)](_0x5bf1ac,_0x3317b7);}catch(_0x40682d){this[_0x3b7606(0x275)][_0x3b7606(0x467)](_0x40682d),this[_0x3b7606(0x328)](_0x5bf1ac);}}['_clearUndo'](_0x2e566e){var _0x345983=_0xe3a83a;const _0x1cc510=this[_0x345983(0x36e)](_0x2e566e);_0x1cc510&&(_0x1cc510['length']=0x0,this['_updateStatus']());}[_0xe3a83a(0x328)](_0x1e31e2){var _0x547692=_0xe3a83a;const _0x6c5da=this['_getRedoStack'](_0x1e31e2);_0x6c5da&&(_0x6c5da['length']=0x0,this[_0x547692(0x494)]());}[_0xe3a83a(0x1e8)](_0x3bd43e,_0xa70762){var _0x41bbc=_0xe3a83a;this[_0x41bbc(0x312)][_0x41bbc(0x289)](_0x3bd43e,_0xa70762),this[_0x41bbc(0x494)]();}[_0xe3a83a(0x110)](_0x456b23,_0x1daa49){var _0x3e43a5=_0xe3a83a;this[_0x3e43a5(0x194)][_0x3e43a5(0x289)](_0x456b23,_0x1daa49),this[_0x3e43a5(0x494)]();}[_0xe3a83a(0x409)](_0x5d9c29,_0x2a5d1b){var _0x48bfe3=_0xe3a83a;const _0x356dec=[];let _0x495a1e=_0x2a5d1b,_0x30a04a=_0x2a5d1b;for(let _0x5da957=_0x5d9c29[_0x48bfe3(0x1f9)]-0x1;_0x5da957>=0x0;_0x5da957--){const {unitID:_0x329547,undoMutations:_0x5d49d9,redoMutations:_0x32a1b0}=_0x5d9c29[_0x5da957],_0x153eac=this[_0x48bfe3(0x462)]['transformMutationsWithChangeset'](_0x495a1e,_0x5d49d9),_0x3d1432=this['_transformService']['transformMutationsWithChangeset'](_0x30a04a,_0x32a1b0);if(I[_0x48bfe3(0x3d0)](_0x153eac)||I[_0x48bfe3(0x3d0)](_0x3d1432)){this['_logService'][_0x48bfe3(0x467)](_0x48bfe3(0x213),_0x48bfe3(0x114),_0x153eac,_0x3d1432);break;}_0x495a1e=_0x153eac['c1Prime'],_0x30a04a=_0x3d1432[_0x48bfe3(0x39e)],_0x356dec[_0x48bfe3(0x454)]({'unitID':_0x329547,'undoMutations':_0x153eac[_0x48bfe3(0x217)],'redoMutations':_0x3d1432[_0x48bfe3(0x217)]});}return _0x356dec[_0x48bfe3(0x165)]();}},exports[_0xe3a83a(0x47b)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0xe3a83a(0x1ed)]),ue(0x2,a[_0xe3a83a(0x2cd)]),ue(0x3,I[_0xe3a83a(0x484)]),ue(0x4,a[_0xe3a83a(0x437)])],exports[_0xe3a83a(0x47b)]);var On=Object[_0xe3a83a(0x36f)],yn=Object[_0xe3a83a(0x444)],Nn=(_0x112251,_0x386c53,_0x51bc7b)=>_0x386c53 in _0x112251?On(_0x112251,_0x386c53,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51bc7b}):_0x112251[_0x386c53]=_0x51bc7b,Un=(_0x156e59,_0x5ed62e,_0x47aab9,_0x3d7e1d)=>{var _0x5125b5=_0xe3a83a;for(var _0xf2bbf9=_0x3d7e1d>0x1?void 0x0:_0x3d7e1d?yn(_0x5ed62e,_0x47aab9):_0x5ed62e,_0x488ca8=_0x156e59[_0x5125b5(0x1f9)]-0x1,_0x41222f;_0x488ca8>=0x0;_0x488ca8--)(_0x41222f=_0x156e59[_0x488ca8])&&(_0xf2bbf9=_0x41222f(_0xf2bbf9)||_0xf2bbf9);return _0xf2bbf9;},Me=(_0x3dec16,_0x1904f6)=>(_0x395faa,_0x209240)=>_0x1904f6(_0x395faa,_0x209240,_0x3dec16),Dn=(_0x5c6383,_0x76d704,_0x88c266)=>Nn(_0x5c6383,_0x76d704+'',_0x88c266);const An=_0xe3a83a(0x411);exports[_0xe3a83a(0x1a4)]=class extends a[_0xe3a83a(0x209)]{constructor(_0x4a2f23,_0x2b0b75,_0x3a5d37,_0x268b84){var _0x1e193b=_0xe3a83a;super(),A(this,_0x1e193b(0x3f6)),(this[_0x1e193b(0x275)]=_0x2b0b75,this[_0x1e193b(0x450)]=_0x3a5d37,this[_0x1e193b(0x316)]=_0x268b84);const {..._0x2b0b13}=a['merge']({},Yt,_0x4a2f23);if(!_0x2b0b13[_0x1e193b(0x25e)])throw new Error(_0x1e193b(0x151));this[_0x1e193b(0x3f6)]=_0x2b0b13,this['_configService']['setConfig'](K,_0x2b0b13);}[_0xe3a83a(0x2a2)](){var _0x1dfccc=_0xe3a83a;this['_registerDependencies'](),this[_0x1dfccc(0x20e)]();}['_registerDependencies'](){var _0x57366d=_0xe3a83a,_0x1122d7,_0xee8f63;this[_0x57366d(0x450)][_0x57366d(0x2ee)](a['IUndoRedoService'])&&this['_logService'][_0x57366d(0x467)](_0x57366d(0x324),_0x57366d(0x410));const _0xc02ff8=a[_0x57366d(0x358)]([[a['IUndoRedoService'],{'useClass':exports[_0x57366d(0x47b)]}],[exports[_0x57366d(0x17f)]],[exports[_0x57366d(0x2e0)]],[exports[_0x57366d(0x3d7)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x57366d(0x29c)]],[He,{'useClass':this[_0x57366d(0x3f6)]['socketService']}],[I[_0x57366d(0x492)],{'useClass':exports[_0x57366d(0x1a2)]}],[a[_0x57366d(0x38d)],{'useClass':exports[_0x57366d(0x470)]}],[z[_0x57366d(0x474)],{'useClass':exports[_0x57366d(0x394)]}],[a[_0x57366d(0x2b1)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[xe]],(_0x1122d7=this[_0x57366d(0x3f6)])==null?void 0x0:_0x1122d7['override']);if(!((_0xee8f63=this[_0x57366d(0x3f6)])!=null&&_0xee8f63[_0x57366d(0x149)])){const _0x4ae7cb=_0xc02ff8[_0x57366d(0x2f3)](([_0x37a37e])=>_0x37a37e===de);_0x4ae7cb!==-0x1&&_0xc02ff8[_0x57366d(0x3f4)](_0x4ae7cb,0x1);}a[_0x57366d(0x330)](this[_0x57366d(0x450)],_0xc02ff8);}[_0xe3a83a(0x20e)](){var _0x424f24=_0xe3a83a,_0x1ffd2a,_0x5407c0,_0x433dcb;this[_0x424f24(0x450)][_0x424f24(0x10f)](Y[_0x424f24(0x3cc)])[_0x424f24(0x125)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1ffd2a=this['_config'])!=null&&_0x1ffd2a[_0x424f24(0x373)]||(_0x5407c0=this[_0x424f24(0x450)][_0x424f24(0x10f)](q,a[_0x424f24(0x295)][_0x424f24(0x264)]))==null||_0x5407c0[_0x424f24(0x427)](),(_0x433dcb=this['_config'])!=null&&_0x433dcb[_0x424f24(0x2bc)]&&a[_0x424f24(0x154)](this[_0x424f24(0x450)],[[ye]]),a[_0x424f24(0x154)](this[_0x424f24(0x450)],[[Ne],[exports[_0x424f24(0x280)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],_0xe3a83a(0x2d2),An),exports[_0xe3a83a(0x1a4)]=Un([a[_0xe3a83a(0x2e1)](I[_0xe3a83a(0x1f2)],Y[_0xe3a83a(0x491)]),Me(0x1,a[_0xe3a83a(0x437)]),Me(0x2,a[_0xe3a83a(0x1e6)](a['Injector'])),Me(0x3,a[_0xe3a83a(0x33f)])],exports[_0xe3a83a(0x1a4)]),exports[_0xe3a83a(0x481)]=Ve,exports[_0xe3a83a(0x310)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports[_0xe3a83a(0x345)]=ut,exports[_0xe3a83a(0x1f7)]=Be,exports[_0xe3a83a(0x42d)]=Z,exports[_0xe3a83a(0x348)]=ee,exports[_0xe3a83a(0x1d8)]=$e,exports[_0xe3a83a(0x306)]=dt,exports[_0xe3a83a(0x3a7)]=Kt,exports[_0xe3a83a(0x10a)]=kt,exports[_0xe3a83a(0x354)]=vt,exports[_0xe3a83a(0x449)]=ke,exports[_0xe3a83a(0x480)]=He,exports[_0xe3a83a(0x477)]=q,exports['INetworkConditionService']=mt,exports[_0xe3a83a(0x36d)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0xe3a83a(0x384)]=Bt,exports[_0xe3a83a(0x3c9)]=It,exports[_0xe3a83a(0x1b5)]=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0xe3a83a(0x177)]=re,exports[_0xe3a83a(0x1eb)]=je,exports[_0xe3a83a(0x32f)]=Ct,exports[_0xe3a83a(0x489)]=oi,exports[_0xe3a83a(0x2eb)]=Tt;