@univerjs-pro/collaboration-client 0.9.2-nightly.202507111607 → 0.9.2-nightly.202507121606

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 _0x2e56f0=_0x3736;function _0x3736(_0x6b7c32,_0x490cbe){var _0x2eafa5=_0x2eaf();return _0x3736=function(_0x373693,_0x5d7dad){_0x373693=_0x373693-0x9f;var _0x14c1d2=_0x2eafa5[_0x373693];return _0x14c1d2;},_0x3736(_0x6b7c32,_0x490cbe);}(function(_0x20ffbb,_0x54b2a9){var _0x4ebec5=_0x3736,_0x44aad9=_0x20ffbb();while(!![]){try{var _0x5c4e68=parseInt(_0x4ebec5(0x177))/0x1+-parseInt(_0x4ebec5(0x12f))/0x2*(-parseInt(_0x4ebec5(0x10e))/0x3)+parseInt(_0x4ebec5(0xa6))/0x4*(-parseInt(_0x4ebec5(0x139))/0x5)+parseInt(_0x4ebec5(0xc4))/0x6*(parseInt(_0x4ebec5(0xd2))/0x7)+parseInt(_0x4ebec5(0xb7))/0x8+-parseInt(_0x4ebec5(0x264))/0x9*(parseInt(_0x4ebec5(0x1ff))/0xa)+-parseInt(_0x4ebec5(0x2b5))/0xb*(-parseInt(_0x4ebec5(0x2f6))/0xc);if(_0x5c4e68===_0x54b2a9)break;else _0x44aad9['push'](_0x44aad9['shift']());}catch(_0x2f5206){_0x44aad9['push'](_0x44aad9['shift']());}}}(_0x2eaf,0x4a860));var Ut=Object['defineProperty'],At=(_0x1a576b,_0x5796d9,_0x1e2b78)=>_0x5796d9 in _0x1a576b?Ut(_0x1a576b,_0x5796d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e2b78}):_0x1a576b[_0x5796d9]=_0x1e2b78,A=(_0x197549,_0x45cc90,_0x4b401c)=>At(_0x197549,typeof _0x45cc90!=_0x2e56f0(0x198)?_0x45cc90+'':_0x45cc90,_0x4b401c);Object[_0x2e56f0(0x2b2)](exports,Symbol[_0x2e56f0(0x16a)],{'value':'Module'});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x2e56f0(0x3fc),wt=_0x2e56f0(0x3db),lt=_0x2e56f0(0x1a0),Mt=_0x2e56f0(0x12e),xt=0x7d0,ut=_0x2e56f0(0xd7),dt=_0x2e56f0(0x37f),kt=_0x2e56f0(0x29a),vt=_0x2e56f0(0x1be),Ht=0x7530,ke=_0x2e56f0(0x2d3),St=0x4e20,$t=0x4e20,ft=_0x2e56f0(0x19a),jt=0x3,Bt=_0x2e56f0(0x37c),Ft=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Vt='/universer-api/comb',pt=_0x2e56f0(0x14b),Wt='/universer-api/oidc/authpage',Yt=_0x2e56f0(0x3b2),Gt=_0x2e56f0(0xbf);var gt=(_0x54b30f=>(_0x54b30f[_0x54b30f[_0x2e56f0(0x41d)]=0x0]=_0x2e56f0(0x41d),_0x54b30f[_0x54b30f['OK']=0x1]='OK',_0x54b30f[_0x54b30f[_0x2e56f0(0x3a5)]=0x2]='INTERNAL_ERROR',_0x54b30f[_0x54b30f[_0x2e56f0(0x129)]=0x3]='PERMISSION_DENIED',_0x54b30f[_0x54b30f[_0x2e56f0(0x358)]=0x4]=_0x2e56f0(0x358),_0x54b30f[_0x54b30f['UNAUTHENTICATED']=0x5]=_0x2e56f0(0x27d),_0x54b30f[_0x54b30f[_0x2e56f0(0x26b)]=0x6]=_0x2e56f0(0x26b),_0x54b30f[_0x54b30f[_0x2e56f0(0x291)]=0x7]=_0x2e56f0(0x291),_0x54b30f[_0x54b30f[_0x2e56f0(0x2c7)]=0x8]=_0x2e56f0(0x2c7),_0x54b30f[_0x54b30f[_0x2e56f0(0x3e6)]=0x9]=_0x2e56f0(0x3e6),_0x54b30f[_0x54b30f[_0x2e56f0(0xbe)]=0xa]=_0x2e56f0(0xbe),_0x54b30f[_0x54b30f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2e56f0(0x22b),_0x54b30f[_0x54b30f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2e56f0(0x3f3),_0x54b30f[_0x54b30f[_0x2e56f0(0x266)]=0xd]=_0x2e56f0(0x266),_0x54b30f[_0x54b30f[_0x2e56f0(0x273)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54b30f[_0x54b30f['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54b30f[_0x54b30f[_0x2e56f0(0x124)]=0x1771]=_0x2e56f0(0x124),_0x54b30f[_0x54b30f[_0x2e56f0(0x28a)]=0x1772]=_0x2e56f0(0x28a),_0x54b30f[_0x54b30f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x54b30f[_0x54b30f[_0x2e56f0(0x3ac)]=0x1b59]=_0x2e56f0(0x3ac),_0x54b30f[_0x54b30f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2e56f0(0x1c5),_0x54b30f[_0x54b30f[_0x2e56f0(0x226)]=0x1b5b]=_0x2e56f0(0x226),_0x54b30f[_0x54b30f[_0x2e56f0(0x236)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x54b30f[_0x54b30f[_0x2e56f0(0x1e2)]=0x1b5d]=_0x2e56f0(0x1e2),_0x54b30f[_0x54b30f[_0x2e56f0(0x141)]=0x1f41]=_0x2e56f0(0x141),_0x54b30f[_0x54b30f[_0x2e56f0(0xf6)]=0x2329]=_0x2e56f0(0xf6),_0x54b30f[_0x54b30f[_0x2e56f0(0x34e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54b30f[_0x54b30f[_0x2e56f0(0x1f0)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54b30f[_0x54b30f[_0x2e56f0(0x1ca)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x54b30f[_0x54b30f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2e56f0(0x2f1),_0x54b30f[_0x54b30f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2e56f0(0xae),_0x54b30f[_0x54b30f[_0x2e56f0(0x3b6)]=0x2712]=_0x2e56f0(0x3b6),_0x54b30f[_0x54b30f[_0x2e56f0(0x3a3)]=0x2713]=_0x2e56f0(0x3a3),_0x54b30f[_0x54b30f[_0x2e56f0(0x1fb)]=0x2714]=_0x2e56f0(0x1fb),_0x54b30f[_0x54b30f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2e56f0(0x377),_0x54b30f[_0x54b30f[_0x2e56f0(0xec)]=0x271b]=_0x2e56f0(0xec),_0x54b30f[_0x54b30f[_0x2e56f0(0x171)]=0x271c]=_0x2e56f0(0x171),_0x54b30f[_0x54b30f[_0x2e56f0(0x121)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x54b30f[_0x54b30f[_0x2e56f0(0xb8)]=0x271e]=_0x2e56f0(0xb8),_0x54b30f[_0x54b30f[_0x2e56f0(0x13d)]=0x271f]=_0x2e56f0(0x13d),_0x54b30f[_0x54b30f[_0x2e56f0(0x347)]=0x2720]=_0x2e56f0(0x347),_0x54b30f[_0x54b30f[_0x2e56f0(0x3b4)]=0x2af9]=_0x2e56f0(0x3b4),_0x54b30f[_0x54b30f[_0x2e56f0(0xc7)]=0x2ee1]=_0x2e56f0(0xc7),_0x54b30f[_0x54b30f[_0x2e56f0(0x1b3)]=0x2ee2]='INVALID_INVITE_CODE',_0x54b30f[_0x54b30f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2e56f0(0x336),_0x54b30f[_0x54b30f[_0x2e56f0(0x11f)]=0x2ee4]=_0x2e56f0(0x11f),_0x54b30f[_0x54b30f[_0x2e56f0(0xad)]=0x2ee5]=_0x2e56f0(0xad),_0x54b30f[_0x54b30f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2e56f0(0x2d9),_0x54b30f[_0x54b30f[_0x2e56f0(0x127)]=0x32ca]=_0x2e56f0(0x127),_0x54b30f[_0x54b30f[_0x2e56f0(0x195)]=0x32cb]=_0x2e56f0(0x195),_0x54b30f[_0x54b30f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x54b30f))(gt||{}),J=(_0x421da9=>(_0x421da9[_0x421da9[_0x2e56f0(0x17e)]=0x0]=_0x2e56f0(0x17e),_0x421da9[_0x421da9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x421da9[_0x421da9['UNIVER_SHEET']=0x2]=_0x2e56f0(0x329),_0x421da9[_0x421da9[_0x2e56f0(0xe1)]=0x3]=_0x2e56f0(0xe1),_0x421da9[_0x421da9[_0x2e56f0(0x343)]=0x4]=_0x2e56f0(0x343),_0x421da9[_0x421da9[_0x2e56f0(0x34a)]=-0x1]='UNRECOGNIZED',_0x421da9))(J||{}),W=(_0x1d1ce8=>(_0x1d1ce8[_0x1d1ce8[_0x2e56f0(0x3c4)]=0x0]=_0x2e56f0(0x3c4),_0x1d1ce8[_0x1d1ce8['HELLO']=0x1]=_0x2e56f0(0x110),_0x1d1ce8[_0x1d1ce8[_0x2e56f0(0x1ad)]=0x2]=_0x2e56f0(0x1ad),_0x1d1ce8[_0x1d1ce8['LEAVE']=0x3]=_0x2e56f0(0x306),_0x1d1ce8[_0x1d1ce8[_0x2e56f0(0x375)]=0x4]=_0x2e56f0(0x375),_0x1d1ce8[_0x1d1ce8[_0x2e56f0(0x2cf)]=0x5]=_0x2e56f0(0x2cf),_0x1d1ce8[_0x1d1ce8['RECV']=0x6]=_0x2e56f0(0x39a),_0x1d1ce8[_0x1d1ce8[_0x2e56f0(0x34a)]=-0x1]=_0x2e56f0(0x34a),_0x1d1ce8))(W||{}),oe=(_0x47afe9=>(_0x47afe9[_0x47afe9['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x47afe9[_0x47afe9['OK']=0x1]='OK',_0x47afe9[_0x47afe9['FAIL']=0x2]=_0x2e56f0(0x256),_0x47afe9[_0x47afe9[_0x2e56f0(0x30a)]=0x3e9]=_0x2e56f0(0x30a),_0x47afe9[_0x47afe9[_0x2e56f0(0x40c)]=0x3ea]=_0x2e56f0(0x40c),_0x47afe9[_0x47afe9[_0x2e56f0(0x165)]=0x3eb]=_0x2e56f0(0x165),_0x47afe9[_0x47afe9[_0x2e56f0(0x3e1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x47afe9[_0x47afe9[_0x2e56f0(0x34a)]=-0x1]=_0x2e56f0(0x34a),_0x47afe9))(oe||{}),Et=(_0x1c52cb=>(_0x1c52cb[_0x1c52cb[_0x2e56f0(0x303)]=0x0]=_0x2e56f0(0x303),_0x1c52cb[_0x1c52cb[_0x2e56f0(0x32c)]=0x1]='HttpImport',_0x1c52cb[_0x1c52cb[_0x2e56f0(0x3b8)]=0x2]=_0x2e56f0(0x3b8),_0x1c52cb[_0x1c52cb[_0x2e56f0(0xe0)]=0x3]='UnitEmbedded',_0x1c52cb[_0x1c52cb['UnitSnapshot']=0x4]='UnitSnapshot',_0x1c52cb[_0x1c52cb['UserProfileImg']=0x5]=_0x2e56f0(0x412),_0x1c52cb[_0x1c52cb[_0x2e56f0(0x34a)]=-0x1]=_0x2e56f0(0x34a),_0x1c52cb))(Et||{});const G='collaboration-client.config',Kt={};var Z=(_0x2b3e40=>(_0x2b3e40['OTHER_CLIENT_EDITING']=_0x2e56f0(0x17b),_0x2b3e40['PERMISSION_DENIED']=_0x2e56f0(0x129),_0x2b3e40[_0x2e56f0(0x12c)]='CONFLICT',_0x2b3e40[_0x2e56f0(0x19f)]=_0x2e56f0(0x19f),_0x2b3e40[_0x2e56f0(0x3f2)]=_0x2e56f0(0x3f2),_0x2b3e40['SOCKET_FAILED_RETRY']=_0x2e56f0(0x3e0),_0x2b3e40['SOCKET_FAILED']=_0x2e56f0(0x21d),_0x2b3e40[_0x2e56f0(0xa3)]=_0x2e56f0(0xa3),_0x2b3e40))(Z||{});class ee{constructor(){var _0x4ed576=_0x2e56f0;A(this,_0x4ed576(0x1eb),new $[(_0x4ed576(0x30b))]()),A(this,_0x4ed576(0x20e),this[_0x4ed576(0x1eb)][_0x4ed576(0x2c4)]());}['emitEvent'](_0x308bb4){var _0x4c14c2=_0x2e56f0;this[_0x4c14c2(0x1eb)][_0x4c14c2(0x212)](_0x308bb4);}}const mt=a['createIdentifier'](_0x2e56f0(0x3dc));function Ct(_0x3c8d6a){var _0x2af190=_0x2e56f0,_0x441a79,_0x50b949,_0x579e45,_0x419c71,_0x31e9c1;const _0x56bd1f=_0x3c8d6a['data'],_0x35f45e=JSON[_0x2af190(0x2be)](_0x56bd1f);switch(_0x35f45e[_0x2af190(0x28e)]){case W['HEARTBEAT']:case W[_0x2af190(0x110)]:{const _0x558558=_0x35f45e['infoRsp'];return{..._0x35f45e,'data':_0x558558,'cmd':_0x35f45e['cmd']};}case W[_0x2af190(0x1ad)]:{const _0x463b51=_0x35f45e['joinRsp'];return{..._0x35f45e,'data':_0x463b51,'cmd':_0x35f45e[_0x2af190(0x28e)]};}case W['RECV']:{const _0x5d214a=_0x35f45e[_0x2af190(0x3cf)];switch(_0x5d214a[_0x2af190(0x360)]){case p[_0x2af190(0x136)][_0x2af190(0xce)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':(_0x441a79=_0x5d214a[_0x2af190(0x18e)])==null?void 0x0:_0x441a79['cs']},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p['CollaborationEvent'][_0x2af190(0x3cb)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':(_0x50b949=_0x5d214a['csAckEvent'])==null?void 0x0:_0x50b949['cs']},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x26f)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':(_0x579e45=_0x5d214a[_0x2af190(0x1ec)])==null?void 0x0:_0x579e45['cs']},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x144)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':(_0x419c71=_0x5d214a[_0x2af190(0x2a7)])==null?void 0x0:_0x419c71['cs']},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x3f5)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':(_0x31e9c1=_0x5d214a[_0x2af190(0x2d1)])==null?void 0x0:_0x31e9c1['cs']},'cmd':_0x35f45e['cmd']};case p[_0x2af190(0x136)][_0x2af190(0xe5)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x1d2)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)]['USERS_ENTER']:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0xf8)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x340)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x3f6)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x1b5)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x3bb)]},'cmd':_0x35f45e['cmd']};case p[_0x2af190(0x136)][_0x2af190(0x22e)]:case p[_0x2af190(0x136)]['LIVESHARE_OPERATION']:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x383)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x1ea)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a['liveShareNewHost']},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)]['MSG_FOR_ERROR']:return{..._0x35f45e,'data':_0x5d214a,'cmd':_0x35f45e[_0x2af190(0x28e)]};case p[_0x2af190(0x136)][_0x2af190(0x104)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a['commentUpdateEvent']},'cmd':_0x35f45e['cmd']};case p['CollaborationEvent'][_0x2af190(0x1bb)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a['updatePermissionObjEvent']},'cmd':_0x35f45e['cmd']};case p[_0x2af190(0x136)]['SHOULD_CLOSE_CONN']:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x117)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};case p['CollaborationEvent'][_0x2af190(0x230)]:return{..._0x35f45e,'data':{..._0x5d214a,'data':_0x5d214a[_0x2af190(0x333)]},'cmd':_0x35f45e[_0x2af190(0x28e)]};default:return _0x35f45e;}}default:return _0x35f45e;}}function Tt(_0x386ad5){var _0x460e55=_0x2e56f0;switch(_0x386ad5[_0x460e55(0x28e)]){case W[_0x460e55(0x2cf)]:case W[_0x460e55(0x110)]:return JSON[_0x460e55(0x34f)]({'cmd':_0x386ad5[_0x460e55(0x28e)],'routeKey':_0x386ad5[_0x460e55(0x381)]});case W['INGEST']:{let _0x507e17;switch(_0x386ad5[_0x460e55(0x357)][_0x460e55(0x360)]){case p[_0x460e55(0x136)]['UPDATE_CURSOR']:{_0x507e17={'eventID':p[_0x460e55(0x136)]['UPDATE_CURSOR'],'updateCursorEvent':_0x386ad5[_0x460e55(0x357)][_0x460e55(0x357)]};break;}case p[_0x460e55(0x136)][_0x460e55(0x340)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x340)],'leaveEvent':_0x386ad5[_0x460e55(0x357)]['data']};break;}case p[_0x460e55(0x136)][_0x460e55(0x20f)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x20f)],'joinEvent':_0x386ad5['data']['data']};break;}case p['CollaborationEvent'][_0x460e55(0x1b5)]:{_0x507e17={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x386ad5[_0x460e55(0x357)][_0x460e55(0x357)]};break;}case p[_0x460e55(0x136)][_0x460e55(0x225)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x225)],'liveShareOperation':_0x386ad5[_0x460e55(0x357)]['data']};break;}case p[_0x460e55(0x136)][_0x460e55(0x1ea)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x1ea)],'liveShareTerminate':_0x386ad5[_0x460e55(0x357)][_0x460e55(0x357)]};break;}case p[_0x460e55(0x136)][_0x460e55(0x143)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x143)],'liveShareRequestHost':_0x386ad5[_0x460e55(0x357)][_0x460e55(0x357)]};break;}case p[_0x460e55(0x136)][_0x460e55(0x22e)]:{_0x507e17={'eventID':p[_0x460e55(0x136)][_0x460e55(0x22e)]};break;}default:_0x507e17={'eventID':_0x386ad5[_0x460e55(0x357)][_0x460e55(0x360)]};}return JSON[_0x460e55(0x34f)]({'cmd':_0x386ad5[_0x460e55(0x28e)],'routeKey':_0x386ad5[_0x460e55(0x381)],'collaMsg':_0x507e17});}case W['JOIN']:return JSON['stringify']({'cmd':_0x386ad5[_0x460e55(0x28e)],'routeKey':_0x386ad5[_0x460e55(0x381)],'joinReq':_0x386ad5[_0x460e55(0x357)]});case W[_0x460e55(0x306)]:return JSON['stringify']({'cmd':_0x386ad5[_0x460e55(0x28e)],'routeKey':_0x386ad5['routeKey'],'leaveReq':_0x386ad5[_0x460e55(0x357)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x2e56f0(0x301)],zt=(_0x1064e6,_0x492b66,_0x3c3efd,_0x402bc7)=>{var _0x47c2a5=_0x2e56f0;for(var _0x13109d=_0x402bc7>0x1?void 0x0:_0x402bc7?qt(_0x492b66,_0x3c3efd):_0x492b66,_0xb8f121=_0x1064e6[_0x47c2a5(0x297)]-0x1,_0x3938b9;_0xb8f121>=0x0;_0xb8f121--)(_0x3938b9=_0x1064e6[_0xb8f121])&&(_0x13109d=_0x3938b9(_0x13109d)||_0x13109d);return _0x13109d;},_e=(_0x4f5a45,_0x327463)=>(_0x46bb46,_0x5b52a9)=>_0x327463(_0x46bb46,_0x5b52a9,_0x4f5a45);const He=a[_0x2e56f0(0x160)](_0x2e56f0(0x32f));function Jt(_0x25f3ce,_0xd1f2c1,_0x579890){var _0x2a0685=_0x2e56f0;return _0x25f3ce+'/'+_0xd1f2c1+_0x2a0685(0x3af)+_0x579890+_0x2a0685(0x304);}exports[_0x2e56f0(0x1a7)]=class extends a[_0x2e56f0(0x3fe)]{constructor(_0x2c39a6,_0x449f50,_0x3750ba,_0x425cc3,_0x2eda04){var _0x2ecde7=_0x2e56f0;super(),this[_0x2ecde7(0x3c6)]=_0x2c39a6,this['_httpService']=_0x449f50,this[_0x2ecde7(0x344)]=_0x3750ba,this['_logService']=_0x425cc3,this[_0x2ecde7(0x320)]=_0x2eda04;}['_doCreateSocket'](_0x56ae78){var _0x3c871b=_0x2e56f0;const _0x416734=this[_0x3c871b(0x3c6)][_0x3c871b(0xc5)](K['ISocketService']);if(!_0x416734)throw new Error(_0x3c871b(0x14a));const _0x1ff8c9=_0x416734[_0x3c871b(0x33f)](_0x56ae78);if(!_0x1ff8c9)throw new Error(_0x3c871b(0x1c0));const _0x126a0e=new a[(_0x3c871b(0x10b))](),_0x4325e3=new $[(_0x3c871b(0x30b))]();_0x126a0e[_0x3c871b(0x3fa)](_0x1ff8c9[_0x3c871b(0xf2)][_0x3c871b(0x280)](_0x50411c=>_0x4325e3['next'](_0x50411c))),_0x126a0e[_0x3c871b(0x3fa)](a['toDisposable'](()=>_0x4325e3[_0x3c871b(0x120)]()));const _0x37375b=new $[(_0x3c871b(0x30b))]();_0x126a0e[_0x3c871b(0x3fa)](_0x1ff8c9[_0x3c871b(0x29b)][_0x3c871b(0x280)](_0x40d30c=>_0x37375b[_0x3c871b(0x212)](_0x40d30c))),_0x126a0e[_0x3c871b(0x3fa)](a['toDisposable'](()=>_0x37375b[_0x3c871b(0x120)]()));const _0x20e523=new $[(_0x3c871b(0x30b))]();_0x126a0e[_0x3c871b(0x3fa)](_0x1ff8c9[_0x3c871b(0x1ac)][_0x3c871b(0x280)](_0x50639e=>{const _0x22ba75=Ct(_0x50639e);_0x20e523['next'](_0x22ba75);})),_0x126a0e[_0x3c871b(0x3fa)](a[_0x3c871b(0xde)](()=>_0x20e523['complete']()));let _0x4c155e;const _0x45de86=()=>{var _0x59afb5=_0x3c871b;_0x37375b['next'](new Event('connection\x20error')),_0x4325e3[_0x59afb5(0x212)](new Event('connection\x20error')),_0x4c155e[_0x59afb5(0x2ae)]();};return _0x4c155e={'memberID':'','close$':_0x4325e3[_0x3c871b(0x2c4)](),'error$':_0x37375b['asObservable'](),'open$':_0x1ff8c9[_0x3c871b(0x18d)],'message$':_0x20e523[_0x3c871b(0x2c4)](),'send':_0x36fa6a=>{var _0x174a1d=_0x3c871b;if(_0x36fa6a[_0x174a1d(0x28e)]===W[_0x174a1d(0x375)]){if(_0x36fa6a[_0x174a1d(0x357)][_0x174a1d(0x360)]===p[_0x174a1d(0x136)][_0x174a1d(0x3b5)]){this['_submitChangeset'](_0x4c155e,_0x36fa6a['data'])[_0x174a1d(0x263)](_0x523902=>{var _0x39a088=_0x174a1d;this[_0x39a088(0x38b)][_0x39a088(0xbd)](_0x523902),_0x45de86();});return;}if(_0x36fa6a[_0x174a1d(0x357)]['eventID']===p[_0x174a1d(0x136)][_0x174a1d(0xa0)]){const _0x3b10e2=_0x36fa6a['data'];this[_0x174a1d(0xd3)](_0x3b10e2)[_0x174a1d(0x2c1)](_0x58adc8=>{var _0x171c6e=_0x174a1d;_0x20e523[_0x171c6e(0x212)]({'cmd':W[_0x171c6e(0x39a)],'code':oe['OK'],'routeKey':_0x3b10e2['data']['unitID'],'routeType':'','data':{'eventID':p[_0x171c6e(0x136)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x58adc8}}});})[_0x174a1d(0x263)](_0x5d4812=>{var _0x350787=_0x174a1d;this[_0x350787(0x38b)][_0x350787(0xbd)](_0x5d4812),_0x45de86();});return;}}_0x1ff8c9[_0x174a1d(0x40f)](Tt(_0x36fa6a));},'close':()=>{var _0x5cb638=_0x3c871b;_0x1ff8c9[_0x5cb638(0x2ae)](),_0x126a0e['dispose']();}},_0x4c155e;}async[_0x2e56f0(0x161)](_0x2c04c3,_0x551cfe){var _0x3bfe34=_0x2e56f0,_0x5852c7,_0x4dfc10;const {unitType:_0x12faea,unitID:_0x4382c0,changeset:_0x8bc56e}=_0x551cfe['data'],_0x3303f9={'unitID':_0x4382c0,'memberID':_0x2c04c3[_0x3bfe34(0x292)],'type':_0x12faea,'changeset':p[_0x3bfe34(0x311)](_0x8bc56e)},_0x5a918a=this['_configService'][_0x3bfe34(0x38e)](It),_0x24ea16=this['_configService'][_0x3bfe34(0x38e)](G),_0x5884f0=Jt((_0x4dfc10=(_0x5852c7=_0x24ea16==null?void 0x0:_0x24ea16[_0x3bfe34(0x3aa)])!=null?_0x5852c7:_0x5a918a)!=null?_0x4dfc10:Vt,_0x12faea,_0x4382c0);try{await this[_0x3bfe34(0x201)][_0x3bfe34(0x37b)](_0x5884f0,{'body':_0x3303f9});}catch(_0x30d29a){throw this[_0x3bfe34(0x38b)]['error'](_0x3bfe34(0xdd),_0x3bfe34(0x2b0)),_0x30d29a;}}async['_fetchMissChangesets'](_0x1fad74){var _0x4afc40=_0x2e56f0;const {unitID:_0x18d6f4,from:_0x422c97,to:_0x55b998,unitType:_0x247682}=_0x1fad74[_0x4afc40(0x357)];return(await this[_0x4afc40(0x320)][_0x4afc40(0x1f9)]({'metadata':void 0x0},{'unitID':_0x18d6f4,'type':_0x247682,'from':_0x422c97,'to':_0x55b998}))[_0x4afc40(0x3fb)];}},exports['CollaborationSocketService']=zt([_e(0x0,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),_e(0x1,a[_0x2e56f0(0x159)](K['HTTPService'])),_e(0x2,a[_0x2e56f0(0x25b)]),_e(0x3,a[_0x2e56f0(0xac)]),_e(0x4,p[_0x2e56f0(0x1aa)])],exports[_0x2e56f0(0x1a7)]);const Xt='collaboration_new_changeset';function Zt(_0x368174){var _0x37edd7=_0x2e56f0;return JSON[_0x37edd7(0x34f)](_0x368174)[_0x37edd7(0x297)];}class $e{constructor(){var _0x12ceed=_0x2e56f0;A(this,_0x12ceed(0x21a),new $[(_0x12ceed(0x30b))]()),A(this,_0x12ceed(0xef),this['_commentUpdate$']['asObservable']());}[_0x2e56f0(0x2e5)](_0x163c6f){var _0x3bba74=_0x2e56f0;this['_commentUpdate$'][_0x3bba74(0x212)](_0x163c6f);}}var Qt=Object[_0x2e56f0(0x301)],ei=(_0x22143d,_0x426214,_0x5b7f82,_0x50c78e)=>{var _0x5dd803=_0x2e56f0;for(var _0xd67be8=_0x50c78e>0x1?void 0x0:_0x50c78e?Qt(_0x426214,_0x5b7f82):_0x426214,_0x1eb33d=_0x22143d[_0x5dd803(0x297)]-0x1,_0x5b4e4c;_0x1eb33d>=0x0;_0x1eb33d--)(_0x5b4e4c=_0x22143d[_0x1eb33d])&&(_0xd67be8=_0x5b4e4c(_0xd67be8)||_0xd67be8);return _0xd67be8;},We=(_0x560e23,_0x3ca8c0)=>(_0x131915,_0x1c593b)=>_0x3ca8c0(_0x131915,_0x1c593b,_0x560e23);exports[_0x2e56f0(0x38a)]=class extends a[_0x2e56f0(0x3fe)]{constructor(_0x44a28f,_0x51e9be){var _0x55ac14=_0x2e56f0;super(),A(this,_0x55ac14(0x355),new Map()),A(this,_0x55ac14(0x2ed),new $[(_0x55ac14(0x30b))]()),(this['_univerInstanceService']=_0x44a28f,this[_0x55ac14(0x24a)]=_0x51e9be,this[_0x55ac14(0x3d4)]($[_0x55ac14(0x29e)](this[_0x55ac14(0x2bf)][_0x55ac14(0x378)](a[_0x55ac14(0xa1)][_0x55ac14(0x329)])[_0x55ac14(0x1af)](V[_0x55ac14(0x1f2)](_0x4eafc2=>_0x4eafc2[_0x55ac14(0x2ca)]())),this[_0x55ac14(0x2bf)][_0x55ac14(0x378)](a[_0x55ac14(0xa1)][_0x55ac14(0x20d)])[_0x55ac14(0x1af)](V[_0x55ac14(0x1f2)](_0x5d3ca9=>_0x5d3ca9[_0x55ac14(0x2ca)]())),this['_univerInstanceService'][_0x55ac14(0x378)](a[_0x55ac14(0xa1)][_0x55ac14(0xe1)])[_0x55ac14(0x1af)](V['map'](_0x1737e4=>_0x1737e4[_0x55ac14(0x2ca)]())))['subscribe'](_0x17c716=>this[_0x55ac14(0x317)](_0x17c716))));}[_0x2e56f0(0x1d3)](_0x4face3){var _0x44a779=_0x2e56f0;return this['_roomMembers'][_0x44a779(0x1bc)](_0x4face3)?$['of'](this[_0x44a779(0x355)][_0x44a779(0xc5)](_0x4face3)):this[_0x44a779(0x2ed)]['pipe'](V[_0x44a779(0x1f2)](_0xde992c=>{var _0x473c6b=_0x44a779;if(_0xde992c===_0x4face3)return this[_0x473c6b(0x355)][_0x473c6b(0xc5)](_0xde992c);}));}['setCurrentUser'](_0x52a0f2){var _0x38c73c=_0x2e56f0;this[_0x38c73c(0x24a)][_0x38c73c(0x1ed)](_0x52a0f2);}[_0x2e56f0(0x107)](){var _0x407ab9=_0x2e56f0;return this[_0x407ab9(0x24a)][_0x407ab9(0x107)]();}[_0x2e56f0(0x18f)](_0x191d8f,_0x4290c6){var _0x71a363=_0x2e56f0;let _0x125d44=this['_roomMembers'][_0x71a363(0xc5)](_0x191d8f);_0x125d44||(_0x125d44=new ti(),this[_0x71a363(0x355)][_0x71a363(0x233)](_0x191d8f,_0x125d44),this[_0x71a363(0x2ed)][_0x71a363(0x212)](_0x191d8f)),_0x125d44['updateMember'](_0x4290c6);}['removeMember'](_0x451c14,_0x458721){var _0x585eea=_0x2e56f0;const _0x4cc861=this[_0x585eea(0x355)]['get'](_0x451c14);_0x4cc861&&_0x4cc861[_0x585eea(0x2aa)](_0x458721);}[_0x2e56f0(0x172)](_0x1c88da){var _0x183e59=_0x2e56f0;return this[_0x183e59(0x355)][_0x183e59(0xc5)](_0x1c88da);}[_0x2e56f0(0x298)](_0x5b68d1,_0x2d3b29){var _0x5669e2=_0x2e56f0;const _0x7a87cc=this[_0x5669e2(0x355)][_0x5669e2(0xc5)](_0x5b68d1);if(_0x7a87cc)return _0x7a87cc[_0x5669e2(0x298)](_0x2d3b29);}['_removeRoom'](_0x31ca81){var _0x51b39e=_0x2e56f0;const _0x54b661=this[_0x51b39e(0x355)][_0x51b39e(0xc5)](_0x31ca81);_0x54b661&&(_0x54b661[_0x51b39e(0x142)](),this[_0x51b39e(0x355)]['delete'](_0x31ca81));}['dispose'](){var _0x1ae3fd=_0x2e56f0;this[_0x1ae3fd(0x355)][_0x1ae3fd(0x229)](_0xee1683=>_0xee1683[_0x1ae3fd(0x142)]()),this[_0x1ae3fd(0x355)][_0x1ae3fd(0x410)](),this[_0x1ae3fd(0x2ed)][_0x1ae3fd(0x120)]();}},exports[_0x2e56f0(0x38a)]=ei([We(0x0,a[_0x2e56f0(0x13a)]),We(0x1,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x1e7)]))],exports[_0x2e56f0(0x38a)]);class ti extends a[_0x2e56f0(0x3fe)]{constructor(){var _0x13bbc3=_0x2e56f0;super(...arguments),A(this,_0x13bbc3(0x181),new Map()),A(this,_0x13bbc3(0x1da),new $[(_0x13bbc3(0x2bd))](this[_0x13bbc3(0x181)])),A(this,'members$',this[_0x13bbc3(0x1da)][_0x13bbc3(0x2c4)]());}[_0x2e56f0(0x142)](){var _0xbb77c6=_0x2e56f0;this[_0xbb77c6(0x181)][_0xbb77c6(0x410)]();}[_0x2e56f0(0x18f)](_0x5b4a4a){var _0x18c08d=_0x2e56f0;this[_0x18c08d(0x181)]['set'](_0x5b4a4a['memberID'],_0x5b4a4a),this[_0x18c08d(0x413)]();}[_0x2e56f0(0x2aa)](_0x5f40ab){var _0x30e3fa=_0x2e56f0;this[_0x30e3fa(0x181)][_0x30e3fa(0x222)](_0x5f40ab);}[_0x2e56f0(0x298)](_0x5d1957){var _0x53ee8f=_0x2e56f0;return this[_0x53ee8f(0x181)][_0x53ee8f(0xc5)](_0x5d1957);}['getAllMembers'](){var _0x9d69fc=_0x2e56f0;return Array[_0x9d69fc(0x2dd)](this[_0x9d69fc(0x181)][_0x9d69fc(0x101)]());}['_emitMembers'](){this['_members$']['next'](this['_members']);}}var ii=Object[_0x2e56f0(0x301)],ni=(_0x9efe54,_0x53e5b0,_0xd38435,_0x15d73f)=>{var _0x146558=_0x2e56f0;for(var _0x47546b=_0x15d73f>0x1?void 0x0:_0x15d73f?ii(_0x53e5b0,_0xd38435):_0x53e5b0,_0x35b397=_0x9efe54[_0x146558(0x297)]-0x1,_0x5378fc;_0x35b397>=0x0;_0x35b397--)(_0x5378fc=_0x9efe54[_0x35b397])&&(_0x47546b=_0x5378fc(_0x47546b)||_0x47546b);return _0x47546b;},se=(_0x7a0047,_0x3afd32)=>(_0x184896,_0x2815c3)=>_0x3afd32(_0x184896,_0x2815c3,_0x7a0047),re=(_0x5cc89c=>(_0x5cc89c[_0x5cc89c[_0x2e56f0(0xaf)]=0x0]='IDLE',_0x5cc89c[_0x5cc89c[_0x2e56f0(0x294)]=0x1]=_0x2e56f0(0x294),_0x5cc89c[_0x5cc89c[_0x2e56f0(0x12a)]=0x2]=_0x2e56f0(0x12a),_0x5cc89c[_0x5cc89c['ONLINE']=0x3]=_0x2e56f0(0x21c),_0x5cc89c))(re||{});const Ye={[oe['FAIL']]:_0x2e56f0(0x3de),[oe[_0x2e56f0(0x30a)]]:_0x2e56f0(0x265),[oe[_0x2e56f0(0x40c)]]:_0x2e56f0(0x23e),[oe[_0x2e56f0(0x165)]]:'session.room-permission-denied',[oe[_0x2e56f0(0x3e1)]]:_0x2e56f0(0x1a3)};exports['CollaborationSession']=class extends a[_0x2e56f0(0x351)]{constructor(_0x1aec27,_0x18d63f,_0x191e58,_0x5cbe3d,_0x3ebb64,_0x5cc0c0,_0x2b5423,_0x40f5da,_0x5c4e1c){var _0x2cb76d=_0x2e56f0;super(),A(this,'_sessionStatus$',new $['BehaviorSubject'](0x0)),A(this,_0x2cb76d(0x365),this[_0x2cb76d(0x3d6)]['asObservable']()),A(this,'_event$',new $[(_0x2cb76d(0x30b))]()),A(this,_0x2cb76d(0x20e),this['_event$'][_0x2cb76d(0x2c4)]()),A(this,_0x2cb76d(0x16b)),A(this,_0x2cb76d(0x164)),A(this,'_collaborationTimeoutTimer'),A(this,_0x2cb76d(0x2ec),!0x1),A(this,_0x2cb76d(0x284),null),(this[_0x2cb76d(0x134)]=_0x1aec27,this['_logService']=_0x191e58,this[_0x2cb76d(0x344)]=_0x5cbe3d,this[_0x2cb76d(0x39b)]=_0x3ebb64,this[_0x2cb76d(0xd0)]=_0x5cc0c0,this[_0x2cb76d(0x24b)]=_0x2b5423,this[_0x2cb76d(0x26a)]=_0x40f5da,this['_telemetryService']=_0x5c4e1c,this[_0x2cb76d(0x2ec)]=!!this['_telemetryService'],_0x18d63f[_0x2cb76d(0x1af)]($[_0x2cb76d(0xea)](this['dispose$']))[_0x2cb76d(0x280)](_0x542eef=>{var _0x52c157=_0x2cb76d,_0x17b443;typeof _0x542eef>'u'||(this[_0x52c157(0x16b)]=_0x542eef,_0x542eef?(this['_joinRoom'](_0x542eef),this[_0x52c157(0x164)]=_0x542eef[_0x52c157(0x1ac)]['subscribe'](_0x18185f=>{var _0x28dd18=_0x52c157;_0x18185f[_0x28dd18(0x381)]===this['_unitID']&&this['_onCombEvent'](_0x18185f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x52c157(0x212)](0x2),(_0x17b443=this['_socketMessageSubscription'])==null||_0x17b443[_0x52c157(0x390)](),this[_0x52c157(0x164)]=null));}));}get[_0x2e56f0(0x32b)](){var _0x58c8fd=_0x2e56f0;return this[_0x58c8fd(0x3d6)][_0x58c8fd(0x286)]();}[_0x2e56f0(0x2bb)](){var _0x528598=_0x2e56f0,_0x518906,_0x4bd870;return(_0x4bd870=(_0x518906=this['_socket'])==null?void 0x0:_0x518906[_0x528598(0x292)])!=null?_0x4bd870:null;}[_0x2e56f0(0x142)](){var _0x2b89eb=_0x2e56f0;super[_0x2b89eb(0x142)](),this['dispose$'][_0x2b89eb(0x212)](),this[_0x2b89eb(0xe4)]['complete']();}[_0x2e56f0(0x2ae)](){var _0x214f6a=_0x2e56f0,_0x184781,_0x4d3db0;this[_0x214f6a(0x208)](),(_0x184781=this[_0x214f6a(0x16b)])==null||_0x184781[_0x214f6a(0x40f)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x214f6a(0x134)]}}),(_0x4d3db0=this['_socket'])==null||_0x4d3db0[_0x214f6a(0x2ae)](),this[_0x214f6a(0x1eb)]['complete'](),this['_sessionStatus$'][_0x214f6a(0x120)](),this[_0x214f6a(0x142)]();}['_onCombEvent'](_0x499a7f){var _0x1d9fcd=_0x2e56f0;_0x499a7f[_0x1d9fcd(0x28e)]===W['JOIN']?this[_0x1d9fcd(0x406)](_0x499a7f):_0x499a7f['cmd']===W[_0x1d9fcd(0x39a)]&&this[_0x1d9fcd(0x397)](_0x499a7f);}[_0x2e56f0(0x3ca)](_0x77916c){var _0x23fdbd=_0x2e56f0;this['_sessionStatus$'][_0x23fdbd(0x212)](0x1),_0x77916c[_0x23fdbd(0x40f)]({'cmd':W['JOIN'],'routeKey':this[_0x23fdbd(0x134)],'routeType':'','data':{'rooms':[{'roomID':this[_0x23fdbd(0x134)]}]}});}[_0x2e56f0(0x406)](_0xd51c16){var _0x1bf24f=_0x2e56f0,_0x4dcead;if(_0xd51c16[_0x1bf24f(0x25d)]in Ye){this['_collaborationUIEventService'][_0x1bf24f(0x3e7)]({'id':Z[_0x1bf24f(0x3f2)],'data':Ye[_0xd51c16[_0x1bf24f(0x25d)]]}),this[_0x1bf24f(0x3d6)][_0x1bf24f(0x212)](0x2);return;}this[_0x1bf24f(0x3d6)][_0x1bf24f(0x212)](0x3);const _0x21866a=(_0x4dcead=_0xd51c16['data']['roomInfos'][this[_0x1bf24f(0x134)]])==null?void 0x0:_0x4dcead[_0x1bf24f(0x19b)];_0x21866a&&_0x21866a[_0x1bf24f(0x229)](_0x108c43=>this['_memberService'][_0x1bf24f(0x18f)](this['_unitID'],_0x108c43));}[_0x2e56f0(0x397)](_0x3c79e7){var _0x429c1b=_0x2e56f0;try{const _0x1fa740=_0x3c79e7[_0x429c1b(0x357)];switch(_0x1fa740[_0x429c1b(0x360)]){case p['CollaborationEvent']['USERS_ENTER']:this[_0x429c1b(0x337)](_0x1fa740),this[_0x429c1b(0x1eb)]['next'](_0x1fa740);break;case p[_0x429c1b(0x136)]['USERS_LEAVE']:this['_onUserLeave'](_0x1fa740),this['_event$'][_0x429c1b(0x212)](_0x1fa740);break;case p['CollaborationEvent'][_0x429c1b(0x3cb)]:case p['CollaborationEvent'][_0x429c1b(0x3f5)]:this[_0x429c1b(0x281)](),this[_0x429c1b(0x3f1)](),this[_0x429c1b(0x1eb)][_0x429c1b(0x212)](_0x1fa740);break;case p[_0x429c1b(0x136)]['MSG_FOR_ERROR']:this[_0x429c1b(0x38b)]['error'](_0x429c1b(0x1a4)+JSON['stringify'](_0x1fa740)),this['_event$'][_0x429c1b(0x212)](_0x1fa740);break;case p[_0x429c1b(0x136)][_0x429c1b(0x104)]:this['_commentService'][_0x429c1b(0x2e5)](_0x1fa740['data']),this[_0x429c1b(0x1eb)][_0x429c1b(0x212)](_0x1fa740);break;default:this[_0x429c1b(0x1eb)][_0x429c1b(0x212)](_0x1fa740);}}catch(_0x167c16){this[_0x429c1b(0x38b)][_0x429c1b(0xbd)](_0x167c16,_0x3c79e7);}}[_0x2e56f0(0x337)](_0x327f6f){var _0x32af3b=_0x2e56f0;this['_memberService'][_0x32af3b(0x18f)](this['_unitID'],_0x327f6f['data']);}[_0x2e56f0(0x128)](_0x58bf29){var _0x44c517=_0x2e56f0;this['_memberService'][_0x44c517(0x2aa)](this[_0x44c517(0x134)],_0x58bf29[_0x44c517(0x357)][_0x44c517(0x292)]);}async['send'](_0x11170b,_0x3d0e90){var _0x1c35c4=_0x2e56f0;if(this['sessionStatus']!==0x3||!this[_0x1c35c4(0x16b)])throw new Error(_0x1c35c4(0x2d5));try{_0x11170b[_0x1c35c4(0x360)]===p[_0x1c35c4(0x136)][_0x1c35c4(0x3b5)]&&(this[_0x1c35c4(0x175)](),this[_0x1c35c4(0x2e4)](_0x11170b)),this[_0x1c35c4(0x16b)][_0x1c35c4(0x40f)]({'cmd':W[_0x1c35c4(0x375)],'routeKey':_0x3d0e90,'routeType':'','data':_0x11170b});}catch(_0x4e5c1a){this['_logService'][_0x1c35c4(0xbd)](_0x4e5c1a);}}[_0x2e56f0(0x175)](){var _0x244da0=_0x2e56f0,_0x2e9709;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3bdc09=_0x3736;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x3bdc09(0x3e7)]({'id':Z[_0x3bdc09(0xa3)]});},(_0x2e9709=this[_0x244da0(0x344)][_0x244da0(0x38e)](ke))!=null?_0x2e9709:St);}[_0x2e56f0(0x3f1)](){var _0x10119c=_0x2e56f0;this[_0x10119c(0x380)]&&(clearTimeout(this[_0x10119c(0x380)]),this[_0x10119c(0x380)]=null);}[_0x2e56f0(0x2e4)](_0x452f92){var _0x352ab6=_0x2e56f0;if(!this[_0x352ab6(0x2ec)])return;const {data:_0x3595fc}=_0x452f92,{unitID:_0x33fd7c,changeset:_0x14fd3c}=_0x3595fc,{mutations:_0x6242bb,type:_0x16a3cc}=_0x14fd3c;this['_telemetryInfo']={'unitId':_0x33fd7c,'type':_0x16a3cc,'startTime':performance[_0x352ab6(0x287)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x6242bb)};}[_0x2e56f0(0x281)](){var _0x3de05b=_0x2e56f0;if(this[_0x3de05b(0x2ec)]){if(!this[_0x3de05b(0x284)]){this[_0x3de05b(0x38b)][_0x3de05b(0xbd)](_0x3de05b(0xdd),_0x3de05b(0x183));return;}this[_0x3de05b(0x284)][_0x3de05b(0x1f1)]=performance[_0x3de05b(0x287)](),this[_0x3de05b(0x284)][_0x3de05b(0x3e8)]=this[_0x3de05b(0x284)]['stopTime']-this['_telemetryInfo'][_0x3de05b(0x214)],this[_0x3de05b(0x374)][_0x3de05b(0x151)](Xt,this['_telemetryInfo']),this[_0x3de05b(0x284)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x2e56f0(0x200)]=ni([se(0x2,a[_0x2e56f0(0xac)]),se(0x3,a[_0x2e56f0(0x25b)]),se(0x4,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x2a8)])),se(0x5,a['Inject'](exports['MemberService'])),se(0x6,a[_0x2e56f0(0x159)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports[_0x2e56f0(0x200)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x3e4e7b,_0x2acfb0,_0x1695a9,_0xed58f2)=>{var _0x13e4c1=_0x2e56f0;for(var _0x5873e6=_0xed58f2>0x1?void 0x0:_0xed58f2?ri(_0x2acfb0,_0x1695a9):_0x2acfb0,_0x213289=_0x3e4e7b[_0x13e4c1(0x297)]-0x1,_0x154a5a;_0x213289>=0x0;_0x213289--)(_0x154a5a=_0x3e4e7b[_0x213289])&&(_0x5873e6=_0x154a5a(_0x5873e6)||_0x5873e6);return _0x5873e6;},he=(_0x4806ed,_0x1f2530)=>(_0x401689,_0x4eca44)=>_0x1f2530(_0x401689,_0x4eca44,_0x4806ed);exports['CollaborationSessionService']=class extends a[_0x2e56f0(0x3fe)]{constructor(_0x504ad4,_0x27f4f2,_0x36302f,_0x3c0cb0,_0x46b145,_0x240689){var _0x2403ce=_0x2e56f0;super(),A(this,_0x2403ce(0x36b),new $[(_0x2403ce(0x2bd))](void 0x0)),A(this,_0x2403ce(0x34c),this[_0x2403ce(0x36b)][_0x2403ce(0x2c4)]()),A(this,'_candidateSocket',null),A(this,_0x2403ce(0x23a),new Map()),A(this,_0x2403ce(0x22f),new $[(_0x2403ce(0x2bd))](re[_0x2403ce(0xaf)])),A(this,_0x2403ce(0x31a),this[_0x2403ce(0x22f)][_0x2403ce(0x2c4)]()),A(this,_0x2403ce(0x1bf),!0x1),A(this,_0x2403ce(0x31c)),A(this,_0x2403ce(0x253),0x0),A(this,_0x2403ce(0xdc)),A(this,_0x2403ce(0x2e3)),(this['_injector']=_0x504ad4,this[_0x2403ce(0x38b)]=_0x27f4f2,this['_configService']=_0x36302f,this[_0x2403ce(0x3bd)]=_0x3c0cb0,this['_collaborationUIEventService']=_0x46b145,this['_networkConditionService']=_0x240689,this['_listenToNetworkCondition']());}get['_socket'](){var _0x3f9f98=_0x2e56f0;return this[_0x3f9f98(0x36b)][_0x3f9f98(0x286)]();}[_0x2e56f0(0x399)](){var _0x3d4a3d=_0x2e56f0;this[_0x3d4a3d(0xf7)]&&this[_0x3d4a3d(0x3d4)](this['_networkConditionService']['online$'][_0x3d4a3d(0x280)](_0x43c575=>{var _0x33a2e7=_0x3d4a3d;_0x43c575&&!this[_0x33a2e7(0x16b)]&&this['reconnect'](),_0x43c575||this[_0x33a2e7(0x2ab)]();}));}[_0x2e56f0(0x142)](){var _0x2251b4=_0x2e56f0;super[_0x2251b4(0x142)](),this[_0x2251b4(0x21f)](),this[_0x2251b4(0x289)](),this[_0x2251b4(0x30c)](),this[_0x2251b4(0x23a)][_0x2251b4(0x229)](_0xe2cd3b=>_0xe2cd3b[_0x2251b4(0x142)]()),this[_0x2251b4(0x23a)][_0x2251b4(0x410)](),this[_0x2251b4(0x22f)][_0x2251b4(0x120)]();}async['requireSession'](_0x398c42){var _0xf4eda=_0x2e56f0;if(this[_0xf4eda(0x23a)][_0xf4eda(0x1bc)](_0x398c42))return this[_0xf4eda(0x23a)][_0xf4eda(0xc5)](_0x398c42);this[_0xf4eda(0x35c)]();const _0x2abd73=this[_0xf4eda(0x3c6)][_0xf4eda(0x125)](exports['CollaborationSession'],_0x398c42,this['_socket$']['asObservable']());return this[_0xf4eda(0x23a)][_0xf4eda(0x233)](_0x398c42,_0x2abd73),_0x2abd73;}['closeSession'](_0x4ade15){var _0x2bfd3b=_0x2e56f0,_0x34a473;const _0x32ef18=this['_sessions'][_0x2bfd3b(0xc5)](_0x4ade15);_0x32ef18&&(this[_0x2bfd3b(0x23a)]['delete'](_0x4ade15),_0x32ef18[_0x2bfd3b(0x2ae)]()),this[_0x2bfd3b(0x23a)]['size']||(_0x34a473=this[_0x2bfd3b(0x16b)])==null||_0x34a473[_0x2bfd3b(0x2ae)]();}['reconnect'](){var _0xe57850=_0x2e56f0;this['_retryCount']=0x0,this[_0xe57850(0x21f)](),this[_0xe57850(0xcd)]();}['_clearRetryConnectingTimer'](){var _0x327210=_0x2e56f0;this[_0x327210(0x31c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x327210(0x31c)]=null);}async['_createSocket'](){var _0x21ee07=_0x2e56f0,_0x2f0514,_0x571218;const _0x500d0a=this[_0x21ee07(0x344)]['getConfig'](ut),_0x50861f=this[_0x21ee07(0x344)][_0x21ee07(0x38e)](G),_0x21707f=(_0x571218=(_0x2f0514=_0x50861f==null?void 0x0:_0x50861f[_0x21ee07(0x359)])!=null?_0x2f0514:_0x500d0a)!=null?_0x571218:dt,_0x4f4192=await this[_0x21ee07(0x3bd)]['createSocket'](_0x21707f);return this[_0x21ee07(0xd6)]=_0x4f4192,_0x4f4192;}async[_0x2e56f0(0x35c)](){var _0xc6f4f0=_0x2e56f0,_0x32750e,_0x2b18e6;try{const _0x17ede9=(_0x2b18e6=(_0x32750e=this[_0xc6f4f0(0x16b)])!=null?_0x32750e:this[_0xc6f4f0(0xd6)])!=null?_0x2b18e6:await this['_createSocket']();if(_0x17ede9){const _0x482b13=_0x17ede9[_0xc6f4f0(0x40f)];_0x17ede9['send']=_0x3cc959=>(this[_0xc6f4f0(0x2cb)](),_0x482b13[_0xc6f4f0(0x174)](_0x17ede9,[_0x3cc959])),_0x17ede9[_0xc6f4f0(0x1ac)]['subscribe'](_0x521fc8=>this[_0xc6f4f0(0x3ed)](_0x17ede9,_0x521fc8)),_0x17ede9[_0xc6f4f0(0x29b)][_0xc6f4f0(0x1af)](V['take'](0x1))[_0xc6f4f0(0x280)](_0x1fb294=>this[_0xc6f4f0(0x38b)][_0xc6f4f0(0xbd)](_0xc6f4f0(0x1d6),_0x1fb294)),_0x17ede9[_0xc6f4f0(0x18d)][_0xc6f4f0(0x1af)](V[_0xc6f4f0(0x3da)](0x1))[_0xc6f4f0(0x280)](()=>{var _0x4c7c61=_0xc6f4f0;this[_0x4c7c61(0x1c6)](_0x17ede9);}),_0x17ede9['close$'][_0xc6f4f0(0x1af)](V[_0xc6f4f0(0x3da)](0x1))[_0xc6f4f0(0x280)](_0x264b38=>{var _0x573141=_0xc6f4f0;this[_0x573141(0x38b)][_0x573141(0x269)]('[CollaborationSessionService]',_0x573141(0x176),_0x264b38),this[_0x573141(0xa7)]();});}}catch(_0x1eac89){this[_0xc6f4f0(0x38b)][_0xc6f4f0(0xbd)](_0x1eac89),this['_onConnectionFailed']();}}[_0x2e56f0(0x1c6)](_0x16f250){var _0x40228f=_0x2e56f0;this[_0x40228f(0x38b)][_0x40228f(0x269)](_0x40228f(0x145),_0x40228f(0xbc)),_0x16f250[_0x40228f(0x40f)]({'cmd':W[_0x40228f(0x110)]}),this['_rescheduleHeartbeat']();}[_0x2e56f0(0x2ab)](){var _0x1d28d8=_0x2e56f0;this[_0x1d28d8(0x1bf)]=!0x1,this[_0x1d28d8(0xd6)]=null,this[_0x1d28d8(0x22f)][_0x1d28d8(0x212)](re[_0x1d28d8(0x12a)]),this[_0x1d28d8(0x36b)][_0x1d28d8(0x212)](null),this[_0x1d28d8(0x289)](),this[_0x1d28d8(0x30c)]();}['_onConnectionFailed'](){var _0x9f9fe9=_0x2e56f0,_0x3da37f;this[_0x9f9fe9(0x2ab)](),this[_0x9f9fe9(0x253)]<((_0x3da37f=this['_configService'][_0x9f9fe9(0x38e)](ft))!=null?_0x3da37f:jt)?(this['_collaborationUIEventService'][_0x9f9fe9(0x3e7)]({'id':Z[_0x9f9fe9(0x3e0)]}),this['_tryReconnect']()):this[_0x9f9fe9(0x26a)][_0x9f9fe9(0x3e7)]({'id':Z[_0x9f9fe9(0x21d)]});}['_tryReconnect'](){var _0x28166c=_0x2e56f0,_0x1e6cfe;const _0x2bbe77=this[_0x28166c(0x253)],_0x4faf8d=this[_0x28166c(0x344)][_0x28166c(0x38e)](G),_0x1b05b8=_0x2bbe77===0x0?0x0:((_0x1e6cfe=_0x4faf8d==null?void 0x0:_0x4faf8d[_0x28166c(0x14e)])!=null?_0x1e6cfe:$t)*0x2**_0x2bbe77;this['_retryConnectingTimer']=setTimeout(()=>{var _0x28c83c=_0x28166c;clearTimeout(this[_0x28c83c(0x31c)]),this[_0x28c83c(0x31c)]=null,this[_0x28c83c(0x35c)]();},_0x1b05b8),this[_0x28166c(0x253)]+=0x1;}[_0x2e56f0(0x3ed)](_0x1fe51a,_0x845328){var _0x43223f=_0x2e56f0;const {cmd:_0x130e3e}=_0x845328;_0x130e3e===W[_0x43223f(0x110)]&&!this[_0x43223f(0x1bf)]&&(_0x1fe51a[_0x43223f(0x292)]=_0x845328['data'][_0x43223f(0x292)],this[_0x43223f(0x36b)][_0x43223f(0x212)](_0x1fe51a),this[_0x43223f(0x22f)][_0x43223f(0x212)](re['ONLINE']),this[_0x43223f(0x1bf)]=!0x0,this['_candidateSocket']=null),_0x130e3e===W[_0x43223f(0x2cf)]&&this['_clearTimeoutTimer'](),this[_0x43223f(0x2cb)]();}['_rescheduleHeartbeat'](){var _0x972f88=_0x2e56f0,_0x194ab6;this[_0x972f88(0x30c)](),this[_0x972f88(0xdc)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x194ab6=this['_configService']['getConfig'](vt))!=null?_0x194ab6:Ht);}[_0x2e56f0(0x326)](){var _0x4eaa4e=_0x2e56f0;this[_0x4eaa4e(0x16b)][_0x4eaa4e(0x40f)]({'cmd':W[_0x4eaa4e(0x2cf)]}),this[_0x4eaa4e(0x364)]();}[_0x2e56f0(0x364)](){var _0x52c901=_0x2e56f0,_0x167673;this[_0x52c901(0x2e3)]=setTimeout(()=>this[_0x52c901(0xa7)](),(_0x167673=this[_0x52c901(0x344)][_0x52c901(0x38e)](ke))!=null?_0x167673:St);}[_0x2e56f0(0x30c)](){var _0x3e4f7e=_0x2e56f0;this[_0x3e4f7e(0xdc)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3e4f7e(0xdc)]=null);}[_0x2e56f0(0x289)](){var _0x20e664=_0x2e56f0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x20e664(0x2e3)]),this[_0x20e664(0x2e3)]=null);}},exports[_0x2e56f0(0x2f3)]=si([he(0x0,a[_0x2e56f0(0x159)](a['Injector'])),he(0x1,a[_0x2e56f0(0xac)]),he(0x2,a[_0x2e56f0(0x25b)]),he(0x3,He),he(0x4,a[_0x2e56f0(0x159)](ee)),he(0x5,a[_0x2e56f0(0xed)](mt))],exports[_0x2e56f0(0x2f3)]);const q=a['createIdentifier'](_0x2e56f0(0xc9));function oi(_0x4939a0){return'unit-cache-'+_0x4939a0;}var ai=Object[_0x2e56f0(0x301)],ci=(_0x19387a,_0x439284,_0x5d8fbc,_0x5499ab)=>{var _0x278977=_0x2e56f0;for(var _0x3e34a0=_0x5499ab>0x1?void 0x0:_0x5499ab?ai(_0x439284,_0x5d8fbc):_0x439284,_0x21344e=_0x19387a[_0x278977(0x297)]-0x1,_0x30ae63;_0x21344e>=0x0;_0x21344e--)(_0x30ae63=_0x19387a[_0x21344e])&&(_0x3e34a0=_0x30ae63(_0x3e34a0)||_0x3e34a0);return _0x3e34a0;},Ue=(_0x551270,_0x1c8e78)=>(_0x1c255d,_0x43128d)=>_0x1c8e78(_0x1c255d,_0x43128d,_0x551270);function hi(_0x1cd9a6){var _0x305b24=_0x2e56f0;const {unitID:_0x1415e7,mutations:_0xd414ba}=_0x1cd9a6;return{'unitId':_0x1415e7,'subUnitId':_0xd414ba[0x0][_0x305b24(0x1dc)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x364755,_0x5325c5,_0x3bc66c){var _0xe7444c=_0x2e56f0;this[_0xe7444c(0x3c6)]=_0x364755,this[_0xe7444c(0x2f8)]=_0x5325c5,this[_0xe7444c(0x338)]=_0x3bc66c;}['transformSelections'](_0x3bed59){var _0x17a258=_0x2e56f0,_0x296fc8,_0x4bb811,_0x2c8d96,_0x2f7788;const _0xba1ca0=this[_0x17a258(0x3c6)][_0x17a258(0xc5)](X[_0x17a258(0x2b1)]),{unitId:_0x2a0cb4,subUnitId:_0x5af6b6}=hi(_0x3bed59),_0x3c5d9f=_0xba1ca0==null?void 0x0:_0xba1ca0['getWorkbookSelections'](_0x2a0cb4)[_0x17a258(0x248)](),_0x5beb58=(_0x4bb811=(_0x296fc8=this[_0x17a258(0x338)][_0x17a258(0x1a1)](_0x2a0cb4))==null?void 0x0:_0x296fc8['getActiveSheet']())==null?void 0x0:_0x4bb811['getSheetId']();if(_0x3c5d9f[_0x17a258(0x297)]===0x0||!_0x2a0cb4||!_0x5af6b6)return;const _0x303274=[{'id':X[_0x17a258(0x153)]['id'],'params':{'unitId':_0x2a0cb4,'subUnitId':_0x5beb58,'selections':a[_0x17a258(0x2da)][_0x17a258(0x131)](_0x3c5d9f)}}],_0x1df23f=this[_0x17a258(0x2f8)][_0x17a258(0x3f7)](_0x3bed59,_0x303274);if(!p[_0x17a258(0x106)](_0x1df23f))throw _0x1df23f[_0x17a258(0xbd)];const _0x5a94ab=(_0x2f7788=(_0x2c8d96=_0x1df23f[_0x17a258(0x328)][0x0])==null?void 0x0:_0x2c8d96[_0x17a258(0x1dc)])==null?void 0x0:_0x2f7788[_0x17a258(0xcc)];if(Array[_0x17a258(0x210)](_0x5a94ab)&&_0x5a94ab[_0x17a258(0x297)]){if(_0x5a94ab[_0x17a258(0x297)]===_0x303274[0x0]['params'][_0x17a258(0xcc)][_0x17a258(0x297)]&&_0x5a94ab[_0x17a258(0x258)]((_0x3c55b3,_0xe3a77c)=>a['Rectangle']['equals'](_0x3c55b3[_0x17a258(0x3d7)],_0x303274[0x0][_0x17a258(0x1dc)]['selections'][_0xe3a77c][_0x17a258(0x3d7)])))return;this[_0x17a258(0x3c6)][_0x17a258(0xc5)](a['ICommandService'])[_0x17a258(0x32d)](X['SetSelectionsOperation']['id'],{'unitId':_0x2a0cb4,'subUnitId':_0x5beb58,'selections':_0x5a94ab});}}},exports[_0x2e56f0(0x1c1)]=ci([Ue(0x0,a[_0x2e56f0(0x159)](a['Injector'])),Ue(0x1,p[_0x2e56f0(0x146)]),Ue(0x2,a[_0x2e56f0(0x13a)])],exports[_0x2e56f0(0x1c1)]);const de=a[_0x2e56f0(0x160)](_0x2e56f0(0xfe));var je=(_0x58f1ab=>(_0x58f1ab[_0x58f1ab[_0x2e56f0(0x350)]=0x0]=_0x2e56f0(0x350),_0x58f1ab[_0x58f1ab['OTHER_CLIENTS_EDITING']=0x1]=_0x2e56f0(0x10c),_0x58f1ab))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x1eec94,_0x3d9331,_0x293f4e,_0x20c4d3,_0x4a4f6b){var _0x294ebd=_0x2e56f0,_0x48f38c,_0x1f1e65,_0x24d51f,_0x4d1108;const _0x26b7ce=[];for(const _0x22b8ba of _0x1eec94)if(_i['has'](_0x22b8ba['id'])){if(_0x26b7ce[_0x294ebd(0x297)]>0x0)break;_0x26b7ce[_0x294ebd(0x1ce)](_0x22b8ba);break;}else _0x26b7ce[_0x294ebd(0x1ce)](_0x22b8ba);const _0x44637e=(_0x1f1e65=(_0x48f38c=_0x4a4f6b[_0x294ebd(0x107)]())==null?void 0x0:_0x48f38c['userID'])!=null?_0x1f1e65:_0x294ebd(0x3ba),_0x5b94fe=(_0x4d1108=(_0x24d51f=_0x4a4f6b[_0x294ebd(0x107)]())==null?void 0x0:_0x24d51f[_0x294ebd(0x292)])!=null?_0x4d1108:'unknown';return{'changeset':{'unitID':_0x3d9331,'type':p[_0x294ebd(0x271)](_0x293f4e[_0x294ebd(0x1e9)](_0x3d9331)),'baseRev':_0x20c4d3[_0x294ebd(0x373)](_0x3d9331),'revision':0x0,'userID':_0x44637e,'memberID':_0x5b94fe,'mutations':_0x26b7ce},'pendingMutations':_0x1eec94['slice'](_0x26b7ce['length'])};}function li(_0x19d25c,_0x532ea2,_0x595178,_0x4b5dbd,_0xfebf86){var _0x205876=_0x2e56f0,_0x2cffb0,_0x2f4cf9,_0x3ee5b5,_0x4ac9ae;const _0x4bcb78=[_0x19d25c[_0x205876(0x21b)]((_0x326962,_0x20337a)=>{var _0x24fce4=_0x205876,_0x53a317;const {id:_0xd6d50f}=_0x326962,{id:_0x37dcf2,type:_0x2dba80}=_0x20337a,_0x471f4e=(_0x53a317=_0x326962[_0x24fce4(0x1dc)])!=null?_0x53a317:{'actions':null},_0x124e67=_0x20337a['params'];if(_0xd6d50f&&_0xd6d50f!==_0x37dcf2)throw new Error(_0x24fce4(0x325)+_0xd6d50f+'\x20-\x20'+_0x37dcf2+'.');return{..._0x326962,'id':_0x37dcf2,'type':_0x2dba80,'params':{'unitId':_0x124e67[_0x24fce4(0x190)],'textRanges':_0x124e67['textRanges'],'actions':a[_0x24fce4(0x3ff)][_0x24fce4(0x385)](_0x471f4e[_0x24fce4(0x2c9)],_0x124e67['actions'])}};},{})],_0x26d4b0=(_0x2f4cf9=(_0x2cffb0=_0xfebf86[_0x205876(0x107)]())==null?void 0x0:_0x2cffb0['userID'])!=null?_0x2f4cf9:'unknown',_0x51ae57=(_0x4ac9ae=(_0x3ee5b5=_0xfebf86[_0x205876(0x107)]())==null?void 0x0:_0x3ee5b5[_0x205876(0x292)])!=null?_0x4ac9ae:_0x205876(0x3ba);return{'changeset':{'unitID':_0x532ea2,'type':p['mapDocumentTypeToUniverType'](_0x595178[_0x205876(0x1e9)](_0x532ea2)),'baseRev':_0x4b5dbd[_0x205876(0x373)](_0x532ea2),'revision':0x0,'userID':_0x26d4b0,'memberID':_0x51ae57,'mutations':_0x4bcb78},'pendingMutations':[]};}function bt(_0x5189b1,_0x1e8501){var _0x5709cb=_0x2e56f0;const _0x33ff06=new $[(_0x5709cb(0x1d0))](0x1);return setTimeout(()=>_0x33ff06[_0x5709cb(0x212)](_0x1e8501),_0x5189b1),_0x33ff06[_0x5709cb(0x2c4)]()[_0x5709cb(0x1af)]($[_0x5709cb(0x3da)](0x1));}const ui={'id':X[_0x2e56f0(0x2f7)]['id'],'type':a[_0x2e56f0(0x394)][_0x2e56f0(0x345)],'params':{}};var di=Object[_0x2e56f0(0x301)],ae=(_0x1347d2,_0x641056,_0x58aaf7,_0x497239)=>{var _0x2d7a83=_0x2e56f0;for(var _0x2c89a6=_0x497239>0x1?void 0x0:_0x497239?di(_0x641056,_0x58aaf7):_0x641056,_0x49cede=_0x1347d2[_0x2d7a83(0x297)]-0x1,_0x5ab958;_0x49cede>=0x0;_0x49cede--)(_0x5ab958=_0x1347d2[_0x49cede])&&(_0x2c89a6=_0x5ab958(_0x2c89a6)||_0x2c89a6);return _0x2c89a6;},L=(_0x4b19ce,_0xd26c4d)=>(_0xc4248a,_0x20a164)=>_0xd26c4d(_0xc4248a,_0x20a164,_0x4b19ce),Be=(_0x5a4047=>(_0x5a4047[_0x2e56f0(0x11e)]=_0x2e56f0(0xb2),_0x5a4047[_0x2e56f0(0x38d)]=_0x2e56f0(0x27b),_0x5a4047[_0x2e56f0(0x12d)]=_0x2e56f0(0x34b),_0x5a4047[_0x2e56f0(0x1c9)]='awaiting',_0x5a4047['AWAITING_WITH_PENDING']=_0x2e56f0(0x277),_0x5a4047['FETCH_MISS']='fetch_missing',_0x5a4047[_0x2e56f0(0x12c)]=_0x2e56f0(0x2d4),_0x5a4047[_0x2e56f0(0x12a)]=_0x2e56f0(0x1d9),_0x5a4047))(Be||{});const Rt=0xea60;class ce{constructor(_0x3172ea,_0x4ecdb3,_0x2a0586,_0x529a00,_0x5f3ab4,_0x560a2c,_0x31c84b,_0x55c071,_0x397b12){var _0x1168d5=_0x2e56f0;A(this,_0x1168d5(0x2fd),null),A(this,_0x1168d5(0x339),[]),(this[_0x1168d5(0x327)]=_0x3172ea,this[_0x1168d5(0x1ef)]=_0x4ecdb3,this[_0x1168d5(0x1c7)]=_0x5f3ab4,this['_commandService']=_0x560a2c,this['_undoRedoService']=_0x31c84b,this[_0x1168d5(0x1e1)]=_0x55c071,this[_0x1168d5(0x1fc)]=_0x397b12,this[_0x1168d5(0x2fd)]=_0x2a0586,this[_0x1168d5(0x339)]=_0x529a00);}[_0x2e56f0(0x407)](_0x1b5e9a){var _0xd3167b=_0x2e56f0;const _0x3ab532=this[_0xd3167b(0x1e1)][_0xd3167b(0x373)](this[_0xd3167b(0x327)]);return _0x1b5e9a[_0xd3167b(0x275)]>_0x3ab532+0x1?(this['_handler'][_0xd3167b(0x1d5)]({'from':_0x3ab532,'to':_0x1b5e9a['revision']-0x1}),!0x0):!0x1;}[_0x2e56f0(0x178)](_0x86d10b){var _0x36fef1=_0x2e56f0;this['_undoRedoService'][_0x36fef1(0x228)](this['unitID'],_0x86d10b);}[_0x2e56f0(0x27a)](_0x34037b){var _0x2a945c=_0x2e56f0,_0x1635b5,_0x4771eb;(_0x4771eb=(_0x1635b5=this[_0x2a945c(0x1c7)])[_0x2a945c(0x205)])==null||_0x4771eb['call'](_0x1635b5,_0x34037b);}[_0x2e56f0(0x224)](_0x5787d3){var _0xad5ea=_0x2e56f0,_0x45bf61,_0x5ee172;return(_0x5ee172=(_0x45bf61=this['_handler'])[_0xad5ea(0x39c)])==null?void 0x0:_0x5ee172[_0xad5ea(0x361)](_0x45bf61,_0x5787d3);}[_0x2e56f0(0x3e5)](_0x1f94a4){var _0x47c8a4,_0x39d3a9;return(_0x39d3a9=(_0x47c8a4=this['_handler'])['onTransformState'])==null?void 0x0:_0x39d3a9['call'](_0x47c8a4,_0x1f94a4);}[_0x2e56f0(0x29f)](_0x4ae198){var _0x195a42=_0x2e56f0,_0x7fadd0,_0x1887e1,_0x3565c2;return(_0x3565c2=(_0x1887e1=(_0x7fadd0=this[_0x195a42(0x1c7)])[_0x195a42(0x405)])==null?void 0x0:_0x1887e1[_0x195a42(0x361)](_0x7fadd0,_0x4ae198))!=null?_0x3565c2:_0x4ae198;}[_0x2e56f0(0x187)](_0x25e1a7){var _0xc8207a=_0x2e56f0,_0x511d4a,_0x350338,_0x37c138;return(_0x37c138=(_0x350338=(_0x511d4a=this['_handler'])[_0xc8207a(0xfc)])==null?void 0x0:_0x350338['call'](_0x511d4a,_0x25e1a7))!=null?_0x37c138:_0x25e1a7;}[_0x2e56f0(0x235)](_0x5a7bb5){var _0x3abc64=_0x2e56f0,_0x5b3b29,_0x151bdd;if(this[_0x3abc64(0x1ef)]===J[_0x3abc64(0x20d)]){const {unitID:_0x146c56,mutations:_0x5ac514,memberID:_0x360e31}=_0x5a7bb5,_0x458040=_0x5ac514[0x0][_0x3abc64(0x1dc)][_0x3abc64(0x1b6)];Array['isArray'](_0x458040)&&_0x458040[_0x3abc64(0x297)]>0x0&&((_0x151bdd=(_0x5b3b29=this[_0x3abc64(0x1c7)])['onSyncEditingCollabCursor'])==null||_0x151bdd[_0x3abc64(0x361)](_0x5b3b29,{'unitID':_0x146c56,'memberID':_0x360e31,'textRanges':_0x458040}));}}[_0x2e56f0(0x270)](){var _0x937e47=_0x2e56f0,_0x58f540;(_0x58f540=this['_localCacheService'])==null||_0x58f540[_0x937e47(0x184)](this[_0x937e47(0x327)],this[_0x937e47(0x1ef)],this[_0x937e47(0x2fd)],this[_0x937e47(0x339)]);}[_0x2e56f0(0x2f9)](){var _0xb29c45=_0x2e56f0;return this[_0xb29c45(0x1e1)]['getCurrentRevOfUnit'](this[_0xb29c45(0x327)]);}[_0x2e56f0(0x169)](){var _0x53c998=_0x2e56f0;this[_0x53c998(0x1e1)][_0x53c998(0x22d)](this['unitID']);}[_0x2e56f0(0x2b6)](_0x2b5b0a){var _0x23b59d=_0x2e56f0,_0x40c402;let _0x3373c3=this['_transformRemoteChangesetByIMECache'](_0x2b5b0a);_0x3373c3=this['_transformRemoteChangesetByStateCache'](_0x3373c3);const _0x3e385f=a[_0x23b59d(0x403)](_0x3373c3[_0x23b59d(0x2fc)],this[_0x23b59d(0x243)],{'fromCollab':!0x0});if(!_0x3e385f[_0x23b59d(0x227)])throw _0x3e385f['error']instanceof Error?_0x3e385f[_0x23b59d(0xbd)]:new Error((_0x40c402=_0x3e385f['error'])!=null?_0x40c402:_0x23b59d(0x2ba));this[_0x23b59d(0x224)](_0x3373c3),this['_transformStateCache'](_0x3373c3),this[_0x23b59d(0x178)](_0x2b5b0a),this[_0x23b59d(0x27a)](_0x3373c3),this['_syncEditingCollabCursor'](_0x3373c3),this[_0x23b59d(0x169)]();}}exports[_0x2e56f0(0x102)]=class extends ce{constructor(_0x524018,_0x27906b,_0xd8834a,_0x16c677,_0x1ed774,_0x253ee3,_0x1838c9,_0x54a31d,_0x27b77e,_0x491444){var _0x45e742=_0x2e56f0;super(_0x524018,_0x27906b,null,[],_0xd8834a,_0x1838c9,_0x253ee3,_0x16c677,_0x491444),A(this,_0x45e742(0x17f),'synced'),(this[_0x45e742(0x3c6)]=_0x1ed774,this[_0x45e742(0x38b)]=_0x54a31d,this[_0x45e742(0x2f8)]=_0x27b77e,this[_0x45e742(0x2c2)]=_0x491444);}[_0x2e56f0(0x19c)](_0x878046){var _0x3b2588=_0x2e56f0;const _0x221279=this[_0x3b2588(0x3c6)][_0x3b2588(0x125)](exports[_0x3b2588(0x3a2)],this['unitID'],this[_0x3b2588(0x1ef)],[_0x878046],this[_0x3b2588(0x1c7)]);return _0x221279[_0x3b2588(0x3a1)](),_0x221279[_0x3b2588(0x270)](),_0x221279;}['onRemoteChangeset'](_0x530588){var _0x2bb2e6=_0x2e56f0;if(this[_0x2bb2e6(0x407)](_0x530588))return this['_injector'][_0x2bb2e6(0x125)](exports['FetchingMissState'],this[_0x2bb2e6(0x327)],this[_0x2bb2e6(0x1ef)],null,[],null,[_0x530588],this[_0x2bb2e6(0x1c7)]);try{const _0x549431=this[_0x2bb2e6(0x2f8)]['transformMutationsWithChangeset'](_0x530588,[ui]);if(p[_0x2bb2e6(0x106)](_0x549431)){const {c1Prime:_0x4a329d}=_0x549431;return this['_executeRemoteChangeset'](_0x4a329d),this;}throw _0x549431[_0x2bb2e6(0xbd)];}catch(_0x551fa0){return this[_0x2bb2e6(0x38b)][_0x2bb2e6(0xbd)](_0x551fa0),this[_0x2bb2e6(0x182)](!0x1);}}[_0x2e56f0(0x182)](_0x4fb595){var _0x855467=_0x2e56f0;return this['_injector'][_0x855467(0x125)](exports[_0x855467(0xe8)],this[_0x855467(0x327)],this['type'],null,[],this[_0x855467(0x1c7)],_0x4fb595);}[_0x2e56f0(0xf3)](){var _0x2ba463=_0x2e56f0;throw new Error(_0x2ba463(0x318));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2e56f0(0xa4)](){return this;}['toggleOffline'](){var _0x685869=_0x2e56f0;return this[_0x685869(0x3c6)][_0x685869(0x125)](exports[_0x685869(0x132)],this[_0x685869(0x327)],this[_0x685869(0x1ef)],null,[],this[_0x685869(0x1c7)]);}[_0x2e56f0(0x3d8)](){return this;}[_0x2e56f0(0x23c)](){var _0x37d298=_0x2e56f0;throw new Error(_0x37d298(0xdb));}['fetchMiss'](){var _0x336eb6=_0x2e56f0;const _0x48640e=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x48640e,'to':0x0}),this[_0x336eb6(0x3c6)][_0x336eb6(0x125)](exports['FetchingMissState'],this['unitID'],this[_0x336eb6(0x1ef)],null,[],null,[],this[_0x336eb6(0x1c7)]);}},exports[_0x2e56f0(0x102)]=ae([L(0x3,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3bf)])),L(0x4,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),L(0x5,a[_0x2e56f0(0x2f0)]),L(0x6,a[_0x2e56f0(0x3a6)]),L(0x7,a['ILogService']),L(0x8,p[_0x2e56f0(0x146)]),L(0x9,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x102)]),exports[_0x2e56f0(0x3a2)]=class extends ce{constructor(_0x11df2e,_0x31f6b7,_0x957895,_0x496f1a,_0x20c7da,_0x23b070,_0x52b7d3,_0x2c9096,_0x20f774,_0x428fd7,_0x1f7d1d,_0x1455fd,_0x1eed08,_0x56aa5e){var _0x402021=_0x2e56f0;super(_0x11df2e,_0x31f6b7,null,_0x957895,_0x496f1a,_0x20f774,_0x1eed08,_0x23b070,_0x56aa5e),A(this,'status',_0x402021(0x34b)),A(this,_0x402021(0xd4),null),A(this,'_sendingTimer',null),(this[_0x402021(0x3c6)]=_0x20c7da,this[_0x402021(0xd0)]=_0x52b7d3,this[_0x402021(0x38b)]=_0x2c9096,this[_0x402021(0x344)]=_0x428fd7,this[_0x402021(0x2f8)]=_0x1f7d1d,this['_univerInstanceService']=_0x1455fd);}['appendMutation'](_0x514cef){var _0x54991a=_0x2e56f0;return this[_0x54991a(0x339)][_0x54991a(0x1ce)](_0x514cef),this[_0x54991a(0x270)](),this;}['onRemoteChangeset'](_0x3458c5){var _0x515aac=_0x2e56f0;if(this[_0x515aac(0x407)](_0x3458c5))return this['_clearScheduledTask'](),this[_0x515aac(0x3c6)][_0x515aac(0x125)](exports[_0x515aac(0x3b3)],this[_0x515aac(0x327)],this[_0x515aac(0x1ef)],null,this['_pendingMutations'],null,[_0x3458c5],this['_handler']);try{const _0x276b68=this['_transformService'][_0x515aac(0x3f7)](_0x3458c5,this[_0x515aac(0x339)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x276b68)){const {c1Prime:_0x1e88f1,m2Prime:_0x312d75}=_0x276b68;this[_0x515aac(0x2b6)](_0x1e88f1);const _0x353386=this[_0x515aac(0x3c6)][_0x515aac(0x125)](exports[_0x515aac(0x3a2)],this['unitID'],this[_0x515aac(0x1ef)],_0x312d75,this[_0x515aac(0x1c7)]);this[_0x515aac(0xda)]();const _0x30331c=new Date()[_0x515aac(0x30e)](),_0x41d945=this['_scheduleCompleteTimestamp']?Math[_0x515aac(0x22a)](this[_0x515aac(0xd4)]-_0x30331c,0x0):this[_0x515aac(0x41a)]();return _0x353386[_0x515aac(0x3a1)](_0x41d945),_0x353386;}throw _0x276b68['error'];}catch(_0x229a59){return this['_logService'][_0x515aac(0xbd)](_0x229a59),this['_onConflict'](!0x1);}}[_0x2e56f0(0xf3)](){var _0x294452=_0x2e56f0;throw new Error(_0x294452(0xeb));}[_0x2e56f0(0x393)](){var _0x598b64=_0x2e56f0;throw new Error(_0x598b64(0x1b8));}[_0x2e56f0(0xa4)](){return this;}['toggleOffline'](){var _0x27e6da=_0x2e56f0;return this['_clearScheduledTask'](),this[_0x27e6da(0x3c6)][_0x27e6da(0x125)](exports[_0x27e6da(0x132)],this[_0x27e6da(0x327)],this[_0x27e6da(0x1ef)],null,this[_0x27e6da(0x339)],this[_0x27e6da(0x1c7)]);}[_0x2e56f0(0x3d8)](){return this;}[_0x2e56f0(0x3a1)](_0x49e7b6){var _0x8d00b5=_0x2e56f0;const _0x2ebb43=_0x49e7b6!=null?_0x49e7b6:this[_0x8d00b5(0x41a)]();this['_scheduleCompleteTimestamp']=new Date()[_0x8d00b5(0x30e)]()+_0x2ebb43,this[_0x8d00b5(0x302)]=setTimeout(()=>{var _0x3b36d9=_0x8d00b5;this['_clearScheduledTask']();let _0x25e9ca=null;switch(this[_0x3b36d9(0x1ef)]){case J[_0x3b36d9(0x329)]:{_0x25e9ca=Ge(this[_0x3b36d9(0x339)],this[_0x3b36d9(0x327)],this[_0x3b36d9(0x2bf)],this[_0x3b36d9(0x1e1)],this['_memberService']);break;}case J[_0x3b36d9(0x20d)]:{this[_0x3b36d9(0x339)][_0x3b36d9(0x258)](_0x853a48=>_0x853a48['id']===ht[_0x3b36d9(0x3bc)]['id'])?_0x25e9ca=li(this[_0x3b36d9(0x339)],this['unitID'],this[_0x3b36d9(0x2bf)],this[_0x3b36d9(0x1e1)],this[_0x3b36d9(0xd0)]):_0x25e9ca=Ge(this['_pendingMutations'],this[_0x3b36d9(0x327)],this[_0x3b36d9(0x2bf)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x3b36d9(0x3d9)+this['type']+_0x3b36d9(0x114));}const {changeset:_0x41f1ac,pendingMutations:_0x29e494}=_0x25e9ca;this[_0x3b36d9(0x1c7)][_0x3b36d9(0x32a)](_0x41f1ac);const _0x28f540=_0x29e494[_0x3b36d9(0x297)]?this[_0x3b36d9(0x3c6)][_0x3b36d9(0x125)](exports['AwaitingWithPendingState'],this[_0x3b36d9(0x327)],this[_0x3b36d9(0x1ef)],_0x41f1ac,_0x29e494,this[_0x3b36d9(0x1c7)],void 0x0):this[_0x3b36d9(0x3c6)]['createInstance'](exports[_0x3b36d9(0x296)],this[_0x3b36d9(0x327)],this[_0x3b36d9(0x1ef)],_0x41f1ac,this[_0x3b36d9(0x1c7)]);_0x28f540[_0x3b36d9(0x270)](),this[_0x3b36d9(0x1c7)][_0x3b36d9(0x33c)](this,_0x28f540);},_0x2ebb43);}[_0x2e56f0(0x41a)](){var _0x46e7b1=_0x2e56f0,_0x4ea023;const _0x1c987a=this[_0x46e7b1(0x344)]['getConfig'](G);return(_0x4ea023=_0x1c987a==null?void 0x0:_0x1c987a['sendChangesetTimeout'])!=null?_0x4ea023:xt;}[_0x2e56f0(0x23c)](){var _0x483662=_0x2e56f0;throw new Error(_0x483662(0x1f5));}['_clearScheduledTask'](){var _0x252ccf=_0x2e56f0;this['_sendingTimer']!=null&&(clearTimeout(this[_0x252ccf(0x302)]),this['_sendingTimer']=null);}[_0x2e56f0(0x182)](_0x2b7910){var _0x33ea2d=_0x2e56f0;return this[_0x33ea2d(0xda)](),this[_0x33ea2d(0x3c6)][_0x33ea2d(0x125)](exports['ConflictState'],this[_0x33ea2d(0x327)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2b7910);}},exports['PendingState']=ae([L(0x4,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),L(0x5,a['Inject'](p[_0x2e56f0(0x3bf)])),L(0x6,a[_0x2e56f0(0x159)](exports[_0x2e56f0(0x38a)])),L(0x7,a['ILogService']),L(0x8,a[_0x2e56f0(0x3a6)]),L(0x9,a[_0x2e56f0(0x25b)]),L(0xa,p[_0x2e56f0(0x146)]),L(0xb,a[_0x2e56f0(0x13a)]),L(0xc,a[_0x2e56f0(0x2f0)]),L(0xd,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x3a2)]),exports[_0x2e56f0(0x296)]=class extends ce{constructor(_0x248f50,_0x300798,_0x4a4cbd,_0x4c1d72,_0x4bf740,_0x38d699,_0x1bb102,_0x1a7322,_0x5c6aaf,_0x58ae57,_0x1ce2dd){var _0x4036a3=_0x2e56f0;super(_0x248f50,_0x300798,_0x4a4cbd,[],_0x4c1d72,_0x1bb102,_0x58ae57,_0x38d699,_0x1ce2dd),A(this,_0x4036a3(0x17f),_0x4036a3(0x2e9)),A(this,_0x4036a3(0x12b),0x0),A(this,_0x4036a3(0x3a8)),A(this,_0x4036a3(0x10f)),(this[_0x4036a3(0x3c6)]=_0x4bf740,this[_0x4036a3(0x38b)]=_0x1a7322,this['_transformService']=_0x5c6aaf);}[_0x2e56f0(0x19c)](_0x3fd664){var _0x2df0b7=_0x2e56f0;this['_clearScheduledTask']();const _0x3b794e=this[_0x2df0b7(0x3c6)][_0x2df0b7(0x125)](exports[_0x2df0b7(0x1cc)],this[_0x2df0b7(0x327)],this[_0x2df0b7(0x1ef)],this['_awaitingChangeset'],[_0x3fd664],this[_0x2df0b7(0x1c7)],this[_0x2df0b7(0x3a8)]);return _0x3b794e['_updateLocalCache'](),_0x3b794e;}[_0x2e56f0(0x3e2)](_0x7094b9){var _0x5ee02e=_0x2e56f0;if(this[_0x5ee02e(0x407)](_0x7094b9))return this['_clearScheduledTask'](),this['_injector'][_0x5ee02e(0x125)](exports[_0x5ee02e(0x3b3)],this[_0x5ee02e(0x327)],this['type'],this[_0x5ee02e(0x2fd)],[],null,[_0x7094b9],this[_0x5ee02e(0x1c7)]);try{const _0x4fdd8c=this[_0x5ee02e(0x2f8)]['transformChangesets']([_0x7094b9],[this[_0x5ee02e(0x2fd)]],!0x1);if(p[_0x5ee02e(0x1e0)](_0x4fdd8c)){const {c1Prime:_0x51d114,c2Prime:_0x1d0903}=_0x4fdd8c;this[_0x5ee02e(0x2b6)](_0x51d114[0x0]),_0x1d0903[0x0][_0x5ee02e(0x2bc)]=this['_getCurrentRevision'](),this[_0x5ee02e(0xda)]();const _0x1ada91=this['_injector'][_0x5ee02e(0x125)](exports[_0x5ee02e(0x296)],this[_0x5ee02e(0x327)],this[_0x5ee02e(0x1ef)],_0x1d0903[0x0],this[_0x5ee02e(0x1c7)]);return _0x1ada91[_0x5ee02e(0x270)](),_0x1ada91;}return this[_0x5ee02e(0x182)](!0x1);}catch(_0xce5847){return this['_logService'][_0x5ee02e(0xbd)](_0xce5847),this[_0x5ee02e(0x182)](!0x1);}}[_0x2e56f0(0xf3)](_0x4abab0){var _0x31c683=_0x2e56f0;this['_clearScheduledTask']();const _0x49baf9=this['_revisionService']['getCurrentRevOfUnit'](this[_0x31c683(0x327)]);if(_0x4abab0[_0x31c683(0x275)]<_0x49baf9-0x1)return this;if(this[_0x31c683(0x407)](_0x4abab0))return this[_0x31c683(0x3c6)][_0x31c683(0x125)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],this[_0x31c683(0x2fd)],[],this[_0x31c683(0x1c7)]);this['_incrementRevisionNumber']();const _0x2ef6e4=this[_0x31c683(0x3c6)][_0x31c683(0x125)](exports[_0x31c683(0x102)],this['unitID'],this[_0x31c683(0x1ef)],this[_0x31c683(0x1c7)]);return _0x2ef6e4['_updateLocalCache'](),_0x2ef6e4;}[_0x2e56f0(0x393)](_0x486c7e){var _0x27f69c=_0x2e56f0;return this[_0x27f69c(0x182)](!!(_0x486c7e!=null&&_0x486c7e[_0x27f69c(0xfa)]));}[_0x2e56f0(0xa4)](_0x5c107c){var _0x404b3d=_0x2e56f0;return this['_resendTimeout']>Rt?this[_0x404b3d(0x15c)]():(this[_0x404b3d(0x3a8)]=bt(this[_0x404b3d(0x12b)],{'timeout':this['_resendTimeout'],'reqId':_0x5c107c['reqId']}),this[_0x404b3d(0x10f)]=this[_0x404b3d(0x3a8)]['subscribe'](({reqId:_0x211ea6,timeout:_0x4e8a3c})=>{this['_resendWithTimeout'](_0x211ea6,_0x4e8a3c);}),this);}[_0x2e56f0(0x15c)](){var _0x137e89=_0x2e56f0;return this[_0x137e89(0xda)](),this[_0x137e89(0x3c6)]['createInstance'](exports[_0x137e89(0x132)],this['unitID'],this['type'],this[_0x137e89(0x2fd)],[],this[_0x137e89(0x1c7)]);}['toggleOnline'](){return this;}[_0x2e56f0(0x23c)](){var _0x2d5f0d=_0x2e56f0;this[_0x2d5f0d(0x1c7)][_0x2d5f0d(0x32a)](this['_awaitingChangeset']);}['_onConflict'](_0x38af0a){var _0x390a85=_0x2e56f0;return this[_0x390a85(0xda)](),this[_0x390a85(0x3c6)]['createInstance'](exports[_0x390a85(0xe8)],this[_0x390a85(0x327)],this[_0x390a85(0x1ef)],this[_0x390a85(0x2fd)],[],this[_0x390a85(0x1c7)],_0x38af0a);}[_0x2e56f0(0x391)](_0x4b17f6,_0x32e1b0){var _0x456739=_0x2e56f0,_0x28bd8a;_0x4b17f6===((_0x28bd8a=this[_0x456739(0x2fd)])==null?void 0x0:_0x28bd8a[_0x456739(0x23d)])&&(this[_0x456739(0x23c)](),this[_0x456739(0x12b)]=_0x32e1b0===0x0?0x3e8:_0x32e1b0*0x2);}['_clearScheduledTask'](){var _0x5d2d93=_0x2e56f0,_0x1350e6;(_0x1350e6=this[_0x5d2d93(0x10f)])==null||_0x1350e6['unsubscribe'](),this[_0x5d2d93(0x12b)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),L(0x5,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3bf)])),L(0x6,a[_0x2e56f0(0x3a6)]),L(0x7,a[_0x2e56f0(0xac)]),L(0x8,p['ITransformService']),L(0x9,a['IUndoRedoService']),L(0xa,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x296)]),exports[_0x2e56f0(0x1cc)]=class extends ce{constructor(_0x597998,_0x100180,_0x2e7dc8,_0x37ca10,_0x8d0ed2,_0x1ea03b,_0x5d2742,_0x1cd7b8,_0x10e861,_0xea55d7,_0x277dd9,_0xd7a629,_0x378c86){var _0x4ff993=_0x2e56f0;super(_0x597998,_0x100180,_0x2e7dc8,_0x37ca10,_0x8d0ed2,_0x10e861,_0xd7a629,_0x1cd7b8,_0x378c86),A(this,_0x4ff993(0x17f),_0x4ff993(0x277)),A(this,_0x4ff993(0x12b),0x0),A(this,_0x4ff993(0x3a8)),A(this,_0x4ff993(0x10f)),(this[_0x4ff993(0x3c6)]=_0x5d2742,this['_logService']=_0xea55d7,this['_transformService']=_0x277dd9,this[_0x4ff993(0x2c2)]=_0x378c86,_0x1ea03b&&(this[_0x4ff993(0x3a8)]=_0x1ea03b,this[_0x4ff993(0x10f)]=this[_0x4ff993(0x3a8)][_0x4ff993(0x280)](({reqId:_0x40fb34,timeout:_0x2efb4e})=>{this['_resendWithTimeout'](_0x40fb34,_0x2efb4e);})));}[_0x2e56f0(0x19c)](_0x48a6e4){var _0x23cf1b=_0x2e56f0;return this[_0x23cf1b(0x339)][_0x23cf1b(0x1ce)](_0x48a6e4),this;}[_0x2e56f0(0x3e2)](_0x5cb61f){var _0x539acd=_0x2e56f0;if(this['_checkMissing'](_0x5cb61f))return this[_0x539acd(0xda)](),this[_0x539acd(0x3c6)][_0x539acd(0x125)](exports['FetchingMissState'],this[_0x539acd(0x327)],this['type'],this[_0x539acd(0x2fd)],this[_0x539acd(0x339)],null,[_0x5cb61f],this[_0x539acd(0x1c7)]);try{const _0x2ef535=this['_transformService'][_0x539acd(0x323)]([_0x5cb61f],[this[_0x539acd(0x2fd)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x2ef535)){const {c1Prime:_0x1f657d,c2Prime:_0x4e0a0a}=_0x2ef535,_0xfe0cc8=this[_0x539acd(0x2f8)][_0x539acd(0x3f7)](_0x1f657d[0x0],this['_pendingMutations']);if(p[_0x539acd(0x106)](_0xfe0cc8)){const {c1Prime:_0x421472,m2Prime:_0x5953da}=_0xfe0cc8;return this[_0x539acd(0x2b6)](_0x421472),_0x4e0a0a[0x0][_0x539acd(0x2bc)]=this[_0x539acd(0x2f9)](),this[_0x539acd(0xda)](),this[_0x539acd(0x3c6)]['createInstance'](exports[_0x539acd(0x1cc)],this[_0x539acd(0x327)],this[_0x539acd(0x1ef)],_0x4e0a0a[0x0],_0x5953da,this[_0x539acd(0x1c7)],void 0x0);}throw _0xfe0cc8['error'];}throw _0x2ef535[_0x539acd(0xbd)];}catch(_0x7f479b){return this[_0x539acd(0x38b)][_0x539acd(0xbd)](_0x7f479b),this[_0x539acd(0x182)](!0x1);}}['onRemoteAck'](_0x4e1b44){var _0x3c95c8=_0x2e56f0;if(this[_0x3c95c8(0xda)](),this['_checkMissing'](_0x4e1b44))return this[_0x3c95c8(0x3c6)][_0x3c95c8(0x125)](exports[_0x3c95c8(0x3b3)],this['unitID'],this[_0x3c95c8(0x1ef)],null,this['_pendingMutations'],this[_0x3c95c8(0x2fd)],[],this[_0x3c95c8(0x1c7)]);this['_incrementRevisionNumber']();const _0x19298c=this[_0x3c95c8(0x3c6)][_0x3c95c8(0x125)](exports[_0x3c95c8(0x3a2)],this[_0x3c95c8(0x327)],this[_0x3c95c8(0x1ef)],this[_0x3c95c8(0x339)],this[_0x3c95c8(0x1c7)]);return _0x19298c['_schedule'](),_0x19298c[_0x3c95c8(0x270)](),_0x19298c;}[_0x2e56f0(0x393)](_0x4b7f7b){var _0x2e7d1b=_0x2e56f0;return this[_0x2e7d1b(0x182)](!!(_0x4b7f7b!=null&&_0x4b7f7b[_0x2e7d1b(0xfa)]));}['onRemoteRetry'](_0x28633b){var _0x460550=_0x2e56f0;return this[_0x460550(0x12b)]>Rt?this[_0x460550(0x15c)]():(this[_0x460550(0x3a8)]=bt(this['_resendTimeout'],{'timeout':this[_0x460550(0x12b)],'reqId':_0x28633b['reqId']}),this[_0x460550(0x10f)]=this['_resendTimer'][_0x460550(0x280)](({reqId:_0x188161,timeout:_0x3ee90d})=>{var _0xa87a03=_0x460550;this[_0xa87a03(0x391)](_0x188161,_0x3ee90d);}),this);}[_0x2e56f0(0x15c)](){var _0x6103a5=_0x2e56f0;return this[_0x6103a5(0xda)](),this[_0x6103a5(0x3c6)][_0x6103a5(0x125)](exports[_0x6103a5(0x132)],this[_0x6103a5(0x327)],this[_0x6103a5(0x1ef)],this[_0x6103a5(0x2fd)],this[_0x6103a5(0x339)],this['_handler']);}[_0x2e56f0(0x3d8)](){return this;}[_0x2e56f0(0x23c)](){var _0x30b882=_0x2e56f0;this[_0x30b882(0x1c7)][_0x30b882(0x32a)](this[_0x30b882(0x2fd)]);}[_0x2e56f0(0x182)](_0x417f38){var _0x9ff6b7=_0x2e56f0;return this[_0x9ff6b7(0xda)](),this[_0x9ff6b7(0x3c6)]['createInstance'](exports['ConflictState'],this[_0x9ff6b7(0x327)],this['type'],null,this['_pendingMutations'],this[_0x9ff6b7(0x1c7)],_0x417f38);}[_0x2e56f0(0x391)](_0x29c8c5,_0x56959e){var _0x4027c7=_0x2e56f0,_0x4d11ef;_0x29c8c5===((_0x4d11ef=this[_0x4027c7(0x2fd)])==null?void 0x0:_0x4d11ef['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x56959e===0x0?0x3e8:_0x56959e*0x2);}[_0x2e56f0(0xda)](){var _0x3b2ee7=_0x2e56f0,_0x530694;(_0x530694=this[_0x3b2ee7(0x10f)])==null||_0x530694[_0x3b2ee7(0x390)](),this[_0x3b2ee7(0x12b)]=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,a['Inject'](a[_0x2e56f0(0x126)])),L(0x7,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3bf)])),L(0x8,a['ICommandService']),L(0x9,a[_0x2e56f0(0xac)]),L(0xa,p[_0x2e56f0(0x146)]),L(0xb,a['IUndoRedoService']),L(0xc,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x1cc)]),exports[_0x2e56f0(0xe8)]=class extends ce{constructor(_0x2dc41e,_0x368273,_0x17c61e,_0x216bb0,_0x2e8ec1,_0x2084cb=!0x1,_0x446481,_0x96c140,_0x5c76db,_0x5dbc22,_0x506ae0,_0x53897e,_0x372528){var _0x437af1=_0x2e56f0;super(_0x2dc41e,_0x368273,_0x17c61e,_0x216bb0,_0x2e8ec1,_0x96c140,_0x5c76db,_0x5dbc22,_0x372528),A(this,'status',_0x437af1(0x2d4)),(this[_0x437af1(0x217)]=_0x2084cb,this[_0x437af1(0x368)]=_0x446481,this['_localeService']=_0x506ae0,this['_collaborationUIEventService']=_0x53897e,this[_0x437af1(0x2c2)]=_0x372528,this[_0x437af1(0x133)](),this[_0x437af1(0x35e)](),this[_0x437af1(0x33a)]());}[_0x2e56f0(0x19c)](){return this;}['onRemoteChangeset'](){return this;}[_0x2e56f0(0xf3)](){return this;}[_0x2e56f0(0x393)](){return this;}[_0x2e56f0(0xa4)](){return this;}[_0x2e56f0(0x15c)](){return this;}[_0x2e56f0(0x3d8)](){return this;}[_0x2e56f0(0x23c)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e56f0(0x35e)](){var _0x4d74bc=_0x2e56f0,_0x283c0b;(_0x283c0b=this['_localCacheService'])==null||_0x283c0b[_0x4d74bc(0x184)](this['unitID'],this['type'],null,[]);}[_0x2e56f0(0x133)](){var _0x449d6a=_0x2e56f0;this[_0x449d6a(0x217)]?this['_collaborationUIEventService'][_0x449d6a(0x3e7)]({'id':Z[_0x449d6a(0x129)]}):this[_0x449d6a(0x26a)]['emitEvent']({'id':Z[_0x449d6a(0x12c)]});}[_0x2e56f0(0x33a)](){var _0xd1f1bd=_0x2e56f0;this[_0xd1f1bd(0x368)][_0xd1f1bd(0x211)](new X[(_0xd1f1bd(0x37e))](this[_0xd1f1bd(0x327)])['id'],!0x1);}},exports[_0x2e56f0(0xe8)]=ae([L(0x6,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x197)])),L(0x7,a[_0x2e56f0(0x3a6)]),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3bf)])),L(0xa,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x2a8)])),L(0xb,a[_0x2e56f0(0x159)](ee)),L(0xc,a[_0x2e56f0(0xed)](q))],exports['ConflictState']),exports[_0x2e56f0(0x132)]=class extends ce{constructor(_0x1cda54,_0x23e2ea,_0xa8833e,_0x14a871,_0xe0fc17,_0x32ae3f,_0x1a4737,_0x24b3f2,_0x43e82b,_0x1fa55b){var _0x37bbce=_0x2e56f0;super(_0x1cda54,_0x23e2ea,_0xa8833e,_0x14a871,_0xe0fc17,_0x24b3f2,_0x43e82b,_0x1a4737,_0x1fa55b),A(this,_0x37bbce(0x17f),'offline'),this[_0x37bbce(0x3c6)]=_0x32ae3f;}[_0x2e56f0(0x19c)](_0x45ba7c){var _0x2660df=_0x2e56f0;return this[_0x2660df(0x339)][_0x2660df(0x1ce)](_0x45ba7c),this['_updateLocalCache'](),this;}[_0x2e56f0(0x3e2)](_0x16bd03){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2e56f0(0xf3)](){var _0x297f20=_0x2e56f0;throw new Error(_0x297f20(0x218));}[_0x2e56f0(0x393)](){var _0x1c7245=_0x2e56f0;throw new Error(_0x1c7245(0x220));}[_0x2e56f0(0xa4)](){return this;}[_0x2e56f0(0x15c)](){return this;}[_0x2e56f0(0x3d8)](){var _0x346e57=_0x2e56f0;const {_injector:_0xf263a2,_pendingMutations:_0x1b2b4e,_awaitingChangeset:_0x345b0a,unitID:_0x289419,_handler:_0xa3a111,type:_0x54fcb6}=this,_0x5b5dd9=Ot(_0xf263a2,_0x289419,_0x54fcb6,_0x345b0a,_0x1b2b4e,_0xa3a111);return _0x5b5dd9 instanceof exports[_0x346e57(0x3a2)]?_0x5b5dd9['_schedule']():(_0x5b5dd9 instanceof exports['AwaitingWithPendingState']||_0x5b5dd9 instanceof exports[_0x346e57(0x296)])&&_0x5b5dd9[_0x346e57(0x23c)](),_0x5b5dd9;}['resend'](){var _0x6f5295=_0x2e56f0;throw new Error(_0x6f5295(0x188));}},exports[_0x2e56f0(0x132)]=ae([L(0x5,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),L(0x6,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3bf)])),L(0x7,a[_0x2e56f0(0x3a6)]),L(0x8,a[_0x2e56f0(0x2f0)]),L(0x9,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x132)]),exports[_0x2e56f0(0x3b3)]=class extends ce{constructor(_0x274074,_0x33f5e1,_0x22eb89,_0x5b92de,_0x2d206a,_0x5ea156,_0x5ea2ec,_0x28484e,_0x1c0a8b,_0x11c909,_0x4529c,_0x5d4c45,_0x4fd053,_0x5b217a){var _0x10bedb=_0x2e56f0;super(_0x274074,_0x33f5e1,_0x22eb89,_0x5b92de,_0x5ea2ec,_0x4529c,_0x5d4c45,_0x1c0a8b,_0x5b217a),A(this,_0x10bedb(0x17f),_0x10bedb(0xc0)),(this[_0x10bedb(0x123)]=_0x2d206a,this[_0x10bedb(0x1c8)]=_0x5ea156,this[_0x10bedb(0x3c6)]=_0x28484e,this[_0x10bedb(0x38b)]=_0x11c909,this[_0x10bedb(0x2f8)]=_0x4fd053,this[_0x10bedb(0x2c2)]=_0x5b217a);}[_0x2e56f0(0x189)](_0x211d98){var _0x5641f5=_0x2e56f0;try{const _0x5ad300=[..._0x211d98,...this[_0x5641f5(0x1c8)]],_0x4d2028=[this['_awaitingChangeset']||this[_0x5641f5(0x123)]][_0x5641f5(0x1d1)](_0xce3fbc=>!!_0xce3fbc);let _0xa364b6,_0x3e4ac7;if(_0x4d2028[_0x5641f5(0x297)]){const _0xed4565=this[_0x5641f5(0x2f8)][_0x5641f5(0x323)](_0x5ad300,_0x4d2028,!0x1);if(!p[_0x5641f5(0x1e0)](_0xed4565))throw _0xed4565[_0x5641f5(0xbd)];_0xa364b6=_0xed4565['c1Prime'],_0x3e4ac7=_0xed4565[_0x5641f5(0x283)];}else _0xa364b6=_0x5ad300,_0x3e4ac7=[];let _0x56b597=this[_0x5641f5(0x339)];_0xa364b6[_0x5641f5(0x229)](_0x5d629a=>{var _0x3fa1db=_0x5641f5;let _0x1cf169;if(_0x56b597[_0x3fa1db(0x297)]){const _0x347305=this[_0x3fa1db(0x2f8)][_0x3fa1db(0x3f7)](_0x5d629a,_0x56b597);if(!p['isTransformMutationsWithChangesetSuccess'](_0x347305))throw _0x347305[_0x3fa1db(0xbd)];_0x1cf169=_0x347305[_0x3fa1db(0x39d)],_0x56b597=_0x347305['m2Prime'];}else _0x1cf169=_0x5d629a;this['_executeRemoteChangeset'](_0x1cf169);}),this[_0x5641f5(0x123)]&&this[_0x5641f5(0x169)](),this[_0x5641f5(0x2fd)]&&_0x3e4ac7['length']&&(_0x3e4ac7[0x0]['baseRev']=this[_0x5641f5(0x2f9)]());let _0x4bd82e;if(this[_0x5641f5(0x2fd)]&&_0x56b597['length']!==0x0)_0x4bd82e=this['_injector'][_0x5641f5(0x125)](exports['AwaitingWithPendingState'],this[_0x5641f5(0x327)],this[_0x5641f5(0x1ef)],_0x3e4ac7[0x0],_0x56b597,this[_0x5641f5(0x1c7)],void 0x0);else{if(this['_awaitingChangeset']&&_0x56b597[_0x5641f5(0x297)]===0x0)_0x3e4ac7[0x0][_0x5641f5(0x2bc)]=this[_0x5641f5(0x2f9)](),_0x4bd82e=this['_injector']['createInstance'](exports['AwaitingState'],this[_0x5641f5(0x327)],this[_0x5641f5(0x1ef)],_0x3e4ac7[0x0],this[_0x5641f5(0x1c7)]);else{if(_0x56b597[_0x5641f5(0x297)]!==0x0){const _0x565398=this[_0x5641f5(0x3c6)]['createInstance'](exports[_0x5641f5(0x3a2)],this['unitID'],this[_0x5641f5(0x1ef)],_0x56b597,this['_handler']);_0x565398[_0x5641f5(0x3a1)](),_0x4bd82e=_0x565398;}else _0x4bd82e=this[_0x5641f5(0x3c6)]['createInstance'](exports[_0x5641f5(0x102)],this[_0x5641f5(0x327)],this[_0x5641f5(0x1ef)],this[_0x5641f5(0x1c7)]);}}return _0x4bd82e['_updateLocalCache'](),_0x4bd82e;}catch(_0x480542){return this[_0x5641f5(0x38b)]['error']('[FetchMissState]',_0x5641f5(0x167),_0x480542),this['_injector'][_0x5641f5(0x125)](exports['ConflictState'],this[_0x5641f5(0x327)],this[_0x5641f5(0x1ef)],this['_awaitingChangeset'],this[_0x5641f5(0x339)],this[_0x5641f5(0x1c7)],!0x1);}}['resend'](){var _0x402820=_0x2e56f0;throw new Error(_0x402820(0x322));}['appendMutation'](_0x4bbe01){var _0x18bc64=_0x2e56f0;return this[_0x18bc64(0x339)][_0x18bc64(0x1ce)](_0x4bbe01),this;}['onRemoteChangeset'](_0x3223d7){var _0x446721=_0x2e56f0;return this['_queuedRemoteChangesets'][_0x446721(0x1ce)](_0x3223d7),this;}[_0x2e56f0(0xf3)](_0x1cb1f2){var _0x3ea557=_0x2e56f0;if(this[_0x3ea557(0x2fd)])return this['_acknowledgedAwaitingChangeset']=this[_0x3ea557(0x2fd)],this[_0x3ea557(0x2fd)]=null,this;throw new Error(_0x3ea557(0x2b8));}[_0x2e56f0(0x393)](_0x564e2f){var _0x1c727d=_0x2e56f0;return this[_0x1c727d(0x182)](!!(_0x564e2f!=null&&_0x564e2f['isPermissionRej']));}[_0x2e56f0(0xa4)](){return this;}[_0x2e56f0(0x15c)](){var _0x1afc36=_0x2e56f0;return this[_0x1afc36(0x3c6)][_0x1afc36(0x125)](exports[_0x1afc36(0x132)],this[_0x1afc36(0x327)],this[_0x1afc36(0x1ef)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2e56f0(0x182)](_0x61bf38){var _0x53c293=_0x2e56f0;return this['_injector']['createInstance'](exports[_0x53c293(0xe8)],this[_0x53c293(0x327)],this[_0x53c293(0x1ef)],this[_0x53c293(0x2fd)],this[_0x53c293(0x339)],this[_0x53c293(0x1c7)],_0x61bf38);}},exports['FetchingMissState']=ae([L(0x7,a[_0x2e56f0(0x159)](a['Injector'])),L(0x8,a['Inject'](p[_0x2e56f0(0x3bf)])),L(0x9,a[_0x2e56f0(0xac)]),L(0xa,a[_0x2e56f0(0x3a6)]),L(0xb,a[_0x2e56f0(0x2f0)]),L(0xc,p[_0x2e56f0(0x146)]),L(0xd,a['Optional'](q))],exports[_0x2e56f0(0x3b3)]);function Ot(_0x5a0fca,_0x7b97ab,_0x363b39,_0x42bdb9,_0x240ab1,_0x1e0670){var _0x12b3d9=_0x2e56f0;return _0x42bdb9&&_0x240ab1[_0x12b3d9(0x297)]?_0x5a0fca[_0x12b3d9(0x125)](exports[_0x12b3d9(0x1cc)],_0x7b97ab,_0x363b39,_0x42bdb9,_0x240ab1,_0x1e0670,void 0x0):_0x42bdb9?_0x5a0fca[_0x12b3d9(0x125)](exports[_0x12b3d9(0x296)],_0x7b97ab,_0x363b39,_0x42bdb9,_0x1e0670):_0x240ab1[_0x12b3d9(0x297)]?_0x5a0fca[_0x12b3d9(0x125)](exports[_0x12b3d9(0x3a2)],_0x7b97ab,_0x363b39,_0x240ab1,_0x1e0670):_0x5a0fca[_0x12b3d9(0x125)](exports['SyncedState'],_0x7b97ab,_0x363b39,_0x1e0670);}var vi=Object[_0x2e56f0(0x301)],Fe=(_0x4e3049,_0x5c32cd,_0x1af719,_0x23e361)=>{var _0x3e36ed=_0x2e56f0;for(var _0x2d541c=_0x23e361>0x1?void 0x0:_0x23e361?vi(_0x5c32cd,_0x1af719):_0x5c32cd,_0x28cc7a=_0x4e3049[_0x3e36ed(0x297)]-0x1,_0x26c72f;_0x28cc7a>=0x0;_0x28cc7a--)(_0x26c72f=_0x4e3049[_0x28cc7a])&&(_0x2d541c=_0x26c72f(_0x2d541c)||_0x2d541c);return _0x2d541c;},j=(_0x2e5b32,_0x5a13ae)=>(_0x5d7f01,_0x46266a)=>_0x5a13ae(_0x5d7f01,_0x46266a,_0x2e5b32);exports[_0x2e56f0(0x27f)]=class extends a[_0x2e56f0(0x351)]{constructor(_0x16dbd3,_0x525cda,_0x511a12,_0x480721,_0x3e72ec,_0x43dba9,_0x5a36aa,_0x1f601d,_0x4ef0c9,_0x44f1ac,_0x20248e,_0x182938,_0x59fe35){var _0x58cef5=_0x2e56f0;super(),A(this,_0x58cef5(0x179),new $[(_0x58cef5(0x2bd))](null)),A(this,_0x58cef5(0xf9),this[_0x58cef5(0x179)][_0x58cef5(0x2c4)]()),A(this,_0x58cef5(0xff)),A(this,_0x58cef5(0x370),!0x1),A(this,_0x58cef5(0x3cd),''),A(this,_0x58cef5(0x11a),0x0),A(this,_0x58cef5(0x31a),this[_0x58cef5(0xf9)]['pipe']($[_0x58cef5(0x1f2)](_0x502f10=>_0x502f10?_0x502f10['status']:Be['OFFLINE']),$['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x58cef5(0x122),[]),(this[_0x58cef5(0x327)]=_0x16dbd3,this[_0x58cef5(0x2e0)]=_0x525cda,this[_0x58cef5(0x3f0)]=_0x511a12,this[_0x58cef5(0x3c6)]=_0x480721,this[_0x58cef5(0x33d)]=_0x3e72ec,this[_0x58cef5(0x39b)]=_0x43dba9,this[_0x58cef5(0x1e1)]=_0x5a36aa,this[_0x58cef5(0x354)]=_0x1f601d,this[_0x58cef5(0x38b)]=_0x4ef0c9,this[_0x58cef5(0x243)]=_0x44f1ac,this[_0x58cef5(0x368)]=_0x20248e,this['_singleActiveUnitService']=_0x182938,this['_localCacheService']=_0x59fe35);}get[_0x2e56f0(0x25a)](){var _0x4971a6=_0x2e56f0;return this[_0x4971a6(0xff)];}async[_0x2e56f0(0x109)](){var _0x49b5e4=_0x2e56f0;if(this[_0x49b5e4(0x25a)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x2e56f0(0x36d)](){var _0x5636b2=_0x2e56f0;return this[_0x5636b2(0x370)]=!0x0,a[_0x5636b2(0xde)](()=>{var _0x1c3a03=_0x5636b2;this[_0x1c3a03(0x370)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2e56f0(0x18c)](_0x2755ba){var _0x582dad=_0x2e56f0;this[_0x582dad(0x14d)](_0x2755ba);}[_0x2e56f0(0x108)](_0x5065ee){var _0x3f76b1=_0x2e56f0;this[_0x3f76b1(0xff)]=_0x5065ee,this['_state$'][_0x3f76b1(0x212)](_0x5065ee);}async['_init'](){var _0x47c8a8=_0x2e56f0,_0x146956;this[_0x47c8a8(0x108)](await this[_0x47c8a8(0x36a)]()),this[_0x47c8a8(0x185)]&&((_0x146956=this[_0x47c8a8(0x185)])==null||_0x146956[_0x47c8a8(0x3ee)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])['subscribe'](_0x55975e=>{var _0x411a9f=_0x47c8a8;this[_0x411a9f(0x38b)][_0x411a9f(0x269)](_0x411a9f(0x238),'editing\x20status\x20changed\x20to',_0x55975e),_0x55975e===je['OTHER_CLIENTS_EDITING']?(this[_0x411a9f(0x354)][_0x411a9f(0x3e7)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x411a9f(0x368)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](this[_0x411a9f(0x327)])['id'],!0x1),this[_0x411a9f(0x368)][_0x411a9f(0x25e)](!0x1)):(this[_0x411a9f(0x368)][_0x411a9f(0x211)](new X[(_0x411a9f(0x37e))](this[_0x411a9f(0x327)])['id'],!0x0),this['_permissionService'][_0x411a9f(0x25e)](!0x0));})));let _0x172c66=!0x1;return this[_0x47c8a8(0x3d4)](this[_0x47c8a8(0x2e0)]['sessionStatus$']['subscribe'](_0x37ec7c=>{var _0x11c61d=_0x47c8a8;_0x37ec7c===re[_0x11c61d(0x21c)]?this[_0x11c61d(0x35b)](_0x172c66):_0x37ec7c===re[_0x11c61d(0x12a)]&&(_0x172c66=!0x0,this['_toggleOffline']());})),this[_0x47c8a8(0x3d4)](this[_0x47c8a8(0x2e0)]['event$'][_0x47c8a8(0x280)](_0x5834b7=>{var _0xd8881d=_0x47c8a8;try{switch(_0x5834b7[_0xd8881d(0x360)]){case p[_0xd8881d(0x136)][_0xd8881d(0x26f)]:{this[_0xd8881d(0x2ad)](p[_0xd8881d(0x401)](_0x5834b7[_0xd8881d(0x357)]));break;}case p['CollaborationEvent'][_0xd8881d(0x3cb)]:{this[_0xd8881d(0x3ce)](_0x5834b7[_0xd8881d(0x357)]);break;}case p[_0xd8881d(0x136)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p['CollaborationEvent'][_0xd8881d(0x3f5)]:{this[_0xd8881d(0x415)](_0x5834b7[_0xd8881d(0x357)]);break;}case p[_0xd8881d(0x136)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xd8881d(0x282)](_0x5834b7['data']['changesets'][_0xd8881d(0x1f2)](_0x9cd565=>p['parseProtocolChangeset'](_0x9cd565)));break;}case p['CollaborationEvent'][_0xd8881d(0xce)]:{this[_0xd8881d(0x15e)]({'isPermissionRej':!0x0});break;}case p[_0xd8881d(0x136)][_0xd8881d(0x230)]:break;}}catch(_0x286a23){throw console['error']('Error\x20on\x20receiving\x20event',_0x286a23),_0x286a23;}})),this[_0x47c8a8(0xff)];}[_0x2e56f0(0x1c4)](){var _0xd44f93=_0x2e56f0;this[_0xd44f93(0x2fb)]=!0x1;}[_0x2e56f0(0x10a)](){var _0x4badc1=_0x2e56f0;if(this[_0x4badc1(0x2fb)])throw new Error(_0x4badc1(0x2c3));this[_0x4badc1(0x2fb)]=!0x0;}['_onLocalMutation'](_0x119755){var _0x4ff48f=_0x2e56f0;this[_0x4ff48f(0x10a)](),this[_0x4ff48f(0x108)](this[_0x4ff48f(0xff)][_0x4ff48f(0x19c)](_0x119755)),this[_0x4ff48f(0x1c4)]();}[_0x2e56f0(0x2ad)](_0x54aa2c){var _0x936e22=_0x2e56f0;if(!(_0x54aa2c[_0x936e22(0x275)]<=this['_revisionService'][_0x936e22(0x373)](this[_0x936e22(0x327)]))){if(this[_0x936e22(0x370)]){this['_remoteChangesetQueue']['push'](_0x54aa2c);return;}this['_applyRemoteChangeset'](_0x54aa2c);}}['_exhaustRemoteChangesetQueue'](){var _0x485ce5=_0x2e56f0;this[_0x485ce5(0x122)]['forEach'](_0x601dc6=>this[_0x485ce5(0x246)](_0x601dc6)),this['_remoteChangesetQueue']=[];}[_0x2e56f0(0x246)](_0x576a90){var _0x2dd1f1=_0x2e56f0;const _0x4f7185=this[_0x2dd1f1(0x33d)]['interceptor']['fetchThroughInterceptors'](this[_0x2dd1f1(0x33d)][_0x2dd1f1(0x111)]['getInterceptPoints']()[_0x2dd1f1(0x278)])(_0x576a90['mutations'],null)||_0x576a90[_0x2dd1f1(0x2fc)],_0x17cc91={..._0x576a90,'mutations':_0x4f7185};this['_lockTransition'](),this[_0x2dd1f1(0x108)](this[_0x2dd1f1(0xff)][_0x2dd1f1(0x3e2)](_0x17cc91)),this[_0x2dd1f1(0x1c4)]();}[_0x2e56f0(0x3ce)](_0xa436b9){var _0x20c8a1=_0x2e56f0;this[_0x20c8a1(0x10a)](),this[_0x20c8a1(0x108)](this[_0x20c8a1(0xff)][_0x20c8a1(0xf3)](_0xa436b9)),this[_0x20c8a1(0x1c4)]();}[_0x2e56f0(0x15e)](_0x17e91c){var _0x483f07=_0x2e56f0;this[_0x483f07(0x10a)](),this[_0x483f07(0x108)](this[_0x483f07(0xff)][_0x483f07(0x393)](_0x17e91c)),this[_0x483f07(0x1c4)]();}[_0x2e56f0(0x415)](_0xb36ce2){var _0x6b95f6=_0x2e56f0;this[_0x6b95f6(0x10a)](),this[_0x6b95f6(0x108)](this[_0x6b95f6(0xff)][_0x6b95f6(0xa4)](_0xb36ce2)),this[_0x6b95f6(0x1c4)]();}[_0x2e56f0(0x282)](_0x4f34d6){var _0x257a32=_0x2e56f0;if(!(this[_0x257a32(0xff)]instanceof exports['FetchingMissState']))throw new TypeError(_0x257a32(0x411));const _0x5411bc=_0x4f34d6[_0x257a32(0x1f2)](_0x5a36e9=>{var _0x2d540e=_0x257a32;const _0xc4896e=this[_0x2d540e(0x33d)][_0x2d540e(0x111)][_0x2d540e(0x186)](this[_0x2d540e(0x33d)][_0x2d540e(0x111)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5a36e9[_0x2d540e(0x2fc)],null)||_0x5a36e9[_0x2d540e(0x2fc)];return{..._0x5a36e9,'mutations':_0xc4896e};});this[_0x257a32(0x10a)](),this['_updateState'](this[_0x257a32(0xff)][_0x257a32(0x189)](_0x5411bc)),this[_0x257a32(0x1c4)]();}['_toggleOffline'](){var _0x25fff3=_0x2e56f0;this[_0x25fff3(0x10a)](),this[_0x25fff3(0x108)](this[_0x25fff3(0xff)][_0x25fff3(0x15c)]()),this[_0x25fff3(0x1c4)]();}[_0x2e56f0(0x35b)](_0x1cecd1=!0x1){var _0x4f562b=_0x2e56f0;this[_0x4f562b(0x10a)](),this[_0x4f562b(0x108)](this['_state']['toggleOnline']()),this[_0x4f562b(0x1c4)]();const _0x214263=this[_0x4f562b(0xff)];_0x1cecd1&&_0x214263 instanceof exports['SyncedState']&&(this[_0x4f562b(0x10a)](),this[_0x4f562b(0x108)](_0x214263[_0x4f562b(0x19d)]()),this[_0x4f562b(0x1c4)]());}async[_0x2e56f0(0x36a)](){return new Promise(_0x2b265c=>{var _0x4e215f=_0x3736;this[_0x4e215f(0x2e0)][_0x4e215f(0x365)]['pipe']($[_0x4e215f(0x3da)](0x1))['subscribe'](async _0x571619=>{var _0x38e729=_0x4e215f;_0x2b265c(await this[_0x38e729(0x353)](_0x571619===re[_0x38e729(0x21c)]));});});}[_0x2e56f0(0x39e)](){var _0x3125f1=_0x2e56f0;const _0x27996a=this[_0x3125f1(0x327)];return{'onStateChange':(_0x573004,_0x7ca86f)=>{var _0xe18dc8=_0x3125f1;if(_0x573004!==this[_0xe18dc8(0xff)])throw new Error(_0xe18dc8(0xb0)+_0x573004[_0xe18dc8(0x17f)]+_0xe18dc8(0xb3)+_0x7ca86f[_0xe18dc8(0x17f)]+'\x0aCurrent:\x20'+this['_state']['status']);this['_updateState'](_0x7ca86f);},'onSendChangeset':_0x2c1797=>{var _0x3a8cd3=_0x3125f1;_0x2c1797[_0x3a8cd3(0x2b9)]||(_0x2c1797[_0x3a8cd3(0x2b9)]=this[_0x3a8cd3(0x3cd)],_0x2c1797[_0x3a8cd3(0x23d)]=++this[_0x3a8cd3(0x11a)]);const _0x292d78={'eventID':p[_0x3a8cd3(0x136)][_0x3a8cd3(0x3b5)],'data':{'unitID':_0x2c1797[_0x3a8cd3(0x327)],'unitType':this['_type'],'changeset':_0x2c1797,'memberID':this[_0x3a8cd3(0x2e0)][_0x3a8cd3(0x2bb)]()}};this[_0x3a8cd3(0x2e0)][_0x3a8cd3(0x40f)](_0x292d78,this[_0x3a8cd3(0x327)]);},'onMissingChangesets':({from:_0x3cd357,to:_0x6a61c1})=>{var _0x2fb492=_0x3125f1;this[_0x2fb492(0x38b)]['debug'](_0x2fb492(0x238),_0x2fb492(0xee)+_0x3cd357+_0x2fb492(0x137)+_0x6a61c1);const _0x3057e6={'eventID':p[_0x2fb492(0x136)][_0x2fb492(0xa0)],'data':{'unitID':_0x27996a,'unitType':this['_type'],'from':_0x3cd357,'to':_0x6a61c1}};this['session']['send'](_0x3057e6,this[_0x2fb492(0x327)]);}};}async[_0x2e56f0(0x353)](_0x3cabe2){var _0x2b2596=_0x2e56f0,_0x29e592,_0x53e52b,_0xe3b6f4;const _0x141af4=await((_0x29e592=this[_0x2b2596(0x1fc)])==null?void 0x0:_0x29e592[_0x2b2596(0x221)](this[_0x2b2596(0x327)])),_0x3050e3=(_0x53e52b=_0x141af4==null?void 0x0:_0x141af4['mutations'])!=null?_0x53e52b:[],_0x3bee55=(_0xe3b6f4=_0x141af4==null?void 0x0:_0x141af4['awaitingChangeset'])!=null?_0xe3b6f4:null,_0x41d377=!!(_0x3bee55!=null&&_0x3bee55['sid'])&&!!(_0x3bee55!=null&&_0x3bee55[_0x2b2596(0x23d)]);this[_0x2b2596(0x3cd)]=_0x41d377?_0x3bee55['sid']:p[_0x2b2596(0x31e)](),this[_0x2b2596(0x11a)]=_0x41d377?_0x3bee55[_0x2b2596(0x23d)]:0x0;const _0x25d421=this[_0x2b2596(0x327)];try{this[_0x2b2596(0x1a6)](_0x3bee55,_0x3050e3);}catch(_0x454596){this['_logService'][_0x2b2596(0xbd)](_0x454596);}const _0x344b2c=this[_0x2b2596(0x39e)]();if(_0x3cabe2){const _0x12a14d=Ot(this[_0x2b2596(0x3c6)],_0x25d421,this['_type'],_0x3bee55,_0x3050e3,_0x344b2c);return _0x12a14d instanceof exports['PendingState']?_0x12a14d['_schedule']():(_0x12a14d instanceof exports[_0x2b2596(0x1cc)]||_0x12a14d instanceof exports['AwaitingState'])&&_0x12a14d['resend'](),_0x12a14d;}return this[_0x2b2596(0x3c6)][_0x2b2596(0x125)](exports[_0x2b2596(0x132)],_0x25d421,this['_type'],_0x3bee55,_0x3050e3,_0x344b2c);}[_0x2e56f0(0x1a6)](_0xce827,_0x1785aa){var _0x217aeb=_0x2e56f0,_0x4279c3,_0x53f0c1;const _0x32d5d5=this[_0x217aeb(0x33d)][_0x217aeb(0x111)][_0x217aeb(0x186)](this[_0x217aeb(0x33d)][_0x217aeb(0x111)][_0x217aeb(0x1b9)]()[_0x217aeb(0x278)]);(_0x4279c3=_0x32d5d5((_0xce827==null?void 0x0:_0xce827[_0x217aeb(0x2fc)])||[],null))==null||_0x4279c3[_0x217aeb(0x229)](_0x20c53d=>this[_0x217aeb(0x243)][_0x217aeb(0x32d)](_0x20c53d['id'],_0x20c53d[_0x217aeb(0x1dc)])),(_0x53f0c1=_0x32d5d5(_0x1785aa||[],null))==null||_0x53f0c1[_0x217aeb(0x229)](_0x3adcca=>this[_0x217aeb(0x243)][_0x217aeb(0x32d)](_0x3adcca['id'],_0x3adcca[_0x217aeb(0x1dc)]));}},exports[_0x2e56f0(0x27f)]=Fe([j(0x3,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),j(0x4,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3fd)])),j(0x5,a[_0x2e56f0(0x159)](a['LocaleService'])),j(0x6,a['Inject'](p[_0x2e56f0(0x3bf)])),j(0x7,a[_0x2e56f0(0x159)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x2e56f0(0x3a6)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x2e56f0(0xed)](de)),j(0xc,a['Optional'](q))],exports[_0x2e56f0(0x27f)]),exports['DocCollaborationEntity']=class extends exports[_0x2e56f0(0x27f)]{constructor(_0x95cdf0,_0x2af225,_0xeef80d,_0x1db515,_0x1846b7,_0x6ce9a1,_0xdc44ab,_0x399b39,_0x30b29f,_0x265d7b,_0x494765,_0x5d7773,_0x12c245){var _0x493cc0=_0x2e56f0;super(_0x95cdf0,_0xeef80d,_0x2af225,_0x1db515,_0x1846b7,_0x6ce9a1,_0xdc44ab,_0x399b39,_0x30b29f,_0x265d7b,_0x494765,_0x5d7773,_0x12c245),A(this,_0x493cc0(0x168),null),(this[_0x493cc0(0x327)]=_0x95cdf0,this['type']=_0x2af225);}[_0x2e56f0(0x3f4)](_0x4eb3b2){this['_handlerCallback']=_0x4eb3b2;}['dispose'](){var _0x3e2cfb=_0x2e56f0;this[_0x3e2cfb(0x168)]=null,super[_0x3e2cfb(0x142)]();}[_0x2e56f0(0x39e)](){var _0x404c27=_0x2e56f0;const _0x378e74=super[_0x404c27(0x39e)]();return _0x378e74['onTransformIME']=_0x2b2056=>{var _0x5adbc1=_0x404c27,_0x31229b,_0x4b621e;return(_0x4b621e=(_0x31229b=this['_handlerCallback'])==null?void 0x0:_0x31229b['onTransformIME'])==null?void 0x0:_0x4b621e[_0x5adbc1(0x361)](_0x31229b,_0x2b2056);},_0x378e74['onTransformState']=_0xdc3c4b=>{var _0x492590=_0x404c27,_0x109028,_0x313e89;return(_0x313e89=(_0x109028=this['_handlerCallback'])==null?void 0x0:_0x109028[_0x492590(0x2ef)])==null?void 0x0:_0x313e89['call'](_0x109028,_0xdc3c4b);},_0x378e74[_0x404c27(0x205)]=_0xdd2ab7=>{var _0x4f27c0=_0x404c27,_0x3f4596,_0x328a07;return(_0x328a07=(_0x3f4596=this[_0x4f27c0(0x168)])==null?void 0x0:_0x3f4596['onTransformSelections'])==null?void 0x0:_0x328a07[_0x4f27c0(0x361)](_0x3f4596,_0xdd2ab7);},_0x378e74[_0x404c27(0x1cf)]=_0x18e14e=>{var _0x5993f8=_0x404c27,_0x48329b,_0x4ae15;return(_0x4ae15=(_0x48329b=this['_handlerCallback'])==null?void 0x0:_0x48329b['onSyncEditingCollabCursor'])==null?void 0x0:_0x4ae15[_0x5993f8(0x361)](_0x48329b,_0x18e14e);},_0x378e74['onTransformRemoteChangesetByIMECache']=_0x5a1dcb=>{var _0x53d394=_0x404c27,_0x19121b,_0x532c16,_0x31f807;if(!((_0x19121b=this['_handlerCallback'])!=null&&_0x19121b['onTransformRemoteChangesetByIMECache']))throw new Error(_0x53d394(0x36f));return(_0x31f807=(_0x532c16=this[_0x53d394(0x168)])==null?void 0x0:_0x532c16[_0x53d394(0x405)])==null?void 0x0:_0x31f807[_0x53d394(0x361)](_0x532c16,_0x5a1dcb);},_0x378e74[_0x404c27(0xfc)]=_0x63871d=>{var _0x28318f=_0x404c27,_0x44aa1e,_0x345796,_0x8f234e;if(!((_0x44aa1e=this[_0x28318f(0x168)])!=null&&_0x44aa1e[_0x28318f(0xfc)]))throw new Error(_0x28318f(0xe6));return(_0x8f234e=(_0x345796=this[_0x28318f(0x168)])==null?void 0x0:_0x345796[_0x28318f(0xfc)])==null?void 0x0:_0x8f234e[_0x28318f(0x361)](_0x345796,_0x63871d);},_0x378e74;}async['_init'](){var _0x30ba78=_0x2e56f0;const _0x2a5377=await super[_0x30ba78(0x249)]();return this[_0x30ba78(0x3d4)](this['_commandService'][_0x30ba78(0x39f)]((_0x20809f,_0x556855)=>{var _0x1ca787=_0x30ba78;if(_0x20809f[_0x1ca787(0x1ef)]!==a[_0x1ca787(0x394)]['MUTATION']||_0x556855!=null&&_0x556855[_0x1ca787(0x216)]||_0x556855!=null&&_0x556855[_0x1ca787(0x15f)]||_0x20809f['id']===ht[_0x1ca787(0x3bc)]['id'])return;const _0x5cd0a6=_0x20809f[_0x1ca787(0x1dc)];if((_0x5cd0a6==null?void 0x0:_0x5cd0a6['unitId'])!==this[_0x1ca787(0x327)])return;const _0xce1928=_0x20809f,_0x5daf2e=this[_0x1ca787(0x33d)][_0x1ca787(0x111)]['fetchThroughInterceptors'](this[_0x1ca787(0x33d)][_0x1ca787(0x111)][_0x1ca787(0x1b9)]()[_0x1ca787(0x3c7)])([_0xce1928],null)||[_0xce1928];this[_0x1ca787(0x14d)](_0x5daf2e[0x0]);})),_0x2a5377;}},exports[_0x2e56f0(0x209)]=Fe([j(0x3,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),j(0x4,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3fd)])),j(0x5,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x2a8)])),j(0x6,a[_0x2e56f0(0x159)](p['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x2e56f0(0xac)]),j(0x9,a[_0x2e56f0(0x3a6)]),j(0xa,a[_0x2e56f0(0x197)]),j(0xb,a[_0x2e56f0(0xed)](de)),j(0xc,a[_0x2e56f0(0xed)](q))],exports['DocCollaborationEntity']),exports[_0x2e56f0(0x1ab)]=class extends exports['CollaborationEntity']{constructor(_0xf63a44,_0x3b7880,_0x2a6929,_0x22cc56,_0x11cdd0,_0x305e2a,_0x5007b7,_0x3fe080,_0x17231a,_0x8544cb,_0x399ef5,_0x53bc1f,_0x24ddc9,_0x14604c){var _0x39e3d6=_0x2e56f0;super(_0xf63a44,_0x2a6929,_0x3b7880,_0x22cc56,_0x11cdd0,_0x305e2a,_0x5007b7,_0x17231a,_0x8544cb,_0x399ef5,_0x53bc1f,_0x24ddc9,_0x14604c),this[_0x39e3d6(0x327)]=_0xf63a44,this[_0x39e3d6(0x1ef)]=_0x3b7880,this[_0x39e3d6(0x3ad)]=_0x3fe080;}[_0x2e56f0(0x39e)](){var _0x15972a=_0x2e56f0;const _0x396593=super[_0x15972a(0x39e)]();return _0x396593[_0x15972a(0x205)]=_0x27c4a1=>this[_0x15972a(0x3ad)][_0x15972a(0xbb)](_0x27c4a1),_0x396593;}async['_init'](){var _0x20d849=_0x2e56f0;const _0xd28510=await super[_0x20d849(0x249)]();return this[_0x20d849(0x3d4)](this[_0x20d849(0x243)][_0x20d849(0x39f)]((_0x76b39e,_0x2237b2)=>{var _0x33c843=_0x20d849;if(_0x76b39e[_0x33c843(0x1ef)]!==a[_0x33c843(0x394)][_0x33c843(0x345)]||_0x2237b2!=null&&_0x2237b2[_0x33c843(0x216)]||_0x2237b2!=null&&_0x2237b2[_0x33c843(0x15f)])return;const _0x3955ec=_0x76b39e['params'];if((_0x3955ec==null?void 0x0:_0x3955ec[_0x33c843(0x190)])!==this[_0x33c843(0x327)])return;const _0x353556=_0x76b39e,_0x250be5=this['_compressMutationService'][_0x33c843(0x111)]['fetchThroughInterceptors'](this[_0x33c843(0x33d)]['interceptor'][_0x33c843(0x1b9)]()['COMPRESS_MUTATION_SEND'])([_0x353556],null)||[_0x353556];this[_0x33c843(0x14d)](_0x250be5[0x0]);})),_0xd28510;}},exports[_0x2e56f0(0x1ab)]=Fe([j(0x3,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),j(0x4,a[_0x2e56f0(0x159)](p[_0x2e56f0(0x3fd)])),j(0x5,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x2a8)])),j(0x6,a['Inject'](p[_0x2e56f0(0x3bf)])),j(0x7,a[_0x2e56f0(0x159)](exports[_0x2e56f0(0x1c1)])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x2e56f0(0x3a6)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x2e56f0(0xed)](de)),j(0xd,a[_0x2e56f0(0xed)](q))],exports[_0x2e56f0(0x1ab)]);var Si=Object[_0x2e56f0(0x301)],fi=(_0x1a6b49,_0x530fca,_0x26b81e,_0x4a3d43)=>{var _0x3415c4=_0x2e56f0;for(var _0x5fc9fc=_0x4a3d43>0x1?void 0x0:_0x4a3d43?Si(_0x530fca,_0x26b81e):_0x530fca,_0x4a92e9=_0x1a6b49[_0x3415c4(0x297)]-0x1,_0x3db804;_0x4a92e9>=0x0;_0x4a92e9--)(_0x3db804=_0x1a6b49[_0x4a92e9])&&(_0x5fc9fc=_0x3db804(_0x5fc9fc)||_0x5fc9fc);return _0x5fc9fc;},Se=(_0x51d841,_0x1cf663)=>(_0x155169,_0x2dceb3)=>_0x1cf663(_0x155169,_0x2dceb3,_0x51d841);exports[_0x2e56f0(0xc8)]=class extends a[_0x2e56f0(0x351)]{constructor(_0x306bcc,_0x1c0176,_0x59e2e,_0x32541c){var _0x33993a=_0x2e56f0,_0x406bd4;super(),A(this,_0x33993a(0x1f6),new Map()),A(this,_0x33993a(0x2de),new $[(_0x33993a(0x30b))]()),A(this,_0x33993a(0x379),this['_entityInit$'][_0x33993a(0x2c4)]()),(this[_0x33993a(0x3c6)]=_0x306bcc,this[_0x33993a(0x389)]=_0x1c0176,this[_0x33993a(0x344)]=_0x59e2e,this[_0x33993a(0x2bf)]=_0x32541c,((_0x406bd4=this[_0x33993a(0x344)][_0x33993a(0x38e)](G))==null?void 0x0:_0x406bd4[_0x33993a(0x1a8)])!==!0x1&&this['_init']());}[_0x2e56f0(0x142)](){var _0x1c0464=_0x2e56f0;super[_0x1c0464(0x142)](),this['_entities'][_0x1c0464(0x229)](_0x1485ec=>_0x1485ec[_0x1c0464(0x142)]()),this[_0x1c0464(0x1f6)][_0x1c0464(0x410)]();}[_0x2e56f0(0x2fe)](_0x123fc0){var _0x58491e=_0x2e56f0,_0x11b721;return(_0x11b721=this[_0x58491e(0x1f6)][_0x58491e(0xc5)](_0x123fc0))!=null?_0x11b721:null;}[_0x2e56f0(0x2fa)](_0x41fbb1){var _0x5953d4=_0x2e56f0;const _0xe20b17=this[_0x5953d4(0x2fe)](_0x41fbb1);return _0xe20b17?$['of'](_0xe20b17):this['_entityInit$'][_0x5953d4(0x1af)](V[_0x5953d4(0x1d1)](_0xf8e559=>_0xf8e559[_0x5953d4(0x327)]===_0x41fbb1));}[_0x2e56f0(0x414)](_0x198685){var _0x2cf174=_0x2e56f0;return $[_0x2cf174(0x215)](this[_0x2cf174(0x2fa)](_0x198685)[_0x2cf174(0x1af)](V[_0x2cf174(0x1f2)](()=>{})));}['_init'](){var _0x36e34a=_0x2e56f0;this[_0x36e34a(0x2bf)][_0x36e34a(0x1b1)](a[_0x36e34a(0xa1)][_0x36e34a(0x329)])['pipe']($['takeUntil'](this[_0x36e34a(0xe4)]),V[_0x36e34a(0x38f)](0x10))[_0x36e34a(0x280)](async _0x203c0c=>{var _0x10e892=_0x36e34a;const _0x465ccb=_0x203c0c['getUnitId'](),_0x4bd285=await this[_0x10e892(0x16e)](_0x465ccb,J['UNIVER_SHEET']);this['_entities'][_0x10e892(0x233)](_0x465ccb,_0x4bd285);}),this[_0x36e34a(0x2bf)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x36e34a(0x20d)])[_0x36e34a(0x1af)]($['takeUntil'](this[_0x36e34a(0xe4)]),V[_0x36e34a(0x38f)](0x10))[_0x36e34a(0x1af)](V[_0x36e34a(0x1d1)](_0x2c45cb=>!_0x2c45cb[_0x36e34a(0x2ca)]()[_0x36e34a(0x349)]('__')))[_0x36e34a(0x280)](async _0x5c6b12=>{var _0x3d5b6b=_0x36e34a;const _0x3dcb26=_0x5c6b12[_0x3d5b6b(0x2ca)](),_0x1fe6c3=await this[_0x3d5b6b(0x16e)](_0x3dcb26,J['UNIVER_DOC']);this[_0x3d5b6b(0x1f6)]['set'](_0x3dcb26,_0x1fe6c3);}),$[_0x36e34a(0x29e)](this['_univerInstanceService'][_0x36e34a(0x378)](a[_0x36e34a(0xa1)][_0x36e34a(0x329)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x36e34a(0x20d)]))[_0x36e34a(0x1af)]($[_0x36e34a(0xea)](this[_0x36e34a(0xe4)]))[_0x36e34a(0x280)](_0x532d1e=>{var _0x48e82b=_0x36e34a;const _0x2e19d1=_0x532d1e['getUnitId'](),_0x3d7530=this[_0x48e82b(0x1f6)]['get'](_0x2e19d1);_0x3d7530&&(_0x3d7530['dispose'](),this[_0x48e82b(0x1f6)]['delete'](_0x2e19d1));});}async[_0x2e56f0(0x16e)](_0x3365e5,_0x466a34){var _0x55f8b4=_0x2e56f0;const _0x3794ef=await this['_collabSessionService']['requireSession'](_0x3365e5),_0x30e92d=this[_0x55f8b4(0x3c6)]['createInstance'](this[_0x55f8b4(0xa9)](_0x466a34),_0x3365e5,_0x466a34,_0x3794ef);return await _0x30e92d[_0x55f8b4(0x109)](),this[_0x55f8b4(0x2de)]['next'](_0x30e92d),_0x30e92d;}['_getCtorByUniverType'](_0x1e53e5){var _0x1809ba=_0x2e56f0;switch(_0x1e53e5){case J[_0x1809ba(0x20d)]:return exports[_0x1809ba(0x209)];case J[_0x1809ba(0x329)]:return exports[_0x1809ba(0x1ab)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1e53e5);}}},exports['CollaborationController']=fi([Se(0x0,a['Inject'](a['Injector'])),Se(0x1,a[_0x2e56f0(0x159)](exports[_0x2e56f0(0x2f3)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x2e56f0(0x13a)])],exports[_0x2e56f0(0xc8)]);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x5c1243,_0x36a12a,_0x4a15ca,_0x4b6d5c)=>{var _0x149fe6=_0x2e56f0;for(var _0x507776=_0x4b6d5c>0x1?void 0x0:_0x4b6d5c?Ii(_0x36a12a,_0x4a15ca):_0x36a12a,_0x458c33=_0x5c1243[_0x149fe6(0x297)]-0x1,_0x5a631f;_0x458c33>=0x0;_0x458c33--)(_0x5a631f=_0x5c1243[_0x458c33])&&(_0x507776=_0x5a631f(_0x507776)||_0x507776);return _0x507776;},Ke=(_0x1856e1,_0x10fec1)=>(_0x3de170,_0x255067)=>_0x10fec1(_0x3de170,_0x255067,_0x1856e1);const gi=_0x2e56f0(0x2b7),Ei=_0x2e56f0(0x250);let xe=class extends a[_0x2e56f0(0x3fe)]{constructor(_0x46d0c1,_0x1f6553){var _0x5cbf83=_0x2e56f0;super(),this[_0x5cbf83(0x2bf)]=_0x46d0c1,this['_configService']=_0x1f6553,this[_0x5cbf83(0x249)]();}[_0x2e56f0(0x249)](){var _0x255380=_0x2e56f0;this[_0x255380(0x3d4)](this[_0x255380(0x2bf)][_0x255380(0x261)][_0x255380(0x280)](()=>{var _0xc07187=_0x255380,_0x47a521;const _0x19f657=this['_univerInstanceService'][_0xc07187(0x242)]();let _0x38eaa9=(_0x47a521=this[_0xc07187(0x344)][_0xc07187(0x38e)](gi))!=null?_0x47a521:Ei;_0x19f657 instanceof a[_0xc07187(0x1d4)]&&(_0x38eaa9=_0x19f657[_0xc07187(0x16d)]),document[_0xc07187(0x2c6)]=_0x38eaa9;}));}};xe=pi([Ke(0x0,a[_0x2e56f0(0x13a)]),Ke(0x1,a[_0x2e56f0(0x25b)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x65ba14,_0x1a05c9,_0x46977c,_0x2de770)=>{var _0x53722d=_0x2e56f0;for(var _0x7b32cd=_0x2de770>0x1?void 0x0:_0x2de770?mi(_0x1a05c9,_0x46977c):_0x1a05c9,_0x24e30d=_0x65ba14[_0x53722d(0x297)]-0x1,_0x53a732;_0x24e30d>=0x0;_0x24e30d--)(_0x53a732=_0x65ba14[_0x24e30d])&&(_0x7b32cd=_0x53a732(_0x7b32cd)||_0x7b32cd);return _0x7b32cd;},Ae=(_0x468f3c,_0x317e53)=>(_0x4b7688,_0x152146)=>_0x317e53(_0x4b7688,_0x152146,_0x468f3c);let ye=class{constructor(_0x2b5dcf,_0x852344,_0x330487){var _0x20911d=_0x2e56f0;this[_0x20911d(0x344)]=_0x2b5dcf,this['_httpService']=_0x852344,this['localeService']=_0x330487,this[_0x20911d(0x109)]();}['init'](){var _0xbfa227=_0x2e56f0;this[_0xbfa227(0x201)][_0xbfa227(0x2a2)]({'priority':0x1,'interceptor':(_0x50e944,_0x34029f)=>_0x34029f(_0x50e944)[_0xbfa227(0x1af)]($[_0xbfa227(0x2f2)](async _0x404edb=>{var _0x29e0f3=_0xbfa227;const _0x3e6e21=_0x404edb;if(_0x3e6e21[_0x29e0f3(0x17f)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x29e0f3(0xfb)](this[_0x29e0f3(0x3b1)]['t'](_0x29e0f3(0x402)))){const _0x7ba4d7=window[_0x29e0f3(0x1cb)](window[_0x29e0f3(0x3be)][_0x29e0f3(0x240)]);window[_0x29e0f3(0x3be)][_0x29e0f3(0x240)]=this['_getLoginPath']()+_0x29e0f3(0x28c)+_0x7ba4d7;}}return _0x3e6e21;}))});}[_0x2e56f0(0x388)](){var _0x2c6d1f=_0x2e56f0,_0x147511,_0x3c9c5c;const _0x145bde=this[_0x2c6d1f(0x344)][_0x2c6d1f(0x38e)](pt),_0x4fc7bd=this[_0x2c6d1f(0x344)][_0x2c6d1f(0x38e)](G);return(_0x3c9c5c=(_0x147511=_0x4fc7bd==null?void 0x0:_0x4fc7bd['loginUrlKey'])!=null?_0x147511:_0x145bde)!=null?_0x3c9c5c:Wt;}};ye=Ci([Ae(0x0,a[_0x2e56f0(0x25b)]),Ae(0x1,a['Inject'](K[_0x2e56f0(0xc6)])),Ae(0x2,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x2a8)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x420c66,_0x4ca0ef,_0x598f61,_0x1f6742)=>{var _0x19cc34=_0x2e56f0;for(var _0x2bf987=_0x1f6742>0x1?void 0x0:_0x1f6742?Ti(_0x4ca0ef,_0x598f61):_0x4ca0ef,_0x11ef06=_0x420c66[_0x19cc34(0x297)]-0x1,_0x202dee;_0x11ef06>=0x0;_0x11ef06--)(_0x202dee=_0x420c66[_0x11ef06])&&(_0x2bf987=_0x202dee(_0x2bf987)||_0x2bf987);return _0x2bf987;},qe=(_0x50ddce,_0x9a4087)=>(_0x4fc703,_0x7fbe7a)=>_0x9a4087(_0x4fc703,_0x7fbe7a,_0x50ddce);const Ve=_0x2e56f0(0x372),Ri=_0x2e56f0(0x279);exports['AuthzIoHttpService']=class extends a[_0x2e56f0(0x3fe)]{constructor(_0xe2f1b9,_0x11b84b){var _0x34b9d3=_0x2e56f0;super(),this[_0x34b9d3(0x23b)]=_0xe2f1b9,this[_0x34b9d3(0x344)]=_0x11b84b,this[_0x34b9d3(0x398)]();}[_0x2e56f0(0x398)](){var _0x42ed63=_0x2e56f0;const _0xe458ba=this;this[_0x42ed63(0x3d4)](this[_0x42ed63(0x23b)][_0x42ed63(0x2a2)]({'priority':0x3e7,'interceptor':K[_0x42ed63(0x1f4)]({'isMatch'(_0x76d0f1){var _0x2823ba=_0x42ed63,_0xe6bac;if(_0x76d0f1['method']===_0x2823ba(0x362)&&((_0xe6bac=_0x76d0f1[_0x2823ba(0x1dd)])!=null&&_0xe6bac['body'])){const {objectID:_0x2826e9,objectType:_0x543106}=_0x76d0f1[_0x2823ba(0x1dd)]['body']||{};if(!_0x2826e9||_0x543106===void 0x0)return!0x1;const _0x5a9426=_0xe458ba[_0x2823ba(0x2d8)]()+'/'+_0x543106+_0x2823ba(0x15d)+_0x2826e9+_0x2823ba(0x239);if(_0x76d0f1['url']===_0x5a9426)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x14b96b){var _0x2febb7=_0x42ed63,_0x53f3d6;return(_0x53f3d6=_0x14b96b['requestParams'])==null?void 0x0:_0x53f3d6[_0x2febb7(0x1ae)];},'mergeParamsToRequest'(_0x4bd9b7,_0x3a2f13){var _0x1dacf0=_0x42ed63;const _0x1c89bd=_0xe458ba[_0x1dacf0(0x2d8)]()+'/-/object/-/batch_allowed',_0x7fdfbc=_0x4bd9b7['reduce']((_0x3b5f19,_0x14a71a)=>{var _0x5ea51a=_0x1dacf0;const {unitID:_0x1f8c39,objectID:_0x497476,objectType:_0xb61209,actions:_0x1346f5}=_0x14a71a;return _0x3b5f19[_0x1f8c39]||(_0x3b5f19[_0x1f8c39]={}),_0x3b5f19[_0x1f8c39][_0x497476]||(_0x3b5f19[_0x1f8c39][_0x497476]={'objectID':_0x497476,'objectType':_0xb61209,'actions':[]}),_0x3b5f19[_0x1f8c39][_0x497476][_0x5ea51a(0x2c9)]['push'](..._0x1346f5),_0x3b5f19;},{}),_0x1fe037=[];for(const _0x36bbac in _0x7fdfbc)for(const _0xb9809c in _0x7fdfbc[_0x36bbac]){const {actions:_0x338509,objectType:_0x46806f}=_0x7fdfbc[_0x36bbac][_0xb9809c],_0xc4e81b=[...new Set(_0x338509)];_0x1fe037[_0x1dacf0(0x1ce)]({'unitID':_0x36bbac,'objectID':_0xb9809c,'objectType':_0x46806f,'actions':_0xc4e81b});}return new K[(_0x1dacf0(0x2c5))](_0x1dacf0(0x362),_0x1c89bd,{'headers':_0x3a2f13['headers'],'withCredentials':_0x3a2f13[_0x1dacf0(0x1c3)],'responseType':_0x3a2f13[_0x1dacf0(0x18b)],'body':{'requests':_0x1fe037}});}},{'distributeResult'(_0x5cd399,_0x1bfcb0){const {objectActions:_0x4af003}=_0x5cd399;return _0x1bfcb0['map'](_0x4cff90=>{var _0x453f2a=_0x3736;const {unitID:_0x2edd36,objectID:_0x27dd63,actions:_0x20c98f}=_0x4cff90,_0x371e1f=_0x4af003[_0x453f2a(0x1e6)](_0x34d8f8=>_0x34d8f8['unitID']===_0x2edd36&&_0x34d8f8[_0x453f2a(0x3ae)]===_0x27dd63),_0x4e3042=_0x20c98f[_0x453f2a(0x1f2)](_0x22da38=>_0x371e1f==null?void 0x0:_0x371e1f['actions'][_0x453f2a(0x1e6)](_0x25d211=>_0x25d211[_0x453f2a(0x20c)]===_0x22da38))[_0x453f2a(0x1d1)](_0x3041b5=>!!_0x3041b5);return{'config':_0x4cff90,'result':{'actions':_0x4e3042,'error':_0x5cd399[_0x453f2a(0xbd)]}};});}})}));}[_0x2e56f0(0x2d8)](){var _0x499463=_0x2e56f0,_0x56d91f,_0x3e8fcc;const _0xbc3be=this[_0x499463(0x344)]['getConfig'](Ve),_0xf2c070=this[_0x499463(0x344)][_0x499463(0x38e)](G);return(_0x3e8fcc=(_0x56d91f=_0xf2c070==null?void 0x0:_0xf2c070[_0x499463(0x1a5)])!=null?_0x56d91f:_0xbc3be)!=null?_0x3e8fcc:Ri;}async[_0x2e56f0(0x418)](_0x41d746){var _0x5409fe=_0x2e56f0;const _0x45167d=this[_0x5409fe(0x2d8)]()+'/'+_0x41d746[_0x5409fe(0x3dd)]+'/object';return(await this[_0x5409fe(0x23b)][_0x5409fe(0x37b)](_0x45167d,{'body':_0x41d746}))[_0x5409fe(0x1ae)]['objectID']||'';}async[_0x2e56f0(0x2cc)](_0xd5f8fd){var _0x242801=_0x2e56f0;const _0x9d3ee1=this[_0x242801(0x2d8)]()+_0x242801(0x22c);return(await this[_0x242801(0x23b)][_0x242801(0x37b)](_0x9d3ee1,{'body':_0xd5f8fd}))[_0x242801(0x1ae)]['objects'];}async[_0x2e56f0(0x2d6)](_0xc5813d){var _0x5618d0=_0x2e56f0,_0x280e25,_0x596f4c;const _0x212681=this[_0x5618d0(0x2d8)]()+'/'+_0xc5813d[_0x5618d0(0x3dd)]+'/object/'+_0xc5813d[_0x5618d0(0x3ae)],_0x165451=await this[_0x5618d0(0x23b)]['put'](_0x212681,{'body':_0xc5813d});if(((_0x596f4c=(_0x280e25=_0x165451==null?void 0x0:_0x165451['body'])==null?void 0x0:_0x280e25[_0x5618d0(0xbd)])==null?void 0x0:_0x596f4c[_0x5618d0(0x25d)])!==0x1)throw new Error(_0x5618d0(0x1f3));}async[_0x2e56f0(0x2a3)](_0x10d65f){var _0x4e7000=_0x2e56f0;const _0x39ebf3=this[_0x4e7000(0x2d8)]()+'/'+_0x10d65f[_0x4e7000(0x3dd)]+_0x4e7000(0x15d)+_0x10d65f[_0x4e7000(0x3ae)]+_0x4e7000(0x239);return(await this[_0x4e7000(0x23b)][_0x4e7000(0x37b)](_0x39ebf3,{'body':_0x10d65f}))['body']['actions'];}async[_0x2e56f0(0x310)](_0x537a9e){var _0x249544=_0x2e56f0;const _0x87c9f5=this[_0x249544(0x2d8)]()+_0x249544(0x334);return(await this['_HTTPService'][_0x249544(0x37b)](_0x87c9f5,{'body':{'requests':_0x537a9e}}))[_0x249544(0x1ae)][_0x249544(0x204)];}async[_0x2e56f0(0x386)](_0x4b7916){var _0x381995=_0x2e56f0;const _0x47d2af=this[_0x381995(0x2d8)]()+'/'+_0x4b7916[_0x381995(0x3dd)]+_0x381995(0x135),_0x3fc09c=await this[_0x381995(0x23b)][_0x381995(0x37b)](_0x47d2af,{'body':_0x4b7916});return{'roles':_0x3fc09c[_0x381995(0x1ae)][_0x381995(0x21e)],'actions':_0x3fc09c[_0x381995(0x1ae)][_0x381995(0x2c9)]};}async['deleteCollaborator'](_0x454426){var _0x5876d7=_0x2e56f0;const _0x3deeac=this[_0x5876d7(0x2d8)]()+_0x5876d7(0x219);await this[_0x5876d7(0x23b)][_0x5876d7(0x222)](_0x3deeac,{'params':{'collaboratorID':_0x454426[_0x5876d7(0x366)],'objectID':_0x454426[_0x5876d7(0x3ae)],'unitID':_0x454426[_0x5876d7(0x327)]}});}async[_0x2e56f0(0x356)](_0xe3a58e){var _0x4fa5a2=_0x2e56f0;const _0x15d7b0=this['_getAPIPrefixPath']()+_0x4fa5a2(0x219);await this[_0x4fa5a2(0x23b)][_0x4fa5a2(0x3ab)](_0x15d7b0,{'body':_0xe3a58e});}async['createCollaborator'](_0x29413c){var _0x1c4660=_0x2e56f0;const _0x361248=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x1c4660(0x37b)](_0x361248,{'body':_0x29413c});}async[_0x2e56f0(0x241)](_0x188cf7){var _0x239ad1=_0x2e56f0;const _0x358835=this[_0x239ad1(0x2d8)]()+_0x239ad1(0x219);return(await this[_0x239ad1(0x23b)]['get'](_0x358835,{'params':{'objectID':_0x188cf7[_0x239ad1(0x3ae)],'unitID':_0x188cf7['unitID']}}))[_0x239ad1(0x1ae)][_0x239ad1(0xba)];}async[_0x2e56f0(0x24c)](_0x135b4e){var _0x4a8f7b=_0x2e56f0;const _0x160571=this['_getAPIPrefixPath']()+_0x4a8f7b(0x219);await this[_0x4a8f7b(0x23b)]['put'](_0x160571,{'body':_0x135b4e});}},exports[_0x2e56f0(0x332)]=bi([qe(0x0,a[_0x2e56f0(0x159)](K[_0x2e56f0(0xc6)])),qe(0x1,a[_0x2e56f0(0x159)](a['IConfigService']))],exports[_0x2e56f0(0x332)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x25acaf){var _0x421143=_0x2e56f0;return _0x25acaf&&_0x25acaf['__esModule']&&Object[_0x421143(0x314)][_0x421143(0x3c2)][_0x421143(0x361)](_0x25acaf,_0x421143(0x196))?_0x25acaf[_0x421143(0x196)]:_0x25acaf;}var fe={'exports':{}};function Oi(_0x5600db){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5600db+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},yi=Ie['exports'],ze;function Q(){var _0x3f61b8=_0x2e56f0;return ze||(ze=0x1,function(_0x526c21,_0x16ac30){(function(_0x4a96e7,_0xb3796b){var _0x37b727=_0x3736;_0x526c21[_0x37b727(0x367)]=_0xb3796b();}(yi,function(){var _0x23dfdc=_0x23dfdc||function(_0xd5bfe3,_0x56a446){var _0x17a0f5=_0x3736,_0x5942cc;if(typeof window<'u'&&window[_0x17a0f5(0x38c)]&&(_0x5942cc=window[_0x17a0f5(0x38c)]),typeof self<'u'&&self[_0x17a0f5(0x38c)]&&(_0x5942cc=self['crypto']),typeof globalThis<'u'&&globalThis[_0x17a0f5(0x38c)]&&(_0x5942cc=globalThis[_0x17a0f5(0x38c)]),!_0x5942cc&&typeof window<'u'&&window[_0x17a0f5(0xe9)]&&(_0x5942cc=window[_0x17a0f5(0xe9)]),!_0x5942cc&&typeof Pe<'u'&&Pe[_0x17a0f5(0x38c)]&&(_0x5942cc=Pe[_0x17a0f5(0x38c)]),!_0x5942cc&&typeof Oi=='function')try{_0x5942cc=require('crypto');}catch{}var _0x149e9f=function(){var _0x178046=_0x17a0f5;if(_0x5942cc){if(typeof _0x5942cc[_0x178046(0x163)]==_0x178046(0x166))try{return _0x5942cc[_0x178046(0x163)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5942cc[_0x178046(0x400)]==_0x178046(0x166))try{return _0x5942cc['randomBytes'](0x4)[_0x178046(0x2b3)]();}catch{}}throw new Error(_0x178046(0x274));},_0x3865ae=Object[_0x17a0f5(0x418)]||(function(){function _0x242fd5(){}return function(_0x1dd48d){var _0x58debb=_0x3736,_0x1a5e6d;return _0x242fd5[_0x58debb(0x314)]=_0x1dd48d,_0x1a5e6d=new _0x242fd5(),_0x242fd5['prototype']=null,_0x1a5e6d;};}()),_0xabcd8b={},_0xef1efd=_0xabcd8b['lib']={},_0x4772c5=_0xef1efd['Base']=(function(){return{'extend':function(_0x5d1720){var _0x3c4681=_0x3736,_0x5553c8=_0x3865ae(this);return _0x5d1720&&_0x5553c8[_0x3c4681(0x18a)](_0x5d1720),(!_0x5553c8[_0x3c4681(0x3c2)](_0x3c4681(0x109))||this[_0x3c4681(0x109)]===_0x5553c8[_0x3c4681(0x109)])&&(_0x5553c8[_0x3c4681(0x109)]=function(){var _0x50c71a=_0x3c4681;_0x5553c8['$super'][_0x50c71a(0x109)][_0x50c71a(0x174)](this,arguments);}),_0x5553c8[_0x3c4681(0x109)][_0x3c4681(0x314)]=_0x5553c8,_0x5553c8['$super']=this,_0x5553c8;},'create':function(){var _0x5a5744=_0x3736,_0x375d0b=this[_0x5a5744(0x206)]();return _0x375d0b[_0x5a5744(0x109)][_0x5a5744(0x174)](_0x375d0b,arguments),_0x375d0b;},'init':function(){},'mixIn':function(_0x2fe9d9){var _0x293be1=_0x3736;for(var _0x5a9a04 in _0x2fe9d9)_0x2fe9d9[_0x293be1(0x3c2)](_0x5a9a04)&&(this[_0x5a9a04]=_0x2fe9d9[_0x5a9a04]);_0x2fe9d9['hasOwnProperty']('toString')&&(this[_0x293be1(0xd8)]=_0x2fe9d9[_0x293be1(0xd8)]);},'clone':function(){var _0x58aaac=_0x3736;return this[_0x58aaac(0x109)][_0x58aaac(0x314)][_0x58aaac(0x206)](this);}};}()),_0x4c72f4=_0xef1efd['WordArray']=_0x4772c5[_0x17a0f5(0x206)]({'init':function(_0x503593,_0x1bb8fd){var _0x273319=_0x17a0f5;_0x503593=this['words']=_0x503593||[],_0x1bb8fd!=_0x56a446?this['sigBytes']=_0x1bb8fd:this[_0x273319(0x28d)]=_0x503593[_0x273319(0x297)]*0x4;},'toString':function(_0x14d69a){var _0x46fd32=_0x17a0f5;return(_0x14d69a||_0x1c94e1)[_0x46fd32(0x34f)](this);},'concat':function(_0x29c512){var _0x17428b=_0x17a0f5,_0x819e34=this[_0x17428b(0x1de)],_0x37a695=_0x29c512['words'],_0x51bb93=this[_0x17428b(0x28d)],_0x1d72be=_0x29c512[_0x17428b(0x28d)];if(this[_0x17428b(0x1d7)](),_0x51bb93%0x4)for(var _0x349784=0x0;_0x349784<_0x1d72be;_0x349784++){var _0x1fab54=_0x37a695[_0x349784>>>0x2]>>>0x18-_0x349784%0x4*0x8&0xff;_0x819e34[_0x51bb93+_0x349784>>>0x2]|=_0x1fab54<<0x18-(_0x51bb93+_0x349784)%0x4*0x8;}else{for(var _0x7cd8f4=0x0;_0x7cd8f4<_0x1d72be;_0x7cd8f4+=0x4)_0x819e34[_0x51bb93+_0x7cd8f4>>>0x2]=_0x37a695[_0x7cd8f4>>>0x2];}return this[_0x17428b(0x28d)]+=_0x1d72be,this;},'clamp':function(){var _0x1d708e=_0x17a0f5,_0x2ef121=this[_0x1d708e(0x1de)],_0x350068=this[_0x1d708e(0x28d)];_0x2ef121[_0x350068>>>0x2]&=0xffffffff<<0x20-_0x350068%0x4*0x8,_0x2ef121[_0x1d708e(0x297)]=_0xd5bfe3[_0x1d708e(0x28f)](_0x350068/0x4);},'clone':function(){var _0x3168ac=_0x17a0f5,_0x5206cc=_0x4772c5['clone'][_0x3168ac(0x361)](this);return _0x5206cc[_0x3168ac(0x1de)]=this[_0x3168ac(0x1de)]['slice'](0x0),_0x5206cc;},'random':function(_0x4068e8){var _0x21a554=_0x17a0f5;for(var _0x42ce5f=[],_0xd42525=0x0;_0xd42525<_0x4068e8;_0xd42525+=0x4)_0x42ce5f[_0x21a554(0x1ce)](_0x149e9f());return new _0x4c72f4[(_0x21a554(0x109))](_0x42ce5f,_0x4068e8);}}),_0xcbceb3=_0xabcd8b[_0x17a0f5(0x321)]={},_0x1c94e1=_0xcbceb3[_0x17a0f5(0x293)]={'stringify':function(_0x448017){var _0x54c781=_0x17a0f5;for(var _0x5b932d=_0x448017[_0x54c781(0x1de)],_0x2a4e66=_0x448017[_0x54c781(0x28d)],_0x3469ba=[],_0xd80ad9=0x0;_0xd80ad9<_0x2a4e66;_0xd80ad9++){var _0x3287d3=_0x5b932d[_0xd80ad9>>>0x2]>>>0x18-_0xd80ad9%0x4*0x8&0xff;_0x3469ba[_0x54c781(0x1ce)]((_0x3287d3>>>0x4)[_0x54c781(0xd8)](0x10)),_0x3469ba[_0x54c781(0x1ce)]((_0x3287d3&0xf)[_0x54c781(0xd8)](0x10));}return _0x3469ba[_0x54c781(0x28b)]('');},'parse':function(_0x25fd5d){var _0x86453f=_0x17a0f5;for(var _0x64689b=_0x25fd5d[_0x86453f(0x297)],_0x236b72=[],_0x164f53=0x0;_0x164f53<_0x64689b;_0x164f53+=0x2)_0x236b72[_0x164f53>>>0x3]|=parseInt(_0x25fd5d['substr'](_0x164f53,0x2),0x10)<<0x18-_0x164f53%0x8*0x4;return new _0x4c72f4[(_0x86453f(0x109))](_0x236b72,_0x64689b/0x2);}},_0x5ad634=_0xcbceb3[_0x17a0f5(0x363)]={'stringify':function(_0x5158b4){var _0x3e759c=_0x17a0f5;for(var _0x5dd529=_0x5158b4[_0x3e759c(0x1de)],_0x38a15a=_0x5158b4['sigBytes'],_0x18a177=[],_0x4213ad=0x0;_0x4213ad<_0x38a15a;_0x4213ad++){var _0x2f318a=_0x5dd529[_0x4213ad>>>0x2]>>>0x18-_0x4213ad%0x4*0x8&0xff;_0x18a177['push'](String[_0x3e759c(0xf5)](_0x2f318a));}return _0x18a177[_0x3e759c(0x28b)]('');},'parse':function(_0x59f147){var _0x398c69=_0x17a0f5;for(var _0x33f6c6=_0x59f147['length'],_0x427fe5=[],_0x4879=0x0;_0x4879<_0x33f6c6;_0x4879++)_0x427fe5[_0x4879>>>0x2]|=(_0x59f147[_0x398c69(0x2dc)](_0x4879)&0xff)<<0x18-_0x4879%0x4*0x8;return new _0x4c72f4['init'](_0x427fe5,_0x33f6c6);}},_0x4f0101=_0xcbceb3[_0x17a0f5(0x202)]={'stringify':function(_0x2e7844){var _0x44cd6b=_0x17a0f5;try{return decodeURIComponent(escape(_0x5ad634[_0x44cd6b(0x34f)](_0x2e7844)));}catch{throw new Error(_0x44cd6b(0x1a9));}},'parse':function(_0x4339c4){return _0x5ad634['parse'](unescape(encodeURIComponent(_0x4339c4)));}},_0x7d5450=_0xef1efd['BufferedBlockAlgorithm']=_0x4772c5[_0x17a0f5(0x206)]({'reset':function(){var _0x354de7=_0x17a0f5;this[_0x354de7(0x138)]=new _0x4c72f4[(_0x354de7(0x109))](),this[_0x354de7(0x2f5)]=0x0;},'_append':function(_0x335af3){var _0x406d12=_0x17a0f5;typeof _0x335af3==_0x406d12(0x262)&&(_0x335af3=_0x4f0101[_0x406d12(0x2be)](_0x335af3)),this[_0x406d12(0x138)][_0x406d12(0x23f)](_0x335af3),this[_0x406d12(0x2f5)]+=_0x335af3['sigBytes'];},'_process':function(_0x2fd0dc){var _0x10f421=_0x17a0f5,_0x7a4ec7,_0x3ca7a2=this[_0x10f421(0x138)],_0x541207=_0x3ca7a2[_0x10f421(0x1de)],_0x372112=_0x3ca7a2[_0x10f421(0x28d)],_0x40e5f7=this[_0x10f421(0x3b9)],_0x5b36c9=_0x40e5f7*0x4,_0x13f90c=_0x372112/_0x5b36c9;_0x2fd0dc?_0x13f90c=_0xd5bfe3[_0x10f421(0x28f)](_0x13f90c):_0x13f90c=_0xd5bfe3[_0x10f421(0x22a)]((_0x13f90c|0x0)-this['_minBufferSize'],0x0);var _0x501e12=_0x13f90c*_0x40e5f7,_0x18db31=_0xd5bfe3[_0x10f421(0x2ff)](_0x501e12*0x4,_0x372112);if(_0x501e12){for(var _0x5ae23a=0x0;_0x5ae23a<_0x501e12;_0x5ae23a+=_0x40e5f7)this['_doProcessBlock'](_0x541207,_0x5ae23a);_0x7a4ec7=_0x541207['splice'](0x0,_0x501e12),_0x3ca7a2[_0x10f421(0x28d)]-=_0x18db31;}return new _0x4c72f4['init'](_0x7a4ec7,_0x18db31);},'clone':function(){var _0x4e2338=_0x17a0f5,_0x54541a=_0x4772c5[_0x4e2338(0x2af)][_0x4e2338(0x361)](this);return _0x54541a[_0x4e2338(0x138)]=this['_data'][_0x4e2338(0x2af)](),_0x54541a;},'_minBufferSize':0x0});_0xef1efd[_0x17a0f5(0x1fd)]=_0x7d5450[_0x17a0f5(0x206)]({'cfg':_0x4772c5[_0x17a0f5(0x206)](),'init':function(_0x1ae579){var _0x347b68=_0x17a0f5;this[_0x347b68(0x203)]=this[_0x347b68(0x203)]['extend'](_0x1ae579),this[_0x347b68(0xb4)]();},'reset':function(){var _0x1708c6=_0x17a0f5;_0x7d5450['reset'][_0x1708c6(0x361)](this),this['_doReset']();},'update':function(_0x286ac3){var _0x676cb6=_0x17a0f5;return this['_append'](_0x286ac3),this[_0x676cb6(0x100)](),this;},'finalize':function(_0x2773ed){var _0x51ea53=_0x17a0f5;_0x2773ed&&this[_0x51ea53(0x3c8)](_0x2773ed);var _0x33fc75=this[_0x51ea53(0x3d3)]();return _0x33fc75;},'blockSize':0x10,'_createHelper':function(_0x50a1f2){return function(_0x86ff70,_0x196407){var _0x950052=_0x3736;return new _0x50a1f2[(_0x950052(0x109))](_0x196407)['finalize'](_0x86ff70);};},'_createHmacHelper':function(_0x27413b){return function(_0x49af50,_0x198862){var _0x7d7a10=_0x3736;return new _0x551d36[(_0x7d7a10(0x103))][(_0x7d7a10(0x109))](_0x27413b,_0x198862)[_0x7d7a10(0x416)](_0x49af50);};}});var _0x551d36=_0xabcd8b[_0x17a0f5(0x1df)]={};return _0xabcd8b;}(Math);return _0x23dfdc;}));}(Ie)),Ie[_0x3f61b8(0x367)];}var pe={'exports':{}},Ni=pe['exports'],Je;function yt(){var _0x7886bd=_0x2e56f0;return Je||(Je=0x1,function(_0x2d240a,_0x5bd586){(function(_0x198821,_0x464e9d){var _0x4bef25=_0x3736;_0x2d240a[_0x4bef25(0x367)]=_0x464e9d(Q());}(Ni,function(_0x3f6264){var _0x4459fc=_0x3736;return(function(){var _0x4f109f=_0x3736,_0x28a97b=_0x3f6264,_0x14a472=_0x28a97b[_0x4f109f(0x288)],_0x6a8dce=_0x14a472[_0x4f109f(0x316)],_0x9ba247=_0x28a97b['enc'];_0x9ba247[_0x4f109f(0x11c)]={'stringify':function(_0x7d19b4){var _0x3d2f84=_0x4f109f,_0x40189f=_0x7d19b4[_0x3d2f84(0x1de)],_0x45dc78=_0x7d19b4['sigBytes'],_0xc3a4a6=this[_0x3d2f84(0x162)];_0x7d19b4[_0x3d2f84(0x1d7)]();for(var _0x244c32=[],_0x1ed880=0x0;_0x1ed880<_0x45dc78;_0x1ed880+=0x3)for(var _0x5aec58=_0x40189f[_0x1ed880>>>0x2]>>>0x18-_0x1ed880%0x4*0x8&0xff,_0x472413=_0x40189f[_0x1ed880+0x1>>>0x2]>>>0x18-(_0x1ed880+0x1)%0x4*0x8&0xff,_0x17966d=_0x40189f[_0x1ed880+0x2>>>0x2]>>>0x18-(_0x1ed880+0x2)%0x4*0x8&0xff,_0x2aa305=_0x5aec58<<0x10|_0x472413<<0x8|_0x17966d,_0x230852=0x0;_0x230852<0x4&&_0x1ed880+_0x230852*0.75<_0x45dc78;_0x230852++)_0x244c32[_0x3d2f84(0x1ce)](_0xc3a4a6[_0x3d2f84(0x14c)](_0x2aa305>>>0x6*(0x3-_0x230852)&0x3f));var _0x73faf0=_0xc3a4a6[_0x3d2f84(0x14c)](0x40);if(_0x73faf0){for(;_0x244c32[_0x3d2f84(0x297)]%0x4;)_0x244c32['push'](_0x73faf0);}return _0x244c32[_0x3d2f84(0x28b)]('');},'parse':function(_0xf4360f){var _0x449bdb=_0x4f109f,_0x5bf7f3=_0xf4360f[_0x449bdb(0x297)],_0x485b77=this['_map'],_0x2a6e92=this[_0x449bdb(0x2c8)];if(!_0x2a6e92){_0x2a6e92=this[_0x449bdb(0x2c8)]=[];for(var _0x3d039a=0x0;_0x3d039a<_0x485b77[_0x449bdb(0x297)];_0x3d039a++)_0x2a6e92[_0x485b77[_0x449bdb(0x2dc)](_0x3d039a)]=_0x3d039a;}var _0x5d4f2c=_0x485b77['charAt'](0x40);if(_0x5d4f2c){var _0x41c16b=_0xf4360f[_0x449bdb(0x10d)](_0x5d4f2c);_0x41c16b!==-0x1&&(_0x5bf7f3=_0x41c16b);}return _0x58cc3c(_0xf4360f,_0x5bf7f3,_0x2a6e92);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x58cc3c(_0x11f0a4,_0x212a56,_0x503243){var _0xb76400=_0x4f109f;for(var _0x3f3515=[],_0x5ea6c6=0x0,_0x3f46df=0x0;_0x3f46df<_0x212a56;_0x3f46df++)if(_0x3f46df%0x4){var _0x3befd7=_0x503243[_0x11f0a4[_0xb76400(0x2dc)](_0x3f46df-0x1)]<<_0x3f46df%0x4*0x2,_0x549a83=_0x503243[_0x11f0a4[_0xb76400(0x2dc)](_0x3f46df)]>>>0x6-_0x3f46df%0x4*0x2,_0x4c7e19=_0x3befd7|_0x549a83;_0x3f3515[_0x5ea6c6>>>0x2]|=_0x4c7e19<<0x18-_0x5ea6c6%0x4*0x8,_0x5ea6c6++;}return _0x6a8dce[_0xb76400(0x418)](_0x3f3515,_0x5ea6c6);}}()),_0x3f6264[_0x4459fc(0x321)][_0x4459fc(0x11c)];}));}(pe)),pe[_0x7886bd(0x367)];}var ge={'exports':{}},Di=ge[_0x2e56f0(0x367)],Xe;function Ui(){var _0x48f9c1=_0x2e56f0;return Xe||(Xe=0x1,function(_0x10dd31,_0x4c7d25){(function(_0x1378a4,_0x37bbf7){var _0x4e962c=_0x3736;_0x10dd31[_0x4e962c(0x367)]=_0x37bbf7(Q());}(Di,function(_0x3d4a33){var _0x550591=_0x3736;return function(_0x1b64b3){var _0x221cbc=_0x3736,_0x3d902a=_0x3d4a33,_0x5c9701=_0x3d902a[_0x221cbc(0x288)],_0x3a9bfe=_0x5c9701['WordArray'],_0x156d23=_0x5c9701[_0x221cbc(0x1fd)],_0x3c4776=_0x3d902a[_0x221cbc(0x1df)],_0x21f41c=[];(function(){var _0x18373c=_0x221cbc;for(var _0x2ff985=0x0;_0x2ff985<0x40;_0x2ff985++)_0x21f41c[_0x2ff985]=_0x1b64b3[_0x18373c(0x319)](_0x1b64b3[_0x18373c(0x299)](_0x2ff985+0x1))*0x100000000|0x0;}());var _0x5f338b=_0x3c4776[_0x221cbc(0x2f4)]=_0x156d23[_0x221cbc(0x206)]({'_doReset':function(){var _0x36d3f1=_0x221cbc;this[_0x36d3f1(0x1e3)]=new _0x3a9bfe[(_0x36d3f1(0x109))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c1235,_0x440f92){var _0x44e4e2=_0x221cbc;for(var _0x135ccb=0x0;_0x135ccb<0x10;_0x135ccb++){var _0x397aaa=_0x440f92+_0x135ccb,_0x437cfc=_0x4c1235[_0x397aaa];_0x4c1235[_0x397aaa]=(_0x437cfc<<0x8|_0x437cfc>>>0x18)&0xff00ff|(_0x437cfc<<0x18|_0x437cfc>>>0x8)&0xff00ff00;}var _0x4b9038=this[_0x44e4e2(0x1e3)]['words'],_0xb6f891=_0x4c1235[_0x440f92+0x0],_0x113054=_0x4c1235[_0x440f92+0x1],_0x1a281b=_0x4c1235[_0x440f92+0x2],_0x3ce434=_0x4c1235[_0x440f92+0x3],_0xc5aa01=_0x4c1235[_0x440f92+0x4],_0x1619ca=_0x4c1235[_0x440f92+0x5],_0x6696bd=_0x4c1235[_0x440f92+0x6],_0x4bf175=_0x4c1235[_0x440f92+0x7],_0x425e72=_0x4c1235[_0x440f92+0x8],_0x55f73e=_0x4c1235[_0x440f92+0x9],_0x3194f1=_0x4c1235[_0x440f92+0xa],_0x201fe0=_0x4c1235[_0x440f92+0xb],_0x164eaf=_0x4c1235[_0x440f92+0xc],_0x453c4c=_0x4c1235[_0x440f92+0xd],_0xde1c8f=_0x4c1235[_0x440f92+0xe],_0x94f1dc=_0x4c1235[_0x440f92+0xf],_0x503a70=_0x4b9038[0x0],_0x44b213=_0x4b9038[0x1],_0x2bf30b=_0x4b9038[0x2],_0x45fbe5=_0x4b9038[0x3];_0x503a70=_0x30d05a(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0xb6f891,0x7,_0x21f41c[0x0]),_0x45fbe5=_0x30d05a(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x113054,0xc,_0x21f41c[0x1]),_0x2bf30b=_0x30d05a(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x1a281b,0x11,_0x21f41c[0x2]),_0x44b213=_0x30d05a(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x3ce434,0x16,_0x21f41c[0x3]),_0x503a70=_0x30d05a(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0xc5aa01,0x7,_0x21f41c[0x4]),_0x45fbe5=_0x30d05a(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x1619ca,0xc,_0x21f41c[0x5]),_0x2bf30b=_0x30d05a(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x6696bd,0x11,_0x21f41c[0x6]),_0x44b213=_0x30d05a(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x4bf175,0x16,_0x21f41c[0x7]),_0x503a70=_0x30d05a(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x425e72,0x7,_0x21f41c[0x8]),_0x45fbe5=_0x30d05a(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x55f73e,0xc,_0x21f41c[0x9]),_0x2bf30b=_0x30d05a(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x3194f1,0x11,_0x21f41c[0xa]),_0x44b213=_0x30d05a(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x201fe0,0x16,_0x21f41c[0xb]),_0x503a70=_0x30d05a(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x164eaf,0x7,_0x21f41c[0xc]),_0x45fbe5=_0x30d05a(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x453c4c,0xc,_0x21f41c[0xd]),_0x2bf30b=_0x30d05a(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0xde1c8f,0x11,_0x21f41c[0xe]),_0x44b213=_0x30d05a(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x94f1dc,0x16,_0x21f41c[0xf]),_0x503a70=_0x49ce17(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x113054,0x5,_0x21f41c[0x10]),_0x45fbe5=_0x49ce17(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x6696bd,0x9,_0x21f41c[0x11]),_0x2bf30b=_0x49ce17(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x201fe0,0xe,_0x21f41c[0x12]),_0x44b213=_0x49ce17(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0xb6f891,0x14,_0x21f41c[0x13]),_0x503a70=_0x49ce17(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x1619ca,0x5,_0x21f41c[0x14]),_0x45fbe5=_0x49ce17(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x3194f1,0x9,_0x21f41c[0x15]),_0x2bf30b=_0x49ce17(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x94f1dc,0xe,_0x21f41c[0x16]),_0x44b213=_0x49ce17(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0xc5aa01,0x14,_0x21f41c[0x17]),_0x503a70=_0x49ce17(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x55f73e,0x5,_0x21f41c[0x18]),_0x45fbe5=_0x49ce17(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0xde1c8f,0x9,_0x21f41c[0x19]),_0x2bf30b=_0x49ce17(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x3ce434,0xe,_0x21f41c[0x1a]),_0x44b213=_0x49ce17(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x425e72,0x14,_0x21f41c[0x1b]),_0x503a70=_0x49ce17(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x453c4c,0x5,_0x21f41c[0x1c]),_0x45fbe5=_0x49ce17(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x1a281b,0x9,_0x21f41c[0x1d]),_0x2bf30b=_0x49ce17(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x4bf175,0xe,_0x21f41c[0x1e]),_0x44b213=_0x49ce17(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x164eaf,0x14,_0x21f41c[0x1f]),_0x503a70=_0x5bdcee(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x1619ca,0x4,_0x21f41c[0x20]),_0x45fbe5=_0x5bdcee(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x425e72,0xb,_0x21f41c[0x21]),_0x2bf30b=_0x5bdcee(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x201fe0,0x10,_0x21f41c[0x22]),_0x44b213=_0x5bdcee(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0xde1c8f,0x17,_0x21f41c[0x23]),_0x503a70=_0x5bdcee(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x113054,0x4,_0x21f41c[0x24]),_0x45fbe5=_0x5bdcee(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0xc5aa01,0xb,_0x21f41c[0x25]),_0x2bf30b=_0x5bdcee(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x4bf175,0x10,_0x21f41c[0x26]),_0x44b213=_0x5bdcee(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x3194f1,0x17,_0x21f41c[0x27]),_0x503a70=_0x5bdcee(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x453c4c,0x4,_0x21f41c[0x28]),_0x45fbe5=_0x5bdcee(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0xb6f891,0xb,_0x21f41c[0x29]),_0x2bf30b=_0x5bdcee(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x3ce434,0x10,_0x21f41c[0x2a]),_0x44b213=_0x5bdcee(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x6696bd,0x17,_0x21f41c[0x2b]),_0x503a70=_0x5bdcee(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x55f73e,0x4,_0x21f41c[0x2c]),_0x45fbe5=_0x5bdcee(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x164eaf,0xb,_0x21f41c[0x2d]),_0x2bf30b=_0x5bdcee(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x94f1dc,0x10,_0x21f41c[0x2e]),_0x44b213=_0x5bdcee(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x1a281b,0x17,_0x21f41c[0x2f]),_0x503a70=_0x4ec3c1(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0xb6f891,0x6,_0x21f41c[0x30]),_0x45fbe5=_0x4ec3c1(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x4bf175,0xa,_0x21f41c[0x31]),_0x2bf30b=_0x4ec3c1(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0xde1c8f,0xf,_0x21f41c[0x32]),_0x44b213=_0x4ec3c1(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x1619ca,0x15,_0x21f41c[0x33]),_0x503a70=_0x4ec3c1(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x164eaf,0x6,_0x21f41c[0x34]),_0x45fbe5=_0x4ec3c1(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x3ce434,0xa,_0x21f41c[0x35]),_0x2bf30b=_0x4ec3c1(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x3194f1,0xf,_0x21f41c[0x36]),_0x44b213=_0x4ec3c1(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x113054,0x15,_0x21f41c[0x37]),_0x503a70=_0x4ec3c1(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0x425e72,0x6,_0x21f41c[0x38]),_0x45fbe5=_0x4ec3c1(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x94f1dc,0xa,_0x21f41c[0x39]),_0x2bf30b=_0x4ec3c1(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x6696bd,0xf,_0x21f41c[0x3a]),_0x44b213=_0x4ec3c1(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x453c4c,0x15,_0x21f41c[0x3b]),_0x503a70=_0x4ec3c1(_0x503a70,_0x44b213,_0x2bf30b,_0x45fbe5,_0xc5aa01,0x6,_0x21f41c[0x3c]),_0x45fbe5=_0x4ec3c1(_0x45fbe5,_0x503a70,_0x44b213,_0x2bf30b,_0x201fe0,0xa,_0x21f41c[0x3d]),_0x2bf30b=_0x4ec3c1(_0x2bf30b,_0x45fbe5,_0x503a70,_0x44b213,_0x1a281b,0xf,_0x21f41c[0x3e]),_0x44b213=_0x4ec3c1(_0x44b213,_0x2bf30b,_0x45fbe5,_0x503a70,_0x55f73e,0x15,_0x21f41c[0x3f]),_0x4b9038[0x0]=_0x4b9038[0x0]+_0x503a70|0x0,_0x4b9038[0x1]=_0x4b9038[0x1]+_0x44b213|0x0,_0x4b9038[0x2]=_0x4b9038[0x2]+_0x2bf30b|0x0,_0x4b9038[0x3]=_0x4b9038[0x3]+_0x45fbe5|0x0;},'_doFinalize':function(){var _0x441e1d=_0x221cbc,_0x444da9=this[_0x441e1d(0x138)],_0x233b75=_0x444da9[_0x441e1d(0x1de)],_0x3f8e58=this[_0x441e1d(0x2f5)]*0x8,_0x1b47be=_0x444da9[_0x441e1d(0x28d)]*0x8;_0x233b75[_0x1b47be>>>0x5]|=0x80<<0x18-_0x1b47be%0x20;var _0x1a718f=_0x1b64b3['floor'](_0x3f8e58/0x100000000),_0x1c2b86=_0x3f8e58;_0x233b75[(_0x1b47be+0x40>>>0x9<<0x4)+0xf]=(_0x1a718f<<0x8|_0x1a718f>>>0x18)&0xff00ff|(_0x1a718f<<0x18|_0x1a718f>>>0x8)&0xff00ff00,_0x233b75[(_0x1b47be+0x40>>>0x9<<0x4)+0xe]=(_0x1c2b86<<0x8|_0x1c2b86>>>0x18)&0xff00ff|(_0x1c2b86<<0x18|_0x1c2b86>>>0x8)&0xff00ff00,_0x444da9[_0x441e1d(0x28d)]=(_0x233b75[_0x441e1d(0x297)]+0x1)*0x4,this[_0x441e1d(0x100)]();for(var _0x479be9=this[_0x441e1d(0x1e3)],_0x53f11b=_0x479be9[_0x441e1d(0x1de)],_0x4e4e71=0x0;_0x4e4e71<0x4;_0x4e4e71++){var _0x15cf18=_0x53f11b[_0x4e4e71];_0x53f11b[_0x4e4e71]=(_0x15cf18<<0x8|_0x15cf18>>>0x18)&0xff00ff|(_0x15cf18<<0x18|_0x15cf18>>>0x8)&0xff00ff00;}return _0x479be9;},'clone':function(){var _0x482df2=_0x221cbc,_0xed3eb9=_0x156d23[_0x482df2(0x2af)][_0x482df2(0x361)](this);return _0xed3eb9[_0x482df2(0x1e3)]=this[_0x482df2(0x1e3)][_0x482df2(0x2af)](),_0xed3eb9;}});function _0x30d05a(_0x366da2,_0x2db01e,_0xc742b1,_0x96ba48,_0x188568,_0x1575e1,_0x5c3952){var _0x108544=_0x366da2+(_0x2db01e&_0xc742b1|~_0x2db01e&_0x96ba48)+_0x188568+_0x5c3952;return(_0x108544<<_0x1575e1|_0x108544>>>0x20-_0x1575e1)+_0x2db01e;}function _0x49ce17(_0x2311b4,_0x375db3,_0x14c72c,_0x5b9bf7,_0x52c232,_0x27e487,_0x53f900){var _0x31b05c=_0x2311b4+(_0x375db3&_0x5b9bf7|_0x14c72c&~_0x5b9bf7)+_0x52c232+_0x53f900;return(_0x31b05c<<_0x27e487|_0x31b05c>>>0x20-_0x27e487)+_0x375db3;}function _0x5bdcee(_0x1f5ba5,_0x2b66e2,_0x1dfe8f,_0x25584d,_0xbed0c7,_0x217d76,_0x18281b){var _0x5125d6=_0x1f5ba5+(_0x2b66e2^_0x1dfe8f^_0x25584d)+_0xbed0c7+_0x18281b;return(_0x5125d6<<_0x217d76|_0x5125d6>>>0x20-_0x217d76)+_0x2b66e2;}function _0x4ec3c1(_0x2572df,_0x57db76,_0x597af1,_0x48f3ca,_0x41d235,_0x32a432,_0x535e1e){var _0x2a979e=_0x2572df+(_0x597af1^(_0x57db76|~_0x48f3ca))+_0x41d235+_0x535e1e;return(_0x2a979e<<_0x32a432|_0x2a979e>>>0x20-_0x32a432)+_0x57db76;}_0x3d902a[_0x221cbc(0x2f4)]=_0x156d23[_0x221cbc(0x1e5)](_0x5f338b),_0x3d902a['HmacMD5']=_0x156d23[_0x221cbc(0x3f9)](_0x5f338b);}(Math),_0x3d4a33[_0x550591(0x2f4)];}));}(ge)),ge[_0x48f9c1(0x367)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x2e56f0(0x367)],Ze;function Pi(){var _0x2e4200=_0x2e56f0;return Ze||(Ze=0x1,function(_0x2cddf7,_0x4d5c99){(function(_0x5b0407,_0x82a815){var _0x2a40ca=_0x3736;_0x2cddf7[_0x2a40ca(0x367)]=_0x82a815(Q());}(Ai,function(_0x198c48){var _0x1bc724=_0x3736;return(function(){var _0x38a3d1=_0x3736,_0x2857a0=_0x198c48,_0x216bdb=_0x2857a0[_0x38a3d1(0x288)],_0x3baced=_0x216bdb[_0x38a3d1(0x316)],_0x25ed35=_0x216bdb['Hasher'],_0x5d58bc=_0x2857a0[_0x38a3d1(0x1df)],_0x3a1a5e=[],_0x3978b6=_0x5d58bc[_0x38a3d1(0x3ef)]=_0x25ed35['extend']({'_doReset':function(){var _0x5bf824=_0x38a3d1;this[_0x5bf824(0x1e3)]=new _0x3baced[(_0x5bf824(0x109))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d30e5,_0x25619a){var _0x28bb92=_0x38a3d1;for(var _0x1fd84b=this[_0x28bb92(0x1e3)][_0x28bb92(0x1de)],_0x1ca4a5=_0x1fd84b[0x0],_0x33d282=_0x1fd84b[0x1],_0x3807f4=_0x1fd84b[0x2],_0x6e9761=_0x1fd84b[0x3],_0x4ecf8d=_0x1fd84b[0x4],_0x1fa135=0x0;_0x1fa135<0x50;_0x1fa135++){if(_0x1fa135<0x10)_0x3a1a5e[_0x1fa135]=_0x1d30e5[_0x25619a+_0x1fa135]|0x0;else{var _0x2a6d69=_0x3a1a5e[_0x1fa135-0x3]^_0x3a1a5e[_0x1fa135-0x8]^_0x3a1a5e[_0x1fa135-0xe]^_0x3a1a5e[_0x1fa135-0x10];_0x3a1a5e[_0x1fa135]=_0x2a6d69<<0x1|_0x2a6d69>>>0x1f;}var _0x44de18=(_0x1ca4a5<<0x5|_0x1ca4a5>>>0x1b)+_0x4ecf8d+_0x3a1a5e[_0x1fa135];_0x1fa135<0x14?_0x44de18+=(_0x33d282&_0x3807f4|~_0x33d282&_0x6e9761)+0x5a827999:_0x1fa135<0x28?_0x44de18+=(_0x33d282^_0x3807f4^_0x6e9761)+0x6ed9eba1:_0x1fa135<0x3c?_0x44de18+=(_0x33d282&_0x3807f4|_0x33d282&_0x6e9761|_0x3807f4&_0x6e9761)-0x70e44324:_0x44de18+=(_0x33d282^_0x3807f4^_0x6e9761)-0x359d3e2a,_0x4ecf8d=_0x6e9761,_0x6e9761=_0x3807f4,_0x3807f4=_0x33d282<<0x1e|_0x33d282>>>0x2,_0x33d282=_0x1ca4a5,_0x1ca4a5=_0x44de18;}_0x1fd84b[0x0]=_0x1fd84b[0x0]+_0x1ca4a5|0x0,_0x1fd84b[0x1]=_0x1fd84b[0x1]+_0x33d282|0x0,_0x1fd84b[0x2]=_0x1fd84b[0x2]+_0x3807f4|0x0,_0x1fd84b[0x3]=_0x1fd84b[0x3]+_0x6e9761|0x0,_0x1fd84b[0x4]=_0x1fd84b[0x4]+_0x4ecf8d|0x0;},'_doFinalize':function(){var _0x27aa8d=_0x38a3d1,_0x2a8f62=this[_0x27aa8d(0x138)],_0x248695=_0x2a8f62[_0x27aa8d(0x1de)],_0x134c10=this[_0x27aa8d(0x2f5)]*0x8,_0x5485a4=_0x2a8f62[_0x27aa8d(0x28d)]*0x8;return _0x248695[_0x5485a4>>>0x5]|=0x80<<0x18-_0x5485a4%0x20,_0x248695[(_0x5485a4+0x40>>>0x9<<0x4)+0xe]=Math[_0x27aa8d(0x13e)](_0x134c10/0x100000000),_0x248695[(_0x5485a4+0x40>>>0x9<<0x4)+0xf]=_0x134c10,_0x2a8f62['sigBytes']=_0x248695['length']*0x4,this[_0x27aa8d(0x100)](),this[_0x27aa8d(0x1e3)];},'clone':function(){var _0x5f3b84=_0x38a3d1,_0x436874=_0x25ed35[_0x5f3b84(0x2af)][_0x5f3b84(0x361)](this);return _0x436874['_hash']=this[_0x5f3b84(0x1e3)][_0x5f3b84(0x2af)](),_0x436874;}});_0x2857a0[_0x38a3d1(0x3ef)]=_0x25ed35[_0x38a3d1(0x1e5)](_0x3978b6),_0x2857a0[_0x38a3d1(0x2ac)]=_0x25ed35[_0x38a3d1(0x3f9)](_0x3978b6);}()),_0x198c48[_0x1bc724(0x3ef)];}));}(me)),me[_0x2e4200(0x367)];}var Ce={'exports':{}},Li=Ce[_0x2e56f0(0x367)],Qe;function wi(){var _0x4b227b=_0x2e56f0;return Qe||(Qe=0x1,function(_0xa33137,_0x214ad1){(function(_0x14c324,_0x30c2d1){var _0x475084=_0x3736;_0xa33137[_0x475084(0x367)]=_0x30c2d1(Q());}(Li,function(_0x19d26a){(function(){var _0x561949=_0x3736,_0x1ef4d2=_0x19d26a,_0xa18b72=_0x1ef4d2['lib'],_0x20d4e9=_0xa18b72['Base'],_0x5aaf7c=_0x1ef4d2[_0x561949(0x321)],_0x592f8d=_0x5aaf7c[_0x561949(0x202)],_0x49205b=_0x1ef4d2['algo'];_0x49205b[_0x561949(0x103)]=_0x20d4e9[_0x561949(0x206)]({'init':function(_0x34f716,_0x4f1c56){var _0x544a68=_0x561949;_0x34f716=this[_0x544a68(0x116)]=new _0x34f716[(_0x544a68(0x109))](),typeof _0x4f1c56=='string'&&(_0x4f1c56=_0x592f8d['parse'](_0x4f1c56));var _0x13ab02=_0x34f716[_0x544a68(0x3b9)],_0x4e7b24=_0x13ab02*0x4;_0x4f1c56['sigBytes']>_0x4e7b24&&(_0x4f1c56=_0x34f716['finalize'](_0x4f1c56)),_0x4f1c56[_0x544a68(0x1d7)]();for(var _0x1b78f6=this[_0x544a68(0x118)]=_0x4f1c56[_0x544a68(0x2af)](),_0x55ea83=this[_0x544a68(0x395)]=_0x4f1c56['clone'](),_0xada663=_0x1b78f6[_0x544a68(0x1de)],_0x1f38aa=_0x55ea83[_0x544a68(0x1de)],_0x32a964=0x0;_0x32a964<_0x13ab02;_0x32a964++)_0xada663[_0x32a964]^=0x5c5c5c5c,_0x1f38aa[_0x32a964]^=0x36363636;_0x1b78f6[_0x544a68(0x28d)]=_0x55ea83[_0x544a68(0x28d)]=_0x4e7b24,this[_0x544a68(0xb4)]();},'reset':function(){var _0x585b6a=_0x561949,_0x489dcf=this[_0x585b6a(0x116)];_0x489dcf[_0x585b6a(0xb4)](),_0x489dcf[_0x585b6a(0x2d6)](this[_0x585b6a(0x395)]);},'update':function(_0x1be2ef){var _0x224824=_0x561949;return this['_hasher'][_0x224824(0x2d6)](_0x1be2ef),this;},'finalize':function(_0x5b2b2e){var _0x382352=_0x561949,_0x2fb821=this[_0x382352(0x116)],_0x10df83=_0x2fb821[_0x382352(0x416)](_0x5b2b2e);_0x2fb821[_0x382352(0xb4)]();var _0x33322b=_0x2fb821['finalize'](this[_0x382352(0x118)][_0x382352(0x2af)]()[_0x382352(0x23f)](_0x10df83));return _0x33322b;}});}());}));}(Ce)),Ce[_0x4b227b(0x367)];}var Mi=Ee[_0x2e56f0(0x367)],et;function Nt(){var _0x291329=_0x2e56f0;return et||(et=0x1,function(_0x298e7b,_0xd828){(function(_0x5e0e52,_0x2d84ab,_0x2bb22a){var _0x52bc0=_0x3736;_0x298e7b[_0x52bc0(0x367)]=_0x2d84ab(Q(),Pi(),wi());}(Mi,function(_0x502eef){var _0x3aa687=_0x3736;return(function(){var _0x1f3cd7=_0x3736,_0x3021c6=_0x502eef,_0x11a2b1=_0x3021c6['lib'],_0x57522f=_0x11a2b1[_0x1f3cd7(0x295)],_0x474c14=_0x11a2b1[_0x1f3cd7(0x316)],_0x3d320e=_0x3021c6['algo'],_0x8997fd=_0x3d320e[_0x1f3cd7(0x2f4)],_0x55209b=_0x3d320e[_0x1f3cd7(0x2d2)]=_0x57522f[_0x1f3cd7(0x206)]({'cfg':_0x57522f['extend']({'keySize':0x80/0x20,'hasher':_0x8997fd,'iterations':0x1}),'init':function(_0x202e46){var _0x4fa189=_0x1f3cd7;this['cfg']=this[_0x4fa189(0x203)]['extend'](_0x202e46);},'compute':function(_0x2fad0c,_0x4a5cb3){var _0x16c5ec=_0x1f3cd7;for(var _0x183824,_0x34fca6=this[_0x16c5ec(0x203)],_0x36147c=_0x34fca6[_0x16c5ec(0xf4)]['create'](),_0x5e882d=_0x474c14[_0x16c5ec(0x418)](),_0x5ad8cf=_0x5e882d[_0x16c5ec(0x1de)],_0x281b64=_0x34fca6[_0x16c5ec(0x3eb)],_0x1b7510=_0x34fca6[_0x16c5ec(0x2a5)];_0x5ad8cf[_0x16c5ec(0x297)]<_0x281b64;){_0x183824&&_0x36147c[_0x16c5ec(0x2d6)](_0x183824),_0x183824=_0x36147c[_0x16c5ec(0x2d6)](_0x2fad0c)[_0x16c5ec(0x416)](_0x4a5cb3),_0x36147c[_0x16c5ec(0xb4)]();for(var _0x475bf4=0x1;_0x475bf4<_0x1b7510;_0x475bf4++)_0x183824=_0x36147c[_0x16c5ec(0x416)](_0x183824),_0x36147c[_0x16c5ec(0xb4)]();_0x5e882d[_0x16c5ec(0x23f)](_0x183824);}return _0x5e882d[_0x16c5ec(0x28d)]=_0x281b64*0x4,_0x5e882d;}});_0x3021c6[_0x1f3cd7(0x2d2)]=function(_0x46c715,_0xe340ba,_0x31cca0){var _0x23b318=_0x1f3cd7;return _0x55209b['create'](_0x31cca0)[_0x23b318(0x13f)](_0x46c715,_0xe340ba);};}()),_0x502eef[_0x3aa687(0x2d2)];}));}(Ee)),Ee[_0x291329(0x367)];}var Te={'exports':{}},xi=Te[_0x2e56f0(0x367)],tt;function Dt(){return tt||(tt=0x1,function(_0x112035,_0x11e563){(function(_0xf4d53,_0x252220,_0x435476){var _0x4e087f=_0x3736;_0x112035[_0x4e087f(0x367)]=_0x252220(Q(),Nt());}(xi,function(_0x579fa0){var _0xfb2759=_0x3736;_0x579fa0[_0xfb2759(0x288)]['Cipher']||function(_0x379b6a){var _0x565696=_0xfb2759,_0x21f0e1=_0x579fa0,_0x17f047=_0x21f0e1['lib'],_0x2c979d=_0x17f047['Base'],_0x37582c=_0x17f047[_0x565696(0x316)],_0x4810f5=_0x17f047[_0x565696(0xc3)],_0x45739d=_0x21f0e1[_0x565696(0x321)];_0x45739d[_0x565696(0x202)];var _0x5e4a21=_0x45739d[_0x565696(0x11c)],_0x4528aa=_0x21f0e1[_0x565696(0x1df)],_0x2a77f8=_0x4528aa[_0x565696(0x2d2)],_0x2d6fe2=_0x17f047[_0x565696(0xaa)]=_0x4810f5[_0x565696(0x206)]({'cfg':_0x2c979d['extend'](),'createEncryptor':function(_0x2f08c0,_0x598f0){var _0x1ad49d=_0x565696;return this[_0x1ad49d(0x418)](this['_ENC_XFORM_MODE'],_0x2f08c0,_0x598f0);},'createDecryptor':function(_0x527a19,_0x580d06){var _0x427b31=_0x565696;return this[_0x427b31(0x418)](this[_0x427b31(0xc2)],_0x527a19,_0x580d06);},'init':function(_0x1b1db5,_0x27eb10,_0x44533f){var _0x573ca7=_0x565696;this['cfg']=this[_0x573ca7(0x203)][_0x573ca7(0x206)](_0x44533f),this['_xformMode']=_0x1b1db5,this['_key']=_0x27eb10,this[_0x573ca7(0xb4)]();},'reset':function(){var _0x4b53fa=_0x565696;_0x4810f5[_0x4b53fa(0xb4)][_0x4b53fa(0x361)](this),this[_0x4b53fa(0x16c)]();},'process':function(_0x1e121f){var _0x10a9e9=_0x565696;return this[_0x10a9e9(0x3c8)](_0x1e121f),this['_process']();},'finalize':function(_0xf2cd2f){var _0x1a39e5=_0x565696;_0xf2cd2f&&this[_0x1a39e5(0x3c8)](_0xf2cd2f);var _0x52a5a3=this['_doFinalize']();return _0x52a5a3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd739c5(_0x50fee3){var _0x39936f=_0x3736;return typeof _0x50fee3==_0x39936f(0x262)?_0x315201:_0x2a4169;}return function(_0x112e32){return{'encrypt':function(_0x43e5ab,_0x103c64,_0x38f5c4){var _0x2fb73c=_0x3736;return _0xd739c5(_0x103c64)[_0x2fb73c(0x1d8)](_0x112e32,_0x43e5ab,_0x103c64,_0x38f5c4);},'decrypt':function(_0x4d1f03,_0x6e77db,_0x3dc50e){var _0x3cfe5b=_0x3736;return _0xd739c5(_0x6e77db)[_0x3cfe5b(0x307)](_0x112e32,_0x4d1f03,_0x6e77db,_0x3dc50e);}};};}())});_0x17f047[_0x565696(0x24f)]=_0x2d6fe2[_0x565696(0x206)]({'_doFinalize':function(){var _0x4ca646=_0x565696,_0x41dd11=this[_0x4ca646(0x100)](!0x0);return _0x41dd11;},'blockSize':0x1});var _0x402720=_0x21f0e1[_0x565696(0x20b)]={},_0x365b75=_0x17f047[_0x565696(0x300)]=_0x2c979d['extend']({'createEncryptor':function(_0x55ace7,_0xeccdfa){var _0x3763f7=_0x565696;return this[_0x3763f7(0x409)][_0x3763f7(0x418)](_0x55ace7,_0xeccdfa);},'createDecryptor':function(_0x5ee113,_0x1addac){var _0x3a272c=_0x565696;return this[_0x3a272c(0xb5)][_0x3a272c(0x418)](_0x5ee113,_0x1addac);},'init':function(_0x1e8543,_0x103fb8){var _0x57c519=_0x565696;this['_cipher']=_0x1e8543,this[_0x57c519(0x27c)]=_0x103fb8;}}),_0x2f2d7a=_0x402720[_0x565696(0x3b7)]=(function(){var _0x41fd14=_0x565696,_0x1b5383=_0x365b75[_0x41fd14(0x206)]();_0x1b5383['Encryptor']=_0x1b5383[_0x41fd14(0x206)]({'processBlock':function(_0x7494c,_0x301894){var _0x2dc248=_0x41fd14,_0x53b214=this[_0x2dc248(0x2d0)],_0x5d1875=_0x53b214['blockSize'];_0x231645[_0x2dc248(0x361)](this,_0x7494c,_0x301894,_0x5d1875),_0x53b214[_0x2dc248(0x3c5)](_0x7494c,_0x301894),this['_prevBlock']=_0x7494c[_0x2dc248(0x232)](_0x301894,_0x301894+_0x5d1875);}}),_0x1b5383[_0x41fd14(0xb5)]=_0x1b5383['extend']({'processBlock':function(_0xb39db4,_0x5c6d73){var _0x21c070=_0x41fd14,_0x4e0178=this[_0x21c070(0x2d0)],_0x2a680f=_0x4e0178[_0x21c070(0x3b9)],_0x1333ec=_0xb39db4[_0x21c070(0x232)](_0x5c6d73,_0x5c6d73+_0x2a680f);_0x4e0178[_0x21c070(0x237)](_0xb39db4,_0x5c6d73),_0x231645['call'](this,_0xb39db4,_0x5c6d73,_0x2a680f),this[_0x21c070(0x376)]=_0x1333ec;}});function _0x231645(_0x408232,_0x5a2174,_0x4266e1){var _0x244dc0=_0x41fd14,_0x5a129b,_0x111fdc=this[_0x244dc0(0x27c)];_0x111fdc?(_0x5a129b=_0x111fdc,this[_0x244dc0(0x27c)]=_0x379b6a):_0x5a129b=this['_prevBlock'];for(var _0x2b5988=0x0;_0x2b5988<_0x4266e1;_0x2b5988++)_0x408232[_0x5a2174+_0x2b5988]^=_0x5a129b[_0x2b5988];}return _0x1b5383;}()),_0x3a5b6a=_0x21f0e1[_0x565696(0x272)]={},_0x52f8b6=_0x3a5b6a['Pkcs7']={'pad':function(_0x44c037,_0x4df522){var _0x3b8800=_0x565696;for(var _0x4fefe2=_0x4df522*0x4,_0x485c07=_0x4fefe2-_0x44c037[_0x3b8800(0x28d)]%_0x4fefe2,_0x25b90d=_0x485c07<<0x18|_0x485c07<<0x10|_0x485c07<<0x8|_0x485c07,_0x537bc9=[],_0x3649a5=0x0;_0x3649a5<_0x485c07;_0x3649a5+=0x4)_0x537bc9['push'](_0x25b90d);var _0x2ff66e=_0x37582c['create'](_0x537bc9,_0x485c07);_0x44c037['concat'](_0x2ff66e);},'unpad':function(_0x3066d4){var _0x28dec4=_0x565696,_0x3e3cc7=_0x3066d4[_0x28dec4(0x1de)][_0x3066d4[_0x28dec4(0x28d)]-0x1>>>0x2]&0xff;_0x3066d4['sigBytes']-=_0x3e3cc7;}};_0x17f047[_0x565696(0x1cd)]=_0x2d6fe2[_0x565696(0x206)]({'cfg':_0x2d6fe2['cfg'][_0x565696(0x206)]({'mode':_0x2f2d7a,'padding':_0x52f8b6}),'reset':function(){var _0x41749e=_0x565696,_0x429385;_0x2d6fe2['reset'][_0x41749e(0x361)](this);var _0x558bd9=this[_0x41749e(0x203)],_0x520cda=_0x558bd9['iv'],_0x44ebe9=_0x558bd9[_0x41749e(0x20b)];this[_0x41749e(0x173)]==this[_0x41749e(0x3c1)]?_0x429385=_0x44ebe9[_0x41749e(0x3ea)]:(_0x429385=_0x44ebe9[_0x41749e(0xb1)],this['_minBufferSize']=0x1),this[_0x41749e(0x17d)]&&this['_mode'][_0x41749e(0x260)]==_0x429385?this['_mode'][_0x41749e(0x109)](this,_0x520cda&&_0x520cda[_0x41749e(0x1de)]):(this['_mode']=_0x429385[_0x41749e(0x361)](_0x44ebe9,this,_0x520cda&&_0x520cda[_0x41749e(0x1de)]),this['_mode']['__creator']=_0x429385);},'_doProcessBlock':function(_0x5a53c7,_0x3d238b){var _0x4aec71=_0x565696;this[_0x4aec71(0x17d)][_0x4aec71(0x285)](_0x5a53c7,_0x3d238b);},'_doFinalize':function(){var _0x29c844=_0x565696,_0x3a7c39,_0x30c103=this[_0x29c844(0x203)][_0x29c844(0xe2)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x30c103[_0x29c844(0x272)](this[_0x29c844(0x138)],this[_0x29c844(0x3b9)]),_0x3a7c39=this[_0x29c844(0x100)](!0x0)):(_0x3a7c39=this[_0x29c844(0x100)](!0x0),_0x30c103['unpad'](_0x3a7c39)),_0x3a7c39;},'blockSize':0x80/0x20});var _0x329667=_0x17f047[_0x565696(0x1f8)]=_0x2c979d[_0x565696(0x206)]({'init':function(_0x31227d){var _0x4509f0=_0x565696;this[_0x4509f0(0x18a)](_0x31227d);},'toString':function(_0x57916a){var _0x5a3bcd=_0x565696;return(_0x57916a||this['formatter'])[_0x5a3bcd(0x34f)](this);}}),_0x3457e9=_0x21f0e1['format']={},_0x4fee8c=_0x3457e9['OpenSSL']={'stringify':function(_0x3ba6cf){var _0x358b30=_0x565696,_0x1294a7,_0x521e7b=_0x3ba6cf['ciphertext'],_0x5bdc63=_0x3ba6cf['salt'];return _0x5bdc63?_0x1294a7=_0x37582c[_0x358b30(0x418)]([0x53616c74,0x65645f5f])['concat'](_0x5bdc63)['concat'](_0x521e7b):_0x1294a7=_0x521e7b,_0x1294a7[_0x358b30(0xd8)](_0x5e4a21);},'parse':function(_0x56094c){var _0x41d17c=_0x565696,_0x50be19,_0x4a8727=_0x5e4a21[_0x41d17c(0x2be)](_0x56094c),_0x45ea27=_0x4a8727[_0x41d17c(0x1de)];return _0x45ea27[0x0]==0x53616c74&&_0x45ea27[0x1]==0x65645f5f&&(_0x50be19=_0x37582c[_0x41d17c(0x418)](_0x45ea27['slice'](0x2,0x4)),_0x45ea27[_0x41d17c(0x2ce)](0x0,0x4),_0x4a8727[_0x41d17c(0x28d)]-=0x10),_0x329667['create']({'ciphertext':_0x4a8727,'salt':_0x50be19});}},_0x2a4169=_0x17f047[_0x565696(0xcf)]=_0x2c979d[_0x565696(0x206)]({'cfg':_0x2c979d[_0x565696(0x206)]({'format':_0x4fee8c}),'encrypt':function(_0x4d4e9b,_0x2ad615,_0x40d353,_0x59248e){var _0x162a8d=_0x565696;_0x59248e=this[_0x162a8d(0x203)][_0x162a8d(0x206)](_0x59248e);var _0x294455=_0x4d4e9b[_0x162a8d(0x3ea)](_0x40d353,_0x59248e),_0x196637=_0x294455[_0x162a8d(0x416)](_0x2ad615),_0x3b4e7a=_0x294455[_0x162a8d(0x203)];return _0x329667[_0x162a8d(0x418)]({'ciphertext':_0x196637,'key':_0x40d353,'iv':_0x3b4e7a['iv'],'algorithm':_0x4d4e9b,'mode':_0x3b4e7a['mode'],'padding':_0x3b4e7a[_0x162a8d(0xe2)],'blockSize':_0x4d4e9b[_0x162a8d(0x3b9)],'formatter':_0x59248e[_0x162a8d(0x152)]});},'decrypt':function(_0x555e27,_0x617996,_0x1a6725,_0x20f5ca){var _0x526907=_0x565696;_0x20f5ca=this['cfg'][_0x526907(0x206)](_0x20f5ca),_0x617996=this[_0x526907(0xf1)](_0x617996,_0x20f5ca['format']);var _0x4ca1d0=_0x555e27['createDecryptor'](_0x1a6725,_0x20f5ca)['finalize'](_0x617996[_0x526907(0xa2)]);return _0x4ca1d0;},'_parse':function(_0x2664ea,_0x4779b7){var _0x11ae8b=_0x565696;return typeof _0x2664ea==_0x11ae8b(0x262)?_0x4779b7[_0x11ae8b(0x2be)](_0x2664ea,this):_0x2664ea;}}),_0x5145f1=_0x21f0e1[_0x565696(0x37a)]={},_0x233da8=_0x5145f1[_0x565696(0x40a)]={'execute':function(_0x206f96,_0x33b753,_0x34b6b0,_0x196475,_0x4751a5){var _0x1e8a1d=_0x565696;if(_0x196475||(_0x196475=_0x37582c['random'](0x40/0x8)),_0x4751a5)var _0x48ba83=_0x2a77f8[_0x1e8a1d(0x418)]({'keySize':_0x33b753+_0x34b6b0,'hasher':_0x4751a5})[_0x1e8a1d(0x13f)](_0x206f96,_0x196475);else var _0x48ba83=_0x2a77f8[_0x1e8a1d(0x418)]({'keySize':_0x33b753+_0x34b6b0})[_0x1e8a1d(0x13f)](_0x206f96,_0x196475);var _0x5a28bd=_0x37582c[_0x1e8a1d(0x418)](_0x48ba83[_0x1e8a1d(0x1de)]['slice'](_0x33b753),_0x34b6b0*0x4);return _0x48ba83[_0x1e8a1d(0x28d)]=_0x33b753*0x4,_0x329667[_0x1e8a1d(0x418)]({'key':_0x48ba83,'iv':_0x5a28bd,'salt':_0x196475});}},_0x315201=_0x17f047['PasswordBasedCipher']=_0x2a4169[_0x565696(0x206)]({'cfg':_0x2a4169[_0x565696(0x203)][_0x565696(0x206)]({'kdf':_0x233da8}),'encrypt':function(_0x36b8bf,_0x46f0a1,_0x2de0f1,_0x5ab7ab){var _0x1748d1=_0x565696;_0x5ab7ab=this[_0x1748d1(0x203)][_0x1748d1(0x206)](_0x5ab7ab);var _0x26effd=_0x5ab7ab['kdf']['execute'](_0x2de0f1,_0x36b8bf[_0x1748d1(0x3eb)],_0x36b8bf['ivSize'],_0x5ab7ab[_0x1748d1(0x335)],_0x5ab7ab[_0x1748d1(0xf4)]);_0x5ab7ab['iv']=_0x26effd['iv'];var _0x52101c=_0x2a4169[_0x1748d1(0x1d8)]['call'](this,_0x36b8bf,_0x46f0a1,_0x26effd[_0x1748d1(0x147)],_0x5ab7ab);return _0x52101c[_0x1748d1(0x18a)](_0x26effd),_0x52101c;},'decrypt':function(_0x2b26c9,_0x47f6f4,_0x430595,_0x201f7a){var _0xcbee05=_0x565696;_0x201f7a=this[_0xcbee05(0x203)][_0xcbee05(0x206)](_0x201f7a),_0x47f6f4=this['_parse'](_0x47f6f4,_0x201f7a[_0xcbee05(0x152)]);var _0x4decaa=_0x201f7a['kdf'][_0xcbee05(0x19e)](_0x430595,_0x2b26c9[_0xcbee05(0x3eb)],_0x2b26c9[_0xcbee05(0x150)],_0x47f6f4[_0xcbee05(0x335)],_0x201f7a[_0xcbee05(0xf4)]);_0x201f7a['iv']=_0x4decaa['iv'];var _0x2db32e=_0x2a4169['decrypt'][_0xcbee05(0x361)](this,_0x2b26c9,_0x47f6f4,_0x4decaa[_0xcbee05(0x147)],_0x201f7a);return _0x2db32e;}});}();}));}(Te)),Te['exports'];}var ki=fe['exports'],it;function Hi(){var _0x2484fb=_0x2e56f0;return it||(it=0x1,function(_0x19af71,_0x3853d1){(function(_0x4adcd9,_0x1dfc63,_0x661e0b){var _0x1e4244=_0x3736;_0x19af71[_0x1e4244(0x367)]=_0x1dfc63(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x838615){return(function(){var _0x237ed5=_0x3736,_0x144abc=_0x838615,_0x154dd0=_0x144abc[_0x237ed5(0x288)],_0x2fc37d=_0x154dd0[_0x237ed5(0x1cd)],_0x55f33c=_0x144abc['algo'],_0x324a05=[],_0x4c577e=[],_0x251c2e=[],_0x849ea2=[],_0x5830fc=[],_0x5a059e=[],_0x3ef99d=[],_0x84a547=[],_0x3b62bb=[],_0x544705=[];(function(){for(var _0x1f77a2=[],_0xd0e2d8=0x0;_0xd0e2d8<0x100;_0xd0e2d8++)_0xd0e2d8<0x80?_0x1f77a2[_0xd0e2d8]=_0xd0e2d8<<0x1:_0x1f77a2[_0xd0e2d8]=_0xd0e2d8<<0x1^0x11b;for(var _0x14d507=0x0,_0x3b90f4=0x0,_0xd0e2d8=0x0;_0xd0e2d8<0x100;_0xd0e2d8++){var _0x155a08=_0x3b90f4^_0x3b90f4<<0x1^_0x3b90f4<<0x2^_0x3b90f4<<0x3^_0x3b90f4<<0x4;_0x155a08=_0x155a08>>>0x8^_0x155a08&0xff^0x63,_0x324a05[_0x14d507]=_0x155a08,_0x4c577e[_0x155a08]=_0x14d507;var _0xe4add9=_0x1f77a2[_0x14d507],_0x2acd40=_0x1f77a2[_0xe4add9],_0x1aecb1=_0x1f77a2[_0x2acd40],_0x47413a=_0x1f77a2[_0x155a08]*0x101^_0x155a08*0x1010100;_0x251c2e[_0x14d507]=_0x47413a<<0x18|_0x47413a>>>0x8,_0x849ea2[_0x14d507]=_0x47413a<<0x10|_0x47413a>>>0x10,_0x5830fc[_0x14d507]=_0x47413a<<0x8|_0x47413a>>>0x18,_0x5a059e[_0x14d507]=_0x47413a;var _0x47413a=_0x1aecb1*0x1010101^_0x2acd40*0x10001^_0xe4add9*0x101^_0x14d507*0x1010100;_0x3ef99d[_0x155a08]=_0x47413a<<0x18|_0x47413a>>>0x8,_0x84a547[_0x155a08]=_0x47413a<<0x10|_0x47413a>>>0x10,_0x3b62bb[_0x155a08]=_0x47413a<<0x8|_0x47413a>>>0x18,_0x544705[_0x155a08]=_0x47413a,_0x14d507?(_0x14d507=_0xe4add9^_0x1f77a2[_0x1f77a2[_0x1f77a2[_0x1aecb1^_0xe4add9]]],_0x3b90f4^=_0x1f77a2[_0x1f77a2[_0x3b90f4]]):_0x14d507=_0x3b90f4=0x1;}}());var _0x41fda0=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x465427=_0x55f33c[_0x237ed5(0x234)]=_0x2fc37d[_0x237ed5(0x206)]({'_doReset':function(){var _0x494212=_0x237ed5,_0x31092b;if(!(this[_0x494212(0x140)]&&this[_0x494212(0x15a)]===this[_0x494212(0x342)])){for(var _0x162efe=this[_0x494212(0x15a)]=this[_0x494212(0x342)],_0x490a39=_0x162efe[_0x494212(0x1de)],_0x706465=_0x162efe[_0x494212(0x28d)]/0x4,_0x1681e6=this['_nRounds']=_0x706465+0x6,_0x78a79a=(_0x1681e6+0x1)*0x4,_0xbf28f6=this['_keySchedule']=[],_0x340182=0x0;_0x340182<_0x78a79a;_0x340182++)_0x340182<_0x706465?_0xbf28f6[_0x340182]=_0x490a39[_0x340182]:(_0x31092b=_0xbf28f6[_0x340182-0x1],_0x340182%_0x706465?_0x706465>0x6&&_0x340182%_0x706465==0x4&&(_0x31092b=_0x324a05[_0x31092b>>>0x18]<<0x18|_0x324a05[_0x31092b>>>0x10&0xff]<<0x10|_0x324a05[_0x31092b>>>0x8&0xff]<<0x8|_0x324a05[_0x31092b&0xff]):(_0x31092b=_0x31092b<<0x8|_0x31092b>>>0x18,_0x31092b=_0x324a05[_0x31092b>>>0x18]<<0x18|_0x324a05[_0x31092b>>>0x10&0xff]<<0x10|_0x324a05[_0x31092b>>>0x8&0xff]<<0x8|_0x324a05[_0x31092b&0xff],_0x31092b^=_0x41fda0[_0x340182/_0x706465|0x0]<<0x18),_0xbf28f6[_0x340182]=_0xbf28f6[_0x340182-_0x706465]^_0x31092b);for(var _0x58d5d5=this[_0x494212(0xfd)]=[],_0x4fa13c=0x0;_0x4fa13c<_0x78a79a;_0x4fa13c++){var _0x340182=_0x78a79a-_0x4fa13c;if(_0x4fa13c%0x4)var _0x31092b=_0xbf28f6[_0x340182];else var _0x31092b=_0xbf28f6[_0x340182-0x4];_0x4fa13c<0x4||_0x340182<=0x4?_0x58d5d5[_0x4fa13c]=_0x31092b:_0x58d5d5[_0x4fa13c]=_0x3ef99d[_0x324a05[_0x31092b>>>0x18]]^_0x84a547[_0x324a05[_0x31092b>>>0x10&0xff]]^_0x3b62bb[_0x324a05[_0x31092b>>>0x8&0xff]]^_0x544705[_0x324a05[_0x31092b&0xff]];}}},'encryptBlock':function(_0x278e72,_0x566dee){var _0x309802=_0x237ed5;this[_0x309802(0x35f)](_0x278e72,_0x566dee,this[_0x309802(0x16f)],_0x251c2e,_0x849ea2,_0x5830fc,_0x5a059e,_0x324a05);},'decryptBlock':function(_0x162433,_0x30028a){var _0x7bbab8=_0x237ed5,_0x26a385=_0x162433[_0x30028a+0x1];_0x162433[_0x30028a+0x1]=_0x162433[_0x30028a+0x3],_0x162433[_0x30028a+0x3]=_0x26a385,this[_0x7bbab8(0x35f)](_0x162433,_0x30028a,this[_0x7bbab8(0xfd)],_0x3ef99d,_0x84a547,_0x3b62bb,_0x544705,_0x4c577e);var _0x26a385=_0x162433[_0x30028a+0x1];_0x162433[_0x30028a+0x1]=_0x162433[_0x30028a+0x3],_0x162433[_0x30028a+0x3]=_0x26a385;},'_doCryptBlock':function(_0x4d7ae4,_0x335dae,_0x582821,_0x4dd090,_0xb502c3,_0x3d1ae8,_0x2c1f4a,_0x3e4ee9){var _0x1840f9=_0x237ed5;for(var _0x3470bd=this[_0x1840f9(0x140)],_0x144693=_0x4d7ae4[_0x335dae]^_0x582821[0x0],_0x1b85b4=_0x4d7ae4[_0x335dae+0x1]^_0x582821[0x1],_0x43fc69=_0x4d7ae4[_0x335dae+0x2]^_0x582821[0x2],_0x299d6f=_0x4d7ae4[_0x335dae+0x3]^_0x582821[0x3],_0x6e7276=0x4,_0x5c5912=0x1;_0x5c5912<_0x3470bd;_0x5c5912++){var _0x3d0dff=_0x4dd090[_0x144693>>>0x18]^_0xb502c3[_0x1b85b4>>>0x10&0xff]^_0x3d1ae8[_0x43fc69>>>0x8&0xff]^_0x2c1f4a[_0x299d6f&0xff]^_0x582821[_0x6e7276++],_0x1cb493=_0x4dd090[_0x1b85b4>>>0x18]^_0xb502c3[_0x43fc69>>>0x10&0xff]^_0x3d1ae8[_0x299d6f>>>0x8&0xff]^_0x2c1f4a[_0x144693&0xff]^_0x582821[_0x6e7276++],_0x4eeee3=_0x4dd090[_0x43fc69>>>0x18]^_0xb502c3[_0x299d6f>>>0x10&0xff]^_0x3d1ae8[_0x144693>>>0x8&0xff]^_0x2c1f4a[_0x1b85b4&0xff]^_0x582821[_0x6e7276++],_0x4fa424=_0x4dd090[_0x299d6f>>>0x18]^_0xb502c3[_0x144693>>>0x10&0xff]^_0x3d1ae8[_0x1b85b4>>>0x8&0xff]^_0x2c1f4a[_0x43fc69&0xff]^_0x582821[_0x6e7276++];_0x144693=_0x3d0dff,_0x1b85b4=_0x1cb493,_0x43fc69=_0x4eeee3,_0x299d6f=_0x4fa424;}var _0x3d0dff=(_0x3e4ee9[_0x144693>>>0x18]<<0x18|_0x3e4ee9[_0x1b85b4>>>0x10&0xff]<<0x10|_0x3e4ee9[_0x43fc69>>>0x8&0xff]<<0x8|_0x3e4ee9[_0x299d6f&0xff])^_0x582821[_0x6e7276++],_0x1cb493=(_0x3e4ee9[_0x1b85b4>>>0x18]<<0x18|_0x3e4ee9[_0x43fc69>>>0x10&0xff]<<0x10|_0x3e4ee9[_0x299d6f>>>0x8&0xff]<<0x8|_0x3e4ee9[_0x144693&0xff])^_0x582821[_0x6e7276++],_0x4eeee3=(_0x3e4ee9[_0x43fc69>>>0x18]<<0x18|_0x3e4ee9[_0x299d6f>>>0x10&0xff]<<0x10|_0x3e4ee9[_0x144693>>>0x8&0xff]<<0x8|_0x3e4ee9[_0x1b85b4&0xff])^_0x582821[_0x6e7276++],_0x4fa424=(_0x3e4ee9[_0x299d6f>>>0x18]<<0x18|_0x3e4ee9[_0x144693>>>0x10&0xff]<<0x10|_0x3e4ee9[_0x1b85b4>>>0x8&0xff]<<0x8|_0x3e4ee9[_0x43fc69&0xff])^_0x582821[_0x6e7276++];_0x4d7ae4[_0x335dae]=_0x3d0dff,_0x4d7ae4[_0x335dae+0x1]=_0x1cb493,_0x4d7ae4[_0x335dae+0x2]=_0x4eeee3,_0x4d7ae4[_0x335dae+0x3]=_0x4fa424;},'keySize':0x100/0x20});_0x144abc[_0x237ed5(0x234)]=_0x2fc37d[_0x237ed5(0x1e5)](_0x465427);}()),_0x838615['AES'];}));}(fe)),fe[_0x2484fb(0x367)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x2e56f0(0x367)],rt;function Vi(){var _0x166036=_0x2e56f0;return rt||(rt=0x1,function(_0x1e9a46,_0x5633f3){(function(_0x461457,_0x104829){var _0x359d67=_0x3736;_0x1e9a46[_0x359d67(0x367)]=_0x104829(Q());}(Fi,function(_0x3cddf2){var _0x4ea979=_0x3736;return _0x3cddf2[_0x4ea979(0x321)][_0x4ea979(0x202)];}));}(be)),be[_0x166036(0x367)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x2e56f0(0x367)],st;function Ki(){var _0x3cbdae=_0x2e56f0;return st||(st=0x1,function(_0x3a8385,_0x4d0033){(function(_0x2ca96b,_0x274f1a){var _0xc80a44=_0x3736;_0x3a8385[_0xc80a44(0x367)]=_0x274f1a(Q());}(Gi,function(_0x33690e){var _0x30885c=_0x3736;return(function(){var _0x4e9ba5=_0x3736;if(typeof ArrayBuffer=='function'){var _0x269e46=_0x33690e,_0x2a7a15=_0x269e46[_0x4e9ba5(0x288)],_0x7b2d89=_0x2a7a15[_0x4e9ba5(0x316)],_0x40e0ca=_0x7b2d89[_0x4e9ba5(0x109)],_0x8d87eb=_0x7b2d89[_0x4e9ba5(0x109)]=function(_0x18f78b){var _0x4c24cb=_0x4e9ba5;if(_0x18f78b instanceof ArrayBuffer&&(_0x18f78b=new Uint8Array(_0x18f78b)),(_0x18f78b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18f78b instanceof Uint8ClampedArray||_0x18f78b instanceof Int16Array||_0x18f78b instanceof Uint16Array||_0x18f78b instanceof Int32Array||_0x18f78b instanceof Uint32Array||_0x18f78b instanceof Float32Array||_0x18f78b instanceof Float64Array)&&(_0x18f78b=new Uint8Array(_0x18f78b['buffer'],_0x18f78b['byteOffset'],_0x18f78b[_0x4c24cb(0x17c)])),_0x18f78b instanceof Uint8Array){for(var _0x2b6b71=_0x18f78b[_0x4c24cb(0x17c)],_0x493364=[],_0x287e94=0x0;_0x287e94<_0x2b6b71;_0x287e94++)_0x493364[_0x287e94>>>0x2]|=_0x18f78b[_0x287e94]<<0x18-_0x287e94%0x4*0x8;_0x40e0ca[_0x4c24cb(0x361)](this,_0x493364,_0x2b6b71);}else _0x40e0ca['apply'](this,arguments);};_0x8d87eb[_0x4e9ba5(0x314)]=_0x7b2d89;}}()),_0x33690e[_0x30885c(0x288)][_0x30885c(0x316)];}));}(Re)),Re[_0x3cbdae(0x367)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x2e56f0(0x367)],ot;function Xi(){var _0x3727ea=_0x2e56f0;return ot||(ot=0x1,function(_0x457a88,_0x50b275){(function(_0x3c88ff,_0x2c0315,_0x5ee031){var _0x1753f4=_0x3736;_0x457a88[_0x1753f4(0x367)]=_0x2c0315(Q(),Dt());}(Ji,function(_0x74a1d4){var _0x5c0f42=_0x3736;return _0x74a1d4[_0x5c0f42(0x272)][_0x5c0f42(0x387)]={'pad':function(){},'unpad':function(){}},_0x74a1d4[_0x5c0f42(0x272)][_0x5c0f42(0x387)];}));}(Oe)),Oe[_0x3727ea(0x367)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5aa288,_0x3caedc){var _0x4cb8ce=_0x2e56f0;const _0x3dea72=_0x3caedc-_0x5aa288[_0x4cb8ce(0x297)]%_0x3caedc,_0x531de3=String[_0x4cb8ce(0xf5)](_0x3dea72)[_0x4cb8ce(0x29d)](_0x3dea72);return _0x5aa288+_0x531de3;}function tn(_0x20881e,_0x3190cd){var _0x23af9e=_0x2e56f0;const _0x5d8882=zi[_0x23af9e(0x348)](0x10),_0x35390c=en(_0x20881e,0x10),_0x4f6fcc=ji[_0x23af9e(0x1d8)](Yi[_0x23af9e(0x2be)](_0x35390c),nt['parse'](_0x3190cd),{'iv':_0x5d8882,'padding':Qi});return _0x5d8882[_0x23af9e(0x23f)](_0x4f6fcc[_0x23af9e(0xa2)])['toString'](nt);}function nn(){var _0x137b85=_0x2e56f0;const _0x1675ea=Lt[_0x137b85(0xca)]()[_0x137b85(0x2a6)];if(_0x1675ea){const _0x27b3c8={'time':Math[_0x137b85(0x13e)](Date[_0x137b85(0x287)]()/0x3e8),'domain':location[_0x137b85(0x35d)]};return tn(JSON[_0x137b85(0x34f)](_0x27b3c8),_0x1675ea);}}var rn=Object[_0x2e56f0(0x301)],sn=(_0x43b563,_0x54dbb0,_0x3e3b0a,_0x5f5093)=>{var _0x4fa8ee=_0x2e56f0;for(var _0x4eda37=_0x5f5093>0x1?void 0x0:_0x5f5093?rn(_0x54dbb0,_0x3e3b0a):_0x54dbb0,_0x669679=_0x43b563[_0x4fa8ee(0x297)]-0x1,_0x942adf;_0x669679>=0x0;_0x669679--)(_0x942adf=_0x43b563[_0x669679])&&(_0x4eda37=_0x942adf(_0x4eda37)||_0x4eda37);return _0x4eda37;},on=(_0x2d0675,_0x5db27d)=>(_0x69c30f,_0x269e31)=>_0x5db27d(_0x69c30f,_0x269e31,_0x2d0675);let Ne=class{constructor(_0x3360fb){this['_httpService']=_0x3360fb,this['_initRequestHeader']();}[_0x2e56f0(0x41b)](){var _0x4d228d=_0x2e56f0;this[_0x4d228d(0x201)][_0x4d228d(0x2a2)]({'interceptor':(_0x4168cf,_0x187577)=>{var _0x51e4dc=_0x4d228d;const _0x570d16=_0x4168cf[_0x51e4dc(0x3a7)],_0x38b252=nn();return _0x38b252&&_0x570d16[_0x51e4dc(0x233)](_0x51e4dc(0x3a0),_0x38b252),_0x187577(_0x4168cf);}});}};Ne=sn([on(0x0,a['Inject'](K['HTTPService']))],Ne);var an=Object[_0x2e56f0(0x301)],cn=(_0x1a9839,_0x150da0,_0x3ae2ad,_0x221ae6)=>{var _0xddebb1=_0x2e56f0;for(var _0x268ccc=_0x221ae6>0x1?void 0x0:_0x221ae6?an(_0x150da0,_0x3ae2ad):_0x150da0,_0x212472=_0x1a9839[_0xddebb1(0x297)]-0x1,_0x24eae5;_0x212472>=0x0;_0x212472--)(_0x24eae5=_0x1a9839[_0x212472])&&(_0x268ccc=_0x24eae5(_0x268ccc)||_0x268ccc);return _0x268ccc;},Le=(_0x21ba42,_0x1fee07)=>(_0x159b01,_0x387fde)=>_0x1fee07(_0x159b01,_0x387fde,_0x21ba42);exports[_0x2e56f0(0x312)]=class extends a[_0x2e56f0(0x351)]{constructor(_0x41a833,_0x22c74f,_0x1e0eab){var _0x59f69f=_0x2e56f0;super(),A(this,'_unitInfo$',new $[(_0x59f69f(0x2bd))](null)),A(this,_0x59f69f(0x2d7),this[_0x59f69f(0xdf)][_0x59f69f(0x2c4)]()),(this[_0x59f69f(0x38b)]=_0x41a833,this[_0x59f69f(0x330)]=_0x22c74f,this['_localCacheService']=_0x1e0eab);}async[_0x2e56f0(0x3cc)](_0xfb871b,_0x713da0,_0x468ffc){var _0x11568c=_0x2e56f0;this[_0x11568c(0xdf)]['next']({'unitId':_0xfb871b,'type':_0x713da0});let _0x27bd96=null;switch(_0x713da0){case J[_0x11568c(0x329)]:{_0x27bd96=await this[_0x11568c(0x330)][_0x11568c(0x40d)](_0xfb871b,_0x468ffc);break;}case J[_0x11568c(0x20d)]:{_0x27bd96=await this['_snapshotService']['loadDoc'](_0xfb871b,_0x468ffc);break;}default:{this[_0x11568c(0x38b)][_0x11568c(0xbd)](_0x11568c(0x315),_0x11568c(0x191));break;}}return _0x27bd96;}async['loadUnit'](_0x1d6877,_0x4c9382,_0x3921f3){var _0x381b56=_0x2e56f0,_0x5e9ef8;this[_0x381b56(0xdf)][_0x381b56(0x212)]({'unitId':_0x1d6877,'type':_0x4c9382,'subUnitId':_0x3921f3});let _0x382db3=0x0;const _0xaafe00=await((_0x5e9ef8=this[_0x381b56(0x1fc)])==null?void 0x0:_0x5e9ef8[_0x381b56(0x221)](_0x1d6877));return _0xaafe00&&(_0xaafe00[_0x381b56(0xab)]||_0xaafe00['mutations']['length']!==0x0)&&(_0x382db3=_0xaafe00[_0x381b56(0x384)]),_0x382db3===0x0&&this['_logService'][_0x381b56(0x269)](_0x381b56(0x315),_0x381b56(0x31f)),this[_0x381b56(0x3cc)](_0x1d6877,_0x4c9382,_0x382db3);}},exports['DataLoaderService']=cn([Le(0x0,a[_0x2e56f0(0xac)]),Le(0x1,a[_0x2e56f0(0x159)](p['SnapshotService'])),Le(0x2,a['Optional'](q))],exports['DataLoaderService']);var hn=Object[_0x2e56f0(0x301)],_n=(_0x22a265,_0x430a4e,_0x483f3e,_0x1a638a)=>{var _0x5ca8c0=_0x2e56f0;for(var _0x11efb0=_0x1a638a>0x1?void 0x0:_0x1a638a?hn(_0x430a4e,_0x483f3e):_0x430a4e,_0x24c882=_0x22a265[_0x5ca8c0(0x297)]-0x1,_0x581f74;_0x24c882>=0x0;_0x24c882--)(_0x581f74=_0x22a265[_0x24c882])&&(_0x11efb0=_0x581f74(_0x11efb0)||_0x11efb0);return _0x11efb0;},we=(_0x11cdac,_0x296936)=>(_0x318d5b,_0x4b39b7)=>_0x296936(_0x318d5b,_0x4b39b7,_0x11cdac);const ln=[_0x2e56f0(0x3ec),_0x2e56f0(0x3b0),_0x2e56f0(0x2a0),_0x2e56f0(0x40b),_0x2e56f0(0x408)],un=0x5*0x400*0x400,dn=_0x2e56f0(0x419),vn=_0x2e56f0(0x27e),Sn=_0x2e56f0(0x24d),fn=_0x2e56f0(0x31d);function _0x2eaf(){var _0x49583b=['_onFetchMissResult','c2Prime','_telemetryInfo','processBlock','getValue','now','lib','_clearTimeoutTimer','SNAPSHOT_HAS_BEEN_REMOVED','join','?url=','sigBytes','cmd','ceil','MentionType','INVALID_ARGUMENT','memberID','Hex','JOINING','Base','AwaitingState','length','getMember','sin','/universer-api/user/session-ticket','error$','ImageUploadStatusType','repeat','merge','_transformRemoteChangesetByIMECache','image/jpg','ThresholdInterceptorFactory','registerHTTPInterceptor','allowed','RETRY_CONNECTING_MAX_COUNT_KEY','iterations','__Key__','csRejEvent','LocaleService','LocalUndoRedoService','removeMember','_onOffline','HmacSHA1','_onRemoteChangeset','close','clone','submit\x20changeset\x20error!','SheetsSelectionsService','defineProperty','readInt32LE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','143fyqADn','_executeRemoteChangeset','DEFAULT_FILE_NAME','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sid','[CollaborationState]:\x20apply\x20error!','getMemberID','baseRev','BehaviorSubject','parse','_univerInstanceService','CommentService','then','localCacheService','[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.','asObservable','HTTPRequest','title','TOO_MANY_REQUESTS','_reverseMap','actions','getUnitId','_rescheduleHeartbeat','list','_getAPIPrefix','splice','HEARTBEAT','_cipher','csShouldRetryEvent','EvpKDF','HEARTBEAT_TIMEOUT','conflict','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','update','unitInfo$','_getAPIPrefixPath','WECHAT_HAS_BEEN_BOUND','Tools','Plugin','charCodeAt','from','_entityInit$','signUrlServerUrl','session','unitId\x20is\x20not\x20found','ISingleActiveUnitService','_timeoutTimer','_startTelemetryCollaborationNewChangeset','onCommentUpdate','includes','enableOfflineEditing','_getDownloadEndpointURL','awaiting','mergeOverrideWithDependencies','encode','_shouldReportTelemetry','_roomCreated$','findIndex','onTransformState','IUndoRedoService','LICENSE_DISTRO_REJECTED','concatMap','CollaborationSessionService','MD5','_nDataBytes','509016dsdaRB','EmptyMutation','_transformService','_getCurrentRevision','getCollabEntity$','_transitionLocked','mutations','_awaitingChangeset','getCollabEntity','min','BlockCipherMode','getOwnPropertyDescriptor','_sendingTimer','Undefined','/new_changes','SheetPermissionInitController','LEAVE','decrypt','UniverCollaborationClientPlugin','_decreaseWaiting','JOIN_ROOM_FULL','Subject','_clearHeartbeatTimer','reject','getTime','CollaborationImageIoService','batchAllowed','parseChangesetToProtocol','DataLoaderService','_config','prototype','[DataLoaderService]','WordArray','_removeRoom','[SyncedState]:\x20received\x20acknowledgement.','abs','status$','touchDependencies','_retryConnectingTimer','/universer-api/file/{fileID}/sign-url','uuidv4','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_snapshotServerService','enc','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','transformChangesets','?size=','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_sendHeartbeat','unitID','m2Prime','UNIVER_SHEET','onSendChangeset','sessionStatus','HttpImport','executeCommand','_imageSourceCache','univer-pro.collaboration-client-socket-service','_snapshotService','/fetchmissing?from=','AuthzIoHttpService','uniscriptRunEvent','/-/object/-/batch_allowed','salt','INVITE_CODE_REQUIRED','_onUserJoin','_instanceService','_pendingMutations','_disableEditing','saveSheetBlock','onStateChange','_compressMutationService','getImage','createSocket','USERS_LEAVE','ICollaborationSocketService','_key','UNIVER_PROJECT','_configService','MUTATION','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_CONNECTOR_URL_NOT_FOUND','random','startsWith','UNRECOGNIZED','pending','socket$','generateRandomId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','stringify','NO_OTHER_CLIENTS_EDITING','RxDisposable','saveSnapshot','_createInitialStateImpl','_eventService','_roomMembers','updateCollaborator','data','NOT_FOUND','collabWebSocketUrl','onStarting','_toggleOnline','_tryEnsureSocket','hostname','_clearLocalCache','_doCryptBlock','eventID','call','POST','Latin1','_waitForHeartbeatResponse','sessionStatus$','collaboratorID','exports','_permissionService','/rev/','_createInitialState','_socket$','addImageSourceCache','pauseCollaboration','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationPaused','textEncoder','AUTHZ_URL_KEY','getCurrentRevOfUnit','_telemetryService','INGEST','_prevBlock','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitDisposed$','entityInit$','kdf','post','LOCAL_CACHE_INTERVAL','BASE64','WorkbookEditablePermission','ws://127.0.0.1:8000/universer-api/comb/connect','_collaborationTimeoutTimer','routeKey','updateSnapshot','liveShareOperation','rev','compose','listRoles','NoPadding','_getLoginPath','_collabSessionService','MemberService','_logService','crypto','SYNCED','getConfig','delay','unsubscribe','_resendWithTimeout','setConfig','onRemoteRej','CommandType','_iKey','ERROR_IMAGE','_onRecvEvent','_initMergeInterceptor','_listenToNetworkCondition','RECV','_localeService','onTransformIME','c1Prime','_createHandler','onCommandExecuted','x-univer-host','_schedule','PendingState','YUUMI_RATE_OVER_LIMIT','ERROR_EXCEED_SIZE','INTERNAL_ERROR','ICommandService','headers','_resendTimer','initWorkbookPermissionChange','collabSubmitChangesetUrl','patch','APPLY_REJECT','_sheetTransformSelectionsService','objectID','/unit/','image/jpeg','localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','FetchingMissState','PY_RUNTIME_SCRIPT_ERROR','SUBMIT_CHANGESET','YUUMI_URL_COL_OUT_OF_RANGE','CBC','HttpExport','blockSize','unknown','liveShareNewHost','RichTextEditingMutation','_socketService','location','RevisionService','MentionIoHttpService','_ENC_XFORM_MODE','hasOwnProperty','origin','UNKNOWN_CMD','encryptBlock','_injector','COMPRESS_MUTATION_SEND','_append','_waitCount','_joinRoom','CHANGESET_ACK','loadUnitOfRevision','_changesetSessionId','_onRemoteACK','collaMsg','IMentionIOService','_clearRedo','CollaborationStatus','_doFinalize','disposeWithMe','_transformStack','_sessionStatus$','range','toggleOnline','[PendingState]:\x20unhandled\x20univer\x20type:\x20','take','/universer-api/snapshot','univer-pro.collaboration-client.network-condition.service','objectType','session.join-failed','isInternalEditorID','SOCKET_FAILED_RETRY','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','&source=','_transformStateCache','COMPLETION_FINISHED','emitEvent','duration','snapshotServerUrl','createEncryptor','keySize','image/png','_onMessage','editingUnit','SHA1','_type','_clearCollaborationTimeoutTimer','JOIN_ROOM_FAILED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addHandlerCallback','CHANGESET_SHOULD_RETRY','leaveEvent','transformMutationsWithChangeset','resourceIDs','_createHmacHelper','add','changesets','SNAPSHOT_SERVER_URL_KEY','CompressMutationService','Disposable','JSONX','randomBytes','parseProtocolChangeset','auth.needGotoLoginAlert','sequenceExecute','_undoStacks','onTransformRemoteChangesetByIMECache','_onJoinRoomEvent','_checkMissing','image/bmp','Encryptor','OpenSSL','image/gif','JOIN_ROOM_NOT_EXISTS','loadSheet','_updateStatus','send','clear','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UserProfileImg','_emitMembers','readyForCollab','_onRemoteRetry','finalize','_substituteRedoStack','create','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getSendChangesetTimeout','_initRequestHeader','/resources','UNDEFINED','CollaborationUIEventService','FETCH_MISSING','UniverInstanceType','ciphertext','SUBMIT_CHANGESET_TIMEOUT','onRemoteRetry','SnapshotServerOverHTTPService','4652vhwQOv','_onConnectionFailed','refreshPermission','_getCtorByUniverType','Cipher','awaitingChangeset','ILogService','INVITE_CODE_ALREADY_BOUND','YUUMI_UNABLE_LOAD_URL','IDLE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','createDecryptor','not_collab','\x0aAfter:\x20','reset','Decryptor','override','3590504xQoMQA','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','saveImage','collaborators','transformSelections','socket\x20open.','error','LOGIN_FAILED','/universer-api/uniscript','fetch_missing','_initUnitPermissionChange','_DEC_XFORM_MODE','BufferedBlockAlgorithm','419382suNAOf','get','HTTPService','INVITE_CODE_HAS_BEEN_UES','CollaborationController','collaboration-client.local-cache-service','getGlobalObject','_getSignURL','selections','_tryReconnect','PERMISSION_REJ','SerializableCipher','_memberService','enableSingleActiveInstanceLock','7PzojwX','_fetchMissChangesets','_scheduleCompleteTimestamp','{fileID}','_candidateSocket','COLLAB_WEB_SOCKET_URL','toString','socketService','_clearScheduledTask','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendHeartbeatTimer','[CollaborationSession]','toDisposable','_unitInfo$','UnitEmbedded','UNIVER_SLIDE','padding','getResourcesRequest','dispose$','UPDATE_CURSOR','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[UniverCollaborationClientPlugin]','ConflictState','msCrypto','takeUntil','[PendingState]:\x20received\x20acknowledgement.','YUUMI_ASYNCIO_CANCELLED','Optional','fetching\x20missing\x20changesets\x20from\x20','commentUpdate$','People','_parse','close$','onRemoteAck','hasher','fromCharCode','LICENSE_MAX_UNITS_EXCEEDED','_networkConditionService','joinEvent','state$','isPermissionRej','confirm','onTransformRemoteChangesetByStateCache','_invKeySchedule','univer-pro.collaboration-client.single-active-unit-service','_state','_process','values','SyncedState','HMAC','COMMENT_UPDATE','getLatestCsReqIdBySid','isTransformMutationsWithChangesetSuccess','getCurrentUser','_updateState','init','_lockTransition','DisposableCollection','OTHER_CLIENTS_EDITING','indexOf','285rlnjEW','_sender','HELLO','interceptor','serializeCombRequest','CollaborationUIEventId','\x20in\x20_schedule.','file','_hasher','shouldCloseConn','_oKey','requireSession','_changesetReqId','url','Base64','/universer-api/snapshot/','NOT_COLLAB','USER_NOT_INVITED_CODE','complete','YUUMI_ALL_TABLES_IS_INVALID','_remoteChangesetQueue','_acknowledgedAwaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','createInstance','Injector','MOBILE_HAS_BEEN_BOUND','_onUserLeave','PERMISSION_DENIED','OFFLINE','_resendTimeout','CONFLICT','PENDING','SEND_CHANGESET_TIMEOUT','2608gNFEYJ','entries','deepClone','OfflineState','_showConflictNotification','_unitID','/role','CollaborationEvent','\x20to\x20','_data','1855nXSqvj','IUniverInstanceService','_clearUndo','registerDependencies','YUUMI_AI_RUN_FAILED','floor','compute','_nRounds','CONNECTOR_DATA_TOO_LARGE','dispose','LIVESHARE_REQUEST_HOST','CHANGESET_REJ','[CollaborationSessionService]','ITransformService','key','_initCloseConn','DEFAULT_COLLAB_WEB_SOCKET_URL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LOGIN_URL_KEY','charAt','_onLocalMutation','retryConnectingInterval','replace','ivSize','capture','format','SetSelectionsOperation','originalMeta','[CollaborationUndoRedoService]','SHOULD_CLOSE_CONN','_getUndoStack','_registerDependencies','Inject','_keyPriorReset','b64DecodeUnicode','toggleOffline','/object/','_onRemoteRejected','onlyLocal','createIdentifier','_submitChangeset','_map','getRandomValues','_socketMessageSubscription','JOIN_ROOM_PERMISSION_DENIED','function','failed\x20to\x20apply\x20missed\x20changesets!','_handlerCallback','_incrementRevisionNumber','toStringTag','_socket','_doReset','name','_startCollaboration','_keySchedule','getUnitOnRev','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRoom','_xformMode','apply','_scheduleCollaborationTimeoutTimer','socket\x20close','69548yjJoYs','_transformUndoredo','_state$','append','OTHER_CLIENT_EDITING','byteLength','_mode','UNIVER_UNKNOWN','status','ERROR_IMAGE_TYPE','_members','_onConflict','telemetry\x20info\x20is\x20not\x20initialized','updateOfflineData','_singleActiveUnitService','fetchThroughInterceptors','_transformRemoteChangesetByStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onMissedChangesetFetched','mixIn','responseType','onLocalMutation','open$','permissionRejEvent','updateMember','unitId','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LOCAL_CACHE_INTERVAL_KEY','_change$','getDeserializedSheetBlock','EMAIL_HAS_BEEN_BOUND','default','IPermissionService','symbol','_collaborationSessionService','RETRY_CONNECTING_MAX_COUNT','members','appendMutation','fetchMiss','execute','CLOSE_ROOM','SNAPSHOT_URL_KEY','getUnit','SUCCUSS','session.room-cnt-exceeds','save\x20fail\x20reason\x20is\x20','authzUrl','_replayCachedMutations','CollaborationSocketService','enableCollaboration','Malformed\x20UTF-8\x20data','ISnapshotServerService','SheetCollaborationEntity','message$','JOIN','body','pipe','IAuthzIoService','getTypeOfUnitAdded$','subject','INVALID_INVITE_CODE','OPTIONAL','LIVESHARE_NEW_HOST','textRanges','change$','[PendingState]:\x20received\x20rejection.','getInterceptPoints','SEND_CHANGESET_TIMEOUT_KEY','UPDATE_PERMISSION_OBJ','has','_substituteUndoStack','HEARTBEAT_INTERVAL','_socketReady','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','SheetTransformSelectionsService','getSnapshotAPIPath','withCredentials','_unlockTransition','APPLY_NON_SEQUENTIAL_REVISION','_onConnectionOpen','_handler','_queuedRemoteChangesets','AWAITING','LICENSE_EXPORT_SIZE_EXCEEDED','encodeURIComponent','AwaitingWithPendingState','BlockCipher','push','onSyncEditingCollabCursor','ReplaySubject','filter','updateCursorEvent','waitForRoom$','Workbook','onMissingChangesets','[CollaborationSessionService]:\x20socket\x20error','clamp','encrypt','offline','_members$','INetworkConditionService','params','requestParams','words','algo','isTransformChangesetsSuccess','_revisionService','APPLY_DUPLICATED','_hash','IImageIoService','_createHelper','find','UserManagerService','HEARTBEAT_TIMEOUT_KEY','getUnitType','LIVESHARE_TERMINATE','_event$','newCsEvent','setCurrentUser','disableLocalCache','type','LICENSE_IMPORT_SIZE_EXCEEDED','stopTime','map','Failed\x20to\x20update\x20permission\x20point','MergeInterceptorFactory','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_entities','pluginName','CipherParams','fetchMissingChangesets','_getUploadFileURL','YUUMI_SUBSCRIPTION_NOT_FOUND','_localCacheService','Hasher','ImageSourceType','405270tqEnIK','CollaborationSession','_httpService','Utf8','cfg','objectActions','onTransformSelections','extend','isTransformMutationsWithChangesetFailure','_throwTelemetryCollaborationNewChangeset','DocCollaborationEntity','deserializeToCombResponse','mode','action','UNIVER_DOC','event$','USERS_ENTER','isArray','updatePermissionPoint','next','getImageSourceCache','startTime','firstValueFrom','fromCollab','_isPermissionRej','[OfflineState]:\x20received\x20acknowledgement.','/collaborator','_commentUpdate$','reduce','ONLINE','SOCKET_FAILED','roles','_clearRetryConnectingTimer','[OfflineState]:\x20received\x20rejection.','loadOfflineData','delete','ILocalCacheService','_transformIMECache','LIVESHARE_OPERATION','APPLY_REVISION_CONFILICT','result','transformUndoRedo','forEach','max','MOBILE_VERIFY_CODE_MISMATCH','/-/object/list','incrementRevOfUnit','LIVESHARE_FETCH_OPERATIONS','_status$','UNISCRIPT_RUN','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','slice','set','AES','_syncEditingCollabCursor','APPLY_PERMISSION_DENIED','decryptBlock','[CollaborationEntity]','/allowed','_sessions','_HTTPService','resend','reqId','session.room-not-exists','concat','href','listCollaborators','getFocusedUnit','_commandService','size','Quantity','_applyRemoteChangeset','PERSON','getCurrentSelections','_init','_userManagerService','_commentService','putCollaborators','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CollaborativeUndoRedoService','StreamCipher','Univer','&assign=','resolve','_retryCount','COLLAB_WEB_SOCKET_URL_KEY','UniverCollaborationPlugin','FAIL','src','every','avatar','state','IConfigService','FileId','code','setShowComponents','UNIVER_COLLABORATION_CLIENT_PLUGIN','__creator','focused$','string','catch','117UnoaHT','session.room-full','EMAIL_VERIFY_CODE_MISMATCH','copyFileMeta','/block/','debug','_collaborationUIEventService','ALREADY_EXISTS','_getRedoStack','UUID','_replaceFileID','NEW_CHANGESETS','_updateLocalCache','mapDocumentTypeToUniverType','pad','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','revision','readAsDataURL','awaiting_with_pending','COMPRESS_MUTATION_APPLY','/universer-api/authz','_transformSelections','synced','_iv','UNAUTHENTICATED','/universer-api/stream/file/upload','CollaborationEntity','subscribe','_stopTelemetryCollaborationNewChangeset'];_0x2eaf=function(){return _0x49583b;};return _0x2eaf();}exports[_0x2e56f0(0x30f)]=class{constructor(_0x340913,_0xa3240f,_0x47fb00){var _0x481959=_0x2e56f0;A(this,_0x481959(0x3c9),0x0),A(this,_0x481959(0x193),new $[(_0x481959(0x30b))]()),A(this,_0x481959(0x1b7),this['_change$']),A(this,_0x481959(0x32e),new Map()),(this[_0x481959(0x201)]=_0x340913,this['_configService']=_0xa3240f,this[_0x481959(0x2bf)]=_0x47fb00);}['setWaitCount'](_0xa1c1f1){var _0x10b2c1=_0x2e56f0;this[_0x10b2c1(0x3c9)]=_0xa1c1f1,this[_0x10b2c1(0x193)][_0x10b2c1(0x212)](_0xa1c1f1);}[_0x2e56f0(0x213)](_0x5daf08,_0x7c62e7){var _0x3912d7=_0x2e56f0;if(_0x7c62e7===z[_0x3912d7(0x1fe)][_0x3912d7(0x37d)]){const _0xd9852=new Image();return _0xd9852[_0x3912d7(0x257)]=_0x5daf08,_0xd9852;}return this['_imageSourceCache']['get'](_0x5daf08);}[_0x2e56f0(0x36c)](_0x451b0b,_0x4d909d,_0x48420d){var _0x3fb32b=_0x2e56f0;_0x4d909d===z['ImageSourceType'][_0x3fb32b(0x37d)]||_0x48420d==null||this['_imageSourceCache'][_0x3fb32b(0x233)](_0x451b0b,_0x48420d);}async[_0x2e56f0(0x33e)](_0x178d85){var _0x59bf20=_0x2e56f0;try{const _0x542826=this['_replaceFileID'](this[_0x59bf20(0xcb)](),''+_0x178d85),_0x419064=(await this['_httpService'][_0x59bf20(0xc5)](_0x542826))[_0x59bf20(0x1ae)];if(_0x419064[_0x59bf20(0xbd)]&&_0x419064['error']['code']===gt['OK']){const _0x2922bb=new URL(_0x419064[_0x59bf20(0x11b)],this['_getDownloadEndpointURL']())[_0x59bf20(0xd8)]();return Promise[_0x59bf20(0x252)](_0x2922bb);}return Promise[_0x59bf20(0x30d)](_0x419064[_0x59bf20(0xbd)]);}catch(_0x19ea0a){return Promise[_0x59bf20(0x30d)](_0x19ea0a);}}async[_0x2e56f0(0xb9)](_0x254cb6){var _0x472712=_0x2e56f0;let _0x5eb973='';if(!ln[_0x472712(0x2e6)](_0x254cb6[_0x472712(0x1ef)]))return this[_0x472712(0x309)](),Promise[_0x472712(0x30d)](new Error(z[_0x472712(0x29c)][_0x472712(0x180)]));if(_0x254cb6[_0x472712(0x244)]>un)return this[_0x472712(0x309)](),Promise[_0x472712(0x30d)](new Error(z['ImageUploadStatusType'][_0x472712(0x3a4)]));try{const _0xa59c=new FormData();_0xa59c[_0x472712(0x17a)](_0x472712(0x115),_0x254cb6);const _0x4894e1=this[_0x472712(0x2bf)][_0x472712(0x242)](),_0x36f10e=_0x4894e1==null?void 0x0:_0x4894e1[_0x472712(0x2ca)]();if(!_0x36f10e)throw new Error(_0x472712(0x2e1));const _0x4f4761=this['_getUploadFileURL']()+_0x472712(0x324)+_0x254cb6[_0x472712(0x244)][_0x472712(0xd8)]()+_0x472712(0x3e4)+Et[_0x472712(0xe0)]+_0x472712(0x251)+encodeURIComponent(_0x36f10e),_0xe4e780={'body':_0xa59c},_0x341daa=(await this['_httpService'][_0x472712(0x37b)](_0x4f4761,_0xe4e780))[_0x472712(0x1ae)];if(typeof _0x341daa[_0x472712(0x25c)]!='string')return this[_0x472712(0x309)](),Promise[_0x472712(0x30d)](new Error(z['ImageUploadStatusType'][_0x472712(0x396)]));_0x5eb973=_0x341daa[_0x472712(0x25c)];}catch{return this['_decreaseWaiting'](),Promise[_0x472712(0x30d)](new Error(z['ImageUploadStatusType'][_0x472712(0x396)]));}return new Promise((_0x2acb4b,_0x1a7523)=>{var _0x253e73=_0x472712;const _0x185a5f=new FileReader();_0x185a5f[_0x253e73(0x276)](_0x254cb6),_0x185a5f['onload']=_0x314c82=>{var _0x1aca45=_0x253e73,_0x1379f8;const _0x2e77cc=(_0x1379f8=_0x314c82['target'])==null?void 0x0:_0x1379f8[_0x1aca45(0x227)];if(_0x2e77cc==null){this[_0x1aca45(0x309)](),_0x1a7523(new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x1086b4=a[_0x1aca45(0x2da)][_0x1aca45(0x34d)](0x6);_0x2acb4b({'imageId':_0x1086b4,'imageSourceType':z[_0x1aca45(0x1fe)][_0x1aca45(0x26d)],'source':_0x5eb973,'base64Cache':_0x2e77cc,'status':z[_0x1aca45(0x29c)][_0x1aca45(0x1a2)]}),this[_0x1aca45(0x309)]();};});}[_0x2e56f0(0x1fa)](){var _0x36cdbc=_0x2e56f0,_0x232a89,_0x171ec4;const _0x5ced94=this['_configService'][_0x36cdbc(0x38e)](dn),_0x288e47=this[_0x36cdbc(0x344)]['getConfig'](G);return(_0x171ec4=(_0x232a89=_0x288e47==null?void 0x0:_0x288e47['uploadFileServerUrl'])!=null?_0x232a89:_0x5ced94)!=null?_0x171ec4:vn;}[_0x2e56f0(0xcb)](){var _0x441d1e=_0x2e56f0,_0x46e4d5,_0x14aa8c;const _0x302c8b=this[_0x441d1e(0x344)]['getConfig'](Sn),_0xb1095b=this[_0x441d1e(0x344)][_0x441d1e(0x38e)](G);return(_0x14aa8c=(_0x46e4d5=_0xb1095b==null?void 0x0:_0xb1095b[_0x441d1e(0x2df)])!=null?_0x46e4d5:_0x302c8b)!=null?_0x14aa8c:fn;}[_0x2e56f0(0x2e8)](){var _0x5aa4db=_0x2e56f0,_0xd929f0;const _0x2f3bc6=this[_0x5aa4db(0x344)][_0x5aa4db(0x38e)](G);return(_0xd929f0=_0x2f3bc6==null?void 0x0:_0x2f3bc6['downloadEndpointUrl'])!=null?_0xd929f0:location[_0x5aa4db(0x3c3)];}[_0x2e56f0(0x26e)](_0x3810f9,_0x1cbfc5){var _0x1b49b7=_0x2e56f0;return _0x3810f9[_0x1b49b7(0x14f)](_0x1b49b7(0xd5),_0x1cbfc5);}[_0x2e56f0(0x309)](){var _0x308ea2=_0x2e56f0;this['_waitCount']-=0x1,this[_0x308ea2(0x193)][_0x308ea2(0x212)](this[_0x308ea2(0x3c9)]);}},exports[_0x2e56f0(0x30f)]=_n([we(0x0,a[_0x2e56f0(0x159)](K[_0x2e56f0(0xc6)])),we(0x1,a[_0x2e56f0(0x25b)]),we(0x2,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x13a)]))],exports['CollaborationImageIoService']);var In=Object['getOwnPropertyDescriptor'],pn=(_0x54f657,_0x11a543,_0x5c1545,_0x1ed9d4)=>{for(var _0xb6b7e6=_0x1ed9d4>0x1?void 0x0:_0x1ed9d4?In(_0x11a543,_0x5c1545):_0x11a543,_0x4791ab=_0x54f657['length']-0x1,_0x92bbfd;_0x4791ab>=0x0;_0x4791ab--)(_0x92bbfd=_0x54f657[_0x4791ab])&&(_0xb6b7e6=_0x92bbfd(_0xb6b7e6)||_0xb6b7e6);return _0xb6b7e6;},at=(_0x599862,_0x211596)=>(_0x279814,_0x3a4809)=>_0x211596(_0x279814,_0x3a4809,_0x599862);const gn=_0x2e56f0(0x279);exports['MentionIoHttpService']=class{constructor(_0x4bdd60,_0x364ada){var _0x578f39=_0x2e56f0;this[_0x578f39(0x344)]=_0x4bdd60,this[_0x578f39(0x23b)]=_0x364ada;}[_0x2e56f0(0x2d8)](){var _0x481bc5=_0x2e56f0,_0x5781bd,_0x1e0ae2;const _0x23c9f0=this['_configService']['getConfig'](Ve),_0x588abb=this[_0x481bc5(0x344)][_0x481bc5(0x38e)](G);return(_0x1e0ae2=(_0x5781bd=_0x588abb==null?void 0x0:_0x588abb[_0x481bc5(0x1a5)])!=null?_0x5781bd:_0x23c9f0)!=null?_0x1e0ae2:gn;}async[_0x2e56f0(0x2cc)](_0x5dbf9c){var _0x297f6a=_0x2e56f0;const _0xc1601b=this[_0x297f6a(0x2d8)]()+_0x297f6a(0x219);return{'list':[{'title':_0x297f6a(0xf0),'mentions':(await this[_0x297f6a(0x23b)][_0x297f6a(0xc5)](_0xc1601b,{'params':{'objectID':_0x5dbf9c['unitId'],'unitID':_0x5dbf9c[_0x297f6a(0x190)]}}))[_0x297f6a(0x1ae)][_0x297f6a(0xba)][_0x297f6a(0x1f2)](_0x136b02=>({'objectId':_0x136b02['id'],'name':_0x136b02[_0x297f6a(0x1b2)][_0x297f6a(0x16d)],'metadata':{'icon':_0x136b02[_0x297f6a(0x1b2)][_0x297f6a(0x259)]},'label':_0x136b02[_0x297f6a(0x1b2)]['name'],'objectType':a[_0x297f6a(0x290)][_0x297f6a(0x247)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x2e56f0(0x3c0)]=pn([at(0x0,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x25b)])),at(0x1,a[_0x2e56f0(0x159)](K[_0x2e56f0(0xc6)]))],exports[_0x2e56f0(0x3c0)]);var En=Object[_0x2e56f0(0x301)],mn=(_0x51f0ee,_0x36a0b1,_0x3d2f77,_0x2f2e69)=>{var _0x337f39=_0x2e56f0;for(var _0x199ca8=_0x2f2e69>0x1?void 0x0:_0x2f2e69?En(_0x36a0b1,_0x3d2f77):_0x36a0b1,_0x3dba9b=_0x51f0ee[_0x337f39(0x297)]-0x1,_0x958326;_0x3dba9b>=0x0;_0x3dba9b--)(_0x958326=_0x51f0ee[_0x3dba9b])&&(_0x199ca8=_0x958326(_0x199ca8)||_0x199ca8);return _0x199ca8;},le=(_0x35fca9,_0x19f91e)=>(_0x441924,_0x9ca681)=>_0x19f91e(_0x441924,_0x9ca681,_0x35fca9);let De=class extends a['RxDisposable']{constructor(_0x54d6e8,_0x431ecb,_0x517d6e,_0x4d3db5,_0x476b01){var _0x123741=_0x2e56f0;super(),this[_0x123741(0x3c6)]=_0x54d6e8,this[_0x123741(0x2bf)]=_0x431ecb,this[_0x123741(0x368)]=_0x517d6e,this[_0x123741(0x199)]=_0x4d3db5,this[_0x123741(0x26a)]=_0x476b01,this[_0x123741(0xc1)](),this[_0x123741(0x148)]();}[_0x2e56f0(0x148)](){var _0x49e1c=_0x2e56f0;const _0x48da3d=async _0x3c2a71=>{var _0x4c98f4=_0x3736;(await this[_0x4c98f4(0x199)][_0x4c98f4(0x119)](_0x3c2a71))[_0x4c98f4(0x20e)][_0x4c98f4(0x1af)](V[_0x4c98f4(0x1d1)](_0xb31554=>_0xb31554[_0x4c98f4(0x360)]===p[_0x4c98f4(0x136)][_0x4c98f4(0x156)]),V['takeUntil'](this[_0x4c98f4(0xe4)]))[_0x4c98f4(0x280)](_0x43273b=>{var _0x578d28=_0x4c98f4;const _0x566cca=_0x43273b,{reason:_0x434ea2}=_0x566cca[_0x578d28(0x357)];this[_0x578d28(0x26a)][_0x578d28(0x3e7)]({'id':Z[_0x578d28(0x19f)],'data':_0x434ea2}),this['_permissionService'][_0x578d28(0x211)](new X[(_0x578d28(0x37e))](_0x3c2a71)['id'],!0x1),this[_0x578d28(0x199)]['closeSession'](_0x3c2a71);});};$['merge'](this[_0x49e1c(0x2bf)][_0x49e1c(0x1b1)](a[_0x49e1c(0xa1)][_0x49e1c(0x329)]),this[_0x49e1c(0x2bf)][_0x49e1c(0x1b1)](a[_0x49e1c(0xa1)]['UNIVER_DOC']))['pipe'](V[_0x49e1c(0x1f2)](_0x201d9a=>_0x201d9a['getUnitId']()),V[_0x49e1c(0x1d1)](_0x308590=>!a[_0x49e1c(0x3df)](_0x308590)),V['takeUntil'](this[_0x49e1c(0xe4)]))[_0x49e1c(0x280)](_0x68dfb6=>{_0x48da3d(_0x68dfb6);});}[_0x2e56f0(0xc1)](){var _0xbb2e05=_0x2e56f0;const _0x1af0be=async _0x2d0b3d=>{var _0x3f7362=_0x3736;const _0x6810c9=await this['_collaborationSessionService']['requireSession'](_0x2d0b3d),_0x36e692=this[_0x3f7362(0x3c6)][_0x3f7362(0xc5)](X[_0x3f7362(0x305)]);_0x6810c9['event$'][_0x3f7362(0x1af)](V['filter'](_0x5844ff=>_0x5844ff[_0x3f7362(0x360)]===p[_0x3f7362(0x136)][_0x3f7362(0x1bb)]),V[_0x3f7362(0xea)](this[_0x3f7362(0xe4)]))[_0x3f7362(0x280)](_0x11e039=>{var _0x2bce64=_0x3f7362;const _0x458cd2=_0x11e039,{objectId:_0x500b15}=_0x458cd2['data'];_0x500b15===_0x2d0b3d?_0x36e692[_0x2bce64(0x3a9)](_0x2d0b3d):_0x36e692[_0x2bce64(0xa8)](_0x2d0b3d,_0x500b15);});};$[_0xbb2e05(0x29e)](this[_0xbb2e05(0x2bf)]['getTypeOfUnitAdded$'](a[_0xbb2e05(0xa1)][_0xbb2e05(0x329)]))['pipe'](V[_0xbb2e05(0x1f2)](_0x252b88=>_0x252b88[_0xbb2e05(0x2ca)]()),V['filter'](_0x1c2653=>!a[_0xbb2e05(0x3df)](_0x1c2653)),V['takeUntil'](this[_0xbb2e05(0xe4)]))['subscribe'](_0x2f268=>{_0x1af0be(_0x2f268);});}};De=mn([le(0x0,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),le(0x1,a[_0x2e56f0(0x13a)]),le(0x2,a[_0x2e56f0(0x197)]),le(0x3,a[_0x2e56f0(0x159)](exports[_0x2e56f0(0x2f3)])),le(0x4,a[_0x2e56f0(0x159)](ee))],De);var Cn=Object[_0x2e56f0(0x301)],Tn=(_0x2b863e,_0x59a338,_0x177446,_0x6ef84c)=>{var _0x4bcde2=_0x2e56f0;for(var _0x3748c5=_0x6ef84c>0x1?void 0x0:_0x6ef84c?Cn(_0x59a338,_0x177446):_0x59a338,_0x44f413=_0x2b863e[_0x4bcde2(0x297)]-0x1,_0x7162f5;_0x44f413>=0x0;_0x44f413--)(_0x7162f5=_0x2b863e[_0x44f413])&&(_0x3748c5=_0x7162f5(_0x3748c5)||_0x3748c5);return _0x3748c5;},ct=(_0x2393ef,_0x2373d2)=>(_0x47bfc2,_0x35f04f)=>_0x2373d2(_0x47bfc2,_0x35f04f,_0x2393ef);exports[_0x2e56f0(0xa5)]=class{constructor(_0x343b92,_0x58875d){var _0x522c6f=_0x2e56f0;this[_0x522c6f(0x344)]=_0x343b92,this[_0x522c6f(0x201)]=_0x58875d;}async[_0x2e56f0(0x170)](_0x954b0b,_0x5c5b14){var _0x52bd89=_0x2e56f0,_0x3b3045;const {unitID:_0x4aab2f,type:_0x345414,revision:_0x23e8cb=0x0}=_0x5c5b14,_0xb558b0=this[_0x52bd89(0x1c2)]()+'/'+_0x345414+_0x52bd89(0x3af)+_0x4aab2f+_0x52bd89(0x369)+_0x23e8cb,_0x41000d=(await this['_httpService'][_0x52bd89(0xc5)](_0xb558b0))[_0x52bd89(0x1ae)],_0x4f654e=(_0x3b3045=_0x41000d['snapshot'])==null?void 0x0:_0x3b3045['workbook'];if(_0x4f654e){const _0x558d40=_0x4f654e==null?void 0x0:_0x4f654e[_0x52bd89(0x154)],_0x47e238=p[_0x52bd89(0x371)][_0x52bd89(0x2eb)](p[_0x52bd89(0x15b)](_0x558d40));_0x4f654e['originalMeta']=_0x47e238,Object[_0x52bd89(0x130)](_0x4f654e['sheets'])[_0x52bd89(0x229)](([,_0x3212d9])=>{var _0x3d9d91=_0x52bd89;const _0x28e870=_0x3212d9[_0x3d9d91(0x154)],_0x31efa7=p['textEncoder'][_0x3d9d91(0x2eb)](p[_0x3d9d91(0x15b)](_0x28e870));_0x3212d9[_0x3d9d91(0x154)]=_0x31efa7;});}return _0x41000d;}async['getSheetBlock'](_0x1172cb,_0xd583c3){var _0x1df3cd=_0x2e56f0;const {unitID:_0x222393,type:_0x367029,blockID:_0x52e591}=_0xd583c3,_0x185e68=this[_0x1df3cd(0x2cd)]()+'/'+_0x367029+'/unit/'+_0x222393+_0x1df3cd(0x268)+_0x52e591;return(await this[_0x1df3cd(0x201)][_0x1df3cd(0xc5)](_0x185e68))[_0x1df3cd(0x1ae)];}async[_0x2e56f0(0x194)](_0x2e13f7,_0x47e44d){var _0x2955d6=_0x2e56f0;const {unitID:_0x240fa0,type:_0x511669,blockID:_0x7b0d14}=_0x47e44d,_0x241d83=this[_0x2955d6(0x2cd)]()+_0x2955d6(0x268)+_0x511669+_0x2955d6(0x3af)+_0x240fa0+_0x2955d6(0x268)+_0x7b0d14;return(await this[_0x2955d6(0x201)][_0x2955d6(0xc5)](_0x241d83))[_0x2955d6(0x1ae)];}async[_0x2e56f0(0x1f9)](_0xb6be97,_0x2612e0){var _0x449d64=_0x2e56f0;const {unitID:_0x58d603,type:_0x4c414f,from:_0x3f1216,to:_0x22bb9c}=_0x2612e0,_0x447c16=this['_getAPIPrefix']()+'/'+_0x4c414f+_0x449d64(0x3af)+_0x58d603+_0x449d64(0x331)+_0x3f1216+'&to='+_0x22bb9c;return(await this[_0x449d64(0x201)][_0x449d64(0xc5)](_0x447c16))[_0x449d64(0x1ae)];}['getSnapshotAPIPath'](){var _0x2c7a8f=_0x2e56f0,_0x441a86;return(_0x441a86=this['_configService'][_0x2c7a8f(0x38e)](lt))!=null?_0x441a86:this[_0x2c7a8f(0x2cd)]();}[_0x2e56f0(0x2cd)](){var _0x3f41b5=_0x2e56f0,_0x5a5e08,_0x55534a;const _0x4d6a7a=this[_0x3f41b5(0x344)][_0x3f41b5(0x38e)](_t),_0x53df0b=this[_0x3f41b5(0x344)]['getConfig'](G);return(_0x55534a=(_0x5a5e08=_0x53df0b==null?void 0x0:_0x53df0b[_0x3f41b5(0x3e9)])!=null?_0x5a5e08:_0x4d6a7a)!=null?_0x55534a:wt;}async[_0x2e56f0(0xe3)](_0x108f8b,_0xe5dd0b){var _0x2322fd=_0x2e56f0;const _0x4ee7ac=_0x2322fd(0x11d)+_0xe5dd0b[_0x2322fd(0x1ef)]+'/unit/'+_0xe5dd0b[_0x2322fd(0x327)]+_0x2322fd(0x41c);return(await this[_0x2322fd(0x201)][_0x2322fd(0xc5)](_0x4ee7ac,{'params':{'resourceId':JSON[_0x2322fd(0x34f)](_0xe5dd0b[_0x2322fd(0x3f8)])}}))[_0x2322fd(0x1ae)];}[_0x2e56f0(0x352)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e56f0(0x382)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e56f0(0x33b)](){var _0x2a23de=_0x2e56f0;throw new Error(_0x2a23de(0x3e3));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e56f0(0x267)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e56f0(0x105)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x2e56f0(0xa5)]=Tn([ct(0x0,a[_0x2e56f0(0x25b)]),ct(0x1,a[_0x2e56f0(0x159)](K[_0x2e56f0(0xc6)]))],exports['SnapshotServerOverHTTPService']);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x576a00,_0x470349,_0x2520f7,_0x1a680d)=>{for(var _0x54d226=_0x1a680d>0x1?void 0x0:_0x1a680d?bn(_0x470349,_0x2520f7):_0x470349,_0x108a58=_0x576a00['length']-0x1,_0x169b8b;_0x108a58>=0x0;_0x108a58--)(_0x169b8b=_0x576a00[_0x108a58])&&(_0x54d226=_0x169b8b(_0x54d226)||_0x54d226);return _0x54d226;},ue=(_0x3d1e03,_0x43ca6a)=>(_0x5d5ec0,_0x44b0f5)=>_0x43ca6a(_0x5d5ec0,_0x44b0f5,_0x3d1e03);exports[_0x2e56f0(0x24e)]=class extends a[_0x2e56f0(0x2a9)]{constructor(_0x87ac35,_0x10db75,_0xebaa01,_0x20cf49,_0x2c8895){var _0xcf4c91=_0x2e56f0;super(_0x87ac35,_0x10db75,_0xebaa01),this[_0xcf4c91(0x2f8)]=_0x20cf49,this[_0xcf4c91(0x38b)]=_0x2c8895;}[_0x2e56f0(0x228)](_0x304863,_0x159800){var _0xac8b8b=_0x2e56f0;const _0x47358e=this[_0xac8b8b(0x157)](_0x304863);if(_0x47358e)try{const _0x5979f0=this['_transformStack'](_0x47358e,_0x159800);this['_substituteUndoStack'](_0x304863,_0x5979f0);}catch(_0x1821e6){this[_0xac8b8b(0x38b)][_0xac8b8b(0xbd)](_0xac8b8b(0x155),_0x1821e6),this[_0xac8b8b(0x13b)](_0x304863);}const _0x2bb9a8=this[_0xac8b8b(0x26c)](_0x304863);if(_0x2bb9a8)try{const _0x281b3b=this[_0xac8b8b(0x3d5)](_0x2bb9a8,_0x159800);this[_0xac8b8b(0x417)](_0x304863,_0x281b3b);}catch(_0x4f6489){this[_0xac8b8b(0x38b)][_0xac8b8b(0xbd)](_0x4f6489),this[_0xac8b8b(0x3d1)](_0x304863);}}['_clearUndo'](_0x5b02fc){var _0x5b8dfd=_0x2e56f0;const _0x4b6d6e=this[_0x5b8dfd(0x157)](_0x5b02fc);_0x4b6d6e&&(_0x4b6d6e['length']=0x0,this['_updateStatus']());}[_0x2e56f0(0x3d1)](_0x26dd8b){var _0x211024=_0x2e56f0;const _0x441db7=this['_getRedoStack'](_0x26dd8b);_0x441db7&&(_0x441db7[_0x211024(0x297)]=0x0,this[_0x211024(0x40e)]());}[_0x2e56f0(0x1bd)](_0x23ef4b,_0x1b2e37){var _0x3034ae=_0x2e56f0;this[_0x3034ae(0x404)][_0x3034ae(0x233)](_0x23ef4b,_0x1b2e37),this['_updateStatus']();}['_substituteRedoStack'](_0x2b6835,_0x2a4b53){var _0x2bab7c=_0x2e56f0;this['_redoStacks'][_0x2bab7c(0x233)](_0x2b6835,_0x2a4b53),this['_updateStatus']();}[_0x2e56f0(0x3d5)](_0x5496e8,_0x15edbf){var _0x167160=_0x2e56f0;const _0x187a0e=[];let _0x279549=_0x15edbf,_0x1d5bbe=_0x15edbf;for(let _0xb4e817=_0x5496e8[_0x167160(0x297)]-0x1;_0xb4e817>=0x0;_0xb4e817--){const {unitID:_0xacafd2,undoMutations:_0x1bd30c,redoMutations:_0x419039}=_0x5496e8[_0xb4e817],_0x46d18d=this[_0x167160(0x2f8)][_0x167160(0x3f7)](_0x279549,_0x1bd30c),_0x1617e2=this[_0x167160(0x2f8)][_0x167160(0x3f7)](_0x1d5bbe,_0x419039);if(p['isTransformMutationsWithChangesetFailure'](_0x46d18d)||p[_0x167160(0x207)](_0x1617e2)){this[_0x167160(0x38b)][_0x167160(0xbd)](_0x167160(0x155),'transformStack\x20failed!',_0x46d18d,_0x1617e2);break;}_0x279549=_0x46d18d[_0x167160(0x39d)],_0x1d5bbe=_0x1617e2[_0x167160(0x39d)],_0x187a0e[_0x167160(0x1ce)]({'unitID':_0xacafd2,'undoMutations':_0x46d18d[_0x167160(0x328)],'redoMutations':_0x1617e2['m2Prime']});}return _0x187a0e['reverse']();}},exports[_0x2e56f0(0x24e)]=Rn([ue(0x0,a[_0x2e56f0(0x13a)]),ue(0x1,a[_0x2e56f0(0x3a6)]),ue(0x2,a['IContextService']),ue(0x3,p['ITransformService']),ue(0x4,a[_0x2e56f0(0xac)])],exports['CollaborativeUndoRedoService']);var On=Object[_0x2e56f0(0x2b2)],yn=Object[_0x2e56f0(0x301)],Nn=(_0x4d46dd,_0x564850,_0x9d40a0)=>_0x564850 in _0x4d46dd?On(_0x4d46dd,_0x564850,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9d40a0}):_0x4d46dd[_0x564850]=_0x9d40a0,Dn=(_0x894f7,_0x5c4f32,_0x2a2cd4,_0x4b9609)=>{for(var _0x3b7249=_0x4b9609>0x1?void 0x0:_0x4b9609?yn(_0x5c4f32,_0x2a2cd4):_0x5c4f32,_0x19e7d9=_0x894f7['length']-0x1,_0x21daf6;_0x19e7d9>=0x0;_0x19e7d9--)(_0x21daf6=_0x894f7[_0x19e7d9])&&(_0x3b7249=_0x21daf6(_0x3b7249)||_0x3b7249);return _0x3b7249;},Me=(_0x3e8130,_0x36f948)=>(_0x47deaf,_0x9cc9ef)=>_0x36f948(_0x47deaf,_0x9cc9ef,_0x3e8130),Un=(_0xb84d45,_0x41d5a1,_0x4c2e1f)=>Nn(_0xb84d45,_0x41d5a1+'',_0x4c2e1f);const An=_0x2e56f0(0x25f);exports[_0x2e56f0(0x308)]=class extends a[_0x2e56f0(0x2db)]{constructor(_0x2d36b,_0x34c475,_0x5dd95d,_0xa4e4a2){var _0x662190=_0x2e56f0;super(),A(this,'_config'),(this[_0x662190(0x38b)]=_0x34c475,this[_0x662190(0x3c6)]=_0x5dd95d,this[_0x662190(0x344)]=_0xa4e4a2);const {..._0x4abab1}=a[_0x662190(0x29e)]({},Kt,_0x2d36b);if(!_0x4abab1[_0x662190(0xd9)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x662190(0x313)]=_0x4abab1,this[_0x662190(0x344)][_0x662190(0x392)](G,_0x4abab1);}[_0x2e56f0(0x35a)](){var _0x49628a=_0x2e56f0;this[_0x49628a(0x158)](),this['_initDependencies']();}[_0x2e56f0(0x158)](){var _0x44bd11=_0x2e56f0,_0x1f559c,_0x1e6d44;this[_0x44bd11(0x3c6)][_0x44bd11(0x1bc)](a[_0x44bd11(0x2f0)])&&this[_0x44bd11(0x38b)][_0x44bd11(0xbd)](_0x44bd11(0xe7),_0x44bd11(0x231));const _0xdb7a1d=a[_0x44bd11(0x2ea)]([[a[_0x44bd11(0x2f0)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x44bd11(0x2f3)]],[exports[_0x44bd11(0x38a)]],[exports[_0x44bd11(0x1c1)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x44bd11(0x312)]],[He,{'useClass':this['_config'][_0x44bd11(0xd9)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x44bd11(0xa5)]}],[a[_0x44bd11(0x1b0)],{'useClass':exports[_0x44bd11(0x332)]}],[z[_0x44bd11(0x1e4)],{'useClass':exports[_0x44bd11(0x30f)]}],[a[_0x44bd11(0x3d0)],{'useClass':exports[_0x44bd11(0x3c0)]}],[exports[_0x44bd11(0xc8)]],[xe]],(_0x1f559c=this[_0x44bd11(0x313)])==null?void 0x0:_0x1f559c[_0x44bd11(0xb6)]);if(!((_0x1e6d44=this[_0x44bd11(0x313)])!=null&&_0x1e6d44[_0x44bd11(0xd1)])){const _0x1d5640=_0xdb7a1d[_0x44bd11(0x2ee)](([_0x164626])=>_0x164626===de);_0x1d5640!==-0x1&&_0xdb7a1d[_0x44bd11(0x2ce)](_0x1d5640,0x1);}a[_0x44bd11(0x13c)](this[_0x44bd11(0x3c6)],_0xdb7a1d);}['_initDependencies'](){var _0x3e9bbd=_0x2e56f0,_0x257c31,_0x5495fe,_0x50f8bf;this[_0x3e9bbd(0x3c6)]['get'](K[_0x3e9bbd(0xc6)])[_0x3e9bbd(0x2a2)]({'priority':0x14,'interceptor':K[_0x3e9bbd(0x2a1)]({'maxParallel':0x6})}),(_0x257c31=this[_0x3e9bbd(0x313)])!=null&&_0x257c31[_0x3e9bbd(0x2e7)]||(_0x5495fe=this[_0x3e9bbd(0x3c6)][_0x3e9bbd(0xc5)](q,a[_0x3e9bbd(0x245)][_0x3e9bbd(0x1b4)]))==null||_0x5495fe[_0x3e9bbd(0x1ee)](),(_0x50f8bf=this['_config'])!=null&&_0x50f8bf['enableAuthServer']&&a['touchDependencies'](this[_0x3e9bbd(0x3c6)],[[ye]]),a[_0x3e9bbd(0x31b)](this[_0x3e9bbd(0x3c6)],[[Ne],[exports['CollaborationController']],[De]]);}},Un(exports['UniverCollaborationClientPlugin'],_0x2e56f0(0x1f7),An),exports[_0x2e56f0(0x308)]=Dn([a['DependentOn'](p[_0x2e56f0(0x255)],K['UniverNetworkPlugin']),Me(0x1,a[_0x2e56f0(0xac)]),Me(0x2,a[_0x2e56f0(0x159)](a[_0x2e56f0(0x126)])),Me(0x3,a[_0x2e56f0(0x25b)])],exports['UniverCollaborationClientPlugin']),exports[_0x2e56f0(0x372)]=Ve,exports[_0x2e56f0(0x2b4)]=G,exports[_0x2e56f0(0x36e)]=It,exports[_0x2e56f0(0x254)]=ut,exports[_0x2e56f0(0x3d2)]=Be,exports[_0x2e56f0(0x113)]=Z,exports[_0x2e56f0(0x9f)]=ee,exports[_0x2e56f0(0x2c0)]=$e,exports[_0x2e56f0(0x149)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports[_0x2e56f0(0x346)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports[_0x2e56f0(0x1e8)]=ke,exports[_0x2e56f0(0x341)]=He,exports[_0x2e56f0(0x223)]=q,exports[_0x2e56f0(0x1db)]=mt,exports[_0x2e56f0(0x2e2)]=de,exports[_0x2e56f0(0x37c)]=Ft,exports[_0x2e56f0(0x192)]=Bt,exports[_0x2e56f0(0x14b)]=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports[_0x2e56f0(0x2a4)]=ft,exports[_0x2e56f0(0x1ba)]=Mt,exports[_0x2e56f0(0x3fc)]=_t,exports[_0x2e56f0(0x1a0)]=lt,exports['SessionStatus']=re,exports['UnitStatus']=je,exports[_0x2e56f0(0x20a)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x2e56f0(0x112)]=Tt;
1
+ 'use strict';var _0x4611e8=_0x4139;(function(_0x377c44,_0x41d5f3){var _0xcec722=_0x4139,_0x22c2de=_0x377c44();while(!![]){try{var _0x255ba6=parseInt(_0xcec722(0x19f))/0x1+parseInt(_0xcec722(0x1d1))/0x2+-parseInt(_0xcec722(0x289))/0x3+-parseInt(_0xcec722(0x30f))/0x4+-parseInt(_0xcec722(0x15f))/0x5*(-parseInt(_0xcec722(0x1a6))/0x6)+-parseInt(_0xcec722(0x298))/0x7+parseInt(_0xcec722(0x1d9))/0x8;if(_0x255ba6===_0x41d5f3)break;else _0x22c2de['push'](_0x22c2de['shift']());}catch(_0x297e12){_0x22c2de['push'](_0x22c2de['shift']());}}}(_0xcb18,0x9e73e));var Ut=Object['defineProperty'],At=(_0x3f1a56,_0x5748ec,_0x4554ab)=>_0x5748ec in _0x3f1a56?Ut(_0x3f1a56,_0x5748ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4554ab}):_0x3f1a56[_0x5748ec]=_0x4554ab,A=(_0x5b8052,_0x9bc2d1,_0x40b8dd)=>At(_0x5b8052,typeof _0x9bc2d1!=_0x4611e8(0x455)?_0x9bc2d1+'':_0x9bc2d1,_0x40b8dd);Object['defineProperty'](exports,Symbol[_0x4611e8(0x326)],{'value':'Module'});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x4611e8(0x1ad),wt=_0x4611e8(0x337),lt=_0x4611e8(0x1a2),Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x4611e8(0x24f),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x4611e8(0x26c),vt=_0x4611e8(0x2fb),Ht=0x7530,ke=_0x4611e8(0x1f3),St=0x4e20,$t=0x4e20,ft=_0x4611e8(0x385),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,It=_0x4611e8(0x3ab),Vt=_0x4611e8(0x2c0),pt=_0x4611e8(0x21a),Wt=_0x4611e8(0x377),Yt=_0x4611e8(0x1fe),Gt=_0x4611e8(0x294);var gt=(_0x2f5393=>(_0x2f5393[_0x2f5393[_0x4611e8(0x393)]=0x0]=_0x4611e8(0x393),_0x2f5393[_0x2f5393['OK']=0x1]='OK',_0x2f5393[_0x2f5393[_0x4611e8(0x3a7)]=0x2]=_0x4611e8(0x3a7),_0x2f5393[_0x2f5393[_0x4611e8(0x152)]=0x3]=_0x4611e8(0x152),_0x2f5393[_0x2f5393['NOT_FOUND']=0x4]='NOT_FOUND',_0x2f5393[_0x2f5393[_0x4611e8(0x19a)]=0x5]=_0x4611e8(0x19a),_0x2f5393[_0x2f5393[_0x4611e8(0x124)]=0x6]=_0x4611e8(0x124),_0x2f5393[_0x2f5393[_0x4611e8(0x478)]=0x7]=_0x4611e8(0x478),_0x2f5393[_0x2f5393[_0x4611e8(0x3cd)]=0x8]=_0x4611e8(0x3cd),_0x2f5393[_0x2f5393['COMPLETION_FINISHED']=0x9]=_0x4611e8(0x432),_0x2f5393[_0x2f5393[_0x4611e8(0x2be)]=0xa]=_0x4611e8(0x2be),_0x2f5393[_0x2f5393[_0x4611e8(0x29e)]=0xb]=_0x4611e8(0x29e),_0x2f5393[_0x2f5393['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4611e8(0x1c7),_0x2f5393[_0x2f5393[_0x4611e8(0x196)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f5393[_0x2f5393[_0x4611e8(0x42a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2f5393[_0x2f5393['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4611e8(0x1de),_0x2f5393[_0x2f5393['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4611e8(0x3a2),_0x2f5393[_0x2f5393[_0x4611e8(0x149)]=0x1772]=_0x4611e8(0x149),_0x2f5393[_0x2f5393[_0x4611e8(0x41c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f5393[_0x2f5393[_0x4611e8(0x3bf)]=0x1b59]='APPLY_REJECT',_0x2f5393[_0x2f5393[_0x4611e8(0x2c7)]=0x1b5a]=_0x4611e8(0x2c7),_0x2f5393[_0x2f5393[_0x4611e8(0x34a)]=0x1b5b]=_0x4611e8(0x34a),_0x2f5393[_0x2f5393[_0x4611e8(0x45a)]=0x1b5c]=_0x4611e8(0x45a),_0x2f5393[_0x2f5393[_0x4611e8(0x43e)]=0x1b5d]=_0x4611e8(0x43e),_0x2f5393[_0x2f5393[_0x4611e8(0x22c)]=0x1f41]=_0x4611e8(0x22c),_0x2f5393[_0x2f5393[_0x4611e8(0x42b)]=0x2329]=_0x4611e8(0x42b),_0x2f5393[_0x2f5393[_0x4611e8(0x25e)]=0x232a]=_0x4611e8(0x25e),_0x2f5393[_0x2f5393['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f5393[_0x2f5393['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4611e8(0x246),_0x2f5393[_0x2f5393[_0x4611e8(0x348)]=0x232d]=_0x4611e8(0x348),_0x2f5393[_0x2f5393[_0x4611e8(0x271)]=0x2711]=_0x4611e8(0x271),_0x2f5393[_0x2f5393[_0x4611e8(0x34f)]=0x2712]=_0x4611e8(0x34f),_0x2f5393[_0x2f5393[_0x4611e8(0x453)]=0x2713]=_0x4611e8(0x453),_0x2f5393[_0x2f5393['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4611e8(0x217),_0x2f5393[_0x2f5393[_0x4611e8(0x430)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2f5393[_0x2f5393['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4611e8(0x32a),_0x2f5393[_0x2f5393['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4611e8(0x2e3),_0x2f5393[_0x2f5393[_0x4611e8(0x32f)]=0x271d]=_0x4611e8(0x32f),_0x2f5393[_0x2f5393[_0x4611e8(0x472)]=0x271e]=_0x4611e8(0x472),_0x2f5393[_0x2f5393['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4611e8(0x274),_0x2f5393[_0x2f5393[_0x4611e8(0x3b5)]=0x2720]=_0x4611e8(0x3b5),_0x2f5393[_0x2f5393[_0x4611e8(0x2ce)]=0x2af9]=_0x4611e8(0x2ce),_0x2f5393[_0x2f5393[_0x4611e8(0x405)]=0x2ee1]=_0x4611e8(0x405),_0x2f5393[_0x2f5393[_0x4611e8(0x29d)]=0x2ee2]=_0x4611e8(0x29d),_0x2f5393[_0x2f5393['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4611e8(0x328),_0x2f5393[_0x2f5393[_0x4611e8(0x145)]=0x2ee4]=_0x4611e8(0x145),_0x2f5393[_0x2f5393['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4611e8(0x2ba),_0x2f5393[_0x2f5393[_0x4611e8(0x356)]=0x32c9]=_0x4611e8(0x356),_0x2f5393[_0x2f5393['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4611e8(0x32e),_0x2f5393[_0x2f5393[_0x4611e8(0x379)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f5393[_0x2f5393[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x2f5393))(gt||{}),J=(_0x7a0e30=>(_0x7a0e30[_0x7a0e30[_0x4611e8(0x167)]=0x0]='UNIVER_UNKNOWN',_0x7a0e30[_0x7a0e30[_0x4611e8(0x2c8)]=0x1]=_0x4611e8(0x2c8),_0x7a0e30[_0x7a0e30[_0x4611e8(0x1c8)]=0x2]='UNIVER_SHEET',_0x7a0e30[_0x7a0e30[_0x4611e8(0x17a)]=0x3]='UNIVER_SLIDE',_0x7a0e30[_0x7a0e30[_0x4611e8(0x153)]=0x4]=_0x4611e8(0x153),_0x7a0e30[_0x7a0e30['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x7a0e30))(J||{}),W=(_0x15c0cb=>(_0x15c0cb[_0x15c0cb[_0x4611e8(0x285)]=0x0]=_0x4611e8(0x285),_0x15c0cb[_0x15c0cb[_0x4611e8(0x3df)]=0x1]=_0x4611e8(0x3df),_0x15c0cb[_0x15c0cb['JOIN']=0x2]=_0x4611e8(0x36b),_0x15c0cb[_0x15c0cb[_0x4611e8(0x13c)]=0x3]=_0x4611e8(0x13c),_0x15c0cb[_0x15c0cb[_0x4611e8(0x134)]=0x4]=_0x4611e8(0x134),_0x15c0cb[_0x15c0cb[_0x4611e8(0x1ee)]=0x5]=_0x4611e8(0x1ee),_0x15c0cb[_0x15c0cb[_0x4611e8(0x1f1)]=0x6]='RECV',_0x15c0cb[_0x15c0cb['UNRECOGNIZED']=-0x1]=_0x4611e8(0x37a),_0x15c0cb))(W||{}),oe=(_0x1aaa9e=>(_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x3fb)]=0x0]='UNKNOWN_CODE',_0x1aaa9e[_0x1aaa9e['OK']=0x1]='OK',_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x13e)]=0x2]=_0x4611e8(0x13e),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x23f)]=0x3e9]='JOIN_ROOM_FULL',_0x1aaa9e[_0x1aaa9e['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x38b)]=0x3eb]=_0x4611e8(0x38b),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x363)]=0x3ec]=_0x4611e8(0x363),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x1aaa9e))(oe||{}),Et=(_0x7e40b0=>(_0x7e40b0[_0x7e40b0[_0x4611e8(0x2dd)]=0x0]=_0x4611e8(0x2dd),_0x7e40b0[_0x7e40b0[_0x4611e8(0x3f7)]=0x1]=_0x4611e8(0x3f7),_0x7e40b0[_0x7e40b0[_0x4611e8(0x3d0)]=0x2]=_0x4611e8(0x3d0),_0x7e40b0[_0x7e40b0[_0x4611e8(0x2b2)]=0x3]=_0x4611e8(0x2b2),_0x7e40b0[_0x7e40b0[_0x4611e8(0x481)]=0x4]=_0x4611e8(0x481),_0x7e40b0[_0x7e40b0[_0x4611e8(0x2ed)]=0x5]=_0x4611e8(0x2ed),_0x7e40b0[_0x7e40b0[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x7e40b0))(Et||{});const G=_0x4611e8(0x117),Kt={};var Z=(_0x2ba459=>(_0x2ba459['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x2ba459['PERMISSION_DENIED']=_0x4611e8(0x152),_0x2ba459[_0x4611e8(0x36d)]='CONFLICT',_0x2ba459[_0x4611e8(0x38d)]=_0x4611e8(0x38d),_0x2ba459[_0x4611e8(0x221)]=_0x4611e8(0x221),_0x2ba459[_0x4611e8(0x41a)]='SOCKET_FAILED_RETRY',_0x2ba459[_0x4611e8(0x418)]=_0x4611e8(0x418),_0x2ba459[_0x4611e8(0x417)]=_0x4611e8(0x417),_0x2ba459))(Z||{});class ee{constructor(){var _0x45665a=_0x4611e8;A(this,_0x45665a(0x1f7),new $[(_0x45665a(0x419))]()),A(this,_0x45665a(0x1fc),this[_0x45665a(0x1f7)][_0x45665a(0x2fd)]());}[_0x4611e8(0x14e)](_0x15c0a6){var _0x4a30ec=_0x4611e8;this[_0x4a30ec(0x1f7)][_0x4a30ec(0x244)](_0x15c0a6);}}const mt=a[_0x4611e8(0x12d)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x1a52eb){var _0x18e67a=_0x4611e8,_0x914de1,_0x43052a,_0x2ada14,_0x5a7057,_0x4eebf0;const _0x49d29b=_0x1a52eb['data'],_0x41304d=JSON[_0x18e67a(0x14c)](_0x49d29b);switch(_0x41304d['cmd']){case W[_0x18e67a(0x1ee)]:case W[_0x18e67a(0x3df)]:{const _0xe9a7ba=_0x41304d['infoRsp'];return{..._0x41304d,'data':_0xe9a7ba,'cmd':_0x41304d['cmd']};}case W[_0x18e67a(0x36b)]:{const _0x317b07=_0x41304d[_0x18e67a(0x22a)];return{..._0x41304d,'data':_0x317b07,'cmd':_0x41304d['cmd']};}case W[_0x18e67a(0x1f1)]:{const _0x260676=_0x41304d['collaMsg'];switch(_0x260676[_0x18e67a(0x126)]){case p[_0x18e67a(0x399)][_0x18e67a(0x382)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x914de1=_0x260676[_0x18e67a(0x43a)])==null?void 0x0:_0x914de1['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x427)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x43052a=_0x260676['csAckEvent'])==null?void 0x0:_0x43052a['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x35b)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x2ada14=_0x260676[_0x18e67a(0x2f4)])==null?void 0x0:_0x2ada14['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x28b)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x5a7057=_0x260676[_0x18e67a(0x3fc)])==null?void 0x0:_0x5a7057['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p['CollaborationEvent'][_0x18e67a(0x410)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x4eebf0=_0x260676['csShouldRetryEvent'])==null?void 0x0:_0x4eebf0['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x1b1)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x235)]},'cmd':_0x41304d['cmd']};case p['CollaborationEvent'][_0x18e67a(0x194)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x191)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['USERS_LEAVE']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['leaveEvent']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x3c7)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x371)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['LIVESHARE_FETCH_OPERATIONS']:case p[_0x18e67a(0x399)]['LIVESHARE_OPERATION']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['liveShareOperation']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x130)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['liveShareNewHost']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x3ad)]:return{..._0x41304d,'data':_0x260676,'cmd':_0x41304d['cmd']};case p[_0x18e67a(0x399)][_0x18e67a(0x35e)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x1cb)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['UPDATE_PERMISSION_OBJ']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['updatePermissionObjEvent']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x2c5)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['shouldCloseConn']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x13d)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x3eb)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};default:return _0x41304d;}}default:return _0x41304d;}}function Tt(_0x431ea6){var _0x36d83d=_0x4611e8;switch(_0x431ea6[_0x36d83d(0x3f8)]){case W[_0x36d83d(0x1ee)]:case W[_0x36d83d(0x3df)]:return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6[_0x36d83d(0x3f8)],'routeKey':_0x431ea6[_0x36d83d(0x2b6)]});case W[_0x36d83d(0x134)]:{let _0x5ce0f3;switch(_0x431ea6[_0x36d83d(0x33e)]['eventID']){case p[_0x36d83d(0x399)][_0x36d83d(0x1b1)]:{_0x5ce0f3={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x408)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x408)],'leaveEvent':_0x431ea6[_0x36d83d(0x33e)]['data']};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x194)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x194)],'joinEvent':_0x431ea6['data'][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x3c7)]:{_0x5ce0f3={'eventID':p['CollaborationEvent'][_0x36d83d(0x3c7)],'liveShareNewHost':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x476)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x130)]:{_0x5ce0f3={'eventID':p['CollaborationEvent'][_0x36d83d(0x130)],'liveShareTerminate':_0x431ea6[_0x36d83d(0x33e)]['data']};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x207)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x207)],'liveShareRequestHost':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x2aa)]};break;}default:_0x5ce0f3={'eventID':_0x431ea6[_0x36d83d(0x33e)]['eventID']};}return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6['cmd'],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'collaMsg':_0x5ce0f3});}case W[_0x36d83d(0x36b)]:return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6[_0x36d83d(0x3f8)],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'joinReq':_0x431ea6[_0x36d83d(0x33e)]});case W[_0x36d83d(0x13c)]:return JSON['stringify']({'cmd':_0x431ea6['cmd'],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'leaveReq':_0x431ea6['data']});default:throw new Error(_0x36d83d(0x127));}}var qt=Object[_0x4611e8(0x1b5)],zt=(_0x751335,_0x1a54a1,_0x5143de,_0x444eeb)=>{for(var _0x26507e=_0x444eeb>0x1?void 0x0:_0x444eeb?qt(_0x1a54a1,_0x5143de):_0x1a54a1,_0x235049=_0x751335['length']-0x1,_0x387036;_0x235049>=0x0;_0x235049--)(_0x387036=_0x751335[_0x235049])&&(_0x26507e=_0x387036(_0x26507e)||_0x26507e);return _0x26507e;},_e=(_0x18b4e9,_0x5e5f53)=>(_0x3e6d07,_0x41befc)=>_0x5e5f53(_0x3e6d07,_0x41befc,_0x18b4e9);const He=a[_0x4611e8(0x12d)](_0x4611e8(0x260));function Jt(_0x4717d7,_0x13a429,_0x214939){var _0x1bc231=_0x4611e8;return _0x4717d7+'/'+_0x13a429+_0x1bc231(0x38c)+_0x214939+_0x1bc231(0x302);}exports[_0x4611e8(0x2f9)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x301fe9,_0x425561,_0x40bdba,_0x2db8ef,_0x9e43dc){var _0x41ce4d=_0x4611e8;super(),this[_0x41ce4d(0x390)]=_0x301fe9,this[_0x41ce4d(0x48d)]=_0x425561,this[_0x41ce4d(0x290)]=_0x40bdba,this[_0x41ce4d(0x47b)]=_0x2db8ef,this[_0x41ce4d(0x164)]=_0x9e43dc;}[_0x4611e8(0x2a7)](_0x27418e){var _0x54dd3f=_0x4611e8;const _0x1bc2e1=this[_0x54dd3f(0x390)][_0x54dd3f(0x306)](K['ISocketService']);if(!_0x1bc2e1)throw new Error(_0x54dd3f(0x190));const _0x59b5bf=_0x1bc2e1[_0x54dd3f(0x26d)](_0x27418e);if(!_0x59b5bf)throw new Error(_0x54dd3f(0x330));const _0x29e4a1=new a['DisposableCollection'](),_0xc4f4e7=new $['Subject']();_0x29e4a1['add'](_0x59b5bf[_0x54dd3f(0x386)][_0x54dd3f(0x46a)](_0x3ea43b=>_0xc4f4e7[_0x54dd3f(0x244)](_0x3ea43b))),_0x29e4a1['add'](a[_0x54dd3f(0x2f7)](()=>_0xc4f4e7[_0x54dd3f(0x305)]()));const _0x3bdd90=new $['Subject']();_0x29e4a1[_0x54dd3f(0x2d2)](_0x59b5bf[_0x54dd3f(0x424)]['subscribe'](_0x303a07=>_0x3bdd90['next'](_0x303a07))),_0x29e4a1[_0x54dd3f(0x2d2)](a[_0x54dd3f(0x2f7)](()=>_0x3bdd90[_0x54dd3f(0x305)]()));const _0x4f18ec=new $[(_0x54dd3f(0x419))]();_0x29e4a1[_0x54dd3f(0x2d2)](_0x59b5bf['message$']['subscribe'](_0x17b8cd=>{const _0x3b38a7=Ct(_0x17b8cd);_0x4f18ec['next'](_0x3b38a7);})),_0x29e4a1[_0x54dd3f(0x2d2)](a[_0x54dd3f(0x2f7)](()=>_0x4f18ec[_0x54dd3f(0x305)]()));let _0x13cd43;const _0x49f7cb=()=>{var _0x1a91d0=_0x54dd3f;_0x3bdd90[_0x1a91d0(0x244)](new Event(_0x1a91d0(0x378))),_0xc4f4e7[_0x1a91d0(0x244)](new Event('connection\x20error')),_0x13cd43['close']();};return _0x13cd43={'memberID':'','close$':_0xc4f4e7[_0x54dd3f(0x2fd)](),'error$':_0x3bdd90[_0x54dd3f(0x2fd)](),'open$':_0x59b5bf[_0x54dd3f(0x1fb)],'message$':_0x4f18ec[_0x54dd3f(0x2fd)](),'send':_0x41c49=>{var _0x5125ba=_0x54dd3f;if(_0x41c49[_0x5125ba(0x3f8)]===W[_0x5125ba(0x134)]){if(_0x41c49[_0x5125ba(0x33e)][_0x5125ba(0x126)]===p[_0x5125ba(0x399)][_0x5125ba(0x407)]){this[_0x5125ba(0x466)](_0x13cd43,_0x41c49['data'])[_0x5125ba(0x343)](_0x3436bb=>{var _0x47b7b4=_0x5125ba;this['_logService'][_0x47b7b4(0x2b8)](_0x3436bb),_0x49f7cb();});return;}if(_0x41c49[_0x5125ba(0x33e)][_0x5125ba(0x126)]===p['CollaborationEvent'][_0x5125ba(0x42f)]){const _0x3c57a4=_0x41c49['data'];this[_0x5125ba(0x3f3)](_0x3c57a4)['then'](_0x6b4b3e=>{var _0x1cf627=_0x5125ba;_0x4f18ec['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x3c57a4[_0x1cf627(0x33e)][_0x1cf627(0x39e)],'routeType':'','data':{'eventID':p[_0x1cf627(0x399)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x6b4b3e}}});})['catch'](_0x562971=>{var _0x10836b=_0x5125ba;this[_0x10836b(0x47b)][_0x10836b(0x2b8)](_0x562971),_0x49f7cb();});return;}}_0x59b5bf[_0x5125ba(0x269)](Tt(_0x41c49));},'close':()=>{var _0x4e7fc7=_0x54dd3f;_0x59b5bf[_0x4e7fc7(0x336)](),_0x29e4a1[_0x4e7fc7(0x48c)]();}},_0x13cd43;}async[_0x4611e8(0x466)](_0x5157bc,_0x1134f6){var _0x179eb4=_0x4611e8,_0x529a57,_0x5e354a;const {unitType:_0x41d7e8,unitID:_0x1181ee,changeset:_0x3542f1}=_0x1134f6['data'],_0x3bbc99={'unitID':_0x1181ee,'memberID':_0x5157bc['memberID'],'type':_0x41d7e8,'changeset':p[_0x179eb4(0x403)](_0x3542f1)},_0x183d20=this[_0x179eb4(0x290)]['getConfig'](It),_0x26230a=this[_0x179eb4(0x290)]['getConfig'](G),_0x28c7ae=Jt((_0x5e354a=(_0x529a57=_0x26230a==null?void 0x0:_0x26230a[_0x179eb4(0x2c2)])!=null?_0x529a57:_0x183d20)!=null?_0x5e354a:Vt,_0x41d7e8,_0x1181ee);try{await this[_0x179eb4(0x48d)][_0x179eb4(0x12a)](_0x28c7ae,{'body':_0x3bbc99});}catch(_0x1390b1){throw this[_0x179eb4(0x47b)][_0x179eb4(0x2b8)](_0x179eb4(0x334),_0x179eb4(0x128)),_0x1390b1;}}async[_0x4611e8(0x3f3)](_0x45d0b9){var _0x43d432=_0x4611e8;const {unitID:_0x3939ab,from:_0x42abce,to:_0x444a2b,unitType:_0x534758}=_0x45d0b9[_0x43d432(0x33e)];return(await this[_0x43d432(0x164)][_0x43d432(0x36a)]({'metadata':void 0x0},{'unitID':_0x3939ab,'type':_0x534758,'from':_0x42abce,'to':_0x444a2b}))[_0x43d432(0x1d0)];}},exports[_0x4611e8(0x2f9)]=zt([_e(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),_e(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)])),_e(0x2,a[_0x4611e8(0x335)]),_e(0x3,a[_0x4611e8(0x2a6)]),_e(0x4,p[_0x4611e8(0x413)])],exports[_0x4611e8(0x2f9)]);const Xt=_0x4611e8(0x237);function Zt(_0xac0e7a){var _0x1294b4=_0x4611e8;return JSON[_0x1294b4(0x37b)](_0xac0e7a)[_0x1294b4(0x479)];}class $e{constructor(){var _0x396720=_0x4611e8;A(this,_0x396720(0x19c),new $['Subject']()),A(this,_0x396720(0x1ec),this[_0x396720(0x19c)]['asObservable']());}[_0x4611e8(0x181)](_0x51a246){var _0x35ed6a=_0x4611e8;this[_0x35ed6a(0x19c)][_0x35ed6a(0x244)](_0x51a246);}}var Qt=Object[_0x4611e8(0x1b5)],ei=(_0x4185e5,_0x53dae5,_0x4f3f6c,_0x233ce9)=>{var _0x1c8782=_0x4611e8;for(var _0x53dced=_0x233ce9>0x1?void 0x0:_0x233ce9?Qt(_0x53dae5,_0x4f3f6c):_0x53dae5,_0x213ced=_0x4185e5[_0x1c8782(0x479)]-0x1,_0x39132a;_0x213ced>=0x0;_0x213ced--)(_0x39132a=_0x4185e5[_0x213ced])&&(_0x53dced=_0x39132a(_0x53dced)||_0x53dced);return _0x53dced;},We=(_0x3a5e8b,_0x35d359)=>(_0x39efd5,_0xcbd487)=>_0x35d359(_0x39efd5,_0xcbd487,_0x3a5e8b);exports[_0x4611e8(0x1bd)]=class extends a['Disposable']{constructor(_0x1493f3,_0x3df8a2){var _0x29fcdb=_0x4611e8;super(),A(this,_0x29fcdb(0x3b1),new Map()),A(this,_0x29fcdb(0x162),new $[(_0x29fcdb(0x419))]()),(this[_0x29fcdb(0x322)]=_0x1493f3,this[_0x29fcdb(0x3b6)]=_0x3df8a2,this[_0x29fcdb(0x1b8)]($['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x29fcdb(0x31f)][_0x29fcdb(0x1c8)])[_0x29fcdb(0x121)](V['map'](_0x2a693d=>_0x2a693d['getUnitId']())),this[_0x29fcdb(0x322)][_0x29fcdb(0x41f)](a['UniverInstanceType'][_0x29fcdb(0x2c8)])[_0x29fcdb(0x121)](V[_0x29fcdb(0x353)](_0x2cef99=>_0x2cef99[_0x29fcdb(0x13b)]())),this[_0x29fcdb(0x322)][_0x29fcdb(0x41f)](a[_0x29fcdb(0x31f)][_0x29fcdb(0x17a)])[_0x29fcdb(0x121)](V[_0x29fcdb(0x353)](_0x285b34=>_0x285b34[_0x29fcdb(0x13b)]())))[_0x29fcdb(0x46a)](_0x4b9bfb=>this['_removeRoom'](_0x4b9bfb))));}[_0x4611e8(0x15d)](_0x15d38f){var _0x2f8d0e=_0x4611e8;return this[_0x2f8d0e(0x3b1)][_0x2f8d0e(0x384)](_0x15d38f)?$['of'](this[_0x2f8d0e(0x3b1)][_0x2f8d0e(0x306)](_0x15d38f)):this[_0x2f8d0e(0x162)]['pipe'](V[_0x2f8d0e(0x353)](_0x5a0ceb=>{var _0x37960a=_0x2f8d0e;if(_0x5a0ceb===_0x15d38f)return this[_0x37960a(0x3b1)][_0x37960a(0x306)](_0x5a0ceb);}));}['setCurrentUser'](_0x288ac2){var _0x44f105=_0x4611e8;this['_userManagerService'][_0x44f105(0x339)](_0x288ac2);}[_0x4611e8(0x45e)](){return this['_userManagerService']['getCurrentUser']();}[_0x4611e8(0x31c)](_0x400f6b,_0x3804a4){var _0x1c0e46=_0x4611e8;let _0x4c4d55=this[_0x1c0e46(0x3b1)][_0x1c0e46(0x306)](_0x400f6b);_0x4c4d55||(_0x4c4d55=new ti(),this[_0x1c0e46(0x3b1)]['set'](_0x400f6b,_0x4c4d55),this['_roomCreated$']['next'](_0x400f6b)),_0x4c4d55[_0x1c0e46(0x31c)](_0x3804a4);}[_0x4611e8(0x1d5)](_0xfc65a6,_0x453592){var _0xd02e6a=_0x4611e8;const _0x23596a=this[_0xd02e6a(0x3b1)]['get'](_0xfc65a6);_0x23596a&&_0x23596a['removeMember'](_0x453592);}[_0x4611e8(0x176)](_0x401f5e){var _0x2cb539=_0x4611e8;return this[_0x2cb539(0x3b1)][_0x2cb539(0x306)](_0x401f5e);}[_0x4611e8(0x14d)](_0x17f504,_0x3b0ae8){const _0x5983b0=this['_roomMembers']['get'](_0x17f504);if(_0x5983b0)return _0x5983b0['getMember'](_0x3b0ae8);}[_0x4611e8(0x367)](_0x150d54){var _0x13ebda=_0x4611e8;const _0x233487=this[_0x13ebda(0x3b1)][_0x13ebda(0x306)](_0x150d54);_0x233487&&(_0x233487[_0x13ebda(0x48c)](),this[_0x13ebda(0x3b1)]['delete'](_0x150d54));}[_0x4611e8(0x48c)](){var _0x26e002=_0x4611e8;this['_roomMembers'][_0x26e002(0x333)](_0x380539=>_0x380539[_0x26e002(0x48c)]()),this[_0x26e002(0x3b1)][_0x26e002(0x139)](),this[_0x26e002(0x162)][_0x26e002(0x305)]();}},exports[_0x4611e8(0x1bd)]=ei([We(0x0,a[_0x4611e8(0x227)]),We(0x1,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x123)]))],exports[_0x4611e8(0x1bd)]);class ti extends a['Disposable']{constructor(){var _0x4045de=_0x4611e8;super(...arguments),A(this,_0x4045de(0x449),new Map()),A(this,'_members$',new $[(_0x4045de(0x3c0))](this['_members'])),A(this,_0x4045de(0x20c),this[_0x4045de(0x44c)][_0x4045de(0x2fd)]());}[_0x4611e8(0x48c)](){var _0x29dfb2=_0x4611e8;this['_members'][_0x29dfb2(0x139)]();}[_0x4611e8(0x31c)](_0x2b3001){var _0x39817b=_0x4611e8;this['_members'][_0x39817b(0x175)](_0x2b3001[_0x39817b(0x372)],_0x2b3001),this[_0x39817b(0x3ac)]();}[_0x4611e8(0x1d5)](_0x45a6c8){var _0x17050f=_0x4611e8;this[_0x17050f(0x449)]['delete'](_0x45a6c8);}[_0x4611e8(0x14d)](_0x50cba5){var _0x404f85=_0x4611e8;return this[_0x404f85(0x449)][_0x404f85(0x306)](_0x50cba5);}[_0x4611e8(0x406)](){var _0x161fe4=_0x4611e8;return Array[_0x161fe4(0x465)](this['_members']['values']());}[_0x4611e8(0x3ac)](){var _0x46a89a=_0x4611e8;this['_members$'][_0x46a89a(0x244)](this['_members']);}}var ii=Object[_0x4611e8(0x1b5)],ni=(_0x260775,_0x3bf982,_0x33efdd,_0x53cf66)=>{var _0x466338=_0x4611e8;for(var _0x55d31e=_0x53cf66>0x1?void 0x0:_0x53cf66?ii(_0x3bf982,_0x33efdd):_0x3bf982,_0x3a5221=_0x260775[_0x466338(0x479)]-0x1,_0x54c734;_0x3a5221>=0x0;_0x3a5221--)(_0x54c734=_0x260775[_0x3a5221])&&(_0x55d31e=_0x54c734(_0x55d31e)||_0x55d31e);return _0x55d31e;},se=(_0x4629d4,_0x3cd187)=>(_0x45a3ca,_0x46bb0d)=>_0x3cd187(_0x45a3ca,_0x46bb0d,_0x4629d4),re=(_0x3ec76d=>(_0x3ec76d[_0x3ec76d[_0x4611e8(0x12b)]=0x0]=_0x4611e8(0x12b),_0x3ec76d[_0x3ec76d['JOINING']=0x1]=_0x4611e8(0x3cc),_0x3ec76d[_0x3ec76d['OFFLINE']=0x2]=_0x4611e8(0x284),_0x3ec76d[_0x3ec76d[_0x4611e8(0x3d8)]=0x3]=_0x4611e8(0x3d8),_0x3ec76d))(re||{});const Ye={[oe[_0x4611e8(0x13e)]]:'session.join-failed',[oe[_0x4611e8(0x23f)]]:_0x4611e8(0x2e4),[oe[_0x4611e8(0x3c9)]]:_0x4611e8(0x33d),[oe[_0x4611e8(0x38b)]]:'session.room-permission-denied',[oe[_0x4611e8(0x363)]]:_0x4611e8(0x177)};exports[_0x4611e8(0x3d7)]=class extends a['RxDisposable']{constructor(_0x1c3920,_0x3d9916,_0x52e14e,_0xf69f57,_0x4b055a,_0x42a854,_0x3ce717,_0x3dc41e,_0x342ecd){var _0x20398b=_0x4611e8;super(),A(this,_0x20398b(0x2b7),new $[(_0x20398b(0x3c0))](0x0)),A(this,'sessionStatus$',this[_0x20398b(0x2b7)][_0x20398b(0x2fd)]()),A(this,_0x20398b(0x1f7),new $['Subject']()),A(this,_0x20398b(0x1fc),this[_0x20398b(0x1f7)][_0x20398b(0x2fd)]()),A(this,_0x20398b(0x295)),A(this,_0x20398b(0x41e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x20398b(0x125),!0x1),A(this,_0x20398b(0x136),null),(this[_0x20398b(0x2f0)]=_0x1c3920,this[_0x20398b(0x47b)]=_0x52e14e,this[_0x20398b(0x290)]=_0xf69f57,this[_0x20398b(0x286)]=_0x4b055a,this[_0x20398b(0x36c)]=_0x42a854,this[_0x20398b(0x219)]=_0x3ce717,this[_0x20398b(0x31d)]=_0x3dc41e,this[_0x20398b(0x24a)]=_0x342ecd,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x3d9916[_0x20398b(0x121)]($[_0x20398b(0x11d)](this[_0x20398b(0x1f9)]))[_0x20398b(0x46a)](_0x13affa=>{var _0x2606a6=_0x20398b,_0x3c7e86;typeof _0x13affa>'u'||(this[_0x2606a6(0x295)]=_0x13affa,_0x13affa?(this['_joinRoom'](_0x13affa),this['_socketMessageSubscription']=_0x13affa[_0x2606a6(0x2c1)][_0x2606a6(0x46a)](_0x3cf451=>{var _0x165684=_0x2606a6;_0x3cf451[_0x165684(0x2b6)]===this[_0x165684(0x2f0)]&&this[_0x165684(0x450)](_0x3cf451);})):(this[_0x2606a6(0x20e)](),this['_sessionStatus$'][_0x2606a6(0x244)](0x2),(_0x3c7e86=this[_0x2606a6(0x41e)])==null||_0x3c7e86['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x35d361=_0x4611e8;return this['_sessionStatus$'][_0x35d361(0x1a3)]();}[_0x4611e8(0x24e)](){var _0x46f38c=_0x4611e8,_0xcba822,_0x1f2584;return(_0x1f2584=(_0xcba822=this[_0x46f38c(0x295)])==null?void 0x0:_0xcba822['memberID'])!=null?_0x1f2584:null;}[_0x4611e8(0x48c)](){var _0x53ab14=_0x4611e8;super[_0x53ab14(0x48c)](),this[_0x53ab14(0x1f9)]['next'](),this[_0x53ab14(0x1f9)][_0x53ab14(0x305)]();}[_0x4611e8(0x336)](){var _0x303b18=_0x4611e8,_0x61e77c,_0x310b54;this['_throwTelemetryCollaborationNewChangeset'](),(_0x61e77c=this[_0x303b18(0x295)])==null||_0x61e77c[_0x303b18(0x269)]({'cmd':W[_0x303b18(0x13c)],'data':{'roomID':this[_0x303b18(0x2f0)]}}),(_0x310b54=this[_0x303b18(0x295)])==null||_0x310b54['close'](),this[_0x303b18(0x1f7)]['complete'](),this[_0x303b18(0x2b7)][_0x303b18(0x305)](),this[_0x303b18(0x48c)]();}['_onCombEvent'](_0x2fdec2){var _0x4afc10=_0x4611e8;_0x2fdec2[_0x4afc10(0x3f8)]===W['JOIN']?this[_0x4afc10(0x3e4)](_0x2fdec2):_0x2fdec2[_0x4afc10(0x3f8)]===W[_0x4afc10(0x1f1)]&&this[_0x4afc10(0x21c)](_0x2fdec2);}['_joinRoom'](_0x3b9b3a){var _0x166648=_0x4611e8;this['_sessionStatus$'][_0x166648(0x244)](0x1),_0x3b9b3a[_0x166648(0x269)]({'cmd':W[_0x166648(0x36b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x166648(0x2f0)]}]}});}['_onJoinRoomEvent'](_0x8b7260){var _0x48794b=_0x4611e8,_0x4f00ad;if(_0x8b7260[_0x48794b(0x220)]in Ye){this['_collaborationUIEventService'][_0x48794b(0x14e)]({'id':Z[_0x48794b(0x221)],'data':Ye[_0x8b7260[_0x48794b(0x220)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3b24e7=(_0x4f00ad=_0x8b7260[_0x48794b(0x33e)]['roomInfos'][this[_0x48794b(0x2f0)]])==null?void 0x0:_0x4f00ad[_0x48794b(0x459)];_0x3b24e7&&_0x3b24e7['forEach'](_0x33e22e=>this[_0x48794b(0x36c)][_0x48794b(0x31c)](this[_0x48794b(0x2f0)],_0x33e22e));}['_onRecvEvent'](_0x182fc2){var _0x399dc5=_0x4611e8;try{const _0x506da9=_0x182fc2[_0x399dc5(0x33e)];switch(_0x506da9['eventID']){case p[_0x399dc5(0x399)]['USERS_ENTER']:this[_0x399dc5(0x1a5)](_0x506da9),this['_event$']['next'](_0x506da9);break;case p[_0x399dc5(0x399)][_0x399dc5(0x408)]:this['_onUserLeave'](_0x506da9),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;case p['CollaborationEvent'][_0x399dc5(0x427)]:case p[_0x399dc5(0x399)]['CHANGESET_SHOULD_RETRY']:this[_0x399dc5(0x23b)](),this['_clearCollaborationTimeoutTimer'](),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;case p[_0x399dc5(0x399)][_0x399dc5(0x3ad)]:this['_logService'][_0x399dc5(0x2b8)](_0x399dc5(0x1d6)+JSON[_0x399dc5(0x37b)](_0x506da9)),this['_event$'][_0x399dc5(0x244)](_0x506da9);break;case p['CollaborationEvent'][_0x399dc5(0x35e)]:this[_0x399dc5(0x219)]['onCommentUpdate'](_0x506da9['data']),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;default:this['_event$'][_0x399dc5(0x244)](_0x506da9);}}catch(_0x24936f){this['_logService']['error'](_0x24936f,_0x182fc2);}}[_0x4611e8(0x1a5)](_0x40d439){var _0x25a998=_0x4611e8;this[_0x25a998(0x36c)][_0x25a998(0x31c)](this[_0x25a998(0x2f0)],_0x40d439['data']);}[_0x4611e8(0x1df)](_0x4b2226){var _0x19e38d=_0x4611e8;this['_memberService'][_0x19e38d(0x1d5)](this[_0x19e38d(0x2f0)],_0x4b2226[_0x19e38d(0x33e)][_0x19e38d(0x372)]);}async[_0x4611e8(0x269)](_0x511408,_0x35dd05){var _0xd15c5=_0x4611e8;if(this[_0xd15c5(0x354)]!==0x3||!this[_0xd15c5(0x295)])throw new Error(_0xd15c5(0x46d));try{_0x511408[_0xd15c5(0x126)]===p[_0xd15c5(0x399)][_0xd15c5(0x407)]&&(this[_0xd15c5(0x13f)](),this[_0xd15c5(0x18e)](_0x511408)),this['_socket'][_0xd15c5(0x269)]({'cmd':W[_0xd15c5(0x134)],'routeKey':_0x35dd05,'routeType':'','data':_0x511408});}catch(_0x9ae55e){this[_0xd15c5(0x47b)][_0xd15c5(0x2b8)](_0x9ae55e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x35764c=_0x4611e8,_0x4f6fcb;this[_0x35764c(0x280)]=setTimeout(()=>{var _0x5da356=_0x35764c;this['_collaborationTimeoutTimer']=null,this[_0x5da356(0x31d)][_0x5da356(0x14e)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4f6fcb=this[_0x35764c(0x290)][_0x35764c(0x2a9)](ke))!=null?_0x4f6fcb:St);}[_0x4611e8(0x228)](){var _0x3d1085=_0x4611e8;this[_0x3d1085(0x280)]&&(clearTimeout(this[_0x3d1085(0x280)]),this[_0x3d1085(0x280)]=null);}[_0x4611e8(0x18e)](_0x3a916e){var _0x3f69cc=_0x4611e8;if(!this[_0x3f69cc(0x125)])return;const {data:_0x4e92ac}=_0x3a916e,{unitID:_0x32c02a,changeset:_0x408915}=_0x4e92ac,{mutations:_0x12ff26,type:_0x3aedcd}=_0x408915;this[_0x3f69cc(0x136)]={'unitId':_0x32c02a,'type':_0x3aedcd,'startTime':performance[_0x3f69cc(0x42d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x12ff26)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x132c33=_0x4611e8;if(this[_0x132c33(0x125)]){if(!this['_telemetryInfo']){this[_0x132c33(0x47b)][_0x132c33(0x2b8)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x132c33(0x35f)]=performance[_0x132c33(0x42d)](),this[_0x132c33(0x136)]['duration']=this[_0x132c33(0x136)]['stopTime']-this[_0x132c33(0x136)][_0x132c33(0x3f4)],this[_0x132c33(0x24a)][_0x132c33(0x34e)](Xt,this[_0x132c33(0x136)]),this['_telemetryInfo']=null;}}[_0x4611e8(0x20e)](){var _0x2b948a=_0x4611e8;this[_0x2b948a(0x136)]=null;}},exports[_0x4611e8(0x3d7)]=ni([se(0x2,a[_0x4611e8(0x2a6)]),se(0x3,a[_0x4611e8(0x335)]),se(0x4,a[_0x4611e8(0x1dd)](a['LocaleService'])),se(0x5,a['Inject'](exports[_0x4611e8(0x1bd)])),se(0x6,a[_0x4611e8(0x1dd)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x4611e8(0x3e3)](Pt[_0x4611e8(0x214)]))],exports[_0x4611e8(0x3d7)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x26a978,_0x37ba8d,_0x3c4cdc,_0x3db506)=>{var _0x4fdf3e=_0x4611e8;for(var _0x4967cd=_0x3db506>0x1?void 0x0:_0x3db506?ri(_0x37ba8d,_0x3c4cdc):_0x37ba8d,_0x4344a9=_0x26a978[_0x4fdf3e(0x479)]-0x1,_0x1bd055;_0x4344a9>=0x0;_0x4344a9--)(_0x1bd055=_0x26a978[_0x4344a9])&&(_0x4967cd=_0x1bd055(_0x4967cd)||_0x4967cd);return _0x4967cd;},he=(_0x4ecb22,_0x3a1311)=>(_0x4d98c0,_0x5f2d67)=>_0x3a1311(_0x4d98c0,_0x5f2d67,_0x4ecb22);exports[_0x4611e8(0x1f8)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x2f09e6,_0x4f0793,_0x51bdde,_0x5a632e,_0xba0869,_0x3673d4){var _0x394845=_0x4611e8;super(),A(this,_0x394845(0x27a),new $[(_0x394845(0x3c0))](void 0x0)),A(this,_0x394845(0x16f),this[_0x394845(0x27a)][_0x394845(0x2fd)]()),A(this,_0x394845(0x37f),null),A(this,_0x394845(0x248),new Map()),A(this,_0x394845(0x1ef),new $[(_0x394845(0x3c0))](re[_0x394845(0x12b)])),A(this,_0x394845(0x276),this[_0x394845(0x1ef)][_0x394845(0x2fd)]()),A(this,_0x394845(0x296),!0x1),A(this,_0x394845(0x1f5)),A(this,_0x394845(0x39d),0x0),A(this,_0x394845(0x36f)),A(this,_0x394845(0x32b)),(this[_0x394845(0x390)]=_0x2f09e6,this[_0x394845(0x47b)]=_0x4f0793,this[_0x394845(0x290)]=_0x51bdde,this['_socketService']=_0x5a632e,this[_0x394845(0x31d)]=_0xba0869,this[_0x394845(0x208)]=_0x3673d4,this[_0x394845(0x355)]());}get[_0x4611e8(0x295)](){var _0x59faff=_0x4611e8;return this[_0x59faff(0x27a)]['getValue']();}[_0x4611e8(0x355)](){var _0xd8a31f=_0x4611e8;this['_networkConditionService']&&this[_0xd8a31f(0x1b8)](this[_0xd8a31f(0x208)]['online$'][_0xd8a31f(0x46a)](_0x321b91=>{var _0x1df4b7=_0xd8a31f;_0x321b91&&!this['_socket']&&this[_0x1df4b7(0x1d7)](),_0x321b91||this[_0x1df4b7(0x429)]();}));}[_0x4611e8(0x48c)](){var _0x2af4f4=_0x4611e8;super[_0x2af4f4(0x48c)](),this[_0x2af4f4(0x1c3)](),this[_0x2af4f4(0x287)](),this[_0x2af4f4(0x184)](),this[_0x2af4f4(0x248)][_0x2af4f4(0x333)](_0x5cbc6d=>_0x5cbc6d['dispose']()),this[_0x2af4f4(0x248)][_0x2af4f4(0x139)](),this['_status$'][_0x2af4f4(0x305)]();}async['requireSession'](_0x169920){var _0x4d2299=_0x4611e8;if(this['_sessions']['has'](_0x169920))return this[_0x4d2299(0x248)]['get'](_0x169920);this[_0x4d2299(0x2ea)]();const _0x749cf3=this['_injector'][_0x4d2299(0x46b)](exports[_0x4d2299(0x3d7)],_0x169920,this[_0x4d2299(0x27a)][_0x4d2299(0x2fd)]());return this[_0x4d2299(0x248)][_0x4d2299(0x175)](_0x169920,_0x749cf3),_0x749cf3;}[_0x4611e8(0x18b)](_0x2220c0){var _0x19f05d=_0x4611e8,_0x48bc8f;const _0x5613e4=this[_0x19f05d(0x248)][_0x19f05d(0x306)](_0x2220c0);_0x5613e4&&(this[_0x19f05d(0x248)][_0x19f05d(0x44f)](_0x2220c0),_0x5613e4[_0x19f05d(0x336)]()),this[_0x19f05d(0x248)][_0x19f05d(0x226)]||(_0x48bc8f=this[_0x19f05d(0x295)])==null||_0x48bc8f['close']();}[_0x4611e8(0x1d7)](){var _0x1850e4=_0x4611e8;this[_0x1850e4(0x39d)]=0x0,this[_0x1850e4(0x1c3)](),this[_0x1850e4(0x189)]();}['_clearRetryConnectingTimer'](){var _0x5e96dc=_0x4611e8;this[_0x5e96dc(0x1f5)]!=null&&(clearTimeout(this[_0x5e96dc(0x1f5)]),this[_0x5e96dc(0x1f5)]=null);}async['_createSocket'](){var _0x459ecb=_0x4611e8,_0x283a48,_0xbf5c22;const _0x876f58=this[_0x459ecb(0x290)][_0x459ecb(0x2a9)](ut),_0x3a008e=this['_configService'][_0x459ecb(0x2a9)](G),_0xc413c5=(_0xbf5c22=(_0x283a48=_0x3a008e==null?void 0x0:_0x3a008e[_0x459ecb(0x441)])!=null?_0x283a48:_0x876f58)!=null?_0xbf5c22:dt,_0x50977d=await this[_0x459ecb(0x46f)][_0x459ecb(0x26d)](_0xc413c5);return this[_0x459ecb(0x37f)]=_0x50977d,_0x50977d;}async[_0x4611e8(0x2ea)](){var _0x592130=_0x4611e8,_0x5ece64,_0x4507a6;try{const _0x1d96bf=(_0x4507a6=(_0x5ece64=this[_0x592130(0x295)])!=null?_0x5ece64:this[_0x592130(0x37f)])!=null?_0x4507a6:await this['_createSocket']();if(_0x1d96bf){const _0x4cfc22=_0x1d96bf['send'];_0x1d96bf['send']=_0x5b40f6=>(this[_0x592130(0x150)](),_0x4cfc22[_0x592130(0x297)](_0x1d96bf,[_0x5b40f6])),_0x1d96bf[_0x592130(0x2c1)][_0x592130(0x46a)](_0x143570=>this[_0x592130(0x41d)](_0x1d96bf,_0x143570)),_0x1d96bf[_0x592130(0x424)][_0x592130(0x121)](V[_0x592130(0x26b)](0x1))[_0x592130(0x46a)](_0x3eb3f6=>this['_logService'][_0x592130(0x2b8)](_0x592130(0x2eb),_0x3eb3f6)),_0x1d96bf[_0x592130(0x1fb)][_0x592130(0x121)](V[_0x592130(0x26b)](0x1))[_0x592130(0x46a)](()=>{var _0x2ae69b=_0x592130;this[_0x2ae69b(0x2b9)](_0x1d96bf);}),_0x1d96bf['close$'][_0x592130(0x121)](V['take'](0x1))[_0x592130(0x46a)](_0x5d47bc=>{var _0x12f9aa=_0x592130;this[_0x12f9aa(0x47b)]['debug'](_0x12f9aa(0x3ee),'socket\x20close',_0x5d47bc),this[_0x12f9aa(0x268)]();});}}catch(_0x5362b7){this[_0x592130(0x47b)]['error'](_0x5362b7),this[_0x592130(0x268)]();}}[_0x4611e8(0x2b9)](_0x19864f){var _0x58ce89=_0x4611e8;this[_0x58ce89(0x47b)][_0x58ce89(0x20b)](_0x58ce89(0x3ee),_0x58ce89(0x138)),_0x19864f[_0x58ce89(0x269)]({'cmd':W['HELLO']}),this[_0x58ce89(0x150)]();}[_0x4611e8(0x429)](){var _0x16a44c=_0x4611e8;this[_0x16a44c(0x296)]=!0x1,this[_0x16a44c(0x37f)]=null,this['_status$']['next'](re[_0x16a44c(0x284)]),this[_0x16a44c(0x27a)][_0x16a44c(0x244)](null),this['_clearTimeoutTimer'](),this[_0x16a44c(0x184)]();}[_0x4611e8(0x268)](){var _0x299b8f=_0x4611e8,_0x16e54e;this[_0x299b8f(0x429)](),this[_0x299b8f(0x39d)]<((_0x16e54e=this[_0x299b8f(0x290)][_0x299b8f(0x2a9)](ft))!=null?_0x16e54e:jt)?(this[_0x299b8f(0x31d)][_0x299b8f(0x14e)]({'id':Z[_0x299b8f(0x41a)]}),this[_0x299b8f(0x189)]()):this[_0x299b8f(0x31d)][_0x299b8f(0x14e)]({'id':Z[_0x299b8f(0x418)]});}[_0x4611e8(0x189)](){var _0x4e53e1=_0x4611e8,_0x33d383;const _0x344316=this[_0x4e53e1(0x39d)],_0x25735f=this[_0x4e53e1(0x290)][_0x4e53e1(0x2a9)](G),_0x3d1179=_0x344316===0x0?0x0:((_0x33d383=_0x25735f==null?void 0x0:_0x25735f[_0x4e53e1(0x241)])!=null?_0x33d383:$t)*0x2**_0x344316;this[_0x4e53e1(0x1f5)]=setTimeout(()=>{var _0x5ecd74=_0x4e53e1;clearTimeout(this[_0x5ecd74(0x1f5)]),this[_0x5ecd74(0x1f5)]=null,this[_0x5ecd74(0x2ea)]();},_0x3d1179),this['_retryCount']+=0x1;}[_0x4611e8(0x41d)](_0x156bcf,_0x432b29){var _0x358af0=_0x4611e8;const {cmd:_0x4025a4}=_0x432b29;_0x4025a4===W[_0x358af0(0x3df)]&&!this[_0x358af0(0x296)]&&(_0x156bcf[_0x358af0(0x372)]=_0x432b29[_0x358af0(0x33e)][_0x358af0(0x372)],this[_0x358af0(0x27a)][_0x358af0(0x244)](_0x156bcf),this[_0x358af0(0x1ef)][_0x358af0(0x244)](re[_0x358af0(0x3d8)]),this[_0x358af0(0x296)]=!0x0,this[_0x358af0(0x37f)]=null),_0x4025a4===W['HEARTBEAT']&&this[_0x358af0(0x287)](),this[_0x358af0(0x150)]();}[_0x4611e8(0x150)](){var _0x4300e7=_0x4611e8,_0x46be0e;this[_0x4300e7(0x184)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4300e7(0x29f)](),(_0x46be0e=this[_0x4300e7(0x290)][_0x4300e7(0x2a9)](vt))!=null?_0x46be0e:Ht);}[_0x4611e8(0x29f)](){var _0x350aa=_0x4611e8;this[_0x350aa(0x295)][_0x350aa(0x269)]({'cmd':W[_0x350aa(0x1ee)]}),this[_0x350aa(0x467)]();}['_waitForHeartbeatResponse'](){var _0x4472bf=_0x4611e8,_0x539b94;this[_0x4472bf(0x32b)]=setTimeout(()=>this[_0x4472bf(0x268)](),(_0x539b94=this['_configService'][_0x4472bf(0x2a9)](ke))!=null?_0x539b94:St);}['_clearHeartbeatTimer'](){var _0x46b875=_0x4611e8;this[_0x46b875(0x36f)]!=null&&(clearTimeout(this[_0x46b875(0x36f)]),this[_0x46b875(0x36f)]=null);}[_0x4611e8(0x287)](){var _0x5f5afc=_0x4611e8;this[_0x5f5afc(0x32b)]!=null&&(clearTimeout(this[_0x5f5afc(0x32b)]),this['_timeoutTimer']=null);}},exports[_0x4611e8(0x1f8)]=si([he(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),he(0x1,a[_0x4611e8(0x2a6)]),he(0x2,a[_0x4611e8(0x335)]),he(0x3,He),he(0x4,a[_0x4611e8(0x1dd)](ee)),he(0x5,a[_0x4611e8(0x3e3)](mt))],exports[_0x4611e8(0x1f8)]);const q=a[_0x4611e8(0x12d)]('collaboration-client.local-cache-service');function oi(_0x172ed9){return'unit-cache-'+_0x172ed9;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3777e4,_0x29e36a,_0x35496f,_0x53a3e7)=>{var _0xbd45db=_0x4611e8;for(var _0x3a7871=_0x53a3e7>0x1?void 0x0:_0x53a3e7?ai(_0x29e36a,_0x35496f):_0x29e36a,_0x12224a=_0x3777e4[_0xbd45db(0x479)]-0x1,_0x17296c;_0x12224a>=0x0;_0x12224a--)(_0x17296c=_0x3777e4[_0x12224a])&&(_0x3a7871=_0x17296c(_0x3a7871)||_0x3a7871);return _0x3a7871;},Ue=(_0x20da61,_0x370dd1)=>(_0x3edfc3,_0x3187c4)=>_0x370dd1(_0x3edfc3,_0x3187c4,_0x20da61);function hi(_0x497796){var _0x38dbfa=_0x4611e8;const {unitID:_0xc0adc7,mutations:_0x1e6077}=_0x497796;return{'unitId':_0xc0adc7,'subUnitId':_0x1e6077[0x0][_0x38dbfa(0x3b8)]['subUnitId']};}exports[_0x4611e8(0x422)]=class{constructor(_0x58ea22,_0x5ad44f,_0x27362f){var _0x37ba53=_0x4611e8;this[_0x37ba53(0x390)]=_0x58ea22,this[_0x37ba53(0x2da)]=_0x5ad44f,this['_instanceService']=_0x27362f;}['transformSelections'](_0x5cc3cc){var _0x3a670b=_0x4611e8,_0x34aad0,_0x3e94dd,_0x35984b,_0x2986c8;const _0x2c7722=this[_0x3a670b(0x390)]['get'](X[_0x3a670b(0x1d2)]),{unitId:_0xc356d7,subUnitId:_0x494e02}=hi(_0x5cc3cc),_0x313015=_0x2c7722==null?void 0x0:_0x2c7722[_0x3a670b(0x3e0)](_0xc356d7)['getCurrentSelections'](),_0x31bda5=(_0x3e94dd=(_0x34aad0=this[_0x3a670b(0x492)][_0x3a670b(0x17d)](_0xc356d7))==null?void 0x0:_0x34aad0[_0x3a670b(0x1b2)]())==null?void 0x0:_0x3e94dd[_0x3a670b(0x3d3)]();if(_0x313015[_0x3a670b(0x479)]===0x0||!_0xc356d7||!_0x494e02)return;const _0x548dab=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xc356d7,'subUnitId':_0x31bda5,'selections':a['Tools'][_0x3a670b(0x347)](_0x313015)}}],_0x3ba481=this[_0x3a670b(0x2da)][_0x3a670b(0x16c)](_0x5cc3cc,_0x548dab);if(!p[_0x3a670b(0x1dc)](_0x3ba481))throw _0x3ba481[_0x3a670b(0x2b8)];const _0x3a99e5=(_0x2986c8=(_0x35984b=_0x3ba481[_0x3a670b(0x428)][0x0])==null?void 0x0:_0x35984b['params'])==null?void 0x0:_0x2986c8[_0x3a670b(0x247)];if(Array['isArray'](_0x3a99e5)&&_0x3a99e5[_0x3a670b(0x479)]){if(_0x3a99e5[_0x3a670b(0x479)]===_0x548dab[0x0][_0x3a670b(0x3b8)][_0x3a670b(0x247)][_0x3a670b(0x479)]&&_0x3a99e5[_0x3a670b(0x396)]((_0x3443fe,_0x431a7c)=>a[_0x3a670b(0x485)][_0x3a670b(0x197)](_0x3443fe['range'],_0x548dab[0x0][_0x3a670b(0x3b8)]['selections'][_0x431a7c]['range'])))return;this[_0x3a670b(0x390)][_0x3a670b(0x306)](a[_0x3a670b(0x359)])[_0x3a670b(0x147)](X[_0x3a670b(0x19d)]['id'],{'unitId':_0xc356d7,'subUnitId':_0x31bda5,'selections':_0x3a99e5});}}},exports[_0x4611e8(0x422)]=ci([Ue(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x4611e8(0x227)])],exports[_0x4611e8(0x422)]);const de=a[_0x4611e8(0x12d)](_0x4611e8(0x252));var je=(_0x504bee=>(_0x504bee[_0x504bee[_0x4611e8(0x483)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x504bee[_0x504bee[_0x4611e8(0x11f)]=0x1]='OTHER_CLIENTS_EDITING',_0x504bee))(je||{});const _i=new Set([X[_0x4611e8(0x223)]['id']]);function Ge(_0x26b9d0,_0x3e48ff,_0x599572,_0x411f03,_0x39a6b6){var _0x260bfb=_0x4611e8,_0x5e3889,_0x4a7d20,_0x3897e1,_0x41b80e;const _0x4f04d2=[];for(const _0x2145b3 of _0x26b9d0)if(_i['has'](_0x2145b3['id'])){if(_0x4f04d2[_0x260bfb(0x479)]>0x0)break;_0x4f04d2[_0x260bfb(0x475)](_0x2145b3);break;}else _0x4f04d2['push'](_0x2145b3);const _0x46f7fe=(_0x4a7d20=(_0x5e3889=_0x39a6b6[_0x260bfb(0x45e)]())==null?void 0x0:_0x5e3889[_0x260bfb(0x23a)])!=null?_0x4a7d20:_0x260bfb(0x484),_0x10efdc=(_0x41b80e=(_0x3897e1=_0x39a6b6[_0x260bfb(0x45e)]())==null?void 0x0:_0x3897e1[_0x260bfb(0x372)])!=null?_0x41b80e:_0x260bfb(0x484);return{'changeset':{'unitID':_0x3e48ff,'type':p[_0x260bfb(0x436)](_0x599572[_0x260bfb(0x369)](_0x3e48ff)),'baseRev':_0x411f03[_0x260bfb(0x1b0)](_0x3e48ff),'revision':0x0,'userID':_0x46f7fe,'memberID':_0x10efdc,'mutations':_0x4f04d2},'pendingMutations':_0x26b9d0[_0x260bfb(0x3bc)](_0x4f04d2[_0x260bfb(0x479)])};}function li(_0x5eb585,_0xcb5fac,_0x2a219a,_0x456762,_0x5a5066){var _0x1171d8=_0x4611e8,_0x280235,_0x20d413,_0x414a36,_0x1333cc;const _0x1d2984=[_0x5eb585[_0x1171d8(0x242)]((_0x19187d,_0x14fafa)=>{var _0x269127=_0x1171d8,_0x313986;const {id:_0x8934dc}=_0x19187d,{id:_0x454995,type:_0xb1df3e}=_0x14fafa,_0x244da0=(_0x313986=_0x19187d['params'])!=null?_0x313986:{'actions':null},_0x402e7d=_0x14fafa[_0x269127(0x3b8)];if(_0x8934dc&&_0x8934dc!==_0x454995)throw new Error(_0x269127(0x239)+_0x8934dc+_0x269127(0x312)+_0x454995+'.');return{..._0x19187d,'id':_0x454995,'type':_0xb1df3e,'params':{'unitId':_0x402e7d[_0x269127(0x218)],'textRanges':_0x402e7d[_0x269127(0x15a)],'actions':a[_0x269127(0x1e5)][_0x269127(0x279)](_0x244da0[_0x269127(0x179)],_0x402e7d['actions'])}};},{})],_0x2d7f10=(_0x20d413=(_0x280235=_0x5a5066['getCurrentUser']())==null?void 0x0:_0x280235[_0x1171d8(0x23a)])!=null?_0x20d413:_0x1171d8(0x484),_0x55c96f=(_0x1333cc=(_0x414a36=_0x5a5066[_0x1171d8(0x45e)]())==null?void 0x0:_0x414a36[_0x1171d8(0x372)])!=null?_0x1333cc:_0x1171d8(0x484);return{'changeset':{'unitID':_0xcb5fac,'type':p[_0x1171d8(0x436)](_0x2a219a[_0x1171d8(0x369)](_0xcb5fac)),'baseRev':_0x456762[_0x1171d8(0x1b0)](_0xcb5fac),'revision':0x0,'userID':_0x2d7f10,'memberID':_0x55c96f,'mutations':_0x1d2984},'pendingMutations':[]};}function bt(_0x5572f0,_0x267838){var _0x5b085b=_0x4611e8;const _0x118438=new $[(_0x5b085b(0x3bb))](0x1);return setTimeout(()=>_0x118438['next'](_0x267838),_0x5572f0),_0x118438['asObservable']()[_0x5b085b(0x121)]($['take'](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a['CommandType'][_0x4611e8(0x3a3)],'params':{}};var di=Object[_0x4611e8(0x1b5)],ae=(_0x4014df,_0x3e690e,_0x29f1e1,_0x55b400)=>{for(var _0x42cf87=_0x55b400>0x1?void 0x0:_0x55b400?di(_0x3e690e,_0x29f1e1):_0x3e690e,_0x3b1257=_0x4014df['length']-0x1,_0x2cab06;_0x3b1257>=0x0;_0x3b1257--)(_0x2cab06=_0x4014df[_0x3b1257])&&(_0x42cf87=_0x2cab06(_0x42cf87)||_0x42cf87);return _0x42cf87;},L=(_0x36bf9f,_0x3f0ab0)=>(_0x12f326,_0x35c242)=>_0x3f0ab0(_0x12f326,_0x35c242,_0x36bf9f),Be=(_0x32e45f=>(_0x32e45f[_0x4611e8(0x3c1)]=_0x4611e8(0x156),_0x32e45f[_0x4611e8(0x41b)]=_0x4611e8(0x33a),_0x32e45f[_0x4611e8(0x2e2)]=_0x4611e8(0x2ac),_0x32e45f['AWAITING']=_0x4611e8(0x3e9),_0x32e45f[_0x4611e8(0x144)]=_0x4611e8(0x3be),_0x32e45f[_0x4611e8(0x17c)]=_0x4611e8(0x2e8),_0x32e45f[_0x4611e8(0x36d)]=_0x4611e8(0x482),_0x32e45f[_0x4611e8(0x284)]='offline',_0x32e45f))(Be||{});const Rt=0xea60;class ce{constructor(_0x4bac7b,_0x1e93af,_0xb936cf,_0x41185d,_0x24decc,_0x579313,_0x2dc048,_0x5bf4f7,_0xa99dc4){var _0x483006=_0x4611e8;A(this,_0x483006(0x211),null),A(this,_0x483006(0x2d4),[]),(this['unitID']=_0x4bac7b,this[_0x483006(0x442)]=_0x1e93af,this['_handler']=_0x24decc,this[_0x483006(0x1b4)]=_0x579313,this[_0x483006(0x456)]=_0x2dc048,this[_0x483006(0x206)]=_0x5bf4f7,this['_localCacheService']=_0xa99dc4,this[_0x483006(0x211)]=_0xb936cf,this[_0x483006(0x2d4)]=_0x41185d);}[_0x4611e8(0x331)](_0x5e5290){var _0x2f6d16=_0x4611e8;const _0x24ffb8=this['_revisionService'][_0x2f6d16(0x1b0)](this[_0x2f6d16(0x39e)]);return _0x5e5290['revision']>_0x24ffb8+0x1?(this[_0x2f6d16(0x256)][_0x2f6d16(0x47e)]({'from':_0x24ffb8,'to':_0x5e5290[_0x2f6d16(0x40d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1f8600){var _0x5eefb8=_0x4611e8;this[_0x5eefb8(0x456)][_0x5eefb8(0x1c1)](this[_0x5eefb8(0x39e)],_0x1f8600);}[_0x4611e8(0x40a)](_0x590b1d){var _0x37535f=_0x4611e8,_0x2378c4,_0x3b2a11;(_0x3b2a11=(_0x2378c4=this[_0x37535f(0x256)])['onTransformSelections'])==null||_0x3b2a11[_0x37535f(0x415)](_0x2378c4,_0x590b1d);}['_transformIMECache'](_0x26937c){var _0x1a8d99=_0x4611e8,_0x173ee6,_0x3d3960;return(_0x3d3960=(_0x173ee6=this[_0x1a8d99(0x256)])['onTransformIME'])==null?void 0x0:_0x3d3960['call'](_0x173ee6,_0x26937c);}[_0x4611e8(0x132)](_0x5675c6){var _0xc686a4=_0x4611e8,_0x1831d5,_0x202a5d;return(_0x202a5d=(_0x1831d5=this[_0xc686a4(0x256)])['onTransformState'])==null?void 0x0:_0x202a5d[_0xc686a4(0x415)](_0x1831d5,_0x5675c6);}[_0x4611e8(0x35a)](_0x421005){var _0x85966f=_0x4611e8,_0x55bec2,_0x1e8cf4,_0x1f5c79;return(_0x1f5c79=(_0x1e8cf4=(_0x55bec2=this['_handler'])[_0x85966f(0x3ae)])==null?void 0x0:_0x1e8cf4[_0x85966f(0x415)](_0x55bec2,_0x421005))!=null?_0x1f5c79:_0x421005;}[_0x4611e8(0x2d5)](_0x531bb9){var _0x3739e4=_0x4611e8,_0x4b5b20,_0x10c704,_0x7a97cb;return(_0x7a97cb=(_0x10c704=(_0x4b5b20=this[_0x3739e4(0x256)])[_0x3739e4(0x423)])==null?void 0x0:_0x10c704[_0x3739e4(0x415)](_0x4b5b20,_0x531bb9))!=null?_0x7a97cb:_0x531bb9;}[_0x4611e8(0x30e)](_0x4f0b9f){var _0x46d190=_0x4611e8,_0x2530d7,_0x3a355c;if(this[_0x46d190(0x442)]===J['UNIVER_DOC']){const {unitID:_0x3ceed0,mutations:_0x41a688,memberID:_0x4749eb}=_0x4f0b9f,_0x5b63e7=_0x41a688[0x0]['params'][_0x46d190(0x15a)];Array[_0x46d190(0x28f)](_0x5b63e7)&&_0x5b63e7[_0x46d190(0x479)]>0x0&&((_0x3a355c=(_0x2530d7=this[_0x46d190(0x256)])[_0x46d190(0x2bf)])==null||_0x3a355c[_0x46d190(0x415)](_0x2530d7,{'unitID':_0x3ceed0,'memberID':_0x4749eb,'textRanges':_0x5b63e7}));}}[_0x4611e8(0x263)](){var _0x2cc20d=_0x4611e8,_0x2513e5;(_0x2513e5=this[_0x2cc20d(0x1d4)])==null||_0x2513e5[_0x2cc20d(0x3d5)](this[_0x2cc20d(0x39e)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4611e8(0x1a7)](){var _0x45a364=_0x4611e8;return this[_0x45a364(0x206)][_0x45a364(0x1b0)](this['unitID']);}['_incrementRevisionNumber'](){var _0x1bc87d=_0x4611e8;this[_0x1bc87d(0x206)][_0x1bc87d(0x267)](this['unitID']);}[_0x4611e8(0x1aa)](_0x48526b){var _0x992022=_0x4611e8,_0x5d61ce;let _0x10938=this[_0x992022(0x35a)](_0x48526b);_0x10938=this['_transformRemoteChangesetByStateCache'](_0x10938);const _0x3043f6=a[_0x992022(0x2c3)](_0x10938[_0x992022(0x438)],this[_0x992022(0x1b4)],{'fromCollab':!0x0});if(!_0x3043f6['result'])throw _0x3043f6[_0x992022(0x2b8)]instanceof Error?_0x3043f6[_0x992022(0x2b8)]:new Error((_0x5d61ce=_0x3043f6[_0x992022(0x2b8)])!=null?_0x5d61ce:_0x992022(0x142));this[_0x992022(0x201)](_0x10938),this[_0x992022(0x132)](_0x10938),this[_0x992022(0x171)](_0x48526b),this[_0x992022(0x40a)](_0x10938),this[_0x992022(0x30e)](_0x10938),this['_incrementRevisionNumber']();}}exports[_0x4611e8(0x324)]=class extends ce{constructor(_0x2cd293,_0x40b527,_0x546535,_0x184185,_0x163a18,_0x486cf1,_0x4ec8b9,_0x123e87,_0x1f932b,_0x9a40e0){var _0x14d707=_0x4611e8;super(_0x2cd293,_0x40b527,null,[],_0x546535,_0x4ec8b9,_0x486cf1,_0x184185,_0x9a40e0),A(this,_0x14d707(0x187),_0x14d707(0x33a)),(this['_injector']=_0x163a18,this[_0x14d707(0x47b)]=_0x123e87,this[_0x14d707(0x2da)]=_0x1f932b,this['localCacheService']=_0x9a40e0);}[_0x4611e8(0x362)](_0x286955){var _0x33e586=_0x4611e8;const _0x50031f=this[_0x33e586(0x390)][_0x33e586(0x46b)](exports[_0x33e586(0x186)],this[_0x33e586(0x39e)],this[_0x33e586(0x442)],[_0x286955],this['_handler']);return _0x50031f[_0x33e586(0x3fd)](),_0x50031f[_0x33e586(0x263)](),_0x50031f;}[_0x4611e8(0x20f)](_0x8e93ac){var _0x5b595c=_0x4611e8;if(this['_checkMissing'](_0x8e93ac))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x5b595c(0x39e)],this[_0x5b595c(0x442)],null,[],null,[_0x8e93ac],this[_0x5b595c(0x256)]);try{const _0x5b579a=this[_0x5b595c(0x2da)][_0x5b595c(0x16c)](_0x8e93ac,[ui]);if(p[_0x5b595c(0x1dc)](_0x5b579a)){const {c1Prime:_0x23a8c2}=_0x5b579a;return this[_0x5b595c(0x1aa)](_0x23a8c2),this;}throw _0x5b579a[_0x5b595c(0x2b8)];}catch(_0x408854){return this['_logService']['error'](_0x408854),this[_0x5b595c(0x278)](!0x1);}}[_0x4611e8(0x278)](_0x2394a3){var _0x34d825=_0x4611e8;return this[_0x34d825(0x390)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x34d825(0x442)],null,[],this['_handler'],_0x2394a3);}[_0x4611e8(0x3ed)](){var _0x34f9d4=_0x4611e8;throw new Error(_0x34f9d4(0x33f));}[_0x4611e8(0x1e8)](){var _0x471812=_0x4611e8;throw new Error(_0x471812(0x1ab));}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){var _0x24db03=_0x4611e8;return this[_0x24db03(0x390)][_0x24db03(0x46b)](exports['OfflineState'],this[_0x24db03(0x39e)],this[_0x24db03(0x442)],null,[],this[_0x24db03(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x76e8a0=_0x4611e8;throw new Error(_0x76e8a0(0x3f6));}[_0x4611e8(0x3b9)](){var _0x1a8931=_0x4611e8;const _0x31e118=this[_0x1a8931(0x206)][_0x1a8931(0x1b0)](this[_0x1a8931(0x39e)]);return this[_0x1a8931(0x256)][_0x1a8931(0x47e)]({'from':_0x31e118,'to':0x0}),this[_0x1a8931(0x390)][_0x1a8931(0x46b)](exports['FetchingMissState'],this[_0x1a8931(0x39e)],this[_0x1a8931(0x442)],null,[],null,[],this[_0x1a8931(0x256)]);}},exports['SyncedState']=ae([L(0x3,a[_0x4611e8(0x1dd)](p['RevisionService'])),L(0x4,a['Inject'](a[_0x4611e8(0x425)])),L(0x5,a['IUndoRedoService']),L(0x6,a['ICommandService']),L(0x7,a['ILogService']),L(0x8,p['ITransformService']),L(0x9,a['Optional'](q))],exports['SyncedState']),exports[_0x4611e8(0x186)]=class extends ce{constructor(_0x27af0b,_0x1199dc,_0x457731,_0x2ba087,_0x20ca98,_0x14b6ec,_0x3ea30f,_0x322763,_0x33d159,_0x39b404,_0x521844,_0x3cd2c2,_0x1c90f7,_0xbfbdaf){var _0x4eca96=_0x4611e8;super(_0x27af0b,_0x1199dc,null,_0x457731,_0x2ba087,_0x33d159,_0x1c90f7,_0x14b6ec,_0xbfbdaf),A(this,'status','pending'),A(this,_0x4eca96(0x259),null),A(this,'_sendingTimer',null),(this[_0x4eca96(0x390)]=_0x20ca98,this[_0x4eca96(0x36c)]=_0x3ea30f,this[_0x4eca96(0x47b)]=_0x322763,this[_0x4eca96(0x290)]=_0x39b404,this[_0x4eca96(0x2da)]=_0x521844,this[_0x4eca96(0x322)]=_0x3cd2c2);}[_0x4611e8(0x362)](_0x13f227){var _0x401465=_0x4611e8;return this[_0x401465(0x2d4)][_0x401465(0x475)](_0x13f227),this[_0x401465(0x263)](),this;}['onRemoteChangeset'](_0x16799b){var _0x59e53d=_0x4611e8;if(this[_0x59e53d(0x331)](_0x16799b))return this[_0x59e53d(0x309)](),this[_0x59e53d(0x390)][_0x59e53d(0x46b)](exports[_0x59e53d(0x34d)],this['unitID'],this['type'],null,this[_0x59e53d(0x2d4)],null,[_0x16799b],this[_0x59e53d(0x256)]);try{const _0x543510=this[_0x59e53d(0x2da)][_0x59e53d(0x16c)](_0x16799b,this[_0x59e53d(0x2d4)]);if(p[_0x59e53d(0x1dc)](_0x543510)){const {c1Prime:_0x19bf43,m2Prime:_0x447eb6}=_0x543510;this['_executeRemoteChangeset'](_0x19bf43);const _0x636fe5=this[_0x59e53d(0x390)]['createInstance'](exports[_0x59e53d(0x186)],this[_0x59e53d(0x39e)],this[_0x59e53d(0x442)],_0x447eb6,this['_handler']);this[_0x59e53d(0x309)]();const _0x3eca96=new Date()[_0x59e53d(0x2b1)](),_0x5a7315=this['_scheduleCompleteTimestamp']?Math[_0x59e53d(0x2d8)](this[_0x59e53d(0x259)]-_0x3eca96,0x0):this[_0x59e53d(0x346)]();return _0x636fe5[_0x59e53d(0x3fd)](_0x5a7315),_0x636fe5;}throw _0x543510[_0x59e53d(0x2b8)];}catch(_0x282770){return this[_0x59e53d(0x47b)]['error'](_0x282770),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4611e8(0x1e8)](){var _0x272618=_0x4611e8;throw new Error(_0x272618(0x122));}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){var _0x1f6833=_0x4611e8;return this['_clearScheduledTask'](),this[_0x1f6833(0x390)][_0x1f6833(0x46b)](exports[_0x1f6833(0x311)],this[_0x1f6833(0x39e)],this['type'],null,this[_0x1f6833(0x2d4)],this[_0x1f6833(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x3fd)](_0x134adb){var _0x5850a3=_0x4611e8;const _0xe15a7b=_0x134adb!=null?_0x134adb:this['_getSendChangesetTimeout']();this[_0x5850a3(0x259)]=new Date()[_0x5850a3(0x2b1)]()+_0xe15a7b,this['_sendingTimer']=setTimeout(()=>{var _0x232116=_0x5850a3;this[_0x232116(0x309)]();let _0x160abf=null;switch(this[_0x232116(0x442)]){case J[_0x232116(0x1c8)]:{_0x160abf=Ge(this[_0x232116(0x2d4)],this[_0x232116(0x39e)],this[_0x232116(0x322)],this['_revisionService'],this[_0x232116(0x36c)]);break;}case J['UNIVER_DOC']:{this['_pendingMutations'][_0x232116(0x396)](_0x1a55a0=>_0x1a55a0['id']===ht[_0x232116(0x39a)]['id'])?_0x160abf=li(this[_0x232116(0x2d4)],this['unitID'],this['_univerInstanceService'],this[_0x232116(0x206)],this[_0x232116(0x36c)]):_0x160abf=Ge(this[_0x232116(0x2d4)],this[_0x232116(0x39e)],this[_0x232116(0x322)],this['_revisionService'],this[_0x232116(0x36c)]);break;}default:throw new Error(_0x232116(0x161)+this[_0x232116(0x442)]+_0x232116(0x2a3));}const {changeset:_0x45b5cd,pendingMutations:_0x108cdd}=_0x160abf;this['_handler'][_0x232116(0x3e7)](_0x45b5cd);const _0x2cbce9=_0x108cdd[_0x232116(0x479)]?this['_injector'][_0x232116(0x46b)](exports['AwaitingWithPendingState'],this[_0x232116(0x39e)],this[_0x232116(0x442)],_0x45b5cd,_0x108cdd,this[_0x232116(0x256)],void 0x0):this[_0x232116(0x390)][_0x232116(0x46b)](exports[_0x232116(0x30b)],this[_0x232116(0x39e)],this[_0x232116(0x442)],_0x45b5cd,this[_0x232116(0x256)]);_0x2cbce9[_0x232116(0x263)](),this['_handler']['onStateChange'](this,_0x2cbce9);},_0xe15a7b);}[_0x4611e8(0x346)](){var _0x573cf1=_0x4611e8,_0x2d8938;const _0x485c77=this[_0x573cf1(0x290)][_0x573cf1(0x2a9)](G);return(_0x2d8938=_0x485c77==null?void 0x0:_0x485c77[_0x573cf1(0x33c)])!=null?_0x2d8938:xt;}[_0x4611e8(0x148)](){var _0x4681f4=_0x4611e8;throw new Error(_0x4681f4(0x3dc));}[_0x4611e8(0x309)](){var _0x408b5b=_0x4611e8;this['_sendingTimer']!=null&&(clearTimeout(this[_0x408b5b(0x200)]),this['_sendingTimer']=null);}[_0x4611e8(0x278)](_0x4314e5){var _0x78278e=_0x4611e8;return this[_0x78278e(0x309)](),this[_0x78278e(0x390)][_0x78278e(0x46b)](exports[_0x78278e(0x360)],this[_0x78278e(0x39e)],this['type'],null,this['_pendingMutations'],this[_0x78278e(0x256)],_0x4314e5);}},exports[_0x4611e8(0x186)]=ae([L(0x4,a[_0x4611e8(0x1dd)](a['Injector'])),L(0x5,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x6,a[_0x4611e8(0x1dd)](exports[_0x4611e8(0x1bd)])),L(0x7,a[_0x4611e8(0x2a6)]),L(0x8,a[_0x4611e8(0x359)]),L(0x9,a[_0x4611e8(0x335)]),L(0xa,p[_0x4611e8(0x44a)]),L(0xb,a[_0x4611e8(0x227)]),L(0xc,a[_0x4611e8(0x20d)]),L(0xd,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x186)]),exports[_0x4611e8(0x30b)]=class extends ce{constructor(_0x4d41d6,_0x5dcd5a,_0x1c2f88,_0x34f7b6,_0x5ea2c4,_0x211ffd,_0x2cf281,_0x363405,_0x4b51d4,_0x51b9b9,_0x1b87d2){var _0x792f24=_0x4611e8;super(_0x4d41d6,_0x5dcd5a,_0x1c2f88,[],_0x34f7b6,_0x2cf281,_0x51b9b9,_0x211ffd,_0x1b87d2),A(this,'status',_0x792f24(0x3e9)),A(this,_0x792f24(0x477),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x792f24(0x390)]=_0x5ea2c4,this[_0x792f24(0x47b)]=_0x363405,this['_transformService']=_0x4b51d4);}['appendMutation'](_0x339db8){var _0x351c0d=_0x4611e8;this[_0x351c0d(0x309)]();const _0x2ff64d=this[_0x351c0d(0x390)][_0x351c0d(0x46b)](exports[_0x351c0d(0x357)],this[_0x351c0d(0x39e)],this[_0x351c0d(0x442)],this['_awaitingChangeset'],[_0x339db8],this['_handler'],this[_0x351c0d(0x178)]);return _0x2ff64d[_0x351c0d(0x263)](),_0x2ff64d;}[_0x4611e8(0x20f)](_0x12897a){var _0x113a8c=_0x4611e8;if(this[_0x113a8c(0x331)](_0x12897a))return this['_clearScheduledTask'](),this['_injector'][_0x113a8c(0x46b)](exports[_0x113a8c(0x34d)],this[_0x113a8c(0x39e)],this[_0x113a8c(0x442)],this[_0x113a8c(0x211)],[],null,[_0x12897a],this[_0x113a8c(0x256)]);try{const _0xe1a2cc=this[_0x113a8c(0x2da)]['transformChangesets']([_0x12897a],[this[_0x113a8c(0x211)]],!0x1);if(p[_0x113a8c(0x350)](_0xe1a2cc)){const {c1Prime:_0x1c175c,c2Prime:_0x521a16}=_0xe1a2cc;this[_0x113a8c(0x1aa)](_0x1c175c[0x0]),_0x521a16[0x0][_0x113a8c(0x32c)]=this[_0x113a8c(0x1a7)](),this[_0x113a8c(0x309)]();const _0x552e41=this['_injector'][_0x113a8c(0x46b)](exports[_0x113a8c(0x30b)],this[_0x113a8c(0x39e)],this['type'],_0x521a16[0x0],this[_0x113a8c(0x256)]);return _0x552e41[_0x113a8c(0x263)](),_0x552e41;}return this[_0x113a8c(0x278)](!0x1);}catch(_0x19f7b0){return this[_0x113a8c(0x47b)][_0x113a8c(0x2b8)](_0x19f7b0),this[_0x113a8c(0x278)](!0x1);}}[_0x4611e8(0x3ed)](_0x46671d){var _0x189a2d=_0x4611e8;this['_clearScheduledTask']();const _0x5dd0ad=this[_0x189a2d(0x206)]['getCurrentRevOfUnit'](this[_0x189a2d(0x39e)]);if(_0x46671d[_0x189a2d(0x40d)]<_0x5dd0ad-0x1)return this;if(this['_checkMissing'](_0x46671d))return this['_injector'][_0x189a2d(0x46b)](exports[_0x189a2d(0x34d)],this['unitID'],this[_0x189a2d(0x442)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x189a2d(0x1ff)]();const _0x4a8db3=this[_0x189a2d(0x390)][_0x189a2d(0x46b)](exports['SyncedState'],this[_0x189a2d(0x39e)],this[_0x189a2d(0x442)],this[_0x189a2d(0x256)]);return _0x4a8db3['_updateLocalCache'](),_0x4a8db3;}[_0x4611e8(0x1e8)](_0x36081f){var _0x26c8c2=_0x4611e8;return this[_0x26c8c2(0x278)](!!(_0x36081f!=null&&_0x36081f[_0x26c8c2(0x21b)]));}['onRemoteRetry'](_0x4ff8a6){var _0x4c41bc=_0x4611e8;return this[_0x4c41bc(0x477)]>Rt?this['toggleOffline']():(this[_0x4c41bc(0x178)]=bt(this[_0x4c41bc(0x477)],{'timeout':this[_0x4c41bc(0x477)],'reqId':_0x4ff8a6[_0x4c41bc(0x38a)]}),this['_sender']=this['_resendTimer'][_0x4c41bc(0x46a)](({reqId:_0x2cfde0,timeout:_0x19122e})=>{var _0x5eaeb2=_0x4c41bc;this[_0x5eaeb2(0x22e)](_0x2cfde0,_0x19122e);}),this);}['toggleOffline'](){var _0x1bea16=_0x4611e8;return this[_0x1bea16(0x309)](),this[_0x1bea16(0x390)][_0x1bea16(0x46b)](exports[_0x1bea16(0x311)],this[_0x1bea16(0x39e)],this[_0x1bea16(0x442)],this['_awaitingChangeset'],[],this[_0x1bea16(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x3c8ae3=_0x4611e8;this[_0x3c8ae3(0x256)]['onSendChangeset'](this[_0x3c8ae3(0x211)]);}[_0x4611e8(0x278)](_0x4698b3){var _0x192af5=_0x4611e8;return this[_0x192af5(0x309)](),this[_0x192af5(0x390)][_0x192af5(0x46b)](exports['ConflictState'],this[_0x192af5(0x39e)],this[_0x192af5(0x442)],this[_0x192af5(0x211)],[],this['_handler'],_0x4698b3);}[_0x4611e8(0x22e)](_0x172e51,_0x28b2ed){var _0x11ffea=_0x4611e8,_0x4c651e;_0x172e51===((_0x4c651e=this[_0x11ffea(0x211)])==null?void 0x0:_0x4c651e[_0x11ffea(0x38a)])&&(this[_0x11ffea(0x148)](),this[_0x11ffea(0x477)]=_0x28b2ed===0x0?0x3e8:_0x28b2ed*0x2);}[_0x4611e8(0x309)](){var _0x42507d=_0x4611e8,_0x54ebfb;(_0x54ebfb=this[_0x42507d(0x3c6)])==null||_0x54ebfb['unsubscribe'](),this[_0x42507d(0x477)]=0x0;}},exports[_0x4611e8(0x30b)]=ae([L(0x4,a['Inject'](a[_0x4611e8(0x425)])),L(0x5,a['Inject'](p['RevisionService'])),L(0x6,a[_0x4611e8(0x359)]),L(0x7,a[_0x4611e8(0x2a6)]),L(0x8,p[_0x4611e8(0x44a)]),L(0x9,a[_0x4611e8(0x20d)]),L(0xa,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x30b)]),exports[_0x4611e8(0x357)]=class extends ce{constructor(_0x49ecd9,_0x363d3d,_0x65fdcd,_0x55a1ec,_0x3f57db,_0x44e1ac,_0x2bcff2,_0x2ab484,_0x57e140,_0x1538d1,_0x5b0d30,_0x2be682,_0x7a45cf){var _0x1474eb=_0x4611e8;super(_0x49ecd9,_0x363d3d,_0x65fdcd,_0x55a1ec,_0x3f57db,_0x57e140,_0x2be682,_0x2ab484,_0x7a45cf),A(this,_0x1474eb(0x187),_0x1474eb(0x3be)),A(this,_0x1474eb(0x477),0x0),A(this,_0x1474eb(0x178)),A(this,_0x1474eb(0x3c6)),(this[_0x1474eb(0x390)]=_0x2bcff2,this[_0x1474eb(0x47b)]=_0x1538d1,this[_0x1474eb(0x2da)]=_0x5b0d30,this[_0x1474eb(0x25d)]=_0x7a45cf,_0x44e1ac&&(this['_resendTimer']=_0x44e1ac,this['_sender']=this[_0x1474eb(0x178)][_0x1474eb(0x46a)](({reqId:_0x9b939d,timeout:_0x349f78})=>{var _0x7d0799=_0x1474eb;this[_0x7d0799(0x22e)](_0x9b939d,_0x349f78);})));}[_0x4611e8(0x362)](_0xbf4678){var _0x24f88b=_0x4611e8;return this[_0x24f88b(0x2d4)][_0x24f88b(0x475)](_0xbf4678),this;}['onRemoteChangeset'](_0x53678a){var _0x27f58c=_0x4611e8;if(this[_0x27f58c(0x331)](_0x53678a))return this[_0x27f58c(0x309)](),this[_0x27f58c(0x390)][_0x27f58c(0x46b)](exports['FetchingMissState'],this[_0x27f58c(0x39e)],this['type'],this[_0x27f58c(0x211)],this[_0x27f58c(0x2d4)],null,[_0x53678a],this[_0x27f58c(0x256)]);try{const _0x5b58e9=this[_0x27f58c(0x2da)][_0x27f58c(0x133)]([_0x53678a],[this['_awaitingChangeset']],!0x1);if(p[_0x27f58c(0x350)](_0x5b58e9)){const {c1Prime:_0x126054,c2Prime:_0x245fa2}=_0x5b58e9,_0x1f6634=this[_0x27f58c(0x2da)][_0x27f58c(0x16c)](_0x126054[0x0],this[_0x27f58c(0x2d4)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1f6634)){const {c1Prime:_0x36cfa3,m2Prime:_0x1fb384}=_0x1f6634;return this[_0x27f58c(0x1aa)](_0x36cfa3),_0x245fa2[0x0][_0x27f58c(0x32c)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x27f58c(0x390)][_0x27f58c(0x46b)](exports[_0x27f58c(0x357)],this[_0x27f58c(0x39e)],this[_0x27f58c(0x442)],_0x245fa2[0x0],_0x1fb384,this[_0x27f58c(0x256)],void 0x0);}throw _0x1f6634['error'];}throw _0x5b58e9[_0x27f58c(0x2b8)];}catch(_0x13199c){return this[_0x27f58c(0x47b)][_0x27f58c(0x2b8)](_0x13199c),this[_0x27f58c(0x278)](!0x1);}}['onRemoteAck'](_0x3ed6f1){var _0x1796cf=_0x4611e8;if(this[_0x1796cf(0x309)](),this[_0x1796cf(0x331)](_0x3ed6f1))return this[_0x1796cf(0x390)][_0x1796cf(0x46b)](exports['FetchingMissState'],this[_0x1796cf(0x39e)],this[_0x1796cf(0x442)],null,this[_0x1796cf(0x2d4)],this[_0x1796cf(0x211)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3b021a=this[_0x1796cf(0x390)][_0x1796cf(0x46b)](exports[_0x1796cf(0x186)],this[_0x1796cf(0x39e)],this['type'],this['_pendingMutations'],this[_0x1796cf(0x256)]);return _0x3b021a[_0x1796cf(0x3fd)](),_0x3b021a['_updateLocalCache'](),_0x3b021a;}['onRemoteRej'](_0x175cb7){var _0x38fc0a=_0x4611e8;return this[_0x38fc0a(0x278)](!!(_0x175cb7!=null&&_0x175cb7['isPermissionRej']));}[_0x4611e8(0x383)](_0x27e4ea){var _0x131ee2=_0x4611e8;return this[_0x131ee2(0x477)]>Rt?this[_0x131ee2(0x29b)]():(this[_0x131ee2(0x178)]=bt(this[_0x131ee2(0x477)],{'timeout':this[_0x131ee2(0x477)],'reqId':_0x27e4ea[_0x131ee2(0x38a)]}),this['_sender']=this[_0x131ee2(0x178)][_0x131ee2(0x46a)](({reqId:_0x2fda1b,timeout:_0x4aa3d2})=>{var _0x122bde=_0x131ee2;this[_0x122bde(0x22e)](_0x2fda1b,_0x4aa3d2);}),this);}['toggleOffline'](){var _0x393389=_0x4611e8;return this[_0x393389(0x309)](),this[_0x393389(0x390)][_0x393389(0x46b)](exports[_0x393389(0x311)],this['unitID'],this[_0x393389(0x442)],this['_awaitingChangeset'],this[_0x393389(0x2d4)],this[_0x393389(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x321e87=_0x4611e8;this[_0x321e87(0x256)][_0x321e87(0x3e7)](this[_0x321e87(0x211)]);}[_0x4611e8(0x278)](_0x2c4b2f){var _0x357cbc=_0x4611e8;return this[_0x357cbc(0x309)](),this[_0x357cbc(0x390)][_0x357cbc(0x46b)](exports[_0x357cbc(0x360)],this[_0x357cbc(0x39e)],this[_0x357cbc(0x442)],null,this[_0x357cbc(0x2d4)],this['_handler'],_0x2c4b2f);}[_0x4611e8(0x22e)](_0x395fd0,_0x25a7b4){var _0x1fcd3a=_0x4611e8,_0x100654;_0x395fd0===((_0x100654=this['_awaitingChangeset'])==null?void 0x0:_0x100654[_0x1fcd3a(0x38a)])&&(this[_0x1fcd3a(0x148)](),this['_resendTimeout']=_0x25a7b4===0x0?0x3e8:_0x25a7b4*0x2);}[_0x4611e8(0x309)](){var _0xcfb2ba=_0x4611e8,_0x52ae83;(_0x52ae83=this[_0xcfb2ba(0x3c6)])==null||_0x52ae83[_0xcfb2ba(0x12c)](),this[_0xcfb2ba(0x477)]=0x0;}},exports[_0x4611e8(0x357)]=ae([L(0x6,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x7,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x8,a[_0x4611e8(0x359)]),L(0x9,a[_0x4611e8(0x2a6)]),L(0xa,p[_0x4611e8(0x44a)]),L(0xb,a[_0x4611e8(0x20d)]),L(0xc,a['Optional'](q))],exports[_0x4611e8(0x357)]),exports['ConflictState']=class extends ce{constructor(_0x1fb4f8,_0x579608,_0x55f351,_0x5540c4,_0x3ce032,_0x405cdc=!0x1,_0x136dba,_0x12268e,_0x3cf662,_0x1cc287,_0x578043,_0x194593,_0x4ec57a){var _0x5e7cb7=_0x4611e8;super(_0x1fb4f8,_0x579608,_0x55f351,_0x5540c4,_0x3ce032,_0x12268e,_0x3cf662,_0x1cc287,_0x4ec57a),A(this,_0x5e7cb7(0x187),_0x5e7cb7(0x482)),(this[_0x5e7cb7(0x185)]=_0x405cdc,this['_permissionService']=_0x136dba,this[_0x5e7cb7(0x286)]=_0x578043,this[_0x5e7cb7(0x31d)]=_0x194593,this[_0x5e7cb7(0x25d)]=_0x4ec57a,this[_0x5e7cb7(0x414)](),this['_clearLocalCache'](),this[_0x5e7cb7(0x3de)]());}[_0x4611e8(0x362)](){return this;}[_0x4611e8(0x20f)](){return this;}[_0x4611e8(0x3ed)](){return this;}['onRemoteRej'](){return this;}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x4611e8(0x148)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4611e8(0x2b3)](){var _0x415a63=_0x4611e8,_0x476a24;(_0x476a24=this[_0x415a63(0x1d4)])==null||_0x476a24[_0x415a63(0x3d5)](this[_0x415a63(0x39e)],this[_0x415a63(0x442)],null,[]);}[_0x4611e8(0x414)](){var _0x1ef5c5=_0x4611e8;this[_0x1ef5c5(0x185)]?this[_0x1ef5c5(0x31d)][_0x1ef5c5(0x14e)]({'id':Z[_0x1ef5c5(0x152)]}):this[_0x1ef5c5(0x31d)][_0x1ef5c5(0x14e)]({'id':Z[_0x1ef5c5(0x36d)]});}[_0x4611e8(0x3de)](){var _0x3e6ef4=_0x4611e8;this[_0x3e6ef4(0x2f6)][_0x3e6ef4(0x1bf)](new X[(_0x3e6ef4(0x473))](this['unitID'])['id'],!0x1);}},exports[_0x4611e8(0x360)]=ae([L(0x6,a['Inject'](a['IPermissionService'])),L(0x7,a[_0x4611e8(0x359)]),L(0x8,a[_0x4611e8(0x20d)]),L(0x9,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0xa,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),L(0xb,a[_0x4611e8(0x1dd)](ee)),L(0xc,a['Optional'](q))],exports[_0x4611e8(0x360)]),exports[_0x4611e8(0x311)]=class extends ce{constructor(_0x1112aa,_0x2e0591,_0x4fb0f,_0x52dad6,_0x2ff38f,_0x515c1a,_0x324bba,_0x4797d2,_0x59fb8c,_0xa02307){var _0xe4215b=_0x4611e8;super(_0x1112aa,_0x2e0591,_0x4fb0f,_0x52dad6,_0x2ff38f,_0x4797d2,_0x59fb8c,_0x324bba,_0xa02307),A(this,'status',_0xe4215b(0x349)),this[_0xe4215b(0x390)]=_0x515c1a;}[_0x4611e8(0x362)](_0x315130){var _0x50d5ad=_0x4611e8;return this[_0x50d5ad(0x2d4)][_0x50d5ad(0x475)](_0x315130),this[_0x50d5ad(0x263)](),this;}[_0x4611e8(0x20f)](_0x5f20e1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4611e8(0x3ed)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4611e8(0x1e8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x4611e8(0x222)](){var _0xe4e611=_0x4611e8;const {_injector:_0x422657,_pendingMutations:_0x1c8a80,_awaitingChangeset:_0x3c7a96,unitID:_0x52945f,_handler:_0x67b41d,type:_0x3f8154}=this,_0x1bc76e=Ot(_0x422657,_0x52945f,_0x3f8154,_0x3c7a96,_0x1c8a80,_0x67b41d);return _0x1bc76e instanceof exports[_0xe4e611(0x186)]?_0x1bc76e[_0xe4e611(0x3fd)]():(_0x1bc76e instanceof exports[_0xe4e611(0x357)]||_0x1bc76e instanceof exports[_0xe4e611(0x30b)])&&_0x1bc76e[_0xe4e611(0x148)](),_0x1bc76e;}[_0x4611e8(0x148)](){var _0x1d73ff=_0x4611e8;throw new Error(_0x1d73ff(0x1ba));}},exports['OfflineState']=ae([L(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x7,a['ICommandService']),L(0x8,a[_0x4611e8(0x20d)]),L(0x9,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x311)]),exports[_0x4611e8(0x34d)]=class extends ce{constructor(_0x4c5663,_0x54b638,_0x2a5e5f,_0x3e9284,_0x446bf0,_0x5acbad,_0x47f2f0,_0x1d7753,_0x3a991f,_0x2a0250,_0x475915,_0x43711c,_0x481b72,_0x1c429b){var _0x41aaa7=_0x4611e8;super(_0x4c5663,_0x54b638,_0x2a5e5f,_0x3e9284,_0x47f2f0,_0x475915,_0x43711c,_0x3a991f,_0x1c429b),A(this,_0x41aaa7(0x187),_0x41aaa7(0x2e8)),(this[_0x41aaa7(0x20a)]=_0x446bf0,this['_queuedRemoteChangesets']=_0x5acbad,this['_injector']=_0x1d7753,this['_logService']=_0x2a0250,this[_0x41aaa7(0x2da)]=_0x481b72,this[_0x41aaa7(0x25d)]=_0x1c429b);}[_0x4611e8(0x1a9)](_0x207044){var _0x1989fa=_0x4611e8;try{const _0x281c24=[..._0x207044,...this['_queuedRemoteChangesets']],_0x3c7656=[this[_0x1989fa(0x211)]||this[_0x1989fa(0x20a)]][_0x1989fa(0x266)](_0x4bd6c2=>!!_0x4bd6c2);let _0x3c9c6c,_0x251694;if(_0x3c7656[_0x1989fa(0x479)]){const _0x20318d=this['_transformService']['transformChangesets'](_0x281c24,_0x3c7656,!0x1);if(!p[_0x1989fa(0x350)](_0x20318d))throw _0x20318d['error'];_0x3c9c6c=_0x20318d['c1Prime'],_0x251694=_0x20318d[_0x1989fa(0x446)];}else _0x3c9c6c=_0x281c24,_0x251694=[];let _0x3fe489=this[_0x1989fa(0x2d4)];_0x3c9c6c['forEach'](_0x1dc187=>{var _0x2616ab=_0x1989fa;let _0x2b4b0a;if(_0x3fe489[_0x2616ab(0x479)]){const _0x5713c7=this[_0x2616ab(0x2da)][_0x2616ab(0x16c)](_0x1dc187,_0x3fe489);if(!p[_0x2616ab(0x1dc)](_0x5713c7))throw _0x5713c7[_0x2616ab(0x2b8)];_0x2b4b0a=_0x5713c7[_0x2616ab(0x2de)],_0x3fe489=_0x5713c7['m2Prime'];}else _0x2b4b0a=_0x1dc187;this[_0x2616ab(0x1aa)](_0x2b4b0a);}),this[_0x1989fa(0x20a)]&&this[_0x1989fa(0x1ff)](),this[_0x1989fa(0x211)]&&_0x251694[_0x1989fa(0x479)]&&(_0x251694[0x0][_0x1989fa(0x32c)]=this['_getCurrentRevision']());let _0x5800af;if(this[_0x1989fa(0x211)]&&_0x3fe489[_0x1989fa(0x479)]!==0x0)_0x5800af=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports[_0x1989fa(0x357)],this['unitID'],this['type'],_0x251694[0x0],_0x3fe489,this[_0x1989fa(0x256)],void 0x0);else{if(this[_0x1989fa(0x211)]&&_0x3fe489[_0x1989fa(0x479)]===0x0)_0x251694[0x0]['baseRev']=this['_getCurrentRevision'](),_0x5800af=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports[_0x1989fa(0x30b)],this['unitID'],this[_0x1989fa(0x442)],_0x251694[0x0],this['_handler']);else{if(_0x3fe489['length']!==0x0){const _0x1f0abc=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports['PendingState'],this['unitID'],this['type'],_0x3fe489,this[_0x1989fa(0x256)]);_0x1f0abc[_0x1989fa(0x3fd)](),_0x5800af=_0x1f0abc;}else _0x5800af=this[_0x1989fa(0x390)]['createInstance'](exports['SyncedState'],this[_0x1989fa(0x39e)],this['type'],this['_handler']);}}return _0x5800af[_0x1989fa(0x263)](),_0x5800af;}catch(_0x14b589){return this[_0x1989fa(0x47b)]['error'](_0x1989fa(0x23c),_0x1989fa(0x388),_0x14b589),this['_injector'][_0x1989fa(0x46b)](exports[_0x1989fa(0x360)],this[_0x1989fa(0x39e)],this[_0x1989fa(0x442)],this[_0x1989fa(0x211)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x4611e8(0x148)](){var _0x3e9257=_0x4611e8;throw new Error(_0x3e9257(0x3f1));}['appendMutation'](_0x48857d){var _0xbeed18=_0x4611e8;return this['_pendingMutations'][_0xbeed18(0x475)](_0x48857d),this;}['onRemoteChangeset'](_0x1fd491){var _0x29303d=_0x4611e8;return this[_0x29303d(0x358)][_0x29303d(0x475)](_0x1fd491),this;}['onRemoteAck'](_0x3935a1){var _0x5e57ac=_0x4611e8;if(this[_0x5e57ac(0x211)])return this[_0x5e57ac(0x20a)]=this[_0x5e57ac(0x211)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x4611e8(0x1e8)](_0x4d446c){var _0x30f0d2=_0x4611e8;return this[_0x30f0d2(0x278)](!!(_0x4d446c!=null&&_0x4d446c['isPermissionRej']));}[_0x4611e8(0x383)](){return this;}[_0x4611e8(0x29b)](){var _0x3967cf=_0x4611e8;return this['_injector'][_0x3967cf(0x46b)](exports['OfflineState'],this['unitID'],this[_0x3967cf(0x442)],this[_0x3967cf(0x211)],this[_0x3967cf(0x2d4)],this[_0x3967cf(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x278)](_0x3c3cc2){var _0xdc3186=_0x4611e8;return this[_0xdc3186(0x390)][_0xdc3186(0x46b)](exports[_0xdc3186(0x360)],this[_0xdc3186(0x39e)],this['type'],this[_0xdc3186(0x211)],this[_0xdc3186(0x2d4)],this[_0xdc3186(0x256)],_0x3c3cc2);}},exports[_0x4611e8(0x34d)]=ae([L(0x7,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x8,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x9,a[_0x4611e8(0x2a6)]),L(0xa,a[_0x4611e8(0x359)]),L(0xb,a[_0x4611e8(0x20d)]),L(0xc,p['ITransformService']),L(0xd,a[_0x4611e8(0x3e3)](q))],exports['FetchingMissState']);function Ot(_0x471d60,_0x421da6,_0x263013,_0x30b928,_0x246444,_0x377459){var _0x465174=_0x4611e8;return _0x30b928&&_0x246444[_0x465174(0x479)]?_0x471d60[_0x465174(0x46b)](exports['AwaitingWithPendingState'],_0x421da6,_0x263013,_0x30b928,_0x246444,_0x377459,void 0x0):_0x30b928?_0x471d60[_0x465174(0x46b)](exports[_0x465174(0x30b)],_0x421da6,_0x263013,_0x30b928,_0x377459):_0x246444[_0x465174(0x479)]?_0x471d60[_0x465174(0x46b)](exports[_0x465174(0x186)],_0x421da6,_0x263013,_0x246444,_0x377459):_0x471d60['createInstance'](exports[_0x465174(0x324)],_0x421da6,_0x263013,_0x377459);}var vi=Object[_0x4611e8(0x1b5)],Fe=(_0x2f78e7,_0x4ebb78,_0x5ce340,_0x15c936)=>{var _0x5801b1=_0x4611e8;for(var _0x11b36f=_0x15c936>0x1?void 0x0:_0x15c936?vi(_0x4ebb78,_0x5ce340):_0x4ebb78,_0x3588b2=_0x2f78e7[_0x5801b1(0x479)]-0x1,_0x25cd28;_0x3588b2>=0x0;_0x3588b2--)(_0x25cd28=_0x2f78e7[_0x3588b2])&&(_0x11b36f=_0x25cd28(_0x11b36f)||_0x11b36f);return _0x11b36f;},j=(_0x50ecd8,_0x585023)=>(_0x46c605,_0x194bb6)=>_0x585023(_0x46c605,_0x194bb6,_0x50ecd8);exports[_0x4611e8(0x3aa)]=class extends a[_0x4611e8(0x135)]{constructor(_0x4ad8a7,_0x2eac7a,_0x1f100b,_0x43f28e,_0x383657,_0x403dc7,_0x5ea803,_0x7fa026,_0x333406,_0x4fd031,_0x30ae85,_0x378ee0,_0x3f5c26){var _0x214493=_0x4611e8;super(),A(this,'_state$',new $[(_0x214493(0x3c0))](null)),A(this,'state$',this[_0x214493(0x3a5)][_0x214493(0x2fd)]()),A(this,'_state'),A(this,_0x214493(0x2e0),!0x1),A(this,'_changesetSessionId',''),A(this,_0x214493(0x3db),0x0),A(this,_0x214493(0x276),this['state$'][_0x214493(0x121)]($[_0x214493(0x353)](_0x22de7f=>_0x22de7f?_0x22de7f[_0x214493(0x187)]:Be[_0x214493(0x284)]),$[_0x214493(0x39c)](0x1))),A(this,_0x214493(0x3ce),!0x1),A(this,_0x214493(0x291),[]),(this[_0x214493(0x39e)]=_0x4ad8a7,this[_0x214493(0x1e9)]=_0x2eac7a,this[_0x214493(0x2ad)]=_0x1f100b,this[_0x214493(0x390)]=_0x43f28e,this[_0x214493(0x3fe)]=_0x383657,this['_localeService']=_0x403dc7,this[_0x214493(0x206)]=_0x5ea803,this[_0x214493(0x166)]=_0x7fa026,this[_0x214493(0x47b)]=_0x333406,this[_0x214493(0x1b4)]=_0x4fd031,this[_0x214493(0x2f6)]=_0x30ae85,this[_0x214493(0x143)]=_0x378ee0,this['_localCacheService']=_0x3f5c26);}get['state'](){var _0x596496=_0x4611e8;return this[_0x596496(0x338)];}async[_0x4611e8(0x1b7)](){var _0x26ac74=_0x4611e8;if(this[_0x26ac74(0x34c)])throw new Error(_0x26ac74(0x157));await this[_0x26ac74(0x387)]();}['pauseCollaboration'](){var _0x30ee3e=_0x4611e8;return this[_0x30ee3e(0x2e0)]=!0x0,a[_0x30ee3e(0x2f7)](()=>{var _0x24a3f4=_0x30ee3e;this[_0x24a3f4(0x2e0)]=!0x1,this[_0x24a3f4(0x1ea)]();});}[_0x4611e8(0x490)](_0x35bd01){var _0x5ba9d4=_0x4611e8;this[_0x5ba9d4(0x46e)](_0x35bd01);}[_0x4611e8(0x180)](_0x46c2e3){var _0x9fda69=_0x4611e8;this[_0x9fda69(0x338)]=_0x46c2e3,this['_state$'][_0x9fda69(0x244)](_0x46c2e3);}async[_0x4611e8(0x387)](){var _0xec93a3=_0x4611e8,_0x2bb576;this[_0xec93a3(0x180)](await this['_createInitialState']()),this[_0xec93a3(0x143)]&&((_0x2bb576=this[_0xec93a3(0x143)])==null||_0x2bb576[_0xec93a3(0x376)](this[_0xec93a3(0x39e)]),this[_0xec93a3(0x1b8)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0xec93a3(0x39e)])['subscribe'](_0x495b9d=>{var _0x215a35=_0xec93a3;this['_logService'][_0x215a35(0x20b)](_0x215a35(0x48f),_0x215a35(0x243),_0x495b9d),_0x495b9d===je[_0x215a35(0x11f)]?(this[_0x215a35(0x166)][_0x215a35(0x14e)]({'id':Z[_0x215a35(0x230)]}),this[_0x215a35(0x2f6)]['updatePermissionPoint'](new X[(_0x215a35(0x473))](this[_0x215a35(0x39e)])['id'],!0x1),this[_0x215a35(0x2f6)][_0x215a35(0x3f9)](!0x1)):(this[_0x215a35(0x2f6)][_0x215a35(0x1bf)](new X[(_0x215a35(0x473))](this[_0x215a35(0x39e)])['id'],!0x0),this[_0x215a35(0x2f6)][_0x215a35(0x3f9)](!0x0));})));let _0x2c36c3=!0x1;return this[_0xec93a3(0x1b8)](this[_0xec93a3(0x1e9)]['sessionStatus$']['subscribe'](_0x15aa7b=>{var _0x1135bb=_0xec93a3;_0x15aa7b===re['ONLINE']?this[_0x1135bb(0x344)](_0x2c36c3):_0x15aa7b===re['OFFLINE']&&(_0x2c36c3=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0xec93a3(0x1e9)][_0xec93a3(0x1fc)][_0xec93a3(0x46a)](_0x2a720f=>{var _0x94e99a=_0xec93a3;try{switch(_0x2a720f['eventID']){case p[_0x94e99a(0x399)][_0x94e99a(0x35b)]:{this[_0x94e99a(0x433)](p[_0x94e99a(0x463)](_0x2a720f['data']));break;}case p['CollaborationEvent']['CHANGESET_ACK']:{this[_0x94e99a(0x163)](_0x2a720f[_0x94e99a(0x33e)]);break;}case p['CollaborationEvent'][_0x94e99a(0x28b)]:{this[_0x94e99a(0x1af)]();break;}case p[_0x94e99a(0x399)][_0x94e99a(0x410)]:{this[_0x94e99a(0x224)](_0x2a720f[_0x94e99a(0x33e)]);break;}case p[_0x94e99a(0x399)][_0x94e99a(0x254)]:{this[_0x94e99a(0x3ba)](_0x2a720f[_0x94e99a(0x33e)][_0x94e99a(0x1d0)]['map'](_0x103b08=>p[_0x94e99a(0x463)](_0x103b08)));break;}case p[_0x94e99a(0x399)][_0x94e99a(0x382)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x94e99a(0x399)]['UNISCRIPT_RUN']:break;}}catch(_0x4f5578){throw console[_0x94e99a(0x2b8)](_0x94e99a(0x44e),_0x4f5578),_0x4f5578;}})),this[_0xec93a3(0x338)];}[_0x4611e8(0x2f2)](){var _0x1fe2e7=_0x4611e8;this[_0x1fe2e7(0x3ce)]=!0x1;}[_0x4611e8(0x3d2)](){var _0x3c61d6=_0x4611e8;if(this[_0x3c61d6(0x3ce)])throw new Error(_0x3c61d6(0x416));this[_0x3c61d6(0x3ce)]=!0x0;}[_0x4611e8(0x46e)](_0x355584){var _0x742ebf=_0x4611e8;this['_lockTransition'](),this[_0x742ebf(0x180)](this[_0x742ebf(0x338)][_0x742ebf(0x362)](_0x355584)),this[_0x742ebf(0x2f2)]();}[_0x4611e8(0x433)](_0x11d0c){var _0x1a686b=_0x4611e8;if(!(_0x11d0c['revision']<=this[_0x1a686b(0x206)][_0x1a686b(0x1b0)](this[_0x1a686b(0x39e)]))){if(this['_collaborationPaused']){this[_0x1a686b(0x291)]['push'](_0x11d0c);return;}this[_0x1a686b(0x29a)](_0x11d0c);}}[_0x4611e8(0x1ea)](){var _0x1075d0=_0x4611e8;this['_remoteChangesetQueue']['forEach'](_0x37e288=>this[_0x1075d0(0x29a)](_0x37e288)),this['_remoteChangesetQueue']=[];}[_0x4611e8(0x29a)](_0x12d89a){var _0x4c4940=_0x4611e8;const _0xdb98a7=this[_0x4c4940(0x3fe)][_0x4c4940(0x46c)]['fetchThroughInterceptors'](this[_0x4c4940(0x3fe)][_0x4c4940(0x46c)][_0x4c4940(0x3d1)]()[_0x4c4940(0x151)])(_0x12d89a[_0x4c4940(0x438)],null)||_0x12d89a[_0x4c4940(0x438)],_0x4aacde={..._0x12d89a,'mutations':_0xdb98a7};this[_0x4c4940(0x3d2)](),this[_0x4c4940(0x180)](this[_0x4c4940(0x338)][_0x4c4940(0x20f)](_0x4aacde)),this[_0x4c4940(0x2f2)]();}[_0x4611e8(0x163)](_0x3f363b){var _0x2fb73e=_0x4611e8;this['_lockTransition'](),this[_0x2fb73e(0x180)](this[_0x2fb73e(0x338)]['onRemoteAck'](_0x3f363b)),this[_0x2fb73e(0x2f2)]();}['_onRemoteRejected'](_0x2199d5){var _0x94cbc5=_0x4611e8;this[_0x94cbc5(0x3d2)](),this[_0x94cbc5(0x180)](this[_0x94cbc5(0x338)]['onRemoteRej'](_0x2199d5)),this[_0x94cbc5(0x2f2)]();}['_onRemoteRetry'](_0x3c71d3){var _0x1dd0a1=_0x4611e8;this['_lockTransition'](),this['_updateState'](this[_0x1dd0a1(0x338)][_0x1dd0a1(0x383)](_0x3c71d3)),this[_0x1dd0a1(0x2f2)]();}['_onFetchMissResult'](_0x454f40){var _0x6f836b=_0x4611e8;if(!(this[_0x6f836b(0x338)]instanceof exports['FetchingMissState']))throw new TypeError(_0x6f836b(0x3ca));const _0x45f857=_0x454f40[_0x6f836b(0x353)](_0xb6d875=>{var _0x586f19=_0x6f836b;const _0x14d215=this[_0x586f19(0x3fe)][_0x586f19(0x46c)][_0x586f19(0x14b)](this[_0x586f19(0x3fe)][_0x586f19(0x46c)][_0x586f19(0x3d1)]()[_0x586f19(0x151)])(_0xb6d875[_0x586f19(0x438)],null)||_0xb6d875['mutations'];return{..._0xb6d875,'mutations':_0x14d215};});this[_0x6f836b(0x3d2)](),this['_updateState'](this[_0x6f836b(0x338)]['onMissedChangesetFetched'](_0x45f857)),this[_0x6f836b(0x2f2)]();}[_0x4611e8(0x431)](){var _0x155ce0=_0x4611e8;this[_0x155ce0(0x3d2)](),this[_0x155ce0(0x180)](this[_0x155ce0(0x338)][_0x155ce0(0x29b)]()),this[_0x155ce0(0x2f2)]();}[_0x4611e8(0x344)](_0x2aa2f5=!0x1){var _0x5573fa=_0x4611e8;this[_0x5573fa(0x3d2)](),this[_0x5573fa(0x180)](this[_0x5573fa(0x338)][_0x5573fa(0x222)]()),this['_unlockTransition']();const _0x35aa49=this[_0x5573fa(0x338)];_0x2aa2f5&&_0x35aa49 instanceof exports['SyncedState']&&(this['_lockTransition'](),this['_updateState'](_0x35aa49[_0x5573fa(0x3b9)]()),this[_0x5573fa(0x2f2)]());}async[_0x4611e8(0x14f)](){return new Promise(_0x48e1cc=>{var _0x4f7dd0=_0x4139;this['session'][_0x4f7dd0(0x3a6)][_0x4f7dd0(0x121)]($[_0x4f7dd0(0x26b)](0x1))[_0x4f7dd0(0x46a)](async _0x1938f7=>{var _0x3b1c80=_0x4f7dd0;_0x48e1cc(await this[_0x3b1c80(0x462)](_0x1938f7===re['ONLINE']));});});}['_createHandler'](){const _0x527700=this['unitID'];return{'onStateChange':(_0x12b2b5,_0x5466e1)=>{var _0x2f4149=_0x4139;if(_0x12b2b5!==this[_0x2f4149(0x338)])throw new Error(_0x2f4149(0x22d)+_0x12b2b5[_0x2f4149(0x187)]+_0x2f4149(0x437)+_0x5466e1['status']+_0x2f4149(0x35d)+this['_state'][_0x2f4149(0x187)]);this[_0x2f4149(0x180)](_0x5466e1);},'onSendChangeset':_0x1283fa=>{var _0x1c1dad=_0x4139;_0x1283fa['sid']||(_0x1283fa[_0x1c1dad(0x361)]=this[_0x1c1dad(0x253)],_0x1283fa[_0x1c1dad(0x38a)]=++this[_0x1c1dad(0x3db)]);const _0x1acd6f={'eventID':p[_0x1c1dad(0x399)][_0x1c1dad(0x407)],'data':{'unitID':_0x1283fa[_0x1c1dad(0x39e)],'unitType':this[_0x1c1dad(0x2ad)],'changeset':_0x1283fa,'memberID':this[_0x1c1dad(0x1e9)][_0x1c1dad(0x24e)]()}};this[_0x1c1dad(0x1e9)][_0x1c1dad(0x269)](_0x1acd6f,this['unitID']);},'onMissingChangesets':({from:_0x24c3d4,to:_0x1f8fbd})=>{var _0x530cb6=_0x4139;this['_logService'][_0x530cb6(0x20b)](_0x530cb6(0x48f),'fetching\x20missing\x20changesets\x20from\x20'+_0x24c3d4+_0x530cb6(0x48b)+_0x1f8fbd);const _0x17f5ef={'eventID':p[_0x530cb6(0x399)][_0x530cb6(0x42f)],'data':{'unitID':_0x527700,'unitType':this[_0x530cb6(0x2ad)],'from':_0x24c3d4,'to':_0x1f8fbd}};this[_0x530cb6(0x1e9)][_0x530cb6(0x269)](_0x17f5ef,this['unitID']);}};}async[_0x4611e8(0x462)](_0x20db78){var _0x5575f3=_0x4611e8,_0x619bc3,_0x14df5e,_0x1ef6be;const _0x459e8b=await((_0x619bc3=this['_localCacheService'])==null?void 0x0:_0x619bc3[_0x5575f3(0x345)](this['unitID'])),_0x4bf031=(_0x14df5e=_0x459e8b==null?void 0x0:_0x459e8b['mutations'])!=null?_0x14df5e:[],_0x30a071=(_0x1ef6be=_0x459e8b==null?void 0x0:_0x459e8b[_0x5575f3(0x3ec)])!=null?_0x1ef6be:null,_0x1b9f0d=!!(_0x30a071!=null&&_0x30a071[_0x5575f3(0x361)])&&!!(_0x30a071!=null&&_0x30a071[_0x5575f3(0x38a)]);this['_changesetSessionId']=_0x1b9f0d?_0x30a071[_0x5575f3(0x361)]:p['uuidv4'](),this['_changesetReqId']=_0x1b9f0d?_0x30a071[_0x5575f3(0x38a)]:0x0;const _0xc3fb90=this['unitID'];try{this['_replayCachedMutations'](_0x30a071,_0x4bf031);}catch(_0x15fdf2){this[_0x5575f3(0x47b)]['error'](_0x15fdf2);}const _0x3336a4=this[_0x5575f3(0x380)]();if(_0x20db78){const _0x152703=Ot(this[_0x5575f3(0x390)],_0xc3fb90,this['_type'],_0x30a071,_0x4bf031,_0x3336a4);return _0x152703 instanceof exports['PendingState']?_0x152703['_schedule']():(_0x152703 instanceof exports[_0x5575f3(0x357)]||_0x152703 instanceof exports[_0x5575f3(0x30b)])&&_0x152703[_0x5575f3(0x148)](),_0x152703;}return this[_0x5575f3(0x390)][_0x5575f3(0x46b)](exports['OfflineState'],_0xc3fb90,this[_0x5575f3(0x2ad)],_0x30a071,_0x4bf031,_0x3336a4);}[_0x4611e8(0x240)](_0x36dcd0,_0x413c3a){var _0x53eb53=_0x4611e8,_0xbacf2d,_0x309920;const _0x70c840=this[_0x53eb53(0x3fe)]['interceptor']['fetchThroughInterceptors'](this[_0x53eb53(0x3fe)][_0x53eb53(0x46c)][_0x53eb53(0x3d1)]()['COMPRESS_MUTATION_APPLY']);(_0xbacf2d=_0x70c840((_0x36dcd0==null?void 0x0:_0x36dcd0['mutations'])||[],null))==null||_0xbacf2d['forEach'](_0x311c17=>this[_0x53eb53(0x1b4)][_0x53eb53(0x147)](_0x311c17['id'],_0x311c17[_0x53eb53(0x3b8)])),(_0x309920=_0x70c840(_0x413c3a||[],null))==null||_0x309920[_0x53eb53(0x333)](_0x34e501=>this[_0x53eb53(0x1b4)][_0x53eb53(0x147)](_0x34e501['id'],_0x34e501[_0x53eb53(0x3b8)]));}},exports[_0x4611e8(0x3aa)]=Fe([j(0x3,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),j(0x4,a['Inject'](p[_0x4611e8(0x3c5)])),j(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x4611e8(0x1dd)](ee)),j(0x8,a[_0x4611e8(0x2a6)]),j(0x9,a[_0x4611e8(0x359)]),j(0xa,a[_0x4611e8(0x37e)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x3aa)]),exports[_0x4611e8(0x1a4)]=class extends exports[_0x4611e8(0x3aa)]{constructor(_0x203fe9,_0x32c452,_0xcbbcd4,_0x4a3492,_0x2fb07a,_0x2f7be4,_0x2f0c95,_0x4861c9,_0x489342,_0x2c8dad,_0x586725,_0x340edb,_0x173326){var _0x234bda=_0x4611e8;super(_0x203fe9,_0xcbbcd4,_0x32c452,_0x4a3492,_0x2fb07a,_0x2f7be4,_0x2f0c95,_0x4861c9,_0x489342,_0x2c8dad,_0x586725,_0x340edb,_0x173326),A(this,_0x234bda(0x24b),null),(this[_0x234bda(0x39e)]=_0x203fe9,this[_0x234bda(0x442)]=_0x32c452);}[_0x4611e8(0x2c9)](_0x290399){var _0x2ffbfb=_0x4611e8;this[_0x2ffbfb(0x24b)]=_0x290399;}[_0x4611e8(0x48c)](){var _0x502c20=_0x4611e8;this[_0x502c20(0x24b)]=null,super['dispose']();}['_createHandler'](){var _0x8a917f=_0x4611e8;const _0x1dbba6=super['_createHandler']();return _0x1dbba6[_0x8a917f(0x370)]=_0x578413=>{var _0x448501=_0x8a917f,_0x2f2e45,_0x4734ef;return(_0x4734ef=(_0x2f2e45=this['_handlerCallback'])==null?void 0x0:_0x2f2e45[_0x448501(0x370)])==null?void 0x0:_0x4734ef[_0x448501(0x415)](_0x2f2e45,_0x578413);},_0x1dbba6[_0x8a917f(0x397)]=_0xb4c161=>{var _0x32330d=_0x8a917f,_0x1dfe55,_0x24565f;return(_0x24565f=(_0x1dfe55=this[_0x32330d(0x24b)])==null?void 0x0:_0x1dfe55[_0x32330d(0x397)])==null?void 0x0:_0x24565f[_0x32330d(0x415)](_0x1dfe55,_0xb4c161);},_0x1dbba6[_0x8a917f(0x3d9)]=_0x3e933d=>{var _0x11655d=_0x8a917f,_0x318ce9,_0x34e515;return(_0x34e515=(_0x318ce9=this[_0x11655d(0x24b)])==null?void 0x0:_0x318ce9[_0x11655d(0x3d9)])==null?void 0x0:_0x34e515[_0x11655d(0x415)](_0x318ce9,_0x3e933d);},_0x1dbba6[_0x8a917f(0x2bf)]=_0x2f8dd9=>{var _0x9f038b=_0x8a917f,_0x14a232,_0x3bff97;return(_0x3bff97=(_0x14a232=this[_0x9f038b(0x24b)])==null?void 0x0:_0x14a232[_0x9f038b(0x2bf)])==null?void 0x0:_0x3bff97[_0x9f038b(0x415)](_0x14a232,_0x2f8dd9);},_0x1dbba6[_0x8a917f(0x3ae)]=_0x460f7c=>{var _0x5ef4f6=_0x8a917f,_0x4df05a,_0x447929,_0xc579e5;if(!((_0x4df05a=this[_0x5ef4f6(0x24b)])!=null&&_0x4df05a[_0x5ef4f6(0x3ae)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc579e5=(_0x447929=this[_0x5ef4f6(0x24b)])==null?void 0x0:_0x447929[_0x5ef4f6(0x3ae)])==null?void 0x0:_0xc579e5['call'](_0x447929,_0x460f7c);},_0x1dbba6['onTransformRemoteChangesetByStateCache']=_0x5615db=>{var _0x30a389=_0x8a917f,_0x26ce03,_0x29cbca,_0x19c75c;if(!((_0x26ce03=this[_0x30a389(0x24b)])!=null&&_0x26ce03[_0x30a389(0x423)]))throw new Error(_0x30a389(0x255));return(_0x19c75c=(_0x29cbca=this['_handlerCallback'])==null?void 0x0:_0x29cbca[_0x30a389(0x423)])==null?void 0x0:_0x19c75c['call'](_0x29cbca,_0x5615db);},_0x1dbba6;}async[_0x4611e8(0x387)](){var _0x27ab96=_0x4611e8;const _0xd99ec1=await super[_0x27ab96(0x387)]();return this[_0x27ab96(0x1b8)](this[_0x27ab96(0x1b4)][_0x27ab96(0x198)]((_0x3e38f4,_0x3c1a2a)=>{var _0x28cebc=_0x27ab96;if(_0x3e38f4[_0x28cebc(0x442)]!==a[_0x28cebc(0x392)][_0x28cebc(0x3a3)]||_0x3c1a2a!=null&&_0x3c1a2a[_0x28cebc(0x2c6)]||_0x3c1a2a!=null&&_0x3c1a2a[_0x28cebc(0x2a5)]||_0x3e38f4['id']===ht[_0x28cebc(0x39a)]['id'])return;const _0x5e4c24=_0x3e38f4['params'];if((_0x5e4c24==null?void 0x0:_0x5e4c24[_0x28cebc(0x218)])!==this[_0x28cebc(0x39e)])return;const _0x1d1c7e=_0x3e38f4,_0x177d0f=this[_0x28cebc(0x3fe)][_0x28cebc(0x46c)]['fetchThroughInterceptors'](this[_0x28cebc(0x3fe)][_0x28cebc(0x46c)][_0x28cebc(0x3d1)]()['COMPRESS_MUTATION_SEND'])([_0x1d1c7e],null)||[_0x1d1c7e];this['_onLocalMutation'](_0x177d0f[0x0]);})),_0xd99ec1;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x4611e8(0x425)])),j(0x4,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x3c5)])),j(0x5,a['Inject'](a[_0x4611e8(0x319)])),j(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),j(0x7,a[_0x4611e8(0x1dd)](ee)),j(0x8,a[_0x4611e8(0x2a6)]),j(0x9,a['ICommandService']),j(0xa,a[_0x4611e8(0x37e)]),j(0xb,a[_0x4611e8(0x3e3)](de)),j(0xc,a['Optional'](q))],exports[_0x4611e8(0x1a4)]),exports['SheetCollaborationEntity']=class extends exports[_0x4611e8(0x3aa)]{constructor(_0x3166d7,_0x40c8d5,_0x65d408,_0x9db354,_0x3df220,_0x1d0d37,_0x5e6dbd,_0x4d72cc,_0x42bbf1,_0x5e0898,_0x28920e,_0x236f26,_0x5520d9,_0x8f3fbf){var _0x3398b7=_0x4611e8;super(_0x3166d7,_0x65d408,_0x40c8d5,_0x9db354,_0x3df220,_0x1d0d37,_0x5e6dbd,_0x42bbf1,_0x5e0898,_0x28920e,_0x236f26,_0x5520d9,_0x8f3fbf),this['unitID']=_0x3166d7,this['type']=_0x40c8d5,this[_0x3398b7(0x11a)]=_0x4d72cc;}[_0x4611e8(0x380)](){var _0x5ebf0a=_0x4611e8;const _0x40c12d=super[_0x5ebf0a(0x380)]();return _0x40c12d['onTransformSelections']=_0x586ca9=>this[_0x5ebf0a(0x11a)][_0x5ebf0a(0x11e)](_0x586ca9),_0x40c12d;}async[_0x4611e8(0x387)](){var _0x101f7c=_0x4611e8;const _0x3d80a5=await super[_0x101f7c(0x387)]();return this[_0x101f7c(0x1b8)](this[_0x101f7c(0x1b4)][_0x101f7c(0x198)]((_0x3119e9,_0x2cbe5c)=>{var _0x96282e=_0x101f7c;if(_0x3119e9[_0x96282e(0x442)]!==a[_0x96282e(0x392)][_0x96282e(0x3a3)]||_0x2cbe5c!=null&&_0x2cbe5c[_0x96282e(0x2c6)]||_0x2cbe5c!=null&&_0x2cbe5c[_0x96282e(0x2a5)])return;const _0x4d6d5e=_0x3119e9['params'];if((_0x4d6d5e==null?void 0x0:_0x4d6d5e[_0x96282e(0x218)])!==this[_0x96282e(0x39e)])return;const _0x198680=_0x3119e9,_0x4ce1e4=this['_compressMutationService'][_0x96282e(0x46c)][_0x96282e(0x14b)](this[_0x96282e(0x3fe)][_0x96282e(0x46c)]['getInterceptPoints']()[_0x96282e(0x3ff)])([_0x198680],null)||[_0x198680];this[_0x96282e(0x46e)](_0x4ce1e4[0x0]);})),_0x3d80a5;}},exports[_0x4611e8(0x261)]=Fe([j(0x3,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),j(0x4,a['Inject'](p[_0x4611e8(0x3c5)])),j(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),j(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),j(0x7,a[_0x4611e8(0x1dd)](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a['ICommandService']),j(0xb,a[_0x4611e8(0x37e)]),j(0xc,a[_0x4611e8(0x3e3)](de)),j(0xd,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x261)]);var Si=Object[_0x4611e8(0x1b5)],fi=(_0x397be8,_0x18570a,_0x35bd1e,_0x524ad2)=>{var _0x579bf3=_0x4611e8;for(var _0x231f31=_0x524ad2>0x1?void 0x0:_0x524ad2?Si(_0x18570a,_0x35bd1e):_0x18570a,_0x5dc400=_0x397be8[_0x579bf3(0x479)]-0x1,_0x56c787;_0x5dc400>=0x0;_0x5dc400--)(_0x56c787=_0x397be8[_0x5dc400])&&(_0x231f31=_0x56c787(_0x231f31)||_0x231f31);return _0x231f31;},Se=(_0x14bf82,_0x31bf1f)=>(_0x58c38f,_0xb21f16)=>_0x31bf1f(_0x58c38f,_0xb21f16,_0x14bf82);exports[_0x4611e8(0x2d0)]=class extends a[_0x4611e8(0x135)]{constructor(_0x20cf61,_0x426834,_0x381d76,_0xd38b1a){var _0x13d17a=_0x4611e8,_0x2ba67c;super(),A(this,_0x13d17a(0x318),new Map()),A(this,_0x13d17a(0x2ca),new $[(_0x13d17a(0x419))]()),A(this,_0x13d17a(0x488),this[_0x13d17a(0x2ca)][_0x13d17a(0x2fd)]()),(this[_0x13d17a(0x390)]=_0x20cf61,this[_0x13d17a(0x2d9)]=_0x426834,this[_0x13d17a(0x290)]=_0x381d76,this[_0x13d17a(0x322)]=_0xd38b1a,((_0x2ba67c=this['_configService'][_0x13d17a(0x2a9)](G))==null?void 0x0:_0x2ba67c['enableCollaboration'])!==!0x1&&this[_0x13d17a(0x387)]());}[_0x4611e8(0x48c)](){var _0x1476bf=_0x4611e8;super[_0x1476bf(0x48c)](),this['_entities']['forEach'](_0x2439e1=>_0x2439e1['dispose']()),this[_0x1476bf(0x318)][_0x1476bf(0x139)]();}[_0x4611e8(0x3b4)](_0x27ca3b){var _0x5a35df;return(_0x5a35df=this['_entities']['get'](_0x27ca3b))!=null?_0x5a35df:null;}[_0x4611e8(0x262)](_0x384f5a){var _0x2945d8=_0x4611e8;const _0x49118b=this[_0x2945d8(0x3b4)](_0x384f5a);return _0x49118b?$['of'](_0x49118b):this[_0x2945d8(0x2ca)][_0x2945d8(0x121)](V[_0x2945d8(0x266)](_0x5444fe=>_0x5444fe[_0x2945d8(0x39e)]===_0x384f5a));}[_0x4611e8(0x332)](_0x2a31f5){var _0x57a0dd=_0x4611e8;return $[_0x57a0dd(0x154)](this[_0x57a0dd(0x262)](_0x2a31f5)[_0x57a0dd(0x121)](V['map'](()=>{})));}[_0x4611e8(0x387)](){var _0x19df98=_0x4611e8;this[_0x19df98(0x322)][_0x19df98(0x32d)](a[_0x19df98(0x31f)][_0x19df98(0x1c8)])[_0x19df98(0x121)]($[_0x19df98(0x11d)](this[_0x19df98(0x1f9)]),V[_0x19df98(0x3b2)](0x10))[_0x19df98(0x46a)](async _0x12e9cb=>{var _0x1fc18f=_0x19df98;const _0x2df95c=_0x12e9cb['getUnitId'](),_0x1fe23b=await this[_0x1fc18f(0x1f6)](_0x2df95c,J[_0x1fc18f(0x1c8)]);this[_0x1fc18f(0x318)][_0x1fc18f(0x175)](_0x2df95c,_0x1fe23b);}),this[_0x19df98(0x322)][_0x19df98(0x32d)](a[_0x19df98(0x31f)]['UNIVER_DOC'])['pipe']($['takeUntil'](this[_0x19df98(0x1f9)]),V[_0x19df98(0x3b2)](0x10))[_0x19df98(0x121)](V[_0x19df98(0x266)](_0x4c2035=>!_0x4c2035['getUnitId']()['startsWith']('__')))[_0x19df98(0x46a)](async _0x4afcd1=>{var _0x3b1e00=_0x19df98;const _0x34890b=_0x4afcd1[_0x3b1e00(0x13b)](),_0x5c6873=await this[_0x3b1e00(0x1f6)](_0x34890b,J[_0x3b1e00(0x2c8)]);this[_0x3b1e00(0x318)][_0x3b1e00(0x175)](_0x34890b,_0x5c6873);}),$[_0x19df98(0x2fe)](this[_0x19df98(0x322)][_0x19df98(0x41f)](a[_0x19df98(0x31f)][_0x19df98(0x1c8)]),this['_univerInstanceService'][_0x19df98(0x41f)](a['UniverInstanceType'][_0x19df98(0x2c8)]))[_0x19df98(0x121)]($[_0x19df98(0x11d)](this[_0x19df98(0x1f9)]))[_0x19df98(0x46a)](_0xd82e1c=>{var _0x204295=_0x19df98;const _0x44c09a=_0xd82e1c[_0x204295(0x13b)](),_0x12b4ea=this['_entities'][_0x204295(0x306)](_0x44c09a);_0x12b4ea&&(_0x12b4ea[_0x204295(0x48c)](),this[_0x204295(0x318)][_0x204295(0x44f)](_0x44c09a));});}async[_0x4611e8(0x1f6)](_0x229be6,_0x336b61){var _0x1465df=_0x4611e8;const _0x5a8e2b=await this['_collabSessionService'][_0x1465df(0x27d)](_0x229be6),_0x591d85=this[_0x1465df(0x390)][_0x1465df(0x46b)](this[_0x1465df(0x1cc)](_0x336b61),_0x229be6,_0x336b61,_0x5a8e2b);return await _0x591d85[_0x1465df(0x1b7)](),this[_0x1465df(0x2ca)]['next'](_0x591d85),_0x591d85;}['_getCtorByUniverType'](_0x1019b5){var _0x1081ac=_0x4611e8;switch(_0x1019b5){case J[_0x1081ac(0x2c8)]:return exports[_0x1081ac(0x1a4)];case J['UNIVER_SHEET']:return exports[_0x1081ac(0x261)];default:throw new Error(_0x1081ac(0x16e)+_0x1019b5);}}},exports[_0x4611e8(0x2d0)]=fi([Se(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),Se(0x1,a[_0x4611e8(0x1dd)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4611e8(0x335)]),Se(0x3,a[_0x4611e8(0x227)])],exports[_0x4611e8(0x2d0)]);var Ii=Object[_0x4611e8(0x1b5)],pi=(_0x496047,_0x3d92c3,_0x3a580f,_0x1fb0d0)=>{for(var _0x44f5c9=_0x1fb0d0>0x1?void 0x0:_0x1fb0d0?Ii(_0x3d92c3,_0x3a580f):_0x3d92c3,_0x3e2488=_0x496047['length']-0x1,_0x53ec17;_0x3e2488>=0x0;_0x3e2488--)(_0x53ec17=_0x496047[_0x3e2488])&&(_0x44f5c9=_0x53ec17(_0x44f5c9)||_0x44f5c9);return _0x44f5c9;},Ke=(_0x3c7506,_0x4d38e8)=>(_0x1987b4,_0x5ae3fe)=>_0x4d38e8(_0x1987b4,_0x5ae3fe,_0x3c7506);const gi=_0x4611e8(0x140),Ei=_0x4611e8(0x461);let xe=class extends a[_0x4611e8(0x1e4)]{constructor(_0x317dbf,_0x405dc8){var _0x438137=_0x4611e8;super(),this[_0x438137(0x322)]=_0x317dbf,this[_0x438137(0x290)]=_0x405dc8,this[_0x438137(0x387)]();}['_init'](){var _0x4c76c9=_0x4611e8;this[_0x4c76c9(0x1b8)](this['_univerInstanceService'][_0x4c76c9(0x45f)]['subscribe'](()=>{var _0x3a532c=_0x4c76c9,_0x1fab40;const _0x3e7e71=this[_0x3a532c(0x322)][_0x3a532c(0x275)]();let _0x8934be=(_0x1fab40=this[_0x3a532c(0x290)]['getConfig'](gi))!=null?_0x1fab40:Ei;_0x3e7e71 instanceof a[_0x3a532c(0x1c2)]&&(_0x8934be=_0x3e7e71['name']),document[_0x3a532c(0x165)]=_0x8934be;}));}};xe=pi([Ke(0x0,a[_0x4611e8(0x227)]),Ke(0x1,a[_0x4611e8(0x335)])],xe);var mi=Object[_0x4611e8(0x1b5)],Ci=(_0x5361ba,_0x536d48,_0x256b4f,_0x4c1ff9)=>{var _0x536991=_0x4611e8;for(var _0x4dcdc2=_0x4c1ff9>0x1?void 0x0:_0x4c1ff9?mi(_0x536d48,_0x256b4f):_0x536d48,_0x1e4df7=_0x5361ba[_0x536991(0x479)]-0x1,_0x29fa2e;_0x1e4df7>=0x0;_0x1e4df7--)(_0x29fa2e=_0x5361ba[_0x1e4df7])&&(_0x4dcdc2=_0x29fa2e(_0x4dcdc2)||_0x4dcdc2);return _0x4dcdc2;},Ae=(_0x5e6eeb,_0x193b9c)=>(_0x3775e9,_0x526789)=>_0x193b9c(_0x3775e9,_0x526789,_0x5e6eeb);function _0xcb18(){var _0x28c6ab=['JOIN','_memberService','CONFLICT','execute','_sendHeartbeatTimer','onTransformIME','liveShareNewHost','memberID','_clearUndo','Hasher','disableLocalCache','editingUnit','/universer-api/oidc/authpage','connection\x20error','EMAIL_HAS_BEEN_BOUND','UNRECOGNIZED','stringify','_HTTPService','putCollaborators','IPermissionService','_candidateSocket','_createHandler','put','PERMISSION_REJ','onRemoteRetry','has','RETRY_CONNECTING_MAX_COUNT','close$','_init','failed\x20to\x20apply\x20missed\x20changesets!','method','reqId','JOIN_ROOM_PERMISSION_DENIED','/unit/','CLOSE_ROOM','cfg','_imageSourceCache','_injector','mixIn','CommandType','UNDEFINED','_key','resourceIDs','every','onTransformState','_hasher','CollaborationEvent','RichTextEditingMutation','saveImage','shareReplay','_retryCount','unitID','ERROR_IMAGE','/fetchmissing?from=','objectID','SNAPSHOT_INVALID_SNAPSHOT','MUTATION','image/png','_state$','sessionStatus$','INTERNAL_ERROR','create','AUTHZ_URL_KEY','CollaborationEntity','COLLAB_SUBMIT_CHANGESET_URL','_emitMembers','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','isInternalEditorID','UPDATE_PERMISSION_OBJ','_roomMembers','delay','sigBytes','getCollabEntity','YUUMI_CONNECTOR_URL_NOT_FOUND','_userManagerService','getLatestCsReqIdBySid','params','fetchMiss','_onFetchMissResult','ReplaySubject','slice','reset','awaiting_with_pending','APPLY_REJECT','BehaviorSubject','NOT_COLLAB','_map','workbook','b64DecodeUnicode','CompressMutationService','_sender','LIVESHARE_NEW_HOST','_initCloseConn','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UniverCollaborationPlugin','JOINING','TOO_MANY_REQUESTS','_transitionLocked','padding','HttpExport','getInterceptPoints','_lockTransition','getSheetId','_substituteRedoStack','updateOfflineData','generateRandomId','CollaborationSession','ONLINE','onTransformSelections','INetworkConditionService','_changesetReqId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','keySize','_disableEditing','HELLO','getWorkbookSelections','POST','/object/','Optional','_onJoinRoomEvent','COLLAB_SUBMIT_CHANGESET_URL_KEY','avatar','onSendChangeset','ICollaborationSocketService','awaiting','splice','uniscriptRunEvent','awaitingChangeset','onRemoteAck','[CollaborationSessionService]','_getRedoStack','unitInfo$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','_fetchMissChangesets','startTime','charAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','cmd','setShowComponents','_getDownloadEndpointURL','UNKNOWN_CODE','csRejEvent','_schedule','_compressMutationService','COMPRESS_MUTATION_SEND','snapshot','COLLAB_WEB_SOCKET_URL_KEY','_initUnitPermissionChange','parseChangesetToProtocol','mergeOverrideWithDependencies','INVITE_CODE_HAS_BEEN_UES','getAllMembers','SUBMIT_CHANGESET','USERS_LEAVE','pad','_transformSelections','ImageUploadStatusType','confirm','revision','socketService','$super','CHANGESET_SHOULD_RETRY','buffer','mode','ISnapshotServerService','_showConflictNotification','call','[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.','SUBMIT_CHANGESET_TIMEOUT','SOCKET_FAILED','Subject','SOCKET_FAILED_RETRY','SYNCED','ENSURE_SNAPSHOT_EXECUTION','_onMessage','_socketMessageSubscription','getTypeOfUnitDisposed$','?url=','image/jpeg','SheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','error$','Injector','ciphertext','CHANGESET_ACK','m2Prime','_onOffline','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_MAX_UNITS_EXCEEDED','getRandomValues','now','?size=','FETCH_MISSING','YUUMI_NO_CUBOID_FOR_QUESTION','_toggleOffline','COMPLETION_FINISHED','_onRemoteChangeset','_createHelper','registerDependencies','mapDocumentTypeToUniverType','\x0aAfter:\x20','mutations','enc','permissionRejEvent','randomBytes','CBC','/rev/','APPLY_DUPLICATED','defineProperty','replace','collabWebSocketUrl','type','name','HTTPService','LocalUndoRedoService','c2Prime','_registerDependencies','requestParams','_members','ITransformService','listCollaborators','_members$','createEncryptor','Error\x20on\x20receiving\x20event','delete','_onCombEvent','objectType','_updateStatus','YUUMI_RATE_OVER_LIMIT','ILocalCacheService','symbol','_undoRedoService','onStarting','_prevBlock','members','APPLY_PERMISSION_DENIED','join','/universer-api/file/{fileID}/sign-url','SnapshotService','getCurrentUser','focused$','x-univer-host','Univer','_createInitialStateImpl','parseProtocolChangeset','_doProcessBlock','from','_submitChangeset','_waitForHeartbeatResponse','collaborators','objectActions','subscribe','createInstance','interceptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onLocalMutation','_socketService','auth.needGotoLoginAlert','roles','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WorkbookEditablePermission','SnapshotServerOverHTTPService','push','LIVESHARE_OPERATION','_resendTimeout','INVALID_ARGUMENT','length','_append','_logService','localeService','DependentOn','onMissingChangesets','_cipher','Decryptor','UnitSnapshot','conflict','NO_OTHER_CLIENTS_EDITING','unknown','Rectangle','[UniverCollaborationClientPlugin]','unpad','entityInit$','registerHTTPInterceptor','concatMap','\x20to\x20','dispose','_httpService','_ENC_XFORM_MODE','[CollaborationEntity]','onLocalMutation','NoPadding','_instanceService','_initDependencies','reject','collaboration-client.config','{fileID}','encode','_sheetTransformSelectionsService','BASE64','hasher','takeUntil','transformSelections','OTHER_CLIENTS_EDITING','allowed','pipe','[PendingState]:\x20received\x20rejection.','UserManagerService','ALREADY_EXISTS','_shouldReportTelemetry','eventID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','submit\x20changeset\x20error!','FileId','post','IDLE','unsubscribe','createIdentifier','compute','BlockCipherMode','LIVESHARE_TERMINATE','_xformMode','_transformStateCache','transformChangesets','INGEST','RxDisposable','_telemetryInfo','_clearRedo','socket\x20open.','clear','patch','getUnitId','LEAVE','UNISCRIPT_RUN','FAIL','_scheduleCollaborationTimeoutTimer','DEFAULT_FILE_NAME','getDeserializedSheetBlock','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','AWAITING_WITH_PENDING','USER_NOT_INVITED_CODE','_doFinalize','executeCommand','resend','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT_TIMEOUT_KEY','fetchThroughInterceptors','parse','getMember','emitEvent','_createInitialState','_rescheduleHeartbeat','COMPRESS_MUTATION_APPLY','PERMISSION_DENIED','UNIVER_PROJECT','firstValueFrom','_DEC_XFORM_MODE','not_collab','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','action','_keySchedule','textRanges','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getSnapshotAPIPath','waitForRoom$','getImageSourceCache','3347885eUcQtP','ERROR_IMAGE_TYPE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_roomCreated$','_onRemoteACK','_snapshotServerService','title','_eventService','UNIVER_UNKNOWN','includes','BufferedBlockAlgorithm','Encryptor','serializeCombRequest','transformMutationsWithChangeset','result','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','socket$','PERSON','_transformUndoredo','SessionStatus','clamp','Base64','set','getRoom','session.room-cnt-exceeds','_resendTimer','actions','UNIVER_SLIDE','clone','FETCH_MISS','getUnit','ceil','__Key__','_updateState','onCommentUpdate','/-/object/list','src','_clearHeartbeatTimer','_isPermissionRej','PendingState','status','collaboratorID','_tryReconnect','HTTPRequest','closeSession','EXCHANGE_SIGN_URL_SERVER_URL_KEY','saveSnapshot','_startTelemetryCollaborationNewChangeset','Tools','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','joinEvent','OPTIONAL','encrypt','USERS_ENTER','format','EMAIL_VERIFY_CODE_MISMATCH','equals','onCommandExecuted','RevisionService','UNAUTHENTICATED','CollaborationUIEventService','_commentUpdate$','SetSelectionsOperation','_decreaseWaiting','374223dWlVrB','addImageSourceCache','IContextService','SNAPSHOT_URL_KEY','getValue','DocCollaborationEntity','_onUserJoin','6EVzyoq','_getCurrentRevision','isTransformMutationsWithChangesetFailure','onMissedChangesetFetched','_executeRemoteChangeset','[SyncedState]:\x20received\x20rejection.','__esModule','SNAPSHOT_SERVER_URL_KEY','function','_onRemoteRejected','getCurrentRevOfUnit','UPDATE_CURSOR','getActiveSheet','_mode','_commandService','getOwnPropertyDescriptor','createDecryptor','init','disposeWithMe','byteOffset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitStatus','subject','MemberService','_collaborationSessionService','updatePermissionPoint','objects','transformUndoRedo','Workbook','_clearRetryConnectingTimer','snapshotServerUrl','_config','Hex','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SHEET','CollaborationImageIoService','hasOwnProperty','commentUpdateEvent','_getCtorByUniverType','CommentService','fromCharCode','CollaborativeUndoRedoService','changesets','1067330NaCNCM','SheetsSelectionsService','_snapshotService','_localCacheService','removeMember','save\x20fail\x20reason\x20is\x20','reconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','3969688mDmQWo','/collaborator','Quantity','isTransformMutationsWithChangesetSuccess','Inject','CHANGESET_REVISION_CONFILICT','_onUserLeave','find','_doReset','AuthzIoHttpService','algo','Disposable','JSONX','/block/','random','onRemoteRej','session','_exhaustRemoteChangesetQueue','Latin1','commentUpdate$','_getLoginPath','HEARTBEAT','_status$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RECV','getUnitOnRev','HEARTBEAT_TIMEOUT','loadDoc','_retryConnectingTimer','_startCollaboration','_event$','CollaborationSessionService','dispose$','CipherParams','open$','event$','CollaborationStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_incrementRevisionNumber','_sendingTimer','_transformIMECache','/-/object/-/batch_allowed','string','Cipher','Pkcs7','_revisionService','LIVESHARE_REQUEST_HOST','_networkConditionService','/allowed','_acknowledgedAwaitingChangeset','debug','members$','IUndoRedoService','_throwTelemetryCollaborationNewChangeset','onRemoteChangeset','_createHmacHelper','_awaitingChangeset','Base','MD5','ITelemetryService','lib','UniverCollaborationClientPlugin','YUUMI_SUBSCRIPTION_NOT_FOUND','unitId','_commentService','LOGIN_URL_KEY','isPermissionRej','_onRecvEvent','toString','decrypt','_getAPIPrefixPath','code','JOIN_ROOM_FAILED','toggleOnline','InsertSheetMutation','_onRemoteRetry','[CollaborationUndoRedoService]','size','IUniverInstanceService','_clearCollaborationTimeoutTimer','originalMeta','joinRsp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CONNECTOR_DATA_TOO_LARGE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_resendWithTimeout','href','OTHER_CLIENT_EDITING','_replaceFileID','repeat','ThresholdInterceptorFactory','getResourcesRequest','updateCursorEvent','salt','collaboration_new_changeset','_invKeySchedule','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','userID','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','uploadFileServerUrl','words','JOIN_ROOM_FULL','_replayCachedMutations','retryConnectingInterval','reduce','editing\x20status\x20changed\x20to','next','Could\x20not\x20dynamically\x20require\x20\x22','LICENSE_EXPORT_SIZE_EXCEEDED','selections','_sessions','AES','_telemetryService','_handlerCallback','enableOfflineEditing','__creator','getMemberID','COLLAB_WEB_SOCKET_URL','prototype','entries','univer-pro.collaboration-client.single-active-unit-service','_changesetSessionId','PSEUDO_FETCH_MISSING_RESULT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_handler','list','abs','_scheduleCompleteTimestamp','/resources','blockSize','image/bmp','localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','body','univer-pro.collaboration-client-socket-service','SheetCollaborationEntity','getCollabEntity$','_updateLocalCache','target','_change$','filter','incrementRevOfUnit','_onConnectionFailed','send','IImageIoService','take','/universer-api/user/session-ticket','createSocket','LOCAL_CACHE_INTERVAL_KEY','_getUndoStack','_nRounds','YUUMI_UNABLE_LOAD_URL','_data','OpenSSL','YUUMI_AI_RUN_FAILED','getFocusedUnit','status$','ivSize','_onConflict','compose','_socket$','HEARTBEAT_INTERVAL_KEY','exports','requireSession','_waitCount','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationTimeoutTimer','_transformStack','_oKey','file','OFFLINE','UNKNOWN_CMD','_localeService','_clearTimeoutTimer','rev','1237899Ysgzqt','RETRY_CONNECTING_MAX_COUNT_KEY','CHANGESET_REJ','key','kdf','_getAPIPrefix','isArray','_configService','_remoteChangesetQueue','responseType','&source=','/universer-api/uniscript','_socket','_socketReady','apply','2356249llGqlN','signUrlServerUrl','_applyRemoteChangeset','toggleOffline','_initRequestHeader','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_MISMATCH','_sendHeartbeat','initWorkbookPermissionChange','loadUnit','finalize','\x20in\x20_schedule.','location','onlyLocal','ILogService','_doCreateSocket','_parse','getConfig','LIVESHARE_FETCH_OPERATIONS','concat','pending','_type','_process','People','_initMergeInterceptor','getTime','UnitEmbedded','_clearLocalCache','BlockCipher','DataLoaderService','routeKey','_sessionStatus$','error','_onConnectionOpen','INVITE_CODE_ALREADY_BOUND','authzUrl','_minBufferSize','/role','LOGIN_FAILED','onSyncEditingCollabCursor','/universer-api/comb','message$','collabSubmitChangesetUrl','sequenceExecute','_doCryptBlock','SHOULD_CLOSE_CONN','fromCollab','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_DOC','addHandlerCallback','_entityInit$','Utf8','min','createCollaborator','PY_RUNTIME_SCRIPT_ERROR','headers','CollaborationController','_substituteUndoStack','add','default','_pendingMutations','_transformRemoteChangesetByStateCache','batchAllowed','saveSheetBlock','max','_collabSessionService','_transformService','floor','/universer-api/authz','Undefined','c1Prime','_getUploadFileURL','_collaborationPaused','change$','PENDING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.room-full','substr','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','extend','fetch_missing','ImageSourceType','_tryEnsureSocket','[CollaborationSessionService]:\x20socket\x20error','loadUnitOfRevision','UserProfileImg','findIndex','IAuthzIoService','_unitID','HmacSHA1','_unlockTransition','updateCollaborator','newCsEvent','[DataLoaderService]','_permissionService','toDisposable','SHA1','CollaborationSocketService','Plugin','HEARTBEAT_INTERVAL','resolve','asObservable','merge','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','hostname','_keyPriorReset','/new_changes','textEncoder','WordArray','complete','get','processBlock','setConfig','_clearScheduledTask','downloadEndpointUrl','AwaitingState','url','getLocalCacheKey','_syncEditingCollabCursor','2701656IEqMAp','HMAC','OfflineState','\x20-\x20','readInt32LE','SheetPermissionInitController','_iKey','copyFileMeta','_reverseMap','_entities','LocaleService','HmacMD5','refreshPermission','updateMember','_collaborationUIEventService','CollaborationUIEventId','UniverInstanceType','/object','charCodeAt','_univerInstanceService','EvpKDF','SyncedState','touchDependencies','toStringTag','_nDataBytes','INVITE_CODE_REQUIRED','_iv','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','baseRev','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_checkMissing','readyForCollab','forEach','[CollaborationSession]','IConfigService','close','/universer-api/snapshot','_state','setCurrentUser','synced','crypto','sendChangesetTimeout','session.room-not-exists','data','[SyncedState]:\x20received\x20acknowledgement.','update','MentionIoHttpService','DEFAULT_WS_SESSION_TICKET_URL','catch','_toggleOnline','loadOfflineData','_getSendChangesetTimeout','deepClone','LICENSE_DISTRO_REJECTED','offline','APPLY_REVISION_CONFILICT','getImage','state','FetchingMissState','capture','YUUMI_URL_COL_OUT_OF_RANGE','isTransformChangesetsSuccess','append','_getSignURL','map','sessionStatus','_listenToNetworkCondition','WECHAT_HAS_BEEN_BOUND','AwaitingWithPendingState','_queuedRemoteChangesets','ICommandService','_transformRemoteChangesetByIMECache','NEW_CHANGESETS','_redoStacks','\x0aCurrent:\x20','COMMENT_UPDATE','stopTime','ConflictState','sid','appendMutation','GLOBAL_ROOMS_CNT_EXCEEDS','_unitInfo$','origin','encodeURIComponent','_removeRoom','_hash','getUnitType','fetchMissingChangesets'];_0xcb18=function(){return _0x28c6ab;};return _0xcb18();}let ye=class{constructor(_0x38511f,_0x5ce659,_0x4bd944){var _0x1ae312=_0x4611e8;this['_configService']=_0x38511f,this[_0x1ae312(0x48d)]=_0x5ce659,this[_0x1ae312(0x47c)]=_0x4bd944,this[_0x1ae312(0x1b7)]();}[_0x4611e8(0x1b7)](){var _0x4d0971=_0x4611e8;this[_0x4d0971(0x48d)][_0x4d0971(0x489)]({'priority':0x1,'interceptor':(_0x3d4111,_0x245bea)=>_0x245bea(_0x3d4111)[_0x4d0971(0x121)]($[_0x4d0971(0x48a)](async _0x5f190b=>{var _0x16354c=_0x4d0971;const _0x4cc3ff=_0x5f190b;if(_0x4cc3ff[_0x16354c(0x187)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x16354c(0x40c)](this[_0x16354c(0x47c)]['t'](_0x16354c(0x470)))){const _0x161325=window[_0x16354c(0x366)](window[_0x16354c(0x2a4)][_0x16354c(0x22f)]);window[_0x16354c(0x2a4)][_0x16354c(0x22f)]=this[_0x16354c(0x1ed)]()+_0x16354c(0x420)+_0x161325;}}return _0x4cc3ff;}))});}[_0x4611e8(0x1ed)](){var _0x2618bb=_0x4611e8,_0x45cbd5,_0x245155;const _0x3c21ed=this['_configService']['getConfig'](pt),_0x7bb3b3=this[_0x2618bb(0x290)][_0x2618bb(0x2a9)](G);return(_0x245155=(_0x45cbd5=_0x7bb3b3==null?void 0x0:_0x7bb3b3['loginUrlKey'])!=null?_0x45cbd5:_0x3c21ed)!=null?_0x245155:Wt;}};ye=Ci([Ae(0x0,a[_0x4611e8(0x335)]),Ae(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)])),Ae(0x2,a[_0x4611e8(0x1dd)](a['LocaleService']))],ye);var Ti=Object[_0x4611e8(0x1b5)],bi=(_0x3e1aa3,_0x12996e,_0x4beb49,_0xab9178)=>{for(var _0x5863ed=_0xab9178>0x1?void 0x0:_0xab9178?Ti(_0x12996e,_0x4beb49):_0x12996e,_0x2c9a33=_0x3e1aa3['length']-0x1,_0x3f71ac;_0x2c9a33>=0x0;_0x2c9a33--)(_0x3f71ac=_0x3e1aa3[_0x2c9a33])&&(_0x5863ed=_0x3f71ac(_0x5863ed)||_0x5863ed);return _0x5863ed;},qe=(_0x269ebd,_0x5af809)=>(_0x37273e,_0xd3acb2)=>_0x5af809(_0x37273e,_0xd3acb2,_0x269ebd);const Ve=_0x4611e8(0x3a9),Ri=_0x4611e8(0x2dc);exports[_0x4611e8(0x1e2)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x569bed,_0x6f735f){var _0x3c3562=_0x4611e8;super(),this['_HTTPService']=_0x569bed,this[_0x3c3562(0x290)]=_0x6f735f,this[_0x3c3562(0x2b0)]();}['_initMergeInterceptor'](){const _0x1a5b71=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x58c99a){var _0x14d073=_0x4139,_0x129a8a;if(_0x58c99a[_0x14d073(0x389)]===_0x14d073(0x3e1)&&((_0x129a8a=_0x58c99a[_0x14d073(0x448)])!=null&&_0x129a8a[_0x14d073(0x25f)])){const {objectID:_0x2f8d30,objectType:_0x1d4e81}=_0x58c99a['requestParams']['body']||{};if(!_0x2f8d30||_0x1d4e81===void 0x0)return!0x1;const _0x521317=_0x1a5b71[_0x14d073(0x21f)]()+'/'+_0x1d4e81+'/object/'+_0x2f8d30+_0x14d073(0x209);if(_0x58c99a['url']===_0x521317)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf23989){var _0x1a1933=_0x4139,_0x14c3ac;return(_0x14c3ac=_0xf23989[_0x1a1933(0x448)])==null?void 0x0:_0x14c3ac['body'];},'mergeParamsToRequest'(_0x21ddcf,_0xfd33db){var _0x17f745=_0x4139;const _0x1f4207=_0x1a5b71[_0x17f745(0x21f)]()+_0x17f745(0x202),_0x3c8d02=_0x21ddcf['reduce']((_0x1d986c,_0x278022)=>{var _0x490dbd=_0x17f745;const {unitID:_0x1d74d1,objectID:_0x1c2bb4,objectType:_0x24bb21,actions:_0x1a5ee9}=_0x278022;return _0x1d986c[_0x1d74d1]||(_0x1d986c[_0x1d74d1]={}),_0x1d986c[_0x1d74d1][_0x1c2bb4]||(_0x1d986c[_0x1d74d1][_0x1c2bb4]={'objectID':_0x1c2bb4,'objectType':_0x24bb21,'actions':[]}),_0x1d986c[_0x1d74d1][_0x1c2bb4][_0x490dbd(0x179)][_0x490dbd(0x475)](..._0x1a5ee9),_0x1d986c;},{}),_0x5014b4=[];for(const _0x18c468 in _0x3c8d02)for(const _0x5e7f0d in _0x3c8d02[_0x18c468]){const {actions:_0x70bd40,objectType:_0x466b00}=_0x3c8d02[_0x18c468][_0x5e7f0d],_0x29b8eb=[...new Set(_0x70bd40)];_0x5014b4[_0x17f745(0x475)]({'unitID':_0x18c468,'objectID':_0x5e7f0d,'objectType':_0x466b00,'actions':_0x29b8eb});}return new K[(_0x17f745(0x18a))](_0x17f745(0x3e1),_0x1f4207,{'headers':_0xfd33db[_0x17f745(0x2cf)],'withCredentials':_0xfd33db['withCredentials'],'responseType':_0xfd33db[_0x17f745(0x292)],'body':{'requests':_0x5014b4}});}},{'distributeResult'(_0x46f507,_0x15ec4e){var _0x261fc5=_0x4139;const {objectActions:_0xc265f0}=_0x46f507;return _0x15ec4e[_0x261fc5(0x353)](_0x49b27a=>{var _0x33efd4=_0x261fc5;const {unitID:_0x3a0ba3,objectID:_0xeb0e1b,actions:_0x1f7175}=_0x49b27a,_0x5f2bf4=_0xc265f0['find'](_0x170ea1=>_0x170ea1['unitID']===_0x3a0ba3&&_0x170ea1[_0x33efd4(0x3a1)]===_0xeb0e1b),_0x540d33=_0x1f7175[_0x33efd4(0x353)](_0x5f5763=>_0x5f2bf4==null?void 0x0:_0x5f2bf4[_0x33efd4(0x179)][_0x33efd4(0x1e0)](_0x33d7c5=>_0x33d7c5[_0x33efd4(0x158)]===_0x5f5763))[_0x33efd4(0x266)](_0x35a580=>!!_0x35a580);return{'config':_0x49b27a,'result':{'actions':_0x540d33,'error':_0x46f507[_0x33efd4(0x2b8)]}};});}})}));}['_getAPIPrefixPath'](){var _0x19a230=_0x4611e8,_0x358943,_0x50c561;const _0x3bfb5b=this[_0x19a230(0x290)]['getConfig'](Ve),_0x426d69=this[_0x19a230(0x290)][_0x19a230(0x2a9)](G);return(_0x50c561=(_0x358943=_0x426d69==null?void 0x0:_0x426d69[_0x19a230(0x2bb)])!=null?_0x358943:_0x3bfb5b)!=null?_0x50c561:Ri;}async[_0x4611e8(0x3a8)](_0x3390a4){var _0x37348b=_0x4611e8;const _0x5926d4=this[_0x37348b(0x21f)]()+'/'+_0x3390a4[_0x37348b(0x451)]+_0x37348b(0x320);return(await this[_0x37348b(0x37c)]['post'](_0x5926d4,{'body':_0x3390a4}))[_0x37348b(0x25f)]['objectID']||'';}async[_0x4611e8(0x257)](_0xa907d4){var _0x980c31=_0x4611e8;const _0xefa4aa=this[_0x980c31(0x21f)]()+_0x980c31(0x182);return(await this[_0x980c31(0x37c)][_0x980c31(0x12a)](_0xefa4aa,{'body':_0xa907d4}))[_0x980c31(0x25f)][_0x980c31(0x1c0)];}async[_0x4611e8(0x340)](_0x72a432){var _0x563777=_0x4611e8,_0x84070b,_0x3b5f1b;const _0x33a07=this[_0x563777(0x21f)]()+'/'+_0x72a432['objectType']+_0x563777(0x3e2)+_0x72a432[_0x563777(0x3a1)],_0x2df5d7=await this[_0x563777(0x37c)][_0x563777(0x381)](_0x33a07,{'body':_0x72a432});if(((_0x3b5f1b=(_0x84070b=_0x2df5d7==null?void 0x0:_0x2df5d7[_0x563777(0x25f)])==null?void 0x0:_0x84070b['error'])==null?void 0x0:_0x3b5f1b[_0x563777(0x220)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x4611e8(0x120)](_0xbbb576){var _0x1f3674=_0x4611e8;const _0x74ca0e=this[_0x1f3674(0x21f)]()+'/'+_0xbbb576[_0x1f3674(0x451)]+_0x1f3674(0x3e2)+_0xbbb576[_0x1f3674(0x3a1)]+_0x1f3674(0x209);return(await this['_HTTPService'][_0x1f3674(0x12a)](_0x74ca0e,{'body':_0xbbb576}))['body'][_0x1f3674(0x179)];}async[_0x4611e8(0x2d6)](_0x188a9c){var _0x350ea8=_0x4611e8;const _0x84d7ff=this[_0x350ea8(0x21f)]()+'/-/object/-/batch_allowed';return(await this[_0x350ea8(0x37c)]['post'](_0x84d7ff,{'body':{'requests':_0x188a9c}}))[_0x350ea8(0x25f)][_0x350ea8(0x469)];}async['listRoles'](_0x3f6435){var _0x5a248a=_0x4611e8;const _0x66f990=this[_0x5a248a(0x21f)]()+'/'+_0x3f6435[_0x5a248a(0x451)]+_0x5a248a(0x2bd),_0x4359cc=await this['_HTTPService'][_0x5a248a(0x12a)](_0x66f990,{'body':_0x3f6435});return{'roles':_0x4359cc[_0x5a248a(0x25f)][_0x5a248a(0x471)],'actions':_0x4359cc[_0x5a248a(0x25f)][_0x5a248a(0x179)]};}async['deleteCollaborator'](_0x54ab79){var _0x17031b=_0x4611e8;const _0x36d21c=this[_0x17031b(0x21f)]()+_0x17031b(0x1da);await this[_0x17031b(0x37c)][_0x17031b(0x44f)](_0x36d21c,{'params':{'collaboratorID':_0x54ab79[_0x17031b(0x188)],'objectID':_0x54ab79[_0x17031b(0x3a1)],'unitID':_0x54ab79['unitID']}});}async[_0x4611e8(0x2f3)](_0x35bf16){var _0x3ddab3=_0x4611e8;const _0x3c46bd=this['_getAPIPrefixPath']()+_0x3ddab3(0x1da);await this[_0x3ddab3(0x37c)][_0x3ddab3(0x13a)](_0x3c46bd,{'body':_0x35bf16});}async[_0x4611e8(0x2cd)](_0x3d776e){var _0x34f5c4=_0x4611e8;const _0x483f61=this[_0x34f5c4(0x21f)]()+_0x34f5c4(0x1da);await this[_0x34f5c4(0x37c)][_0x34f5c4(0x12a)](_0x483f61,{'body':_0x3d776e});}async[_0x4611e8(0x44b)](_0x2cf827){var _0x1b0441=_0x4611e8;const _0x561586=this[_0x1b0441(0x21f)]()+_0x1b0441(0x1da);return(await this[_0x1b0441(0x37c)][_0x1b0441(0x306)](_0x561586,{'params':{'objectID':_0x2cf827[_0x1b0441(0x3a1)],'unitID':_0x2cf827[_0x1b0441(0x39e)]}}))[_0x1b0441(0x25f)][_0x1b0441(0x468)];}async[_0x4611e8(0x37d)](_0x1b86a2){var _0x27da1e=_0x4611e8;const _0x4d1741=this[_0x27da1e(0x21f)]()+_0x27da1e(0x1da);await this[_0x27da1e(0x37c)][_0x27da1e(0x381)](_0x4d1741,{'body':_0x1b86a2});}},exports[_0x4611e8(0x1e2)]=bi([qe(0x0,a[_0x4611e8(0x1dd)](K['HTTPService'])),qe(0x1,a['Inject'](a[_0x4611e8(0x335)]))],exports[_0x4611e8(0x1e2)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x204b0c){var _0xbd8573=_0x4611e8;return _0x204b0c&&_0x204b0c[_0xbd8573(0x1ac)]&&Object[_0xbd8573(0x250)][_0xbd8573(0x1ca)][_0xbd8573(0x415)](_0x204b0c,_0xbd8573(0x2d3))?_0x204b0c[_0xbd8573(0x2d3)]:_0x204b0c;}var fe={'exports':{}};function Oi(_0x44c3a6){var _0x4e37c0=_0x4611e8;throw new Error(_0x4e37c0(0x245)+_0x44c3a6+_0x4e37c0(0x27f));}var Ie={'exports':{}},yi=Ie[_0x4611e8(0x27c)],ze;function Q(){var _0x4f0766=_0x4611e8;return ze||(ze=0x1,function(_0x4314cc,_0x255c27){(function(_0x2e03a8,_0xa9d54f){_0x4314cc['exports']=_0xa9d54f();}(yi,function(){var _0x58d27a=_0x58d27a||function(_0x48de78,_0x10ab74){var _0x4905b8=_0x4139,_0x42ecaf;if(typeof window<'u'&&window[_0x4905b8(0x33b)]&&(_0x42ecaf=window['crypto']),typeof self<'u'&&self[_0x4905b8(0x33b)]&&(_0x42ecaf=self[_0x4905b8(0x33b)]),typeof globalThis<'u'&&globalThis[_0x4905b8(0x33b)]&&(_0x42ecaf=globalThis['crypto']),!_0x42ecaf&&typeof window<'u'&&window['msCrypto']&&(_0x42ecaf=window['msCrypto']),!_0x42ecaf&&typeof Pe<'u'&&Pe[_0x4905b8(0x33b)]&&(_0x42ecaf=Pe['crypto']),!_0x42ecaf&&typeof Oi==_0x4905b8(0x1ae))try{_0x42ecaf=require('crypto');}catch{}var _0x37d496=function(){var _0x45503c=_0x4905b8;if(_0x42ecaf){if(typeof _0x42ecaf[_0x45503c(0x42c)]=='function')try{return _0x42ecaf[_0x45503c(0x42c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42ecaf[_0x45503c(0x43b)]=='function')try{return _0x42ecaf[_0x45503c(0x43b)](0x4)[_0x45503c(0x313)]();}catch{}}throw new Error(_0x45503c(0x2e6));},_0x238c9d=Object[_0x4905b8(0x3a8)]||(function(){function _0x398536(){}return function(_0xdef271){var _0x5d32e5=_0x4139,_0xf07ea4;return _0x398536[_0x5d32e5(0x250)]=_0xdef271,_0xf07ea4=new _0x398536(),_0x398536[_0x5d32e5(0x250)]=null,_0xf07ea4;};}()),_0x10d4cd={},_0x24e761=_0x10d4cd[_0x4905b8(0x215)]={},_0x2d558c=_0x24e761[_0x4905b8(0x212)]=(function(){return{'extend':function(_0x2fbff3){var _0x3383a3=_0x4139,_0xe90a3=_0x238c9d(this);return _0x2fbff3&&_0xe90a3[_0x3383a3(0x391)](_0x2fbff3),(!_0xe90a3[_0x3383a3(0x1ca)]('init')||this[_0x3383a3(0x1b7)]===_0xe90a3[_0x3383a3(0x1b7)])&&(_0xe90a3[_0x3383a3(0x1b7)]=function(){var _0xe0b142=_0x3383a3;_0xe90a3[_0xe0b142(0x40f)][_0xe0b142(0x1b7)][_0xe0b142(0x297)](this,arguments);}),_0xe90a3[_0x3383a3(0x1b7)][_0x3383a3(0x250)]=_0xe90a3,_0xe90a3[_0x3383a3(0x40f)]=this,_0xe90a3;},'create':function(){var _0x20ede0=_0x4139,_0x4c5983=this[_0x20ede0(0x2e7)]();return _0x4c5983[_0x20ede0(0x1b7)][_0x20ede0(0x297)](_0x4c5983,arguments),_0x4c5983;},'init':function(){},'mixIn':function(_0x1ed521){var _0x802322=_0x4139;for(var _0x5e91c6 in _0x1ed521)_0x1ed521[_0x802322(0x1ca)](_0x5e91c6)&&(this[_0x5e91c6]=_0x1ed521[_0x5e91c6]);_0x1ed521['hasOwnProperty']('toString')&&(this[_0x802322(0x21d)]=_0x1ed521['toString']);},'clone':function(){var _0x400c24=_0x4139;return this[_0x400c24(0x1b7)][_0x400c24(0x250)][_0x400c24(0x2e7)](this);}};}()),_0x324f68=_0x24e761[_0x4905b8(0x304)]=_0x2d558c[_0x4905b8(0x2e7)]({'init':function(_0x4ab5bb,_0x4c49fb){var _0x551699=_0x4905b8;_0x4ab5bb=this[_0x551699(0x23e)]=_0x4ab5bb||[],_0x4c49fb!=_0x10ab74?this[_0x551699(0x3b3)]=_0x4c49fb:this['sigBytes']=_0x4ab5bb[_0x551699(0x479)]*0x4;},'toString':function(_0x42a56a){var _0x3be839=_0x4905b8;return(_0x42a56a||_0x322bc6)[_0x3be839(0x37b)](this);},'concat':function(_0x57cdd9){var _0x497a42=_0x4905b8,_0x3463c0=this['words'],_0x12b07e=_0x57cdd9[_0x497a42(0x23e)],_0x3d93f7=this[_0x497a42(0x3b3)],_0x3881a4=_0x57cdd9[_0x497a42(0x3b3)];if(this[_0x497a42(0x173)](),_0x3d93f7%0x4)for(var _0x328e69=0x0;_0x328e69<_0x3881a4;_0x328e69++){var _0x46e773=_0x12b07e[_0x328e69>>>0x2]>>>0x18-_0x328e69%0x4*0x8&0xff;_0x3463c0[_0x3d93f7+_0x328e69>>>0x2]|=_0x46e773<<0x18-(_0x3d93f7+_0x328e69)%0x4*0x8;}else{for(var _0x3ee988=0x0;_0x3ee988<_0x3881a4;_0x3ee988+=0x4)_0x3463c0[_0x3d93f7+_0x3ee988>>>0x2]=_0x12b07e[_0x3ee988>>>0x2];}return this[_0x497a42(0x3b3)]+=_0x3881a4,this;},'clamp':function(){var _0x1a8751=_0x4905b8,_0x3e867a=this[_0x1a8751(0x23e)],_0x57e248=this[_0x1a8751(0x3b3)];_0x3e867a[_0x57e248>>>0x2]&=0xffffffff<<0x20-_0x57e248%0x4*0x8,_0x3e867a['length']=_0x48de78[_0x1a8751(0x17e)](_0x57e248/0x4);},'clone':function(){var _0x5488f1=_0x4905b8,_0x4b80a6=_0x2d558c[_0x5488f1(0x17b)][_0x5488f1(0x415)](this);return _0x4b80a6['words']=this[_0x5488f1(0x23e)][_0x5488f1(0x3bc)](0x0),_0x4b80a6;},'random':function(_0x2df347){var _0x513506=_0x4905b8;for(var _0x459b78=[],_0x54ab07=0x0;_0x54ab07<_0x2df347;_0x54ab07+=0x4)_0x459b78[_0x513506(0x475)](_0x37d496());return new _0x324f68[(_0x513506(0x1b7))](_0x459b78,_0x2df347);}}),_0x2b8d73=_0x10d4cd[_0x4905b8(0x439)]={},_0x322bc6=_0x2b8d73[_0x4905b8(0x1c6)]={'stringify':function(_0x2a678b){var _0x29d07d=_0x4905b8;for(var _0x33979c=_0x2a678b[_0x29d07d(0x23e)],_0x206ec6=_0x2a678b['sigBytes'],_0x2f2ad8=[],_0xacd2a8=0x0;_0xacd2a8<_0x206ec6;_0xacd2a8++){var _0x5d358b=_0x33979c[_0xacd2a8>>>0x2]>>>0x18-_0xacd2a8%0x4*0x8&0xff;_0x2f2ad8[_0x29d07d(0x475)]((_0x5d358b>>>0x4)[_0x29d07d(0x21d)](0x10)),_0x2f2ad8[_0x29d07d(0x475)]((_0x5d358b&0xf)[_0x29d07d(0x21d)](0x10));}return _0x2f2ad8[_0x29d07d(0x45b)]('');},'parse':function(_0x1bb35c){var _0x3450d0=_0x4905b8;for(var _0x15e60b=_0x1bb35c[_0x3450d0(0x479)],_0x17e186=[],_0x8a36fa=0x0;_0x8a36fa<_0x15e60b;_0x8a36fa+=0x2)_0x17e186[_0x8a36fa>>>0x3]|=parseInt(_0x1bb35c[_0x3450d0(0x2e5)](_0x8a36fa,0x2),0x10)<<0x18-_0x8a36fa%0x8*0x4;return new _0x324f68[(_0x3450d0(0x1b7))](_0x17e186,_0x15e60b/0x2);}},_0x298917=_0x2b8d73[_0x4905b8(0x1eb)]={'stringify':function(_0x3591d2){var _0xbf8591=_0x4905b8;for(var _0x1053aa=_0x3591d2['words'],_0x507ec0=_0x3591d2['sigBytes'],_0x45c090=[],_0x5128f4=0x0;_0x5128f4<_0x507ec0;_0x5128f4++){var _0x13efa0=_0x1053aa[_0x5128f4>>>0x2]>>>0x18-_0x5128f4%0x4*0x8&0xff;_0x45c090[_0xbf8591(0x475)](String[_0xbf8591(0x1ce)](_0x13efa0));}return _0x45c090[_0xbf8591(0x45b)]('');},'parse':function(_0xba7279){var _0x31e8ee=_0x4905b8;for(var _0x1e5e34=_0xba7279[_0x31e8ee(0x479)],_0x54690c=[],_0x27be69=0x0;_0x27be69<_0x1e5e34;_0x27be69++)_0x54690c[_0x27be69>>>0x2]|=(_0xba7279['charCodeAt'](_0x27be69)&0xff)<<0x18-_0x27be69%0x4*0x8;return new _0x324f68['init'](_0x54690c,_0x1e5e34);}},_0x648567=_0x2b8d73['Utf8']={'stringify':function(_0x3159ac){try{return decodeURIComponent(escape(_0x298917['stringify'](_0x3159ac)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x494876){return _0x298917['parse'](unescape(encodeURIComponent(_0x494876)));}},_0xeda43f=_0x24e761[_0x4905b8(0x169)]=_0x2d558c[_0x4905b8(0x2e7)]({'reset':function(){var _0x5b6f79=_0x4905b8;this[_0x5b6f79(0x272)]=new _0x324f68[(_0x5b6f79(0x1b7))](),this[_0x5b6f79(0x327)]=0x0;},'_append':function(_0x459d09){var _0x1bf43a=_0x4905b8;typeof _0x459d09==_0x1bf43a(0x203)&&(_0x459d09=_0x648567[_0x1bf43a(0x14c)](_0x459d09)),this[_0x1bf43a(0x272)]['concat'](_0x459d09),this['_nDataBytes']+=_0x459d09['sigBytes'];},'_process':function(_0x2b5b2c){var _0x3cc70f=_0x4905b8,_0x17118a,_0x252bfd=this[_0x3cc70f(0x272)],_0x37daf3=_0x252bfd[_0x3cc70f(0x23e)],_0x18f8fd=_0x252bfd[_0x3cc70f(0x3b3)],_0x514905=this[_0x3cc70f(0x25b)],_0x446610=_0x514905*0x4,_0x5e506f=_0x18f8fd/_0x446610;_0x2b5b2c?_0x5e506f=_0x48de78['ceil'](_0x5e506f):_0x5e506f=_0x48de78[_0x3cc70f(0x2d8)]((_0x5e506f|0x0)-this[_0x3cc70f(0x2bc)],0x0);var _0x9f14eb=_0x5e506f*_0x514905,_0x4701d4=_0x48de78[_0x3cc70f(0x2cc)](_0x9f14eb*0x4,_0x18f8fd);if(_0x9f14eb){for(var _0x226805=0x0;_0x226805<_0x9f14eb;_0x226805+=_0x514905)this[_0x3cc70f(0x464)](_0x37daf3,_0x226805);_0x17118a=_0x37daf3['splice'](0x0,_0x9f14eb),_0x252bfd['sigBytes']-=_0x4701d4;}return new _0x324f68['init'](_0x17118a,_0x4701d4);},'clone':function(){var _0xc601f4=_0x4905b8,_0x48c9d5=_0x2d558c[_0xc601f4(0x17b)][_0xc601f4(0x415)](this);return _0x48c9d5[_0xc601f4(0x272)]=this[_0xc601f4(0x272)][_0xc601f4(0x17b)](),_0x48c9d5;},'_minBufferSize':0x0});_0x24e761['Hasher']=_0xeda43f[_0x4905b8(0x2e7)]({'cfg':_0x2d558c[_0x4905b8(0x2e7)](),'init':function(_0x889a70){var _0x2084c0=_0x4905b8;this[_0x2084c0(0x38e)]=this[_0x2084c0(0x38e)]['extend'](_0x889a70),this[_0x2084c0(0x3bd)]();},'reset':function(){var _0x23e5e4=_0x4905b8;_0xeda43f[_0x23e5e4(0x3bd)][_0x23e5e4(0x415)](this),this[_0x23e5e4(0x1e1)]();},'update':function(_0x50f97b){return this['_append'](_0x50f97b),this['_process'](),this;},'finalize':function(_0x4a1285){var _0x11c236=_0x4905b8;_0x4a1285&&this[_0x11c236(0x47a)](_0x4a1285);var _0x5265fd=this[_0x11c236(0x146)]();return _0x5265fd;},'blockSize':0x10,'_createHelper':function(_0x2f0e6a){return function(_0x153e5f,_0x56e3da){var _0x43c2ca=_0x4139;return new _0x2f0e6a['init'](_0x56e3da)[_0x43c2ca(0x2a2)](_0x153e5f);};},'_createHmacHelper':function(_0x33ce03){return function(_0x309d12,_0x3a7ed9){var _0x3a965c=_0x4139;return new _0x4c4eab['HMAC'][(_0x3a965c(0x1b7))](_0x33ce03,_0x3a7ed9)[_0x3a965c(0x2a2)](_0x309d12);};}});var _0x4c4eab=_0x10d4cd[_0x4905b8(0x1e3)]={};return _0x10d4cd;}(Math);return _0x58d27a;}));}(Ie)),Ie[_0x4f0766(0x27c)];}var pe={'exports':{}},Ni=pe[_0x4611e8(0x27c)],Je;function yt(){var _0x1b673d=_0x4611e8;return Je||(Je=0x1,function(_0x5c51d3,_0x33cdc9){(function(_0x26d5c7,_0x1cd1c8){var _0x22c9b7=_0x4139;_0x5c51d3[_0x22c9b7(0x27c)]=_0x1cd1c8(Q());}(Ni,function(_0x27c7d0){var _0xafd804=_0x4139;return(function(){var _0x24935d=_0x4139,_0x30df4d=_0x27c7d0,_0x207b4c=_0x30df4d[_0x24935d(0x215)],_0xc0ae5d=_0x207b4c[_0x24935d(0x304)],_0x2aba87=_0x30df4d[_0x24935d(0x439)];_0x2aba87[_0x24935d(0x174)]={'stringify':function(_0x47d7c6){var _0x4411c7=_0x24935d,_0x174eaf=_0x47d7c6['words'],_0x56e88e=_0x47d7c6[_0x4411c7(0x3b3)],_0x4ba2fe=this[_0x4411c7(0x3c2)];_0x47d7c6[_0x4411c7(0x173)]();for(var _0x48bb68=[],_0xbe59f=0x0;_0xbe59f<_0x56e88e;_0xbe59f+=0x3)for(var _0x57f3fe=_0x174eaf[_0xbe59f>>>0x2]>>>0x18-_0xbe59f%0x4*0x8&0xff,_0x50bf26=_0x174eaf[_0xbe59f+0x1>>>0x2]>>>0x18-(_0xbe59f+0x1)%0x4*0x8&0xff,_0x2a3961=_0x174eaf[_0xbe59f+0x2>>>0x2]>>>0x18-(_0xbe59f+0x2)%0x4*0x8&0xff,_0x2f3560=_0x57f3fe<<0x10|_0x50bf26<<0x8|_0x2a3961,_0x4b972b=0x0;_0x4b972b<0x4&&_0xbe59f+_0x4b972b*0.75<_0x56e88e;_0x4b972b++)_0x48bb68[_0x4411c7(0x475)](_0x4ba2fe[_0x4411c7(0x3f5)](_0x2f3560>>>0x6*(0x3-_0x4b972b)&0x3f));var _0x56d42e=_0x4ba2fe['charAt'](0x40);if(_0x56d42e){for(;_0x48bb68['length']%0x4;)_0x48bb68[_0x4411c7(0x475)](_0x56d42e);}return _0x48bb68[_0x4411c7(0x45b)]('');},'parse':function(_0x12aac2){var _0x45ede1=_0x24935d,_0x19946d=_0x12aac2[_0x45ede1(0x479)],_0xa65f32=this[_0x45ede1(0x3c2)],_0x277350=this[_0x45ede1(0x317)];if(!_0x277350){_0x277350=this[_0x45ede1(0x317)]=[];for(var _0x359c67=0x0;_0x359c67<_0xa65f32[_0x45ede1(0x479)];_0x359c67++)_0x277350[_0xa65f32[_0x45ede1(0x321)](_0x359c67)]=_0x359c67;}var _0x1c56c7=_0xa65f32[_0x45ede1(0x3f5)](0x40);if(_0x1c56c7){var _0x5a52d4=_0x12aac2['indexOf'](_0x1c56c7);_0x5a52d4!==-0x1&&(_0x19946d=_0x5a52d4);}return _0x3f362b(_0x12aac2,_0x19946d,_0x277350);},'_map':_0x24935d(0x2ff)};function _0x3f362b(_0x3502f6,_0x198ff8,_0x450b58){var _0x1fef10=_0x24935d;for(var _0x1109b9=[],_0x2d4504=0x0,_0x430ac8=0x0;_0x430ac8<_0x198ff8;_0x430ac8++)if(_0x430ac8%0x4){var _0x404c0c=_0x450b58[_0x3502f6[_0x1fef10(0x321)](_0x430ac8-0x1)]<<_0x430ac8%0x4*0x2,_0x9c3f5a=_0x450b58[_0x3502f6[_0x1fef10(0x321)](_0x430ac8)]>>>0x6-_0x430ac8%0x4*0x2,_0x4be904=_0x404c0c|_0x9c3f5a;_0x1109b9[_0x2d4504>>>0x2]|=_0x4be904<<0x18-_0x2d4504%0x4*0x8,_0x2d4504++;}return _0xc0ae5d['create'](_0x1109b9,_0x2d4504);}}()),_0x27c7d0[_0xafd804(0x439)][_0xafd804(0x174)];}));}(pe)),pe[_0x1b673d(0x27c)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){return Xe||(Xe=0x1,function(_0x3e563f,_0xfeb98a){(function(_0x2ef06d,_0xd77ae){var _0x511f63=_0x4139;_0x3e563f[_0x511f63(0x27c)]=_0xd77ae(Q());}(Di,function(_0x3433b6){return function(_0x53da4f){var _0x75749a=_0x4139,_0x489dcf=_0x3433b6,_0x1bbfe6=_0x489dcf['lib'],_0x42ff87=_0x1bbfe6[_0x75749a(0x304)],_0x53478a=_0x1bbfe6[_0x75749a(0x374)],_0x18c09d=_0x489dcf[_0x75749a(0x1e3)],_0x3f8da9=[];(function(){var _0x26f521=_0x75749a;for(var _0x1ea95d=0x0;_0x1ea95d<0x40;_0x1ea95d++)_0x3f8da9[_0x1ea95d]=_0x53da4f[_0x26f521(0x258)](_0x53da4f['sin'](_0x1ea95d+0x1))*0x100000000|0x0;}());var _0x3de1c9=_0x18c09d[_0x75749a(0x213)]=_0x53478a['extend']({'_doReset':function(){var _0x2f2f0d=_0x75749a;this[_0x2f2f0d(0x368)]=new _0x42ff87[(_0x2f2f0d(0x1b7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa6eaf1,_0x4bc278){var _0xef8aed=_0x75749a;for(var _0x33a8e3=0x0;_0x33a8e3<0x10;_0x33a8e3++){var _0x34997b=_0x4bc278+_0x33a8e3,_0x2c0dfe=_0xa6eaf1[_0x34997b];_0xa6eaf1[_0x34997b]=(_0x2c0dfe<<0x8|_0x2c0dfe>>>0x18)&0xff00ff|(_0x2c0dfe<<0x18|_0x2c0dfe>>>0x8)&0xff00ff00;}var _0x1d07ac=this[_0xef8aed(0x368)][_0xef8aed(0x23e)],_0x50dd59=_0xa6eaf1[_0x4bc278+0x0],_0x31983f=_0xa6eaf1[_0x4bc278+0x1],_0x46b29e=_0xa6eaf1[_0x4bc278+0x2],_0x16270c=_0xa6eaf1[_0x4bc278+0x3],_0x286e17=_0xa6eaf1[_0x4bc278+0x4],_0x4a1176=_0xa6eaf1[_0x4bc278+0x5],_0x296974=_0xa6eaf1[_0x4bc278+0x6],_0x2e68d1=_0xa6eaf1[_0x4bc278+0x7],_0x16ec98=_0xa6eaf1[_0x4bc278+0x8],_0x153976=_0xa6eaf1[_0x4bc278+0x9],_0x47d959=_0xa6eaf1[_0x4bc278+0xa],_0x5185f6=_0xa6eaf1[_0x4bc278+0xb],_0x3f4ea9=_0xa6eaf1[_0x4bc278+0xc],_0xbec072=_0xa6eaf1[_0x4bc278+0xd],_0xd0cb89=_0xa6eaf1[_0x4bc278+0xe],_0x27198b=_0xa6eaf1[_0x4bc278+0xf],_0x206324=_0x1d07ac[0x0],_0x15926d=_0x1d07ac[0x1],_0x1b6927=_0x1d07ac[0x2],_0x342039=_0x1d07ac[0x3];_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x50dd59,0x7,_0x3f8da9[0x0]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x31983f,0xc,_0x3f8da9[0x1]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x46b29e,0x11,_0x3f8da9[0x2]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x16270c,0x16,_0x3f8da9[0x3]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x286e17,0x7,_0x3f8da9[0x4]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x4a1176,0xc,_0x3f8da9[0x5]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x296974,0x11,_0x3f8da9[0x6]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x2e68d1,0x16,_0x3f8da9[0x7]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x16ec98,0x7,_0x3f8da9[0x8]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x153976,0xc,_0x3f8da9[0x9]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x47d959,0x11,_0x3f8da9[0xa]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x5185f6,0x16,_0x3f8da9[0xb]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x3f4ea9,0x7,_0x3f8da9[0xc]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0xbec072,0xc,_0x3f8da9[0xd]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0xd0cb89,0x11,_0x3f8da9[0xe]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x27198b,0x16,_0x3f8da9[0xf]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x31983f,0x5,_0x3f8da9[0x10]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x296974,0x9,_0x3f8da9[0x11]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x5185f6,0xe,_0x3f8da9[0x12]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x50dd59,0x14,_0x3f8da9[0x13]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x4a1176,0x5,_0x3f8da9[0x14]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x47d959,0x9,_0x3f8da9[0x15]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x27198b,0xe,_0x3f8da9[0x16]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x286e17,0x14,_0x3f8da9[0x17]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x153976,0x5,_0x3f8da9[0x18]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0xd0cb89,0x9,_0x3f8da9[0x19]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x16270c,0xe,_0x3f8da9[0x1a]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x16ec98,0x14,_0x3f8da9[0x1b]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0xbec072,0x5,_0x3f8da9[0x1c]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x46b29e,0x9,_0x3f8da9[0x1d]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x2e68d1,0xe,_0x3f8da9[0x1e]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x3f4ea9,0x14,_0x3f8da9[0x1f]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x4a1176,0x4,_0x3f8da9[0x20]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x16ec98,0xb,_0x3f8da9[0x21]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x5185f6,0x10,_0x3f8da9[0x22]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0xd0cb89,0x17,_0x3f8da9[0x23]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x31983f,0x4,_0x3f8da9[0x24]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x286e17,0xb,_0x3f8da9[0x25]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x2e68d1,0x10,_0x3f8da9[0x26]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x47d959,0x17,_0x3f8da9[0x27]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0xbec072,0x4,_0x3f8da9[0x28]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x50dd59,0xb,_0x3f8da9[0x29]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x16270c,0x10,_0x3f8da9[0x2a]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x296974,0x17,_0x3f8da9[0x2b]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x153976,0x4,_0x3f8da9[0x2c]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x3f4ea9,0xb,_0x3f8da9[0x2d]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x27198b,0x10,_0x3f8da9[0x2e]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x46b29e,0x17,_0x3f8da9[0x2f]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x50dd59,0x6,_0x3f8da9[0x30]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x2e68d1,0xa,_0x3f8da9[0x31]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0xd0cb89,0xf,_0x3f8da9[0x32]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x4a1176,0x15,_0x3f8da9[0x33]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x3f4ea9,0x6,_0x3f8da9[0x34]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x16270c,0xa,_0x3f8da9[0x35]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x47d959,0xf,_0x3f8da9[0x36]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x31983f,0x15,_0x3f8da9[0x37]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x16ec98,0x6,_0x3f8da9[0x38]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x27198b,0xa,_0x3f8da9[0x39]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x296974,0xf,_0x3f8da9[0x3a]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0xbec072,0x15,_0x3f8da9[0x3b]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x286e17,0x6,_0x3f8da9[0x3c]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x5185f6,0xa,_0x3f8da9[0x3d]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x46b29e,0xf,_0x3f8da9[0x3e]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x153976,0x15,_0x3f8da9[0x3f]),_0x1d07ac[0x0]=_0x1d07ac[0x0]+_0x206324|0x0,_0x1d07ac[0x1]=_0x1d07ac[0x1]+_0x15926d|0x0,_0x1d07ac[0x2]=_0x1d07ac[0x2]+_0x1b6927|0x0,_0x1d07ac[0x3]=_0x1d07ac[0x3]+_0x342039|0x0;},'_doFinalize':function(){var _0x552058=_0x75749a,_0x1f8f34=this[_0x552058(0x272)],_0x21101e=_0x1f8f34[_0x552058(0x23e)],_0x173a48=this[_0x552058(0x327)]*0x8,_0x4442af=_0x1f8f34['sigBytes']*0x8;_0x21101e[_0x4442af>>>0x5]|=0x80<<0x18-_0x4442af%0x20;var _0xdb1739=_0x53da4f[_0x552058(0x2db)](_0x173a48/0x100000000),_0xc45c29=_0x173a48;_0x21101e[(_0x4442af+0x40>>>0x9<<0x4)+0xf]=(_0xdb1739<<0x8|_0xdb1739>>>0x18)&0xff00ff|(_0xdb1739<<0x18|_0xdb1739>>>0x8)&0xff00ff00,_0x21101e[(_0x4442af+0x40>>>0x9<<0x4)+0xe]=(_0xc45c29<<0x8|_0xc45c29>>>0x18)&0xff00ff|(_0xc45c29<<0x18|_0xc45c29>>>0x8)&0xff00ff00,_0x1f8f34['sigBytes']=(_0x21101e['length']+0x1)*0x4,this[_0x552058(0x2ae)]();for(var _0x50f655=this['_hash'],_0x5a7cd0=_0x50f655[_0x552058(0x23e)],_0x37afc0=0x0;_0x37afc0<0x4;_0x37afc0++){var _0xfed118=_0x5a7cd0[_0x37afc0];_0x5a7cd0[_0x37afc0]=(_0xfed118<<0x8|_0xfed118>>>0x18)&0xff00ff|(_0xfed118<<0x18|_0xfed118>>>0x8)&0xff00ff00;}return _0x50f655;},'clone':function(){var _0x48e257=_0x75749a,_0x5786cb=_0x53478a[_0x48e257(0x17b)][_0x48e257(0x415)](this);return _0x5786cb['_hash']=this[_0x48e257(0x368)][_0x48e257(0x17b)](),_0x5786cb;}});function _0x3631ee(_0x575b77,_0xb5f97e,_0x44cee7,_0x2e0025,_0x2b9e65,_0x2722d7,_0x3ac00f){var _0x356987=_0x575b77+(_0xb5f97e&_0x44cee7|~_0xb5f97e&_0x2e0025)+_0x2b9e65+_0x3ac00f;return(_0x356987<<_0x2722d7|_0x356987>>>0x20-_0x2722d7)+_0xb5f97e;}function _0xcc8d88(_0xa0e1f3,_0x54bf17,_0x24568a,_0x5c72d0,_0x46dd72,_0x441e0d,_0xe68089){var _0x51bfdf=_0xa0e1f3+(_0x54bf17&_0x5c72d0|_0x24568a&~_0x5c72d0)+_0x46dd72+_0xe68089;return(_0x51bfdf<<_0x441e0d|_0x51bfdf>>>0x20-_0x441e0d)+_0x54bf17;}function _0x2e3443(_0x2c096a,_0x5d8d42,_0x4cc993,_0x3e23c3,_0x3a6725,_0x3c8902,_0x2f098b){var _0x124803=_0x2c096a+(_0x5d8d42^_0x4cc993^_0x3e23c3)+_0x3a6725+_0x2f098b;return(_0x124803<<_0x3c8902|_0x124803>>>0x20-_0x3c8902)+_0x5d8d42;}function _0x147b17(_0x534b27,_0x2642d8,_0x43aea8,_0x423092,_0x32feea,_0x29ec67,_0x56efe0){var _0x2c94fd=_0x534b27+(_0x43aea8^(_0x2642d8|~_0x423092))+_0x32feea+_0x56efe0;return(_0x2c94fd<<_0x29ec67|_0x2c94fd>>>0x20-_0x29ec67)+_0x2642d8;}_0x489dcf[_0x75749a(0x213)]=_0x53478a['_createHelper'](_0x3de1c9),_0x489dcf[_0x75749a(0x31a)]=_0x53478a[_0x75749a(0x210)](_0x3de1c9);}(Math),_0x3433b6['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0xe39f59=_0x4611e8;return Ze||(Ze=0x1,function(_0x5b69e0,_0x1e8125){(function(_0x32f408,_0x15c9ba){_0x5b69e0['exports']=_0x15c9ba(Q());}(Ai,function(_0x45a004){var _0x1b1ef7=_0x4139;return(function(){var _0x5bd65e=_0x4139,_0x1d0e48=_0x45a004,_0x6a8951=_0x1d0e48[_0x5bd65e(0x215)],_0x403c58=_0x6a8951['WordArray'],_0x2f69cb=_0x6a8951[_0x5bd65e(0x374)],_0x214a6b=_0x1d0e48[_0x5bd65e(0x1e3)],_0x163524=[],_0x5880bc=_0x214a6b[_0x5bd65e(0x2f8)]=_0x2f69cb[_0x5bd65e(0x2e7)]({'_doReset':function(){var _0x194056=_0x5bd65e;this[_0x194056(0x368)]=new _0x403c58['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x100f85,_0x5d29e7){var _0x3a44a4=_0x5bd65e;for(var _0x3a4721=this[_0x3a44a4(0x368)][_0x3a44a4(0x23e)],_0x4233db=_0x3a4721[0x0],_0x8ee1d8=_0x3a4721[0x1],_0x5e79eb=_0x3a4721[0x2],_0x281ce7=_0x3a4721[0x3],_0x401927=_0x3a4721[0x4],_0x78a564=0x0;_0x78a564<0x50;_0x78a564++){if(_0x78a564<0x10)_0x163524[_0x78a564]=_0x100f85[_0x5d29e7+_0x78a564]|0x0;else{var _0x1492fc=_0x163524[_0x78a564-0x3]^_0x163524[_0x78a564-0x8]^_0x163524[_0x78a564-0xe]^_0x163524[_0x78a564-0x10];_0x163524[_0x78a564]=_0x1492fc<<0x1|_0x1492fc>>>0x1f;}var _0x4c96e5=(_0x4233db<<0x5|_0x4233db>>>0x1b)+_0x401927+_0x163524[_0x78a564];_0x78a564<0x14?_0x4c96e5+=(_0x8ee1d8&_0x5e79eb|~_0x8ee1d8&_0x281ce7)+0x5a827999:_0x78a564<0x28?_0x4c96e5+=(_0x8ee1d8^_0x5e79eb^_0x281ce7)+0x6ed9eba1:_0x78a564<0x3c?_0x4c96e5+=(_0x8ee1d8&_0x5e79eb|_0x8ee1d8&_0x281ce7|_0x5e79eb&_0x281ce7)-0x70e44324:_0x4c96e5+=(_0x8ee1d8^_0x5e79eb^_0x281ce7)-0x359d3e2a,_0x401927=_0x281ce7,_0x281ce7=_0x5e79eb,_0x5e79eb=_0x8ee1d8<<0x1e|_0x8ee1d8>>>0x2,_0x8ee1d8=_0x4233db,_0x4233db=_0x4c96e5;}_0x3a4721[0x0]=_0x3a4721[0x0]+_0x4233db|0x0,_0x3a4721[0x1]=_0x3a4721[0x1]+_0x8ee1d8|0x0,_0x3a4721[0x2]=_0x3a4721[0x2]+_0x5e79eb|0x0,_0x3a4721[0x3]=_0x3a4721[0x3]+_0x281ce7|0x0,_0x3a4721[0x4]=_0x3a4721[0x4]+_0x401927|0x0;},'_doFinalize':function(){var _0x17e9f3=_0x5bd65e,_0x3d83f1=this['_data'],_0x483175=_0x3d83f1[_0x17e9f3(0x23e)],_0x9b976c=this[_0x17e9f3(0x327)]*0x8,_0x3a3981=_0x3d83f1[_0x17e9f3(0x3b3)]*0x8;return _0x483175[_0x3a3981>>>0x5]|=0x80<<0x18-_0x3a3981%0x20,_0x483175[(_0x3a3981+0x40>>>0x9<<0x4)+0xe]=Math[_0x17e9f3(0x2db)](_0x9b976c/0x100000000),_0x483175[(_0x3a3981+0x40>>>0x9<<0x4)+0xf]=_0x9b976c,_0x3d83f1[_0x17e9f3(0x3b3)]=_0x483175[_0x17e9f3(0x479)]*0x4,this[_0x17e9f3(0x2ae)](),this[_0x17e9f3(0x368)];},'clone':function(){var _0x3ea3f7=_0x5bd65e,_0x44bfff=_0x2f69cb['clone'][_0x3ea3f7(0x415)](this);return _0x44bfff['_hash']=this[_0x3ea3f7(0x368)][_0x3ea3f7(0x17b)](),_0x44bfff;}});_0x1d0e48[_0x5bd65e(0x2f8)]=_0x2f69cb[_0x5bd65e(0x434)](_0x5880bc),_0x1d0e48[_0x5bd65e(0x2f1)]=_0x2f69cb[_0x5bd65e(0x210)](_0x5880bc);}()),_0x45a004[_0x1b1ef7(0x2f8)];}));}(me)),me[_0xe39f59(0x27c)];}var Ce={'exports':{}},Li=Ce['exports'],Qe;function wi(){var _0x34cb9a=_0x4611e8;return Qe||(Qe=0x1,function(_0x5da24c,_0x2e9db5){(function(_0x56e2e1,_0x5502f3){var _0x57a83a=_0x4139;_0x5da24c[_0x57a83a(0x27c)]=_0x5502f3(Q());}(Li,function(_0x339fd5){(function(){var _0x43d4f5=_0x4139,_0x379878=_0x339fd5,_0x38397f=_0x379878['lib'],_0x2929ce=_0x38397f['Base'],_0x1720ce=_0x379878[_0x43d4f5(0x439)],_0x33cb68=_0x1720ce[_0x43d4f5(0x2cb)],_0x724334=_0x379878['algo'];_0x724334[_0x43d4f5(0x310)]=_0x2929ce['extend']({'init':function(_0x555a9f,_0x45f8f7){var _0x36b77d=_0x43d4f5;_0x555a9f=this[_0x36b77d(0x398)]=new _0x555a9f['init'](),typeof _0x45f8f7==_0x36b77d(0x203)&&(_0x45f8f7=_0x33cb68[_0x36b77d(0x14c)](_0x45f8f7));var _0x5996c7=_0x555a9f[_0x36b77d(0x25b)],_0xd195f7=_0x5996c7*0x4;_0x45f8f7[_0x36b77d(0x3b3)]>_0xd195f7&&(_0x45f8f7=_0x555a9f[_0x36b77d(0x2a2)](_0x45f8f7)),_0x45f8f7['clamp']();for(var _0x2a75aa=this[_0x36b77d(0x282)]=_0x45f8f7[_0x36b77d(0x17b)](),_0x1a2b7f=this[_0x36b77d(0x315)]=_0x45f8f7['clone'](),_0x56eb59=_0x2a75aa[_0x36b77d(0x23e)],_0x2156dd=_0x1a2b7f[_0x36b77d(0x23e)],_0x598fc6=0x0;_0x598fc6<_0x5996c7;_0x598fc6++)_0x56eb59[_0x598fc6]^=0x5c5c5c5c,_0x2156dd[_0x598fc6]^=0x36363636;_0x2a75aa[_0x36b77d(0x3b3)]=_0x1a2b7f[_0x36b77d(0x3b3)]=_0xd195f7,this['reset']();},'reset':function(){var _0x4b13f6=_0x43d4f5,_0x24058e=this[_0x4b13f6(0x398)];_0x24058e[_0x4b13f6(0x3bd)](),_0x24058e[_0x4b13f6(0x340)](this[_0x4b13f6(0x315)]);},'update':function(_0x471086){var _0x41c1e2=_0x43d4f5;return this[_0x41c1e2(0x398)][_0x41c1e2(0x340)](_0x471086),this;},'finalize':function(_0x4f23e1){var _0x131c91=_0x43d4f5,_0x2010dc=this[_0x131c91(0x398)],_0x11829c=_0x2010dc['finalize'](_0x4f23e1);_0x2010dc['reset']();var _0x2b7bbc=_0x2010dc[_0x131c91(0x2a2)](this[_0x131c91(0x282)][_0x131c91(0x17b)]()['concat'](_0x11829c));return _0x2b7bbc;}});}());}));}(Ce)),Ce[_0x34cb9a(0x27c)];}var Mi=Ee[_0x4611e8(0x27c)],et;function Nt(){var _0x6f35b0=_0x4611e8;return et||(et=0x1,function(_0x2441a9,_0xd85812){(function(_0x871144,_0x38740,_0x273470){var _0x5f3dc5=_0x4139;_0x2441a9[_0x5f3dc5(0x27c)]=_0x38740(Q(),Pi(),wi());}(Mi,function(_0x41893a){var _0x5d245d=_0x4139;return(function(){var _0x40ff3f=_0x4139,_0x4f9b93=_0x41893a,_0xc6550d=_0x4f9b93[_0x40ff3f(0x215)],_0x2bfe9c=_0xc6550d[_0x40ff3f(0x212)],_0xdbaa7e=_0xc6550d['WordArray'],_0x137c71=_0x4f9b93[_0x40ff3f(0x1e3)],_0x311d25=_0x137c71[_0x40ff3f(0x213)],_0x30da12=_0x137c71[_0x40ff3f(0x323)]=_0x2bfe9c[_0x40ff3f(0x2e7)]({'cfg':_0x2bfe9c['extend']({'keySize':0x80/0x20,'hasher':_0x311d25,'iterations':0x1}),'init':function(_0x54fec6){var _0x203a18=_0x40ff3f;this[_0x203a18(0x38e)]=this[_0x203a18(0x38e)]['extend'](_0x54fec6);},'compute':function(_0x4dc050,_0x359a55){var _0x5ee90a=_0x40ff3f;for(var _0x5a0330,_0x58bfef=this['cfg'],_0x42288=_0x58bfef['hasher'][_0x5ee90a(0x3a8)](),_0x2f2f5c=_0xdbaa7e['create'](),_0x24662d=_0x2f2f5c[_0x5ee90a(0x23e)],_0x50327d=_0x58bfef[_0x5ee90a(0x3dd)],_0xe8255b=_0x58bfef[_0x5ee90a(0x3f2)];_0x24662d[_0x5ee90a(0x479)]<_0x50327d;){_0x5a0330&&_0x42288[_0x5ee90a(0x340)](_0x5a0330),_0x5a0330=_0x42288[_0x5ee90a(0x340)](_0x4dc050)[_0x5ee90a(0x2a2)](_0x359a55),_0x42288['reset']();for(var _0x4e0f43=0x1;_0x4e0f43<_0xe8255b;_0x4e0f43++)_0x5a0330=_0x42288[_0x5ee90a(0x2a2)](_0x5a0330),_0x42288[_0x5ee90a(0x3bd)]();_0x2f2f5c['concat'](_0x5a0330);}return _0x2f2f5c[_0x5ee90a(0x3b3)]=_0x50327d*0x4,_0x2f2f5c;}});_0x4f9b93['EvpKDF']=function(_0xa20337,_0x37a536,_0x31f214){var _0x192571=_0x40ff3f;return _0x30da12[_0x192571(0x3a8)](_0x31f214)[_0x192571(0x12e)](_0xa20337,_0x37a536);};}()),_0x41893a[_0x5d245d(0x323)];}));}(Ee)),Ee[_0x6f35b0(0x27c)];}var Te={'exports':{}},xi=Te[_0x4611e8(0x27c)],tt;function Dt(){var _0x94f730=_0x4611e8;return tt||(tt=0x1,function(_0x4edd7a,_0x1bb123){(function(_0x2c8f7b,_0x47cbc4,_0x4d2089){var _0x25f317=_0x4139;_0x4edd7a[_0x25f317(0x27c)]=_0x47cbc4(Q(),Nt());}(xi,function(_0x505de9){var _0x47b865=_0x4139;_0x505de9[_0x47b865(0x215)][_0x47b865(0x204)]||function(_0xf57cdd){var _0x59d0b1=_0x47b865,_0x3189d0=_0x505de9,_0x543e8a=_0x3189d0[_0x59d0b1(0x215)],_0x25e948=_0x543e8a[_0x59d0b1(0x212)],_0x1b3c0f=_0x543e8a[_0x59d0b1(0x304)],_0x364df7=_0x543e8a[_0x59d0b1(0x169)],_0x4855ef=_0x3189d0[_0x59d0b1(0x439)];_0x4855ef['Utf8'];var _0x1c8d39=_0x4855ef[_0x59d0b1(0x174)],_0x22e3a3=_0x3189d0[_0x59d0b1(0x1e3)],_0x14721e=_0x22e3a3[_0x59d0b1(0x323)],_0x484585=_0x543e8a[_0x59d0b1(0x204)]=_0x364df7[_0x59d0b1(0x2e7)]({'cfg':_0x25e948[_0x59d0b1(0x2e7)](),'createEncryptor':function(_0x1e0916,_0x1a8f5b){var _0x5c9545=_0x59d0b1;return this[_0x5c9545(0x3a8)](this[_0x5c9545(0x48e)],_0x1e0916,_0x1a8f5b);},'createDecryptor':function(_0x4ff7aa,_0x46f9d4){var _0x5b0695=_0x59d0b1;return this[_0x5b0695(0x3a8)](this[_0x5b0695(0x155)],_0x4ff7aa,_0x46f9d4);},'init':function(_0x46d815,_0x3942f0,_0x126dfd){var _0x1d348e=_0x59d0b1;this['cfg']=this[_0x1d348e(0x38e)][_0x1d348e(0x2e7)](_0x126dfd),this[_0x1d348e(0x131)]=_0x46d815,this[_0x1d348e(0x394)]=_0x3942f0,this[_0x1d348e(0x3bd)]();},'reset':function(){var _0x2085db=_0x59d0b1;_0x364df7[_0x2085db(0x3bd)][_0x2085db(0x415)](this),this[_0x2085db(0x1e1)]();},'process':function(_0x446366){var _0x1943fa=_0x59d0b1;return this[_0x1943fa(0x47a)](_0x446366),this[_0x1943fa(0x2ae)]();},'finalize':function(_0x55e50a){var _0xe3d4ce=_0x59d0b1;_0x55e50a&&this[_0xe3d4ce(0x47a)](_0x55e50a);var _0x43e17d=this[_0xe3d4ce(0x146)]();return _0x43e17d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3eed0a(_0x57b7b7){return typeof _0x57b7b7=='string'?_0x36ce98:_0x43511e;}return function(_0x47ac48){return{'encrypt':function(_0x3b046,_0x5baabc,_0x3ad7c6){var _0x302c22=_0x4139;return _0x3eed0a(_0x5baabc)[_0x302c22(0x193)](_0x47ac48,_0x3b046,_0x5baabc,_0x3ad7c6);},'decrypt':function(_0x3e7331,_0x2cd69a,_0x3c80f0){var _0x48940e=_0x4139;return _0x3eed0a(_0x2cd69a)[_0x48940e(0x21e)](_0x47ac48,_0x3e7331,_0x2cd69a,_0x3c80f0);}};};}())});_0x543e8a['StreamCipher']=_0x484585[_0x59d0b1(0x2e7)]({'_doFinalize':function(){var _0xd49055=this['_process'](!0x0);return _0xd49055;},'blockSize':0x1});var _0x558814=_0x3189d0['mode']={},_0x337cef=_0x543e8a[_0x59d0b1(0x12f)]=_0x25e948[_0x59d0b1(0x2e7)]({'createEncryptor':function(_0x2ba47b,_0x53e413){var _0x2e3017=_0x59d0b1;return this[_0x2e3017(0x16a)]['create'](_0x2ba47b,_0x53e413);},'createDecryptor':function(_0x9cb275,_0x12c30f){var _0x124db8=_0x59d0b1;return this[_0x124db8(0x480)]['create'](_0x9cb275,_0x12c30f);},'init':function(_0x35d413,_0x5912a9){var _0x2e290e=_0x59d0b1;this[_0x2e290e(0x47f)]=_0x35d413,this[_0x2e290e(0x329)]=_0x5912a9;}}),_0x29c5df=_0x558814[_0x59d0b1(0x43c)]=(function(){var _0xab2bb7=_0x59d0b1,_0x4fa4ef=_0x337cef['extend']();_0x4fa4ef[_0xab2bb7(0x16a)]=_0x4fa4ef['extend']({'processBlock':function(_0x2f0edf,_0x474bd0){var _0x2a9e2d=_0xab2bb7,_0x13a382=this[_0x2a9e2d(0x47f)],_0x585acc=_0x13a382[_0x2a9e2d(0x25b)];_0x1ea091[_0x2a9e2d(0x415)](this,_0x2f0edf,_0x474bd0,_0x585acc),_0x13a382['encryptBlock'](_0x2f0edf,_0x474bd0),this['_prevBlock']=_0x2f0edf[_0x2a9e2d(0x3bc)](_0x474bd0,_0x474bd0+_0x585acc);}}),_0x4fa4ef[_0xab2bb7(0x480)]=_0x4fa4ef[_0xab2bb7(0x2e7)]({'processBlock':function(_0xcd1b0c,_0x58eeb8){var _0xe1afef=_0xab2bb7,_0x3674d6=this[_0xe1afef(0x47f)],_0x1caac6=_0x3674d6['blockSize'],_0x3c75ab=_0xcd1b0c[_0xe1afef(0x3bc)](_0x58eeb8,_0x58eeb8+_0x1caac6);_0x3674d6['decryptBlock'](_0xcd1b0c,_0x58eeb8),_0x1ea091[_0xe1afef(0x415)](this,_0xcd1b0c,_0x58eeb8,_0x1caac6),this[_0xe1afef(0x458)]=_0x3c75ab;}});function _0x1ea091(_0x39e7d8,_0x544906,_0x13a653){var _0x528fe4=_0xab2bb7,_0x44eae5,_0x623a53=this[_0x528fe4(0x329)];_0x623a53?(_0x44eae5=_0x623a53,this[_0x528fe4(0x329)]=_0xf57cdd):_0x44eae5=this[_0x528fe4(0x458)];for(var _0x53f6b5=0x0;_0x53f6b5<_0x13a653;_0x53f6b5++)_0x39e7d8[_0x544906+_0x53f6b5]^=_0x44eae5[_0x53f6b5];}return _0x4fa4ef;}()),_0x1d71ef=_0x3189d0[_0x59d0b1(0x409)]={},_0x4445e1=_0x1d71ef[_0x59d0b1(0x205)]={'pad':function(_0x1ffc69,_0x1a6c12){var _0x14daaa=_0x59d0b1;for(var _0x459c48=_0x1a6c12*0x4,_0x20d1a7=_0x459c48-_0x1ffc69[_0x14daaa(0x3b3)]%_0x459c48,_0x18efcb=_0x20d1a7<<0x18|_0x20d1a7<<0x10|_0x20d1a7<<0x8|_0x20d1a7,_0x4797e8=[],_0x55c9c3=0x0;_0x55c9c3<_0x20d1a7;_0x55c9c3+=0x4)_0x4797e8[_0x14daaa(0x475)](_0x18efcb);var _0x168897=_0x1b3c0f['create'](_0x4797e8,_0x20d1a7);_0x1ffc69['concat'](_0x168897);},'unpad':function(_0x497343){var _0x473232=_0x59d0b1,_0x11c7ca=_0x497343[_0x473232(0x23e)][_0x497343[_0x473232(0x3b3)]-0x1>>>0x2]&0xff;_0x497343[_0x473232(0x3b3)]-=_0x11c7ca;}};_0x543e8a['BlockCipher']=_0x484585[_0x59d0b1(0x2e7)]({'cfg':_0x484585[_0x59d0b1(0x38e)][_0x59d0b1(0x2e7)]({'mode':_0x29c5df,'padding':_0x4445e1}),'reset':function(){var _0x230120=_0x59d0b1,_0x2c727a;_0x484585[_0x230120(0x3bd)][_0x230120(0x415)](this);var _0x1c816b=this['cfg'],_0x11fb9e=_0x1c816b['iv'],_0x4fb9f9=_0x1c816b[_0x230120(0x412)];this[_0x230120(0x131)]==this[_0x230120(0x48e)]?_0x2c727a=_0x4fb9f9[_0x230120(0x44d)]:(_0x2c727a=_0x4fb9f9[_0x230120(0x1b6)],this[_0x230120(0x2bc)]=0x1),this[_0x230120(0x1b3)]&&this[_0x230120(0x1b3)][_0x230120(0x24d)]==_0x2c727a?this[_0x230120(0x1b3)][_0x230120(0x1b7)](this,_0x11fb9e&&_0x11fb9e[_0x230120(0x23e)]):(this[_0x230120(0x1b3)]=_0x2c727a[_0x230120(0x415)](_0x4fb9f9,this,_0x11fb9e&&_0x11fb9e[_0x230120(0x23e)]),this[_0x230120(0x1b3)][_0x230120(0x24d)]=_0x2c727a);},'_doProcessBlock':function(_0x6f6104,_0x140a9b){var _0x467511=_0x59d0b1;this[_0x467511(0x1b3)][_0x467511(0x307)](_0x6f6104,_0x140a9b);},'_doFinalize':function(){var _0x3bd320=_0x59d0b1,_0x50c1fd,_0x43833c=this['cfg'][_0x3bd320(0x3cf)];return this[_0x3bd320(0x131)]==this[_0x3bd320(0x48e)]?(_0x43833c[_0x3bd320(0x409)](this[_0x3bd320(0x272)],this[_0x3bd320(0x25b)]),_0x50c1fd=this[_0x3bd320(0x2ae)](!0x0)):(_0x50c1fd=this[_0x3bd320(0x2ae)](!0x0),_0x43833c[_0x3bd320(0x487)](_0x50c1fd)),_0x50c1fd;},'blockSize':0x80/0x20});var _0x1ce603=_0x543e8a[_0x59d0b1(0x1fa)]=_0x25e948[_0x59d0b1(0x2e7)]({'init':function(_0x2f1b68){var _0x2341f9=_0x59d0b1;this[_0x2341f9(0x391)](_0x2f1b68);},'toString':function(_0x112905){var _0x2cbb97=_0x59d0b1;return(_0x112905||this['formatter'])[_0x2cbb97(0x37b)](this);}}),_0x56c1d3=_0x3189d0['format']={},_0x15842e=_0x56c1d3['OpenSSL']={'stringify':function(_0x5a1d8c){var _0x467a48=_0x59d0b1,_0x455d0b,_0x27ebda=_0x5a1d8c[_0x467a48(0x426)],_0x52a9d8=_0x5a1d8c['salt'];return _0x52a9d8?_0x455d0b=_0x1b3c0f[_0x467a48(0x3a8)]([0x53616c74,0x65645f5f])[_0x467a48(0x2ab)](_0x52a9d8)[_0x467a48(0x2ab)](_0x27ebda):_0x455d0b=_0x27ebda,_0x455d0b['toString'](_0x1c8d39);},'parse':function(_0x222be1){var _0x4b0425=_0x59d0b1,_0x5bc0b4,_0x45ac33=_0x1c8d39['parse'](_0x222be1),_0x4bb0e2=_0x45ac33['words'];return _0x4bb0e2[0x0]==0x53616c74&&_0x4bb0e2[0x1]==0x65645f5f&&(_0x5bc0b4=_0x1b3c0f[_0x4b0425(0x3a8)](_0x4bb0e2[_0x4b0425(0x3bc)](0x2,0x4)),_0x4bb0e2[_0x4b0425(0x3ea)](0x0,0x4),_0x45ac33[_0x4b0425(0x3b3)]-=0x10),_0x1ce603[_0x4b0425(0x3a8)]({'ciphertext':_0x45ac33,'salt':_0x5bc0b4});}},_0x43511e=_0x543e8a['SerializableCipher']=_0x25e948[_0x59d0b1(0x2e7)]({'cfg':_0x25e948[_0x59d0b1(0x2e7)]({'format':_0x15842e}),'encrypt':function(_0x31daf6,_0x364890,_0x264646,_0x168b3c){var _0x1d1986=_0x59d0b1;_0x168b3c=this['cfg'][_0x1d1986(0x2e7)](_0x168b3c);var _0x4e4c7a=_0x31daf6[_0x1d1986(0x44d)](_0x264646,_0x168b3c),_0x302e1e=_0x4e4c7a[_0x1d1986(0x2a2)](_0x364890),_0x14724a=_0x4e4c7a['cfg'];return _0x1ce603[_0x1d1986(0x3a8)]({'ciphertext':_0x302e1e,'key':_0x264646,'iv':_0x14724a['iv'],'algorithm':_0x31daf6,'mode':_0x14724a[_0x1d1986(0x412)],'padding':_0x14724a[_0x1d1986(0x3cf)],'blockSize':_0x31daf6['blockSize'],'formatter':_0x168b3c[_0x1d1986(0x195)]});},'decrypt':function(_0x5957f6,_0x42588a,_0x6c661f,_0x517966){var _0x215425=_0x59d0b1;_0x517966=this[_0x215425(0x38e)][_0x215425(0x2e7)](_0x517966),_0x42588a=this['_parse'](_0x42588a,_0x517966[_0x215425(0x195)]);var _0x5d72b8=_0x5957f6[_0x215425(0x1b6)](_0x6c661f,_0x517966)[_0x215425(0x2a2)](_0x42588a[_0x215425(0x426)]);return _0x5d72b8;},'_parse':function(_0x2d7026,_0x5387b4){var _0x5c5ccb=_0x59d0b1;return typeof _0x2d7026==_0x5c5ccb(0x203)?_0x5387b4[_0x5c5ccb(0x14c)](_0x2d7026,this):_0x2d7026;}}),_0xecd257=_0x3189d0[_0x59d0b1(0x28d)]={},_0x486592=_0xecd257[_0x59d0b1(0x273)]={'execute':function(_0x1c3513,_0x48159f,_0x1e8959,_0xfd01ed,_0x1d09fa){var _0x5b6543=_0x59d0b1;if(_0xfd01ed||(_0xfd01ed=_0x1b3c0f[_0x5b6543(0x1e7)](0x40/0x8)),_0x1d09fa)var _0x5a76f1=_0x14721e[_0x5b6543(0x3a8)]({'keySize':_0x48159f+_0x1e8959,'hasher':_0x1d09fa})['compute'](_0x1c3513,_0xfd01ed);else var _0x5a76f1=_0x14721e['create']({'keySize':_0x48159f+_0x1e8959})[_0x5b6543(0x12e)](_0x1c3513,_0xfd01ed);var _0x4f3d1d=_0x1b3c0f[_0x5b6543(0x3a8)](_0x5a76f1[_0x5b6543(0x23e)][_0x5b6543(0x3bc)](_0x48159f),_0x1e8959*0x4);return _0x5a76f1['sigBytes']=_0x48159f*0x4,_0x1ce603['create']({'key':_0x5a76f1,'iv':_0x4f3d1d,'salt':_0xfd01ed});}},_0x36ce98=_0x543e8a['PasswordBasedCipher']=_0x43511e[_0x59d0b1(0x2e7)]({'cfg':_0x43511e[_0x59d0b1(0x38e)][_0x59d0b1(0x2e7)]({'kdf':_0x486592}),'encrypt':function(_0x36b0db,_0x2e94fe,_0x211a3f,_0x4ca1ad){var _0x2b70b0=_0x59d0b1;_0x4ca1ad=this[_0x2b70b0(0x38e)][_0x2b70b0(0x2e7)](_0x4ca1ad);var _0x3ec5cd=_0x4ca1ad[_0x2b70b0(0x28d)][_0x2b70b0(0x36e)](_0x211a3f,_0x36b0db[_0x2b70b0(0x3dd)],_0x36b0db[_0x2b70b0(0x277)],_0x4ca1ad[_0x2b70b0(0x236)],_0x4ca1ad['hasher']);_0x4ca1ad['iv']=_0x3ec5cd['iv'];var _0x2db39a=_0x43511e[_0x2b70b0(0x193)][_0x2b70b0(0x415)](this,_0x36b0db,_0x2e94fe,_0x3ec5cd['key'],_0x4ca1ad);return _0x2db39a[_0x2b70b0(0x391)](_0x3ec5cd),_0x2db39a;},'decrypt':function(_0x186c40,_0x22df6a,_0x44c704,_0x327947){var _0x3a1846=_0x59d0b1;_0x327947=this['cfg'][_0x3a1846(0x2e7)](_0x327947),_0x22df6a=this[_0x3a1846(0x2a8)](_0x22df6a,_0x327947[_0x3a1846(0x195)]);var _0x37329a=_0x327947[_0x3a1846(0x28d)][_0x3a1846(0x36e)](_0x44c704,_0x186c40[_0x3a1846(0x3dd)],_0x186c40[_0x3a1846(0x277)],_0x22df6a[_0x3a1846(0x236)],_0x327947[_0x3a1846(0x11c)]);_0x327947['iv']=_0x37329a['iv'];var _0x27b2a1=_0x43511e[_0x3a1846(0x21e)][_0x3a1846(0x415)](this,_0x186c40,_0x22df6a,_0x37329a[_0x3a1846(0x28c)],_0x327947);return _0x27b2a1;}});}();}));}(Te)),Te[_0x94f730(0x27c)];}var ki=fe[_0x4611e8(0x27c)],it;function Hi(){var _0xd7e4f4=_0x4611e8;return it||(it=0x1,function(_0x29a006,_0x38bea0){(function(_0x4693d5,_0xe1ae81,_0x4abe45){var _0x5a5ecd=_0x4139;_0x29a006[_0x5a5ecd(0x27c)]=_0xe1ae81(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x2ec66b){var _0xaf8a55=_0x4139;return(function(){var _0x1064d4=_0x4139,_0x716d12=_0x2ec66b,_0x2915d5=_0x716d12['lib'],_0x161993=_0x2915d5[_0x1064d4(0x2b4)],_0x21f489=_0x716d12[_0x1064d4(0x1e3)],_0x3317c6=[],_0x456697=[],_0xcdaa3f=[],_0x5389b9=[],_0x47b05e=[],_0x35b29b=[],_0x5e7b38=[],_0xb7e5d4=[],_0x63b837=[],_0x1d9de8=[];(function(){for(var _0x308ace=[],_0x5dfd67=0x0;_0x5dfd67<0x100;_0x5dfd67++)_0x5dfd67<0x80?_0x308ace[_0x5dfd67]=_0x5dfd67<<0x1:_0x308ace[_0x5dfd67]=_0x5dfd67<<0x1^0x11b;for(var _0x18648c=0x0,_0x4e8a31=0x0,_0x5dfd67=0x0;_0x5dfd67<0x100;_0x5dfd67++){var _0x26d041=_0x4e8a31^_0x4e8a31<<0x1^_0x4e8a31<<0x2^_0x4e8a31<<0x3^_0x4e8a31<<0x4;_0x26d041=_0x26d041>>>0x8^_0x26d041&0xff^0x63,_0x3317c6[_0x18648c]=_0x26d041,_0x456697[_0x26d041]=_0x18648c;var _0x40698c=_0x308ace[_0x18648c],_0x534d99=_0x308ace[_0x40698c],_0x3ec60d=_0x308ace[_0x534d99],_0x416e68=_0x308ace[_0x26d041]*0x101^_0x26d041*0x1010100;_0xcdaa3f[_0x18648c]=_0x416e68<<0x18|_0x416e68>>>0x8,_0x5389b9[_0x18648c]=_0x416e68<<0x10|_0x416e68>>>0x10,_0x47b05e[_0x18648c]=_0x416e68<<0x8|_0x416e68>>>0x18,_0x35b29b[_0x18648c]=_0x416e68;var _0x416e68=_0x3ec60d*0x1010101^_0x534d99*0x10001^_0x40698c*0x101^_0x18648c*0x1010100;_0x5e7b38[_0x26d041]=_0x416e68<<0x18|_0x416e68>>>0x8,_0xb7e5d4[_0x26d041]=_0x416e68<<0x10|_0x416e68>>>0x10,_0x63b837[_0x26d041]=_0x416e68<<0x8|_0x416e68>>>0x18,_0x1d9de8[_0x26d041]=_0x416e68,_0x18648c?(_0x18648c=_0x40698c^_0x308ace[_0x308ace[_0x308ace[_0x3ec60d^_0x40698c]]],_0x4e8a31^=_0x308ace[_0x308ace[_0x4e8a31]]):_0x18648c=_0x4e8a31=0x1;}}());var _0x33d638=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2e6276=_0x21f489[_0x1064d4(0x249)]=_0x161993[_0x1064d4(0x2e7)]({'_doReset':function(){var _0x479bcb=_0x1064d4,_0xd99fc3;if(!(this[_0x479bcb(0x270)]&&this[_0x479bcb(0x301)]===this['_key'])){for(var _0x10fde0=this[_0x479bcb(0x301)]=this[_0x479bcb(0x394)],_0x68b46d=_0x10fde0[_0x479bcb(0x23e)],_0x364ae1=_0x10fde0[_0x479bcb(0x3b3)]/0x4,_0x226828=this[_0x479bcb(0x270)]=_0x364ae1+0x6,_0x14717a=(_0x226828+0x1)*0x4,_0x53ca7c=this[_0x479bcb(0x159)]=[],_0x37a57a=0x0;_0x37a57a<_0x14717a;_0x37a57a++)_0x37a57a<_0x364ae1?_0x53ca7c[_0x37a57a]=_0x68b46d[_0x37a57a]:(_0xd99fc3=_0x53ca7c[_0x37a57a-0x1],_0x37a57a%_0x364ae1?_0x364ae1>0x6&&_0x37a57a%_0x364ae1==0x4&&(_0xd99fc3=_0x3317c6[_0xd99fc3>>>0x18]<<0x18|_0x3317c6[_0xd99fc3>>>0x10&0xff]<<0x10|_0x3317c6[_0xd99fc3>>>0x8&0xff]<<0x8|_0x3317c6[_0xd99fc3&0xff]):(_0xd99fc3=_0xd99fc3<<0x8|_0xd99fc3>>>0x18,_0xd99fc3=_0x3317c6[_0xd99fc3>>>0x18]<<0x18|_0x3317c6[_0xd99fc3>>>0x10&0xff]<<0x10|_0x3317c6[_0xd99fc3>>>0x8&0xff]<<0x8|_0x3317c6[_0xd99fc3&0xff],_0xd99fc3^=_0x33d638[_0x37a57a/_0x364ae1|0x0]<<0x18),_0x53ca7c[_0x37a57a]=_0x53ca7c[_0x37a57a-_0x364ae1]^_0xd99fc3);for(var _0x1c424e=this[_0x479bcb(0x238)]=[],_0xf6fe04=0x0;_0xf6fe04<_0x14717a;_0xf6fe04++){var _0x37a57a=_0x14717a-_0xf6fe04;if(_0xf6fe04%0x4)var _0xd99fc3=_0x53ca7c[_0x37a57a];else var _0xd99fc3=_0x53ca7c[_0x37a57a-0x4];_0xf6fe04<0x4||_0x37a57a<=0x4?_0x1c424e[_0xf6fe04]=_0xd99fc3:_0x1c424e[_0xf6fe04]=_0x5e7b38[_0x3317c6[_0xd99fc3>>>0x18]]^_0xb7e5d4[_0x3317c6[_0xd99fc3>>>0x10&0xff]]^_0x63b837[_0x3317c6[_0xd99fc3>>>0x8&0xff]]^_0x1d9de8[_0x3317c6[_0xd99fc3&0xff]];}}},'encryptBlock':function(_0x239488,_0x1a991c){var _0x4b088a=_0x1064d4;this['_doCryptBlock'](_0x239488,_0x1a991c,this[_0x4b088a(0x159)],_0xcdaa3f,_0x5389b9,_0x47b05e,_0x35b29b,_0x3317c6);},'decryptBlock':function(_0x2cc460,_0x327b17){var _0x3718d5=_0x1064d4,_0x3d5348=_0x2cc460[_0x327b17+0x1];_0x2cc460[_0x327b17+0x1]=_0x2cc460[_0x327b17+0x3],_0x2cc460[_0x327b17+0x3]=_0x3d5348,this[_0x3718d5(0x2c4)](_0x2cc460,_0x327b17,this[_0x3718d5(0x238)],_0x5e7b38,_0xb7e5d4,_0x63b837,_0x1d9de8,_0x456697);var _0x3d5348=_0x2cc460[_0x327b17+0x1];_0x2cc460[_0x327b17+0x1]=_0x2cc460[_0x327b17+0x3],_0x2cc460[_0x327b17+0x3]=_0x3d5348;},'_doCryptBlock':function(_0x2a3e43,_0x547970,_0x47d5f7,_0x42ef10,_0x40a262,_0x3e7921,_0x48bccb,_0x265fa5){for(var _0x58f779=this['_nRounds'],_0x191ad0=_0x2a3e43[_0x547970]^_0x47d5f7[0x0],_0x47e576=_0x2a3e43[_0x547970+0x1]^_0x47d5f7[0x1],_0x5dd5be=_0x2a3e43[_0x547970+0x2]^_0x47d5f7[0x2],_0x3aaef6=_0x2a3e43[_0x547970+0x3]^_0x47d5f7[0x3],_0x2756c3=0x4,_0x1e700f=0x1;_0x1e700f<_0x58f779;_0x1e700f++){var _0x36c4dc=_0x42ef10[_0x191ad0>>>0x18]^_0x40a262[_0x47e576>>>0x10&0xff]^_0x3e7921[_0x5dd5be>>>0x8&0xff]^_0x48bccb[_0x3aaef6&0xff]^_0x47d5f7[_0x2756c3++],_0x49209f=_0x42ef10[_0x47e576>>>0x18]^_0x40a262[_0x5dd5be>>>0x10&0xff]^_0x3e7921[_0x3aaef6>>>0x8&0xff]^_0x48bccb[_0x191ad0&0xff]^_0x47d5f7[_0x2756c3++],_0x4240c8=_0x42ef10[_0x5dd5be>>>0x18]^_0x40a262[_0x3aaef6>>>0x10&0xff]^_0x3e7921[_0x191ad0>>>0x8&0xff]^_0x48bccb[_0x47e576&0xff]^_0x47d5f7[_0x2756c3++],_0x3a5d59=_0x42ef10[_0x3aaef6>>>0x18]^_0x40a262[_0x191ad0>>>0x10&0xff]^_0x3e7921[_0x47e576>>>0x8&0xff]^_0x48bccb[_0x5dd5be&0xff]^_0x47d5f7[_0x2756c3++];_0x191ad0=_0x36c4dc,_0x47e576=_0x49209f,_0x5dd5be=_0x4240c8,_0x3aaef6=_0x3a5d59;}var _0x36c4dc=(_0x265fa5[_0x191ad0>>>0x18]<<0x18|_0x265fa5[_0x47e576>>>0x10&0xff]<<0x10|_0x265fa5[_0x5dd5be>>>0x8&0xff]<<0x8|_0x265fa5[_0x3aaef6&0xff])^_0x47d5f7[_0x2756c3++],_0x49209f=(_0x265fa5[_0x47e576>>>0x18]<<0x18|_0x265fa5[_0x5dd5be>>>0x10&0xff]<<0x10|_0x265fa5[_0x3aaef6>>>0x8&0xff]<<0x8|_0x265fa5[_0x191ad0&0xff])^_0x47d5f7[_0x2756c3++],_0x4240c8=(_0x265fa5[_0x5dd5be>>>0x18]<<0x18|_0x265fa5[_0x3aaef6>>>0x10&0xff]<<0x10|_0x265fa5[_0x191ad0>>>0x8&0xff]<<0x8|_0x265fa5[_0x47e576&0xff])^_0x47d5f7[_0x2756c3++],_0x3a5d59=(_0x265fa5[_0x3aaef6>>>0x18]<<0x18|_0x265fa5[_0x191ad0>>>0x10&0xff]<<0x10|_0x265fa5[_0x47e576>>>0x8&0xff]<<0x8|_0x265fa5[_0x5dd5be&0xff])^_0x47d5f7[_0x2756c3++];_0x2a3e43[_0x547970]=_0x36c4dc,_0x2a3e43[_0x547970+0x1]=_0x49209f,_0x2a3e43[_0x547970+0x2]=_0x4240c8,_0x2a3e43[_0x547970+0x3]=_0x3a5d59;},'keySize':0x100/0x20});_0x716d12['AES']=_0x161993[_0x1064d4(0x434)](_0x2e6276);}()),_0x2ec66b[_0xaf8a55(0x249)];}));}(fe)),fe[_0xd7e4f4(0x27c)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x4611e8(0x27c)],rt;function Vi(){var _0x1ff8bf=_0x4611e8;return rt||(rt=0x1,function(_0x40d1e2,_0x3621ae){(function(_0x33bc93,_0x26f80c){var _0x3cd80e=_0x4139;_0x40d1e2[_0x3cd80e(0x27c)]=_0x26f80c(Q());}(Fi,function(_0x34db0c){return _0x34db0c['enc']['Utf8'];}));}(be)),be[_0x1ff8bf(0x27c)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re['exports'],st;function Ki(){var _0x40611c=_0x4611e8;return st||(st=0x1,function(_0x9388d3,_0x97f891){(function(_0x55b242,_0x7face8){_0x9388d3['exports']=_0x7face8(Q());}(Gi,function(_0x44b4df){var _0x5efd7f=_0x4139;return(function(){var _0x4dea15=_0x4139;if(typeof ArrayBuffer=='function'){var _0x5cef01=_0x44b4df,_0x468867=_0x5cef01['lib'],_0x379582=_0x468867[_0x4dea15(0x304)],_0x543cbc=_0x379582[_0x4dea15(0x1b7)],_0x455a02=_0x379582[_0x4dea15(0x1b7)]=function(_0x203b0b){var _0x2bd0aa=_0x4dea15;if(_0x203b0b instanceof ArrayBuffer&&(_0x203b0b=new Uint8Array(_0x203b0b)),(_0x203b0b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x203b0b instanceof Uint8ClampedArray||_0x203b0b instanceof Int16Array||_0x203b0b instanceof Uint16Array||_0x203b0b instanceof Int32Array||_0x203b0b instanceof Uint32Array||_0x203b0b instanceof Float32Array||_0x203b0b instanceof Float64Array)&&(_0x203b0b=new Uint8Array(_0x203b0b[_0x2bd0aa(0x411)],_0x203b0b[_0x2bd0aa(0x1b9)],_0x203b0b['byteLength'])),_0x203b0b instanceof Uint8Array){for(var _0x3895b5=_0x203b0b['byteLength'],_0x9e5234=[],_0x19920d=0x0;_0x19920d<_0x3895b5;_0x19920d++)_0x9e5234[_0x19920d>>>0x2]|=_0x203b0b[_0x19920d]<<0x18-_0x19920d%0x4*0x8;_0x543cbc[_0x2bd0aa(0x415)](this,_0x9e5234,_0x3895b5);}else _0x543cbc[_0x2bd0aa(0x297)](this,arguments);};_0x455a02['prototype']=_0x379582;}}()),_0x44b4df[_0x5efd7f(0x215)][_0x5efd7f(0x304)];}));}(Re)),Re[_0x40611c(0x27c)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x4611e8(0x27c)],ot;function Xi(){var _0x287dc0=_0x4611e8;return ot||(ot=0x1,function(_0x488b26,_0x12d554){(function(_0x44cd84,_0x115715,_0x41e57){var _0x8e2d9d=_0x4139;_0x488b26[_0x8e2d9d(0x27c)]=_0x115715(Q(),Dt());}(Ji,function(_0x261017){var _0x400d88=_0x4139;return _0x261017['pad'][_0x400d88(0x491)]={'pad':function(){},'unpad':function(){}},_0x261017[_0x400d88(0x409)]['NoPadding'];}));}(Oe)),Oe[_0x287dc0(0x27c)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x27d1a1,_0xe9e565){var _0x1a6af9=_0x4611e8;const _0x5b4662=_0xe9e565-_0x27d1a1[_0x1a6af9(0x479)]%_0xe9e565,_0x458391=String[_0x1a6af9(0x1ce)](_0x5b4662)[_0x1a6af9(0x232)](_0x5b4662);return _0x27d1a1+_0x458391;}function tn(_0x4c94e9,_0x260627){var _0x166f7f=_0x4611e8;const _0x4c78d4=zi[_0x166f7f(0x1e7)](0x10),_0x3ddb35=en(_0x4c94e9,0x10),_0x39c6a1=ji[_0x166f7f(0x193)](Yi[_0x166f7f(0x14c)](_0x3ddb35),nt[_0x166f7f(0x14c)](_0x260627),{'iv':_0x4c78d4,'padding':Qi});return _0x4c78d4['concat'](_0x39c6a1['ciphertext'])[_0x166f7f(0x21d)](nt);}function nn(){var _0x374407=_0x4611e8;const _0x2552e0=Lt['getGlobalObject']()[_0x374407(0x17f)];if(_0x2552e0){const _0x45788f={'time':Math[_0x374407(0x2db)](Date[_0x374407(0x42d)]()/0x3e8),'domain':location[_0x374407(0x300)]};return tn(JSON[_0x374407(0x37b)](_0x45788f),_0x2552e0);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x2339ac,_0x64d604,_0x8315ae,_0x4529e3)=>{var _0x136aed=_0x4611e8;for(var _0x17901a=_0x4529e3>0x1?void 0x0:_0x4529e3?rn(_0x64d604,_0x8315ae):_0x64d604,_0x4fb402=_0x2339ac[_0x136aed(0x479)]-0x1,_0x4778c4;_0x4fb402>=0x0;_0x4fb402--)(_0x4778c4=_0x2339ac[_0x4fb402])&&(_0x17901a=_0x4778c4(_0x17901a)||_0x17901a);return _0x17901a;},on=(_0x4e97ee,_0x1a8155)=>(_0x1e393e,_0x1831e5)=>_0x1a8155(_0x1e393e,_0x1831e5,_0x4e97ee);let Ne=class{constructor(_0x348602){var _0x5db8c5=_0x4611e8;this[_0x5db8c5(0x48d)]=_0x348602,this['_initRequestHeader']();}[_0x4611e8(0x29c)](){var _0x4dd95e=_0x4611e8;this[_0x4dd95e(0x48d)][_0x4dd95e(0x489)]({'interceptor':(_0x188342,_0x10a16c)=>{var _0x2e9f2e=_0x4dd95e;const _0x164d49=_0x188342['headers'],_0x2926b7=nn();return _0x2926b7&&_0x164d49['set'](_0x2e9f2e(0x460),_0x2926b7),_0x10a16c(_0x188342);}});}};Ne=sn([on(0x0,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0xf0ced5,_0xceb297,_0x498cc5,_0x442e50)=>{var _0x53b126=_0x4611e8;for(var _0x1860c8=_0x442e50>0x1?void 0x0:_0x442e50?an(_0xceb297,_0x498cc5):_0xceb297,_0x43fd8c=_0xf0ced5[_0x53b126(0x479)]-0x1,_0x5dcea9;_0x43fd8c>=0x0;_0x43fd8c--)(_0x5dcea9=_0xf0ced5[_0x43fd8c])&&(_0x1860c8=_0x5dcea9(_0x1860c8)||_0x1860c8);return _0x1860c8;},Le=(_0xfd1a5e,_0xafd777)=>(_0x1d1cee,_0x59406b)=>_0xafd777(_0x1d1cee,_0x59406b,_0xfd1a5e);exports['DataLoaderService']=class extends a[_0x4611e8(0x135)]{constructor(_0xa6f609,_0x1926bb,_0x327cf1){var _0x4c5d84=_0x4611e8;super(),A(this,'_unitInfo$',new $[(_0x4c5d84(0x3c0))](null)),A(this,_0x4c5d84(0x3f0),this[_0x4c5d84(0x364)][_0x4c5d84(0x2fd)]()),(this[_0x4c5d84(0x47b)]=_0xa6f609,this[_0x4c5d84(0x1d3)]=_0x1926bb,this[_0x4c5d84(0x1d4)]=_0x327cf1);}async[_0x4611e8(0x2ec)](_0x988719,_0x3995fa,_0x125640){var _0x52c3d8=_0x4611e8;this['_unitInfo$'][_0x52c3d8(0x244)]({'unitId':_0x988719,'type':_0x3995fa});let _0x19274b=null;switch(_0x3995fa){case J[_0x52c3d8(0x1c8)]:{_0x19274b=await this[_0x52c3d8(0x1d3)]['loadSheet'](_0x988719,_0x125640);break;}case J[_0x52c3d8(0x2c8)]:{_0x19274b=await this[_0x52c3d8(0x1d3)][_0x52c3d8(0x1f4)](_0x988719,_0x125640);break;}default:{this[_0x52c3d8(0x47b)]['error'](_0x52c3d8(0x2f5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x19274b;}async[_0x4611e8(0x2a1)](_0x49d661,_0x5ba91f,_0x290955){var _0x211a6c=_0x4611e8,_0x338023;this[_0x211a6c(0x364)][_0x211a6c(0x244)]({'unitId':_0x49d661,'type':_0x5ba91f,'subUnitId':_0x290955});let _0x300ea6=0x0;const _0x1720e3=await((_0x338023=this[_0x211a6c(0x1d4)])==null?void 0x0:_0x338023[_0x211a6c(0x345)](_0x49d661));return _0x1720e3&&(_0x1720e3[_0x211a6c(0x3ec)]||_0x1720e3['mutations'][_0x211a6c(0x479)]!==0x0)&&(_0x300ea6=_0x1720e3[_0x211a6c(0x288)]),_0x300ea6===0x0&&this[_0x211a6c(0x47b)]['debug'](_0x211a6c(0x2f5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x49d661,_0x5ba91f,_0x300ea6);}},exports[_0x4611e8(0x2b5)]=cn([Le(0x0,a[_0x4611e8(0x2a6)]),Le(0x1,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x45d)])),Le(0x2,a[_0x4611e8(0x3e3)](q))],exports['DataLoaderService']);var hn=Object[_0x4611e8(0x1b5)],_n=(_0x128756,_0x4cdd03,_0x240373,_0x319740)=>{var _0x356883=_0x4611e8;for(var _0x1cce39=_0x319740>0x1?void 0x0:_0x319740?hn(_0x4cdd03,_0x240373):_0x4cdd03,_0x1eeff8=_0x128756[_0x356883(0x479)]-0x1,_0x5cd7fc;_0x1eeff8>=0x0;_0x1eeff8--)(_0x5cd7fc=_0x128756[_0x1eeff8])&&(_0x1cce39=_0x5cd7fc(_0x1cce39)||_0x1cce39);return _0x1cce39;},we=(_0x2d4a37,_0x4270c2)=>(_0x5247b8,_0x243046)=>_0x4270c2(_0x5247b8,_0x243046,_0x2d4a37);const ln=[_0x4611e8(0x3a4),_0x4611e8(0x421),'image/jpg','image/gif',_0x4611e8(0x25c)],un=0x5*0x400*0x400,dn=_0x4611e8(0x22b),vn='/universer-api/stream/file/upload',Sn=_0x4611e8(0x18c),fn=_0x4611e8(0x45c);function _0x4139(_0x31c8c4,_0x21028e){var _0xcb1874=_0xcb18();return _0x4139=function(_0x413971,_0x39b9b8){_0x413971=_0x413971-0x117;var _0x2e4ad=_0xcb1874[_0x413971];return _0x2e4ad;},_0x4139(_0x31c8c4,_0x21028e);}exports['CollaborationImageIoService']=class{constructor(_0x552de2,_0x183b3b,_0x28cbd2){var _0x17b519=_0x4611e8;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x17b519(0x419))]()),A(this,_0x17b519(0x2e1),this[_0x17b519(0x265)]),A(this,'_imageSourceCache',new Map()),(this[_0x17b519(0x48d)]=_0x552de2,this[_0x17b519(0x290)]=_0x183b3b,this[_0x17b519(0x322)]=_0x28cbd2);}['setWaitCount'](_0x12756f){var _0x32d0e0=_0x4611e8;this['_waitCount']=_0x12756f,this[_0x32d0e0(0x265)][_0x32d0e0(0x244)](_0x12756f);}[_0x4611e8(0x15e)](_0x4ca7b9,_0x41eaf3){var _0x3d245e=_0x4611e8;if(_0x41eaf3===z[_0x3d245e(0x2e9)][_0x3d245e(0x11b)]){const _0x303602=new Image();return _0x303602[_0x3d245e(0x183)]=_0x4ca7b9,_0x303602;}return this[_0x3d245e(0x38f)][_0x3d245e(0x306)](_0x4ca7b9);}[_0x4611e8(0x1a0)](_0x12a255,_0x35f5a3,_0x567d48){var _0x332e91=_0x4611e8;_0x35f5a3===z['ImageSourceType'][_0x332e91(0x11b)]||_0x567d48==null||this[_0x332e91(0x38f)][_0x332e91(0x175)](_0x12a255,_0x567d48);}async[_0x4611e8(0x34b)](_0x1d38b9){var _0x16de11=_0x4611e8;try{const _0x2bc858=this['_replaceFileID'](this[_0x16de11(0x352)](),''+_0x1d38b9),_0x54e63c=(await this[_0x16de11(0x48d)][_0x16de11(0x306)](_0x2bc858))[_0x16de11(0x25f)];if(_0x54e63c[_0x16de11(0x2b8)]&&_0x54e63c[_0x16de11(0x2b8)][_0x16de11(0x220)]===gt['OK']){const _0x2bcb66=new URL(_0x54e63c[_0x16de11(0x30c)],this[_0x16de11(0x3fa)]())[_0x16de11(0x21d)]();return Promise[_0x16de11(0x2fc)](_0x2bcb66);}return Promise[_0x16de11(0x494)](_0x54e63c[_0x16de11(0x2b8)]);}catch(_0x1c35b8){return Promise[_0x16de11(0x494)](_0x1c35b8);}}async[_0x4611e8(0x39b)](_0x2fcbd9){var _0x362620=_0x4611e8;let _0x172b27='';if(!ln[_0x362620(0x168)](_0x2fcbd9['type']))return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)][_0x362620(0x160)]));if(_0x2fcbd9[_0x362620(0x226)]>un)return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x587865=new FormData();_0x587865[_0x362620(0x351)](_0x362620(0x283),_0x2fcbd9);const _0x382a5a=this[_0x362620(0x322)][_0x362620(0x275)](),_0xedcf67=_0x382a5a==null?void 0x0:_0x382a5a['getUnitId']();if(!_0xedcf67)throw new Error('unitId\x20is\x20not\x20found');const _0x3bfccc=this[_0x362620(0x2df)]()+_0x362620(0x42e)+_0x2fcbd9[_0x362620(0x226)][_0x362620(0x21d)]()+_0x362620(0x293)+Et[_0x362620(0x2b2)]+'&assign='+encodeURIComponent(_0xedcf67),_0x79da58={'body':_0x587865},_0x18b210=(await this[_0x362620(0x48d)][_0x362620(0x12a)](_0x3bfccc,_0x79da58))[_0x362620(0x25f)];if(typeof _0x18b210[_0x362620(0x129)]!=_0x362620(0x203))return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)][_0x362620(0x39f)]));_0x172b27=_0x18b210[_0x362620(0x129)];}catch{return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)]['ERROR_IMAGE']));}return new Promise((_0x30c89b,_0x3a1528)=>{const _0x3c2b5d=new FileReader();_0x3c2b5d['readAsDataURL'](_0x2fcbd9),_0x3c2b5d['onload']=_0x142327=>{var _0x5e834e=_0x4139,_0x130df0;const _0x1661b9=(_0x130df0=_0x142327[_0x5e834e(0x264)])==null?void 0x0:_0x130df0[_0x5e834e(0x16d)];if(_0x1661b9==null){this['_decreaseWaiting'](),_0x3a1528(new Error(z[_0x5e834e(0x40b)]['ERROR_IMAGE']));return;}const _0x8b61ae=a[_0x5e834e(0x18f)][_0x5e834e(0x3d6)](0x6);_0x30c89b({'imageId':_0x8b61ae,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x172b27,'base64Cache':_0x1661b9,'status':z[_0x5e834e(0x40b)]['SUCCUSS']}),this[_0x5e834e(0x19e)]();};});}['_getUploadFileURL'](){var _0x3e8a11=_0x4611e8,_0x22fde2,_0x1c38aa;const _0x418a37=this['_configService'][_0x3e8a11(0x2a9)](dn),_0x5071ef=this[_0x3e8a11(0x290)][_0x3e8a11(0x2a9)](G);return(_0x1c38aa=(_0x22fde2=_0x5071ef==null?void 0x0:_0x5071ef[_0x3e8a11(0x23d)])!=null?_0x22fde2:_0x418a37)!=null?_0x1c38aa:vn;}[_0x4611e8(0x352)](){var _0x59452b=_0x4611e8,_0x4f86c5,_0xddf5a7;const _0x4c5d60=this['_configService'][_0x59452b(0x2a9)](Sn),_0x8c754c=this[_0x59452b(0x290)]['getConfig'](G);return(_0xddf5a7=(_0x4f86c5=_0x8c754c==null?void 0x0:_0x8c754c[_0x59452b(0x299)])!=null?_0x4f86c5:_0x4c5d60)!=null?_0xddf5a7:fn;}[_0x4611e8(0x3fa)](){var _0x3fdd5c=_0x4611e8,_0x454cca;const _0x3e9163=this[_0x3fdd5c(0x290)][_0x3fdd5c(0x2a9)](G);return(_0x454cca=_0x3e9163==null?void 0x0:_0x3e9163[_0x3fdd5c(0x30a)])!=null?_0x454cca:location[_0x3fdd5c(0x365)];}[_0x4611e8(0x231)](_0x49d57d,_0x24ccc1){var _0x41abe1=_0x4611e8;return _0x49d57d[_0x41abe1(0x440)](_0x41abe1(0x118),_0x24ccc1);}[_0x4611e8(0x19e)](){var _0x49fe25=_0x4611e8;this[_0x49fe25(0x27e)]-=0x1,this[_0x49fe25(0x265)][_0x49fe25(0x244)](this[_0x49fe25(0x27e)]);}},exports[_0x4611e8(0x1c9)]=_n([we(0x0,a['Inject'](K[_0x4611e8(0x444)])),we(0x1,a['IConfigService']),we(0x2,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x227)]))],exports[_0x4611e8(0x1c9)]);var In=Object[_0x4611e8(0x1b5)],pn=(_0x112e03,_0x1f6b33,_0x1286f2,_0x5eff80)=>{var _0x4a3018=_0x4611e8;for(var _0x455b4b=_0x5eff80>0x1?void 0x0:_0x5eff80?In(_0x1f6b33,_0x1286f2):_0x1f6b33,_0x2f9dac=_0x112e03[_0x4a3018(0x479)]-0x1,_0x4e94b7;_0x2f9dac>=0x0;_0x2f9dac--)(_0x4e94b7=_0x112e03[_0x2f9dac])&&(_0x455b4b=_0x4e94b7(_0x455b4b)||_0x455b4b);return _0x455b4b;},at=(_0x4f5c63,_0x38d234)=>(_0x551e74,_0x98f3ee)=>_0x38d234(_0x551e74,_0x98f3ee,_0x4f5c63);const gn='/universer-api/authz';exports[_0x4611e8(0x341)]=class{constructor(_0x2c7b6c,_0x5399a4){var _0x3d3eab=_0x4611e8;this[_0x3d3eab(0x290)]=_0x2c7b6c,this[_0x3d3eab(0x37c)]=_0x5399a4;}['_getAPIPrefixPath'](){var _0x3c16f9=_0x4611e8,_0x35d464,_0x1a7568;const _0x13e5e6=this[_0x3c16f9(0x290)]['getConfig'](Ve),_0x12f30a=this['_configService']['getConfig'](G);return(_0x1a7568=(_0x35d464=_0x12f30a==null?void 0x0:_0x12f30a['authzUrl'])!=null?_0x35d464:_0x13e5e6)!=null?_0x1a7568:gn;}async[_0x4611e8(0x257)](_0x469270){var _0x17b5a6=_0x4611e8;const _0x46950f=this['_getAPIPrefixPath']()+_0x17b5a6(0x1da);return{'list':[{'title':_0x17b5a6(0x2af),'mentions':(await this[_0x17b5a6(0x37c)][_0x17b5a6(0x306)](_0x46950f,{'params':{'objectID':_0x469270[_0x17b5a6(0x218)],'unitID':_0x469270[_0x17b5a6(0x218)]}}))[_0x17b5a6(0x25f)][_0x17b5a6(0x468)][_0x17b5a6(0x353)](_0x4fb563=>({'objectId':_0x4fb563['id'],'name':_0x4fb563[_0x17b5a6(0x1bc)]['name'],'metadata':{'icon':_0x4fb563[_0x17b5a6(0x1bc)][_0x17b5a6(0x3e6)]},'label':_0x4fb563[_0x17b5a6(0x1bc)][_0x17b5a6(0x443)],'objectType':a['MentionType'][_0x17b5a6(0x170)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x4611e8(0x341)]=pn([at(0x0,a['Inject'](a[_0x4611e8(0x335)])),at(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x403e7a,_0x52799f,_0x32a120,_0x2f6b4a)=>{for(var _0x2bf5e9=_0x2f6b4a>0x1?void 0x0:_0x2f6b4a?En(_0x52799f,_0x32a120):_0x52799f,_0x4378ce=_0x403e7a['length']-0x1,_0x435151;_0x4378ce>=0x0;_0x4378ce--)(_0x435151=_0x403e7a[_0x4378ce])&&(_0x2bf5e9=_0x435151(_0x2bf5e9)||_0x2bf5e9);return _0x2bf5e9;},le=(_0x5f39dc,_0x1a25eb)=>(_0xf612a8,_0x38e96b)=>_0x1a25eb(_0xf612a8,_0x38e96b,_0x5f39dc);let De=class extends a[_0x4611e8(0x135)]{constructor(_0x3e0188,_0x407101,_0xba22dc,_0x4bfbbc,_0x349d29){var _0x5c7d49=_0x4611e8;super(),this[_0x5c7d49(0x390)]=_0x3e0188,this['_univerInstanceService']=_0x407101,this[_0x5c7d49(0x2f6)]=_0xba22dc,this[_0x5c7d49(0x1be)]=_0x4bfbbc,this[_0x5c7d49(0x31d)]=_0x349d29,this[_0x5c7d49(0x402)](),this['_initCloseConn']();}[_0x4611e8(0x3c8)](){var _0x571958=_0x4611e8;const _0x3e2974=async _0x4092b6=>{var _0x8f9cc2=_0x4139;(await this[_0x8f9cc2(0x1be)][_0x8f9cc2(0x27d)](_0x4092b6))[_0x8f9cc2(0x1fc)][_0x8f9cc2(0x121)](V[_0x8f9cc2(0x266)](_0x1ca439=>_0x1ca439[_0x8f9cc2(0x126)]===p['CollaborationEvent'][_0x8f9cc2(0x2c5)]),V[_0x8f9cc2(0x11d)](this[_0x8f9cc2(0x1f9)]))[_0x8f9cc2(0x46a)](_0xac8511=>{var _0x548536=_0x8f9cc2;const _0x49e6b1=_0xac8511,{reason:_0x908b34}=_0x49e6b1[_0x548536(0x33e)];this['_collaborationUIEventService'][_0x548536(0x14e)]({'id':Z[_0x548536(0x38d)],'data':_0x908b34}),this[_0x548536(0x2f6)]['updatePermissionPoint'](new X[(_0x548536(0x473))](_0x4092b6)['id'],!0x1),this[_0x548536(0x1be)]['closeSession'](_0x4092b6);});};$['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x571958(0x31f)]['UNIVER_SHEET']),this[_0x571958(0x322)][_0x571958(0x32d)](a[_0x571958(0x31f)]['UNIVER_DOC']))['pipe'](V[_0x571958(0x353)](_0x3a8700=>_0x3a8700[_0x571958(0x13b)]()),V['filter'](_0x32e7d7=>!a[_0x571958(0x3af)](_0x32e7d7)),V[_0x571958(0x11d)](this[_0x571958(0x1f9)]))['subscribe'](_0x3b22ee=>{_0x3e2974(_0x3b22ee);});}[_0x4611e8(0x402)](){var _0x5bdff9=_0x4611e8;const _0x1672cd=async _0x4467ea=>{var _0x5110f2=_0x4139;const _0x5cda06=await this[_0x5110f2(0x1be)][_0x5110f2(0x27d)](_0x4467ea),_0x1c43cc=this[_0x5110f2(0x390)][_0x5110f2(0x306)](X[_0x5110f2(0x314)]);_0x5cda06[_0x5110f2(0x1fc)][_0x5110f2(0x121)](V[_0x5110f2(0x266)](_0x11680e=>_0x11680e[_0x5110f2(0x126)]===p['CollaborationEvent'][_0x5110f2(0x3b0)]),V[_0x5110f2(0x11d)](this[_0x5110f2(0x1f9)]))[_0x5110f2(0x46a)](_0x21dadc=>{var _0x35cc8e=_0x5110f2;const _0x1819a3=_0x21dadc,{objectId:_0x23635}=_0x1819a3[_0x35cc8e(0x33e)];_0x23635===_0x4467ea?_0x1c43cc[_0x35cc8e(0x2a0)](_0x4467ea):_0x1c43cc[_0x35cc8e(0x31b)](_0x4467ea,_0x23635);});};$[_0x5bdff9(0x2fe)](this[_0x5bdff9(0x322)][_0x5bdff9(0x32d)](a['UniverInstanceType'][_0x5bdff9(0x1c8)]))[_0x5bdff9(0x121)](V[_0x5bdff9(0x353)](_0x11d0c5=>_0x11d0c5[_0x5bdff9(0x13b)]()),V['filter'](_0x2c5ee5=>!a[_0x5bdff9(0x3af)](_0x2c5ee5)),V[_0x5bdff9(0x11d)](this[_0x5bdff9(0x1f9)]))[_0x5bdff9(0x46a)](_0x341379=>{_0x1672cd(_0x341379);});}};De=mn([le(0x0,a[_0x4611e8(0x1dd)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x4611e8(0x37e)]),le(0x3,a[_0x4611e8(0x1dd)](exports[_0x4611e8(0x1f8)])),le(0x4,a[_0x4611e8(0x1dd)](ee))],De);var Cn=Object[_0x4611e8(0x1b5)],Tn=(_0x36c40c,_0x46f6c8,_0x3ef639,_0x5da7b8)=>{for(var _0x192939=_0x5da7b8>0x1?void 0x0:_0x5da7b8?Cn(_0x46f6c8,_0x3ef639):_0x46f6c8,_0x1e5fd5=_0x36c40c['length']-0x1,_0x360a2a;_0x1e5fd5>=0x0;_0x1e5fd5--)(_0x360a2a=_0x36c40c[_0x1e5fd5])&&(_0x192939=_0x360a2a(_0x192939)||_0x192939);return _0x192939;},ct=(_0x33a7c1,_0x49efb6)=>(_0x762e21,_0x1b6a54)=>_0x49efb6(_0x762e21,_0x1b6a54,_0x33a7c1);exports['SnapshotServerOverHTTPService']=class{constructor(_0x55d008,_0x3f91b9){var _0x59cfff=_0x4611e8;this[_0x59cfff(0x290)]=_0x55d008,this[_0x59cfff(0x48d)]=_0x3f91b9;}async[_0x4611e8(0x1f2)](_0x335131,_0x24b8d8){var _0x302c19=_0x4611e8,_0x589237;const {unitID:_0x4f0cce,type:_0x2db472,revision:_0x5edbf3=0x0}=_0x24b8d8,_0x43294b=this[_0x302c19(0x15c)]()+'/'+_0x2db472+_0x302c19(0x38c)+_0x4f0cce+_0x302c19(0x43d)+_0x5edbf3,_0x445819=(await this[_0x302c19(0x48d)][_0x302c19(0x306)](_0x43294b))[_0x302c19(0x25f)],_0x4f14fa=(_0x589237=_0x445819[_0x302c19(0x400)])==null?void 0x0:_0x589237[_0x302c19(0x3c3)];if(_0x4f14fa){const _0x40fd05=_0x4f14fa==null?void 0x0:_0x4f14fa[_0x302c19(0x229)],_0x2387f9=p['textEncoder'][_0x302c19(0x119)](p[_0x302c19(0x3c4)](_0x40fd05));_0x4f14fa[_0x302c19(0x229)]=_0x2387f9,Object[_0x302c19(0x251)](_0x4f14fa['sheets'])[_0x302c19(0x333)](([,_0x1e39e7])=>{var _0x4f1d77=_0x302c19;const _0x2f8fec=_0x1e39e7[_0x4f1d77(0x229)],_0x521ae5=p[_0x4f1d77(0x303)][_0x4f1d77(0x119)](p[_0x4f1d77(0x3c4)](_0x2f8fec));_0x1e39e7[_0x4f1d77(0x229)]=_0x521ae5;});}return _0x445819;}async['getSheetBlock'](_0x186bf7,_0x93d3e9){var _0x2b5c91=_0x4611e8;const {unitID:_0x14a2ef,type:_0x3acbfb,blockID:_0x4f813b}=_0x93d3e9,_0x438795=this[_0x2b5c91(0x28e)]()+'/'+_0x3acbfb+_0x2b5c91(0x38c)+_0x14a2ef+_0x2b5c91(0x1e6)+_0x4f813b;return(await this[_0x2b5c91(0x48d)][_0x2b5c91(0x306)](_0x438795))['body'];}async[_0x4611e8(0x141)](_0x1a3e81,_0x28307d){var _0xa049db=_0x4611e8;const {unitID:_0x3817b3,type:_0x5f7adc,blockID:_0x14438b}=_0x28307d,_0x133646=this[_0xa049db(0x28e)]()+_0xa049db(0x1e6)+_0x5f7adc+_0xa049db(0x38c)+_0x3817b3+_0xa049db(0x1e6)+_0x14438b;return(await this[_0xa049db(0x48d)][_0xa049db(0x306)](_0x133646))[_0xa049db(0x25f)];}async[_0x4611e8(0x36a)](_0xe0e74f,_0x4437b9){var _0x3b9405=_0x4611e8;const {unitID:_0x56c4f0,type:_0x3f8a73,from:_0x31caf5,to:_0x1cf13e}=_0x4437b9,_0x337147=this[_0x3b9405(0x28e)]()+'/'+_0x3f8a73+'/unit/'+_0x56c4f0+_0x3b9405(0x3a0)+_0x31caf5+'&to='+_0x1cf13e;return(await this[_0x3b9405(0x48d)][_0x3b9405(0x306)](_0x337147))[_0x3b9405(0x25f)];}['getSnapshotAPIPath'](){var _0x4d8089=_0x4611e8,_0x24d227;return(_0x24d227=this[_0x4d8089(0x290)][_0x4d8089(0x2a9)](lt))!=null?_0x24d227:this[_0x4d8089(0x28e)]();}[_0x4611e8(0x28e)](){var _0x2aae58=_0x4611e8,_0x37215c,_0x9ba294;const _0x14509f=this[_0x2aae58(0x290)][_0x2aae58(0x2a9)](_t),_0x3a0b63=this[_0x2aae58(0x290)]['getConfig'](G);return(_0x9ba294=(_0x37215c=_0x3a0b63==null?void 0x0:_0x3a0b63[_0x2aae58(0x1c4)])!=null?_0x37215c:_0x14509f)!=null?_0x9ba294:wt;}async[_0x4611e8(0x234)](_0x58555c,_0x25d168){var _0x1cfa2a=_0x4611e8;const _0x46730e='/universer-api/snapshot/'+_0x25d168[_0x1cfa2a(0x442)]+_0x1cfa2a(0x38c)+_0x25d168[_0x1cfa2a(0x39e)]+_0x1cfa2a(0x25a);return(await this['_httpService'][_0x1cfa2a(0x306)](_0x46730e,{'params':{'resourceId':JSON[_0x1cfa2a(0x37b)](_0x25d168[_0x1cfa2a(0x395)])}}))[_0x1cfa2a(0x25f)];}[_0x4611e8(0x18d)](){var _0x1a78f9=_0x4611e8;throw new Error(_0x1a78f9(0x15b));}['updateSnapshot'](){var _0x216589=_0x4611e8;throw new Error(_0x216589(0x15b));}[_0x4611e8(0x2d7)](){var _0x4b9e38=_0x4611e8;throw new Error(_0x4b9e38(0x15b));}['saveChangeset'](){var _0x1657a2=_0x4611e8;throw new Error(_0x1657a2(0x15b));}[_0x4611e8(0x316)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4611e8(0x3b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x4611e8(0x474)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],exports[_0x4611e8(0x474)]);var bn=Object[_0x4611e8(0x1b5)],Rn=(_0x17860d,_0x117e8d,_0x2b4b0d,_0x3a841d)=>{var _0x4db5c6=_0x4611e8;for(var _0x21a808=_0x3a841d>0x1?void 0x0:_0x3a841d?bn(_0x117e8d,_0x2b4b0d):_0x117e8d,_0x1fe521=_0x17860d[_0x4db5c6(0x479)]-0x1,_0x53da13;_0x1fe521>=0x0;_0x1fe521--)(_0x53da13=_0x17860d[_0x1fe521])&&(_0x21a808=_0x53da13(_0x21a808)||_0x21a808);return _0x21a808;},ue=(_0x320ac9,_0x45e497)=>(_0x5a8fcc,_0x1dc938)=>_0x45e497(_0x5a8fcc,_0x1dc938,_0x320ac9);exports[_0x4611e8(0x1cf)]=class extends a[_0x4611e8(0x445)]{constructor(_0x25dec3,_0x281f82,_0x329bce,_0x42d048,_0x963659){var _0x12cb4c=_0x4611e8;super(_0x25dec3,_0x281f82,_0x329bce),this[_0x12cb4c(0x2da)]=_0x42d048,this[_0x12cb4c(0x47b)]=_0x963659;}[_0x4611e8(0x1c1)](_0x2666b4,_0x32e5d4){var _0x33dfd8=_0x4611e8;const _0x20e4fe=this[_0x33dfd8(0x26f)](_0x2666b4);if(_0x20e4fe)try{const _0x57cb29=this['_transformStack'](_0x20e4fe,_0x32e5d4);this[_0x33dfd8(0x2d1)](_0x2666b4,_0x57cb29);}catch(_0x25dfd2){this[_0x33dfd8(0x47b)][_0x33dfd8(0x2b8)](_0x33dfd8(0x225),_0x25dfd2),this[_0x33dfd8(0x373)](_0x2666b4);}const _0x467d57=this[_0x33dfd8(0x3ef)](_0x2666b4);if(_0x467d57)try{const _0x165c14=this[_0x33dfd8(0x281)](_0x467d57,_0x32e5d4);this[_0x33dfd8(0x3d4)](_0x2666b4,_0x165c14);}catch(_0x72c04c){this[_0x33dfd8(0x47b)][_0x33dfd8(0x2b8)](_0x72c04c),this[_0x33dfd8(0x137)](_0x2666b4);}}[_0x4611e8(0x373)](_0x4248e4){var _0x17b42e=_0x4611e8;const _0x344b4f=this[_0x17b42e(0x26f)](_0x4248e4);_0x344b4f&&(_0x344b4f[_0x17b42e(0x479)]=0x0,this[_0x17b42e(0x452)]());}[_0x4611e8(0x137)](_0x45bf99){var _0x1fb177=_0x4611e8;const _0x511b7c=this[_0x1fb177(0x3ef)](_0x45bf99);_0x511b7c&&(_0x511b7c[_0x1fb177(0x479)]=0x0,this[_0x1fb177(0x452)]());}[_0x4611e8(0x2d1)](_0x49c098,_0x3012aa){var _0xf37de1=_0x4611e8;this['_undoStacks'][_0xf37de1(0x175)](_0x49c098,_0x3012aa),this[_0xf37de1(0x452)]();}[_0x4611e8(0x3d4)](_0x45a8c4,_0x3d589e){var _0xce7ad9=_0x4611e8;this[_0xce7ad9(0x35c)][_0xce7ad9(0x175)](_0x45a8c4,_0x3d589e),this['_updateStatus']();}['_transformStack'](_0x1bb829,_0x49f069){var _0x15e36f=_0x4611e8;const _0x379cb1=[];let _0x45ccfd=_0x49f069,_0x4a3500=_0x49f069;for(let _0xeb961e=_0x1bb829[_0x15e36f(0x479)]-0x1;_0xeb961e>=0x0;_0xeb961e--){const {unitID:_0x55fb84,undoMutations:_0x37038b,redoMutations:_0x49230e}=_0x1bb829[_0xeb961e],_0x586bb1=this[_0x15e36f(0x2da)][_0x15e36f(0x16c)](_0x45ccfd,_0x37038b),_0x57abb6=this[_0x15e36f(0x2da)][_0x15e36f(0x16c)](_0x4a3500,_0x49230e);if(p[_0x15e36f(0x1a8)](_0x586bb1)||p[_0x15e36f(0x1a8)](_0x57abb6)){this[_0x15e36f(0x47b)][_0x15e36f(0x2b8)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x586bb1,_0x57abb6);break;}_0x45ccfd=_0x586bb1[_0x15e36f(0x2de)],_0x4a3500=_0x57abb6['c1Prime'],_0x379cb1[_0x15e36f(0x475)]({'unitID':_0x55fb84,'undoMutations':_0x586bb1[_0x15e36f(0x428)],'redoMutations':_0x57abb6[_0x15e36f(0x428)]});}return _0x379cb1['reverse']();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x4611e8(0x227)]),ue(0x1,a[_0x4611e8(0x359)]),ue(0x2,a[_0x4611e8(0x1a1)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports[_0x4611e8(0x1cf)]);var On=Object[_0x4611e8(0x43f)],yn=Object[_0x4611e8(0x1b5)],Nn=(_0x18f762,_0x394411,_0x40e936)=>_0x394411 in _0x18f762?On(_0x18f762,_0x394411,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40e936}):_0x18f762[_0x394411]=_0x40e936,Dn=(_0x34d00e,_0x1734fe,_0x52e265,_0x277465)=>{var _0x4e898a=_0x4611e8;for(var _0x5f31d5=_0x277465>0x1?void 0x0:_0x277465?yn(_0x1734fe,_0x52e265):_0x1734fe,_0x2e8198=_0x34d00e[_0x4e898a(0x479)]-0x1,_0x273a04;_0x2e8198>=0x0;_0x2e8198--)(_0x273a04=_0x34d00e[_0x2e8198])&&(_0x5f31d5=_0x273a04(_0x5f31d5)||_0x5f31d5);return _0x5f31d5;},Me=(_0x116b20,_0x43ed33)=>(_0x4d0045,_0x14775f)=>_0x43ed33(_0x4d0045,_0x14775f,_0x116b20),Un=(_0x28c906,_0xa72d02,_0x31eaf0)=>Nn(_0x28c906,_0xa72d02+'',_0x31eaf0);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x4611e8(0x216)]=class extends a[_0x4611e8(0x2fa)]{constructor(_0x5f1740,_0x220902,_0x1ac6cf,_0x4520d8){var _0x567238=_0x4611e8;super(),A(this,_0x567238(0x1c5)),(this['_logService']=_0x220902,this[_0x567238(0x390)]=_0x1ac6cf,this[_0x567238(0x290)]=_0x4520d8);const {..._0x2baef1}=a['merge']({},Kt,_0x5f1740);if(!_0x2baef1[_0x567238(0x40e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x567238(0x1c5)]=_0x2baef1,this[_0x567238(0x290)][_0x567238(0x308)](G,_0x2baef1);}[_0x4611e8(0x457)](){var _0x50c02c=_0x4611e8;this[_0x50c02c(0x447)](),this[_0x50c02c(0x493)]();}[_0x4611e8(0x447)](){var _0x1adad3=_0x4611e8,_0x1067ed,_0xdd312c;this['_injector'][_0x1adad3(0x384)](a[_0x1adad3(0x20d)])&&this['_logService']['error'](_0x1adad3(0x486),_0x1adad3(0x1d8));const _0x2b8169=a[_0x1adad3(0x404)]([[a['IUndoRedoService'],{'useClass':exports[_0x1adad3(0x1cf)]}],[exports[_0x1adad3(0x1f8)]],[exports['MemberService']],[exports[_0x1adad3(0x422)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x1adad3(0x1c5)]['socketService']}],[p[_0x1adad3(0x413)],{'useClass':exports[_0x1adad3(0x474)]}],[a[_0x1adad3(0x2ef)],{'useClass':exports[_0x1adad3(0x1e2)]}],[z[_0x1adad3(0x26a)],{'useClass':exports['CollaborationImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x1adad3(0x341)]}],[exports['CollaborationController']],[xe]],(_0x1067ed=this[_0x1adad3(0x1c5)])==null?void 0x0:_0x1067ed['override']);if(!((_0xdd312c=this['_config'])!=null&&_0xdd312c['enableSingleActiveInstanceLock'])){const _0x2522f9=_0x2b8169[_0x1adad3(0x2ee)](([_0x19ff7c])=>_0x19ff7c===de);_0x2522f9!==-0x1&&_0x2b8169[_0x1adad3(0x3ea)](_0x2522f9,0x1);}a[_0x1adad3(0x435)](this[_0x1adad3(0x390)],_0x2b8169);}[_0x4611e8(0x493)](){var _0x1a9ba6=_0x4611e8,_0x19a007,_0x47cdf4,_0x20078a;this[_0x1a9ba6(0x390)][_0x1a9ba6(0x306)](K[_0x1a9ba6(0x444)])[_0x1a9ba6(0x489)]({'priority':0x14,'interceptor':K[_0x1a9ba6(0x233)]({'maxParallel':0x6})}),(_0x19a007=this[_0x1a9ba6(0x1c5)])!=null&&_0x19a007[_0x1a9ba6(0x24c)]||(_0x47cdf4=this[_0x1a9ba6(0x390)][_0x1a9ba6(0x306)](q,a[_0x1a9ba6(0x1db)][_0x1a9ba6(0x192)]))==null||_0x47cdf4[_0x1a9ba6(0x375)](),(_0x20078a=this[_0x1a9ba6(0x1c5)])!=null&&_0x20078a['enableAuthServer']&&a[_0x1a9ba6(0x325)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x1a9ba6(0x390)],[[Ne],[exports[_0x1a9ba6(0x2d0)]],[De]]);}},Un(exports[_0x4611e8(0x216)],'pluginName',An),exports[_0x4611e8(0x216)]=Dn([a[_0x4611e8(0x47d)](p[_0x4611e8(0x3cb)],K['UniverNetworkPlugin']),Me(0x1,a[_0x4611e8(0x2a6)]),Me(0x2,a['Inject'](a[_0x4611e8(0x425)])),Me(0x3,a[_0x4611e8(0x335)])],exports[_0x4611e8(0x216)]),exports[_0x4611e8(0x3a9)]=Ve,exports[_0x4611e8(0x1f0)]=G,exports[_0x4611e8(0x3e5)]=It,exports[_0x4611e8(0x401)]=ut,exports[_0x4611e8(0x1fd)]=Be,exports[_0x4611e8(0x31e)]=Z,exports[_0x4611e8(0x19b)]=ee,exports[_0x4611e8(0x1cd)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports[_0x4611e8(0x342)]=kt,exports[_0x4611e8(0x27b)]=vt,exports[_0x4611e8(0x14a)]=ke,exports[_0x4611e8(0x3e8)]=He,exports[_0x4611e8(0x454)]=q,exports[_0x4611e8(0x3da)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x4611e8(0x26e)]=Bt,exports['LOGIN_URL_KEY']=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports[_0x4611e8(0x28a)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x4611e8(0x1ad)]=_t,exports[_0x4611e8(0x1a2)]=lt,exports[_0x4611e8(0x172)]=re,exports[_0x4611e8(0x1bb)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x4611e8(0x30d)]=oi,exports[_0x4611e8(0x16b)]=Tt;