@multiversx/sdk-dapp 2.6.0 → 2.6.2

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.
Files changed (46) hide show
  1. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  2. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  3. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  4. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  5. package/UI/SignTransactionsModals/index.js +1 -1
  6. package/UI/TokenDetails/index.js +1 -1
  7. package/UI/index.js +1 -1
  8. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  9. package/UI/ledger/LedgerLoginContainer/AddressRow.d.ts +2 -1
  10. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  11. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  12. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  13. package/UI/ledger/index.js +1 -1
  14. package/UI/pages/UnlockPage/index.js +1 -1
  15. package/UI/pages/index.js +1 -1
  16. package/__chunks__/{chunk-6KRG4LM3.js → chunk-32E6BHE7.js} +2 -2
  17. package/__chunks__/chunk-5JEI5B7T.js +2 -0
  18. package/__chunks__/chunk-5WVY343F.js +2 -0
  19. package/__chunks__/chunk-AOKD6R54.js +2 -0
  20. package/__chunks__/{chunk-FWDSY2GW.js → chunk-BH62KDKX.js} +2 -2
  21. package/__chunks__/chunk-DIO2MOTI.js +2 -0
  22. package/__chunks__/{chunk-QHPKVIYS.js → chunk-HQ3NIAYD.js} +2 -2
  23. package/__chunks__/{chunk-WVYISK4S.js → chunk-LR2EWIF5.js} +2 -2
  24. package/__chunks__/{chunk-4EYJORWI.js → chunk-R7TIYVAO.js} +2 -2
  25. package/__chunks__/{chunk-ELWIMVBK.js → chunk-UHLFOFON.js} +2 -2
  26. package/__chunks__/chunk-VIT4WLW2.js +2 -0
  27. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +23 -23
  28. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +6 -6
  29. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +8 -8
  30. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +8 -8
  31. package/__commonjs/UI/SignTransactionsModals/index.js +23 -23
  32. package/__commonjs/UI/TokenDetails/index.js +4 -4
  33. package/__commonjs/UI/index.js +93 -93
  34. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +39 -39
  35. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +124 -124
  36. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +33 -33
  37. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +38 -38
  38. package/__commonjs/UI/ledger/index.js +39 -39
  39. package/__commonjs/UI/pages/UnlockPage/index.js +40 -40
  40. package/__commonjs/UI/pages/index.js +40 -40
  41. package/package.json +1 -1
  42. package/__chunks__/chunk-LZW5J2XF.js +0 -2
  43. package/__chunks__/chunk-QFSWBLGO.js +0 -2
  44. package/__chunks__/chunk-TLT7GLC4.js +0 -2
  45. package/__chunks__/chunk-WNPYLDRK.js +0 -2
  46. package/__chunks__/chunk-ZRZ3IURE.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var ic=Object.create;var Po=Object.defineProperty,sc=Object.defineProperties,cc=Object.getOwnPropertyDescriptor,pc=Object.getOwnPropertyDescriptors,dc=Object.getOwnPropertyNames,on=Object.getOwnPropertySymbols,mc=Object.getPrototypeOf,Yn=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable;var Tr=(e,o,n)=>o in e?Po(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,h=(e,o)=>{for(var n in o||(o={}))Yn.call(o,n)&&Tr(e,n,o[n]);if(on)for(var n of on(o))br.call(o,n)&&Tr(e,n,o[n]);return e},A=(e,o)=>sc(e,pc(o));var nn=(e,o)=>{var n={};for(var r in e)Yn.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&on)for(var r of on(e))o.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};var b=(e,o)=>()=>(e&&(o=e(e=0)),o);var tn=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),We=(e,o)=>{for(var n in o)Po(e,n,{get:o[n],enumerable:!0})},Sr=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of dc(o))!Yn.call(e,c)&&c!==n&&Po(e,c,{get:()=>o[c],enumerable:!(r=cc(o,c))||r.enumerable});return e};var y=(e,o,n)=>(n=e!=null?ic(mc(e)):{},Sr(o||!e||!e.__esModule?Po(n,"default",{value:e,enumerable:!0}):n,e)),Mo=e=>Sr(Po({},"__esModule",{value:!0}),e);var S=(e,o,n)=>new Promise((r,c)=>{var p=m=>{try{_(n.next(m))}catch(g){c(g)}},d=m=>{try{_(n.throw(m))}catch(g){c(g)}},_=m=>m.done?r(m.value):Promise.resolve(m.value).then(p,d);_((n=n.apply(e,o)).next())});var Ar=tn(rn=>{"use strict";t();rn.byteLength=_c;rn.toByteArray=uc;rn.fromByteArray=hc;var ge=[],se=[],lc=typeof Uint8Array!="undefined"?Uint8Array:Array,Zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Ge=0,wr=Zn.length;Ge<wr;++Ge)ge[Ge]=Zn[Ge],se[Zn.charCodeAt(Ge)]=Ge;var Ge,wr;se["-".charCodeAt(0)]=62;se["_".charCodeAt(0)]=63;function vr(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function _c(e){var o=vr(e),n=o[0],r=o[1];return(n+r)*3/4-r}function gc(e,o,n){return(o+n)*3/4-n}function uc(e){var o,n=vr(e),r=n[0],c=n[1],p=new lc(gc(e,r,c)),d=0,_=c>0?r-4:r,m;for(m=0;m<_;m+=4)o=se[e.charCodeAt(m)]<<18|se[e.charCodeAt(m+1)]<<12|se[e.charCodeAt(m+2)]<<6|se[e.charCodeAt(m+3)],p[d++]=o>>16&255,p[d++]=o>>8&255,p[d++]=o&255;return c===2&&(o=se[e.charCodeAt(m)]<<2|se[e.charCodeAt(m+1)]>>4,p[d++]=o&255),c===1&&(o=se[e.charCodeAt(m)]<<10|se[e.charCodeAt(m+1)]<<4|se[e.charCodeAt(m+2)]>>2,p[d++]=o>>8&255,p[d++]=o&255),p}function fc(e){return ge[e>>18&63]+ge[e>>12&63]+ge[e>>6&63]+ge[e&63]}function yc(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(fc(r));return c.join("")}function hc(e){for(var o,n=e.length,r=n%3,c=[],p=16383,d=0,_=n-r;d<_;d+=p)c.push(yc(e,d,d+p>_?_:d+p));return r===1?(o=e[n-1],c.push(ge[o>>2]+ge[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(ge[o>>10]+ge[o>>4&63]+ge[o<<2&63]+"=")),c.join("")}});var kr=tn(Jn=>{t();Jn.read=function(e,o,n,r,c){var p,d,_=c*8-r-1,m=(1<<_)-1,g=m>>1,u=-7,f=n?c-1:0,T=n?-1:1,I=e[o+f];for(f+=T,p=I&(1<<-u)-1,I>>=-u,u+=_;u>0;p=p*256+e[o+f],f+=T,u-=8);for(d=p&(1<<-u)-1,p>>=-u,u+=r;u>0;d=d*256+e[o+f],f+=T,u-=8);if(p===0)p=1-g;else{if(p===m)return d?NaN:(I?-1:1)*(1/0);d=d+Math.pow(2,r),p=p-g}return(I?-1:1)*d*Math.pow(2,p-r)};Jn.write=function(e,o,n,r,c,p){var d,_,m,g=p*8-c-1,u=(1<<g)-1,f=u>>1,T=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=r?0:p-1,w=r?1:-1,k=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,d=u):(d=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-d))<1&&(d--,m*=2),d+f>=1?o+=T/m:o+=T*Math.pow(2,1-f),o*m>=2&&(d++,m/=2),d+f>=u?(_=0,d=u):d+f>=1?(_=(o*m-1)*Math.pow(2,c),d=d+f):(_=o*Math.pow(2,f-1)*Math.pow(2,c),d=0));c>=8;e[n+I]=_&255,I+=w,_/=256,c-=8);for(d=d<<c|_,g+=c;g>0;e[n+I]=d&255,I+=w,d/=256,g-=8);e[n+I-w]|=k*128}});var Ur=tn(io=>{"use strict";t();var Qn=Ar(),ao=kr(),Cr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;io.Buffer=l;io.SlowBuffer=vc;io.INSPECT_MAX_BYTES=50;var an=2147483647;io.kMaxLength=an;l.TYPED_ARRAY_SUPPORT=xc();!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function xc(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function be(e){if(e>an)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tt(e)}return Nr(e,o,n)}l.poolSize=8192;function Nr(e,o,n){if(typeof e=="string")return bc(e,o);if(ArrayBuffer.isView(e))return Sc(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ue(e,ArrayBuffer)||e&&ue(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ue(e,SharedArrayBuffer)||e&&ue(e.buffer,SharedArrayBuffer)))return ot(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return l.from(r,o,n);var c=wc(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,n){return Nr(e,o,n)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Er(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Tc(e,o,n){return Er(e),e<=0?be(e):o!==void 0?typeof n=="string"?be(e).fill(o,n):be(e).fill(o):be(e)}l.alloc=function(e,o,n){return Tc(e,o,n)};function tt(e){return Er(e),be(e<0?0:rt(e)|0)}l.allocUnsafe=function(e){return tt(e)};l.allocUnsafeSlow=function(e){return tt(e)};function bc(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Dr(e,o)|0,r=be(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function et(e){for(var o=e.length<0?0:rt(e.length)|0,n=be(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function Sc(e){if(ue(e,Uint8Array)){var o=new Uint8Array(e);return ot(o.buffer,o.byteOffset,o.byteLength)}return et(e)}function ot(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,l.prototype),r}function wc(e){if(l.isBuffer(e)){var o=rt(e.length)|0,n=be(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||at(e.length)?be(0):et(e);if(e.type==="Buffer"&&Array.isArray(e.data))return et(e.data)}function rt(e){if(e>=an)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+an.toString(16)+" bytes");return e|0}function vc(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,n){if(ue(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ue(n,Uint8Array)&&(n=l.from(n,n.offset,n.byteLength)),!l.isBuffer(o)||!l.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,d=Math.min(r,c);p<d;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=l.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var d=o[r];if(ue(d,Uint8Array))p+d.length>c.length?l.from(d).copy(c,p):Uint8Array.prototype.set.call(c,d,p);else if(l.isBuffer(d))d.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=d.length}return c};function Dr(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ue(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Fr(e).length;default:if(c)return r?-1:nt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Dr;function Ac(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Rc(this,o,n);case"utf8":case"utf-8":return Mr(this,o,n);case"ascii":return Pc(this,o,n);case"latin1":case"binary":return Mc(this,o,n);case"base64":return Ec(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oc(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}l.prototype._isBuffer=!0;function He(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)He(this,n,n+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)He(this,n,n+3),He(this,n+1,n+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)He(this,n,n+7),He(this,n+1,n+6),He(this,n+2,n+5),He(this,n+3,n+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Mr(this,0,o):Ac.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",n=io.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Cr&&(l.prototype[Cr]=l.prototype.inspect);l.prototype.compare=function(o,n,r,c,p){if(ue(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var d=p-c,_=r-n,m=Math.min(d,_),g=this.slice(c,p),u=o.slice(n,r),f=0;f<m;++f)if(g[f]!==u[f]){d=g[f],_=u[f];break}return d<_?-1:_<d?1:0};function Pr(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,at(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=l.from(o,r)),l.isBuffer(o))return o.length===0?-1:Ir(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ir(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function Ir(e,o,n,r,c){var p=1,d=e.length,_=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,d/=2,_/=2,n/=2}function m(I,w){return p===1?I[w]:I.readUInt16BE(w*p)}var g;if(c){var u=-1;for(g=n;g<d;g++)if(m(e,g)===m(o,u===-1?0:g-u)){if(u===-1&&(u=g),g-u+1===_)return u*p}else u!==-1&&(g-=g-u),u=-1}else for(n+_>d&&(n=d-_),g=n;g>=0;g--){for(var f=!0,T=0;T<_;T++)if(m(e,g+T)!==m(o,T)){f=!1;break}if(f)return g}return-1}l.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};l.prototype.indexOf=function(o,n,r){return Pr(this,o,n,r,!0)};l.prototype.lastIndexOf=function(o,n,r){return Pr(this,o,n,r,!1)};function kc(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var d=0;d<r;++d){var _=parseInt(o.substr(d*2,2),16);if(at(_))return d;e[n+d]=_}return d}function Cc(e,o,n,r){return sn(nt(o,e.length-n),e,n,r)}function Ic(e,o,n,r){return sn(Uc(o),e,n,r)}function Lc(e,o,n,r){return sn(Fr(o),e,n,r)}function Nc(e,o,n,r){return sn(Wc(o,e.length-n),e,n,r)}l.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var d=!1;;)switch(c){case"hex":return kc(this,o,n,r);case"utf8":case"utf-8":return Cc(this,o,n,r);case"ascii":case"latin1":case"binary":return Ic(this,o,n,r);case"base64":return Lc(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nc(this,o,n,r);default:if(d)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),d=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ec(e,o,n){return o===0&&n===e.length?Qn.fromByteArray(e):Qn.fromByteArray(e.slice(o,n))}function Mr(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],d=null,_=p>239?4:p>223?3:p>191?2:1;if(c+_<=n){var m,g,u,f;switch(_){case 1:p<128&&(d=p);break;case 2:m=e[c+1],(m&192)===128&&(f=(p&31)<<6|m&63,f>127&&(d=f));break;case 3:m=e[c+1],g=e[c+2],(m&192)===128&&(g&192)===128&&(f=(p&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(d=f));break;case 4:m=e[c+1],g=e[c+2],u=e[c+3],(m&192)===128&&(g&192)===128&&(u&192)===128&&(f=(p&15)<<18|(m&63)<<12|(g&63)<<6|u&63,f>65535&&f<1114112&&(d=f))}}d===null?(d=65533,_=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|d&1023),r.push(d),c+=_}return Dc(r)}var Lr=4096;function Dc(e){var o=e.length;if(o<=Lr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Lr));return n}function Pc(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function Mc(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function Rc(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Gc[e[p]];return c}function Oc(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}l.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,l.prototype),c};function H(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||H(o,n,this.length);for(var c=this[o],p=1,d=0;++d<n&&(p*=256);)c+=this[o+d]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||H(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,n){return o=o>>>0,n||H(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||H(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||H(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||H(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||H(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||H(o,n,this.length);for(var c=this[o],p=1,d=0;++d<n&&(p*=256);)c+=this[o+d]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};l.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||H(o,n,this.length);for(var c=n,p=1,d=this[o+--c];c>0&&(p*=256);)d+=this[o+--c]*p;return p*=128,d>=p&&(d-=Math.pow(2,8*n)),d};l.prototype.readInt8=function(o,n){return o=o>>>0,n||H(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,n){o=o>>>0,n||H(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};l.prototype.readInt16BE=function(o,n){o=o>>>0,n||H(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};l.prototype.readInt32LE=function(o,n){return o=o>>>0,n||H(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,n){return o=o>>>0,n||H(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,n){return o=o>>>0,n||H(o,4,this.length),ao.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,n){return o=o>>>0,n||H(o,4,this.length),ao.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||H(o,8,this.length),ao.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||H(o,8,this.length),ao.read(this,o,!1,52,8)};function ee(e,o,n,r,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ee(this,o,n,r,p,0)}var d=1,_=0;for(this[n]=o&255;++_<r&&(d*=256);)this[n+_]=o/d&255;return n+r};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ee(this,o,n,r,p,0)}var d=r-1,_=1;for(this[n+d]=o&255;--d>=0&&(_*=256);)this[n+d]=o/_&255;return n+r};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,1,255,0),this[n]=o&255,n+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};l.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ee(this,o,n,r,p-1,-p)}var d=0,_=1,m=0;for(this[n]=o&255;++d<r&&(_*=256);)o<0&&m===0&&this[n+d-1]!==0&&(m=1),this[n+d]=(o/_>>0)-m&255;return n+r};l.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ee(this,o,n,r,p-1,-p)}var d=r-1,_=1,m=0;for(this[n+d]=o&255;--d>=0&&(_*=256);)o<0&&m===0&&this[n+d+1]!==0&&(m=1),this[n+d]=(o/_>>0)-m&255;return n+r};l.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};l.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};l.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};l.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};l.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ee(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Rr(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Or(e,o,n,r,c){return o=+o,n=n>>>0,c||Rr(e,o,n,4,34028234663852886e22,-34028234663852886e22),ao.write(e,o,n,r,23,4),n+4}l.prototype.writeFloatLE=function(o,n,r){return Or(this,o,n,!0,r)};l.prototype.writeFloatBE=function(o,n,r){return Or(this,o,n,!1,r)};function Br(e,o,n,r,c){return o=+o,n=n>>>0,c||Rr(e,o,n,8,17976931348623157e292,-17976931348623157e292),ao.write(e,o,n,r,52,8),n+8}l.prototype.writeDoubleLE=function(o,n,r){return Br(this,o,n,!0,r)};l.prototype.writeDoubleBE=function(o,n,r){return Br(this,o,n,!1,r)};l.prototype.copy=function(o,n,r,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};l.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var d;if(typeof o=="number")for(d=n;d<r;++d)this[d]=o;else{var _=l.isBuffer(o)?o:l.from(o,c),m=_.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(d=0;d<r-n;++d)this[d+n]=_[d%m]}return this};var Bc=/[^+/0-9A-Za-z-_]/g;function Fc(e){if(e=e.split("=")[0],e=e.trim().replace(Bc,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nt(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],d=0;d<r;++d){if(n=e.charCodeAt(d),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(d+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Uc(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Wc(e,o){for(var n,r,c,p=[],d=0;d<e.length&&!((o-=2)<0);++d)n=e.charCodeAt(d),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function Fr(e){return Qn.toByteArray(Fc(e))}function sn(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function ue(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function at(e){return e!==e}var Gc=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Vr=tn((cl,$r)=>{t();var W=$r.exports={},fe,ye;function it(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?fe=setTimeout:fe=it}catch(e){fe=it}try{typeof clearTimeout=="function"?ye=clearTimeout:ye=st}catch(e){ye=st}})();function Wr(e){if(fe===setTimeout)return setTimeout(e,0);if((fe===it||!fe)&&setTimeout)return fe=setTimeout,setTimeout(e,0);try{return fe(e,0)}catch(o){try{return fe.call(null,e,0)}catch(n){return fe.call(this,e,0)}}}function Hc(e){if(ye===clearTimeout)return clearTimeout(e);if((ye===st||!ye)&&clearTimeout)return ye=clearTimeout,clearTimeout(e);try{return ye(e)}catch(o){try{return ye.call(null,e)}catch(n){return ye.call(this,e)}}}var Se=[],so=!1,$e,cn=-1;function $c(){!so||!$e||(so=!1,$e.length?Se=$e.concat(Se):cn=-1,Se.length&&Gr())}function Gr(){if(!so){var e=Wr($c);so=!0;for(var o=Se.length;o;){for($e=Se,Se=[];++cn<o;)$e&&$e[cn].run();cn=-1,o=Se.length}$e=null,so=!1,Hc(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];Se.push(new Hr(e,o)),Se.length===1&&!so&&Wr(Gr)};function Hr(e,o){this.fun=e,this.array=o}Hr.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function we(){}W.on=we;W.addListener=we;W.once=we;W.off=we;W.removeListener=we;W.removeAllListeners=we;W.emit=we;W.prependListener=we;W.prependOnceListener=we;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var a,i,pl,t=b(()=>{a=y(Ur()),i=y(Vr()),pl=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object)});var Ve,Ee=b(()=>{"use strict";t();Ve="Action not allowed. User is logged in. Call logout() first"});var zr=b(()=>{"use strict";t()});var jr=b(()=>{"use strict";t()});var qr=b(()=>{"use strict";t()});var O=b(()=>{"use strict";t()});var Kr=b(()=>{"use strict";t()});var Xr=b(()=>{"use strict";t()});var J=b(()=>{"use strict";t()});var Yr=b(()=>{"use strict";t()});var Zr=b(()=>{"use strict";t()});var Q=b(()=>{"use strict";t();zr();jr();qr();O();Kr();Xr();J();Yr();Zr()});var ct,Jr,Il,Qr,Ll,ea,oa,Nl,El,na=b(()=>{"use strict";t();Q();ct={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Jr,egldLabel:Il}=ct["devnet"],{chainId:Qr,egldLabel:Ll}=ct["testnet"],{chainId:ea,egldLabel:oa}=ct["mainnet"],Nl={["devnet"]:Jr,["testnet"]:Qr,["mainnet"]:ea},El={[Jr]:"devnet",[Qr]:"testnet",[ea]:"mainnet"}});var pt,dt=b(()=>{"use strict";t();pt={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var ta=b(()=>{"use strict";t()});var pn,mt=b(()=>{"use strict";t();pn="transaction-status-toast-id"});var he,ra=b(()=>{"use strict";t();he=require("@multiversx/sdk-web-wallet-provider")});var Ro,dn,ce,co,aa,ia,mn,sa,xe,N=b(()=>{"use strict";t();Ee();na();dt();ta();mt();ra();Ro=5e4,dn=1e9,ce=18,co=4,aa=1,ia=1,mn="logout",sa="login",xe="0"});var po,ln=b(()=>{"use strict";t();po=()=>Date.now()/1e3});var ca=b(()=>{"use strict";t()});var pa=b(()=>{"use strict";t()});var lt=b(()=>{"use strict";t();ln();ca();pa()});var gt={};We(gt,{getItem:()=>zc,localStorageKeys:()=>De,removeItem:()=>jc,setItem:()=>Vc});var De,_t,Vc,zc,jc,mo=b(()=>{"use strict";t();lt();De={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},_t=typeof localStorage!="undefined",Vc=({key:e,data:o,expires:n})=>{!_t||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},zc=e=>{if(!_t)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:po()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},jc=e=>{!_t||localStorage.removeItem(String(e))}});var ut={};We(ut,{clear:()=>_a,getItem:()=>ma,removeItem:()=>la,setItem:()=>da,storage:()=>qc});var da,ma,la,_a,qc,ga=b(()=>{"use strict";t();da=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},ma=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},la=e=>sessionStorage.removeItem(String(e)),_a=()=>sessionStorage.clear(),qc={setItem:da,getItem:ma,removeItem:la,clear:_a}});var ze,lo=b(()=>{"use strict";t();mo();ga();ze={session:ut,local:gt}});var ft,q,pe,X=b(()=>{"use strict";t();ft=require("@reduxjs/toolkit");N();q=(0,ft.createAction)(mn),pe=(0,ft.createAction)(sa,e=>({payload:e}))});var ht,ua,fa,_n,yt,ya,xt,s_,Tt,c_,bt,ha,p_,d_,m_,Kc,xa,St=b(()=>{"use strict";t();ht=require("@multiversx/sdk-core"),ua=require("@reduxjs/toolkit"),fa=require("redux-persist");N();lo();mo();X();_n={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:xe},yt={address:"",websocketEvent:null,accounts:{"":_n},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ya=(0,ua.createSlice)({name:"accountInfoSlice",initialState:yt,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new ht.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:_n},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}}},extraReducers:e=>{e.addCase(q,()=>(ze.local.removeItem(De.loginExpiresAt),yt)),e.addCase(pe,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new ht.Address(r).hex()}),e.addCase(fa.REHYDRATE,(o,n)=>{var g;if(!((g=n.payload)!=null&&g.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:d,publicKey:_}=r;o.address=c,o.shard=p;let m=d&&c in d;o.accounts=m?d:yt.accounts,o.publicKey=_})}}),{setAccount:xt,setAddress:s_,setAccountNonce:Tt,setAccountShard:c_,setLedgerAccount:bt,updateLedgerAccount:ha,setWalletConnectAccount:p_,setIsAccountLoading:d_,setAccountLoadingError:m_,setWebsocketEvent:Kc}=ya.actions,xa=ya.reducer});function Oo(){return new Date().setHours(new Date().getHours()+24)}function Bo(e){ze.local.setItem({key:De.loginExpiresAt,data:e,expires:e})}var wt=b(()=>{"use strict";t();lo();mo()});var ba,Ta,Sa,b_,wa,va,gn,S_,Xc,Aa,w_,ka,vt=b(()=>{"use strict";t();ba=require("@reduxjs/toolkit");wt();O();X();Ta={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Sa=(0,ba.createSlice)({name:"loginInfoSlice",initialState:Ta,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(q,()=>Ta),e.addCase(pe,(o,n)=>{o.loginMethod=n.payload.loginMethod,Bo(Oo())})}}),{setLoginMethod:b_,setWalletConnectLogin:wa,setLedgerLogin:va,setTokenLogin:gn,setTokenLoginSignature:S_,setWalletLogin:Xc,invalidateLoginSession:Aa,setLogoutRoute:w_}=Sa.actions,ka=Sa.reducer});var Ia,Ca,La,C_,Yc,I_,Zc,Na,At=b(()=>{"use strict";t();Ia=require("@reduxjs/toolkit");X();Ca={},La=(0,Ia.createSlice)({name:"modalsSlice",initialState:Ca,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(q,()=>Ca)}}),{setTxSubmittedModal:C_,setNotificationModal:Yc,clearTxSubmittedModal:I_,clearNotificationModal:Zc}=La.actions,Na=La.reducer});var Jc,un,Fo=b(()=>{"use strict";t();Jc=!1,un=(e,o=0)=>{Jc||setTimeout(()=>{window.location.href=e,window.location.assign(e)},o)}});function je({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),c=typeof o=="function",p=c?0:Qc;r&&e!=null&&setTimeout(()=>{if(c)return o(e,n);window.location.pathname.includes(e)||un(e)},p)}var Qc,Ea=b(()=>{"use strict";t();Fo();Qc=200});function kt(e){return e[Math.floor(Math.random()*e.length)]}var Da=b(()=>{"use strict";t()});function _o(e){let o=null;if((e==null?void 0:e.statusCode)in pt){let n=e==null?void 0:e.statusCode,{message:r}=pt[n];o=np.includes(n)?Pa:r}return{errorMessage:o,defaultErrorMessage:Pa}}var Pa,ep,op,np,Ct=b(()=>{"use strict";t();dt();Pa="Check if the MultiversX app is open on Ledger",ep=28161,op=28160,np=[ep,op]});var qe=b(()=>{"use strict";t();Ea();Da();Ct()});var Ma,Ra,It,tp,Oa,H_,$_,Ba,Lt=b(()=>{"use strict";t();Ma=require("@reduxjs/toolkit"),Ra=y(require("lodash.omit"));qe();It={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},tp={network:It,chainID:"-1"},Oa=(0,Ma.createSlice)({name:"appConfig",initialState:tp,reducers:{initializeNetworkConfig:(e,o)=>{let n=kt(o.payload.walletConnectBridgeAddresses),r=kt(o.payload.walletConnectV2RelayAddresses),c=(0,Ra.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),c),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:H_,setChainID:$_}=Oa.actions,Ba=Oa.reducer});var Fa,Nt,Ua,X_,Y_,Z_,fn,yn=b(()=>{"use strict";t();Fa=require("@reduxjs/toolkit");Q();X();Nt={isSigning:!1,signedSessions:{}},Ua=(0,Fa.createSlice)({name:"signedMessageInfoSliceState",initialState:Nt,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;return A(h({},e),{errorMessage:c!=null?c:e.errorMessage,isSigning:r.status==="pending",signedSessions:A(h({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>h(h({},e),o.payload),clearSignedMessageInfo:()=>Nt},extraReducers:e=>{e.addCase(q,()=>Nt)}}),{setSignSession:X_,clearSignedMessageInfo:Y_,setSignSessionState:Z_}=Ua.actions,fn=Ua.reducer});var Ga,Ha,Wa,$a,rp,Et,ag,ig,sg,cg,hn,xn=b(()=>{"use strict";t();Ga=require("@reduxjs/toolkit"),Ha=require("redux-persist");mt();Q();ln();X();Wa={customToasts:[],transactionToasts:[],failTransactionToast:null},$a=(0,Ga.createSlice)({name:"toastsSlice",initialState:Wa,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(A(h({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:po(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=A(h({},o.payload),{toastId:pn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(q,()=>Wa),e.addCase(Ha.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(d=>!("component"in d)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:rp,removeCustomToast:Et,addTransactionToast:ag,removeTransactionToast:ig,addFailTransactionToast:sg,removeFailTransactionToast:cg}=$a.actions,hn=$a.reducer});var Va,Pt,Mt,Rt,ap,Dt,za,lg,ip,Ot,Tn,bn=b(()=>{"use strict";t();Va=require("@reduxjs/toolkit");X();Pt="Transaction failed",Mt="Transaction successful",Rt="Processing transaction",ap="Transaction submitted",Dt={},za=(0,Va.createSlice)({name:"transactionsInfo",initialState:Dt,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||Pt,successMessage:(r==null?void 0:r.successMessage)||Mt,processingMessage:(r==null?void 0:r.processingMessage)||Rt,submittedMessage:(r==null?void 0:r.submittedMessage)||ap,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Dt},extraReducers:e=>{e.addCase(q,()=>Dt)}}),{clearTransactionsInfo:lg,setTransactionsDisplayInfo:ip,clearTransactionsInfoForSessionId:Ot}=za.actions,Tn=za.reducer});function go(e){return e!=null&&(gp(e)||hp(e))}function uo(e){return e!=null&&(up(e)||xp(e))}function fo(e){return e!=null&&(fp(e)||Tp(e))}function Bt(e){return e!=null&&yp(e)}function gp(e){return e!=null&&sp.includes(e)}function up(e){return e!=null&&cp.includes(e)}function fp(e){return e!=null&&pp.includes(e)}function yp(e){return e!=null&&dp.includes(e)}function hp(e){return e!=null&&mp.includes(e)}function xp(e){return e!=null&&lp.includes(e)}function Tp(e){return e!=null&&_p.includes(e)}var sp,cp,pp,dp,mp,lp,_p,yo=b(()=>{"use strict";t();O();sp=["sent"],cp=["success"],pp=["fail","cancelled","timedOut"],dp=["timedOut"],mp=["pending"],lp=["success"],_p=["fail","invalid"]});var ja,qa,Wo,bp,Ka,Xa,Ya,Sp,Sn,wp,vp,bg,Ap,wn,Ft,vn,An=b(()=>{"use strict";t();ja=require("@reduxjs/toolkit"),qa=require("redux-persist");O();yo();X();Wo={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},bp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ka=(0,ja.createSlice)({name:"transactionsSlice",initialState:Wo,reducers:{moveTransactionsToSignedState:(e,o)=>{var m,g;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:d}=o.payload,_=((m=e.customTransactionInformationForSessionId)==null?void 0:m[n])||bp;e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:d,customTransactionInformation:_},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===n&&(e.transactionsToSign=Wo.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=h(h({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,m,g,u,f,T;let{sessionId:n,status:r,errorMessage:c,transactionHash:p}=o.payload,d=(m=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:m.transactions;if(d!=null){e.signedTransactions[n].transactions=d.map(k=>k.hash===p?A(h({},k),{status:r,errorMessage:c}):k);let I=(u=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:u.every(k=>uo(k.status)),w=(T=(f=e.signedTransactions[n])==null?void 0:f.transactions)==null?void 0:T.every(k=>fo(k.status));I&&(e.signedTransactions[n].status="success"),w&&(e.signedTransactions[n].status="fail")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Wo.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Wo.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(q,()=>Wo),e.addCase(qa.REHYDRATE,(o,n)=>{var d;if(o.signTransactionsCancelMessage=null,!((d=n.payload)!=null&&d.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((_,[m,g])=>{let u=new Date(m),f=new Date;return f.setHours(f.getHours()+5),f-u>0||(_[m]=g),_},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Xa,updateSignedTransactions:Ya,setTransactionsToSign:Sp,clearAllTransactionsToSign:Sn,clearAllSignedTransactions:wp,clearSignedTransaction:vp,clearTransactionToSign:bg,setSignTransactionsError:Ap,setSignTransactionsCancelMessage:wn,moveTransactionsToSignedState:Ft}=Ka.actions,vn=Ka.reducer});var D=b(()=>{"use strict";t();St();vt();At();Lt();yn();xn();bn();An()});var Ut=b(()=>{"use strict";t()});var oi,ei,ni,Wt,zg,jg,qg,Kg,ti,ri,Gt=b(()=>{"use strict";t();oi=require("@reduxjs/toolkit");X();ei={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ni=(0,oi.createSlice)({name:"dappModalsSlice",initialState:ei,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=h({},o.payload)}},extraReducers:e=>{e.addCase(q,()=>ei)}}),{setDappModalVisibility:Wt,setDappModalHeaderVisibility:zg,setDappModalFooterVisibility:jg,setDappModalHeaderText:qg,setDappModalFooterText:Kg,setDappModalConfig:ti}=ni.actions,ri=ni.reducer});var ai,Lp,Np,ho,Ln=b(()=>{"use strict";t();ai=require("@reduxjs/toolkit");Ut();St();Gt();vt();At();Lt();yn();xn();bn();An();Lp={["account"]:xa,["dappModal"]:ri,["loginInfo"]:ka,["modals"]:Na,["networkConfig"]:Ba,["signedMessageInfo"]:fn,["toasts"]:hn,["transactionsInfo"]:Tn,["transactions"]:vn},Np=(e={})=>(0,ai.combineReducers)(h(h({},Lp),e)),ho=Np});var ci={};We(ci,{default:()=>Fp});function Nn(e,o=[]){return{key:e,version:1,storage:si.default,blacklist:o}}var Pe,ii,si,Ep,Dp,Pp,Mp,Rp,Op,Bp,Fp,pi=b(()=>{"use strict";t();Pe=require("redux-persist"),ii=y(require("redux-persist/lib/storage")),si=y(require("redux-persist/lib/storage/session"));Ln();D();yn();xn();bn();An();Ut();Ep={2:e=>A(h({},e),{networkConfig:It})};Dp=Nn("sdk-dapp-transactionsInfo"),Pp=Nn("sdk-dapp-transactions",["transactionsToSign"]),Mp=Nn("sdk-dapp-toasts"),Rp=Nn("sdk-dapp-signedMessageInfo"),Op={key:"sdk-dapp-store",version:2,storage:ii.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,Pe.createMigrate)(Ep,{debug:!1})},Bp={["toasts"]:(0,Pe.persistReducer)(Mp,hn),["transactions"]:(0,Pe.persistReducer)(Pp,vn),["transactionsInfo"]:(0,Pe.persistReducer)(Dp,Tn),["signedMessageInfo"]:(0,Pe.persistReducer)(Rp,fn)},Fp=(0,Pe.persistReducer)(Op,ho(Bp))});var di={};We(di,{default:()=>Up});var Up,mi=b(()=>{"use strict";t();Ln();Up=ho()});var li={};We(li,{default:()=>Gp});var de,Wp,Gp,_i=b(()=>{"use strict";t();de=require("redux-persist"),Wp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],Gp=Wp});var fi={};We(fi,{default:()=>ui});function ui(e){return(0,gi.persistStore)(e)}var gi,yi=b(()=>{"use strict";t();gi=require("redux-persist")});var tl={};We(tl,{LedgerLoginButton:()=>nl});module.exports=Mo(tl);t();var to=y(require("react"));Ee();t();t();t();var wi=require("react"),xo=require("react-redux");t();var Ht=require("@reduxjs/toolkit"),bi=require("react-redux/lib/utils/Subscription");D();t();var Ja=y(require("lodash.throttle"));N();t();var Za=y(require("lodash.isequal")),kn=require("reselect");Q();var x=(0,kn.createSelectorCreator)(kn.defaultMemoize,Za.default),Go=(e,o)=>e!=""&&Boolean(o);D();wt();lo();mo();var kp=[mn],Cn=!1,Cp=(0,Ja.default)(()=>{Bo(Oo())},5e3),Qa=e=>o=>n=>{var m;if(kp.includes(n.type))return o(n);let r=e.getState(),c=ze.local.getItem(De.loginExpiresAt);if(!Go((m=r==null?void 0:r.loginInfo)==null?void 0:m.loginMethod,r==null?void 0:r.account.address))return o(n);if(c==null)return Bo(Oo());let d=Date.now();return c-d<0&&!Cn?setTimeout(()=>{Cn=!0,e.dispatch(Aa())},1e3):(Cn&&(Cn=!1),Cp()),o(n)};t();t();function In(){return typeof sessionStorage!="undefined"}var hi=In()?(pi(),Mo(ci)).default:(mi(),Mo(di)).default,xi=In()?(_i(),Mo(li)).default:[],Ti=In()?(yi(),Mo(fi)).default:e=>e;Ln();var C=(0,Ht.configureStore)({reducer:hi,middleware:e=>e({serializableCheck:{ignoredActions:[...xi,Tt.type,xt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Qa)}),Si=(0,bi.createSubscription)(C),bu=Ti(C),Su=(0,Ht.configureStore)({reducer:ho});var Hp={store:C,subscription:Si},$t=(0,wi.createContext)(Hp),ku=(0,xo.createStoreHook)($t),$=(0,xo.createDispatchHook)($t),v=(0,xo.createSelectorHook)($t);t();t();D();var ve=e=>e.account,To=x(ve,e=>e.address),Xe=x(ve,To,(e,o)=>o in e.accounts?e.accounts[o]:_n),vi=x(ve,Xe,(e,o)=>{let c=e,{accounts:n}=c,r=nn(c,["accounts"]);return A(h({},r),{account:o})}),$p=x(Xe,e=>e.balance),Vp=x(Xe,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),Nu=x(ve,e=>e.shard),Ai=x(ve,e=>e.ledgerAccount),Eu=x(ve,e=>e.walletConnectAccount),Du=x(ve,e=>e.isAccountLoading),Pu=x(ve,e=>e.accountLoadingError),ki=x(ve,e=>e.websocketEvent);t();var me=e=>e.loginInfo,Bu=x(me,e=>e.loginMethod),Ho=x(me,To,(e,o)=>Go(e.loginMethod,o)),Fu=x(me,e=>e.walletConnectLogin),Uu=x(me,e=>e.ledgerLogin),zp=x(me,e=>e.walletLogin),Wu=x(me,e=>e.isLoginSessionInvalid),En=x(me,e=>e.tokenLogin),Gu=x(me,e=>e.logoutRoute);t();var Ci=e=>e.modals,Vu=x(Ci,e=>e.txSubmittedModal),jp=x(Ci,e=>e.notificationModal);t();var Ae=e=>e.networkConfig,Dn=x(Ae,e=>e.chainID),qp=x(Ae,e=>e.network.walletConnectBridgeAddress),Kp=x(Ae,e=>e.network.walletConnectV2RelayAddress),Xp=x(Ae,e=>e.network.walletConnectV2ProjectId),Yp=x(Ae,e=>e.network.walletConnectV2Options),Ii=x(Ae,e=>e.network.walletConnectDeepLink),ke=x(Ae,e=>e.network),Vt=x(ke,e=>e.apiAddress),Li=x(ke,e=>e.explorerAddress),zt=x(ke,e=>e.egldLabel);t();var jt=e=>e.signedMessageInfo,Xu=x(jt,e=>e.isSigning),Yu=x(jt,e=>e.errorMessage),Zu=x(jt,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var qt=e=>e.toasts,ef=x(qt,e=>e.customToasts),of=x(qt,e=>e.transactionToasts),nf=x(qt,e=>e.failTransactionToast);t();D();var Ni={errorMessage:Pt,successMessage:Mt,processingMessage:Rt},Zp=e=>e.transactionsInfo,Jp=x(Zp,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||Ni);t();t();var re=require("@multiversx/sdk-core");N();t();function Kt(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function bo(e){return atob(e)}function Pn(e){var c,p,d;let{data:o}=e,n=Kt(o!=null?o:"")?re.TransactionPayload.fromEncoded(o):new re.TransactionPayload(o),r=new re.Transaction(h({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new re.Address(e.receiver),sender:new re.Address(e.sender),gasLimit:(c=e.gasLimit.valueOf())!=null?c:Ro,gasPrice:(p=e.gasPrice.valueOf())!=null?p:dn,chainID:e.chainID.valueOf(),version:new re.TransactionVersion((d=e.version)!=null?d:aa)},e.options?{options:new re.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new re.Address(e.sender)),r}t();yo();t();var ed=y(require("bignumber.js"));Q();t();t();t();t();var nd=require("@multiversx/sdk-core"),td=y(require("bignumber.js"));O();t();var od=require("@multiversx/sdk-core");t();t();t();var ad=require("@multiversx/sdk-core/out");t();N();t();var Pi=require("@multiversx/sdk-core");Q();t();t();t();t();O();t();t();t();t();t();t();t();var Mn="accounts";var Yt="blocks";t();t();t();t();J();t();t();J();t();t();t();var dd=y(require("bignumber.js"));N();t();var Bi=require("@multiversx/sdk-core"),Me=y(require("bignumber.js"));N();t();var Oi=y(require("bignumber.js")),$o=(e,o=!0)=>{let n=String(e);if(!n.match(/^[-]?\d+$/))return!1;let r=new Oi.default(n),c=o?0:-1;return r.toString(10)===n&&r.comparedTo(0)>=c};t();function Ce(e){return{if:function(o){return o?{then:n=>n instanceof Function?Ce(n(e)):Ce(n)}:{then:()=>Ce(e)}},then:o=>o instanceof Function?Ce(o(e)):Ce(o),valueOf:function(){return e}}}Me.default.config({ROUNDING_MODE:Me.default.ROUND_FLOOR});function Ye({input:e,decimals:o=ce,digits:n=co,showLastNonZeroDecimal:r=!0,showIsLessThanDecimalsLabel:c=!1,addCommas:p=!1}){if(!$o(e,!1))throw new Error("Invalid input");let d=new Me.default(e).isNegative(),_=e;return d&&(_=e.substring(1)),Ce(_).then(()=>Bi.TokenPayment.fungibleFromBigInteger("",_,o).toRationalNumber()).then(m=>{let g=new Me.default(m);if(g.isZero())return xe;let u=g.toString(10),[f,T]=u.split("."),I=new Me.default(T||0),w=Ce(0).if(Boolean(T&&r)).then(()=>Math.max(T.length,n)).if(I.isZero()&&!r).then(0).if(Boolean(T&&!r)).then(()=>Math.min(T.length,n)).valueOf(),k=T&&n>=1&&n<=T.length&&I.isGreaterThan(0)&&new Me.default(T.substring(0,n)).isZero(),F=g.toFormat(w);return Ce(u).if(p).then(F).if(Boolean(k)).then(E=>{let Z=new Me.default(f).isZero(),[M,K]=E.split("."),ie=new Array(n-1).fill(0),ne=[...ie,0].join(""),Ue=[...ie,1].join("");return Z?c?`<${M}.${Ue}`:r?`${M}.${K}`:M:`${M}.${ne}`}).if(Boolean(!k&&T)).then(E=>{let[Z]=E.split("."),M=T.substring(0,w);if(r){let K=n-M.length;if(K>0){let ie=Array(K).fill(0).join("");return M=`${M}${ie}`,`${Z}.${M}`}return E}return M?`${Z}.${M}`:Z}).valueOf()}).if(d).then(m=>`-${m}`).valueOf()}t();t();t();N();t();t();t();t();N();t();N();t();var md=require("@multiversx/sdk-core");N();t();var Vo=require("@multiversx/sdk-core"),gd=require("@multiversx/sdk-network-providers");N();t();t();var ld=y(require("bignumber.js"));N();t();N();t();t();t();t();t();N();t();J();var fd=["reDelegateRewards","claimRewards","unBond"],yd=["wrapEgld","unwrapEgld"],hd=["unStake"],xd=["unDelegate"];t();t();t();N();t();var wd=y(require("bignumber.js"));t();t();t();J();t();var vd=y(require("bignumber.js"));t();t();t();t();J();t();t();t();var Cd=y(require("linkifyjs"));t();N();t();var Id=y(require("bignumber.js"));t();Q();t();t();O();t();O();t();t();t();J();t();J();t();var Ld=y(require("bignumber.js"));N();J();t();J();t();var Wi=require("react");Q();t();t();J();t();var Nd=require("@multiversx/sdk-core/out"),Ed=y(require("bignumber.js"));J();t();J();t();t();O();var C0=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var Gi=require("react");Q();t();var Pd=require("react");J();var M0=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Bn=e=>e.transactions,So=x(Bn,e=>e.signedTransactions),Md=x(Bn,e=>e.signTransactionsError),Hi=x(Bn,e=>e.signTransactionsCancelMessage),Fn=e=>o=>Object.entries(o).reduce((n,[r,c])=>(e(c.status)&&(n[r]=c),n),{}),$i=x(So,Fn(go)),Vi=x(So,Fn(uo)),zi=x(So,Fn(fo)),Rd=x(So,Fn(Bt)),ji=x(Bn,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>Pn(n)))||[]})}),Od=x(So,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});t();t();t();t();var wo=y(require("react"));var Bd=(0,wo.createContext)({}),Rb=C.getState();function Un(){let e=(0,wo.useContext)(Bd);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}t();var qi=y(require("react"));t();var zo=()=>v(Xe);t();var Jt=y(require("react")),Fd=y(require("axios"));var Ki=()=>{try{let{loginInfo:e,isLoggedIn:o}=Un();return A(h({},e),{isLoggedIn:o})}catch(e){let o=v(me),n=v(Ho);return A(h({},o),{isLoggedIn:n})}};var Xi=()=>{let{isLoggedIn:e}=Ki();return e};t();t();t();var Ao=y(require("react")),tr=y(require("classnames")),os=y(require("react-dom"));t();var Ud=`.dapp-core-component__dappModalStyles__dappModal {
1
+ "use strict";var ic=Object.create;var Mo=Object.defineProperty,sc=Object.defineProperties,cc=Object.getOwnPropertyDescriptor,pc=Object.getOwnPropertyDescriptors,dc=Object.getOwnPropertyNames,tn=Object.getOwnPropertySymbols,mc=Object.getPrototypeOf,Zn=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable;var Tr=(e,o,n)=>o in e?Mo(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,h=(e,o)=>{for(var n in o||(o={}))Zn.call(o,n)&&Tr(e,n,o[n]);if(tn)for(var n of tn(o))br.call(o,n)&&Tr(e,n,o[n]);return e},A=(e,o)=>sc(e,pc(o));var rn=(e,o)=>{var n={};for(var r in e)Zn.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tn)for(var r of tn(e))o.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};var b=(e,o)=>()=>(e&&(o=e(e=0)),o);var an=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),He=(e,o)=>{for(var n in o)Mo(e,n,{get:o[n],enumerable:!0})},Sr=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of dc(o))!Zn.call(e,c)&&c!==n&&Mo(e,c,{get:()=>o[c],enumerable:!(r=cc(o,c))||r.enumerable});return e};var y=(e,o,n)=>(n=e!=null?ic(mc(e)):{},Sr(o||!e||!e.__esModule?Mo(n,"default",{value:e,enumerable:!0}):n,e)),Ro=e=>Sr(Mo({},"__esModule",{value:!0}),e);var S=(e,o,n)=>new Promise((r,c)=>{var p=m=>{try{_(n.next(m))}catch(g){c(g)}},d=m=>{try{_(n.throw(m))}catch(g){c(g)}},_=m=>m.done?r(m.value):Promise.resolve(m.value).then(p,d);_((n=n.apply(e,o)).next())});var Ar=an(sn=>{"use strict";t();sn.byteLength=_c;sn.toByteArray=uc;sn.fromByteArray=hc;var ge=[],se=[],lc=typeof Uint8Array!="undefined"?Uint8Array:Array,Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($e=0,wr=Jn.length;$e<wr;++$e)ge[$e]=Jn[$e],se[Jn.charCodeAt($e)]=$e;var $e,wr;se["-".charCodeAt(0)]=62;se["_".charCodeAt(0)]=63;function vr(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function _c(e){var o=vr(e),n=o[0],r=o[1];return(n+r)*3/4-r}function gc(e,o,n){return(o+n)*3/4-n}function uc(e){var o,n=vr(e),r=n[0],c=n[1],p=new lc(gc(e,r,c)),d=0,_=c>0?r-4:r,m;for(m=0;m<_;m+=4)o=se[e.charCodeAt(m)]<<18|se[e.charCodeAt(m+1)]<<12|se[e.charCodeAt(m+2)]<<6|se[e.charCodeAt(m+3)],p[d++]=o>>16&255,p[d++]=o>>8&255,p[d++]=o&255;return c===2&&(o=se[e.charCodeAt(m)]<<2|se[e.charCodeAt(m+1)]>>4,p[d++]=o&255),c===1&&(o=se[e.charCodeAt(m)]<<10|se[e.charCodeAt(m+1)]<<4|se[e.charCodeAt(m+2)]>>2,p[d++]=o>>8&255,p[d++]=o&255),p}function fc(e){return ge[e>>18&63]+ge[e>>12&63]+ge[e>>6&63]+ge[e&63]}function yc(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(fc(r));return c.join("")}function hc(e){for(var o,n=e.length,r=n%3,c=[],p=16383,d=0,_=n-r;d<_;d+=p)c.push(yc(e,d,d+p>_?_:d+p));return r===1?(o=e[n-1],c.push(ge[o>>2]+ge[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(ge[o>>10]+ge[o>>4&63]+ge[o<<2&63]+"=")),c.join("")}});var kr=an(Qn=>{t();Qn.read=function(e,o,n,r,c){var p,d,_=c*8-r-1,m=(1<<_)-1,g=m>>1,f=-7,u=n?c-1:0,T=n?-1:1,I=e[o+u];for(u+=T,p=I&(1<<-f)-1,I>>=-f,f+=_;f>0;p=p*256+e[o+u],u+=T,f-=8);for(d=p&(1<<-f)-1,p>>=-f,f+=r;f>0;d=d*256+e[o+u],u+=T,f-=8);if(p===0)p=1-g;else{if(p===m)return d?NaN:(I?-1:1)*(1/0);d=d+Math.pow(2,r),p=p-g}return(I?-1:1)*d*Math.pow(2,p-r)};Qn.write=function(e,o,n,r,c,p){var d,_,m,g=p*8-c-1,f=(1<<g)-1,u=f>>1,T=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=r?0:p-1,w=r?1:-1,k=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,d=f):(d=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-d))<1&&(d--,m*=2),d+u>=1?o+=T/m:o+=T*Math.pow(2,1-u),o*m>=2&&(d++,m/=2),d+u>=f?(_=0,d=f):d+u>=1?(_=(o*m-1)*Math.pow(2,c),d=d+u):(_=o*Math.pow(2,u-1)*Math.pow(2,c),d=0));c>=8;e[n+I]=_&255,I+=w,_/=256,c-=8);for(d=d<<c|_,g+=c;g>0;e[n+I]=d&255,I+=w,d/=256,g-=8);e[n+I-w]|=k*128}});var Ur=an(so=>{"use strict";t();var et=Ar(),io=kr(),Cr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;so.Buffer=l;so.SlowBuffer=vc;so.INSPECT_MAX_BYTES=50;var cn=2147483647;so.kMaxLength=cn;l.TYPED_ARRAY_SUPPORT=xc();!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function xc(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function Se(e){if(e>cn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rt(e)}return Nr(e,o,n)}l.poolSize=8192;function Nr(e,o,n){if(typeof e=="string")return bc(e,o);if(ArrayBuffer.isView(e))return Sc(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ue(e,ArrayBuffer)||e&&ue(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ue(e,SharedArrayBuffer)||e&&ue(e.buffer,SharedArrayBuffer)))return nt(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return l.from(r,o,n);var c=wc(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,n){return Nr(e,o,n)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Er(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Tc(e,o,n){return Er(e),e<=0?Se(e):o!==void 0?typeof n=="string"?Se(e).fill(o,n):Se(e).fill(o):Se(e)}l.alloc=function(e,o,n){return Tc(e,o,n)};function rt(e){return Er(e),Se(e<0?0:at(e)|0)}l.allocUnsafe=function(e){return rt(e)};l.allocUnsafeSlow=function(e){return rt(e)};function bc(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Dr(e,o)|0,r=Se(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function ot(e){for(var o=e.length<0?0:at(e.length)|0,n=Se(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function Sc(e){if(ue(e,Uint8Array)){var o=new Uint8Array(e);return nt(o.buffer,o.byteOffset,o.byteLength)}return ot(e)}function nt(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,l.prototype),r}function wc(e){if(l.isBuffer(e)){var o=at(e.length)|0,n=Se(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||it(e.length)?Se(0):ot(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ot(e.data)}function at(e){if(e>=cn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+cn.toString(16)+" bytes");return e|0}function vc(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,n){if(ue(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ue(n,Uint8Array)&&(n=l.from(n,n.offset,n.byteLength)),!l.isBuffer(o)||!l.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,d=Math.min(r,c);p<d;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=l.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var d=o[r];if(ue(d,Uint8Array))p+d.length>c.length?l.from(d).copy(c,p):Uint8Array.prototype.set.call(c,d,p);else if(l.isBuffer(d))d.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=d.length}return c};function Dr(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ue(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return tt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Fr(e).length;default:if(c)return r?-1:tt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Dr;function Ac(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Rc(this,o,n);case"utf8":case"utf-8":return Mr(this,o,n);case"ascii":return Pc(this,o,n);case"latin1":case"binary":return Mc(this,o,n);case"base64":return Ec(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oc(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}l.prototype._isBuffer=!0;function Ve(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)Ve(this,n,n+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)Ve(this,n,n+3),Ve(this,n+1,n+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)Ve(this,n,n+7),Ve(this,n+1,n+6),Ve(this,n+2,n+5),Ve(this,n+3,n+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Mr(this,0,o):Ac.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",n=so.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Cr&&(l.prototype[Cr]=l.prototype.inspect);l.prototype.compare=function(o,n,r,c,p){if(ue(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var d=p-c,_=r-n,m=Math.min(d,_),g=this.slice(c,p),f=o.slice(n,r),u=0;u<m;++u)if(g[u]!==f[u]){d=g[u],_=f[u];break}return d<_?-1:_<d?1:0};function Pr(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,it(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=l.from(o,r)),l.isBuffer(o))return o.length===0?-1:Ir(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ir(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function Ir(e,o,n,r,c){var p=1,d=e.length,_=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,d/=2,_/=2,n/=2}function m(I,w){return p===1?I[w]:I.readUInt16BE(w*p)}var g;if(c){var f=-1;for(g=n;g<d;g++)if(m(e,g)===m(o,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===_)return f*p}else f!==-1&&(g-=g-f),f=-1}else for(n+_>d&&(n=d-_),g=n;g>=0;g--){for(var u=!0,T=0;T<_;T++)if(m(e,g+T)!==m(o,T)){u=!1;break}if(u)return g}return-1}l.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};l.prototype.indexOf=function(o,n,r){return Pr(this,o,n,r,!0)};l.prototype.lastIndexOf=function(o,n,r){return Pr(this,o,n,r,!1)};function kc(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var d=0;d<r;++d){var _=parseInt(o.substr(d*2,2),16);if(it(_))return d;e[n+d]=_}return d}function Cc(e,o,n,r){return pn(tt(o,e.length-n),e,n,r)}function Ic(e,o,n,r){return pn(Uc(o),e,n,r)}function Lc(e,o,n,r){return pn(Fr(o),e,n,r)}function Nc(e,o,n,r){return pn(Wc(o,e.length-n),e,n,r)}l.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var d=!1;;)switch(c){case"hex":return kc(this,o,n,r);case"utf8":case"utf-8":return Cc(this,o,n,r);case"ascii":case"latin1":case"binary":return Ic(this,o,n,r);case"base64":return Lc(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nc(this,o,n,r);default:if(d)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),d=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ec(e,o,n){return o===0&&n===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(o,n))}function Mr(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],d=null,_=p>239?4:p>223?3:p>191?2:1;if(c+_<=n){var m,g,f,u;switch(_){case 1:p<128&&(d=p);break;case 2:m=e[c+1],(m&192)===128&&(u=(p&31)<<6|m&63,u>127&&(d=u));break;case 3:m=e[c+1],g=e[c+2],(m&192)===128&&(g&192)===128&&(u=(p&15)<<12|(m&63)<<6|g&63,u>2047&&(u<55296||u>57343)&&(d=u));break;case 4:m=e[c+1],g=e[c+2],f=e[c+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(u=(p&15)<<18|(m&63)<<12|(g&63)<<6|f&63,u>65535&&u<1114112&&(d=u))}}d===null?(d=65533,_=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|d&1023),r.push(d),c+=_}return Dc(r)}var Lr=4096;function Dc(e){var o=e.length;if(o<=Lr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Lr));return n}function Pc(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function Mc(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function Rc(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Gc[e[p]];return c}function Oc(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}l.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,l.prototype),c};function V(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||V(o,n,this.length);for(var c=this[o],p=1,d=0;++d<n&&(p*=256);)c+=this[o+d]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||V(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,n){return o=o>>>0,n||V(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||V(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||V(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||V(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||V(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||V(o,n,this.length);for(var c=this[o],p=1,d=0;++d<n&&(p*=256);)c+=this[o+d]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};l.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||V(o,n,this.length);for(var c=n,p=1,d=this[o+--c];c>0&&(p*=256);)d+=this[o+--c]*p;return p*=128,d>=p&&(d-=Math.pow(2,8*n)),d};l.prototype.readInt8=function(o,n){return o=o>>>0,n||V(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,n){o=o>>>0,n||V(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};l.prototype.readInt16BE=function(o,n){o=o>>>0,n||V(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};l.prototype.readInt32LE=function(o,n){return o=o>>>0,n||V(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,n){return o=o>>>0,n||V(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,n){return o=o>>>0,n||V(o,4,this.length),io.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,n){return o=o>>>0,n||V(o,4,this.length),io.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||V(o,8,this.length),io.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||V(o,8,this.length),io.read(this,o,!1,52,8)};function ne(e,o,n,r,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ne(this,o,n,r,p,0)}var d=1,_=0;for(this[n]=o&255;++_<r&&(d*=256);)this[n+_]=o/d&255;return n+r};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;ne(this,o,n,r,p,0)}var d=r-1,_=1;for(this[n+d]=o&255;--d>=0&&(_*=256);)this[n+d]=o/_&255;return n+r};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,1,255,0),this[n]=o&255,n+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};l.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ne(this,o,n,r,p-1,-p)}var d=0,_=1,m=0;for(this[n]=o&255;++d<r&&(_*=256);)o<0&&m===0&&this[n+d-1]!==0&&(m=1),this[n+d]=(o/_>>0)-m&255;return n+r};l.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);ne(this,o,n,r,p-1,-p)}var d=r-1,_=1,m=0;for(this[n+d]=o&255;--d>=0&&(_*=256);)o<0&&m===0&&this[n+d+1]!==0&&(m=1),this[n+d]=(o/_>>0)-m&255;return n+r};l.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};l.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};l.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};l.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};l.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||ne(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Rr(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Or(e,o,n,r,c){return o=+o,n=n>>>0,c||Rr(e,o,n,4,34028234663852886e22,-34028234663852886e22),io.write(e,o,n,r,23,4),n+4}l.prototype.writeFloatLE=function(o,n,r){return Or(this,o,n,!0,r)};l.prototype.writeFloatBE=function(o,n,r){return Or(this,o,n,!1,r)};function Br(e,o,n,r,c){return o=+o,n=n>>>0,c||Rr(e,o,n,8,17976931348623157e292,-17976931348623157e292),io.write(e,o,n,r,52,8),n+8}l.prototype.writeDoubleLE=function(o,n,r){return Br(this,o,n,!0,r)};l.prototype.writeDoubleBE=function(o,n,r){return Br(this,o,n,!1,r)};l.prototype.copy=function(o,n,r,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};l.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var d;if(typeof o=="number")for(d=n;d<r;++d)this[d]=o;else{var _=l.isBuffer(o)?o:l.from(o,c),m=_.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(d=0;d<r-n;++d)this[d+n]=_[d%m]}return this};var Bc=/[^+/0-9A-Za-z-_]/g;function Fc(e){if(e=e.split("=")[0],e=e.trim().replace(Bc,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function tt(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],d=0;d<r;++d){if(n=e.charCodeAt(d),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(d+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Uc(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Wc(e,o){for(var n,r,c,p=[],d=0;d<e.length&&!((o-=2)<0);++d)n=e.charCodeAt(d),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function Fr(e){return et.toByteArray(Fc(e))}function pn(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function ue(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function it(e){return e!==e}var Gc=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Vr=an((sl,$r)=>{t();var W=$r.exports={},fe,ye;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?fe=setTimeout:fe=st}catch(e){fe=st}try{typeof clearTimeout=="function"?ye=clearTimeout:ye=ct}catch(e){ye=ct}})();function Wr(e){if(fe===setTimeout)return setTimeout(e,0);if((fe===st||!fe)&&setTimeout)return fe=setTimeout,setTimeout(e,0);try{return fe(e,0)}catch(o){try{return fe.call(null,e,0)}catch(n){return fe.call(this,e,0)}}}function Hc(e){if(ye===clearTimeout)return clearTimeout(e);if((ye===ct||!ye)&&clearTimeout)return ye=clearTimeout,clearTimeout(e);try{return ye(e)}catch(o){try{return ye.call(null,e)}catch(n){return ye.call(this,e)}}}var we=[],co=!1,ze,dn=-1;function $c(){!co||!ze||(co=!1,ze.length?we=ze.concat(we):dn=-1,we.length&&Gr())}function Gr(){if(!co){var e=Wr($c);co=!0;for(var o=we.length;o;){for(ze=we,we=[];++dn<o;)ze&&ze[dn].run();dn=-1,o=we.length}ze=null,co=!1,Hc(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];we.push(new Hr(e,o)),we.length===1&&!co&&Wr(Gr)};function Hr(e,o){this.fun=e,this.array=o}Hr.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function ve(){}W.on=ve;W.addListener=ve;W.once=ve;W.off=ve;W.removeListener=ve;W.removeAllListeners=ve;W.emit=ve;W.prependListener=ve;W.prependOnceListener=ve;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var a,i,cl,t=b(()=>{a=y(Ur()),i=y(Vr()),cl=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object)});var je,De=b(()=>{"use strict";t();je="Action not allowed. User is logged in. Call logout() first"});var zr=b(()=>{"use strict";t()});var jr=b(()=>{"use strict";t()});var qr=b(()=>{"use strict";t()});var B=b(()=>{"use strict";t()});var Kr=b(()=>{"use strict";t()});var Xr=b(()=>{"use strict";t()});var Q=b(()=>{"use strict";t()});var Yr=b(()=>{"use strict";t()});var Zr=b(()=>{"use strict";t()});var ee=b(()=>{"use strict";t();zr();jr();qr();B();Kr();Xr();Q();Yr();Zr()});var pt,Jr,Cl,Qr,Il,ea,oa,Ll,Nl,na=b(()=>{"use strict";t();ee();pt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Jr,egldLabel:Cl}=pt["devnet"],{chainId:Qr,egldLabel:Il}=pt["testnet"],{chainId:ea,egldLabel:oa}=pt["mainnet"],Ll={["devnet"]:Jr,["testnet"]:Qr,["mainnet"]:ea},Nl={[Jr]:"devnet",[Qr]:"testnet",[ea]:"mainnet"}});var dt,mt=b(()=>{"use strict";t();dt={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var ta=b(()=>{"use strict";t()});var mn,lt=b(()=>{"use strict";t();mn="transaction-status-toast-id"});var he,ra=b(()=>{"use strict";t();he=require("@multiversx/sdk-web-wallet-provider")});var Oo,ln,ce,po,aa,ia,_n,sa,xe,N=b(()=>{"use strict";t();De();na();mt();ta();lt();ra();Oo=5e4,ln=1e9,ce=18,po=4,aa=1,ia=1,_n="logout",sa="login",xe="0"});var mo,gn=b(()=>{"use strict";t();mo=()=>Date.now()/1e3});var ca=b(()=>{"use strict";t()});var pa=b(()=>{"use strict";t()});var _t=b(()=>{"use strict";t();gn();ca();pa()});var ut={};He(ut,{getItem:()=>zc,localStorageKeys:()=>Pe,removeItem:()=>jc,setItem:()=>Vc});var Pe,gt,Vc,zc,jc,lo=b(()=>{"use strict";t();_t();Pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gt=typeof localStorage!="undefined",Vc=({key:e,data:o,expires:n})=>{!gt||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},zc=e=>{if(!gt)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:mo()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},jc=e=>{!gt||localStorage.removeItem(String(e))}});var ft={};He(ft,{clear:()=>_a,getItem:()=>ma,removeItem:()=>la,setItem:()=>da,storage:()=>qc});var da,ma,la,_a,qc,ga=b(()=>{"use strict";t();da=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},ma=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},la=e=>sessionStorage.removeItem(String(e)),_a=()=>sessionStorage.clear(),qc={setItem:da,getItem:ma,removeItem:la,clear:_a}});var qe,_o=b(()=>{"use strict";t();lo();ga();qe={session:ft,local:ut}});var yt,Y,pe,Z=b(()=>{"use strict";t();yt=require("@reduxjs/toolkit");N();Y=(0,yt.createAction)(_n),pe=(0,yt.createAction)(sa,e=>({payload:e}))});var xt,ua,fa,un,ht,ya,Tt,i_,bt,s_,St,ha,c_,p_,d_,Kc,xa,wt=b(()=>{"use strict";t();xt=require("@multiversx/sdk-core"),ua=require("@reduxjs/toolkit"),fa=require("redux-persist");N();_o();lo();Z();un={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:xe},ht={address:"",websocketEvent:null,accounts:{"":un},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ya=(0,ua.createSlice)({name:"accountInfoSlice",initialState:ht,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new xt.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:un},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}}},extraReducers:e=>{e.addCase(Y,()=>(qe.local.removeItem(Pe.loginExpiresAt),ht)),e.addCase(pe,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new xt.Address(r).hex()}),e.addCase(fa.REHYDRATE,(o,n)=>{var g;if(!((g=n.payload)!=null&&g.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:d,publicKey:_}=r;o.address=c,o.shard=p;let m=d&&c in d;o.accounts=m?d:ht.accounts,o.publicKey=_})}}),{setAccount:Tt,setAddress:i_,setAccountNonce:bt,setAccountShard:s_,setLedgerAccount:St,updateLedgerAccount:ha,setWalletConnectAccount:c_,setIsAccountLoading:p_,setAccountLoadingError:d_,setWebsocketEvent:Kc}=ya.actions,xa=ya.reducer});function Bo(){return new Date().setHours(new Date().getHours()+24)}function Fo(e){qe.local.setItem({key:Pe.loginExpiresAt,data:e,expires:e})}var vt=b(()=>{"use strict";t();_o();lo()});var ba,Ta,Sa,T_,wa,va,fn,b_,Xc,Aa,S_,ka,At=b(()=>{"use strict";t();ba=require("@reduxjs/toolkit");vt();B();Z();Ta={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Sa=(0,ba.createSlice)({name:"loginInfoSlice",initialState:Ta,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(Y,()=>Ta),e.addCase(pe,(o,n)=>{o.loginMethod=n.payload.loginMethod,Fo(Bo())})}}),{setLoginMethod:T_,setWalletConnectLogin:wa,setLedgerLogin:va,setTokenLogin:fn,setTokenLoginSignature:b_,setWalletLogin:Xc,invalidateLoginSession:Aa,setLogoutRoute:S_}=Sa.actions,ka=Sa.reducer});var Ia,Ca,La,k_,Yc,C_,Zc,Na,kt=b(()=>{"use strict";t();Ia=require("@reduxjs/toolkit");Z();Ca={},La=(0,Ia.createSlice)({name:"modalsSlice",initialState:Ca,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(Y,()=>Ca)}}),{setTxSubmittedModal:k_,setNotificationModal:Yc,clearTxSubmittedModal:C_,clearNotificationModal:Zc}=La.actions,Na=La.reducer});var Jc,yn,Uo=b(()=>{"use strict";t();Jc=!1,yn=(e,o=0)=>{Jc||setTimeout(()=>{window.location.href=e,window.location.assign(e)},o)}});function Ke({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),c=typeof o=="function",p=c?0:Qc;r&&e!=null&&setTimeout(()=>{if(c)return o(e,n);window.location.pathname.includes(e)||yn(e)},p)}var Qc,Ea=b(()=>{"use strict";t();Uo();Qc=200});function Ct(e){return e[Math.floor(Math.random()*e.length)]}var Da=b(()=>{"use strict";t()});function go(e){let o=null;if((e==null?void 0:e.statusCode)in dt){let n=e==null?void 0:e.statusCode,{message:r}=dt[n];o=np.includes(n)?Pa:r}return{errorMessage:o,defaultErrorMessage:Pa}}var Pa,ep,op,np,It=b(()=>{"use strict";t();mt();Pa="Check if the MultiversX app is open on Ledger",ep=28161,op=28160,np=[ep,op]});var Xe=b(()=>{"use strict";t();Ea();Da();It()});var Ma,Ra,Lt,tp,Oa,G_,H_,Ba,Nt=b(()=>{"use strict";t();Ma=require("@reduxjs/toolkit"),Ra=y(require("lodash.omit"));Xe();Lt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},tp={network:Lt,chainID:"-1"},Oa=(0,Ma.createSlice)({name:"appConfig",initialState:tp,reducers:{initializeNetworkConfig:(e,o)=>{let n=Ct(o.payload.walletConnectBridgeAddresses),r=Ct(o.payload.walletConnectV2RelayAddresses),c=(0,Ra.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),c),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:G_,setChainID:H_}=Oa.actions,Ba=Oa.reducer});var Fa,Et,Ua,K_,X_,Y_,hn,xn=b(()=>{"use strict";t();Fa=require("@reduxjs/toolkit");ee();Z();Et={isSigning:!1,signedSessions:{}},Ua=(0,Fa.createSlice)({name:"signedMessageInfoSliceState",initialState:Et,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;return A(h({},e),{errorMessage:c!=null?c:e.errorMessage,isSigning:r.status==="pending",signedSessions:A(h({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>h(h({},e),o.payload),clearSignedMessageInfo:()=>Et},extraReducers:e=>{e.addCase(Y,()=>Et)}}),{setSignSession:K_,clearSignedMessageInfo:X_,setSignSessionState:Y_}=Ua.actions,hn=Ua.reducer});var Ga,Ha,Wa,$a,rp,Dt,rg,ag,ig,sg,Tn,bn=b(()=>{"use strict";t();Ga=require("@reduxjs/toolkit"),Ha=require("redux-persist");lt();ee();gn();Z();Wa={customToasts:[],transactionToasts:[],failTransactionToast:null},$a=(0,Ga.createSlice)({name:"toastsSlice",initialState:Wa,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(A(h({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:mo(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=A(h({},o.payload),{toastId:mn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(Y,()=>Wa),e.addCase(Ha.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(d=>!("component"in d)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:rp,removeCustomToast:Dt,addTransactionToast:rg,removeTransactionToast:ag,addFailTransactionToast:ig,removeFailTransactionToast:sg}=$a.actions,Tn=$a.reducer});var Va,Mt,Rt,Ot,ap,Pt,za,mg,ip,Bt,Sn,wn=b(()=>{"use strict";t();Va=require("@reduxjs/toolkit");Z();Mt="Transaction failed",Rt="Transaction successful",Ot="Processing transaction",ap="Transaction submitted",Pt={},za=(0,Va.createSlice)({name:"transactionsInfo",initialState:Pt,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||Mt,successMessage:(r==null?void 0:r.successMessage)||Rt,processingMessage:(r==null?void 0:r.processingMessage)||Ot,submittedMessage:(r==null?void 0:r.submittedMessage)||ap,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Pt},extraReducers:e=>{e.addCase(Y,()=>Pt)}}),{clearTransactionsInfo:mg,setTransactionsDisplayInfo:ip,clearTransactionsInfoForSessionId:Bt}=za.actions,Sn=za.reducer});function uo(e){return e!=null&&(gp(e)||hp(e))}function fo(e){return e!=null&&(up(e)||xp(e))}function yo(e){return e!=null&&(fp(e)||Tp(e))}function Ft(e){return e!=null&&yp(e)}function gp(e){return e!=null&&sp.includes(e)}function up(e){return e!=null&&cp.includes(e)}function fp(e){return e!=null&&pp.includes(e)}function yp(e){return e!=null&&dp.includes(e)}function hp(e){return e!=null&&mp.includes(e)}function xp(e){return e!=null&&lp.includes(e)}function Tp(e){return e!=null&&_p.includes(e)}var sp,cp,pp,dp,mp,lp,_p,ho=b(()=>{"use strict";t();B();sp=["sent"],cp=["success"],pp=["fail","cancelled","timedOut"],dp=["timedOut"],mp=["pending"],lp=["success"],_p=["fail","invalid"]});var ja,qa,Go,bp,Ka,Xa,Ya,Sp,vn,wp,vp,Tg,Ap,An,Ut,kn,Cn=b(()=>{"use strict";t();ja=require("@reduxjs/toolkit"),qa=require("redux-persist");B();ho();Z();Go={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},bp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ka=(0,ja.createSlice)({name:"transactionsSlice",initialState:Go,reducers:{moveTransactionsToSignedState:(e,o)=>{var m,g;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:d}=o.payload,_=((m=e.customTransactionInformationForSessionId)==null?void 0:m[n])||bp;e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:d,customTransactionInformation:_},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===n&&(e.transactionsToSign=Go.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=h(h({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,m,g,f,u,T;let{sessionId:n,status:r,errorMessage:c,transactionHash:p}=o.payload,d=(m=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:m.transactions;if(d!=null){e.signedTransactions[n].transactions=d.map(k=>k.hash===p?A(h({},k),{status:r,errorMessage:c}):k);let I=(f=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:f.every(k=>fo(k.status)),w=(T=(u=e.signedTransactions[n])==null?void 0:u.transactions)==null?void 0:T.every(k=>yo(k.status));I&&(e.signedTransactions[n].status="success"),w&&(e.signedTransactions[n].status="fail")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Go.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Go.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(Y,()=>Go),e.addCase(qa.REHYDRATE,(o,n)=>{var d;if(o.signTransactionsCancelMessage=null,!((d=n.payload)!=null&&d.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((_,[m,g])=>{let f=new Date(m),u=new Date;return u.setHours(u.getHours()+5),u-f>0||(_[m]=g),_},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Xa,updateSignedTransactions:Ya,setTransactionsToSign:Sp,clearAllTransactionsToSign:vn,clearAllSignedTransactions:wp,clearSignedTransaction:vp,clearTransactionToSign:Tg,setSignTransactionsError:Ap,setSignTransactionsCancelMessage:An,moveTransactionsToSignedState:Ut}=Ka.actions,kn=Ka.reducer});var D=b(()=>{"use strict";t();wt();At();kt();Nt();xn();bn();wn();Cn()});var Wt=b(()=>{"use strict";t()});var oi,ei,ni,Gt,Vg,zg,jg,qg,ti,ri,Ht=b(()=>{"use strict";t();oi=require("@reduxjs/toolkit");Z();ei={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ni=(0,oi.createSlice)({name:"dappModalsSlice",initialState:ei,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=h({},o.payload)}},extraReducers:e=>{e.addCase(Y,()=>ei)}}),{setDappModalVisibility:Gt,setDappModalHeaderVisibility:Vg,setDappModalFooterVisibility:zg,setDappModalHeaderText:jg,setDappModalFooterText:qg,setDappModalConfig:ti}=ni.actions,ri=ni.reducer});var ai,Lp,Np,xo,En=b(()=>{"use strict";t();ai=require("@reduxjs/toolkit");Wt();wt();Ht();At();kt();Nt();xn();bn();wn();Cn();Lp={["account"]:xa,["dappModal"]:ri,["loginInfo"]:ka,["modals"]:Na,["networkConfig"]:Ba,["signedMessageInfo"]:hn,["toasts"]:Tn,["transactionsInfo"]:Sn,["transactions"]:kn},Np=(e={})=>(0,ai.combineReducers)(h(h({},Lp),e)),xo=Np});var ci={};He(ci,{default:()=>Fp});function Dn(e,o=[]){return{key:e,version:1,storage:si.default,blacklist:o}}var Me,ii,si,Ep,Dp,Pp,Mp,Rp,Op,Bp,Fp,pi=b(()=>{"use strict";t();Me=require("redux-persist"),ii=y(require("redux-persist/lib/storage")),si=y(require("redux-persist/lib/storage/session"));En();D();xn();bn();wn();Cn();Wt();Ep={2:e=>A(h({},e),{networkConfig:Lt})};Dp=Dn("sdk-dapp-transactionsInfo"),Pp=Dn("sdk-dapp-transactions",["transactionsToSign"]),Mp=Dn("sdk-dapp-toasts"),Rp=Dn("sdk-dapp-signedMessageInfo"),Op={key:"sdk-dapp-store",version:2,storage:ii.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,Me.createMigrate)(Ep,{debug:!1})},Bp={["toasts"]:(0,Me.persistReducer)(Mp,Tn),["transactions"]:(0,Me.persistReducer)(Pp,kn),["transactionsInfo"]:(0,Me.persistReducer)(Dp,Sn),["signedMessageInfo"]:(0,Me.persistReducer)(Rp,hn)},Fp=(0,Me.persistReducer)(Op,xo(Bp))});var di={};He(di,{default:()=>Up});var Up,mi=b(()=>{"use strict";t();En();Up=xo()});var li={};He(li,{default:()=>Gp});var de,Wp,Gp,_i=b(()=>{"use strict";t();de=require("redux-persist"),Wp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],Gp=Wp});var fi={};He(fi,{default:()=>ui});function ui(e){return(0,gi.persistStore)(e)}var gi,yi=b(()=>{"use strict";t();gi=require("redux-persist")});var nl={};He(nl,{LedgerLoginButton:()=>ol});module.exports=Ro(nl);t();var ao=y(require("react"));De();t();t();t();var wi=require("react"),To=require("react-redux");t();var $t=require("@reduxjs/toolkit"),bi=require("react-redux/lib/utils/Subscription");D();t();var Ja=y(require("lodash.throttle"));N();t();var Za=y(require("lodash.isequal")),In=require("reselect");ee();var x=(0,In.createSelectorCreator)(In.defaultMemoize,Za.default),Ho=(e,o)=>e!=""&&Boolean(o);D();vt();_o();lo();var kp=[_n],Ln=!1,Cp=(0,Ja.default)(()=>{Fo(Bo())},5e3),Qa=e=>o=>n=>{var m;if(kp.includes(n.type))return o(n);let r=e.getState(),c=qe.local.getItem(Pe.loginExpiresAt);if(!Ho((m=r==null?void 0:r.loginInfo)==null?void 0:m.loginMethod,r==null?void 0:r.account.address))return o(n);if(c==null)return Fo(Bo());let d=Date.now();return c-d<0&&!Ln?setTimeout(()=>{Ln=!0,e.dispatch(Aa())},1e3):(Ln&&(Ln=!1),Cp()),o(n)};t();t();function Nn(){return typeof sessionStorage!="undefined"}var hi=Nn()?(pi(),Ro(ci)).default:(mi(),Ro(di)).default,xi=Nn()?(_i(),Ro(li)).default:[],Ti=Nn()?(yi(),Ro(fi)).default:e=>e;En();var C=(0,$t.configureStore)({reducer:hi,middleware:e=>e({serializableCheck:{ignoredActions:[...xi,bt.type,Tt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Qa)}),Si=(0,bi.createSubscription)(C),Tu=Ti(C),bu=(0,$t.configureStore)({reducer:xo});var Hp={store:C,subscription:Si},Vt=(0,wi.createContext)(Hp),Au=(0,To.createStoreHook)(Vt),z=(0,To.createDispatchHook)(Vt),v=(0,To.createSelectorHook)(Vt);t();t();D();var Ae=e=>e.account,bo=x(Ae,e=>e.address),Ze=x(Ae,bo,(e,o)=>o in e.accounts?e.accounts[o]:un),vi=x(Ae,Ze,(e,o)=>{let c=e,{accounts:n}=c,r=rn(c,["accounts"]);return A(h({},r),{account:o})}),$p=x(Ze,e=>e.balance),Vp=x(Ze,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),Lu=x(Ae,e=>e.shard),Ai=x(Ae,e=>e.ledgerAccount),Nu=x(Ae,e=>e.walletConnectAccount),Eu=x(Ae,e=>e.isAccountLoading),Du=x(Ae,e=>e.accountLoadingError),ki=x(Ae,e=>e.websocketEvent);t();var me=e=>e.loginInfo,Ou=x(me,e=>e.loginMethod),$o=x(me,bo,(e,o)=>Ho(e.loginMethod,o)),Bu=x(me,e=>e.walletConnectLogin),Fu=x(me,e=>e.ledgerLogin),zp=x(me,e=>e.walletLogin),Uu=x(me,e=>e.isLoginSessionInvalid),Pn=x(me,e=>e.tokenLogin),Wu=x(me,e=>e.logoutRoute);t();var Ci=e=>e.modals,$u=x(Ci,e=>e.txSubmittedModal),jp=x(Ci,e=>e.notificationModal);t();var ke=e=>e.networkConfig,Mn=x(ke,e=>e.chainID),qp=x(ke,e=>e.network.walletConnectBridgeAddress),Kp=x(ke,e=>e.network.walletConnectV2RelayAddress),Xp=x(ke,e=>e.network.walletConnectV2ProjectId),Yp=x(ke,e=>e.network.walletConnectV2Options),Ii=x(ke,e=>e.network.walletConnectDeepLink),Ce=x(ke,e=>e.network),zt=x(Ce,e=>e.apiAddress),Li=x(Ce,e=>e.explorerAddress),jt=x(Ce,e=>e.egldLabel);t();var qt=e=>e.signedMessageInfo,Ku=x(qt,e=>e.isSigning),Xu=x(qt,e=>e.errorMessage),Yu=x(qt,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var Kt=e=>e.toasts,Qu=x(Kt,e=>e.customToasts),ef=x(Kt,e=>e.transactionToasts),of=x(Kt,e=>e.failTransactionToast);t();D();var Ni={errorMessage:Mt,successMessage:Rt,processingMessage:Ot},Zp=e=>e.transactionsInfo,Jp=x(Zp,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||Ni);t();t();var ae=require("@multiversx/sdk-core");N();t();function Xt(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function So(e){return atob(e)}function Rn(e){var c,p,d;let{data:o}=e,n=Xt(o!=null?o:"")?ae.TransactionPayload.fromEncoded(o):new ae.TransactionPayload(o),r=new ae.Transaction(h({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new ae.Address(e.receiver),sender:new ae.Address(e.sender),gasLimit:(c=e.gasLimit.valueOf())!=null?c:Oo,gasPrice:(p=e.gasPrice.valueOf())!=null?p:ln,chainID:e.chainID.valueOf(),version:new ae.TransactionVersion((d=e.version)!=null?d:aa)},e.options?{options:new ae.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new ae.Address(e.sender)),r}t();ho();t();var ed=y(require("bignumber.js"));ee();t();t();t();t();var nd=require("@multiversx/sdk-core"),td=y(require("bignumber.js"));B();t();var od=require("@multiversx/sdk-core");t();t();t();var ad=require("@multiversx/sdk-core/out");t();N();t();var Pi=require("@multiversx/sdk-core");ee();t();t();t();t();B();t();t();t();t();t();t();t();var On="accounts";var Zt="blocks";t();t();t();t();Q();t();t();Q();t();t();t();var dd=y(require("bignumber.js"));N();t();var Bi=require("@multiversx/sdk-core"),Re=y(require("bignumber.js"));N();t();var Oi=y(require("bignumber.js")),Vo=(e,o=!0)=>{let n=String(e);if(!n.match(/^[-]?\d+$/))return!1;let r=new Oi.default(n),c=o?0:-1;return r.toString(10)===n&&r.comparedTo(0)>=c};t();function Ie(e){return{if:function(o){return o?{then:n=>n instanceof Function?Ie(n(e)):Ie(n)}:{then:()=>Ie(e)}},then:o=>o instanceof Function?Ie(o(e)):Ie(o),valueOf:function(){return e}}}Re.default.config({ROUNDING_MODE:Re.default.ROUND_FLOOR});function Je({input:e,decimals:o=ce,digits:n=po,showLastNonZeroDecimal:r=!0,showIsLessThanDecimalsLabel:c=!1,addCommas:p=!1}){if(!Vo(e,!1))throw new Error("Invalid input");let d=new Re.default(e).isNegative(),_=e;return d&&(_=e.substring(1)),Ie(_).then(()=>Bi.TokenPayment.fungibleFromBigInteger("",_,o).toRationalNumber()).then(m=>{let g=new Re.default(m);if(g.isZero())return xe;let f=g.toString(10),[u,T]=f.split("."),I=new Re.default(T||0),w=Ie(0).if(Boolean(T&&r)).then(()=>Math.max(T.length,n)).if(I.isZero()&&!r).then(0).if(Boolean(T&&!r)).then(()=>Math.min(T.length,n)).valueOf(),k=T&&n>=1&&n<=T.length&&I.isGreaterThan(0)&&new Re.default(T.substring(0,n)).isZero(),F=g.toFormat(w);return Ie(f).if(p).then(F).if(Boolean(k)).then(E=>{let X=new Re.default(u).isZero(),[H,oe]=E.split("."),te=new Array(n-1).fill(0),R=[...te,0].join(""),$=[...te,1].join("");return X?c?`<${H}.${$}`:r?`${H}.${oe}`:H:`${H}.${R}`}).if(Boolean(!k&&T)).then(E=>{let[X]=E.split("."),H=T.substring(0,w);if(r){let oe=n-H.length;if(oe>0){let te=Array(oe).fill(0).join("");return H=`${H}${te}`,`${X}.${H}`}return E}return H?`${X}.${H}`:X}).valueOf()}).if(d).then(m=>`-${m}`).valueOf()}t();t();t();N();t();t();t();t();N();t();N();t();var md=require("@multiversx/sdk-core");N();t();var zo=require("@multiversx/sdk-core"),gd=require("@multiversx/sdk-network-providers");N();t();t();var ld=y(require("bignumber.js"));N();t();N();t();t();t();t();t();N();t();Q();var fd=["reDelegateRewards","claimRewards","unBond"],yd=["wrapEgld","unwrapEgld"],hd=["unStake"],xd=["unDelegate"];t();t();t();N();t();var wd=y(require("bignumber.js"));t();t();t();Q();t();var vd=y(require("bignumber.js"));t();t();t();t();Q();t();t();t();var Cd=y(require("linkifyjs"));t();N();t();var Id=y(require("bignumber.js"));t();ee();t();t();B();t();B();t();t();t();Q();t();Q();t();var Ld=y(require("bignumber.js"));N();Q();t();Q();t();var Wi=require("react");ee();t();t();Q();t();var Nd=require("@multiversx/sdk-core/out"),Ed=y(require("bignumber.js"));Q();t();Q();t();t();B();var k0=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var Gi=require("react");ee();t();var Pd=require("react");Q();var P0=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Un=e=>e.transactions,wo=x(Un,e=>e.signedTransactions),Md=x(Un,e=>e.signTransactionsError),Hi=x(Un,e=>e.signTransactionsCancelMessage),Wn=e=>o=>Object.entries(o).reduce((n,[r,c])=>(e(c.status)&&(n[r]=c),n),{}),$i=x(wo,Wn(uo)),Vi=x(wo,Wn(fo)),zi=x(wo,Wn(yo)),Rd=x(wo,Wn(Ft)),ji=x(Un,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>Rn(n)))||[]})}),Od=x(wo,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});t();t();t();t();var vo=y(require("react"));var Bd=(0,vo.createContext)({}),Mb=C.getState();function Gn(){let e=(0,vo.useContext)(Bd);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}t();var qi=y(require("react"));t();var jo=()=>v(Ze);t();var Qt=y(require("react")),Fd=y(require("axios"));var Ki=()=>{try{let{loginInfo:e,isLoggedIn:o}=Gn();return A(h({},e),{isLoggedIn:o})}catch(e){let o=v(me),n=v($o);return A(h({},o),{isLoggedIn:n})}};var Xi=()=>{let{isLoggedIn:e}=Ki();return e};t();t();t();var ko=y(require("react")),rr=y(require("classnames")),os=y(require("react-dom"));t();var Ud=`.dapp-core-component__dappModalStyles__dappModal {
2
2
  position: fixed;
3
3
  z-index: 999;
4
4
  padding-top: 100px;
@@ -64,7 +64,7 @@
64
64
  color: #212529;
65
65
  background-color: #dee2e6;
66
66
  border-color: #e9ecef;
67
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ud));var le={dappModal:"dapp-core-component__dappModalStyles__dappModal",dappModalContent:"dapp-core-component__dappModalStyles__dappModalContent",dappModalHeader:"dapp-core-component__dappModalStyles__dappModalHeader",dappModalHeaderText:"dapp-core-component__dappModalStyles__dappModalHeaderText",dappModalBody:"dapp-core-component__dappModalStyles__dappModalBody",dappModalFooter:"dapp-core-component__dappModalStyles__dappModalFooter",dappModalCloseButton:"dapp-core-component__dappModalStyles__dappModalCloseButton"};t();var Yi=y(require("react")),Zi=y(require("classnames"));var Qt=({className:e,children:o})=>Yi.default.createElement("div",{className:(0,Zi.default)(le.dappModalBody,e)},o);t();var er=y(require("react")),Ji=y(require("classnames"));var or=({visible:e,customFooter:o,className:n,footerText:r})=>e?er.default.createElement("div",{className:(0,Ji.default)(le.dappModalFooter,n)},o!=null?o:er.default.createElement("div",null,r)):null;t();var vo=y(require("react")),Qi=require("@fortawesome/free-solid-svg-icons"),es=require("@fortawesome/react-fontawesome"),jo=y(require("classnames"));t();var Wd=`.dapp-core-component__main__link-style {
67
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ud));var le={dappModal:"dapp-core-component__dappModalStyles__dappModal",dappModalContent:"dapp-core-component__dappModalStyles__dappModalContent",dappModalHeader:"dapp-core-component__dappModalStyles__dappModalHeader",dappModalHeaderText:"dapp-core-component__dappModalStyles__dappModalHeaderText",dappModalBody:"dapp-core-component__dappModalStyles__dappModalBody",dappModalFooter:"dapp-core-component__dappModalStyles__dappModalFooter",dappModalCloseButton:"dapp-core-component__dappModalStyles__dappModalCloseButton"};t();var Yi=y(require("react")),Zi=y(require("classnames"));var er=({className:e,children:o})=>Yi.default.createElement("div",{className:(0,Zi.default)(le.dappModalBody,e)},o);t();var or=y(require("react")),Ji=y(require("classnames"));var nr=({visible:e,customFooter:o,className:n,footerText:r})=>e?or.default.createElement("div",{className:(0,Ji.default)(le.dappModalFooter,n)},o!=null?o:or.default.createElement("div",null,r)):null;t();var Ao=y(require("react")),Qi=require("@fortawesome/free-solid-svg-icons"),es=require("@fortawesome/react-fontawesome"),qo=y(require("classnames"));t();var Wd=`.dapp-core-component__main__link-style {
68
68
  color: #1392ff;
69
69
  }
70
70
 
@@ -2752,7 +2752,7 @@ a.dapp-core-component__main__side-link::after {
2752
2752
  right: 0;
2753
2753
  left: unset;
2754
2754
  width: calc(100% - 1.85rem);
2755
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Wd));var L={"link-style":"dapp-core-component__main__link-style",linkStyle:"dapp-core-component__main__link-style","link-second-style":"dapp-core-component__main__link-second-style",linkSecondStyle:"dapp-core-component__main__link-second-style",wrapper:"dapp-core-component__main__wrapper","opacity-6":"dapp-core-component__main__opacity-6",opacity6:"dapp-core-component__main__opacity-6","qr-code-svg-container":"dapp-core-component__main__qr-code-svg-container",qrCodeSvgContainer:"dapp-core-component__main__qr-code-svg-container","pair-list":"dapp-core-component__main__pair-list",pairList:"dapp-core-component__main__pair-list","pair-loader":"dapp-core-component__main__pair-loader",pairLoader:"dapp-core-component__main__pair-loader","pair-image":"dapp-core-component__main__pair-image",pairImage:"dapp-core-component__main__pair-image","pair-remove":"dapp-core-component__main__pair-remove",pairRemove:"dapp-core-component__main__pair-remove","dapp-icon":"dapp-core-component__main__dapp-icon",dappIcon:"dapp-core-component__main__dapp-icon","icon-medium":"dapp-core-component__main__icon-medium",iconMedium:"dapp-core-component__main__icon-medium",centering:"dapp-core-component__main__centering","border-n":"dapp-core-component__main__border-n",borderN:"dapp-core-component__main__border-n","t-shadow":"dapp-core-component__main__t-shadow",tShadow:"dapp-core-component__main__t-shadow",btn:"dapp-core-component__main__btn",media:"dapp-core-component__main__media","media-body":"dapp-core-component__main__media-body",mediaBody:"dapp-core-component__main__media-body","connect-btns":"dapp-core-component__main__connect-btns",connectBtns:"dapp-core-component__main__connect-btns",info:"dapp-core-component__main__info","trust-badge":"dapp-core-component__main__trust-badge",trustBadge:"dapp-core-component__main__trust-badge",navbar:"dapp-core-component__main__navbar","dapp-name":"dapp-core-component__main__dapp-name",dappName:"dapp-core-component__main__dapp-name","action-btn":"dapp-core-component__main__action-btn",actionBtn:"dapp-core-component__main__action-btn",transactions:"dapp-core-component__main__transactions","transaction-icon":"dapp-core-component__main__transaction-icon",transactionIcon:"dapp-core-component__main__transaction-icon",table:"dapp-core-component__main__table","page-state":"dapp-core-component__main__page-state",pageState:"dapp-core-component__main__page-state","lds-ellipsis":"dapp-core-component__main__lds-ellipsis",ldsEllipsis:"dapp-core-component__main__lds-ellipsis","bg-blue":"dapp-core-component__main__bg-blue",bgBlue:"dapp-core-component__main__bg-blue","lds-ellipsis1":"dapp-core-component__main__lds-ellipsis1",ldsEllipsis1:"dapp-core-component__main__lds-ellipsis1","lds-ellipsis2":"dapp-core-component__main__lds-ellipsis2",ldsEllipsis2:"dapp-core-component__main__lds-ellipsis2","lds-ellipsis3":"dapp-core-component__main__lds-ellipsis3",ldsEllipsis3:"dapp-core-component__main__lds-ellipsis3",focus:"dapp-core-component__main__focus",disabled:"dapp-core-component__main__disabled","btn-primary":"dapp-core-component__main__btn-primary",btnPrimary:"dapp-core-component__main__btn-primary","btn-secondary":"dapp-core-component__main__btn-secondary",btnSecondary:"dapp-core-component__main__btn-secondary","btn-warning":"dapp-core-component__main__btn-warning",btnWarning:"dapp-core-component__main__btn-warning","btn-dark":"dapp-core-component__main__btn-dark",btnDark:"dapp-core-component__main__btn-dark","btn-link":"dapp-core-component__main__btn-link",btnLink:"dapp-core-component__main__btn-link","btn-light":"dapp-core-component__main__btn-light",btnLight:"dapp-core-component__main__btn-light",badge:"dapp-core-component__main__badge","badge-pill":"dapp-core-component__main__badge-pill",badgePill:"dapp-core-component__main__badge-pill","badge-primary":"dapp-core-component__main__badge-primary",badgePrimary:"dapp-core-component__main__badge-primary","badge-secondary":"dapp-core-component__main__badge-secondary",badgeSecondary:"dapp-core-component__main__badge-secondary","badge-success":"dapp-core-component__main__badge-success",badgeSuccess:"dapp-core-component__main__badge-success","badge-info":"dapp-core-component__main__badge-info",badgeInfo:"dapp-core-component__main__badge-info","badge-warning":"dapp-core-component__main__badge-warning",badgeWarning:"dapp-core-component__main__badge-warning","badge-danger":"dapp-core-component__main__badge-danger",badgeDanger:"dapp-core-component__main__badge-danger","badge-light":"dapp-core-component__main__badge-light",badgeLight:"dapp-core-component__main__badge-light","badge-dark":"dapp-core-component__main__badge-dark",badgeDark:"dapp-core-component__main__badge-dark",card:"dapp-core-component__main__card","list-group":"dapp-core-component__main__list-group",listGroup:"dapp-core-component__main__list-group","card-header":"dapp-core-component__main__card-header",cardHeader:"dapp-core-component__main__card-header","card-footer":"dapp-core-component__main__card-footer",cardFooter:"dapp-core-component__main__card-footer","card-header-item":"dapp-core-component__main__card-header-item",cardHeaderItem:"dapp-core-component__main__card-header-item",h6:"dapp-core-component__main__h6",compact:"dapp-core-component__main__compact","card-body":"dapp-core-component__main__card-body",cardBody:"dapp-core-component__main__card-body","card-title":"dapp-core-component__main__card-title",cardTitle:"dapp-core-component__main__card-title","card-subtitle":"dapp-core-component__main__card-subtitle",cardSubtitle:"dapp-core-component__main__card-subtitle","card-text":"dapp-core-component__main__card-text",cardText:"dapp-core-component__main__card-text","card-link":"dapp-core-component__main__card-link",cardLink:"dapp-core-component__main__card-link",text:"dapp-core-component__main__text","text-white":"dapp-core-component__main__text-white",textWhite:"dapp-core-component__main__text-white","text-monospace":"dapp-core-component__main__text-monospace",textMonospace:"dapp-core-component__main__text-monospace","trim-size-xl":"dapp-core-component__main__trim-size-xl",trimSizeXl:"dapp-core-component__main__trim-size-xl",trim:"dapp-core-component__main__trim","trim-only-sm":"dapp-core-component__main__trim-only-sm",trimOnlySm:"dapp-core-component__main__trim-only-sm","text-justify":"dapp-core-component__main__text-justify",textJustify:"dapp-core-component__main__text-justify","text-wrap":"dapp-core-component__main__text-wrap",textWrap:"dapp-core-component__main__text-wrap","text-nowrap":"dapp-core-component__main__text-nowrap",textNowrap:"dapp-core-component__main__text-nowrap","text-truncate":"dapp-core-component__main__text-truncate",textTruncate:"dapp-core-component__main__text-truncate","text-left":"dapp-core-component__main__text-left",textLeft:"dapp-core-component__main__text-left","text-right":"dapp-core-component__main__text-right",textRight:"dapp-core-component__main__text-right","text-center":"dapp-core-component__main__text-center",textCenter:"dapp-core-component__main__text-center","text-primary":"dapp-core-component__main__text-primary",textPrimary:"dapp-core-component__main__text-primary","text-secondary":"dapp-core-component__main__text-secondary",textSecondary:"dapp-core-component__main__text-secondary","text-primary-highlight":"dapp-core-component__main__text-primary-highlight",textPrimaryHighlight:"dapp-core-component__main__text-primary-highlight","text-muted":"dapp-core-component__main__text-muted",textMuted:"dapp-core-component__main__text-muted","text-success":"dapp-core-component__main__text-success",textSuccess:"dapp-core-component__main__text-success","text-body":"dapp-core-component__main__text-body",textBody:"dapp-core-component__main__text-body","text-black-50":"dapp-core-component__main__text-black-50",textBlack50:"dapp-core-component__main__text-black-50","text-white-50":"dapp-core-component__main__text-white-50",textWhite50:"dapp-core-component__main__text-white-50","text-lg-right":"dapp-core-component__main__text-lg-right",textLgRight:"dapp-core-component__main__text-lg-right","text-hide":"dapp-core-component__main__text-hide",textHide:"dapp-core-component__main__text-hide","text-decoration-none":"dapp-core-component__main__text-decoration-none",textDecorationNone:"dapp-core-component__main__text-decoration-none","text-break":"dapp-core-component__main__text-break",textBreak:"dapp-core-component__main__text-break","text-reset":"dapp-core-component__main__text-reset",textReset:"dapp-core-component__main__text-reset","text-lowercase":"dapp-core-component__main__text-lowercase",textLowercase:"dapp-core-component__main__text-lowercase","text-uppercase":"dapp-core-component__main__text-uppercase",textUppercase:"dapp-core-component__main__text-uppercase","text-capitalize":"dapp-core-component__main__text-capitalize",textCapitalize:"dapp-core-component__main__text-capitalize","text-danger":"dapp-core-component__main__text-danger",textDanger:"dapp-core-component__main__text-danger","text-warning":"dapp-core-component__main__text-warning",textWarning:"dapp-core-component__main__text-warning","trim-fs-sm":"dapp-core-component__main__trim-fs-sm",trimFsSm:"dapp-core-component__main__trim-fs-sm","mx-auto":"dapp-core-component__main__mx-auto",mxAuto:"dapp-core-component__main__mx-auto","m-0":"dapp-core-component__main__m-0",m0:"dapp-core-component__main__m-0","mt-0":"dapp-core-component__main__mt-0",mt0:"dapp-core-component__main__mt-0","my-0":"dapp-core-component__main__my-0",my0:"dapp-core-component__main__my-0","mr-0":"dapp-core-component__main__mr-0",mr0:"dapp-core-component__main__mr-0","mx-0":"dapp-core-component__main__mx-0",mx0:"dapp-core-component__main__mx-0","mb-0":"dapp-core-component__main__mb-0",mb0:"dapp-core-component__main__mb-0","ml-0":"dapp-core-component__main__ml-0",ml0:"dapp-core-component__main__ml-0","m-1":"dapp-core-component__main__m-1",m1:"dapp-core-component__main__m-1","mt-1":"dapp-core-component__main__mt-1",mt1:"dapp-core-component__main__mt-1","my-1":"dapp-core-component__main__my-1",my1:"dapp-core-component__main__my-1","mr-1":"dapp-core-component__main__mr-1",mr1:"dapp-core-component__main__mr-1","mx-1":"dapp-core-component__main__mx-1",mx1:"dapp-core-component__main__mx-1","mb-1":"dapp-core-component__main__mb-1",mb1:"dapp-core-component__main__mb-1","ml-1":"dapp-core-component__main__ml-1",ml1:"dapp-core-component__main__ml-1","m-2":"dapp-core-component__main__m-2",m2:"dapp-core-component__main__m-2","mt-2":"dapp-core-component__main__mt-2",mt2:"dapp-core-component__main__mt-2","my-2":"dapp-core-component__main__my-2",my2:"dapp-core-component__main__my-2","mr-2":"dapp-core-component__main__mr-2",mr2:"dapp-core-component__main__mr-2","mx-2":"dapp-core-component__main__mx-2",mx2:"dapp-core-component__main__mx-2","mb-2":"dapp-core-component__main__mb-2",mb2:"dapp-core-component__main__mb-2","ml-2":"dapp-core-component__main__ml-2",ml2:"dapp-core-component__main__ml-2","m-3":"dapp-core-component__main__m-3",m3:"dapp-core-component__main__m-3","mt-3":"dapp-core-component__main__mt-3",mt3:"dapp-core-component__main__mt-3","my-3":"dapp-core-component__main__my-3",my3:"dapp-core-component__main__my-3","mr-3":"dapp-core-component__main__mr-3",mr3:"dapp-core-component__main__mr-3","mx-3":"dapp-core-component__main__mx-3",mx3:"dapp-core-component__main__mx-3","mb-3":"dapp-core-component__main__mb-3",mb3:"dapp-core-component__main__mb-3","ml-3":"dapp-core-component__main__ml-3",ml3:"dapp-core-component__main__ml-3","m-4":"dapp-core-component__main__m-4",m4:"dapp-core-component__main__m-4","mt-4":"dapp-core-component__main__mt-4",mt4:"dapp-core-component__main__mt-4","my-4":"dapp-core-component__main__my-4",my4:"dapp-core-component__main__my-4","mr-4":"dapp-core-component__main__mr-4",mr4:"dapp-core-component__main__mr-4","mx-4":"dapp-core-component__main__mx-4",mx4:"dapp-core-component__main__mx-4","mb-4":"dapp-core-component__main__mb-4",mb4:"dapp-core-component__main__mb-4","ml-4":"dapp-core-component__main__ml-4",ml4:"dapp-core-component__main__ml-4","m-5":"dapp-core-component__main__m-5",m5:"dapp-core-component__main__m-5","mt-5":"dapp-core-component__main__mt-5",mt5:"dapp-core-component__main__mt-5","my-5":"dapp-core-component__main__my-5",my5:"dapp-core-component__main__my-5","mr-5":"dapp-core-component__main__mr-5",mr5:"dapp-core-component__main__mr-5","mx-5":"dapp-core-component__main__mx-5",mx5:"dapp-core-component__main__mx-5","mb-5":"dapp-core-component__main__mb-5",mb5:"dapp-core-component__main__mb-5","ml-5":"dapp-core-component__main__ml-5",ml5:"dapp-core-component__main__ml-5","p-0":"dapp-core-component__main__p-0",p0:"dapp-core-component__main__p-0","pt-0":"dapp-core-component__main__pt-0",pt0:"dapp-core-component__main__pt-0","py-0":"dapp-core-component__main__py-0",py0:"dapp-core-component__main__py-0","pr-0":"dapp-core-component__main__pr-0",pr0:"dapp-core-component__main__pr-0","px-0":"dapp-core-component__main__px-0",px0:"dapp-core-component__main__px-0","pb-0":"dapp-core-component__main__pb-0",pb0:"dapp-core-component__main__pb-0","pl-0":"dapp-core-component__main__pl-0",pl0:"dapp-core-component__main__pl-0","p-1":"dapp-core-component__main__p-1",p1:"dapp-core-component__main__p-1","pt-1":"dapp-core-component__main__pt-1",pt1:"dapp-core-component__main__pt-1","py-1":"dapp-core-component__main__py-1",py1:"dapp-core-component__main__py-1","pr-1":"dapp-core-component__main__pr-1",pr1:"dapp-core-component__main__pr-1","px-1":"dapp-core-component__main__px-1",px1:"dapp-core-component__main__px-1","pb-1":"dapp-core-component__main__pb-1",pb1:"dapp-core-component__main__pb-1","pl-1":"dapp-core-component__main__pl-1",pl1:"dapp-core-component__main__pl-1","p-2":"dapp-core-component__main__p-2",p2:"dapp-core-component__main__p-2","pt-2":"dapp-core-component__main__pt-2",pt2:"dapp-core-component__main__pt-2","py-2":"dapp-core-component__main__py-2",py2:"dapp-core-component__main__py-2","pr-2":"dapp-core-component__main__pr-2",pr2:"dapp-core-component__main__pr-2","px-2":"dapp-core-component__main__px-2",px2:"dapp-core-component__main__px-2","pb-2":"dapp-core-component__main__pb-2",pb2:"dapp-core-component__main__pb-2","pl-2":"dapp-core-component__main__pl-2",pl2:"dapp-core-component__main__pl-2","p-3":"dapp-core-component__main__p-3",p3:"dapp-core-component__main__p-3","pt-3":"dapp-core-component__main__pt-3",pt3:"dapp-core-component__main__pt-3","py-3":"dapp-core-component__main__py-3",py3:"dapp-core-component__main__py-3","pr-3":"dapp-core-component__main__pr-3",pr3:"dapp-core-component__main__pr-3","px-3":"dapp-core-component__main__px-3",px3:"dapp-core-component__main__px-3","pb-3":"dapp-core-component__main__pb-3",pb3:"dapp-core-component__main__pb-3","pl-3":"dapp-core-component__main__pl-3",pl3:"dapp-core-component__main__pl-3","p-4":"dapp-core-component__main__p-4",p4:"dapp-core-component__main__p-4","pt-4":"dapp-core-component__main__pt-4",pt4:"dapp-core-component__main__pt-4","py-4":"dapp-core-component__main__py-4",py4:"dapp-core-component__main__py-4","pr-4":"dapp-core-component__main__pr-4",pr4:"dapp-core-component__main__pr-4","px-4":"dapp-core-component__main__px-4",px4:"dapp-core-component__main__px-4","pb-4":"dapp-core-component__main__pb-4",pb4:"dapp-core-component__main__pb-4","pl-4":"dapp-core-component__main__pl-4",pl4:"dapp-core-component__main__pl-4","p-5":"dapp-core-component__main__p-5",p5:"dapp-core-component__main__p-5","pt-5":"dapp-core-component__main__pt-5",pt5:"dapp-core-component__main__pt-5","py-5":"dapp-core-component__main__py-5",py5:"dapp-core-component__main__py-5","pr-5":"dapp-core-component__main__pr-5",pr5:"dapp-core-component__main__pr-5","px-5":"dapp-core-component__main__px-5",px5:"dapp-core-component__main__px-5","pb-5":"dapp-core-component__main__pb-5",pb5:"dapp-core-component__main__pb-5","pl-5":"dapp-core-component__main__pl-5",pl5:"dapp-core-component__main__pl-5","m-n1":"dapp-core-component__main__m-n1",mN1:"dapp-core-component__main__m-n1","mt-n1":"dapp-core-component__main__mt-n1",mtN1:"dapp-core-component__main__mt-n1","my-n1":"dapp-core-component__main__my-n1",myN1:"dapp-core-component__main__my-n1","mr-n1":"dapp-core-component__main__mr-n1",mrN1:"dapp-core-component__main__mr-n1","mx-n1":"dapp-core-component__main__mx-n1",mxN1:"dapp-core-component__main__mx-n1","mb-n1":"dapp-core-component__main__mb-n1",mbN1:"dapp-core-component__main__mb-n1","ml-n1":"dapp-core-component__main__ml-n1",mlN1:"dapp-core-component__main__ml-n1","m-n2":"dapp-core-component__main__m-n2",mN2:"dapp-core-component__main__m-n2","mt-n2":"dapp-core-component__main__mt-n2",mtN2:"dapp-core-component__main__mt-n2","my-n2":"dapp-core-component__main__my-n2",myN2:"dapp-core-component__main__my-n2","mr-n2":"dapp-core-component__main__mr-n2",mrN2:"dapp-core-component__main__mr-n2","mx-n2":"dapp-core-component__main__mx-n2",mxN2:"dapp-core-component__main__mx-n2","mb-n2":"dapp-core-component__main__mb-n2",mbN2:"dapp-core-component__main__mb-n2","ml-n2":"dapp-core-component__main__ml-n2",mlN2:"dapp-core-component__main__ml-n2","m-n3":"dapp-core-component__main__m-n3",mN3:"dapp-core-component__main__m-n3","mt-n3":"dapp-core-component__main__mt-n3",mtN3:"dapp-core-component__main__mt-n3","my-n3":"dapp-core-component__main__my-n3",myN3:"dapp-core-component__main__my-n3","mr-n3":"dapp-core-component__main__mr-n3",mrN3:"dapp-core-component__main__mr-n3","mx-n3":"dapp-core-component__main__mx-n3",mxN3:"dapp-core-component__main__mx-n3","mb-n3":"dapp-core-component__main__mb-n3",mbN3:"dapp-core-component__main__mb-n3","ml-n3":"dapp-core-component__main__ml-n3",mlN3:"dapp-core-component__main__ml-n3","m-n4":"dapp-core-component__main__m-n4",mN4:"dapp-core-component__main__m-n4","mt-n4":"dapp-core-component__main__mt-n4",mtN4:"dapp-core-component__main__mt-n4","my-n4":"dapp-core-component__main__my-n4",myN4:"dapp-core-component__main__my-n4","mr-n4":"dapp-core-component__main__mr-n4",mrN4:"dapp-core-component__main__mr-n4","mx-n4":"dapp-core-component__main__mx-n4",mxN4:"dapp-core-component__main__mx-n4","mb-n4":"dapp-core-component__main__mb-n4",mbN4:"dapp-core-component__main__mb-n4","ml-n4":"dapp-core-component__main__ml-n4",mlN4:"dapp-core-component__main__ml-n4","m-n5":"dapp-core-component__main__m-n5",mN5:"dapp-core-component__main__m-n5","mt-n5":"dapp-core-component__main__mt-n5",mtN5:"dapp-core-component__main__mt-n5","my-n5":"dapp-core-component__main__my-n5",myN5:"dapp-core-component__main__my-n5","mr-n5":"dapp-core-component__main__mr-n5",mrN5:"dapp-core-component__main__mr-n5","mx-n5":"dapp-core-component__main__mx-n5",mxN5:"dapp-core-component__main__mx-n5","mb-n5":"dapp-core-component__main__mb-n5",mbN5:"dapp-core-component__main__mb-n5","ml-n5":"dapp-core-component__main__ml-n5",mlN5:"dapp-core-component__main__ml-n5","m-auto":"dapp-core-component__main__m-auto",mAuto:"dapp-core-component__main__m-auto","mt-auto":"dapp-core-component__main__mt-auto",mtAuto:"dapp-core-component__main__mt-auto","my-auto":"dapp-core-component__main__my-auto",myAuto:"dapp-core-component__main__my-auto","mr-auto":"dapp-core-component__main__mr-auto",mrAuto:"dapp-core-component__main__mr-auto","mb-auto":"dapp-core-component__main__mb-auto",mbAuto:"dapp-core-component__main__mb-auto","ml-auto":"dapp-core-component__main__ml-auto",mlAuto:"dapp-core-component__main__ml-auto","mr-lg-1":"dapp-core-component__main__mr-lg-1",mrLg1:"dapp-core-component__main__mr-lg-1","mr-lg-4":"dapp-core-component__main__mr-lg-4",mrLg4:"dapp-core-component__main__mr-lg-4","mx-lg-4":"dapp-core-component__main__mx-lg-4",mxLg4:"dapp-core-component__main__mx-lg-4","mb-xl-2":"dapp-core-component__main__mb-xl-2",mbXl2:"dapp-core-component__main__mb-xl-2","pr-sm-2":"dapp-core-component__main__pr-sm-2",prSm2:"dapp-core-component__main__pr-sm-2","px-sm-2":"dapp-core-component__main__px-sm-2",pxSm2:"dapp-core-component__main__px-sm-2","pr-xl-0":"dapp-core-component__main__pr-xl-0",prXl0:"dapp-core-component__main__pr-xl-0","px-xl-0":"dapp-core-component__main__px-xl-0",pxXl0:"dapp-core-component__main__px-xl-0",col:"dapp-core-component__main__col",row:"dapp-core-component__main__row","col-xl":"dapp-core-component__main__col-xl",colXl:"dapp-core-component__main__col-xl","col-xl-auto":"dapp-core-component__main__col-xl-auto",colXlAuto:"dapp-core-component__main__col-xl-auto","col-xl-12":"dapp-core-component__main__col-xl-12",colXl12:"dapp-core-component__main__col-xl-12","col-xl-11":"dapp-core-component__main__col-xl-11",colXl11:"dapp-core-component__main__col-xl-11","col-xl-10":"dapp-core-component__main__col-xl-10",colXl10:"dapp-core-component__main__col-xl-10","col-xl-9":"dapp-core-component__main__col-xl-9",colXl9:"dapp-core-component__main__col-xl-9","col-xl-8":"dapp-core-component__main__col-xl-8",colXl8:"dapp-core-component__main__col-xl-8","col-xl-7":"dapp-core-component__main__col-xl-7",colXl7:"dapp-core-component__main__col-xl-7","col-xl-6":"dapp-core-component__main__col-xl-6",colXl6:"dapp-core-component__main__col-xl-6","col-xl-5":"dapp-core-component__main__col-xl-5",colXl5:"dapp-core-component__main__col-xl-5","col-xl-4":"dapp-core-component__main__col-xl-4",colXl4:"dapp-core-component__main__col-xl-4","col-xl-3":"dapp-core-component__main__col-xl-3",colXl3:"dapp-core-component__main__col-xl-3","col-xl-2":"dapp-core-component__main__col-xl-2",colXl2:"dapp-core-component__main__col-xl-2","col-xl-1":"dapp-core-component__main__col-xl-1",colXl1:"dapp-core-component__main__col-xl-1","col-lg":"dapp-core-component__main__col-lg",colLg:"dapp-core-component__main__col-lg","col-lg-auto":"dapp-core-component__main__col-lg-auto",colLgAuto:"dapp-core-component__main__col-lg-auto","col-lg-12":"dapp-core-component__main__col-lg-12",colLg12:"dapp-core-component__main__col-lg-12","col-lg-11":"dapp-core-component__main__col-lg-11",colLg11:"dapp-core-component__main__col-lg-11","col-lg-10":"dapp-core-component__main__col-lg-10",colLg10:"dapp-core-component__main__col-lg-10","col-lg-9":"dapp-core-component__main__col-lg-9",colLg9:"dapp-core-component__main__col-lg-9","col-lg-8":"dapp-core-component__main__col-lg-8",colLg8:"dapp-core-component__main__col-lg-8","col-lg-7":"dapp-core-component__main__col-lg-7",colLg7:"dapp-core-component__main__col-lg-7","col-lg-6":"dapp-core-component__main__col-lg-6",colLg6:"dapp-core-component__main__col-lg-6","col-lg-5":"dapp-core-component__main__col-lg-5",colLg5:"dapp-core-component__main__col-lg-5","col-lg-4":"dapp-core-component__main__col-lg-4",colLg4:"dapp-core-component__main__col-lg-4","col-lg-3":"dapp-core-component__main__col-lg-3",colLg3:"dapp-core-component__main__col-lg-3","col-lg-2":"dapp-core-component__main__col-lg-2",colLg2:"dapp-core-component__main__col-lg-2","col-lg-1":"dapp-core-component__main__col-lg-1",colLg1:"dapp-core-component__main__col-lg-1","col-md":"dapp-core-component__main__col-md",colMd:"dapp-core-component__main__col-md","col-md-auto":"dapp-core-component__main__col-md-auto",colMdAuto:"dapp-core-component__main__col-md-auto","col-md-12":"dapp-core-component__main__col-md-12",colMd12:"dapp-core-component__main__col-md-12","col-md-11":"dapp-core-component__main__col-md-11",colMd11:"dapp-core-component__main__col-md-11","col-md-10":"dapp-core-component__main__col-md-10",colMd10:"dapp-core-component__main__col-md-10","col-md-9":"dapp-core-component__main__col-md-9",colMd9:"dapp-core-component__main__col-md-9","col-md-8":"dapp-core-component__main__col-md-8",colMd8:"dapp-core-component__main__col-md-8","col-md-7":"dapp-core-component__main__col-md-7",colMd7:"dapp-core-component__main__col-md-7","col-md-6":"dapp-core-component__main__col-md-6",colMd6:"dapp-core-component__main__col-md-6","col-md-5":"dapp-core-component__main__col-md-5",colMd5:"dapp-core-component__main__col-md-5","col-md-4":"dapp-core-component__main__col-md-4",colMd4:"dapp-core-component__main__col-md-4","col-md-3":"dapp-core-component__main__col-md-3",colMd3:"dapp-core-component__main__col-md-3","col-md-2":"dapp-core-component__main__col-md-2",colMd2:"dapp-core-component__main__col-md-2","col-md-1":"dapp-core-component__main__col-md-1",colMd1:"dapp-core-component__main__col-md-1","col-sm":"dapp-core-component__main__col-sm",colSm:"dapp-core-component__main__col-sm","col-sm-auto":"dapp-core-component__main__col-sm-auto",colSmAuto:"dapp-core-component__main__col-sm-auto","col-sm-12":"dapp-core-component__main__col-sm-12",colSm12:"dapp-core-component__main__col-sm-12","col-sm-11":"dapp-core-component__main__col-sm-11",colSm11:"dapp-core-component__main__col-sm-11","col-sm-10":"dapp-core-component__main__col-sm-10",colSm10:"dapp-core-component__main__col-sm-10","col-sm-9":"dapp-core-component__main__col-sm-9",colSm9:"dapp-core-component__main__col-sm-9","col-sm-8":"dapp-core-component__main__col-sm-8",colSm8:"dapp-core-component__main__col-sm-8","col-sm-7":"dapp-core-component__main__col-sm-7",colSm7:"dapp-core-component__main__col-sm-7","col-sm-6":"dapp-core-component__main__col-sm-6",colSm6:"dapp-core-component__main__col-sm-6","col-sm-5":"dapp-core-component__main__col-sm-5",colSm5:"dapp-core-component__main__col-sm-5","col-sm-4":"dapp-core-component__main__col-sm-4",colSm4:"dapp-core-component__main__col-sm-4","col-sm-3":"dapp-core-component__main__col-sm-3",colSm3:"dapp-core-component__main__col-sm-3","col-sm-2":"dapp-core-component__main__col-sm-2",colSm2:"dapp-core-component__main__col-sm-2","col-sm-1":"dapp-core-component__main__col-sm-1",colSm1:"dapp-core-component__main__col-sm-1","col-auto":"dapp-core-component__main__col-auto",colAuto:"dapp-core-component__main__col-auto","col-12":"dapp-core-component__main__col-12",col12:"dapp-core-component__main__col-12","col-11":"dapp-core-component__main__col-11",col11:"dapp-core-component__main__col-11","col-10":"dapp-core-component__main__col-10",col10:"dapp-core-component__main__col-10","col-9":"dapp-core-component__main__col-9",col9:"dapp-core-component__main__col-9","col-8":"dapp-core-component__main__col-8",col8:"dapp-core-component__main__col-8","col-7":"dapp-core-component__main__col-7",col7:"dapp-core-component__main__col-7","col-6":"dapp-core-component__main__col-6",col6:"dapp-core-component__main__col-6","col-5":"dapp-core-component__main__col-5",col5:"dapp-core-component__main__col-5","col-4":"dapp-core-component__main__col-4",col4:"dapp-core-component__main__col-4","col-3":"dapp-core-component__main__col-3",col3:"dapp-core-component__main__col-3","col-2":"dapp-core-component__main__col-2",col2:"dapp-core-component__main__col-2","col-1":"dapp-core-component__main__col-1",col1:"dapp-core-component__main__col-1","flex-row":"dapp-core-component__main__flex-row",flexRow:"dapp-core-component__main__flex-row","flex-column":"dapp-core-component__main__flex-column",flexColumn:"dapp-core-component__main__flex-column","flex-row-reverse":"dapp-core-component__main__flex-row-reverse",flexRowReverse:"dapp-core-component__main__flex-row-reverse","flex-column-reverse":"dapp-core-component__main__flex-column-reverse",flexColumnReverse:"dapp-core-component__main__flex-column-reverse","flex-wrap":"dapp-core-component__main__flex-wrap",flexWrap:"dapp-core-component__main__flex-wrap","flex-nowrap":"dapp-core-component__main__flex-nowrap",flexNowrap:"dapp-core-component__main__flex-nowrap","flex-wrap-reverse":"dapp-core-component__main__flex-wrap-reverse",flexWrapReverse:"dapp-core-component__main__flex-wrap-reverse","flex-fill":"dapp-core-component__main__flex-fill",flexFill:"dapp-core-component__main__flex-fill","flex-grow-0":"dapp-core-component__main__flex-grow-0",flexGrow0:"dapp-core-component__main__flex-grow-0","flex-grow-1":"dapp-core-component__main__flex-grow-1",flexGrow1:"dapp-core-component__main__flex-grow-1","flex-shrink-0":"dapp-core-component__main__flex-shrink-0",flexShrink0:"dapp-core-component__main__flex-shrink-0","flex-shrink-1":"dapp-core-component__main__flex-shrink-1",flexShrink1:"dapp-core-component__main__flex-shrink-1","justify-content-start":"dapp-core-component__main__justify-content-start",justifyContentStart:"dapp-core-component__main__justify-content-start","justify-content-end":"dapp-core-component__main__justify-content-end",justifyContentEnd:"dapp-core-component__main__justify-content-end","justify-content-center":"dapp-core-component__main__justify-content-center",justifyContentCenter:"dapp-core-component__main__justify-content-center","justify-content-between":"dapp-core-component__main__justify-content-between",justifyContentBetween:"dapp-core-component__main__justify-content-between","justify-content-around":"dapp-core-component__main__justify-content-around",justifyContentAround:"dapp-core-component__main__justify-content-around","align-items-start":"dapp-core-component__main__align-items-start",alignItemsStart:"dapp-core-component__main__align-items-start","align-items-end":"dapp-core-component__main__align-items-end",alignItemsEnd:"dapp-core-component__main__align-items-end","align-items-center":"dapp-core-component__main__align-items-center",alignItemsCenter:"dapp-core-component__main__align-items-center","align-items-baseline":"dapp-core-component__main__align-items-baseline",alignItemsBaseline:"dapp-core-component__main__align-items-baseline","align-items-stretch":"dapp-core-component__main__align-items-stretch",alignItemsStretch:"dapp-core-component__main__align-items-stretch","align-content-start":"dapp-core-component__main__align-content-start",alignContentStart:"dapp-core-component__main__align-content-start","align-content-end":"dapp-core-component__main__align-content-end",alignContentEnd:"dapp-core-component__main__align-content-end","align-content-center":"dapp-core-component__main__align-content-center",alignContentCenter:"dapp-core-component__main__align-content-center","align-content-between":"dapp-core-component__main__align-content-between",alignContentBetween:"dapp-core-component__main__align-content-between","align-content-around":"dapp-core-component__main__align-content-around",alignContentAround:"dapp-core-component__main__align-content-around","align-content-stretch":"dapp-core-component__main__align-content-stretch",alignContentStretch:"dapp-core-component__main__align-content-stretch","align-self-auto":"dapp-core-component__main__align-self-auto",alignSelfAuto:"dapp-core-component__main__align-self-auto","align-self-start":"dapp-core-component__main__align-self-start",alignSelfStart:"dapp-core-component__main__align-self-start","align-self-end":"dapp-core-component__main__align-self-end",alignSelfEnd:"dapp-core-component__main__align-self-end","align-self-center":"dapp-core-component__main__align-self-center",alignSelfCenter:"dapp-core-component__main__align-self-center","align-self-baseline":"dapp-core-component__main__align-self-baseline",alignSelfBaseline:"dapp-core-component__main__align-self-baseline","align-self-stretch":"dapp-core-component__main__align-self-stretch",alignSelfStretch:"dapp-core-component__main__align-self-stretch","flex-sm-row":"dapp-core-component__main__flex-sm-row",flexSmRow:"dapp-core-component__main__flex-sm-row","flex-lg-row":"dapp-core-component__main__flex-lg-row",flexLgRow:"dapp-core-component__main__flex-lg-row","flex-lg-wrap":"dapp-core-component__main__flex-lg-wrap",flexLgWrap:"dapp-core-component__main__flex-lg-wrap","form-check":"dapp-core-component__main__form-check",formCheck:"dapp-core-component__main__form-check","form-check-label":"dapp-core-component__main__form-check-label",formCheckLabel:"dapp-core-component__main__form-check-label","form-check-input":"dapp-core-component__main__form-check-input",formCheckInput:"dapp-core-component__main__form-check-input","form-group":"dapp-core-component__main__form-group",formGroup:"dapp-core-component__main__form-group","form-control":"dapp-core-component__main__form-control",formControl:"dapp-core-component__main__form-control","form-label":"dapp-core-component__main__form-label",formLabel:"dapp-core-component__main__form-label","form-text":"dapp-core-component__main__form-text",formText:"dapp-core-component__main__form-text",border:"dapp-core-component__main__border","border-top":"dapp-core-component__main__border-top",borderTop:"dapp-core-component__main__border-top","border-right":"dapp-core-component__main__border-right",borderRight:"dapp-core-component__main__border-right","border-bottom":"dapp-core-component__main__border-bottom",borderBottom:"dapp-core-component__main__border-bottom","border-left":"dapp-core-component__main__border-left",borderLeft:"dapp-core-component__main__border-left","border-0":"dapp-core-component__main__border-0",border0:"dapp-core-component__main__border-0","border-top-0":"dapp-core-component__main__border-top-0",borderTop0:"dapp-core-component__main__border-top-0","border-right-0":"dapp-core-component__main__border-right-0",borderRight0:"dapp-core-component__main__border-right-0","border-bottom-0":"dapp-core-component__main__border-bottom-0",borderBottom0:"dapp-core-component__main__border-bottom-0","border-left-0":"dapp-core-component__main__border-left-0",borderLeft0:"dapp-core-component__main__border-left-0","rounded-sm":"dapp-core-component__main__rounded-sm",roundedSm:"dapp-core-component__main__rounded-sm",rounded:"dapp-core-component__main__rounded","rounded-top":"dapp-core-component__main__rounded-top",roundedTop:"dapp-core-component__main__rounded-top","rounded-right":"dapp-core-component__main__rounded-right",roundedRight:"dapp-core-component__main__rounded-right","rounded-bottom":"dapp-core-component__main__rounded-bottom",roundedBottom:"dapp-core-component__main__rounded-bottom","rounded-left":"dapp-core-component__main__rounded-left",roundedLeft:"dapp-core-component__main__rounded-left","rounded-lg":"dapp-core-component__main__rounded-lg",roundedLg:"dapp-core-component__main__rounded-lg","rounded-circle":"dapp-core-component__main__rounded-circle",roundedCircle:"dapp-core-component__main__rounded-circle","rounded-pill":"dapp-core-component__main__rounded-pill",roundedPill:"dapp-core-component__main__rounded-pill","rounded-0":"dapp-core-component__main__rounded-0",rounded0:"dapp-core-component__main__rounded-0",h1:"dapp-core-component__main__h1",h2:"dapp-core-component__main__h2",h3:"dapp-core-component__main__h3",h4:"dapp-core-component__main__h4",h5:"dapp-core-component__main__h5",lead:"dapp-core-component__main__lead","bg-primary":"dapp-core-component__main__bg-primary",bgPrimary:"dapp-core-component__main__bg-primary","bg-warning":"dapp-core-component__main__bg-warning",bgWarning:"dapp-core-component__main__bg-warning",warning:"dapp-core-component__main__warning","bg-danger":"dapp-core-component__main__bg-danger",bgDanger:"dapp-core-component__main__bg-danger",danger:"dapp-core-component__main__danger","bg-success":"dapp-core-component__main__bg-success",bgSuccess:"dapp-core-component__main__bg-success",success:"dapp-core-component__main__success","position-relative":"dapp-core-component__main__position-relative",positionRelative:"dapp-core-component__main__position-relative","position-absolute":"dapp-core-component__main__position-absolute",positionAbsolute:"dapp-core-component__main__position-absolute","w-25":"dapp-core-component__main__w-25",w25:"dapp-core-component__main__w-25","w-50":"dapp-core-component__main__w-50",w50:"dapp-core-component__main__w-50","w-75":"dapp-core-component__main__w-75",w75:"dapp-core-component__main__w-75","w-100":"dapp-core-component__main__w-100",w100:"dapp-core-component__main__w-100","w-auto":"dapp-core-component__main__w-auto",wAuto:"dapp-core-component__main__w-auto","h-25":"dapp-core-component__main__h-25",h25:"dapp-core-component__main__h-25","h-50":"dapp-core-component__main__h-50",h50:"dapp-core-component__main__h-50","h-75":"dapp-core-component__main__h-75",h75:"dapp-core-component__main__h-75","h-100":"dapp-core-component__main__h-100",h100:"dapp-core-component__main__h-100","h-auto":"dapp-core-component__main__h-auto",hAuto:"dapp-core-component__main__h-auto","mw-100":"dapp-core-component__main__mw-100",mw100:"dapp-core-component__main__mw-100","mh-100":"dapp-core-component__main__mh-100",mh100:"dapp-core-component__main__mh-100","min-vw-100":"dapp-core-component__main__min-vw-100",minVw100:"dapp-core-component__main__min-vw-100","min-vh-100":"dapp-core-component__main__min-vh-100",minVh100:"dapp-core-component__main__min-vh-100","vw-100":"dapp-core-component__main__vw-100",vw100:"dapp-core-component__main__vw-100","vh-100":"dapp-core-component__main__vh-100",vh100:"dapp-core-component__main__vh-100","locked-icon":"dapp-core-component__main__locked-icon",lockedIcon:"dapp-core-component__main__locked-icon","shadow-sm":"dapp-core-component__main__shadow-sm",shadowSm:"dapp-core-component__main__shadow-sm",shadow:"dapp-core-component__main__shadow","shadow-lg":"dapp-core-component__main__shadow-lg",shadowLg:"dapp-core-component__main__shadow-lg","shadow-none":"dapp-core-component__main__shadow-none",shadowNone:"dapp-core-component__main__shadow-none","d-none":"dapp-core-component__main__d-none",dNone:"dapp-core-component__main__d-none","d-inline":"dapp-core-component__main__d-inline",dInline:"dapp-core-component__main__d-inline","d-inline-block":"dapp-core-component__main__d-inline-block",dInlineBlock:"dapp-core-component__main__d-inline-block","d-block":"dapp-core-component__main__d-block",dBlock:"dapp-core-component__main__d-block","d-table":"dapp-core-component__main__d-table",dTable:"dapp-core-component__main__d-table","d-table-row":"dapp-core-component__main__d-table-row",dTableRow:"dapp-core-component__main__d-table-row","d-table-cell":"dapp-core-component__main__d-table-cell",dTableCell:"dapp-core-component__main__d-table-cell","d-flex":"dapp-core-component__main__d-flex",dFlex:"dapp-core-component__main__d-flex","d-inline-flex":"dapp-core-component__main__d-inline-flex",dInlineFlex:"dapp-core-component__main__d-inline-flex","d-sm-flex":"dapp-core-component__main__d-sm-flex",dSmFlex:"dapp-core-component__main__d-sm-flex","table-sm":"dapp-core-component__main__table-sm",tableSm:"dapp-core-component__main__table-sm","table-bordered":"dapp-core-component__main__table-bordered",tableBordered:"dapp-core-component__main__table-bordered","table-borderless":"dapp-core-component__main__table-borderless",tableBorderless:"dapp-core-component__main__table-borderless","table-striped":"dapp-core-component__main__table-striped",tableStriped:"dapp-core-component__main__table-striped","thead-dark":"dapp-core-component__main__thead-dark",theadDark:"dapp-core-component__main__thead-dark","thead-light":"dapp-core-component__main__thead-light",theadLight:"dapp-core-component__main__thead-light","table-dark":"dapp-core-component__main__table-dark",tableDark:"dapp-core-component__main__table-dark","table-hover":"dapp-core-component__main__table-hover",tableHover:"dapp-core-component__main__table-hover","table-responsive":"dapp-core-component__main__table-responsive",tableResponsive:"dapp-core-component__main__table-responsive","transaction-hash":"dapp-core-component__main__transaction-hash",transactionHash:"dapp-core-component__main__transaction-hash","font-weight-light":"dapp-core-component__main__font-weight-light",fontWeightLight:"dapp-core-component__main__font-weight-light","font-weight-lighter":"dapp-core-component__main__font-weight-lighter",fontWeightLighter:"dapp-core-component__main__font-weight-lighter","font-weight-normal":"dapp-core-component__main__font-weight-normal",fontWeightNormal:"dapp-core-component__main__font-weight-normal","font-weight-medium":"dapp-core-component__main__font-weight-medium",fontWeightMedium:"dapp-core-component__main__font-weight-medium","font-weight-bold":"dapp-core-component__main__font-weight-bold",fontWeightBold:"dapp-core-component__main__font-weight-bold","font-weight-bolder":"dapp-core-component__main__font-weight-bolder",fontWeightBolder:"dapp-core-component__main__font-weight-bolder","font-italic":"dapp-core-component__main__font-italic",fontItalic:"dapp-core-component__main__font-italic","icon-state":"dapp-core-component__main__icon-state",iconState:"dapp-core-component__main__icon-state",half:"dapp-core-component__main__half","side-icon":"dapp-core-component__main__side-icon",sideIcon:"dapp-core-component__main__side-icon","toast-messages":"dapp-core-component__main__toast-messages",toastMessages:"dapp-core-component__main__toast-messages",toast:"dapp-core-component__main__toast",clickable:"dapp-core-component__main__clickable","toast-visible":"dapp-core-component__main__toast-visible",toastVisible:"dapp-core-component__main__toast-visible",progress:"dapp-core-component__main__progress","progress-bar":"dapp-core-component__main__progress-bar",progressBar:"dapp-core-component__main__progress-bar","content-height":"dapp-core-component__main__content-height",contentHeight:"dapp-core-component__main__content-height","tx-description":"dapp-core-component__main__tx-description",txDescription:"dapp-core-component__main__tx-description",close:"dapp-core-component__main__close","data-field":"dapp-core-component__main__data-field",dataField:"dapp-core-component__main__data-field",textarea:"dapp-core-component__main__textarea",highlighted:"dapp-core-component__main__highlighted","sc-call":"dapp-core-component__main__sc-call",scCall:"dapp-core-component__main__sc-call","small-font":"dapp-core-component__main__small-font",smallFont:"dapp-core-component__main__small-font","progress-steps":"dapp-core-component__main__progress-steps",progressSteps:"dapp-core-component__main__progress-steps",steps:"dapp-core-component__main__steps",dot:"dapp-core-component__main__dot","side-link":"dapp-core-component__main__side-link",sideLink:"dapp-core-component__main__side-link"};var nr=({visible:e,headerText:o,customHeader:n,className:r,closeButtonClassName:c,headerTextClassName:p,onHide:d})=>e?n?vo.default.createElement("div",{className:(0,jo.default)(le.dappModalHeader,r)},n):vo.default.createElement("div",{className:(0,jo.default)(le.dappModalHeader,r)},vo.default.createElement("div",{className:(0,jo.default)(le.dappModalHeaderText,p)},o),vo.default.createElement("button",{onClick:d,className:(0,jo.default)(le.dappModalCloseButton,L.btn,L.btnLight,c)},vo.default.createElement(es.FontAwesomeIcon,{size:"lg",icon:Qi.faTimes}))):null;var Gd={showHeader:!0,showFooter:!1,headerText:"",footerText:""},rr=({id:e="dapp-modal",visible:o,onHide:n,parentElement:r,config:c=Gd,children:p,className:d="dapp-modal-dialog-wrapper"})=>{if(!o)return null;let{showHeader:_,showFooter:m,headerText:g,footerText:u,modalDialogClassName:f="dapp-modal-dialog",modalContentClassName:T="dapp-modal-dialog-content",modalHeaderClassName:I="dapp-modal-dialog-header",modalHeaderTextClassName:w="dapp-modal-dialog-header-text",modalCloseButtonClassName:k="dapp-modal-dialog-close-button",modalBodyClassName:F="dapp-modal-dialog-content-body",modalFooterClassName:j="dapp-modal-dialog-footer",customModalHeader:E,customModalFooter:Z}=c;return os.default.createPortal(Ao.default.createElement("div",{id:e,role:"dialog","aria-modal":"true",className:(0,tr.default)(f,le.dappModal,d)},Ao.default.createElement("div",{className:(0,tr.default)(le.dappModalContent,T)},Ao.default.createElement(nr,{visible:_,headerText:g,customHeader:E,className:I,headerTextClassName:w,closeButtonClassName:k,onHide:n}),Ao.default.createElement(Qt,{className:F},p),Ao.default.createElement(or,{visible:m,customFooter:Z,footerText:u,className:j}))),r!=null?r:document==null?void 0:document.body)};t();t();var Lo=require("react");t();t();t();var ns=require("react");t();D();t();t();t();var $d=require("react"),Vd=require("@multiversx/sdk-web-wallet-provider"),zd=y(require("qs"));N();D();O();t();var ms=require("react"),am=require("@multiversx/sdk-extension-provider");N();t();t();t();t();var jd=require("@multiversx/sdk-extension-provider"),qd=require("@multiversx/sdk-hw-provider"),Kd=require("@multiversx/sdk-opera-provider"),Xd=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Yd=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Zd=require("@multiversx/sdk-web-wallet-provider");N();O();var rs=e=>S(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let o=e.hwApp,{contractData:n,version:r}=yield o.getAppConfiguration();return{version:r,dataEnabled:n===ia}}),Ie=e=>`Unable to perform ${e}, Provider not initialized`,ar=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Ie(`login with options: ${o}`))}logout(o){throw new Error(Ie(`logout with options: ${o}`))}getAddress(){throw new Error(Ie("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(Ie(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(Ie(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(Ie(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(Ie(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(Ie(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(Ie(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},as=new ar;var Jd=as;function Ze(e){Jd=e}D();O();t();t();t();t();t();var ss=y(require("axios"));t();t();var is=e=>{let o=e!=null?e:Vt(C.getState());return o.endsWith("/")?o.slice(0,-1):o};function cs(e){return S(this,null,function*(){if(!e)return null;let n=`${is()}/${Mn}/${e}`;try{let{data:r}=yield ss.default.get(n);return r}catch(r){console.error("error fetching configuration for ",n)}return null})}function qo(e){return S(this,null,function*(){return yield cs(e)})}t();t();var ds=require("react"),om=require("@multiversx/sdk-extension-provider");N();t();t();var Ko=()=>v(vi);t();D();t();t();var sm=y(require("axios")),cm=y(require("swr"));t();t();var pm=y(require("axios"));t();var _s=require("react");t();var ls=require("react");Ct();D();Q();t();t();Fo();t();Ee();D();t();t();t();t();t();t();D();t();O();yo();t();t();t();var dm=y(require("axios"));t();var mm=y(require("axios"));t();var _m=y(require("axios"));t();t();var gm=y(require("axios"));t();var um=y(require("axios"));t();D();O();t();t();D();t();function fs(e){return S(this,null,function*(){let o=e;o==null&&(o=Xe(C.getState()).address);let n=yield qo(o);if(n==null)throw"Could not read account, user not logged in";return n==null?void 0:n.balance})}t();var ys=require("@multiversx/sdk-core");t();X();Q();t();yo();t();D();O();t();D();Q();t();var vm=require("react");t();t();t();D();t();t();var xm=y(require("bignumber.js"));N();D();Q();t();var hm=y(require("bignumber.js"));N();t();var Tm=require("@multiversx/sdk-core"),bm=y(require("bignumber.js"));N();t();t();t();var hs,Xo={hostname:typeof window!="undefined"?(hs=window==null?void 0:window.location)==null?void 0:hs.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Yo=e=>{var n,r,c,p;return e===!0?Xo:{hostname:(n=e==null?void 0:e.hostname)!=null?n:Xo.hostname,expirySeconds:(r=e==null?void 0:e.expirySeconds)!=null?r:Xo.expirySeconds,apiAddress:(c=e==null?void 0:e.apiAddress)!=null?c:Xo.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Xo.tokenExpirationToastWarningSeconds}};t();var Sm=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),ko=e=>Sm(a.Buffer.from(e,"utf8").toString("base64"));t();var xs=y(require("axios"));function Ts(e){return S(this,null,function*(){let{data:o}=yield xs.default.get(`${e}/${Yt}?size=1&fields=hash,timestamp`),[n]=o;return n})}t();t();t();function wm(e){return Object.prototype.toString.call(e)==="[object String]"}var bs=e=>{if(!e||!wm(e))return null;try{let[o,n,r]=e.split("."),c=bo(o),p=bo(n),[d,_,m,g]=p.split("."),u=JSON.parse(bo(g)),f=bo(d),T={ttl:Number(m),address:c,extraInfo:u,host:f,signature:r,blockHash:_,body:p};return g==="e30"&&delete T.extraInfo,T}catch(o){return null}};var Ss=({address:e,token:o,signature:n})=>{let r=ko(e),c=ko(o);return`${r}.${c}.${n}`};t();ln();var ws=e=>{let o=bs(e);if(!o)return{isExpired:!1};let n=po(),{ttl:r,extraInfo:c}=o,p=c.timestamp;if(!p)return{isExpired:!1};let d=p+r,_=n>d,m=d-n;return{isExpired:_,expiresAt:d,secondsUntilExpires:m}};var vs=e=>{let{hostname:o,apiAddress:n,expirySeconds:r}=Yo(e);return{getNativeAuthConfig:Yo,initialize:(...d)=>S(void 0,[...d],function*(p={}){let{hash:_,timestamp:m}=yield Ts(n),g=ko(JSON.stringify(h(h({},p),m?{timestamp:m}:{})));return`${ko(o)}.${_}.${r}.${g}`}),getToken:Ss,getTokenExpiration:ws}};O();yo();t();t();t();t();var As=require("react");t();t();var km=require("react"),Cm=require("@multiversx/sdk-extension-provider");Ee();X();O();t();function Re(){return Ho(C.getState())}qe();t();var ks=require("react"),Gn=require("@multiversx/sdk-core");D();t();var Am=(e,o)=>{var n;return o?o===!0?e:(n=o.apiAddress)!=null?n:e:null},Qe=e=>{let o=v(ke),n=v(En),r=(0,ks.useRef)(n==null?void 0:n.loginToken),c=Am(o.apiAddress,e),p=Yo(h(h({},e===!0?{}:e),c?{apiAddress:c}:{})),d=Boolean(e),_=vs(p),{address:m}=zo(),g=$(),u=w=>{r.current=w,g(gn(h({loginToken:w},c?{nativeAuthConfig:p}:{})))},f=()=>S(void 0,null,function*(){try{return yield _.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),T=({address:w,signature:k})=>{let F=r.current;if(!F)throw"Token not found. Call `setLoginToken` first.";if(!d){g(gn({loginToken:F,signature:k}));return}let j=_.getToken({address:w,token:F,signature:k});g(gn(h({loginToken:F,signature:k,nativeAuthToken:j},c?{nativeAuthConfig:p}:{})))};return{configuration:p,setLoginToken:u,getNativeAuthLoginToken:f,setTokenLoginInfo:T,refreshNativeAuthTokenLogin:k=>S(void 0,[k],function*({signMessageCallback:w}){let F=yield f();if(r.current=F,!F)return;let j=new Gn.SignableMessage({address:new Gn.Address(m),message:a.Buffer.from(F)}),E=yield w(j,{});T({address:m,signature:E.toJSON().signature})})}};t();var Im=require("react"),Lm=require("@multiversx/sdk-opera-provider");Ee();X();O();qe();t();var Dm=require("react");Ee();D();t();t();t();lt();t();t();var Nm=y(require("platform"));t();X();Q();Fo();lo();mo();t();t();t();t();t();function Cs(){return zt(C.getState())}t();Fo();t();t();t();t();lo();t();t();t();D();t();t();var Em=y(require("axios"));t();t();var Zo=require("react"),Hn=require("@multiversx/sdk-hw-provider");Ee();X();D();O();qe();t();var eo=require("react"),Pm=10,Is=()=>{let[e,o]=(0,eo.useState)(""),[n,r]=(0,eo.useState)(!1),[c,p]=(0,eo.useState)(0),[d,_]=(0,eo.useState)([]),[m,g]=(0,eo.useState)(null),[u,f]=(0,eo.useState)(!1);return{accounts:d,setAccounts:_,isLoading:n,setIsLoading:r,setShowAddressList:f,showAddressList:u,startIndex:c,selectedAddress:m,onGoToPrevPage:()=>{g(null),p(k=>k===0?0:k-1)},onGoToNextPage:()=>{g(null),p(k=>k+1)},onSelectAddress:k=>{g(k)},error:e,setError:o,defaultAddressesPerPage:Pm}};var Co="Check if the MultiversX App is open on Ledger";function cr({callbackRoute:e,token:o,addressesPerPage:n,nativeAuth:r,onLoginRedirect:c}){let p=v(Ai),d=$(),_=Re(),m=r!=null,g=Qe(r),u=o,{accounts:f,setAccounts:T,isLoading:I,setIsLoading:w,setShowAddressList:k,showAddressList:F,startIndex:j,selectedAddress:E,onGoToPrevPage:Z,onGoToNextPage:M,onSelectAddress:K,error:ie,setError:ne,defaultAddressesPerPage:Ue}=Is(),qn=n!=null?n:Ue,ro=new Hn.HWProvider,[ur,oc]=(0,Zo.useState)(""),[fr,nc]=(0,Zo.useState)(!1);function yr({provider:P,address:R,index:U,signature:Xn}){Ze(P),d(va({index:U,loginType:"ledger"})),Xn&&g.setTokenLoginInfo({signature:Xn,address:R}),d(pe({address:R,loginMethod:"ledger"})),je({callbackRoute:e,onLoginRedirect:c,options:{address:R,signature:Xn}})}let hr=(P,R="")=>{let{errorMessage:U}=_o(P);U&&ne(`${U}.${R}`),w(!1),console.warn(P),d(bt(null))};function tc(P){return S(this,null,function*(){if(E==null)return!1;let{index:R}=E;if(m&&!u&&(u=yield g.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}if(u){g.setLoginToken(u);try{let U=yield P.tokenLogin({token:a.Buffer.from(`${u}{}`),addressIndex:R});yr({address:U.address,provider:P,index:R,signature:U.signature.hex()})}catch(U){hr(U,". Update MultiversX App to continue.")}}else try{let U=yield P.login({addressIndex:R});yr({address:U,provider:P,index:R})}catch(U){return hr(U),!1}return!0})}function rc(){return S(this,null,function*(){try{if(w(!0),E==null)return!1;d(p?ha(E):bt(A(h({},E),{version:ur,hasContractDataEnabled:fr})));let P=new Hn.HWProvider;if(!(yield P.init()))return ne(Co),console.warn(Co),!1;w(!1),yield tc(P)}catch(P){let{errorMessage:R}=_o(P);R&&ne(R),console.warn(Co,P)}finally{w(!1)}return k(!1),!0})}function xr(){return S(this,null,function*(){try{if(w(!0),!(yield ro.init())){ne(Co),console.warn(Co),w(!1);return}let R=yield ro.getAccounts(j,qn),U=yield rs(ro);oc(U.version),nc(U.dataEnabled),T(R),w(!1)}catch(P){let{errorMessage:R,defaultErrorMessage:U}=_o(P);ne(R!=null?R:U),console.error("error",P),w(!1)}})}function ac(){return S(this,null,function*(){if(_)throw new Error(Ve);ne("");try{if(w(!0),p!=null){let P=new Hn.HWProvider;if(!(yield P.init())||!E){console.warn(Co);return}let U=yield P.login({addressIndex:E.index.valueOf()});if(Ze(P),!U){w(!1),console.warn("Login cancelled.");return}d(pe({address:U,loginMethod:"ledger"})),je({callbackRoute:e,onLoginRedirect:c})}else(f==null?void 0:f.length)>0||(yield xr()),k(!0)}catch(P){console.error("error ",P);let{defaultErrorMessage:R}=_o();ne(R)}finally{w(!1)}})}(0,Zo.useEffect)(()=>{xr()},[j]);let Kn=Boolean(ie);return[ac,{loginFailed:Kn,isLoggedIn:_&&!Kn,error:ie,isLoading:I&&!Kn},{accounts:f,showAddressList:F,startIndex:j,selectedAddress:E,version:ur,contractDataEnabled:fr,onGoToPrevPage:Z,onGoToNextPage:M,onSelectAddress:K,onConfirmSelectedAddress:rc}]}t();var pr=require("react"),Om=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");X();D();O();qe();t();var dr=require("react"),Bm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");X();D();O();qe();t();t();var Ls=require("react");t();var Wm=require("react");t();var mr=require("react"),Um=require("socket.io-client");D();t();t();t();t();var Ns=e=>e.dappModal,Es=x(Ns,e=>e.visible),Io=x(Ns,e=>e.modal),XN=x(Io,e=>e.showHeader),YN=x(Io,e=>e.showFooter),ZN=x(Io,e=>e.headerText),JN=x(Io,e=>e.footerText);var Ds=()=>v(Es);Gt();var $n=e=>{var _;let o=$(),n=Ds(),r=v(Io),c=()=>{o(Wt(!0))},p=()=>{o(Wt(!1))},d=(0,Lo.useCallback)(m=>{o(ti(m))},[]);return(0,Lo.useEffect)(()=>{e!=null&&e.modalConfig&&d(e==null?void 0:e.modalConfig)},[e==null?void 0:e.modalConfig]),(0,Lo.useEffect)(()=>{var m;return(m=e==null?void 0:e.config)!=null&&m.openOnMount&&c(),()=>{p()}},[]),(0,Lo.useEffect)(()=>{var m;typeof((m=e==null?void 0:e.config)==null?void 0:m.visible)=="boolean"&&(e.config.visible?c():p())},[(_=e==null?void 0:e.config)==null?void 0:_.visible]),{handleShowModal:c,handleHideModal:p,setModalConfig:d,visible:n,config:r}};t();t();var lr=y(require("react")),Ms=y(require("classnames"));t();var Gm=`.dapp-core-component__loginButtonStyles__default-login-button {
2755
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Wd));var L={"link-style":"dapp-core-component__main__link-style",linkStyle:"dapp-core-component__main__link-style","link-second-style":"dapp-core-component__main__link-second-style",linkSecondStyle:"dapp-core-component__main__link-second-style",wrapper:"dapp-core-component__main__wrapper","opacity-6":"dapp-core-component__main__opacity-6",opacity6:"dapp-core-component__main__opacity-6","qr-code-svg-container":"dapp-core-component__main__qr-code-svg-container",qrCodeSvgContainer:"dapp-core-component__main__qr-code-svg-container","pair-list":"dapp-core-component__main__pair-list",pairList:"dapp-core-component__main__pair-list","pair-loader":"dapp-core-component__main__pair-loader",pairLoader:"dapp-core-component__main__pair-loader","pair-image":"dapp-core-component__main__pair-image",pairImage:"dapp-core-component__main__pair-image","pair-remove":"dapp-core-component__main__pair-remove",pairRemove:"dapp-core-component__main__pair-remove","dapp-icon":"dapp-core-component__main__dapp-icon",dappIcon:"dapp-core-component__main__dapp-icon","icon-medium":"dapp-core-component__main__icon-medium",iconMedium:"dapp-core-component__main__icon-medium",centering:"dapp-core-component__main__centering","border-n":"dapp-core-component__main__border-n",borderN:"dapp-core-component__main__border-n","t-shadow":"dapp-core-component__main__t-shadow",tShadow:"dapp-core-component__main__t-shadow",btn:"dapp-core-component__main__btn",media:"dapp-core-component__main__media","media-body":"dapp-core-component__main__media-body",mediaBody:"dapp-core-component__main__media-body","connect-btns":"dapp-core-component__main__connect-btns",connectBtns:"dapp-core-component__main__connect-btns",info:"dapp-core-component__main__info","trust-badge":"dapp-core-component__main__trust-badge",trustBadge:"dapp-core-component__main__trust-badge",navbar:"dapp-core-component__main__navbar","dapp-name":"dapp-core-component__main__dapp-name",dappName:"dapp-core-component__main__dapp-name","action-btn":"dapp-core-component__main__action-btn",actionBtn:"dapp-core-component__main__action-btn",transactions:"dapp-core-component__main__transactions","transaction-icon":"dapp-core-component__main__transaction-icon",transactionIcon:"dapp-core-component__main__transaction-icon",table:"dapp-core-component__main__table","page-state":"dapp-core-component__main__page-state",pageState:"dapp-core-component__main__page-state","lds-ellipsis":"dapp-core-component__main__lds-ellipsis",ldsEllipsis:"dapp-core-component__main__lds-ellipsis","bg-blue":"dapp-core-component__main__bg-blue",bgBlue:"dapp-core-component__main__bg-blue","lds-ellipsis1":"dapp-core-component__main__lds-ellipsis1",ldsEllipsis1:"dapp-core-component__main__lds-ellipsis1","lds-ellipsis2":"dapp-core-component__main__lds-ellipsis2",ldsEllipsis2:"dapp-core-component__main__lds-ellipsis2","lds-ellipsis3":"dapp-core-component__main__lds-ellipsis3",ldsEllipsis3:"dapp-core-component__main__lds-ellipsis3",focus:"dapp-core-component__main__focus",disabled:"dapp-core-component__main__disabled","btn-primary":"dapp-core-component__main__btn-primary",btnPrimary:"dapp-core-component__main__btn-primary","btn-secondary":"dapp-core-component__main__btn-secondary",btnSecondary:"dapp-core-component__main__btn-secondary","btn-warning":"dapp-core-component__main__btn-warning",btnWarning:"dapp-core-component__main__btn-warning","btn-dark":"dapp-core-component__main__btn-dark",btnDark:"dapp-core-component__main__btn-dark","btn-link":"dapp-core-component__main__btn-link",btnLink:"dapp-core-component__main__btn-link","btn-light":"dapp-core-component__main__btn-light",btnLight:"dapp-core-component__main__btn-light",badge:"dapp-core-component__main__badge","badge-pill":"dapp-core-component__main__badge-pill",badgePill:"dapp-core-component__main__badge-pill","badge-primary":"dapp-core-component__main__badge-primary",badgePrimary:"dapp-core-component__main__badge-primary","badge-secondary":"dapp-core-component__main__badge-secondary",badgeSecondary:"dapp-core-component__main__badge-secondary","badge-success":"dapp-core-component__main__badge-success",badgeSuccess:"dapp-core-component__main__badge-success","badge-info":"dapp-core-component__main__badge-info",badgeInfo:"dapp-core-component__main__badge-info","badge-warning":"dapp-core-component__main__badge-warning",badgeWarning:"dapp-core-component__main__badge-warning","badge-danger":"dapp-core-component__main__badge-danger",badgeDanger:"dapp-core-component__main__badge-danger","badge-light":"dapp-core-component__main__badge-light",badgeLight:"dapp-core-component__main__badge-light","badge-dark":"dapp-core-component__main__badge-dark",badgeDark:"dapp-core-component__main__badge-dark",card:"dapp-core-component__main__card","list-group":"dapp-core-component__main__list-group",listGroup:"dapp-core-component__main__list-group","card-header":"dapp-core-component__main__card-header",cardHeader:"dapp-core-component__main__card-header","card-footer":"dapp-core-component__main__card-footer",cardFooter:"dapp-core-component__main__card-footer","card-header-item":"dapp-core-component__main__card-header-item",cardHeaderItem:"dapp-core-component__main__card-header-item",h6:"dapp-core-component__main__h6",compact:"dapp-core-component__main__compact","card-body":"dapp-core-component__main__card-body",cardBody:"dapp-core-component__main__card-body","card-title":"dapp-core-component__main__card-title",cardTitle:"dapp-core-component__main__card-title","card-subtitle":"dapp-core-component__main__card-subtitle",cardSubtitle:"dapp-core-component__main__card-subtitle","card-text":"dapp-core-component__main__card-text",cardText:"dapp-core-component__main__card-text","card-link":"dapp-core-component__main__card-link",cardLink:"dapp-core-component__main__card-link",text:"dapp-core-component__main__text","text-white":"dapp-core-component__main__text-white",textWhite:"dapp-core-component__main__text-white","text-monospace":"dapp-core-component__main__text-monospace",textMonospace:"dapp-core-component__main__text-monospace","trim-size-xl":"dapp-core-component__main__trim-size-xl",trimSizeXl:"dapp-core-component__main__trim-size-xl",trim:"dapp-core-component__main__trim","trim-only-sm":"dapp-core-component__main__trim-only-sm",trimOnlySm:"dapp-core-component__main__trim-only-sm","text-justify":"dapp-core-component__main__text-justify",textJustify:"dapp-core-component__main__text-justify","text-wrap":"dapp-core-component__main__text-wrap",textWrap:"dapp-core-component__main__text-wrap","text-nowrap":"dapp-core-component__main__text-nowrap",textNowrap:"dapp-core-component__main__text-nowrap","text-truncate":"dapp-core-component__main__text-truncate",textTruncate:"dapp-core-component__main__text-truncate","text-left":"dapp-core-component__main__text-left",textLeft:"dapp-core-component__main__text-left","text-right":"dapp-core-component__main__text-right",textRight:"dapp-core-component__main__text-right","text-center":"dapp-core-component__main__text-center",textCenter:"dapp-core-component__main__text-center","text-primary":"dapp-core-component__main__text-primary",textPrimary:"dapp-core-component__main__text-primary","text-secondary":"dapp-core-component__main__text-secondary",textSecondary:"dapp-core-component__main__text-secondary","text-primary-highlight":"dapp-core-component__main__text-primary-highlight",textPrimaryHighlight:"dapp-core-component__main__text-primary-highlight","text-muted":"dapp-core-component__main__text-muted",textMuted:"dapp-core-component__main__text-muted","text-success":"dapp-core-component__main__text-success",textSuccess:"dapp-core-component__main__text-success","text-body":"dapp-core-component__main__text-body",textBody:"dapp-core-component__main__text-body","text-black-50":"dapp-core-component__main__text-black-50",textBlack50:"dapp-core-component__main__text-black-50","text-white-50":"dapp-core-component__main__text-white-50",textWhite50:"dapp-core-component__main__text-white-50","text-lg-right":"dapp-core-component__main__text-lg-right",textLgRight:"dapp-core-component__main__text-lg-right","text-hide":"dapp-core-component__main__text-hide",textHide:"dapp-core-component__main__text-hide","text-decoration-none":"dapp-core-component__main__text-decoration-none",textDecorationNone:"dapp-core-component__main__text-decoration-none","text-break":"dapp-core-component__main__text-break",textBreak:"dapp-core-component__main__text-break","text-reset":"dapp-core-component__main__text-reset",textReset:"dapp-core-component__main__text-reset","text-lowercase":"dapp-core-component__main__text-lowercase",textLowercase:"dapp-core-component__main__text-lowercase","text-uppercase":"dapp-core-component__main__text-uppercase",textUppercase:"dapp-core-component__main__text-uppercase","text-capitalize":"dapp-core-component__main__text-capitalize",textCapitalize:"dapp-core-component__main__text-capitalize","text-danger":"dapp-core-component__main__text-danger",textDanger:"dapp-core-component__main__text-danger","text-warning":"dapp-core-component__main__text-warning",textWarning:"dapp-core-component__main__text-warning","trim-fs-sm":"dapp-core-component__main__trim-fs-sm",trimFsSm:"dapp-core-component__main__trim-fs-sm","mx-auto":"dapp-core-component__main__mx-auto",mxAuto:"dapp-core-component__main__mx-auto","m-0":"dapp-core-component__main__m-0",m0:"dapp-core-component__main__m-0","mt-0":"dapp-core-component__main__mt-0",mt0:"dapp-core-component__main__mt-0","my-0":"dapp-core-component__main__my-0",my0:"dapp-core-component__main__my-0","mr-0":"dapp-core-component__main__mr-0",mr0:"dapp-core-component__main__mr-0","mx-0":"dapp-core-component__main__mx-0",mx0:"dapp-core-component__main__mx-0","mb-0":"dapp-core-component__main__mb-0",mb0:"dapp-core-component__main__mb-0","ml-0":"dapp-core-component__main__ml-0",ml0:"dapp-core-component__main__ml-0","m-1":"dapp-core-component__main__m-1",m1:"dapp-core-component__main__m-1","mt-1":"dapp-core-component__main__mt-1",mt1:"dapp-core-component__main__mt-1","my-1":"dapp-core-component__main__my-1",my1:"dapp-core-component__main__my-1","mr-1":"dapp-core-component__main__mr-1",mr1:"dapp-core-component__main__mr-1","mx-1":"dapp-core-component__main__mx-1",mx1:"dapp-core-component__main__mx-1","mb-1":"dapp-core-component__main__mb-1",mb1:"dapp-core-component__main__mb-1","ml-1":"dapp-core-component__main__ml-1",ml1:"dapp-core-component__main__ml-1","m-2":"dapp-core-component__main__m-2",m2:"dapp-core-component__main__m-2","mt-2":"dapp-core-component__main__mt-2",mt2:"dapp-core-component__main__mt-2","my-2":"dapp-core-component__main__my-2",my2:"dapp-core-component__main__my-2","mr-2":"dapp-core-component__main__mr-2",mr2:"dapp-core-component__main__mr-2","mx-2":"dapp-core-component__main__mx-2",mx2:"dapp-core-component__main__mx-2","mb-2":"dapp-core-component__main__mb-2",mb2:"dapp-core-component__main__mb-2","ml-2":"dapp-core-component__main__ml-2",ml2:"dapp-core-component__main__ml-2","m-3":"dapp-core-component__main__m-3",m3:"dapp-core-component__main__m-3","mt-3":"dapp-core-component__main__mt-3",mt3:"dapp-core-component__main__mt-3","my-3":"dapp-core-component__main__my-3",my3:"dapp-core-component__main__my-3","mr-3":"dapp-core-component__main__mr-3",mr3:"dapp-core-component__main__mr-3","mx-3":"dapp-core-component__main__mx-3",mx3:"dapp-core-component__main__mx-3","mb-3":"dapp-core-component__main__mb-3",mb3:"dapp-core-component__main__mb-3","ml-3":"dapp-core-component__main__ml-3",ml3:"dapp-core-component__main__ml-3","m-4":"dapp-core-component__main__m-4",m4:"dapp-core-component__main__m-4","mt-4":"dapp-core-component__main__mt-4",mt4:"dapp-core-component__main__mt-4","my-4":"dapp-core-component__main__my-4",my4:"dapp-core-component__main__my-4","mr-4":"dapp-core-component__main__mr-4",mr4:"dapp-core-component__main__mr-4","mx-4":"dapp-core-component__main__mx-4",mx4:"dapp-core-component__main__mx-4","mb-4":"dapp-core-component__main__mb-4",mb4:"dapp-core-component__main__mb-4","ml-4":"dapp-core-component__main__ml-4",ml4:"dapp-core-component__main__ml-4","m-5":"dapp-core-component__main__m-5",m5:"dapp-core-component__main__m-5","mt-5":"dapp-core-component__main__mt-5",mt5:"dapp-core-component__main__mt-5","my-5":"dapp-core-component__main__my-5",my5:"dapp-core-component__main__my-5","mr-5":"dapp-core-component__main__mr-5",mr5:"dapp-core-component__main__mr-5","mx-5":"dapp-core-component__main__mx-5",mx5:"dapp-core-component__main__mx-5","mb-5":"dapp-core-component__main__mb-5",mb5:"dapp-core-component__main__mb-5","ml-5":"dapp-core-component__main__ml-5",ml5:"dapp-core-component__main__ml-5","p-0":"dapp-core-component__main__p-0",p0:"dapp-core-component__main__p-0","pt-0":"dapp-core-component__main__pt-0",pt0:"dapp-core-component__main__pt-0","py-0":"dapp-core-component__main__py-0",py0:"dapp-core-component__main__py-0","pr-0":"dapp-core-component__main__pr-0",pr0:"dapp-core-component__main__pr-0","px-0":"dapp-core-component__main__px-0",px0:"dapp-core-component__main__px-0","pb-0":"dapp-core-component__main__pb-0",pb0:"dapp-core-component__main__pb-0","pl-0":"dapp-core-component__main__pl-0",pl0:"dapp-core-component__main__pl-0","p-1":"dapp-core-component__main__p-1",p1:"dapp-core-component__main__p-1","pt-1":"dapp-core-component__main__pt-1",pt1:"dapp-core-component__main__pt-1","py-1":"dapp-core-component__main__py-1",py1:"dapp-core-component__main__py-1","pr-1":"dapp-core-component__main__pr-1",pr1:"dapp-core-component__main__pr-1","px-1":"dapp-core-component__main__px-1",px1:"dapp-core-component__main__px-1","pb-1":"dapp-core-component__main__pb-1",pb1:"dapp-core-component__main__pb-1","pl-1":"dapp-core-component__main__pl-1",pl1:"dapp-core-component__main__pl-1","p-2":"dapp-core-component__main__p-2",p2:"dapp-core-component__main__p-2","pt-2":"dapp-core-component__main__pt-2",pt2:"dapp-core-component__main__pt-2","py-2":"dapp-core-component__main__py-2",py2:"dapp-core-component__main__py-2","pr-2":"dapp-core-component__main__pr-2",pr2:"dapp-core-component__main__pr-2","px-2":"dapp-core-component__main__px-2",px2:"dapp-core-component__main__px-2","pb-2":"dapp-core-component__main__pb-2",pb2:"dapp-core-component__main__pb-2","pl-2":"dapp-core-component__main__pl-2",pl2:"dapp-core-component__main__pl-2","p-3":"dapp-core-component__main__p-3",p3:"dapp-core-component__main__p-3","pt-3":"dapp-core-component__main__pt-3",pt3:"dapp-core-component__main__pt-3","py-3":"dapp-core-component__main__py-3",py3:"dapp-core-component__main__py-3","pr-3":"dapp-core-component__main__pr-3",pr3:"dapp-core-component__main__pr-3","px-3":"dapp-core-component__main__px-3",px3:"dapp-core-component__main__px-3","pb-3":"dapp-core-component__main__pb-3",pb3:"dapp-core-component__main__pb-3","pl-3":"dapp-core-component__main__pl-3",pl3:"dapp-core-component__main__pl-3","p-4":"dapp-core-component__main__p-4",p4:"dapp-core-component__main__p-4","pt-4":"dapp-core-component__main__pt-4",pt4:"dapp-core-component__main__pt-4","py-4":"dapp-core-component__main__py-4",py4:"dapp-core-component__main__py-4","pr-4":"dapp-core-component__main__pr-4",pr4:"dapp-core-component__main__pr-4","px-4":"dapp-core-component__main__px-4",px4:"dapp-core-component__main__px-4","pb-4":"dapp-core-component__main__pb-4",pb4:"dapp-core-component__main__pb-4","pl-4":"dapp-core-component__main__pl-4",pl4:"dapp-core-component__main__pl-4","p-5":"dapp-core-component__main__p-5",p5:"dapp-core-component__main__p-5","pt-5":"dapp-core-component__main__pt-5",pt5:"dapp-core-component__main__pt-5","py-5":"dapp-core-component__main__py-5",py5:"dapp-core-component__main__py-5","pr-5":"dapp-core-component__main__pr-5",pr5:"dapp-core-component__main__pr-5","px-5":"dapp-core-component__main__px-5",px5:"dapp-core-component__main__px-5","pb-5":"dapp-core-component__main__pb-5",pb5:"dapp-core-component__main__pb-5","pl-5":"dapp-core-component__main__pl-5",pl5:"dapp-core-component__main__pl-5","m-n1":"dapp-core-component__main__m-n1",mN1:"dapp-core-component__main__m-n1","mt-n1":"dapp-core-component__main__mt-n1",mtN1:"dapp-core-component__main__mt-n1","my-n1":"dapp-core-component__main__my-n1",myN1:"dapp-core-component__main__my-n1","mr-n1":"dapp-core-component__main__mr-n1",mrN1:"dapp-core-component__main__mr-n1","mx-n1":"dapp-core-component__main__mx-n1",mxN1:"dapp-core-component__main__mx-n1","mb-n1":"dapp-core-component__main__mb-n1",mbN1:"dapp-core-component__main__mb-n1","ml-n1":"dapp-core-component__main__ml-n1",mlN1:"dapp-core-component__main__ml-n1","m-n2":"dapp-core-component__main__m-n2",mN2:"dapp-core-component__main__m-n2","mt-n2":"dapp-core-component__main__mt-n2",mtN2:"dapp-core-component__main__mt-n2","my-n2":"dapp-core-component__main__my-n2",myN2:"dapp-core-component__main__my-n2","mr-n2":"dapp-core-component__main__mr-n2",mrN2:"dapp-core-component__main__mr-n2","mx-n2":"dapp-core-component__main__mx-n2",mxN2:"dapp-core-component__main__mx-n2","mb-n2":"dapp-core-component__main__mb-n2",mbN2:"dapp-core-component__main__mb-n2","ml-n2":"dapp-core-component__main__ml-n2",mlN2:"dapp-core-component__main__ml-n2","m-n3":"dapp-core-component__main__m-n3",mN3:"dapp-core-component__main__m-n3","mt-n3":"dapp-core-component__main__mt-n3",mtN3:"dapp-core-component__main__mt-n3","my-n3":"dapp-core-component__main__my-n3",myN3:"dapp-core-component__main__my-n3","mr-n3":"dapp-core-component__main__mr-n3",mrN3:"dapp-core-component__main__mr-n3","mx-n3":"dapp-core-component__main__mx-n3",mxN3:"dapp-core-component__main__mx-n3","mb-n3":"dapp-core-component__main__mb-n3",mbN3:"dapp-core-component__main__mb-n3","ml-n3":"dapp-core-component__main__ml-n3",mlN3:"dapp-core-component__main__ml-n3","m-n4":"dapp-core-component__main__m-n4",mN4:"dapp-core-component__main__m-n4","mt-n4":"dapp-core-component__main__mt-n4",mtN4:"dapp-core-component__main__mt-n4","my-n4":"dapp-core-component__main__my-n4",myN4:"dapp-core-component__main__my-n4","mr-n4":"dapp-core-component__main__mr-n4",mrN4:"dapp-core-component__main__mr-n4","mx-n4":"dapp-core-component__main__mx-n4",mxN4:"dapp-core-component__main__mx-n4","mb-n4":"dapp-core-component__main__mb-n4",mbN4:"dapp-core-component__main__mb-n4","ml-n4":"dapp-core-component__main__ml-n4",mlN4:"dapp-core-component__main__ml-n4","m-n5":"dapp-core-component__main__m-n5",mN5:"dapp-core-component__main__m-n5","mt-n5":"dapp-core-component__main__mt-n5",mtN5:"dapp-core-component__main__mt-n5","my-n5":"dapp-core-component__main__my-n5",myN5:"dapp-core-component__main__my-n5","mr-n5":"dapp-core-component__main__mr-n5",mrN5:"dapp-core-component__main__mr-n5","mx-n5":"dapp-core-component__main__mx-n5",mxN5:"dapp-core-component__main__mx-n5","mb-n5":"dapp-core-component__main__mb-n5",mbN5:"dapp-core-component__main__mb-n5","ml-n5":"dapp-core-component__main__ml-n5",mlN5:"dapp-core-component__main__ml-n5","m-auto":"dapp-core-component__main__m-auto",mAuto:"dapp-core-component__main__m-auto","mt-auto":"dapp-core-component__main__mt-auto",mtAuto:"dapp-core-component__main__mt-auto","my-auto":"dapp-core-component__main__my-auto",myAuto:"dapp-core-component__main__my-auto","mr-auto":"dapp-core-component__main__mr-auto",mrAuto:"dapp-core-component__main__mr-auto","mb-auto":"dapp-core-component__main__mb-auto",mbAuto:"dapp-core-component__main__mb-auto","ml-auto":"dapp-core-component__main__ml-auto",mlAuto:"dapp-core-component__main__ml-auto","mr-lg-1":"dapp-core-component__main__mr-lg-1",mrLg1:"dapp-core-component__main__mr-lg-1","mr-lg-4":"dapp-core-component__main__mr-lg-4",mrLg4:"dapp-core-component__main__mr-lg-4","mx-lg-4":"dapp-core-component__main__mx-lg-4",mxLg4:"dapp-core-component__main__mx-lg-4","mb-xl-2":"dapp-core-component__main__mb-xl-2",mbXl2:"dapp-core-component__main__mb-xl-2","pr-sm-2":"dapp-core-component__main__pr-sm-2",prSm2:"dapp-core-component__main__pr-sm-2","px-sm-2":"dapp-core-component__main__px-sm-2",pxSm2:"dapp-core-component__main__px-sm-2","pr-xl-0":"dapp-core-component__main__pr-xl-0",prXl0:"dapp-core-component__main__pr-xl-0","px-xl-0":"dapp-core-component__main__px-xl-0",pxXl0:"dapp-core-component__main__px-xl-0",col:"dapp-core-component__main__col",row:"dapp-core-component__main__row","col-xl":"dapp-core-component__main__col-xl",colXl:"dapp-core-component__main__col-xl","col-xl-auto":"dapp-core-component__main__col-xl-auto",colXlAuto:"dapp-core-component__main__col-xl-auto","col-xl-12":"dapp-core-component__main__col-xl-12",colXl12:"dapp-core-component__main__col-xl-12","col-xl-11":"dapp-core-component__main__col-xl-11",colXl11:"dapp-core-component__main__col-xl-11","col-xl-10":"dapp-core-component__main__col-xl-10",colXl10:"dapp-core-component__main__col-xl-10","col-xl-9":"dapp-core-component__main__col-xl-9",colXl9:"dapp-core-component__main__col-xl-9","col-xl-8":"dapp-core-component__main__col-xl-8",colXl8:"dapp-core-component__main__col-xl-8","col-xl-7":"dapp-core-component__main__col-xl-7",colXl7:"dapp-core-component__main__col-xl-7","col-xl-6":"dapp-core-component__main__col-xl-6",colXl6:"dapp-core-component__main__col-xl-6","col-xl-5":"dapp-core-component__main__col-xl-5",colXl5:"dapp-core-component__main__col-xl-5","col-xl-4":"dapp-core-component__main__col-xl-4",colXl4:"dapp-core-component__main__col-xl-4","col-xl-3":"dapp-core-component__main__col-xl-3",colXl3:"dapp-core-component__main__col-xl-3","col-xl-2":"dapp-core-component__main__col-xl-2",colXl2:"dapp-core-component__main__col-xl-2","col-xl-1":"dapp-core-component__main__col-xl-1",colXl1:"dapp-core-component__main__col-xl-1","col-lg":"dapp-core-component__main__col-lg",colLg:"dapp-core-component__main__col-lg","col-lg-auto":"dapp-core-component__main__col-lg-auto",colLgAuto:"dapp-core-component__main__col-lg-auto","col-lg-12":"dapp-core-component__main__col-lg-12",colLg12:"dapp-core-component__main__col-lg-12","col-lg-11":"dapp-core-component__main__col-lg-11",colLg11:"dapp-core-component__main__col-lg-11","col-lg-10":"dapp-core-component__main__col-lg-10",colLg10:"dapp-core-component__main__col-lg-10","col-lg-9":"dapp-core-component__main__col-lg-9",colLg9:"dapp-core-component__main__col-lg-9","col-lg-8":"dapp-core-component__main__col-lg-8",colLg8:"dapp-core-component__main__col-lg-8","col-lg-7":"dapp-core-component__main__col-lg-7",colLg7:"dapp-core-component__main__col-lg-7","col-lg-6":"dapp-core-component__main__col-lg-6",colLg6:"dapp-core-component__main__col-lg-6","col-lg-5":"dapp-core-component__main__col-lg-5",colLg5:"dapp-core-component__main__col-lg-5","col-lg-4":"dapp-core-component__main__col-lg-4",colLg4:"dapp-core-component__main__col-lg-4","col-lg-3":"dapp-core-component__main__col-lg-3",colLg3:"dapp-core-component__main__col-lg-3","col-lg-2":"dapp-core-component__main__col-lg-2",colLg2:"dapp-core-component__main__col-lg-2","col-lg-1":"dapp-core-component__main__col-lg-1",colLg1:"dapp-core-component__main__col-lg-1","col-md":"dapp-core-component__main__col-md",colMd:"dapp-core-component__main__col-md","col-md-auto":"dapp-core-component__main__col-md-auto",colMdAuto:"dapp-core-component__main__col-md-auto","col-md-12":"dapp-core-component__main__col-md-12",colMd12:"dapp-core-component__main__col-md-12","col-md-11":"dapp-core-component__main__col-md-11",colMd11:"dapp-core-component__main__col-md-11","col-md-10":"dapp-core-component__main__col-md-10",colMd10:"dapp-core-component__main__col-md-10","col-md-9":"dapp-core-component__main__col-md-9",colMd9:"dapp-core-component__main__col-md-9","col-md-8":"dapp-core-component__main__col-md-8",colMd8:"dapp-core-component__main__col-md-8","col-md-7":"dapp-core-component__main__col-md-7",colMd7:"dapp-core-component__main__col-md-7","col-md-6":"dapp-core-component__main__col-md-6",colMd6:"dapp-core-component__main__col-md-6","col-md-5":"dapp-core-component__main__col-md-5",colMd5:"dapp-core-component__main__col-md-5","col-md-4":"dapp-core-component__main__col-md-4",colMd4:"dapp-core-component__main__col-md-4","col-md-3":"dapp-core-component__main__col-md-3",colMd3:"dapp-core-component__main__col-md-3","col-md-2":"dapp-core-component__main__col-md-2",colMd2:"dapp-core-component__main__col-md-2","col-md-1":"dapp-core-component__main__col-md-1",colMd1:"dapp-core-component__main__col-md-1","col-sm":"dapp-core-component__main__col-sm",colSm:"dapp-core-component__main__col-sm","col-sm-auto":"dapp-core-component__main__col-sm-auto",colSmAuto:"dapp-core-component__main__col-sm-auto","col-sm-12":"dapp-core-component__main__col-sm-12",colSm12:"dapp-core-component__main__col-sm-12","col-sm-11":"dapp-core-component__main__col-sm-11",colSm11:"dapp-core-component__main__col-sm-11","col-sm-10":"dapp-core-component__main__col-sm-10",colSm10:"dapp-core-component__main__col-sm-10","col-sm-9":"dapp-core-component__main__col-sm-9",colSm9:"dapp-core-component__main__col-sm-9","col-sm-8":"dapp-core-component__main__col-sm-8",colSm8:"dapp-core-component__main__col-sm-8","col-sm-7":"dapp-core-component__main__col-sm-7",colSm7:"dapp-core-component__main__col-sm-7","col-sm-6":"dapp-core-component__main__col-sm-6",colSm6:"dapp-core-component__main__col-sm-6","col-sm-5":"dapp-core-component__main__col-sm-5",colSm5:"dapp-core-component__main__col-sm-5","col-sm-4":"dapp-core-component__main__col-sm-4",colSm4:"dapp-core-component__main__col-sm-4","col-sm-3":"dapp-core-component__main__col-sm-3",colSm3:"dapp-core-component__main__col-sm-3","col-sm-2":"dapp-core-component__main__col-sm-2",colSm2:"dapp-core-component__main__col-sm-2","col-sm-1":"dapp-core-component__main__col-sm-1",colSm1:"dapp-core-component__main__col-sm-1","col-auto":"dapp-core-component__main__col-auto",colAuto:"dapp-core-component__main__col-auto","col-12":"dapp-core-component__main__col-12",col12:"dapp-core-component__main__col-12","col-11":"dapp-core-component__main__col-11",col11:"dapp-core-component__main__col-11","col-10":"dapp-core-component__main__col-10",col10:"dapp-core-component__main__col-10","col-9":"dapp-core-component__main__col-9",col9:"dapp-core-component__main__col-9","col-8":"dapp-core-component__main__col-8",col8:"dapp-core-component__main__col-8","col-7":"dapp-core-component__main__col-7",col7:"dapp-core-component__main__col-7","col-6":"dapp-core-component__main__col-6",col6:"dapp-core-component__main__col-6","col-5":"dapp-core-component__main__col-5",col5:"dapp-core-component__main__col-5","col-4":"dapp-core-component__main__col-4",col4:"dapp-core-component__main__col-4","col-3":"dapp-core-component__main__col-3",col3:"dapp-core-component__main__col-3","col-2":"dapp-core-component__main__col-2",col2:"dapp-core-component__main__col-2","col-1":"dapp-core-component__main__col-1",col1:"dapp-core-component__main__col-1","flex-row":"dapp-core-component__main__flex-row",flexRow:"dapp-core-component__main__flex-row","flex-column":"dapp-core-component__main__flex-column",flexColumn:"dapp-core-component__main__flex-column","flex-row-reverse":"dapp-core-component__main__flex-row-reverse",flexRowReverse:"dapp-core-component__main__flex-row-reverse","flex-column-reverse":"dapp-core-component__main__flex-column-reverse",flexColumnReverse:"dapp-core-component__main__flex-column-reverse","flex-wrap":"dapp-core-component__main__flex-wrap",flexWrap:"dapp-core-component__main__flex-wrap","flex-nowrap":"dapp-core-component__main__flex-nowrap",flexNowrap:"dapp-core-component__main__flex-nowrap","flex-wrap-reverse":"dapp-core-component__main__flex-wrap-reverse",flexWrapReverse:"dapp-core-component__main__flex-wrap-reverse","flex-fill":"dapp-core-component__main__flex-fill",flexFill:"dapp-core-component__main__flex-fill","flex-grow-0":"dapp-core-component__main__flex-grow-0",flexGrow0:"dapp-core-component__main__flex-grow-0","flex-grow-1":"dapp-core-component__main__flex-grow-1",flexGrow1:"dapp-core-component__main__flex-grow-1","flex-shrink-0":"dapp-core-component__main__flex-shrink-0",flexShrink0:"dapp-core-component__main__flex-shrink-0","flex-shrink-1":"dapp-core-component__main__flex-shrink-1",flexShrink1:"dapp-core-component__main__flex-shrink-1","justify-content-start":"dapp-core-component__main__justify-content-start",justifyContentStart:"dapp-core-component__main__justify-content-start","justify-content-end":"dapp-core-component__main__justify-content-end",justifyContentEnd:"dapp-core-component__main__justify-content-end","justify-content-center":"dapp-core-component__main__justify-content-center",justifyContentCenter:"dapp-core-component__main__justify-content-center","justify-content-between":"dapp-core-component__main__justify-content-between",justifyContentBetween:"dapp-core-component__main__justify-content-between","justify-content-around":"dapp-core-component__main__justify-content-around",justifyContentAround:"dapp-core-component__main__justify-content-around","align-items-start":"dapp-core-component__main__align-items-start",alignItemsStart:"dapp-core-component__main__align-items-start","align-items-end":"dapp-core-component__main__align-items-end",alignItemsEnd:"dapp-core-component__main__align-items-end","align-items-center":"dapp-core-component__main__align-items-center",alignItemsCenter:"dapp-core-component__main__align-items-center","align-items-baseline":"dapp-core-component__main__align-items-baseline",alignItemsBaseline:"dapp-core-component__main__align-items-baseline","align-items-stretch":"dapp-core-component__main__align-items-stretch",alignItemsStretch:"dapp-core-component__main__align-items-stretch","align-content-start":"dapp-core-component__main__align-content-start",alignContentStart:"dapp-core-component__main__align-content-start","align-content-end":"dapp-core-component__main__align-content-end",alignContentEnd:"dapp-core-component__main__align-content-end","align-content-center":"dapp-core-component__main__align-content-center",alignContentCenter:"dapp-core-component__main__align-content-center","align-content-between":"dapp-core-component__main__align-content-between",alignContentBetween:"dapp-core-component__main__align-content-between","align-content-around":"dapp-core-component__main__align-content-around",alignContentAround:"dapp-core-component__main__align-content-around","align-content-stretch":"dapp-core-component__main__align-content-stretch",alignContentStretch:"dapp-core-component__main__align-content-stretch","align-self-auto":"dapp-core-component__main__align-self-auto",alignSelfAuto:"dapp-core-component__main__align-self-auto","align-self-start":"dapp-core-component__main__align-self-start",alignSelfStart:"dapp-core-component__main__align-self-start","align-self-end":"dapp-core-component__main__align-self-end",alignSelfEnd:"dapp-core-component__main__align-self-end","align-self-center":"dapp-core-component__main__align-self-center",alignSelfCenter:"dapp-core-component__main__align-self-center","align-self-baseline":"dapp-core-component__main__align-self-baseline",alignSelfBaseline:"dapp-core-component__main__align-self-baseline","align-self-stretch":"dapp-core-component__main__align-self-stretch",alignSelfStretch:"dapp-core-component__main__align-self-stretch","flex-sm-row":"dapp-core-component__main__flex-sm-row",flexSmRow:"dapp-core-component__main__flex-sm-row","flex-lg-row":"dapp-core-component__main__flex-lg-row",flexLgRow:"dapp-core-component__main__flex-lg-row","flex-lg-wrap":"dapp-core-component__main__flex-lg-wrap",flexLgWrap:"dapp-core-component__main__flex-lg-wrap","form-check":"dapp-core-component__main__form-check",formCheck:"dapp-core-component__main__form-check","form-check-label":"dapp-core-component__main__form-check-label",formCheckLabel:"dapp-core-component__main__form-check-label","form-check-input":"dapp-core-component__main__form-check-input",formCheckInput:"dapp-core-component__main__form-check-input","form-group":"dapp-core-component__main__form-group",formGroup:"dapp-core-component__main__form-group","form-control":"dapp-core-component__main__form-control",formControl:"dapp-core-component__main__form-control","form-label":"dapp-core-component__main__form-label",formLabel:"dapp-core-component__main__form-label","form-text":"dapp-core-component__main__form-text",formText:"dapp-core-component__main__form-text",border:"dapp-core-component__main__border","border-top":"dapp-core-component__main__border-top",borderTop:"dapp-core-component__main__border-top","border-right":"dapp-core-component__main__border-right",borderRight:"dapp-core-component__main__border-right","border-bottom":"dapp-core-component__main__border-bottom",borderBottom:"dapp-core-component__main__border-bottom","border-left":"dapp-core-component__main__border-left",borderLeft:"dapp-core-component__main__border-left","border-0":"dapp-core-component__main__border-0",border0:"dapp-core-component__main__border-0","border-top-0":"dapp-core-component__main__border-top-0",borderTop0:"dapp-core-component__main__border-top-0","border-right-0":"dapp-core-component__main__border-right-0",borderRight0:"dapp-core-component__main__border-right-0","border-bottom-0":"dapp-core-component__main__border-bottom-0",borderBottom0:"dapp-core-component__main__border-bottom-0","border-left-0":"dapp-core-component__main__border-left-0",borderLeft0:"dapp-core-component__main__border-left-0","rounded-sm":"dapp-core-component__main__rounded-sm",roundedSm:"dapp-core-component__main__rounded-sm",rounded:"dapp-core-component__main__rounded","rounded-top":"dapp-core-component__main__rounded-top",roundedTop:"dapp-core-component__main__rounded-top","rounded-right":"dapp-core-component__main__rounded-right",roundedRight:"dapp-core-component__main__rounded-right","rounded-bottom":"dapp-core-component__main__rounded-bottom",roundedBottom:"dapp-core-component__main__rounded-bottom","rounded-left":"dapp-core-component__main__rounded-left",roundedLeft:"dapp-core-component__main__rounded-left","rounded-lg":"dapp-core-component__main__rounded-lg",roundedLg:"dapp-core-component__main__rounded-lg","rounded-circle":"dapp-core-component__main__rounded-circle",roundedCircle:"dapp-core-component__main__rounded-circle","rounded-pill":"dapp-core-component__main__rounded-pill",roundedPill:"dapp-core-component__main__rounded-pill","rounded-0":"dapp-core-component__main__rounded-0",rounded0:"dapp-core-component__main__rounded-0",h1:"dapp-core-component__main__h1",h2:"dapp-core-component__main__h2",h3:"dapp-core-component__main__h3",h4:"dapp-core-component__main__h4",h5:"dapp-core-component__main__h5",lead:"dapp-core-component__main__lead","bg-primary":"dapp-core-component__main__bg-primary",bgPrimary:"dapp-core-component__main__bg-primary","bg-warning":"dapp-core-component__main__bg-warning",bgWarning:"dapp-core-component__main__bg-warning",warning:"dapp-core-component__main__warning","bg-danger":"dapp-core-component__main__bg-danger",bgDanger:"dapp-core-component__main__bg-danger",danger:"dapp-core-component__main__danger","bg-success":"dapp-core-component__main__bg-success",bgSuccess:"dapp-core-component__main__bg-success",success:"dapp-core-component__main__success","position-relative":"dapp-core-component__main__position-relative",positionRelative:"dapp-core-component__main__position-relative","position-absolute":"dapp-core-component__main__position-absolute",positionAbsolute:"dapp-core-component__main__position-absolute","w-25":"dapp-core-component__main__w-25",w25:"dapp-core-component__main__w-25","w-50":"dapp-core-component__main__w-50",w50:"dapp-core-component__main__w-50","w-75":"dapp-core-component__main__w-75",w75:"dapp-core-component__main__w-75","w-100":"dapp-core-component__main__w-100",w100:"dapp-core-component__main__w-100","w-auto":"dapp-core-component__main__w-auto",wAuto:"dapp-core-component__main__w-auto","h-25":"dapp-core-component__main__h-25",h25:"dapp-core-component__main__h-25","h-50":"dapp-core-component__main__h-50",h50:"dapp-core-component__main__h-50","h-75":"dapp-core-component__main__h-75",h75:"dapp-core-component__main__h-75","h-100":"dapp-core-component__main__h-100",h100:"dapp-core-component__main__h-100","h-auto":"dapp-core-component__main__h-auto",hAuto:"dapp-core-component__main__h-auto","mw-100":"dapp-core-component__main__mw-100",mw100:"dapp-core-component__main__mw-100","mh-100":"dapp-core-component__main__mh-100",mh100:"dapp-core-component__main__mh-100","min-vw-100":"dapp-core-component__main__min-vw-100",minVw100:"dapp-core-component__main__min-vw-100","min-vh-100":"dapp-core-component__main__min-vh-100",minVh100:"dapp-core-component__main__min-vh-100","vw-100":"dapp-core-component__main__vw-100",vw100:"dapp-core-component__main__vw-100","vh-100":"dapp-core-component__main__vh-100",vh100:"dapp-core-component__main__vh-100","locked-icon":"dapp-core-component__main__locked-icon",lockedIcon:"dapp-core-component__main__locked-icon","shadow-sm":"dapp-core-component__main__shadow-sm",shadowSm:"dapp-core-component__main__shadow-sm",shadow:"dapp-core-component__main__shadow","shadow-lg":"dapp-core-component__main__shadow-lg",shadowLg:"dapp-core-component__main__shadow-lg","shadow-none":"dapp-core-component__main__shadow-none",shadowNone:"dapp-core-component__main__shadow-none","d-none":"dapp-core-component__main__d-none",dNone:"dapp-core-component__main__d-none","d-inline":"dapp-core-component__main__d-inline",dInline:"dapp-core-component__main__d-inline","d-inline-block":"dapp-core-component__main__d-inline-block",dInlineBlock:"dapp-core-component__main__d-inline-block","d-block":"dapp-core-component__main__d-block",dBlock:"dapp-core-component__main__d-block","d-table":"dapp-core-component__main__d-table",dTable:"dapp-core-component__main__d-table","d-table-row":"dapp-core-component__main__d-table-row",dTableRow:"dapp-core-component__main__d-table-row","d-table-cell":"dapp-core-component__main__d-table-cell",dTableCell:"dapp-core-component__main__d-table-cell","d-flex":"dapp-core-component__main__d-flex",dFlex:"dapp-core-component__main__d-flex","d-inline-flex":"dapp-core-component__main__d-inline-flex",dInlineFlex:"dapp-core-component__main__d-inline-flex","d-sm-flex":"dapp-core-component__main__d-sm-flex",dSmFlex:"dapp-core-component__main__d-sm-flex","table-sm":"dapp-core-component__main__table-sm",tableSm:"dapp-core-component__main__table-sm","table-bordered":"dapp-core-component__main__table-bordered",tableBordered:"dapp-core-component__main__table-bordered","table-borderless":"dapp-core-component__main__table-borderless",tableBorderless:"dapp-core-component__main__table-borderless","table-striped":"dapp-core-component__main__table-striped",tableStriped:"dapp-core-component__main__table-striped","thead-dark":"dapp-core-component__main__thead-dark",theadDark:"dapp-core-component__main__thead-dark","thead-light":"dapp-core-component__main__thead-light",theadLight:"dapp-core-component__main__thead-light","table-dark":"dapp-core-component__main__table-dark",tableDark:"dapp-core-component__main__table-dark","table-hover":"dapp-core-component__main__table-hover",tableHover:"dapp-core-component__main__table-hover","table-responsive":"dapp-core-component__main__table-responsive",tableResponsive:"dapp-core-component__main__table-responsive","transaction-hash":"dapp-core-component__main__transaction-hash",transactionHash:"dapp-core-component__main__transaction-hash","font-weight-light":"dapp-core-component__main__font-weight-light",fontWeightLight:"dapp-core-component__main__font-weight-light","font-weight-lighter":"dapp-core-component__main__font-weight-lighter",fontWeightLighter:"dapp-core-component__main__font-weight-lighter","font-weight-normal":"dapp-core-component__main__font-weight-normal",fontWeightNormal:"dapp-core-component__main__font-weight-normal","font-weight-medium":"dapp-core-component__main__font-weight-medium",fontWeightMedium:"dapp-core-component__main__font-weight-medium","font-weight-bold":"dapp-core-component__main__font-weight-bold",fontWeightBold:"dapp-core-component__main__font-weight-bold","font-weight-bolder":"dapp-core-component__main__font-weight-bolder",fontWeightBolder:"dapp-core-component__main__font-weight-bolder","font-italic":"dapp-core-component__main__font-italic",fontItalic:"dapp-core-component__main__font-italic","icon-state":"dapp-core-component__main__icon-state",iconState:"dapp-core-component__main__icon-state",half:"dapp-core-component__main__half","side-icon":"dapp-core-component__main__side-icon",sideIcon:"dapp-core-component__main__side-icon","toast-messages":"dapp-core-component__main__toast-messages",toastMessages:"dapp-core-component__main__toast-messages",toast:"dapp-core-component__main__toast",clickable:"dapp-core-component__main__clickable","toast-visible":"dapp-core-component__main__toast-visible",toastVisible:"dapp-core-component__main__toast-visible",progress:"dapp-core-component__main__progress","progress-bar":"dapp-core-component__main__progress-bar",progressBar:"dapp-core-component__main__progress-bar","content-height":"dapp-core-component__main__content-height",contentHeight:"dapp-core-component__main__content-height","tx-description":"dapp-core-component__main__tx-description",txDescription:"dapp-core-component__main__tx-description",close:"dapp-core-component__main__close","data-field":"dapp-core-component__main__data-field",dataField:"dapp-core-component__main__data-field",textarea:"dapp-core-component__main__textarea",highlighted:"dapp-core-component__main__highlighted","sc-call":"dapp-core-component__main__sc-call",scCall:"dapp-core-component__main__sc-call","small-font":"dapp-core-component__main__small-font",smallFont:"dapp-core-component__main__small-font","progress-steps":"dapp-core-component__main__progress-steps",progressSteps:"dapp-core-component__main__progress-steps",steps:"dapp-core-component__main__steps",dot:"dapp-core-component__main__dot","side-link":"dapp-core-component__main__side-link",sideLink:"dapp-core-component__main__side-link"};var tr=({visible:e,headerText:o,customHeader:n,className:r,closeButtonClassName:c,headerTextClassName:p,onHide:d})=>e?n?Ao.default.createElement("div",{className:(0,qo.default)(le.dappModalHeader,r)},n):Ao.default.createElement("div",{className:(0,qo.default)(le.dappModalHeader,r)},Ao.default.createElement("div",{className:(0,qo.default)(le.dappModalHeaderText,p)},o),Ao.default.createElement("button",{onClick:d,className:(0,qo.default)(le.dappModalCloseButton,L.btn,L.btnLight,c)},Ao.default.createElement(es.FontAwesomeIcon,{size:"lg",icon:Qi.faTimes}))):null;var Gd={showHeader:!0,showFooter:!1,headerText:"",footerText:""},ar=({id:e="dapp-modal",visible:o,onHide:n,parentElement:r,config:c=Gd,children:p,className:d="dapp-modal-dialog-wrapper"})=>{if(!o)return null;let{showHeader:_,showFooter:m,headerText:g,footerText:f,modalDialogClassName:u="dapp-modal-dialog",modalContentClassName:T="dapp-modal-dialog-content",modalHeaderClassName:I="dapp-modal-dialog-header",modalHeaderTextClassName:w="dapp-modal-dialog-header-text",modalCloseButtonClassName:k="dapp-modal-dialog-close-button",modalBodyClassName:F="dapp-modal-dialog-content-body",modalFooterClassName:K="dapp-modal-dialog-footer",customModalHeader:E,customModalFooter:X}=c;return os.default.createPortal(ko.default.createElement("div",{id:e,role:"dialog","aria-modal":"true",className:(0,rr.default)(u,le.dappModal,d)},ko.default.createElement("div",{className:(0,rr.default)(le.dappModalContent,T)},ko.default.createElement(tr,{visible:_,headerText:g,customHeader:E,className:I,headerTextClassName:w,closeButtonClassName:k,onHide:n}),ko.default.createElement(er,{className:F},p),ko.default.createElement(nr,{visible:m,customFooter:X,footerText:f,className:K}))),r!=null?r:document==null?void 0:document.body)};t();t();var No=require("react");t();t();t();var ns=require("react");t();D();t();t();t();var $d=require("react"),Vd=require("@multiversx/sdk-web-wallet-provider"),zd=y(require("qs"));N();D();B();t();var ms=require("react"),am=require("@multiversx/sdk-extension-provider");N();t();t();t();t();var jd=require("@multiversx/sdk-extension-provider"),qd=require("@multiversx/sdk-hw-provider"),Kd=require("@multiversx/sdk-opera-provider"),Xd=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Yd=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Zd=require("@multiversx/sdk-web-wallet-provider");N();B();var rs=e=>S(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let o=e.hwApp,{contractData:n,version:r}=yield o.getAppConfiguration();return{version:r,dataEnabled:n===ia}}),Le=e=>`Unable to perform ${e}, Provider not initialized`,ir=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Le(`login with options: ${o}`))}logout(o){throw new Error(Le(`logout with options: ${o}`))}getAddress(){throw new Error(Le("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(Le(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(Le(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(Le(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(Le(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(Le(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(Le(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},as=new ir;var Jd=as;function Qe(e){Jd=e}D();B();t();t();t();t();t();var ss=y(require("axios"));t();t();var is=e=>{let o=e!=null?e:zt(C.getState());return o.endsWith("/")?o.slice(0,-1):o};function cs(e){return S(this,null,function*(){if(!e)return null;let n=`${is()}/${On}/${e}`;try{let{data:r}=yield ss.default.get(n);return r}catch(r){console.error("error fetching configuration for ",n)}return null})}function Ko(e){return S(this,null,function*(){return yield cs(e)})}t();t();var ds=require("react"),om=require("@multiversx/sdk-extension-provider");N();t();t();var Xo=()=>v(vi);t();D();t();t();var sm=y(require("axios")),cm=y(require("swr"));t();t();var pm=y(require("axios"));t();var _s=require("react");t();var ls=require("react");It();D();ee();t();t();Uo();t();De();D();t();t();t();t();t();t();D();t();B();ho();t();t();t();var dm=y(require("axios"));t();var mm=y(require("axios"));t();var _m=y(require("axios"));t();t();var gm=y(require("axios"));t();var um=y(require("axios"));t();D();B();t();t();D();t();function fs(e){return S(this,null,function*(){let o=e;o==null&&(o=Ze(C.getState()).address);let n=yield Ko(o);if(n==null)throw"Could not read account, user not logged in";return n==null?void 0:n.balance})}t();var ys=require("@multiversx/sdk-core");t();Z();ee();t();ho();t();D();B();t();D();ee();t();var vm=require("react");t();t();t();D();t();t();var xm=y(require("bignumber.js"));N();D();ee();t();var hm=y(require("bignumber.js"));N();t();var Tm=require("@multiversx/sdk-core"),bm=y(require("bignumber.js"));N();t();t();t();var hs,Yo={hostname:typeof window!="undefined"?(hs=window==null?void 0:window.location)==null?void 0:hs.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Zo=e=>{var n,r,c,p;return e===!0?Yo:{hostname:(n=e==null?void 0:e.hostname)!=null?n:Yo.hostname,expirySeconds:(r=e==null?void 0:e.expirySeconds)!=null?r:Yo.expirySeconds,apiAddress:(c=e==null?void 0:e.apiAddress)!=null?c:Yo.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Yo.tokenExpirationToastWarningSeconds}};t();var Sm=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Co=e=>Sm(a.Buffer.from(e,"utf8").toString("base64"));t();var xs=y(require("axios"));function Ts(e){return S(this,null,function*(){let{data:o}=yield xs.default.get(`${e}/${Zt}?size=1&fields=hash,timestamp`),[n]=o;return n})}t();t();t();function wm(e){return Object.prototype.toString.call(e)==="[object String]"}var bs=e=>{if(!e||!wm(e))return null;try{let[o,n,r]=e.split("."),c=So(o),p=So(n),[d,_,m,g]=p.split("."),f=JSON.parse(So(g)),u=So(d),T={ttl:Number(m),address:c,extraInfo:f,host:u,signature:r,blockHash:_,body:p};return g==="e30"&&delete T.extraInfo,T}catch(o){return null}};var Ss=({address:e,token:o,signature:n})=>{let r=Co(e),c=Co(o);return`${r}.${c}.${n}`};t();gn();var ws=e=>{let o=bs(e);if(!o)return{isExpired:!1};let n=mo(),{ttl:r,extraInfo:c}=o,p=c.timestamp;if(!p)return{isExpired:!1};let d=p+r,_=n>d,m=d-n;return{isExpired:_,expiresAt:d,secondsUntilExpires:m}};var vs=e=>{let{hostname:o,apiAddress:n,expirySeconds:r}=Zo(e);return{getNativeAuthConfig:Zo,initialize:(...d)=>S(void 0,[...d],function*(p={}){let{hash:_,timestamp:m}=yield Ts(n),g=Co(JSON.stringify(h(h({},p),m?{timestamp:m}:{})));return`${Co(o)}.${_}.${r}.${g}`}),getToken:Ss,getTokenExpiration:ws}};B();ho();t();t();t();t();var As=require("react");t();t();var km=require("react"),Cm=require("@multiversx/sdk-extension-provider");De();Z();B();t();function Oe(){return $o(C.getState())}Xe();t();var ks=require("react"),$n=require("@multiversx/sdk-core");D();t();var Am=(e,o)=>{var n;return o?o===!0?e:(n=o.apiAddress)!=null?n:e:null},oo=e=>{let o=v(Ce),n=v(Pn),r=(0,ks.useRef)(n==null?void 0:n.loginToken),c=Am(o.apiAddress,e),p=Zo(h(h({},e===!0?{}:e),c?{apiAddress:c}:{})),d=Boolean(e),_=vs(p),{address:m}=jo(),g=z(),f=w=>{r.current=w,g(fn(h({loginToken:w},c?{nativeAuthConfig:p}:{})))},u=()=>S(void 0,null,function*(){try{return yield _.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),T=({address:w,signature:k})=>{let F=r.current;if(!F)throw"Token not found. Call `setLoginToken` first.";if(!d){g(fn({loginToken:F,signature:k}));return}let K=_.getToken({address:w,token:F,signature:k});g(fn(h({loginToken:F,signature:k,nativeAuthToken:K},c?{nativeAuthConfig:p}:{})))};return{configuration:p,setLoginToken:f,getNativeAuthLoginToken:u,setTokenLoginInfo:T,refreshNativeAuthTokenLogin:k=>S(void 0,[k],function*({signMessageCallback:w}){let F=yield u();if(r.current=F,!F)return;let K=new $n.SignableMessage({address:new $n.Address(m),message:a.Buffer.from(F)}),E=yield w(K,{});T({address:m,signature:E.toJSON().signature})})}};t();var Im=require("react"),Lm=require("@multiversx/sdk-opera-provider");De();Z();B();Xe();t();var Dm=require("react");De();D();t();t();t();_t();t();t();var Nm=y(require("platform"));t();Z();ee();Uo();_o();lo();t();t();t();t();t();function Cs(){return jt(C.getState())}t();Uo();t();t();t();t();_o();t();t();t();D();t();t();var Em=y(require("axios"));t();t();var Jo=require("react"),Vn=require("@multiversx/sdk-hw-provider");De();Z();D();B();Xe();t();var no=require("react"),Pm=10,Is=()=>{let[e,o]=(0,no.useState)(""),[n,r]=(0,no.useState)(!1),[c,p]=(0,no.useState)(0),[d,_]=(0,no.useState)([]),[m,g]=(0,no.useState)(null),[f,u]=(0,no.useState)(!1);return{accounts:d,setAccounts:_,isLoading:n,setIsLoading:r,setShowAddressList:u,showAddressList:f,startIndex:c,selectedAddress:m,onGoToPrevPage:()=>{g(null),p(k=>k===0?0:k-1)},onGoToNextPage:()=>{g(null),p(k=>k+1)},onSelectAddress:k=>{g(k)},error:e,setError:o,defaultAddressesPerPage:Pm}};var Io="Check if the MultiversX App is open on Ledger";function pr({callbackRoute:e,token:o,addressesPerPage:n,nativeAuth:r,onLoginRedirect:c}){let p=v(Ai),d=z(),_=Oe(),m=r!=null,g=oo(r),f=o,{accounts:u,setAccounts:T,isLoading:I,setIsLoading:w,setShowAddressList:k,showAddressList:F,startIndex:K,selectedAddress:E,onGoToPrevPage:X,onGoToNextPage:H,onSelectAddress:oe,error:te,setError:R,defaultAddressesPerPage:$}=Is(),We=n!=null?n:$,Ge=new Vn.HWProvider,[nn,oc]=(0,Jo.useState)(""),[fr,nc]=(0,Jo.useState)(!1);function yr({provider:P,address:O,index:U,signature:Yn}){Qe(P),d(va({index:U,loginType:"ledger"})),Yn&&g.setTokenLoginInfo({signature:Yn,address:O}),d(pe({address:O,loginMethod:"ledger"})),Ke({callbackRoute:e,onLoginRedirect:c,options:{address:O,signature:Yn}})}let hr=(P,O="")=>{let{errorMessage:U}=go(P);U&&R(`${U}.${O}`),w(!1),console.warn(P),d(St(null))};function tc(P){return S(this,null,function*(){if(E==null)return!1;let{index:O}=E;if(m&&!f&&(f=yield g.getNativeAuthLoginToken(),!f)){console.warn("Fetching block failed. Login cancelled.");return}if(f){g.setLoginToken(f);try{let U=yield P.tokenLogin({token:a.Buffer.from(`${f}{}`),addressIndex:O});yr({address:U.address,provider:P,index:O,signature:U.signature.hex()})}catch(U){hr(U,". Update MultiversX App to continue.")}}else try{let U=yield P.login({addressIndex:O});yr({address:U,provider:P,index:O})}catch(U){return hr(U),!1}return!0})}function rc(){return S(this,null,function*(){try{if(w(!0),E==null)return!1;d(p?ha(E):St(A(h({},E),{version:nn,hasContractDataEnabled:fr})));let P=new Vn.HWProvider;if(!(yield P.init()))return R(Io),console.warn(Io),!1;w(!1),yield tc(P)}catch(P){let{errorMessage:O}=go(P);O&&R(O),console.warn(Io,P)}finally{w(!1)}return k(!1),!0})}function xr(){return S(this,null,function*(){try{if(w(!0),!(yield Ge.init())){R(Io),console.warn(Io),w(!1);return}let O=yield Ge.getAccounts(K,We),U=yield rs(Ge);oc(U.version),nc(U.dataEnabled),T(O),w(!1)}catch(P){let{errorMessage:O,defaultErrorMessage:U}=go(P);R(O!=null?O:U),console.error("error",P),w(!1)}})}function ac(){return S(this,null,function*(){if(_)throw new Error(je);R("");try{if(w(!0),p!=null){let P=new Vn.HWProvider;if(!(yield P.init())||!E){console.warn(Io);return}let U=yield P.login({addressIndex:E.index.valueOf()});if(Qe(P),!U){w(!1),console.warn("Login cancelled.");return}d(pe({address:U,loginMethod:"ledger"})),Ke({callbackRoute:e,onLoginRedirect:c})}else(u==null?void 0:u.length)>0||(yield xr()),k(!0)}catch(P){console.error("error ",P);let{defaultErrorMessage:O}=go();R(O)}finally{w(!1)}})}(0,Jo.useEffect)(()=>{xr()},[K]);let Xn=Boolean(te);return[ac,{loginFailed:Xn,isLoggedIn:_&&!Xn,error:te,isLoading:I&&!Xn},{accounts:u,showAddressList:F,startIndex:K,selectedAddress:E,version:nn,contractDataEnabled:fr,onGoToPrevPage:X,onGoToNextPage:H,onSelectAddress:oe,onConfirmSelectedAddress:rc}]}t();var dr=require("react"),Om=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");Z();D();B();Xe();t();var mr=require("react"),Bm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");Z();D();B();Xe();t();t();var Ls=require("react");t();var Wm=require("react");t();var lr=require("react"),Um=require("socket.io-client");D();t();t();t();t();var Ns=e=>e.dappModal,Es=x(Ns,e=>e.visible),Lo=x(Ns,e=>e.modal),KN=x(Lo,e=>e.showHeader),XN=x(Lo,e=>e.showFooter),YN=x(Lo,e=>e.headerText),ZN=x(Lo,e=>e.footerText);var Ds=()=>v(Es);Ht();var zn=e=>{var _;let o=z(),n=Ds(),r=v(Lo),c=()=>{o(Gt(!0))},p=()=>{o(Gt(!1))},d=(0,No.useCallback)(m=>{o(ti(m))},[]);return(0,No.useEffect)(()=>{e!=null&&e.modalConfig&&d(e==null?void 0:e.modalConfig)},[e==null?void 0:e.modalConfig]),(0,No.useEffect)(()=>{var m;return(m=e==null?void 0:e.config)!=null&&m.openOnMount&&c(),()=>{p()}},[]),(0,No.useEffect)(()=>{var m;typeof((m=e==null?void 0:e.config)==null?void 0:m.visible)=="boolean"&&(e.config.visible?c():p())},[(_=e==null?void 0:e.config)==null?void 0:_.visible]),{handleShowModal:c,handleHideModal:p,setModalConfig:d,visible:n,config:r}};t();t();var _r=y(require("react")),Ms=y(require("classnames"));t();var Gm=`.dapp-core-component__loginButtonStyles__default-login-button {
2756
2756
  color: inherit;
2757
2757
  }
2758
2758
 
@@ -2778,30 +2778,17 @@ a.dapp-core-component__main__side-link::after {
2778
2778
 
2779
2779
  .dapp-core-component__loginButtonStyles__button-icon {
2780
2780
  color: inherit;
2781
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Gm));var Ps={"default-login-button":"dapp-core-component__loginButtonStyles__default-login-button",defaultLoginButton:"dapp-core-component__loginButtonStyles__default-login-button",wrapper:"dapp-core-component__loginButtonStyles__wrapper","login-text":"dapp-core-component__loginButtonStyles__login-text",loginText:"dapp-core-component__loginButtonStyles__login-text","button-wrapper":"dapp-core-component__loginButtonStyles__button-wrapper",buttonWrapper:"dapp-core-component__loginButtonStyles__button-wrapper","button-content":"dapp-core-component__loginButtonStyles__button-content",buttonContent:"dapp-core-component__loginButtonStyles__button-content","button-title":"dapp-core-component__loginButtonStyles__button-title",buttonTitle:"dapp-core-component__loginButtonStyles__button-title","button-icon":"dapp-core-component__loginButtonStyles__button-icon",buttonIcon:"dapp-core-component__loginButtonStyles__button-icon"};var Rs=({onLogin:e,text:o="Default Login Button",className:n="dapp-login-button",btnClassName:r="dapp-default-login-button",disabled:c,"data-testid":p,children:d})=>{let _={wrapper:(0,Ms.default)(L.btn,L.btnPrimary,L.px4,L.m1,L.mx3,{[r]:r!=null},n),loginText:Ps.loginText,wrapperClassName:n};return lr.default.createElement("button",{"data-testid":p,disabled:c,className:_.wrapper,onClick:e},d||lr.default.createElement("span",{className:_.loginText},o))};t();var Do=y(require("react"));t();t();var Os=y(require("react"));var _r=e=>{let{handleHideModal:o,visible:n,config:r}=$n({modalConfig:e.modalConfig,config:A(h({},e.modalInteractionConfig),{visible:e.visible})});return Os.default.createElement(rr,{onHide:()=>{var p;o(),(p=e.onClose)==null||p.call(e)},visible:n,config:r,className:e.className},e.children)};t();var B=y(require("react")),jn=require("@fortawesome/free-solid-svg-icons"),gr=require("@fortawesome/react-fontawesome"),Be=y(require("classnames"));t();t();var Eo=y(require("react")),Ws=require("@fortawesome/free-solid-svg-icons"),Vn=y(require("classnames"));t();var No=y(require("react")),Fs=require("@fortawesome/react-fontawesome"),Jo=y(require("classnames"));t();var Hm=`.dapp-core-component__pageStateStyles__wrapper {
2781
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Gm));var Ps={"default-login-button":"dapp-core-component__loginButtonStyles__default-login-button",defaultLoginButton:"dapp-core-component__loginButtonStyles__default-login-button",wrapper:"dapp-core-component__loginButtonStyles__wrapper","login-text":"dapp-core-component__loginButtonStyles__login-text",loginText:"dapp-core-component__loginButtonStyles__login-text","button-wrapper":"dapp-core-component__loginButtonStyles__button-wrapper",buttonWrapper:"dapp-core-component__loginButtonStyles__button-wrapper","button-content":"dapp-core-component__loginButtonStyles__button-content",buttonContent:"dapp-core-component__loginButtonStyles__button-content","button-title":"dapp-core-component__loginButtonStyles__button-title",buttonTitle:"dapp-core-component__loginButtonStyles__button-title","button-icon":"dapp-core-component__loginButtonStyles__button-icon",buttonIcon:"dapp-core-component__loginButtonStyles__button-icon"};var Rs=({onLogin:e,text:o="Default Login Button",className:n="dapp-login-button",btnClassName:r="dapp-default-login-button",disabled:c,"data-testid":p,children:d})=>{let _={wrapper:(0,Ms.default)(L.btn,L.btnPrimary,L.px4,L.m1,L.mx3,{[r]:r!=null},n),loginText:Ps.loginText,wrapperClassName:n};return _r.default.createElement("button",{"data-testid":p,disabled:c,className:_.wrapper,onClick:e},d||_r.default.createElement("span",{className:_.loginText},o))};t();var Po=y(require("react"));t();t();var Os=y(require("react"));var gr=e=>{let{handleHideModal:o,visible:n,config:r}=zn({modalConfig:e.modalConfig,config:A(h({},e.modalInteractionConfig),{visible:e.visible})});return Os.default.createElement(ar,{onHide:()=>{var p;o(),(p=e.onClose)==null||p.call(e)},visible:n,config:r,className:e.className},e.children)};t();var M=y(require("react")),Kn=require("@fortawesome/free-solid-svg-icons"),ur=require("@fortawesome/react-fontawesome"),Fe=y(require("classnames"));t();var Te=y(require("react")),Hs=y(require("classnames"));t();var Be=y(require("react")),Bs=y(require("classnames"));N();t();var Hm=`.dapp-core-component__formatAmountStyles__int-amount {
2782
2782
  color: inherit;
2783
2783
  }
2784
2784
 
2785
- .dapp-core-component__pageStateStyles__state {
2785
+ .dapp-core-component__formatAmountStyles__decimals {
2786
2786
  color: inherit;
2787
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Hm));var Bs={wrapper:"dapp-core-component__pageStateStyles__wrapper",state:"dapp-core-component__pageStateStyles__state"};var Us=({icon:e,title:o,action:n,iconClass:r,dataTestId:c,description:p,iconBgClass:d,iconSize:_="5x",className:m="dapp-page-state"})=>{let g={wrapper:(0,Jo.default)(Bs.state,L.mAuto,L.p4,L.textCenter,m),iconContainer:(0,Jo.default)(L.iconState,L.mxAuto,{[d!=null?d:""]:Boolean(d)}),iconClass:(0,Jo.default)(r!=null&&r),title:(0,Jo.default)(L.h4,L.my4),description:L.mb3};return No.default.createElement("div",{className:g.wrapper,"data-testid":c},e&&No.default.createElement("span",{className:g.iconContainer},No.default.createElement(Fs.FontAwesomeIcon,{icon:e,className:g.iconClass,size:_})),o&&No.default.createElement("p",{className:g.title},o),p&&No.default.createElement("div",{className:g.description},p),n)};t();var $m=`.dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper {
2788
- text-align: center;
2789
- padding: 40px 16px 0;
2790
2787
  }
2791
- .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-heading {
2792
- font-weight: 500;
2793
- font-size: 24px;
2794
- line-height: 1;
2795
- margin-bottom: 12px;
2796
- }
2797
- .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-description {
2798
- line-height: 1;
2799
- font-size: 14px;
2800
- margin-bottom: 0;
2801
- }
2802
- .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner {
2803
- margin: 120px 0;
2804
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode($m));var Qo={"ledger-loading-wrapper":"dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper",ledgerLoadingWrapper:"dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper","ledger-loading-heading":"dapp-core-component__ledgerLoadingStyles__ledger-loading-heading",ledgerLoadingHeading:"dapp-core-component__ledgerLoadingStyles__ledger-loading-heading","ledger-loading-description":"dapp-core-component__ledgerLoadingStyles__ledger-loading-description",ledgerLoadingDescription:"dapp-core-component__ledgerLoadingStyles__ledger-loading-description","ledger-loading-spinner":"dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner",ledgerLoadingSpinner:"dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner"};var zn=({customSpinnerComponent:e,ledgerLoadingClassNames:o,customContentComponent:n})=>{let{ledgerModalSubtitleClassName:r,ledgerModalTitleClassName:c}=o||{};return Eo.default.createElement("div",{className:Qo.ledgerLoadingWrapper},Eo.default.createElement("div",{className:(0,Vn.default)(Qo.ledgerLoadingHeading,c)},"Waiting for device..."),Eo.default.createElement("p",{className:(0,Vn.default)(Qo.ledgerLoadingDescription,r)},"It may take a few seconds..."),n,Eo.default.createElement("div",{className:Qo.ledgerLoadingSpinner},e||Eo.default.createElement(Us,{iconSize:"10x",icon:Ws.faCircleNotch,iconClass:(0,Vn.default)("fa-spin",L.textPrimary)})))};t();var oe=y(require("react")),js=y(require("classnames"));t();t();var G=y(require("react")),Gs=y(require("classnames")),Hs=y(require("lodash.debounce"));t();var Vm=`.dapp-core-component__trim-styles__trim {
2788
+
2789
+ .dapp-core-component__formatAmountStyles__symbol {
2790
+ color: inherit;
2791
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Hm));var Qo={"int-amount":"dapp-core-component__formatAmountStyles__int-amount",intAmount:"dapp-core-component__formatAmountStyles__int-amount",decimals:"dapp-core-component__formatAmountStyles__decimals",symbol:"dapp-core-component__formatAmountStyles__symbol"};var $m=e=>Be.default.createElement("span",{"data-testid":e["data-testid"]?e["data-testid"]:"formatAmountComponent",className:e.className},Be.default.createElement("span",{className:Qo["int-amount"],"data-testid":"formatAmountInt"},"...")),Vm=(e,o)=>{var u;let{value:n,showLastNonZeroDecimal:r=!1,showLabel:c=!0}=e,p=e.digits!=null?e.digits:po,d=e.decimals!=null?e.decimals:ce,_=Je({input:n,decimals:d,digits:p,showLastNonZeroDecimal:r,addCommas:!0}),m=_.split("."),g=m.length===1,f=_!==xe;if(p>0&&g&&f){let T="";for(let I=1;I<=p;I++)T=T+xe;m.push(T)}return Be.default.createElement("span",{"data-testid":e["data-testid"]?e["data-testid"]:"formatAmountComponent",className:e.className},Be.default.createElement("span",{className:Qo["int-amount"],"data-testid":"formatAmountInt"},m[0]),m.length>1&&Be.default.createElement("span",{className:Qo.decimals,"data-testid":"formatAmountDecimals"},".",m[1]),c&&Be.default.createElement("span",{className:(0,Bs.default)(Qo.symbol,e.token&&L.textMuted),"data-testid":"formatAmountSymbol"},` ${(u=e.token)!=null?u:o}`))},zm=e=>{let{value:o}=e;return Vo(o)?Vm(e,e.egldLabel||""):$m(e)},Fs=e=>{let o=e.egldLabel||oa,n=A(h({},e),{egldLabel:o});return Be.default.createElement(zm,h({},n))};t();t();var G=y(require("react")),Us=y(require("classnames")),Ws=y(require("lodash.debounce"));t();var jm=`.dapp-core-component__trim-styles__trim {
2805
2792
  display: flex;
2806
2793
  max-width: 100%;
2807
2794
  overflow: hidden;
@@ -2921,17 +2908,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
2921
2908
  .dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-size-xl .dapp-core-component__trim-styles__trim {
2922
2909
  max-width: 13rem;
2923
2910
  }
2924
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Vm));var oo={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var $s=({text:e,className:o="dapp-trim",dataTestId:n="trim-text-component",color:r})=>{let[c,p]=(0,G.useState)(!1),d=(0,G.useRef)(document==null?void 0:document.createElement("span")),_=(0,G.useRef)(document==null?void 0:document.createElement("span")),m=(0,G.useCallback)((0,Hs.default)(()=>{if(d.current&&_.current){let u=_.current.offsetWidth-d.current.offsetWidth;p(u>1)}},300),[]);return(0,G.useEffect)(()=>(window.addEventListener("resize",m),()=>{window.removeEventListener("resize",m)})),(0,G.useEffect)(()=>{m()},[]),G.default.createElement("span",{ref:d,className:(0,Gs.default)(oo.trim,r!=null?r:"",{[oo.overflow]:c},o),"data-testid":n},G.default.createElement("span",{ref:_,className:oo.hiddenTextRef},e),c?G.default.createElement(G.default.Fragment,null,G.default.createElement("span",{className:oo.left},G.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),G.default.createElement("span",{className:oo.ellipsis},"..."),G.default.createElement("span",{className:oo.right},G.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):G.default.createElement("span",null,e))};t();var Oe=y(require("react")),Vs=y(require("classnames"));N();t();var zm=`.dapp-core-component__formatAmountStyles__int-amount {
2925
- color: inherit;
2926
- }
2927
-
2928
- .dapp-core-component__formatAmountStyles__decimals {
2929
- color: inherit;
2930
- }
2931
-
2932
- .dapp-core-component__formatAmountStyles__symbol {
2933
- color: inherit;
2934
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(zm));var en={"int-amount":"dapp-core-component__formatAmountStyles__int-amount",intAmount:"dapp-core-component__formatAmountStyles__int-amount",decimals:"dapp-core-component__formatAmountStyles__decimals",symbol:"dapp-core-component__formatAmountStyles__symbol"};var jm=e=>Oe.default.createElement("span",{"data-testid":e["data-testid"]?e["data-testid"]:"formatAmountComponent",className:e.className},Oe.default.createElement("span",{className:en["int-amount"],"data-testid":"formatAmountInt"},"...")),qm=(e,o)=>{var f;let{value:n,showLastNonZeroDecimal:r=!1,showLabel:c=!0}=e,p=e.digits!=null?e.digits:co,d=e.decimals!=null?e.decimals:ce,_=Ye({input:n,decimals:d,digits:p,showLastNonZeroDecimal:r,addCommas:!0}),m=_.split("."),g=m.length===1,u=_!==xe;if(p>0&&g&&u){let T="";for(let I=1;I<=p;I++)T=T+xe;m.push(T)}return Oe.default.createElement("span",{"data-testid":e["data-testid"]?e["data-testid"]:"formatAmountComponent",className:e.className},Oe.default.createElement("span",{className:en["int-amount"],"data-testid":"formatAmountInt"},m[0]),m.length>1&&Oe.default.createElement("span",{className:en.decimals,"data-testid":"formatAmountDecimals"},".",m[1]),c&&Oe.default.createElement("span",{className:(0,Vs.default)(en.symbol,e.token&&L.textMuted),"data-testid":"formatAmountSymbol"},` ${(f=e.token)!=null?f:o}`))},Km=e=>{let{value:o}=e;return $o(o)?qm(e,e.egldLabel||""):jm(e)},zs=e=>{let o=e.egldLabel||oa,n=A(h({},e),{egldLabel:o});return Oe.default.createElement(Km,h({},n))};t();var Xm=`.dapp-core-component__addressRowStyles__ledger-address-table-body-item {
2911
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(jm));var to={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var Gs=({text:e,className:o="dapp-trim",dataTestId:n="trim-text-component",color:r})=>{let[c,p]=(0,G.useState)(!1),d=(0,G.useRef)(document==null?void 0:document.createElement("span")),_=(0,G.useRef)(document==null?void 0:document.createElement("span")),m=(0,G.useCallback)((0,Ws.default)(()=>{if(d.current&&_.current){let f=_.current.offsetWidth-d.current.offsetWidth;p(f>1)}},300),[]);return(0,G.useEffect)(()=>(window.addEventListener("resize",m),()=>{window.removeEventListener("resize",m)})),(0,G.useEffect)(()=>{m()},[]),G.default.createElement("span",{ref:d,className:(0,Us.default)(to.trim,r!=null?r:"",{[to.overflow]:c},o),"data-testid":n},G.default.createElement("span",{ref:_,className:to.hiddenTextRef},e),c?G.default.createElement(G.default.Fragment,null,G.default.createElement("span",{className:to.left},G.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),G.default.createElement("span",{className:to.ellipsis},"..."),G.default.createElement("span",{className:to.right},G.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):G.default.createElement("span",null,e))};t();var qm=`.dapp-core-component__addressRowStyles__ledger-address-table-body-item {
2935
2912
  display: flex;
2936
2913
  align-items: center;
2937
2914
  padding: 16px;
@@ -3014,7 +2991,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
3014
2991
  .dapp-core-component__addressRowStyles__ledger-address-table-body-item .dapp-core-component__addressRowStyles__ledger-address-table-body-item-data .dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-label .dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-value > span {
3015
2992
  max-width: 260px;
3016
2993
  }
3017
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Xm));var Le={"ledger-address-table-body-item":"dapp-core-component__addressRowStyles__ledger-address-table-body-item",ledgerAddressTableBodyItem:"dapp-core-component__addressRowStyles__ledger-address-table-body-item","ledger-address-table-body-item-selected":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-selected",ledgerAddressTableBodyItemSelected:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-selected","ledger-address-table-body-item-data":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data",ledgerAddressTableBodyItemData:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data","ledger-address-table-body-item-data-input":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-input",ledgerAddressTableBodyItemDataInput:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-input","ledger-address-table-body-item-data-label":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-label",ledgerAddressTableBodyItemDataLabel:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-label","ledger-address-table-body-item-data-value":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-value",ledgerAddressTableBodyItemDataValue:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-value"};var Ym="...",qs=({address:e,index:o,selectedAddress:n,onSelectAddress:r,className:c="dapp-ledger-address-row",ledgerModalTableSelectedItemClassName:p})=>{let[d,_]=(0,oe.useState)(Ym),m=u=>{let{checked:f}=u.target;f&&r({address:e,index:o})},g=()=>S(void 0,null,function*(){try{let u=yield fs(e);_(u)}catch(u){console.error("error fetching balance",u,d)}});return(0,oe.useEffect)(()=>{g()},[]),oe.default.createElement("div",{className:(0,js.default)(Le.ledgerAddressTableBodyItem,{[p!=null?p:""]:n===e,[Le.ledgerAddressTableBodyItemSelected]:n===e},c)},oe.default.createElement("div",{className:Le.ledgerAddressTableBodyItemData},oe.default.createElement("input",{type:"radio",id:`check_${o}`,"data-testid":`check_${o}`,onChange:m,role:"button",checked:n===e,className:Le.ledgerAddressTableBodyItemDataInput}),oe.default.createElement("label",{htmlFor:`check_${o}`,role:"button","data-testid":`label_${o}`,className:Le.ledgerAddressTableBodyItemDataLabel},oe.default.createElement("div",{className:Le.ledgerAddressTableBodyItemDataValue},oe.default.createElement($s,{text:e})))),oe.default.createElement("div",{className:Le.ledgerAddressTableBodyItemData},oe.default.createElement(zs,{value:d,egldLabel:Cs()})),oe.default.createElement("div",{className:Le.ledgerAddressTableBodyItemData},o))};t();t();var Zm=`.dapp-core-component__addressTableStyles__ledger-address-table-wrapper {
2994
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(qm));var Ne={"ledger-address-table-body-item":"dapp-core-component__addressRowStyles__ledger-address-table-body-item",ledgerAddressTableBodyItem:"dapp-core-component__addressRowStyles__ledger-address-table-body-item","ledger-address-table-body-item-selected":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-selected",ledgerAddressTableBodyItemSelected:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-selected","ledger-address-table-body-item-data":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data",ledgerAddressTableBodyItemData:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data","ledger-address-table-body-item-data-input":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-input",ledgerAddressTableBodyItemDataInput:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-input","ledger-address-table-body-item-data-label":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-label",ledgerAddressTableBodyItemDataLabel:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-label","ledger-address-table-body-item-data-value":"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-value",ledgerAddressTableBodyItemDataValue:"dapp-core-component__addressRowStyles__ledger-address-table-body-item-data-value"};var $s=({address:e,index:o,balance:n,selectedAddress:r,onSelectAddress:c,className:p="dapp-ledger-address-row",ledgerModalTableSelectedItemClassName:d})=>{let _=m=>{let{checked:g}=m.target;g&&c({address:e,index:o})};return Te.default.createElement("div",{className:(0,Hs.default)(Ne.ledgerAddressTableBodyItem,{[d!=null?d:""]:r===e,[Ne.ledgerAddressTableBodyItemSelected]:r===e},p)},Te.default.createElement("div",{className:Ne.ledgerAddressTableBodyItemData},Te.default.createElement("input",{type:"radio",id:`check_${o}`,"data-testid":`check_${o}`,onChange:_,role:"button",checked:r===e,className:Ne.ledgerAddressTableBodyItemDataInput}),Te.default.createElement("label",{htmlFor:`check_${o}`,role:"button","data-testid":`label_${o}`,className:Ne.ledgerAddressTableBodyItemDataLabel},Te.default.createElement("div",{className:Ne.ledgerAddressTableBodyItemDataValue},Te.default.createElement(Gs,{text:e})))),Te.default.createElement("div",{className:Ne.ledgerAddressTableBodyItemData},Te.default.createElement(Fs,{value:n,egldLabel:Cs()})),Te.default.createElement("div",{className:Ne.ledgerAddressTableBodyItemData},o))};t();var Km=`.dapp-core-component__addressTableStyles__ledger-address-table-wrapper {
3018
2995
  text-align: center;
3019
2996
  padding: 48px 16px;
3020
2997
  overflow: hidden;
@@ -3113,7 +3090,30 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
3113
3090
  font-weight: 600;
3114
3091
  margin-top: 40px !important;
3115
3092
  transition: all 200ms ease;
3116
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Zm));var V={"ledger-address-table-wrapper":"dapp-core-component__addressTableStyles__ledger-address-table-wrapper",ledgerAddressTableWrapper:"dapp-core-component__addressTableStyles__ledger-address-table-wrapper","ledger-address-table-heading":"dapp-core-component__addressTableStyles__ledger-address-table-heading",ledgerAddressTableHeading:"dapp-core-component__addressTableStyles__ledger-address-table-heading","ledger-address-table-description":"dapp-core-component__addressTableStyles__ledger-address-table-description",ledgerAddressTableDescription:"dapp-core-component__addressTableStyles__ledger-address-table-description","ledger-address-table":"dapp-core-component__addressTableStyles__ledger-address-table",ledgerAddressTable:"dapp-core-component__addressTableStyles__ledger-address-table","ledger-address-table-header":"dapp-core-component__addressTableStyles__ledger-address-table-header",ledgerAddressTableHeader:"dapp-core-component__addressTableStyles__ledger-address-table-header","ledger-address-table-header-item":"dapp-core-component__addressTableStyles__ledger-address-table-header-item",ledgerAddressTableHeaderItem:"dapp-core-component__addressTableStyles__ledger-address-table-header-item","ledger-address-table-body":"dapp-core-component__addressTableStyles__ledger-address-table-body",ledgerAddressTableBody:"dapp-core-component__addressTableStyles__ledger-address-table-body","ledger-address-table-navigation":"dapp-core-component__addressTableStyles__ledger-address-table-navigation",ledgerAddressTableNavigation:"dapp-core-component__addressTableStyles__ledger-address-table-navigation","ledger-address-table-navigation-button":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button",ledgerAddressTableNavigationButton:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button","ledger-address-table-navigation-button-disabled":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-disabled",ledgerAddressTableNavigationButtonDisabled:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-disabled","ledger-address-table-navigation-button-label":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-label",ledgerAddressTableNavigationButtonLabel:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-label","ledger-address-table-button":"dapp-core-component__addressTableStyles__ledger-address-table-button",ledgerAddressTableButton:"dapp-core-component__addressTableStyles__ledger-address-table-button"};var Ks=10,Xs=({loading:e,accounts:o,startIndex:n,selectedAddress:r,onGoToPrevPage:c,onGoToNextPage:p,onConfirmSelectedAddress:d,onSelectAddress:_,className:m="dapp-ledger-address-table",customContentComponent:g,addressTableClassNames:u})=>{let{ledgerModalTitleClassName:f,ledgerModalSubtitleClassName:T,ledgerModalTableHeadClassName:I,ledgerModalTableItemClassName:w,ledgerModalButtonClassName:k,ledgerModalTableNavigationButtonClassName:F,ledgerModalTableSelectedItemClassName:j,ledgerModalTableNavigationButtonDisabledClassName:E}=u||{};if((0,B.useEffect)(()=>{if(o.length>0&&!e&&(!r&&n===0)){let Ue=o[0];_({address:Ue,index:0})}},[o,r,e,n]),e)return B.default.createElement(zn,null);let Z=["Address","Balance","#"];return B.default.createElement("div",{className:(0,Be.default)(V.ledgerAddressTableWrapper,m)},B.default.createElement("div",{className:V.ledgerAddressTableTop},B.default.createElement("div",{className:(0,Be.default)(V.ledgerAddressTableHeading,f)},"Access your wallet"),B.default.createElement("p",{className:(0,Be.default)(V.ledgerAddressTableDescription,T)},"Choose the wallet you want to access")),g,B.default.createElement("div",{className:V.ledgerAddressTable},B.default.createElement("div",{className:(0,Be.default)(V.ledgerAddressTableHeader,I)},Z.map(M=>B.default.createElement("div",{key:M,className:V.ledgerAddressTableHeaderItem},M))),B.default.createElement("div",{className:V.ledgerAddressTableBody},o.map((M,K)=>B.default.createElement(qs,{address:M,key:K+n*Ks,index:K+n*Ks,selectedAddress:r,onSelectAddress:_,className:w,ledgerModalTableSelectedItemClassName:j})))),B.default.createElement("div",{className:V.ledgerAddressTableBottom},B.default.createElement("div",{className:V.ledgerAddressTableNavigation},B.default.createElement("button",{type:"button",onClick:c,"data-testid":"prevBtn",className:(0,Be.default)(V.ledgerAddressTableNavigationButton,{[E!=null?E:""]:n===0,[V.ledgerAddressTableNavigationButtonDisabled]:n===0},F)},B.default.createElement(gr.FontAwesomeIcon,{size:"1x",icon:jn.faChevronLeft}),B.default.createElement("span",{className:V.ledgerAddressTableNavigationButtonLabel},"Prev")),B.default.createElement("button",{type:"button",onClick:p,"data-testid":"nextBtn",className:(0,Be.default)(V.ledgerAddressTableNavigationButton,{[V.ledgerAddressTableNavigationButtonDisabled]:o.length<10},F)},B.default.createElement("span",{className:V.ledgerAddressTableNavigationButtonLabel},"Next"),B.default.createElement(gr.FontAwesomeIcon,{size:"1x",icon:jn.faChevronRight}))),B.default.createElement("button",{disabled:r==="",onClick:d,"data-testid":"confirmBtn",className:(0,Be.default)(L.btn,L.btnPrimary,V.ledgerAddressTableButton,k)},"Access Wallet")))};t();var Y=y(require("react")),Ne=y(require("classnames"));t();var Jm=`.dapp-core-component__confirmAddressStyles__ledger-confirm-address {
3093
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Km));var j={"ledger-address-table-wrapper":"dapp-core-component__addressTableStyles__ledger-address-table-wrapper",ledgerAddressTableWrapper:"dapp-core-component__addressTableStyles__ledger-address-table-wrapper","ledger-address-table-heading":"dapp-core-component__addressTableStyles__ledger-address-table-heading",ledgerAddressTableHeading:"dapp-core-component__addressTableStyles__ledger-address-table-heading","ledger-address-table-description":"dapp-core-component__addressTableStyles__ledger-address-table-description",ledgerAddressTableDescription:"dapp-core-component__addressTableStyles__ledger-address-table-description","ledger-address-table":"dapp-core-component__addressTableStyles__ledger-address-table",ledgerAddressTable:"dapp-core-component__addressTableStyles__ledger-address-table","ledger-address-table-header":"dapp-core-component__addressTableStyles__ledger-address-table-header",ledgerAddressTableHeader:"dapp-core-component__addressTableStyles__ledger-address-table-header","ledger-address-table-header-item":"dapp-core-component__addressTableStyles__ledger-address-table-header-item",ledgerAddressTableHeaderItem:"dapp-core-component__addressTableStyles__ledger-address-table-header-item","ledger-address-table-body":"dapp-core-component__addressTableStyles__ledger-address-table-body",ledgerAddressTableBody:"dapp-core-component__addressTableStyles__ledger-address-table-body","ledger-address-table-navigation":"dapp-core-component__addressTableStyles__ledger-address-table-navigation",ledgerAddressTableNavigation:"dapp-core-component__addressTableStyles__ledger-address-table-navigation","ledger-address-table-navigation-button":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button",ledgerAddressTableNavigationButton:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button","ledger-address-table-navigation-button-disabled":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-disabled",ledgerAddressTableNavigationButtonDisabled:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-disabled","ledger-address-table-navigation-button-label":"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-label",ledgerAddressTableNavigationButtonLabel:"dapp-core-component__addressTableStyles__ledger-address-table-navigation-button-label","ledger-address-table-button":"dapp-core-component__addressTableStyles__ledger-address-table-button",ledgerAddressTableButton:"dapp-core-component__addressTableStyles__ledger-address-table-button"};t();t();t();var Do=y(require("react")),qs=require("@fortawesome/free-solid-svg-icons"),jn=y(require("classnames"));t();var Eo=y(require("react")),zs=require("@fortawesome/react-fontawesome"),en=y(require("classnames"));t();var Xm=`.dapp-core-component__pageStateStyles__wrapper {
3094
+ color: inherit;
3095
+ }
3096
+
3097
+ .dapp-core-component__pageStateStyles__state {
3098
+ color: inherit;
3099
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Xm));var Vs={wrapper:"dapp-core-component__pageStateStyles__wrapper",state:"dapp-core-component__pageStateStyles__state"};var js=({icon:e,title:o,action:n,iconClass:r,dataTestId:c,description:p,iconBgClass:d,iconSize:_="5x",className:m="dapp-page-state"})=>{let g={wrapper:(0,en.default)(Vs.state,L.mAuto,L.p4,L.textCenter,m),iconContainer:(0,en.default)(L.iconState,L.mxAuto,{[d!=null?d:""]:Boolean(d)}),iconClass:(0,en.default)(r!=null&&r),title:(0,en.default)(L.h4,L.my4),description:L.mb3};return Eo.default.createElement("div",{className:g.wrapper,"data-testid":c},e&&Eo.default.createElement("span",{className:g.iconContainer},Eo.default.createElement(zs.FontAwesomeIcon,{icon:e,className:g.iconClass,size:_})),o&&Eo.default.createElement("p",{className:g.title},o),p&&Eo.default.createElement("div",{className:g.description},p),n)};t();var Ym=`.dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper {
3100
+ text-align: center;
3101
+ padding: 40px 16px 0;
3102
+ }
3103
+ .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-heading {
3104
+ font-weight: 500;
3105
+ font-size: 24px;
3106
+ line-height: 1;
3107
+ margin-bottom: 12px;
3108
+ }
3109
+ .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-description {
3110
+ line-height: 1;
3111
+ font-size: 14px;
3112
+ margin-bottom: 0;
3113
+ }
3114
+ .dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper .dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner {
3115
+ margin: 120px 0;
3116
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ym));var on={"ledger-loading-wrapper":"dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper",ledgerLoadingWrapper:"dapp-core-component__ledgerLoadingStyles__ledger-loading-wrapper","ledger-loading-heading":"dapp-core-component__ledgerLoadingStyles__ledger-loading-heading",ledgerLoadingHeading:"dapp-core-component__ledgerLoadingStyles__ledger-loading-heading","ledger-loading-description":"dapp-core-component__ledgerLoadingStyles__ledger-loading-description",ledgerLoadingDescription:"dapp-core-component__ledgerLoadingStyles__ledger-loading-description","ledger-loading-spinner":"dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner",ledgerLoadingSpinner:"dapp-core-component__ledgerLoadingStyles__ledger-loading-spinner"};var qn=({customSpinnerComponent:e,ledgerLoadingClassNames:o,customContentComponent:n})=>{let{ledgerModalSubtitleClassName:r,ledgerModalTitleClassName:c}=o||{};return Do.default.createElement("div",{className:on.ledgerLoadingWrapper},Do.default.createElement("div",{className:(0,jn.default)(on.ledgerLoadingHeading,c)},"Waiting for device..."),Do.default.createElement("p",{className:(0,jn.default)(on.ledgerLoadingDescription,r)},"It may take a few seconds..."),n,Do.default.createElement("div",{className:on.ledgerLoadingSpinner},e||Do.default.createElement(js,{iconSize:"10x",icon:qs.faCircleNotch,iconClass:(0,jn.default)("fa-spin",L.textPrimary)})))};var Ks=10,Xs=({loading:e,accounts:o,startIndex:n,selectedAddress:r,onGoToPrevPage:c,onGoToNextPage:p,onConfirmSelectedAddress:d,onSelectAddress:_,className:m="dapp-ledger-address-table",customContentComponent:g,addressTableClassNames:f})=>{let{ledgerModalTitleClassName:u,ledgerModalSubtitleClassName:T,ledgerModalTableHeadClassName:I,ledgerModalTableItemClassName:w,ledgerModalButtonClassName:k,ledgerModalTableNavigationButtonClassName:F,ledgerModalTableSelectedItemClassName:K,ledgerModalTableNavigationButtonDisabledClassName:E}=f||{},[X,H]=(0,M.useState)([]);(0,M.useEffect)(()=>{if(o.length>0&&!e&&(!r&&n===0)){let nn=o[0];_({address:nn,index:0})}},[o,r,e,n]);let oe=R=>S(void 0,null,function*(){try{let $=yield fs(R);return{address:R,balance:$}}catch($){throw console.error("error fetching balance",$),X}});if((0,M.useEffect)(()=>{let R=o.map($=>oe($));H(o.map($=>({address:$,balance:"..."}))),Promise.all(R).then($=>{H($)})},[o]),e)return M.default.createElement(qn,null);let te=["Address","Balance","#"];return M.default.createElement("div",{className:(0,Fe.default)(j.ledgerAddressTableWrapper,m)},M.default.createElement("div",{className:j.ledgerAddressTableTop},M.default.createElement("div",{className:(0,Fe.default)(j.ledgerAddressTableHeading,u)},"Access your wallet"),M.default.createElement("p",{className:(0,Fe.default)(j.ledgerAddressTableDescription,T)},"Choose the wallet you want to access")),g,M.default.createElement("div",{className:j.ledgerAddressTable},M.default.createElement("div",{className:(0,Fe.default)(j.ledgerAddressTableHeader,I)},te.map(R=>M.default.createElement("div",{key:R,className:j.ledgerAddressTableHeaderItem},R))),M.default.createElement("div",{className:j.ledgerAddressTableBody},X&&X.map(({address:R,balance:$},We)=>M.default.createElement($s,{address:R,balance:$,key:We+n*Ks,index:We+n*Ks,selectedAddress:r,onSelectAddress:_,className:w,ledgerModalTableSelectedItemClassName:K})))),M.default.createElement("div",{className:j.ledgerAddressTableBottom},M.default.createElement("div",{className:j.ledgerAddressTableNavigation},M.default.createElement("button",{type:"button",onClick:c,"data-testid":"prevBtn",className:(0,Fe.default)(j.ledgerAddressTableNavigationButton,{[E!=null?E:""]:n===0,[j.ledgerAddressTableNavigationButtonDisabled]:n===0},F)},M.default.createElement(ur.FontAwesomeIcon,{size:"1x",icon:Kn.faChevronLeft}),M.default.createElement("span",{className:j.ledgerAddressTableNavigationButtonLabel},"Prev")),M.default.createElement("button",{type:"button",onClick:p,"data-testid":"nextBtn",className:(0,Fe.default)(j.ledgerAddressTableNavigationButton,{[j.ledgerAddressTableNavigationButtonDisabled]:o.length<10},F)},M.default.createElement("span",{className:j.ledgerAddressTableNavigationButtonLabel},"Next"),M.default.createElement(ur.FontAwesomeIcon,{size:"1x",icon:Kn.faChevronRight}))),M.default.createElement("button",{disabled:r==="",onClick:d,"data-testid":"confirmBtn",className:(0,Fe.default)(L.btn,L.btnPrimary,j.ledgerAddressTableButton,k)},"Access Wallet")))};t();var J=y(require("react")),Ee=y(require("classnames"));t();var Zm=`.dapp-core-component__confirmAddressStyles__ledger-confirm-address {
3117
3117
  text-align: center;
3118
3118
  padding: 48px 16px;
3119
3119
  overflow: hidden;
@@ -3167,12 +3167,12 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
3167
3167
  }
3168
3168
  .dapp-core-component__confirmAddressStyles__ledger-confirm-address .dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer a {
3169
3169
  color: #1b46c2;
3170
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Jm));var _e={"ledger-confirm-address":"dapp-core-component__confirmAddressStyles__ledger-confirm-address",ledgerConfirmAddress:"dapp-core-component__confirmAddressStyles__ledger-confirm-address","ledger-confirm-address-heading":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading",ledgerConfirmAddressHeading:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading","ledger-confirm-address-section":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section",ledgerConfirmAddressSection:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section","ledger-confirm-address-description":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description",ledgerConfirmAddressDescription:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description","ledger-confirm-address-data":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data",ledgerConfirmAddressData:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data","ledger-confirm-address-footer":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer",ledgerConfirmAddressFooter:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer"};var Ys=({token:e,className:o="dapp-ledger-confirm-address",customContentComponent:n,confirmAddressClassNames:r})=>{var f,T;let{ledgerAccount:c}=Ko(),{ledgerModalTitleClassName:p,ledgerModalConfirmDescriptionClassName:d,ledgerModalConfirmDataClassName:_,ledgerModalConfirmFooterClassName:m}=r||{},g=v(En),u=(f=g==null?void 0:g.loginToken)!=null?f:e;return Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddress,o)},Y.default.createElement("h4",{className:(0,Ne.default)(_e.ledgerConfirmAddressHeading,p)},"Confirm Ledger Address"),n,Y.default.createElement("div",{className:_e.ledgerConfirmAddressSection},Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressDescription,d)},"For security, please confirm that your address:"),Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressData,_)},Y.default.createElement(Y.default.Fragment,null,(T=c==null?void 0:c.address)!=null?T:""))),u&&Y.default.createElement("div",{className:_e.ledgerConfirmAddressSection},Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressDescription,d)},"and Auth Token:"),Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressData,_)},`${u}{}`),Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressDescription,d)},u?"are the one shown on your Ledger device screen now.":"is the one shown on your Ledger device screen now.")),Y.default.createElement("div",{className:(0,Ne.default)(_e.ledgerConfirmAddressFooter,m)},Y.default.createElement("div",null,"Select Approve on your device to confirm."),Y.default.createElement("div",null,"Or, if it does not match, close this page and"," ",Y.default.createElement("a",{href:"https://help.multiversx.com/en/",target:"_blank",rel:"noreferrer"},"contact support"),".")))};t();var ae=y(require("react")),Fe=y(require("classnames"));t();var z=y(require("react")),Qm=e=>z.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 290 142.3",style:{enableBackground:"new 0 0 290 142.3"},xmlSpace:"preserve"},e),z.createElement("style",{type:"text/css"},`
3170
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Zm));var _e={"ledger-confirm-address":"dapp-core-component__confirmAddressStyles__ledger-confirm-address",ledgerConfirmAddress:"dapp-core-component__confirmAddressStyles__ledger-confirm-address","ledger-confirm-address-heading":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading",ledgerConfirmAddressHeading:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading","ledger-confirm-address-section":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section",ledgerConfirmAddressSection:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section","ledger-confirm-address-description":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description",ledgerConfirmAddressDescription:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description","ledger-confirm-address-data":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data",ledgerConfirmAddressData:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data","ledger-confirm-address-footer":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer",ledgerConfirmAddressFooter:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer"};var Ys=({token:e,className:o="dapp-ledger-confirm-address",customContentComponent:n,confirmAddressClassNames:r})=>{var u,T;let{ledgerAccount:c}=Xo(),{ledgerModalTitleClassName:p,ledgerModalConfirmDescriptionClassName:d,ledgerModalConfirmDataClassName:_,ledgerModalConfirmFooterClassName:m}=r||{},g=v(Pn),f=(u=g==null?void 0:g.loginToken)!=null?u:e;return J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddress,o)},J.default.createElement("h4",{className:(0,Ee.default)(_e.ledgerConfirmAddressHeading,p)},"Confirm Ledger Address"),n,J.default.createElement("div",{className:_e.ledgerConfirmAddressSection},J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressDescription,d)},"For security, please confirm that your address:"),J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressData,_)},J.default.createElement(J.default.Fragment,null,(T=c==null?void 0:c.address)!=null?T:""))),f&&J.default.createElement("div",{className:_e.ledgerConfirmAddressSection},J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressDescription,d)},"and Auth Token:"),J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressData,_)},`${f}{}`),J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressDescription,d)},f?"are the one shown on your Ledger device screen now.":"is the one shown on your Ledger device screen now.")),J.default.createElement("div",{className:(0,Ee.default)(_e.ledgerConfirmAddressFooter,m)},J.default.createElement("div",null,"Select Approve on your device to confirm."),J.default.createElement("div",null,"Or, if it does not match, close this page and"," ",J.default.createElement("a",{href:"https://help.multiversx.com/en/",target:"_blank",rel:"noreferrer"},"contact support"),".")))};t();var ie=y(require("react")),Ue=y(require("classnames"));t();var q=y(require("react")),Jm=e=>q.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 290 142.3",style:{enableBackground:"new 0 0 290 142.3"},xmlSpace:"preserve"},e),q.createElement("style",{type:"text/css"},`
3171
3171
  .st0{filter:url(#Adobe_OpacityMaskFilter);}
3172
3172
  .st1{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_00000132080685600946463390000014083146887067534994_);}
3173
3173
  .st2{mask:url(#SVGID_1_);fill-rule:evenodd;clip-rule:evenodd;fill:#212529;}
3174
3174
  .st3{fill-rule:evenodd;clip-rule:evenodd;fill:#212529;}
3175
- `),z.createElement("defs",null,z.createElement("filter",{id:"Adobe_OpacityMaskFilter",filterUnits:"userSpaceOnUse",x:1,y:21.7,width:92.7,height:6.3},z.createElement("feColorMatrix",{type:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"}))),z.createElement("mask",{maskUnits:"userSpaceOnUse",x:1,y:21.7,width:92.7,height:6.3,id:"SVGID_1_"},z.createElement("g",{className:"st0"},z.createElement("linearGradient",{id:"SVGID_00000042721603501377086220000002945655816276772283_",gradientUnits:"userSpaceOnUse",x1:1,y1:24.85,x2:92.9,y2:24.85},z.createElement("stop",{offset:0,style:{stopColor:"#000000"}}),z.createElement("stop",{offset:.1864,style:{stopColor:"#000000"}}),z.createElement("stop",{offset:.8945,style:{stopColor:"#FFFFFF"}})),z.createElement("rect",{x:1,y:21.7,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"url(#SVGID_00000042721603501377086220000002945655816276772283_)"},width:91.9,height:6.3}))),z.createElement("path",{className:"st2",d:"M1,26.6V28h92.7v-1.4H1z M1,21.7v1.4h92.7v-1.4H1z"}),z.createElement("g",null,z.createElement("path",{className:"st3",d:"M218.8,21h-38.1c-0.2,0-0.3,0.1-0.4,0.2c-0.1,0.1-0.2,0.2-0.2,0.4v5.6c0,0.2,0.1,0.3,0.2,0.4 c0.1,0.1,0.2,0.2,0.4,0.2h38.1c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4v-5.6c0-0.1-0.1-0.3-0.2-0.4 C219.1,21.1,219,21,218.8,21z M185.2,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3l0.2-0.6l1,0.4l-0.1-1h0.7 l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L185.2,25.4z M189.6,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3l0.2-0.6 l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L189.6,25.4z M194,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3 l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L194,25.4z M198.4,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8 l0,0l-1-0.3l0.1-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L198.4,25.4z M202.8,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9 l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L202.8,25.4z M207.1,25.4l-0.5,0.4l-0.6-0.9 l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L207.1,25.4z M211.5,25.4 l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L211.5,25.4z M215.9,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4l-0.1-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3 l0,0L215.9,25.4z"}),z.createElement("path",{className:"st3",d:"M283.8,9.2l-0.1-0.1c-0.2-0.2-0.3-0.3-0.5-0.5s-0.3-0.3-0.5-0.5c-0.1-0.1-0.3-0.3-0.4-0.4 c-0.6-0.6-1.2-1.1-1.8-1.6c-3.9-3-8.7-4.7-13.9-4.7h-28.1c-0.1-0.2-0.2-0.3-0.3-0.5c-0.4-0.6-1.1-0.9-1.8-0.9h-14.7 c-0.8,0-1.4,0.4-1.8,0.9c-0.1,0.2-0.2,0.3-0.3,0.5h-42.3c-0.1-0.2-0.2-0.3-0.3-0.5c-0.4-0.6-1.1-0.9-1.8-0.9h-14.7 c-0.8,0-1.4,0.4-1.8,0.9c-0.1,0.2-0.2,0.3-0.3,0.5h-13c-1.1,0-2.1,0.4-2.8,1.2c-0.7,0.7-1.2,1.8-1.2,2.8v8.8c-0.1,0-0.2,0-0.2,0 h-0.3h-29.1c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4v0.3H92.9v8.4h12.7v0.7c0,1.7,0.7,3.2,1.8,4.4 c1.2,1.2,2.7,1.8,4.4,1.8h29.1h0.3c0.1,0,0.2,0,0.2,0v7.4c0,1.1,0.4,2.1,1.2,2.8s1.8,1.2,2.8,1.2h72.3l-0.4,0.5l-53.4,63.6 c-0.3,0.4-0.6,0.9-0.7,1.4c-0.2,0.5-0.2,1-0.2,1.5s0.2,1,0.4,1.5s0.6,0.9,1,1.2l28.9,24.3c0.4,0.3,0.9,0.6,1.4,0.7 c0.5,0.2,1,0.2,1.5,0.2s1-0.2,1.5-0.4s0.9-0.6,1.2-1l82.5-98.3l2.9-3.5C291.8,30.3,291.3,17.5,283.8,9.2z M105.1,27.9h-11v-6h11 V27.9z M277.7,45.1l-79.8,95c-0.2,0.3-0.5,0.5-0.8,0.7s-0.7,0.3-1,0.3c-0.4,0-0.7,0-1.1-0.1c-0.3-0.1-0.7-0.3-0.9-0.5l-29-24.3 c-0.3-0.2-0.5-0.5-0.7-0.8s-0.3-0.7-0.3-1c0-0.4,0-0.7,0.1-1.1c0.1-0.3,0.3-0.7,0.5-0.9l54-64.4l0.4-0.5l1-1.2l8.1-9.7l0.3-0.3 l0.3-0.3l5.2-6.2l0.3-0.4l0.3-0.4L250,10.6c4.8-5.7,11.8-8.3,18.6-7.6c0.2,0,0.5,0,0.7,0.1c0.3,0,0.6,0.1,0.9,0.1 c0.2,0,0.5,0.1,0.7,0.1c0.4,0.1,0.7,0.2,1.1,0.3c0.6,0.2,1.2,0.3,1.8,0.5c0.3,0.1,0.6,0.2,0.9,0.3c0.3,0.1,0.6,0.2,0.9,0.4 c0.2,0.1,0.4,0.2,0.6,0.3c0.6,0.3,1.2,0.7,1.9,1c0.4,0.2,0.8,0.5,1.2,0.8l0,0c0.4,0.3,0.8,0.6,1.1,0.9c0.1,0.1,0.2,0.2,0.3,0.2 c0.1,0.1,0.2,0.2,0.3,0.2c0.2,0.1,0.3,0.3,0.5,0.4c0.1,0.1,0.2,0.2,0.4,0.4c7.9,7.8,8.6,20.6,1.3,29.3l-4.7,5.6L277.7,45.1z M234.2,27.8l-6.8,8.1h-60.6c-0.8,0-1.5-0.7-1.5-1.5v-20c0-0.8,0.7-1.5,1.5-1.5h65.9c0.8,0,1.5,0.7,1.5,1.5L234.2,27.8L234.2,27.8z M141.2,34.9h-0.3h-29.1c-1.3,0-2.6-0.5-3.5-1.5c-0.9-0.9-1.5-2.2-1.5-3.5v-9.5c0-1.3,0.5-2.6,1.5-3.5c0.9-0.9,2.2-1.5,3.5-1.5 h29.1h0.3c0.1,0,0.2,0,0.2,0.1v19.4C141.3,34.8,141.3,34.9,141.2,34.9z M145.4,46.2c-0.7,0-1.4-0.3-2-0.8c-0.5-0.5-0.8-1.2-0.8-2 v-8.2v-3.4V18.1V15V5.4c0-0.7,0.3-1.4,0.8-1.9s1.2-0.8,2-0.8h12.9h19.2h42h19.2h21.4c-4.1,1.2-7.8,3.6-10.8,7.1l-14.5,17.3V14.4 c0-1.2-0.9-2.1-2.1-2.1h-65.9c-1.2,0-2.1,0.9-2.1,2.1v20c0,1.2,0.9,2.1,2.1,2.1h60.1l-8.2,9.7C218.7,46.2,145.4,46.2,145.4,46.2z"}),z.createElement("path",{className:"st3",d:"M265.5,12.2c-6.8,0-12.2,5.4-12.2,12.2c0,6.7,5.5,12.2,12.2,12.2c6.8,0,12.2-5.4,12.2-12.2 C277.7,17.7,272.2,12.2,265.5,12.2z M265.5,35.9c-6.4,0-11.6-5.2-11.6-11.5s5.2-11.5,11.6-11.5s11.6,5.2,11.6,11.5 S271.9,35.9,265.5,35.9z"}))),Zs=Qm;t();var el=`.dapp-core-component__ledgerConnectStyles__login-connect-container {
3175
+ `),q.createElement("defs",null,q.createElement("filter",{id:"Adobe_OpacityMaskFilter",filterUnits:"userSpaceOnUse",x:1,y:21.7,width:92.7,height:6.3},q.createElement("feColorMatrix",{type:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"}))),q.createElement("mask",{maskUnits:"userSpaceOnUse",x:1,y:21.7,width:92.7,height:6.3,id:"SVGID_1_"},q.createElement("g",{className:"st0"},q.createElement("linearGradient",{id:"SVGID_00000042721603501377086220000002945655816276772283_",gradientUnits:"userSpaceOnUse",x1:1,y1:24.85,x2:92.9,y2:24.85},q.createElement("stop",{offset:0,style:{stopColor:"#000000"}}),q.createElement("stop",{offset:.1864,style:{stopColor:"#000000"}}),q.createElement("stop",{offset:.8945,style:{stopColor:"#FFFFFF"}})),q.createElement("rect",{x:1,y:21.7,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"url(#SVGID_00000042721603501377086220000002945655816276772283_)"},width:91.9,height:6.3}))),q.createElement("path",{className:"st2",d:"M1,26.6V28h92.7v-1.4H1z M1,21.7v1.4h92.7v-1.4H1z"}),q.createElement("g",null,q.createElement("path",{className:"st3",d:"M218.8,21h-38.1c-0.2,0-0.3,0.1-0.4,0.2c-0.1,0.1-0.2,0.2-0.2,0.4v5.6c0,0.2,0.1,0.3,0.2,0.4 c0.1,0.1,0.2,0.2,0.4,0.2h38.1c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4v-5.6c0-0.1-0.1-0.3-0.2-0.4 C219.1,21.1,219,21,218.8,21z M185.2,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3l0.2-0.6l1,0.4l-0.1-1h0.7 l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L185.2,25.4z M189.6,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3l0.2-0.6 l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L189.6,25.4z M194,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.6-0.8l0,0l-1-0.3 l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L194,25.4z M198.4,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8 l0,0l-1-0.3l0.1-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L198.4,25.4z M202.8,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9 l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L202.8,25.4z M207.1,25.4l-0.5,0.4l-0.6-0.9 l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L207.1,25.4z M211.5,25.4 l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4v-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3l0,0L211.5,25.4z M215.9,25.4l-0.5,0.4l-0.6-0.9l0,0l-0.6,0.9l-0.5-0.4l0.7-0.8l0,0l-1-0.3l0.2-0.6l1,0.4l-0.1-1h0.7l-0.1,1l1-0.4l0.2,0.6l-1,0.3 l0,0L215.9,25.4z"}),q.createElement("path",{className:"st3",d:"M283.8,9.2l-0.1-0.1c-0.2-0.2-0.3-0.3-0.5-0.5s-0.3-0.3-0.5-0.5c-0.1-0.1-0.3-0.3-0.4-0.4 c-0.6-0.6-1.2-1.1-1.8-1.6c-3.9-3-8.7-4.7-13.9-4.7h-28.1c-0.1-0.2-0.2-0.3-0.3-0.5c-0.4-0.6-1.1-0.9-1.8-0.9h-14.7 c-0.8,0-1.4,0.4-1.8,0.9c-0.1,0.2-0.2,0.3-0.3,0.5h-42.3c-0.1-0.2-0.2-0.3-0.3-0.5c-0.4-0.6-1.1-0.9-1.8-0.9h-14.7 c-0.8,0-1.4,0.4-1.8,0.9c-0.1,0.2-0.2,0.3-0.3,0.5h-13c-1.1,0-2.1,0.4-2.8,1.2c-0.7,0.7-1.2,1.8-1.2,2.8v8.8c-0.1,0-0.2,0-0.2,0 h-0.3h-29.1c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4v0.3H92.9v8.4h12.7v0.7c0,1.7,0.7,3.2,1.8,4.4 c1.2,1.2,2.7,1.8,4.4,1.8h29.1h0.3c0.1,0,0.2,0,0.2,0v7.4c0,1.1,0.4,2.1,1.2,2.8s1.8,1.2,2.8,1.2h72.3l-0.4,0.5l-53.4,63.6 c-0.3,0.4-0.6,0.9-0.7,1.4c-0.2,0.5-0.2,1-0.2,1.5s0.2,1,0.4,1.5s0.6,0.9,1,1.2l28.9,24.3c0.4,0.3,0.9,0.6,1.4,0.7 c0.5,0.2,1,0.2,1.5,0.2s1-0.2,1.5-0.4s0.9-0.6,1.2-1l82.5-98.3l2.9-3.5C291.8,30.3,291.3,17.5,283.8,9.2z M105.1,27.9h-11v-6h11 V27.9z M277.7,45.1l-79.8,95c-0.2,0.3-0.5,0.5-0.8,0.7s-0.7,0.3-1,0.3c-0.4,0-0.7,0-1.1-0.1c-0.3-0.1-0.7-0.3-0.9-0.5l-29-24.3 c-0.3-0.2-0.5-0.5-0.7-0.8s-0.3-0.7-0.3-1c0-0.4,0-0.7,0.1-1.1c0.1-0.3,0.3-0.7,0.5-0.9l54-64.4l0.4-0.5l1-1.2l8.1-9.7l0.3-0.3 l0.3-0.3l5.2-6.2l0.3-0.4l0.3-0.4L250,10.6c4.8-5.7,11.8-8.3,18.6-7.6c0.2,0,0.5,0,0.7,0.1c0.3,0,0.6,0.1,0.9,0.1 c0.2,0,0.5,0.1,0.7,0.1c0.4,0.1,0.7,0.2,1.1,0.3c0.6,0.2,1.2,0.3,1.8,0.5c0.3,0.1,0.6,0.2,0.9,0.3c0.3,0.1,0.6,0.2,0.9,0.4 c0.2,0.1,0.4,0.2,0.6,0.3c0.6,0.3,1.2,0.7,1.9,1c0.4,0.2,0.8,0.5,1.2,0.8l0,0c0.4,0.3,0.8,0.6,1.1,0.9c0.1,0.1,0.2,0.2,0.3,0.2 c0.1,0.1,0.2,0.2,0.3,0.2c0.2,0.1,0.3,0.3,0.5,0.4c0.1,0.1,0.2,0.2,0.4,0.4c7.9,7.8,8.6,20.6,1.3,29.3l-4.7,5.6L277.7,45.1z M234.2,27.8l-6.8,8.1h-60.6c-0.8,0-1.5-0.7-1.5-1.5v-20c0-0.8,0.7-1.5,1.5-1.5h65.9c0.8,0,1.5,0.7,1.5,1.5L234.2,27.8L234.2,27.8z M141.2,34.9h-0.3h-29.1c-1.3,0-2.6-0.5-3.5-1.5c-0.9-0.9-1.5-2.2-1.5-3.5v-9.5c0-1.3,0.5-2.6,1.5-3.5c0.9-0.9,2.2-1.5,3.5-1.5 h29.1h0.3c0.1,0,0.2,0,0.2,0.1v19.4C141.3,34.8,141.3,34.9,141.2,34.9z M145.4,46.2c-0.7,0-1.4-0.3-2-0.8c-0.5-0.5-0.8-1.2-0.8-2 v-8.2v-3.4V18.1V15V5.4c0-0.7,0.3-1.4,0.8-1.9s1.2-0.8,2-0.8h12.9h19.2h42h19.2h21.4c-4.1,1.2-7.8,3.6-10.8,7.1l-14.5,17.3V14.4 c0-1.2-0.9-2.1-2.1-2.1h-65.9c-1.2,0-2.1,0.9-2.1,2.1v20c0,1.2,0.9,2.1,2.1,2.1h60.1l-8.2,9.7C218.7,46.2,145.4,46.2,145.4,46.2z"}),q.createElement("path",{className:"st3",d:"M265.5,12.2c-6.8,0-12.2,5.4-12.2,12.2c0,6.7,5.5,12.2,12.2,12.2c6.8,0,12.2-5.4,12.2-12.2 C277.7,17.7,272.2,12.2,265.5,12.2z M265.5,35.9c-6.4,0-11.6-5.2-11.6-11.5s5.2-11.5,11.6-11.5s11.6,5.2,11.6,11.5 S271.9,35.9,265.5,35.9z"}))),Zs=Jm;t();var Qm=`.dapp-core-component__ledgerConnectStyles__login-connect-container {
3176
3176
  color: inherit;
3177
3177
  width: 100%;
3178
3178
  }
@@ -3227,7 +3227,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
3227
3227
  }
3228
3228
  .dapp-core-component__ledgerConnectStyles__login-connect-container .dapp-core-component__ledgerConnectStyles__login-connect-container-content .dapp-core-component__ledgerConnectStyles__login-connect-container-footer .dapp-core-component__ledgerConnectStyles__login-connect-container-link:hover, .dapp-core-component__ledgerConnectStyles__login-connect-container .dapp-core-component__ledgerConnectStyles__login-connect-container-content .dapp-core-component__ledgerConnectStyles__login-connect-container-footer .dapp-core-component__ledgerConnectStyles__login-connect-container-link:active, .dapp-core-component__ledgerConnectStyles__login-connect-container .dapp-core-component__ledgerConnectStyles__login-connect-container-content .dapp-core-component__ledgerConnectStyles__login-connect-container-footer .dapp-core-component__ledgerConnectStyles__login-connect-container-link:focus {
3229
3229
  text-decoration: none;
3230
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(el));var Te={"login-connect-container":"dapp-core-component__ledgerConnectStyles__login-connect-container",loginConnectContainer:"dapp-core-component__ledgerConnectStyles__login-connect-container","login-connect-container-content":"dapp-core-component__ledgerConnectStyles__login-connect-container-content",loginConnectContainerContent:"dapp-core-component__ledgerConnectStyles__login-connect-container-content","login-connect-container-heading":"dapp-core-component__ledgerConnectStyles__login-connect-container-heading",loginConnectContainerHeading:"dapp-core-component__ledgerConnectStyles__login-connect-container-heading","login-connect-container-description":"dapp-core-component__ledgerConnectStyles__login-connect-container-description",loginConnectContainerDescription:"dapp-core-component__ledgerConnectStyles__login-connect-container-description","login-connect-container-error":"dapp-core-component__ledgerConnectStyles__login-connect-container-error",loginConnectContainerError:"dapp-core-component__ledgerConnectStyles__login-connect-container-error","login-connect-container-icon":"dapp-core-component__ledgerConnectStyles__login-connect-container-icon",loginConnectContainerIcon:"dapp-core-component__ledgerConnectStyles__login-connect-container-icon","login-connect-container-footer":"dapp-core-component__ledgerConnectStyles__login-connect-container-footer",loginConnectContainerFooter:"dapp-core-component__ledgerConnectStyles__login-connect-container-footer","login-connect-container-button":"dapp-core-component__ledgerConnectStyles__login-connect-container-button",loginConnectContainerButton:"dapp-core-component__ledgerConnectStyles__login-connect-container-button","login-connect-container-link":"dapp-core-component__ledgerConnectStyles__login-connect-container-link",loginConnectContainerLink:"dapp-core-component__ledgerConnectStyles__login-connect-container-link"};var Js=({onClick:e,error:o,connectPageContent:n,customContentComponent:r,className:c="dapp-ledger-connect-button",ledgerConnectClassNames:p})=>{let{ledgerModalTitleClassName:d,ledgerModalSubtitleClassName:_,ledgerModalErrorClassName:m,ledgerModalIconClassName:g,ledgerModalButtonClassName:u,ledgerModalFooterLinkClassName:f}=p||{};return ae.default.createElement("div",{className:(0,Fe.default)(Te.loginConnectContainer,c)},ae.default.createElement("div",{className:Te.loginConnectContainerContent},n||ae.default.createElement(ae.default.Fragment,null,ae.default.createElement("div",{className:(0,Fe.default)(Te.loginConnectContainerHeading,d)},"Connect Ledger"),ae.default.createElement("p",{className:(0,Fe.default)(Te.loginConnectContainerDescription,_)},"Unlock your device & open the MultiversX App"),o&&ae.default.createElement("p",{className:(0,Fe.default)(Te.loginConnectContainerError,m)},o),r,ae.default.createElement("div",{className:(0,Fe.default)(Te.loginConnectContainerIcon,g)},ae.default.createElement(Zs,null))),ae.default.createElement("div",{className:Te.loginConnectContainerFooter},ae.default.createElement("button",{onClick:e,"data-testid":"connectBtn",className:(0,Fe.default)(L.btn,L.btnPrimary,Te.loginConnectContainerButton,u)},"Connect Ledger"),ae.default.createElement("a",{href:"#",className:(0,Fe.default)(Te.loginConnectContainerLink,f)},"Having connection issues?"))))};t();var ol=`.dapp-core-component__ledgerLoginContainerStyles__ledger-login-container {
3230
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Qm));var be={"login-connect-container":"dapp-core-component__ledgerConnectStyles__login-connect-container",loginConnectContainer:"dapp-core-component__ledgerConnectStyles__login-connect-container","login-connect-container-content":"dapp-core-component__ledgerConnectStyles__login-connect-container-content",loginConnectContainerContent:"dapp-core-component__ledgerConnectStyles__login-connect-container-content","login-connect-container-heading":"dapp-core-component__ledgerConnectStyles__login-connect-container-heading",loginConnectContainerHeading:"dapp-core-component__ledgerConnectStyles__login-connect-container-heading","login-connect-container-description":"dapp-core-component__ledgerConnectStyles__login-connect-container-description",loginConnectContainerDescription:"dapp-core-component__ledgerConnectStyles__login-connect-container-description","login-connect-container-error":"dapp-core-component__ledgerConnectStyles__login-connect-container-error",loginConnectContainerError:"dapp-core-component__ledgerConnectStyles__login-connect-container-error","login-connect-container-icon":"dapp-core-component__ledgerConnectStyles__login-connect-container-icon",loginConnectContainerIcon:"dapp-core-component__ledgerConnectStyles__login-connect-container-icon","login-connect-container-footer":"dapp-core-component__ledgerConnectStyles__login-connect-container-footer",loginConnectContainerFooter:"dapp-core-component__ledgerConnectStyles__login-connect-container-footer","login-connect-container-button":"dapp-core-component__ledgerConnectStyles__login-connect-container-button",loginConnectContainerButton:"dapp-core-component__ledgerConnectStyles__login-connect-container-button","login-connect-container-link":"dapp-core-component__ledgerConnectStyles__login-connect-container-link",loginConnectContainerLink:"dapp-core-component__ledgerConnectStyles__login-connect-container-link"};var Js=({onClick:e,error:o,connectPageContent:n,customContentComponent:r,className:c="dapp-ledger-connect-button",ledgerConnectClassNames:p})=>{let{ledgerModalTitleClassName:d,ledgerModalSubtitleClassName:_,ledgerModalErrorClassName:m,ledgerModalIconClassName:g,ledgerModalButtonClassName:f,ledgerModalFooterLinkClassName:u}=p||{};return ie.default.createElement("div",{className:(0,Ue.default)(be.loginConnectContainer,c)},ie.default.createElement("div",{className:be.loginConnectContainerContent},n||ie.default.createElement(ie.default.Fragment,null,ie.default.createElement("div",{className:(0,Ue.default)(be.loginConnectContainerHeading,d)},"Connect Ledger"),ie.default.createElement("p",{className:(0,Ue.default)(be.loginConnectContainerDescription,_)},"Unlock your device & open the MultiversX App"),o&&ie.default.createElement("p",{className:(0,Ue.default)(be.loginConnectContainerError,m)},o),r,ie.default.createElement("div",{className:(0,Ue.default)(be.loginConnectContainerIcon,g)},ie.default.createElement(Zs,null))),ie.default.createElement("div",{className:be.loginConnectContainerFooter},ie.default.createElement("button",{onClick:e,"data-testid":"connectBtn",className:(0,Ue.default)(L.btn,L.btnPrimary,be.loginConnectContainerButton,f)},"Connect Ledger"),ie.default.createElement("a",{href:"#",className:(0,Ue.default)(be.loginConnectContainerLink,u)},"Having connection issues?"))))};t();var el=`.dapp-core-component__ledgerLoginContainerStyles__ledger-login-container {
3231
3231
  padding: 48px 16px;
3232
3232
  }
3233
3233
  @media (min-width: 768px) {
@@ -3272,7 +3272,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
3272
3272
  padding: 0;
3273
3273
  justify-content: center;
3274
3274
  overflow: hidden;
3275
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(ol));var no={"ledger-login-container":"dapp-core-component__ledgerLoginContainerStyles__ledger-login-container",ledgerLoginContainer:"dapp-core-component__ledgerLoginContainerStyles__ledger-login-container","ledger-modal-dialog-content":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-dialog-content",ledgerModalDialogContent:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-dialog-content","ledger-modal-header":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header",ledgerModalHeader:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header","ledger-modal-header-text":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header-text",ledgerModalHeaderText:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header-text","ledger-modal-close-button":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-close-button",ledgerModalCloseButton:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-close-button","ledger-modal-body":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-body",ledgerModalBody:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-body"};var Qs=y(require("classnames")),ec=({callbackRoute:e,className:o="dapp-ledger-login-container",wrapContentInsideModal:n=!0,onClose:r,onLoginRedirect:c,token:p,nativeAuth:d,customSpinnerComponent:_,customContentComponent:m,innerLedgerComponentsClasses:g})=>{let{ledgerAccount:u}=Ko(),[f,{error:T,isLoading:I},{showAddressList:w,accounts:k,onGoToPrevPage:F,onGoToNextPage:j,onSelectAddress:E,onConfirmSelectedAddress:Z,startIndex:M,selectedAddress:K}]=cr({callbackRoute:e,token:p,onLoginRedirect:c,nativeAuth:d}),{addressTableClassNames:ie,confirmAddressClassNames:ne,ledgerConnectClassNames:Ue,ledgerLoadingClassNames:qn}=g||{},ro=()=>I?Do.default.createElement(zn,{customSpinnerComponent:_,customContentComponent:m,ledgerLoadingClassNames:qn}):u!=null&&!T?Do.default.createElement(Ys,{token:p,customContentComponent:m,confirmAddressClassNames:ne}):w&&!T?Do.default.createElement(Xs,{accounts:k,loading:I,onGoToNextPage:j,onGoToPrevPage:F,onSelectAddress:E,startIndex:M,selectedAddress:K==null?void 0:K.address,onConfirmSelectedAddress:Z,customContentComponent:m,addressTableClassNames:ie}):Do.default.createElement(Js,{error:T,onClick:f,customContentComponent:m,ledgerConnectClassNames:Ue});return n?Do.default.createElement(_r,{onClose:r,modalConfig:{headerText:"Login with ledger",showHeader:!0,modalContentClassName:no.ledgerModalDialogContent,modalHeaderClassName:no.ledgerModalHeader,modalHeaderTextClassName:no.ledgerModalHeaderText,modalCloseButtonClassName:no.ledgerModalCloseButton,modalBodyClassName:no.ledgerModalBody,modalDialogClassName:(0,Qs.default)(no.ledgerLoginContainer,o)}},ro()):ro()};var nl=({token:e,callbackRoute:o,nativeAuth:n,children:r,onModalOpens:c,onModalCloses:p,loginButtonText:d="Ledger",buttonClassName:_="dapp-ledger-login-button",className:m="dapp-ledger-login",modalClassName:g,wrapContentInsideModal:u=!0,hideButtonWhenModalOpens:f=!1,onLoginRedirect:T,disabled:I,customSpinnerComponent:w,innerLedgerComponentsClasses:k})=>{let F=Xi(),[j,E]=(0,to.useState)(!1),{handleShowModal:Z,handleHideModal:M}=$n();function K(){if(F)throw new Error(Ve);E(!0),Z(),c==null||c()}function ie(){E(!1),M(),p==null||p()}return to.default.createElement(to.default.Fragment,null,(!f||!j)&&to.default.createElement(Rs,{onLogin:K,className:m,btnClassName:_,text:d,disabled:I},r),j&&to.default.createElement(ec,{className:g,callbackRoute:o,token:e,nativeAuth:n,wrapContentInsideModal:u,onClose:ie,onLoginRedirect:T,customSpinnerComponent:w,innerLedgerComponentsClasses:k}))};0&&(module.exports={LedgerLoginButton});
3275
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(el));var ro={"ledger-login-container":"dapp-core-component__ledgerLoginContainerStyles__ledger-login-container",ledgerLoginContainer:"dapp-core-component__ledgerLoginContainerStyles__ledger-login-container","ledger-modal-dialog-content":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-dialog-content",ledgerModalDialogContent:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-dialog-content","ledger-modal-header":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header",ledgerModalHeader:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header","ledger-modal-header-text":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header-text",ledgerModalHeaderText:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-header-text","ledger-modal-close-button":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-close-button",ledgerModalCloseButton:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-close-button","ledger-modal-body":"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-body",ledgerModalBody:"dapp-core-component__ledgerLoginContainerStyles__ledger-modal-body"};var Qs=y(require("classnames")),ec=({callbackRoute:e,className:o="dapp-ledger-login-container",wrapContentInsideModal:n=!0,onClose:r,onLoginRedirect:c,token:p,nativeAuth:d,customSpinnerComponent:_,customContentComponent:m,innerLedgerComponentsClasses:g})=>{let{ledgerAccount:f}=Xo(),[u,{error:T,isLoading:I},{showAddressList:w,accounts:k,onGoToPrevPage:F,onGoToNextPage:K,onSelectAddress:E,onConfirmSelectedAddress:X,startIndex:H,selectedAddress:oe}]=pr({callbackRoute:e,token:p,onLoginRedirect:c,nativeAuth:d}),{addressTableClassNames:te,confirmAddressClassNames:R,ledgerConnectClassNames:$,ledgerLoadingClassNames:We}=g||{},Ge=()=>I?Po.default.createElement(qn,{customSpinnerComponent:_,customContentComponent:m,ledgerLoadingClassNames:We}):f!=null&&!T?Po.default.createElement(Ys,{token:p,customContentComponent:m,confirmAddressClassNames:R}):w&&!T?Po.default.createElement(Xs,{accounts:k,loading:I,onGoToNextPage:K,onGoToPrevPage:F,onSelectAddress:E,startIndex:H,selectedAddress:oe==null?void 0:oe.address,onConfirmSelectedAddress:X,customContentComponent:m,addressTableClassNames:te}):Po.default.createElement(Js,{error:T,onClick:u,customContentComponent:m,ledgerConnectClassNames:$});return n?Po.default.createElement(gr,{onClose:r,modalConfig:{headerText:"Login with ledger",showHeader:!0,modalContentClassName:ro.ledgerModalDialogContent,modalHeaderClassName:ro.ledgerModalHeader,modalHeaderTextClassName:ro.ledgerModalHeaderText,modalCloseButtonClassName:ro.ledgerModalCloseButton,modalBodyClassName:ro.ledgerModalBody,modalDialogClassName:(0,Qs.default)(ro.ledgerLoginContainer,o)}},Ge()):Ge()};var ol=({token:e,callbackRoute:o,nativeAuth:n,children:r,onModalOpens:c,onModalCloses:p,loginButtonText:d="Ledger",buttonClassName:_="dapp-ledger-login-button",className:m="dapp-ledger-login",modalClassName:g,wrapContentInsideModal:f=!0,hideButtonWhenModalOpens:u=!1,onLoginRedirect:T,disabled:I,customSpinnerComponent:w,innerLedgerComponentsClasses:k})=>{let F=Xi(),[K,E]=(0,ao.useState)(!1),{handleShowModal:X,handleHideModal:H}=zn();function oe(){if(F)throw new Error(je);E(!0),X(),c==null||c()}function te(){E(!1),H(),p==null||p()}return ao.default.createElement(ao.default.Fragment,null,(!u||!K)&&ao.default.createElement(Rs,{onLogin:oe,className:m,btnClassName:_,text:d,disabled:I},r),K&&ao.default.createElement(ec,{className:g,callbackRoute:o,token:e,nativeAuth:n,wrapContentInsideModal:f,onClose:te,onLoginRedirect:T,customSpinnerComponent:w,innerLedgerComponentsClasses:k}))};0&&(module.exports={LedgerLoginButton});
3276
3276
  /*!
3277
3277
  * The buffer module from node.js, for the browser.
3278
3278
  *