@multiversx/sdk-dapp 2.18.2 → 2.18.3

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 (197) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/ModalContainer/ModalContainer.js +1 -1
  5. package/UI/ModalContainer/index.js +1 -1
  6. package/UI/NotificationModal/NotificationModal.js +1 -1
  7. package/UI/NotificationModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  26. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  27. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  28. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  29. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/components/index.js +1 -1
  31. package/UI/SignTransactionsModals/index.js +1 -1
  32. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  33. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  34. package/UI/TransactionDetails/components/index.js +1 -1
  35. package/UI/TransactionDetails/index.js +1 -1
  36. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  37. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  38. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  40. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  42. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  58. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  59. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  60. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  61. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  66. package/UI/TransactionInfo/components/index.js +1 -1
  67. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  68. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  69. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  70. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  71. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  72. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  73. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  74. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  75. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  76. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  82. package/UI/TransactionInfo/index.js +1 -1
  83. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  84. package/UI/TransactionsTable/components/AccountName.js +1 -1
  85. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  86. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  87. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  88. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  89. package/UI/TransactionsTable/components/index.js +1 -1
  90. package/UI/TransactionsTable/index.js +1 -1
  91. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  92. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  93. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  94. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  95. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  96. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  97. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  98. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  99. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  100. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  101. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  102. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  103. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  104. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  105. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  106. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  107. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  108. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  109. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  110. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  111. package/UI/TransactionsToastList/components/index.js +1 -1
  112. package/UI/TransactionsToastList/index.js +1 -1
  113. package/UI/Trim/Trim.js +1 -1
  114. package/UI/Trim/index.js +1 -1
  115. package/UI/index.js +1 -1
  116. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  117. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  118. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  119. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  120. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  121. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  122. package/UI/ledger/index.js +1 -1
  123. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  124. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  125. package/UI/pages/UnlockPage/index.js +1 -1
  126. package/UI/pages/index.js +1 -1
  127. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  128. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  129. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  130. package/UI/walletConnect/index.js +1 -1
  131. package/__chunks__/{chunk-UE4TVM3M.js → chunk-FBLSS2B2.js} +2 -2
  132. package/__chunks__/{chunk-6JRB3XNG.js → chunk-FFXWX3UO.js} +2 -2
  133. package/__chunks__/chunk-FKFPRF2C.js +2 -0
  134. package/__chunks__/{chunk-UOCHSWSL.js → chunk-JB4MM5QY.js} +2 -2
  135. package/__chunks__/{chunk-HNTAU5RY.js → chunk-LZXDIBBB.js} +2 -2
  136. package/__chunks__/{chunk-G6P2ZSMV.js → chunk-OG7FCW6L.js} +2 -2
  137. package/__chunks__/chunk-RO3T3C63.js +2 -0
  138. package/__chunks__/{chunk-TQI3XDG2.js → chunk-RS7J6TAC.js} +2 -2
  139. package/__commonjs/UI/DappModal/index.js +1 -1
  140. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  141. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  142. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +8 -8
  143. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +8 -8
  144. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
  145. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
  146. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +8 -8
  147. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +9 -9
  148. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +7 -7
  149. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +7 -7
  150. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
  151. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
  152. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +10 -10
  153. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +6 -6
  154. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +10 -10
  155. package/__commonjs/UI/index.js +47 -47
  156. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +3 -3
  157. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  158. package/__commonjs/UI/pages/UnlockPage/index.js +8 -8
  159. package/__commonjs/UI/pages/index.js +8 -8
  160. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +5 -5
  161. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +5 -5
  162. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  163. package/__commonjs/UI/walletConnect/index.js +5 -5
  164. package/__commonjs/__mocks__/index.js +1 -1
  165. package/__commonjs/__mocks__/utils/index.js +1 -1
  166. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  167. package/__commonjs/components/ProviderInitializer.js +1 -1
  168. package/__commonjs/hooks/index.js +1 -1
  169. package/__commonjs/hooks/login/index.js +1 -1
  170. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  171. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  172. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  173. package/__commonjs/wrappers/index.js +1 -1
  174. package/__mocks__/index.js +1 -1
  175. package/__mocks__/utils/index.js +1 -1
  176. package/__mocks__/utils/renderWithProvider.js +1 -1
  177. package/components/LogoutListener/LogoutListener.js +1 -1
  178. package/components/LogoutListener/helpers/index.js +1 -1
  179. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  180. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  181. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  182. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  183. package/components/LogoutListener/index.js +1 -1
  184. package/components/ProviderInitializer.js +1 -1
  185. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  186. package/components/TransactionsTracker/index.js +1 -1
  187. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  188. package/hooks/index.js +1 -1
  189. package/hooks/login/index.js +1 -1
  190. package/hooks/login/useWalletConnectV2Login.js +1 -1
  191. package/package.json +2 -2
  192. package/wrappers/DappProvider/CustomComponents.js +1 -1
  193. package/wrappers/DappProvider/DappProvider.js +1 -1
  194. package/wrappers/DappProvider/index.js +1 -1
  195. package/wrappers/index.js +1 -1
  196. package/__chunks__/chunk-UKSSLKD2.js +0 -2
  197. package/__chunks__/chunk-VMJA5EFW.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Bi=Object.create;var Be=Object.defineProperty,Gi=Object.defineProperties,Wi=Object.getOwnPropertyDescriptor,Vi=Object.getOwnPropertyDescriptors,$i=Object.getOwnPropertyNames,co=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,Qo=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var st=(e,o,t)=>o in e?Be(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Qo.call(o,t)&&st(e,t,o[t]);if(co)for(var t of co(o))pt.call(o,t)&&st(e,t,o[t]);return e},w=(e,o)=>Gi(e,Vi(o));var Ge=(e,o)=>{var t={};for(var r in e)Qo.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&co)for(var r of co(e))o.indexOf(r)<0&&pt.call(e,r)&&(t[r]=e[r]);return t};var f=(e,o)=>()=>(e&&(o=e(e=0)),o);var W=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)Be(e,t,{get:o[t],enumerable:!0})},mt=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of $i(o))!Qo.call(e,s)&&s!==t&&Be(e,s,{get:()=>o[s],enumerable:!(r=Wi(o,s))||r.enumerable});return e};var T=(e,o,t)=>(t=e!=null?Bi(Hi(e)):{},mt(o||!e||!e.__esModule?Be(t,"default",{value:e,enumerable:!0}):t,e)),We=e=>mt(Be({},"__esModule",{value:!0}),e);var y=(e,o,t)=>new Promise((r,s)=>{var p=l=>{try{_(t.next(l))}catch(h){s(h)}},m=l=>{try{_(t.throw(l))}catch(h){s(h)}},_=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);_((t=t.apply(e,o)).next())});var _t=W(so=>{"use strict";n();so.byteLength=zi;so.toByteArray=Ki;so.fromByteArray=Zi;var q=[],$=[],ji=typeof Uint8Array!="undefined"?Uint8Array:Array,en="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ue=0,dt=en.length;ue<dt;++ue)q[ue]=en[ue],$[en.charCodeAt(ue)]=ue;var ue,dt;$["-".charCodeAt(0)]=62;$["_".charCodeAt(0)]=63;function lt(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var r=t===o?0:4-t%4;return[t,r]}function zi(e){var o=lt(e),t=o[0],r=o[1];return(t+r)*3/4-r}function qi(e,o,t){return(o+t)*3/4-t}function Ki(e){var o,t=lt(e),r=t[0],s=t[1],p=new ji(qi(e,r,s)),m=0,_=s>0?r-4:r,l;for(l=0;l<_;l+=4)o=$[e.charCodeAt(l)]<<18|$[e.charCodeAt(l+1)]<<12|$[e.charCodeAt(l+2)]<<6|$[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return s===2&&(o=$[e.charCodeAt(l)]<<2|$[e.charCodeAt(l+1)]>>4,p[m++]=o&255),s===1&&(o=$[e.charCodeAt(l)]<<10|$[e.charCodeAt(l+1)]<<4|$[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function Xi(e){return q[e>>18&63]+q[e>>12&63]+q[e>>6&63]+q[e&63]}function Yi(e,o,t){for(var r,s=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),s.push(Xi(r));return s.join("")}function Zi(e){for(var o,t=e.length,r=t%3,s=[],p=16383,m=0,_=t-r;m<_;m+=p)s.push(Yi(e,m,m+p>_?_:m+p));return r===1?(o=e[t-1],s.push(q[o>>2]+q[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],s.push(q[o>>10]+q[o>>4&63]+q[o<<2&63]+"=")),s.join("")}});var ut=W(on=>{n();on.read=function(e,o,t,r,s){var p,m,_=s*8-r-1,l=(1<<_)-1,h=l>>1,b=-7,x=t?s-1:0,F=t?-1:1,M=e[o+x];for(x+=F,p=M&(1<<-b)-1,M>>=-b,b+=_;b>0;p=p*256+e[o+x],x+=F,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=r;b>0;m=m*256+e[o+x],x+=F,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(M?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-h}return(M?-1:1)*m*Math.pow(2,p-r)};on.write=function(e,o,t,r,s,p){var m,_,l,h=p*8-s-1,b=(1<<h)-1,x=b>>1,F=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,M=r?0:p-1,oe=r?1:-1,io=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=F/l:o+=F*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=b?(_=0,m=b):m+x>=1?(_=(o*l-1)*Math.pow(2,s),m=m+x):(_=o*Math.pow(2,x-1)*Math.pow(2,s),m=0));s>=8;e[t+M]=_&255,M+=oe,_/=256,s-=8);for(m=m<<s|_,h+=s;h>0;e[t+M]=m&255,M+=oe,m/=256,h-=8);e[t+M-oe]|=io*128}});var kt=W(ve=>{"use strict";n();var nn=_t(),we=ut(),gt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ve.Buffer=d;ve.SlowBuffer=tc;ve.INSPECT_MAX_BYTES=50;var po=2147483647;ve.kMaxLength=po;d.TYPED_ARRAY_SUPPORT=Ji();!d.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 Ji(){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(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function te(e){if(e>po)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return cn(e)}return ht(e,o,t)}d.poolSize=8192;function ht(e,o,t){if(typeof e=="string")return ec(e,o);if(ArrayBuffer.isView(e))return oc(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(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return rn(e,o,t);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 d.from(r,o,t);var s=nc(e);if(s)return s;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return ht(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function xt(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 Qi(e,o,t){return xt(e),e<=0?te(e):o!==void 0?typeof t=="string"?te(e).fill(o,t):te(e).fill(o):te(e)}d.alloc=function(e,o,t){return Qi(e,o,t)};function cn(e){return xt(e),te(e<0?0:sn(e)|0)}d.allocUnsafe=function(e){return cn(e)};d.allocUnsafeSlow=function(e){return cn(e)};function ec(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=yt(e,o)|0,r=te(t),s=r.write(e,o);return s!==t&&(r=r.slice(0,s)),r}function tn(e){for(var o=e.length<0?0:sn(e.length)|0,t=te(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function oc(e){if(K(e,Uint8Array)){var o=new Uint8Array(e);return rn(o.buffer,o.byteOffset,o.byteLength)}return tn(e)}function rn(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,d.prototype),r}function nc(e){if(d.isBuffer(e)){var o=sn(e.length)|0,t=te(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pn(e.length)?te(0):tn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tn(e.data)}function sn(e){if(e>=po)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+po.toString(16)+" bytes");return e|0}function tc(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(K(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),K(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,s=t.length,p=0,m=Math.min(r,s);p<m;++p)if(o[p]!==t[p]){r=o[p],s=t[p];break}return r<s?-1:s<r?1:0};d.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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var s=d.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var m=o[r];if(K(m,Uint8Array))p+m.length>s.length?d.from(m).copy(s,p):Uint8Array.prototype.set.call(s,m,p);else if(d.isBuffer(m))m.copy(s,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return s};function yt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(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 t=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var s=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return an(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return At(e).length;default:if(s)return r?-1:an(e).length;o=(""+o).toLowerCase(),s=!0}}d.byteLength=yt;function rc(e,o,t){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return uc(this,o,t);case"utf8":case"utf-8":return St(this,o,t);case"ascii":return lc(this,o,t);case"latin1":case"binary":return _c(this,o,t);case"base64":return mc(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gc(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}d.prototype._isBuffer=!0;function ge(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}d.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 t=0;t<o;t+=2)ge(this,t,t+1);return this};d.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 t=0;t<o;t+=4)ge(this,t,t+3),ge(this,t+1,t+2);return this};d.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 t=0;t<o;t+=8)ge(this,t,t+7),ge(this,t+1,t+6),ge(this,t+2,t+5),ge(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?St(this,0,o):rc.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=ve.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};gt&&(d.prototype[gt]=d.prototype.inspect);d.prototype.compare=function(o,t,r,s,p){if(K(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),r===void 0&&(r=o?o.length:0),s===void 0&&(s=0),p===void 0&&(p=this.length),t<0||r>o.length||s<0||p>this.length)throw new RangeError("out of range index");if(s>=p&&t>=r)return 0;if(s>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,s>>>=0,p>>>=0,this===o)return 0;for(var m=p-s,_=r-t,l=Math.min(m,_),h=this.slice(s,p),b=o.slice(t,r),x=0;x<l;++x)if(h[x]!==b[x]){m=h[x],_=b[x];break}return m<_?-1:_<m?1:0};function bt(e,o,t,r,s){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pn(t)&&(t=s?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(s)return-1;t=e.length-1}else if(t<0)if(s)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,r)),d.isBuffer(o))return o.length===0?-1:ft(e,o,t,r,s);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):ft(e,[o],t,r,s);throw new TypeError("val must be string, number or Buffer")}function ft(e,o,t,r,s){var p=1,m=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,m/=2,_/=2,t/=2}function l(M,oe){return p===1?M[oe]:M.readUInt16BE(oe*p)}var h;if(s){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===_)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+_>m&&(t=m-_),h=t;h>=0;h--){for(var x=!0,F=0;F<_;F++)if(l(e,h+F)!==l(o,F)){x=!1;break}if(x)return h}return-1}d.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};d.prototype.indexOf=function(o,t,r){return bt(this,o,t,r,!0)};d.prototype.lastIndexOf=function(o,t,r){return bt(this,o,t,r,!1)};function ac(e,o,t,r){t=Number(t)||0;var s=e.length-t;r?(r=Number(r),r>s&&(r=s)):r=s;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(pn(_))return m;e[t+m]=_}return m}function ic(e,o,t,r){return mo(an(o,e.length-t),e,t,r)}function cc(e,o,t,r){return mo(hc(o),e,t,r)}function sc(e,o,t,r){return mo(At(o),e,t,r)}function pc(e,o,t,r){return mo(xc(o,e.length-t),e,t,r)}d.prototype.write=function(o,t,r,s){if(t===void 0)s="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")s=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,s===void 0&&(s="utf8")):(s=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var m=!1;;)switch(s){case"hex":return ac(this,o,t,r);case"utf8":case"utf-8":return ic(this,o,t,r);case"ascii":case"latin1":case"binary":return cc(this,o,t,r);case"base64":return sc(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pc(this,o,t,r);default:if(m)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function mc(e,o,t){return o===0&&t===e.length?nn.fromByteArray(e):nn.fromByteArray(e.slice(o,t))}function St(e,o,t){t=Math.min(e.length,t);for(var r=[],s=o;s<t;){var p=e[s],m=null,_=p>239?4:p>223?3:p>191?2:1;if(s+_<=t){var l,h,b,x;switch(_){case 1:p<128&&(m=p);break;case 2:l=e[s+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[s+1],h=e[s+2],(l&192)===128&&(h&192)===128&&(x=(p&15)<<12|(l&63)<<6|h&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[s+1],h=e[s+2],b=e[s+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(x=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),s+=_}return dc(r)}var Tt=4096;function dc(e){var o=e.length;if(o<=Tt)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=Tt));return t}function lc(e,o,t){var r="";t=Math.min(e.length,t);for(var s=o;s<t;++s)r+=String.fromCharCode(e[s]&127);return r}function _c(e,o,t){var r="";t=Math.min(e.length,t);for(var s=o;s<t;++s)r+=String.fromCharCode(e[s]);return r}function uc(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var s="",p=o;p<t;++p)s+=yc[e[p]];return s}function gc(e,o,t){for(var r=e.slice(o,t),s="",p=0;p<r.length-1;p+=2)s+=String.fromCharCode(r[p]+r[p+1]*256);return s}d.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var s=this.subarray(o,t);return Object.setPrototypeOf(s,d.prototype),s};function D(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o],p=1,m=0;++m<t&&(p*=256);)s+=this[o+m]*p;return s};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o+--t],p=1;t>0&&(p*=256);)s+=this[o+--t]*p;return s};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||D(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||D(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||D(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||D(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o],p=1,m=0;++m<t&&(p*=256);)s+=this[o+m]*p;return p*=128,s>=p&&(s-=Math.pow(2,8*t)),s};d.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=t,p=1,m=this[o+--s];s>0&&(p*=256);)m+=this[o+--s]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||D(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||D(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||D(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||D(o,4,this.length),we.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||D(o,4,this.length),we.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||D(o,8,this.length),we.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||D(o,8,this.length),we.read(this,o,!1,52,8)};function U(e,o,t,r,s,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>s||o<p)throw new RangeError('"value" argument is out of bounds');if(t+r>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,r,s){if(o=+o,t=t>>>0,r=r>>>0,!s){var p=Math.pow(2,8*r)-1;U(this,o,t,r,p,0)}var m=1,_=0;for(this[t]=o&255;++_<r&&(m*=256);)this[t+_]=o/m&255;return t+r};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,r,s){if(o=+o,t=t>>>0,r=r>>>0,!s){var p=Math.pow(2,8*r)-1;U(this,o,t,r,p,0)}var m=r-1,_=1;for(this[t+m]=o&255;--m>=0&&(_*=256);)this[t+m]=o/_&255;return t+r};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,r,s){if(o=+o,t=t>>>0,!s){var p=Math.pow(2,8*r-1);U(this,o,t,r,p-1,-p)}var m=0,_=1,l=0;for(this[t]=o&255;++m<r&&(_*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/_>>0)-l&255;return t+r};d.prototype.writeIntBE=function(o,t,r,s){if(o=+o,t=t>>>0,!s){var p=Math.pow(2,8*r-1);U(this,o,t,r,p-1,-p)}var m=r-1,_=1,l=0;for(this[t+m]=o&255;--m>=0&&(_*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/_>>0)-l&255;return t+r};d.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function wt(e,o,t,r,s,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function vt(e,o,t,r,s){return o=+o,t=t>>>0,s||wt(e,o,t,4,34028234663852886e22,-34028234663852886e22),we.write(e,o,t,r,23,4),t+4}d.prototype.writeFloatLE=function(o,t,r){return vt(this,o,t,!0,r)};d.prototype.writeFloatBE=function(o,t,r){return vt(this,o,t,!1,r)};function It(e,o,t,r,s){return o=+o,t=t>>>0,s||wt(e,o,t,8,17976931348623157e292,-17976931348623157e292),we.write(e,o,t,r,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,r){return It(this,o,t,!0,r)};d.prototype.writeDoubleBE=function(o,t,r){return It(this,o,t,!1,r)};d.prototype.copy=function(o,t,r,s){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!s&&s!==0&&(s=this.length),t>=o.length&&(t=o.length),t||(t=0),s>0&&s<r&&(s=r),s===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),o.length-t<s-r&&(s=o.length-t+r);var p=s-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,s):Uint8Array.prototype.set.call(o,this.subarray(r,s),t),p};d.prototype.fill=function(o,t,r,s){if(typeof o=="string"){if(typeof t=="string"?(s=t,t=0,r=this.length):typeof r=="string"&&(s=r,r=this.length),s!==void 0&&typeof s!="string")throw new TypeError("encoding must be a string");if(typeof s=="string"&&!d.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(o.length===1){var p=o.charCodeAt(0);(s==="utf8"&&p<128||s==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<r;++m)this[m]=o;else{var _=d.isBuffer(o)?o:d.from(o,s),l=_.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-t;++m)this[m+t]=_[m%l]}return this};var fc=/[^+/0-9A-Za-z-_]/g;function Tc(e){if(e=e.split("=")[0],e=e.trim().replace(fc,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function an(e,o){o=o||1/0;for(var t,r=e.length,s=null,p=[],m=0;m<r;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!s){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}s=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),s=t;continue}t=(s-55296<<10|t-56320)+65536}else s&&(o-=3)>-1&&p.push(239,191,189);if(s=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function hc(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function xc(e,o){for(var t,r,s,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),r=t>>8,s=t%256,p.push(s),p.push(r);return p}function At(e){return nn.toByteArray(Tc(e))}function mo(e,o,t,r){for(var s=0;s<r&&!(s+t>=o.length||s>=e.length);++s)o[s+t]=e[s];return s}function K(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pn(e){return e!==e}var yc=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,s=0;s<16;++s)o[r+s]=e[t]+e[s];return o}()});var Ct=W((Bd,Pt)=>{n();var k=Pt.exports={},X,Y;function mn(){throw new Error("setTimeout has not been defined")}function dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?X=setTimeout:X=mn}catch(e){X=mn}try{typeof clearTimeout=="function"?Y=clearTimeout:Y=dn}catch(e){Y=dn}})();function Et(e){if(X===setTimeout)return setTimeout(e,0);if((X===mn||!X)&&setTimeout)return X=setTimeout,setTimeout(e,0);try{return X(e,0)}catch(o){try{return X.call(null,e,0)}catch(t){return X.call(this,e,0)}}}function bc(e){if(Y===clearTimeout)return clearTimeout(e);if((Y===dn||!Y)&&clearTimeout)return Y=clearTimeout,clearTimeout(e);try{return Y(e)}catch(o){try{return Y.call(null,e)}catch(t){return Y.call(this,e)}}}var re=[],Ie=!1,fe,lo=-1;function Sc(){!Ie||!fe||(Ie=!1,fe.length?re=fe.concat(re):lo=-1,re.length&&Lt())}function Lt(){if(!Ie){var e=Et(Sc);Ie=!0;for(var o=re.length;o;){for(fe=re,re=[];++lo<o;)fe&&fe[lo].run();lo=-1,o=re.length}fe=null,Ie=!1,bc(e)}}k.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];re.push(new Nt(e,o)),re.length===1&&!Ie&&Et(Lt)};function Nt(e,o){this.fun=e,this.array=o}Nt.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function ae(){}k.on=ae;k.addListener=ae;k.once=ae;k.off=ae;k.removeListener=ae;k.removeAllListeners=ae;k.emit=ae;k.prependListener=ae;k.prependOnceListener=ae;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var a,c,wc,i,n=f(()=>{a=T(kt()),c=T(Ct()),wc=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 t=__magic__;return t}(Object),i=wc});var Te=f(()=>{"use strict";n()});var ln=f(()=>{"use strict";n()});var Ot=f(()=>{"use strict";n()});var Mt=f(()=>{"use strict";n()});var E=f(()=>{"use strict";n()});var Ft=f(()=>{"use strict";n()});var Ut=f(()=>{"use strict";n()});var B=f(()=>{"use strict";n()});var Bt=f(()=>{"use strict";n()});var Gt=f(()=>{"use strict";n()});var Wt=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();ln();Ot();Mt();E();Ft();Ut();B();Bt();Gt();Wt()});var Ae,Vt,dl,$t,ll,Ht,_l,ul,Ac,Ve=f(()=>{"use strict";n();C();Ae={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:"EGLD",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:Vt,egldLabel:dl}=Ae["devnet"],{chainId:$t,egldLabel:ll}=Ae["testnet"],{chainId:Ht,egldLabel:_l}=Ae["mainnet"],ul={["devnet"]:Vt,["testnet"]:$t,["mainnet"]:Ht},Ac={[Vt]:"devnet",[$t]:"testnet",[Ht]:"mainnet"}});var _n=f(()=>{"use strict";n()});var jt=f(()=>{"use strict";n()});var zt=f(()=>{"use strict";n()});var Z,qt=f(()=>{"use strict";n();Z=require("@multiversx/sdk-web-wallet-provider")});var Kt=f(()=>{"use strict";n()});var Xt=f(()=>{"use strict";n()});var $e,go,Yt,fo,Zt,ke,v=f(()=>{"use strict";n();Te();Ve();_n();jt();zt();qt();Kt();Xt();$e=5e4,go=1e9,Yt=1,fo="logout",Zt="login",ke="0"});var He,To=f(()=>{"use strict";n();He=()=>Date.now()/1e3});var Jt=f(()=>{"use strict";n()});var Qt=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n();To();Jt();Qt()});var fn={};_e(fn,{getItem:()=>Ec,localStorageKeys:()=>de,removeItem:()=>Lc,setItem:()=>kc});var de,gn,kc,Ec,Lc,Ee=f(()=>{"use strict";n();un();de={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gn=typeof localStorage!="undefined",kc=({key:e,data:o,expires:t})=>{!gn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ec=e=>{if(!gn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:He()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Lc=e=>{!gn||localStorage.removeItem(String(e))}});var Tn={};_e(Tn,{clear:()=>tr,getItem:()=>or,removeItem:()=>nr,setItem:()=>er,storage:()=>Nc});var er,or,nr,tr,Nc,rr=f(()=>{"use strict";n();er=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},or=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},nr=e=>sessionStorage.removeItem(String(e)),tr=()=>sessionStorage.clear(),Nc={setItem:er,getItem:or,removeItem:nr,clear:tr}});var he,Le=f(()=>{"use strict";n();Ee();rr();he={session:Tn,local:fn}});var hn,L,ie,O=f(()=>{"use strict";n();hn=require("@reduxjs/toolkit");v();L=(0,hn.createAction)(fo),ie=(0,hn.createAction)(Zt,e=>({payload:e}))});var yn,ar,ir,ho,xn,cr,bn,Kl,Sn,Xl,Pc,Cc,Yl,Zl,Jl,Dc,Rc,xo,yo=f(()=>{"use strict";n();yn=require("@multiversx/sdk-core"),ar=require("@reduxjs/toolkit"),ir=require("redux-persist");v();Le();Ee();O();ho={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ke},xn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ho},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},cr=(0,ar.createSlice)({name:"accountInfoSlice",initialState:xn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new yn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ho},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].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}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(he.local.removeItem(de.loginExpiresAt),xn)),e.addCase(ie,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new yn.Address(r).hex()}),e.addCase(ir.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:r}=t.payload,{address:s,shard:p,accounts:m,publicKey:_}=r;o.address=s,o.shard=p;let l=m&&s in m;o.accounts=l?m:xn.accounts,o.publicKey=_})}}),{setAccount:bn,setAddress:Kl,setAccountNonce:Sn,setAccountShard:Xl,setLedgerAccount:Pc,updateLedgerAccount:Cc,setWalletConnectAccount:Yl,setIsAccountLoading:Zl,setAccountLoadingError:Jl,setWebsocketEvent:Dc,setWebsocketBatchEvent:Rc}=cr.actions,xo=cr.reducer});function je(){return new Date().setHours(new Date().getHours()+24)}function ze(e){he.local.setItem({key:de.loginExpiresAt,data:e,expires:e})}var wn=f(()=>{"use strict";n();Le();Ee()});var pr,sr,mr,s_,Oc,Mc,Fc,p_,Uc,dr,m_,bo,So=f(()=>{"use strict";n();pr=require("@reduxjs/toolkit");wn();E();O();sr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},mr=(0,pr.createSlice)({name:"loginInfoSlice",initialState:sr,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(L,()=>sr),e.addCase(ie,(o,t)=>{o.loginMethod=t.payload.loginMethod,ze(je())})}}),{setLoginMethod:s_,setWalletConnectLogin:Oc,setLedgerLogin:Mc,setTokenLogin:Fc,setTokenLoginSignature:p_,setWalletLogin:Uc,invalidateLoginSession:dr,setLogoutRoute:m_}=mr.actions,bo=mr.reducer});var _r,lr,ur,u_,Bc,g_,Gc,wo,vo=f(()=>{"use strict";n();_r=require("@reduxjs/toolkit");O();lr={},ur=(0,_r.createSlice)({name:"modalsSlice",initialState:lr,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(L,()=>lr)}}),{setTxSubmittedModal:u_,setNotificationModal:Bc,clearTxSubmittedModal:g_,clearNotificationModal:Gc}=ur.actions,wo=ur.reducer});var qe,Ke=f(()=>{"use strict";n();qe=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var P,N=f(()=>{"use strict";n();Ke();P=()=>{if(!qe())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:s,search:p}}=window;return{pathname:o,hash:t,origin:r,href:s,search:p}}});var Xe=f(()=>{"use strict";n()});var fr=f(()=>{"use strict";n();N();Xe()});function Tr(e){return e[Math.floor(Math.random()*e.length)]}var hr=f(()=>{"use strict";n()});var vn=f(()=>{"use strict";n();_n()});var Ne=f(()=>{"use strict";n();fr();hr();vn()});var xr,yr,In,Wc,br,R_,O_,Io,Ao=f(()=>{"use strict";n();xr=require("@reduxjs/toolkit"),yr=T(require("lodash.omit"));Ne();In={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Wc={network:In,chainID:"-1"},br=(0,xr.createSlice)({name:"appConfig",initialState:Wc,reducers:{initializeNetworkConfig:(e,o)=>{let t=Tr(o.payload.walletConnectV2RelayAddresses),r=(0,yr.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(g(g({},e.network),r),{walletConnectV2RelayAddress:t})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:R_,setChainID:O_}=br.actions,Io=br.reducer});var Sr,An,wr,W_,V_,$_,ko,Eo=f(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");C();O();An={isSigning:!1,signedSessions:{}},wr=(0,Sr.createSlice)({name:"signedMessageInfoSliceState",initialState:An,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:s}=o.payload;s&&(e.errorMessage=s),e.isSigning=r.status==="pending",e.signedSessions[t]=r},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>An},extraReducers:e=>{e.addCase(L,()=>An)}}),{setSignSession:W_,clearSignedMessageInfo:V_,setSignSessionState:$_}=wr.actions,ko=wr.reducer});var Ir,Ar,vr,kr,Vc,$c,Y_,Hc,Lo,No=f(()=>{"use strict";n();Ir=require("@reduxjs/toolkit"),Ar=require("redux-persist");C();To();O();vr={customToasts:[],transactionToasts:[]},kr=(0,Ir.createSlice)({name:"toastsSlice",initialState:vr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(w(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:He(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(L,()=>vr),e.addCase(Ar.REHYDRATE,(o,t)=>{var s,p;let r=(p=(s=t.customToasts)==null?void 0:s.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Vc,removeCustomToast:$c,addTransactionToast:Y_,removeTransactionToast:Hc}=kr.actions,Lo=kr.reducer});var Er,En,Ln,Nn,jc,kn,Lr,eu,zc,Pn,Po,Co=f(()=>{"use strict";n();Er=require("@reduxjs/toolkit");O();En="Transaction failed",Ln="Transaction successful",Nn="Processing transaction",jc="Transaction submitted",kn={},Lr=(0,Er.createSlice)({name:"transactionsInfo",initialState:kn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||En,successMessage:(r==null?void 0:r.successMessage)||Ln,processingMessage:(r==null?void 0:r.processingMessage)||Nn,submittedMessage:(r==null?void 0:r.submittedMessage)||jc,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>kn},extraReducers:e=>{e.addCase(L,()=>kn)}}),{clearTransactionsInfo:eu,setTransactionsDisplayInfo:zc,clearTransactionsInfoForSessionId:Pn}=Lr.actions,Po=Lr.reducer});function Ce(e){return e!=null&&(ns(e)||cs(e))}function De(e){return e!=null&&(ts(e)||ss(e))}function Re(e){return e!=null&&(rs(e)||ps(e))}function Nr(e){return e!=null&&(as(e)||ms(e))}function Cn(e){return e!=null&&is(e)}function ns(e){return e!=null&&qc.includes(e)}function ts(e){return e!=null&&Kc.includes(e)}function rs(e){return e!=null&&Xc.includes(e)}function as(e){return e!=null&&Yc.includes(e)}function is(e){return e!=null&&Zc.includes(e)}function cs(e){return e!=null&&Jc.includes(e)}function ss(e){return e!=null&&Qc.includes(e)}function ps(e){return e!=null&&es.includes(e)}function ms(e){return e!=null&&os.includes(e)}var qc,Kc,Xc,Yc,Zc,Jc,Qc,es,os,Oe=f(()=>{"use strict";n();E();qc=["sent"],Kc=["success"],Xc=["fail","cancelled","timedOut"],Yc=["invalid"],Zc=["timedOut"],Jc=["pending"],Qc=["success"],es=["fail","invalid"],os=["not executed"]});var Pr,Cr,Ye,ds,Dr,Rr,Or,ls,Do,_s,us,pu,gs,Ze,Dn,Ro,Oo=f(()=>{"use strict";n();Pr=require("@reduxjs/toolkit"),Cr=require("redux-persist");E();Oe();O();Ye={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ds={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Dr=(0,Pr.createSlice)({name:"transactionsSlice",initialState:Ye,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:r,errorMessage:s,status:p,redirectRoute:m,customTransactionInformation:_={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||ds;e.signedTransactions[t]={transactions:r,status:p,errorMessage:s,redirectRoute:m,customTransactionInformation:g(g({},l),_)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=Ye.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=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:s,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,s!=null&&(e.signedTransactions[t].errorMessage=s),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,x,F,M,oe,io;let{sessionId:t,status:r,errorMessage:s,transactionHash:p,inTransit:m}=o.payload,_=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(ne=>ne.hash===p?w(g({},ne),{status:r,errorMessage:s,inTransit:m}):ne);let Mi=(x=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:x.every(ne=>De(ne.status)),Fi=(M=(F=e.signedTransactions[t])==null?void 0:F.transactions)==null?void 0:M.every(ne=>Re(ne.status)),Ui=(io=(oe=e.signedTransactions[t])==null?void 0:oe.transactions)==null?void 0:io.every(ne=>Nr(ne.status));Mi&&(e.signedTransactions[t].status="success"),Fi&&(e.signedTransactions[t].status="fail"),Ui&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ye.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ye.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ye),e.addCase(Cr.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:s}=t.payload.transactions,p=Object.entries(r).reduce((_,[l,h])=>{let b=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-b>0||(_[l]=h),_},{});s!=null&&(o.customTransactionInformationForSessionId=s),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Rr,updateSignedTransactions:Or,setTransactionsToSign:ls,clearAllTransactionsToSign:Do,clearAllSignedTransactions:_s,clearSignedTransaction:us,clearTransactionToSign:pu,setSignTransactionsError:gs,setSignTransactionsCancelMessage:Ze,moveTransactionsToSignedState:Dn}=Dr.actions,Ro=Dr.reducer});var Mr,Rn,Fr,_u,uu,fs,gu,Mo,Fo=f(()=>{"use strict";n();Mr=require("@reduxjs/toolkit");O();Rn={},Fr=(0,Mr.createSlice)({name:"batchTransactionsSlice",initialState:Rn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Rn},extraReducers:e=>{e.addCase(L,()=>Rn)}}),{setBatchTransactions:_u,updateBatchTransactions:uu,clearBatchTransactions:fs,clearAllBatchTransactions:gu}=Fr.actions,Mo=Fr.reducer});var Br,Ur,Gr,xu,Wr,On=f(()=>{"use strict";n();Br=require("@reduxjs/toolkit");O();Ur={},Gr=(0,Br.createSlice)({name:"dappConfigSlice",initialState:Ur,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:r,cancelTransactionToastDuration:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=r,e.cancelTransactionToastDuration=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ur)}}),{setDappConfig:xu}=Gr.actions,Wr=Gr.reducer});var A=f(()=>{"use strict";n();yo();So();vo();Ao();Eo();No();Co();Oo();Fo();On()});var Mn=f(()=>{"use strict";n()});var zr,jr,qr,ju,zu,qu,Ku,Xu,Yu,Kr,Xr=f(()=>{"use strict";n();zr=require("@reduxjs/toolkit");O();jr={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},qr=(0,zr.createSlice)({name:"dappModalsSlice",initialState:jr,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=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>jr)}}),{setDappModalVisibility:ju,setDappModalHeaderVisibility:zu,setDappModalFooterVisibility:qu,setDappModalHeaderText:Ku,setDappModalFooterText:Xu,setDappModalConfig:Yu}=qr.actions,Kr=qr.reducer});var Yr,ys,bs,xe,Wo=f(()=>{"use strict";n();Yr=require("@reduxjs/toolkit");Mn();yo();Fo();On();Xr();So();vo();Ao();Eo();No();Co();Oo();ys={["account"]:xo,["dappModal"]:Kr,["dappConfig"]:Wr,["loginInfo"]:bo,["modals"]:wo,["networkConfig"]:Io,["signedMessageInfo"]:ko,["toasts"]:Lo,["transactionsInfo"]:Po,["transactions"]:Ro,["batchTransactions"]:Mo},bs=(e={})=>(0,Yr.combineReducers)(g(g({},ys),e)),xe=bs});var ea={};_e(ea,{default:()=>Fs,sessionStorageReducers:()=>Fn});function ce(e,o=[]){return{key:e,version:1,storage:Jr.default,blacklist:o}}var G,Zr,Jr,Ss,Qe,ws,vs,Is,As,ks,Es,Ls,Ns,Ps,Cs,Qr,Ds,Fn,Rs,Os,Ms,Fs,oa=f(()=>{"use strict";n();G=require("redux-persist"),Zr=T(require("redux-persist/lib/storage")),Jr=T(require("redux-persist/lib/storage/session"));Wo();A();yo();Fo();So();vo();Ao();Eo();No();Co();Oo();Mn();Ss={persistReducersStorageType:"localStorage"},Qe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ws=ce(Qe["account"]),vs=ce(Qe["loginInfo"]),Is=ce(Qe["modals"]),As=ce(Qe["networkConfig"]),ks={2:e=>w(g({},e),{networkConfig:In})};Es=ce("sdk-dapp-transactionsInfo"),Ls=ce("sdk-dapp-transactions",["transactionsToSign"]),Ns=ce("sdk-dapp-batchTransactions",["batchTransactions"]),Ps=ce("sdk-dapp-toasts"),Cs=ce("sdk-dapp-signedMessageInfo"),Qr={key:"sdk-dapp-store",version:2,storage:Zr.default,whitelist:Object.keys(Qe),migrate:(0,G.createMigrate)(ks,{debug:!1})},Ds=w(g({},Qr),{whitelist:[]}),Fn={["toasts"]:(0,G.persistReducer)(Ps,Lo),["transactions"]:(0,G.persistReducer)(Ls,Ro),["transactionsInfo"]:(0,G.persistReducer)(Es,Po),["batchTransactions"]:(0,G.persistReducer)(Ns,Mo),["signedMessageInfo"]:(0,G.persistReducer)(Cs,ko)},Rs=w(g({},Fn),{["account"]:(0,G.persistReducer)(ws,xo),["loginInfo"]:(0,G.persistReducer)(vs,bo),["modals"]:(0,G.persistReducer)(Is,wo),["networkConfig"]:(0,G.persistReducer)(As,Io)}),Os=Ss.persistReducersStorageType==="localStorage",Ms=Os?(0,G.persistReducer)(Qr,xe(Fn)):(0,G.persistReducer)(Ds,xe(Rs)),Fs=Ms});var na={};_e(na,{default:()=>Us});var Us,ta=f(()=>{"use strict";n();Wo();Us=xe()});var ra={};_e(ra,{default:()=>Gs});var j,Bs,Gs,aa=f(()=>{"use strict";n();j=require("redux-persist"),Bs=[j.FLUSH,j.REHYDRATE,j.PAUSE,j.PERSIST,j.PURGE,j.REGISTER],Gs=Bs});var sa={};_e(sa,{default:()=>ca});function ca(e){return(0,ia.persistStore)(e)}var ia,pa=f(()=>{"use strict";n();ia=require("redux-persist")});var si=W((OL,ci)=>{n();var Gm=typeof i=="object"&&i&&i.Object===Object&&i;ci.exports=Gm});var mi=W((ML,pi)=>{n();var Wm=si(),Vm=typeof self=="object"&&self&&self.Object===Object&&self,$m=Wm||Vm||Function("return this")();pi.exports=$m});var ot=W((FL,di)=>{n();var Hm=mi(),jm=Hm.Symbol;di.exports=jm});var gi=W((UL,ui)=>{n();var li=ot(),_i=Object.prototype,zm=_i.hasOwnProperty,qm=_i.toString,to=li?li.toStringTag:void 0;function Km(e){var o=zm.call(e,to),t=e[to];try{e[to]=void 0;var r=!0}catch(p){}var s=qm.call(e);return r&&(o?e[to]=t:delete e[to]),s}ui.exports=Km});var Ti=W((BL,fi)=>{n();var Xm=Object.prototype,Ym=Xm.toString;function Zm(e){return Ym.call(e)}fi.exports=Zm});var bi=W((GL,yi)=>{n();var hi=ot(),Jm=gi(),Qm=Ti(),ed="[object Null]",od="[object Undefined]",xi=hi?hi.toStringTag:void 0;function nd(e){return e==null?e===void 0?od:ed:xi&&xi in Object(e)?Jm(e):Qm(e)}yi.exports=nd});var wi=W((WL,Si)=>{n();var td=Array.isArray;Si.exports=td});var Ii=W((VL,vi)=>{n();function rd(e){return e!=null&&typeof e=="object"}vi.exports=rd});var ki=W(($L,Ai)=>{n();var ad=bi(),id=wi(),cd=Ii(),sd="[object String]";function pd(e){return typeof e=="string"||!id(e)&&cd(e)&&ad(e)==sd}Ai.exports=pd});var Rd={};_e(Rd,{TransactionInfoNonce:()=>Dd});module.exports=We(Rd);n();var ao=T(require("react"));n();var _o=T(require("react")),uo=T(require("classnames"));n();var vc=`.dapp-core-component__main__link-style {
1
+ "use strict";var Bi=Object.create;var Be=Object.defineProperty,Gi=Object.defineProperties,Wi=Object.getOwnPropertyDescriptor,Vi=Object.getOwnPropertyDescriptors,$i=Object.getOwnPropertyNames,co=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,Qo=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var st=(e,o,t)=>o in e?Be(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Qo.call(o,t)&&st(e,t,o[t]);if(co)for(var t of co(o))pt.call(o,t)&&st(e,t,o[t]);return e},w=(e,o)=>Gi(e,Vi(o));var Ge=(e,o)=>{var t={};for(var r in e)Qo.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&co)for(var r of co(e))o.indexOf(r)<0&&pt.call(e,r)&&(t[r]=e[r]);return t};var f=(e,o)=>()=>(e&&(o=e(e=0)),o);var W=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)Be(e,t,{get:o[t],enumerable:!0})},mt=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of $i(o))!Qo.call(e,s)&&s!==t&&Be(e,s,{get:()=>o[s],enumerable:!(r=Wi(o,s))||r.enumerable});return e};var T=(e,o,t)=>(t=e!=null?Bi(Hi(e)):{},mt(o||!e||!e.__esModule?Be(t,"default",{value:e,enumerable:!0}):t,e)),We=e=>mt(Be({},"__esModule",{value:!0}),e);var y=(e,o,t)=>new Promise((r,s)=>{var p=l=>{try{_(t.next(l))}catch(h){s(h)}},m=l=>{try{_(t.throw(l))}catch(h){s(h)}},_=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);_((t=t.apply(e,o)).next())});var _t=W(so=>{"use strict";n();so.byteLength=zi;so.toByteArray=Ki;so.fromByteArray=Zi;var q=[],$=[],ji=typeof Uint8Array!="undefined"?Uint8Array:Array,en="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ue=0,dt=en.length;ue<dt;++ue)q[ue]=en[ue],$[en.charCodeAt(ue)]=ue;var ue,dt;$["-".charCodeAt(0)]=62;$["_".charCodeAt(0)]=63;function lt(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var r=t===o?0:4-t%4;return[t,r]}function zi(e){var o=lt(e),t=o[0],r=o[1];return(t+r)*3/4-r}function qi(e,o,t){return(o+t)*3/4-t}function Ki(e){var o,t=lt(e),r=t[0],s=t[1],p=new ji(qi(e,r,s)),m=0,_=s>0?r-4:r,l;for(l=0;l<_;l+=4)o=$[e.charCodeAt(l)]<<18|$[e.charCodeAt(l+1)]<<12|$[e.charCodeAt(l+2)]<<6|$[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return s===2&&(o=$[e.charCodeAt(l)]<<2|$[e.charCodeAt(l+1)]>>4,p[m++]=o&255),s===1&&(o=$[e.charCodeAt(l)]<<10|$[e.charCodeAt(l+1)]<<4|$[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function Xi(e){return q[e>>18&63]+q[e>>12&63]+q[e>>6&63]+q[e&63]}function Yi(e,o,t){for(var r,s=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),s.push(Xi(r));return s.join("")}function Zi(e){for(var o,t=e.length,r=t%3,s=[],p=16383,m=0,_=t-r;m<_;m+=p)s.push(Yi(e,m,m+p>_?_:m+p));return r===1?(o=e[t-1],s.push(q[o>>2]+q[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],s.push(q[o>>10]+q[o>>4&63]+q[o<<2&63]+"=")),s.join("")}});var ut=W(on=>{n();on.read=function(e,o,t,r,s){var p,m,_=s*8-r-1,l=(1<<_)-1,h=l>>1,b=-7,x=t?s-1:0,F=t?-1:1,O=e[o+x];for(x+=F,p=O&(1<<-b)-1,O>>=-b,b+=_;b>0;p=p*256+e[o+x],x+=F,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=r;b>0;m=m*256+e[o+x],x+=F,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(O?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-h}return(O?-1:1)*m*Math.pow(2,p-r)};on.write=function(e,o,t,r,s,p){var m,_,l,h=p*8-s-1,b=(1<<h)-1,x=b>>1,F=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,O=r?0:p-1,oe=r?1:-1,io=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=F/l:o+=F*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=b?(_=0,m=b):m+x>=1?(_=(o*l-1)*Math.pow(2,s),m=m+x):(_=o*Math.pow(2,x-1)*Math.pow(2,s),m=0));s>=8;e[t+O]=_&255,O+=oe,_/=256,s-=8);for(m=m<<s|_,h+=s;h>0;e[t+O]=m&255,O+=oe,m/=256,h-=8);e[t+O-oe]|=io*128}});var kt=W(ve=>{"use strict";n();var nn=_t(),we=ut(),gt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ve.Buffer=d;ve.SlowBuffer=tc;ve.INSPECT_MAX_BYTES=50;var po=2147483647;ve.kMaxLength=po;d.TYPED_ARRAY_SUPPORT=Ji();!d.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 Ji(){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(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function te(e){if(e>po)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return cn(e)}return ht(e,o,t)}d.poolSize=8192;function ht(e,o,t){if(typeof e=="string")return ec(e,o);if(ArrayBuffer.isView(e))return oc(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(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return rn(e,o,t);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 d.from(r,o,t);var s=nc(e);if(s)return s;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return ht(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function xt(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 Qi(e,o,t){return xt(e),e<=0?te(e):o!==void 0?typeof t=="string"?te(e).fill(o,t):te(e).fill(o):te(e)}d.alloc=function(e,o,t){return Qi(e,o,t)};function cn(e){return xt(e),te(e<0?0:sn(e)|0)}d.allocUnsafe=function(e){return cn(e)};d.allocUnsafeSlow=function(e){return cn(e)};function ec(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=yt(e,o)|0,r=te(t),s=r.write(e,o);return s!==t&&(r=r.slice(0,s)),r}function tn(e){for(var o=e.length<0?0:sn(e.length)|0,t=te(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function oc(e){if(K(e,Uint8Array)){var o=new Uint8Array(e);return rn(o.buffer,o.byteOffset,o.byteLength)}return tn(e)}function rn(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,d.prototype),r}function nc(e){if(d.isBuffer(e)){var o=sn(e.length)|0,t=te(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pn(e.length)?te(0):tn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tn(e.data)}function sn(e){if(e>=po)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+po.toString(16)+" bytes");return e|0}function tc(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(K(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),K(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,s=t.length,p=0,m=Math.min(r,s);p<m;++p)if(o[p]!==t[p]){r=o[p],s=t[p];break}return r<s?-1:s<r?1:0};d.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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var s=d.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var m=o[r];if(K(m,Uint8Array))p+m.length>s.length?d.from(m).copy(s,p):Uint8Array.prototype.set.call(s,m,p);else if(d.isBuffer(m))m.copy(s,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return s};function yt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(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 t=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var s=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return an(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return At(e).length;default:if(s)return r?-1:an(e).length;o=(""+o).toLowerCase(),s=!0}}d.byteLength=yt;function rc(e,o,t){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return uc(this,o,t);case"utf8":case"utf-8":return St(this,o,t);case"ascii":return lc(this,o,t);case"latin1":case"binary":return _c(this,o,t);case"base64":return mc(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gc(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}d.prototype._isBuffer=!0;function ge(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}d.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 t=0;t<o;t+=2)ge(this,t,t+1);return this};d.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 t=0;t<o;t+=4)ge(this,t,t+3),ge(this,t+1,t+2);return this};d.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 t=0;t<o;t+=8)ge(this,t,t+7),ge(this,t+1,t+6),ge(this,t+2,t+5),ge(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?St(this,0,o):rc.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=ve.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};gt&&(d.prototype[gt]=d.prototype.inspect);d.prototype.compare=function(o,t,r,s,p){if(K(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),r===void 0&&(r=o?o.length:0),s===void 0&&(s=0),p===void 0&&(p=this.length),t<0||r>o.length||s<0||p>this.length)throw new RangeError("out of range index");if(s>=p&&t>=r)return 0;if(s>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,s>>>=0,p>>>=0,this===o)return 0;for(var m=p-s,_=r-t,l=Math.min(m,_),h=this.slice(s,p),b=o.slice(t,r),x=0;x<l;++x)if(h[x]!==b[x]){m=h[x],_=b[x];break}return m<_?-1:_<m?1:0};function bt(e,o,t,r,s){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pn(t)&&(t=s?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(s)return-1;t=e.length-1}else if(t<0)if(s)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,r)),d.isBuffer(o))return o.length===0?-1:ft(e,o,t,r,s);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):ft(e,[o],t,r,s);throw new TypeError("val must be string, number or Buffer")}function ft(e,o,t,r,s){var p=1,m=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,m/=2,_/=2,t/=2}function l(O,oe){return p===1?O[oe]:O.readUInt16BE(oe*p)}var h;if(s){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===_)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+_>m&&(t=m-_),h=t;h>=0;h--){for(var x=!0,F=0;F<_;F++)if(l(e,h+F)!==l(o,F)){x=!1;break}if(x)return h}return-1}d.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};d.prototype.indexOf=function(o,t,r){return bt(this,o,t,r,!0)};d.prototype.lastIndexOf=function(o,t,r){return bt(this,o,t,r,!1)};function ac(e,o,t,r){t=Number(t)||0;var s=e.length-t;r?(r=Number(r),r>s&&(r=s)):r=s;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(pn(_))return m;e[t+m]=_}return m}function ic(e,o,t,r){return mo(an(o,e.length-t),e,t,r)}function cc(e,o,t,r){return mo(hc(o),e,t,r)}function sc(e,o,t,r){return mo(At(o),e,t,r)}function pc(e,o,t,r){return mo(xc(o,e.length-t),e,t,r)}d.prototype.write=function(o,t,r,s){if(t===void 0)s="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")s=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,s===void 0&&(s="utf8")):(s=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var m=!1;;)switch(s){case"hex":return ac(this,o,t,r);case"utf8":case"utf-8":return ic(this,o,t,r);case"ascii":case"latin1":case"binary":return cc(this,o,t,r);case"base64":return sc(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pc(this,o,t,r);default:if(m)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function mc(e,o,t){return o===0&&t===e.length?nn.fromByteArray(e):nn.fromByteArray(e.slice(o,t))}function St(e,o,t){t=Math.min(e.length,t);for(var r=[],s=o;s<t;){var p=e[s],m=null,_=p>239?4:p>223?3:p>191?2:1;if(s+_<=t){var l,h,b,x;switch(_){case 1:p<128&&(m=p);break;case 2:l=e[s+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[s+1],h=e[s+2],(l&192)===128&&(h&192)===128&&(x=(p&15)<<12|(l&63)<<6|h&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[s+1],h=e[s+2],b=e[s+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(x=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),s+=_}return dc(r)}var Tt=4096;function dc(e){var o=e.length;if(o<=Tt)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=Tt));return t}function lc(e,o,t){var r="";t=Math.min(e.length,t);for(var s=o;s<t;++s)r+=String.fromCharCode(e[s]&127);return r}function _c(e,o,t){var r="";t=Math.min(e.length,t);for(var s=o;s<t;++s)r+=String.fromCharCode(e[s]);return r}function uc(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var s="",p=o;p<t;++p)s+=yc[e[p]];return s}function gc(e,o,t){for(var r=e.slice(o,t),s="",p=0;p<r.length-1;p+=2)s+=String.fromCharCode(r[p]+r[p+1]*256);return s}d.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var s=this.subarray(o,t);return Object.setPrototypeOf(s,d.prototype),s};function D(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o],p=1,m=0;++m<t&&(p*=256);)s+=this[o+m]*p;return s};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o+--t],p=1;t>0&&(p*=256);)s+=this[o+--t]*p;return s};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||D(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||D(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||D(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||D(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=this[o],p=1,m=0;++m<t&&(p*=256);)s+=this[o+m]*p;return p*=128,s>=p&&(s-=Math.pow(2,8*t)),s};d.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||D(o,t,this.length);for(var s=t,p=1,m=this[o+--s];s>0&&(p*=256);)m+=this[o+--s]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||D(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||D(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||D(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||D(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||D(o,4,this.length),we.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||D(o,4,this.length),we.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||D(o,8,this.length),we.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||D(o,8,this.length),we.read(this,o,!1,52,8)};function U(e,o,t,r,s,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>s||o<p)throw new RangeError('"value" argument is out of bounds');if(t+r>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,r,s){if(o=+o,t=t>>>0,r=r>>>0,!s){var p=Math.pow(2,8*r)-1;U(this,o,t,r,p,0)}var m=1,_=0;for(this[t]=o&255;++_<r&&(m*=256);)this[t+_]=o/m&255;return t+r};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,r,s){if(o=+o,t=t>>>0,r=r>>>0,!s){var p=Math.pow(2,8*r)-1;U(this,o,t,r,p,0)}var m=r-1,_=1;for(this[t+m]=o&255;--m>=0&&(_*=256);)this[t+m]=o/_&255;return t+r};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,r,s){if(o=+o,t=t>>>0,!s){var p=Math.pow(2,8*r-1);U(this,o,t,r,p-1,-p)}var m=0,_=1,l=0;for(this[t]=o&255;++m<r&&(_*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/_>>0)-l&255;return t+r};d.prototype.writeIntBE=function(o,t,r,s){if(o=+o,t=t>>>0,!s){var p=Math.pow(2,8*r-1);U(this,o,t,r,p-1,-p)}var m=r-1,_=1,l=0;for(this[t+m]=o&255;--m>=0&&(_*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/_>>0)-l&255;return t+r};d.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||U(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function wt(e,o,t,r,s,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function vt(e,o,t,r,s){return o=+o,t=t>>>0,s||wt(e,o,t,4,34028234663852886e22,-34028234663852886e22),we.write(e,o,t,r,23,4),t+4}d.prototype.writeFloatLE=function(o,t,r){return vt(this,o,t,!0,r)};d.prototype.writeFloatBE=function(o,t,r){return vt(this,o,t,!1,r)};function It(e,o,t,r,s){return o=+o,t=t>>>0,s||wt(e,o,t,8,17976931348623157e292,-17976931348623157e292),we.write(e,o,t,r,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,r){return It(this,o,t,!0,r)};d.prototype.writeDoubleBE=function(o,t,r){return It(this,o,t,!1,r)};d.prototype.copy=function(o,t,r,s){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!s&&s!==0&&(s=this.length),t>=o.length&&(t=o.length),t||(t=0),s>0&&s<r&&(s=r),s===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),o.length-t<s-r&&(s=o.length-t+r);var p=s-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,s):Uint8Array.prototype.set.call(o,this.subarray(r,s),t),p};d.prototype.fill=function(o,t,r,s){if(typeof o=="string"){if(typeof t=="string"?(s=t,t=0,r=this.length):typeof r=="string"&&(s=r,r=this.length),s!==void 0&&typeof s!="string")throw new TypeError("encoding must be a string");if(typeof s=="string"&&!d.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(o.length===1){var p=o.charCodeAt(0);(s==="utf8"&&p<128||s==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<r;++m)this[m]=o;else{var _=d.isBuffer(o)?o:d.from(o,s),l=_.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-t;++m)this[m+t]=_[m%l]}return this};var fc=/[^+/0-9A-Za-z-_]/g;function Tc(e){if(e=e.split("=")[0],e=e.trim().replace(fc,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function an(e,o){o=o||1/0;for(var t,r=e.length,s=null,p=[],m=0;m<r;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!s){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}s=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),s=t;continue}t=(s-55296<<10|t-56320)+65536}else s&&(o-=3)>-1&&p.push(239,191,189);if(s=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function hc(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function xc(e,o){for(var t,r,s,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),r=t>>8,s=t%256,p.push(s),p.push(r);return p}function At(e){return nn.toByteArray(Tc(e))}function mo(e,o,t,r){for(var s=0;s<r&&!(s+t>=o.length||s>=e.length);++s)o[s+t]=e[s];return s}function K(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pn(e){return e!==e}var yc=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,s=0;s<16;++s)o[r+s]=e[t]+e[s];return o}()});var Ct=W((Bd,Pt)=>{n();var k=Pt.exports={},X,Y;function mn(){throw new Error("setTimeout has not been defined")}function dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?X=setTimeout:X=mn}catch(e){X=mn}try{typeof clearTimeout=="function"?Y=clearTimeout:Y=dn}catch(e){Y=dn}})();function Et(e){if(X===setTimeout)return setTimeout(e,0);if((X===mn||!X)&&setTimeout)return X=setTimeout,setTimeout(e,0);try{return X(e,0)}catch(o){try{return X.call(null,e,0)}catch(t){return X.call(this,e,0)}}}function bc(e){if(Y===clearTimeout)return clearTimeout(e);if((Y===dn||!Y)&&clearTimeout)return Y=clearTimeout,clearTimeout(e);try{return Y(e)}catch(o){try{return Y.call(null,e)}catch(t){return Y.call(this,e)}}}var re=[],Ie=!1,fe,lo=-1;function Sc(){!Ie||!fe||(Ie=!1,fe.length?re=fe.concat(re):lo=-1,re.length&&Lt())}function Lt(){if(!Ie){var e=Et(Sc);Ie=!0;for(var o=re.length;o;){for(fe=re,re=[];++lo<o;)fe&&fe[lo].run();lo=-1,o=re.length}fe=null,Ie=!1,bc(e)}}k.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];re.push(new Nt(e,o)),re.length===1&&!Ie&&Et(Lt)};function Nt(e,o){this.fun=e,this.array=o}Nt.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function ae(){}k.on=ae;k.addListener=ae;k.once=ae;k.off=ae;k.removeListener=ae;k.removeAllListeners=ae;k.emit=ae;k.prependListener=ae;k.prependOnceListener=ae;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var a,c,wc,i,n=f(()=>{a=T(kt()),c=T(Ct()),wc=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 t=__magic__;return t}(Object),i=wc});var Te=f(()=>{"use strict";n()});var ln=f(()=>{"use strict";n()});var Mt=f(()=>{"use strict";n()});var Ot=f(()=>{"use strict";n()});var E=f(()=>{"use strict";n()});var Ft=f(()=>{"use strict";n()});var Ut=f(()=>{"use strict";n()});var B=f(()=>{"use strict";n()});var Bt=f(()=>{"use strict";n()});var Gt=f(()=>{"use strict";n()});var Wt=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();ln();Mt();Ot();E();Ft();Ut();B();Bt();Gt();Wt()});var Ae,Vt,dl,$t,ll,Ht,_l,ul,Ac,Ve=f(()=>{"use strict";n();C();Ae={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:"EGLD",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:Vt,egldLabel:dl}=Ae["devnet"],{chainId:$t,egldLabel:ll}=Ae["testnet"],{chainId:Ht,egldLabel:_l}=Ae["mainnet"],ul={["devnet"]:Vt,["testnet"]:$t,["mainnet"]:Ht},Ac={[Vt]:"devnet",[$t]:"testnet",[Ht]:"mainnet"}});var _n=f(()=>{"use strict";n()});var jt=f(()=>{"use strict";n()});var zt=f(()=>{"use strict";n()});var Z,qt=f(()=>{"use strict";n();Z=require("@multiversx/sdk-web-wallet-provider")});var Kt=f(()=>{"use strict";n()});var Xt=f(()=>{"use strict";n()});var $e,go,Yt,fo,Zt,ke,v=f(()=>{"use strict";n();Te();Ve();_n();jt();zt();qt();Kt();Xt();$e=5e4,go=1e9,Yt=1,fo="logout",Zt="login",ke="0"});var He,To=f(()=>{"use strict";n();He=()=>Date.now()/1e3});var Jt=f(()=>{"use strict";n()});var Qt=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n();To();Jt();Qt()});var fn={};_e(fn,{getItem:()=>Ec,localStorageKeys:()=>de,removeItem:()=>Lc,setItem:()=>kc});var de,gn,kc,Ec,Lc,Ee=f(()=>{"use strict";n();un();de={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gn=typeof localStorage!="undefined",kc=({key:e,data:o,expires:t})=>{!gn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ec=e=>{if(!gn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:He()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Lc=e=>{!gn||localStorage.removeItem(String(e))}});var Tn={};_e(Tn,{clear:()=>tr,getItem:()=>or,removeItem:()=>nr,setItem:()=>er,storage:()=>Nc});var er,or,nr,tr,Nc,rr=f(()=>{"use strict";n();er=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},or=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},nr=e=>sessionStorage.removeItem(String(e)),tr=()=>sessionStorage.clear(),Nc={setItem:er,getItem:or,removeItem:nr,clear:tr}});var he,Le=f(()=>{"use strict";n();Ee();rr();he={session:Tn,local:fn}});var hn,L,ie,M=f(()=>{"use strict";n();hn=require("@reduxjs/toolkit");v();L=(0,hn.createAction)(fo),ie=(0,hn.createAction)(Zt,e=>({payload:e}))});var yn,ar,ir,ho,xn,cr,bn,Kl,Sn,Xl,Pc,Cc,Yl,Zl,Jl,Dc,Rc,xo,yo=f(()=>{"use strict";n();yn=require("@multiversx/sdk-core"),ar=require("@reduxjs/toolkit"),ir=require("redux-persist");v();Le();Ee();M();ho={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ke},xn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ho},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},cr=(0,ar.createSlice)({name:"accountInfoSlice",initialState:xn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new yn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ho},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].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}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(he.local.removeItem(de.loginExpiresAt),xn)),e.addCase(ie,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new yn.Address(r).hex()}),e.addCase(ir.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:r}=t.payload,{address:s,shard:p,accounts:m,publicKey:_}=r;o.address=s,o.shard=p;let l=m&&s in m;o.accounts=l?m:xn.accounts,o.publicKey=_})}}),{setAccount:bn,setAddress:Kl,setAccountNonce:Sn,setAccountShard:Xl,setLedgerAccount:Pc,updateLedgerAccount:Cc,setWalletConnectAccount:Yl,setIsAccountLoading:Zl,setAccountLoadingError:Jl,setWebsocketEvent:Dc,setWebsocketBatchEvent:Rc}=cr.actions,xo=cr.reducer});function je(){return new Date().setHours(new Date().getHours()+24)}function ze(e){he.local.setItem({key:de.loginExpiresAt,data:e,expires:e})}var wn=f(()=>{"use strict";n();Le();Ee()});var pr,sr,mr,s_,Mc,Oc,Fc,p_,Uc,dr,m_,bo,So=f(()=>{"use strict";n();pr=require("@reduxjs/toolkit");wn();E();M();sr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},mr=(0,pr.createSlice)({name:"loginInfoSlice",initialState:sr,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(L,()=>sr),e.addCase(ie,(o,t)=>{o.loginMethod=t.payload.loginMethod,ze(je())})}}),{setLoginMethod:s_,setWalletConnectLogin:Mc,setLedgerLogin:Oc,setTokenLogin:Fc,setTokenLoginSignature:p_,setWalletLogin:Uc,invalidateLoginSession:dr,setLogoutRoute:m_}=mr.actions,bo=mr.reducer});var _r,lr,ur,u_,Bc,g_,Gc,wo,vo=f(()=>{"use strict";n();_r=require("@reduxjs/toolkit");M();lr={},ur=(0,_r.createSlice)({name:"modalsSlice",initialState:lr,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(L,()=>lr)}}),{setTxSubmittedModal:u_,setNotificationModal:Bc,clearTxSubmittedModal:g_,clearNotificationModal:Gc}=ur.actions,wo=ur.reducer});var qe,Ke=f(()=>{"use strict";n();qe=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var P,N=f(()=>{"use strict";n();Ke();P=()=>{if(!qe())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:s,search:p}}=window;return{pathname:o,hash:t,origin:r,href:s,search:p}}});var Xe=f(()=>{"use strict";n()});var fr=f(()=>{"use strict";n();N();Xe()});function Tr(e){return e[Math.floor(Math.random()*e.length)]}var hr=f(()=>{"use strict";n()});var vn=f(()=>{"use strict";n();_n()});var Ne=f(()=>{"use strict";n();fr();hr();vn()});var xr,yr,In,Wc,br,R_,M_,Io,Ao=f(()=>{"use strict";n();xr=require("@reduxjs/toolkit"),yr=T(require("lodash.omit"));Ne();In={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Wc={network:In,chainID:"-1"},br=(0,xr.createSlice)({name:"appConfig",initialState:Wc,reducers:{initializeNetworkConfig:(e,o)=>{let t=Tr(o.payload.walletConnectV2RelayAddresses),r=(0,yr.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(g(g({},e.network),r),{walletConnectV2RelayAddress:t})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:R_,setChainID:M_}=br.actions,Io=br.reducer});var Sr,An,wr,W_,V_,$_,ko,Eo=f(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");C();M();An={isSigning:!1,signedSessions:{}},wr=(0,Sr.createSlice)({name:"signedMessageInfoSliceState",initialState:An,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:s}=o.payload;s&&(e.errorMessage=s),e.isSigning=r.status==="pending",e.signedSessions[t]=r},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>An},extraReducers:e=>{e.addCase(L,()=>An)}}),{setSignSession:W_,clearSignedMessageInfo:V_,setSignSessionState:$_}=wr.actions,ko=wr.reducer});var Ir,Ar,vr,kr,Vc,$c,Y_,Hc,Lo,No=f(()=>{"use strict";n();Ir=require("@reduxjs/toolkit"),Ar=require("redux-persist");C();To();M();vr={customToasts:[],transactionToasts:[]},kr=(0,Ir.createSlice)({name:"toastsSlice",initialState:vr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(w(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:He(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(L,()=>vr),e.addCase(Ar.REHYDRATE,(o,t)=>{var s,p;let r=(p=(s=t.customToasts)==null?void 0:s.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Vc,removeCustomToast:$c,addTransactionToast:Y_,removeTransactionToast:Hc}=kr.actions,Lo=kr.reducer});var Er,En,Ln,Nn,jc,kn,Lr,eu,zc,Pn,Po,Co=f(()=>{"use strict";n();Er=require("@reduxjs/toolkit");M();En="Transaction failed",Ln="Transaction successful",Nn="Processing transaction",jc="Transaction submitted",kn={},Lr=(0,Er.createSlice)({name:"transactionsInfo",initialState:kn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||En,successMessage:(r==null?void 0:r.successMessage)||Ln,processingMessage:(r==null?void 0:r.processingMessage)||Nn,submittedMessage:(r==null?void 0:r.submittedMessage)||jc,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>kn},extraReducers:e=>{e.addCase(L,()=>kn)}}),{clearTransactionsInfo:eu,setTransactionsDisplayInfo:zc,clearTransactionsInfoForSessionId:Pn}=Lr.actions,Po=Lr.reducer});function Ce(e){return e!=null&&(ns(e)||cs(e))}function De(e){return e!=null&&(ts(e)||ss(e))}function Re(e){return e!=null&&(rs(e)||ps(e))}function Nr(e){return e!=null&&(as(e)||ms(e))}function Cn(e){return e!=null&&is(e)}function ns(e){return e!=null&&qc.includes(e)}function ts(e){return e!=null&&Kc.includes(e)}function rs(e){return e!=null&&Xc.includes(e)}function as(e){return e!=null&&Yc.includes(e)}function is(e){return e!=null&&Zc.includes(e)}function cs(e){return e!=null&&Jc.includes(e)}function ss(e){return e!=null&&Qc.includes(e)}function ps(e){return e!=null&&es.includes(e)}function ms(e){return e!=null&&os.includes(e)}var qc,Kc,Xc,Yc,Zc,Jc,Qc,es,os,Me=f(()=>{"use strict";n();E();qc=["sent"],Kc=["success"],Xc=["fail","cancelled","timedOut"],Yc=["invalid"],Zc=["timedOut"],Jc=["pending"],Qc=["success"],es=["fail","invalid"],os=["not executed"]});var Pr,Cr,Ye,ds,Dr,Rr,Mr,ls,Do,_s,us,pu,gs,Ze,Dn,Ro,Mo=f(()=>{"use strict";n();Pr=require("@reduxjs/toolkit"),Cr=require("redux-persist");E();Me();M();Ye={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ds={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Dr=(0,Pr.createSlice)({name:"transactionsSlice",initialState:Ye,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:r,errorMessage:s,status:p,redirectRoute:m,customTransactionInformation:_={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||ds;e.signedTransactions[t]={transactions:r,status:p,errorMessage:s,redirectRoute:m,customTransactionInformation:g(g({},l),_)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=Ye.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=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:s,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,s!=null&&(e.signedTransactions[t].errorMessage=s),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,x,F,O,oe,io;let{sessionId:t,status:r,errorMessage:s,transactionHash:p,inTransit:m}=o.payload,_=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(ne=>ne.hash===p?w(g({},ne),{status:r,errorMessage:s,inTransit:m}):ne);let Oi=(x=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:x.every(ne=>De(ne.status)),Fi=(O=(F=e.signedTransactions[t])==null?void 0:F.transactions)==null?void 0:O.every(ne=>Re(ne.status)),Ui=(io=(oe=e.signedTransactions[t])==null?void 0:oe.transactions)==null?void 0:io.every(ne=>Nr(ne.status));Oi&&(e.signedTransactions[t].status="success"),Fi&&(e.signedTransactions[t].status="fail"),Ui&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ye.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ye.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ye),e.addCase(Cr.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:s}=t.payload.transactions,p=Object.entries(r).reduce((_,[l,h])=>{let b=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-b>0||(_[l]=h),_},{});s!=null&&(o.customTransactionInformationForSessionId=s),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Rr,updateSignedTransactions:Mr,setTransactionsToSign:ls,clearAllTransactionsToSign:Do,clearAllSignedTransactions:_s,clearSignedTransaction:us,clearTransactionToSign:pu,setSignTransactionsError:gs,setSignTransactionsCancelMessage:Ze,moveTransactionsToSignedState:Dn}=Dr.actions,Ro=Dr.reducer});var Or,Rn,Fr,_u,uu,fs,gu,Oo,Fo=f(()=>{"use strict";n();Or=require("@reduxjs/toolkit");M();Rn={},Fr=(0,Or.createSlice)({name:"batchTransactionsSlice",initialState:Rn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Rn},extraReducers:e=>{e.addCase(L,()=>Rn)}}),{setBatchTransactions:_u,updateBatchTransactions:uu,clearBatchTransactions:fs,clearAllBatchTransactions:gu}=Fr.actions,Oo=Fr.reducer});var Br,Ur,Gr,xu,Wr,Mn=f(()=>{"use strict";n();Br=require("@reduxjs/toolkit");M();Ur={},Gr=(0,Br.createSlice)({name:"dappConfigSlice",initialState:Ur,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:r,cancelTransactionToastDuration:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=r,e.cancelTransactionToastDuration=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ur)}}),{setDappConfig:xu}=Gr.actions,Wr=Gr.reducer});var A=f(()=>{"use strict";n();yo();So();vo();Ao();Eo();No();Co();Mo();Fo();Mn()});var On=f(()=>{"use strict";n()});var zr,jr,qr,ju,zu,qu,Ku,Xu,Yu,Kr,Xr=f(()=>{"use strict";n();zr=require("@reduxjs/toolkit");M();jr={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},qr=(0,zr.createSlice)({name:"dappModalsSlice",initialState:jr,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=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>jr)}}),{setDappModalVisibility:ju,setDappModalHeaderVisibility:zu,setDappModalFooterVisibility:qu,setDappModalHeaderText:Ku,setDappModalFooterText:Xu,setDappModalConfig:Yu}=qr.actions,Kr=qr.reducer});var Yr,ys,bs,xe,Wo=f(()=>{"use strict";n();Yr=require("@reduxjs/toolkit");On();yo();Fo();Mn();Xr();So();vo();Ao();Eo();No();Co();Mo();ys={["account"]:xo,["dappModal"]:Kr,["dappConfig"]:Wr,["loginInfo"]:bo,["modals"]:wo,["networkConfig"]:Io,["signedMessageInfo"]:ko,["toasts"]:Lo,["transactionsInfo"]:Po,["transactions"]:Ro,["batchTransactions"]:Oo},bs=(e={})=>(0,Yr.combineReducers)(g(g({},ys),e)),xe=bs});var ea={};_e(ea,{default:()=>Fs,sessionStorageReducers:()=>Fn});function ce(e,o=[]){return{key:e,version:1,storage:Jr.default,blacklist:o}}var G,Zr,Jr,Ss,Qe,ws,vs,Is,As,ks,Es,Ls,Ns,Ps,Cs,Qr,Ds,Fn,Rs,Ms,Os,Fs,oa=f(()=>{"use strict";n();G=require("redux-persist"),Zr=T(require("redux-persist/lib/storage")),Jr=T(require("redux-persist/lib/storage/session"));Wo();A();yo();Fo();So();vo();Ao();Eo();No();Co();Mo();On();Ss={persistReducersStorageType:"localStorage"},Qe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ws=ce(Qe["account"]),vs=ce(Qe["loginInfo"]),Is=ce(Qe["modals"]),As=ce(Qe["networkConfig"]),ks={2:e=>w(g({},e),{networkConfig:In})};Es=ce("sdk-dapp-transactionsInfo"),Ls=ce("sdk-dapp-transactions",["transactionsToSign"]),Ns=ce("sdk-dapp-batchTransactions",["batchTransactions"]),Ps=ce("sdk-dapp-toasts"),Cs=ce("sdk-dapp-signedMessageInfo"),Qr={key:"sdk-dapp-store",version:2,storage:Zr.default,whitelist:Object.keys(Qe),migrate:(0,G.createMigrate)(ks,{debug:!1})},Ds=w(g({},Qr),{whitelist:[]}),Fn={["toasts"]:(0,G.persistReducer)(Ps,Lo),["transactions"]:(0,G.persistReducer)(Ls,Ro),["transactionsInfo"]:(0,G.persistReducer)(Es,Po),["batchTransactions"]:(0,G.persistReducer)(Ns,Oo),["signedMessageInfo"]:(0,G.persistReducer)(Cs,ko)},Rs=w(g({},Fn),{["account"]:(0,G.persistReducer)(ws,xo),["loginInfo"]:(0,G.persistReducer)(vs,bo),["modals"]:(0,G.persistReducer)(Is,wo),["networkConfig"]:(0,G.persistReducer)(As,Io)}),Ms=Ss.persistReducersStorageType==="localStorage",Os=Ms?(0,G.persistReducer)(Qr,xe(Fn)):(0,G.persistReducer)(Ds,xe(Rs)),Fs=Os});var na={};_e(na,{default:()=>Us});var Us,ta=f(()=>{"use strict";n();Wo();Us=xe()});var ra={};_e(ra,{default:()=>Gs});var j,Bs,Gs,aa=f(()=>{"use strict";n();j=require("redux-persist"),Bs=[j.FLUSH,j.REHYDRATE,j.PAUSE,j.PERSIST,j.PURGE,j.REGISTER],Gs=Bs});var sa={};_e(sa,{default:()=>ca});function ca(e){return(0,ia.persistStore)(e)}var ia,pa=f(()=>{"use strict";n();ia=require("redux-persist")});var si=W((ML,ci)=>{n();var Gm=typeof i=="object"&&i&&i.Object===Object&&i;ci.exports=Gm});var mi=W((OL,pi)=>{n();var Wm=si(),Vm=typeof self=="object"&&self&&self.Object===Object&&self,$m=Wm||Vm||Function("return this")();pi.exports=$m});var ot=W((FL,di)=>{n();var Hm=mi(),jm=Hm.Symbol;di.exports=jm});var gi=W((UL,ui)=>{n();var li=ot(),_i=Object.prototype,zm=_i.hasOwnProperty,qm=_i.toString,to=li?li.toStringTag:void 0;function Km(e){var o=zm.call(e,to),t=e[to];try{e[to]=void 0;var r=!0}catch(p){}var s=qm.call(e);return r&&(o?e[to]=t:delete e[to]),s}ui.exports=Km});var Ti=W((BL,fi)=>{n();var Xm=Object.prototype,Ym=Xm.toString;function Zm(e){return Ym.call(e)}fi.exports=Zm});var bi=W((GL,yi)=>{n();var hi=ot(),Jm=gi(),Qm=Ti(),ed="[object Null]",od="[object Undefined]",xi=hi?hi.toStringTag:void 0;function nd(e){return e==null?e===void 0?od:ed:xi&&xi in Object(e)?Jm(e):Qm(e)}yi.exports=nd});var wi=W((WL,Si)=>{n();var td=Array.isArray;Si.exports=td});var Ii=W((VL,vi)=>{n();function rd(e){return e!=null&&typeof e=="object"}vi.exports=rd});var ki=W(($L,Ai)=>{n();var ad=bi(),id=wi(),cd=Ii(),sd="[object String]";function pd(e){return typeof e=="string"||!id(e)&&cd(e)&&ad(e)==sd}Ai.exports=pd});var Rd={};_e(Rd,{TransactionInfoNonce:()=>Dd});module.exports=We(Rd);n();var ao=T(require("react"));n();var _o=T(require("react")),uo=T(require("classnames"));n();var vc=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -2694,7 +2694,7 @@ a.dapp-core-component__main__side-link::after {
2694
2694
  width: calc(100% - 1.85rem);
2695
2695
  }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(vc));var R={"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","w-md-auto":"dapp-core-component__main__w-md-auto",wMdAuto:"dapp-core-component__main__w-md-auto","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"};n();var Ic=`.dapp-core-component__detailItem-module__detail-item:last-child {
2696
2696
  border-bottom: 0;
2697
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ic));var Dt={"detail-item":"dapp-core-component__detailItem-module__detail-item",detailItem:"dapp-core-component__detailItem-module__detail-item"};var Rt=({children:e,title:o,className:t="",colWidth:r="2",noBorder:s=!1})=>_o.default.createElement("div",{className:(0,uo.default)(R.row,Dt.detailItem,t,{[R.pt3]:s,[R.pb1]:s,[R.borderBottom]:!s,[R.py3]:!s})},_o.default.createElement("div",{className:(0,uo.default)(R.textSecondary,R.textLgRight,R.fontWeightMedium,R[`colLg${r}`])},o),_o.default.createElement("div",{className:(0,uo.default)(R.fontWeightMedium,R[`colLg${12-Number(r)}`])},e));n();var Jo=T(require("react")),Di=require("@fortawesome/free-solid-svg-icons"),Ri=require("@fortawesome/react-fontawesome"),ct=T(require("classnames"));n();n();n();var ga=require("react"),Me=require("react-redux");n();var Un=require("@reduxjs/toolkit"),_a=require("react-redux/lib/utils/Subscription");A();n();var $r=T(require("lodash.throttle"));v();n();var Vr=T(require("lodash.isequal")),Uo=require("reselect");C();var u=(0,Uo.createSelectorCreator)(Uo.defaultMemoize,Vr.default),Je=(e,o)=>e!=""&&Boolean(o);A();wn();Le();Ee();var Ts=[fo],Bo=!1,hs=(0,$r.default)(()=>{ze(je())},5e3),Hr=e=>o=>t=>{var l;if(Ts.includes(t.type))return o(t);let r=e.getState(),s=he.local.getItem(de.loginExpiresAt);if(!Je((l=r==null?void 0:r.loginInfo)==null?void 0:l.loginMethod,r==null?void 0:r.account.address))return o(t);if(s==null)return ze(je());let m=Date.now();return s-m<0&&!Bo?setTimeout(()=>{Bo=!0,e.dispatch(dr())},1e3):(Bo&&(Bo=!1),hs()),o(t)};n();n();function Go(){return typeof sessionStorage!="undefined"}var ma=Go()?(oa(),We(ea)).default:(ta(),We(na)).default,da=Go()?(aa(),We(ra)).default:[],la=Go()?(pa(),We(sa)).default:e=>e;Wo();var S=(0,Un.configureStore)({reducer:ma,middleware:e=>e({serializableCheck:{ignoredActions:[...da,Sn.type,bn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Hr)}),ua=(0,_a.createSubscription)(S),Ng=la(S),Pg=(0,Un.configureStore)({reducer:xe});var Ws={store:S,subscription:ua},Bn=(0,ga.createContext)(Ws),Og=(0,Me.createStoreHook)(Bn),V=(0,Me.createDispatchHook)(Bn),I=(0,Me.createSelectorHook)(Bn);n();n();A();var J=e=>e.account,Fe=u(J,e=>e.address),ye=u(J,Fe,(e,o)=>o in e.accounts?e.accounts[o]:ho),Vs=u(J,ye,(e,o)=>{let s=e,{accounts:t}=s,r=Ge(s,["accounts"]);return w(g({},r),{account:o})}),$s=u(ye,e=>e.balance),Hs=u(ye,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),Bg=u(J,e=>e.shard),js=u(J,e=>e.ledgerAccount),Gg=u(J,e=>e.walletConnectAccount),Wg=u(J,e=>e.isAccountLoading),Vg=u(J,e=>e.accountLoadingError),fa=u(J,e=>e.websocketEvent),zs=u(J,e=>e.websocketBatchEvent);n();var qs=e=>e.dappConfig,jg=u(qs,e=>e.shouldUseWebViewProvider);n();var z=e=>e.loginInfo,Xg=u(z,e=>e.loginMethod),Gn=u(z,Fe,(e,o)=>Je(e.loginMethod,o)),Yg=u(z,e=>e.walletConnectLogin),Zg=u(z,e=>e.ledgerLogin),Ks=u(z,e=>e.walletLogin),Jg=u(z,e=>e.isLoginSessionInvalid),Xs=u(z,e=>e.tokenLogin),Qg=u(z,e=>e.logoutRoute);n();var Ta=e=>e.modals,nf=u(Ta,e=>e.txSubmittedModal),Ys=u(Ta,e=>e.notificationModal);n();var se=e=>e.networkConfig,Vo=u(se,e=>e.chainID),af=u(se,e=>e.network.walletConnectBridgeAddress),Zs=u(se,e=>e.network.walletConnectV2RelayAddress),Js=u(se,e=>e.network.walletConnectV2ProjectId),Qs=u(se,e=>e.network.walletConnectV2Options),ep=u(se,e=>e.network.walletConnectDeepLink),Q=u(se,e=>e.network),ha=u(Q,e=>e.apiAddress),xa=u(Q,e=>e.explorerAddress),ya=u(Q,e=>e.egldLabel);n();var $o=e=>e.signedMessageInfo,pf=u($o,e=>e.isSigning),mf=u($o,e=>e.errorMessage),df=u($o,e=>{let o=Object.keys(e.signedSessions),t=o.length;return e.signedSessions[o[t-1]]}),lf=u($o,e=>{let o=Object.keys(e.signedSessions),t=o.length;return o.length>0?o[t-1]:""});n();var ba=e=>e.toasts,op=u(ba,e=>e.customToasts),Sa=u(ba,e=>e.transactionToasts);n();A();var wa={errorMessage:En,successMessage:Ln,processingMessage:Nn},va=e=>e.transactionsInfo,np=u(va,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||wa);n();n();var ee=require("@multiversx/sdk-core");v();n();var Vn=require("@multiversx/sdk-core/out");n();n();function Wn(e){try{let o=atob(e),t=btoa(o),r=a.Buffer.from(e,"base64").toString(),s=a.Buffer.from(r).toString("base64");if(e===t&&e===s||o===r)return!0}catch(o){return!1}return!1}n();n();n();n();var Ia=e=>{let o=e!=null?e:"";return Wn(o)?Vn.TransactionPayload.fromEncoded(o):new Vn.TransactionPayload(o)};function Ho(e){var t,r,s;let o=new ee.Transaction(g(g({value:e.value.valueOf(),data:Ia(e.data),nonce:e.nonce.valueOf(),receiver:new ee.Address(e.receiver),sender:new ee.Address(e.sender),gasLimit:(t=e.gasLimit.valueOf())!=null?t:$e,gasPrice:(r=e.gasPrice.valueOf())!=null?r:go,chainID:e.chainID.valueOf(),version:new ee.TransactionVersion((s=e.version)!=null?s:Yt)},e.options?{options:new ee.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new ee.Address(e.guardian)}:{}));return e.guardianSignature&&o.applyGuardianSignature(a.Buffer.from(e.guardianSignature,"hex")),e.signature&&o.applySignature(a.Buffer.from(e.signature,"hex")),o}n();n();n();n();n();var ap=require("@multiversx/sdk-core/out");n();v();n();var Aa=require("@multiversx/sdk-core");C();n();var ip=require("@multiversx/sdk-core");n();n();n();var cp=require("@multiversx/sdk-core"),sp=T(require("bignumber.js"));E();n();n();n();var Hn="blocks";n();n();n();n();B();n();n();B();n();n();n();var fp=T(require("bignumber.js"));v();n();var gp=require("@multiversx/sdk-core"),jn=T(require("bignumber.js"));v();n();var _p=T(require("bignumber.js"));n();jn.default.config({ROUNDING_MODE:jn.default.ROUND_FLOOR});n();n();n();v();n();n();n();n();v();n();v();n();var Tp=require("@multiversx/sdk-core");v();n();var oo=require("@multiversx/sdk-core"),yp=require("@multiversx/sdk-network-providers");v();n();n();var hp=T(require("bignumber.js"));v();n();v();n();n();n();n();n();n();v();n();v();n();v();n();B();var Sp=["reDelegateRewards","claimRewards","unBond"],wp=["wrapEgld","unwrapEgld"],vp=["unStake"],Ip=["unDelegate"];n();n();n();v();n();var Lp=T(require("bignumber.js"));n();n();B();n();var Np=T(require("bignumber.js"));n();n();n();var Dp=T(require("bignumber.js"));C();n();n();n();n();E();n();var Fp=require("@multiversx/sdk-web-wallet-provider");v();n();var Op=T(require("qs"));n();N();Ke();n();Ke();var Uy={search:qe()?window.location.search:"",removeParams:[]};n();n();n();N();n();B();n();n();N();n();var Up=T(require("linkifyjs"));n();v();n();var Bp=T(require("bignumber.js"));n();C();n();n();E();n();E();n();n();n();B();n();B();n();var Gp=T(require("bignumber.js"));v();B();n();B();n();var Oa=require("react");C();n();n();B();n();n();var Wp=require("@multiversx/sdk-core/out"),Vp=T(require("bignumber.js"));B();n();C();n();n();C();var NS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Ma=require("react");C();N();n();var Hp=require("react");B();var US=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Oe();var qo=e=>e.transactions,Ue=u(qo,e=>e.signedTransactions),jp=u(qo,e=>e.signTransactionsError),Fa=u(qo,e=>e.signTransactionsCancelMessage),Ko=e=>o=>Object.entries(o).reduce((t,[r,s])=>(e(s.status)&&(t[r]=s),t),{}),Ua=u(Ue,Ko(Ce)),Ba=u(Ue,Ko(De)),Ga=u(Ue,Ko(Re)),zp=u(Ue,Ko(Cn)),Wa=u(qo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:w(g({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(t=>Ho(t)))||[]})}),qp=u(Ue,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});n();var Va=require("react");n();A();n();n();n();n();n();n();n();n();var Xp=require("@multiversx/sdk-extension-provider"),Yp=require("@multiversx/sdk-hw-provider"),Zp=require("@multiversx/sdk-opera-provider"),Jp=require("@multiversx/sdk-web-wallet-provider");v();E();n();var me=e=>`Unable to perform ${e}, Provider not initialized`,Xo=class{init(){return Promise.resolve(!1)}login(o){throw new Error(me(`login with options: ${o}`))}logout(o){throw new Error(me(`logout with options: ${o}`))}getAddress(){throw new Error(me("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,t){throw new Error(me(`sendTransaction with transactions: ${o} options: ${t}`))}signTransaction(o,t){throw new Error(me(`signTransaction with transactions: ${o} options: ${t}`))}signTransactions(o,t){throw new Error(me(`signTransactions with transactions: ${o} options: ${t}`))}signMessage(o,t){throw new Error(me(`signTransactions with ${o} and options ${t}`))}sendCustomMessage({method:o,params:t}){throw new Error(me(`sendCustomMessage with method: ${o} params: ${t}`))}sendCustomRequest(o){throw new Error(me(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},Qp=new Xo;A();n();n();var em=T(require("axios"));n();n();n();E();n();n();n();N();n();Oe();n();n();n();var om=T(require("axios"));n();var nm=T(require("axios"));n();var rm=T(require("axios"));n();n();var am=T(require("axios"));n();var im=T(require("axios"));n();A();E();n();n();n();N();n();O();C();n();A();n();var qa=require("@multiversx/sdk-core");N();n();Oe();n();A();E();n();A();C();n();n();n();C();n();n();n();n();var mm=T(require("axios")),dm=T(require("swr"));n();n();var Ka=require("react");n();var lm=require("react"),_m=require("@multiversx/sdk-web-wallet-provider"),um=require("@multiversx/sdk-web-wallet-provider"),gm=T(require("qs"));v();A();E();ln();N();n();var Za=require("react"),Jn=require("@multiversx/sdk-core");vn();n();n();n();n();n();n();n();n();n();Ve();n();var Tm=T(require("axios"));n();var hm=T(require("axios"));n();Ve();n();Ve();v();N();n();var ni=require("react"),ti=require("@multiversx/sdk-core"),Pm=require("@multiversx/sdk-extension-provider");v();n();n();n();var Se=()=>I(ye);n();n();n();n();n();var no=T(require("react"));var Ek=(0,no.createContext)({}),Lk=S.getState();n();var Qa=T(require("react"));n();var Qn=T(require("react")),vm=T(require("axios"));n();n();n();A();E();N();n();var oi=require("react"),km=require("@multiversx/sdk-extension-provider");A();n();var Dm=require("react");n();var Cm=T(require("axios"));A();C();Xe();N();n();Te();A();n();n();var ud=require("react");n();n();n();n();v();A();n();N();n();var Mm=T(require("bignumber.js"));v();A();C();n();var Om=T(require("bignumber.js"));v();n();var Fm=require("@multiversx/sdk-core"),Um=T(require("bignumber.js"));v();n();n();var ld=require("@multiversx/sdk-native-auth-client");n();var ii=T(require("axios"));n();n();n();function ri(e){return y(this,null,function*(){return yield new Promise(o=>{setTimeout(()=>o(),e)})})}n();var ai=(e,o,t,r=0)=>y(void 0,null,function*(){try{return yield e(...t)}catch(s){return r<o.retries?((o==null?void 0:o.delay)!=null&&(yield ri(o.delay)),yield ai(e,o,t,r+1)):null}}),et=(e,o={retries:5,delay:500})=>(...t)=>y(void 0,null,function*(){return yield ai(e,o,t)});var Bm=4;var DL=et((e,o,t)=>y(void 0,null,function*(){if(t){let p=Math.floor(Date.now()/1e3);return{hash:yield t(),timestamp:p}}let{data:r}=yield ii.default.get(`${e}/${Hn}?from=${Bm}&size=1&fields=hash,timestamp${o?"&shard="+o:""}`),[s]=r;return s}));n();n();To();n();n();var md=T(ki());n();N();var nN={origin:P().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};E();Oe();n();var Ei=require("react");n();n();var fd=require("react"),Td=require("@multiversx/sdk-extension-provider");Te();O();E();n();Ne();N();n();var gd=require("react"),Li=require("@multiversx/sdk-core");A();n();var hd=require("react"),xd=require("@multiversx/sdk-opera-provider");Te();O();E();Ne();N();n();var Sd=require("react");Te();A();n();n();un();n();n();var yd=T(require("platform"));Ke();n();O();C();Xe();Le();Ee();N();n();n();n();n();n();n();n();n();n();E();n();Xe();Le();n();n();n();A();n();n();var bd=T(require("axios"));n();N();N();n();n();var Ni=require("react"),vd=require("@multiversx/sdk-hw-provider");Te();O();A();E();Ne();n();var wd=require("react");n();var at=require("react");O();A();E();Ne();N();n();n();var Pi=require("react");n();var kd=require("react");n();var it=require("react"),Ad=require("socket.io-client");A();n();n();n();n();var Ci=e=>e.dappModal,Ed=u(Ci,e=>e.visible),Zo=u(Ci,e=>e.modal),ID=u(Zo,e=>e.showHeader),AD=u(Zo,e=>e.showFooter),kD=u(Zo,e=>e.headerText),ED=u(Zo,e=>e.footerText);n();n();var Ld=require("react");C();n();n();n();var Cd=T(require("swr"));n();n();n();n();var Pd=T(require("axios"));var Oi=({transaction:e})=>{let{nonce:o}=Se(),{nonce:t}=e;return t>o?Jo.default.createElement("div",{className:(0,ct.default)(R.dFlex,R.ml1)},Jo.default.createElement(Ri.FontAwesomeIcon,{icon:Di.faAngleDown,className:R.textSecondary,style:{marginTop:"2px"},transform:{rotate:45}}),"\xA0",Jo.default.createElement("small",{className:(0,ct.default)(R.textWarning,R.ml1)}," ","Probable higher nonce in transaction")):null};var Dd=({className:e,transaction:o})=>ao.default.createElement(Rt,{className:e,title:"Nonce"},ao.default.createElement(ao.default.Fragment,null,o.nonce,ao.default.createElement(Oi,{transaction:o})));0&&(module.exports={TransactionInfoNonce});
2697
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ic));var Dt={"detail-item":"dapp-core-component__detailItem-module__detail-item",detailItem:"dapp-core-component__detailItem-module__detail-item"};var Rt=({children:e,title:o,className:t="",colWidth:r="2",noBorder:s=!1})=>_o.default.createElement("div",{className:(0,uo.default)(R.row,Dt.detailItem,t,{[R.pt3]:s,[R.pb1]:s,[R.borderBottom]:!s,[R.py3]:!s})},_o.default.createElement("div",{className:(0,uo.default)(R.textSecondary,R.textLgRight,R.fontWeightMedium,R[`colLg${r}`])},o),_o.default.createElement("div",{className:(0,uo.default)(R.fontWeightMedium,R[`colLg${12-Number(r)}`])},e));n();var Jo=T(require("react")),Di=require("@fortawesome/free-solid-svg-icons"),Ri=require("@fortawesome/react-fontawesome"),ct=T(require("classnames"));n();n();n();var ga=require("react"),Oe=require("react-redux");n();var Un=require("@reduxjs/toolkit"),_a=require("react-redux/lib/utils/Subscription");A();n();var $r=T(require("lodash.throttle"));v();n();var Vr=T(require("lodash.isequal")),Uo=require("reselect");C();var u=(0,Uo.createSelectorCreator)(Uo.defaultMemoize,Vr.default),Je=(e,o)=>e!=""&&Boolean(o);A();wn();Le();Ee();var Ts=[fo],Bo=!1,hs=(0,$r.default)(()=>{ze(je())},5e3),Hr=e=>o=>t=>{var l;if(Ts.includes(t.type))return o(t);let r=e.getState(),s=he.local.getItem(de.loginExpiresAt);if(!Je((l=r==null?void 0:r.loginInfo)==null?void 0:l.loginMethod,r==null?void 0:r.account.address))return o(t);if(s==null)return ze(je());let m=Date.now();return s-m<0&&!Bo?setTimeout(()=>{Bo=!0,e.dispatch(dr())},1e3):(Bo&&(Bo=!1),hs()),o(t)};n();n();function Go(){return typeof sessionStorage!="undefined"}var ma=Go()?(oa(),We(ea)).default:(ta(),We(na)).default,da=Go()?(aa(),We(ra)).default:[],la=Go()?(pa(),We(sa)).default:e=>e;Wo();var S=(0,Un.configureStore)({reducer:ma,middleware:e=>e({serializableCheck:{ignoredActions:[...da,Sn.type,bn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Hr)}),ua=(0,_a.createSubscription)(S),Ng=la(S),Pg=(0,Un.configureStore)({reducer:xe});var Ws={store:S,subscription:ua},Bn=(0,ga.createContext)(Ws),Mg=(0,Oe.createStoreHook)(Bn),V=(0,Oe.createDispatchHook)(Bn),I=(0,Oe.createSelectorHook)(Bn);n();n();A();var J=e=>e.account,Fe=u(J,e=>e.address),ye=u(J,Fe,(e,o)=>o in e.accounts?e.accounts[o]:ho),Vs=u(J,ye,(e,o)=>{let s=e,{accounts:t}=s,r=Ge(s,["accounts"]);return w(g({},r),{account:o})}),$s=u(ye,e=>e.balance),Hs=u(ye,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),Bg=u(J,e=>e.shard),js=u(J,e=>e.ledgerAccount),Gg=u(J,e=>e.walletConnectAccount),Wg=u(J,e=>e.isAccountLoading),Vg=u(J,e=>e.accountLoadingError),fa=u(J,e=>e.websocketEvent),zs=u(J,e=>e.websocketBatchEvent);n();var qs=e=>e.dappConfig,jg=u(qs,e=>e.shouldUseWebViewProvider);n();var z=e=>e.loginInfo,Xg=u(z,e=>e.loginMethod),Gn=u(z,Fe,(e,o)=>Je(e.loginMethod,o)),Yg=u(z,e=>e.walletConnectLogin),Zg=u(z,e=>e.ledgerLogin),Ks=u(z,e=>e.walletLogin),Jg=u(z,e=>e.isLoginSessionInvalid),Xs=u(z,e=>e.tokenLogin),Qg=u(z,e=>e.logoutRoute);n();var Ta=e=>e.modals,nf=u(Ta,e=>e.txSubmittedModal),Ys=u(Ta,e=>e.notificationModal);n();var se=e=>e.networkConfig,Vo=u(se,e=>e.chainID),af=u(se,e=>e.network.walletConnectBridgeAddress),Zs=u(se,e=>e.network.walletConnectV2RelayAddress),Js=u(se,e=>e.network.walletConnectV2ProjectId),Qs=u(se,e=>e.network.walletConnectV2Options),ep=u(se,e=>e.network.walletConnectDeepLink),Q=u(se,e=>e.network),ha=u(Q,e=>e.apiAddress),xa=u(Q,e=>e.explorerAddress),ya=u(Q,e=>e.egldLabel);n();var $o=e=>e.signedMessageInfo,pf=u($o,e=>e.isSigning),mf=u($o,e=>e.errorMessage),df=u($o,e=>{let o=Object.keys(e.signedSessions),t=o.length;return e.signedSessions[o[t-1]]}),lf=u($o,e=>{let o=Object.keys(e.signedSessions),t=o.length;return o.length>0?o[t-1]:""});n();var ba=e=>e.toasts,op=u(ba,e=>e.customToasts),Sa=u(ba,e=>e.transactionToasts);n();A();var wa={errorMessage:En,successMessage:Ln,processingMessage:Nn},va=e=>e.transactionsInfo,np=u(va,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||wa);n();n();var ee=require("@multiversx/sdk-core");v();n();var Vn=require("@multiversx/sdk-core/out");n();n();function Wn(e){try{let o=atob(e),t=btoa(o),r=a.Buffer.from(e,"base64").toString(),s=a.Buffer.from(r).toString("base64");if(e===t&&e===s||o===r)return!0}catch(o){return!1}return!1}n();n();n();n();var Ia=e=>{let o=e!=null?e:"";return Wn(o)?Vn.TransactionPayload.fromEncoded(o):new Vn.TransactionPayload(o)};function Ho(e){var t,r,s;let o=new ee.Transaction(g(g({value:e.value.valueOf(),data:Ia(e.data),nonce:e.nonce.valueOf(),receiver:new ee.Address(e.receiver),sender:new ee.Address(e.sender),gasLimit:(t=e.gasLimit.valueOf())!=null?t:$e,gasPrice:(r=e.gasPrice.valueOf())!=null?r:go,chainID:e.chainID.valueOf(),version:new ee.TransactionVersion((s=e.version)!=null?s:Yt)},e.options?{options:new ee.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new ee.Address(e.guardian)}:{}));return e.guardianSignature&&o.applyGuardianSignature(a.Buffer.from(e.guardianSignature,"hex")),e.signature&&o.applySignature(a.Buffer.from(e.signature,"hex")),o}n();n();n();n();n();var ap=require("@multiversx/sdk-core/out");n();v();n();var Aa=require("@multiversx/sdk-core");C();n();var ip=require("@multiversx/sdk-core");n();n();n();var cp=require("@multiversx/sdk-core"),sp=T(require("bignumber.js"));E();n();n();n();var Hn="blocks";n();n();n();n();B();n();n();B();n();n();n();var fp=T(require("bignumber.js"));v();n();var gp=require("@multiversx/sdk-core"),jn=T(require("bignumber.js"));v();n();var _p=T(require("bignumber.js"));n();jn.default.config({ROUNDING_MODE:jn.default.ROUND_FLOOR});n();n();n();v();n();n();n();n();v();n();v();n();var Tp=require("@multiversx/sdk-core");v();n();var oo=require("@multiversx/sdk-core"),yp=require("@multiversx/sdk-network-providers");v();n();n();var hp=T(require("bignumber.js"));v();n();v();n();n();n();n();n();n();v();n();v();n();v();n();B();var Sp=["reDelegateRewards","claimRewards","unBond"],wp=["wrapEgld","unwrapEgld"],vp=["unStake"],Ip=["unDelegate"];n();n();n();v();n();var Lp=T(require("bignumber.js"));n();n();B();n();var Np=T(require("bignumber.js"));n();n();n();var Dp=T(require("bignumber.js"));C();n();n();n();n();E();n();var Fp=require("@multiversx/sdk-web-wallet-provider");v();n();var Mp=T(require("qs"));n();N();Ke();n();Ke();var Uy={search:qe()?window.location.search:"",removeParams:[]};n();n();n();N();n();B();n();n();N();n();var Up=T(require("linkifyjs"));n();v();n();var Bp=T(require("bignumber.js"));n();C();n();n();E();n();E();n();n();n();B();n();B();n();var Gp=T(require("bignumber.js"));v();B();n();B();n();var Ma=require("react");C();n();n();B();n();n();var Wp=require("@multiversx/sdk-core/out"),Vp=T(require("bignumber.js"));B();n();C();n();n();C();var NS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Oa=require("react");C();N();n();var Hp=require("react");B();var US=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Me();var qo=e=>e.transactions,Ue=u(qo,e=>e.signedTransactions),jp=u(qo,e=>e.signTransactionsError),Fa=u(qo,e=>e.signTransactionsCancelMessage),Ko=e=>o=>Object.entries(o).reduce((t,[r,s])=>(e(s.status)&&(t[r]=s),t),{}),Ua=u(Ue,Ko(Ce)),Ba=u(Ue,Ko(De)),Ga=u(Ue,Ko(Re)),zp=u(Ue,Ko(Cn)),Wa=u(qo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:w(g({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(t=>Ho(t)))||[]})}),qp=u(Ue,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});n();var Va=require("react");n();A();n();n();n();n();n();n();n();n();var Xp=require("@multiversx/sdk-extension-provider"),Yp=require("@multiversx/sdk-hw-provider"),Zp=require("@multiversx/sdk-opera-provider"),Jp=require("@multiversx/sdk-web-wallet-provider");v();E();n();var me=e=>`Unable to perform ${e}, Provider not initialized`,Xo=class{init(){return Promise.resolve(!1)}login(o){throw new Error(me(`login with options: ${o}`))}logout(o){throw new Error(me(`logout with options: ${o}`))}getAddress(){throw new Error(me("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,t){throw new Error(me(`sendTransaction with transactions: ${o} options: ${t}`))}signTransaction(o,t){throw new Error(me(`signTransaction with transactions: ${o} options: ${t}`))}signTransactions(o,t){throw new Error(me(`signTransactions with transactions: ${o} options: ${t}`))}signMessage(o,t){throw new Error(me(`signTransactions with ${o} and options ${t}`))}sendCustomMessage({method:o,params:t}){throw new Error(me(`sendCustomMessage with method: ${o} params: ${t}`))}sendCustomRequest(o){throw new Error(me(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},Qp=new Xo;A();n();n();var em=T(require("axios"));n();n();n();E();n();n();n();N();n();Me();n();n();n();var om=T(require("axios"));n();var nm=T(require("axios"));n();var rm=T(require("axios"));n();n();var am=T(require("axios"));n();var im=T(require("axios"));n();A();E();n();n();n();N();n();M();C();n();A();n();var qa=require("@multiversx/sdk-core");N();n();Me();n();A();E();n();A();C();n();n();n();C();n();n();n();n();var mm=T(require("axios")),dm=T(require("swr"));n();n();var Ka=require("react");n();var lm=require("react"),_m=require("@multiversx/sdk-web-wallet-provider"),um=require("@multiversx/sdk-web-wallet-provider"),gm=T(require("qs"));v();A();E();ln();N();n();var Za=require("react"),Jn=require("@multiversx/sdk-core");vn();n();n();n();n();n();n();n();n();n();Ve();n();var Tm=T(require("axios"));n();var hm=T(require("axios"));n();Ve();n();Ve();v();N();n();var ni=require("react"),ti=require("@multiversx/sdk-core"),Pm=require("@multiversx/sdk-extension-provider");v();n();n();n();var Se=()=>I(ye);n();n();n();n();n();var no=T(require("react"));var Ek=(0,no.createContext)({}),Lk=S.getState();n();var Qa=T(require("react"));n();var Qn=T(require("react")),vm=T(require("axios"));n();n();n();A();E();N();n();var oi=require("react"),km=require("@multiversx/sdk-extension-provider");A();n();var Dm=require("react");n();var Cm=T(require("axios"));A();C();Xe();N();n();Te();A();n();n();var ud=require("react");n();n();n();n();v();A();n();N();n();var Om=T(require("bignumber.js"));v();A();C();n();var Mm=T(require("bignumber.js"));v();n();var Fm=require("@multiversx/sdk-core"),Um=T(require("bignumber.js"));v();n();n();var ld=require("@multiversx/sdk-native-auth-client");n();var ii=T(require("axios"));n();n();n();function ri(e){return y(this,null,function*(){return yield new Promise(o=>{setTimeout(()=>o(),e)})})}n();var ai=(e,o,t,r=0)=>y(void 0,null,function*(){try{return yield e(...t)}catch(s){return r<o.retries?((o==null?void 0:o.delay)!=null&&(yield ri(o.delay)),yield ai(e,o,t,r+1)):null}}),et=(e,o={retries:5,delay:500})=>(...t)=>y(void 0,null,function*(){return yield ai(e,o,t)});var Bm=4;var DL=et((e,o,t)=>y(void 0,null,function*(){if(t){let p=Math.floor(Date.now()/1e3);return{hash:yield t(),timestamp:p}}let{data:r}=yield ii.default.get(`${e}/${Hn}?from=${Bm}&size=1&fields=hash,timestamp${o?"&shard="+o:""}`),[s]=r;return s}));n();n();To();n();n();var md=T(ki());n();N();var nN={origin:P().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};E();Me();n();var Ei=require("react");n();n();var fd=require("react"),Td=require("@multiversx/sdk-extension-provider");Te();M();E();n();Ne();N();n();var gd=require("react"),Li=require("@multiversx/sdk-core");A();n();var hd=require("react"),xd=require("@multiversx/sdk-opera-provider");Te();M();E();Ne();N();n();var Sd=require("react");Te();A();n();n();un();n();n();var yd=T(require("platform"));Ke();n();M();C();Xe();Le();Ee();N();n();n();n();n();n();n();n();n();n();E();n();Xe();Le();n();n();n();A();n();n();var bd=T(require("axios"));n();N();N();n();n();var Ni=require("react"),vd=require("@multiversx/sdk-hw-provider");Te();M();A();E();Ne();n();var wd=require("react");n();var at=require("react");M();A();E();Ne();N();n();n();var Pi=require("react");n();var kd=require("react");n();var it=require("react"),Ad=require("socket.io-client");A();n();n();n();n();var Ci=e=>e.dappModal,Ed=u(Ci,e=>e.visible),Zo=u(Ci,e=>e.modal),ID=u(Zo,e=>e.showHeader),AD=u(Zo,e=>e.showFooter),kD=u(Zo,e=>e.headerText),ED=u(Zo,e=>e.footerText);n();n();var Ld=require("react");C();n();n();n();var Cd=T(require("swr"));n();n();n();n();var Pd=T(require("axios"));var Mi=({transaction:e})=>{let{nonce:o}=Se(),{nonce:t}=e;return t>o?Jo.default.createElement("div",{className:(0,ct.default)(R.dFlex,R.ml1)},Jo.default.createElement(Ri.FontAwesomeIcon,{icon:Di.faAngleDown,className:R.textSecondary,style:{marginTop:"2px"},transform:{rotate:45}}),"\xA0",Jo.default.createElement("small",{className:(0,ct.default)(R.textWarning,R.ml1)}," ","Probable higher nonce in transaction")):null};var Dd=({className:e,transaction:o})=>ao.default.createElement(Rt,{className:e,title:"Nonce"},ao.default.createElement(ao.default.Fragment,null,o.nonce,ao.default.createElement(Mi,{transaction:o})));0&&(module.exports={TransactionInfoNonce});
2698
2698
  /*!
2699
2699
  * The buffer module from node.js, for the browser.
2700
2700
  *